@emilgroup/payment-sdk 1.14.1-beta.55 → 1.14.1-beta.57

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 (33) hide show
  1. package/.openapi-generator/FILES +8 -0
  2. package/README.md +2 -2
  3. package/api/billing-addresses-api.ts +691 -0
  4. package/api.ts +2 -0
  5. package/dist/api/billing-addresses-api.d.ts +393 -0
  6. package/dist/api/billing-addresses-api.js +642 -0
  7. package/dist/api.d.ts +1 -0
  8. package/dist/api.js +1 -0
  9. package/dist/models/billing-address-class.d.ts +108 -0
  10. package/dist/models/billing-address-class.js +15 -0
  11. package/dist/models/create-billing-address-request-dto.d.ts +72 -0
  12. package/dist/models/create-billing-address-request-dto.js +15 -0
  13. package/dist/models/create-billing-address-response-class.d.ts +25 -0
  14. package/dist/models/create-billing-address-response-class.js +15 -0
  15. package/dist/models/get-billing-address-response-class.d.ts +25 -0
  16. package/dist/models/get-billing-address-response-class.js +15 -0
  17. package/dist/models/index.d.ts +7 -0
  18. package/dist/models/index.js +7 -0
  19. package/dist/models/list-billing-addresses-response-class.d.ts +43 -0
  20. package/dist/models/list-billing-addresses-response-class.js +15 -0
  21. package/dist/models/update-billing-address-request-dto.d.ts +72 -0
  22. package/dist/models/update-billing-address-request-dto.js +15 -0
  23. package/dist/models/update-billing-address-response-class.d.ts +25 -0
  24. package/dist/models/update-billing-address-response-class.js +15 -0
  25. package/models/billing-address-class.ts +114 -0
  26. package/models/create-billing-address-request-dto.ts +78 -0
  27. package/models/create-billing-address-response-class.ts +31 -0
  28. package/models/get-billing-address-response-class.ts +31 -0
  29. package/models/index.ts +7 -0
  30. package/models/list-billing-addresses-response-class.ts +49 -0
  31. package/models/update-billing-address-request-dto.ts +78 -0
  32. package/models/update-billing-address-response-class.ts +31 -0
  33. package/package.json +1 -1
package/api.ts CHANGED
@@ -23,6 +23,7 @@ import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } fr
23
23
  import { BankAccountsApi } from './api';
24
24
  import { BankOrdersApi } from './api';
25
25
  import { BankTransactionApi } from './api';
26
+ import { BillingAddressesApi } from './api';
26
27
  import { CreditAllocationApi } from './api';
27
28
  import { ExceedingCreditsApi } from './api';
28
29
  import { HealthCheckApi } from './api';
@@ -39,6 +40,7 @@ import { WebhooksApi } from './api';
39
40
  export * from './api/bank-accounts-api';
40
41
  export * from './api/bank-orders-api';
41
42
  export * from './api/bank-transaction-api';
43
+ export * from './api/billing-addresses-api';
42
44
  export * from './api/credit-allocation-api';
43
45
  export * from './api/exceeding-credits-api';
44
46
  export * from './api/health-check-api';
@@ -0,0 +1,393 @@
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 {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; &lt;i&gt;Allowed values: &lt;i&gt;
50
+ * @param {*} [options] Override http request option.
51
+ * @throws {RequiredError}
52
+ */
53
+ getBillingAddress: (code: string, authorization?: string, expand?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
54
+ /**
55
+ * 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\"
56
+ * @summary List Billing Addresses
57
+ * @param {string} [authorization] Bearer Token
58
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
59
+ * @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.
60
+ * @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, createdAt, updatedAt&lt;/i&gt;
61
+ * @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;
62
+ * @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;
63
+ * @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; &lt;i&gt;Allowed values: &lt;i&gt;
64
+ * @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, createdAt, updatedAt&lt;/i&gt;
65
+ * @param {*} [options] Override http request option.
66
+ * @throws {RequiredError}
67
+ */
68
+ listBillingAddresses: (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
69
+ /**
70
+ * Updates a billing address by code **Required Permissions** \"payment-management.payments.update\"
71
+ * @summary Update the Billing Address
72
+ * @param {string} code
73
+ * @param {UpdateBillingAddressRequestDto} updateBillingAddressRequestDto
74
+ * @param {string} [authorization] Bearer Token
75
+ * @param {*} [options] Override http request option.
76
+ * @throws {RequiredError}
77
+ */
78
+ updateBillingAddress: (code: string, updateBillingAddressRequestDto: UpdateBillingAddressRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
79
+ };
80
+ /**
81
+ * BillingAddressesApi - functional programming interface
82
+ * @export
83
+ */
84
+ export declare const BillingAddressesApiFp: (configuration?: Configuration) => {
85
+ /**
86
+ * This will create a new billing address for a specified account or partner **Required Permissions** \"payment-management.payments.create\"
87
+ * @summary Create the Billing Address
88
+ * @param {CreateBillingAddressRequestDto} createBillingAddressRequestDto
89
+ * @param {string} [authorization] Bearer Token
90
+ * @param {*} [options] Override http request option.
91
+ * @throws {RequiredError}
92
+ */
93
+ createBillingAddress(createBillingAddressRequestDto: CreateBillingAddressRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateBillingAddressResponseClass>>;
94
+ /**
95
+ * Deletes a billing address by code **Required Permissions** \"payment-management.payments.delete\"
96
+ * @summary Delete the Billing Address
97
+ * @param {string} code Unique identifier for the object.
98
+ * @param {string} [authorization] Bearer Token
99
+ * @param {*} [options] Override http request option.
100
+ * @throws {RequiredError}
101
+ */
102
+ deleteBillingAddress(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
103
+ /**
104
+ * 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\"
105
+ * @summary Retrieve the Billing Address
106
+ * @param {string} code
107
+ * @param {string} [authorization] Bearer Token
108
+ * @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; &lt;i&gt;Allowed values: &lt;i&gt;
109
+ * @param {*} [options] Override http request option.
110
+ * @throws {RequiredError}
111
+ */
112
+ getBillingAddress(code: string, authorization?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetBillingAddressResponseClass>>;
113
+ /**
114
+ * 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\"
115
+ * @summary List Billing Addresses
116
+ * @param {string} [authorization] Bearer Token
117
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
118
+ * @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.
119
+ * @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, createdAt, updatedAt&lt;/i&gt;
120
+ * @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;
121
+ * @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;
122
+ * @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; &lt;i&gt;Allowed values: &lt;i&gt;
123
+ * @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, createdAt, updatedAt&lt;/i&gt;
124
+ * @param {*} [options] Override http request option.
125
+ * @throws {RequiredError}
126
+ */
127
+ 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>>;
128
+ /**
129
+ * Updates a billing address by code **Required Permissions** \"payment-management.payments.update\"
130
+ * @summary Update the Billing Address
131
+ * @param {string} code
132
+ * @param {UpdateBillingAddressRequestDto} updateBillingAddressRequestDto
133
+ * @param {string} [authorization] Bearer Token
134
+ * @param {*} [options] Override http request option.
135
+ * @throws {RequiredError}
136
+ */
137
+ updateBillingAddress(code: string, updateBillingAddressRequestDto: UpdateBillingAddressRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateBillingAddressResponseClass>>;
138
+ };
139
+ /**
140
+ * BillingAddressesApi - factory interface
141
+ * @export
142
+ */
143
+ export declare const BillingAddressesApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
144
+ /**
145
+ * This will create a new billing address for a specified account or partner **Required Permissions** \"payment-management.payments.create\"
146
+ * @summary Create the Billing Address
147
+ * @param {CreateBillingAddressRequestDto} createBillingAddressRequestDto
148
+ * @param {string} [authorization] Bearer Token
149
+ * @param {*} [options] Override http request option.
150
+ * @throws {RequiredError}
151
+ */
152
+ createBillingAddress(createBillingAddressRequestDto: CreateBillingAddressRequestDto, authorization?: string, options?: any): AxiosPromise<CreateBillingAddressResponseClass>;
153
+ /**
154
+ * Deletes a billing address by code **Required Permissions** \"payment-management.payments.delete\"
155
+ * @summary Delete the Billing Address
156
+ * @param {string} code Unique identifier for the object.
157
+ * @param {string} [authorization] Bearer Token
158
+ * @param {*} [options] Override http request option.
159
+ * @throws {RequiredError}
160
+ */
161
+ deleteBillingAddress(code: string, authorization?: string, options?: any): AxiosPromise<object>;
162
+ /**
163
+ * 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\"
164
+ * @summary Retrieve the Billing Address
165
+ * @param {string} code
166
+ * @param {string} [authorization] Bearer Token
167
+ * @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; &lt;i&gt;Allowed values: &lt;i&gt;
168
+ * @param {*} [options] Override http request option.
169
+ * @throws {RequiredError}
170
+ */
171
+ getBillingAddress(code: string, authorization?: string, expand?: string, options?: any): AxiosPromise<GetBillingAddressResponseClass>;
172
+ /**
173
+ * 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\"
174
+ * @summary List Billing Addresses
175
+ * @param {string} [authorization] Bearer Token
176
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
177
+ * @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.
178
+ * @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, createdAt, updatedAt&lt;/i&gt;
179
+ * @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;
180
+ * @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;
181
+ * @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; &lt;i&gt;Allowed values: &lt;i&gt;
182
+ * @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, createdAt, updatedAt&lt;/i&gt;
183
+ * @param {*} [options] Override http request option.
184
+ * @throws {RequiredError}
185
+ */
186
+ listBillingAddresses(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListBillingAddressesResponseClass>;
187
+ /**
188
+ * Updates a billing address by code **Required Permissions** \"payment-management.payments.update\"
189
+ * @summary Update the Billing Address
190
+ * @param {string} code
191
+ * @param {UpdateBillingAddressRequestDto} updateBillingAddressRequestDto
192
+ * @param {string} [authorization] Bearer Token
193
+ * @param {*} [options] Override http request option.
194
+ * @throws {RequiredError}
195
+ */
196
+ updateBillingAddress(code: string, updateBillingAddressRequestDto: UpdateBillingAddressRequestDto, authorization?: string, options?: any): AxiosPromise<UpdateBillingAddressResponseClass>;
197
+ };
198
+ /**
199
+ * Request parameters for createBillingAddress operation in BillingAddressesApi.
200
+ * @export
201
+ * @interface BillingAddressesApiCreateBillingAddressRequest
202
+ */
203
+ export interface BillingAddressesApiCreateBillingAddressRequest {
204
+ /**
205
+ *
206
+ * @type {CreateBillingAddressRequestDto}
207
+ * @memberof BillingAddressesApiCreateBillingAddress
208
+ */
209
+ readonly createBillingAddressRequestDto: CreateBillingAddressRequestDto;
210
+ /**
211
+ * Bearer Token
212
+ * @type {string}
213
+ * @memberof BillingAddressesApiCreateBillingAddress
214
+ */
215
+ readonly authorization?: string;
216
+ }
217
+ /**
218
+ * Request parameters for deleteBillingAddress operation in BillingAddressesApi.
219
+ * @export
220
+ * @interface BillingAddressesApiDeleteBillingAddressRequest
221
+ */
222
+ export interface BillingAddressesApiDeleteBillingAddressRequest {
223
+ /**
224
+ * Unique identifier for the object.
225
+ * @type {string}
226
+ * @memberof BillingAddressesApiDeleteBillingAddress
227
+ */
228
+ readonly code: string;
229
+ /**
230
+ * Bearer Token
231
+ * @type {string}
232
+ * @memberof BillingAddressesApiDeleteBillingAddress
233
+ */
234
+ readonly authorization?: string;
235
+ }
236
+ /**
237
+ * Request parameters for getBillingAddress operation in BillingAddressesApi.
238
+ * @export
239
+ * @interface BillingAddressesApiGetBillingAddressRequest
240
+ */
241
+ export interface BillingAddressesApiGetBillingAddressRequest {
242
+ /**
243
+ *
244
+ * @type {string}
245
+ * @memberof BillingAddressesApiGetBillingAddress
246
+ */
247
+ readonly code: string;
248
+ /**
249
+ * Bearer Token
250
+ * @type {string}
251
+ * @memberof BillingAddressesApiGetBillingAddress
252
+ */
253
+ readonly authorization?: string;
254
+ /**
255
+ * 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; &lt;i&gt;Allowed values: &lt;i&gt;
256
+ * @type {string}
257
+ * @memberof BillingAddressesApiGetBillingAddress
258
+ */
259
+ readonly expand?: string;
260
+ }
261
+ /**
262
+ * Request parameters for listBillingAddresses operation in BillingAddressesApi.
263
+ * @export
264
+ * @interface BillingAddressesApiListBillingAddressesRequest
265
+ */
266
+ export interface BillingAddressesApiListBillingAddressesRequest {
267
+ /**
268
+ * Bearer Token
269
+ * @type {string}
270
+ * @memberof BillingAddressesApiListBillingAddresses
271
+ */
272
+ readonly authorization?: string;
273
+ /**
274
+ * A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
275
+ * @type {number}
276
+ * @memberof BillingAddressesApiListBillingAddresses
277
+ */
278
+ readonly pageSize?: number;
279
+ /**
280
+ * 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.
281
+ * @type {string}
282
+ * @memberof BillingAddressesApiListBillingAddresses
283
+ */
284
+ readonly pageToken?: string;
285
+ /**
286
+ * 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, createdAt, updatedAt&lt;/i&gt;
287
+ * @type {string}
288
+ * @memberof BillingAddressesApiListBillingAddresses
289
+ */
290
+ readonly filter?: string;
291
+ /**
292
+ * 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;
293
+ * @type {string}
294
+ * @memberof BillingAddressesApiListBillingAddresses
295
+ */
296
+ readonly search?: string;
297
+ /**
298
+ * 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;
299
+ * @type {string}
300
+ * @memberof BillingAddressesApiListBillingAddresses
301
+ */
302
+ readonly order?: string;
303
+ /**
304
+ * 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; &lt;i&gt;Allowed values: &lt;i&gt;
305
+ * @type {string}
306
+ * @memberof BillingAddressesApiListBillingAddresses
307
+ */
308
+ readonly expand?: string;
309
+ /**
310
+ * 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, createdAt, updatedAt&lt;/i&gt;
311
+ * @type {string}
312
+ * @memberof BillingAddressesApiListBillingAddresses
313
+ */
314
+ readonly filters?: string;
315
+ }
316
+ /**
317
+ * Request parameters for updateBillingAddress operation in BillingAddressesApi.
318
+ * @export
319
+ * @interface BillingAddressesApiUpdateBillingAddressRequest
320
+ */
321
+ export interface BillingAddressesApiUpdateBillingAddressRequest {
322
+ /**
323
+ *
324
+ * @type {string}
325
+ * @memberof BillingAddressesApiUpdateBillingAddress
326
+ */
327
+ readonly code: string;
328
+ /**
329
+ *
330
+ * @type {UpdateBillingAddressRequestDto}
331
+ * @memberof BillingAddressesApiUpdateBillingAddress
332
+ */
333
+ readonly updateBillingAddressRequestDto: UpdateBillingAddressRequestDto;
334
+ /**
335
+ * Bearer Token
336
+ * @type {string}
337
+ * @memberof BillingAddressesApiUpdateBillingAddress
338
+ */
339
+ readonly authorization?: string;
340
+ }
341
+ /**
342
+ * BillingAddressesApi - object-oriented interface
343
+ * @export
344
+ * @class BillingAddressesApi
345
+ * @extends {BaseAPI}
346
+ */
347
+ export declare class BillingAddressesApi extends BaseAPI {
348
+ /**
349
+ * This will create a new billing address for a specified account or partner **Required Permissions** \"payment-management.payments.create\"
350
+ * @summary Create the Billing Address
351
+ * @param {BillingAddressesApiCreateBillingAddressRequest} requestParameters Request parameters.
352
+ * @param {*} [options] Override http request option.
353
+ * @throws {RequiredError}
354
+ * @memberof BillingAddressesApi
355
+ */
356
+ createBillingAddress(requestParameters: BillingAddressesApiCreateBillingAddressRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateBillingAddressResponseClass, any, {}>>;
357
+ /**
358
+ * Deletes a billing address by code **Required Permissions** \"payment-management.payments.delete\"
359
+ * @summary Delete the Billing Address
360
+ * @param {BillingAddressesApiDeleteBillingAddressRequest} requestParameters Request parameters.
361
+ * @param {*} [options] Override http request option.
362
+ * @throws {RequiredError}
363
+ * @memberof BillingAddressesApi
364
+ */
365
+ deleteBillingAddress(requestParameters: BillingAddressesApiDeleteBillingAddressRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any, {}>>;
366
+ /**
367
+ * 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\"
368
+ * @summary Retrieve the Billing Address
369
+ * @param {BillingAddressesApiGetBillingAddressRequest} requestParameters Request parameters.
370
+ * @param {*} [options] Override http request option.
371
+ * @throws {RequiredError}
372
+ * @memberof BillingAddressesApi
373
+ */
374
+ getBillingAddress(requestParameters: BillingAddressesApiGetBillingAddressRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetBillingAddressResponseClass, any, {}>>;
375
+ /**
376
+ * 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\"
377
+ * @summary List Billing Addresses
378
+ * @param {BillingAddressesApiListBillingAddressesRequest} requestParameters Request parameters.
379
+ * @param {*} [options] Override http request option.
380
+ * @throws {RequiredError}
381
+ * @memberof BillingAddressesApi
382
+ */
383
+ listBillingAddresses(requestParameters?: BillingAddressesApiListBillingAddressesRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListBillingAddressesResponseClass, any, {}>>;
384
+ /**
385
+ * Updates a billing address by code **Required Permissions** \"payment-management.payments.update\"
386
+ * @summary Update the Billing Address
387
+ * @param {BillingAddressesApiUpdateBillingAddressRequest} requestParameters Request parameters.
388
+ * @param {*} [options] Override http request option.
389
+ * @throws {RequiredError}
390
+ * @memberof BillingAddressesApi
391
+ */
392
+ updateBillingAddress(requestParameters: BillingAddressesApiUpdateBillingAddressRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdateBillingAddressResponseClass, any, {}>>;
393
+ }