@emilgroup/payment-sdk-node 1.13.1-beta.2 → 1.13.1-beta.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +4 -0
- package/README.md +2 -2
- package/api/bank-accounts-api.ts +5 -5
- package/api/bank-transaction-api.ts +82 -45
- package/api/default-api.ts +1 -1
- package/api/payment-methods-api.ts +5 -5
- package/api/payment-reminders-api.ts +5 -5
- package/api/payment-setup-api.ts +1 -1
- package/api/payments-api.ts +5 -5
- package/api/refunds-api.ts +5 -5
- package/api/tenant-bank-account-api.ts +74 -64
- 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 +5 -5
- package/dist/api/bank-accounts-api.js +4 -4
- package/dist/api/bank-transaction-api.d.ts +56 -36
- package/dist/api/bank-transaction-api.js +47 -32
- 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 +5 -5
- package/dist/api/payment-methods-api.js +4 -4
- package/dist/api/payment-reminders-api.d.ts +5 -5
- package/dist/api/payment-reminders-api.js +4 -4
- 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 +5 -5
- package/dist/api/payments-api.js +4 -4
- package/dist/api/refunds-api.d.ts +5 -5
- package/dist/api/refunds-api.js +4 -4
- package/dist/api/tenant-bank-account-api.d.ts +73 -60
- 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 +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/create-tenant-bank-account-response-class.d.ts +25 -0
- package/dist/models/create-tenant-bank-account-response-class.js +15 -0
- package/dist/models/deactivate-payment-reminder-request-dto.d.ts +1 -1
- package/dist/models/deactivate-payment-reminder-request-dto.js +1 -1
- package/dist/models/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 +4 -0
- package/dist/models/index.js +4 -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/list-tenant-bank-account-response-class.d.ts +31 -0
- package/dist/models/list-tenant-bank-account-response-class.js +15 -0
- package/dist/models/refund-class.d.ts +2 -1
- package/dist/models/refund-class.js +3 -2
- 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/create-tenant-bank-account-response-class.ts +31 -0
- 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 +4 -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/list-tenant-bank-account-response-class.ts +37 -0
- package/models/refund-class.ts +3 -2
- 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/.openapi-generator/FILES
CHANGED
|
@@ -24,6 +24,7 @@ models/create-payment-request-dto.ts
|
|
|
24
24
|
models/create-refund-request-dto.ts
|
|
25
25
|
models/create-refund-response-class.ts
|
|
26
26
|
models/create-tenant-bank-account-request-dto.ts
|
|
27
|
+
models/create-tenant-bank-account-response-class.ts
|
|
27
28
|
models/deactivate-payment-reminder-request-dto.ts
|
|
28
29
|
models/get-bank-transactions-response-class.ts
|
|
29
30
|
models/get-refund-response-class.ts
|
|
@@ -32,11 +33,14 @@ models/get-tenant-bank-account-response-class.ts
|
|
|
32
33
|
models/index.ts
|
|
33
34
|
models/inline-response200.ts
|
|
34
35
|
models/inline-response503.ts
|
|
36
|
+
models/link-bank-transaction-request-dto-rest.ts
|
|
35
37
|
models/list-bank-transactions-response-class.ts
|
|
36
38
|
models/list-refunds-response-class.ts
|
|
39
|
+
models/list-tenant-bank-account-response-class.ts
|
|
37
40
|
models/refund-class.ts
|
|
38
41
|
models/tenant-bank-account-response-class.ts
|
|
39
42
|
models/transaction-class.ts
|
|
43
|
+
models/unlink-bank-transaction-request-dto-rest.ts
|
|
40
44
|
models/update-tenant-bank-account-rest-request-dto.ts
|
|
41
45
|
models/validate-pspconfig-request-dto.ts
|
|
42
46
|
package.json
|
package/README.md
CHANGED
|
@@ -17,11 +17,11 @@ Although this package can be used in both TypeScript and JavaScript, it is inten
|
|
|
17
17
|
Navigate to the folder of your consuming project and run one of the following commands:
|
|
18
18
|
|
|
19
19
|
```
|
|
20
|
-
npm install @emilgroup/payment-sdk-node@1.13.1-beta.
|
|
20
|
+
npm install @emilgroup/payment-sdk-node@1.13.1-beta.20 --save
|
|
21
21
|
```
|
|
22
22
|
or
|
|
23
23
|
```
|
|
24
|
-
yarn add @emilgroup/payment-sdk-node@1.13.1-beta.
|
|
24
|
+
yarn add @emilgroup/payment-sdk-node@1.13.1-beta.20
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
And then you can import `PaymentsApi`.
|
package/api/bank-accounts-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
|
|
@@ -84,7 +84,7 @@ export const BankAccountsApiAxiosParamCreator = function (configuration?: Config
|
|
|
84
84
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
85
85
|
* @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.
|
|
86
86
|
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
87
|
-
* @param {any} [search]
|
|
87
|
+
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
88
88
|
* @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.
|
|
89
89
|
* @param {any} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
90
90
|
* @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.
|
|
@@ -182,7 +182,7 @@ export const BankAccountsApiFp = function(configuration?: Configuration) {
|
|
|
182
182
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
183
183
|
* @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
184
|
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
185
|
-
* @param {any} [search]
|
|
185
|
+
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
186
186
|
* @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
187
|
* @param {any} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
188
188
|
* @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.
|
|
@@ -221,7 +221,7 @@ export const BankAccountsApiFactory = function (configuration?: Configuration, b
|
|
|
221
221
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
222
222
|
* @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.
|
|
223
223
|
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
224
|
-
* @param {any} [search]
|
|
224
|
+
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
225
225
|
* @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.
|
|
226
226
|
* @param {any} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
227
227
|
* @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.
|
|
@@ -290,7 +290,7 @@ export interface BankAccountsApiListBankAccountsRequest {
|
|
|
290
290
|
readonly filter?: any
|
|
291
291
|
|
|
292
292
|
/**
|
|
293
|
-
*
|
|
293
|
+
* To search the list by any field, pass search=xxx to fetch the result.
|
|
294
294
|
* @type {any}
|
|
295
295
|
* @memberof BankAccountsApiListBankAccounts
|
|
296
296
|
*/
|
|
@@ -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
|
|
@@ -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
|
// URLSearchParams not necessarily used
|
|
28
32
|
// @ts-ignore
|
|
29
33
|
import { URL, URLSearchParams } from 'url';
|
|
@@ -87,12 +91,14 @@ export const BankTransactionApiAxiosParamCreator = function (configuration?: Con
|
|
|
87
91
|
/**
|
|
88
92
|
* Import bank transactions from a swift MT940 file
|
|
89
93
|
* @summary Create the bank transactions
|
|
94
|
+
* @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
|
|
90
95
|
* @param {string} [authorization] Bearer Token
|
|
91
|
-
* @param {any} [file]
|
|
92
96
|
* @param {*} [options] Override http request option.
|
|
93
97
|
* @throws {RequiredError}
|
|
94
98
|
*/
|
|
95
|
-
importBankTransactions: async (
|
|
99
|
+
importBankTransactions: async (file: any, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
100
|
+
// verify required parameter 'file' is not null or undefined
|
|
101
|
+
assertParamExists('importBankTransactions', 'file', file)
|
|
96
102
|
const localVarPath = `/paymentservice/v1/tenant/bank-transactions/import`;
|
|
97
103
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
98
104
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -123,6 +129,7 @@ export const BankTransactionApiAxiosParamCreator = function (configuration?: Con
|
|
|
123
129
|
|
|
124
130
|
|
|
125
131
|
localVarHeaderParameter['Content-Type'] = 'multipart/form-data; boundary=' + localVarFormParams.getBoundary();
|
|
132
|
+
|
|
126
133
|
|
|
127
134
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
128
135
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -138,13 +145,16 @@ export const BankTransactionApiAxiosParamCreator = function (configuration?: Con
|
|
|
138
145
|
* Links a bank transaction with an invoice
|
|
139
146
|
* @summary Link Bank Transaction
|
|
140
147
|
* @param {string} code Code of the bank transaction to link
|
|
148
|
+
* @param {LinkBankTransactionRequestDtoRest} linkBankTransactionRequestDtoRest
|
|
141
149
|
* @param {string} [authorization] Bearer Token
|
|
142
150
|
* @param {*} [options] Override http request option.
|
|
143
151
|
* @throws {RequiredError}
|
|
144
152
|
*/
|
|
145
|
-
linkBankTransaction: async (code: string, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
153
|
+
linkBankTransaction: async (code: string, linkBankTransactionRequestDtoRest: LinkBankTransactionRequestDtoRest, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
146
154
|
// verify required parameter 'code' is not null or undefined
|
|
147
155
|
assertParamExists('linkBankTransaction', 'code', code)
|
|
156
|
+
// verify required parameter 'linkBankTransactionRequestDtoRest' is not null or undefined
|
|
157
|
+
assertParamExists('linkBankTransaction', 'linkBankTransactionRequestDtoRest', linkBankTransactionRequestDtoRest)
|
|
148
158
|
const localVarPath = `/paymentservice/v1/tenant/bank-transactions/{code}/link`
|
|
149
159
|
.replace(`{${"code"}}`, encodeURIComponent(String(code)));
|
|
150
160
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -170,9 +180,12 @@ export const BankTransactionApiAxiosParamCreator = function (configuration?: Con
|
|
|
170
180
|
|
|
171
181
|
|
|
172
182
|
|
|
183
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
184
|
+
|
|
173
185
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
174
186
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
175
187
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
188
|
+
localVarRequestOptions.data = serializeDataIfNeeded(linkBankTransactionRequestDtoRest, localVarRequestOptions, configuration)
|
|
176
189
|
|
|
177
190
|
return {
|
|
178
191
|
url: toPathString(localVarUrlObj),
|
|
@@ -185,15 +198,15 @@ export const BankTransactionApiAxiosParamCreator = function (configuration?: Con
|
|
|
185
198
|
* @param {string} [authorization] Bearer Token
|
|
186
199
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
187
200
|
* @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.
|
|
188
|
-
* @param {any} [filter] Filter the response by one or multiple fields.
|
|
189
|
-
* @param {any} [search]
|
|
201
|
+
* @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>
|
|
202
|
+
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
190
203
|
* @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.
|
|
191
|
-
* @param {
|
|
204
|
+
* @param {'bankAccount' | 'transaction'} [expand] Expand the response with additional entities
|
|
192
205
|
* @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.
|
|
193
206
|
* @param {*} [options] Override http request option.
|
|
194
207
|
* @throws {RequiredError}
|
|
195
208
|
*/
|
|
196
|
-
listBankTransactions: async (authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?:
|
|
209
|
+
listBankTransactions: async (authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: 'bankAccount' | 'transaction', filters?: any, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
197
210
|
const localVarPath = `/paymentservice/v1/tenant/bank-transactions`;
|
|
198
211
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
199
212
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -259,13 +272,16 @@ export const BankTransactionApiAxiosParamCreator = function (configuration?: Con
|
|
|
259
272
|
* Unlinks an already linked bank transaction
|
|
260
273
|
* @summary Unlink Bank Transaction
|
|
261
274
|
* @param {string} code Code of the bank transaction to unlink
|
|
275
|
+
* @param {UnlinkBankTransactionRequestDtoRest} unlinkBankTransactionRequestDtoRest
|
|
262
276
|
* @param {string} [authorization] Bearer Token
|
|
263
277
|
* @param {*} [options] Override http request option.
|
|
264
278
|
* @throws {RequiredError}
|
|
265
279
|
*/
|
|
266
|
-
unlinkBankTransaction: async (code: string, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
280
|
+
unlinkBankTransaction: async (code: string, unlinkBankTransactionRequestDtoRest: UnlinkBankTransactionRequestDtoRest, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
267
281
|
// verify required parameter 'code' is not null or undefined
|
|
268
282
|
assertParamExists('unlinkBankTransaction', 'code', code)
|
|
283
|
+
// verify required parameter 'unlinkBankTransactionRequestDtoRest' is not null or undefined
|
|
284
|
+
assertParamExists('unlinkBankTransaction', 'unlinkBankTransactionRequestDtoRest', unlinkBankTransactionRequestDtoRest)
|
|
269
285
|
const localVarPath = `/paymentservice/v1/tenant/bank-transactions/{code}/unlink`
|
|
270
286
|
.replace(`{${"code"}}`, encodeURIComponent(String(code)));
|
|
271
287
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -291,9 +307,12 @@ export const BankTransactionApiAxiosParamCreator = function (configuration?: Con
|
|
|
291
307
|
|
|
292
308
|
|
|
293
309
|
|
|
310
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
311
|
+
|
|
294
312
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
295
313
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
296
314
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
315
|
+
localVarRequestOptions.data = serializeDataIfNeeded(unlinkBankTransactionRequestDtoRest, localVarRequestOptions, configuration)
|
|
297
316
|
|
|
298
317
|
return {
|
|
299
318
|
url: toPathString(localVarUrlObj),
|
|
@@ -326,25 +345,26 @@ export const BankTransactionApiFp = function(configuration?: Configuration) {
|
|
|
326
345
|
/**
|
|
327
346
|
* Import bank transactions from a swift MT940 file
|
|
328
347
|
* @summary Create the bank transactions
|
|
348
|
+
* @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
|
|
329
349
|
* @param {string} [authorization] Bearer Token
|
|
330
|
-
* @param {any} [file]
|
|
331
350
|
* @param {*} [options] Override http request option.
|
|
332
351
|
* @throws {RequiredError}
|
|
333
352
|
*/
|
|
334
|
-
async importBankTransactions(
|
|
335
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.importBankTransactions(
|
|
353
|
+
async importBankTransactions(file: any, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListBankTransactionsResponseClass>> {
|
|
354
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.importBankTransactions(file, authorization, options);
|
|
336
355
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
337
356
|
},
|
|
338
357
|
/**
|
|
339
358
|
* Links a bank transaction with an invoice
|
|
340
359
|
* @summary Link Bank Transaction
|
|
341
360
|
* @param {string} code Code of the bank transaction to link
|
|
361
|
+
* @param {LinkBankTransactionRequestDtoRest} linkBankTransactionRequestDtoRest
|
|
342
362
|
* @param {string} [authorization] Bearer Token
|
|
343
363
|
* @param {*} [options] Override http request option.
|
|
344
364
|
* @throws {RequiredError}
|
|
345
365
|
*/
|
|
346
|
-
async linkBankTransaction(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetBankTransactionsResponseClass>> {
|
|
347
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.linkBankTransaction(code, authorization, options);
|
|
366
|
+
async linkBankTransaction(code: string, linkBankTransactionRequestDtoRest: LinkBankTransactionRequestDtoRest, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetBankTransactionsResponseClass>> {
|
|
367
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.linkBankTransaction(code, linkBankTransactionRequestDtoRest, authorization, options);
|
|
348
368
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
349
369
|
},
|
|
350
370
|
/**
|
|
@@ -353,15 +373,15 @@ export const BankTransactionApiFp = function(configuration?: Configuration) {
|
|
|
353
373
|
* @param {string} [authorization] Bearer Token
|
|
354
374
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
355
375
|
* @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.
|
|
356
|
-
* @param {any} [filter] Filter the response by one or multiple fields.
|
|
357
|
-
* @param {any} [search]
|
|
376
|
+
* @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>
|
|
377
|
+
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
358
378
|
* @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.
|
|
359
|
-
* @param {
|
|
379
|
+
* @param {'bankAccount' | 'transaction'} [expand] Expand the response with additional entities
|
|
360
380
|
* @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.
|
|
361
381
|
* @param {*} [options] Override http request option.
|
|
362
382
|
* @throws {RequiredError}
|
|
363
383
|
*/
|
|
364
|
-
async listBankTransactions(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?:
|
|
384
|
+
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>> {
|
|
365
385
|
const localVarAxiosArgs = await localVarAxiosParamCreator.listBankTransactions(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
|
|
366
386
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
367
387
|
},
|
|
@@ -369,12 +389,13 @@ export const BankTransactionApiFp = function(configuration?: Configuration) {
|
|
|
369
389
|
* Unlinks an already linked bank transaction
|
|
370
390
|
* @summary Unlink Bank Transaction
|
|
371
391
|
* @param {string} code Code of the bank transaction to unlink
|
|
392
|
+
* @param {UnlinkBankTransactionRequestDtoRest} unlinkBankTransactionRequestDtoRest
|
|
372
393
|
* @param {string} [authorization] Bearer Token
|
|
373
394
|
* @param {*} [options] Override http request option.
|
|
374
395
|
* @throws {RequiredError}
|
|
375
396
|
*/
|
|
376
|
-
async unlinkBankTransaction(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetBankTransactionsResponseClass>> {
|
|
377
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.unlinkBankTransaction(code, authorization, options);
|
|
397
|
+
async unlinkBankTransaction(code: string, unlinkBankTransactionRequestDtoRest: UnlinkBankTransactionRequestDtoRest, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetBankTransactionsResponseClass>> {
|
|
398
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.unlinkBankTransaction(code, unlinkBankTransactionRequestDtoRest, authorization, options);
|
|
378
399
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
379
400
|
},
|
|
380
401
|
}
|
|
@@ -402,24 +423,25 @@ export const BankTransactionApiFactory = function (configuration?: Configuration
|
|
|
402
423
|
/**
|
|
403
424
|
* Import bank transactions from a swift MT940 file
|
|
404
425
|
* @summary Create the bank transactions
|
|
426
|
+
* @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
|
|
405
427
|
* @param {string} [authorization] Bearer Token
|
|
406
|
-
* @param {any} [file]
|
|
407
428
|
* @param {*} [options] Override http request option.
|
|
408
429
|
* @throws {RequiredError}
|
|
409
430
|
*/
|
|
410
|
-
importBankTransactions(
|
|
411
|
-
return localVarFp.importBankTransactions(
|
|
431
|
+
importBankTransactions(file: any, authorization?: string, options?: any): AxiosPromise<ListBankTransactionsResponseClass> {
|
|
432
|
+
return localVarFp.importBankTransactions(file, authorization, options).then((request) => request(axios, basePath));
|
|
412
433
|
},
|
|
413
434
|
/**
|
|
414
435
|
* Links a bank transaction with an invoice
|
|
415
436
|
* @summary Link Bank Transaction
|
|
416
437
|
* @param {string} code Code of the bank transaction to link
|
|
438
|
+
* @param {LinkBankTransactionRequestDtoRest} linkBankTransactionRequestDtoRest
|
|
417
439
|
* @param {string} [authorization] Bearer Token
|
|
418
440
|
* @param {*} [options] Override http request option.
|
|
419
441
|
* @throws {RequiredError}
|
|
420
442
|
*/
|
|
421
|
-
linkBankTransaction(code: string, authorization?: string, options?: any): AxiosPromise<GetBankTransactionsResponseClass> {
|
|
422
|
-
return localVarFp.linkBankTransaction(code, authorization, options).then((request) => request(axios, basePath));
|
|
443
|
+
linkBankTransaction(code: string, linkBankTransactionRequestDtoRest: LinkBankTransactionRequestDtoRest, authorization?: string, options?: any): AxiosPromise<GetBankTransactionsResponseClass> {
|
|
444
|
+
return localVarFp.linkBankTransaction(code, linkBankTransactionRequestDtoRest, authorization, options).then((request) => request(axios, basePath));
|
|
423
445
|
},
|
|
424
446
|
/**
|
|
425
447
|
* 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.
|
|
@@ -427,27 +449,28 @@ export const BankTransactionApiFactory = function (configuration?: Configuration
|
|
|
427
449
|
* @param {string} [authorization] Bearer Token
|
|
428
450
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
429
451
|
* @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.
|
|
430
|
-
* @param {any} [filter] Filter the response by one or multiple fields.
|
|
431
|
-
* @param {any} [search]
|
|
452
|
+
* @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>
|
|
453
|
+
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
432
454
|
* @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.
|
|
433
|
-
* @param {
|
|
455
|
+
* @param {'bankAccount' | 'transaction'} [expand] Expand the response with additional entities
|
|
434
456
|
* @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.
|
|
435
457
|
* @param {*} [options] Override http request option.
|
|
436
458
|
* @throws {RequiredError}
|
|
437
459
|
*/
|
|
438
|
-
listBankTransactions(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?:
|
|
460
|
+
listBankTransactions(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: 'bankAccount' | 'transaction', filters?: any, options?: any): AxiosPromise<void> {
|
|
439
461
|
return localVarFp.listBankTransactions(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
|
|
440
462
|
},
|
|
441
463
|
/**
|
|
442
464
|
* Unlinks an already linked bank transaction
|
|
443
465
|
* @summary Unlink Bank Transaction
|
|
444
466
|
* @param {string} code Code of the bank transaction to unlink
|
|
467
|
+
* @param {UnlinkBankTransactionRequestDtoRest} unlinkBankTransactionRequestDtoRest
|
|
445
468
|
* @param {string} [authorization] Bearer Token
|
|
446
469
|
* @param {*} [options] Override http request option.
|
|
447
470
|
* @throws {RequiredError}
|
|
448
471
|
*/
|
|
449
|
-
unlinkBankTransaction(code: string, authorization?: string, options?: any): AxiosPromise<GetBankTransactionsResponseClass> {
|
|
450
|
-
return localVarFp.unlinkBankTransaction(code, authorization, options).then((request) => request(axios, basePath));
|
|
472
|
+
unlinkBankTransaction(code: string, unlinkBankTransactionRequestDtoRest: UnlinkBankTransactionRequestDtoRest, authorization?: string, options?: any): AxiosPromise<GetBankTransactionsResponseClass> {
|
|
473
|
+
return localVarFp.unlinkBankTransaction(code, unlinkBankTransactionRequestDtoRest, authorization, options).then((request) => request(axios, basePath));
|
|
451
474
|
},
|
|
452
475
|
};
|
|
453
476
|
};
|
|
@@ -487,18 +510,18 @@ export interface BankTransactionApiGetBankTransactionRequest {
|
|
|
487
510
|
*/
|
|
488
511
|
export interface BankTransactionApiImportBankTransactionsRequest {
|
|
489
512
|
/**
|
|
490
|
-
*
|
|
491
|
-
* @type {
|
|
513
|
+
* Swift MT940 file to import bank transactions from. Extension must be .txt or .sta.<br/> Allowed Content Types: text/plain, application/octet-stream
|
|
514
|
+
* @type {any}
|
|
492
515
|
* @memberof BankTransactionApiImportBankTransactions
|
|
493
516
|
*/
|
|
494
|
-
readonly
|
|
517
|
+
readonly file: any
|
|
495
518
|
|
|
496
519
|
/**
|
|
497
|
-
*
|
|
498
|
-
* @type {
|
|
520
|
+
* Bearer Token
|
|
521
|
+
* @type {string}
|
|
499
522
|
* @memberof BankTransactionApiImportBankTransactions
|
|
500
523
|
*/
|
|
501
|
-
readonly
|
|
524
|
+
readonly authorization?: string
|
|
502
525
|
}
|
|
503
526
|
|
|
504
527
|
/**
|
|
@@ -514,6 +537,13 @@ export interface BankTransactionApiLinkBankTransactionRequest {
|
|
|
514
537
|
*/
|
|
515
538
|
readonly code: string
|
|
516
539
|
|
|
540
|
+
/**
|
|
541
|
+
*
|
|
542
|
+
* @type {LinkBankTransactionRequestDtoRest}
|
|
543
|
+
* @memberof BankTransactionApiLinkBankTransaction
|
|
544
|
+
*/
|
|
545
|
+
readonly linkBankTransactionRequestDtoRest: LinkBankTransactionRequestDtoRest
|
|
546
|
+
|
|
517
547
|
/**
|
|
518
548
|
* Bearer Token
|
|
519
549
|
* @type {string}
|
|
@@ -550,14 +580,14 @@ export interface BankTransactionApiListBankTransactionsRequest {
|
|
|
550
580
|
readonly pageToken?: any
|
|
551
581
|
|
|
552
582
|
/**
|
|
553
|
-
* Filter the response by one or multiple fields.
|
|
583
|
+
* 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>
|
|
554
584
|
* @type {any}
|
|
555
585
|
* @memberof BankTransactionApiListBankTransactions
|
|
556
586
|
*/
|
|
557
587
|
readonly filter?: any
|
|
558
588
|
|
|
559
589
|
/**
|
|
560
|
-
*
|
|
590
|
+
* To search the list by any field, pass search=xxx to fetch the result.
|
|
561
591
|
* @type {any}
|
|
562
592
|
* @memberof BankTransactionApiListBankTransactions
|
|
563
593
|
*/
|
|
@@ -572,10 +602,10 @@ export interface BankTransactionApiListBankTransactionsRequest {
|
|
|
572
602
|
|
|
573
603
|
/**
|
|
574
604
|
* Expand the response with additional entities
|
|
575
|
-
* @type {
|
|
605
|
+
* @type {'bankAccount' | 'transaction'}
|
|
576
606
|
* @memberof BankTransactionApiListBankTransactions
|
|
577
607
|
*/
|
|
578
|
-
readonly expand?:
|
|
608
|
+
readonly expand?: 'bankAccount' | 'transaction'
|
|
579
609
|
|
|
580
610
|
/**
|
|
581
611
|
* 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.
|
|
@@ -598,6 +628,13 @@ export interface BankTransactionApiUnlinkBankTransactionRequest {
|
|
|
598
628
|
*/
|
|
599
629
|
readonly code: string
|
|
600
630
|
|
|
631
|
+
/**
|
|
632
|
+
*
|
|
633
|
+
* @type {UnlinkBankTransactionRequestDtoRest}
|
|
634
|
+
* @memberof BankTransactionApiUnlinkBankTransaction
|
|
635
|
+
*/
|
|
636
|
+
readonly unlinkBankTransactionRequestDtoRest: UnlinkBankTransactionRequestDtoRest
|
|
637
|
+
|
|
601
638
|
/**
|
|
602
639
|
* Bearer Token
|
|
603
640
|
* @type {string}
|
|
@@ -633,8 +670,8 @@ export class BankTransactionApi extends BaseAPI {
|
|
|
633
670
|
* @throws {RequiredError}
|
|
634
671
|
* @memberof BankTransactionApi
|
|
635
672
|
*/
|
|
636
|
-
public importBankTransactions(requestParameters: BankTransactionApiImportBankTransactionsRequest
|
|
637
|
-
return BankTransactionApiFp(this.configuration).importBankTransactions(requestParameters.
|
|
673
|
+
public importBankTransactions(requestParameters: BankTransactionApiImportBankTransactionsRequest, options?: AxiosRequestConfig) {
|
|
674
|
+
return BankTransactionApiFp(this.configuration).importBankTransactions(requestParameters.file, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
638
675
|
}
|
|
639
676
|
|
|
640
677
|
/**
|
|
@@ -646,7 +683,7 @@ export class BankTransactionApi extends BaseAPI {
|
|
|
646
683
|
* @memberof BankTransactionApi
|
|
647
684
|
*/
|
|
648
685
|
public linkBankTransaction(requestParameters: BankTransactionApiLinkBankTransactionRequest, options?: AxiosRequestConfig) {
|
|
649
|
-
return BankTransactionApiFp(this.configuration).linkBankTransaction(requestParameters.code, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
686
|
+
return BankTransactionApiFp(this.configuration).linkBankTransaction(requestParameters.code, requestParameters.linkBankTransactionRequestDtoRest, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
650
687
|
}
|
|
651
688
|
|
|
652
689
|
/**
|
|
@@ -670,6 +707,6 @@ export class BankTransactionApi extends BaseAPI {
|
|
|
670
707
|
* @memberof BankTransactionApi
|
|
671
708
|
*/
|
|
672
709
|
public unlinkBankTransaction(requestParameters: BankTransactionApiUnlinkBankTransactionRequest, options?: AxiosRequestConfig) {
|
|
673
|
-
return BankTransactionApiFp(this.configuration).unlinkBankTransaction(requestParameters.code, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
710
|
+
return BankTransactionApiFp(this.configuration).unlinkBankTransaction(requestParameters.code, requestParameters.unlinkBankTransactionRequestDtoRest, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
674
711
|
}
|
|
675
712
|
}
|
package/api/default-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
|
|
@@ -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
|
|
@@ -194,7 +194,7 @@ export const PaymentMethodsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
194
194
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
195
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.
|
|
196
196
|
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
197
|
-
* @param {any} [search]
|
|
197
|
+
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
198
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.
|
|
199
199
|
* @param {any} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
200
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.
|
|
@@ -318,7 +318,7 @@ export const PaymentMethodsApiFp = function(configuration?: Configuration) {
|
|
|
318
318
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
319
319
|
* @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.
|
|
320
320
|
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
321
|
-
* @param {any} [search]
|
|
321
|
+
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
322
322
|
* @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.
|
|
323
323
|
* @param {any} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
324
324
|
* @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.
|
|
@@ -381,7 +381,7 @@ export const PaymentMethodsApiFactory = function (configuration?: Configuration,
|
|
|
381
381
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
382
382
|
* @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.
|
|
383
383
|
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
384
|
-
* @param {any} [search]
|
|
384
|
+
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
385
385
|
* @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.
|
|
386
386
|
* @param {any} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
387
387
|
* @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.
|
|
@@ -506,7 +506,7 @@ export interface PaymentMethodsApiListPaymentMethodsRequest {
|
|
|
506
506
|
readonly filter?: any
|
|
507
507
|
|
|
508
508
|
/**
|
|
509
|
-
*
|
|
509
|
+
* To search the list by any field, pass search=xxx to fetch the result.
|
|
510
510
|
* @type {any}
|
|
511
511
|
* @memberof PaymentMethodsApiListPaymentMethods
|
|
512
512
|
*/
|
|
@@ -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
|
|
@@ -184,7 +184,7 @@ export const PaymentRemindersApiAxiosParamCreator = function (configuration?: Co
|
|
|
184
184
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
185
185
|
* @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.
|
|
186
186
|
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
187
|
-
* @param {any} [search]
|
|
187
|
+
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
188
188
|
* @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.
|
|
189
189
|
* @param {any} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
190
190
|
* @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.
|
|
@@ -307,7 +307,7 @@ export const PaymentRemindersApiFp = function(configuration?: Configuration) {
|
|
|
307
307
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
308
308
|
* @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.
|
|
309
309
|
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
310
|
-
* @param {any} [search]
|
|
310
|
+
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
311
311
|
* @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.
|
|
312
312
|
* @param {any} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
313
313
|
* @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.
|
|
@@ -369,7 +369,7 @@ export const PaymentRemindersApiFactory = function (configuration?: Configuratio
|
|
|
369
369
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
370
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.
|
|
371
371
|
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
372
|
-
* @param {any} [search]
|
|
372
|
+
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
373
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.
|
|
374
374
|
* @param {any} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
375
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.
|
|
@@ -487,7 +487,7 @@ export interface PaymentRemindersApiListPaymentRemindersRequest {
|
|
|
487
487
|
readonly filter?: any
|
|
488
488
|
|
|
489
489
|
/**
|
|
490
|
-
*
|
|
490
|
+
* To search the list by any field, pass search=xxx to fetch the result.
|
|
491
491
|
* @type {any}
|
|
492
492
|
* @memberof PaymentRemindersApiListPaymentReminders
|
|
493
493
|
*/
|
package/api/payment-setup-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
|