@encatch/schema 1.3.0-beta.1 → 1.3.0-beta.2
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/esm/index.js +12 -6
- package/dist/esm/index.js.map +2 -2
- package/dist/types/schemas/api/fetch-feedback-schema.d.ts +96 -0
- package/dist/types/schemas/fields/app-props-schema.d.ts +48 -0
- package/dist/types/schemas/fields/completion-cta-schema.d.ts +48 -0
- package/dist/types/schemas/fields/field-schema.d.ts +96 -0
- package/dist/types/schemas/fields/form-properties-schema.d.ts +48 -0
- package/package.json +1 -1
|
@@ -480,6 +480,30 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
|
|
|
480
480
|
}, z.core.$strip>], "action">>;
|
|
481
481
|
secondary: z.ZodOptional<z.ZodObject<{
|
|
482
482
|
label: z.ZodString;
|
|
483
|
+
inApp: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
484
|
+
action: z.ZodLiteral<"dismiss">;
|
|
485
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
486
|
+
action: z.ZodLiteral<"app_navigate">;
|
|
487
|
+
route: z.ZodString;
|
|
488
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
489
|
+
action: z.ZodLiteral<"redirect_internal">;
|
|
490
|
+
url: z.ZodString;
|
|
491
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
492
|
+
action: z.ZodLiteral<"redirect_external">;
|
|
493
|
+
url: z.ZodString;
|
|
494
|
+
}, z.core.$strip>], "action">>;
|
|
495
|
+
link: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
496
|
+
action: z.ZodLiteral<"dismiss">;
|
|
497
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
498
|
+
action: z.ZodLiteral<"app_navigate">;
|
|
499
|
+
route: z.ZodString;
|
|
500
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
501
|
+
action: z.ZodLiteral<"redirect_internal">;
|
|
502
|
+
url: z.ZodString;
|
|
503
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
504
|
+
action: z.ZodLiteral<"redirect_external">;
|
|
505
|
+
url: z.ZodString;
|
|
506
|
+
}, z.core.$strip>], "action">>;
|
|
483
507
|
}, z.core.$strip>>;
|
|
484
508
|
}, z.core.$strip>>;
|
|
485
509
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -636,6 +660,30 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
|
|
|
636
660
|
}, z.core.$strip>], "action">>;
|
|
637
661
|
secondary: z.ZodOptional<z.ZodObject<{
|
|
638
662
|
label: z.ZodString;
|
|
663
|
+
inApp: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
664
|
+
action: z.ZodLiteral<"dismiss">;
|
|
665
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
666
|
+
action: z.ZodLiteral<"app_navigate">;
|
|
667
|
+
route: z.ZodString;
|
|
668
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
669
|
+
action: z.ZodLiteral<"redirect_internal">;
|
|
670
|
+
url: z.ZodString;
|
|
671
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
672
|
+
action: z.ZodLiteral<"redirect_external">;
|
|
673
|
+
url: z.ZodString;
|
|
674
|
+
}, z.core.$strip>], "action">>;
|
|
675
|
+
link: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
676
|
+
action: z.ZodLiteral<"dismiss">;
|
|
677
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
678
|
+
action: z.ZodLiteral<"app_navigate">;
|
|
679
|
+
route: z.ZodString;
|
|
680
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
681
|
+
action: z.ZodLiteral<"redirect_internal">;
|
|
682
|
+
url: z.ZodString;
|
|
683
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
684
|
+
action: z.ZodLiteral<"redirect_external">;
|
|
685
|
+
url: z.ZodString;
|
|
686
|
+
}, z.core.$strip>], "action">>;
|
|
639
687
|
}, z.core.$strip>>;
|
|
640
688
|
}, z.core.$strip>>;
|
|
641
689
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -3039,6 +3087,30 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
3039
3087
|
}, z.core.$strip>], "action">>;
|
|
3040
3088
|
secondary: z.ZodOptional<z.ZodObject<{
|
|
3041
3089
|
label: z.ZodString;
|
|
3090
|
+
inApp: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3091
|
+
action: z.ZodLiteral<"dismiss">;
|
|
3092
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3093
|
+
action: z.ZodLiteral<"app_navigate">;
|
|
3094
|
+
route: z.ZodString;
|
|
3095
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3096
|
+
action: z.ZodLiteral<"redirect_internal">;
|
|
3097
|
+
url: z.ZodString;
|
|
3098
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3099
|
+
action: z.ZodLiteral<"redirect_external">;
|
|
3100
|
+
url: z.ZodString;
|
|
3101
|
+
}, z.core.$strip>], "action">>;
|
|
3102
|
+
link: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3103
|
+
action: z.ZodLiteral<"dismiss">;
|
|
3104
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3105
|
+
action: z.ZodLiteral<"app_navigate">;
|
|
3106
|
+
route: z.ZodString;
|
|
3107
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3108
|
+
action: z.ZodLiteral<"redirect_internal">;
|
|
3109
|
+
url: z.ZodString;
|
|
3110
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3111
|
+
action: z.ZodLiteral<"redirect_external">;
|
|
3112
|
+
url: z.ZodString;
|
|
3113
|
+
}, z.core.$strip>], "action">>;
|
|
3042
3114
|
}, z.core.$strip>>;
|
|
3043
3115
|
}, z.core.$strip>>;
|
|
3044
3116
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -3195,6 +3267,30 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
3195
3267
|
}, z.core.$strip>], "action">>;
|
|
3196
3268
|
secondary: z.ZodOptional<z.ZodObject<{
|
|
3197
3269
|
label: z.ZodString;
|
|
3270
|
+
inApp: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3271
|
+
action: z.ZodLiteral<"dismiss">;
|
|
3272
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3273
|
+
action: z.ZodLiteral<"app_navigate">;
|
|
3274
|
+
route: z.ZodString;
|
|
3275
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3276
|
+
action: z.ZodLiteral<"redirect_internal">;
|
|
3277
|
+
url: z.ZodString;
|
|
3278
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3279
|
+
action: z.ZodLiteral<"redirect_external">;
|
|
3280
|
+
url: z.ZodString;
|
|
3281
|
+
}, z.core.$strip>], "action">>;
|
|
3282
|
+
link: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3283
|
+
action: z.ZodLiteral<"dismiss">;
|
|
3284
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3285
|
+
action: z.ZodLiteral<"app_navigate">;
|
|
3286
|
+
route: z.ZodString;
|
|
3287
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3288
|
+
action: z.ZodLiteral<"redirect_internal">;
|
|
3289
|
+
url: z.ZodString;
|
|
3290
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3291
|
+
action: z.ZodLiteral<"redirect_external">;
|
|
3292
|
+
url: z.ZodString;
|
|
3293
|
+
}, z.core.$strip>], "action">>;
|
|
3198
3294
|
}, z.core.$strip>>;
|
|
3199
3295
|
}, z.core.$strip>>;
|
|
3200
3296
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -323,6 +323,30 @@ export declare const appPropsSchema: z.ZodObject<{
|
|
|
323
323
|
}, z.core.$strip>], "action">>;
|
|
324
324
|
secondary: z.ZodOptional<z.ZodObject<{
|
|
325
325
|
label: z.ZodString;
|
|
326
|
+
inApp: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
327
|
+
action: z.ZodLiteral<"dismiss">;
|
|
328
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
329
|
+
action: z.ZodLiteral<"app_navigate">;
|
|
330
|
+
route: z.ZodString;
|
|
331
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
332
|
+
action: z.ZodLiteral<"redirect_internal">;
|
|
333
|
+
url: z.ZodString;
|
|
334
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
335
|
+
action: z.ZodLiteral<"redirect_external">;
|
|
336
|
+
url: z.ZodString;
|
|
337
|
+
}, z.core.$strip>], "action">>;
|
|
338
|
+
link: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
339
|
+
action: z.ZodLiteral<"dismiss">;
|
|
340
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
341
|
+
action: z.ZodLiteral<"app_navigate">;
|
|
342
|
+
route: z.ZodString;
|
|
343
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
344
|
+
action: z.ZodLiteral<"redirect_internal">;
|
|
345
|
+
url: z.ZodString;
|
|
346
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
347
|
+
action: z.ZodLiteral<"redirect_external">;
|
|
348
|
+
url: z.ZodString;
|
|
349
|
+
}, z.core.$strip>], "action">>;
|
|
326
350
|
}, z.core.$strip>>;
|
|
327
351
|
}, z.core.$strip>>;
|
|
328
352
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -479,6 +503,30 @@ export declare const appPropsSchema: z.ZodObject<{
|
|
|
479
503
|
}, z.core.$strip>], "action">>;
|
|
480
504
|
secondary: z.ZodOptional<z.ZodObject<{
|
|
481
505
|
label: z.ZodString;
|
|
506
|
+
inApp: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
507
|
+
action: z.ZodLiteral<"dismiss">;
|
|
508
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
509
|
+
action: z.ZodLiteral<"app_navigate">;
|
|
510
|
+
route: z.ZodString;
|
|
511
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
512
|
+
action: z.ZodLiteral<"redirect_internal">;
|
|
513
|
+
url: z.ZodString;
|
|
514
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
515
|
+
action: z.ZodLiteral<"redirect_external">;
|
|
516
|
+
url: z.ZodString;
|
|
517
|
+
}, z.core.$strip>], "action">>;
|
|
518
|
+
link: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
519
|
+
action: z.ZodLiteral<"dismiss">;
|
|
520
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
521
|
+
action: z.ZodLiteral<"app_navigate">;
|
|
522
|
+
route: z.ZodString;
|
|
523
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
524
|
+
action: z.ZodLiteral<"redirect_internal">;
|
|
525
|
+
url: z.ZodString;
|
|
526
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
527
|
+
action: z.ZodLiteral<"redirect_external">;
|
|
528
|
+
url: z.ZodString;
|
|
529
|
+
}, z.core.$strip>], "action">>;
|
|
482
530
|
}, z.core.$strip>>;
|
|
483
531
|
}, z.core.$strip>>;
|
|
484
532
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -13,6 +13,30 @@ export declare const platformCompletionCtaSchema: z.ZodDiscriminatedUnion<[z.Zod
|
|
|
13
13
|
}, z.core.$strip>], "action">;
|
|
14
14
|
export declare const completionCtaSecondarySchema: z.ZodObject<{
|
|
15
15
|
label: z.ZodString;
|
|
16
|
+
inApp: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
17
|
+
action: z.ZodLiteral<"dismiss">;
|
|
18
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
19
|
+
action: z.ZodLiteral<"app_navigate">;
|
|
20
|
+
route: z.ZodString;
|
|
21
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
22
|
+
action: z.ZodLiteral<"redirect_internal">;
|
|
23
|
+
url: z.ZodString;
|
|
24
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
25
|
+
action: z.ZodLiteral<"redirect_external">;
|
|
26
|
+
url: z.ZodString;
|
|
27
|
+
}, z.core.$strip>], "action">>;
|
|
28
|
+
link: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
29
|
+
action: z.ZodLiteral<"dismiss">;
|
|
30
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
31
|
+
action: z.ZodLiteral<"app_navigate">;
|
|
32
|
+
route: z.ZodString;
|
|
33
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
34
|
+
action: z.ZodLiteral<"redirect_internal">;
|
|
35
|
+
url: z.ZodString;
|
|
36
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
37
|
+
action: z.ZodLiteral<"redirect_external">;
|
|
38
|
+
url: z.ZodString;
|
|
39
|
+
}, z.core.$strip>], "action">>;
|
|
16
40
|
}, z.core.$strip>;
|
|
17
41
|
export declare const completionCtaSchema: z.ZodObject<{
|
|
18
42
|
label: z.ZodOptional<z.ZodString>;
|
|
@@ -43,6 +67,30 @@ export declare const completionCtaSchema: z.ZodObject<{
|
|
|
43
67
|
}, z.core.$strip>], "action">>;
|
|
44
68
|
secondary: z.ZodOptional<z.ZodObject<{
|
|
45
69
|
label: z.ZodString;
|
|
70
|
+
inApp: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
71
|
+
action: z.ZodLiteral<"dismiss">;
|
|
72
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
73
|
+
action: z.ZodLiteral<"app_navigate">;
|
|
74
|
+
route: z.ZodString;
|
|
75
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
76
|
+
action: z.ZodLiteral<"redirect_internal">;
|
|
77
|
+
url: z.ZodString;
|
|
78
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
79
|
+
action: z.ZodLiteral<"redirect_external">;
|
|
80
|
+
url: z.ZodString;
|
|
81
|
+
}, z.core.$strip>], "action">>;
|
|
82
|
+
link: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
83
|
+
action: z.ZodLiteral<"dismiss">;
|
|
84
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
85
|
+
action: z.ZodLiteral<"app_navigate">;
|
|
86
|
+
route: z.ZodString;
|
|
87
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
88
|
+
action: z.ZodLiteral<"redirect_internal">;
|
|
89
|
+
url: z.ZodString;
|
|
90
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
91
|
+
action: z.ZodLiteral<"redirect_external">;
|
|
92
|
+
url: z.ZodString;
|
|
93
|
+
}, z.core.$strip>], "action">>;
|
|
46
94
|
}, z.core.$strip>>;
|
|
47
95
|
}, z.core.$strip>;
|
|
48
96
|
export type PlatformCompletionCta = z.infer<typeof platformCompletionCtaSchema>;
|
|
@@ -643,6 +643,30 @@ export declare const thankYouQuestionSchema: z.ZodObject<{
|
|
|
643
643
|
}, z.core.$strip>], "action">>;
|
|
644
644
|
secondary: z.ZodOptional<z.ZodObject<{
|
|
645
645
|
label: z.ZodString;
|
|
646
|
+
inApp: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
647
|
+
action: z.ZodLiteral<"dismiss">;
|
|
648
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
649
|
+
action: z.ZodLiteral<"app_navigate">;
|
|
650
|
+
route: z.ZodString;
|
|
651
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
652
|
+
action: z.ZodLiteral<"redirect_internal">;
|
|
653
|
+
url: z.ZodString;
|
|
654
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
655
|
+
action: z.ZodLiteral<"redirect_external">;
|
|
656
|
+
url: z.ZodString;
|
|
657
|
+
}, z.core.$strip>], "action">>;
|
|
658
|
+
link: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
659
|
+
action: z.ZodLiteral<"dismiss">;
|
|
660
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
661
|
+
action: z.ZodLiteral<"app_navigate">;
|
|
662
|
+
route: z.ZodString;
|
|
663
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
664
|
+
action: z.ZodLiteral<"redirect_internal">;
|
|
665
|
+
url: z.ZodString;
|
|
666
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
667
|
+
action: z.ZodLiteral<"redirect_external">;
|
|
668
|
+
url: z.ZodString;
|
|
669
|
+
}, z.core.$strip>], "action">>;
|
|
646
670
|
}, z.core.$strip>>;
|
|
647
671
|
}, z.core.$strip>>;
|
|
648
672
|
}, z.core.$strip>;
|
|
@@ -801,6 +825,30 @@ export declare const exitFormQuestionSchema: z.ZodObject<{
|
|
|
801
825
|
}, z.core.$strip>], "action">>;
|
|
802
826
|
secondary: z.ZodOptional<z.ZodObject<{
|
|
803
827
|
label: z.ZodString;
|
|
828
|
+
inApp: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
829
|
+
action: z.ZodLiteral<"dismiss">;
|
|
830
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
831
|
+
action: z.ZodLiteral<"app_navigate">;
|
|
832
|
+
route: z.ZodString;
|
|
833
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
834
|
+
action: z.ZodLiteral<"redirect_internal">;
|
|
835
|
+
url: z.ZodString;
|
|
836
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
837
|
+
action: z.ZodLiteral<"redirect_external">;
|
|
838
|
+
url: z.ZodString;
|
|
839
|
+
}, z.core.$strip>], "action">>;
|
|
840
|
+
link: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
841
|
+
action: z.ZodLiteral<"dismiss">;
|
|
842
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
843
|
+
action: z.ZodLiteral<"app_navigate">;
|
|
844
|
+
route: z.ZodString;
|
|
845
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
846
|
+
action: z.ZodLiteral<"redirect_internal">;
|
|
847
|
+
url: z.ZodString;
|
|
848
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
849
|
+
action: z.ZodLiteral<"redirect_external">;
|
|
850
|
+
url: z.ZodString;
|
|
851
|
+
}, z.core.$strip>], "action">>;
|
|
804
852
|
}, z.core.$strip>>;
|
|
805
853
|
}, z.core.$strip>>;
|
|
806
854
|
}, z.core.$strip>;
|
|
@@ -3430,6 +3478,30 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
3430
3478
|
}, z.core.$strip>], "action">>;
|
|
3431
3479
|
secondary: z.ZodOptional<z.ZodObject<{
|
|
3432
3480
|
label: z.ZodString;
|
|
3481
|
+
inApp: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3482
|
+
action: z.ZodLiteral<"dismiss">;
|
|
3483
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3484
|
+
action: z.ZodLiteral<"app_navigate">;
|
|
3485
|
+
route: z.ZodString;
|
|
3486
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3487
|
+
action: z.ZodLiteral<"redirect_internal">;
|
|
3488
|
+
url: z.ZodString;
|
|
3489
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3490
|
+
action: z.ZodLiteral<"redirect_external">;
|
|
3491
|
+
url: z.ZodString;
|
|
3492
|
+
}, z.core.$strip>], "action">>;
|
|
3493
|
+
link: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3494
|
+
action: z.ZodLiteral<"dismiss">;
|
|
3495
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3496
|
+
action: z.ZodLiteral<"app_navigate">;
|
|
3497
|
+
route: z.ZodString;
|
|
3498
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3499
|
+
action: z.ZodLiteral<"redirect_internal">;
|
|
3500
|
+
url: z.ZodString;
|
|
3501
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3502
|
+
action: z.ZodLiteral<"redirect_external">;
|
|
3503
|
+
url: z.ZodString;
|
|
3504
|
+
}, z.core.$strip>], "action">>;
|
|
3433
3505
|
}, z.core.$strip>>;
|
|
3434
3506
|
}, z.core.$strip>>;
|
|
3435
3507
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -3586,6 +3658,30 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
3586
3658
|
}, z.core.$strip>], "action">>;
|
|
3587
3659
|
secondary: z.ZodOptional<z.ZodObject<{
|
|
3588
3660
|
label: z.ZodString;
|
|
3661
|
+
inApp: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3662
|
+
action: z.ZodLiteral<"dismiss">;
|
|
3663
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3664
|
+
action: z.ZodLiteral<"app_navigate">;
|
|
3665
|
+
route: z.ZodString;
|
|
3666
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3667
|
+
action: z.ZodLiteral<"redirect_internal">;
|
|
3668
|
+
url: z.ZodString;
|
|
3669
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3670
|
+
action: z.ZodLiteral<"redirect_external">;
|
|
3671
|
+
url: z.ZodString;
|
|
3672
|
+
}, z.core.$strip>], "action">>;
|
|
3673
|
+
link: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3674
|
+
action: z.ZodLiteral<"dismiss">;
|
|
3675
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3676
|
+
action: z.ZodLiteral<"app_navigate">;
|
|
3677
|
+
route: z.ZodString;
|
|
3678
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3679
|
+
action: z.ZodLiteral<"redirect_internal">;
|
|
3680
|
+
url: z.ZodString;
|
|
3681
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3682
|
+
action: z.ZodLiteral<"redirect_external">;
|
|
3683
|
+
url: z.ZodString;
|
|
3684
|
+
}, z.core.$strip>], "action">>;
|
|
3589
3685
|
}, z.core.$strip>>;
|
|
3590
3686
|
}, z.core.$strip>>;
|
|
3591
3687
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -1614,6 +1614,30 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
1614
1614
|
}, z.core.$strip>], "action">>;
|
|
1615
1615
|
secondary: z.ZodOptional<z.ZodObject<{
|
|
1616
1616
|
label: z.ZodString;
|
|
1617
|
+
inApp: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1618
|
+
action: z.ZodLiteral<"dismiss">;
|
|
1619
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1620
|
+
action: z.ZodLiteral<"app_navigate">;
|
|
1621
|
+
route: z.ZodString;
|
|
1622
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1623
|
+
action: z.ZodLiteral<"redirect_internal">;
|
|
1624
|
+
url: z.ZodString;
|
|
1625
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1626
|
+
action: z.ZodLiteral<"redirect_external">;
|
|
1627
|
+
url: z.ZodString;
|
|
1628
|
+
}, z.core.$strip>], "action">>;
|
|
1629
|
+
link: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1630
|
+
action: z.ZodLiteral<"dismiss">;
|
|
1631
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1632
|
+
action: z.ZodLiteral<"app_navigate">;
|
|
1633
|
+
route: z.ZodString;
|
|
1634
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1635
|
+
action: z.ZodLiteral<"redirect_internal">;
|
|
1636
|
+
url: z.ZodString;
|
|
1637
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1638
|
+
action: z.ZodLiteral<"redirect_external">;
|
|
1639
|
+
url: z.ZodString;
|
|
1640
|
+
}, z.core.$strip>], "action">>;
|
|
1617
1641
|
}, z.core.$strip>>;
|
|
1618
1642
|
}, z.core.$strip>>;
|
|
1619
1643
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -1770,6 +1794,30 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
1770
1794
|
}, z.core.$strip>], "action">>;
|
|
1771
1795
|
secondary: z.ZodOptional<z.ZodObject<{
|
|
1772
1796
|
label: z.ZodString;
|
|
1797
|
+
inApp: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1798
|
+
action: z.ZodLiteral<"dismiss">;
|
|
1799
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1800
|
+
action: z.ZodLiteral<"app_navigate">;
|
|
1801
|
+
route: z.ZodString;
|
|
1802
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1803
|
+
action: z.ZodLiteral<"redirect_internal">;
|
|
1804
|
+
url: z.ZodString;
|
|
1805
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1806
|
+
action: z.ZodLiteral<"redirect_external">;
|
|
1807
|
+
url: z.ZodString;
|
|
1808
|
+
}, z.core.$strip>], "action">>;
|
|
1809
|
+
link: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1810
|
+
action: z.ZodLiteral<"dismiss">;
|
|
1811
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1812
|
+
action: z.ZodLiteral<"app_navigate">;
|
|
1813
|
+
route: z.ZodString;
|
|
1814
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1815
|
+
action: z.ZodLiteral<"redirect_internal">;
|
|
1816
|
+
url: z.ZodString;
|
|
1817
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1818
|
+
action: z.ZodLiteral<"redirect_external">;
|
|
1819
|
+
url: z.ZodString;
|
|
1820
|
+
}, z.core.$strip>], "action">>;
|
|
1773
1821
|
}, z.core.$strip>>;
|
|
1774
1822
|
}, z.core.$strip>>;
|
|
1775
1823
|
}, z.core.$strip>, z.ZodObject<{
|
package/package.json
CHANGED