@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/api/refunds-api.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
4
|
* Emil Payment Service
|
|
5
|
-
* This service directly communicates with the various Payment Service Providers (PSPs)
|
|
5
|
+
* This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
|
|
6
6
|
*
|
|
7
7
|
* The version of the OpenAPI document: 1.0
|
|
8
8
|
* Contact: kontakt@emil.de
|
|
@@ -84,16 +84,18 @@ export const RefundsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
84
84
|
*
|
|
85
85
|
* @param {string} code
|
|
86
86
|
* @param {string} code2 Unique identifier for the object.
|
|
87
|
+
* @param {string} expand Fields to expand response by
|
|
87
88
|
* @param {string} [authorization] Bearer Token
|
|
88
|
-
* @param {string} [expand] Fields to expand response by
|
|
89
89
|
* @param {*} [options] Override http request option.
|
|
90
90
|
* @throws {RequiredError}
|
|
91
91
|
*/
|
|
92
|
-
getRefund: async (code: string, code2: string,
|
|
92
|
+
getRefund: async (code: string, code2: string, expand: string, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
93
93
|
// verify required parameter 'code' is not null or undefined
|
|
94
94
|
assertParamExists('getRefund', 'code', code)
|
|
95
95
|
// verify required parameter 'code2' is not null or undefined
|
|
96
96
|
assertParamExists('getRefund', 'code2', code2)
|
|
97
|
+
// verify required parameter 'expand' is not null or undefined
|
|
98
|
+
assertParamExists('getRefund', 'expand', expand)
|
|
97
99
|
const localVarPath = `/paymentservice/v1/refunds/{code}`
|
|
98
100
|
.replace(`{${"code"}}`, encodeURIComponent(String(code)));
|
|
99
101
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -236,13 +238,13 @@ export const RefundsApiFp = function(configuration?: Configuration) {
|
|
|
236
238
|
*
|
|
237
239
|
* @param {string} code
|
|
238
240
|
* @param {string} code2 Unique identifier for the object.
|
|
241
|
+
* @param {string} expand Fields to expand response by
|
|
239
242
|
* @param {string} [authorization] Bearer Token
|
|
240
|
-
* @param {string} [expand] Fields to expand response by
|
|
241
243
|
* @param {*} [options] Override http request option.
|
|
242
244
|
* @throws {RequiredError}
|
|
243
245
|
*/
|
|
244
|
-
async getRefund(code: string, code2: string,
|
|
245
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getRefund(code, code2,
|
|
246
|
+
async getRefund(code: string, code2: string, expand: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetRefundResponseClass>> {
|
|
247
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getRefund(code, code2, expand, authorization, options);
|
|
246
248
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
247
249
|
},
|
|
248
250
|
/**
|
|
@@ -286,13 +288,13 @@ export const RefundsApiFactory = function (configuration?: Configuration, basePa
|
|
|
286
288
|
*
|
|
287
289
|
* @param {string} code
|
|
288
290
|
* @param {string} code2 Unique identifier for the object.
|
|
291
|
+
* @param {string} expand Fields to expand response by
|
|
289
292
|
* @param {string} [authorization] Bearer Token
|
|
290
|
-
* @param {string} [expand] Fields to expand response by
|
|
291
293
|
* @param {*} [options] Override http request option.
|
|
292
294
|
* @throws {RequiredError}
|
|
293
295
|
*/
|
|
294
|
-
getRefund(code: string, code2: string,
|
|
295
|
-
return localVarFp.getRefund(code, code2,
|
|
296
|
+
getRefund(code: string, code2: string, expand: string, authorization?: string, options?: any): AxiosPromise<GetRefundResponseClass> {
|
|
297
|
+
return localVarFp.getRefund(code, code2, expand, authorization, options).then((request) => request(axios, basePath));
|
|
296
298
|
},
|
|
297
299
|
/**
|
|
298
300
|
*
|
|
@@ -355,18 +357,18 @@ export interface RefundsApiGetRefundRequest {
|
|
|
355
357
|
readonly code2: string
|
|
356
358
|
|
|
357
359
|
/**
|
|
358
|
-
*
|
|
360
|
+
* Fields to expand response by
|
|
359
361
|
* @type {string}
|
|
360
362
|
* @memberof RefundsApiGetRefund
|
|
361
363
|
*/
|
|
362
|
-
readonly
|
|
364
|
+
readonly expand: string
|
|
363
365
|
|
|
364
366
|
/**
|
|
365
|
-
*
|
|
367
|
+
* Bearer Token
|
|
366
368
|
* @type {string}
|
|
367
369
|
* @memberof RefundsApiGetRefund
|
|
368
370
|
*/
|
|
369
|
-
readonly
|
|
371
|
+
readonly authorization?: string
|
|
370
372
|
}
|
|
371
373
|
|
|
372
374
|
/**
|
|
@@ -458,7 +460,7 @@ export class RefundsApi extends BaseAPI {
|
|
|
458
460
|
* @memberof RefundsApi
|
|
459
461
|
*/
|
|
460
462
|
public getRefund(requestParameters: RefundsApiGetRefundRequest, options?: AxiosRequestConfig) {
|
|
461
|
-
return RefundsApiFp(this.configuration).getRefund(requestParameters.code, requestParameters.code2, requestParameters.
|
|
463
|
+
return RefundsApiFp(this.configuration).getRefund(requestParameters.code, requestParameters.code2, requestParameters.expand, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
462
464
|
}
|
|
463
465
|
|
|
464
466
|
/**
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
4
|
* Emil Payment Service
|
|
5
|
-
* This service directly communicates with the various Payment Service Providers (PSPs)
|
|
5
|
+
* This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
|
|
6
6
|
*
|
|
7
7
|
* The version of the OpenAPI document: 1.0
|
|
8
8
|
* Contact: kontakt@emil.de
|
|
@@ -85,7 +85,7 @@ export const TenantBankAccountApiAxiosParamCreator = function (configuration?: C
|
|
|
85
85
|
},
|
|
86
86
|
/**
|
|
87
87
|
* Deletes a tenant bank account by code
|
|
88
|
-
* @summary
|
|
88
|
+
* @summary Delete the tenant bank account
|
|
89
89
|
* @param {string} code Unique identifier for the object.
|
|
90
90
|
* @param {string} [authorization] Bearer Token
|
|
91
91
|
* @param {*} [options] Override http request option.
|
|
@@ -129,7 +129,7 @@ export const TenantBankAccountApiAxiosParamCreator = function (configuration?: C
|
|
|
129
129
|
};
|
|
130
130
|
},
|
|
131
131
|
/**
|
|
132
|
-
* Retrieves the details of the Tenant Bank Account that was previously created. Supply the unique Tenant Bank Account code
|
|
132
|
+
* 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.
|
|
133
133
|
* @summary Retrieve the Tenant Bank Account
|
|
134
134
|
* @param {string} code Unique identifier for the object.
|
|
135
135
|
* @param {string} [authorization] Bearer Token
|
|
@@ -174,7 +174,7 @@ export const TenantBankAccountApiAxiosParamCreator = function (configuration?: C
|
|
|
174
174
|
};
|
|
175
175
|
},
|
|
176
176
|
/**
|
|
177
|
-
* Returns a list of Tenant Bank Accounts you have previously created.
|
|
177
|
+
* 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.
|
|
178
178
|
* @summary List Tenant Bank Accounts
|
|
179
179
|
* @param {string} [authorization] Bearer Token
|
|
180
180
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
@@ -182,12 +182,12 @@ export const TenantBankAccountApiAxiosParamCreator = function (configuration?: C
|
|
|
182
182
|
* @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>
|
|
183
183
|
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
184
184
|
* @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.
|
|
185
|
-
* @param {
|
|
185
|
+
* @param {number} [expand] No expand is available for this tenant bank accounts
|
|
186
186
|
* @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.
|
|
187
187
|
* @param {*} [options] Override http request option.
|
|
188
188
|
* @throws {RequiredError}
|
|
189
189
|
*/
|
|
190
|
-
listTenantBankAccounts: async (authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?:
|
|
190
|
+
listTenantBankAccounts: async (authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: number, filters?: any, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
191
191
|
const localVarPath = `/paymentservice/v1/tenant/bank-accounts`;
|
|
192
192
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
193
193
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -251,7 +251,7 @@ export const TenantBankAccountApiAxiosParamCreator = function (configuration?: C
|
|
|
251
251
|
},
|
|
252
252
|
/**
|
|
253
253
|
* Update a tenant bank account by code
|
|
254
|
-
* @summary Update
|
|
254
|
+
* @summary Update the tenant bank account
|
|
255
255
|
* @param {string} code Unique identifier for the object.
|
|
256
256
|
* @param {UpdateTenantBankAccountRestRequestDto} updateTenantBankAccountRestRequestDto
|
|
257
257
|
* @param {string} [authorization] Bearer Token
|
|
@@ -324,7 +324,7 @@ export const TenantBankAccountApiFp = function(configuration?: Configuration) {
|
|
|
324
324
|
},
|
|
325
325
|
/**
|
|
326
326
|
* Deletes a tenant bank account by code
|
|
327
|
-
* @summary
|
|
327
|
+
* @summary Delete the tenant bank account
|
|
328
328
|
* @param {string} code Unique identifier for the object.
|
|
329
329
|
* @param {string} [authorization] Bearer Token
|
|
330
330
|
* @param {*} [options] Override http request option.
|
|
@@ -335,7 +335,7 @@ export const TenantBankAccountApiFp = function(configuration?: Configuration) {
|
|
|
335
335
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
336
336
|
},
|
|
337
337
|
/**
|
|
338
|
-
* Retrieves the details of the Tenant Bank Account that was previously created. Supply the unique Tenant Bank Account code
|
|
338
|
+
* 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.
|
|
339
339
|
* @summary Retrieve the Tenant Bank Account
|
|
340
340
|
* @param {string} code Unique identifier for the object.
|
|
341
341
|
* @param {string} [authorization] Bearer Token
|
|
@@ -347,7 +347,7 @@ export const TenantBankAccountApiFp = function(configuration?: Configuration) {
|
|
|
347
347
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
348
348
|
},
|
|
349
349
|
/**
|
|
350
|
-
* Returns a list of Tenant Bank Accounts you have previously created.
|
|
350
|
+
* 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.
|
|
351
351
|
* @summary List Tenant Bank Accounts
|
|
352
352
|
* @param {string} [authorization] Bearer Token
|
|
353
353
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
@@ -355,18 +355,18 @@ export const TenantBankAccountApiFp = function(configuration?: Configuration) {
|
|
|
355
355
|
* @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>
|
|
356
356
|
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
357
357
|
* @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.
|
|
358
|
-
* @param {
|
|
358
|
+
* @param {number} [expand] No expand is available for this tenant bank accounts
|
|
359
359
|
* @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.
|
|
360
360
|
* @param {*} [options] Override http request option.
|
|
361
361
|
* @throws {RequiredError}
|
|
362
362
|
*/
|
|
363
|
-
async listTenantBankAccounts(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?:
|
|
363
|
+
async 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>> {
|
|
364
364
|
const localVarAxiosArgs = await localVarAxiosParamCreator.listTenantBankAccounts(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
|
|
365
365
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
366
366
|
},
|
|
367
367
|
/**
|
|
368
368
|
* Update a tenant bank account by code
|
|
369
|
-
* @summary Update
|
|
369
|
+
* @summary Update the tenant bank account
|
|
370
370
|
* @param {string} code Unique identifier for the object.
|
|
371
371
|
* @param {UpdateTenantBankAccountRestRequestDto} updateTenantBankAccountRestRequestDto
|
|
372
372
|
* @param {string} [authorization] Bearer Token
|
|
@@ -400,7 +400,7 @@ export const TenantBankAccountApiFactory = function (configuration?: Configurati
|
|
|
400
400
|
},
|
|
401
401
|
/**
|
|
402
402
|
* Deletes a tenant bank account by code
|
|
403
|
-
* @summary
|
|
403
|
+
* @summary Delete the tenant bank account
|
|
404
404
|
* @param {string} code Unique identifier for the object.
|
|
405
405
|
* @param {string} [authorization] Bearer Token
|
|
406
406
|
* @param {*} [options] Override http request option.
|
|
@@ -410,7 +410,7 @@ export const TenantBankAccountApiFactory = function (configuration?: Configurati
|
|
|
410
410
|
return localVarFp.deleteTenantBankAccount(code, authorization, options).then((request) => request(axios, basePath));
|
|
411
411
|
},
|
|
412
412
|
/**
|
|
413
|
-
* Retrieves the details of the Tenant Bank Account that was previously created. Supply the unique Tenant Bank Account code
|
|
413
|
+
* 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.
|
|
414
414
|
* @summary Retrieve the Tenant Bank Account
|
|
415
415
|
* @param {string} code Unique identifier for the object.
|
|
416
416
|
* @param {string} [authorization] Bearer Token
|
|
@@ -421,7 +421,7 @@ export const TenantBankAccountApiFactory = function (configuration?: Configurati
|
|
|
421
421
|
return localVarFp.getTenantBankAccount(code, authorization, options).then((request) => request(axios, basePath));
|
|
422
422
|
},
|
|
423
423
|
/**
|
|
424
|
-
* Returns a list of Tenant Bank Accounts you have previously created.
|
|
424
|
+
* 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.
|
|
425
425
|
* @summary List Tenant Bank Accounts
|
|
426
426
|
* @param {string} [authorization] Bearer Token
|
|
427
427
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
@@ -429,17 +429,17 @@ export const TenantBankAccountApiFactory = function (configuration?: Configurati
|
|
|
429
429
|
* @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>
|
|
430
430
|
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
431
431
|
* @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.
|
|
432
|
-
* @param {
|
|
432
|
+
* @param {number} [expand] No expand is available for this tenant bank accounts
|
|
433
433
|
* @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.
|
|
434
434
|
* @param {*} [options] Override http request option.
|
|
435
435
|
* @throws {RequiredError}
|
|
436
436
|
*/
|
|
437
|
-
listTenantBankAccounts(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?:
|
|
437
|
+
listTenantBankAccounts(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: number, filters?: any, options?: any): AxiosPromise<ListTenantBankAccountResponseClass> {
|
|
438
438
|
return localVarFp.listTenantBankAccounts(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
|
|
439
439
|
},
|
|
440
440
|
/**
|
|
441
441
|
* Update a tenant bank account by code
|
|
442
|
-
* @summary Update
|
|
442
|
+
* @summary Update the tenant bank account
|
|
443
443
|
* @param {string} code Unique identifier for the object.
|
|
444
444
|
* @param {UpdateTenantBankAccountRestRequestDto} updateTenantBankAccountRestRequestDto
|
|
445
445
|
* @param {string} [authorization] Bearer Token
|
|
@@ -565,10 +565,10 @@ export interface TenantBankAccountApiListTenantBankAccountsRequest {
|
|
|
565
565
|
|
|
566
566
|
/**
|
|
567
567
|
* No expand is available for this tenant bank accounts
|
|
568
|
-
* @type {
|
|
568
|
+
* @type {number}
|
|
569
569
|
* @memberof TenantBankAccountApiListTenantBankAccounts
|
|
570
570
|
*/
|
|
571
|
-
readonly expand?:
|
|
571
|
+
readonly expand?: number
|
|
572
572
|
|
|
573
573
|
/**
|
|
574
574
|
* 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.
|
|
@@ -627,7 +627,7 @@ export class TenantBankAccountApi extends BaseAPI {
|
|
|
627
627
|
|
|
628
628
|
/**
|
|
629
629
|
* Deletes a tenant bank account by code
|
|
630
|
-
* @summary
|
|
630
|
+
* @summary Delete the tenant bank account
|
|
631
631
|
* @param {TenantBankAccountApiDeleteTenantBankAccountRequest} requestParameters Request parameters.
|
|
632
632
|
* @param {*} [options] Override http request option.
|
|
633
633
|
* @throws {RequiredError}
|
|
@@ -638,7 +638,7 @@ export class TenantBankAccountApi extends BaseAPI {
|
|
|
638
638
|
}
|
|
639
639
|
|
|
640
640
|
/**
|
|
641
|
-
* Retrieves the details of the Tenant Bank Account that was previously created. Supply the unique Tenant Bank Account code
|
|
641
|
+
* 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.
|
|
642
642
|
* @summary Retrieve the Tenant Bank Account
|
|
643
643
|
* @param {TenantBankAccountApiGetTenantBankAccountRequest} requestParameters Request parameters.
|
|
644
644
|
* @param {*} [options] Override http request option.
|
|
@@ -650,7 +650,7 @@ export class TenantBankAccountApi extends BaseAPI {
|
|
|
650
650
|
}
|
|
651
651
|
|
|
652
652
|
/**
|
|
653
|
-
* Returns a list of Tenant Bank Accounts you have previously created.
|
|
653
|
+
* 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.
|
|
654
654
|
* @summary List Tenant Bank Accounts
|
|
655
655
|
* @param {TenantBankAccountApiListTenantBankAccountsRequest} requestParameters Request parameters.
|
|
656
656
|
* @param {*} [options] Override http request option.
|
|
@@ -663,7 +663,7 @@ export class TenantBankAccountApi extends BaseAPI {
|
|
|
663
663
|
|
|
664
664
|
/**
|
|
665
665
|
* Update a tenant bank account by code
|
|
666
|
-
* @summary Update
|
|
666
|
+
* @summary Update the tenant bank account
|
|
667
667
|
* @param {TenantBankAccountApiUpdateTenantBankAccountRequest} requestParameters Request parameters.
|
|
668
668
|
* @param {*} [options] Override http request option.
|
|
669
669
|
* @throws {RequiredError}
|
package/api/webhooks-api.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
4
|
* Emil Payment Service
|
|
5
|
-
* This service directly communicates with the various Payment Service Providers (PSPs)
|
|
5
|
+
* This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
|
|
6
6
|
*
|
|
7
7
|
* The version of the OpenAPI document: 1.0
|
|
8
8
|
* Contact: kontakt@emil.de
|
package/api.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
4
|
* Emil Payment Service
|
|
5
|
-
* This service directly communicates with the various Payment Service Providers (PSPs)
|
|
5
|
+
* This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
|
|
6
6
|
*
|
|
7
7
|
* The version of the OpenAPI document: 1.0
|
|
8
8
|
* Contact: kontakt@emil.de
|
package/base.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
4
|
* Emil Payment Service
|
|
5
|
-
* This service directly communicates with the various Payment Service Providers (PSPs)
|
|
5
|
+
* This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
|
|
6
6
|
*
|
|
7
7
|
* The version of the OpenAPI document: 1.0
|
|
8
8
|
* Contact: kontakt@emil.de
|
package/common.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
4
|
* Emil Payment Service
|
|
5
|
-
* This service directly communicates with the various Payment Service Providers (PSPs)
|
|
5
|
+
* This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
|
|
6
6
|
*
|
|
7
7
|
* The version of the OpenAPI document: 1.0
|
|
8
8
|
* Contact: kontakt@emil.de
|
|
@@ -140,7 +140,7 @@ export const createRequestFunction = function (axiosArgs: RequestArgs, globalAxi
|
|
|
140
140
|
/* eslint-disable */
|
|
141
141
|
/**
|
|
142
142
|
* Emil Payment Service
|
|
143
|
-
* This service directly communicates with the various Payment Service Providers (PSPs)
|
|
143
|
+
* 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.
|
|
144
144
|
*
|
|
145
145
|
* The version of the OpenAPI document: 1.0
|
|
146
146
|
* Contact: kontakt@emil.de
|
package/configuration.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
4
|
* Emil Payment Service
|
|
5
|
-
* This service directly communicates with the various Payment Service Providers (PSPs)
|
|
5
|
+
* This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
|
|
6
6
|
*
|
|
7
7
|
* The version of the OpenAPI document: 1.0
|
|
8
8
|
* Contact: kontakt@emil.de
|