@emilgroup/payment-sdk 1.7.1-beta.1 → 1.8.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/dist/models/complete-adyen-payment-setup-request-dto.d.ts +12 -12
- package/dist/models/complete-stripe-payment-setup-request-dto.d.ts +0 -19
- package/dist/models/payment-method-class.d.ts +0 -6
- package/models/complete-adyen-payment-setup-request-dto.ts +12 -12
- package/models/complete-stripe-payment-setup-request-dto.ts +0 -19
- package/models/payment-method-class.ts +0 -6
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -17,11 +17,11 @@ Although this package can be used in both TypeScript and JavaScript, it is inten
|
|
|
17
17
|
Navigate to the folder of your consuming project and run one of the following commands:
|
|
18
18
|
|
|
19
19
|
```
|
|
20
|
-
npm install @emilgroup/payment-sdk@1.
|
|
20
|
+
npm install @emilgroup/payment-sdk@1.8.0 --save
|
|
21
21
|
```
|
|
22
22
|
or
|
|
23
23
|
```
|
|
24
|
-
yarn add @emilgroup/payment-sdk@1.
|
|
24
|
+
yarn add @emilgroup/payment-sdk@1.8.0
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
And then you can import `PaymentsApi`.
|
|
@@ -29,18 +29,6 @@ export interface CompleteAdyenPaymentSetupRequestDto {
|
|
|
29
29
|
* @memberof CompleteAdyenPaymentSetupRequestDto
|
|
30
30
|
*/
|
|
31
31
|
'paymentMethodType': CompleteAdyenPaymentSetupRequestDtoPaymentMethodTypeEnum;
|
|
32
|
-
/**
|
|
33
|
-
* Card details.
|
|
34
|
-
* @type {CardDetailsDto}
|
|
35
|
-
* @memberof CompleteAdyenPaymentSetupRequestDto
|
|
36
|
-
*/
|
|
37
|
-
'cardDetails'?: CardDetailsDto;
|
|
38
|
-
/**
|
|
39
|
-
* SEPA direct details.
|
|
40
|
-
* @type {SepaDirectDto}
|
|
41
|
-
* @memberof CompleteAdyenPaymentSetupRequestDto
|
|
42
|
-
*/
|
|
43
|
-
'sepaDetails'?: SepaDirectDto;
|
|
44
32
|
/**
|
|
45
33
|
* Unique identifier of the lead that this object belongs to.
|
|
46
34
|
* @type {string}
|
|
@@ -77,6 +65,18 @@ export interface CompleteAdyenPaymentSetupRequestDto {
|
|
|
77
65
|
* @memberof CompleteAdyenPaymentSetupRequestDto
|
|
78
66
|
*/
|
|
79
67
|
'email': string;
|
|
68
|
+
/**
|
|
69
|
+
*
|
|
70
|
+
* @type {CardDetailsDto}
|
|
71
|
+
* @memberof CompleteAdyenPaymentSetupRequestDto
|
|
72
|
+
*/
|
|
73
|
+
'cardDetails'?: CardDetailsDto;
|
|
74
|
+
/**
|
|
75
|
+
*
|
|
76
|
+
* @type {SepaDirectDto}
|
|
77
|
+
* @memberof CompleteAdyenPaymentSetupRequestDto
|
|
78
|
+
*/
|
|
79
|
+
'sepaDetails'?: SepaDirectDto;
|
|
80
80
|
}
|
|
81
81
|
export declare const CompleteAdyenPaymentSetupRequestDtoPaymentMethodTypeEnum: {
|
|
82
82
|
readonly Paypal: "paypal";
|
|
@@ -9,7 +9,6 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import { SepaDirectDto } from './sepa-direct-dto';
|
|
13
12
|
/**
|
|
14
13
|
*
|
|
15
14
|
* @export
|
|
@@ -58,24 +57,6 @@ export interface CompleteStripePaymentSetupRequestDto {
|
|
|
58
57
|
* @memberof CompleteStripePaymentSetupRequestDto
|
|
59
58
|
*/
|
|
60
59
|
'paymentMethodType': CompleteStripePaymentSetupRequestDtoPaymentMethodTypeEnum;
|
|
61
|
-
/**
|
|
62
|
-
* The account\'s type.
|
|
63
|
-
* @type {string}
|
|
64
|
-
* @memberof CompleteStripePaymentSetupRequestDto
|
|
65
|
-
*/
|
|
66
|
-
'accountType'?: string;
|
|
67
|
-
/**
|
|
68
|
-
* The account\'s company name.
|
|
69
|
-
* @type {string}
|
|
70
|
-
* @memberof CompleteStripePaymentSetupRequestDto
|
|
71
|
-
*/
|
|
72
|
-
'companyName'?: string;
|
|
73
|
-
/**
|
|
74
|
-
* SEPA direct details
|
|
75
|
-
* @type {SepaDirectDto}
|
|
76
|
-
* @memberof CompleteStripePaymentSetupRequestDto
|
|
77
|
-
*/
|
|
78
|
-
'sepaDetails'?: SepaDirectDto;
|
|
79
60
|
}
|
|
80
61
|
export declare const CompleteStripePaymentSetupRequestDtoPaymentMethodTypeEnum: {
|
|
81
62
|
readonly Paypal: "paypal";
|
|
@@ -69,12 +69,6 @@ export interface PaymentMethodClass {
|
|
|
69
69
|
* @memberof PaymentMethodClass
|
|
70
70
|
*/
|
|
71
71
|
'productSlug'?: string;
|
|
72
|
-
/**
|
|
73
|
-
* Payment data details. Stored only for some payment method types.
|
|
74
|
-
* @type {object}
|
|
75
|
-
* @memberof PaymentMethodClass
|
|
76
|
-
*/
|
|
77
|
-
'details'?: object;
|
|
78
72
|
/**
|
|
79
73
|
* Optional field contain extra information
|
|
80
74
|
* @type {object}
|
|
@@ -34,18 +34,6 @@ export interface CompleteAdyenPaymentSetupRequestDto {
|
|
|
34
34
|
* @memberof CompleteAdyenPaymentSetupRequestDto
|
|
35
35
|
*/
|
|
36
36
|
'paymentMethodType': CompleteAdyenPaymentSetupRequestDtoPaymentMethodTypeEnum;
|
|
37
|
-
/**
|
|
38
|
-
* Card details.
|
|
39
|
-
* @type {CardDetailsDto}
|
|
40
|
-
* @memberof CompleteAdyenPaymentSetupRequestDto
|
|
41
|
-
*/
|
|
42
|
-
'cardDetails'?: CardDetailsDto;
|
|
43
|
-
/**
|
|
44
|
-
* SEPA direct details.
|
|
45
|
-
* @type {SepaDirectDto}
|
|
46
|
-
* @memberof CompleteAdyenPaymentSetupRequestDto
|
|
47
|
-
*/
|
|
48
|
-
'sepaDetails'?: SepaDirectDto;
|
|
49
37
|
/**
|
|
50
38
|
* Unique identifier of the lead that this object belongs to.
|
|
51
39
|
* @type {string}
|
|
@@ -82,6 +70,18 @@ export interface CompleteAdyenPaymentSetupRequestDto {
|
|
|
82
70
|
* @memberof CompleteAdyenPaymentSetupRequestDto
|
|
83
71
|
*/
|
|
84
72
|
'email': string;
|
|
73
|
+
/**
|
|
74
|
+
*
|
|
75
|
+
* @type {CardDetailsDto}
|
|
76
|
+
* @memberof CompleteAdyenPaymentSetupRequestDto
|
|
77
|
+
*/
|
|
78
|
+
'cardDetails'?: CardDetailsDto;
|
|
79
|
+
/**
|
|
80
|
+
*
|
|
81
|
+
* @type {SepaDirectDto}
|
|
82
|
+
* @memberof CompleteAdyenPaymentSetupRequestDto
|
|
83
|
+
*/
|
|
84
|
+
'sepaDetails'?: SepaDirectDto;
|
|
85
85
|
}
|
|
86
86
|
|
|
87
87
|
export const CompleteAdyenPaymentSetupRequestDtoPaymentMethodTypeEnum = {
|
|
@@ -13,7 +13,6 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
|
|
16
|
-
import { SepaDirectDto } from './sepa-direct-dto';
|
|
17
16
|
|
|
18
17
|
/**
|
|
19
18
|
*
|
|
@@ -63,24 +62,6 @@ export interface CompleteStripePaymentSetupRequestDto {
|
|
|
63
62
|
* @memberof CompleteStripePaymentSetupRequestDto
|
|
64
63
|
*/
|
|
65
64
|
'paymentMethodType': CompleteStripePaymentSetupRequestDtoPaymentMethodTypeEnum;
|
|
66
|
-
/**
|
|
67
|
-
* The account\'s type.
|
|
68
|
-
* @type {string}
|
|
69
|
-
* @memberof CompleteStripePaymentSetupRequestDto
|
|
70
|
-
*/
|
|
71
|
-
'accountType'?: string;
|
|
72
|
-
/**
|
|
73
|
-
* The account\'s company name.
|
|
74
|
-
* @type {string}
|
|
75
|
-
* @memberof CompleteStripePaymentSetupRequestDto
|
|
76
|
-
*/
|
|
77
|
-
'companyName'?: string;
|
|
78
|
-
/**
|
|
79
|
-
* SEPA direct details
|
|
80
|
-
* @type {SepaDirectDto}
|
|
81
|
-
* @memberof CompleteStripePaymentSetupRequestDto
|
|
82
|
-
*/
|
|
83
|
-
'sepaDetails'?: SepaDirectDto;
|
|
84
65
|
}
|
|
85
66
|
|
|
86
67
|
export const CompleteStripePaymentSetupRequestDtoPaymentMethodTypeEnum = {
|
|
@@ -74,12 +74,6 @@ 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;
|
|
83
77
|
/**
|
|
84
78
|
* Optional field contain extra information
|
|
85
79
|
* @type {object}
|