@emilgroup/payment-sdk 1.22.1-beta.81 → 1.22.1-beta.83
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.
- package/.openapi-generator/FILES +0 -6
- package/README.md +2 -2
- package/api/bank-accounts-api.ts +18 -48
- package/api/bank-orders-api.ts +15 -40
- package/api/bank-transaction-api.ts +26 -181
- package/api/billing-addresses-api.ts +15 -40
- package/api/credit-allocation-api.ts +9 -24
- package/api/exceeding-credits-api.ts +6 -128
- package/api/health-check-api.ts +1 -1
- package/api/ibanvalidator-api.ts +3 -8
- package/api/payment-methods-api.ts +9 -24
- package/api/payment-receipts-api.ts +15 -40
- package/api/payment-reminders-api.ts +12 -32
- package/api/payment-requests-api.ts +27 -52
- package/api/payment-setup-api.ts +6 -16
- package/api/payments-api.ts +16 -46
- package/api/payout-methods-api.ts +18 -48
- package/api/policy-payment-methods-api.ts +9 -24
- package/api/refunds-api.ts +9 -24
- package/api/tenant-bank-account-api.ts +15 -40
- package/api/webhooks-api.ts +2 -2
- package/base.ts +43 -239
- package/common.ts +2 -3
- package/configuration.ts +0 -20
- package/dist/api/bank-accounts-api.d.ts +6 -6
- package/dist/api/bank-accounts-api.js +46 -82
- package/dist/api/bank-orders-api.d.ts +5 -5
- package/dist/api/bank-orders-api.js +38 -67
- package/dist/api/bank-transaction-api.d.ts +14 -80
- package/dist/api/bank-transaction-api.js +52 -194
- package/dist/api/billing-addresses-api.d.ts +5 -5
- package/dist/api/billing-addresses-api.js +39 -71
- package/dist/api/credit-allocation-api.d.ts +3 -3
- package/dist/api/credit-allocation-api.js +23 -41
- package/dist/api/exceeding-credits-api.d.ts +2 -59
- package/dist/api/exceeding-credits-api.js +15 -126
- package/dist/api/health-check-api.d.ts +1 -1
- package/dist/api/health-check-api.js +1 -1
- package/dist/api/ibanvalidator-api.d.ts +1 -1
- package/dist/api/ibanvalidator-api.js +8 -15
- package/dist/api/payment-methods-api.d.ts +3 -3
- package/dist/api/payment-methods-api.js +23 -41
- package/dist/api/payment-receipts-api.d.ts +5 -5
- package/dist/api/payment-receipts-api.js +38 -67
- package/dist/api/payment-reminders-api.d.ts +4 -4
- package/dist/api/payment-reminders-api.js +31 -56
- package/dist/api/payment-requests-api.d.ts +17 -17
- package/dist/api/payment-requests-api.js +47 -76
- package/dist/api/payment-setup-api.d.ts +2 -2
- package/dist/api/payment-setup-api.js +16 -30
- package/dist/api/payments-api.d.ts +4 -4
- package/dist/api/payments-api.js +34 -62
- package/dist/api/payout-methods-api.d.ts +6 -6
- package/dist/api/payout-methods-api.js +46 -82
- package/dist/api/policy-payment-methods-api.d.ts +3 -3
- package/dist/api/policy-payment-methods-api.js +23 -41
- package/dist/api/refunds-api.d.ts +3 -3
- package/dist/api/refunds-api.js +22 -37
- package/dist/api/tenant-bank-account-api.d.ts +5 -5
- package/dist/api/tenant-bank-account-api.js +38 -67
- package/dist/api/webhooks-api.d.ts +2 -2
- package/dist/api/webhooks-api.js +2 -2
- package/dist/base.d.ts +0 -26
- package/dist/base.js +60 -243
- package/dist/common.d.ts +1 -1
- package/dist/common.js +0 -1
- package/dist/configuration.d.ts +0 -17
- package/dist/configuration.js +0 -2
- package/dist/models/bank-transaction-class.d.ts +0 -7
- package/dist/models/bank-transaction-entity.d.ts +0 -7
- package/dist/models/bank-transaction-invoice-entity.d.ts +0 -24
- package/dist/models/create-payment-order-dto.d.ts +1 -1
- package/dist/models/create-payment-receipt-request-dto.d.ts +3 -3
- package/dist/models/create-payment-request-dto.d.ts +1 -1
- package/dist/models/create-payment-request-request-dto.d.ts +0 -6
- package/dist/models/credit-allocation-class.d.ts +0 -6
- package/dist/models/credit-allocation-entity.d.ts +0 -6
- package/dist/models/exceeding-credit-entity.d.ts +0 -6
- package/dist/models/index.d.ts +0 -6
- package/dist/models/index.js +0 -6
- package/dist/models/list-billing-addresses-response-class.d.ts +9 -9
- package/dist/models/list-exceeding-credits-response-class.d.ts +18 -6
- package/dist/models/list-payment-receipts-response-class.d.ts +9 -9
- package/dist/models/list-payment-requests-response-class.d.ts +18 -6
- package/dist/models/list-payout-methods-response-class.d.ts +9 -9
- package/dist/models/list-refunds-response-class.d.ts +18 -6
- package/dist/models/payment-class-without-expand-properties.d.ts +2 -2
- package/dist/models/payment-class.d.ts +2 -2
- package/dist/models/payment-entity.d.ts +1 -1
- package/dist/models/payment-receipt-class.d.ts +1 -13
- package/dist/models/payment-request-class.d.ts +6 -13
- package/dist/models/payment-request-class.js +0 -1
- package/dist/models/shared-transaction-class.d.ts +0 -6
- package/dist/models/transaction-entity.d.ts +0 -6
- package/models/bank-transaction-class.ts +0 -7
- package/models/bank-transaction-entity.ts +0 -7
- package/models/bank-transaction-invoice-entity.ts +0 -24
- package/models/create-payment-order-dto.ts +1 -1
- package/models/create-payment-receipt-request-dto.ts +3 -3
- package/models/create-payment-request-dto.ts +1 -1
- package/models/create-payment-request-request-dto.ts +0 -6
- package/models/credit-allocation-class.ts +0 -6
- package/models/credit-allocation-entity.ts +0 -6
- package/models/exceeding-credit-entity.ts +0 -6
- package/models/index.ts +0 -6
- package/models/list-billing-addresses-response-class.ts +9 -9
- package/models/list-exceeding-credits-response-class.ts +18 -6
- package/models/list-payment-receipts-response-class.ts +9 -9
- package/models/list-payment-requests-response-class.ts +18 -6
- package/models/list-payout-methods-response-class.ts +9 -9
- package/models/list-refunds-response-class.ts +18 -6
- package/models/payment-class-without-expand-properties.ts +2 -2
- package/models/payment-class.ts +2 -2
- package/models/payment-entity.ts +1 -1
- package/models/payment-receipt-class.ts +1 -13
- package/models/payment-request-class.ts +6 -13
- package/models/shared-transaction-class.ts +0 -6
- package/models/transaction-entity.ts +0 -6
- package/package.json +2 -2
- package/dist/models/create-exceeding-credit-request-dto.d.ts +0 -48
- package/dist/models/create-exceeding-credit-request-dto.js +0 -15
- package/dist/models/create-exceeding-credit-response-class.d.ts +0 -25
- package/dist/models/create-exceeding-credit-response-class.js +0 -15
- package/dist/models/link-bank-transaction-payment-requests-request-dto-rest.d.ts +0 -30
- package/dist/models/link-bank-transaction-payment-requests-request-dto-rest.js +0 -15
- package/dist/models/link-bank-transaction-payment-requests-response-class.d.ts +0 -25
- package/dist/models/link-bank-transaction-payment-requests-response-class.js +0 -15
- package/dist/models/payment-receipt-entity.d.ts +0 -139
- package/dist/models/payment-receipt-entity.js +0 -20
- package/dist/models/payment-request-entity.d.ts +0 -223
- package/dist/models/payment-request-entity.js +0 -39
- package/models/create-exceeding-credit-request-dto.ts +0 -54
- package/models/create-exceeding-credit-response-class.ts +0 -31
- package/models/link-bank-transaction-payment-requests-request-dto-rest.ts +0 -36
- package/models/link-bank-transaction-payment-requests-response-class.ts +0 -31
- package/models/payment-receipt-entity.ts +0 -148
- package/models/payment-request-entity.ts +0 -233
|
@@ -21,10 +21,6 @@ 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
|
|
28
24
|
import { GetExceedingCreditResponseClass } from '../models';
|
|
29
25
|
// @ts-ignore
|
|
30
26
|
import { ListExceedingCreditsResponseClass } from '../models';
|
|
@@ -34,58 +30,6 @@ import { ListExceedingCreditsResponseClass } from '../models';
|
|
|
34
30
|
*/
|
|
35
31
|
export const ExceedingCreditsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
36
32
|
return {
|
|
37
|
-
/**
|
|
38
|
-
* Create an exceeding credit for a bank transaction that exceeds the invoiced amount. **Required Permissions** \"payment-management.payments.create\"
|
|
39
|
-
* @summary Create the exceeding credit
|
|
40
|
-
* @param {CreateExceedingCreditRequestDto} createExceedingCreditRequestDto
|
|
41
|
-
* @param {string} [authorization] Bearer Token
|
|
42
|
-
* @param {*} [options] Override http request option.
|
|
43
|
-
* @throws {RequiredError}
|
|
44
|
-
*/
|
|
45
|
-
createExceedingCredit: async (createExceedingCreditRequestDto: CreateExceedingCreditRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
46
|
-
// verify required parameter 'createExceedingCreditRequestDto' is not null or undefined
|
|
47
|
-
assertParamExists('createExceedingCredit', 'createExceedingCreditRequestDto', createExceedingCreditRequestDto)
|
|
48
|
-
const localVarPath = `/paymentservice/v1/exceeding-credits`;
|
|
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
|
-
// Only Authorization falls back to the configured token. Without a session it is sent as before, empty when
|
|
67
|
-
// no token is stored, so a refused call still refreshes; a session call (account header) sends none.
|
|
68
|
-
const authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
|
|
69
|
-
const authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
|
|
70
|
-
const authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !baseOptions?.headers?.['X-Emil-Account'];
|
|
71
|
-
if (authorizationValue || authorizationKeepEmpty) {
|
|
72
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
78
|
-
|
|
79
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
80
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
81
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
82
|
-
localVarRequestOptions.data = serializeDataIfNeeded(createExceedingCreditRequestDto, localVarRequestOptions, configuration)
|
|
83
|
-
|
|
84
|
-
return {
|
|
85
|
-
url: toPathString(localVarUrlObj),
|
|
86
|
-
options: localVarRequestOptions,
|
|
87
|
-
};
|
|
88
|
-
},
|
|
89
33
|
/**
|
|
90
34
|
* 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\"
|
|
91
35
|
* @summary Retrieve the exceeding credit
|
|
@@ -116,13 +60,8 @@ export const ExceedingCreditsApiAxiosParamCreator = function (configuration?: Co
|
|
|
116
60
|
// http bearer authentication required
|
|
117
61
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
118
62
|
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
const authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
|
|
122
|
-
const authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
|
|
123
|
-
const authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !baseOptions?.headers?.['X-Emil-Account'];
|
|
124
|
-
if (authorizationValue || authorizationKeepEmpty) {
|
|
125
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
63
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
64
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
126
65
|
}
|
|
127
66
|
|
|
128
67
|
|
|
@@ -197,13 +136,8 @@ export const ExceedingCreditsApiAxiosParamCreator = function (configuration?: Co
|
|
|
197
136
|
localVarQueryParameter['filters'] = filters;
|
|
198
137
|
}
|
|
199
138
|
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
const authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
|
|
203
|
-
const authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
|
|
204
|
-
const authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !baseOptions?.headers?.['X-Emil-Account'];
|
|
205
|
-
if (authorizationValue || authorizationKeepEmpty) {
|
|
206
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
139
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
140
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
207
141
|
}
|
|
208
142
|
|
|
209
143
|
|
|
@@ -227,18 +161,6 @@ export const ExceedingCreditsApiAxiosParamCreator = function (configuration?: Co
|
|
|
227
161
|
export const ExceedingCreditsApiFp = function(configuration?: Configuration) {
|
|
228
162
|
const localVarAxiosParamCreator = ExceedingCreditsApiAxiosParamCreator(configuration)
|
|
229
163
|
return {
|
|
230
|
-
/**
|
|
231
|
-
* Create an exceeding credit for a bank transaction that exceeds the invoiced amount. **Required Permissions** \"payment-management.payments.create\"
|
|
232
|
-
* @summary Create the exceeding credit
|
|
233
|
-
* @param {CreateExceedingCreditRequestDto} createExceedingCreditRequestDto
|
|
234
|
-
* @param {string} [authorization] Bearer Token
|
|
235
|
-
* @param {*} [options] Override http request option.
|
|
236
|
-
* @throws {RequiredError}
|
|
237
|
-
*/
|
|
238
|
-
async createExceedingCredit(createExceedingCreditRequestDto: CreateExceedingCreditRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateExceedingCreditResponseClass>> {
|
|
239
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.createExceedingCredit(createExceedingCreditRequestDto, authorization, options);
|
|
240
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
241
|
-
},
|
|
242
164
|
/**
|
|
243
165
|
* 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\"
|
|
244
166
|
* @summary Retrieve the exceeding credit
|
|
@@ -279,17 +201,6 @@ export const ExceedingCreditsApiFp = function(configuration?: Configuration) {
|
|
|
279
201
|
export const ExceedingCreditsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
280
202
|
const localVarFp = ExceedingCreditsApiFp(configuration)
|
|
281
203
|
return {
|
|
282
|
-
/**
|
|
283
|
-
* Create an exceeding credit for a bank transaction that exceeds the invoiced amount. **Required Permissions** \"payment-management.payments.create\"
|
|
284
|
-
* @summary Create the exceeding credit
|
|
285
|
-
* @param {CreateExceedingCreditRequestDto} createExceedingCreditRequestDto
|
|
286
|
-
* @param {string} [authorization] Bearer Token
|
|
287
|
-
* @param {*} [options] Override http request option.
|
|
288
|
-
* @throws {RequiredError}
|
|
289
|
-
*/
|
|
290
|
-
createExceedingCredit(createExceedingCreditRequestDto: CreateExceedingCreditRequestDto, authorization?: string, options?: any): AxiosPromise<CreateExceedingCreditResponseClass> {
|
|
291
|
-
return localVarFp.createExceedingCredit(createExceedingCreditRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
292
|
-
},
|
|
293
204
|
/**
|
|
294
205
|
* 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\"
|
|
295
206
|
* @summary Retrieve the exceeding credit
|
|
@@ -321,27 +232,6 @@ export const ExceedingCreditsApiFactory = function (configuration?: Configuratio
|
|
|
321
232
|
};
|
|
322
233
|
};
|
|
323
234
|
|
|
324
|
-
/**
|
|
325
|
-
* Request parameters for createExceedingCredit operation in ExceedingCreditsApi.
|
|
326
|
-
* @export
|
|
327
|
-
* @interface ExceedingCreditsApiCreateExceedingCreditRequest
|
|
328
|
-
*/
|
|
329
|
-
export interface ExceedingCreditsApiCreateExceedingCreditRequest {
|
|
330
|
-
/**
|
|
331
|
-
*
|
|
332
|
-
* @type {CreateExceedingCreditRequestDto}
|
|
333
|
-
* @memberof ExceedingCreditsApiCreateExceedingCredit
|
|
334
|
-
*/
|
|
335
|
-
readonly createExceedingCreditRequestDto: CreateExceedingCreditRequestDto
|
|
336
|
-
|
|
337
|
-
/**
|
|
338
|
-
* Bearer Token
|
|
339
|
-
* @type {string}
|
|
340
|
-
* @memberof ExceedingCreditsApiCreateExceedingCredit
|
|
341
|
-
*/
|
|
342
|
-
readonly authorization?: string
|
|
343
|
-
}
|
|
344
|
-
|
|
345
235
|
/**
|
|
346
236
|
* Request parameters for getExceedingCredit operation in ExceedingCreditsApi.
|
|
347
237
|
* @export
|
|
@@ -433,18 +323,6 @@ export interface ExceedingCreditsApiListExceedingCreditsRequest {
|
|
|
433
323
|
* @extends {BaseAPI}
|
|
434
324
|
*/
|
|
435
325
|
export class ExceedingCreditsApi extends BaseAPI {
|
|
436
|
-
/**
|
|
437
|
-
* Create an exceeding credit for a bank transaction that exceeds the invoiced amount. **Required Permissions** \"payment-management.payments.create\"
|
|
438
|
-
* @summary Create the exceeding credit
|
|
439
|
-
* @param {ExceedingCreditsApiCreateExceedingCreditRequest} requestParameters Request parameters.
|
|
440
|
-
* @param {*} [options] Override http request option.
|
|
441
|
-
* @throws {RequiredError}
|
|
442
|
-
* @memberof ExceedingCreditsApi
|
|
443
|
-
*/
|
|
444
|
-
public createExceedingCredit(requestParameters: ExceedingCreditsApiCreateExceedingCreditRequest, options?: AxiosRequestConfig) {
|
|
445
|
-
return ExceedingCreditsApiFp(this.configuration).createExceedingCredit(requestParameters.createExceedingCreditRequestDto, requestParameters.authorization, this.withOwner(options)).then((request) => request(this.axios, this.basePath));
|
|
446
|
-
}
|
|
447
|
-
|
|
448
326
|
/**
|
|
449
327
|
* 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\"
|
|
450
328
|
* @summary Retrieve the exceeding credit
|
|
@@ -454,7 +332,7 @@ export class ExceedingCreditsApi extends BaseAPI {
|
|
|
454
332
|
* @memberof ExceedingCreditsApi
|
|
455
333
|
*/
|
|
456
334
|
public getExceedingCredit(requestParameters: ExceedingCreditsApiGetExceedingCreditRequest, options?: AxiosRequestConfig) {
|
|
457
|
-
return ExceedingCreditsApiFp(this.configuration).getExceedingCredit(requestParameters.code, requestParameters.authorization,
|
|
335
|
+
return ExceedingCreditsApiFp(this.configuration).getExceedingCredit(requestParameters.code, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
458
336
|
}
|
|
459
337
|
|
|
460
338
|
/**
|
|
@@ -466,6 +344,6 @@ export class ExceedingCreditsApi extends BaseAPI {
|
|
|
466
344
|
* @memberof ExceedingCreditsApi
|
|
467
345
|
*/
|
|
468
346
|
public listExceedingCredits(requestParameters: ExceedingCreditsApiListExceedingCreditsRequest = {}, options?: AxiosRequestConfig) {
|
|
469
|
-
return ExceedingCreditsApiFp(this.configuration).listExceedingCredits(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters,
|
|
347
|
+
return ExceedingCreditsApiFp(this.configuration).listExceedingCredits(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then((request) => request(this.axios, this.basePath));
|
|
470
348
|
}
|
|
471
349
|
}
|
package/api/health-check-api.ts
CHANGED
|
@@ -119,6 +119,6 @@ export class HealthCheckApi extends BaseAPI {
|
|
|
119
119
|
* @memberof HealthCheckApi
|
|
120
120
|
*/
|
|
121
121
|
public check(options?: AxiosRequestConfig) {
|
|
122
|
-
return HealthCheckApiFp(this.configuration).check(
|
|
122
|
+
return HealthCheckApiFp(this.configuration).check(options).then((request) => request(this.axios, this.basePath));
|
|
123
123
|
}
|
|
124
124
|
}
|
package/api/ibanvalidator-api.ts
CHANGED
|
@@ -59,13 +59,8 @@ export const IBANValidatorApiAxiosParamCreator = function (configuration?: Confi
|
|
|
59
59
|
// http bearer authentication required
|
|
60
60
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
61
61
|
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
const authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
|
|
65
|
-
const authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
|
|
66
|
-
const authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !baseOptions?.headers?.['X-Emil-Account'];
|
|
67
|
-
if (authorizationValue || authorizationKeepEmpty) {
|
|
68
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
62
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
63
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
69
64
|
}
|
|
70
65
|
|
|
71
66
|
|
|
@@ -165,6 +160,6 @@ export class IBANValidatorApi extends BaseAPI {
|
|
|
165
160
|
* @memberof IBANValidatorApi
|
|
166
161
|
*/
|
|
167
162
|
public validateIban(requestParameters: IBANValidatorApiValidateIbanRequest, options?: AxiosRequestConfig) {
|
|
168
|
-
return IBANValidatorApiFp(this.configuration).validateIban(requestParameters.validateIbanRequestDto, requestParameters.authorization,
|
|
163
|
+
return IBANValidatorApiFp(this.configuration).validateIban(requestParameters.validateIbanRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
169
164
|
}
|
|
170
165
|
}
|
|
@@ -63,13 +63,8 @@ export const PaymentMethodsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
63
63
|
// http bearer authentication required
|
|
64
64
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
65
65
|
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
const authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
|
|
69
|
-
const authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
|
|
70
|
-
const authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !baseOptions?.headers?.['X-Emil-Account'];
|
|
71
|
-
if (authorizationValue || authorizationKeepEmpty) {
|
|
72
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
66
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
67
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
73
68
|
}
|
|
74
69
|
|
|
75
70
|
|
|
@@ -116,13 +111,8 @@ export const PaymentMethodsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
116
111
|
// http bearer authentication required
|
|
117
112
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
118
113
|
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
const authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
|
|
122
|
-
const authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
|
|
123
|
-
const authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !baseOptions?.headers?.['X-Emil-Account'];
|
|
124
|
-
if (authorizationValue || authorizationKeepEmpty) {
|
|
125
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
114
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
115
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
126
116
|
}
|
|
127
117
|
|
|
128
118
|
|
|
@@ -197,13 +187,8 @@ export const PaymentMethodsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
197
187
|
localVarQueryParameter['filters'] = filters;
|
|
198
188
|
}
|
|
199
189
|
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
const authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
|
|
203
|
-
const authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
|
|
204
|
-
const authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !baseOptions?.headers?.['X-Emil-Account'];
|
|
205
|
-
if (authorizationValue || authorizationKeepEmpty) {
|
|
206
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
190
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
191
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
207
192
|
}
|
|
208
193
|
|
|
209
194
|
|
|
@@ -442,7 +427,7 @@ export class PaymentMethodsApi extends BaseAPI {
|
|
|
442
427
|
* @memberof PaymentMethodsApi
|
|
443
428
|
*/
|
|
444
429
|
public createPaymentMethod(requestParameters: PaymentMethodsApiCreatePaymentMethodRequest, options?: AxiosRequestConfig) {
|
|
445
|
-
return PaymentMethodsApiFp(this.configuration).createPaymentMethod(requestParameters.createPspPaymentMethodRequestDto, requestParameters.authorization,
|
|
430
|
+
return PaymentMethodsApiFp(this.configuration).createPaymentMethod(requestParameters.createPspPaymentMethodRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
446
431
|
}
|
|
447
432
|
|
|
448
433
|
/**
|
|
@@ -454,7 +439,7 @@ export class PaymentMethodsApi extends BaseAPI {
|
|
|
454
439
|
* @memberof PaymentMethodsApi
|
|
455
440
|
*/
|
|
456
441
|
public getPaymentMethod(requestParameters: PaymentMethodsApiGetPaymentMethodRequest, options?: AxiosRequestConfig) {
|
|
457
|
-
return PaymentMethodsApiFp(this.configuration).getPaymentMethod(requestParameters.code, requestParameters.authorization,
|
|
442
|
+
return PaymentMethodsApiFp(this.configuration).getPaymentMethod(requestParameters.code, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
458
443
|
}
|
|
459
444
|
|
|
460
445
|
/**
|
|
@@ -466,6 +451,6 @@ export class PaymentMethodsApi extends BaseAPI {
|
|
|
466
451
|
* @memberof PaymentMethodsApi
|
|
467
452
|
*/
|
|
468
453
|
public listPaymentMethods(requestParameters: PaymentMethodsApiListPaymentMethodsRequest = {}, options?: AxiosRequestConfig) {
|
|
469
|
-
return PaymentMethodsApiFp(this.configuration).listPaymentMethods(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters,
|
|
454
|
+
return PaymentMethodsApiFp(this.configuration).listPaymentMethods(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then((request) => request(this.axios, this.basePath));
|
|
470
455
|
}
|
|
471
456
|
}
|
|
@@ -65,13 +65,8 @@ export const PaymentReceiptsApiAxiosParamCreator = function (configuration?: Con
|
|
|
65
65
|
// http bearer authentication required
|
|
66
66
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
67
67
|
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
const authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
|
|
71
|
-
const authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
|
|
72
|
-
const authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !baseOptions?.headers?.['X-Emil-Account'];
|
|
73
|
-
if (authorizationValue || authorizationKeepEmpty) {
|
|
74
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
68
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
69
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
75
70
|
}
|
|
76
71
|
|
|
77
72
|
|
|
@@ -118,13 +113,8 @@ export const PaymentReceiptsApiAxiosParamCreator = function (configuration?: Con
|
|
|
118
113
|
// http bearer authentication required
|
|
119
114
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
120
115
|
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
const authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
|
|
124
|
-
const authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
|
|
125
|
-
const authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !baseOptions?.headers?.['X-Emil-Account'];
|
|
126
|
-
if (authorizationValue || authorizationKeepEmpty) {
|
|
127
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
116
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
117
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
128
118
|
}
|
|
129
119
|
|
|
130
120
|
|
|
@@ -175,13 +165,8 @@ export const PaymentReceiptsApiAxiosParamCreator = function (configuration?: Con
|
|
|
175
165
|
localVarQueryParameter['expand'] = expand;
|
|
176
166
|
}
|
|
177
167
|
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
const authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
|
|
181
|
-
const authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
|
|
182
|
-
const authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !baseOptions?.headers?.['X-Emil-Account'];
|
|
183
|
-
if (authorizationValue || authorizationKeepEmpty) {
|
|
184
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
168
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
169
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
185
170
|
}
|
|
186
171
|
|
|
187
172
|
|
|
@@ -256,13 +241,8 @@ export const PaymentReceiptsApiAxiosParamCreator = function (configuration?: Con
|
|
|
256
241
|
localVarQueryParameter['filters'] = filters;
|
|
257
242
|
}
|
|
258
243
|
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
const authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
|
|
262
|
-
const authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
|
|
263
|
-
const authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !baseOptions?.headers?.['X-Emil-Account'];
|
|
264
|
-
if (authorizationValue || authorizationKeepEmpty) {
|
|
265
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
244
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
245
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
266
246
|
}
|
|
267
247
|
|
|
268
248
|
|
|
@@ -306,13 +286,8 @@ export const PaymentReceiptsApiAxiosParamCreator = function (configuration?: Con
|
|
|
306
286
|
// http bearer authentication required
|
|
307
287
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
308
288
|
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
const authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
|
|
312
|
-
const authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
|
|
313
|
-
const authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !baseOptions?.headers?.['X-Emil-Account'];
|
|
314
|
-
if (authorizationValue || authorizationKeepEmpty) {
|
|
315
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
289
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
290
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
316
291
|
}
|
|
317
292
|
|
|
318
293
|
|
|
@@ -648,7 +623,7 @@ export class PaymentReceiptsApi extends BaseAPI {
|
|
|
648
623
|
* @memberof PaymentReceiptsApi
|
|
649
624
|
*/
|
|
650
625
|
public createPaymentReceipt(requestParameters: PaymentReceiptsApiCreatePaymentReceiptRequest, options?: AxiosRequestConfig) {
|
|
651
|
-
return PaymentReceiptsApiFp(this.configuration).createPaymentReceipt(requestParameters.createPaymentReceiptRequestDto, requestParameters.authorization,
|
|
626
|
+
return PaymentReceiptsApiFp(this.configuration).createPaymentReceipt(requestParameters.createPaymentReceiptRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
652
627
|
}
|
|
653
628
|
|
|
654
629
|
/**
|
|
@@ -660,7 +635,7 @@ export class PaymentReceiptsApi extends BaseAPI {
|
|
|
660
635
|
* @memberof PaymentReceiptsApi
|
|
661
636
|
*/
|
|
662
637
|
public deletePaymentReceipt(requestParameters: PaymentReceiptsApiDeletePaymentReceiptRequest, options?: AxiosRequestConfig) {
|
|
663
|
-
return PaymentReceiptsApiFp(this.configuration).deletePaymentReceipt(requestParameters.code, requestParameters.authorization,
|
|
638
|
+
return PaymentReceiptsApiFp(this.configuration).deletePaymentReceipt(requestParameters.code, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
664
639
|
}
|
|
665
640
|
|
|
666
641
|
/**
|
|
@@ -672,7 +647,7 @@ export class PaymentReceiptsApi extends BaseAPI {
|
|
|
672
647
|
* @memberof PaymentReceiptsApi
|
|
673
648
|
*/
|
|
674
649
|
public getPaymentReceipt(requestParameters: PaymentReceiptsApiGetPaymentReceiptRequest, options?: AxiosRequestConfig) {
|
|
675
|
-
return PaymentReceiptsApiFp(this.configuration).getPaymentReceipt(requestParameters.code, requestParameters.expand, requestParameters.authorization,
|
|
650
|
+
return PaymentReceiptsApiFp(this.configuration).getPaymentReceipt(requestParameters.code, requestParameters.expand, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
676
651
|
}
|
|
677
652
|
|
|
678
653
|
/**
|
|
@@ -684,7 +659,7 @@ export class PaymentReceiptsApi extends BaseAPI {
|
|
|
684
659
|
* @memberof PaymentReceiptsApi
|
|
685
660
|
*/
|
|
686
661
|
public listPaymentReceipts(requestParameters: PaymentReceiptsApiListPaymentReceiptsRequest = {}, options?: AxiosRequestConfig) {
|
|
687
|
-
return PaymentReceiptsApiFp(this.configuration).listPaymentReceipts(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters,
|
|
662
|
+
return PaymentReceiptsApiFp(this.configuration).listPaymentReceipts(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then((request) => request(this.axios, this.basePath));
|
|
688
663
|
}
|
|
689
664
|
|
|
690
665
|
/**
|
|
@@ -696,6 +671,6 @@ export class PaymentReceiptsApi extends BaseAPI {
|
|
|
696
671
|
* @memberof PaymentReceiptsApi
|
|
697
672
|
*/
|
|
698
673
|
public updatePaymentReceipt(requestParameters: PaymentReceiptsApiUpdatePaymentReceiptRequest, options?: AxiosRequestConfig) {
|
|
699
|
-
return PaymentReceiptsApiFp(this.configuration).updatePaymentReceipt(requestParameters.code, requestParameters.authorization,
|
|
674
|
+
return PaymentReceiptsApiFp(this.configuration).updatePaymentReceipt(requestParameters.code, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
700
675
|
}
|
|
701
676
|
}
|
|
@@ -67,13 +67,8 @@ export const PaymentRemindersApiAxiosParamCreator = function (configuration?: Co
|
|
|
67
67
|
// http bearer authentication required
|
|
68
68
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
69
69
|
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
const authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
|
|
73
|
-
const authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
|
|
74
|
-
const authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !baseOptions?.headers?.['X-Emil-Account'];
|
|
75
|
-
if (authorizationValue || authorizationKeepEmpty) {
|
|
76
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
70
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
71
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
77
72
|
}
|
|
78
73
|
|
|
79
74
|
|
|
@@ -123,13 +118,8 @@ export const PaymentRemindersApiAxiosParamCreator = function (configuration?: Co
|
|
|
123
118
|
// http bearer authentication required
|
|
124
119
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
125
120
|
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
const authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
|
|
129
|
-
const authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
|
|
130
|
-
const authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !baseOptions?.headers?.['X-Emil-Account'];
|
|
131
|
-
if (authorizationValue || authorizationKeepEmpty) {
|
|
132
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
121
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
122
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
133
123
|
}
|
|
134
124
|
|
|
135
125
|
|
|
@@ -176,13 +166,8 @@ export const PaymentRemindersApiAxiosParamCreator = function (configuration?: Co
|
|
|
176
166
|
// http bearer authentication required
|
|
177
167
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
178
168
|
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
const authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
|
|
182
|
-
const authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
|
|
183
|
-
const authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !baseOptions?.headers?.['X-Emil-Account'];
|
|
184
|
-
if (authorizationValue || authorizationKeepEmpty) {
|
|
185
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
169
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
170
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
186
171
|
}
|
|
187
172
|
|
|
188
173
|
|
|
@@ -257,13 +242,8 @@ export const PaymentRemindersApiAxiosParamCreator = function (configuration?: Co
|
|
|
257
242
|
localVarQueryParameter['filters'] = filters;
|
|
258
243
|
}
|
|
259
244
|
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
const authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
|
|
263
|
-
const authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
|
|
264
|
-
const authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !baseOptions?.headers?.['X-Emil-Account'];
|
|
265
|
-
if (authorizationValue || authorizationKeepEmpty) {
|
|
266
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
245
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
246
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
267
247
|
}
|
|
268
248
|
|
|
269
249
|
|
|
@@ -555,7 +535,7 @@ export class PaymentRemindersApi extends BaseAPI {
|
|
|
555
535
|
* @memberof PaymentRemindersApi
|
|
556
536
|
*/
|
|
557
537
|
public createPaymentReminder(requestParameters: PaymentRemindersApiCreatePaymentReminderRequest, options?: AxiosRequestConfig) {
|
|
558
|
-
return PaymentRemindersApiFp(this.configuration).createPaymentReminder(requestParameters.createPaymentReminderRequestDto, requestParameters.authorization,
|
|
538
|
+
return PaymentRemindersApiFp(this.configuration).createPaymentReminder(requestParameters.createPaymentReminderRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
559
539
|
}
|
|
560
540
|
|
|
561
541
|
/**
|
|
@@ -567,7 +547,7 @@ export class PaymentRemindersApi extends BaseAPI {
|
|
|
567
547
|
* @memberof PaymentRemindersApi
|
|
568
548
|
*/
|
|
569
549
|
public deactivatePaymentReminder(requestParameters: PaymentRemindersApiDeactivatePaymentReminderRequest, options?: AxiosRequestConfig) {
|
|
570
|
-
return PaymentRemindersApiFp(this.configuration).deactivatePaymentReminder(requestParameters.code, requestParameters.deactivatePaymentReminderRequestDto, requestParameters.authorization,
|
|
550
|
+
return PaymentRemindersApiFp(this.configuration).deactivatePaymentReminder(requestParameters.code, requestParameters.deactivatePaymentReminderRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
571
551
|
}
|
|
572
552
|
|
|
573
553
|
/**
|
|
@@ -579,7 +559,7 @@ export class PaymentRemindersApi extends BaseAPI {
|
|
|
579
559
|
* @memberof PaymentRemindersApi
|
|
580
560
|
*/
|
|
581
561
|
public getPaymentReminder(requestParameters: PaymentRemindersApiGetPaymentReminderRequest, options?: AxiosRequestConfig) {
|
|
582
|
-
return PaymentRemindersApiFp(this.configuration).getPaymentReminder(requestParameters.code, requestParameters.authorization,
|
|
562
|
+
return PaymentRemindersApiFp(this.configuration).getPaymentReminder(requestParameters.code, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
583
563
|
}
|
|
584
564
|
|
|
585
565
|
/**
|
|
@@ -591,6 +571,6 @@ export class PaymentRemindersApi extends BaseAPI {
|
|
|
591
571
|
* @memberof PaymentRemindersApi
|
|
592
572
|
*/
|
|
593
573
|
public listPaymentReminders(requestParameters: PaymentRemindersApiListPaymentRemindersRequest = {}, options?: AxiosRequestConfig) {
|
|
594
|
-
return PaymentRemindersApiFp(this.configuration).listPaymentReminders(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters,
|
|
574
|
+
return PaymentRemindersApiFp(this.configuration).listPaymentReminders(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then((request) => request(this.axios, this.basePath));
|
|
595
575
|
}
|
|
596
576
|
}
|