@emilgroup/payment-sdk-node 1.6.0 → 1.7.0
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/payments-api.ts +18 -16
- package/models/create-payment-request-dto.ts +18 -0
- package/models/initiate-payment-setup-request-dto.ts +6 -0
- package/models/payment-class.ts +12 -0
- package/models/validate-pspconfig-request-dto.ts +2 -1
- package/package.json +2 -2
- package/dist/api/bank-accounts-api.d.ts +0 -197
- package/dist/api/bank-accounts-api.js +0 -351
- package/dist/api/default-api.d.ts +0 -66
- package/dist/api/default-api.js +0 -200
- package/dist/api/payment-methods-api.d.ts +0 -327
- package/dist/api/payment-methods-api.js +0 -551
- package/dist/api/payment-reminders-api.d.ts +0 -317
- package/dist/api/payment-reminders-api.js +0 -542
- package/dist/api/payment-service-providers-api.d.ts +0 -93
- package/dist/api/payment-service-providers-api.js +0 -224
- package/dist/api/payment-setup-api.d.ts +0 -146
- package/dist/api/payment-setup-api.js +0 -313
- package/dist/api/payments-api.d.ts +0 -281
- package/dist/api/payments-api.js +0 -463
- package/dist/api/webhooks-api.d.ts +0 -91
- package/dist/api/webhooks-api.js +0 -213
- package/dist/api.d.ts +0 -19
- package/dist/api.js +0 -37
- package/dist/base.d.ts +0 -78
- package/dist/base.js +0 -394
- package/dist/common.d.ts +0 -92
- package/dist/common.js +0 -277
- package/dist/configuration.d.ts +0 -90
- package/dist/configuration.js +0 -44
- package/dist/index.d.ts +0 -15
- package/dist/index.js +0 -36
- package/dist/models/bank-account-class.d.ts +0 -54
- 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 -30
- 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-reminder-request-dto.d.ts +0 -63
- package/dist/models/create-payment-reminder-request-dto.js +0 -24
- package/dist/models/create-payment-request-dto.d.ts +0 -54
- package/dist/models/create-payment-request-dto.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-request-dto.d.ts +0 -30
- package/dist/models/deactivate-payment-reminder-request-dto.js +0 -21
- 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/get-request-dto.d.ts +0 -30
- package/dist/models/get-request-dto.js +0 -15
- package/dist/models/index.d.ts +0 -37
- package/dist/models/index.js +0 -53
- 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 -38
- 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/inline-response200.d.ts +0 -54
- package/dist/models/inline-response200.js +0 -15
- package/dist/models/inline-response503.d.ts +0 -54
- package/dist/models/inline-response503.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 -85
- package/dist/models/payment-class.js +0 -15
- package/dist/models/payment-method-class.d.ts +0 -60
- package/dist/models/payment-method-class.js +0 -15
- package/dist/models/payment-reminder-class.d.ts +0 -108
- package/dist/models/payment-reminder-class.js +0 -32
- package/dist/models/sepa-direct-dto.d.ts +0 -24
- package/dist/models/sepa-direct-dto.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/transaction-class.d.ts +0 -54
- package/dist/models/transaction-class.js +0 -15
- package/dist/models/validate-pspconfig-request-dto.d.ts +0 -42
- package/dist/models/validate-pspconfig-request-dto.js +0 -21
- package/dist/models/validate-pspconfig-response-class.d.ts +0 -24
- package/dist/models/validate-pspconfig-response-class.js +0 -15
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* Emil Payment Service
|
|
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
|
-
*
|
|
8
|
-
* The version of the OpenAPI document: 1.0
|
|
9
|
-
* Contact: kontakt@emil.de
|
|
10
|
-
*
|
|
11
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
-
* https://openapi-generator.tech
|
|
13
|
-
* Do not edit the class manually.
|
|
14
|
-
*/
|
|
15
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Emil Payment Service
|
|
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
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0
|
|
6
|
-
* Contact: kontakt@emil.de
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
/**
|
|
13
|
-
*
|
|
14
|
-
* @export
|
|
15
|
-
* @interface TransactionClass
|
|
16
|
-
*/
|
|
17
|
-
export interface TransactionClass {
|
|
18
|
-
/**
|
|
19
|
-
* Internal unique identifier for the object. You should not have to use this, use code instead.
|
|
20
|
-
* @type {number}
|
|
21
|
-
* @memberof TransactionClass
|
|
22
|
-
*/
|
|
23
|
-
'id': number;
|
|
24
|
-
/**
|
|
25
|
-
* Unique identifier for transaction.
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof TransactionClass
|
|
28
|
-
*/
|
|
29
|
-
'code': string;
|
|
30
|
-
/**
|
|
31
|
-
* Reference to the payment id.
|
|
32
|
-
* @type {number}
|
|
33
|
-
* @memberof TransactionClass
|
|
34
|
-
*/
|
|
35
|
-
'paymentId': number;
|
|
36
|
-
/**
|
|
37
|
-
* Webhook associated to that transaction. Webhooks
|
|
38
|
-
* @type {number}
|
|
39
|
-
* @memberof TransactionClass
|
|
40
|
-
*/
|
|
41
|
-
'webhookId': number;
|
|
42
|
-
/**
|
|
43
|
-
* Status of the transaction. Can be one of the following: \'succeeded\', \'pending\', \'failed\', \'disputed\'. }
|
|
44
|
-
* @type {string}
|
|
45
|
-
* @memberof TransactionClass
|
|
46
|
-
*/
|
|
47
|
-
'status': string;
|
|
48
|
-
/**
|
|
49
|
-
* Time at which the object was created.
|
|
50
|
-
* @type {string}
|
|
51
|
-
* @memberof TransactionClass
|
|
52
|
-
*/
|
|
53
|
-
'createdAt': string;
|
|
54
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* Emil Payment Service
|
|
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
|
-
*
|
|
8
|
-
* The version of the OpenAPI document: 1.0
|
|
9
|
-
* Contact: kontakt@emil.de
|
|
10
|
-
*
|
|
11
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
-
* https://openapi-generator.tech
|
|
13
|
-
* Do not edit the class manually.
|
|
14
|
-
*/
|
|
15
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Emil Payment Service
|
|
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
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0
|
|
6
|
-
* Contact: kontakt@emil.de
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
/**
|
|
13
|
-
*
|
|
14
|
-
* @export
|
|
15
|
-
* @interface ValidatePSPConfigRequestDto
|
|
16
|
-
*/
|
|
17
|
-
export interface ValidatePSPConfigRequestDto {
|
|
18
|
-
/**
|
|
19
|
-
* Payment service provider type.
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof ValidatePSPConfigRequestDto
|
|
22
|
-
*/
|
|
23
|
-
'type': ValidatePSPConfigRequestDtoTypeEnum;
|
|
24
|
-
/**
|
|
25
|
-
* Map containing various necessary keys to properly use the payment service provider. In the form of <api key name, api key value>.
|
|
26
|
-
* @type {object}
|
|
27
|
-
* @memberof ValidatePSPConfigRequestDto
|
|
28
|
-
*/
|
|
29
|
-
'apiKeys': object;
|
|
30
|
-
/**
|
|
31
|
-
* List of payment methods that should be accepted by the payment service provider.
|
|
32
|
-
* @type {Array<string>}
|
|
33
|
-
* @memberof ValidatePSPConfigRequestDto
|
|
34
|
-
*/
|
|
35
|
-
'paymentMethods': Array<string>;
|
|
36
|
-
}
|
|
37
|
-
export declare const ValidatePSPConfigRequestDtoTypeEnum: {
|
|
38
|
-
readonly Braintree: "braintree";
|
|
39
|
-
readonly Stripe: "stripe";
|
|
40
|
-
readonly B4u: "b4u";
|
|
41
|
-
};
|
|
42
|
-
export type ValidatePSPConfigRequestDtoTypeEnum = typeof ValidatePSPConfigRequestDtoTypeEnum[keyof typeof ValidatePSPConfigRequestDtoTypeEnum];
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* Emil Payment Service
|
|
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
|
-
*
|
|
8
|
-
* The version of the OpenAPI document: 1.0
|
|
9
|
-
* Contact: kontakt@emil.de
|
|
10
|
-
*
|
|
11
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
-
* https://openapi-generator.tech
|
|
13
|
-
* Do not edit the class manually.
|
|
14
|
-
*/
|
|
15
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.ValidatePSPConfigRequestDtoTypeEnum = void 0;
|
|
17
|
-
exports.ValidatePSPConfigRequestDtoTypeEnum = {
|
|
18
|
-
Braintree: 'braintree',
|
|
19
|
-
Stripe: 'stripe',
|
|
20
|
-
B4u: 'b4u'
|
|
21
|
-
};
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Emil Payment Service
|
|
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
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0
|
|
6
|
-
* Contact: kontakt@emil.de
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
/**
|
|
13
|
-
*
|
|
14
|
-
* @export
|
|
15
|
-
* @interface ValidatePSPConfigResponseClass
|
|
16
|
-
*/
|
|
17
|
-
export interface ValidatePSPConfigResponseClass {
|
|
18
|
-
/**
|
|
19
|
-
* Returns if configuration is valid or not.
|
|
20
|
-
* @type {boolean}
|
|
21
|
-
* @memberof ValidatePSPConfigResponseClass
|
|
22
|
-
*/
|
|
23
|
-
'valid': boolean;
|
|
24
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* Emil Payment Service
|
|
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
|
-
*
|
|
8
|
-
* The version of the OpenAPI document: 1.0
|
|
9
|
-
* Contact: kontakt@emil.de
|
|
10
|
-
*
|
|
11
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
-
* https://openapi-generator.tech
|
|
13
|
-
* Do not edit the class manually.
|
|
14
|
-
*/
|
|
15
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|