@emilgroup/insurance-sdk-node 1.78.0 → 1.78.1-beta.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 +13 -4
- package/README.md +2 -2
- package/api/booking-funnels-api.ts +31 -31
- package/api/commission-agreement-items-api.ts +4 -4
- package/api/policies-api.ts +32 -32
- package/api/product-fields-api.ts +16 -16
- package/api/status-transition-rules-api.ts +31 -31
- package/dist/api/booking-funnels-api.d.ts +18 -18
- package/dist/api/booking-funnels-api.js +24 -24
- package/dist/api/commission-agreement-items-api.d.ts +4 -4
- package/dist/api/commission-agreement-items-api.js +3 -3
- package/dist/api/policies-api.d.ts +18 -18
- package/dist/api/policies-api.js +24 -24
- package/dist/api/product-fields-api.d.ts +9 -9
- package/dist/api/product-fields-api.js +12 -12
- package/dist/api/status-transition-rules-api.d.ts +18 -18
- package/dist/api/status-transition-rules-api.js +24 -24
- package/dist/models/create-draft-policy-request-dto.d.ts +6 -0
- package/dist/models/{patch-booking-funnel-request-dto.d.ts → grpc-patch-booking-funnel-request-dto.d.ts} +10 -10
- package/dist/models/grpc-patch-draft-policy-request-dto.d.ts +76 -0
- package/dist/models/{patch-draft-policy-request-dto.js → grpc-patch-draft-policy-request-dto.js} +2 -2
- package/dist/models/grpc-patch-status-transition-rule-request-dto.d.ts +53 -0
- package/dist/models/{update-status-transition-rule-request-dto.js → grpc-patch-status-transition-rule-request-dto.js} +2 -2
- package/dist/models/{update-booking-funnel-request-dto.d.ts → grpc-update-booking-funnel-request-dto.d.ts} +10 -10
- package/dist/models/grpc-update-status-transition-rule-request-dto.d.ts +53 -0
- package/dist/models/grpc-update-status-transition-rule-request-dto.js +20 -0
- package/dist/models/index.d.ts +13 -4
- package/dist/models/index.js +13 -4
- package/dist/models/patch-status-transition-rule-request-dto.d.ts +4 -10
- package/dist/models/rest-create-draft-policy-request-dto.d.ts +70 -0
- package/dist/models/rest-create-draft-policy-request-dto.js +23 -0
- package/dist/models/rest-create-status-transition-rule-request-dto.d.ts +47 -0
- package/dist/models/rest-create-status-transition-rule-request-dto.js +20 -0
- package/dist/models/rest-patch-booking-funnel-request-dto.d.ts +60 -0
- package/dist/models/rest-patch-booking-funnel-request-dto.js +15 -0
- package/dist/models/{patch-draft-policy-request-dto.d.ts → rest-patch-draft-policy-request-dto.d.ts} +12 -12
- package/dist/models/rest-patch-draft-policy-request-dto.js +23 -0
- package/dist/models/rest-update-booking-funnel-request-dto.d.ts +60 -0
- package/dist/models/rest-update-booking-funnel-request-dto.js +15 -0
- package/dist/models/rest-update-product-field-request-dto.d.ts +171 -0
- package/dist/models/rest-update-product-field-request-dto.js +28 -0
- package/dist/models/rest-update-status-transition-rule-request-dto.d.ts +47 -0
- package/dist/models/rest-update-status-transition-rule-request-dto.js +20 -0
- package/dist/models/shared-delete-request-dto.d.ts +24 -0
- package/dist/models/shared-delete-request-dto.js +15 -0
- package/models/create-draft-policy-request-dto.ts +6 -0
- package/models/{patch-booking-funnel-request-dto.ts → grpc-patch-booking-funnel-request-dto.ts} +10 -10
- package/models/grpc-patch-draft-policy-request-dto.ts +85 -0
- package/models/grpc-patch-status-transition-rule-request-dto.ts +62 -0
- package/models/{update-booking-funnel-request-dto.ts → grpc-update-booking-funnel-request-dto.ts} +10 -10
- package/models/{update-status-transition-rule-request-dto.ts → grpc-update-status-transition-rule-request-dto.ts} +10 -10
- package/models/index.ts +13 -4
- package/models/patch-status-transition-rule-request-dto.ts +4 -10
- package/models/rest-create-draft-policy-request-dto.ts +79 -0
- package/models/rest-create-status-transition-rule-request-dto.ts +56 -0
- package/models/rest-patch-booking-funnel-request-dto.ts +66 -0
- package/models/{patch-draft-policy-request-dto.ts → rest-patch-draft-policy-request-dto.ts} +12 -12
- package/models/rest-update-booking-funnel-request-dto.ts +66 -0
- package/models/rest-update-product-field-request-dto.ts +182 -0
- package/models/rest-update-status-transition-rule-request-dto.ts +56 -0
- package/models/shared-delete-request-dto.ts +30 -0
- package/package.json +1 -1
- package/dist/models/update-status-transition-rule-request-dto.d.ts +0 -53
- /package/dist/models/{patch-booking-funnel-request-dto.js → grpc-patch-booking-funnel-request-dto.js} +0 -0
- /package/dist/models/{update-booking-funnel-request-dto.js → grpc-update-booking-funnel-request-dto.js} +0 -0
|
@@ -99,20 +99,20 @@ var StatusTransitionRulesApiAxiosParamCreator = function (configuration) {
|
|
|
99
99
|
/**
|
|
100
100
|
* This will create a status transition rule. Status transition rules allow or deny a transition from one status to another based on custom conditions. **Required Permissions** \"policy-management.products.create\"
|
|
101
101
|
* @summary Create the status transition rule
|
|
102
|
-
* @param {
|
|
102
|
+
* @param {RestCreateStatusTransitionRuleRequestDto} restCreateStatusTransitionRuleRequestDto
|
|
103
103
|
* @param {string} [authorization] Bearer Token
|
|
104
104
|
* @param {*} [options] Override http request option.
|
|
105
105
|
* @throws {RequiredError}
|
|
106
106
|
*/
|
|
107
|
-
createStatusTransitionRule: function (
|
|
107
|
+
createStatusTransitionRule: function (restCreateStatusTransitionRuleRequestDto, authorization, options) {
|
|
108
108
|
if (options === void 0) { options = {}; }
|
|
109
109
|
return __awaiter(_this, void 0, void 0, function () {
|
|
110
110
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
111
111
|
return __generator(this, function (_a) {
|
|
112
112
|
switch (_a.label) {
|
|
113
113
|
case 0:
|
|
114
|
-
// verify required parameter '
|
|
115
|
-
(0, common_1.assertParamExists)('createStatusTransitionRule', '
|
|
114
|
+
// verify required parameter 'restCreateStatusTransitionRuleRequestDto' is not null or undefined
|
|
115
|
+
(0, common_1.assertParamExists)('createStatusTransitionRule', 'restCreateStatusTransitionRuleRequestDto', restCreateStatusTransitionRuleRequestDto);
|
|
116
116
|
localVarPath = "/insuranceservice/v1/status-transitions/rules";
|
|
117
117
|
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
118
118
|
if (configuration) {
|
|
@@ -136,7 +136,7 @@ var StatusTransitionRulesApiAxiosParamCreator = function (configuration) {
|
|
|
136
136
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
137
137
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
138
138
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
139
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(
|
|
139
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(restCreateStatusTransitionRuleRequestDto, localVarRequestOptions, configuration);
|
|
140
140
|
return [2 /*return*/, {
|
|
141
141
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
142
142
|
options: localVarRequestOptions,
|
|
@@ -374,12 +374,12 @@ var StatusTransitionRulesApiAxiosParamCreator = function (configuration) {
|
|
|
374
374
|
* Updates the specified status transition rule by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"policy-management.products.update\"
|
|
375
375
|
* @summary Update the status transition rule
|
|
376
376
|
* @param {string} code Unique identifier for the object.
|
|
377
|
-
* @param {
|
|
377
|
+
* @param {RestUpdateStatusTransitionRuleRequestDto} restUpdateStatusTransitionRuleRequestDto
|
|
378
378
|
* @param {string} [authorization] Bearer Token
|
|
379
379
|
* @param {*} [options] Override http request option.
|
|
380
380
|
* @throws {RequiredError}
|
|
381
381
|
*/
|
|
382
|
-
updateStatusTransitionRule: function (code,
|
|
382
|
+
updateStatusTransitionRule: function (code, restUpdateStatusTransitionRuleRequestDto, authorization, options) {
|
|
383
383
|
if (options === void 0) { options = {}; }
|
|
384
384
|
return __awaiter(_this, void 0, void 0, function () {
|
|
385
385
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -388,8 +388,8 @@ var StatusTransitionRulesApiAxiosParamCreator = function (configuration) {
|
|
|
388
388
|
case 0:
|
|
389
389
|
// verify required parameter 'code' is not null or undefined
|
|
390
390
|
(0, common_1.assertParamExists)('updateStatusTransitionRule', 'code', code);
|
|
391
|
-
// verify required parameter '
|
|
392
|
-
(0, common_1.assertParamExists)('updateStatusTransitionRule', '
|
|
391
|
+
// verify required parameter 'restUpdateStatusTransitionRuleRequestDto' is not null or undefined
|
|
392
|
+
(0, common_1.assertParamExists)('updateStatusTransitionRule', 'restUpdateStatusTransitionRuleRequestDto', restUpdateStatusTransitionRuleRequestDto);
|
|
393
393
|
localVarPath = "/insuranceservice/v1/status-transitions/rules/{code}"
|
|
394
394
|
.replace("{".concat("code", "}"), encodeURIComponent(String(code)));
|
|
395
395
|
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -414,7 +414,7 @@ var StatusTransitionRulesApiAxiosParamCreator = function (configuration) {
|
|
|
414
414
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
415
415
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
416
416
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
417
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(
|
|
417
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(restUpdateStatusTransitionRuleRequestDto, localVarRequestOptions, configuration);
|
|
418
418
|
return [2 /*return*/, {
|
|
419
419
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
420
420
|
options: localVarRequestOptions,
|
|
@@ -436,17 +436,17 @@ var StatusTransitionRulesApiFp = function (configuration) {
|
|
|
436
436
|
/**
|
|
437
437
|
* This will create a status transition rule. Status transition rules allow or deny a transition from one status to another based on custom conditions. **Required Permissions** \"policy-management.products.create\"
|
|
438
438
|
* @summary Create the status transition rule
|
|
439
|
-
* @param {
|
|
439
|
+
* @param {RestCreateStatusTransitionRuleRequestDto} restCreateStatusTransitionRuleRequestDto
|
|
440
440
|
* @param {string} [authorization] Bearer Token
|
|
441
441
|
* @param {*} [options] Override http request option.
|
|
442
442
|
* @throws {RequiredError}
|
|
443
443
|
*/
|
|
444
|
-
createStatusTransitionRule: function (
|
|
444
|
+
createStatusTransitionRule: function (restCreateStatusTransitionRuleRequestDto, authorization, options) {
|
|
445
445
|
return __awaiter(this, void 0, void 0, function () {
|
|
446
446
|
var localVarAxiosArgs;
|
|
447
447
|
return __generator(this, function (_a) {
|
|
448
448
|
switch (_a.label) {
|
|
449
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.createStatusTransitionRule(
|
|
449
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.createStatusTransitionRule(restCreateStatusTransitionRuleRequestDto, authorization, options)];
|
|
450
450
|
case 1:
|
|
451
451
|
localVarAxiosArgs = _a.sent();
|
|
452
452
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -550,17 +550,17 @@ var StatusTransitionRulesApiFp = function (configuration) {
|
|
|
550
550
|
* Updates the specified status transition rule by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"policy-management.products.update\"
|
|
551
551
|
* @summary Update the status transition rule
|
|
552
552
|
* @param {string} code Unique identifier for the object.
|
|
553
|
-
* @param {
|
|
553
|
+
* @param {RestUpdateStatusTransitionRuleRequestDto} restUpdateStatusTransitionRuleRequestDto
|
|
554
554
|
* @param {string} [authorization] Bearer Token
|
|
555
555
|
* @param {*} [options] Override http request option.
|
|
556
556
|
* @throws {RequiredError}
|
|
557
557
|
*/
|
|
558
|
-
updateStatusTransitionRule: function (code,
|
|
558
|
+
updateStatusTransitionRule: function (code, restUpdateStatusTransitionRuleRequestDto, authorization, options) {
|
|
559
559
|
return __awaiter(this, void 0, void 0, function () {
|
|
560
560
|
var localVarAxiosArgs;
|
|
561
561
|
return __generator(this, function (_a) {
|
|
562
562
|
switch (_a.label) {
|
|
563
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.updateStatusTransitionRule(code,
|
|
563
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.updateStatusTransitionRule(code, restUpdateStatusTransitionRuleRequestDto, authorization, options)];
|
|
564
564
|
case 1:
|
|
565
565
|
localVarAxiosArgs = _a.sent();
|
|
566
566
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -581,13 +581,13 @@ var StatusTransitionRulesApiFactory = function (configuration, basePath, axios)
|
|
|
581
581
|
/**
|
|
582
582
|
* This will create a status transition rule. Status transition rules allow or deny a transition from one status to another based on custom conditions. **Required Permissions** \"policy-management.products.create\"
|
|
583
583
|
* @summary Create the status transition rule
|
|
584
|
-
* @param {
|
|
584
|
+
* @param {RestCreateStatusTransitionRuleRequestDto} restCreateStatusTransitionRuleRequestDto
|
|
585
585
|
* @param {string} [authorization] Bearer Token
|
|
586
586
|
* @param {*} [options] Override http request option.
|
|
587
587
|
* @throws {RequiredError}
|
|
588
588
|
*/
|
|
589
|
-
createStatusTransitionRule: function (
|
|
590
|
-
return localVarFp.createStatusTransitionRule(
|
|
589
|
+
createStatusTransitionRule: function (restCreateStatusTransitionRuleRequestDto, authorization, options) {
|
|
590
|
+
return localVarFp.createStatusTransitionRule(restCreateStatusTransitionRuleRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
591
591
|
},
|
|
592
592
|
/**
|
|
593
593
|
* Permanently deletes the status transition rule. Supply the unique code that was returned when you created the status transition rule and this will delete it. **Required Permissions** \"policy-management.products.delete\"
|
|
@@ -645,13 +645,13 @@ var StatusTransitionRulesApiFactory = function (configuration, basePath, axios)
|
|
|
645
645
|
* Updates the specified status transition rule by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"policy-management.products.update\"
|
|
646
646
|
* @summary Update the status transition rule
|
|
647
647
|
* @param {string} code Unique identifier for the object.
|
|
648
|
-
* @param {
|
|
648
|
+
* @param {RestUpdateStatusTransitionRuleRequestDto} restUpdateStatusTransitionRuleRequestDto
|
|
649
649
|
* @param {string} [authorization] Bearer Token
|
|
650
650
|
* @param {*} [options] Override http request option.
|
|
651
651
|
* @throws {RequiredError}
|
|
652
652
|
*/
|
|
653
|
-
updateStatusTransitionRule: function (code,
|
|
654
|
-
return localVarFp.updateStatusTransitionRule(code,
|
|
653
|
+
updateStatusTransitionRule: function (code, restUpdateStatusTransitionRuleRequestDto, authorization, options) {
|
|
654
|
+
return localVarFp.updateStatusTransitionRule(code, restUpdateStatusTransitionRuleRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
655
655
|
},
|
|
656
656
|
};
|
|
657
657
|
};
|
|
@@ -677,7 +677,7 @@ var StatusTransitionRulesApi = /** @class */ (function (_super) {
|
|
|
677
677
|
*/
|
|
678
678
|
StatusTransitionRulesApi.prototype.createStatusTransitionRule = function (requestParameters, options) {
|
|
679
679
|
var _this = this;
|
|
680
|
-
return (0, exports.StatusTransitionRulesApiFp)(this.configuration).createStatusTransitionRule(requestParameters.
|
|
680
|
+
return (0, exports.StatusTransitionRulesApiFp)(this.configuration).createStatusTransitionRule(requestParameters.restCreateStatusTransitionRuleRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
681
681
|
};
|
|
682
682
|
/**
|
|
683
683
|
* Permanently deletes the status transition rule. Supply the unique code that was returned when you created the status transition rule and this will delete it. **Required Permissions** \"policy-management.products.delete\"
|
|
@@ -738,7 +738,7 @@ var StatusTransitionRulesApi = /** @class */ (function (_super) {
|
|
|
738
738
|
*/
|
|
739
739
|
StatusTransitionRulesApi.prototype.updateStatusTransitionRule = function (requestParameters, options) {
|
|
740
740
|
var _this = this;
|
|
741
|
-
return (0, exports.StatusTransitionRulesApiFp)(this.configuration).updateStatusTransitionRule(requestParameters.code, requestParameters.
|
|
741
|
+
return (0, exports.StatusTransitionRulesApiFp)(this.configuration).updateStatusTransitionRule(requestParameters.code, requestParameters.restUpdateStatusTransitionRuleRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
742
742
|
};
|
|
743
743
|
return StatusTransitionRulesApi;
|
|
744
744
|
}(base_1.BaseAPI));
|
|
@@ -59,6 +59,12 @@ export interface CreateDraftPolicyRequestDto {
|
|
|
59
59
|
* @memberof CreateDraftPolicyRequestDto
|
|
60
60
|
*/
|
|
61
61
|
'policyNumber'?: string;
|
|
62
|
+
/**
|
|
63
|
+
*
|
|
64
|
+
* @type {string}
|
|
65
|
+
* @memberof CreateDraftPolicyRequestDto
|
|
66
|
+
*/
|
|
67
|
+
'policyCode': string;
|
|
62
68
|
}
|
|
63
69
|
export declare const CreateDraftPolicyRequestDtoRevisionStatusEnum: {
|
|
64
70
|
readonly Created: "CREATED";
|
|
@@ -12,55 +12,55 @@
|
|
|
12
12
|
/**
|
|
13
13
|
*
|
|
14
14
|
* @export
|
|
15
|
-
* @interface
|
|
15
|
+
* @interface GrpcPatchBookingFunnelRequestDto
|
|
16
16
|
*/
|
|
17
|
-
export interface
|
|
17
|
+
export interface GrpcPatchBookingFunnelRequestDto {
|
|
18
18
|
/**
|
|
19
19
|
* Parent Booking funnel ID
|
|
20
20
|
* @type {number}
|
|
21
|
-
* @memberof
|
|
21
|
+
* @memberof GrpcPatchBookingFunnelRequestDto
|
|
22
22
|
*/
|
|
23
23
|
'parentId'?: number;
|
|
24
24
|
/**
|
|
25
25
|
* Booking funnel name
|
|
26
26
|
* @type {string}
|
|
27
|
-
* @memberof
|
|
27
|
+
* @memberof GrpcPatchBookingFunnelRequestDto
|
|
28
28
|
*/
|
|
29
29
|
'name'?: string;
|
|
30
30
|
/**
|
|
31
31
|
* Code snippet to load the booking funnel.
|
|
32
32
|
* @type {string}
|
|
33
|
-
* @memberof
|
|
33
|
+
* @memberof GrpcPatchBookingFunnelRequestDto
|
|
34
34
|
*/
|
|
35
35
|
'jsCode'?: string;
|
|
36
36
|
/**
|
|
37
37
|
* Steps configuration for the booking funnel.
|
|
38
38
|
* @type {object}
|
|
39
|
-
* @memberof
|
|
39
|
+
* @memberof GrpcPatchBookingFunnelRequestDto
|
|
40
40
|
*/
|
|
41
41
|
'stepsConfig'?: object;
|
|
42
42
|
/**
|
|
43
43
|
* Custom css for the booking funnel.
|
|
44
44
|
* @type {string}
|
|
45
|
-
* @memberof
|
|
45
|
+
* @memberof GrpcPatchBookingFunnelRequestDto
|
|
46
46
|
*/
|
|
47
47
|
'css'?: string;
|
|
48
48
|
/**
|
|
49
49
|
* URL to fech the logo for the booking funnel.
|
|
50
50
|
* @type {string}
|
|
51
|
-
* @memberof
|
|
51
|
+
* @memberof GrpcPatchBookingFunnelRequestDto
|
|
52
52
|
*/
|
|
53
53
|
'logoPath'?: string;
|
|
54
54
|
/**
|
|
55
55
|
*
|
|
56
56
|
* @type {string}
|
|
57
|
-
* @memberof
|
|
57
|
+
* @memberof GrpcPatchBookingFunnelRequestDto
|
|
58
58
|
*/
|
|
59
59
|
'code': string;
|
|
60
60
|
/**
|
|
61
61
|
*
|
|
62
62
|
* @type {boolean}
|
|
63
|
-
* @memberof
|
|
63
|
+
* @memberof GrpcPatchBookingFunnelRequestDto
|
|
64
64
|
*/
|
|
65
65
|
'shouldShowOnApplicationsPage'?: boolean;
|
|
66
66
|
}
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* EMIL InsuranceService
|
|
3
|
+
* The EMIL InsuranceService 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 { PolicyObjectDto } from './policy-object-dto';
|
|
13
|
+
import { PremiumOverrideRequestDto } from './premium-override-request-dto';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface GrpcPatchDraftPolicyRequestDto
|
|
18
|
+
*/
|
|
19
|
+
export interface GrpcPatchDraftPolicyRequestDto {
|
|
20
|
+
/**
|
|
21
|
+
* Policy objects
|
|
22
|
+
* @type {Array<PolicyObjectDto>}
|
|
23
|
+
* @memberof GrpcPatchDraftPolicyRequestDto
|
|
24
|
+
*/
|
|
25
|
+
'policyObjects': Array<PolicyObjectDto>;
|
|
26
|
+
/**
|
|
27
|
+
* Date from which the policy should be updated. This will create a new timeline starting from this date.
|
|
28
|
+
* @type {string}
|
|
29
|
+
* @memberof GrpcPatchDraftPolicyRequestDto
|
|
30
|
+
*/
|
|
31
|
+
'from'?: string;
|
|
32
|
+
/**
|
|
33
|
+
* Date to which the policy should be updated. This will create a new timeline finishing at this date.
|
|
34
|
+
* @type {string}
|
|
35
|
+
* @memberof GrpcPatchDraftPolicyRequestDto
|
|
36
|
+
*/
|
|
37
|
+
'to'?: string;
|
|
38
|
+
/**
|
|
39
|
+
* Policy revision status.
|
|
40
|
+
* @type {string}
|
|
41
|
+
* @memberof GrpcPatchDraftPolicyRequestDto
|
|
42
|
+
*/
|
|
43
|
+
'revisionStatus': GrpcPatchDraftPolicyRequestDtoRevisionStatusEnum;
|
|
44
|
+
/**
|
|
45
|
+
* Premium Override
|
|
46
|
+
* @type {PremiumOverrideRequestDto}
|
|
47
|
+
* @memberof GrpcPatchDraftPolicyRequestDto
|
|
48
|
+
*/
|
|
49
|
+
'premiumOverride'?: PremiumOverrideRequestDto;
|
|
50
|
+
/**
|
|
51
|
+
* Unique identifier of the lead that this object belongs to.
|
|
52
|
+
* @type {string}
|
|
53
|
+
* @memberof GrpcPatchDraftPolicyRequestDto
|
|
54
|
+
*/
|
|
55
|
+
'leadCode'?: string;
|
|
56
|
+
/**
|
|
57
|
+
* Unique identifier of the policy that this object belongs to.
|
|
58
|
+
* @type {string}
|
|
59
|
+
* @memberof GrpcPatchDraftPolicyRequestDto
|
|
60
|
+
*/
|
|
61
|
+
'policyNumber'?: string;
|
|
62
|
+
/**
|
|
63
|
+
*
|
|
64
|
+
* @type {string}
|
|
65
|
+
* @memberof GrpcPatchDraftPolicyRequestDto
|
|
66
|
+
*/
|
|
67
|
+
'policyCode': string;
|
|
68
|
+
}
|
|
69
|
+
export declare const GrpcPatchDraftPolicyRequestDtoRevisionStatusEnum: {
|
|
70
|
+
readonly Created: "CREATED";
|
|
71
|
+
readonly InReview: "IN_REVIEW";
|
|
72
|
+
readonly Reviewed: "REVIEWED";
|
|
73
|
+
readonly Rejected: "REJECTED";
|
|
74
|
+
readonly Approved: "APPROVED";
|
|
75
|
+
};
|
|
76
|
+
export type GrpcPatchDraftPolicyRequestDtoRevisionStatusEnum = typeof GrpcPatchDraftPolicyRequestDtoRevisionStatusEnum[keyof typeof GrpcPatchDraftPolicyRequestDtoRevisionStatusEnum];
|
package/dist/models/{patch-draft-policy-request-dto.js → grpc-patch-draft-policy-request-dto.js}
RENAMED
|
@@ -13,8 +13,8 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.
|
|
17
|
-
exports.
|
|
16
|
+
exports.GrpcPatchDraftPolicyRequestDtoRevisionStatusEnum = void 0;
|
|
17
|
+
exports.GrpcPatchDraftPolicyRequestDtoRevisionStatusEnum = {
|
|
18
18
|
Created: 'CREATED',
|
|
19
19
|
InReview: 'IN_REVIEW',
|
|
20
20
|
Reviewed: 'REVIEWED',
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* EMIL InsuranceService
|
|
3
|
+
* The EMIL InsuranceService 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 GrpcPatchStatusTransitionRuleRequestDto
|
|
16
|
+
*/
|
|
17
|
+
export interface GrpcPatchStatusTransitionRuleRequestDto {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof GrpcPatchStatusTransitionRuleRequestDto
|
|
22
|
+
*/
|
|
23
|
+
'code': string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof GrpcPatchStatusTransitionRuleRequestDto
|
|
28
|
+
*/
|
|
29
|
+
'entityType'?: GrpcPatchStatusTransitionRuleRequestDtoEntityTypeEnum;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof GrpcPatchStatusTransitionRuleRequestDto
|
|
34
|
+
*/
|
|
35
|
+
'currentStatus'?: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {Array<string>}
|
|
39
|
+
* @memberof GrpcPatchStatusTransitionRuleRequestDto
|
|
40
|
+
*/
|
|
41
|
+
'nextStatuses'?: Array<string>;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof GrpcPatchStatusTransitionRuleRequestDto
|
|
46
|
+
*/
|
|
47
|
+
'productSlug'?: string;
|
|
48
|
+
}
|
|
49
|
+
export declare const GrpcPatchStatusTransitionRuleRequestDtoEntityTypeEnum: {
|
|
50
|
+
readonly Lead: "lead";
|
|
51
|
+
readonly Policy: "policy";
|
|
52
|
+
};
|
|
53
|
+
export type GrpcPatchStatusTransitionRuleRequestDtoEntityTypeEnum = typeof GrpcPatchStatusTransitionRuleRequestDtoEntityTypeEnum[keyof typeof GrpcPatchStatusTransitionRuleRequestDtoEntityTypeEnum];
|
|
@@ -13,8 +13,8 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.
|
|
17
|
-
exports.
|
|
16
|
+
exports.GrpcPatchStatusTransitionRuleRequestDtoEntityTypeEnum = void 0;
|
|
17
|
+
exports.GrpcPatchStatusTransitionRuleRequestDtoEntityTypeEnum = {
|
|
18
18
|
Lead: 'lead',
|
|
19
19
|
Policy: 'policy'
|
|
20
20
|
};
|
|
@@ -12,55 +12,55 @@
|
|
|
12
12
|
/**
|
|
13
13
|
*
|
|
14
14
|
* @export
|
|
15
|
-
* @interface
|
|
15
|
+
* @interface GrpcUpdateBookingFunnelRequestDto
|
|
16
16
|
*/
|
|
17
|
-
export interface
|
|
17
|
+
export interface GrpcUpdateBookingFunnelRequestDto {
|
|
18
18
|
/**
|
|
19
19
|
* Parent Booking funnel ID
|
|
20
20
|
* @type {number}
|
|
21
|
-
* @memberof
|
|
21
|
+
* @memberof GrpcUpdateBookingFunnelRequestDto
|
|
22
22
|
*/
|
|
23
23
|
'parentId'?: number;
|
|
24
24
|
/**
|
|
25
25
|
* Booking funnel name
|
|
26
26
|
* @type {string}
|
|
27
|
-
* @memberof
|
|
27
|
+
* @memberof GrpcUpdateBookingFunnelRequestDto
|
|
28
28
|
*/
|
|
29
29
|
'name': string;
|
|
30
30
|
/**
|
|
31
31
|
* Code snippet to load the booking funnel.
|
|
32
32
|
* @type {string}
|
|
33
|
-
* @memberof
|
|
33
|
+
* @memberof GrpcUpdateBookingFunnelRequestDto
|
|
34
34
|
*/
|
|
35
35
|
'jsCode': string;
|
|
36
36
|
/**
|
|
37
37
|
* Steps configuration for the booking funnel.
|
|
38
38
|
* @type {object}
|
|
39
|
-
* @memberof
|
|
39
|
+
* @memberof GrpcUpdateBookingFunnelRequestDto
|
|
40
40
|
*/
|
|
41
41
|
'stepsConfig'?: object;
|
|
42
42
|
/**
|
|
43
43
|
* Custom css for the booking funnel.
|
|
44
44
|
* @type {string}
|
|
45
|
-
* @memberof
|
|
45
|
+
* @memberof GrpcUpdateBookingFunnelRequestDto
|
|
46
46
|
*/
|
|
47
47
|
'css'?: string;
|
|
48
48
|
/**
|
|
49
49
|
* URL to fech the logo for the booking funnel.
|
|
50
50
|
* @type {string}
|
|
51
|
-
* @memberof
|
|
51
|
+
* @memberof GrpcUpdateBookingFunnelRequestDto
|
|
52
52
|
*/
|
|
53
53
|
'logoPath'?: string;
|
|
54
54
|
/**
|
|
55
55
|
*
|
|
56
56
|
* @type {string}
|
|
57
|
-
* @memberof
|
|
57
|
+
* @memberof GrpcUpdateBookingFunnelRequestDto
|
|
58
58
|
*/
|
|
59
59
|
'code': string;
|
|
60
60
|
/**
|
|
61
61
|
*
|
|
62
62
|
* @type {boolean}
|
|
63
|
-
* @memberof
|
|
63
|
+
* @memberof GrpcUpdateBookingFunnelRequestDto
|
|
64
64
|
*/
|
|
65
65
|
'shouldShowOnApplicationsPage'?: boolean;
|
|
66
66
|
}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* EMIL InsuranceService
|
|
3
|
+
* The EMIL InsuranceService 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 GrpcUpdateStatusTransitionRuleRequestDto
|
|
16
|
+
*/
|
|
17
|
+
export interface GrpcUpdateStatusTransitionRuleRequestDto {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof GrpcUpdateStatusTransitionRuleRequestDto
|
|
22
|
+
*/
|
|
23
|
+
'code': string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof GrpcUpdateStatusTransitionRuleRequestDto
|
|
28
|
+
*/
|
|
29
|
+
'entityType': GrpcUpdateStatusTransitionRuleRequestDtoEntityTypeEnum;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof GrpcUpdateStatusTransitionRuleRequestDto
|
|
34
|
+
*/
|
|
35
|
+
'currentStatus': string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {Array<string>}
|
|
39
|
+
* @memberof GrpcUpdateStatusTransitionRuleRequestDto
|
|
40
|
+
*/
|
|
41
|
+
'nextStatuses': Array<string>;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof GrpcUpdateStatusTransitionRuleRequestDto
|
|
46
|
+
*/
|
|
47
|
+
'productSlug': string;
|
|
48
|
+
}
|
|
49
|
+
export declare const GrpcUpdateStatusTransitionRuleRequestDtoEntityTypeEnum: {
|
|
50
|
+
readonly Lead: "lead";
|
|
51
|
+
readonly Policy: "policy";
|
|
52
|
+
};
|
|
53
|
+
export type GrpcUpdateStatusTransitionRuleRequestDtoEntityTypeEnum = typeof GrpcUpdateStatusTransitionRuleRequestDtoEntityTypeEnum[keyof typeof GrpcUpdateStatusTransitionRuleRequestDtoEntityTypeEnum];
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* EMIL InsuranceService
|
|
6
|
+
* The EMIL InsuranceService 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 });
|
|
16
|
+
exports.GrpcUpdateStatusTransitionRuleRequestDtoEntityTypeEnum = void 0;
|
|
17
|
+
exports.GrpcUpdateStatusTransitionRuleRequestDtoEntityTypeEnum = {
|
|
18
|
+
Lead: 'lead',
|
|
19
|
+
Policy: 'policy'
|
|
20
|
+
};
|
package/dist/models/index.d.ts
CHANGED
|
@@ -102,6 +102,11 @@ export * from './get-status-transition-rule-response-class';
|
|
|
102
102
|
export * from './grouped-product-factor-class';
|
|
103
103
|
export * from './grouped-product-factor-value-class';
|
|
104
104
|
export * from './grouped-product-factors-response-class';
|
|
105
|
+
export * from './grpc-patch-booking-funnel-request-dto';
|
|
106
|
+
export * from './grpc-patch-draft-policy-request-dto';
|
|
107
|
+
export * from './grpc-patch-status-transition-rule-request-dto';
|
|
108
|
+
export * from './grpc-update-booking-funnel-request-dto';
|
|
109
|
+
export * from './grpc-update-status-transition-rule-request-dto';
|
|
105
110
|
export * from './inline-response200';
|
|
106
111
|
export * from './inline-response503';
|
|
107
112
|
export * from './insured-object-class';
|
|
@@ -146,9 +151,7 @@ export * from './omit-type-class';
|
|
|
146
151
|
export * from './partner-class';
|
|
147
152
|
export * from './partner-link-class';
|
|
148
153
|
export * from './partner-role-class';
|
|
149
|
-
export * from './patch-booking-funnel-request-dto';
|
|
150
154
|
export * from './patch-booking-funnel-response-class';
|
|
151
|
-
export * from './patch-draft-policy-request-dto';
|
|
152
155
|
export * from './patch-lead-request-dto';
|
|
153
156
|
export * from './patch-lead-response-class';
|
|
154
157
|
export * from './patch-policy-request-dto';
|
|
@@ -174,10 +177,18 @@ export * from './product-field-class';
|
|
|
174
177
|
export * from './product-field-type-class';
|
|
175
178
|
export * from './product-version-class';
|
|
176
179
|
export * from './rest-clone-lead-account-request-dto';
|
|
180
|
+
export * from './rest-create-draft-policy-request-dto';
|
|
181
|
+
export * from './rest-create-status-transition-rule-request-dto';
|
|
182
|
+
export * from './rest-patch-booking-funnel-request-dto';
|
|
183
|
+
export * from './rest-patch-draft-policy-request-dto';
|
|
184
|
+
export * from './rest-update-booking-funnel-request-dto';
|
|
185
|
+
export * from './rest-update-product-field-request-dto';
|
|
186
|
+
export * from './rest-update-status-transition-rule-request-dto';
|
|
177
187
|
export * from './restore-policy-version-request-dto';
|
|
178
188
|
export * from './restore-policy-version-response-class';
|
|
179
189
|
export * from './sepa-dto';
|
|
180
190
|
export * from './shared-create-lead-policy-request-dto';
|
|
191
|
+
export * from './shared-delete-request-dto';
|
|
181
192
|
export * from './shared-invoice-class';
|
|
182
193
|
export * from './shared-lead-policy-object-dto';
|
|
183
194
|
export * from './shared-product-field-class';
|
|
@@ -195,7 +206,6 @@ export * from './terminate-policy-request-dto';
|
|
|
195
206
|
export * from './terminate-policy-response-class';
|
|
196
207
|
export * from './timeslice-class';
|
|
197
208
|
export * from './unlink-partner-response-class';
|
|
198
|
-
export * from './update-booking-funnel-request-dto';
|
|
199
209
|
export * from './update-booking-funnel-response-class';
|
|
200
210
|
export * from './update-commission-agreement-item-request-dto';
|
|
201
211
|
export * from './update-commission-agreement-item-response-class';
|
|
@@ -228,7 +238,6 @@ export * from './update-product-request-dto';
|
|
|
228
238
|
export * from './update-product-response-class';
|
|
229
239
|
export * from './update-product-version-request-dto';
|
|
230
240
|
export * from './update-product-version-response-class';
|
|
231
|
-
export * from './update-status-transition-rule-request-dto';
|
|
232
241
|
export * from './update-status-transition-rule-response-class';
|
|
233
242
|
export * from './uploaded-document-dto';
|
|
234
243
|
export * from './validate-product-factors-request-dto';
|
package/dist/models/index.js
CHANGED
|
@@ -118,6 +118,11 @@ __exportStar(require("./get-status-transition-rule-response-class"), exports);
|
|
|
118
118
|
__exportStar(require("./grouped-product-factor-class"), exports);
|
|
119
119
|
__exportStar(require("./grouped-product-factor-value-class"), exports);
|
|
120
120
|
__exportStar(require("./grouped-product-factors-response-class"), exports);
|
|
121
|
+
__exportStar(require("./grpc-patch-booking-funnel-request-dto"), exports);
|
|
122
|
+
__exportStar(require("./grpc-patch-draft-policy-request-dto"), exports);
|
|
123
|
+
__exportStar(require("./grpc-patch-status-transition-rule-request-dto"), exports);
|
|
124
|
+
__exportStar(require("./grpc-update-booking-funnel-request-dto"), exports);
|
|
125
|
+
__exportStar(require("./grpc-update-status-transition-rule-request-dto"), exports);
|
|
121
126
|
__exportStar(require("./inline-response200"), exports);
|
|
122
127
|
__exportStar(require("./inline-response503"), exports);
|
|
123
128
|
__exportStar(require("./insured-object-class"), exports);
|
|
@@ -162,9 +167,7 @@ __exportStar(require("./omit-type-class"), exports);
|
|
|
162
167
|
__exportStar(require("./partner-class"), exports);
|
|
163
168
|
__exportStar(require("./partner-link-class"), exports);
|
|
164
169
|
__exportStar(require("./partner-role-class"), exports);
|
|
165
|
-
__exportStar(require("./patch-booking-funnel-request-dto"), exports);
|
|
166
170
|
__exportStar(require("./patch-booking-funnel-response-class"), exports);
|
|
167
|
-
__exportStar(require("./patch-draft-policy-request-dto"), exports);
|
|
168
171
|
__exportStar(require("./patch-lead-request-dto"), exports);
|
|
169
172
|
__exportStar(require("./patch-lead-response-class"), exports);
|
|
170
173
|
__exportStar(require("./patch-policy-request-dto"), exports);
|
|
@@ -190,10 +193,18 @@ __exportStar(require("./product-field-class"), exports);
|
|
|
190
193
|
__exportStar(require("./product-field-type-class"), exports);
|
|
191
194
|
__exportStar(require("./product-version-class"), exports);
|
|
192
195
|
__exportStar(require("./rest-clone-lead-account-request-dto"), exports);
|
|
196
|
+
__exportStar(require("./rest-create-draft-policy-request-dto"), exports);
|
|
197
|
+
__exportStar(require("./rest-create-status-transition-rule-request-dto"), exports);
|
|
198
|
+
__exportStar(require("./rest-patch-booking-funnel-request-dto"), exports);
|
|
199
|
+
__exportStar(require("./rest-patch-draft-policy-request-dto"), exports);
|
|
200
|
+
__exportStar(require("./rest-update-booking-funnel-request-dto"), exports);
|
|
201
|
+
__exportStar(require("./rest-update-product-field-request-dto"), exports);
|
|
202
|
+
__exportStar(require("./rest-update-status-transition-rule-request-dto"), exports);
|
|
193
203
|
__exportStar(require("./restore-policy-version-request-dto"), exports);
|
|
194
204
|
__exportStar(require("./restore-policy-version-response-class"), exports);
|
|
195
205
|
__exportStar(require("./sepa-dto"), exports);
|
|
196
206
|
__exportStar(require("./shared-create-lead-policy-request-dto"), exports);
|
|
207
|
+
__exportStar(require("./shared-delete-request-dto"), exports);
|
|
197
208
|
__exportStar(require("./shared-invoice-class"), exports);
|
|
198
209
|
__exportStar(require("./shared-lead-policy-object-dto"), exports);
|
|
199
210
|
__exportStar(require("./shared-product-field-class"), exports);
|
|
@@ -211,7 +222,6 @@ __exportStar(require("./terminate-policy-request-dto"), exports);
|
|
|
211
222
|
__exportStar(require("./terminate-policy-response-class"), exports);
|
|
212
223
|
__exportStar(require("./timeslice-class"), exports);
|
|
213
224
|
__exportStar(require("./unlink-partner-response-class"), exports);
|
|
214
|
-
__exportStar(require("./update-booking-funnel-request-dto"), exports);
|
|
215
225
|
__exportStar(require("./update-booking-funnel-response-class"), exports);
|
|
216
226
|
__exportStar(require("./update-commission-agreement-item-request-dto"), exports);
|
|
217
227
|
__exportStar(require("./update-commission-agreement-item-response-class"), exports);
|
|
@@ -244,7 +254,6 @@ __exportStar(require("./update-product-request-dto"), exports);
|
|
|
244
254
|
__exportStar(require("./update-product-response-class"), exports);
|
|
245
255
|
__exportStar(require("./update-product-version-request-dto"), exports);
|
|
246
256
|
__exportStar(require("./update-product-version-response-class"), exports);
|
|
247
|
-
__exportStar(require("./update-status-transition-rule-request-dto"), exports);
|
|
248
257
|
__exportStar(require("./update-status-transition-rule-response-class"), exports);
|
|
249
258
|
__exportStar(require("./uploaded-document-dto"), exports);
|
|
250
259
|
__exportStar(require("./validate-product-factors-request-dto"), exports);
|