@emilgroup/payment-sdk 1.4.1-beta.19 → 1.4.1-beta.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +0 -34
- package/README.md +2 -2
- package/api/bank-accounts-api.ts +21 -465
- package/api/bank-transaction-api.ts +11 -11
- package/api/default-api.ts +1 -1
- package/api/payment-methods-api.ts +166 -65
- package/api/payment-reminders-api.ts +17 -21
- package/api/payment-setup-api.ts +29 -37
- package/api/payments-api.ts +54 -55
- package/api/refunds-api.ts +16 -14
- package/api/tenant-bank-account-api.ts +25 -25
- package/api/webhooks-api.ts +1 -1
- package/api.ts +1 -1
- package/base.ts +1 -1
- package/common.ts +2 -2
- package/configuration.ts +1 -1
- package/dist/api/bank-accounts-api.d.ts +17 -260
- package/dist/api/bank-accounts-api.js +17 -399
- package/dist/api/bank-transaction-api.d.ts +12 -12
- package/dist/api/bank-transaction-api.js +9 -9
- package/dist/api/default-api.d.ts +1 -1
- package/dist/api/default-api.js +1 -1
- package/dist/api/payment-methods-api.d.ts +100 -49
- package/dist/api/payment-methods-api.js +144 -46
- package/dist/api/payment-reminders-api.d.ts +21 -23
- package/dist/api/payment-reminders-api.js +9 -9
- package/dist/api/payment-setup-api.d.ts +19 -23
- package/dist/api/payment-setup-api.js +25 -25
- package/dist/api/payments-api.d.ts +43 -46
- package/dist/api/payments-api.js +42 -38
- package/dist/api/refunds-api.d.ts +11 -11
- package/dist/api/refunds-api.js +12 -10
- package/dist/api/tenant-bank-account-api.d.ts +25 -25
- package/dist/api/tenant-bank-account-api.js +20 -20
- package/dist/api/webhooks-api.d.ts +1 -1
- package/dist/api/webhooks-api.js +1 -1
- package/dist/api.d.ts +1 -1
- package/dist/api.js +1 -1
- package/dist/base.d.ts +1 -1
- package/dist/base.js +1 -1
- package/dist/common.d.ts +2 -2
- package/dist/common.js +1 -1
- package/dist/configuration.d.ts +1 -1
- package/dist/configuration.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/models/bank-transaction-response-class.d.ts +1 -1
- package/dist/models/bank-transaction-response-class.js +1 -1
- package/dist/models/create-payment-reminder-request-dto.d.ts +1 -1
- package/dist/models/create-payment-reminder-request-dto.js +1 -1
- package/dist/models/create-payment-request-dto.d.ts +4 -4
- package/dist/models/create-payment-request-dto.js +1 -1
- package/dist/models/create-refund-request-dto.d.ts +1 -1
- package/dist/models/create-refund-request-dto.js +1 -1
- package/dist/models/create-refund-response-class.d.ts +1 -1
- package/dist/models/create-refund-response-class.js +1 -1
- package/dist/models/create-tenant-bank-account-request-dto.d.ts +1 -1
- package/dist/models/create-tenant-bank-account-request-dto.js +1 -1
- package/dist/models/create-tenant-bank-account-response-class.d.ts +1 -1
- package/dist/models/create-tenant-bank-account-response-class.js +1 -1
- package/dist/models/deactivate-payment-reminder-request-dto.d.ts +1 -1
- package/dist/models/deactivate-payment-reminder-request-dto.js +1 -1
- package/dist/models/get-bank-transactions-response-class.d.ts +1 -1
- package/dist/models/get-bank-transactions-response-class.js +1 -1
- package/dist/models/get-refund-response-class.d.ts +1 -1
- package/dist/models/get-refund-response-class.js +1 -1
- package/dist/models/get-request-dto.d.ts +2 -2
- package/dist/models/get-request-dto.js +1 -1
- package/dist/models/get-tenant-bank-account-response-class.d.ts +1 -1
- package/dist/models/get-tenant-bank-account-response-class.js +1 -1
- package/dist/models/index.d.ts +0 -34
- package/dist/models/index.js +0 -34
- package/dist/models/inline-response200.d.ts +1 -1
- package/dist/models/inline-response200.js +1 -1
- package/dist/models/inline-response503.d.ts +1 -1
- package/dist/models/inline-response503.js +1 -1
- package/dist/models/link-bank-transaction-request-dto-rest.d.ts +1 -1
- package/dist/models/link-bank-transaction-request-dto-rest.js +1 -1
- package/dist/models/list-bank-transactions-response-class.d.ts +1 -1
- package/dist/models/list-bank-transactions-response-class.js +1 -1
- package/dist/models/list-refunds-response-class.d.ts +1 -1
- package/dist/models/list-refunds-response-class.js +1 -1
- package/dist/models/list-tenant-bank-account-response-class.d.ts +1 -1
- package/dist/models/list-tenant-bank-account-response-class.js +1 -1
- package/dist/models/refund-class.d.ts +1 -1
- package/dist/models/refund-class.js +1 -1
- package/dist/models/tenant-bank-account-response-class.d.ts +1 -1
- package/dist/models/tenant-bank-account-response-class.js +1 -1
- package/dist/models/transaction-class.d.ts +1 -1
- package/dist/models/transaction-class.js +1 -1
- package/dist/models/unlink-bank-transaction-request-dto-rest.d.ts +2 -2
- package/dist/models/unlink-bank-transaction-request-dto-rest.js +1 -1
- package/dist/models/update-tenant-bank-account-rest-request-dto.d.ts +1 -1
- package/dist/models/update-tenant-bank-account-rest-request-dto.js +1 -1
- package/dist/models/validate-pspconfig-request-dto.d.ts +2 -9
- package/dist/models/validate-pspconfig-request-dto.js +1 -8
- package/index.ts +1 -1
- package/models/bank-transaction-response-class.ts +1 -1
- package/models/create-payment-reminder-request-dto.ts +1 -1
- package/models/create-payment-request-dto.ts +4 -4
- package/models/create-refund-request-dto.ts +1 -1
- package/models/create-refund-response-class.ts +1 -1
- package/models/create-tenant-bank-account-request-dto.ts +1 -1
- package/models/create-tenant-bank-account-response-class.ts +1 -1
- package/models/deactivate-payment-reminder-request-dto.ts +1 -1
- package/models/get-bank-transactions-response-class.ts +1 -1
- package/models/get-refund-response-class.ts +1 -1
- package/models/get-request-dto.ts +2 -2
- package/models/get-tenant-bank-account-response-class.ts +1 -1
- package/models/index.ts +0 -34
- package/models/inline-response200.ts +1 -1
- package/models/inline-response503.ts +1 -1
- package/models/link-bank-transaction-request-dto-rest.ts +1 -1
- package/models/list-bank-transactions-response-class.ts +1 -1
- package/models/list-refunds-response-class.ts +1 -1
- package/models/list-tenant-bank-account-response-class.ts +1 -1
- package/models/refund-class.ts +1 -1
- package/models/tenant-bank-account-response-class.ts +1 -1
- package/models/transaction-class.ts +1 -1
- package/models/unlink-bank-transaction-request-dto-rest.ts +2 -2
- package/models/update-tenant-bank-account-rest-request-dto.ts +1 -1
- package/models/validate-pspconfig-request-dto.ts +2 -12
- package/package.json +1 -1
- package/dist/models/bank-account-class.d.ts +0 -79
- package/dist/models/bank-account-class.js +0 -15
- package/dist/models/billing-profile-dto.d.ts +0 -38
- package/dist/models/billing-profile-dto.js +0 -15
- package/dist/models/billing-profile-limited-response-dto.d.ts +0 -54
- package/dist/models/billing-profile-limited-response-dto.js +0 -15
- package/dist/models/complete-braintree-payment-setup-request-dto.d.ts +0 -48
- package/dist/models/complete-braintree-payment-setup-request-dto.js +0 -15
- package/dist/models/complete-payment-setup-request-dto.d.ts +0 -32
- package/dist/models/complete-payment-setup-request-dto.js +0 -15
- package/dist/models/complete-payment-setup-response-class.d.ts +0 -25
- package/dist/models/complete-payment-setup-response-class.js +0 -15
- package/dist/models/complete-stripe-payment-setup-request-dto.d.ts +0 -60
- package/dist/models/complete-stripe-payment-setup-request-dto.js +0 -15
- package/dist/models/create-bank-account-request-dto.d.ts +0 -42
- package/dist/models/create-bank-account-request-dto.js +0 -15
- package/dist/models/create-payment-method-response-class.d.ts +0 -25
- package/dist/models/create-payment-method-response-class.js +0 -15
- package/dist/models/create-payment-response-class.d.ts +0 -25
- package/dist/models/create-payment-response-class.js +0 -15
- package/dist/models/create-psp-payment-method-request-dto.d.ts +0 -61
- package/dist/models/create-psp-payment-method-request-dto.js +0 -32
- package/dist/models/deactivate-payment-reminder-response-class.d.ts +0 -25
- package/dist/models/deactivate-payment-reminder-response-class.js +0 -15
- package/dist/models/get-bank-account-response-class.d.ts +0 -25
- package/dist/models/get-bank-account-response-class.js +0 -15
- package/dist/models/get-payment-method-response-class.d.ts +0 -25
- package/dist/models/get-payment-method-response-class.js +0 -15
- package/dist/models/get-payment-response-class.d.ts +0 -25
- package/dist/models/get-payment-response-class.js +0 -15
- package/dist/models/initiate-braintree-payment-setup-request-dto.d.ts +0 -30
- package/dist/models/initiate-braintree-payment-setup-request-dto.js +0 -15
- package/dist/models/initiate-braintree-payment-setup-response-class.d.ts +0 -24
- package/dist/models/initiate-braintree-payment-setup-response-class.js +0 -15
- package/dist/models/initiate-payment-setup-request-dto.d.ts +0 -44
- package/dist/models/initiate-payment-setup-request-dto.js +0 -15
- package/dist/models/initiate-payment-setup-response-class.d.ts +0 -32
- package/dist/models/initiate-payment-setup-response-class.js +0 -15
- package/dist/models/initiate-stripe-payment-setup-request-dto.d.ts +0 -30
- package/dist/models/initiate-stripe-payment-setup-request-dto.js +0 -15
- package/dist/models/initiate-stripe-payment-setup-response-class.d.ts +0 -30
- package/dist/models/initiate-stripe-payment-setup-response-class.js +0 -15
- package/dist/models/list-bank-accounts-response-class.d.ts +0 -31
- package/dist/models/list-bank-accounts-response-class.js +0 -15
- package/dist/models/list-payment-methods-response-class.d.ts +0 -31
- package/dist/models/list-payment-methods-response-class.js +0 -15
- package/dist/models/list-payment-reminders-response-class.d.ts +0 -31
- package/dist/models/list-payment-reminders-response-class.js +0 -15
- package/dist/models/list-payments-response-class.d.ts +0 -31
- package/dist/models/list-payments-response-class.js +0 -15
- package/dist/models/payment-class.d.ts +0 -103
- package/dist/models/payment-class.js +0 -15
- package/dist/models/payment-method-class.d.ts +0 -66
- package/dist/models/payment-method-class.js +0 -15
- package/dist/models/payment-reminder-class.d.ts +0 -112
- package/dist/models/payment-reminder-class.js +0 -36
- package/dist/models/primary-bank-account-response-class.d.ts +0 -42
- package/dist/models/primary-bank-account-response-class.js +0 -15
- package/dist/models/sepa-direct-dto.d.ts +0 -24
- package/dist/models/sepa-direct-dto.js +0 -15
- package/dist/models/set-primary-bank-account-request-dto-rest.d.ts +0 -24
- package/dist/models/set-primary-bank-account-request-dto-rest.js +0 -15
- package/dist/models/symphony-profile-limited-response-dto.d.ts +0 -42
- package/dist/models/symphony-profile-limited-response-dto.js +0 -15
- package/dist/models/update-bank-account-request-dto-rest.d.ts +0 -30
- package/dist/models/update-bank-account-request-dto-rest.js +0 -15
- package/dist/models/update-bank-account-request-dto.d.ts +0 -36
- package/dist/models/update-bank-account-request-dto.js +0 -15
- package/models/bank-account-class.ts +0 -85
- package/models/billing-profile-dto.ts +0 -44
- package/models/billing-profile-limited-response-dto.ts +0 -60
- package/models/complete-braintree-payment-setup-request-dto.ts +0 -54
- package/models/complete-payment-setup-request-dto.ts +0 -38
- package/models/complete-payment-setup-response-class.ts +0 -31
- package/models/complete-stripe-payment-setup-request-dto.ts +0 -66
- package/models/create-bank-account-request-dto.ts +0 -48
- package/models/create-payment-method-response-class.ts +0 -31
- package/models/create-payment-response-class.ts +0 -31
- package/models/create-psp-payment-method-request-dto.ts +0 -70
- package/models/deactivate-payment-reminder-response-class.ts +0 -31
- package/models/get-bank-account-response-class.ts +0 -31
- package/models/get-payment-method-response-class.ts +0 -31
- package/models/get-payment-response-class.ts +0 -31
- package/models/initiate-braintree-payment-setup-request-dto.ts +0 -36
- package/models/initiate-braintree-payment-setup-response-class.ts +0 -30
- package/models/initiate-payment-setup-request-dto.ts +0 -50
- package/models/initiate-payment-setup-response-class.ts +0 -38
- package/models/initiate-stripe-payment-setup-request-dto.ts +0 -36
- package/models/initiate-stripe-payment-setup-response-class.ts +0 -36
- package/models/list-bank-accounts-response-class.ts +0 -37
- package/models/list-payment-methods-response-class.ts +0 -37
- package/models/list-payment-reminders-response-class.ts +0 -37
- package/models/list-payments-response-class.ts +0 -37
- package/models/payment-class.ts +0 -109
- package/models/payment-method-class.ts +0 -72
- package/models/payment-reminder-class.ts +0 -122
- package/models/primary-bank-account-response-class.ts +0 -48
- package/models/sepa-direct-dto.ts +0 -30
- package/models/set-primary-bank-account-request-dto-rest.ts +0 -30
- package/models/symphony-profile-limited-response-dto.ts +0 -48
- package/models/update-bank-account-request-dto-rest.ts +0 -36
- package/models/update-bank-account-request-dto.ts +0 -42
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/**
|
|
5
5
|
* Emil Payment Service
|
|
6
|
-
* This service directly communicates with the various Payment Service Providers (PSPs)
|
|
6
|
+
* This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
|
|
7
7
|
*
|
|
8
8
|
* The version of the OpenAPI document: 1.0
|
|
9
9
|
* Contact: kontakt@emil.de
|
|
@@ -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
|
|
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.
|
|
97
97
|
* @summary Retrieve the Bank Transaction
|
|
98
98
|
* @param {string} code
|
|
99
99
|
* @param {string} [authorization] Bearer Token
|
|
@@ -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.
|
|
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.
|
|
254
254
|
* @summary List bank transactions
|
|
255
255
|
* @param {string} [authorization] Bearer Token
|
|
256
256
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
@@ -385,7 +385,7 @@ var BankTransactionApiFp = function (configuration) {
|
|
|
385
385
|
var localVarAxiosParamCreator = (0, exports.BankTransactionApiAxiosParamCreator)(configuration);
|
|
386
386
|
return {
|
|
387
387
|
/**
|
|
388
|
-
* Retrieves the details of the Bank Transaction that was previously created. Supply the unique Bank Transaction code
|
|
388
|
+
* 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.
|
|
389
389
|
* @summary Retrieve the Bank Transaction
|
|
390
390
|
* @param {string} code
|
|
391
391
|
* @param {string} [authorization] Bearer Token
|
|
@@ -450,7 +450,7 @@ var BankTransactionApiFp = function (configuration) {
|
|
|
450
450
|
});
|
|
451
451
|
},
|
|
452
452
|
/**
|
|
453
|
-
* Returns a list of bank transactions you have previously created.
|
|
453
|
+
* 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.
|
|
454
454
|
* @summary List bank transactions
|
|
455
455
|
* @param {string} [authorization] Bearer Token
|
|
456
456
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
@@ -509,7 +509,7 @@ var BankTransactionApiFactory = function (configuration, basePath, axios) {
|
|
|
509
509
|
var localVarFp = (0, exports.BankTransactionApiFp)(configuration);
|
|
510
510
|
return {
|
|
511
511
|
/**
|
|
512
|
-
* Retrieves the details of the Bank Transaction that was previously created. Supply the unique Bank Transaction code
|
|
512
|
+
* 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.
|
|
513
513
|
* @summary Retrieve the Bank Transaction
|
|
514
514
|
* @param {string} code
|
|
515
515
|
* @param {string} [authorization] Bearer Token
|
|
@@ -544,7 +544,7 @@ var BankTransactionApiFactory = function (configuration, basePath, axios) {
|
|
|
544
544
|
return localVarFp.linkBankTransaction(code, linkBankTransactionRequestDtoRest, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
545
545
|
},
|
|
546
546
|
/**
|
|
547
|
-
* Returns a list of bank transactions you have previously created.
|
|
547
|
+
* 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.
|
|
548
548
|
* @summary List bank transactions
|
|
549
549
|
* @param {string} [authorization] Bearer Token
|
|
550
550
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
@@ -587,7 +587,7 @@ var BankTransactionApi = /** @class */ (function (_super) {
|
|
|
587
587
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
588
588
|
}
|
|
589
589
|
/**
|
|
590
|
-
* Retrieves the details of the Bank Transaction that was previously created. Supply the unique Bank Transaction code
|
|
590
|
+
* 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.
|
|
591
591
|
* @summary Retrieve the Bank Transaction
|
|
592
592
|
* @param {BankTransactionApiGetBankTransactionRequest} requestParameters Request parameters.
|
|
593
593
|
* @param {*} [options] Override http request option.
|
|
@@ -623,7 +623,7 @@ var BankTransactionApi = /** @class */ (function (_super) {
|
|
|
623
623
|
return (0, exports.BankTransactionApiFp)(this.configuration).linkBankTransaction(requestParameters.code, requestParameters.linkBankTransactionRequestDtoRest, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
624
624
|
};
|
|
625
625
|
/**
|
|
626
|
-
* Returns a list of bank transactions you have previously created.
|
|
626
|
+
* 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.
|
|
627
627
|
* @summary List bank transactions
|
|
628
628
|
* @param {BankTransactionApiListBankTransactionsRequest} requestParameters Request parameters.
|
|
629
629
|
* @param {*} [options] Override http request option.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Emil Payment Service
|
|
3
|
-
* This service directly communicates with the various Payment Service Providers (PSPs)
|
|
3
|
+
* This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
|
|
4
4
|
*
|
|
5
5
|
* The version of the OpenAPI document: 1.0
|
|
6
6
|
* Contact: kontakt@emil.de
|
package/dist/api/default-api.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/**
|
|
5
5
|
* Emil Payment Service
|
|
6
|
-
* This service directly communicates with the various Payment Service Providers (PSPs)
|
|
6
|
+
* This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
|
|
7
7
|
*
|
|
8
8
|
* The version of the OpenAPI document: 1.0
|
|
9
9
|
* Contact: kontakt@emil.de
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Emil Payment Service
|
|
3
|
-
* This service directly communicates with the various Payment Service Providers (PSPs)
|
|
3
|
+
* This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
|
|
4
4
|
*
|
|
5
5
|
* The version of the OpenAPI document: 1.0
|
|
6
6
|
* Contact: kontakt@emil.de
|
|
@@ -12,10 +12,6 @@
|
|
|
12
12
|
import { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
|
|
13
13
|
import { Configuration } from '../configuration';
|
|
14
14
|
import { RequestArgs, BaseAPI } from '../base';
|
|
15
|
-
import { CreatePaymentMethodResponseClass } from '../models';
|
|
16
|
-
import { CreatePspPaymentMethodRequestDto } from '../models';
|
|
17
|
-
import { GetPaymentMethodResponseClass } from '../models';
|
|
18
|
-
import { ListPaymentMethodsResponseClass } from '../models';
|
|
19
15
|
/**
|
|
20
16
|
* PaymentMethodsApi - axios parameter creator
|
|
21
17
|
* @export
|
|
@@ -23,26 +19,35 @@ import { ListPaymentMethodsResponseClass } from '../models';
|
|
|
23
19
|
export declare const PaymentMethodsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
24
20
|
/**
|
|
25
21
|
* 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.
|
|
26
|
-
* @summary Create the payment
|
|
27
|
-
* @param {
|
|
22
|
+
* @summary Create the payment-method
|
|
23
|
+
* @param {object} body
|
|
28
24
|
* @param {string} [authorization] Bearer Token
|
|
29
25
|
* @param {*} [options] Override http request option.
|
|
30
26
|
* @throws {RequiredError}
|
|
31
27
|
*/
|
|
32
|
-
createPaymentMethod: (
|
|
28
|
+
createPaymentMethod: (body: object, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
29
|
+
/**
|
|
30
|
+
* Permanently deletes a payment method. Supply the unique payment method id that was returned when you created the payment method and this will delete it. It will also delete it on the corresponding payment service provider.
|
|
31
|
+
* @summary Delete a payment method
|
|
32
|
+
* @param {number} id Unique identifier for payment method
|
|
33
|
+
* @param {string} [authorization] Bearer Token
|
|
34
|
+
* @param {*} [options] Override http request option.
|
|
35
|
+
* @throws {RequiredError}
|
|
36
|
+
*/
|
|
37
|
+
deletePaymentMethod: (id: number, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
33
38
|
/**
|
|
34
39
|
* Retrieves the details of a payment method that was previously created. Supply the unique payment method code that was returned when you created the payment method and Emil Api will return the corresponding payment method information.
|
|
35
|
-
* @summary Retrieve
|
|
36
|
-
* @param {string} code
|
|
37
|
-
* @param {string}
|
|
40
|
+
* @summary Retrieve a payment method
|
|
41
|
+
* @param {string} code Unique identifier for the object.
|
|
42
|
+
* @param {string} expand Fields to expand response by
|
|
43
|
+
* @param {string} expand2 Fields to expand response by
|
|
38
44
|
* @param {string} [authorization] Bearer Token
|
|
39
|
-
* @param {string} [expand] Fields to expand response by
|
|
40
45
|
* @param {*} [options] Override http request option.
|
|
41
46
|
* @throws {RequiredError}
|
|
42
47
|
*/
|
|
43
|
-
getPaymentMethod: (code: string,
|
|
48
|
+
getPaymentMethod: (code: string, expand: string, expand2: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
44
49
|
/**
|
|
45
|
-
* Returns a list of payment methods you
|
|
50
|
+
* Returns a list of payment methods you’ve previously created. The payment methods are returned in sorted order, with the oldest payment appearing first. For more information about pagination, read the Pagination documentation.
|
|
46
51
|
* @summary List payment methods
|
|
47
52
|
* @param {string} [authorization] Bearer Token
|
|
48
53
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
@@ -64,26 +69,35 @@ export declare const PaymentMethodsApiAxiosParamCreator: (configuration?: Config
|
|
|
64
69
|
export declare const PaymentMethodsApiFp: (configuration?: Configuration) => {
|
|
65
70
|
/**
|
|
66
71
|
* 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.
|
|
67
|
-
* @summary Create the payment
|
|
68
|
-
* @param {
|
|
72
|
+
* @summary Create the payment-method
|
|
73
|
+
* @param {object} body
|
|
69
74
|
* @param {string} [authorization] Bearer Token
|
|
70
75
|
* @param {*} [options] Override http request option.
|
|
71
76
|
* @throws {RequiredError}
|
|
72
77
|
*/
|
|
73
|
-
createPaymentMethod(
|
|
78
|
+
createPaymentMethod(body: object, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
79
|
+
/**
|
|
80
|
+
* Permanently deletes a payment method. Supply the unique payment method id that was returned when you created the payment method and this will delete it. It will also delete it on the corresponding payment service provider.
|
|
81
|
+
* @summary Delete a payment method
|
|
82
|
+
* @param {number} id Unique identifier for payment method
|
|
83
|
+
* @param {string} [authorization] Bearer Token
|
|
84
|
+
* @param {*} [options] Override http request option.
|
|
85
|
+
* @throws {RequiredError}
|
|
86
|
+
*/
|
|
87
|
+
deletePaymentMethod(id: number, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
74
88
|
/**
|
|
75
89
|
* Retrieves the details of a payment method that was previously created. Supply the unique payment method code that was returned when you created the payment method and Emil Api will return the corresponding payment method information.
|
|
76
|
-
* @summary Retrieve
|
|
77
|
-
* @param {string} code
|
|
78
|
-
* @param {string}
|
|
90
|
+
* @summary Retrieve a payment method
|
|
91
|
+
* @param {string} code Unique identifier for the object.
|
|
92
|
+
* @param {string} expand Fields to expand response by
|
|
93
|
+
* @param {string} expand2 Fields to expand response by
|
|
79
94
|
* @param {string} [authorization] Bearer Token
|
|
80
|
-
* @param {string} [expand] Fields to expand response by
|
|
81
95
|
* @param {*} [options] Override http request option.
|
|
82
96
|
* @throws {RequiredError}
|
|
83
97
|
*/
|
|
84
|
-
getPaymentMethod(code: string,
|
|
98
|
+
getPaymentMethod(code: string, expand: string, expand2: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
85
99
|
/**
|
|
86
|
-
* Returns a list of payment methods you
|
|
100
|
+
* Returns a list of payment methods you’ve previously created. The payment methods are returned in sorted order, with the oldest payment appearing first. For more information about pagination, read the Pagination documentation.
|
|
87
101
|
* @summary List payment methods
|
|
88
102
|
* @param {string} [authorization] Bearer Token
|
|
89
103
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
@@ -96,7 +110,7 @@ export declare const PaymentMethodsApiFp: (configuration?: Configuration) => {
|
|
|
96
110
|
* @param {*} [options] Override http request option.
|
|
97
111
|
* @throws {RequiredError}
|
|
98
112
|
*/
|
|
99
|
-
listPaymentMethods(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
113
|
+
listPaymentMethods(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
100
114
|
};
|
|
101
115
|
/**
|
|
102
116
|
* PaymentMethodsApi - factory interface
|
|
@@ -105,26 +119,35 @@ export declare const PaymentMethodsApiFp: (configuration?: Configuration) => {
|
|
|
105
119
|
export declare const PaymentMethodsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
106
120
|
/**
|
|
107
121
|
* 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.
|
|
108
|
-
* @summary Create the payment
|
|
109
|
-
* @param {
|
|
122
|
+
* @summary Create the payment-method
|
|
123
|
+
* @param {object} body
|
|
110
124
|
* @param {string} [authorization] Bearer Token
|
|
111
125
|
* @param {*} [options] Override http request option.
|
|
112
126
|
* @throws {RequiredError}
|
|
113
127
|
*/
|
|
114
|
-
createPaymentMethod(
|
|
128
|
+
createPaymentMethod(body: object, authorization?: string, options?: any): AxiosPromise<void>;
|
|
129
|
+
/**
|
|
130
|
+
* Permanently deletes a payment method. Supply the unique payment method id that was returned when you created the payment method and this will delete it. It will also delete it on the corresponding payment service provider.
|
|
131
|
+
* @summary Delete a payment method
|
|
132
|
+
* @param {number} id Unique identifier for payment method
|
|
133
|
+
* @param {string} [authorization] Bearer Token
|
|
134
|
+
* @param {*} [options] Override http request option.
|
|
135
|
+
* @throws {RequiredError}
|
|
136
|
+
*/
|
|
137
|
+
deletePaymentMethod(id: number, authorization?: string, options?: any): AxiosPromise<void>;
|
|
115
138
|
/**
|
|
116
139
|
* Retrieves the details of a payment method that was previously created. Supply the unique payment method code that was returned when you created the payment method and Emil Api will return the corresponding payment method information.
|
|
117
|
-
* @summary Retrieve
|
|
118
|
-
* @param {string} code
|
|
119
|
-
* @param {string}
|
|
140
|
+
* @summary Retrieve a payment method
|
|
141
|
+
* @param {string} code Unique identifier for the object.
|
|
142
|
+
* @param {string} expand Fields to expand response by
|
|
143
|
+
* @param {string} expand2 Fields to expand response by
|
|
120
144
|
* @param {string} [authorization] Bearer Token
|
|
121
|
-
* @param {string} [expand] Fields to expand response by
|
|
122
145
|
* @param {*} [options] Override http request option.
|
|
123
146
|
* @throws {RequiredError}
|
|
124
147
|
*/
|
|
125
|
-
getPaymentMethod(code: string,
|
|
148
|
+
getPaymentMethod(code: string, expand: string, expand2: string, authorization?: string, options?: any): AxiosPromise<void>;
|
|
126
149
|
/**
|
|
127
|
-
* Returns a list of payment methods you
|
|
150
|
+
* Returns a list of payment methods you’ve previously created. The payment methods are returned in sorted order, with the oldest payment appearing first. For more information about pagination, read the Pagination documentation.
|
|
128
151
|
* @summary List payment methods
|
|
129
152
|
* @param {string} [authorization] Bearer Token
|
|
130
153
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
@@ -137,7 +160,7 @@ export declare const PaymentMethodsApiFactory: (configuration?: Configuration, b
|
|
|
137
160
|
* @param {*} [options] Override http request option.
|
|
138
161
|
* @throws {RequiredError}
|
|
139
162
|
*/
|
|
140
|
-
listPaymentMethods(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options?: any): AxiosPromise<
|
|
163
|
+
listPaymentMethods(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options?: any): AxiosPromise<void>;
|
|
141
164
|
};
|
|
142
165
|
/**
|
|
143
166
|
* Request parameters for createPaymentMethod operation in PaymentMethodsApi.
|
|
@@ -147,10 +170,10 @@ export declare const PaymentMethodsApiFactory: (configuration?: Configuration, b
|
|
|
147
170
|
export interface PaymentMethodsApiCreatePaymentMethodRequest {
|
|
148
171
|
/**
|
|
149
172
|
*
|
|
150
|
-
* @type {
|
|
173
|
+
* @type {object}
|
|
151
174
|
* @memberof PaymentMethodsApiCreatePaymentMethod
|
|
152
175
|
*/
|
|
153
|
-
readonly
|
|
176
|
+
readonly body: object;
|
|
154
177
|
/**
|
|
155
178
|
* Bearer Token
|
|
156
179
|
* @type {string}
|
|
@@ -158,6 +181,25 @@ export interface PaymentMethodsApiCreatePaymentMethodRequest {
|
|
|
158
181
|
*/
|
|
159
182
|
readonly authorization?: string;
|
|
160
183
|
}
|
|
184
|
+
/**
|
|
185
|
+
* Request parameters for deletePaymentMethod operation in PaymentMethodsApi.
|
|
186
|
+
* @export
|
|
187
|
+
* @interface PaymentMethodsApiDeletePaymentMethodRequest
|
|
188
|
+
*/
|
|
189
|
+
export interface PaymentMethodsApiDeletePaymentMethodRequest {
|
|
190
|
+
/**
|
|
191
|
+
* Unique identifier for payment method
|
|
192
|
+
* @type {number}
|
|
193
|
+
* @memberof PaymentMethodsApiDeletePaymentMethod
|
|
194
|
+
*/
|
|
195
|
+
readonly id: number;
|
|
196
|
+
/**
|
|
197
|
+
* Bearer Token
|
|
198
|
+
* @type {string}
|
|
199
|
+
* @memberof PaymentMethodsApiDeletePaymentMethod
|
|
200
|
+
*/
|
|
201
|
+
readonly authorization?: string;
|
|
202
|
+
}
|
|
161
203
|
/**
|
|
162
204
|
* Request parameters for getPaymentMethod operation in PaymentMethodsApi.
|
|
163
205
|
* @export
|
|
@@ -165,29 +207,29 @@ export interface PaymentMethodsApiCreatePaymentMethodRequest {
|
|
|
165
207
|
*/
|
|
166
208
|
export interface PaymentMethodsApiGetPaymentMethodRequest {
|
|
167
209
|
/**
|
|
168
|
-
*
|
|
210
|
+
* Unique identifier for the object.
|
|
169
211
|
* @type {string}
|
|
170
212
|
* @memberof PaymentMethodsApiGetPaymentMethod
|
|
171
213
|
*/
|
|
172
214
|
readonly code: string;
|
|
173
215
|
/**
|
|
174
|
-
*
|
|
216
|
+
* Fields to expand response by
|
|
175
217
|
* @type {string}
|
|
176
218
|
* @memberof PaymentMethodsApiGetPaymentMethod
|
|
177
219
|
*/
|
|
178
|
-
readonly
|
|
220
|
+
readonly expand: string;
|
|
179
221
|
/**
|
|
180
|
-
*
|
|
222
|
+
* Fields to expand response by
|
|
181
223
|
* @type {string}
|
|
182
224
|
* @memberof PaymentMethodsApiGetPaymentMethod
|
|
183
225
|
*/
|
|
184
|
-
readonly
|
|
226
|
+
readonly expand2: string;
|
|
185
227
|
/**
|
|
186
|
-
*
|
|
228
|
+
* Bearer Token
|
|
187
229
|
* @type {string}
|
|
188
230
|
* @memberof PaymentMethodsApiGetPaymentMethod
|
|
189
231
|
*/
|
|
190
|
-
readonly
|
|
232
|
+
readonly authorization?: string;
|
|
191
233
|
}
|
|
192
234
|
/**
|
|
193
235
|
* Request parameters for listPaymentMethods operation in PaymentMethodsApi.
|
|
@@ -253,29 +295,38 @@ export interface PaymentMethodsApiListPaymentMethodsRequest {
|
|
|
253
295
|
export declare class PaymentMethodsApi extends BaseAPI {
|
|
254
296
|
/**
|
|
255
297
|
* 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.
|
|
256
|
-
* @summary Create the payment
|
|
298
|
+
* @summary Create the payment-method
|
|
257
299
|
* @param {PaymentMethodsApiCreatePaymentMethodRequest} requestParameters Request parameters.
|
|
258
300
|
* @param {*} [options] Override http request option.
|
|
259
301
|
* @throws {RequiredError}
|
|
260
302
|
* @memberof PaymentMethodsApi
|
|
261
303
|
*/
|
|
262
|
-
createPaymentMethod(requestParameters: PaymentMethodsApiCreatePaymentMethodRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
304
|
+
createPaymentMethod(requestParameters: PaymentMethodsApiCreatePaymentMethodRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
305
|
+
/**
|
|
306
|
+
* Permanently deletes a payment method. Supply the unique payment method id that was returned when you created the payment method and this will delete it. It will also delete it on the corresponding payment service provider.
|
|
307
|
+
* @summary Delete a payment method
|
|
308
|
+
* @param {PaymentMethodsApiDeletePaymentMethodRequest} requestParameters Request parameters.
|
|
309
|
+
* @param {*} [options] Override http request option.
|
|
310
|
+
* @throws {RequiredError}
|
|
311
|
+
* @memberof PaymentMethodsApi
|
|
312
|
+
*/
|
|
313
|
+
deletePaymentMethod(requestParameters: PaymentMethodsApiDeletePaymentMethodRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
263
314
|
/**
|
|
264
315
|
* Retrieves the details of a payment method that was previously created. Supply the unique payment method code that was returned when you created the payment method and Emil Api will return the corresponding payment method information.
|
|
265
|
-
* @summary Retrieve
|
|
316
|
+
* @summary Retrieve a payment method
|
|
266
317
|
* @param {PaymentMethodsApiGetPaymentMethodRequest} requestParameters Request parameters.
|
|
267
318
|
* @param {*} [options] Override http request option.
|
|
268
319
|
* @throws {RequiredError}
|
|
269
320
|
* @memberof PaymentMethodsApi
|
|
270
321
|
*/
|
|
271
|
-
getPaymentMethod(requestParameters: PaymentMethodsApiGetPaymentMethodRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
322
|
+
getPaymentMethod(requestParameters: PaymentMethodsApiGetPaymentMethodRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
272
323
|
/**
|
|
273
|
-
* Returns a list of payment methods you
|
|
324
|
+
* Returns a list of payment methods you’ve previously created. The payment methods are returned in sorted order, with the oldest payment appearing first. For more information about pagination, read the Pagination documentation.
|
|
274
325
|
* @summary List payment methods
|
|
275
326
|
* @param {PaymentMethodsApiListPaymentMethodsRequest} requestParameters Request parameters.
|
|
276
327
|
* @param {*} [options] Override http request option.
|
|
277
328
|
* @throws {RequiredError}
|
|
278
329
|
* @memberof PaymentMethodsApi
|
|
279
330
|
*/
|
|
280
|
-
listPaymentMethods(requestParameters?: PaymentMethodsApiListPaymentMethodsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
331
|
+
listPaymentMethods(requestParameters?: PaymentMethodsApiListPaymentMethodsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
281
332
|
}
|