@emilgroup/payment-sdk-node 1.13.1-beta.8 → 1.14.0
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 +55 -5
- package/README.md +18 -2
- package/api/bank-accounts-api.ts +508 -88
- package/api/bank-transaction-api.ts +97 -117
- package/api/{default-api.ts → health-check-api.ts} +22 -18
- package/api/payment-methods-api.ts +83 -256
- package/api/payment-reminders-api.ts +71 -105
- package/api/payment-setup-api.ts +53 -37
- package/api/payments-api.ts +80 -137
- package/api/refunds-api.ts +78 -112
- package/api/tenant-bank-account-api.ts +96 -118
- package/api/webhooks-api.ts +17 -13
- package/api.ts +3 -3
- package/base.ts +17 -9
- package/common.ts +2 -2
- package/configuration.ts +1 -1
- package/dist/api/bank-accounts-api.d.ts +298 -71
- package/dist/api/bank-accounts-api.js +432 -62
- package/dist/api/bank-transaction-api.d.ts +85 -100
- package/dist/api/bank-transaction-api.js +63 -74
- package/dist/api/health-check-api.d.ts +70 -0
- package/dist/api/{default-api.js → health-check-api.js} +31 -27
- package/dist/api/payment-methods-api.d.ts +66 -162
- package/dist/api/payment-methods-api.js +60 -190
- package/dist/api/payment-reminders-api.d.ts +66 -89
- package/dist/api/payment-reminders-api.js +44 -62
- package/dist/api/payment-setup-api.d.ts +39 -27
- package/dist/api/payment-setup-api.js +41 -33
- package/dist/api/payments-api.d.ts +70 -103
- package/dist/api/payments-api.js +55 -85
- package/dist/api/refunds-api.d.ts +68 -83
- package/dist/api/refunds-api.js +58 -68
- package/dist/api/tenant-bank-account-api.d.ts +90 -105
- package/dist/api/tenant-bank-account-api.js +63 -75
- package/dist/api/webhooks-api.d.ts +17 -13
- package/dist/api/webhooks-api.js +15 -11
- package/dist/api.d.ts +2 -2
- package/dist/api.js +2 -2
- package/dist/base.d.ts +5 -3
- package/dist/base.js +27 -21
- 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-account-class-without-expand-properties.d.ts +84 -0
- package/dist/models/{bank-transaction-response-class.js → bank-account-class-without-expand-properties.js} +1 -1
- package/dist/models/bank-account-class.d.ts +91 -0
- package/dist/models/{transaction-class.js → bank-account-class.js} +1 -1
- package/dist/models/bank-transaction-class-without-expand-properties.d.ts +126 -0
- package/dist/models/{get-request-dto.js → bank-transaction-class-without-expand-properties.js} +1 -1
- package/dist/models/{bank-transaction-response-class.d.ts → bank-transaction-class.d.ts} +41 -29
- package/dist/models/{tenant-bank-account-response-class.js → bank-transaction-class.js} +1 -1
- package/dist/models/billing-profile-dto.d.ts +38 -0
- package/dist/models/billing-profile-dto.js +15 -0
- package/dist/models/billing-profile-limited-response-dto.d.ts +54 -0
- package/dist/models/billing-profile-limited-response-dto.js +15 -0
- package/dist/models/complete-braintree-payment-setup-request-dto.d.ts +48 -0
- package/dist/models/complete-braintree-payment-setup-request-dto.js +15 -0
- package/dist/models/complete-payment-setup-request-dto.d.ts +32 -0
- package/dist/models/complete-payment-setup-request-dto.js +15 -0
- package/dist/models/complete-payment-setup-response-class.d.ts +25 -0
- package/dist/models/complete-payment-setup-response-class.js +15 -0
- package/dist/models/complete-stripe-payment-setup-request-dto.d.ts +77 -0
- package/dist/models/complete-stripe-payment-setup-request-dto.js +32 -0
- package/dist/models/create-bank-account-request-dto.d.ts +42 -0
- package/dist/models/create-bank-account-request-dto.js +15 -0
- package/dist/models/create-bank-account-response-class.d.ts +25 -0
- package/dist/models/create-bank-account-response-class.js +15 -0
- package/dist/models/create-payment-method-response-class.d.ts +25 -0
- package/dist/models/create-payment-method-response-class.js +15 -0
- 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-reminder-response-class.d.ts +25 -0
- package/dist/models/create-payment-reminder-response-class.js +15 -0
- 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-payment-response-class.d.ts +25 -0
- package/dist/models/create-payment-response-class.js +15 -0
- package/dist/models/create-psp-payment-method-request-dto.d.ts +61 -0
- package/dist/models/create-psp-payment-method-request-dto.js +32 -0
- 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 +25 -0
- package/dist/models/create-tenant-bank-account-response-class.js +15 -0
- 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/deactivate-payment-reminder-response-class.d.ts +25 -0
- package/dist/models/deactivate-payment-reminder-response-class.js +15 -0
- package/dist/models/deactivated-payment-reminder-class.d.ts +102 -0
- package/dist/models/deactivated-payment-reminder-class.js +15 -0
- package/dist/models/get-bank-account-response-class.d.ts +25 -0
- package/dist/models/get-bank-account-response-class.js +15 -0
- package/dist/models/get-bank-transactions-response-class.d.ts +4 -4
- package/dist/models/get-bank-transactions-response-class.js +1 -1
- package/dist/models/get-payment-method-response-class.d.ts +25 -0
- package/dist/models/get-payment-method-response-class.js +15 -0
- package/dist/models/get-payment-reminder-response-class.d.ts +25 -0
- package/dist/models/get-payment-reminder-response-class.js +15 -0
- package/dist/models/get-payment-response-class.d.ts +25 -0
- package/dist/models/get-payment-response-class.js +15 -0
- 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-tenant-bank-account-response-class.d.ts +5 -5
- package/dist/models/get-tenant-bank-account-response-class.js +1 -1
- package/dist/models/import-bank-transactions-response-class.d.ts +25 -0
- package/dist/models/import-bank-transactions-response-class.js +15 -0
- package/dist/models/index.d.ts +54 -4
- package/dist/models/index.js +54 -4
- package/dist/models/initiate-braintree-payment-setup-request-dto.d.ts +30 -0
- package/dist/models/initiate-braintree-payment-setup-request-dto.js +15 -0
- package/dist/models/initiate-braintree-payment-setup-response-class.d.ts +24 -0
- package/dist/models/initiate-braintree-payment-setup-response-class.js +15 -0
- package/dist/models/initiate-payment-setup-request-dto.d.ts +44 -0
- package/dist/models/initiate-payment-setup-request-dto.js +15 -0
- package/dist/models/initiate-payment-setup-response-class.d.ts +32 -0
- package/dist/models/initiate-payment-setup-response-class.js +15 -0
- package/dist/models/initiate-stripe-payment-setup-request-dto.d.ts +30 -0
- package/dist/models/initiate-stripe-payment-setup-request-dto.js +15 -0
- package/dist/models/initiate-stripe-payment-setup-response-class.d.ts +30 -0
- package/dist/models/initiate-stripe-payment-setup-response-class.js +15 -0
- 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/link-bank-transactions-response-class.d.ts +25 -0
- package/dist/models/link-bank-transactions-response-class.js +15 -0
- package/dist/models/list-bank-accounts-response-class.d.ts +31 -0
- package/dist/models/list-bank-accounts-response-class.js +15 -0
- package/dist/models/list-bank-transactions-response-class.d.ts +6 -6
- package/dist/models/list-bank-transactions-response-class.js +1 -1
- package/dist/models/list-payment-methods-response-class.d.ts +31 -0
- package/dist/models/list-payment-methods-response-class.js +15 -0
- package/dist/models/list-payment-reminders-response-class.d.ts +31 -0
- package/dist/models/list-payment-reminders-response-class.js +15 -0
- package/dist/models/list-payments-response-class.d.ts +31 -0
- package/dist/models/list-payments-response-class.js +15 -0
- package/dist/models/list-refunds-response-class.d.ts +3 -3
- package/dist/models/list-refunds-response-class.js +1 -1
- package/dist/models/list-tenant-bank-account-response-class.d.ts +31 -0
- package/dist/models/list-tenant-bank-account-response-class.js +15 -0
- package/dist/models/payment-class-without-expand-properties.d.ts +108 -0
- package/dist/models/payment-class-without-expand-properties.js +15 -0
- package/dist/models/payment-class.d.ts +115 -0
- package/dist/models/payment-class.js +15 -0
- package/dist/models/payment-method-class.d.ts +78 -0
- package/dist/models/payment-method-class.js +15 -0
- package/dist/models/payment-reminder-class.d.ts +102 -0
- package/dist/models/payment-reminder-class.js +15 -0
- package/dist/models/primary-bank-account-response-class.d.ts +54 -0
- package/dist/models/primary-bank-account-response-class.js +15 -0
- package/dist/models/refund-class.d.ts +18 -4
- package/dist/models/refund-class.js +3 -2
- package/dist/models/refund-item-class.d.ts +114 -0
- package/dist/models/refund-item-class.js +15 -0
- package/dist/models/sepa-direct-dto.d.ts +24 -0
- package/dist/models/sepa-direct-dto.js +15 -0
- package/dist/models/set-primary-bank-account-request-dto-rest.d.ts +24 -0
- package/dist/models/set-primary-bank-account-request-dto-rest.js +15 -0
- package/dist/models/shared-transaction-class.d.ts +72 -0
- package/dist/models/shared-transaction-class.js +15 -0
- package/dist/models/symphony-profile-limited-response-dto.d.ts +42 -0
- package/dist/models/symphony-profile-limited-response-dto.js +15 -0
- package/dist/models/{tenant-bank-account-response-class.d.ts → tenant-bank-account-class-without-expand-properties.d.ts} +23 -11
- package/dist/models/tenant-bank-account-class-without-expand-properties.js +15 -0
- package/dist/models/tenant-bank-account-class.d.ts +85 -0
- package/dist/models/tenant-bank-account-class.js +15 -0
- 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/unlink-bank-transactions-response-class.d.ts +25 -0
- package/dist/models/unlink-bank-transactions-response-class.js +15 -0
- package/dist/models/unlinked-bank-transaction-response-class.d.ts +108 -0
- package/dist/models/unlinked-bank-transaction-response-class.js +15 -0
- package/dist/models/update-bank-account-request-dto-rest.d.ts +30 -0
- package/dist/models/update-bank-account-request-dto-rest.js +15 -0
- package/dist/models/update-bank-account-request-dto.d.ts +36 -0
- package/dist/models/update-bank-account-request-dto.js +15 -0
- package/dist/models/update-bank-account-response-class.d.ts +25 -0
- package/dist/models/update-bank-account-response-class.js +15 -0
- package/dist/models/update-tenant-bank-account-response-class.d.ts +25 -0
- package/dist/models/update-tenant-bank-account-response-class.js +15 -0
- 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 +9 -2
- package/dist/models/validate-pspconfig-request-dto.js +8 -1
- package/index.ts +1 -1
- package/models/bank-account-class-without-expand-properties.ts +90 -0
- package/models/bank-account-class.ts +97 -0
- package/models/bank-transaction-class-without-expand-properties.ts +132 -0
- package/models/{bank-transaction-response-class.ts → bank-transaction-class.ts} +41 -29
- package/models/billing-profile-dto.ts +44 -0
- package/models/billing-profile-limited-response-dto.ts +60 -0
- package/models/complete-braintree-payment-setup-request-dto.ts +54 -0
- package/models/complete-payment-setup-request-dto.ts +38 -0
- package/models/complete-payment-setup-response-class.ts +31 -0
- package/models/complete-stripe-payment-setup-request-dto.ts +86 -0
- package/models/create-bank-account-request-dto.ts +48 -0
- package/models/create-bank-account-response-class.ts +31 -0
- package/models/create-payment-method-response-class.ts +31 -0
- package/models/create-payment-reminder-request-dto.ts +1 -1
- package/models/create-payment-reminder-response-class.ts +31 -0
- package/models/create-payment-request-dto.ts +4 -4
- package/models/create-payment-response-class.ts +31 -0
- package/models/create-psp-payment-method-request-dto.ts +70 -0
- 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 +31 -0
- package/models/deactivate-payment-reminder-request-dto.ts +1 -1
- package/models/deactivate-payment-reminder-response-class.ts +31 -0
- package/models/deactivated-payment-reminder-class.ts +108 -0
- package/models/get-bank-account-response-class.ts +31 -0
- package/models/get-bank-transactions-response-class.ts +4 -4
- package/models/get-payment-method-response-class.ts +31 -0
- package/models/get-payment-reminder-response-class.ts +31 -0
- package/models/get-payment-response-class.ts +31 -0
- package/models/get-refund-response-class.ts +1 -1
- package/models/get-tenant-bank-account-response-class.ts +5 -5
- package/models/import-bank-transactions-response-class.ts +31 -0
- package/models/index.ts +54 -4
- package/models/initiate-braintree-payment-setup-request-dto.ts +36 -0
- package/models/initiate-braintree-payment-setup-response-class.ts +30 -0
- package/models/initiate-payment-setup-request-dto.ts +50 -0
- package/models/initiate-payment-setup-response-class.ts +38 -0
- package/models/initiate-stripe-payment-setup-request-dto.ts +36 -0
- package/models/initiate-stripe-payment-setup-response-class.ts +36 -0
- 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/link-bank-transactions-response-class.ts +31 -0
- package/models/list-bank-accounts-response-class.ts +37 -0
- package/models/list-bank-transactions-response-class.ts +6 -6
- package/models/list-payment-methods-response-class.ts +37 -0
- package/models/list-payment-reminders-response-class.ts +37 -0
- package/models/list-payments-response-class.ts +37 -0
- package/models/list-refunds-response-class.ts +3 -3
- package/models/list-tenant-bank-account-response-class.ts +37 -0
- package/models/payment-class-without-expand-properties.ts +114 -0
- package/models/payment-class.ts +121 -0
- package/models/payment-method-class.ts +84 -0
- package/models/payment-reminder-class.ts +108 -0
- package/models/primary-bank-account-response-class.ts +60 -0
- package/models/refund-class.ts +19 -5
- package/models/refund-item-class.ts +120 -0
- package/models/sepa-direct-dto.ts +30 -0
- package/models/set-primary-bank-account-request-dto-rest.ts +30 -0
- package/models/shared-transaction-class.ts +78 -0
- package/models/symphony-profile-limited-response-dto.ts +48 -0
- package/models/{tenant-bank-account-response-class.ts → tenant-bank-account-class-without-expand-properties.ts} +23 -11
- package/models/tenant-bank-account-class.ts +91 -0
- package/models/unlink-bank-transaction-request-dto-rest.ts +2 -2
- package/models/unlink-bank-transactions-response-class.ts +31 -0
- package/models/unlinked-bank-transaction-response-class.ts +114 -0
- package/models/update-bank-account-request-dto-rest.ts +36 -0
- package/models/update-bank-account-request-dto.ts +42 -0
- package/models/update-bank-account-response-class.ts +31 -0
- package/models/update-tenant-bank-account-response-class.ts +31 -0
- package/models/update-tenant-bank-account-rest-request-dto.ts +1 -1
- package/models/validate-pspconfig-request-dto.ts +12 -2
- package/package.json +1 -1
- package/dist/api/default-api.d.ts +0 -66
- package/dist/models/get-request-dto.d.ts +0 -30
- package/dist/models/transaction-class.d.ts +0 -54
- package/models/get-request-dto.ts +0 -36
- package/models/transaction-class.ts +0 -60
|
@@ -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
|
|
@@ -23,8 +23,14 @@ import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } fr
|
|
|
23
23
|
// @ts-ignore
|
|
24
24
|
import { CreateTenantBankAccountRequestDto } from '../models';
|
|
25
25
|
// @ts-ignore
|
|
26
|
+
import { CreateTenantBankAccountResponseClass } from '../models';
|
|
27
|
+
// @ts-ignore
|
|
26
28
|
import { GetTenantBankAccountResponseClass } from '../models';
|
|
27
29
|
// @ts-ignore
|
|
30
|
+
import { ListTenantBankAccountResponseClass } from '../models';
|
|
31
|
+
// @ts-ignore
|
|
32
|
+
import { UpdateTenantBankAccountResponseClass } from '../models';
|
|
33
|
+
// @ts-ignore
|
|
28
34
|
import { UpdateTenantBankAccountRestRequestDto } from '../models';
|
|
29
35
|
// URLSearchParams not necessarily used
|
|
30
36
|
// @ts-ignore
|
|
@@ -37,8 +43,8 @@ const FormData = require('form-data');
|
|
|
37
43
|
export const TenantBankAccountApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
38
44
|
return {
|
|
39
45
|
/**
|
|
40
|
-
*
|
|
41
|
-
* @summary Create the
|
|
46
|
+
* This will create a new tenant bank account
|
|
47
|
+
* @summary Create the tenant bank account
|
|
42
48
|
* @param {CreateTenantBankAccountRequestDto} createTenantBankAccountRequestDto
|
|
43
49
|
* @param {string} [authorization] Bearer Token
|
|
44
50
|
* @param {*} [options] Override http request option.
|
|
@@ -85,7 +91,7 @@ export const TenantBankAccountApiAxiosParamCreator = function (configuration?: C
|
|
|
85
91
|
},
|
|
86
92
|
/**
|
|
87
93
|
* Deletes a tenant bank account by code
|
|
88
|
-
* @summary
|
|
94
|
+
* @summary Delete the tenant bank account
|
|
89
95
|
* @param {string} code Unique identifier for the object.
|
|
90
96
|
* @param {string} [authorization] Bearer Token
|
|
91
97
|
* @param {*} [options] Override http request option.
|
|
@@ -129,15 +135,15 @@ export const TenantBankAccountApiAxiosParamCreator = function (configuration?: C
|
|
|
129
135
|
};
|
|
130
136
|
},
|
|
131
137
|
/**
|
|
132
|
-
* Retrieves the details of the
|
|
133
|
-
* @summary Retrieve the
|
|
134
|
-
* @param {string} code
|
|
138
|
+
* 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.
|
|
139
|
+
* @summary Retrieve the tenant bank account
|
|
140
|
+
* @param {string} code
|
|
135
141
|
* @param {string} [authorization] Bearer Token
|
|
136
|
-
* @param {
|
|
142
|
+
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: bankTransactions<i>
|
|
137
143
|
* @param {*} [options] Override http request option.
|
|
138
144
|
* @throws {RequiredError}
|
|
139
145
|
*/
|
|
140
|
-
getTenantBankAccount: async (code: string, authorization?: string, expand?:
|
|
146
|
+
getTenantBankAccount: async (code: string, authorization?: string, expand?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
141
147
|
// verify required parameter 'code' is not null or undefined
|
|
142
148
|
assertParamExists('getTenantBankAccount', 'code', code)
|
|
143
149
|
const localVarPath = `/paymentservice/v1/tenant/bank-accounts/{code}`
|
|
@@ -179,20 +185,18 @@ export const TenantBankAccountApiAxiosParamCreator = function (configuration?: C
|
|
|
179
185
|
};
|
|
180
186
|
},
|
|
181
187
|
/**
|
|
182
|
-
* Returns a list of
|
|
183
|
-
* @summary List
|
|
188
|
+
* 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.
|
|
189
|
+
* @summary List tenant bank accounts
|
|
184
190
|
* @param {string} [authorization] Bearer Token
|
|
185
|
-
* @param {
|
|
186
|
-
* @param {
|
|
187
|
-
* @param {
|
|
188
|
-
* @param {
|
|
189
|
-
* @param {
|
|
190
|
-
* @param {string} [expand] Expand the response with additional entities
|
|
191
|
-
* @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.
|
|
191
|
+
* @param {string} [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>
|
|
192
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, iban, bankName, accountName</i>
|
|
193
|
+
* @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: id, iban, bankName, accountName</i>
|
|
194
|
+
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, createdAt</i>
|
|
195
|
+
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: bankTransactions<i>
|
|
192
196
|
* @param {*} [options] Override http request option.
|
|
193
197
|
* @throws {RequiredError}
|
|
194
198
|
*/
|
|
195
|
-
listTenantBankAccounts: async (authorization?: string,
|
|
199
|
+
listTenantBankAccounts: async (authorization?: string, filter?: string, filters?: string, search?: string, order?: string, expand?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
196
200
|
const localVarPath = `/paymentservice/v1/tenant/bank-accounts`;
|
|
197
201
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
198
202
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -211,18 +215,14 @@ export const TenantBankAccountApiAxiosParamCreator = function (configuration?: C
|
|
|
211
215
|
// http bearer authentication required
|
|
212
216
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
213
217
|
|
|
214
|
-
if (pageSize !== undefined) {
|
|
215
|
-
localVarQueryParameter['pageSize'] = pageSize;
|
|
216
|
-
}
|
|
217
|
-
|
|
218
|
-
if (pageToken !== undefined) {
|
|
219
|
-
localVarQueryParameter['pageToken'] = pageToken;
|
|
220
|
-
}
|
|
221
|
-
|
|
222
218
|
if (filter !== undefined) {
|
|
223
219
|
localVarQueryParameter['filter'] = filter;
|
|
224
220
|
}
|
|
225
221
|
|
|
222
|
+
if (filters !== undefined) {
|
|
223
|
+
localVarQueryParameter['filters'] = filters;
|
|
224
|
+
}
|
|
225
|
+
|
|
226
226
|
if (search !== undefined) {
|
|
227
227
|
localVarQueryParameter['search'] = search;
|
|
228
228
|
}
|
|
@@ -235,10 +235,6 @@ export const TenantBankAccountApiAxiosParamCreator = function (configuration?: C
|
|
|
235
235
|
localVarQueryParameter['expand'] = expand;
|
|
236
236
|
}
|
|
237
237
|
|
|
238
|
-
if (filters !== undefined) {
|
|
239
|
-
localVarQueryParameter['filters'] = filters;
|
|
240
|
-
}
|
|
241
|
-
|
|
242
238
|
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
243
239
|
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
244
240
|
}
|
|
@@ -256,7 +252,7 @@ export const TenantBankAccountApiAxiosParamCreator = function (configuration?: C
|
|
|
256
252
|
},
|
|
257
253
|
/**
|
|
258
254
|
* Update a tenant bank account by code
|
|
259
|
-
* @summary Update
|
|
255
|
+
* @summary Update the tenant bank account
|
|
260
256
|
* @param {string} code Unique identifier for the object.
|
|
261
257
|
* @param {UpdateTenantBankAccountRestRequestDto} updateTenantBankAccountRestRequestDto
|
|
262
258
|
* @param {string} [authorization] Bearer Token
|
|
@@ -316,70 +312,68 @@ export const TenantBankAccountApiFp = function(configuration?: Configuration) {
|
|
|
316
312
|
const localVarAxiosParamCreator = TenantBankAccountApiAxiosParamCreator(configuration)
|
|
317
313
|
return {
|
|
318
314
|
/**
|
|
319
|
-
*
|
|
320
|
-
* @summary Create the
|
|
315
|
+
* This will create a new tenant bank account
|
|
316
|
+
* @summary Create the tenant bank account
|
|
321
317
|
* @param {CreateTenantBankAccountRequestDto} createTenantBankAccountRequestDto
|
|
322
318
|
* @param {string} [authorization] Bearer Token
|
|
323
319
|
* @param {*} [options] Override http request option.
|
|
324
320
|
* @throws {RequiredError}
|
|
325
321
|
*/
|
|
326
|
-
async createTenantBankAccount(createTenantBankAccountRequestDto: CreateTenantBankAccountRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
322
|
+
async createTenantBankAccount(createTenantBankAccountRequestDto: CreateTenantBankAccountRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateTenantBankAccountResponseClass>> {
|
|
327
323
|
const localVarAxiosArgs = await localVarAxiosParamCreator.createTenantBankAccount(createTenantBankAccountRequestDto, authorization, options);
|
|
328
324
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
329
325
|
},
|
|
330
326
|
/**
|
|
331
327
|
* Deletes a tenant bank account by code
|
|
332
|
-
* @summary
|
|
328
|
+
* @summary Delete the tenant bank account
|
|
333
329
|
* @param {string} code Unique identifier for the object.
|
|
334
330
|
* @param {string} [authorization] Bearer Token
|
|
335
331
|
* @param {*} [options] Override http request option.
|
|
336
332
|
* @throws {RequiredError}
|
|
337
333
|
*/
|
|
338
|
-
async deleteTenantBankAccount(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
334
|
+
async deleteTenantBankAccount(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>> {
|
|
339
335
|
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteTenantBankAccount(code, authorization, options);
|
|
340
336
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
341
337
|
},
|
|
342
338
|
/**
|
|
343
|
-
* Retrieves the details of the
|
|
344
|
-
* @summary Retrieve the
|
|
345
|
-
* @param {string} code
|
|
339
|
+
* 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.
|
|
340
|
+
* @summary Retrieve the tenant bank account
|
|
341
|
+
* @param {string} code
|
|
346
342
|
* @param {string} [authorization] Bearer Token
|
|
347
|
-
* @param {
|
|
343
|
+
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: bankTransactions<i>
|
|
348
344
|
* @param {*} [options] Override http request option.
|
|
349
345
|
* @throws {RequiredError}
|
|
350
346
|
*/
|
|
351
|
-
async getTenantBankAccount(code: string, authorization?: string, expand?:
|
|
347
|
+
async getTenantBankAccount(code: string, authorization?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetTenantBankAccountResponseClass>> {
|
|
352
348
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getTenantBankAccount(code, authorization, expand, options);
|
|
353
349
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
354
350
|
},
|
|
355
351
|
/**
|
|
356
|
-
* Returns a list of
|
|
357
|
-
* @summary List
|
|
352
|
+
* 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.
|
|
353
|
+
* @summary List tenant bank accounts
|
|
358
354
|
* @param {string} [authorization] Bearer Token
|
|
359
|
-
* @param {
|
|
360
|
-
* @param {
|
|
361
|
-
* @param {
|
|
362
|
-
* @param {
|
|
363
|
-
* @param {
|
|
364
|
-
* @param {string} [expand] Expand the response with additional entities
|
|
365
|
-
* @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.
|
|
355
|
+
* @param {string} [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
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, iban, bankName, accountName</i>
|
|
357
|
+
* @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: id, iban, bankName, accountName</i>
|
|
358
|
+
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, createdAt</i>
|
|
359
|
+
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: bankTransactions<i>
|
|
366
360
|
* @param {*} [options] Override http request option.
|
|
367
361
|
* @throws {RequiredError}
|
|
368
362
|
*/
|
|
369
|
-
async listTenantBankAccounts(authorization?: string,
|
|
370
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listTenantBankAccounts(authorization,
|
|
363
|
+
async listTenantBankAccounts(authorization?: string, filter?: string, filters?: string, search?: string, order?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListTenantBankAccountResponseClass>> {
|
|
364
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listTenantBankAccounts(authorization, filter, filters, search, order, expand, options);
|
|
371
365
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
372
366
|
},
|
|
373
367
|
/**
|
|
374
368
|
* Update a tenant bank account by code
|
|
375
|
-
* @summary Update
|
|
369
|
+
* @summary Update the tenant bank account
|
|
376
370
|
* @param {string} code Unique identifier for the object.
|
|
377
371
|
* @param {UpdateTenantBankAccountRestRequestDto} updateTenantBankAccountRestRequestDto
|
|
378
372
|
* @param {string} [authorization] Bearer Token
|
|
379
373
|
* @param {*} [options] Override http request option.
|
|
380
374
|
* @throws {RequiredError}
|
|
381
375
|
*/
|
|
382
|
-
async updateTenantBankAccount(code: string, updateTenantBankAccountRestRequestDto: UpdateTenantBankAccountRestRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
376
|
+
async updateTenantBankAccount(code: string, updateTenantBankAccountRestRequestDto: UpdateTenantBankAccountRestRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateTenantBankAccountResponseClass>> {
|
|
383
377
|
const localVarAxiosArgs = await localVarAxiosParamCreator.updateTenantBankAccount(code, updateTenantBankAccountRestRequestDto, authorization, options);
|
|
384
378
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
385
379
|
},
|
|
@@ -394,66 +388,64 @@ export const TenantBankAccountApiFactory = function (configuration?: Configurati
|
|
|
394
388
|
const localVarFp = TenantBankAccountApiFp(configuration)
|
|
395
389
|
return {
|
|
396
390
|
/**
|
|
397
|
-
*
|
|
398
|
-
* @summary Create the
|
|
391
|
+
* This will create a new tenant bank account
|
|
392
|
+
* @summary Create the tenant bank account
|
|
399
393
|
* @param {CreateTenantBankAccountRequestDto} createTenantBankAccountRequestDto
|
|
400
394
|
* @param {string} [authorization] Bearer Token
|
|
401
395
|
* @param {*} [options] Override http request option.
|
|
402
396
|
* @throws {RequiredError}
|
|
403
397
|
*/
|
|
404
|
-
createTenantBankAccount(createTenantBankAccountRequestDto: CreateTenantBankAccountRequestDto, authorization?: string, options?: any): AxiosPromise<
|
|
398
|
+
createTenantBankAccount(createTenantBankAccountRequestDto: CreateTenantBankAccountRequestDto, authorization?: string, options?: any): AxiosPromise<CreateTenantBankAccountResponseClass> {
|
|
405
399
|
return localVarFp.createTenantBankAccount(createTenantBankAccountRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
406
400
|
},
|
|
407
401
|
/**
|
|
408
402
|
* Deletes a tenant bank account by code
|
|
409
|
-
* @summary
|
|
403
|
+
* @summary Delete the tenant bank account
|
|
410
404
|
* @param {string} code Unique identifier for the object.
|
|
411
405
|
* @param {string} [authorization] Bearer Token
|
|
412
406
|
* @param {*} [options] Override http request option.
|
|
413
407
|
* @throws {RequiredError}
|
|
414
408
|
*/
|
|
415
|
-
deleteTenantBankAccount(code: string, authorization?: string, options?: any): AxiosPromise<
|
|
409
|
+
deleteTenantBankAccount(code: string, authorization?: string, options?: any): AxiosPromise<object> {
|
|
416
410
|
return localVarFp.deleteTenantBankAccount(code, authorization, options).then((request) => request(axios, basePath));
|
|
417
411
|
},
|
|
418
412
|
/**
|
|
419
|
-
* Retrieves the details of the
|
|
420
|
-
* @summary Retrieve the
|
|
421
|
-
* @param {string} 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
|
+
* @summary Retrieve the tenant bank account
|
|
415
|
+
* @param {string} code
|
|
422
416
|
* @param {string} [authorization] Bearer Token
|
|
423
|
-
* @param {
|
|
417
|
+
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: bankTransactions<i>
|
|
424
418
|
* @param {*} [options] Override http request option.
|
|
425
419
|
* @throws {RequiredError}
|
|
426
420
|
*/
|
|
427
|
-
getTenantBankAccount(code: string, authorization?: string, expand?:
|
|
421
|
+
getTenantBankAccount(code: string, authorization?: string, expand?: string, options?: any): AxiosPromise<GetTenantBankAccountResponseClass> {
|
|
428
422
|
return localVarFp.getTenantBankAccount(code, authorization, expand, options).then((request) => request(axios, basePath));
|
|
429
423
|
},
|
|
430
424
|
/**
|
|
431
|
-
* Returns a list of
|
|
432
|
-
* @summary List
|
|
425
|
+
* 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.
|
|
426
|
+
* @summary List tenant bank accounts
|
|
433
427
|
* @param {string} [authorization] Bearer Token
|
|
434
|
-
* @param {
|
|
435
|
-
* @param {
|
|
436
|
-
* @param {
|
|
437
|
-
* @param {
|
|
438
|
-
* @param {
|
|
439
|
-
* @param {string} [expand] Expand the response with additional entities
|
|
440
|
-
* @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.
|
|
428
|
+
* @param {string} [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>
|
|
429
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, iban, bankName, accountName</i>
|
|
430
|
+
* @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: id, iban, bankName, accountName</i>
|
|
431
|
+
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, createdAt</i>
|
|
432
|
+
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: bankTransactions<i>
|
|
441
433
|
* @param {*} [options] Override http request option.
|
|
442
434
|
* @throws {RequiredError}
|
|
443
435
|
*/
|
|
444
|
-
listTenantBankAccounts(authorization?: string,
|
|
445
|
-
return localVarFp.listTenantBankAccounts(authorization,
|
|
436
|
+
listTenantBankAccounts(authorization?: string, filter?: string, filters?: string, search?: string, order?: string, expand?: string, options?: any): AxiosPromise<ListTenantBankAccountResponseClass> {
|
|
437
|
+
return localVarFp.listTenantBankAccounts(authorization, filter, filters, search, order, expand, options).then((request) => request(axios, basePath));
|
|
446
438
|
},
|
|
447
439
|
/**
|
|
448
440
|
* Update a tenant bank account by code
|
|
449
|
-
* @summary Update
|
|
441
|
+
* @summary Update the tenant bank account
|
|
450
442
|
* @param {string} code Unique identifier for the object.
|
|
451
443
|
* @param {UpdateTenantBankAccountRestRequestDto} updateTenantBankAccountRestRequestDto
|
|
452
444
|
* @param {string} [authorization] Bearer Token
|
|
453
445
|
* @param {*} [options] Override http request option.
|
|
454
446
|
* @throws {RequiredError}
|
|
455
447
|
*/
|
|
456
|
-
updateTenantBankAccount(code: string, updateTenantBankAccountRestRequestDto: UpdateTenantBankAccountRestRequestDto, authorization?: string, options?: any): AxiosPromise<
|
|
448
|
+
updateTenantBankAccount(code: string, updateTenantBankAccountRestRequestDto: UpdateTenantBankAccountRestRequestDto, authorization?: string, options?: any): AxiosPromise<UpdateTenantBankAccountResponseClass> {
|
|
457
449
|
return localVarFp.updateTenantBankAccount(code, updateTenantBankAccountRestRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
458
450
|
},
|
|
459
451
|
};
|
|
@@ -508,7 +500,7 @@ export interface TenantBankAccountApiDeleteTenantBankAccountRequest {
|
|
|
508
500
|
*/
|
|
509
501
|
export interface TenantBankAccountApiGetTenantBankAccountRequest {
|
|
510
502
|
/**
|
|
511
|
-
*
|
|
503
|
+
*
|
|
512
504
|
* @type {string}
|
|
513
505
|
* @memberof TenantBankAccountApiGetTenantBankAccount
|
|
514
506
|
*/
|
|
@@ -522,11 +514,11 @@ export interface TenantBankAccountApiGetTenantBankAccountRequest {
|
|
|
522
514
|
readonly authorization?: string
|
|
523
515
|
|
|
524
516
|
/**
|
|
525
|
-
* Expand the
|
|
526
|
-
* @type {
|
|
517
|
+
* Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: bankTransactions<i>
|
|
518
|
+
* @type {string}
|
|
527
519
|
* @memberof TenantBankAccountApiGetTenantBankAccount
|
|
528
520
|
*/
|
|
529
|
-
readonly expand?:
|
|
521
|
+
readonly expand?: string
|
|
530
522
|
}
|
|
531
523
|
|
|
532
524
|
/**
|
|
@@ -543,53 +535,39 @@ export interface TenantBankAccountApiListTenantBankAccountsRequest {
|
|
|
543
535
|
readonly authorization?: string
|
|
544
536
|
|
|
545
537
|
/**
|
|
546
|
-
*
|
|
547
|
-
* @type {
|
|
548
|
-
* @memberof TenantBankAccountApiListTenantBankAccounts
|
|
549
|
-
*/
|
|
550
|
-
readonly pageSize?: any
|
|
551
|
-
|
|
552
|
-
/**
|
|
553
|
-
* A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
554
|
-
* @type {any}
|
|
538
|
+
* 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>
|
|
539
|
+
* @type {string}
|
|
555
540
|
* @memberof TenantBankAccountApiListTenantBankAccounts
|
|
556
541
|
*/
|
|
557
|
-
readonly
|
|
542
|
+
readonly filter?: string
|
|
558
543
|
|
|
559
544
|
/**
|
|
560
|
-
*
|
|
561
|
-
* @type {
|
|
545
|
+
* Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, iban, bankName, accountName</i>
|
|
546
|
+
* @type {string}
|
|
562
547
|
* @memberof TenantBankAccountApiListTenantBankAccounts
|
|
563
548
|
*/
|
|
564
|
-
readonly
|
|
549
|
+
readonly filters?: string
|
|
565
550
|
|
|
566
551
|
/**
|
|
567
|
-
* Search the
|
|
568
|
-
* @type {
|
|
552
|
+
* Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: id, iban, bankName, accountName</i>
|
|
553
|
+
* @type {string}
|
|
569
554
|
* @memberof TenantBankAccountApiListTenantBankAccounts
|
|
570
555
|
*/
|
|
571
|
-
readonly search?:
|
|
556
|
+
readonly search?: string
|
|
572
557
|
|
|
573
558
|
/**
|
|
574
|
-
*
|
|
575
|
-
* @type {
|
|
559
|
+
* Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, createdAt</i>
|
|
560
|
+
* @type {string}
|
|
576
561
|
* @memberof TenantBankAccountApiListTenantBankAccounts
|
|
577
562
|
*/
|
|
578
|
-
readonly order?:
|
|
563
|
+
readonly order?: string
|
|
579
564
|
|
|
580
565
|
/**
|
|
581
|
-
* Expand the
|
|
566
|
+
* Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: bankTransactions<i>
|
|
582
567
|
* @type {string}
|
|
583
568
|
* @memberof TenantBankAccountApiListTenantBankAccounts
|
|
584
569
|
*/
|
|
585
570
|
readonly expand?: string
|
|
586
|
-
|
|
587
|
-
/**
|
|
588
|
-
* 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.
|
|
589
|
-
* @type {any}
|
|
590
|
-
* @memberof TenantBankAccountApiListTenantBankAccounts
|
|
591
|
-
*/
|
|
592
|
-
readonly filters?: any
|
|
593
571
|
}
|
|
594
572
|
|
|
595
573
|
/**
|
|
@@ -628,8 +606,8 @@ export interface TenantBankAccountApiUpdateTenantBankAccountRequest {
|
|
|
628
606
|
*/
|
|
629
607
|
export class TenantBankAccountApi extends BaseAPI {
|
|
630
608
|
/**
|
|
631
|
-
*
|
|
632
|
-
* @summary Create the
|
|
609
|
+
* This will create a new tenant bank account
|
|
610
|
+
* @summary Create the tenant bank account
|
|
633
611
|
* @param {TenantBankAccountApiCreateTenantBankAccountRequest} requestParameters Request parameters.
|
|
634
612
|
* @param {*} [options] Override http request option.
|
|
635
613
|
* @throws {RequiredError}
|
|
@@ -641,7 +619,7 @@ export class TenantBankAccountApi extends BaseAPI {
|
|
|
641
619
|
|
|
642
620
|
/**
|
|
643
621
|
* Deletes a tenant bank account by code
|
|
644
|
-
* @summary
|
|
622
|
+
* @summary Delete the tenant bank account
|
|
645
623
|
* @param {TenantBankAccountApiDeleteTenantBankAccountRequest} requestParameters Request parameters.
|
|
646
624
|
* @param {*} [options] Override http request option.
|
|
647
625
|
* @throws {RequiredError}
|
|
@@ -652,8 +630,8 @@ export class TenantBankAccountApi extends BaseAPI {
|
|
|
652
630
|
}
|
|
653
631
|
|
|
654
632
|
/**
|
|
655
|
-
* Retrieves the details of the
|
|
656
|
-
* @summary Retrieve the
|
|
633
|
+
* 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.
|
|
634
|
+
* @summary Retrieve the tenant bank account
|
|
657
635
|
* @param {TenantBankAccountApiGetTenantBankAccountRequest} requestParameters Request parameters.
|
|
658
636
|
* @param {*} [options] Override http request option.
|
|
659
637
|
* @throws {RequiredError}
|
|
@@ -664,20 +642,20 @@ export class TenantBankAccountApi extends BaseAPI {
|
|
|
664
642
|
}
|
|
665
643
|
|
|
666
644
|
/**
|
|
667
|
-
* Returns a list of
|
|
668
|
-
* @summary List
|
|
645
|
+
* 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.
|
|
646
|
+
* @summary List tenant bank accounts
|
|
669
647
|
* @param {TenantBankAccountApiListTenantBankAccountsRequest} requestParameters Request parameters.
|
|
670
648
|
* @param {*} [options] Override http request option.
|
|
671
649
|
* @throws {RequiredError}
|
|
672
650
|
* @memberof TenantBankAccountApi
|
|
673
651
|
*/
|
|
674
652
|
public listTenantBankAccounts(requestParameters: TenantBankAccountApiListTenantBankAccountsRequest = {}, options?: AxiosRequestConfig) {
|
|
675
|
-
return TenantBankAccountApiFp(this.configuration).listTenantBankAccounts(requestParameters.authorization, requestParameters.
|
|
653
|
+
return TenantBankAccountApiFp(this.configuration).listTenantBankAccounts(requestParameters.authorization, requestParameters.filter, requestParameters.filters, requestParameters.search, requestParameters.order, requestParameters.expand, options).then((request) => request(this.axios, this.basePath));
|
|
676
654
|
}
|
|
677
655
|
|
|
678
656
|
/**
|
|
679
657
|
* Update a tenant bank account by code
|
|
680
|
-
* @summary Update
|
|
658
|
+
* @summary Update the tenant bank account
|
|
681
659
|
* @param {TenantBankAccountApiUpdateTenantBankAccountRequest} requestParameters Request parameters.
|
|
682
660
|
* @param {*} [options] Override http request option.
|
|
683
661
|
* @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
|
|
@@ -31,9 +31,10 @@ const FormData = require('form-data');
|
|
|
31
31
|
export const WebhooksApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
32
32
|
return {
|
|
33
33
|
/**
|
|
34
|
-
*
|
|
35
|
-
* @
|
|
36
|
-
* @param {string}
|
|
34
|
+
* This will processes the webhook from external payment service provider.
|
|
35
|
+
* @summary Handle the webhook from PSP
|
|
36
|
+
* @param {string} pspType The type of the payment service provider (PSP).<br/> <br/> <i>Supported PSP: braintree, stripe, b4u, eis</i>
|
|
37
|
+
* @param {string} tenantSlug Unique slug identifier representing a tenant.
|
|
37
38
|
* @param {*} [options] Override http request option.
|
|
38
39
|
* @throws {RequiredError}
|
|
39
40
|
*/
|
|
@@ -80,9 +81,10 @@ export const WebhooksApiFp = function(configuration?: Configuration) {
|
|
|
80
81
|
const localVarAxiosParamCreator = WebhooksApiAxiosParamCreator(configuration)
|
|
81
82
|
return {
|
|
82
83
|
/**
|
|
83
|
-
*
|
|
84
|
-
* @
|
|
85
|
-
* @param {string}
|
|
84
|
+
* This will processes the webhook from external payment service provider.
|
|
85
|
+
* @summary Handle the webhook from PSP
|
|
86
|
+
* @param {string} pspType The type of the payment service provider (PSP).<br/> <br/> <i>Supported PSP: braintree, stripe, b4u, eis</i>
|
|
87
|
+
* @param {string} tenantSlug Unique slug identifier representing a tenant.
|
|
86
88
|
* @param {*} [options] Override http request option.
|
|
87
89
|
* @throws {RequiredError}
|
|
88
90
|
*/
|
|
@@ -101,9 +103,10 @@ export const WebhooksApiFactory = function (configuration?: Configuration, baseP
|
|
|
101
103
|
const localVarFp = WebhooksApiFp(configuration)
|
|
102
104
|
return {
|
|
103
105
|
/**
|
|
104
|
-
*
|
|
105
|
-
* @
|
|
106
|
-
* @param {string}
|
|
106
|
+
* This will processes the webhook from external payment service provider.
|
|
107
|
+
* @summary Handle the webhook from PSP
|
|
108
|
+
* @param {string} pspType The type of the payment service provider (PSP).<br/> <br/> <i>Supported PSP: braintree, stripe, b4u, eis</i>
|
|
109
|
+
* @param {string} tenantSlug Unique slug identifier representing a tenant.
|
|
107
110
|
* @param {*} [options] Override http request option.
|
|
108
111
|
* @throws {RequiredError}
|
|
109
112
|
*/
|
|
@@ -120,14 +123,14 @@ export const WebhooksApiFactory = function (configuration?: Configuration, baseP
|
|
|
120
123
|
*/
|
|
121
124
|
export interface WebhooksApiPostWebhookRequest {
|
|
122
125
|
/**
|
|
123
|
-
*
|
|
126
|
+
* The type of the payment service provider (PSP).<br/> <br/> <i>Supported PSP: braintree, stripe, b4u, eis</i>
|
|
124
127
|
* @type {string}
|
|
125
128
|
* @memberof WebhooksApiPostWebhook
|
|
126
129
|
*/
|
|
127
130
|
readonly pspType: string
|
|
128
131
|
|
|
129
132
|
/**
|
|
130
|
-
*
|
|
133
|
+
* Unique slug identifier representing a tenant.
|
|
131
134
|
* @type {string}
|
|
132
135
|
* @memberof WebhooksApiPostWebhook
|
|
133
136
|
*/
|
|
@@ -142,7 +145,8 @@ export interface WebhooksApiPostWebhookRequest {
|
|
|
142
145
|
*/
|
|
143
146
|
export class WebhooksApi extends BaseAPI {
|
|
144
147
|
/**
|
|
145
|
-
*
|
|
148
|
+
* This will processes the webhook from external payment service provider.
|
|
149
|
+
* @summary Handle the webhook from PSP
|
|
146
150
|
* @param {WebhooksApiPostWebhookRequest} requestParameters Request parameters.
|
|
147
151
|
* @param {*} [options] Override http request option.
|
|
148
152
|
* @throws {RequiredError}
|
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
|
|
@@ -26,7 +26,7 @@ import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObj
|
|
|
26
26
|
import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from './base';
|
|
27
27
|
import { BankAccountsApi } from './api';
|
|
28
28
|
import { BankTransactionApi } from './api';
|
|
29
|
-
import {
|
|
29
|
+
import { HealthCheckApi } from './api';
|
|
30
30
|
import { PaymentMethodsApi } from './api';
|
|
31
31
|
import { PaymentRemindersApi } from './api';
|
|
32
32
|
import { PaymentSetupApi } from './api';
|
|
@@ -38,7 +38,7 @@ import { WebhooksApi } from './api';
|
|
|
38
38
|
|
|
39
39
|
export * from './api/bank-accounts-api';
|
|
40
40
|
export * from './api/bank-transaction-api';
|
|
41
|
-
export * from './api/
|
|
41
|
+
export * from './api/health-check-api';
|
|
42
42
|
export * from './api/payment-methods-api';
|
|
43
43
|
export * from './api/payment-reminders-api';
|
|
44
44
|
export * from './api/payment-setup-api';
|