@authhero/adapter-interfaces 0.110.0 → 0.111.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/adapter-interfaces.cjs +1 -1
- package/dist/adapter-interfaces.d.ts +910 -27
- package/dist/adapter-interfaces.mjs +377 -335
- package/package.json +1 -1
|
@@ -4,11 +4,12 @@ import { z } from '@hono/zod-openapi';
|
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* Flow action types supported by the system (Auth0 compatible)
|
|
7
|
-
* For now we support AUTH0 and
|
|
7
|
+
* For now we support AUTH0, EMAIL, and REDIRECT types
|
|
8
8
|
*/
|
|
9
9
|
export declare const FlowActionTypeEnum: z.ZodEnum<[
|
|
10
10
|
"AUTH0",
|
|
11
|
-
"EMAIL"
|
|
11
|
+
"EMAIL",
|
|
12
|
+
"REDIRECT"
|
|
12
13
|
]>;
|
|
13
14
|
export type FlowActionType = z.infer<typeof FlowActionTypeEnum>;
|
|
14
15
|
/**
|
|
@@ -195,6 +196,63 @@ export declare const emailVerifyActionSchema: z.ZodObject<{
|
|
|
195
196
|
mask_output?: boolean | undefined;
|
|
196
197
|
}>;
|
|
197
198
|
export type EmailVerifyAction = z.infer<typeof emailVerifyActionSchema>;
|
|
199
|
+
/**
|
|
200
|
+
* Pre-defined redirect targets
|
|
201
|
+
*/
|
|
202
|
+
export declare const RedirectTargetEnum: z.ZodEnum<[
|
|
203
|
+
"change-email",
|
|
204
|
+
"account",
|
|
205
|
+
"custom"
|
|
206
|
+
]>;
|
|
207
|
+
export type RedirectTarget = z.infer<typeof RedirectTargetEnum>;
|
|
208
|
+
/**
|
|
209
|
+
* REDIRECT action step - redirects user to a predefined or custom URL
|
|
210
|
+
*/
|
|
211
|
+
export declare const redirectActionSchema: z.ZodObject<{
|
|
212
|
+
id: z.ZodString;
|
|
213
|
+
alias: z.ZodOptional<z.ZodString>;
|
|
214
|
+
type: z.ZodLiteral<"REDIRECT">;
|
|
215
|
+
action: z.ZodLiteral<"REDIRECT_USER">;
|
|
216
|
+
allow_failure: z.ZodOptional<z.ZodBoolean>;
|
|
217
|
+
mask_output: z.ZodOptional<z.ZodBoolean>;
|
|
218
|
+
params: z.ZodObject<{
|
|
219
|
+
target: z.ZodEnum<[
|
|
220
|
+
"change-email",
|
|
221
|
+
"account",
|
|
222
|
+
"custom"
|
|
223
|
+
]>;
|
|
224
|
+
custom_url: z.ZodOptional<z.ZodString>;
|
|
225
|
+
}, "strip", z.ZodTypeAny, {
|
|
226
|
+
target: "custom" | "change-email" | "account";
|
|
227
|
+
custom_url?: string | undefined;
|
|
228
|
+
}, {
|
|
229
|
+
target: "custom" | "change-email" | "account";
|
|
230
|
+
custom_url?: string | undefined;
|
|
231
|
+
}>;
|
|
232
|
+
}, "strip", z.ZodTypeAny, {
|
|
233
|
+
params: {
|
|
234
|
+
target: "custom" | "change-email" | "account";
|
|
235
|
+
custom_url?: string | undefined;
|
|
236
|
+
};
|
|
237
|
+
type: "REDIRECT";
|
|
238
|
+
id: string;
|
|
239
|
+
action: "REDIRECT_USER";
|
|
240
|
+
alias?: string | undefined;
|
|
241
|
+
allow_failure?: boolean | undefined;
|
|
242
|
+
mask_output?: boolean | undefined;
|
|
243
|
+
}, {
|
|
244
|
+
params: {
|
|
245
|
+
target: "custom" | "change-email" | "account";
|
|
246
|
+
custom_url?: string | undefined;
|
|
247
|
+
};
|
|
248
|
+
type: "REDIRECT";
|
|
249
|
+
id: string;
|
|
250
|
+
action: "REDIRECT_USER";
|
|
251
|
+
alias?: string | undefined;
|
|
252
|
+
allow_failure?: boolean | undefined;
|
|
253
|
+
mask_output?: boolean | undefined;
|
|
254
|
+
}>;
|
|
255
|
+
export type RedirectAction = z.infer<typeof redirectActionSchema>;
|
|
198
256
|
/**
|
|
199
257
|
* Union of all supported action steps
|
|
200
258
|
*/
|
|
@@ -332,6 +390,50 @@ export declare const flowActionStepSchema: z.ZodUnion<[
|
|
|
332
390
|
alias?: string | undefined;
|
|
333
391
|
allow_failure?: boolean | undefined;
|
|
334
392
|
mask_output?: boolean | undefined;
|
|
393
|
+
}>,
|
|
394
|
+
z.ZodObject<{
|
|
395
|
+
id: z.ZodString;
|
|
396
|
+
alias: z.ZodOptional<z.ZodString>;
|
|
397
|
+
type: z.ZodLiteral<"REDIRECT">;
|
|
398
|
+
action: z.ZodLiteral<"REDIRECT_USER">;
|
|
399
|
+
allow_failure: z.ZodOptional<z.ZodBoolean>;
|
|
400
|
+
mask_output: z.ZodOptional<z.ZodBoolean>;
|
|
401
|
+
params: z.ZodObject<{
|
|
402
|
+
target: z.ZodEnum<[
|
|
403
|
+
"change-email",
|
|
404
|
+
"account",
|
|
405
|
+
"custom"
|
|
406
|
+
]>;
|
|
407
|
+
custom_url: z.ZodOptional<z.ZodString>;
|
|
408
|
+
}, "strip", z.ZodTypeAny, {
|
|
409
|
+
target: "custom" | "change-email" | "account";
|
|
410
|
+
custom_url?: string | undefined;
|
|
411
|
+
}, {
|
|
412
|
+
target: "custom" | "change-email" | "account";
|
|
413
|
+
custom_url?: string | undefined;
|
|
414
|
+
}>;
|
|
415
|
+
}, "strip", z.ZodTypeAny, {
|
|
416
|
+
params: {
|
|
417
|
+
target: "custom" | "change-email" | "account";
|
|
418
|
+
custom_url?: string | undefined;
|
|
419
|
+
};
|
|
420
|
+
type: "REDIRECT";
|
|
421
|
+
id: string;
|
|
422
|
+
action: "REDIRECT_USER";
|
|
423
|
+
alias?: string | undefined;
|
|
424
|
+
allow_failure?: boolean | undefined;
|
|
425
|
+
mask_output?: boolean | undefined;
|
|
426
|
+
}, {
|
|
427
|
+
params: {
|
|
428
|
+
target: "custom" | "change-email" | "account";
|
|
429
|
+
custom_url?: string | undefined;
|
|
430
|
+
};
|
|
431
|
+
type: "REDIRECT";
|
|
432
|
+
id: string;
|
|
433
|
+
action: "REDIRECT_USER";
|
|
434
|
+
alias?: string | undefined;
|
|
435
|
+
allow_failure?: boolean | undefined;
|
|
436
|
+
mask_output?: boolean | undefined;
|
|
335
437
|
}>
|
|
336
438
|
]>;
|
|
337
439
|
export type FlowActionStep = z.infer<typeof flowActionStepSchema>;
|
|
@@ -474,6 +576,50 @@ export declare const flowInsertSchema: z.ZodObject<{
|
|
|
474
576
|
alias?: string | undefined;
|
|
475
577
|
allow_failure?: boolean | undefined;
|
|
476
578
|
mask_output?: boolean | undefined;
|
|
579
|
+
}>,
|
|
580
|
+
z.ZodObject<{
|
|
581
|
+
id: z.ZodString;
|
|
582
|
+
alias: z.ZodOptional<z.ZodString>;
|
|
583
|
+
type: z.ZodLiteral<"REDIRECT">;
|
|
584
|
+
action: z.ZodLiteral<"REDIRECT_USER">;
|
|
585
|
+
allow_failure: z.ZodOptional<z.ZodBoolean>;
|
|
586
|
+
mask_output: z.ZodOptional<z.ZodBoolean>;
|
|
587
|
+
params: z.ZodObject<{
|
|
588
|
+
target: z.ZodEnum<[
|
|
589
|
+
"change-email",
|
|
590
|
+
"account",
|
|
591
|
+
"custom"
|
|
592
|
+
]>;
|
|
593
|
+
custom_url: z.ZodOptional<z.ZodString>;
|
|
594
|
+
}, "strip", z.ZodTypeAny, {
|
|
595
|
+
target: "custom" | "change-email" | "account";
|
|
596
|
+
custom_url?: string | undefined;
|
|
597
|
+
}, {
|
|
598
|
+
target: "custom" | "change-email" | "account";
|
|
599
|
+
custom_url?: string | undefined;
|
|
600
|
+
}>;
|
|
601
|
+
}, "strip", z.ZodTypeAny, {
|
|
602
|
+
params: {
|
|
603
|
+
target: "custom" | "change-email" | "account";
|
|
604
|
+
custom_url?: string | undefined;
|
|
605
|
+
};
|
|
606
|
+
type: "REDIRECT";
|
|
607
|
+
id: string;
|
|
608
|
+
action: "REDIRECT_USER";
|
|
609
|
+
alias?: string | undefined;
|
|
610
|
+
allow_failure?: boolean | undefined;
|
|
611
|
+
mask_output?: boolean | undefined;
|
|
612
|
+
}, {
|
|
613
|
+
params: {
|
|
614
|
+
target: "custom" | "change-email" | "account";
|
|
615
|
+
custom_url?: string | undefined;
|
|
616
|
+
};
|
|
617
|
+
type: "REDIRECT";
|
|
618
|
+
id: string;
|
|
619
|
+
action: "REDIRECT_USER";
|
|
620
|
+
alias?: string | undefined;
|
|
621
|
+
allow_failure?: boolean | undefined;
|
|
622
|
+
mask_output?: boolean | undefined;
|
|
477
623
|
}>
|
|
478
624
|
]>, "many">>>;
|
|
479
625
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -508,6 +654,17 @@ export declare const flowInsertSchema: z.ZodObject<{
|
|
|
508
654
|
alias?: string | undefined;
|
|
509
655
|
allow_failure?: boolean | undefined;
|
|
510
656
|
mask_output?: boolean | undefined;
|
|
657
|
+
} | {
|
|
658
|
+
params: {
|
|
659
|
+
target: "custom" | "change-email" | "account";
|
|
660
|
+
custom_url?: string | undefined;
|
|
661
|
+
};
|
|
662
|
+
type: "REDIRECT";
|
|
663
|
+
id: string;
|
|
664
|
+
action: "REDIRECT_USER";
|
|
665
|
+
alias?: string | undefined;
|
|
666
|
+
allow_failure?: boolean | undefined;
|
|
667
|
+
mask_output?: boolean | undefined;
|
|
511
668
|
})[];
|
|
512
669
|
}, {
|
|
513
670
|
name: string;
|
|
@@ -541,6 +698,17 @@ export declare const flowInsertSchema: z.ZodObject<{
|
|
|
541
698
|
alias?: string | undefined;
|
|
542
699
|
allow_failure?: boolean | undefined;
|
|
543
700
|
mask_output?: boolean | undefined;
|
|
701
|
+
} | {
|
|
702
|
+
params: {
|
|
703
|
+
target: "custom" | "change-email" | "account";
|
|
704
|
+
custom_url?: string | undefined;
|
|
705
|
+
};
|
|
706
|
+
type: "REDIRECT";
|
|
707
|
+
id: string;
|
|
708
|
+
action: "REDIRECT_USER";
|
|
709
|
+
alias?: string | undefined;
|
|
710
|
+
allow_failure?: boolean | undefined;
|
|
711
|
+
mask_output?: boolean | undefined;
|
|
544
712
|
})[] | undefined;
|
|
545
713
|
}>;
|
|
546
714
|
export type FlowInsert = z.infer<typeof flowInsertSchema>;
|
|
@@ -683,6 +851,50 @@ export declare const flowSchema: z.ZodObject<{
|
|
|
683
851
|
alias?: string | undefined;
|
|
684
852
|
allow_failure?: boolean | undefined;
|
|
685
853
|
mask_output?: boolean | undefined;
|
|
854
|
+
}>,
|
|
855
|
+
z.ZodObject<{
|
|
856
|
+
id: z.ZodString;
|
|
857
|
+
alias: z.ZodOptional<z.ZodString>;
|
|
858
|
+
type: z.ZodLiteral<"REDIRECT">;
|
|
859
|
+
action: z.ZodLiteral<"REDIRECT_USER">;
|
|
860
|
+
allow_failure: z.ZodOptional<z.ZodBoolean>;
|
|
861
|
+
mask_output: z.ZodOptional<z.ZodBoolean>;
|
|
862
|
+
params: z.ZodObject<{
|
|
863
|
+
target: z.ZodEnum<[
|
|
864
|
+
"change-email",
|
|
865
|
+
"account",
|
|
866
|
+
"custom"
|
|
867
|
+
]>;
|
|
868
|
+
custom_url: z.ZodOptional<z.ZodString>;
|
|
869
|
+
}, "strip", z.ZodTypeAny, {
|
|
870
|
+
target: "custom" | "change-email" | "account";
|
|
871
|
+
custom_url?: string | undefined;
|
|
872
|
+
}, {
|
|
873
|
+
target: "custom" | "change-email" | "account";
|
|
874
|
+
custom_url?: string | undefined;
|
|
875
|
+
}>;
|
|
876
|
+
}, "strip", z.ZodTypeAny, {
|
|
877
|
+
params: {
|
|
878
|
+
target: "custom" | "change-email" | "account";
|
|
879
|
+
custom_url?: string | undefined;
|
|
880
|
+
};
|
|
881
|
+
type: "REDIRECT";
|
|
882
|
+
id: string;
|
|
883
|
+
action: "REDIRECT_USER";
|
|
884
|
+
alias?: string | undefined;
|
|
885
|
+
allow_failure?: boolean | undefined;
|
|
886
|
+
mask_output?: boolean | undefined;
|
|
887
|
+
}, {
|
|
888
|
+
params: {
|
|
889
|
+
target: "custom" | "change-email" | "account";
|
|
890
|
+
custom_url?: string | undefined;
|
|
891
|
+
};
|
|
892
|
+
type: "REDIRECT";
|
|
893
|
+
id: string;
|
|
894
|
+
action: "REDIRECT_USER";
|
|
895
|
+
alias?: string | undefined;
|
|
896
|
+
allow_failure?: boolean | undefined;
|
|
897
|
+
mask_output?: boolean | undefined;
|
|
686
898
|
}>
|
|
687
899
|
]>, "many">>>;
|
|
688
900
|
} & {
|
|
@@ -724,6 +936,17 @@ export declare const flowSchema: z.ZodObject<{
|
|
|
724
936
|
alias?: string | undefined;
|
|
725
937
|
allow_failure?: boolean | undefined;
|
|
726
938
|
mask_output?: boolean | undefined;
|
|
939
|
+
} | {
|
|
940
|
+
params: {
|
|
941
|
+
target: "custom" | "change-email" | "account";
|
|
942
|
+
custom_url?: string | undefined;
|
|
943
|
+
};
|
|
944
|
+
type: "REDIRECT";
|
|
945
|
+
id: string;
|
|
946
|
+
action: "REDIRECT_USER";
|
|
947
|
+
alias?: string | undefined;
|
|
948
|
+
allow_failure?: boolean | undefined;
|
|
949
|
+
mask_output?: boolean | undefined;
|
|
727
950
|
})[];
|
|
728
951
|
}, {
|
|
729
952
|
created_at: string;
|
|
@@ -760,6 +983,17 @@ export declare const flowSchema: z.ZodObject<{
|
|
|
760
983
|
alias?: string | undefined;
|
|
761
984
|
allow_failure?: boolean | undefined;
|
|
762
985
|
mask_output?: boolean | undefined;
|
|
986
|
+
} | {
|
|
987
|
+
params: {
|
|
988
|
+
target: "custom" | "change-email" | "account";
|
|
989
|
+
custom_url?: string | undefined;
|
|
990
|
+
};
|
|
991
|
+
type: "REDIRECT";
|
|
992
|
+
id: string;
|
|
993
|
+
action: "REDIRECT_USER";
|
|
994
|
+
alias?: string | undefined;
|
|
995
|
+
allow_failure?: boolean | undefined;
|
|
996
|
+
mask_output?: boolean | undefined;
|
|
763
997
|
})[] | undefined;
|
|
764
998
|
}>;
|
|
765
999
|
export type Flow = z.infer<typeof flowSchema>;
|
|
@@ -2963,6 +3197,87 @@ export declare const flowNodeSchema: z.ZodObject<{
|
|
|
2963
3197
|
};
|
|
2964
3198
|
alias?: string | undefined;
|
|
2965
3199
|
}>;
|
|
3200
|
+
export declare const actionNodeSchema: z.ZodObject<{
|
|
3201
|
+
id: z.ZodString;
|
|
3202
|
+
type: z.ZodLiteral<NodeType.ACTION>;
|
|
3203
|
+
coordinates: z.ZodObject<{
|
|
3204
|
+
x: z.ZodNumber;
|
|
3205
|
+
y: z.ZodNumber;
|
|
3206
|
+
}, "strip", z.ZodTypeAny, {
|
|
3207
|
+
x: number;
|
|
3208
|
+
y: number;
|
|
3209
|
+
}, {
|
|
3210
|
+
x: number;
|
|
3211
|
+
y: number;
|
|
3212
|
+
}>;
|
|
3213
|
+
alias: z.ZodOptional<z.ZodString>;
|
|
3214
|
+
config: z.ZodObject<{
|
|
3215
|
+
action_type: z.ZodEnum<[
|
|
3216
|
+
"REDIRECT"
|
|
3217
|
+
]>;
|
|
3218
|
+
target: z.ZodEnum<[
|
|
3219
|
+
"change-email",
|
|
3220
|
+
"account",
|
|
3221
|
+
"custom"
|
|
3222
|
+
]>;
|
|
3223
|
+
custom_url: z.ZodOptional<z.ZodString>;
|
|
3224
|
+
next_node: z.ZodString;
|
|
3225
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
3226
|
+
action_type: z.ZodEnum<[
|
|
3227
|
+
"REDIRECT"
|
|
3228
|
+
]>;
|
|
3229
|
+
target: z.ZodEnum<[
|
|
3230
|
+
"change-email",
|
|
3231
|
+
"account",
|
|
3232
|
+
"custom"
|
|
3233
|
+
]>;
|
|
3234
|
+
custom_url: z.ZodOptional<z.ZodString>;
|
|
3235
|
+
next_node: z.ZodString;
|
|
3236
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
3237
|
+
action_type: z.ZodEnum<[
|
|
3238
|
+
"REDIRECT"
|
|
3239
|
+
]>;
|
|
3240
|
+
target: z.ZodEnum<[
|
|
3241
|
+
"change-email",
|
|
3242
|
+
"account",
|
|
3243
|
+
"custom"
|
|
3244
|
+
]>;
|
|
3245
|
+
custom_url: z.ZodOptional<z.ZodString>;
|
|
3246
|
+
next_node: z.ZodString;
|
|
3247
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
3248
|
+
}, "strip", z.ZodTypeAny, {
|
|
3249
|
+
type: NodeType.ACTION;
|
|
3250
|
+
id: string;
|
|
3251
|
+
config: {
|
|
3252
|
+
target: "custom" | "change-email" | "account";
|
|
3253
|
+
next_node: string;
|
|
3254
|
+
action_type: "REDIRECT";
|
|
3255
|
+
custom_url?: string | undefined;
|
|
3256
|
+
} & {
|
|
3257
|
+
[k: string]: unknown;
|
|
3258
|
+
};
|
|
3259
|
+
coordinates: {
|
|
3260
|
+
x: number;
|
|
3261
|
+
y: number;
|
|
3262
|
+
};
|
|
3263
|
+
alias?: string | undefined;
|
|
3264
|
+
}, {
|
|
3265
|
+
type: NodeType.ACTION;
|
|
3266
|
+
id: string;
|
|
3267
|
+
config: {
|
|
3268
|
+
target: "custom" | "change-email" | "account";
|
|
3269
|
+
next_node: string;
|
|
3270
|
+
action_type: "REDIRECT";
|
|
3271
|
+
custom_url?: string | undefined;
|
|
3272
|
+
} & {
|
|
3273
|
+
[k: string]: unknown;
|
|
3274
|
+
};
|
|
3275
|
+
coordinates: {
|
|
3276
|
+
x: number;
|
|
3277
|
+
y: number;
|
|
3278
|
+
};
|
|
3279
|
+
alias?: string | undefined;
|
|
3280
|
+
}>;
|
|
2966
3281
|
export declare const genericNodeSchema: z.ZodObject<{
|
|
2967
3282
|
id: z.ZodString;
|
|
2968
3283
|
type: z.ZodString;
|
|
@@ -3706,6 +4021,87 @@ export declare const nodeSchema: z.ZodUnion<[
|
|
|
3706
4021
|
};
|
|
3707
4022
|
alias?: string | undefined;
|
|
3708
4023
|
}>,
|
|
4024
|
+
z.ZodObject<{
|
|
4025
|
+
id: z.ZodString;
|
|
4026
|
+
type: z.ZodLiteral<NodeType.ACTION>;
|
|
4027
|
+
coordinates: z.ZodObject<{
|
|
4028
|
+
x: z.ZodNumber;
|
|
4029
|
+
y: z.ZodNumber;
|
|
4030
|
+
}, "strip", z.ZodTypeAny, {
|
|
4031
|
+
x: number;
|
|
4032
|
+
y: number;
|
|
4033
|
+
}, {
|
|
4034
|
+
x: number;
|
|
4035
|
+
y: number;
|
|
4036
|
+
}>;
|
|
4037
|
+
alias: z.ZodOptional<z.ZodString>;
|
|
4038
|
+
config: z.ZodObject<{
|
|
4039
|
+
action_type: z.ZodEnum<[
|
|
4040
|
+
"REDIRECT"
|
|
4041
|
+
]>;
|
|
4042
|
+
target: z.ZodEnum<[
|
|
4043
|
+
"change-email",
|
|
4044
|
+
"account",
|
|
4045
|
+
"custom"
|
|
4046
|
+
]>;
|
|
4047
|
+
custom_url: z.ZodOptional<z.ZodString>;
|
|
4048
|
+
next_node: z.ZodString;
|
|
4049
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
4050
|
+
action_type: z.ZodEnum<[
|
|
4051
|
+
"REDIRECT"
|
|
4052
|
+
]>;
|
|
4053
|
+
target: z.ZodEnum<[
|
|
4054
|
+
"change-email",
|
|
4055
|
+
"account",
|
|
4056
|
+
"custom"
|
|
4057
|
+
]>;
|
|
4058
|
+
custom_url: z.ZodOptional<z.ZodString>;
|
|
4059
|
+
next_node: z.ZodString;
|
|
4060
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
4061
|
+
action_type: z.ZodEnum<[
|
|
4062
|
+
"REDIRECT"
|
|
4063
|
+
]>;
|
|
4064
|
+
target: z.ZodEnum<[
|
|
4065
|
+
"change-email",
|
|
4066
|
+
"account",
|
|
4067
|
+
"custom"
|
|
4068
|
+
]>;
|
|
4069
|
+
custom_url: z.ZodOptional<z.ZodString>;
|
|
4070
|
+
next_node: z.ZodString;
|
|
4071
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
4072
|
+
}, "strip", z.ZodTypeAny, {
|
|
4073
|
+
type: NodeType.ACTION;
|
|
4074
|
+
id: string;
|
|
4075
|
+
config: {
|
|
4076
|
+
target: "custom" | "change-email" | "account";
|
|
4077
|
+
next_node: string;
|
|
4078
|
+
action_type: "REDIRECT";
|
|
4079
|
+
custom_url?: string | undefined;
|
|
4080
|
+
} & {
|
|
4081
|
+
[k: string]: unknown;
|
|
4082
|
+
};
|
|
4083
|
+
coordinates: {
|
|
4084
|
+
x: number;
|
|
4085
|
+
y: number;
|
|
4086
|
+
};
|
|
4087
|
+
alias?: string | undefined;
|
|
4088
|
+
}, {
|
|
4089
|
+
type: NodeType.ACTION;
|
|
4090
|
+
id: string;
|
|
4091
|
+
config: {
|
|
4092
|
+
target: "custom" | "change-email" | "account";
|
|
4093
|
+
next_node: string;
|
|
4094
|
+
action_type: "REDIRECT";
|
|
4095
|
+
custom_url?: string | undefined;
|
|
4096
|
+
} & {
|
|
4097
|
+
[k: string]: unknown;
|
|
4098
|
+
};
|
|
4099
|
+
coordinates: {
|
|
4100
|
+
x: number;
|
|
4101
|
+
y: number;
|
|
4102
|
+
};
|
|
4103
|
+
alias?: string | undefined;
|
|
4104
|
+
}>,
|
|
3709
4105
|
z.ZodObject<{
|
|
3710
4106
|
id: z.ZodString;
|
|
3711
4107
|
type: z.ZodString;
|
|
@@ -3749,6 +4145,7 @@ export declare const nodeSchema: z.ZodUnion<[
|
|
|
3749
4145
|
]>;
|
|
3750
4146
|
export type StepNode = z.infer<typeof stepNodeSchema>;
|
|
3751
4147
|
export type FlowNode = z.infer<typeof flowNodeSchema>;
|
|
4148
|
+
export type ActionNode = z.infer<typeof actionNodeSchema>;
|
|
3752
4149
|
export type GenericNode = z.infer<typeof genericNodeSchema>;
|
|
3753
4150
|
type Node$1 = z.infer<typeof nodeSchema>;
|
|
3754
4151
|
export declare const startSchema: z.ZodObject<{
|
|
@@ -4540,6 +4937,87 @@ export declare const auth0FlowSchema: z.ZodObject<{
|
|
|
4540
4937
|
};
|
|
4541
4938
|
alias?: string | undefined;
|
|
4542
4939
|
}>,
|
|
4940
|
+
z.ZodObject<{
|
|
4941
|
+
id: z.ZodString;
|
|
4942
|
+
type: z.ZodLiteral<NodeType.ACTION>;
|
|
4943
|
+
coordinates: z.ZodObject<{
|
|
4944
|
+
x: z.ZodNumber;
|
|
4945
|
+
y: z.ZodNumber;
|
|
4946
|
+
}, "strip", z.ZodTypeAny, {
|
|
4947
|
+
x: number;
|
|
4948
|
+
y: number;
|
|
4949
|
+
}, {
|
|
4950
|
+
x: number;
|
|
4951
|
+
y: number;
|
|
4952
|
+
}>;
|
|
4953
|
+
alias: z.ZodOptional<z.ZodString>;
|
|
4954
|
+
config: z.ZodObject<{
|
|
4955
|
+
action_type: z.ZodEnum<[
|
|
4956
|
+
"REDIRECT"
|
|
4957
|
+
]>;
|
|
4958
|
+
target: z.ZodEnum<[
|
|
4959
|
+
"change-email",
|
|
4960
|
+
"account",
|
|
4961
|
+
"custom"
|
|
4962
|
+
]>;
|
|
4963
|
+
custom_url: z.ZodOptional<z.ZodString>;
|
|
4964
|
+
next_node: z.ZodString;
|
|
4965
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
4966
|
+
action_type: z.ZodEnum<[
|
|
4967
|
+
"REDIRECT"
|
|
4968
|
+
]>;
|
|
4969
|
+
target: z.ZodEnum<[
|
|
4970
|
+
"change-email",
|
|
4971
|
+
"account",
|
|
4972
|
+
"custom"
|
|
4973
|
+
]>;
|
|
4974
|
+
custom_url: z.ZodOptional<z.ZodString>;
|
|
4975
|
+
next_node: z.ZodString;
|
|
4976
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
4977
|
+
action_type: z.ZodEnum<[
|
|
4978
|
+
"REDIRECT"
|
|
4979
|
+
]>;
|
|
4980
|
+
target: z.ZodEnum<[
|
|
4981
|
+
"change-email",
|
|
4982
|
+
"account",
|
|
4983
|
+
"custom"
|
|
4984
|
+
]>;
|
|
4985
|
+
custom_url: z.ZodOptional<z.ZodString>;
|
|
4986
|
+
next_node: z.ZodString;
|
|
4987
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
4988
|
+
}, "strip", z.ZodTypeAny, {
|
|
4989
|
+
type: NodeType.ACTION;
|
|
4990
|
+
id: string;
|
|
4991
|
+
config: {
|
|
4992
|
+
target: "custom" | "change-email" | "account";
|
|
4993
|
+
next_node: string;
|
|
4994
|
+
action_type: "REDIRECT";
|
|
4995
|
+
custom_url?: string | undefined;
|
|
4996
|
+
} & {
|
|
4997
|
+
[k: string]: unknown;
|
|
4998
|
+
};
|
|
4999
|
+
coordinates: {
|
|
5000
|
+
x: number;
|
|
5001
|
+
y: number;
|
|
5002
|
+
};
|
|
5003
|
+
alias?: string | undefined;
|
|
5004
|
+
}, {
|
|
5005
|
+
type: NodeType.ACTION;
|
|
5006
|
+
id: string;
|
|
5007
|
+
config: {
|
|
5008
|
+
target: "custom" | "change-email" | "account";
|
|
5009
|
+
next_node: string;
|
|
5010
|
+
action_type: "REDIRECT";
|
|
5011
|
+
custom_url?: string | undefined;
|
|
5012
|
+
} & {
|
|
5013
|
+
[k: string]: unknown;
|
|
5014
|
+
};
|
|
5015
|
+
coordinates: {
|
|
5016
|
+
x: number;
|
|
5017
|
+
y: number;
|
|
5018
|
+
};
|
|
5019
|
+
alias?: string | undefined;
|
|
5020
|
+
}>,
|
|
4543
5021
|
z.ZodObject<{
|
|
4544
5022
|
id: z.ZodString;
|
|
4545
5023
|
type: z.ZodString;
|
|
@@ -5333,7 +5811,56 @@ export declare const auth0FlowSchema: z.ZodObject<{
|
|
|
5333
5811
|
}>,
|
|
5334
5812
|
z.ZodObject<{
|
|
5335
5813
|
id: z.ZodString;
|
|
5336
|
-
type: z.ZodLiteral<NodeType.FLOW>;
|
|
5814
|
+
type: z.ZodLiteral<NodeType.FLOW>;
|
|
5815
|
+
coordinates: z.ZodObject<{
|
|
5816
|
+
x: z.ZodNumber;
|
|
5817
|
+
y: z.ZodNumber;
|
|
5818
|
+
}, "strip", z.ZodTypeAny, {
|
|
5819
|
+
x: number;
|
|
5820
|
+
y: number;
|
|
5821
|
+
}, {
|
|
5822
|
+
x: number;
|
|
5823
|
+
y: number;
|
|
5824
|
+
}>;
|
|
5825
|
+
alias: z.ZodOptional<z.ZodString>;
|
|
5826
|
+
config: z.ZodObject<{
|
|
5827
|
+
flow_id: z.ZodString;
|
|
5828
|
+
next_node: z.ZodString;
|
|
5829
|
+
}, "strip", z.ZodTypeAny, {
|
|
5830
|
+
next_node: string;
|
|
5831
|
+
flow_id: string;
|
|
5832
|
+
}, {
|
|
5833
|
+
next_node: string;
|
|
5834
|
+
flow_id: string;
|
|
5835
|
+
}>;
|
|
5836
|
+
}, "strip", z.ZodTypeAny, {
|
|
5837
|
+
type: NodeType.FLOW;
|
|
5838
|
+
id: string;
|
|
5839
|
+
config: {
|
|
5840
|
+
next_node: string;
|
|
5841
|
+
flow_id: string;
|
|
5842
|
+
};
|
|
5843
|
+
coordinates: {
|
|
5844
|
+
x: number;
|
|
5845
|
+
y: number;
|
|
5846
|
+
};
|
|
5847
|
+
alias?: string | undefined;
|
|
5848
|
+
}, {
|
|
5849
|
+
type: NodeType.FLOW;
|
|
5850
|
+
id: string;
|
|
5851
|
+
config: {
|
|
5852
|
+
next_node: string;
|
|
5853
|
+
flow_id: string;
|
|
5854
|
+
};
|
|
5855
|
+
coordinates: {
|
|
5856
|
+
x: number;
|
|
5857
|
+
y: number;
|
|
5858
|
+
};
|
|
5859
|
+
alias?: string | undefined;
|
|
5860
|
+
}>,
|
|
5861
|
+
z.ZodObject<{
|
|
5862
|
+
id: z.ZodString;
|
|
5863
|
+
type: z.ZodLiteral<NodeType.ACTION>;
|
|
5337
5864
|
coordinates: z.ZodObject<{
|
|
5338
5865
|
x: z.ZodNumber;
|
|
5339
5866
|
y: z.ZodNumber;
|
|
@@ -5346,21 +5873,49 @@ export declare const auth0FlowSchema: z.ZodObject<{
|
|
|
5346
5873
|
}>;
|
|
5347
5874
|
alias: z.ZodOptional<z.ZodString>;
|
|
5348
5875
|
config: z.ZodObject<{
|
|
5349
|
-
|
|
5876
|
+
action_type: z.ZodEnum<[
|
|
5877
|
+
"REDIRECT"
|
|
5878
|
+
]>;
|
|
5879
|
+
target: z.ZodEnum<[
|
|
5880
|
+
"change-email",
|
|
5881
|
+
"account",
|
|
5882
|
+
"custom"
|
|
5883
|
+
]>;
|
|
5884
|
+
custom_url: z.ZodOptional<z.ZodString>;
|
|
5350
5885
|
next_node: z.ZodString;
|
|
5351
|
-
}, "
|
|
5352
|
-
|
|
5353
|
-
|
|
5354
|
-
|
|
5355
|
-
|
|
5356
|
-
|
|
5357
|
-
|
|
5886
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
5887
|
+
action_type: z.ZodEnum<[
|
|
5888
|
+
"REDIRECT"
|
|
5889
|
+
]>;
|
|
5890
|
+
target: z.ZodEnum<[
|
|
5891
|
+
"change-email",
|
|
5892
|
+
"account",
|
|
5893
|
+
"custom"
|
|
5894
|
+
]>;
|
|
5895
|
+
custom_url: z.ZodOptional<z.ZodString>;
|
|
5896
|
+
next_node: z.ZodString;
|
|
5897
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
5898
|
+
action_type: z.ZodEnum<[
|
|
5899
|
+
"REDIRECT"
|
|
5900
|
+
]>;
|
|
5901
|
+
target: z.ZodEnum<[
|
|
5902
|
+
"change-email",
|
|
5903
|
+
"account",
|
|
5904
|
+
"custom"
|
|
5905
|
+
]>;
|
|
5906
|
+
custom_url: z.ZodOptional<z.ZodString>;
|
|
5907
|
+
next_node: z.ZodString;
|
|
5908
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
5358
5909
|
}, "strip", z.ZodTypeAny, {
|
|
5359
|
-
type: NodeType.
|
|
5910
|
+
type: NodeType.ACTION;
|
|
5360
5911
|
id: string;
|
|
5361
5912
|
config: {
|
|
5913
|
+
target: "custom" | "change-email" | "account";
|
|
5362
5914
|
next_node: string;
|
|
5363
|
-
|
|
5915
|
+
action_type: "REDIRECT";
|
|
5916
|
+
custom_url?: string | undefined;
|
|
5917
|
+
} & {
|
|
5918
|
+
[k: string]: unknown;
|
|
5364
5919
|
};
|
|
5365
5920
|
coordinates: {
|
|
5366
5921
|
x: number;
|
|
@@ -5368,11 +5923,15 @@ export declare const auth0FlowSchema: z.ZodObject<{
|
|
|
5368
5923
|
};
|
|
5369
5924
|
alias?: string | undefined;
|
|
5370
5925
|
}, {
|
|
5371
|
-
type: NodeType.
|
|
5926
|
+
type: NodeType.ACTION;
|
|
5372
5927
|
id: string;
|
|
5373
5928
|
config: {
|
|
5929
|
+
target: "custom" | "change-email" | "account";
|
|
5374
5930
|
next_node: string;
|
|
5375
|
-
|
|
5931
|
+
action_type: "REDIRECT";
|
|
5932
|
+
custom_url?: string | undefined;
|
|
5933
|
+
} & {
|
|
5934
|
+
[k: string]: unknown;
|
|
5376
5935
|
};
|
|
5377
5936
|
coordinates: {
|
|
5378
5937
|
x: number;
|
|
@@ -6220,6 +6779,87 @@ export declare const auth0FlowSchema: z.ZodObject<{
|
|
|
6220
6779
|
};
|
|
6221
6780
|
alias?: string | undefined;
|
|
6222
6781
|
}>,
|
|
6782
|
+
z.ZodObject<{
|
|
6783
|
+
id: z.ZodString;
|
|
6784
|
+
type: z.ZodLiteral<NodeType.ACTION>;
|
|
6785
|
+
coordinates: z.ZodObject<{
|
|
6786
|
+
x: z.ZodNumber;
|
|
6787
|
+
y: z.ZodNumber;
|
|
6788
|
+
}, "strip", z.ZodTypeAny, {
|
|
6789
|
+
x: number;
|
|
6790
|
+
y: number;
|
|
6791
|
+
}, {
|
|
6792
|
+
x: number;
|
|
6793
|
+
y: number;
|
|
6794
|
+
}>;
|
|
6795
|
+
alias: z.ZodOptional<z.ZodString>;
|
|
6796
|
+
config: z.ZodObject<{
|
|
6797
|
+
action_type: z.ZodEnum<[
|
|
6798
|
+
"REDIRECT"
|
|
6799
|
+
]>;
|
|
6800
|
+
target: z.ZodEnum<[
|
|
6801
|
+
"change-email",
|
|
6802
|
+
"account",
|
|
6803
|
+
"custom"
|
|
6804
|
+
]>;
|
|
6805
|
+
custom_url: z.ZodOptional<z.ZodString>;
|
|
6806
|
+
next_node: z.ZodString;
|
|
6807
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
6808
|
+
action_type: z.ZodEnum<[
|
|
6809
|
+
"REDIRECT"
|
|
6810
|
+
]>;
|
|
6811
|
+
target: z.ZodEnum<[
|
|
6812
|
+
"change-email",
|
|
6813
|
+
"account",
|
|
6814
|
+
"custom"
|
|
6815
|
+
]>;
|
|
6816
|
+
custom_url: z.ZodOptional<z.ZodString>;
|
|
6817
|
+
next_node: z.ZodString;
|
|
6818
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
6819
|
+
action_type: z.ZodEnum<[
|
|
6820
|
+
"REDIRECT"
|
|
6821
|
+
]>;
|
|
6822
|
+
target: z.ZodEnum<[
|
|
6823
|
+
"change-email",
|
|
6824
|
+
"account",
|
|
6825
|
+
"custom"
|
|
6826
|
+
]>;
|
|
6827
|
+
custom_url: z.ZodOptional<z.ZodString>;
|
|
6828
|
+
next_node: z.ZodString;
|
|
6829
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
6830
|
+
}, "strip", z.ZodTypeAny, {
|
|
6831
|
+
type: NodeType.ACTION;
|
|
6832
|
+
id: string;
|
|
6833
|
+
config: {
|
|
6834
|
+
target: "custom" | "change-email" | "account";
|
|
6835
|
+
next_node: string;
|
|
6836
|
+
action_type: "REDIRECT";
|
|
6837
|
+
custom_url?: string | undefined;
|
|
6838
|
+
} & {
|
|
6839
|
+
[k: string]: unknown;
|
|
6840
|
+
};
|
|
6841
|
+
coordinates: {
|
|
6842
|
+
x: number;
|
|
6843
|
+
y: number;
|
|
6844
|
+
};
|
|
6845
|
+
alias?: string | undefined;
|
|
6846
|
+
}, {
|
|
6847
|
+
type: NodeType.ACTION;
|
|
6848
|
+
id: string;
|
|
6849
|
+
config: {
|
|
6850
|
+
target: "custom" | "change-email" | "account";
|
|
6851
|
+
next_node: string;
|
|
6852
|
+
action_type: "REDIRECT";
|
|
6853
|
+
custom_url?: string | undefined;
|
|
6854
|
+
} & {
|
|
6855
|
+
[k: string]: unknown;
|
|
6856
|
+
};
|
|
6857
|
+
coordinates: {
|
|
6858
|
+
x: number;
|
|
6859
|
+
y: number;
|
|
6860
|
+
};
|
|
6861
|
+
alias?: string | undefined;
|
|
6862
|
+
}>,
|
|
6223
6863
|
z.ZodObject<{
|
|
6224
6864
|
id: z.ZodString;
|
|
6225
6865
|
type: z.ZodString;
|
|
@@ -7062,6 +7702,87 @@ export declare const auth0FlowInsertSchema: z.ZodObject<Omit<{
|
|
|
7062
7702
|
};
|
|
7063
7703
|
alias?: string | undefined;
|
|
7064
7704
|
}>,
|
|
7705
|
+
z.ZodObject<{
|
|
7706
|
+
id: z.ZodString;
|
|
7707
|
+
type: z.ZodLiteral<NodeType.ACTION>;
|
|
7708
|
+
coordinates: z.ZodObject<{
|
|
7709
|
+
x: z.ZodNumber;
|
|
7710
|
+
y: z.ZodNumber;
|
|
7711
|
+
}, "strip", z.ZodTypeAny, {
|
|
7712
|
+
x: number;
|
|
7713
|
+
y: number;
|
|
7714
|
+
}, {
|
|
7715
|
+
x: number;
|
|
7716
|
+
y: number;
|
|
7717
|
+
}>;
|
|
7718
|
+
alias: z.ZodOptional<z.ZodString>;
|
|
7719
|
+
config: z.ZodObject<{
|
|
7720
|
+
action_type: z.ZodEnum<[
|
|
7721
|
+
"REDIRECT"
|
|
7722
|
+
]>;
|
|
7723
|
+
target: z.ZodEnum<[
|
|
7724
|
+
"change-email",
|
|
7725
|
+
"account",
|
|
7726
|
+
"custom"
|
|
7727
|
+
]>;
|
|
7728
|
+
custom_url: z.ZodOptional<z.ZodString>;
|
|
7729
|
+
next_node: z.ZodString;
|
|
7730
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
7731
|
+
action_type: z.ZodEnum<[
|
|
7732
|
+
"REDIRECT"
|
|
7733
|
+
]>;
|
|
7734
|
+
target: z.ZodEnum<[
|
|
7735
|
+
"change-email",
|
|
7736
|
+
"account",
|
|
7737
|
+
"custom"
|
|
7738
|
+
]>;
|
|
7739
|
+
custom_url: z.ZodOptional<z.ZodString>;
|
|
7740
|
+
next_node: z.ZodString;
|
|
7741
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
7742
|
+
action_type: z.ZodEnum<[
|
|
7743
|
+
"REDIRECT"
|
|
7744
|
+
]>;
|
|
7745
|
+
target: z.ZodEnum<[
|
|
7746
|
+
"change-email",
|
|
7747
|
+
"account",
|
|
7748
|
+
"custom"
|
|
7749
|
+
]>;
|
|
7750
|
+
custom_url: z.ZodOptional<z.ZodString>;
|
|
7751
|
+
next_node: z.ZodString;
|
|
7752
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
7753
|
+
}, "strip", z.ZodTypeAny, {
|
|
7754
|
+
type: NodeType.ACTION;
|
|
7755
|
+
id: string;
|
|
7756
|
+
config: {
|
|
7757
|
+
target: "custom" | "change-email" | "account";
|
|
7758
|
+
next_node: string;
|
|
7759
|
+
action_type: "REDIRECT";
|
|
7760
|
+
custom_url?: string | undefined;
|
|
7761
|
+
} & {
|
|
7762
|
+
[k: string]: unknown;
|
|
7763
|
+
};
|
|
7764
|
+
coordinates: {
|
|
7765
|
+
x: number;
|
|
7766
|
+
y: number;
|
|
7767
|
+
};
|
|
7768
|
+
alias?: string | undefined;
|
|
7769
|
+
}, {
|
|
7770
|
+
type: NodeType.ACTION;
|
|
7771
|
+
id: string;
|
|
7772
|
+
config: {
|
|
7773
|
+
target: "custom" | "change-email" | "account";
|
|
7774
|
+
next_node: string;
|
|
7775
|
+
action_type: "REDIRECT";
|
|
7776
|
+
custom_url?: string | undefined;
|
|
7777
|
+
} & {
|
|
7778
|
+
[k: string]: unknown;
|
|
7779
|
+
};
|
|
7780
|
+
coordinates: {
|
|
7781
|
+
x: number;
|
|
7782
|
+
y: number;
|
|
7783
|
+
};
|
|
7784
|
+
alias?: string | undefined;
|
|
7785
|
+
}>,
|
|
7065
7786
|
z.ZodObject<{
|
|
7066
7787
|
id: z.ZodString;
|
|
7067
7788
|
type: z.ZodString;
|
|
@@ -7902,6 +8623,87 @@ export declare const auth0FlowInsertSchema: z.ZodObject<Omit<{
|
|
|
7902
8623
|
};
|
|
7903
8624
|
alias?: string | undefined;
|
|
7904
8625
|
}>,
|
|
8626
|
+
z.ZodObject<{
|
|
8627
|
+
id: z.ZodString;
|
|
8628
|
+
type: z.ZodLiteral<NodeType.ACTION>;
|
|
8629
|
+
coordinates: z.ZodObject<{
|
|
8630
|
+
x: z.ZodNumber;
|
|
8631
|
+
y: z.ZodNumber;
|
|
8632
|
+
}, "strip", z.ZodTypeAny, {
|
|
8633
|
+
x: number;
|
|
8634
|
+
y: number;
|
|
8635
|
+
}, {
|
|
8636
|
+
x: number;
|
|
8637
|
+
y: number;
|
|
8638
|
+
}>;
|
|
8639
|
+
alias: z.ZodOptional<z.ZodString>;
|
|
8640
|
+
config: z.ZodObject<{
|
|
8641
|
+
action_type: z.ZodEnum<[
|
|
8642
|
+
"REDIRECT"
|
|
8643
|
+
]>;
|
|
8644
|
+
target: z.ZodEnum<[
|
|
8645
|
+
"change-email",
|
|
8646
|
+
"account",
|
|
8647
|
+
"custom"
|
|
8648
|
+
]>;
|
|
8649
|
+
custom_url: z.ZodOptional<z.ZodString>;
|
|
8650
|
+
next_node: z.ZodString;
|
|
8651
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
8652
|
+
action_type: z.ZodEnum<[
|
|
8653
|
+
"REDIRECT"
|
|
8654
|
+
]>;
|
|
8655
|
+
target: z.ZodEnum<[
|
|
8656
|
+
"change-email",
|
|
8657
|
+
"account",
|
|
8658
|
+
"custom"
|
|
8659
|
+
]>;
|
|
8660
|
+
custom_url: z.ZodOptional<z.ZodString>;
|
|
8661
|
+
next_node: z.ZodString;
|
|
8662
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
8663
|
+
action_type: z.ZodEnum<[
|
|
8664
|
+
"REDIRECT"
|
|
8665
|
+
]>;
|
|
8666
|
+
target: z.ZodEnum<[
|
|
8667
|
+
"change-email",
|
|
8668
|
+
"account",
|
|
8669
|
+
"custom"
|
|
8670
|
+
]>;
|
|
8671
|
+
custom_url: z.ZodOptional<z.ZodString>;
|
|
8672
|
+
next_node: z.ZodString;
|
|
8673
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
8674
|
+
}, "strip", z.ZodTypeAny, {
|
|
8675
|
+
type: NodeType.ACTION;
|
|
8676
|
+
id: string;
|
|
8677
|
+
config: {
|
|
8678
|
+
target: "custom" | "change-email" | "account";
|
|
8679
|
+
next_node: string;
|
|
8680
|
+
action_type: "REDIRECT";
|
|
8681
|
+
custom_url?: string | undefined;
|
|
8682
|
+
} & {
|
|
8683
|
+
[k: string]: unknown;
|
|
8684
|
+
};
|
|
8685
|
+
coordinates: {
|
|
8686
|
+
x: number;
|
|
8687
|
+
y: number;
|
|
8688
|
+
};
|
|
8689
|
+
alias?: string | undefined;
|
|
8690
|
+
}, {
|
|
8691
|
+
type: NodeType.ACTION;
|
|
8692
|
+
id: string;
|
|
8693
|
+
config: {
|
|
8694
|
+
target: "custom" | "change-email" | "account";
|
|
8695
|
+
next_node: string;
|
|
8696
|
+
action_type: "REDIRECT";
|
|
8697
|
+
custom_url?: string | undefined;
|
|
8698
|
+
} & {
|
|
8699
|
+
[k: string]: unknown;
|
|
8700
|
+
};
|
|
8701
|
+
coordinates: {
|
|
8702
|
+
x: number;
|
|
8703
|
+
y: number;
|
|
8704
|
+
};
|
|
8705
|
+
alias?: string | undefined;
|
|
8706
|
+
}>,
|
|
7905
8707
|
z.ZodObject<{
|
|
7906
8708
|
id: z.ZodString;
|
|
7907
8709
|
type: z.ZodString;
|
|
@@ -8742,6 +9544,87 @@ export declare const auth0FlowInsertSchema: z.ZodObject<Omit<{
|
|
|
8742
9544
|
};
|
|
8743
9545
|
alias?: string | undefined;
|
|
8744
9546
|
}>,
|
|
9547
|
+
z.ZodObject<{
|
|
9548
|
+
id: z.ZodString;
|
|
9549
|
+
type: z.ZodLiteral<NodeType.ACTION>;
|
|
9550
|
+
coordinates: z.ZodObject<{
|
|
9551
|
+
x: z.ZodNumber;
|
|
9552
|
+
y: z.ZodNumber;
|
|
9553
|
+
}, "strip", z.ZodTypeAny, {
|
|
9554
|
+
x: number;
|
|
9555
|
+
y: number;
|
|
9556
|
+
}, {
|
|
9557
|
+
x: number;
|
|
9558
|
+
y: number;
|
|
9559
|
+
}>;
|
|
9560
|
+
alias: z.ZodOptional<z.ZodString>;
|
|
9561
|
+
config: z.ZodObject<{
|
|
9562
|
+
action_type: z.ZodEnum<[
|
|
9563
|
+
"REDIRECT"
|
|
9564
|
+
]>;
|
|
9565
|
+
target: z.ZodEnum<[
|
|
9566
|
+
"change-email",
|
|
9567
|
+
"account",
|
|
9568
|
+
"custom"
|
|
9569
|
+
]>;
|
|
9570
|
+
custom_url: z.ZodOptional<z.ZodString>;
|
|
9571
|
+
next_node: z.ZodString;
|
|
9572
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
9573
|
+
action_type: z.ZodEnum<[
|
|
9574
|
+
"REDIRECT"
|
|
9575
|
+
]>;
|
|
9576
|
+
target: z.ZodEnum<[
|
|
9577
|
+
"change-email",
|
|
9578
|
+
"account",
|
|
9579
|
+
"custom"
|
|
9580
|
+
]>;
|
|
9581
|
+
custom_url: z.ZodOptional<z.ZodString>;
|
|
9582
|
+
next_node: z.ZodString;
|
|
9583
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
9584
|
+
action_type: z.ZodEnum<[
|
|
9585
|
+
"REDIRECT"
|
|
9586
|
+
]>;
|
|
9587
|
+
target: z.ZodEnum<[
|
|
9588
|
+
"change-email",
|
|
9589
|
+
"account",
|
|
9590
|
+
"custom"
|
|
9591
|
+
]>;
|
|
9592
|
+
custom_url: z.ZodOptional<z.ZodString>;
|
|
9593
|
+
next_node: z.ZodString;
|
|
9594
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
9595
|
+
}, "strip", z.ZodTypeAny, {
|
|
9596
|
+
type: NodeType.ACTION;
|
|
9597
|
+
id: string;
|
|
9598
|
+
config: {
|
|
9599
|
+
target: "custom" | "change-email" | "account";
|
|
9600
|
+
next_node: string;
|
|
9601
|
+
action_type: "REDIRECT";
|
|
9602
|
+
custom_url?: string | undefined;
|
|
9603
|
+
} & {
|
|
9604
|
+
[k: string]: unknown;
|
|
9605
|
+
};
|
|
9606
|
+
coordinates: {
|
|
9607
|
+
x: number;
|
|
9608
|
+
y: number;
|
|
9609
|
+
};
|
|
9610
|
+
alias?: string | undefined;
|
|
9611
|
+
}, {
|
|
9612
|
+
type: NodeType.ACTION;
|
|
9613
|
+
id: string;
|
|
9614
|
+
config: {
|
|
9615
|
+
target: "custom" | "change-email" | "account";
|
|
9616
|
+
next_node: string;
|
|
9617
|
+
action_type: "REDIRECT";
|
|
9618
|
+
custom_url?: string | undefined;
|
|
9619
|
+
} & {
|
|
9620
|
+
[k: string]: unknown;
|
|
9621
|
+
};
|
|
9622
|
+
coordinates: {
|
|
9623
|
+
x: number;
|
|
9624
|
+
y: number;
|
|
9625
|
+
};
|
|
9626
|
+
alias?: string | undefined;
|
|
9627
|
+
}>,
|
|
8745
9628
|
z.ZodObject<{
|
|
8746
9629
|
id: z.ZodString;
|
|
8747
9630
|
type: z.ZodString;
|
|
@@ -11973,11 +12856,11 @@ export declare const formInsertSchema: z.ZodObject<{
|
|
|
11973
12856
|
delay: z.ZodOptional<z.ZodNumber>;
|
|
11974
12857
|
target: z.ZodOptional<z.ZodString>;
|
|
11975
12858
|
}, "strip", z.ZodTypeAny, {
|
|
11976
|
-
delay?: number | undefined;
|
|
11977
12859
|
target?: string | undefined;
|
|
11978
|
-
}, {
|
|
11979
12860
|
delay?: number | undefined;
|
|
12861
|
+
}, {
|
|
11980
12862
|
target?: string | undefined;
|
|
12863
|
+
delay?: number | undefined;
|
|
11981
12864
|
}>>;
|
|
11982
12865
|
after_submit: z.ZodOptional<z.ZodObject<{
|
|
11983
12866
|
flow_id: z.ZodOptional<z.ZodString>;
|
|
@@ -12004,8 +12887,8 @@ export declare const formInsertSchema: z.ZodObject<{
|
|
|
12004
12887
|
} | undefined;
|
|
12005
12888
|
resume_flow?: boolean | undefined;
|
|
12006
12889
|
redirection?: {
|
|
12007
|
-
delay?: number | undefined;
|
|
12008
12890
|
target?: string | undefined;
|
|
12891
|
+
delay?: number | undefined;
|
|
12009
12892
|
} | undefined;
|
|
12010
12893
|
after_submit?: {
|
|
12011
12894
|
flow_id?: string | undefined;
|
|
@@ -12017,8 +12900,8 @@ export declare const formInsertSchema: z.ZodObject<{
|
|
|
12017
12900
|
} | undefined;
|
|
12018
12901
|
resume_flow?: boolean | undefined;
|
|
12019
12902
|
redirection?: {
|
|
12020
|
-
delay?: number | undefined;
|
|
12021
12903
|
target?: string | undefined;
|
|
12904
|
+
delay?: number | undefined;
|
|
12022
12905
|
} | undefined;
|
|
12023
12906
|
after_submit?: {
|
|
12024
12907
|
flow_id?: string | undefined;
|
|
@@ -12177,8 +13060,8 @@ export declare const formInsertSchema: z.ZodObject<{
|
|
|
12177
13060
|
} | undefined;
|
|
12178
13061
|
resume_flow?: boolean | undefined;
|
|
12179
13062
|
redirection?: {
|
|
12180
|
-
delay?: number | undefined;
|
|
12181
13063
|
target?: string | undefined;
|
|
13064
|
+
delay?: number | undefined;
|
|
12182
13065
|
} | undefined;
|
|
12183
13066
|
after_submit?: {
|
|
12184
13067
|
flow_id?: string | undefined;
|
|
@@ -12335,8 +13218,8 @@ export declare const formInsertSchema: z.ZodObject<{
|
|
|
12335
13218
|
} | undefined;
|
|
12336
13219
|
resume_flow?: boolean | undefined;
|
|
12337
13220
|
redirection?: {
|
|
12338
|
-
delay?: number | undefined;
|
|
12339
13221
|
target?: string | undefined;
|
|
13222
|
+
delay?: number | undefined;
|
|
12340
13223
|
} | undefined;
|
|
12341
13224
|
after_submit?: {
|
|
12342
13225
|
flow_id?: string | undefined;
|
|
@@ -13208,11 +14091,11 @@ export declare const formSchema: z.ZodObject<{
|
|
|
13208
14091
|
delay: z.ZodOptional<z.ZodNumber>;
|
|
13209
14092
|
target: z.ZodOptional<z.ZodString>;
|
|
13210
14093
|
}, "strip", z.ZodTypeAny, {
|
|
13211
|
-
delay?: number | undefined;
|
|
13212
14094
|
target?: string | undefined;
|
|
13213
|
-
}, {
|
|
13214
14095
|
delay?: number | undefined;
|
|
14096
|
+
}, {
|
|
13215
14097
|
target?: string | undefined;
|
|
14098
|
+
delay?: number | undefined;
|
|
13216
14099
|
}>>;
|
|
13217
14100
|
after_submit: z.ZodOptional<z.ZodObject<{
|
|
13218
14101
|
flow_id: z.ZodOptional<z.ZodString>;
|
|
@@ -13239,8 +14122,8 @@ export declare const formSchema: z.ZodObject<{
|
|
|
13239
14122
|
} | undefined;
|
|
13240
14123
|
resume_flow?: boolean | undefined;
|
|
13241
14124
|
redirection?: {
|
|
13242
|
-
delay?: number | undefined;
|
|
13243
14125
|
target?: string | undefined;
|
|
14126
|
+
delay?: number | undefined;
|
|
13244
14127
|
} | undefined;
|
|
13245
14128
|
after_submit?: {
|
|
13246
14129
|
flow_id?: string | undefined;
|
|
@@ -13252,8 +14135,8 @@ export declare const formSchema: z.ZodObject<{
|
|
|
13252
14135
|
} | undefined;
|
|
13253
14136
|
resume_flow?: boolean | undefined;
|
|
13254
14137
|
redirection?: {
|
|
13255
|
-
delay?: number | undefined;
|
|
13256
14138
|
target?: string | undefined;
|
|
14139
|
+
delay?: number | undefined;
|
|
13257
14140
|
} | undefined;
|
|
13258
14141
|
after_submit?: {
|
|
13259
14142
|
flow_id?: string | undefined;
|
|
@@ -13417,8 +14300,8 @@ export declare const formSchema: z.ZodObject<{
|
|
|
13417
14300
|
} | undefined;
|
|
13418
14301
|
resume_flow?: boolean | undefined;
|
|
13419
14302
|
redirection?: {
|
|
13420
|
-
delay?: number | undefined;
|
|
13421
14303
|
target?: string | undefined;
|
|
14304
|
+
delay?: number | undefined;
|
|
13422
14305
|
} | undefined;
|
|
13423
14306
|
after_submit?: {
|
|
13424
14307
|
flow_id?: string | undefined;
|
|
@@ -13578,8 +14461,8 @@ export declare const formSchema: z.ZodObject<{
|
|
|
13578
14461
|
} | undefined;
|
|
13579
14462
|
resume_flow?: boolean | undefined;
|
|
13580
14463
|
redirection?: {
|
|
13581
|
-
delay?: number | undefined;
|
|
13582
14464
|
target?: string | undefined;
|
|
14465
|
+
delay?: number | undefined;
|
|
13583
14466
|
} | undefined;
|
|
13584
14467
|
after_submit?: {
|
|
13585
14468
|
flow_id?: string | undefined;
|