@emilgroup/payment-sdk 1.4.1-beta.2 → 1.4.1-beta.21
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 -46
- 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 -33
- 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@1.4.1-beta.
|
|
20
|
+
npm install @emilgroup/payment-sdk@1.4.1-beta.21 --save
|
|
21
21
|
```
|
|
22
22
|
or
|
|
23
23
|
```
|
|
24
|
-
yarn add @emilgroup/payment-sdk@1.4.1-beta.
|
|
24
|
+
yarn add @emilgroup/payment-sdk@1.4.1-beta.21
|
|
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
|
|
@@ -80,7 +80,7 @@ export const BankAccountsApiAxiosParamCreator = function (configuration?: Config
|
|
|
80
80
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
81
81
|
* @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.
|
|
82
82
|
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
83
|
-
* @param {any} [search]
|
|
83
|
+
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
84
84
|
* @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.
|
|
85
85
|
* @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.
|
|
86
86
|
* @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.
|
|
@@ -178,7 +178,7 @@ export const BankAccountsApiFp = function(configuration?: Configuration) {
|
|
|
178
178
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
179
179
|
* @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.
|
|
180
180
|
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
181
|
-
* @param {any} [search]
|
|
181
|
+
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
182
182
|
* @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.
|
|
183
183
|
* @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.
|
|
184
184
|
* @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.
|
|
@@ -217,7 +217,7 @@ export const BankAccountsApiFactory = function (configuration?: Configuration, b
|
|
|
217
217
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
218
218
|
* @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.
|
|
219
219
|
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
220
|
-
* @param {any} [search]
|
|
220
|
+
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
221
221
|
* @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.
|
|
222
222
|
* @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.
|
|
223
223
|
* @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.
|
|
@@ -286,7 +286,7 @@ export interface BankAccountsApiListBankAccountsRequest {
|
|
|
286
286
|
readonly filter?: any
|
|
287
287
|
|
|
288
288
|
/**
|
|
289
|
-
*
|
|
289
|
+
* To search the list by any field, pass search=xxx to fetch the result.
|
|
290
290
|
* @type {any}
|
|
291
291
|
* @memberof BankAccountsApiListBankAccounts
|
|
292
292
|
*/
|
|
@@ -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
|
/**
|
|
28
32
|
* BankTransactionApi - axios parameter creator
|
|
29
33
|
* @export
|
|
@@ -83,12 +87,14 @@ export const BankTransactionApiAxiosParamCreator = function (configuration?: Con
|
|
|
83
87
|
/**
|
|
84
88
|
* Import bank transactions from a swift MT940 file
|
|
85
89
|
* @summary Create the bank transactions
|
|
90
|
+
* @param {any} file Swift MT940 file to import bank transactions from. Extension must be .txt or .sta.<br/> Allowed Content Types: text/plain, application/octet-stream
|
|
86
91
|
* @param {string} [authorization] Bearer Token
|
|
87
|
-
* @param {any} [file]
|
|
88
92
|
* @param {*} [options] Override http request option.
|
|
89
93
|
* @throws {RequiredError}
|
|
90
94
|
*/
|
|
91
|
-
importBankTransactions: async (
|
|
95
|
+
importBankTransactions: async (file: any, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
96
|
+
// verify required parameter 'file' is not null or undefined
|
|
97
|
+
assertParamExists('importBankTransactions', 'file', file)
|
|
92
98
|
const localVarPath = `/paymentservice/v1/tenant/bank-transactions/import`;
|
|
93
99
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
94
100
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -118,7 +124,7 @@ export const BankTransactionApiAxiosParamCreator = function (configuration?: Con
|
|
|
118
124
|
}
|
|
119
125
|
|
|
120
126
|
|
|
121
|
-
|
|
127
|
+
|
|
122
128
|
|
|
123
129
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
124
130
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -134,13 +140,16 @@ export const BankTransactionApiAxiosParamCreator = function (configuration?: Con
|
|
|
134
140
|
* Links a bank transaction with an invoice
|
|
135
141
|
* @summary Link Bank Transaction
|
|
136
142
|
* @param {string} code Code of the bank transaction to link
|
|
143
|
+
* @param {LinkBankTransactionRequestDtoRest} linkBankTransactionRequestDtoRest
|
|
137
144
|
* @param {string} [authorization] Bearer Token
|
|
138
145
|
* @param {*} [options] Override http request option.
|
|
139
146
|
* @throws {RequiredError}
|
|
140
147
|
*/
|
|
141
|
-
linkBankTransaction: async (code: string, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
148
|
+
linkBankTransaction: async (code: string, linkBankTransactionRequestDtoRest: LinkBankTransactionRequestDtoRest, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
142
149
|
// verify required parameter 'code' is not null or undefined
|
|
143
150
|
assertParamExists('linkBankTransaction', 'code', code)
|
|
151
|
+
// verify required parameter 'linkBankTransactionRequestDtoRest' is not null or undefined
|
|
152
|
+
assertParamExists('linkBankTransaction', 'linkBankTransactionRequestDtoRest', linkBankTransactionRequestDtoRest)
|
|
144
153
|
const localVarPath = `/paymentservice/v1/tenant/bank-transactions/{code}/link`
|
|
145
154
|
.replace(`{${"code"}}`, encodeURIComponent(String(code)));
|
|
146
155
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -166,9 +175,12 @@ export const BankTransactionApiAxiosParamCreator = function (configuration?: Con
|
|
|
166
175
|
|
|
167
176
|
|
|
168
177
|
|
|
178
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
179
|
+
|
|
169
180
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
170
181
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
171
182
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
183
|
+
localVarRequestOptions.data = serializeDataIfNeeded(linkBankTransactionRequestDtoRest, localVarRequestOptions, configuration)
|
|
172
184
|
|
|
173
185
|
return {
|
|
174
186
|
url: toPathString(localVarUrlObj),
|
|
@@ -181,15 +193,15 @@ export const BankTransactionApiAxiosParamCreator = function (configuration?: Con
|
|
|
181
193
|
* @param {string} [authorization] Bearer Token
|
|
182
194
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
183
195
|
* @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
184
|
-
* @param {any} [filter] Filter the response by one or multiple fields.
|
|
185
|
-
* @param {any} [search]
|
|
196
|
+
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, bankAccountId, bankAccountNumber, swiftMessageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked</i>
|
|
197
|
+
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
186
198
|
* @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
187
|
-
* @param {
|
|
199
|
+
* @param {'bankAccount' | 'transaction'} [expand] Expand the response with additional entities
|
|
188
200
|
* @param {any} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
|
|
189
201
|
* @param {*} [options] Override http request option.
|
|
190
202
|
* @throws {RequiredError}
|
|
191
203
|
*/
|
|
192
|
-
listBankTransactions: async (authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?:
|
|
204
|
+
listBankTransactions: async (authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: 'bankAccount' | 'transaction', filters?: any, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
193
205
|
const localVarPath = `/paymentservice/v1/tenant/bank-transactions`;
|
|
194
206
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
195
207
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -255,13 +267,16 @@ export const BankTransactionApiAxiosParamCreator = function (configuration?: Con
|
|
|
255
267
|
* Unlinks an already linked bank transaction
|
|
256
268
|
* @summary Unlink Bank Transaction
|
|
257
269
|
* @param {string} code Code of the bank transaction to unlink
|
|
270
|
+
* @param {UnlinkBankTransactionRequestDtoRest} unlinkBankTransactionRequestDtoRest
|
|
258
271
|
* @param {string} [authorization] Bearer Token
|
|
259
272
|
* @param {*} [options] Override http request option.
|
|
260
273
|
* @throws {RequiredError}
|
|
261
274
|
*/
|
|
262
|
-
unlinkBankTransaction: async (code: string, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
275
|
+
unlinkBankTransaction: async (code: string, unlinkBankTransactionRequestDtoRest: UnlinkBankTransactionRequestDtoRest, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
263
276
|
// verify required parameter 'code' is not null or undefined
|
|
264
277
|
assertParamExists('unlinkBankTransaction', 'code', code)
|
|
278
|
+
// verify required parameter 'unlinkBankTransactionRequestDtoRest' is not null or undefined
|
|
279
|
+
assertParamExists('unlinkBankTransaction', 'unlinkBankTransactionRequestDtoRest', unlinkBankTransactionRequestDtoRest)
|
|
265
280
|
const localVarPath = `/paymentservice/v1/tenant/bank-transactions/{code}/unlink`
|
|
266
281
|
.replace(`{${"code"}}`, encodeURIComponent(String(code)));
|
|
267
282
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -287,9 +302,12 @@ export const BankTransactionApiAxiosParamCreator = function (configuration?: Con
|
|
|
287
302
|
|
|
288
303
|
|
|
289
304
|
|
|
305
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
306
|
+
|
|
290
307
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
291
308
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
292
309
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
310
|
+
localVarRequestOptions.data = serializeDataIfNeeded(unlinkBankTransactionRequestDtoRest, localVarRequestOptions, configuration)
|
|
293
311
|
|
|
294
312
|
return {
|
|
295
313
|
url: toPathString(localVarUrlObj),
|
|
@@ -322,25 +340,26 @@ export const BankTransactionApiFp = function(configuration?: Configuration) {
|
|
|
322
340
|
/**
|
|
323
341
|
* Import bank transactions from a swift MT940 file
|
|
324
342
|
* @summary Create the bank transactions
|
|
343
|
+
* @param {any} file Swift MT940 file to import bank transactions from. Extension must be .txt or .sta.<br/> Allowed Content Types: text/plain, application/octet-stream
|
|
325
344
|
* @param {string} [authorization] Bearer Token
|
|
326
|
-
* @param {any} [file]
|
|
327
345
|
* @param {*} [options] Override http request option.
|
|
328
346
|
* @throws {RequiredError}
|
|
329
347
|
*/
|
|
330
|
-
async importBankTransactions(
|
|
331
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.importBankTransactions(
|
|
348
|
+
async importBankTransactions(file: any, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListBankTransactionsResponseClass>> {
|
|
349
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.importBankTransactions(file, authorization, options);
|
|
332
350
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
333
351
|
},
|
|
334
352
|
/**
|
|
335
353
|
* Links a bank transaction with an invoice
|
|
336
354
|
* @summary Link Bank Transaction
|
|
337
355
|
* @param {string} code Code of the bank transaction to link
|
|
356
|
+
* @param {LinkBankTransactionRequestDtoRest} linkBankTransactionRequestDtoRest
|
|
338
357
|
* @param {string} [authorization] Bearer Token
|
|
339
358
|
* @param {*} [options] Override http request option.
|
|
340
359
|
* @throws {RequiredError}
|
|
341
360
|
*/
|
|
342
|
-
async linkBankTransaction(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetBankTransactionsResponseClass>> {
|
|
343
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.linkBankTransaction(code, authorization, options);
|
|
361
|
+
async linkBankTransaction(code: string, linkBankTransactionRequestDtoRest: LinkBankTransactionRequestDtoRest, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetBankTransactionsResponseClass>> {
|
|
362
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.linkBankTransaction(code, linkBankTransactionRequestDtoRest, authorization, options);
|
|
344
363
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
345
364
|
},
|
|
346
365
|
/**
|
|
@@ -349,15 +368,15 @@ export const BankTransactionApiFp = function(configuration?: Configuration) {
|
|
|
349
368
|
* @param {string} [authorization] Bearer Token
|
|
350
369
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
351
370
|
* @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
352
|
-
* @param {any} [filter] Filter the response by one or multiple fields.
|
|
353
|
-
* @param {any} [search]
|
|
371
|
+
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, bankAccountId, bankAccountNumber, swiftMessageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked</i>
|
|
372
|
+
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
354
373
|
* @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
355
|
-
* @param {
|
|
374
|
+
* @param {'bankAccount' | 'transaction'} [expand] Expand the response with additional entities
|
|
356
375
|
* @param {any} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
|
|
357
376
|
* @param {*} [options] Override http request option.
|
|
358
377
|
* @throws {RequiredError}
|
|
359
378
|
*/
|
|
360
|
-
async listBankTransactions(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?:
|
|
379
|
+
async listBankTransactions(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: 'bankAccount' | 'transaction', filters?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
361
380
|
const localVarAxiosArgs = await localVarAxiosParamCreator.listBankTransactions(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
|
|
362
381
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
363
382
|
},
|
|
@@ -365,12 +384,13 @@ export const BankTransactionApiFp = function(configuration?: Configuration) {
|
|
|
365
384
|
* Unlinks an already linked bank transaction
|
|
366
385
|
* @summary Unlink Bank Transaction
|
|
367
386
|
* @param {string} code Code of the bank transaction to unlink
|
|
387
|
+
* @param {UnlinkBankTransactionRequestDtoRest} unlinkBankTransactionRequestDtoRest
|
|
368
388
|
* @param {string} [authorization] Bearer Token
|
|
369
389
|
* @param {*} [options] Override http request option.
|
|
370
390
|
* @throws {RequiredError}
|
|
371
391
|
*/
|
|
372
|
-
async unlinkBankTransaction(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetBankTransactionsResponseClass>> {
|
|
373
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.unlinkBankTransaction(code, authorization, options);
|
|
392
|
+
async unlinkBankTransaction(code: string, unlinkBankTransactionRequestDtoRest: UnlinkBankTransactionRequestDtoRest, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetBankTransactionsResponseClass>> {
|
|
393
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.unlinkBankTransaction(code, unlinkBankTransactionRequestDtoRest, authorization, options);
|
|
374
394
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
375
395
|
},
|
|
376
396
|
}
|
|
@@ -398,24 +418,25 @@ export const BankTransactionApiFactory = function (configuration?: Configuration
|
|
|
398
418
|
/**
|
|
399
419
|
* Import bank transactions from a swift MT940 file
|
|
400
420
|
* @summary Create the bank transactions
|
|
421
|
+
* @param {any} file Swift MT940 file to import bank transactions from. Extension must be .txt or .sta.<br/> Allowed Content Types: text/plain, application/octet-stream
|
|
401
422
|
* @param {string} [authorization] Bearer Token
|
|
402
|
-
* @param {any} [file]
|
|
403
423
|
* @param {*} [options] Override http request option.
|
|
404
424
|
* @throws {RequiredError}
|
|
405
425
|
*/
|
|
406
|
-
importBankTransactions(
|
|
407
|
-
return localVarFp.importBankTransactions(
|
|
426
|
+
importBankTransactions(file: any, authorization?: string, options?: any): AxiosPromise<ListBankTransactionsResponseClass> {
|
|
427
|
+
return localVarFp.importBankTransactions(file, authorization, options).then((request) => request(axios, basePath));
|
|
408
428
|
},
|
|
409
429
|
/**
|
|
410
430
|
* Links a bank transaction with an invoice
|
|
411
431
|
* @summary Link Bank Transaction
|
|
412
432
|
* @param {string} code Code of the bank transaction to link
|
|
433
|
+
* @param {LinkBankTransactionRequestDtoRest} linkBankTransactionRequestDtoRest
|
|
413
434
|
* @param {string} [authorization] Bearer Token
|
|
414
435
|
* @param {*} [options] Override http request option.
|
|
415
436
|
* @throws {RequiredError}
|
|
416
437
|
*/
|
|
417
|
-
linkBankTransaction(code: string, authorization?: string, options?: any): AxiosPromise<GetBankTransactionsResponseClass> {
|
|
418
|
-
return localVarFp.linkBankTransaction(code, authorization, options).then((request) => request(axios, basePath));
|
|
438
|
+
linkBankTransaction(code: string, linkBankTransactionRequestDtoRest: LinkBankTransactionRequestDtoRest, authorization?: string, options?: any): AxiosPromise<GetBankTransactionsResponseClass> {
|
|
439
|
+
return localVarFp.linkBankTransaction(code, linkBankTransactionRequestDtoRest, authorization, options).then((request) => request(axios, basePath));
|
|
419
440
|
},
|
|
420
441
|
/**
|
|
421
442
|
* Returns a list of bank transactions you have previously created. The bank transactions are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
@@ -423,27 +444,28 @@ export const BankTransactionApiFactory = function (configuration?: Configuration
|
|
|
423
444
|
* @param {string} [authorization] Bearer Token
|
|
424
445
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
425
446
|
* @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
426
|
-
* @param {any} [filter] Filter the response by one or multiple fields.
|
|
427
|
-
* @param {any} [search]
|
|
447
|
+
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, bankAccountId, bankAccountNumber, swiftMessageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked</i>
|
|
448
|
+
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
428
449
|
* @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
429
|
-
* @param {
|
|
450
|
+
* @param {'bankAccount' | 'transaction'} [expand] Expand the response with additional entities
|
|
430
451
|
* @param {any} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
|
|
431
452
|
* @param {*} [options] Override http request option.
|
|
432
453
|
* @throws {RequiredError}
|
|
433
454
|
*/
|
|
434
|
-
listBankTransactions(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?:
|
|
455
|
+
listBankTransactions(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: 'bankAccount' | 'transaction', filters?: any, options?: any): AxiosPromise<void> {
|
|
435
456
|
return localVarFp.listBankTransactions(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
|
|
436
457
|
},
|
|
437
458
|
/**
|
|
438
459
|
* Unlinks an already linked bank transaction
|
|
439
460
|
* @summary Unlink Bank Transaction
|
|
440
461
|
* @param {string} code Code of the bank transaction to unlink
|
|
462
|
+
* @param {UnlinkBankTransactionRequestDtoRest} unlinkBankTransactionRequestDtoRest
|
|
441
463
|
* @param {string} [authorization] Bearer Token
|
|
442
464
|
* @param {*} [options] Override http request option.
|
|
443
465
|
* @throws {RequiredError}
|
|
444
466
|
*/
|
|
445
|
-
unlinkBankTransaction(code: string, authorization?: string, options?: any): AxiosPromise<GetBankTransactionsResponseClass> {
|
|
446
|
-
return localVarFp.unlinkBankTransaction(code, authorization, options).then((request) => request(axios, basePath));
|
|
467
|
+
unlinkBankTransaction(code: string, unlinkBankTransactionRequestDtoRest: UnlinkBankTransactionRequestDtoRest, authorization?: string, options?: any): AxiosPromise<GetBankTransactionsResponseClass> {
|
|
468
|
+
return localVarFp.unlinkBankTransaction(code, unlinkBankTransactionRequestDtoRest, authorization, options).then((request) => request(axios, basePath));
|
|
447
469
|
},
|
|
448
470
|
};
|
|
449
471
|
};
|
|
@@ -483,18 +505,18 @@ export interface BankTransactionApiGetBankTransactionRequest {
|
|
|
483
505
|
*/
|
|
484
506
|
export interface BankTransactionApiImportBankTransactionsRequest {
|
|
485
507
|
/**
|
|
486
|
-
*
|
|
487
|
-
* @type {
|
|
508
|
+
* Swift MT940 file to import bank transactions from. Extension must be .txt or .sta.<br/> Allowed Content Types: text/plain, application/octet-stream
|
|
509
|
+
* @type {any}
|
|
488
510
|
* @memberof BankTransactionApiImportBankTransactions
|
|
489
511
|
*/
|
|
490
|
-
readonly
|
|
512
|
+
readonly file: any
|
|
491
513
|
|
|
492
514
|
/**
|
|
493
|
-
*
|
|
494
|
-
* @type {
|
|
515
|
+
* Bearer Token
|
|
516
|
+
* @type {string}
|
|
495
517
|
* @memberof BankTransactionApiImportBankTransactions
|
|
496
518
|
*/
|
|
497
|
-
readonly
|
|
519
|
+
readonly authorization?: string
|
|
498
520
|
}
|
|
499
521
|
|
|
500
522
|
/**
|
|
@@ -510,6 +532,13 @@ export interface BankTransactionApiLinkBankTransactionRequest {
|
|
|
510
532
|
*/
|
|
511
533
|
readonly code: string
|
|
512
534
|
|
|
535
|
+
/**
|
|
536
|
+
*
|
|
537
|
+
* @type {LinkBankTransactionRequestDtoRest}
|
|
538
|
+
* @memberof BankTransactionApiLinkBankTransaction
|
|
539
|
+
*/
|
|
540
|
+
readonly linkBankTransactionRequestDtoRest: LinkBankTransactionRequestDtoRest
|
|
541
|
+
|
|
513
542
|
/**
|
|
514
543
|
* Bearer Token
|
|
515
544
|
* @type {string}
|
|
@@ -546,14 +575,14 @@ export interface BankTransactionApiListBankTransactionsRequest {
|
|
|
546
575
|
readonly pageToken?: any
|
|
547
576
|
|
|
548
577
|
/**
|
|
549
|
-
* Filter the response by one or multiple fields.
|
|
578
|
+
* Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, bankAccountId, bankAccountNumber, swiftMessageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked</i>
|
|
550
579
|
* @type {any}
|
|
551
580
|
* @memberof BankTransactionApiListBankTransactions
|
|
552
581
|
*/
|
|
553
582
|
readonly filter?: any
|
|
554
583
|
|
|
555
584
|
/**
|
|
556
|
-
*
|
|
585
|
+
* To search the list by any field, pass search=xxx to fetch the result.
|
|
557
586
|
* @type {any}
|
|
558
587
|
* @memberof BankTransactionApiListBankTransactions
|
|
559
588
|
*/
|
|
@@ -568,10 +597,10 @@ export interface BankTransactionApiListBankTransactionsRequest {
|
|
|
568
597
|
|
|
569
598
|
/**
|
|
570
599
|
* Expand the response with additional entities
|
|
571
|
-
* @type {
|
|
600
|
+
* @type {'bankAccount' | 'transaction'}
|
|
572
601
|
* @memberof BankTransactionApiListBankTransactions
|
|
573
602
|
*/
|
|
574
|
-
readonly expand?:
|
|
603
|
+
readonly expand?: 'bankAccount' | 'transaction'
|
|
575
604
|
|
|
576
605
|
/**
|
|
577
606
|
* Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
|
|
@@ -594,6 +623,13 @@ export interface BankTransactionApiUnlinkBankTransactionRequest {
|
|
|
594
623
|
*/
|
|
595
624
|
readonly code: string
|
|
596
625
|
|
|
626
|
+
/**
|
|
627
|
+
*
|
|
628
|
+
* @type {UnlinkBankTransactionRequestDtoRest}
|
|
629
|
+
* @memberof BankTransactionApiUnlinkBankTransaction
|
|
630
|
+
*/
|
|
631
|
+
readonly unlinkBankTransactionRequestDtoRest: UnlinkBankTransactionRequestDtoRest
|
|
632
|
+
|
|
597
633
|
/**
|
|
598
634
|
* Bearer Token
|
|
599
635
|
* @type {string}
|
|
@@ -629,8 +665,8 @@ export class BankTransactionApi extends BaseAPI {
|
|
|
629
665
|
* @throws {RequiredError}
|
|
630
666
|
* @memberof BankTransactionApi
|
|
631
667
|
*/
|
|
632
|
-
public importBankTransactions(requestParameters: BankTransactionApiImportBankTransactionsRequest
|
|
633
|
-
return BankTransactionApiFp(this.configuration).importBankTransactions(requestParameters.
|
|
668
|
+
public importBankTransactions(requestParameters: BankTransactionApiImportBankTransactionsRequest, options?: AxiosRequestConfig) {
|
|
669
|
+
return BankTransactionApiFp(this.configuration).importBankTransactions(requestParameters.file, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
634
670
|
}
|
|
635
671
|
|
|
636
672
|
/**
|
|
@@ -642,7 +678,7 @@ export class BankTransactionApi extends BaseAPI {
|
|
|
642
678
|
* @memberof BankTransactionApi
|
|
643
679
|
*/
|
|
644
680
|
public linkBankTransaction(requestParameters: BankTransactionApiLinkBankTransactionRequest, options?: AxiosRequestConfig) {
|
|
645
|
-
return BankTransactionApiFp(this.configuration).linkBankTransaction(requestParameters.code, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
681
|
+
return BankTransactionApiFp(this.configuration).linkBankTransaction(requestParameters.code, requestParameters.linkBankTransactionRequestDtoRest, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
646
682
|
}
|
|
647
683
|
|
|
648
684
|
/**
|
|
@@ -666,6 +702,6 @@ export class BankTransactionApi extends BaseAPI {
|
|
|
666
702
|
* @memberof BankTransactionApi
|
|
667
703
|
*/
|
|
668
704
|
public unlinkBankTransaction(requestParameters: BankTransactionApiUnlinkBankTransactionRequest, options?: AxiosRequestConfig) {
|
|
669
|
-
return BankTransactionApiFp(this.configuration).unlinkBankTransaction(requestParameters.code, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
705
|
+
return BankTransactionApiFp(this.configuration).unlinkBankTransaction(requestParameters.code, requestParameters.unlinkBankTransactionRequestDtoRest, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
670
706
|
}
|
|
671
707
|
}
|
package/api/default-api.ts
CHANGED
|
@@ -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
|
|
@@ -190,7 +190,7 @@ export const PaymentMethodsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
190
190
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
191
191
|
* @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.
|
|
192
192
|
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
193
|
-
* @param {any} [search]
|
|
193
|
+
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
194
194
|
* @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.
|
|
195
195
|
* @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.
|
|
196
196
|
* @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.
|
|
@@ -314,7 +314,7 @@ export const PaymentMethodsApiFp = function(configuration?: Configuration) {
|
|
|
314
314
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
315
315
|
* @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.
|
|
316
316
|
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
317
|
-
* @param {any} [search]
|
|
317
|
+
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
318
318
|
* @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.
|
|
319
319
|
* @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.
|
|
320
320
|
* @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.
|
|
@@ -377,7 +377,7 @@ export const PaymentMethodsApiFactory = function (configuration?: Configuration,
|
|
|
377
377
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
378
378
|
* @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.
|
|
379
379
|
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
380
|
-
* @param {any} [search]
|
|
380
|
+
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
381
381
|
* @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.
|
|
382
382
|
* @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.
|
|
383
383
|
* @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.
|
|
@@ -502,7 +502,7 @@ export interface PaymentMethodsApiListPaymentMethodsRequest {
|
|
|
502
502
|
readonly filter?: any
|
|
503
503
|
|
|
504
504
|
/**
|
|
505
|
-
*
|
|
505
|
+
* To search the list by any field, pass search=xxx to fetch the result.
|
|
506
506
|
* @type {any}
|
|
507
507
|
* @memberof PaymentMethodsApiListPaymentMethods
|
|
508
508
|
*/
|
|
@@ -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
|
|
@@ -180,7 +180,7 @@ export const PaymentRemindersApiAxiosParamCreator = function (configuration?: Co
|
|
|
180
180
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
181
181
|
* @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.
|
|
182
182
|
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
183
|
-
* @param {any} [search]
|
|
183
|
+
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
184
184
|
* @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
185
185
|
* @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.
|
|
186
186
|
* @param {any} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
|
|
@@ -303,7 +303,7 @@ export const PaymentRemindersApiFp = function(configuration?: Configuration) {
|
|
|
303
303
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
304
304
|
* @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.
|
|
305
305
|
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
306
|
-
* @param {any} [search]
|
|
306
|
+
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
307
307
|
* @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.
|
|
308
308
|
* @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.
|
|
309
309
|
* @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.
|
|
@@ -365,7 +365,7 @@ export const PaymentRemindersApiFactory = function (configuration?: Configuratio
|
|
|
365
365
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
366
366
|
* @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.
|
|
367
367
|
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
368
|
-
* @param {any} [search]
|
|
368
|
+
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
369
369
|
* @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.
|
|
370
370
|
* @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.
|
|
371
371
|
* @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.
|
|
@@ -483,7 +483,7 @@ export interface PaymentRemindersApiListPaymentRemindersRequest {
|
|
|
483
483
|
readonly filter?: any
|
|
484
484
|
|
|
485
485
|
/**
|
|
486
|
-
*
|
|
486
|
+
* To search the list by any field, pass search=xxx to fetch the result.
|
|
487
487
|
* @type {any}
|
|
488
488
|
* @memberof PaymentRemindersApiListPaymentReminders
|
|
489
489
|
*/
|
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
|