@emilgroup/payment-sdk-node 1.21.1-beta.12 → 1.21.1-beta.14

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 (46) hide show
  1. package/.openapi-generator/FILES +8 -0
  2. package/README.md +2 -2
  3. package/api/bank-orders-api.ts +636 -0
  4. package/api.ts +2 -0
  5. package/dist/api/bank-accounts-api.js +20 -53
  6. package/dist/api/bank-orders-api.d.ts +356 -0
  7. package/dist/api/bank-orders-api.js +621 -0
  8. package/dist/api/bank-transaction-api.js +20 -53
  9. package/dist/api/health-check-api.js +5 -18
  10. package/dist/api/payment-methods-api.js +11 -32
  11. package/dist/api/payment-reminders-api.js +14 -39
  12. package/dist/api/payment-setup-api.js +8 -25
  13. package/dist/api/payments-api.js +11 -32
  14. package/dist/api/refunds-api.js +11 -32
  15. package/dist/api/tenant-bank-account-api.js +17 -46
  16. package/dist/api/webhooks-api.js +5 -18
  17. package/dist/api.d.ts +1 -0
  18. package/dist/api.js +1 -0
  19. package/dist/base.js +15 -25
  20. package/dist/common.d.ts +1 -1
  21. package/dist/common.js +2 -2
  22. package/dist/models/bank-order-class.d.ts +115 -0
  23. package/dist/models/bank-order-class.js +15 -0
  24. package/dist/models/create-bank-order-request-dto.d.ts +80 -0
  25. package/dist/models/create-bank-order-request-dto.js +28 -0
  26. package/dist/models/create-bank-order-response-class.d.ts +25 -0
  27. package/dist/models/create-bank-order-response-class.js +15 -0
  28. package/dist/models/get-bank-order-response-class.d.ts +25 -0
  29. package/dist/models/get-bank-order-response-class.js +15 -0
  30. package/dist/models/index.d.ts +7 -0
  31. package/dist/models/index.js +7 -0
  32. package/dist/models/list-bank-orders-response-class.d.ts +31 -0
  33. package/dist/models/list-bank-orders-response-class.js +15 -0
  34. package/dist/models/update-bank-order-request-dto.d.ts +68 -0
  35. package/dist/models/update-bank-order-request-dto.js +23 -0
  36. package/dist/models/update-bank-order-response-class.d.ts +25 -0
  37. package/dist/models/update-bank-order-response-class.js +15 -0
  38. package/models/bank-order-class.ts +121 -0
  39. package/models/create-bank-order-request-dto.ts +90 -0
  40. package/models/create-bank-order-response-class.ts +31 -0
  41. package/models/get-bank-order-response-class.ts +31 -0
  42. package/models/index.ts +7 -0
  43. package/models/list-bank-orders-response-class.ts +37 -0
  44. package/models/update-bank-order-request-dto.ts +77 -0
  45. package/models/update-bank-order-response-class.ts +31 -0
  46. package/package.json +4 -4
@@ -48,8 +48,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
48
48
  });
49
49
  };
50
50
  var __generator = (this && this.__generator) || function (thisArg, body) {
51
- var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
52
- return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
51
+ var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
52
+ return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
53
53
  function verb(n) { return function (v) { return step([n, v]); }; }
54
54
  function step(op) {
55
55
  if (f) throw new TypeError("Generator is already executing.");
@@ -74,15 +74,6 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
74
74
  if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
75
75
  }
76
76
  };
77
- var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
78
- if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
79
- if (ar || !(i in from)) {
80
- if (!ar) ar = Array.prototype.slice.call(from, 0, i);
81
- ar[i] = from[i];
82
- }
83
- }
84
- return to.concat(ar || Array.prototype.slice.call(from));
85
- };
86
77
  var __importDefault = (this && this.__importDefault) || function (mod) {
87
78
  return (mod && mod.__esModule) ? mod : { "default": mod };
88
79
  };
@@ -113,14 +104,10 @@ var BankAccountsApiAxiosParamCreator = function (configuration) {
113
104
  * @param {*} [options] Override http request option.
114
105
  * @throws {RequiredError}
115
106
  */
116
- createBankAccount: function (createBankAccountRequestDto_1, authorization_1) {
117
- var args_1 = [];
118
- for (var _i = 2; _i < arguments.length; _i++) {
119
- args_1[_i - 2] = arguments[_i];
120
- }
121
- return __awaiter(_this, __spreadArray([createBankAccountRequestDto_1, authorization_1], args_1, true), void 0, function (createBankAccountRequestDto, authorization, options) {
107
+ createBankAccount: function (createBankAccountRequestDto, authorization, options) {
108
+ if (options === void 0) { options = {}; }
109
+ return __awaiter(_this, void 0, void 0, function () {
122
110
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
123
- if (options === void 0) { options = {}; }
124
111
  return __generator(this, function (_a) {
125
112
  switch (_a.label) {
126
113
  case 0:
@@ -166,14 +153,10 @@ var BankAccountsApiAxiosParamCreator = function (configuration) {
166
153
  * @param {*} [options] Override http request option.
167
154
  * @throws {RequiredError}
168
155
  */
169
- deleteBankAccount: function (code_1, authorization_1) {
170
- var args_1 = [];
171
- for (var _i = 2; _i < arguments.length; _i++) {
172
- args_1[_i - 2] = arguments[_i];
173
- }
174
- return __awaiter(_this, __spreadArray([code_1, authorization_1], args_1, true), void 0, function (code, authorization, options) {
156
+ deleteBankAccount: function (code, authorization, options) {
157
+ if (options === void 0) { options = {}; }
158
+ return __awaiter(_this, void 0, void 0, function () {
175
159
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
176
- if (options === void 0) { options = {}; }
177
160
  return __generator(this, function (_a) {
178
161
  switch (_a.label) {
179
162
  case 0:
@@ -219,14 +202,10 @@ var BankAccountsApiAxiosParamCreator = function (configuration) {
219
202
  * @param {*} [options] Override http request option.
220
203
  * @throws {RequiredError}
221
204
  */
222
- getBankAccount: function (code_1, authorization_1, expand_1) {
223
- var args_1 = [];
224
- for (var _i = 3; _i < arguments.length; _i++) {
225
- args_1[_i - 3] = arguments[_i];
226
- }
227
- return __awaiter(_this, __spreadArray([code_1, authorization_1, expand_1], args_1, true), void 0, function (code, authorization, expand, options) {
205
+ getBankAccount: function (code, authorization, expand, options) {
206
+ if (options === void 0) { options = {}; }
207
+ return __awaiter(_this, void 0, void 0, function () {
228
208
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
229
- if (options === void 0) { options = {}; }
230
209
  return __generator(this, function (_a) {
231
210
  switch (_a.label) {
232
211
  case 0:
@@ -277,14 +256,10 @@ var BankAccountsApiAxiosParamCreator = function (configuration) {
277
256
  * @param {*} [options] Override http request option.
278
257
  * @throws {RequiredError}
279
258
  */
280
- listBankAccounts: function (authorization_1, filter_1, filters_1, order_1, expand_1) {
281
- var args_1 = [];
282
- for (var _i = 5; _i < arguments.length; _i++) {
283
- args_1[_i - 5] = arguments[_i];
284
- }
285
- return __awaiter(_this, __spreadArray([authorization_1, filter_1, filters_1, order_1, expand_1], args_1, true), void 0, function (authorization, filter, filters, order, expand, options) {
259
+ listBankAccounts: function (authorization, filter, filters, order, expand, options) {
260
+ if (options === void 0) { options = {}; }
261
+ return __awaiter(_this, void 0, void 0, function () {
286
262
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
287
- if (options === void 0) { options = {}; }
288
263
  return __generator(this, function (_a) {
289
264
  switch (_a.label) {
290
265
  case 0:
@@ -339,14 +314,10 @@ var BankAccountsApiAxiosParamCreator = function (configuration) {
339
314
  * @param {*} [options] Override http request option.
340
315
  * @throws {RequiredError}
341
316
  */
342
- setPrimaryBankAccount: function (code_1, setPrimaryBankAccountRequestDtoRest_1, authorization_1) {
343
- var args_1 = [];
344
- for (var _i = 3; _i < arguments.length; _i++) {
345
- args_1[_i - 3] = arguments[_i];
346
- }
347
- return __awaiter(_this, __spreadArray([code_1, setPrimaryBankAccountRequestDtoRest_1, authorization_1], args_1, true), void 0, function (code, setPrimaryBankAccountRequestDtoRest, authorization, options) {
317
+ setPrimaryBankAccount: function (code, setPrimaryBankAccountRequestDtoRest, authorization, options) {
318
+ if (options === void 0) { options = {}; }
319
+ return __awaiter(_this, void 0, void 0, function () {
348
320
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
349
- if (options === void 0) { options = {}; }
350
321
  return __generator(this, function (_a) {
351
322
  switch (_a.label) {
352
323
  case 0:
@@ -396,14 +367,10 @@ var BankAccountsApiAxiosParamCreator = function (configuration) {
396
367
  * @param {*} [options] Override http request option.
397
368
  * @throws {RequiredError}
398
369
  */
399
- updateBankAccount: function (code_1, updateBankAccountRequestDtoRest_1, authorization_1) {
400
- var args_1 = [];
401
- for (var _i = 3; _i < arguments.length; _i++) {
402
- args_1[_i - 3] = arguments[_i];
403
- }
404
- return __awaiter(_this, __spreadArray([code_1, updateBankAccountRequestDtoRest_1, authorization_1], args_1, true), void 0, function (code, updateBankAccountRequestDtoRest, authorization, options) {
370
+ updateBankAccount: function (code, updateBankAccountRequestDtoRest, authorization, options) {
371
+ if (options === void 0) { options = {}; }
372
+ return __awaiter(_this, void 0, void 0, function () {
405
373
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
406
- if (options === void 0) { options = {}; }
407
374
  return __generator(this, function (_a) {
408
375
  switch (_a.label) {
409
376
  case 0:
@@ -0,0 +1,356 @@
1
+ /**
2
+ * Emil Payment Service
3
+ * This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ * Contact: kontakt@emil.de
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
13
+ import { Configuration } from '../configuration';
14
+ import { RequestArgs, BaseAPI } from '../base';
15
+ import { CreateBankOrderRequestDto } from '../models';
16
+ import { CreateBankOrderResponseClass } from '../models';
17
+ import { GetBankOrderResponseClass } from '../models';
18
+ import { ListBankOrdersResponseClass } from '../models';
19
+ import { UpdateBankOrderResponseClass } from '../models';
20
+ /**
21
+ * BankOrdersApi - axios parameter creator
22
+ * @export
23
+ */
24
+ export declare const BankOrdersApiAxiosParamCreator: (configuration?: Configuration) => {
25
+ /**
26
+ * This will create a bank order. **Required Permissions** \"payment-management.bank-accounts.create\"
27
+ * @summary Create the bank order
28
+ * @param {CreateBankOrderRequestDto} createBankOrderRequestDto
29
+ * @param {string} [authorization] Bearer Token
30
+ * @param {*} [options] Override http request option.
31
+ * @throws {RequiredError}
32
+ */
33
+ createBankOrder: (createBankOrderRequestDto: CreateBankOrderRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
34
+ /**
35
+ * Deletes a bank order by code. **Required Permissions** \"payment-management.bank-accounts.delete\"
36
+ * @summary Delete the bank order
37
+ * @param {string} code Unique identifier for the object.
38
+ * @param {string} [authorization] Bearer Token
39
+ * @param {*} [options] Override http request option.
40
+ * @throws {RequiredError}
41
+ */
42
+ deleteBankOrder: (code: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
43
+ /**
44
+ * 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-accounts.view\"
45
+ * @summary Retrieve the bank order
46
+ * @param {string} code
47
+ * @param {string} [authorization] Bearer Token
48
+ * @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: bankAccount&lt;i&gt;
49
+ * @param {*} [options] Override http request option.
50
+ * @throws {RequiredError}
51
+ */
52
+ getBankOrder: (code: string, authorization?: string, expand?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
53
+ /**
54
+ * 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-accounts.view\"
55
+ * @summary List bank orders
56
+ * @param {string} [authorization] Bearer Token
57
+ * @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, bankAccountId&lt;/i&gt;
58
+ * @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, bankAccountId&lt;/i&gt;
59
+ * @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, bankAccountId, amount, createdAt, updatedAt&lt;/i&gt;
60
+ * @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: bankAccount&lt;i&gt;
61
+ * @param {*} [options] Override http request option.
62
+ * @throws {RequiredError}
63
+ */
64
+ listBankOrders: (authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
65
+ /**
66
+ * Update a bank order by code **Required Permissions** \"payment-management.bank-accounts.update\"
67
+ * @summary Update the bank order
68
+ * @param {string} code Unique identifier for the object.
69
+ * @param {string} [authorization] Bearer Token
70
+ * @param {*} [options] Override http request option.
71
+ * @throws {RequiredError}
72
+ */
73
+ updateBankOrder: (code: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
74
+ };
75
+ /**
76
+ * BankOrdersApi - functional programming interface
77
+ * @export
78
+ */
79
+ export declare const BankOrdersApiFp: (configuration?: Configuration) => {
80
+ /**
81
+ * This will create a bank order. **Required Permissions** \"payment-management.bank-accounts.create\"
82
+ * @summary Create the bank order
83
+ * @param {CreateBankOrderRequestDto} createBankOrderRequestDto
84
+ * @param {string} [authorization] Bearer Token
85
+ * @param {*} [options] Override http request option.
86
+ * @throws {RequiredError}
87
+ */
88
+ createBankOrder(createBankOrderRequestDto: CreateBankOrderRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateBankOrderResponseClass>>;
89
+ /**
90
+ * Deletes a bank order by code. **Required Permissions** \"payment-management.bank-accounts.delete\"
91
+ * @summary Delete the bank order
92
+ * @param {string} code Unique identifier for the object.
93
+ * @param {string} [authorization] Bearer Token
94
+ * @param {*} [options] Override http request option.
95
+ * @throws {RequiredError}
96
+ */
97
+ deleteBankOrder(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
98
+ /**
99
+ * 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-accounts.view\"
100
+ * @summary Retrieve the bank order
101
+ * @param {string} code
102
+ * @param {string} [authorization] Bearer Token
103
+ * @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: bankAccount&lt;i&gt;
104
+ * @param {*} [options] Override http request option.
105
+ * @throws {RequiredError}
106
+ */
107
+ getBankOrder(code: string, authorization?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetBankOrderResponseClass>>;
108
+ /**
109
+ * 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-accounts.view\"
110
+ * @summary List bank orders
111
+ * @param {string} [authorization] Bearer Token
112
+ * @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, bankAccountId&lt;/i&gt;
113
+ * @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, bankAccountId&lt;/i&gt;
114
+ * @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, bankAccountId, amount, createdAt, updatedAt&lt;/i&gt;
115
+ * @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: bankAccount&lt;i&gt;
116
+ * @param {*} [options] Override http request option.
117
+ * @throws {RequiredError}
118
+ */
119
+ listBankOrders(authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListBankOrdersResponseClass>>;
120
+ /**
121
+ * Update a bank order by code **Required Permissions** \"payment-management.bank-accounts.update\"
122
+ * @summary Update the bank order
123
+ * @param {string} code Unique identifier for the object.
124
+ * @param {string} [authorization] Bearer Token
125
+ * @param {*} [options] Override http request option.
126
+ * @throws {RequiredError}
127
+ */
128
+ updateBankOrder(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateBankOrderResponseClass>>;
129
+ };
130
+ /**
131
+ * BankOrdersApi - factory interface
132
+ * @export
133
+ */
134
+ export declare const BankOrdersApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
135
+ /**
136
+ * This will create a bank order. **Required Permissions** \"payment-management.bank-accounts.create\"
137
+ * @summary Create the bank order
138
+ * @param {CreateBankOrderRequestDto} createBankOrderRequestDto
139
+ * @param {string} [authorization] Bearer Token
140
+ * @param {*} [options] Override http request option.
141
+ * @throws {RequiredError}
142
+ */
143
+ createBankOrder(createBankOrderRequestDto: CreateBankOrderRequestDto, authorization?: string, options?: any): AxiosPromise<CreateBankOrderResponseClass>;
144
+ /**
145
+ * Deletes a bank order by code. **Required Permissions** \"payment-management.bank-accounts.delete\"
146
+ * @summary Delete the bank order
147
+ * @param {string} code Unique identifier for the object.
148
+ * @param {string} [authorization] Bearer Token
149
+ * @param {*} [options] Override http request option.
150
+ * @throws {RequiredError}
151
+ */
152
+ deleteBankOrder(code: string, authorization?: string, options?: any): AxiosPromise<object>;
153
+ /**
154
+ * 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-accounts.view\"
155
+ * @summary Retrieve the bank order
156
+ * @param {string} code
157
+ * @param {string} [authorization] Bearer Token
158
+ * @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: bankAccount&lt;i&gt;
159
+ * @param {*} [options] Override http request option.
160
+ * @throws {RequiredError}
161
+ */
162
+ getBankOrder(code: string, authorization?: string, expand?: string, options?: any): AxiosPromise<GetBankOrderResponseClass>;
163
+ /**
164
+ * 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-accounts.view\"
165
+ * @summary List bank orders
166
+ * @param {string} [authorization] Bearer Token
167
+ * @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, bankAccountId&lt;/i&gt;
168
+ * @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, bankAccountId&lt;/i&gt;
169
+ * @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, bankAccountId, amount, createdAt, updatedAt&lt;/i&gt;
170
+ * @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: bankAccount&lt;i&gt;
171
+ * @param {*} [options] Override http request option.
172
+ * @throws {RequiredError}
173
+ */
174
+ listBankOrders(authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options?: any): AxiosPromise<ListBankOrdersResponseClass>;
175
+ /**
176
+ * Update a bank order by code **Required Permissions** \"payment-management.bank-accounts.update\"
177
+ * @summary Update the bank order
178
+ * @param {string} code Unique identifier for the object.
179
+ * @param {string} [authorization] Bearer Token
180
+ * @param {*} [options] Override http request option.
181
+ * @throws {RequiredError}
182
+ */
183
+ updateBankOrder(code: string, authorization?: string, options?: any): AxiosPromise<UpdateBankOrderResponseClass>;
184
+ };
185
+ /**
186
+ * Request parameters for createBankOrder operation in BankOrdersApi.
187
+ * @export
188
+ * @interface BankOrdersApiCreateBankOrderRequest
189
+ */
190
+ export interface BankOrdersApiCreateBankOrderRequest {
191
+ /**
192
+ *
193
+ * @type {CreateBankOrderRequestDto}
194
+ * @memberof BankOrdersApiCreateBankOrder
195
+ */
196
+ readonly createBankOrderRequestDto: CreateBankOrderRequestDto;
197
+ /**
198
+ * Bearer Token
199
+ * @type {string}
200
+ * @memberof BankOrdersApiCreateBankOrder
201
+ */
202
+ readonly authorization?: string;
203
+ }
204
+ /**
205
+ * Request parameters for deleteBankOrder operation in BankOrdersApi.
206
+ * @export
207
+ * @interface BankOrdersApiDeleteBankOrderRequest
208
+ */
209
+ export interface BankOrdersApiDeleteBankOrderRequest {
210
+ /**
211
+ * Unique identifier for the object.
212
+ * @type {string}
213
+ * @memberof BankOrdersApiDeleteBankOrder
214
+ */
215
+ readonly code: string;
216
+ /**
217
+ * Bearer Token
218
+ * @type {string}
219
+ * @memberof BankOrdersApiDeleteBankOrder
220
+ */
221
+ readonly authorization?: string;
222
+ }
223
+ /**
224
+ * Request parameters for getBankOrder operation in BankOrdersApi.
225
+ * @export
226
+ * @interface BankOrdersApiGetBankOrderRequest
227
+ */
228
+ export interface BankOrdersApiGetBankOrderRequest {
229
+ /**
230
+ *
231
+ * @type {string}
232
+ * @memberof BankOrdersApiGetBankOrder
233
+ */
234
+ readonly code: string;
235
+ /**
236
+ * Bearer Token
237
+ * @type {string}
238
+ * @memberof BankOrdersApiGetBankOrder
239
+ */
240
+ readonly authorization?: string;
241
+ /**
242
+ * 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: bankAccount&lt;i&gt;
243
+ * @type {string}
244
+ * @memberof BankOrdersApiGetBankOrder
245
+ */
246
+ readonly expand?: string;
247
+ }
248
+ /**
249
+ * Request parameters for listBankOrders operation in BankOrdersApi.
250
+ * @export
251
+ * @interface BankOrdersApiListBankOrdersRequest
252
+ */
253
+ export interface BankOrdersApiListBankOrdersRequest {
254
+ /**
255
+ * Bearer Token
256
+ * @type {string}
257
+ * @memberof BankOrdersApiListBankOrders
258
+ */
259
+ readonly authorization?: string;
260
+ /**
261
+ * 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, bankAccountId&lt;/i&gt;
262
+ * @type {string}
263
+ * @memberof BankOrdersApiListBankOrders
264
+ */
265
+ readonly filter?: string;
266
+ /**
267
+ * 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, bankAccountId&lt;/i&gt;
268
+ * @type {string}
269
+ * @memberof BankOrdersApiListBankOrders
270
+ */
271
+ readonly filters?: string;
272
+ /**
273
+ * 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, bankAccountId, amount, createdAt, updatedAt&lt;/i&gt;
274
+ * @type {string}
275
+ * @memberof BankOrdersApiListBankOrders
276
+ */
277
+ readonly order?: string;
278
+ /**
279
+ * 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: bankAccount&lt;i&gt;
280
+ * @type {string}
281
+ * @memberof BankOrdersApiListBankOrders
282
+ */
283
+ readonly expand?: string;
284
+ }
285
+ /**
286
+ * Request parameters for updateBankOrder operation in BankOrdersApi.
287
+ * @export
288
+ * @interface BankOrdersApiUpdateBankOrderRequest
289
+ */
290
+ export interface BankOrdersApiUpdateBankOrderRequest {
291
+ /**
292
+ * Unique identifier for the object.
293
+ * @type {string}
294
+ * @memberof BankOrdersApiUpdateBankOrder
295
+ */
296
+ readonly code: string;
297
+ /**
298
+ * Bearer Token
299
+ * @type {string}
300
+ * @memberof BankOrdersApiUpdateBankOrder
301
+ */
302
+ readonly authorization?: string;
303
+ }
304
+ /**
305
+ * BankOrdersApi - object-oriented interface
306
+ * @export
307
+ * @class BankOrdersApi
308
+ * @extends {BaseAPI}
309
+ */
310
+ export declare class BankOrdersApi extends BaseAPI {
311
+ /**
312
+ * This will create a bank order. **Required Permissions** \"payment-management.bank-accounts.create\"
313
+ * @summary Create the bank order
314
+ * @param {BankOrdersApiCreateBankOrderRequest} requestParameters Request parameters.
315
+ * @param {*} [options] Override http request option.
316
+ * @throws {RequiredError}
317
+ * @memberof BankOrdersApi
318
+ */
319
+ createBankOrder(requestParameters: BankOrdersApiCreateBankOrderRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateBankOrderResponseClass, any>>;
320
+ /**
321
+ * Deletes a bank order by code. **Required Permissions** \"payment-management.bank-accounts.delete\"
322
+ * @summary Delete the bank order
323
+ * @param {BankOrdersApiDeleteBankOrderRequest} requestParameters Request parameters.
324
+ * @param {*} [options] Override http request option.
325
+ * @throws {RequiredError}
326
+ * @memberof BankOrdersApi
327
+ */
328
+ deleteBankOrder(requestParameters: BankOrdersApiDeleteBankOrderRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any>>;
329
+ /**
330
+ * 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-accounts.view\"
331
+ * @summary Retrieve the bank order
332
+ * @param {BankOrdersApiGetBankOrderRequest} requestParameters Request parameters.
333
+ * @param {*} [options] Override http request option.
334
+ * @throws {RequiredError}
335
+ * @memberof BankOrdersApi
336
+ */
337
+ getBankOrder(requestParameters: BankOrdersApiGetBankOrderRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetBankOrderResponseClass, any>>;
338
+ /**
339
+ * 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-accounts.view\"
340
+ * @summary List bank orders
341
+ * @param {BankOrdersApiListBankOrdersRequest} requestParameters Request parameters.
342
+ * @param {*} [options] Override http request option.
343
+ * @throws {RequiredError}
344
+ * @memberof BankOrdersApi
345
+ */
346
+ listBankOrders(requestParameters?: BankOrdersApiListBankOrdersRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListBankOrdersResponseClass, any>>;
347
+ /**
348
+ * Update a bank order by code **Required Permissions** \"payment-management.bank-accounts.update\"
349
+ * @summary Update the bank order
350
+ * @param {BankOrdersApiUpdateBankOrderRequest} requestParameters Request parameters.
351
+ * @param {*} [options] Override http request option.
352
+ * @throws {RequiredError}
353
+ * @memberof BankOrdersApi
354
+ */
355
+ updateBankOrder(requestParameters: BankOrdersApiUpdateBankOrderRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdateBankOrderResponseClass, any>>;
356
+ }