@emilgroup/payment-sdk 1.3.1 → 1.4.1-beta.1
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 -30
- package/README.md +2 -2
- package/api/bank-accounts-api.ts +35 -25
- package/api/bank-transaction-api.ts +152 -46
- package/api/default-api.ts +1 -1
- package/api/payment-methods-api.ts +56 -46
- package/api/payment-reminders-api.ts +27 -17
- package/api/payment-setup-api.ts +29 -37
- package/api/payments-api.ts +44 -32
- package/api/refunds-api.ts +36 -20
- package/api/tenant-bank-account-api.ts +21 -7
- package/api/webhooks-api.ts +1 -1
- package/api.ts +1 -1
- package/base.ts +2 -1
- package/common.ts +2 -2
- package/configuration.ts +1 -1
- package/dist/api/bank-accounts-api.d.ts +23 -16
- package/dist/api/bank-accounts-api.js +25 -19
- package/dist/api/bank-transaction-api.d.ts +96 -34
- package/dist/api/bank-transaction-api.js +134 -35
- 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 +38 -33
- package/dist/api/payment-methods-api.js +41 -31
- package/dist/api/payment-reminders-api.d.ts +23 -16
- package/dist/api/payment-reminders-api.js +13 -7
- 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 +32 -26
- package/dist/api/payments-api.js +29 -19
- package/dist/api/refunds-api.d.ts +23 -14
- package/dist/api/refunds-api.js +24 -16
- package/dist/api/tenant-bank-account-api.d.ts +13 -4
- package/dist/api/tenant-bank-account-api.js +13 -7
- 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 +2 -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/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 -30
- package/dist/models/index.js +0 -30
- 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/list-bank-transactions-response-class.d.ts +1 -1
- package/dist/models/list-bank-transactions-response-class.js +1 -1
- package/dist/models/list-refunds-response-class.d.ts +1 -1
- package/dist/models/list-refunds-response-class.js +1 -1
- package/dist/models/refund-class.d.ts +1 -1
- package/dist/models/refund-class.js +1 -1
- package/dist/models/tenant-bank-account-response-class.d.ts +1 -1
- package/dist/models/tenant-bank-account-response-class.js +1 -1
- package/dist/models/transaction-class.d.ts +1 -1
- package/dist/models/transaction-class.js +1 -1
- package/dist/models/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/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 -30
- package/models/inline-response200.ts +1 -1
- package/models/inline-response503.ts +1 -1
- package/models/list-bank-transactions-response-class.ts +1 -1
- package/models/list-refunds-response-class.ts +1 -1
- package/models/refund-class.ts +1 -1
- package/models/tenant-bank-account-response-class.ts +1 -1
- package/models/transaction-class.ts +1 -1
- package/models/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 -54
- 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 -30
- 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-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/link-bank-transaction-request-dto.d.ts +0 -30
- package/dist/models/link-bank-transaction-request-dto.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/sepa-direct-dto.d.ts +0 -24
- package/dist/models/sepa-direct-dto.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/models/bank-account-class.ts +0 -60
- 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 -36
- 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-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/link-bank-transaction-request-dto.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/sepa-direct-dto.ts +0 -30
- package/models/symphony-profile-limited-response-dto.ts +0 -48
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
|
|
4
4
|
*
|
|
5
5
|
* The version of the OpenAPI document: 1.0
|
|
6
|
-
* Contact:
|
|
6
|
+
* Contact: z
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
9
|
* https://openapi-generator.tech
|
|
@@ -12,8 +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 { ListBankAccountsResponseClass } from '../models';
|
|
17
15
|
/**
|
|
18
16
|
* BankAccountsApi - axios parameter creator
|
|
19
17
|
* @export
|
|
@@ -22,12 +20,12 @@ export declare const BankAccountsApiAxiosParamCreator: (configuration?: Configur
|
|
|
22
20
|
/**
|
|
23
21
|
* Creates a bank account for a specified account.
|
|
24
22
|
* @summary Create a bank account
|
|
25
|
-
* @param {
|
|
23
|
+
* @param {object} body
|
|
26
24
|
* @param {string} [authorization] Bearer Token
|
|
27
25
|
* @param {*} [options] Override http request option.
|
|
28
26
|
* @throws {RequiredError}
|
|
29
27
|
*/
|
|
30
|
-
createBankAccount: (
|
|
28
|
+
createBankAccount: (body: object, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
31
29
|
/**
|
|
32
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.
|
|
33
31
|
* @summary List bank accounts
|
|
@@ -38,10 +36,11 @@ export declare const BankAccountsApiAxiosParamCreator: (configuration?: Configur
|
|
|
38
36
|
* @param {any} [search] Search the list by any field. For instance, if you want to search by code add code=xxx in order to fetch the result.
|
|
39
37
|
* @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
40
38
|
* @param {any} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
39
|
+
* @param {any} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
|
|
41
40
|
* @param {*} [options] Override http request option.
|
|
42
41
|
* @throws {RequiredError}
|
|
43
42
|
*/
|
|
44
|
-
listBankAccounts: (authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
43
|
+
listBankAccounts: (authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
45
44
|
};
|
|
46
45
|
/**
|
|
47
46
|
* BankAccountsApi - functional programming interface
|
|
@@ -51,12 +50,12 @@ export declare const BankAccountsApiFp: (configuration?: Configuration) => {
|
|
|
51
50
|
/**
|
|
52
51
|
* Creates a bank account for a specified account.
|
|
53
52
|
* @summary Create a bank account
|
|
54
|
-
* @param {
|
|
53
|
+
* @param {object} body
|
|
55
54
|
* @param {string} [authorization] Bearer Token
|
|
56
55
|
* @param {*} [options] Override http request option.
|
|
57
56
|
* @throws {RequiredError}
|
|
58
57
|
*/
|
|
59
|
-
createBankAccount(
|
|
58
|
+
createBankAccount(body: object, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
60
59
|
/**
|
|
61
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.
|
|
62
61
|
* @summary List bank accounts
|
|
@@ -67,10 +66,11 @@ export declare const BankAccountsApiFp: (configuration?: Configuration) => {
|
|
|
67
66
|
* @param {any} [search] Search the list by any field. For instance, if you want to search by code add code=xxx in order to fetch the result.
|
|
68
67
|
* @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
69
68
|
* @param {any} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
69
|
+
* @param {any} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
|
|
70
70
|
* @param {*} [options] Override http request option.
|
|
71
71
|
* @throws {RequiredError}
|
|
72
72
|
*/
|
|
73
|
-
listBankAccounts(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
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>>;
|
|
74
74
|
};
|
|
75
75
|
/**
|
|
76
76
|
* BankAccountsApi - factory interface
|
|
@@ -80,12 +80,12 @@ export declare const BankAccountsApiFactory: (configuration?: Configuration, bas
|
|
|
80
80
|
/**
|
|
81
81
|
* Creates a bank account for a specified account.
|
|
82
82
|
* @summary Create a bank account
|
|
83
|
-
* @param {
|
|
83
|
+
* @param {object} body
|
|
84
84
|
* @param {string} [authorization] Bearer Token
|
|
85
85
|
* @param {*} [options] Override http request option.
|
|
86
86
|
* @throws {RequiredError}
|
|
87
87
|
*/
|
|
88
|
-
createBankAccount(
|
|
88
|
+
createBankAccount(body: object, authorization?: string, options?: any): AxiosPromise<void>;
|
|
89
89
|
/**
|
|
90
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.
|
|
91
91
|
* @summary List bank accounts
|
|
@@ -96,10 +96,11 @@ export declare const BankAccountsApiFactory: (configuration?: Configuration, bas
|
|
|
96
96
|
* @param {any} [search] Search the list by any field. For instance, if you want to search by code add code=xxx in order to fetch the result.
|
|
97
97
|
* @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
98
98
|
* @param {any} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
99
|
+
* @param {any} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
|
|
99
100
|
* @param {*} [options] Override http request option.
|
|
100
101
|
* @throws {RequiredError}
|
|
101
102
|
*/
|
|
102
|
-
listBankAccounts(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: any): AxiosPromise<
|
|
103
|
+
listBankAccounts(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options?: any): AxiosPromise<void>;
|
|
103
104
|
};
|
|
104
105
|
/**
|
|
105
106
|
* Request parameters for createBankAccount operation in BankAccountsApi.
|
|
@@ -109,10 +110,10 @@ export declare const BankAccountsApiFactory: (configuration?: Configuration, bas
|
|
|
109
110
|
export interface BankAccountsApiCreateBankAccountRequest {
|
|
110
111
|
/**
|
|
111
112
|
*
|
|
112
|
-
* @type {
|
|
113
|
+
* @type {object}
|
|
113
114
|
* @memberof BankAccountsApiCreateBankAccount
|
|
114
115
|
*/
|
|
115
|
-
readonly
|
|
116
|
+
readonly body: object;
|
|
116
117
|
/**
|
|
117
118
|
* Bearer Token
|
|
118
119
|
* @type {string}
|
|
@@ -168,6 +169,12 @@ export interface BankAccountsApiListBankAccountsRequest {
|
|
|
168
169
|
* @memberof BankAccountsApiListBankAccounts
|
|
169
170
|
*/
|
|
170
171
|
readonly expand?: any;
|
|
172
|
+
/**
|
|
173
|
+
* Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
|
|
174
|
+
* @type {any}
|
|
175
|
+
* @memberof BankAccountsApiListBankAccounts
|
|
176
|
+
*/
|
|
177
|
+
readonly filters?: any;
|
|
171
178
|
}
|
|
172
179
|
/**
|
|
173
180
|
* BankAccountsApi - object-oriented interface
|
|
@@ -184,7 +191,7 @@ export declare class BankAccountsApi extends BaseAPI {
|
|
|
184
191
|
* @throws {RequiredError}
|
|
185
192
|
* @memberof BankAccountsApi
|
|
186
193
|
*/
|
|
187
|
-
createBankAccount(requestParameters: BankAccountsApiCreateBankAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
194
|
+
createBankAccount(requestParameters: BankAccountsApiCreateBankAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
188
195
|
/**
|
|
189
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.
|
|
190
197
|
* @summary List bank accounts
|
|
@@ -193,5 +200,5 @@ export declare class BankAccountsApi extends BaseAPI {
|
|
|
193
200
|
* @throws {RequiredError}
|
|
194
201
|
* @memberof BankAccountsApi
|
|
195
202
|
*/
|
|
196
|
-
listBankAccounts(requestParameters?: BankAccountsApiListBankAccountsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
203
|
+
listBankAccounts(requestParameters?: BankAccountsApiListBankAccountsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
197
204
|
}
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* 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.
|
|
7
7
|
*
|
|
8
8
|
* The version of the OpenAPI document: 1.0
|
|
9
|
-
* Contact:
|
|
9
|
+
* Contact: z
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
12
|
* https://openapi-generator.tech
|
|
@@ -95,20 +95,20 @@ var BankAccountsApiAxiosParamCreator = function (configuration) {
|
|
|
95
95
|
/**
|
|
96
96
|
* Creates a bank account for a specified account.
|
|
97
97
|
* @summary Create a bank account
|
|
98
|
-
* @param {
|
|
98
|
+
* @param {object} body
|
|
99
99
|
* @param {string} [authorization] Bearer Token
|
|
100
100
|
* @param {*} [options] Override http request option.
|
|
101
101
|
* @throws {RequiredError}
|
|
102
102
|
*/
|
|
103
|
-
createBankAccount: function (
|
|
103
|
+
createBankAccount: function (body, authorization, options) {
|
|
104
104
|
if (options === void 0) { options = {}; }
|
|
105
105
|
return __awaiter(_this, void 0, void 0, function () {
|
|
106
106
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
107
107
|
return __generator(this, function (_a) {
|
|
108
108
|
switch (_a.label) {
|
|
109
109
|
case 0:
|
|
110
|
-
// verify required parameter '
|
|
111
|
-
(0, common_1.assertParamExists)('createBankAccount', '
|
|
110
|
+
// verify required parameter 'body' is not null or undefined
|
|
111
|
+
(0, common_1.assertParamExists)('createBankAccount', 'body', body);
|
|
112
112
|
localVarPath = "/paymentservice/v1/bank-accounts";
|
|
113
113
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
114
114
|
if (configuration) {
|
|
@@ -132,7 +132,7 @@ var BankAccountsApiAxiosParamCreator = function (configuration) {
|
|
|
132
132
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
133
133
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
134
134
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
135
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(
|
|
135
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(body, localVarRequestOptions, configuration);
|
|
136
136
|
return [2 /*return*/, {
|
|
137
137
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
138
138
|
options: localVarRequestOptions,
|
|
@@ -151,10 +151,11 @@ var BankAccountsApiAxiosParamCreator = function (configuration) {
|
|
|
151
151
|
* @param {any} [search] Search the list by any field. For instance, if you want to search by code add code=xxx in order to fetch the result.
|
|
152
152
|
* @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.
|
|
153
153
|
* @param {any} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
154
|
+
* @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.
|
|
154
155
|
* @param {*} [options] Override http request option.
|
|
155
156
|
* @throws {RequiredError}
|
|
156
157
|
*/
|
|
157
|
-
listBankAccounts: function (authorization, pageSize, pageToken, filter, search, order, expand, options) {
|
|
158
|
+
listBankAccounts: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
158
159
|
if (options === void 0) { options = {}; }
|
|
159
160
|
return __awaiter(_this, void 0, void 0, function () {
|
|
160
161
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -195,6 +196,9 @@ var BankAccountsApiAxiosParamCreator = function (configuration) {
|
|
|
195
196
|
if (expand !== undefined) {
|
|
196
197
|
localVarQueryParameter['expand'] = expand;
|
|
197
198
|
}
|
|
199
|
+
if (filters !== undefined) {
|
|
200
|
+
localVarQueryParameter['filters'] = filters;
|
|
201
|
+
}
|
|
198
202
|
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
199
203
|
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
200
204
|
}
|
|
@@ -222,17 +226,17 @@ var BankAccountsApiFp = function (configuration) {
|
|
|
222
226
|
/**
|
|
223
227
|
* Creates a bank account for a specified account.
|
|
224
228
|
* @summary Create a bank account
|
|
225
|
-
* @param {
|
|
229
|
+
* @param {object} body
|
|
226
230
|
* @param {string} [authorization] Bearer Token
|
|
227
231
|
* @param {*} [options] Override http request option.
|
|
228
232
|
* @throws {RequiredError}
|
|
229
233
|
*/
|
|
230
|
-
createBankAccount: function (
|
|
234
|
+
createBankAccount: function (body, authorization, options) {
|
|
231
235
|
return __awaiter(this, void 0, void 0, function () {
|
|
232
236
|
var localVarAxiosArgs;
|
|
233
237
|
return __generator(this, function (_a) {
|
|
234
238
|
switch (_a.label) {
|
|
235
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.createBankAccount(
|
|
239
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.createBankAccount(body, authorization, options)];
|
|
236
240
|
case 1:
|
|
237
241
|
localVarAxiosArgs = _a.sent();
|
|
238
242
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -250,15 +254,16 @@ var BankAccountsApiFp = function (configuration) {
|
|
|
250
254
|
* @param {any} [search] Search the list by any field. For instance, if you want to search by code add code=xxx in order to fetch the result.
|
|
251
255
|
* @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.
|
|
252
256
|
* @param {any} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
257
|
+
* @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.
|
|
253
258
|
* @param {*} [options] Override http request option.
|
|
254
259
|
* @throws {RequiredError}
|
|
255
260
|
*/
|
|
256
|
-
listBankAccounts: function (authorization, pageSize, pageToken, filter, search, order, expand, options) {
|
|
261
|
+
listBankAccounts: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
257
262
|
return __awaiter(this, void 0, void 0, function () {
|
|
258
263
|
var localVarAxiosArgs;
|
|
259
264
|
return __generator(this, function (_a) {
|
|
260
265
|
switch (_a.label) {
|
|
261
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listBankAccounts(authorization, pageSize, pageToken, filter, search, order, expand, options)];
|
|
266
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listBankAccounts(authorization, pageSize, pageToken, filter, search, order, expand, filters, options)];
|
|
262
267
|
case 1:
|
|
263
268
|
localVarAxiosArgs = _a.sent();
|
|
264
269
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -279,13 +284,13 @@ var BankAccountsApiFactory = function (configuration, basePath, axios) {
|
|
|
279
284
|
/**
|
|
280
285
|
* Creates a bank account for a specified account.
|
|
281
286
|
* @summary Create a bank account
|
|
282
|
-
* @param {
|
|
287
|
+
* @param {object} body
|
|
283
288
|
* @param {string} [authorization] Bearer Token
|
|
284
289
|
* @param {*} [options] Override http request option.
|
|
285
290
|
* @throws {RequiredError}
|
|
286
291
|
*/
|
|
287
|
-
createBankAccount: function (
|
|
288
|
-
return localVarFp.createBankAccount(
|
|
292
|
+
createBankAccount: function (body, authorization, options) {
|
|
293
|
+
return localVarFp.createBankAccount(body, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
289
294
|
},
|
|
290
295
|
/**
|
|
291
296
|
* 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.
|
|
@@ -297,11 +302,12 @@ var BankAccountsApiFactory = function (configuration, basePath, axios) {
|
|
|
297
302
|
* @param {any} [search] Search the list by any field. For instance, if you want to search by code add code=xxx in order to fetch the result.
|
|
298
303
|
* @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.
|
|
299
304
|
* @param {any} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
305
|
+
* @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.
|
|
300
306
|
* @param {*} [options] Override http request option.
|
|
301
307
|
* @throws {RequiredError}
|
|
302
308
|
*/
|
|
303
|
-
listBankAccounts: function (authorization, pageSize, pageToken, filter, search, order, expand, options) {
|
|
304
|
-
return localVarFp.listBankAccounts(authorization, pageSize, pageToken, filter, search, order, expand, options).then(function (request) { return request(axios, basePath); });
|
|
309
|
+
listBankAccounts: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
310
|
+
return localVarFp.listBankAccounts(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
|
|
305
311
|
},
|
|
306
312
|
};
|
|
307
313
|
};
|
|
@@ -327,7 +333,7 @@ var BankAccountsApi = /** @class */ (function (_super) {
|
|
|
327
333
|
*/
|
|
328
334
|
BankAccountsApi.prototype.createBankAccount = function (requestParameters, options) {
|
|
329
335
|
var _this = this;
|
|
330
|
-
return (0, exports.BankAccountsApiFp)(this.configuration).createBankAccount(requestParameters.
|
|
336
|
+
return (0, exports.BankAccountsApiFp)(this.configuration).createBankAccount(requestParameters.body, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
331
337
|
};
|
|
332
338
|
/**
|
|
333
339
|
* 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.
|
|
@@ -340,7 +346,7 @@ var BankAccountsApi = /** @class */ (function (_super) {
|
|
|
340
346
|
BankAccountsApi.prototype.listBankAccounts = function (requestParameters, options) {
|
|
341
347
|
var _this = this;
|
|
342
348
|
if (requestParameters === void 0) { requestParameters = {}; }
|
|
343
|
-
return (0, exports.BankAccountsApiFp)(this.configuration).listBankAccounts(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
349
|
+
return (0, exports.BankAccountsApiFp)(this.configuration).listBankAccounts(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
344
350
|
};
|
|
345
351
|
return BankAccountsApi;
|
|
346
352
|
}(base_1.BaseAPI));
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
|
|
4
4
|
*
|
|
5
5
|
* The version of the OpenAPI document: 1.0
|
|
6
|
-
* Contact:
|
|
6
|
+
* Contact: z
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
9
|
* https://openapi-generator.tech
|
|
@@ -13,7 +13,6 @@ import { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
|
|
|
13
13
|
import { Configuration } from '../configuration';
|
|
14
14
|
import { RequestArgs, BaseAPI } from '../base';
|
|
15
15
|
import { GetBankTransactionsResponseClass } from '../models';
|
|
16
|
-
import { LinkBankTransactionRequestDto } from '../models';
|
|
17
16
|
import { ListBankTransactionsResponseClass } from '../models';
|
|
18
17
|
/**
|
|
19
18
|
* BankTransactionApi - axios parameter creator
|
|
@@ -21,7 +20,8 @@ import { ListBankTransactionsResponseClass } from '../models';
|
|
|
21
20
|
*/
|
|
22
21
|
export declare const BankTransactionApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
23
22
|
/**
|
|
24
|
-
*
|
|
23
|
+
* Retrieves the details of the Bank Transaction that was previously created. Supply the unique Bank Transaction code that was returned when you created it and Emil Api will return the corresponding Bank Transaction information.
|
|
24
|
+
* @summary Retrieve the Bank Transaction
|
|
25
25
|
* @param {string} code
|
|
26
26
|
* @param {string} [authorization] Bearer Token
|
|
27
27
|
* @param {string} [expand] Expand the response with additional entities
|
|
@@ -31,7 +31,7 @@ export declare const BankTransactionApiAxiosParamCreator: (configuration?: Confi
|
|
|
31
31
|
getBankTransaction: (code: string, authorization?: string, expand?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
32
32
|
/**
|
|
33
33
|
* Import bank transactions from a swift MT940 file
|
|
34
|
-
* @summary Create the
|
|
34
|
+
* @summary Create the bank transactions
|
|
35
35
|
* @param {string} [authorization] Bearer Token
|
|
36
36
|
* @param {any} [file]
|
|
37
37
|
* @param {*} [options] Override http request option.
|
|
@@ -41,15 +41,15 @@ export declare const BankTransactionApiAxiosParamCreator: (configuration?: Confi
|
|
|
41
41
|
/**
|
|
42
42
|
* Links a bank transaction with an invoice
|
|
43
43
|
* @summary Link Bank Transaction
|
|
44
|
-
* @param {string} code Code of the bank
|
|
45
|
-
* @param {LinkBankTransactionRequestDto} linkBankTransactionRequestDto
|
|
44
|
+
* @param {string} code Code of the bank transaction to link
|
|
46
45
|
* @param {string} [authorization] Bearer Token
|
|
47
46
|
* @param {*} [options] Override http request option.
|
|
48
47
|
* @throws {RequiredError}
|
|
49
48
|
*/
|
|
50
|
-
linkBankTransaction: (code: string,
|
|
49
|
+
linkBankTransaction: (code: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
51
50
|
/**
|
|
52
|
-
*
|
|
51
|
+
* Returns a list of bank transactions you have previously created. The bank transactions are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
52
|
+
* @summary List bank transactions
|
|
53
53
|
* @param {string} [authorization] Bearer Token
|
|
54
54
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
55
55
|
* @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
@@ -57,10 +57,20 @@ export declare const BankTransactionApiAxiosParamCreator: (configuration?: Confi
|
|
|
57
57
|
* @param {any} [search] Search the list by any field. For instance, if you want to search by code add code=xxx in order to fetch the result.
|
|
58
58
|
* @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.
|
|
59
59
|
* @param {string} [expand] Expand the response with additional entities
|
|
60
|
+
* @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.
|
|
61
|
+
* @param {*} [options] Override http request option.
|
|
62
|
+
* @throws {RequiredError}
|
|
63
|
+
*/
|
|
64
|
+
listBankTransactions: (authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: string, filters?: any, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
65
|
+
/**
|
|
66
|
+
* Unlinks an already linked bank transaction
|
|
67
|
+
* @summary Unlink Bank Transaction
|
|
68
|
+
* @param {string} code Code of the bank transaction to unlink
|
|
69
|
+
* @param {string} [authorization] Bearer Token
|
|
60
70
|
* @param {*} [options] Override http request option.
|
|
61
71
|
* @throws {RequiredError}
|
|
62
72
|
*/
|
|
63
|
-
|
|
73
|
+
unlinkBankTransaction: (code: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
64
74
|
};
|
|
65
75
|
/**
|
|
66
76
|
* BankTransactionApi - functional programming interface
|
|
@@ -68,7 +78,8 @@ export declare const BankTransactionApiAxiosParamCreator: (configuration?: Confi
|
|
|
68
78
|
*/
|
|
69
79
|
export declare const BankTransactionApiFp: (configuration?: Configuration) => {
|
|
70
80
|
/**
|
|
71
|
-
*
|
|
81
|
+
* Retrieves the details of the Bank Transaction that was previously created. Supply the unique Bank Transaction code that was returned when you created it and Emil Api will return the corresponding Bank Transaction information.
|
|
82
|
+
* @summary Retrieve the Bank Transaction
|
|
72
83
|
* @param {string} code
|
|
73
84
|
* @param {string} [authorization] Bearer Token
|
|
74
85
|
* @param {string} [expand] Expand the response with additional entities
|
|
@@ -78,7 +89,7 @@ export declare const BankTransactionApiFp: (configuration?: Configuration) => {
|
|
|
78
89
|
getBankTransaction(code: string, authorization?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetBankTransactionsResponseClass>>;
|
|
79
90
|
/**
|
|
80
91
|
* Import bank transactions from a swift MT940 file
|
|
81
|
-
* @summary Create the
|
|
92
|
+
* @summary Create the bank transactions
|
|
82
93
|
* @param {string} [authorization] Bearer Token
|
|
83
94
|
* @param {any} [file]
|
|
84
95
|
* @param {*} [options] Override http request option.
|
|
@@ -88,15 +99,15 @@ export declare const BankTransactionApiFp: (configuration?: Configuration) => {
|
|
|
88
99
|
/**
|
|
89
100
|
* Links a bank transaction with an invoice
|
|
90
101
|
* @summary Link Bank Transaction
|
|
91
|
-
* @param {string} code Code of the bank
|
|
92
|
-
* @param {LinkBankTransactionRequestDto} linkBankTransactionRequestDto
|
|
102
|
+
* @param {string} code Code of the bank transaction to link
|
|
93
103
|
* @param {string} [authorization] Bearer Token
|
|
94
104
|
* @param {*} [options] Override http request option.
|
|
95
105
|
* @throws {RequiredError}
|
|
96
106
|
*/
|
|
97
|
-
linkBankTransaction(code: string,
|
|
107
|
+
linkBankTransaction(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetBankTransactionsResponseClass>>;
|
|
98
108
|
/**
|
|
99
|
-
*
|
|
109
|
+
* Returns a list of bank transactions you have previously created. The bank transactions are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
110
|
+
* @summary List bank transactions
|
|
100
111
|
* @param {string} [authorization] Bearer Token
|
|
101
112
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
102
113
|
* @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
@@ -104,10 +115,20 @@ export declare const BankTransactionApiFp: (configuration?: Configuration) => {
|
|
|
104
115
|
* @param {any} [search] Search the list by any field. For instance, if you want to search by code add code=xxx in order to fetch the result.
|
|
105
116
|
* @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.
|
|
106
117
|
* @param {string} [expand] Expand the response with additional entities
|
|
118
|
+
* @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.
|
|
107
119
|
* @param {*} [options] Override http request option.
|
|
108
120
|
* @throws {RequiredError}
|
|
109
121
|
*/
|
|
110
|
-
listBankTransactions(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
122
|
+
listBankTransactions(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: string, filters?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
123
|
+
/**
|
|
124
|
+
* Unlinks an already linked bank transaction
|
|
125
|
+
* @summary Unlink Bank Transaction
|
|
126
|
+
* @param {string} code Code of the bank transaction to unlink
|
|
127
|
+
* @param {string} [authorization] Bearer Token
|
|
128
|
+
* @param {*} [options] Override http request option.
|
|
129
|
+
* @throws {RequiredError}
|
|
130
|
+
*/
|
|
131
|
+
unlinkBankTransaction(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetBankTransactionsResponseClass>>;
|
|
111
132
|
};
|
|
112
133
|
/**
|
|
113
134
|
* BankTransactionApi - factory interface
|
|
@@ -115,7 +136,8 @@ export declare const BankTransactionApiFp: (configuration?: Configuration) => {
|
|
|
115
136
|
*/
|
|
116
137
|
export declare const BankTransactionApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
117
138
|
/**
|
|
118
|
-
*
|
|
139
|
+
* Retrieves the details of the Bank Transaction that was previously created. Supply the unique Bank Transaction code that was returned when you created it and Emil Api will return the corresponding Bank Transaction information.
|
|
140
|
+
* @summary Retrieve the Bank Transaction
|
|
119
141
|
* @param {string} code
|
|
120
142
|
* @param {string} [authorization] Bearer Token
|
|
121
143
|
* @param {string} [expand] Expand the response with additional entities
|
|
@@ -125,7 +147,7 @@ export declare const BankTransactionApiFactory: (configuration?: Configuration,
|
|
|
125
147
|
getBankTransaction(code: string, authorization?: string, expand?: string, options?: any): AxiosPromise<GetBankTransactionsResponseClass>;
|
|
126
148
|
/**
|
|
127
149
|
* Import bank transactions from a swift MT940 file
|
|
128
|
-
* @summary Create the
|
|
150
|
+
* @summary Create the bank transactions
|
|
129
151
|
* @param {string} [authorization] Bearer Token
|
|
130
152
|
* @param {any} [file]
|
|
131
153
|
* @param {*} [options] Override http request option.
|
|
@@ -135,15 +157,15 @@ export declare const BankTransactionApiFactory: (configuration?: Configuration,
|
|
|
135
157
|
/**
|
|
136
158
|
* Links a bank transaction with an invoice
|
|
137
159
|
* @summary Link Bank Transaction
|
|
138
|
-
* @param {string} code Code of the bank
|
|
139
|
-
* @param {LinkBankTransactionRequestDto} linkBankTransactionRequestDto
|
|
160
|
+
* @param {string} code Code of the bank transaction to link
|
|
140
161
|
* @param {string} [authorization] Bearer Token
|
|
141
162
|
* @param {*} [options] Override http request option.
|
|
142
163
|
* @throws {RequiredError}
|
|
143
164
|
*/
|
|
144
|
-
linkBankTransaction(code: string,
|
|
165
|
+
linkBankTransaction(code: string, authorization?: string, options?: any): AxiosPromise<GetBankTransactionsResponseClass>;
|
|
145
166
|
/**
|
|
146
|
-
*
|
|
167
|
+
* Returns a list of bank transactions you have previously created. The bank transactions are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
168
|
+
* @summary List bank transactions
|
|
147
169
|
* @param {string} [authorization] Bearer Token
|
|
148
170
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
149
171
|
* @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
@@ -151,10 +173,20 @@ export declare const BankTransactionApiFactory: (configuration?: Configuration,
|
|
|
151
173
|
* @param {any} [search] Search the list by any field. For instance, if you want to search by code add code=xxx in order to fetch the result.
|
|
152
174
|
* @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.
|
|
153
175
|
* @param {string} [expand] Expand the response with additional entities
|
|
176
|
+
* @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.
|
|
177
|
+
* @param {*} [options] Override http request option.
|
|
178
|
+
* @throws {RequiredError}
|
|
179
|
+
*/
|
|
180
|
+
listBankTransactions(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: string, filters?: any, options?: any): AxiosPromise<void>;
|
|
181
|
+
/**
|
|
182
|
+
* Unlinks an already linked bank transaction
|
|
183
|
+
* @summary Unlink Bank Transaction
|
|
184
|
+
* @param {string} code Code of the bank transaction to unlink
|
|
185
|
+
* @param {string} [authorization] Bearer Token
|
|
154
186
|
* @param {*} [options] Override http request option.
|
|
155
187
|
* @throws {RequiredError}
|
|
156
188
|
*/
|
|
157
|
-
|
|
189
|
+
unlinkBankTransaction(code: string, authorization?: string, options?: any): AxiosPromise<GetBankTransactionsResponseClass>;
|
|
158
190
|
};
|
|
159
191
|
/**
|
|
160
192
|
* Request parameters for getBankTransaction operation in BankTransactionApi.
|
|
@@ -207,17 +239,11 @@ export interface BankTransactionApiImportBankTransactionsRequest {
|
|
|
207
239
|
*/
|
|
208
240
|
export interface BankTransactionApiLinkBankTransactionRequest {
|
|
209
241
|
/**
|
|
210
|
-
* Code of the bank
|
|
242
|
+
* Code of the bank transaction to link
|
|
211
243
|
* @type {string}
|
|
212
244
|
* @memberof BankTransactionApiLinkBankTransaction
|
|
213
245
|
*/
|
|
214
246
|
readonly code: string;
|
|
215
|
-
/**
|
|
216
|
-
*
|
|
217
|
-
* @type {LinkBankTransactionRequestDto}
|
|
218
|
-
* @memberof BankTransactionApiLinkBankTransaction
|
|
219
|
-
*/
|
|
220
|
-
readonly linkBankTransactionRequestDto: LinkBankTransactionRequestDto;
|
|
221
247
|
/**
|
|
222
248
|
* Bearer Token
|
|
223
249
|
* @type {string}
|
|
@@ -273,6 +299,31 @@ export interface BankTransactionApiListBankTransactionsRequest {
|
|
|
273
299
|
* @memberof BankTransactionApiListBankTransactions
|
|
274
300
|
*/
|
|
275
301
|
readonly expand?: string;
|
|
302
|
+
/**
|
|
303
|
+
* 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.
|
|
304
|
+
* @type {any}
|
|
305
|
+
* @memberof BankTransactionApiListBankTransactions
|
|
306
|
+
*/
|
|
307
|
+
readonly filters?: any;
|
|
308
|
+
}
|
|
309
|
+
/**
|
|
310
|
+
* Request parameters for unlinkBankTransaction operation in BankTransactionApi.
|
|
311
|
+
* @export
|
|
312
|
+
* @interface BankTransactionApiUnlinkBankTransactionRequest
|
|
313
|
+
*/
|
|
314
|
+
export interface BankTransactionApiUnlinkBankTransactionRequest {
|
|
315
|
+
/**
|
|
316
|
+
* Code of the bank transaction to unlink
|
|
317
|
+
* @type {string}
|
|
318
|
+
* @memberof BankTransactionApiUnlinkBankTransaction
|
|
319
|
+
*/
|
|
320
|
+
readonly code: string;
|
|
321
|
+
/**
|
|
322
|
+
* Bearer Token
|
|
323
|
+
* @type {string}
|
|
324
|
+
* @memberof BankTransactionApiUnlinkBankTransaction
|
|
325
|
+
*/
|
|
326
|
+
readonly authorization?: string;
|
|
276
327
|
}
|
|
277
328
|
/**
|
|
278
329
|
* BankTransactionApi - object-oriented interface
|
|
@@ -282,7 +333,8 @@ export interface BankTransactionApiListBankTransactionsRequest {
|
|
|
282
333
|
*/
|
|
283
334
|
export declare class BankTransactionApi extends BaseAPI {
|
|
284
335
|
/**
|
|
285
|
-
*
|
|
336
|
+
* Retrieves the details of the Bank Transaction that was previously created. Supply the unique Bank Transaction code that was returned when you created it and Emil Api will return the corresponding Bank Transaction information.
|
|
337
|
+
* @summary Retrieve the Bank Transaction
|
|
286
338
|
* @param {BankTransactionApiGetBankTransactionRequest} requestParameters Request parameters.
|
|
287
339
|
* @param {*} [options] Override http request option.
|
|
288
340
|
* @throws {RequiredError}
|
|
@@ -291,7 +343,7 @@ export declare class BankTransactionApi extends BaseAPI {
|
|
|
291
343
|
getBankTransaction(requestParameters: BankTransactionApiGetBankTransactionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetBankTransactionsResponseClass, any>>;
|
|
292
344
|
/**
|
|
293
345
|
* Import bank transactions from a swift MT940 file
|
|
294
|
-
* @summary Create the
|
|
346
|
+
* @summary Create the bank transactions
|
|
295
347
|
* @param {BankTransactionApiImportBankTransactionsRequest} requestParameters Request parameters.
|
|
296
348
|
* @param {*} [options] Override http request option.
|
|
297
349
|
* @throws {RequiredError}
|
|
@@ -308,11 +360,21 @@ export declare class BankTransactionApi extends BaseAPI {
|
|
|
308
360
|
*/
|
|
309
361
|
linkBankTransaction(requestParameters: BankTransactionApiLinkBankTransactionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetBankTransactionsResponseClass, any>>;
|
|
310
362
|
/**
|
|
311
|
-
*
|
|
363
|
+
* Returns a list of bank transactions you have previously created. The bank transactions are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
364
|
+
* @summary List bank transactions
|
|
312
365
|
* @param {BankTransactionApiListBankTransactionsRequest} requestParameters Request parameters.
|
|
313
366
|
* @param {*} [options] Override http request option.
|
|
314
367
|
* @throws {RequiredError}
|
|
315
368
|
* @memberof BankTransactionApi
|
|
316
369
|
*/
|
|
317
|
-
listBankTransactions(requestParameters?: BankTransactionApiListBankTransactionsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
370
|
+
listBankTransactions(requestParameters?: BankTransactionApiListBankTransactionsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
371
|
+
/**
|
|
372
|
+
* Unlinks an already linked bank transaction
|
|
373
|
+
* @summary Unlink Bank Transaction
|
|
374
|
+
* @param {BankTransactionApiUnlinkBankTransactionRequest} requestParameters Request parameters.
|
|
375
|
+
* @param {*} [options] Override http request option.
|
|
376
|
+
* @throws {RequiredError}
|
|
377
|
+
* @memberof BankTransactionApi
|
|
378
|
+
*/
|
|
379
|
+
unlinkBankTransaction(requestParameters: BankTransactionApiUnlinkBankTransactionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetBankTransactionsResponseClass, any>>;
|
|
318
380
|
}
|