@emilgroup/payment-sdk 1.4.1-beta.22 → 1.4.1-beta.24
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 +0 -7
- package/README.md +2 -2
- package/api/bank-accounts-api.ts +19 -461
- package/api/bank-transaction-api.ts +1 -1
- package/api/default-api.ts +1 -1
- package/api/payment-methods-api.ts +35 -142
- package/api/payment-reminders-api.ts +1 -1
- package/api/payment-setup-api.ts +1 -1
- package/api/payments-api.ts +39 -42
- package/api/refunds-api.ts +1 -1
- package/api/tenant-bank-account-api.ts +9 -9
- 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 -255
- package/dist/api/bank-accounts-api.js +17 -399
- package/dist/api/bank-transaction-api.d.ts +1 -1
- package/dist/api/bank-transaction-api.js +1 -1
- 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 +26 -81
- package/dist/api/payment-methods-api.js +31 -127
- package/dist/api/payment-reminders-api.d.ts +1 -1
- package/dist/api/payment-reminders-api.js +1 -1
- package/dist/api/payment-setup-api.d.ts +1 -1
- package/dist/api/payment-setup-api.js +1 -1
- package/dist/api/payments-api.d.ts +30 -30
- package/dist/api/payments-api.js +35 -37
- package/dist/api/refunds-api.d.ts +1 -1
- package/dist/api/refunds-api.js +1 -1
- package/dist/api/tenant-bank-account-api.d.ts +9 -9
- package/dist/api/tenant-bank-account-api.js +4 -4
- 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 +1 -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 +1 -1
- package/dist/models/create-tenant-bank-account-response-class.js +1 -1
- package/dist/models/deactivate-payment-reminder-request-dto.d.ts +1 -1
- package/dist/models/deactivate-payment-reminder-request-dto.js +1 -1
- package/dist/models/get-bank-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 +0 -7
- package/dist/models/index.js +0 -7
- 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 +1 -1
- package/dist/models/link-bank-transaction-request-dto-rest.js +1 -1
- package/dist/models/list-bank-transactions-response-class.d.ts +1 -1
- package/dist/models/list-bank-transactions-response-class.js +1 -1
- package/dist/models/list-refunds-response-class.d.ts +1 -1
- package/dist/models/list-refunds-response-class.js +1 -1
- package/dist/models/list-tenant-bank-account-response-class.d.ts +1 -1
- package/dist/models/list-tenant-bank-account-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 +1 -1
- package/dist/models/unlink-bank-transaction-request-dto-rest.js +1 -1
- 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 +1 -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 +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 +0 -7
- package/models/inline-response200.ts +1 -1
- package/models/inline-response503.ts +1 -1
- package/models/link-bank-transaction-request-dto-rest.ts +1 -1
- 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 +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 +1 -1
- 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/dist/models/bank-account-class.d.ts +0 -79
- package/dist/models/bank-account-class.js +0 -15
- package/dist/models/create-bank-account-request-dto.d.ts +0 -36
- package/dist/models/create-bank-account-request-dto.js +0 -15
- package/dist/models/get-bank-account-response-class.d.ts +0 -25
- package/dist/models/get-bank-account-response-class.js +0 -15
- package/dist/models/primary-bank-account-response-class.d.ts +0 -42
- package/dist/models/primary-bank-account-response-class.js +0 -15
- package/dist/models/set-primary-bank-account-request-dto-rest.d.ts +0 -24
- package/dist/models/set-primary-bank-account-request-dto-rest.js +0 -15
- package/dist/models/update-bank-account-request-dto-rest.d.ts +0 -30
- package/dist/models/update-bank-account-request-dto-rest.js +0 -15
- package/dist/models/update-bank-account-request-dto.d.ts +0 -36
- package/dist/models/update-bank-account-request-dto.js +0 -15
- package/models/bank-account-class.ts +0 -85
- package/models/create-bank-account-request-dto.ts +0 -42
- package/models/get-bank-account-response-class.ts +0 -31
- package/models/primary-bank-account-response-class.ts +0 -48
- package/models/set-primary-bank-account-request-dto-rest.ts +0 -30
- package/models/update-bank-account-request-dto-rest.ts +0 -36
- package/models/update-bank-account-request-dto.ts +0 -42
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
4
|
* Emil Payment Service
|
|
5
|
-
* This service directly communicates with the various Payment Service Providers (PSPs)
|
|
5
|
+
* This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
|
|
6
6
|
*
|
|
7
7
|
* The version of the OpenAPI document: 1.0
|
|
8
8
|
* Contact: kontakt@emil.de
|
|
@@ -182,12 +182,12 @@ export const TenantBankAccountApiAxiosParamCreator = function (configuration?: C
|
|
|
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.<br/> <br/> <i>Allowed values: id, code, iban, bankName, accountName</i>
|
|
183
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
|
-
* @param {
|
|
185
|
+
* @param {string} [expand] No expand is available for this tenant bank accounts
|
|
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.
|
|
187
187
|
* @param {*} [options] Override http request option.
|
|
188
188
|
* @throws {RequiredError}
|
|
189
189
|
*/
|
|
190
|
-
listTenantBankAccounts: async (authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?:
|
|
190
|
+
listTenantBankAccounts: async (authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: string, filters?: any, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
191
191
|
const localVarPath = `/paymentservice/v1/tenant/bank-accounts`;
|
|
192
192
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
193
193
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -355,12 +355,12 @@ export const TenantBankAccountApiFp = function(configuration?: Configuration) {
|
|
|
355
355
|
* @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, iban, bankName, accountName</i>
|
|
356
356
|
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
357
357
|
* @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.
|
|
358
|
-
* @param {
|
|
358
|
+
* @param {string} [expand] No expand is available for this tenant bank accounts
|
|
359
359
|
* @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.
|
|
360
360
|
* @param {*} [options] Override http request option.
|
|
361
361
|
* @throws {RequiredError}
|
|
362
362
|
*/
|
|
363
|
-
async listTenantBankAccounts(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?:
|
|
363
|
+
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<ListTenantBankAccountResponseClass>> {
|
|
364
364
|
const localVarAxiosArgs = await localVarAxiosParamCreator.listTenantBankAccounts(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
|
|
365
365
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
366
366
|
},
|
|
@@ -429,12 +429,12 @@ export const TenantBankAccountApiFactory = function (configuration?: Configurati
|
|
|
429
429
|
* @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, iban, bankName, accountName</i>
|
|
430
430
|
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
431
431
|
* @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.
|
|
432
|
-
* @param {
|
|
432
|
+
* @param {string} [expand] No expand is available for this tenant bank accounts
|
|
433
433
|
* @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.
|
|
434
434
|
* @param {*} [options] Override http request option.
|
|
435
435
|
* @throws {RequiredError}
|
|
436
436
|
*/
|
|
437
|
-
listTenantBankAccounts(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?:
|
|
437
|
+
listTenantBankAccounts(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: string, filters?: any, options?: any): AxiosPromise<ListTenantBankAccountResponseClass> {
|
|
438
438
|
return localVarFp.listTenantBankAccounts(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
|
|
439
439
|
},
|
|
440
440
|
/**
|
|
@@ -565,10 +565,10 @@ export interface TenantBankAccountApiListTenantBankAccountsRequest {
|
|
|
565
565
|
|
|
566
566
|
/**
|
|
567
567
|
* No expand is available for this tenant bank accounts
|
|
568
|
-
* @type {
|
|
568
|
+
* @type {string}
|
|
569
569
|
* @memberof TenantBankAccountApiListTenantBankAccounts
|
|
570
570
|
*/
|
|
571
|
-
readonly expand?:
|
|
571
|
+
readonly expand?: string
|
|
572
572
|
|
|
573
573
|
/**
|
|
574
574
|
* 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.
|
package/api/webhooks-api.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
4
|
* Emil Payment Service
|
|
5
|
-
* This service directly communicates with the various Payment Service Providers (PSPs)
|
|
5
|
+
* This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
|
|
6
6
|
*
|
|
7
7
|
* The version of the OpenAPI document: 1.0
|
|
8
8
|
* Contact: kontakt@emil.de
|
package/api.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
4
|
* Emil Payment Service
|
|
5
|
-
* This service directly communicates with the various Payment Service Providers (PSPs)
|
|
5
|
+
* This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
|
|
6
6
|
*
|
|
7
7
|
* The version of the OpenAPI document: 1.0
|
|
8
8
|
* Contact: kontakt@emil.de
|
package/base.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
4
|
* Emil Payment Service
|
|
5
|
-
* This service directly communicates with the various Payment Service Providers (PSPs)
|
|
5
|
+
* This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
|
|
6
6
|
*
|
|
7
7
|
* The version of the OpenAPI document: 1.0
|
|
8
8
|
* Contact: kontakt@emil.de
|
package/common.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
4
|
* Emil Payment Service
|
|
5
|
-
* This service directly communicates with the various Payment Service Providers (PSPs)
|
|
5
|
+
* This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
|
|
6
6
|
*
|
|
7
7
|
* The version of the OpenAPI document: 1.0
|
|
8
8
|
* Contact: kontakt@emil.de
|
|
@@ -140,7 +140,7 @@ export const createRequestFunction = function (axiosArgs: RequestArgs, globalAxi
|
|
|
140
140
|
/* eslint-disable */
|
|
141
141
|
/**
|
|
142
142
|
* Emil Payment Service
|
|
143
|
-
* This service directly communicates with the various Payment Service Providers (PSPs)
|
|
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
146
|
* Contact: kontakt@emil.de
|
package/configuration.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
4
|
* Emil Payment Service
|
|
5
|
-
* This service directly communicates with the various Payment Service Providers (PSPs)
|
|
5
|
+
* This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
|
|
6
6
|
*
|
|
7
7
|
* The version of the OpenAPI document: 1.0
|
|
8
8
|
* Contact: kontakt@emil.de
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Emil Payment Service
|
|
3
|
-
* This service directly communicates with the various Payment Service Providers (PSPs)
|
|
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
6
|
* Contact: kontakt@emil.de
|
|
@@ -12,10 +12,6 @@
|
|
|
12
12
|
import { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
|
|
13
13
|
import { Configuration } from '../configuration';
|
|
14
14
|
import { RequestArgs, BaseAPI } from '../base';
|
|
15
|
-
import { CreateBankAccountRequestDto } from '../models';
|
|
16
|
-
import { GetBankAccountResponseClass } from '../models';
|
|
17
|
-
import { SetPrimaryBankAccountRequestDtoRest } from '../models';
|
|
18
|
-
import { UpdateBankAccountRequestDtoRest } from '../models';
|
|
19
15
|
/**
|
|
20
16
|
* BankAccountsApi - axios parameter creator
|
|
21
17
|
* @export
|
|
@@ -24,32 +20,14 @@ export declare const BankAccountsApiAxiosParamCreator: (configuration?: Configur
|
|
|
24
20
|
/**
|
|
25
21
|
* Creates a bank account for a specified account.
|
|
26
22
|
* @summary Create a bank account
|
|
27
|
-
* @param {
|
|
23
|
+
* @param {object} body
|
|
28
24
|
* @param {string} [authorization] Bearer Token
|
|
29
25
|
* @param {*} [options] Override http request option.
|
|
30
26
|
* @throws {RequiredError}
|
|
31
27
|
*/
|
|
32
|
-
createBankAccount: (
|
|
28
|
+
createBankAccount: (body: object, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
33
29
|
/**
|
|
34
|
-
*
|
|
35
|
-
* @summary Delete the bank account
|
|
36
|
-
* @param {string} code Unique identifier for the object.
|
|
37
|
-
* @param {string} [authorization] Bearer Token
|
|
38
|
-
* @param {*} [options] Override http request option.
|
|
39
|
-
* @throws {RequiredError}
|
|
40
|
-
*/
|
|
41
|
-
deleteBankAccount: (code: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
42
|
-
/**
|
|
43
|
-
* Retrieves the details of the Bank Account that was previously created. Supply the unique Bank Account code that was returned when you created it and Emil Api will return the corresponding Bank Account information.
|
|
44
|
-
* @summary Retrieve the Bank Account
|
|
45
|
-
* @param {string} code Unique identifier for the object.
|
|
46
|
-
* @param {string} [authorization] Bearer Token
|
|
47
|
-
* @param {*} [options] Override http request option.
|
|
48
|
-
* @throws {RequiredError}
|
|
49
|
-
*/
|
|
50
|
-
getBankAccount: (code: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
51
|
-
/**
|
|
52
|
-
* Returns a list of bank accounts you’ve previously created. The bank accounts are returned in sorted order, with the oldest payment appearing first. For more information about pagination, read the Pagination documentation.
|
|
30
|
+
* Returns a list of bank accounts you’ve previously created. The bank accounts are returned in sorted order, with the oldest payment appearing first. For more information about pagination, read the Pagination documentation.
|
|
53
31
|
* @summary List bank accounts
|
|
54
32
|
* @param {string} [authorization] Bearer Token
|
|
55
33
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
@@ -63,26 +41,6 @@ export declare const BankAccountsApiAxiosParamCreator: (configuration?: Configur
|
|
|
63
41
|
* @throws {RequiredError}
|
|
64
42
|
*/
|
|
65
43
|
listBankAccounts: (authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
66
|
-
/**
|
|
67
|
-
* Set primary bank account
|
|
68
|
-
* @summary Set primary bank account
|
|
69
|
-
* @param {string} code Code of the bank account to set primary
|
|
70
|
-
* @param {SetPrimaryBankAccountRequestDtoRest} setPrimaryBankAccountRequestDtoRest
|
|
71
|
-
* @param {string} [authorization] Bearer Token
|
|
72
|
-
* @param {*} [options] Override http request option.
|
|
73
|
-
* @throws {RequiredError}
|
|
74
|
-
*/
|
|
75
|
-
setPrimaryBankAccount: (code: string, setPrimaryBankAccountRequestDtoRest: SetPrimaryBankAccountRequestDtoRest, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
76
|
-
/**
|
|
77
|
-
* Update a bank account by code
|
|
78
|
-
* @summary Update the Update bank account
|
|
79
|
-
* @param {string} code Unique identifier for the object.
|
|
80
|
-
* @param {UpdateBankAccountRequestDtoRest} updateBankAccountRequestDtoRest
|
|
81
|
-
* @param {string} [authorization] Bearer Token
|
|
82
|
-
* @param {*} [options] Override http request option.
|
|
83
|
-
* @throws {RequiredError}
|
|
84
|
-
*/
|
|
85
|
-
updateBankAccount: (code: string, updateBankAccountRequestDtoRest: UpdateBankAccountRequestDtoRest, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
86
44
|
};
|
|
87
45
|
/**
|
|
88
46
|
* BankAccountsApi - functional programming interface
|
|
@@ -92,32 +50,14 @@ export declare const BankAccountsApiFp: (configuration?: Configuration) => {
|
|
|
92
50
|
/**
|
|
93
51
|
* Creates a bank account for a specified account.
|
|
94
52
|
* @summary Create a bank account
|
|
95
|
-
* @param {
|
|
53
|
+
* @param {object} body
|
|
96
54
|
* @param {string} [authorization] Bearer Token
|
|
97
55
|
* @param {*} [options] Override http request option.
|
|
98
56
|
* @throws {RequiredError}
|
|
99
57
|
*/
|
|
100
|
-
createBankAccount(
|
|
58
|
+
createBankAccount(body: object, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
101
59
|
/**
|
|
102
|
-
*
|
|
103
|
-
* @summary Delete the bank account
|
|
104
|
-
* @param {string} code Unique identifier for the object.
|
|
105
|
-
* @param {string} [authorization] Bearer Token
|
|
106
|
-
* @param {*} [options] Override http request option.
|
|
107
|
-
* @throws {RequiredError}
|
|
108
|
-
*/
|
|
109
|
-
deleteBankAccount(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
|
|
110
|
-
/**
|
|
111
|
-
* Retrieves the details of the Bank Account that was previously created. Supply the unique Bank Account code that was returned when you created it and Emil Api will return the corresponding Bank Account information.
|
|
112
|
-
* @summary Retrieve the Bank Account
|
|
113
|
-
* @param {string} code Unique identifier for the object.
|
|
114
|
-
* @param {string} [authorization] Bearer Token
|
|
115
|
-
* @param {*} [options] Override http request option.
|
|
116
|
-
* @throws {RequiredError}
|
|
117
|
-
*/
|
|
118
|
-
getBankAccount(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetBankAccountResponseClass>>;
|
|
119
|
-
/**
|
|
120
|
-
* Returns a list of bank accounts you’ve previously created. The bank accounts are returned in sorted order, with the oldest payment appearing first. For more information about pagination, read the Pagination documentation.
|
|
60
|
+
* Returns a list of bank accounts you’ve previously created. The bank accounts are returned in sorted order, with the oldest payment appearing first. For more information about pagination, read the Pagination documentation.
|
|
121
61
|
* @summary List bank accounts
|
|
122
62
|
* @param {string} [authorization] Bearer Token
|
|
123
63
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
@@ -131,26 +71,6 @@ export declare const BankAccountsApiFp: (configuration?: Configuration) => {
|
|
|
131
71
|
* @throws {RequiredError}
|
|
132
72
|
*/
|
|
133
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>>;
|
|
134
|
-
/**
|
|
135
|
-
* Set primary bank account
|
|
136
|
-
* @summary Set primary bank account
|
|
137
|
-
* @param {string} code Code of the bank account to set primary
|
|
138
|
-
* @param {SetPrimaryBankAccountRequestDtoRest} setPrimaryBankAccountRequestDtoRest
|
|
139
|
-
* @param {string} [authorization] Bearer Token
|
|
140
|
-
* @param {*} [options] Override http request option.
|
|
141
|
-
* @throws {RequiredError}
|
|
142
|
-
*/
|
|
143
|
-
setPrimaryBankAccount(code: string, setPrimaryBankAccountRequestDtoRest: SetPrimaryBankAccountRequestDtoRest, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
144
|
-
/**
|
|
145
|
-
* Update a bank account by code
|
|
146
|
-
* @summary Update the Update bank account
|
|
147
|
-
* @param {string} code Unique identifier for the object.
|
|
148
|
-
* @param {UpdateBankAccountRequestDtoRest} updateBankAccountRequestDtoRest
|
|
149
|
-
* @param {string} [authorization] Bearer Token
|
|
150
|
-
* @param {*} [options] Override http request option.
|
|
151
|
-
* @throws {RequiredError}
|
|
152
|
-
*/
|
|
153
|
-
updateBankAccount(code: string, updateBankAccountRequestDtoRest: UpdateBankAccountRequestDtoRest, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
|
|
154
74
|
};
|
|
155
75
|
/**
|
|
156
76
|
* BankAccountsApi - factory interface
|
|
@@ -160,32 +80,14 @@ export declare const BankAccountsApiFactory: (configuration?: Configuration, bas
|
|
|
160
80
|
/**
|
|
161
81
|
* Creates a bank account for a specified account.
|
|
162
82
|
* @summary Create a bank account
|
|
163
|
-
* @param {
|
|
83
|
+
* @param {object} body
|
|
164
84
|
* @param {string} [authorization] Bearer Token
|
|
165
85
|
* @param {*} [options] Override http request option.
|
|
166
86
|
* @throws {RequiredError}
|
|
167
87
|
*/
|
|
168
|
-
createBankAccount(
|
|
88
|
+
createBankAccount(body: object, authorization?: string, options?: any): AxiosPromise<void>;
|
|
169
89
|
/**
|
|
170
|
-
*
|
|
171
|
-
* @summary Delete the bank account
|
|
172
|
-
* @param {string} code Unique identifier for the object.
|
|
173
|
-
* @param {string} [authorization] Bearer Token
|
|
174
|
-
* @param {*} [options] Override http request option.
|
|
175
|
-
* @throws {RequiredError}
|
|
176
|
-
*/
|
|
177
|
-
deleteBankAccount(code: string, authorization?: string, options?: any): AxiosPromise<object>;
|
|
178
|
-
/**
|
|
179
|
-
* Retrieves the details of the Bank Account that was previously created. Supply the unique Bank Account code that was returned when you created it and Emil Api will return the corresponding Bank Account information.
|
|
180
|
-
* @summary Retrieve the Bank Account
|
|
181
|
-
* @param {string} code Unique identifier for the object.
|
|
182
|
-
* @param {string} [authorization] Bearer Token
|
|
183
|
-
* @param {*} [options] Override http request option.
|
|
184
|
-
* @throws {RequiredError}
|
|
185
|
-
*/
|
|
186
|
-
getBankAccount(code: string, authorization?: string, options?: any): AxiosPromise<GetBankAccountResponseClass>;
|
|
187
|
-
/**
|
|
188
|
-
* Returns a list of bank accounts you’ve previously created. The bank accounts are returned in sorted order, with the oldest payment appearing first. For more information about pagination, read the Pagination documentation.
|
|
90
|
+
* Returns a list of bank accounts you’ve previously created. The bank accounts are returned in sorted order, with the oldest payment appearing first. For more information about pagination, read the Pagination documentation.
|
|
189
91
|
* @summary List bank accounts
|
|
190
92
|
* @param {string} [authorization] Bearer Token
|
|
191
93
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
@@ -199,26 +101,6 @@ export declare const BankAccountsApiFactory: (configuration?: Configuration, bas
|
|
|
199
101
|
* @throws {RequiredError}
|
|
200
102
|
*/
|
|
201
103
|
listBankAccounts(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options?: any): AxiosPromise<void>;
|
|
202
|
-
/**
|
|
203
|
-
* Set primary bank account
|
|
204
|
-
* @summary Set primary bank account
|
|
205
|
-
* @param {string} code Code of the bank account to set primary
|
|
206
|
-
* @param {SetPrimaryBankAccountRequestDtoRest} setPrimaryBankAccountRequestDtoRest
|
|
207
|
-
* @param {string} [authorization] Bearer Token
|
|
208
|
-
* @param {*} [options] Override http request option.
|
|
209
|
-
* @throws {RequiredError}
|
|
210
|
-
*/
|
|
211
|
-
setPrimaryBankAccount(code: string, setPrimaryBankAccountRequestDtoRest: SetPrimaryBankAccountRequestDtoRest, authorization?: string, options?: any): AxiosPromise<void>;
|
|
212
|
-
/**
|
|
213
|
-
* Update a bank account by code
|
|
214
|
-
* @summary Update the Update bank account
|
|
215
|
-
* @param {string} code Unique identifier for the object.
|
|
216
|
-
* @param {UpdateBankAccountRequestDtoRest} updateBankAccountRequestDtoRest
|
|
217
|
-
* @param {string} [authorization] Bearer Token
|
|
218
|
-
* @param {*} [options] Override http request option.
|
|
219
|
-
* @throws {RequiredError}
|
|
220
|
-
*/
|
|
221
|
-
updateBankAccount(code: string, updateBankAccountRequestDtoRest: UpdateBankAccountRequestDtoRest, authorization?: string, options?: any): AxiosPromise<object>;
|
|
222
104
|
};
|
|
223
105
|
/**
|
|
224
106
|
* Request parameters for createBankAccount operation in BankAccountsApi.
|
|
@@ -228,10 +110,10 @@ export declare const BankAccountsApiFactory: (configuration?: Configuration, bas
|
|
|
228
110
|
export interface BankAccountsApiCreateBankAccountRequest {
|
|
229
111
|
/**
|
|
230
112
|
*
|
|
231
|
-
* @type {
|
|
113
|
+
* @type {object}
|
|
232
114
|
* @memberof BankAccountsApiCreateBankAccount
|
|
233
115
|
*/
|
|
234
|
-
readonly
|
|
116
|
+
readonly body: object;
|
|
235
117
|
/**
|
|
236
118
|
* Bearer Token
|
|
237
119
|
* @type {string}
|
|
@@ -239,44 +121,6 @@ export interface BankAccountsApiCreateBankAccountRequest {
|
|
|
239
121
|
*/
|
|
240
122
|
readonly authorization?: string;
|
|
241
123
|
}
|
|
242
|
-
/**
|
|
243
|
-
* Request parameters for deleteBankAccount operation in BankAccountsApi.
|
|
244
|
-
* @export
|
|
245
|
-
* @interface BankAccountsApiDeleteBankAccountRequest
|
|
246
|
-
*/
|
|
247
|
-
export interface BankAccountsApiDeleteBankAccountRequest {
|
|
248
|
-
/**
|
|
249
|
-
* Unique identifier for the object.
|
|
250
|
-
* @type {string}
|
|
251
|
-
* @memberof BankAccountsApiDeleteBankAccount
|
|
252
|
-
*/
|
|
253
|
-
readonly code: string;
|
|
254
|
-
/**
|
|
255
|
-
* Bearer Token
|
|
256
|
-
* @type {string}
|
|
257
|
-
* @memberof BankAccountsApiDeleteBankAccount
|
|
258
|
-
*/
|
|
259
|
-
readonly authorization?: string;
|
|
260
|
-
}
|
|
261
|
-
/**
|
|
262
|
-
* Request parameters for getBankAccount operation in BankAccountsApi.
|
|
263
|
-
* @export
|
|
264
|
-
* @interface BankAccountsApiGetBankAccountRequest
|
|
265
|
-
*/
|
|
266
|
-
export interface BankAccountsApiGetBankAccountRequest {
|
|
267
|
-
/**
|
|
268
|
-
* Unique identifier for the object.
|
|
269
|
-
* @type {string}
|
|
270
|
-
* @memberof BankAccountsApiGetBankAccount
|
|
271
|
-
*/
|
|
272
|
-
readonly code: string;
|
|
273
|
-
/**
|
|
274
|
-
* Bearer Token
|
|
275
|
-
* @type {string}
|
|
276
|
-
* @memberof BankAccountsApiGetBankAccount
|
|
277
|
-
*/
|
|
278
|
-
readonly authorization?: string;
|
|
279
|
-
}
|
|
280
124
|
/**
|
|
281
125
|
* Request parameters for listBankAccounts operation in BankAccountsApi.
|
|
282
126
|
* @export
|
|
@@ -332,56 +176,6 @@ export interface BankAccountsApiListBankAccountsRequest {
|
|
|
332
176
|
*/
|
|
333
177
|
readonly filters?: any;
|
|
334
178
|
}
|
|
335
|
-
/**
|
|
336
|
-
* Request parameters for setPrimaryBankAccount operation in BankAccountsApi.
|
|
337
|
-
* @export
|
|
338
|
-
* @interface BankAccountsApiSetPrimaryBankAccountRequest
|
|
339
|
-
*/
|
|
340
|
-
export interface BankAccountsApiSetPrimaryBankAccountRequest {
|
|
341
|
-
/**
|
|
342
|
-
* Code of the bank account to set primary
|
|
343
|
-
* @type {string}
|
|
344
|
-
* @memberof BankAccountsApiSetPrimaryBankAccount
|
|
345
|
-
*/
|
|
346
|
-
readonly code: string;
|
|
347
|
-
/**
|
|
348
|
-
*
|
|
349
|
-
* @type {SetPrimaryBankAccountRequestDtoRest}
|
|
350
|
-
* @memberof BankAccountsApiSetPrimaryBankAccount
|
|
351
|
-
*/
|
|
352
|
-
readonly setPrimaryBankAccountRequestDtoRest: SetPrimaryBankAccountRequestDtoRest;
|
|
353
|
-
/**
|
|
354
|
-
* Bearer Token
|
|
355
|
-
* @type {string}
|
|
356
|
-
* @memberof BankAccountsApiSetPrimaryBankAccount
|
|
357
|
-
*/
|
|
358
|
-
readonly authorization?: string;
|
|
359
|
-
}
|
|
360
|
-
/**
|
|
361
|
-
* Request parameters for updateBankAccount operation in BankAccountsApi.
|
|
362
|
-
* @export
|
|
363
|
-
* @interface BankAccountsApiUpdateBankAccountRequest
|
|
364
|
-
*/
|
|
365
|
-
export interface BankAccountsApiUpdateBankAccountRequest {
|
|
366
|
-
/**
|
|
367
|
-
* Unique identifier for the object.
|
|
368
|
-
* @type {string}
|
|
369
|
-
* @memberof BankAccountsApiUpdateBankAccount
|
|
370
|
-
*/
|
|
371
|
-
readonly code: string;
|
|
372
|
-
/**
|
|
373
|
-
*
|
|
374
|
-
* @type {UpdateBankAccountRequestDtoRest}
|
|
375
|
-
* @memberof BankAccountsApiUpdateBankAccount
|
|
376
|
-
*/
|
|
377
|
-
readonly updateBankAccountRequestDtoRest: UpdateBankAccountRequestDtoRest;
|
|
378
|
-
/**
|
|
379
|
-
* Bearer Token
|
|
380
|
-
* @type {string}
|
|
381
|
-
* @memberof BankAccountsApiUpdateBankAccount
|
|
382
|
-
*/
|
|
383
|
-
readonly authorization?: string;
|
|
384
|
-
}
|
|
385
179
|
/**
|
|
386
180
|
* BankAccountsApi - object-oriented interface
|
|
387
181
|
* @export
|
|
@@ -399,25 +193,7 @@ export declare class BankAccountsApi extends BaseAPI {
|
|
|
399
193
|
*/
|
|
400
194
|
createBankAccount(requestParameters: BankAccountsApiCreateBankAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
401
195
|
/**
|
|
402
|
-
*
|
|
403
|
-
* @summary Delete the bank account
|
|
404
|
-
* @param {BankAccountsApiDeleteBankAccountRequest} requestParameters Request parameters.
|
|
405
|
-
* @param {*} [options] Override http request option.
|
|
406
|
-
* @throws {RequiredError}
|
|
407
|
-
* @memberof BankAccountsApi
|
|
408
|
-
*/
|
|
409
|
-
deleteBankAccount(requestParameters: BankAccountsApiDeleteBankAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any>>;
|
|
410
|
-
/**
|
|
411
|
-
* Retrieves the details of the Bank Account that was previously created. Supply the unique Bank Account code that was returned when you created it and Emil Api will return the corresponding Bank Account information.
|
|
412
|
-
* @summary Retrieve the Bank Account
|
|
413
|
-
* @param {BankAccountsApiGetBankAccountRequest} requestParameters Request parameters.
|
|
414
|
-
* @param {*} [options] Override http request option.
|
|
415
|
-
* @throws {RequiredError}
|
|
416
|
-
* @memberof BankAccountsApi
|
|
417
|
-
*/
|
|
418
|
-
getBankAccount(requestParameters: BankAccountsApiGetBankAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetBankAccountResponseClass, any>>;
|
|
419
|
-
/**
|
|
420
|
-
* Returns a list of bank accounts you’ve previously created. The bank accounts are returned in sorted order, with the oldest payment appearing first. For more information about pagination, read the Pagination documentation.
|
|
196
|
+
* Returns a list of bank accounts you’ve previously created. The bank accounts are returned in sorted order, with the oldest payment appearing first. For more information about pagination, read the Pagination documentation.
|
|
421
197
|
* @summary List bank accounts
|
|
422
198
|
* @param {BankAccountsApiListBankAccountsRequest} requestParameters Request parameters.
|
|
423
199
|
* @param {*} [options] Override http request option.
|
|
@@ -425,22 +201,4 @@ export declare class BankAccountsApi extends BaseAPI {
|
|
|
425
201
|
* @memberof BankAccountsApi
|
|
426
202
|
*/
|
|
427
203
|
listBankAccounts(requestParameters?: BankAccountsApiListBankAccountsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
428
|
-
/**
|
|
429
|
-
* Set primary bank account
|
|
430
|
-
* @summary Set primary bank account
|
|
431
|
-
* @param {BankAccountsApiSetPrimaryBankAccountRequest} requestParameters Request parameters.
|
|
432
|
-
* @param {*} [options] Override http request option.
|
|
433
|
-
* @throws {RequiredError}
|
|
434
|
-
* @memberof BankAccountsApi
|
|
435
|
-
*/
|
|
436
|
-
setPrimaryBankAccount(requestParameters: BankAccountsApiSetPrimaryBankAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
437
|
-
/**
|
|
438
|
-
* Update a bank account by code
|
|
439
|
-
* @summary Update the Update bank account
|
|
440
|
-
* @param {BankAccountsApiUpdateBankAccountRequest} requestParameters Request parameters.
|
|
441
|
-
* @param {*} [options] Override http request option.
|
|
442
|
-
* @throws {RequiredError}
|
|
443
|
-
* @memberof BankAccountsApi
|
|
444
|
-
*/
|
|
445
|
-
updateBankAccount(requestParameters: BankAccountsApiUpdateBankAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any>>;
|
|
446
204
|
}
|