@emilgroup/payment-sdk-node 1.21.1-beta.25 → 1.21.1-beta.26
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +0 -10
- package/README.md +2 -2
- package/api/bank-accounts-api.ts +13 -55
- package/api/bank-transaction-api.ts +17 -45
- package/api/payment-methods-api.ts +17 -59
- package/api/payment-reminders-api.ts +13 -55
- package/api/payments-api.ts +17 -59
- package/api/refunds-api.ts +17 -45
- package/api/tenant-bank-account-api.ts +17 -45
- package/api.ts +0 -2
- package/dist/api/bank-accounts-api.d.ts +8 -35
- package/dist/api/bank-accounts-api.js +11 -29
- package/dist/api/bank-transaction-api.d.ts +10 -28
- package/dist/api/bank-transaction-api.js +12 -24
- package/dist/api/payment-methods-api.d.ts +12 -39
- package/dist/api/payment-methods-api.js +14 -32
- package/dist/api/payment-reminders-api.d.ts +8 -35
- package/dist/api/payment-reminders-api.js +11 -29
- package/dist/api/payments-api.d.ts +12 -39
- package/dist/api/payments-api.js +14 -32
- package/dist/api/refunds-api.d.ts +10 -28
- package/dist/api/refunds-api.js +12 -24
- package/dist/api/tenant-bank-account-api.d.ts +10 -28
- package/dist/api/tenant-bank-account-api.js +12 -24
- package/dist/api.d.ts +0 -1
- package/dist/api.js +0 -1
- package/dist/models/complete-adyen-payment-setup-request-dto.d.ts +0 -1
- package/dist/models/complete-adyen-payment-setup-request-dto.js +1 -2
- package/dist/models/complete-payment-setup-request-dto.d.ts +0 -7
- package/dist/models/complete-stripe-payment-setup-request-dto.d.ts +0 -1
- package/dist/models/complete-stripe-payment-setup-request-dto.js +1 -2
- package/dist/models/create-payment-reminder-request-dto.d.ts +1 -7
- package/dist/models/create-payment-request-dto.d.ts +1 -7
- package/dist/models/create-psp-payment-method-request-dto.d.ts +1 -14
- package/dist/models/create-psp-payment-method-request-dto.js +1 -2
- package/dist/models/deactivated-payment-reminder-class.d.ts +1 -7
- package/dist/models/index.d.ts +0 -9
- package/dist/models/index.js +0 -9
- package/dist/models/initiate-adyen-payment-setup-request-dto.d.ts +0 -6
- package/dist/models/initiate-braintree-payment-setup-request-dto.d.ts +0 -6
- package/dist/models/initiate-stripe-payment-setup-request-dto.d.ts +0 -6
- package/dist/models/payment-class-without-expand-properties.d.ts +1 -7
- package/dist/models/payment-class.d.ts +1 -7
- package/dist/models/payment-reminder-class.d.ts +1 -7
- package/dist/models/refund-class.d.ts +1 -7
- package/models/complete-adyen-payment-setup-request-dto.ts +1 -2
- package/models/complete-payment-setup-request-dto.ts +0 -7
- package/models/complete-stripe-payment-setup-request-dto.ts +1 -2
- package/models/create-payment-reminder-request-dto.ts +1 -7
- package/models/create-payment-request-dto.ts +1 -7
- package/models/create-psp-payment-method-request-dto.ts +2 -15
- package/models/deactivated-payment-reminder-class.ts +1 -7
- package/models/index.ts +0 -9
- package/models/initiate-adyen-payment-setup-request-dto.ts +0 -6
- package/models/initiate-braintree-payment-setup-request-dto.ts +0 -6
- package/models/initiate-stripe-payment-setup-request-dto.ts +0 -6
- package/models/payment-class-without-expand-properties.ts +1 -7
- package/models/payment-class.ts +1 -7
- package/models/payment-reminder-class.ts +1 -7
- package/models/refund-class.ts +1 -7
- package/package.json +1 -1
- package/api/bank-orders-api.ts +0 -695
- package/dist/api/bank-orders-api.d.ts +0 -393
- package/dist/api/bank-orders-api.js +0 -646
- package/dist/models/bank-order-class.d.ts +0 -115
- package/dist/models/bank-order-class.js +0 -15
- package/dist/models/complete-eis-payment-setup-request-dto.d.ts +0 -42
- package/dist/models/complete-eis-payment-setup-request-dto.js +0 -15
- package/dist/models/create-bank-order-request-dto.d.ts +0 -74
- package/dist/models/create-bank-order-request-dto.js +0 -28
- package/dist/models/create-bank-order-response-class.d.ts +0 -25
- package/dist/models/create-bank-order-response-class.js +0 -15
- package/dist/models/financial-account-class.d.ts +0 -111
- package/dist/models/financial-account-class.js +0 -24
- package/dist/models/get-bank-order-response-class.d.ts +0 -25
- package/dist/models/get-bank-order-response-class.js +0 -15
- package/dist/models/list-bank-orders-response-class.d.ts +0 -31
- package/dist/models/list-bank-orders-response-class.js +0 -15
- package/dist/models/update-bank-order-request-dto.d.ts +0 -56
- package/dist/models/update-bank-order-request-dto.js +0 -23
- package/dist/models/update-bank-order-response-class.d.ts +0 -25
- package/dist/models/update-bank-order-response-class.js +0 -15
- package/models/bank-order-class.ts +0 -121
- package/models/complete-eis-payment-setup-request-dto.ts +0 -48
- package/models/create-bank-order-request-dto.ts +0 -84
- package/models/create-bank-order-response-class.ts +0 -31
- package/models/financial-account-class.ts +0 -120
- package/models/get-bank-order-response-class.ts +0 -31
- package/models/list-bank-orders-response-class.ts +0 -37
- package/models/update-bank-order-request-dto.ts +0 -65
- package/models/update-bank-order-response-class.ts +0 -31
|
@@ -188,17 +188,15 @@ export const TenantBankAccountApiAxiosParamCreator = function (configuration?: C
|
|
|
188
188
|
* 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.
|
|
189
189
|
* @summary List tenant bank accounts
|
|
190
190
|
* @param {string} [authorization] Bearer Token
|
|
191
|
-
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
192
|
-
* @param {string} [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.
|
|
193
191
|
* @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>
|
|
192
|
+
* @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
193
|
* @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>
|
|
195
194
|
* @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>
|
|
196
195
|
* @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>
|
|
197
|
-
* @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>
|
|
198
196
|
* @param {*} [options] Override http request option.
|
|
199
197
|
* @throws {RequiredError}
|
|
200
198
|
*/
|
|
201
|
-
listTenantBankAccounts: async (authorization?: string,
|
|
199
|
+
listTenantBankAccounts: async (authorization?: string, filter?: string, filters?: string, search?: string, order?: string, expand?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
202
200
|
const localVarPath = `/paymentservice/v1/tenant/bank-accounts`;
|
|
203
201
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
204
202
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -217,18 +215,14 @@ export const TenantBankAccountApiAxiosParamCreator = function (configuration?: C
|
|
|
217
215
|
// http bearer authentication required
|
|
218
216
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
219
217
|
|
|
220
|
-
if (pageSize !== undefined) {
|
|
221
|
-
localVarQueryParameter['pageSize'] = pageSize;
|
|
222
|
-
}
|
|
223
|
-
|
|
224
|
-
if (pageToken !== undefined) {
|
|
225
|
-
localVarQueryParameter['pageToken'] = pageToken;
|
|
226
|
-
}
|
|
227
|
-
|
|
228
218
|
if (filter !== undefined) {
|
|
229
219
|
localVarQueryParameter['filter'] = filter;
|
|
230
220
|
}
|
|
231
221
|
|
|
222
|
+
if (filters !== undefined) {
|
|
223
|
+
localVarQueryParameter['filters'] = filters;
|
|
224
|
+
}
|
|
225
|
+
|
|
232
226
|
if (search !== undefined) {
|
|
233
227
|
localVarQueryParameter['search'] = search;
|
|
234
228
|
}
|
|
@@ -241,10 +235,6 @@ export const TenantBankAccountApiAxiosParamCreator = function (configuration?: C
|
|
|
241
235
|
localVarQueryParameter['expand'] = expand;
|
|
242
236
|
}
|
|
243
237
|
|
|
244
|
-
if (filters !== undefined) {
|
|
245
|
-
localVarQueryParameter['filters'] = filters;
|
|
246
|
-
}
|
|
247
|
-
|
|
248
238
|
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
249
239
|
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
250
240
|
}
|
|
@@ -362,18 +352,16 @@ export const TenantBankAccountApiFp = function(configuration?: Configuration) {
|
|
|
362
352
|
* 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.
|
|
363
353
|
* @summary List tenant bank accounts
|
|
364
354
|
* @param {string} [authorization] Bearer Token
|
|
365
|
-
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
366
|
-
* @param {string} [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.
|
|
367
355
|
* @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>
|
|
356
|
+
* @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
357
|
* @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>
|
|
369
358
|
* @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>
|
|
370
359
|
* @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>
|
|
371
|
-
* @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>
|
|
372
360
|
* @param {*} [options] Override http request option.
|
|
373
361
|
* @throws {RequiredError}
|
|
374
362
|
*/
|
|
375
|
-
async listTenantBankAccounts(authorization?: string,
|
|
376
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listTenantBankAccounts(authorization,
|
|
363
|
+
async listTenantBankAccounts(authorization?: string, filter?: string, filters?: string, search?: string, order?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListTenantBankAccountResponseClass>> {
|
|
364
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listTenantBankAccounts(authorization, filter, filters, search, order, expand, options);
|
|
377
365
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
378
366
|
},
|
|
379
367
|
/**
|
|
@@ -437,18 +425,16 @@ export const TenantBankAccountApiFactory = function (configuration?: Configurati
|
|
|
437
425
|
* 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.
|
|
438
426
|
* @summary List tenant bank accounts
|
|
439
427
|
* @param {string} [authorization] Bearer Token
|
|
440
|
-
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
441
|
-
* @param {string} [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.
|
|
442
428
|
* @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>
|
|
429
|
+
* @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
430
|
* @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>
|
|
444
431
|
* @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>
|
|
445
432
|
* @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>
|
|
446
|
-
* @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>
|
|
447
433
|
* @param {*} [options] Override http request option.
|
|
448
434
|
* @throws {RequiredError}
|
|
449
435
|
*/
|
|
450
|
-
listTenantBankAccounts(authorization?: string,
|
|
451
|
-
return localVarFp.listTenantBankAccounts(authorization,
|
|
436
|
+
listTenantBankAccounts(authorization?: string, filter?: string, filters?: string, search?: string, order?: string, expand?: string, options?: any): AxiosPromise<ListTenantBankAccountResponseClass> {
|
|
437
|
+
return localVarFp.listTenantBankAccounts(authorization, filter, filters, search, order, expand, options).then((request) => request(axios, basePath));
|
|
452
438
|
},
|
|
453
439
|
/**
|
|
454
440
|
* Update a tenant bank account by code
|
|
@@ -549,25 +535,18 @@ export interface TenantBankAccountApiListTenantBankAccountsRequest {
|
|
|
549
535
|
readonly authorization?: string
|
|
550
536
|
|
|
551
537
|
/**
|
|
552
|
-
*
|
|
553
|
-
* @type {number}
|
|
554
|
-
* @memberof TenantBankAccountApiListTenantBankAccounts
|
|
555
|
-
*/
|
|
556
|
-
readonly pageSize?: number
|
|
557
|
-
|
|
558
|
-
/**
|
|
559
|
-
* 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.
|
|
538
|
+
* 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>
|
|
560
539
|
* @type {string}
|
|
561
540
|
* @memberof TenantBankAccountApiListTenantBankAccounts
|
|
562
541
|
*/
|
|
563
|
-
readonly
|
|
542
|
+
readonly filter?: string
|
|
564
543
|
|
|
565
544
|
/**
|
|
566
|
-
*
|
|
545
|
+
* 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>
|
|
567
546
|
* @type {string}
|
|
568
547
|
* @memberof TenantBankAccountApiListTenantBankAccounts
|
|
569
548
|
*/
|
|
570
|
-
readonly
|
|
549
|
+
readonly filters?: string
|
|
571
550
|
|
|
572
551
|
/**
|
|
573
552
|
* 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>
|
|
@@ -589,13 +568,6 @@ export interface TenantBankAccountApiListTenantBankAccountsRequest {
|
|
|
589
568
|
* @memberof TenantBankAccountApiListTenantBankAccounts
|
|
590
569
|
*/
|
|
591
570
|
readonly expand?: string
|
|
592
|
-
|
|
593
|
-
/**
|
|
594
|
-
* 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>
|
|
595
|
-
* @type {string}
|
|
596
|
-
* @memberof TenantBankAccountApiListTenantBankAccounts
|
|
597
|
-
*/
|
|
598
|
-
readonly filters?: string
|
|
599
571
|
}
|
|
600
572
|
|
|
601
573
|
/**
|
|
@@ -678,7 +650,7 @@ export class TenantBankAccountApi extends BaseAPI {
|
|
|
678
650
|
* @memberof TenantBankAccountApi
|
|
679
651
|
*/
|
|
680
652
|
public listTenantBankAccounts(requestParameters: TenantBankAccountApiListTenantBankAccountsRequest = {}, options?: AxiosRequestConfig) {
|
|
681
|
-
return TenantBankAccountApiFp(this.configuration).listTenantBankAccounts(requestParameters.authorization, requestParameters.
|
|
653
|
+
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));
|
|
682
654
|
}
|
|
683
655
|
|
|
684
656
|
/**
|
package/api.ts
CHANGED
|
@@ -25,7 +25,6 @@ import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObj
|
|
|
25
25
|
// @ts-ignore
|
|
26
26
|
import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from './base';
|
|
27
27
|
import { BankAccountsApi } from './api';
|
|
28
|
-
import { BankOrdersApi } from './api';
|
|
29
28
|
import { BankTransactionApi } from './api';
|
|
30
29
|
import { HealthCheckApi } from './api';
|
|
31
30
|
import { PaymentMethodsApi } from './api';
|
|
@@ -38,7 +37,6 @@ import { WebhooksApi } from './api';
|
|
|
38
37
|
|
|
39
38
|
|
|
40
39
|
export * from './api/bank-accounts-api';
|
|
41
|
-
export * from './api/bank-orders-api';
|
|
42
40
|
export * from './api/bank-transaction-api';
|
|
43
41
|
export * from './api/health-check-api';
|
|
44
42
|
export * from './api/payment-methods-api';
|
|
@@ -56,17 +56,14 @@ export declare const BankAccountsApiAxiosParamCreator: (configuration?: Configur
|
|
|
56
56
|
* 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. **Required Permissions** \"payment-management.bank-accounts.view\"
|
|
57
57
|
* @summary List bank accounts
|
|
58
58
|
* @param {string} [authorization] Bearer Token
|
|
59
|
-
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
60
|
-
* @param {string} [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
59
|
* @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 {string} [
|
|
60
|
+
* @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
61
|
* @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
62
|
* @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
63
|
* @param {*} [options] Override http request option.
|
|
67
64
|
* @throws {RequiredError}
|
|
68
65
|
*/
|
|
69
|
-
listBankAccounts: (authorization?: string,
|
|
66
|
+
listBankAccounts: (authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
70
67
|
/**
|
|
71
68
|
* Set the primary bank account for the specified partner/account **Required Permissions** \"payment-management.bank-accounts.update\"
|
|
72
69
|
* @summary Set primary bank account
|
|
@@ -125,17 +122,14 @@ export declare const BankAccountsApiFp: (configuration?: Configuration) => {
|
|
|
125
122
|
* 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. **Required Permissions** \"payment-management.bank-accounts.view\"
|
|
126
123
|
* @summary List bank accounts
|
|
127
124
|
* @param {string} [authorization] Bearer Token
|
|
128
|
-
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
129
|
-
* @param {string} [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
125
|
* @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 {string} [
|
|
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: code, id, accountCode, partnerCode</i>
|
|
132
127
|
* @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
128
|
* @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
129
|
* @param {*} [options] Override http request option.
|
|
136
130
|
* @throws {RequiredError}
|
|
137
131
|
*/
|
|
138
|
-
listBankAccounts(authorization?: string,
|
|
132
|
+
listBankAccounts(authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListBankAccountsResponseClass>>;
|
|
139
133
|
/**
|
|
140
134
|
* Set the primary bank account for the specified partner/account **Required Permissions** \"payment-management.bank-accounts.update\"
|
|
141
135
|
* @summary Set primary bank account
|
|
@@ -194,17 +188,14 @@ export declare const BankAccountsApiFactory: (configuration?: Configuration, bas
|
|
|
194
188
|
* 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. **Required Permissions** \"payment-management.bank-accounts.view\"
|
|
195
189
|
* @summary List bank accounts
|
|
196
190
|
* @param {string} [authorization] Bearer Token
|
|
197
|
-
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
198
|
-
* @param {string} [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
191
|
* @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 {string} [
|
|
192
|
+
* @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
193
|
* @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
194
|
* @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
195
|
* @param {*} [options] Override http request option.
|
|
205
196
|
* @throws {RequiredError}
|
|
206
197
|
*/
|
|
207
|
-
listBankAccounts(authorization?: string,
|
|
198
|
+
listBankAccounts(authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options?: any): AxiosPromise<ListBankAccountsResponseClass>;
|
|
208
199
|
/**
|
|
209
200
|
* Set the primary bank account for the specified partner/account **Required Permissions** \"payment-management.bank-accounts.update\"
|
|
210
201
|
* @summary Set primary bank account
|
|
@@ -301,18 +292,6 @@ export interface BankAccountsApiListBankAccountsRequest {
|
|
|
301
292
|
* @memberof BankAccountsApiListBankAccounts
|
|
302
293
|
*/
|
|
303
294
|
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 {number}
|
|
307
|
-
* @memberof BankAccountsApiListBankAccounts
|
|
308
|
-
*/
|
|
309
|
-
readonly pageSize?: number;
|
|
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 {string}
|
|
313
|
-
* @memberof BankAccountsApiListBankAccounts
|
|
314
|
-
*/
|
|
315
|
-
readonly pageToken?: string;
|
|
316
295
|
/**
|
|
317
296
|
* 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
297
|
* @type {string}
|
|
@@ -320,11 +299,11 @@ export interface BankAccountsApiListBankAccountsRequest {
|
|
|
320
299
|
*/
|
|
321
300
|
readonly filter?: string;
|
|
322
301
|
/**
|
|
323
|
-
*
|
|
302
|
+
* 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>
|
|
324
303
|
* @type {string}
|
|
325
304
|
* @memberof BankAccountsApiListBankAccounts
|
|
326
305
|
*/
|
|
327
|
-
readonly
|
|
306
|
+
readonly filters?: string;
|
|
328
307
|
/**
|
|
329
308
|
* 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
309
|
* @type {string}
|
|
@@ -337,12 +316,6 @@ export interface BankAccountsApiListBankAccountsRequest {
|
|
|
337
316
|
* @memberof BankAccountsApiListBankAccounts
|
|
338
317
|
*/
|
|
339
318
|
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
319
|
}
|
|
347
320
|
/**
|
|
348
321
|
* Request parameters for setPrimaryBankAccount operation in BankAccountsApi.
|
|
@@ -249,17 +249,14 @@ var BankAccountsApiAxiosParamCreator = function (configuration) {
|
|
|
249
249
|
* 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. **Required Permissions** \"payment-management.bank-accounts.view\"
|
|
250
250
|
* @summary List bank accounts
|
|
251
251
|
* @param {string} [authorization] Bearer Token
|
|
252
|
-
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
253
|
-
* @param {string} [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.
|
|
254
252
|
* @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>
|
|
255
|
-
* @param {string} [
|
|
253
|
+
* @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>
|
|
256
254
|
* @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>
|
|
257
255
|
* @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>
|
|
258
|
-
* @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>
|
|
259
256
|
* @param {*} [options] Override http request option.
|
|
260
257
|
* @throws {RequiredError}
|
|
261
258
|
*/
|
|
262
|
-
listBankAccounts: function (authorization,
|
|
259
|
+
listBankAccounts: function (authorization, filter, filters, order, expand, options) {
|
|
263
260
|
if (options === void 0) { options = {}; }
|
|
264
261
|
return __awaiter(_this, void 0, void 0, function () {
|
|
265
262
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -282,17 +279,11 @@ var BankAccountsApiAxiosParamCreator = function (configuration) {
|
|
|
282
279
|
// authentication bearer required
|
|
283
280
|
// http bearer authentication required
|
|
284
281
|
_a.sent();
|
|
285
|
-
if (pageSize !== undefined) {
|
|
286
|
-
localVarQueryParameter['pageSize'] = pageSize;
|
|
287
|
-
}
|
|
288
|
-
if (pageToken !== undefined) {
|
|
289
|
-
localVarQueryParameter['pageToken'] = pageToken;
|
|
290
|
-
}
|
|
291
282
|
if (filter !== undefined) {
|
|
292
283
|
localVarQueryParameter['filter'] = filter;
|
|
293
284
|
}
|
|
294
|
-
if (
|
|
295
|
-
localVarQueryParameter['
|
|
285
|
+
if (filters !== undefined) {
|
|
286
|
+
localVarQueryParameter['filters'] = filters;
|
|
296
287
|
}
|
|
297
288
|
if (order !== undefined) {
|
|
298
289
|
localVarQueryParameter['order'] = order;
|
|
@@ -300,9 +291,6 @@ var BankAccountsApiAxiosParamCreator = function (configuration) {
|
|
|
300
291
|
if (expand !== undefined) {
|
|
301
292
|
localVarQueryParameter['expand'] = expand;
|
|
302
293
|
}
|
|
303
|
-
if (filters !== undefined) {
|
|
304
|
-
localVarQueryParameter['filters'] = filters;
|
|
305
|
-
}
|
|
306
294
|
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
307
295
|
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
308
296
|
}
|
|
@@ -501,22 +489,19 @@ var BankAccountsApiFp = function (configuration) {
|
|
|
501
489
|
* 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. **Required Permissions** \"payment-management.bank-accounts.view\"
|
|
502
490
|
* @summary List bank accounts
|
|
503
491
|
* @param {string} [authorization] Bearer Token
|
|
504
|
-
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
505
|
-
* @param {string} [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.
|
|
506
492
|
* @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>
|
|
507
|
-
* @param {string} [
|
|
493
|
+
* @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>
|
|
508
494
|
* @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>
|
|
509
495
|
* @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>
|
|
510
|
-
* @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>
|
|
511
496
|
* @param {*} [options] Override http request option.
|
|
512
497
|
* @throws {RequiredError}
|
|
513
498
|
*/
|
|
514
|
-
listBankAccounts: function (authorization,
|
|
499
|
+
listBankAccounts: function (authorization, filter, filters, order, expand, options) {
|
|
515
500
|
return __awaiter(this, void 0, void 0, function () {
|
|
516
501
|
var localVarAxiosArgs;
|
|
517
502
|
return __generator(this, function (_a) {
|
|
518
503
|
switch (_a.label) {
|
|
519
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listBankAccounts(authorization,
|
|
504
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listBankAccounts(authorization, filter, filters, order, expand, options)];
|
|
520
505
|
case 1:
|
|
521
506
|
localVarAxiosArgs = _a.sent();
|
|
522
507
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -616,18 +601,15 @@ var BankAccountsApiFactory = function (configuration, basePath, axios) {
|
|
|
616
601
|
* 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. **Required Permissions** \"payment-management.bank-accounts.view\"
|
|
617
602
|
* @summary List bank accounts
|
|
618
603
|
* @param {string} [authorization] Bearer Token
|
|
619
|
-
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
620
|
-
* @param {string} [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.
|
|
621
604
|
* @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>
|
|
622
|
-
* @param {string} [
|
|
605
|
+
* @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>
|
|
623
606
|
* @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>
|
|
624
607
|
* @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>
|
|
625
|
-
* @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>
|
|
626
608
|
* @param {*} [options] Override http request option.
|
|
627
609
|
* @throws {RequiredError}
|
|
628
610
|
*/
|
|
629
|
-
listBankAccounts: function (authorization,
|
|
630
|
-
return localVarFp.listBankAccounts(authorization,
|
|
611
|
+
listBankAccounts: function (authorization, filter, filters, order, expand, options) {
|
|
612
|
+
return localVarFp.listBankAccounts(authorization, filter, filters, order, expand, options).then(function (request) { return request(axios, basePath); });
|
|
631
613
|
},
|
|
632
614
|
/**
|
|
633
615
|
* Set the primary bank account for the specified partner/account **Required Permissions** \"payment-management.bank-accounts.update\"
|
|
@@ -714,7 +696,7 @@ var BankAccountsApi = /** @class */ (function (_super) {
|
|
|
714
696
|
BankAccountsApi.prototype.listBankAccounts = function (requestParameters, options) {
|
|
715
697
|
var _this = this;
|
|
716
698
|
if (requestParameters === void 0) { requestParameters = {}; }
|
|
717
|
-
return (0, exports.BankAccountsApiFp)(this.configuration).listBankAccounts(requestParameters.authorization, requestParameters.
|
|
699
|
+
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); });
|
|
718
700
|
};
|
|
719
701
|
/**
|
|
720
702
|
* Set the primary bank account for the specified partner/account **Required Permissions** \"payment-management.bank-accounts.update\"
|
|
@@ -67,17 +67,15 @@ export declare const BankTransactionApiAxiosParamCreator: (configuration?: Confi
|
|
|
67
67
|
* 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. **Required Permissions** \"payment-management.bank-accounts.view\"
|
|
68
68
|
* @summary List bank transactions
|
|
69
69
|
* @param {string} [authorization] Bearer Token
|
|
70
|
-
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
71
|
-
* @param {string} [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.
|
|
72
70
|
* @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, messageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked</i>
|
|
71
|
+
* @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, messageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked</i>
|
|
73
72
|
* @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>
|
|
74
73
|
* @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, transactionDate, entryDate</i>
|
|
75
74
|
* @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, invoiceMatchSuggestions, suggestionGenerationProgress<i>
|
|
76
|
-
* @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, messageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked</i>
|
|
77
75
|
* @param {*} [options] Override http request option.
|
|
78
76
|
* @throws {RequiredError}
|
|
79
77
|
*/
|
|
80
|
-
listBankTransactions: (authorization?: string,
|
|
78
|
+
listBankTransactions: (authorization?: string, filter?: string, filters?: string, search?: string, order?: string, expand?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
81
79
|
/**
|
|
82
80
|
* Unlinks an already linked bank transaction **Required Permissions** \"payment-management.bank-accounts.update\"
|
|
83
81
|
* @summary Unlink bank transaction
|
|
@@ -136,17 +134,15 @@ export declare const BankTransactionApiFp: (configuration?: Configuration) => {
|
|
|
136
134
|
* 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. **Required Permissions** \"payment-management.bank-accounts.view\"
|
|
137
135
|
* @summary List bank transactions
|
|
138
136
|
* @param {string} [authorization] Bearer Token
|
|
139
|
-
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
140
|
-
* @param {string} [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.
|
|
141
137
|
* @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, messageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked</i>
|
|
138
|
+
* @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, messageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked</i>
|
|
142
139
|
* @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>
|
|
143
140
|
* @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, transactionDate, entryDate</i>
|
|
144
141
|
* @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, invoiceMatchSuggestions, suggestionGenerationProgress<i>
|
|
145
|
-
* @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, messageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked</i>
|
|
146
142
|
* @param {*} [options] Override http request option.
|
|
147
143
|
* @throws {RequiredError}
|
|
148
144
|
*/
|
|
149
|
-
listBankTransactions(authorization?: string,
|
|
145
|
+
listBankTransactions(authorization?: string, filter?: string, filters?: string, search?: string, order?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListBankTransactionsResponseClass>>;
|
|
150
146
|
/**
|
|
151
147
|
* Unlinks an already linked bank transaction **Required Permissions** \"payment-management.bank-accounts.update\"
|
|
152
148
|
* @summary Unlink bank transaction
|
|
@@ -205,17 +201,15 @@ export declare const BankTransactionApiFactory: (configuration?: Configuration,
|
|
|
205
201
|
* 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. **Required Permissions** \"payment-management.bank-accounts.view\"
|
|
206
202
|
* @summary List bank transactions
|
|
207
203
|
* @param {string} [authorization] Bearer Token
|
|
208
|
-
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
209
|
-
* @param {string} [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.
|
|
210
204
|
* @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, messageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked</i>
|
|
205
|
+
* @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, messageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked</i>
|
|
211
206
|
* @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>
|
|
212
207
|
* @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, transactionDate, entryDate</i>
|
|
213
208
|
* @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, invoiceMatchSuggestions, suggestionGenerationProgress<i>
|
|
214
|
-
* @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, messageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked</i>
|
|
215
209
|
* @param {*} [options] Override http request option.
|
|
216
210
|
* @throws {RequiredError}
|
|
217
211
|
*/
|
|
218
|
-
listBankTransactions(authorization?: string,
|
|
212
|
+
listBankTransactions(authorization?: string, filter?: string, filters?: string, search?: string, order?: string, expand?: string, options?: any): AxiosPromise<ListBankTransactionsResponseClass>;
|
|
219
213
|
/**
|
|
220
214
|
* Unlinks an already linked bank transaction **Required Permissions** \"payment-management.bank-accounts.update\"
|
|
221
215
|
* @summary Unlink bank transaction
|
|
@@ -328,23 +322,17 @@ export interface BankTransactionApiListBankTransactionsRequest {
|
|
|
328
322
|
*/
|
|
329
323
|
readonly authorization?: string;
|
|
330
324
|
/**
|
|
331
|
-
*
|
|
332
|
-
* @type {number}
|
|
333
|
-
* @memberof BankTransactionApiListBankTransactions
|
|
334
|
-
*/
|
|
335
|
-
readonly pageSize?: number;
|
|
336
|
-
/**
|
|
337
|
-
* 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.
|
|
325
|
+
* 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, messageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked</i>
|
|
338
326
|
* @type {string}
|
|
339
327
|
* @memberof BankTransactionApiListBankTransactions
|
|
340
328
|
*/
|
|
341
|
-
readonly
|
|
329
|
+
readonly filter?: string;
|
|
342
330
|
/**
|
|
343
|
-
*
|
|
331
|
+
* 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, messageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked</i>
|
|
344
332
|
* @type {string}
|
|
345
333
|
* @memberof BankTransactionApiListBankTransactions
|
|
346
334
|
*/
|
|
347
|
-
readonly
|
|
335
|
+
readonly filters?: string;
|
|
348
336
|
/**
|
|
349
337
|
* 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>
|
|
350
338
|
* @type {string}
|
|
@@ -363,12 +351,6 @@ export interface BankTransactionApiListBankTransactionsRequest {
|
|
|
363
351
|
* @memberof BankTransactionApiListBankTransactions
|
|
364
352
|
*/
|
|
365
353
|
readonly expand?: string;
|
|
366
|
-
/**
|
|
367
|
-
* 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, messageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked</i>
|
|
368
|
-
* @type {string}
|
|
369
|
-
* @memberof BankTransactionApiListBankTransactions
|
|
370
|
-
*/
|
|
371
|
-
readonly filters?: string;
|
|
372
354
|
}
|
|
373
355
|
/**
|
|
374
356
|
* Request parameters for unlinkBankTransaction operation in BankTransactionApi.
|