@emilgroup/payment-sdk 1.4.1-beta.35 → 1.4.1-beta.37
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/README.md +2 -2
- package/api/bank-accounts-api.ts +16 -16
- package/api/bank-transaction-api.ts +16 -16
- package/api/payment-methods-api.ts +18 -32
- package/api/payment-reminders-api.ts +18 -32
- package/api/payments-api.ts +16 -16
- package/api/refunds-api.ts +16 -16
- package/api/tenant-bank-account-api.ts +16 -16
- package/dist/api/bank-accounts-api.d.ts +16 -16
- package/dist/api/bank-accounts-api.js +13 -13
- package/dist/api/bank-transaction-api.d.ts +16 -16
- package/dist/api/bank-transaction-api.js +13 -13
- package/dist/api/payment-methods-api.d.ts +15 -24
- package/dist/api/payment-methods-api.js +16 -22
- package/dist/api/payment-reminders-api.d.ts +15 -24
- package/dist/api/payment-reminders-api.js +16 -22
- package/dist/api/payments-api.d.ts +16 -16
- package/dist/api/payments-api.js +13 -13
- package/dist/api/refunds-api.d.ts +16 -16
- package/dist/api/refunds-api.js +13 -13
- package/dist/api/tenant-bank-account-api.d.ts +16 -16
- package/dist/api/tenant-bank-account-api.js +13 -13
- package/dist/models/bank-transaction-class-without-expand-properties.d.ts +12 -0
- package/dist/models/tenant-bank-account-class-without-expand-properties.d.ts +12 -0
- package/dist/models/tenant-bank-account-class.d.ts +12 -0
- package/models/bank-transaction-class-without-expand-properties.ts +12 -0
- package/models/tenant-bank-account-class-without-expand-properties.ts +12 -0
- package/models/tenant-bank-account-class.ts +12 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -17,11 +17,11 @@ Although this package can be used in both TypeScript and JavaScript, it is inten
|
|
|
17
17
|
Navigate to the folder of your consuming project and run one of the following commands:
|
|
18
18
|
|
|
19
19
|
```
|
|
20
|
-
npm install @emilgroup/payment-sdk@1.4.1-beta.
|
|
20
|
+
npm install @emilgroup/payment-sdk@1.4.1-beta.37 --save
|
|
21
21
|
```
|
|
22
22
|
or
|
|
23
23
|
```
|
|
24
|
-
yarn add @emilgroup/payment-sdk@1.4.1-beta.
|
|
24
|
+
yarn add @emilgroup/payment-sdk@1.4.1-beta.37
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
And then you can import `PaymentsApi`.
|
package/api/bank-accounts-api.ts
CHANGED
|
@@ -125,11 +125,11 @@ export const BankAccountsApiAxiosParamCreator = function (configuration?: Config
|
|
|
125
125
|
};
|
|
126
126
|
},
|
|
127
127
|
/**
|
|
128
|
-
* Retrieves the details of the bank account that was previously created. Supply the unique bank account code
|
|
128
|
+
* Retrieves the details of the bank account that was previously created. Supply the unique bank account code that was returned when you created it and Emil Api will return the corresponding bank account information.
|
|
129
129
|
* @summary Retrieve the bank account
|
|
130
|
-
* @param {string} code
|
|
130
|
+
* @param {string} code
|
|
131
131
|
* @param {string} [authorization] Bearer Token
|
|
132
|
-
* @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
|
|
132
|
+
* @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>
|
|
133
133
|
* @param {*} [options] Override http request option.
|
|
134
134
|
* @throws {RequiredError}
|
|
135
135
|
*/
|
|
@@ -183,7 +183,7 @@ export const BankAccountsApiAxiosParamCreator = function (configuration?: Config
|
|
|
183
183
|
* @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>
|
|
184
184
|
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
185
185
|
* @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>
|
|
186
|
-
* @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
|
|
186
|
+
* @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>
|
|
187
187
|
* @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>
|
|
188
188
|
* @param {*} [options] Override http request option.
|
|
189
189
|
* @throws {RequiredError}
|
|
@@ -387,11 +387,11 @@ export const BankAccountsApiFp = function(configuration?: Configuration) {
|
|
|
387
387
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
388
388
|
},
|
|
389
389
|
/**
|
|
390
|
-
* Retrieves the details of the bank account that was previously created. Supply the unique bank account code
|
|
390
|
+
* Retrieves the details of the bank account that was previously created. Supply the unique bank account code that was returned when you created it and Emil Api will return the corresponding bank account information.
|
|
391
391
|
* @summary Retrieve the bank account
|
|
392
|
-
* @param {string} code
|
|
392
|
+
* @param {string} code
|
|
393
393
|
* @param {string} [authorization] Bearer Token
|
|
394
|
-
* @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
|
|
394
|
+
* @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>
|
|
395
395
|
* @param {*} [options] Override http request option.
|
|
396
396
|
* @throws {RequiredError}
|
|
397
397
|
*/
|
|
@@ -408,7 +408,7 @@ export const BankAccountsApiFp = function(configuration?: Configuration) {
|
|
|
408
408
|
* @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>
|
|
409
409
|
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
410
410
|
* @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>
|
|
411
|
-
* @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
|
|
411
|
+
* @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>
|
|
412
412
|
* @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>
|
|
413
413
|
* @param {*} [options] Override http request option.
|
|
414
414
|
* @throws {RequiredError}
|
|
@@ -476,11 +476,11 @@ export const BankAccountsApiFactory = function (configuration?: Configuration, b
|
|
|
476
476
|
return localVarFp.deleteBankAccount(code, authorization, options).then((request) => request(axios, basePath));
|
|
477
477
|
},
|
|
478
478
|
/**
|
|
479
|
-
* Retrieves the details of the bank account that was previously created. Supply the unique bank account code
|
|
479
|
+
* Retrieves the details of the bank account that was previously created. Supply the unique bank account code that was returned when you created it and Emil Api will return the corresponding bank account information.
|
|
480
480
|
* @summary Retrieve the bank account
|
|
481
|
-
* @param {string} code
|
|
481
|
+
* @param {string} code
|
|
482
482
|
* @param {string} [authorization] Bearer Token
|
|
483
|
-
* @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
|
|
483
|
+
* @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>
|
|
484
484
|
* @param {*} [options] Override http request option.
|
|
485
485
|
* @throws {RequiredError}
|
|
486
486
|
*/
|
|
@@ -496,7 +496,7 @@ export const BankAccountsApiFactory = function (configuration?: Configuration, b
|
|
|
496
496
|
* @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>
|
|
497
497
|
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
498
498
|
* @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>
|
|
499
|
-
* @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
|
|
499
|
+
* @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>
|
|
500
500
|
* @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>
|
|
501
501
|
* @param {*} [options] Override http request option.
|
|
502
502
|
* @throws {RequiredError}
|
|
@@ -580,7 +580,7 @@ export interface BankAccountsApiDeleteBankAccountRequest {
|
|
|
580
580
|
*/
|
|
581
581
|
export interface BankAccountsApiGetBankAccountRequest {
|
|
582
582
|
/**
|
|
583
|
-
*
|
|
583
|
+
*
|
|
584
584
|
* @type {string}
|
|
585
585
|
* @memberof BankAccountsApiGetBankAccount
|
|
586
586
|
*/
|
|
@@ -594,7 +594,7 @@ export interface BankAccountsApiGetBankAccountRequest {
|
|
|
594
594
|
readonly authorization?: string
|
|
595
595
|
|
|
596
596
|
/**
|
|
597
|
-
* 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
|
|
597
|
+
* 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>
|
|
598
598
|
* @type {string}
|
|
599
599
|
* @memberof BankAccountsApiGetBankAccount
|
|
600
600
|
*/
|
|
@@ -650,7 +650,7 @@ export interface BankAccountsApiListBankAccountsRequest {
|
|
|
650
650
|
readonly order?: string
|
|
651
651
|
|
|
652
652
|
/**
|
|
653
|
-
* 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
|
|
653
|
+
* 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>
|
|
654
654
|
* @type {string}
|
|
655
655
|
* @memberof BankAccountsApiListBankAccounts
|
|
656
656
|
*/
|
|
@@ -752,7 +752,7 @@ export class BankAccountsApi extends BaseAPI {
|
|
|
752
752
|
}
|
|
753
753
|
|
|
754
754
|
/**
|
|
755
|
-
* Retrieves the details of the bank account that was previously created. Supply the unique bank account code
|
|
755
|
+
* Retrieves the details of the bank account that was previously created. Supply the unique bank account code that was returned when you created it and Emil Api will return the corresponding bank account information.
|
|
756
756
|
* @summary Retrieve the bank account
|
|
757
757
|
* @param {BankAccountsApiGetBankAccountRequest} requestParameters Request parameters.
|
|
758
758
|
* @param {*} [options] Override http request option.
|
|
@@ -31,11 +31,11 @@ import { UnlinkBankTransactionRequestDtoRest } from '../models';
|
|
|
31
31
|
export const BankTransactionApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
32
32
|
return {
|
|
33
33
|
/**
|
|
34
|
-
* Retrieves the details of the bank transaction that was previously created. Supply the unique bank transaction code
|
|
34
|
+
* Retrieves the details of the bank transaction that was previously created. Supply the unique bank transaction code that was returned when you created it and Emil Api will return the corresponding bank transaction information.
|
|
35
35
|
* @summary Retrieve the bank transaction
|
|
36
|
-
* @param {string} code
|
|
36
|
+
* @param {string} code
|
|
37
37
|
* @param {string} [authorization] Bearer Token
|
|
38
|
-
* @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
|
|
38
|
+
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: bankAccount, transaction<i>
|
|
39
39
|
* @param {*} [options] Override http request option.
|
|
40
40
|
* @throws {RequiredError}
|
|
41
41
|
*/
|
|
@@ -192,7 +192,7 @@ export const BankTransactionApiAxiosParamCreator = function (configuration?: Con
|
|
|
192
192
|
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, bankAccountId, bankAccountNumber, swiftMessageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked</i>
|
|
193
193
|
* @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: id, createdAt, amount</i>
|
|
194
194
|
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, createdAt, amount, transactionDate, entryDate</i>
|
|
195
|
-
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: bankAccount, transaction
|
|
195
|
+
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: bankAccount, transaction<i>
|
|
196
196
|
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, bankAccountId, bankAccountNumber, swiftMessageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked</i>
|
|
197
197
|
* @param {*} [options] Override http request option.
|
|
198
198
|
* @throws {RequiredError}
|
|
@@ -321,11 +321,11 @@ export const BankTransactionApiFp = function(configuration?: Configuration) {
|
|
|
321
321
|
const localVarAxiosParamCreator = BankTransactionApiAxiosParamCreator(configuration)
|
|
322
322
|
return {
|
|
323
323
|
/**
|
|
324
|
-
* Retrieves the details of the bank transaction that was previously created. Supply the unique bank transaction code
|
|
324
|
+
* Retrieves the details of the bank transaction that was previously created. Supply the unique bank transaction code that was returned when you created it and Emil Api will return the corresponding bank transaction information.
|
|
325
325
|
* @summary Retrieve the bank transaction
|
|
326
|
-
* @param {string} code
|
|
326
|
+
* @param {string} code
|
|
327
327
|
* @param {string} [authorization] Bearer Token
|
|
328
|
-
* @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
|
|
328
|
+
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: bankAccount, transaction<i>
|
|
329
329
|
* @param {*} [options] Override http request option.
|
|
330
330
|
* @throws {RequiredError}
|
|
331
331
|
*/
|
|
@@ -367,7 +367,7 @@ export const BankTransactionApiFp = function(configuration?: Configuration) {
|
|
|
367
367
|
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, bankAccountId, bankAccountNumber, swiftMessageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked</i>
|
|
368
368
|
* @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>
|
|
369
369
|
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, createdAt, amount, transactionDate, entryDate</i>
|
|
370
|
-
* @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
|
|
370
|
+
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: bankAccount, transaction<i>
|
|
371
371
|
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, bankAccountId, bankAccountNumber, swiftMessageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked</i>
|
|
372
372
|
* @param {*} [options] Override http request option.
|
|
373
373
|
* @throws {RequiredError}
|
|
@@ -400,11 +400,11 @@ export const BankTransactionApiFactory = function (configuration?: Configuration
|
|
|
400
400
|
const localVarFp = BankTransactionApiFp(configuration)
|
|
401
401
|
return {
|
|
402
402
|
/**
|
|
403
|
-
* Retrieves the details of the bank transaction that was previously created. Supply the unique bank transaction code
|
|
403
|
+
* Retrieves the details of the bank transaction that was previously created. Supply the unique bank transaction code that was returned when you created it and Emil Api will return the corresponding bank transaction information.
|
|
404
404
|
* @summary Retrieve the bank transaction
|
|
405
|
-
* @param {string} code
|
|
405
|
+
* @param {string} code
|
|
406
406
|
* @param {string} [authorization] Bearer Token
|
|
407
|
-
* @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
|
|
407
|
+
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: bankAccount, transaction<i>
|
|
408
408
|
* @param {*} [options] Override http request option.
|
|
409
409
|
* @throws {RequiredError}
|
|
410
410
|
*/
|
|
@@ -443,7 +443,7 @@ export const BankTransactionApiFactory = function (configuration?: Configuration
|
|
|
443
443
|
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, bankAccountId, bankAccountNumber, swiftMessageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked</i>
|
|
444
444
|
* @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>
|
|
445
445
|
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, createdAt, amount, transactionDate, entryDate</i>
|
|
446
|
-
* @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
|
|
446
|
+
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: bankAccount, transaction<i>
|
|
447
447
|
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, bankAccountId, bankAccountNumber, swiftMessageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked</i>
|
|
448
448
|
* @param {*} [options] Override http request option.
|
|
449
449
|
* @throws {RequiredError}
|
|
@@ -473,7 +473,7 @@ export const BankTransactionApiFactory = function (configuration?: Configuration
|
|
|
473
473
|
*/
|
|
474
474
|
export interface BankTransactionApiGetBankTransactionRequest {
|
|
475
475
|
/**
|
|
476
|
-
*
|
|
476
|
+
*
|
|
477
477
|
* @type {string}
|
|
478
478
|
* @memberof BankTransactionApiGetBankTransaction
|
|
479
479
|
*/
|
|
@@ -487,7 +487,7 @@ export interface BankTransactionApiGetBankTransactionRequest {
|
|
|
487
487
|
readonly authorization?: string
|
|
488
488
|
|
|
489
489
|
/**
|
|
490
|
-
* 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
|
|
490
|
+
* Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: bankAccount, transaction<i>
|
|
491
491
|
* @type {string}
|
|
492
492
|
* @memberof BankTransactionApiGetBankTransaction
|
|
493
493
|
*/
|
|
@@ -592,7 +592,7 @@ export interface BankTransactionApiListBankTransactionsRequest {
|
|
|
592
592
|
readonly order?: string
|
|
593
593
|
|
|
594
594
|
/**
|
|
595
|
-
* 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
|
|
595
|
+
* Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: bankAccount, transaction<i>
|
|
596
596
|
* @type {string}
|
|
597
597
|
* @memberof BankTransactionApiListBankTransactions
|
|
598
598
|
*/
|
|
@@ -642,7 +642,7 @@ export interface BankTransactionApiUnlinkBankTransactionRequest {
|
|
|
642
642
|
*/
|
|
643
643
|
export class BankTransactionApi extends BaseAPI {
|
|
644
644
|
/**
|
|
645
|
-
* Retrieves the details of the bank transaction that was previously created. Supply the unique bank transaction code
|
|
645
|
+
* Retrieves the details of the bank transaction that was previously created. Supply the unique bank transaction code that was returned when you created it and Emil Api will return the corresponding bank transaction information.
|
|
646
646
|
* @summary Retrieve the bank transaction
|
|
647
647
|
* @param {BankTransactionApiGetBankTransactionRequest} requestParameters Request parameters.
|
|
648
648
|
* @param {*} [options] Override http request option.
|
|
@@ -74,15 +74,14 @@ export const PaymentMethodsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
74
74
|
};
|
|
75
75
|
},
|
|
76
76
|
/**
|
|
77
|
-
* Retrieves the details of the payment method that was previously created. Supply the unique payment method code
|
|
77
|
+
* Retrieves the details of the payment method that was previously created. Supply the unique payment method code that was returned when you created it and Emil Api will return the corresponding payment method information.
|
|
78
78
|
* @summary Retrieve the payment method
|
|
79
|
-
* @param {string} code
|
|
79
|
+
* @param {string} code
|
|
80
80
|
* @param {string} [authorization] Bearer Token
|
|
81
|
-
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: .<i>
|
|
82
81
|
* @param {*} [options] Override http request option.
|
|
83
82
|
* @throws {RequiredError}
|
|
84
83
|
*/
|
|
85
|
-
getPaymentMethod: async (code: string, authorization?: string,
|
|
84
|
+
getPaymentMethod: async (code: string, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
86
85
|
// verify required parameter 'code' is not null or undefined
|
|
87
86
|
assertParamExists('getPaymentMethod', 'code', code)
|
|
88
87
|
const localVarPath = `/paymentservice/v1/payment-methods/{code}`
|
|
@@ -104,10 +103,6 @@ export const PaymentMethodsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
104
103
|
// http bearer authentication required
|
|
105
104
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
106
105
|
|
|
107
|
-
if (expand !== undefined) {
|
|
108
|
-
localVarQueryParameter['expand'] = expand;
|
|
109
|
-
}
|
|
110
|
-
|
|
111
106
|
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
112
107
|
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
113
108
|
}
|
|
@@ -132,7 +127,7 @@ export const PaymentMethodsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
132
127
|
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: code, id, pspCustomerId, psp, type</i>
|
|
133
128
|
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
134
129
|
* @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>
|
|
135
|
-
* @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:
|
|
130
|
+
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: <i>
|
|
136
131
|
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: code, id, pspCustomerId, psp, type</i>
|
|
137
132
|
* @param {*} [options] Override http request option.
|
|
138
133
|
* @throws {RequiredError}
|
|
@@ -222,16 +217,15 @@ export const PaymentMethodsApiFp = function(configuration?: Configuration) {
|
|
|
222
217
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
223
218
|
},
|
|
224
219
|
/**
|
|
225
|
-
* Retrieves the details of the payment method that was previously created. Supply the unique payment method code
|
|
220
|
+
* Retrieves the details of the payment method that was previously created. Supply the unique payment method code that was returned when you created it and Emil Api will return the corresponding payment method information.
|
|
226
221
|
* @summary Retrieve the payment method
|
|
227
|
-
* @param {string} code
|
|
222
|
+
* @param {string} code
|
|
228
223
|
* @param {string} [authorization] Bearer Token
|
|
229
|
-
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: .<i>
|
|
230
224
|
* @param {*} [options] Override http request option.
|
|
231
225
|
* @throws {RequiredError}
|
|
232
226
|
*/
|
|
233
|
-
async getPaymentMethod(code: string, authorization?: string,
|
|
234
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getPaymentMethod(code, authorization,
|
|
227
|
+
async getPaymentMethod(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
228
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getPaymentMethod(code, authorization, options);
|
|
235
229
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
236
230
|
},
|
|
237
231
|
/**
|
|
@@ -243,7 +237,7 @@ export const PaymentMethodsApiFp = function(configuration?: Configuration) {
|
|
|
243
237
|
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: code, id, pspCustomerId, psp, type</i>
|
|
244
238
|
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
245
239
|
* @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>
|
|
246
|
-
* @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:
|
|
240
|
+
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: <i>
|
|
247
241
|
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: code, id, pspCustomerId, psp, type</i>
|
|
248
242
|
* @param {*} [options] Override http request option.
|
|
249
243
|
* @throws {RequiredError}
|
|
@@ -274,16 +268,15 @@ export const PaymentMethodsApiFactory = function (configuration?: Configuration,
|
|
|
274
268
|
return localVarFp.createPaymentMethod(body, authorization, options).then((request) => request(axios, basePath));
|
|
275
269
|
},
|
|
276
270
|
/**
|
|
277
|
-
* Retrieves the details of the payment method that was previously created. Supply the unique payment method code
|
|
271
|
+
* Retrieves the details of the payment method that was previously created. Supply the unique payment method code that was returned when you created it and Emil Api will return the corresponding payment method information.
|
|
278
272
|
* @summary Retrieve the payment method
|
|
279
|
-
* @param {string} code
|
|
273
|
+
* @param {string} code
|
|
280
274
|
* @param {string} [authorization] Bearer Token
|
|
281
|
-
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: .<i>
|
|
282
275
|
* @param {*} [options] Override http request option.
|
|
283
276
|
* @throws {RequiredError}
|
|
284
277
|
*/
|
|
285
|
-
getPaymentMethod(code: string, authorization?: string,
|
|
286
|
-
return localVarFp.getPaymentMethod(code, authorization,
|
|
278
|
+
getPaymentMethod(code: string, authorization?: string, options?: any): AxiosPromise<void> {
|
|
279
|
+
return localVarFp.getPaymentMethod(code, authorization, options).then((request) => request(axios, basePath));
|
|
287
280
|
},
|
|
288
281
|
/**
|
|
289
282
|
* 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.
|
|
@@ -294,7 +287,7 @@ export const PaymentMethodsApiFactory = function (configuration?: Configuration,
|
|
|
294
287
|
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: code, id, pspCustomerId, psp, type</i>
|
|
295
288
|
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
296
289
|
* @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>
|
|
297
|
-
* @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:
|
|
290
|
+
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: <i>
|
|
298
291
|
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: code, id, pspCustomerId, psp, type</i>
|
|
299
292
|
* @param {*} [options] Override http request option.
|
|
300
293
|
* @throws {RequiredError}
|
|
@@ -333,7 +326,7 @@ export interface PaymentMethodsApiCreatePaymentMethodRequest {
|
|
|
333
326
|
*/
|
|
334
327
|
export interface PaymentMethodsApiGetPaymentMethodRequest {
|
|
335
328
|
/**
|
|
336
|
-
*
|
|
329
|
+
*
|
|
337
330
|
* @type {string}
|
|
338
331
|
* @memberof PaymentMethodsApiGetPaymentMethod
|
|
339
332
|
*/
|
|
@@ -345,13 +338,6 @@ export interface PaymentMethodsApiGetPaymentMethodRequest {
|
|
|
345
338
|
* @memberof PaymentMethodsApiGetPaymentMethod
|
|
346
339
|
*/
|
|
347
340
|
readonly authorization?: string
|
|
348
|
-
|
|
349
|
-
/**
|
|
350
|
-
* Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: .<i>
|
|
351
|
-
* @type {string}
|
|
352
|
-
* @memberof PaymentMethodsApiGetPaymentMethod
|
|
353
|
-
*/
|
|
354
|
-
readonly expand?: string
|
|
355
341
|
}
|
|
356
342
|
|
|
357
343
|
/**
|
|
@@ -403,7 +389,7 @@ export interface PaymentMethodsApiListPaymentMethodsRequest {
|
|
|
403
389
|
readonly order?: string
|
|
404
390
|
|
|
405
391
|
/**
|
|
406
|
-
* 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:
|
|
392
|
+
* Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: <i>
|
|
407
393
|
* @type {string}
|
|
408
394
|
* @memberof PaymentMethodsApiListPaymentMethods
|
|
409
395
|
*/
|
|
@@ -437,7 +423,7 @@ export class PaymentMethodsApi extends BaseAPI {
|
|
|
437
423
|
}
|
|
438
424
|
|
|
439
425
|
/**
|
|
440
|
-
* Retrieves the details of the payment method that was previously created. Supply the unique payment method code
|
|
426
|
+
* Retrieves the details of the payment method that was previously created. Supply the unique payment method code that was returned when you created it and Emil Api will return the corresponding payment method information.
|
|
441
427
|
* @summary Retrieve the payment method
|
|
442
428
|
* @param {PaymentMethodsApiGetPaymentMethodRequest} requestParameters Request parameters.
|
|
443
429
|
* @param {*} [options] Override http request option.
|
|
@@ -445,7 +431,7 @@ export class PaymentMethodsApi extends BaseAPI {
|
|
|
445
431
|
* @memberof PaymentMethodsApi
|
|
446
432
|
*/
|
|
447
433
|
public getPaymentMethod(requestParameters: PaymentMethodsApiGetPaymentMethodRequest, options?: AxiosRequestConfig) {
|
|
448
|
-
return PaymentMethodsApiFp(this.configuration).getPaymentMethod(requestParameters.code, requestParameters.authorization,
|
|
434
|
+
return PaymentMethodsApiFp(this.configuration).getPaymentMethod(requestParameters.code, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
449
435
|
}
|
|
450
436
|
|
|
451
437
|
/**
|
|
@@ -129,15 +129,14 @@ export const PaymentRemindersApiAxiosParamCreator = function (configuration?: Co
|
|
|
129
129
|
};
|
|
130
130
|
},
|
|
131
131
|
/**
|
|
132
|
-
* Retrieves the details of the payment reminder that was previously created. Supply the unique payment reminder code
|
|
132
|
+
* Retrieves the details of the payment reminder that was previously created. Supply the unique payment reminder code that was returned when you created it and Emil Api will return the corresponding payment reminder information.
|
|
133
133
|
* @summary Retrieve the payment reminder
|
|
134
|
-
* @param {string} code
|
|
134
|
+
* @param {string} code
|
|
135
135
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
136
|
-
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: .<i>
|
|
137
136
|
* @param {*} [options] Override http request option.
|
|
138
137
|
* @throws {RequiredError}
|
|
139
138
|
*/
|
|
140
|
-
getPolicy: async (code: string, authorization?: string,
|
|
139
|
+
getPolicy: async (code: string, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
141
140
|
// verify required parameter 'code' is not null or undefined
|
|
142
141
|
assertParamExists('getPolicy', 'code', code)
|
|
143
142
|
const localVarPath = `/paymentservice/v1/payment-reminders/{code}`
|
|
@@ -159,10 +158,6 @@ export const PaymentRemindersApiAxiosParamCreator = function (configuration?: Co
|
|
|
159
158
|
// http bearer authentication required
|
|
160
159
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
161
160
|
|
|
162
|
-
if (expand !== undefined) {
|
|
163
|
-
localVarQueryParameter['expand'] = expand;
|
|
164
|
-
}
|
|
165
|
-
|
|
166
161
|
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
167
162
|
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
168
163
|
}
|
|
@@ -187,7 +182,7 @@ export const PaymentRemindersApiAxiosParamCreator = function (configuration?: Co
|
|
|
187
182
|
* @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, policyCode, nextReminderDate</i>
|
|
188
183
|
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
189
184
|
* @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, updatedAt</i>
|
|
190
|
-
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values:
|
|
185
|
+
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: <i>
|
|
191
186
|
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: code, id, policyCode, nextReminderDate</i>
|
|
192
187
|
* @param {*} [options] Override http request option.
|
|
193
188
|
* @throws {RequiredError}
|
|
@@ -290,16 +285,15 @@ export const PaymentRemindersApiFp = function(configuration?: Configuration) {
|
|
|
290
285
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
291
286
|
},
|
|
292
287
|
/**
|
|
293
|
-
* Retrieves the details of the payment reminder that was previously created. Supply the unique payment reminder code
|
|
288
|
+
* Retrieves the details of the payment reminder that was previously created. Supply the unique payment reminder code that was returned when you created it and Emil Api will return the corresponding payment reminder information.
|
|
294
289
|
* @summary Retrieve the payment reminder
|
|
295
|
-
* @param {string} code
|
|
290
|
+
* @param {string} code
|
|
296
291
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
297
|
-
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: .<i>
|
|
298
292
|
* @param {*} [options] Override http request option.
|
|
299
293
|
* @throws {RequiredError}
|
|
300
294
|
*/
|
|
301
|
-
async getPolicy(code: string, authorization?: string,
|
|
302
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getPolicy(code, authorization,
|
|
295
|
+
async getPolicy(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
296
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getPolicy(code, authorization, options);
|
|
303
297
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
304
298
|
},
|
|
305
299
|
/**
|
|
@@ -311,7 +305,7 @@ export const PaymentRemindersApiFp = function(configuration?: Configuration) {
|
|
|
311
305
|
* @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, policyCode, nextReminderDate</i>
|
|
312
306
|
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
313
307
|
* @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, updatedAt</i>
|
|
314
|
-
* @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:
|
|
308
|
+
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: <i>
|
|
315
309
|
* @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, policyCode, nextReminderDate</i>
|
|
316
310
|
* @param {*} [options] Override http request option.
|
|
317
311
|
* @throws {RequiredError}
|
|
@@ -354,16 +348,15 @@ export const PaymentRemindersApiFactory = function (configuration?: Configuratio
|
|
|
354
348
|
return localVarFp.deactivatePaymentReminder(code, deactivatePaymentReminderRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
355
349
|
},
|
|
356
350
|
/**
|
|
357
|
-
* Retrieves the details of the payment reminder that was previously created. Supply the unique payment reminder code
|
|
351
|
+
* Retrieves the details of the payment reminder that was previously created. Supply the unique payment reminder code that was returned when you created it and Emil Api will return the corresponding payment reminder information.
|
|
358
352
|
* @summary Retrieve the payment reminder
|
|
359
|
-
* @param {string} code
|
|
353
|
+
* @param {string} code
|
|
360
354
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
361
|
-
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: .<i>
|
|
362
355
|
* @param {*} [options] Override http request option.
|
|
363
356
|
* @throws {RequiredError}
|
|
364
357
|
*/
|
|
365
|
-
getPolicy(code: string, authorization?: string,
|
|
366
|
-
return localVarFp.getPolicy(code, authorization,
|
|
358
|
+
getPolicy(code: string, authorization?: string, options?: any): AxiosPromise<void> {
|
|
359
|
+
return localVarFp.getPolicy(code, authorization, options).then((request) => request(axios, basePath));
|
|
367
360
|
},
|
|
368
361
|
/**
|
|
369
362
|
* Returns a list of payment reminders you have previously created. The payment reminders are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
@@ -374,7 +367,7 @@ export const PaymentRemindersApiFactory = function (configuration?: Configuratio
|
|
|
374
367
|
* @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, policyCode, nextReminderDate</i>
|
|
375
368
|
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
376
369
|
* @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, updatedAt</i>
|
|
377
|
-
* @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:
|
|
370
|
+
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: <i>
|
|
378
371
|
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: code, id, policyCode, nextReminderDate</i>
|
|
379
372
|
* @param {*} [options] Override http request option.
|
|
380
373
|
* @throws {RequiredError}
|
|
@@ -441,7 +434,7 @@ export interface PaymentRemindersApiDeactivatePaymentReminderRequest {
|
|
|
441
434
|
*/
|
|
442
435
|
export interface PaymentRemindersApiGetPolicyRequest {
|
|
443
436
|
/**
|
|
444
|
-
*
|
|
437
|
+
*
|
|
445
438
|
* @type {string}
|
|
446
439
|
* @memberof PaymentRemindersApiGetPolicy
|
|
447
440
|
*/
|
|
@@ -453,13 +446,6 @@ export interface PaymentRemindersApiGetPolicyRequest {
|
|
|
453
446
|
* @memberof PaymentRemindersApiGetPolicy
|
|
454
447
|
*/
|
|
455
448
|
readonly authorization?: string
|
|
456
|
-
|
|
457
|
-
/**
|
|
458
|
-
* Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: .<i>
|
|
459
|
-
* @type {string}
|
|
460
|
-
* @memberof PaymentRemindersApiGetPolicy
|
|
461
|
-
*/
|
|
462
|
-
readonly expand?: string
|
|
463
449
|
}
|
|
464
450
|
|
|
465
451
|
/**
|
|
@@ -511,7 +497,7 @@ export interface PaymentRemindersApiListPaymentRemindersRequest {
|
|
|
511
497
|
readonly order?: string
|
|
512
498
|
|
|
513
499
|
/**
|
|
514
|
-
* 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:
|
|
500
|
+
* Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: <i>
|
|
515
501
|
* @type {string}
|
|
516
502
|
* @memberof PaymentRemindersApiListPaymentReminders
|
|
517
503
|
*/
|
|
@@ -557,7 +543,7 @@ export class PaymentRemindersApi extends BaseAPI {
|
|
|
557
543
|
}
|
|
558
544
|
|
|
559
545
|
/**
|
|
560
|
-
* Retrieves the details of the payment reminder that was previously created. Supply the unique payment reminder code
|
|
546
|
+
* Retrieves the details of the payment reminder that was previously created. Supply the unique payment reminder code that was returned when you created it and Emil Api will return the corresponding payment reminder information.
|
|
561
547
|
* @summary Retrieve the payment reminder
|
|
562
548
|
* @param {PaymentRemindersApiGetPolicyRequest} requestParameters Request parameters.
|
|
563
549
|
* @param {*} [options] Override http request option.
|
|
@@ -565,7 +551,7 @@ export class PaymentRemindersApi extends BaseAPI {
|
|
|
565
551
|
* @memberof PaymentRemindersApi
|
|
566
552
|
*/
|
|
567
553
|
public getPolicy(requestParameters: PaymentRemindersApiGetPolicyRequest, options?: AxiosRequestConfig) {
|
|
568
|
-
return PaymentRemindersApiFp(this.configuration).getPolicy(requestParameters.code, requestParameters.authorization,
|
|
554
|
+
return PaymentRemindersApiFp(this.configuration).getPolicy(requestParameters.code, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
569
555
|
}
|
|
570
556
|
|
|
571
557
|
/**
|