@emilgroup/payment-sdk 1.4.1-beta.19 → 1.4.1-beta.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +0 -34
- package/README.md +2 -2
- package/api/bank-accounts-api.ts +21 -465
- package/api/bank-transaction-api.ts +11 -11
- package/api/default-api.ts +1 -1
- package/api/payment-methods-api.ts +166 -65
- package/api/payment-reminders-api.ts +17 -21
- package/api/payment-setup-api.ts +29 -37
- package/api/payments-api.ts +54 -55
- package/api/refunds-api.ts +16 -14
- package/api/tenant-bank-account-api.ts +25 -25
- 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 +17 -260
- package/dist/api/bank-accounts-api.js +17 -399
- package/dist/api/bank-transaction-api.d.ts +12 -12
- package/dist/api/bank-transaction-api.js +9 -9
- 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 +100 -49
- package/dist/api/payment-methods-api.js +144 -46
- package/dist/api/payment-reminders-api.d.ts +21 -23
- package/dist/api/payment-reminders-api.js +9 -9
- package/dist/api/payment-setup-api.d.ts +19 -23
- package/dist/api/payment-setup-api.js +25 -25
- package/dist/api/payments-api.d.ts +43 -46
- package/dist/api/payments-api.js +42 -38
- package/dist/api/refunds-api.d.ts +11 -11
- package/dist/api/refunds-api.js +12 -10
- package/dist/api/tenant-bank-account-api.d.ts +25 -25
- package/dist/api/tenant-bank-account-api.js +20 -20
- 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 +4 -4
- 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 +2 -2
- 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 -34
- package/dist/models/index.js +0 -34
- 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 +2 -2
- 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 +2 -9
- package/dist/models/validate-pspconfig-request-dto.js +1 -8
- 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 +4 -4
- 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 +2 -2
- package/models/get-tenant-bank-account-response-class.ts +1 -1
- package/models/index.ts +0 -34
- 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 +2 -2
- package/models/update-tenant-bank-account-rest-request-dto.ts +1 -1
- package/models/validate-pspconfig-request-dto.ts +2 -12
- 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/billing-profile-dto.d.ts +0 -38
- package/dist/models/billing-profile-dto.js +0 -15
- package/dist/models/billing-profile-limited-response-dto.d.ts +0 -54
- package/dist/models/billing-profile-limited-response-dto.js +0 -15
- package/dist/models/complete-braintree-payment-setup-request-dto.d.ts +0 -48
- package/dist/models/complete-braintree-payment-setup-request-dto.js +0 -15
- package/dist/models/complete-payment-setup-request-dto.d.ts +0 -32
- package/dist/models/complete-payment-setup-request-dto.js +0 -15
- package/dist/models/complete-payment-setup-response-class.d.ts +0 -25
- package/dist/models/complete-payment-setup-response-class.js +0 -15
- package/dist/models/complete-stripe-payment-setup-request-dto.d.ts +0 -60
- package/dist/models/complete-stripe-payment-setup-request-dto.js +0 -15
- package/dist/models/create-bank-account-request-dto.d.ts +0 -42
- package/dist/models/create-bank-account-request-dto.js +0 -15
- package/dist/models/create-payment-method-response-class.d.ts +0 -25
- package/dist/models/create-payment-method-response-class.js +0 -15
- package/dist/models/create-payment-response-class.d.ts +0 -25
- package/dist/models/create-payment-response-class.js +0 -15
- package/dist/models/create-psp-payment-method-request-dto.d.ts +0 -61
- package/dist/models/create-psp-payment-method-request-dto.js +0 -32
- package/dist/models/deactivate-payment-reminder-response-class.d.ts +0 -25
- package/dist/models/deactivate-payment-reminder-response-class.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/get-payment-method-response-class.d.ts +0 -25
- package/dist/models/get-payment-method-response-class.js +0 -15
- package/dist/models/get-payment-response-class.d.ts +0 -25
- package/dist/models/get-payment-response-class.js +0 -15
- package/dist/models/initiate-braintree-payment-setup-request-dto.d.ts +0 -30
- package/dist/models/initiate-braintree-payment-setup-request-dto.js +0 -15
- package/dist/models/initiate-braintree-payment-setup-response-class.d.ts +0 -24
- package/dist/models/initiate-braintree-payment-setup-response-class.js +0 -15
- package/dist/models/initiate-payment-setup-request-dto.d.ts +0 -44
- package/dist/models/initiate-payment-setup-request-dto.js +0 -15
- package/dist/models/initiate-payment-setup-response-class.d.ts +0 -32
- package/dist/models/initiate-payment-setup-response-class.js +0 -15
- package/dist/models/initiate-stripe-payment-setup-request-dto.d.ts +0 -30
- package/dist/models/initiate-stripe-payment-setup-request-dto.js +0 -15
- package/dist/models/initiate-stripe-payment-setup-response-class.d.ts +0 -30
- package/dist/models/initiate-stripe-payment-setup-response-class.js +0 -15
- package/dist/models/list-bank-accounts-response-class.d.ts +0 -31
- package/dist/models/list-bank-accounts-response-class.js +0 -15
- package/dist/models/list-payment-methods-response-class.d.ts +0 -31
- package/dist/models/list-payment-methods-response-class.js +0 -15
- package/dist/models/list-payment-reminders-response-class.d.ts +0 -31
- package/dist/models/list-payment-reminders-response-class.js +0 -15
- package/dist/models/list-payments-response-class.d.ts +0 -31
- package/dist/models/list-payments-response-class.js +0 -15
- package/dist/models/payment-class.d.ts +0 -103
- package/dist/models/payment-class.js +0 -15
- package/dist/models/payment-method-class.d.ts +0 -66
- package/dist/models/payment-method-class.js +0 -15
- package/dist/models/payment-reminder-class.d.ts +0 -112
- package/dist/models/payment-reminder-class.js +0 -36
- 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/sepa-direct-dto.d.ts +0 -24
- package/dist/models/sepa-direct-dto.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/symphony-profile-limited-response-dto.d.ts +0 -42
- package/dist/models/symphony-profile-limited-response-dto.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/billing-profile-dto.ts +0 -44
- package/models/billing-profile-limited-response-dto.ts +0 -60
- package/models/complete-braintree-payment-setup-request-dto.ts +0 -54
- package/models/complete-payment-setup-request-dto.ts +0 -38
- package/models/complete-payment-setup-response-class.ts +0 -31
- package/models/complete-stripe-payment-setup-request-dto.ts +0 -66
- package/models/create-bank-account-request-dto.ts +0 -48
- package/models/create-payment-method-response-class.ts +0 -31
- package/models/create-payment-response-class.ts +0 -31
- package/models/create-psp-payment-method-request-dto.ts +0 -70
- package/models/deactivate-payment-reminder-response-class.ts +0 -31
- package/models/get-bank-account-response-class.ts +0 -31
- package/models/get-payment-method-response-class.ts +0 -31
- package/models/get-payment-response-class.ts +0 -31
- package/models/initiate-braintree-payment-setup-request-dto.ts +0 -36
- package/models/initiate-braintree-payment-setup-response-class.ts +0 -30
- package/models/initiate-payment-setup-request-dto.ts +0 -50
- package/models/initiate-payment-setup-response-class.ts +0 -38
- package/models/initiate-stripe-payment-setup-request-dto.ts +0 -36
- package/models/initiate-stripe-payment-setup-response-class.ts +0 -36
- package/models/list-bank-accounts-response-class.ts +0 -37
- package/models/list-payment-methods-response-class.ts +0 -37
- package/models/list-payment-reminders-response-class.ts +0 -37
- package/models/list-payments-response-class.ts +0 -37
- package/models/payment-class.ts +0 -109
- package/models/payment-method-class.ts +0 -72
- package/models/payment-reminder-class.ts +0 -122
- package/models/primary-bank-account-response-class.ts +0 -48
- package/models/sepa-direct-dto.ts +0 -30
- package/models/set-primary-bank-account-request-dto-rest.ts +0 -30
- package/models/symphony-profile-limited-response-dto.ts +0 -48
- package/models/update-bank-account-request-dto-rest.ts +0 -36
- package/models/update-bank-account-request-dto.ts +0 -42
|
@@ -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,11 +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 { ListBankAccountsResponseClass } from '../models';
|
|
18
|
-
import { SetPrimaryBankAccountRequestDtoRest } from '../models';
|
|
19
|
-
import { UpdateBankAccountRequestDtoRest } from '../models';
|
|
20
15
|
/**
|
|
21
16
|
* BankAccountsApi - axios parameter creator
|
|
22
17
|
* @export
|
|
@@ -25,32 +20,14 @@ export declare const BankAccountsApiAxiosParamCreator: (configuration?: Configur
|
|
|
25
20
|
/**
|
|
26
21
|
* Creates a bank account for a specified account.
|
|
27
22
|
* @summary Create a bank account
|
|
28
|
-
* @param {
|
|
23
|
+
* @param {object} body
|
|
29
24
|
* @param {string} [authorization] Bearer Token
|
|
30
25
|
* @param {*} [options] Override http request option.
|
|
31
26
|
* @throws {RequiredError}
|
|
32
27
|
*/
|
|
33
|
-
createBankAccount: (
|
|
28
|
+
createBankAccount: (body: object, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
34
29
|
/**
|
|
35
|
-
*
|
|
36
|
-
* @summary Delete the bank account
|
|
37
|
-
* @param {string} code Unique identifier for the object.
|
|
38
|
-
* @param {string} [authorization] Bearer Token
|
|
39
|
-
* @param {*} [options] Override http request option.
|
|
40
|
-
* @throws {RequiredError}
|
|
41
|
-
*/
|
|
42
|
-
deleteBankAccount: (code: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
43
|
-
/**
|
|
44
|
-
* 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.
|
|
45
|
-
* @summary Retrieve the Bank Account
|
|
46
|
-
* @param {string} code Unique identifier for the object.
|
|
47
|
-
* @param {string} [authorization] Bearer Token
|
|
48
|
-
* @param {*} [options] Override http request option.
|
|
49
|
-
* @throws {RequiredError}
|
|
50
|
-
*/
|
|
51
|
-
getBankAccount: (code: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
52
|
-
/**
|
|
53
|
-
* 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.
|
|
54
31
|
* @summary List bank accounts
|
|
55
32
|
* @param {string} [authorization] Bearer Token
|
|
56
33
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
@@ -64,26 +41,6 @@ export declare const BankAccountsApiAxiosParamCreator: (configuration?: Configur
|
|
|
64
41
|
* @throws {RequiredError}
|
|
65
42
|
*/
|
|
66
43
|
listBankAccounts: (authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
67
|
-
/**
|
|
68
|
-
* Set primary bank account
|
|
69
|
-
* @summary Set primary bank account
|
|
70
|
-
* @param {string} code Code of the bank account to set primary
|
|
71
|
-
* @param {SetPrimaryBankAccountRequestDtoRest} setPrimaryBankAccountRequestDtoRest
|
|
72
|
-
* @param {string} [authorization] Bearer Token
|
|
73
|
-
* @param {*} [options] Override http request option.
|
|
74
|
-
* @throws {RequiredError}
|
|
75
|
-
*/
|
|
76
|
-
setPrimaryBankAccount: (code: string, setPrimaryBankAccountRequestDtoRest: SetPrimaryBankAccountRequestDtoRest, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
77
|
-
/**
|
|
78
|
-
* Update a bank account by code
|
|
79
|
-
* @summary Update the Update bank account
|
|
80
|
-
* @param {string} code Unique identifier for the object.
|
|
81
|
-
* @param {UpdateBankAccountRequestDtoRest} updateBankAccountRequestDtoRest
|
|
82
|
-
* @param {string} [authorization] Bearer Token
|
|
83
|
-
* @param {*} [options] Override http request option.
|
|
84
|
-
* @throws {RequiredError}
|
|
85
|
-
*/
|
|
86
|
-
updateBankAccount: (code: string, updateBankAccountRequestDtoRest: UpdateBankAccountRequestDtoRest, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
87
44
|
};
|
|
88
45
|
/**
|
|
89
46
|
* BankAccountsApi - functional programming interface
|
|
@@ -93,32 +50,14 @@ export declare const BankAccountsApiFp: (configuration?: Configuration) => {
|
|
|
93
50
|
/**
|
|
94
51
|
* Creates a bank account for a specified account.
|
|
95
52
|
* @summary Create a bank account
|
|
96
|
-
* @param {
|
|
53
|
+
* @param {object} body
|
|
97
54
|
* @param {string} [authorization] Bearer Token
|
|
98
55
|
* @param {*} [options] Override http request option.
|
|
99
56
|
* @throws {RequiredError}
|
|
100
57
|
*/
|
|
101
|
-
createBankAccount(
|
|
58
|
+
createBankAccount(body: object, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
102
59
|
/**
|
|
103
|
-
*
|
|
104
|
-
* @summary Delete the bank account
|
|
105
|
-
* @param {string} code Unique identifier for the object.
|
|
106
|
-
* @param {string} [authorization] Bearer Token
|
|
107
|
-
* @param {*} [options] Override http request option.
|
|
108
|
-
* @throws {RequiredError}
|
|
109
|
-
*/
|
|
110
|
-
deleteBankAccount(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
|
|
111
|
-
/**
|
|
112
|
-
* 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.
|
|
113
|
-
* @summary Retrieve the Bank Account
|
|
114
|
-
* @param {string} code Unique identifier for the object.
|
|
115
|
-
* @param {string} [authorization] Bearer Token
|
|
116
|
-
* @param {*} [options] Override http request option.
|
|
117
|
-
* @throws {RequiredError}
|
|
118
|
-
*/
|
|
119
|
-
getBankAccount(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetBankAccountResponseClass>>;
|
|
120
|
-
/**
|
|
121
|
-
* 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.
|
|
122
61
|
* @summary List bank accounts
|
|
123
62
|
* @param {string} [authorization] Bearer Token
|
|
124
63
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
@@ -131,27 +70,7 @@ export declare const BankAccountsApiFp: (configuration?: Configuration) => {
|
|
|
131
70
|
* @param {*} [options] Override http request option.
|
|
132
71
|
* @throws {RequiredError}
|
|
133
72
|
*/
|
|
134
|
-
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<
|
|
135
|
-
/**
|
|
136
|
-
* Set primary bank account
|
|
137
|
-
* @summary Set primary bank account
|
|
138
|
-
* @param {string} code Code of the bank account to set primary
|
|
139
|
-
* @param {SetPrimaryBankAccountRequestDtoRest} setPrimaryBankAccountRequestDtoRest
|
|
140
|
-
* @param {string} [authorization] Bearer Token
|
|
141
|
-
* @param {*} [options] Override http request option.
|
|
142
|
-
* @throws {RequiredError}
|
|
143
|
-
*/
|
|
144
|
-
setPrimaryBankAccount(code: string, setPrimaryBankAccountRequestDtoRest: SetPrimaryBankAccountRequestDtoRest, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
|
|
145
|
-
/**
|
|
146
|
-
* Update a bank account by code
|
|
147
|
-
* @summary Update the Update bank account
|
|
148
|
-
* @param {string} code Unique identifier for the object.
|
|
149
|
-
* @param {UpdateBankAccountRequestDtoRest} updateBankAccountRequestDtoRest
|
|
150
|
-
* @param {string} [authorization] Bearer Token
|
|
151
|
-
* @param {*} [options] Override http request option.
|
|
152
|
-
* @throws {RequiredError}
|
|
153
|
-
*/
|
|
154
|
-
updateBankAccount(code: string, updateBankAccountRequestDtoRest: UpdateBankAccountRequestDtoRest, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
|
|
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>>;
|
|
155
74
|
};
|
|
156
75
|
/**
|
|
157
76
|
* BankAccountsApi - factory interface
|
|
@@ -161,32 +80,14 @@ export declare const BankAccountsApiFactory: (configuration?: Configuration, bas
|
|
|
161
80
|
/**
|
|
162
81
|
* Creates a bank account for a specified account.
|
|
163
82
|
* @summary Create a bank account
|
|
164
|
-
* @param {
|
|
83
|
+
* @param {object} body
|
|
165
84
|
* @param {string} [authorization] Bearer Token
|
|
166
85
|
* @param {*} [options] Override http request option.
|
|
167
86
|
* @throws {RequiredError}
|
|
168
87
|
*/
|
|
169
|
-
createBankAccount(
|
|
88
|
+
createBankAccount(body: object, authorization?: string, options?: any): AxiosPromise<void>;
|
|
170
89
|
/**
|
|
171
|
-
*
|
|
172
|
-
* @summary Delete the bank account
|
|
173
|
-
* @param {string} code Unique identifier for the object.
|
|
174
|
-
* @param {string} [authorization] Bearer Token
|
|
175
|
-
* @param {*} [options] Override http request option.
|
|
176
|
-
* @throws {RequiredError}
|
|
177
|
-
*/
|
|
178
|
-
deleteBankAccount(code: string, authorization?: string, options?: any): AxiosPromise<object>;
|
|
179
|
-
/**
|
|
180
|
-
* 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.
|
|
181
|
-
* @summary Retrieve the Bank Account
|
|
182
|
-
* @param {string} code Unique identifier for the object.
|
|
183
|
-
* @param {string} [authorization] Bearer Token
|
|
184
|
-
* @param {*} [options] Override http request option.
|
|
185
|
-
* @throws {RequiredError}
|
|
186
|
-
*/
|
|
187
|
-
getBankAccount(code: string, authorization?: string, options?: any): AxiosPromise<GetBankAccountResponseClass>;
|
|
188
|
-
/**
|
|
189
|
-
* 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.
|
|
190
91
|
* @summary List bank accounts
|
|
191
92
|
* @param {string} [authorization] Bearer Token
|
|
192
93
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
@@ -199,27 +100,7 @@ export declare const BankAccountsApiFactory: (configuration?: Configuration, bas
|
|
|
199
100
|
* @param {*} [options] Override http request option.
|
|
200
101
|
* @throws {RequiredError}
|
|
201
102
|
*/
|
|
202
|
-
listBankAccounts(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options?: any): AxiosPromise<
|
|
203
|
-
/**
|
|
204
|
-
* Set primary bank account
|
|
205
|
-
* @summary Set primary bank account
|
|
206
|
-
* @param {string} code Code of the bank account to set primary
|
|
207
|
-
* @param {SetPrimaryBankAccountRequestDtoRest} setPrimaryBankAccountRequestDtoRest
|
|
208
|
-
* @param {string} [authorization] Bearer Token
|
|
209
|
-
* @param {*} [options] Override http request option.
|
|
210
|
-
* @throws {RequiredError}
|
|
211
|
-
*/
|
|
212
|
-
setPrimaryBankAccount(code: string, setPrimaryBankAccountRequestDtoRest: SetPrimaryBankAccountRequestDtoRest, authorization?: string, options?: any): AxiosPromise<object>;
|
|
213
|
-
/**
|
|
214
|
-
* Update a bank account by code
|
|
215
|
-
* @summary Update the Update bank account
|
|
216
|
-
* @param {string} code Unique identifier for the object.
|
|
217
|
-
* @param {UpdateBankAccountRequestDtoRest} updateBankAccountRequestDtoRest
|
|
218
|
-
* @param {string} [authorization] Bearer Token
|
|
219
|
-
* @param {*} [options] Override http request option.
|
|
220
|
-
* @throws {RequiredError}
|
|
221
|
-
*/
|
|
222
|
-
updateBankAccount(code: string, updateBankAccountRequestDtoRest: UpdateBankAccountRequestDtoRest, authorization?: string, options?: any): AxiosPromise<object>;
|
|
103
|
+
listBankAccounts(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options?: any): AxiosPromise<void>;
|
|
223
104
|
};
|
|
224
105
|
/**
|
|
225
106
|
* Request parameters for createBankAccount operation in BankAccountsApi.
|
|
@@ -229,10 +110,10 @@ export declare const BankAccountsApiFactory: (configuration?: Configuration, bas
|
|
|
229
110
|
export interface BankAccountsApiCreateBankAccountRequest {
|
|
230
111
|
/**
|
|
231
112
|
*
|
|
232
|
-
* @type {
|
|
113
|
+
* @type {object}
|
|
233
114
|
* @memberof BankAccountsApiCreateBankAccount
|
|
234
115
|
*/
|
|
235
|
-
readonly
|
|
116
|
+
readonly body: object;
|
|
236
117
|
/**
|
|
237
118
|
* Bearer Token
|
|
238
119
|
* @type {string}
|
|
@@ -240,44 +121,6 @@ export interface BankAccountsApiCreateBankAccountRequest {
|
|
|
240
121
|
*/
|
|
241
122
|
readonly authorization?: string;
|
|
242
123
|
}
|
|
243
|
-
/**
|
|
244
|
-
* Request parameters for deleteBankAccount operation in BankAccountsApi.
|
|
245
|
-
* @export
|
|
246
|
-
* @interface BankAccountsApiDeleteBankAccountRequest
|
|
247
|
-
*/
|
|
248
|
-
export interface BankAccountsApiDeleteBankAccountRequest {
|
|
249
|
-
/**
|
|
250
|
-
* Unique identifier for the object.
|
|
251
|
-
* @type {string}
|
|
252
|
-
* @memberof BankAccountsApiDeleteBankAccount
|
|
253
|
-
*/
|
|
254
|
-
readonly code: string;
|
|
255
|
-
/**
|
|
256
|
-
* Bearer Token
|
|
257
|
-
* @type {string}
|
|
258
|
-
* @memberof BankAccountsApiDeleteBankAccount
|
|
259
|
-
*/
|
|
260
|
-
readonly authorization?: string;
|
|
261
|
-
}
|
|
262
|
-
/**
|
|
263
|
-
* Request parameters for getBankAccount operation in BankAccountsApi.
|
|
264
|
-
* @export
|
|
265
|
-
* @interface BankAccountsApiGetBankAccountRequest
|
|
266
|
-
*/
|
|
267
|
-
export interface BankAccountsApiGetBankAccountRequest {
|
|
268
|
-
/**
|
|
269
|
-
* Unique identifier for the object.
|
|
270
|
-
* @type {string}
|
|
271
|
-
* @memberof BankAccountsApiGetBankAccount
|
|
272
|
-
*/
|
|
273
|
-
readonly code: string;
|
|
274
|
-
/**
|
|
275
|
-
* Bearer Token
|
|
276
|
-
* @type {string}
|
|
277
|
-
* @memberof BankAccountsApiGetBankAccount
|
|
278
|
-
*/
|
|
279
|
-
readonly authorization?: string;
|
|
280
|
-
}
|
|
281
124
|
/**
|
|
282
125
|
* Request parameters for listBankAccounts operation in BankAccountsApi.
|
|
283
126
|
* @export
|
|
@@ -333,56 +176,6 @@ export interface BankAccountsApiListBankAccountsRequest {
|
|
|
333
176
|
*/
|
|
334
177
|
readonly filters?: any;
|
|
335
178
|
}
|
|
336
|
-
/**
|
|
337
|
-
* Request parameters for setPrimaryBankAccount operation in BankAccountsApi.
|
|
338
|
-
* @export
|
|
339
|
-
* @interface BankAccountsApiSetPrimaryBankAccountRequest
|
|
340
|
-
*/
|
|
341
|
-
export interface BankAccountsApiSetPrimaryBankAccountRequest {
|
|
342
|
-
/**
|
|
343
|
-
* Code of the bank account to set primary
|
|
344
|
-
* @type {string}
|
|
345
|
-
* @memberof BankAccountsApiSetPrimaryBankAccount
|
|
346
|
-
*/
|
|
347
|
-
readonly code: string;
|
|
348
|
-
/**
|
|
349
|
-
*
|
|
350
|
-
* @type {SetPrimaryBankAccountRequestDtoRest}
|
|
351
|
-
* @memberof BankAccountsApiSetPrimaryBankAccount
|
|
352
|
-
*/
|
|
353
|
-
readonly setPrimaryBankAccountRequestDtoRest: SetPrimaryBankAccountRequestDtoRest;
|
|
354
|
-
/**
|
|
355
|
-
* Bearer Token
|
|
356
|
-
* @type {string}
|
|
357
|
-
* @memberof BankAccountsApiSetPrimaryBankAccount
|
|
358
|
-
*/
|
|
359
|
-
readonly authorization?: string;
|
|
360
|
-
}
|
|
361
|
-
/**
|
|
362
|
-
* Request parameters for updateBankAccount operation in BankAccountsApi.
|
|
363
|
-
* @export
|
|
364
|
-
* @interface BankAccountsApiUpdateBankAccountRequest
|
|
365
|
-
*/
|
|
366
|
-
export interface BankAccountsApiUpdateBankAccountRequest {
|
|
367
|
-
/**
|
|
368
|
-
* Unique identifier for the object.
|
|
369
|
-
* @type {string}
|
|
370
|
-
* @memberof BankAccountsApiUpdateBankAccount
|
|
371
|
-
*/
|
|
372
|
-
readonly code: string;
|
|
373
|
-
/**
|
|
374
|
-
*
|
|
375
|
-
* @type {UpdateBankAccountRequestDtoRest}
|
|
376
|
-
* @memberof BankAccountsApiUpdateBankAccount
|
|
377
|
-
*/
|
|
378
|
-
readonly updateBankAccountRequestDtoRest: UpdateBankAccountRequestDtoRest;
|
|
379
|
-
/**
|
|
380
|
-
* Bearer Token
|
|
381
|
-
* @type {string}
|
|
382
|
-
* @memberof BankAccountsApiUpdateBankAccount
|
|
383
|
-
*/
|
|
384
|
-
readonly authorization?: string;
|
|
385
|
-
}
|
|
386
179
|
/**
|
|
387
180
|
* BankAccountsApi - object-oriented interface
|
|
388
181
|
* @export
|
|
@@ -398,50 +191,14 @@ export declare class BankAccountsApi extends BaseAPI {
|
|
|
398
191
|
* @throws {RequiredError}
|
|
399
192
|
* @memberof BankAccountsApi
|
|
400
193
|
*/
|
|
401
|
-
createBankAccount(requestParameters: BankAccountsApiCreateBankAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
194
|
+
createBankAccount(requestParameters: BankAccountsApiCreateBankAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
402
195
|
/**
|
|
403
|
-
*
|
|
404
|
-
* @summary Delete the bank account
|
|
405
|
-
* @param {BankAccountsApiDeleteBankAccountRequest} requestParameters Request parameters.
|
|
406
|
-
* @param {*} [options] Override http request option.
|
|
407
|
-
* @throws {RequiredError}
|
|
408
|
-
* @memberof BankAccountsApi
|
|
409
|
-
*/
|
|
410
|
-
deleteBankAccount(requestParameters: BankAccountsApiDeleteBankAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any>>;
|
|
411
|
-
/**
|
|
412
|
-
* 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.
|
|
413
|
-
* @summary Retrieve the Bank Account
|
|
414
|
-
* @param {BankAccountsApiGetBankAccountRequest} requestParameters Request parameters.
|
|
415
|
-
* @param {*} [options] Override http request option.
|
|
416
|
-
* @throws {RequiredError}
|
|
417
|
-
* @memberof BankAccountsApi
|
|
418
|
-
*/
|
|
419
|
-
getBankAccount(requestParameters: BankAccountsApiGetBankAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetBankAccountResponseClass, any>>;
|
|
420
|
-
/**
|
|
421
|
-
* 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.
|
|
422
197
|
* @summary List bank accounts
|
|
423
198
|
* @param {BankAccountsApiListBankAccountsRequest} requestParameters Request parameters.
|
|
424
199
|
* @param {*} [options] Override http request option.
|
|
425
200
|
* @throws {RequiredError}
|
|
426
201
|
* @memberof BankAccountsApi
|
|
427
202
|
*/
|
|
428
|
-
listBankAccounts(requestParameters?: BankAccountsApiListBankAccountsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
429
|
-
/**
|
|
430
|
-
* Set primary bank account
|
|
431
|
-
* @summary Set primary bank account
|
|
432
|
-
* @param {BankAccountsApiSetPrimaryBankAccountRequest} requestParameters Request parameters.
|
|
433
|
-
* @param {*} [options] Override http request option.
|
|
434
|
-
* @throws {RequiredError}
|
|
435
|
-
* @memberof BankAccountsApi
|
|
436
|
-
*/
|
|
437
|
-
setPrimaryBankAccount(requestParameters: BankAccountsApiSetPrimaryBankAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any>>;
|
|
438
|
-
/**
|
|
439
|
-
* Update a bank account by code
|
|
440
|
-
* @summary Update the Update bank account
|
|
441
|
-
* @param {BankAccountsApiUpdateBankAccountRequest} requestParameters Request parameters.
|
|
442
|
-
* @param {*} [options] Override http request option.
|
|
443
|
-
* @throws {RequiredError}
|
|
444
|
-
* @memberof BankAccountsApi
|
|
445
|
-
*/
|
|
446
|
-
updateBankAccount(requestParameters: BankAccountsApiUpdateBankAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any>>;
|
|
203
|
+
listBankAccounts(requestParameters?: BankAccountsApiListBankAccountsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
447
204
|
}
|