@socotra/ec-react-schemas 2.21.0 → 2.21.1-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/README.md CHANGED
@@ -124,20 +124,6 @@ Follow instructions in the `packages/docs/README.md` file to build the documenta
124
124
  | | `DelinquencyState` |
125
125
  | | `DelinquencyReference` |
126
126
 
127
- **invoice-response-schema.ts**
128
-
129
- | Zod Schema | Type |
130
- |------------|------
131
- | `invoiceItemResponseSchema` | `InvoiceItemResponse` |
132
- | `invoiceResponseSchema` | `InvoiceResponse` |
133
-
134
- **invoice-schemas.ts**
135
-
136
- | Zod Schema | Type |
137
- |------------|------
138
- | `invoiceStateEnumSchema` | |
139
- | | `InvoiceState` |
140
-
141
127
  **ledger-account-response-schema.ts**
142
128
 
143
129
  | Zod Schema | Type |
package/dist/index.d.ts CHANGED
@@ -13752,59 +13752,9 @@ export declare const InvoiceFeeHandlingSchema: z.ZodEnum<["max", "min", "sum", "
13752
13752
 
13753
13753
  export declare type InvoiceItem = z.infer<typeof InvoiceItemSchema>;
13754
13754
 
13755
- export declare type InvoiceItemResponse = z.infer<typeof invoiceItemResponseSchema>;
13756
-
13757
- export declare const invoiceItemResponseSchema: z.ZodObject<{
13758
- locator: z.ZodString;
13759
- elementStaticLocator: z.ZodString;
13760
- invoiceLocator: z.ZodString;
13761
- amount: z.ZodNumber;
13762
- chargeCategory: z.ZodString;
13763
- chargeType: z.ZodString;
13764
- timezone: z.ZodString;
13765
- installmentItemLocators: z.ZodArray<z.ZodString, "many">;
13766
- policyLocator: z.ZodOptional<z.ZodString>;
13767
- quoteLocator: z.ZodOptional<z.ZodString>;
13768
- transactionLocator: z.ZodOptional<z.ZodString>;
13769
- elementType: z.ZodOptional<z.ZodString>;
13770
- remainingAmount: z.ZodOptional<z.ZodNumber>;
13771
- settlementTime: z.ZodOptional<z.ZodString>;
13772
- transactionLocators: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
13773
- }, "strip", z.ZodTypeAny, {
13774
- locator: string;
13775
- chargeType: string;
13776
- chargeCategory: string;
13777
- amount: number;
13778
- elementStaticLocator: string;
13779
- timezone: string;
13780
- invoiceLocator: string;
13781
- installmentItemLocators: string[];
13782
- elementType?: string | undefined;
13783
- policyLocator?: string | undefined;
13784
- quoteLocator?: string | undefined;
13785
- transactionLocator?: string | undefined;
13786
- remainingAmount?: number | undefined;
13787
- settlementTime?: string | undefined;
13788
- transactionLocators?: string[] | undefined;
13789
- }, {
13790
- locator: string;
13791
- chargeType: string;
13792
- chargeCategory: string;
13793
- amount: number;
13794
- elementStaticLocator: string;
13795
- timezone: string;
13796
- invoiceLocator: string;
13797
- installmentItemLocators: string[];
13798
- elementType?: string | undefined;
13799
- policyLocator?: string | undefined;
13800
- quoteLocator?: string | undefined;
13801
- transactionLocator?: string | undefined;
13802
- remainingAmount?: number | undefined;
13803
- settlementTime?: string | undefined;
13804
- transactionLocators?: string[] | undefined;
13805
- }>;
13806
-
13807
13755
  export declare const InvoiceItemSchema: z.ZodObject<{
13756
+ installmentItemLocators: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
13757
+ transactionLocators: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
13808
13758
  locator: z.ZodString;
13809
13759
  chargeType: z.ZodString;
13810
13760
  chargeCategory: z.ZodString;
@@ -13812,14 +13762,12 @@ export declare const InvoiceItemSchema: z.ZodObject<{
13812
13762
  remainingAmount: z.ZodOptional<z.ZodNumber>;
13813
13763
  settlementTime: z.ZodOptional<z.ZodString>;
13814
13764
  invoiceLocator: z.ZodString;
13815
- installmentItemLocators: z.ZodArray<z.ZodString, "many">;
13816
13765
  timezone: z.ZodString;
13817
13766
  quoteLocator: z.ZodOptional<z.ZodString>;
13818
13767
  policyLocator: z.ZodOptional<z.ZodString>;
13819
13768
  transactionLocator: z.ZodOptional<z.ZodString>;
13820
13769
  elementStaticLocator: z.ZodOptional<z.ZodString>;
13821
13770
  elementType: z.ZodOptional<z.ZodString>;
13822
- transactionLocators: z.ZodArray<z.ZodString, "many">;
13823
13771
  }, "strip", z.ZodTypeAny, {
13824
13772
  locator: string;
13825
13773
  chargeType: string;
@@ -13827,8 +13775,6 @@ export declare const InvoiceItemSchema: z.ZodObject<{
13827
13775
  amount: number;
13828
13776
  timezone: string;
13829
13777
  invoiceLocator: string;
13830
- installmentItemLocators: string[];
13831
- transactionLocators: string[];
13832
13778
  elementType?: string | undefined;
13833
13779
  elementStaticLocator?: string | undefined;
13834
13780
  policyLocator?: string | undefined;
@@ -13836,6 +13782,8 @@ export declare const InvoiceItemSchema: z.ZodObject<{
13836
13782
  transactionLocator?: string | undefined;
13837
13783
  remainingAmount?: number | undefined;
13838
13784
  settlementTime?: string | undefined;
13785
+ installmentItemLocators?: string[] | undefined;
13786
+ transactionLocators?: string[] | undefined;
13839
13787
  }, {
13840
13788
  locator: string;
13841
13789
  chargeType: string;
@@ -13843,8 +13791,6 @@ export declare const InvoiceItemSchema: z.ZodObject<{
13843
13791
  amount: number;
13844
13792
  timezone: string;
13845
13793
  invoiceLocator: string;
13846
- installmentItemLocators: string[];
13847
- transactionLocators: string[];
13848
13794
  elementType?: string | undefined;
13849
13795
  elementStaticLocator?: string | undefined;
13850
13796
  policyLocator?: string | undefined;
@@ -13852,14 +13798,19 @@ export declare const InvoiceItemSchema: z.ZodObject<{
13852
13798
  transactionLocator?: string | undefined;
13853
13799
  remainingAmount?: number | undefined;
13854
13800
  settlementTime?: string | undefined;
13801
+ installmentItemLocators?: string[] | undefined;
13802
+ transactionLocators?: string[] | undefined;
13855
13803
  }>;
13856
13804
 
13857
- export declare type InvoiceResponse = z.infer<typeof invoiceResponseSchema>;
13805
+ export declare type InvoiceResponse = z.infer<typeof InvoiceResponseSchema>;
13858
13806
 
13859
13807
  export declare const InvoiceResponseSchema: z.ZodObject<{
13808
+ 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"]>;
13860
13809
  accountLocator: z.ZodString;
13861
13810
  invoiceState: z.ZodEnum<["open", "settled"]>;
13862
- invoiceItems: z.ZodArray<z.ZodObject<{
13811
+ invoiceItems: z.ZodOptional<z.ZodArray<z.ZodObject<{
13812
+ installmentItemLocators: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
13813
+ transactionLocators: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
13863
13814
  locator: z.ZodString;
13864
13815
  chargeType: z.ZodString;
13865
13816
  chargeCategory: z.ZodString;
@@ -13867,14 +13818,12 @@ export declare const InvoiceResponseSchema: z.ZodObject<{
13867
13818
  remainingAmount: z.ZodOptional<z.ZodNumber>;
13868
13819
  settlementTime: z.ZodOptional<z.ZodString>;
13869
13820
  invoiceLocator: z.ZodString;
13870
- installmentItemLocators: z.ZodArray<z.ZodString, "many">;
13871
13821
  timezone: z.ZodString;
13872
13822
  quoteLocator: z.ZodOptional<z.ZodString>;
13873
13823
  policyLocator: z.ZodOptional<z.ZodString>;
13874
13824
  transactionLocator: z.ZodOptional<z.ZodString>;
13875
13825
  elementStaticLocator: z.ZodOptional<z.ZodString>;
13876
13826
  elementType: z.ZodOptional<z.ZodString>;
13877
- transactionLocators: z.ZodArray<z.ZodString, "many">;
13878
13827
  }, "strip", z.ZodTypeAny, {
13879
13828
  locator: string;
13880
13829
  chargeType: string;
@@ -13882,8 +13831,6 @@ export declare const InvoiceResponseSchema: z.ZodObject<{
13882
13831
  amount: number;
13883
13832
  timezone: string;
13884
13833
  invoiceLocator: string;
13885
- installmentItemLocators: string[];
13886
- transactionLocators: string[];
13887
13834
  elementType?: string | undefined;
13888
13835
  elementStaticLocator?: string | undefined;
13889
13836
  policyLocator?: string | undefined;
@@ -13891,6 +13838,8 @@ export declare const InvoiceResponseSchema: z.ZodObject<{
13891
13838
  transactionLocator?: string | undefined;
13892
13839
  remainingAmount?: number | undefined;
13893
13840
  settlementTime?: string | undefined;
13841
+ installmentItemLocators?: string[] | undefined;
13842
+ transactionLocators?: string[] | undefined;
13894
13843
  }, {
13895
13844
  locator: string;
13896
13845
  chargeType: string;
@@ -13898,8 +13847,6 @@ export declare const InvoiceResponseSchema: z.ZodObject<{
13898
13847
  amount: number;
13899
13848
  timezone: string;
13900
13849
  invoiceLocator: string;
13901
- installmentItemLocators: string[];
13902
- transactionLocators: string[];
13903
13850
  elementType?: string | undefined;
13904
13851
  elementStaticLocator?: string | undefined;
13905
13852
  policyLocator?: string | undefined;
@@ -13907,14 +13854,16 @@ export declare const InvoiceResponseSchema: z.ZodObject<{
13907
13854
  transactionLocator?: string | undefined;
13908
13855
  remainingAmount?: number | undefined;
13909
13856
  settlementTime?: string | undefined;
13910
- }>, "many">;
13857
+ installmentItemLocators?: string[] | undefined;
13858
+ transactionLocators?: string[] | undefined;
13859
+ }>, "many">>;
13911
13860
  generatedTime: z.ZodString;
13912
13861
  dueTime: z.ZodString;
13913
13862
  startTime: z.ZodString;
13914
13863
  endTime: z.ZodString;
13915
13864
  unsettledTime: z.ZodOptional<z.ZodString>;
13865
+ installmentItemLocators: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
13916
13866
  locator: z.ZodString;
13917
- currency: z.ZodString;
13918
13867
  timezone: z.ZodString;
13919
13868
  invoiceNumber: z.ZodOptional<z.ZodString>;
13920
13869
  autopayTime: z.ZodOptional<z.ZodString>;
@@ -13923,163 +13872,36 @@ export declare const InvoiceResponseSchema: z.ZodObject<{
13923
13872
  }, "strip", z.ZodTypeAny, {
13924
13873
  locator: string;
13925
13874
  accountLocator: string;
13926
- currency: string;
13875
+ 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";
13927
13876
  startTime: string;
13928
13877
  endTime: string;
13929
13878
  timezone: string;
13930
- invoiceState: "open" | "settled";
13931
13879
  dueTime: string;
13880
+ invoiceState: "open" | "settled";
13932
13881
  generatedTime: string;
13933
- invoiceItems: {
13934
- locator: string;
13935
- chargeType: string;
13936
- chargeCategory: string;
13937
- amount: number;
13938
- timezone: string;
13939
- invoiceLocator: string;
13940
- installmentItemLocators: string[];
13941
- transactionLocators: string[];
13942
- elementType?: string | undefined;
13943
- elementStaticLocator?: string | undefined;
13944
- policyLocator?: string | undefined;
13945
- quoteLocator?: string | undefined;
13946
- transactionLocator?: string | undefined;
13947
- remainingAmount?: number | undefined;
13948
- settlementTime?: string | undefined;
13949
- }[];
13950
- totalAmount?: number | undefined;
13951
- totalRemainingAmount?: number | undefined;
13882
+ autopayTime?: string | undefined;
13883
+ installmentItemLocators?: string[] | undefined;
13952
13884
  unsettledTime?: string | undefined;
13953
13885
  invoiceNumber?: string | undefined;
13954
- autopayTime?: string | undefined;
13955
- }, {
13956
- locator: string;
13957
- accountLocator: string;
13958
- currency: string;
13959
- startTime: string;
13960
- endTime: string;
13961
- timezone: string;
13962
- invoiceState: "open" | "settled";
13963
- dueTime: string;
13964
- generatedTime: string;
13965
- invoiceItems: {
13966
- locator: string;
13967
- chargeType: string;
13968
- chargeCategory: string;
13969
- amount: number;
13970
- timezone: string;
13971
- invoiceLocator: string;
13972
- installmentItemLocators: string[];
13973
- transactionLocators: string[];
13974
- elementType?: string | undefined;
13975
- elementStaticLocator?: string | undefined;
13976
- policyLocator?: string | undefined;
13977
- quoteLocator?: string | undefined;
13978
- transactionLocator?: string | undefined;
13979
- remainingAmount?: number | undefined;
13980
- settlementTime?: string | undefined;
13981
- }[];
13982
13886
  totalAmount?: number | undefined;
13983
13887
  totalRemainingAmount?: number | undefined;
13984
- unsettledTime?: string | undefined;
13985
- invoiceNumber?: string | undefined;
13986
- autopayTime?: string | undefined;
13987
- }>;
13988
-
13989
- export declare const invoiceResponseSchema: z.ZodObject<{
13990
- locator: z.ZodString;
13991
- accountLocator: z.ZodString;
13992
- startTime: z.ZodString;
13993
- endTime: z.ZodString;
13994
- invoiceState: z.ZodEnum<["open", "settled"]>;
13995
- 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"]>;
13996
- dueTime: z.ZodString;
13997
- generatedTime: z.ZodString;
13998
- timezone: z.ZodString;
13999
- invoiceItems: z.ZodOptional<z.ZodArray<z.ZodObject<{
14000
- locator: z.ZodString;
14001
- elementStaticLocator: z.ZodString;
14002
- invoiceLocator: z.ZodString;
14003
- amount: z.ZodNumber;
14004
- chargeCategory: z.ZodString;
14005
- chargeType: z.ZodString;
14006
- timezone: z.ZodString;
14007
- installmentItemLocators: z.ZodArray<z.ZodString, "many">;
14008
- policyLocator: z.ZodOptional<z.ZodString>;
14009
- quoteLocator: z.ZodOptional<z.ZodString>;
14010
- transactionLocator: z.ZodOptional<z.ZodString>;
14011
- elementType: z.ZodOptional<z.ZodString>;
14012
- remainingAmount: z.ZodOptional<z.ZodNumber>;
14013
- settlementTime: z.ZodOptional<z.ZodString>;
14014
- transactionLocators: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
14015
- }, "strip", z.ZodTypeAny, {
14016
- locator: string;
14017
- chargeType: string;
14018
- chargeCategory: string;
14019
- amount: number;
14020
- elementStaticLocator: string;
14021
- timezone: string;
14022
- invoiceLocator: string;
14023
- installmentItemLocators: string[];
14024
- elementType?: string | undefined;
14025
- policyLocator?: string | undefined;
14026
- quoteLocator?: string | undefined;
14027
- transactionLocator?: string | undefined;
14028
- remainingAmount?: number | undefined;
14029
- settlementTime?: string | undefined;
14030
- transactionLocators?: string[] | undefined;
14031
- }, {
14032
- locator: string;
14033
- chargeType: string;
14034
- chargeCategory: string;
14035
- amount: number;
14036
- elementStaticLocator: string;
14037
- timezone: string;
14038
- invoiceLocator: string;
14039
- installmentItemLocators: string[];
14040
- elementType?: string | undefined;
14041
- policyLocator?: string | undefined;
14042
- quoteLocator?: string | undefined;
14043
- transactionLocator?: string | undefined;
14044
- remainingAmount?: number | undefined;
14045
- settlementTime?: string | undefined;
14046
- transactionLocators?: string[] | undefined;
14047
- }>, "many">>;
14048
- totalAmount: z.ZodOptional<z.ZodNumber>;
14049
- totalRemainingAmount: z.ZodOptional<z.ZodNumber>;
14050
- unsettledTime: z.ZodOptional<z.ZodString>;
14051
- invoiceNumber: z.ZodOptional<z.ZodString>;
14052
- }, "strip", z.ZodTypeAny, {
14053
- locator: string;
14054
- accountLocator: string;
14055
- 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";
14056
- startTime: string;
14057
- endTime: string;
14058
- timezone: string;
14059
- invoiceState: "open" | "settled";
14060
- dueTime: string;
14061
- generatedTime: string;
14062
13888
  invoiceItems?: {
14063
13889
  locator: string;
14064
13890
  chargeType: string;
14065
13891
  chargeCategory: string;
14066
13892
  amount: number;
14067
- elementStaticLocator: string;
14068
13893
  timezone: string;
14069
13894
  invoiceLocator: string;
14070
- installmentItemLocators: string[];
14071
13895
  elementType?: string | undefined;
13896
+ elementStaticLocator?: string | undefined;
14072
13897
  policyLocator?: string | undefined;
14073
13898
  quoteLocator?: string | undefined;
14074
13899
  transactionLocator?: string | undefined;
14075
13900
  remainingAmount?: number | undefined;
14076
13901
  settlementTime?: string | undefined;
13902
+ installmentItemLocators?: string[] | undefined;
14077
13903
  transactionLocators?: string[] | undefined;
14078
13904
  }[] | undefined;
14079
- totalAmount?: number | undefined;
14080
- totalRemainingAmount?: number | undefined;
14081
- unsettledTime?: string | undefined;
14082
- invoiceNumber?: string | undefined;
14083
13905
  }, {
14084
13906
  locator: string;
14085
13907
  accountLocator: string;
@@ -14087,42 +13909,38 @@ export declare const invoiceResponseSchema: z.ZodObject<{
14087
13909
  startTime: string;
14088
13910
  endTime: string;
14089
13911
  timezone: string;
14090
- invoiceState: "open" | "settled";
14091
13912
  dueTime: string;
13913
+ invoiceState: "open" | "settled";
14092
13914
  generatedTime: string;
13915
+ autopayTime?: string | undefined;
13916
+ installmentItemLocators?: string[] | undefined;
13917
+ unsettledTime?: string | undefined;
13918
+ invoiceNumber?: string | undefined;
13919
+ totalAmount?: number | undefined;
13920
+ totalRemainingAmount?: number | undefined;
14093
13921
  invoiceItems?: {
14094
13922
  locator: string;
14095
13923
  chargeType: string;
14096
13924
  chargeCategory: string;
14097
13925
  amount: number;
14098
- elementStaticLocator: string;
14099
13926
  timezone: string;
14100
13927
  invoiceLocator: string;
14101
- installmentItemLocators: string[];
14102
13928
  elementType?: string | undefined;
13929
+ elementStaticLocator?: string | undefined;
14103
13930
  policyLocator?: string | undefined;
14104
13931
  quoteLocator?: string | undefined;
14105
13932
  transactionLocator?: string | undefined;
14106
13933
  remainingAmount?: number | undefined;
14107
13934
  settlementTime?: string | undefined;
13935
+ installmentItemLocators?: string[] | undefined;
14108
13936
  transactionLocators?: string[] | undefined;
14109
13937
  }[] | undefined;
14110
- totalAmount?: number | undefined;
14111
- totalRemainingAmount?: number | undefined;
14112
- unsettledTime?: string | undefined;
14113
- invoiceNumber?: string | undefined;
14114
13938
  }>;
14115
13939
 
14116
- export declare type InvoiceResponseType = z.infer<typeof InvoiceResponseSchema>;
14117
-
14118
- export declare type InvoiceState = z.infer<typeof invoiceStateEnumSchema>;
14119
-
14120
13940
  export declare type InvoiceStateEnum = z.infer<typeof InvoiceStateEnumSchema>;
14121
13941
 
14122
13942
  export declare const InvoiceStateEnumSchema: z.ZodEnum<["open", "settled"]>;
14123
13943
 
14124
- export declare const invoiceStateEnumSchema: z.ZodEnum<["open", "settled"]>;
14125
-
14126
13944
  export declare type LedgerAccountAccountingTypeEnum = z.infer<typeof ledgerAccountAccountingTypeEnumSchema>;
14127
13945
 
14128
13946
  export declare const ledgerAccountAccountingTypeEnumSchema: z.ZodEnum<["credit", "debit"]>;
@@ -14338,7 +14156,6 @@ export declare const ListPaymentResponseSchema: z.ZodObject<{
14338
14156
  }[] | undefined;
14339
14157
  success?: boolean | undefined;
14340
14158
  } | undefined;
14341
- remainingAmount?: number | undefined;
14342
14159
  targets?: {
14343
14160
  containerLocator: string;
14344
14161
  containerType: "account" | "invoice";
@@ -14347,6 +14164,7 @@ export declare const ListPaymentResponseSchema: z.ZodObject<{
14347
14164
  shortfallCreditLocators?: string[] | undefined;
14348
14165
  reversalReason?: string | undefined;
14349
14166
  reversedAt?: string | undefined;
14167
+ remainingAmount?: number | undefined;
14350
14168
  paymentMode?: "aggregate" | "normal" | undefined;
14351
14169
  externalCashTransactionLocator?: string | undefined;
14352
14170
  postedAt?: string | undefined;
@@ -14375,7 +14193,6 @@ export declare const ListPaymentResponseSchema: z.ZodObject<{
14375
14193
  }[] | undefined;
14376
14194
  success?: boolean | undefined;
14377
14195
  } | undefined;
14378
- remainingAmount?: number | undefined;
14379
14196
  targets?: {
14380
14197
  containerLocator: string;
14381
14198
  containerType: "account" | "invoice";
@@ -14384,6 +14201,7 @@ export declare const ListPaymentResponseSchema: z.ZodObject<{
14384
14201
  shortfallCreditLocators?: string[] | undefined;
14385
14202
  reversalReason?: string | undefined;
14386
14203
  reversedAt?: string | undefined;
14204
+ remainingAmount?: number | undefined;
14387
14205
  paymentMode?: "aggregate" | "normal" | undefined;
14388
14206
  externalCashTransactionLocator?: string | undefined;
14389
14207
  postedAt?: string | undefined;
@@ -14414,7 +14232,6 @@ export declare const ListPaymentResponseSchema: z.ZodObject<{
14414
14232
  }[] | undefined;
14415
14233
  success?: boolean | undefined;
14416
14234
  } | undefined;
14417
- remainingAmount?: number | undefined;
14418
14235
  targets?: {
14419
14236
  containerLocator: string;
14420
14237
  containerType: "account" | "invoice";
@@ -14423,6 +14240,7 @@ export declare const ListPaymentResponseSchema: z.ZodObject<{
14423
14240
  shortfallCreditLocators?: string[] | undefined;
14424
14241
  reversalReason?: string | undefined;
14425
14242
  reversedAt?: string | undefined;
14243
+ remainingAmount?: number | undefined;
14426
14244
  paymentMode?: "aggregate" | "normal" | undefined;
14427
14245
  externalCashTransactionLocator?: string | undefined;
14428
14246
  postedAt?: string | undefined;
@@ -14454,7 +14272,6 @@ export declare const ListPaymentResponseSchema: z.ZodObject<{
14454
14272
  }[] | undefined;
14455
14273
  success?: boolean | undefined;
14456
14274
  } | undefined;
14457
- remainingAmount?: number | undefined;
14458
14275
  targets?: {
14459
14276
  containerLocator: string;
14460
14277
  containerType: "account" | "invoice";
@@ -14463,6 +14280,7 @@ export declare const ListPaymentResponseSchema: z.ZodObject<{
14463
14280
  shortfallCreditLocators?: string[] | undefined;
14464
14281
  reversalReason?: string | undefined;
14465
14282
  reversedAt?: string | undefined;
14283
+ remainingAmount?: number | undefined;
14466
14284
  paymentMode?: "aggregate" | "normal" | undefined;
14467
14285
  externalCashTransactionLocator?: string | undefined;
14468
14286
  postedAt?: string | undefined;
@@ -17028,7 +16846,6 @@ export declare const PaymentResponseSchema: z.ZodObject<{
17028
16846
  }[] | undefined;
17029
16847
  success?: boolean | undefined;
17030
16848
  } | undefined;
17031
- remainingAmount?: number | undefined;
17032
16849
  targets?: {
17033
16850
  containerLocator: string;
17034
16851
  containerType: "account" | "invoice";
@@ -17037,6 +16854,7 @@ export declare const PaymentResponseSchema: z.ZodObject<{
17037
16854
  shortfallCreditLocators?: string[] | undefined;
17038
16855
  reversalReason?: string | undefined;
17039
16856
  reversedAt?: string | undefined;
16857
+ remainingAmount?: number | undefined;
17040
16858
  paymentMode?: "aggregate" | "normal" | undefined;
17041
16859
  externalCashTransactionLocator?: string | undefined;
17042
16860
  postedAt?: string | undefined;
@@ -17065,7 +16883,6 @@ export declare const PaymentResponseSchema: z.ZodObject<{
17065
16883
  }[] | undefined;
17066
16884
  success?: boolean | undefined;
17067
16885
  } | undefined;
17068
- remainingAmount?: number | undefined;
17069
16886
  targets?: {
17070
16887
  containerLocator: string;
17071
16888
  containerType: "account" | "invoice";
@@ -17074,6 +16891,7 @@ export declare const PaymentResponseSchema: z.ZodObject<{
17074
16891
  shortfallCreditLocators?: string[] | undefined;
17075
16892
  reversalReason?: string | undefined;
17076
16893
  reversedAt?: string | undefined;
16894
+ remainingAmount?: number | undefined;
17077
16895
  paymentMode?: "aggregate" | "normal" | undefined;
17078
16896
  externalCashTransactionLocator?: string | undefined;
17079
16897
  postedAt?: string | undefined;