@emilgroup/payment-sdk 1.4.1-beta.23 → 1.4.1-beta.24
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/README.md +2 -2
- package/api/bank-transaction-api.ts +8 -8
- package/api/payment-methods-api.ts +34 -141
- package/api/payment-reminders-api.ts +8 -8
- package/api/payments-api.ts +38 -41
- package/api/tenant-bank-account-api.ts +16 -16
- package/dist/api/bank-transaction-api.d.ts +8 -8
- package/dist/api/bank-transaction-api.js +8 -8
- package/dist/api/payment-methods-api.d.ts +25 -80
- package/dist/api/payment-methods-api.js +30 -126
- package/dist/api/payment-reminders-api.d.ts +8 -8
- package/dist/api/payment-reminders-api.js +8 -8
- package/dist/api/payments-api.d.ts +29 -29
- package/dist/api/payments-api.js +34 -36
- package/dist/api/tenant-bank-account-api.d.ts +16 -16
- package/dist/api/tenant-bank-account-api.js +11 -11
- package/package.json +1 -1
|
@@ -195,7 +195,7 @@ var PaymentRemindersApiAxiosParamCreator = function (configuration) {
|
|
|
195
195
|
});
|
|
196
196
|
},
|
|
197
197
|
/**
|
|
198
|
-
* Retrieves the details of the payment reminder that was previously created. Supply the unique payment reminder code
|
|
198
|
+
* Retrieves the details of the payment reminder that was previously created. Supply the unique payment reminder code that was returned when you created it and Emil Api will return the corresponding payment reminder information.
|
|
199
199
|
* @summary Retrieve the payment reminder
|
|
200
200
|
* @param {string} code Unique identifier for the object.
|
|
201
201
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -243,7 +243,7 @@ var PaymentRemindersApiAxiosParamCreator = function (configuration) {
|
|
|
243
243
|
});
|
|
244
244
|
},
|
|
245
245
|
/**
|
|
246
|
-
* Returns a list of payment reminders you have previously created.
|
|
246
|
+
* Returns a list of payment reminders you have previously created. The payment reminders are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
247
247
|
* @summary List payment reminders
|
|
248
248
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
249
249
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
@@ -368,7 +368,7 @@ var PaymentRemindersApiFp = function (configuration) {
|
|
|
368
368
|
});
|
|
369
369
|
},
|
|
370
370
|
/**
|
|
371
|
-
* Retrieves the details of the payment reminder that was previously created. Supply the unique payment reminder code
|
|
371
|
+
* Retrieves the details of the payment reminder that was previously created. Supply the unique payment reminder code that was returned when you created it and Emil Api will return the corresponding payment reminder information.
|
|
372
372
|
* @summary Retrieve the payment reminder
|
|
373
373
|
* @param {string} code Unique identifier for the object.
|
|
374
374
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -389,7 +389,7 @@ var PaymentRemindersApiFp = function (configuration) {
|
|
|
389
389
|
});
|
|
390
390
|
},
|
|
391
391
|
/**
|
|
392
|
-
* Returns a list of payment reminders you have previously created.
|
|
392
|
+
* Returns a list of payment reminders you have previously created. The payment reminders are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
393
393
|
* @summary List payment reminders
|
|
394
394
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
395
395
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
@@ -449,7 +449,7 @@ var PaymentRemindersApiFactory = function (configuration, basePath, axios) {
|
|
|
449
449
|
return localVarFp.deactivatePaymentReminder(code, deactivatePaymentReminderRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
450
450
|
},
|
|
451
451
|
/**
|
|
452
|
-
* Retrieves the details of the payment reminder that was previously created. Supply the unique payment reminder code
|
|
452
|
+
* Retrieves the details of the payment reminder that was previously created. Supply the unique payment reminder code that was returned when you created it and Emil Api will return the corresponding payment reminder information.
|
|
453
453
|
* @summary Retrieve the payment reminder
|
|
454
454
|
* @param {string} code Unique identifier for the object.
|
|
455
455
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -460,7 +460,7 @@ var PaymentRemindersApiFactory = function (configuration, basePath, axios) {
|
|
|
460
460
|
return localVarFp.getPolicy(code, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
461
461
|
},
|
|
462
462
|
/**
|
|
463
|
-
* Returns a list of payment reminders you have previously created.
|
|
463
|
+
* Returns a list of payment reminders you have previously created. The payment reminders are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
464
464
|
* @summary List payment reminders
|
|
465
465
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
466
466
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
@@ -515,7 +515,7 @@ var PaymentRemindersApi = /** @class */ (function (_super) {
|
|
|
515
515
|
return (0, exports.PaymentRemindersApiFp)(this.configuration).deactivatePaymentReminder(requestParameters.code, requestParameters.deactivatePaymentReminderRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
516
516
|
};
|
|
517
517
|
/**
|
|
518
|
-
* Retrieves the details of the payment reminder that was previously created. Supply the unique payment reminder code
|
|
518
|
+
* Retrieves the details of the payment reminder that was previously created. Supply the unique payment reminder code that was returned when you created it and Emil Api will return the corresponding payment reminder information.
|
|
519
519
|
* @summary Retrieve the payment reminder
|
|
520
520
|
* @param {PaymentRemindersApiGetPolicyRequest} requestParameters Request parameters.
|
|
521
521
|
* @param {*} [options] Override http request option.
|
|
@@ -527,7 +527,7 @@ var PaymentRemindersApi = /** @class */ (function (_super) {
|
|
|
527
527
|
return (0, exports.PaymentRemindersApiFp)(this.configuration).getPolicy(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
528
528
|
};
|
|
529
529
|
/**
|
|
530
|
-
* Returns a list of payment reminders you have previously created.
|
|
530
|
+
* Returns a list of payment reminders you have previously created. The payment reminders are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
531
531
|
* @summary List payment reminders
|
|
532
532
|
* @param {PaymentRemindersApiListPaymentRemindersRequest} requestParameters Request parameters.
|
|
533
533
|
* @param {*} [options] Override http request option.
|
|
@@ -20,7 +20,7 @@ import { CreatePaymentRequestDto } from '../models';
|
|
|
20
20
|
export declare const PaymentsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
21
21
|
/**
|
|
22
22
|
* Creates a payment for a specified account. This function is idempotent.
|
|
23
|
-
* @summary Create
|
|
23
|
+
* @summary Create the payment
|
|
24
24
|
* @param {string} idempotencyKey Idempotency Key used to make the request idempotent. The key should be unique. Usually, a generated v4 UUID is enough.
|
|
25
25
|
* @param {CreatePaymentRequestDto} createPaymentRequestDto
|
|
26
26
|
* @param {string} [authorization] Bearer Token
|
|
@@ -29,18 +29,18 @@ export declare const PaymentsApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
29
29
|
*/
|
|
30
30
|
createPayment: (idempotencyKey: string, createPaymentRequestDto: CreatePaymentRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
31
31
|
/**
|
|
32
|
-
* Retrieves the details of
|
|
33
|
-
* @summary Retrieve
|
|
34
|
-
* @param {string} code
|
|
32
|
+
* Retrieves the details of the payment that was previously created. Supply the unique payment code that was returned when you created it and Emil Api will return the corresponding payment information.
|
|
33
|
+
* @summary Retrieve the payment
|
|
34
|
+
* @param {string} code
|
|
35
|
+
* @param {string} code2 Unique identifier for the object.
|
|
35
36
|
* @param {string} expand Fields to expand response by
|
|
36
|
-
* @param {string} expand2 Fields to expand response by
|
|
37
37
|
* @param {string} [authorization] Bearer Token
|
|
38
38
|
* @param {*} [options] Override http request option.
|
|
39
39
|
* @throws {RequiredError}
|
|
40
40
|
*/
|
|
41
|
-
getPayment: (code: string,
|
|
41
|
+
getPayment: (code: string, code2: string, expand: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
42
42
|
/**
|
|
43
|
-
* Returns a list of payments you
|
|
43
|
+
* Returns a list of payments you have previously created. The payments are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
44
44
|
* @summary List payments
|
|
45
45
|
* @param {string} [authorization] Bearer Token
|
|
46
46
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
@@ -62,7 +62,7 @@ export declare const PaymentsApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
62
62
|
export declare const PaymentsApiFp: (configuration?: Configuration) => {
|
|
63
63
|
/**
|
|
64
64
|
* Creates a payment for a specified account. This function is idempotent.
|
|
65
|
-
* @summary Create
|
|
65
|
+
* @summary Create the payment
|
|
66
66
|
* @param {string} idempotencyKey Idempotency Key used to make the request idempotent. The key should be unique. Usually, a generated v4 UUID is enough.
|
|
67
67
|
* @param {CreatePaymentRequestDto} createPaymentRequestDto
|
|
68
68
|
* @param {string} [authorization] Bearer Token
|
|
@@ -71,18 +71,18 @@ export declare const PaymentsApiFp: (configuration?: Configuration) => {
|
|
|
71
71
|
*/
|
|
72
72
|
createPayment(idempotencyKey: string, createPaymentRequestDto: CreatePaymentRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
73
73
|
/**
|
|
74
|
-
* Retrieves the details of
|
|
75
|
-
* @summary Retrieve
|
|
76
|
-
* @param {string} code
|
|
74
|
+
* Retrieves the details of the payment that was previously created. Supply the unique payment code that was returned when you created it and Emil Api will return the corresponding payment information.
|
|
75
|
+
* @summary Retrieve the payment
|
|
76
|
+
* @param {string} code
|
|
77
|
+
* @param {string} code2 Unique identifier for the object.
|
|
77
78
|
* @param {string} expand Fields to expand response by
|
|
78
|
-
* @param {string} expand2 Fields to expand response by
|
|
79
79
|
* @param {string} [authorization] Bearer Token
|
|
80
80
|
* @param {*} [options] Override http request option.
|
|
81
81
|
* @throws {RequiredError}
|
|
82
82
|
*/
|
|
83
|
-
getPayment(code: string,
|
|
83
|
+
getPayment(code: string, code2: string, expand: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
84
84
|
/**
|
|
85
|
-
* Returns a list of payments you
|
|
85
|
+
* Returns a list of payments you have previously created. The payments are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
86
86
|
* @summary List payments
|
|
87
87
|
* @param {string} [authorization] Bearer Token
|
|
88
88
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
@@ -104,7 +104,7 @@ export declare const PaymentsApiFp: (configuration?: Configuration) => {
|
|
|
104
104
|
export declare const PaymentsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
105
105
|
/**
|
|
106
106
|
* Creates a payment for a specified account. This function is idempotent.
|
|
107
|
-
* @summary Create
|
|
107
|
+
* @summary Create the payment
|
|
108
108
|
* @param {string} idempotencyKey Idempotency Key used to make the request idempotent. The key should be unique. Usually, a generated v4 UUID is enough.
|
|
109
109
|
* @param {CreatePaymentRequestDto} createPaymentRequestDto
|
|
110
110
|
* @param {string} [authorization] Bearer Token
|
|
@@ -113,18 +113,18 @@ export declare const PaymentsApiFactory: (configuration?: Configuration, basePat
|
|
|
113
113
|
*/
|
|
114
114
|
createPayment(idempotencyKey: string, createPaymentRequestDto: CreatePaymentRequestDto, authorization?: string, options?: any): AxiosPromise<void>;
|
|
115
115
|
/**
|
|
116
|
-
* Retrieves the details of
|
|
117
|
-
* @summary Retrieve
|
|
118
|
-
* @param {string} code
|
|
116
|
+
* Retrieves the details of the payment that was previously created. Supply the unique payment code that was returned when you created it and Emil Api will return the corresponding payment information.
|
|
117
|
+
* @summary Retrieve the payment
|
|
118
|
+
* @param {string} code
|
|
119
|
+
* @param {string} code2 Unique identifier for the object.
|
|
119
120
|
* @param {string} expand Fields to expand response by
|
|
120
|
-
* @param {string} expand2 Fields to expand response by
|
|
121
121
|
* @param {string} [authorization] Bearer Token
|
|
122
122
|
* @param {*} [options] Override http request option.
|
|
123
123
|
* @throws {RequiredError}
|
|
124
124
|
*/
|
|
125
|
-
getPayment(code: string,
|
|
125
|
+
getPayment(code: string, code2: string, expand: string, authorization?: string, options?: any): AxiosPromise<void>;
|
|
126
126
|
/**
|
|
127
|
-
* Returns a list of payments you
|
|
127
|
+
* Returns a list of payments you have previously created. The payments are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
128
128
|
* @summary List payments
|
|
129
129
|
* @param {string} [authorization] Bearer Token
|
|
130
130
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
@@ -171,23 +171,23 @@ export interface PaymentsApiCreatePaymentRequest {
|
|
|
171
171
|
*/
|
|
172
172
|
export interface PaymentsApiGetPaymentRequest {
|
|
173
173
|
/**
|
|
174
|
-
*
|
|
174
|
+
*
|
|
175
175
|
* @type {string}
|
|
176
176
|
* @memberof PaymentsApiGetPayment
|
|
177
177
|
*/
|
|
178
178
|
readonly code: string;
|
|
179
179
|
/**
|
|
180
|
-
*
|
|
180
|
+
* Unique identifier for the object.
|
|
181
181
|
* @type {string}
|
|
182
182
|
* @memberof PaymentsApiGetPayment
|
|
183
183
|
*/
|
|
184
|
-
readonly
|
|
184
|
+
readonly code2: string;
|
|
185
185
|
/**
|
|
186
186
|
* Fields to expand response by
|
|
187
187
|
* @type {string}
|
|
188
188
|
* @memberof PaymentsApiGetPayment
|
|
189
189
|
*/
|
|
190
|
-
readonly
|
|
190
|
+
readonly expand: string;
|
|
191
191
|
/**
|
|
192
192
|
* Bearer Token
|
|
193
193
|
* @type {string}
|
|
@@ -259,7 +259,7 @@ export interface PaymentsApiListPaymentsRequest {
|
|
|
259
259
|
export declare class PaymentsApi extends BaseAPI {
|
|
260
260
|
/**
|
|
261
261
|
* Creates a payment for a specified account. This function is idempotent.
|
|
262
|
-
* @summary Create
|
|
262
|
+
* @summary Create the payment
|
|
263
263
|
* @param {PaymentsApiCreatePaymentRequest} requestParameters Request parameters.
|
|
264
264
|
* @param {*} [options] Override http request option.
|
|
265
265
|
* @throws {RequiredError}
|
|
@@ -267,8 +267,8 @@ export declare class PaymentsApi extends BaseAPI {
|
|
|
267
267
|
*/
|
|
268
268
|
createPayment(requestParameters: PaymentsApiCreatePaymentRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
269
269
|
/**
|
|
270
|
-
* Retrieves the details of
|
|
271
|
-
* @summary Retrieve
|
|
270
|
+
* Retrieves the details of the payment that was previously created. Supply the unique payment code that was returned when you created it and Emil Api will return the corresponding payment information.
|
|
271
|
+
* @summary Retrieve the payment
|
|
272
272
|
* @param {PaymentsApiGetPaymentRequest} requestParameters Request parameters.
|
|
273
273
|
* @param {*} [options] Override http request option.
|
|
274
274
|
* @throws {RequiredError}
|
|
@@ -276,7 +276,7 @@ export declare class PaymentsApi extends BaseAPI {
|
|
|
276
276
|
*/
|
|
277
277
|
getPayment(requestParameters: PaymentsApiGetPaymentRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
278
278
|
/**
|
|
279
|
-
* Returns a list of payments you
|
|
279
|
+
* Returns a list of payments you have previously created. The payments are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
280
280
|
* @summary List payments
|
|
281
281
|
* @param {PaymentsApiListPaymentsRequest} requestParameters Request parameters.
|
|
282
282
|
* @param {*} [options] Override http request option.
|
package/dist/api/payments-api.js
CHANGED
|
@@ -94,7 +94,7 @@ var PaymentsApiAxiosParamCreator = function (configuration) {
|
|
|
94
94
|
return {
|
|
95
95
|
/**
|
|
96
96
|
* Creates a payment for a specified account. This function is idempotent.
|
|
97
|
-
* @summary Create
|
|
97
|
+
* @summary Create the payment
|
|
98
98
|
* @param {string} idempotencyKey Idempotency Key used to make the request idempotent. The key should be unique. Usually, a generated v4 UUID is enough.
|
|
99
99
|
* @param {CreatePaymentRequestDto} createPaymentRequestDto
|
|
100
100
|
* @param {string} [authorization] Bearer Token
|
|
@@ -148,16 +148,16 @@ var PaymentsApiAxiosParamCreator = function (configuration) {
|
|
|
148
148
|
});
|
|
149
149
|
},
|
|
150
150
|
/**
|
|
151
|
-
* Retrieves the details of
|
|
152
|
-
* @summary Retrieve
|
|
153
|
-
* @param {string} code
|
|
151
|
+
* Retrieves the details of the payment that was previously created. Supply the unique payment code that was returned when you created it and Emil Api will return the corresponding payment information.
|
|
152
|
+
* @summary Retrieve the payment
|
|
153
|
+
* @param {string} code
|
|
154
|
+
* @param {string} code2 Unique identifier for the object.
|
|
154
155
|
* @param {string} expand Fields to expand response by
|
|
155
|
-
* @param {string} expand2 Fields to expand response by
|
|
156
156
|
* @param {string} [authorization] Bearer Token
|
|
157
157
|
* @param {*} [options] Override http request option.
|
|
158
158
|
* @throws {RequiredError}
|
|
159
159
|
*/
|
|
160
|
-
getPayment: function (code,
|
|
160
|
+
getPayment: function (code, code2, expand, authorization, options) {
|
|
161
161
|
if (options === void 0) { options = {}; }
|
|
162
162
|
return __awaiter(_this, void 0, void 0, function () {
|
|
163
163
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -166,11 +166,12 @@ var PaymentsApiAxiosParamCreator = function (configuration) {
|
|
|
166
166
|
case 0:
|
|
167
167
|
// verify required parameter 'code' is not null or undefined
|
|
168
168
|
(0, common_1.assertParamExists)('getPayment', 'code', code);
|
|
169
|
+
// verify required parameter 'code2' is not null or undefined
|
|
170
|
+
(0, common_1.assertParamExists)('getPayment', 'code2', code2);
|
|
169
171
|
// verify required parameter 'expand' is not null or undefined
|
|
170
172
|
(0, common_1.assertParamExists)('getPayment', 'expand', expand);
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
localVarPath = "/paymentservice/v1/payments/{code}";
|
|
173
|
+
localVarPath = "/paymentservice/v1/payments/{code}"
|
|
174
|
+
.replace("{".concat("code", "}"), encodeURIComponent(String(code)));
|
|
174
175
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
175
176
|
if (configuration) {
|
|
176
177
|
baseOptions = configuration.baseOptions;
|
|
@@ -186,15 +187,12 @@ var PaymentsApiAxiosParamCreator = function (configuration) {
|
|
|
186
187
|
// authentication bearer required
|
|
187
188
|
// http bearer authentication required
|
|
188
189
|
_a.sent();
|
|
189
|
-
if (
|
|
190
|
-
localVarQueryParameter['code'] =
|
|
190
|
+
if (code2 !== undefined) {
|
|
191
|
+
localVarQueryParameter['code'] = code2;
|
|
191
192
|
}
|
|
192
193
|
if (expand !== undefined) {
|
|
193
194
|
localVarQueryParameter['expand'] = expand;
|
|
194
195
|
}
|
|
195
|
-
if (expand2 !== undefined) {
|
|
196
|
-
localVarQueryParameter['expand'] = expand2;
|
|
197
|
-
}
|
|
198
196
|
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
199
197
|
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
200
198
|
}
|
|
@@ -210,7 +208,7 @@ var PaymentsApiAxiosParamCreator = function (configuration) {
|
|
|
210
208
|
});
|
|
211
209
|
},
|
|
212
210
|
/**
|
|
213
|
-
* Returns a list of payments you
|
|
211
|
+
* Returns a list of payments you have previously created. The payments are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
214
212
|
* @summary List payments
|
|
215
213
|
* @param {string} [authorization] Bearer Token
|
|
216
214
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
@@ -293,7 +291,7 @@ var PaymentsApiFp = function (configuration) {
|
|
|
293
291
|
return {
|
|
294
292
|
/**
|
|
295
293
|
* Creates a payment for a specified account. This function is idempotent.
|
|
296
|
-
* @summary Create
|
|
294
|
+
* @summary Create the payment
|
|
297
295
|
* @param {string} idempotencyKey Idempotency Key used to make the request idempotent. The key should be unique. Usually, a generated v4 UUID is enough.
|
|
298
296
|
* @param {CreatePaymentRequestDto} createPaymentRequestDto
|
|
299
297
|
* @param {string} [authorization] Bearer Token
|
|
@@ -314,21 +312,21 @@ var PaymentsApiFp = function (configuration) {
|
|
|
314
312
|
});
|
|
315
313
|
},
|
|
316
314
|
/**
|
|
317
|
-
* Retrieves the details of
|
|
318
|
-
* @summary Retrieve
|
|
319
|
-
* @param {string} code
|
|
315
|
+
* Retrieves the details of the payment that was previously created. Supply the unique payment code that was returned when you created it and Emil Api will return the corresponding payment information.
|
|
316
|
+
* @summary Retrieve the payment
|
|
317
|
+
* @param {string} code
|
|
318
|
+
* @param {string} code2 Unique identifier for the object.
|
|
320
319
|
* @param {string} expand Fields to expand response by
|
|
321
|
-
* @param {string} expand2 Fields to expand response by
|
|
322
320
|
* @param {string} [authorization] Bearer Token
|
|
323
321
|
* @param {*} [options] Override http request option.
|
|
324
322
|
* @throws {RequiredError}
|
|
325
323
|
*/
|
|
326
|
-
getPayment: function (code,
|
|
324
|
+
getPayment: function (code, code2, expand, authorization, options) {
|
|
327
325
|
return __awaiter(this, void 0, void 0, function () {
|
|
328
326
|
var localVarAxiosArgs;
|
|
329
327
|
return __generator(this, function (_a) {
|
|
330
328
|
switch (_a.label) {
|
|
331
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getPayment(code,
|
|
329
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getPayment(code, code2, expand, authorization, options)];
|
|
332
330
|
case 1:
|
|
333
331
|
localVarAxiosArgs = _a.sent();
|
|
334
332
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -337,7 +335,7 @@ var PaymentsApiFp = function (configuration) {
|
|
|
337
335
|
});
|
|
338
336
|
},
|
|
339
337
|
/**
|
|
340
|
-
* Returns a list of payments you
|
|
338
|
+
* Returns a list of payments you have previously created. The payments are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
341
339
|
* @summary List payments
|
|
342
340
|
* @param {string} [authorization] Bearer Token
|
|
343
341
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
@@ -375,7 +373,7 @@ var PaymentsApiFactory = function (configuration, basePath, axios) {
|
|
|
375
373
|
return {
|
|
376
374
|
/**
|
|
377
375
|
* Creates a payment for a specified account. This function is idempotent.
|
|
378
|
-
* @summary Create
|
|
376
|
+
* @summary Create the payment
|
|
379
377
|
* @param {string} idempotencyKey Idempotency Key used to make the request idempotent. The key should be unique. Usually, a generated v4 UUID is enough.
|
|
380
378
|
* @param {CreatePaymentRequestDto} createPaymentRequestDto
|
|
381
379
|
* @param {string} [authorization] Bearer Token
|
|
@@ -386,20 +384,20 @@ var PaymentsApiFactory = function (configuration, basePath, axios) {
|
|
|
386
384
|
return localVarFp.createPayment(idempotencyKey, createPaymentRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
387
385
|
},
|
|
388
386
|
/**
|
|
389
|
-
* Retrieves the details of
|
|
390
|
-
* @summary Retrieve
|
|
391
|
-
* @param {string} code
|
|
387
|
+
* Retrieves the details of the payment that was previously created. Supply the unique payment code that was returned when you created it and Emil Api will return the corresponding payment information.
|
|
388
|
+
* @summary Retrieve the payment
|
|
389
|
+
* @param {string} code
|
|
390
|
+
* @param {string} code2 Unique identifier for the object.
|
|
392
391
|
* @param {string} expand Fields to expand response by
|
|
393
|
-
* @param {string} expand2 Fields to expand response by
|
|
394
392
|
* @param {string} [authorization] Bearer Token
|
|
395
393
|
* @param {*} [options] Override http request option.
|
|
396
394
|
* @throws {RequiredError}
|
|
397
395
|
*/
|
|
398
|
-
getPayment: function (code,
|
|
399
|
-
return localVarFp.getPayment(code,
|
|
396
|
+
getPayment: function (code, code2, expand, authorization, options) {
|
|
397
|
+
return localVarFp.getPayment(code, code2, expand, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
400
398
|
},
|
|
401
399
|
/**
|
|
402
|
-
* Returns a list of payments you
|
|
400
|
+
* Returns a list of payments you have previously created. The payments are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
403
401
|
* @summary List payments
|
|
404
402
|
* @param {string} [authorization] Bearer Token
|
|
405
403
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
@@ -431,7 +429,7 @@ var PaymentsApi = /** @class */ (function (_super) {
|
|
|
431
429
|
}
|
|
432
430
|
/**
|
|
433
431
|
* Creates a payment for a specified account. This function is idempotent.
|
|
434
|
-
* @summary Create
|
|
432
|
+
* @summary Create the payment
|
|
435
433
|
* @param {PaymentsApiCreatePaymentRequest} requestParameters Request parameters.
|
|
436
434
|
* @param {*} [options] Override http request option.
|
|
437
435
|
* @throws {RequiredError}
|
|
@@ -442,8 +440,8 @@ var PaymentsApi = /** @class */ (function (_super) {
|
|
|
442
440
|
return (0, exports.PaymentsApiFp)(this.configuration).createPayment(requestParameters.idempotencyKey, requestParameters.createPaymentRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
443
441
|
};
|
|
444
442
|
/**
|
|
445
|
-
* Retrieves the details of
|
|
446
|
-
* @summary Retrieve
|
|
443
|
+
* Retrieves the details of the payment that was previously created. Supply the unique payment code that was returned when you created it and Emil Api will return the corresponding payment information.
|
|
444
|
+
* @summary Retrieve the payment
|
|
447
445
|
* @param {PaymentsApiGetPaymentRequest} requestParameters Request parameters.
|
|
448
446
|
* @param {*} [options] Override http request option.
|
|
449
447
|
* @throws {RequiredError}
|
|
@@ -451,10 +449,10 @@ var PaymentsApi = /** @class */ (function (_super) {
|
|
|
451
449
|
*/
|
|
452
450
|
PaymentsApi.prototype.getPayment = function (requestParameters, options) {
|
|
453
451
|
var _this = this;
|
|
454
|
-
return (0, exports.PaymentsApiFp)(this.configuration).getPayment(requestParameters.code, requestParameters.
|
|
452
|
+
return (0, exports.PaymentsApiFp)(this.configuration).getPayment(requestParameters.code, requestParameters.code2, requestParameters.expand, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
455
453
|
};
|
|
456
454
|
/**
|
|
457
|
-
* Returns a list of payments you
|
|
455
|
+
* Returns a list of payments you have previously created. The payments are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
458
456
|
* @summary List payments
|
|
459
457
|
* @param {PaymentsApiListPaymentsRequest} requestParameters Request parameters.
|
|
460
458
|
* @param {*} [options] Override http request option.
|
|
@@ -41,7 +41,7 @@ export declare const TenantBankAccountApiAxiosParamCreator: (configuration?: Con
|
|
|
41
41
|
*/
|
|
42
42
|
deleteTenantBankAccount: (code: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
43
43
|
/**
|
|
44
|
-
* Retrieves the details of the Tenant Bank Account that was previously created. Supply the unique Tenant Bank Account code
|
|
44
|
+
* Retrieves the details of the Tenant Bank Account that was previously created. Supply the unique Tenant Bank Account code that was returned when you created it and Emil Api will return the corresponding Tenant Bank Account information.
|
|
45
45
|
* @summary Retrieve the Tenant Bank Account
|
|
46
46
|
* @param {string} code Unique identifier for the object.
|
|
47
47
|
* @param {string} [authorization] Bearer Token
|
|
@@ -50,7 +50,7 @@ export declare const TenantBankAccountApiAxiosParamCreator: (configuration?: Con
|
|
|
50
50
|
*/
|
|
51
51
|
getTenantBankAccount: (code: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
52
52
|
/**
|
|
53
|
-
* Returns a list of Tenant Bank Accounts you have previously created.
|
|
53
|
+
* Returns a list of Tenant Bank Accounts you have previously created. The Tenant Bank Accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
54
54
|
* @summary List Tenant Bank Accounts
|
|
55
55
|
* @param {string} [authorization] Bearer Token
|
|
56
56
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
@@ -58,12 +58,12 @@ export declare const TenantBankAccountApiAxiosParamCreator: (configuration?: Con
|
|
|
58
58
|
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, iban, bankName, accountName</i>
|
|
59
59
|
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
60
60
|
* @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
61
|
-
* @param {
|
|
61
|
+
* @param {string} [expand] No expand is available for this tenant bank accounts
|
|
62
62
|
* @param {any} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
|
|
63
63
|
* @param {*} [options] Override http request option.
|
|
64
64
|
* @throws {RequiredError}
|
|
65
65
|
*/
|
|
66
|
-
listTenantBankAccounts: (authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?:
|
|
66
|
+
listTenantBankAccounts: (authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: string, filters?: any, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
67
67
|
/**
|
|
68
68
|
* Update a tenant bank account by code
|
|
69
69
|
* @summary Update the tenant bank account
|
|
@@ -99,7 +99,7 @@ export declare const TenantBankAccountApiFp: (configuration?: Configuration) =>
|
|
|
99
99
|
*/
|
|
100
100
|
deleteTenantBankAccount(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
|
|
101
101
|
/**
|
|
102
|
-
* Retrieves the details of the Tenant Bank Account that was previously created. Supply the unique Tenant Bank Account code
|
|
102
|
+
* Retrieves the details of the Tenant Bank Account that was previously created. Supply the unique Tenant Bank Account code that was returned when you created it and Emil Api will return the corresponding Tenant Bank Account information.
|
|
103
103
|
* @summary Retrieve the Tenant Bank Account
|
|
104
104
|
* @param {string} code Unique identifier for the object.
|
|
105
105
|
* @param {string} [authorization] Bearer Token
|
|
@@ -108,7 +108,7 @@ export declare const TenantBankAccountApiFp: (configuration?: Configuration) =>
|
|
|
108
108
|
*/
|
|
109
109
|
getTenantBankAccount(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetTenantBankAccountResponseClass>>;
|
|
110
110
|
/**
|
|
111
|
-
* Returns a list of Tenant Bank Accounts you have previously created.
|
|
111
|
+
* Returns a list of Tenant Bank Accounts you have previously created. The Tenant Bank Accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
112
112
|
* @summary List Tenant Bank Accounts
|
|
113
113
|
* @param {string} [authorization] Bearer Token
|
|
114
114
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
@@ -116,12 +116,12 @@ export declare const TenantBankAccountApiFp: (configuration?: Configuration) =>
|
|
|
116
116
|
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, iban, bankName, accountName</i>
|
|
117
117
|
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
118
118
|
* @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
119
|
-
* @param {
|
|
119
|
+
* @param {string} [expand] No expand is available for this tenant bank accounts
|
|
120
120
|
* @param {any} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
|
|
121
121
|
* @param {*} [options] Override http request option.
|
|
122
122
|
* @throws {RequiredError}
|
|
123
123
|
*/
|
|
124
|
-
listTenantBankAccounts(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?:
|
|
124
|
+
listTenantBankAccounts(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: string, filters?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListTenantBankAccountResponseClass>>;
|
|
125
125
|
/**
|
|
126
126
|
* Update a tenant bank account by code
|
|
127
127
|
* @summary Update the tenant bank account
|
|
@@ -157,7 +157,7 @@ export declare const TenantBankAccountApiFactory: (configuration?: Configuration
|
|
|
157
157
|
*/
|
|
158
158
|
deleteTenantBankAccount(code: string, authorization?: string, options?: any): AxiosPromise<object>;
|
|
159
159
|
/**
|
|
160
|
-
* Retrieves the details of the Tenant Bank Account that was previously created. Supply the unique Tenant Bank Account code
|
|
160
|
+
* Retrieves the details of the Tenant Bank Account that was previously created. Supply the unique Tenant Bank Account code that was returned when you created it and Emil Api will return the corresponding Tenant Bank Account information.
|
|
161
161
|
* @summary Retrieve the Tenant Bank Account
|
|
162
162
|
* @param {string} code Unique identifier for the object.
|
|
163
163
|
* @param {string} [authorization] Bearer Token
|
|
@@ -166,7 +166,7 @@ export declare const TenantBankAccountApiFactory: (configuration?: Configuration
|
|
|
166
166
|
*/
|
|
167
167
|
getTenantBankAccount(code: string, authorization?: string, options?: any): AxiosPromise<GetTenantBankAccountResponseClass>;
|
|
168
168
|
/**
|
|
169
|
-
* Returns a list of Tenant Bank Accounts you have previously created.
|
|
169
|
+
* Returns a list of Tenant Bank Accounts you have previously created. The Tenant Bank Accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
170
170
|
* @summary List Tenant Bank Accounts
|
|
171
171
|
* @param {string} [authorization] Bearer Token
|
|
172
172
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
@@ -174,12 +174,12 @@ export declare const TenantBankAccountApiFactory: (configuration?: Configuration
|
|
|
174
174
|
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, iban, bankName, accountName</i>
|
|
175
175
|
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
176
176
|
* @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
177
|
-
* @param {
|
|
177
|
+
* @param {string} [expand] No expand is available for this tenant bank accounts
|
|
178
178
|
* @param {any} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
|
|
179
179
|
* @param {*} [options] Override http request option.
|
|
180
180
|
* @throws {RequiredError}
|
|
181
181
|
*/
|
|
182
|
-
listTenantBankAccounts(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?:
|
|
182
|
+
listTenantBankAccounts(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: string, filters?: any, options?: any): AxiosPromise<ListTenantBankAccountResponseClass>;
|
|
183
183
|
/**
|
|
184
184
|
* Update a tenant bank account by code
|
|
185
185
|
* @summary Update the tenant bank account
|
|
@@ -292,10 +292,10 @@ export interface TenantBankAccountApiListTenantBankAccountsRequest {
|
|
|
292
292
|
readonly order?: any;
|
|
293
293
|
/**
|
|
294
294
|
* No expand is available for this tenant bank accounts
|
|
295
|
-
* @type {
|
|
295
|
+
* @type {string}
|
|
296
296
|
* @memberof TenantBankAccountApiListTenantBankAccounts
|
|
297
297
|
*/
|
|
298
|
-
readonly expand?:
|
|
298
|
+
readonly expand?: string;
|
|
299
299
|
/**
|
|
300
300
|
* Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
|
|
301
301
|
* @type {any}
|
|
@@ -354,7 +354,7 @@ export declare class TenantBankAccountApi extends BaseAPI {
|
|
|
354
354
|
*/
|
|
355
355
|
deleteTenantBankAccount(requestParameters: TenantBankAccountApiDeleteTenantBankAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any>>;
|
|
356
356
|
/**
|
|
357
|
-
* Retrieves the details of the Tenant Bank Account that was previously created. Supply the unique Tenant Bank Account code
|
|
357
|
+
* Retrieves the details of the Tenant Bank Account that was previously created. Supply the unique Tenant Bank Account code that was returned when you created it and Emil Api will return the corresponding Tenant Bank Account information.
|
|
358
358
|
* @summary Retrieve the Tenant Bank Account
|
|
359
359
|
* @param {TenantBankAccountApiGetTenantBankAccountRequest} requestParameters Request parameters.
|
|
360
360
|
* @param {*} [options] Override http request option.
|
|
@@ -363,7 +363,7 @@ export declare class TenantBankAccountApi extends BaseAPI {
|
|
|
363
363
|
*/
|
|
364
364
|
getTenantBankAccount(requestParameters: TenantBankAccountApiGetTenantBankAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetTenantBankAccountResponseClass, any>>;
|
|
365
365
|
/**
|
|
366
|
-
* Returns a list of Tenant Bank Accounts you have previously created.
|
|
366
|
+
* Returns a list of Tenant Bank Accounts you have previously created. The Tenant Bank Accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
367
367
|
* @summary List Tenant Bank Accounts
|
|
368
368
|
* @param {TenantBankAccountApiListTenantBankAccountsRequest} requestParameters Request parameters.
|
|
369
369
|
* @param {*} [options] Override http request option.
|