@socotra/ec-react-schemas 2.26.1-next.0 → 2.26.1-next.3

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,78 @@ 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
+ preferences: z.ZodOptional;
1147
+ transactionType: z.ZodString;
1148
+ issuedTime: z.ZodOptional<z.ZodISODateTime>;
1149
+ billingTrigger: z.ZodOptional<z.ZodEnum<{
1150
+ accept: "accept";
1151
+ issue: "issue";
1152
+ }>>;
1153
+ acceptedTime: z.ZodOptional<z.ZodISODateTime>;
1154
+ reapplicationOfLocator: z.ZodOptional<z.ZodString>;
1155
+ maskingLevel: z.ZodOptional<z.ZodEnum<{
1156
+ none: "none";
1157
+ level1: "level1";
1158
+ level2: "level2";
1159
+ }>>;
1160
+ anonymizedAt: z.ZodOptional<z.ZodISODateTime>;
1161
+ changeInstructions: z.ZodOptional<z.ZodArray<z.ZodAny>>;
1162
+ underwritingStatus: z.ZodOptional<z.ZodEnum<{
1163
+ none: "none";
1164
+ declined: "declined";
1165
+ rejected: "rejected";
1166
+ approved: "approved";
1167
+ blocked: "blocked";
1168
+ }>>;
1169
+ validationResult: z.ZodOptional<z.ZodObject<{
1170
+ validationItems: z.ZodOptional<z.ZodArray<z.ZodObject<{
1171
+ locator: z.ZodOptional<z.ZodULID>;
1172
+ elementType: z.ZodOptional<z.ZodString>;
1173
+ errors: z.ZodOptional<z.ZodArray<z.ZodString>>;
1174
+ }, z.core.$strip>>>;
1175
+ success: z.ZodOptional<z.ZodBoolean>;
1176
+ }, z.core.$strip>>;
1177
+ }, z.core.$strip>;
1178
+
1107
1179
  declare const BaseTransactionPriceSchema: z.ZodObject<{
1108
1180
  locator: z.ZodULID;
1109
1181
  policyLocator: z.ZodULID;
@@ -1166,69 +1238,6 @@ declare const BaseTransactionPriceSchema: z.ZodObject<{
1166
1238
  }, z.core.$strip>>;
1167
1239
  }, z.core.$strip>;
1168
1240
 
1169
- declare const BaseTransactionUnderwritingResponseSchema: z.ZodObject<{
1170
- locator: z.ZodULID;
1171
- policyLocator: z.ZodULID;
1172
- transactionCategory: z.ZodEnum<{
1173
- issuance: "issuance";
1174
- change: "change";
1175
- renewal: "renewal";
1176
- cancellation: "cancellation";
1177
- reinstatement: "reinstatement";
1178
- reversal: "reversal";
1179
- aggregate: "aggregate";
1180
- }>;
1181
- transactionState: z.ZodEnum<{
1182
- draft: "draft";
1183
- validated: "validated";
1184
- earlyUnderwritten: "earlyUnderwritten";
1185
- priced: "priced";
1186
- underwritten: "underwritten";
1187
- accepted: "accepted";
1188
- issued: "issued";
1189
- underwrittenBlocked: "underwrittenBlocked";
1190
- declined: "declined";
1191
- rejected: "rejected";
1192
- refused: "refused";
1193
- discarded: "discarded";
1194
- initialized: "initialized";
1195
- invalidated: "invalidated";
1196
- reversed: "reversed";
1197
- }>;
1198
- effectiveTime: z.ZodISODateTime;
1199
- underwritingStatus: z.ZodString;
1200
- underwritingFlags: z.ZodArray<z.ZodObject<{
1201
- note: z.ZodString;
1202
- tag: z.ZodString;
1203
- taskCreationResponse: z.ZodObject<{
1204
- taskLocator: z.ZodString;
1205
- status: z.ZodEnum<{
1206
- succeeded: "succeeded";
1207
- failed: "failed";
1208
- }>;
1209
- }, z.core.$strip>;
1210
- locator: z.ZodULID;
1211
- referenceLocator: z.ZodULID;
1212
- referenceType: z.ZodEnum<{
1213
- quote: "quote";
1214
- transaction: "transaction";
1215
- }>;
1216
- level: z.ZodEnum<{
1217
- none: "none";
1218
- info: "info";
1219
- block: "block";
1220
- decline: "decline";
1221
- reject: "reject";
1222
- approve: "approve";
1223
- }>;
1224
- createdBy: z.ZodGUID;
1225
- createdTime: z.ZodISODateTime;
1226
- clearedBy: z.ZodGUID;
1227
- clearedTime: z.ZodISODateTime;
1228
- elementLocator: z.ZodOptional<z.ZodULID>;
1229
- }, z.core.$strip>>;
1230
- }, z.core.$strip>;
1231
-
1232
1241
  export declare const BasicAndFormerUserBffSchema: z.ZodUnion<readonly [z.ZodObject<{
1233
1242
  locator: z.ZodGUID;
1234
1243
  userName: z.ZodString;
@@ -1565,7 +1574,7 @@ export declare type ConsolidatedDocumentRef = z.infer<typeof ConsolidatedDocumen
1565
1574
  export declare type ConsolidatedDocumentRefRecord = z.infer<typeof ConsolidatedDocumentRefRecordSchema>;
1566
1575
 
1567
1576
  export declare const ConsolidatedDocumentRefRecordSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
1568
- displayName: z.ZodString;
1577
+ displayName: z.ZodOptional<z.ZodString>;
1569
1578
  consolidatedDocuments: z.ZodArray<z.ZodString>;
1570
1579
  leadingDocumentTemplate: z.ZodString;
1571
1580
  pageNumbering: z.ZodObject<{
@@ -1577,7 +1586,7 @@ export declare const ConsolidatedDocumentRefRecordSchema: z.ZodRecord<z.ZodStrin
1577
1586
  }, z.core.$strip>>;
1578
1587
 
1579
1588
  export declare const ConsolidatedDocumentRefSchema: z.ZodObject<{
1580
- displayName: z.ZodString;
1589
+ displayName: z.ZodOptional<z.ZodString>;
1581
1590
  consolidatedDocuments: z.ZodArray<z.ZodString>;
1582
1591
  leadingDocumentTemplate: z.ZodString;
1583
1592
  pageNumbering: z.ZodObject<{
@@ -3560,7 +3569,7 @@ export declare const dataModelSchema: z.ZodObject<{
3560
3569
  }>>;
3561
3570
  }, z.core.$strip>>>;
3562
3571
  consolidatedDocuments: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
3563
- displayName: z.ZodString;
3572
+ displayName: z.ZodOptional<z.ZodString>;
3564
3573
  consolidatedDocuments: z.ZodArray<z.ZodString>;
3565
3574
  leadingDocumentTemplate: z.ZodString;
3566
3575
  pageNumbering: z.ZodObject<{
@@ -6064,6 +6073,7 @@ export declare const InvoiceResponseSchema: z.ZodObject<{
6064
6073
  autopayTime: z.ZodOptional<z.ZodISODateTime>;
6065
6074
  totalAmount: z.ZodOptional<z.ZodNumber>;
6066
6075
  totalRemainingAmount: z.ZodOptional<z.ZodNumber>;
6076
+ settledTime: z.ZodOptional<z.ZodISODateTime>;
6067
6077
  }, z.core.$strip>;
6068
6078
 
6069
6079
  export declare type InvoiceStateEnum = z.infer<typeof InvoiceStateEnumSchema>;
@@ -8772,13 +8782,20 @@ export declare const PolicyTransactionListResponseSchema: z.ZodObject<{
8772
8782
  }, z.core.$strip>>;
8773
8783
  }, z.core.$strip>;
8774
8784
 
8775
- export declare type PolicyTransactionResponse = z.infer<typeof policyTransactionResponseSchema>;
8785
+ export declare type PolicyTransactionResponse = z.infer<typeof basePolicyTransactionResponseSchema> & {
8786
+ aggregatedTransactions?: PolicyTransactionResponse[];
8787
+ };
8776
8788
 
8777
- export declare const PolicyTransactionResponseSchema: z.ZodObject<{
8778
- locator: z.ZodULID;
8779
- policyLocator: z.ZodULID;
8780
- termLocator: z.ZodULID;
8781
- effectiveTime: z.ZodISODateTime;
8789
+ /**
8790
+ * Full schema for policy transaction response with aggregated transactions shaped the same as the base schema.
8791
+ */
8792
+ export declare const PolicyTransactionResponseSchema: z.ZodType<PolicyTransactionResponse>;
8793
+
8794
+ /** @deprecated - use PolicyTransactionResponseSchema instead. */
8795
+ export declare const policyTransactionResponseSchema: z.ZodObject<{
8796
+ locator: z.ZodString;
8797
+ policyLocator: z.ZodString;
8798
+ termLocator: z.ZodString;
8782
8799
  transactionState: z.ZodEnum<{
8783
8800
  draft: "draft";
8784
8801
  validated: "validated";
@@ -8796,6 +8813,9 @@ export declare const PolicyTransactionResponseSchema: z.ZodObject<{
8796
8813
  invalidated: "invalidated";
8797
8814
  reversed: "reversed";
8798
8815
  }>;
8816
+ createdAt: z.ZodISODateTime;
8817
+ createdBy: z.ZodGUID;
8818
+ effectiveTime: z.ZodISODateTime;
8799
8819
  transactionCategory: z.ZodEnum<{
8800
8820
  issuance: "issuance";
8801
8821
  change: "change";
@@ -8806,38 +8826,31 @@ export declare const PolicyTransactionResponseSchema: z.ZodObject<{
8806
8826
  aggregate: "aggregate";
8807
8827
  }>;
8808
8828
  transactionType: z.ZodString;
8809
- createdAt: z.ZodISODateTime;
8810
- createdBy: z.ZodGUID;
8811
- aggregateTransactionLocator: z.ZodOptional<z.ZodULID>;
8812
- baseTransactionLocator: z.ZodOptional<z.ZodULID>;
8829
+ changeInstructions: z.ZodOptional<z.ZodArray<z.ZodAny>>;
8830
+ aggregateTransactionLocator: z.ZodOptional<z.ZodString>;
8831
+ baseTransactionLocator: z.ZodOptional<z.ZodString>;
8813
8832
  issuedTime: z.ZodOptional<z.ZodISODateTime>;
8814
- acceptedTime: z.ZodOptional<z.ZodISODateTime>;
8833
+ billingTrigger: z.ZodOptional<z.ZodEnum<{
8834
+ accept: "accept";
8835
+ issue: "issue";
8836
+ }>>;
8815
8837
  preferences: z.ZodOptional<z.ZodObject<{
8838
+ billingPreferences: z.ZodOptional<z.ZodObject<{
8839
+ billingPlanName: z.ZodOptional<z.ZodString>;
8840
+ billingLevel: z.ZodOptional<z.ZodEnum<{
8841
+ account: "account";
8842
+ inherit: "inherit";
8843
+ policy: "policy";
8844
+ }>>;
8845
+ }, z.core.$strip>>;
8816
8846
  installmentPreferences: z.ZodOptional<z.ZodObject<{
8817
- generateLeadDays: z.ZodOptional<z.ZodInt>;
8818
- dueLeadDays: z.ZodOptional<z.ZodInt>;
8819
- maxInstallmentsPerTerm: z.ZodOptional<z.ZodInt>;
8820
8847
  installmentPlanName: z.ZodOptional<z.ZodString>;
8821
- dayOfMonth: z.ZodOptional<z.ZodInt>;
8822
- anchorTime: z.ZodOptional<z.ZodISODateTime>;
8823
- autopayLeadDays: z.ZodOptional<z.ZodNumber>;
8824
- cadence: z.ZodOptional<z.ZodEnum<{
8825
- none: "none";
8826
- fullPay: "fullPay";
8827
- weekly: "weekly";
8828
- everyOtherWeek: "everyOtherWeek";
8829
- monthly: "monthly";
8830
- quarterly: "quarterly";
8831
- semiannually: "semiannually";
8832
- annually: "annually";
8833
- thirtyDays: "thirtyDays";
8834
- everyNDays: "everyNDays";
8835
- }>>;
8836
8848
  anchorMode: z.ZodOptional<z.ZodEnum<{
8837
8849
  generateDay: "generateDay";
8838
8850
  termStartDay: "termStartDay";
8839
8851
  dueDay: "dueDay";
8840
8852
  }>>;
8853
+ anchorTime: z.ZodOptional<z.ZodString>;
8841
8854
  anchorType: z.ZodOptional<z.ZodEnum<{
8842
8855
  none: "none";
8843
8856
  dayOfMonth: "dayOfMonth";
@@ -8845,6 +8858,19 @@ export declare const PolicyTransactionResponseSchema: z.ZodObject<{
8845
8858
  dayOfWeek: "dayOfWeek";
8846
8859
  weekOfMonth: "weekOfMonth";
8847
8860
  }>>;
8861
+ cadence: z.ZodOptional<z.ZodEnum<{
8862
+ none: "none";
8863
+ fullPay: "fullPay";
8864
+ weekly: "weekly";
8865
+ everyOtherWeek: "everyOtherWeek";
8866
+ monthly: "monthly";
8867
+ quarterly: "quarterly";
8868
+ semiannually: "semiannually";
8869
+ annually: "annually";
8870
+ thirtyDays: "thirtyDays";
8871
+ everyNDays: "everyNDays";
8872
+ }>>;
8873
+ dayOfMonth: z.ZodOptional<z.ZodNumber>;
8848
8874
  dayOfWeek: z.ZodOptional<z.ZodEnum<{
8849
8875
  monday: "monday";
8850
8876
  tuesday: "tuesday";
@@ -8854,6 +8880,9 @@ export declare const PolicyTransactionResponseSchema: z.ZodObject<{
8854
8880
  saturday: "saturday";
8855
8881
  sunday: "sunday";
8856
8882
  }>>;
8883
+ dueLeadDays: z.ZodOptional<z.ZodNumber>;
8884
+ generateLeadDays: z.ZodOptional<z.ZodNumber>;
8885
+ maxInstallmentsPerTerm: z.ZodOptional<z.ZodNumber>;
8857
8886
  weekOfMonth: z.ZodOptional<z.ZodEnum<{
8858
8887
  none: "none";
8859
8888
  first: "first";
@@ -8862,18 +8891,15 @@ export declare const PolicyTransactionResponseSchema: z.ZodObject<{
8862
8891
  fourth: "fourth";
8863
8892
  fifth: "fifth";
8864
8893
  }>>;
8865
- installmentWeights: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
8866
- }, z.core.$strip>>;
8867
- billingPreferences: z.ZodOptional<z.ZodObject<{
8868
- billingPlanName: z.ZodOptional<z.ZodString>;
8869
- billingLevel: z.ZodEnum<{
8870
- account: "account";
8871
- inherit: "inherit";
8872
- policy: "policy";
8873
- }>;
8874
8894
  }, z.core.$strip>>;
8875
8895
  }, z.core.$strip>>;
8876
- underwritingStatus: z.ZodOptional<z.ZodString>;
8896
+ underwritingStatus: z.ZodOptional<z.ZodEnum<{
8897
+ none: "none";
8898
+ declined: "declined";
8899
+ rejected: "rejected";
8900
+ approved: "approved";
8901
+ blocked: "blocked";
8902
+ }>>;
8877
8903
  validationResult: z.ZodOptional<z.ZodObject<{
8878
8904
  validationItems: z.ZodOptional<z.ZodArray<z.ZodObject<{
8879
8905
  locator: z.ZodOptional<z.ZodULID>;
@@ -8882,527 +8908,26 @@ export declare const PolicyTransactionResponseSchema: z.ZodObject<{
8882
8908
  }, z.core.$strip>>>;
8883
8909
  success: z.ZodOptional<z.ZodBoolean>;
8884
8910
  }, z.core.$strip>>;
8885
- changeInstructions: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
8886
- locator: z.ZodULID;
8887
- action: z.ZodEnum<{
8888
- delete: "delete";
8889
- params: "params";
8890
- modify: "modify";
8891
- add: "add";
8892
- }>;
8893
- elements: z.ZodArray<z.ZodType<{
8894
- type: string;
8895
- parentLocator: string;
8896
- data: Record<string, any>;
8897
- coverageTerms: Record<string, string>;
8898
- staticLocator?: string | undefined;
8899
- } & {
8900
- elements?: ({
8901
- type: string;
8902
- parentLocator: string;
8903
- data: Record<string, any>;
8904
- coverageTerms: Record<string, string>;
8905
- staticLocator?: string | undefined;
8906
- } & /*elided*/ any)[];
8907
- }, unknown, z.core.$ZodTypeInternals<{
8908
- type: string;
8909
- parentLocator: string;
8910
- data: Record<string, any>;
8911
- coverageTerms: Record<string, string>;
8912
- staticLocator?: string | undefined;
8913
- } & {
8914
- elements?: ({
8915
- type: string;
8916
- parentLocator: string;
8917
- data: Record<string, any>;
8918
- coverageTerms: Record<string, string>;
8919
- staticLocator?: string | undefined;
8920
- } & /*elided*/ any)[];
8921
- }, unknown>>>;
8922
- }, z.core.$strip>, z.ZodObject<{
8923
- locator: z.ZodULID;
8924
- action: z.ZodEnum<{
8925
- delete: "delete";
8926
- params: "params";
8927
- modify: "modify";
8928
- add: "add";
8929
- }>;
8930
- staticLocator: z.ZodULID;
8931
- setData: z.ZodRecord<z.ZodString, z.ZodAny>;
8932
- removeData: z.ZodRecord<z.ZodString, z.ZodAny>;
8933
- setCoverageTerms: z.ZodRecord<z.ZodString, z.ZodString>;
8934
- removeCoverageTerms: z.ZodRecord<z.ZodString, z.ZodAny>;
8935
- }, z.core.$strip>, z.ZodObject<{
8936
- locator: z.ZodULID;
8937
- action: z.ZodEnum<{
8938
- delete: "delete";
8939
- params: "params";
8940
- modify: "modify";
8941
- add: "add";
8942
- }>;
8943
- effectiveTime: z.ZodISODateTime;
8944
- newPolicyEndTime: z.ZodOptional<z.ZodISODateTime>;
8945
- preferences: z.ZodOptional<z.ZodObject<{
8946
- installmentPreferences: z.ZodOptional<z.ZodObject<{
8947
- generateLeadDays: z.ZodOptional<z.ZodInt>;
8948
- dueLeadDays: z.ZodOptional<z.ZodInt>;
8949
- maxInstallmentsPerTerm: z.ZodOptional<z.ZodInt>;
8950
- installmentPlanName: z.ZodOptional<z.ZodString>;
8951
- dayOfMonth: z.ZodOptional<z.ZodInt>;
8952
- anchorTime: z.ZodOptional<z.ZodISODateTime>;
8953
- autopayLeadDays: z.ZodOptional<z.ZodNumber>;
8954
- cadence: z.ZodOptional<z.ZodEnum<{
8955
- none: "none";
8956
- fullPay: "fullPay";
8957
- weekly: "weekly";
8958
- everyOtherWeek: "everyOtherWeek";
8959
- monthly: "monthly";
8960
- quarterly: "quarterly";
8961
- semiannually: "semiannually";
8962
- annually: "annually";
8963
- thirtyDays: "thirtyDays";
8964
- everyNDays: "everyNDays";
8965
- }>>;
8966
- anchorMode: z.ZodOptional<z.ZodEnum<{
8967
- generateDay: "generateDay";
8968
- termStartDay: "termStartDay";
8969
- dueDay: "dueDay";
8970
- }>>;
8971
- anchorType: z.ZodOptional<z.ZodEnum<{
8972
- none: "none";
8973
- dayOfMonth: "dayOfMonth";
8974
- anchorTime: "anchorTime";
8975
- dayOfWeek: "dayOfWeek";
8976
- weekOfMonth: "weekOfMonth";
8977
- }>>;
8978
- dayOfWeek: z.ZodOptional<z.ZodEnum<{
8979
- monday: "monday";
8980
- tuesday: "tuesday";
8981
- wednesday: "wednesday";
8982
- thursday: "thursday";
8983
- friday: "friday";
8984
- saturday: "saturday";
8985
- sunday: "sunday";
8986
- }>>;
8987
- weekOfMonth: z.ZodOptional<z.ZodEnum<{
8988
- none: "none";
8989
- first: "first";
8990
- second: "second";
8991
- third: "third";
8992
- fourth: "fourth";
8993
- fifth: "fifth";
8994
- }>>;
8995
- installmentWeights: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
8996
- }, z.core.$strip>>;
8997
- billingPreferences: z.ZodOptional<z.ZodObject<{
8998
- billingPlanName: z.ZodOptional<z.ZodString>;
8999
- billingLevel: z.ZodEnum<{
9000
- account: "account";
9001
- inherit: "inherit";
9002
- policy: "policy";
9003
- }>;
9004
- }, z.core.$strip>>;
9005
- }, z.core.$strip>>;
9006
- triggerBillingChange: z.ZodOptional<z.ZodBoolean>;
9007
- billingModeChange: z.ZodOptional<z.ZodBoolean>;
9008
- }, z.core.$strip>, z.ZodObject<{
9009
- locator: z.ZodULID;
9010
- action: z.ZodEnum<{
9011
- delete: "delete";
9012
- params: "params";
9013
- modify: "modify";
9014
- add: "add";
9015
- }>;
9016
- staticElementLocators: z.ZodArray<z.ZodULID>;
9017
- }, z.core.$strip>]>>>;
9018
- billingTrigger: z.ZodEnum<{
9019
- accept: "accept";
9020
- issue: "issue";
9021
- }>;
9022
- aggregatedTransactions: z.ZodArray<z.ZodObject<{
9023
- locator: z.ZodULID;
9024
- policyLocator: z.ZodULID;
9025
- termLocator: z.ZodULID;
9026
- effectiveTime: z.ZodISODateTime;
9027
- transactionState: z.ZodEnum<{
9028
- draft: "draft";
9029
- validated: "validated";
9030
- earlyUnderwritten: "earlyUnderwritten";
9031
- priced: "priced";
9032
- underwritten: "underwritten";
9033
- accepted: "accepted";
9034
- issued: "issued";
9035
- underwrittenBlocked: "underwrittenBlocked";
9036
- declined: "declined";
9037
- rejected: "rejected";
9038
- refused: "refused";
9039
- discarded: "discarded";
9040
- initialized: "initialized";
9041
- invalidated: "invalidated";
9042
- reversed: "reversed";
9043
- }>;
9044
- transactionCategory: z.ZodEnum<{
9045
- issuance: "issuance";
9046
- change: "change";
9047
- renewal: "renewal";
9048
- cancellation: "cancellation";
9049
- reinstatement: "reinstatement";
9050
- reversal: "reversal";
9051
- aggregate: "aggregate";
9052
- }>;
9053
- transactionType: z.ZodString;
9054
- createdAt: z.ZodISODateTime;
9055
- createdBy: z.ZodGUID;
9056
- aggregateTransactionLocator: z.ZodOptional<z.ZodULID>;
9057
- baseTransactionLocator: z.ZodOptional<z.ZodULID>;
9058
- issuedTime: z.ZodOptional<z.ZodISODateTime>;
9059
- acceptedTime: z.ZodOptional<z.ZodISODateTime>;
9060
- preferences: z.ZodOptional<z.ZodObject<{
9061
- installmentPreferences: z.ZodOptional<z.ZodObject<{
9062
- generateLeadDays: z.ZodOptional<z.ZodInt>;
9063
- dueLeadDays: z.ZodOptional<z.ZodInt>;
9064
- maxInstallmentsPerTerm: z.ZodOptional<z.ZodInt>;
9065
- installmentPlanName: z.ZodOptional<z.ZodString>;
9066
- dayOfMonth: z.ZodOptional<z.ZodInt>;
9067
- anchorTime: z.ZodOptional<z.ZodISODateTime>;
9068
- autopayLeadDays: z.ZodOptional<z.ZodNumber>;
9069
- cadence: z.ZodOptional<z.ZodEnum<{
9070
- none: "none";
9071
- fullPay: "fullPay";
9072
- weekly: "weekly";
9073
- everyOtherWeek: "everyOtherWeek";
9074
- monthly: "monthly";
9075
- quarterly: "quarterly";
9076
- semiannually: "semiannually";
9077
- annually: "annually";
9078
- thirtyDays: "thirtyDays";
9079
- everyNDays: "everyNDays";
9080
- }>>;
9081
- anchorMode: z.ZodOptional<z.ZodEnum<{
9082
- generateDay: "generateDay";
9083
- termStartDay: "termStartDay";
9084
- dueDay: "dueDay";
9085
- }>>;
9086
- anchorType: z.ZodOptional<z.ZodEnum<{
9087
- none: "none";
9088
- dayOfMonth: "dayOfMonth";
9089
- anchorTime: "anchorTime";
9090
- dayOfWeek: "dayOfWeek";
9091
- weekOfMonth: "weekOfMonth";
9092
- }>>;
9093
- dayOfWeek: z.ZodOptional<z.ZodEnum<{
9094
- monday: "monday";
9095
- tuesday: "tuesday";
9096
- wednesday: "wednesday";
9097
- thursday: "thursday";
9098
- friday: "friday";
9099
- saturday: "saturday";
9100
- sunday: "sunday";
9101
- }>>;
9102
- weekOfMonth: z.ZodOptional<z.ZodEnum<{
9103
- none: "none";
9104
- first: "first";
9105
- second: "second";
9106
- third: "third";
9107
- fourth: "fourth";
9108
- fifth: "fifth";
9109
- }>>;
9110
- installmentWeights: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
9111
- }, z.core.$strip>>;
9112
- billingPreferences: z.ZodOptional<z.ZodObject<{
9113
- billingPlanName: z.ZodOptional<z.ZodString>;
9114
- billingLevel: z.ZodEnum<{
9115
- account: "account";
9116
- inherit: "inherit";
9117
- policy: "policy";
9118
- }>;
9119
- }, z.core.$strip>>;
9120
- }, z.core.$strip>>;
9121
- underwritingStatus: z.ZodOptional<z.ZodString>;
9122
- validationResult: z.ZodOptional<z.ZodObject<{
9123
- validationItems: z.ZodOptional<z.ZodArray<z.ZodObject<{
9124
- locator: z.ZodOptional<z.ZodULID>;
9125
- elementType: z.ZodOptional<z.ZodString>;
9126
- errors: z.ZodOptional<z.ZodArray<z.ZodString>>;
9127
- }, z.core.$strip>>>;
9128
- success: z.ZodOptional<z.ZodBoolean>;
9129
- }, z.core.$strip>>;
9130
- changeInstructions: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
9131
- locator: z.ZodULID;
9132
- action: z.ZodEnum<{
9133
- delete: "delete";
9134
- params: "params";
9135
- modify: "modify";
9136
- add: "add";
9137
- }>;
9138
- elements: z.ZodArray<z.ZodType<{
9139
- type: string;
9140
- parentLocator: string;
9141
- data: Record<string, any>;
9142
- coverageTerms: Record<string, string>;
9143
- staticLocator?: string | undefined;
9144
- } & {
9145
- elements?: ({
9146
- type: string;
9147
- parentLocator: string;
9148
- data: Record<string, any>;
9149
- coverageTerms: Record<string, string>;
9150
- staticLocator?: string | undefined;
9151
- } & /*elided*/ any)[];
9152
- }, unknown, z.core.$ZodTypeInternals<{
9153
- type: string;
9154
- parentLocator: string;
9155
- data: Record<string, any>;
9156
- coverageTerms: Record<string, string>;
9157
- staticLocator?: string | undefined;
9158
- } & {
9159
- elements?: ({
9160
- type: string;
9161
- parentLocator: string;
9162
- data: Record<string, any>;
9163
- coverageTerms: Record<string, string>;
9164
- staticLocator?: string | undefined;
9165
- } & /*elided*/ any)[];
9166
- }, unknown>>>;
9167
- }, z.core.$strip>, z.ZodObject<{
9168
- locator: z.ZodULID;
9169
- action: z.ZodEnum<{
9170
- delete: "delete";
9171
- params: "params";
9172
- modify: "modify";
9173
- add: "add";
9174
- }>;
9175
- staticLocator: z.ZodULID;
9176
- setData: z.ZodRecord<z.ZodString, z.ZodAny>;
9177
- removeData: z.ZodRecord<z.ZodString, z.ZodAny>;
9178
- setCoverageTerms: z.ZodRecord<z.ZodString, z.ZodString>;
9179
- removeCoverageTerms: z.ZodRecord<z.ZodString, z.ZodAny>;
9180
- }, z.core.$strip>, z.ZodObject<{
9181
- locator: z.ZodULID;
9182
- action: z.ZodEnum<{
9183
- delete: "delete";
9184
- params: "params";
9185
- modify: "modify";
9186
- add: "add";
9187
- }>;
9188
- effectiveTime: z.ZodISODateTime;
9189
- newPolicyEndTime: z.ZodOptional<z.ZodISODateTime>;
9190
- preferences: z.ZodOptional<z.ZodObject<{
9191
- installmentPreferences: z.ZodOptional<z.ZodObject<{
9192
- generateLeadDays: z.ZodOptional<z.ZodInt>;
9193
- dueLeadDays: z.ZodOptional<z.ZodInt>;
9194
- maxInstallmentsPerTerm: z.ZodOptional<z.ZodInt>;
9195
- installmentPlanName: z.ZodOptional<z.ZodString>;
9196
- dayOfMonth: z.ZodOptional<z.ZodInt>;
9197
- anchorTime: z.ZodOptional<z.ZodISODateTime>;
9198
- autopayLeadDays: z.ZodOptional<z.ZodNumber>;
9199
- cadence: z.ZodOptional<z.ZodEnum<{
9200
- none: "none";
9201
- fullPay: "fullPay";
9202
- weekly: "weekly";
9203
- everyOtherWeek: "everyOtherWeek";
9204
- monthly: "monthly";
9205
- quarterly: "quarterly";
9206
- semiannually: "semiannually";
9207
- annually: "annually";
9208
- thirtyDays: "thirtyDays";
9209
- everyNDays: "everyNDays";
9210
- }>>;
9211
- anchorMode: z.ZodOptional<z.ZodEnum<{
9212
- generateDay: "generateDay";
9213
- termStartDay: "termStartDay";
9214
- dueDay: "dueDay";
9215
- }>>;
9216
- anchorType: z.ZodOptional<z.ZodEnum<{
9217
- none: "none";
9218
- dayOfMonth: "dayOfMonth";
9219
- anchorTime: "anchorTime";
9220
- dayOfWeek: "dayOfWeek";
9221
- weekOfMonth: "weekOfMonth";
9222
- }>>;
9223
- dayOfWeek: z.ZodOptional<z.ZodEnum<{
9224
- monday: "monday";
9225
- tuesday: "tuesday";
9226
- wednesday: "wednesday";
9227
- thursday: "thursday";
9228
- friday: "friday";
9229
- saturday: "saturday";
9230
- sunday: "sunday";
9231
- }>>;
9232
- weekOfMonth: z.ZodOptional<z.ZodEnum<{
9233
- none: "none";
9234
- first: "first";
9235
- second: "second";
9236
- third: "third";
9237
- fourth: "fourth";
9238
- fifth: "fifth";
9239
- }>>;
9240
- installmentWeights: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
9241
- }, z.core.$strip>>;
9242
- billingPreferences: z.ZodOptional<z.ZodObject<{
9243
- billingPlanName: z.ZodOptional<z.ZodString>;
9244
- billingLevel: z.ZodEnum<{
9245
- account: "account";
9246
- inherit: "inherit";
9247
- policy: "policy";
9248
- }>;
9249
- }, z.core.$strip>>;
9250
- }, z.core.$strip>>;
9251
- triggerBillingChange: z.ZodOptional<z.ZodBoolean>;
9252
- billingModeChange: z.ZodOptional<z.ZodBoolean>;
9253
- }, z.core.$strip>, z.ZodObject<{
9254
- locator: z.ZodULID;
9255
- action: z.ZodEnum<{
9256
- delete: "delete";
9257
- params: "params";
9258
- modify: "modify";
9259
- add: "add";
9260
- }>;
9261
- staticElementLocators: z.ZodArray<z.ZodULID>;
9262
- }, z.core.$strip>]>>>;
9263
- billingTrigger: z.ZodEnum<{
9264
- accept: "accept";
9265
- issue: "issue";
9266
- }>;
9267
- }, z.core.$strip>>;
9268
- }, z.core.$strip>;
9269
-
9270
- export declare const policyTransactionResponseSchema: z.ZodObject<{
9271
- locator: z.ZodString;
9272
- policyLocator: z.ZodString;
9273
- termLocator: z.ZodString;
9274
- transactionState: z.ZodEnum<{
9275
- draft: "draft";
9276
- validated: "validated";
9277
- earlyUnderwritten: "earlyUnderwritten";
9278
- priced: "priced";
9279
- underwritten: "underwritten";
9280
- accepted: "accepted";
9281
- issued: "issued";
9282
- underwrittenBlocked: "underwrittenBlocked";
9283
- declined: "declined";
9284
- rejected: "rejected";
9285
- refused: "refused";
9286
- discarded: "discarded";
9287
- initialized: "initialized";
9288
- invalidated: "invalidated";
9289
- reversed: "reversed";
9290
- }>;
9291
- createdAt: z.ZodISODateTime;
9292
- createdBy: z.ZodGUID;
9293
- effectiveTime: z.ZodISODateTime;
9294
- transactionCategory: z.ZodEnum<{
9295
- issuance: "issuance";
9296
- change: "change";
9297
- renewal: "renewal";
9298
- cancellation: "cancellation";
9299
- reinstatement: "reinstatement";
9300
- reversal: "reversal";
9301
- aggregate: "aggregate";
9302
- }>;
9303
- transactionType: z.ZodString;
9304
- changeInstructions: z.ZodOptional<z.ZodArray<z.ZodAny>>;
9305
- aggregateTransactionLocator: z.ZodOptional<z.ZodString>;
9306
- baseTransactionLocator: z.ZodOptional<z.ZodString>;
9307
- issuedTime: z.ZodOptional<z.ZodISODateTime>;
9308
- billingTrigger: z.ZodOptional<z.ZodEnum<{
9309
- accept: "accept";
9310
- issue: "issue";
9311
- }>>;
9312
- preferences: z.ZodOptional<z.ZodObject<{
9313
- billingPreferences: z.ZodOptional<z.ZodObject<{
9314
- billingPlanName: z.ZodOptional<z.ZodString>;
9315
- billingLevel: z.ZodOptional<z.ZodEnum<{
9316
- account: "account";
9317
- inherit: "inherit";
9318
- policy: "policy";
9319
- }>>;
9320
- }, z.core.$strip>>;
9321
- installmentPreferences: z.ZodOptional<z.ZodObject<{
9322
- installmentPlanName: z.ZodOptional<z.ZodString>;
9323
- anchorMode: z.ZodOptional<z.ZodEnum<{
9324
- generateDay: "generateDay";
9325
- termStartDay: "termStartDay";
9326
- dueDay: "dueDay";
9327
- }>>;
9328
- anchorTime: z.ZodOptional<z.ZodString>;
9329
- anchorType: z.ZodOptional<z.ZodEnum<{
9330
- none: "none";
9331
- dayOfMonth: "dayOfMonth";
9332
- anchorTime: "anchorTime";
9333
- dayOfWeek: "dayOfWeek";
9334
- weekOfMonth: "weekOfMonth";
9335
- }>>;
9336
- cadence: z.ZodOptional<z.ZodEnum<{
9337
- none: "none";
9338
- fullPay: "fullPay";
9339
- weekly: "weekly";
9340
- everyOtherWeek: "everyOtherWeek";
9341
- monthly: "monthly";
9342
- quarterly: "quarterly";
9343
- semiannually: "semiannually";
9344
- annually: "annually";
9345
- thirtyDays: "thirtyDays";
9346
- everyNDays: "everyNDays";
9347
- }>>;
9348
- dayOfMonth: z.ZodOptional<z.ZodNumber>;
9349
- dayOfWeek: z.ZodOptional<z.ZodEnum<{
9350
- monday: "monday";
9351
- tuesday: "tuesday";
9352
- wednesday: "wednesday";
9353
- thursday: "thursday";
9354
- friday: "friday";
9355
- saturday: "saturday";
9356
- sunday: "sunday";
9357
- }>>;
9358
- dueLeadDays: z.ZodOptional<z.ZodNumber>;
9359
- generateLeadDays: z.ZodOptional<z.ZodNumber>;
9360
- maxInstallmentsPerTerm: z.ZodOptional<z.ZodNumber>;
9361
- weekOfMonth: z.ZodOptional<z.ZodEnum<{
9362
- none: "none";
9363
- first: "first";
9364
- second: "second";
9365
- third: "third";
9366
- fourth: "fourth";
9367
- fifth: "fifth";
9368
- }>>;
9369
- }, z.core.$strip>>;
9370
- }, z.core.$strip>>;
9371
- underwritingStatus: z.ZodOptional<z.ZodEnum<{
9372
- none: "none";
9373
- declined: "declined";
9374
- rejected: "rejected";
9375
- approved: "approved";
9376
- blocked: "blocked";
9377
- }>>;
9378
- validationResult: z.ZodOptional<z.ZodObject<{
9379
- validationItems: z.ZodOptional<z.ZodArray<z.ZodObject<{
9380
- locator: z.ZodOptional<z.ZodULID>;
9381
- elementType: z.ZodOptional<z.ZodString>;
9382
- errors: z.ZodOptional<z.ZodArray<z.ZodString>>;
9383
- }, z.core.$strip>>>;
9384
- success: z.ZodOptional<z.ZodBoolean>;
9385
- }, z.core.$strip>>;
9386
- aggregatedTransactions: z.ZodLazy<z.ZodOptional<z.ZodArray<z.ZodObject<{
9387
- locator: z.ZodString;
9388
- policyLocator: z.ZodString;
9389
- termLocator: z.ZodString;
9390
- transactionState: z.ZodEnum<{
9391
- draft: "draft";
9392
- validated: "validated";
9393
- earlyUnderwritten: "earlyUnderwritten";
9394
- priced: "priced";
9395
- underwritten: "underwritten";
9396
- accepted: "accepted";
9397
- issued: "issued";
9398
- underwrittenBlocked: "underwrittenBlocked";
9399
- declined: "declined";
9400
- rejected: "rejected";
9401
- refused: "refused";
9402
- discarded: "discarded";
9403
- initialized: "initialized";
9404
- invalidated: "invalidated";
9405
- reversed: "reversed";
8911
+ aggregatedTransactions: z.ZodLazy<z.ZodOptional<z.ZodArray<z.ZodObject<{
8912
+ locator: z.ZodString;
8913
+ policyLocator: z.ZodString;
8914
+ termLocator: z.ZodString;
8915
+ transactionState: z.ZodEnum<{
8916
+ draft: "draft";
8917
+ validated: "validated";
8918
+ earlyUnderwritten: "earlyUnderwritten";
8919
+ priced: "priced";
8920
+ underwritten: "underwritten";
8921
+ accepted: "accepted";
8922
+ issued: "issued";
8923
+ underwrittenBlocked: "underwrittenBlocked";
8924
+ declined: "declined";
8925
+ rejected: "rejected";
8926
+ refused: "refused";
8927
+ discarded: "discarded";
8928
+ initialized: "initialized";
8929
+ invalidated: "invalidated";
8930
+ reversed: "reversed";
9406
8931
  }>;
9407
8932
  createdAt: z.ZodISODateTime;
9408
8933
  createdBy: z.ZodGUID;
@@ -11238,7 +10763,7 @@ export declare const quoteStateSchema: z.ZodUnion<readonly [z.ZodEnum<{
11238
10763
  discarded: "discarded";
11239
10764
  }>, z.ZodString]>;
11240
10765
 
11241
- export declare type QuoteUnderwritingFlagsResponse = z.infer<typeof quoteUnderwritingFlagsResponse>;
10766
+ export declare type QuoteUnderwritingFlagsResponse = z.infer<typeof QuoteUnderwritingFlagsResponseSchema>;
11242
10767
 
11243
10768
  export declare const quoteUnderwritingFlagsResponse: z.ZodObject<{
11244
10769
  quoteLocator: z.ZodString;
@@ -11286,22 +10811,8 @@ export declare const quoteUnderwritingFlagsResponse: z.ZodObject<{
11286
10811
 
11287
10812
  export declare const QuoteUnderwritingFlagsResponseSchema: z.ZodObject<{
11288
10813
  quoteLocator: z.ZodULID;
11289
- flags: z.ZodArray<z.ZodObject<{
11290
- note: z.ZodString;
11291
- tag: z.ZodString;
11292
- taskCreationResponse: z.ZodObject<{
11293
- taskLocator: z.ZodString;
11294
- status: z.ZodEnum<{
11295
- succeeded: "succeeded";
11296
- failed: "failed";
11297
- }>;
11298
- }, z.core.$strip>;
10814
+ flags: z.ZodOptional<z.ZodArray<z.ZodObject<{
11299
10815
  locator: z.ZodULID;
11300
- referenceLocator: z.ZodULID;
11301
- referenceType: z.ZodEnum<{
11302
- quote: "quote";
11303
- transaction: "transaction";
11304
- }>;
11305
10816
  level: z.ZodEnum<{
11306
10817
  none: "none";
11307
10818
  info: "info";
@@ -11310,28 +10821,28 @@ export declare const QuoteUnderwritingFlagsResponseSchema: z.ZodObject<{
11310
10821
  reject: "reject";
11311
10822
  approve: "approve";
11312
10823
  }>;
11313
- createdBy: z.ZodGUID;
11314
- createdTime: z.ZodISODateTime;
11315
- clearedBy: z.ZodGUID;
11316
- clearedTime: z.ZodISODateTime;
10824
+ referenceType: z.ZodOptional<z.ZodEnum<{
10825
+ quote: "quote";
10826
+ transaction: "transaction";
10827
+ }>>;
10828
+ referenceLocator: z.ZodOptional<z.ZodULID>;
10829
+ note: z.ZodOptional<z.ZodString>;
10830
+ tag: z.ZodOptional<z.ZodString>;
11317
10831
  elementLocator: z.ZodOptional<z.ZodULID>;
11318
- }, z.core.$strip>>;
11319
- clearedFlags: z.ZodOptional<z.ZodArray<z.ZodObject<{
11320
- note: z.ZodString;
11321
- tag: z.ZodString;
11322
- taskCreationResponse: z.ZodObject<{
10832
+ createdBy: z.ZodOptional<z.ZodUUID>;
10833
+ createdTime: z.ZodOptional<z.ZodISODateTime>;
10834
+ clearedBy: z.ZodOptional<z.ZodUUID>;
10835
+ clearedTime: z.ZodOptional<z.ZodISODateTime>;
10836
+ taskCreationResponse: z.ZodOptional<z.ZodObject<{
11323
10837
  taskLocator: z.ZodString;
11324
10838
  status: z.ZodEnum<{
11325
10839
  succeeded: "succeeded";
11326
10840
  failed: "failed";
11327
10841
  }>;
11328
- }, z.core.$strip>;
10842
+ }, z.core.$strip>>;
10843
+ }, z.core.$strip>>>;
10844
+ clearedFlags: z.ZodOptional<z.ZodArray<z.ZodObject<{
11329
10845
  locator: z.ZodULID;
11330
- referenceLocator: z.ZodULID;
11331
- referenceType: z.ZodEnum<{
11332
- quote: "quote";
11333
- transaction: "transaction";
11334
- }>;
11335
10846
  level: z.ZodEnum<{
11336
10847
  none: "none";
11337
10848
  info: "info";
@@ -11340,21 +10851,35 @@ export declare const QuoteUnderwritingFlagsResponseSchema: z.ZodObject<{
11340
10851
  reject: "reject";
11341
10852
  approve: "approve";
11342
10853
  }>;
11343
- createdBy: z.ZodGUID;
11344
- createdTime: z.ZodISODateTime;
11345
- clearedBy: z.ZodGUID;
11346
- clearedTime: z.ZodISODateTime;
10854
+ referenceType: z.ZodOptional<z.ZodEnum<{
10855
+ quote: "quote";
10856
+ transaction: "transaction";
10857
+ }>>;
10858
+ referenceLocator: z.ZodOptional<z.ZodULID>;
10859
+ note: z.ZodOptional<z.ZodString>;
10860
+ tag: z.ZodOptional<z.ZodString>;
11347
10861
  elementLocator: z.ZodOptional<z.ZodULID>;
10862
+ createdBy: z.ZodOptional<z.ZodUUID>;
10863
+ createdTime: z.ZodOptional<z.ZodISODateTime>;
10864
+ clearedBy: z.ZodOptional<z.ZodUUID>;
10865
+ clearedTime: z.ZodOptional<z.ZodISODateTime>;
10866
+ taskCreationResponse: z.ZodOptional<z.ZodObject<{
10867
+ taskLocator: z.ZodString;
10868
+ status: z.ZodEnum<{
10869
+ succeeded: "succeeded";
10870
+ failed: "failed";
10871
+ }>;
10872
+ }, z.core.$strip>>;
11348
10873
  }, z.core.$strip>>>;
11349
10874
  }, z.core.$strip>;
11350
10875
 
11351
10876
  export declare type QuoteUnderwritingResponse = z.infer<typeof QuoteUnderwritingResponseSchema>;
11352
10877
 
11353
10878
  export declare const QuoteUnderwritingResponseSchema: z.ZodObject<{
11354
- tenantLocator: z.ZodUUID;
11355
- accountLocator: z.ZodULID;
11356
- quoteLocator: z.ZodULID;
11357
- quoteState: z.ZodEnum<{
10879
+ tenantLocator: z.ZodOptional<z.ZodOptional<z.ZodUUID>>;
10880
+ quoteLocator: z.ZodOptional<z.ZodULID>;
10881
+ accountLocator: z.ZodOptional<z.ZodOptional<z.ZodULID>>;
10882
+ quoteState: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
11358
10883
  draft: "draft";
11359
10884
  validated: "validated";
11360
10885
  earlyUnderwritten: "earlyUnderwritten";
@@ -11367,11 +10892,11 @@ export declare const QuoteUnderwritingResponseSchema: z.ZodObject<{
11367
10892
  rejected: "rejected";
11368
10893
  refused: "refused";
11369
10894
  discarded: "discarded";
11370
- }>;
11371
- startTime: z.ZodISODateTime;
11372
- endTime: z.ZodISODateTime;
11373
- expirationTime: z.ZodISODateTime;
11374
- durationBasis: z.ZodEnum<{
10895
+ }>>>;
10896
+ startTime: z.ZodOptional<z.ZodOptional<z.ZodISODateTime>>;
10897
+ endTime: z.ZodOptional<z.ZodOptional<z.ZodISODateTime>>;
10898
+ expirationTime: z.ZodOptional<z.ZodOptional<z.ZodISODateTime>>;
10899
+ durationBasis: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
11375
10900
  none: "none";
11376
10901
  years: "years";
11377
10902
  months: "months";
@@ -11379,23 +10904,9 @@ export declare const QuoteUnderwritingResponseSchema: z.ZodObject<{
11379
10904
  weeks: "weeks";
11380
10905
  days: "days";
11381
10906
  hours: "hours";
11382
- }>;
11383
- underwritingFlags: z.ZodArray<z.ZodObject<{
11384
- note: z.ZodString;
11385
- tag: z.ZodString;
11386
- taskCreationResponse: z.ZodObject<{
11387
- taskLocator: z.ZodString;
11388
- status: z.ZodEnum<{
11389
- succeeded: "succeeded";
11390
- failed: "failed";
11391
- }>;
11392
- }, z.core.$strip>;
10907
+ }>>>;
10908
+ underwritingFlags: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
11393
10909
  locator: z.ZodULID;
11394
- referenceLocator: z.ZodULID;
11395
- referenceType: z.ZodEnum<{
11396
- quote: "quote";
11397
- transaction: "transaction";
11398
- }>;
11399
10910
  level: z.ZodEnum<{
11400
10911
  none: "none";
11401
10912
  info: "info";
@@ -11404,23 +10915,37 @@ export declare const QuoteUnderwritingResponseSchema: z.ZodObject<{
11404
10915
  reject: "reject";
11405
10916
  approve: "approve";
11406
10917
  }>;
11407
- createdBy: z.ZodGUID;
11408
- createdTime: z.ZodISODateTime;
11409
- clearedBy: z.ZodGUID;
11410
- clearedTime: z.ZodISODateTime;
10918
+ referenceType: z.ZodOptional<z.ZodEnum<{
10919
+ quote: "quote";
10920
+ transaction: "transaction";
10921
+ }>>;
10922
+ referenceLocator: z.ZodOptional<z.ZodULID>;
10923
+ note: z.ZodOptional<z.ZodString>;
10924
+ tag: z.ZodOptional<z.ZodString>;
11411
10925
  elementLocator: z.ZodOptional<z.ZodULID>;
11412
- }, z.core.$strip>>;
11413
- validationResult: z.ZodOptional<z.ZodObject<{
10926
+ createdBy: z.ZodOptional<z.ZodUUID>;
10927
+ createdTime: z.ZodOptional<z.ZodISODateTime>;
10928
+ clearedBy: z.ZodOptional<z.ZodUUID>;
10929
+ clearedTime: z.ZodOptional<z.ZodISODateTime>;
10930
+ taskCreationResponse: z.ZodOptional<z.ZodObject<{
10931
+ taskLocator: z.ZodString;
10932
+ status: z.ZodEnum<{
10933
+ succeeded: "succeeded";
10934
+ failed: "failed";
10935
+ }>;
10936
+ }, z.core.$strip>>;
10937
+ }, z.core.$strip>>>>;
10938
+ validationResult: z.ZodOptional<z.ZodOptional<z.ZodObject<{
11414
10939
  validationItems: z.ZodOptional<z.ZodArray<z.ZodObject<{
11415
10940
  locator: z.ZodOptional<z.ZodULID>;
11416
10941
  elementType: z.ZodOptional<z.ZodString>;
11417
10942
  errors: z.ZodOptional<z.ZodArray<z.ZodString>>;
11418
10943
  }, z.core.$strip>>>;
11419
10944
  success: z.ZodOptional<z.ZodBoolean>;
11420
- }, z.core.$strip>>;
11421
- productName: z.ZodString;
11422
- duration: z.ZodNumber;
11423
- underwritingStatus: z.ZodString;
10945
+ }, z.core.$strip>>>;
10946
+ productName: z.ZodOptional<z.ZodString>;
10947
+ duration: z.ZodOptional<z.ZodNumber>;
10948
+ underwritingStatus: z.ZodOptional<z.ZodString>;
11424
10949
  }, z.core.$strip>;
11425
10950
 
11426
10951
  export declare type QuoteUpdateRequest = z.infer<typeof QuoteUpdateRequestSchema>;
@@ -12667,7 +12192,7 @@ export declare const TemplateSnippetConfigSchema: z.ZodObject<{
12667
12192
  policyStartTime: "policyStartTime";
12668
12193
  currentTime: "currentTime";
12669
12194
  }>;
12670
- displayName: z.ZodString;
12195
+ displayName: z.ZodOptional<z.ZodString>;
12671
12196
  }, z.core.$strip>;
12672
12197
 
12673
12198
  export declare type TenantBaseConfig = z.infer<typeof tenantBaseConfigSchema>;
@@ -13449,6 +12974,7 @@ export declare const timezoneEnumSchema: z.ZodEnum<{
13449
12974
 
13450
12975
  export declare type TimezoneType = z.infer<typeof timezoneEnumSchema>;
13451
12976
 
12977
+ /** @deprecated - use TransactionCategoryEnum */
13452
12978
  export declare type TransactionCategory = z.infer<typeof transactionCategoryEnumSchema>;
13453
12979
 
13454
12980
  export declare type TransactionCategoryEnum = z.infer<typeof TransactionCategoryEnumSchema>;
@@ -13463,6 +12989,7 @@ export declare const TransactionCategoryEnumSchema: z.ZodEnum<{
13463
12989
  aggregate: "aggregate";
13464
12990
  }>;
13465
12991
 
12992
+ /** @deprecated - use TransactionCategoryEnumSchema*/
13466
12993
  export declare const transactionCategoryEnumSchema: z.ZodEnum<{
13467
12994
  issuance: "issuance";
13468
12995
  change: "change";
@@ -13886,6 +13413,7 @@ export declare const transactionSnapshotResponseSchema: z.ZodObject<{
13886
13413
  transactionType: z.ZodString;
13887
13414
  }, z.core.$strip>;
13888
13415
 
13416
+ /** @deprecated - use TransactionStateEnum */
13889
13417
  export declare type TransactionState = z.infer<typeof transactionStateEnumSchema>;
13890
13418
 
13891
13419
  export declare type TransactionStateEnum = z.infer<typeof TransactionStateEnumSchema>;
@@ -13908,6 +13436,7 @@ export declare const TransactionStateEnumSchema: z.ZodEnum<{
13908
13436
  reversed: "reversed";
13909
13437
  }>;
13910
13438
 
13439
+ /** @deprecated - use TransactionStateEnumSchema */
13911
13440
  export declare const transactionStateEnumSchema: z.ZodEnum<{
13912
13441
  draft: "draft";
13913
13442
  validated: "validated";
@@ -13968,41 +13497,70 @@ export declare const transactionTypesRecordsSchema: z.ZodRecord<z.ZodString, z.Z
13968
13497
  costBearing: z.ZodBoolean;
13969
13498
  }, z.core.$strip>>;
13970
13499
 
13971
- export declare type TransactionUnderwritingFlagsResponse = z.infer<typeof transactionUnderwritingFlagsResponse>;
13500
+ export declare type TransactionUnderwritingFlagsResponse = z.infer<typeof TransactionUnderwritingFlagsResponseSchema>;
13972
13501
 
13502
+ /** @deprecated - use TransactionUnderwritingFlagsResponseSchema */
13973
13503
  export declare const transactionUnderwritingFlagsResponse: z.ZodObject<{
13974
13504
  transactionLocator: z.ZodString;
13975
13505
  clearedFlags: z.ZodOptional<z.ZodArray<z.ZodObject<{
13976
- locator: z.ZodString;
13977
- elementLocator: z.ZodOptional<z.ZodString>;
13978
- clearedBy: z.ZodOptional<z.ZodGUID>;
13979
- clearedTime: z.ZodOptional<z.ZodString>;
13980
- createdBy: z.ZodOptional<z.ZodGUID>;
13981
- createdTime: z.ZodOptional<z.ZodString>;
13982
- level: z.ZodOptional<z.ZodEnum<{
13506
+ locator: z.ZodULID;
13507
+ level: z.ZodEnum<{
13508
+ none: "none";
13983
13509
  info: "info";
13984
13510
  block: "block";
13985
13511
  decline: "decline";
13986
13512
  reject: "reject";
13987
13513
  approve: "approve";
13514
+ }>;
13515
+ referenceType: z.ZodOptional<z.ZodEnum<{
13516
+ quote: "quote";
13517
+ transaction: "transaction";
13988
13518
  }>>;
13519
+ referenceLocator: z.ZodOptional<z.ZodULID>;
13989
13520
  note: z.ZodOptional<z.ZodString>;
13990
- }, z.core.$strip>>>;
13991
- flags: z.ZodOptional<z.ZodArray<z.ZodObject<{
13992
- locator: z.ZodString;
13993
- elementLocator: z.ZodOptional<z.ZodString>;
13994
- clearedBy: z.ZodOptional<z.ZodGUID>;
13995
- clearedTime: z.ZodOptional<z.ZodString>;
13996
- createdBy: z.ZodOptional<z.ZodGUID>;
13997
- createdTime: z.ZodOptional<z.ZodString>;
13998
- level: z.ZodOptional<z.ZodEnum<{
13521
+ tag: z.ZodOptional<z.ZodString>;
13522
+ elementLocator: z.ZodOptional<z.ZodULID>;
13523
+ createdBy: z.ZodOptional<z.ZodUUID>;
13524
+ createdTime: z.ZodOptional<z.ZodISODateTime>;
13525
+ clearedBy: z.ZodOptional<z.ZodUUID>;
13526
+ clearedTime: z.ZodOptional<z.ZodISODateTime>;
13527
+ taskCreationResponse: z.ZodOptional<z.ZodObject<{
13528
+ taskLocator: z.ZodString;
13529
+ status: z.ZodEnum<{
13530
+ succeeded: "succeeded";
13531
+ failed: "failed";
13532
+ }>;
13533
+ }, z.core.$strip>>;
13534
+ }, z.core.$strip>>>;
13535
+ flags: z.ZodOptional<z.ZodArray<z.ZodObject<{
13536
+ locator: z.ZodULID;
13537
+ level: z.ZodEnum<{
13538
+ none: "none";
13999
13539
  info: "info";
14000
13540
  block: "block";
14001
13541
  decline: "decline";
14002
13542
  reject: "reject";
14003
13543
  approve: "approve";
13544
+ }>;
13545
+ referenceType: z.ZodOptional<z.ZodEnum<{
13546
+ quote: "quote";
13547
+ transaction: "transaction";
14004
13548
  }>>;
13549
+ referenceLocator: z.ZodOptional<z.ZodULID>;
14005
13550
  note: z.ZodOptional<z.ZodString>;
13551
+ tag: z.ZodOptional<z.ZodString>;
13552
+ elementLocator: z.ZodOptional<z.ZodULID>;
13553
+ createdBy: z.ZodOptional<z.ZodUUID>;
13554
+ createdTime: z.ZodOptional<z.ZodISODateTime>;
13555
+ clearedBy: z.ZodOptional<z.ZodUUID>;
13556
+ clearedTime: z.ZodOptional<z.ZodISODateTime>;
13557
+ taskCreationResponse: z.ZodOptional<z.ZodObject<{
13558
+ taskLocator: z.ZodString;
13559
+ status: z.ZodEnum<{
13560
+ succeeded: "succeeded";
13561
+ failed: "failed";
13562
+ }>;
13563
+ }, z.core.$strip>>;
14006
13564
  }, z.core.$strip>>>;
14007
13565
  validationResult: z.ZodOptional<z.ZodObject<{
14008
13566
  validationItems: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -14015,23 +13573,39 @@ export declare const transactionUnderwritingFlagsResponse: z.ZodObject<{
14015
13573
  }, z.core.$strip>;
14016
13574
 
14017
13575
  export declare const TransactionUnderwritingFlagsResponseSchema: z.ZodObject<{
14018
- transactionLocator: z.ZodULID;
14019
- clearedFlags: z.ZodArray<z.ZodObject<{
14020
- note: z.ZodString;
14021
- tag: z.ZodString;
14022
- taskCreationResponse: z.ZodObject<{
13576
+ transactionLocator: z.ZodString;
13577
+ clearedFlags: z.ZodOptional<z.ZodArray<z.ZodObject<{
13578
+ locator: z.ZodULID;
13579
+ level: z.ZodEnum<{
13580
+ none: "none";
13581
+ info: "info";
13582
+ block: "block";
13583
+ decline: "decline";
13584
+ reject: "reject";
13585
+ approve: "approve";
13586
+ }>;
13587
+ referenceType: z.ZodOptional<z.ZodEnum<{
13588
+ quote: "quote";
13589
+ transaction: "transaction";
13590
+ }>>;
13591
+ referenceLocator: z.ZodOptional<z.ZodULID>;
13592
+ note: z.ZodOptional<z.ZodString>;
13593
+ tag: z.ZodOptional<z.ZodString>;
13594
+ elementLocator: z.ZodOptional<z.ZodULID>;
13595
+ createdBy: z.ZodOptional<z.ZodUUID>;
13596
+ createdTime: z.ZodOptional<z.ZodISODateTime>;
13597
+ clearedBy: z.ZodOptional<z.ZodUUID>;
13598
+ clearedTime: z.ZodOptional<z.ZodISODateTime>;
13599
+ taskCreationResponse: z.ZodOptional<z.ZodObject<{
14023
13600
  taskLocator: z.ZodString;
14024
13601
  status: z.ZodEnum<{
14025
13602
  succeeded: "succeeded";
14026
13603
  failed: "failed";
14027
13604
  }>;
14028
- }, z.core.$strip>;
13605
+ }, z.core.$strip>>;
13606
+ }, z.core.$strip>>>;
13607
+ flags: z.ZodOptional<z.ZodArray<z.ZodObject<{
14029
13608
  locator: z.ZodULID;
14030
- referenceLocator: z.ZodULID;
14031
- referenceType: z.ZodEnum<{
14032
- quote: "quote";
14033
- transaction: "transaction";
14034
- }>;
14035
13609
  level: z.ZodEnum<{
14036
13610
  none: "none";
14037
13611
  info: "info";
@@ -14040,28 +13614,71 @@ export declare const TransactionUnderwritingFlagsResponseSchema: z.ZodObject<{
14040
13614
  reject: "reject";
14041
13615
  approve: "approve";
14042
13616
  }>;
14043
- createdBy: z.ZodGUID;
14044
- createdTime: z.ZodISODateTime;
14045
- clearedBy: z.ZodGUID;
14046
- clearedTime: z.ZodISODateTime;
13617
+ referenceType: z.ZodOptional<z.ZodEnum<{
13618
+ quote: "quote";
13619
+ transaction: "transaction";
13620
+ }>>;
13621
+ referenceLocator: z.ZodOptional<z.ZodULID>;
13622
+ note: z.ZodOptional<z.ZodString>;
13623
+ tag: z.ZodOptional<z.ZodString>;
14047
13624
  elementLocator: z.ZodOptional<z.ZodULID>;
14048
- }, z.core.$strip>>;
14049
- flags: z.ZodArray<z.ZodObject<{
14050
- note: z.ZodString;
14051
- tag: z.ZodString;
14052
- taskCreationResponse: z.ZodObject<{
13625
+ createdBy: z.ZodOptional<z.ZodUUID>;
13626
+ createdTime: z.ZodOptional<z.ZodISODateTime>;
13627
+ clearedBy: z.ZodOptional<z.ZodUUID>;
13628
+ clearedTime: z.ZodOptional<z.ZodISODateTime>;
13629
+ taskCreationResponse: z.ZodOptional<z.ZodObject<{
14053
13630
  taskLocator: z.ZodString;
14054
13631
  status: z.ZodEnum<{
14055
13632
  succeeded: "succeeded";
14056
13633
  failed: "failed";
14057
13634
  }>;
14058
- }, z.core.$strip>;
13635
+ }, z.core.$strip>>;
13636
+ }, z.core.$strip>>>;
13637
+ validationResult: z.ZodOptional<z.ZodObject<{
13638
+ validationItems: z.ZodOptional<z.ZodArray<z.ZodObject<{
13639
+ locator: z.ZodOptional<z.ZodULID>;
13640
+ elementType: z.ZodOptional<z.ZodString>;
13641
+ errors: z.ZodOptional<z.ZodArray<z.ZodString>>;
13642
+ }, z.core.$strip>>>;
13643
+ success: z.ZodOptional<z.ZodBoolean>;
13644
+ }, z.core.$strip>>;
13645
+ }, z.core.$strip>;
13646
+
13647
+ export declare type TransactionUnderwritingResponse = z.infer<typeof TransactionUnderwritingResponseSchema>;
13648
+
13649
+ export declare const TransactionUnderwritingResponseSchema: z.ZodObject<{
13650
+ locator: z.ZodString;
13651
+ policyLocator: z.ZodString;
13652
+ transactionState: z.ZodEnum<{
13653
+ draft: "draft";
13654
+ validated: "validated";
13655
+ earlyUnderwritten: "earlyUnderwritten";
13656
+ priced: "priced";
13657
+ underwritten: "underwritten";
13658
+ accepted: "accepted";
13659
+ issued: "issued";
13660
+ underwrittenBlocked: "underwrittenBlocked";
13661
+ declined: "declined";
13662
+ rejected: "rejected";
13663
+ refused: "refused";
13664
+ discarded: "discarded";
13665
+ initialized: "initialized";
13666
+ invalidated: "invalidated";
13667
+ reversed: "reversed";
13668
+ }>;
13669
+ effectiveTime: z.ZodString;
13670
+ transactionCategory: z.ZodEnum<{
13671
+ issuance: "issuance";
13672
+ change: "change";
13673
+ renewal: "renewal";
13674
+ cancellation: "cancellation";
13675
+ reinstatement: "reinstatement";
13676
+ reversal: "reversal";
13677
+ aggregate: "aggregate";
13678
+ }>;
13679
+ underwritingStatus: z.ZodString;
13680
+ underwritingFlags: z.ZodOptional<z.ZodArray<z.ZodObject<{
14059
13681
  locator: z.ZodULID;
14060
- referenceLocator: z.ZodULID;
14061
- referenceType: z.ZodEnum<{
14062
- quote: "quote";
14063
- transaction: "transaction";
14064
- }>;
14065
13682
  level: z.ZodEnum<{
14066
13683
  none: "none";
14067
13684
  info: "info";
@@ -14070,22 +13687,107 @@ export declare const TransactionUnderwritingFlagsResponseSchema: z.ZodObject<{
14070
13687
  reject: "reject";
14071
13688
  approve: "approve";
14072
13689
  }>;
14073
- createdBy: z.ZodGUID;
14074
- createdTime: z.ZodISODateTime;
14075
- clearedBy: z.ZodGUID;
14076
- clearedTime: z.ZodISODateTime;
13690
+ referenceType: z.ZodOptional<z.ZodEnum<{
13691
+ quote: "quote";
13692
+ transaction: "transaction";
13693
+ }>>;
13694
+ referenceLocator: z.ZodOptional<z.ZodULID>;
13695
+ note: z.ZodOptional<z.ZodString>;
13696
+ tag: z.ZodOptional<z.ZodString>;
14077
13697
  elementLocator: z.ZodOptional<z.ZodULID>;
13698
+ createdBy: z.ZodOptional<z.ZodUUID>;
13699
+ createdTime: z.ZodOptional<z.ZodISODateTime>;
13700
+ clearedBy: z.ZodOptional<z.ZodUUID>;
13701
+ clearedTime: z.ZodOptional<z.ZodISODateTime>;
13702
+ taskCreationResponse: z.ZodOptional<z.ZodObject<{
13703
+ taskLocator: z.ZodString;
13704
+ status: z.ZodEnum<{
13705
+ succeeded: "succeeded";
13706
+ failed: "failed";
13707
+ }>;
13708
+ }, z.core.$strip>>;
13709
+ }, z.core.$strip>>>;
13710
+ validationResult: z.ZodOptional<z.ZodObject<{
13711
+ validationItems: z.ZodOptional<z.ZodArray<z.ZodObject<{
13712
+ locator: z.ZodOptional<z.ZodULID>;
13713
+ elementType: z.ZodOptional<z.ZodString>;
13714
+ errors: z.ZodOptional<z.ZodArray<z.ZodString>>;
13715
+ }, z.core.$strip>>>;
13716
+ success: z.ZodOptional<z.ZodBoolean>;
14078
13717
  }, z.core.$strip>>;
13718
+ aggregatedTransactions: z.ZodOptional<z.ZodArray<z.ZodObject<{
13719
+ locator: z.ZodString;
13720
+ policyLocator: z.ZodString;
13721
+ transactionState: z.ZodEnum<{
13722
+ draft: "draft";
13723
+ validated: "validated";
13724
+ earlyUnderwritten: "earlyUnderwritten";
13725
+ priced: "priced";
13726
+ underwritten: "underwritten";
13727
+ accepted: "accepted";
13728
+ issued: "issued";
13729
+ underwrittenBlocked: "underwrittenBlocked";
13730
+ declined: "declined";
13731
+ rejected: "rejected";
13732
+ refused: "refused";
13733
+ discarded: "discarded";
13734
+ initialized: "initialized";
13735
+ invalidated: "invalidated";
13736
+ reversed: "reversed";
13737
+ }>;
13738
+ effectiveTime: z.ZodString;
13739
+ transactionCategory: z.ZodEnum<{
13740
+ issuance: "issuance";
13741
+ change: "change";
13742
+ renewal: "renewal";
13743
+ cancellation: "cancellation";
13744
+ reinstatement: "reinstatement";
13745
+ reversal: "reversal";
13746
+ aggregate: "aggregate";
13747
+ }>;
13748
+ underwritingStatus: z.ZodString;
13749
+ underwritingFlags: z.ZodOptional<z.ZodArray<z.ZodObject<{
13750
+ locator: z.ZodULID;
13751
+ level: z.ZodEnum<{
13752
+ none: "none";
13753
+ info: "info";
13754
+ block: "block";
13755
+ decline: "decline";
13756
+ reject: "reject";
13757
+ approve: "approve";
13758
+ }>;
13759
+ referenceType: z.ZodOptional<z.ZodEnum<{
13760
+ quote: "quote";
13761
+ transaction: "transaction";
13762
+ }>>;
13763
+ referenceLocator: z.ZodOptional<z.ZodULID>;
13764
+ note: z.ZodOptional<z.ZodString>;
13765
+ tag: z.ZodOptional<z.ZodString>;
13766
+ elementLocator: z.ZodOptional<z.ZodULID>;
13767
+ createdBy: z.ZodOptional<z.ZodUUID>;
13768
+ createdTime: z.ZodOptional<z.ZodISODateTime>;
13769
+ clearedBy: z.ZodOptional<z.ZodUUID>;
13770
+ clearedTime: z.ZodOptional<z.ZodISODateTime>;
13771
+ taskCreationResponse: z.ZodOptional<z.ZodObject<{
13772
+ taskLocator: z.ZodString;
13773
+ status: z.ZodEnum<{
13774
+ succeeded: "succeeded";
13775
+ failed: "failed";
13776
+ }>;
13777
+ }, z.core.$strip>>;
13778
+ }, z.core.$strip>>>;
13779
+ validationResult: z.ZodOptional<z.ZodObject<{
13780
+ validationItems: z.ZodOptional<z.ZodArray<z.ZodObject<{
13781
+ locator: z.ZodOptional<z.ZodULID>;
13782
+ elementType: z.ZodOptional<z.ZodString>;
13783
+ errors: z.ZodOptional<z.ZodArray<z.ZodString>>;
13784
+ }, z.core.$strip>>>;
13785
+ success: z.ZodOptional<z.ZodBoolean>;
13786
+ }, z.core.$strip>>;
13787
+ }, z.core.$strip>>>;
14079
13788
  }, z.core.$strip>;
14080
13789
 
14081
- export declare type TransactionUnderwritingResponse = z.infer<typeof transactionUnderwritingResponseSchema>;
14082
-
14083
- declare type TransactionUnderwritingResponse_2 = z.infer<typeof BaseTransactionUnderwritingResponseSchema> & {
14084
- aggregatedTransactions?: TransactionUnderwritingResponse_2[];
14085
- };
14086
-
14087
- export declare const TransactionUnderwritingResponseSchema: z.ZodType<TransactionUnderwritingResponse_2>;
14088
-
13790
+ /** @deprecated - use TransactionUnderwritingResponseSchema */
14089
13791
  export declare const transactionUnderwritingResponseSchema: z.ZodObject<{
14090
13792
  locator: z.ZodString;
14091
13793
  policyLocator: z.ZodString;
@@ -14116,22 +13818,36 @@ export declare const transactionUnderwritingResponseSchema: z.ZodObject<{
14116
13818
  reversal: "reversal";
14117
13819
  aggregate: "aggregate";
14118
13820
  }>;
14119
- underwritingStatus: z.ZodOptional<z.ZodString>;
13821
+ underwritingStatus: z.ZodString;
14120
13822
  underwritingFlags: z.ZodOptional<z.ZodArray<z.ZodObject<{
14121
- locator: z.ZodString;
14122
- elementLocator: z.ZodOptional<z.ZodString>;
14123
- clearedBy: z.ZodOptional<z.ZodGUID>;
14124
- clearedTime: z.ZodOptional<z.ZodString>;
14125
- createdBy: z.ZodOptional<z.ZodGUID>;
14126
- createdTime: z.ZodOptional<z.ZodString>;
14127
- level: z.ZodOptional<z.ZodEnum<{
13823
+ locator: z.ZodULID;
13824
+ level: z.ZodEnum<{
13825
+ none: "none";
14128
13826
  info: "info";
14129
13827
  block: "block";
14130
13828
  decline: "decline";
14131
13829
  reject: "reject";
14132
13830
  approve: "approve";
13831
+ }>;
13832
+ referenceType: z.ZodOptional<z.ZodEnum<{
13833
+ quote: "quote";
13834
+ transaction: "transaction";
14133
13835
  }>>;
13836
+ referenceLocator: z.ZodOptional<z.ZodULID>;
14134
13837
  note: z.ZodOptional<z.ZodString>;
13838
+ tag: z.ZodOptional<z.ZodString>;
13839
+ elementLocator: z.ZodOptional<z.ZodULID>;
13840
+ createdBy: z.ZodOptional<z.ZodUUID>;
13841
+ createdTime: z.ZodOptional<z.ZodISODateTime>;
13842
+ clearedBy: z.ZodOptional<z.ZodUUID>;
13843
+ clearedTime: z.ZodOptional<z.ZodISODateTime>;
13844
+ taskCreationResponse: z.ZodOptional<z.ZodObject<{
13845
+ taskLocator: z.ZodString;
13846
+ status: z.ZodEnum<{
13847
+ succeeded: "succeeded";
13848
+ failed: "failed";
13849
+ }>;
13850
+ }, z.core.$strip>>;
14135
13851
  }, z.core.$strip>>>;
14136
13852
  validationResult: z.ZodOptional<z.ZodObject<{
14137
13853
  validationItems: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -14171,22 +13887,36 @@ export declare const transactionUnderwritingResponseSchema: z.ZodObject<{
14171
13887
  reversal: "reversal";
14172
13888
  aggregate: "aggregate";
14173
13889
  }>;
14174
- underwritingStatus: z.ZodOptional<z.ZodString>;
13890
+ underwritingStatus: z.ZodString;
14175
13891
  underwritingFlags: z.ZodOptional<z.ZodArray<z.ZodObject<{
14176
- locator: z.ZodString;
14177
- elementLocator: z.ZodOptional<z.ZodString>;
14178
- clearedBy: z.ZodOptional<z.ZodGUID>;
14179
- clearedTime: z.ZodOptional<z.ZodString>;
14180
- createdBy: z.ZodOptional<z.ZodGUID>;
14181
- createdTime: z.ZodOptional<z.ZodString>;
14182
- level: z.ZodOptional<z.ZodEnum<{
13892
+ locator: z.ZodULID;
13893
+ level: z.ZodEnum<{
13894
+ none: "none";
14183
13895
  info: "info";
14184
13896
  block: "block";
14185
13897
  decline: "decline";
14186
13898
  reject: "reject";
14187
13899
  approve: "approve";
13900
+ }>;
13901
+ referenceType: z.ZodOptional<z.ZodEnum<{
13902
+ quote: "quote";
13903
+ transaction: "transaction";
14188
13904
  }>>;
13905
+ referenceLocator: z.ZodOptional<z.ZodULID>;
14189
13906
  note: z.ZodOptional<z.ZodString>;
13907
+ tag: z.ZodOptional<z.ZodString>;
13908
+ elementLocator: z.ZodOptional<z.ZodULID>;
13909
+ createdBy: z.ZodOptional<z.ZodUUID>;
13910
+ createdTime: z.ZodOptional<z.ZodISODateTime>;
13911
+ clearedBy: z.ZodOptional<z.ZodUUID>;
13912
+ clearedTime: z.ZodOptional<z.ZodISODateTime>;
13913
+ taskCreationResponse: z.ZodOptional<z.ZodObject<{
13914
+ taskLocator: z.ZodString;
13915
+ status: z.ZodEnum<{
13916
+ succeeded: "succeeded";
13917
+ failed: "failed";
13918
+ }>;
13919
+ }, z.core.$strip>>;
14190
13920
  }, z.core.$strip>>>;
14191
13921
  validationResult: z.ZodOptional<z.ZodObject<{
14192
13922
  validationItems: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -14201,12 +13931,10 @@ export declare const transactionUnderwritingResponseSchema: z.ZodObject<{
14201
13931
 
14202
13932
  export declare const ULIDZ: z.ZodULID;
14203
13933
 
14204
- export declare type UnderwritingFlagCreateRequest = z.infer<typeof underwritingFlagCreateRequestSchema>;
13934
+ export declare type UnderwritingFlagCreateRequest = z.infer<typeof UnderwritingFlagCreateRequestSchema>;
14205
13935
 
14206
13936
  export declare const UnderwritingFlagCreateRequestSchema: z.ZodObject<{
14207
- note: z.ZodString;
14208
- tag: z.ZodString;
14209
- elementLocator: z.ZodULID;
13937
+ elementLocator: z.ZodOptional<z.ZodULID>;
14210
13938
  level: z.ZodEnum<{
14211
13939
  none: "none";
14212
13940
  info: "info";
@@ -14215,8 +13943,10 @@ export declare const UnderwritingFlagCreateRequestSchema: z.ZodObject<{
14215
13943
  reject: "reject";
14216
13944
  approve: "approve";
14217
13945
  }>;
13946
+ note: z.ZodOptional<z.ZodString>;
13947
+ tag: z.ZodOptional<z.ZodString>;
14218
13948
  taskCreation: z.ZodOptional<z.ZodObject<{
14219
- deadlineTime: z.ZodISODateTime;
13949
+ type: z.ZodString;
14220
13950
  references: z.ZodArray<z.ZodObject<{
14221
13951
  referenceType: z.ZodEnum<{
14222
13952
  account: "account";
@@ -14230,13 +13960,14 @@ export declare const UnderwritingFlagCreateRequestSchema: z.ZodObject<{
14230
13960
  }>;
14231
13961
  referenceLocator: z.ZodString;
14232
13962
  }, z.core.$strip>>;
14233
- assignedTo: z.ZodOptional<z.ZodGUID>;
14234
- type: z.ZodString;
14235
13963
  underwritingFlagLocators: z.ZodArray<z.ZodString>;
13964
+ deadlineTime: z.ZodOptional<z.ZodISODateTime>;
13965
+ assignedTo: z.ZodOptional<z.ZodUUID>;
14236
13966
  description: z.ZodOptional<z.ZodString>;
14237
13967
  }, z.core.$strip>>;
14238
13968
  }, z.core.$strip>;
14239
13969
 
13970
+ /** @deprecated - use UnderwritingFlagCreateRequestSchema */
14240
13971
  export declare const underwritingFlagCreateRequestSchema: z.ZodObject<{
14241
13972
  elementLocator: z.ZodString;
14242
13973
  level: z.ZodEnum<{
@@ -14249,8 +13980,10 @@ export declare const underwritingFlagCreateRequestSchema: z.ZodObject<{
14249
13980
  note: z.ZodOptional<z.ZodString>;
14250
13981
  }, z.core.$strip>;
14251
13982
 
13983
+ /** @deprecated - use UnderwritingFlagsLevelEnum */
14252
13984
  export declare type UnderwritingFlagEnum = z.infer<typeof underwritingFlagEnumSchema>;
14253
13985
 
13986
+ /** @deprecated - use UnderwritingFlagsLevelEnumSchema */
14254
13987
  export declare const underwritingFlagEnumSchema: z.ZodEnum<{
14255
13988
  info: "info";
14256
13989
  block: "block";
@@ -14259,24 +13992,10 @@ export declare const underwritingFlagEnumSchema: z.ZodEnum<{
14259
13992
  approve: "approve";
14260
13993
  }>;
14261
13994
 
14262
- export declare type UnderwritingFlagResponse = z.infer<typeof underwritingFlagResponseSchema>;
13995
+ export declare type UnderwritingFlagResponse = z.infer<typeof UnderwritingFlagResponseSchema>;
14263
13996
 
14264
13997
  export declare const UnderwritingFlagResponseSchema: z.ZodObject<{
14265
- note: z.ZodString;
14266
- tag: z.ZodString;
14267
- taskCreationResponse: z.ZodObject<{
14268
- taskLocator: z.ZodString;
14269
- status: z.ZodEnum<{
14270
- succeeded: "succeeded";
14271
- failed: "failed";
14272
- }>;
14273
- }, z.core.$strip>;
14274
13998
  locator: z.ZodULID;
14275
- referenceLocator: z.ZodULID;
14276
- referenceType: z.ZodEnum<{
14277
- quote: "quote";
14278
- transaction: "transaction";
14279
- }>;
14280
13999
  level: z.ZodEnum<{
14281
14000
  none: "none";
14282
14001
  info: "info";
@@ -14285,13 +14004,28 @@ export declare const UnderwritingFlagResponseSchema: z.ZodObject<{
14285
14004
  reject: "reject";
14286
14005
  approve: "approve";
14287
14006
  }>;
14288
- createdBy: z.ZodGUID;
14289
- createdTime: z.ZodISODateTime;
14290
- clearedBy: z.ZodGUID;
14291
- clearedTime: z.ZodISODateTime;
14007
+ referenceType: z.ZodOptional<z.ZodEnum<{
14008
+ quote: "quote";
14009
+ transaction: "transaction";
14010
+ }>>;
14011
+ referenceLocator: z.ZodOptional<z.ZodULID>;
14012
+ note: z.ZodOptional<z.ZodString>;
14013
+ tag: z.ZodOptional<z.ZodString>;
14292
14014
  elementLocator: z.ZodOptional<z.ZodULID>;
14015
+ createdBy: z.ZodOptional<z.ZodUUID>;
14016
+ createdTime: z.ZodOptional<z.ZodISODateTime>;
14017
+ clearedBy: z.ZodOptional<z.ZodUUID>;
14018
+ clearedTime: z.ZodOptional<z.ZodISODateTime>;
14019
+ taskCreationResponse: z.ZodOptional<z.ZodObject<{
14020
+ taskLocator: z.ZodString;
14021
+ status: z.ZodEnum<{
14022
+ succeeded: "succeeded";
14023
+ failed: "failed";
14024
+ }>;
14025
+ }, z.core.$strip>>;
14293
14026
  }, z.core.$strip>;
14294
14027
 
14028
+ /** @deprecated - use UnderwritingFlagResponseSchema */
14295
14029
  export declare const underwritingFlagResponseSchema: z.ZodObject<{
14296
14030
  locator: z.ZodString;
14297
14031
  elementLocator: z.ZodOptional<z.ZodString>;
@@ -14327,13 +14061,11 @@ export declare const UnderwritingFlagsReferenceTypeEnumSchema: z.ZodEnum<{
14327
14061
  transaction: "transaction";
14328
14062
  }>;
14329
14063
 
14330
- export declare type UnderwritingFlagsUpdateRequest = z.infer<typeof underwritingFlagsUpdateRequestSchema>;
14064
+ export declare type UnderwritingFlagsUpdateRequest = z.infer<typeof UnderwritingFlagsUpdateRequestSchema>;
14331
14065
 
14332
14066
  export declare const UnderwritingFlagsUpdateRequestSchema: z.ZodObject<{
14333
- addFlags: z.ZodArray<z.ZodObject<{
14334
- note: z.ZodString;
14335
- tag: z.ZodString;
14336
- elementLocator: z.ZodULID;
14067
+ addFlags: z.ZodOptional<z.ZodArray<z.ZodObject<{
14068
+ elementLocator: z.ZodOptional<z.ZodULID>;
14337
14069
  level: z.ZodEnum<{
14338
14070
  none: "none";
14339
14071
  info: "info";
@@ -14342,8 +14074,10 @@ export declare const UnderwritingFlagsUpdateRequestSchema: z.ZodObject<{
14342
14074
  reject: "reject";
14343
14075
  approve: "approve";
14344
14076
  }>;
14077
+ note: z.ZodOptional<z.ZodString>;
14078
+ tag: z.ZodOptional<z.ZodString>;
14345
14079
  taskCreation: z.ZodOptional<z.ZodObject<{
14346
- deadlineTime: z.ZodISODateTime;
14080
+ type: z.ZodString;
14347
14081
  references: z.ZodArray<z.ZodObject<{
14348
14082
  referenceType: z.ZodEnum<{
14349
14083
  account: "account";
@@ -14357,15 +14091,16 @@ export declare const UnderwritingFlagsUpdateRequestSchema: z.ZodObject<{
14357
14091
  }>;
14358
14092
  referenceLocator: z.ZodString;
14359
14093
  }, z.core.$strip>>;
14360
- assignedTo: z.ZodOptional<z.ZodGUID>;
14361
- type: z.ZodString;
14362
14094
  underwritingFlagLocators: z.ZodArray<z.ZodString>;
14095
+ deadlineTime: z.ZodOptional<z.ZodISODateTime>;
14096
+ assignedTo: z.ZodOptional<z.ZodUUID>;
14363
14097
  description: z.ZodOptional<z.ZodString>;
14364
14098
  }, z.core.$strip>>;
14365
- }, z.core.$strip>>;
14366
- clearFlags: z.ZodArray<z.ZodULID>;
14099
+ }, z.core.$strip>>>;
14100
+ clearFlags: z.ZodOptional<z.ZodArray<z.ZodULID>>;
14367
14101
  }, z.core.$strip>;
14368
14102
 
14103
+ /** @deprecated - use UnderwritingFlagsUpdateRequestSchema */
14369
14104
  export declare const underwritingFlagsUpdateRequestSchema: z.ZodObject<{
14370
14105
  addFlags: z.ZodArray<z.ZodObject<{
14371
14106
  elementLocator: z.ZodString;