@emilgroup/payment-sdk-node 1.13.1-beta.34 → 1.13.1-beta.36
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-node@1.13.1-beta.
|
|
20
|
+
npm install @emilgroup/payment-sdk-node@1.13.1-beta.36 --save
|
|
21
21
|
```
|
|
22
22
|
or
|
|
23
23
|
```
|
|
24
|
-
yarn add @emilgroup/payment-sdk-node@1.13.1-beta.
|
|
24
|
+
yarn add @emilgroup/payment-sdk-node@1.13.1-beta.36
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
And then you can import `PaymentsApi`.
|
package/api/bank-accounts-api.ts
CHANGED
|
@@ -129,11 +129,11 @@ export const BankAccountsApiAxiosParamCreator = function (configuration?: Config
|
|
|
129
129
|
};
|
|
130
130
|
},
|
|
131
131
|
/**
|
|
132
|
-
* Retrieves the details of the bank account that was previously created. Supply the unique bank account code
|
|
132
|
+
* 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.
|
|
133
133
|
* @summary Retrieve the bank account
|
|
134
|
-
* @param {string} code
|
|
134
|
+
* @param {string} code
|
|
135
135
|
* @param {string} [authorization] Bearer Token
|
|
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: primaryBankAccount
|
|
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: primaryBankAccount<i>
|
|
137
137
|
* @param {*} [options] Override http request option.
|
|
138
138
|
* @throws {RequiredError}
|
|
139
139
|
*/
|
|
@@ -187,7 +187,7 @@ export const BankAccountsApiAxiosParamCreator = function (configuration?: Config
|
|
|
187
187
|
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: code, id, accountCode, partnerCode</i>
|
|
188
188
|
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
189
189
|
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, createdAt</i>
|
|
190
|
-
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: primaryBankAccount
|
|
190
|
+
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: primaryBankAccount<i>
|
|
191
191
|
* @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>
|
|
192
192
|
* @param {*} [options] Override http request option.
|
|
193
193
|
* @throws {RequiredError}
|
|
@@ -391,11 +391,11 @@ export const BankAccountsApiFp = function(configuration?: Configuration) {
|
|
|
391
391
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
392
392
|
},
|
|
393
393
|
/**
|
|
394
|
-
* Retrieves the details of the bank account that was previously created. Supply the unique bank account code
|
|
394
|
+
* 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.
|
|
395
395
|
* @summary Retrieve the bank account
|
|
396
|
-
* @param {string} code
|
|
396
|
+
* @param {string} code
|
|
397
397
|
* @param {string} [authorization] Bearer Token
|
|
398
|
-
* @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
|
|
398
|
+
* @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>
|
|
399
399
|
* @param {*} [options] Override http request option.
|
|
400
400
|
* @throws {RequiredError}
|
|
401
401
|
*/
|
|
@@ -412,7 +412,7 @@ export const BankAccountsApiFp = function(configuration?: Configuration) {
|
|
|
412
412
|
* @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>
|
|
413
413
|
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
414
414
|
* @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>
|
|
415
|
-
* @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
|
|
415
|
+
* @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>
|
|
416
416
|
* @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>
|
|
417
417
|
* @param {*} [options] Override http request option.
|
|
418
418
|
* @throws {RequiredError}
|
|
@@ -480,11 +480,11 @@ export const BankAccountsApiFactory = function (configuration?: Configuration, b
|
|
|
480
480
|
return localVarFp.deleteBankAccount(code, authorization, options).then((request) => request(axios, basePath));
|
|
481
481
|
},
|
|
482
482
|
/**
|
|
483
|
-
* Retrieves the details of the bank account that was previously created. Supply the unique bank account code
|
|
483
|
+
* 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.
|
|
484
484
|
* @summary Retrieve the bank account
|
|
485
|
-
* @param {string} code
|
|
485
|
+
* @param {string} code
|
|
486
486
|
* @param {string} [authorization] Bearer Token
|
|
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: primaryBankAccount
|
|
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: primaryBankAccount<i>
|
|
488
488
|
* @param {*} [options] Override http request option.
|
|
489
489
|
* @throws {RequiredError}
|
|
490
490
|
*/
|
|
@@ -500,7 +500,7 @@ export const BankAccountsApiFactory = function (configuration?: Configuration, b
|
|
|
500
500
|
* @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>
|
|
501
501
|
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
502
502
|
* @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>
|
|
503
|
-
* @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
|
|
503
|
+
* @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>
|
|
504
504
|
* @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>
|
|
505
505
|
* @param {*} [options] Override http request option.
|
|
506
506
|
* @throws {RequiredError}
|
|
@@ -584,7 +584,7 @@ export interface BankAccountsApiDeleteBankAccountRequest {
|
|
|
584
584
|
*/
|
|
585
585
|
export interface BankAccountsApiGetBankAccountRequest {
|
|
586
586
|
/**
|
|
587
|
-
*
|
|
587
|
+
*
|
|
588
588
|
* @type {string}
|
|
589
589
|
* @memberof BankAccountsApiGetBankAccount
|
|
590
590
|
*/
|
|
@@ -598,7 +598,7 @@ export interface BankAccountsApiGetBankAccountRequest {
|
|
|
598
598
|
readonly authorization?: string
|
|
599
599
|
|
|
600
600
|
/**
|
|
601
|
-
* 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
|
|
601
|
+
* 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>
|
|
602
602
|
* @type {string}
|
|
603
603
|
* @memberof BankAccountsApiGetBankAccount
|
|
604
604
|
*/
|
|
@@ -654,7 +654,7 @@ export interface BankAccountsApiListBankAccountsRequest {
|
|
|
654
654
|
readonly order?: string
|
|
655
655
|
|
|
656
656
|
/**
|
|
657
|
-
* 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
|
|
657
|
+
* 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>
|
|
658
658
|
* @type {string}
|
|
659
659
|
* @memberof BankAccountsApiListBankAccounts
|
|
660
660
|
*/
|
|
@@ -756,7 +756,7 @@ export class BankAccountsApi extends BaseAPI {
|
|
|
756
756
|
}
|
|
757
757
|
|
|
758
758
|
/**
|
|
759
|
-
* Retrieves the details of the bank account that was previously created. Supply the unique bank account code
|
|
759
|
+
* 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.
|
|
760
760
|
* @summary Retrieve the bank account
|
|
761
761
|
* @param {BankAccountsApiGetBankAccountRequest} requestParameters Request parameters.
|
|
762
762
|
* @param {*} [options] Override http request option.
|
|
@@ -35,11 +35,11 @@ const FormData = require('form-data');
|
|
|
35
35
|
export const BankTransactionApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
36
36
|
return {
|
|
37
37
|
/**
|
|
38
|
-
* Retrieves the details of the bank transaction that was previously created. Supply the unique bank transaction code
|
|
38
|
+
* 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.
|
|
39
39
|
* @summary Retrieve the bank transaction
|
|
40
|
-
* @param {string} code
|
|
40
|
+
* @param {string} code
|
|
41
41
|
* @param {string} [authorization] Bearer Token
|
|
42
|
-
* @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
|
|
42
|
+
* @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>
|
|
43
43
|
* @param {*} [options] Override http request option.
|
|
44
44
|
* @throws {RequiredError}
|
|
45
45
|
*/
|
|
@@ -197,7 +197,7 @@ export const BankTransactionApiAxiosParamCreator = function (configuration?: Con
|
|
|
197
197
|
* @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>
|
|
198
198
|
* @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>
|
|
199
199
|
* @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>
|
|
200
|
-
* @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
|
|
200
|
+
* @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>
|
|
201
201
|
* @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>
|
|
202
202
|
* @param {*} [options] Override http request option.
|
|
203
203
|
* @throws {RequiredError}
|
|
@@ -326,11 +326,11 @@ export const BankTransactionApiFp = function(configuration?: Configuration) {
|
|
|
326
326
|
const localVarAxiosParamCreator = BankTransactionApiAxiosParamCreator(configuration)
|
|
327
327
|
return {
|
|
328
328
|
/**
|
|
329
|
-
* Retrieves the details of the bank transaction that was previously created. Supply the unique bank transaction code
|
|
329
|
+
* 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.
|
|
330
330
|
* @summary Retrieve the bank transaction
|
|
331
|
-
* @param {string} code
|
|
331
|
+
* @param {string} code
|
|
332
332
|
* @param {string} [authorization] Bearer Token
|
|
333
|
-
* @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
|
|
333
|
+
* @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>
|
|
334
334
|
* @param {*} [options] Override http request option.
|
|
335
335
|
* @throws {RequiredError}
|
|
336
336
|
*/
|
|
@@ -372,7 +372,7 @@ export const BankTransactionApiFp = function(configuration?: Configuration) {
|
|
|
372
372
|
* @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>
|
|
373
373
|
* @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>
|
|
374
374
|
* @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>
|
|
375
|
-
* @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
|
|
375
|
+
* @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>
|
|
376
376
|
* @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>
|
|
377
377
|
* @param {*} [options] Override http request option.
|
|
378
378
|
* @throws {RequiredError}
|
|
@@ -405,11 +405,11 @@ export const BankTransactionApiFactory = function (configuration?: Configuration
|
|
|
405
405
|
const localVarFp = BankTransactionApiFp(configuration)
|
|
406
406
|
return {
|
|
407
407
|
/**
|
|
408
|
-
* Retrieves the details of the bank transaction that was previously created. Supply the unique bank transaction code
|
|
408
|
+
* 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.
|
|
409
409
|
* @summary Retrieve the bank transaction
|
|
410
|
-
* @param {string} code
|
|
410
|
+
* @param {string} code
|
|
411
411
|
* @param {string} [authorization] Bearer Token
|
|
412
|
-
* @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
|
|
412
|
+
* @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>
|
|
413
413
|
* @param {*} [options] Override http request option.
|
|
414
414
|
* @throws {RequiredError}
|
|
415
415
|
*/
|
|
@@ -448,7 +448,7 @@ export const BankTransactionApiFactory = function (configuration?: Configuration
|
|
|
448
448
|
* @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>
|
|
449
449
|
* @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>
|
|
450
450
|
* @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>
|
|
451
|
-
* @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
|
|
451
|
+
* @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>
|
|
452
452
|
* @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>
|
|
453
453
|
* @param {*} [options] Override http request option.
|
|
454
454
|
* @throws {RequiredError}
|
|
@@ -478,7 +478,7 @@ export const BankTransactionApiFactory = function (configuration?: Configuration
|
|
|
478
478
|
*/
|
|
479
479
|
export interface BankTransactionApiGetBankTransactionRequest {
|
|
480
480
|
/**
|
|
481
|
-
*
|
|
481
|
+
*
|
|
482
482
|
* @type {string}
|
|
483
483
|
* @memberof BankTransactionApiGetBankTransaction
|
|
484
484
|
*/
|
|
@@ -492,7 +492,7 @@ export interface BankTransactionApiGetBankTransactionRequest {
|
|
|
492
492
|
readonly authorization?: string
|
|
493
493
|
|
|
494
494
|
/**
|
|
495
|
-
* 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
|
|
495
|
+
* 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>
|
|
496
496
|
* @type {string}
|
|
497
497
|
* @memberof BankTransactionApiGetBankTransaction
|
|
498
498
|
*/
|
|
@@ -597,7 +597,7 @@ export interface BankTransactionApiListBankTransactionsRequest {
|
|
|
597
597
|
readonly order?: string
|
|
598
598
|
|
|
599
599
|
/**
|
|
600
|
-
* 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
|
|
600
|
+
* 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>
|
|
601
601
|
* @type {string}
|
|
602
602
|
* @memberof BankTransactionApiListBankTransactions
|
|
603
603
|
*/
|
|
@@ -647,7 +647,7 @@ export interface BankTransactionApiUnlinkBankTransactionRequest {
|
|
|
647
647
|
*/
|
|
648
648
|
export class BankTransactionApi extends BaseAPI {
|
|
649
649
|
/**
|
|
650
|
-
* Retrieves the details of the bank transaction that was previously created. Supply the unique bank transaction code
|
|
650
|
+
* 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.
|
|
651
651
|
* @summary Retrieve the bank transaction
|
|
652
652
|
* @param {BankTransactionApiGetBankTransactionRequest} requestParameters Request parameters.
|
|
653
653
|
* @param {*} [options] Override http request option.
|
|
@@ -78,15 +78,14 @@ export const PaymentMethodsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
78
78
|
};
|
|
79
79
|
},
|
|
80
80
|
/**
|
|
81
|
-
* Retrieves the details of the payment method that was previously created. Supply the unique payment method code
|
|
81
|
+
* 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.
|
|
82
82
|
* @summary Retrieve the payment method
|
|
83
|
-
* @param {string} code
|
|
83
|
+
* @param {string} code
|
|
84
84
|
* @param {string} [authorization] Bearer Token
|
|
85
|
-
* @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>
|
|
86
85
|
* @param {*} [options] Override http request option.
|
|
87
86
|
* @throws {RequiredError}
|
|
88
87
|
*/
|
|
89
|
-
getPaymentMethod: async (code: string, authorization?: string,
|
|
88
|
+
getPaymentMethod: async (code: string, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
90
89
|
// verify required parameter 'code' is not null or undefined
|
|
91
90
|
assertParamExists('getPaymentMethod', 'code', code)
|
|
92
91
|
const localVarPath = `/paymentservice/v1/payment-methods/{code}`
|
|
@@ -108,10 +107,6 @@ export const PaymentMethodsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
108
107
|
// http bearer authentication required
|
|
109
108
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
110
109
|
|
|
111
|
-
if (expand !== undefined) {
|
|
112
|
-
localVarQueryParameter['expand'] = expand;
|
|
113
|
-
}
|
|
114
|
-
|
|
115
110
|
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
116
111
|
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
117
112
|
}
|
|
@@ -136,7 +131,7 @@ export const PaymentMethodsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
136
131
|
* @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>
|
|
137
132
|
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
138
133
|
* @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>
|
|
139
|
-
* @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:
|
|
134
|
+
* @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>
|
|
140
135
|
* @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>
|
|
141
136
|
* @param {*} [options] Override http request option.
|
|
142
137
|
* @throws {RequiredError}
|
|
@@ -226,16 +221,15 @@ export const PaymentMethodsApiFp = function(configuration?: Configuration) {
|
|
|
226
221
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
227
222
|
},
|
|
228
223
|
/**
|
|
229
|
-
* Retrieves the details of the payment method that was previously created. Supply the unique payment method code
|
|
224
|
+
* 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.
|
|
230
225
|
* @summary Retrieve the payment method
|
|
231
|
-
* @param {string} code
|
|
226
|
+
* @param {string} code
|
|
232
227
|
* @param {string} [authorization] Bearer Token
|
|
233
|
-
* @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>
|
|
234
228
|
* @param {*} [options] Override http request option.
|
|
235
229
|
* @throws {RequiredError}
|
|
236
230
|
*/
|
|
237
|
-
async getPaymentMethod(code: string, authorization?: string,
|
|
238
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getPaymentMethod(code, authorization,
|
|
231
|
+
async getPaymentMethod(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
232
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getPaymentMethod(code, authorization, options);
|
|
239
233
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
240
234
|
},
|
|
241
235
|
/**
|
|
@@ -247,7 +241,7 @@ export const PaymentMethodsApiFp = function(configuration?: Configuration) {
|
|
|
247
241
|
* @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>
|
|
248
242
|
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
249
243
|
* @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>
|
|
250
|
-
* @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:
|
|
244
|
+
* @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>
|
|
251
245
|
* @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>
|
|
252
246
|
* @param {*} [options] Override http request option.
|
|
253
247
|
* @throws {RequiredError}
|
|
@@ -278,16 +272,15 @@ export const PaymentMethodsApiFactory = function (configuration?: Configuration,
|
|
|
278
272
|
return localVarFp.createPaymentMethod(body, authorization, options).then((request) => request(axios, basePath));
|
|
279
273
|
},
|
|
280
274
|
/**
|
|
281
|
-
* Retrieves the details of the payment method that was previously created. Supply the unique payment method code
|
|
275
|
+
* 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.
|
|
282
276
|
* @summary Retrieve the payment method
|
|
283
|
-
* @param {string} code
|
|
277
|
+
* @param {string} code
|
|
284
278
|
* @param {string} [authorization] Bearer Token
|
|
285
|
-
* @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>
|
|
286
279
|
* @param {*} [options] Override http request option.
|
|
287
280
|
* @throws {RequiredError}
|
|
288
281
|
*/
|
|
289
|
-
getPaymentMethod(code: string, authorization?: string,
|
|
290
|
-
return localVarFp.getPaymentMethod(code, authorization,
|
|
282
|
+
getPaymentMethod(code: string, authorization?: string, options?: any): AxiosPromise<void> {
|
|
283
|
+
return localVarFp.getPaymentMethod(code, authorization, options).then((request) => request(axios, basePath));
|
|
291
284
|
},
|
|
292
285
|
/**
|
|
293
286
|
* 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.
|
|
@@ -298,7 +291,7 @@ export const PaymentMethodsApiFactory = function (configuration?: Configuration,
|
|
|
298
291
|
* @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>
|
|
299
292
|
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
300
293
|
* @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>
|
|
301
|
-
* @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:
|
|
294
|
+
* @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>
|
|
302
295
|
* @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>
|
|
303
296
|
* @param {*} [options] Override http request option.
|
|
304
297
|
* @throws {RequiredError}
|
|
@@ -337,7 +330,7 @@ export interface PaymentMethodsApiCreatePaymentMethodRequest {
|
|
|
337
330
|
*/
|
|
338
331
|
export interface PaymentMethodsApiGetPaymentMethodRequest {
|
|
339
332
|
/**
|
|
340
|
-
*
|
|
333
|
+
*
|
|
341
334
|
* @type {string}
|
|
342
335
|
* @memberof PaymentMethodsApiGetPaymentMethod
|
|
343
336
|
*/
|
|
@@ -349,13 +342,6 @@ export interface PaymentMethodsApiGetPaymentMethodRequest {
|
|
|
349
342
|
* @memberof PaymentMethodsApiGetPaymentMethod
|
|
350
343
|
*/
|
|
351
344
|
readonly authorization?: string
|
|
352
|
-
|
|
353
|
-
/**
|
|
354
|
-
* 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>
|
|
355
|
-
* @type {string}
|
|
356
|
-
* @memberof PaymentMethodsApiGetPaymentMethod
|
|
357
|
-
*/
|
|
358
|
-
readonly expand?: string
|
|
359
345
|
}
|
|
360
346
|
|
|
361
347
|
/**
|
|
@@ -407,7 +393,7 @@ export interface PaymentMethodsApiListPaymentMethodsRequest {
|
|
|
407
393
|
readonly order?: string
|
|
408
394
|
|
|
409
395
|
/**
|
|
410
|
-
* 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:
|
|
396
|
+
* 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>
|
|
411
397
|
* @type {string}
|
|
412
398
|
* @memberof PaymentMethodsApiListPaymentMethods
|
|
413
399
|
*/
|
|
@@ -441,7 +427,7 @@ export class PaymentMethodsApi extends BaseAPI {
|
|
|
441
427
|
}
|
|
442
428
|
|
|
443
429
|
/**
|
|
444
|
-
* Retrieves the details of the payment method that was previously created. Supply the unique payment method code
|
|
430
|
+
* 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.
|
|
445
431
|
* @summary Retrieve the payment method
|
|
446
432
|
* @param {PaymentMethodsApiGetPaymentMethodRequest} requestParameters Request parameters.
|
|
447
433
|
* @param {*} [options] Override http request option.
|
|
@@ -449,7 +435,7 @@ export class PaymentMethodsApi extends BaseAPI {
|
|
|
449
435
|
* @memberof PaymentMethodsApi
|
|
450
436
|
*/
|
|
451
437
|
public getPaymentMethod(requestParameters: PaymentMethodsApiGetPaymentMethodRequest, options?: AxiosRequestConfig) {
|
|
452
|
-
return PaymentMethodsApiFp(this.configuration).getPaymentMethod(requestParameters.code, requestParameters.authorization,
|
|
438
|
+
return PaymentMethodsApiFp(this.configuration).getPaymentMethod(requestParameters.code, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
453
439
|
}
|
|
454
440
|
|
|
455
441
|
/**
|
|
@@ -133,15 +133,14 @@ export const PaymentRemindersApiAxiosParamCreator = function (configuration?: Co
|
|
|
133
133
|
};
|
|
134
134
|
},
|
|
135
135
|
/**
|
|
136
|
-
* Retrieves the details of the payment reminder that was previously created. Supply the unique payment reminder code
|
|
136
|
+
* 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.
|
|
137
137
|
* @summary Retrieve the payment reminder
|
|
138
|
-
* @param {string} code
|
|
138
|
+
* @param {string} code
|
|
139
139
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
140
|
-
* @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>
|
|
141
140
|
* @param {*} [options] Override http request option.
|
|
142
141
|
* @throws {RequiredError}
|
|
143
142
|
*/
|
|
144
|
-
getPolicy: async (code: string, authorization?: string,
|
|
143
|
+
getPolicy: async (code: string, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
145
144
|
// verify required parameter 'code' is not null or undefined
|
|
146
145
|
assertParamExists('getPolicy', 'code', code)
|
|
147
146
|
const localVarPath = `/paymentservice/v1/payment-reminders/{code}`
|
|
@@ -163,10 +162,6 @@ export const PaymentRemindersApiAxiosParamCreator = function (configuration?: Co
|
|
|
163
162
|
// http bearer authentication required
|
|
164
163
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
165
164
|
|
|
166
|
-
if (expand !== undefined) {
|
|
167
|
-
localVarQueryParameter['expand'] = expand;
|
|
168
|
-
}
|
|
169
|
-
|
|
170
165
|
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
171
166
|
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
172
167
|
}
|
|
@@ -191,7 +186,7 @@ export const PaymentRemindersApiAxiosParamCreator = function (configuration?: Co
|
|
|
191
186
|
* @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>
|
|
192
187
|
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
193
188
|
* @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>
|
|
194
|
-
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values:
|
|
189
|
+
* @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>
|
|
195
190
|
* @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>
|
|
196
191
|
* @param {*} [options] Override http request option.
|
|
197
192
|
* @throws {RequiredError}
|
|
@@ -294,16 +289,15 @@ export const PaymentRemindersApiFp = function(configuration?: Configuration) {
|
|
|
294
289
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
295
290
|
},
|
|
296
291
|
/**
|
|
297
|
-
* Retrieves the details of the payment reminder that was previously created. Supply the unique payment reminder code
|
|
292
|
+
* 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.
|
|
298
293
|
* @summary Retrieve the payment reminder
|
|
299
|
-
* @param {string} code
|
|
294
|
+
* @param {string} code
|
|
300
295
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
301
|
-
* @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>
|
|
302
296
|
* @param {*} [options] Override http request option.
|
|
303
297
|
* @throws {RequiredError}
|
|
304
298
|
*/
|
|
305
|
-
async getPolicy(code: string, authorization?: string,
|
|
306
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getPolicy(code, authorization,
|
|
299
|
+
async getPolicy(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
300
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getPolicy(code, authorization, options);
|
|
307
301
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
308
302
|
},
|
|
309
303
|
/**
|
|
@@ -315,7 +309,7 @@ export const PaymentRemindersApiFp = function(configuration?: Configuration) {
|
|
|
315
309
|
* @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>
|
|
316
310
|
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
317
311
|
* @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>
|
|
318
|
-
* @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:
|
|
312
|
+
* @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>
|
|
319
313
|
* @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>
|
|
320
314
|
* @param {*} [options] Override http request option.
|
|
321
315
|
* @throws {RequiredError}
|
|
@@ -358,16 +352,15 @@ export const PaymentRemindersApiFactory = function (configuration?: Configuratio
|
|
|
358
352
|
return localVarFp.deactivatePaymentReminder(code, deactivatePaymentReminderRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
359
353
|
},
|
|
360
354
|
/**
|
|
361
|
-
* Retrieves the details of the payment reminder that was previously created. Supply the unique payment reminder code
|
|
355
|
+
* 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.
|
|
362
356
|
* @summary Retrieve the payment reminder
|
|
363
|
-
* @param {string} code
|
|
357
|
+
* @param {string} code
|
|
364
358
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
365
|
-
* @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>
|
|
366
359
|
* @param {*} [options] Override http request option.
|
|
367
360
|
* @throws {RequiredError}
|
|
368
361
|
*/
|
|
369
|
-
getPolicy(code: string, authorization?: string,
|
|
370
|
-
return localVarFp.getPolicy(code, authorization,
|
|
362
|
+
getPolicy(code: string, authorization?: string, options?: any): AxiosPromise<void> {
|
|
363
|
+
return localVarFp.getPolicy(code, authorization, options).then((request) => request(axios, basePath));
|
|
371
364
|
},
|
|
372
365
|
/**
|
|
373
366
|
* 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.
|
|
@@ -378,7 +371,7 @@ export const PaymentRemindersApiFactory = function (configuration?: Configuratio
|
|
|
378
371
|
* @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>
|
|
379
372
|
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
380
373
|
* @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>
|
|
381
|
-
* @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:
|
|
374
|
+
* @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>
|
|
382
375
|
* @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>
|
|
383
376
|
* @param {*} [options] Override http request option.
|
|
384
377
|
* @throws {RequiredError}
|
|
@@ -445,7 +438,7 @@ export interface PaymentRemindersApiDeactivatePaymentReminderRequest {
|
|
|
445
438
|
*/
|
|
446
439
|
export interface PaymentRemindersApiGetPolicyRequest {
|
|
447
440
|
/**
|
|
448
|
-
*
|
|
441
|
+
*
|
|
449
442
|
* @type {string}
|
|
450
443
|
* @memberof PaymentRemindersApiGetPolicy
|
|
451
444
|
*/
|
|
@@ -457,13 +450,6 @@ export interface PaymentRemindersApiGetPolicyRequest {
|
|
|
457
450
|
* @memberof PaymentRemindersApiGetPolicy
|
|
458
451
|
*/
|
|
459
452
|
readonly authorization?: string
|
|
460
|
-
|
|
461
|
-
/**
|
|
462
|
-
* 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>
|
|
463
|
-
* @type {string}
|
|
464
|
-
* @memberof PaymentRemindersApiGetPolicy
|
|
465
|
-
*/
|
|
466
|
-
readonly expand?: string
|
|
467
453
|
}
|
|
468
454
|
|
|
469
455
|
/**
|
|
@@ -515,7 +501,7 @@ export interface PaymentRemindersApiListPaymentRemindersRequest {
|
|
|
515
501
|
readonly order?: string
|
|
516
502
|
|
|
517
503
|
/**
|
|
518
|
-
* 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:
|
|
504
|
+
* 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>
|
|
519
505
|
* @type {string}
|
|
520
506
|
* @memberof PaymentRemindersApiListPaymentReminders
|
|
521
507
|
*/
|
|
@@ -561,7 +547,7 @@ export class PaymentRemindersApi extends BaseAPI {
|
|
|
561
547
|
}
|
|
562
548
|
|
|
563
549
|
/**
|
|
564
|
-
* Retrieves the details of the payment reminder that was previously created. Supply the unique payment reminder code
|
|
550
|
+
* 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.
|
|
565
551
|
* @summary Retrieve the payment reminder
|
|
566
552
|
* @param {PaymentRemindersApiGetPolicyRequest} requestParameters Request parameters.
|
|
567
553
|
* @param {*} [options] Override http request option.
|
|
@@ -569,7 +555,7 @@ export class PaymentRemindersApi extends BaseAPI {
|
|
|
569
555
|
* @memberof PaymentRemindersApi
|
|
570
556
|
*/
|
|
571
557
|
public getPolicy(requestParameters: PaymentRemindersApiGetPolicyRequest, options?: AxiosRequestConfig) {
|
|
572
|
-
return PaymentRemindersApiFp(this.configuration).getPolicy(requestParameters.code, requestParameters.authorization,
|
|
558
|
+
return PaymentRemindersApiFp(this.configuration).getPolicy(requestParameters.code, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
573
559
|
}
|
|
574
560
|
|
|
575
561
|
/**
|