@socotra/ec-react-schemas 2.15.3-next.0 → 2.15.3-next.1
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 +312 -374
- package/dist/index.es.js +1087 -1083
- 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 +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -522,6 +522,244 @@ export declare const AccountIdSchema: z.ZodString;
|
|
|
522
522
|
|
|
523
523
|
export declare type AccountResponse = z.infer<typeof accountResponseSchema>;
|
|
524
524
|
|
|
525
|
+
export declare const AccountResponseSchema: z.ZodObject<{
|
|
526
|
+
locator: z.ZodString;
|
|
527
|
+
accountState: z.ZodEnum<["draft", "validated", "discarded"]>;
|
|
528
|
+
data: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
529
|
+
billingLevel: z.ZodEnum<["account", "inherit", "policy"]>;
|
|
530
|
+
type: z.ZodString;
|
|
531
|
+
delinquencyPlanName: z.ZodString;
|
|
532
|
+
shortfallTolerancePlanName: z.ZodString;
|
|
533
|
+
autoRenewalPlanName: z.ZodString;
|
|
534
|
+
excessCreditPlanName: z.ZodString;
|
|
535
|
+
preferences: z.ZodObject<{
|
|
536
|
+
installmentPreferences: z.ZodOptional<z.ZodObject<{
|
|
537
|
+
cadence: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"none">, z.ZodLiteral<"fullPay">, z.ZodLiteral<"weekly">, z.ZodLiteral<"everyOtherWeek">, z.ZodLiteral<"monthly">, z.ZodLiteral<"quarterly">, z.ZodLiteral<"semiannually">, z.ZodLiteral<"annually">, z.ZodLiteral<"thirtyDays">, z.ZodLiteral<"everyNDays">]>>;
|
|
538
|
+
anchorMode: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"generateDay">, z.ZodLiteral<"termStartDay">, z.ZodLiteral<"dueDay">]>>;
|
|
539
|
+
generateLeadDays: z.ZodOptional<z.ZodNumber>;
|
|
540
|
+
dueLeadDays: z.ZodOptional<z.ZodNumber>;
|
|
541
|
+
installmentWeights: z.ZodArray<z.ZodNumber, "many">;
|
|
542
|
+
maxInstallmentsPerTerm: z.ZodOptional<z.ZodNumber>;
|
|
543
|
+
installmentPlanName: z.ZodOptional<z.ZodString>;
|
|
544
|
+
anchorType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"none">, z.ZodLiteral<"dayOfMonth">, z.ZodLiteral<"anchorTime">, z.ZodLiteral<"dayOfWeek">, z.ZodLiteral<"weekOfMonth">]>>;
|
|
545
|
+
dayOfMonth: z.ZodOptional<z.ZodNumber>;
|
|
546
|
+
dayOfWeek: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"monday">, z.ZodLiteral<"tuesday">, z.ZodLiteral<"wednesday">, z.ZodLiteral<"thursday">, z.ZodLiteral<"friday">, z.ZodLiteral<"saturday">, z.ZodLiteral<"sunday">]>>;
|
|
547
|
+
weekOfMonth: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"none">, z.ZodLiteral<"first">, z.ZodLiteral<"second">, z.ZodLiteral<"third">, z.ZodLiteral<"fourth">, z.ZodLiteral<"fifth">]>>;
|
|
548
|
+
anchorTime: z.ZodOptional<z.ZodString>;
|
|
549
|
+
}, "strip", z.ZodTypeAny, {
|
|
550
|
+
installmentWeights: number[];
|
|
551
|
+
dayOfMonth?: number | undefined;
|
|
552
|
+
anchorTime?: string | undefined;
|
|
553
|
+
dayOfWeek?: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday" | undefined;
|
|
554
|
+
weekOfMonth?: "none" | "first" | "second" | "third" | "fourth" | "fifth" | undefined;
|
|
555
|
+
installmentPlanName?: string | undefined;
|
|
556
|
+
anchorMode?: "generateDay" | "termStartDay" | "dueDay" | undefined;
|
|
557
|
+
anchorType?: "none" | "dayOfMonth" | "anchorTime" | "dayOfWeek" | "weekOfMonth" | undefined;
|
|
558
|
+
cadence?: "none" | "fullPay" | "weekly" | "everyOtherWeek" | "monthly" | "quarterly" | "semiannually" | "annually" | "thirtyDays" | "everyNDays" | undefined;
|
|
559
|
+
dueLeadDays?: number | undefined;
|
|
560
|
+
generateLeadDays?: number | undefined;
|
|
561
|
+
maxInstallmentsPerTerm?: number | undefined;
|
|
562
|
+
}, {
|
|
563
|
+
installmentWeights: number[];
|
|
564
|
+
dayOfMonth?: number | undefined;
|
|
565
|
+
anchorTime?: string | undefined;
|
|
566
|
+
dayOfWeek?: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday" | undefined;
|
|
567
|
+
weekOfMonth?: "none" | "first" | "second" | "third" | "fourth" | "fifth" | undefined;
|
|
568
|
+
installmentPlanName?: string | undefined;
|
|
569
|
+
anchorMode?: "generateDay" | "termStartDay" | "dueDay" | undefined;
|
|
570
|
+
anchorType?: "none" | "dayOfMonth" | "anchorTime" | "dayOfWeek" | "weekOfMonth" | undefined;
|
|
571
|
+
cadence?: "none" | "fullPay" | "weekly" | "everyOtherWeek" | "monthly" | "quarterly" | "semiannually" | "annually" | "thirtyDays" | "everyNDays" | undefined;
|
|
572
|
+
dueLeadDays?: number | undefined;
|
|
573
|
+
generateLeadDays?: number | undefined;
|
|
574
|
+
maxInstallmentsPerTerm?: number | undefined;
|
|
575
|
+
}>>;
|
|
576
|
+
billingPreferences: z.ZodOptional<z.ZodObject<{
|
|
577
|
+
billingPlanName: z.ZodOptional<z.ZodString>;
|
|
578
|
+
billingLevel: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"account">, z.ZodLiteral<"inherit">, z.ZodLiteral<"policy">]>>;
|
|
579
|
+
}, "strip", z.ZodTypeAny, {
|
|
580
|
+
billingPlanName?: string | undefined;
|
|
581
|
+
billingLevel?: "account" | "inherit" | "policy" | undefined;
|
|
582
|
+
}, {
|
|
583
|
+
billingPlanName?: string | undefined;
|
|
584
|
+
billingLevel?: "account" | "inherit" | "policy" | undefined;
|
|
585
|
+
}>>;
|
|
586
|
+
}, "strip", z.ZodTypeAny, {
|
|
587
|
+
billingPreferences?: {
|
|
588
|
+
billingPlanName?: string | undefined;
|
|
589
|
+
billingLevel?: "account" | "inherit" | "policy" | undefined;
|
|
590
|
+
} | undefined;
|
|
591
|
+
installmentPreferences?: {
|
|
592
|
+
installmentWeights: number[];
|
|
593
|
+
dayOfMonth?: number | undefined;
|
|
594
|
+
anchorTime?: string | undefined;
|
|
595
|
+
dayOfWeek?: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday" | undefined;
|
|
596
|
+
weekOfMonth?: "none" | "first" | "second" | "third" | "fourth" | "fifth" | undefined;
|
|
597
|
+
installmentPlanName?: string | undefined;
|
|
598
|
+
anchorMode?: "generateDay" | "termStartDay" | "dueDay" | undefined;
|
|
599
|
+
anchorType?: "none" | "dayOfMonth" | "anchorTime" | "dayOfWeek" | "weekOfMonth" | undefined;
|
|
600
|
+
cadence?: "none" | "fullPay" | "weekly" | "everyOtherWeek" | "monthly" | "quarterly" | "semiannually" | "annually" | "thirtyDays" | "everyNDays" | undefined;
|
|
601
|
+
dueLeadDays?: number | undefined;
|
|
602
|
+
generateLeadDays?: number | undefined;
|
|
603
|
+
maxInstallmentsPerTerm?: number | undefined;
|
|
604
|
+
} | undefined;
|
|
605
|
+
}, {
|
|
606
|
+
billingPreferences?: {
|
|
607
|
+
billingPlanName?: string | undefined;
|
|
608
|
+
billingLevel?: "account" | "inherit" | "policy" | undefined;
|
|
609
|
+
} | undefined;
|
|
610
|
+
installmentPreferences?: {
|
|
611
|
+
installmentWeights: number[];
|
|
612
|
+
dayOfMonth?: number | undefined;
|
|
613
|
+
anchorTime?: string | undefined;
|
|
614
|
+
dayOfWeek?: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday" | undefined;
|
|
615
|
+
weekOfMonth?: "none" | "first" | "second" | "third" | "fourth" | "fifth" | undefined;
|
|
616
|
+
installmentPlanName?: string | undefined;
|
|
617
|
+
anchorMode?: "generateDay" | "termStartDay" | "dueDay" | undefined;
|
|
618
|
+
anchorType?: "none" | "dayOfMonth" | "anchorTime" | "dayOfWeek" | "weekOfMonth" | undefined;
|
|
619
|
+
cadence?: "none" | "fullPay" | "weekly" | "everyOtherWeek" | "monthly" | "quarterly" | "semiannually" | "annually" | "thirtyDays" | "everyNDays" | undefined;
|
|
620
|
+
dueLeadDays?: number | undefined;
|
|
621
|
+
generateLeadDays?: number | undefined;
|
|
622
|
+
maxInstallmentsPerTerm?: number | undefined;
|
|
623
|
+
} | undefined;
|
|
624
|
+
}>;
|
|
625
|
+
validationResult: z.ZodOptional<z.ZodObject<{
|
|
626
|
+
validationItems: z.ZodArray<z.ZodObject<{
|
|
627
|
+
elementType: z.ZodString;
|
|
628
|
+
locator: z.ZodOptional<z.ZodString>;
|
|
629
|
+
errors: z.ZodArray<z.ZodString, "many">;
|
|
630
|
+
}, "strip", z.ZodTypeAny, {
|
|
631
|
+
elementType: string;
|
|
632
|
+
errors: string[];
|
|
633
|
+
locator?: string | undefined;
|
|
634
|
+
}, {
|
|
635
|
+
elementType: string;
|
|
636
|
+
errors: string[];
|
|
637
|
+
locator?: string | undefined;
|
|
638
|
+
}>, "many">;
|
|
639
|
+
success: z.ZodBoolean;
|
|
640
|
+
}, "strip", z.ZodTypeAny, {
|
|
641
|
+
validationItems: {
|
|
642
|
+
elementType: string;
|
|
643
|
+
errors: string[];
|
|
644
|
+
locator?: string | undefined;
|
|
645
|
+
}[];
|
|
646
|
+
success: boolean;
|
|
647
|
+
}, {
|
|
648
|
+
validationItems: {
|
|
649
|
+
elementType: string;
|
|
650
|
+
errors: string[];
|
|
651
|
+
locator?: string | undefined;
|
|
652
|
+
}[];
|
|
653
|
+
success: boolean;
|
|
654
|
+
}>>;
|
|
655
|
+
region: z.ZodString;
|
|
656
|
+
invoiceDocument: z.ZodString;
|
|
657
|
+
accountNumber: z.ZodString;
|
|
658
|
+
contacts: z.ZodArray<z.ZodObject<{
|
|
659
|
+
contactLocator: z.ZodString;
|
|
660
|
+
roles: z.ZodArray<z.ZodString, "many">;
|
|
661
|
+
}, "strip", z.ZodTypeAny, {
|
|
662
|
+
contactLocator: string;
|
|
663
|
+
roles: string[];
|
|
664
|
+
}, {
|
|
665
|
+
contactLocator: string;
|
|
666
|
+
roles: string[];
|
|
667
|
+
}>, "many">;
|
|
668
|
+
state: z.ZodUnion<[z.ZodLiteral<"draft">, z.ZodLiteral<"validated">, z.ZodLiteral<"discarded">]>;
|
|
669
|
+
}, "strip", z.ZodTypeAny, {
|
|
670
|
+
locator: string;
|
|
671
|
+
type: string;
|
|
672
|
+
billingLevel: "account" | "inherit" | "policy";
|
|
673
|
+
data: Record<string, any>;
|
|
674
|
+
contacts: {
|
|
675
|
+
contactLocator: string;
|
|
676
|
+
roles: string[];
|
|
677
|
+
}[];
|
|
678
|
+
state: "draft" | "validated" | "discarded";
|
|
679
|
+
preferences: {
|
|
680
|
+
billingPreferences?: {
|
|
681
|
+
billingPlanName?: string | undefined;
|
|
682
|
+
billingLevel?: "account" | "inherit" | "policy" | undefined;
|
|
683
|
+
} | undefined;
|
|
684
|
+
installmentPreferences?: {
|
|
685
|
+
installmentWeights: number[];
|
|
686
|
+
dayOfMonth?: number | undefined;
|
|
687
|
+
anchorTime?: string | undefined;
|
|
688
|
+
dayOfWeek?: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday" | undefined;
|
|
689
|
+
weekOfMonth?: "none" | "first" | "second" | "third" | "fourth" | "fifth" | undefined;
|
|
690
|
+
installmentPlanName?: string | undefined;
|
|
691
|
+
anchorMode?: "generateDay" | "termStartDay" | "dueDay" | undefined;
|
|
692
|
+
anchorType?: "none" | "dayOfMonth" | "anchorTime" | "dayOfWeek" | "weekOfMonth" | undefined;
|
|
693
|
+
cadence?: "none" | "fullPay" | "weekly" | "everyOtherWeek" | "monthly" | "quarterly" | "semiannually" | "annually" | "thirtyDays" | "everyNDays" | undefined;
|
|
694
|
+
dueLeadDays?: number | undefined;
|
|
695
|
+
generateLeadDays?: number | undefined;
|
|
696
|
+
maxInstallmentsPerTerm?: number | undefined;
|
|
697
|
+
} | undefined;
|
|
698
|
+
};
|
|
699
|
+
delinquencyPlanName: string;
|
|
700
|
+
autoRenewalPlanName: string;
|
|
701
|
+
region: string;
|
|
702
|
+
accountState: "draft" | "validated" | "discarded";
|
|
703
|
+
shortfallTolerancePlanName: string;
|
|
704
|
+
excessCreditPlanName: string;
|
|
705
|
+
invoiceDocument: string;
|
|
706
|
+
accountNumber: string;
|
|
707
|
+
validationResult?: {
|
|
708
|
+
validationItems: {
|
|
709
|
+
elementType: string;
|
|
710
|
+
errors: string[];
|
|
711
|
+
locator?: string | undefined;
|
|
712
|
+
}[];
|
|
713
|
+
success: boolean;
|
|
714
|
+
} | undefined;
|
|
715
|
+
}, {
|
|
716
|
+
locator: string;
|
|
717
|
+
type: string;
|
|
718
|
+
billingLevel: "account" | "inherit" | "policy";
|
|
719
|
+
data: Record<string, any>;
|
|
720
|
+
contacts: {
|
|
721
|
+
contactLocator: string;
|
|
722
|
+
roles: string[];
|
|
723
|
+
}[];
|
|
724
|
+
state: "draft" | "validated" | "discarded";
|
|
725
|
+
preferences: {
|
|
726
|
+
billingPreferences?: {
|
|
727
|
+
billingPlanName?: string | undefined;
|
|
728
|
+
billingLevel?: "account" | "inherit" | "policy" | undefined;
|
|
729
|
+
} | undefined;
|
|
730
|
+
installmentPreferences?: {
|
|
731
|
+
installmentWeights: number[];
|
|
732
|
+
dayOfMonth?: number | undefined;
|
|
733
|
+
anchorTime?: string | undefined;
|
|
734
|
+
dayOfWeek?: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday" | undefined;
|
|
735
|
+
weekOfMonth?: "none" | "first" | "second" | "third" | "fourth" | "fifth" | undefined;
|
|
736
|
+
installmentPlanName?: string | undefined;
|
|
737
|
+
anchorMode?: "generateDay" | "termStartDay" | "dueDay" | undefined;
|
|
738
|
+
anchorType?: "none" | "dayOfMonth" | "anchorTime" | "dayOfWeek" | "weekOfMonth" | undefined;
|
|
739
|
+
cadence?: "none" | "fullPay" | "weekly" | "everyOtherWeek" | "monthly" | "quarterly" | "semiannually" | "annually" | "thirtyDays" | "everyNDays" | undefined;
|
|
740
|
+
dueLeadDays?: number | undefined;
|
|
741
|
+
generateLeadDays?: number | undefined;
|
|
742
|
+
maxInstallmentsPerTerm?: number | undefined;
|
|
743
|
+
} | undefined;
|
|
744
|
+
};
|
|
745
|
+
delinquencyPlanName: string;
|
|
746
|
+
autoRenewalPlanName: string;
|
|
747
|
+
region: string;
|
|
748
|
+
accountState: "draft" | "validated" | "discarded";
|
|
749
|
+
shortfallTolerancePlanName: string;
|
|
750
|
+
excessCreditPlanName: string;
|
|
751
|
+
invoiceDocument: string;
|
|
752
|
+
accountNumber: string;
|
|
753
|
+
validationResult?: {
|
|
754
|
+
validationItems: {
|
|
755
|
+
elementType: string;
|
|
756
|
+
errors: string[];
|
|
757
|
+
locator?: string | undefined;
|
|
758
|
+
}[];
|
|
759
|
+
success: boolean;
|
|
760
|
+
} | undefined;
|
|
761
|
+
}>;
|
|
762
|
+
|
|
525
763
|
export declare const accountResponseSchema: z.ZodObject<{
|
|
526
764
|
locator: z.ZodString;
|
|
527
765
|
type: z.ZodString;
|
|
@@ -742,6 +980,8 @@ export declare const accountResponseSchema: z.ZodObject<{
|
|
|
742
980
|
invoiceDocument?: string | undefined;
|
|
743
981
|
}>;
|
|
744
982
|
|
|
983
|
+
export declare type AccountResponseType = z.infer<typeof AccountResponseSchema>;
|
|
984
|
+
|
|
745
985
|
export declare type AccountStateEnum = z.infer<typeof accountStateEnumSchema>;
|
|
746
986
|
|
|
747
987
|
export declare const accountStateEnumSchema: z.ZodEnum<["draft", "validated", "discarded"]>;
|
|
@@ -12770,6 +13010,10 @@ export declare const invoiceResponseSchema: z.ZodObject<{
|
|
|
12770
13010
|
|
|
12771
13011
|
export declare type InvoiceState = z.infer<typeof invoiceStateEnumSchema>;
|
|
12772
13012
|
|
|
13013
|
+
export declare type InvoiceStateEnum = z.infer<typeof InvoiceStateEnumSchema>;
|
|
13014
|
+
|
|
13015
|
+
export declare const InvoiceStateEnumSchema: z.ZodEnum<["open", "settled"]>;
|
|
13016
|
+
|
|
12773
13017
|
export declare const invoiceStateEnumSchema: z.ZodEnum<["open", "settled"]>;
|
|
12774
13018
|
|
|
12775
13019
|
export declare type LedgerAccountAccountingTypeEnum = z.infer<typeof ledgerAccountAccountingTypeEnumSchema>;
|
|
@@ -14148,27 +14392,28 @@ export declare type PolicyListResponse = z.infer<typeof PolicyListResponseSchema
|
|
|
14148
14392
|
|
|
14149
14393
|
export declare const PolicyListResponseSchema: z.ZodObject<{
|
|
14150
14394
|
listCompleted: z.ZodBoolean;
|
|
14151
|
-
items: z.ZodArray<z.ZodObject<
|
|
14395
|
+
items: z.ZodArray<z.ZodObject<{
|
|
14152
14396
|
locator: z.ZodString;
|
|
14153
14397
|
accountLocator: z.ZodString;
|
|
14154
14398
|
branchHeadTransactionLocators: z.ZodArray<z.ZodString, "many">;
|
|
14155
14399
|
issuedTransactionLocator: z.ZodString;
|
|
14400
|
+
durationBasis: z.ZodEnum<["none", "years", "months", "monthsE360", "weeks", "days", "hours"]>;
|
|
14401
|
+
createdAt: z.ZodString;
|
|
14402
|
+
createdBy: z.ZodString;
|
|
14403
|
+
startTime: z.ZodString;
|
|
14404
|
+
endTime: z.ZodString;
|
|
14405
|
+
billingTrigger: z.ZodEnum<["accept", "issue"]>;
|
|
14406
|
+
billingLevel: z.ZodEnum<["account", "inherit", "policy"]>;
|
|
14407
|
+
latestSegmentLocator: z.ZodString;
|
|
14408
|
+
static: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
14156
14409
|
productName: z.ZodString;
|
|
14157
14410
|
timezone: z.ZodString;
|
|
14158
14411
|
currency: z.ZodString;
|
|
14159
|
-
durationBasis: z.ZodUnion<[z.ZodLiteral<"none">, z.ZodLiteral<"years">, z.ZodLiteral<"months">, z.ZodLiteral<"monthsE360">, z.ZodLiteral<"weeks">, z.ZodLiteral<"days">, z.ZodLiteral<"hours">]>;
|
|
14160
|
-
createdAt: z.ZodString;
|
|
14161
|
-
createdBy: z.ZodString;
|
|
14162
14412
|
delinquencyPlanName: z.ZodOptional<z.ZodString>;
|
|
14163
|
-
billingTrigger: z.ZodUnion<[z.ZodLiteral<"accept">, z.ZodLiteral<"issue">]>;
|
|
14164
14413
|
autoRenewalPlanName: z.ZodOptional<z.ZodString>;
|
|
14165
|
-
startTime: z.ZodString;
|
|
14166
|
-
endTime: z.ZodString;
|
|
14167
14414
|
latestTermLocator: z.ZodString;
|
|
14168
|
-
billingLevel: z.ZodUnion<[z.ZodLiteral<"account">, z.ZodLiteral<"inherit">, z.ZodLiteral<"policy">]>;
|
|
14169
14415
|
region: z.ZodOptional<z.ZodString>;
|
|
14170
14416
|
policyNumber: z.ZodOptional<z.ZodString>;
|
|
14171
|
-
latestSegmentLocator: z.ZodString;
|
|
14172
14417
|
validationResult: z.ZodOptional<z.ZodObject<{
|
|
14173
14418
|
validationItems: z.ZodArray<z.ZodObject<{
|
|
14174
14419
|
elementType: z.ZodString;
|
|
@@ -14199,22 +14444,7 @@ export declare const PolicyListResponseSchema: z.ZodObject<{
|
|
|
14199
14444
|
}[];
|
|
14200
14445
|
success: boolean;
|
|
14201
14446
|
}>>;
|
|
14202
|
-
|
|
14203
|
-
}, {
|
|
14204
|
-
locator: z.ZodString;
|
|
14205
|
-
accountLocator: z.ZodString;
|
|
14206
|
-
branchHeadTransactionLocators: z.ZodArray<z.ZodString, "many">;
|
|
14207
|
-
issuedTransactionLocator: z.ZodString;
|
|
14208
|
-
durationBasis: z.ZodEnum<["none", "years", "months", "monthsE360", "weeks", "days", "hours"]>;
|
|
14209
|
-
createdAt: z.ZodString;
|
|
14210
|
-
createdBy: z.ZodString;
|
|
14211
|
-
startTime: z.ZodString;
|
|
14212
|
-
endTime: z.ZodString;
|
|
14213
|
-
billingTrigger: z.ZodEnum<["accept", "issue"]>;
|
|
14214
|
-
billingLevel: z.ZodEnum<["account", "inherit", "policy"]>;
|
|
14215
|
-
latestSegmentLocator: z.ZodString;
|
|
14216
|
-
static: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
14217
|
-
}>, "strip", z.ZodTypeAny, {
|
|
14447
|
+
}, "strip", z.ZodTypeAny, {
|
|
14218
14448
|
locator: string;
|
|
14219
14449
|
billingLevel: "account" | "inherit" | "policy";
|
|
14220
14450
|
createdBy: string;
|
|
@@ -14504,27 +14734,28 @@ export declare type PolicyResponse = z.infer<typeof policyResponseSchema>;
|
|
|
14504
14734
|
|
|
14505
14735
|
export declare type PolicyResponseArray = z.infer<typeof PolicyResponseArraySchema>;
|
|
14506
14736
|
|
|
14507
|
-
export declare const PolicyResponseArraySchema: z.ZodArray<z.ZodObject<
|
|
14737
|
+
export declare const PolicyResponseArraySchema: z.ZodArray<z.ZodObject<{
|
|
14508
14738
|
locator: z.ZodString;
|
|
14509
14739
|
accountLocator: z.ZodString;
|
|
14510
14740
|
branchHeadTransactionLocators: z.ZodArray<z.ZodString, "many">;
|
|
14511
14741
|
issuedTransactionLocator: z.ZodString;
|
|
14512
|
-
|
|
14513
|
-
timezone: z.ZodString;
|
|
14514
|
-
currency: z.ZodString;
|
|
14515
|
-
durationBasis: z.ZodUnion<[z.ZodLiteral<"none">, z.ZodLiteral<"years">, z.ZodLiteral<"months">, z.ZodLiteral<"monthsE360">, z.ZodLiteral<"weeks">, z.ZodLiteral<"days">, z.ZodLiteral<"hours">]>;
|
|
14742
|
+
durationBasis: z.ZodEnum<["none", "years", "months", "monthsE360", "weeks", "days", "hours"]>;
|
|
14516
14743
|
createdAt: z.ZodString;
|
|
14517
14744
|
createdBy: z.ZodString;
|
|
14518
|
-
delinquencyPlanName: z.ZodOptional<z.ZodString>;
|
|
14519
|
-
billingTrigger: z.ZodUnion<[z.ZodLiteral<"accept">, z.ZodLiteral<"issue">]>;
|
|
14520
|
-
autoRenewalPlanName: z.ZodOptional<z.ZodString>;
|
|
14521
14745
|
startTime: z.ZodString;
|
|
14522
14746
|
endTime: z.ZodString;
|
|
14747
|
+
billingTrigger: z.ZodEnum<["accept", "issue"]>;
|
|
14748
|
+
billingLevel: z.ZodEnum<["account", "inherit", "policy"]>;
|
|
14749
|
+
latestSegmentLocator: z.ZodString;
|
|
14750
|
+
static: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
14751
|
+
productName: z.ZodString;
|
|
14752
|
+
timezone: z.ZodString;
|
|
14753
|
+
currency: z.ZodString;
|
|
14754
|
+
delinquencyPlanName: z.ZodOptional<z.ZodString>;
|
|
14755
|
+
autoRenewalPlanName: z.ZodOptional<z.ZodString>;
|
|
14523
14756
|
latestTermLocator: z.ZodString;
|
|
14524
|
-
billingLevel: z.ZodUnion<[z.ZodLiteral<"account">, z.ZodLiteral<"inherit">, z.ZodLiteral<"policy">]>;
|
|
14525
14757
|
region: z.ZodOptional<z.ZodString>;
|
|
14526
14758
|
policyNumber: z.ZodOptional<z.ZodString>;
|
|
14527
|
-
latestSegmentLocator: z.ZodString;
|
|
14528
14759
|
validationResult: z.ZodOptional<z.ZodObject<{
|
|
14529
14760
|
validationItems: z.ZodArray<z.ZodObject<{
|
|
14530
14761
|
elementType: z.ZodString;
|
|
@@ -14555,22 +14786,7 @@ export declare const PolicyResponseArraySchema: z.ZodArray<z.ZodObject<z.objectU
|
|
|
14555
14786
|
}[];
|
|
14556
14787
|
success: boolean;
|
|
14557
14788
|
}>>;
|
|
14558
|
-
|
|
14559
|
-
}, {
|
|
14560
|
-
locator: z.ZodString;
|
|
14561
|
-
accountLocator: z.ZodString;
|
|
14562
|
-
branchHeadTransactionLocators: z.ZodArray<z.ZodString, "many">;
|
|
14563
|
-
issuedTransactionLocator: z.ZodString;
|
|
14564
|
-
durationBasis: z.ZodEnum<["none", "years", "months", "monthsE360", "weeks", "days", "hours"]>;
|
|
14565
|
-
createdAt: z.ZodString;
|
|
14566
|
-
createdBy: z.ZodString;
|
|
14567
|
-
startTime: z.ZodString;
|
|
14568
|
-
endTime: z.ZodString;
|
|
14569
|
-
billingTrigger: z.ZodEnum<["accept", "issue"]>;
|
|
14570
|
-
billingLevel: z.ZodEnum<["account", "inherit", "policy"]>;
|
|
14571
|
-
latestSegmentLocator: z.ZodString;
|
|
14572
|
-
static: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
14573
|
-
}>, "strip", z.ZodTypeAny, {
|
|
14789
|
+
}, "strip", z.ZodTypeAny, {
|
|
14574
14790
|
locator: string;
|
|
14575
14791
|
billingLevel: "account" | "inherit" | "policy";
|
|
14576
14792
|
createdBy: string;
|
|
@@ -14632,27 +14848,28 @@ export declare const PolicyResponseArraySchema: z.ZodArray<z.ZodObject<z.objectU
|
|
|
14632
14848
|
policyNumber?: string | undefined;
|
|
14633
14849
|
}>, "many">;
|
|
14634
14850
|
|
|
14635
|
-
export declare const PolicyResponseSchema: z.ZodObject<
|
|
14851
|
+
export declare const PolicyResponseSchema: z.ZodObject<{
|
|
14636
14852
|
locator: z.ZodString;
|
|
14637
14853
|
accountLocator: z.ZodString;
|
|
14638
14854
|
branchHeadTransactionLocators: z.ZodArray<z.ZodString, "many">;
|
|
14639
14855
|
issuedTransactionLocator: z.ZodString;
|
|
14856
|
+
durationBasis: z.ZodEnum<["none", "years", "months", "monthsE360", "weeks", "days", "hours"]>;
|
|
14857
|
+
createdAt: z.ZodString;
|
|
14858
|
+
createdBy: z.ZodString;
|
|
14859
|
+
startTime: z.ZodString;
|
|
14860
|
+
endTime: z.ZodString;
|
|
14861
|
+
billingTrigger: z.ZodEnum<["accept", "issue"]>;
|
|
14862
|
+
billingLevel: z.ZodEnum<["account", "inherit", "policy"]>;
|
|
14863
|
+
latestSegmentLocator: z.ZodString;
|
|
14864
|
+
static: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
14640
14865
|
productName: z.ZodString;
|
|
14641
14866
|
timezone: z.ZodString;
|
|
14642
14867
|
currency: z.ZodString;
|
|
14643
|
-
durationBasis: z.ZodUnion<[z.ZodLiteral<"none">, z.ZodLiteral<"years">, z.ZodLiteral<"months">, z.ZodLiteral<"monthsE360">, z.ZodLiteral<"weeks">, z.ZodLiteral<"days">, z.ZodLiteral<"hours">]>;
|
|
14644
|
-
createdAt: z.ZodString;
|
|
14645
|
-
createdBy: z.ZodString;
|
|
14646
14868
|
delinquencyPlanName: z.ZodOptional<z.ZodString>;
|
|
14647
|
-
billingTrigger: z.ZodUnion<[z.ZodLiteral<"accept">, z.ZodLiteral<"issue">]>;
|
|
14648
14869
|
autoRenewalPlanName: z.ZodOptional<z.ZodString>;
|
|
14649
|
-
startTime: z.ZodString;
|
|
14650
|
-
endTime: z.ZodString;
|
|
14651
14870
|
latestTermLocator: z.ZodString;
|
|
14652
|
-
billingLevel: z.ZodUnion<[z.ZodLiteral<"account">, z.ZodLiteral<"inherit">, z.ZodLiteral<"policy">]>;
|
|
14653
14871
|
region: z.ZodOptional<z.ZodString>;
|
|
14654
14872
|
policyNumber: z.ZodOptional<z.ZodString>;
|
|
14655
|
-
latestSegmentLocator: z.ZodString;
|
|
14656
14873
|
validationResult: z.ZodOptional<z.ZodObject<{
|
|
14657
14874
|
validationItems: z.ZodArray<z.ZodObject<{
|
|
14658
14875
|
elementType: z.ZodString;
|
|
@@ -14683,22 +14900,7 @@ export declare const PolicyResponseSchema: z.ZodObject<z.objectUtil.extendShape<
|
|
|
14683
14900
|
}[];
|
|
14684
14901
|
success: boolean;
|
|
14685
14902
|
}>>;
|
|
14686
|
-
|
|
14687
|
-
}, {
|
|
14688
|
-
locator: z.ZodString;
|
|
14689
|
-
accountLocator: z.ZodString;
|
|
14690
|
-
branchHeadTransactionLocators: z.ZodArray<z.ZodString, "many">;
|
|
14691
|
-
issuedTransactionLocator: z.ZodString;
|
|
14692
|
-
durationBasis: z.ZodEnum<["none", "years", "months", "monthsE360", "weeks", "days", "hours"]>;
|
|
14693
|
-
createdAt: z.ZodString;
|
|
14694
|
-
createdBy: z.ZodString;
|
|
14695
|
-
startTime: z.ZodString;
|
|
14696
|
-
endTime: z.ZodString;
|
|
14697
|
-
billingTrigger: z.ZodEnum<["accept", "issue"]>;
|
|
14698
|
-
billingLevel: z.ZodEnum<["account", "inherit", "policy"]>;
|
|
14699
|
-
latestSegmentLocator: z.ZodString;
|
|
14700
|
-
static: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
14701
|
-
}>, "strip", z.ZodTypeAny, {
|
|
14903
|
+
}, "strip", z.ZodTypeAny, {
|
|
14702
14904
|
locator: string;
|
|
14703
14905
|
billingLevel: "account" | "inherit" | "policy";
|
|
14704
14906
|
createdBy: string;
|
|
@@ -14865,6 +15067,8 @@ export declare const policyResponseSchema: z.ZodObject<{
|
|
|
14865
15067
|
branchHeadTransactionLocators?: string[] | undefined;
|
|
14866
15068
|
}>;
|
|
14867
15069
|
|
|
15070
|
+
export declare type PolicyResponseType = z.infer<typeof PolicyResponseSchema>;
|
|
15071
|
+
|
|
14868
15072
|
export declare type PolicySnapshotResponse = z.infer<typeof policySnapshotResponseSchema>;
|
|
14869
15073
|
|
|
14870
15074
|
export declare const PolicySnapshotResponseSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
@@ -22174,154 +22378,7 @@ export declare type QuoteListResponse = z.infer<typeof QuoteListResponseSchema>;
|
|
|
22174
22378
|
|
|
22175
22379
|
export declare const QuoteListResponseSchema: z.ZodObject<{
|
|
22176
22380
|
listCompleted: z.ZodBoolean;
|
|
22177
|
-
items: z.ZodArray<z.ZodObject<
|
|
22178
|
-
locator: z.ZodString;
|
|
22179
|
-
quoteState: z.ZodUnion<[z.ZodLiteral<"draft">, z.ZodLiteral<"validated">, z.ZodLiteral<"earlyUnderwritten">, z.ZodLiteral<"priced">, z.ZodLiteral<"underwritten">, z.ZodLiteral<"accepted">, z.ZodLiteral<"issued">, z.ZodLiteral<"underwrittenBlocked">, z.ZodLiteral<"declined">, z.ZodLiteral<"rejected">, z.ZodLiteral<"refused">, z.ZodLiteral<"discarded">]>;
|
|
22180
|
-
productName: z.ZodString;
|
|
22181
|
-
accountLocator: z.ZodString;
|
|
22182
|
-
startTime: z.ZodOptional<z.ZodString>;
|
|
22183
|
-
endTime: z.ZodOptional<z.ZodString>;
|
|
22184
|
-
timezone: z.ZodOptional<z.ZodString>;
|
|
22185
|
-
currency: z.ZodOptional<z.ZodString>;
|
|
22186
|
-
underwritingStatus: z.ZodOptional<z.ZodString>;
|
|
22187
|
-
expirationTime: z.ZodOptional<z.ZodString>;
|
|
22188
|
-
element: z.ZodType<Element_3, z.ZodTypeDef, Element_3>;
|
|
22189
|
-
preferences: z.ZodOptional<z.ZodObject<{
|
|
22190
|
-
installmentPreferences: z.ZodOptional<z.ZodObject<{
|
|
22191
|
-
cadence: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"none">, z.ZodLiteral<"fullPay">, z.ZodLiteral<"weekly">, z.ZodLiteral<"everyOtherWeek">, z.ZodLiteral<"monthly">, z.ZodLiteral<"quarterly">, z.ZodLiteral<"semiannually">, z.ZodLiteral<"annually">, z.ZodLiteral<"thirtyDays">, z.ZodLiteral<"everyNDays">]>>;
|
|
22192
|
-
anchorMode: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"generateDay">, z.ZodLiteral<"termStartDay">, z.ZodLiteral<"dueDay">]>>;
|
|
22193
|
-
generateLeadDays: z.ZodOptional<z.ZodNumber>;
|
|
22194
|
-
dueLeadDays: z.ZodOptional<z.ZodNumber>;
|
|
22195
|
-
installmentWeights: z.ZodArray<z.ZodNumber, "many">;
|
|
22196
|
-
maxInstallmentsPerTerm: z.ZodOptional<z.ZodNumber>;
|
|
22197
|
-
installmentPlanName: z.ZodOptional<z.ZodString>;
|
|
22198
|
-
anchorType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"none">, z.ZodLiteral<"dayOfMonth">, z.ZodLiteral<"anchorTime">, z.ZodLiteral<"dayOfWeek">, z.ZodLiteral<"weekOfMonth">]>>;
|
|
22199
|
-
dayOfMonth: z.ZodOptional<z.ZodNumber>;
|
|
22200
|
-
dayOfWeek: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"monday">, z.ZodLiteral<"tuesday">, z.ZodLiteral<"wednesday">, z.ZodLiteral<"thursday">, z.ZodLiteral<"friday">, z.ZodLiteral<"saturday">, z.ZodLiteral<"sunday">]>>;
|
|
22201
|
-
weekOfMonth: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"none">, z.ZodLiteral<"first">, z.ZodLiteral<"second">, z.ZodLiteral<"third">, z.ZodLiteral<"fourth">, z.ZodLiteral<"fifth">]>>;
|
|
22202
|
-
anchorTime: z.ZodOptional<z.ZodString>;
|
|
22203
|
-
}, "strip", z.ZodTypeAny, {
|
|
22204
|
-
installmentWeights: number[];
|
|
22205
|
-
dayOfMonth?: number | undefined;
|
|
22206
|
-
anchorTime?: string | undefined;
|
|
22207
|
-
dayOfWeek?: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday" | undefined;
|
|
22208
|
-
weekOfMonth?: "none" | "first" | "second" | "third" | "fourth" | "fifth" | undefined;
|
|
22209
|
-
installmentPlanName?: string | undefined;
|
|
22210
|
-
anchorMode?: "generateDay" | "termStartDay" | "dueDay" | undefined;
|
|
22211
|
-
anchorType?: "none" | "dayOfMonth" | "anchorTime" | "dayOfWeek" | "weekOfMonth" | undefined;
|
|
22212
|
-
cadence?: "none" | "fullPay" | "weekly" | "everyOtherWeek" | "monthly" | "quarterly" | "semiannually" | "annually" | "thirtyDays" | "everyNDays" | undefined;
|
|
22213
|
-
dueLeadDays?: number | undefined;
|
|
22214
|
-
generateLeadDays?: number | undefined;
|
|
22215
|
-
maxInstallmentsPerTerm?: number | undefined;
|
|
22216
|
-
}, {
|
|
22217
|
-
installmentWeights: number[];
|
|
22218
|
-
dayOfMonth?: number | undefined;
|
|
22219
|
-
anchorTime?: string | undefined;
|
|
22220
|
-
dayOfWeek?: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday" | undefined;
|
|
22221
|
-
weekOfMonth?: "none" | "first" | "second" | "third" | "fourth" | "fifth" | undefined;
|
|
22222
|
-
installmentPlanName?: string | undefined;
|
|
22223
|
-
anchorMode?: "generateDay" | "termStartDay" | "dueDay" | undefined;
|
|
22224
|
-
anchorType?: "none" | "dayOfMonth" | "anchorTime" | "dayOfWeek" | "weekOfMonth" | undefined;
|
|
22225
|
-
cadence?: "none" | "fullPay" | "weekly" | "everyOtherWeek" | "monthly" | "quarterly" | "semiannually" | "annually" | "thirtyDays" | "everyNDays" | undefined;
|
|
22226
|
-
dueLeadDays?: number | undefined;
|
|
22227
|
-
generateLeadDays?: number | undefined;
|
|
22228
|
-
maxInstallmentsPerTerm?: number | undefined;
|
|
22229
|
-
}>>;
|
|
22230
|
-
billingPreferences: z.ZodOptional<z.ZodObject<{
|
|
22231
|
-
billingPlanName: z.ZodOptional<z.ZodString>;
|
|
22232
|
-
billingLevel: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"account">, z.ZodLiteral<"inherit">, z.ZodLiteral<"policy">]>>;
|
|
22233
|
-
}, "strip", z.ZodTypeAny, {
|
|
22234
|
-
billingPlanName?: string | undefined;
|
|
22235
|
-
billingLevel?: "account" | "inherit" | "policy" | undefined;
|
|
22236
|
-
}, {
|
|
22237
|
-
billingPlanName?: string | undefined;
|
|
22238
|
-
billingLevel?: "account" | "inherit" | "policy" | undefined;
|
|
22239
|
-
}>>;
|
|
22240
|
-
}, "strip", z.ZodTypeAny, {
|
|
22241
|
-
billingPreferences?: {
|
|
22242
|
-
billingPlanName?: string | undefined;
|
|
22243
|
-
billingLevel?: "account" | "inherit" | "policy" | undefined;
|
|
22244
|
-
} | undefined;
|
|
22245
|
-
installmentPreferences?: {
|
|
22246
|
-
installmentWeights: number[];
|
|
22247
|
-
dayOfMonth?: number | undefined;
|
|
22248
|
-
anchorTime?: string | undefined;
|
|
22249
|
-
dayOfWeek?: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday" | undefined;
|
|
22250
|
-
weekOfMonth?: "none" | "first" | "second" | "third" | "fourth" | "fifth" | undefined;
|
|
22251
|
-
installmentPlanName?: string | undefined;
|
|
22252
|
-
anchorMode?: "generateDay" | "termStartDay" | "dueDay" | undefined;
|
|
22253
|
-
anchorType?: "none" | "dayOfMonth" | "anchorTime" | "dayOfWeek" | "weekOfMonth" | undefined;
|
|
22254
|
-
cadence?: "none" | "fullPay" | "weekly" | "everyOtherWeek" | "monthly" | "quarterly" | "semiannually" | "annually" | "thirtyDays" | "everyNDays" | undefined;
|
|
22255
|
-
dueLeadDays?: number | undefined;
|
|
22256
|
-
generateLeadDays?: number | undefined;
|
|
22257
|
-
maxInstallmentsPerTerm?: number | undefined;
|
|
22258
|
-
} | undefined;
|
|
22259
|
-
}, {
|
|
22260
|
-
billingPreferences?: {
|
|
22261
|
-
billingPlanName?: string | undefined;
|
|
22262
|
-
billingLevel?: "account" | "inherit" | "policy" | undefined;
|
|
22263
|
-
} | undefined;
|
|
22264
|
-
installmentPreferences?: {
|
|
22265
|
-
installmentWeights: number[];
|
|
22266
|
-
dayOfMonth?: number | undefined;
|
|
22267
|
-
anchorTime?: string | undefined;
|
|
22268
|
-
dayOfWeek?: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday" | undefined;
|
|
22269
|
-
weekOfMonth?: "none" | "first" | "second" | "third" | "fourth" | "fifth" | undefined;
|
|
22270
|
-
installmentPlanName?: string | undefined;
|
|
22271
|
-
anchorMode?: "generateDay" | "termStartDay" | "dueDay" | undefined;
|
|
22272
|
-
anchorType?: "none" | "dayOfMonth" | "anchorTime" | "dayOfWeek" | "weekOfMonth" | undefined;
|
|
22273
|
-
cadence?: "none" | "fullPay" | "weekly" | "everyOtherWeek" | "monthly" | "quarterly" | "semiannually" | "annually" | "thirtyDays" | "everyNDays" | undefined;
|
|
22274
|
-
dueLeadDays?: number | undefined;
|
|
22275
|
-
generateLeadDays?: number | undefined;
|
|
22276
|
-
maxInstallmentsPerTerm?: number | undefined;
|
|
22277
|
-
} | undefined;
|
|
22278
|
-
}>>;
|
|
22279
|
-
policyLocator: z.ZodOptional<z.ZodString>;
|
|
22280
|
-
delinquencyPlanName: z.ZodOptional<z.ZodString>;
|
|
22281
|
-
durationBasis: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"none">, z.ZodLiteral<"years">, z.ZodLiteral<"months">, z.ZodLiteral<"monthsE360">, z.ZodLiteral<"weeks">, z.ZodLiteral<"days">, z.ZodLiteral<"hours">]>>;
|
|
22282
|
-
billingTrigger: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"accept">, z.ZodLiteral<"issue">]>>;
|
|
22283
|
-
groupLocator: z.ZodString;
|
|
22284
|
-
autoRenewalPlanName: z.ZodOptional<z.ZodString>;
|
|
22285
|
-
billingLevel: z.ZodUnion<[z.ZodLiteral<"account">, z.ZodLiteral<"inherit">, z.ZodLiteral<"policy">]>;
|
|
22286
|
-
region: z.ZodOptional<z.ZodString>;
|
|
22287
|
-
quoteNumber: z.ZodOptional<z.ZodString>;
|
|
22288
|
-
duration: z.ZodOptional<z.ZodNumber>;
|
|
22289
|
-
acceptedTime: z.ZodOptional<z.ZodString>;
|
|
22290
|
-
issuedTime: z.ZodOptional<z.ZodString>;
|
|
22291
|
-
validationResult: z.ZodOptional<z.ZodObject<{
|
|
22292
|
-
validationItems: z.ZodArray<z.ZodObject<{
|
|
22293
|
-
elementType: z.ZodString;
|
|
22294
|
-
locator: z.ZodOptional<z.ZodString>;
|
|
22295
|
-
errors: z.ZodArray<z.ZodString, "many">;
|
|
22296
|
-
}, "strip", z.ZodTypeAny, {
|
|
22297
|
-
elementType: string;
|
|
22298
|
-
errors: string[];
|
|
22299
|
-
locator?: string | undefined;
|
|
22300
|
-
}, {
|
|
22301
|
-
elementType: string;
|
|
22302
|
-
errors: string[];
|
|
22303
|
-
locator?: string | undefined;
|
|
22304
|
-
}>, "many">;
|
|
22305
|
-
success: z.ZodBoolean;
|
|
22306
|
-
}, "strip", z.ZodTypeAny, {
|
|
22307
|
-
validationItems: {
|
|
22308
|
-
elementType: string;
|
|
22309
|
-
errors: string[];
|
|
22310
|
-
locator?: string | undefined;
|
|
22311
|
-
}[];
|
|
22312
|
-
success: boolean;
|
|
22313
|
-
}, {
|
|
22314
|
-
validationItems: {
|
|
22315
|
-
elementType: string;
|
|
22316
|
-
errors: string[];
|
|
22317
|
-
locator?: string | undefined;
|
|
22318
|
-
}[];
|
|
22319
|
-
success: boolean;
|
|
22320
|
-
}>>;
|
|
22321
|
-
quickQuoteLocator: z.ZodOptional<z.ZodString>;
|
|
22322
|
-
policyNumber: z.ZodString;
|
|
22323
|
-
static: z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
22324
|
-
}, {
|
|
22381
|
+
items: z.ZodArray<z.ZodObject<{
|
|
22325
22382
|
locator: z.ZodString;
|
|
22326
22383
|
quickQuoteLocator: z.ZodString;
|
|
22327
22384
|
quoteState: z.ZodEnum<["draft", "validated", "earlyUnderwritten", "priced", "underwritten", "accepted", "issued", "underwrittenBlocked", "declined", "rejected", "refused", "discarded"]>;
|
|
@@ -22531,7 +22588,20 @@ export declare const QuoteListResponseSchema: z.ZodObject<{
|
|
|
22531
22588
|
endTime: z.ZodOptional<z.ZodString>;
|
|
22532
22589
|
acceptedTime: z.ZodOptional<z.ZodString>;
|
|
22533
22590
|
expirationTime: z.ZodOptional<z.ZodString>;
|
|
22534
|
-
|
|
22591
|
+
productName: z.ZodString;
|
|
22592
|
+
accountLocator: z.ZodString;
|
|
22593
|
+
timezone: z.ZodOptional<z.ZodString>;
|
|
22594
|
+
currency: z.ZodOptional<z.ZodString>;
|
|
22595
|
+
underwritingStatus: z.ZodOptional<z.ZodString>;
|
|
22596
|
+
element: z.ZodType<Element_3, z.ZodTypeDef, Element_3>;
|
|
22597
|
+
delinquencyPlanName: z.ZodOptional<z.ZodString>;
|
|
22598
|
+
groupLocator: z.ZodString;
|
|
22599
|
+
autoRenewalPlanName: z.ZodOptional<z.ZodString>;
|
|
22600
|
+
region: z.ZodOptional<z.ZodString>;
|
|
22601
|
+
quoteNumber: z.ZodOptional<z.ZodString>;
|
|
22602
|
+
duration: z.ZodOptional<z.ZodNumber>;
|
|
22603
|
+
policyNumber: z.ZodString;
|
|
22604
|
+
}, "strip", z.ZodTypeAny, {
|
|
22535
22605
|
locator: string;
|
|
22536
22606
|
billingLevel: "account" | "inherit" | "policy";
|
|
22537
22607
|
accountLocator: string;
|
|
@@ -23283,154 +23353,7 @@ export declare const quoteRequestSchema: z.ZodObject<{
|
|
|
23283
23353
|
|
|
23284
23354
|
export declare type QuoteResponse = z.infer<typeof quoteResponseSchema>;
|
|
23285
23355
|
|
|
23286
|
-
export declare const QuoteResponseSchema: z.ZodObject<
|
|
23287
|
-
locator: z.ZodString;
|
|
23288
|
-
quoteState: z.ZodUnion<[z.ZodLiteral<"draft">, z.ZodLiteral<"validated">, z.ZodLiteral<"earlyUnderwritten">, z.ZodLiteral<"priced">, z.ZodLiteral<"underwritten">, z.ZodLiteral<"accepted">, z.ZodLiteral<"issued">, z.ZodLiteral<"underwrittenBlocked">, z.ZodLiteral<"declined">, z.ZodLiteral<"rejected">, z.ZodLiteral<"refused">, z.ZodLiteral<"discarded">]>;
|
|
23289
|
-
productName: z.ZodString;
|
|
23290
|
-
accountLocator: z.ZodString;
|
|
23291
|
-
startTime: z.ZodOptional<z.ZodString>;
|
|
23292
|
-
endTime: z.ZodOptional<z.ZodString>;
|
|
23293
|
-
timezone: z.ZodOptional<z.ZodString>;
|
|
23294
|
-
currency: z.ZodOptional<z.ZodString>;
|
|
23295
|
-
underwritingStatus: z.ZodOptional<z.ZodString>;
|
|
23296
|
-
expirationTime: z.ZodOptional<z.ZodString>;
|
|
23297
|
-
element: z.ZodType<Element_3, z.ZodTypeDef, Element_3>;
|
|
23298
|
-
preferences: z.ZodOptional<z.ZodObject<{
|
|
23299
|
-
installmentPreferences: z.ZodOptional<z.ZodObject<{
|
|
23300
|
-
cadence: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"none">, z.ZodLiteral<"fullPay">, z.ZodLiteral<"weekly">, z.ZodLiteral<"everyOtherWeek">, z.ZodLiteral<"monthly">, z.ZodLiteral<"quarterly">, z.ZodLiteral<"semiannually">, z.ZodLiteral<"annually">, z.ZodLiteral<"thirtyDays">, z.ZodLiteral<"everyNDays">]>>;
|
|
23301
|
-
anchorMode: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"generateDay">, z.ZodLiteral<"termStartDay">, z.ZodLiteral<"dueDay">]>>;
|
|
23302
|
-
generateLeadDays: z.ZodOptional<z.ZodNumber>;
|
|
23303
|
-
dueLeadDays: z.ZodOptional<z.ZodNumber>;
|
|
23304
|
-
installmentWeights: z.ZodArray<z.ZodNumber, "many">;
|
|
23305
|
-
maxInstallmentsPerTerm: z.ZodOptional<z.ZodNumber>;
|
|
23306
|
-
installmentPlanName: z.ZodOptional<z.ZodString>;
|
|
23307
|
-
anchorType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"none">, z.ZodLiteral<"dayOfMonth">, z.ZodLiteral<"anchorTime">, z.ZodLiteral<"dayOfWeek">, z.ZodLiteral<"weekOfMonth">]>>;
|
|
23308
|
-
dayOfMonth: z.ZodOptional<z.ZodNumber>;
|
|
23309
|
-
dayOfWeek: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"monday">, z.ZodLiteral<"tuesday">, z.ZodLiteral<"wednesday">, z.ZodLiteral<"thursday">, z.ZodLiteral<"friday">, z.ZodLiteral<"saturday">, z.ZodLiteral<"sunday">]>>;
|
|
23310
|
-
weekOfMonth: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"none">, z.ZodLiteral<"first">, z.ZodLiteral<"second">, z.ZodLiteral<"third">, z.ZodLiteral<"fourth">, z.ZodLiteral<"fifth">]>>;
|
|
23311
|
-
anchorTime: z.ZodOptional<z.ZodString>;
|
|
23312
|
-
}, "strip", z.ZodTypeAny, {
|
|
23313
|
-
installmentWeights: number[];
|
|
23314
|
-
dayOfMonth?: number | undefined;
|
|
23315
|
-
anchorTime?: string | undefined;
|
|
23316
|
-
dayOfWeek?: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday" | undefined;
|
|
23317
|
-
weekOfMonth?: "none" | "first" | "second" | "third" | "fourth" | "fifth" | undefined;
|
|
23318
|
-
installmentPlanName?: string | undefined;
|
|
23319
|
-
anchorMode?: "generateDay" | "termStartDay" | "dueDay" | undefined;
|
|
23320
|
-
anchorType?: "none" | "dayOfMonth" | "anchorTime" | "dayOfWeek" | "weekOfMonth" | undefined;
|
|
23321
|
-
cadence?: "none" | "fullPay" | "weekly" | "everyOtherWeek" | "monthly" | "quarterly" | "semiannually" | "annually" | "thirtyDays" | "everyNDays" | undefined;
|
|
23322
|
-
dueLeadDays?: number | undefined;
|
|
23323
|
-
generateLeadDays?: number | undefined;
|
|
23324
|
-
maxInstallmentsPerTerm?: number | undefined;
|
|
23325
|
-
}, {
|
|
23326
|
-
installmentWeights: number[];
|
|
23327
|
-
dayOfMonth?: number | undefined;
|
|
23328
|
-
anchorTime?: string | undefined;
|
|
23329
|
-
dayOfWeek?: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday" | undefined;
|
|
23330
|
-
weekOfMonth?: "none" | "first" | "second" | "third" | "fourth" | "fifth" | undefined;
|
|
23331
|
-
installmentPlanName?: string | undefined;
|
|
23332
|
-
anchorMode?: "generateDay" | "termStartDay" | "dueDay" | undefined;
|
|
23333
|
-
anchorType?: "none" | "dayOfMonth" | "anchorTime" | "dayOfWeek" | "weekOfMonth" | undefined;
|
|
23334
|
-
cadence?: "none" | "fullPay" | "weekly" | "everyOtherWeek" | "monthly" | "quarterly" | "semiannually" | "annually" | "thirtyDays" | "everyNDays" | undefined;
|
|
23335
|
-
dueLeadDays?: number | undefined;
|
|
23336
|
-
generateLeadDays?: number | undefined;
|
|
23337
|
-
maxInstallmentsPerTerm?: number | undefined;
|
|
23338
|
-
}>>;
|
|
23339
|
-
billingPreferences: z.ZodOptional<z.ZodObject<{
|
|
23340
|
-
billingPlanName: z.ZodOptional<z.ZodString>;
|
|
23341
|
-
billingLevel: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"account">, z.ZodLiteral<"inherit">, z.ZodLiteral<"policy">]>>;
|
|
23342
|
-
}, "strip", z.ZodTypeAny, {
|
|
23343
|
-
billingPlanName?: string | undefined;
|
|
23344
|
-
billingLevel?: "account" | "inherit" | "policy" | undefined;
|
|
23345
|
-
}, {
|
|
23346
|
-
billingPlanName?: string | undefined;
|
|
23347
|
-
billingLevel?: "account" | "inherit" | "policy" | undefined;
|
|
23348
|
-
}>>;
|
|
23349
|
-
}, "strip", z.ZodTypeAny, {
|
|
23350
|
-
billingPreferences?: {
|
|
23351
|
-
billingPlanName?: string | undefined;
|
|
23352
|
-
billingLevel?: "account" | "inherit" | "policy" | undefined;
|
|
23353
|
-
} | undefined;
|
|
23354
|
-
installmentPreferences?: {
|
|
23355
|
-
installmentWeights: number[];
|
|
23356
|
-
dayOfMonth?: number | undefined;
|
|
23357
|
-
anchorTime?: string | undefined;
|
|
23358
|
-
dayOfWeek?: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday" | undefined;
|
|
23359
|
-
weekOfMonth?: "none" | "first" | "second" | "third" | "fourth" | "fifth" | undefined;
|
|
23360
|
-
installmentPlanName?: string | undefined;
|
|
23361
|
-
anchorMode?: "generateDay" | "termStartDay" | "dueDay" | undefined;
|
|
23362
|
-
anchorType?: "none" | "dayOfMonth" | "anchorTime" | "dayOfWeek" | "weekOfMonth" | undefined;
|
|
23363
|
-
cadence?: "none" | "fullPay" | "weekly" | "everyOtherWeek" | "monthly" | "quarterly" | "semiannually" | "annually" | "thirtyDays" | "everyNDays" | undefined;
|
|
23364
|
-
dueLeadDays?: number | undefined;
|
|
23365
|
-
generateLeadDays?: number | undefined;
|
|
23366
|
-
maxInstallmentsPerTerm?: number | undefined;
|
|
23367
|
-
} | undefined;
|
|
23368
|
-
}, {
|
|
23369
|
-
billingPreferences?: {
|
|
23370
|
-
billingPlanName?: string | undefined;
|
|
23371
|
-
billingLevel?: "account" | "inherit" | "policy" | undefined;
|
|
23372
|
-
} | undefined;
|
|
23373
|
-
installmentPreferences?: {
|
|
23374
|
-
installmentWeights: number[];
|
|
23375
|
-
dayOfMonth?: number | undefined;
|
|
23376
|
-
anchorTime?: string | undefined;
|
|
23377
|
-
dayOfWeek?: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday" | undefined;
|
|
23378
|
-
weekOfMonth?: "none" | "first" | "second" | "third" | "fourth" | "fifth" | undefined;
|
|
23379
|
-
installmentPlanName?: string | undefined;
|
|
23380
|
-
anchorMode?: "generateDay" | "termStartDay" | "dueDay" | undefined;
|
|
23381
|
-
anchorType?: "none" | "dayOfMonth" | "anchorTime" | "dayOfWeek" | "weekOfMonth" | undefined;
|
|
23382
|
-
cadence?: "none" | "fullPay" | "weekly" | "everyOtherWeek" | "monthly" | "quarterly" | "semiannually" | "annually" | "thirtyDays" | "everyNDays" | undefined;
|
|
23383
|
-
dueLeadDays?: number | undefined;
|
|
23384
|
-
generateLeadDays?: number | undefined;
|
|
23385
|
-
maxInstallmentsPerTerm?: number | undefined;
|
|
23386
|
-
} | undefined;
|
|
23387
|
-
}>>;
|
|
23388
|
-
policyLocator: z.ZodOptional<z.ZodString>;
|
|
23389
|
-
delinquencyPlanName: z.ZodOptional<z.ZodString>;
|
|
23390
|
-
durationBasis: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"none">, z.ZodLiteral<"years">, z.ZodLiteral<"months">, z.ZodLiteral<"monthsE360">, z.ZodLiteral<"weeks">, z.ZodLiteral<"days">, z.ZodLiteral<"hours">]>>;
|
|
23391
|
-
billingTrigger: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"accept">, z.ZodLiteral<"issue">]>>;
|
|
23392
|
-
groupLocator: z.ZodString;
|
|
23393
|
-
autoRenewalPlanName: z.ZodOptional<z.ZodString>;
|
|
23394
|
-
billingLevel: z.ZodUnion<[z.ZodLiteral<"account">, z.ZodLiteral<"inherit">, z.ZodLiteral<"policy">]>;
|
|
23395
|
-
region: z.ZodOptional<z.ZodString>;
|
|
23396
|
-
quoteNumber: z.ZodOptional<z.ZodString>;
|
|
23397
|
-
duration: z.ZodOptional<z.ZodNumber>;
|
|
23398
|
-
acceptedTime: z.ZodOptional<z.ZodString>;
|
|
23399
|
-
issuedTime: z.ZodOptional<z.ZodString>;
|
|
23400
|
-
validationResult: z.ZodOptional<z.ZodObject<{
|
|
23401
|
-
validationItems: z.ZodArray<z.ZodObject<{
|
|
23402
|
-
elementType: z.ZodString;
|
|
23403
|
-
locator: z.ZodOptional<z.ZodString>;
|
|
23404
|
-
errors: z.ZodArray<z.ZodString, "many">;
|
|
23405
|
-
}, "strip", z.ZodTypeAny, {
|
|
23406
|
-
elementType: string;
|
|
23407
|
-
errors: string[];
|
|
23408
|
-
locator?: string | undefined;
|
|
23409
|
-
}, {
|
|
23410
|
-
elementType: string;
|
|
23411
|
-
errors: string[];
|
|
23412
|
-
locator?: string | undefined;
|
|
23413
|
-
}>, "many">;
|
|
23414
|
-
success: z.ZodBoolean;
|
|
23415
|
-
}, "strip", z.ZodTypeAny, {
|
|
23416
|
-
validationItems: {
|
|
23417
|
-
elementType: string;
|
|
23418
|
-
errors: string[];
|
|
23419
|
-
locator?: string | undefined;
|
|
23420
|
-
}[];
|
|
23421
|
-
success: boolean;
|
|
23422
|
-
}, {
|
|
23423
|
-
validationItems: {
|
|
23424
|
-
elementType: string;
|
|
23425
|
-
errors: string[];
|
|
23426
|
-
locator?: string | undefined;
|
|
23427
|
-
}[];
|
|
23428
|
-
success: boolean;
|
|
23429
|
-
}>>;
|
|
23430
|
-
quickQuoteLocator: z.ZodOptional<z.ZodString>;
|
|
23431
|
-
policyNumber: z.ZodString;
|
|
23432
|
-
static: z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
23433
|
-
}, {
|
|
23356
|
+
export declare const QuoteResponseSchema: z.ZodObject<{
|
|
23434
23357
|
locator: z.ZodString;
|
|
23435
23358
|
quickQuoteLocator: z.ZodString;
|
|
23436
23359
|
quoteState: z.ZodEnum<["draft", "validated", "earlyUnderwritten", "priced", "underwritten", "accepted", "issued", "underwrittenBlocked", "declined", "rejected", "refused", "discarded"]>;
|
|
@@ -23640,7 +23563,20 @@ export declare const QuoteResponseSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
23640
23563
|
endTime: z.ZodOptional<z.ZodString>;
|
|
23641
23564
|
acceptedTime: z.ZodOptional<z.ZodString>;
|
|
23642
23565
|
expirationTime: z.ZodOptional<z.ZodString>;
|
|
23643
|
-
|
|
23566
|
+
productName: z.ZodString;
|
|
23567
|
+
accountLocator: z.ZodString;
|
|
23568
|
+
timezone: z.ZodOptional<z.ZodString>;
|
|
23569
|
+
currency: z.ZodOptional<z.ZodString>;
|
|
23570
|
+
underwritingStatus: z.ZodOptional<z.ZodString>;
|
|
23571
|
+
element: z.ZodType<Element_3, z.ZodTypeDef, Element_3>;
|
|
23572
|
+
delinquencyPlanName: z.ZodOptional<z.ZodString>;
|
|
23573
|
+
groupLocator: z.ZodString;
|
|
23574
|
+
autoRenewalPlanName: z.ZodOptional<z.ZodString>;
|
|
23575
|
+
region: z.ZodOptional<z.ZodString>;
|
|
23576
|
+
quoteNumber: z.ZodOptional<z.ZodString>;
|
|
23577
|
+
duration: z.ZodOptional<z.ZodNumber>;
|
|
23578
|
+
policyNumber: z.ZodString;
|
|
23579
|
+
}, "strip", z.ZodTypeAny, {
|
|
23644
23580
|
locator: string;
|
|
23645
23581
|
billingLevel: "account" | "inherit" | "policy";
|
|
23646
23582
|
accountLocator: string;
|
|
@@ -23963,6 +23899,8 @@ export declare const quoteResponseSchema: z.ZodObject<{
|
|
|
23963
23899
|
boundTime?: string | undefined;
|
|
23964
23900
|
}>;
|
|
23965
23901
|
|
|
23902
|
+
export declare type QuoteResponseType = z.infer<typeof QuoteResponseSchema>;
|
|
23903
|
+
|
|
23966
23904
|
export declare type QuoteState = z.infer<typeof quoteStateSchema>;
|
|
23967
23905
|
|
|
23968
23906
|
export declare const QuoteStateEnumSchema: z.ZodEnum<["draft", "validated", "earlyUnderwritten", "priced", "underwritten", "accepted", "issued", "underwrittenBlocked", "declined", "rejected", "refused", "discarded"]>;
|