@socotra/ec-react-schemas 2.16.3-next.1 → 2.16.3-next.2
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 +451 -743
- package/dist/index.es.js +1516 -1520
- 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
|
@@ -2,10 +2,6 @@ import { z } from 'zod';
|
|
|
2
2
|
|
|
3
3
|
export declare const AbsoluteEnum: z.ZodEnum<["none", "required", "excluded"]>;
|
|
4
4
|
|
|
5
|
-
export declare type AccountBillingLevelEnum = z.infer<typeof accountBillingLevelEnumSchema>;
|
|
6
|
-
|
|
7
|
-
export declare const accountBillingLevelEnumSchema: z.ZodEnum<["account", "policy"]>;
|
|
8
|
-
|
|
9
5
|
export declare type AccountConfig = z.infer<typeof accountConfigSchema>;
|
|
10
6
|
|
|
11
7
|
export declare type AccountConfigRecord = z.infer<typeof accountConfigRecordSchema>;
|
|
@@ -351,7 +347,7 @@ export declare const accountCreateSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
351
347
|
delinquencyPlanName: z.ZodOptional<z.ZodString>;
|
|
352
348
|
excessCreditPlanName: z.ZodOptional<z.ZodString>;
|
|
353
349
|
shortfallTolerancePlanName: z.ZodOptional<z.ZodString>;
|
|
354
|
-
billingLevel: z.ZodOptional<z.ZodEnum<["account", "policy"]>>;
|
|
350
|
+
billingLevel: z.ZodOptional<z.ZodEnum<["account", "inherit", "policy"]>>;
|
|
355
351
|
invoiceDocument: z.ZodOptional<z.ZodString>;
|
|
356
352
|
preferences: z.ZodOptional<z.ZodObject<{
|
|
357
353
|
installmentPreferences: z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
|
|
@@ -466,7 +462,7 @@ export declare const accountCreateSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
466
462
|
data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
467
463
|
}>, "strip", z.ZodTypeAny, {
|
|
468
464
|
type?: string | undefined;
|
|
469
|
-
billingLevel?: "account" | "policy" | undefined;
|
|
465
|
+
billingLevel?: "account" | "inherit" | "policy" | undefined;
|
|
470
466
|
data?: Record<string, any> | undefined;
|
|
471
467
|
preferences?: {
|
|
472
468
|
billingPreferences?: {
|
|
@@ -498,7 +494,7 @@ export declare const accountCreateSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
498
494
|
autoValidate?: boolean | undefined;
|
|
499
495
|
}, {
|
|
500
496
|
type?: string | undefined;
|
|
501
|
-
billingLevel?: "account" | "policy" | undefined;
|
|
497
|
+
billingLevel?: "account" | "inherit" | "policy" | undefined;
|
|
502
498
|
data?: Record<string, any> | undefined;
|
|
503
499
|
preferences?: {
|
|
504
500
|
billingPreferences?: {
|
|
@@ -534,20 +530,52 @@ export declare type AccountId = z.infer<typeof AccountIdSchema>;
|
|
|
534
530
|
|
|
535
531
|
export declare const AccountIdSchema: z.ZodString;
|
|
536
532
|
|
|
537
|
-
export declare type AccountResponse = z.infer<typeof
|
|
533
|
+
export declare type AccountResponse = z.infer<typeof AccountResponseSchema>;
|
|
538
534
|
|
|
539
535
|
export declare const AccountResponseSchema: z.ZodObject<{
|
|
540
536
|
locator: z.ZodString;
|
|
541
537
|
accountState: z.ZodEnum<["draft", "validated", "discarded"]>;
|
|
542
|
-
data: z.ZodRecord<z.ZodString, z.ZodAny
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
shortfallTolerancePlanName: z.ZodString
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
538
|
+
data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
539
|
+
autoRenewalPlanName: z.ZodOptional<z.ZodString>;
|
|
540
|
+
delinquencyPlanName: z.ZodOptional<z.ZodString>;
|
|
541
|
+
excessCreditPlanName: z.ZodOptional<z.ZodString>;
|
|
542
|
+
shortfallTolerancePlanName: z.ZodOptional<z.ZodString>;
|
|
543
|
+
billingLevel: z.ZodOptional<z.ZodEnum<["account", "inherit", "policy"]>>;
|
|
544
|
+
invoiceDocument: z.ZodOptional<z.ZodString>;
|
|
545
|
+
validationResult: z.ZodOptional<z.ZodObject<{
|
|
546
|
+
validationItems: z.ZodOptional<z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
|
547
|
+
elementType: z.ZodString;
|
|
548
|
+
locator: z.ZodOptional<z.ZodString>;
|
|
549
|
+
errors: z.ZodArray<z.ZodString, "many">;
|
|
550
|
+
}, {
|
|
551
|
+
locator: z.ZodString;
|
|
552
|
+
}>, "strip", z.ZodTypeAny, {
|
|
553
|
+
elementType: string;
|
|
554
|
+
locator: string;
|
|
555
|
+
errors: string[];
|
|
556
|
+
}, {
|
|
557
|
+
elementType: string;
|
|
558
|
+
locator: string;
|
|
559
|
+
errors: string[];
|
|
560
|
+
}>, "many">>;
|
|
561
|
+
success: z.ZodBoolean;
|
|
562
|
+
}, "strip", z.ZodTypeAny, {
|
|
563
|
+
success: boolean;
|
|
564
|
+
validationItems?: {
|
|
565
|
+
elementType: string;
|
|
566
|
+
locator: string;
|
|
567
|
+
errors: string[];
|
|
568
|
+
}[] | undefined;
|
|
569
|
+
}, {
|
|
570
|
+
success: boolean;
|
|
571
|
+
validationItems?: {
|
|
572
|
+
elementType: string;
|
|
573
|
+
locator: string;
|
|
574
|
+
errors: string[];
|
|
575
|
+
}[] | undefined;
|
|
576
|
+
}>>;
|
|
577
|
+
preferences: z.ZodOptional<z.ZodObject<{
|
|
578
|
+
installmentPreferences: z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
|
|
551
579
|
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">]>>;
|
|
552
580
|
anchorMode: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"generateDay">, z.ZodLiteral<"termStartDay">, z.ZodLiteral<"dueDay">]>>;
|
|
553
581
|
generateLeadDays: z.ZodOptional<z.ZodNumber>;
|
|
@@ -561,8 +589,14 @@ export declare const AccountResponseSchema: z.ZodObject<{
|
|
|
561
589
|
weekOfMonth: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"none">, z.ZodLiteral<"first">, z.ZodLiteral<"second">, z.ZodLiteral<"third">, z.ZodLiteral<"fourth">, z.ZodLiteral<"fifth">]>>;
|
|
562
590
|
anchorTime: z.ZodOptional<z.ZodString>;
|
|
563
591
|
invoiceFeeAmount: z.ZodOptional<z.ZodNumber>;
|
|
564
|
-
},
|
|
565
|
-
|
|
592
|
+
}, {
|
|
593
|
+
cadence: z.ZodOptional<z.ZodEnum<["none", "fullPay", "weekly", "everyOtherWeek", "monthly", "quarterly", "semiannually", "annually", "thirtyDays", "everyNDays"]>>;
|
|
594
|
+
anchorMode: z.ZodOptional<z.ZodEnum<["generateDay", "termStartDay", "dueDay"]>>;
|
|
595
|
+
anchorType: z.ZodOptional<z.ZodEnum<["none", "dayOfMonth", "anchorTime", "dayOfWeek", "weekOfMonth"]>>;
|
|
596
|
+
dayOfWeek: z.ZodOptional<z.ZodEnum<["monday", "tuesday", "wednesday", "thursday", "friday", "saturday", "sunday"]>>;
|
|
597
|
+
weekOfMonth: z.ZodOptional<z.ZodEnum<["none", "first", "second", "third", "fourth", "fifth"]>>;
|
|
598
|
+
installmentWeights: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
599
|
+
}>, "strip", z.ZodTypeAny, {
|
|
566
600
|
dayOfMonth?: number | undefined;
|
|
567
601
|
anchorTime?: string | undefined;
|
|
568
602
|
dayOfWeek?: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday" | undefined;
|
|
@@ -574,9 +608,9 @@ export declare const AccountResponseSchema: z.ZodObject<{
|
|
|
574
608
|
dueLeadDays?: number | undefined;
|
|
575
609
|
generateLeadDays?: number | undefined;
|
|
576
610
|
maxInstallmentsPerTerm?: number | undefined;
|
|
611
|
+
installmentWeights?: number[] | undefined;
|
|
577
612
|
invoiceFeeAmount?: number | undefined;
|
|
578
613
|
}, {
|
|
579
|
-
installmentWeights: number[];
|
|
580
614
|
dayOfMonth?: number | undefined;
|
|
581
615
|
anchorTime?: string | undefined;
|
|
582
616
|
dayOfWeek?: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday" | undefined;
|
|
@@ -588,29 +622,31 @@ export declare const AccountResponseSchema: z.ZodObject<{
|
|
|
588
622
|
dueLeadDays?: number | undefined;
|
|
589
623
|
generateLeadDays?: number | undefined;
|
|
590
624
|
maxInstallmentsPerTerm?: number | undefined;
|
|
625
|
+
installmentWeights?: number[] | undefined;
|
|
591
626
|
invoiceFeeAmount?: number | undefined;
|
|
592
627
|
}>>;
|
|
593
|
-
billingPreferences: z.ZodOptional<z.ZodObject<{
|
|
628
|
+
billingPreferences: z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
|
|
594
629
|
billingPlanName: z.ZodOptional<z.ZodString>;
|
|
595
630
|
billingLevel: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"account">, z.ZodLiteral<"inherit">, z.ZodLiteral<"policy">]>>;
|
|
596
631
|
invoiceFeeAmount: z.ZodOptional<z.ZodNumber>;
|
|
597
|
-
},
|
|
632
|
+
}, {
|
|
633
|
+
billingLevel: z.ZodEnum<["account", "inherit", "policy"]>;
|
|
634
|
+
}>, "strip", z.ZodTypeAny, {
|
|
635
|
+
billingLevel: "account" | "inherit" | "policy";
|
|
598
636
|
billingPlanName?: string | undefined;
|
|
599
|
-
billingLevel?: "account" | "inherit" | "policy" | undefined;
|
|
600
637
|
invoiceFeeAmount?: number | undefined;
|
|
601
638
|
}, {
|
|
639
|
+
billingLevel: "account" | "inherit" | "policy";
|
|
602
640
|
billingPlanName?: string | undefined;
|
|
603
|
-
billingLevel?: "account" | "inherit" | "policy" | undefined;
|
|
604
641
|
invoiceFeeAmount?: number | undefined;
|
|
605
642
|
}>>;
|
|
606
643
|
}, "strip", z.ZodTypeAny, {
|
|
607
644
|
billingPreferences?: {
|
|
645
|
+
billingLevel: "account" | "inherit" | "policy";
|
|
608
646
|
billingPlanName?: string | undefined;
|
|
609
|
-
billingLevel?: "account" | "inherit" | "policy" | undefined;
|
|
610
647
|
invoiceFeeAmount?: number | undefined;
|
|
611
648
|
} | undefined;
|
|
612
649
|
installmentPreferences?: {
|
|
613
|
-
installmentWeights: number[];
|
|
614
650
|
dayOfMonth?: number | undefined;
|
|
615
651
|
anchorTime?: string | undefined;
|
|
616
652
|
dayOfWeek?: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday" | undefined;
|
|
@@ -622,16 +658,16 @@ export declare const AccountResponseSchema: z.ZodObject<{
|
|
|
622
658
|
dueLeadDays?: number | undefined;
|
|
623
659
|
generateLeadDays?: number | undefined;
|
|
624
660
|
maxInstallmentsPerTerm?: number | undefined;
|
|
661
|
+
installmentWeights?: number[] | undefined;
|
|
625
662
|
invoiceFeeAmount?: number | undefined;
|
|
626
663
|
} | undefined;
|
|
627
664
|
}, {
|
|
628
665
|
billingPreferences?: {
|
|
666
|
+
billingLevel: "account" | "inherit" | "policy";
|
|
629
667
|
billingPlanName?: string | undefined;
|
|
630
|
-
billingLevel?: "account" | "inherit" | "policy" | undefined;
|
|
631
668
|
invoiceFeeAmount?: number | undefined;
|
|
632
669
|
} | undefined;
|
|
633
670
|
installmentPreferences?: {
|
|
634
|
-
installmentWeights: number[];
|
|
635
671
|
dayOfMonth?: number | undefined;
|
|
636
672
|
anchorTime?: string | undefined;
|
|
637
673
|
dayOfWeek?: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday" | undefined;
|
|
@@ -643,46 +679,16 @@ export declare const AccountResponseSchema: z.ZodObject<{
|
|
|
643
679
|
dueLeadDays?: number | undefined;
|
|
644
680
|
generateLeadDays?: number | undefined;
|
|
645
681
|
maxInstallmentsPerTerm?: number | undefined;
|
|
682
|
+
installmentWeights?: number[] | undefined;
|
|
646
683
|
invoiceFeeAmount?: number | undefined;
|
|
647
684
|
} | undefined;
|
|
648
|
-
}>;
|
|
649
|
-
validationResult: z.ZodOptional<z.ZodObject<{
|
|
650
|
-
validationItems: z.ZodArray<z.ZodObject<{
|
|
651
|
-
elementType: z.ZodString;
|
|
652
|
-
locator: z.ZodOptional<z.ZodString>;
|
|
653
|
-
errors: z.ZodArray<z.ZodString, "many">;
|
|
654
|
-
}, "strip", z.ZodTypeAny, {
|
|
655
|
-
elementType: string;
|
|
656
|
-
errors: string[];
|
|
657
|
-
locator?: string | undefined;
|
|
658
|
-
}, {
|
|
659
|
-
elementType: string;
|
|
660
|
-
errors: string[];
|
|
661
|
-
locator?: string | undefined;
|
|
662
|
-
}>, "many">;
|
|
663
|
-
success: z.ZodBoolean;
|
|
664
|
-
}, "strip", z.ZodTypeAny, {
|
|
665
|
-
validationItems: {
|
|
666
|
-
elementType: string;
|
|
667
|
-
errors: string[];
|
|
668
|
-
locator?: string | undefined;
|
|
669
|
-
}[];
|
|
670
|
-
success: boolean;
|
|
671
|
-
}, {
|
|
672
|
-
validationItems: {
|
|
673
|
-
elementType: string;
|
|
674
|
-
errors: string[];
|
|
675
|
-
locator?: string | undefined;
|
|
676
|
-
}[];
|
|
677
|
-
success: boolean;
|
|
678
685
|
}>>;
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
contacts: z.ZodArray<z.ZodObject<{
|
|
686
|
+
region: z.ZodOptional<z.ZodString>;
|
|
687
|
+
invoiceFeeHandling: z.ZodOptional<z.ZodEnum<["max", "min", "sum", "waive"]>>;
|
|
688
|
+
invoiceFeeAmounts: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
|
|
689
|
+
timezone: z.ZodOptional<z.ZodString>;
|
|
690
|
+
accountNumber: z.ZodOptional<z.ZodString>;
|
|
691
|
+
contacts: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
686
692
|
contactLocator: z.ZodString;
|
|
687
693
|
roles: z.ZodArray<z.ZodString, "many">;
|
|
688
694
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -691,28 +697,29 @@ export declare const AccountResponseSchema: z.ZodObject<{
|
|
|
691
697
|
}, {
|
|
692
698
|
contactLocator: string;
|
|
693
699
|
roles: string[];
|
|
694
|
-
}>, "many"
|
|
695
|
-
state: z.
|
|
700
|
+
}>, "many">>;
|
|
701
|
+
state: z.ZodOptional<z.ZodEnum<["draft", "validated", "discarded"]>>;
|
|
702
|
+
type: z.ZodString;
|
|
696
703
|
}, "strip", z.ZodTypeAny, {
|
|
697
704
|
locator: string;
|
|
698
705
|
type: string;
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
706
|
+
accountState: "draft" | "validated" | "discarded";
|
|
707
|
+
billingLevel?: "account" | "inherit" | "policy" | undefined;
|
|
708
|
+
data?: Record<string, any> | undefined;
|
|
709
|
+
invoiceFeeAmounts?: Record<string, number> | undefined;
|
|
710
|
+
contacts?: {
|
|
703
711
|
contactLocator: string;
|
|
704
712
|
roles: string[];
|
|
705
|
-
}[];
|
|
706
|
-
state
|
|
707
|
-
timezone
|
|
708
|
-
preferences
|
|
713
|
+
}[] | undefined;
|
|
714
|
+
state?: "draft" | "validated" | "discarded" | undefined;
|
|
715
|
+
timezone?: string | undefined;
|
|
716
|
+
preferences?: {
|
|
709
717
|
billingPreferences?: {
|
|
718
|
+
billingLevel: "account" | "inherit" | "policy";
|
|
710
719
|
billingPlanName?: string | undefined;
|
|
711
|
-
billingLevel?: "account" | "inherit" | "policy" | undefined;
|
|
712
720
|
invoiceFeeAmount?: number | undefined;
|
|
713
721
|
} | undefined;
|
|
714
722
|
installmentPreferences?: {
|
|
715
|
-
installmentWeights: number[];
|
|
716
723
|
dayOfMonth?: number | undefined;
|
|
717
724
|
anchorTime?: string | undefined;
|
|
718
725
|
dayOfWeek?: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday" | undefined;
|
|
@@ -724,46 +731,46 @@ export declare const AccountResponseSchema: z.ZodObject<{
|
|
|
724
731
|
dueLeadDays?: number | undefined;
|
|
725
732
|
generateLeadDays?: number | undefined;
|
|
726
733
|
maxInstallmentsPerTerm?: number | undefined;
|
|
734
|
+
installmentWeights?: number[] | undefined;
|
|
727
735
|
invoiceFeeAmount?: number | undefined;
|
|
728
736
|
} | undefined;
|
|
729
|
-
};
|
|
730
|
-
delinquencyPlanName
|
|
731
|
-
autoRenewalPlanName
|
|
732
|
-
region
|
|
733
|
-
accountState: "draft" | "validated" | "discarded";
|
|
734
|
-
shortfallTolerancePlanName: string;
|
|
735
|
-
excessCreditPlanName: string;
|
|
736
|
-
invoiceFeeHandling: "min" | "max" | "sum" | "waive";
|
|
737
|
-
invoiceDocument: string;
|
|
738
|
-
accountNumber: string;
|
|
737
|
+
} | undefined;
|
|
738
|
+
delinquencyPlanName?: string | undefined;
|
|
739
|
+
autoRenewalPlanName?: string | undefined;
|
|
740
|
+
region?: string | undefined;
|
|
739
741
|
validationResult?: {
|
|
740
|
-
|
|
742
|
+
success: boolean;
|
|
743
|
+
validationItems?: {
|
|
741
744
|
elementType: string;
|
|
745
|
+
locator: string;
|
|
742
746
|
errors: string[];
|
|
743
|
-
|
|
744
|
-
}[];
|
|
745
|
-
success: boolean;
|
|
747
|
+
}[] | undefined;
|
|
746
748
|
} | undefined;
|
|
749
|
+
shortfallTolerancePlanName?: string | undefined;
|
|
750
|
+
excessCreditPlanName?: string | undefined;
|
|
751
|
+
invoiceFeeHandling?: "min" | "max" | "sum" | "waive" | undefined;
|
|
752
|
+
invoiceDocument?: string | undefined;
|
|
753
|
+
accountNumber?: string | undefined;
|
|
747
754
|
}, {
|
|
748
755
|
locator: string;
|
|
749
756
|
type: string;
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
757
|
+
accountState: "draft" | "validated" | "discarded";
|
|
758
|
+
billingLevel?: "account" | "inherit" | "policy" | undefined;
|
|
759
|
+
data?: Record<string, any> | undefined;
|
|
760
|
+
invoiceFeeAmounts?: Record<string, number> | undefined;
|
|
761
|
+
contacts?: {
|
|
754
762
|
contactLocator: string;
|
|
755
763
|
roles: string[];
|
|
756
|
-
}[];
|
|
757
|
-
state
|
|
758
|
-
timezone
|
|
759
|
-
preferences
|
|
764
|
+
}[] | undefined;
|
|
765
|
+
state?: "draft" | "validated" | "discarded" | undefined;
|
|
766
|
+
timezone?: string | undefined;
|
|
767
|
+
preferences?: {
|
|
760
768
|
billingPreferences?: {
|
|
769
|
+
billingLevel: "account" | "inherit" | "policy";
|
|
761
770
|
billingPlanName?: string | undefined;
|
|
762
|
-
billingLevel?: "account" | "inherit" | "policy" | undefined;
|
|
763
771
|
invoiceFeeAmount?: number | undefined;
|
|
764
772
|
} | undefined;
|
|
765
773
|
installmentPreferences?: {
|
|
766
|
-
installmentWeights: number[];
|
|
767
774
|
dayOfMonth?: number | undefined;
|
|
768
775
|
anchorTime?: string | undefined;
|
|
769
776
|
dayOfWeek?: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday" | undefined;
|
|
@@ -775,278 +782,46 @@ export declare const AccountResponseSchema: z.ZodObject<{
|
|
|
775
782
|
dueLeadDays?: number | undefined;
|
|
776
783
|
generateLeadDays?: number | undefined;
|
|
777
784
|
maxInstallmentsPerTerm?: number | undefined;
|
|
785
|
+
installmentWeights?: number[] | undefined;
|
|
778
786
|
invoiceFeeAmount?: number | undefined;
|
|
779
787
|
} | undefined;
|
|
780
|
-
};
|
|
781
|
-
delinquencyPlanName
|
|
782
|
-
autoRenewalPlanName
|
|
783
|
-
region
|
|
784
|
-
accountState: "draft" | "validated" | "discarded";
|
|
785
|
-
shortfallTolerancePlanName: string;
|
|
786
|
-
excessCreditPlanName: string;
|
|
787
|
-
invoiceFeeHandling: "min" | "max" | "sum" | "waive";
|
|
788
|
-
invoiceDocument: string;
|
|
789
|
-
accountNumber: string;
|
|
788
|
+
} | undefined;
|
|
789
|
+
delinquencyPlanName?: string | undefined;
|
|
790
|
+
autoRenewalPlanName?: string | undefined;
|
|
791
|
+
region?: string | undefined;
|
|
790
792
|
validationResult?: {
|
|
791
|
-
|
|
793
|
+
success: boolean;
|
|
794
|
+
validationItems?: {
|
|
792
795
|
elementType: string;
|
|
796
|
+
locator: string;
|
|
793
797
|
errors: string[];
|
|
794
|
-
|
|
795
|
-
}[];
|
|
796
|
-
success: boolean;
|
|
798
|
+
}[] | undefined;
|
|
797
799
|
} | undefined;
|
|
800
|
+
shortfallTolerancePlanName?: string | undefined;
|
|
801
|
+
excessCreditPlanName?: string | undefined;
|
|
802
|
+
invoiceFeeHandling?: "min" | "max" | "sum" | "waive" | undefined;
|
|
803
|
+
invoiceDocument?: string | undefined;
|
|
804
|
+
accountNumber?: string | undefined;
|
|
798
805
|
}>;
|
|
799
806
|
|
|
800
|
-
export declare
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
807
|
+
export declare type AccountResponseType = z.infer<typeof AccountResponseSchema>;
|
|
808
|
+
|
|
809
|
+
export declare type AccountStateEnum = z.infer<typeof accountStateEnumSchema>;
|
|
810
|
+
|
|
811
|
+
export declare const AccountStateEnumSchema: z.ZodEnum<["draft", "validated", "discarded"]>;
|
|
812
|
+
|
|
813
|
+
export declare const accountStateEnumSchema: z.ZodEnum<["draft", "validated", "discarded"]>;
|
|
814
|
+
|
|
815
|
+
export declare type AccountUpdateRequest = z.infer<typeof accountUpdateSchema>;
|
|
816
|
+
|
|
817
|
+
export declare const accountUpdateSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
818
|
+
type: z.ZodOptional<z.ZodString>;
|
|
819
|
+
autoValidate: z.ZodOptional<z.ZodBoolean>;
|
|
805
820
|
autoRenewalPlanName: z.ZodOptional<z.ZodString>;
|
|
806
821
|
delinquencyPlanName: z.ZodOptional<z.ZodString>;
|
|
807
822
|
excessCreditPlanName: z.ZodOptional<z.ZodString>;
|
|
808
823
|
shortfallTolerancePlanName: z.ZodOptional<z.ZodString>;
|
|
809
|
-
billingLevel: z.ZodOptional<z.ZodEnum<["account", "policy"]>>;
|
|
810
|
-
invoiceDocument: z.ZodOptional<z.ZodString>;
|
|
811
|
-
validationResult: z.ZodOptional<z.ZodObject<{
|
|
812
|
-
validationItems: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
813
|
-
elementType: z.ZodOptional<z.ZodString>;
|
|
814
|
-
locator: z.ZodOptional<z.ZodString>;
|
|
815
|
-
errors: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
816
|
-
}, "strip", z.ZodTypeAny, {
|
|
817
|
-
elementType?: string | undefined;
|
|
818
|
-
locator?: string | undefined;
|
|
819
|
-
errors?: string[] | undefined;
|
|
820
|
-
}, {
|
|
821
|
-
elementType?: string | undefined;
|
|
822
|
-
locator?: string | undefined;
|
|
823
|
-
errors?: string[] | undefined;
|
|
824
|
-
}>, "many">>;
|
|
825
|
-
success: z.ZodOptional<z.ZodBoolean>;
|
|
826
|
-
}, "strip", z.ZodTypeAny, {
|
|
827
|
-
validationItems?: {
|
|
828
|
-
elementType?: string | undefined;
|
|
829
|
-
locator?: string | undefined;
|
|
830
|
-
errors?: string[] | undefined;
|
|
831
|
-
}[] | undefined;
|
|
832
|
-
success?: boolean | undefined;
|
|
833
|
-
}, {
|
|
834
|
-
validationItems?: {
|
|
835
|
-
elementType?: string | undefined;
|
|
836
|
-
locator?: string | undefined;
|
|
837
|
-
errors?: string[] | undefined;
|
|
838
|
-
}[] | undefined;
|
|
839
|
-
success?: boolean | undefined;
|
|
840
|
-
}>>;
|
|
841
|
-
preferences: z.ZodOptional<z.ZodObject<{
|
|
842
|
-
installmentPreferences: z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
|
|
843
|
-
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">]>>;
|
|
844
|
-
anchorMode: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"generateDay">, z.ZodLiteral<"termStartDay">, z.ZodLiteral<"dueDay">]>>;
|
|
845
|
-
generateLeadDays: z.ZodOptional<z.ZodNumber>;
|
|
846
|
-
dueLeadDays: z.ZodOptional<z.ZodNumber>;
|
|
847
|
-
installmentWeights: z.ZodArray<z.ZodNumber, "many">;
|
|
848
|
-
maxInstallmentsPerTerm: z.ZodOptional<z.ZodNumber>;
|
|
849
|
-
installmentPlanName: z.ZodOptional<z.ZodString>;
|
|
850
|
-
anchorType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"none">, z.ZodLiteral<"dayOfMonth">, z.ZodLiteral<"anchorTime">, z.ZodLiteral<"dayOfWeek">, z.ZodLiteral<"weekOfMonth">]>>;
|
|
851
|
-
dayOfMonth: z.ZodOptional<z.ZodNumber>;
|
|
852
|
-
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">]>>;
|
|
853
|
-
weekOfMonth: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"none">, z.ZodLiteral<"first">, z.ZodLiteral<"second">, z.ZodLiteral<"third">, z.ZodLiteral<"fourth">, z.ZodLiteral<"fifth">]>>;
|
|
854
|
-
anchorTime: z.ZodOptional<z.ZodString>;
|
|
855
|
-
invoiceFeeAmount: z.ZodOptional<z.ZodNumber>;
|
|
856
|
-
}, {
|
|
857
|
-
cadence: z.ZodOptional<z.ZodEnum<["none", "fullPay", "weekly", "everyOtherWeek", "monthly", "quarterly", "semiannually", "annually", "thirtyDays", "everyNDays"]>>;
|
|
858
|
-
anchorMode: z.ZodOptional<z.ZodEnum<["generateDay", "termStartDay", "dueDay"]>>;
|
|
859
|
-
anchorType: z.ZodOptional<z.ZodEnum<["none", "dayOfMonth", "anchorTime", "dayOfWeek", "weekOfMonth"]>>;
|
|
860
|
-
dayOfWeek: z.ZodOptional<z.ZodEnum<["monday", "tuesday", "wednesday", "thursday", "friday", "saturday", "sunday"]>>;
|
|
861
|
-
weekOfMonth: z.ZodOptional<z.ZodEnum<["none", "first", "second", "third", "fourth", "fifth"]>>;
|
|
862
|
-
installmentWeights: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
863
|
-
}>, "strip", z.ZodTypeAny, {
|
|
864
|
-
dayOfMonth?: number | undefined;
|
|
865
|
-
anchorTime?: string | undefined;
|
|
866
|
-
dayOfWeek?: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday" | undefined;
|
|
867
|
-
weekOfMonth?: "none" | "first" | "second" | "third" | "fourth" | "fifth" | undefined;
|
|
868
|
-
installmentPlanName?: string | undefined;
|
|
869
|
-
anchorMode?: "generateDay" | "termStartDay" | "dueDay" | undefined;
|
|
870
|
-
anchorType?: "none" | "dayOfMonth" | "anchorTime" | "dayOfWeek" | "weekOfMonth" | undefined;
|
|
871
|
-
cadence?: "none" | "fullPay" | "weekly" | "everyOtherWeek" | "monthly" | "quarterly" | "semiannually" | "annually" | "thirtyDays" | "everyNDays" | undefined;
|
|
872
|
-
dueLeadDays?: number | undefined;
|
|
873
|
-
generateLeadDays?: number | undefined;
|
|
874
|
-
maxInstallmentsPerTerm?: number | undefined;
|
|
875
|
-
installmentWeights?: number[] | undefined;
|
|
876
|
-
invoiceFeeAmount?: number | undefined;
|
|
877
|
-
}, {
|
|
878
|
-
dayOfMonth?: number | undefined;
|
|
879
|
-
anchorTime?: string | undefined;
|
|
880
|
-
dayOfWeek?: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday" | undefined;
|
|
881
|
-
weekOfMonth?: "none" | "first" | "second" | "third" | "fourth" | "fifth" | undefined;
|
|
882
|
-
installmentPlanName?: string | undefined;
|
|
883
|
-
anchorMode?: "generateDay" | "termStartDay" | "dueDay" | undefined;
|
|
884
|
-
anchorType?: "none" | "dayOfMonth" | "anchorTime" | "dayOfWeek" | "weekOfMonth" | undefined;
|
|
885
|
-
cadence?: "none" | "fullPay" | "weekly" | "everyOtherWeek" | "monthly" | "quarterly" | "semiannually" | "annually" | "thirtyDays" | "everyNDays" | undefined;
|
|
886
|
-
dueLeadDays?: number | undefined;
|
|
887
|
-
generateLeadDays?: number | undefined;
|
|
888
|
-
maxInstallmentsPerTerm?: number | undefined;
|
|
889
|
-
installmentWeights?: number[] | undefined;
|
|
890
|
-
invoiceFeeAmount?: number | undefined;
|
|
891
|
-
}>>;
|
|
892
|
-
billingPreferences: z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
|
|
893
|
-
billingPlanName: z.ZodOptional<z.ZodString>;
|
|
894
|
-
billingLevel: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"account">, z.ZodLiteral<"inherit">, z.ZodLiteral<"policy">]>>;
|
|
895
|
-
invoiceFeeAmount: z.ZodOptional<z.ZodNumber>;
|
|
896
|
-
}, {
|
|
897
|
-
billingLevel: z.ZodEnum<["account", "inherit", "policy"]>;
|
|
898
|
-
}>, "strip", z.ZodTypeAny, {
|
|
899
|
-
billingLevel: "account" | "inherit" | "policy";
|
|
900
|
-
billingPlanName?: string | undefined;
|
|
901
|
-
invoiceFeeAmount?: number | undefined;
|
|
902
|
-
}, {
|
|
903
|
-
billingLevel: "account" | "inherit" | "policy";
|
|
904
|
-
billingPlanName?: string | undefined;
|
|
905
|
-
invoiceFeeAmount?: number | undefined;
|
|
906
|
-
}>>;
|
|
907
|
-
}, "strip", z.ZodTypeAny, {
|
|
908
|
-
billingPreferences?: {
|
|
909
|
-
billingLevel: "account" | "inherit" | "policy";
|
|
910
|
-
billingPlanName?: string | undefined;
|
|
911
|
-
invoiceFeeAmount?: number | undefined;
|
|
912
|
-
} | undefined;
|
|
913
|
-
installmentPreferences?: {
|
|
914
|
-
dayOfMonth?: number | undefined;
|
|
915
|
-
anchorTime?: string | undefined;
|
|
916
|
-
dayOfWeek?: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday" | undefined;
|
|
917
|
-
weekOfMonth?: "none" | "first" | "second" | "third" | "fourth" | "fifth" | undefined;
|
|
918
|
-
installmentPlanName?: string | undefined;
|
|
919
|
-
anchorMode?: "generateDay" | "termStartDay" | "dueDay" | undefined;
|
|
920
|
-
anchorType?: "none" | "dayOfMonth" | "anchorTime" | "dayOfWeek" | "weekOfMonth" | undefined;
|
|
921
|
-
cadence?: "none" | "fullPay" | "weekly" | "everyOtherWeek" | "monthly" | "quarterly" | "semiannually" | "annually" | "thirtyDays" | "everyNDays" | undefined;
|
|
922
|
-
dueLeadDays?: number | undefined;
|
|
923
|
-
generateLeadDays?: number | undefined;
|
|
924
|
-
maxInstallmentsPerTerm?: number | undefined;
|
|
925
|
-
installmentWeights?: number[] | undefined;
|
|
926
|
-
invoiceFeeAmount?: number | undefined;
|
|
927
|
-
} | undefined;
|
|
928
|
-
}, {
|
|
929
|
-
billingPreferences?: {
|
|
930
|
-
billingLevel: "account" | "inherit" | "policy";
|
|
931
|
-
billingPlanName?: string | undefined;
|
|
932
|
-
invoiceFeeAmount?: number | undefined;
|
|
933
|
-
} | undefined;
|
|
934
|
-
installmentPreferences?: {
|
|
935
|
-
dayOfMonth?: number | undefined;
|
|
936
|
-
anchorTime?: string | undefined;
|
|
937
|
-
dayOfWeek?: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday" | undefined;
|
|
938
|
-
weekOfMonth?: "none" | "first" | "second" | "third" | "fourth" | "fifth" | undefined;
|
|
939
|
-
installmentPlanName?: string | undefined;
|
|
940
|
-
anchorMode?: "generateDay" | "termStartDay" | "dueDay" | undefined;
|
|
941
|
-
anchorType?: "none" | "dayOfMonth" | "anchorTime" | "dayOfWeek" | "weekOfMonth" | undefined;
|
|
942
|
-
cadence?: "none" | "fullPay" | "weekly" | "everyOtherWeek" | "monthly" | "quarterly" | "semiannually" | "annually" | "thirtyDays" | "everyNDays" | undefined;
|
|
943
|
-
dueLeadDays?: number | undefined;
|
|
944
|
-
generateLeadDays?: number | undefined;
|
|
945
|
-
maxInstallmentsPerTerm?: number | undefined;
|
|
946
|
-
installmentWeights?: number[] | undefined;
|
|
947
|
-
invoiceFeeAmount?: number | undefined;
|
|
948
|
-
} | undefined;
|
|
949
|
-
}>>;
|
|
950
|
-
}, "strip", z.ZodTypeAny, {
|
|
951
|
-
locator: string;
|
|
952
|
-
type: string;
|
|
953
|
-
accountState: "draft" | "validated" | "discarded";
|
|
954
|
-
billingLevel?: "account" | "policy" | undefined;
|
|
955
|
-
data?: Record<string, any> | undefined;
|
|
956
|
-
preferences?: {
|
|
957
|
-
billingPreferences?: {
|
|
958
|
-
billingLevel: "account" | "inherit" | "policy";
|
|
959
|
-
billingPlanName?: string | undefined;
|
|
960
|
-
invoiceFeeAmount?: number | undefined;
|
|
961
|
-
} | undefined;
|
|
962
|
-
installmentPreferences?: {
|
|
963
|
-
dayOfMonth?: number | undefined;
|
|
964
|
-
anchorTime?: string | undefined;
|
|
965
|
-
dayOfWeek?: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday" | undefined;
|
|
966
|
-
weekOfMonth?: "none" | "first" | "second" | "third" | "fourth" | "fifth" | undefined;
|
|
967
|
-
installmentPlanName?: string | undefined;
|
|
968
|
-
anchorMode?: "generateDay" | "termStartDay" | "dueDay" | undefined;
|
|
969
|
-
anchorType?: "none" | "dayOfMonth" | "anchorTime" | "dayOfWeek" | "weekOfMonth" | undefined;
|
|
970
|
-
cadence?: "none" | "fullPay" | "weekly" | "everyOtherWeek" | "monthly" | "quarterly" | "semiannually" | "annually" | "thirtyDays" | "everyNDays" | undefined;
|
|
971
|
-
dueLeadDays?: number | undefined;
|
|
972
|
-
generateLeadDays?: number | undefined;
|
|
973
|
-
maxInstallmentsPerTerm?: number | undefined;
|
|
974
|
-
installmentWeights?: number[] | undefined;
|
|
975
|
-
invoiceFeeAmount?: number | undefined;
|
|
976
|
-
} | undefined;
|
|
977
|
-
} | undefined;
|
|
978
|
-
delinquencyPlanName?: string | undefined;
|
|
979
|
-
autoRenewalPlanName?: string | undefined;
|
|
980
|
-
validationResult?: {
|
|
981
|
-
validationItems?: {
|
|
982
|
-
elementType?: string | undefined;
|
|
983
|
-
locator?: string | undefined;
|
|
984
|
-
errors?: string[] | undefined;
|
|
985
|
-
}[] | undefined;
|
|
986
|
-
success?: boolean | undefined;
|
|
987
|
-
} | undefined;
|
|
988
|
-
shortfallTolerancePlanName?: string | undefined;
|
|
989
|
-
excessCreditPlanName?: string | undefined;
|
|
990
|
-
invoiceDocument?: string | undefined;
|
|
991
|
-
}, {
|
|
992
|
-
locator: string;
|
|
993
|
-
type: string;
|
|
994
|
-
accountState: "draft" | "validated" | "discarded";
|
|
995
|
-
billingLevel?: "account" | "policy" | undefined;
|
|
996
|
-
data?: Record<string, any> | undefined;
|
|
997
|
-
preferences?: {
|
|
998
|
-
billingPreferences?: {
|
|
999
|
-
billingLevel: "account" | "inherit" | "policy";
|
|
1000
|
-
billingPlanName?: string | undefined;
|
|
1001
|
-
invoiceFeeAmount?: number | undefined;
|
|
1002
|
-
} | undefined;
|
|
1003
|
-
installmentPreferences?: {
|
|
1004
|
-
dayOfMonth?: number | undefined;
|
|
1005
|
-
anchorTime?: string | undefined;
|
|
1006
|
-
dayOfWeek?: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday" | undefined;
|
|
1007
|
-
weekOfMonth?: "none" | "first" | "second" | "third" | "fourth" | "fifth" | undefined;
|
|
1008
|
-
installmentPlanName?: string | undefined;
|
|
1009
|
-
anchorMode?: "generateDay" | "termStartDay" | "dueDay" | undefined;
|
|
1010
|
-
anchorType?: "none" | "dayOfMonth" | "anchorTime" | "dayOfWeek" | "weekOfMonth" | undefined;
|
|
1011
|
-
cadence?: "none" | "fullPay" | "weekly" | "everyOtherWeek" | "monthly" | "quarterly" | "semiannually" | "annually" | "thirtyDays" | "everyNDays" | undefined;
|
|
1012
|
-
dueLeadDays?: number | undefined;
|
|
1013
|
-
generateLeadDays?: number | undefined;
|
|
1014
|
-
maxInstallmentsPerTerm?: number | undefined;
|
|
1015
|
-
installmentWeights?: number[] | undefined;
|
|
1016
|
-
invoiceFeeAmount?: number | undefined;
|
|
1017
|
-
} | undefined;
|
|
1018
|
-
} | undefined;
|
|
1019
|
-
delinquencyPlanName?: string | undefined;
|
|
1020
|
-
autoRenewalPlanName?: string | undefined;
|
|
1021
|
-
validationResult?: {
|
|
1022
|
-
validationItems?: {
|
|
1023
|
-
elementType?: string | undefined;
|
|
1024
|
-
locator?: string | undefined;
|
|
1025
|
-
errors?: string[] | undefined;
|
|
1026
|
-
}[] | undefined;
|
|
1027
|
-
success?: boolean | undefined;
|
|
1028
|
-
} | undefined;
|
|
1029
|
-
shortfallTolerancePlanName?: string | undefined;
|
|
1030
|
-
excessCreditPlanName?: string | undefined;
|
|
1031
|
-
invoiceDocument?: string | undefined;
|
|
1032
|
-
}>;
|
|
1033
|
-
|
|
1034
|
-
export declare type AccountResponseType = z.infer<typeof AccountResponseSchema>;
|
|
1035
|
-
|
|
1036
|
-
export declare type AccountStateEnum = z.infer<typeof accountStateEnumSchema>;
|
|
1037
|
-
|
|
1038
|
-
export declare const accountStateEnumSchema: z.ZodEnum<["draft", "validated", "discarded"]>;
|
|
1039
|
-
|
|
1040
|
-
export declare type AccountUpdateRequest = z.infer<typeof accountUpdateSchema>;
|
|
1041
|
-
|
|
1042
|
-
export declare const accountUpdateSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
1043
|
-
type: z.ZodOptional<z.ZodString>;
|
|
1044
|
-
autoValidate: z.ZodOptional<z.ZodBoolean>;
|
|
1045
|
-
autoRenewalPlanName: z.ZodOptional<z.ZodString>;
|
|
1046
|
-
delinquencyPlanName: z.ZodOptional<z.ZodString>;
|
|
1047
|
-
excessCreditPlanName: z.ZodOptional<z.ZodString>;
|
|
1048
|
-
shortfallTolerancePlanName: z.ZodOptional<z.ZodString>;
|
|
1049
|
-
billingLevel: z.ZodOptional<z.ZodEnum<["account", "policy"]>>;
|
|
824
|
+
billingLevel: z.ZodOptional<z.ZodEnum<["account", "inherit", "policy"]>>;
|
|
1050
825
|
invoiceDocument: z.ZodOptional<z.ZodString>;
|
|
1051
826
|
preferences: z.ZodOptional<z.ZodObject<{
|
|
1052
827
|
installmentPreferences: z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
|
|
@@ -1162,7 +937,7 @@ export declare const accountUpdateSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1162
937
|
removeData: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
1163
938
|
}>, "strip", z.ZodTypeAny, {
|
|
1164
939
|
type?: string | undefined;
|
|
1165
|
-
billingLevel?: "account" | "policy" | undefined;
|
|
940
|
+
billingLevel?: "account" | "inherit" | "policy" | undefined;
|
|
1166
941
|
setData?: Record<string, any> | undefined;
|
|
1167
942
|
removeData?: Record<string, any> | undefined;
|
|
1168
943
|
preferences?: {
|
|
@@ -1195,7 +970,7 @@ export declare const accountUpdateSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1195
970
|
autoValidate?: boolean | undefined;
|
|
1196
971
|
}, {
|
|
1197
972
|
type?: string | undefined;
|
|
1198
|
-
billingLevel?: "account" | "policy" | undefined;
|
|
973
|
+
billingLevel?: "account" | "inherit" | "policy" | undefined;
|
|
1199
974
|
setData?: Record<string, any> | undefined;
|
|
1200
975
|
removeData?: Record<string, any> | undefined;
|
|
1201
976
|
preferences?: {
|
|
@@ -1891,6 +1666,19 @@ export declare type ActivityListResponseBff = z.infer<typeof ActivityListRespons
|
|
|
1891
1666
|
export declare const ActivityListResponseBffSchema: z.ZodObject<{
|
|
1892
1667
|
listCompleted: z.ZodBoolean;
|
|
1893
1668
|
items: z.ZodArray<z.ZodObject<{
|
|
1669
|
+
references: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1670
|
+
entityNumer: z.ZodOptional<z.ZodString>;
|
|
1671
|
+
referenceType: z.ZodEnum<["account", "quickQuote", "quote", "policy", "transaction", "invoice"]>;
|
|
1672
|
+
referenceLocator: z.ZodString;
|
|
1673
|
+
}, "strip", z.ZodTypeAny, {
|
|
1674
|
+
referenceType: "account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote";
|
|
1675
|
+
referenceLocator: string;
|
|
1676
|
+
entityNumer?: string | undefined;
|
|
1677
|
+
}, {
|
|
1678
|
+
referenceType: "account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote";
|
|
1679
|
+
referenceLocator: string;
|
|
1680
|
+
entityNumer?: string | undefined;
|
|
1681
|
+
}>, "many">>;
|
|
1894
1682
|
assignedTo: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
1895
1683
|
locator: z.ZodString;
|
|
1896
1684
|
userName: z.ZodString;
|
|
@@ -1968,16 +1756,6 @@ export declare const ActivityListResponseBffSchema: z.ZodObject<{
|
|
|
1968
1756
|
}>]>>;
|
|
1969
1757
|
locator: z.ZodString;
|
|
1970
1758
|
activityState: z.ZodEnum<["active", "pastDeadline", "completed", "cancelled"]>;
|
|
1971
|
-
references: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1972
|
-
referenceType: z.ZodEnum<["account", "quickQuote", "quote", "policy", "transaction", "invoice"]>;
|
|
1973
|
-
referenceLocator: z.ZodString;
|
|
1974
|
-
}, "strip", z.ZodTypeAny, {
|
|
1975
|
-
referenceType: "account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote";
|
|
1976
|
-
referenceLocator: string;
|
|
1977
|
-
}, {
|
|
1978
|
-
referenceType: "account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote";
|
|
1979
|
-
referenceLocator: string;
|
|
1980
|
-
}>, "many">>;
|
|
1981
1759
|
underwritingFlagLocators: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1982
1760
|
deadlineTime: z.ZodOptional<z.ZodString>;
|
|
1983
1761
|
createdAt: z.ZodString;
|
|
@@ -2013,6 +1791,7 @@ export declare const ActivityListResponseBffSchema: z.ZodObject<{
|
|
|
2013
1791
|
references?: {
|
|
2014
1792
|
referenceType: "account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote";
|
|
2015
1793
|
referenceLocator: string;
|
|
1794
|
+
entityNumer?: string | undefined;
|
|
2016
1795
|
}[] | undefined;
|
|
2017
1796
|
underwritingFlagLocators?: string[] | undefined;
|
|
2018
1797
|
assignedTo?: {
|
|
@@ -2053,6 +1832,7 @@ export declare const ActivityListResponseBffSchema: z.ZodObject<{
|
|
|
2053
1832
|
references?: {
|
|
2054
1833
|
referenceType: "account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote";
|
|
2055
1834
|
referenceLocator: string;
|
|
1835
|
+
entityNumer?: string | undefined;
|
|
2056
1836
|
}[] | undefined;
|
|
2057
1837
|
underwritingFlagLocators?: string[] | undefined;
|
|
2058
1838
|
assignedTo?: {
|
|
@@ -2095,6 +1875,7 @@ export declare const ActivityListResponseBffSchema: z.ZodObject<{
|
|
|
2095
1875
|
references?: {
|
|
2096
1876
|
referenceType: "account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote";
|
|
2097
1877
|
referenceLocator: string;
|
|
1878
|
+
entityNumer?: string | undefined;
|
|
2098
1879
|
}[] | undefined;
|
|
2099
1880
|
underwritingFlagLocators?: string[] | undefined;
|
|
2100
1881
|
assignedTo?: {
|
|
@@ -2138,6 +1919,7 @@ export declare const ActivityListResponseBffSchema: z.ZodObject<{
|
|
|
2138
1919
|
references?: {
|
|
2139
1920
|
referenceType: "account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote";
|
|
2140
1921
|
referenceLocator: string;
|
|
1922
|
+
entityNumer?: string | undefined;
|
|
2141
1923
|
}[] | undefined;
|
|
2142
1924
|
underwritingFlagLocators?: string[] | undefined;
|
|
2143
1925
|
assignedTo?: {
|
|
@@ -2264,6 +2046,22 @@ export declare const ActivityParamsSchema: z.ZodObject<z.objectUtil.extendShape<
|
|
|
2264
2046
|
|
|
2265
2047
|
export declare type ActivityReference = z.infer<typeof ActivityReferenceSchema>;
|
|
2266
2048
|
|
|
2049
|
+
export declare type ActivityReferenceBff = z.infer<typeof ActivityReferenceBffSchema>;
|
|
2050
|
+
|
|
2051
|
+
export declare const ActivityReferenceBffSchema: z.ZodObject<{
|
|
2052
|
+
entityNumer: z.ZodOptional<z.ZodString>;
|
|
2053
|
+
referenceType: z.ZodEnum<["account", "quickQuote", "quote", "policy", "transaction", "invoice"]>;
|
|
2054
|
+
referenceLocator: z.ZodString;
|
|
2055
|
+
}, "strip", z.ZodTypeAny, {
|
|
2056
|
+
referenceType: "account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote";
|
|
2057
|
+
referenceLocator: string;
|
|
2058
|
+
entityNumer?: string | undefined;
|
|
2059
|
+
}, {
|
|
2060
|
+
referenceType: "account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote";
|
|
2061
|
+
referenceLocator: string;
|
|
2062
|
+
entityNumer?: string | undefined;
|
|
2063
|
+
}>;
|
|
2064
|
+
|
|
2267
2065
|
export declare type ActivityReferenceEnum = z.infer<typeof ActivityReferenceEnumSchema>;
|
|
2268
2066
|
|
|
2269
2067
|
export declare const ActivityReferenceEnumSchema: z.ZodEnum<["account", "quickQuote", "quote", "policy", "transaction", "invoice"]>;
|
|
@@ -2284,6 +2082,19 @@ export declare type ActivityResponse = z.infer<typeof ActivityResponseSchema>;
|
|
|
2284
2082
|
export declare type ActivityResponseBff = z.infer<typeof ActivityResponseBffSchema>;
|
|
2285
2083
|
|
|
2286
2084
|
export declare const ActivityResponseBffSchema: z.ZodObject<{
|
|
2085
|
+
references: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2086
|
+
entityNumer: z.ZodOptional<z.ZodString>;
|
|
2087
|
+
referenceType: z.ZodEnum<["account", "quickQuote", "quote", "policy", "transaction", "invoice"]>;
|
|
2088
|
+
referenceLocator: z.ZodString;
|
|
2089
|
+
}, "strip", z.ZodTypeAny, {
|
|
2090
|
+
referenceType: "account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote";
|
|
2091
|
+
referenceLocator: string;
|
|
2092
|
+
entityNumer?: string | undefined;
|
|
2093
|
+
}, {
|
|
2094
|
+
referenceType: "account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote";
|
|
2095
|
+
referenceLocator: string;
|
|
2096
|
+
entityNumer?: string | undefined;
|
|
2097
|
+
}>, "many">>;
|
|
2287
2098
|
assignedTo: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
2288
2099
|
locator: z.ZodString;
|
|
2289
2100
|
userName: z.ZodString;
|
|
@@ -2361,16 +2172,6 @@ export declare const ActivityResponseBffSchema: z.ZodObject<{
|
|
|
2361
2172
|
}>]>>;
|
|
2362
2173
|
locator: z.ZodString;
|
|
2363
2174
|
activityState: z.ZodEnum<["active", "pastDeadline", "completed", "cancelled"]>;
|
|
2364
|
-
references: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2365
|
-
referenceType: z.ZodEnum<["account", "quickQuote", "quote", "policy", "transaction", "invoice"]>;
|
|
2366
|
-
referenceLocator: z.ZodString;
|
|
2367
|
-
}, "strip", z.ZodTypeAny, {
|
|
2368
|
-
referenceType: "account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote";
|
|
2369
|
-
referenceLocator: string;
|
|
2370
|
-
}, {
|
|
2371
|
-
referenceType: "account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote";
|
|
2372
|
-
referenceLocator: string;
|
|
2373
|
-
}>, "many">>;
|
|
2374
2175
|
underwritingFlagLocators: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2375
2176
|
deadlineTime: z.ZodOptional<z.ZodString>;
|
|
2376
2177
|
createdAt: z.ZodString;
|
|
@@ -2406,6 +2207,7 @@ export declare const ActivityResponseBffSchema: z.ZodObject<{
|
|
|
2406
2207
|
references?: {
|
|
2407
2208
|
referenceType: "account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote";
|
|
2408
2209
|
referenceLocator: string;
|
|
2210
|
+
entityNumer?: string | undefined;
|
|
2409
2211
|
}[] | undefined;
|
|
2410
2212
|
underwritingFlagLocators?: string[] | undefined;
|
|
2411
2213
|
assignedTo?: {
|
|
@@ -2446,6 +2248,7 @@ export declare const ActivityResponseBffSchema: z.ZodObject<{
|
|
|
2446
2248
|
references?: {
|
|
2447
2249
|
referenceType: "account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote";
|
|
2448
2250
|
referenceLocator: string;
|
|
2251
|
+
entityNumer?: string | undefined;
|
|
2449
2252
|
}[] | undefined;
|
|
2450
2253
|
underwritingFlagLocators?: string[] | undefined;
|
|
2451
2254
|
assignedTo?: {
|
|
@@ -13952,6 +13755,10 @@ declare const installmentPreferencesSchema: z.ZodObject<{
|
|
|
13952
13755
|
invoiceFeeAmount?: number | undefined;
|
|
13953
13756
|
}>;
|
|
13954
13757
|
|
|
13758
|
+
export declare type InvoiceFeeHandling = z.infer<typeof InvoiceFeeHandlingSchema>;
|
|
13759
|
+
|
|
13760
|
+
export declare const InvoiceFeeHandlingSchema: z.ZodEnum<["max", "min", "sum", "waive"]>;
|
|
13761
|
+
|
|
13955
13762
|
export declare type InvoiceItem = z.infer<typeof InvoiceItemSchema>;
|
|
13956
13763
|
|
|
13957
13764
|
export declare type InvoiceItemResponse = z.infer<typeof invoiceItemResponseSchema>;
|
|
@@ -15868,206 +15675,208 @@ export declare const PolicyListResponseSchema: z.ZodObject<{
|
|
|
15868
15675
|
items: z.ZodArray<z.ZodObject<{
|
|
15869
15676
|
locator: z.ZodString;
|
|
15870
15677
|
accountLocator: z.ZodString;
|
|
15871
|
-
branchHeadTransactionLocators: z.ZodArray<z.ZodString, "many"
|
|
15678
|
+
branchHeadTransactionLocators: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
15872
15679
|
issuedTransactionLocator: z.ZodString;
|
|
15873
15680
|
durationBasis: z.ZodEnum<["none", "years", "months", "monthsE360", "weeks", "days", "hours"]>;
|
|
15874
|
-
createdAt: z.ZodString
|
|
15875
|
-
createdBy: z.ZodString
|
|
15681
|
+
createdAt: z.ZodOptional<z.ZodString>;
|
|
15682
|
+
createdBy: z.ZodOptional<z.ZodString>;
|
|
15876
15683
|
startTime: z.ZodString;
|
|
15877
15684
|
endTime: z.ZodString;
|
|
15878
15685
|
billingTrigger: z.ZodEnum<["accept", "issue"]>;
|
|
15879
15686
|
billingLevel: z.ZodEnum<["account", "inherit", "policy"]>;
|
|
15880
|
-
latestSegmentLocator: z.ZodString
|
|
15881
|
-
static: z.ZodRecord<z.ZodString, z.ZodAny
|
|
15687
|
+
latestSegmentLocator: z.ZodOptional<z.ZodString>;
|
|
15688
|
+
static: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
15689
|
+
latestTermLocator: z.ZodString;
|
|
15882
15690
|
productName: z.ZodString;
|
|
15883
|
-
timezone: z.ZodString
|
|
15884
|
-
currency: z.ZodString;
|
|
15885
|
-
delinquencyPlanName: z.ZodOptional<z.ZodString>;
|
|
15886
|
-
autoRenewalPlanName: z.ZodOptional<z.ZodString>;
|
|
15887
|
-
latestTermLocator: z.ZodString;
|
|
15888
|
-
region: z.ZodOptional<z.ZodString>;
|
|
15889
|
-
policyNumber: z.ZodOptional<z.ZodString>;
|
|
15890
|
-
contacts: z.ZodArray<z.ZodObject<{
|
|
15891
|
-
contactLocator: z.ZodString;
|
|
15892
|
-
roles: z.ZodArray<z.ZodString, "many">;
|
|
15893
|
-
}, "strip", z.ZodTypeAny, {
|
|
15894
|
-
contactLocator: string;
|
|
15895
|
-
roles: string[];
|
|
15896
|
-
}, {
|
|
15897
|
-
contactLocator: string;
|
|
15898
|
-
roles: string[];
|
|
15899
|
-
}>, "many">;
|
|
15691
|
+
timezone: z.ZodOptional<z.ZodString>;
|
|
15900
15692
|
validationResult: z.ZodOptional<z.ZodObject<{
|
|
15901
|
-
validationItems: z.ZodArray<z.ZodObject<{
|
|
15693
|
+
validationItems: z.ZodOptional<z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
|
15902
15694
|
elementType: z.ZodString;
|
|
15903
15695
|
locator: z.ZodOptional<z.ZodString>;
|
|
15904
15696
|
errors: z.ZodArray<z.ZodString, "many">;
|
|
15905
|
-
},
|
|
15697
|
+
}, {
|
|
15698
|
+
locator: z.ZodString;
|
|
15699
|
+
}>, "strip", z.ZodTypeAny, {
|
|
15906
15700
|
elementType: string;
|
|
15701
|
+
locator: string;
|
|
15907
15702
|
errors: string[];
|
|
15908
|
-
locator?: string | undefined;
|
|
15909
15703
|
}, {
|
|
15910
15704
|
elementType: string;
|
|
15705
|
+
locator: string;
|
|
15911
15706
|
errors: string[];
|
|
15912
|
-
|
|
15913
|
-
}>, "many">;
|
|
15707
|
+
}>, "many">>;
|
|
15914
15708
|
success: z.ZodBoolean;
|
|
15915
15709
|
}, "strip", z.ZodTypeAny, {
|
|
15916
|
-
|
|
15710
|
+
success: boolean;
|
|
15711
|
+
validationItems?: {
|
|
15917
15712
|
elementType: string;
|
|
15713
|
+
locator: string;
|
|
15918
15714
|
errors: string[];
|
|
15919
|
-
|
|
15920
|
-
}[];
|
|
15921
|
-
success: boolean;
|
|
15715
|
+
}[] | undefined;
|
|
15922
15716
|
}, {
|
|
15923
|
-
|
|
15717
|
+
success: boolean;
|
|
15718
|
+
validationItems?: {
|
|
15924
15719
|
elementType: string;
|
|
15720
|
+
locator: string;
|
|
15925
15721
|
errors: string[];
|
|
15926
|
-
|
|
15927
|
-
}[];
|
|
15928
|
-
success: boolean;
|
|
15722
|
+
}[] | undefined;
|
|
15929
15723
|
}>>;
|
|
15724
|
+
contacts: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
15725
|
+
contactLocator: z.ZodString;
|
|
15726
|
+
roles: z.ZodArray<z.ZodString, "many">;
|
|
15727
|
+
}, "strip", z.ZodTypeAny, {
|
|
15728
|
+
contactLocator: string;
|
|
15729
|
+
roles: string[];
|
|
15730
|
+
}, {
|
|
15731
|
+
contactLocator: string;
|
|
15732
|
+
roles: string[];
|
|
15733
|
+
}>, "many">>;
|
|
15734
|
+
currency: z.ZodString;
|
|
15735
|
+
delinquencyPlanName: z.ZodOptional<z.ZodString>;
|
|
15736
|
+
autoRenewalPlanName: z.ZodOptional<z.ZodString>;
|
|
15737
|
+
region: z.ZodOptional<z.ZodString>;
|
|
15738
|
+
policyNumber: z.ZodOptional<z.ZodString>;
|
|
15930
15739
|
}, "strip", z.ZodTypeAny, {
|
|
15931
15740
|
locator: string;
|
|
15932
15741
|
billingLevel: "account" | "inherit" | "policy";
|
|
15933
|
-
createdBy: string;
|
|
15934
15742
|
billingTrigger: "accept" | "issue";
|
|
15935
|
-
contacts: {
|
|
15936
|
-
contactLocator: string;
|
|
15937
|
-
roles: string[];
|
|
15938
|
-
}[];
|
|
15939
15743
|
accountLocator: string;
|
|
15940
15744
|
currency: string;
|
|
15941
15745
|
startTime: string;
|
|
15942
15746
|
endTime: string;
|
|
15943
|
-
timezone: string;
|
|
15944
15747
|
productName: string;
|
|
15945
15748
|
durationBasis: "none" | "years" | "months" | "weeks" | "days" | "hours" | "monthsE360";
|
|
15946
|
-
static: Record<string, any>;
|
|
15947
|
-
createdAt: string;
|
|
15948
|
-
branchHeadTransactionLocators: string[];
|
|
15949
15749
|
issuedTransactionLocator: string;
|
|
15950
15750
|
latestTermLocator: string;
|
|
15951
|
-
|
|
15751
|
+
createdBy?: string | undefined;
|
|
15752
|
+
contacts?: {
|
|
15753
|
+
contactLocator: string;
|
|
15754
|
+
roles: string[];
|
|
15755
|
+
}[] | undefined;
|
|
15756
|
+
timezone?: string | undefined;
|
|
15952
15757
|
delinquencyPlanName?: string | undefined;
|
|
15953
15758
|
autoRenewalPlanName?: string | undefined;
|
|
15954
15759
|
region?: string | undefined;
|
|
15760
|
+
static?: Record<string, any> | undefined;
|
|
15761
|
+
createdAt?: string | undefined;
|
|
15955
15762
|
validationResult?: {
|
|
15956
|
-
|
|
15763
|
+
success: boolean;
|
|
15764
|
+
validationItems?: {
|
|
15957
15765
|
elementType: string;
|
|
15766
|
+
locator: string;
|
|
15958
15767
|
errors: string[];
|
|
15959
|
-
|
|
15960
|
-
}[];
|
|
15961
|
-
success: boolean;
|
|
15768
|
+
}[] | undefined;
|
|
15962
15769
|
} | undefined;
|
|
15963
15770
|
policyNumber?: string | undefined;
|
|
15771
|
+
branchHeadTransactionLocators?: string[] | undefined;
|
|
15772
|
+
latestSegmentLocator?: string | undefined;
|
|
15964
15773
|
}, {
|
|
15965
15774
|
locator: string;
|
|
15966
15775
|
billingLevel: "account" | "inherit" | "policy";
|
|
15967
|
-
createdBy: string;
|
|
15968
15776
|
billingTrigger: "accept" | "issue";
|
|
15969
|
-
contacts: {
|
|
15970
|
-
contactLocator: string;
|
|
15971
|
-
roles: string[];
|
|
15972
|
-
}[];
|
|
15973
15777
|
accountLocator: string;
|
|
15974
15778
|
currency: string;
|
|
15975
15779
|
startTime: string;
|
|
15976
15780
|
endTime: string;
|
|
15977
|
-
timezone: string;
|
|
15978
15781
|
productName: string;
|
|
15979
15782
|
durationBasis: "none" | "years" | "months" | "weeks" | "days" | "hours" | "monthsE360";
|
|
15980
|
-
static: Record<string, any>;
|
|
15981
|
-
createdAt: string;
|
|
15982
|
-
branchHeadTransactionLocators: string[];
|
|
15983
15783
|
issuedTransactionLocator: string;
|
|
15984
15784
|
latestTermLocator: string;
|
|
15985
|
-
|
|
15785
|
+
createdBy?: string | undefined;
|
|
15786
|
+
contacts?: {
|
|
15787
|
+
contactLocator: string;
|
|
15788
|
+
roles: string[];
|
|
15789
|
+
}[] | undefined;
|
|
15790
|
+
timezone?: string | undefined;
|
|
15986
15791
|
delinquencyPlanName?: string | undefined;
|
|
15987
15792
|
autoRenewalPlanName?: string | undefined;
|
|
15988
15793
|
region?: string | undefined;
|
|
15794
|
+
static?: Record<string, any> | undefined;
|
|
15795
|
+
createdAt?: string | undefined;
|
|
15989
15796
|
validationResult?: {
|
|
15990
|
-
|
|
15797
|
+
success: boolean;
|
|
15798
|
+
validationItems?: {
|
|
15991
15799
|
elementType: string;
|
|
15800
|
+
locator: string;
|
|
15992
15801
|
errors: string[];
|
|
15993
|
-
|
|
15994
|
-
}[];
|
|
15995
|
-
success: boolean;
|
|
15802
|
+
}[] | undefined;
|
|
15996
15803
|
} | undefined;
|
|
15997
15804
|
policyNumber?: string | undefined;
|
|
15805
|
+
branchHeadTransactionLocators?: string[] | undefined;
|
|
15806
|
+
latestSegmentLocator?: string | undefined;
|
|
15998
15807
|
}>, "many">;
|
|
15999
15808
|
}, "strip", z.ZodTypeAny, {
|
|
16000
15809
|
items: {
|
|
16001
15810
|
locator: string;
|
|
16002
15811
|
billingLevel: "account" | "inherit" | "policy";
|
|
16003
|
-
createdBy: string;
|
|
16004
15812
|
billingTrigger: "accept" | "issue";
|
|
16005
|
-
contacts: {
|
|
16006
|
-
contactLocator: string;
|
|
16007
|
-
roles: string[];
|
|
16008
|
-
}[];
|
|
16009
15813
|
accountLocator: string;
|
|
16010
15814
|
currency: string;
|
|
16011
15815
|
startTime: string;
|
|
16012
15816
|
endTime: string;
|
|
16013
|
-
timezone: string;
|
|
16014
15817
|
productName: string;
|
|
16015
15818
|
durationBasis: "none" | "years" | "months" | "weeks" | "days" | "hours" | "monthsE360";
|
|
16016
|
-
static: Record<string, any>;
|
|
16017
|
-
createdAt: string;
|
|
16018
|
-
branchHeadTransactionLocators: string[];
|
|
16019
15819
|
issuedTransactionLocator: string;
|
|
16020
15820
|
latestTermLocator: string;
|
|
16021
|
-
|
|
15821
|
+
createdBy?: string | undefined;
|
|
15822
|
+
contacts?: {
|
|
15823
|
+
contactLocator: string;
|
|
15824
|
+
roles: string[];
|
|
15825
|
+
}[] | undefined;
|
|
15826
|
+
timezone?: string | undefined;
|
|
16022
15827
|
delinquencyPlanName?: string | undefined;
|
|
16023
15828
|
autoRenewalPlanName?: string | undefined;
|
|
16024
15829
|
region?: string | undefined;
|
|
15830
|
+
static?: Record<string, any> | undefined;
|
|
15831
|
+
createdAt?: string | undefined;
|
|
16025
15832
|
validationResult?: {
|
|
16026
|
-
|
|
15833
|
+
success: boolean;
|
|
15834
|
+
validationItems?: {
|
|
16027
15835
|
elementType: string;
|
|
15836
|
+
locator: string;
|
|
16028
15837
|
errors: string[];
|
|
16029
|
-
|
|
16030
|
-
}[];
|
|
16031
|
-
success: boolean;
|
|
15838
|
+
}[] | undefined;
|
|
16032
15839
|
} | undefined;
|
|
16033
15840
|
policyNumber?: string | undefined;
|
|
15841
|
+
branchHeadTransactionLocators?: string[] | undefined;
|
|
15842
|
+
latestSegmentLocator?: string | undefined;
|
|
16034
15843
|
}[];
|
|
16035
15844
|
listCompleted: boolean;
|
|
16036
15845
|
}, {
|
|
16037
15846
|
items: {
|
|
16038
15847
|
locator: string;
|
|
16039
15848
|
billingLevel: "account" | "inherit" | "policy";
|
|
16040
|
-
createdBy: string;
|
|
16041
15849
|
billingTrigger: "accept" | "issue";
|
|
16042
|
-
contacts: {
|
|
16043
|
-
contactLocator: string;
|
|
16044
|
-
roles: string[];
|
|
16045
|
-
}[];
|
|
16046
15850
|
accountLocator: string;
|
|
16047
15851
|
currency: string;
|
|
16048
15852
|
startTime: string;
|
|
16049
15853
|
endTime: string;
|
|
16050
|
-
timezone: string;
|
|
16051
15854
|
productName: string;
|
|
16052
15855
|
durationBasis: "none" | "years" | "months" | "weeks" | "days" | "hours" | "monthsE360";
|
|
16053
|
-
static: Record<string, any>;
|
|
16054
|
-
createdAt: string;
|
|
16055
|
-
branchHeadTransactionLocators: string[];
|
|
16056
15856
|
issuedTransactionLocator: string;
|
|
16057
15857
|
latestTermLocator: string;
|
|
16058
|
-
|
|
15858
|
+
createdBy?: string | undefined;
|
|
15859
|
+
contacts?: {
|
|
15860
|
+
contactLocator: string;
|
|
15861
|
+
roles: string[];
|
|
15862
|
+
}[] | undefined;
|
|
15863
|
+
timezone?: string | undefined;
|
|
16059
15864
|
delinquencyPlanName?: string | undefined;
|
|
16060
15865
|
autoRenewalPlanName?: string | undefined;
|
|
16061
15866
|
region?: string | undefined;
|
|
15867
|
+
static?: Record<string, any> | undefined;
|
|
15868
|
+
createdAt?: string | undefined;
|
|
16062
15869
|
validationResult?: {
|
|
16063
|
-
|
|
15870
|
+
success: boolean;
|
|
15871
|
+
validationItems?: {
|
|
16064
15872
|
elementType: string;
|
|
15873
|
+
locator: string;
|
|
16065
15874
|
errors: string[];
|
|
16066
|
-
|
|
16067
|
-
}[];
|
|
16068
|
-
success: boolean;
|
|
15875
|
+
}[] | undefined;
|
|
16069
15876
|
} | undefined;
|
|
16070
15877
|
policyNumber?: string | undefined;
|
|
15878
|
+
branchHeadTransactionLocators?: string[] | undefined;
|
|
15879
|
+
latestSegmentLocator?: string | undefined;
|
|
16071
15880
|
}[];
|
|
16072
15881
|
listCompleted: boolean;
|
|
16073
15882
|
}>;
|
|
@@ -16219,349 +16028,234 @@ export declare const PolicyPreferencesSchema: z.ZodObject<z.objectUtil.extendSha
|
|
|
16219
16028
|
dueLeadDays?: number | undefined;
|
|
16220
16029
|
generateLeadDays?: number | undefined;
|
|
16221
16030
|
maxInstallmentsPerTerm?: number | undefined;
|
|
16222
|
-
installmentWeights?: number[] | undefined;
|
|
16223
|
-
invoiceFeeAmount?: number | undefined;
|
|
16224
|
-
} | undefined;
|
|
16225
|
-
}, {
|
|
16226
|
-
billingPreferences?: {
|
|
16227
|
-
billingLevel: "account" | "inherit" | "policy";
|
|
16228
|
-
billingPlanName?: string | undefined;
|
|
16229
|
-
invoiceFeeAmount?: number | undefined;
|
|
16230
|
-
} | undefined;
|
|
16231
|
-
installmentPreferences?: {
|
|
16232
|
-
dayOfMonth?: number | undefined;
|
|
16233
|
-
anchorTime?: string | undefined;
|
|
16234
|
-
dayOfWeek?: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday" | undefined;
|
|
16235
|
-
weekOfMonth?: "none" | "first" | "second" | "third" | "fourth" | "fifth" | undefined;
|
|
16236
|
-
installmentPlanName?: string | undefined;
|
|
16237
|
-
anchorMode?: "generateDay" | "termStartDay" | "dueDay" | undefined;
|
|
16238
|
-
anchorType?: "none" | "dayOfMonth" | "anchorTime" | "dayOfWeek" | "weekOfMonth" | undefined;
|
|
16239
|
-
cadence?: "none" | "fullPay" | "weekly" | "everyOtherWeek" | "monthly" | "quarterly" | "semiannually" | "annually" | "thirtyDays" | "everyNDays" | undefined;
|
|
16240
|
-
dueLeadDays?: number | undefined;
|
|
16241
|
-
generateLeadDays?: number | undefined;
|
|
16242
|
-
maxInstallmentsPerTerm?: number | undefined;
|
|
16243
|
-
installmentWeights?: number[] | undefined;
|
|
16244
|
-
invoiceFeeAmount?: number | undefined;
|
|
16245
|
-
} | undefined;
|
|
16246
|
-
}>;
|
|
16247
|
-
|
|
16248
|
-
export declare type PolicyResponse = z.infer<typeof policyResponseSchema>;
|
|
16249
|
-
|
|
16250
|
-
export declare type PolicyResponseArray = z.infer<typeof PolicyResponseArraySchema>;
|
|
16251
|
-
|
|
16252
|
-
export declare const PolicyResponseArraySchema: z.ZodArray<z.ZodObject<{
|
|
16253
|
-
locator: z.ZodString;
|
|
16254
|
-
accountLocator: z.ZodString;
|
|
16255
|
-
branchHeadTransactionLocators: z.ZodArray<z.ZodString, "many">;
|
|
16256
|
-
issuedTransactionLocator: z.ZodString;
|
|
16257
|
-
durationBasis: z.ZodEnum<["none", "years", "months", "monthsE360", "weeks", "days", "hours"]>;
|
|
16258
|
-
createdAt: z.ZodString;
|
|
16259
|
-
createdBy: z.ZodString;
|
|
16260
|
-
startTime: z.ZodString;
|
|
16261
|
-
endTime: z.ZodString;
|
|
16262
|
-
billingTrigger: z.ZodEnum<["accept", "issue"]>;
|
|
16263
|
-
billingLevel: z.ZodEnum<["account", "inherit", "policy"]>;
|
|
16264
|
-
latestSegmentLocator: z.ZodString;
|
|
16265
|
-
static: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
16266
|
-
productName: z.ZodString;
|
|
16267
|
-
timezone: z.ZodString;
|
|
16268
|
-
currency: z.ZodString;
|
|
16269
|
-
delinquencyPlanName: z.ZodOptional<z.ZodString>;
|
|
16270
|
-
autoRenewalPlanName: z.ZodOptional<z.ZodString>;
|
|
16271
|
-
latestTermLocator: z.ZodString;
|
|
16272
|
-
region: z.ZodOptional<z.ZodString>;
|
|
16273
|
-
policyNumber: z.ZodOptional<z.ZodString>;
|
|
16274
|
-
contacts: z.ZodArray<z.ZodObject<{
|
|
16275
|
-
contactLocator: z.ZodString;
|
|
16276
|
-
roles: z.ZodArray<z.ZodString, "many">;
|
|
16277
|
-
}, "strip", z.ZodTypeAny, {
|
|
16278
|
-
contactLocator: string;
|
|
16279
|
-
roles: string[];
|
|
16280
|
-
}, {
|
|
16281
|
-
contactLocator: string;
|
|
16282
|
-
roles: string[];
|
|
16283
|
-
}>, "many">;
|
|
16284
|
-
validationResult: z.ZodOptional<z.ZodObject<{
|
|
16285
|
-
validationItems: z.ZodArray<z.ZodObject<{
|
|
16286
|
-
elementType: z.ZodString;
|
|
16287
|
-
locator: z.ZodOptional<z.ZodString>;
|
|
16288
|
-
errors: z.ZodArray<z.ZodString, "many">;
|
|
16289
|
-
}, "strip", z.ZodTypeAny, {
|
|
16290
|
-
elementType: string;
|
|
16291
|
-
errors: string[];
|
|
16292
|
-
locator?: string | undefined;
|
|
16293
|
-
}, {
|
|
16294
|
-
elementType: string;
|
|
16295
|
-
errors: string[];
|
|
16296
|
-
locator?: string | undefined;
|
|
16297
|
-
}>, "many">;
|
|
16298
|
-
success: z.ZodBoolean;
|
|
16299
|
-
}, "strip", z.ZodTypeAny, {
|
|
16300
|
-
validationItems: {
|
|
16301
|
-
elementType: string;
|
|
16302
|
-
errors: string[];
|
|
16303
|
-
locator?: string | undefined;
|
|
16304
|
-
}[];
|
|
16305
|
-
success: boolean;
|
|
16306
|
-
}, {
|
|
16307
|
-
validationItems: {
|
|
16308
|
-
elementType: string;
|
|
16309
|
-
errors: string[];
|
|
16310
|
-
locator?: string | undefined;
|
|
16311
|
-
}[];
|
|
16312
|
-
success: boolean;
|
|
16313
|
-
}>>;
|
|
16314
|
-
}, "strip", z.ZodTypeAny, {
|
|
16315
|
-
locator: string;
|
|
16316
|
-
billingLevel: "account" | "inherit" | "policy";
|
|
16317
|
-
createdBy: string;
|
|
16318
|
-
billingTrigger: "accept" | "issue";
|
|
16319
|
-
contacts: {
|
|
16320
|
-
contactLocator: string;
|
|
16321
|
-
roles: string[];
|
|
16322
|
-
}[];
|
|
16323
|
-
accountLocator: string;
|
|
16324
|
-
currency: string;
|
|
16325
|
-
startTime: string;
|
|
16326
|
-
endTime: string;
|
|
16327
|
-
timezone: string;
|
|
16328
|
-
productName: string;
|
|
16329
|
-
durationBasis: "none" | "years" | "months" | "weeks" | "days" | "hours" | "monthsE360";
|
|
16330
|
-
static: Record<string, any>;
|
|
16331
|
-
createdAt: string;
|
|
16332
|
-
branchHeadTransactionLocators: string[];
|
|
16333
|
-
issuedTransactionLocator: string;
|
|
16334
|
-
latestTermLocator: string;
|
|
16335
|
-
latestSegmentLocator: string;
|
|
16336
|
-
delinquencyPlanName?: string | undefined;
|
|
16337
|
-
autoRenewalPlanName?: string | undefined;
|
|
16338
|
-
region?: string | undefined;
|
|
16339
|
-
validationResult?: {
|
|
16340
|
-
validationItems: {
|
|
16341
|
-
elementType: string;
|
|
16342
|
-
errors: string[];
|
|
16343
|
-
locator?: string | undefined;
|
|
16344
|
-
}[];
|
|
16345
|
-
success: boolean;
|
|
16346
|
-
} | undefined;
|
|
16347
|
-
policyNumber?: string | undefined;
|
|
16348
|
-
}, {
|
|
16349
|
-
locator: string;
|
|
16350
|
-
billingLevel: "account" | "inherit" | "policy";
|
|
16351
|
-
createdBy: string;
|
|
16352
|
-
billingTrigger: "accept" | "issue";
|
|
16353
|
-
contacts: {
|
|
16354
|
-
contactLocator: string;
|
|
16355
|
-
roles: string[];
|
|
16356
|
-
}[];
|
|
16357
|
-
accountLocator: string;
|
|
16358
|
-
currency: string;
|
|
16359
|
-
startTime: string;
|
|
16360
|
-
endTime: string;
|
|
16361
|
-
timezone: string;
|
|
16362
|
-
productName: string;
|
|
16363
|
-
durationBasis: "none" | "years" | "months" | "weeks" | "days" | "hours" | "monthsE360";
|
|
16364
|
-
static: Record<string, any>;
|
|
16365
|
-
createdAt: string;
|
|
16366
|
-
branchHeadTransactionLocators: string[];
|
|
16367
|
-
issuedTransactionLocator: string;
|
|
16368
|
-
latestTermLocator: string;
|
|
16369
|
-
latestSegmentLocator: string;
|
|
16370
|
-
delinquencyPlanName?: string | undefined;
|
|
16371
|
-
autoRenewalPlanName?: string | undefined;
|
|
16372
|
-
region?: string | undefined;
|
|
16373
|
-
validationResult?: {
|
|
16374
|
-
validationItems: {
|
|
16375
|
-
elementType: string;
|
|
16376
|
-
errors: string[];
|
|
16377
|
-
locator?: string | undefined;
|
|
16378
|
-
}[];
|
|
16379
|
-
success: boolean;
|
|
16031
|
+
installmentWeights?: number[] | undefined;
|
|
16032
|
+
invoiceFeeAmount?: number | undefined;
|
|
16380
16033
|
} | undefined;
|
|
16381
|
-
|
|
16382
|
-
|
|
16034
|
+
}, {
|
|
16035
|
+
billingPreferences?: {
|
|
16036
|
+
billingLevel: "account" | "inherit" | "policy";
|
|
16037
|
+
billingPlanName?: string | undefined;
|
|
16038
|
+
invoiceFeeAmount?: number | undefined;
|
|
16039
|
+
} | undefined;
|
|
16040
|
+
installmentPreferences?: {
|
|
16041
|
+
dayOfMonth?: number | undefined;
|
|
16042
|
+
anchorTime?: string | undefined;
|
|
16043
|
+
dayOfWeek?: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday" | undefined;
|
|
16044
|
+
weekOfMonth?: "none" | "first" | "second" | "third" | "fourth" | "fifth" | undefined;
|
|
16045
|
+
installmentPlanName?: string | undefined;
|
|
16046
|
+
anchorMode?: "generateDay" | "termStartDay" | "dueDay" | undefined;
|
|
16047
|
+
anchorType?: "none" | "dayOfMonth" | "anchorTime" | "dayOfWeek" | "weekOfMonth" | undefined;
|
|
16048
|
+
cadence?: "none" | "fullPay" | "weekly" | "everyOtherWeek" | "monthly" | "quarterly" | "semiannually" | "annually" | "thirtyDays" | "everyNDays" | undefined;
|
|
16049
|
+
dueLeadDays?: number | undefined;
|
|
16050
|
+
generateLeadDays?: number | undefined;
|
|
16051
|
+
maxInstallmentsPerTerm?: number | undefined;
|
|
16052
|
+
installmentWeights?: number[] | undefined;
|
|
16053
|
+
invoiceFeeAmount?: number | undefined;
|
|
16054
|
+
} | undefined;
|
|
16055
|
+
}>;
|
|
16383
16056
|
|
|
16384
|
-
export declare
|
|
16057
|
+
export declare type PolicyResponse = z.infer<typeof PolicyResponseSchema>;
|
|
16058
|
+
|
|
16059
|
+
export declare type PolicyResponseArray = z.infer<typeof PolicyResponseArraySchema>;
|
|
16060
|
+
|
|
16061
|
+
export declare const PolicyResponseArraySchema: z.ZodArray<z.ZodObject<{
|
|
16385
16062
|
locator: z.ZodString;
|
|
16386
16063
|
accountLocator: z.ZodString;
|
|
16387
|
-
branchHeadTransactionLocators: z.ZodArray<z.ZodString, "many"
|
|
16064
|
+
branchHeadTransactionLocators: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
16388
16065
|
issuedTransactionLocator: z.ZodString;
|
|
16389
16066
|
durationBasis: z.ZodEnum<["none", "years", "months", "monthsE360", "weeks", "days", "hours"]>;
|
|
16390
|
-
createdAt: z.ZodString
|
|
16391
|
-
createdBy: z.ZodString
|
|
16067
|
+
createdAt: z.ZodOptional<z.ZodString>;
|
|
16068
|
+
createdBy: z.ZodOptional<z.ZodString>;
|
|
16392
16069
|
startTime: z.ZodString;
|
|
16393
16070
|
endTime: z.ZodString;
|
|
16394
16071
|
billingTrigger: z.ZodEnum<["accept", "issue"]>;
|
|
16395
16072
|
billingLevel: z.ZodEnum<["account", "inherit", "policy"]>;
|
|
16396
|
-
latestSegmentLocator: z.ZodString
|
|
16397
|
-
static: z.ZodRecord<z.ZodString, z.ZodAny
|
|
16398
|
-
productName: z.ZodString;
|
|
16399
|
-
timezone: z.ZodString;
|
|
16400
|
-
currency: z.ZodString;
|
|
16401
|
-
delinquencyPlanName: z.ZodOptional<z.ZodString>;
|
|
16402
|
-
autoRenewalPlanName: z.ZodOptional<z.ZodString>;
|
|
16073
|
+
latestSegmentLocator: z.ZodOptional<z.ZodString>;
|
|
16074
|
+
static: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
16403
16075
|
latestTermLocator: z.ZodString;
|
|
16404
|
-
|
|
16405
|
-
|
|
16406
|
-
contacts: z.ZodArray<z.ZodObject<{
|
|
16407
|
-
contactLocator: z.ZodString;
|
|
16408
|
-
roles: z.ZodArray<z.ZodString, "many">;
|
|
16409
|
-
}, "strip", z.ZodTypeAny, {
|
|
16410
|
-
contactLocator: string;
|
|
16411
|
-
roles: string[];
|
|
16412
|
-
}, {
|
|
16413
|
-
contactLocator: string;
|
|
16414
|
-
roles: string[];
|
|
16415
|
-
}>, "many">;
|
|
16076
|
+
productName: z.ZodString;
|
|
16077
|
+
timezone: z.ZodOptional<z.ZodString>;
|
|
16416
16078
|
validationResult: z.ZodOptional<z.ZodObject<{
|
|
16417
|
-
validationItems: z.ZodArray<z.ZodObject<{
|
|
16079
|
+
validationItems: z.ZodOptional<z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
|
16418
16080
|
elementType: z.ZodString;
|
|
16419
16081
|
locator: z.ZodOptional<z.ZodString>;
|
|
16420
16082
|
errors: z.ZodArray<z.ZodString, "many">;
|
|
16421
|
-
},
|
|
16083
|
+
}, {
|
|
16084
|
+
locator: z.ZodString;
|
|
16085
|
+
}>, "strip", z.ZodTypeAny, {
|
|
16422
16086
|
elementType: string;
|
|
16087
|
+
locator: string;
|
|
16423
16088
|
errors: string[];
|
|
16424
|
-
locator?: string | undefined;
|
|
16425
16089
|
}, {
|
|
16426
16090
|
elementType: string;
|
|
16091
|
+
locator: string;
|
|
16427
16092
|
errors: string[];
|
|
16428
|
-
|
|
16429
|
-
}>, "many">;
|
|
16093
|
+
}>, "many">>;
|
|
16430
16094
|
success: z.ZodBoolean;
|
|
16431
16095
|
}, "strip", z.ZodTypeAny, {
|
|
16432
|
-
|
|
16096
|
+
success: boolean;
|
|
16097
|
+
validationItems?: {
|
|
16433
16098
|
elementType: string;
|
|
16099
|
+
locator: string;
|
|
16434
16100
|
errors: string[];
|
|
16435
|
-
|
|
16436
|
-
}[];
|
|
16437
|
-
success: boolean;
|
|
16101
|
+
}[] | undefined;
|
|
16438
16102
|
}, {
|
|
16439
|
-
|
|
16103
|
+
success: boolean;
|
|
16104
|
+
validationItems?: {
|
|
16440
16105
|
elementType: string;
|
|
16106
|
+
locator: string;
|
|
16441
16107
|
errors: string[];
|
|
16442
|
-
|
|
16443
|
-
}[];
|
|
16444
|
-
success: boolean;
|
|
16108
|
+
}[] | undefined;
|
|
16445
16109
|
}>>;
|
|
16110
|
+
contacts: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
16111
|
+
contactLocator: z.ZodString;
|
|
16112
|
+
roles: z.ZodArray<z.ZodString, "many">;
|
|
16113
|
+
}, "strip", z.ZodTypeAny, {
|
|
16114
|
+
contactLocator: string;
|
|
16115
|
+
roles: string[];
|
|
16116
|
+
}, {
|
|
16117
|
+
contactLocator: string;
|
|
16118
|
+
roles: string[];
|
|
16119
|
+
}>, "many">>;
|
|
16120
|
+
currency: z.ZodString;
|
|
16121
|
+
delinquencyPlanName: z.ZodOptional<z.ZodString>;
|
|
16122
|
+
autoRenewalPlanName: z.ZodOptional<z.ZodString>;
|
|
16123
|
+
region: z.ZodOptional<z.ZodString>;
|
|
16124
|
+
policyNumber: z.ZodOptional<z.ZodString>;
|
|
16446
16125
|
}, "strip", z.ZodTypeAny, {
|
|
16447
16126
|
locator: string;
|
|
16448
16127
|
billingLevel: "account" | "inherit" | "policy";
|
|
16449
|
-
createdBy: string;
|
|
16450
16128
|
billingTrigger: "accept" | "issue";
|
|
16451
|
-
contacts: {
|
|
16452
|
-
contactLocator: string;
|
|
16453
|
-
roles: string[];
|
|
16454
|
-
}[];
|
|
16455
16129
|
accountLocator: string;
|
|
16456
16130
|
currency: string;
|
|
16457
16131
|
startTime: string;
|
|
16458
16132
|
endTime: string;
|
|
16459
|
-
timezone: string;
|
|
16460
16133
|
productName: string;
|
|
16461
16134
|
durationBasis: "none" | "years" | "months" | "weeks" | "days" | "hours" | "monthsE360";
|
|
16462
|
-
static: Record<string, any>;
|
|
16463
|
-
createdAt: string;
|
|
16464
|
-
branchHeadTransactionLocators: string[];
|
|
16465
16135
|
issuedTransactionLocator: string;
|
|
16466
16136
|
latestTermLocator: string;
|
|
16467
|
-
|
|
16137
|
+
createdBy?: string | undefined;
|
|
16138
|
+
contacts?: {
|
|
16139
|
+
contactLocator: string;
|
|
16140
|
+
roles: string[];
|
|
16141
|
+
}[] | undefined;
|
|
16142
|
+
timezone?: string | undefined;
|
|
16468
16143
|
delinquencyPlanName?: string | undefined;
|
|
16469
16144
|
autoRenewalPlanName?: string | undefined;
|
|
16470
16145
|
region?: string | undefined;
|
|
16146
|
+
static?: Record<string, any> | undefined;
|
|
16147
|
+
createdAt?: string | undefined;
|
|
16471
16148
|
validationResult?: {
|
|
16472
|
-
|
|
16149
|
+
success: boolean;
|
|
16150
|
+
validationItems?: {
|
|
16473
16151
|
elementType: string;
|
|
16152
|
+
locator: string;
|
|
16474
16153
|
errors: string[];
|
|
16475
|
-
|
|
16476
|
-
}[];
|
|
16477
|
-
success: boolean;
|
|
16154
|
+
}[] | undefined;
|
|
16478
16155
|
} | undefined;
|
|
16479
16156
|
policyNumber?: string | undefined;
|
|
16157
|
+
branchHeadTransactionLocators?: string[] | undefined;
|
|
16158
|
+
latestSegmentLocator?: string | undefined;
|
|
16480
16159
|
}, {
|
|
16481
16160
|
locator: string;
|
|
16482
16161
|
billingLevel: "account" | "inherit" | "policy";
|
|
16483
|
-
createdBy: string;
|
|
16484
16162
|
billingTrigger: "accept" | "issue";
|
|
16485
|
-
contacts: {
|
|
16486
|
-
contactLocator: string;
|
|
16487
|
-
roles: string[];
|
|
16488
|
-
}[];
|
|
16489
16163
|
accountLocator: string;
|
|
16490
16164
|
currency: string;
|
|
16491
16165
|
startTime: string;
|
|
16492
16166
|
endTime: string;
|
|
16493
|
-
timezone: string;
|
|
16494
16167
|
productName: string;
|
|
16495
16168
|
durationBasis: "none" | "years" | "months" | "weeks" | "days" | "hours" | "monthsE360";
|
|
16496
|
-
static: Record<string, any>;
|
|
16497
|
-
createdAt: string;
|
|
16498
|
-
branchHeadTransactionLocators: string[];
|
|
16499
16169
|
issuedTransactionLocator: string;
|
|
16500
16170
|
latestTermLocator: string;
|
|
16501
|
-
|
|
16171
|
+
createdBy?: string | undefined;
|
|
16172
|
+
contacts?: {
|
|
16173
|
+
contactLocator: string;
|
|
16174
|
+
roles: string[];
|
|
16175
|
+
}[] | undefined;
|
|
16176
|
+
timezone?: string | undefined;
|
|
16502
16177
|
delinquencyPlanName?: string | undefined;
|
|
16503
16178
|
autoRenewalPlanName?: string | undefined;
|
|
16504
16179
|
region?: string | undefined;
|
|
16180
|
+
static?: Record<string, any> | undefined;
|
|
16181
|
+
createdAt?: string | undefined;
|
|
16505
16182
|
validationResult?: {
|
|
16506
|
-
|
|
16183
|
+
success: boolean;
|
|
16184
|
+
validationItems?: {
|
|
16507
16185
|
elementType: string;
|
|
16186
|
+
locator: string;
|
|
16508
16187
|
errors: string[];
|
|
16509
|
-
|
|
16510
|
-
}[];
|
|
16511
|
-
success: boolean;
|
|
16188
|
+
}[] | undefined;
|
|
16512
16189
|
} | undefined;
|
|
16513
16190
|
policyNumber?: string | undefined;
|
|
16514
|
-
|
|
16191
|
+
branchHeadTransactionLocators?: string[] | undefined;
|
|
16192
|
+
latestSegmentLocator?: string | undefined;
|
|
16193
|
+
}>, "many">;
|
|
16515
16194
|
|
|
16516
|
-
export declare const
|
|
16195
|
+
export declare const PolicyResponseSchema: z.ZodObject<{
|
|
16517
16196
|
locator: z.ZodString;
|
|
16518
16197
|
accountLocator: z.ZodString;
|
|
16198
|
+
branchHeadTransactionLocators: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
16519
16199
|
issuedTransactionLocator: z.ZodString;
|
|
16520
|
-
|
|
16521
|
-
|
|
16200
|
+
durationBasis: z.ZodEnum<["none", "years", "months", "monthsE360", "weeks", "days", "hours"]>;
|
|
16201
|
+
createdAt: z.ZodOptional<z.ZodString>;
|
|
16202
|
+
createdBy: z.ZodOptional<z.ZodString>;
|
|
16522
16203
|
startTime: z.ZodString;
|
|
16523
16204
|
endTime: z.ZodString;
|
|
16524
|
-
durationBasis: z.ZodEnum<["years", "months", "weeks", "days", "hours"]>;
|
|
16525
|
-
billingLevel: z.ZodEnum<["account", "inherit", "policy"]>;
|
|
16526
16205
|
billingTrigger: z.ZodEnum<["accept", "issue"]>;
|
|
16527
|
-
|
|
16528
|
-
|
|
16529
|
-
currency: z.ZodString;
|
|
16530
|
-
timezone: z.ZodOptional<z.ZodString>;
|
|
16531
|
-
branchHeadTransactionLocators: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
16206
|
+
billingLevel: z.ZodEnum<["account", "inherit", "policy"]>;
|
|
16207
|
+
latestSegmentLocator: z.ZodOptional<z.ZodString>;
|
|
16532
16208
|
static: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
16533
|
-
|
|
16534
|
-
|
|
16209
|
+
latestTermLocator: z.ZodString;
|
|
16210
|
+
productName: z.ZodString;
|
|
16211
|
+
timezone: z.ZodOptional<z.ZodString>;
|
|
16535
16212
|
validationResult: z.ZodOptional<z.ZodObject<{
|
|
16536
|
-
validationItems: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
16537
|
-
elementType: z.
|
|
16213
|
+
validationItems: z.ZodOptional<z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
|
16214
|
+
elementType: z.ZodString;
|
|
16538
16215
|
locator: z.ZodOptional<z.ZodString>;
|
|
16539
|
-
errors: z.
|
|
16540
|
-
}, "strip", z.ZodTypeAny, {
|
|
16541
|
-
elementType?: string | undefined;
|
|
16542
|
-
locator?: string | undefined;
|
|
16543
|
-
errors?: string[] | undefined;
|
|
16216
|
+
errors: z.ZodArray<z.ZodString, "many">;
|
|
16544
16217
|
}, {
|
|
16545
|
-
|
|
16546
|
-
|
|
16547
|
-
|
|
16218
|
+
locator: z.ZodString;
|
|
16219
|
+
}>, "strip", z.ZodTypeAny, {
|
|
16220
|
+
elementType: string;
|
|
16221
|
+
locator: string;
|
|
16222
|
+
errors: string[];
|
|
16223
|
+
}, {
|
|
16224
|
+
elementType: string;
|
|
16225
|
+
locator: string;
|
|
16226
|
+
errors: string[];
|
|
16548
16227
|
}>, "many">>;
|
|
16549
|
-
success: z.
|
|
16228
|
+
success: z.ZodBoolean;
|
|
16550
16229
|
}, "strip", z.ZodTypeAny, {
|
|
16230
|
+
success: boolean;
|
|
16551
16231
|
validationItems?: {
|
|
16552
|
-
elementType
|
|
16553
|
-
locator
|
|
16554
|
-
errors
|
|
16232
|
+
elementType: string;
|
|
16233
|
+
locator: string;
|
|
16234
|
+
errors: string[];
|
|
16555
16235
|
}[] | undefined;
|
|
16556
|
-
success?: boolean | undefined;
|
|
16557
16236
|
}, {
|
|
16237
|
+
success: boolean;
|
|
16558
16238
|
validationItems?: {
|
|
16559
|
-
elementType
|
|
16560
|
-
locator
|
|
16561
|
-
errors
|
|
16239
|
+
elementType: string;
|
|
16240
|
+
locator: string;
|
|
16241
|
+
errors: string[];
|
|
16562
16242
|
}[] | undefined;
|
|
16563
|
-
success?: boolean | undefined;
|
|
16564
16243
|
}>>;
|
|
16244
|
+
contacts: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
16245
|
+
contactLocator: z.ZodString;
|
|
16246
|
+
roles: z.ZodArray<z.ZodString, "many">;
|
|
16247
|
+
}, "strip", z.ZodTypeAny, {
|
|
16248
|
+
contactLocator: string;
|
|
16249
|
+
roles: string[];
|
|
16250
|
+
}, {
|
|
16251
|
+
contactLocator: string;
|
|
16252
|
+
roles: string[];
|
|
16253
|
+
}>, "many">>;
|
|
16254
|
+
currency: z.ZodString;
|
|
16255
|
+
delinquencyPlanName: z.ZodOptional<z.ZodString>;
|
|
16256
|
+
autoRenewalPlanName: z.ZodOptional<z.ZodString>;
|
|
16257
|
+
region: z.ZodOptional<z.ZodString>;
|
|
16258
|
+
policyNumber: z.ZodOptional<z.ZodString>;
|
|
16565
16259
|
}, "strip", z.ZodTypeAny, {
|
|
16566
16260
|
locator: string;
|
|
16567
16261
|
billingLevel: "account" | "inherit" | "policy";
|
|
@@ -16571,24 +16265,31 @@ export declare const policyResponseSchema: z.ZodObject<{
|
|
|
16571
16265
|
startTime: string;
|
|
16572
16266
|
endTime: string;
|
|
16573
16267
|
productName: string;
|
|
16574
|
-
durationBasis: "years" | "months" | "weeks" | "days" | "hours";
|
|
16268
|
+
durationBasis: "none" | "years" | "months" | "weeks" | "days" | "hours" | "monthsE360";
|
|
16575
16269
|
issuedTransactionLocator: string;
|
|
16576
16270
|
latestTermLocator: string;
|
|
16577
16271
|
createdBy?: string | undefined;
|
|
16272
|
+
contacts?: {
|
|
16273
|
+
contactLocator: string;
|
|
16274
|
+
roles: string[];
|
|
16275
|
+
}[] | undefined;
|
|
16578
16276
|
timezone?: string | undefined;
|
|
16579
16277
|
delinquencyPlanName?: string | undefined;
|
|
16580
16278
|
autoRenewalPlanName?: string | undefined;
|
|
16279
|
+
region?: string | undefined;
|
|
16581
16280
|
static?: Record<string, any> | undefined;
|
|
16582
16281
|
createdAt?: string | undefined;
|
|
16583
16282
|
validationResult?: {
|
|
16283
|
+
success: boolean;
|
|
16584
16284
|
validationItems?: {
|
|
16585
|
-
elementType
|
|
16586
|
-
locator
|
|
16587
|
-
errors
|
|
16285
|
+
elementType: string;
|
|
16286
|
+
locator: string;
|
|
16287
|
+
errors: string[];
|
|
16588
16288
|
}[] | undefined;
|
|
16589
|
-
success?: boolean | undefined;
|
|
16590
16289
|
} | undefined;
|
|
16290
|
+
policyNumber?: string | undefined;
|
|
16591
16291
|
branchHeadTransactionLocators?: string[] | undefined;
|
|
16292
|
+
latestSegmentLocator?: string | undefined;
|
|
16592
16293
|
}, {
|
|
16593
16294
|
locator: string;
|
|
16594
16295
|
billingLevel: "account" | "inherit" | "policy";
|
|
@@ -16598,24 +16299,31 @@ export declare const policyResponseSchema: z.ZodObject<{
|
|
|
16598
16299
|
startTime: string;
|
|
16599
16300
|
endTime: string;
|
|
16600
16301
|
productName: string;
|
|
16601
|
-
durationBasis: "years" | "months" | "weeks" | "days" | "hours";
|
|
16302
|
+
durationBasis: "none" | "years" | "months" | "weeks" | "days" | "hours" | "monthsE360";
|
|
16602
16303
|
issuedTransactionLocator: string;
|
|
16603
16304
|
latestTermLocator: string;
|
|
16604
16305
|
createdBy?: string | undefined;
|
|
16306
|
+
contacts?: {
|
|
16307
|
+
contactLocator: string;
|
|
16308
|
+
roles: string[];
|
|
16309
|
+
}[] | undefined;
|
|
16605
16310
|
timezone?: string | undefined;
|
|
16606
16311
|
delinquencyPlanName?: string | undefined;
|
|
16607
16312
|
autoRenewalPlanName?: string | undefined;
|
|
16313
|
+
region?: string | undefined;
|
|
16608
16314
|
static?: Record<string, any> | undefined;
|
|
16609
16315
|
createdAt?: string | undefined;
|
|
16610
16316
|
validationResult?: {
|
|
16317
|
+
success: boolean;
|
|
16611
16318
|
validationItems?: {
|
|
16612
|
-
elementType
|
|
16613
|
-
locator
|
|
16614
|
-
errors
|
|
16319
|
+
elementType: string;
|
|
16320
|
+
locator: string;
|
|
16321
|
+
errors: string[];
|
|
16615
16322
|
}[] | undefined;
|
|
16616
|
-
success?: boolean | undefined;
|
|
16617
16323
|
} | undefined;
|
|
16324
|
+
policyNumber?: string | undefined;
|
|
16618
16325
|
branchHeadTransactionLocators?: string[] | undefined;
|
|
16326
|
+
latestSegmentLocator?: string | undefined;
|
|
16619
16327
|
}>;
|
|
16620
16328
|
|
|
16621
16329
|
export declare type PolicyResponseType = z.infer<typeof PolicyResponseSchema>;
|
|
@@ -27228,7 +26936,7 @@ export declare const QuoteUpdateRequestSchema: z.ZodObject<z.objectUtil.extendSh
|
|
|
27228
26936
|
|
|
27229
26937
|
export declare const RecentPoliciesListResponseSchema: z.ZodObject<{
|
|
27230
26938
|
count: z.ZodNumber;
|
|
27231
|
-
listCompleted: z.ZodBoolean
|
|
26939
|
+
listCompleted: z.ZodOptional<z.ZodBoolean>;
|
|
27232
26940
|
items: z.ZodArray<z.ZodObject<{
|
|
27233
26941
|
locator: z.ZodString;
|
|
27234
26942
|
lastAccessedTime: z.ZodString;
|
|
@@ -27281,7 +26989,7 @@ export declare const RecentPoliciesListResponseSchema: z.ZodObject<{
|
|
|
27281
26989
|
additionalData?: Record<string, string> | undefined;
|
|
27282
26990
|
}[];
|
|
27283
26991
|
count: number;
|
|
27284
|
-
listCompleted
|
|
26992
|
+
listCompleted?: boolean | undefined;
|
|
27285
26993
|
}, {
|
|
27286
26994
|
items: {
|
|
27287
26995
|
locator: string;
|
|
@@ -27297,7 +27005,7 @@ export declare const RecentPoliciesListResponseSchema: z.ZodObject<{
|
|
|
27297
27005
|
additionalData?: Record<string, string> | undefined;
|
|
27298
27006
|
}[];
|
|
27299
27007
|
count: number;
|
|
27300
|
-
listCompleted
|
|
27008
|
+
listCompleted?: boolean | undefined;
|
|
27301
27009
|
}>;
|
|
27302
27010
|
|
|
27303
27011
|
export declare type RecentPolicyItemBff = z.infer<typeof RecentPolicyItemBffSchema>;
|