@emilgroup/payment-sdk 1.4.1-beta.3 → 1.4.1-beta.30
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 +10 -27
- package/README.md +2 -2
- package/api/bank-accounts-api.ts +497 -43
- package/api/bank-transaction-api.ts +89 -53
- package/api/default-api.ts +1 -1
- package/api/payment-methods-api.ts +62 -173
- package/api/payment-reminders-api.ts +21 -25
- package/api/payment-setup-api.ts +29 -37
- package/api/payments-api.ts +54 -59
- package/api/refunds-api.ts +20 -18
- package/api/tenant-bank-account-api.ts +71 -61
- package/api/webhooks-api.ts +1 -1
- package/api.ts +1 -1
- package/base.ts +6 -2
- package/common.ts +2 -2
- package/configuration.ts +1 -1
- package/dist/api/bank-accounts-api.d.ts +295 -45
- package/dist/api/bank-accounts-api.js +412 -24
- package/dist/api/bank-transaction-api.d.ts +65 -45
- package/dist/api/bank-transaction-api.js +55 -40
- 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 +48 -107
- package/dist/api/payment-methods-api.js +51 -143
- package/dist/api/payment-reminders-api.d.ts +25 -27
- package/dist/api/payment-reminders-api.js +12 -12
- 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 +46 -49
- package/dist/api/payments-api.js +43 -41
- package/dist/api/refunds-api.d.ts +15 -15
- package/dist/api/refunds-api.js +15 -13
- package/dist/api/tenant-bank-account-api.d.ts +70 -57
- package/dist/api/tenant-bank-account-api.js +56 -42
- 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 +2 -1
- package/dist/base.js +5 -2
- 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.d.ts +23 -4
- package/dist/models/bank-account-class.js +1 -1
- package/dist/models/bank-transaction-response-class.d.ts +7 -1
- package/dist/models/bank-transaction-response-class.js +1 -1
- package/dist/models/create-bank-account-request-dto.d.ts +15 -3
- package/dist/models/create-bank-account-request-dto.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 +25 -0
- package/dist/models/{complete-payment-setup-request-dto.js → 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-account-response-class.d.ts +25 -0
- package/dist/models/{billing-profile-dto.js → get-bank-account-response-class.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 +10 -27
- package/dist/models/index.js +10 -27
- 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 +24 -0
- package/dist/models/{complete-braintree-payment-setup-request-dto.js → 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 +31 -0
- package/dist/models/{billing-profile-limited-response-dto.js → list-tenant-bank-account-response-class.js} +1 -1
- package/dist/models/primary-bank-account-response-class.d.ts +42 -0
- package/dist/models/primary-bank-account-response-class.js +15 -0
- package/dist/models/refund-class.d.ts +2 -1
- package/dist/models/refund-class.js +3 -2
- 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/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 +24 -0
- package/dist/models/unlink-bank-transaction-request-dto-rest.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-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-account-class.ts +23 -4
- package/models/bank-transaction-response-class.ts +7 -1
- package/models/create-bank-account-request-dto.ts +15 -3
- 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 +31 -0
- package/models/deactivate-payment-reminder-request-dto.ts +1 -1
- package/models/get-bank-account-response-class.ts +31 -0
- 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 +10 -27
- package/models/inline-response200.ts +1 -1
- package/models/inline-response503.ts +1 -1
- package/models/link-bank-transaction-request-dto-rest.ts +30 -0
- 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 +37 -0
- package/models/primary-bank-account-response-class.ts +48 -0
- package/models/refund-class.ts +3 -2
- package/models/set-primary-bank-account-request-dto-rest.ts +30 -0
- 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 +30 -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-rest-request-dto.ts +1 -1
- package/models/validate-pspconfig-request-dto.ts +2 -12
- package/package.json +1 -1
- package/dist/models/billing-profile-dto.d.ts +0 -38
- package/dist/models/billing-profile-limited-response-dto.d.ts +0 -54
- package/dist/models/complete-braintree-payment-setup-request-dto.d.ts +0 -48
- package/dist/models/complete-payment-setup-request-dto.d.ts +0 -32
- 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-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-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/sepa-direct-dto.d.ts +0 -24
- package/dist/models/sepa-direct-dto.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/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-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-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/sepa-direct-dto.ts +0 -30
- package/models/symphony-profile-limited-response-dto.ts +0 -48
|
@@ -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,7 +23,11 @@ import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } fr
|
|
|
23
23
|
// @ts-ignore
|
|
24
24
|
import { GetBankTransactionsResponseClass } from '../models';
|
|
25
25
|
// @ts-ignore
|
|
26
|
+
import { LinkBankTransactionRequestDtoRest } from '../models';
|
|
27
|
+
// @ts-ignore
|
|
26
28
|
import { ListBankTransactionsResponseClass } from '../models';
|
|
29
|
+
// @ts-ignore
|
|
30
|
+
import { UnlinkBankTransactionRequestDtoRest } from '../models';
|
|
27
31
|
/**
|
|
28
32
|
* BankTransactionApi - axios parameter creator
|
|
29
33
|
* @export
|
|
@@ -31,7 +35,7 @@ import { ListBankTransactionsResponseClass } from '../models';
|
|
|
31
35
|
export const BankTransactionApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
32
36
|
return {
|
|
33
37
|
/**
|
|
34
|
-
* Retrieves the details of the Bank Transaction that was previously created. Supply the unique Bank Transaction code
|
|
38
|
+
* Retrieves the details of the Bank Transaction that was previously created. Supply the unique Bank Transaction code that was returned when you created it and Emil Api will return the corresponding Bank Transaction information.
|
|
35
39
|
* @summary Retrieve the Bank Transaction
|
|
36
40
|
* @param {string} code
|
|
37
41
|
* @param {string} [authorization] Bearer Token
|
|
@@ -83,12 +87,14 @@ export const BankTransactionApiAxiosParamCreator = function (configuration?: Con
|
|
|
83
87
|
/**
|
|
84
88
|
* Import bank transactions from a swift MT940 file
|
|
85
89
|
* @summary Create the bank transactions
|
|
90
|
+
* @param {any} file Swift MT940 file to import bank transactions from. Extension must be .txt or .sta.<br/> Allowed Content Types: text/plain, application/octet-stream
|
|
86
91
|
* @param {string} [authorization] Bearer Token
|
|
87
|
-
* @param {any} [file]
|
|
88
92
|
* @param {*} [options] Override http request option.
|
|
89
93
|
* @throws {RequiredError}
|
|
90
94
|
*/
|
|
91
|
-
importBankTransactions: async (
|
|
95
|
+
importBankTransactions: async (file: any, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
96
|
+
// verify required parameter 'file' is not null or undefined
|
|
97
|
+
assertParamExists('importBankTransactions', 'file', file)
|
|
92
98
|
const localVarPath = `/paymentservice/v1/tenant/bank-transactions/import`;
|
|
93
99
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
94
100
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -134,13 +140,16 @@ export const BankTransactionApiAxiosParamCreator = function (configuration?: Con
|
|
|
134
140
|
* Links a bank transaction with an invoice
|
|
135
141
|
* @summary Link Bank Transaction
|
|
136
142
|
* @param {string} code Code of the bank transaction to link
|
|
143
|
+
* @param {LinkBankTransactionRequestDtoRest} linkBankTransactionRequestDtoRest
|
|
137
144
|
* @param {string} [authorization] Bearer Token
|
|
138
145
|
* @param {*} [options] Override http request option.
|
|
139
146
|
* @throws {RequiredError}
|
|
140
147
|
*/
|
|
141
|
-
linkBankTransaction: async (code: string, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
148
|
+
linkBankTransaction: async (code: string, linkBankTransactionRequestDtoRest: LinkBankTransactionRequestDtoRest, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
142
149
|
// verify required parameter 'code' is not null or undefined
|
|
143
150
|
assertParamExists('linkBankTransaction', 'code', code)
|
|
151
|
+
// verify required parameter 'linkBankTransactionRequestDtoRest' is not null or undefined
|
|
152
|
+
assertParamExists('linkBankTransaction', 'linkBankTransactionRequestDtoRest', linkBankTransactionRequestDtoRest)
|
|
144
153
|
const localVarPath = `/paymentservice/v1/tenant/bank-transactions/{code}/link`
|
|
145
154
|
.replace(`{${"code"}}`, encodeURIComponent(String(code)));
|
|
146
155
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -166,9 +175,12 @@ export const BankTransactionApiAxiosParamCreator = function (configuration?: Con
|
|
|
166
175
|
|
|
167
176
|
|
|
168
177
|
|
|
178
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
179
|
+
|
|
169
180
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
170
181
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
171
182
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
183
|
+
localVarRequestOptions.data = serializeDataIfNeeded(linkBankTransactionRequestDtoRest, localVarRequestOptions, configuration)
|
|
172
184
|
|
|
173
185
|
return {
|
|
174
186
|
url: toPathString(localVarUrlObj),
|
|
@@ -176,20 +188,20 @@ export const BankTransactionApiAxiosParamCreator = function (configuration?: Con
|
|
|
176
188
|
};
|
|
177
189
|
},
|
|
178
190
|
/**
|
|
179
|
-
* Returns a list of bank transactions you have previously created.
|
|
191
|
+
* Returns a list of bank transactions you have previously created. The bank transactions are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
180
192
|
* @summary List bank transactions
|
|
181
193
|
* @param {string} [authorization] Bearer Token
|
|
182
194
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
183
195
|
* @param {any} [pageToken] 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.
|
|
184
|
-
* @param {any} [filter] Filter the response by one or multiple fields.
|
|
185
|
-
* @param {any} [search]
|
|
196
|
+
* @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, bankAccountId, bankAccountNumber, swiftMessageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked</i>
|
|
197
|
+
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
186
198
|
* @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.
|
|
187
|
-
* @param {
|
|
199
|
+
* @param {'bankAccount' | 'transaction'} [expand] Expand the response with additional entities
|
|
188
200
|
* @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.
|
|
189
201
|
* @param {*} [options] Override http request option.
|
|
190
202
|
* @throws {RequiredError}
|
|
191
203
|
*/
|
|
192
|
-
listBankTransactions: async (authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?:
|
|
204
|
+
listBankTransactions: async (authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: 'bankAccount' | 'transaction', filters?: any, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
193
205
|
const localVarPath = `/paymentservice/v1/tenant/bank-transactions`;
|
|
194
206
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
195
207
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -255,13 +267,16 @@ export const BankTransactionApiAxiosParamCreator = function (configuration?: Con
|
|
|
255
267
|
* Unlinks an already linked bank transaction
|
|
256
268
|
* @summary Unlink Bank Transaction
|
|
257
269
|
* @param {string} code Code of the bank transaction to unlink
|
|
270
|
+
* @param {UnlinkBankTransactionRequestDtoRest} unlinkBankTransactionRequestDtoRest
|
|
258
271
|
* @param {string} [authorization] Bearer Token
|
|
259
272
|
* @param {*} [options] Override http request option.
|
|
260
273
|
* @throws {RequiredError}
|
|
261
274
|
*/
|
|
262
|
-
unlinkBankTransaction: async (code: string, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
275
|
+
unlinkBankTransaction: async (code: string, unlinkBankTransactionRequestDtoRest: UnlinkBankTransactionRequestDtoRest, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
263
276
|
// verify required parameter 'code' is not null or undefined
|
|
264
277
|
assertParamExists('unlinkBankTransaction', 'code', code)
|
|
278
|
+
// verify required parameter 'unlinkBankTransactionRequestDtoRest' is not null or undefined
|
|
279
|
+
assertParamExists('unlinkBankTransaction', 'unlinkBankTransactionRequestDtoRest', unlinkBankTransactionRequestDtoRest)
|
|
265
280
|
const localVarPath = `/paymentservice/v1/tenant/bank-transactions/{code}/unlink`
|
|
266
281
|
.replace(`{${"code"}}`, encodeURIComponent(String(code)));
|
|
267
282
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -287,9 +302,12 @@ export const BankTransactionApiAxiosParamCreator = function (configuration?: Con
|
|
|
287
302
|
|
|
288
303
|
|
|
289
304
|
|
|
305
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
306
|
+
|
|
290
307
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
291
308
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
292
309
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
310
|
+
localVarRequestOptions.data = serializeDataIfNeeded(unlinkBankTransactionRequestDtoRest, localVarRequestOptions, configuration)
|
|
293
311
|
|
|
294
312
|
return {
|
|
295
313
|
url: toPathString(localVarUrlObj),
|
|
@@ -307,7 +325,7 @@ export const BankTransactionApiFp = function(configuration?: Configuration) {
|
|
|
307
325
|
const localVarAxiosParamCreator = BankTransactionApiAxiosParamCreator(configuration)
|
|
308
326
|
return {
|
|
309
327
|
/**
|
|
310
|
-
* Retrieves the details of the Bank Transaction that was previously created. Supply the unique Bank Transaction code
|
|
328
|
+
* Retrieves the details of the Bank Transaction that was previously created. Supply the unique Bank Transaction code that was returned when you created it and Emil Api will return the corresponding Bank Transaction information.
|
|
311
329
|
* @summary Retrieve the Bank Transaction
|
|
312
330
|
* @param {string} code
|
|
313
331
|
* @param {string} [authorization] Bearer Token
|
|
@@ -322,42 +340,43 @@ export const BankTransactionApiFp = function(configuration?: Configuration) {
|
|
|
322
340
|
/**
|
|
323
341
|
* Import bank transactions from a swift MT940 file
|
|
324
342
|
* @summary Create the bank transactions
|
|
343
|
+
* @param {any} file Swift MT940 file to import bank transactions from. Extension must be .txt or .sta.<br/> Allowed Content Types: text/plain, application/octet-stream
|
|
325
344
|
* @param {string} [authorization] Bearer Token
|
|
326
|
-
* @param {any} [file]
|
|
327
345
|
* @param {*} [options] Override http request option.
|
|
328
346
|
* @throws {RequiredError}
|
|
329
347
|
*/
|
|
330
|
-
async importBankTransactions(
|
|
331
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.importBankTransactions(
|
|
348
|
+
async importBankTransactions(file: any, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListBankTransactionsResponseClass>> {
|
|
349
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.importBankTransactions(file, authorization, options);
|
|
332
350
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
333
351
|
},
|
|
334
352
|
/**
|
|
335
353
|
* Links a bank transaction with an invoice
|
|
336
354
|
* @summary Link Bank Transaction
|
|
337
355
|
* @param {string} code Code of the bank transaction to link
|
|
356
|
+
* @param {LinkBankTransactionRequestDtoRest} linkBankTransactionRequestDtoRest
|
|
338
357
|
* @param {string} [authorization] Bearer Token
|
|
339
358
|
* @param {*} [options] Override http request option.
|
|
340
359
|
* @throws {RequiredError}
|
|
341
360
|
*/
|
|
342
|
-
async linkBankTransaction(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetBankTransactionsResponseClass>> {
|
|
343
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.linkBankTransaction(code, authorization, options);
|
|
361
|
+
async linkBankTransaction(code: string, linkBankTransactionRequestDtoRest: LinkBankTransactionRequestDtoRest, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetBankTransactionsResponseClass>> {
|
|
362
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.linkBankTransaction(code, linkBankTransactionRequestDtoRest, authorization, options);
|
|
344
363
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
345
364
|
},
|
|
346
365
|
/**
|
|
347
|
-
* Returns a list of bank transactions you have previously created.
|
|
366
|
+
* Returns a list of bank transactions you have previously created. The bank transactions are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
348
367
|
* @summary List bank transactions
|
|
349
368
|
* @param {string} [authorization] Bearer Token
|
|
350
369
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
351
370
|
* @param {any} [pageToken] 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.
|
|
352
|
-
* @param {any} [filter] Filter the response by one or multiple fields.
|
|
353
|
-
* @param {any} [search]
|
|
371
|
+
* @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, bankAccountId, bankAccountNumber, swiftMessageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked</i>
|
|
372
|
+
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
354
373
|
* @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.
|
|
355
|
-
* @param {
|
|
374
|
+
* @param {'bankAccount' | 'transaction'} [expand] Expand the response with additional entities
|
|
356
375
|
* @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.
|
|
357
376
|
* @param {*} [options] Override http request option.
|
|
358
377
|
* @throws {RequiredError}
|
|
359
378
|
*/
|
|
360
|
-
async listBankTransactions(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?:
|
|
379
|
+
async listBankTransactions(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: 'bankAccount' | 'transaction', filters?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
361
380
|
const localVarAxiosArgs = await localVarAxiosParamCreator.listBankTransactions(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
|
|
362
381
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
363
382
|
},
|
|
@@ -365,12 +384,13 @@ export const BankTransactionApiFp = function(configuration?: Configuration) {
|
|
|
365
384
|
* Unlinks an already linked bank transaction
|
|
366
385
|
* @summary Unlink Bank Transaction
|
|
367
386
|
* @param {string} code Code of the bank transaction to unlink
|
|
387
|
+
* @param {UnlinkBankTransactionRequestDtoRest} unlinkBankTransactionRequestDtoRest
|
|
368
388
|
* @param {string} [authorization] Bearer Token
|
|
369
389
|
* @param {*} [options] Override http request option.
|
|
370
390
|
* @throws {RequiredError}
|
|
371
391
|
*/
|
|
372
|
-
async unlinkBankTransaction(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetBankTransactionsResponseClass>> {
|
|
373
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.unlinkBankTransaction(code, authorization, options);
|
|
392
|
+
async unlinkBankTransaction(code: string, unlinkBankTransactionRequestDtoRest: UnlinkBankTransactionRequestDtoRest, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetBankTransactionsResponseClass>> {
|
|
393
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.unlinkBankTransaction(code, unlinkBankTransactionRequestDtoRest, authorization, options);
|
|
374
394
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
375
395
|
},
|
|
376
396
|
}
|
|
@@ -384,7 +404,7 @@ export const BankTransactionApiFactory = function (configuration?: Configuration
|
|
|
384
404
|
const localVarFp = BankTransactionApiFp(configuration)
|
|
385
405
|
return {
|
|
386
406
|
/**
|
|
387
|
-
* Retrieves the details of the Bank Transaction that was previously created. Supply the unique Bank Transaction code
|
|
407
|
+
* Retrieves the details of the Bank Transaction that was previously created. Supply the unique Bank Transaction code that was returned when you created it and Emil Api will return the corresponding Bank Transaction information.
|
|
388
408
|
* @summary Retrieve the Bank Transaction
|
|
389
409
|
* @param {string} code
|
|
390
410
|
* @param {string} [authorization] Bearer Token
|
|
@@ -398,52 +418,54 @@ export const BankTransactionApiFactory = function (configuration?: Configuration
|
|
|
398
418
|
/**
|
|
399
419
|
* Import bank transactions from a swift MT940 file
|
|
400
420
|
* @summary Create the bank transactions
|
|
421
|
+
* @param {any} file Swift MT940 file to import bank transactions from. Extension must be .txt or .sta.<br/> Allowed Content Types: text/plain, application/octet-stream
|
|
401
422
|
* @param {string} [authorization] Bearer Token
|
|
402
|
-
* @param {any} [file]
|
|
403
423
|
* @param {*} [options] Override http request option.
|
|
404
424
|
* @throws {RequiredError}
|
|
405
425
|
*/
|
|
406
|
-
importBankTransactions(
|
|
407
|
-
return localVarFp.importBankTransactions(
|
|
426
|
+
importBankTransactions(file: any, authorization?: string, options?: any): AxiosPromise<ListBankTransactionsResponseClass> {
|
|
427
|
+
return localVarFp.importBankTransactions(file, authorization, options).then((request) => request(axios, basePath));
|
|
408
428
|
},
|
|
409
429
|
/**
|
|
410
430
|
* Links a bank transaction with an invoice
|
|
411
431
|
* @summary Link Bank Transaction
|
|
412
432
|
* @param {string} code Code of the bank transaction to link
|
|
433
|
+
* @param {LinkBankTransactionRequestDtoRest} linkBankTransactionRequestDtoRest
|
|
413
434
|
* @param {string} [authorization] Bearer Token
|
|
414
435
|
* @param {*} [options] Override http request option.
|
|
415
436
|
* @throws {RequiredError}
|
|
416
437
|
*/
|
|
417
|
-
linkBankTransaction(code: string, authorization?: string, options?: any): AxiosPromise<GetBankTransactionsResponseClass> {
|
|
418
|
-
return localVarFp.linkBankTransaction(code, authorization, options).then((request) => request(axios, basePath));
|
|
438
|
+
linkBankTransaction(code: string, linkBankTransactionRequestDtoRest: LinkBankTransactionRequestDtoRest, authorization?: string, options?: any): AxiosPromise<GetBankTransactionsResponseClass> {
|
|
439
|
+
return localVarFp.linkBankTransaction(code, linkBankTransactionRequestDtoRest, authorization, options).then((request) => request(axios, basePath));
|
|
419
440
|
},
|
|
420
441
|
/**
|
|
421
|
-
* Returns a list of bank transactions you have previously created.
|
|
442
|
+
* Returns a list of bank transactions you have previously created. The bank transactions are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
422
443
|
* @summary List bank transactions
|
|
423
444
|
* @param {string} [authorization] Bearer Token
|
|
424
445
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
425
446
|
* @param {any} [pageToken] 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.
|
|
426
|
-
* @param {any} [filter] Filter the response by one or multiple fields.
|
|
427
|
-
* @param {any} [search]
|
|
447
|
+
* @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, bankAccountId, bankAccountNumber, swiftMessageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked</i>
|
|
448
|
+
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
428
449
|
* @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.
|
|
429
|
-
* @param {
|
|
450
|
+
* @param {'bankAccount' | 'transaction'} [expand] Expand the response with additional entities
|
|
430
451
|
* @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.
|
|
431
452
|
* @param {*} [options] Override http request option.
|
|
432
453
|
* @throws {RequiredError}
|
|
433
454
|
*/
|
|
434
|
-
listBankTransactions(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?:
|
|
455
|
+
listBankTransactions(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: 'bankAccount' | 'transaction', filters?: any, options?: any): AxiosPromise<void> {
|
|
435
456
|
return localVarFp.listBankTransactions(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
|
|
436
457
|
},
|
|
437
458
|
/**
|
|
438
459
|
* Unlinks an already linked bank transaction
|
|
439
460
|
* @summary Unlink Bank Transaction
|
|
440
461
|
* @param {string} code Code of the bank transaction to unlink
|
|
462
|
+
* @param {UnlinkBankTransactionRequestDtoRest} unlinkBankTransactionRequestDtoRest
|
|
441
463
|
* @param {string} [authorization] Bearer Token
|
|
442
464
|
* @param {*} [options] Override http request option.
|
|
443
465
|
* @throws {RequiredError}
|
|
444
466
|
*/
|
|
445
|
-
unlinkBankTransaction(code: string, authorization?: string, options?: any): AxiosPromise<GetBankTransactionsResponseClass> {
|
|
446
|
-
return localVarFp.unlinkBankTransaction(code, authorization, options).then((request) => request(axios, basePath));
|
|
467
|
+
unlinkBankTransaction(code: string, unlinkBankTransactionRequestDtoRest: UnlinkBankTransactionRequestDtoRest, authorization?: string, options?: any): AxiosPromise<GetBankTransactionsResponseClass> {
|
|
468
|
+
return localVarFp.unlinkBankTransaction(code, unlinkBankTransactionRequestDtoRest, authorization, options).then((request) => request(axios, basePath));
|
|
447
469
|
},
|
|
448
470
|
};
|
|
449
471
|
};
|
|
@@ -483,18 +505,18 @@ export interface BankTransactionApiGetBankTransactionRequest {
|
|
|
483
505
|
*/
|
|
484
506
|
export interface BankTransactionApiImportBankTransactionsRequest {
|
|
485
507
|
/**
|
|
486
|
-
*
|
|
487
|
-
* @type {
|
|
508
|
+
* Swift MT940 file to import bank transactions from. Extension must be .txt or .sta.<br/> Allowed Content Types: text/plain, application/octet-stream
|
|
509
|
+
* @type {any}
|
|
488
510
|
* @memberof BankTransactionApiImportBankTransactions
|
|
489
511
|
*/
|
|
490
|
-
readonly
|
|
512
|
+
readonly file: any
|
|
491
513
|
|
|
492
514
|
/**
|
|
493
|
-
*
|
|
494
|
-
* @type {
|
|
515
|
+
* Bearer Token
|
|
516
|
+
* @type {string}
|
|
495
517
|
* @memberof BankTransactionApiImportBankTransactions
|
|
496
518
|
*/
|
|
497
|
-
readonly
|
|
519
|
+
readonly authorization?: string
|
|
498
520
|
}
|
|
499
521
|
|
|
500
522
|
/**
|
|
@@ -510,6 +532,13 @@ export interface BankTransactionApiLinkBankTransactionRequest {
|
|
|
510
532
|
*/
|
|
511
533
|
readonly code: string
|
|
512
534
|
|
|
535
|
+
/**
|
|
536
|
+
*
|
|
537
|
+
* @type {LinkBankTransactionRequestDtoRest}
|
|
538
|
+
* @memberof BankTransactionApiLinkBankTransaction
|
|
539
|
+
*/
|
|
540
|
+
readonly linkBankTransactionRequestDtoRest: LinkBankTransactionRequestDtoRest
|
|
541
|
+
|
|
513
542
|
/**
|
|
514
543
|
* Bearer Token
|
|
515
544
|
* @type {string}
|
|
@@ -546,14 +575,14 @@ export interface BankTransactionApiListBankTransactionsRequest {
|
|
|
546
575
|
readonly pageToken?: any
|
|
547
576
|
|
|
548
577
|
/**
|
|
549
|
-
* Filter the response by one or multiple fields.
|
|
578
|
+
* 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, bankAccountId, bankAccountNumber, swiftMessageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked</i>
|
|
550
579
|
* @type {any}
|
|
551
580
|
* @memberof BankTransactionApiListBankTransactions
|
|
552
581
|
*/
|
|
553
582
|
readonly filter?: any
|
|
554
583
|
|
|
555
584
|
/**
|
|
556
|
-
*
|
|
585
|
+
* To search the list by any field, pass search=xxx to fetch the result.
|
|
557
586
|
* @type {any}
|
|
558
587
|
* @memberof BankTransactionApiListBankTransactions
|
|
559
588
|
*/
|
|
@@ -568,10 +597,10 @@ export interface BankTransactionApiListBankTransactionsRequest {
|
|
|
568
597
|
|
|
569
598
|
/**
|
|
570
599
|
* Expand the response with additional entities
|
|
571
|
-
* @type {
|
|
600
|
+
* @type {'bankAccount' | 'transaction'}
|
|
572
601
|
* @memberof BankTransactionApiListBankTransactions
|
|
573
602
|
*/
|
|
574
|
-
readonly expand?:
|
|
603
|
+
readonly expand?: 'bankAccount' | 'transaction'
|
|
575
604
|
|
|
576
605
|
/**
|
|
577
606
|
* 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.
|
|
@@ -594,6 +623,13 @@ export interface BankTransactionApiUnlinkBankTransactionRequest {
|
|
|
594
623
|
*/
|
|
595
624
|
readonly code: string
|
|
596
625
|
|
|
626
|
+
/**
|
|
627
|
+
*
|
|
628
|
+
* @type {UnlinkBankTransactionRequestDtoRest}
|
|
629
|
+
* @memberof BankTransactionApiUnlinkBankTransaction
|
|
630
|
+
*/
|
|
631
|
+
readonly unlinkBankTransactionRequestDtoRest: UnlinkBankTransactionRequestDtoRest
|
|
632
|
+
|
|
597
633
|
/**
|
|
598
634
|
* Bearer Token
|
|
599
635
|
* @type {string}
|
|
@@ -610,7 +646,7 @@ export interface BankTransactionApiUnlinkBankTransactionRequest {
|
|
|
610
646
|
*/
|
|
611
647
|
export class BankTransactionApi extends BaseAPI {
|
|
612
648
|
/**
|
|
613
|
-
* Retrieves the details of the Bank Transaction that was previously created. Supply the unique Bank Transaction code
|
|
649
|
+
* Retrieves the details of the Bank Transaction that was previously created. Supply the unique Bank Transaction code that was returned when you created it and Emil Api will return the corresponding Bank Transaction information.
|
|
614
650
|
* @summary Retrieve the Bank Transaction
|
|
615
651
|
* @param {BankTransactionApiGetBankTransactionRequest} requestParameters Request parameters.
|
|
616
652
|
* @param {*} [options] Override http request option.
|
|
@@ -629,8 +665,8 @@ export class BankTransactionApi extends BaseAPI {
|
|
|
629
665
|
* @throws {RequiredError}
|
|
630
666
|
* @memberof BankTransactionApi
|
|
631
667
|
*/
|
|
632
|
-
public importBankTransactions(requestParameters: BankTransactionApiImportBankTransactionsRequest
|
|
633
|
-
return BankTransactionApiFp(this.configuration).importBankTransactions(requestParameters.
|
|
668
|
+
public importBankTransactions(requestParameters: BankTransactionApiImportBankTransactionsRequest, options?: AxiosRequestConfig) {
|
|
669
|
+
return BankTransactionApiFp(this.configuration).importBankTransactions(requestParameters.file, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
634
670
|
}
|
|
635
671
|
|
|
636
672
|
/**
|
|
@@ -642,11 +678,11 @@ export class BankTransactionApi extends BaseAPI {
|
|
|
642
678
|
* @memberof BankTransactionApi
|
|
643
679
|
*/
|
|
644
680
|
public linkBankTransaction(requestParameters: BankTransactionApiLinkBankTransactionRequest, options?: AxiosRequestConfig) {
|
|
645
|
-
return BankTransactionApiFp(this.configuration).linkBankTransaction(requestParameters.code, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
681
|
+
return BankTransactionApiFp(this.configuration).linkBankTransaction(requestParameters.code, requestParameters.linkBankTransactionRequestDtoRest, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
646
682
|
}
|
|
647
683
|
|
|
648
684
|
/**
|
|
649
|
-
* Returns a list of bank transactions you have previously created.
|
|
685
|
+
* Returns a list of bank transactions you have previously created. The bank transactions are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
650
686
|
* @summary List bank transactions
|
|
651
687
|
* @param {BankTransactionApiListBankTransactionsRequest} requestParameters Request parameters.
|
|
652
688
|
* @param {*} [options] Override http request option.
|
|
@@ -666,6 +702,6 @@ export class BankTransactionApi extends BaseAPI {
|
|
|
666
702
|
* @memberof BankTransactionApi
|
|
667
703
|
*/
|
|
668
704
|
public unlinkBankTransaction(requestParameters: BankTransactionApiUnlinkBankTransactionRequest, options?: AxiosRequestConfig) {
|
|
669
|
-
return BankTransactionApiFp(this.configuration).unlinkBankTransaction(requestParameters.code, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
705
|
+
return BankTransactionApiFp(this.configuration).unlinkBankTransaction(requestParameters.code, requestParameters.unlinkBankTransactionRequestDtoRest, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
670
706
|
}
|
|
671
707
|
}
|
package/api/default-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
|