@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
|
@@ -0,0 +1,47 @@
|
|
|
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 RestUpdateStatusTransitionRuleRequestDto
|
|
16
|
+
*/
|
|
17
|
+
export interface RestUpdateStatusTransitionRuleRequestDto {
|
|
18
|
+
/**
|
|
19
|
+
* Entity type where the rule applies to.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof RestUpdateStatusTransitionRuleRequestDto
|
|
22
|
+
*/
|
|
23
|
+
'entityType': RestUpdateStatusTransitionRuleRequestDtoEntityTypeEnum;
|
|
24
|
+
/**
|
|
25
|
+
* Current status of the entity.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof RestUpdateStatusTransitionRuleRequestDto
|
|
28
|
+
*/
|
|
29
|
+
'currentStatus': string;
|
|
30
|
+
/**
|
|
31
|
+
* Array of next statuses of the entity.
|
|
32
|
+
* @type {Array<string>}
|
|
33
|
+
* @memberof RestUpdateStatusTransitionRuleRequestDto
|
|
34
|
+
*/
|
|
35
|
+
'nextStatuses': Array<string>;
|
|
36
|
+
/**
|
|
37
|
+
* A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof RestUpdateStatusTransitionRuleRequestDto
|
|
40
|
+
*/
|
|
41
|
+
'productSlug': string;
|
|
42
|
+
}
|
|
43
|
+
export declare const RestUpdateStatusTransitionRuleRequestDtoEntityTypeEnum: {
|
|
44
|
+
readonly Lead: "lead";
|
|
45
|
+
readonly Policy: "policy";
|
|
46
|
+
};
|
|
47
|
+
export type RestUpdateStatusTransitionRuleRequestDtoEntityTypeEnum = typeof RestUpdateStatusTransitionRuleRequestDtoEntityTypeEnum[keyof typeof RestUpdateStatusTransitionRuleRequestDtoEntityTypeEnum];
|
|
@@ -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.RestUpdateStatusTransitionRuleRequestDtoEntityTypeEnum = void 0;
|
|
17
|
+
exports.RestUpdateStatusTransitionRuleRequestDtoEntityTypeEnum = {
|
|
18
|
+
Lead: 'lead',
|
|
19
|
+
Policy: 'policy'
|
|
20
|
+
};
|
|
@@ -0,0 +1,24 @@
|
|
|
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 SharedDeleteRequestDto
|
|
16
|
+
*/
|
|
17
|
+
export interface SharedDeleteRequestDto {
|
|
18
|
+
/**
|
|
19
|
+
* Resource id.
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof SharedDeleteRequestDto
|
|
22
|
+
*/
|
|
23
|
+
'id': number;
|
|
24
|
+
}
|
|
@@ -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 });
|
|
@@ -64,6 +64,12 @@ export interface CreateDraftPolicyRequestDto {
|
|
|
64
64
|
* @memberof CreateDraftPolicyRequestDto
|
|
65
65
|
*/
|
|
66
66
|
'policyNumber'?: string;
|
|
67
|
+
/**
|
|
68
|
+
*
|
|
69
|
+
* @type {string}
|
|
70
|
+
* @memberof CreateDraftPolicyRequestDto
|
|
71
|
+
*/
|
|
72
|
+
'policyCode': string;
|
|
67
73
|
}
|
|
68
74
|
|
|
69
75
|
export const CreateDraftPolicyRequestDtoRevisionStatusEnum = {
|
package/models/{patch-booking-funnel-request-dto.ts → grpc-patch-booking-funnel-request-dto.ts}
RENAMED
|
@@ -17,55 +17,55 @@
|
|
|
17
17
|
/**
|
|
18
18
|
*
|
|
19
19
|
* @export
|
|
20
|
-
* @interface
|
|
20
|
+
* @interface GrpcPatchBookingFunnelRequestDto
|
|
21
21
|
*/
|
|
22
|
-
export interface
|
|
22
|
+
export interface GrpcPatchBookingFunnelRequestDto {
|
|
23
23
|
/**
|
|
24
24
|
* Parent Booking funnel ID
|
|
25
25
|
* @type {number}
|
|
26
|
-
* @memberof
|
|
26
|
+
* @memberof GrpcPatchBookingFunnelRequestDto
|
|
27
27
|
*/
|
|
28
28
|
'parentId'?: number;
|
|
29
29
|
/**
|
|
30
30
|
* Booking funnel name
|
|
31
31
|
* @type {string}
|
|
32
|
-
* @memberof
|
|
32
|
+
* @memberof GrpcPatchBookingFunnelRequestDto
|
|
33
33
|
*/
|
|
34
34
|
'name'?: string;
|
|
35
35
|
/**
|
|
36
36
|
* Code snippet to load the booking funnel.
|
|
37
37
|
* @type {string}
|
|
38
|
-
* @memberof
|
|
38
|
+
* @memberof GrpcPatchBookingFunnelRequestDto
|
|
39
39
|
*/
|
|
40
40
|
'jsCode'?: string;
|
|
41
41
|
/**
|
|
42
42
|
* Steps configuration for the booking funnel.
|
|
43
43
|
* @type {object}
|
|
44
|
-
* @memberof
|
|
44
|
+
* @memberof GrpcPatchBookingFunnelRequestDto
|
|
45
45
|
*/
|
|
46
46
|
'stepsConfig'?: object;
|
|
47
47
|
/**
|
|
48
48
|
* Custom css for the booking funnel.
|
|
49
49
|
* @type {string}
|
|
50
|
-
* @memberof
|
|
50
|
+
* @memberof GrpcPatchBookingFunnelRequestDto
|
|
51
51
|
*/
|
|
52
52
|
'css'?: string;
|
|
53
53
|
/**
|
|
54
54
|
* URL to fech the logo for the booking funnel.
|
|
55
55
|
* @type {string}
|
|
56
|
-
* @memberof
|
|
56
|
+
* @memberof GrpcPatchBookingFunnelRequestDto
|
|
57
57
|
*/
|
|
58
58
|
'logoPath'?: string;
|
|
59
59
|
/**
|
|
60
60
|
*
|
|
61
61
|
* @type {string}
|
|
62
|
-
* @memberof
|
|
62
|
+
* @memberof GrpcPatchBookingFunnelRequestDto
|
|
63
63
|
*/
|
|
64
64
|
'code': string;
|
|
65
65
|
/**
|
|
66
66
|
*
|
|
67
67
|
* @type {boolean}
|
|
68
|
-
* @memberof
|
|
68
|
+
* @memberof GrpcPatchBookingFunnelRequestDto
|
|
69
69
|
*/
|
|
70
70
|
'shouldShowOnApplicationsPage'?: boolean;
|
|
71
71
|
}
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* EMIL InsuranceService
|
|
5
|
+
* The EMIL InsuranceService API description
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
* Contact: kontakt@emil.de
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
import { PolicyObjectDto } from './policy-object-dto';
|
|
17
|
+
import { PremiumOverrideRequestDto } from './premium-override-request-dto';
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @export
|
|
22
|
+
* @interface GrpcPatchDraftPolicyRequestDto
|
|
23
|
+
*/
|
|
24
|
+
export interface GrpcPatchDraftPolicyRequestDto {
|
|
25
|
+
/**
|
|
26
|
+
* Policy objects
|
|
27
|
+
* @type {Array<PolicyObjectDto>}
|
|
28
|
+
* @memberof GrpcPatchDraftPolicyRequestDto
|
|
29
|
+
*/
|
|
30
|
+
'policyObjects': Array<PolicyObjectDto>;
|
|
31
|
+
/**
|
|
32
|
+
* Date from which the policy should be updated. This will create a new timeline starting from this date.
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof GrpcPatchDraftPolicyRequestDto
|
|
35
|
+
*/
|
|
36
|
+
'from'?: string;
|
|
37
|
+
/**
|
|
38
|
+
* Date to which the policy should be updated. This will create a new timeline finishing at this date.
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof GrpcPatchDraftPolicyRequestDto
|
|
41
|
+
*/
|
|
42
|
+
'to'?: string;
|
|
43
|
+
/**
|
|
44
|
+
* Policy revision status.
|
|
45
|
+
* @type {string}
|
|
46
|
+
* @memberof GrpcPatchDraftPolicyRequestDto
|
|
47
|
+
*/
|
|
48
|
+
'revisionStatus': GrpcPatchDraftPolicyRequestDtoRevisionStatusEnum;
|
|
49
|
+
/**
|
|
50
|
+
* Premium Override
|
|
51
|
+
* @type {PremiumOverrideRequestDto}
|
|
52
|
+
* @memberof GrpcPatchDraftPolicyRequestDto
|
|
53
|
+
*/
|
|
54
|
+
'premiumOverride'?: PremiumOverrideRequestDto;
|
|
55
|
+
/**
|
|
56
|
+
* Unique identifier of the lead that this object belongs to.
|
|
57
|
+
* @type {string}
|
|
58
|
+
* @memberof GrpcPatchDraftPolicyRequestDto
|
|
59
|
+
*/
|
|
60
|
+
'leadCode'?: string;
|
|
61
|
+
/**
|
|
62
|
+
* Unique identifier of the policy that this object belongs to.
|
|
63
|
+
* @type {string}
|
|
64
|
+
* @memberof GrpcPatchDraftPolicyRequestDto
|
|
65
|
+
*/
|
|
66
|
+
'policyNumber'?: string;
|
|
67
|
+
/**
|
|
68
|
+
*
|
|
69
|
+
* @type {string}
|
|
70
|
+
* @memberof GrpcPatchDraftPolicyRequestDto
|
|
71
|
+
*/
|
|
72
|
+
'policyCode': string;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
export const GrpcPatchDraftPolicyRequestDtoRevisionStatusEnum = {
|
|
76
|
+
Created: 'CREATED',
|
|
77
|
+
InReview: 'IN_REVIEW',
|
|
78
|
+
Reviewed: 'REVIEWED',
|
|
79
|
+
Rejected: 'REJECTED',
|
|
80
|
+
Approved: 'APPROVED'
|
|
81
|
+
} as const;
|
|
82
|
+
|
|
83
|
+
export type GrpcPatchDraftPolicyRequestDtoRevisionStatusEnum = typeof GrpcPatchDraftPolicyRequestDtoRevisionStatusEnum[keyof typeof GrpcPatchDraftPolicyRequestDtoRevisionStatusEnum];
|
|
84
|
+
|
|
85
|
+
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* EMIL InsuranceService
|
|
5
|
+
* The EMIL InsuranceService API description
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
* Contact: kontakt@emil.de
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
* @interface GrpcPatchStatusTransitionRuleRequestDto
|
|
21
|
+
*/
|
|
22
|
+
export interface GrpcPatchStatusTransitionRuleRequestDto {
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof GrpcPatchStatusTransitionRuleRequestDto
|
|
27
|
+
*/
|
|
28
|
+
'code': string;
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof GrpcPatchStatusTransitionRuleRequestDto
|
|
33
|
+
*/
|
|
34
|
+
'entityType'?: GrpcPatchStatusTransitionRuleRequestDtoEntityTypeEnum;
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof GrpcPatchStatusTransitionRuleRequestDto
|
|
39
|
+
*/
|
|
40
|
+
'currentStatus'?: string;
|
|
41
|
+
/**
|
|
42
|
+
*
|
|
43
|
+
* @type {Array<string>}
|
|
44
|
+
* @memberof GrpcPatchStatusTransitionRuleRequestDto
|
|
45
|
+
*/
|
|
46
|
+
'nextStatuses'?: Array<string>;
|
|
47
|
+
/**
|
|
48
|
+
*
|
|
49
|
+
* @type {string}
|
|
50
|
+
* @memberof GrpcPatchStatusTransitionRuleRequestDto
|
|
51
|
+
*/
|
|
52
|
+
'productSlug'?: string;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
export const GrpcPatchStatusTransitionRuleRequestDtoEntityTypeEnum = {
|
|
56
|
+
Lead: 'lead',
|
|
57
|
+
Policy: 'policy'
|
|
58
|
+
} as const;
|
|
59
|
+
|
|
60
|
+
export type GrpcPatchStatusTransitionRuleRequestDtoEntityTypeEnum = typeof GrpcPatchStatusTransitionRuleRequestDtoEntityTypeEnum[keyof typeof GrpcPatchStatusTransitionRuleRequestDtoEntityTypeEnum];
|
|
61
|
+
|
|
62
|
+
|
package/models/{update-booking-funnel-request-dto.ts → grpc-update-booking-funnel-request-dto.ts}
RENAMED
|
@@ -17,55 +17,55 @@
|
|
|
17
17
|
/**
|
|
18
18
|
*
|
|
19
19
|
* @export
|
|
20
|
-
* @interface
|
|
20
|
+
* @interface GrpcUpdateBookingFunnelRequestDto
|
|
21
21
|
*/
|
|
22
|
-
export interface
|
|
22
|
+
export interface GrpcUpdateBookingFunnelRequestDto {
|
|
23
23
|
/**
|
|
24
24
|
* Parent Booking funnel ID
|
|
25
25
|
* @type {number}
|
|
26
|
-
* @memberof
|
|
26
|
+
* @memberof GrpcUpdateBookingFunnelRequestDto
|
|
27
27
|
*/
|
|
28
28
|
'parentId'?: number;
|
|
29
29
|
/**
|
|
30
30
|
* Booking funnel name
|
|
31
31
|
* @type {string}
|
|
32
|
-
* @memberof
|
|
32
|
+
* @memberof GrpcUpdateBookingFunnelRequestDto
|
|
33
33
|
*/
|
|
34
34
|
'name': string;
|
|
35
35
|
/**
|
|
36
36
|
* Code snippet to load the booking funnel.
|
|
37
37
|
* @type {string}
|
|
38
|
-
* @memberof
|
|
38
|
+
* @memberof GrpcUpdateBookingFunnelRequestDto
|
|
39
39
|
*/
|
|
40
40
|
'jsCode': string;
|
|
41
41
|
/**
|
|
42
42
|
* Steps configuration for the booking funnel.
|
|
43
43
|
* @type {object}
|
|
44
|
-
* @memberof
|
|
44
|
+
* @memberof GrpcUpdateBookingFunnelRequestDto
|
|
45
45
|
*/
|
|
46
46
|
'stepsConfig'?: object;
|
|
47
47
|
/**
|
|
48
48
|
* Custom css for the booking funnel.
|
|
49
49
|
* @type {string}
|
|
50
|
-
* @memberof
|
|
50
|
+
* @memberof GrpcUpdateBookingFunnelRequestDto
|
|
51
51
|
*/
|
|
52
52
|
'css'?: string;
|
|
53
53
|
/**
|
|
54
54
|
* URL to fech the logo for the booking funnel.
|
|
55
55
|
* @type {string}
|
|
56
|
-
* @memberof
|
|
56
|
+
* @memberof GrpcUpdateBookingFunnelRequestDto
|
|
57
57
|
*/
|
|
58
58
|
'logoPath'?: string;
|
|
59
59
|
/**
|
|
60
60
|
*
|
|
61
61
|
* @type {string}
|
|
62
|
-
* @memberof
|
|
62
|
+
* @memberof GrpcUpdateBookingFunnelRequestDto
|
|
63
63
|
*/
|
|
64
64
|
'code': string;
|
|
65
65
|
/**
|
|
66
66
|
*
|
|
67
67
|
* @type {boolean}
|
|
68
|
-
* @memberof
|
|
68
|
+
* @memberof GrpcUpdateBookingFunnelRequestDto
|
|
69
69
|
*/
|
|
70
70
|
'shouldShowOnApplicationsPage'?: boolean;
|
|
71
71
|
}
|
|
@@ -17,46 +17,46 @@
|
|
|
17
17
|
/**
|
|
18
18
|
*
|
|
19
19
|
* @export
|
|
20
|
-
* @interface
|
|
20
|
+
* @interface GrpcUpdateStatusTransitionRuleRequestDto
|
|
21
21
|
*/
|
|
22
|
-
export interface
|
|
22
|
+
export interface GrpcUpdateStatusTransitionRuleRequestDto {
|
|
23
23
|
/**
|
|
24
24
|
*
|
|
25
25
|
* @type {string}
|
|
26
|
-
* @memberof
|
|
26
|
+
* @memberof GrpcUpdateStatusTransitionRuleRequestDto
|
|
27
27
|
*/
|
|
28
28
|
'code': string;
|
|
29
29
|
/**
|
|
30
30
|
*
|
|
31
31
|
* @type {string}
|
|
32
|
-
* @memberof
|
|
32
|
+
* @memberof GrpcUpdateStatusTransitionRuleRequestDto
|
|
33
33
|
*/
|
|
34
|
-
'entityType':
|
|
34
|
+
'entityType': GrpcUpdateStatusTransitionRuleRequestDtoEntityTypeEnum;
|
|
35
35
|
/**
|
|
36
36
|
*
|
|
37
37
|
* @type {string}
|
|
38
|
-
* @memberof
|
|
38
|
+
* @memberof GrpcUpdateStatusTransitionRuleRequestDto
|
|
39
39
|
*/
|
|
40
40
|
'currentStatus': string;
|
|
41
41
|
/**
|
|
42
42
|
*
|
|
43
43
|
* @type {Array<string>}
|
|
44
|
-
* @memberof
|
|
44
|
+
* @memberof GrpcUpdateStatusTransitionRuleRequestDto
|
|
45
45
|
*/
|
|
46
46
|
'nextStatuses': Array<string>;
|
|
47
47
|
/**
|
|
48
48
|
*
|
|
49
49
|
* @type {string}
|
|
50
|
-
* @memberof
|
|
50
|
+
* @memberof GrpcUpdateStatusTransitionRuleRequestDto
|
|
51
51
|
*/
|
|
52
52
|
'productSlug': string;
|
|
53
53
|
}
|
|
54
54
|
|
|
55
|
-
export const
|
|
55
|
+
export const GrpcUpdateStatusTransitionRuleRequestDtoEntityTypeEnum = {
|
|
56
56
|
Lead: 'lead',
|
|
57
57
|
Policy: 'policy'
|
|
58
58
|
} as const;
|
|
59
59
|
|
|
60
|
-
export type
|
|
60
|
+
export type GrpcUpdateStatusTransitionRuleRequestDtoEntityTypeEnum = typeof GrpcUpdateStatusTransitionRuleRequestDtoEntityTypeEnum[keyof typeof GrpcUpdateStatusTransitionRuleRequestDtoEntityTypeEnum];
|
|
61
61
|
|
|
62
62
|
|
package/models/index.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';
|
|
@@ -21,31 +21,25 @@
|
|
|
21
21
|
*/
|
|
22
22
|
export interface PatchStatusTransitionRuleRequestDto {
|
|
23
23
|
/**
|
|
24
|
-
*
|
|
25
|
-
* @type {string}
|
|
26
|
-
* @memberof PatchStatusTransitionRuleRequestDto
|
|
27
|
-
*/
|
|
28
|
-
'code': string;
|
|
29
|
-
/**
|
|
30
|
-
*
|
|
24
|
+
* Entity type where the rule applies to.
|
|
31
25
|
* @type {string}
|
|
32
26
|
* @memberof PatchStatusTransitionRuleRequestDto
|
|
33
27
|
*/
|
|
34
28
|
'entityType'?: PatchStatusTransitionRuleRequestDtoEntityTypeEnum;
|
|
35
29
|
/**
|
|
36
|
-
*
|
|
30
|
+
* Current status of the entity.
|
|
37
31
|
* @type {string}
|
|
38
32
|
* @memberof PatchStatusTransitionRuleRequestDto
|
|
39
33
|
*/
|
|
40
34
|
'currentStatus'?: string;
|
|
41
35
|
/**
|
|
42
|
-
*
|
|
36
|
+
* Array of next statuses of the entity.
|
|
43
37
|
* @type {Array<string>}
|
|
44
38
|
* @memberof PatchStatusTransitionRuleRequestDto
|
|
45
39
|
*/
|
|
46
40
|
'nextStatuses'?: Array<string>;
|
|
47
41
|
/**
|
|
48
|
-
*
|
|
42
|
+
* A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
|
|
49
43
|
* @type {string}
|
|
50
44
|
* @memberof PatchStatusTransitionRuleRequestDto
|
|
51
45
|
*/
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* EMIL InsuranceService
|
|
5
|
+
* The EMIL InsuranceService API description
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
* Contact: kontakt@emil.de
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
import { PolicyObjectDto } from './policy-object-dto';
|
|
17
|
+
import { PremiumOverrideRequestDto } from './premium-override-request-dto';
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @export
|
|
22
|
+
* @interface RestCreateDraftPolicyRequestDto
|
|
23
|
+
*/
|
|
24
|
+
export interface RestCreateDraftPolicyRequestDto {
|
|
25
|
+
/**
|
|
26
|
+
* Policy objects
|
|
27
|
+
* @type {Array<PolicyObjectDto>}
|
|
28
|
+
* @memberof RestCreateDraftPolicyRequestDto
|
|
29
|
+
*/
|
|
30
|
+
'policyObjects': Array<PolicyObjectDto>;
|
|
31
|
+
/**
|
|
32
|
+
* Date from which the policy should be updated. This will create a new timeline starting from this date.
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof RestCreateDraftPolicyRequestDto
|
|
35
|
+
*/
|
|
36
|
+
'from': string;
|
|
37
|
+
/**
|
|
38
|
+
* Date to which the policy should be updated. This will create a new timeline finishing at this date.
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof RestCreateDraftPolicyRequestDto
|
|
41
|
+
*/
|
|
42
|
+
'to'?: string;
|
|
43
|
+
/**
|
|
44
|
+
* Policy revision status.
|
|
45
|
+
* @type {string}
|
|
46
|
+
* @memberof RestCreateDraftPolicyRequestDto
|
|
47
|
+
*/
|
|
48
|
+
'revisionStatus': RestCreateDraftPolicyRequestDtoRevisionStatusEnum;
|
|
49
|
+
/**
|
|
50
|
+
* Premium Override
|
|
51
|
+
* @type {PremiumOverrideRequestDto}
|
|
52
|
+
* @memberof RestCreateDraftPolicyRequestDto
|
|
53
|
+
*/
|
|
54
|
+
'premiumOverride'?: PremiumOverrideRequestDto;
|
|
55
|
+
/**
|
|
56
|
+
* Unique identifier of the lead that this object belongs to.
|
|
57
|
+
* @type {string}
|
|
58
|
+
* @memberof RestCreateDraftPolicyRequestDto
|
|
59
|
+
*/
|
|
60
|
+
'leadCode'?: string;
|
|
61
|
+
/**
|
|
62
|
+
* Unique identifier of the policy that this object belongs to.
|
|
63
|
+
* @type {string}
|
|
64
|
+
* @memberof RestCreateDraftPolicyRequestDto
|
|
65
|
+
*/
|
|
66
|
+
'policyNumber'?: string;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
export const RestCreateDraftPolicyRequestDtoRevisionStatusEnum = {
|
|
70
|
+
Created: 'CREATED',
|
|
71
|
+
InReview: 'IN_REVIEW',
|
|
72
|
+
Reviewed: 'REVIEWED',
|
|
73
|
+
Rejected: 'REJECTED',
|
|
74
|
+
Approved: 'APPROVED'
|
|
75
|
+
} as const;
|
|
76
|
+
|
|
77
|
+
export type RestCreateDraftPolicyRequestDtoRevisionStatusEnum = typeof RestCreateDraftPolicyRequestDtoRevisionStatusEnum[keyof typeof RestCreateDraftPolicyRequestDtoRevisionStatusEnum];
|
|
78
|
+
|
|
79
|
+
|