@emilgroup/payment-sdk 1.22.1-beta.35 → 1.22.1-beta.36

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 +0 -6
  2. package/README.md +2 -2
  3. package/api/bank-orders-api.ts +8 -8
  4. package/api/exceeding-credits-api.ts +0 -107
  5. package/api/payment-requests-api.ts +12 -12
  6. package/api.ts +0 -2
  7. package/dist/api/bank-orders-api.d.ts +8 -8
  8. package/dist/api/bank-orders-api.js +6 -6
  9. package/dist/api/exceeding-credits-api.d.ts +0 -57
  10. package/dist/api/exceeding-credits-api.js +0 -93
  11. package/dist/api/payment-requests-api.d.ts +12 -12
  12. package/dist/api/payment-requests-api.js +9 -9
  13. package/dist/api.d.ts +0 -1
  14. package/dist/api.js +0 -1
  15. package/dist/models/create-payment-request-request-dto.d.ts +0 -12
  16. package/dist/models/credit-allocation-class.d.ts +0 -6
  17. package/dist/models/credit-allocation-entity.d.ts +0 -6
  18. package/dist/models/index.d.ts +0 -5
  19. package/dist/models/index.js +0 -5
  20. package/dist/models/list-billing-addresses-response-class.d.ts +9 -9
  21. package/dist/models/list-exceeding-credits-response-class.d.ts +18 -6
  22. package/dist/models/list-payment-receipts-response-class.d.ts +9 -9
  23. package/dist/models/list-payment-requests-response-class.d.ts +18 -6
  24. package/dist/models/list-payout-methods-response-class.d.ts +9 -9
  25. package/dist/models/list-refunds-response-class.d.ts +18 -6
  26. package/dist/models/payment-class-without-expand-properties.d.ts +1 -1
  27. package/dist/models/payment-class.d.ts +1 -1
  28. package/dist/models/payment-entity.d.ts +1 -1
  29. package/dist/models/payment-request-class.d.ts +0 -12
  30. package/dist/models/shared-transaction-class.d.ts +0 -6
  31. package/dist/models/transaction-entity.d.ts +0 -6
  32. package/models/create-payment-request-request-dto.ts +0 -12
  33. package/models/credit-allocation-class.ts +0 -6
  34. package/models/credit-allocation-entity.ts +0 -6
  35. package/models/index.ts +0 -5
  36. package/models/list-billing-addresses-response-class.ts +9 -9
  37. package/models/list-exceeding-credits-response-class.ts +18 -6
  38. package/models/list-payment-receipts-response-class.ts +9 -9
  39. package/models/list-payment-requests-response-class.ts +18 -6
  40. package/models/list-payout-methods-response-class.ts +9 -9
  41. package/models/list-refunds-response-class.ts +18 -6
  42. package/models/payment-class-without-expand-properties.ts +1 -1
  43. package/models/payment-class.ts +1 -1
  44. package/models/payment-entity.ts +1 -1
  45. package/models/payment-request-class.ts +0 -12
  46. package/models/shared-transaction-class.ts +0 -6
  47. package/models/transaction-entity.ts +0 -6
  48. package/package.json +1 -1
  49. package/api/jobs-api.ts +0 -165
  50. package/dist/api/jobs-api.d.ts +0 -97
  51. package/dist/api/jobs-api.js +0 -224
  52. package/dist/models/create-exceeding-credit-request-dto.d.ts +0 -48
  53. package/dist/models/create-exceeding-credit-request-dto.js +0 -15
  54. package/dist/models/create-exceeding-credit-response-class.d.ts +0 -25
  55. package/dist/models/create-exceeding-credit-response-class.js +0 -15
  56. package/dist/models/run-job-grpc-request-dto.d.ts +0 -63
  57. package/dist/models/run-job-grpc-request-dto.js +0 -23
  58. package/dist/models/run-job-request-dto.d.ts +0 -63
  59. package/dist/models/run-job-request-dto.js +0 -23
  60. package/dist/models/run-job-response-class.d.ts +0 -24
  61. package/dist/models/run-job-response-class.js +0 -15
  62. package/models/create-exceeding-credit-request-dto.ts +0 -54
  63. package/models/create-exceeding-credit-response-class.ts +0 -31
  64. package/models/run-job-grpc-request-dto.ts +0 -73
  65. package/models/run-job-request-dto.ts +0 -73
  66. package/models/run-job-response-class.ts +0 -30
@@ -94,18 +94,6 @@ export interface PaymentRequestClass {
94
94
  * @memberof PaymentRequestClass
95
95
  */
96
96
  'status': PaymentRequestClassStatusEnum;
97
- /**
98
- * Code of the settlement the payment request was created for.
99
- * @type {string}
100
- * @memberof PaymentRequestClass
101
- */
102
- 'settlementCode'?: string;
103
- /**
104
- * Code of the partner the payment request was created for.
105
- * @type {string}
106
- * @memberof PaymentRequestClass
107
- */
108
- 'partnerCode': string;
109
97
  /**
110
98
  * Code of the payment method used for this payment request.
111
99
  * @type {string}
@@ -69,10 +69,4 @@ export interface SharedTransactionClass {
69
69
  * @memberof SharedTransactionClass
70
70
  */
71
71
  'updatedBy': string;
72
- /**
73
- * Code of the bank transaction this transaction was matched from. Absent for payments that did not come from a bank transaction.
74
- * @type {string}
75
- * @memberof SharedTransactionClass
76
- */
77
- 'bankTransactionCode'?: string;
78
72
  }
@@ -71,12 +71,6 @@ export interface TransactionEntity {
71
71
  * @memberof TransactionEntity
72
72
  */
73
73
  'bankTransactionId'?: number;
74
- /**
75
- *
76
- * @type {string}
77
- * @memberof TransactionEntity
78
- */
79
- 'bankTransactionCode'?: string;
80
74
  /**
81
75
  *
82
76
  * @type {string}
@@ -74,18 +74,6 @@ export interface CreatePaymentRequestRequestDto {
74
74
  * @memberof CreatePaymentRequestRequestDto
75
75
  */
76
76
  'domainEntityType': CreatePaymentRequestRequestDtoDomainEntityTypeEnum;
77
- /**
78
- * Code of the settlement the payment request was created for.
79
- * @type {string}
80
- * @memberof CreatePaymentRequestRequestDto
81
- */
82
- 'settlementCode'?: string;
83
- /**
84
- * Code of the partner the payment request was created for.
85
- * @type {string}
86
- * @memberof CreatePaymentRequestRequestDto
87
- */
88
- 'partnerCode': string;
89
77
  /**
90
78
  * Code of the payment method to be used for this payment request. If not provided, a default payment method may be selected.
91
79
  * @type {string}
@@ -39,12 +39,6 @@ export interface CreditAllocationClass {
39
39
  * @memberof CreditAllocationClass
40
40
  */
41
41
  'exceedingCreditCodes': Array<string>;
42
- /**
43
- * Partner code derived from the policy related to the exceeding credits.
44
- * @type {string}
45
- * @memberof CreditAllocationClass
46
- */
47
- 'partnerCode': string;
48
42
  /**
49
43
  * Policy code associated with the credit.
50
44
  * @type {string}
@@ -33,12 +33,6 @@ export interface CreditAllocationEntity {
33
33
  * @memberof CreditAllocationEntity
34
34
  */
35
35
  'code': string;
36
- /**
37
- *
38
- * @type {string}
39
- * @memberof CreditAllocationEntity
40
- */
41
- 'partnerCode': string;
42
36
  /**
43
37
  *
44
38
  * @type {string}
package/models/index.ts CHANGED
@@ -31,8 +31,6 @@ export * from './create-billing-address-request-dto';
31
31
  export * from './create-billing-address-response-class';
32
32
  export * from './create-credit-allocation-request-dto';
33
33
  export * from './create-credit-allocation-response-class';
34
- export * from './create-exceeding-credit-request-dto';
35
- export * from './create-exceeding-credit-response-class';
36
34
  export * from './create-payment-method-response-class';
37
35
  export * from './create-payment-order-dto';
38
36
  export * from './create-payment-order-request-dto';
@@ -124,9 +122,6 @@ export * from './policy-payment-method-class';
124
122
  export * from './primary-bank-account-response-class';
125
123
  export * from './refund-class';
126
124
  export * from './refund-item-class';
127
- export * from './run-job-grpc-request-dto';
128
- export * from './run-job-request-dto';
129
- export * from './run-job-response-class';
130
125
  export * from './sepa-direct-dto';
131
126
  export * from './set-primary-bank-account-request-dto-rest';
132
127
  export * from './shared-transaction-class';
@@ -21,18 +21,18 @@ import { BillingAddressClass } from './billing-address-class';
21
21
  * @interface ListBillingAddressesResponseClass
22
22
  */
23
23
  export interface ListBillingAddressesResponseClass {
24
- /**
25
- * The billing addresses
26
- * @type {Array<BillingAddressClass>}
27
- * @memberof ListBillingAddressesResponseClass
28
- */
29
- 'items': Array<BillingAddressClass>;
30
24
  /**
31
25
  * Next page token.
32
26
  * @type {string}
33
27
  * @memberof ListBillingAddressesResponseClass
34
28
  */
35
29
  'nextPageToken': string;
30
+ /**
31
+ * Total amount of items.
32
+ * @type {number}
33
+ * @memberof ListBillingAddressesResponseClass
34
+ */
35
+ 'totalItems': number;
36
36
  /**
37
37
  * Items per page.
38
38
  * @type {number}
@@ -40,10 +40,10 @@ export interface ListBillingAddressesResponseClass {
40
40
  */
41
41
  'itemsPerPage': number;
42
42
  /**
43
- * Total amount of items.
44
- * @type {number}
43
+ * The billing addresses
44
+ * @type {Array<BillingAddressClass>}
45
45
  * @memberof ListBillingAddressesResponseClass
46
46
  */
47
- 'totalItems': number;
47
+ 'items': Array<BillingAddressClass>;
48
48
  }
49
49
 
@@ -21,17 +21,29 @@ import { ExceedingCreditClass } from './exceeding-credit-class';
21
21
  * @interface ListExceedingCreditsResponseClass
22
22
  */
23
23
  export interface ListExceedingCreditsResponseClass {
24
- /**
25
- * The list of exceeding credits.
26
- * @type {Array<ExceedingCreditClass>}
27
- * @memberof ListExceedingCreditsResponseClass
28
- */
29
- 'items': Array<ExceedingCreditClass>;
30
24
  /**
31
25
  * Next page token.
32
26
  * @type {string}
33
27
  * @memberof ListExceedingCreditsResponseClass
34
28
  */
35
29
  'nextPageToken': string;
30
+ /**
31
+ * Total amount of items.
32
+ * @type {number}
33
+ * @memberof ListExceedingCreditsResponseClass
34
+ */
35
+ 'totalItems': number;
36
+ /**
37
+ * Items per page.
38
+ * @type {number}
39
+ * @memberof ListExceedingCreditsResponseClass
40
+ */
41
+ 'itemsPerPage': number;
42
+ /**
43
+ * The list of exceeding credits.
44
+ * @type {Array<ExceedingCreditClass>}
45
+ * @memberof ListExceedingCreditsResponseClass
46
+ */
47
+ 'items': Array<ExceedingCreditClass>;
36
48
  }
37
49
 
@@ -21,18 +21,18 @@ import { PaymentReceiptClass } from './payment-receipt-class';
21
21
  * @interface ListPaymentReceiptsResponseClass
22
22
  */
23
23
  export interface ListPaymentReceiptsResponseClass {
24
- /**
25
- * The list of payment receipts.
26
- * @type {Array<PaymentReceiptClass>}
27
- * @memberof ListPaymentReceiptsResponseClass
28
- */
29
- 'items': Array<PaymentReceiptClass>;
30
24
  /**
31
25
  * Next page token.
32
26
  * @type {string}
33
27
  * @memberof ListPaymentReceiptsResponseClass
34
28
  */
35
29
  'nextPageToken': string;
30
+ /**
31
+ * Total amount of items.
32
+ * @type {number}
33
+ * @memberof ListPaymentReceiptsResponseClass
34
+ */
35
+ 'totalItems': number;
36
36
  /**
37
37
  * Items per page.
38
38
  * @type {number}
@@ -40,10 +40,10 @@ export interface ListPaymentReceiptsResponseClass {
40
40
  */
41
41
  'itemsPerPage': number;
42
42
  /**
43
- * Total amount of items.
44
- * @type {number}
43
+ * The list of payment receipts.
44
+ * @type {Array<PaymentReceiptClass>}
45
45
  * @memberof ListPaymentReceiptsResponseClass
46
46
  */
47
- 'totalItems': number;
47
+ 'items': Array<PaymentReceiptClass>;
48
48
  }
49
49
 
@@ -21,17 +21,29 @@ import { PaymentRequestClass } from './payment-request-class';
21
21
  * @interface ListPaymentRequestsResponseClass
22
22
  */
23
23
  export interface ListPaymentRequestsResponseClass {
24
- /**
25
- * The list of payment requests.
26
- * @type {Array<PaymentRequestClass>}
27
- * @memberof ListPaymentRequestsResponseClass
28
- */
29
- 'items': Array<PaymentRequestClass>;
30
24
  /**
31
25
  * Next page token.
32
26
  * @type {string}
33
27
  * @memberof ListPaymentRequestsResponseClass
34
28
  */
35
29
  'nextPageToken': string;
30
+ /**
31
+ * Total amount of items.
32
+ * @type {number}
33
+ * @memberof ListPaymentRequestsResponseClass
34
+ */
35
+ 'totalItems': number;
36
+ /**
37
+ * Items per page.
38
+ * @type {number}
39
+ * @memberof ListPaymentRequestsResponseClass
40
+ */
41
+ 'itemsPerPage': number;
42
+ /**
43
+ * The list of payment requests.
44
+ * @type {Array<PaymentRequestClass>}
45
+ * @memberof ListPaymentRequestsResponseClass
46
+ */
47
+ 'items': Array<PaymentRequestClass>;
36
48
  }
37
49
 
@@ -21,18 +21,18 @@ import { PayoutMethodClass } from './payout-method-class';
21
21
  * @interface ListPayoutMethodsResponseClass
22
22
  */
23
23
  export interface ListPayoutMethodsResponseClass {
24
- /**
25
- * The payout methods
26
- * @type {Array<PayoutMethodClass>}
27
- * @memberof ListPayoutMethodsResponseClass
28
- */
29
- 'items': Array<PayoutMethodClass>;
30
24
  /**
31
25
  * Next page token.
32
26
  * @type {string}
33
27
  * @memberof ListPayoutMethodsResponseClass
34
28
  */
35
29
  'nextPageToken': string;
30
+ /**
31
+ * Total amount of items.
32
+ * @type {number}
33
+ * @memberof ListPayoutMethodsResponseClass
34
+ */
35
+ 'totalItems': number;
36
36
  /**
37
37
  * Items per page.
38
38
  * @type {number}
@@ -40,10 +40,10 @@ export interface ListPayoutMethodsResponseClass {
40
40
  */
41
41
  'itemsPerPage': number;
42
42
  /**
43
- * Total amount of items.
44
- * @type {number}
43
+ * The payout methods
44
+ * @type {Array<PayoutMethodClass>}
45
45
  * @memberof ListPayoutMethodsResponseClass
46
46
  */
47
- 'totalItems': number;
47
+ 'items': Array<PayoutMethodClass>;
48
48
  }
49
49
 
@@ -21,17 +21,29 @@ import { RefundClass } from './refund-class';
21
21
  * @interface ListRefundsResponseClass
22
22
  */
23
23
  export interface ListRefundsResponseClass {
24
- /**
25
- * The list of refunds.
26
- * @type {Array<RefundClass>}
27
- * @memberof ListRefundsResponseClass
28
- */
29
- 'items': Array<RefundClass>;
30
24
  /**
31
25
  * Next page token.
32
26
  * @type {string}
33
27
  * @memberof ListRefundsResponseClass
34
28
  */
35
29
  'nextPageToken': string;
30
+ /**
31
+ * Total amount of items.
32
+ * @type {number}
33
+ * @memberof ListRefundsResponseClass
34
+ */
35
+ 'totalItems': number;
36
+ /**
37
+ * Items per page.
38
+ * @type {number}
39
+ * @memberof ListRefundsResponseClass
40
+ */
41
+ 'itemsPerPage': number;
42
+ /**
43
+ * The list of refunds.
44
+ * @type {Array<RefundClass>}
45
+ * @memberof ListRefundsResponseClass
46
+ */
47
+ 'items': Array<RefundClass>;
36
48
  }
37
49
 
@@ -49,7 +49,7 @@ export interface PaymentClassWithoutExpandProperties {
49
49
  * @type {string}
50
50
  * @memberof PaymentClassWithoutExpandProperties
51
51
  */
52
- 'partnerCode': string;
52
+ 'partnerCode'?: string;
53
53
  /**
54
54
  * Amount to be paid in cents. 100 to charge 1€.
55
55
  * @type {number}
@@ -50,7 +50,7 @@ export interface PaymentClass {
50
50
  * @type {string}
51
51
  * @memberof PaymentClass
52
52
  */
53
- 'partnerCode': string;
53
+ 'partnerCode'?: string;
54
54
  /**
55
55
  * Amount to be paid in cents. 100 to charge 1€.
56
56
  * @type {number}
@@ -56,7 +56,7 @@ export interface PaymentEntity {
56
56
  * @type {string}
57
57
  * @memberof PaymentEntity
58
58
  */
59
- 'partnerCode': string;
59
+ 'partnerCode'?: string;
60
60
  /**
61
61
  *
62
62
  * @type {string}
@@ -99,18 +99,6 @@ export interface PaymentRequestClass {
99
99
  * @memberof PaymentRequestClass
100
100
  */
101
101
  'status': PaymentRequestClassStatusEnum;
102
- /**
103
- * Code of the settlement the payment request was created for.
104
- * @type {string}
105
- * @memberof PaymentRequestClass
106
- */
107
- 'settlementCode'?: string;
108
- /**
109
- * Code of the partner the payment request was created for.
110
- * @type {string}
111
- * @memberof PaymentRequestClass
112
- */
113
- 'partnerCode': string;
114
102
  /**
115
103
  * Code of the payment method used for this payment request.
116
104
  * @type {string}
@@ -74,11 +74,5 @@ export interface SharedTransactionClass {
74
74
  * @memberof SharedTransactionClass
75
75
  */
76
76
  'updatedBy': string;
77
- /**
78
- * Code of the bank transaction this transaction was matched from. Absent for payments that did not come from a bank transaction.
79
- * @type {string}
80
- * @memberof SharedTransactionClass
81
- */
82
- 'bankTransactionCode'?: string;
83
77
  }
84
78
 
@@ -76,12 +76,6 @@ export interface TransactionEntity {
76
76
  * @memberof TransactionEntity
77
77
  */
78
78
  'bankTransactionId'?: number;
79
- /**
80
- *
81
- * @type {string}
82
- * @memberof TransactionEntity
83
- */
84
- 'bankTransactionCode'?: string;
85
79
  /**
86
80
  *
87
81
  * @type {string}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@emilgroup/payment-sdk",
3
- "version": "1.22.1-beta.35",
3
+ "version": "1.22.1-beta.36",
4
4
  "description": "OpenAPI client for @emilgroup/payment-sdk",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [
package/api/jobs-api.ts DELETED
@@ -1,165 +0,0 @@
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
- /**
28
- * JobsApi - axios parameter creator
29
- * @export
30
- */
31
- export const JobsApiAxiosParamCreator = function (configuration?: Configuration) {
32
- return {
33
- /**
34
- * 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\"
35
- * @summary Create the job run
36
- * @param {RunJobRequestDto} runJobRequestDto
37
- * @param {string} [authorization] Bearer Token
38
- * @param {*} [options] Override http request option.
39
- * @throws {RequiredError}
40
- */
41
- runJob: async (runJobRequestDto: RunJobRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
42
- // verify required parameter 'runJobRequestDto' is not null or undefined
43
- assertParamExists('runJob', 'runJobRequestDto', runJobRequestDto)
44
- const localVarPath = `/paymentservice/v1/jobs/run`;
45
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
46
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
47
- let baseOptions;
48
- let baseAccessToken;
49
- if (configuration) {
50
- baseOptions = configuration.baseOptions;
51
- baseAccessToken = configuration.accessToken;
52
- }
53
-
54
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
55
- const localVarHeaderParameter = {} as any;
56
- const localVarQueryParameter = {} as any;
57
-
58
- // authentication bearer required
59
- // http bearer authentication required
60
- await setBearerAuthToObject(localVarHeaderParameter, configuration)
61
-
62
- if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
63
- localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
64
- }
65
-
66
-
67
-
68
- localVarHeaderParameter['Content-Type'] = 'application/json';
69
-
70
- setSearchParams(localVarUrlObj, localVarQueryParameter);
71
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
72
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
73
- localVarRequestOptions.data = serializeDataIfNeeded(runJobRequestDto, localVarRequestOptions, configuration)
74
-
75
- return {
76
- url: toPathString(localVarUrlObj),
77
- options: localVarRequestOptions,
78
- };
79
- },
80
- }
81
- };
82
-
83
- /**
84
- * JobsApi - functional programming interface
85
- * @export
86
- */
87
- export const JobsApiFp = function(configuration?: Configuration) {
88
- const localVarAxiosParamCreator = JobsApiAxiosParamCreator(configuration)
89
- return {
90
- /**
91
- * 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\"
92
- * @summary Create the job run
93
- * @param {RunJobRequestDto} runJobRequestDto
94
- * @param {string} [authorization] Bearer Token
95
- * @param {*} [options] Override http request option.
96
- * @throws {RequiredError}
97
- */
98
- async runJob(runJobRequestDto: RunJobRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RunJobResponseClass>> {
99
- const localVarAxiosArgs = await localVarAxiosParamCreator.runJob(runJobRequestDto, authorization, options);
100
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
101
- },
102
- }
103
- };
104
-
105
- /**
106
- * JobsApi - factory interface
107
- * @export
108
- */
109
- export const JobsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
110
- const localVarFp = JobsApiFp(configuration)
111
- return {
112
- /**
113
- * 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\"
114
- * @summary Create the job run
115
- * @param {RunJobRequestDto} runJobRequestDto
116
- * @param {string} [authorization] Bearer Token
117
- * @param {*} [options] Override http request option.
118
- * @throws {RequiredError}
119
- */
120
- runJob(runJobRequestDto: RunJobRequestDto, authorization?: string, options?: any): AxiosPromise<RunJobResponseClass> {
121
- return localVarFp.runJob(runJobRequestDto, authorization, options).then((request) => request(axios, basePath));
122
- },
123
- };
124
- };
125
-
126
- /**
127
- * Request parameters for runJob operation in JobsApi.
128
- * @export
129
- * @interface JobsApiRunJobRequest
130
- */
131
- export interface JobsApiRunJobRequest {
132
- /**
133
- *
134
- * @type {RunJobRequestDto}
135
- * @memberof JobsApiRunJob
136
- */
137
- readonly runJobRequestDto: RunJobRequestDto
138
-
139
- /**
140
- * Bearer Token
141
- * @type {string}
142
- * @memberof JobsApiRunJob
143
- */
144
- readonly authorization?: string
145
- }
146
-
147
- /**
148
- * JobsApi - object-oriented interface
149
- * @export
150
- * @class JobsApi
151
- * @extends {BaseAPI}
152
- */
153
- export class JobsApi extends BaseAPI {
154
- /**
155
- * 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\"
156
- * @summary Create the job run
157
- * @param {JobsApiRunJobRequest} requestParameters Request parameters.
158
- * @param {*} [options] Override http request option.
159
- * @throws {RequiredError}
160
- * @memberof JobsApi
161
- */
162
- public runJob(requestParameters: JobsApiRunJobRequest, options?: AxiosRequestConfig) {
163
- return JobsApiFp(this.configuration).runJob(requestParameters.runJobRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
164
- }
165
- }