@socotra/ec-react-utils 2.13.0-demo.9 → 2.13.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +7 -5
- package/dist/index.es.js +3719 -3708
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +2 -2
- package/dist/index.umd.js.map +1 -1
- package/package.json +3 -3
package/dist/index.d.ts
CHANGED
|
@@ -31,7 +31,7 @@ import { z } from 'zod';
|
|
|
31
31
|
*/
|
|
32
32
|
declare type AccountRequestAdvancedFields = z.infer<typeof advancedFieldSchema_2>;
|
|
33
33
|
|
|
34
|
-
declare const advancedFieldSchema: z.ZodRecord<z.ZodEnum<["currency", "timezone", "billingLevel", "billingTrigger", "durationBasis", "delinquencyPlanName", "autoRenewalPlanName"
|
|
34
|
+
declare const advancedFieldSchema: z.ZodRecord<z.ZodEnum<["currency", "timezone", "billingLevel", "billingTrigger", "durationBasis", "delinquencyPlanName", "autoRenewalPlanName"]>, z.ZodOptional<z.ZodString>>;
|
|
35
35
|
|
|
36
36
|
declare const advancedFieldSchema_2: z.ZodObject<{
|
|
37
37
|
autoRenewalPlanName: z.ZodOptional<z.ZodString>;
|
|
@@ -40,20 +40,23 @@ declare const advancedFieldSchema_2: z.ZodObject<{
|
|
|
40
40
|
shortfallTolerancePlanName: z.ZodOptional<z.ZodString>;
|
|
41
41
|
billingLevel: z.ZodOptional<z.ZodEnum<["account", "policy"]>>;
|
|
42
42
|
invoiceDocument: z.ZodOptional<z.ZodString>;
|
|
43
|
+
installmentPlanName: z.ZodOptional<z.ZodString>;
|
|
43
44
|
}, "strip", z.ZodTypeAny, {
|
|
44
45
|
billingLevel?: "account" | "policy" | undefined;
|
|
45
46
|
delinquencyPlanName?: string | undefined;
|
|
46
47
|
autoRenewalPlanName?: string | undefined;
|
|
47
|
-
excessCreditPlanName?: string | undefined;
|
|
48
48
|
shortfallTolerancePlanName?: string | undefined;
|
|
49
|
+
excessCreditPlanName?: string | undefined;
|
|
49
50
|
invoiceDocument?: string | undefined;
|
|
51
|
+
installmentPlanName?: string | undefined;
|
|
50
52
|
}, {
|
|
51
53
|
billingLevel?: "account" | "policy" | undefined;
|
|
52
54
|
delinquencyPlanName?: string | undefined;
|
|
53
55
|
autoRenewalPlanName?: string | undefined;
|
|
54
|
-
excessCreditPlanName?: string | undefined;
|
|
55
56
|
shortfallTolerancePlanName?: string | undefined;
|
|
57
|
+
excessCreditPlanName?: string | undefined;
|
|
56
58
|
invoiceDocument?: string | undefined;
|
|
59
|
+
installmentPlanName?: string | undefined;
|
|
57
60
|
}>;
|
|
58
61
|
|
|
59
62
|
declare type AnyObject = {
|
|
@@ -94,7 +97,6 @@ declare interface DataModelToJsonSchemaProps {
|
|
|
94
97
|
customDataTypeKey?: string;
|
|
95
98
|
truthyLabel?: string;
|
|
96
99
|
falsyLabel?: string;
|
|
97
|
-
hiddenExceptions?: string[];
|
|
98
100
|
}
|
|
99
101
|
|
|
100
102
|
declare interface ElementFormData {
|
|
@@ -312,6 +314,7 @@ export declare const getDefaultAccountFormValues: ({ defaultValues, accountType,
|
|
|
312
314
|
shortfallTolerancePlanName: string | undefined;
|
|
313
315
|
billingLevel: "account" | "policy" | undefined;
|
|
314
316
|
invoiceDocument: string | undefined;
|
|
317
|
+
installmentPlanName: string | undefined;
|
|
315
318
|
};
|
|
316
319
|
saveAsDraft: boolean;
|
|
317
320
|
};
|
|
@@ -387,7 +390,6 @@ export declare const getDefaultQuoteValues: (quote: QuoteResponse, productModel:
|
|
|
387
390
|
durationBasis: string | undefined;
|
|
388
391
|
delinquencyPlanName: string | undefined;
|
|
389
392
|
autoRenewalPlanName: string | undefined;
|
|
390
|
-
installmentPlanName: any;
|
|
391
393
|
};
|
|
392
394
|
coverageTerms: Record<string, string>;
|
|
393
395
|
};
|