@socotra/ec-react-schemas 2.26.1-next.1 → 2.26.1-next.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -1104,6 +1104,136 @@ export declare const BasePolicyTransactionResponseSchema: z.ZodObject<{
1104
1104
  }>;
1105
1105
  }, z.core.$strip>;
1106
1106
 
1107
+ /**
1108
+ * Base schema for policy transaction response.
1109
+ */
1110
+ declare const basePolicyTransactionResponseSchema: z.ZodObject<{
1111
+ locator: z.ZodString;
1112
+ transactionCategory: z.ZodEnum<{
1113
+ issuance: "issuance";
1114
+ change: "change";
1115
+ renewal: "renewal";
1116
+ cancellation: "cancellation";
1117
+ reinstatement: "reinstatement";
1118
+ reversal: "reversal";
1119
+ aggregate: "aggregate";
1120
+ }>;
1121
+ transactionState: z.ZodEnum<{
1122
+ draft: "draft";
1123
+ validated: "validated";
1124
+ earlyUnderwritten: "earlyUnderwritten";
1125
+ priced: "priced";
1126
+ underwritten: "underwritten";
1127
+ accepted: "accepted";
1128
+ issued: "issued";
1129
+ underwrittenBlocked: "underwrittenBlocked";
1130
+ declined: "declined";
1131
+ rejected: "rejected";
1132
+ refused: "refused";
1133
+ discarded: "discarded";
1134
+ initialized: "initialized";
1135
+ invalidated: "invalidated";
1136
+ reversed: "reversed";
1137
+ }>;
1138
+ policyLocator: z.ZodString;
1139
+ baseTransactionLocator: z.ZodOptional<z.ZodString>;
1140
+ aggregateTransactionLocator: z.ZodOptional<z.ZodString>;
1141
+ createdAt: z.ZodISODateTime;
1142
+ createdBy: z.ZodUUID;
1143
+ effectiveTime: z.ZodISODateTime;
1144
+ aggregatedTransactions: z.ZodOptional;
1145
+ termLocator: z.ZodString;
1146
+ transactionType: z.ZodString;
1147
+ issuedTime: z.ZodOptional<z.ZodISODateTime>;
1148
+ billingTrigger: z.ZodOptional<z.ZodEnum<{
1149
+ accept: "accept";
1150
+ issue: "issue";
1151
+ }>>;
1152
+ acceptedTime: z.ZodOptional<z.ZodISODateTime>;
1153
+ reapplicationOfLocator: z.ZodOptional<z.ZodString>;
1154
+ maskingLevel: z.ZodOptional<z.ZodEnum<{
1155
+ none: "none";
1156
+ level1: "level1";
1157
+ level2: "level2";
1158
+ }>>;
1159
+ anonymizedAt: z.ZodOptional<z.ZodISODateTime>;
1160
+ changeInstructions: z.ZodOptional<z.ZodArray<z.ZodAny>>;
1161
+ preferences: z.ZodOptional<z.ZodObject<{
1162
+ billingPreferences: z.ZodOptional<z.ZodObject<{
1163
+ billingPlanName: z.ZodOptional<z.ZodString>;
1164
+ billingLevel: z.ZodOptional<z.ZodEnum<{
1165
+ account: "account";
1166
+ inherit: "inherit";
1167
+ policy: "policy";
1168
+ }>>;
1169
+ }, z.core.$strip>>;
1170
+ installmentPreferences: z.ZodOptional<z.ZodObject<{
1171
+ installmentPlanName: z.ZodOptional<z.ZodString>;
1172
+ anchorMode: z.ZodOptional<z.ZodEnum<{
1173
+ generateDay: "generateDay";
1174
+ termStartDay: "termStartDay";
1175
+ dueDay: "dueDay";
1176
+ }>>;
1177
+ anchorTime: z.ZodOptional<z.ZodString>;
1178
+ anchorType: z.ZodOptional<z.ZodEnum<{
1179
+ none: "none";
1180
+ dayOfMonth: "dayOfMonth";
1181
+ anchorTime: "anchorTime";
1182
+ dayOfWeek: "dayOfWeek";
1183
+ weekOfMonth: "weekOfMonth";
1184
+ }>>;
1185
+ cadence: z.ZodOptional<z.ZodEnum<{
1186
+ none: "none";
1187
+ fullPay: "fullPay";
1188
+ weekly: "weekly";
1189
+ everyOtherWeek: "everyOtherWeek";
1190
+ monthly: "monthly";
1191
+ quarterly: "quarterly";
1192
+ semiannually: "semiannually";
1193
+ annually: "annually";
1194
+ thirtyDays: "thirtyDays";
1195
+ everyNDays: "everyNDays";
1196
+ }>>;
1197
+ dayOfMonth: z.ZodOptional<z.ZodNumber>;
1198
+ dayOfWeek: z.ZodOptional<z.ZodEnum<{
1199
+ monday: "monday";
1200
+ tuesday: "tuesday";
1201
+ wednesday: "wednesday";
1202
+ thursday: "thursday";
1203
+ friday: "friday";
1204
+ saturday: "saturday";
1205
+ sunday: "sunday";
1206
+ }>>;
1207
+ dueLeadDays: z.ZodOptional<z.ZodNumber>;
1208
+ generateLeadDays: z.ZodOptional<z.ZodNumber>;
1209
+ maxInstallmentsPerTerm: z.ZodOptional<z.ZodNumber>;
1210
+ weekOfMonth: z.ZodOptional<z.ZodEnum<{
1211
+ none: "none";
1212
+ first: "first";
1213
+ second: "second";
1214
+ third: "third";
1215
+ fourth: "fourth";
1216
+ fifth: "fifth";
1217
+ }>>;
1218
+ }, z.core.$strip>>;
1219
+ }, z.core.$strip>>;
1220
+ underwritingStatus: z.ZodOptional<z.ZodEnum<{
1221
+ none: "none";
1222
+ declined: "declined";
1223
+ rejected: "rejected";
1224
+ approved: "approved";
1225
+ blocked: "blocked";
1226
+ }>>;
1227
+ validationResult: z.ZodOptional<z.ZodObject<{
1228
+ validationItems: z.ZodOptional<z.ZodArray<z.ZodObject<{
1229
+ locator: z.ZodOptional<z.ZodULID>;
1230
+ elementType: z.ZodOptional<z.ZodString>;
1231
+ errors: z.ZodOptional<z.ZodArray<z.ZodString>>;
1232
+ }, z.core.$strip>>>;
1233
+ success: z.ZodOptional<z.ZodBoolean>;
1234
+ }, z.core.$strip>>;
1235
+ }, z.core.$strip>;
1236
+
1107
1237
  declare const BaseTransactionPriceSchema: z.ZodObject<{
1108
1238
  locator: z.ZodULID;
1109
1239
  policyLocator: z.ZodULID;
@@ -1502,7 +1632,7 @@ export declare type ConsolidatedDocumentRef = z.infer<typeof ConsolidatedDocumen
1502
1632
  export declare type ConsolidatedDocumentRefRecord = z.infer<typeof ConsolidatedDocumentRefRecordSchema>;
1503
1633
 
1504
1634
  export declare const ConsolidatedDocumentRefRecordSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
1505
- displayName: z.ZodString;
1635
+ displayName: z.ZodOptional<z.ZodString>;
1506
1636
  consolidatedDocuments: z.ZodArray<z.ZodString>;
1507
1637
  leadingDocumentTemplate: z.ZodString;
1508
1638
  pageNumbering: z.ZodObject<{
@@ -1514,7 +1644,7 @@ export declare const ConsolidatedDocumentRefRecordSchema: z.ZodRecord<z.ZodStrin
1514
1644
  }, z.core.$strip>>;
1515
1645
 
1516
1646
  export declare const ConsolidatedDocumentRefSchema: z.ZodObject<{
1517
- displayName: z.ZodString;
1647
+ displayName: z.ZodOptional<z.ZodString>;
1518
1648
  consolidatedDocuments: z.ZodArray<z.ZodString>;
1519
1649
  leadingDocumentTemplate: z.ZodString;
1520
1650
  pageNumbering: z.ZodObject<{
@@ -3497,7 +3627,7 @@ export declare const dataModelSchema: z.ZodObject<{
3497
3627
  }>>;
3498
3628
  }, z.core.$strip>>>;
3499
3629
  consolidatedDocuments: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
3500
- displayName: z.ZodString;
3630
+ displayName: z.ZodOptional<z.ZodString>;
3501
3631
  consolidatedDocuments: z.ZodArray<z.ZodString>;
3502
3632
  leadingDocumentTemplate: z.ZodString;
3503
3633
  pageNumbering: z.ZodObject<{
@@ -6001,6 +6131,7 @@ export declare const InvoiceResponseSchema: z.ZodObject<{
6001
6131
  autopayTime: z.ZodOptional<z.ZodISODateTime>;
6002
6132
  totalAmount: z.ZodOptional<z.ZodNumber>;
6003
6133
  totalRemainingAmount: z.ZodOptional<z.ZodNumber>;
6134
+ settledTime: z.ZodOptional<z.ZodISODateTime>;
6004
6135
  }, z.core.$strip>;
6005
6136
 
6006
6137
  export declare type InvoiceStateEnum = z.infer<typeof InvoiceStateEnumSchema>;
@@ -8709,13 +8840,20 @@ export declare const PolicyTransactionListResponseSchema: z.ZodObject<{
8709
8840
  }, z.core.$strip>>;
8710
8841
  }, z.core.$strip>;
8711
8842
 
8712
- export declare type PolicyTransactionResponse = z.infer<typeof policyTransactionResponseSchema>;
8843
+ export declare type PolicyTransactionResponse = z.infer<typeof basePolicyTransactionResponseSchema> & {
8844
+ aggregatedTransactions?: PolicyTransactionResponse[];
8845
+ };
8846
+
8847
+ /**
8848
+ * Full schema for policy transaction response with aggregated transactions shaped the same as the base schema.
8849
+ */
8850
+ export declare const PolicyTransactionResponseSchema: z.ZodType<PolicyTransactionResponse>;
8713
8851
 
8714
- export declare const PolicyTransactionResponseSchema: z.ZodObject<{
8715
- locator: z.ZodULID;
8716
- policyLocator: z.ZodULID;
8717
- termLocator: z.ZodULID;
8718
- effectiveTime: z.ZodISODateTime;
8852
+ /** @deprecated - use PolicyTransactionResponseSchema instead. */
8853
+ export declare const policyTransactionResponseSchema: z.ZodObject<{
8854
+ locator: z.ZodString;
8855
+ policyLocator: z.ZodString;
8856
+ termLocator: z.ZodString;
8719
8857
  transactionState: z.ZodEnum<{
8720
8858
  draft: "draft";
8721
8859
  validated: "validated";
@@ -8733,6 +8871,9 @@ export declare const PolicyTransactionResponseSchema: z.ZodObject<{
8733
8871
  invalidated: "invalidated";
8734
8872
  reversed: "reversed";
8735
8873
  }>;
8874
+ createdAt: z.ZodISODateTime;
8875
+ createdBy: z.ZodGUID;
8876
+ effectiveTime: z.ZodISODateTime;
8736
8877
  transactionCategory: z.ZodEnum<{
8737
8878
  issuance: "issuance";
8738
8879
  change: "change";
@@ -8743,38 +8884,31 @@ export declare const PolicyTransactionResponseSchema: z.ZodObject<{
8743
8884
  aggregate: "aggregate";
8744
8885
  }>;
8745
8886
  transactionType: z.ZodString;
8746
- createdAt: z.ZodISODateTime;
8747
- createdBy: z.ZodGUID;
8748
- aggregateTransactionLocator: z.ZodOptional<z.ZodULID>;
8749
- baseTransactionLocator: z.ZodOptional<z.ZodULID>;
8887
+ changeInstructions: z.ZodOptional<z.ZodArray<z.ZodAny>>;
8888
+ aggregateTransactionLocator: z.ZodOptional<z.ZodString>;
8889
+ baseTransactionLocator: z.ZodOptional<z.ZodString>;
8750
8890
  issuedTime: z.ZodOptional<z.ZodISODateTime>;
8751
- acceptedTime: z.ZodOptional<z.ZodISODateTime>;
8891
+ billingTrigger: z.ZodOptional<z.ZodEnum<{
8892
+ accept: "accept";
8893
+ issue: "issue";
8894
+ }>>;
8752
8895
  preferences: z.ZodOptional<z.ZodObject<{
8896
+ billingPreferences: z.ZodOptional<z.ZodObject<{
8897
+ billingPlanName: z.ZodOptional<z.ZodString>;
8898
+ billingLevel: z.ZodOptional<z.ZodEnum<{
8899
+ account: "account";
8900
+ inherit: "inherit";
8901
+ policy: "policy";
8902
+ }>>;
8903
+ }, z.core.$strip>>;
8753
8904
  installmentPreferences: z.ZodOptional<z.ZodObject<{
8754
- generateLeadDays: z.ZodOptional<z.ZodInt>;
8755
- dueLeadDays: z.ZodOptional<z.ZodInt>;
8756
- maxInstallmentsPerTerm: z.ZodOptional<z.ZodInt>;
8757
8905
  installmentPlanName: z.ZodOptional<z.ZodString>;
8758
- dayOfMonth: z.ZodOptional<z.ZodInt>;
8759
- anchorTime: z.ZodOptional<z.ZodISODateTime>;
8760
- autopayLeadDays: z.ZodOptional<z.ZodNumber>;
8761
- cadence: z.ZodOptional<z.ZodEnum<{
8762
- none: "none";
8763
- fullPay: "fullPay";
8764
- weekly: "weekly";
8765
- everyOtherWeek: "everyOtherWeek";
8766
- monthly: "monthly";
8767
- quarterly: "quarterly";
8768
- semiannually: "semiannually";
8769
- annually: "annually";
8770
- thirtyDays: "thirtyDays";
8771
- everyNDays: "everyNDays";
8772
- }>>;
8773
8906
  anchorMode: z.ZodOptional<z.ZodEnum<{
8774
8907
  generateDay: "generateDay";
8775
8908
  termStartDay: "termStartDay";
8776
8909
  dueDay: "dueDay";
8777
8910
  }>>;
8911
+ anchorTime: z.ZodOptional<z.ZodString>;
8778
8912
  anchorType: z.ZodOptional<z.ZodEnum<{
8779
8913
  none: "none";
8780
8914
  dayOfMonth: "dayOfMonth";
@@ -8782,6 +8916,19 @@ export declare const PolicyTransactionResponseSchema: z.ZodObject<{
8782
8916
  dayOfWeek: "dayOfWeek";
8783
8917
  weekOfMonth: "weekOfMonth";
8784
8918
  }>>;
8919
+ cadence: z.ZodOptional<z.ZodEnum<{
8920
+ none: "none";
8921
+ fullPay: "fullPay";
8922
+ weekly: "weekly";
8923
+ everyOtherWeek: "everyOtherWeek";
8924
+ monthly: "monthly";
8925
+ quarterly: "quarterly";
8926
+ semiannually: "semiannually";
8927
+ annually: "annually";
8928
+ thirtyDays: "thirtyDays";
8929
+ everyNDays: "everyNDays";
8930
+ }>>;
8931
+ dayOfMonth: z.ZodOptional<z.ZodNumber>;
8785
8932
  dayOfWeek: z.ZodOptional<z.ZodEnum<{
8786
8933
  monday: "monday";
8787
8934
  tuesday: "tuesday";
@@ -8791,6 +8938,9 @@ export declare const PolicyTransactionResponseSchema: z.ZodObject<{
8791
8938
  saturday: "saturday";
8792
8939
  sunday: "sunday";
8793
8940
  }>>;
8941
+ dueLeadDays: z.ZodOptional<z.ZodNumber>;
8942
+ generateLeadDays: z.ZodOptional<z.ZodNumber>;
8943
+ maxInstallmentsPerTerm: z.ZodOptional<z.ZodNumber>;
8794
8944
  weekOfMonth: z.ZodOptional<z.ZodEnum<{
8795
8945
  none: "none";
8796
8946
  first: "first";
@@ -8799,18 +8949,15 @@ export declare const PolicyTransactionResponseSchema: z.ZodObject<{
8799
8949
  fourth: "fourth";
8800
8950
  fifth: "fifth";
8801
8951
  }>>;
8802
- installmentWeights: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
8803
- }, z.core.$strip>>;
8804
- billingPreferences: z.ZodOptional<z.ZodObject<{
8805
- billingPlanName: z.ZodOptional<z.ZodString>;
8806
- billingLevel: z.ZodEnum<{
8807
- account: "account";
8808
- inherit: "inherit";
8809
- policy: "policy";
8810
- }>;
8811
8952
  }, z.core.$strip>>;
8812
8953
  }, z.core.$strip>>;
8813
- underwritingStatus: z.ZodOptional<z.ZodString>;
8954
+ underwritingStatus: z.ZodOptional<z.ZodEnum<{
8955
+ none: "none";
8956
+ declined: "declined";
8957
+ rejected: "rejected";
8958
+ approved: "approved";
8959
+ blocked: "blocked";
8960
+ }>>;
8814
8961
  validationResult: z.ZodOptional<z.ZodObject<{
8815
8962
  validationItems: z.ZodOptional<z.ZodArray<z.ZodObject<{
8816
8963
  locator: z.ZodOptional<z.ZodULID>;
@@ -8819,527 +8966,26 @@ export declare const PolicyTransactionResponseSchema: z.ZodObject<{
8819
8966
  }, z.core.$strip>>>;
8820
8967
  success: z.ZodOptional<z.ZodBoolean>;
8821
8968
  }, z.core.$strip>>;
8822
- changeInstructions: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
8823
- locator: z.ZodULID;
8824
- action: z.ZodEnum<{
8825
- delete: "delete";
8826
- params: "params";
8827
- modify: "modify";
8828
- add: "add";
8829
- }>;
8830
- elements: z.ZodArray<z.ZodType<{
8831
- type: string;
8832
- parentLocator: string;
8833
- data: Record<string, any>;
8834
- coverageTerms: Record<string, string>;
8835
- staticLocator?: string | undefined;
8836
- } & {
8837
- elements?: ({
8838
- type: string;
8839
- parentLocator: string;
8840
- data: Record<string, any>;
8841
- coverageTerms: Record<string, string>;
8842
- staticLocator?: string | undefined;
8843
- } & /*elided*/ any)[];
8844
- }, unknown, z.core.$ZodTypeInternals<{
8845
- type: string;
8846
- parentLocator: string;
8847
- data: Record<string, any>;
8848
- coverageTerms: Record<string, string>;
8849
- staticLocator?: string | undefined;
8850
- } & {
8851
- elements?: ({
8852
- type: string;
8853
- parentLocator: string;
8854
- data: Record<string, any>;
8855
- coverageTerms: Record<string, string>;
8856
- staticLocator?: string | undefined;
8857
- } & /*elided*/ any)[];
8858
- }, unknown>>>;
8859
- }, z.core.$strip>, z.ZodObject<{
8860
- locator: z.ZodULID;
8861
- action: z.ZodEnum<{
8862
- delete: "delete";
8863
- params: "params";
8864
- modify: "modify";
8865
- add: "add";
8866
- }>;
8867
- staticLocator: z.ZodULID;
8868
- setData: z.ZodRecord<z.ZodString, z.ZodAny>;
8869
- removeData: z.ZodRecord<z.ZodString, z.ZodAny>;
8870
- setCoverageTerms: z.ZodRecord<z.ZodString, z.ZodString>;
8871
- removeCoverageTerms: z.ZodRecord<z.ZodString, z.ZodAny>;
8872
- }, z.core.$strip>, z.ZodObject<{
8873
- locator: z.ZodULID;
8874
- action: z.ZodEnum<{
8875
- delete: "delete";
8876
- params: "params";
8877
- modify: "modify";
8878
- add: "add";
8879
- }>;
8880
- effectiveTime: z.ZodISODateTime;
8881
- newPolicyEndTime: z.ZodOptional<z.ZodISODateTime>;
8882
- preferences: z.ZodOptional<z.ZodObject<{
8883
- installmentPreferences: z.ZodOptional<z.ZodObject<{
8884
- generateLeadDays: z.ZodOptional<z.ZodInt>;
8885
- dueLeadDays: z.ZodOptional<z.ZodInt>;
8886
- maxInstallmentsPerTerm: z.ZodOptional<z.ZodInt>;
8887
- installmentPlanName: z.ZodOptional<z.ZodString>;
8888
- dayOfMonth: z.ZodOptional<z.ZodInt>;
8889
- anchorTime: z.ZodOptional<z.ZodISODateTime>;
8890
- autopayLeadDays: z.ZodOptional<z.ZodNumber>;
8891
- cadence: z.ZodOptional<z.ZodEnum<{
8892
- none: "none";
8893
- fullPay: "fullPay";
8894
- weekly: "weekly";
8895
- everyOtherWeek: "everyOtherWeek";
8896
- monthly: "monthly";
8897
- quarterly: "quarterly";
8898
- semiannually: "semiannually";
8899
- annually: "annually";
8900
- thirtyDays: "thirtyDays";
8901
- everyNDays: "everyNDays";
8902
- }>>;
8903
- anchorMode: z.ZodOptional<z.ZodEnum<{
8904
- generateDay: "generateDay";
8905
- termStartDay: "termStartDay";
8906
- dueDay: "dueDay";
8907
- }>>;
8908
- anchorType: z.ZodOptional<z.ZodEnum<{
8909
- none: "none";
8910
- dayOfMonth: "dayOfMonth";
8911
- anchorTime: "anchorTime";
8912
- dayOfWeek: "dayOfWeek";
8913
- weekOfMonth: "weekOfMonth";
8914
- }>>;
8915
- dayOfWeek: z.ZodOptional<z.ZodEnum<{
8916
- monday: "monday";
8917
- tuesday: "tuesday";
8918
- wednesday: "wednesday";
8919
- thursday: "thursday";
8920
- friday: "friday";
8921
- saturday: "saturday";
8922
- sunday: "sunday";
8923
- }>>;
8924
- weekOfMonth: z.ZodOptional<z.ZodEnum<{
8925
- none: "none";
8926
- first: "first";
8927
- second: "second";
8928
- third: "third";
8929
- fourth: "fourth";
8930
- fifth: "fifth";
8931
- }>>;
8932
- installmentWeights: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
8933
- }, z.core.$strip>>;
8934
- billingPreferences: z.ZodOptional<z.ZodObject<{
8935
- billingPlanName: z.ZodOptional<z.ZodString>;
8936
- billingLevel: z.ZodEnum<{
8937
- account: "account";
8938
- inherit: "inherit";
8939
- policy: "policy";
8940
- }>;
8941
- }, z.core.$strip>>;
8942
- }, z.core.$strip>>;
8943
- triggerBillingChange: z.ZodOptional<z.ZodBoolean>;
8944
- billingModeChange: z.ZodOptional<z.ZodBoolean>;
8945
- }, z.core.$strip>, z.ZodObject<{
8946
- locator: z.ZodULID;
8947
- action: z.ZodEnum<{
8948
- delete: "delete";
8949
- params: "params";
8950
- modify: "modify";
8951
- add: "add";
8952
- }>;
8953
- staticElementLocators: z.ZodArray<z.ZodULID>;
8954
- }, z.core.$strip>]>>>;
8955
- billingTrigger: z.ZodEnum<{
8956
- accept: "accept";
8957
- issue: "issue";
8958
- }>;
8959
- aggregatedTransactions: z.ZodArray<z.ZodObject<{
8960
- locator: z.ZodULID;
8961
- policyLocator: z.ZodULID;
8962
- termLocator: z.ZodULID;
8963
- effectiveTime: z.ZodISODateTime;
8964
- transactionState: z.ZodEnum<{
8965
- draft: "draft";
8966
- validated: "validated";
8967
- earlyUnderwritten: "earlyUnderwritten";
8968
- priced: "priced";
8969
- underwritten: "underwritten";
8970
- accepted: "accepted";
8971
- issued: "issued";
8972
- underwrittenBlocked: "underwrittenBlocked";
8973
- declined: "declined";
8974
- rejected: "rejected";
8975
- refused: "refused";
8976
- discarded: "discarded";
8977
- initialized: "initialized";
8978
- invalidated: "invalidated";
8979
- reversed: "reversed";
8980
- }>;
8981
- transactionCategory: z.ZodEnum<{
8982
- issuance: "issuance";
8983
- change: "change";
8984
- renewal: "renewal";
8985
- cancellation: "cancellation";
8986
- reinstatement: "reinstatement";
8987
- reversal: "reversal";
8988
- aggregate: "aggregate";
8989
- }>;
8990
- transactionType: z.ZodString;
8991
- createdAt: z.ZodISODateTime;
8992
- createdBy: z.ZodGUID;
8993
- aggregateTransactionLocator: z.ZodOptional<z.ZodULID>;
8994
- baseTransactionLocator: z.ZodOptional<z.ZodULID>;
8995
- issuedTime: z.ZodOptional<z.ZodISODateTime>;
8996
- acceptedTime: z.ZodOptional<z.ZodISODateTime>;
8997
- preferences: z.ZodOptional<z.ZodObject<{
8998
- installmentPreferences: z.ZodOptional<z.ZodObject<{
8999
- generateLeadDays: z.ZodOptional<z.ZodInt>;
9000
- dueLeadDays: z.ZodOptional<z.ZodInt>;
9001
- maxInstallmentsPerTerm: z.ZodOptional<z.ZodInt>;
9002
- installmentPlanName: z.ZodOptional<z.ZodString>;
9003
- dayOfMonth: z.ZodOptional<z.ZodInt>;
9004
- anchorTime: z.ZodOptional<z.ZodISODateTime>;
9005
- autopayLeadDays: z.ZodOptional<z.ZodNumber>;
9006
- cadence: z.ZodOptional<z.ZodEnum<{
9007
- none: "none";
9008
- fullPay: "fullPay";
9009
- weekly: "weekly";
9010
- everyOtherWeek: "everyOtherWeek";
9011
- monthly: "monthly";
9012
- quarterly: "quarterly";
9013
- semiannually: "semiannually";
9014
- annually: "annually";
9015
- thirtyDays: "thirtyDays";
9016
- everyNDays: "everyNDays";
9017
- }>>;
9018
- anchorMode: z.ZodOptional<z.ZodEnum<{
9019
- generateDay: "generateDay";
9020
- termStartDay: "termStartDay";
9021
- dueDay: "dueDay";
9022
- }>>;
9023
- anchorType: z.ZodOptional<z.ZodEnum<{
9024
- none: "none";
9025
- dayOfMonth: "dayOfMonth";
9026
- anchorTime: "anchorTime";
9027
- dayOfWeek: "dayOfWeek";
9028
- weekOfMonth: "weekOfMonth";
9029
- }>>;
9030
- dayOfWeek: z.ZodOptional<z.ZodEnum<{
9031
- monday: "monday";
9032
- tuesday: "tuesday";
9033
- wednesday: "wednesday";
9034
- thursday: "thursday";
9035
- friday: "friday";
9036
- saturday: "saturday";
9037
- sunday: "sunday";
9038
- }>>;
9039
- weekOfMonth: z.ZodOptional<z.ZodEnum<{
9040
- none: "none";
9041
- first: "first";
9042
- second: "second";
9043
- third: "third";
9044
- fourth: "fourth";
9045
- fifth: "fifth";
9046
- }>>;
9047
- installmentWeights: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
9048
- }, z.core.$strip>>;
9049
- billingPreferences: z.ZodOptional<z.ZodObject<{
9050
- billingPlanName: z.ZodOptional<z.ZodString>;
9051
- billingLevel: z.ZodEnum<{
9052
- account: "account";
9053
- inherit: "inherit";
9054
- policy: "policy";
9055
- }>;
9056
- }, z.core.$strip>>;
9057
- }, z.core.$strip>>;
9058
- underwritingStatus: z.ZodOptional<z.ZodString>;
9059
- validationResult: z.ZodOptional<z.ZodObject<{
9060
- validationItems: z.ZodOptional<z.ZodArray<z.ZodObject<{
9061
- locator: z.ZodOptional<z.ZodULID>;
9062
- elementType: z.ZodOptional<z.ZodString>;
9063
- errors: z.ZodOptional<z.ZodArray<z.ZodString>>;
9064
- }, z.core.$strip>>>;
9065
- success: z.ZodOptional<z.ZodBoolean>;
9066
- }, z.core.$strip>>;
9067
- changeInstructions: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
9068
- locator: z.ZodULID;
9069
- action: z.ZodEnum<{
9070
- delete: "delete";
9071
- params: "params";
9072
- modify: "modify";
9073
- add: "add";
9074
- }>;
9075
- elements: z.ZodArray<z.ZodType<{
9076
- type: string;
9077
- parentLocator: string;
9078
- data: Record<string, any>;
9079
- coverageTerms: Record<string, string>;
9080
- staticLocator?: string | undefined;
9081
- } & {
9082
- elements?: ({
9083
- type: string;
9084
- parentLocator: string;
9085
- data: Record<string, any>;
9086
- coverageTerms: Record<string, string>;
9087
- staticLocator?: string | undefined;
9088
- } & /*elided*/ any)[];
9089
- }, unknown, z.core.$ZodTypeInternals<{
9090
- type: string;
9091
- parentLocator: string;
9092
- data: Record<string, any>;
9093
- coverageTerms: Record<string, string>;
9094
- staticLocator?: string | undefined;
9095
- } & {
9096
- elements?: ({
9097
- type: string;
9098
- parentLocator: string;
9099
- data: Record<string, any>;
9100
- coverageTerms: Record<string, string>;
9101
- staticLocator?: string | undefined;
9102
- } & /*elided*/ any)[];
9103
- }, unknown>>>;
9104
- }, z.core.$strip>, z.ZodObject<{
9105
- locator: z.ZodULID;
9106
- action: z.ZodEnum<{
9107
- delete: "delete";
9108
- params: "params";
9109
- modify: "modify";
9110
- add: "add";
9111
- }>;
9112
- staticLocator: z.ZodULID;
9113
- setData: z.ZodRecord<z.ZodString, z.ZodAny>;
9114
- removeData: z.ZodRecord<z.ZodString, z.ZodAny>;
9115
- setCoverageTerms: z.ZodRecord<z.ZodString, z.ZodString>;
9116
- removeCoverageTerms: z.ZodRecord<z.ZodString, z.ZodAny>;
9117
- }, z.core.$strip>, z.ZodObject<{
9118
- locator: z.ZodULID;
9119
- action: z.ZodEnum<{
9120
- delete: "delete";
9121
- params: "params";
9122
- modify: "modify";
9123
- add: "add";
9124
- }>;
9125
- effectiveTime: z.ZodISODateTime;
9126
- newPolicyEndTime: z.ZodOptional<z.ZodISODateTime>;
9127
- preferences: z.ZodOptional<z.ZodObject<{
9128
- installmentPreferences: z.ZodOptional<z.ZodObject<{
9129
- generateLeadDays: z.ZodOptional<z.ZodInt>;
9130
- dueLeadDays: z.ZodOptional<z.ZodInt>;
9131
- maxInstallmentsPerTerm: z.ZodOptional<z.ZodInt>;
9132
- installmentPlanName: z.ZodOptional<z.ZodString>;
9133
- dayOfMonth: z.ZodOptional<z.ZodInt>;
9134
- anchorTime: z.ZodOptional<z.ZodISODateTime>;
9135
- autopayLeadDays: z.ZodOptional<z.ZodNumber>;
9136
- cadence: z.ZodOptional<z.ZodEnum<{
9137
- none: "none";
9138
- fullPay: "fullPay";
9139
- weekly: "weekly";
9140
- everyOtherWeek: "everyOtherWeek";
9141
- monthly: "monthly";
9142
- quarterly: "quarterly";
9143
- semiannually: "semiannually";
9144
- annually: "annually";
9145
- thirtyDays: "thirtyDays";
9146
- everyNDays: "everyNDays";
9147
- }>>;
9148
- anchorMode: z.ZodOptional<z.ZodEnum<{
9149
- generateDay: "generateDay";
9150
- termStartDay: "termStartDay";
9151
- dueDay: "dueDay";
9152
- }>>;
9153
- anchorType: z.ZodOptional<z.ZodEnum<{
9154
- none: "none";
9155
- dayOfMonth: "dayOfMonth";
9156
- anchorTime: "anchorTime";
9157
- dayOfWeek: "dayOfWeek";
9158
- weekOfMonth: "weekOfMonth";
9159
- }>>;
9160
- dayOfWeek: z.ZodOptional<z.ZodEnum<{
9161
- monday: "monday";
9162
- tuesday: "tuesday";
9163
- wednesday: "wednesday";
9164
- thursday: "thursday";
9165
- friday: "friday";
9166
- saturday: "saturday";
9167
- sunday: "sunday";
9168
- }>>;
9169
- weekOfMonth: z.ZodOptional<z.ZodEnum<{
9170
- none: "none";
9171
- first: "first";
9172
- second: "second";
9173
- third: "third";
9174
- fourth: "fourth";
9175
- fifth: "fifth";
9176
- }>>;
9177
- installmentWeights: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
9178
- }, z.core.$strip>>;
9179
- billingPreferences: z.ZodOptional<z.ZodObject<{
9180
- billingPlanName: z.ZodOptional<z.ZodString>;
9181
- billingLevel: z.ZodEnum<{
9182
- account: "account";
9183
- inherit: "inherit";
9184
- policy: "policy";
9185
- }>;
9186
- }, z.core.$strip>>;
9187
- }, z.core.$strip>>;
9188
- triggerBillingChange: z.ZodOptional<z.ZodBoolean>;
9189
- billingModeChange: z.ZodOptional<z.ZodBoolean>;
9190
- }, z.core.$strip>, z.ZodObject<{
9191
- locator: z.ZodULID;
9192
- action: z.ZodEnum<{
9193
- delete: "delete";
9194
- params: "params";
9195
- modify: "modify";
9196
- add: "add";
9197
- }>;
9198
- staticElementLocators: z.ZodArray<z.ZodULID>;
9199
- }, z.core.$strip>]>>>;
9200
- billingTrigger: z.ZodEnum<{
9201
- accept: "accept";
9202
- issue: "issue";
9203
- }>;
9204
- }, z.core.$strip>>;
9205
- }, z.core.$strip>;
9206
-
9207
- export declare const policyTransactionResponseSchema: z.ZodObject<{
9208
- locator: z.ZodString;
9209
- policyLocator: z.ZodString;
9210
- termLocator: z.ZodString;
9211
- transactionState: z.ZodEnum<{
9212
- draft: "draft";
9213
- validated: "validated";
9214
- earlyUnderwritten: "earlyUnderwritten";
9215
- priced: "priced";
9216
- underwritten: "underwritten";
9217
- accepted: "accepted";
9218
- issued: "issued";
9219
- underwrittenBlocked: "underwrittenBlocked";
9220
- declined: "declined";
9221
- rejected: "rejected";
9222
- refused: "refused";
9223
- discarded: "discarded";
9224
- initialized: "initialized";
9225
- invalidated: "invalidated";
9226
- reversed: "reversed";
9227
- }>;
9228
- createdAt: z.ZodISODateTime;
9229
- createdBy: z.ZodGUID;
9230
- effectiveTime: z.ZodISODateTime;
9231
- transactionCategory: z.ZodEnum<{
9232
- issuance: "issuance";
9233
- change: "change";
9234
- renewal: "renewal";
9235
- cancellation: "cancellation";
9236
- reinstatement: "reinstatement";
9237
- reversal: "reversal";
9238
- aggregate: "aggregate";
9239
- }>;
9240
- transactionType: z.ZodString;
9241
- changeInstructions: z.ZodOptional<z.ZodArray<z.ZodAny>>;
9242
- aggregateTransactionLocator: z.ZodOptional<z.ZodString>;
9243
- baseTransactionLocator: z.ZodOptional<z.ZodString>;
9244
- issuedTime: z.ZodOptional<z.ZodISODateTime>;
9245
- billingTrigger: z.ZodOptional<z.ZodEnum<{
9246
- accept: "accept";
9247
- issue: "issue";
9248
- }>>;
9249
- preferences: z.ZodOptional<z.ZodObject<{
9250
- billingPreferences: z.ZodOptional<z.ZodObject<{
9251
- billingPlanName: z.ZodOptional<z.ZodString>;
9252
- billingLevel: z.ZodOptional<z.ZodEnum<{
9253
- account: "account";
9254
- inherit: "inherit";
9255
- policy: "policy";
9256
- }>>;
9257
- }, z.core.$strip>>;
9258
- installmentPreferences: z.ZodOptional<z.ZodObject<{
9259
- installmentPlanName: z.ZodOptional<z.ZodString>;
9260
- anchorMode: z.ZodOptional<z.ZodEnum<{
9261
- generateDay: "generateDay";
9262
- termStartDay: "termStartDay";
9263
- dueDay: "dueDay";
9264
- }>>;
9265
- anchorTime: z.ZodOptional<z.ZodString>;
9266
- anchorType: z.ZodOptional<z.ZodEnum<{
9267
- none: "none";
9268
- dayOfMonth: "dayOfMonth";
9269
- anchorTime: "anchorTime";
9270
- dayOfWeek: "dayOfWeek";
9271
- weekOfMonth: "weekOfMonth";
9272
- }>>;
9273
- cadence: z.ZodOptional<z.ZodEnum<{
9274
- none: "none";
9275
- fullPay: "fullPay";
9276
- weekly: "weekly";
9277
- everyOtherWeek: "everyOtherWeek";
9278
- monthly: "monthly";
9279
- quarterly: "quarterly";
9280
- semiannually: "semiannually";
9281
- annually: "annually";
9282
- thirtyDays: "thirtyDays";
9283
- everyNDays: "everyNDays";
9284
- }>>;
9285
- dayOfMonth: z.ZodOptional<z.ZodNumber>;
9286
- dayOfWeek: z.ZodOptional<z.ZodEnum<{
9287
- monday: "monday";
9288
- tuesday: "tuesday";
9289
- wednesday: "wednesday";
9290
- thursday: "thursday";
9291
- friday: "friday";
9292
- saturday: "saturday";
9293
- sunday: "sunday";
9294
- }>>;
9295
- dueLeadDays: z.ZodOptional<z.ZodNumber>;
9296
- generateLeadDays: z.ZodOptional<z.ZodNumber>;
9297
- maxInstallmentsPerTerm: z.ZodOptional<z.ZodNumber>;
9298
- weekOfMonth: z.ZodOptional<z.ZodEnum<{
9299
- none: "none";
9300
- first: "first";
9301
- second: "second";
9302
- third: "third";
9303
- fourth: "fourth";
9304
- fifth: "fifth";
9305
- }>>;
9306
- }, z.core.$strip>>;
9307
- }, z.core.$strip>>;
9308
- underwritingStatus: z.ZodOptional<z.ZodEnum<{
9309
- none: "none";
9310
- declined: "declined";
9311
- rejected: "rejected";
9312
- approved: "approved";
9313
- blocked: "blocked";
9314
- }>>;
9315
- validationResult: z.ZodOptional<z.ZodObject<{
9316
- validationItems: z.ZodOptional<z.ZodArray<z.ZodObject<{
9317
- locator: z.ZodOptional<z.ZodULID>;
9318
- elementType: z.ZodOptional<z.ZodString>;
9319
- errors: z.ZodOptional<z.ZodArray<z.ZodString>>;
9320
- }, z.core.$strip>>>;
9321
- success: z.ZodOptional<z.ZodBoolean>;
9322
- }, z.core.$strip>>;
9323
- aggregatedTransactions: z.ZodLazy<z.ZodOptional<z.ZodArray<z.ZodObject<{
9324
- locator: z.ZodString;
9325
- policyLocator: z.ZodString;
9326
- termLocator: z.ZodString;
9327
- transactionState: z.ZodEnum<{
9328
- draft: "draft";
9329
- validated: "validated";
9330
- earlyUnderwritten: "earlyUnderwritten";
9331
- priced: "priced";
9332
- underwritten: "underwritten";
9333
- accepted: "accepted";
9334
- issued: "issued";
9335
- underwrittenBlocked: "underwrittenBlocked";
9336
- declined: "declined";
9337
- rejected: "rejected";
9338
- refused: "refused";
9339
- discarded: "discarded";
9340
- initialized: "initialized";
9341
- invalidated: "invalidated";
9342
- reversed: "reversed";
8969
+ aggregatedTransactions: z.ZodLazy<z.ZodOptional<z.ZodArray<z.ZodObject<{
8970
+ locator: z.ZodString;
8971
+ policyLocator: z.ZodString;
8972
+ termLocator: z.ZodString;
8973
+ transactionState: z.ZodEnum<{
8974
+ draft: "draft";
8975
+ validated: "validated";
8976
+ earlyUnderwritten: "earlyUnderwritten";
8977
+ priced: "priced";
8978
+ underwritten: "underwritten";
8979
+ accepted: "accepted";
8980
+ issued: "issued";
8981
+ underwrittenBlocked: "underwrittenBlocked";
8982
+ declined: "declined";
8983
+ rejected: "rejected";
8984
+ refused: "refused";
8985
+ discarded: "discarded";
8986
+ initialized: "initialized";
8987
+ invalidated: "invalidated";
8988
+ reversed: "reversed";
9343
8989
  }>;
9344
8990
  createdAt: z.ZodISODateTime;
9345
8991
  createdBy: z.ZodGUID;
@@ -12604,7 +12250,7 @@ export declare const TemplateSnippetConfigSchema: z.ZodObject<{
12604
12250
  policyStartTime: "policyStartTime";
12605
12251
  currentTime: "currentTime";
12606
12252
  }>;
12607
- displayName: z.ZodString;
12253
+ displayName: z.ZodOptional<z.ZodString>;
12608
12254
  }, z.core.$strip>;
12609
12255
 
12610
12256
  export declare type TenantBaseConfig = z.infer<typeof tenantBaseConfigSchema>;