@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
|
@@ -184,17 +184,15 @@ export const TenantBankAccountApiAxiosParamCreator = function (configuration?: C
|
|
|
184
184
|
* Returns a list of tenant bank accounts you have previously created. The tenant bank accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
185
185
|
* @summary List tenant bank accounts
|
|
186
186
|
* @param {string} [authorization] Bearer Token
|
|
187
|
-
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
188
|
-
* @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.
|
|
189
187
|
* @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, iban, bankName, accountName</i>
|
|
188
|
+
* @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, iban, bankName, accountName</i>
|
|
190
189
|
* @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, iban, bankName, accountName</i>
|
|
191
190
|
* @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>
|
|
192
191
|
* @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: bankTransactions<i>
|
|
193
|
-
* @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, iban, bankName, accountName</i>
|
|
194
192
|
* @param {*} [options] Override http request option.
|
|
195
193
|
* @throws {RequiredError}
|
|
196
194
|
*/
|
|
197
|
-
listTenantBankAccounts: async (authorization?: string,
|
|
195
|
+
listTenantBankAccounts: async (authorization?: string, filter?: string, filters?: string, search?: string, order?: string, expand?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
198
196
|
const localVarPath = `/paymentservice/v1/tenant/bank-accounts`;
|
|
199
197
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
200
198
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -213,18 +211,14 @@ export const TenantBankAccountApiAxiosParamCreator = function (configuration?: C
|
|
|
213
211
|
// http bearer authentication required
|
|
214
212
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
215
213
|
|
|
216
|
-
if (pageSize !== undefined) {
|
|
217
|
-
localVarQueryParameter['pageSize'] = pageSize;
|
|
218
|
-
}
|
|
219
|
-
|
|
220
|
-
if (pageToken !== undefined) {
|
|
221
|
-
localVarQueryParameter['pageToken'] = pageToken;
|
|
222
|
-
}
|
|
223
|
-
|
|
224
214
|
if (filter !== undefined) {
|
|
225
215
|
localVarQueryParameter['filter'] = filter;
|
|
226
216
|
}
|
|
227
217
|
|
|
218
|
+
if (filters !== undefined) {
|
|
219
|
+
localVarQueryParameter['filters'] = filters;
|
|
220
|
+
}
|
|
221
|
+
|
|
228
222
|
if (search !== undefined) {
|
|
229
223
|
localVarQueryParameter['search'] = search;
|
|
230
224
|
}
|
|
@@ -237,10 +231,6 @@ export const TenantBankAccountApiAxiosParamCreator = function (configuration?: C
|
|
|
237
231
|
localVarQueryParameter['expand'] = expand;
|
|
238
232
|
}
|
|
239
233
|
|
|
240
|
-
if (filters !== undefined) {
|
|
241
|
-
localVarQueryParameter['filters'] = filters;
|
|
242
|
-
}
|
|
243
|
-
|
|
244
234
|
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
245
235
|
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
246
236
|
}
|
|
@@ -358,18 +348,16 @@ export const TenantBankAccountApiFp = function(configuration?: Configuration) {
|
|
|
358
348
|
* Returns a list of tenant bank accounts you have previously created. The tenant bank accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
359
349
|
* @summary List tenant bank accounts
|
|
360
350
|
* @param {string} [authorization] Bearer Token
|
|
361
|
-
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
362
|
-
* @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.
|
|
363
351
|
* @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, iban, bankName, accountName</i>
|
|
352
|
+
* @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, iban, bankName, accountName</i>
|
|
364
353
|
* @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, iban, bankName, accountName</i>
|
|
365
354
|
* @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>
|
|
366
355
|
* @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: bankTransactions<i>
|
|
367
|
-
* @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, iban, bankName, accountName</i>
|
|
368
356
|
* @param {*} [options] Override http request option.
|
|
369
357
|
* @throws {RequiredError}
|
|
370
358
|
*/
|
|
371
|
-
async listTenantBankAccounts(authorization?: string,
|
|
372
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listTenantBankAccounts(authorization,
|
|
359
|
+
async listTenantBankAccounts(authorization?: string, filter?: string, filters?: string, search?: string, order?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListTenantBankAccountResponseClass>> {
|
|
360
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listTenantBankAccounts(authorization, filter, filters, search, order, expand, options);
|
|
373
361
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
374
362
|
},
|
|
375
363
|
/**
|
|
@@ -433,18 +421,16 @@ export const TenantBankAccountApiFactory = function (configuration?: Configurati
|
|
|
433
421
|
* Returns a list of tenant bank accounts you have previously created. The tenant bank accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
434
422
|
* @summary List tenant bank accounts
|
|
435
423
|
* @param {string} [authorization] Bearer Token
|
|
436
|
-
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
437
|
-
* @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.
|
|
438
424
|
* @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, iban, bankName, accountName</i>
|
|
425
|
+
* @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, iban, bankName, accountName</i>
|
|
439
426
|
* @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, iban, bankName, accountName</i>
|
|
440
427
|
* @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>
|
|
441
428
|
* @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: bankTransactions<i>
|
|
442
|
-
* @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, iban, bankName, accountName</i>
|
|
443
429
|
* @param {*} [options] Override http request option.
|
|
444
430
|
* @throws {RequiredError}
|
|
445
431
|
*/
|
|
446
|
-
listTenantBankAccounts(authorization?: string,
|
|
447
|
-
return localVarFp.listTenantBankAccounts(authorization,
|
|
432
|
+
listTenantBankAccounts(authorization?: string, filter?: string, filters?: string, search?: string, order?: string, expand?: string, options?: any): AxiosPromise<ListTenantBankAccountResponseClass> {
|
|
433
|
+
return localVarFp.listTenantBankAccounts(authorization, filter, filters, search, order, expand, options).then((request) => request(axios, basePath));
|
|
448
434
|
},
|
|
449
435
|
/**
|
|
450
436
|
* Update a tenant bank account by code
|
|
@@ -545,25 +531,18 @@ export interface TenantBankAccountApiListTenantBankAccountsRequest {
|
|
|
545
531
|
readonly authorization?: string
|
|
546
532
|
|
|
547
533
|
/**
|
|
548
|
-
*
|
|
549
|
-
* @type {
|
|
550
|
-
* @memberof TenantBankAccountApiListTenantBankAccounts
|
|
551
|
-
*/
|
|
552
|
-
readonly pageSize?: any
|
|
553
|
-
|
|
554
|
-
/**
|
|
555
|
-
* 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.
|
|
556
|
-
* @type {any}
|
|
534
|
+
* Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, iban, bankName, accountName</i>
|
|
535
|
+
* @type {string}
|
|
557
536
|
* @memberof TenantBankAccountApiListTenantBankAccounts
|
|
558
537
|
*/
|
|
559
|
-
readonly
|
|
538
|
+
readonly filter?: string
|
|
560
539
|
|
|
561
540
|
/**
|
|
562
|
-
*
|
|
541
|
+
* 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, iban, bankName, accountName</i>
|
|
563
542
|
* @type {string}
|
|
564
543
|
* @memberof TenantBankAccountApiListTenantBankAccounts
|
|
565
544
|
*/
|
|
566
|
-
readonly
|
|
545
|
+
readonly filters?: string
|
|
567
546
|
|
|
568
547
|
/**
|
|
569
548
|
* Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: id, iban, bankName, accountName</i>
|
|
@@ -585,13 +564,6 @@ export interface TenantBankAccountApiListTenantBankAccountsRequest {
|
|
|
585
564
|
* @memberof TenantBankAccountApiListTenantBankAccounts
|
|
586
565
|
*/
|
|
587
566
|
readonly expand?: string
|
|
588
|
-
|
|
589
|
-
/**
|
|
590
|
-
* 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, iban, bankName, accountName</i>
|
|
591
|
-
* @type {string}
|
|
592
|
-
* @memberof TenantBankAccountApiListTenantBankAccounts
|
|
593
|
-
*/
|
|
594
|
-
readonly filters?: string
|
|
595
567
|
}
|
|
596
568
|
|
|
597
569
|
/**
|
|
@@ -674,7 +646,7 @@ export class TenantBankAccountApi extends BaseAPI {
|
|
|
674
646
|
* @memberof TenantBankAccountApi
|
|
675
647
|
*/
|
|
676
648
|
public listTenantBankAccounts(requestParameters: TenantBankAccountApiListTenantBankAccountsRequest = {}, options?: AxiosRequestConfig) {
|
|
677
|
-
return TenantBankAccountApiFp(this.configuration).listTenantBankAccounts(requestParameters.authorization, requestParameters.
|
|
649
|
+
return TenantBankAccountApiFp(this.configuration).listTenantBankAccounts(requestParameters.authorization, requestParameters.filter, requestParameters.filters, requestParameters.search, requestParameters.order, requestParameters.expand, options).then((request) => request(this.axios, this.basePath));
|
|
678
650
|
}
|
|
679
651
|
|
|
680
652
|
/**
|
|
@@ -13,12 +13,8 @@ import { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
|
|
|
13
13
|
import { Configuration } from '../configuration';
|
|
14
14
|
import { RequestArgs, BaseAPI } from '../base';
|
|
15
15
|
import { CreateBankAccountRequestDto } from '../models';
|
|
16
|
-
import { CreateBankAccountResponseClass } from '../models';
|
|
17
|
-
import { GetBankAccountResponseClass } from '../models';
|
|
18
|
-
import { ListBankAccountsResponseClass } from '../models';
|
|
19
16
|
import { SetPrimaryBankAccountRequestDtoRest } from '../models';
|
|
20
17
|
import { UpdateBankAccountRequestDtoRest } from '../models';
|
|
21
|
-
import { UpdateBankAccountResponseClass } from '../models';
|
|
22
18
|
/**
|
|
23
19
|
* BankAccountsApi - axios parameter creator
|
|
24
20
|
* @export
|
|
@@ -56,17 +52,14 @@ export declare const BankAccountsApiAxiosParamCreator: (configuration?: Configur
|
|
|
56
52
|
* Returns a list of bank accounts you have previously created. The bank accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
57
53
|
* @summary List bank accounts
|
|
58
54
|
* @param {string} [authorization] Bearer Token
|
|
59
|
-
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
60
|
-
* @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.
|
|
61
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: code, id, accountCode, partnerCode</i>
|
|
62
|
-
* @param {
|
|
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: code, id, accountCode, partnerCode</i>
|
|
63
57
|
* @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>
|
|
64
58
|
* @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: primaryBankAccount<i>
|
|
65
|
-
* @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, accountCode, partnerCode</i>
|
|
66
59
|
* @param {*} [options] Override http request option.
|
|
67
60
|
* @throws {RequiredError}
|
|
68
61
|
*/
|
|
69
|
-
listBankAccounts: (authorization?: string,
|
|
62
|
+
listBankAccounts: (authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
70
63
|
/**
|
|
71
64
|
* Set the primary bank account for the specified partner/account
|
|
72
65
|
* @summary Set primary bank account
|
|
@@ -101,7 +94,7 @@ export declare const BankAccountsApiFp: (configuration?: Configuration) => {
|
|
|
101
94
|
* @param {*} [options] Override http request option.
|
|
102
95
|
* @throws {RequiredError}
|
|
103
96
|
*/
|
|
104
|
-
createBankAccount(createBankAccountRequestDto: CreateBankAccountRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
97
|
+
createBankAccount(createBankAccountRequestDto: CreateBankAccountRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
105
98
|
/**
|
|
106
99
|
* Deletes a bank account by code. If the bank account was primary, then the first available bank account for the specified partner/account will be marked as primary.
|
|
107
100
|
* @summary Delete the bank account
|
|
@@ -110,7 +103,7 @@ export declare const BankAccountsApiFp: (configuration?: Configuration) => {
|
|
|
110
103
|
* @param {*} [options] Override http request option.
|
|
111
104
|
* @throws {RequiredError}
|
|
112
105
|
*/
|
|
113
|
-
deleteBankAccount(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
106
|
+
deleteBankAccount(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
114
107
|
/**
|
|
115
108
|
* Retrieves the details of the bank account that was previously created. Supply the unique bank account code that was returned when you created it and Emil Api will return the corresponding bank account information.
|
|
116
109
|
* @summary Retrieve the bank account
|
|
@@ -120,22 +113,19 @@ export declare const BankAccountsApiFp: (configuration?: Configuration) => {
|
|
|
120
113
|
* @param {*} [options] Override http request option.
|
|
121
114
|
* @throws {RequiredError}
|
|
122
115
|
*/
|
|
123
|
-
getBankAccount(code: string, authorization?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
116
|
+
getBankAccount(code: string, authorization?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
124
117
|
/**
|
|
125
118
|
* Returns a list of bank accounts you have previously created. The bank accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
126
119
|
* @summary List bank accounts
|
|
127
120
|
* @param {string} [authorization] Bearer Token
|
|
128
|
-
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
129
|
-
* @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.
|
|
130
121
|
* @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, accountCode, partnerCode</i>
|
|
131
|
-
* @param {
|
|
122
|
+
* @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, accountCode, partnerCode</i>
|
|
132
123
|
* @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>
|
|
133
124
|
* @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: primaryBankAccount<i>
|
|
134
|
-
* @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, accountCode, partnerCode</i>
|
|
135
125
|
* @param {*} [options] Override http request option.
|
|
136
126
|
* @throws {RequiredError}
|
|
137
127
|
*/
|
|
138
|
-
listBankAccounts(authorization?: string,
|
|
128
|
+
listBankAccounts(authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
139
129
|
/**
|
|
140
130
|
* Set the primary bank account for the specified partner/account
|
|
141
131
|
* @summary Set primary bank account
|
|
@@ -145,7 +135,7 @@ export declare const BankAccountsApiFp: (configuration?: Configuration) => {
|
|
|
145
135
|
* @param {*} [options] Override http request option.
|
|
146
136
|
* @throws {RequiredError}
|
|
147
137
|
*/
|
|
148
|
-
setPrimaryBankAccount(code: string, setPrimaryBankAccountRequestDtoRest: SetPrimaryBankAccountRequestDtoRest, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
138
|
+
setPrimaryBankAccount(code: string, setPrimaryBankAccountRequestDtoRest: SetPrimaryBankAccountRequestDtoRest, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
149
139
|
/**
|
|
150
140
|
* Update a bank account by code
|
|
151
141
|
* @summary Update the bank account
|
|
@@ -155,7 +145,7 @@ export declare const BankAccountsApiFp: (configuration?: Configuration) => {
|
|
|
155
145
|
* @param {*} [options] Override http request option.
|
|
156
146
|
* @throws {RequiredError}
|
|
157
147
|
*/
|
|
158
|
-
updateBankAccount(code: string, updateBankAccountRequestDtoRest: UpdateBankAccountRequestDtoRest, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
148
|
+
updateBankAccount(code: string, updateBankAccountRequestDtoRest: UpdateBankAccountRequestDtoRest, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
159
149
|
};
|
|
160
150
|
/**
|
|
161
151
|
* BankAccountsApi - factory interface
|
|
@@ -170,7 +160,7 @@ export declare const BankAccountsApiFactory: (configuration?: Configuration, bas
|
|
|
170
160
|
* @param {*} [options] Override http request option.
|
|
171
161
|
* @throws {RequiredError}
|
|
172
162
|
*/
|
|
173
|
-
createBankAccount(createBankAccountRequestDto: CreateBankAccountRequestDto, authorization?: string, options?: any): AxiosPromise<
|
|
163
|
+
createBankAccount(createBankAccountRequestDto: CreateBankAccountRequestDto, authorization?: string, options?: any): AxiosPromise<void>;
|
|
174
164
|
/**
|
|
175
165
|
* Deletes a bank account by code. If the bank account was primary, then the first available bank account for the specified partner/account will be marked as primary.
|
|
176
166
|
* @summary Delete the bank account
|
|
@@ -179,7 +169,7 @@ export declare const BankAccountsApiFactory: (configuration?: Configuration, bas
|
|
|
179
169
|
* @param {*} [options] Override http request option.
|
|
180
170
|
* @throws {RequiredError}
|
|
181
171
|
*/
|
|
182
|
-
deleteBankAccount(code: string, authorization?: string, options?: any): AxiosPromise<
|
|
172
|
+
deleteBankAccount(code: string, authorization?: string, options?: any): AxiosPromise<void>;
|
|
183
173
|
/**
|
|
184
174
|
* Retrieves the details of the bank account that was previously created. Supply the unique bank account code that was returned when you created it and Emil Api will return the corresponding bank account information.
|
|
185
175
|
* @summary Retrieve the bank account
|
|
@@ -189,22 +179,19 @@ export declare const BankAccountsApiFactory: (configuration?: Configuration, bas
|
|
|
189
179
|
* @param {*} [options] Override http request option.
|
|
190
180
|
* @throws {RequiredError}
|
|
191
181
|
*/
|
|
192
|
-
getBankAccount(code: string, authorization?: string, expand?: string, options?: any): AxiosPromise<
|
|
182
|
+
getBankAccount(code: string, authorization?: string, expand?: string, options?: any): AxiosPromise<void>;
|
|
193
183
|
/**
|
|
194
184
|
* Returns a list of bank accounts you have previously created. The bank accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
195
185
|
* @summary List bank accounts
|
|
196
186
|
* @param {string} [authorization] Bearer Token
|
|
197
|
-
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
198
|
-
* @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.
|
|
199
187
|
* @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, accountCode, partnerCode</i>
|
|
200
|
-
* @param {
|
|
188
|
+
* @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, accountCode, partnerCode</i>
|
|
201
189
|
* @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>
|
|
202
190
|
* @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: primaryBankAccount<i>
|
|
203
|
-
* @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, accountCode, partnerCode</i>
|
|
204
191
|
* @param {*} [options] Override http request option.
|
|
205
192
|
* @throws {RequiredError}
|
|
206
193
|
*/
|
|
207
|
-
listBankAccounts(authorization?: string,
|
|
194
|
+
listBankAccounts(authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options?: any): AxiosPromise<void>;
|
|
208
195
|
/**
|
|
209
196
|
* Set the primary bank account for the specified partner/account
|
|
210
197
|
* @summary Set primary bank account
|
|
@@ -214,7 +201,7 @@ export declare const BankAccountsApiFactory: (configuration?: Configuration, bas
|
|
|
214
201
|
* @param {*} [options] Override http request option.
|
|
215
202
|
* @throws {RequiredError}
|
|
216
203
|
*/
|
|
217
|
-
setPrimaryBankAccount(code: string, setPrimaryBankAccountRequestDtoRest: SetPrimaryBankAccountRequestDtoRest, authorization?: string, options?: any): AxiosPromise<
|
|
204
|
+
setPrimaryBankAccount(code: string, setPrimaryBankAccountRequestDtoRest: SetPrimaryBankAccountRequestDtoRest, authorization?: string, options?: any): AxiosPromise<void>;
|
|
218
205
|
/**
|
|
219
206
|
* Update a bank account by code
|
|
220
207
|
* @summary Update the bank account
|
|
@@ -224,7 +211,7 @@ export declare const BankAccountsApiFactory: (configuration?: Configuration, bas
|
|
|
224
211
|
* @param {*} [options] Override http request option.
|
|
225
212
|
* @throws {RequiredError}
|
|
226
213
|
*/
|
|
227
|
-
updateBankAccount(code: string, updateBankAccountRequestDtoRest: UpdateBankAccountRequestDtoRest, authorization?: string, options?: any): AxiosPromise<
|
|
214
|
+
updateBankAccount(code: string, updateBankAccountRequestDtoRest: UpdateBankAccountRequestDtoRest, authorization?: string, options?: any): AxiosPromise<void>;
|
|
228
215
|
};
|
|
229
216
|
/**
|
|
230
217
|
* Request parameters for createBankAccount operation in BankAccountsApi.
|
|
@@ -301,18 +288,6 @@ export interface BankAccountsApiListBankAccountsRequest {
|
|
|
301
288
|
* @memberof BankAccountsApiListBankAccounts
|
|
302
289
|
*/
|
|
303
290
|
readonly authorization?: string;
|
|
304
|
-
/**
|
|
305
|
-
* A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
306
|
-
* @type {any}
|
|
307
|
-
* @memberof BankAccountsApiListBankAccounts
|
|
308
|
-
*/
|
|
309
|
-
readonly pageSize?: any;
|
|
310
|
-
/**
|
|
311
|
-
* 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.
|
|
312
|
-
* @type {any}
|
|
313
|
-
* @memberof BankAccountsApiListBankAccounts
|
|
314
|
-
*/
|
|
315
|
-
readonly pageToken?: any;
|
|
316
291
|
/**
|
|
317
292
|
* 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, accountCode, partnerCode</i>
|
|
318
293
|
* @type {string}
|
|
@@ -320,11 +295,11 @@ export interface BankAccountsApiListBankAccountsRequest {
|
|
|
320
295
|
*/
|
|
321
296
|
readonly filter?: string;
|
|
322
297
|
/**
|
|
323
|
-
*
|
|
324
|
-
* @type {
|
|
298
|
+
* 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, accountCode, partnerCode</i>
|
|
299
|
+
* @type {string}
|
|
325
300
|
* @memberof BankAccountsApiListBankAccounts
|
|
326
301
|
*/
|
|
327
|
-
readonly
|
|
302
|
+
readonly filters?: string;
|
|
328
303
|
/**
|
|
329
304
|
* 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>
|
|
330
305
|
* @type {string}
|
|
@@ -337,12 +312,6 @@ export interface BankAccountsApiListBankAccountsRequest {
|
|
|
337
312
|
* @memberof BankAccountsApiListBankAccounts
|
|
338
313
|
*/
|
|
339
314
|
readonly expand?: string;
|
|
340
|
-
/**
|
|
341
|
-
* 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, accountCode, partnerCode</i>
|
|
342
|
-
* @type {string}
|
|
343
|
-
* @memberof BankAccountsApiListBankAccounts
|
|
344
|
-
*/
|
|
345
|
-
readonly filters?: string;
|
|
346
315
|
}
|
|
347
316
|
/**
|
|
348
317
|
* Request parameters for setPrimaryBankAccount operation in BankAccountsApi.
|
|
@@ -409,7 +378,7 @@ export declare class BankAccountsApi extends BaseAPI {
|
|
|
409
378
|
* @throws {RequiredError}
|
|
410
379
|
* @memberof BankAccountsApi
|
|
411
380
|
*/
|
|
412
|
-
createBankAccount(requestParameters: BankAccountsApiCreateBankAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
381
|
+
createBankAccount(requestParameters: BankAccountsApiCreateBankAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
413
382
|
/**
|
|
414
383
|
* Deletes a bank account by code. If the bank account was primary, then the first available bank account for the specified partner/account will be marked as primary.
|
|
415
384
|
* @summary Delete the bank account
|
|
@@ -418,7 +387,7 @@ export declare class BankAccountsApi extends BaseAPI {
|
|
|
418
387
|
* @throws {RequiredError}
|
|
419
388
|
* @memberof BankAccountsApi
|
|
420
389
|
*/
|
|
421
|
-
deleteBankAccount(requestParameters: BankAccountsApiDeleteBankAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
390
|
+
deleteBankAccount(requestParameters: BankAccountsApiDeleteBankAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
422
391
|
/**
|
|
423
392
|
* Retrieves the details of the bank account that was previously created. Supply the unique bank account code that was returned when you created it and Emil Api will return the corresponding bank account information.
|
|
424
393
|
* @summary Retrieve the bank account
|
|
@@ -427,7 +396,7 @@ export declare class BankAccountsApi extends BaseAPI {
|
|
|
427
396
|
* @throws {RequiredError}
|
|
428
397
|
* @memberof BankAccountsApi
|
|
429
398
|
*/
|
|
430
|
-
getBankAccount(requestParameters: BankAccountsApiGetBankAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
399
|
+
getBankAccount(requestParameters: BankAccountsApiGetBankAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
431
400
|
/**
|
|
432
401
|
* Returns a list of bank accounts you have previously created. The bank accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
433
402
|
* @summary List bank accounts
|
|
@@ -436,7 +405,7 @@ export declare class BankAccountsApi extends BaseAPI {
|
|
|
436
405
|
* @throws {RequiredError}
|
|
437
406
|
* @memberof BankAccountsApi
|
|
438
407
|
*/
|
|
439
|
-
listBankAccounts(requestParameters?: BankAccountsApiListBankAccountsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
408
|
+
listBankAccounts(requestParameters?: BankAccountsApiListBankAccountsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
440
409
|
/**
|
|
441
410
|
* Set the primary bank account for the specified partner/account
|
|
442
411
|
* @summary Set primary bank account
|
|
@@ -445,7 +414,7 @@ export declare class BankAccountsApi extends BaseAPI {
|
|
|
445
414
|
* @throws {RequiredError}
|
|
446
415
|
* @memberof BankAccountsApi
|
|
447
416
|
*/
|
|
448
|
-
setPrimaryBankAccount(requestParameters: BankAccountsApiSetPrimaryBankAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
417
|
+
setPrimaryBankAccount(requestParameters: BankAccountsApiSetPrimaryBankAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
449
418
|
/**
|
|
450
419
|
* Update a bank account by code
|
|
451
420
|
* @summary Update the bank account
|
|
@@ -454,5 +423,5 @@ export declare class BankAccountsApi extends BaseAPI {
|
|
|
454
423
|
* @throws {RequiredError}
|
|
455
424
|
* @memberof BankAccountsApi
|
|
456
425
|
*/
|
|
457
|
-
updateBankAccount(requestParameters: BankAccountsApiUpdateBankAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
426
|
+
updateBankAccount(requestParameters: BankAccountsApiUpdateBankAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
458
427
|
}
|
|
@@ -245,17 +245,14 @@ var BankAccountsApiAxiosParamCreator = function (configuration) {
|
|
|
245
245
|
* Returns a list of bank accounts you have previously created. The bank accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
246
246
|
* @summary List bank accounts
|
|
247
247
|
* @param {string} [authorization] Bearer Token
|
|
248
|
-
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
249
|
-
* @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.
|
|
250
248
|
* @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, accountCode, partnerCode</i>
|
|
251
|
-
* @param {
|
|
249
|
+
* @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, accountCode, partnerCode</i>
|
|
252
250
|
* @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>
|
|
253
251
|
* @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: primaryBankAccount<i>
|
|
254
|
-
* @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, accountCode, partnerCode</i>
|
|
255
252
|
* @param {*} [options] Override http request option.
|
|
256
253
|
* @throws {RequiredError}
|
|
257
254
|
*/
|
|
258
|
-
listBankAccounts: function (authorization,
|
|
255
|
+
listBankAccounts: function (authorization, filter, filters, order, expand, options) {
|
|
259
256
|
if (options === void 0) { options = {}; }
|
|
260
257
|
return __awaiter(_this, void 0, void 0, function () {
|
|
261
258
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -278,17 +275,11 @@ var BankAccountsApiAxiosParamCreator = function (configuration) {
|
|
|
278
275
|
// authentication bearer required
|
|
279
276
|
// http bearer authentication required
|
|
280
277
|
_a.sent();
|
|
281
|
-
if (pageSize !== undefined) {
|
|
282
|
-
localVarQueryParameter['pageSize'] = pageSize;
|
|
283
|
-
}
|
|
284
|
-
if (pageToken !== undefined) {
|
|
285
|
-
localVarQueryParameter['pageToken'] = pageToken;
|
|
286
|
-
}
|
|
287
278
|
if (filter !== undefined) {
|
|
288
279
|
localVarQueryParameter['filter'] = filter;
|
|
289
280
|
}
|
|
290
|
-
if (
|
|
291
|
-
localVarQueryParameter['
|
|
281
|
+
if (filters !== undefined) {
|
|
282
|
+
localVarQueryParameter['filters'] = filters;
|
|
292
283
|
}
|
|
293
284
|
if (order !== undefined) {
|
|
294
285
|
localVarQueryParameter['order'] = order;
|
|
@@ -296,9 +287,6 @@ var BankAccountsApiAxiosParamCreator = function (configuration) {
|
|
|
296
287
|
if (expand !== undefined) {
|
|
297
288
|
localVarQueryParameter['expand'] = expand;
|
|
298
289
|
}
|
|
299
|
-
if (filters !== undefined) {
|
|
300
|
-
localVarQueryParameter['filters'] = filters;
|
|
301
|
-
}
|
|
302
290
|
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
303
291
|
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
304
292
|
}
|
|
@@ -497,22 +485,19 @@ var BankAccountsApiFp = function (configuration) {
|
|
|
497
485
|
* Returns a list of bank accounts you have previously created. The bank accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
498
486
|
* @summary List bank accounts
|
|
499
487
|
* @param {string} [authorization] Bearer Token
|
|
500
|
-
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
501
|
-
* @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.
|
|
502
488
|
* @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, accountCode, partnerCode</i>
|
|
503
|
-
* @param {
|
|
489
|
+
* @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, accountCode, partnerCode</i>
|
|
504
490
|
* @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>
|
|
505
491
|
* @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: primaryBankAccount<i>
|
|
506
|
-
* @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, accountCode, partnerCode</i>
|
|
507
492
|
* @param {*} [options] Override http request option.
|
|
508
493
|
* @throws {RequiredError}
|
|
509
494
|
*/
|
|
510
|
-
listBankAccounts: function (authorization,
|
|
495
|
+
listBankAccounts: function (authorization, filter, filters, order, expand, options) {
|
|
511
496
|
return __awaiter(this, void 0, void 0, function () {
|
|
512
497
|
var localVarAxiosArgs;
|
|
513
498
|
return __generator(this, function (_a) {
|
|
514
499
|
switch (_a.label) {
|
|
515
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listBankAccounts(authorization,
|
|
500
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listBankAccounts(authorization, filter, filters, order, expand, options)];
|
|
516
501
|
case 1:
|
|
517
502
|
localVarAxiosArgs = _a.sent();
|
|
518
503
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -612,18 +597,15 @@ var BankAccountsApiFactory = function (configuration, basePath, axios) {
|
|
|
612
597
|
* Returns a list of bank accounts you have previously created. The bank accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
613
598
|
* @summary List bank accounts
|
|
614
599
|
* @param {string} [authorization] Bearer Token
|
|
615
|
-
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
616
|
-
* @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.
|
|
617
600
|
* @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, accountCode, partnerCode</i>
|
|
618
|
-
* @param {
|
|
601
|
+
* @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, accountCode, partnerCode</i>
|
|
619
602
|
* @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>
|
|
620
603
|
* @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: primaryBankAccount<i>
|
|
621
|
-
* @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, accountCode, partnerCode</i>
|
|
622
604
|
* @param {*} [options] Override http request option.
|
|
623
605
|
* @throws {RequiredError}
|
|
624
606
|
*/
|
|
625
|
-
listBankAccounts: function (authorization,
|
|
626
|
-
return localVarFp.listBankAccounts(authorization,
|
|
607
|
+
listBankAccounts: function (authorization, filter, filters, order, expand, options) {
|
|
608
|
+
return localVarFp.listBankAccounts(authorization, filter, filters, order, expand, options).then(function (request) { return request(axios, basePath); });
|
|
627
609
|
},
|
|
628
610
|
/**
|
|
629
611
|
* Set the primary bank account for the specified partner/account
|
|
@@ -710,7 +692,7 @@ var BankAccountsApi = /** @class */ (function (_super) {
|
|
|
710
692
|
BankAccountsApi.prototype.listBankAccounts = function (requestParameters, options) {
|
|
711
693
|
var _this = this;
|
|
712
694
|
if (requestParameters === void 0) { requestParameters = {}; }
|
|
713
|
-
return (0, exports.BankAccountsApiFp)(this.configuration).listBankAccounts(requestParameters.authorization, requestParameters.
|
|
695
|
+
return (0, exports.BankAccountsApiFp)(this.configuration).listBankAccounts(requestParameters.authorization, requestParameters.filter, requestParameters.filters, requestParameters.order, requestParameters.expand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
714
696
|
};
|
|
715
697
|
/**
|
|
716
698
|
* Set the primary bank account for the specified partner/account
|