@emilgroup/payment-sdk 1.13.1-beta.5 → 1.13.1-beta.50
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 +11 -0
- package/README.md +2 -2
- package/api/bank-accounts-api.ts +55 -13
- package/api/bank-orders-api.ts +691 -0
- package/api/bank-transaction-api.ts +72 -44
- package/api/payment-methods-api.ts +59 -17
- package/api/payment-reminders-api.ts +55 -13
- package/api/payments-api.ts +59 -17
- package/api/refunds-api.ts +45 -17
- package/api/tenant-bank-account-api.ts +45 -17
- package/api.ts +2 -0
- package/base.ts +52 -3
- package/dist/api/bank-accounts-api.d.ts +35 -8
- package/dist/api/bank-accounts-api.js +29 -11
- package/dist/api/bank-orders-api.d.ts +393 -0
- package/dist/api/bank-orders-api.js +642 -0
- package/dist/api/bank-transaction-api.d.ts +55 -37
- package/dist/api/bank-transaction-api.js +47 -35
- package/dist/api/payment-methods-api.d.ts +39 -12
- package/dist/api/payment-methods-api.js +32 -14
- package/dist/api/payment-reminders-api.d.ts +35 -8
- package/dist/api/payment-reminders-api.js +29 -11
- package/dist/api/payments-api.d.ts +39 -12
- package/dist/api/payments-api.js +32 -14
- package/dist/api/refunds-api.d.ts +28 -10
- package/dist/api/refunds-api.js +24 -12
- package/dist/api/tenant-bank-account-api.d.ts +28 -10
- package/dist/api/tenant-bank-account-api.js +24 -12
- package/dist/api.d.ts +1 -0
- package/dist/api.js +1 -0
- package/dist/base.d.ts +10 -1
- package/dist/base.js +46 -2
- package/dist/models/bank-order-class.d.ts +115 -0
- package/dist/models/bank-order-class.js +15 -0
- package/dist/models/bank-transaction-class-without-expand-properties.d.ts +18 -14
- package/dist/models/bank-transaction-class-without-expand-properties.js +5 -0
- package/dist/models/bank-transaction-class.d.ts +18 -0
- package/dist/models/bank-transaction-class.js +5 -0
- package/dist/models/complete-adyen-payment-setup-request-dto.d.ts +1 -0
- package/dist/models/complete-adyen-payment-setup-request-dto.js +2 -1
- package/dist/models/complete-eis-payment-setup-request-dto.d.ts +36 -0
- package/dist/models/complete-eis-payment-setup-request-dto.js +15 -0
- package/dist/models/complete-payment-setup-request-dto.d.ts +7 -0
- package/dist/models/complete-stripe-payment-setup-request-dto.d.ts +1 -0
- package/dist/models/complete-stripe-payment-setup-request-dto.js +2 -1
- package/dist/models/create-bank-order-request-dto.d.ts +74 -0
- package/dist/models/create-bank-order-request-dto.js +28 -0
- package/dist/models/create-bank-order-response-class.d.ts +25 -0
- package/dist/models/create-bank-order-response-class.js +15 -0
- package/dist/models/create-payment-reminder-request-dto.d.ts +7 -1
- package/dist/models/create-payment-request-dto.d.ts +7 -1
- package/dist/models/create-psp-payment-method-request-dto.d.ts +14 -1
- package/dist/models/create-psp-payment-method-request-dto.js +2 -1
- package/dist/models/deactivated-payment-reminder-class.d.ts +7 -1
- package/dist/models/financial-account-class.d.ts +111 -0
- package/dist/models/financial-account-class.js +24 -0
- package/dist/models/get-bank-order-response-class.d.ts +25 -0
- package/dist/models/get-bank-order-response-class.js +15 -0
- package/dist/models/index.d.ts +10 -0
- package/dist/models/index.js +10 -0
- package/dist/models/initiate-adyen-payment-setup-request-dto.d.ts +6 -0
- package/dist/models/initiate-braintree-payment-setup-request-dto.d.ts +6 -0
- package/dist/models/initiate-eis-payment-setup-request-dto.d.ts +36 -0
- package/dist/models/initiate-eis-payment-setup-request-dto.js +15 -0
- package/dist/models/initiate-payment-setup-request-dto.d.ts +3 -2
- package/dist/models/initiate-stripe-payment-setup-request-dto.d.ts +6 -0
- package/dist/models/list-bank-orders-response-class.d.ts +31 -0
- package/dist/models/list-bank-orders-response-class.js +15 -0
- package/dist/models/payment-class-without-expand-properties.d.ts +7 -1
- package/dist/models/payment-class.d.ts +7 -1
- package/dist/models/payment-method-class.d.ts +6 -0
- package/dist/models/payment-reminder-class.d.ts +7 -1
- package/dist/models/refund-class.d.ts +7 -1
- package/dist/models/unlinked-bank-transaction-response-class.d.ts +18 -14
- package/dist/models/unlinked-bank-transaction-response-class.js +5 -0
- package/dist/models/update-bank-order-request-dto.d.ts +56 -0
- package/dist/models/update-bank-order-request-dto.js +23 -0
- package/dist/models/update-bank-order-response-class.d.ts +25 -0
- package/dist/models/update-bank-order-response-class.js +15 -0
- package/models/bank-order-class.ts +121 -0
- package/models/bank-transaction-class-without-expand-properties.ts +21 -14
- package/models/bank-transaction-class.ts +21 -0
- package/models/complete-adyen-payment-setup-request-dto.ts +2 -1
- package/models/complete-eis-payment-setup-request-dto.ts +42 -0
- package/models/complete-payment-setup-request-dto.ts +7 -0
- package/models/complete-stripe-payment-setup-request-dto.ts +2 -1
- package/models/create-bank-order-request-dto.ts +84 -0
- package/models/create-bank-order-response-class.ts +31 -0
- package/models/create-payment-reminder-request-dto.ts +7 -1
- package/models/create-payment-request-dto.ts +7 -1
- package/models/create-psp-payment-method-request-dto.ts +15 -2
- package/models/deactivated-payment-reminder-class.ts +7 -1
- package/models/financial-account-class.ts +120 -0
- package/models/get-bank-order-response-class.ts +31 -0
- package/models/index.ts +10 -0
- package/models/initiate-adyen-payment-setup-request-dto.ts +6 -0
- package/models/initiate-braintree-payment-setup-request-dto.ts +6 -0
- package/models/initiate-eis-payment-setup-request-dto.ts +42 -0
- package/models/initiate-payment-setup-request-dto.ts +3 -2
- package/models/initiate-stripe-payment-setup-request-dto.ts +6 -0
- package/models/list-bank-orders-response-class.ts +37 -0
- package/models/payment-class-without-expand-properties.ts +7 -1
- package/models/payment-class.ts +7 -1
- package/models/payment-method-class.ts +6 -0
- package/models/payment-reminder-class.ts +7 -1
- package/models/refund-class.ts +7 -1
- package/models/unlinked-bank-transaction-response-class.ts +21 -14
- package/models/update-bank-order-request-dto.ts +65 -0
- package/models/update-bank-order-response-class.ts +31 -0
- package/package.json +1 -1
- package/tsconfig.json +1 -0
|
@@ -43,7 +43,7 @@ import { UnlinkBankTransactionsResponseClass } from '../models';
|
|
|
43
43
|
export const BankTransactionApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
44
44
|
return {
|
|
45
45
|
/**
|
|
46
|
-
* Generate suggestion for matching a bank transaction with an Invoice **Required Permissions** \"payment-management.bank-accounts.
|
|
46
|
+
* Generate suggestion for matching a bank transaction with an Invoice **Required Permissions** \"payment-management.bank-accounts.view\"
|
|
47
47
|
* @summary Invoice Match Suggestion
|
|
48
48
|
* @param {string} code Code of the bank transaction to generate match suggestions for
|
|
49
49
|
* @param {string} [authorization] Bearer Token
|
|
@@ -92,7 +92,7 @@ export const BankTransactionApiAxiosParamCreator = function (configuration?: Con
|
|
|
92
92
|
* @summary Retrieve the bank transaction
|
|
93
93
|
* @param {string} code
|
|
94
94
|
* @param {string} [authorization] Bearer Token
|
|
95
|
-
* @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>
|
|
95
|
+
* @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, linkedBankOrder<i>
|
|
96
96
|
* @param {*} [options] Override http request option.
|
|
97
97
|
* @throws {RequiredError}
|
|
98
98
|
*/
|
|
@@ -138,9 +138,9 @@ export const BankTransactionApiAxiosParamCreator = function (configuration?: Con
|
|
|
138
138
|
};
|
|
139
139
|
},
|
|
140
140
|
/**
|
|
141
|
-
* This will import bank transactions from a
|
|
141
|
+
* This will import bank transactions from a MT940/CAMT.053 file **Required Permissions** \"payment-management.bank-accounts.view\"
|
|
142
142
|
* @summary Create the bank transactions
|
|
143
|
-
* @param {any} file
|
|
143
|
+
* @param {any} file MT940/CAMT.053 file to import bank transactions from. Extension must be .txt .sta or .xml.<br/> Allowed Content Types: text/plain, application/octet-stream, application/xml, text/xml
|
|
144
144
|
* @param {string} [authorization] Bearer Token
|
|
145
145
|
* @param {*} [options] Override http request option.
|
|
146
146
|
* @throws {RequiredError}
|
|
@@ -244,15 +244,17 @@ export const BankTransactionApiAxiosParamCreator = function (configuration?: Con
|
|
|
244
244
|
* 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\"
|
|
245
245
|
* @summary List bank transactions
|
|
246
246
|
* @param {string} [authorization] Bearer Token
|
|
247
|
-
* @param {
|
|
248
|
-
* @param {string} [
|
|
247
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
248
|
+
* @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.
|
|
249
|
+
* @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>
|
|
249
250
|
* @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>
|
|
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,
|
|
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: bankAccount, transaction, invoiceMatchSuggestions, suggestionGenerationProgress<i>
|
|
251
|
+
* @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>
|
|
252
|
+
* @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, linkedBankOrder<i>
|
|
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: id, code, bankAccountId, bankAccountNumber, messageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked</i>
|
|
252
254
|
* @param {*} [options] Override http request option.
|
|
253
255
|
* @throws {RequiredError}
|
|
254
256
|
*/
|
|
255
|
-
listBankTransactions: async (authorization?: string,
|
|
257
|
+
listBankTransactions: async (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
256
258
|
const localVarPath = `/paymentservice/v1/tenant/bank-transactions`;
|
|
257
259
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
258
260
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -271,12 +273,16 @@ export const BankTransactionApiAxiosParamCreator = function (configuration?: Con
|
|
|
271
273
|
// http bearer authentication required
|
|
272
274
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
273
275
|
|
|
274
|
-
if (
|
|
275
|
-
localVarQueryParameter['
|
|
276
|
+
if (pageSize !== undefined) {
|
|
277
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
276
278
|
}
|
|
277
279
|
|
|
278
|
-
if (
|
|
279
|
-
localVarQueryParameter['
|
|
280
|
+
if (pageToken !== undefined) {
|
|
281
|
+
localVarQueryParameter['pageToken'] = pageToken;
|
|
282
|
+
}
|
|
283
|
+
|
|
284
|
+
if (filter !== undefined) {
|
|
285
|
+
localVarQueryParameter['filter'] = filter;
|
|
280
286
|
}
|
|
281
287
|
|
|
282
288
|
if (search !== undefined) {
|
|
@@ -291,6 +297,10 @@ export const BankTransactionApiAxiosParamCreator = function (configuration?: Con
|
|
|
291
297
|
localVarQueryParameter['expand'] = expand;
|
|
292
298
|
}
|
|
293
299
|
|
|
300
|
+
if (filters !== undefined) {
|
|
301
|
+
localVarQueryParameter['filters'] = filters;
|
|
302
|
+
}
|
|
303
|
+
|
|
294
304
|
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
295
305
|
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
296
306
|
}
|
|
@@ -368,7 +378,7 @@ export const BankTransactionApiFp = function(configuration?: Configuration) {
|
|
|
368
378
|
const localVarAxiosParamCreator = BankTransactionApiAxiosParamCreator(configuration)
|
|
369
379
|
return {
|
|
370
380
|
/**
|
|
371
|
-
* Generate suggestion for matching a bank transaction with an Invoice **Required Permissions** \"payment-management.bank-accounts.
|
|
381
|
+
* Generate suggestion for matching a bank transaction with an Invoice **Required Permissions** \"payment-management.bank-accounts.view\"
|
|
372
382
|
* @summary Invoice Match Suggestion
|
|
373
383
|
* @param {string} code Code of the bank transaction to generate match suggestions for
|
|
374
384
|
* @param {string} [authorization] Bearer Token
|
|
@@ -384,7 +394,7 @@ export const BankTransactionApiFp = function(configuration?: Configuration) {
|
|
|
384
394
|
* @summary Retrieve the bank transaction
|
|
385
395
|
* @param {string} code
|
|
386
396
|
* @param {string} [authorization] Bearer Token
|
|
387
|
-
* @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>
|
|
397
|
+
* @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, linkedBankOrder<i>
|
|
388
398
|
* @param {*} [options] Override http request option.
|
|
389
399
|
* @throws {RequiredError}
|
|
390
400
|
*/
|
|
@@ -393,9 +403,9 @@ export const BankTransactionApiFp = function(configuration?: Configuration) {
|
|
|
393
403
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
394
404
|
},
|
|
395
405
|
/**
|
|
396
|
-
* This will import bank transactions from a
|
|
406
|
+
* This will import bank transactions from a MT940/CAMT.053 file **Required Permissions** \"payment-management.bank-accounts.view\"
|
|
397
407
|
* @summary Create the bank transactions
|
|
398
|
-
* @param {any} file
|
|
408
|
+
* @param {any} file MT940/CAMT.053 file to import bank transactions from. Extension must be .txt .sta or .xml.<br/> Allowed Content Types: text/plain, application/octet-stream, application/xml, text/xml
|
|
399
409
|
* @param {string} [authorization] Bearer Token
|
|
400
410
|
* @param {*} [options] Override http request option.
|
|
401
411
|
* @throws {RequiredError}
|
|
@@ -421,16 +431,18 @@ export const BankTransactionApiFp = function(configuration?: Configuration) {
|
|
|
421
431
|
* 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\"
|
|
422
432
|
* @summary List bank transactions
|
|
423
433
|
* @param {string} [authorization] Bearer Token
|
|
424
|
-
* @param {
|
|
425
|
-
* @param {string} [
|
|
434
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
435
|
+
* @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.
|
|
436
|
+
* @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>
|
|
426
437
|
* @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>
|
|
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,
|
|
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: bankAccount, transaction, invoiceMatchSuggestions, suggestionGenerationProgress<i>
|
|
438
|
+
* @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>
|
|
439
|
+
* @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, linkedBankOrder<i>
|
|
440
|
+
* @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>
|
|
429
441
|
* @param {*} [options] Override http request option.
|
|
430
442
|
* @throws {RequiredError}
|
|
431
443
|
*/
|
|
432
|
-
async listBankTransactions(authorization?: string,
|
|
433
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listBankTransactions(authorization,
|
|
444
|
+
async listBankTransactions(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListBankTransactionsResponseClass>> {
|
|
445
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listBankTransactions(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
|
|
434
446
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
435
447
|
},
|
|
436
448
|
/**
|
|
@@ -457,7 +469,7 @@ export const BankTransactionApiFactory = function (configuration?: Configuration
|
|
|
457
469
|
const localVarFp = BankTransactionApiFp(configuration)
|
|
458
470
|
return {
|
|
459
471
|
/**
|
|
460
|
-
* Generate suggestion for matching a bank transaction with an Invoice **Required Permissions** \"payment-management.bank-accounts.
|
|
472
|
+
* Generate suggestion for matching a bank transaction with an Invoice **Required Permissions** \"payment-management.bank-accounts.view\"
|
|
461
473
|
* @summary Invoice Match Suggestion
|
|
462
474
|
* @param {string} code Code of the bank transaction to generate match suggestions for
|
|
463
475
|
* @param {string} [authorization] Bearer Token
|
|
@@ -472,7 +484,7 @@ export const BankTransactionApiFactory = function (configuration?: Configuration
|
|
|
472
484
|
* @summary Retrieve the bank transaction
|
|
473
485
|
* @param {string} code
|
|
474
486
|
* @param {string} [authorization] Bearer Token
|
|
475
|
-
* @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>
|
|
487
|
+
* @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, linkedBankOrder<i>
|
|
476
488
|
* @param {*} [options] Override http request option.
|
|
477
489
|
* @throws {RequiredError}
|
|
478
490
|
*/
|
|
@@ -480,9 +492,9 @@ export const BankTransactionApiFactory = function (configuration?: Configuration
|
|
|
480
492
|
return localVarFp.getBankTransaction(code, authorization, expand, options).then((request) => request(axios, basePath));
|
|
481
493
|
},
|
|
482
494
|
/**
|
|
483
|
-
* This will import bank transactions from a
|
|
495
|
+
* This will import bank transactions from a MT940/CAMT.053 file **Required Permissions** \"payment-management.bank-accounts.view\"
|
|
484
496
|
* @summary Create the bank transactions
|
|
485
|
-
* @param {any} file
|
|
497
|
+
* @param {any} file MT940/CAMT.053 file to import bank transactions from. Extension must be .txt .sta or .xml.<br/> Allowed Content Types: text/plain, application/octet-stream, application/xml, text/xml
|
|
486
498
|
* @param {string} [authorization] Bearer Token
|
|
487
499
|
* @param {*} [options] Override http request option.
|
|
488
500
|
* @throws {RequiredError}
|
|
@@ -506,16 +518,18 @@ export const BankTransactionApiFactory = function (configuration?: Configuration
|
|
|
506
518
|
* 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\"
|
|
507
519
|
* @summary List bank transactions
|
|
508
520
|
* @param {string} [authorization] Bearer Token
|
|
509
|
-
* @param {
|
|
510
|
-
* @param {string} [
|
|
521
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
522
|
+
* @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.
|
|
523
|
+
* @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>
|
|
511
524
|
* @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>
|
|
512
|
-
* @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,
|
|
513
|
-
* @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>
|
|
525
|
+
* @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>
|
|
526
|
+
* @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, linkedBankOrder<i>
|
|
527
|
+
* @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>
|
|
514
528
|
* @param {*} [options] Override http request option.
|
|
515
529
|
* @throws {RequiredError}
|
|
516
530
|
*/
|
|
517
|
-
listBankTransactions(authorization?: string,
|
|
518
|
-
return localVarFp.listBankTransactions(authorization,
|
|
531
|
+
listBankTransactions(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListBankTransactionsResponseClass> {
|
|
532
|
+
return localVarFp.listBankTransactions(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
|
|
519
533
|
},
|
|
520
534
|
/**
|
|
521
535
|
* Unlinks an already linked bank transaction **Required Permissions** \"payment-management.bank-accounts.update\"
|
|
@@ -574,7 +588,7 @@ export interface BankTransactionApiGetBankTransactionRequest {
|
|
|
574
588
|
readonly authorization?: string
|
|
575
589
|
|
|
576
590
|
/**
|
|
577
|
-
* 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>
|
|
591
|
+
* 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, linkedBankOrder<i>
|
|
578
592
|
* @type {string}
|
|
579
593
|
* @memberof BankTransactionApiGetBankTransaction
|
|
580
594
|
*/
|
|
@@ -588,7 +602,7 @@ export interface BankTransactionApiGetBankTransactionRequest {
|
|
|
588
602
|
*/
|
|
589
603
|
export interface BankTransactionApiImportBankTransactionsRequest {
|
|
590
604
|
/**
|
|
591
|
-
*
|
|
605
|
+
* MT940/CAMT.053 file to import bank transactions from. Extension must be .txt .sta or .xml.<br/> Allowed Content Types: text/plain, application/octet-stream, application/xml, text/xml
|
|
592
606
|
* @type {any}
|
|
593
607
|
* @memberof BankTransactionApiImportBankTransactions
|
|
594
608
|
*/
|
|
@@ -644,18 +658,25 @@ export interface BankTransactionApiListBankTransactionsRequest {
|
|
|
644
658
|
readonly authorization?: string
|
|
645
659
|
|
|
646
660
|
/**
|
|
647
|
-
*
|
|
661
|
+
* A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
662
|
+
* @type {number}
|
|
663
|
+
* @memberof BankTransactionApiListBankTransactions
|
|
664
|
+
*/
|
|
665
|
+
readonly pageSize?: number
|
|
666
|
+
|
|
667
|
+
/**
|
|
668
|
+
* 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.
|
|
648
669
|
* @type {string}
|
|
649
670
|
* @memberof BankTransactionApiListBankTransactions
|
|
650
671
|
*/
|
|
651
|
-
readonly
|
|
672
|
+
readonly pageToken?: string
|
|
652
673
|
|
|
653
674
|
/**
|
|
654
|
-
*
|
|
675
|
+
* 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>
|
|
655
676
|
* @type {string}
|
|
656
677
|
* @memberof BankTransactionApiListBankTransactions
|
|
657
678
|
*/
|
|
658
|
-
readonly
|
|
679
|
+
readonly filter?: string
|
|
659
680
|
|
|
660
681
|
/**
|
|
661
682
|
* 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>
|
|
@@ -665,18 +686,25 @@ export interface BankTransactionApiListBankTransactionsRequest {
|
|
|
665
686
|
readonly search?: string
|
|
666
687
|
|
|
667
688
|
/**
|
|
668
|
-
* 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,
|
|
689
|
+
* 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>
|
|
669
690
|
* @type {string}
|
|
670
691
|
* @memberof BankTransactionApiListBankTransactions
|
|
671
692
|
*/
|
|
672
693
|
readonly order?: string
|
|
673
694
|
|
|
674
695
|
/**
|
|
675
|
-
* 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>
|
|
696
|
+
* 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, linkedBankOrder<i>
|
|
676
697
|
* @type {string}
|
|
677
698
|
* @memberof BankTransactionApiListBankTransactions
|
|
678
699
|
*/
|
|
679
700
|
readonly expand?: string
|
|
701
|
+
|
|
702
|
+
/**
|
|
703
|
+
* 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>
|
|
704
|
+
* @type {string}
|
|
705
|
+
* @memberof BankTransactionApiListBankTransactions
|
|
706
|
+
*/
|
|
707
|
+
readonly filters?: string
|
|
680
708
|
}
|
|
681
709
|
|
|
682
710
|
/**
|
|
@@ -715,7 +743,7 @@ export interface BankTransactionApiUnlinkBankTransactionRequest {
|
|
|
715
743
|
*/
|
|
716
744
|
export class BankTransactionApi extends BaseAPI {
|
|
717
745
|
/**
|
|
718
|
-
* Generate suggestion for matching a bank transaction with an Invoice **Required Permissions** \"payment-management.bank-accounts.
|
|
746
|
+
* Generate suggestion for matching a bank transaction with an Invoice **Required Permissions** \"payment-management.bank-accounts.view\"
|
|
719
747
|
* @summary Invoice Match Suggestion
|
|
720
748
|
* @param {BankTransactionApiGenerateInvoiceMatchSuggestionRequest} requestParameters Request parameters.
|
|
721
749
|
* @param {*} [options] Override http request option.
|
|
@@ -739,7 +767,7 @@ export class BankTransactionApi extends BaseAPI {
|
|
|
739
767
|
}
|
|
740
768
|
|
|
741
769
|
/**
|
|
742
|
-
* This will import bank transactions from a
|
|
770
|
+
* This will import bank transactions from a MT940/CAMT.053 file **Required Permissions** \"payment-management.bank-accounts.view\"
|
|
743
771
|
* @summary Create the bank transactions
|
|
744
772
|
* @param {BankTransactionApiImportBankTransactionsRequest} requestParameters Request parameters.
|
|
745
773
|
* @param {*} [options] Override http request option.
|
|
@@ -771,7 +799,7 @@ export class BankTransactionApi extends BaseAPI {
|
|
|
771
799
|
* @memberof BankTransactionApi
|
|
772
800
|
*/
|
|
773
801
|
public listBankTransactions(requestParameters: BankTransactionApiListBankTransactionsRequest = {}, options?: AxiosRequestConfig) {
|
|
774
|
-
return BankTransactionApiFp(this.configuration).listBankTransactions(requestParameters.authorization, requestParameters.
|
|
802
|
+
return BankTransactionApiFp(this.configuration).listBankTransactions(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then((request) => request(this.axios, this.basePath));
|
|
775
803
|
}
|
|
776
804
|
|
|
777
805
|
/**
|
|
@@ -130,14 +130,17 @@ export const PaymentMethodsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
130
130
|
* Returns a list of payment methods you have previously created. The payment methods are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"payment-management.payments.view\"
|
|
131
131
|
* @summary List payment methods
|
|
132
132
|
* @param {string} [authorization] Bearer Token
|
|
133
|
-
* @param {
|
|
134
|
-
* @param {string} [
|
|
133
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
134
|
+
* @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.
|
|
135
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: code, id, pspCustomerId, psp, type, productSlug, accountCode, partnerCode</i>
|
|
136
|
+
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
135
137
|
* @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>
|
|
136
138
|
* @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/>
|
|
139
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: code, id, pspCustomerId, psp, type, productSlug, accountCode, partnerCode</i>
|
|
137
140
|
* @param {*} [options] Override http request option.
|
|
138
141
|
* @throws {RequiredError}
|
|
139
142
|
*/
|
|
140
|
-
listPaymentMethods: async (authorization?: string, filter?: string,
|
|
143
|
+
listPaymentMethods: async (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
141
144
|
const localVarPath = `/paymentservice/v1/payment-methods`;
|
|
142
145
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
143
146
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -156,12 +159,20 @@ export const PaymentMethodsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
156
159
|
// http bearer authentication required
|
|
157
160
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
158
161
|
|
|
162
|
+
if (pageSize !== undefined) {
|
|
163
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
if (pageToken !== undefined) {
|
|
167
|
+
localVarQueryParameter['pageToken'] = pageToken;
|
|
168
|
+
}
|
|
169
|
+
|
|
159
170
|
if (filter !== undefined) {
|
|
160
171
|
localVarQueryParameter['filter'] = filter;
|
|
161
172
|
}
|
|
162
173
|
|
|
163
|
-
if (
|
|
164
|
-
localVarQueryParameter['
|
|
174
|
+
if (search !== undefined) {
|
|
175
|
+
localVarQueryParameter['search'] = search;
|
|
165
176
|
}
|
|
166
177
|
|
|
167
178
|
if (order !== undefined) {
|
|
@@ -172,6 +183,10 @@ export const PaymentMethodsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
172
183
|
localVarQueryParameter['expand'] = expand;
|
|
173
184
|
}
|
|
174
185
|
|
|
186
|
+
if (filters !== undefined) {
|
|
187
|
+
localVarQueryParameter['filters'] = filters;
|
|
188
|
+
}
|
|
189
|
+
|
|
175
190
|
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
176
191
|
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
177
192
|
}
|
|
@@ -225,15 +240,18 @@ export const PaymentMethodsApiFp = function(configuration?: Configuration) {
|
|
|
225
240
|
* Returns a list of payment methods you have previously created. The payment methods are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"payment-management.payments.view\"
|
|
226
241
|
* @summary List payment methods
|
|
227
242
|
* @param {string} [authorization] Bearer Token
|
|
228
|
-
* @param {
|
|
229
|
-
* @param {string} [
|
|
243
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
244
|
+
* @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.
|
|
245
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: code, id, pspCustomerId, psp, type, productSlug, accountCode, partnerCode</i>
|
|
246
|
+
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
230
247
|
* @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>
|
|
231
248
|
* @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/>
|
|
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, pspCustomerId, psp, type, productSlug, accountCode, partnerCode</i>
|
|
232
250
|
* @param {*} [options] Override http request option.
|
|
233
251
|
* @throws {RequiredError}
|
|
234
252
|
*/
|
|
235
|
-
async listPaymentMethods(authorization?: string, filter?: string,
|
|
236
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listPaymentMethods(authorization, filter,
|
|
253
|
+
async listPaymentMethods(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListPaymentMethodsResponseClass>> {
|
|
254
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listPaymentMethods(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
|
|
237
255
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
238
256
|
},
|
|
239
257
|
}
|
|
@@ -272,15 +290,18 @@ export const PaymentMethodsApiFactory = function (configuration?: Configuration,
|
|
|
272
290
|
* Returns a list of payment methods you have previously created. The payment methods are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"payment-management.payments.view\"
|
|
273
291
|
* @summary List payment methods
|
|
274
292
|
* @param {string} [authorization] Bearer Token
|
|
275
|
-
* @param {
|
|
276
|
-
* @param {string} [
|
|
293
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
294
|
+
* @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.
|
|
295
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: code, id, pspCustomerId, psp, type, productSlug, accountCode, partnerCode</i>
|
|
296
|
+
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
277
297
|
* @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>
|
|
278
298
|
* @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/>
|
|
299
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: code, id, pspCustomerId, psp, type, productSlug, accountCode, partnerCode</i>
|
|
279
300
|
* @param {*} [options] Override http request option.
|
|
280
301
|
* @throws {RequiredError}
|
|
281
302
|
*/
|
|
282
|
-
listPaymentMethods(authorization?: string, filter?: string,
|
|
283
|
-
return localVarFp.listPaymentMethods(authorization, filter,
|
|
303
|
+
listPaymentMethods(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListPaymentMethodsResponseClass> {
|
|
304
|
+
return localVarFp.listPaymentMethods(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
|
|
284
305
|
},
|
|
285
306
|
};
|
|
286
307
|
};
|
|
@@ -341,18 +362,32 @@ export interface PaymentMethodsApiListPaymentMethodsRequest {
|
|
|
341
362
|
readonly authorization?: string
|
|
342
363
|
|
|
343
364
|
/**
|
|
344
|
-
*
|
|
365
|
+
* A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
366
|
+
* @type {number}
|
|
367
|
+
* @memberof PaymentMethodsApiListPaymentMethods
|
|
368
|
+
*/
|
|
369
|
+
readonly pageSize?: number
|
|
370
|
+
|
|
371
|
+
/**
|
|
372
|
+
* 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.
|
|
373
|
+
* @type {string}
|
|
374
|
+
* @memberof PaymentMethodsApiListPaymentMethods
|
|
375
|
+
*/
|
|
376
|
+
readonly pageToken?: string
|
|
377
|
+
|
|
378
|
+
/**
|
|
379
|
+
* Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: code, id, pspCustomerId, psp, type, productSlug, accountCode, partnerCode</i>
|
|
345
380
|
* @type {string}
|
|
346
381
|
* @memberof PaymentMethodsApiListPaymentMethods
|
|
347
382
|
*/
|
|
348
383
|
readonly filter?: string
|
|
349
384
|
|
|
350
385
|
/**
|
|
351
|
-
*
|
|
386
|
+
* To search the list by any field, pass search=xxx to fetch the result.
|
|
352
387
|
* @type {string}
|
|
353
388
|
* @memberof PaymentMethodsApiListPaymentMethods
|
|
354
389
|
*/
|
|
355
|
-
readonly
|
|
390
|
+
readonly search?: string
|
|
356
391
|
|
|
357
392
|
/**
|
|
358
393
|
* 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>
|
|
@@ -367,6 +402,13 @@ export interface PaymentMethodsApiListPaymentMethodsRequest {
|
|
|
367
402
|
* @memberof PaymentMethodsApiListPaymentMethods
|
|
368
403
|
*/
|
|
369
404
|
readonly expand?: string
|
|
405
|
+
|
|
406
|
+
/**
|
|
407
|
+
* Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: code, id, pspCustomerId, psp, type, productSlug, accountCode, partnerCode</i>
|
|
408
|
+
* @type {string}
|
|
409
|
+
* @memberof PaymentMethodsApiListPaymentMethods
|
|
410
|
+
*/
|
|
411
|
+
readonly filters?: string
|
|
370
412
|
}
|
|
371
413
|
|
|
372
414
|
/**
|
|
@@ -409,6 +451,6 @@ export class PaymentMethodsApi extends BaseAPI {
|
|
|
409
451
|
* @memberof PaymentMethodsApi
|
|
410
452
|
*/
|
|
411
453
|
public listPaymentMethods(requestParameters: PaymentMethodsApiListPaymentMethodsRequest = {}, options?: AxiosRequestConfig) {
|
|
412
|
-
return PaymentMethodsApiFp(this.configuration).listPaymentMethods(requestParameters.authorization, requestParameters.filter, requestParameters.
|
|
454
|
+
return PaymentMethodsApiFp(this.configuration).listPaymentMethods(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then((request) => request(this.axios, this.basePath));
|
|
413
455
|
}
|
|
414
456
|
}
|