@emilgroup/payment-sdk 1.13.1-beta.2 → 1.13.1-beta.4
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 +24 -24
- package/api/bank-transaction-api.ts +20 -20
- package/api/payment-methods-api.ts +12 -12
- package/api/payment-reminders-api.ts +30 -30
- package/api/payment-setup-api.ts +8 -8
- package/api/payments-api.ts +12 -12
- package/api/refunds-api.ts +12 -12
- package/api/webhooks-api.ts +4 -4
- package/dist/api/bank-accounts-api.d.ts +24 -24
- package/dist/api/bank-accounts-api.js +24 -24
- package/dist/api/bank-transaction-api.d.ts +20 -20
- package/dist/api/bank-transaction-api.js +20 -20
- package/dist/api/payment-methods-api.d.ts +12 -12
- package/dist/api/payment-methods-api.js +12 -12
- package/dist/api/payment-reminders-api.d.ts +26 -26
- package/dist/api/payment-reminders-api.js +25 -25
- package/dist/api/payment-setup-api.d.ts +8 -8
- package/dist/api/payment-setup-api.js +8 -8
- package/dist/api/payments-api.d.ts +12 -12
- package/dist/api/payments-api.js +12 -12
- package/dist/api/refunds-api.d.ts +12 -12
- package/dist/api/refunds-api.js +12 -12
- package/dist/api/webhooks-api.d.ts +4 -4
- package/dist/api/webhooks-api.js +4 -4
- package/dist/models/bank-transaction-class-without-expand-properties.d.ts +8 -2
- package/dist/models/bank-transaction-class.d.ts +8 -2
- package/dist/models/unlinked-bank-transaction-response-class.d.ts +8 -2
- package/models/bank-transaction-class-without-expand-properties.ts +8 -2
- package/models/bank-transaction-class.ts +8 -2
- package/models/unlinked-bank-transaction-response-class.ts +8 -2
- package/package.json +1 -1
|
@@ -93,7 +93,7 @@ var BankTransactionApiAxiosParamCreator = function (configuration) {
|
|
|
93
93
|
var _this = this;
|
|
94
94
|
return {
|
|
95
95
|
/**
|
|
96
|
-
* 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.
|
|
96
|
+
* 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. **Required Permissions** \"payment-management.bank-accounts.view\"
|
|
97
97
|
* @summary Retrieve the bank transaction
|
|
98
98
|
* @param {string} code
|
|
99
99
|
* @param {string} [authorization] Bearer Token
|
|
@@ -145,7 +145,7 @@ var BankTransactionApiAxiosParamCreator = function (configuration) {
|
|
|
145
145
|
});
|
|
146
146
|
},
|
|
147
147
|
/**
|
|
148
|
-
* This will import bank transactions from a swift MT940 file
|
|
148
|
+
* This will import bank transactions from a swift MT940 file **Required Permissions** \"payment-management.bank-accounts.view\"
|
|
149
149
|
* @summary Create the bank transactions
|
|
150
150
|
* @param {any} file Swift MT940 file to import bank transactions from. Extension must be .txt or .sta.<br/> Allowed Content Types: text/plain, application/octet-stream
|
|
151
151
|
* @param {string} [authorization] Bearer Token
|
|
@@ -197,7 +197,7 @@ var BankTransactionApiAxiosParamCreator = function (configuration) {
|
|
|
197
197
|
});
|
|
198
198
|
},
|
|
199
199
|
/**
|
|
200
|
-
* Links a bank transaction with an invoice
|
|
200
|
+
* Links a bank transaction with an invoice **Required Permissions** \"payment-management.bank-accounts.create\"
|
|
201
201
|
* @summary Link bank transaction
|
|
202
202
|
* @param {string} code Code of the bank transaction to link
|
|
203
203
|
* @param {LinkBankTransactionRequestDtoRest} linkBankTransactionRequestDtoRest
|
|
@@ -250,7 +250,7 @@ var BankTransactionApiAxiosParamCreator = function (configuration) {
|
|
|
250
250
|
});
|
|
251
251
|
},
|
|
252
252
|
/**
|
|
253
|
-
* Returns a list of bank transactions you have previously created. The bank transactions are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
253
|
+
* Returns a list of bank transactions you have previously created. The bank transactions are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"payment-management.bank-accounts.view\"
|
|
254
254
|
* @summary List bank transactions
|
|
255
255
|
* @param {string} [authorization] Bearer Token
|
|
256
256
|
* @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>
|
|
@@ -314,7 +314,7 @@ var BankTransactionApiAxiosParamCreator = function (configuration) {
|
|
|
314
314
|
});
|
|
315
315
|
},
|
|
316
316
|
/**
|
|
317
|
-
* Unlinks an already linked bank transaction
|
|
317
|
+
* Unlinks an already linked bank transaction **Required Permissions** \"payment-management.bank-accounts.update\"
|
|
318
318
|
* @summary Unlink bank transaction
|
|
319
319
|
* @param {string} code Code of the bank transaction to unlink
|
|
320
320
|
* @param {UnlinkBankTransactionRequestDtoRest} unlinkBankTransactionRequestDtoRest
|
|
@@ -377,7 +377,7 @@ var BankTransactionApiFp = function (configuration) {
|
|
|
377
377
|
var localVarAxiosParamCreator = (0, exports.BankTransactionApiAxiosParamCreator)(configuration);
|
|
378
378
|
return {
|
|
379
379
|
/**
|
|
380
|
-
* 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.
|
|
380
|
+
* 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. **Required Permissions** \"payment-management.bank-accounts.view\"
|
|
381
381
|
* @summary Retrieve the bank transaction
|
|
382
382
|
* @param {string} code
|
|
383
383
|
* @param {string} [authorization] Bearer Token
|
|
@@ -399,7 +399,7 @@ var BankTransactionApiFp = function (configuration) {
|
|
|
399
399
|
});
|
|
400
400
|
},
|
|
401
401
|
/**
|
|
402
|
-
* This will import bank transactions from a swift MT940 file
|
|
402
|
+
* This will import bank transactions from a swift MT940 file **Required Permissions** \"payment-management.bank-accounts.view\"
|
|
403
403
|
* @summary Create the bank transactions
|
|
404
404
|
* @param {any} file Swift MT940 file to import bank transactions from. Extension must be .txt or .sta.<br/> Allowed Content Types: text/plain, application/octet-stream
|
|
405
405
|
* @param {string} [authorization] Bearer Token
|
|
@@ -420,7 +420,7 @@ var BankTransactionApiFp = function (configuration) {
|
|
|
420
420
|
});
|
|
421
421
|
},
|
|
422
422
|
/**
|
|
423
|
-
* Links a bank transaction with an invoice
|
|
423
|
+
* Links a bank transaction with an invoice **Required Permissions** \"payment-management.bank-accounts.create\"
|
|
424
424
|
* @summary Link bank transaction
|
|
425
425
|
* @param {string} code Code of the bank transaction to link
|
|
426
426
|
* @param {LinkBankTransactionRequestDtoRest} linkBankTransactionRequestDtoRest
|
|
@@ -442,7 +442,7 @@ var BankTransactionApiFp = function (configuration) {
|
|
|
442
442
|
});
|
|
443
443
|
},
|
|
444
444
|
/**
|
|
445
|
-
* Returns a list of bank transactions you have previously created. The bank transactions are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
445
|
+
* Returns a list of bank transactions you have previously created. The bank transactions are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"payment-management.bank-accounts.view\"
|
|
446
446
|
* @summary List bank transactions
|
|
447
447
|
* @param {string} [authorization] Bearer Token
|
|
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>
|
|
@@ -467,7 +467,7 @@ var BankTransactionApiFp = function (configuration) {
|
|
|
467
467
|
});
|
|
468
468
|
},
|
|
469
469
|
/**
|
|
470
|
-
* Unlinks an already linked bank transaction
|
|
470
|
+
* Unlinks an already linked bank transaction **Required Permissions** \"payment-management.bank-accounts.update\"
|
|
471
471
|
* @summary Unlink bank transaction
|
|
472
472
|
* @param {string} code Code of the bank transaction to unlink
|
|
473
473
|
* @param {UnlinkBankTransactionRequestDtoRest} unlinkBankTransactionRequestDtoRest
|
|
@@ -499,7 +499,7 @@ var BankTransactionApiFactory = function (configuration, basePath, axios) {
|
|
|
499
499
|
var localVarFp = (0, exports.BankTransactionApiFp)(configuration);
|
|
500
500
|
return {
|
|
501
501
|
/**
|
|
502
|
-
* 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.
|
|
502
|
+
* 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. **Required Permissions** \"payment-management.bank-accounts.view\"
|
|
503
503
|
* @summary Retrieve the bank transaction
|
|
504
504
|
* @param {string} code
|
|
505
505
|
* @param {string} [authorization] Bearer Token
|
|
@@ -511,7 +511,7 @@ var BankTransactionApiFactory = function (configuration, basePath, axios) {
|
|
|
511
511
|
return localVarFp.getBankTransaction(code, authorization, expand, options).then(function (request) { return request(axios, basePath); });
|
|
512
512
|
},
|
|
513
513
|
/**
|
|
514
|
-
* This will import bank transactions from a swift MT940 file
|
|
514
|
+
* This will import bank transactions from a swift MT940 file **Required Permissions** \"payment-management.bank-accounts.view\"
|
|
515
515
|
* @summary Create the bank transactions
|
|
516
516
|
* @param {any} file Swift MT940 file to import bank transactions from. Extension must be .txt or .sta.<br/> Allowed Content Types: text/plain, application/octet-stream
|
|
517
517
|
* @param {string} [authorization] Bearer Token
|
|
@@ -522,7 +522,7 @@ var BankTransactionApiFactory = function (configuration, basePath, axios) {
|
|
|
522
522
|
return localVarFp.importBankTransactions(file, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
523
523
|
},
|
|
524
524
|
/**
|
|
525
|
-
* Links a bank transaction with an invoice
|
|
525
|
+
* Links a bank transaction with an invoice **Required Permissions** \"payment-management.bank-accounts.create\"
|
|
526
526
|
* @summary Link bank transaction
|
|
527
527
|
* @param {string} code Code of the bank transaction to link
|
|
528
528
|
* @param {LinkBankTransactionRequestDtoRest} linkBankTransactionRequestDtoRest
|
|
@@ -534,7 +534,7 @@ var BankTransactionApiFactory = function (configuration, basePath, axios) {
|
|
|
534
534
|
return localVarFp.linkBankTransaction(code, linkBankTransactionRequestDtoRest, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
535
535
|
},
|
|
536
536
|
/**
|
|
537
|
-
* Returns a list of bank transactions you have previously created. The bank transactions are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
537
|
+
* Returns a list of bank transactions you have previously created. The bank transactions are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"payment-management.bank-accounts.view\"
|
|
538
538
|
* @summary List bank transactions
|
|
539
539
|
* @param {string} [authorization] Bearer Token
|
|
540
540
|
* @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>
|
|
@@ -549,7 +549,7 @@ var BankTransactionApiFactory = function (configuration, basePath, axios) {
|
|
|
549
549
|
return localVarFp.listBankTransactions(authorization, filter, filters, search, order, expand, options).then(function (request) { return request(axios, basePath); });
|
|
550
550
|
},
|
|
551
551
|
/**
|
|
552
|
-
* Unlinks an already linked bank transaction
|
|
552
|
+
* Unlinks an already linked bank transaction **Required Permissions** \"payment-management.bank-accounts.update\"
|
|
553
553
|
* @summary Unlink bank transaction
|
|
554
554
|
* @param {string} code Code of the bank transaction to unlink
|
|
555
555
|
* @param {UnlinkBankTransactionRequestDtoRest} unlinkBankTransactionRequestDtoRest
|
|
@@ -575,7 +575,7 @@ var BankTransactionApi = /** @class */ (function (_super) {
|
|
|
575
575
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
576
576
|
}
|
|
577
577
|
/**
|
|
578
|
-
* 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.
|
|
578
|
+
* 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. **Required Permissions** \"payment-management.bank-accounts.view\"
|
|
579
579
|
* @summary Retrieve the bank transaction
|
|
580
580
|
* @param {BankTransactionApiGetBankTransactionRequest} requestParameters Request parameters.
|
|
581
581
|
* @param {*} [options] Override http request option.
|
|
@@ -587,7 +587,7 @@ var BankTransactionApi = /** @class */ (function (_super) {
|
|
|
587
587
|
return (0, exports.BankTransactionApiFp)(this.configuration).getBankTransaction(requestParameters.code, requestParameters.authorization, requestParameters.expand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
588
588
|
};
|
|
589
589
|
/**
|
|
590
|
-
* This will import bank transactions from a swift MT940 file
|
|
590
|
+
* This will import bank transactions from a swift MT940 file **Required Permissions** \"payment-management.bank-accounts.view\"
|
|
591
591
|
* @summary Create the bank transactions
|
|
592
592
|
* @param {BankTransactionApiImportBankTransactionsRequest} requestParameters Request parameters.
|
|
593
593
|
* @param {*} [options] Override http request option.
|
|
@@ -599,7 +599,7 @@ var BankTransactionApi = /** @class */ (function (_super) {
|
|
|
599
599
|
return (0, exports.BankTransactionApiFp)(this.configuration).importBankTransactions(requestParameters.file, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
600
600
|
};
|
|
601
601
|
/**
|
|
602
|
-
* Links a bank transaction with an invoice
|
|
602
|
+
* Links a bank transaction with an invoice **Required Permissions** \"payment-management.bank-accounts.create\"
|
|
603
603
|
* @summary Link bank transaction
|
|
604
604
|
* @param {BankTransactionApiLinkBankTransactionRequest} requestParameters Request parameters.
|
|
605
605
|
* @param {*} [options] Override http request option.
|
|
@@ -611,7 +611,7 @@ var BankTransactionApi = /** @class */ (function (_super) {
|
|
|
611
611
|
return (0, exports.BankTransactionApiFp)(this.configuration).linkBankTransaction(requestParameters.code, requestParameters.linkBankTransactionRequestDtoRest, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
612
612
|
};
|
|
613
613
|
/**
|
|
614
|
-
* Returns a list of bank transactions you have previously created. The bank transactions are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
614
|
+
* Returns a list of bank transactions you have previously created. The bank transactions are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"payment-management.bank-accounts.view\"
|
|
615
615
|
* @summary List bank transactions
|
|
616
616
|
* @param {BankTransactionApiListBankTransactionsRequest} requestParameters Request parameters.
|
|
617
617
|
* @param {*} [options] Override http request option.
|
|
@@ -624,7 +624,7 @@ var BankTransactionApi = /** @class */ (function (_super) {
|
|
|
624
624
|
return (0, exports.BankTransactionApiFp)(this.configuration).listBankTransactions(requestParameters.authorization, requestParameters.filter, requestParameters.filters, requestParameters.search, requestParameters.order, requestParameters.expand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
625
625
|
};
|
|
626
626
|
/**
|
|
627
|
-
* Unlinks an already linked bank transaction
|
|
627
|
+
* Unlinks an already linked bank transaction **Required Permissions** \"payment-management.bank-accounts.update\"
|
|
628
628
|
* @summary Unlink bank transaction
|
|
629
629
|
* @param {BankTransactionApiUnlinkBankTransactionRequest} requestParameters Request parameters.
|
|
630
630
|
* @param {*} [options] Override http request option.
|
|
@@ -22,7 +22,7 @@ import { ListPaymentMethodsResponseClass } from '../models';
|
|
|
22
22
|
*/
|
|
23
23
|
export declare const PaymentMethodsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
24
24
|
/**
|
|
25
|
-
* This will create payment method in the database as well as in the PSP. The newly created payment method will be set as default payment method will be used by the customer to pay or receive a refund.
|
|
25
|
+
* This will create payment method in the database as well as in the PSP. The newly created payment method will be set as default payment method will be used by the customer to pay or receive a refund. **Required Permissions** \"payment-management.payments.create\"
|
|
26
26
|
* @summary Create the payment method
|
|
27
27
|
* @param {CreatePspPaymentMethodRequestDto} createPspPaymentMethodRequestDto
|
|
28
28
|
* @param {string} [authorization] Bearer Token
|
|
@@ -31,7 +31,7 @@ export declare const PaymentMethodsApiAxiosParamCreator: (configuration?: Config
|
|
|
31
31
|
*/
|
|
32
32
|
createPaymentMethod: (createPspPaymentMethodRequestDto: CreatePspPaymentMethodRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
33
33
|
/**
|
|
34
|
-
* 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.
|
|
34
|
+
* 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. **Required Permissions** \"payment-management.payments.view\"
|
|
35
35
|
* @summary Retrieve the payment method
|
|
36
36
|
* @param {string} code
|
|
37
37
|
* @param {string} [authorization] Bearer Token
|
|
@@ -40,7 +40,7 @@ export declare const PaymentMethodsApiAxiosParamCreator: (configuration?: Config
|
|
|
40
40
|
*/
|
|
41
41
|
getPaymentMethod: (code: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
42
42
|
/**
|
|
43
|
-
* 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.
|
|
43
|
+
* Returns a list of payment methods you have previously created. The payment methods are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"payment-management.payments.view\"
|
|
44
44
|
* @summary List payment methods
|
|
45
45
|
* @param {string} [authorization] Bearer Token
|
|
46
46
|
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: code, id, pspCustomerId, psp, type, productSlug</i>
|
|
@@ -58,7 +58,7 @@ export declare const PaymentMethodsApiAxiosParamCreator: (configuration?: Config
|
|
|
58
58
|
*/
|
|
59
59
|
export declare const PaymentMethodsApiFp: (configuration?: Configuration) => {
|
|
60
60
|
/**
|
|
61
|
-
* This will create payment method in the database as well as in the PSP. The newly created payment method will be set as default payment method will be used by the customer to pay or receive a refund.
|
|
61
|
+
* This will create payment method in the database as well as in the PSP. The newly created payment method will be set as default payment method will be used by the customer to pay or receive a refund. **Required Permissions** \"payment-management.payments.create\"
|
|
62
62
|
* @summary Create the payment method
|
|
63
63
|
* @param {CreatePspPaymentMethodRequestDto} createPspPaymentMethodRequestDto
|
|
64
64
|
* @param {string} [authorization] Bearer Token
|
|
@@ -67,7 +67,7 @@ export declare const PaymentMethodsApiFp: (configuration?: Configuration) => {
|
|
|
67
67
|
*/
|
|
68
68
|
createPaymentMethod(createPspPaymentMethodRequestDto: CreatePspPaymentMethodRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreatePaymentMethodResponseClass>>;
|
|
69
69
|
/**
|
|
70
|
-
* 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.
|
|
70
|
+
* 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. **Required Permissions** \"payment-management.payments.view\"
|
|
71
71
|
* @summary Retrieve the payment method
|
|
72
72
|
* @param {string} code
|
|
73
73
|
* @param {string} [authorization] Bearer Token
|
|
@@ -76,7 +76,7 @@ export declare const PaymentMethodsApiFp: (configuration?: Configuration) => {
|
|
|
76
76
|
*/
|
|
77
77
|
getPaymentMethod(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetPaymentMethodResponseClass>>;
|
|
78
78
|
/**
|
|
79
|
-
* 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.
|
|
79
|
+
* Returns a list of payment methods you have previously created. The payment methods are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"payment-management.payments.view\"
|
|
80
80
|
* @summary List payment methods
|
|
81
81
|
* @param {string} [authorization] Bearer Token
|
|
82
82
|
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: code, id, pspCustomerId, psp, type, productSlug</i>
|
|
@@ -94,7 +94,7 @@ export declare const PaymentMethodsApiFp: (configuration?: Configuration) => {
|
|
|
94
94
|
*/
|
|
95
95
|
export declare const PaymentMethodsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
96
96
|
/**
|
|
97
|
-
* This will create payment method in the database as well as in the PSP. The newly created payment method will be set as default payment method will be used by the customer to pay or receive a refund.
|
|
97
|
+
* This will create payment method in the database as well as in the PSP. The newly created payment method will be set as default payment method will be used by the customer to pay or receive a refund. **Required Permissions** \"payment-management.payments.create\"
|
|
98
98
|
* @summary Create the payment method
|
|
99
99
|
* @param {CreatePspPaymentMethodRequestDto} createPspPaymentMethodRequestDto
|
|
100
100
|
* @param {string} [authorization] Bearer Token
|
|
@@ -103,7 +103,7 @@ export declare const PaymentMethodsApiFactory: (configuration?: Configuration, b
|
|
|
103
103
|
*/
|
|
104
104
|
createPaymentMethod(createPspPaymentMethodRequestDto: CreatePspPaymentMethodRequestDto, authorization?: string, options?: any): AxiosPromise<CreatePaymentMethodResponseClass>;
|
|
105
105
|
/**
|
|
106
|
-
* 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.
|
|
106
|
+
* 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. **Required Permissions** \"payment-management.payments.view\"
|
|
107
107
|
* @summary Retrieve the payment method
|
|
108
108
|
* @param {string} code
|
|
109
109
|
* @param {string} [authorization] Bearer Token
|
|
@@ -112,7 +112,7 @@ export declare const PaymentMethodsApiFactory: (configuration?: Configuration, b
|
|
|
112
112
|
*/
|
|
113
113
|
getPaymentMethod(code: string, authorization?: string, options?: any): AxiosPromise<GetPaymentMethodResponseClass>;
|
|
114
114
|
/**
|
|
115
|
-
* 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.
|
|
115
|
+
* Returns a list of payment methods you have previously created. The payment methods are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"payment-management.payments.view\"
|
|
116
116
|
* @summary List payment methods
|
|
117
117
|
* @param {string} [authorization] Bearer Token
|
|
118
118
|
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: code, id, pspCustomerId, psp, type, productSlug</i>
|
|
@@ -207,7 +207,7 @@ export interface PaymentMethodsApiListPaymentMethodsRequest {
|
|
|
207
207
|
*/
|
|
208
208
|
export declare class PaymentMethodsApi extends BaseAPI {
|
|
209
209
|
/**
|
|
210
|
-
* This will create payment method in the database as well as in the PSP. The newly created payment method will be set as default payment method will be used by the customer to pay or receive a refund.
|
|
210
|
+
* This will create payment method in the database as well as in the PSP. The newly created payment method will be set as default payment method will be used by the customer to pay or receive a refund. **Required Permissions** \"payment-management.payments.create\"
|
|
211
211
|
* @summary Create the payment method
|
|
212
212
|
* @param {PaymentMethodsApiCreatePaymentMethodRequest} requestParameters Request parameters.
|
|
213
213
|
* @param {*} [options] Override http request option.
|
|
@@ -216,7 +216,7 @@ export declare class PaymentMethodsApi extends BaseAPI {
|
|
|
216
216
|
*/
|
|
217
217
|
createPaymentMethod(requestParameters: PaymentMethodsApiCreatePaymentMethodRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreatePaymentMethodResponseClass, any>>;
|
|
218
218
|
/**
|
|
219
|
-
* 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.
|
|
219
|
+
* 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. **Required Permissions** \"payment-management.payments.view\"
|
|
220
220
|
* @summary Retrieve the payment method
|
|
221
221
|
* @param {PaymentMethodsApiGetPaymentMethodRequest} requestParameters Request parameters.
|
|
222
222
|
* @param {*} [options] Override http request option.
|
|
@@ -225,7 +225,7 @@ export declare class PaymentMethodsApi extends BaseAPI {
|
|
|
225
225
|
*/
|
|
226
226
|
getPaymentMethod(requestParameters: PaymentMethodsApiGetPaymentMethodRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetPaymentMethodResponseClass, any>>;
|
|
227
227
|
/**
|
|
228
|
-
* 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.
|
|
228
|
+
* Returns a list of payment methods you have previously created. The payment methods are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"payment-management.payments.view\"
|
|
229
229
|
* @summary List payment methods
|
|
230
230
|
* @param {PaymentMethodsApiListPaymentMethodsRequest} requestParameters Request parameters.
|
|
231
231
|
* @param {*} [options] Override http request option.
|
|
@@ -93,7 +93,7 @@ var PaymentMethodsApiAxiosParamCreator = function (configuration) {
|
|
|
93
93
|
var _this = this;
|
|
94
94
|
return {
|
|
95
95
|
/**
|
|
96
|
-
* This will create payment method in the database as well as in the PSP. The newly created payment method will be set as default payment method will be used by the customer to pay or receive a refund.
|
|
96
|
+
* This will create payment method in the database as well as in the PSP. The newly created payment method will be set as default payment method will be used by the customer to pay or receive a refund. **Required Permissions** \"payment-management.payments.create\"
|
|
97
97
|
* @summary Create the payment method
|
|
98
98
|
* @param {CreatePspPaymentMethodRequestDto} createPspPaymentMethodRequestDto
|
|
99
99
|
* @param {string} [authorization] Bearer Token
|
|
@@ -142,7 +142,7 @@ var PaymentMethodsApiAxiosParamCreator = function (configuration) {
|
|
|
142
142
|
});
|
|
143
143
|
},
|
|
144
144
|
/**
|
|
145
|
-
* 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.
|
|
145
|
+
* 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. **Required Permissions** \"payment-management.payments.view\"
|
|
146
146
|
* @summary Retrieve the payment method
|
|
147
147
|
* @param {string} code
|
|
148
148
|
* @param {string} [authorization] Bearer Token
|
|
@@ -190,7 +190,7 @@ var PaymentMethodsApiAxiosParamCreator = function (configuration) {
|
|
|
190
190
|
});
|
|
191
191
|
},
|
|
192
192
|
/**
|
|
193
|
-
* 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.
|
|
193
|
+
* Returns a list of payment methods you have previously created. The payment methods are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"payment-management.payments.view\"
|
|
194
194
|
* @summary List payment methods
|
|
195
195
|
* @param {string} [authorization] Bearer Token
|
|
196
196
|
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: code, id, pspCustomerId, psp, type, productSlug</i>
|
|
@@ -260,7 +260,7 @@ var PaymentMethodsApiFp = function (configuration) {
|
|
|
260
260
|
var localVarAxiosParamCreator = (0, exports.PaymentMethodsApiAxiosParamCreator)(configuration);
|
|
261
261
|
return {
|
|
262
262
|
/**
|
|
263
|
-
* This will create payment method in the database as well as in the PSP. The newly created payment method will be set as default payment method will be used by the customer to pay or receive a refund.
|
|
263
|
+
* This will create payment method in the database as well as in the PSP. The newly created payment method will be set as default payment method will be used by the customer to pay or receive a refund. **Required Permissions** \"payment-management.payments.create\"
|
|
264
264
|
* @summary Create the payment method
|
|
265
265
|
* @param {CreatePspPaymentMethodRequestDto} createPspPaymentMethodRequestDto
|
|
266
266
|
* @param {string} [authorization] Bearer Token
|
|
@@ -281,7 +281,7 @@ var PaymentMethodsApiFp = function (configuration) {
|
|
|
281
281
|
});
|
|
282
282
|
},
|
|
283
283
|
/**
|
|
284
|
-
* 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.
|
|
284
|
+
* 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. **Required Permissions** \"payment-management.payments.view\"
|
|
285
285
|
* @summary Retrieve the payment method
|
|
286
286
|
* @param {string} code
|
|
287
287
|
* @param {string} [authorization] Bearer Token
|
|
@@ -302,7 +302,7 @@ var PaymentMethodsApiFp = function (configuration) {
|
|
|
302
302
|
});
|
|
303
303
|
},
|
|
304
304
|
/**
|
|
305
|
-
* 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.
|
|
305
|
+
* Returns a list of payment methods you have previously created. The payment methods are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"payment-management.payments.view\"
|
|
306
306
|
* @summary List payment methods
|
|
307
307
|
* @param {string} [authorization] Bearer Token
|
|
308
308
|
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: code, id, pspCustomerId, psp, type, productSlug</i>
|
|
@@ -336,7 +336,7 @@ var PaymentMethodsApiFactory = function (configuration, basePath, axios) {
|
|
|
336
336
|
var localVarFp = (0, exports.PaymentMethodsApiFp)(configuration);
|
|
337
337
|
return {
|
|
338
338
|
/**
|
|
339
|
-
* This will create payment method in the database as well as in the PSP. The newly created payment method will be set as default payment method will be used by the customer to pay or receive a refund.
|
|
339
|
+
* This will create payment method in the database as well as in the PSP. The newly created payment method will be set as default payment method will be used by the customer to pay or receive a refund. **Required Permissions** \"payment-management.payments.create\"
|
|
340
340
|
* @summary Create the payment method
|
|
341
341
|
* @param {CreatePspPaymentMethodRequestDto} createPspPaymentMethodRequestDto
|
|
342
342
|
* @param {string} [authorization] Bearer Token
|
|
@@ -347,7 +347,7 @@ var PaymentMethodsApiFactory = function (configuration, basePath, axios) {
|
|
|
347
347
|
return localVarFp.createPaymentMethod(createPspPaymentMethodRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
348
348
|
},
|
|
349
349
|
/**
|
|
350
|
-
* 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.
|
|
350
|
+
* 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. **Required Permissions** \"payment-management.payments.view\"
|
|
351
351
|
* @summary Retrieve the payment method
|
|
352
352
|
* @param {string} code
|
|
353
353
|
* @param {string} [authorization] Bearer Token
|
|
@@ -358,7 +358,7 @@ var PaymentMethodsApiFactory = function (configuration, basePath, axios) {
|
|
|
358
358
|
return localVarFp.getPaymentMethod(code, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
359
359
|
},
|
|
360
360
|
/**
|
|
361
|
-
* 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.
|
|
361
|
+
* Returns a list of payment methods you have previously created. The payment methods are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"payment-management.payments.view\"
|
|
362
362
|
* @summary List payment methods
|
|
363
363
|
* @param {string} [authorization] Bearer Token
|
|
364
364
|
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: code, id, pspCustomerId, psp, type, productSlug</i>
|
|
@@ -386,7 +386,7 @@ var PaymentMethodsApi = /** @class */ (function (_super) {
|
|
|
386
386
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
387
387
|
}
|
|
388
388
|
/**
|
|
389
|
-
* This will create payment method in the database as well as in the PSP. The newly created payment method will be set as default payment method will be used by the customer to pay or receive a refund.
|
|
389
|
+
* This will create payment method in the database as well as in the PSP. The newly created payment method will be set as default payment method will be used by the customer to pay or receive a refund. **Required Permissions** \"payment-management.payments.create\"
|
|
390
390
|
* @summary Create the payment method
|
|
391
391
|
* @param {PaymentMethodsApiCreatePaymentMethodRequest} requestParameters Request parameters.
|
|
392
392
|
* @param {*} [options] Override http request option.
|
|
@@ -398,7 +398,7 @@ var PaymentMethodsApi = /** @class */ (function (_super) {
|
|
|
398
398
|
return (0, exports.PaymentMethodsApiFp)(this.configuration).createPaymentMethod(requestParameters.createPspPaymentMethodRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
399
399
|
};
|
|
400
400
|
/**
|
|
401
|
-
* 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.
|
|
401
|
+
* 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. **Required Permissions** \"payment-management.payments.view\"
|
|
402
402
|
* @summary Retrieve the payment method
|
|
403
403
|
* @param {PaymentMethodsApiGetPaymentMethodRequest} requestParameters Request parameters.
|
|
404
404
|
* @param {*} [options] Override http request option.
|
|
@@ -410,7 +410,7 @@ var PaymentMethodsApi = /** @class */ (function (_super) {
|
|
|
410
410
|
return (0, exports.PaymentMethodsApiFp)(this.configuration).getPaymentMethod(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
411
411
|
};
|
|
412
412
|
/**
|
|
413
|
-
* 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.
|
|
413
|
+
* Returns a list of payment methods you have previously created. The payment methods are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"payment-management.payments.view\"
|
|
414
414
|
* @summary List payment methods
|
|
415
415
|
* @param {PaymentMethodsApiListPaymentMethodsRequest} requestParameters Request parameters.
|
|
416
416
|
* @param {*} [options] Override http request option.
|
|
@@ -24,7 +24,7 @@ import { ListPaymentRemindersResponseClass } from '../models';
|
|
|
24
24
|
*/
|
|
25
25
|
export declare const PaymentRemindersApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
26
26
|
/**
|
|
27
|
-
* This will create a payment reminder in the database.
|
|
27
|
+
* This will create a payment reminder in the database. **Required Permissions** \"payment-management.reminders.create\"
|
|
28
28
|
* @summary Create the payment reminder
|
|
29
29
|
* @param {CreatePaymentReminderRequestDto} createPaymentReminderRequestDto
|
|
30
30
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -33,7 +33,7 @@ export declare const PaymentRemindersApiAxiosParamCreator: (configuration?: Conf
|
|
|
33
33
|
*/
|
|
34
34
|
createPaymentReminder: (createPaymentReminderRequestDto: CreatePaymentReminderRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
35
35
|
/**
|
|
36
|
-
* This will deactivate the payment reminder
|
|
36
|
+
* This will deactivate the payment reminder **Required Permissions** \"payment-management.reminders.update\"
|
|
37
37
|
* @summary Deactivate payment reminder
|
|
38
38
|
* @param {string} code Unique identifier for the object.
|
|
39
39
|
* @param {DeactivatePaymentReminderRequestDto} deactivatePaymentReminderRequestDto
|
|
@@ -43,16 +43,16 @@ export declare const PaymentRemindersApiAxiosParamCreator: (configuration?: Conf
|
|
|
43
43
|
*/
|
|
44
44
|
deactivatePaymentReminder: (code: string, deactivatePaymentReminderRequestDto: DeactivatePaymentReminderRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
45
45
|
/**
|
|
46
|
-
* 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.
|
|
46
|
+
* 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. **Required Permissions** \"payment-management.reminders.view\"
|
|
47
47
|
* @summary Retrieve the payment reminder
|
|
48
48
|
* @param {string} code
|
|
49
49
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
50
50
|
* @param {*} [options] Override http request option.
|
|
51
51
|
* @throws {RequiredError}
|
|
52
52
|
*/
|
|
53
|
-
|
|
53
|
+
getPaymentReminder: (code: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
54
54
|
/**
|
|
55
|
-
* 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.
|
|
55
|
+
* 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. **Required Permissions** \"payment-management.reminders.view\"
|
|
56
56
|
* @summary List payment reminders
|
|
57
57
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
58
58
|
* @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>
|
|
@@ -70,7 +70,7 @@ export declare const PaymentRemindersApiAxiosParamCreator: (configuration?: Conf
|
|
|
70
70
|
*/
|
|
71
71
|
export declare const PaymentRemindersApiFp: (configuration?: Configuration) => {
|
|
72
72
|
/**
|
|
73
|
-
* This will create a payment reminder in the database.
|
|
73
|
+
* This will create a payment reminder in the database. **Required Permissions** \"payment-management.reminders.create\"
|
|
74
74
|
* @summary Create the payment reminder
|
|
75
75
|
* @param {CreatePaymentReminderRequestDto} createPaymentReminderRequestDto
|
|
76
76
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -79,7 +79,7 @@ export declare const PaymentRemindersApiFp: (configuration?: Configuration) => {
|
|
|
79
79
|
*/
|
|
80
80
|
createPaymentReminder(createPaymentReminderRequestDto: CreatePaymentReminderRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreatePaymentReminderResponseClass>>;
|
|
81
81
|
/**
|
|
82
|
-
* This will deactivate the payment reminder
|
|
82
|
+
* This will deactivate the payment reminder **Required Permissions** \"payment-management.reminders.update\"
|
|
83
83
|
* @summary Deactivate payment reminder
|
|
84
84
|
* @param {string} code Unique identifier for the object.
|
|
85
85
|
* @param {DeactivatePaymentReminderRequestDto} deactivatePaymentReminderRequestDto
|
|
@@ -89,16 +89,16 @@ export declare const PaymentRemindersApiFp: (configuration?: Configuration) => {
|
|
|
89
89
|
*/
|
|
90
90
|
deactivatePaymentReminder(code: string, deactivatePaymentReminderRequestDto: DeactivatePaymentReminderRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeactivatePaymentReminderResponseClass>>;
|
|
91
91
|
/**
|
|
92
|
-
* 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.
|
|
92
|
+
* 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. **Required Permissions** \"payment-management.reminders.view\"
|
|
93
93
|
* @summary Retrieve the payment reminder
|
|
94
94
|
* @param {string} code
|
|
95
95
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
96
96
|
* @param {*} [options] Override http request option.
|
|
97
97
|
* @throws {RequiredError}
|
|
98
98
|
*/
|
|
99
|
-
|
|
99
|
+
getPaymentReminder(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetPaymentReminderResponseClass>>;
|
|
100
100
|
/**
|
|
101
|
-
* 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.
|
|
101
|
+
* 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. **Required Permissions** \"payment-management.reminders.view\"
|
|
102
102
|
* @summary List payment reminders
|
|
103
103
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
104
104
|
* @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>
|
|
@@ -116,7 +116,7 @@ export declare const PaymentRemindersApiFp: (configuration?: Configuration) => {
|
|
|
116
116
|
*/
|
|
117
117
|
export declare const PaymentRemindersApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
118
118
|
/**
|
|
119
|
-
* This will create a payment reminder in the database.
|
|
119
|
+
* This will create a payment reminder in the database. **Required Permissions** \"payment-management.reminders.create\"
|
|
120
120
|
* @summary Create the payment reminder
|
|
121
121
|
* @param {CreatePaymentReminderRequestDto} createPaymentReminderRequestDto
|
|
122
122
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -125,7 +125,7 @@ export declare const PaymentRemindersApiFactory: (configuration?: Configuration,
|
|
|
125
125
|
*/
|
|
126
126
|
createPaymentReminder(createPaymentReminderRequestDto: CreatePaymentReminderRequestDto, authorization?: string, options?: any): AxiosPromise<CreatePaymentReminderResponseClass>;
|
|
127
127
|
/**
|
|
128
|
-
* This will deactivate the payment reminder
|
|
128
|
+
* This will deactivate the payment reminder **Required Permissions** \"payment-management.reminders.update\"
|
|
129
129
|
* @summary Deactivate payment reminder
|
|
130
130
|
* @param {string} code Unique identifier for the object.
|
|
131
131
|
* @param {DeactivatePaymentReminderRequestDto} deactivatePaymentReminderRequestDto
|
|
@@ -135,16 +135,16 @@ export declare const PaymentRemindersApiFactory: (configuration?: Configuration,
|
|
|
135
135
|
*/
|
|
136
136
|
deactivatePaymentReminder(code: string, deactivatePaymentReminderRequestDto: DeactivatePaymentReminderRequestDto, authorization?: string, options?: any): AxiosPromise<DeactivatePaymentReminderResponseClass>;
|
|
137
137
|
/**
|
|
138
|
-
* 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.
|
|
138
|
+
* 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. **Required Permissions** \"payment-management.reminders.view\"
|
|
139
139
|
* @summary Retrieve the payment reminder
|
|
140
140
|
* @param {string} code
|
|
141
141
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
142
142
|
* @param {*} [options] Override http request option.
|
|
143
143
|
* @throws {RequiredError}
|
|
144
144
|
*/
|
|
145
|
-
|
|
145
|
+
getPaymentReminder(code: string, authorization?: string, options?: any): AxiosPromise<GetPaymentReminderResponseClass>;
|
|
146
146
|
/**
|
|
147
|
-
* 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.
|
|
147
|
+
* 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. **Required Permissions** \"payment-management.reminders.view\"
|
|
148
148
|
* @summary List payment reminders
|
|
149
149
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
150
150
|
* @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>
|
|
@@ -201,21 +201,21 @@ export interface PaymentRemindersApiDeactivatePaymentReminderRequest {
|
|
|
201
201
|
readonly authorization?: string;
|
|
202
202
|
}
|
|
203
203
|
/**
|
|
204
|
-
* Request parameters for
|
|
204
|
+
* Request parameters for getPaymentReminder operation in PaymentRemindersApi.
|
|
205
205
|
* @export
|
|
206
|
-
* @interface
|
|
206
|
+
* @interface PaymentRemindersApiGetPaymentReminderRequest
|
|
207
207
|
*/
|
|
208
|
-
export interface
|
|
208
|
+
export interface PaymentRemindersApiGetPaymentReminderRequest {
|
|
209
209
|
/**
|
|
210
210
|
*
|
|
211
211
|
* @type {string}
|
|
212
|
-
* @memberof
|
|
212
|
+
* @memberof PaymentRemindersApiGetPaymentReminder
|
|
213
213
|
*/
|
|
214
214
|
readonly code: string;
|
|
215
215
|
/**
|
|
216
216
|
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
217
217
|
* @type {string}
|
|
218
|
-
* @memberof
|
|
218
|
+
* @memberof PaymentRemindersApiGetPaymentReminder
|
|
219
219
|
*/
|
|
220
220
|
readonly authorization?: string;
|
|
221
221
|
}
|
|
@@ -264,7 +264,7 @@ export interface PaymentRemindersApiListPaymentRemindersRequest {
|
|
|
264
264
|
*/
|
|
265
265
|
export declare class PaymentRemindersApi extends BaseAPI {
|
|
266
266
|
/**
|
|
267
|
-
* This will create a payment reminder in the database.
|
|
267
|
+
* This will create a payment reminder in the database. **Required Permissions** \"payment-management.reminders.create\"
|
|
268
268
|
* @summary Create the payment reminder
|
|
269
269
|
* @param {PaymentRemindersApiCreatePaymentReminderRequest} requestParameters Request parameters.
|
|
270
270
|
* @param {*} [options] Override http request option.
|
|
@@ -273,7 +273,7 @@ export declare class PaymentRemindersApi extends BaseAPI {
|
|
|
273
273
|
*/
|
|
274
274
|
createPaymentReminder(requestParameters: PaymentRemindersApiCreatePaymentReminderRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreatePaymentReminderResponseClass, any>>;
|
|
275
275
|
/**
|
|
276
|
-
* This will deactivate the payment reminder
|
|
276
|
+
* This will deactivate the payment reminder **Required Permissions** \"payment-management.reminders.update\"
|
|
277
277
|
* @summary Deactivate payment reminder
|
|
278
278
|
* @param {PaymentRemindersApiDeactivatePaymentReminderRequest} requestParameters Request parameters.
|
|
279
279
|
* @param {*} [options] Override http request option.
|
|
@@ -282,16 +282,16 @@ export declare class PaymentRemindersApi extends BaseAPI {
|
|
|
282
282
|
*/
|
|
283
283
|
deactivatePaymentReminder(requestParameters: PaymentRemindersApiDeactivatePaymentReminderRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<DeactivatePaymentReminderResponseClass, any>>;
|
|
284
284
|
/**
|
|
285
|
-
* 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.
|
|
285
|
+
* 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. **Required Permissions** \"payment-management.reminders.view\"
|
|
286
286
|
* @summary Retrieve the payment reminder
|
|
287
|
-
* @param {
|
|
287
|
+
* @param {PaymentRemindersApiGetPaymentReminderRequest} requestParameters Request parameters.
|
|
288
288
|
* @param {*} [options] Override http request option.
|
|
289
289
|
* @throws {RequiredError}
|
|
290
290
|
* @memberof PaymentRemindersApi
|
|
291
291
|
*/
|
|
292
|
-
|
|
292
|
+
getPaymentReminder(requestParameters: PaymentRemindersApiGetPaymentReminderRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetPaymentReminderResponseClass, any>>;
|
|
293
293
|
/**
|
|
294
|
-
* 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.
|
|
294
|
+
* 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. **Required Permissions** \"payment-management.reminders.view\"
|
|
295
295
|
* @summary List payment reminders
|
|
296
296
|
* @param {PaymentRemindersApiListPaymentRemindersRequest} requestParameters Request parameters.
|
|
297
297
|
* @param {*} [options] Override http request option.
|