@encatch/schema 1.2.0-beta.12 → 1.2.0-beta.14
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 +30 -1
- package/dist/esm/index.js.map +3 -3
- package/dist/types/schemas/api/fetch-feedback-schema.d.ts +52 -0
- package/dist/types/schemas/api/submit-feedback-schema.d.ts +6 -0
- package/dist/types/schemas/fields/answer-schema.d.ts +3 -0
- package/dist/types/schemas/fields/app-props-schema.d.ts +51 -0
- package/dist/types/schemas/fields/field-schema.d.ts +2 -0
- package/dist/types/schemas/fields/form-properties-schema.d.ts +101 -0
- package/dist/types/schemas/fields/theme-schema.d.ts +188 -0
- package/package.json +1 -1
|
@@ -2632,6 +2632,7 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
|
|
|
2632
2632
|
}, z.core.$strip>>;
|
|
2633
2633
|
fallbackAmount: z.ZodOptional<z.ZodNumber>;
|
|
2634
2634
|
}, z.core.$strip>], "mode">;
|
|
2635
|
+
sourceEmailQuestionId: z.ZodOptional<z.ZodString>;
|
|
2635
2636
|
transactionNote: z.ZodOptional<z.ZodString>;
|
|
2636
2637
|
transactionReferencePrefix: z.ZodOptional<z.ZodString>;
|
|
2637
2638
|
qrLabel: z.ZodOptional<z.ZodString>;
|
|
@@ -5128,6 +5129,7 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
5128
5129
|
}, z.core.$strip>>;
|
|
5129
5130
|
fallbackAmount: z.ZodOptional<z.ZodNumber>;
|
|
5130
5131
|
}, z.core.$strip>], "mode">;
|
|
5132
|
+
sourceEmailQuestionId: z.ZodOptional<z.ZodString>;
|
|
5131
5133
|
transactionNote: z.ZodOptional<z.ZodString>;
|
|
5132
5134
|
transactionReferencePrefix: z.ZodOptional<z.ZodString>;
|
|
5133
5135
|
qrLabel: z.ZodOptional<z.ZodString>;
|
|
@@ -5249,6 +5251,56 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
5249
5251
|
}>>;
|
|
5250
5252
|
maxDialogHeightPercentInApp: z.ZodOptional<z.ZodNumber>;
|
|
5251
5253
|
faviconUrl: z.ZodOptional<z.ZodString>;
|
|
5254
|
+
logo: z.ZodOptional<z.ZodObject<{
|
|
5255
|
+
href: z.ZodObject<{
|
|
5256
|
+
light: z.ZodString;
|
|
5257
|
+
dark: z.ZodOptional<z.ZodString>;
|
|
5258
|
+
}, z.core.$strip>;
|
|
5259
|
+
placement: z.ZodDefault<z.ZodEnum<{
|
|
5260
|
+
"top-left": "top-left";
|
|
5261
|
+
"top-center": "top-center";
|
|
5262
|
+
"top-right": "top-right";
|
|
5263
|
+
}>>;
|
|
5264
|
+
size: z.ZodDefault<z.ZodEnum<{
|
|
5265
|
+
small: "small";
|
|
5266
|
+
medium: "medium";
|
|
5267
|
+
large: "large";
|
|
5268
|
+
}>>;
|
|
5269
|
+
linkUrl: z.ZodOptional<z.ZodString>;
|
|
5270
|
+
altText: z.ZodOptional<z.ZodString>;
|
|
5271
|
+
surfaces: z.ZodOptional<z.ZodObject<{
|
|
5272
|
+
link: z.ZodOptional<z.ZodObject<{
|
|
5273
|
+
mobile: z.ZodOptional<z.ZodObject<{
|
|
5274
|
+
size: z.ZodOptional<z.ZodEnum<{
|
|
5275
|
+
small: "small";
|
|
5276
|
+
medium: "medium";
|
|
5277
|
+
large: "large";
|
|
5278
|
+
}>>;
|
|
5279
|
+
placement: z.ZodOptional<z.ZodEnum<{
|
|
5280
|
+
"top-left": "top-left";
|
|
5281
|
+
"top-center": "top-center";
|
|
5282
|
+
"top-right": "top-right";
|
|
5283
|
+
}>>;
|
|
5284
|
+
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
5285
|
+
disableLink: z.ZodOptional<z.ZodBoolean>;
|
|
5286
|
+
}, z.core.$strip>>;
|
|
5287
|
+
others: z.ZodOptional<z.ZodObject<{
|
|
5288
|
+
size: z.ZodOptional<z.ZodEnum<{
|
|
5289
|
+
small: "small";
|
|
5290
|
+
medium: "medium";
|
|
5291
|
+
large: "large";
|
|
5292
|
+
}>>;
|
|
5293
|
+
placement: z.ZodOptional<z.ZodEnum<{
|
|
5294
|
+
"top-left": "top-left";
|
|
5295
|
+
"top-center": "top-center";
|
|
5296
|
+
"top-right": "top-right";
|
|
5297
|
+
}>>;
|
|
5298
|
+
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
5299
|
+
disableLink: z.ZodOptional<z.ZodBoolean>;
|
|
5300
|
+
}, z.core.$strip>>;
|
|
5301
|
+
}, z.core.$strip>>;
|
|
5302
|
+
}, z.core.$strip>>;
|
|
5303
|
+
}, z.core.$strip>>;
|
|
5252
5304
|
}, z.core.$strip>;
|
|
5253
5305
|
selectedPosition: z.ZodEnum<{
|
|
5254
5306
|
"top-left": "top-left";
|
|
@@ -103,6 +103,7 @@ export declare const questionResponseSchema: z.ZodObject<{
|
|
|
103
103
|
currency: z.ZodLiteral<"INR">;
|
|
104
104
|
payeeVpa: z.ZodString;
|
|
105
105
|
payeeName: z.ZodOptional<z.ZodString>;
|
|
106
|
+
sourceEmail: z.ZodOptional<z.ZodString>;
|
|
106
107
|
upiIntentUri: z.ZodOptional<z.ZodString>;
|
|
107
108
|
selfReported: z.ZodLiteral<true>;
|
|
108
109
|
}, z.core.$strip>>;
|
|
@@ -211,6 +212,7 @@ export declare const responseSchema: z.ZodObject<{
|
|
|
211
212
|
currency: z.ZodLiteral<"INR">;
|
|
212
213
|
payeeVpa: z.ZodString;
|
|
213
214
|
payeeName: z.ZodOptional<z.ZodString>;
|
|
215
|
+
sourceEmail: z.ZodOptional<z.ZodString>;
|
|
214
216
|
upiIntentUri: z.ZodOptional<z.ZodString>;
|
|
215
217
|
selfReported: z.ZodLiteral<true>;
|
|
216
218
|
}, z.core.$strip>>;
|
|
@@ -410,6 +412,7 @@ export declare const partialFeedbackSchema: z.ZodObject<{
|
|
|
410
412
|
currency: z.ZodLiteral<"INR">;
|
|
411
413
|
payeeVpa: z.ZodString;
|
|
412
414
|
payeeName: z.ZodOptional<z.ZodString>;
|
|
415
|
+
sourceEmail: z.ZodOptional<z.ZodString>;
|
|
413
416
|
upiIntentUri: z.ZodOptional<z.ZodString>;
|
|
414
417
|
selfReported: z.ZodLiteral<true>;
|
|
415
418
|
}, z.core.$strip>>;
|
|
@@ -562,6 +565,7 @@ export declare const submitFeedbackSchema: z.ZodObject<{
|
|
|
562
565
|
currency: z.ZodLiteral<"INR">;
|
|
563
566
|
payeeVpa: z.ZodString;
|
|
564
567
|
payeeName: z.ZodOptional<z.ZodString>;
|
|
568
|
+
sourceEmail: z.ZodOptional<z.ZodString>;
|
|
565
569
|
upiIntentUri: z.ZodOptional<z.ZodString>;
|
|
566
570
|
selfReported: z.ZodLiteral<true>;
|
|
567
571
|
}, z.core.$strip>>;
|
|
@@ -714,6 +718,7 @@ export declare const feedbackRequestSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
714
718
|
currency: z.ZodLiteral<"INR">;
|
|
715
719
|
payeeVpa: z.ZodString;
|
|
716
720
|
payeeName: z.ZodOptional<z.ZodString>;
|
|
721
|
+
sourceEmail: z.ZodOptional<z.ZodString>;
|
|
717
722
|
upiIntentUri: z.ZodOptional<z.ZodString>;
|
|
718
723
|
selfReported: z.ZodLiteral<true>;
|
|
719
724
|
}, z.core.$strip>>;
|
|
@@ -865,6 +870,7 @@ export declare const feedbackRequestSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
865
870
|
currency: z.ZodLiteral<"INR">;
|
|
866
871
|
payeeVpa: z.ZodString;
|
|
867
872
|
payeeName: z.ZodOptional<z.ZodString>;
|
|
873
|
+
sourceEmail: z.ZodOptional<z.ZodString>;
|
|
868
874
|
upiIntentUri: z.ZodOptional<z.ZodString>;
|
|
869
875
|
selfReported: z.ZodLiteral<true>;
|
|
870
876
|
}, z.core.$strip>>;
|
|
@@ -84,6 +84,7 @@ export declare const PaymentsUpiAnswerSchema: z.ZodObject<{
|
|
|
84
84
|
currency: z.ZodLiteral<"INR">;
|
|
85
85
|
payeeVpa: z.ZodString;
|
|
86
86
|
payeeName: z.ZodOptional<z.ZodString>;
|
|
87
|
+
sourceEmail: z.ZodOptional<z.ZodString>;
|
|
87
88
|
upiIntentUri: z.ZodOptional<z.ZodString>;
|
|
88
89
|
selfReported: z.ZodLiteral<true>;
|
|
89
90
|
}, z.core.$strip>;
|
|
@@ -182,6 +183,7 @@ export declare const AnswerItemSchema: z.ZodObject<{
|
|
|
182
183
|
currency: z.ZodLiteral<"INR">;
|
|
183
184
|
payeeVpa: z.ZodString;
|
|
184
185
|
payeeName: z.ZodOptional<z.ZodString>;
|
|
186
|
+
sourceEmail: z.ZodOptional<z.ZodString>;
|
|
185
187
|
upiIntentUri: z.ZodOptional<z.ZodString>;
|
|
186
188
|
selfReported: z.ZodLiteral<true>;
|
|
187
189
|
}, z.core.$strip>>;
|
|
@@ -281,6 +283,7 @@ export declare const AnswerSchema: z.ZodObject<{
|
|
|
281
283
|
currency: z.ZodLiteral<"INR">;
|
|
282
284
|
payeeVpa: z.ZodString;
|
|
283
285
|
payeeName: z.ZodOptional<z.ZodString>;
|
|
286
|
+
sourceEmail: z.ZodOptional<z.ZodString>;
|
|
284
287
|
upiIntentUri: z.ZodOptional<z.ZodString>;
|
|
285
288
|
selfReported: z.ZodLiteral<true>;
|
|
286
289
|
}, z.core.$strip>>;
|
|
@@ -2475,6 +2475,7 @@ export declare const appPropsSchema: z.ZodObject<{
|
|
|
2475
2475
|
}, z.core.$strip>>;
|
|
2476
2476
|
fallbackAmount: z.ZodOptional<z.ZodNumber>;
|
|
2477
2477
|
}, z.core.$strip>], "mode">;
|
|
2478
|
+
sourceEmailQuestionId: z.ZodOptional<z.ZodString>;
|
|
2478
2479
|
transactionNote: z.ZodOptional<z.ZodString>;
|
|
2479
2480
|
transactionReferencePrefix: z.ZodOptional<z.ZodString>;
|
|
2480
2481
|
qrLabel: z.ZodOptional<z.ZodString>;
|
|
@@ -2772,6 +2773,56 @@ export declare const appPropsSchema: z.ZodObject<{
|
|
|
2772
2773
|
}>>;
|
|
2773
2774
|
maxDialogHeightPercentInApp: z.ZodOptional<z.ZodNumber>;
|
|
2774
2775
|
faviconUrl: z.ZodOptional<z.ZodString>;
|
|
2776
|
+
logo: z.ZodOptional<z.ZodObject<{
|
|
2777
|
+
href: z.ZodObject<{
|
|
2778
|
+
light: z.ZodString;
|
|
2779
|
+
dark: z.ZodOptional<z.ZodString>;
|
|
2780
|
+
}, z.core.$strip>;
|
|
2781
|
+
placement: z.ZodDefault<z.ZodEnum<{
|
|
2782
|
+
"top-left": "top-left";
|
|
2783
|
+
"top-center": "top-center";
|
|
2784
|
+
"top-right": "top-right";
|
|
2785
|
+
}>>;
|
|
2786
|
+
size: z.ZodDefault<z.ZodEnum<{
|
|
2787
|
+
small: "small";
|
|
2788
|
+
medium: "medium";
|
|
2789
|
+
large: "large";
|
|
2790
|
+
}>>;
|
|
2791
|
+
linkUrl: z.ZodOptional<z.ZodString>;
|
|
2792
|
+
altText: z.ZodOptional<z.ZodString>;
|
|
2793
|
+
surfaces: z.ZodOptional<z.ZodObject<{
|
|
2794
|
+
link: z.ZodOptional<z.ZodObject<{
|
|
2795
|
+
mobile: z.ZodOptional<z.ZodObject<{
|
|
2796
|
+
size: z.ZodOptional<z.ZodEnum<{
|
|
2797
|
+
small: "small";
|
|
2798
|
+
medium: "medium";
|
|
2799
|
+
large: "large";
|
|
2800
|
+
}>>;
|
|
2801
|
+
placement: z.ZodOptional<z.ZodEnum<{
|
|
2802
|
+
"top-left": "top-left";
|
|
2803
|
+
"top-center": "top-center";
|
|
2804
|
+
"top-right": "top-right";
|
|
2805
|
+
}>>;
|
|
2806
|
+
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
2807
|
+
disableLink: z.ZodOptional<z.ZodBoolean>;
|
|
2808
|
+
}, z.core.$strip>>;
|
|
2809
|
+
others: z.ZodOptional<z.ZodObject<{
|
|
2810
|
+
size: z.ZodOptional<z.ZodEnum<{
|
|
2811
|
+
small: "small";
|
|
2812
|
+
medium: "medium";
|
|
2813
|
+
large: "large";
|
|
2814
|
+
}>>;
|
|
2815
|
+
placement: z.ZodOptional<z.ZodEnum<{
|
|
2816
|
+
"top-left": "top-left";
|
|
2817
|
+
"top-center": "top-center";
|
|
2818
|
+
"top-right": "top-right";
|
|
2819
|
+
}>>;
|
|
2820
|
+
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
2821
|
+
disableLink: z.ZodOptional<z.ZodBoolean>;
|
|
2822
|
+
}, z.core.$strip>>;
|
|
2823
|
+
}, z.core.$strip>>;
|
|
2824
|
+
}, z.core.$strip>>;
|
|
2825
|
+
}, z.core.$strip>>;
|
|
2775
2826
|
}, z.core.$strip>;
|
|
2776
2827
|
selectedPosition: z.ZodEnum<{
|
|
2777
2828
|
"top-left": "top-left";
|
|
@@ -3060,6 +3060,7 @@ export declare const paymentsUpiQuestionSchema: z.ZodObject<{
|
|
|
3060
3060
|
}, z.core.$strip>>;
|
|
3061
3061
|
fallbackAmount: z.ZodOptional<z.ZodNumber>;
|
|
3062
3062
|
}, z.core.$strip>], "mode">;
|
|
3063
|
+
sourceEmailQuestionId: z.ZodOptional<z.ZodString>;
|
|
3063
3064
|
transactionNote: z.ZodOptional<z.ZodString>;
|
|
3064
3065
|
transactionReferencePrefix: z.ZodOptional<z.ZodString>;
|
|
3065
3066
|
qrLabel: z.ZodOptional<z.ZodString>;
|
|
@@ -5519,6 +5520,7 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
5519
5520
|
}, z.core.$strip>>;
|
|
5520
5521
|
fallbackAmount: z.ZodOptional<z.ZodNumber>;
|
|
5521
5522
|
}, z.core.$strip>], "mode">;
|
|
5523
|
+
sourceEmailQuestionId: z.ZodOptional<z.ZodString>;
|
|
5522
5524
|
transactionNote: z.ZodOptional<z.ZodString>;
|
|
5523
5525
|
transactionReferencePrefix: z.ZodOptional<z.ZodString>;
|
|
5524
5526
|
qrLabel: z.ZodOptional<z.ZodString>;
|
|
@@ -85,6 +85,56 @@ export declare const appearancePropertiesSchema: z.ZodObject<{
|
|
|
85
85
|
}>>;
|
|
86
86
|
maxDialogHeightPercentInApp: z.ZodOptional<z.ZodNumber>;
|
|
87
87
|
faviconUrl: z.ZodOptional<z.ZodString>;
|
|
88
|
+
logo: z.ZodOptional<z.ZodObject<{
|
|
89
|
+
href: z.ZodObject<{
|
|
90
|
+
light: z.ZodString;
|
|
91
|
+
dark: z.ZodOptional<z.ZodString>;
|
|
92
|
+
}, z.core.$strip>;
|
|
93
|
+
placement: z.ZodDefault<z.ZodEnum<{
|
|
94
|
+
"top-left": "top-left";
|
|
95
|
+
"top-center": "top-center";
|
|
96
|
+
"top-right": "top-right";
|
|
97
|
+
}>>;
|
|
98
|
+
size: z.ZodDefault<z.ZodEnum<{
|
|
99
|
+
small: "small";
|
|
100
|
+
medium: "medium";
|
|
101
|
+
large: "large";
|
|
102
|
+
}>>;
|
|
103
|
+
linkUrl: z.ZodOptional<z.ZodString>;
|
|
104
|
+
altText: z.ZodOptional<z.ZodString>;
|
|
105
|
+
surfaces: z.ZodOptional<z.ZodObject<{
|
|
106
|
+
link: z.ZodOptional<z.ZodObject<{
|
|
107
|
+
mobile: z.ZodOptional<z.ZodObject<{
|
|
108
|
+
size: z.ZodOptional<z.ZodEnum<{
|
|
109
|
+
small: "small";
|
|
110
|
+
medium: "medium";
|
|
111
|
+
large: "large";
|
|
112
|
+
}>>;
|
|
113
|
+
placement: z.ZodOptional<z.ZodEnum<{
|
|
114
|
+
"top-left": "top-left";
|
|
115
|
+
"top-center": "top-center";
|
|
116
|
+
"top-right": "top-right";
|
|
117
|
+
}>>;
|
|
118
|
+
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
119
|
+
disableLink: z.ZodOptional<z.ZodBoolean>;
|
|
120
|
+
}, z.core.$strip>>;
|
|
121
|
+
others: z.ZodOptional<z.ZodObject<{
|
|
122
|
+
size: z.ZodOptional<z.ZodEnum<{
|
|
123
|
+
small: "small";
|
|
124
|
+
medium: "medium";
|
|
125
|
+
large: "large";
|
|
126
|
+
}>>;
|
|
127
|
+
placement: z.ZodOptional<z.ZodEnum<{
|
|
128
|
+
"top-left": "top-left";
|
|
129
|
+
"top-center": "top-center";
|
|
130
|
+
"top-right": "top-right";
|
|
131
|
+
}>>;
|
|
132
|
+
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
133
|
+
disableLink: z.ZodOptional<z.ZodBoolean>;
|
|
134
|
+
}, z.core.$strip>>;
|
|
135
|
+
}, z.core.$strip>>;
|
|
136
|
+
}, z.core.$strip>>;
|
|
137
|
+
}, z.core.$strip>>;
|
|
88
138
|
}, z.core.$strip>;
|
|
89
139
|
selectedPosition: z.ZodEnum<{
|
|
90
140
|
"top-left": "top-left";
|
|
@@ -3716,6 +3766,7 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
3716
3766
|
}, z.core.$strip>>;
|
|
3717
3767
|
fallbackAmount: z.ZodOptional<z.ZodNumber>;
|
|
3718
3768
|
}, z.core.$strip>], "mode">;
|
|
3769
|
+
sourceEmailQuestionId: z.ZodOptional<z.ZodString>;
|
|
3719
3770
|
transactionNote: z.ZodOptional<z.ZodString>;
|
|
3720
3771
|
transactionReferencePrefix: z.ZodOptional<z.ZodString>;
|
|
3721
3772
|
qrLabel: z.ZodOptional<z.ZodString>;
|
|
@@ -4084,6 +4135,56 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
4084
4135
|
}>>;
|
|
4085
4136
|
maxDialogHeightPercentInApp: z.ZodOptional<z.ZodNumber>;
|
|
4086
4137
|
faviconUrl: z.ZodOptional<z.ZodString>;
|
|
4138
|
+
logo: z.ZodOptional<z.ZodObject<{
|
|
4139
|
+
href: z.ZodObject<{
|
|
4140
|
+
light: z.ZodString;
|
|
4141
|
+
dark: z.ZodOptional<z.ZodString>;
|
|
4142
|
+
}, z.core.$strip>;
|
|
4143
|
+
placement: z.ZodDefault<z.ZodEnum<{
|
|
4144
|
+
"top-left": "top-left";
|
|
4145
|
+
"top-center": "top-center";
|
|
4146
|
+
"top-right": "top-right";
|
|
4147
|
+
}>>;
|
|
4148
|
+
size: z.ZodDefault<z.ZodEnum<{
|
|
4149
|
+
small: "small";
|
|
4150
|
+
medium: "medium";
|
|
4151
|
+
large: "large";
|
|
4152
|
+
}>>;
|
|
4153
|
+
linkUrl: z.ZodOptional<z.ZodString>;
|
|
4154
|
+
altText: z.ZodOptional<z.ZodString>;
|
|
4155
|
+
surfaces: z.ZodOptional<z.ZodObject<{
|
|
4156
|
+
link: z.ZodOptional<z.ZodObject<{
|
|
4157
|
+
mobile: z.ZodOptional<z.ZodObject<{
|
|
4158
|
+
size: z.ZodOptional<z.ZodEnum<{
|
|
4159
|
+
small: "small";
|
|
4160
|
+
medium: "medium";
|
|
4161
|
+
large: "large";
|
|
4162
|
+
}>>;
|
|
4163
|
+
placement: z.ZodOptional<z.ZodEnum<{
|
|
4164
|
+
"top-left": "top-left";
|
|
4165
|
+
"top-center": "top-center";
|
|
4166
|
+
"top-right": "top-right";
|
|
4167
|
+
}>>;
|
|
4168
|
+
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
4169
|
+
disableLink: z.ZodOptional<z.ZodBoolean>;
|
|
4170
|
+
}, z.core.$strip>>;
|
|
4171
|
+
others: z.ZodOptional<z.ZodObject<{
|
|
4172
|
+
size: z.ZodOptional<z.ZodEnum<{
|
|
4173
|
+
small: "small";
|
|
4174
|
+
medium: "medium";
|
|
4175
|
+
large: "large";
|
|
4176
|
+
}>>;
|
|
4177
|
+
placement: z.ZodOptional<z.ZodEnum<{
|
|
4178
|
+
"top-left": "top-left";
|
|
4179
|
+
"top-center": "top-center";
|
|
4180
|
+
"top-right": "top-right";
|
|
4181
|
+
}>>;
|
|
4182
|
+
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
4183
|
+
disableLink: z.ZodOptional<z.ZodBoolean>;
|
|
4184
|
+
}, z.core.$strip>>;
|
|
4185
|
+
}, z.core.$strip>>;
|
|
4186
|
+
}, z.core.$strip>>;
|
|
4187
|
+
}, z.core.$strip>>;
|
|
4087
4188
|
}, z.core.$strip>;
|
|
4088
4189
|
selectedPosition: z.ZodEnum<{
|
|
4089
4190
|
"top-left": "top-left";
|
|
@@ -49,6 +49,90 @@ export declare const PreviousButtonModes: {
|
|
|
49
49
|
readonly ALWAYS: "always";
|
|
50
50
|
readonly AUTO: "auto";
|
|
51
51
|
};
|
|
52
|
+
export declare const logoPlacementSchema: z.ZodEnum<{
|
|
53
|
+
"top-left": "top-left";
|
|
54
|
+
"top-center": "top-center";
|
|
55
|
+
"top-right": "top-right";
|
|
56
|
+
}>;
|
|
57
|
+
export declare const LogoPlacements: {
|
|
58
|
+
readonly TOP_LEFT: "top-left";
|
|
59
|
+
readonly TOP_CENTER: "top-center";
|
|
60
|
+
readonly TOP_RIGHT: "top-right";
|
|
61
|
+
};
|
|
62
|
+
export declare const logoSizeSchema: z.ZodEnum<{
|
|
63
|
+
small: "small";
|
|
64
|
+
medium: "medium";
|
|
65
|
+
large: "large";
|
|
66
|
+
}>;
|
|
67
|
+
export declare const LogoSizes: {
|
|
68
|
+
readonly SMALL: "small";
|
|
69
|
+
readonly MEDIUM: "medium";
|
|
70
|
+
readonly LARGE: "large";
|
|
71
|
+
};
|
|
72
|
+
export declare const logoSurfaceOverrideSchema: z.ZodObject<{
|
|
73
|
+
size: z.ZodOptional<z.ZodEnum<{
|
|
74
|
+
small: "small";
|
|
75
|
+
medium: "medium";
|
|
76
|
+
large: "large";
|
|
77
|
+
}>>;
|
|
78
|
+
placement: z.ZodOptional<z.ZodEnum<{
|
|
79
|
+
"top-left": "top-left";
|
|
80
|
+
"top-center": "top-center";
|
|
81
|
+
"top-right": "top-right";
|
|
82
|
+
}>>;
|
|
83
|
+
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
84
|
+
disableLink: z.ZodOptional<z.ZodBoolean>;
|
|
85
|
+
}, z.core.$strip>;
|
|
86
|
+
export declare const logoSchema: z.ZodObject<{
|
|
87
|
+
href: z.ZodObject<{
|
|
88
|
+
light: z.ZodString;
|
|
89
|
+
dark: z.ZodOptional<z.ZodString>;
|
|
90
|
+
}, z.core.$strip>;
|
|
91
|
+
placement: z.ZodDefault<z.ZodEnum<{
|
|
92
|
+
"top-left": "top-left";
|
|
93
|
+
"top-center": "top-center";
|
|
94
|
+
"top-right": "top-right";
|
|
95
|
+
}>>;
|
|
96
|
+
size: z.ZodDefault<z.ZodEnum<{
|
|
97
|
+
small: "small";
|
|
98
|
+
medium: "medium";
|
|
99
|
+
large: "large";
|
|
100
|
+
}>>;
|
|
101
|
+
linkUrl: z.ZodOptional<z.ZodString>;
|
|
102
|
+
altText: z.ZodOptional<z.ZodString>;
|
|
103
|
+
surfaces: z.ZodOptional<z.ZodObject<{
|
|
104
|
+
link: z.ZodOptional<z.ZodObject<{
|
|
105
|
+
mobile: z.ZodOptional<z.ZodObject<{
|
|
106
|
+
size: z.ZodOptional<z.ZodEnum<{
|
|
107
|
+
small: "small";
|
|
108
|
+
medium: "medium";
|
|
109
|
+
large: "large";
|
|
110
|
+
}>>;
|
|
111
|
+
placement: z.ZodOptional<z.ZodEnum<{
|
|
112
|
+
"top-left": "top-left";
|
|
113
|
+
"top-center": "top-center";
|
|
114
|
+
"top-right": "top-right";
|
|
115
|
+
}>>;
|
|
116
|
+
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
117
|
+
disableLink: z.ZodOptional<z.ZodBoolean>;
|
|
118
|
+
}, z.core.$strip>>;
|
|
119
|
+
others: z.ZodOptional<z.ZodObject<{
|
|
120
|
+
size: z.ZodOptional<z.ZodEnum<{
|
|
121
|
+
small: "small";
|
|
122
|
+
medium: "medium";
|
|
123
|
+
large: "large";
|
|
124
|
+
}>>;
|
|
125
|
+
placement: z.ZodOptional<z.ZodEnum<{
|
|
126
|
+
"top-left": "top-left";
|
|
127
|
+
"top-center": "top-center";
|
|
128
|
+
"top-right": "top-right";
|
|
129
|
+
}>>;
|
|
130
|
+
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
131
|
+
disableLink: z.ZodOptional<z.ZodBoolean>;
|
|
132
|
+
}, z.core.$strip>>;
|
|
133
|
+
}, z.core.$strip>>;
|
|
134
|
+
}, z.core.$strip>>;
|
|
135
|
+
}, z.core.$strip>;
|
|
52
136
|
export declare const featureSettingsSchema: z.ZodObject<{
|
|
53
137
|
darkOverlay: z.ZodDefault<z.ZodBoolean>;
|
|
54
138
|
closeButton: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -71,6 +155,56 @@ export declare const featureSettingsSchema: z.ZodObject<{
|
|
|
71
155
|
}>>;
|
|
72
156
|
maxDialogHeightPercentInApp: z.ZodOptional<z.ZodNumber>;
|
|
73
157
|
faviconUrl: z.ZodOptional<z.ZodString>;
|
|
158
|
+
logo: z.ZodOptional<z.ZodObject<{
|
|
159
|
+
href: z.ZodObject<{
|
|
160
|
+
light: z.ZodString;
|
|
161
|
+
dark: z.ZodOptional<z.ZodString>;
|
|
162
|
+
}, z.core.$strip>;
|
|
163
|
+
placement: z.ZodDefault<z.ZodEnum<{
|
|
164
|
+
"top-left": "top-left";
|
|
165
|
+
"top-center": "top-center";
|
|
166
|
+
"top-right": "top-right";
|
|
167
|
+
}>>;
|
|
168
|
+
size: z.ZodDefault<z.ZodEnum<{
|
|
169
|
+
small: "small";
|
|
170
|
+
medium: "medium";
|
|
171
|
+
large: "large";
|
|
172
|
+
}>>;
|
|
173
|
+
linkUrl: z.ZodOptional<z.ZodString>;
|
|
174
|
+
altText: z.ZodOptional<z.ZodString>;
|
|
175
|
+
surfaces: z.ZodOptional<z.ZodObject<{
|
|
176
|
+
link: z.ZodOptional<z.ZodObject<{
|
|
177
|
+
mobile: z.ZodOptional<z.ZodObject<{
|
|
178
|
+
size: z.ZodOptional<z.ZodEnum<{
|
|
179
|
+
small: "small";
|
|
180
|
+
medium: "medium";
|
|
181
|
+
large: "large";
|
|
182
|
+
}>>;
|
|
183
|
+
placement: z.ZodOptional<z.ZodEnum<{
|
|
184
|
+
"top-left": "top-left";
|
|
185
|
+
"top-center": "top-center";
|
|
186
|
+
"top-right": "top-right";
|
|
187
|
+
}>>;
|
|
188
|
+
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
189
|
+
disableLink: z.ZodOptional<z.ZodBoolean>;
|
|
190
|
+
}, z.core.$strip>>;
|
|
191
|
+
others: z.ZodOptional<z.ZodObject<{
|
|
192
|
+
size: z.ZodOptional<z.ZodEnum<{
|
|
193
|
+
small: "small";
|
|
194
|
+
medium: "medium";
|
|
195
|
+
large: "large";
|
|
196
|
+
}>>;
|
|
197
|
+
placement: z.ZodOptional<z.ZodEnum<{
|
|
198
|
+
"top-left": "top-left";
|
|
199
|
+
"top-center": "top-center";
|
|
200
|
+
"top-right": "top-right";
|
|
201
|
+
}>>;
|
|
202
|
+
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
203
|
+
disableLink: z.ZodOptional<z.ZodBoolean>;
|
|
204
|
+
}, z.core.$strip>>;
|
|
205
|
+
}, z.core.$strip>>;
|
|
206
|
+
}, z.core.$strip>>;
|
|
207
|
+
}, z.core.$strip>>;
|
|
74
208
|
}, z.core.$strip>;
|
|
75
209
|
export declare const themeColorsSchema: z.ZodObject<{
|
|
76
210
|
theme: z.ZodOptional<z.ZodString>;
|
|
@@ -114,6 +248,56 @@ export declare const themeConfigurationSchema: z.ZodObject<{
|
|
|
114
248
|
}>>;
|
|
115
249
|
maxDialogHeightPercentInApp: z.ZodOptional<z.ZodNumber>;
|
|
116
250
|
faviconUrl: z.ZodOptional<z.ZodString>;
|
|
251
|
+
logo: z.ZodOptional<z.ZodObject<{
|
|
252
|
+
href: z.ZodObject<{
|
|
253
|
+
light: z.ZodString;
|
|
254
|
+
dark: z.ZodOptional<z.ZodString>;
|
|
255
|
+
}, z.core.$strip>;
|
|
256
|
+
placement: z.ZodDefault<z.ZodEnum<{
|
|
257
|
+
"top-left": "top-left";
|
|
258
|
+
"top-center": "top-center";
|
|
259
|
+
"top-right": "top-right";
|
|
260
|
+
}>>;
|
|
261
|
+
size: z.ZodDefault<z.ZodEnum<{
|
|
262
|
+
small: "small";
|
|
263
|
+
medium: "medium";
|
|
264
|
+
large: "large";
|
|
265
|
+
}>>;
|
|
266
|
+
linkUrl: z.ZodOptional<z.ZodString>;
|
|
267
|
+
altText: z.ZodOptional<z.ZodString>;
|
|
268
|
+
surfaces: z.ZodOptional<z.ZodObject<{
|
|
269
|
+
link: z.ZodOptional<z.ZodObject<{
|
|
270
|
+
mobile: z.ZodOptional<z.ZodObject<{
|
|
271
|
+
size: z.ZodOptional<z.ZodEnum<{
|
|
272
|
+
small: "small";
|
|
273
|
+
medium: "medium";
|
|
274
|
+
large: "large";
|
|
275
|
+
}>>;
|
|
276
|
+
placement: z.ZodOptional<z.ZodEnum<{
|
|
277
|
+
"top-left": "top-left";
|
|
278
|
+
"top-center": "top-center";
|
|
279
|
+
"top-right": "top-right";
|
|
280
|
+
}>>;
|
|
281
|
+
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
282
|
+
disableLink: z.ZodOptional<z.ZodBoolean>;
|
|
283
|
+
}, z.core.$strip>>;
|
|
284
|
+
others: z.ZodOptional<z.ZodObject<{
|
|
285
|
+
size: z.ZodOptional<z.ZodEnum<{
|
|
286
|
+
small: "small";
|
|
287
|
+
medium: "medium";
|
|
288
|
+
large: "large";
|
|
289
|
+
}>>;
|
|
290
|
+
placement: z.ZodOptional<z.ZodEnum<{
|
|
291
|
+
"top-left": "top-left";
|
|
292
|
+
"top-center": "top-center";
|
|
293
|
+
"top-right": "top-right";
|
|
294
|
+
}>>;
|
|
295
|
+
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
296
|
+
disableLink: z.ZodOptional<z.ZodBoolean>;
|
|
297
|
+
}, z.core.$strip>>;
|
|
298
|
+
}, z.core.$strip>>;
|
|
299
|
+
}, z.core.$strip>>;
|
|
300
|
+
}, z.core.$strip>>;
|
|
117
301
|
}, z.core.$strip>;
|
|
118
302
|
selectedPosition: z.ZodEnum<{
|
|
119
303
|
"top-left": "top-left";
|
|
@@ -142,6 +326,10 @@ export type Position = z.infer<typeof positionSchema>;
|
|
|
142
326
|
export type ThemeMode = z.infer<typeof themeModeSchema>;
|
|
143
327
|
export type ShareableMode = z.infer<typeof shareableModeSchema>;
|
|
144
328
|
export type PreviousButtonMode = z.infer<typeof previousButtonModeSchema>;
|
|
329
|
+
export type LogoPlacement = z.infer<typeof logoPlacementSchema>;
|
|
330
|
+
export type LogoSize = z.infer<typeof logoSizeSchema>;
|
|
331
|
+
export type LogoSurfaceOverride = z.infer<typeof logoSurfaceOverrideSchema>;
|
|
332
|
+
export type Logo = z.infer<typeof logoSchema>;
|
|
145
333
|
export type FeatureSettings = z.infer<typeof featureSettingsSchema>;
|
|
146
334
|
export type ThemeColors = z.infer<typeof themeColorsSchema>;
|
|
147
335
|
export type Themes = z.infer<typeof themesSchema>;
|
package/package.json
CHANGED