@authhero/adapter-interfaces 0.110.0 → 0.112.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.
@@ -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 EMAIL types
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;
@@ -5368,11 +5846,92 @@ export declare const auth0FlowSchema: z.ZodObject<{
5368
5846
  };
5369
5847
  alias?: string | undefined;
5370
5848
  }, {
5371
- type: NodeType.FLOW;
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>;
5864
+ coordinates: z.ZodObject<{
5865
+ x: z.ZodNumber;
5866
+ y: z.ZodNumber;
5867
+ }, "strip", z.ZodTypeAny, {
5868
+ x: number;
5869
+ y: number;
5870
+ }, {
5871
+ x: number;
5872
+ y: number;
5873
+ }>;
5874
+ alias: z.ZodOptional<z.ZodString>;
5875
+ config: z.ZodObject<{
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>;
5885
+ next_node: z.ZodString;
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">>;
5909
+ }, "strip", z.ZodTypeAny, {
5910
+ type: NodeType.ACTION;
5911
+ id: string;
5912
+ config: {
5913
+ target: "custom" | "change-email" | "account";
5914
+ next_node: string;
5915
+ action_type: "REDIRECT";
5916
+ custom_url?: string | undefined;
5917
+ } & {
5918
+ [k: string]: unknown;
5919
+ };
5920
+ coordinates: {
5921
+ x: number;
5922
+ y: number;
5923
+ };
5924
+ alias?: string | undefined;
5925
+ }, {
5926
+ type: NodeType.ACTION;
5372
5927
  id: string;
5373
5928
  config: {
5929
+ target: "custom" | "change-email" | "account";
5374
5930
  next_node: string;
5375
- flow_id: string;
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;
@@ -9548,6 +10431,7 @@ export declare const legacyClientSchema: z.ZodObject<{
9548
10431
  is_domain_connection: z.ZodOptional<z.ZodBoolean>;
9549
10432
  show_as_button: z.ZodOptional<z.ZodBoolean>;
9550
10433
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
10434
+ is_system: z.ZodOptional<z.ZodBoolean>;
9551
10435
  }, "strip", z.ZodTypeAny, {
9552
10436
  created_at: string;
9553
10437
  updated_at: string;
@@ -9575,6 +10459,7 @@ export declare const legacyClientSchema: z.ZodObject<{
9575
10459
  name: string;
9576
10460
  strategy: string;
9577
10461
  id?: string | undefined;
10462
+ is_system?: boolean | undefined;
9578
10463
  response_type?: AuthorizationResponseType | undefined;
9579
10464
  response_mode?: AuthorizationResponseMode | undefined;
9580
10465
  display_name?: string | undefined;
@@ -9609,6 +10494,7 @@ export declare const legacyClientSchema: z.ZodObject<{
9609
10494
  icon_url?: string | undefined;
9610
10495
  } | undefined;
9611
10496
  id?: string | undefined;
10497
+ is_system?: boolean | undefined;
9612
10498
  response_type?: AuthorizationResponseType | undefined;
9613
10499
  response_mode?: AuthorizationResponseMode | undefined;
9614
10500
  display_name?: string | undefined;
@@ -9744,6 +10630,7 @@ export declare const legacyClientSchema: z.ZodObject<{
9744
10630
  name: string;
9745
10631
  strategy: string;
9746
10632
  id?: string | undefined;
10633
+ is_system?: boolean | undefined;
9747
10634
  response_type?: AuthorizationResponseType | undefined;
9748
10635
  response_mode?: AuthorizationResponseMode | undefined;
9749
10636
  display_name?: string | undefined;
@@ -9926,6 +10813,7 @@ export declare const legacyClientSchema: z.ZodObject<{
9926
10813
  icon_url?: string | undefined;
9927
10814
  } | undefined;
9928
10815
  id?: string | undefined;
10816
+ is_system?: boolean | undefined;
9929
10817
  response_type?: AuthorizationResponseType | undefined;
9930
10818
  response_mode?: AuthorizationResponseMode | undefined;
9931
10819
  display_name?: string | undefined;
@@ -10334,6 +11222,7 @@ export declare const connectionInsertSchema: z.ZodObject<{
10334
11222
  is_domain_connection: z.ZodOptional<z.ZodBoolean>;
10335
11223
  show_as_button: z.ZodOptional<z.ZodBoolean>;
10336
11224
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
11225
+ is_system: z.ZodOptional<z.ZodBoolean>;
10337
11226
  }, "strip", z.ZodTypeAny, {
10338
11227
  options: {
10339
11228
  provider?: string | undefined;
@@ -10359,6 +11248,7 @@ export declare const connectionInsertSchema: z.ZodObject<{
10359
11248
  name: string;
10360
11249
  strategy: string;
10361
11250
  id?: string | undefined;
11251
+ is_system?: boolean | undefined;
10362
11252
  response_type?: AuthorizationResponseType | undefined;
10363
11253
  response_mode?: AuthorizationResponseMode | undefined;
10364
11254
  display_name?: string | undefined;
@@ -10391,6 +11281,7 @@ export declare const connectionInsertSchema: z.ZodObject<{
10391
11281
  icon_url?: string | undefined;
10392
11282
  } | undefined;
10393
11283
  id?: string | undefined;
11284
+ is_system?: boolean | undefined;
10394
11285
  response_type?: AuthorizationResponseType | undefined;
10395
11286
  response_mode?: AuthorizationResponseMode | undefined;
10396
11287
  display_name?: string | undefined;
@@ -10475,6 +11366,7 @@ export declare const connectionSchema: z.ZodObject<{
10475
11366
  is_domain_connection: z.ZodOptional<z.ZodBoolean>;
10476
11367
  show_as_button: z.ZodOptional<z.ZodBoolean>;
10477
11368
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
11369
+ is_system: z.ZodOptional<z.ZodBoolean>;
10478
11370
  }, "strip", z.ZodTypeAny, {
10479
11371
  created_at: string;
10480
11372
  updated_at: string;
@@ -10502,6 +11394,7 @@ export declare const connectionSchema: z.ZodObject<{
10502
11394
  name: string;
10503
11395
  strategy: string;
10504
11396
  id?: string | undefined;
11397
+ is_system?: boolean | undefined;
10505
11398
  response_type?: AuthorizationResponseType | undefined;
10506
11399
  response_mode?: AuthorizationResponseMode | undefined;
10507
11400
  display_name?: string | undefined;
@@ -10536,6 +11429,7 @@ export declare const connectionSchema: z.ZodObject<{
10536
11429
  icon_url?: string | undefined;
10537
11430
  } | undefined;
10538
11431
  id?: string | undefined;
11432
+ is_system?: boolean | undefined;
10539
11433
  response_type?: AuthorizationResponseType | undefined;
10540
11434
  response_mode?: AuthorizationResponseMode | undefined;
10541
11435
  display_name?: string | undefined;
@@ -11973,11 +12867,11 @@ export declare const formInsertSchema: z.ZodObject<{
11973
12867
  delay: z.ZodOptional<z.ZodNumber>;
11974
12868
  target: z.ZodOptional<z.ZodString>;
11975
12869
  }, "strip", z.ZodTypeAny, {
11976
- delay?: number | undefined;
11977
12870
  target?: string | undefined;
11978
- }, {
11979
12871
  delay?: number | undefined;
12872
+ }, {
11980
12873
  target?: string | undefined;
12874
+ delay?: number | undefined;
11981
12875
  }>>;
11982
12876
  after_submit: z.ZodOptional<z.ZodObject<{
11983
12877
  flow_id: z.ZodOptional<z.ZodString>;
@@ -12004,8 +12898,8 @@ export declare const formInsertSchema: z.ZodObject<{
12004
12898
  } | undefined;
12005
12899
  resume_flow?: boolean | undefined;
12006
12900
  redirection?: {
12007
- delay?: number | undefined;
12008
12901
  target?: string | undefined;
12902
+ delay?: number | undefined;
12009
12903
  } | undefined;
12010
12904
  after_submit?: {
12011
12905
  flow_id?: string | undefined;
@@ -12017,8 +12911,8 @@ export declare const formInsertSchema: z.ZodObject<{
12017
12911
  } | undefined;
12018
12912
  resume_flow?: boolean | undefined;
12019
12913
  redirection?: {
12020
- delay?: number | undefined;
12021
12914
  target?: string | undefined;
12915
+ delay?: number | undefined;
12022
12916
  } | undefined;
12023
12917
  after_submit?: {
12024
12918
  flow_id?: string | undefined;
@@ -12177,8 +13071,8 @@ export declare const formInsertSchema: z.ZodObject<{
12177
13071
  } | undefined;
12178
13072
  resume_flow?: boolean | undefined;
12179
13073
  redirection?: {
12180
- delay?: number | undefined;
12181
13074
  target?: string | undefined;
13075
+ delay?: number | undefined;
12182
13076
  } | undefined;
12183
13077
  after_submit?: {
12184
13078
  flow_id?: string | undefined;
@@ -12335,8 +13229,8 @@ export declare const formInsertSchema: z.ZodObject<{
12335
13229
  } | undefined;
12336
13230
  resume_flow?: boolean | undefined;
12337
13231
  redirection?: {
12338
- delay?: number | undefined;
12339
13232
  target?: string | undefined;
13233
+ delay?: number | undefined;
12340
13234
  } | undefined;
12341
13235
  after_submit?: {
12342
13236
  flow_id?: string | undefined;
@@ -13208,11 +14102,11 @@ export declare const formSchema: z.ZodObject<{
13208
14102
  delay: z.ZodOptional<z.ZodNumber>;
13209
14103
  target: z.ZodOptional<z.ZodString>;
13210
14104
  }, "strip", z.ZodTypeAny, {
13211
- delay?: number | undefined;
13212
14105
  target?: string | undefined;
13213
- }, {
13214
14106
  delay?: number | undefined;
14107
+ }, {
13215
14108
  target?: string | undefined;
14109
+ delay?: number | undefined;
13216
14110
  }>>;
13217
14111
  after_submit: z.ZodOptional<z.ZodObject<{
13218
14112
  flow_id: z.ZodOptional<z.ZodString>;
@@ -13239,8 +14133,8 @@ export declare const formSchema: z.ZodObject<{
13239
14133
  } | undefined;
13240
14134
  resume_flow?: boolean | undefined;
13241
14135
  redirection?: {
13242
- delay?: number | undefined;
13243
14136
  target?: string | undefined;
14137
+ delay?: number | undefined;
13244
14138
  } | undefined;
13245
14139
  after_submit?: {
13246
14140
  flow_id?: string | undefined;
@@ -13252,8 +14146,8 @@ export declare const formSchema: z.ZodObject<{
13252
14146
  } | undefined;
13253
14147
  resume_flow?: boolean | undefined;
13254
14148
  redirection?: {
13255
- delay?: number | undefined;
13256
14149
  target?: string | undefined;
14150
+ delay?: number | undefined;
13257
14151
  } | undefined;
13258
14152
  after_submit?: {
13259
14153
  flow_id?: string | undefined;
@@ -13417,8 +14311,8 @@ export declare const formSchema: z.ZodObject<{
13417
14311
  } | undefined;
13418
14312
  resume_flow?: boolean | undefined;
13419
14313
  redirection?: {
13420
- delay?: number | undefined;
13421
14314
  target?: string | undefined;
14315
+ delay?: number | undefined;
13422
14316
  } | undefined;
13423
14317
  after_submit?: {
13424
14318
  flow_id?: string | undefined;
@@ -13578,8 +14472,8 @@ export declare const formSchema: z.ZodObject<{
13578
14472
  } | undefined;
13579
14473
  resume_flow?: boolean | undefined;
13580
14474
  redirection?: {
13581
- delay?: number | undefined;
13582
14475
  target?: string | undefined;
14476
+ delay?: number | undefined;
13583
14477
  } | undefined;
13584
14478
  after_submit?: {
13585
14479
  flow_id?: string | undefined;
@@ -17634,6 +18528,7 @@ export declare const resourceServerInsertSchema: z.ZodObject<{
17634
18528
  persist_client_authorization?: boolean | undefined;
17635
18529
  enable_introspection_endpoint?: boolean | undefined;
17636
18530
  }>>;
18531
+ is_system: z.ZodOptional<z.ZodBoolean>;
17637
18532
  }, "strip", z.ZodTypeAny, {
17638
18533
  name: string;
17639
18534
  identifier: string;
@@ -17648,6 +18543,7 @@ export declare const resourceServerInsertSchema: z.ZodObject<{
17648
18543
  persist_client_authorization?: boolean | undefined;
17649
18544
  enable_introspection_endpoint?: boolean | undefined;
17650
18545
  } | undefined;
18546
+ is_system?: boolean | undefined;
17651
18547
  scopes?: {
17652
18548
  value: string;
17653
18549
  description?: string | undefined;
@@ -17673,6 +18569,7 @@ export declare const resourceServerInsertSchema: z.ZodObject<{
17673
18569
  persist_client_authorization?: boolean | undefined;
17674
18570
  enable_introspection_endpoint?: boolean | undefined;
17675
18571
  } | undefined;
18572
+ is_system?: boolean | undefined;
17676
18573
  scopes?: {
17677
18574
  value: string;
17678
18575
  description?: string | undefined;
@@ -17746,6 +18643,7 @@ export declare const resourceServerSchema: z.ZodObject<{
17746
18643
  persist_client_authorization?: boolean | undefined;
17747
18644
  enable_introspection_endpoint?: boolean | undefined;
17748
18645
  }>>;
18646
+ is_system: z.ZodOptional<z.ZodBoolean>;
17749
18647
  id: z.ZodOptional<z.ZodString>;
17750
18648
  }, "strip", z.ZodTypeAny, {
17751
18649
  name: string;
@@ -17764,6 +18662,7 @@ export declare const resourceServerSchema: z.ZodObject<{
17764
18662
  enable_introspection_endpoint?: boolean | undefined;
17765
18663
  } | undefined;
17766
18664
  id?: string | undefined;
18665
+ is_system?: boolean | undefined;
17767
18666
  scopes?: {
17768
18667
  value: string;
17769
18668
  description?: string | undefined;
@@ -17792,6 +18691,7 @@ export declare const resourceServerSchema: z.ZodObject<{
17792
18691
  enable_introspection_endpoint?: boolean | undefined;
17793
18692
  } | undefined;
17794
18693
  id?: string | undefined;
18694
+ is_system?: boolean | undefined;
17795
18695
  scopes?: {
17796
18696
  value: string;
17797
18697
  description?: string | undefined;
@@ -17865,6 +18765,7 @@ export declare const resourceServerListSchema: z.ZodArray<z.ZodObject<{
17865
18765
  persist_client_authorization?: boolean | undefined;
17866
18766
  enable_introspection_endpoint?: boolean | undefined;
17867
18767
  }>>;
18768
+ is_system: z.ZodOptional<z.ZodBoolean>;
17868
18769
  id: z.ZodOptional<z.ZodString>;
17869
18770
  }, "strip", z.ZodTypeAny, {
17870
18771
  name: string;
@@ -17883,6 +18784,7 @@ export declare const resourceServerListSchema: z.ZodArray<z.ZodObject<{
17883
18784
  enable_introspection_endpoint?: boolean | undefined;
17884
18785
  } | undefined;
17885
18786
  id?: string | undefined;
18787
+ is_system?: boolean | undefined;
17886
18788
  scopes?: {
17887
18789
  value: string;
17888
18790
  description?: string | undefined;
@@ -17911,6 +18813,7 @@ export declare const resourceServerListSchema: z.ZodArray<z.ZodObject<{
17911
18813
  enable_introspection_endpoint?: boolean | undefined;
17912
18814
  } | undefined;
17913
18815
  id?: string | undefined;
18816
+ is_system?: boolean | undefined;
17914
18817
  scopes?: {
17915
18818
  value: string;
17916
18819
  description?: string | undefined;
@@ -18144,18 +19047,22 @@ export type UserRoleList = z.infer<typeof userRoleListSchema>;
18144
19047
  export declare const roleInsertSchema: z.ZodObject<{
18145
19048
  name: z.ZodString;
18146
19049
  description: z.ZodOptional<z.ZodString>;
19050
+ is_system: z.ZodOptional<z.ZodBoolean>;
18147
19051
  }, "strip", z.ZodTypeAny, {
18148
19052
  name: string;
18149
19053
  description?: string | undefined;
19054
+ is_system?: boolean | undefined;
18150
19055
  }, {
18151
19056
  name: string;
18152
19057
  description?: string | undefined;
19058
+ is_system?: boolean | undefined;
18153
19059
  }>;
18154
19060
  export declare const roleSchema: z.ZodObject<{
18155
19061
  created_at: z.ZodOptional<z.ZodString>;
18156
19062
  updated_at: z.ZodOptional<z.ZodString>;
18157
19063
  name: z.ZodString;
18158
19064
  description: z.ZodOptional<z.ZodString>;
19065
+ is_system: z.ZodOptional<z.ZodBoolean>;
18159
19066
  id: z.ZodString;
18160
19067
  }, "strip", z.ZodTypeAny, {
18161
19068
  id: string;
@@ -18163,12 +19070,14 @@ export declare const roleSchema: z.ZodObject<{
18163
19070
  created_at?: string | undefined;
18164
19071
  updated_at?: string | undefined;
18165
19072
  description?: string | undefined;
19073
+ is_system?: boolean | undefined;
18166
19074
  }, {
18167
19075
  id: string;
18168
19076
  name: string;
18169
19077
  created_at?: string | undefined;
18170
19078
  updated_at?: string | undefined;
18171
19079
  description?: string | undefined;
19080
+ is_system?: boolean | undefined;
18172
19081
  }>;
18173
19082
  export type Role = z.infer<typeof roleSchema>;
18174
19083
  export type RoleInsert = z.infer<typeof roleInsertSchema>;
@@ -18177,6 +19086,7 @@ export declare const roleListSchema: z.ZodArray<z.ZodObject<{
18177
19086
  updated_at: z.ZodOptional<z.ZodString>;
18178
19087
  name: z.ZodString;
18179
19088
  description: z.ZodOptional<z.ZodString>;
19089
+ is_system: z.ZodOptional<z.ZodBoolean>;
18180
19090
  id: z.ZodString;
18181
19091
  }, "strip", z.ZodTypeAny, {
18182
19092
  id: string;
@@ -18184,12 +19094,14 @@ export declare const roleListSchema: z.ZodArray<z.ZodObject<{
18184
19094
  created_at?: string | undefined;
18185
19095
  updated_at?: string | undefined;
18186
19096
  description?: string | undefined;
19097
+ is_system?: boolean | undefined;
18187
19098
  }, {
18188
19099
  id: string;
18189
19100
  name: string;
18190
19101
  created_at?: string | undefined;
18191
19102
  updated_at?: string | undefined;
18192
19103
  description?: string | undefined;
19104
+ is_system?: boolean | undefined;
18193
19105
  }>, "many">;
18194
19106
  export type RoleList = z.infer<typeof roleListSchema>;
18195
19107
  export declare const organizationBrandingSchema: z.ZodOptional<z.ZodObject<{