@emilgroup/customer-sdk-node 1.46.1-beta.1 → 1.46.1-beta.3
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/authentication-api.ts +4 -2
- package/dist/api/authentication-api.d.ts +4 -3
- package/dist/api/authentication-api.js +23 -60
- package/dist/api/claims-api.js +17 -46
- package/dist/api/customers-api.js +20 -53
- package/dist/api/default-api.js +5 -18
- package/dist/api/documents-api.d.ts +3 -3
- package/dist/api/documents-api.js +11 -32
- package/dist/api/invites-api.js +14 -39
- package/dist/api/invoices-api.js +5 -18
- package/dist/api/leads-api.js +14 -39
- package/dist/api/payments-api.js +8 -25
- package/dist/api/policies-api.js +23 -60
- package/dist/api/products-api.js +8 -25
- package/dist/base.js +15 -25
- package/dist/common.d.ts +1 -1
- package/dist/common.js +2 -2
- package/dist/models/complete-eis-payment-setup-request-dto.d.ts +36 -0
- package/dist/models/complete-eis-payment-setup-request-dto.js +15 -0
- package/dist/models/complete-payment-setup-psp-request.d.ts +7 -0
- package/dist/models/create-lead-request-dto.d.ts +1 -1
- package/dist/models/customer-product-class.d.ts +6 -0
- package/dist/models/index.d.ts +6 -0
- package/dist/models/index.js +6 -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-braintree-payment-setup-request-dto.d.ts +30 -0
- package/dist/models/initiate-braintree-payment-setup-request-dto.js +15 -0
- package/dist/models/initiate-eis-payment-setup-request-dto.d.ts +30 -0
- package/dist/models/initiate-eis-payment-setup-request-dto.js +15 -0
- package/dist/models/initiate-payment-setup-request-dto.d.ts +28 -0
- package/dist/models/initiate-stripe-payment-setup-request-dto.d.ts +30 -0
- package/dist/models/initiate-stripe-payment-setup-request-dto.js +15 -0
- package/dist/models/shared-invoice-status-class.d.ts +2 -0
- package/dist/models/shared-invoice-status-class.js +3 -1
- package/dist/models/verify-reset-password-token-response-class.d.ts +36 -0
- package/dist/models/verify-reset-password-token-response-class.js +15 -0
- package/models/complete-eis-payment-setup-request-dto.ts +42 -0
- package/models/complete-payment-setup-psp-request.ts +7 -0
- package/models/create-lead-request-dto.ts +1 -1
- package/models/customer-product-class.ts +6 -0
- package/models/index.ts +6 -0
- package/models/initiate-adyen-payment-setup-request-dto.ts +36 -0
- package/models/initiate-braintree-payment-setup-request-dto.ts +36 -0
- package/models/initiate-eis-payment-setup-request-dto.ts +36 -0
- package/models/initiate-payment-setup-request-dto.ts +28 -0
- package/models/initiate-stripe-payment-setup-request-dto.ts +36 -0
- package/models/shared-invoice-status-class.ts +3 -1
- package/models/verify-reset-password-token-response-class.ts +42 -0
- package/package.json +4 -4
package/dist/base.js
CHANGED
|
@@ -54,23 +54,13 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
|
|
|
54
54
|
}) : function(o, v) {
|
|
55
55
|
o["default"] = v;
|
|
56
56
|
});
|
|
57
|
-
var __importStar = (this && this.__importStar) ||
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
return ownKeys(o);
|
|
65
|
-
};
|
|
66
|
-
return function (mod) {
|
|
67
|
-
if (mod && mod.__esModule) return mod;
|
|
68
|
-
var result = {};
|
|
69
|
-
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
70
|
-
__setModuleDefault(result, mod);
|
|
71
|
-
return result;
|
|
72
|
-
};
|
|
73
|
-
})();
|
|
57
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
58
|
+
if (mod && mod.__esModule) return mod;
|
|
59
|
+
var result = {};
|
|
60
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
61
|
+
__setModuleDefault(result, mod);
|
|
62
|
+
return result;
|
|
63
|
+
};
|
|
74
64
|
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
75
65
|
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
76
66
|
return new (P || (P = Promise))(function (resolve, reject) {
|
|
@@ -81,8 +71,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
81
71
|
});
|
|
82
72
|
};
|
|
83
73
|
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
84
|
-
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g
|
|
85
|
-
return g
|
|
74
|
+
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
75
|
+
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
86
76
|
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
87
77
|
function step(op) {
|
|
88
78
|
if (f) throw new TypeError("Generator is already executing.");
|
|
@@ -111,8 +101,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
111
101
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
112
102
|
};
|
|
113
103
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
114
|
-
exports.RequiredError = exports.BaseAPI = exports.Environment = exports.COLLECTION_FORMATS = exports.BASE_PATH = void 0;
|
|
115
|
-
exports.resetRetry = resetRetry;
|
|
104
|
+
exports.RequiredError = exports.BaseAPI = exports.resetRetry = exports.Environment = exports.COLLECTION_FORMATS = exports.BASE_PATH = void 0;
|
|
116
105
|
var configuration_1 = require("./configuration");
|
|
117
106
|
// Some imports not used depending on template conditions
|
|
118
107
|
// @ts-ignore
|
|
@@ -143,12 +132,13 @@ var Environment;
|
|
|
143
132
|
Environment["Staging"] = "https://apiv2-staging.emil.de";
|
|
144
133
|
Environment["Development"] = "https://apiv2-dev.emil.de";
|
|
145
134
|
Environment["ProductionZurich"] = "https://eu-central-2.apiv2.emil.de";
|
|
146
|
-
})(Environment
|
|
135
|
+
})(Environment = exports.Environment || (exports.Environment = {}));
|
|
147
136
|
var _retry_count = 0;
|
|
148
137
|
var _retry = null;
|
|
149
138
|
function resetRetry() {
|
|
150
139
|
_retry_count = 0;
|
|
151
140
|
}
|
|
141
|
+
exports.resetRetry = resetRetry;
|
|
152
142
|
var NETWORK_ERROR_MESSAGE = "Network Error";
|
|
153
143
|
/**
|
|
154
144
|
*
|
|
@@ -173,9 +163,9 @@ var BaseAPI = /** @class */ (function () {
|
|
|
173
163
|
}
|
|
174
164
|
this.attachInterceptor(axios);
|
|
175
165
|
}
|
|
176
|
-
BaseAPI.prototype.initialize = function () {
|
|
177
|
-
|
|
178
|
-
|
|
166
|
+
BaseAPI.prototype.initialize = function (env) {
|
|
167
|
+
if (env === void 0) { env = Environment.Production; }
|
|
168
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
179
169
|
return __generator(this, function (_a) {
|
|
180
170
|
switch (_a.label) {
|
|
181
171
|
case 0:
|
package/dist/common.d.ts
CHANGED
|
@@ -63,4 +63,4 @@ export declare const toPathString: (url: URL) => string;
|
|
|
63
63
|
*
|
|
64
64
|
* @export
|
|
65
65
|
*/
|
|
66
|
-
export declare const createRequestFunction: (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) => <T = unknown, R = AxiosResponse<T>>(axios?: AxiosInstance, basePath?: string) => Promise<R>;
|
|
66
|
+
export declare const createRequestFunction: (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) => <T = unknown, R = AxiosResponse<T, any>>(axios?: AxiosInstance, basePath?: string) => Promise<R>;
|
package/dist/common.js
CHANGED
|
@@ -33,8 +33,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
33
33
|
});
|
|
34
34
|
};
|
|
35
35
|
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
36
|
-
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g
|
|
37
|
-
return g
|
|
36
|
+
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
37
|
+
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
38
38
|
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
39
39
|
function step(op) {
|
|
40
40
|
if (f) throw new TypeError("Generator is already executing.");
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* EMIL CustomerService
|
|
3
|
+
* The EMIL CustomerService 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 CompleteEisPaymentSetupRequestDto
|
|
16
|
+
*/
|
|
17
|
+
export interface CompleteEisPaymentSetupRequestDto {
|
|
18
|
+
/**
|
|
19
|
+
* Unique identifier of the account that this object belongs to.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof CompleteEisPaymentSetupRequestDto
|
|
22
|
+
*/
|
|
23
|
+
'accountCode'?: string;
|
|
24
|
+
/**
|
|
25
|
+
* Unique identifier of the partner that this object belongs to.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof CompleteEisPaymentSetupRequestDto
|
|
28
|
+
*/
|
|
29
|
+
'partnerCode'?: string;
|
|
30
|
+
/**
|
|
31
|
+
* Unique identifier of the lead that this object belongs to.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof CompleteEisPaymentSetupRequestDto
|
|
34
|
+
*/
|
|
35
|
+
'leadCode'?: string;
|
|
36
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* EMIL CustomerService
|
|
6
|
+
* The EMIL CustomerService 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 });
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import { CompleteAdyenPaymentSetupRequestDto } from './complete-adyen-payment-setup-request-dto';
|
|
13
13
|
import { CompleteBraintreePaymentSetupRequestDto } from './complete-braintree-payment-setup-request-dto';
|
|
14
|
+
import { CompleteEisPaymentSetupRequestDto } from './complete-eis-payment-setup-request-dto';
|
|
14
15
|
import { CompleteStripePaymentSetupRequestDto } from './complete-stripe-payment-setup-request-dto';
|
|
15
16
|
/**
|
|
16
17
|
*
|
|
@@ -42,4 +43,10 @@ export interface CompletePaymentSetupPspRequest {
|
|
|
42
43
|
* @memberof CompletePaymentSetupPspRequest
|
|
43
44
|
*/
|
|
44
45
|
'adyen'?: CompleteAdyenPaymentSetupRequestDto;
|
|
46
|
+
/**
|
|
47
|
+
*
|
|
48
|
+
* @type {CompleteEisPaymentSetupRequestDto}
|
|
49
|
+
* @memberof CompletePaymentSetupPspRequest
|
|
50
|
+
*/
|
|
51
|
+
'eis'?: CompleteEisPaymentSetupRequestDto;
|
|
45
52
|
}
|
|
@@ -80,7 +80,7 @@ export interface CreateLeadRequestDto {
|
|
|
80
80
|
* @type {CreatePaymentMethodRequestDto}
|
|
81
81
|
* @memberof CreateLeadRequestDto
|
|
82
82
|
*/
|
|
83
|
-
'paymentMethod'
|
|
83
|
+
'paymentMethod'?: CreatePaymentMethodRequestDto;
|
|
84
84
|
/**
|
|
85
85
|
* Optional partner object contains necessary information to link a partner to the policy.
|
|
86
86
|
* @type {LinkLeadPartnerRequestDto}
|
|
@@ -39,6 +39,12 @@ export interface CustomerProductClass {
|
|
|
39
39
|
* @memberof CustomerProductClass
|
|
40
40
|
*/
|
|
41
41
|
'contractDurationDays': number;
|
|
42
|
+
/**
|
|
43
|
+
* Product version ID
|
|
44
|
+
* @type {number}
|
|
45
|
+
* @memberof CustomerProductClass
|
|
46
|
+
*/
|
|
47
|
+
'productVersionId': number;
|
|
42
48
|
/**
|
|
43
49
|
* Time at which the object was created.
|
|
44
50
|
* @type {string}
|
package/dist/models/index.d.ts
CHANGED
|
@@ -8,6 +8,7 @@ export * from './change-password-response-class';
|
|
|
8
8
|
export * from './claim-class';
|
|
9
9
|
export * from './complete-adyen-payment-setup-request-dto';
|
|
10
10
|
export * from './complete-braintree-payment-setup-request-dto';
|
|
11
|
+
export * from './complete-eis-payment-setup-request-dto';
|
|
11
12
|
export * from './complete-payment-setup-psp-request';
|
|
12
13
|
export * from './complete-payment-setup-response-class';
|
|
13
14
|
export * from './complete-stripe-payment-setup-request-dto';
|
|
@@ -33,12 +34,16 @@ export * from './get-lead-response-class';
|
|
|
33
34
|
export * from './get-policy-response-class';
|
|
34
35
|
export * from './get-product-response-class';
|
|
35
36
|
export * from './grpc-update-lead-request-dto';
|
|
37
|
+
export * from './initiate-adyen-payment-setup-request-dto';
|
|
36
38
|
export * from './initiate-adyen-payment-setup-response-class';
|
|
37
39
|
export * from './initiate-auth-request-dto';
|
|
38
40
|
export * from './initiate-auth-response-class';
|
|
41
|
+
export * from './initiate-braintree-payment-setup-request-dto';
|
|
39
42
|
export * from './initiate-braintree-payment-setup-response-class';
|
|
43
|
+
export * from './initiate-eis-payment-setup-request-dto';
|
|
40
44
|
export * from './initiate-payment-setup-request-dto';
|
|
41
45
|
export * from './initiate-payment-setup-response-class';
|
|
46
|
+
export * from './initiate-stripe-payment-setup-request-dto';
|
|
42
47
|
export * from './initiate-stripe-payment-setup-response-class';
|
|
43
48
|
export * from './inline-response200';
|
|
44
49
|
export * from './inline-response503';
|
|
@@ -98,4 +103,5 @@ export * from './uploaded-document-dto';
|
|
|
98
103
|
export * from './verify-change-email-token-request-dto';
|
|
99
104
|
export * from './verify-change-email-token-response-class';
|
|
100
105
|
export * from './verify-customer-invite-response-class';
|
|
106
|
+
export * from './verify-reset-password-token-response-class';
|
|
101
107
|
export * from './withdraw-customer-policy-response-class';
|
package/dist/models/index.js
CHANGED
|
@@ -24,6 +24,7 @@ __exportStar(require("./change-password-response-class"), exports);
|
|
|
24
24
|
__exportStar(require("./claim-class"), exports);
|
|
25
25
|
__exportStar(require("./complete-adyen-payment-setup-request-dto"), exports);
|
|
26
26
|
__exportStar(require("./complete-braintree-payment-setup-request-dto"), exports);
|
|
27
|
+
__exportStar(require("./complete-eis-payment-setup-request-dto"), exports);
|
|
27
28
|
__exportStar(require("./complete-payment-setup-psp-request"), exports);
|
|
28
29
|
__exportStar(require("./complete-payment-setup-response-class"), exports);
|
|
29
30
|
__exportStar(require("./complete-stripe-payment-setup-request-dto"), exports);
|
|
@@ -49,12 +50,16 @@ __exportStar(require("./get-lead-response-class"), exports);
|
|
|
49
50
|
__exportStar(require("./get-policy-response-class"), exports);
|
|
50
51
|
__exportStar(require("./get-product-response-class"), exports);
|
|
51
52
|
__exportStar(require("./grpc-update-lead-request-dto"), exports);
|
|
53
|
+
__exportStar(require("./initiate-adyen-payment-setup-request-dto"), exports);
|
|
52
54
|
__exportStar(require("./initiate-adyen-payment-setup-response-class"), exports);
|
|
53
55
|
__exportStar(require("./initiate-auth-request-dto"), exports);
|
|
54
56
|
__exportStar(require("./initiate-auth-response-class"), exports);
|
|
57
|
+
__exportStar(require("./initiate-braintree-payment-setup-request-dto"), exports);
|
|
55
58
|
__exportStar(require("./initiate-braintree-payment-setup-response-class"), exports);
|
|
59
|
+
__exportStar(require("./initiate-eis-payment-setup-request-dto"), exports);
|
|
56
60
|
__exportStar(require("./initiate-payment-setup-request-dto"), exports);
|
|
57
61
|
__exportStar(require("./initiate-payment-setup-response-class"), exports);
|
|
62
|
+
__exportStar(require("./initiate-stripe-payment-setup-request-dto"), exports);
|
|
58
63
|
__exportStar(require("./initiate-stripe-payment-setup-response-class"), exports);
|
|
59
64
|
__exportStar(require("./inline-response200"), exports);
|
|
60
65
|
__exportStar(require("./inline-response503"), exports);
|
|
@@ -114,4 +119,5 @@ __exportStar(require("./uploaded-document-dto"), exports);
|
|
|
114
119
|
__exportStar(require("./verify-change-email-token-request-dto"), exports);
|
|
115
120
|
__exportStar(require("./verify-change-email-token-response-class"), exports);
|
|
116
121
|
__exportStar(require("./verify-customer-invite-response-class"), exports);
|
|
122
|
+
__exportStar(require("./verify-reset-password-token-response-class"), exports);
|
|
117
123
|
__exportStar(require("./withdraw-customer-policy-response-class"), exports);
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* EMIL CustomerService
|
|
3
|
+
* The EMIL CustomerService 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 CustomerService
|
|
6
|
+
* The EMIL CustomerService 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,30 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* EMIL CustomerService
|
|
3
|
+
* The EMIL CustomerService 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 InitiateBraintreePaymentSetupRequestDto
|
|
16
|
+
*/
|
|
17
|
+
export interface InitiateBraintreePaymentSetupRequestDto {
|
|
18
|
+
/**
|
|
19
|
+
* Unique identifier of the lead that this object belongs to.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof InitiateBraintreePaymentSetupRequestDto
|
|
22
|
+
*/
|
|
23
|
+
'leadCode'?: string;
|
|
24
|
+
/**
|
|
25
|
+
* Unique identifier of the account that this object belongs to.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof InitiateBraintreePaymentSetupRequestDto
|
|
28
|
+
*/
|
|
29
|
+
'accountCode'?: string;
|
|
30
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* EMIL CustomerService
|
|
6
|
+
* The EMIL CustomerService 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,30 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* EMIL CustomerService
|
|
3
|
+
* The EMIL CustomerService 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 InitiateEisPaymentSetupRequestDto
|
|
16
|
+
*/
|
|
17
|
+
export interface InitiateEisPaymentSetupRequestDto {
|
|
18
|
+
/**
|
|
19
|
+
* Unique identifier of the lead that this object belongs to.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof InitiateEisPaymentSetupRequestDto
|
|
22
|
+
*/
|
|
23
|
+
'leadCode'?: string;
|
|
24
|
+
/**
|
|
25
|
+
* Unique identifier of the account that this object belongs to.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof InitiateEisPaymentSetupRequestDto
|
|
28
|
+
*/
|
|
29
|
+
'accountCode'?: string;
|
|
30
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* EMIL CustomerService
|
|
6
|
+
* The EMIL CustomerService 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,10 @@
|
|
|
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';
|
|
13
|
+
import { InitiateBraintreePaymentSetupRequestDto } from './initiate-braintree-payment-setup-request-dto';
|
|
14
|
+
import { InitiateEisPaymentSetupRequestDto } from './initiate-eis-payment-setup-request-dto';
|
|
15
|
+
import { InitiateStripePaymentSetupRequestDto } from './initiate-stripe-payment-setup-request-dto';
|
|
12
16
|
/**
|
|
13
17
|
*
|
|
14
18
|
* @export
|
|
@@ -27,4 +31,28 @@ export interface InitiatePaymentSetupRequestDto {
|
|
|
27
31
|
* @memberof InitiatePaymentSetupRequestDto
|
|
28
32
|
*/
|
|
29
33
|
'productSlug'?: string;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {InitiateStripePaymentSetupRequestDto}
|
|
37
|
+
* @memberof InitiatePaymentSetupRequestDto
|
|
38
|
+
*/
|
|
39
|
+
'stripe'?: InitiateStripePaymentSetupRequestDto;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {InitiateBraintreePaymentSetupRequestDto}
|
|
43
|
+
* @memberof InitiatePaymentSetupRequestDto
|
|
44
|
+
*/
|
|
45
|
+
'braintree'?: InitiateBraintreePaymentSetupRequestDto;
|
|
46
|
+
/**
|
|
47
|
+
*
|
|
48
|
+
* @type {InitiateAdyenPaymentSetupRequestDto}
|
|
49
|
+
* @memberof InitiatePaymentSetupRequestDto
|
|
50
|
+
*/
|
|
51
|
+
'adyen'?: InitiateAdyenPaymentSetupRequestDto;
|
|
52
|
+
/**
|
|
53
|
+
*
|
|
54
|
+
* @type {InitiateEisPaymentSetupRequestDto}
|
|
55
|
+
* @memberof InitiatePaymentSetupRequestDto
|
|
56
|
+
*/
|
|
57
|
+
'eis'?: InitiateEisPaymentSetupRequestDto;
|
|
30
58
|
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* EMIL CustomerService
|
|
3
|
+
* The EMIL CustomerService 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 InitiateStripePaymentSetupRequestDto
|
|
16
|
+
*/
|
|
17
|
+
export interface InitiateStripePaymentSetupRequestDto {
|
|
18
|
+
/**
|
|
19
|
+
* Unique identifier of the lead that this object belongs to.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof InitiateStripePaymentSetupRequestDto
|
|
22
|
+
*/
|
|
23
|
+
'leadCode'?: string;
|
|
24
|
+
/**
|
|
25
|
+
* Unique identifier of the account that this object belongs to.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof InitiateStripePaymentSetupRequestDto
|
|
28
|
+
*/
|
|
29
|
+
'accountCode'?: string;
|
|
30
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* EMIL CustomerService
|
|
6
|
+
* The EMIL CustomerService 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 });
|
|
@@ -43,5 +43,7 @@ export interface SharedInvoiceStatusClass {
|
|
|
43
43
|
export declare const SharedInvoiceStatusClassStatusEnum: {
|
|
44
44
|
readonly Open: "open";
|
|
45
45
|
readonly Paid: "paid";
|
|
46
|
+
readonly PartiallyPaid: "partially-paid";
|
|
47
|
+
readonly Refunded: "refunded";
|
|
46
48
|
};
|
|
47
49
|
export type SharedInvoiceStatusClassStatusEnum = typeof SharedInvoiceStatusClassStatusEnum[keyof typeof SharedInvoiceStatusClassStatusEnum];
|
|
@@ -16,5 +16,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
16
16
|
exports.SharedInvoiceStatusClassStatusEnum = void 0;
|
|
17
17
|
exports.SharedInvoiceStatusClassStatusEnum = {
|
|
18
18
|
Open: 'open',
|
|
19
|
-
Paid: 'paid'
|
|
19
|
+
Paid: 'paid',
|
|
20
|
+
PartiallyPaid: 'partially-paid',
|
|
21
|
+
Refunded: 'refunded'
|
|
20
22
|
};
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* EMIL CustomerService
|
|
3
|
+
* The EMIL CustomerService 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 VerifyResetPasswordTokenResponseClass
|
|
16
|
+
*/
|
|
17
|
+
export interface VerifyResetPasswordTokenResponseClass {
|
|
18
|
+
/**
|
|
19
|
+
* User\'s email address
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof VerifyResetPasswordTokenResponseClass
|
|
22
|
+
*/
|
|
23
|
+
'email': string;
|
|
24
|
+
/**
|
|
25
|
+
* User\'s reset token
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof VerifyResetPasswordTokenResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'resetToken': string;
|
|
30
|
+
/**
|
|
31
|
+
* tenant slug
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof VerifyResetPasswordTokenResponseClass
|
|
34
|
+
*/
|
|
35
|
+
'tenantSlug': string;
|
|
36
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* EMIL CustomerService
|
|
6
|
+
* The EMIL CustomerService 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
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* EMIL CustomerService
|
|
5
|
+
* The EMIL CustomerService API description
|
|
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 CompleteEisPaymentSetupRequestDto
|
|
21
|
+
*/
|
|
22
|
+
export interface CompleteEisPaymentSetupRequestDto {
|
|
23
|
+
/**
|
|
24
|
+
* Unique identifier of the account that this object belongs to.
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof CompleteEisPaymentSetupRequestDto
|
|
27
|
+
*/
|
|
28
|
+
'accountCode'?: string;
|
|
29
|
+
/**
|
|
30
|
+
* Unique identifier of the partner that this object belongs to.
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof CompleteEisPaymentSetupRequestDto
|
|
33
|
+
*/
|
|
34
|
+
'partnerCode'?: string;
|
|
35
|
+
/**
|
|
36
|
+
* Unique identifier of the lead that this object belongs to.
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof CompleteEisPaymentSetupRequestDto
|
|
39
|
+
*/
|
|
40
|
+
'leadCode'?: string;
|
|
41
|
+
}
|
|
42
|
+
|
|
@@ -15,6 +15,7 @@
|
|
|
15
15
|
|
|
16
16
|
import { CompleteAdyenPaymentSetupRequestDto } from './complete-adyen-payment-setup-request-dto';
|
|
17
17
|
import { CompleteBraintreePaymentSetupRequestDto } from './complete-braintree-payment-setup-request-dto';
|
|
18
|
+
import { CompleteEisPaymentSetupRequestDto } from './complete-eis-payment-setup-request-dto';
|
|
18
19
|
import { CompleteStripePaymentSetupRequestDto } from './complete-stripe-payment-setup-request-dto';
|
|
19
20
|
|
|
20
21
|
/**
|
|
@@ -47,5 +48,11 @@ export interface CompletePaymentSetupPspRequest {
|
|
|
47
48
|
* @memberof CompletePaymentSetupPspRequest
|
|
48
49
|
*/
|
|
49
50
|
'adyen'?: CompleteAdyenPaymentSetupRequestDto;
|
|
51
|
+
/**
|
|
52
|
+
*
|
|
53
|
+
* @type {CompleteEisPaymentSetupRequestDto}
|
|
54
|
+
* @memberof CompletePaymentSetupPspRequest
|
|
55
|
+
*/
|
|
56
|
+
'eis'?: CompleteEisPaymentSetupRequestDto;
|
|
50
57
|
}
|
|
51
58
|
|
|
@@ -85,7 +85,7 @@ export interface CreateLeadRequestDto {
|
|
|
85
85
|
* @type {CreatePaymentMethodRequestDto}
|
|
86
86
|
* @memberof CreateLeadRequestDto
|
|
87
87
|
*/
|
|
88
|
-
'paymentMethod'
|
|
88
|
+
'paymentMethod'?: CreatePaymentMethodRequestDto;
|
|
89
89
|
/**
|
|
90
90
|
* Optional partner object contains necessary information to link a partner to the policy.
|
|
91
91
|
* @type {LinkLeadPartnerRequestDto}
|
|
@@ -44,6 +44,12 @@ export interface CustomerProductClass {
|
|
|
44
44
|
* @memberof CustomerProductClass
|
|
45
45
|
*/
|
|
46
46
|
'contractDurationDays': number;
|
|
47
|
+
/**
|
|
48
|
+
* Product version ID
|
|
49
|
+
* @type {number}
|
|
50
|
+
* @memberof CustomerProductClass
|
|
51
|
+
*/
|
|
52
|
+
'productVersionId': number;
|
|
47
53
|
/**
|
|
48
54
|
* Time at which the object was created.
|
|
49
55
|
* @type {string}
|