@emilgroup/payment-sdk 1.6.1-beta.4 → 1.6.1-beta.6
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 +1 -0
- package/README.md +2 -2
- 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 +44 -6
- package/dist/models/index.d.ts +1 -0
- package/dist/models/index.js +1 -0
- package/models/card-details-dto.ts +48 -0
- package/models/complete-adyen-payment-setup-request-dto.ts +44 -6
- package/models/index.ts +1 -0
- package/package.json +1 -1
package/.openapi-generator/FILES
CHANGED
|
@@ -24,6 +24,7 @@ models/bank-transaction-class-without-expand-properties.ts
|
|
|
24
24
|
models/bank-transaction-class.ts
|
|
25
25
|
models/billing-profile-dto.ts
|
|
26
26
|
models/billing-profile-limited-response-dto.ts
|
|
27
|
+
models/card-details-dto.ts
|
|
27
28
|
models/complete-adyen-payment-setup-request-dto.ts
|
|
28
29
|
models/complete-braintree-payment-setup-request-dto.ts
|
|
29
30
|
models/complete-payment-setup-request-dto.ts
|
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.6.1-beta.
|
|
20
|
+
npm install @emilgroup/payment-sdk@1.6.1-beta.6 --save
|
|
21
21
|
```
|
|
22
22
|
or
|
|
23
23
|
```
|
|
24
|
-
yarn add @emilgroup/payment-sdk@1.6.1-beta.
|
|
24
|
+
yarn add @emilgroup/payment-sdk@1.6.1-beta.6
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
And then you can import `PaymentsApi`.
|
|
@@ -0,0 +1,42 @@
|
|
|
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 CardDetailsDto
|
|
16
|
+
*/
|
|
17
|
+
export interface CardDetailsDto {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof CardDetailsDto
|
|
22
|
+
*/
|
|
23
|
+
'encryptedCardNumber': string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof CardDetailsDto
|
|
28
|
+
*/
|
|
29
|
+
'encryptedExpiryMonth': string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof CardDetailsDto
|
|
34
|
+
*/
|
|
35
|
+
'encryptedExpiryYear': string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof CardDetailsDto
|
|
40
|
+
*/
|
|
41
|
+
'encryptedSecurityCode': string;
|
|
42
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
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 });
|
|
@@ -9,6 +9,8 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import { CardDetailsDto } from './card-details-dto';
|
|
13
|
+
import { SepaDirectDto } from './sepa-direct-dto';
|
|
12
14
|
/**
|
|
13
15
|
*
|
|
14
16
|
* @export
|
|
@@ -21,12 +23,6 @@ export interface CompleteAdyenPaymentSetupRequestDto {
|
|
|
21
23
|
* @memberof CompleteAdyenPaymentSetupRequestDto
|
|
22
24
|
*/
|
|
23
25
|
'shopperReference': string;
|
|
24
|
-
/**
|
|
25
|
-
* Unique identifier for the payment method on Adyen.
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof CompleteAdyenPaymentSetupRequestDto
|
|
28
|
-
*/
|
|
29
|
-
'pspPaymentMethodId': string;
|
|
30
26
|
/**
|
|
31
27
|
* The payment method type on Adyen.
|
|
32
28
|
* @type {string}
|
|
@@ -39,6 +35,48 @@ export interface CompleteAdyenPaymentSetupRequestDto {
|
|
|
39
35
|
* @memberof CompleteAdyenPaymentSetupRequestDto
|
|
40
36
|
*/
|
|
41
37
|
'leadCode'?: string;
|
|
38
|
+
/**
|
|
39
|
+
* The account\'s type.
|
|
40
|
+
* @type {string}
|
|
41
|
+
* @memberof CompleteAdyenPaymentSetupRequestDto
|
|
42
|
+
*/
|
|
43
|
+
'accountType': string;
|
|
44
|
+
/**
|
|
45
|
+
* The accounts holder\'s first name.
|
|
46
|
+
* @type {string}
|
|
47
|
+
* @memberof CompleteAdyenPaymentSetupRequestDto
|
|
48
|
+
*/
|
|
49
|
+
'firstName'?: string;
|
|
50
|
+
/**
|
|
51
|
+
* The account holder\'s last name.
|
|
52
|
+
* @type {string}
|
|
53
|
+
* @memberof CompleteAdyenPaymentSetupRequestDto
|
|
54
|
+
*/
|
|
55
|
+
'lastName'?: string;
|
|
56
|
+
/**
|
|
57
|
+
* The account\'s company name.
|
|
58
|
+
* @type {string}
|
|
59
|
+
* @memberof CompleteAdyenPaymentSetupRequestDto
|
|
60
|
+
*/
|
|
61
|
+
'companyName'?: string;
|
|
62
|
+
/**
|
|
63
|
+
* The account\'s email address
|
|
64
|
+
* @type {string}
|
|
65
|
+
* @memberof CompleteAdyenPaymentSetupRequestDto
|
|
66
|
+
*/
|
|
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;
|
|
42
80
|
}
|
|
43
81
|
export declare const CompleteAdyenPaymentSetupRequestDtoPaymentMethodTypeEnum: {
|
|
44
82
|
readonly Paypal: "paypal";
|
package/dist/models/index.d.ts
CHANGED
|
@@ -4,6 +4,7 @@ export * from './bank-transaction-class';
|
|
|
4
4
|
export * from './bank-transaction-class-without-expand-properties';
|
|
5
5
|
export * from './billing-profile-dto';
|
|
6
6
|
export * from './billing-profile-limited-response-dto';
|
|
7
|
+
export * from './card-details-dto';
|
|
7
8
|
export * from './complete-adyen-payment-setup-request-dto';
|
|
8
9
|
export * from './complete-braintree-payment-setup-request-dto';
|
|
9
10
|
export * from './complete-payment-setup-request-dto';
|
package/dist/models/index.js
CHANGED
|
@@ -20,6 +20,7 @@ __exportStar(require("./bank-transaction-class"), exports);
|
|
|
20
20
|
__exportStar(require("./bank-transaction-class-without-expand-properties"), exports);
|
|
21
21
|
__exportStar(require("./billing-profile-dto"), exports);
|
|
22
22
|
__exportStar(require("./billing-profile-limited-response-dto"), exports);
|
|
23
|
+
__exportStar(require("./card-details-dto"), exports);
|
|
23
24
|
__exportStar(require("./complete-adyen-payment-setup-request-dto"), exports);
|
|
24
25
|
__exportStar(require("./complete-braintree-payment-setup-request-dto"), exports);
|
|
25
26
|
__exportStar(require("./complete-payment-setup-request-dto"), exports);
|
|
@@ -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 CardDetailsDto
|
|
21
|
+
*/
|
|
22
|
+
export interface CardDetailsDto {
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof CardDetailsDto
|
|
27
|
+
*/
|
|
28
|
+
'encryptedCardNumber': string;
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof CardDetailsDto
|
|
33
|
+
*/
|
|
34
|
+
'encryptedExpiryMonth': string;
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof CardDetailsDto
|
|
39
|
+
*/
|
|
40
|
+
'encryptedExpiryYear': string;
|
|
41
|
+
/**
|
|
42
|
+
*
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof CardDetailsDto
|
|
45
|
+
*/
|
|
46
|
+
'encryptedSecurityCode': string;
|
|
47
|
+
}
|
|
48
|
+
|
|
@@ -13,6 +13,8 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
|
|
16
|
+
import { CardDetailsDto } from './card-details-dto';
|
|
17
|
+
import { SepaDirectDto } from './sepa-direct-dto';
|
|
16
18
|
|
|
17
19
|
/**
|
|
18
20
|
*
|
|
@@ -26,12 +28,6 @@ export interface CompleteAdyenPaymentSetupRequestDto {
|
|
|
26
28
|
* @memberof CompleteAdyenPaymentSetupRequestDto
|
|
27
29
|
*/
|
|
28
30
|
'shopperReference': string;
|
|
29
|
-
/**
|
|
30
|
-
* Unique identifier for the payment method on Adyen.
|
|
31
|
-
* @type {string}
|
|
32
|
-
* @memberof CompleteAdyenPaymentSetupRequestDto
|
|
33
|
-
*/
|
|
34
|
-
'pspPaymentMethodId': string;
|
|
35
31
|
/**
|
|
36
32
|
* The payment method type on Adyen.
|
|
37
33
|
* @type {string}
|
|
@@ -44,6 +40,48 @@ export interface CompleteAdyenPaymentSetupRequestDto {
|
|
|
44
40
|
* @memberof CompleteAdyenPaymentSetupRequestDto
|
|
45
41
|
*/
|
|
46
42
|
'leadCode'?: string;
|
|
43
|
+
/**
|
|
44
|
+
* The account\'s type.
|
|
45
|
+
* @type {string}
|
|
46
|
+
* @memberof CompleteAdyenPaymentSetupRequestDto
|
|
47
|
+
*/
|
|
48
|
+
'accountType': string;
|
|
49
|
+
/**
|
|
50
|
+
* The accounts holder\'s first name.
|
|
51
|
+
* @type {string}
|
|
52
|
+
* @memberof CompleteAdyenPaymentSetupRequestDto
|
|
53
|
+
*/
|
|
54
|
+
'firstName'?: string;
|
|
55
|
+
/**
|
|
56
|
+
* The account holder\'s last name.
|
|
57
|
+
* @type {string}
|
|
58
|
+
* @memberof CompleteAdyenPaymentSetupRequestDto
|
|
59
|
+
*/
|
|
60
|
+
'lastName'?: string;
|
|
61
|
+
/**
|
|
62
|
+
* The account\'s company name.
|
|
63
|
+
* @type {string}
|
|
64
|
+
* @memberof CompleteAdyenPaymentSetupRequestDto
|
|
65
|
+
*/
|
|
66
|
+
'companyName'?: string;
|
|
67
|
+
/**
|
|
68
|
+
* The account\'s email address
|
|
69
|
+
* @type {string}
|
|
70
|
+
* @memberof CompleteAdyenPaymentSetupRequestDto
|
|
71
|
+
*/
|
|
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;
|
|
47
85
|
}
|
|
48
86
|
|
|
49
87
|
export const CompleteAdyenPaymentSetupRequestDtoPaymentMethodTypeEnum = {
|
package/models/index.ts
CHANGED
|
@@ -4,6 +4,7 @@ export * from './bank-transaction-class';
|
|
|
4
4
|
export * from './bank-transaction-class-without-expand-properties';
|
|
5
5
|
export * from './billing-profile-dto';
|
|
6
6
|
export * from './billing-profile-limited-response-dto';
|
|
7
|
+
export * from './card-details-dto';
|
|
7
8
|
export * from './complete-adyen-payment-setup-request-dto';
|
|
8
9
|
export * from './complete-braintree-payment-setup-request-dto';
|
|
9
10
|
export * from './complete-payment-setup-request-dto';
|