@emilgroup/payment-sdk 1.7.0 → 1.7.1-beta.1
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 +4 -0
- package/README.md +2 -2
- package/api/payment-methods-api.ts +4 -4
- package/api/payment-reminders-api.ts +4 -4
- package/api/webhooks-api.ts +25 -10
- package/dist/api/payment-methods-api.d.ts +4 -4
- package/dist/api/payment-methods-api.js +3 -3
- package/dist/api/payment-reminders-api.d.ts +4 -4
- package/dist/api/payment-reminders-api.js +3 -3
- package/dist/api/webhooks-api.d.ts +16 -7
- package/dist/api/webhooks-api.js +16 -9
- package/dist/models/card-details-dto.d.ts +42 -0
- package/dist/models/card-details-dto.js +15 -0
- package/dist/models/complete-adyen-payment-setup-request-dto.d.ts +97 -0
- package/dist/models/complete-adyen-payment-setup-request-dto.js +32 -0
- package/dist/models/complete-payment-setup-request-dto.d.ts +7 -0
- package/dist/models/complete-stripe-payment-setup-request-dto.d.ts +19 -0
- package/dist/models/index.d.ts +4 -0
- package/dist/models/index.js +4 -0
- package/dist/models/initiate-adyen-payment-setup-request-dto.d.ts +30 -0
- package/dist/models/initiate-adyen-payment-setup-request-dto.js +15 -0
- package/dist/models/initiate-adyen-payment-setup-response-class.d.ts +42 -0
- package/dist/models/initiate-adyen-payment-setup-response-class.js +15 -0
- package/dist/models/initiate-payment-setup-request-dto.d.ts +7 -0
- package/dist/models/initiate-payment-setup-response-class.d.ts +7 -0
- package/dist/models/payment-method-class.d.ts +6 -0
- package/dist/models/validate-pspconfig-request-dto.d.ts +1 -0
- package/dist/models/validate-pspconfig-request-dto.js +2 -1
- package/models/card-details-dto.ts +48 -0
- package/models/complete-adyen-payment-setup-request-dto.ts +106 -0
- package/models/complete-payment-setup-request-dto.ts +7 -0
- package/models/complete-stripe-payment-setup-request-dto.ts +19 -0
- package/models/index.ts +4 -0
- package/models/initiate-adyen-payment-setup-request-dto.ts +36 -0
- package/models/initiate-adyen-payment-setup-response-class.ts +48 -0
- package/models/initiate-payment-setup-request-dto.ts +7 -0
- package/models/initiate-payment-setup-response-class.ts +7 -0
- package/models/payment-method-class.ts +6 -0
- package/models/validate-pspconfig-request-dto.ts +2 -1
- package/package.json +1 -1
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Emil Payment Service
|
|
5
|
+
* 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.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
* Contact: kontakt@emil.de
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
* @interface InitiateAdyenPaymentSetupResponseClass
|
|
21
|
+
*/
|
|
22
|
+
export interface InitiateAdyenPaymentSetupResponseClass {
|
|
23
|
+
/**
|
|
24
|
+
* The client key associated with the Adyen account.
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof InitiateAdyenPaymentSetupResponseClass
|
|
27
|
+
*/
|
|
28
|
+
'clientKey': string;
|
|
29
|
+
/**
|
|
30
|
+
* A unique reference for the shopper.
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof InitiateAdyenPaymentSetupResponseClass
|
|
33
|
+
*/
|
|
34
|
+
'shopperReference': string;
|
|
35
|
+
/**
|
|
36
|
+
* The environment in which the payment request is being made (e.g., \"TEST\" or \"LIVE\").
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof InitiateAdyenPaymentSetupResponseClass
|
|
39
|
+
*/
|
|
40
|
+
'environment': string;
|
|
41
|
+
/**
|
|
42
|
+
* The country code associated with the shopper\'s payment details.
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof InitiateAdyenPaymentSetupResponseClass
|
|
45
|
+
*/
|
|
46
|
+
'country'?: string;
|
|
47
|
+
}
|
|
48
|
+
|
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
|
|
16
|
+
import { InitiateAdyenPaymentSetupRequestDto } from './initiate-adyen-payment-setup-request-dto';
|
|
16
17
|
import { InitiateBraintreePaymentSetupRequestDto } from './initiate-braintree-payment-setup-request-dto';
|
|
17
18
|
import { InitiateStripePaymentSetupRequestDto } from './initiate-stripe-payment-setup-request-dto';
|
|
18
19
|
|
|
@@ -46,6 +47,12 @@ export interface InitiatePaymentSetupRequestDto {
|
|
|
46
47
|
* @memberof InitiatePaymentSetupRequestDto
|
|
47
48
|
*/
|
|
48
49
|
'eis'?: object;
|
|
50
|
+
/**
|
|
51
|
+
*
|
|
52
|
+
* @type {InitiateAdyenPaymentSetupRequestDto}
|
|
53
|
+
* @memberof InitiatePaymentSetupRequestDto
|
|
54
|
+
*/
|
|
55
|
+
'adyen'?: InitiateAdyenPaymentSetupRequestDto;
|
|
49
56
|
/**
|
|
50
57
|
*
|
|
51
58
|
* @type {string}
|
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
|
|
16
|
+
import { InitiateAdyenPaymentSetupResponseClass } from './initiate-adyen-payment-setup-response-class';
|
|
16
17
|
import { InitiateBraintreePaymentSetupResponseClass } from './initiate-braintree-payment-setup-response-class';
|
|
17
18
|
import { InitiateStripePaymentSetupResponseClass } from './initiate-stripe-payment-setup-response-class';
|
|
18
19
|
|
|
@@ -34,5 +35,11 @@ export interface InitiatePaymentSetupResponseClass {
|
|
|
34
35
|
* @memberof InitiatePaymentSetupResponseClass
|
|
35
36
|
*/
|
|
36
37
|
'braintree': InitiateBraintreePaymentSetupResponseClass;
|
|
38
|
+
/**
|
|
39
|
+
* Adyen response after generating client token.
|
|
40
|
+
* @type {InitiateAdyenPaymentSetupResponseClass}
|
|
41
|
+
* @memberof InitiatePaymentSetupResponseClass
|
|
42
|
+
*/
|
|
43
|
+
'adyen': InitiateAdyenPaymentSetupResponseClass;
|
|
37
44
|
}
|
|
38
45
|
|
|
@@ -74,6 +74,12 @@ export interface PaymentMethodClass {
|
|
|
74
74
|
* @memberof PaymentMethodClass
|
|
75
75
|
*/
|
|
76
76
|
'productSlug'?: string;
|
|
77
|
+
/**
|
|
78
|
+
* Payment data details. Stored only for some payment method types.
|
|
79
|
+
* @type {object}
|
|
80
|
+
* @memberof PaymentMethodClass
|
|
81
|
+
*/
|
|
82
|
+
'details'?: object;
|
|
77
83
|
/**
|
|
78
84
|
* Optional field contain extra information
|
|
79
85
|
* @type {object}
|
|
@@ -44,7 +44,8 @@ export const ValidatePSPConfigRequestDtoTypeEnum = {
|
|
|
44
44
|
Braintree: 'braintree',
|
|
45
45
|
Stripe: 'stripe',
|
|
46
46
|
B4u: 'b4u',
|
|
47
|
-
Eis: 'eis'
|
|
47
|
+
Eis: 'eis',
|
|
48
|
+
Adyen: 'adyen'
|
|
48
49
|
} as const;
|
|
49
50
|
|
|
50
51
|
export type ValidatePSPConfigRequestDtoTypeEnum = typeof ValidatePSPConfigRequestDtoTypeEnum[keyof typeof ValidatePSPConfigRequestDtoTypeEnum];
|