@emilgroup/payment-sdk 1.22.1-beta.82 → 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 -8
- 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 -240
- 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 -116
- package/dist/api/exceeding-credits-api.js +15 -226
- 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-class.d.ts +2 -25
- package/dist/models/exceeding-credit-class.js +1 -5
- package/dist/models/exceeding-credit-entity.d.ts +2 -31
- package/dist/models/exceeding-credit-entity.js +1 -5
- package/dist/models/index.d.ts +0 -8
- package/dist/models/index.js +0 -8
- 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-class.ts +2 -26
- package/models/exceeding-credit-entity.ts +2 -32
- package/models/index.ts +0 -8
- 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/create-return-premium-credits-request-dto.d.ts +0 -24
- package/dist/models/create-return-premium-credits-request-dto.js +0 -15
- package/dist/models/create-return-premium-credits-response-class.d.ts +0 -25
- package/dist/models/create-return-premium-credits-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/create-return-premium-credits-request-dto.ts +0 -30
- package/models/create-return-premium-credits-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,14 +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
|
-
import { CreateReturnPremiumCreditsRequestDto } from '../models';
|
|
29
|
-
// @ts-ignore
|
|
30
|
-
import { CreateReturnPremiumCreditsResponseClass } from '../models';
|
|
31
|
-
// @ts-ignore
|
|
32
24
|
import { GetExceedingCreditResponseClass } from '../models';
|
|
33
25
|
// @ts-ignore
|
|
34
26
|
import { ListExceedingCreditsResponseClass } from '../models';
|
|
@@ -38,110 +30,6 @@ import { ListExceedingCreditsResponseClass } from '../models';
|
|
|
38
30
|
*/
|
|
39
31
|
export const ExceedingCreditsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
40
32
|
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
|
-
// Only Authorization falls back to the configured token. Without a session it is sent as before, empty when
|
|
71
|
-
// no token is stored, so a refused call still refreshes; a session call (account header) sends none.
|
|
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);
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
82
|
-
|
|
83
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
84
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
85
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
86
|
-
localVarRequestOptions.data = serializeDataIfNeeded(createExceedingCreditRequestDto, localVarRequestOptions, configuration)
|
|
87
|
-
|
|
88
|
-
return {
|
|
89
|
-
url: toPathString(localVarUrlObj),
|
|
90
|
-
options: localVarRequestOptions,
|
|
91
|
-
};
|
|
92
|
-
},
|
|
93
|
-
/**
|
|
94
|
-
* Create the return-premium credits of a reversing document (withdrawal, correction or final invoice). Already created credits are returned unchanged, so this also replays a lost invoice event. **Required Permissions** \"payment-management.payments.create\"
|
|
95
|
-
* @summary Create the return-premium credits
|
|
96
|
-
* @param {CreateReturnPremiumCreditsRequestDto} createReturnPremiumCreditsRequestDto
|
|
97
|
-
* @param {string} [authorization] Bearer Token
|
|
98
|
-
* @param {*} [options] Override http request option.
|
|
99
|
-
* @throws {RequiredError}
|
|
100
|
-
*/
|
|
101
|
-
createReturnPremiumCredits: async (createReturnPremiumCreditsRequestDto: CreateReturnPremiumCreditsRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
102
|
-
// verify required parameter 'createReturnPremiumCreditsRequestDto' is not null or undefined
|
|
103
|
-
assertParamExists('createReturnPremiumCredits', 'createReturnPremiumCreditsRequestDto', createReturnPremiumCreditsRequestDto)
|
|
104
|
-
const localVarPath = `/paymentservice/v1/exceeding-credits/return-premium`;
|
|
105
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
106
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
107
|
-
let baseOptions;
|
|
108
|
-
let baseAccessToken;
|
|
109
|
-
if (configuration) {
|
|
110
|
-
baseOptions = configuration.baseOptions;
|
|
111
|
-
baseAccessToken = configuration.accessToken;
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
115
|
-
const localVarHeaderParameter = {} as any;
|
|
116
|
-
const localVarQueryParameter = {} as any;
|
|
117
|
-
|
|
118
|
-
// authentication bearer required
|
|
119
|
-
// http bearer authentication required
|
|
120
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
121
|
-
|
|
122
|
-
// Only Authorization falls back to the configured token. Without a session it is sent as before, empty when
|
|
123
|
-
// no token is stored, so a refused call still refreshes; a session call (account header) sends none.
|
|
124
|
-
const authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
|
|
125
|
-
const authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
|
|
126
|
-
const authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !baseOptions?.headers?.['X-Emil-Account'];
|
|
127
|
-
if (authorizationValue || authorizationKeepEmpty) {
|
|
128
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
129
|
-
}
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
134
|
-
|
|
135
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
136
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
137
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
138
|
-
localVarRequestOptions.data = serializeDataIfNeeded(createReturnPremiumCreditsRequestDto, localVarRequestOptions, configuration)
|
|
139
|
-
|
|
140
|
-
return {
|
|
141
|
-
url: toPathString(localVarUrlObj),
|
|
142
|
-
options: localVarRequestOptions,
|
|
143
|
-
};
|
|
144
|
-
},
|
|
145
33
|
/**
|
|
146
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\"
|
|
147
35
|
* @summary Retrieve the exceeding credit
|
|
@@ -172,13 +60,8 @@ export const ExceedingCreditsApiAxiosParamCreator = function (configuration?: Co
|
|
|
172
60
|
// http bearer authentication required
|
|
173
61
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
174
62
|
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
const authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
|
|
178
|
-
const authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
|
|
179
|
-
const authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !baseOptions?.headers?.['X-Emil-Account'];
|
|
180
|
-
if (authorizationValue || authorizationKeepEmpty) {
|
|
181
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
63
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
64
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
182
65
|
}
|
|
183
66
|
|
|
184
67
|
|
|
@@ -253,13 +136,8 @@ export const ExceedingCreditsApiAxiosParamCreator = function (configuration?: Co
|
|
|
253
136
|
localVarQueryParameter['filters'] = filters;
|
|
254
137
|
}
|
|
255
138
|
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
const authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
|
|
259
|
-
const authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
|
|
260
|
-
const authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !baseOptions?.headers?.['X-Emil-Account'];
|
|
261
|
-
if (authorizationValue || authorizationKeepEmpty) {
|
|
262
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
139
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
140
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
263
141
|
}
|
|
264
142
|
|
|
265
143
|
|
|
@@ -283,30 +161,6 @@ export const ExceedingCreditsApiAxiosParamCreator = function (configuration?: Co
|
|
|
283
161
|
export const ExceedingCreditsApiFp = function(configuration?: Configuration) {
|
|
284
162
|
const localVarAxiosParamCreator = ExceedingCreditsApiAxiosParamCreator(configuration)
|
|
285
163
|
return {
|
|
286
|
-
/**
|
|
287
|
-
* Create an exceeding credit for a bank transaction that exceeds the invoiced amount. **Required Permissions** \"payment-management.payments.create\"
|
|
288
|
-
* @summary Create the exceeding credit
|
|
289
|
-
* @param {CreateExceedingCreditRequestDto} createExceedingCreditRequestDto
|
|
290
|
-
* @param {string} [authorization] Bearer Token
|
|
291
|
-
* @param {*} [options] Override http request option.
|
|
292
|
-
* @throws {RequiredError}
|
|
293
|
-
*/
|
|
294
|
-
async createExceedingCredit(createExceedingCreditRequestDto: CreateExceedingCreditRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateExceedingCreditResponseClass>> {
|
|
295
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.createExceedingCredit(createExceedingCreditRequestDto, authorization, options);
|
|
296
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
297
|
-
},
|
|
298
|
-
/**
|
|
299
|
-
* Create the return-premium credits of a reversing document (withdrawal, correction or final invoice). Already created credits are returned unchanged, so this also replays a lost invoice event. **Required Permissions** \"payment-management.payments.create\"
|
|
300
|
-
* @summary Create the return-premium credits
|
|
301
|
-
* @param {CreateReturnPremiumCreditsRequestDto} createReturnPremiumCreditsRequestDto
|
|
302
|
-
* @param {string} [authorization] Bearer Token
|
|
303
|
-
* @param {*} [options] Override http request option.
|
|
304
|
-
* @throws {RequiredError}
|
|
305
|
-
*/
|
|
306
|
-
async createReturnPremiumCredits(createReturnPremiumCreditsRequestDto: CreateReturnPremiumCreditsRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateReturnPremiumCreditsResponseClass>> {
|
|
307
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.createReturnPremiumCredits(createReturnPremiumCreditsRequestDto, authorization, options);
|
|
308
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
309
|
-
},
|
|
310
164
|
/**
|
|
311
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\"
|
|
312
166
|
* @summary Retrieve the exceeding credit
|
|
@@ -347,28 +201,6 @@ export const ExceedingCreditsApiFp = function(configuration?: Configuration) {
|
|
|
347
201
|
export const ExceedingCreditsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
348
202
|
const localVarFp = ExceedingCreditsApiFp(configuration)
|
|
349
203
|
return {
|
|
350
|
-
/**
|
|
351
|
-
* Create an exceeding credit for a bank transaction that exceeds the invoiced amount. **Required Permissions** \"payment-management.payments.create\"
|
|
352
|
-
* @summary Create the exceeding credit
|
|
353
|
-
* @param {CreateExceedingCreditRequestDto} createExceedingCreditRequestDto
|
|
354
|
-
* @param {string} [authorization] Bearer Token
|
|
355
|
-
* @param {*} [options] Override http request option.
|
|
356
|
-
* @throws {RequiredError}
|
|
357
|
-
*/
|
|
358
|
-
createExceedingCredit(createExceedingCreditRequestDto: CreateExceedingCreditRequestDto, authorization?: string, options?: any): AxiosPromise<CreateExceedingCreditResponseClass> {
|
|
359
|
-
return localVarFp.createExceedingCredit(createExceedingCreditRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
360
|
-
},
|
|
361
|
-
/**
|
|
362
|
-
* Create the return-premium credits of a reversing document (withdrawal, correction or final invoice). Already created credits are returned unchanged, so this also replays a lost invoice event. **Required Permissions** \"payment-management.payments.create\"
|
|
363
|
-
* @summary Create the return-premium credits
|
|
364
|
-
* @param {CreateReturnPremiumCreditsRequestDto} createReturnPremiumCreditsRequestDto
|
|
365
|
-
* @param {string} [authorization] Bearer Token
|
|
366
|
-
* @param {*} [options] Override http request option.
|
|
367
|
-
* @throws {RequiredError}
|
|
368
|
-
*/
|
|
369
|
-
createReturnPremiumCredits(createReturnPremiumCreditsRequestDto: CreateReturnPremiumCreditsRequestDto, authorization?: string, options?: any): AxiosPromise<CreateReturnPremiumCreditsResponseClass> {
|
|
370
|
-
return localVarFp.createReturnPremiumCredits(createReturnPremiumCreditsRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
371
|
-
},
|
|
372
204
|
/**
|
|
373
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\"
|
|
374
206
|
* @summary Retrieve the exceeding credit
|
|
@@ -400,48 +232,6 @@ export const ExceedingCreditsApiFactory = function (configuration?: Configuratio
|
|
|
400
232
|
};
|
|
401
233
|
};
|
|
402
234
|
|
|
403
|
-
/**
|
|
404
|
-
* Request parameters for createExceedingCredit operation in ExceedingCreditsApi.
|
|
405
|
-
* @export
|
|
406
|
-
* @interface ExceedingCreditsApiCreateExceedingCreditRequest
|
|
407
|
-
*/
|
|
408
|
-
export interface ExceedingCreditsApiCreateExceedingCreditRequest {
|
|
409
|
-
/**
|
|
410
|
-
*
|
|
411
|
-
* @type {CreateExceedingCreditRequestDto}
|
|
412
|
-
* @memberof ExceedingCreditsApiCreateExceedingCredit
|
|
413
|
-
*/
|
|
414
|
-
readonly createExceedingCreditRequestDto: CreateExceedingCreditRequestDto
|
|
415
|
-
|
|
416
|
-
/**
|
|
417
|
-
* Bearer Token
|
|
418
|
-
* @type {string}
|
|
419
|
-
* @memberof ExceedingCreditsApiCreateExceedingCredit
|
|
420
|
-
*/
|
|
421
|
-
readonly authorization?: string
|
|
422
|
-
}
|
|
423
|
-
|
|
424
|
-
/**
|
|
425
|
-
* Request parameters for createReturnPremiumCredits operation in ExceedingCreditsApi.
|
|
426
|
-
* @export
|
|
427
|
-
* @interface ExceedingCreditsApiCreateReturnPremiumCreditsRequest
|
|
428
|
-
*/
|
|
429
|
-
export interface ExceedingCreditsApiCreateReturnPremiumCreditsRequest {
|
|
430
|
-
/**
|
|
431
|
-
*
|
|
432
|
-
* @type {CreateReturnPremiumCreditsRequestDto}
|
|
433
|
-
* @memberof ExceedingCreditsApiCreateReturnPremiumCredits
|
|
434
|
-
*/
|
|
435
|
-
readonly createReturnPremiumCreditsRequestDto: CreateReturnPremiumCreditsRequestDto
|
|
436
|
-
|
|
437
|
-
/**
|
|
438
|
-
* Bearer Token
|
|
439
|
-
* @type {string}
|
|
440
|
-
* @memberof ExceedingCreditsApiCreateReturnPremiumCredits
|
|
441
|
-
*/
|
|
442
|
-
readonly authorization?: string
|
|
443
|
-
}
|
|
444
|
-
|
|
445
235
|
/**
|
|
446
236
|
* Request parameters for getExceedingCredit operation in ExceedingCreditsApi.
|
|
447
237
|
* @export
|
|
@@ -533,30 +323,6 @@ export interface ExceedingCreditsApiListExceedingCreditsRequest {
|
|
|
533
323
|
* @extends {BaseAPI}
|
|
534
324
|
*/
|
|
535
325
|
export class ExceedingCreditsApi extends BaseAPI {
|
|
536
|
-
/**
|
|
537
|
-
* Create an exceeding credit for a bank transaction that exceeds the invoiced amount. **Required Permissions** \"payment-management.payments.create\"
|
|
538
|
-
* @summary Create the exceeding credit
|
|
539
|
-
* @param {ExceedingCreditsApiCreateExceedingCreditRequest} requestParameters Request parameters.
|
|
540
|
-
* @param {*} [options] Override http request option.
|
|
541
|
-
* @throws {RequiredError}
|
|
542
|
-
* @memberof ExceedingCreditsApi
|
|
543
|
-
*/
|
|
544
|
-
public createExceedingCredit(requestParameters: ExceedingCreditsApiCreateExceedingCreditRequest, options?: AxiosRequestConfig) {
|
|
545
|
-
return ExceedingCreditsApiFp(this.configuration).createExceedingCredit(requestParameters.createExceedingCreditRequestDto, requestParameters.authorization, this.withOwner(options)).then((request) => request(this.axios, this.basePath));
|
|
546
|
-
}
|
|
547
|
-
|
|
548
|
-
/**
|
|
549
|
-
* Create the return-premium credits of a reversing document (withdrawal, correction or final invoice). Already created credits are returned unchanged, so this also replays a lost invoice event. **Required Permissions** \"payment-management.payments.create\"
|
|
550
|
-
* @summary Create the return-premium credits
|
|
551
|
-
* @param {ExceedingCreditsApiCreateReturnPremiumCreditsRequest} requestParameters Request parameters.
|
|
552
|
-
* @param {*} [options] Override http request option.
|
|
553
|
-
* @throws {RequiredError}
|
|
554
|
-
* @memberof ExceedingCreditsApi
|
|
555
|
-
*/
|
|
556
|
-
public createReturnPremiumCredits(requestParameters: ExceedingCreditsApiCreateReturnPremiumCreditsRequest, options?: AxiosRequestConfig) {
|
|
557
|
-
return ExceedingCreditsApiFp(this.configuration).createReturnPremiumCredits(requestParameters.createReturnPremiumCreditsRequestDto, requestParameters.authorization, this.withOwner(options)).then((request) => request(this.axios, this.basePath));
|
|
558
|
-
}
|
|
559
|
-
|
|
560
326
|
/**
|
|
561
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\"
|
|
562
328
|
* @summary Retrieve the exceeding credit
|
|
@@ -566,7 +332,7 @@ export class ExceedingCreditsApi extends BaseAPI {
|
|
|
566
332
|
* @memberof ExceedingCreditsApi
|
|
567
333
|
*/
|
|
568
334
|
public getExceedingCredit(requestParameters: ExceedingCreditsApiGetExceedingCreditRequest, options?: AxiosRequestConfig) {
|
|
569
|
-
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));
|
|
570
336
|
}
|
|
571
337
|
|
|
572
338
|
/**
|
|
@@ -578,6 +344,6 @@ export class ExceedingCreditsApi extends BaseAPI {
|
|
|
578
344
|
* @memberof ExceedingCreditsApi
|
|
579
345
|
*/
|
|
580
346
|
public listExceedingCredits(requestParameters: ExceedingCreditsApiListExceedingCreditsRequest = {}, options?: AxiosRequestConfig) {
|
|
581
|
-
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));
|
|
582
348
|
}
|
|
583
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
|
}
|