@emilgroup/payment-sdk-node 1.21.1-beta.7 → 1.21.1-beta.71

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 (111) hide show
  1. package/.openapi-generator/FILES +11 -0
  2. package/README.md +2 -2
  3. package/api/bank-accounts-api.ts +55 -13
  4. package/api/bank-orders-api.ts +695 -0
  5. package/api/bank-transaction-api.ts +57 -29
  6. package/api/payment-methods-api.ts +59 -17
  7. package/api/payment-reminders-api.ts +55 -13
  8. package/api/payments-api.ts +59 -17
  9. package/api/refunds-api.ts +45 -17
  10. package/api/tenant-bank-account-api.ts +45 -17
  11. package/api.ts +2 -0
  12. package/base.ts +46 -4
  13. package/dist/api/bank-accounts-api.d.ts +35 -8
  14. package/dist/api/bank-accounts-api.js +29 -11
  15. package/dist/api/bank-orders-api.d.ts +393 -0
  16. package/dist/api/bank-orders-api.js +646 -0
  17. package/dist/api/bank-transaction-api.d.ts +40 -22
  18. package/dist/api/bank-transaction-api.js +33 -21
  19. package/dist/api/payment-methods-api.d.ts +39 -12
  20. package/dist/api/payment-methods-api.js +32 -14
  21. package/dist/api/payment-reminders-api.d.ts +35 -8
  22. package/dist/api/payment-reminders-api.js +29 -11
  23. package/dist/api/payments-api.d.ts +39 -12
  24. package/dist/api/payments-api.js +32 -14
  25. package/dist/api/refunds-api.d.ts +28 -10
  26. package/dist/api/refunds-api.js +24 -12
  27. package/dist/api/tenant-bank-account-api.d.ts +28 -10
  28. package/dist/api/tenant-bank-account-api.js +24 -12
  29. package/dist/api.d.ts +1 -0
  30. package/dist/api.js +1 -0
  31. package/dist/base.d.ts +11 -2
  32. package/dist/base.js +42 -3
  33. package/dist/models/bank-order-class.d.ts +115 -0
  34. package/dist/models/bank-order-class.js +15 -0
  35. package/dist/models/bank-transaction-class-without-expand-properties.d.ts +18 -0
  36. package/dist/models/bank-transaction-class-without-expand-properties.js +5 -0
  37. package/dist/models/bank-transaction-class.d.ts +18 -0
  38. package/dist/models/bank-transaction-class.js +5 -0
  39. package/dist/models/complete-adyen-payment-setup-request-dto.d.ts +1 -0
  40. package/dist/models/complete-adyen-payment-setup-request-dto.js +2 -1
  41. package/dist/models/complete-eis-payment-setup-request-dto.d.ts +36 -0
  42. package/dist/models/complete-eis-payment-setup-request-dto.js +15 -0
  43. package/dist/models/complete-payment-setup-request-dto.d.ts +7 -0
  44. package/dist/models/complete-stripe-payment-setup-request-dto.d.ts +1 -0
  45. package/dist/models/complete-stripe-payment-setup-request-dto.js +2 -1
  46. package/dist/models/create-bank-order-request-dto.d.ts +74 -0
  47. package/dist/models/create-bank-order-request-dto.js +28 -0
  48. package/dist/models/create-bank-order-response-class.d.ts +25 -0
  49. package/dist/models/create-bank-order-response-class.js +15 -0
  50. package/dist/models/create-payment-reminder-request-dto.d.ts +7 -1
  51. package/dist/models/create-payment-request-dto.d.ts +7 -1
  52. package/dist/models/create-psp-payment-method-request-dto.d.ts +14 -1
  53. package/dist/models/create-psp-payment-method-request-dto.js +2 -1
  54. package/dist/models/deactivated-payment-reminder-class.d.ts +7 -1
  55. package/dist/models/financial-account-class.d.ts +111 -0
  56. package/dist/models/financial-account-class.js +24 -0
  57. package/dist/models/get-bank-order-response-class.d.ts +25 -0
  58. package/dist/models/get-bank-order-response-class.js +15 -0
  59. package/dist/models/index.d.ts +10 -0
  60. package/dist/models/index.js +10 -0
  61. package/dist/models/initiate-adyen-payment-setup-request-dto.d.ts +6 -0
  62. package/dist/models/initiate-braintree-payment-setup-request-dto.d.ts +6 -0
  63. package/dist/models/initiate-eis-payment-setup-request-dto.d.ts +36 -0
  64. package/dist/models/initiate-eis-payment-setup-request-dto.js +15 -0
  65. package/dist/models/initiate-payment-setup-request-dto.d.ts +3 -2
  66. package/dist/models/initiate-stripe-payment-setup-request-dto.d.ts +6 -0
  67. package/dist/models/list-bank-orders-response-class.d.ts +31 -0
  68. package/dist/models/list-bank-orders-response-class.js +15 -0
  69. package/dist/models/payment-class-without-expand-properties.d.ts +7 -1
  70. package/dist/models/payment-class.d.ts +7 -1
  71. package/dist/models/payment-method-class.d.ts +6 -0
  72. package/dist/models/payment-reminder-class.d.ts +7 -1
  73. package/dist/models/refund-class.d.ts +7 -1
  74. package/dist/models/unlinked-bank-transaction-response-class.d.ts +18 -0
  75. package/dist/models/unlinked-bank-transaction-response-class.js +5 -0
  76. package/dist/models/update-bank-order-request-dto.d.ts +62 -0
  77. package/dist/models/update-bank-order-request-dto.js +23 -0
  78. package/dist/models/update-bank-order-response-class.d.ts +25 -0
  79. package/dist/models/update-bank-order-response-class.js +15 -0
  80. package/models/bank-order-class.ts +121 -0
  81. package/models/bank-transaction-class-without-expand-properties.ts +21 -0
  82. package/models/bank-transaction-class.ts +21 -0
  83. package/models/complete-adyen-payment-setup-request-dto.ts +2 -1
  84. package/models/complete-eis-payment-setup-request-dto.ts +42 -0
  85. package/models/complete-payment-setup-request-dto.ts +7 -0
  86. package/models/complete-stripe-payment-setup-request-dto.ts +2 -1
  87. package/models/create-bank-order-request-dto.ts +84 -0
  88. package/models/create-bank-order-response-class.ts +31 -0
  89. package/models/create-payment-reminder-request-dto.ts +7 -1
  90. package/models/create-payment-request-dto.ts +7 -1
  91. package/models/create-psp-payment-method-request-dto.ts +15 -2
  92. package/models/deactivated-payment-reminder-class.ts +7 -1
  93. package/models/financial-account-class.ts +120 -0
  94. package/models/get-bank-order-response-class.ts +31 -0
  95. package/models/index.ts +10 -0
  96. package/models/initiate-adyen-payment-setup-request-dto.ts +6 -0
  97. package/models/initiate-braintree-payment-setup-request-dto.ts +6 -0
  98. package/models/initiate-eis-payment-setup-request-dto.ts +42 -0
  99. package/models/initiate-payment-setup-request-dto.ts +3 -2
  100. package/models/initiate-stripe-payment-setup-request-dto.ts +6 -0
  101. package/models/list-bank-orders-response-class.ts +37 -0
  102. package/models/payment-class-without-expand-properties.ts +7 -1
  103. package/models/payment-class.ts +7 -1
  104. package/models/payment-method-class.ts +6 -0
  105. package/models/payment-reminder-class.ts +7 -1
  106. package/models/refund-class.ts +7 -1
  107. package/models/unlinked-bank-transaction-response-class.ts +21 -0
  108. package/models/update-bank-order-request-dto.ts +71 -0
  109. package/models/update-bank-order-response-class.ts +31 -0
  110. package/package.json +1 -1
  111. package/tsconfig.json +1 -0
@@ -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 { CreateBankOrderRequestDto } from '../models';
25
+ // @ts-ignore
26
+ import { CreateBankOrderResponseClass } from '../models';
27
+ // @ts-ignore
28
+ import { GetBankOrderResponseClass } from '../models';
29
+ // @ts-ignore
30
+ import { ListBankOrdersResponseClass } from '../models';
31
+ // @ts-ignore
32
+ import { UpdateBankOrderRequestDto } from '../models';
33
+ // @ts-ignore
34
+ import { UpdateBankOrderResponseClass } from '../models';
35
+ // URLSearchParams not necessarily used
36
+ // @ts-ignore
37
+ import { URL, URLSearchParams } from 'url';
38
+ const FormData = require('form-data');
39
+ /**
40
+ * BankOrdersApi - axios parameter creator
41
+ * @export
42
+ */
43
+ export const BankOrdersApiAxiosParamCreator = function (configuration?: Configuration) {
44
+ return {
45
+ /**
46
+ * This will create a bank order. **Required Permissions** \"payment-management.bank-orders.create\", \"accounting-management.financialaccounts.view\", \"billing-management.invoices.view\"
47
+ * @summary Create the bank order
48
+ * @param {CreateBankOrderRequestDto} createBankOrderRequestDto
49
+ * @param {string} [authorization] Bearer Token
50
+ * @param {*} [options] Override http request option.
51
+ * @throws {RequiredError}
52
+ */
53
+ createBankOrder: async (createBankOrderRequestDto: CreateBankOrderRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
54
+ // verify required parameter 'createBankOrderRequestDto' is not null or undefined
55
+ assertParamExists('createBankOrder', 'createBankOrderRequestDto', createBankOrderRequestDto)
56
+ const localVarPath = `/paymentservice/v1/bank-orders`;
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(createBankOrderRequestDto, localVarRequestOptions, configuration)
86
+
87
+ return {
88
+ url: toPathString(localVarUrlObj),
89
+ options: localVarRequestOptions,
90
+ };
91
+ },
92
+ /**
93
+ * Deletes a bank order by code. **Required Permissions** \"payment-management.bank-orders.delete\"
94
+ * @summary Delete the bank order
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
+ deleteBankOrder: async (code: string, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
101
+ // verify required parameter 'code' is not null or undefined
102
+ assertParamExists('deleteBankOrder', 'code', code)
103
+ const localVarPath = `/paymentservice/v1/bank-orders/{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 bank order that was previously created. Supply the unique bank order code that was returned when you created it and Emil Api will return the corresponding bank order information. **Required Permissions** \"payment-management.bank-orders.view\"
139
+ * @summary Retrieve the bank order
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: financialAccount&lt;i&gt;
143
+ * @param {*} [options] Override http request option.
144
+ * @throws {RequiredError}
145
+ */
146
+ getBankOrder: async (code: string, authorization?: string, expand?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
147
+ // verify required parameter 'code' is not null or undefined
148
+ assertParamExists('getBankOrder', 'code', code)
149
+ const localVarPath = `/paymentservice/v1/bank-orders/{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 bank orders you have previously created. The bank orders 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-orders.view\"
189
+ * @summary List bank orders
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, orderNumber, status, type, financialAccountCode&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: code, description, orderNumber, financialAccountCode&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, executionDate, dueDate, orderNumber, financialAccountCode, amount, 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: financialAccount&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, orderNumber, status, type, financialAccountCode&lt;/i&gt;
198
+ * @param {*} [options] Override http request option.
199
+ * @throws {RequiredError}
200
+ */
201
+ listBankOrders: 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/bank-orders`;
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
+ * Update a bank order by code **Required Permissions** \"payment-management.bank-orders.update\", \"billing-management.invoices.view\"
265
+ * @summary Update the bank order
266
+ * @param {string} code Unique identifier for the object.
267
+ * @param {UpdateBankOrderRequestDto} updateBankOrderRequestDto
268
+ * @param {string} [authorization] Bearer Token
269
+ * @param {*} [options] Override http request option.
270
+ * @throws {RequiredError}
271
+ */
272
+ updateBankOrder: async (code: string, updateBankOrderRequestDto: UpdateBankOrderRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
273
+ // verify required parameter 'code' is not null or undefined
274
+ assertParamExists('updateBankOrder', 'code', code)
275
+ // verify required parameter 'updateBankOrderRequestDto' is not null or undefined
276
+ assertParamExists('updateBankOrder', 'updateBankOrderRequestDto', updateBankOrderRequestDto)
277
+ const localVarPath = `/paymentservice/v1/bank-orders/{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(updateBankOrderRequestDto, localVarRequestOptions, configuration)
308
+
309
+ return {
310
+ url: toPathString(localVarUrlObj),
311
+ options: localVarRequestOptions,
312
+ };
313
+ },
314
+ }
315
+ };
316
+
317
+ /**
318
+ * BankOrdersApi - functional programming interface
319
+ * @export
320
+ */
321
+ export const BankOrdersApiFp = function(configuration?: Configuration) {
322
+ const localVarAxiosParamCreator = BankOrdersApiAxiosParamCreator(configuration)
323
+ return {
324
+ /**
325
+ * This will create a bank order. **Required Permissions** \"payment-management.bank-orders.create\", \"accounting-management.financialaccounts.view\", \"billing-management.invoices.view\"
326
+ * @summary Create the bank order
327
+ * @param {CreateBankOrderRequestDto} createBankOrderRequestDto
328
+ * @param {string} [authorization] Bearer Token
329
+ * @param {*} [options] Override http request option.
330
+ * @throws {RequiredError}
331
+ */
332
+ async createBankOrder(createBankOrderRequestDto: CreateBankOrderRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateBankOrderResponseClass>> {
333
+ const localVarAxiosArgs = await localVarAxiosParamCreator.createBankOrder(createBankOrderRequestDto, authorization, options);
334
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
335
+ },
336
+ /**
337
+ * Deletes a bank order by code. **Required Permissions** \"payment-management.bank-orders.delete\"
338
+ * @summary Delete the bank order
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 deleteBankOrder(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>> {
345
+ const localVarAxiosArgs = await localVarAxiosParamCreator.deleteBankOrder(code, authorization, options);
346
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
347
+ },
348
+ /**
349
+ * Retrieves the details of the bank order that was previously created. Supply the unique bank order code that was returned when you created it and Emil Api will return the corresponding bank order information. **Required Permissions** \"payment-management.bank-orders.view\"
350
+ * @summary Retrieve the bank order
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: financialAccount&lt;i&gt;
354
+ * @param {*} [options] Override http request option.
355
+ * @throws {RequiredError}
356
+ */
357
+ async getBankOrder(code: string, authorization?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetBankOrderResponseClass>> {
358
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getBankOrder(code, authorization, expand, options);
359
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
360
+ },
361
+ /**
362
+ * Returns a list of bank orders you have previously created. The bank orders 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-orders.view\"
363
+ * @summary List bank orders
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, orderNumber, status, type, financialAccountCode&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: code, description, orderNumber, financialAccountCode&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, executionDate, dueDate, orderNumber, financialAccountCode, amount, 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: financialAccount&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, orderNumber, status, type, financialAccountCode&lt;/i&gt;
372
+ * @param {*} [options] Override http request option.
373
+ * @throws {RequiredError}
374
+ */
375
+ async listBankOrders(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListBankOrdersResponseClass>> {
376
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listBankOrders(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
377
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
378
+ },
379
+ /**
380
+ * Update a bank order by code **Required Permissions** \"payment-management.bank-orders.update\", \"billing-management.invoices.view\"
381
+ * @summary Update the bank order
382
+ * @param {string} code Unique identifier for the object.
383
+ * @param {UpdateBankOrderRequestDto} updateBankOrderRequestDto
384
+ * @param {string} [authorization] Bearer Token
385
+ * @param {*} [options] Override http request option.
386
+ * @throws {RequiredError}
387
+ */
388
+ async updateBankOrder(code: string, updateBankOrderRequestDto: UpdateBankOrderRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateBankOrderResponseClass>> {
389
+ const localVarAxiosArgs = await localVarAxiosParamCreator.updateBankOrder(code, updateBankOrderRequestDto, authorization, options);
390
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
391
+ },
392
+ }
393
+ };
394
+
395
+ /**
396
+ * BankOrdersApi - factory interface
397
+ * @export
398
+ */
399
+ export const BankOrdersApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
400
+ const localVarFp = BankOrdersApiFp(configuration)
401
+ return {
402
+ /**
403
+ * This will create a bank order. **Required Permissions** \"payment-management.bank-orders.create\", \"accounting-management.financialaccounts.view\", \"billing-management.invoices.view\"
404
+ * @summary Create the bank order
405
+ * @param {CreateBankOrderRequestDto} createBankOrderRequestDto
406
+ * @param {string} [authorization] Bearer Token
407
+ * @param {*} [options] Override http request option.
408
+ * @throws {RequiredError}
409
+ */
410
+ createBankOrder(createBankOrderRequestDto: CreateBankOrderRequestDto, authorization?: string, options?: any): AxiosPromise<CreateBankOrderResponseClass> {
411
+ return localVarFp.createBankOrder(createBankOrderRequestDto, authorization, options).then((request) => request(axios, basePath));
412
+ },
413
+ /**
414
+ * Deletes a bank order by code. **Required Permissions** \"payment-management.bank-orders.delete\"
415
+ * @summary Delete the bank order
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
+ deleteBankOrder(code: string, authorization?: string, options?: any): AxiosPromise<object> {
422
+ return localVarFp.deleteBankOrder(code, authorization, options).then((request) => request(axios, basePath));
423
+ },
424
+ /**
425
+ * Retrieves the details of the bank order that was previously created. Supply the unique bank order code that was returned when you created it and Emil Api will return the corresponding bank order information. **Required Permissions** \"payment-management.bank-orders.view\"
426
+ * @summary Retrieve the bank order
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: financialAccount&lt;i&gt;
430
+ * @param {*} [options] Override http request option.
431
+ * @throws {RequiredError}
432
+ */
433
+ getBankOrder(code: string, authorization?: string, expand?: string, options?: any): AxiosPromise<GetBankOrderResponseClass> {
434
+ return localVarFp.getBankOrder(code, authorization, expand, options).then((request) => request(axios, basePath));
435
+ },
436
+ /**
437
+ * Returns a list of bank orders you have previously created. The bank orders 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-orders.view\"
438
+ * @summary List bank orders
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, orderNumber, status, type, financialAccountCode&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: code, description, orderNumber, financialAccountCode&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, executionDate, dueDate, orderNumber, financialAccountCode, amount, 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: financialAccount&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, orderNumber, status, type, financialAccountCode&lt;/i&gt;
447
+ * @param {*} [options] Override http request option.
448
+ * @throws {RequiredError}
449
+ */
450
+ listBankOrders(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListBankOrdersResponseClass> {
451
+ return localVarFp.listBankOrders(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
452
+ },
453
+ /**
454
+ * Update a bank order by code **Required Permissions** \"payment-management.bank-orders.update\", \"billing-management.invoices.view\"
455
+ * @summary Update the bank order
456
+ * @param {string} code Unique identifier for the object.
457
+ * @param {UpdateBankOrderRequestDto} updateBankOrderRequestDto
458
+ * @param {string} [authorization] Bearer Token
459
+ * @param {*} [options] Override http request option.
460
+ * @throws {RequiredError}
461
+ */
462
+ updateBankOrder(code: string, updateBankOrderRequestDto: UpdateBankOrderRequestDto, authorization?: string, options?: any): AxiosPromise<UpdateBankOrderResponseClass> {
463
+ return localVarFp.updateBankOrder(code, updateBankOrderRequestDto, authorization, options).then((request) => request(axios, basePath));
464
+ },
465
+ };
466
+ };
467
+
468
+ /**
469
+ * Request parameters for createBankOrder operation in BankOrdersApi.
470
+ * @export
471
+ * @interface BankOrdersApiCreateBankOrderRequest
472
+ */
473
+ export interface BankOrdersApiCreateBankOrderRequest {
474
+ /**
475
+ *
476
+ * @type {CreateBankOrderRequestDto}
477
+ * @memberof BankOrdersApiCreateBankOrder
478
+ */
479
+ readonly createBankOrderRequestDto: CreateBankOrderRequestDto
480
+
481
+ /**
482
+ * Bearer Token
483
+ * @type {string}
484
+ * @memberof BankOrdersApiCreateBankOrder
485
+ */
486
+ readonly authorization?: string
487
+ }
488
+
489
+ /**
490
+ * Request parameters for deleteBankOrder operation in BankOrdersApi.
491
+ * @export
492
+ * @interface BankOrdersApiDeleteBankOrderRequest
493
+ */
494
+ export interface BankOrdersApiDeleteBankOrderRequest {
495
+ /**
496
+ * Unique identifier for the object.
497
+ * @type {string}
498
+ * @memberof BankOrdersApiDeleteBankOrder
499
+ */
500
+ readonly code: string
501
+
502
+ /**
503
+ * Bearer Token
504
+ * @type {string}
505
+ * @memberof BankOrdersApiDeleteBankOrder
506
+ */
507
+ readonly authorization?: string
508
+ }
509
+
510
+ /**
511
+ * Request parameters for getBankOrder operation in BankOrdersApi.
512
+ * @export
513
+ * @interface BankOrdersApiGetBankOrderRequest
514
+ */
515
+ export interface BankOrdersApiGetBankOrderRequest {
516
+ /**
517
+ *
518
+ * @type {string}
519
+ * @memberof BankOrdersApiGetBankOrder
520
+ */
521
+ readonly code: string
522
+
523
+ /**
524
+ * Bearer Token
525
+ * @type {string}
526
+ * @memberof BankOrdersApiGetBankOrder
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: financialAccount&lt;i&gt;
532
+ * @type {string}
533
+ * @memberof BankOrdersApiGetBankOrder
534
+ */
535
+ readonly expand?: string
536
+ }
537
+
538
+ /**
539
+ * Request parameters for listBankOrders operation in BankOrdersApi.
540
+ * @export
541
+ * @interface BankOrdersApiListBankOrdersRequest
542
+ */
543
+ export interface BankOrdersApiListBankOrdersRequest {
544
+ /**
545
+ * Bearer Token
546
+ * @type {string}
547
+ * @memberof BankOrdersApiListBankOrders
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 BankOrdersApiListBankOrders
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 BankOrdersApiListBankOrders
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, orderNumber, status, type, financialAccountCode&lt;/i&gt;
567
+ * @type {string}
568
+ * @memberof BankOrdersApiListBankOrders
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: code, description, orderNumber, financialAccountCode&lt;/i&gt;
574
+ * @type {string}
575
+ * @memberof BankOrdersApiListBankOrders
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, executionDate, dueDate, orderNumber, financialAccountCode, amount, createdAt, updatedAt&lt;/i&gt;
581
+ * @type {string}
582
+ * @memberof BankOrdersApiListBankOrders
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: financialAccount&lt;i&gt;
588
+ * @type {string}
589
+ * @memberof BankOrdersApiListBankOrders
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, orderNumber, status, type, financialAccountCode&lt;/i&gt;
595
+ * @type {string}
596
+ * @memberof BankOrdersApiListBankOrders
597
+ */
598
+ readonly filters?: string
599
+ }
600
+
601
+ /**
602
+ * Request parameters for updateBankOrder operation in BankOrdersApi.
603
+ * @export
604
+ * @interface BankOrdersApiUpdateBankOrderRequest
605
+ */
606
+ export interface BankOrdersApiUpdateBankOrderRequest {
607
+ /**
608
+ * Unique identifier for the object.
609
+ * @type {string}
610
+ * @memberof BankOrdersApiUpdateBankOrder
611
+ */
612
+ readonly code: string
613
+
614
+ /**
615
+ *
616
+ * @type {UpdateBankOrderRequestDto}
617
+ * @memberof BankOrdersApiUpdateBankOrder
618
+ */
619
+ readonly updateBankOrderRequestDto: UpdateBankOrderRequestDto
620
+
621
+ /**
622
+ * Bearer Token
623
+ * @type {string}
624
+ * @memberof BankOrdersApiUpdateBankOrder
625
+ */
626
+ readonly authorization?: string
627
+ }
628
+
629
+ /**
630
+ * BankOrdersApi - object-oriented interface
631
+ * @export
632
+ * @class BankOrdersApi
633
+ * @extends {BaseAPI}
634
+ */
635
+ export class BankOrdersApi extends BaseAPI {
636
+ /**
637
+ * This will create a bank order. **Required Permissions** \"payment-management.bank-orders.create\", \"accounting-management.financialaccounts.view\", \"billing-management.invoices.view\"
638
+ * @summary Create the bank order
639
+ * @param {BankOrdersApiCreateBankOrderRequest} requestParameters Request parameters.
640
+ * @param {*} [options] Override http request option.
641
+ * @throws {RequiredError}
642
+ * @memberof BankOrdersApi
643
+ */
644
+ public createBankOrder(requestParameters: BankOrdersApiCreateBankOrderRequest, options?: AxiosRequestConfig) {
645
+ return BankOrdersApiFp(this.configuration).createBankOrder(requestParameters.createBankOrderRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
646
+ }
647
+
648
+ /**
649
+ * Deletes a bank order by code. **Required Permissions** \"payment-management.bank-orders.delete\"
650
+ * @summary Delete the bank order
651
+ * @param {BankOrdersApiDeleteBankOrderRequest} requestParameters Request parameters.
652
+ * @param {*} [options] Override http request option.
653
+ * @throws {RequiredError}
654
+ * @memberof BankOrdersApi
655
+ */
656
+ public deleteBankOrder(requestParameters: BankOrdersApiDeleteBankOrderRequest, options?: AxiosRequestConfig) {
657
+ return BankOrdersApiFp(this.configuration).deleteBankOrder(requestParameters.code, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
658
+ }
659
+
660
+ /**
661
+ * Retrieves the details of the bank order that was previously created. Supply the unique bank order code that was returned when you created it and Emil Api will return the corresponding bank order information. **Required Permissions** \"payment-management.bank-orders.view\"
662
+ * @summary Retrieve the bank order
663
+ * @param {BankOrdersApiGetBankOrderRequest} requestParameters Request parameters.
664
+ * @param {*} [options] Override http request option.
665
+ * @throws {RequiredError}
666
+ * @memberof BankOrdersApi
667
+ */
668
+ public getBankOrder(requestParameters: BankOrdersApiGetBankOrderRequest, options?: AxiosRequestConfig) {
669
+ return BankOrdersApiFp(this.configuration).getBankOrder(requestParameters.code, requestParameters.authorization, requestParameters.expand, options).then((request) => request(this.axios, this.basePath));
670
+ }
671
+
672
+ /**
673
+ * Returns a list of bank orders you have previously created. The bank orders 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-orders.view\"
674
+ * @summary List bank orders
675
+ * @param {BankOrdersApiListBankOrdersRequest} requestParameters Request parameters.
676
+ * @param {*} [options] Override http request option.
677
+ * @throws {RequiredError}
678
+ * @memberof BankOrdersApi
679
+ */
680
+ public listBankOrders(requestParameters: BankOrdersApiListBankOrdersRequest = {}, options?: AxiosRequestConfig) {
681
+ return BankOrdersApiFp(this.configuration).listBankOrders(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
+ * Update a bank order by code **Required Permissions** \"payment-management.bank-orders.update\", \"billing-management.invoices.view\"
686
+ * @summary Update the bank order
687
+ * @param {BankOrdersApiUpdateBankOrderRequest} requestParameters Request parameters.
688
+ * @param {*} [options] Override http request option.
689
+ * @throws {RequiredError}
690
+ * @memberof BankOrdersApi
691
+ */
692
+ public updateBankOrder(requestParameters: BankOrdersApiUpdateBankOrderRequest, options?: AxiosRequestConfig) {
693
+ return BankOrdersApiFp(this.configuration).updateBankOrder(requestParameters.code, requestParameters.updateBankOrderRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
694
+ }
695
+ }