@emilgroup/payment-sdk 1.14.1-beta.7 → 1.14.1-beta.70

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.
Files changed (151) hide show
  1. package/.openapi-generator/FILES +32 -1
  2. package/README.md +2 -2
  3. package/api/bank-orders-api.ts +24 -24
  4. package/api/billing-addresses-api.ts +677 -0
  5. package/api/credit-allocation-api.ts +456 -0
  6. package/api/payout-methods-api.ts +672 -0
  7. package/api/policy-payment-methods-api.ts +118 -0
  8. package/api/tenant-bank-account-api.ts +8 -8
  9. package/api.ts +6 -0
  10. package/base.ts +4 -0
  11. package/dist/api/bank-accounts-api.d.ts +6 -6
  12. package/dist/api/bank-orders-api.d.ts +29 -29
  13. package/dist/api/bank-orders-api.js +18 -18
  14. package/dist/api/bank-transaction-api.d.ts +6 -6
  15. package/dist/api/billing-addresses-api.d.ts +384 -0
  16. package/dist/api/billing-addresses-api.js +636 -0
  17. package/dist/api/credit-allocation-api.d.ts +263 -0
  18. package/dist/api/credit-allocation-api.js +445 -0
  19. package/dist/api/exceeding-credits-api.d.ts +2 -2
  20. package/dist/api/health-check-api.d.ts +1 -1
  21. package/dist/api/payment-methods-api.d.ts +3 -3
  22. package/dist/api/payment-reminders-api.d.ts +4 -4
  23. package/dist/api/payment-setup-api.d.ts +2 -2
  24. package/dist/api/payments-api.d.ts +4 -4
  25. package/dist/api/payout-methods-api.d.ts +382 -0
  26. package/dist/api/payout-methods-api.js +635 -0
  27. package/dist/api/policy-payment-methods-api.d.ts +67 -2
  28. package/dist/api/policy-payment-methods-api.js +99 -0
  29. package/dist/api/refunds-api.d.ts +3 -3
  30. package/dist/api/tenant-bank-account-api.d.ts +13 -13
  31. package/dist/api/tenant-bank-account-api.js +6 -6
  32. package/dist/api/webhooks-api.d.ts +1 -1
  33. package/dist/api.d.ts +3 -0
  34. package/dist/api.js +3 -0
  35. package/dist/base.js +3 -1
  36. package/dist/common.d.ts +1 -1
  37. package/dist/models/activate-policy-payment-method-request-dto.d.ts +24 -0
  38. package/dist/models/activate-policy-payment-method-request-dto.js +15 -0
  39. package/dist/models/bank-order-class.d.ts +9 -9
  40. package/dist/models/bank-order-entity.d.ts +156 -0
  41. package/dist/models/bank-order-entity.js +29 -0
  42. package/dist/models/bank-order-xml-file-entity.d.ts +85 -0
  43. package/dist/models/bank-order-xml-file-entity.js +15 -0
  44. package/dist/models/bank-transaction-entity.d.ts +179 -0
  45. package/dist/models/{financial-account-class.js → bank-transaction-entity.js} +4 -8
  46. package/dist/models/bank-transaction-invoice-entity.d.ts +98 -0
  47. package/dist/models/bank-transaction-invoice-entity.js +15 -0
  48. package/dist/models/billing-address-class.d.ts +108 -0
  49. package/dist/models/billing-address-class.js +15 -0
  50. package/dist/models/billing-address-dto.d.ts +6 -0
  51. package/dist/models/create-bank-order-request-dto.d.ts +6 -5
  52. package/dist/models/create-bank-order-request-dto.js +2 -1
  53. package/dist/models/create-billing-address-request-dto.d.ts +66 -0
  54. package/dist/models/create-billing-address-request-dto.js +15 -0
  55. package/dist/models/create-billing-address-response-class.d.ts +25 -0
  56. package/dist/models/create-billing-address-response-class.js +15 -0
  57. package/dist/models/create-credit-allocation-request-dto.d.ts +54 -0
  58. package/dist/models/create-credit-allocation-request-dto.js +21 -0
  59. package/dist/models/create-credit-allocation-response-class.d.ts +25 -0
  60. package/dist/models/create-credit-allocation-response-class.js +15 -0
  61. package/dist/models/create-payout-method-request-dto.d.ts +60 -0
  62. package/dist/models/create-payout-method-request-dto.js +15 -0
  63. package/dist/models/create-payout-method-response-class.d.ts +25 -0
  64. package/dist/models/create-payout-method-response-class.js +15 -0
  65. package/dist/models/create-tenant-bank-account-request-dto.d.ts +57 -1
  66. package/dist/models/create-tenant-bank-account-request-dto.js +8 -0
  67. package/dist/models/credit-allocation-class.d.ts +115 -0
  68. package/dist/models/credit-allocation-class.js +21 -0
  69. package/dist/models/credit-allocation-entity.d.ts +135 -0
  70. package/dist/models/credit-allocation-entity.js +34 -0
  71. package/dist/models/exceeding-credit-class.d.ts +6 -0
  72. package/dist/models/exceeding-credit-entity.d.ts +148 -0
  73. package/dist/models/exceeding-credit-entity.js +29 -0
  74. package/dist/models/get-billing-address-response-class.d.ts +25 -0
  75. package/dist/models/get-billing-address-response-class.js +15 -0
  76. package/dist/models/get-credit-allocation-response-class.d.ts +25 -0
  77. package/dist/models/get-credit-allocation-response-class.js +15 -0
  78. package/dist/models/get-payout-method-response-class.d.ts +25 -0
  79. package/dist/models/get-payout-method-response-class.js +15 -0
  80. package/dist/models/index.d.ts +29 -1
  81. package/dist/models/index.js +29 -1
  82. package/dist/models/invoice-match-suggestion-entity.d.ts +103 -0
  83. package/dist/models/invoice-match-suggestion-entity.js +15 -0
  84. package/dist/models/list-billing-addresses-response-class.d.ts +43 -0
  85. package/dist/models/list-billing-addresses-response-class.js +15 -0
  86. package/dist/models/list-credit-allocations-response-class.d.ts +43 -0
  87. package/dist/models/list-credit-allocations-response-class.js +15 -0
  88. package/dist/models/list-payout-methods-response-class.d.ts +43 -0
  89. package/dist/models/list-payout-methods-response-class.js +15 -0
  90. package/dist/models/payment-entity.d.ts +133 -0
  91. package/dist/models/payment-entity.js +15 -0
  92. package/dist/models/payout-method-class.d.ts +115 -0
  93. package/dist/models/payout-method-class.js +15 -0
  94. package/dist/models/suggestion-generation-progress-entity.d.ts +86 -0
  95. package/dist/models/suggestion-generation-progress-entity.js +22 -0
  96. package/dist/models/tenant-bank-account-class-without-expand-properties.d.ts +56 -0
  97. package/dist/models/tenant-bank-account-class-without-expand-properties.js +8 -0
  98. package/dist/models/tenant-bank-account-class.d.ts +56 -0
  99. package/dist/models/tenant-bank-account-class.js +8 -0
  100. package/dist/models/tenant-bank-account-entity.d.ts +153 -0
  101. package/dist/models/tenant-bank-account-entity.js +23 -0
  102. package/dist/models/transaction-entity.d.ts +112 -0
  103. package/dist/models/transaction-entity.js +23 -0
  104. package/dist/models/update-bank-order-request-dto.d.ts +5 -5
  105. package/dist/models/update-billing-address-request-dto.d.ts +66 -0
  106. package/dist/models/update-billing-address-request-dto.js +15 -0
  107. package/dist/models/update-billing-address-response-class.d.ts +25 -0
  108. package/dist/models/update-billing-address-response-class.js +15 -0
  109. package/dist/models/update-tenant-bank-account-rest-request-dto.d.ts +57 -1
  110. package/dist/models/update-tenant-bank-account-rest-request-dto.js +8 -0
  111. package/models/activate-policy-payment-method-request-dto.ts +30 -0
  112. package/models/bank-order-class.ts +9 -9
  113. package/models/bank-order-entity.ts +166 -0
  114. package/models/bank-order-xml-file-entity.ts +91 -0
  115. package/models/bank-transaction-entity.ts +188 -0
  116. package/models/bank-transaction-invoice-entity.ts +104 -0
  117. package/models/billing-address-class.ts +114 -0
  118. package/models/billing-address-dto.ts +6 -0
  119. package/models/create-bank-order-request-dto.ts +7 -6
  120. package/models/create-billing-address-request-dto.ts +72 -0
  121. package/models/create-billing-address-response-class.ts +31 -0
  122. package/models/create-credit-allocation-request-dto.ts +63 -0
  123. package/models/create-credit-allocation-response-class.ts +31 -0
  124. package/models/create-payout-method-request-dto.ts +66 -0
  125. package/models/create-payout-method-response-class.ts +31 -0
  126. package/models/create-tenant-bank-account-request-dto.ts +60 -1
  127. package/models/credit-allocation-class.ts +124 -0
  128. package/models/credit-allocation-entity.ts +145 -0
  129. package/models/exceeding-credit-class.ts +6 -0
  130. package/models/exceeding-credit-entity.ts +157 -0
  131. package/models/get-billing-address-response-class.ts +31 -0
  132. package/models/get-credit-allocation-response-class.ts +31 -0
  133. package/models/get-payout-method-response-class.ts +31 -0
  134. package/models/index.ts +29 -1
  135. package/models/invoice-match-suggestion-entity.ts +109 -0
  136. package/models/list-billing-addresses-response-class.ts +49 -0
  137. package/models/list-credit-allocations-response-class.ts +49 -0
  138. package/models/list-payout-methods-response-class.ts +49 -0
  139. package/models/payment-entity.ts +139 -0
  140. package/models/{financial-account-class.ts → payout-method-class.ts} +48 -47
  141. package/models/suggestion-generation-progress-entity.ts +95 -0
  142. package/models/tenant-bank-account-class-without-expand-properties.ts +59 -0
  143. package/models/tenant-bank-account-class.ts +59 -0
  144. package/models/tenant-bank-account-entity.ts +162 -0
  145. package/models/transaction-entity.ts +121 -0
  146. package/models/update-bank-order-request-dto.ts +5 -5
  147. package/models/update-billing-address-request-dto.ts +72 -0
  148. package/models/update-billing-address-response-class.ts +31 -0
  149. package/models/update-tenant-bank-account-rest-request-dto.ts +60 -1
  150. package/package.json +2 -2
  151. package/dist/models/financial-account-class.d.ts +0 -111
@@ -400,7 +400,7 @@ export declare class BankTransactionApi extends BaseAPI {
400
400
  * @throws {RequiredError}
401
401
  * @memberof BankTransactionApi
402
402
  */
403
- generateInvoiceMatchSuggestion(requestParameters: BankTransactionApiGenerateInvoiceMatchSuggestionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GenerateInvoiceMatchSuggestionsResponseClass, any>>;
403
+ generateInvoiceMatchSuggestion(requestParameters: BankTransactionApiGenerateInvoiceMatchSuggestionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GenerateInvoiceMatchSuggestionsResponseClass, any, {}>>;
404
404
  /**
405
405
  * Retrieves the details of the bank transaction that was previously created. Supply the unique bank transaction code that was returned when you created it and Emil Api will return the corresponding bank transaction information. **Required Permissions** \"payment-management.bank-accounts.view\"
406
406
  * @summary Retrieve the bank transaction
@@ -409,7 +409,7 @@ export declare class BankTransactionApi extends BaseAPI {
409
409
  * @throws {RequiredError}
410
410
  * @memberof BankTransactionApi
411
411
  */
412
- getBankTransaction(requestParameters: BankTransactionApiGetBankTransactionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetBankTransactionsResponseClass, any>>;
412
+ getBankTransaction(requestParameters: BankTransactionApiGetBankTransactionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetBankTransactionsResponseClass, any, {}>>;
413
413
  /**
414
414
  * This will import bank transactions from a MT940/CAMT.053 file **Required Permissions** \"payment-management.bank-accounts.view\"
415
415
  * @summary Create the bank transactions
@@ -418,7 +418,7 @@ export declare class BankTransactionApi extends BaseAPI {
418
418
  * @throws {RequiredError}
419
419
  * @memberof BankTransactionApi
420
420
  */
421
- importBankTransactions(requestParameters: BankTransactionApiImportBankTransactionsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ImportBankTransactionsResponseClass, any>>;
421
+ importBankTransactions(requestParameters: BankTransactionApiImportBankTransactionsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ImportBankTransactionsResponseClass, any, {}>>;
422
422
  /**
423
423
  * Links a bank transaction with an invoice **Required Permissions** \"payment-management.bank-accounts.create\"
424
424
  * @summary Link bank transaction
@@ -427,7 +427,7 @@ export declare class BankTransactionApi extends BaseAPI {
427
427
  * @throws {RequiredError}
428
428
  * @memberof BankTransactionApi
429
429
  */
430
- linkBankTransaction(requestParameters: BankTransactionApiLinkBankTransactionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<LinkBankTransactionsResponseClass, any>>;
430
+ linkBankTransaction(requestParameters: BankTransactionApiLinkBankTransactionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<LinkBankTransactionsResponseClass, any, {}>>;
431
431
  /**
432
432
  * Returns a list of bank transactions you have previously created. The bank transactions are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"payment-management.bank-accounts.view\"
433
433
  * @summary List bank transactions
@@ -436,7 +436,7 @@ export declare class BankTransactionApi extends BaseAPI {
436
436
  * @throws {RequiredError}
437
437
  * @memberof BankTransactionApi
438
438
  */
439
- listBankTransactions(requestParameters?: BankTransactionApiListBankTransactionsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListBankTransactionsResponseClass, any>>;
439
+ listBankTransactions(requestParameters?: BankTransactionApiListBankTransactionsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListBankTransactionsResponseClass, any, {}>>;
440
440
  /**
441
441
  * Unlinks an already linked bank transaction **Required Permissions** \"payment-management.bank-accounts.update\"
442
442
  * @summary Unlink bank transaction
@@ -445,5 +445,5 @@ export declare class BankTransactionApi extends BaseAPI {
445
445
  * @throws {RequiredError}
446
446
  * @memberof BankTransactionApi
447
447
  */
448
- unlinkBankTransaction(requestParameters: BankTransactionApiUnlinkBankTransactionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UnlinkBankTransactionsResponseClass, any>>;
448
+ unlinkBankTransaction(requestParameters: BankTransactionApiUnlinkBankTransactionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UnlinkBankTransactionsResponseClass, any, {}>>;
449
449
  }
@@ -0,0 +1,384 @@
1
+ /**
2
+ * Emil Payment Service
3
+ * This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ * Contact: kontakt@emil.de
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
13
+ import { Configuration } from '../configuration';
14
+ import { RequestArgs, BaseAPI } from '../base';
15
+ import { CreateBillingAddressRequestDto } from '../models';
16
+ import { CreateBillingAddressResponseClass } from '../models';
17
+ import { GetBillingAddressResponseClass } from '../models';
18
+ import { ListBillingAddressesResponseClass } from '../models';
19
+ import { UpdateBillingAddressRequestDto } from '../models';
20
+ import { UpdateBillingAddressResponseClass } from '../models';
21
+ /**
22
+ * BillingAddressesApi - axios parameter creator
23
+ * @export
24
+ */
25
+ export declare const BillingAddressesApiAxiosParamCreator: (configuration?: Configuration) => {
26
+ /**
27
+ * This will create a new billing address for a specified account or partner **Required Permissions** \"payment-management.payments.create\"
28
+ * @summary Create the Billing Address
29
+ * @param {CreateBillingAddressRequestDto} createBillingAddressRequestDto
30
+ * @param {string} [authorization] Bearer Token
31
+ * @param {*} [options] Override http request option.
32
+ * @throws {RequiredError}
33
+ */
34
+ createBillingAddress: (createBillingAddressRequestDto: CreateBillingAddressRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
35
+ /**
36
+ * Deletes a billing address by code **Required Permissions** \"payment-management.payments.delete\"
37
+ * @summary Delete the Billing Address
38
+ * @param {string} code Unique identifier for the object.
39
+ * @param {string} [authorization] Bearer Token
40
+ * @param {*} [options] Override http request option.
41
+ * @throws {RequiredError}
42
+ */
43
+ deleteBillingAddress: (code: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
44
+ /**
45
+ * Retrieves the details of the Billing Address that was previously created. Supply the unique Billing Address code that was returned when you created it and Emil Api will return the corresponding Billing Address information. **Required Permissions** \"payment-management.payments.view\"
46
+ * @summary Retrieve the Billing Address
47
+ * @param {string} code
48
+ * @param {string} [authorization] Bearer Token
49
+ * @param {*} [options] Override http request option.
50
+ * @throws {RequiredError}
51
+ */
52
+ getBillingAddress: (code: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
53
+ /**
54
+ * Returns a list of Billing Addresses you have previously created. The Billing Addresses are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"payment-management.payments.view\"
55
+ * @summary List Billing Addresses
56
+ * @param {string} [authorization] Bearer Token
57
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
58
+ * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
59
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, city, zipCode, countryCode, accountCode, partnerCode&lt;/i&gt;
60
+ * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Searchable fields: firstName, lastName, accountCode, partnerCode&lt;/i&gt;
61
+ * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, createdAt, updatedAt&lt;/i&gt;
62
+ * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt;
63
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, city, zipCode, countryCode, accountCode, partnerCode&lt;/i&gt;
64
+ * @param {*} [options] Override http request option.
65
+ * @throws {RequiredError}
66
+ */
67
+ listBillingAddresses: (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
68
+ /**
69
+ * Updates a billing address by code **Required Permissions** \"payment-management.payments.update\"
70
+ * @summary Update the Billing Address
71
+ * @param {string} code
72
+ * @param {UpdateBillingAddressRequestDto} updateBillingAddressRequestDto
73
+ * @param {string} [authorization] Bearer Token
74
+ * @param {*} [options] Override http request option.
75
+ * @throws {RequiredError}
76
+ */
77
+ updateBillingAddress: (code: string, updateBillingAddressRequestDto: UpdateBillingAddressRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
78
+ };
79
+ /**
80
+ * BillingAddressesApi - functional programming interface
81
+ * @export
82
+ */
83
+ export declare const BillingAddressesApiFp: (configuration?: Configuration) => {
84
+ /**
85
+ * This will create a new billing address for a specified account or partner **Required Permissions** \"payment-management.payments.create\"
86
+ * @summary Create the Billing Address
87
+ * @param {CreateBillingAddressRequestDto} createBillingAddressRequestDto
88
+ * @param {string} [authorization] Bearer Token
89
+ * @param {*} [options] Override http request option.
90
+ * @throws {RequiredError}
91
+ */
92
+ createBillingAddress(createBillingAddressRequestDto: CreateBillingAddressRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateBillingAddressResponseClass>>;
93
+ /**
94
+ * Deletes a billing address by code **Required Permissions** \"payment-management.payments.delete\"
95
+ * @summary Delete the Billing Address
96
+ * @param {string} code Unique identifier for the object.
97
+ * @param {string} [authorization] Bearer Token
98
+ * @param {*} [options] Override http request option.
99
+ * @throws {RequiredError}
100
+ */
101
+ deleteBillingAddress(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
102
+ /**
103
+ * Retrieves the details of the Billing Address that was previously created. Supply the unique Billing Address code that was returned when you created it and Emil Api will return the corresponding Billing Address information. **Required Permissions** \"payment-management.payments.view\"
104
+ * @summary Retrieve the Billing Address
105
+ * @param {string} code
106
+ * @param {string} [authorization] Bearer Token
107
+ * @param {*} [options] Override http request option.
108
+ * @throws {RequiredError}
109
+ */
110
+ getBillingAddress(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetBillingAddressResponseClass>>;
111
+ /**
112
+ * Returns a list of Billing Addresses you have previously created. The Billing Addresses are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"payment-management.payments.view\"
113
+ * @summary List Billing Addresses
114
+ * @param {string} [authorization] Bearer Token
115
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
116
+ * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
117
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, city, zipCode, countryCode, accountCode, partnerCode&lt;/i&gt;
118
+ * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Searchable fields: firstName, lastName, accountCode, partnerCode&lt;/i&gt;
119
+ * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, createdAt, updatedAt&lt;/i&gt;
120
+ * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt;
121
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, city, zipCode, countryCode, accountCode, partnerCode&lt;/i&gt;
122
+ * @param {*} [options] Override http request option.
123
+ * @throws {RequiredError}
124
+ */
125
+ listBillingAddresses(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListBillingAddressesResponseClass>>;
126
+ /**
127
+ * Updates a billing address by code **Required Permissions** \"payment-management.payments.update\"
128
+ * @summary Update the Billing Address
129
+ * @param {string} code
130
+ * @param {UpdateBillingAddressRequestDto} updateBillingAddressRequestDto
131
+ * @param {string} [authorization] Bearer Token
132
+ * @param {*} [options] Override http request option.
133
+ * @throws {RequiredError}
134
+ */
135
+ updateBillingAddress(code: string, updateBillingAddressRequestDto: UpdateBillingAddressRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateBillingAddressResponseClass>>;
136
+ };
137
+ /**
138
+ * BillingAddressesApi - factory interface
139
+ * @export
140
+ */
141
+ export declare const BillingAddressesApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
142
+ /**
143
+ * This will create a new billing address for a specified account or partner **Required Permissions** \"payment-management.payments.create\"
144
+ * @summary Create the Billing Address
145
+ * @param {CreateBillingAddressRequestDto} createBillingAddressRequestDto
146
+ * @param {string} [authorization] Bearer Token
147
+ * @param {*} [options] Override http request option.
148
+ * @throws {RequiredError}
149
+ */
150
+ createBillingAddress(createBillingAddressRequestDto: CreateBillingAddressRequestDto, authorization?: string, options?: any): AxiosPromise<CreateBillingAddressResponseClass>;
151
+ /**
152
+ * Deletes a billing address by code **Required Permissions** \"payment-management.payments.delete\"
153
+ * @summary Delete the Billing Address
154
+ * @param {string} code Unique identifier for the object.
155
+ * @param {string} [authorization] Bearer Token
156
+ * @param {*} [options] Override http request option.
157
+ * @throws {RequiredError}
158
+ */
159
+ deleteBillingAddress(code: string, authorization?: string, options?: any): AxiosPromise<object>;
160
+ /**
161
+ * Retrieves the details of the Billing Address that was previously created. Supply the unique Billing Address code that was returned when you created it and Emil Api will return the corresponding Billing Address information. **Required Permissions** \"payment-management.payments.view\"
162
+ * @summary Retrieve the Billing Address
163
+ * @param {string} code
164
+ * @param {string} [authorization] Bearer Token
165
+ * @param {*} [options] Override http request option.
166
+ * @throws {RequiredError}
167
+ */
168
+ getBillingAddress(code: string, authorization?: string, options?: any): AxiosPromise<GetBillingAddressResponseClass>;
169
+ /**
170
+ * Returns a list of Billing Addresses you have previously created. The Billing Addresses are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"payment-management.payments.view\"
171
+ * @summary List Billing Addresses
172
+ * @param {string} [authorization] Bearer Token
173
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
174
+ * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
175
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, city, zipCode, countryCode, accountCode, partnerCode&lt;/i&gt;
176
+ * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Searchable fields: firstName, lastName, accountCode, partnerCode&lt;/i&gt;
177
+ * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, createdAt, updatedAt&lt;/i&gt;
178
+ * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt;
179
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, city, zipCode, countryCode, accountCode, partnerCode&lt;/i&gt;
180
+ * @param {*} [options] Override http request option.
181
+ * @throws {RequiredError}
182
+ */
183
+ listBillingAddresses(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListBillingAddressesResponseClass>;
184
+ /**
185
+ * Updates a billing address by code **Required Permissions** \"payment-management.payments.update\"
186
+ * @summary Update the Billing Address
187
+ * @param {string} code
188
+ * @param {UpdateBillingAddressRequestDto} updateBillingAddressRequestDto
189
+ * @param {string} [authorization] Bearer Token
190
+ * @param {*} [options] Override http request option.
191
+ * @throws {RequiredError}
192
+ */
193
+ updateBillingAddress(code: string, updateBillingAddressRequestDto: UpdateBillingAddressRequestDto, authorization?: string, options?: any): AxiosPromise<UpdateBillingAddressResponseClass>;
194
+ };
195
+ /**
196
+ * Request parameters for createBillingAddress operation in BillingAddressesApi.
197
+ * @export
198
+ * @interface BillingAddressesApiCreateBillingAddressRequest
199
+ */
200
+ export interface BillingAddressesApiCreateBillingAddressRequest {
201
+ /**
202
+ *
203
+ * @type {CreateBillingAddressRequestDto}
204
+ * @memberof BillingAddressesApiCreateBillingAddress
205
+ */
206
+ readonly createBillingAddressRequestDto: CreateBillingAddressRequestDto;
207
+ /**
208
+ * Bearer Token
209
+ * @type {string}
210
+ * @memberof BillingAddressesApiCreateBillingAddress
211
+ */
212
+ readonly authorization?: string;
213
+ }
214
+ /**
215
+ * Request parameters for deleteBillingAddress operation in BillingAddressesApi.
216
+ * @export
217
+ * @interface BillingAddressesApiDeleteBillingAddressRequest
218
+ */
219
+ export interface BillingAddressesApiDeleteBillingAddressRequest {
220
+ /**
221
+ * Unique identifier for the object.
222
+ * @type {string}
223
+ * @memberof BillingAddressesApiDeleteBillingAddress
224
+ */
225
+ readonly code: string;
226
+ /**
227
+ * Bearer Token
228
+ * @type {string}
229
+ * @memberof BillingAddressesApiDeleteBillingAddress
230
+ */
231
+ readonly authorization?: string;
232
+ }
233
+ /**
234
+ * Request parameters for getBillingAddress operation in BillingAddressesApi.
235
+ * @export
236
+ * @interface BillingAddressesApiGetBillingAddressRequest
237
+ */
238
+ export interface BillingAddressesApiGetBillingAddressRequest {
239
+ /**
240
+ *
241
+ * @type {string}
242
+ * @memberof BillingAddressesApiGetBillingAddress
243
+ */
244
+ readonly code: string;
245
+ /**
246
+ * Bearer Token
247
+ * @type {string}
248
+ * @memberof BillingAddressesApiGetBillingAddress
249
+ */
250
+ readonly authorization?: string;
251
+ }
252
+ /**
253
+ * Request parameters for listBillingAddresses operation in BillingAddressesApi.
254
+ * @export
255
+ * @interface BillingAddressesApiListBillingAddressesRequest
256
+ */
257
+ export interface BillingAddressesApiListBillingAddressesRequest {
258
+ /**
259
+ * Bearer Token
260
+ * @type {string}
261
+ * @memberof BillingAddressesApiListBillingAddresses
262
+ */
263
+ readonly authorization?: string;
264
+ /**
265
+ * A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
266
+ * @type {number}
267
+ * @memberof BillingAddressesApiListBillingAddresses
268
+ */
269
+ readonly pageSize?: number;
270
+ /**
271
+ * A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
272
+ * @type {string}
273
+ * @memberof BillingAddressesApiListBillingAddresses
274
+ */
275
+ readonly pageToken?: string;
276
+ /**
277
+ * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, city, zipCode, countryCode, accountCode, partnerCode&lt;/i&gt;
278
+ * @type {string}
279
+ * @memberof BillingAddressesApiListBillingAddresses
280
+ */
281
+ readonly filter?: string;
282
+ /**
283
+ * Search the response for matches in any searchable field. Use filter instead where possible for improved performance.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Searchable fields: firstName, lastName, accountCode, partnerCode&lt;/i&gt;
284
+ * @type {string}
285
+ * @memberof BillingAddressesApiListBillingAddresses
286
+ */
287
+ readonly search?: string;
288
+ /**
289
+ * Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, createdAt, updatedAt&lt;/i&gt;
290
+ * @type {string}
291
+ * @memberof BillingAddressesApiListBillingAddresses
292
+ */
293
+ readonly order?: string;
294
+ /**
295
+ * Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt;
296
+ * @type {string}
297
+ * @memberof BillingAddressesApiListBillingAddresses
298
+ */
299
+ readonly expand?: string;
300
+ /**
301
+ * Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, city, zipCode, countryCode, accountCode, partnerCode&lt;/i&gt;
302
+ * @type {string}
303
+ * @memberof BillingAddressesApiListBillingAddresses
304
+ */
305
+ readonly filters?: string;
306
+ }
307
+ /**
308
+ * Request parameters for updateBillingAddress operation in BillingAddressesApi.
309
+ * @export
310
+ * @interface BillingAddressesApiUpdateBillingAddressRequest
311
+ */
312
+ export interface BillingAddressesApiUpdateBillingAddressRequest {
313
+ /**
314
+ *
315
+ * @type {string}
316
+ * @memberof BillingAddressesApiUpdateBillingAddress
317
+ */
318
+ readonly code: string;
319
+ /**
320
+ *
321
+ * @type {UpdateBillingAddressRequestDto}
322
+ * @memberof BillingAddressesApiUpdateBillingAddress
323
+ */
324
+ readonly updateBillingAddressRequestDto: UpdateBillingAddressRequestDto;
325
+ /**
326
+ * Bearer Token
327
+ * @type {string}
328
+ * @memberof BillingAddressesApiUpdateBillingAddress
329
+ */
330
+ readonly authorization?: string;
331
+ }
332
+ /**
333
+ * BillingAddressesApi - object-oriented interface
334
+ * @export
335
+ * @class BillingAddressesApi
336
+ * @extends {BaseAPI}
337
+ */
338
+ export declare class BillingAddressesApi extends BaseAPI {
339
+ /**
340
+ * This will create a new billing address for a specified account or partner **Required Permissions** \"payment-management.payments.create\"
341
+ * @summary Create the Billing Address
342
+ * @param {BillingAddressesApiCreateBillingAddressRequest} requestParameters Request parameters.
343
+ * @param {*} [options] Override http request option.
344
+ * @throws {RequiredError}
345
+ * @memberof BillingAddressesApi
346
+ */
347
+ createBillingAddress(requestParameters: BillingAddressesApiCreateBillingAddressRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateBillingAddressResponseClass, any, {}>>;
348
+ /**
349
+ * Deletes a billing address by code **Required Permissions** \"payment-management.payments.delete\"
350
+ * @summary Delete the Billing Address
351
+ * @param {BillingAddressesApiDeleteBillingAddressRequest} requestParameters Request parameters.
352
+ * @param {*} [options] Override http request option.
353
+ * @throws {RequiredError}
354
+ * @memberof BillingAddressesApi
355
+ */
356
+ deleteBillingAddress(requestParameters: BillingAddressesApiDeleteBillingAddressRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any, {}>>;
357
+ /**
358
+ * Retrieves the details of the Billing Address that was previously created. Supply the unique Billing Address code that was returned when you created it and Emil Api will return the corresponding Billing Address information. **Required Permissions** \"payment-management.payments.view\"
359
+ * @summary Retrieve the Billing Address
360
+ * @param {BillingAddressesApiGetBillingAddressRequest} requestParameters Request parameters.
361
+ * @param {*} [options] Override http request option.
362
+ * @throws {RequiredError}
363
+ * @memberof BillingAddressesApi
364
+ */
365
+ getBillingAddress(requestParameters: BillingAddressesApiGetBillingAddressRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetBillingAddressResponseClass, any, {}>>;
366
+ /**
367
+ * Returns a list of Billing Addresses you have previously created. The Billing Addresses are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"payment-management.payments.view\"
368
+ * @summary List Billing Addresses
369
+ * @param {BillingAddressesApiListBillingAddressesRequest} requestParameters Request parameters.
370
+ * @param {*} [options] Override http request option.
371
+ * @throws {RequiredError}
372
+ * @memberof BillingAddressesApi
373
+ */
374
+ listBillingAddresses(requestParameters?: BillingAddressesApiListBillingAddressesRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListBillingAddressesResponseClass, any, {}>>;
375
+ /**
376
+ * Updates a billing address by code **Required Permissions** \"payment-management.payments.update\"
377
+ * @summary Update the Billing Address
378
+ * @param {BillingAddressesApiUpdateBillingAddressRequest} requestParameters Request parameters.
379
+ * @param {*} [options] Override http request option.
380
+ * @throws {RequiredError}
381
+ * @memberof BillingAddressesApi
382
+ */
383
+ updateBillingAddress(requestParameters: BillingAddressesApiUpdateBillingAddressRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdateBillingAddressResponseClass, any, {}>>;
384
+ }