@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.
Files changed (65) hide show
  1. package/.openapi-generator/FILES +13 -4
  2. package/README.md +2 -2
  3. package/api/booking-funnels-api.ts +31 -31
  4. package/api/commission-agreement-items-api.ts +4 -4
  5. package/api/policies-api.ts +32 -32
  6. package/api/product-fields-api.ts +16 -16
  7. package/api/status-transition-rules-api.ts +31 -31
  8. package/dist/api/booking-funnels-api.d.ts +18 -18
  9. package/dist/api/booking-funnels-api.js +24 -24
  10. package/dist/api/commission-agreement-items-api.d.ts +4 -4
  11. package/dist/api/commission-agreement-items-api.js +3 -3
  12. package/dist/api/policies-api.d.ts +18 -18
  13. package/dist/api/policies-api.js +24 -24
  14. package/dist/api/product-fields-api.d.ts +9 -9
  15. package/dist/api/product-fields-api.js +12 -12
  16. package/dist/api/status-transition-rules-api.d.ts +18 -18
  17. package/dist/api/status-transition-rules-api.js +24 -24
  18. package/dist/models/create-draft-policy-request-dto.d.ts +6 -0
  19. package/dist/models/{patch-booking-funnel-request-dto.d.ts → grpc-patch-booking-funnel-request-dto.d.ts} +10 -10
  20. package/dist/models/grpc-patch-draft-policy-request-dto.d.ts +76 -0
  21. package/dist/models/{patch-draft-policy-request-dto.js → grpc-patch-draft-policy-request-dto.js} +2 -2
  22. package/dist/models/grpc-patch-status-transition-rule-request-dto.d.ts +53 -0
  23. package/dist/models/{update-status-transition-rule-request-dto.js → grpc-patch-status-transition-rule-request-dto.js} +2 -2
  24. package/dist/models/{update-booking-funnel-request-dto.d.ts → grpc-update-booking-funnel-request-dto.d.ts} +10 -10
  25. package/dist/models/grpc-update-status-transition-rule-request-dto.d.ts +53 -0
  26. package/dist/models/grpc-update-status-transition-rule-request-dto.js +20 -0
  27. package/dist/models/index.d.ts +13 -4
  28. package/dist/models/index.js +13 -4
  29. package/dist/models/patch-status-transition-rule-request-dto.d.ts +4 -10
  30. package/dist/models/rest-create-draft-policy-request-dto.d.ts +70 -0
  31. package/dist/models/rest-create-draft-policy-request-dto.js +23 -0
  32. package/dist/models/rest-create-status-transition-rule-request-dto.d.ts +47 -0
  33. package/dist/models/rest-create-status-transition-rule-request-dto.js +20 -0
  34. package/dist/models/rest-patch-booking-funnel-request-dto.d.ts +60 -0
  35. package/dist/models/rest-patch-booking-funnel-request-dto.js +15 -0
  36. package/dist/models/{patch-draft-policy-request-dto.d.ts → rest-patch-draft-policy-request-dto.d.ts} +12 -12
  37. package/dist/models/rest-patch-draft-policy-request-dto.js +23 -0
  38. package/dist/models/rest-update-booking-funnel-request-dto.d.ts +60 -0
  39. package/dist/models/rest-update-booking-funnel-request-dto.js +15 -0
  40. package/dist/models/rest-update-product-field-request-dto.d.ts +171 -0
  41. package/dist/models/rest-update-product-field-request-dto.js +28 -0
  42. package/dist/models/rest-update-status-transition-rule-request-dto.d.ts +47 -0
  43. package/dist/models/rest-update-status-transition-rule-request-dto.js +20 -0
  44. package/dist/models/shared-delete-request-dto.d.ts +24 -0
  45. package/dist/models/shared-delete-request-dto.js +15 -0
  46. package/models/create-draft-policy-request-dto.ts +6 -0
  47. package/models/{patch-booking-funnel-request-dto.ts → grpc-patch-booking-funnel-request-dto.ts} +10 -10
  48. package/models/grpc-patch-draft-policy-request-dto.ts +85 -0
  49. package/models/grpc-patch-status-transition-rule-request-dto.ts +62 -0
  50. package/models/{update-booking-funnel-request-dto.ts → grpc-update-booking-funnel-request-dto.ts} +10 -10
  51. package/models/{update-status-transition-rule-request-dto.ts → grpc-update-status-transition-rule-request-dto.ts} +10 -10
  52. package/models/index.ts +13 -4
  53. package/models/patch-status-transition-rule-request-dto.ts +4 -10
  54. package/models/rest-create-draft-policy-request-dto.ts +79 -0
  55. package/models/rest-create-status-transition-rule-request-dto.ts +56 -0
  56. package/models/rest-patch-booking-funnel-request-dto.ts +66 -0
  57. package/models/{patch-draft-policy-request-dto.ts → rest-patch-draft-policy-request-dto.ts} +12 -12
  58. package/models/rest-update-booking-funnel-request-dto.ts +66 -0
  59. package/models/rest-update-product-field-request-dto.ts +182 -0
  60. package/models/rest-update-status-transition-rule-request-dto.ts +56 -0
  61. package/models/shared-delete-request-dto.ts +30 -0
  62. package/package.json +1 -1
  63. package/dist/models/update-status-transition-rule-request-dto.d.ts +0 -53
  64. /package/dist/models/{patch-booking-funnel-request-dto.js → grpc-patch-booking-funnel-request-dto.js} +0 -0
  65. /package/dist/models/{update-booking-funnel-request-dto.js → grpc-update-booking-funnel-request-dto.js} +0 -0
@@ -16,31 +16,25 @@
16
16
  */
17
17
  export interface PatchStatusTransitionRuleRequestDto {
18
18
  /**
19
- *
20
- * @type {string}
21
- * @memberof PatchStatusTransitionRuleRequestDto
22
- */
23
- 'code': string;
24
- /**
25
- *
19
+ * Entity type where the rule applies to.
26
20
  * @type {string}
27
21
  * @memberof PatchStatusTransitionRuleRequestDto
28
22
  */
29
23
  'entityType'?: PatchStatusTransitionRuleRequestDtoEntityTypeEnum;
30
24
  /**
31
- *
25
+ * Current status of the entity.
32
26
  * @type {string}
33
27
  * @memberof PatchStatusTransitionRuleRequestDto
34
28
  */
35
29
  'currentStatus'?: string;
36
30
  /**
37
- *
31
+ * Array of next statuses of the entity.
38
32
  * @type {Array<string>}
39
33
  * @memberof PatchStatusTransitionRuleRequestDto
40
34
  */
41
35
  'nextStatuses'?: Array<string>;
42
36
  /**
43
- *
37
+ * A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
44
38
  * @type {string}
45
39
  * @memberof PatchStatusTransitionRuleRequestDto
46
40
  */
@@ -0,0 +1,70 @@
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 RestCreateDraftPolicyRequestDto
18
+ */
19
+ export interface RestCreateDraftPolicyRequestDto {
20
+ /**
21
+ * Policy objects
22
+ * @type {Array<PolicyObjectDto>}
23
+ * @memberof RestCreateDraftPolicyRequestDto
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 RestCreateDraftPolicyRequestDto
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 RestCreateDraftPolicyRequestDto
36
+ */
37
+ 'to'?: string;
38
+ /**
39
+ * Policy revision status.
40
+ * @type {string}
41
+ * @memberof RestCreateDraftPolicyRequestDto
42
+ */
43
+ 'revisionStatus': RestCreateDraftPolicyRequestDtoRevisionStatusEnum;
44
+ /**
45
+ * Premium Override
46
+ * @type {PremiumOverrideRequestDto}
47
+ * @memberof RestCreateDraftPolicyRequestDto
48
+ */
49
+ 'premiumOverride'?: PremiumOverrideRequestDto;
50
+ /**
51
+ * Unique identifier of the lead that this object belongs to.
52
+ * @type {string}
53
+ * @memberof RestCreateDraftPolicyRequestDto
54
+ */
55
+ 'leadCode'?: string;
56
+ /**
57
+ * Unique identifier of the policy that this object belongs to.
58
+ * @type {string}
59
+ * @memberof RestCreateDraftPolicyRequestDto
60
+ */
61
+ 'policyNumber'?: string;
62
+ }
63
+ export declare const RestCreateDraftPolicyRequestDtoRevisionStatusEnum: {
64
+ readonly Created: "CREATED";
65
+ readonly InReview: "IN_REVIEW";
66
+ readonly Reviewed: "REVIEWED";
67
+ readonly Rejected: "REJECTED";
68
+ readonly Approved: "APPROVED";
69
+ };
70
+ export type RestCreateDraftPolicyRequestDtoRevisionStatusEnum = typeof RestCreateDraftPolicyRequestDtoRevisionStatusEnum[keyof typeof RestCreateDraftPolicyRequestDtoRevisionStatusEnum];
@@ -0,0 +1,23 @@
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.RestCreateDraftPolicyRequestDtoRevisionStatusEnum = void 0;
17
+ exports.RestCreateDraftPolicyRequestDtoRevisionStatusEnum = {
18
+ Created: 'CREATED',
19
+ InReview: 'IN_REVIEW',
20
+ Reviewed: 'REVIEWED',
21
+ Rejected: 'REJECTED',
22
+ Approved: 'APPROVED'
23
+ };
@@ -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 RestCreateStatusTransitionRuleRequestDto
16
+ */
17
+ export interface RestCreateStatusTransitionRuleRequestDto {
18
+ /**
19
+ * Entity type where the rule applies to.
20
+ * @type {string}
21
+ * @memberof RestCreateStatusTransitionRuleRequestDto
22
+ */
23
+ 'entityType': RestCreateStatusTransitionRuleRequestDtoEntityTypeEnum;
24
+ /**
25
+ * Current status of the entity.
26
+ * @type {string}
27
+ * @memberof RestCreateStatusTransitionRuleRequestDto
28
+ */
29
+ 'currentStatus': string;
30
+ /**
31
+ * Array of next statuses of the entity.
32
+ * @type {Array<string>}
33
+ * @memberof RestCreateStatusTransitionRuleRequestDto
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 RestCreateStatusTransitionRuleRequestDto
40
+ */
41
+ 'productSlug': string;
42
+ }
43
+ export declare const RestCreateStatusTransitionRuleRequestDtoEntityTypeEnum: {
44
+ readonly Lead: "lead";
45
+ readonly Policy: "policy";
46
+ };
47
+ export type RestCreateStatusTransitionRuleRequestDtoEntityTypeEnum = typeof RestCreateStatusTransitionRuleRequestDtoEntityTypeEnum[keyof typeof RestCreateStatusTransitionRuleRequestDtoEntityTypeEnum];
@@ -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.RestCreateStatusTransitionRuleRequestDtoEntityTypeEnum = void 0;
17
+ exports.RestCreateStatusTransitionRuleRequestDtoEntityTypeEnum = {
18
+ Lead: 'lead',
19
+ Policy: 'policy'
20
+ };
@@ -0,0 +1,60 @@
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 RestPatchBookingFunnelRequestDto
16
+ */
17
+ export interface RestPatchBookingFunnelRequestDto {
18
+ /**
19
+ * Parent Booking funnel ID
20
+ * @type {number}
21
+ * @memberof RestPatchBookingFunnelRequestDto
22
+ */
23
+ 'parentId'?: number;
24
+ /**
25
+ * Booking funnel name
26
+ * @type {string}
27
+ * @memberof RestPatchBookingFunnelRequestDto
28
+ */
29
+ 'name'?: string;
30
+ /**
31
+ * Code snippet to load the booking funnel.
32
+ * @type {string}
33
+ * @memberof RestPatchBookingFunnelRequestDto
34
+ */
35
+ 'jsCode'?: string;
36
+ /**
37
+ * Steps configuration for the booking funnel.
38
+ * @type {object}
39
+ * @memberof RestPatchBookingFunnelRequestDto
40
+ */
41
+ 'stepsConfig'?: object;
42
+ /**
43
+ * Custom css for the booking funnel.
44
+ * @type {string}
45
+ * @memberof RestPatchBookingFunnelRequestDto
46
+ */
47
+ 'css'?: string;
48
+ /**
49
+ * URL to fech the logo for the booking funnel.
50
+ * @type {string}
51
+ * @memberof RestPatchBookingFunnelRequestDto
52
+ */
53
+ 'logoPath'?: string;
54
+ /**
55
+ *
56
+ * @type {boolean}
57
+ * @memberof RestPatchBookingFunnelRequestDto
58
+ */
59
+ 'shouldShowOnApplicationsPage'?: boolean;
60
+ }
@@ -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 });
@@ -14,57 +14,57 @@ import { PremiumOverrideRequestDto } from './premium-override-request-dto';
14
14
  /**
15
15
  *
16
16
  * @export
17
- * @interface PatchDraftPolicyRequestDto
17
+ * @interface RestPatchDraftPolicyRequestDto
18
18
  */
19
- export interface PatchDraftPolicyRequestDto {
19
+ export interface RestPatchDraftPolicyRequestDto {
20
20
  /**
21
21
  * Policy objects
22
22
  * @type {Array<PolicyObjectDto>}
23
- * @memberof PatchDraftPolicyRequestDto
23
+ * @memberof RestPatchDraftPolicyRequestDto
24
24
  */
25
25
  'policyObjects': Array<PolicyObjectDto>;
26
26
  /**
27
27
  * Date from which the policy should be updated. This will create a new timeline starting from this date.
28
28
  * @type {string}
29
- * @memberof PatchDraftPolicyRequestDto
29
+ * @memberof RestPatchDraftPolicyRequestDto
30
30
  */
31
31
  'from'?: string;
32
32
  /**
33
33
  * Date to which the policy should be updated. This will create a new timeline finishing at this date.
34
34
  * @type {string}
35
- * @memberof PatchDraftPolicyRequestDto
35
+ * @memberof RestPatchDraftPolicyRequestDto
36
36
  */
37
37
  'to'?: string;
38
38
  /**
39
39
  * Policy revision status.
40
40
  * @type {string}
41
- * @memberof PatchDraftPolicyRequestDto
41
+ * @memberof RestPatchDraftPolicyRequestDto
42
42
  */
43
- 'revisionStatus': PatchDraftPolicyRequestDtoRevisionStatusEnum;
43
+ 'revisionStatus': RestPatchDraftPolicyRequestDtoRevisionStatusEnum;
44
44
  /**
45
45
  * Premium Override
46
46
  * @type {PremiumOverrideRequestDto}
47
- * @memberof PatchDraftPolicyRequestDto
47
+ * @memberof RestPatchDraftPolicyRequestDto
48
48
  */
49
49
  'premiumOverride'?: PremiumOverrideRequestDto;
50
50
  /**
51
51
  * Unique identifier of the lead that this object belongs to.
52
52
  * @type {string}
53
- * @memberof PatchDraftPolicyRequestDto
53
+ * @memberof RestPatchDraftPolicyRequestDto
54
54
  */
55
55
  'leadCode'?: string;
56
56
  /**
57
57
  * Unique identifier of the policy that this object belongs to.
58
58
  * @type {string}
59
- * @memberof PatchDraftPolicyRequestDto
59
+ * @memberof RestPatchDraftPolicyRequestDto
60
60
  */
61
61
  'policyNumber'?: string;
62
62
  }
63
- export declare const PatchDraftPolicyRequestDtoRevisionStatusEnum: {
63
+ export declare const RestPatchDraftPolicyRequestDtoRevisionStatusEnum: {
64
64
  readonly Created: "CREATED";
65
65
  readonly InReview: "IN_REVIEW";
66
66
  readonly Reviewed: "REVIEWED";
67
67
  readonly Rejected: "REJECTED";
68
68
  readonly Approved: "APPROVED";
69
69
  };
70
- export type PatchDraftPolicyRequestDtoRevisionStatusEnum = typeof PatchDraftPolicyRequestDtoRevisionStatusEnum[keyof typeof PatchDraftPolicyRequestDtoRevisionStatusEnum];
70
+ export type RestPatchDraftPolicyRequestDtoRevisionStatusEnum = typeof RestPatchDraftPolicyRequestDtoRevisionStatusEnum[keyof typeof RestPatchDraftPolicyRequestDtoRevisionStatusEnum];
@@ -0,0 +1,23 @@
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.RestPatchDraftPolicyRequestDtoRevisionStatusEnum = void 0;
17
+ exports.RestPatchDraftPolicyRequestDtoRevisionStatusEnum = {
18
+ Created: 'CREATED',
19
+ InReview: 'IN_REVIEW',
20
+ Reviewed: 'REVIEWED',
21
+ Rejected: 'REJECTED',
22
+ Approved: 'APPROVED'
23
+ };
@@ -0,0 +1,60 @@
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 RestUpdateBookingFunnelRequestDto
16
+ */
17
+ export interface RestUpdateBookingFunnelRequestDto {
18
+ /**
19
+ * Parent Booking funnel ID
20
+ * @type {number}
21
+ * @memberof RestUpdateBookingFunnelRequestDto
22
+ */
23
+ 'parentId'?: number;
24
+ /**
25
+ * Booking funnel name
26
+ * @type {string}
27
+ * @memberof RestUpdateBookingFunnelRequestDto
28
+ */
29
+ 'name': string;
30
+ /**
31
+ * Code snippet to load the booking funnel.
32
+ * @type {string}
33
+ * @memberof RestUpdateBookingFunnelRequestDto
34
+ */
35
+ 'jsCode': string;
36
+ /**
37
+ * Steps configuration for the booking funnel.
38
+ * @type {object}
39
+ * @memberof RestUpdateBookingFunnelRequestDto
40
+ */
41
+ 'stepsConfig'?: object;
42
+ /**
43
+ * Custom css for the booking funnel.
44
+ * @type {string}
45
+ * @memberof RestUpdateBookingFunnelRequestDto
46
+ */
47
+ 'css'?: string;
48
+ /**
49
+ * URL to fech the logo for the booking funnel.
50
+ * @type {string}
51
+ * @memberof RestUpdateBookingFunnelRequestDto
52
+ */
53
+ 'logoPath'?: string;
54
+ /**
55
+ *
56
+ * @type {boolean}
57
+ * @memberof RestUpdateBookingFunnelRequestDto
58
+ */
59
+ 'shouldShowOnApplicationsPage'?: boolean;
60
+ }
@@ -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,171 @@
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 RestUpdateProductFieldRequestDto
16
+ */
17
+ export interface RestUpdateProductFieldRequestDto {
18
+ /**
19
+ * Product field name
20
+ * @type {string}
21
+ * @memberof RestUpdateProductFieldRequestDto
22
+ */
23
+ 'name': string;
24
+ /**
25
+ * Product field label
26
+ * @type {string}
27
+ * @memberof RestUpdateProductFieldRequestDto
28
+ */
29
+ 'label': string;
30
+ /**
31
+ * Product field type entity
32
+ * @type {string}
33
+ * @memberof RestUpdateProductFieldRequestDto
34
+ */
35
+ 'typeEntity': RestUpdateProductFieldRequestDtoTypeEntityEnum;
36
+ /**
37
+ * Product field type id
38
+ * @type {number}
39
+ * @memberof RestUpdateProductFieldRequestDto
40
+ */
41
+ 'typeId': number;
42
+ /**
43
+ * Insured object id
44
+ * @type {number}
45
+ * @memberof RestUpdateProductFieldRequestDto
46
+ */
47
+ 'insuredObjectId': number;
48
+ /**
49
+ * Product field group
50
+ * @type {string}
51
+ * @memberof RestUpdateProductFieldRequestDto
52
+ */
53
+ 'group': string;
54
+ /**
55
+ * Is field required?
56
+ * @type {boolean}
57
+ * @memberof RestUpdateProductFieldRequestDto
58
+ */
59
+ 'isRequired': boolean;
60
+ /**
61
+ * Is field hidden on the booking funnel?
62
+ * @type {boolean}
63
+ * @memberof RestUpdateProductFieldRequestDto
64
+ */
65
+ 'isHidden': boolean;
66
+ /**
67
+ * Should the field value be unique across policies?
68
+ * @type {boolean}
69
+ * @memberof RestUpdateProductFieldRequestDto
70
+ */
71
+ 'isUnique': boolean;
72
+ /**
73
+ * Should the field be hidden on customer portal?
74
+ * @type {boolean}
75
+ * @memberof RestUpdateProductFieldRequestDto
76
+ */
77
+ 'isHiddenCustomerPortal': boolean;
78
+ /**
79
+ * Should the field be editable on customer portal?
80
+ * @type {boolean}
81
+ * @memberof RestUpdateProductFieldRequestDto
82
+ */
83
+ 'isEditableCustomerPortal': boolean;
84
+ /**
85
+ * Default value of the field. For the field type date-time, it should be { \"templated\" : \"{{today}}\" }
86
+ * @type {object}
87
+ * @memberof RestUpdateProductFieldRequestDto
88
+ */
89
+ 'defaultValue': object;
90
+ /**
91
+ * Default value of the field. For the field type date-time, it should be { \"templated\" : \"{{today}}\" }
92
+ * @type {object}
93
+ * @memberof RestUpdateProductFieldRequestDto
94
+ */
95
+ 'minValue'?: object;
96
+ /**
97
+ * Booking funnel description
98
+ * @type {string}
99
+ * @memberof RestUpdateProductFieldRequestDto
100
+ */
101
+ 'bfDescription'?: string;
102
+ /**
103
+ * Booking funnel tooltip
104
+ * @type {string}
105
+ * @memberof RestUpdateProductFieldRequestDto
106
+ */
107
+ 'bfTooltip'?: string;
108
+ /**
109
+ * Booking funnel label
110
+ * @type {string}
111
+ * @memberof RestUpdateProductFieldRequestDto
112
+ */
113
+ 'bfLabel'?: string;
114
+ /**
115
+ * Expression to calculate the field.
116
+ * @type {string}
117
+ * @memberof RestUpdateProductFieldRequestDto
118
+ */
119
+ 'expression'?: string;
120
+ /**
121
+ * Default value of the field. For the field type date-time, it should be { \"templated\" : \"{{today}}\" }
122
+ * @type {object}
123
+ * @memberof RestUpdateProductFieldRequestDto
124
+ */
125
+ 'maxValue'?: object;
126
+ /**
127
+ * Order index for the product field item, used to define the order of the items in the insured object. The order will also impact the order of the items in the policy itself.
128
+ * @type {number}
129
+ * @memberof RestUpdateProductFieldRequestDto
130
+ */
131
+ 'order'?: number;
132
+ /**
133
+ * order index for the product field for display on the booking funnel, not defined for hidden fields.
134
+ * @type {number}
135
+ * @memberof RestUpdateProductFieldRequestDto
136
+ */
137
+ 'legacyBfOrder'?: number;
138
+ /**
139
+ * Product field metadata object. The field may contain special data specific to the product.
140
+ * @type {object}
141
+ * @memberof RestUpdateProductFieldRequestDto
142
+ */
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 RestUpdateProductFieldRequestDto
148
+ */
149
+ 'usedInPremiumCalculationOverride'?: RestUpdateProductFieldRequestDtoUsedInPremiumCalculationOverrideEnum;
150
+ /**
151
+ * Overrides automatic dependency check result (if this field is used in the product field calculation or not).
152
+ * @type {string}
153
+ * @memberof RestUpdateProductFieldRequestDto
154
+ */
155
+ 'usedInFieldCalculationOverride'?: RestUpdateProductFieldRequestDtoUsedInFieldCalculationOverrideEnum;
156
+ }
157
+ export declare const RestUpdateProductFieldRequestDtoTypeEntityEnum: {
158
+ readonly SystemProductFieldType: "system_product_field_type";
159
+ readonly ProductFactorType: "product_factor_type";
160
+ };
161
+ export type RestUpdateProductFieldRequestDtoTypeEntityEnum = typeof RestUpdateProductFieldRequestDtoTypeEntityEnum[keyof typeof RestUpdateProductFieldRequestDtoTypeEntityEnum];
162
+ export declare const RestUpdateProductFieldRequestDtoUsedInPremiumCalculationOverrideEnum: {
163
+ readonly Used: "used";
164
+ readonly NotUsed: "not_used";
165
+ };
166
+ export type RestUpdateProductFieldRequestDtoUsedInPremiumCalculationOverrideEnum = typeof RestUpdateProductFieldRequestDtoUsedInPremiumCalculationOverrideEnum[keyof typeof RestUpdateProductFieldRequestDtoUsedInPremiumCalculationOverrideEnum];
167
+ export declare const RestUpdateProductFieldRequestDtoUsedInFieldCalculationOverrideEnum: {
168
+ readonly Used: "used";
169
+ readonly NotUsed: "not_used";
170
+ };
171
+ export type RestUpdateProductFieldRequestDtoUsedInFieldCalculationOverrideEnum = typeof RestUpdateProductFieldRequestDtoUsedInFieldCalculationOverrideEnum[keyof typeof RestUpdateProductFieldRequestDtoUsedInFieldCalculationOverrideEnum];
@@ -0,0 +1,28 @@
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.RestUpdateProductFieldRequestDtoUsedInFieldCalculationOverrideEnum = exports.RestUpdateProductFieldRequestDtoUsedInPremiumCalculationOverrideEnum = exports.RestUpdateProductFieldRequestDtoTypeEntityEnum = void 0;
17
+ exports.RestUpdateProductFieldRequestDtoTypeEntityEnum = {
18
+ SystemProductFieldType: 'system_product_field_type',
19
+ ProductFactorType: 'product_factor_type'
20
+ };
21
+ exports.RestUpdateProductFieldRequestDtoUsedInPremiumCalculationOverrideEnum = {
22
+ Used: 'used',
23
+ NotUsed: 'not_used'
24
+ };
25
+ exports.RestUpdateProductFieldRequestDtoUsedInFieldCalculationOverrideEnum = {
26
+ Used: 'used',
27
+ NotUsed: 'not_used'
28
+ };