@emilgroup/payment-sdk 1.4.1-beta.24 → 1.4.1-beta.26
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 +7 -0
- package/README.md +2 -2
- package/api/bank-accounts-api.ts +461 -19
- package/api/bank-transaction-api.ts +1 -1
- package/api/default-api.ts +1 -1
- package/api/payment-methods-api.ts +1 -1
- package/api/payment-reminders-api.ts +1 -1
- package/api/payment-setup-api.ts +1 -1
- package/api/payments-api.ts +1 -1
- package/api/refunds-api.ts +1 -1
- package/api/tenant-bank-account-api.ts +1 -1
- 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 +255 -13
- package/dist/api/bank-accounts-api.js +399 -17
- 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 +1 -1
- package/dist/api/payment-methods-api.js +1 -1
- package/dist/api/payment-reminders-api.d.ts +1 -1
- package/dist/api/payment-reminders-api.js +1 -1
- package/dist/api/payment-setup-api.d.ts +1 -1
- package/dist/api/payment-setup-api.js +1 -1
- package/dist/api/payments-api.d.ts +1 -1
- package/dist/api/payments-api.js +1 -1
- package/dist/api/refunds-api.d.ts +1 -1
- package/dist/api/refunds-api.js +1 -1
- package/dist/api/tenant-bank-account-api.d.ts +1 -1
- package/dist/api/tenant-bank-account-api.js +1 -1
- 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-account-class.d.ts +79 -0
- package/dist/models/bank-account-class.js +15 -0
- 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-bank-account-request-dto.d.ts +36 -0
- package/dist/models/create-bank-account-request-dto.js +15 -0
- 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-account-response-class.d.ts +25 -0
- package/dist/models/get-bank-account-response-class.js +15 -0
- 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 +7 -0
- package/dist/models/index.js +7 -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 +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/primary-bank-account-response-class.d.ts +42 -0
- package/dist/models/primary-bank-account-response-class.js +15 -0
- package/dist/models/refund-class.d.ts +1 -1
- package/dist/models/refund-class.js +1 -1
- package/dist/models/set-primary-bank-account-request-dto-rest.d.ts +24 -0
- package/dist/models/set-primary-bank-account-request-dto-rest.js +15 -0
- 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-bank-account-request-dto-rest.d.ts +30 -0
- package/dist/models/update-bank-account-request-dto-rest.js +15 -0
- package/dist/models/update-bank-account-request-dto.d.ts +36 -0
- package/dist/models/update-bank-account-request-dto.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-account-class.ts +85 -0
- package/models/bank-transaction-response-class.ts +1 -1
- package/models/create-bank-account-request-dto.ts +42 -0
- 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-account-response-class.ts +31 -0
- 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 +7 -0
- 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/primary-bank-account-response-class.ts +48 -0
- package/models/refund-class.ts +1 -1
- package/models/set-primary-bank-account-request-dto-rest.ts +30 -0
- 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-bank-account-request-dto-rest.ts +36 -0
- package/models/update-bank-account-request-dto.ts +42 -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/default-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
|
|
@@ -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
|
|
@@ -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/payment-setup-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/payments-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/refunds-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
|
|
@@ -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/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,6 +12,10 @@
|
|
|
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';
|
|
15
19
|
/**
|
|
16
20
|
* BankAccountsApi - axios parameter creator
|
|
17
21
|
* @export
|
|
@@ -20,14 +24,32 @@ export declare const BankAccountsApiAxiosParamCreator: (configuration?: Configur
|
|
|
20
24
|
/**
|
|
21
25
|
* Creates a bank account for a specified account.
|
|
22
26
|
* @summary Create a bank account
|
|
23
|
-
* @param {
|
|
27
|
+
* @param {CreateBankAccountRequestDto} createBankAccountRequestDto
|
|
24
28
|
* @param {string} [authorization] Bearer Token
|
|
25
29
|
* @param {*} [options] Override http request option.
|
|
26
30
|
* @throws {RequiredError}
|
|
27
31
|
*/
|
|
28
|
-
createBankAccount: (
|
|
32
|
+
createBankAccount: (createBankAccountRequestDto: CreateBankAccountRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
29
33
|
/**
|
|
30
|
-
*
|
|
34
|
+
* Deletes a bank account by code
|
|
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.
|
|
31
53
|
* @summary List bank accounts
|
|
32
54
|
* @param {string} [authorization] Bearer Token
|
|
33
55
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
@@ -41,6 +63,26 @@ export declare const BankAccountsApiAxiosParamCreator: (configuration?: Configur
|
|
|
41
63
|
* @throws {RequiredError}
|
|
42
64
|
*/
|
|
43
65
|
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>;
|
|
44
86
|
};
|
|
45
87
|
/**
|
|
46
88
|
* BankAccountsApi - functional programming interface
|
|
@@ -50,14 +92,32 @@ export declare const BankAccountsApiFp: (configuration?: Configuration) => {
|
|
|
50
92
|
/**
|
|
51
93
|
* Creates a bank account for a specified account.
|
|
52
94
|
* @summary Create a bank account
|
|
53
|
-
* @param {
|
|
95
|
+
* @param {CreateBankAccountRequestDto} createBankAccountRequestDto
|
|
54
96
|
* @param {string} [authorization] Bearer Token
|
|
55
97
|
* @param {*} [options] Override http request option.
|
|
56
98
|
* @throws {RequiredError}
|
|
57
99
|
*/
|
|
58
|
-
createBankAccount(
|
|
100
|
+
createBankAccount(createBankAccountRequestDto: CreateBankAccountRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
59
101
|
/**
|
|
60
|
-
*
|
|
102
|
+
* Deletes a bank account by code
|
|
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.
|
|
61
121
|
* @summary List bank accounts
|
|
62
122
|
* @param {string} [authorization] Bearer Token
|
|
63
123
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
@@ -71,6 +131,26 @@ export declare const BankAccountsApiFp: (configuration?: Configuration) => {
|
|
|
71
131
|
* @throws {RequiredError}
|
|
72
132
|
*/
|
|
73
133
|
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>>;
|
|
74
154
|
};
|
|
75
155
|
/**
|
|
76
156
|
* BankAccountsApi - factory interface
|
|
@@ -80,14 +160,32 @@ export declare const BankAccountsApiFactory: (configuration?: Configuration, bas
|
|
|
80
160
|
/**
|
|
81
161
|
* Creates a bank account for a specified account.
|
|
82
162
|
* @summary Create a bank account
|
|
83
|
-
* @param {
|
|
163
|
+
* @param {CreateBankAccountRequestDto} createBankAccountRequestDto
|
|
84
164
|
* @param {string} [authorization] Bearer Token
|
|
85
165
|
* @param {*} [options] Override http request option.
|
|
86
166
|
* @throws {RequiredError}
|
|
87
167
|
*/
|
|
88
|
-
createBankAccount(
|
|
168
|
+
createBankAccount(createBankAccountRequestDto: CreateBankAccountRequestDto, authorization?: string, options?: any): AxiosPromise<void>;
|
|
89
169
|
/**
|
|
90
|
-
*
|
|
170
|
+
* Deletes a bank account by code
|
|
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.
|
|
91
189
|
* @summary List bank accounts
|
|
92
190
|
* @param {string} [authorization] Bearer Token
|
|
93
191
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
@@ -101,6 +199,26 @@ export declare const BankAccountsApiFactory: (configuration?: Configuration, bas
|
|
|
101
199
|
* @throws {RequiredError}
|
|
102
200
|
*/
|
|
103
201
|
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>;
|
|
104
222
|
};
|
|
105
223
|
/**
|
|
106
224
|
* Request parameters for createBankAccount operation in BankAccountsApi.
|
|
@@ -110,10 +228,10 @@ export declare const BankAccountsApiFactory: (configuration?: Configuration, bas
|
|
|
110
228
|
export interface BankAccountsApiCreateBankAccountRequest {
|
|
111
229
|
/**
|
|
112
230
|
*
|
|
113
|
-
* @type {
|
|
231
|
+
* @type {CreateBankAccountRequestDto}
|
|
114
232
|
* @memberof BankAccountsApiCreateBankAccount
|
|
115
233
|
*/
|
|
116
|
-
readonly
|
|
234
|
+
readonly createBankAccountRequestDto: CreateBankAccountRequestDto;
|
|
117
235
|
/**
|
|
118
236
|
* Bearer Token
|
|
119
237
|
* @type {string}
|
|
@@ -121,6 +239,44 @@ export interface BankAccountsApiCreateBankAccountRequest {
|
|
|
121
239
|
*/
|
|
122
240
|
readonly authorization?: string;
|
|
123
241
|
}
|
|
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
|
+
}
|
|
124
280
|
/**
|
|
125
281
|
* Request parameters for listBankAccounts operation in BankAccountsApi.
|
|
126
282
|
* @export
|
|
@@ -176,6 +332,56 @@ export interface BankAccountsApiListBankAccountsRequest {
|
|
|
176
332
|
*/
|
|
177
333
|
readonly filters?: any;
|
|
178
334
|
}
|
|
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
|
+
}
|
|
179
385
|
/**
|
|
180
386
|
* BankAccountsApi - object-oriented interface
|
|
181
387
|
* @export
|
|
@@ -193,7 +399,25 @@ export declare class BankAccountsApi extends BaseAPI {
|
|
|
193
399
|
*/
|
|
194
400
|
createBankAccount(requestParameters: BankAccountsApiCreateBankAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
195
401
|
/**
|
|
196
|
-
*
|
|
402
|
+
* Deletes a bank account by code
|
|
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.
|
|
197
421
|
* @summary List bank accounts
|
|
198
422
|
* @param {BankAccountsApiListBankAccountsRequest} requestParameters Request parameters.
|
|
199
423
|
* @param {*} [options] Override http request option.
|
|
@@ -201,4 +425,22 @@ export declare class BankAccountsApi extends BaseAPI {
|
|
|
201
425
|
* @memberof BankAccountsApi
|
|
202
426
|
*/
|
|
203
427
|
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>>;
|
|
204
446
|
}
|