@emilgroup/payment-sdk-node 1.28.1-beta.36 → 1.28.1-beta.37

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 (66) hide show
  1. package/.openapi-generator/FILES +6 -0
  2. package/README.md +2 -2
  3. package/api/bank-orders-api.ts +8 -8
  4. package/api/exceeding-credits-api.ts +107 -0
  5. package/api/jobs-api.ts +169 -0
  6. package/api/payment-requests-api.ts +12 -12
  7. package/api.ts +2 -0
  8. package/dist/api/bank-orders-api.d.ts +8 -8
  9. package/dist/api/bank-orders-api.js +6 -6
  10. package/dist/api/exceeding-credits-api.d.ts +57 -0
  11. package/dist/api/exceeding-credits-api.js +93 -0
  12. package/dist/api/jobs-api.d.ts +97 -0
  13. package/dist/api/jobs-api.js +228 -0
  14. package/dist/api/payment-requests-api.d.ts +12 -12
  15. package/dist/api/payment-requests-api.js +9 -9
  16. package/dist/api.d.ts +1 -0
  17. package/dist/api.js +1 -0
  18. package/dist/models/create-exceeding-credit-request-dto.d.ts +48 -0
  19. package/dist/models/create-exceeding-credit-request-dto.js +15 -0
  20. package/dist/models/create-exceeding-credit-response-class.d.ts +25 -0
  21. package/dist/models/create-exceeding-credit-response-class.js +15 -0
  22. package/dist/models/create-payment-request-request-dto.d.ts +12 -0
  23. package/dist/models/credit-allocation-class.d.ts +6 -0
  24. package/dist/models/credit-allocation-entity.d.ts +6 -0
  25. package/dist/models/index.d.ts +5 -0
  26. package/dist/models/index.js +5 -0
  27. package/dist/models/list-billing-addresses-response-class.d.ts +9 -9
  28. package/dist/models/list-exceeding-credits-response-class.d.ts +6 -18
  29. package/dist/models/list-payment-receipts-response-class.d.ts +9 -9
  30. package/dist/models/list-payment-requests-response-class.d.ts +6 -18
  31. package/dist/models/list-payout-methods-response-class.d.ts +9 -9
  32. package/dist/models/list-refunds-response-class.d.ts +6 -18
  33. package/dist/models/payment-class-without-expand-properties.d.ts +1 -1
  34. package/dist/models/payment-class.d.ts +1 -1
  35. package/dist/models/payment-entity.d.ts +1 -1
  36. package/dist/models/payment-request-class.d.ts +12 -0
  37. package/dist/models/run-job-grpc-request-dto.d.ts +63 -0
  38. package/dist/models/run-job-grpc-request-dto.js +23 -0
  39. package/dist/models/run-job-request-dto.d.ts +63 -0
  40. package/dist/models/run-job-request-dto.js +23 -0
  41. package/dist/models/run-job-response-class.d.ts +24 -0
  42. package/dist/models/run-job-response-class.js +15 -0
  43. package/dist/models/shared-transaction-class.d.ts +6 -0
  44. package/dist/models/transaction-entity.d.ts +6 -0
  45. package/models/create-exceeding-credit-request-dto.ts +54 -0
  46. package/models/create-exceeding-credit-response-class.ts +31 -0
  47. package/models/create-payment-request-request-dto.ts +12 -0
  48. package/models/credit-allocation-class.ts +6 -0
  49. package/models/credit-allocation-entity.ts +6 -0
  50. package/models/index.ts +5 -0
  51. package/models/list-billing-addresses-response-class.ts +9 -9
  52. package/models/list-exceeding-credits-response-class.ts +6 -18
  53. package/models/list-payment-receipts-response-class.ts +9 -9
  54. package/models/list-payment-requests-response-class.ts +6 -18
  55. package/models/list-payout-methods-response-class.ts +9 -9
  56. package/models/list-refunds-response-class.ts +6 -18
  57. package/models/payment-class-without-expand-properties.ts +1 -1
  58. package/models/payment-class.ts +1 -1
  59. package/models/payment-entity.ts +1 -1
  60. package/models/payment-request-class.ts +12 -0
  61. package/models/run-job-grpc-request-dto.ts +73 -0
  62. package/models/run-job-request-dto.ts +73 -0
  63. package/models/run-job-response-class.ts +30 -0
  64. package/models/shared-transaction-class.ts +6 -0
  65. package/models/transaction-entity.ts +6 -0
  66. package/package.json +1 -1
@@ -11,6 +11,7 @@ api/credit-allocation-api.ts
11
11
  api/exceeding-credits-api.ts
12
12
  api/health-check-api.ts
13
13
  api/ibanvalidator-api.ts
14
+ api/jobs-api.ts
14
15
  api/payment-methods-api.ts
15
16
  api/payment-receipts-api.ts
16
17
  api/payment-reminders-api.ts
@@ -60,6 +61,8 @@ models/create-billing-address-request-dto.ts
60
61
  models/create-billing-address-response-class.ts
61
62
  models/create-credit-allocation-request-dto.ts
62
63
  models/create-credit-allocation-response-class.ts
64
+ models/create-exceeding-credit-request-dto.ts
65
+ models/create-exceeding-credit-response-class.ts
63
66
  models/create-payment-method-response-class.ts
64
67
  models/create-payment-order-dto.ts
65
68
  models/create-payment-order-request-dto.ts
@@ -152,6 +155,9 @@ models/policy-payment-method-class.ts
152
155
  models/primary-bank-account-response-class.ts
153
156
  models/refund-class.ts
154
157
  models/refund-item-class.ts
158
+ models/run-job-grpc-request-dto.ts
159
+ models/run-job-request-dto.ts
160
+ models/run-job-response-class.ts
155
161
  models/sepa-direct-dto.ts
156
162
  models/set-primary-bank-account-request-dto-rest.ts
157
163
  models/shared-transaction-class.ts
package/README.md CHANGED
@@ -17,11 +17,11 @@ Although this package can be used in both TypeScript and JavaScript, it is inten
17
17
  Navigate to the folder of your consuming project and run one of the following commands:
18
18
 
19
19
  ```
20
- npm install @emilgroup/payment-sdk-node@1.28.1-beta.36 --save
20
+ npm install @emilgroup/payment-sdk-node@1.28.1-beta.37 --save
21
21
  ```
22
22
  or
23
23
  ```
24
- yarn add @emilgroup/payment-sdk-node@1.28.1-beta.36
24
+ yarn add @emilgroup/payment-sdk-node@1.28.1-beta.37
25
25
  ```
26
26
 
27
27
  And then you can import `PaymentsApi`.
@@ -190,11 +190,11 @@ export const BankOrdersApiAxiosParamCreator = function (configuration?: Configur
190
190
  * @param {string} [authorization] Bearer Token
191
191
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
192
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=1, your subsequent call can include pageToken=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.<br/> <br/> <i>Allowed values: id, code, orderNumber, status, type, tenantBankAccountCode</i>
193
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, orderNumber, status, type, tenantBankAccountCode, entityCodes</i>
194
194
  * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: code, description, orderNumber, tenantBankAccountCode</i>
195
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.<br/> <br/> <i>Allowed values: id, executionDate, dueDate, orderNumber, tenantBankAccountCode, amount, createdAt, updatedAt</i>
196
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.<br/> <br/> <i>Allowed values: tenantBankAccount, xmlFile<i>
197
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, orderNumber, status, type, tenantBankAccountCode</i>
197
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, orderNumber, status, type, tenantBankAccountCode, entityCodes</i>
198
198
  * @param {*} [options] Override http request option.
199
199
  * @throws {RequiredError}
200
200
  */
@@ -364,11 +364,11 @@ export const BankOrdersApiFp = function(configuration?: Configuration) {
364
364
  * @param {string} [authorization] Bearer Token
365
365
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
366
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=1, your subsequent call can include pageToken=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.<br/> <br/> <i>Allowed values: id, code, orderNumber, status, type, tenantBankAccountCode</i>
367
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, orderNumber, status, type, tenantBankAccountCode, entityCodes</i>
368
368
  * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: code, description, orderNumber, tenantBankAccountCode</i>
369
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.<br/> <br/> <i>Allowed values: id, executionDate, dueDate, orderNumber, tenantBankAccountCode, amount, createdAt, updatedAt</i>
370
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.<br/> <br/> <i>Allowed values: tenantBankAccount, xmlFile<i>
371
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, orderNumber, status, type, tenantBankAccountCode</i>
371
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, orderNumber, status, type, tenantBankAccountCode, entityCodes</i>
372
372
  * @param {*} [options] Override http request option.
373
373
  * @throws {RequiredError}
374
374
  */
@@ -439,11 +439,11 @@ export const BankOrdersApiFactory = function (configuration?: Configuration, bas
439
439
  * @param {string} [authorization] Bearer Token
440
440
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
441
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=1, your subsequent call can include pageToken=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.<br/> <br/> <i>Allowed values: id, code, orderNumber, status, type, tenantBankAccountCode</i>
442
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, orderNumber, status, type, tenantBankAccountCode, entityCodes</i>
443
443
  * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: code, description, orderNumber, tenantBankAccountCode</i>
444
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.<br/> <br/> <i>Allowed values: id, executionDate, dueDate, orderNumber, tenantBankAccountCode, amount, createdAt, updatedAt</i>
445
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.<br/> <br/> <i>Allowed values: tenantBankAccount, xmlFile<i>
446
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, orderNumber, status, type, tenantBankAccountCode</i>
446
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, orderNumber, status, type, tenantBankAccountCode, entityCodes</i>
447
447
  * @param {*} [options] Override http request option.
448
448
  * @throws {RequiredError}
449
449
  */
@@ -563,7 +563,7 @@ export interface BankOrdersApiListBankOrdersRequest {
563
563
  readonly pageToken?: string
564
564
 
565
565
  /**
566
- * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, orderNumber, status, type, tenantBankAccountCode</i>
566
+ * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, orderNumber, status, type, tenantBankAccountCode, entityCodes</i>
567
567
  * @type {string}
568
568
  * @memberof BankOrdersApiListBankOrders
569
569
  */
@@ -591,7 +591,7 @@ export interface BankOrdersApiListBankOrdersRequest {
591
591
  readonly expand?: string
592
592
 
593
593
  /**
594
- * Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, orderNumber, status, type, tenantBankAccountCode</i>
594
+ * Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, orderNumber, status, type, tenantBankAccountCode, entityCodes</i>
595
595
  * @type {string}
596
596
  * @memberof BankOrdersApiListBankOrders
597
597
  */
@@ -21,6 +21,10 @@ import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObj
21
21
  // @ts-ignore
22
22
  import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from '../base';
23
23
  // @ts-ignore
24
+ import { CreateExceedingCreditRequestDto } from '../models';
25
+ // @ts-ignore
26
+ import { CreateExceedingCreditResponseClass } from '../models';
27
+ // @ts-ignore
24
28
  import { GetExceedingCreditResponseClass } from '../models';
25
29
  // @ts-ignore
26
30
  import { ListExceedingCreditsResponseClass } from '../models';
@@ -34,6 +38,53 @@ const FormData = require('form-data');
34
38
  */
35
39
  export const ExceedingCreditsApiAxiosParamCreator = function (configuration?: Configuration) {
36
40
  return {
41
+ /**
42
+ * Create an exceeding credit for a bank transaction that exceeds the invoiced amount. **Required Permissions** \"payment-management.payments.create\"
43
+ * @summary Create the exceeding credit
44
+ * @param {CreateExceedingCreditRequestDto} createExceedingCreditRequestDto
45
+ * @param {string} [authorization] Bearer Token
46
+ * @param {*} [options] Override http request option.
47
+ * @throws {RequiredError}
48
+ */
49
+ createExceedingCredit: async (createExceedingCreditRequestDto: CreateExceedingCreditRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
50
+ // verify required parameter 'createExceedingCreditRequestDto' is not null or undefined
51
+ assertParamExists('createExceedingCredit', 'createExceedingCreditRequestDto', createExceedingCreditRequestDto)
52
+ const localVarPath = `/paymentservice/v1/exceeding-credits`;
53
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
54
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
55
+ let baseOptions;
56
+ let baseAccessToken;
57
+ if (configuration) {
58
+ baseOptions = configuration.baseOptions;
59
+ baseAccessToken = configuration.accessToken;
60
+ }
61
+
62
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
63
+ const localVarHeaderParameter = {} as any;
64
+ const localVarQueryParameter = {} as any;
65
+
66
+ // authentication bearer required
67
+ // http bearer authentication required
68
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
69
+
70
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
71
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
72
+ }
73
+
74
+
75
+
76
+ localVarHeaderParameter['Content-Type'] = 'application/json';
77
+
78
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
79
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
80
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
81
+ localVarRequestOptions.data = serializeDataIfNeeded(createExceedingCreditRequestDto, localVarRequestOptions, configuration)
82
+
83
+ return {
84
+ url: toPathString(localVarUrlObj),
85
+ options: localVarRequestOptions,
86
+ };
87
+ },
37
88
  /**
38
89
  * Retrieves the details of the exceeding credit that was previously created. Supply the unique exceeding credit code that was returned when you created it and Emil Api will return the corresponding exceeding credit information. **Required Permissions** \"payment-management.payments.view\"
39
90
  * @summary Retrieve the exceeding credit
@@ -165,6 +216,18 @@ export const ExceedingCreditsApiAxiosParamCreator = function (configuration?: Co
165
216
  export const ExceedingCreditsApiFp = function(configuration?: Configuration) {
166
217
  const localVarAxiosParamCreator = ExceedingCreditsApiAxiosParamCreator(configuration)
167
218
  return {
219
+ /**
220
+ * Create an exceeding credit for a bank transaction that exceeds the invoiced amount. **Required Permissions** \"payment-management.payments.create\"
221
+ * @summary Create the exceeding credit
222
+ * @param {CreateExceedingCreditRequestDto} createExceedingCreditRequestDto
223
+ * @param {string} [authorization] Bearer Token
224
+ * @param {*} [options] Override http request option.
225
+ * @throws {RequiredError}
226
+ */
227
+ async createExceedingCredit(createExceedingCreditRequestDto: CreateExceedingCreditRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateExceedingCreditResponseClass>> {
228
+ const localVarAxiosArgs = await localVarAxiosParamCreator.createExceedingCredit(createExceedingCreditRequestDto, authorization, options);
229
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
230
+ },
168
231
  /**
169
232
  * Retrieves the details of the exceeding credit that was previously created. Supply the unique exceeding credit code that was returned when you created it and Emil Api will return the corresponding exceeding credit information. **Required Permissions** \"payment-management.payments.view\"
170
233
  * @summary Retrieve the exceeding credit
@@ -205,6 +268,17 @@ export const ExceedingCreditsApiFp = function(configuration?: Configuration) {
205
268
  export const ExceedingCreditsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
206
269
  const localVarFp = ExceedingCreditsApiFp(configuration)
207
270
  return {
271
+ /**
272
+ * Create an exceeding credit for a bank transaction that exceeds the invoiced amount. **Required Permissions** \"payment-management.payments.create\"
273
+ * @summary Create the exceeding credit
274
+ * @param {CreateExceedingCreditRequestDto} createExceedingCreditRequestDto
275
+ * @param {string} [authorization] Bearer Token
276
+ * @param {*} [options] Override http request option.
277
+ * @throws {RequiredError}
278
+ */
279
+ createExceedingCredit(createExceedingCreditRequestDto: CreateExceedingCreditRequestDto, authorization?: string, options?: any): AxiosPromise<CreateExceedingCreditResponseClass> {
280
+ return localVarFp.createExceedingCredit(createExceedingCreditRequestDto, authorization, options).then((request) => request(axios, basePath));
281
+ },
208
282
  /**
209
283
  * Retrieves the details of the exceeding credit that was previously created. Supply the unique exceeding credit code that was returned when you created it and Emil Api will return the corresponding exceeding credit information. **Required Permissions** \"payment-management.payments.view\"
210
284
  * @summary Retrieve the exceeding credit
@@ -236,6 +310,27 @@ export const ExceedingCreditsApiFactory = function (configuration?: Configuratio
236
310
  };
237
311
  };
238
312
 
313
+ /**
314
+ * Request parameters for createExceedingCredit operation in ExceedingCreditsApi.
315
+ * @export
316
+ * @interface ExceedingCreditsApiCreateExceedingCreditRequest
317
+ */
318
+ export interface ExceedingCreditsApiCreateExceedingCreditRequest {
319
+ /**
320
+ *
321
+ * @type {CreateExceedingCreditRequestDto}
322
+ * @memberof ExceedingCreditsApiCreateExceedingCredit
323
+ */
324
+ readonly createExceedingCreditRequestDto: CreateExceedingCreditRequestDto
325
+
326
+ /**
327
+ * Bearer Token
328
+ * @type {string}
329
+ * @memberof ExceedingCreditsApiCreateExceedingCredit
330
+ */
331
+ readonly authorization?: string
332
+ }
333
+
239
334
  /**
240
335
  * Request parameters for getExceedingCredit operation in ExceedingCreditsApi.
241
336
  * @export
@@ -327,6 +422,18 @@ export interface ExceedingCreditsApiListExceedingCreditsRequest {
327
422
  * @extends {BaseAPI}
328
423
  */
329
424
  export class ExceedingCreditsApi extends BaseAPI {
425
+ /**
426
+ * Create an exceeding credit for a bank transaction that exceeds the invoiced amount. **Required Permissions** \"payment-management.payments.create\"
427
+ * @summary Create the exceeding credit
428
+ * @param {ExceedingCreditsApiCreateExceedingCreditRequest} requestParameters Request parameters.
429
+ * @param {*} [options] Override http request option.
430
+ * @throws {RequiredError}
431
+ * @memberof ExceedingCreditsApi
432
+ */
433
+ public createExceedingCredit(requestParameters: ExceedingCreditsApiCreateExceedingCreditRequest, options?: AxiosRequestConfig) {
434
+ return ExceedingCreditsApiFp(this.configuration).createExceedingCredit(requestParameters.createExceedingCreditRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
435
+ }
436
+
330
437
  /**
331
438
  * Retrieves the details of the exceeding credit that was previously created. Supply the unique exceeding credit code that was returned when you created it and Emil Api will return the corresponding exceeding credit information. **Required Permissions** \"payment-management.payments.view\"
332
439
  * @summary Retrieve the exceeding credit
@@ -0,0 +1,169 @@
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 { RunJobRequestDto } from '../models';
25
+ // @ts-ignore
26
+ import { RunJobResponseClass } from '../models';
27
+ // URLSearchParams not necessarily used
28
+ // @ts-ignore
29
+ import { URL, URLSearchParams } from 'url';
30
+ const FormData = require('form-data');
31
+ /**
32
+ * JobsApi - axios parameter creator
33
+ * @export
34
+ */
35
+ export const JobsApiAxiosParamCreator = function (configuration?: Configuration) {
36
+ return {
37
+ /**
38
+ * Starts one of the payment jobs for the current tenant immediately, instead of waiting for its schedule. The job runs in the background; the call returns as soon as the run is accepted. **Required Permissions** \"payment-management.bank-orders.run\"
39
+ * @summary Create the job run
40
+ * @param {RunJobRequestDto} runJobRequestDto
41
+ * @param {string} [authorization] Bearer Token
42
+ * @param {*} [options] Override http request option.
43
+ * @throws {RequiredError}
44
+ */
45
+ runJob: async (runJobRequestDto: RunJobRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
46
+ // verify required parameter 'runJobRequestDto' is not null or undefined
47
+ assertParamExists('runJob', 'runJobRequestDto', runJobRequestDto)
48
+ const localVarPath = `/paymentservice/v1/jobs/run`;
49
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
50
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
51
+ let baseOptions;
52
+ let baseAccessToken;
53
+ if (configuration) {
54
+ baseOptions = configuration.baseOptions;
55
+ baseAccessToken = configuration.accessToken;
56
+ }
57
+
58
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
59
+ const localVarHeaderParameter = {} as any;
60
+ const localVarQueryParameter = {} as any;
61
+
62
+ // authentication bearer required
63
+ // http bearer authentication required
64
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
65
+
66
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
67
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
68
+ }
69
+
70
+
71
+
72
+ localVarHeaderParameter['Content-Type'] = 'application/json';
73
+
74
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
75
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
76
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
77
+ localVarRequestOptions.data = serializeDataIfNeeded(runJobRequestDto, localVarRequestOptions, configuration)
78
+
79
+ return {
80
+ url: toPathString(localVarUrlObj),
81
+ options: localVarRequestOptions,
82
+ };
83
+ },
84
+ }
85
+ };
86
+
87
+ /**
88
+ * JobsApi - functional programming interface
89
+ * @export
90
+ */
91
+ export const JobsApiFp = function(configuration?: Configuration) {
92
+ const localVarAxiosParamCreator = JobsApiAxiosParamCreator(configuration)
93
+ return {
94
+ /**
95
+ * Starts one of the payment jobs for the current tenant immediately, instead of waiting for its schedule. The job runs in the background; the call returns as soon as the run is accepted. **Required Permissions** \"payment-management.bank-orders.run\"
96
+ * @summary Create the job run
97
+ * @param {RunJobRequestDto} runJobRequestDto
98
+ * @param {string} [authorization] Bearer Token
99
+ * @param {*} [options] Override http request option.
100
+ * @throws {RequiredError}
101
+ */
102
+ async runJob(runJobRequestDto: RunJobRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RunJobResponseClass>> {
103
+ const localVarAxiosArgs = await localVarAxiosParamCreator.runJob(runJobRequestDto, authorization, options);
104
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
105
+ },
106
+ }
107
+ };
108
+
109
+ /**
110
+ * JobsApi - factory interface
111
+ * @export
112
+ */
113
+ export const JobsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
114
+ const localVarFp = JobsApiFp(configuration)
115
+ return {
116
+ /**
117
+ * Starts one of the payment jobs for the current tenant immediately, instead of waiting for its schedule. The job runs in the background; the call returns as soon as the run is accepted. **Required Permissions** \"payment-management.bank-orders.run\"
118
+ * @summary Create the job run
119
+ * @param {RunJobRequestDto} runJobRequestDto
120
+ * @param {string} [authorization] Bearer Token
121
+ * @param {*} [options] Override http request option.
122
+ * @throws {RequiredError}
123
+ */
124
+ runJob(runJobRequestDto: RunJobRequestDto, authorization?: string, options?: any): AxiosPromise<RunJobResponseClass> {
125
+ return localVarFp.runJob(runJobRequestDto, authorization, options).then((request) => request(axios, basePath));
126
+ },
127
+ };
128
+ };
129
+
130
+ /**
131
+ * Request parameters for runJob operation in JobsApi.
132
+ * @export
133
+ * @interface JobsApiRunJobRequest
134
+ */
135
+ export interface JobsApiRunJobRequest {
136
+ /**
137
+ *
138
+ * @type {RunJobRequestDto}
139
+ * @memberof JobsApiRunJob
140
+ */
141
+ readonly runJobRequestDto: RunJobRequestDto
142
+
143
+ /**
144
+ * Bearer Token
145
+ * @type {string}
146
+ * @memberof JobsApiRunJob
147
+ */
148
+ readonly authorization?: string
149
+ }
150
+
151
+ /**
152
+ * JobsApi - object-oriented interface
153
+ * @export
154
+ * @class JobsApi
155
+ * @extends {BaseAPI}
156
+ */
157
+ export class JobsApi extends BaseAPI {
158
+ /**
159
+ * Starts one of the payment jobs for the current tenant immediately, instead of waiting for its schedule. The job runs in the background; the call returns as soon as the run is accepted. **Required Permissions** \"payment-management.bank-orders.run\"
160
+ * @summary Create the job run
161
+ * @param {JobsApiRunJobRequest} requestParameters Request parameters.
162
+ * @param {*} [options] Override http request option.
163
+ * @throws {RequiredError}
164
+ * @memberof JobsApi
165
+ */
166
+ public runJob(requestParameters: JobsApiRunJobRequest, options?: AxiosRequestConfig) {
167
+ return JobsApiFp(this.configuration).runJob(requestParameters.runJobRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
168
+ }
169
+ }
@@ -192,11 +192,11 @@ export const PaymentRequestsApiAxiosParamCreator = function (configuration?: Con
192
192
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
193
193
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
194
194
  * @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.
195
- * @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, paymentRequestNumber, status, direction, financialEntityType, domainEntityType, paymentMethodPsp, paymentMethodType, createdAt&lt;/i&gt;
196
- * @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, paymentRequestNumber, financialEntityCode, financialEntityNumber, domainEntityCode, domainEntityNumber&lt;/i&gt;
195
+ * @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, paymentRequestNumber, status, direction, financialEntityType, domainEntityType, paymentMethodPsp, paymentMethodType, createdAt, settlementCode&lt;/i&gt;
196
+ * @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, paymentRequestNumber, financialEntityCode, financialEntityNumber, domainEntityCode, domainEntityNumber, settlementCode&lt;/i&gt;
197
197
  * @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, paymentRequestNumber, financialEntityNumber, domainEntityNumber, createdAt, status&lt;/i&gt;
198
198
  * @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: paymentReceipts&lt;i&gt;
199
- * @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, paymentRequestNumber, status, direction, financialEntityType, domainEntityType, paymentMethodPsp, paymentMethodType, createdAt&lt;/i&gt;
199
+ * @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, paymentRequestNumber, status, direction, financialEntityType, domainEntityType, paymentMethodPsp, paymentMethodType, createdAt, settlementCode&lt;/i&gt;
200
200
  * @param {*} [options] Override http request option.
201
201
  * @throws {RequiredError}
202
202
  */
@@ -366,11 +366,11 @@ export const PaymentRequestsApiFp = function(configuration?: Configuration) {
366
366
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
367
367
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
368
368
  * @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.
369
- * @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, paymentRequestNumber, status, direction, financialEntityType, domainEntityType, paymentMethodPsp, paymentMethodType, createdAt&lt;/i&gt;
370
- * @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, paymentRequestNumber, financialEntityCode, financialEntityNumber, domainEntityCode, domainEntityNumber&lt;/i&gt;
369
+ * @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, paymentRequestNumber, status, direction, financialEntityType, domainEntityType, paymentMethodPsp, paymentMethodType, createdAt, settlementCode&lt;/i&gt;
370
+ * @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, paymentRequestNumber, financialEntityCode, financialEntityNumber, domainEntityCode, domainEntityNumber, settlementCode&lt;/i&gt;
371
371
  * @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, paymentRequestNumber, financialEntityNumber, domainEntityNumber, createdAt, status&lt;/i&gt;
372
372
  * @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: paymentReceipts&lt;i&gt;
373
- * @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, paymentRequestNumber, status, direction, financialEntityType, domainEntityType, paymentMethodPsp, paymentMethodType, createdAt&lt;/i&gt;
373
+ * @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, paymentRequestNumber, status, direction, financialEntityType, domainEntityType, paymentMethodPsp, paymentMethodType, createdAt, settlementCode&lt;/i&gt;
374
374
  * @param {*} [options] Override http request option.
375
375
  * @throws {RequiredError}
376
376
  */
@@ -441,11 +441,11 @@ export const PaymentRequestsApiFactory = function (configuration?: Configuration
441
441
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
442
442
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
443
443
  * @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.
444
- * @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, paymentRequestNumber, status, direction, financialEntityType, domainEntityType, paymentMethodPsp, paymentMethodType, createdAt&lt;/i&gt;
445
- * @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, paymentRequestNumber, financialEntityCode, financialEntityNumber, domainEntityCode, domainEntityNumber&lt;/i&gt;
444
+ * @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, paymentRequestNumber, status, direction, financialEntityType, domainEntityType, paymentMethodPsp, paymentMethodType, createdAt, settlementCode&lt;/i&gt;
445
+ * @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, paymentRequestNumber, financialEntityCode, financialEntityNumber, domainEntityCode, domainEntityNumber, settlementCode&lt;/i&gt;
446
446
  * @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, paymentRequestNumber, financialEntityNumber, domainEntityNumber, createdAt, status&lt;/i&gt;
447
447
  * @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: paymentReceipts&lt;i&gt;
448
- * @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, paymentRequestNumber, status, direction, financialEntityType, domainEntityType, paymentMethodPsp, paymentMethodType, createdAt&lt;/i&gt;
448
+ * @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, paymentRequestNumber, status, direction, financialEntityType, domainEntityType, paymentMethodPsp, paymentMethodType, createdAt, settlementCode&lt;/i&gt;
449
449
  * @param {*} [options] Override http request option.
450
450
  * @throws {RequiredError}
451
451
  */
@@ -565,14 +565,14 @@ export interface PaymentRequestsApiListPaymentRequestsRequest {
565
565
  readonly pageToken?: string
566
566
 
567
567
  /**
568
- * 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, paymentRequestNumber, status, direction, financialEntityType, domainEntityType, paymentMethodPsp, paymentMethodType, createdAt&lt;/i&gt;
568
+ * 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, paymentRequestNumber, status, direction, financialEntityType, domainEntityType, paymentMethodPsp, paymentMethodType, createdAt, settlementCode&lt;/i&gt;
569
569
  * @type {string}
570
570
  * @memberof PaymentRequestsApiListPaymentRequests
571
571
  */
572
572
  readonly filter?: string
573
573
 
574
574
  /**
575
- * 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, paymentRequestNumber, financialEntityCode, financialEntityNumber, domainEntityCode, domainEntityNumber&lt;/i&gt;
575
+ * 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, paymentRequestNumber, financialEntityCode, financialEntityNumber, domainEntityCode, domainEntityNumber, settlementCode&lt;/i&gt;
576
576
  * @type {string}
577
577
  * @memberof PaymentRequestsApiListPaymentRequests
578
578
  */
@@ -593,7 +593,7 @@ export interface PaymentRequestsApiListPaymentRequestsRequest {
593
593
  readonly expand?: string
594
594
 
595
595
  /**
596
- * 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, paymentRequestNumber, status, direction, financialEntityType, domainEntityType, paymentMethodPsp, paymentMethodType, createdAt&lt;/i&gt;
596
+ * 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, paymentRequestNumber, status, direction, financialEntityType, domainEntityType, paymentMethodPsp, paymentMethodType, createdAt, settlementCode&lt;/i&gt;
597
597
  * @type {string}
598
598
  * @memberof PaymentRequestsApiListPaymentRequests
599
599
  */
package/api.ts CHANGED
@@ -32,6 +32,7 @@ import { CreditAllocationApi } from './api';
32
32
  import { ExceedingCreditsApi } from './api';
33
33
  import { HealthCheckApi } from './api';
34
34
  import { IBANValidatorApi } from './api';
35
+ import { JobsApi } from './api';
35
36
  import { PaymentMethodsApi } from './api';
36
37
  import { PaymentReceiptsApi } from './api';
37
38
  import { PaymentRemindersApi } from './api';
@@ -53,6 +54,7 @@ export * from './api/credit-allocation-api';
53
54
  export * from './api/exceeding-credits-api';
54
55
  export * from './api/health-check-api';
55
56
  export * from './api/ibanvalidator-api';
57
+ export * from './api/jobs-api';
56
58
  export * from './api/payment-methods-api';
57
59
  export * from './api/payment-receipts-api';
58
60
  export * from './api/payment-reminders-api';
@@ -57,11 +57,11 @@ export declare const BankOrdersApiAxiosParamCreator: (configuration?: Configurat
57
57
  * @param {string} [authorization] Bearer Token
58
58
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
59
59
  * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
60
- * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, orderNumber, status, type, tenantBankAccountCode&lt;/i&gt;
60
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, orderNumber, status, type, tenantBankAccountCode, entityCodes&lt;/i&gt;
61
61
  * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Searchable fields: code, description, orderNumber, tenantBankAccountCode&lt;/i&gt;
62
62
  * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, executionDate, dueDate, orderNumber, tenantBankAccountCode, amount, createdAt, updatedAt&lt;/i&gt;
63
63
  * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: tenantBankAccount, xmlFile&lt;i&gt;
64
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, orderNumber, status, type, tenantBankAccountCode&lt;/i&gt;
64
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, orderNumber, status, type, tenantBankAccountCode, entityCodes&lt;/i&gt;
65
65
  * @param {*} [options] Override http request option.
66
66
  * @throws {RequiredError}
67
67
  */
@@ -116,11 +116,11 @@ export declare const BankOrdersApiFp: (configuration?: Configuration) => {
116
116
  * @param {string} [authorization] Bearer Token
117
117
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
118
118
  * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
119
- * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, orderNumber, status, type, tenantBankAccountCode&lt;/i&gt;
119
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, orderNumber, status, type, tenantBankAccountCode, entityCodes&lt;/i&gt;
120
120
  * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Searchable fields: code, description, orderNumber, tenantBankAccountCode&lt;/i&gt;
121
121
  * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, executionDate, dueDate, orderNumber, tenantBankAccountCode, amount, createdAt, updatedAt&lt;/i&gt;
122
122
  * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: tenantBankAccount, xmlFile&lt;i&gt;
123
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, orderNumber, status, type, tenantBankAccountCode&lt;/i&gt;
123
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, orderNumber, status, type, tenantBankAccountCode, entityCodes&lt;/i&gt;
124
124
  * @param {*} [options] Override http request option.
125
125
  * @throws {RequiredError}
126
126
  */
@@ -175,11 +175,11 @@ export declare const BankOrdersApiFactory: (configuration?: Configuration, baseP
175
175
  * @param {string} [authorization] Bearer Token
176
176
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
177
177
  * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
178
- * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, orderNumber, status, type, tenantBankAccountCode&lt;/i&gt;
178
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, orderNumber, status, type, tenantBankAccountCode, entityCodes&lt;/i&gt;
179
179
  * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Searchable fields: code, description, orderNumber, tenantBankAccountCode&lt;/i&gt;
180
180
  * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, executionDate, dueDate, orderNumber, tenantBankAccountCode, amount, createdAt, updatedAt&lt;/i&gt;
181
181
  * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: tenantBankAccount, xmlFile&lt;i&gt;
182
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, orderNumber, status, type, tenantBankAccountCode&lt;/i&gt;
182
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, orderNumber, status, type, tenantBankAccountCode, entityCodes&lt;/i&gt;
183
183
  * @param {*} [options] Override http request option.
184
184
  * @throws {RequiredError}
185
185
  */
@@ -283,7 +283,7 @@ export interface BankOrdersApiListBankOrdersRequest {
283
283
  */
284
284
  readonly pageToken?: string;
285
285
  /**
286
- * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, orderNumber, status, type, tenantBankAccountCode&lt;/i&gt;
286
+ * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, orderNumber, status, type, tenantBankAccountCode, entityCodes&lt;/i&gt;
287
287
  * @type {string}
288
288
  * @memberof BankOrdersApiListBankOrders
289
289
  */
@@ -307,7 +307,7 @@ export interface BankOrdersApiListBankOrdersRequest {
307
307
  */
308
308
  readonly expand?: string;
309
309
  /**
310
- * Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, orderNumber, status, type, tenantBankAccountCode&lt;/i&gt;
310
+ * Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, orderNumber, status, type, tenantBankAccountCode, entityCodes&lt;/i&gt;
311
311
  * @type {string}
312
312
  * @memberof BankOrdersApiListBankOrders
313
313
  */