@emilgroup/public-api-sdk-node 1.31.0 → 1.33.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/.openapi-generator/FILES +6 -0
- package/README.md +2 -2
- package/api/named-ranges-api.ts +20 -6
- package/api/product-versions-api.ts +284 -0
- package/api.ts +2 -0
- package/base.ts +7 -15
- package/dist/api/named-ranges-api.d.ts +12 -3
- package/dist/api/named-ranges-api.js +12 -6
- package/dist/api/product-versions-api.d.ts +161 -0
- package/dist/api/product-versions-api.js +327 -0
- package/dist/api.d.ts +1 -0
- package/dist/api.js +1 -0
- package/dist/base.d.ts +1 -3
- package/dist/base.js +20 -26
- package/dist/models/booking-funnel-class.d.ts +6 -0
- 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 +80 -0
- package/dist/models/complete-adyen-payment-setup-request-dto.js +15 -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 +5 -0
- package/dist/models/index.js +5 -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/link-lead-partner-request-dto.d.ts +16 -4
- package/dist/models/partner-role-class.d.ts +6 -0
- package/dist/models/payment-method-class.d.ts +30 -0
- package/dist/models/sepa-direct-dto.d.ts +24 -0
- package/dist/models/sepa-direct-dto.js +15 -0
- package/dist/models/update-lead-request-dto.d.ts +1 -1
- package/models/booking-funnel-class.ts +6 -0
- package/models/card-details-dto.ts +48 -0
- package/models/complete-adyen-payment-setup-request-dto.ts +86 -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 +5 -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/link-lead-partner-request-dto.ts +16 -4
- package/models/partner-role-class.ts +6 -0
- package/models/payment-method-class.ts +30 -0
- package/models/sepa-direct-dto.ts +30 -0
- package/models/update-lead-request-dto.ts +1 -1
- package/package.json +1 -1
package/dist/base.js
CHANGED
|
@@ -242,14 +242,11 @@ var BaseAPI = /** @class */ (function () {
|
|
|
242
242
|
BaseAPI.prototype.selectEnvironment = function (env) {
|
|
243
243
|
this.configuration.basePath = env;
|
|
244
244
|
};
|
|
245
|
-
BaseAPI.prototype.getPermissions = function () {
|
|
246
|
-
return this.permissions.split(',');
|
|
247
|
-
};
|
|
248
245
|
BaseAPI.prototype.authorize = function (username, password) {
|
|
249
246
|
return __awaiter(this, void 0, void 0, function () {
|
|
250
|
-
var options, response,
|
|
251
|
-
return __generator(this, function (
|
|
252
|
-
switch (
|
|
247
|
+
var options, response, accessToken, refreshToken;
|
|
248
|
+
return __generator(this, function (_a) {
|
|
249
|
+
switch (_a.label) {
|
|
253
250
|
case 0:
|
|
254
251
|
options = {
|
|
255
252
|
method: 'POST',
|
|
@@ -263,11 +260,10 @@ var BaseAPI = /** @class */ (function () {
|
|
|
263
260
|
};
|
|
264
261
|
return [4 /*yield*/, axios_1.default.request(options)];
|
|
265
262
|
case 1:
|
|
266
|
-
response =
|
|
267
|
-
|
|
263
|
+
response = _a.sent();
|
|
264
|
+
accessToken = response.data.accessToken;
|
|
268
265
|
this.configuration.username = username;
|
|
269
266
|
this.configuration.accessToken = "Bearer ".concat(accessToken);
|
|
270
|
-
this.permissions = permissions;
|
|
271
267
|
refreshToken = this.extractRefreshToken(response);
|
|
272
268
|
this.configuration.refreshToken = refreshToken;
|
|
273
269
|
return [2 /*return*/];
|
|
@@ -277,13 +273,13 @@ var BaseAPI = /** @class */ (function () {
|
|
|
277
273
|
};
|
|
278
274
|
BaseAPI.prototype.refreshTokenInternal = function () {
|
|
279
275
|
return __awaiter(this, void 0, void 0, function () {
|
|
280
|
-
var _a, username, refreshToken, options,
|
|
276
|
+
var _a, username, refreshToken, options, accessToken;
|
|
281
277
|
return __generator(this, function (_b) {
|
|
282
278
|
switch (_b.label) {
|
|
283
279
|
case 0:
|
|
284
280
|
_a = this.configuration, username = _a.username, refreshToken = _a.refreshToken;
|
|
285
281
|
if (!username || !refreshToken) {
|
|
286
|
-
|
|
282
|
+
return [2 /*return*/, ''];
|
|
287
283
|
}
|
|
288
284
|
options = {
|
|
289
285
|
method: 'POST',
|
|
@@ -297,8 +293,8 @@ var BaseAPI = /** @class */ (function () {
|
|
|
297
293
|
};
|
|
298
294
|
return [4 /*yield*/, axios_1.default.request(options)];
|
|
299
295
|
case 1:
|
|
300
|
-
|
|
301
|
-
return [2 /*return*/,
|
|
296
|
+
accessToken = (_b.sent()).data.accessToken;
|
|
297
|
+
return [2 /*return*/, accessToken];
|
|
302
298
|
}
|
|
303
299
|
});
|
|
304
300
|
});
|
|
@@ -318,27 +314,26 @@ var BaseAPI = /** @class */ (function () {
|
|
|
318
314
|
axios.interceptors.response.use(function (res) {
|
|
319
315
|
return res;
|
|
320
316
|
}, function (err) { return __awaiter(_this, void 0, void 0, function () {
|
|
321
|
-
var originalConfig,
|
|
322
|
-
return __generator(this, function (
|
|
323
|
-
switch (
|
|
317
|
+
var originalConfig, tokenString, accessToken, _error_1, tokenString, accessToken, _error_2;
|
|
318
|
+
return __generator(this, function (_a) {
|
|
319
|
+
switch (_a.label) {
|
|
324
320
|
case 0:
|
|
325
321
|
originalConfig = err.config;
|
|
326
322
|
if (!err.response) return [3 /*break*/, 5];
|
|
327
323
|
if (!(err.response.status === 401 && !originalConfig._retry)) return [3 /*break*/, 4];
|
|
328
324
|
originalConfig._retry = true;
|
|
329
|
-
|
|
325
|
+
_a.label = 1;
|
|
330
326
|
case 1:
|
|
331
|
-
|
|
327
|
+
_a.trys.push([1, 3, , 4]);
|
|
332
328
|
return [4 /*yield*/, this.refreshTokenInternal()];
|
|
333
329
|
case 2:
|
|
334
|
-
|
|
330
|
+
tokenString = _a.sent();
|
|
335
331
|
accessToken = "Bearer ".concat(tokenString);
|
|
336
|
-
this.permissions = permissions;
|
|
337
332
|
originalConfig.headers['Authorization'] = "Bearer ".concat(accessToken);
|
|
338
333
|
this.configuration.accessToken = accessToken;
|
|
339
334
|
return [2 /*return*/, axios.request(originalConfig)];
|
|
340
335
|
case 3:
|
|
341
|
-
_error_1 =
|
|
336
|
+
_error_1 = _a.sent();
|
|
342
337
|
if (_error_1.response && _error_1.response.data) {
|
|
343
338
|
return [2 /*return*/, Promise.reject(_error_1.response.data)];
|
|
344
339
|
}
|
|
@@ -354,20 +349,19 @@ var BaseAPI = /** @class */ (function () {
|
|
|
354
349
|
&& originalConfig.headers.hasOwnProperty('Authorization')
|
|
355
350
|
&& _retry_count < 4)) return [3 /*break*/, 9];
|
|
356
351
|
_retry_count++;
|
|
357
|
-
|
|
352
|
+
_a.label = 6;
|
|
358
353
|
case 6:
|
|
359
|
-
|
|
354
|
+
_a.trys.push([6, 8, , 9]);
|
|
360
355
|
return [4 /*yield*/, this.refreshTokenInternal()];
|
|
361
356
|
case 7:
|
|
362
|
-
|
|
357
|
+
tokenString = _a.sent();
|
|
363
358
|
accessToken = "Bearer ".concat(tokenString);
|
|
364
|
-
this.permissions = permissions;
|
|
365
359
|
_retry = true;
|
|
366
360
|
originalConfig.headers['Authorization'] = accessToken;
|
|
367
361
|
this.configuration.accessToken = accessToken;
|
|
368
362
|
return [2 /*return*/, axios.request(__assign({}, originalConfig))];
|
|
369
363
|
case 8:
|
|
370
|
-
_error_2 =
|
|
364
|
+
_error_2 = _a.sent();
|
|
371
365
|
if (_error_2.response && _error_2.response.data) {
|
|
372
366
|
return [2 /*return*/, Promise.reject(_error_2.response.data)];
|
|
373
367
|
}
|
|
@@ -69,6 +69,12 @@ export interface BookingFunnelClass {
|
|
|
69
69
|
* @memberof BookingFunnelClass
|
|
70
70
|
*/
|
|
71
71
|
'productSlug': string;
|
|
72
|
+
/**
|
|
73
|
+
* Product Version ID.
|
|
74
|
+
* @type {number}
|
|
75
|
+
* @memberof BookingFunnelClass
|
|
76
|
+
*/
|
|
77
|
+
'productVersionId': number;
|
|
72
78
|
/**
|
|
73
79
|
* Booking Funnel version.
|
|
74
80
|
* @type {number}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Emil PublicAPI
|
|
3
|
+
* The Emil Public API description
|
|
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 PublicAPI
|
|
6
|
+
* The Emil Public API description
|
|
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 });
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Emil PublicAPI
|
|
3
|
+
* The Emil Public API description
|
|
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
|
+
import { CardDetailsDto } from './card-details-dto';
|
|
13
|
+
import { SepaDirectDto } from './sepa-direct-dto';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface CompleteAdyenPaymentSetupRequestDto
|
|
18
|
+
*/
|
|
19
|
+
export interface CompleteAdyenPaymentSetupRequestDto {
|
|
20
|
+
/**
|
|
21
|
+
* Unique identifier for the shopper on Adyen.
|
|
22
|
+
* @type {string}
|
|
23
|
+
* @memberof CompleteAdyenPaymentSetupRequestDto
|
|
24
|
+
*/
|
|
25
|
+
'shopperReference': string;
|
|
26
|
+
/**
|
|
27
|
+
* The payment method type on Adyen.
|
|
28
|
+
* @type {string}
|
|
29
|
+
* @memberof CompleteAdyenPaymentSetupRequestDto
|
|
30
|
+
*/
|
|
31
|
+
'paymentMethodType': string;
|
|
32
|
+
/**
|
|
33
|
+
* Unique identifier of the lead that this object belongs to.
|
|
34
|
+
* @type {string}
|
|
35
|
+
* @memberof CompleteAdyenPaymentSetupRequestDto
|
|
36
|
+
*/
|
|
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;
|
|
80
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Emil PublicAPI
|
|
6
|
+
* The Emil Public API description
|
|
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 { 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
|
}
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import { SepaDirectDto } from './sepa-direct-dto';
|
|
12
13
|
/**
|
|
13
14
|
*
|
|
14
15
|
* @export
|
|
@@ -57,4 +58,22 @@ export interface CompleteStripePaymentSetupRequestDto {
|
|
|
57
58
|
* @memberof CompleteStripePaymentSetupRequestDto
|
|
58
59
|
*/
|
|
59
60
|
'leadCode'?: string;
|
|
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;
|
|
60
79
|
}
|
package/dist/models/index.d.ts
CHANGED
|
@@ -4,6 +4,8 @@ export * from './address-field-score-class';
|
|
|
4
4
|
export * from './booking-funnel-class';
|
|
5
5
|
export * from './calculate-product-fields-request-dto';
|
|
6
6
|
export * from './calculate-product-fields-response-class';
|
|
7
|
+
export * from './card-details-dto';
|
|
8
|
+
export * from './complete-adyen-payment-setup-request-dto';
|
|
7
9
|
export * from './complete-braintree-payment-setup-request-dto';
|
|
8
10
|
export * from './complete-email-verification-dto';
|
|
9
11
|
export * from './complete-email-verification-response-class';
|
|
@@ -30,6 +32,8 @@ export * from './get-custom-css-response-class';
|
|
|
30
32
|
export * from './get-lead-response-class';
|
|
31
33
|
export * from './get-product-document-download-url-response-class';
|
|
32
34
|
export * from './get-public-psp-settings-response-class';
|
|
35
|
+
export * from './initiate-adyen-payment-setup-request-dto';
|
|
36
|
+
export * from './initiate-adyen-payment-setup-response-class';
|
|
33
37
|
export * from './initiate-braintree-payment-setup-request-dto';
|
|
34
38
|
export * from './initiate-braintree-payment-setup-response-class';
|
|
35
39
|
export * from './initiate-email-verification-dto';
|
|
@@ -71,6 +75,7 @@ export * from './product-field-class';
|
|
|
71
75
|
export * from './product-version-class';
|
|
72
76
|
export * from './send-notification-request-dto';
|
|
73
77
|
export * from './send-notification-response-class';
|
|
78
|
+
export * from './sepa-direct-dto';
|
|
74
79
|
export * from './sepa-dto';
|
|
75
80
|
export * from './structured-address-class';
|
|
76
81
|
export * from './suggested-address-details-class';
|
package/dist/models/index.js
CHANGED
|
@@ -20,6 +20,8 @@ __exportStar(require("./address-field-score-class"), exports);
|
|
|
20
20
|
__exportStar(require("./booking-funnel-class"), exports);
|
|
21
21
|
__exportStar(require("./calculate-product-fields-request-dto"), exports);
|
|
22
22
|
__exportStar(require("./calculate-product-fields-response-class"), exports);
|
|
23
|
+
__exportStar(require("./card-details-dto"), exports);
|
|
24
|
+
__exportStar(require("./complete-adyen-payment-setup-request-dto"), exports);
|
|
23
25
|
__exportStar(require("./complete-braintree-payment-setup-request-dto"), exports);
|
|
24
26
|
__exportStar(require("./complete-email-verification-dto"), exports);
|
|
25
27
|
__exportStar(require("./complete-email-verification-response-class"), exports);
|
|
@@ -46,6 +48,8 @@ __exportStar(require("./get-custom-css-response-class"), exports);
|
|
|
46
48
|
__exportStar(require("./get-lead-response-class"), exports);
|
|
47
49
|
__exportStar(require("./get-product-document-download-url-response-class"), exports);
|
|
48
50
|
__exportStar(require("./get-public-psp-settings-response-class"), exports);
|
|
51
|
+
__exportStar(require("./initiate-adyen-payment-setup-request-dto"), exports);
|
|
52
|
+
__exportStar(require("./initiate-adyen-payment-setup-response-class"), exports);
|
|
49
53
|
__exportStar(require("./initiate-braintree-payment-setup-request-dto"), exports);
|
|
50
54
|
__exportStar(require("./initiate-braintree-payment-setup-response-class"), exports);
|
|
51
55
|
__exportStar(require("./initiate-email-verification-dto"), exports);
|
|
@@ -87,6 +91,7 @@ __exportStar(require("./product-field-class"), exports);
|
|
|
87
91
|
__exportStar(require("./product-version-class"), exports);
|
|
88
92
|
__exportStar(require("./send-notification-request-dto"), exports);
|
|
89
93
|
__exportStar(require("./send-notification-response-class"), exports);
|
|
94
|
+
__exportStar(require("./sepa-direct-dto"), exports);
|
|
90
95
|
__exportStar(require("./sepa-dto"), exports);
|
|
91
96
|
__exportStar(require("./structured-address-class"), exports);
|
|
92
97
|
__exportStar(require("./suggested-address-details-class"), exports);
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Emil PublicAPI
|
|
3
|
+
* The Emil Public API description
|
|
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 PublicAPI
|
|
6
|
+
* The Emil Public API description
|
|
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 });
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Emil PublicAPI
|
|
3
|
+
* The Emil Public API description
|
|
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 PublicAPI
|
|
6
|
+
* The Emil Public API description
|
|
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
|
/**
|
|
@@ -35,4 +36,10 @@ export interface InitiatePaymentSetupRequestDto {
|
|
|
35
36
|
* @memberof InitiatePaymentSetupRequestDto
|
|
36
37
|
*/
|
|
37
38
|
'productSlug'?: string;
|
|
39
|
+
/**
|
|
40
|
+
*
|
|
41
|
+
* @type {InitiateAdyenPaymentSetupRequestDto}
|
|
42
|
+
* @memberof InitiatePaymentSetupRequestDto
|
|
43
|
+
*/
|
|
44
|
+
'adyen'?: InitiateAdyenPaymentSetupRequestDto;
|
|
38
45
|
}
|
|
@@ -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
|
+
* The Adyen response after initiating the payment setup.
|
|
35
|
+
* @type {InitiateAdyenPaymentSetupResponseClass}
|
|
36
|
+
* @memberof InitiatePaymentSetupResponseClass
|
|
37
|
+
*/
|
|
38
|
+
'adyen': InitiateAdyenPaymentSetupResponseClass;
|
|
32
39
|
}
|
|
@@ -16,17 +16,29 @@
|
|
|
16
16
|
*/
|
|
17
17
|
export interface LinkLeadPartnerRequestDto {
|
|
18
18
|
/**
|
|
19
|
-
* The code of the partner with which the lead will be linked.
|
|
19
|
+
* The code of the partner with which the lead will be linked. Either this field or \'partnerNumber\' must be passed (\'partnerNumber\' is preferred).
|
|
20
20
|
* @type {string}
|
|
21
21
|
* @memberof LinkLeadPartnerRequestDto
|
|
22
22
|
*/
|
|
23
|
-
'partnerCode'
|
|
23
|
+
'partnerCode'?: string;
|
|
24
24
|
/**
|
|
25
|
-
* The
|
|
25
|
+
* The number of the partner with which the lead will be linked. Either this field or \'partnerCode\' must be passed (this is preferred).
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof LinkLeadPartnerRequestDto
|
|
28
28
|
*/
|
|
29
|
-
'
|
|
29
|
+
'partnerNumber'?: string;
|
|
30
|
+
/**
|
|
31
|
+
* The code of role that the partner will have in the established link between the lead and the partner. Either this field or \'partnerRoleSlug\' must be passed (\'partnerRoleSlug\' is preferred).
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof LinkLeadPartnerRequestDto
|
|
34
|
+
*/
|
|
35
|
+
'partnerRoleCode'?: string;
|
|
36
|
+
/**
|
|
37
|
+
* The slug of role that the partner will have in the established link between the lead and the partner. Either this field or \'partnerRoleCode\' must be passed (this is preferred).
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof LinkLeadPartnerRequestDto
|
|
40
|
+
*/
|
|
41
|
+
'partnerRoleSlug'?: string;
|
|
30
42
|
/**
|
|
31
43
|
* The date of the start of linking with a partner.
|
|
32
44
|
* @type {string}
|
|
@@ -33,6 +33,12 @@ export interface PartnerRoleClass {
|
|
|
33
33
|
* @memberof PartnerRoleClass
|
|
34
34
|
*/
|
|
35
35
|
'name': string;
|
|
36
|
+
/**
|
|
37
|
+
* A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof PartnerRoleClass
|
|
40
|
+
*/
|
|
41
|
+
'slug': string;
|
|
36
42
|
/**
|
|
37
43
|
* A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
|
|
38
44
|
* @type {string}
|
|
@@ -57,4 +57,34 @@ export interface PaymentMethodClass {
|
|
|
57
57
|
* @memberof PaymentMethodClass
|
|
58
58
|
*/
|
|
59
59
|
'createdAt': string;
|
|
60
|
+
/**
|
|
61
|
+
* Identifier of the user who created the record.
|
|
62
|
+
* @type {string}
|
|
63
|
+
* @memberof PaymentMethodClass
|
|
64
|
+
*/
|
|
65
|
+
'createdBy': string;
|
|
66
|
+
/**
|
|
67
|
+
* Identifier of the user who last updated the record.
|
|
68
|
+
* @type {string}
|
|
69
|
+
* @memberof PaymentMethodClass
|
|
70
|
+
*/
|
|
71
|
+
'updatedBy': string;
|
|
72
|
+
/**
|
|
73
|
+
* A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
|
|
74
|
+
* @type {string}
|
|
75
|
+
* @memberof PaymentMethodClass
|
|
76
|
+
*/
|
|
77
|
+
'productSlug'?: string;
|
|
78
|
+
/**
|
|
79
|
+
* Optional field contain extra information.
|
|
80
|
+
* @type {object}
|
|
81
|
+
* @memberof PaymentMethodClass
|
|
82
|
+
*/
|
|
83
|
+
'metadata'?: object;
|
|
84
|
+
/**
|
|
85
|
+
* Payment data details. Stored only for some payment method types.
|
|
86
|
+
* @type {object}
|
|
87
|
+
* @memberof PaymentMethodClass
|
|
88
|
+
*/
|
|
89
|
+
'details'?: object;
|
|
60
90
|
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Emil PublicAPI
|
|
3
|
+
* The Emil Public API description
|
|
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 SepaDirectDto
|
|
16
|
+
*/
|
|
17
|
+
export interface SepaDirectDto {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof SepaDirectDto
|
|
22
|
+
*/
|
|
23
|
+
'iban': string;
|
|
24
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Emil PublicAPI
|
|
6
|
+
* The Emil Public API description
|
|
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 });
|