@emilgroup/customer-sdk-node 1.36.1-beta.0 → 1.37.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/customers-api.ts +310 -4
- package/api/leads-api.ts +38 -38
- package/base.ts +5 -5
- package/dist/api/customers-api.d.ts +174 -4
- package/dist/api/customers-api.js +253 -4
- package/dist/api/leads-api.d.ts +24 -24
- package/dist/api/leads-api.js +34 -34
- package/dist/base.d.ts +2 -2
- package/dist/base.js +1 -2
- package/dist/models/change-customer-email-request-dto.d.ts +30 -0
- package/dist/models/change-customer-email-request-dto.js +15 -0
- package/dist/models/grpc-update-lead-request-dto.d.ts +50 -0
- package/dist/models/grpc-update-lead-request-dto.js +15 -0
- package/dist/models/index.d.ts +6 -0
- package/dist/models/index.js +6 -0
- package/dist/models/lead-class.d.ts +1 -1
- package/dist/models/request-change-email-by-customer-request-dto.d.ts +24 -0
- package/dist/models/request-change-email-by-customer-request-dto.js +15 -0
- package/dist/models/request-change-email-by-customer-response-class.d.ts +24 -0
- package/dist/models/request-change-email-by-customer-response-class.js +15 -0
- package/dist/models/update-account-request-dto.d.ts +0 -6
- package/dist/models/update-lead-request-dto.d.ts +0 -6
- package/dist/models/verify-change-email-token-request-dto.d.ts +24 -0
- package/dist/models/verify-change-email-token-request-dto.js +15 -0
- package/dist/models/verify-change-email-token-response-class.d.ts +36 -0
- package/dist/models/verify-change-email-token-response-class.js +15 -0
- package/models/change-customer-email-request-dto.ts +36 -0
- package/models/grpc-update-lead-request-dto.ts +56 -0
- package/models/index.ts +6 -0
- package/models/lead-class.ts +1 -1
- package/models/request-change-email-by-customer-request-dto.ts +30 -0
- package/models/request-change-email-by-customer-response-class.ts +30 -0
- package/models/update-account-request-dto.ts +0 -6
- package/models/update-lead-request-dto.ts +0 -6
- package/models/verify-change-email-token-request-dto.ts +30 -0
- package/models/verify-change-email-token-response-class.ts +42 -0
- package/package.json +1 -1
package/dist/api/leads-api.js
CHANGED
|
@@ -150,28 +150,28 @@ var LeadsApiAxiosParamCreator = function (configuration) {
|
|
|
150
150
|
});
|
|
151
151
|
},
|
|
152
152
|
/**
|
|
153
|
-
* Retrieves the details of the lead that was previously created. Supply the unique lead code
|
|
153
|
+
* Retrieves the details of the lead that was previously created. Supply the unique lead code that was returned when you created it and Emil Api will return the corresponding lead information.
|
|
154
154
|
* @summary Retrieve the lead
|
|
155
|
-
* @param {string}
|
|
155
|
+
* @param {string} code Unique identifier for the object.
|
|
156
156
|
* @param {string} customerCode The customer code or \"me\" for the currently logged in customer.
|
|
157
157
|
* @param {string} [authorization] Bearer Token
|
|
158
158
|
* @param {string} [expand]
|
|
159
159
|
* @param {*} [options] Override http request option.
|
|
160
160
|
* @throws {RequiredError}
|
|
161
161
|
*/
|
|
162
|
-
getLead: function (
|
|
162
|
+
getLead: function (code, customerCode, authorization, expand, options) {
|
|
163
163
|
if (options === void 0) { options = {}; }
|
|
164
164
|
return __awaiter(_this, void 0, void 0, function () {
|
|
165
165
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
166
166
|
return __generator(this, function (_a) {
|
|
167
167
|
switch (_a.label) {
|
|
168
168
|
case 0:
|
|
169
|
-
// verify required parameter '
|
|
170
|
-
(0, common_1.assertParamExists)('getLead', '
|
|
169
|
+
// verify required parameter 'code' is not null or undefined
|
|
170
|
+
(0, common_1.assertParamExists)('getLead', 'code', code);
|
|
171
171
|
// verify required parameter 'customerCode' is not null or undefined
|
|
172
172
|
(0, common_1.assertParamExists)('getLead', 'customerCode', customerCode);
|
|
173
|
-
localVarPath = "/v1/customers/{customerCode}/leads/{
|
|
174
|
-
.replace("{".concat("
|
|
173
|
+
localVarPath = "/v1/customers/{customerCode}/leads/{code}"
|
|
174
|
+
.replace("{".concat("code", "}"), encodeURIComponent(String(code)))
|
|
175
175
|
.replace("{".concat("customerCode", "}"), encodeURIComponent(String(customerCode)));
|
|
176
176
|
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
177
177
|
if (configuration) {
|
|
@@ -206,7 +206,7 @@ var LeadsApiAxiosParamCreator = function (configuration) {
|
|
|
206
206
|
});
|
|
207
207
|
},
|
|
208
208
|
/**
|
|
209
|
-
* Returns a list of leads you have previously created.
|
|
209
|
+
* Returns a list of leads you have previously created. The leads are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
210
210
|
* @summary List leads
|
|
211
211
|
* @param {string} customerCode The customer code or \"me\" for the currently logged in customer.
|
|
212
212
|
* @param {string} [authorization] Bearer Token
|
|
@@ -284,28 +284,28 @@ var LeadsApiAxiosParamCreator = function (configuration) {
|
|
|
284
284
|
/**
|
|
285
285
|
* Updates the specified lead by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
286
286
|
* @summary Update the lead
|
|
287
|
-
* @param {string}
|
|
287
|
+
* @param {string} code Unique identifier for the object.
|
|
288
288
|
* @param {string} customerCode The customer code or \"me\" for the currently logged in customer.
|
|
289
289
|
* @param {UpdateLeadRequestDto} updateLeadRequestDto
|
|
290
290
|
* @param {string} [authorization] Bearer Token
|
|
291
291
|
* @param {*} [options] Override http request option.
|
|
292
292
|
* @throws {RequiredError}
|
|
293
293
|
*/
|
|
294
|
-
updateLead: function (
|
|
294
|
+
updateLead: function (code, customerCode, updateLeadRequestDto, authorization, options) {
|
|
295
295
|
if (options === void 0) { options = {}; }
|
|
296
296
|
return __awaiter(_this, void 0, void 0, function () {
|
|
297
297
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
298
298
|
return __generator(this, function (_a) {
|
|
299
299
|
switch (_a.label) {
|
|
300
300
|
case 0:
|
|
301
|
-
// verify required parameter '
|
|
302
|
-
(0, common_1.assertParamExists)('updateLead', '
|
|
301
|
+
// verify required parameter 'code' is not null or undefined
|
|
302
|
+
(0, common_1.assertParamExists)('updateLead', 'code', code);
|
|
303
303
|
// verify required parameter 'customerCode' is not null or undefined
|
|
304
304
|
(0, common_1.assertParamExists)('updateLead', 'customerCode', customerCode);
|
|
305
305
|
// verify required parameter 'updateLeadRequestDto' is not null or undefined
|
|
306
306
|
(0, common_1.assertParamExists)('updateLead', 'updateLeadRequestDto', updateLeadRequestDto);
|
|
307
|
-
localVarPath = "/v1/customers/{customerCode}/leads/{
|
|
308
|
-
.replace("{".concat("
|
|
307
|
+
localVarPath = "/v1/customers/{customerCode}/leads/{code}"
|
|
308
|
+
.replace("{".concat("code", "}"), encodeURIComponent(String(code)))
|
|
309
309
|
.replace("{".concat("customerCode", "}"), encodeURIComponent(String(customerCode)));
|
|
310
310
|
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
311
311
|
if (configuration) {
|
|
@@ -371,21 +371,21 @@ var LeadsApiFp = function (configuration) {
|
|
|
371
371
|
});
|
|
372
372
|
},
|
|
373
373
|
/**
|
|
374
|
-
* Retrieves the details of the lead that was previously created. Supply the unique lead code
|
|
374
|
+
* Retrieves the details of the lead that was previously created. Supply the unique lead code that was returned when you created it and Emil Api will return the corresponding lead information.
|
|
375
375
|
* @summary Retrieve the lead
|
|
376
|
-
* @param {string}
|
|
376
|
+
* @param {string} code Unique identifier for the object.
|
|
377
377
|
* @param {string} customerCode The customer code or \"me\" for the currently logged in customer.
|
|
378
378
|
* @param {string} [authorization] Bearer Token
|
|
379
379
|
* @param {string} [expand]
|
|
380
380
|
* @param {*} [options] Override http request option.
|
|
381
381
|
* @throws {RequiredError}
|
|
382
382
|
*/
|
|
383
|
-
getLead: function (
|
|
383
|
+
getLead: function (code, customerCode, authorization, expand, options) {
|
|
384
384
|
return __awaiter(this, void 0, void 0, function () {
|
|
385
385
|
var localVarAxiosArgs;
|
|
386
386
|
return __generator(this, function (_a) {
|
|
387
387
|
switch (_a.label) {
|
|
388
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getLead(
|
|
388
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getLead(code, customerCode, authorization, expand, options)];
|
|
389
389
|
case 1:
|
|
390
390
|
localVarAxiosArgs = _a.sent();
|
|
391
391
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -394,7 +394,7 @@ var LeadsApiFp = function (configuration) {
|
|
|
394
394
|
});
|
|
395
395
|
},
|
|
396
396
|
/**
|
|
397
|
-
* Returns a list of leads you have previously created.
|
|
397
|
+
* Returns a list of leads you have previously created. The leads are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
398
398
|
* @summary List leads
|
|
399
399
|
* @param {string} customerCode The customer code or \"me\" for the currently logged in customer.
|
|
400
400
|
* @param {string} [authorization] Bearer Token
|
|
@@ -424,19 +424,19 @@ var LeadsApiFp = function (configuration) {
|
|
|
424
424
|
/**
|
|
425
425
|
* Updates the specified lead by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
426
426
|
* @summary Update the lead
|
|
427
|
-
* @param {string}
|
|
427
|
+
* @param {string} code Unique identifier for the object.
|
|
428
428
|
* @param {string} customerCode The customer code or \"me\" for the currently logged in customer.
|
|
429
429
|
* @param {UpdateLeadRequestDto} updateLeadRequestDto
|
|
430
430
|
* @param {string} [authorization] Bearer Token
|
|
431
431
|
* @param {*} [options] Override http request option.
|
|
432
432
|
* @throws {RequiredError}
|
|
433
433
|
*/
|
|
434
|
-
updateLead: function (
|
|
434
|
+
updateLead: function (code, customerCode, updateLeadRequestDto, authorization, options) {
|
|
435
435
|
return __awaiter(this, void 0, void 0, function () {
|
|
436
436
|
var localVarAxiosArgs;
|
|
437
437
|
return __generator(this, function (_a) {
|
|
438
438
|
switch (_a.label) {
|
|
439
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.updateLead(
|
|
439
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.updateLead(code, customerCode, updateLeadRequestDto, authorization, options)];
|
|
440
440
|
case 1:
|
|
441
441
|
localVarAxiosArgs = _a.sent();
|
|
442
442
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -467,20 +467,20 @@ var LeadsApiFactory = function (configuration, basePath, axios) {
|
|
|
467
467
|
return localVarFp.createLead(customerCode, createLeadRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
468
468
|
},
|
|
469
469
|
/**
|
|
470
|
-
* Retrieves the details of the lead that was previously created. Supply the unique lead code
|
|
470
|
+
* Retrieves the details of the lead that was previously created. Supply the unique lead code that was returned when you created it and Emil Api will return the corresponding lead information.
|
|
471
471
|
* @summary Retrieve the lead
|
|
472
|
-
* @param {string}
|
|
472
|
+
* @param {string} code Unique identifier for the object.
|
|
473
473
|
* @param {string} customerCode The customer code or \"me\" for the currently logged in customer.
|
|
474
474
|
* @param {string} [authorization] Bearer Token
|
|
475
475
|
* @param {string} [expand]
|
|
476
476
|
* @param {*} [options] Override http request option.
|
|
477
477
|
* @throws {RequiredError}
|
|
478
478
|
*/
|
|
479
|
-
getLead: function (
|
|
480
|
-
return localVarFp.getLead(
|
|
479
|
+
getLead: function (code, customerCode, authorization, expand, options) {
|
|
480
|
+
return localVarFp.getLead(code, customerCode, authorization, expand, options).then(function (request) { return request(axios, basePath); });
|
|
481
481
|
},
|
|
482
482
|
/**
|
|
483
|
-
* Returns a list of leads you have previously created.
|
|
483
|
+
* Returns a list of leads you have previously created. The leads are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
484
484
|
* @summary List leads
|
|
485
485
|
* @param {string} customerCode The customer code or \"me\" for the currently logged in customer.
|
|
486
486
|
* @param {string} [authorization] Bearer Token
|
|
@@ -500,15 +500,15 @@ var LeadsApiFactory = function (configuration, basePath, axios) {
|
|
|
500
500
|
/**
|
|
501
501
|
* Updates the specified lead by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
502
502
|
* @summary Update the lead
|
|
503
|
-
* @param {string}
|
|
503
|
+
* @param {string} code Unique identifier for the object.
|
|
504
504
|
* @param {string} customerCode The customer code or \"me\" for the currently logged in customer.
|
|
505
505
|
* @param {UpdateLeadRequestDto} updateLeadRequestDto
|
|
506
506
|
* @param {string} [authorization] Bearer Token
|
|
507
507
|
* @param {*} [options] Override http request option.
|
|
508
508
|
* @throws {RequiredError}
|
|
509
509
|
*/
|
|
510
|
-
updateLead: function (
|
|
511
|
-
return localVarFp.updateLead(
|
|
510
|
+
updateLead: function (code, customerCode, updateLeadRequestDto, authorization, options) {
|
|
511
|
+
return localVarFp.updateLead(code, customerCode, updateLeadRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
512
512
|
},
|
|
513
513
|
};
|
|
514
514
|
};
|
|
@@ -537,7 +537,7 @@ var LeadsApi = /** @class */ (function (_super) {
|
|
|
537
537
|
return (0, exports.LeadsApiFp)(this.configuration).createLead(requestParameters.customerCode, requestParameters.createLeadRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
538
538
|
};
|
|
539
539
|
/**
|
|
540
|
-
* Retrieves the details of the lead that was previously created. Supply the unique lead code
|
|
540
|
+
* Retrieves the details of the lead that was previously created. Supply the unique lead code that was returned when you created it and Emil Api will return the corresponding lead information.
|
|
541
541
|
* @summary Retrieve the lead
|
|
542
542
|
* @param {LeadsApiGetLeadRequest} requestParameters Request parameters.
|
|
543
543
|
* @param {*} [options] Override http request option.
|
|
@@ -546,10 +546,10 @@ var LeadsApi = /** @class */ (function (_super) {
|
|
|
546
546
|
*/
|
|
547
547
|
LeadsApi.prototype.getLead = function (requestParameters, options) {
|
|
548
548
|
var _this = this;
|
|
549
|
-
return (0, exports.LeadsApiFp)(this.configuration).getLead(requestParameters.
|
|
549
|
+
return (0, exports.LeadsApiFp)(this.configuration).getLead(requestParameters.code, requestParameters.customerCode, requestParameters.authorization, requestParameters.expand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
550
550
|
};
|
|
551
551
|
/**
|
|
552
|
-
* Returns a list of leads you have previously created.
|
|
552
|
+
* Returns a list of leads you have previously created. The leads are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
553
553
|
* @summary List leads
|
|
554
554
|
* @param {LeadsApiListLeadsRequest} requestParameters Request parameters.
|
|
555
555
|
* @param {*} [options] Override http request option.
|
|
@@ -570,7 +570,7 @@ var LeadsApi = /** @class */ (function (_super) {
|
|
|
570
570
|
*/
|
|
571
571
|
LeadsApi.prototype.updateLead = function (requestParameters, options) {
|
|
572
572
|
var _this = this;
|
|
573
|
-
return (0, exports.LeadsApiFp)(this.configuration).updateLead(requestParameters.
|
|
573
|
+
return (0, exports.LeadsApiFp)(this.configuration).updateLead(requestParameters.code, requestParameters.customerCode, requestParameters.updateLeadRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
574
574
|
};
|
|
575
575
|
return LeadsApi;
|
|
576
576
|
}(base_1.BaseAPI));
|
package/dist/base.d.ts
CHANGED
|
@@ -25,7 +25,7 @@ export declare const COLLECTION_FORMATS: {
|
|
|
25
25
|
};
|
|
26
26
|
export interface LoginClass {
|
|
27
27
|
accessToken: string;
|
|
28
|
-
permissions:
|
|
28
|
+
permissions: string;
|
|
29
29
|
}
|
|
30
30
|
export declare enum Environment {
|
|
31
31
|
Production = "https://apiv2.emil.de",
|
|
@@ -55,7 +55,7 @@ export declare class BaseAPI {
|
|
|
55
55
|
private username?;
|
|
56
56
|
private password?;
|
|
57
57
|
private isCustomerToken;
|
|
58
|
-
private permissions
|
|
58
|
+
private permissions?;
|
|
59
59
|
constructor(configuration?: Configuration, basePath?: string, axios?: AxiosInstance);
|
|
60
60
|
initialize(env?: Environment): Promise<void>;
|
|
61
61
|
private loadCredentials;
|
package/dist/base.js
CHANGED
|
@@ -151,7 +151,6 @@ var BaseAPI = /** @class */ (function () {
|
|
|
151
151
|
this.basePath = basePath;
|
|
152
152
|
this.axios = axios;
|
|
153
153
|
this.isCustomerToken = false;
|
|
154
|
-
this.permissions = [];
|
|
155
154
|
if (configuration) {
|
|
156
155
|
this.configuration = configuration;
|
|
157
156
|
this.basePath = configuration.basePath || this.basePath;
|
|
@@ -245,7 +244,7 @@ var BaseAPI = /** @class */ (function () {
|
|
|
245
244
|
this.configuration.basePath = env;
|
|
246
245
|
};
|
|
247
246
|
BaseAPI.prototype.getPermissions = function () {
|
|
248
|
-
return this.permissions;
|
|
247
|
+
return this.permissions.split(',');
|
|
249
248
|
};
|
|
250
249
|
BaseAPI.prototype.authorize = function (username, password) {
|
|
251
250
|
return __awaiter(this, void 0, void 0, function () {
|
|
@@ -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 ChangeCustomerEmailRequestDto
|
|
16
|
+
*/
|
|
17
|
+
export interface ChangeCustomerEmailRequestDto {
|
|
18
|
+
/**
|
|
19
|
+
* Change email token that was provided by the request email change endpoint
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof ChangeCustomerEmailRequestDto
|
|
22
|
+
*/
|
|
23
|
+
'token': string;
|
|
24
|
+
/**
|
|
25
|
+
* Customer password. This can be the same as previous password or new.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof ChangeCustomerEmailRequestDto
|
|
28
|
+
*/
|
|
29
|
+
'password': 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,50 @@
|
|
|
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
|
+
import { CreatePaymentMethodRequestDto } from './create-payment-method-request-dto';
|
|
13
|
+
import { PolicyObjectDto } from './policy-object-dto';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface GrpcUpdateLeadRequestDto
|
|
18
|
+
*/
|
|
19
|
+
export interface GrpcUpdateLeadRequestDto {
|
|
20
|
+
/**
|
|
21
|
+
* Policy objects.
|
|
22
|
+
* @type {Array<PolicyObjectDto>}
|
|
23
|
+
* @memberof GrpcUpdateLeadRequestDto
|
|
24
|
+
*/
|
|
25
|
+
'policyObjects': Array<PolicyObjectDto>;
|
|
26
|
+
/**
|
|
27
|
+
* Unique identifier of the product that this object belongs to.
|
|
28
|
+
* @type {string}
|
|
29
|
+
* @memberof GrpcUpdateLeadRequestDto
|
|
30
|
+
*/
|
|
31
|
+
'productCode': string;
|
|
32
|
+
/**
|
|
33
|
+
* Status of the lead.
|
|
34
|
+
* @type {string}
|
|
35
|
+
* @memberof GrpcUpdateLeadRequestDto
|
|
36
|
+
*/
|
|
37
|
+
'status'?: string;
|
|
38
|
+
/**
|
|
39
|
+
* Payment method
|
|
40
|
+
* @type {CreatePaymentMethodRequestDto}
|
|
41
|
+
* @memberof GrpcUpdateLeadRequestDto
|
|
42
|
+
*/
|
|
43
|
+
'paymentMethod': CreatePaymentMethodRequestDto;
|
|
44
|
+
/**
|
|
45
|
+
*
|
|
46
|
+
* @type {string}
|
|
47
|
+
* @memberof GrpcUpdateLeadRequestDto
|
|
48
|
+
*/
|
|
49
|
+
'code': string;
|
|
50
|
+
}
|
|
@@ -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 });
|
package/dist/models/index.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export * from './account-class';
|
|
2
2
|
export * from './account-policy-class';
|
|
3
3
|
export * from './authentication-result-class';
|
|
4
|
+
export * from './change-customer-email-request-dto';
|
|
4
5
|
export * from './claim-class';
|
|
5
6
|
export * from './complete-braintree-payment-setup-request-dto';
|
|
6
7
|
export * from './complete-payment-setup-psp-request';
|
|
@@ -27,6 +28,7 @@ export * from './get-customer-response-class';
|
|
|
27
28
|
export * from './get-lead-response-class';
|
|
28
29
|
export * from './get-policy-response-class';
|
|
29
30
|
export * from './get-product-response-class';
|
|
31
|
+
export * from './grpc-update-lead-request-dto';
|
|
30
32
|
export * from './initiate-auth-request-dto';
|
|
31
33
|
export * from './initiate-auth-response-class';
|
|
32
34
|
export * from './initiate-braintree-payment-setup-response-class';
|
|
@@ -60,6 +62,8 @@ export * from './premium-override-dto';
|
|
|
60
62
|
export * from './premium-override-request-class';
|
|
61
63
|
export * from './premium-override-request-dto';
|
|
62
64
|
export * from './refresh-token-dto';
|
|
65
|
+
export * from './request-change-email-by-customer-request-dto';
|
|
66
|
+
export * from './request-change-email-by-customer-response-class';
|
|
63
67
|
export * from './request-policy-update-request-dto';
|
|
64
68
|
export * from './request-policy-update-response-class';
|
|
65
69
|
export * from './reset-password-by-customer-request-dto';
|
|
@@ -82,5 +86,7 @@ export * from './update-lead-response-class';
|
|
|
82
86
|
export * from './upload-customer-claim-documents-request-dto';
|
|
83
87
|
export * from './upload-customer-policy-documents-request-dto';
|
|
84
88
|
export * from './uploaded-document-dto';
|
|
89
|
+
export * from './verify-change-email-token-request-dto';
|
|
90
|
+
export * from './verify-change-email-token-response-class';
|
|
85
91
|
export * from './verify-customer-invite-response-class';
|
|
86
92
|
export * from './withdraw-customer-policy-response-class';
|
package/dist/models/index.js
CHANGED
|
@@ -17,6 +17,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
17
17
|
__exportStar(require("./account-class"), exports);
|
|
18
18
|
__exportStar(require("./account-policy-class"), exports);
|
|
19
19
|
__exportStar(require("./authentication-result-class"), exports);
|
|
20
|
+
__exportStar(require("./change-customer-email-request-dto"), exports);
|
|
20
21
|
__exportStar(require("./claim-class"), exports);
|
|
21
22
|
__exportStar(require("./complete-braintree-payment-setup-request-dto"), exports);
|
|
22
23
|
__exportStar(require("./complete-payment-setup-psp-request"), exports);
|
|
@@ -43,6 +44,7 @@ __exportStar(require("./get-customer-response-class"), exports);
|
|
|
43
44
|
__exportStar(require("./get-lead-response-class"), exports);
|
|
44
45
|
__exportStar(require("./get-policy-response-class"), exports);
|
|
45
46
|
__exportStar(require("./get-product-response-class"), exports);
|
|
47
|
+
__exportStar(require("./grpc-update-lead-request-dto"), exports);
|
|
46
48
|
__exportStar(require("./initiate-auth-request-dto"), exports);
|
|
47
49
|
__exportStar(require("./initiate-auth-response-class"), exports);
|
|
48
50
|
__exportStar(require("./initiate-braintree-payment-setup-response-class"), exports);
|
|
@@ -76,6 +78,8 @@ __exportStar(require("./premium-override-dto"), exports);
|
|
|
76
78
|
__exportStar(require("./premium-override-request-class"), exports);
|
|
77
79
|
__exportStar(require("./premium-override-request-dto"), exports);
|
|
78
80
|
__exportStar(require("./refresh-token-dto"), exports);
|
|
81
|
+
__exportStar(require("./request-change-email-by-customer-request-dto"), exports);
|
|
82
|
+
__exportStar(require("./request-change-email-by-customer-response-class"), exports);
|
|
79
83
|
__exportStar(require("./request-policy-update-request-dto"), exports);
|
|
80
84
|
__exportStar(require("./request-policy-update-response-class"), exports);
|
|
81
85
|
__exportStar(require("./reset-password-by-customer-request-dto"), exports);
|
|
@@ -98,5 +102,7 @@ __exportStar(require("./update-lead-response-class"), exports);
|
|
|
98
102
|
__exportStar(require("./upload-customer-claim-documents-request-dto"), exports);
|
|
99
103
|
__exportStar(require("./upload-customer-policy-documents-request-dto"), exports);
|
|
100
104
|
__exportStar(require("./uploaded-document-dto"), exports);
|
|
105
|
+
__exportStar(require("./verify-change-email-token-request-dto"), exports);
|
|
106
|
+
__exportStar(require("./verify-change-email-token-response-class"), exports);
|
|
101
107
|
__exportStar(require("./verify-customer-invite-response-class"), exports);
|
|
102
108
|
__exportStar(require("./withdraw-customer-policy-response-class"), exports);
|
|
@@ -84,7 +84,7 @@ export interface LeadClass {
|
|
|
84
84
|
*/
|
|
85
85
|
'premiumOverride'?: PremiumOverrideRequestClass;
|
|
86
86
|
/**
|
|
87
|
-
* A slug is a human-readable, unique identifier, used to identify a resource
|
|
87
|
+
* A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
|
|
88
88
|
* @type {string}
|
|
89
89
|
* @memberof LeadClass
|
|
90
90
|
*/
|
|
@@ -0,0 +1,24 @@
|
|
|
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 RequestChangeEmailByCustomerRequestDto
|
|
16
|
+
*/
|
|
17
|
+
export interface RequestChangeEmailByCustomerRequestDto {
|
|
18
|
+
/**
|
|
19
|
+
* New customer email address
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof RequestChangeEmailByCustomerRequestDto
|
|
22
|
+
*/
|
|
23
|
+
'newEmail': string;
|
|
24
|
+
}
|
|
@@ -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,24 @@
|
|
|
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 RequestChangeEmailByCustomerResponseClass
|
|
16
|
+
*/
|
|
17
|
+
export interface RequestChangeEmailByCustomerResponseClass {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {object}
|
|
21
|
+
* @memberof RequestChangeEmailByCustomerResponseClass
|
|
22
|
+
*/
|
|
23
|
+
'response': object;
|
|
24
|
+
}
|
|
@@ -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 });
|
|
@@ -33,12 +33,6 @@ export interface UpdateAccountRequestDto {
|
|
|
33
33
|
* @memberof UpdateAccountRequestDto
|
|
34
34
|
*/
|
|
35
35
|
'type'?: UpdateAccountRequestDtoTypeEnum;
|
|
36
|
-
/**
|
|
37
|
-
* The account\'s email address. It is displayed alongside the account in the admin dashboard and can be useful for searching and tracking.
|
|
38
|
-
* @type {string}
|
|
39
|
-
* @memberof UpdateAccountRequestDto
|
|
40
|
-
*/
|
|
41
|
-
'email'?: string;
|
|
42
36
|
/**
|
|
43
37
|
* The account\'s gender.
|
|
44
38
|
* @type {string}
|
|
@@ -0,0 +1,24 @@
|
|
|
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 VerifyChangeEmailTokenRequestDto
|
|
16
|
+
*/
|
|
17
|
+
export interface VerifyChangeEmailTokenRequestDto {
|
|
18
|
+
/**
|
|
19
|
+
* Change email token that was provided by the request email change endpoint
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof VerifyChangeEmailTokenRequestDto
|
|
22
|
+
*/
|
|
23
|
+
'token': string;
|
|
24
|
+
}
|
|
@@ -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,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 VerifyChangeEmailTokenResponseClass
|
|
16
|
+
*/
|
|
17
|
+
export interface VerifyChangeEmailTokenResponseClass {
|
|
18
|
+
/**
|
|
19
|
+
* New customer email address
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof VerifyChangeEmailTokenResponseClass
|
|
22
|
+
*/
|
|
23
|
+
'newEmail': string;
|
|
24
|
+
/**
|
|
25
|
+
* Change email token
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof VerifyChangeEmailTokenResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'token': string;
|
|
30
|
+
/**
|
|
31
|
+
* Tenant slug
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof VerifyChangeEmailTokenResponseClass
|
|
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 });
|