@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
|
@@ -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
|
@@ -53,6 +53,7 @@ export * from './create-product-field-request-dto';
|
|
|
53
53
|
export * from './create-product-field-response-class';
|
|
54
54
|
export * from './create-product-request-dto';
|
|
55
55
|
export * from './create-product-response-class';
|
|
56
|
+
export * from './create-product-version-request-dto';
|
|
56
57
|
export * from './create-status-transition-rule-request-dto';
|
|
57
58
|
export * from './create-status-transition-rule-response-class';
|
|
58
59
|
export * from './csv-product-factor-dto';
|
|
@@ -101,6 +102,11 @@ export * from './get-status-transition-rule-response-class';
|
|
|
101
102
|
export * from './grouped-product-factor-class';
|
|
102
103
|
export * from './grouped-product-factor-value-class';
|
|
103
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';
|
|
104
110
|
export * from './inline-response200';
|
|
105
111
|
export * from './inline-response503';
|
|
106
112
|
export * from './insured-object-class';
|
|
@@ -145,9 +151,7 @@ export * from './omit-type-class';
|
|
|
145
151
|
export * from './partner-class';
|
|
146
152
|
export * from './partner-link-class';
|
|
147
153
|
export * from './partner-role-class';
|
|
148
|
-
export * from './patch-booking-funnel-request-dto';
|
|
149
154
|
export * from './patch-booking-funnel-response-class';
|
|
150
|
-
export * from './patch-draft-policy-request-dto';
|
|
151
155
|
export * from './patch-lead-request-dto';
|
|
152
156
|
export * from './patch-lead-response-class';
|
|
153
157
|
export * from './patch-policy-request-dto';
|
|
@@ -173,8 +177,16 @@ export * from './product-field-class';
|
|
|
173
177
|
export * from './product-field-type-class';
|
|
174
178
|
export * from './product-version-class';
|
|
175
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';
|
|
176
187
|
export * from './sepa-dto';
|
|
177
188
|
export * from './shared-create-lead-policy-request-dto';
|
|
189
|
+
export * from './shared-delete-request-dto';
|
|
178
190
|
export * from './shared-invoice-class';
|
|
179
191
|
export * from './shared-lead-policy-object-dto';
|
|
180
192
|
export * from './shared-product-field-class';
|
|
@@ -192,7 +204,6 @@ export * from './terminate-policy-request-dto';
|
|
|
192
204
|
export * from './terminate-policy-response-class';
|
|
193
205
|
export * from './timeslice-class';
|
|
194
206
|
export * from './unlink-partner-response-class';
|
|
195
|
-
export * from './update-booking-funnel-request-dto';
|
|
196
207
|
export * from './update-booking-funnel-response-class';
|
|
197
208
|
export * from './update-commission-agreement-item-request-dto';
|
|
198
209
|
export * from './update-commission-agreement-item-response-class';
|
|
@@ -225,7 +236,6 @@ export * from './update-product-request-dto';
|
|
|
225
236
|
export * from './update-product-response-class';
|
|
226
237
|
export * from './update-product-version-request-dto';
|
|
227
238
|
export * from './update-product-version-response-class';
|
|
228
|
-
export * from './update-status-transition-rule-request-dto';
|
|
229
239
|
export * from './update-status-transition-rule-response-class';
|
|
230
240
|
export * from './uploaded-document-dto';
|
|
231
241
|
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
|
*/
|
|
@@ -134,6 +134,30 @@ export interface ProductFieldClass {
|
|
|
134
134
|
* @memberof ProductFieldClass
|
|
135
135
|
*/
|
|
136
136
|
'metadata'?: object;
|
|
137
|
+
/**
|
|
138
|
+
* Is this field is used the premium calculation?
|
|
139
|
+
* @type {boolean}
|
|
140
|
+
* @memberof ProductFieldClass
|
|
141
|
+
*/
|
|
142
|
+
'usedInPremiumCalculation': boolean;
|
|
143
|
+
/**
|
|
144
|
+
* Overrides automatic dependency check result (if this field is used in the premium calculation or not).
|
|
145
|
+
* @type {string}
|
|
146
|
+
* @memberof ProductFieldClass
|
|
147
|
+
*/
|
|
148
|
+
'usedInPremiumCalculationOverride': ProductFieldClassUsedInPremiumCalculationOverrideEnum;
|
|
149
|
+
/**
|
|
150
|
+
* Is this field is used the product field calculation?
|
|
151
|
+
* @type {boolean}
|
|
152
|
+
* @memberof ProductFieldClass
|
|
153
|
+
*/
|
|
154
|
+
'usedInFieldCalculation': boolean;
|
|
155
|
+
/**
|
|
156
|
+
* Overrides automatic dependency check result (if this field is used in the product field calculation or not).
|
|
157
|
+
* @type {string}
|
|
158
|
+
* @memberof ProductFieldClass
|
|
159
|
+
*/
|
|
160
|
+
'usedInFieldCalculationOverride': ProductFieldClassUsedInFieldCalculationOverrideEnum;
|
|
137
161
|
/**
|
|
138
162
|
* Time at which the object was created.
|
|
139
163
|
* @type {string}
|
|
@@ -160,3 +184,17 @@ export interface ProductFieldClass {
|
|
|
160
184
|
'updatedBy': string;
|
|
161
185
|
}
|
|
162
186
|
|
|
187
|
+
export const ProductFieldClassUsedInPremiumCalculationOverrideEnum = {
|
|
188
|
+
Used: 'used',
|
|
189
|
+
NotUsed: 'not_used'
|
|
190
|
+
} as const;
|
|
191
|
+
|
|
192
|
+
export type ProductFieldClassUsedInPremiumCalculationOverrideEnum = typeof ProductFieldClassUsedInPremiumCalculationOverrideEnum[keyof typeof ProductFieldClassUsedInPremiumCalculationOverrideEnum];
|
|
193
|
+
export const ProductFieldClassUsedInFieldCalculationOverrideEnum = {
|
|
194
|
+
Used: 'used',
|
|
195
|
+
NotUsed: 'not_used'
|
|
196
|
+
} as const;
|
|
197
|
+
|
|
198
|
+
export type ProductFieldClassUsedInFieldCalculationOverrideEnum = typeof ProductFieldClassUsedInFieldCalculationOverrideEnum[keyof typeof ProductFieldClassUsedInFieldCalculationOverrideEnum];
|
|
199
|
+
|
|
200
|
+
|
|
@@ -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
|
+
|
|
@@ -0,0 +1,56 @@
|
|
|
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 RestCreateStatusTransitionRuleRequestDto
|
|
21
|
+
*/
|
|
22
|
+
export interface RestCreateStatusTransitionRuleRequestDto {
|
|
23
|
+
/**
|
|
24
|
+
* Entity type where the rule applies to.
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof RestCreateStatusTransitionRuleRequestDto
|
|
27
|
+
*/
|
|
28
|
+
'entityType': RestCreateStatusTransitionRuleRequestDtoEntityTypeEnum;
|
|
29
|
+
/**
|
|
30
|
+
* Current status of the entity.
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof RestCreateStatusTransitionRuleRequestDto
|
|
33
|
+
*/
|
|
34
|
+
'currentStatus': string;
|
|
35
|
+
/**
|
|
36
|
+
* Array of next statuses of the entity.
|
|
37
|
+
* @type {Array<string>}
|
|
38
|
+
* @memberof RestCreateStatusTransitionRuleRequestDto
|
|
39
|
+
*/
|
|
40
|
+
'nextStatuses': Array<string>;
|
|
41
|
+
/**
|
|
42
|
+
* A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof RestCreateStatusTransitionRuleRequestDto
|
|
45
|
+
*/
|
|
46
|
+
'productSlug': string;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
export const RestCreateStatusTransitionRuleRequestDtoEntityTypeEnum = {
|
|
50
|
+
Lead: 'lead',
|
|
51
|
+
Policy: 'policy'
|
|
52
|
+
} as const;
|
|
53
|
+
|
|
54
|
+
export type RestCreateStatusTransitionRuleRequestDtoEntityTypeEnum = typeof RestCreateStatusTransitionRuleRequestDtoEntityTypeEnum[keyof typeof RestCreateStatusTransitionRuleRequestDtoEntityTypeEnum];
|
|
55
|
+
|
|
56
|
+
|
|
@@ -0,0 +1,66 @@
|
|
|
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 RestPatchBookingFunnelRequestDto
|
|
21
|
+
*/
|
|
22
|
+
export interface RestPatchBookingFunnelRequestDto {
|
|
23
|
+
/**
|
|
24
|
+
* Parent Booking funnel ID
|
|
25
|
+
* @type {number}
|
|
26
|
+
* @memberof RestPatchBookingFunnelRequestDto
|
|
27
|
+
*/
|
|
28
|
+
'parentId'?: number;
|
|
29
|
+
/**
|
|
30
|
+
* Booking funnel name
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof RestPatchBookingFunnelRequestDto
|
|
33
|
+
*/
|
|
34
|
+
'name'?: string;
|
|
35
|
+
/**
|
|
36
|
+
* Code snippet to load the booking funnel.
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof RestPatchBookingFunnelRequestDto
|
|
39
|
+
*/
|
|
40
|
+
'jsCode'?: string;
|
|
41
|
+
/**
|
|
42
|
+
* Steps configuration for the booking funnel.
|
|
43
|
+
* @type {object}
|
|
44
|
+
* @memberof RestPatchBookingFunnelRequestDto
|
|
45
|
+
*/
|
|
46
|
+
'stepsConfig'?: object;
|
|
47
|
+
/**
|
|
48
|
+
* Custom css for the booking funnel.
|
|
49
|
+
* @type {string}
|
|
50
|
+
* @memberof RestPatchBookingFunnelRequestDto
|
|
51
|
+
*/
|
|
52
|
+
'css'?: string;
|
|
53
|
+
/**
|
|
54
|
+
* URL to fech the logo for the booking funnel.
|
|
55
|
+
* @type {string}
|
|
56
|
+
* @memberof RestPatchBookingFunnelRequestDto
|
|
57
|
+
*/
|
|
58
|
+
'logoPath'?: string;
|
|
59
|
+
/**
|
|
60
|
+
*
|
|
61
|
+
* @type {boolean}
|
|
62
|
+
* @memberof RestPatchBookingFunnelRequestDto
|
|
63
|
+
*/
|
|
64
|
+
'shouldShowOnApplicationsPage'?: boolean;
|
|
65
|
+
}
|
|
66
|
+
|
|
@@ -19,54 +19,54 @@ import { PremiumOverrideRequestDto } from './premium-override-request-dto';
|
|
|
19
19
|
/**
|
|
20
20
|
*
|
|
21
21
|
* @export
|
|
22
|
-
* @interface
|
|
22
|
+
* @interface RestPatchDraftPolicyRequestDto
|
|
23
23
|
*/
|
|
24
|
-
export interface
|
|
24
|
+
export interface RestPatchDraftPolicyRequestDto {
|
|
25
25
|
/**
|
|
26
26
|
* Policy objects
|
|
27
27
|
* @type {Array<PolicyObjectDto>}
|
|
28
|
-
* @memberof
|
|
28
|
+
* @memberof RestPatchDraftPolicyRequestDto
|
|
29
29
|
*/
|
|
30
30
|
'policyObjects': Array<PolicyObjectDto>;
|
|
31
31
|
/**
|
|
32
32
|
* Date from which the policy should be updated. This will create a new timeline starting from this date.
|
|
33
33
|
* @type {string}
|
|
34
|
-
* @memberof
|
|
34
|
+
* @memberof RestPatchDraftPolicyRequestDto
|
|
35
35
|
*/
|
|
36
36
|
'from'?: string;
|
|
37
37
|
/**
|
|
38
38
|
* Date to which the policy should be updated. This will create a new timeline finishing at this date.
|
|
39
39
|
* @type {string}
|
|
40
|
-
* @memberof
|
|
40
|
+
* @memberof RestPatchDraftPolicyRequestDto
|
|
41
41
|
*/
|
|
42
42
|
'to'?: string;
|
|
43
43
|
/**
|
|
44
44
|
* Policy revision status.
|
|
45
45
|
* @type {string}
|
|
46
|
-
* @memberof
|
|
46
|
+
* @memberof RestPatchDraftPolicyRequestDto
|
|
47
47
|
*/
|
|
48
|
-
'revisionStatus':
|
|
48
|
+
'revisionStatus': RestPatchDraftPolicyRequestDtoRevisionStatusEnum;
|
|
49
49
|
/**
|
|
50
50
|
* Premium Override
|
|
51
51
|
* @type {PremiumOverrideRequestDto}
|
|
52
|
-
* @memberof
|
|
52
|
+
* @memberof RestPatchDraftPolicyRequestDto
|
|
53
53
|
*/
|
|
54
54
|
'premiumOverride'?: PremiumOverrideRequestDto;
|
|
55
55
|
/**
|
|
56
56
|
* Unique identifier of the lead that this object belongs to.
|
|
57
57
|
* @type {string}
|
|
58
|
-
* @memberof
|
|
58
|
+
* @memberof RestPatchDraftPolicyRequestDto
|
|
59
59
|
*/
|
|
60
60
|
'leadCode'?: string;
|
|
61
61
|
/**
|
|
62
62
|
* Unique identifier of the policy that this object belongs to.
|
|
63
63
|
* @type {string}
|
|
64
|
-
* @memberof
|
|
64
|
+
* @memberof RestPatchDraftPolicyRequestDto
|
|
65
65
|
*/
|
|
66
66
|
'policyNumber'?: string;
|
|
67
67
|
}
|
|
68
68
|
|
|
69
|
-
export const
|
|
69
|
+
export const RestPatchDraftPolicyRequestDtoRevisionStatusEnum = {
|
|
70
70
|
Created: 'CREATED',
|
|
71
71
|
InReview: 'IN_REVIEW',
|
|
72
72
|
Reviewed: 'REVIEWED',
|
|
@@ -74,6 +74,6 @@ export const PatchDraftPolicyRequestDtoRevisionStatusEnum = {
|
|
|
74
74
|
Approved: 'APPROVED'
|
|
75
75
|
} as const;
|
|
76
76
|
|
|
77
|
-
export type
|
|
77
|
+
export type RestPatchDraftPolicyRequestDtoRevisionStatusEnum = typeof RestPatchDraftPolicyRequestDtoRevisionStatusEnum[keyof typeof RestPatchDraftPolicyRequestDtoRevisionStatusEnum];
|
|
78
78
|
|
|
79
79
|
|
|
@@ -0,0 +1,66 @@
|
|
|
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 RestUpdateBookingFunnelRequestDto
|
|
21
|
+
*/
|
|
22
|
+
export interface RestUpdateBookingFunnelRequestDto {
|
|
23
|
+
/**
|
|
24
|
+
* Parent Booking funnel ID
|
|
25
|
+
* @type {number}
|
|
26
|
+
* @memberof RestUpdateBookingFunnelRequestDto
|
|
27
|
+
*/
|
|
28
|
+
'parentId'?: number;
|
|
29
|
+
/**
|
|
30
|
+
* Booking funnel name
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof RestUpdateBookingFunnelRequestDto
|
|
33
|
+
*/
|
|
34
|
+
'name': string;
|
|
35
|
+
/**
|
|
36
|
+
* Code snippet to load the booking funnel.
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof RestUpdateBookingFunnelRequestDto
|
|
39
|
+
*/
|
|
40
|
+
'jsCode': string;
|
|
41
|
+
/**
|
|
42
|
+
* Steps configuration for the booking funnel.
|
|
43
|
+
* @type {object}
|
|
44
|
+
* @memberof RestUpdateBookingFunnelRequestDto
|
|
45
|
+
*/
|
|
46
|
+
'stepsConfig'?: object;
|
|
47
|
+
/**
|
|
48
|
+
* Custom css for the booking funnel.
|
|
49
|
+
* @type {string}
|
|
50
|
+
* @memberof RestUpdateBookingFunnelRequestDto
|
|
51
|
+
*/
|
|
52
|
+
'css'?: string;
|
|
53
|
+
/**
|
|
54
|
+
* URL to fech the logo for the booking funnel.
|
|
55
|
+
* @type {string}
|
|
56
|
+
* @memberof RestUpdateBookingFunnelRequestDto
|
|
57
|
+
*/
|
|
58
|
+
'logoPath'?: string;
|
|
59
|
+
/**
|
|
60
|
+
*
|
|
61
|
+
* @type {boolean}
|
|
62
|
+
* @memberof RestUpdateBookingFunnelRequestDto
|
|
63
|
+
*/
|
|
64
|
+
'shouldShowOnApplicationsPage'?: boolean;
|
|
65
|
+
}
|
|
66
|
+
|