@emilgroup/payment-sdk 1.4.1-beta.1 → 1.4.1-beta.10
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 +2 -0
- package/README.md +2 -2
- package/api/bank-accounts-api.ts +1 -1
- package/api/bank-transaction-api.ts +60 -26
- package/api/default-api.ts +1 -1
- package/api/payment-methods-api.ts +1 -1
- package/api/payment-reminders-api.ts +1 -1
- package/api/payment-setup-api.ts +1 -1
- package/api/payments-api.ts +1 -1
- package/api/refunds-api.ts +1 -1
- package/api/tenant-bank-account-api.ts +49 -29
- package/api/webhooks-api.ts +1 -1
- package/api.ts +1 -1
- package/base.ts +1 -1
- package/common.ts +2 -2
- package/configuration.ts +1 -1
- package/dist/api/bank-accounts-api.d.ts +1 -1
- package/dist/api/bank-accounts-api.js +1 -1
- package/dist/api/bank-transaction-api.d.ts +39 -19
- package/dist/api/bank-transaction-api.js +33 -20
- 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 +1 -1
- package/dist/api/payment-methods-api.js +1 -1
- package/dist/api/payment-reminders-api.d.ts +1 -1
- package/dist/api/payment-reminders-api.js +1 -1
- package/dist/api/payment-setup-api.d.ts +1 -1
- package/dist/api/payment-setup-api.js +1 -1
- package/dist/api/payments-api.d.ts +1 -1
- package/dist/api/payments-api.js +1 -1
- package/dist/api/refunds-api.d.ts +1 -1
- package/dist/api/refunds-api.js +1 -1
- package/dist/api/tenant-bank-account-api.d.ts +49 -29
- package/dist/api/tenant-bank-account-api.js +44 -24
- package/dist/api/webhooks-api.d.ts +1 -1
- package/dist/api/webhooks-api.js +1 -1
- package/dist/api.d.ts +1 -1
- package/dist/api.js +1 -1
- package/dist/base.d.ts +1 -1
- package/dist/base.js +1 -1
- package/dist/common.d.ts +2 -2
- package/dist/common.js +1 -1
- package/dist/configuration.d.ts +1 -1
- package/dist/configuration.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/models/bank-transaction-response-class.d.ts +7 -1
- package/dist/models/bank-transaction-response-class.js +1 -1
- package/dist/models/create-payment-reminder-request-dto.d.ts +1 -1
- package/dist/models/create-payment-reminder-request-dto.js +1 -1
- package/dist/models/create-payment-request-dto.d.ts +1 -1
- 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/deactivate-payment-reminder-request-dto.d.ts +1 -1
- package/dist/models/deactivate-payment-reminder-request-dto.js +1 -1
- package/dist/models/get-bank-transactions-response-class.d.ts +1 -1
- package/dist/models/get-bank-transactions-response-class.js +1 -1
- package/dist/models/get-refund-response-class.d.ts +1 -1
- package/dist/models/get-refund-response-class.js +1 -1
- package/dist/models/get-request-dto.d.ts +1 -1
- 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 +2 -0
- package/dist/models/index.js +2 -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 +24 -0
- package/dist/models/link-bank-transaction-request-dto-rest.js +15 -0
- 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/refund-class.d.ts +1 -1
- package/dist/models/refund-class.js +1 -1
- package/dist/models/tenant-bank-account-response-class.d.ts +1 -1
- package/dist/models/tenant-bank-account-response-class.js +1 -1
- package/dist/models/transaction-class.d.ts +1 -1
- package/dist/models/transaction-class.js +1 -1
- package/dist/models/unlink-bank-transaction-request-dto-rest.d.ts +24 -0
- package/dist/models/unlink-bank-transaction-request-dto-rest.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 +1 -1
- package/dist/models/validate-pspconfig-request-dto.js +1 -1
- package/index.ts +1 -1
- package/models/bank-transaction-response-class.ts +7 -1
- package/models/create-payment-reminder-request-dto.ts +1 -1
- package/models/create-payment-request-dto.ts +1 -1
- 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/deactivate-payment-reminder-request-dto.ts +1 -1
- package/models/get-bank-transactions-response-class.ts +1 -1
- package/models/get-refund-response-class.ts +1 -1
- package/models/get-request-dto.ts +1 -1
- package/models/get-tenant-bank-account-response-class.ts +1 -1
- package/models/index.ts +2 -0
- 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/refund-class.ts +1 -1
- package/models/tenant-bank-account-response-class.ts +1 -1
- package/models/transaction-class.ts +1 -1
- package/models/unlink-bank-transaction-request-dto-rest.ts +30 -0
- package/models/update-tenant-bank-account-rest-request-dto.ts +1 -1
- package/models/validate-pspconfig-request-dto.ts +1 -1
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
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
|
-
* Contact:
|
|
8
|
+
* Contact: kontakt@emil.de
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
11
|
* https://openapi-generator.tech
|
package/base.ts
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
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
|
-
* Contact:
|
|
8
|
+
* Contact: kontakt@emil.de
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
11
|
* https://openapi-generator.tech
|
package/common.ts
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
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
|
-
* Contact:
|
|
8
|
+
* Contact: kontakt@emil.de
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
11
|
* https://openapi-generator.tech
|
|
@@ -143,7 +143,7 @@ export const createRequestFunction = function (axiosArgs: RequestArgs, globalAxi
|
|
|
143
143
|
* This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
|
|
144
144
|
*
|
|
145
145
|
* The version of the OpenAPI document: 1.0
|
|
146
|
-
* Contact:
|
|
146
|
+
* Contact: kontakt@emil.de
|
|
147
147
|
*
|
|
148
148
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
149
149
|
* https://openapi-generator.tech
|
package/configuration.ts
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
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
|
-
* Contact:
|
|
8
|
+
* Contact: kontakt@emil.de
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
11
|
* https://openapi-generator.tech
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
|
|
4
4
|
*
|
|
5
5
|
* The version of the OpenAPI document: 1.0
|
|
6
|
-
* Contact:
|
|
6
|
+
* Contact: kontakt@emil.de
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
9
|
* https://openapi-generator.tech
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
|
|
7
7
|
*
|
|
8
8
|
* The version of the OpenAPI document: 1.0
|
|
9
|
-
* Contact:
|
|
9
|
+
* Contact: kontakt@emil.de
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
12
|
* https://openapi-generator.tech
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
|
|
4
4
|
*
|
|
5
5
|
* The version of the OpenAPI document: 1.0
|
|
6
|
-
* Contact:
|
|
6
|
+
* Contact: kontakt@emil.de
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
9
|
* https://openapi-generator.tech
|
|
@@ -13,7 +13,9 @@ import { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
|
|
|
13
13
|
import { Configuration } from '../configuration';
|
|
14
14
|
import { RequestArgs, BaseAPI } from '../base';
|
|
15
15
|
import { GetBankTransactionsResponseClass } from '../models';
|
|
16
|
+
import { LinkBankTransactionRequestDtoRest } from '../models';
|
|
16
17
|
import { ListBankTransactionsResponseClass } from '../models';
|
|
18
|
+
import { UnlinkBankTransactionRequestDtoRest } from '../models';
|
|
17
19
|
/**
|
|
18
20
|
* BankTransactionApi - axios parameter creator
|
|
19
21
|
* @export
|
|
@@ -42,35 +44,37 @@ export declare const BankTransactionApiAxiosParamCreator: (configuration?: Confi
|
|
|
42
44
|
* Links a bank transaction with an invoice
|
|
43
45
|
* @summary Link Bank Transaction
|
|
44
46
|
* @param {string} code Code of the bank transaction to link
|
|
47
|
+
* @param {LinkBankTransactionRequestDtoRest} linkBankTransactionRequestDtoRest
|
|
45
48
|
* @param {string} [authorization] Bearer Token
|
|
46
49
|
* @param {*} [options] Override http request option.
|
|
47
50
|
* @throws {RequiredError}
|
|
48
51
|
*/
|
|
49
|
-
linkBankTransaction: (code: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
52
|
+
linkBankTransaction: (code: string, linkBankTransactionRequestDtoRest: LinkBankTransactionRequestDtoRest, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
50
53
|
/**
|
|
51
54
|
* 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.
|
|
52
55
|
* @summary List bank transactions
|
|
53
56
|
* @param {string} [authorization] Bearer Token
|
|
54
57
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
55
58
|
* @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.
|
|
56
|
-
* @param {any} [filter] Filter the response by one or multiple fields.
|
|
59
|
+
* @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>
|
|
57
60
|
* @param {any} [search] Search the list by any field. For instance, if you want to search by code add code=xxx in order to fetch the result.
|
|
58
61
|
* @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.
|
|
59
|
-
* @param {
|
|
62
|
+
* @param {'bankAccount' | 'transaction'} [expand] Expand the response with additional entities
|
|
60
63
|
* @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.
|
|
61
64
|
* @param {*} [options] Override http request option.
|
|
62
65
|
* @throws {RequiredError}
|
|
63
66
|
*/
|
|
64
|
-
listBankTransactions: (authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?:
|
|
67
|
+
listBankTransactions: (authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: 'bankAccount' | 'transaction', filters?: any, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
65
68
|
/**
|
|
66
69
|
* Unlinks an already linked bank transaction
|
|
67
70
|
* @summary Unlink Bank Transaction
|
|
68
71
|
* @param {string} code Code of the bank transaction to unlink
|
|
72
|
+
* @param {UnlinkBankTransactionRequestDtoRest} unlinkBankTransactionRequestDtoRest
|
|
69
73
|
* @param {string} [authorization] Bearer Token
|
|
70
74
|
* @param {*} [options] Override http request option.
|
|
71
75
|
* @throws {RequiredError}
|
|
72
76
|
*/
|
|
73
|
-
unlinkBankTransaction: (code: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
77
|
+
unlinkBankTransaction: (code: string, unlinkBankTransactionRequestDtoRest: UnlinkBankTransactionRequestDtoRest, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
74
78
|
};
|
|
75
79
|
/**
|
|
76
80
|
* BankTransactionApi - functional programming interface
|
|
@@ -100,35 +104,37 @@ export declare const BankTransactionApiFp: (configuration?: Configuration) => {
|
|
|
100
104
|
* Links a bank transaction with an invoice
|
|
101
105
|
* @summary Link Bank Transaction
|
|
102
106
|
* @param {string} code Code of the bank transaction to link
|
|
107
|
+
* @param {LinkBankTransactionRequestDtoRest} linkBankTransactionRequestDtoRest
|
|
103
108
|
* @param {string} [authorization] Bearer Token
|
|
104
109
|
* @param {*} [options] Override http request option.
|
|
105
110
|
* @throws {RequiredError}
|
|
106
111
|
*/
|
|
107
|
-
linkBankTransaction(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetBankTransactionsResponseClass>>;
|
|
112
|
+
linkBankTransaction(code: string, linkBankTransactionRequestDtoRest: LinkBankTransactionRequestDtoRest, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetBankTransactionsResponseClass>>;
|
|
108
113
|
/**
|
|
109
114
|
* 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.
|
|
110
115
|
* @summary List bank transactions
|
|
111
116
|
* @param {string} [authorization] Bearer Token
|
|
112
117
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
113
118
|
* @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.
|
|
114
|
-
* @param {any} [filter] Filter the response by one or multiple fields.
|
|
119
|
+
* @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>
|
|
115
120
|
* @param {any} [search] Search the list by any field. For instance, if you want to search by code add code=xxx in order to fetch the result.
|
|
116
121
|
* @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.
|
|
117
|
-
* @param {
|
|
122
|
+
* @param {'bankAccount' | 'transaction'} [expand] Expand the response with additional entities
|
|
118
123
|
* @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.
|
|
119
124
|
* @param {*} [options] Override http request option.
|
|
120
125
|
* @throws {RequiredError}
|
|
121
126
|
*/
|
|
122
|
-
listBankTransactions(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?:
|
|
127
|
+
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>>;
|
|
123
128
|
/**
|
|
124
129
|
* Unlinks an already linked bank transaction
|
|
125
130
|
* @summary Unlink Bank Transaction
|
|
126
131
|
* @param {string} code Code of the bank transaction to unlink
|
|
132
|
+
* @param {UnlinkBankTransactionRequestDtoRest} unlinkBankTransactionRequestDtoRest
|
|
127
133
|
* @param {string} [authorization] Bearer Token
|
|
128
134
|
* @param {*} [options] Override http request option.
|
|
129
135
|
* @throws {RequiredError}
|
|
130
136
|
*/
|
|
131
|
-
unlinkBankTransaction(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetBankTransactionsResponseClass>>;
|
|
137
|
+
unlinkBankTransaction(code: string, unlinkBankTransactionRequestDtoRest: UnlinkBankTransactionRequestDtoRest, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetBankTransactionsResponseClass>>;
|
|
132
138
|
};
|
|
133
139
|
/**
|
|
134
140
|
* BankTransactionApi - factory interface
|
|
@@ -158,35 +164,37 @@ export declare const BankTransactionApiFactory: (configuration?: Configuration,
|
|
|
158
164
|
* Links a bank transaction with an invoice
|
|
159
165
|
* @summary Link Bank Transaction
|
|
160
166
|
* @param {string} code Code of the bank transaction to link
|
|
167
|
+
* @param {LinkBankTransactionRequestDtoRest} linkBankTransactionRequestDtoRest
|
|
161
168
|
* @param {string} [authorization] Bearer Token
|
|
162
169
|
* @param {*} [options] Override http request option.
|
|
163
170
|
* @throws {RequiredError}
|
|
164
171
|
*/
|
|
165
|
-
linkBankTransaction(code: string, authorization?: string, options?: any): AxiosPromise<GetBankTransactionsResponseClass>;
|
|
172
|
+
linkBankTransaction(code: string, linkBankTransactionRequestDtoRest: LinkBankTransactionRequestDtoRest, authorization?: string, options?: any): AxiosPromise<GetBankTransactionsResponseClass>;
|
|
166
173
|
/**
|
|
167
174
|
* 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.
|
|
168
175
|
* @summary List bank transactions
|
|
169
176
|
* @param {string} [authorization] Bearer Token
|
|
170
177
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
171
178
|
* @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.
|
|
172
|
-
* @param {any} [filter] Filter the response by one or multiple fields.
|
|
179
|
+
* @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>
|
|
173
180
|
* @param {any} [search] Search the list by any field. For instance, if you want to search by code add code=xxx in order to fetch the result.
|
|
174
181
|
* @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.
|
|
175
|
-
* @param {
|
|
182
|
+
* @param {'bankAccount' | 'transaction'} [expand] Expand the response with additional entities
|
|
176
183
|
* @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.
|
|
177
184
|
* @param {*} [options] Override http request option.
|
|
178
185
|
* @throws {RequiredError}
|
|
179
186
|
*/
|
|
180
|
-
listBankTransactions(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?:
|
|
187
|
+
listBankTransactions(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: 'bankAccount' | 'transaction', filters?: any, options?: any): AxiosPromise<void>;
|
|
181
188
|
/**
|
|
182
189
|
* Unlinks an already linked bank transaction
|
|
183
190
|
* @summary Unlink Bank Transaction
|
|
184
191
|
* @param {string} code Code of the bank transaction to unlink
|
|
192
|
+
* @param {UnlinkBankTransactionRequestDtoRest} unlinkBankTransactionRequestDtoRest
|
|
185
193
|
* @param {string} [authorization] Bearer Token
|
|
186
194
|
* @param {*} [options] Override http request option.
|
|
187
195
|
* @throws {RequiredError}
|
|
188
196
|
*/
|
|
189
|
-
unlinkBankTransaction(code: string, authorization?: string, options?: any): AxiosPromise<GetBankTransactionsResponseClass>;
|
|
197
|
+
unlinkBankTransaction(code: string, unlinkBankTransactionRequestDtoRest: UnlinkBankTransactionRequestDtoRest, authorization?: string, options?: any): AxiosPromise<GetBankTransactionsResponseClass>;
|
|
190
198
|
};
|
|
191
199
|
/**
|
|
192
200
|
* Request parameters for getBankTransaction operation in BankTransactionApi.
|
|
@@ -244,6 +252,12 @@ export interface BankTransactionApiLinkBankTransactionRequest {
|
|
|
244
252
|
* @memberof BankTransactionApiLinkBankTransaction
|
|
245
253
|
*/
|
|
246
254
|
readonly code: string;
|
|
255
|
+
/**
|
|
256
|
+
*
|
|
257
|
+
* @type {LinkBankTransactionRequestDtoRest}
|
|
258
|
+
* @memberof BankTransactionApiLinkBankTransaction
|
|
259
|
+
*/
|
|
260
|
+
readonly linkBankTransactionRequestDtoRest: LinkBankTransactionRequestDtoRest;
|
|
247
261
|
/**
|
|
248
262
|
* Bearer Token
|
|
249
263
|
* @type {string}
|
|
@@ -276,7 +290,7 @@ export interface BankTransactionApiListBankTransactionsRequest {
|
|
|
276
290
|
*/
|
|
277
291
|
readonly pageToken?: any;
|
|
278
292
|
/**
|
|
279
|
-
* Filter the response by one or multiple fields.
|
|
293
|
+
* 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>
|
|
280
294
|
* @type {any}
|
|
281
295
|
* @memberof BankTransactionApiListBankTransactions
|
|
282
296
|
*/
|
|
@@ -295,10 +309,10 @@ export interface BankTransactionApiListBankTransactionsRequest {
|
|
|
295
309
|
readonly order?: any;
|
|
296
310
|
/**
|
|
297
311
|
* Expand the response with additional entities
|
|
298
|
-
* @type {
|
|
312
|
+
* @type {'bankAccount' | 'transaction'}
|
|
299
313
|
* @memberof BankTransactionApiListBankTransactions
|
|
300
314
|
*/
|
|
301
|
-
readonly expand?:
|
|
315
|
+
readonly expand?: 'bankAccount' | 'transaction';
|
|
302
316
|
/**
|
|
303
317
|
* 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.
|
|
304
318
|
* @type {any}
|
|
@@ -318,6 +332,12 @@ export interface BankTransactionApiUnlinkBankTransactionRequest {
|
|
|
318
332
|
* @memberof BankTransactionApiUnlinkBankTransaction
|
|
319
333
|
*/
|
|
320
334
|
readonly code: string;
|
|
335
|
+
/**
|
|
336
|
+
*
|
|
337
|
+
* @type {UnlinkBankTransactionRequestDtoRest}
|
|
338
|
+
* @memberof BankTransactionApiUnlinkBankTransaction
|
|
339
|
+
*/
|
|
340
|
+
readonly unlinkBankTransactionRequestDtoRest: UnlinkBankTransactionRequestDtoRest;
|
|
321
341
|
/**
|
|
322
342
|
* Bearer Token
|
|
323
343
|
* @type {string}
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
|
|
7
7
|
*
|
|
8
8
|
* The version of the OpenAPI document: 1.0
|
|
9
|
-
* Contact:
|
|
9
|
+
* Contact: kontakt@emil.de
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
12
|
* https://openapi-generator.tech
|
|
@@ -182,7 +182,6 @@ var BankTransactionApiAxiosParamCreator = function (configuration) {
|
|
|
182
182
|
if (file !== undefined) {
|
|
183
183
|
localVarFormParams.append('file', file);
|
|
184
184
|
}
|
|
185
|
-
localVarHeaderParameter['Content-Type'] = 'multipart/form-data; boundary=' + localVarFormParams.getBoundary();
|
|
186
185
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
187
186
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
188
187
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -199,11 +198,12 @@ var BankTransactionApiAxiosParamCreator = function (configuration) {
|
|
|
199
198
|
* Links a bank transaction with an invoice
|
|
200
199
|
* @summary Link Bank Transaction
|
|
201
200
|
* @param {string} code Code of the bank transaction to link
|
|
201
|
+
* @param {LinkBankTransactionRequestDtoRest} linkBankTransactionRequestDtoRest
|
|
202
202
|
* @param {string} [authorization] Bearer Token
|
|
203
203
|
* @param {*} [options] Override http request option.
|
|
204
204
|
* @throws {RequiredError}
|
|
205
205
|
*/
|
|
206
|
-
linkBankTransaction: function (code, authorization, options) {
|
|
206
|
+
linkBankTransaction: function (code, linkBankTransactionRequestDtoRest, authorization, options) {
|
|
207
207
|
if (options === void 0) { options = {}; }
|
|
208
208
|
return __awaiter(_this, void 0, void 0, function () {
|
|
209
209
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -212,6 +212,8 @@ var BankTransactionApiAxiosParamCreator = function (configuration) {
|
|
|
212
212
|
case 0:
|
|
213
213
|
// verify required parameter 'code' is not null or undefined
|
|
214
214
|
(0, common_1.assertParamExists)('linkBankTransaction', 'code', code);
|
|
215
|
+
// verify required parameter 'linkBankTransactionRequestDtoRest' is not null or undefined
|
|
216
|
+
(0, common_1.assertParamExists)('linkBankTransaction', 'linkBankTransactionRequestDtoRest', linkBankTransactionRequestDtoRest);
|
|
215
217
|
localVarPath = "/paymentservice/v1/tenant/bank-transactions/{code}/link"
|
|
216
218
|
.replace("{".concat("code", "}"), encodeURIComponent(String(code)));
|
|
217
219
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -232,9 +234,11 @@ var BankTransactionApiAxiosParamCreator = function (configuration) {
|
|
|
232
234
|
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
233
235
|
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
234
236
|
}
|
|
237
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
235
238
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
236
239
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
237
240
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
241
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(linkBankTransactionRequestDtoRest, localVarRequestOptions, configuration);
|
|
238
242
|
return [2 /*return*/, {
|
|
239
243
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
240
244
|
options: localVarRequestOptions,
|
|
@@ -249,10 +253,10 @@ var BankTransactionApiAxiosParamCreator = function (configuration) {
|
|
|
249
253
|
* @param {string} [authorization] Bearer Token
|
|
250
254
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
251
255
|
* @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.
|
|
252
|
-
* @param {any} [filter] Filter the response by one or multiple fields.
|
|
256
|
+
* @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>
|
|
253
257
|
* @param {any} [search] Search the list by any field. For instance, if you want to search by code add code=xxx in order to fetch the result.
|
|
254
258
|
* @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.
|
|
255
|
-
* @param {
|
|
259
|
+
* @param {'bankAccount' | 'transaction'} [expand] Expand the response with additional entities
|
|
256
260
|
* @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.
|
|
257
261
|
* @param {*} [options] Override http request option.
|
|
258
262
|
* @throws {RequiredError}
|
|
@@ -319,11 +323,12 @@ var BankTransactionApiAxiosParamCreator = function (configuration) {
|
|
|
319
323
|
* Unlinks an already linked bank transaction
|
|
320
324
|
* @summary Unlink Bank Transaction
|
|
321
325
|
* @param {string} code Code of the bank transaction to unlink
|
|
326
|
+
* @param {UnlinkBankTransactionRequestDtoRest} unlinkBankTransactionRequestDtoRest
|
|
322
327
|
* @param {string} [authorization] Bearer Token
|
|
323
328
|
* @param {*} [options] Override http request option.
|
|
324
329
|
* @throws {RequiredError}
|
|
325
330
|
*/
|
|
326
|
-
unlinkBankTransaction: function (code, authorization, options) {
|
|
331
|
+
unlinkBankTransaction: function (code, unlinkBankTransactionRequestDtoRest, authorization, options) {
|
|
327
332
|
if (options === void 0) { options = {}; }
|
|
328
333
|
return __awaiter(_this, void 0, void 0, function () {
|
|
329
334
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -332,6 +337,8 @@ var BankTransactionApiAxiosParamCreator = function (configuration) {
|
|
|
332
337
|
case 0:
|
|
333
338
|
// verify required parameter 'code' is not null or undefined
|
|
334
339
|
(0, common_1.assertParamExists)('unlinkBankTransaction', 'code', code);
|
|
340
|
+
// verify required parameter 'unlinkBankTransactionRequestDtoRest' is not null or undefined
|
|
341
|
+
(0, common_1.assertParamExists)('unlinkBankTransaction', 'unlinkBankTransactionRequestDtoRest', unlinkBankTransactionRequestDtoRest);
|
|
335
342
|
localVarPath = "/paymentservice/v1/tenant/bank-transactions/{code}/unlink"
|
|
336
343
|
.replace("{".concat("code", "}"), encodeURIComponent(String(code)));
|
|
337
344
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -352,9 +359,11 @@ var BankTransactionApiAxiosParamCreator = function (configuration) {
|
|
|
352
359
|
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
353
360
|
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
354
361
|
}
|
|
362
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
355
363
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
356
364
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
357
365
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
366
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(unlinkBankTransactionRequestDtoRest, localVarRequestOptions, configuration);
|
|
358
367
|
return [2 /*return*/, {
|
|
359
368
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
360
369
|
options: localVarRequestOptions,
|
|
@@ -420,16 +429,17 @@ var BankTransactionApiFp = function (configuration) {
|
|
|
420
429
|
* Links a bank transaction with an invoice
|
|
421
430
|
* @summary Link Bank Transaction
|
|
422
431
|
* @param {string} code Code of the bank transaction to link
|
|
432
|
+
* @param {LinkBankTransactionRequestDtoRest} linkBankTransactionRequestDtoRest
|
|
423
433
|
* @param {string} [authorization] Bearer Token
|
|
424
434
|
* @param {*} [options] Override http request option.
|
|
425
435
|
* @throws {RequiredError}
|
|
426
436
|
*/
|
|
427
|
-
linkBankTransaction: function (code, authorization, options) {
|
|
437
|
+
linkBankTransaction: function (code, linkBankTransactionRequestDtoRest, authorization, options) {
|
|
428
438
|
return __awaiter(this, void 0, void 0, function () {
|
|
429
439
|
var localVarAxiosArgs;
|
|
430
440
|
return __generator(this, function (_a) {
|
|
431
441
|
switch (_a.label) {
|
|
432
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.linkBankTransaction(code, authorization, options)];
|
|
442
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.linkBankTransaction(code, linkBankTransactionRequestDtoRest, authorization, options)];
|
|
433
443
|
case 1:
|
|
434
444
|
localVarAxiosArgs = _a.sent();
|
|
435
445
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -443,10 +453,10 @@ var BankTransactionApiFp = function (configuration) {
|
|
|
443
453
|
* @param {string} [authorization] Bearer Token
|
|
444
454
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
445
455
|
* @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.
|
|
446
|
-
* @param {any} [filter] Filter the response by one or multiple fields.
|
|
456
|
+
* @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>
|
|
447
457
|
* @param {any} [search] Search the list by any field. For instance, if you want to search by code add code=xxx in order to fetch the result.
|
|
448
458
|
* @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.
|
|
449
|
-
* @param {
|
|
459
|
+
* @param {'bankAccount' | 'transaction'} [expand] Expand the response with additional entities
|
|
450
460
|
* @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.
|
|
451
461
|
* @param {*} [options] Override http request option.
|
|
452
462
|
* @throws {RequiredError}
|
|
@@ -468,16 +478,17 @@ var BankTransactionApiFp = function (configuration) {
|
|
|
468
478
|
* Unlinks an already linked bank transaction
|
|
469
479
|
* @summary Unlink Bank Transaction
|
|
470
480
|
* @param {string} code Code of the bank transaction to unlink
|
|
481
|
+
* @param {UnlinkBankTransactionRequestDtoRest} unlinkBankTransactionRequestDtoRest
|
|
471
482
|
* @param {string} [authorization] Bearer Token
|
|
472
483
|
* @param {*} [options] Override http request option.
|
|
473
484
|
* @throws {RequiredError}
|
|
474
485
|
*/
|
|
475
|
-
unlinkBankTransaction: function (code, authorization, options) {
|
|
486
|
+
unlinkBankTransaction: function (code, unlinkBankTransactionRequestDtoRest, authorization, options) {
|
|
476
487
|
return __awaiter(this, void 0, void 0, function () {
|
|
477
488
|
var localVarAxiosArgs;
|
|
478
489
|
return __generator(this, function (_a) {
|
|
479
490
|
switch (_a.label) {
|
|
480
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.unlinkBankTransaction(code, authorization, options)];
|
|
491
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.unlinkBankTransaction(code, unlinkBankTransactionRequestDtoRest, authorization, options)];
|
|
481
492
|
case 1:
|
|
482
493
|
localVarAxiosArgs = _a.sent();
|
|
483
494
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -522,12 +533,13 @@ var BankTransactionApiFactory = function (configuration, basePath, axios) {
|
|
|
522
533
|
* Links a bank transaction with an invoice
|
|
523
534
|
* @summary Link Bank Transaction
|
|
524
535
|
* @param {string} code Code of the bank transaction to link
|
|
536
|
+
* @param {LinkBankTransactionRequestDtoRest} linkBankTransactionRequestDtoRest
|
|
525
537
|
* @param {string} [authorization] Bearer Token
|
|
526
538
|
* @param {*} [options] Override http request option.
|
|
527
539
|
* @throws {RequiredError}
|
|
528
540
|
*/
|
|
529
|
-
linkBankTransaction: function (code, authorization, options) {
|
|
530
|
-
return localVarFp.linkBankTransaction(code, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
541
|
+
linkBankTransaction: function (code, linkBankTransactionRequestDtoRest, authorization, options) {
|
|
542
|
+
return localVarFp.linkBankTransaction(code, linkBankTransactionRequestDtoRest, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
531
543
|
},
|
|
532
544
|
/**
|
|
533
545
|
* 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.
|
|
@@ -535,10 +547,10 @@ var BankTransactionApiFactory = function (configuration, basePath, axios) {
|
|
|
535
547
|
* @param {string} [authorization] Bearer Token
|
|
536
548
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
537
549
|
* @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.
|
|
538
|
-
* @param {any} [filter] Filter the response by one or multiple fields.
|
|
550
|
+
* @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>
|
|
539
551
|
* @param {any} [search] Search the list by any field. For instance, if you want to search by code add code=xxx in order to fetch the result.
|
|
540
552
|
* @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.
|
|
541
|
-
* @param {
|
|
553
|
+
* @param {'bankAccount' | 'transaction'} [expand] Expand the response with additional entities
|
|
542
554
|
* @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.
|
|
543
555
|
* @param {*} [options] Override http request option.
|
|
544
556
|
* @throws {RequiredError}
|
|
@@ -550,12 +562,13 @@ var BankTransactionApiFactory = function (configuration, basePath, axios) {
|
|
|
550
562
|
* Unlinks an already linked bank transaction
|
|
551
563
|
* @summary Unlink Bank Transaction
|
|
552
564
|
* @param {string} code Code of the bank transaction to unlink
|
|
565
|
+
* @param {UnlinkBankTransactionRequestDtoRest} unlinkBankTransactionRequestDtoRest
|
|
553
566
|
* @param {string} [authorization] Bearer Token
|
|
554
567
|
* @param {*} [options] Override http request option.
|
|
555
568
|
* @throws {RequiredError}
|
|
556
569
|
*/
|
|
557
|
-
unlinkBankTransaction: function (code, authorization, options) {
|
|
558
|
-
return localVarFp.unlinkBankTransaction(code, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
570
|
+
unlinkBankTransaction: function (code, unlinkBankTransactionRequestDtoRest, authorization, options) {
|
|
571
|
+
return localVarFp.unlinkBankTransaction(code, unlinkBankTransactionRequestDtoRest, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
559
572
|
},
|
|
560
573
|
};
|
|
561
574
|
};
|
|
@@ -606,7 +619,7 @@ var BankTransactionApi = /** @class */ (function (_super) {
|
|
|
606
619
|
*/
|
|
607
620
|
BankTransactionApi.prototype.linkBankTransaction = function (requestParameters, options) {
|
|
608
621
|
var _this = this;
|
|
609
|
-
return (0, exports.BankTransactionApiFp)(this.configuration).linkBankTransaction(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
622
|
+
return (0, exports.BankTransactionApiFp)(this.configuration).linkBankTransaction(requestParameters.code, requestParameters.linkBankTransactionRequestDtoRest, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
610
623
|
};
|
|
611
624
|
/**
|
|
612
625
|
* 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.
|
|
@@ -631,7 +644,7 @@ var BankTransactionApi = /** @class */ (function (_super) {
|
|
|
631
644
|
*/
|
|
632
645
|
BankTransactionApi.prototype.unlinkBankTransaction = function (requestParameters, options) {
|
|
633
646
|
var _this = this;
|
|
634
|
-
return (0, exports.BankTransactionApiFp)(this.configuration).unlinkBankTransaction(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
647
|
+
return (0, exports.BankTransactionApiFp)(this.configuration).unlinkBankTransaction(requestParameters.code, requestParameters.unlinkBankTransactionRequestDtoRest, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
635
648
|
};
|
|
636
649
|
return BankTransactionApi;
|
|
637
650
|
}(base_1.BaseAPI));
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
|
|
4
4
|
*
|
|
5
5
|
* The version of the OpenAPI document: 1.0
|
|
6
|
-
* Contact:
|
|
6
|
+
* Contact: kontakt@emil.de
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
9
|
* https://openapi-generator.tech
|
package/dist/api/default-api.js
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
|
|
7
7
|
*
|
|
8
8
|
* The version of the OpenAPI document: 1.0
|
|
9
|
-
* Contact:
|
|
9
|
+
* Contact: kontakt@emil.de
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
12
|
* https://openapi-generator.tech
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
|
|
4
4
|
*
|
|
5
5
|
* The version of the OpenAPI document: 1.0
|
|
6
|
-
* Contact:
|
|
6
|
+
* Contact: kontakt@emil.de
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
9
|
* https://openapi-generator.tech
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
|
|
7
7
|
*
|
|
8
8
|
* The version of the OpenAPI document: 1.0
|
|
9
|
-
* Contact:
|
|
9
|
+
* Contact: kontakt@emil.de
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
12
|
* https://openapi-generator.tech
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
|
|
4
4
|
*
|
|
5
5
|
* The version of the OpenAPI document: 1.0
|
|
6
|
-
* Contact:
|
|
6
|
+
* Contact: kontakt@emil.de
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
9
|
* https://openapi-generator.tech
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
|
|
7
7
|
*
|
|
8
8
|
* The version of the OpenAPI document: 1.0
|
|
9
|
-
* Contact:
|
|
9
|
+
* Contact: kontakt@emil.de
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
12
|
* https://openapi-generator.tech
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
|
|
4
4
|
*
|
|
5
5
|
* The version of the OpenAPI document: 1.0
|
|
6
|
-
* Contact:
|
|
6
|
+
* Contact: kontakt@emil.de
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
9
|
* https://openapi-generator.tech
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
|
|
7
7
|
*
|
|
8
8
|
* The version of the OpenAPI document: 1.0
|
|
9
|
-
* Contact:
|
|
9
|
+
* Contact: kontakt@emil.de
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
12
|
* https://openapi-generator.tech
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
|
|
4
4
|
*
|
|
5
5
|
* The version of the OpenAPI document: 1.0
|
|
6
|
-
* Contact:
|
|
6
|
+
* Contact: kontakt@emil.de
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
9
|
* https://openapi-generator.tech
|
package/dist/api/payments-api.js
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
|
|
7
7
|
*
|
|
8
8
|
* The version of the OpenAPI document: 1.0
|
|
9
|
-
* Contact:
|
|
9
|
+
* Contact: kontakt@emil.de
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
12
|
* https://openapi-generator.tech
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
|
|
4
4
|
*
|
|
5
5
|
* The version of the OpenAPI document: 1.0
|
|
6
|
-
* Contact:
|
|
6
|
+
* Contact: kontakt@emil.de
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
9
|
* https://openapi-generator.tech
|
package/dist/api/refunds-api.js
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
|
|
7
7
|
*
|
|
8
8
|
* The version of the OpenAPI document: 1.0
|
|
9
|
-
* Contact:
|
|
9
|
+
* Contact: kontakt@emil.de
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
12
|
* https://openapi-generator.tech
|