@emilgroup/payment-sdk 1.4.1-beta.0 → 1.4.1-beta.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +2 -0
- package/README.md +2 -2
- package/api/bank-accounts-api.ts +21 -7
- package/api/bank-transaction-api.ts +77 -29
- package/api/default-api.ts +1 -1
- package/api/payment-methods-api.ts +21 -7
- package/api/payment-reminders-api.ts +21 -7
- package/api/payment-setup-api.ts +1 -1
- package/api/payments-api.ts +21 -7
- package/api/refunds-api.ts +21 -7
- package/api/tenant-bank-account-api.ts +69 -35
- 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 +13 -4
- package/dist/api/bank-accounts-api.js +13 -7
- package/dist/api/bank-transaction-api.d.ts +48 -19
- package/dist/api/bank-transaction-api.js +45 -26
- 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 +13 -4
- package/dist/api/payment-methods-api.js +13 -7
- package/dist/api/payment-reminders-api.d.ts +13 -4
- package/dist/api/payment-reminders-api.js +13 -7
- 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 +13 -4
- package/dist/api/payments-api.js +13 -7
- package/dist/api/refunds-api.d.ts +13 -4
- package/dist/api/refunds-api.js +13 -7
- package/dist/api/tenant-bank-account-api.d.ts +61 -32
- package/dist/api/tenant-bank-account-api.js +56 -30
- package/dist/api/webhooks-api.d.ts +1 -1
- package/dist/api/webhooks-api.js +1 -1
- package/dist/api.d.ts +1 -1
- package/dist/api.js +1 -1
- package/dist/base.d.ts +1 -1
- package/dist/base.js +1 -1
- package/dist/common.d.ts +2 -2
- package/dist/common.js +1 -1
- package/dist/configuration.d.ts +1 -1
- package/dist/configuration.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/models/bank-transaction-response-class.d.ts +7 -1
- package/dist/models/bank-transaction-response-class.js +1 -1
- package/dist/models/create-payment-reminder-request-dto.d.ts +1 -1
- package/dist/models/create-payment-reminder-request-dto.js +1 -1
- package/dist/models/create-payment-request-dto.d.ts +1 -1
- package/dist/models/create-payment-request-dto.js +1 -1
- package/dist/models/create-refund-request-dto.d.ts +1 -1
- package/dist/models/create-refund-request-dto.js +1 -1
- package/dist/models/create-refund-response-class.d.ts +1 -1
- package/dist/models/create-refund-response-class.js +1 -1
- package/dist/models/create-tenant-bank-account-request-dto.d.ts +1 -1
- package/dist/models/create-tenant-bank-account-request-dto.js +1 -1
- package/dist/models/deactivate-payment-reminder-request-dto.d.ts +1 -1
- package/dist/models/deactivate-payment-reminder-request-dto.js +1 -1
- package/dist/models/get-bank-transactions-response-class.d.ts +1 -1
- package/dist/models/get-bank-transactions-response-class.js +1 -1
- package/dist/models/get-refund-response-class.d.ts +1 -1
- package/dist/models/get-refund-response-class.js +1 -1
- package/dist/models/get-request-dto.d.ts +1 -1
- package/dist/models/get-request-dto.js +1 -1
- package/dist/models/get-tenant-bank-account-response-class.d.ts +1 -1
- package/dist/models/get-tenant-bank-account-response-class.js +1 -1
- package/dist/models/index.d.ts +2 -0
- package/dist/models/index.js +2 -0
- package/dist/models/inline-response200.d.ts +1 -1
- package/dist/models/inline-response200.js +1 -1
- package/dist/models/inline-response503.d.ts +1 -1
- package/dist/models/inline-response503.js +1 -1
- package/dist/models/link-bank-transaction-request-dto-rest.d.ts +24 -0
- package/dist/models/link-bank-transaction-request-dto-rest.js +15 -0
- package/dist/models/list-bank-transactions-response-class.d.ts +1 -1
- package/dist/models/list-bank-transactions-response-class.js +1 -1
- package/dist/models/list-refunds-response-class.d.ts +1 -1
- package/dist/models/list-refunds-response-class.js +1 -1
- package/dist/models/refund-class.d.ts +1 -1
- package/dist/models/refund-class.js +1 -1
- package/dist/models/tenant-bank-account-response-class.d.ts +1 -1
- package/dist/models/tenant-bank-account-response-class.js +1 -1
- package/dist/models/transaction-class.d.ts +1 -1
- package/dist/models/transaction-class.js +1 -1
- package/dist/models/unlink-bank-transaction-request-dto-rest.d.ts +24 -0
- package/dist/models/unlink-bank-transaction-request-dto-rest.js +15 -0
- package/dist/models/update-tenant-bank-account-rest-request-dto.d.ts +1 -1
- package/dist/models/update-tenant-bank-account-rest-request-dto.js +1 -1
- package/dist/models/validate-pspconfig-request-dto.d.ts +1 -1
- package/dist/models/validate-pspconfig-request-dto.js +1 -1
- package/index.ts +1 -1
- package/models/bank-transaction-response-class.ts +7 -1
- package/models/create-payment-reminder-request-dto.ts +1 -1
- package/models/create-payment-request-dto.ts +1 -1
- package/models/create-refund-request-dto.ts +1 -1
- package/models/create-refund-response-class.ts +1 -1
- package/models/create-tenant-bank-account-request-dto.ts +1 -1
- package/models/deactivate-payment-reminder-request-dto.ts +1 -1
- package/models/get-bank-transactions-response-class.ts +1 -1
- package/models/get-refund-response-class.ts +1 -1
- package/models/get-request-dto.ts +1 -1
- package/models/get-tenant-bank-account-response-class.ts +1 -1
- package/models/index.ts +2 -0
- package/models/inline-response200.ts +1 -1
- package/models/inline-response503.ts +1 -1
- package/models/link-bank-transaction-request-dto-rest.ts +30 -0
- package/models/list-bank-transactions-response-class.ts +1 -1
- package/models/list-refunds-response-class.ts +1 -1
- package/models/refund-class.ts +1 -1
- package/models/tenant-bank-account-response-class.ts +1 -1
- package/models/transaction-class.ts +1 -1
- package/models/unlink-bank-transaction-request-dto-rest.ts +30 -0
- package/models/update-tenant-bank-account-rest-request-dto.ts +1 -1
- package/models/validate-pspconfig-request-dto.ts +1 -1
- package/package.json +1 -1
package/api/payments-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
|
|
@@ -154,10 +154,11 @@ export const PaymentsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
154
154
|
* @param {any} [search] Search the list by any field. For instance, if you want to search by code add code=xxx in order to fetch the result.
|
|
155
155
|
* @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.
|
|
156
156
|
* @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.
|
|
157
|
+
* @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.
|
|
157
158
|
* @param {*} [options] Override http request option.
|
|
158
159
|
* @throws {RequiredError}
|
|
159
160
|
*/
|
|
160
|
-
listPayments: async (authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
161
|
+
listPayments: async (authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
161
162
|
const localVarPath = `/paymentservice/v1/payments`;
|
|
162
163
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
163
164
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -200,6 +201,10 @@ export const PaymentsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
200
201
|
localVarQueryParameter['expand'] = expand;
|
|
201
202
|
}
|
|
202
203
|
|
|
204
|
+
if (filters !== undefined) {
|
|
205
|
+
localVarQueryParameter['filters'] = filters;
|
|
206
|
+
}
|
|
207
|
+
|
|
203
208
|
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
204
209
|
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
205
210
|
}
|
|
@@ -262,11 +267,12 @@ export const PaymentsApiFp = function(configuration?: Configuration) {
|
|
|
262
267
|
* @param {any} [search] Search the list by any field. For instance, if you want to search by code add code=xxx in order to fetch the result.
|
|
263
268
|
* @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.
|
|
264
269
|
* @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.
|
|
270
|
+
* @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.
|
|
265
271
|
* @param {*} [options] Override http request option.
|
|
266
272
|
* @throws {RequiredError}
|
|
267
273
|
*/
|
|
268
|
-
async listPayments(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
269
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listPayments(authorization, pageSize, pageToken, filter, search, order, expand, options);
|
|
274
|
+
async listPayments(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
275
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listPayments(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
|
|
270
276
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
271
277
|
},
|
|
272
278
|
}
|
|
@@ -314,11 +320,12 @@ export const PaymentsApiFactory = function (configuration?: Configuration, baseP
|
|
|
314
320
|
* @param {any} [search] Search the list by any field. For instance, if you want to search by code add code=xxx in order to fetch the result.
|
|
315
321
|
* @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.
|
|
316
322
|
* @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.
|
|
323
|
+
* @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.
|
|
317
324
|
* @param {*} [options] Override http request option.
|
|
318
325
|
* @throws {RequiredError}
|
|
319
326
|
*/
|
|
320
|
-
listPayments(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: any): AxiosPromise<void> {
|
|
321
|
-
return localVarFp.listPayments(authorization, pageSize, pageToken, filter, search, order, expand, options).then((request) => request(axios, basePath));
|
|
327
|
+
listPayments(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options?: any): AxiosPromise<void> {
|
|
328
|
+
return localVarFp.listPayments(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
|
|
322
329
|
},
|
|
323
330
|
};
|
|
324
331
|
};
|
|
@@ -440,6 +447,13 @@ export interface PaymentsApiListPaymentsRequest {
|
|
|
440
447
|
* @memberof PaymentsApiListPayments
|
|
441
448
|
*/
|
|
442
449
|
readonly expand?: any
|
|
450
|
+
|
|
451
|
+
/**
|
|
452
|
+
* 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.
|
|
453
|
+
* @type {any}
|
|
454
|
+
* @memberof PaymentsApiListPayments
|
|
455
|
+
*/
|
|
456
|
+
readonly filters?: any
|
|
443
457
|
}
|
|
444
458
|
|
|
445
459
|
/**
|
|
@@ -482,6 +496,6 @@ export class PaymentsApi extends BaseAPI {
|
|
|
482
496
|
* @memberof PaymentsApi
|
|
483
497
|
*/
|
|
484
498
|
public listPayments(requestParameters: PaymentsApiListPaymentsRequest = {}, options?: AxiosRequestConfig) {
|
|
485
|
-
return PaymentsApiFp(this.configuration).listPayments(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, options).then((request) => request(this.axios, this.basePath));
|
|
499
|
+
return PaymentsApiFp(this.configuration).listPayments(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then((request) => request(this.axios, this.basePath));
|
|
486
500
|
}
|
|
487
501
|
}
|
package/api/refunds-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
|
|
@@ -147,10 +147,11 @@ export const RefundsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
147
147
|
* @param {any} [search] Search the list by any field. For instance, if you want to search by code add code=xxx in order to fetch the result.
|
|
148
148
|
* @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.
|
|
149
149
|
* @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.
|
|
150
|
+
* @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.
|
|
150
151
|
* @param {*} [options] Override http request option.
|
|
151
152
|
* @throws {RequiredError}
|
|
152
153
|
*/
|
|
153
|
-
listRefunds: async (authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
154
|
+
listRefunds: async (authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
154
155
|
const localVarPath = `/paymentservice/v1/refunds`;
|
|
155
156
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
156
157
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -193,6 +194,10 @@ export const RefundsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
193
194
|
localVarQueryParameter['expand'] = expand;
|
|
194
195
|
}
|
|
195
196
|
|
|
197
|
+
if (filters !== undefined) {
|
|
198
|
+
localVarQueryParameter['filters'] = filters;
|
|
199
|
+
}
|
|
200
|
+
|
|
196
201
|
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
197
202
|
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
198
203
|
}
|
|
@@ -251,11 +256,12 @@ export const RefundsApiFp = function(configuration?: Configuration) {
|
|
|
251
256
|
* @param {any} [search] Search the list by any field. For instance, if you want to search by code add code=xxx in order to fetch the result.
|
|
252
257
|
* @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.
|
|
253
258
|
* @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.
|
|
259
|
+
* @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.
|
|
254
260
|
* @param {*} [options] Override http request option.
|
|
255
261
|
* @throws {RequiredError}
|
|
256
262
|
*/
|
|
257
|
-
async listRefunds(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListRefundsResponseClass>> {
|
|
258
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listRefunds(authorization, pageSize, pageToken, filter, search, order, expand, options);
|
|
263
|
+
async listRefunds(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListRefundsResponseClass>> {
|
|
264
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listRefunds(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
|
|
259
265
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
260
266
|
},
|
|
261
267
|
}
|
|
@@ -299,11 +305,12 @@ export const RefundsApiFactory = function (configuration?: Configuration, basePa
|
|
|
299
305
|
* @param {any} [search] Search the list by any field. For instance, if you want to search by code add code=xxx in order to fetch the result.
|
|
300
306
|
* @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.
|
|
301
307
|
* @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.
|
|
308
|
+
* @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.
|
|
302
309
|
* @param {*} [options] Override http request option.
|
|
303
310
|
* @throws {RequiredError}
|
|
304
311
|
*/
|
|
305
|
-
listRefunds(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: any): AxiosPromise<ListRefundsResponseClass> {
|
|
306
|
-
return localVarFp.listRefunds(authorization, pageSize, pageToken, filter, search, order, expand, options).then((request) => request(axios, basePath));
|
|
312
|
+
listRefunds(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options?: any): AxiosPromise<ListRefundsResponseClass> {
|
|
313
|
+
return localVarFp.listRefunds(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
|
|
307
314
|
},
|
|
308
315
|
};
|
|
309
316
|
};
|
|
@@ -418,6 +425,13 @@ export interface RefundsApiListRefundsRequest {
|
|
|
418
425
|
* @memberof RefundsApiListRefunds
|
|
419
426
|
*/
|
|
420
427
|
readonly expand?: any
|
|
428
|
+
|
|
429
|
+
/**
|
|
430
|
+
* 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
|
+
* @type {any}
|
|
432
|
+
* @memberof RefundsApiListRefunds
|
|
433
|
+
*/
|
|
434
|
+
readonly filters?: any
|
|
421
435
|
}
|
|
422
436
|
|
|
423
437
|
/**
|
|
@@ -457,6 +471,6 @@ export class RefundsApi extends BaseAPI {
|
|
|
457
471
|
* @memberof RefundsApi
|
|
458
472
|
*/
|
|
459
473
|
public listRefunds(requestParameters: RefundsApiListRefundsRequest = {}, options?: AxiosRequestConfig) {
|
|
460
|
-
return RefundsApiFp(this.configuration).listRefunds(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, options).then((request) => request(this.axios, this.basePath));
|
|
474
|
+
return RefundsApiFp(this.configuration).listRefunds(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then((request) => request(this.axios, this.basePath));
|
|
461
475
|
}
|
|
462
476
|
}
|
|
@@ -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
|
|
@@ -33,7 +33,8 @@ import { UpdateTenantBankAccountRestRequestDto } from '../models';
|
|
|
33
33
|
export const TenantBankAccountApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
34
34
|
return {
|
|
35
35
|
/**
|
|
36
|
-
*
|
|
36
|
+
* Create a new tenant bank account
|
|
37
|
+
* @summary Create the Create Tenant Bank Account
|
|
37
38
|
* @param {CreateTenantBankAccountRequestDto} createTenantBankAccountRequestDto
|
|
38
39
|
* @param {string} [authorization] Bearer Token
|
|
39
40
|
* @param {*} [options] Override http request option.
|
|
@@ -79,7 +80,8 @@ export const TenantBankAccountApiAxiosParamCreator = function (configuration?: C
|
|
|
79
80
|
};
|
|
80
81
|
},
|
|
81
82
|
/**
|
|
82
|
-
*
|
|
83
|
+
* Deletes a tenant bank account by code
|
|
84
|
+
* @summary Deletes a tenant bank account
|
|
83
85
|
* @param {string} code Unique identifier for the object.
|
|
84
86
|
* @param {string} [authorization] Bearer Token
|
|
85
87
|
* @param {*} [options] Override http request option.
|
|
@@ -123,14 +125,15 @@ export const TenantBankAccountApiAxiosParamCreator = function (configuration?: C
|
|
|
123
125
|
};
|
|
124
126
|
},
|
|
125
127
|
/**
|
|
126
|
-
*
|
|
128
|
+
* Retrieves the details of the Bank Transaction that was previously created. Supply the unique Bank Transaction code that was returned when you created it and Emil Api will return the corresponding Bank Transaction information.
|
|
129
|
+
* @summary Retrieve the Bank Transaction
|
|
127
130
|
* @param {string} code Unique identifier for the object.
|
|
128
131
|
* @param {string} [authorization] Bearer Token
|
|
129
|
-
* @param {
|
|
132
|
+
* @param {'bankTransactions'} [expand] Expand the response with additional entities
|
|
130
133
|
* @param {*} [options] Override http request option.
|
|
131
134
|
* @throws {RequiredError}
|
|
132
135
|
*/
|
|
133
|
-
getTenantBankAccount: async (code: string, authorization?: string, expand?:
|
|
136
|
+
getTenantBankAccount: async (code: string, authorization?: string, expand?: 'bankTransactions', options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
134
137
|
// verify required parameter 'code' is not null or undefined
|
|
135
138
|
assertParamExists('getTenantBankAccount', 'code', code)
|
|
136
139
|
const localVarPath = `/paymentservice/v1/tenant/bank-accounts/{code}`
|
|
@@ -172,7 +175,8 @@ export const TenantBankAccountApiAxiosParamCreator = function (configuration?: C
|
|
|
172
175
|
};
|
|
173
176
|
},
|
|
174
177
|
/**
|
|
175
|
-
*
|
|
178
|
+
* Returns a list of Tenant Bank Accounts you have previously created. The Tenant Bank Accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
179
|
+
* @summary List Tenant Bank Accounts
|
|
176
180
|
* @param {string} [authorization] Bearer Token
|
|
177
181
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
178
182
|
* @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,10 +184,11 @@ export const TenantBankAccountApiAxiosParamCreator = function (configuration?: C
|
|
|
180
184
|
* @param {any} [search] Search the list by any field. For instance, if you want to search by code add code=xxx in order to fetch the result.
|
|
181
185
|
* @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.
|
|
182
186
|
* @param {string} [expand] Expand the response with additional entities
|
|
187
|
+
* @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.
|
|
183
188
|
* @param {*} [options] Override http request option.
|
|
184
189
|
* @throws {RequiredError}
|
|
185
190
|
*/
|
|
186
|
-
listTenantBankAccounts: async (authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
191
|
+
listTenantBankAccounts: async (authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: string, filters?: any, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
187
192
|
const localVarPath = `/paymentservice/v1/tenant/bank-accounts`;
|
|
188
193
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
189
194
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -226,6 +231,10 @@ export const TenantBankAccountApiAxiosParamCreator = function (configuration?: C
|
|
|
226
231
|
localVarQueryParameter['expand'] = expand;
|
|
227
232
|
}
|
|
228
233
|
|
|
234
|
+
if (filters !== undefined) {
|
|
235
|
+
localVarQueryParameter['filters'] = filters;
|
|
236
|
+
}
|
|
237
|
+
|
|
229
238
|
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
230
239
|
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
231
240
|
}
|
|
@@ -242,7 +251,8 @@ export const TenantBankAccountApiAxiosParamCreator = function (configuration?: C
|
|
|
242
251
|
};
|
|
243
252
|
},
|
|
244
253
|
/**
|
|
245
|
-
*
|
|
254
|
+
* Update a tenant bank account by code
|
|
255
|
+
* @summary Update a tenant bank account
|
|
246
256
|
* @param {string} code Unique identifier for the object.
|
|
247
257
|
* @param {UpdateTenantBankAccountRestRequestDto} updateTenantBankAccountRestRequestDto
|
|
248
258
|
* @param {string} [authorization] Bearer Token
|
|
@@ -302,7 +312,8 @@ export const TenantBankAccountApiFp = function(configuration?: Configuration) {
|
|
|
302
312
|
const localVarAxiosParamCreator = TenantBankAccountApiAxiosParamCreator(configuration)
|
|
303
313
|
return {
|
|
304
314
|
/**
|
|
305
|
-
*
|
|
315
|
+
* Create a new tenant bank account
|
|
316
|
+
* @summary Create the Create Tenant Bank Account
|
|
306
317
|
* @param {CreateTenantBankAccountRequestDto} createTenantBankAccountRequestDto
|
|
307
318
|
* @param {string} [authorization] Bearer Token
|
|
308
319
|
* @param {*} [options] Override http request option.
|
|
@@ -313,7 +324,8 @@ export const TenantBankAccountApiFp = function(configuration?: Configuration) {
|
|
|
313
324
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
314
325
|
},
|
|
315
326
|
/**
|
|
316
|
-
*
|
|
327
|
+
* Deletes a tenant bank account by code
|
|
328
|
+
* @summary Deletes a tenant bank account
|
|
317
329
|
* @param {string} code Unique identifier for the object.
|
|
318
330
|
* @param {string} [authorization] Bearer Token
|
|
319
331
|
* @param {*} [options] Override http request option.
|
|
@@ -324,19 +336,21 @@ export const TenantBankAccountApiFp = function(configuration?: Configuration) {
|
|
|
324
336
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
325
337
|
},
|
|
326
338
|
/**
|
|
327
|
-
*
|
|
339
|
+
* Retrieves the details of the Bank Transaction that was previously created. Supply the unique Bank Transaction code that was returned when you created it and Emil Api will return the corresponding Bank Transaction information.
|
|
340
|
+
* @summary Retrieve the Bank Transaction
|
|
328
341
|
* @param {string} code Unique identifier for the object.
|
|
329
342
|
* @param {string} [authorization] Bearer Token
|
|
330
|
-
* @param {
|
|
343
|
+
* @param {'bankTransactions'} [expand] Expand the response with additional entities
|
|
331
344
|
* @param {*} [options] Override http request option.
|
|
332
345
|
* @throws {RequiredError}
|
|
333
346
|
*/
|
|
334
|
-
async getTenantBankAccount(code: string, authorization?: string, expand?:
|
|
347
|
+
async getTenantBankAccount(code: string, authorization?: string, expand?: 'bankTransactions', options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetTenantBankAccountResponseClass>> {
|
|
335
348
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getTenantBankAccount(code, authorization, expand, options);
|
|
336
349
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
337
350
|
},
|
|
338
351
|
/**
|
|
339
|
-
*
|
|
352
|
+
* Returns a list of Tenant Bank Accounts you have previously created. The Tenant Bank Accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
353
|
+
* @summary List Tenant Bank Accounts
|
|
340
354
|
* @param {string} [authorization] Bearer Token
|
|
341
355
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
342
356
|
* @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.
|
|
@@ -344,15 +358,17 @@ export const TenantBankAccountApiFp = function(configuration?: Configuration) {
|
|
|
344
358
|
* @param {any} [search] Search the list by any field. For instance, if you want to search by code add code=xxx in order to fetch the result.
|
|
345
359
|
* @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.
|
|
346
360
|
* @param {string} [expand] Expand the response with additional entities
|
|
361
|
+
* @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.
|
|
347
362
|
* @param {*} [options] Override http request option.
|
|
348
363
|
* @throws {RequiredError}
|
|
349
364
|
*/
|
|
350
|
-
async listTenantBankAccounts(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
351
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listTenantBankAccounts(authorization, pageSize, pageToken, filter, search, order, expand, options);
|
|
365
|
+
async listTenantBankAccounts(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: string, filters?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
366
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listTenantBankAccounts(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
|
|
352
367
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
353
368
|
},
|
|
354
369
|
/**
|
|
355
|
-
*
|
|
370
|
+
* Update a tenant bank account by code
|
|
371
|
+
* @summary Update a tenant bank account
|
|
356
372
|
* @param {string} code Unique identifier for the object.
|
|
357
373
|
* @param {UpdateTenantBankAccountRestRequestDto} updateTenantBankAccountRestRequestDto
|
|
358
374
|
* @param {string} [authorization] Bearer Token
|
|
@@ -374,7 +390,8 @@ export const TenantBankAccountApiFactory = function (configuration?: Configurati
|
|
|
374
390
|
const localVarFp = TenantBankAccountApiFp(configuration)
|
|
375
391
|
return {
|
|
376
392
|
/**
|
|
377
|
-
*
|
|
393
|
+
* Create a new tenant bank account
|
|
394
|
+
* @summary Create the Create Tenant Bank Account
|
|
378
395
|
* @param {CreateTenantBankAccountRequestDto} createTenantBankAccountRequestDto
|
|
379
396
|
* @param {string} [authorization] Bearer Token
|
|
380
397
|
* @param {*} [options] Override http request option.
|
|
@@ -384,7 +401,8 @@ export const TenantBankAccountApiFactory = function (configuration?: Configurati
|
|
|
384
401
|
return localVarFp.createTenantBankAccount(createTenantBankAccountRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
385
402
|
},
|
|
386
403
|
/**
|
|
387
|
-
*
|
|
404
|
+
* Deletes a tenant bank account by code
|
|
405
|
+
* @summary Deletes a tenant bank account
|
|
388
406
|
* @param {string} code Unique identifier for the object.
|
|
389
407
|
* @param {string} [authorization] Bearer Token
|
|
390
408
|
* @param {*} [options] Override http request option.
|
|
@@ -394,18 +412,20 @@ export const TenantBankAccountApiFactory = function (configuration?: Configurati
|
|
|
394
412
|
return localVarFp.deleteTenantBankAccount(code, authorization, options).then((request) => request(axios, basePath));
|
|
395
413
|
},
|
|
396
414
|
/**
|
|
397
|
-
*
|
|
415
|
+
* Retrieves the details of the Bank Transaction that was previously created. Supply the unique Bank Transaction code that was returned when you created it and Emil Api will return the corresponding Bank Transaction information.
|
|
416
|
+
* @summary Retrieve the Bank Transaction
|
|
398
417
|
* @param {string} code Unique identifier for the object.
|
|
399
418
|
* @param {string} [authorization] Bearer Token
|
|
400
|
-
* @param {
|
|
419
|
+
* @param {'bankTransactions'} [expand] Expand the response with additional entities
|
|
401
420
|
* @param {*} [options] Override http request option.
|
|
402
421
|
* @throws {RequiredError}
|
|
403
422
|
*/
|
|
404
|
-
getTenantBankAccount(code: string, authorization?: string, expand?:
|
|
423
|
+
getTenantBankAccount(code: string, authorization?: string, expand?: 'bankTransactions', options?: any): AxiosPromise<GetTenantBankAccountResponseClass> {
|
|
405
424
|
return localVarFp.getTenantBankAccount(code, authorization, expand, options).then((request) => request(axios, basePath));
|
|
406
425
|
},
|
|
407
426
|
/**
|
|
408
|
-
*
|
|
427
|
+
* Returns a list of Tenant Bank Accounts you have previously created. The Tenant Bank Accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
428
|
+
* @summary List Tenant Bank Accounts
|
|
409
429
|
* @param {string} [authorization] Bearer Token
|
|
410
430
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
411
431
|
* @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.
|
|
@@ -413,14 +433,16 @@ export const TenantBankAccountApiFactory = function (configuration?: Configurati
|
|
|
413
433
|
* @param {any} [search] Search the list by any field. For instance, if you want to search by code add code=xxx in order to fetch the result.
|
|
414
434
|
* @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.
|
|
415
435
|
* @param {string} [expand] Expand the response with additional entities
|
|
436
|
+
* @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.
|
|
416
437
|
* @param {*} [options] Override http request option.
|
|
417
438
|
* @throws {RequiredError}
|
|
418
439
|
*/
|
|
419
|
-
listTenantBankAccounts(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: string, options?: any): AxiosPromise<void> {
|
|
420
|
-
return localVarFp.listTenantBankAccounts(authorization, pageSize, pageToken, filter, search, order, expand, options).then((request) => request(axios, basePath));
|
|
440
|
+
listTenantBankAccounts(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: string, filters?: any, options?: any): AxiosPromise<void> {
|
|
441
|
+
return localVarFp.listTenantBankAccounts(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
|
|
421
442
|
},
|
|
422
443
|
/**
|
|
423
|
-
*
|
|
444
|
+
* Update a tenant bank account by code
|
|
445
|
+
* @summary Update a tenant bank account
|
|
424
446
|
* @param {string} code Unique identifier for the object.
|
|
425
447
|
* @param {UpdateTenantBankAccountRestRequestDto} updateTenantBankAccountRestRequestDto
|
|
426
448
|
* @param {string} [authorization] Bearer Token
|
|
@@ -497,10 +519,10 @@ export interface TenantBankAccountApiGetTenantBankAccountRequest {
|
|
|
497
519
|
|
|
498
520
|
/**
|
|
499
521
|
* Expand the response with additional entities
|
|
500
|
-
* @type {
|
|
522
|
+
* @type {'bankTransactions'}
|
|
501
523
|
* @memberof TenantBankAccountApiGetTenantBankAccount
|
|
502
524
|
*/
|
|
503
|
-
readonly expand?:
|
|
525
|
+
readonly expand?: 'bankTransactions'
|
|
504
526
|
}
|
|
505
527
|
|
|
506
528
|
/**
|
|
@@ -557,6 +579,13 @@ export interface TenantBankAccountApiListTenantBankAccountsRequest {
|
|
|
557
579
|
* @memberof TenantBankAccountApiListTenantBankAccounts
|
|
558
580
|
*/
|
|
559
581
|
readonly expand?: string
|
|
582
|
+
|
|
583
|
+
/**
|
|
584
|
+
* 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.
|
|
585
|
+
* @type {any}
|
|
586
|
+
* @memberof TenantBankAccountApiListTenantBankAccounts
|
|
587
|
+
*/
|
|
588
|
+
readonly filters?: any
|
|
560
589
|
}
|
|
561
590
|
|
|
562
591
|
/**
|
|
@@ -595,7 +624,8 @@ export interface TenantBankAccountApiUpdateTenantBankAccountRequest {
|
|
|
595
624
|
*/
|
|
596
625
|
export class TenantBankAccountApi extends BaseAPI {
|
|
597
626
|
/**
|
|
598
|
-
*
|
|
627
|
+
* Create a new tenant bank account
|
|
628
|
+
* @summary Create the Create Tenant Bank Account
|
|
599
629
|
* @param {TenantBankAccountApiCreateTenantBankAccountRequest} requestParameters Request parameters.
|
|
600
630
|
* @param {*} [options] Override http request option.
|
|
601
631
|
* @throws {RequiredError}
|
|
@@ -606,7 +636,8 @@ export class TenantBankAccountApi extends BaseAPI {
|
|
|
606
636
|
}
|
|
607
637
|
|
|
608
638
|
/**
|
|
609
|
-
*
|
|
639
|
+
* Deletes a tenant bank account by code
|
|
640
|
+
* @summary Deletes a tenant bank account
|
|
610
641
|
* @param {TenantBankAccountApiDeleteTenantBankAccountRequest} requestParameters Request parameters.
|
|
611
642
|
* @param {*} [options] Override http request option.
|
|
612
643
|
* @throws {RequiredError}
|
|
@@ -617,7 +648,8 @@ export class TenantBankAccountApi extends BaseAPI {
|
|
|
617
648
|
}
|
|
618
649
|
|
|
619
650
|
/**
|
|
620
|
-
*
|
|
651
|
+
* Retrieves the details of the Bank Transaction that was previously created. Supply the unique Bank Transaction code that was returned when you created it and Emil Api will return the corresponding Bank Transaction information.
|
|
652
|
+
* @summary Retrieve the Bank Transaction
|
|
621
653
|
* @param {TenantBankAccountApiGetTenantBankAccountRequest} requestParameters Request parameters.
|
|
622
654
|
* @param {*} [options] Override http request option.
|
|
623
655
|
* @throws {RequiredError}
|
|
@@ -628,18 +660,20 @@ export class TenantBankAccountApi extends BaseAPI {
|
|
|
628
660
|
}
|
|
629
661
|
|
|
630
662
|
/**
|
|
631
|
-
*
|
|
663
|
+
* Returns a list of Tenant Bank Accounts you have previously created. The Tenant Bank Accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
664
|
+
* @summary List Tenant Bank Accounts
|
|
632
665
|
* @param {TenantBankAccountApiListTenantBankAccountsRequest} requestParameters Request parameters.
|
|
633
666
|
* @param {*} [options] Override http request option.
|
|
634
667
|
* @throws {RequiredError}
|
|
635
668
|
* @memberof TenantBankAccountApi
|
|
636
669
|
*/
|
|
637
670
|
public listTenantBankAccounts(requestParameters: TenantBankAccountApiListTenantBankAccountsRequest = {}, options?: AxiosRequestConfig) {
|
|
638
|
-
return TenantBankAccountApiFp(this.configuration).listTenantBankAccounts(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, options).then((request) => request(this.axios, this.basePath));
|
|
671
|
+
return TenantBankAccountApiFp(this.configuration).listTenantBankAccounts(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then((request) => request(this.axios, this.basePath));
|
|
639
672
|
}
|
|
640
673
|
|
|
641
674
|
/**
|
|
642
|
-
*
|
|
675
|
+
* Update a tenant bank account by code
|
|
676
|
+
* @summary Update a tenant bank account
|
|
643
677
|
* @param {TenantBankAccountApiUpdateTenantBankAccountRequest} requestParameters Request parameters.
|
|
644
678
|
* @param {*} [options] Override http request option.
|
|
645
679
|
* @throws {RequiredError}
|
package/api/webhooks-api.ts
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
|
|
6
6
|
*
|
|
7
7
|
* The version of the OpenAPI document: 1.0
|
|
8
|
-
* Contact:
|
|
8
|
+
* Contact: kontakt@emil.de
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
11
|
* https://openapi-generator.tech
|
package/api.ts
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
|
|
6
6
|
*
|
|
7
7
|
* The version of the OpenAPI document: 1.0
|
|
8
|
-
* Contact:
|
|
8
|
+
* Contact: kontakt@emil.de
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
11
|
* https://openapi-generator.tech
|
package/base.ts
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
|
|
6
6
|
*
|
|
7
7
|
* The version of the OpenAPI document: 1.0
|
|
8
|
-
* Contact:
|
|
8
|
+
* Contact: kontakt@emil.de
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
11
|
* https://openapi-generator.tech
|
package/common.ts
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
|
|
6
6
|
*
|
|
7
7
|
* The version of the OpenAPI document: 1.0
|
|
8
|
-
* Contact:
|
|
8
|
+
* Contact: kontakt@emil.de
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
11
|
* https://openapi-generator.tech
|
|
@@ -143,7 +143,7 @@ export const createRequestFunction = function (axiosArgs: RequestArgs, globalAxi
|
|
|
143
143
|
* This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
|
|
144
144
|
*
|
|
145
145
|
* The version of the OpenAPI document: 1.0
|
|
146
|
-
* Contact:
|
|
146
|
+
* Contact: kontakt@emil.de
|
|
147
147
|
*
|
|
148
148
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
149
149
|
* https://openapi-generator.tech
|
package/configuration.ts
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
|
|
6
6
|
*
|
|
7
7
|
* The version of the OpenAPI document: 1.0
|
|
8
|
-
* Contact:
|
|
8
|
+
* Contact: kontakt@emil.de
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
11
|
* https://openapi-generator.tech
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
|
|
4
4
|
*
|
|
5
5
|
* The version of the OpenAPI document: 1.0
|
|
6
|
-
* Contact:
|
|
6
|
+
* Contact: kontakt@emil.de
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
9
|
* https://openapi-generator.tech
|
|
@@ -36,10 +36,11 @@ export declare const BankAccountsApiAxiosParamCreator: (configuration?: Configur
|
|
|
36
36
|
* @param {any} [search] Search the list by any field. For instance, if you want to search by code add code=xxx in order to fetch the result.
|
|
37
37
|
* @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.
|
|
38
38
|
* @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.
|
|
39
|
+
* @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.
|
|
39
40
|
* @param {*} [options] Override http request option.
|
|
40
41
|
* @throws {RequiredError}
|
|
41
42
|
*/
|
|
42
|
-
listBankAccounts: (authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
43
|
+
listBankAccounts: (authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
43
44
|
};
|
|
44
45
|
/**
|
|
45
46
|
* BankAccountsApi - functional programming interface
|
|
@@ -65,10 +66,11 @@ export declare const BankAccountsApiFp: (configuration?: Configuration) => {
|
|
|
65
66
|
* @param {any} [search] Search the list by any field. For instance, if you want to search by code add code=xxx in order to fetch the result.
|
|
66
67
|
* @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.
|
|
67
68
|
* @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.
|
|
69
|
+
* @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.
|
|
68
70
|
* @param {*} [options] Override http request option.
|
|
69
71
|
* @throws {RequiredError}
|
|
70
72
|
*/
|
|
71
|
-
listBankAccounts(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
73
|
+
listBankAccounts(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
72
74
|
};
|
|
73
75
|
/**
|
|
74
76
|
* BankAccountsApi - factory interface
|
|
@@ -94,10 +96,11 @@ export declare const BankAccountsApiFactory: (configuration?: Configuration, bas
|
|
|
94
96
|
* @param {any} [search] Search the list by any field. For instance, if you want to search by code add code=xxx in order to fetch the result.
|
|
95
97
|
* @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.
|
|
96
98
|
* @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.
|
|
99
|
+
* @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.
|
|
97
100
|
* @param {*} [options] Override http request option.
|
|
98
101
|
* @throws {RequiredError}
|
|
99
102
|
*/
|
|
100
|
-
listBankAccounts(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: any): AxiosPromise<void>;
|
|
103
|
+
listBankAccounts(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options?: any): AxiosPromise<void>;
|
|
101
104
|
};
|
|
102
105
|
/**
|
|
103
106
|
* Request parameters for createBankAccount operation in BankAccountsApi.
|
|
@@ -166,6 +169,12 @@ export interface BankAccountsApiListBankAccountsRequest {
|
|
|
166
169
|
* @memberof BankAccountsApiListBankAccounts
|
|
167
170
|
*/
|
|
168
171
|
readonly expand?: any;
|
|
172
|
+
/**
|
|
173
|
+
* 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.
|
|
174
|
+
* @type {any}
|
|
175
|
+
* @memberof BankAccountsApiListBankAccounts
|
|
176
|
+
*/
|
|
177
|
+
readonly filters?: any;
|
|
169
178
|
}
|
|
170
179
|
/**
|
|
171
180
|
* BankAccountsApi - object-oriented interface
|