@emilgroup/payment-sdk-node 1.22.1-beta.6 → 1.22.1-beta.61

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 (107) hide show
  1. package/.openapi-generator/FILES +21 -0
  2. package/README.md +2 -2
  3. package/api/billing-addresses-api.ts +695 -0
  4. package/api/credit-allocation-api.ts +460 -0
  5. package/api/payout-methods-api.ts +676 -0
  6. package/api/policy-payment-methods-api.ts +118 -0
  7. package/api.ts +6 -0
  8. package/base.ts +0 -1
  9. package/dist/api/bank-accounts-api.d.ts +6 -6
  10. package/dist/api/bank-orders-api.d.ts +5 -5
  11. package/dist/api/bank-transaction-api.d.ts +6 -6
  12. package/dist/api/billing-addresses-api.d.ts +393 -0
  13. package/dist/api/billing-addresses-api.js +646 -0
  14. package/dist/api/credit-allocation-api.d.ts +263 -0
  15. package/dist/api/credit-allocation-api.js +449 -0
  16. package/dist/api/exceeding-credits-api.d.ts +2 -2
  17. package/dist/api/health-check-api.d.ts +1 -1
  18. package/dist/api/payment-methods-api.d.ts +3 -3
  19. package/dist/api/payment-reminders-api.d.ts +4 -4
  20. package/dist/api/payment-setup-api.d.ts +2 -2
  21. package/dist/api/payments-api.d.ts +4 -4
  22. package/dist/api/payout-methods-api.d.ts +382 -0
  23. package/dist/api/payout-methods-api.js +639 -0
  24. package/dist/api/policy-payment-methods-api.d.ts +67 -2
  25. package/dist/api/policy-payment-methods-api.js +99 -0
  26. package/dist/api/refunds-api.d.ts +3 -3
  27. package/dist/api/tenant-bank-account-api.d.ts +5 -5
  28. package/dist/api/webhooks-api.d.ts +1 -1
  29. package/dist/api.d.ts +3 -0
  30. package/dist/api.js +3 -0
  31. package/dist/common.d.ts +1 -1
  32. package/dist/models/activate-policy-payment-method-request-dto.d.ts +24 -0
  33. package/dist/models/activate-policy-payment-method-request-dto.js +15 -0
  34. package/dist/models/bank-order-class.d.ts +3 -3
  35. package/dist/models/billing-address-class.d.ts +108 -0
  36. package/dist/models/billing-address-class.js +15 -0
  37. package/dist/models/billing-address-dto.d.ts +6 -0
  38. package/dist/models/create-bank-order-request-dto.d.ts +3 -3
  39. package/dist/models/create-billing-address-request-dto.d.ts +66 -0
  40. package/dist/models/create-billing-address-request-dto.js +15 -0
  41. package/dist/models/create-billing-address-response-class.d.ts +25 -0
  42. package/dist/models/create-billing-address-response-class.js +15 -0
  43. package/dist/models/create-credit-allocation-request-dto.d.ts +54 -0
  44. package/dist/models/create-credit-allocation-request-dto.js +21 -0
  45. package/dist/models/create-credit-allocation-response-class.d.ts +25 -0
  46. package/dist/models/create-credit-allocation-response-class.js +15 -0
  47. package/dist/models/create-payout-method-request-dto.d.ts +60 -0
  48. package/dist/models/create-payout-method-request-dto.js +15 -0
  49. package/dist/models/create-payout-method-response-class.d.ts +25 -0
  50. package/dist/models/create-payout-method-response-class.js +15 -0
  51. package/dist/models/create-tenant-bank-account-request-dto.d.ts +30 -0
  52. package/dist/models/credit-allocation-class.d.ts +115 -0
  53. package/dist/models/credit-allocation-class.js +21 -0
  54. package/dist/models/exceeding-credit-class.d.ts +6 -0
  55. package/dist/models/get-billing-address-response-class.d.ts +25 -0
  56. package/dist/models/get-billing-address-response-class.js +15 -0
  57. package/dist/models/get-credit-allocation-response-class.d.ts +25 -0
  58. package/dist/models/get-credit-allocation-response-class.js +15 -0
  59. package/dist/models/get-payout-method-response-class.d.ts +25 -0
  60. package/dist/models/get-payout-method-response-class.js +15 -0
  61. package/dist/models/index.d.ts +18 -0
  62. package/dist/models/index.js +18 -0
  63. package/dist/models/list-billing-addresses-response-class.d.ts +43 -0
  64. package/dist/models/list-billing-addresses-response-class.js +15 -0
  65. package/dist/models/list-credit-allocations-response-class.d.ts +43 -0
  66. package/dist/models/list-credit-allocations-response-class.js +15 -0
  67. package/dist/models/list-payout-methods-response-class.d.ts +43 -0
  68. package/dist/models/list-payout-methods-response-class.js +15 -0
  69. package/dist/models/payout-method-class.d.ts +115 -0
  70. package/dist/models/payout-method-class.js +15 -0
  71. package/dist/models/tenant-bank-account-class-without-expand-properties.d.ts +30 -0
  72. package/dist/models/tenant-bank-account-class.d.ts +30 -0
  73. package/dist/models/update-bank-order-request-dto.d.ts +3 -3
  74. package/dist/models/update-billing-address-request-dto.d.ts +66 -0
  75. package/dist/models/update-billing-address-request-dto.js +15 -0
  76. package/dist/models/update-billing-address-response-class.d.ts +25 -0
  77. package/dist/models/update-billing-address-response-class.js +15 -0
  78. package/dist/models/update-tenant-bank-account-rest-request-dto.d.ts +30 -0
  79. package/models/activate-policy-payment-method-request-dto.ts +30 -0
  80. package/models/bank-order-class.ts +3 -3
  81. package/models/billing-address-class.ts +114 -0
  82. package/models/billing-address-dto.ts +6 -0
  83. package/models/create-bank-order-request-dto.ts +3 -3
  84. package/models/create-billing-address-request-dto.ts +72 -0
  85. package/models/create-billing-address-response-class.ts +31 -0
  86. package/models/create-credit-allocation-request-dto.ts +63 -0
  87. package/models/create-credit-allocation-response-class.ts +31 -0
  88. package/models/create-payout-method-request-dto.ts +66 -0
  89. package/models/create-payout-method-response-class.ts +31 -0
  90. package/models/create-tenant-bank-account-request-dto.ts +30 -0
  91. package/models/credit-allocation-class.ts +124 -0
  92. package/models/exceeding-credit-class.ts +6 -0
  93. package/models/get-billing-address-response-class.ts +31 -0
  94. package/models/get-credit-allocation-response-class.ts +31 -0
  95. package/models/get-payout-method-response-class.ts +31 -0
  96. package/models/index.ts +18 -0
  97. package/models/list-billing-addresses-response-class.ts +49 -0
  98. package/models/list-credit-allocations-response-class.ts +49 -0
  99. package/models/list-payout-methods-response-class.ts +49 -0
  100. package/models/payout-method-class.ts +121 -0
  101. package/models/tenant-bank-account-class-without-expand-properties.ts +30 -0
  102. package/models/tenant-bank-account-class.ts +30 -0
  103. package/models/update-bank-order-request-dto.ts +3 -3
  104. package/models/update-billing-address-request-dto.ts +72 -0
  105. package/models/update-billing-address-response-class.ts +31 -0
  106. package/models/update-tenant-bank-account-rest-request-dto.ts +30 -0
  107. package/package.json +2 -2
@@ -0,0 +1,695 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Emil Payment Service
5
+ * 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.
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ * Contact: kontakt@emil.de
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+ import globalAxios, { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
17
+ import { Configuration } from '../configuration';
18
+ // Some imports not used depending on template conditions
19
+ // @ts-ignore
20
+ import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObject, setBearerAuthToObject, setOAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from '../common';
21
+ // @ts-ignore
22
+ import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from '../base';
23
+ // @ts-ignore
24
+ import { CreateBillingAddressRequestDto } from '../models';
25
+ // @ts-ignore
26
+ import { CreateBillingAddressResponseClass } from '../models';
27
+ // @ts-ignore
28
+ import { GetBillingAddressResponseClass } from '../models';
29
+ // @ts-ignore
30
+ import { ListBillingAddressesResponseClass } from '../models';
31
+ // @ts-ignore
32
+ import { UpdateBillingAddressRequestDto } from '../models';
33
+ // @ts-ignore
34
+ import { UpdateBillingAddressResponseClass } from '../models';
35
+ // URLSearchParams not necessarily used
36
+ // @ts-ignore
37
+ import { URL, URLSearchParams } from 'url';
38
+ const FormData = require('form-data');
39
+ /**
40
+ * BillingAddressesApi - axios parameter creator
41
+ * @export
42
+ */
43
+ export const BillingAddressesApiAxiosParamCreator = function (configuration?: Configuration) {
44
+ return {
45
+ /**
46
+ * This will create a new billing address for a specified account or partner **Required Permissions** \"payment-management.payments.create\"
47
+ * @summary Create the Billing Address
48
+ * @param {CreateBillingAddressRequestDto} createBillingAddressRequestDto
49
+ * @param {string} [authorization] Bearer Token
50
+ * @param {*} [options] Override http request option.
51
+ * @throws {RequiredError}
52
+ */
53
+ createBillingAddress: async (createBillingAddressRequestDto: CreateBillingAddressRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
54
+ // verify required parameter 'createBillingAddressRequestDto' is not null or undefined
55
+ assertParamExists('createBillingAddress', 'createBillingAddressRequestDto', createBillingAddressRequestDto)
56
+ const localVarPath = `/paymentservice/v1/billing-addresses`;
57
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
58
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
59
+ let baseOptions;
60
+ let baseAccessToken;
61
+ if (configuration) {
62
+ baseOptions = configuration.baseOptions;
63
+ baseAccessToken = configuration.accessToken;
64
+ }
65
+
66
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
67
+ const localVarHeaderParameter = {} as any;
68
+ const localVarQueryParameter = {} as any;
69
+
70
+ // authentication bearer required
71
+ // http bearer authentication required
72
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
73
+
74
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
75
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
76
+ }
77
+
78
+
79
+
80
+ localVarHeaderParameter['Content-Type'] = 'application/json';
81
+
82
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
83
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
84
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
85
+ localVarRequestOptions.data = serializeDataIfNeeded(createBillingAddressRequestDto, localVarRequestOptions, configuration)
86
+
87
+ return {
88
+ url: toPathString(localVarUrlObj),
89
+ options: localVarRequestOptions,
90
+ };
91
+ },
92
+ /**
93
+ * Deletes a billing address by code **Required Permissions** \"payment-management.payments.delete\"
94
+ * @summary Delete the Billing Address
95
+ * @param {string} code Unique identifier for the object.
96
+ * @param {string} [authorization] Bearer Token
97
+ * @param {*} [options] Override http request option.
98
+ * @throws {RequiredError}
99
+ */
100
+ deleteBillingAddress: async (code: string, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
101
+ // verify required parameter 'code' is not null or undefined
102
+ assertParamExists('deleteBillingAddress', 'code', code)
103
+ const localVarPath = `/paymentservice/v1/billing-addresses/{code}`
104
+ .replace(`{${"code"}}`, encodeURIComponent(String(code)));
105
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
106
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
107
+ let baseOptions;
108
+ let baseAccessToken;
109
+ if (configuration) {
110
+ baseOptions = configuration.baseOptions;
111
+ baseAccessToken = configuration.accessToken;
112
+ }
113
+
114
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
115
+ const localVarHeaderParameter = {} as any;
116
+ const localVarQueryParameter = {} as any;
117
+
118
+ // authentication bearer required
119
+ // http bearer authentication required
120
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
121
+
122
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
123
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
124
+ }
125
+
126
+
127
+
128
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
129
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
130
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
131
+
132
+ return {
133
+ url: toPathString(localVarUrlObj),
134
+ options: localVarRequestOptions,
135
+ };
136
+ },
137
+ /**
138
+ * 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\"
139
+ * @summary Retrieve the Billing Address
140
+ * @param {string} code
141
+ * @param {string} [authorization] Bearer Token
142
+ * @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;
143
+ * @param {*} [options] Override http request option.
144
+ * @throws {RequiredError}
145
+ */
146
+ getBillingAddress: async (code: string, authorization?: string, expand?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
147
+ // verify required parameter 'code' is not null or undefined
148
+ assertParamExists('getBillingAddress', 'code', code)
149
+ const localVarPath = `/paymentservice/v1/billing-addresses/{code}`
150
+ .replace(`{${"code"}}`, encodeURIComponent(String(code)));
151
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
152
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
153
+ let baseOptions;
154
+ let baseAccessToken;
155
+ if (configuration) {
156
+ baseOptions = configuration.baseOptions;
157
+ baseAccessToken = configuration.accessToken;
158
+ }
159
+
160
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
161
+ const localVarHeaderParameter = {} as any;
162
+ const localVarQueryParameter = {} as any;
163
+
164
+ // authentication bearer required
165
+ // http bearer authentication required
166
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
167
+
168
+ if (expand !== undefined) {
169
+ localVarQueryParameter['expand'] = expand;
170
+ }
171
+
172
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
173
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
174
+ }
175
+
176
+
177
+
178
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
179
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
180
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
181
+
182
+ return {
183
+ url: toPathString(localVarUrlObj),
184
+ options: localVarRequestOptions,
185
+ };
186
+ },
187
+ /**
188
+ * 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\"
189
+ * @summary List Billing Addresses
190
+ * @param {string} [authorization] Bearer Token
191
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
192
+ * @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.
193
+ * @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;
194
+ * @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;
195
+ * @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;
196
+ * @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;
197
+ * @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;
198
+ * @param {*} [options] Override http request option.
199
+ * @throws {RequiredError}
200
+ */
201
+ listBillingAddresses: async (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
202
+ const localVarPath = `/paymentservice/v1/billing-addresses`;
203
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
204
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
205
+ let baseOptions;
206
+ let baseAccessToken;
207
+ if (configuration) {
208
+ baseOptions = configuration.baseOptions;
209
+ baseAccessToken = configuration.accessToken;
210
+ }
211
+
212
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
213
+ const localVarHeaderParameter = {} as any;
214
+ const localVarQueryParameter = {} as any;
215
+
216
+ // authentication bearer required
217
+ // http bearer authentication required
218
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
219
+
220
+ if (pageSize !== undefined) {
221
+ localVarQueryParameter['pageSize'] = pageSize;
222
+ }
223
+
224
+ if (pageToken !== undefined) {
225
+ localVarQueryParameter['pageToken'] = pageToken;
226
+ }
227
+
228
+ if (filter !== undefined) {
229
+ localVarQueryParameter['filter'] = filter;
230
+ }
231
+
232
+ if (search !== undefined) {
233
+ localVarQueryParameter['search'] = search;
234
+ }
235
+
236
+ if (order !== undefined) {
237
+ localVarQueryParameter['order'] = order;
238
+ }
239
+
240
+ if (expand !== undefined) {
241
+ localVarQueryParameter['expand'] = expand;
242
+ }
243
+
244
+ if (filters !== undefined) {
245
+ localVarQueryParameter['filters'] = filters;
246
+ }
247
+
248
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
249
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
250
+ }
251
+
252
+
253
+
254
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
255
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
256
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
257
+
258
+ return {
259
+ url: toPathString(localVarUrlObj),
260
+ options: localVarRequestOptions,
261
+ };
262
+ },
263
+ /**
264
+ * Updates a billing address by code **Required Permissions** \"payment-management.payments.update\"
265
+ * @summary Update the Billing Address
266
+ * @param {string} code
267
+ * @param {UpdateBillingAddressRequestDto} updateBillingAddressRequestDto
268
+ * @param {string} [authorization] Bearer Token
269
+ * @param {*} [options] Override http request option.
270
+ * @throws {RequiredError}
271
+ */
272
+ updateBillingAddress: async (code: string, updateBillingAddressRequestDto: UpdateBillingAddressRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
273
+ // verify required parameter 'code' is not null or undefined
274
+ assertParamExists('updateBillingAddress', 'code', code)
275
+ // verify required parameter 'updateBillingAddressRequestDto' is not null or undefined
276
+ assertParamExists('updateBillingAddress', 'updateBillingAddressRequestDto', updateBillingAddressRequestDto)
277
+ const localVarPath = `/paymentservice/v1/billing-addresses/{code}`
278
+ .replace(`{${"code"}}`, encodeURIComponent(String(code)));
279
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
280
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
281
+ let baseOptions;
282
+ let baseAccessToken;
283
+ if (configuration) {
284
+ baseOptions = configuration.baseOptions;
285
+ baseAccessToken = configuration.accessToken;
286
+ }
287
+
288
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
289
+ const localVarHeaderParameter = {} as any;
290
+ const localVarQueryParameter = {} as any;
291
+
292
+ // authentication bearer required
293
+ // http bearer authentication required
294
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
295
+
296
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
297
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
298
+ }
299
+
300
+
301
+
302
+ localVarHeaderParameter['Content-Type'] = 'application/json';
303
+
304
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
305
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
306
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
307
+ localVarRequestOptions.data = serializeDataIfNeeded(updateBillingAddressRequestDto, localVarRequestOptions, configuration)
308
+
309
+ return {
310
+ url: toPathString(localVarUrlObj),
311
+ options: localVarRequestOptions,
312
+ };
313
+ },
314
+ }
315
+ };
316
+
317
+ /**
318
+ * BillingAddressesApi - functional programming interface
319
+ * @export
320
+ */
321
+ export const BillingAddressesApiFp = function(configuration?: Configuration) {
322
+ const localVarAxiosParamCreator = BillingAddressesApiAxiosParamCreator(configuration)
323
+ return {
324
+ /**
325
+ * This will create a new billing address for a specified account or partner **Required Permissions** \"payment-management.payments.create\"
326
+ * @summary Create the Billing Address
327
+ * @param {CreateBillingAddressRequestDto} createBillingAddressRequestDto
328
+ * @param {string} [authorization] Bearer Token
329
+ * @param {*} [options] Override http request option.
330
+ * @throws {RequiredError}
331
+ */
332
+ async createBillingAddress(createBillingAddressRequestDto: CreateBillingAddressRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateBillingAddressResponseClass>> {
333
+ const localVarAxiosArgs = await localVarAxiosParamCreator.createBillingAddress(createBillingAddressRequestDto, authorization, options);
334
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
335
+ },
336
+ /**
337
+ * Deletes a billing address by code **Required Permissions** \"payment-management.payments.delete\"
338
+ * @summary Delete the Billing Address
339
+ * @param {string} code Unique identifier for the object.
340
+ * @param {string} [authorization] Bearer Token
341
+ * @param {*} [options] Override http request option.
342
+ * @throws {RequiredError}
343
+ */
344
+ async deleteBillingAddress(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>> {
345
+ const localVarAxiosArgs = await localVarAxiosParamCreator.deleteBillingAddress(code, authorization, options);
346
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
347
+ },
348
+ /**
349
+ * 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\"
350
+ * @summary Retrieve the Billing Address
351
+ * @param {string} code
352
+ * @param {string} [authorization] Bearer Token
353
+ * @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;
354
+ * @param {*} [options] Override http request option.
355
+ * @throws {RequiredError}
356
+ */
357
+ async getBillingAddress(code: string, authorization?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetBillingAddressResponseClass>> {
358
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getBillingAddress(code, authorization, expand, options);
359
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
360
+ },
361
+ /**
362
+ * 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\"
363
+ * @summary List Billing Addresses
364
+ * @param {string} [authorization] Bearer Token
365
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
366
+ * @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.
367
+ * @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;
368
+ * @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;
369
+ * @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;
370
+ * @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;
371
+ * @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;
372
+ * @param {*} [options] Override http request option.
373
+ * @throws {RequiredError}
374
+ */
375
+ async 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>> {
376
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listBillingAddresses(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
377
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
378
+ },
379
+ /**
380
+ * Updates a billing address by code **Required Permissions** \"payment-management.payments.update\"
381
+ * @summary Update the Billing Address
382
+ * @param {string} code
383
+ * @param {UpdateBillingAddressRequestDto} updateBillingAddressRequestDto
384
+ * @param {string} [authorization] Bearer Token
385
+ * @param {*} [options] Override http request option.
386
+ * @throws {RequiredError}
387
+ */
388
+ async updateBillingAddress(code: string, updateBillingAddressRequestDto: UpdateBillingAddressRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateBillingAddressResponseClass>> {
389
+ const localVarAxiosArgs = await localVarAxiosParamCreator.updateBillingAddress(code, updateBillingAddressRequestDto, authorization, options);
390
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
391
+ },
392
+ }
393
+ };
394
+
395
+ /**
396
+ * BillingAddressesApi - factory interface
397
+ * @export
398
+ */
399
+ export const BillingAddressesApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
400
+ const localVarFp = BillingAddressesApiFp(configuration)
401
+ return {
402
+ /**
403
+ * This will create a new billing address for a specified account or partner **Required Permissions** \"payment-management.payments.create\"
404
+ * @summary Create the Billing Address
405
+ * @param {CreateBillingAddressRequestDto} createBillingAddressRequestDto
406
+ * @param {string} [authorization] Bearer Token
407
+ * @param {*} [options] Override http request option.
408
+ * @throws {RequiredError}
409
+ */
410
+ createBillingAddress(createBillingAddressRequestDto: CreateBillingAddressRequestDto, authorization?: string, options?: any): AxiosPromise<CreateBillingAddressResponseClass> {
411
+ return localVarFp.createBillingAddress(createBillingAddressRequestDto, authorization, options).then((request) => request(axios, basePath));
412
+ },
413
+ /**
414
+ * Deletes a billing address by code **Required Permissions** \"payment-management.payments.delete\"
415
+ * @summary Delete the Billing Address
416
+ * @param {string} code Unique identifier for the object.
417
+ * @param {string} [authorization] Bearer Token
418
+ * @param {*} [options] Override http request option.
419
+ * @throws {RequiredError}
420
+ */
421
+ deleteBillingAddress(code: string, authorization?: string, options?: any): AxiosPromise<object> {
422
+ return localVarFp.deleteBillingAddress(code, authorization, options).then((request) => request(axios, basePath));
423
+ },
424
+ /**
425
+ * 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\"
426
+ * @summary Retrieve the Billing Address
427
+ * @param {string} code
428
+ * @param {string} [authorization] Bearer Token
429
+ * @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;
430
+ * @param {*} [options] Override http request option.
431
+ * @throws {RequiredError}
432
+ */
433
+ getBillingAddress(code: string, authorization?: string, expand?: string, options?: any): AxiosPromise<GetBillingAddressResponseClass> {
434
+ return localVarFp.getBillingAddress(code, authorization, expand, options).then((request) => request(axios, basePath));
435
+ },
436
+ /**
437
+ * 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\"
438
+ * @summary List Billing Addresses
439
+ * @param {string} [authorization] Bearer Token
440
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
441
+ * @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.
442
+ * @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;
443
+ * @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;
444
+ * @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;
445
+ * @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;
446
+ * @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;
447
+ * @param {*} [options] Override http request option.
448
+ * @throws {RequiredError}
449
+ */
450
+ listBillingAddresses(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListBillingAddressesResponseClass> {
451
+ return localVarFp.listBillingAddresses(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
452
+ },
453
+ /**
454
+ * Updates a billing address by code **Required Permissions** \"payment-management.payments.update\"
455
+ * @summary Update the Billing Address
456
+ * @param {string} code
457
+ * @param {UpdateBillingAddressRequestDto} updateBillingAddressRequestDto
458
+ * @param {string} [authorization] Bearer Token
459
+ * @param {*} [options] Override http request option.
460
+ * @throws {RequiredError}
461
+ */
462
+ updateBillingAddress(code: string, updateBillingAddressRequestDto: UpdateBillingAddressRequestDto, authorization?: string, options?: any): AxiosPromise<UpdateBillingAddressResponseClass> {
463
+ return localVarFp.updateBillingAddress(code, updateBillingAddressRequestDto, authorization, options).then((request) => request(axios, basePath));
464
+ },
465
+ };
466
+ };
467
+
468
+ /**
469
+ * Request parameters for createBillingAddress operation in BillingAddressesApi.
470
+ * @export
471
+ * @interface BillingAddressesApiCreateBillingAddressRequest
472
+ */
473
+ export interface BillingAddressesApiCreateBillingAddressRequest {
474
+ /**
475
+ *
476
+ * @type {CreateBillingAddressRequestDto}
477
+ * @memberof BillingAddressesApiCreateBillingAddress
478
+ */
479
+ readonly createBillingAddressRequestDto: CreateBillingAddressRequestDto
480
+
481
+ /**
482
+ * Bearer Token
483
+ * @type {string}
484
+ * @memberof BillingAddressesApiCreateBillingAddress
485
+ */
486
+ readonly authorization?: string
487
+ }
488
+
489
+ /**
490
+ * Request parameters for deleteBillingAddress operation in BillingAddressesApi.
491
+ * @export
492
+ * @interface BillingAddressesApiDeleteBillingAddressRequest
493
+ */
494
+ export interface BillingAddressesApiDeleteBillingAddressRequest {
495
+ /**
496
+ * Unique identifier for the object.
497
+ * @type {string}
498
+ * @memberof BillingAddressesApiDeleteBillingAddress
499
+ */
500
+ readonly code: string
501
+
502
+ /**
503
+ * Bearer Token
504
+ * @type {string}
505
+ * @memberof BillingAddressesApiDeleteBillingAddress
506
+ */
507
+ readonly authorization?: string
508
+ }
509
+
510
+ /**
511
+ * Request parameters for getBillingAddress operation in BillingAddressesApi.
512
+ * @export
513
+ * @interface BillingAddressesApiGetBillingAddressRequest
514
+ */
515
+ export interface BillingAddressesApiGetBillingAddressRequest {
516
+ /**
517
+ *
518
+ * @type {string}
519
+ * @memberof BillingAddressesApiGetBillingAddress
520
+ */
521
+ readonly code: string
522
+
523
+ /**
524
+ * Bearer Token
525
+ * @type {string}
526
+ * @memberof BillingAddressesApiGetBillingAddress
527
+ */
528
+ readonly authorization?: string
529
+
530
+ /**
531
+ * 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;
532
+ * @type {string}
533
+ * @memberof BillingAddressesApiGetBillingAddress
534
+ */
535
+ readonly expand?: string
536
+ }
537
+
538
+ /**
539
+ * Request parameters for listBillingAddresses operation in BillingAddressesApi.
540
+ * @export
541
+ * @interface BillingAddressesApiListBillingAddressesRequest
542
+ */
543
+ export interface BillingAddressesApiListBillingAddressesRequest {
544
+ /**
545
+ * Bearer Token
546
+ * @type {string}
547
+ * @memberof BillingAddressesApiListBillingAddresses
548
+ */
549
+ readonly authorization?: string
550
+
551
+ /**
552
+ * A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
553
+ * @type {number}
554
+ * @memberof BillingAddressesApiListBillingAddresses
555
+ */
556
+ readonly pageSize?: number
557
+
558
+ /**
559
+ * 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.
560
+ * @type {string}
561
+ * @memberof BillingAddressesApiListBillingAddresses
562
+ */
563
+ readonly pageToken?: string
564
+
565
+ /**
566
+ * 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;
567
+ * @type {string}
568
+ * @memberof BillingAddressesApiListBillingAddresses
569
+ */
570
+ readonly filter?: string
571
+
572
+ /**
573
+ * 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;
574
+ * @type {string}
575
+ * @memberof BillingAddressesApiListBillingAddresses
576
+ */
577
+ readonly search?: string
578
+
579
+ /**
580
+ * 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;
581
+ * @type {string}
582
+ * @memberof BillingAddressesApiListBillingAddresses
583
+ */
584
+ readonly order?: string
585
+
586
+ /**
587
+ * 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;
588
+ * @type {string}
589
+ * @memberof BillingAddressesApiListBillingAddresses
590
+ */
591
+ readonly expand?: string
592
+
593
+ /**
594
+ * 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;
595
+ * @type {string}
596
+ * @memberof BillingAddressesApiListBillingAddresses
597
+ */
598
+ readonly filters?: string
599
+ }
600
+
601
+ /**
602
+ * Request parameters for updateBillingAddress operation in BillingAddressesApi.
603
+ * @export
604
+ * @interface BillingAddressesApiUpdateBillingAddressRequest
605
+ */
606
+ export interface BillingAddressesApiUpdateBillingAddressRequest {
607
+ /**
608
+ *
609
+ * @type {string}
610
+ * @memberof BillingAddressesApiUpdateBillingAddress
611
+ */
612
+ readonly code: string
613
+
614
+ /**
615
+ *
616
+ * @type {UpdateBillingAddressRequestDto}
617
+ * @memberof BillingAddressesApiUpdateBillingAddress
618
+ */
619
+ readonly updateBillingAddressRequestDto: UpdateBillingAddressRequestDto
620
+
621
+ /**
622
+ * Bearer Token
623
+ * @type {string}
624
+ * @memberof BillingAddressesApiUpdateBillingAddress
625
+ */
626
+ readonly authorization?: string
627
+ }
628
+
629
+ /**
630
+ * BillingAddressesApi - object-oriented interface
631
+ * @export
632
+ * @class BillingAddressesApi
633
+ * @extends {BaseAPI}
634
+ */
635
+ export class BillingAddressesApi extends BaseAPI {
636
+ /**
637
+ * This will create a new billing address for a specified account or partner **Required Permissions** \"payment-management.payments.create\"
638
+ * @summary Create the Billing Address
639
+ * @param {BillingAddressesApiCreateBillingAddressRequest} requestParameters Request parameters.
640
+ * @param {*} [options] Override http request option.
641
+ * @throws {RequiredError}
642
+ * @memberof BillingAddressesApi
643
+ */
644
+ public createBillingAddress(requestParameters: BillingAddressesApiCreateBillingAddressRequest, options?: AxiosRequestConfig) {
645
+ return BillingAddressesApiFp(this.configuration).createBillingAddress(requestParameters.createBillingAddressRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
646
+ }
647
+
648
+ /**
649
+ * Deletes a billing address by code **Required Permissions** \"payment-management.payments.delete\"
650
+ * @summary Delete the Billing Address
651
+ * @param {BillingAddressesApiDeleteBillingAddressRequest} requestParameters Request parameters.
652
+ * @param {*} [options] Override http request option.
653
+ * @throws {RequiredError}
654
+ * @memberof BillingAddressesApi
655
+ */
656
+ public deleteBillingAddress(requestParameters: BillingAddressesApiDeleteBillingAddressRequest, options?: AxiosRequestConfig) {
657
+ return BillingAddressesApiFp(this.configuration).deleteBillingAddress(requestParameters.code, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
658
+ }
659
+
660
+ /**
661
+ * 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\"
662
+ * @summary Retrieve the Billing Address
663
+ * @param {BillingAddressesApiGetBillingAddressRequest} requestParameters Request parameters.
664
+ * @param {*} [options] Override http request option.
665
+ * @throws {RequiredError}
666
+ * @memberof BillingAddressesApi
667
+ */
668
+ public getBillingAddress(requestParameters: BillingAddressesApiGetBillingAddressRequest, options?: AxiosRequestConfig) {
669
+ return BillingAddressesApiFp(this.configuration).getBillingAddress(requestParameters.code, requestParameters.authorization, requestParameters.expand, options).then((request) => request(this.axios, this.basePath));
670
+ }
671
+
672
+ /**
673
+ * 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\"
674
+ * @summary List Billing Addresses
675
+ * @param {BillingAddressesApiListBillingAddressesRequest} requestParameters Request parameters.
676
+ * @param {*} [options] Override http request option.
677
+ * @throws {RequiredError}
678
+ * @memberof BillingAddressesApi
679
+ */
680
+ public listBillingAddresses(requestParameters: BillingAddressesApiListBillingAddressesRequest = {}, options?: AxiosRequestConfig) {
681
+ return BillingAddressesApiFp(this.configuration).listBillingAddresses(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then((request) => request(this.axios, this.basePath));
682
+ }
683
+
684
+ /**
685
+ * Updates a billing address by code **Required Permissions** \"payment-management.payments.update\"
686
+ * @summary Update the Billing Address
687
+ * @param {BillingAddressesApiUpdateBillingAddressRequest} requestParameters Request parameters.
688
+ * @param {*} [options] Override http request option.
689
+ * @throws {RequiredError}
690
+ * @memberof BillingAddressesApi
691
+ */
692
+ public updateBillingAddress(requestParameters: BillingAddressesApiUpdateBillingAddressRequest, options?: AxiosRequestConfig) {
693
+ return BillingAddressesApiFp(this.configuration).updateBillingAddress(requestParameters.code, requestParameters.updateBillingAddressRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
694
+ }
695
+ }