@emilgroup/payment-sdk 1.6.1-beta.7 → 1.6.1-beta.8
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/complete-adyen-payment-setup-request-dto.d.ts +1 -1
- package/dist/models/index.d.ts +1 -0
- package/dist/models/index.js +1 -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-response-class.d.ts +7 -0
- package/models/complete-adyen-payment-setup-request-dto.ts +1 -1
- package/models/index.ts +1 -0
- package/models/initiate-adyen-payment-setup-response-class.ts +48 -0
- package/models/initiate-payment-setup-response-class.ts +7 -0
- package/package.json +1 -1
package/.openapi-generator/FILES
CHANGED
|
@@ -55,6 +55,7 @@ models/get-tenant-bank-account-response-class.ts
|
|
|
55
55
|
models/import-bank-transactions-response-class.ts
|
|
56
56
|
models/index.ts
|
|
57
57
|
models/initiate-adyen-payment-setup-request-dto.ts
|
|
58
|
+
models/initiate-adyen-payment-setup-response-class.ts
|
|
58
59
|
models/initiate-braintree-payment-setup-request-dto.ts
|
|
59
60
|
models/initiate-braintree-payment-setup-response-class.ts
|
|
60
61
|
models/initiate-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.8 --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.8
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
And then you can import `PaymentsApi`.
|
|
@@ -28,7 +28,7 @@ export interface CompleteAdyenPaymentSetupRequestDto {
|
|
|
28
28
|
* @type {string}
|
|
29
29
|
* @memberof CompleteAdyenPaymentSetupRequestDto
|
|
30
30
|
*/
|
|
31
|
-
'paymentMethodType'
|
|
31
|
+
'paymentMethodType': CompleteAdyenPaymentSetupRequestDtoPaymentMethodTypeEnum;
|
|
32
32
|
/**
|
|
33
33
|
* Unique identifier of the lead that this object belongs to.
|
|
34
34
|
* @type {string}
|
package/dist/models/index.d.ts
CHANGED
|
@@ -34,6 +34,7 @@ export * from './get-refund-response-class';
|
|
|
34
34
|
export * from './get-tenant-bank-account-response-class';
|
|
35
35
|
export * from './import-bank-transactions-response-class';
|
|
36
36
|
export * from './initiate-adyen-payment-setup-request-dto';
|
|
37
|
+
export * from './initiate-adyen-payment-setup-response-class';
|
|
37
38
|
export * from './initiate-braintree-payment-setup-request-dto';
|
|
38
39
|
export * from './initiate-braintree-payment-setup-response-class';
|
|
39
40
|
export * from './initiate-payment-setup-request-dto';
|
package/dist/models/index.js
CHANGED
|
@@ -50,6 +50,7 @@ __exportStar(require("./get-refund-response-class"), exports);
|
|
|
50
50
|
__exportStar(require("./get-tenant-bank-account-response-class"), exports);
|
|
51
51
|
__exportStar(require("./import-bank-transactions-response-class"), exports);
|
|
52
52
|
__exportStar(require("./initiate-adyen-payment-setup-request-dto"), exports);
|
|
53
|
+
__exportStar(require("./initiate-adyen-payment-setup-response-class"), exports);
|
|
53
54
|
__exportStar(require("./initiate-braintree-payment-setup-request-dto"), exports);
|
|
54
55
|
__exportStar(require("./initiate-braintree-payment-setup-response-class"), exports);
|
|
55
56
|
__exportStar(require("./initiate-payment-setup-request-dto"), exports);
|
|
@@ -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 InitiateAdyenPaymentSetupResponseClass
|
|
16
|
+
*/
|
|
17
|
+
export interface InitiateAdyenPaymentSetupResponseClass {
|
|
18
|
+
/**
|
|
19
|
+
* The client key associated with the Adyen account.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof InitiateAdyenPaymentSetupResponseClass
|
|
22
|
+
*/
|
|
23
|
+
'clientKey': string;
|
|
24
|
+
/**
|
|
25
|
+
* A unique reference for the shopper.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof InitiateAdyenPaymentSetupResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'shopperReference': string;
|
|
30
|
+
/**
|
|
31
|
+
* The environment in which the payment request is being made (e.g., \"TEST\" or \"LIVE\").
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof InitiateAdyenPaymentSetupResponseClass
|
|
34
|
+
*/
|
|
35
|
+
'environment': string;
|
|
36
|
+
/**
|
|
37
|
+
* The country code associated with the shopper\'s payment details.
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof InitiateAdyenPaymentSetupResponseClass
|
|
40
|
+
*/
|
|
41
|
+
'country': 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,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import { InitiateAdyenPaymentSetupResponseClass } from './initiate-adyen-payment-setup-response-class';
|
|
12
13
|
import { InitiateBraintreePaymentSetupResponseClass } from './initiate-braintree-payment-setup-response-class';
|
|
13
14
|
import { InitiateStripePaymentSetupResponseClass } from './initiate-stripe-payment-setup-response-class';
|
|
14
15
|
/**
|
|
@@ -29,4 +30,10 @@ export interface InitiatePaymentSetupResponseClass {
|
|
|
29
30
|
* @memberof InitiatePaymentSetupResponseClass
|
|
30
31
|
*/
|
|
31
32
|
'braintree': InitiateBraintreePaymentSetupResponseClass;
|
|
33
|
+
/**
|
|
34
|
+
* Adyen response after generating client token.
|
|
35
|
+
* @type {InitiateAdyenPaymentSetupResponseClass}
|
|
36
|
+
* @memberof InitiatePaymentSetupResponseClass
|
|
37
|
+
*/
|
|
38
|
+
'adyen': InitiateAdyenPaymentSetupResponseClass;
|
|
32
39
|
}
|
|
@@ -33,7 +33,7 @@ export interface CompleteAdyenPaymentSetupRequestDto {
|
|
|
33
33
|
* @type {string}
|
|
34
34
|
* @memberof CompleteAdyenPaymentSetupRequestDto
|
|
35
35
|
*/
|
|
36
|
-
'paymentMethodType'
|
|
36
|
+
'paymentMethodType': CompleteAdyenPaymentSetupRequestDtoPaymentMethodTypeEnum;
|
|
37
37
|
/**
|
|
38
38
|
* Unique identifier of the lead that this object belongs to.
|
|
39
39
|
* @type {string}
|
package/models/index.ts
CHANGED
|
@@ -34,6 +34,7 @@ export * from './get-refund-response-class';
|
|
|
34
34
|
export * from './get-tenant-bank-account-response-class';
|
|
35
35
|
export * from './import-bank-transactions-response-class';
|
|
36
36
|
export * from './initiate-adyen-payment-setup-request-dto';
|
|
37
|
+
export * from './initiate-adyen-payment-setup-response-class';
|
|
37
38
|
export * from './initiate-braintree-payment-setup-request-dto';
|
|
38
39
|
export * from './initiate-braintree-payment-setup-response-class';
|
|
39
40
|
export * from './initiate-payment-setup-request-dto';
|
|
@@ -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 { 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
|
|