@socotra/ec-react-schemas 2.8.0-next.0 → 2.8.0-next.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -770,10 +770,12 @@ export declare type Cadence = z.infer<typeof cadenceEnumSchema>;
770
770
 
771
771
  export declare const cadenceEnumSchema: z.ZodEnum<["none", "fullPay", "weekly", "everyOtherWeek", "monthly", "quarterly", "semiannually", "annually", "thirtyDays", "everyNDays"]>;
772
772
 
773
- export declare type ChargeCategory = z.infer<typeof chargeCategoryEnumSchema>;
773
+ export declare type ChargeCategory = z.infer<typeof chargeCategorySchema>;
774
774
 
775
775
  export declare const chargeCategoryEnumSchema: z.ZodEnum<["premium", "tax", "fee", "credit", "nonFinancial", "surcharge"]>;
776
776
 
777
+ export declare const chargeCategorySchema: z.ZodUnion<[z.ZodEnum<["premium", "tax", "fee", "credit", "nonFinancial", "surcharge"]>, z.ZodString]>;
778
+
777
779
  export declare type ChargeResponse = z.infer<typeof chargeResponseSchema>;
778
780
 
779
781
  export declare const chargeResponseSchema: z.ZodObject<{
@@ -781,7 +783,7 @@ export declare const chargeResponseSchema: z.ZodObject<{
781
783
  elementLocator: z.ZodString;
782
784
  elementStaticLocator: z.ZodString;
783
785
  amount: z.ZodNumber;
784
- chargeCategory: z.ZodEnum<["premium", "tax", "fee", "credit", "nonFinancial", "surcharge"]>;
786
+ chargeCategory: z.ZodUnion<[z.ZodEnum<["premium", "tax", "fee", "credit", "nonFinancial", "surcharge"]>, z.ZodString]>;
785
787
  chargeType: z.ZodString;
786
788
  rate: z.ZodNumber;
787
789
  reversalOfLocator: z.ZodOptional<z.ZodString>;
@@ -791,7 +793,7 @@ export declare const chargeResponseSchema: z.ZodObject<{
791
793
  locator: string;
792
794
  elementLocator: string;
793
795
  chargeType: string;
794
- chargeCategory: "premium" | "tax" | "fee" | "credit" | "nonFinancial" | "surcharge";
796
+ chargeCategory: string;
795
797
  amount: number;
796
798
  rate: number;
797
799
  elementStaticLocator: string;
@@ -802,7 +804,7 @@ export declare const chargeResponseSchema: z.ZodObject<{
802
804
  locator: string;
803
805
  elementLocator: string;
804
806
  chargeType: string;
805
- chargeCategory: "premium" | "tax" | "fee" | "credit" | "nonFinancial" | "surcharge";
807
+ chargeCategory: string;
806
808
  amount: number;
807
809
  rate: number;
808
810
  elementStaticLocator: string;
@@ -1836,10 +1838,10 @@ export declare const dataModelSchema: z.ZodObject<{
1836
1838
  }> | undefined;
1837
1839
  selectionTimeBasis?: string | undefined;
1838
1840
  }>>>;
1839
- payments: z.ZodRecord<z.ZodString, z.ZodObject<{
1841
+ payments: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
1840
1842
  abstract: z.ZodBoolean;
1841
1843
  extend: z.ZodOptional<z.ZodString>;
1842
- data: z.ZodRecord<z.ZodString, z.ZodObject<{
1844
+ data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
1843
1845
  displayName: z.ZodOptional<z.ZodString>;
1844
1846
  defaultValue: z.ZodOptional<z.ZodString>;
1845
1847
  type: z.ZodOptional<z.ZodString>;
@@ -1933,11 +1935,13 @@ export declare const dataModelSchema: z.ZodObject<{
1933
1935
  }> | undefined;
1934
1936
  } | undefined;
1935
1937
  tag?: string[] | undefined;
1936
- }>>;
1938
+ }>>>;
1937
1939
  displayName: z.ZodOptional<z.ZodString>;
1938
1940
  }, "strip", z.ZodTypeAny, {
1939
1941
  abstract: boolean;
1940
- data: Record<string, {
1942
+ displayName?: string | undefined;
1943
+ extend?: string | undefined;
1944
+ data?: Record<string, {
1941
1945
  options?: string[] | undefined;
1942
1946
  type?: string | undefined;
1943
1947
  displayName?: string | undefined;
@@ -1963,12 +1967,12 @@ export declare const dataModelSchema: z.ZodObject<{
1963
1967
  }> | undefined;
1964
1968
  } | undefined;
1965
1969
  tag?: string[] | undefined;
1966
- }>;
1967
- displayName?: string | undefined;
1968
- extend?: string | undefined;
1970
+ }> | undefined;
1969
1971
  }, {
1970
1972
  abstract: boolean;
1971
- data: Record<string, {
1973
+ displayName?: string | undefined;
1974
+ extend?: string | undefined;
1975
+ data?: Record<string, {
1972
1976
  options?: string[] | undefined;
1973
1977
  type?: string | undefined;
1974
1978
  displayName?: string | undefined;
@@ -1994,10 +1998,8 @@ export declare const dataModelSchema: z.ZodObject<{
1994
1998
  }> | undefined;
1995
1999
  } | undefined;
1996
2000
  tag?: string[] | undefined;
1997
- }>;
1998
- displayName?: string | undefined;
1999
- extend?: string | undefined;
2000
- }>>;
2001
+ }> | undefined;
2002
+ }>>>;
2001
2003
  policyLines: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
2002
2004
  displayName: z.ZodOptional<z.ZodString>;
2003
2005
  contents: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
@@ -2848,38 +2850,6 @@ export declare const dataModelSchema: z.ZodObject<{
2848
2850
  renewalIssueLeadDays?: number | undefined;
2849
2851
  renewalTransactionType?: string | undefined;
2850
2852
  }>;
2851
- payments: Record<string, {
2852
- abstract: boolean;
2853
- data: Record<string, {
2854
- options?: string[] | undefined;
2855
- type?: string | undefined;
2856
- displayName?: string | undefined;
2857
- defaultValue?: string | undefined;
2858
- minLength?: number | undefined;
2859
- maxLength?: number | undefined;
2860
- regex?: string | undefined;
2861
- min?: string | undefined;
2862
- multiline?: boolean | undefined;
2863
- max?: string | undefined;
2864
- overrides?: string | undefined;
2865
- scope?: string | undefined;
2866
- inherited?: boolean | undefined;
2867
- precision?: number | undefined;
2868
- readOnly?: boolean | undefined;
2869
- searchable?: boolean | undefined;
2870
- roundingMode?: string | undefined;
2871
- constraint?: {
2872
- column: string;
2873
- table: string;
2874
- where?: Record<string, {
2875
- key?: string | undefined;
2876
- }> | undefined;
2877
- } | undefined;
2878
- tag?: string[] | undefined;
2879
- }>;
2880
- displayName?: string | undefined;
2881
- extend?: string | undefined;
2882
- }>;
2883
2853
  defaultSearchable?: boolean | undefined;
2884
2854
  coverageTerms?: Record<string, {
2885
2855
  options: Record<string, {
@@ -2965,6 +2935,38 @@ export declare const dataModelSchema: z.ZodObject<{
2965
2935
  }> | undefined;
2966
2936
  selectionTimeBasis?: string | undefined;
2967
2937
  }> | undefined;
2938
+ payments?: Record<string, {
2939
+ abstract: boolean;
2940
+ displayName?: string | undefined;
2941
+ extend?: string | undefined;
2942
+ data?: Record<string, {
2943
+ options?: string[] | undefined;
2944
+ type?: string | undefined;
2945
+ displayName?: string | undefined;
2946
+ defaultValue?: string | undefined;
2947
+ minLength?: number | undefined;
2948
+ maxLength?: number | undefined;
2949
+ regex?: string | undefined;
2950
+ min?: string | undefined;
2951
+ multiline?: boolean | undefined;
2952
+ max?: string | undefined;
2953
+ overrides?: string | undefined;
2954
+ scope?: string | undefined;
2955
+ inherited?: boolean | undefined;
2956
+ precision?: number | undefined;
2957
+ readOnly?: boolean | undefined;
2958
+ searchable?: boolean | undefined;
2959
+ roundingMode?: string | undefined;
2960
+ constraint?: {
2961
+ column: string;
2962
+ table: string;
2963
+ where?: Record<string, {
2964
+ key?: string | undefined;
2965
+ }> | undefined;
2966
+ } | undefined;
2967
+ tag?: string[] | undefined;
2968
+ }> | undefined;
2969
+ }> | undefined;
2968
2970
  policyLines?: Record<string, {
2969
2971
  displayName?: string | undefined;
2970
2972
  abstract?: boolean | undefined;
@@ -3248,38 +3250,6 @@ export declare const dataModelSchema: z.ZodObject<{
3248
3250
  renewalIssueLeadDays?: number | undefined;
3249
3251
  renewalTransactionType?: string | undefined;
3250
3252
  }>;
3251
- payments: Record<string, {
3252
- abstract: boolean;
3253
- data: Record<string, {
3254
- options?: string[] | undefined;
3255
- type?: string | undefined;
3256
- displayName?: string | undefined;
3257
- defaultValue?: string | undefined;
3258
- minLength?: number | undefined;
3259
- maxLength?: number | undefined;
3260
- regex?: string | undefined;
3261
- min?: string | undefined;
3262
- multiline?: boolean | undefined;
3263
- max?: string | undefined;
3264
- overrides?: string | undefined;
3265
- scope?: string | undefined;
3266
- inherited?: boolean | undefined;
3267
- precision?: number | undefined;
3268
- readOnly?: boolean | undefined;
3269
- searchable?: boolean | undefined;
3270
- roundingMode?: string | undefined;
3271
- constraint?: {
3272
- column: string;
3273
- table: string;
3274
- where?: Record<string, {
3275
- key?: string | undefined;
3276
- }> | undefined;
3277
- } | undefined;
3278
- tag?: string[] | undefined;
3279
- }>;
3280
- displayName?: string | undefined;
3281
- extend?: string | undefined;
3282
- }>;
3283
3253
  defaultSearchable?: boolean | undefined;
3284
3254
  coverageTerms?: Record<string, {
3285
3255
  options: Record<string, {
@@ -3365,6 +3335,38 @@ export declare const dataModelSchema: z.ZodObject<{
3365
3335
  }> | undefined;
3366
3336
  selectionTimeBasis?: string | undefined;
3367
3337
  }> | undefined;
3338
+ payments?: Record<string, {
3339
+ abstract: boolean;
3340
+ displayName?: string | undefined;
3341
+ extend?: string | undefined;
3342
+ data?: Record<string, {
3343
+ options?: string[] | undefined;
3344
+ type?: string | undefined;
3345
+ displayName?: string | undefined;
3346
+ defaultValue?: string | undefined;
3347
+ minLength?: number | undefined;
3348
+ maxLength?: number | undefined;
3349
+ regex?: string | undefined;
3350
+ min?: string | undefined;
3351
+ multiline?: boolean | undefined;
3352
+ max?: string | undefined;
3353
+ overrides?: string | undefined;
3354
+ scope?: string | undefined;
3355
+ inherited?: boolean | undefined;
3356
+ precision?: number | undefined;
3357
+ readOnly?: boolean | undefined;
3358
+ searchable?: boolean | undefined;
3359
+ roundingMode?: string | undefined;
3360
+ constraint?: {
3361
+ column: string;
3362
+ table: string;
3363
+ where?: Record<string, {
3364
+ key?: string | undefined;
3365
+ }> | undefined;
3366
+ } | undefined;
3367
+ tag?: string[] | undefined;
3368
+ }> | undefined;
3369
+ }> | undefined;
3368
3370
  policyLines?: Record<string, {
3369
3371
  displayName?: string | undefined;
3370
3372
  abstract?: boolean | undefined;
@@ -4879,6 +4881,7 @@ export declare const invoiceResponseSchema: z.ZodObject<{
4879
4881
  totalAmount: z.ZodOptional<z.ZodNumber>;
4880
4882
  totalRemainingAmount: z.ZodOptional<z.ZodNumber>;
4881
4883
  unsettledTime: z.ZodOptional<z.ZodString>;
4884
+ invoiceNumber: z.ZodOptional<z.ZodString>;
4882
4885
  }, "strip", z.ZodTypeAny, {
4883
4886
  locator: string;
4884
4887
  startTime: string;
@@ -4909,6 +4912,7 @@ export declare const invoiceResponseSchema: z.ZodObject<{
4909
4912
  totalAmount?: number | undefined;
4910
4913
  totalRemainingAmount?: number | undefined;
4911
4914
  unsettledTime?: string | undefined;
4915
+ invoiceNumber?: string | undefined;
4912
4916
  }, {
4913
4917
  locator: string;
4914
4918
  startTime: string;
@@ -4939,6 +4943,7 @@ export declare const invoiceResponseSchema: z.ZodObject<{
4939
4943
  totalAmount?: number | undefined;
4940
4944
  totalRemainingAmount?: number | undefined;
4941
4945
  unsettledTime?: string | undefined;
4946
+ invoiceNumber?: string | undefined;
4942
4947
  }>;
4943
4948
 
4944
4949
  export declare type InvoiceState = z.infer<typeof invoiceStateEnumSchema>;
@@ -5068,7 +5073,7 @@ export declare type PaymentConfigRecord = z.infer<typeof paymentConfigRecordSche
5068
5073
  export declare const paymentConfigRecordSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
5069
5074
  abstract: z.ZodBoolean;
5070
5075
  extend: z.ZodOptional<z.ZodString>;
5071
- data: z.ZodRecord<z.ZodString, z.ZodObject<{
5076
+ data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
5072
5077
  displayName: z.ZodOptional<z.ZodString>;
5073
5078
  defaultValue: z.ZodOptional<z.ZodString>;
5074
5079
  type: z.ZodOptional<z.ZodString>;
@@ -5162,11 +5167,13 @@ export declare const paymentConfigRecordSchema: z.ZodRecord<z.ZodString, z.ZodOb
5162
5167
  }> | undefined;
5163
5168
  } | undefined;
5164
5169
  tag?: string[] | undefined;
5165
- }>>;
5170
+ }>>>;
5166
5171
  displayName: z.ZodOptional<z.ZodString>;
5167
5172
  }, "strip", z.ZodTypeAny, {
5168
5173
  abstract: boolean;
5169
- data: Record<string, {
5174
+ displayName?: string | undefined;
5175
+ extend?: string | undefined;
5176
+ data?: Record<string, {
5170
5177
  options?: string[] | undefined;
5171
5178
  type?: string | undefined;
5172
5179
  displayName?: string | undefined;
@@ -5192,12 +5199,12 @@ export declare const paymentConfigRecordSchema: z.ZodRecord<z.ZodString, z.ZodOb
5192
5199
  }> | undefined;
5193
5200
  } | undefined;
5194
5201
  tag?: string[] | undefined;
5195
- }>;
5196
- displayName?: string | undefined;
5197
- extend?: string | undefined;
5202
+ }> | undefined;
5198
5203
  }, {
5199
5204
  abstract: boolean;
5200
- data: Record<string, {
5205
+ displayName?: string | undefined;
5206
+ extend?: string | undefined;
5207
+ data?: Record<string, {
5201
5208
  options?: string[] | undefined;
5202
5209
  type?: string | undefined;
5203
5210
  displayName?: string | undefined;
@@ -5223,15 +5230,13 @@ export declare const paymentConfigRecordSchema: z.ZodRecord<z.ZodString, z.ZodOb
5223
5230
  }> | undefined;
5224
5231
  } | undefined;
5225
5232
  tag?: string[] | undefined;
5226
- }>;
5227
- displayName?: string | undefined;
5228
- extend?: string | undefined;
5233
+ }> | undefined;
5229
5234
  }>>;
5230
5235
 
5231
5236
  export declare const paymentConfigSchema: z.ZodObject<{
5232
5237
  abstract: z.ZodBoolean;
5233
5238
  extend: z.ZodOptional<z.ZodString>;
5234
- data: z.ZodRecord<z.ZodString, z.ZodObject<{
5239
+ data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
5235
5240
  displayName: z.ZodOptional<z.ZodString>;
5236
5241
  defaultValue: z.ZodOptional<z.ZodString>;
5237
5242
  type: z.ZodOptional<z.ZodString>;
@@ -5325,11 +5330,13 @@ export declare const paymentConfigSchema: z.ZodObject<{
5325
5330
  }> | undefined;
5326
5331
  } | undefined;
5327
5332
  tag?: string[] | undefined;
5328
- }>>;
5333
+ }>>>;
5329
5334
  displayName: z.ZodOptional<z.ZodString>;
5330
5335
  }, "strip", z.ZodTypeAny, {
5331
5336
  abstract: boolean;
5332
- data: Record<string, {
5337
+ displayName?: string | undefined;
5338
+ extend?: string | undefined;
5339
+ data?: Record<string, {
5333
5340
  options?: string[] | undefined;
5334
5341
  type?: string | undefined;
5335
5342
  displayName?: string | undefined;
@@ -5355,12 +5362,12 @@ export declare const paymentConfigSchema: z.ZodObject<{
5355
5362
  }> | undefined;
5356
5363
  } | undefined;
5357
5364
  tag?: string[] | undefined;
5358
- }>;
5359
- displayName?: string | undefined;
5360
- extend?: string | undefined;
5365
+ }> | undefined;
5361
5366
  }, {
5362
5367
  abstract: boolean;
5363
- data: Record<string, {
5368
+ displayName?: string | undefined;
5369
+ extend?: string | undefined;
5370
+ data?: Record<string, {
5364
5371
  options?: string[] | undefined;
5365
5372
  type?: string | undefined;
5366
5373
  displayName?: string | undefined;
@@ -5386,9 +5393,7 @@ export declare const paymentConfigSchema: z.ZodObject<{
5386
5393
  }> | undefined;
5387
5394
  } | undefined;
5388
5395
  tag?: string[] | undefined;
5389
- }>;
5390
- displayName?: string | undefined;
5391
- extend?: string | undefined;
5396
+ }> | undefined;
5392
5397
  }>;
5393
5398
 
5394
5399
  declare type PaymentRequest_2 = z.infer<typeof PaymentRequestSchema>;
@@ -5458,7 +5463,7 @@ export declare const paymentResponseSchema: z.ZodObject<{
5458
5463
  paymentState: z.ZodEnum<["draft", "validated", "posted", "reversed", "discarded"]>;
5459
5464
  amount: z.ZodNumber;
5460
5465
  type: z.ZodString;
5461
- data: z.ZodRecord<z.ZodString, z.ZodAny>;
5466
+ data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
5462
5467
  createdAt: z.ZodString;
5463
5468
  createdBy: z.ZodString;
5464
5469
  targets: z.ZodArray<z.ZodObject<{
@@ -5515,7 +5520,6 @@ export declare const paymentResponseSchema: z.ZodObject<{
5515
5520
  locator: string;
5516
5521
  type: string;
5517
5522
  createdBy: string;
5518
- data: Record<string, any>;
5519
5523
  currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "COP" | "COU" | "CRC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "CNY" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLE" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VED" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
5520
5524
  amount: number;
5521
5525
  createdAt: string;
@@ -5525,6 +5529,7 @@ export declare const paymentResponseSchema: z.ZodObject<{
5525
5529
  amount?: number | undefined;
5526
5530
  }[];
5527
5531
  paymentState: "draft" | "validated" | "discarded" | "reversed" | "posted";
5532
+ data?: Record<string, any> | undefined;
5528
5533
  accountLocator?: string | undefined;
5529
5534
  validationResult?: {
5530
5535
  validationItems?: {
@@ -5544,7 +5549,6 @@ export declare const paymentResponseSchema: z.ZodObject<{
5544
5549
  locator: string;
5545
5550
  type: string;
5546
5551
  createdBy: string;
5547
- data: Record<string, any>;
5548
5552
  currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "COP" | "COU" | "CRC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "CNY" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLE" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VED" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
5549
5553
  amount: number;
5550
5554
  createdAt: string;
@@ -5554,6 +5558,7 @@ export declare const paymentResponseSchema: z.ZodObject<{
5554
5558
  amount?: number | undefined;
5555
5559
  }[];
5556
5560
  paymentState: "draft" | "validated" | "discarded" | "reversed" | "posted";
5561
+ data?: Record<string, any> | undefined;
5557
5562
  accountLocator?: string | undefined;
5558
5563
  validationResult?: {
5559
5564
  validationItems?: {
@@ -7809,7 +7814,7 @@ export declare type QuotePriceResponse = z.infer<typeof quotePriceResponseSchema
7809
7814
  export declare const quotePriceResponseSchema: z.ZodObject<{
7810
7815
  quoteLocator: z.ZodString;
7811
7816
  accountLocator: z.ZodString;
7812
- quoteState: z.ZodEnum<["draft", "validated", "earlyUnderwritten", "priced", "underwritten", "accepted", "issued", "underwrittenBlocked", "declined", "rejected", "refused", "discarded"]>;
7817
+ quoteState: z.ZodUnion<[z.ZodEnum<["draft", "validated", "earlyUnderwritten", "priced", "underwritten", "accepted", "issued", "underwrittenBlocked", "declined", "rejected", "refused", "discarded"]>, z.ZodString]>;
7813
7818
  productName: z.ZodString;
7814
7819
  startTime: z.ZodString;
7815
7820
  endTime: z.ZodString;
@@ -7856,7 +7861,7 @@ export declare const quotePriceResponseSchema: z.ZodObject<{
7856
7861
  productName: string;
7857
7862
  startTime: string;
7858
7863
  endTime: string;
7859
- quoteState: "draft" | "declined" | "rejected" | "validated" | "priced" | "underwritten" | "accepted" | "issued" | "earlyUnderwritten" | "underwrittenBlocked" | "refused" | "discarded";
7864
+ quoteState: string;
7860
7865
  accountLocator: string;
7861
7866
  quoteLocator: string;
7862
7867
  durationBasis?: "years" | "months" | "weeks" | "days" | "hours" | undefined;
@@ -7878,7 +7883,7 @@ export declare const quotePriceResponseSchema: z.ZodObject<{
7878
7883
  productName: string;
7879
7884
  startTime: string;
7880
7885
  endTime: string;
7881
- quoteState: "draft" | "declined" | "rejected" | "validated" | "priced" | "underwritten" | "accepted" | "issued" | "earlyUnderwritten" | "underwrittenBlocked" | "refused" | "discarded";
7886
+ quoteState: string;
7882
7887
  accountLocator: string;
7883
7888
  quoteLocator: string;
7884
7889
  durationBasis?: "years" | "months" | "weeks" | "days" | "hours" | undefined;
@@ -8111,7 +8116,7 @@ export declare type QuoteResponse = z.infer<typeof quoteResponseSchema>;
8111
8116
 
8112
8117
  export declare const quoteResponseSchema: z.ZodObject<{
8113
8118
  locator: z.ZodString;
8114
- quoteState: z.ZodEnum<["draft", "validated", "earlyUnderwritten", "priced", "underwritten", "accepted", "issued", "underwrittenBlocked", "declined", "rejected", "refused", "discarded"]>;
8119
+ quoteState: z.ZodUnion<[z.ZodEnum<["draft", "validated", "earlyUnderwritten", "priced", "underwritten", "accepted", "issued", "underwrittenBlocked", "declined", "rejected", "refused", "discarded"]>, z.ZodString]>;
8115
8120
  productName: z.ZodString;
8116
8121
  accountLocator: z.ZodString;
8117
8122
  startTime: z.ZodOptional<z.ZodString>;
@@ -8211,7 +8216,7 @@ export declare const quoteResponseSchema: z.ZodObject<{
8211
8216
  }, "strip", z.ZodTypeAny, {
8212
8217
  locator: string;
8213
8218
  productName: string;
8214
- quoteState: "draft" | "declined" | "rejected" | "validated" | "priced" | "underwritten" | "accepted" | "issued" | "earlyUnderwritten" | "underwrittenBlocked" | "refused" | "discarded";
8219
+ quoteState: string;
8215
8220
  accountLocator: string;
8216
8221
  type?: string | undefined;
8217
8222
  billingLevel?: "account" | "inherit" | "policy" | undefined;
@@ -8266,7 +8271,7 @@ export declare const quoteResponseSchema: z.ZodObject<{
8266
8271
  }, {
8267
8272
  locator: string;
8268
8273
  productName: string;
8269
- quoteState: "draft" | "declined" | "rejected" | "validated" | "priced" | "underwritten" | "accepted" | "issued" | "earlyUnderwritten" | "underwrittenBlocked" | "refused" | "discarded";
8274
+ quoteState: string;
8270
8275
  accountLocator: string;
8271
8276
  type?: string | undefined;
8272
8277
  billingLevel?: "account" | "inherit" | "policy" | undefined;
@@ -8320,10 +8325,12 @@ export declare const quoteResponseSchema: z.ZodObject<{
8320
8325
  groupLocator?: string | undefined;
8321
8326
  }>;
8322
8327
 
8323
- export declare type QuoteState = z.infer<typeof quoteStateEnumSchema>;
8328
+ export declare type QuoteState = z.infer<typeof quoteStateSchema>;
8324
8329
 
8325
8330
  export declare const quoteStateEnumSchema: z.ZodEnum<["draft", "validated", "earlyUnderwritten", "priced", "underwritten", "accepted", "issued", "underwrittenBlocked", "declined", "rejected", "refused", "discarded"]>;
8326
8331
 
8332
+ export declare const quoteStateSchema: z.ZodUnion<[z.ZodEnum<["draft", "validated", "earlyUnderwritten", "priced", "underwritten", "accepted", "issued", "underwrittenBlocked", "declined", "rejected", "refused", "discarded"]>, z.ZodString]>;
8333
+
8327
8334
  export declare type QuoteUnderwritingFlagsResponse = z.infer<typeof quoteUnderwritingFlagsResponse>;
8328
8335
 
8329
8336
  export declare const quoteUnderwritingFlagsResponse: z.ZodObject<{
@@ -8963,7 +8970,7 @@ export declare const transactionPriceResponseSchema: z.ZodObject<z.objectUtil.ex
8963
8970
  elementLocator: z.ZodString;
8964
8971
  elementStaticLocator: z.ZodString;
8965
8972
  amount: z.ZodNumber;
8966
- chargeCategory: z.ZodEnum<["premium", "tax", "fee", "credit", "nonFinancial", "surcharge"]>;
8973
+ chargeCategory: z.ZodUnion<[z.ZodEnum<["premium", "tax", "fee", "credit", "nonFinancial", "surcharge"]>, z.ZodString]>;
8967
8974
  chargeType: z.ZodString;
8968
8975
  rate: z.ZodNumber;
8969
8976
  reversalOfLocator: z.ZodOptional<z.ZodString>;
@@ -8973,7 +8980,7 @@ export declare const transactionPriceResponseSchema: z.ZodObject<z.objectUtil.ex
8973
8980
  locator: string;
8974
8981
  elementLocator: string;
8975
8982
  chargeType: string;
8976
- chargeCategory: "premium" | "tax" | "fee" | "credit" | "nonFinancial" | "surcharge";
8983
+ chargeCategory: string;
8977
8984
  amount: number;
8978
8985
  rate: number;
8979
8986
  elementStaticLocator: string;
@@ -8984,7 +8991,7 @@ export declare const transactionPriceResponseSchema: z.ZodObject<z.objectUtil.ex
8984
8991
  locator: string;
8985
8992
  elementLocator: string;
8986
8993
  chargeType: string;
8987
- chargeCategory: "premium" | "tax" | "fee" | "credit" | "nonFinancial" | "surcharge";
8994
+ chargeCategory: string;
8988
8995
  amount: number;
8989
8996
  rate: number;
8990
8997
  elementStaticLocator: string;
@@ -9007,7 +9014,7 @@ export declare const transactionPriceResponseSchema: z.ZodObject<z.objectUtil.ex
9007
9014
  elementLocator: z.ZodString;
9008
9015
  elementStaticLocator: z.ZodString;
9009
9016
  amount: z.ZodNumber;
9010
- chargeCategory: z.ZodEnum<["premium", "tax", "fee", "credit", "nonFinancial", "surcharge"]>;
9017
+ chargeCategory: z.ZodUnion<[z.ZodEnum<["premium", "tax", "fee", "credit", "nonFinancial", "surcharge"]>, z.ZodString]>;
9011
9018
  chargeType: z.ZodString;
9012
9019
  rate: z.ZodNumber;
9013
9020
  reversalOfLocator: z.ZodOptional<z.ZodString>;
@@ -9017,7 +9024,7 @@ export declare const transactionPriceResponseSchema: z.ZodObject<z.objectUtil.ex
9017
9024
  locator: string;
9018
9025
  elementLocator: string;
9019
9026
  chargeType: string;
9020
- chargeCategory: "premium" | "tax" | "fee" | "credit" | "nonFinancial" | "surcharge";
9027
+ chargeCategory: string;
9021
9028
  amount: number;
9022
9029
  rate: number;
9023
9030
  elementStaticLocator: string;
@@ -9028,7 +9035,7 @@ export declare const transactionPriceResponseSchema: z.ZodObject<z.objectUtil.ex
9028
9035
  locator: string;
9029
9036
  elementLocator: string;
9030
9037
  chargeType: string;
9031
- chargeCategory: "premium" | "tax" | "fee" | "credit" | "nonFinancial" | "surcharge";
9038
+ chargeCategory: string;
9032
9039
  amount: number;
9033
9040
  rate: number;
9034
9041
  elementStaticLocator: string;
@@ -9047,7 +9054,7 @@ export declare const transactionPriceResponseSchema: z.ZodObject<z.objectUtil.ex
9047
9054
  locator: string;
9048
9055
  elementLocator: string;
9049
9056
  chargeType: string;
9050
- chargeCategory: "premium" | "tax" | "fee" | "credit" | "nonFinancial" | "surcharge";
9057
+ chargeCategory: string;
9051
9058
  amount: number;
9052
9059
  rate: number;
9053
9060
  elementStaticLocator: string;
@@ -9068,7 +9075,7 @@ export declare const transactionPriceResponseSchema: z.ZodObject<z.objectUtil.ex
9068
9075
  locator: string;
9069
9076
  elementLocator: string;
9070
9077
  chargeType: string;
9071
- chargeCategory: "premium" | "tax" | "fee" | "credit" | "nonFinancial" | "surcharge";
9078
+ chargeCategory: string;
9072
9079
  amount: number;
9073
9080
  rate: number;
9074
9081
  elementStaticLocator: string;
@@ -9090,7 +9097,7 @@ export declare const transactionPriceResponseSchema: z.ZodObject<z.objectUtil.ex
9090
9097
  locator: string;
9091
9098
  elementLocator: string;
9092
9099
  chargeType: string;
9093
- chargeCategory: "premium" | "tax" | "fee" | "credit" | "nonFinancial" | "surcharge";
9100
+ chargeCategory: string;
9094
9101
  amount: number;
9095
9102
  rate: number;
9096
9103
  elementStaticLocator: string;
@@ -9111,7 +9118,7 @@ export declare const transactionPriceResponseSchema: z.ZodObject<z.objectUtil.ex
9111
9118
  locator: string;
9112
9119
  elementLocator: string;
9113
9120
  chargeType: string;
9114
- chargeCategory: "premium" | "tax" | "fee" | "credit" | "nonFinancial" | "surcharge";
9121
+ chargeCategory: string;
9115
9122
  amount: number;
9116
9123
  rate: number;
9117
9124
  elementStaticLocator: string;
@@ -9133,7 +9140,7 @@ export declare const transactionPriceResponseSchema: z.ZodObject<z.objectUtil.ex
9133
9140
  locator: string;
9134
9141
  elementLocator: string;
9135
9142
  chargeType: string;
9136
- chargeCategory: "premium" | "tax" | "fee" | "credit" | "nonFinancial" | "surcharge";
9143
+ chargeCategory: string;
9137
9144
  amount: number;
9138
9145
  rate: number;
9139
9146
  elementStaticLocator: string;
@@ -9154,7 +9161,7 @@ export declare const transactionPriceResponseSchema: z.ZodObject<z.objectUtil.ex
9154
9161
  locator: string;
9155
9162
  elementLocator: string;
9156
9163
  chargeType: string;
9157
- chargeCategory: "premium" | "tax" | "fee" | "credit" | "nonFinancial" | "surcharge";
9164
+ chargeCategory: string;
9158
9165
  amount: number;
9159
9166
  rate: number;
9160
9167
  elementStaticLocator: string;