@emilgroup/insurance-sdk-node 1.36.1 → 1.37.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 (59) hide show
  1. package/.openapi-generator/FILES +14 -1
  2. package/README.md +2 -2
  3. package/api/lead-versions-api.ts +365 -0
  4. package/api/status-transition-rules-api.ts +803 -0
  5. package/api.ts +4 -0
  6. package/dist/api/lead-versions-api.d.ts +215 -0
  7. package/dist/api/lead-versions-api.js +361 -0
  8. package/dist/api/status-transition-rules-api.d.ts +451 -0
  9. package/dist/api/status-transition-rules-api.js +739 -0
  10. package/dist/api.d.ts +2 -0
  11. package/dist/api.js +2 -0
  12. package/dist/models/create-status-transition-rule-request-dto.d.ts +47 -0
  13. package/dist/models/create-status-transition-rule-request-dto.js +20 -0
  14. package/dist/models/create-status-transition-rule-response-class.d.ts +25 -0
  15. package/dist/models/get-lead-version-request-dto.d.ts +30 -0
  16. package/{models/delete-request-dto.ts → dist/models/get-lead-version-request-dto.js} +2 -17
  17. package/dist/models/get-lead-version-response-class.d.ts +25 -0
  18. package/dist/models/{delete-request-dto.d.ts → get-lead-version-response-class.js} +4 -13
  19. package/dist/models/get-status-transition-rule-response-class.d.ts +25 -0
  20. package/dist/models/get-status-transition-rule-response-class.js +15 -0
  21. package/dist/models/index.d.ts +12 -1
  22. package/dist/models/index.js +12 -1
  23. package/dist/models/lead-class.d.ts +6 -0
  24. package/dist/models/list-lead-versions-response-class.d.ts +31 -0
  25. package/dist/models/list-lead-versions-response-class.js +15 -0
  26. package/dist/models/list-status-transition-rules-response-class.d.ts +31 -0
  27. package/dist/models/list-status-transition-rules-response-class.js +15 -0
  28. package/dist/models/patch-policy-request-dto.d.ts +6 -0
  29. package/dist/models/patch-status-transition-rule-request-dto.d.ts +53 -0
  30. package/dist/models/patch-status-transition-rule-request-dto.js +20 -0
  31. package/dist/models/patch-status-transition-rule-response-class.d.ts +25 -0
  32. package/dist/models/patch-status-transition-rule-response-class.js +15 -0
  33. package/dist/models/product-field-class.d.ts +1 -1
  34. package/dist/models/shared-product-field-class.d.ts +1 -1
  35. package/dist/models/status-transition-rule-class.d.ts +66 -0
  36. package/dist/models/status-transition-rule-class.js +15 -0
  37. package/dist/models/update-status-transition-rule-request-dto.d.ts +53 -0
  38. package/dist/models/update-status-transition-rule-request-dto.js +20 -0
  39. package/dist/models/update-status-transition-rule-response-class.d.ts +25 -0
  40. package/dist/models/update-status-transition-rule-response-class.js +15 -0
  41. package/models/create-status-transition-rule-request-dto.ts +56 -0
  42. package/models/create-status-transition-rule-response-class.ts +31 -0
  43. package/models/get-lead-version-request-dto.ts +36 -0
  44. package/models/get-lead-version-response-class.ts +31 -0
  45. package/models/get-status-transition-rule-response-class.ts +31 -0
  46. package/models/index.ts +12 -1
  47. package/models/lead-class.ts +6 -0
  48. package/models/list-lead-versions-response-class.ts +37 -0
  49. package/models/list-status-transition-rules-response-class.ts +37 -0
  50. package/models/patch-policy-request-dto.ts +6 -0
  51. package/models/patch-status-transition-rule-request-dto.ts +62 -0
  52. package/models/patch-status-transition-rule-response-class.ts +31 -0
  53. package/models/product-field-class.ts +1 -1
  54. package/models/shared-product-field-class.ts +1 -1
  55. package/models/status-transition-rule-class.ts +72 -0
  56. package/models/update-status-transition-rule-request-dto.ts +62 -0
  57. package/models/update-status-transition-rule-response-class.ts +31 -0
  58. package/package.json +2 -2
  59. /package/dist/models/{delete-request-dto.js → create-status-transition-rule-response-class.js} +0 -0
@@ -0,0 +1,66 @@
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 StatusTransitionRuleClass
16
+ */
17
+ export interface StatusTransitionRuleClass {
18
+ /**
19
+ * Internal unique identifier for the object. You should not have to use this, use code instead.
20
+ * @type {number}
21
+ * @memberof StatusTransitionRuleClass
22
+ */
23
+ 'id': number;
24
+ /**
25
+ * Unique identifier for the object.
26
+ * @type {string}
27
+ * @memberof StatusTransitionRuleClass
28
+ */
29
+ 'code': string;
30
+ /**
31
+ * Entity type where the rule applies to.
32
+ * @type {string}
33
+ * @memberof StatusTransitionRuleClass
34
+ */
35
+ 'entityType': string;
36
+ /**
37
+ * Current status of the entity.
38
+ * @type {string}
39
+ * @memberof StatusTransitionRuleClass
40
+ */
41
+ 'currentStatus': string;
42
+ /**
43
+ * Array of next statuses of the entity.
44
+ * @type {Array<string>}
45
+ * @memberof StatusTransitionRuleClass
46
+ */
47
+ 'nextStatuses': Array<string>;
48
+ /**
49
+ * A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
50
+ * @type {string}
51
+ * @memberof StatusTransitionRuleClass
52
+ */
53
+ 'productSlug': string;
54
+ /**
55
+ * Time at which the object was created.
56
+ * @type {string}
57
+ * @memberof StatusTransitionRuleClass
58
+ */
59
+ 'createdAt': string;
60
+ /**
61
+ * Time at which the object was updated.
62
+ * @type {string}
63
+ * @memberof StatusTransitionRuleClass
64
+ */
65
+ 'updatedAt': string;
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 UpdateStatusTransitionRuleRequestDto
16
+ */
17
+ export interface UpdateStatusTransitionRuleRequestDto {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof UpdateStatusTransitionRuleRequestDto
22
+ */
23
+ 'code': string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof UpdateStatusTransitionRuleRequestDto
28
+ */
29
+ 'entityType': UpdateStatusTransitionRuleRequestDtoEntityTypeEnum;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof UpdateStatusTransitionRuleRequestDto
34
+ */
35
+ 'currentStatus': string;
36
+ /**
37
+ *
38
+ * @type {Array<string>}
39
+ * @memberof UpdateStatusTransitionRuleRequestDto
40
+ */
41
+ 'nextStatuses': Array<string>;
42
+ /**
43
+ *
44
+ * @type {string}
45
+ * @memberof UpdateStatusTransitionRuleRequestDto
46
+ */
47
+ 'productSlug': string;
48
+ }
49
+ export declare const UpdateStatusTransitionRuleRequestDtoEntityTypeEnum: {
50
+ readonly Lead: "lead";
51
+ readonly Policy: "policy";
52
+ };
53
+ export type UpdateStatusTransitionRuleRequestDtoEntityTypeEnum = typeof UpdateStatusTransitionRuleRequestDtoEntityTypeEnum[keyof typeof UpdateStatusTransitionRuleRequestDtoEntityTypeEnum];
@@ -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.UpdateStatusTransitionRuleRequestDtoEntityTypeEnum = void 0;
17
+ exports.UpdateStatusTransitionRuleRequestDtoEntityTypeEnum = {
18
+ Lead: 'lead',
19
+ Policy: 'policy'
20
+ };
@@ -0,0 +1,25 @@
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 { StatusTransitionRuleClass } from './status-transition-rule-class';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface UpdateStatusTransitionRuleResponseClass
17
+ */
18
+ export interface UpdateStatusTransitionRuleResponseClass {
19
+ /**
20
+ * Status Transition Rule
21
+ * @type {StatusTransitionRuleClass}
22
+ * @memberof UpdateStatusTransitionRuleResponseClass
23
+ */
24
+ 'statusTransitionRule': StatusTransitionRuleClass;
25
+ }
@@ -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,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 CreateStatusTransitionRuleRequestDto
21
+ */
22
+ export interface CreateStatusTransitionRuleRequestDto {
23
+ /**
24
+ *
25
+ * @type {string}
26
+ * @memberof CreateStatusTransitionRuleRequestDto
27
+ */
28
+ 'entityType': CreateStatusTransitionRuleRequestDtoEntityTypeEnum;
29
+ /**
30
+ *
31
+ * @type {string}
32
+ * @memberof CreateStatusTransitionRuleRequestDto
33
+ */
34
+ 'currentStatus': string;
35
+ /**
36
+ *
37
+ * @type {Array<string>}
38
+ * @memberof CreateStatusTransitionRuleRequestDto
39
+ */
40
+ 'nextStatuses': Array<string>;
41
+ /**
42
+ *
43
+ * @type {string}
44
+ * @memberof CreateStatusTransitionRuleRequestDto
45
+ */
46
+ 'productSlug': string;
47
+ }
48
+
49
+ export const CreateStatusTransitionRuleRequestDtoEntityTypeEnum = {
50
+ Lead: 'lead',
51
+ Policy: 'policy'
52
+ } as const;
53
+
54
+ export type CreateStatusTransitionRuleRequestDtoEntityTypeEnum = typeof CreateStatusTransitionRuleRequestDtoEntityTypeEnum[keyof typeof CreateStatusTransitionRuleRequestDtoEntityTypeEnum];
55
+
56
+
@@ -0,0 +1,31 @@
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 { StatusTransitionRuleClass } from './status-transition-rule-class';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface CreateStatusTransitionRuleResponseClass
22
+ */
23
+ export interface CreateStatusTransitionRuleResponseClass {
24
+ /**
25
+ * Status Transition Rule
26
+ * @type {Array<StatusTransitionRuleClass>}
27
+ * @memberof CreateStatusTransitionRuleResponseClass
28
+ */
29
+ 'statusTransitionRule': Array<StatusTransitionRuleClass>;
30
+ }
31
+
@@ -0,0 +1,36 @@
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 GetLeadVersionRequestDto
21
+ */
22
+ export interface GetLeadVersionRequestDto {
23
+ /**
24
+ *
25
+ * @type {string}
26
+ * @memberof GetLeadVersionRequestDto
27
+ */
28
+ 'code': string;
29
+ /**
30
+ *
31
+ * @type {number}
32
+ * @memberof GetLeadVersionRequestDto
33
+ */
34
+ 'version': number;
35
+ }
36
+
@@ -0,0 +1,31 @@
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 { LeadClass } from './lead-class';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface GetLeadVersionResponseClass
22
+ */
23
+ export interface GetLeadVersionResponseClass {
24
+ /**
25
+ * The list of leads.
26
+ * @type {Array<LeadClass>}
27
+ * @memberof GetLeadVersionResponseClass
28
+ */
29
+ 'leadVersion': Array<LeadClass>;
30
+ }
31
+
@@ -0,0 +1,31 @@
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 { StatusTransitionRuleClass } from './status-transition-rule-class';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface GetStatusTransitionRuleResponseClass
22
+ */
23
+ export interface GetStatusTransitionRuleResponseClass {
24
+ /**
25
+ * Status Transition Rule
26
+ * @type {StatusTransitionRuleClass}
27
+ * @memberof GetStatusTransitionRuleResponseClass
28
+ */
29
+ 'statusTransitionRule': StatusTransitionRuleClass;
30
+ }
31
+
package/models/index.ts CHANGED
@@ -28,13 +28,16 @@ export * from './create-product-field-request-dto';
28
28
  export * from './create-product-field-response-class';
29
29
  export * from './create-product-request-dto';
30
30
  export * from './create-product-response-class';
31
+ export * from './create-status-transition-rule-request-dto';
32
+ export * from './create-status-transition-rule-response-class';
31
33
  export * from './csv-product-factor-dto';
32
- export * from './delete-request-dto';
33
34
  export * from './delete-response-class';
34
35
  export * from './empty-response-class';
35
36
  export * from './get-insured-object-response-class';
36
37
  export * from './get-lead-response-class';
37
38
  export * from './get-lead-status-response-class';
39
+ export * from './get-lead-version-request-dto';
40
+ export * from './get-lead-version-response-class';
38
41
  export * from './get-named-range-response-class';
39
42
  export * from './get-policy-data-by-date-request-dto';
40
43
  export * from './get-policy-request-dto';
@@ -52,6 +55,7 @@ export * from './get-product-request-dto';
52
55
  export * from './get-product-response-class';
53
56
  export * from './get-product-version-request-dto';
54
57
  export * from './get-product-version-response-class';
58
+ export * from './get-status-transition-rule-response-class';
55
59
  export * from './grouped-product-factor-class';
56
60
  export * from './grouped-product-factor-value-class';
57
61
  export * from './grouped-product-factors-response-class';
@@ -69,6 +73,7 @@ export * from './lead-status-class';
69
73
  export * from './list-insured-object-types-response-class';
70
74
  export * from './list-insured-objects-response-class';
71
75
  export * from './list-lead-statuses-response-class';
76
+ export * from './list-lead-versions-response-class';
72
77
  export * from './list-leads-response-class';
73
78
  export * from './list-named-ranges-response-class';
74
79
  export * from './list-policies-response-class';
@@ -78,11 +83,14 @@ export * from './list-product-field-types-response-class';
78
83
  export * from './list-product-fields-response-class';
79
84
  export * from './list-products-response-class';
80
85
  export * from './list-request-dto';
86
+ export * from './list-status-transition-rules-response-class';
81
87
  export * from './named-range-class';
82
88
  export * from './patch-lead-request-dto';
83
89
  export * from './patch-lead-response-class';
84
90
  export * from './patch-policy-request-dto';
85
91
  export * from './patch-policy-response-class';
92
+ export * from './patch-status-transition-rule-request-dto';
93
+ export * from './patch-status-transition-rule-response-class';
86
94
  export * from './policy-class';
87
95
  export * from './policy-object-class';
88
96
  export * from './policy-object-dto';
@@ -108,6 +116,7 @@ export * from './shared-lead-policy-object-dto';
108
116
  export * from './shared-product-field-class';
109
117
  export * from './shared-update-named-range-request-dto';
110
118
  export * from './shared-update-premium-formula-request-dto';
119
+ export * from './status-transition-rule-class';
111
120
  export * from './store-product-factors-request-dto';
112
121
  export * from './store-product-factors-response-class';
113
122
  export * from './suspend-policy-request-dto';
@@ -131,6 +140,8 @@ export * from './update-product-request-dto';
131
140
  export * from './update-product-response-class';
132
141
  export * from './update-product-version-request-dto';
133
142
  export * from './update-product-version-response-class';
143
+ export * from './update-status-transition-rule-request-dto';
144
+ export * from './update-status-transition-rule-response-class';
134
145
  export * from './uploaded-document-dto';
135
146
  export * from './validate-product-factors-request-dto';
136
147
  export * from './withdraw-policy-response-class';
@@ -135,5 +135,11 @@ export interface LeadClass {
135
135
  * @memberof LeadClass
136
136
  */
137
137
  'leadNumber': string;
138
+ /**
139
+ * Lead version.
140
+ * @type {number}
141
+ * @memberof LeadClass
142
+ */
143
+ 'version'?: number;
138
144
  }
139
145
 
@@ -0,0 +1,37 @@
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 { LeadClass } from './lead-class';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface ListLeadVersionsResponseClass
22
+ */
23
+ export interface ListLeadVersionsResponseClass {
24
+ /**
25
+ * Lead versions
26
+ * @type {Array<LeadClass>}
27
+ * @memberof ListLeadVersionsResponseClass
28
+ */
29
+ 'items': Array<LeadClass>;
30
+ /**
31
+ * Next page token.
32
+ * @type {string}
33
+ * @memberof ListLeadVersionsResponseClass
34
+ */
35
+ 'nextPageToken': string;
36
+ }
37
+
@@ -0,0 +1,37 @@
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 { StatusTransitionRuleClass } from './status-transition-rule-class';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface ListStatusTransitionRulesResponseClass
22
+ */
23
+ export interface ListStatusTransitionRulesResponseClass {
24
+ /**
25
+ * Status Transition Rules
26
+ * @type {Array<StatusTransitionRuleClass>}
27
+ * @memberof ListStatusTransitionRulesResponseClass
28
+ */
29
+ 'items': Array<StatusTransitionRuleClass>;
30
+ /**
31
+ * Next page token.
32
+ * @type {string}
33
+ * @memberof ListStatusTransitionRulesResponseClass
34
+ */
35
+ 'nextPageToken': string;
36
+ }
37
+
@@ -52,5 +52,11 @@ export interface PatchPolicyRequestDto {
52
52
  * @memberof PatchPolicyRequestDto
53
53
  */
54
54
  'policyNumber'?: string;
55
+ /**
56
+ *
57
+ * @type {string}
58
+ * @memberof PatchPolicyRequestDto
59
+ */
60
+ 'reason'?: string;
55
61
  }
56
62
 
@@ -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 PatchStatusTransitionRuleRequestDto
21
+ */
22
+ export interface PatchStatusTransitionRuleRequestDto {
23
+ /**
24
+ *
25
+ * @type {string}
26
+ * @memberof PatchStatusTransitionRuleRequestDto
27
+ */
28
+ 'code': string;
29
+ /**
30
+ *
31
+ * @type {string}
32
+ * @memberof PatchStatusTransitionRuleRequestDto
33
+ */
34
+ 'entityType'?: PatchStatusTransitionRuleRequestDtoEntityTypeEnum;
35
+ /**
36
+ *
37
+ * @type {string}
38
+ * @memberof PatchStatusTransitionRuleRequestDto
39
+ */
40
+ 'currentStatus'?: string;
41
+ /**
42
+ *
43
+ * @type {Array<string>}
44
+ * @memberof PatchStatusTransitionRuleRequestDto
45
+ */
46
+ 'nextStatuses'?: Array<string>;
47
+ /**
48
+ *
49
+ * @type {string}
50
+ * @memberof PatchStatusTransitionRuleRequestDto
51
+ */
52
+ 'productSlug'?: string;
53
+ }
54
+
55
+ export const PatchStatusTransitionRuleRequestDtoEntityTypeEnum = {
56
+ Lead: 'lead',
57
+ Policy: 'policy'
58
+ } as const;
59
+
60
+ export type PatchStatusTransitionRuleRequestDtoEntityTypeEnum = typeof PatchStatusTransitionRuleRequestDtoEntityTypeEnum[keyof typeof PatchStatusTransitionRuleRequestDtoEntityTypeEnum];
61
+
62
+
@@ -0,0 +1,31 @@
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 { StatusTransitionRuleClass } from './status-transition-rule-class';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface PatchStatusTransitionRuleResponseClass
22
+ */
23
+ export interface PatchStatusTransitionRuleResponseClass {
24
+ /**
25
+ * Status Transition Rule
26
+ * @type {StatusTransitionRuleClass}
27
+ * @memberof PatchStatusTransitionRuleResponseClass
28
+ */
29
+ 'statusTransitionRule': StatusTransitionRuleClass;
30
+ }
31
+
@@ -109,7 +109,7 @@ export interface ProductFieldClass {
109
109
  * @type {string}
110
110
  * @memberof ProductFieldClass
111
111
  */
112
- 'expression': string | null;
112
+ 'expression'?: string | null;
113
113
  /**
114
114
  * Minimum value of the field. For the field type date-time, it should be { \"templated\" : \"{{today}}\" }
115
115
  * @type {object}
@@ -109,7 +109,7 @@ export interface SharedProductFieldClass {
109
109
  * @type {string}
110
110
  * @memberof SharedProductFieldClass
111
111
  */
112
- 'expression': string | null;
112
+ 'expression'?: string | null;
113
113
  /**
114
114
  * Minimum value of the field. For the field type date-time, it should be { \"templated\" : \"{{today}}\" }
115
115
  * @type {object}