Home > @uniformdev/webhooks > RedirectInsertDefinition
RedirectInsertDefinition variable
Signature:
RedirectInsertDefinition: Definition<z.ZodObject<{
project_id: z.ZodString;
id: z.ZodString;
source_url: z.ZodString;
target_url: z.ZodString;
target_status_code: z.ZodNumber;
initiator: z.ZodObject<{
id: z.ZodString;
name: z.ZodOptional<z.ZodString>;
email: z.ZodOptional<z.ZodString>;
is_api_key: z.ZodBoolean;
}, "strict", z.ZodTypeAny, {
id: string;
is_api_key: boolean;
name?: string | undefined;
email?: string | undefined;
}, {
id: string;
is_api_key: boolean;
name?: string | undefined;
email?: string | undefined;
}>;
}, "strip", z.ZodTypeAny, {
id: string;
initiator: {
id: string;
is_api_key: boolean;
name?: string | undefined;
email?: string | undefined;
};
project_id: string;
source_url: string;
target_url: string;
target_status_code: number;
}, {
id: string;
initiator: {
id: string;
is_api_key: boolean;
name?: string | undefined;
email?: string | undefined;
};
project_id: string;
source_url: string;
target_url: string;
target_status_code: number;
}>>