@emilgroup/payment-sdk 1.4.1-beta.38 → 1.4.1-beta.39
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 -51
- package/README.md +2 -2
- package/api/bank-accounts-api.ts +24 -74
- package/api/bank-transaction-api.ts +26 -64
- package/api/payment-methods-api.ts +30 -80
- package/api/payment-reminders-api.ts +20 -70
- package/api/payment-setup-api.ts +28 -36
- package/api/payments-api.ts +18 -66
- package/api/refunds-api.ts +22 -56
- package/api/tenant-bank-account-api.ts +18 -46
- package/dist/api/bank-accounts-api.d.ts +25 -56
- package/dist/api/bank-accounts-api.js +11 -29
- package/dist/api/bank-transaction-api.d.ts +24 -47
- package/dist/api/bank-transaction-api.js +12 -24
- package/dist/api/payment-methods-api.d.ts +22 -53
- package/dist/api/payment-methods-api.js +23 -41
- package/dist/api/payment-reminders-api.d.ts +19 -50
- package/dist/api/payment-reminders-api.js +11 -29
- package/dist/api/payment-setup-api.d.ts +18 -22
- package/dist/api/payment-setup-api.js +24 -24
- package/dist/api/payments-api.d.ts +16 -46
- package/dist/api/payments-api.js +11 -29
- package/dist/api/refunds-api.d.ts +18 -39
- package/dist/api/refunds-api.js +12 -24
- package/dist/api/tenant-bank-account-api.d.ts +11 -29
- package/dist/api/tenant-bank-account-api.js +12 -24
- package/dist/models/bank-transaction-class-without-expand-properties.d.ts +12 -0
- package/dist/models/create-bank-account-request-dto.d.ts +2 -2
- package/dist/models/create-payment-request-dto.d.ts +3 -3
- package/dist/models/index.d.ts +0 -51
- package/dist/models/index.js +0 -51
- package/dist/models/tenant-bank-account-class-without-expand-properties.d.ts +12 -0
- package/dist/models/tenant-bank-account-class.d.ts +12 -0
- package/dist/models/validate-pspconfig-request-dto.d.ts +1 -8
- package/dist/models/validate-pspconfig-request-dto.js +0 -7
- package/models/bank-transaction-class-without-expand-properties.ts +12 -0
- package/models/create-bank-account-request-dto.ts +2 -2
- package/models/create-payment-request-dto.ts +3 -3
- package/models/index.ts +0 -51
- package/models/tenant-bank-account-class-without-expand-properties.ts +12 -0
- package/models/tenant-bank-account-class.ts +12 -0
- package/models/validate-pspconfig-request-dto.ts +1 -11
- package/package.json +1 -1
- package/dist/models/bank-account-class-without-expand-properties.d.ts +0 -72
- package/dist/models/bank-account-class-without-expand-properties.js +0 -15
- package/dist/models/bank-account-class.d.ts +0 -79
- package/dist/models/bank-account-class.js +0 -15
- package/dist/models/bank-transaction-class.d.ts +0 -128
- package/dist/models/bank-transaction-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-response-class.d.ts +0 -25
- package/dist/models/create-bank-account-response-class.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-reminder-response-class.d.ts +0 -25
- package/dist/models/create-payment-reminder-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/create-refund-response-class.d.ts +0 -25
- package/dist/models/create-refund-response-class.js +0 -15
- 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/deactivated-payment-reminder-class.d.ts +0 -90
- package/dist/models/deactivated-payment-reminder-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-bank-transactions-response-class.d.ts +0 -25
- package/dist/models/get-bank-transactions-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-reminder-response-class.d.ts +0 -25
- package/dist/models/get-payment-reminder-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/get-refund-response-class.d.ts +0 -25
- package/dist/models/get-refund-response-class.js +0 -15
- package/dist/models/import-bank-transactions-response-class.d.ts +0 -25
- package/dist/models/import-bank-transactions-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 -50
- 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-transactions-response-class.d.ts +0 -25
- package/dist/models/link-bank-transactions-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-bank-transactions-response-class.d.ts +0 -31
- package/dist/models/list-bank-transactions-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/list-refunds-response-class.d.ts +0 -31
- package/dist/models/list-refunds-response-class.js +0 -15
- package/dist/models/payment-class-without-expand-properties.d.ts +0 -102
- package/dist/models/payment-class-without-expand-properties.js +0 -15
- package/dist/models/payment-class.d.ts +0 -109
- 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 -90
- package/dist/models/payment-reminder-class.js +0 -15
- package/dist/models/primary-bank-account-response-class.d.ts +0 -42
- package/dist/models/primary-bank-account-response-class.js +0 -15
- package/dist/models/refund-class-without-expand-properties.d.ts +0 -99
- package/dist/models/refund-class-without-expand-properties.js +0 -29
- package/dist/models/refund-class.d.ts +0 -106
- package/dist/models/refund-class.js +0 -29
- package/dist/models/refund-item-class.d.ts +0 -102
- package/dist/models/refund-item-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/symphony-profile-limited-response-dto.d.ts +0 -42
- package/dist/models/symphony-profile-limited-response-dto.js +0 -15
- package/dist/models/transaction-class.d.ts +0 -54
- package/dist/models/transaction-class.js +0 -15
- package/dist/models/unlink-bank-transactions-response-class.d.ts +0 -25
- package/dist/models/unlink-bank-transactions-response-class.js +0 -15
- package/dist/models/unlinked-bank-transaction-response-class.d.ts +0 -96
- package/dist/models/unlinked-bank-transaction-response-class.js +0 -15
- package/dist/models/update-bank-account-response-class.d.ts +0 -25
- package/dist/models/update-bank-account-response-class.js +0 -15
- package/models/bank-account-class-without-expand-properties.ts +0 -78
- package/models/bank-account-class.ts +0 -85
- package/models/bank-transaction-class.ts +0 -134
- 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-response-class.ts +0 -31
- package/models/create-payment-method-response-class.ts +0 -31
- package/models/create-payment-reminder-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/create-refund-response-class.ts +0 -31
- package/models/deactivate-payment-reminder-response-class.ts +0 -31
- package/models/deactivated-payment-reminder-class.ts +0 -96
- package/models/get-bank-account-response-class.ts +0 -31
- package/models/get-bank-transactions-response-class.ts +0 -31
- package/models/get-payment-method-response-class.ts +0 -31
- package/models/get-payment-reminder-response-class.ts +0 -31
- package/models/get-payment-response-class.ts +0 -31
- package/models/get-refund-response-class.ts +0 -31
- package/models/import-bank-transactions-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 -56
- 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-transactions-response-class.ts +0 -31
- package/models/list-bank-accounts-response-class.ts +0 -37
- package/models/list-bank-transactions-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/list-refunds-response-class.ts +0 -37
- package/models/payment-class-without-expand-properties.ts +0 -108
- package/models/payment-class.ts +0 -115
- package/models/payment-method-class.ts +0 -72
- package/models/payment-reminder-class.ts +0 -96
- package/models/primary-bank-account-response-class.ts +0 -48
- package/models/refund-class-without-expand-properties.ts +0 -109
- package/models/refund-class.ts +0 -116
- package/models/refund-item-class.ts +0 -108
- package/models/sepa-direct-dto.ts +0 -30
- package/models/symphony-profile-limited-response-dto.ts +0 -48
- package/models/transaction-class.ts +0 -60
- package/models/unlink-bank-transactions-response-class.ts +0 -31
- package/models/unlinked-bank-transaction-response-class.ts +0 -102
- package/models/update-bank-account-response-class.ts +0 -31
|
@@ -12,13 +12,8 @@
|
|
|
12
12
|
import { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
|
|
13
13
|
import { Configuration } from '../configuration';
|
|
14
14
|
import { RequestArgs, BaseAPI } from '../base';
|
|
15
|
-
import { GetBankTransactionsResponseClass } from '../models';
|
|
16
|
-
import { ImportBankTransactionsResponseClass } from '../models';
|
|
17
15
|
import { LinkBankTransactionRequestDtoRest } from '../models';
|
|
18
|
-
import { LinkBankTransactionsResponseClass } from '../models';
|
|
19
|
-
import { ListBankTransactionsResponseClass } from '../models';
|
|
20
16
|
import { UnlinkBankTransactionRequestDtoRest } from '../models';
|
|
21
|
-
import { UnlinkBankTransactionsResponseClass } from '../models';
|
|
22
17
|
/**
|
|
23
18
|
* BankTransactionApi - axios parameter creator
|
|
24
19
|
* @export
|
|
@@ -57,17 +52,15 @@ export declare const BankTransactionApiAxiosParamCreator: (configuration?: Confi
|
|
|
57
52
|
* 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.
|
|
58
53
|
* @summary List bank transactions
|
|
59
54
|
* @param {string} [authorization] Bearer Token
|
|
60
|
-
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
61
|
-
* @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.
|
|
62
55
|
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, bankAccountId, bankAccountNumber, swiftMessageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked</i>
|
|
56
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, bankAccountId, bankAccountNumber, swiftMessageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked</i>
|
|
63
57
|
* @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: id, createdAt, amount</i>
|
|
64
58
|
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, createdAt, amount, transactionDate, entryDate</i>
|
|
65
59
|
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: bankAccount, transaction<i>
|
|
66
|
-
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, bankAccountId, bankAccountNumber, swiftMessageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked</i>
|
|
67
60
|
* @param {*} [options] Override http request option.
|
|
68
61
|
* @throws {RequiredError}
|
|
69
62
|
*/
|
|
70
|
-
listBankTransactions: (authorization?: string,
|
|
63
|
+
listBankTransactions: (authorization?: string, filter?: string, filters?: string, search?: string, order?: string, expand?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
71
64
|
/**
|
|
72
65
|
* Unlinks an already linked bank transaction
|
|
73
66
|
* @summary Unlink bank transaction
|
|
@@ -93,7 +86,7 @@ export declare const BankTransactionApiFp: (configuration?: Configuration) => {
|
|
|
93
86
|
* @param {*} [options] Override http request option.
|
|
94
87
|
* @throws {RequiredError}
|
|
95
88
|
*/
|
|
96
|
-
getBankTransaction(code: string, authorization?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
89
|
+
getBankTransaction(code: string, authorization?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
97
90
|
/**
|
|
98
91
|
* This will import bank transactions from a swift MT940 file
|
|
99
92
|
* @summary Create the bank transactions
|
|
@@ -102,7 +95,7 @@ export declare const BankTransactionApiFp: (configuration?: Configuration) => {
|
|
|
102
95
|
* @param {*} [options] Override http request option.
|
|
103
96
|
* @throws {RequiredError}
|
|
104
97
|
*/
|
|
105
|
-
importBankTransactions(file: any, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
98
|
+
importBankTransactions(file: any, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
106
99
|
/**
|
|
107
100
|
* Links a bank transaction with an invoice
|
|
108
101
|
* @summary Link bank transaction
|
|
@@ -112,22 +105,20 @@ export declare const BankTransactionApiFp: (configuration?: Configuration) => {
|
|
|
112
105
|
* @param {*} [options] Override http request option.
|
|
113
106
|
* @throws {RequiredError}
|
|
114
107
|
*/
|
|
115
|
-
linkBankTransaction(code: string, linkBankTransactionRequestDtoRest: LinkBankTransactionRequestDtoRest, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
108
|
+
linkBankTransaction(code: string, linkBankTransactionRequestDtoRest: LinkBankTransactionRequestDtoRest, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
116
109
|
/**
|
|
117
110
|
* 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.
|
|
118
111
|
* @summary List bank transactions
|
|
119
112
|
* @param {string} [authorization] Bearer Token
|
|
120
|
-
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
121
|
-
* @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.
|
|
122
113
|
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, bankAccountId, bankAccountNumber, swiftMessageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked</i>
|
|
114
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, bankAccountId, bankAccountNumber, swiftMessageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked</i>
|
|
123
115
|
* @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: id, createdAt, amount</i>
|
|
124
116
|
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, createdAt, amount, transactionDate, entryDate</i>
|
|
125
117
|
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: bankAccount, transaction<i>
|
|
126
|
-
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, bankAccountId, bankAccountNumber, swiftMessageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked</i>
|
|
127
118
|
* @param {*} [options] Override http request option.
|
|
128
119
|
* @throws {RequiredError}
|
|
129
120
|
*/
|
|
130
|
-
listBankTransactions(authorization?: string,
|
|
121
|
+
listBankTransactions(authorization?: string, filter?: string, filters?: string, search?: string, order?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
131
122
|
/**
|
|
132
123
|
* Unlinks an already linked bank transaction
|
|
133
124
|
* @summary Unlink bank transaction
|
|
@@ -137,7 +128,7 @@ export declare const BankTransactionApiFp: (configuration?: Configuration) => {
|
|
|
137
128
|
* @param {*} [options] Override http request option.
|
|
138
129
|
* @throws {RequiredError}
|
|
139
130
|
*/
|
|
140
|
-
unlinkBankTransaction(code: string, unlinkBankTransactionRequestDtoRest: UnlinkBankTransactionRequestDtoRest, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
131
|
+
unlinkBankTransaction(code: string, unlinkBankTransactionRequestDtoRest: UnlinkBankTransactionRequestDtoRest, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
141
132
|
};
|
|
142
133
|
/**
|
|
143
134
|
* BankTransactionApi - factory interface
|
|
@@ -153,7 +144,7 @@ export declare const BankTransactionApiFactory: (configuration?: Configuration,
|
|
|
153
144
|
* @param {*} [options] Override http request option.
|
|
154
145
|
* @throws {RequiredError}
|
|
155
146
|
*/
|
|
156
|
-
getBankTransaction(code: string, authorization?: string, expand?: string, options?: any): AxiosPromise<
|
|
147
|
+
getBankTransaction(code: string, authorization?: string, expand?: string, options?: any): AxiosPromise<void>;
|
|
157
148
|
/**
|
|
158
149
|
* This will import bank transactions from a swift MT940 file
|
|
159
150
|
* @summary Create the bank transactions
|
|
@@ -162,7 +153,7 @@ export declare const BankTransactionApiFactory: (configuration?: Configuration,
|
|
|
162
153
|
* @param {*} [options] Override http request option.
|
|
163
154
|
* @throws {RequiredError}
|
|
164
155
|
*/
|
|
165
|
-
importBankTransactions(file: any, authorization?: string, options?: any): AxiosPromise<
|
|
156
|
+
importBankTransactions(file: any, authorization?: string, options?: any): AxiosPromise<void>;
|
|
166
157
|
/**
|
|
167
158
|
* Links a bank transaction with an invoice
|
|
168
159
|
* @summary Link bank transaction
|
|
@@ -172,22 +163,20 @@ export declare const BankTransactionApiFactory: (configuration?: Configuration,
|
|
|
172
163
|
* @param {*} [options] Override http request option.
|
|
173
164
|
* @throws {RequiredError}
|
|
174
165
|
*/
|
|
175
|
-
linkBankTransaction(code: string, linkBankTransactionRequestDtoRest: LinkBankTransactionRequestDtoRest, authorization?: string, options?: any): AxiosPromise<
|
|
166
|
+
linkBankTransaction(code: string, linkBankTransactionRequestDtoRest: LinkBankTransactionRequestDtoRest, authorization?: string, options?: any): AxiosPromise<void>;
|
|
176
167
|
/**
|
|
177
168
|
* 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.
|
|
178
169
|
* @summary List bank transactions
|
|
179
170
|
* @param {string} [authorization] Bearer Token
|
|
180
|
-
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
181
|
-
* @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.
|
|
182
171
|
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, bankAccountId, bankAccountNumber, swiftMessageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked</i>
|
|
172
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, bankAccountId, bankAccountNumber, swiftMessageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked</i>
|
|
183
173
|
* @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: id, createdAt, amount</i>
|
|
184
174
|
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, createdAt, amount, transactionDate, entryDate</i>
|
|
185
175
|
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: bankAccount, transaction<i>
|
|
186
|
-
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, bankAccountId, bankAccountNumber, swiftMessageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked</i>
|
|
187
176
|
* @param {*} [options] Override http request option.
|
|
188
177
|
* @throws {RequiredError}
|
|
189
178
|
*/
|
|
190
|
-
listBankTransactions(authorization?: string,
|
|
179
|
+
listBankTransactions(authorization?: string, filter?: string, filters?: string, search?: string, order?: string, expand?: string, options?: any): AxiosPromise<void>;
|
|
191
180
|
/**
|
|
192
181
|
* Unlinks an already linked bank transaction
|
|
193
182
|
* @summary Unlink bank transaction
|
|
@@ -197,7 +186,7 @@ export declare const BankTransactionApiFactory: (configuration?: Configuration,
|
|
|
197
186
|
* @param {*} [options] Override http request option.
|
|
198
187
|
* @throws {RequiredError}
|
|
199
188
|
*/
|
|
200
|
-
unlinkBankTransaction(code: string, unlinkBankTransactionRequestDtoRest: UnlinkBankTransactionRequestDtoRest, authorization?: string, options?: any): AxiosPromise<
|
|
189
|
+
unlinkBankTransaction(code: string, unlinkBankTransactionRequestDtoRest: UnlinkBankTransactionRequestDtoRest, authorization?: string, options?: any): AxiosPromise<void>;
|
|
201
190
|
};
|
|
202
191
|
/**
|
|
203
192
|
* Request parameters for getBankTransaction operation in BankTransactionApi.
|
|
@@ -281,23 +270,17 @@ export interface BankTransactionApiListBankTransactionsRequest {
|
|
|
281
270
|
*/
|
|
282
271
|
readonly authorization?: string;
|
|
283
272
|
/**
|
|
284
|
-
*
|
|
285
|
-
* @type {
|
|
286
|
-
* @memberof BankTransactionApiListBankTransactions
|
|
287
|
-
*/
|
|
288
|
-
readonly pageSize?: any;
|
|
289
|
-
/**
|
|
290
|
-
* 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.
|
|
291
|
-
* @type {any}
|
|
273
|
+
* Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, bankAccountId, bankAccountNumber, swiftMessageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked</i>
|
|
274
|
+
* @type {string}
|
|
292
275
|
* @memberof BankTransactionApiListBankTransactions
|
|
293
276
|
*/
|
|
294
|
-
readonly
|
|
277
|
+
readonly filter?: string;
|
|
295
278
|
/**
|
|
296
|
-
*
|
|
279
|
+
* Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, bankAccountId, bankAccountNumber, swiftMessageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked</i>
|
|
297
280
|
* @type {string}
|
|
298
281
|
* @memberof BankTransactionApiListBankTransactions
|
|
299
282
|
*/
|
|
300
|
-
readonly
|
|
283
|
+
readonly filters?: string;
|
|
301
284
|
/**
|
|
302
285
|
* Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: id, createdAt, amount</i>
|
|
303
286
|
* @type {string}
|
|
@@ -316,12 +299,6 @@ export interface BankTransactionApiListBankTransactionsRequest {
|
|
|
316
299
|
* @memberof BankTransactionApiListBankTransactions
|
|
317
300
|
*/
|
|
318
301
|
readonly expand?: string;
|
|
319
|
-
/**
|
|
320
|
-
* Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, bankAccountId, bankAccountNumber, swiftMessageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked</i>
|
|
321
|
-
* @type {string}
|
|
322
|
-
* @memberof BankTransactionApiListBankTransactions
|
|
323
|
-
*/
|
|
324
|
-
readonly filters?: string;
|
|
325
302
|
}
|
|
326
303
|
/**
|
|
327
304
|
* Request parameters for unlinkBankTransaction operation in BankTransactionApi.
|
|
@@ -363,7 +340,7 @@ export declare class BankTransactionApi extends BaseAPI {
|
|
|
363
340
|
* @throws {RequiredError}
|
|
364
341
|
* @memberof BankTransactionApi
|
|
365
342
|
*/
|
|
366
|
-
getBankTransaction(requestParameters: BankTransactionApiGetBankTransactionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
343
|
+
getBankTransaction(requestParameters: BankTransactionApiGetBankTransactionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
367
344
|
/**
|
|
368
345
|
* This will import bank transactions from a swift MT940 file
|
|
369
346
|
* @summary Create the bank transactions
|
|
@@ -372,7 +349,7 @@ export declare class BankTransactionApi extends BaseAPI {
|
|
|
372
349
|
* @throws {RequiredError}
|
|
373
350
|
* @memberof BankTransactionApi
|
|
374
351
|
*/
|
|
375
|
-
importBankTransactions(requestParameters: BankTransactionApiImportBankTransactionsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
352
|
+
importBankTransactions(requestParameters: BankTransactionApiImportBankTransactionsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
376
353
|
/**
|
|
377
354
|
* Links a bank transaction with an invoice
|
|
378
355
|
* @summary Link bank transaction
|
|
@@ -381,7 +358,7 @@ export declare class BankTransactionApi extends BaseAPI {
|
|
|
381
358
|
* @throws {RequiredError}
|
|
382
359
|
* @memberof BankTransactionApi
|
|
383
360
|
*/
|
|
384
|
-
linkBankTransaction(requestParameters: BankTransactionApiLinkBankTransactionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
361
|
+
linkBankTransaction(requestParameters: BankTransactionApiLinkBankTransactionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
385
362
|
/**
|
|
386
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.
|
|
387
364
|
* @summary List bank transactions
|
|
@@ -390,7 +367,7 @@ export declare class BankTransactionApi extends BaseAPI {
|
|
|
390
367
|
* @throws {RequiredError}
|
|
391
368
|
* @memberof BankTransactionApi
|
|
392
369
|
*/
|
|
393
|
-
listBankTransactions(requestParameters?: BankTransactionApiListBankTransactionsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
370
|
+
listBankTransactions(requestParameters?: BankTransactionApiListBankTransactionsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
394
371
|
/**
|
|
395
372
|
* Unlinks an already linked bank transaction
|
|
396
373
|
* @summary Unlink bank transaction
|
|
@@ -399,5 +376,5 @@ export declare class BankTransactionApi extends BaseAPI {
|
|
|
399
376
|
* @throws {RequiredError}
|
|
400
377
|
* @memberof BankTransactionApi
|
|
401
378
|
*/
|
|
402
|
-
unlinkBankTransaction(requestParameters: BankTransactionApiUnlinkBankTransactionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
379
|
+
unlinkBankTransaction(requestParameters: BankTransactionApiUnlinkBankTransactionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
403
380
|
}
|
|
@@ -253,17 +253,15 @@ var BankTransactionApiAxiosParamCreator = function (configuration) {
|
|
|
253
253
|
* 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.
|
|
254
254
|
* @summary List bank transactions
|
|
255
255
|
* @param {string} [authorization] Bearer Token
|
|
256
|
-
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
257
|
-
* @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.
|
|
258
256
|
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, bankAccountId, bankAccountNumber, swiftMessageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked</i>
|
|
257
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, bankAccountId, bankAccountNumber, swiftMessageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked</i>
|
|
259
258
|
* @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: id, createdAt, amount</i>
|
|
260
259
|
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, createdAt, amount, transactionDate, entryDate</i>
|
|
261
260
|
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: bankAccount, transaction<i>
|
|
262
|
-
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, bankAccountId, bankAccountNumber, swiftMessageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked</i>
|
|
263
261
|
* @param {*} [options] Override http request option.
|
|
264
262
|
* @throws {RequiredError}
|
|
265
263
|
*/
|
|
266
|
-
listBankTransactions: function (authorization,
|
|
264
|
+
listBankTransactions: function (authorization, filter, filters, search, order, expand, options) {
|
|
267
265
|
if (options === void 0) { options = {}; }
|
|
268
266
|
return __awaiter(_this, void 0, void 0, function () {
|
|
269
267
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -286,15 +284,12 @@ var BankTransactionApiAxiosParamCreator = function (configuration) {
|
|
|
286
284
|
// authentication bearer required
|
|
287
285
|
// http bearer authentication required
|
|
288
286
|
_a.sent();
|
|
289
|
-
if (pageSize !== undefined) {
|
|
290
|
-
localVarQueryParameter['pageSize'] = pageSize;
|
|
291
|
-
}
|
|
292
|
-
if (pageToken !== undefined) {
|
|
293
|
-
localVarQueryParameter['pageToken'] = pageToken;
|
|
294
|
-
}
|
|
295
287
|
if (filter !== undefined) {
|
|
296
288
|
localVarQueryParameter['filter'] = filter;
|
|
297
289
|
}
|
|
290
|
+
if (filters !== undefined) {
|
|
291
|
+
localVarQueryParameter['filters'] = filters;
|
|
292
|
+
}
|
|
298
293
|
if (search !== undefined) {
|
|
299
294
|
localVarQueryParameter['search'] = search;
|
|
300
295
|
}
|
|
@@ -304,9 +299,6 @@ var BankTransactionApiAxiosParamCreator = function (configuration) {
|
|
|
304
299
|
if (expand !== undefined) {
|
|
305
300
|
localVarQueryParameter['expand'] = expand;
|
|
306
301
|
}
|
|
307
|
-
if (filters !== undefined) {
|
|
308
|
-
localVarQueryParameter['filters'] = filters;
|
|
309
|
-
}
|
|
310
302
|
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
311
303
|
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
312
304
|
}
|
|
@@ -453,22 +445,20 @@ var BankTransactionApiFp = function (configuration) {
|
|
|
453
445
|
* 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.
|
|
454
446
|
* @summary List bank transactions
|
|
455
447
|
* @param {string} [authorization] Bearer Token
|
|
456
|
-
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
457
|
-
* @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.
|
|
458
448
|
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, bankAccountId, bankAccountNumber, swiftMessageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked</i>
|
|
449
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, bankAccountId, bankAccountNumber, swiftMessageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked</i>
|
|
459
450
|
* @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: id, createdAt, amount</i>
|
|
460
451
|
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, createdAt, amount, transactionDate, entryDate</i>
|
|
461
452
|
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: bankAccount, transaction<i>
|
|
462
|
-
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, bankAccountId, bankAccountNumber, swiftMessageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked</i>
|
|
463
453
|
* @param {*} [options] Override http request option.
|
|
464
454
|
* @throws {RequiredError}
|
|
465
455
|
*/
|
|
466
|
-
listBankTransactions: function (authorization,
|
|
456
|
+
listBankTransactions: function (authorization, filter, filters, search, order, expand, options) {
|
|
467
457
|
return __awaiter(this, void 0, void 0, function () {
|
|
468
458
|
var localVarAxiosArgs;
|
|
469
459
|
return __generator(this, function (_a) {
|
|
470
460
|
switch (_a.label) {
|
|
471
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listBankTransactions(authorization,
|
|
461
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listBankTransactions(authorization, filter, filters, search, order, expand, options)];
|
|
472
462
|
case 1:
|
|
473
463
|
localVarAxiosArgs = _a.sent();
|
|
474
464
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -547,18 +537,16 @@ var BankTransactionApiFactory = function (configuration, basePath, axios) {
|
|
|
547
537
|
* 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.
|
|
548
538
|
* @summary List bank transactions
|
|
549
539
|
* @param {string} [authorization] Bearer Token
|
|
550
|
-
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
551
|
-
* @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.
|
|
552
540
|
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, bankAccountId, bankAccountNumber, swiftMessageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked</i>
|
|
541
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, bankAccountId, bankAccountNumber, swiftMessageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked</i>
|
|
553
542
|
* @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: id, createdAt, amount</i>
|
|
554
543
|
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, createdAt, amount, transactionDate, entryDate</i>
|
|
555
544
|
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: bankAccount, transaction<i>
|
|
556
|
-
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, bankAccountId, bankAccountNumber, swiftMessageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked</i>
|
|
557
545
|
* @param {*} [options] Override http request option.
|
|
558
546
|
* @throws {RequiredError}
|
|
559
547
|
*/
|
|
560
|
-
listBankTransactions: function (authorization,
|
|
561
|
-
return localVarFp.listBankTransactions(authorization,
|
|
548
|
+
listBankTransactions: function (authorization, filter, filters, search, order, expand, options) {
|
|
549
|
+
return localVarFp.listBankTransactions(authorization, filter, filters, search, order, expand, options).then(function (request) { return request(axios, basePath); });
|
|
562
550
|
},
|
|
563
551
|
/**
|
|
564
552
|
* Unlinks an already linked bank transaction
|
|
@@ -633,7 +621,7 @@ var BankTransactionApi = /** @class */ (function (_super) {
|
|
|
633
621
|
BankTransactionApi.prototype.listBankTransactions = function (requestParameters, options) {
|
|
634
622
|
var _this = this;
|
|
635
623
|
if (requestParameters === void 0) { requestParameters = {}; }
|
|
636
|
-
return (0, exports.BankTransactionApiFp)(this.configuration).listBankTransactions(requestParameters.authorization, requestParameters.
|
|
624
|
+
return (0, exports.BankTransactionApiFp)(this.configuration).listBankTransactions(requestParameters.authorization, requestParameters.filter, requestParameters.filters, requestParameters.search, requestParameters.order, requestParameters.expand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
637
625
|
};
|
|
638
626
|
/**
|
|
639
627
|
* Unlinks an already linked bank transaction
|
|
@@ -12,10 +12,6 @@
|
|
|
12
12
|
import { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
|
|
13
13
|
import { Configuration } from '../configuration';
|
|
14
14
|
import { RequestArgs, BaseAPI } from '../base';
|
|
15
|
-
import { CreatePaymentMethodResponseClass } from '../models';
|
|
16
|
-
import { CreatePspPaymentMethodRequestDto } from '../models';
|
|
17
|
-
import { GetPaymentMethodResponseClass } from '../models';
|
|
18
|
-
import { ListPaymentMethodsResponseClass } from '../models';
|
|
19
15
|
/**
|
|
20
16
|
* PaymentMethodsApi - axios parameter creator
|
|
21
17
|
* @export
|
|
@@ -24,12 +20,12 @@ export declare const PaymentMethodsApiAxiosParamCreator: (configuration?: Config
|
|
|
24
20
|
/**
|
|
25
21
|
* This will create payment method in the database as well as in the PSP. The newly created payment method will be set as default payment method will be used by the customer to pay or receive a refund.
|
|
26
22
|
* @summary Create the payment method
|
|
27
|
-
* @param {
|
|
23
|
+
* @param {object} body
|
|
28
24
|
* @param {string} [authorization] Bearer Token
|
|
29
25
|
* @param {*} [options] Override http request option.
|
|
30
26
|
* @throws {RequiredError}
|
|
31
27
|
*/
|
|
32
|
-
createPaymentMethod: (
|
|
28
|
+
createPaymentMethod: (body: object, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
33
29
|
/**
|
|
34
30
|
* Retrieves the details of the payment method that was previously created. Supply the unique payment method code that was returned when you created it and Emil Api will return the corresponding payment method information.
|
|
35
31
|
* @summary Retrieve the payment method
|
|
@@ -43,17 +39,14 @@ export declare const PaymentMethodsApiAxiosParamCreator: (configuration?: Config
|
|
|
43
39
|
* Returns a list of payment methods you have previously created. The payment methods are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
44
40
|
* @summary List payment methods
|
|
45
41
|
* @param {string} [authorization] Bearer Token
|
|
46
|
-
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
47
|
-
* @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.
|
|
48
42
|
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: code, id, pspCustomerId, psp, type</i>
|
|
49
|
-
* @param {
|
|
43
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: code, id, pspCustomerId, psp, type</i>
|
|
50
44
|
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, createdAt</i>
|
|
51
45
|
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: <i>
|
|
52
|
-
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: code, id, pspCustomerId, psp, type</i>
|
|
53
46
|
* @param {*} [options] Override http request option.
|
|
54
47
|
* @throws {RequiredError}
|
|
55
48
|
*/
|
|
56
|
-
listPaymentMethods: (authorization?: string,
|
|
49
|
+
listPaymentMethods: (authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
57
50
|
};
|
|
58
51
|
/**
|
|
59
52
|
* PaymentMethodsApi - functional programming interface
|
|
@@ -63,12 +56,12 @@ export declare const PaymentMethodsApiFp: (configuration?: Configuration) => {
|
|
|
63
56
|
/**
|
|
64
57
|
* This will create payment method in the database as well as in the PSP. The newly created payment method will be set as default payment method will be used by the customer to pay or receive a refund.
|
|
65
58
|
* @summary Create the payment method
|
|
66
|
-
* @param {
|
|
59
|
+
* @param {object} body
|
|
67
60
|
* @param {string} [authorization] Bearer Token
|
|
68
61
|
* @param {*} [options] Override http request option.
|
|
69
62
|
* @throws {RequiredError}
|
|
70
63
|
*/
|
|
71
|
-
createPaymentMethod(
|
|
64
|
+
createPaymentMethod(body: object, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
72
65
|
/**
|
|
73
66
|
* Retrieves the details of the payment method that was previously created. Supply the unique payment method code that was returned when you created it and Emil Api will return the corresponding payment method information.
|
|
74
67
|
* @summary Retrieve the payment method
|
|
@@ -77,22 +70,19 @@ export declare const PaymentMethodsApiFp: (configuration?: Configuration) => {
|
|
|
77
70
|
* @param {*} [options] Override http request option.
|
|
78
71
|
* @throws {RequiredError}
|
|
79
72
|
*/
|
|
80
|
-
getPaymentMethod(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
73
|
+
getPaymentMethod(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
81
74
|
/**
|
|
82
75
|
* Returns a list of payment methods you have previously created. The payment methods are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
83
76
|
* @summary List payment methods
|
|
84
77
|
* @param {string} [authorization] Bearer Token
|
|
85
|
-
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
86
|
-
* @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.
|
|
87
78
|
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: code, id, pspCustomerId, psp, type</i>
|
|
88
|
-
* @param {
|
|
79
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: code, id, pspCustomerId, psp, type</i>
|
|
89
80
|
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, createdAt</i>
|
|
90
81
|
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: <i>
|
|
91
|
-
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: code, id, pspCustomerId, psp, type</i>
|
|
92
82
|
* @param {*} [options] Override http request option.
|
|
93
83
|
* @throws {RequiredError}
|
|
94
84
|
*/
|
|
95
|
-
listPaymentMethods(authorization?: string,
|
|
85
|
+
listPaymentMethods(authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
96
86
|
};
|
|
97
87
|
/**
|
|
98
88
|
* PaymentMethodsApi - factory interface
|
|
@@ -102,12 +92,12 @@ export declare const PaymentMethodsApiFactory: (configuration?: Configuration, b
|
|
|
102
92
|
/**
|
|
103
93
|
* This will create payment method in the database as well as in the PSP. The newly created payment method will be set as default payment method will be used by the customer to pay or receive a refund.
|
|
104
94
|
* @summary Create the payment method
|
|
105
|
-
* @param {
|
|
95
|
+
* @param {object} body
|
|
106
96
|
* @param {string} [authorization] Bearer Token
|
|
107
97
|
* @param {*} [options] Override http request option.
|
|
108
98
|
* @throws {RequiredError}
|
|
109
99
|
*/
|
|
110
|
-
createPaymentMethod(
|
|
100
|
+
createPaymentMethod(body: object, authorization?: string, options?: any): AxiosPromise<void>;
|
|
111
101
|
/**
|
|
112
102
|
* Retrieves the details of the payment method that was previously created. Supply the unique payment method code that was returned when you created it and Emil Api will return the corresponding payment method information.
|
|
113
103
|
* @summary Retrieve the payment method
|
|
@@ -116,22 +106,19 @@ export declare const PaymentMethodsApiFactory: (configuration?: Configuration, b
|
|
|
116
106
|
* @param {*} [options] Override http request option.
|
|
117
107
|
* @throws {RequiredError}
|
|
118
108
|
*/
|
|
119
|
-
getPaymentMethod(code: string, authorization?: string, options?: any): AxiosPromise<
|
|
109
|
+
getPaymentMethod(code: string, authorization?: string, options?: any): AxiosPromise<void>;
|
|
120
110
|
/**
|
|
121
111
|
* Returns a list of payment methods you have previously created. The payment methods are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
122
112
|
* @summary List payment methods
|
|
123
113
|
* @param {string} [authorization] Bearer Token
|
|
124
|
-
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
125
|
-
* @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.
|
|
126
114
|
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: code, id, pspCustomerId, psp, type</i>
|
|
127
|
-
* @param {
|
|
115
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: code, id, pspCustomerId, psp, type</i>
|
|
128
116
|
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, createdAt</i>
|
|
129
117
|
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: <i>
|
|
130
|
-
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: code, id, pspCustomerId, psp, type</i>
|
|
131
118
|
* @param {*} [options] Override http request option.
|
|
132
119
|
* @throws {RequiredError}
|
|
133
120
|
*/
|
|
134
|
-
listPaymentMethods(authorization?: string,
|
|
121
|
+
listPaymentMethods(authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options?: any): AxiosPromise<void>;
|
|
135
122
|
};
|
|
136
123
|
/**
|
|
137
124
|
* Request parameters for createPaymentMethod operation in PaymentMethodsApi.
|
|
@@ -141,10 +128,10 @@ export declare const PaymentMethodsApiFactory: (configuration?: Configuration, b
|
|
|
141
128
|
export interface PaymentMethodsApiCreatePaymentMethodRequest {
|
|
142
129
|
/**
|
|
143
130
|
*
|
|
144
|
-
* @type {
|
|
131
|
+
* @type {object}
|
|
145
132
|
* @memberof PaymentMethodsApiCreatePaymentMethod
|
|
146
133
|
*/
|
|
147
|
-
readonly
|
|
134
|
+
readonly body: object;
|
|
148
135
|
/**
|
|
149
136
|
* Bearer Token
|
|
150
137
|
* @type {string}
|
|
@@ -183,18 +170,6 @@ export interface PaymentMethodsApiListPaymentMethodsRequest {
|
|
|
183
170
|
* @memberof PaymentMethodsApiListPaymentMethods
|
|
184
171
|
*/
|
|
185
172
|
readonly authorization?: string;
|
|
186
|
-
/**
|
|
187
|
-
* A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
188
|
-
* @type {any}
|
|
189
|
-
* @memberof PaymentMethodsApiListPaymentMethods
|
|
190
|
-
*/
|
|
191
|
-
readonly pageSize?: any;
|
|
192
|
-
/**
|
|
193
|
-
* 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.
|
|
194
|
-
* @type {any}
|
|
195
|
-
* @memberof PaymentMethodsApiListPaymentMethods
|
|
196
|
-
*/
|
|
197
|
-
readonly pageToken?: any;
|
|
198
173
|
/**
|
|
199
174
|
* Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: code, id, pspCustomerId, psp, type</i>
|
|
200
175
|
* @type {string}
|
|
@@ -202,11 +177,11 @@ export interface PaymentMethodsApiListPaymentMethodsRequest {
|
|
|
202
177
|
*/
|
|
203
178
|
readonly filter?: string;
|
|
204
179
|
/**
|
|
205
|
-
*
|
|
206
|
-
* @type {
|
|
180
|
+
* Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: code, id, pspCustomerId, psp, type</i>
|
|
181
|
+
* @type {string}
|
|
207
182
|
* @memberof PaymentMethodsApiListPaymentMethods
|
|
208
183
|
*/
|
|
209
|
-
readonly
|
|
184
|
+
readonly filters?: string;
|
|
210
185
|
/**
|
|
211
186
|
* Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, createdAt</i>
|
|
212
187
|
* @type {string}
|
|
@@ -219,12 +194,6 @@ export interface PaymentMethodsApiListPaymentMethodsRequest {
|
|
|
219
194
|
* @memberof PaymentMethodsApiListPaymentMethods
|
|
220
195
|
*/
|
|
221
196
|
readonly expand?: string;
|
|
222
|
-
/**
|
|
223
|
-
* Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: code, id, pspCustomerId, psp, type</i>
|
|
224
|
-
* @type {string}
|
|
225
|
-
* @memberof PaymentMethodsApiListPaymentMethods
|
|
226
|
-
*/
|
|
227
|
-
readonly filters?: string;
|
|
228
197
|
}
|
|
229
198
|
/**
|
|
230
199
|
* PaymentMethodsApi - object-oriented interface
|
|
@@ -241,7 +210,7 @@ export declare class PaymentMethodsApi extends BaseAPI {
|
|
|
241
210
|
* @throws {RequiredError}
|
|
242
211
|
* @memberof PaymentMethodsApi
|
|
243
212
|
*/
|
|
244
|
-
createPaymentMethod(requestParameters: PaymentMethodsApiCreatePaymentMethodRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
213
|
+
createPaymentMethod(requestParameters: PaymentMethodsApiCreatePaymentMethodRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
245
214
|
/**
|
|
246
215
|
* Retrieves the details of the payment method that was previously created. Supply the unique payment method code that was returned when you created it and Emil Api will return the corresponding payment method information.
|
|
247
216
|
* @summary Retrieve the payment method
|
|
@@ -250,7 +219,7 @@ export declare class PaymentMethodsApi extends BaseAPI {
|
|
|
250
219
|
* @throws {RequiredError}
|
|
251
220
|
* @memberof PaymentMethodsApi
|
|
252
221
|
*/
|
|
253
|
-
getPaymentMethod(requestParameters: PaymentMethodsApiGetPaymentMethodRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
222
|
+
getPaymentMethod(requestParameters: PaymentMethodsApiGetPaymentMethodRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
254
223
|
/**
|
|
255
224
|
* Returns a list of payment methods you have previously created. The payment methods are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
256
225
|
* @summary List payment methods
|
|
@@ -259,5 +228,5 @@ export declare class PaymentMethodsApi extends BaseAPI {
|
|
|
259
228
|
* @throws {RequiredError}
|
|
260
229
|
* @memberof PaymentMethodsApi
|
|
261
230
|
*/
|
|
262
|
-
listPaymentMethods(requestParameters?: PaymentMethodsApiListPaymentMethodsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
231
|
+
listPaymentMethods(requestParameters?: PaymentMethodsApiListPaymentMethodsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
263
232
|
}
|