@socotra/ec-react-schemas 2.12.0-next.2 → 2.12.0-next.4
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 +59 -14
- package/dist/index.es.js +861 -854
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/index.umd.js.map +1 -1
- package/package.json +3 -2
package/dist/index.d.ts
CHANGED
|
@@ -342,23 +342,20 @@ export declare const accountConfigSchema: z.ZodObject<{
|
|
|
342
342
|
defaultSearchable?: boolean | undefined;
|
|
343
343
|
}>;
|
|
344
344
|
|
|
345
|
-
export declare type
|
|
346
|
-
|
|
347
|
-
export declare const AccountIdSchema: z.ZodString;
|
|
348
|
-
|
|
349
|
-
export declare type AccountRequest = z.infer<typeof accountRequestSchema>;
|
|
345
|
+
export declare type AccountCreateRequest = z.infer<typeof accountCreateSchema>;
|
|
350
346
|
|
|
351
|
-
export declare const
|
|
347
|
+
export declare const accountCreateSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
352
348
|
type: z.ZodOptional<z.ZodString>;
|
|
353
349
|
autoValidate: z.ZodOptional<z.ZodBoolean>;
|
|
354
|
-
data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
355
350
|
autoRenewalPlanName: z.ZodOptional<z.ZodString>;
|
|
356
351
|
delinquencyPlanName: z.ZodOptional<z.ZodString>;
|
|
357
352
|
excessCreditPlanName: z.ZodOptional<z.ZodString>;
|
|
358
353
|
shortfallTolerancePlanName: z.ZodOptional<z.ZodString>;
|
|
359
354
|
billingLevel: z.ZodOptional<z.ZodEnum<["account", "policy"]>>;
|
|
360
355
|
invoiceDocument: z.ZodOptional<z.ZodString>;
|
|
361
|
-
},
|
|
356
|
+
}, {
|
|
357
|
+
data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
358
|
+
}>, "strip", z.ZodTypeAny, {
|
|
362
359
|
type?: string | undefined;
|
|
363
360
|
billingLevel?: "account" | "policy" | undefined;
|
|
364
361
|
data?: Record<string, any> | undefined;
|
|
@@ -380,6 +377,10 @@ export declare const accountRequestSchema: z.ZodObject<{
|
|
|
380
377
|
invoiceDocument?: string | undefined;
|
|
381
378
|
}>;
|
|
382
379
|
|
|
380
|
+
export declare type AccountId = z.infer<typeof AccountIdSchema>;
|
|
381
|
+
|
|
382
|
+
export declare const AccountIdSchema: z.ZodString;
|
|
383
|
+
|
|
383
384
|
export declare type AccountResponse = z.infer<typeof accountResponseSchema>;
|
|
384
385
|
|
|
385
386
|
export declare const accountResponseSchema: z.ZodObject<{
|
|
@@ -467,6 +468,44 @@ export declare type AccountStateEnum = z.infer<typeof accountStateEnumSchema>;
|
|
|
467
468
|
|
|
468
469
|
export declare const accountStateEnumSchema: z.ZodEnum<["draft", "validated", "discarded"]>;
|
|
469
470
|
|
|
471
|
+
export declare type AccountUpdateRequest = z.infer<typeof accountUpdateSchema>;
|
|
472
|
+
|
|
473
|
+
export declare const accountUpdateSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
474
|
+
type: z.ZodOptional<z.ZodString>;
|
|
475
|
+
autoValidate: z.ZodOptional<z.ZodBoolean>;
|
|
476
|
+
autoRenewalPlanName: z.ZodOptional<z.ZodString>;
|
|
477
|
+
delinquencyPlanName: z.ZodOptional<z.ZodString>;
|
|
478
|
+
excessCreditPlanName: z.ZodOptional<z.ZodString>;
|
|
479
|
+
shortfallTolerancePlanName: z.ZodOptional<z.ZodString>;
|
|
480
|
+
billingLevel: z.ZodOptional<z.ZodEnum<["account", "policy"]>>;
|
|
481
|
+
invoiceDocument: z.ZodOptional<z.ZodString>;
|
|
482
|
+
}, {
|
|
483
|
+
setData: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
484
|
+
removeData: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
485
|
+
}>, "strip", z.ZodTypeAny, {
|
|
486
|
+
type?: string | undefined;
|
|
487
|
+
billingLevel?: "account" | "policy" | undefined;
|
|
488
|
+
removeData?: Record<string, any> | undefined;
|
|
489
|
+
setData?: Record<string, any> | undefined;
|
|
490
|
+
delinquencyPlanName?: string | undefined;
|
|
491
|
+
autoRenewalPlanName?: string | undefined;
|
|
492
|
+
autoValidate?: boolean | undefined;
|
|
493
|
+
excessCreditPlanName?: string | undefined;
|
|
494
|
+
shortfallTolerancePlanName?: string | undefined;
|
|
495
|
+
invoiceDocument?: string | undefined;
|
|
496
|
+
}, {
|
|
497
|
+
type?: string | undefined;
|
|
498
|
+
billingLevel?: "account" | "policy" | undefined;
|
|
499
|
+
removeData?: Record<string, any> | undefined;
|
|
500
|
+
setData?: Record<string, any> | undefined;
|
|
501
|
+
delinquencyPlanName?: string | undefined;
|
|
502
|
+
autoRenewalPlanName?: string | undefined;
|
|
503
|
+
autoValidate?: boolean | undefined;
|
|
504
|
+
excessCreditPlanName?: string | undefined;
|
|
505
|
+
shortfallTolerancePlanName?: string | undefined;
|
|
506
|
+
invoiceDocument?: string | undefined;
|
|
507
|
+
}>;
|
|
508
|
+
|
|
470
509
|
export declare type AddChangeInstructionCreateRequest = z.infer<typeof addChangeInstructionCreateRequestSchema>;
|
|
471
510
|
|
|
472
511
|
export declare const addChangeInstructionCreateRequestSchema: z.ZodObject<{
|
|
@@ -19619,7 +19658,8 @@ export declare const quoteRequestSchema: z.ZodObject<{
|
|
|
19619
19658
|
endTime: z.ZodOptional<z.ZodString>;
|
|
19620
19659
|
currency: z.ZodOptional<z.ZodString>;
|
|
19621
19660
|
expirationTime: z.ZodOptional<z.ZodString>;
|
|
19622
|
-
setData: z.ZodOptional<z.ZodRecord<z.ZodString, z.
|
|
19661
|
+
setData: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
19662
|
+
removeData: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
19623
19663
|
elements: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
19624
19664
|
locator: z.ZodString;
|
|
19625
19665
|
removeCoverageTerms: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
@@ -19644,7 +19684,8 @@ export declare const quoteRequestSchema: z.ZodObject<{
|
|
|
19644
19684
|
defaultTermDuration: z.ZodOptional<z.ZodString>;
|
|
19645
19685
|
installmentPlan: z.ZodOptional<z.ZodString>;
|
|
19646
19686
|
durationBasis: z.ZodOptional<z.ZodString>;
|
|
19647
|
-
setCoverageTerms: z.ZodOptional<z.ZodRecord<z.ZodString, z.
|
|
19687
|
+
setCoverageTerms: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
19688
|
+
removeCoverageTerms: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
19648
19689
|
preferences: z.ZodOptional<z.ZodObject<{
|
|
19649
19690
|
billingPreferences: z.ZodOptional<z.ZodObject<{
|
|
19650
19691
|
billingPlanName: z.ZodOptional<z.ZodString>;
|
|
@@ -19744,8 +19785,10 @@ export declare const quoteRequestSchema: z.ZodObject<{
|
|
|
19744
19785
|
setCoverageTerms?: Record<string, unknown> | undefined;
|
|
19745
19786
|
setData?: Record<string, unknown> | undefined;
|
|
19746
19787
|
}[] | undefined;
|
|
19747
|
-
|
|
19748
|
-
|
|
19788
|
+
removeCoverageTerms?: Record<string, any> | undefined;
|
|
19789
|
+
removeData?: Record<string, any> | undefined;
|
|
19790
|
+
setCoverageTerms?: Record<string, any> | undefined;
|
|
19791
|
+
setData?: Record<string, any> | undefined;
|
|
19749
19792
|
productName?: string | undefined;
|
|
19750
19793
|
delinquencyPlanName?: string | undefined;
|
|
19751
19794
|
startTime?: string | undefined;
|
|
@@ -19785,8 +19828,10 @@ export declare const quoteRequestSchema: z.ZodObject<{
|
|
|
19785
19828
|
setCoverageTerms?: Record<string, unknown> | undefined;
|
|
19786
19829
|
setData?: Record<string, unknown> | undefined;
|
|
19787
19830
|
}[] | undefined;
|
|
19788
|
-
|
|
19789
|
-
|
|
19831
|
+
removeCoverageTerms?: Record<string, any> | undefined;
|
|
19832
|
+
removeData?: Record<string, any> | undefined;
|
|
19833
|
+
setCoverageTerms?: Record<string, any> | undefined;
|
|
19834
|
+
setData?: Record<string, any> | undefined;
|
|
19790
19835
|
productName?: string | undefined;
|
|
19791
19836
|
delinquencyPlanName?: string | undefined;
|
|
19792
19837
|
startTime?: string | undefined;
|