@emilgroup/payment-sdk 1.4.1-beta.19 → 1.4.1-beta.20
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 -34
- package/README.md +2 -2
- package/api/bank-accounts-api.ts +21 -465
- package/api/bank-transaction-api.ts +11 -11
- package/api/default-api.ts +1 -1
- package/api/payment-methods-api.ts +166 -65
- package/api/payment-reminders-api.ts +17 -21
- package/api/payment-setup-api.ts +29 -37
- package/api/payments-api.ts +54 -55
- package/api/refunds-api.ts +16 -14
- package/api/tenant-bank-account-api.ts +25 -25
- package/api/webhooks-api.ts +1 -1
- package/api.ts +1 -1
- package/base.ts +1 -1
- package/common.ts +2 -2
- package/configuration.ts +1 -1
- package/dist/api/bank-accounts-api.d.ts +17 -260
- package/dist/api/bank-accounts-api.js +17 -399
- package/dist/api/bank-transaction-api.d.ts +12 -12
- package/dist/api/bank-transaction-api.js +9 -9
- package/dist/api/default-api.d.ts +1 -1
- package/dist/api/default-api.js +1 -1
- package/dist/api/payment-methods-api.d.ts +100 -49
- package/dist/api/payment-methods-api.js +144 -46
- package/dist/api/payment-reminders-api.d.ts +21 -23
- package/dist/api/payment-reminders-api.js +9 -9
- package/dist/api/payment-setup-api.d.ts +19 -23
- package/dist/api/payment-setup-api.js +25 -25
- package/dist/api/payments-api.d.ts +43 -46
- package/dist/api/payments-api.js +42 -38
- package/dist/api/refunds-api.d.ts +11 -11
- package/dist/api/refunds-api.js +12 -10
- package/dist/api/tenant-bank-account-api.d.ts +25 -25
- package/dist/api/tenant-bank-account-api.js +20 -20
- package/dist/api/webhooks-api.d.ts +1 -1
- package/dist/api/webhooks-api.js +1 -1
- package/dist/api.d.ts +1 -1
- package/dist/api.js +1 -1
- package/dist/base.d.ts +1 -1
- package/dist/base.js +1 -1
- package/dist/common.d.ts +2 -2
- package/dist/common.js +1 -1
- package/dist/configuration.d.ts +1 -1
- package/dist/configuration.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/models/bank-transaction-response-class.d.ts +1 -1
- package/dist/models/bank-transaction-response-class.js +1 -1
- package/dist/models/create-payment-reminder-request-dto.d.ts +1 -1
- package/dist/models/create-payment-reminder-request-dto.js +1 -1
- package/dist/models/create-payment-request-dto.d.ts +4 -4
- package/dist/models/create-payment-request-dto.js +1 -1
- package/dist/models/create-refund-request-dto.d.ts +1 -1
- package/dist/models/create-refund-request-dto.js +1 -1
- package/dist/models/create-refund-response-class.d.ts +1 -1
- package/dist/models/create-refund-response-class.js +1 -1
- package/dist/models/create-tenant-bank-account-request-dto.d.ts +1 -1
- package/dist/models/create-tenant-bank-account-request-dto.js +1 -1
- package/dist/models/create-tenant-bank-account-response-class.d.ts +1 -1
- package/dist/models/create-tenant-bank-account-response-class.js +1 -1
- package/dist/models/deactivate-payment-reminder-request-dto.d.ts +1 -1
- package/dist/models/deactivate-payment-reminder-request-dto.js +1 -1
- package/dist/models/get-bank-transactions-response-class.d.ts +1 -1
- package/dist/models/get-bank-transactions-response-class.js +1 -1
- package/dist/models/get-refund-response-class.d.ts +1 -1
- package/dist/models/get-refund-response-class.js +1 -1
- package/dist/models/get-request-dto.d.ts +2 -2
- package/dist/models/get-request-dto.js +1 -1
- package/dist/models/get-tenant-bank-account-response-class.d.ts +1 -1
- package/dist/models/get-tenant-bank-account-response-class.js +1 -1
- package/dist/models/index.d.ts +0 -34
- package/dist/models/index.js +0 -34
- package/dist/models/inline-response200.d.ts +1 -1
- package/dist/models/inline-response200.js +1 -1
- package/dist/models/inline-response503.d.ts +1 -1
- package/dist/models/inline-response503.js +1 -1
- package/dist/models/link-bank-transaction-request-dto-rest.d.ts +1 -1
- package/dist/models/link-bank-transaction-request-dto-rest.js +1 -1
- package/dist/models/list-bank-transactions-response-class.d.ts +1 -1
- package/dist/models/list-bank-transactions-response-class.js +1 -1
- package/dist/models/list-refunds-response-class.d.ts +1 -1
- package/dist/models/list-refunds-response-class.js +1 -1
- package/dist/models/list-tenant-bank-account-response-class.d.ts +1 -1
- package/dist/models/list-tenant-bank-account-response-class.js +1 -1
- package/dist/models/refund-class.d.ts +1 -1
- package/dist/models/refund-class.js +1 -1
- package/dist/models/tenant-bank-account-response-class.d.ts +1 -1
- package/dist/models/tenant-bank-account-response-class.js +1 -1
- package/dist/models/transaction-class.d.ts +1 -1
- package/dist/models/transaction-class.js +1 -1
- package/dist/models/unlink-bank-transaction-request-dto-rest.d.ts +2 -2
- package/dist/models/unlink-bank-transaction-request-dto-rest.js +1 -1
- package/dist/models/update-tenant-bank-account-rest-request-dto.d.ts +1 -1
- package/dist/models/update-tenant-bank-account-rest-request-dto.js +1 -1
- package/dist/models/validate-pspconfig-request-dto.d.ts +2 -9
- package/dist/models/validate-pspconfig-request-dto.js +1 -8
- package/index.ts +1 -1
- package/models/bank-transaction-response-class.ts +1 -1
- package/models/create-payment-reminder-request-dto.ts +1 -1
- package/models/create-payment-request-dto.ts +4 -4
- package/models/create-refund-request-dto.ts +1 -1
- package/models/create-refund-response-class.ts +1 -1
- package/models/create-tenant-bank-account-request-dto.ts +1 -1
- package/models/create-tenant-bank-account-response-class.ts +1 -1
- package/models/deactivate-payment-reminder-request-dto.ts +1 -1
- package/models/get-bank-transactions-response-class.ts +1 -1
- package/models/get-refund-response-class.ts +1 -1
- package/models/get-request-dto.ts +2 -2
- package/models/get-tenant-bank-account-response-class.ts +1 -1
- package/models/index.ts +0 -34
- package/models/inline-response200.ts +1 -1
- package/models/inline-response503.ts +1 -1
- package/models/link-bank-transaction-request-dto-rest.ts +1 -1
- package/models/list-bank-transactions-response-class.ts +1 -1
- package/models/list-refunds-response-class.ts +1 -1
- package/models/list-tenant-bank-account-response-class.ts +1 -1
- package/models/refund-class.ts +1 -1
- package/models/tenant-bank-account-response-class.ts +1 -1
- package/models/transaction-class.ts +1 -1
- package/models/unlink-bank-transaction-request-dto-rest.ts +2 -2
- package/models/update-tenant-bank-account-rest-request-dto.ts +1 -1
- package/models/validate-pspconfig-request-dto.ts +2 -12
- package/package.json +1 -1
- package/dist/models/bank-account-class.d.ts +0 -79
- package/dist/models/bank-account-class.js +0 -15
- package/dist/models/billing-profile-dto.d.ts +0 -38
- package/dist/models/billing-profile-dto.js +0 -15
- package/dist/models/billing-profile-limited-response-dto.d.ts +0 -54
- package/dist/models/billing-profile-limited-response-dto.js +0 -15
- package/dist/models/complete-braintree-payment-setup-request-dto.d.ts +0 -48
- package/dist/models/complete-braintree-payment-setup-request-dto.js +0 -15
- package/dist/models/complete-payment-setup-request-dto.d.ts +0 -32
- package/dist/models/complete-payment-setup-request-dto.js +0 -15
- package/dist/models/complete-payment-setup-response-class.d.ts +0 -25
- package/dist/models/complete-payment-setup-response-class.js +0 -15
- package/dist/models/complete-stripe-payment-setup-request-dto.d.ts +0 -60
- package/dist/models/complete-stripe-payment-setup-request-dto.js +0 -15
- package/dist/models/create-bank-account-request-dto.d.ts +0 -42
- package/dist/models/create-bank-account-request-dto.js +0 -15
- package/dist/models/create-payment-method-response-class.d.ts +0 -25
- package/dist/models/create-payment-method-response-class.js +0 -15
- package/dist/models/create-payment-response-class.d.ts +0 -25
- package/dist/models/create-payment-response-class.js +0 -15
- package/dist/models/create-psp-payment-method-request-dto.d.ts +0 -61
- package/dist/models/create-psp-payment-method-request-dto.js +0 -32
- package/dist/models/deactivate-payment-reminder-response-class.d.ts +0 -25
- package/dist/models/deactivate-payment-reminder-response-class.js +0 -15
- package/dist/models/get-bank-account-response-class.d.ts +0 -25
- package/dist/models/get-bank-account-response-class.js +0 -15
- package/dist/models/get-payment-method-response-class.d.ts +0 -25
- package/dist/models/get-payment-method-response-class.js +0 -15
- package/dist/models/get-payment-response-class.d.ts +0 -25
- package/dist/models/get-payment-response-class.js +0 -15
- package/dist/models/initiate-braintree-payment-setup-request-dto.d.ts +0 -30
- package/dist/models/initiate-braintree-payment-setup-request-dto.js +0 -15
- package/dist/models/initiate-braintree-payment-setup-response-class.d.ts +0 -24
- package/dist/models/initiate-braintree-payment-setup-response-class.js +0 -15
- package/dist/models/initiate-payment-setup-request-dto.d.ts +0 -44
- package/dist/models/initiate-payment-setup-request-dto.js +0 -15
- package/dist/models/initiate-payment-setup-response-class.d.ts +0 -32
- package/dist/models/initiate-payment-setup-response-class.js +0 -15
- package/dist/models/initiate-stripe-payment-setup-request-dto.d.ts +0 -30
- package/dist/models/initiate-stripe-payment-setup-request-dto.js +0 -15
- package/dist/models/initiate-stripe-payment-setup-response-class.d.ts +0 -30
- package/dist/models/initiate-stripe-payment-setup-response-class.js +0 -15
- package/dist/models/list-bank-accounts-response-class.d.ts +0 -31
- package/dist/models/list-bank-accounts-response-class.js +0 -15
- package/dist/models/list-payment-methods-response-class.d.ts +0 -31
- package/dist/models/list-payment-methods-response-class.js +0 -15
- package/dist/models/list-payment-reminders-response-class.d.ts +0 -31
- package/dist/models/list-payment-reminders-response-class.js +0 -15
- package/dist/models/list-payments-response-class.d.ts +0 -31
- package/dist/models/list-payments-response-class.js +0 -15
- package/dist/models/payment-class.d.ts +0 -103
- package/dist/models/payment-class.js +0 -15
- package/dist/models/payment-method-class.d.ts +0 -66
- package/dist/models/payment-method-class.js +0 -15
- package/dist/models/payment-reminder-class.d.ts +0 -112
- package/dist/models/payment-reminder-class.js +0 -36
- package/dist/models/primary-bank-account-response-class.d.ts +0 -42
- package/dist/models/primary-bank-account-response-class.js +0 -15
- package/dist/models/sepa-direct-dto.d.ts +0 -24
- package/dist/models/sepa-direct-dto.js +0 -15
- package/dist/models/set-primary-bank-account-request-dto-rest.d.ts +0 -24
- package/dist/models/set-primary-bank-account-request-dto-rest.js +0 -15
- package/dist/models/symphony-profile-limited-response-dto.d.ts +0 -42
- package/dist/models/symphony-profile-limited-response-dto.js +0 -15
- package/dist/models/update-bank-account-request-dto-rest.d.ts +0 -30
- package/dist/models/update-bank-account-request-dto-rest.js +0 -15
- package/dist/models/update-bank-account-request-dto.d.ts +0 -36
- package/dist/models/update-bank-account-request-dto.js +0 -15
- package/models/bank-account-class.ts +0 -85
- package/models/billing-profile-dto.ts +0 -44
- package/models/billing-profile-limited-response-dto.ts +0 -60
- package/models/complete-braintree-payment-setup-request-dto.ts +0 -54
- package/models/complete-payment-setup-request-dto.ts +0 -38
- package/models/complete-payment-setup-response-class.ts +0 -31
- package/models/complete-stripe-payment-setup-request-dto.ts +0 -66
- package/models/create-bank-account-request-dto.ts +0 -48
- package/models/create-payment-method-response-class.ts +0 -31
- package/models/create-payment-response-class.ts +0 -31
- package/models/create-psp-payment-method-request-dto.ts +0 -70
- package/models/deactivate-payment-reminder-response-class.ts +0 -31
- package/models/get-bank-account-response-class.ts +0 -31
- package/models/get-payment-method-response-class.ts +0 -31
- package/models/get-payment-response-class.ts +0 -31
- package/models/initiate-braintree-payment-setup-request-dto.ts +0 -36
- package/models/initiate-braintree-payment-setup-response-class.ts +0 -30
- package/models/initiate-payment-setup-request-dto.ts +0 -50
- package/models/initiate-payment-setup-response-class.ts +0 -38
- package/models/initiate-stripe-payment-setup-request-dto.ts +0 -36
- package/models/initiate-stripe-payment-setup-response-class.ts +0 -36
- package/models/list-bank-accounts-response-class.ts +0 -37
- package/models/list-payment-methods-response-class.ts +0 -37
- package/models/list-payment-reminders-response-class.ts +0 -37
- package/models/list-payments-response-class.ts +0 -37
- package/models/payment-class.ts +0 -109
- package/models/payment-method-class.ts +0 -72
- package/models/payment-reminder-class.ts +0 -122
- package/models/primary-bank-account-response-class.ts +0 -48
- package/models/sepa-direct-dto.ts +0 -30
- package/models/set-primary-bank-account-request-dto-rest.ts +0 -30
- package/models/symphony-profile-limited-response-dto.ts +0 -48
- package/models/update-bank-account-request-dto-rest.ts +0 -36
- package/models/update-bank-account-request-dto.ts +0 -42
package/dist/api/payments-api.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/**
|
|
5
5
|
* Emil Payment Service
|
|
6
|
-
* This service directly communicates with the various Payment Service Providers (PSPs)
|
|
6
|
+
* This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
|
|
7
7
|
*
|
|
8
8
|
* The version of the OpenAPI document: 1.0
|
|
9
9
|
* Contact: kontakt@emil.de
|
|
@@ -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 a 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
|
|
154
|
-
* @param {string}
|
|
151
|
+
* Retrieves the details of a payment that was previously created. Supply the unique payment code that was returned when you created the payment and Emil Api will return the corresponding payment information.
|
|
152
|
+
* @summary Retrieve a payment
|
|
153
|
+
* @param {string} code Unique identifier for the object.
|
|
154
|
+
* @param {string} expand Fields to expand response by
|
|
155
|
+
* @param {string} expand2 Fields to expand response by
|
|
155
156
|
* @param {string} [authorization] Bearer Token
|
|
156
|
-
* @param {string} [expand] Fields to expand response by
|
|
157
157
|
* @param {*} [options] Override http request option.
|
|
158
158
|
* @throws {RequiredError}
|
|
159
159
|
*/
|
|
160
|
-
getPayment: function (code,
|
|
160
|
+
getPayment: function (code, expand, expand2, 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,10 +166,11 @@ 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 '
|
|
170
|
-
(0, common_1.assertParamExists)('getPayment', '
|
|
171
|
-
|
|
172
|
-
|
|
169
|
+
// verify required parameter 'expand' is not null or undefined
|
|
170
|
+
(0, common_1.assertParamExists)('getPayment', 'expand', expand);
|
|
171
|
+
// verify required parameter 'expand2' is not null or undefined
|
|
172
|
+
(0, common_1.assertParamExists)('getPayment', 'expand2', expand2);
|
|
173
|
+
localVarPath = "/paymentservice/v1/payments/{code}";
|
|
173
174
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
174
175
|
if (configuration) {
|
|
175
176
|
baseOptions = configuration.baseOptions;
|
|
@@ -185,12 +186,15 @@ var PaymentsApiAxiosParamCreator = function (configuration) {
|
|
|
185
186
|
// authentication bearer required
|
|
186
187
|
// http bearer authentication required
|
|
187
188
|
_a.sent();
|
|
188
|
-
if (
|
|
189
|
-
localVarQueryParameter['code'] =
|
|
189
|
+
if (code !== undefined) {
|
|
190
|
+
localVarQueryParameter['code'] = code;
|
|
190
191
|
}
|
|
191
192
|
if (expand !== undefined) {
|
|
192
193
|
localVarQueryParameter['expand'] = expand;
|
|
193
194
|
}
|
|
195
|
+
if (expand2 !== undefined) {
|
|
196
|
+
localVarQueryParameter['expand'] = expand2;
|
|
197
|
+
}
|
|
194
198
|
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
195
199
|
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
196
200
|
}
|
|
@@ -206,7 +210,7 @@ var PaymentsApiAxiosParamCreator = function (configuration) {
|
|
|
206
210
|
});
|
|
207
211
|
},
|
|
208
212
|
/**
|
|
209
|
-
* Returns a list of payments you
|
|
213
|
+
* Returns a list of payments you’ve previously created. The payments are returned in sorted order, with the oldest payment appearing first. For more information about pagination, read the Pagination documentation.
|
|
210
214
|
* @summary List payments
|
|
211
215
|
* @param {string} [authorization] Bearer Token
|
|
212
216
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
@@ -289,7 +293,7 @@ var PaymentsApiFp = function (configuration) {
|
|
|
289
293
|
return {
|
|
290
294
|
/**
|
|
291
295
|
* Creates a payment for a specified account. This function is idempotent.
|
|
292
|
-
* @summary Create
|
|
296
|
+
* @summary Create a payment
|
|
293
297
|
* @param {string} idempotencyKey Idempotency Key used to make the request idempotent. The key should be unique. Usually, a generated v4 UUID is enough.
|
|
294
298
|
* @param {CreatePaymentRequestDto} createPaymentRequestDto
|
|
295
299
|
* @param {string} [authorization] Bearer Token
|
|
@@ -310,21 +314,21 @@ var PaymentsApiFp = function (configuration) {
|
|
|
310
314
|
});
|
|
311
315
|
},
|
|
312
316
|
/**
|
|
313
|
-
* Retrieves the details of
|
|
314
|
-
* @summary Retrieve
|
|
315
|
-
* @param {string} code
|
|
316
|
-
* @param {string}
|
|
317
|
+
* Retrieves the details of a payment that was previously created. Supply the unique payment code that was returned when you created the payment and Emil Api will return the corresponding payment information.
|
|
318
|
+
* @summary Retrieve a payment
|
|
319
|
+
* @param {string} code Unique identifier for the object.
|
|
320
|
+
* @param {string} expand Fields to expand response by
|
|
321
|
+
* @param {string} expand2 Fields to expand response by
|
|
317
322
|
* @param {string} [authorization] Bearer Token
|
|
318
|
-
* @param {string} [expand] Fields to expand response by
|
|
319
323
|
* @param {*} [options] Override http request option.
|
|
320
324
|
* @throws {RequiredError}
|
|
321
325
|
*/
|
|
322
|
-
getPayment: function (code,
|
|
326
|
+
getPayment: function (code, expand, expand2, authorization, options) {
|
|
323
327
|
return __awaiter(this, void 0, void 0, function () {
|
|
324
328
|
var localVarAxiosArgs;
|
|
325
329
|
return __generator(this, function (_a) {
|
|
326
330
|
switch (_a.label) {
|
|
327
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getPayment(code,
|
|
331
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getPayment(code, expand, expand2, authorization, options)];
|
|
328
332
|
case 1:
|
|
329
333
|
localVarAxiosArgs = _a.sent();
|
|
330
334
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -333,7 +337,7 @@ var PaymentsApiFp = function (configuration) {
|
|
|
333
337
|
});
|
|
334
338
|
},
|
|
335
339
|
/**
|
|
336
|
-
* Returns a list of payments you
|
|
340
|
+
* Returns a list of payments you’ve previously created. The payments are returned in sorted order, with the oldest payment appearing first. For more information about pagination, read the Pagination documentation.
|
|
337
341
|
* @summary List payments
|
|
338
342
|
* @param {string} [authorization] Bearer Token
|
|
339
343
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
@@ -371,7 +375,7 @@ var PaymentsApiFactory = function (configuration, basePath, axios) {
|
|
|
371
375
|
return {
|
|
372
376
|
/**
|
|
373
377
|
* Creates a payment for a specified account. This function is idempotent.
|
|
374
|
-
* @summary Create
|
|
378
|
+
* @summary Create a payment
|
|
375
379
|
* @param {string} idempotencyKey Idempotency Key used to make the request idempotent. The key should be unique. Usually, a generated v4 UUID is enough.
|
|
376
380
|
* @param {CreatePaymentRequestDto} createPaymentRequestDto
|
|
377
381
|
* @param {string} [authorization] Bearer Token
|
|
@@ -382,20 +386,20 @@ var PaymentsApiFactory = function (configuration, basePath, axios) {
|
|
|
382
386
|
return localVarFp.createPayment(idempotencyKey, createPaymentRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
383
387
|
},
|
|
384
388
|
/**
|
|
385
|
-
* Retrieves the details of
|
|
386
|
-
* @summary Retrieve
|
|
387
|
-
* @param {string} code
|
|
388
|
-
* @param {string}
|
|
389
|
+
* Retrieves the details of a payment that was previously created. Supply the unique payment code that was returned when you created the payment and Emil Api will return the corresponding payment information.
|
|
390
|
+
* @summary Retrieve a payment
|
|
391
|
+
* @param {string} code Unique identifier for the object.
|
|
392
|
+
* @param {string} expand Fields to expand response by
|
|
393
|
+
* @param {string} expand2 Fields to expand response by
|
|
389
394
|
* @param {string} [authorization] Bearer Token
|
|
390
|
-
* @param {string} [expand] Fields to expand response by
|
|
391
395
|
* @param {*} [options] Override http request option.
|
|
392
396
|
* @throws {RequiredError}
|
|
393
397
|
*/
|
|
394
|
-
getPayment: function (code,
|
|
395
|
-
return localVarFp.getPayment(code,
|
|
398
|
+
getPayment: function (code, expand, expand2, authorization, options) {
|
|
399
|
+
return localVarFp.getPayment(code, expand, expand2, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
396
400
|
},
|
|
397
401
|
/**
|
|
398
|
-
* Returns a list of payments you
|
|
402
|
+
* Returns a list of payments you’ve previously created. The payments are returned in sorted order, with the oldest payment appearing first. For more information about pagination, read the Pagination documentation.
|
|
399
403
|
* @summary List payments
|
|
400
404
|
* @param {string} [authorization] Bearer Token
|
|
401
405
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
@@ -427,7 +431,7 @@ var PaymentsApi = /** @class */ (function (_super) {
|
|
|
427
431
|
}
|
|
428
432
|
/**
|
|
429
433
|
* Creates a payment for a specified account. This function is idempotent.
|
|
430
|
-
* @summary Create
|
|
434
|
+
* @summary Create a payment
|
|
431
435
|
* @param {PaymentsApiCreatePaymentRequest} requestParameters Request parameters.
|
|
432
436
|
* @param {*} [options] Override http request option.
|
|
433
437
|
* @throws {RequiredError}
|
|
@@ -438,8 +442,8 @@ var PaymentsApi = /** @class */ (function (_super) {
|
|
|
438
442
|
return (0, exports.PaymentsApiFp)(this.configuration).createPayment(requestParameters.idempotencyKey, requestParameters.createPaymentRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
439
443
|
};
|
|
440
444
|
/**
|
|
441
|
-
* Retrieves the details of
|
|
442
|
-
* @summary Retrieve
|
|
445
|
+
* Retrieves the details of a payment that was previously created. Supply the unique payment code that was returned when you created the payment and Emil Api will return the corresponding payment information.
|
|
446
|
+
* @summary Retrieve a payment
|
|
443
447
|
* @param {PaymentsApiGetPaymentRequest} requestParameters Request parameters.
|
|
444
448
|
* @param {*} [options] Override http request option.
|
|
445
449
|
* @throws {RequiredError}
|
|
@@ -447,10 +451,10 @@ var PaymentsApi = /** @class */ (function (_super) {
|
|
|
447
451
|
*/
|
|
448
452
|
PaymentsApi.prototype.getPayment = function (requestParameters, options) {
|
|
449
453
|
var _this = this;
|
|
450
|
-
return (0, exports.PaymentsApiFp)(this.configuration).getPayment(requestParameters.code, requestParameters.
|
|
454
|
+
return (0, exports.PaymentsApiFp)(this.configuration).getPayment(requestParameters.code, requestParameters.expand, requestParameters.expand2, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
451
455
|
};
|
|
452
456
|
/**
|
|
453
|
-
* Returns a list of payments you
|
|
457
|
+
* Returns a list of payments you’ve previously created. The payments are returned in sorted order, with the oldest payment appearing first. For more information about pagination, read the Pagination documentation.
|
|
454
458
|
* @summary List payments
|
|
455
459
|
* @param {PaymentsApiListPaymentsRequest} requestParameters Request parameters.
|
|
456
460
|
* @param {*} [options] Override http request option.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Emil Payment Service
|
|
3
|
-
* This service directly communicates with the various Payment Service Providers (PSPs)
|
|
3
|
+
* This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
|
|
4
4
|
*
|
|
5
5
|
* The version of the OpenAPI document: 1.0
|
|
6
6
|
* Contact: kontakt@emil.de
|
|
@@ -33,12 +33,12 @@ export declare const RefundsApiAxiosParamCreator: (configuration?: Configuration
|
|
|
33
33
|
*
|
|
34
34
|
* @param {string} code
|
|
35
35
|
* @param {string} code2 Unique identifier for the object.
|
|
36
|
+
* @param {string} expand Fields to expand response by
|
|
36
37
|
* @param {string} [authorization] Bearer Token
|
|
37
|
-
* @param {string} [expand] Fields to expand response by
|
|
38
38
|
* @param {*} [options] Override http request option.
|
|
39
39
|
* @throws {RequiredError}
|
|
40
40
|
*/
|
|
41
|
-
getRefund: (code: string, code2: string,
|
|
41
|
+
getRefund: (code: string, code2: string, expand: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
42
42
|
/**
|
|
43
43
|
*
|
|
44
44
|
* @param {string} [authorization] Bearer Token
|
|
@@ -71,12 +71,12 @@ export declare const RefundsApiFp: (configuration?: Configuration) => {
|
|
|
71
71
|
*
|
|
72
72
|
* @param {string} code
|
|
73
73
|
* @param {string} code2 Unique identifier for the object.
|
|
74
|
+
* @param {string} expand Fields to expand response by
|
|
74
75
|
* @param {string} [authorization] Bearer Token
|
|
75
|
-
* @param {string} [expand] Fields to expand response by
|
|
76
76
|
* @param {*} [options] Override http request option.
|
|
77
77
|
* @throws {RequiredError}
|
|
78
78
|
*/
|
|
79
|
-
getRefund(code: string, code2: string,
|
|
79
|
+
getRefund(code: string, code2: string, expand: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetRefundResponseClass>>;
|
|
80
80
|
/**
|
|
81
81
|
*
|
|
82
82
|
* @param {string} [authorization] Bearer Token
|
|
@@ -109,12 +109,12 @@ export declare const RefundsApiFactory: (configuration?: Configuration, basePath
|
|
|
109
109
|
*
|
|
110
110
|
* @param {string} code
|
|
111
111
|
* @param {string} code2 Unique identifier for the object.
|
|
112
|
+
* @param {string} expand Fields to expand response by
|
|
112
113
|
* @param {string} [authorization] Bearer Token
|
|
113
|
-
* @param {string} [expand] Fields to expand response by
|
|
114
114
|
* @param {*} [options] Override http request option.
|
|
115
115
|
* @throws {RequiredError}
|
|
116
116
|
*/
|
|
117
|
-
getRefund(code: string, code2: string,
|
|
117
|
+
getRefund(code: string, code2: string, expand: string, authorization?: string, options?: any): AxiosPromise<GetRefundResponseClass>;
|
|
118
118
|
/**
|
|
119
119
|
*
|
|
120
120
|
* @param {string} [authorization] Bearer Token
|
|
@@ -168,17 +168,17 @@ export interface RefundsApiGetRefundRequest {
|
|
|
168
168
|
*/
|
|
169
169
|
readonly code2: string;
|
|
170
170
|
/**
|
|
171
|
-
*
|
|
171
|
+
* Fields to expand response by
|
|
172
172
|
* @type {string}
|
|
173
173
|
* @memberof RefundsApiGetRefund
|
|
174
174
|
*/
|
|
175
|
-
readonly
|
|
175
|
+
readonly expand: string;
|
|
176
176
|
/**
|
|
177
|
-
*
|
|
177
|
+
* Bearer Token
|
|
178
178
|
* @type {string}
|
|
179
179
|
* @memberof RefundsApiGetRefund
|
|
180
180
|
*/
|
|
181
|
-
readonly
|
|
181
|
+
readonly authorization?: string;
|
|
182
182
|
}
|
|
183
183
|
/**
|
|
184
184
|
* Request parameters for listRefunds operation in RefundsApi.
|
package/dist/api/refunds-api.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/**
|
|
5
5
|
* Emil Payment Service
|
|
6
|
-
* This service directly communicates with the various Payment Service Providers (PSPs)
|
|
6
|
+
* This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
|
|
7
7
|
*
|
|
8
8
|
* The version of the OpenAPI document: 1.0
|
|
9
9
|
* Contact: kontakt@emil.de
|
|
@@ -144,12 +144,12 @@ var RefundsApiAxiosParamCreator = function (configuration) {
|
|
|
144
144
|
*
|
|
145
145
|
* @param {string} code
|
|
146
146
|
* @param {string} code2 Unique identifier for the object.
|
|
147
|
+
* @param {string} expand Fields to expand response by
|
|
147
148
|
* @param {string} [authorization] Bearer Token
|
|
148
|
-
* @param {string} [expand] Fields to expand response by
|
|
149
149
|
* @param {*} [options] Override http request option.
|
|
150
150
|
* @throws {RequiredError}
|
|
151
151
|
*/
|
|
152
|
-
getRefund: function (code, code2,
|
|
152
|
+
getRefund: function (code, code2, expand, authorization, options) {
|
|
153
153
|
if (options === void 0) { options = {}; }
|
|
154
154
|
return __awaiter(_this, void 0, void 0, function () {
|
|
155
155
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -160,6 +160,8 @@ var RefundsApiAxiosParamCreator = function (configuration) {
|
|
|
160
160
|
(0, common_1.assertParamExists)('getRefund', 'code', code);
|
|
161
161
|
// verify required parameter 'code2' is not null or undefined
|
|
162
162
|
(0, common_1.assertParamExists)('getRefund', 'code2', code2);
|
|
163
|
+
// verify required parameter 'expand' is not null or undefined
|
|
164
|
+
(0, common_1.assertParamExists)('getRefund', 'expand', expand);
|
|
163
165
|
localVarPath = "/paymentservice/v1/refunds/{code}"
|
|
164
166
|
.replace("{".concat("code", "}"), encodeURIComponent(String(code)));
|
|
165
167
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -302,17 +304,17 @@ var RefundsApiFp = function (configuration) {
|
|
|
302
304
|
*
|
|
303
305
|
* @param {string} code
|
|
304
306
|
* @param {string} code2 Unique identifier for the object.
|
|
307
|
+
* @param {string} expand Fields to expand response by
|
|
305
308
|
* @param {string} [authorization] Bearer Token
|
|
306
|
-
* @param {string} [expand] Fields to expand response by
|
|
307
309
|
* @param {*} [options] Override http request option.
|
|
308
310
|
* @throws {RequiredError}
|
|
309
311
|
*/
|
|
310
|
-
getRefund: function (code, code2,
|
|
312
|
+
getRefund: function (code, code2, expand, authorization, options) {
|
|
311
313
|
return __awaiter(this, void 0, void 0, function () {
|
|
312
314
|
var localVarAxiosArgs;
|
|
313
315
|
return __generator(this, function (_a) {
|
|
314
316
|
switch (_a.label) {
|
|
315
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getRefund(code, code2,
|
|
317
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getRefund(code, code2, expand, authorization, options)];
|
|
316
318
|
case 1:
|
|
317
319
|
localVarAxiosArgs = _a.sent();
|
|
318
320
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -370,13 +372,13 @@ var RefundsApiFactory = function (configuration, basePath, axios) {
|
|
|
370
372
|
*
|
|
371
373
|
* @param {string} code
|
|
372
374
|
* @param {string} code2 Unique identifier for the object.
|
|
375
|
+
* @param {string} expand Fields to expand response by
|
|
373
376
|
* @param {string} [authorization] Bearer Token
|
|
374
|
-
* @param {string} [expand] Fields to expand response by
|
|
375
377
|
* @param {*} [options] Override http request option.
|
|
376
378
|
* @throws {RequiredError}
|
|
377
379
|
*/
|
|
378
|
-
getRefund: function (code, code2,
|
|
379
|
-
return localVarFp.getRefund(code, code2,
|
|
380
|
+
getRefund: function (code, code2, expand, authorization, options) {
|
|
381
|
+
return localVarFp.getRefund(code, code2, expand, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
380
382
|
},
|
|
381
383
|
/**
|
|
382
384
|
*
|
|
@@ -428,7 +430,7 @@ var RefundsApi = /** @class */ (function (_super) {
|
|
|
428
430
|
*/
|
|
429
431
|
RefundsApi.prototype.getRefund = function (requestParameters, options) {
|
|
430
432
|
var _this = this;
|
|
431
|
-
return (0, exports.RefundsApiFp)(this.configuration).getRefund(requestParameters.code, requestParameters.code2, requestParameters.
|
|
433
|
+
return (0, exports.RefundsApiFp)(this.configuration).getRefund(requestParameters.code, requestParameters.code2, requestParameters.expand, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
432
434
|
};
|
|
433
435
|
/**
|
|
434
436
|
*
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Emil Payment Service
|
|
3
|
-
* This service directly communicates with the various Payment Service Providers (PSPs)
|
|
3
|
+
* This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
|
|
4
4
|
*
|
|
5
5
|
* The version of the OpenAPI document: 1.0
|
|
6
6
|
* Contact: kontakt@emil.de
|
|
@@ -33,7 +33,7 @@ export declare const TenantBankAccountApiAxiosParamCreator: (configuration?: Con
|
|
|
33
33
|
createTenantBankAccount: (createTenantBankAccountRequestDto: CreateTenantBankAccountRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
34
34
|
/**
|
|
35
35
|
* Deletes a tenant bank account by code
|
|
36
|
-
* @summary
|
|
36
|
+
* @summary Delete the tenant bank account
|
|
37
37
|
* @param {string} code Unique identifier for the object.
|
|
38
38
|
* @param {string} [authorization] Bearer Token
|
|
39
39
|
* @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,15 +58,15 @@ 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 {number} [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?: number, filters?: any, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
67
67
|
/**
|
|
68
68
|
* Update a tenant bank account by code
|
|
69
|
-
* @summary Update
|
|
69
|
+
* @summary Update the tenant bank account
|
|
70
70
|
* @param {string} code Unique identifier for the object.
|
|
71
71
|
* @param {UpdateTenantBankAccountRestRequestDto} updateTenantBankAccountRestRequestDto
|
|
72
72
|
* @param {string} [authorization] Bearer Token
|
|
@@ -91,7 +91,7 @@ export declare const TenantBankAccountApiFp: (configuration?: Configuration) =>
|
|
|
91
91
|
createTenantBankAccount(createTenantBankAccountRequestDto: CreateTenantBankAccountRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateTenantBankAccountResponseClass>>;
|
|
92
92
|
/**
|
|
93
93
|
* Deletes a tenant bank account by code
|
|
94
|
-
* @summary
|
|
94
|
+
* @summary Delete the tenant bank account
|
|
95
95
|
* @param {string} code Unique identifier for the object.
|
|
96
96
|
* @param {string} [authorization] Bearer Token
|
|
97
97
|
* @param {*} [options] Override http request option.
|
|
@@ -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,15 +116,15 @@ 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 {number} [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?: number, filters?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListTenantBankAccountResponseClass>>;
|
|
125
125
|
/**
|
|
126
126
|
* Update a tenant bank account by code
|
|
127
|
-
* @summary Update
|
|
127
|
+
* @summary Update the tenant bank account
|
|
128
128
|
* @param {string} code Unique identifier for the object.
|
|
129
129
|
* @param {UpdateTenantBankAccountRestRequestDto} updateTenantBankAccountRestRequestDto
|
|
130
130
|
* @param {string} [authorization] Bearer Token
|
|
@@ -149,7 +149,7 @@ export declare const TenantBankAccountApiFactory: (configuration?: Configuration
|
|
|
149
149
|
createTenantBankAccount(createTenantBankAccountRequestDto: CreateTenantBankAccountRequestDto, authorization?: string, options?: any): AxiosPromise<CreateTenantBankAccountResponseClass>;
|
|
150
150
|
/**
|
|
151
151
|
* Deletes a tenant bank account by code
|
|
152
|
-
* @summary
|
|
152
|
+
* @summary Delete the tenant bank account
|
|
153
153
|
* @param {string} code Unique identifier for the object.
|
|
154
154
|
* @param {string} [authorization] Bearer Token
|
|
155
155
|
* @param {*} [options] Override http request option.
|
|
@@ -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,15 +174,15 @@ 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 {number} [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?: number, filters?: any, options?: any): AxiosPromise<ListTenantBankAccountResponseClass>;
|
|
183
183
|
/**
|
|
184
184
|
* Update a tenant bank account by code
|
|
185
|
-
* @summary Update
|
|
185
|
+
* @summary Update the tenant bank account
|
|
186
186
|
* @param {string} code Unique identifier for the object.
|
|
187
187
|
* @param {UpdateTenantBankAccountRestRequestDto} updateTenantBankAccountRestRequestDto
|
|
188
188
|
* @param {string} [authorization] Bearer Token
|
|
@@ -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 {number}
|
|
296
296
|
* @memberof TenantBankAccountApiListTenantBankAccounts
|
|
297
297
|
*/
|
|
298
|
-
readonly expand?:
|
|
298
|
+
readonly expand?: number;
|
|
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}
|
|
@@ -346,7 +346,7 @@ export declare class TenantBankAccountApi extends BaseAPI {
|
|
|
346
346
|
createTenantBankAccount(requestParameters: TenantBankAccountApiCreateTenantBankAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateTenantBankAccountResponseClass, any>>;
|
|
347
347
|
/**
|
|
348
348
|
* Deletes a tenant bank account by code
|
|
349
|
-
* @summary
|
|
349
|
+
* @summary Delete the tenant bank account
|
|
350
350
|
* @param {TenantBankAccountApiDeleteTenantBankAccountRequest} requestParameters Request parameters.
|
|
351
351
|
* @param {*} [options] Override http request option.
|
|
352
352
|
* @throws {RequiredError}
|
|
@@ -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.
|
|
@@ -373,7 +373,7 @@ export declare class TenantBankAccountApi extends BaseAPI {
|
|
|
373
373
|
listTenantBankAccounts(requestParameters?: TenantBankAccountApiListTenantBankAccountsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListTenantBankAccountResponseClass, any>>;
|
|
374
374
|
/**
|
|
375
375
|
* Update a tenant bank account by code
|
|
376
|
-
* @summary Update
|
|
376
|
+
* @summary Update the tenant bank account
|
|
377
377
|
* @param {TenantBankAccountApiUpdateTenantBankAccountRequest} requestParameters Request parameters.
|
|
378
378
|
* @param {*} [options] Override http request option.
|
|
379
379
|
* @throws {RequiredError}
|