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

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
@@ -460,8 +460,8 @@ export declare const AddTaskRequestBffSchema: z.ZodObject<{
460
460
  contents: z.ZodString;
461
461
  }, z.core.$strip>>;
462
462
  userAssignment: z.ZodOptional<z.ZodObject<{
463
- userLocator: z.ZodGUID;
464
463
  userAssociationRole: z.ZodString;
464
+ userLocator: z.ZodGUID;
465
465
  }, z.core.$strip>>;
466
466
  deadlineTime: z.ZodISODateTime;
467
467
  references: z.ZodArray<z.ZodObject<{
@@ -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;
@@ -1166,69 +1296,6 @@ declare const BaseTransactionPriceSchema: z.ZodObject<{
1166
1296
  }, z.core.$strip>>;
1167
1297
  }, z.core.$strip>;
1168
1298
 
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
1299
  export declare const BasicAndFormerUserBffSchema: z.ZodUnion<readonly [z.ZodObject<{
1233
1300
  locator: z.ZodGUID;
1234
1301
  userName: z.ZodString;
@@ -1547,6 +1614,12 @@ export declare type ClaimId = z.infer<typeof ClaimIdSchema>;
1547
1614
 
1548
1615
  export declare const ClaimIdSchema: z.ZodULID;
1549
1616
 
1617
+ export declare const ConditionValueSchema: z.ZodObject<{
1618
+ values: z.ZodOptional<z.ZodArray<z.ZodString>>;
1619
+ fieldName: z.ZodOptional<z.ZodString>;
1620
+ staticLocator: z.ZodOptional<z.ZodString>;
1621
+ }, z.core.$strip>;
1622
+
1550
1623
  export declare type ConfigBuilderResult = z.infer<typeof ConfigBuilderResultSchema>;
1551
1624
 
1552
1625
  export declare const ConfigBuilderResultSchema: z.ZodObject<{
@@ -1565,27 +1638,27 @@ export declare type ConsolidatedDocumentRef = z.infer<typeof ConsolidatedDocumen
1565
1638
  export declare type ConsolidatedDocumentRefRecord = z.infer<typeof ConsolidatedDocumentRefRecordSchema>;
1566
1639
 
1567
1640
  export declare const ConsolidatedDocumentRefRecordSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
1568
- displayName: z.ZodString;
1641
+ displayName: z.ZodOptional<z.ZodString>;
1569
1642
  consolidatedDocuments: z.ZodArray<z.ZodString>;
1570
- leadingDocumentTemplate: z.ZodString;
1571
- pageNumbering: z.ZodObject<{
1643
+ leadingDocumentTemplate: z.ZodOptional<z.ZodString>;
1644
+ pageNumbering: z.ZodOptional<z.ZodObject<{
1572
1645
  enableNumbering: z.ZodBoolean;
1573
1646
  leadingDocumentPages: z.ZodBoolean;
1574
1647
  xPosition: z.ZodInt;
1575
1648
  yPosition: z.ZodInt;
1576
- }, z.core.$strip>;
1649
+ }, z.core.$strip>>;
1577
1650
  }, z.core.$strip>>;
1578
1651
 
1579
1652
  export declare const ConsolidatedDocumentRefSchema: z.ZodObject<{
1580
- displayName: z.ZodString;
1653
+ displayName: z.ZodOptional<z.ZodString>;
1581
1654
  consolidatedDocuments: z.ZodArray<z.ZodString>;
1582
- leadingDocumentTemplate: z.ZodString;
1583
- pageNumbering: z.ZodObject<{
1655
+ leadingDocumentTemplate: z.ZodOptional<z.ZodString>;
1656
+ pageNumbering: z.ZodOptional<z.ZodObject<{
1584
1657
  enableNumbering: z.ZodBoolean;
1585
1658
  leadingDocumentPages: z.ZodBoolean;
1586
1659
  xPosition: z.ZodInt;
1587
1660
  yPosition: z.ZodInt;
1588
- }, z.core.$strip>;
1661
+ }, z.core.$strip>>;
1589
1662
  }, z.core.$strip>;
1590
1663
 
1591
1664
  export declare type ConstraintConfig = z.infer<typeof constraintConfigSchema>;
@@ -1598,6 +1671,18 @@ export declare const constraintConfigSchema: z.ZodOptional<z.ZodObject<{
1598
1671
  }, z.core.$strip>>>;
1599
1672
  }, z.core.$strip>>;
1600
1673
 
1674
+ export declare type ConstraintDependency = z.infer<typeof ConstraintDependencySchema>;
1675
+
1676
+ export declare const ConstraintDependencySchema: z.ZodObject<{
1677
+ table: z.ZodString;
1678
+ column: z.ZodString;
1679
+ where: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
1680
+ values: z.ZodOptional<z.ZodArray<z.ZodString>>;
1681
+ fieldName: z.ZodOptional<z.ZodString>;
1682
+ staticLocator: z.ZodOptional<z.ZodString>;
1683
+ }, z.core.$strip>>>;
1684
+ }, z.core.$strip>;
1685
+
1601
1686
  export declare type Contact = z.infer<typeof ContactSchema>;
1602
1687
 
1603
1688
  export declare type ContactCreateRequest = z.infer<typeof ContactCreateRequestSchema>;
@@ -3560,15 +3645,15 @@ export declare const dataModelSchema: z.ZodObject<{
3560
3645
  }>>;
3561
3646
  }, z.core.$strip>>>;
3562
3647
  consolidatedDocuments: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
3563
- displayName: z.ZodString;
3648
+ displayName: z.ZodOptional<z.ZodString>;
3564
3649
  consolidatedDocuments: z.ZodArray<z.ZodString>;
3565
- leadingDocumentTemplate: z.ZodString;
3566
- pageNumbering: z.ZodObject<{
3650
+ leadingDocumentTemplate: z.ZodOptional<z.ZodString>;
3651
+ pageNumbering: z.ZodOptional<z.ZodObject<{
3567
3652
  enableNumbering: z.ZodBoolean;
3568
3653
  leadingDocumentPages: z.ZodBoolean;
3569
3654
  xPosition: z.ZodInt;
3570
3655
  yPosition: z.ZodInt;
3571
- }, z.core.$strip>;
3656
+ }, z.core.$strip>>;
3572
3657
  }, z.core.$strip>>>;
3573
3658
  policyLines: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
3574
3659
  displayName: z.ZodOptional<z.ZodString>;
@@ -4048,12 +4133,12 @@ export declare const delinquencyStateEnumSchema: z.ZodEnum<{
4048
4133
  export declare type DependencyMapResponse = z.infer<typeof dependencyMapResponseSchema>;
4049
4134
 
4050
4135
  export declare const dependencyMapResponseSchema: z.ZodRecord<z.ZodULID, z.ZodRecord<z.ZodString, z.ZodObject<{
4051
- column: z.ZodString;
4052
4136
  table: z.ZodString;
4137
+ column: z.ZodString;
4053
4138
  where: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
4054
- staticLocator: z.ZodOptional<z.ZodString>;
4055
- fieldName: z.ZodOptional<z.ZodString>;
4056
4139
  values: z.ZodOptional<z.ZodArray<z.ZodString>>;
4140
+ fieldName: z.ZodOptional<z.ZodString>;
4141
+ staticLocator: z.ZodOptional<z.ZodString>;
4057
4142
  }, z.core.$strip>>>;
4058
4143
  }, z.core.$strip>>>;
4059
4144
 
@@ -6064,6 +6149,7 @@ export declare const InvoiceResponseSchema: z.ZodObject<{
6064
6149
  autopayTime: z.ZodOptional<z.ZodISODateTime>;
6065
6150
  totalAmount: z.ZodOptional<z.ZodNumber>;
6066
6151
  totalRemainingAmount: z.ZodOptional<z.ZodNumber>;
6152
+ settledTime: z.ZodOptional<z.ZodISODateTime>;
6067
6153
  }, z.core.$strip>;
6068
6154
 
6069
6155
  export declare type InvoiceStateEnum = z.infer<typeof InvoiceStateEnumSchema>;
@@ -6108,11 +6194,10 @@ export declare const ledgerAccountReferenceTypeEnumSchema: z.ZodEnum<{
6108
6194
  accountExpenseBalance: "accountExpenseBalance";
6109
6195
  }>;
6110
6196
 
6111
- export declare type LedgerAccountResponse = z.infer<typeof ledgerAccountResponseSchema>;
6197
+ export declare type LedgerAccountResponse = z.infer<typeof LedgerAccountResponseSchema>;
6112
6198
 
6113
- export declare const ledgerAccountResponseSchema: z.ZodObject<{
6114
- referenceLocator: z.ZodString;
6115
- currency: z.ZodEnum<{
6199
+ declare const LedgerAccountResponseSchema: z.ZodObject<{
6200
+ currency: z.ZodOptional<z.ZodEnum<{
6116
6201
  AED: "AED";
6117
6202
  AFN: "AFN";
6118
6203
  ALL: "ALL";
@@ -6292,9 +6377,20 @@ export declare const ledgerAccountResponseSchema: z.ZodObject<{
6292
6377
  ZAR: "ZAR";
6293
6378
  ZMW: "ZMW";
6294
6379
  ZWL: "ZWL";
6295
- }>;
6296
- balance: z.ZodNumber;
6380
+ }>>;
6381
+ lineItems: z.ZodOptional<z.ZodArray<z.ZodObject<{
6382
+ faTransactionLocator: z.ZodString;
6383
+ faTransactionTime: z.ZodISODateTime;
6384
+ faTransactionNote: z.ZodString;
6385
+ accountingType: z.ZodEnum<{
6386
+ credit: "credit";
6387
+ debit: "debit";
6388
+ }>;
6389
+ amount: z.ZodNumber;
6390
+ }, z.core.$strip>>>;
6391
+ referenceLocator: z.ZodString;
6297
6392
  referenceType: z.ZodEnum<{
6393
+ account: "account";
6298
6394
  policy: "policy";
6299
6395
  quote: "quote";
6300
6396
  transaction: "transaction";
@@ -6302,39 +6398,240 @@ export declare const ledgerAccountResponseSchema: z.ZodObject<{
6302
6398
  invoiceItem: "invoiceItem";
6303
6399
  cash: "cash";
6304
6400
  accountCreditBalance: "accountCreditBalance";
6401
+ creditCash: "creditCash";
6305
6402
  charge: "charge";
6306
6403
  installmentItem: "installmentItem";
6307
6404
  accountExpenseBalance: "accountExpenseBalance";
6308
6405
  }>;
6309
- lineItems: z.ZodArray<z.ZodObject<{
6310
- faTransactionLocator: z.ZodString;
6311
- accountingType: z.ZodEnum<{
6312
- credit: "credit";
6313
- debit: "debit";
6314
- }>;
6315
- amount: z.ZodNumber;
6316
- faTransactionNote: z.ZodString;
6317
- faTransactionTime: z.ZodString;
6318
- }, z.core.$strip>>;
6319
- }, z.core.$strip>;
6320
-
6321
- export declare type ListBasicUserResponse = z.infer<typeof ListBasicUserResponseSchema>;
6322
-
6323
- export declare const ListBasicUserResponseSchema: z.ZodObject<{
6324
- listCompleted: z.ZodBoolean;
6325
- items: z.ZodArray<z.ZodObject<{
6326
- locator: z.ZodGUID;
6327
- userName: z.ZodString;
6328
- firstName: z.ZodOptional<z.ZodString>;
6329
- lastName: z.ZodOptional<z.ZodString>;
6330
- }, z.core.$strip>>;
6406
+ balance: z.ZodNumber;
6331
6407
  }, z.core.$strip>;
6332
6408
 
6333
- export declare type ListPaymentResponse = z.infer<typeof ListPaymentResponseSchema>;
6334
-
6335
- export declare const ListPaymentResponseSchema: z.ZodObject<{
6336
- listCompleted: z.ZodBoolean;
6337
- items: z.ZodArray<z.ZodObject<{
6409
+ /** @deprecated - use ledgerAccountListResponseSchema instead */
6410
+ export declare const ledgerAccountResponseSchema: z.ZodObject<{
6411
+ referenceLocator: z.ZodString;
6412
+ currency: z.ZodOptional<z.ZodEnum<{
6413
+ AED: "AED";
6414
+ AFN: "AFN";
6415
+ ALL: "ALL";
6416
+ AMD: "AMD";
6417
+ ANG: "ANG";
6418
+ AOA: "AOA";
6419
+ ARS: "ARS";
6420
+ AUD: "AUD";
6421
+ AWG: "AWG";
6422
+ AZN: "AZN";
6423
+ BAM: "BAM";
6424
+ BBD: "BBD";
6425
+ BDT: "BDT";
6426
+ BGN: "BGN";
6427
+ BHD: "BHD";
6428
+ BIF: "BIF";
6429
+ BMD: "BMD";
6430
+ BND: "BND";
6431
+ BOB: "BOB";
6432
+ BOV: "BOV";
6433
+ BRL: "BRL";
6434
+ BSD: "BSD";
6435
+ BTN: "BTN";
6436
+ BWP: "BWP";
6437
+ BYN: "BYN";
6438
+ BZD: "BZD";
6439
+ CAD: "CAD";
6440
+ CDF: "CDF";
6441
+ CHE: "CHE";
6442
+ CHF: "CHF";
6443
+ CHW: "CHW";
6444
+ CLF: "CLF";
6445
+ CLP: "CLP";
6446
+ COP: "COP";
6447
+ COU: "COU";
6448
+ CRC: "CRC";
6449
+ CUP: "CUP";
6450
+ CVE: "CVE";
6451
+ CZK: "CZK";
6452
+ DJF: "DJF";
6453
+ DKK: "DKK";
6454
+ DOP: "DOP";
6455
+ DZD: "DZD";
6456
+ EGP: "EGP";
6457
+ ERN: "ERN";
6458
+ ETB: "ETB";
6459
+ EUR: "EUR";
6460
+ FJD: "FJD";
6461
+ FKP: "FKP";
6462
+ GBP: "GBP";
6463
+ GEL: "GEL";
6464
+ GHS: "GHS";
6465
+ GIP: "GIP";
6466
+ GMD: "GMD";
6467
+ GNF: "GNF";
6468
+ GTQ: "GTQ";
6469
+ GYD: "GYD";
6470
+ HKD: "HKD";
6471
+ HNL: "HNL";
6472
+ HTG: "HTG";
6473
+ HUF: "HUF";
6474
+ IDR: "IDR";
6475
+ ILS: "ILS";
6476
+ INR: "INR";
6477
+ IQD: "IQD";
6478
+ IRR: "IRR";
6479
+ ISK: "ISK";
6480
+ JMD: "JMD";
6481
+ JOD: "JOD";
6482
+ JPY: "JPY";
6483
+ KES: "KES";
6484
+ KGS: "KGS";
6485
+ KHR: "KHR";
6486
+ KMF: "KMF";
6487
+ KPW: "KPW";
6488
+ KRW: "KRW";
6489
+ KWD: "KWD";
6490
+ KYD: "KYD";
6491
+ KZT: "KZT";
6492
+ LAK: "LAK";
6493
+ LBP: "LBP";
6494
+ LKR: "LKR";
6495
+ LRD: "LRD";
6496
+ LSL: "LSL";
6497
+ LYD: "LYD";
6498
+ MAD: "MAD";
6499
+ MDL: "MDL";
6500
+ MGA: "MGA";
6501
+ MKD: "MKD";
6502
+ MMK: "MMK";
6503
+ MNT: "MNT";
6504
+ MOP: "MOP";
6505
+ MRU: "MRU";
6506
+ MUR: "MUR";
6507
+ MVR: "MVR";
6508
+ MWK: "MWK";
6509
+ MXN: "MXN";
6510
+ MXV: "MXV";
6511
+ MYR: "MYR";
6512
+ MZN: "MZN";
6513
+ NAD: "NAD";
6514
+ NGN: "NGN";
6515
+ NIO: "NIO";
6516
+ NOK: "NOK";
6517
+ NPR: "NPR";
6518
+ NZD: "NZD";
6519
+ OMR: "OMR";
6520
+ PAB: "PAB";
6521
+ PEN: "PEN";
6522
+ PGK: "PGK";
6523
+ PHP: "PHP";
6524
+ PKR: "PKR";
6525
+ PLN: "PLN";
6526
+ PYG: "PYG";
6527
+ QAR: "QAR";
6528
+ RON: "RON";
6529
+ RSD: "RSD";
6530
+ CNY: "CNY";
6531
+ RUB: "RUB";
6532
+ RWF: "RWF";
6533
+ SAR: "SAR";
6534
+ SBD: "SBD";
6535
+ SCR: "SCR";
6536
+ SDG: "SDG";
6537
+ SEK: "SEK";
6538
+ SGD: "SGD";
6539
+ SHP: "SHP";
6540
+ SLE: "SLE";
6541
+ SLL: "SLL";
6542
+ SOS: "SOS";
6543
+ SRD: "SRD";
6544
+ SSP: "SSP";
6545
+ STN: "STN";
6546
+ SVC: "SVC";
6547
+ SYP: "SYP";
6548
+ SZL: "SZL";
6549
+ THB: "THB";
6550
+ TJS: "TJS";
6551
+ TMT: "TMT";
6552
+ TND: "TND";
6553
+ TOP: "TOP";
6554
+ TRY: "TRY";
6555
+ TTD: "TTD";
6556
+ TWD: "TWD";
6557
+ TZS: "TZS";
6558
+ UAH: "UAH";
6559
+ UGX: "UGX";
6560
+ USD: "USD";
6561
+ USN: "USN";
6562
+ UYI: "UYI";
6563
+ UYU: "UYU";
6564
+ UYW: "UYW";
6565
+ UZS: "UZS";
6566
+ VED: "VED";
6567
+ VES: "VES";
6568
+ VND: "VND";
6569
+ VUV: "VUV";
6570
+ WST: "WST";
6571
+ XAF: "XAF";
6572
+ XAG: "XAG";
6573
+ XAU: "XAU";
6574
+ XBA: "XBA";
6575
+ XBB: "XBB";
6576
+ XBC: "XBC";
6577
+ XBD: "XBD";
6578
+ XCD: "XCD";
6579
+ XDR: "XDR";
6580
+ XOF: "XOF";
6581
+ XPD: "XPD";
6582
+ XPF: "XPF";
6583
+ XPT: "XPT";
6584
+ XSU: "XSU";
6585
+ XTS: "XTS";
6586
+ XUA: "XUA";
6587
+ XXX: "XXX";
6588
+ YER: "YER";
6589
+ ZAR: "ZAR";
6590
+ ZMW: "ZMW";
6591
+ ZWL: "ZWL";
6592
+ }>>;
6593
+ balance: z.ZodNumber;
6594
+ referenceType: z.ZodEnum<{
6595
+ policy: "policy";
6596
+ quote: "quote";
6597
+ transaction: "transaction";
6598
+ credit: "credit";
6599
+ invoiceItem: "invoiceItem";
6600
+ cash: "cash";
6601
+ accountCreditBalance: "accountCreditBalance";
6602
+ charge: "charge";
6603
+ installmentItem: "installmentItem";
6604
+ accountExpenseBalance: "accountExpenseBalance";
6605
+ }>;
6606
+ lineItems: z.ZodOptional<z.ZodArray<z.ZodObject<{
6607
+ faTransactionLocator: z.ZodString;
6608
+ accountingType: z.ZodEnum<{
6609
+ credit: "credit";
6610
+ debit: "debit";
6611
+ }>;
6612
+ amount: z.ZodNumber;
6613
+ faTransactionNote: z.ZodString;
6614
+ faTransactionTime: z.ZodString;
6615
+ }, z.core.$strip>>>;
6616
+ }, z.core.$strip>;
6617
+
6618
+ export declare type ListBasicUserResponse = z.infer<typeof ListBasicUserResponseSchema>;
6619
+
6620
+ export declare const ListBasicUserResponseSchema: z.ZodObject<{
6621
+ listCompleted: z.ZodBoolean;
6622
+ items: z.ZodArray<z.ZodObject<{
6623
+ locator: z.ZodGUID;
6624
+ userName: z.ZodString;
6625
+ firstName: z.ZodOptional<z.ZodString>;
6626
+ lastName: z.ZodOptional<z.ZodString>;
6627
+ }, z.core.$strip>>;
6628
+ }, z.core.$strip>;
6629
+
6630
+ export declare type ListPaymentResponse = z.infer<typeof ListPaymentResponseSchema>;
6631
+
6632
+ export declare const ListPaymentResponseSchema: z.ZodObject<{
6633
+ listCompleted: z.ZodBoolean;
6634
+ items: z.ZodArray<z.ZodObject<{
6338
6635
  currency: z.ZodEnum<{
6339
6636
  AED: "AED";
6340
6637
  AFN: "AFN";
@@ -8772,13 +9069,20 @@ export declare const PolicyTransactionListResponseSchema: z.ZodObject<{
8772
9069
  }, z.core.$strip>>;
8773
9070
  }, z.core.$strip>;
8774
9071
 
8775
- export declare type PolicyTransactionResponse = z.infer<typeof policyTransactionResponseSchema>;
9072
+ export declare type PolicyTransactionResponse = z.infer<typeof basePolicyTransactionResponseSchema> & {
9073
+ aggregatedTransactions?: PolicyTransactionResponse[];
9074
+ };
9075
+
9076
+ /**
9077
+ * Full schema for policy transaction response with aggregated transactions shaped the same as the base schema.
9078
+ */
9079
+ export declare const PolicyTransactionResponseSchema: z.ZodType<PolicyTransactionResponse>;
8776
9080
 
8777
- export declare const PolicyTransactionResponseSchema: z.ZodObject<{
8778
- locator: z.ZodULID;
8779
- policyLocator: z.ZodULID;
8780
- termLocator: z.ZodULID;
8781
- effectiveTime: z.ZodISODateTime;
9081
+ /** @deprecated - use PolicyTransactionResponseSchema instead. */
9082
+ export declare const policyTransactionResponseSchema: z.ZodObject<{
9083
+ locator: z.ZodString;
9084
+ policyLocator: z.ZodString;
9085
+ termLocator: z.ZodString;
8782
9086
  transactionState: z.ZodEnum<{
8783
9087
  draft: "draft";
8784
9088
  validated: "validated";
@@ -8796,6 +9100,9 @@ export declare const PolicyTransactionResponseSchema: z.ZodObject<{
8796
9100
  invalidated: "invalidated";
8797
9101
  reversed: "reversed";
8798
9102
  }>;
9103
+ createdAt: z.ZodISODateTime;
9104
+ createdBy: z.ZodGUID;
9105
+ effectiveTime: z.ZodISODateTime;
8799
9106
  transactionCategory: z.ZodEnum<{
8800
9107
  issuance: "issuance";
8801
9108
  change: "change";
@@ -8806,509 +9113,14 @@ export declare const PolicyTransactionResponseSchema: z.ZodObject<{
8806
9113
  aggregate: "aggregate";
8807
9114
  }>;
8808
9115
  transactionType: z.ZodString;
8809
- createdAt: z.ZodISODateTime;
8810
- createdBy: z.ZodGUID;
8811
- aggregateTransactionLocator: z.ZodOptional<z.ZodULID>;
8812
- baseTransactionLocator: z.ZodOptional<z.ZodULID>;
9116
+ changeInstructions: z.ZodOptional<z.ZodArray<z.ZodAny>>;
9117
+ aggregateTransactionLocator: z.ZodOptional<z.ZodString>;
9118
+ baseTransactionLocator: z.ZodOptional<z.ZodString>;
8813
9119
  issuedTime: z.ZodOptional<z.ZodISODateTime>;
8814
- acceptedTime: z.ZodOptional<z.ZodISODateTime>;
8815
- preferences: z.ZodOptional<z.ZodObject<{
8816
- installmentPreferences: z.ZodOptional<z.ZodObject<{
8817
- generateLeadDays: z.ZodOptional<z.ZodInt>;
8818
- dueLeadDays: z.ZodOptional<z.ZodInt>;
8819
- maxInstallmentsPerTerm: z.ZodOptional<z.ZodInt>;
8820
- 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
- anchorMode: z.ZodOptional<z.ZodEnum<{
8837
- generateDay: "generateDay";
8838
- termStartDay: "termStartDay";
8839
- dueDay: "dueDay";
8840
- }>>;
8841
- anchorType: z.ZodOptional<z.ZodEnum<{
8842
- none: "none";
8843
- dayOfMonth: "dayOfMonth";
8844
- anchorTime: "anchorTime";
8845
- dayOfWeek: "dayOfWeek";
8846
- weekOfMonth: "weekOfMonth";
8847
- }>>;
8848
- dayOfWeek: z.ZodOptional<z.ZodEnum<{
8849
- monday: "monday";
8850
- tuesday: "tuesday";
8851
- wednesday: "wednesday";
8852
- thursday: "thursday";
8853
- friday: "friday";
8854
- saturday: "saturday";
8855
- sunday: "sunday";
8856
- }>>;
8857
- weekOfMonth: z.ZodOptional<z.ZodEnum<{
8858
- none: "none";
8859
- first: "first";
8860
- second: "second";
8861
- third: "third";
8862
- fourth: "fourth";
8863
- fifth: "fifth";
8864
- }>>;
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
- }, z.core.$strip>>;
8875
- }, z.core.$strip>>;
8876
- underwritingStatus: z.ZodOptional<z.ZodString>;
8877
- validationResult: z.ZodOptional<z.ZodObject<{
8878
- validationItems: z.ZodOptional<z.ZodArray<z.ZodObject<{
8879
- locator: z.ZodOptional<z.ZodULID>;
8880
- elementType: z.ZodOptional<z.ZodString>;
8881
- errors: z.ZodOptional<z.ZodArray<z.ZodString>>;
8882
- }, z.core.$strip>>>;
8883
- success: z.ZodOptional<z.ZodBoolean>;
8884
- }, 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
- }>>;
9120
+ billingTrigger: z.ZodOptional<z.ZodEnum<{
9121
+ accept: "accept";
9122
+ issue: "issue";
9123
+ }>>;
9312
9124
  preferences: z.ZodOptional<z.ZodObject<{
9313
9125
  billingPreferences: z.ZodOptional<z.ZodObject<{
9314
9126
  billingPlanName: z.ZodOptional<z.ZodString>;
@@ -11238,7 +11050,7 @@ export declare const quoteStateSchema: z.ZodUnion<readonly [z.ZodEnum<{
11238
11050
  discarded: "discarded";
11239
11051
  }>, z.ZodString]>;
11240
11052
 
11241
- export declare type QuoteUnderwritingFlagsResponse = z.infer<typeof quoteUnderwritingFlagsResponse>;
11053
+ export declare type QuoteUnderwritingFlagsResponse = z.infer<typeof QuoteUnderwritingFlagsResponseSchema>;
11242
11054
 
11243
11055
  export declare const quoteUnderwritingFlagsResponse: z.ZodObject<{
11244
11056
  quoteLocator: z.ZodString;
@@ -11286,22 +11098,8 @@ export declare const quoteUnderwritingFlagsResponse: z.ZodObject<{
11286
11098
 
11287
11099
  export declare const QuoteUnderwritingFlagsResponseSchema: z.ZodObject<{
11288
11100
  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>;
11101
+ flags: z.ZodOptional<z.ZodArray<z.ZodObject<{
11299
11102
  locator: z.ZodULID;
11300
- referenceLocator: z.ZodULID;
11301
- referenceType: z.ZodEnum<{
11302
- quote: "quote";
11303
- transaction: "transaction";
11304
- }>;
11305
11103
  level: z.ZodEnum<{
11306
11104
  none: "none";
11307
11105
  info: "info";
@@ -11310,28 +11108,28 @@ export declare const QuoteUnderwritingFlagsResponseSchema: z.ZodObject<{
11310
11108
  reject: "reject";
11311
11109
  approve: "approve";
11312
11110
  }>;
11313
- createdBy: z.ZodGUID;
11314
- createdTime: z.ZodISODateTime;
11315
- clearedBy: z.ZodGUID;
11316
- clearedTime: z.ZodISODateTime;
11111
+ referenceType: z.ZodOptional<z.ZodEnum<{
11112
+ quote: "quote";
11113
+ transaction: "transaction";
11114
+ }>>;
11115
+ referenceLocator: z.ZodOptional<z.ZodULID>;
11116
+ note: z.ZodOptional<z.ZodString>;
11117
+ tag: z.ZodOptional<z.ZodString>;
11317
11118
  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<{
11119
+ createdBy: z.ZodOptional<z.ZodUUID>;
11120
+ createdTime: z.ZodOptional<z.ZodISODateTime>;
11121
+ clearedBy: z.ZodOptional<z.ZodUUID>;
11122
+ clearedTime: z.ZodOptional<z.ZodISODateTime>;
11123
+ taskCreationResponse: z.ZodOptional<z.ZodObject<{
11323
11124
  taskLocator: z.ZodString;
11324
11125
  status: z.ZodEnum<{
11325
11126
  succeeded: "succeeded";
11326
11127
  failed: "failed";
11327
11128
  }>;
11328
- }, z.core.$strip>;
11129
+ }, z.core.$strip>>;
11130
+ }, z.core.$strip>>>;
11131
+ clearedFlags: z.ZodOptional<z.ZodArray<z.ZodObject<{
11329
11132
  locator: z.ZodULID;
11330
- referenceLocator: z.ZodULID;
11331
- referenceType: z.ZodEnum<{
11332
- quote: "quote";
11333
- transaction: "transaction";
11334
- }>;
11335
11133
  level: z.ZodEnum<{
11336
11134
  none: "none";
11337
11135
  info: "info";
@@ -11340,21 +11138,35 @@ export declare const QuoteUnderwritingFlagsResponseSchema: z.ZodObject<{
11340
11138
  reject: "reject";
11341
11139
  approve: "approve";
11342
11140
  }>;
11343
- createdBy: z.ZodGUID;
11344
- createdTime: z.ZodISODateTime;
11345
- clearedBy: z.ZodGUID;
11346
- clearedTime: z.ZodISODateTime;
11141
+ referenceType: z.ZodOptional<z.ZodEnum<{
11142
+ quote: "quote";
11143
+ transaction: "transaction";
11144
+ }>>;
11145
+ referenceLocator: z.ZodOptional<z.ZodULID>;
11146
+ note: z.ZodOptional<z.ZodString>;
11147
+ tag: z.ZodOptional<z.ZodString>;
11347
11148
  elementLocator: z.ZodOptional<z.ZodULID>;
11149
+ createdBy: z.ZodOptional<z.ZodUUID>;
11150
+ createdTime: z.ZodOptional<z.ZodISODateTime>;
11151
+ clearedBy: z.ZodOptional<z.ZodUUID>;
11152
+ clearedTime: z.ZodOptional<z.ZodISODateTime>;
11153
+ taskCreationResponse: z.ZodOptional<z.ZodObject<{
11154
+ taskLocator: z.ZodString;
11155
+ status: z.ZodEnum<{
11156
+ succeeded: "succeeded";
11157
+ failed: "failed";
11158
+ }>;
11159
+ }, z.core.$strip>>;
11348
11160
  }, z.core.$strip>>>;
11349
11161
  }, z.core.$strip>;
11350
11162
 
11351
11163
  export declare type QuoteUnderwritingResponse = z.infer<typeof QuoteUnderwritingResponseSchema>;
11352
11164
 
11353
11165
  export declare const QuoteUnderwritingResponseSchema: z.ZodObject<{
11354
- tenantLocator: z.ZodUUID;
11355
- accountLocator: z.ZodULID;
11356
- quoteLocator: z.ZodULID;
11357
- quoteState: z.ZodEnum<{
11166
+ tenantLocator: z.ZodOptional<z.ZodOptional<z.ZodUUID>>;
11167
+ quoteLocator: z.ZodOptional<z.ZodULID>;
11168
+ accountLocator: z.ZodOptional<z.ZodOptional<z.ZodULID>>;
11169
+ quoteState: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
11358
11170
  draft: "draft";
11359
11171
  validated: "validated";
11360
11172
  earlyUnderwritten: "earlyUnderwritten";
@@ -11367,11 +11179,11 @@ export declare const QuoteUnderwritingResponseSchema: z.ZodObject<{
11367
11179
  rejected: "rejected";
11368
11180
  refused: "refused";
11369
11181
  discarded: "discarded";
11370
- }>;
11371
- startTime: z.ZodISODateTime;
11372
- endTime: z.ZodISODateTime;
11373
- expirationTime: z.ZodISODateTime;
11374
- durationBasis: z.ZodEnum<{
11182
+ }>>>;
11183
+ startTime: z.ZodOptional<z.ZodOptional<z.ZodISODateTime>>;
11184
+ endTime: z.ZodOptional<z.ZodOptional<z.ZodISODateTime>>;
11185
+ expirationTime: z.ZodOptional<z.ZodOptional<z.ZodISODateTime>>;
11186
+ durationBasis: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
11375
11187
  none: "none";
11376
11188
  years: "years";
11377
11189
  months: "months";
@@ -11379,23 +11191,9 @@ export declare const QuoteUnderwritingResponseSchema: z.ZodObject<{
11379
11191
  weeks: "weeks";
11380
11192
  days: "days";
11381
11193
  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>;
11194
+ }>>>;
11195
+ underwritingFlags: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
11393
11196
  locator: z.ZodULID;
11394
- referenceLocator: z.ZodULID;
11395
- referenceType: z.ZodEnum<{
11396
- quote: "quote";
11397
- transaction: "transaction";
11398
- }>;
11399
11197
  level: z.ZodEnum<{
11400
11198
  none: "none";
11401
11199
  info: "info";
@@ -11404,23 +11202,37 @@ export declare const QuoteUnderwritingResponseSchema: z.ZodObject<{
11404
11202
  reject: "reject";
11405
11203
  approve: "approve";
11406
11204
  }>;
11407
- createdBy: z.ZodGUID;
11408
- createdTime: z.ZodISODateTime;
11409
- clearedBy: z.ZodGUID;
11410
- clearedTime: z.ZodISODateTime;
11205
+ referenceType: z.ZodOptional<z.ZodEnum<{
11206
+ quote: "quote";
11207
+ transaction: "transaction";
11208
+ }>>;
11209
+ referenceLocator: z.ZodOptional<z.ZodULID>;
11210
+ note: z.ZodOptional<z.ZodString>;
11211
+ tag: z.ZodOptional<z.ZodString>;
11411
11212
  elementLocator: z.ZodOptional<z.ZodULID>;
11412
- }, z.core.$strip>>;
11413
- validationResult: z.ZodOptional<z.ZodObject<{
11213
+ createdBy: z.ZodOptional<z.ZodUUID>;
11214
+ createdTime: z.ZodOptional<z.ZodISODateTime>;
11215
+ clearedBy: z.ZodOptional<z.ZodUUID>;
11216
+ clearedTime: z.ZodOptional<z.ZodISODateTime>;
11217
+ taskCreationResponse: z.ZodOptional<z.ZodObject<{
11218
+ taskLocator: z.ZodString;
11219
+ status: z.ZodEnum<{
11220
+ succeeded: "succeeded";
11221
+ failed: "failed";
11222
+ }>;
11223
+ }, z.core.$strip>>;
11224
+ }, z.core.$strip>>>>;
11225
+ validationResult: z.ZodOptional<z.ZodOptional<z.ZodObject<{
11414
11226
  validationItems: z.ZodOptional<z.ZodArray<z.ZodObject<{
11415
11227
  locator: z.ZodOptional<z.ZodULID>;
11416
11228
  elementType: z.ZodOptional<z.ZodString>;
11417
11229
  errors: z.ZodOptional<z.ZodArray<z.ZodString>>;
11418
11230
  }, z.core.$strip>>>;
11419
11231
  success: z.ZodOptional<z.ZodBoolean>;
11420
- }, z.core.$strip>>;
11421
- productName: z.ZodString;
11422
- duration: z.ZodNumber;
11423
- underwritingStatus: z.ZodString;
11232
+ }, z.core.$strip>>>;
11233
+ productName: z.ZodOptional<z.ZodString>;
11234
+ duration: z.ZodOptional<z.ZodNumber>;
11235
+ underwritingStatus: z.ZodOptional<z.ZodString>;
11424
11236
  }, z.core.$strip>;
11425
11237
 
11426
11238
  export declare type QuoteUpdateRequest = z.infer<typeof QuoteUpdateRequestSchema>;
@@ -12667,7 +12479,7 @@ export declare const TemplateSnippetConfigSchema: z.ZodObject<{
12667
12479
  policyStartTime: "policyStartTime";
12668
12480
  currentTime: "currentTime";
12669
12481
  }>;
12670
- displayName: z.ZodString;
12482
+ displayName: z.ZodOptional<z.ZodString>;
12671
12483
  }, z.core.$strip>;
12672
12484
 
12673
12485
  export declare type TenantBaseConfig = z.infer<typeof tenantBaseConfigSchema>;
@@ -13449,6 +13261,7 @@ export declare const timezoneEnumSchema: z.ZodEnum<{
13449
13261
 
13450
13262
  export declare type TimezoneType = z.infer<typeof timezoneEnumSchema>;
13451
13263
 
13264
+ /** @deprecated - use TransactionCategoryEnum */
13452
13265
  export declare type TransactionCategory = z.infer<typeof transactionCategoryEnumSchema>;
13453
13266
 
13454
13267
  export declare type TransactionCategoryEnum = z.infer<typeof TransactionCategoryEnumSchema>;
@@ -13463,6 +13276,7 @@ export declare const TransactionCategoryEnumSchema: z.ZodEnum<{
13463
13276
  aggregate: "aggregate";
13464
13277
  }>;
13465
13278
 
13279
+ /** @deprecated - use TransactionCategoryEnumSchema*/
13466
13280
  export declare const transactionCategoryEnumSchema: z.ZodEnum<{
13467
13281
  issuance: "issuance";
13468
13282
  change: "change";
@@ -13886,6 +13700,7 @@ export declare const transactionSnapshotResponseSchema: z.ZodObject<{
13886
13700
  transactionType: z.ZodString;
13887
13701
  }, z.core.$strip>;
13888
13702
 
13703
+ /** @deprecated - use TransactionStateEnum */
13889
13704
  export declare type TransactionState = z.infer<typeof transactionStateEnumSchema>;
13890
13705
 
13891
13706
  export declare type TransactionStateEnum = z.infer<typeof TransactionStateEnumSchema>;
@@ -13908,6 +13723,7 @@ export declare const TransactionStateEnumSchema: z.ZodEnum<{
13908
13723
  reversed: "reversed";
13909
13724
  }>;
13910
13725
 
13726
+ /** @deprecated - use TransactionStateEnumSchema */
13911
13727
  export declare const transactionStateEnumSchema: z.ZodEnum<{
13912
13728
  draft: "draft";
13913
13729
  validated: "validated";
@@ -13968,41 +13784,142 @@ export declare const transactionTypesRecordsSchema: z.ZodRecord<z.ZodString, z.Z
13968
13784
  costBearing: z.ZodBoolean;
13969
13785
  }, z.core.$strip>>;
13970
13786
 
13971
- export declare type TransactionUnderwritingFlagsResponse = z.infer<typeof transactionUnderwritingFlagsResponse>;
13787
+ export declare type TransactionUnderwritingFlagsResponse = z.infer<typeof TransactionUnderwritingFlagsResponseSchema>;
13972
13788
 
13789
+ /** @deprecated - use TransactionUnderwritingFlagsResponseSchema */
13973
13790
  export declare const transactionUnderwritingFlagsResponse: z.ZodObject<{
13974
13791
  transactionLocator: z.ZodString;
13975
13792
  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<{
13793
+ locator: z.ZodULID;
13794
+ level: z.ZodEnum<{
13795
+ none: "none";
13796
+ info: "info";
13797
+ block: "block";
13798
+ decline: "decline";
13799
+ reject: "reject";
13800
+ approve: "approve";
13801
+ }>;
13802
+ referenceType: z.ZodOptional<z.ZodEnum<{
13803
+ quote: "quote";
13804
+ transaction: "transaction";
13805
+ }>>;
13806
+ referenceLocator: z.ZodOptional<z.ZodULID>;
13807
+ note: z.ZodOptional<z.ZodString>;
13808
+ tag: z.ZodOptional<z.ZodString>;
13809
+ elementLocator: z.ZodOptional<z.ZodULID>;
13810
+ createdBy: z.ZodOptional<z.ZodUUID>;
13811
+ createdTime: z.ZodOptional<z.ZodISODateTime>;
13812
+ clearedBy: z.ZodOptional<z.ZodUUID>;
13813
+ clearedTime: z.ZodOptional<z.ZodISODateTime>;
13814
+ taskCreationResponse: z.ZodOptional<z.ZodObject<{
13815
+ taskLocator: z.ZodString;
13816
+ status: z.ZodEnum<{
13817
+ succeeded: "succeeded";
13818
+ failed: "failed";
13819
+ }>;
13820
+ }, z.core.$strip>>;
13821
+ }, z.core.$strip>>>;
13822
+ flags: z.ZodOptional<z.ZodArray<z.ZodObject<{
13823
+ locator: z.ZodULID;
13824
+ level: z.ZodEnum<{
13825
+ none: "none";
13826
+ info: "info";
13827
+ block: "block";
13828
+ decline: "decline";
13829
+ reject: "reject";
13830
+ approve: "approve";
13831
+ }>;
13832
+ referenceType: z.ZodOptional<z.ZodEnum<{
13833
+ quote: "quote";
13834
+ transaction: "transaction";
13835
+ }>>;
13836
+ referenceLocator: z.ZodOptional<z.ZodULID>;
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>>;
13851
+ }, z.core.$strip>>>;
13852
+ validationResult: z.ZodOptional<z.ZodObject<{
13853
+ validationItems: z.ZodOptional<z.ZodArray<z.ZodObject<{
13854
+ locator: z.ZodOptional<z.ZodULID>;
13855
+ elementType: z.ZodOptional<z.ZodString>;
13856
+ errors: z.ZodOptional<z.ZodArray<z.ZodString>>;
13857
+ }, z.core.$strip>>>;
13858
+ success: z.ZodOptional<z.ZodBoolean>;
13859
+ }, z.core.$strip>>;
13860
+ }, z.core.$strip>;
13861
+
13862
+ export declare const TransactionUnderwritingFlagsResponseSchema: z.ZodObject<{
13863
+ transactionLocator: z.ZodString;
13864
+ clearedFlags: z.ZodOptional<z.ZodArray<z.ZodObject<{
13865
+ locator: z.ZodULID;
13866
+ level: z.ZodEnum<{
13867
+ none: "none";
13983
13868
  info: "info";
13984
13869
  block: "block";
13985
13870
  decline: "decline";
13986
13871
  reject: "reject";
13987
13872
  approve: "approve";
13873
+ }>;
13874
+ referenceType: z.ZodOptional<z.ZodEnum<{
13875
+ quote: "quote";
13876
+ transaction: "transaction";
13988
13877
  }>>;
13878
+ referenceLocator: z.ZodOptional<z.ZodULID>;
13989
13879
  note: z.ZodOptional<z.ZodString>;
13880
+ tag: z.ZodOptional<z.ZodString>;
13881
+ elementLocator: z.ZodOptional<z.ZodULID>;
13882
+ createdBy: z.ZodOptional<z.ZodUUID>;
13883
+ createdTime: z.ZodOptional<z.ZodISODateTime>;
13884
+ clearedBy: z.ZodOptional<z.ZodUUID>;
13885
+ clearedTime: z.ZodOptional<z.ZodISODateTime>;
13886
+ taskCreationResponse: z.ZodOptional<z.ZodObject<{
13887
+ taskLocator: z.ZodString;
13888
+ status: z.ZodEnum<{
13889
+ succeeded: "succeeded";
13890
+ failed: "failed";
13891
+ }>;
13892
+ }, z.core.$strip>>;
13990
13893
  }, z.core.$strip>>>;
13991
13894
  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<{
13895
+ locator: z.ZodULID;
13896
+ level: z.ZodEnum<{
13897
+ none: "none";
13999
13898
  info: "info";
14000
13899
  block: "block";
14001
13900
  decline: "decline";
14002
13901
  reject: "reject";
14003
13902
  approve: "approve";
13903
+ }>;
13904
+ referenceType: z.ZodOptional<z.ZodEnum<{
13905
+ quote: "quote";
13906
+ transaction: "transaction";
14004
13907
  }>>;
13908
+ referenceLocator: z.ZodOptional<z.ZodULID>;
14005
13909
  note: z.ZodOptional<z.ZodString>;
13910
+ tag: z.ZodOptional<z.ZodString>;
13911
+ elementLocator: z.ZodOptional<z.ZodULID>;
13912
+ createdBy: z.ZodOptional<z.ZodUUID>;
13913
+ createdTime: z.ZodOptional<z.ZodISODateTime>;
13914
+ clearedBy: z.ZodOptional<z.ZodUUID>;
13915
+ clearedTime: z.ZodOptional<z.ZodISODateTime>;
13916
+ taskCreationResponse: z.ZodOptional<z.ZodObject<{
13917
+ taskLocator: z.ZodString;
13918
+ status: z.ZodEnum<{
13919
+ succeeded: "succeeded";
13920
+ failed: "failed";
13921
+ }>;
13922
+ }, z.core.$strip>>;
14006
13923
  }, z.core.$strip>>>;
14007
13924
  validationResult: z.ZodOptional<z.ZodObject<{
14008
13925
  validationItems: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -14014,24 +13931,40 @@ export declare const transactionUnderwritingFlagsResponse: z.ZodObject<{
14014
13931
  }, z.core.$strip>>;
14015
13932
  }, z.core.$strip>;
14016
13933
 
14017
- 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<{
14023
- taskLocator: z.ZodString;
14024
- status: z.ZodEnum<{
14025
- succeeded: "succeeded";
14026
- failed: "failed";
14027
- }>;
14028
- }, z.core.$strip>;
14029
- locator: z.ZodULID;
14030
- referenceLocator: z.ZodULID;
14031
- referenceType: z.ZodEnum<{
14032
- quote: "quote";
14033
- transaction: "transaction";
14034
- }>;
13934
+ export declare type TransactionUnderwritingResponse = z.infer<typeof TransactionUnderwritingResponseSchema>;
13935
+
13936
+ export declare const TransactionUnderwritingResponseSchema: z.ZodObject<{
13937
+ locator: z.ZodString;
13938
+ policyLocator: z.ZodString;
13939
+ transactionCategory: z.ZodEnum<{
13940
+ issuance: "issuance";
13941
+ change: "change";
13942
+ renewal: "renewal";
13943
+ cancellation: "cancellation";
13944
+ reinstatement: "reinstatement";
13945
+ reversal: "reversal";
13946
+ aggregate: "aggregate";
13947
+ }>;
13948
+ transactionState: z.ZodEnum<{
13949
+ draft: "draft";
13950
+ validated: "validated";
13951
+ earlyUnderwritten: "earlyUnderwritten";
13952
+ priced: "priced";
13953
+ underwritten: "underwritten";
13954
+ accepted: "accepted";
13955
+ issued: "issued";
13956
+ underwrittenBlocked: "underwrittenBlocked";
13957
+ declined: "declined";
13958
+ rejected: "rejected";
13959
+ refused: "refused";
13960
+ discarded: "discarded";
13961
+ initialized: "initialized";
13962
+ invalidated: "invalidated";
13963
+ reversed: "reversed";
13964
+ }>;
13965
+ effectiveTime: z.ZodISODateTime;
13966
+ underwritingFlags: z.ZodOptional<z.ZodArray<z.ZodObject<{
13967
+ locator: z.ZodString;
14035
13968
  level: z.ZodEnum<{
14036
13969
  none: "none";
14037
13970
  info: "info";
@@ -14040,15 +13973,18 @@ export declare const TransactionUnderwritingFlagsResponseSchema: z.ZodObject<{
14040
13973
  reject: "reject";
14041
13974
  approve: "approve";
14042
13975
  }>;
14043
- createdBy: z.ZodGUID;
14044
- createdTime: z.ZodISODateTime;
14045
- clearedBy: z.ZodGUID;
14046
- clearedTime: z.ZodISODateTime;
14047
- elementLocator: z.ZodOptional<z.ZodULID>;
14048
- }, z.core.$strip>>;
14049
- flags: z.ZodArray<z.ZodObject<{
13976
+ referenceType: z.ZodEnum<{
13977
+ quote: "quote";
13978
+ transaction: "transaction";
13979
+ }>;
13980
+ referenceLocator: z.ZodString;
14050
13981
  note: z.ZodString;
14051
13982
  tag: z.ZodString;
13983
+ elementLocator: z.ZodOptional<z.ZodString>;
13984
+ createdBy: z.ZodUUID;
13985
+ createdTime: z.ZodISODateTime;
13986
+ clearedBy: z.ZodUUID;
13987
+ clearedTime: z.ZodISODateTime;
14052
13988
  taskCreationResponse: z.ZodObject<{
14053
13989
  taskLocator: z.ZodString;
14054
13990
  status: z.ZodEnum<{
@@ -14056,36 +13992,86 @@ export declare const TransactionUnderwritingFlagsResponseSchema: z.ZodObject<{
14056
13992
  failed: "failed";
14057
13993
  }>;
14058
13994
  }, z.core.$strip>;
14059
- locator: z.ZodULID;
14060
- referenceLocator: z.ZodULID;
14061
- referenceType: z.ZodEnum<{
14062
- quote: "quote";
14063
- transaction: "transaction";
13995
+ }, z.core.$strip>>>;
13996
+ underwritingStatus: z.ZodOptional<z.ZodEnum<{
13997
+ none: "none";
13998
+ declined: "declined";
13999
+ rejected: "rejected";
14000
+ approved: "approved";
14001
+ blocked: "blocked";
14002
+ }>>;
14003
+ aggregatedTransactions: z.ZodOptional<z.ZodArray<z.ZodObject<{
14004
+ locator: z.ZodString;
14005
+ policyLocator: z.ZodString;
14006
+ transactionCategory: z.ZodEnum<{
14007
+ issuance: "issuance";
14008
+ change: "change";
14009
+ renewal: "renewal";
14010
+ cancellation: "cancellation";
14011
+ reinstatement: "reinstatement";
14012
+ reversal: "reversal";
14013
+ aggregate: "aggregate";
14064
14014
  }>;
14065
- level: z.ZodEnum<{
14066
- none: "none";
14067
- info: "info";
14068
- block: "block";
14069
- decline: "decline";
14070
- reject: "reject";
14071
- approve: "approve";
14015
+ transactionState: z.ZodEnum<{
14016
+ draft: "draft";
14017
+ validated: "validated";
14018
+ earlyUnderwritten: "earlyUnderwritten";
14019
+ priced: "priced";
14020
+ underwritten: "underwritten";
14021
+ accepted: "accepted";
14022
+ issued: "issued";
14023
+ underwrittenBlocked: "underwrittenBlocked";
14024
+ declined: "declined";
14025
+ rejected: "rejected";
14026
+ refused: "refused";
14027
+ discarded: "discarded";
14028
+ initialized: "initialized";
14029
+ invalidated: "invalidated";
14030
+ reversed: "reversed";
14072
14031
  }>;
14073
- createdBy: z.ZodGUID;
14074
- createdTime: z.ZodISODateTime;
14075
- clearedBy: z.ZodGUID;
14076
- clearedTime: z.ZodISODateTime;
14077
- elementLocator: z.ZodOptional<z.ZodULID>;
14032
+ effectiveTime: z.ZodISODateTime;
14033
+ underwritingFlags: z.ZodOptional<z.ZodArray<z.ZodObject<{
14034
+ locator: z.ZodString;
14035
+ level: z.ZodEnum<{
14036
+ none: "none";
14037
+ info: "info";
14038
+ block: "block";
14039
+ decline: "decline";
14040
+ reject: "reject";
14041
+ approve: "approve";
14042
+ }>;
14043
+ referenceType: z.ZodEnum<{
14044
+ quote: "quote";
14045
+ transaction: "transaction";
14046
+ }>;
14047
+ referenceLocator: z.ZodString;
14048
+ note: z.ZodString;
14049
+ tag: z.ZodString;
14050
+ elementLocator: z.ZodOptional<z.ZodString>;
14051
+ createdBy: z.ZodUUID;
14052
+ createdTime: z.ZodISODateTime;
14053
+ clearedBy: z.ZodUUID;
14054
+ clearedTime: z.ZodISODateTime;
14055
+ taskCreationResponse: z.ZodObject<{
14056
+ taskLocator: z.ZodString;
14057
+ status: z.ZodEnum<{
14058
+ succeeded: "succeeded";
14059
+ failed: "failed";
14060
+ }>;
14061
+ }, z.core.$strip>;
14062
+ }, z.core.$strip>>>;
14063
+ }, z.core.$strip>>>;
14064
+ validationResult: z.ZodOptional<z.ZodObject<{
14065
+ validationItems: z.ZodOptional<z.ZodArray<z.ZodObject<{
14066
+ locator: z.ZodOptional<z.ZodULID>;
14067
+ elementType: z.ZodOptional<z.ZodString>;
14068
+ errors: z.ZodOptional<z.ZodArray<z.ZodString>>;
14069
+ }, z.core.$strip>>>;
14070
+ success: z.ZodOptional<z.ZodBoolean>;
14078
14071
  }, z.core.$strip>>;
14079
14072
  }, z.core.$strip>;
14080
14073
 
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
-
14074
+ /** @deprecated - use TransactionUnderwritingResponseSchema */
14089
14075
  export declare const transactionUnderwritingResponseSchema: z.ZodObject<{
14090
14076
  locator: z.ZodString;
14091
14077
  policyLocator: z.ZodString;
@@ -14116,22 +14102,42 @@ export declare const transactionUnderwritingResponseSchema: z.ZodObject<{
14116
14102
  reversal: "reversal";
14117
14103
  aggregate: "aggregate";
14118
14104
  }>;
14119
- underwritingStatus: z.ZodOptional<z.ZodString>;
14105
+ underwritingStatus: z.ZodOptional<z.ZodEnum<{
14106
+ none: "none";
14107
+ declined: "declined";
14108
+ rejected: "rejected";
14109
+ approved: "approved";
14110
+ blocked: "blocked";
14111
+ }>>;
14120
14112
  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<{
14113
+ locator: z.ZodULID;
14114
+ level: z.ZodEnum<{
14115
+ none: "none";
14128
14116
  info: "info";
14129
14117
  block: "block";
14130
14118
  decline: "decline";
14131
14119
  reject: "reject";
14132
14120
  approve: "approve";
14121
+ }>;
14122
+ referenceType: z.ZodOptional<z.ZodEnum<{
14123
+ quote: "quote";
14124
+ transaction: "transaction";
14133
14125
  }>>;
14126
+ referenceLocator: z.ZodOptional<z.ZodULID>;
14134
14127
  note: z.ZodOptional<z.ZodString>;
14128
+ tag: z.ZodOptional<z.ZodString>;
14129
+ elementLocator: z.ZodOptional<z.ZodULID>;
14130
+ createdBy: z.ZodOptional<z.ZodUUID>;
14131
+ createdTime: z.ZodOptional<z.ZodISODateTime>;
14132
+ clearedBy: z.ZodOptional<z.ZodUUID>;
14133
+ clearedTime: z.ZodOptional<z.ZodISODateTime>;
14134
+ taskCreationResponse: z.ZodOptional<z.ZodObject<{
14135
+ taskLocator: z.ZodString;
14136
+ status: z.ZodEnum<{
14137
+ succeeded: "succeeded";
14138
+ failed: "failed";
14139
+ }>;
14140
+ }, z.core.$strip>>;
14135
14141
  }, z.core.$strip>>>;
14136
14142
  validationResult: z.ZodOptional<z.ZodObject<{
14137
14143
  validationItems: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -14171,22 +14177,42 @@ export declare const transactionUnderwritingResponseSchema: z.ZodObject<{
14171
14177
  reversal: "reversal";
14172
14178
  aggregate: "aggregate";
14173
14179
  }>;
14174
- underwritingStatus: z.ZodOptional<z.ZodString>;
14180
+ underwritingStatus: z.ZodOptional<z.ZodEnum<{
14181
+ none: "none";
14182
+ declined: "declined";
14183
+ rejected: "rejected";
14184
+ approved: "approved";
14185
+ blocked: "blocked";
14186
+ }>>;
14175
14187
  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<{
14188
+ locator: z.ZodULID;
14189
+ level: z.ZodEnum<{
14190
+ none: "none";
14183
14191
  info: "info";
14184
14192
  block: "block";
14185
14193
  decline: "decline";
14186
14194
  reject: "reject";
14187
14195
  approve: "approve";
14196
+ }>;
14197
+ referenceType: z.ZodOptional<z.ZodEnum<{
14198
+ quote: "quote";
14199
+ transaction: "transaction";
14188
14200
  }>>;
14201
+ referenceLocator: z.ZodOptional<z.ZodULID>;
14189
14202
  note: z.ZodOptional<z.ZodString>;
14203
+ tag: z.ZodOptional<z.ZodString>;
14204
+ elementLocator: z.ZodOptional<z.ZodULID>;
14205
+ createdBy: z.ZodOptional<z.ZodUUID>;
14206
+ createdTime: z.ZodOptional<z.ZodISODateTime>;
14207
+ clearedBy: z.ZodOptional<z.ZodUUID>;
14208
+ clearedTime: z.ZodOptional<z.ZodISODateTime>;
14209
+ taskCreationResponse: z.ZodOptional<z.ZodObject<{
14210
+ taskLocator: z.ZodString;
14211
+ status: z.ZodEnum<{
14212
+ succeeded: "succeeded";
14213
+ failed: "failed";
14214
+ }>;
14215
+ }, z.core.$strip>>;
14190
14216
  }, z.core.$strip>>>;
14191
14217
  validationResult: z.ZodOptional<z.ZodObject<{
14192
14218
  validationItems: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -14201,12 +14227,10 @@ export declare const transactionUnderwritingResponseSchema: z.ZodObject<{
14201
14227
 
14202
14228
  export declare const ULIDZ: z.ZodULID;
14203
14229
 
14204
- export declare type UnderwritingFlagCreateRequest = z.infer<typeof underwritingFlagCreateRequestSchema>;
14230
+ export declare type UnderwritingFlagCreateRequest = z.infer<typeof UnderwritingFlagCreateRequestSchema>;
14205
14231
 
14206
14232
  export declare const UnderwritingFlagCreateRequestSchema: z.ZodObject<{
14207
- note: z.ZodString;
14208
- tag: z.ZodString;
14209
- elementLocator: z.ZodULID;
14233
+ elementLocator: z.ZodOptional<z.ZodULID>;
14210
14234
  level: z.ZodEnum<{
14211
14235
  none: "none";
14212
14236
  info: "info";
@@ -14215,8 +14239,10 @@ export declare const UnderwritingFlagCreateRequestSchema: z.ZodObject<{
14215
14239
  reject: "reject";
14216
14240
  approve: "approve";
14217
14241
  }>;
14242
+ note: z.ZodOptional<z.ZodString>;
14243
+ tag: z.ZodOptional<z.ZodString>;
14218
14244
  taskCreation: z.ZodOptional<z.ZodObject<{
14219
- deadlineTime: z.ZodISODateTime;
14245
+ type: z.ZodString;
14220
14246
  references: z.ZodArray<z.ZodObject<{
14221
14247
  referenceType: z.ZodEnum<{
14222
14248
  account: "account";
@@ -14230,13 +14256,14 @@ export declare const UnderwritingFlagCreateRequestSchema: z.ZodObject<{
14230
14256
  }>;
14231
14257
  referenceLocator: z.ZodString;
14232
14258
  }, z.core.$strip>>;
14233
- assignedTo: z.ZodOptional<z.ZodGUID>;
14234
- type: z.ZodString;
14235
14259
  underwritingFlagLocators: z.ZodArray<z.ZodString>;
14260
+ deadlineTime: z.ZodOptional<z.ZodISODateTime>;
14261
+ assignedTo: z.ZodOptional<z.ZodUUID>;
14236
14262
  description: z.ZodOptional<z.ZodString>;
14237
14263
  }, z.core.$strip>>;
14238
14264
  }, z.core.$strip>;
14239
14265
 
14266
+ /** @deprecated - use UnderwritingFlagCreateRequestSchema */
14240
14267
  export declare const underwritingFlagCreateRequestSchema: z.ZodObject<{
14241
14268
  elementLocator: z.ZodString;
14242
14269
  level: z.ZodEnum<{
@@ -14249,8 +14276,10 @@ export declare const underwritingFlagCreateRequestSchema: z.ZodObject<{
14249
14276
  note: z.ZodOptional<z.ZodString>;
14250
14277
  }, z.core.$strip>;
14251
14278
 
14279
+ /** @deprecated - use UnderwritingFlagsLevelEnum */
14252
14280
  export declare type UnderwritingFlagEnum = z.infer<typeof underwritingFlagEnumSchema>;
14253
14281
 
14282
+ /** @deprecated - use UnderwritingFlagsLevelEnumSchema */
14254
14283
  export declare const underwritingFlagEnumSchema: z.ZodEnum<{
14255
14284
  info: "info";
14256
14285
  block: "block";
@@ -14259,24 +14288,10 @@ export declare const underwritingFlagEnumSchema: z.ZodEnum<{
14259
14288
  approve: "approve";
14260
14289
  }>;
14261
14290
 
14262
- export declare type UnderwritingFlagResponse = z.infer<typeof underwritingFlagResponseSchema>;
14291
+ export declare type UnderwritingFlagResponse = z.infer<typeof UnderwritingFlagResponseSchema>;
14263
14292
 
14264
14293
  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
14294
  locator: z.ZodULID;
14275
- referenceLocator: z.ZodULID;
14276
- referenceType: z.ZodEnum<{
14277
- quote: "quote";
14278
- transaction: "transaction";
14279
- }>;
14280
14295
  level: z.ZodEnum<{
14281
14296
  none: "none";
14282
14297
  info: "info";
@@ -14285,13 +14300,28 @@ export declare const UnderwritingFlagResponseSchema: z.ZodObject<{
14285
14300
  reject: "reject";
14286
14301
  approve: "approve";
14287
14302
  }>;
14288
- createdBy: z.ZodGUID;
14289
- createdTime: z.ZodISODateTime;
14290
- clearedBy: z.ZodGUID;
14291
- clearedTime: z.ZodISODateTime;
14303
+ referenceType: z.ZodOptional<z.ZodEnum<{
14304
+ quote: "quote";
14305
+ transaction: "transaction";
14306
+ }>>;
14307
+ referenceLocator: z.ZodOptional<z.ZodULID>;
14308
+ note: z.ZodOptional<z.ZodString>;
14309
+ tag: z.ZodOptional<z.ZodString>;
14292
14310
  elementLocator: z.ZodOptional<z.ZodULID>;
14311
+ createdBy: z.ZodOptional<z.ZodUUID>;
14312
+ createdTime: z.ZodOptional<z.ZodISODateTime>;
14313
+ clearedBy: z.ZodOptional<z.ZodUUID>;
14314
+ clearedTime: z.ZodOptional<z.ZodISODateTime>;
14315
+ taskCreationResponse: z.ZodOptional<z.ZodObject<{
14316
+ taskLocator: z.ZodString;
14317
+ status: z.ZodEnum<{
14318
+ succeeded: "succeeded";
14319
+ failed: "failed";
14320
+ }>;
14321
+ }, z.core.$strip>>;
14293
14322
  }, z.core.$strip>;
14294
14323
 
14324
+ /** @deprecated - use UnderwritingFlagResponseSchema */
14295
14325
  export declare const underwritingFlagResponseSchema: z.ZodObject<{
14296
14326
  locator: z.ZodString;
14297
14327
  elementLocator: z.ZodOptional<z.ZodString>;
@@ -14327,13 +14357,11 @@ export declare const UnderwritingFlagsReferenceTypeEnumSchema: z.ZodEnum<{
14327
14357
  transaction: "transaction";
14328
14358
  }>;
14329
14359
 
14330
- export declare type UnderwritingFlagsUpdateRequest = z.infer<typeof underwritingFlagsUpdateRequestSchema>;
14360
+ export declare type UnderwritingFlagsUpdateRequest = z.infer<typeof UnderwritingFlagsUpdateRequestSchema>;
14331
14361
 
14332
14362
  export declare const UnderwritingFlagsUpdateRequestSchema: z.ZodObject<{
14333
- addFlags: z.ZodArray<z.ZodObject<{
14334
- note: z.ZodString;
14335
- tag: z.ZodString;
14336
- elementLocator: z.ZodULID;
14363
+ addFlags: z.ZodOptional<z.ZodArray<z.ZodObject<{
14364
+ elementLocator: z.ZodOptional<z.ZodULID>;
14337
14365
  level: z.ZodEnum<{
14338
14366
  none: "none";
14339
14367
  info: "info";
@@ -14342,8 +14370,10 @@ export declare const UnderwritingFlagsUpdateRequestSchema: z.ZodObject<{
14342
14370
  reject: "reject";
14343
14371
  approve: "approve";
14344
14372
  }>;
14373
+ note: z.ZodOptional<z.ZodString>;
14374
+ tag: z.ZodOptional<z.ZodString>;
14345
14375
  taskCreation: z.ZodOptional<z.ZodObject<{
14346
- deadlineTime: z.ZodISODateTime;
14376
+ type: z.ZodString;
14347
14377
  references: z.ZodArray<z.ZodObject<{
14348
14378
  referenceType: z.ZodEnum<{
14349
14379
  account: "account";
@@ -14357,15 +14387,16 @@ export declare const UnderwritingFlagsUpdateRequestSchema: z.ZodObject<{
14357
14387
  }>;
14358
14388
  referenceLocator: z.ZodString;
14359
14389
  }, z.core.$strip>>;
14360
- assignedTo: z.ZodOptional<z.ZodGUID>;
14361
- type: z.ZodString;
14362
14390
  underwritingFlagLocators: z.ZodArray<z.ZodString>;
14391
+ deadlineTime: z.ZodOptional<z.ZodISODateTime>;
14392
+ assignedTo: z.ZodOptional<z.ZodUUID>;
14363
14393
  description: z.ZodOptional<z.ZodString>;
14364
14394
  }, z.core.$strip>>;
14365
- }, z.core.$strip>>;
14366
- clearFlags: z.ZodArray<z.ZodULID>;
14395
+ }, z.core.$strip>>>;
14396
+ clearFlags: z.ZodOptional<z.ZodArray<z.ZodULID>>;
14367
14397
  }, z.core.$strip>;
14368
14398
 
14399
+ /** @deprecated - use UnderwritingFlagsUpdateRequestSchema */
14369
14400
  export declare const underwritingFlagsUpdateRequestSchema: z.ZodObject<{
14370
14401
  addFlags: z.ZodArray<z.ZodObject<{
14371
14402
  elementLocator: z.ZodString;