@emilgroup/insurance-sdk-node 1.76.0 → 1.76.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 +14 -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/create-product-field-request-dto.d.ts +22 -0
- package/dist/models/create-product-field-request-dto.js +9 -1
- package/dist/models/create-product-version-request-dto.d.ts +30 -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-booking-funnel-request-dto.js +15 -0
- 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 +14 -4
- package/dist/models/index.js +14 -4
- package/dist/models/patch-status-transition-rule-request-dto.d.ts +4 -10
- package/dist/models/product-field-class.d.ts +34 -0
- package/dist/models/product-field-class.js +9 -0
- 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/dist/models/shared-product-field-class.d.ts +34 -0
- package/dist/models/shared-product-field-class.js +9 -0
- package/dist/models/update-product-field-request-dto.d.ts +22 -0
- package/dist/models/update-product-field-request-dto.js +9 -1
- package/models/create-draft-policy-request-dto.ts +6 -0
- package/models/create-product-field-request-dto.ts +24 -0
- package/models/create-product-version-request-dto.ts +36 -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 +14 -4
- package/models/patch-status-transition-rule-request-dto.ts +4 -10
- package/models/product-field-class.ts +38 -0
- 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/models/shared-product-field-class.ts +38 -0
- package/models/update-product-field-request-dto.ts +24 -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 → create-product-version-request-dto.js} +0 -0
- /package/dist/models/{update-booking-funnel-request-dto.js → grpc-patch-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";
|
|
@@ -141,9 +141,31 @@ export interface CreateProductFieldRequestDto {
|
|
|
141
141
|
* @memberof CreateProductFieldRequestDto
|
|
142
142
|
*/
|
|
143
143
|
'metadata'?: object;
|
|
144
|
+
/**
|
|
145
|
+
* Overrides automatic dependency check result (if this field is used in the premium calculation or not).
|
|
146
|
+
* @type {string}
|
|
147
|
+
* @memberof CreateProductFieldRequestDto
|
|
148
|
+
*/
|
|
149
|
+
'usedInPremiumCalculationOverride'?: CreateProductFieldRequestDtoUsedInPremiumCalculationOverrideEnum;
|
|
150
|
+
/**
|
|
151
|
+
* Overrides automatic dependency check result (if this field is used in the product field calculation or not).
|
|
152
|
+
* @type {string}
|
|
153
|
+
* @memberof CreateProductFieldRequestDto
|
|
154
|
+
*/
|
|
155
|
+
'usedInFieldCalculationOverride'?: CreateProductFieldRequestDtoUsedInFieldCalculationOverrideEnum;
|
|
144
156
|
}
|
|
145
157
|
export declare const CreateProductFieldRequestDtoTypeEntityEnum: {
|
|
146
158
|
readonly SystemProductFieldType: "system_product_field_type";
|
|
147
159
|
readonly ProductFactorType: "product_factor_type";
|
|
148
160
|
};
|
|
149
161
|
export type CreateProductFieldRequestDtoTypeEntityEnum = typeof CreateProductFieldRequestDtoTypeEntityEnum[keyof typeof CreateProductFieldRequestDtoTypeEntityEnum];
|
|
162
|
+
export declare const CreateProductFieldRequestDtoUsedInPremiumCalculationOverrideEnum: {
|
|
163
|
+
readonly Used: "used";
|
|
164
|
+
readonly NotUsed: "not_used";
|
|
165
|
+
};
|
|
166
|
+
export type CreateProductFieldRequestDtoUsedInPremiumCalculationOverrideEnum = typeof CreateProductFieldRequestDtoUsedInPremiumCalculationOverrideEnum[keyof typeof CreateProductFieldRequestDtoUsedInPremiumCalculationOverrideEnum];
|
|
167
|
+
export declare const CreateProductFieldRequestDtoUsedInFieldCalculationOverrideEnum: {
|
|
168
|
+
readonly Used: "used";
|
|
169
|
+
readonly NotUsed: "not_used";
|
|
170
|
+
};
|
|
171
|
+
export type CreateProductFieldRequestDtoUsedInFieldCalculationOverrideEnum = typeof CreateProductFieldRequestDtoUsedInFieldCalculationOverrideEnum[keyof typeof CreateProductFieldRequestDtoUsedInFieldCalculationOverrideEnum];
|
|
@@ -13,8 +13,16 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.CreateProductFieldRequestDtoTypeEntityEnum = void 0;
|
|
16
|
+
exports.CreateProductFieldRequestDtoUsedInFieldCalculationOverrideEnum = exports.CreateProductFieldRequestDtoUsedInPremiumCalculationOverrideEnum = exports.CreateProductFieldRequestDtoTypeEntityEnum = void 0;
|
|
17
17
|
exports.CreateProductFieldRequestDtoTypeEntityEnum = {
|
|
18
18
|
SystemProductFieldType: 'system_product_field_type',
|
|
19
19
|
ProductFactorType: 'product_factor_type'
|
|
20
20
|
};
|
|
21
|
+
exports.CreateProductFieldRequestDtoUsedInPremiumCalculationOverrideEnum = {
|
|
22
|
+
Used: 'used',
|
|
23
|
+
NotUsed: 'not_used'
|
|
24
|
+
};
|
|
25
|
+
exports.CreateProductFieldRequestDtoUsedInFieldCalculationOverrideEnum = {
|
|
26
|
+
Used: 'used',
|
|
27
|
+
NotUsed: 'not_used'
|
|
28
|
+
};
|
|
@@ -0,0 +1,30 @@
|
|
|
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 CreateProductVersionRequestDto
|
|
16
|
+
*/
|
|
17
|
+
export interface CreateProductVersionRequestDto {
|
|
18
|
+
/**
|
|
19
|
+
* A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof CreateProductVersionRequestDto
|
|
22
|
+
*/
|
|
23
|
+
'productSlug': string;
|
|
24
|
+
/**
|
|
25
|
+
* product version description
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof CreateProductVersionRequestDto
|
|
28
|
+
*/
|
|
29
|
+
'description': string;
|
|
30
|
+
}
|
|
@@ -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,15 @@
|
|
|
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 });
|
|
@@ -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
|
+
};
|