@encatch/schema 1.2.0-beta.11 → 1.2.0-beta.12
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 +16 -10
- package/dist/esm/index.js.map +2 -2
- package/dist/types/schemas/api/fetch-feedback-schema.d.ts +16 -12
- package/dist/types/schemas/fields/app-props-schema.d.ts +8 -6
- package/dist/types/schemas/fields/field-schema.d.ts +24 -18
- package/dist/types/schemas/fields/form-properties-schema.d.ts +8 -6
- package/package.json +1 -1
|
@@ -2621,12 +2621,14 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
|
|
|
2621
2621
|
maxAmount: z.ZodNumber;
|
|
2622
2622
|
defaultAmount: z.ZodOptional<z.ZodNumber>;
|
|
2623
2623
|
}, z.core.$strip>, z.ZodObject<{
|
|
2624
|
-
mode: z.ZodLiteral<"
|
|
2625
|
-
|
|
2626
|
-
|
|
2627
|
-
|
|
2628
|
-
|
|
2629
|
-
|
|
2624
|
+
mode: z.ZodLiteral<"question_mappings">;
|
|
2625
|
+
sources: z.ZodArray<z.ZodObject<{
|
|
2626
|
+
sourceQuestionId: z.ZodString;
|
|
2627
|
+
mappings: z.ZodArray<z.ZodObject<{
|
|
2628
|
+
answerValue: z.ZodString;
|
|
2629
|
+
amount: z.ZodNumber;
|
|
2630
|
+
label: z.ZodOptional<z.ZodString>;
|
|
2631
|
+
}, z.core.$strip>>;
|
|
2630
2632
|
}, z.core.$strip>>;
|
|
2631
2633
|
fallbackAmount: z.ZodOptional<z.ZodNumber>;
|
|
2632
2634
|
}, z.core.$strip>], "mode">;
|
|
@@ -5115,12 +5117,14 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
5115
5117
|
maxAmount: z.ZodNumber;
|
|
5116
5118
|
defaultAmount: z.ZodOptional<z.ZodNumber>;
|
|
5117
5119
|
}, z.core.$strip>, z.ZodObject<{
|
|
5118
|
-
mode: z.ZodLiteral<"
|
|
5119
|
-
|
|
5120
|
-
|
|
5121
|
-
|
|
5122
|
-
|
|
5123
|
-
|
|
5120
|
+
mode: z.ZodLiteral<"question_mappings">;
|
|
5121
|
+
sources: z.ZodArray<z.ZodObject<{
|
|
5122
|
+
sourceQuestionId: z.ZodString;
|
|
5123
|
+
mappings: z.ZodArray<z.ZodObject<{
|
|
5124
|
+
answerValue: z.ZodString;
|
|
5125
|
+
amount: z.ZodNumber;
|
|
5126
|
+
label: z.ZodOptional<z.ZodString>;
|
|
5127
|
+
}, z.core.$strip>>;
|
|
5124
5128
|
}, z.core.$strip>>;
|
|
5125
5129
|
fallbackAmount: z.ZodOptional<z.ZodNumber>;
|
|
5126
5130
|
}, z.core.$strip>], "mode">;
|
|
@@ -2464,12 +2464,14 @@ export declare const appPropsSchema: z.ZodObject<{
|
|
|
2464
2464
|
maxAmount: z.ZodNumber;
|
|
2465
2465
|
defaultAmount: z.ZodOptional<z.ZodNumber>;
|
|
2466
2466
|
}, z.core.$strip>, z.ZodObject<{
|
|
2467
|
-
mode: z.ZodLiteral<"
|
|
2468
|
-
|
|
2469
|
-
|
|
2470
|
-
|
|
2471
|
-
|
|
2472
|
-
|
|
2467
|
+
mode: z.ZodLiteral<"question_mappings">;
|
|
2468
|
+
sources: z.ZodArray<z.ZodObject<{
|
|
2469
|
+
sourceQuestionId: z.ZodString;
|
|
2470
|
+
mappings: z.ZodArray<z.ZodObject<{
|
|
2471
|
+
answerValue: z.ZodString;
|
|
2472
|
+
amount: z.ZodNumber;
|
|
2473
|
+
label: z.ZodOptional<z.ZodString>;
|
|
2474
|
+
}, z.core.$strip>>;
|
|
2473
2475
|
}, z.core.$strip>>;
|
|
2474
2476
|
fallbackAmount: z.ZodOptional<z.ZodNumber>;
|
|
2475
2477
|
}, z.core.$strip>], "mode">;
|
|
@@ -2965,12 +2965,14 @@ export declare const paymentsUpiAmountConfigSchema: z.ZodDiscriminatedUnion<[z.Z
|
|
|
2965
2965
|
maxAmount: z.ZodNumber;
|
|
2966
2966
|
defaultAmount: z.ZodOptional<z.ZodNumber>;
|
|
2967
2967
|
}, z.core.$strip>, z.ZodObject<{
|
|
2968
|
-
mode: z.ZodLiteral<"
|
|
2969
|
-
|
|
2970
|
-
|
|
2971
|
-
|
|
2972
|
-
|
|
2973
|
-
|
|
2968
|
+
mode: z.ZodLiteral<"question_mappings">;
|
|
2969
|
+
sources: z.ZodArray<z.ZodObject<{
|
|
2970
|
+
sourceQuestionId: z.ZodString;
|
|
2971
|
+
mappings: z.ZodArray<z.ZodObject<{
|
|
2972
|
+
answerValue: z.ZodString;
|
|
2973
|
+
amount: z.ZodNumber;
|
|
2974
|
+
label: z.ZodOptional<z.ZodString>;
|
|
2975
|
+
}, z.core.$strip>>;
|
|
2974
2976
|
}, z.core.$strip>>;
|
|
2975
2977
|
fallbackAmount: z.ZodOptional<z.ZodNumber>;
|
|
2976
2978
|
}, z.core.$strip>], "mode">;
|
|
@@ -3047,12 +3049,14 @@ export declare const paymentsUpiQuestionSchema: z.ZodObject<{
|
|
|
3047
3049
|
maxAmount: z.ZodNumber;
|
|
3048
3050
|
defaultAmount: z.ZodOptional<z.ZodNumber>;
|
|
3049
3051
|
}, z.core.$strip>, z.ZodObject<{
|
|
3050
|
-
mode: z.ZodLiteral<"
|
|
3051
|
-
|
|
3052
|
-
|
|
3053
|
-
|
|
3054
|
-
|
|
3055
|
-
|
|
3052
|
+
mode: z.ZodLiteral<"question_mappings">;
|
|
3053
|
+
sources: z.ZodArray<z.ZodObject<{
|
|
3054
|
+
sourceQuestionId: z.ZodString;
|
|
3055
|
+
mappings: z.ZodArray<z.ZodObject<{
|
|
3056
|
+
answerValue: z.ZodString;
|
|
3057
|
+
amount: z.ZodNumber;
|
|
3058
|
+
label: z.ZodOptional<z.ZodString>;
|
|
3059
|
+
}, z.core.$strip>>;
|
|
3056
3060
|
}, z.core.$strip>>;
|
|
3057
3061
|
fallbackAmount: z.ZodOptional<z.ZodNumber>;
|
|
3058
3062
|
}, z.core.$strip>], "mode">;
|
|
@@ -5504,12 +5508,14 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
5504
5508
|
maxAmount: z.ZodNumber;
|
|
5505
5509
|
defaultAmount: z.ZodOptional<z.ZodNumber>;
|
|
5506
5510
|
}, z.core.$strip>, z.ZodObject<{
|
|
5507
|
-
mode: z.ZodLiteral<"
|
|
5508
|
-
|
|
5509
|
-
|
|
5510
|
-
|
|
5511
|
-
|
|
5512
|
-
|
|
5511
|
+
mode: z.ZodLiteral<"question_mappings">;
|
|
5512
|
+
sources: z.ZodArray<z.ZodObject<{
|
|
5513
|
+
sourceQuestionId: z.ZodString;
|
|
5514
|
+
mappings: z.ZodArray<z.ZodObject<{
|
|
5515
|
+
answerValue: z.ZodString;
|
|
5516
|
+
amount: z.ZodNumber;
|
|
5517
|
+
label: z.ZodOptional<z.ZodString>;
|
|
5518
|
+
}, z.core.$strip>>;
|
|
5513
5519
|
}, z.core.$strip>>;
|
|
5514
5520
|
fallbackAmount: z.ZodOptional<z.ZodNumber>;
|
|
5515
5521
|
}, z.core.$strip>], "mode">;
|
|
@@ -3705,12 +3705,14 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
3705
3705
|
maxAmount: z.ZodNumber;
|
|
3706
3706
|
defaultAmount: z.ZodOptional<z.ZodNumber>;
|
|
3707
3707
|
}, z.core.$strip>, z.ZodObject<{
|
|
3708
|
-
mode: z.ZodLiteral<"
|
|
3709
|
-
|
|
3710
|
-
|
|
3711
|
-
|
|
3712
|
-
|
|
3713
|
-
|
|
3708
|
+
mode: z.ZodLiteral<"question_mappings">;
|
|
3709
|
+
sources: z.ZodArray<z.ZodObject<{
|
|
3710
|
+
sourceQuestionId: z.ZodString;
|
|
3711
|
+
mappings: z.ZodArray<z.ZodObject<{
|
|
3712
|
+
answerValue: z.ZodString;
|
|
3713
|
+
amount: z.ZodNumber;
|
|
3714
|
+
label: z.ZodOptional<z.ZodString>;
|
|
3715
|
+
}, z.core.$strip>>;
|
|
3714
3716
|
}, z.core.$strip>>;
|
|
3715
3717
|
fallbackAmount: z.ZodOptional<z.ZodNumber>;
|
|
3716
3718
|
}, z.core.$strip>], "mode">;
|
package/package.json
CHANGED