@emilgroup/payment-sdk 1.6.1-beta.0 → 1.6.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 +2 -0
- package/README.md +2 -2
- package/api/webhooks-api.ts +4 -4
- package/dist/api/webhooks-api.d.ts +4 -4
- package/dist/api/webhooks-api.js +3 -3
- package/dist/models/complete-adyen-payment-setup-request-dto.d.ts +77 -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/index.d.ts +2 -0
- package/dist/models/index.js +2 -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-payment-setup-request-dto.d.ts +7 -0
- package/dist/models/shared-transaction-class.d.ts +3 -3
- package/dist/models/validate-pspconfig-request-dto.d.ts +1 -0
- package/dist/models/validate-pspconfig-request-dto.js +2 -1
- package/models/complete-adyen-payment-setup-request-dto.ts +86 -0
- package/models/complete-payment-setup-request-dto.ts +7 -0
- package/models/index.ts +2 -0
- package/models/initiate-adyen-payment-setup-request-dto.ts +36 -0
- package/models/initiate-payment-setup-request-dto.ts +7 -0
- package/models/shared-transaction-class.ts +3 -3
- package/models/validate-pspconfig-request-dto.ts +2 -1
- 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/complete-adyen-payment-setup-request-dto.ts
|
|
27
28
|
models/complete-braintree-payment-setup-request-dto.ts
|
|
28
29
|
models/complete-payment-setup-request-dto.ts
|
|
29
30
|
models/complete-payment-setup-response-class.ts
|
|
@@ -52,6 +53,7 @@ models/get-refund-response-class.ts
|
|
|
52
53
|
models/get-tenant-bank-account-response-class.ts
|
|
53
54
|
models/import-bank-transactions-response-class.ts
|
|
54
55
|
models/index.ts
|
|
56
|
+
models/initiate-adyen-payment-setup-request-dto.ts
|
|
55
57
|
models/initiate-braintree-payment-setup-request-dto.ts
|
|
56
58
|
models/initiate-braintree-payment-setup-response-class.ts
|
|
57
59
|
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.1 --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.1
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
And then you can import `PaymentsApi`.
|
package/api/webhooks-api.ts
CHANGED
|
@@ -29,7 +29,7 @@ export const WebhooksApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
29
29
|
/**
|
|
30
30
|
* This will processes the webhook from external payment service provider.
|
|
31
31
|
* @summary Handle the webhook from PSP
|
|
32
|
-
* @param {string} pspType The type of the payment service provider (PSP).<br/> <br/> <i>Supported PSP: braintree, stripe, b4u, eis</i>
|
|
32
|
+
* @param {string} pspType The type of the payment service provider (PSP).<br/> <br/> <i>Supported PSP: braintree, stripe, b4u, eis, adyen</i>
|
|
33
33
|
* @param {string} tenantSlug Unique slug identifier representing a tenant.
|
|
34
34
|
* @param {string} productSlug
|
|
35
35
|
* @param {*} [options] Override http request option.
|
|
@@ -83,7 +83,7 @@ export const WebhooksApiFp = function(configuration?: Configuration) {
|
|
|
83
83
|
/**
|
|
84
84
|
* This will processes the webhook from external payment service provider.
|
|
85
85
|
* @summary Handle the webhook from PSP
|
|
86
|
-
* @param {string} pspType The type of the payment service provider (PSP).<br/> <br/> <i>Supported PSP: braintree, stripe, b4u, eis</i>
|
|
86
|
+
* @param {string} pspType The type of the payment service provider (PSP).<br/> <br/> <i>Supported PSP: braintree, stripe, b4u, eis, adyen</i>
|
|
87
87
|
* @param {string} tenantSlug Unique slug identifier representing a tenant.
|
|
88
88
|
* @param {string} productSlug
|
|
89
89
|
* @param {*} [options] Override http request option.
|
|
@@ -106,7 +106,7 @@ export const WebhooksApiFactory = function (configuration?: Configuration, baseP
|
|
|
106
106
|
/**
|
|
107
107
|
* This will processes the webhook from external payment service provider.
|
|
108
108
|
* @summary Handle the webhook from PSP
|
|
109
|
-
* @param {string} pspType The type of the payment service provider (PSP).<br/> <br/> <i>Supported PSP: braintree, stripe, b4u, eis</i>
|
|
109
|
+
* @param {string} pspType The type of the payment service provider (PSP).<br/> <br/> <i>Supported PSP: braintree, stripe, b4u, eis, adyen</i>
|
|
110
110
|
* @param {string} tenantSlug Unique slug identifier representing a tenant.
|
|
111
111
|
* @param {string} productSlug
|
|
112
112
|
* @param {*} [options] Override http request option.
|
|
@@ -125,7 +125,7 @@ export const WebhooksApiFactory = function (configuration?: Configuration, baseP
|
|
|
125
125
|
*/
|
|
126
126
|
export interface WebhooksApiPostWebhookRequest {
|
|
127
127
|
/**
|
|
128
|
-
* The type of the payment service provider (PSP).<br/> <br/> <i>Supported PSP: braintree, stripe, b4u, eis</i>
|
|
128
|
+
* The type of the payment service provider (PSP).<br/> <br/> <i>Supported PSP: braintree, stripe, b4u, eis, adyen</i>
|
|
129
129
|
* @type {string}
|
|
130
130
|
* @memberof WebhooksApiPostWebhook
|
|
131
131
|
*/
|
|
@@ -20,7 +20,7 @@ export declare const WebhooksApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
20
20
|
/**
|
|
21
21
|
* This will processes the webhook from external payment service provider.
|
|
22
22
|
* @summary Handle the webhook from PSP
|
|
23
|
-
* @param {string} pspType The type of the payment service provider (PSP).<br/> <br/> <i>Supported PSP: braintree, stripe, b4u, eis</i>
|
|
23
|
+
* @param {string} pspType The type of the payment service provider (PSP).<br/> <br/> <i>Supported PSP: braintree, stripe, b4u, eis, adyen</i>
|
|
24
24
|
* @param {string} tenantSlug Unique slug identifier representing a tenant.
|
|
25
25
|
* @param {string} productSlug
|
|
26
26
|
* @param {*} [options] Override http request option.
|
|
@@ -36,7 +36,7 @@ export declare const WebhooksApiFp: (configuration?: Configuration) => {
|
|
|
36
36
|
/**
|
|
37
37
|
* This will processes the webhook from external payment service provider.
|
|
38
38
|
* @summary Handle the webhook from PSP
|
|
39
|
-
* @param {string} pspType The type of the payment service provider (PSP).<br/> <br/> <i>Supported PSP: braintree, stripe, b4u, eis</i>
|
|
39
|
+
* @param {string} pspType The type of the payment service provider (PSP).<br/> <br/> <i>Supported PSP: braintree, stripe, b4u, eis, adyen</i>
|
|
40
40
|
* @param {string} tenantSlug Unique slug identifier representing a tenant.
|
|
41
41
|
* @param {string} productSlug
|
|
42
42
|
* @param {*} [options] Override http request option.
|
|
@@ -52,7 +52,7 @@ export declare const WebhooksApiFactory: (configuration?: Configuration, basePat
|
|
|
52
52
|
/**
|
|
53
53
|
* This will processes the webhook from external payment service provider.
|
|
54
54
|
* @summary Handle the webhook from PSP
|
|
55
|
-
* @param {string} pspType The type of the payment service provider (PSP).<br/> <br/> <i>Supported PSP: braintree, stripe, b4u, eis</i>
|
|
55
|
+
* @param {string} pspType The type of the payment service provider (PSP).<br/> <br/> <i>Supported PSP: braintree, stripe, b4u, eis, adyen</i>
|
|
56
56
|
* @param {string} tenantSlug Unique slug identifier representing a tenant.
|
|
57
57
|
* @param {string} productSlug
|
|
58
58
|
* @param {*} [options] Override http request option.
|
|
@@ -67,7 +67,7 @@ export declare const WebhooksApiFactory: (configuration?: Configuration, basePat
|
|
|
67
67
|
*/
|
|
68
68
|
export interface WebhooksApiPostWebhookRequest {
|
|
69
69
|
/**
|
|
70
|
-
* The type of the payment service provider (PSP).<br/> <br/> <i>Supported PSP: braintree, stripe, b4u, eis</i>
|
|
70
|
+
* The type of the payment service provider (PSP).<br/> <br/> <i>Supported PSP: braintree, stripe, b4u, eis, adyen</i>
|
|
71
71
|
* @type {string}
|
|
72
72
|
* @memberof WebhooksApiPostWebhook
|
|
73
73
|
*/
|
package/dist/api/webhooks-api.js
CHANGED
|
@@ -95,7 +95,7 @@ var WebhooksApiAxiosParamCreator = function (configuration) {
|
|
|
95
95
|
/**
|
|
96
96
|
* This will processes the webhook from external payment service provider.
|
|
97
97
|
* @summary Handle the webhook from PSP
|
|
98
|
-
* @param {string} pspType The type of the payment service provider (PSP).<br/> <br/> <i>Supported PSP: braintree, stripe, b4u, eis</i>
|
|
98
|
+
* @param {string} pspType The type of the payment service provider (PSP).<br/> <br/> <i>Supported PSP: braintree, stripe, b4u, eis, adyen</i>
|
|
99
99
|
* @param {string} tenantSlug Unique slug identifier representing a tenant.
|
|
100
100
|
* @param {string} productSlug
|
|
101
101
|
* @param {*} [options] Override http request option.
|
|
@@ -147,7 +147,7 @@ var WebhooksApiFp = function (configuration) {
|
|
|
147
147
|
/**
|
|
148
148
|
* This will processes the webhook from external payment service provider.
|
|
149
149
|
* @summary Handle the webhook from PSP
|
|
150
|
-
* @param {string} pspType The type of the payment service provider (PSP).<br/> <br/> <i>Supported PSP: braintree, stripe, b4u, eis</i>
|
|
150
|
+
* @param {string} pspType The type of the payment service provider (PSP).<br/> <br/> <i>Supported PSP: braintree, stripe, b4u, eis, adyen</i>
|
|
151
151
|
* @param {string} tenantSlug Unique slug identifier representing a tenant.
|
|
152
152
|
* @param {string} productSlug
|
|
153
153
|
* @param {*} [options] Override http request option.
|
|
@@ -179,7 +179,7 @@ var WebhooksApiFactory = function (configuration, basePath, axios) {
|
|
|
179
179
|
/**
|
|
180
180
|
* This will processes the webhook from external payment service provider.
|
|
181
181
|
* @summary Handle the webhook from PSP
|
|
182
|
-
* @param {string} pspType The type of the payment service provider (PSP).<br/> <br/> <i>Supported PSP: braintree, stripe, b4u, eis</i>
|
|
182
|
+
* @param {string} pspType The type of the payment service provider (PSP).<br/> <br/> <i>Supported PSP: braintree, stripe, b4u, eis, adyen</i>
|
|
183
183
|
* @param {string} tenantSlug Unique slug identifier representing a tenant.
|
|
184
184
|
* @param {string} productSlug
|
|
185
185
|
* @param {*} [options] Override http request option.
|
|
@@ -0,0 +1,77 @@
|
|
|
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 CompleteAdyenPaymentSetupRequestDto
|
|
16
|
+
*/
|
|
17
|
+
export interface CompleteAdyenPaymentSetupRequestDto {
|
|
18
|
+
/**
|
|
19
|
+
* Account email address
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof CompleteAdyenPaymentSetupRequestDto
|
|
22
|
+
*/
|
|
23
|
+
'email': string;
|
|
24
|
+
/**
|
|
25
|
+
* Account first name
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof CompleteAdyenPaymentSetupRequestDto
|
|
28
|
+
*/
|
|
29
|
+
'firstName': string;
|
|
30
|
+
/**
|
|
31
|
+
* Account last name
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof CompleteAdyenPaymentSetupRequestDto
|
|
34
|
+
*/
|
|
35
|
+
'lastName': string;
|
|
36
|
+
/**
|
|
37
|
+
* Unique identifier of the lead that this object belongs to.
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof CompleteAdyenPaymentSetupRequestDto
|
|
40
|
+
*/
|
|
41
|
+
'leadCode'?: string;
|
|
42
|
+
/**
|
|
43
|
+
* Unique identifier for the shopper on Adyen.
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof CompleteAdyenPaymentSetupRequestDto
|
|
46
|
+
*/
|
|
47
|
+
'shopperReference': string;
|
|
48
|
+
/**
|
|
49
|
+
* Unique identifier for the payment method on Adyen.
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof CompleteAdyenPaymentSetupRequestDto
|
|
52
|
+
*/
|
|
53
|
+
'pspPaymentMethodId': string;
|
|
54
|
+
/**
|
|
55
|
+
* The payment method type on Adyen.
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof CompleteAdyenPaymentSetupRequestDto
|
|
58
|
+
*/
|
|
59
|
+
'paymentMethodType'?: CompleteAdyenPaymentSetupRequestDtoPaymentMethodTypeEnum;
|
|
60
|
+
}
|
|
61
|
+
export declare const CompleteAdyenPaymentSetupRequestDtoPaymentMethodTypeEnum: {
|
|
62
|
+
readonly Paypal: "paypal";
|
|
63
|
+
readonly CreditCard: "credit_card";
|
|
64
|
+
readonly SepaDebit: "sepa_debit";
|
|
65
|
+
readonly Sofort: "sofort";
|
|
66
|
+
readonly Card: "card";
|
|
67
|
+
readonly Giropay: "giropay";
|
|
68
|
+
readonly Klarna: "klarna";
|
|
69
|
+
readonly Visa: "visa";
|
|
70
|
+
readonly ApplePay: "apple_pay";
|
|
71
|
+
readonly AndroidPay: "android_pay";
|
|
72
|
+
readonly SamsungPay: "samsung_pay";
|
|
73
|
+
readonly Venmo: "venmo";
|
|
74
|
+
readonly Masterpass: "masterpass";
|
|
75
|
+
readonly B4u: "b4u";
|
|
76
|
+
};
|
|
77
|
+
export type CompleteAdyenPaymentSetupRequestDtoPaymentMethodTypeEnum = typeof CompleteAdyenPaymentSetupRequestDtoPaymentMethodTypeEnum[keyof typeof CompleteAdyenPaymentSetupRequestDtoPaymentMethodTypeEnum];
|
|
@@ -0,0 +1,32 @@
|
|
|
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.CompleteAdyenPaymentSetupRequestDtoPaymentMethodTypeEnum = void 0;
|
|
17
|
+
exports.CompleteAdyenPaymentSetupRequestDtoPaymentMethodTypeEnum = {
|
|
18
|
+
Paypal: 'paypal',
|
|
19
|
+
CreditCard: 'credit_card',
|
|
20
|
+
SepaDebit: 'sepa_debit',
|
|
21
|
+
Sofort: 'sofort',
|
|
22
|
+
Card: 'card',
|
|
23
|
+
Giropay: 'giropay',
|
|
24
|
+
Klarna: 'klarna',
|
|
25
|
+
Visa: 'visa',
|
|
26
|
+
ApplePay: 'apple_pay',
|
|
27
|
+
AndroidPay: 'android_pay',
|
|
28
|
+
SamsungPay: 'samsung_pay',
|
|
29
|
+
Venmo: 'venmo',
|
|
30
|
+
Masterpass: 'masterpass',
|
|
31
|
+
B4u: 'b4u'
|
|
32
|
+
};
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import { CompleteAdyenPaymentSetupRequestDto } from './complete-adyen-payment-setup-request-dto';
|
|
12
13
|
import { CompleteBraintreePaymentSetupRequestDto } from './complete-braintree-payment-setup-request-dto';
|
|
13
14
|
import { CompleteStripePaymentSetupRequestDto } from './complete-stripe-payment-setup-request-dto';
|
|
14
15
|
/**
|
|
@@ -35,4 +36,10 @@ export interface CompletePaymentSetupRequestDto {
|
|
|
35
36
|
* @memberof CompletePaymentSetupRequestDto
|
|
36
37
|
*/
|
|
37
38
|
'productSlug'?: string;
|
|
39
|
+
/**
|
|
40
|
+
*
|
|
41
|
+
* @type {CompleteAdyenPaymentSetupRequestDto}
|
|
42
|
+
* @memberof CompletePaymentSetupRequestDto
|
|
43
|
+
*/
|
|
44
|
+
'adyen'?: CompleteAdyenPaymentSetupRequestDto;
|
|
38
45
|
}
|
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 './complete-adyen-payment-setup-request-dto';
|
|
7
8
|
export * from './complete-braintree-payment-setup-request-dto';
|
|
8
9
|
export * from './complete-payment-setup-request-dto';
|
|
9
10
|
export * from './complete-payment-setup-response-class';
|
|
@@ -31,6 +32,7 @@ export * from './get-payment-response-class';
|
|
|
31
32
|
export * from './get-refund-response-class';
|
|
32
33
|
export * from './get-tenant-bank-account-response-class';
|
|
33
34
|
export * from './import-bank-transactions-response-class';
|
|
35
|
+
export * from './initiate-adyen-payment-setup-request-dto';
|
|
34
36
|
export * from './initiate-braintree-payment-setup-request-dto';
|
|
35
37
|
export * from './initiate-braintree-payment-setup-response-class';
|
|
36
38
|
export * from './initiate-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("./complete-adyen-payment-setup-request-dto"), exports);
|
|
23
24
|
__exportStar(require("./complete-braintree-payment-setup-request-dto"), exports);
|
|
24
25
|
__exportStar(require("./complete-payment-setup-request-dto"), exports);
|
|
25
26
|
__exportStar(require("./complete-payment-setup-response-class"), exports);
|
|
@@ -47,6 +48,7 @@ __exportStar(require("./get-payment-response-class"), exports);
|
|
|
47
48
|
__exportStar(require("./get-refund-response-class"), exports);
|
|
48
49
|
__exportStar(require("./get-tenant-bank-account-response-class"), exports);
|
|
49
50
|
__exportStar(require("./import-bank-transactions-response-class"), exports);
|
|
51
|
+
__exportStar(require("./initiate-adyen-payment-setup-request-dto"), exports);
|
|
50
52
|
__exportStar(require("./initiate-braintree-payment-setup-request-dto"), exports);
|
|
51
53
|
__exportStar(require("./initiate-braintree-payment-setup-response-class"), exports);
|
|
52
54
|
__exportStar(require("./initiate-payment-setup-request-dto"), exports);
|
|
@@ -0,0 +1,30 @@
|
|
|
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 InitiateAdyenPaymentSetupRequestDto
|
|
16
|
+
*/
|
|
17
|
+
export interface InitiateAdyenPaymentSetupRequestDto {
|
|
18
|
+
/**
|
|
19
|
+
* Unique identifier of the lead that this object belongs to.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof InitiateAdyenPaymentSetupRequestDto
|
|
22
|
+
*/
|
|
23
|
+
'leadCode'?: string;
|
|
24
|
+
/**
|
|
25
|
+
* Unique identifier of the account that this object belongs to.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof InitiateAdyenPaymentSetupRequestDto
|
|
28
|
+
*/
|
|
29
|
+
'accountCode'?: string;
|
|
30
|
+
}
|
|
@@ -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 { InitiateAdyenPaymentSetupRequestDto } from './initiate-adyen-payment-setup-request-dto';
|
|
12
13
|
import { InitiateBraintreePaymentSetupRequestDto } from './initiate-braintree-payment-setup-request-dto';
|
|
13
14
|
import { InitiateStripePaymentSetupRequestDto } from './initiate-stripe-payment-setup-request-dto';
|
|
14
15
|
/**
|
|
@@ -41,6 +42,12 @@ export interface InitiatePaymentSetupRequestDto {
|
|
|
41
42
|
* @memberof InitiatePaymentSetupRequestDto
|
|
42
43
|
*/
|
|
43
44
|
'eis'?: object;
|
|
45
|
+
/**
|
|
46
|
+
*
|
|
47
|
+
* @type {InitiateAdyenPaymentSetupRequestDto}
|
|
48
|
+
* @memberof InitiatePaymentSetupRequestDto
|
|
49
|
+
*/
|
|
50
|
+
'adyen'?: InitiateAdyenPaymentSetupRequestDto;
|
|
44
51
|
/**
|
|
45
52
|
*
|
|
46
53
|
* @type {string}
|
|
@@ -50,13 +50,13 @@ export interface SharedTransactionClass {
|
|
|
50
50
|
* @type {string}
|
|
51
51
|
* @memberof SharedTransactionClass
|
|
52
52
|
*/
|
|
53
|
-
'
|
|
53
|
+
'timestamp': string;
|
|
54
54
|
/**
|
|
55
|
-
*
|
|
55
|
+
* Time at which the object was created.
|
|
56
56
|
* @type {string}
|
|
57
57
|
* @memberof SharedTransactionClass
|
|
58
58
|
*/
|
|
59
|
-
'
|
|
59
|
+
'createdAt': string;
|
|
60
60
|
/**
|
|
61
61
|
* Identifier of the user who created the record.
|
|
62
62
|
* @type {string}
|
|
@@ -39,5 +39,6 @@ export declare const ValidatePSPConfigRequestDtoTypeEnum: {
|
|
|
39
39
|
readonly Stripe: "stripe";
|
|
40
40
|
readonly B4u: "b4u";
|
|
41
41
|
readonly Eis: "eis";
|
|
42
|
+
readonly Adyen: "adyen";
|
|
42
43
|
};
|
|
43
44
|
export type ValidatePSPConfigRequestDtoTypeEnum = typeof ValidatePSPConfigRequestDtoTypeEnum[keyof typeof ValidatePSPConfigRequestDtoTypeEnum];
|
|
@@ -0,0 +1,86 @@
|
|
|
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 CompleteAdyenPaymentSetupRequestDto
|
|
21
|
+
*/
|
|
22
|
+
export interface CompleteAdyenPaymentSetupRequestDto {
|
|
23
|
+
/**
|
|
24
|
+
* Account email address
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof CompleteAdyenPaymentSetupRequestDto
|
|
27
|
+
*/
|
|
28
|
+
'email': string;
|
|
29
|
+
/**
|
|
30
|
+
* Account first name
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof CompleteAdyenPaymentSetupRequestDto
|
|
33
|
+
*/
|
|
34
|
+
'firstName': string;
|
|
35
|
+
/**
|
|
36
|
+
* Account last name
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof CompleteAdyenPaymentSetupRequestDto
|
|
39
|
+
*/
|
|
40
|
+
'lastName': string;
|
|
41
|
+
/**
|
|
42
|
+
* Unique identifier of the lead that this object belongs to.
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof CompleteAdyenPaymentSetupRequestDto
|
|
45
|
+
*/
|
|
46
|
+
'leadCode'?: string;
|
|
47
|
+
/**
|
|
48
|
+
* Unique identifier for the shopper on Adyen.
|
|
49
|
+
* @type {string}
|
|
50
|
+
* @memberof CompleteAdyenPaymentSetupRequestDto
|
|
51
|
+
*/
|
|
52
|
+
'shopperReference': string;
|
|
53
|
+
/**
|
|
54
|
+
* Unique identifier for the payment method on Adyen.
|
|
55
|
+
* @type {string}
|
|
56
|
+
* @memberof CompleteAdyenPaymentSetupRequestDto
|
|
57
|
+
*/
|
|
58
|
+
'pspPaymentMethodId': string;
|
|
59
|
+
/**
|
|
60
|
+
* The payment method type on Adyen.
|
|
61
|
+
* @type {string}
|
|
62
|
+
* @memberof CompleteAdyenPaymentSetupRequestDto
|
|
63
|
+
*/
|
|
64
|
+
'paymentMethodType'?: CompleteAdyenPaymentSetupRequestDtoPaymentMethodTypeEnum;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
export const CompleteAdyenPaymentSetupRequestDtoPaymentMethodTypeEnum = {
|
|
68
|
+
Paypal: 'paypal',
|
|
69
|
+
CreditCard: 'credit_card',
|
|
70
|
+
SepaDebit: 'sepa_debit',
|
|
71
|
+
Sofort: 'sofort',
|
|
72
|
+
Card: 'card',
|
|
73
|
+
Giropay: 'giropay',
|
|
74
|
+
Klarna: 'klarna',
|
|
75
|
+
Visa: 'visa',
|
|
76
|
+
ApplePay: 'apple_pay',
|
|
77
|
+
AndroidPay: 'android_pay',
|
|
78
|
+
SamsungPay: 'samsung_pay',
|
|
79
|
+
Venmo: 'venmo',
|
|
80
|
+
Masterpass: 'masterpass',
|
|
81
|
+
B4u: 'b4u'
|
|
82
|
+
} as const;
|
|
83
|
+
|
|
84
|
+
export type CompleteAdyenPaymentSetupRequestDtoPaymentMethodTypeEnum = typeof CompleteAdyenPaymentSetupRequestDtoPaymentMethodTypeEnum[keyof typeof CompleteAdyenPaymentSetupRequestDtoPaymentMethodTypeEnum];
|
|
85
|
+
|
|
86
|
+
|
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
|
|
16
|
+
import { CompleteAdyenPaymentSetupRequestDto } from './complete-adyen-payment-setup-request-dto';
|
|
16
17
|
import { CompleteBraintreePaymentSetupRequestDto } from './complete-braintree-payment-setup-request-dto';
|
|
17
18
|
import { CompleteStripePaymentSetupRequestDto } from './complete-stripe-payment-setup-request-dto';
|
|
18
19
|
|
|
@@ -40,5 +41,11 @@ export interface CompletePaymentSetupRequestDto {
|
|
|
40
41
|
* @memberof CompletePaymentSetupRequestDto
|
|
41
42
|
*/
|
|
42
43
|
'productSlug'?: string;
|
|
44
|
+
/**
|
|
45
|
+
*
|
|
46
|
+
* @type {CompleteAdyenPaymentSetupRequestDto}
|
|
47
|
+
* @memberof CompletePaymentSetupRequestDto
|
|
48
|
+
*/
|
|
49
|
+
'adyen'?: CompleteAdyenPaymentSetupRequestDto;
|
|
43
50
|
}
|
|
44
51
|
|
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 './complete-adyen-payment-setup-request-dto';
|
|
7
8
|
export * from './complete-braintree-payment-setup-request-dto';
|
|
8
9
|
export * from './complete-payment-setup-request-dto';
|
|
9
10
|
export * from './complete-payment-setup-response-class';
|
|
@@ -31,6 +32,7 @@ export * from './get-payment-response-class';
|
|
|
31
32
|
export * from './get-refund-response-class';
|
|
32
33
|
export * from './get-tenant-bank-account-response-class';
|
|
33
34
|
export * from './import-bank-transactions-response-class';
|
|
35
|
+
export * from './initiate-adyen-payment-setup-request-dto';
|
|
34
36
|
export * from './initiate-braintree-payment-setup-request-dto';
|
|
35
37
|
export * from './initiate-braintree-payment-setup-response-class';
|
|
36
38
|
export * from './initiate-payment-setup-request-dto';
|
|
@@ -0,0 +1,36 @@
|
|
|
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 InitiateAdyenPaymentSetupRequestDto
|
|
21
|
+
*/
|
|
22
|
+
export interface InitiateAdyenPaymentSetupRequestDto {
|
|
23
|
+
/**
|
|
24
|
+
* Unique identifier of the lead that this object belongs to.
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof InitiateAdyenPaymentSetupRequestDto
|
|
27
|
+
*/
|
|
28
|
+
'leadCode'?: string;
|
|
29
|
+
/**
|
|
30
|
+
* Unique identifier of the account that this object belongs to.
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof InitiateAdyenPaymentSetupRequestDto
|
|
33
|
+
*/
|
|
34
|
+
'accountCode'?: string;
|
|
35
|
+
}
|
|
36
|
+
|
|
@@ -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}
|
|
@@ -55,13 +55,13 @@ export interface SharedTransactionClass {
|
|
|
55
55
|
* @type {string}
|
|
56
56
|
* @memberof SharedTransactionClass
|
|
57
57
|
*/
|
|
58
|
-
'
|
|
58
|
+
'timestamp': string;
|
|
59
59
|
/**
|
|
60
|
-
*
|
|
60
|
+
* Time at which the object was created.
|
|
61
61
|
* @type {string}
|
|
62
62
|
* @memberof SharedTransactionClass
|
|
63
63
|
*/
|
|
64
|
-
'
|
|
64
|
+
'createdAt': string;
|
|
65
65
|
/**
|
|
66
66
|
* Identifier of the user who created the record.
|
|
67
67
|
* @type {string}
|
|
@@ -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];
|