@emilgroup/payment-sdk 1.13.1-beta.24 → 1.13.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 -9
- 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/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 -7
- package/dist/models/deactivated-payment-reminder-class.d.ts +1 -7
- package/dist/models/index.d.ts +0 -8
- package/dist/models/index.js +0 -8
- 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/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 +1 -7
- package/models/deactivated-payment-reminder-class.ts +1 -7
- package/models/index.ts +0 -8
- 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 -691
- package/dist/api/bank-orders-api.d.ts +0 -393
- package/dist/api/bank-orders-api.js +0 -642
- package/dist/models/bank-order-class.d.ts +0 -115
- package/dist/models/bank-order-class.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/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
|
@@ -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 {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
188
|
-
* @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.
|
|
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 {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
362
|
-
* @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.
|
|
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 {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
437
|
-
* @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.
|
|
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 {number}
|
|
550
|
-
* @memberof TenantBankAccountApiListTenantBankAccounts
|
|
551
|
-
*/
|
|
552
|
-
readonly pageSize?: number
|
|
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.
|
|
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>
|
|
556
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
|
/**
|
package/api.ts
CHANGED
|
@@ -21,7 +21,6 @@ import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObj
|
|
|
21
21
|
// @ts-ignore
|
|
22
22
|
import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from './base';
|
|
23
23
|
import { BankAccountsApi } from './api';
|
|
24
|
-
import { BankOrdersApi } from './api';
|
|
25
24
|
import { BankTransactionApi } from './api';
|
|
26
25
|
import { HealthCheckApi } from './api';
|
|
27
26
|
import { PaymentMethodsApi } from './api';
|
|
@@ -34,7 +33,6 @@ import { WebhooksApi } from './api';
|
|
|
34
33
|
|
|
35
34
|
|
|
36
35
|
export * from './api/bank-accounts-api';
|
|
37
|
-
export * from './api/bank-orders-api';
|
|
38
36
|
export * from './api/bank-transaction-api';
|
|
39
37
|
export * from './api/health-check-api';
|
|
40
38
|
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.
|
|
@@ -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. **Required Permissions** \"payment-management.bank-accounts.view\"
|
|
246
246
|
* @summary List bank accounts
|
|
247
247
|
* @param {string} [authorization] Bearer Token
|
|
248
|
-
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
249
|
-
* @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.
|
|
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 {string} [
|
|
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. **Required Permissions** \"payment-management.bank-accounts.view\"
|
|
498
486
|
* @summary List bank accounts
|
|
499
487
|
* @param {string} [authorization] Bearer Token
|
|
500
|
-
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
501
|
-
* @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.
|
|
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 {string} [
|
|
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. **Required Permissions** \"payment-management.bank-accounts.view\"
|
|
613
598
|
* @summary List bank accounts
|
|
614
599
|
* @param {string} [authorization] Bearer Token
|
|
615
|
-
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
616
|
-
* @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.
|
|
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 {string} [
|
|
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 **Required Permissions** \"payment-management.bank-accounts.update\"
|
|
@@ -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 **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.
|