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

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
@@ -929,6 +929,26 @@ export declare const coverageTermsRecordSchema: z.ZodRecord<z.ZodString, z.ZodOb
929
929
  displayName?: string | undefined;
930
930
  }>>;
931
931
 
932
+ export declare type CreditItem = z.infer<typeof creditItemSchema>;
933
+
934
+ export declare type CreditItemContainerTypeEnum = z.infer<typeof creditItemContainerTypeEnumSchema>;
935
+
936
+ export declare const creditItemContainerTypeEnumSchema: z.ZodEnum<["invoice", "account"]>;
937
+
938
+ export declare const creditItemSchema: z.ZodObject<{
939
+ containerLocator: z.ZodString;
940
+ containerType: z.ZodEnum<["invoice", "account"]>;
941
+ amount: z.ZodOptional<z.ZodNumber>;
942
+ }, "strip", z.ZodTypeAny, {
943
+ containerLocator: string;
944
+ containerType: "account" | "invoice";
945
+ amount?: number | undefined;
946
+ }, {
947
+ containerLocator: string;
948
+ containerType: "account" | "invoice";
949
+ amount?: number | undefined;
950
+ }>;
951
+
932
952
  export declare const currencyEnumSchema: z.ZodEnum<["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"]>;
933
953
 
934
954
  export declare type CurrencyType = z.infer<typeof currencyEnumSchema>;
@@ -1816,6 +1836,168 @@ export declare const dataModelSchema: z.ZodObject<{
1816
1836
  }> | undefined;
1817
1837
  selectionTimeBasis?: string | undefined;
1818
1838
  }>>>;
1839
+ payments: z.ZodRecord<z.ZodString, z.ZodObject<{
1840
+ abstract: z.ZodBoolean;
1841
+ extend: z.ZodOptional<z.ZodString>;
1842
+ data: z.ZodRecord<z.ZodString, z.ZodObject<{
1843
+ displayName: z.ZodOptional<z.ZodString>;
1844
+ defaultValue: z.ZodOptional<z.ZodString>;
1845
+ type: z.ZodOptional<z.ZodString>;
1846
+ minLength: z.ZodOptional<z.ZodNumber>;
1847
+ maxLength: z.ZodOptional<z.ZodNumber>;
1848
+ regex: z.ZodOptional<z.ZodString>;
1849
+ min: z.ZodOptional<z.ZodString>;
1850
+ multiline: z.ZodOptional<z.ZodBoolean>;
1851
+ max: z.ZodOptional<z.ZodString>;
1852
+ options: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1853
+ overrides: z.ZodOptional<z.ZodString>;
1854
+ scope: z.ZodOptional<z.ZodString>;
1855
+ inherited: z.ZodOptional<z.ZodBoolean>;
1856
+ precision: z.ZodOptional<z.ZodNumber>;
1857
+ readOnly: z.ZodOptional<z.ZodBoolean>;
1858
+ searchable: z.ZodOptional<z.ZodBoolean>;
1859
+ roundingMode: z.ZodOptional<z.ZodString>;
1860
+ constraint: z.ZodOptional<z.ZodObject<{
1861
+ column: z.ZodString;
1862
+ table: z.ZodString;
1863
+ where: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
1864
+ key: z.ZodOptional<z.ZodString>;
1865
+ }, "strip", z.ZodTypeAny, {
1866
+ key?: string | undefined;
1867
+ }, {
1868
+ key?: string | undefined;
1869
+ }>>>;
1870
+ }, "strip", z.ZodTypeAny, {
1871
+ column: string;
1872
+ table: string;
1873
+ where?: Record<string, {
1874
+ key?: string | undefined;
1875
+ }> | undefined;
1876
+ }, {
1877
+ column: string;
1878
+ table: string;
1879
+ where?: Record<string, {
1880
+ key?: string | undefined;
1881
+ }> | undefined;
1882
+ }>>;
1883
+ tag: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1884
+ }, "strip", z.ZodTypeAny, {
1885
+ options?: string[] | undefined;
1886
+ type?: string | undefined;
1887
+ displayName?: string | undefined;
1888
+ defaultValue?: string | undefined;
1889
+ minLength?: number | undefined;
1890
+ maxLength?: number | undefined;
1891
+ regex?: string | undefined;
1892
+ min?: string | undefined;
1893
+ multiline?: boolean | undefined;
1894
+ max?: string | undefined;
1895
+ overrides?: string | undefined;
1896
+ scope?: string | undefined;
1897
+ inherited?: boolean | undefined;
1898
+ precision?: number | undefined;
1899
+ readOnly?: boolean | undefined;
1900
+ searchable?: boolean | undefined;
1901
+ roundingMode?: string | undefined;
1902
+ constraint?: {
1903
+ column: string;
1904
+ table: string;
1905
+ where?: Record<string, {
1906
+ key?: string | undefined;
1907
+ }> | undefined;
1908
+ } | undefined;
1909
+ tag?: string[] | undefined;
1910
+ }, {
1911
+ options?: string[] | undefined;
1912
+ type?: string | undefined;
1913
+ displayName?: string | undefined;
1914
+ defaultValue?: string | undefined;
1915
+ minLength?: number | undefined;
1916
+ maxLength?: number | undefined;
1917
+ regex?: string | undefined;
1918
+ min?: string | undefined;
1919
+ multiline?: boolean | undefined;
1920
+ max?: string | undefined;
1921
+ overrides?: string | undefined;
1922
+ scope?: string | undefined;
1923
+ inherited?: boolean | undefined;
1924
+ precision?: number | undefined;
1925
+ readOnly?: boolean | undefined;
1926
+ searchable?: boolean | undefined;
1927
+ roundingMode?: string | undefined;
1928
+ constraint?: {
1929
+ column: string;
1930
+ table: string;
1931
+ where?: Record<string, {
1932
+ key?: string | undefined;
1933
+ }> | undefined;
1934
+ } | undefined;
1935
+ tag?: string[] | undefined;
1936
+ }>>;
1937
+ displayName: z.ZodOptional<z.ZodString>;
1938
+ }, "strip", z.ZodTypeAny, {
1939
+ abstract: boolean;
1940
+ data: Record<string, {
1941
+ options?: string[] | undefined;
1942
+ type?: string | undefined;
1943
+ displayName?: string | undefined;
1944
+ defaultValue?: string | undefined;
1945
+ minLength?: number | undefined;
1946
+ maxLength?: number | undefined;
1947
+ regex?: string | undefined;
1948
+ min?: string | undefined;
1949
+ multiline?: boolean | undefined;
1950
+ max?: string | undefined;
1951
+ overrides?: string | undefined;
1952
+ scope?: string | undefined;
1953
+ inherited?: boolean | undefined;
1954
+ precision?: number | undefined;
1955
+ readOnly?: boolean | undefined;
1956
+ searchable?: boolean | undefined;
1957
+ roundingMode?: string | undefined;
1958
+ constraint?: {
1959
+ column: string;
1960
+ table: string;
1961
+ where?: Record<string, {
1962
+ key?: string | undefined;
1963
+ }> | undefined;
1964
+ } | undefined;
1965
+ tag?: string[] | undefined;
1966
+ }>;
1967
+ displayName?: string | undefined;
1968
+ extend?: string | undefined;
1969
+ }, {
1970
+ abstract: boolean;
1971
+ data: Record<string, {
1972
+ options?: string[] | undefined;
1973
+ type?: string | undefined;
1974
+ displayName?: string | undefined;
1975
+ defaultValue?: string | undefined;
1976
+ minLength?: number | undefined;
1977
+ maxLength?: number | undefined;
1978
+ regex?: string | undefined;
1979
+ min?: string | undefined;
1980
+ multiline?: boolean | undefined;
1981
+ max?: string | undefined;
1982
+ overrides?: string | undefined;
1983
+ scope?: string | undefined;
1984
+ inherited?: boolean | undefined;
1985
+ precision?: number | undefined;
1986
+ readOnly?: boolean | undefined;
1987
+ searchable?: boolean | undefined;
1988
+ roundingMode?: string | undefined;
1989
+ constraint?: {
1990
+ column: string;
1991
+ table: string;
1992
+ where?: Record<string, {
1993
+ key?: string | undefined;
1994
+ }> | undefined;
1995
+ } | undefined;
1996
+ tag?: string[] | undefined;
1997
+ }>;
1998
+ displayName?: string | undefined;
1999
+ extend?: string | undefined;
2000
+ }>>;
1819
2001
  policyLines: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
1820
2002
  displayName: z.ZodOptional<z.ZodString>;
1821
2003
  contents: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
@@ -2530,7 +2712,6 @@ export declare const dataModelSchema: z.ZodObject<{
2530
2712
  charges: z.ZodAny;
2531
2713
  installmentPlans: z.ZodAny;
2532
2714
  billingPlans: z.ZodAny;
2533
- payments: z.ZodAny;
2534
2715
  disbursements: z.ZodAny;
2535
2716
  tables: z.ZodAny;
2536
2717
  secrets: z.ZodAny;
@@ -2667,6 +2848,38 @@ export declare const dataModelSchema: z.ZodObject<{
2667
2848
  renewalIssueLeadDays?: number | undefined;
2668
2849
  renewalTransactionType?: string | undefined;
2669
2850
  }>;
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
+ }>;
2670
2883
  defaultSearchable?: boolean | undefined;
2671
2884
  coverageTerms?: Record<string, {
2672
2885
  options: Record<string, {
@@ -2901,7 +3114,6 @@ export declare const dataModelSchema: z.ZodObject<{
2901
3114
  defaultBillingPlan?: string | undefined;
2902
3115
  installmentPlans?: any;
2903
3116
  billingPlans?: any;
2904
- payments?: any;
2905
3117
  disbursements?: any;
2906
3118
  secrets?: any;
2907
3119
  auxDataSettings?: any;
@@ -3036,6 +3248,38 @@ export declare const dataModelSchema: z.ZodObject<{
3036
3248
  renewalIssueLeadDays?: number | undefined;
3037
3249
  renewalTransactionType?: string | undefined;
3038
3250
  }>;
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
+ }>;
3039
3283
  defaultSearchable?: boolean | undefined;
3040
3284
  coverageTerms?: Record<string, {
3041
3285
  options: Record<string, {
@@ -3270,7 +3514,6 @@ export declare const dataModelSchema: z.ZodObject<{
3270
3514
  defaultBillingPlan?: string | undefined;
3271
3515
  installmentPlans?: any;
3272
3516
  billingPlans?: any;
3273
- payments?: any;
3274
3517
  disbursements?: any;
3275
3518
  secrets?: any;
3276
3519
  auxDataSettings?: any;
@@ -4537,6 +4780,7 @@ export declare const invoiceItemResponseSchema: z.ZodObject<{
4537
4780
  elementType: z.ZodOptional<z.ZodString>;
4538
4781
  remainingAmount: z.ZodOptional<z.ZodNumber>;
4539
4782
  settlementTime: z.ZodOptional<z.ZodString>;
4783
+ transactionLocators: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
4540
4784
  }, "strip", z.ZodTypeAny, {
4541
4785
  locator: string;
4542
4786
  timezone: string;
@@ -4552,6 +4796,7 @@ export declare const invoiceItemResponseSchema: z.ZodObject<{
4552
4796
  transactionLocator?: string | undefined;
4553
4797
  remainingAmount?: number | undefined;
4554
4798
  settlementTime?: string | undefined;
4799
+ transactionLocators?: Record<string, string> | undefined;
4555
4800
  }, {
4556
4801
  locator: string;
4557
4802
  timezone: string;
@@ -4567,6 +4812,7 @@ export declare const invoiceItemResponseSchema: z.ZodObject<{
4567
4812
  transactionLocator?: string | undefined;
4568
4813
  remainingAmount?: number | undefined;
4569
4814
  settlementTime?: string | undefined;
4815
+ transactionLocators?: Record<string, string> | undefined;
4570
4816
  }>;
4571
4817
 
4572
4818
  export declare type InvoiceResponse = z.infer<typeof invoiceResponseSchema>;
@@ -4577,7 +4823,7 @@ export declare const invoiceResponseSchema: z.ZodObject<{
4577
4823
  startTime: z.ZodString;
4578
4824
  endTime: z.ZodString;
4579
4825
  invoiceState: z.ZodEnum<["open", "settled"]>;
4580
- currency: z.ZodString;
4826
+ currency: z.ZodEnum<["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"]>;
4581
4827
  dueTime: z.ZodString;
4582
4828
  generatedTime: z.ZodString;
4583
4829
  timezone: z.ZodString;
@@ -4596,6 +4842,7 @@ export declare const invoiceResponseSchema: z.ZodObject<{
4596
4842
  elementType: z.ZodOptional<z.ZodString>;
4597
4843
  remainingAmount: z.ZodOptional<z.ZodNumber>;
4598
4844
  settlementTime: z.ZodOptional<z.ZodString>;
4845
+ transactionLocators: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
4599
4846
  }, "strip", z.ZodTypeAny, {
4600
4847
  locator: string;
4601
4848
  timezone: string;
@@ -4611,6 +4858,7 @@ export declare const invoiceResponseSchema: z.ZodObject<{
4611
4858
  transactionLocator?: string | undefined;
4612
4859
  remainingAmount?: number | undefined;
4613
4860
  settlementTime?: string | undefined;
4861
+ transactionLocators?: Record<string, string> | undefined;
4614
4862
  }, {
4615
4863
  locator: string;
4616
4864
  timezone: string;
@@ -4626,6 +4874,7 @@ export declare const invoiceResponseSchema: z.ZodObject<{
4626
4874
  transactionLocator?: string | undefined;
4627
4875
  remainingAmount?: number | undefined;
4628
4876
  settlementTime?: string | undefined;
4877
+ transactionLocators?: Record<string, string> | undefined;
4629
4878
  }>, "many">;
4630
4879
  totalAmount: z.ZodOptional<z.ZodNumber>;
4631
4880
  totalRemainingAmount: z.ZodOptional<z.ZodNumber>;
@@ -4634,7 +4883,7 @@ export declare const invoiceResponseSchema: z.ZodObject<{
4634
4883
  locator: string;
4635
4884
  startTime: string;
4636
4885
  endTime: string;
4637
- currency: string;
4886
+ 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";
4638
4887
  timezone: string;
4639
4888
  accountLocator: string;
4640
4889
  invoiceState: "open" | "settled";
@@ -4655,6 +4904,7 @@ export declare const invoiceResponseSchema: z.ZodObject<{
4655
4904
  transactionLocator?: string | undefined;
4656
4905
  remainingAmount?: number | undefined;
4657
4906
  settlementTime?: string | undefined;
4907
+ transactionLocators?: Record<string, string> | undefined;
4658
4908
  }[];
4659
4909
  totalAmount?: number | undefined;
4660
4910
  totalRemainingAmount?: number | undefined;
@@ -4663,7 +4913,7 @@ export declare const invoiceResponseSchema: z.ZodObject<{
4663
4913
  locator: string;
4664
4914
  startTime: string;
4665
4915
  endTime: string;
4666
- currency: string;
4916
+ 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";
4667
4917
  timezone: string;
4668
4918
  accountLocator: string;
4669
4919
  invoiceState: "open" | "settled";
@@ -4684,6 +4934,7 @@ export declare const invoiceResponseSchema: z.ZodObject<{
4684
4934
  transactionLocator?: string | undefined;
4685
4935
  remainingAmount?: number | undefined;
4686
4936
  settlementTime?: string | undefined;
4937
+ transactionLocators?: Record<string, string> | undefined;
4687
4938
  }[];
4688
4939
  totalAmount?: number | undefined;
4689
4940
  totalRemainingAmount?: number | undefined;
@@ -4810,41 +5061,551 @@ export declare const paramsChangeInstructionResponseSchema: z.ZodObject<{
4810
5061
  triggerBillingChange?: boolean | undefined;
4811
5062
  }>;
4812
5063
 
4813
- export declare type PolicyBillingLevel = z.infer<typeof policyBillingLevelEnumSchema>;
4814
-
4815
- export declare const policyBillingLevelEnumSchema: z.ZodEnum<["account", "inherit", "policy"]>;
4816
-
4817
- export declare type PolicyBillingTrigger = z.infer<typeof policyBillingTriggerEnumSchema>;
4818
-
4819
- export declare const policyBillingTriggerEnumSchema: z.ZodEnum<["accept", "issue"]>;
4820
-
4821
- export declare type PolicyDurationBasis = z.infer<typeof policyDurationBasisEnumSchema>;
4822
-
4823
- export declare const policyDurationBasisEnumSchema: z.ZodEnum<["years", "months", "weeks", "days", "hours"]>;
5064
+ export declare type PaymentConfig = z.infer<typeof paymentConfigSchema>;
4824
5065
 
4825
- export declare type PolicyResponse = z.infer<typeof policyResponseSchema>;
5066
+ export declare type PaymentConfigRecord = z.infer<typeof paymentConfigRecordSchema>;
4826
5067
 
4827
- export declare const policyResponseSchema: z.ZodObject<{
4828
- locator: z.ZodString;
4829
- accountLocator: z.ZodString;
4830
- issuedTransactionLocator: z.ZodString;
4831
- latestTermLocator: z.ZodString;
4832
- productName: z.ZodString;
4833
- startTime: z.ZodString;
4834
- endTime: z.ZodString;
4835
- durationBasis: z.ZodEnum<["years", "months", "weeks", "days", "hours"]>;
4836
- billingLevel: z.ZodEnum<["account", "inherit", "policy"]>;
4837
- billingTrigger: z.ZodEnum<["accept", "issue"]>;
4838
- createdAt: z.ZodOptional<z.ZodString>;
4839
- createdBy: z.ZodOptional<z.ZodString>;
4840
- currency: z.ZodString;
4841
- timezone: z.ZodOptional<z.ZodString>;
4842
- branchHeadTransactionLocators: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
4843
- static: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
4844
- autoRenewalPlanName: z.ZodOptional<z.ZodString>;
4845
- delinquencyPlanName: z.ZodOptional<z.ZodString>;
4846
- validationResult: z.ZodOptional<z.ZodObject<{
4847
- validationItems: z.ZodOptional<z.ZodArray<z.ZodObject<{
5068
+ export declare const paymentConfigRecordSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
5069
+ abstract: z.ZodBoolean;
5070
+ extend: z.ZodOptional<z.ZodString>;
5071
+ data: z.ZodRecord<z.ZodString, z.ZodObject<{
5072
+ displayName: z.ZodOptional<z.ZodString>;
5073
+ defaultValue: z.ZodOptional<z.ZodString>;
5074
+ type: z.ZodOptional<z.ZodString>;
5075
+ minLength: z.ZodOptional<z.ZodNumber>;
5076
+ maxLength: z.ZodOptional<z.ZodNumber>;
5077
+ regex: z.ZodOptional<z.ZodString>;
5078
+ min: z.ZodOptional<z.ZodString>;
5079
+ multiline: z.ZodOptional<z.ZodBoolean>;
5080
+ max: z.ZodOptional<z.ZodString>;
5081
+ options: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
5082
+ overrides: z.ZodOptional<z.ZodString>;
5083
+ scope: z.ZodOptional<z.ZodString>;
5084
+ inherited: z.ZodOptional<z.ZodBoolean>;
5085
+ precision: z.ZodOptional<z.ZodNumber>;
5086
+ readOnly: z.ZodOptional<z.ZodBoolean>;
5087
+ searchable: z.ZodOptional<z.ZodBoolean>;
5088
+ roundingMode: z.ZodOptional<z.ZodString>;
5089
+ constraint: z.ZodOptional<z.ZodObject<{
5090
+ column: z.ZodString;
5091
+ table: z.ZodString;
5092
+ where: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
5093
+ key: z.ZodOptional<z.ZodString>;
5094
+ }, "strip", z.ZodTypeAny, {
5095
+ key?: string | undefined;
5096
+ }, {
5097
+ key?: string | undefined;
5098
+ }>>>;
5099
+ }, "strip", z.ZodTypeAny, {
5100
+ column: string;
5101
+ table: string;
5102
+ where?: Record<string, {
5103
+ key?: string | undefined;
5104
+ }> | undefined;
5105
+ }, {
5106
+ column: string;
5107
+ table: string;
5108
+ where?: Record<string, {
5109
+ key?: string | undefined;
5110
+ }> | undefined;
5111
+ }>>;
5112
+ tag: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
5113
+ }, "strip", z.ZodTypeAny, {
5114
+ options?: string[] | undefined;
5115
+ type?: string | undefined;
5116
+ displayName?: string | undefined;
5117
+ defaultValue?: string | undefined;
5118
+ minLength?: number | undefined;
5119
+ maxLength?: number | undefined;
5120
+ regex?: string | undefined;
5121
+ min?: string | undefined;
5122
+ multiline?: boolean | undefined;
5123
+ max?: string | undefined;
5124
+ overrides?: string | undefined;
5125
+ scope?: string | undefined;
5126
+ inherited?: boolean | undefined;
5127
+ precision?: number | undefined;
5128
+ readOnly?: boolean | undefined;
5129
+ searchable?: boolean | undefined;
5130
+ roundingMode?: string | undefined;
5131
+ constraint?: {
5132
+ column: string;
5133
+ table: string;
5134
+ where?: Record<string, {
5135
+ key?: string | undefined;
5136
+ }> | undefined;
5137
+ } | undefined;
5138
+ tag?: string[] | undefined;
5139
+ }, {
5140
+ options?: string[] | undefined;
5141
+ type?: string | undefined;
5142
+ displayName?: string | undefined;
5143
+ defaultValue?: string | undefined;
5144
+ minLength?: number | undefined;
5145
+ maxLength?: number | undefined;
5146
+ regex?: string | undefined;
5147
+ min?: string | undefined;
5148
+ multiline?: boolean | undefined;
5149
+ max?: string | undefined;
5150
+ overrides?: string | undefined;
5151
+ scope?: string | undefined;
5152
+ inherited?: boolean | undefined;
5153
+ precision?: number | undefined;
5154
+ readOnly?: boolean | undefined;
5155
+ searchable?: boolean | undefined;
5156
+ roundingMode?: string | undefined;
5157
+ constraint?: {
5158
+ column: string;
5159
+ table: string;
5160
+ where?: Record<string, {
5161
+ key?: string | undefined;
5162
+ }> | undefined;
5163
+ } | undefined;
5164
+ tag?: string[] | undefined;
5165
+ }>>;
5166
+ displayName: z.ZodOptional<z.ZodString>;
5167
+ }, "strip", z.ZodTypeAny, {
5168
+ abstract: boolean;
5169
+ data: Record<string, {
5170
+ options?: string[] | undefined;
5171
+ type?: string | undefined;
5172
+ displayName?: string | undefined;
5173
+ defaultValue?: string | undefined;
5174
+ minLength?: number | undefined;
5175
+ maxLength?: number | undefined;
5176
+ regex?: string | undefined;
5177
+ min?: string | undefined;
5178
+ multiline?: boolean | undefined;
5179
+ max?: string | undefined;
5180
+ overrides?: string | undefined;
5181
+ scope?: string | undefined;
5182
+ inherited?: boolean | undefined;
5183
+ precision?: number | undefined;
5184
+ readOnly?: boolean | undefined;
5185
+ searchable?: boolean | undefined;
5186
+ roundingMode?: string | undefined;
5187
+ constraint?: {
5188
+ column: string;
5189
+ table: string;
5190
+ where?: Record<string, {
5191
+ key?: string | undefined;
5192
+ }> | undefined;
5193
+ } | undefined;
5194
+ tag?: string[] | undefined;
5195
+ }>;
5196
+ displayName?: string | undefined;
5197
+ extend?: string | undefined;
5198
+ }, {
5199
+ abstract: boolean;
5200
+ data: Record<string, {
5201
+ options?: string[] | undefined;
5202
+ type?: string | undefined;
5203
+ displayName?: string | undefined;
5204
+ defaultValue?: string | undefined;
5205
+ minLength?: number | undefined;
5206
+ maxLength?: number | undefined;
5207
+ regex?: string | undefined;
5208
+ min?: string | undefined;
5209
+ multiline?: boolean | undefined;
5210
+ max?: string | undefined;
5211
+ overrides?: string | undefined;
5212
+ scope?: string | undefined;
5213
+ inherited?: boolean | undefined;
5214
+ precision?: number | undefined;
5215
+ readOnly?: boolean | undefined;
5216
+ searchable?: boolean | undefined;
5217
+ roundingMode?: string | undefined;
5218
+ constraint?: {
5219
+ column: string;
5220
+ table: string;
5221
+ where?: Record<string, {
5222
+ key?: string | undefined;
5223
+ }> | undefined;
5224
+ } | undefined;
5225
+ tag?: string[] | undefined;
5226
+ }>;
5227
+ displayName?: string | undefined;
5228
+ extend?: string | undefined;
5229
+ }>>;
5230
+
5231
+ export declare const paymentConfigSchema: z.ZodObject<{
5232
+ abstract: z.ZodBoolean;
5233
+ extend: z.ZodOptional<z.ZodString>;
5234
+ data: z.ZodRecord<z.ZodString, z.ZodObject<{
5235
+ displayName: z.ZodOptional<z.ZodString>;
5236
+ defaultValue: z.ZodOptional<z.ZodString>;
5237
+ type: z.ZodOptional<z.ZodString>;
5238
+ minLength: z.ZodOptional<z.ZodNumber>;
5239
+ maxLength: z.ZodOptional<z.ZodNumber>;
5240
+ regex: z.ZodOptional<z.ZodString>;
5241
+ min: z.ZodOptional<z.ZodString>;
5242
+ multiline: z.ZodOptional<z.ZodBoolean>;
5243
+ max: z.ZodOptional<z.ZodString>;
5244
+ options: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
5245
+ overrides: z.ZodOptional<z.ZodString>;
5246
+ scope: z.ZodOptional<z.ZodString>;
5247
+ inherited: z.ZodOptional<z.ZodBoolean>;
5248
+ precision: z.ZodOptional<z.ZodNumber>;
5249
+ readOnly: z.ZodOptional<z.ZodBoolean>;
5250
+ searchable: z.ZodOptional<z.ZodBoolean>;
5251
+ roundingMode: z.ZodOptional<z.ZodString>;
5252
+ constraint: z.ZodOptional<z.ZodObject<{
5253
+ column: z.ZodString;
5254
+ table: z.ZodString;
5255
+ where: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
5256
+ key: z.ZodOptional<z.ZodString>;
5257
+ }, "strip", z.ZodTypeAny, {
5258
+ key?: string | undefined;
5259
+ }, {
5260
+ key?: string | undefined;
5261
+ }>>>;
5262
+ }, "strip", z.ZodTypeAny, {
5263
+ column: string;
5264
+ table: string;
5265
+ where?: Record<string, {
5266
+ key?: string | undefined;
5267
+ }> | undefined;
5268
+ }, {
5269
+ column: string;
5270
+ table: string;
5271
+ where?: Record<string, {
5272
+ key?: string | undefined;
5273
+ }> | undefined;
5274
+ }>>;
5275
+ tag: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
5276
+ }, "strip", z.ZodTypeAny, {
5277
+ options?: string[] | undefined;
5278
+ type?: string | undefined;
5279
+ displayName?: string | undefined;
5280
+ defaultValue?: string | undefined;
5281
+ minLength?: number | undefined;
5282
+ maxLength?: number | undefined;
5283
+ regex?: string | undefined;
5284
+ min?: string | undefined;
5285
+ multiline?: boolean | undefined;
5286
+ max?: string | undefined;
5287
+ overrides?: string | undefined;
5288
+ scope?: string | undefined;
5289
+ inherited?: boolean | undefined;
5290
+ precision?: number | undefined;
5291
+ readOnly?: boolean | undefined;
5292
+ searchable?: boolean | undefined;
5293
+ roundingMode?: string | undefined;
5294
+ constraint?: {
5295
+ column: string;
5296
+ table: string;
5297
+ where?: Record<string, {
5298
+ key?: string | undefined;
5299
+ }> | undefined;
5300
+ } | undefined;
5301
+ tag?: string[] | undefined;
5302
+ }, {
5303
+ options?: string[] | undefined;
5304
+ type?: string | undefined;
5305
+ displayName?: string | undefined;
5306
+ defaultValue?: string | undefined;
5307
+ minLength?: number | undefined;
5308
+ maxLength?: number | undefined;
5309
+ regex?: string | undefined;
5310
+ min?: string | undefined;
5311
+ multiline?: boolean | undefined;
5312
+ max?: string | undefined;
5313
+ overrides?: string | undefined;
5314
+ scope?: string | undefined;
5315
+ inherited?: boolean | undefined;
5316
+ precision?: number | undefined;
5317
+ readOnly?: boolean | undefined;
5318
+ searchable?: boolean | undefined;
5319
+ roundingMode?: string | undefined;
5320
+ constraint?: {
5321
+ column: string;
5322
+ table: string;
5323
+ where?: Record<string, {
5324
+ key?: string | undefined;
5325
+ }> | undefined;
5326
+ } | undefined;
5327
+ tag?: string[] | undefined;
5328
+ }>>;
5329
+ displayName: z.ZodOptional<z.ZodString>;
5330
+ }, "strip", z.ZodTypeAny, {
5331
+ abstract: boolean;
5332
+ data: Record<string, {
5333
+ options?: string[] | undefined;
5334
+ type?: string | undefined;
5335
+ displayName?: string | undefined;
5336
+ defaultValue?: string | undefined;
5337
+ minLength?: number | undefined;
5338
+ maxLength?: number | undefined;
5339
+ regex?: string | undefined;
5340
+ min?: string | undefined;
5341
+ multiline?: boolean | undefined;
5342
+ max?: string | undefined;
5343
+ overrides?: string | undefined;
5344
+ scope?: string | undefined;
5345
+ inherited?: boolean | undefined;
5346
+ precision?: number | undefined;
5347
+ readOnly?: boolean | undefined;
5348
+ searchable?: boolean | undefined;
5349
+ roundingMode?: string | undefined;
5350
+ constraint?: {
5351
+ column: string;
5352
+ table: string;
5353
+ where?: Record<string, {
5354
+ key?: string | undefined;
5355
+ }> | undefined;
5356
+ } | undefined;
5357
+ tag?: string[] | undefined;
5358
+ }>;
5359
+ displayName?: string | undefined;
5360
+ extend?: string | undefined;
5361
+ }, {
5362
+ abstract: boolean;
5363
+ data: Record<string, {
5364
+ options?: string[] | undefined;
5365
+ type?: string | undefined;
5366
+ displayName?: string | undefined;
5367
+ defaultValue?: string | undefined;
5368
+ minLength?: number | undefined;
5369
+ maxLength?: number | undefined;
5370
+ regex?: string | undefined;
5371
+ min?: string | undefined;
5372
+ multiline?: boolean | undefined;
5373
+ max?: string | undefined;
5374
+ overrides?: string | undefined;
5375
+ scope?: string | undefined;
5376
+ inherited?: boolean | undefined;
5377
+ precision?: number | undefined;
5378
+ readOnly?: boolean | undefined;
5379
+ searchable?: boolean | undefined;
5380
+ roundingMode?: string | undefined;
5381
+ constraint?: {
5382
+ column: string;
5383
+ table: string;
5384
+ where?: Record<string, {
5385
+ key?: string | undefined;
5386
+ }> | undefined;
5387
+ } | undefined;
5388
+ tag?: string[] | undefined;
5389
+ }>;
5390
+ displayName?: string | undefined;
5391
+ extend?: string | undefined;
5392
+ }>;
5393
+
5394
+ declare type PaymentRequest_2 = z.infer<typeof PaymentRequestSchema>;
5395
+ export { PaymentRequest_2 as PaymentRequest }
5396
+
5397
+ export declare const PaymentRequestSchema: z.ZodObject<{
5398
+ amount: z.ZodNumber;
5399
+ type: z.ZodString;
5400
+ useDefaultFinancialInstrument: z.ZodBoolean;
5401
+ data: z.ZodRecord<z.ZodString, z.ZodAny>;
5402
+ targets: z.ZodArray<z.ZodObject<{
5403
+ containerLocator: z.ZodString;
5404
+ containerType: z.ZodEnum<["invoice", "account"]>;
5405
+ amount: z.ZodOptional<z.ZodNumber>;
5406
+ }, "strip", z.ZodTypeAny, {
5407
+ containerLocator: string;
5408
+ containerType: "account" | "invoice";
5409
+ amount?: number | undefined;
5410
+ }, {
5411
+ containerLocator: string;
5412
+ containerType: "account" | "invoice";
5413
+ amount?: number | undefined;
5414
+ }>, "many">;
5415
+ accountLocator: z.ZodOptional<z.ZodString>;
5416
+ financialInstrumentLocator: z.ZodOptional<z.ZodString>;
5417
+ currency: z.ZodOptional<z.ZodString>;
5418
+ transactionMethod: z.ZodOptional<z.ZodEnum<["ach", "cash", "eft", "standard", "wire"]>>;
5419
+ transactionNumber: z.ZodOptional<z.ZodString>;
5420
+ }, "strip", z.ZodTypeAny, {
5421
+ type: string;
5422
+ data: Record<string, any>;
5423
+ amount: number;
5424
+ useDefaultFinancialInstrument: boolean;
5425
+ targets: {
5426
+ containerLocator: string;
5427
+ containerType: "account" | "invoice";
5428
+ amount?: number | undefined;
5429
+ }[];
5430
+ currency?: string | undefined;
5431
+ accountLocator?: string | undefined;
5432
+ financialInstrumentLocator?: string | undefined;
5433
+ transactionMethod?: "ach" | "cash" | "eft" | "standard" | "wire" | undefined;
5434
+ transactionNumber?: string | undefined;
5435
+ }, {
5436
+ type: string;
5437
+ data: Record<string, any>;
5438
+ amount: number;
5439
+ useDefaultFinancialInstrument: boolean;
5440
+ targets: {
5441
+ containerLocator: string;
5442
+ containerType: "account" | "invoice";
5443
+ amount?: number | undefined;
5444
+ }[];
5445
+ currency?: string | undefined;
5446
+ accountLocator?: string | undefined;
5447
+ financialInstrumentLocator?: string | undefined;
5448
+ transactionMethod?: "ach" | "cash" | "eft" | "standard" | "wire" | undefined;
5449
+ transactionNumber?: string | undefined;
5450
+ }>;
5451
+
5452
+ declare type PaymentResponse_2 = z.infer<typeof paymentResponseSchema>;
5453
+ export { PaymentResponse_2 as PaymentResponse }
5454
+
5455
+ export declare const paymentResponseSchema: z.ZodObject<{
5456
+ locator: z.ZodString;
5457
+ currency: z.ZodEnum<["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"]>;
5458
+ paymentState: z.ZodEnum<["draft", "validated", "posted", "reversed", "discarded"]>;
5459
+ amount: z.ZodNumber;
5460
+ type: z.ZodString;
5461
+ data: z.ZodRecord<z.ZodString, z.ZodAny>;
5462
+ createdAt: z.ZodString;
5463
+ createdBy: z.ZodString;
5464
+ targets: z.ZodArray<z.ZodObject<{
5465
+ containerLocator: z.ZodString;
5466
+ containerType: z.ZodEnum<["invoice", "account"]>;
5467
+ amount: z.ZodOptional<z.ZodNumber>;
5468
+ }, "strip", z.ZodTypeAny, {
5469
+ containerLocator: string;
5470
+ containerType: "account" | "invoice";
5471
+ amount?: number | undefined;
5472
+ }, {
5473
+ containerLocator: string;
5474
+ containerType: "account" | "invoice";
5475
+ amount?: number | undefined;
5476
+ }>, "many">;
5477
+ shortfallCreditLocators: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
5478
+ accountLocator: z.ZodOptional<z.ZodString>;
5479
+ externalCashTransactionLocator: z.ZodOptional<z.ZodString>;
5480
+ postedAt: z.ZodOptional<z.ZodString>;
5481
+ remainingAmount: z.ZodOptional<z.ZodNumber>;
5482
+ reversalReason: z.ZodOptional<z.ZodString>;
5483
+ reversedAt: z.ZodOptional<z.ZodString>;
5484
+ validationResult: z.ZodOptional<z.ZodObject<{
5485
+ validationItems: z.ZodOptional<z.ZodArray<z.ZodObject<{
5486
+ elementType: z.ZodOptional<z.ZodString>;
5487
+ locator: z.ZodOptional<z.ZodString>;
5488
+ errors: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
5489
+ }, "strip", z.ZodTypeAny, {
5490
+ elementType?: string | undefined;
5491
+ locator?: string | undefined;
5492
+ errors?: string[] | undefined;
5493
+ }, {
5494
+ elementType?: string | undefined;
5495
+ locator?: string | undefined;
5496
+ errors?: string[] | undefined;
5497
+ }>, "many">>;
5498
+ success: z.ZodOptional<z.ZodBoolean>;
5499
+ }, "strip", z.ZodTypeAny, {
5500
+ validationItems?: {
5501
+ elementType?: string | undefined;
5502
+ locator?: string | undefined;
5503
+ errors?: string[] | undefined;
5504
+ }[] | undefined;
5505
+ success?: boolean | undefined;
5506
+ }, {
5507
+ validationItems?: {
5508
+ elementType?: string | undefined;
5509
+ locator?: string | undefined;
5510
+ errors?: string[] | undefined;
5511
+ }[] | undefined;
5512
+ success?: boolean | undefined;
5513
+ }>>;
5514
+ }, "strip", z.ZodTypeAny, {
5515
+ locator: string;
5516
+ type: string;
5517
+ createdBy: string;
5518
+ data: Record<string, any>;
5519
+ 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
+ amount: number;
5521
+ createdAt: string;
5522
+ targets: {
5523
+ containerLocator: string;
5524
+ containerType: "account" | "invoice";
5525
+ amount?: number | undefined;
5526
+ }[];
5527
+ paymentState: "draft" | "validated" | "discarded" | "reversed" | "posted";
5528
+ accountLocator?: string | undefined;
5529
+ validationResult?: {
5530
+ validationItems?: {
5531
+ elementType?: string | undefined;
5532
+ locator?: string | undefined;
5533
+ errors?: string[] | undefined;
5534
+ }[] | undefined;
5535
+ success?: boolean | undefined;
5536
+ } | undefined;
5537
+ remainingAmount?: number | undefined;
5538
+ shortfallCreditLocators?: string[] | undefined;
5539
+ externalCashTransactionLocator?: string | undefined;
5540
+ postedAt?: string | undefined;
5541
+ reversalReason?: string | undefined;
5542
+ reversedAt?: string | undefined;
5543
+ }, {
5544
+ locator: string;
5545
+ type: string;
5546
+ createdBy: string;
5547
+ data: Record<string, any>;
5548
+ 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
+ amount: number;
5550
+ createdAt: string;
5551
+ targets: {
5552
+ containerLocator: string;
5553
+ containerType: "account" | "invoice";
5554
+ amount?: number | undefined;
5555
+ }[];
5556
+ paymentState: "draft" | "validated" | "discarded" | "reversed" | "posted";
5557
+ accountLocator?: string | undefined;
5558
+ validationResult?: {
5559
+ validationItems?: {
5560
+ elementType?: string | undefined;
5561
+ locator?: string | undefined;
5562
+ errors?: string[] | undefined;
5563
+ }[] | undefined;
5564
+ success?: boolean | undefined;
5565
+ } | undefined;
5566
+ remainingAmount?: number | undefined;
5567
+ shortfallCreditLocators?: string[] | undefined;
5568
+ externalCashTransactionLocator?: string | undefined;
5569
+ postedAt?: string | undefined;
5570
+ reversalReason?: string | undefined;
5571
+ reversedAt?: string | undefined;
5572
+ }>;
5573
+
5574
+ export declare type PolicyBillingLevel = z.infer<typeof policyBillingLevelEnumSchema>;
5575
+
5576
+ export declare const policyBillingLevelEnumSchema: z.ZodEnum<["account", "inherit", "policy"]>;
5577
+
5578
+ export declare type PolicyBillingTrigger = z.infer<typeof policyBillingTriggerEnumSchema>;
5579
+
5580
+ export declare const policyBillingTriggerEnumSchema: z.ZodEnum<["accept", "issue"]>;
5581
+
5582
+ export declare type PolicyDurationBasis = z.infer<typeof policyDurationBasisEnumSchema>;
5583
+
5584
+ export declare const policyDurationBasisEnumSchema: z.ZodEnum<["years", "months", "weeks", "days", "hours"]>;
5585
+
5586
+ export declare type PolicyResponse = z.infer<typeof policyResponseSchema>;
5587
+
5588
+ export declare const policyResponseSchema: z.ZodObject<{
5589
+ locator: z.ZodString;
5590
+ accountLocator: z.ZodString;
5591
+ issuedTransactionLocator: z.ZodString;
5592
+ latestTermLocator: z.ZodString;
5593
+ productName: z.ZodString;
5594
+ startTime: z.ZodString;
5595
+ endTime: z.ZodString;
5596
+ durationBasis: z.ZodEnum<["years", "months", "weeks", "days", "hours"]>;
5597
+ billingLevel: z.ZodEnum<["account", "inherit", "policy"]>;
5598
+ billingTrigger: z.ZodEnum<["accept", "issue"]>;
5599
+ createdAt: z.ZodOptional<z.ZodString>;
5600
+ createdBy: z.ZodOptional<z.ZodString>;
5601
+ currency: z.ZodString;
5602
+ timezone: z.ZodOptional<z.ZodString>;
5603
+ branchHeadTransactionLocators: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
5604
+ static: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
5605
+ autoRenewalPlanName: z.ZodOptional<z.ZodString>;
5606
+ delinquencyPlanName: z.ZodOptional<z.ZodString>;
5607
+ validationResult: z.ZodOptional<z.ZodObject<{
5608
+ validationItems: z.ZodOptional<z.ZodArray<z.ZodObject<{
4848
5609
  elementType: z.ZodOptional<z.ZodString>;
4849
5610
  locator: z.ZodOptional<z.ZodString>;
4850
5611
  errors: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
@@ -8182,6 +8943,10 @@ export declare type TransactionCategory = z.infer<typeof transactionCategoryEnum
8182
8943
 
8183
8944
  export declare const transactionCategoryEnumSchema: z.ZodEnum<["issuance", "change", "renewal", "cancellation", "reinstatement", "reversal", "aggregate"]>;
8184
8945
 
8946
+ export declare type TransactionMethodEnum = z.infer<typeof transactionMethodEnumSchema>;
8947
+
8948
+ export declare const transactionMethodEnumSchema: z.ZodEnum<["ach", "cash", "eft", "standard", "wire"]>;
8949
+
8185
8950
  export declare type TransactionPriceResponse = z.infer<typeof transactionPriceResponseSchema>;
8186
8951
 
8187
8952
  export declare const transactionPriceResponseSchema: z.ZodObject<z.objectUtil.extendShape<{