@emilgroup/partner-portal-sdk-node 1.0.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 (133) hide show
  1. package/.openapi-generator/FILES +49 -0
  2. package/.openapi-generator/VERSION +1 -0
  3. package/.openapi-generator-ignore +23 -0
  4. package/README.md +84 -0
  5. package/api/health-check-api.ts +128 -0
  6. package/api/intermediary-api.ts +1226 -0
  7. package/api.ts +33 -0
  8. package/base.ts +286 -0
  9. package/common.ts +199 -0
  10. package/configuration.ts +109 -0
  11. package/dist/api/health-check-api.d.ts +70 -0
  12. package/dist/api/health-check-api.js +204 -0
  13. package/dist/api/intermediary-api.d.ts +704 -0
  14. package/dist/api/intermediary-api.js +1019 -0
  15. package/dist/api.d.ts +13 -0
  16. package/dist/api.js +31 -0
  17. package/dist/base.d.ts +79 -0
  18. package/dist/base.js +395 -0
  19. package/dist/common.d.ts +92 -0
  20. package/dist/common.js +277 -0
  21. package/dist/configuration.d.ts +90 -0
  22. package/dist/configuration.js +44 -0
  23. package/dist/index.d.ts +15 -0
  24. package/dist/index.js +36 -0
  25. package/dist/models/account-class.d.ts +176 -0
  26. package/dist/models/account-class.js +22 -0
  27. package/dist/models/account-policy-class.d.ts +147 -0
  28. package/dist/models/account-policy-class.js +15 -0
  29. package/dist/models/create-payment-method-request-dto.d.ts +31 -0
  30. package/dist/models/create-payment-method-request-dto.js +15 -0
  31. package/dist/models/create-policy-request-dto.d.ts +55 -0
  32. package/dist/models/create-policy-request-dto.js +15 -0
  33. package/dist/models/index.d.ts +34 -0
  34. package/dist/models/index.js +50 -0
  35. package/dist/models/inline-response200.d.ts +54 -0
  36. package/dist/models/inline-response200.js +15 -0
  37. package/dist/models/inline-response503.d.ts +54 -0
  38. package/dist/models/inline-response503.js +15 -0
  39. package/dist/models/insured-object-type-class.d.ts +60 -0
  40. package/dist/models/insured-object-type-class.js +15 -0
  41. package/dist/models/invoice-class.d.ts +150 -0
  42. package/dist/models/invoice-class.js +30 -0
  43. package/dist/models/invoice-item-class.d.ts +117 -0
  44. package/dist/models/invoice-item-class.js +24 -0
  45. package/dist/models/invoice-status-class.d.ts +47 -0
  46. package/dist/models/invoice-status-class.js +20 -0
  47. package/dist/models/lead-bank-account-class.d.ts +30 -0
  48. package/dist/models/lead-bank-account-class.js +15 -0
  49. package/dist/models/lead-class.d.ts +157 -0
  50. package/dist/models/lead-class.js +15 -0
  51. package/dist/models/list-accounts-response-class.d.ts +31 -0
  52. package/dist/models/list-accounts-response-class.js +15 -0
  53. package/dist/models/list-leads-response-class.d.ts +43 -0
  54. package/dist/models/list-leads-response-class.js +15 -0
  55. package/dist/models/list-partners-response-class.d.ts +31 -0
  56. package/dist/models/list-partners-response-class.js +15 -0
  57. package/dist/models/list-policies-response-class.d.ts +43 -0
  58. package/dist/models/list-policies-response-class.js +15 -0
  59. package/dist/models/omit-type-class.d.ts +84 -0
  60. package/dist/models/omit-type-class.js +15 -0
  61. package/dist/models/partner-class.d.ts +103 -0
  62. package/dist/models/partner-class.js +15 -0
  63. package/dist/models/partner-link-class.d.ts +98 -0
  64. package/dist/models/partner-link-class.js +15 -0
  65. package/dist/models/partner-role-class.d.ts +72 -0
  66. package/dist/models/partner-role-class.js +15 -0
  67. package/dist/models/policy-class.d.ts +147 -0
  68. package/dist/models/policy-class.js +15 -0
  69. package/dist/models/policy-object-class.d.ts +84 -0
  70. package/dist/models/policy-object-class.js +15 -0
  71. package/dist/models/policy-premium-class.d.ts +61 -0
  72. package/dist/models/policy-premium-class.js +15 -0
  73. package/dist/models/policy-premium-item-class.d.ts +67 -0
  74. package/dist/models/policy-premium-item-class.js +15 -0
  75. package/dist/models/policy-version-class.d.ts +79 -0
  76. package/dist/models/policy-version-class.js +15 -0
  77. package/dist/models/premium-formula-class.d.ts +108 -0
  78. package/dist/models/premium-formula-class.js +15 -0
  79. package/dist/models/premium-override-dto.d.ts +55 -0
  80. package/dist/models/premium-override-dto.js +27 -0
  81. package/dist/models/premium-override-request-dto.d.ts +25 -0
  82. package/dist/models/premium-override-request-dto.js +15 -0
  83. package/dist/models/product-class.d.ts +92 -0
  84. package/dist/models/product-class.js +15 -0
  85. package/dist/models/product-version-class.d.ts +73 -0
  86. package/dist/models/product-version-class.js +22 -0
  87. package/dist/models/sepa-dto.d.ts +30 -0
  88. package/dist/models/sepa-dto.js +15 -0
  89. package/dist/models/tag-class.d.ts +54 -0
  90. package/dist/models/tag-class.js +15 -0
  91. package/dist/models/timeslice-class.d.ts +74 -0
  92. package/dist/models/timeslice-class.js +15 -0
  93. package/dist/models/uploaded-document-dto.d.ts +24 -0
  94. package/dist/models/uploaded-document-dto.js +15 -0
  95. package/git_push.sh +57 -0
  96. package/index.ts +19 -0
  97. package/models/account-class.ts +185 -0
  98. package/models/account-policy-class.ts +153 -0
  99. package/models/create-payment-method-request-dto.ts +37 -0
  100. package/models/create-policy-request-dto.ts +61 -0
  101. package/models/index.ts +34 -0
  102. package/models/inline-response200.ts +48 -0
  103. package/models/inline-response503.ts +48 -0
  104. package/models/insured-object-type-class.ts +66 -0
  105. package/models/invoice-class.ts +160 -0
  106. package/models/invoice-item-class.ts +126 -0
  107. package/models/invoice-status-class.ts +56 -0
  108. package/models/lead-bank-account-class.ts +36 -0
  109. package/models/lead-class.ts +163 -0
  110. package/models/list-accounts-response-class.ts +37 -0
  111. package/models/list-leads-response-class.ts +49 -0
  112. package/models/list-partners-response-class.ts +37 -0
  113. package/models/list-policies-response-class.ts +49 -0
  114. package/models/omit-type-class.ts +90 -0
  115. package/models/partner-class.ts +109 -0
  116. package/models/partner-link-class.ts +104 -0
  117. package/models/partner-role-class.ts +78 -0
  118. package/models/policy-class.ts +153 -0
  119. package/models/policy-object-class.ts +90 -0
  120. package/models/policy-premium-class.ts +67 -0
  121. package/models/policy-premium-item-class.ts +73 -0
  122. package/models/policy-version-class.ts +85 -0
  123. package/models/premium-formula-class.ts +114 -0
  124. package/models/premium-override-dto.ts +65 -0
  125. package/models/premium-override-request-dto.ts +31 -0
  126. package/models/product-class.ts +98 -0
  127. package/models/product-version-class.ts +82 -0
  128. package/models/sepa-dto.ts +36 -0
  129. package/models/tag-class.ts +60 -0
  130. package/models/timeslice-class.ts +80 -0
  131. package/models/uploaded-document-dto.ts +30 -0
  132. package/package.json +29 -0
  133. package/tsconfig.json +22 -0
@@ -0,0 +1,49 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * EMIL PartnerPortal
5
+ * The EMIL PartnerPortal 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 { PolicyClass } from './policy-class';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface ListPoliciesResponseClass
22
+ */
23
+ export interface ListPoliciesResponseClass {
24
+ /**
25
+ * Policies
26
+ * @type {Array<PolicyClass>}
27
+ * @memberof ListPoliciesResponseClass
28
+ */
29
+ 'items': Array<PolicyClass>;
30
+ /**
31
+ * Next page token.
32
+ * @type {string}
33
+ * @memberof ListPoliciesResponseClass
34
+ */
35
+ 'nextPageToken': string;
36
+ /**
37
+ * Items per page.
38
+ * @type {number}
39
+ * @memberof ListPoliciesResponseClass
40
+ */
41
+ 'itemsPerPage': number;
42
+ /**
43
+ * Total amount of items.
44
+ * @type {number}
45
+ * @memberof ListPoliciesResponseClass
46
+ */
47
+ 'totalItems': number;
48
+ }
49
+
@@ -0,0 +1,90 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * EMIL PartnerPortal
5
+ * The EMIL PartnerPortal 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 OmitTypeClass
21
+ */
22
+ export interface OmitTypeClass {
23
+ /**
24
+ * Internal unique identifier for the object. You should not have to use this, use code instead.
25
+ * @type {number}
26
+ * @memberof OmitTypeClass
27
+ */
28
+ 'id': number;
29
+ /**
30
+ * Unique identifier of the partner that this object belongs to.
31
+ * @type {string}
32
+ * @memberof OmitTypeClass
33
+ */
34
+ 'partnerCode': string;
35
+ /**
36
+ * Unique identifier of the partner role that this object belongs to.
37
+ * @type {string}
38
+ * @memberof OmitTypeClass
39
+ */
40
+ 'partnerRoleCode': string;
41
+ /**
42
+ * Unique identifier of the policy that this object belongs to.
43
+ * @type {string}
44
+ * @memberof OmitTypeClass
45
+ */
46
+ 'policyCode'?: string;
47
+ /**
48
+ * Unique identifier of the lead that this object belongs to.
49
+ * @type {string}
50
+ * @memberof OmitTypeClass
51
+ */
52
+ 'leadCode'?: string;
53
+ /**
54
+ * Date from which the partner should be linked.
55
+ * @type {string}
56
+ * @memberof OmitTypeClass
57
+ */
58
+ 'startDate': string;
59
+ /**
60
+ * Date to which the partner should be linked.
61
+ * @type {string}
62
+ * @memberof OmitTypeClass
63
+ */
64
+ 'endDate'?: string;
65
+ /**
66
+ * Time at which the object was created.
67
+ * @type {string}
68
+ * @memberof OmitTypeClass
69
+ */
70
+ 'createdAt': string;
71
+ /**
72
+ * Time at which the object was updated.
73
+ * @type {string}
74
+ * @memberof OmitTypeClass
75
+ */
76
+ 'updatedAt': string;
77
+ /**
78
+ * Identifier of the user who created the record.
79
+ * @type {string}
80
+ * @memberof OmitTypeClass
81
+ */
82
+ 'createdBy': string;
83
+ /**
84
+ * Identifier of the user who last updated the record.
85
+ * @type {string}
86
+ * @memberof OmitTypeClass
87
+ */
88
+ 'updatedBy': string;
89
+ }
90
+
@@ -0,0 +1,109 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * EMIL PartnerPortal
5
+ * The EMIL PartnerPortal 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 { TagClass } from './tag-class';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface PartnerClass
22
+ */
23
+ export interface PartnerClass {
24
+ /**
25
+ * Internal unique identifier for the object. You should not have to use this, use code instead.
26
+ * @type {number}
27
+ * @memberof PartnerClass
28
+ */
29
+ 'id': number;
30
+ /**
31
+ * Unique identifier for the object.
32
+ * @type {string}
33
+ * @memberof PartnerClass
34
+ */
35
+ 'code': string;
36
+ /**
37
+ * Unique identifier referencing the partner type.
38
+ * @type {number}
39
+ * @memberof PartnerClass
40
+ */
41
+ 'partnerTypeId': number;
42
+ /**
43
+ * For person partner type displayName is a combination if firstname and lastname. For organization its organization name.
44
+ * @type {string}
45
+ * @memberof PartnerClass
46
+ */
47
+ 'displayName': string;
48
+ /**
49
+ * The custom fields object, based on partner schema.
50
+ * @type {object}
51
+ * @memberof PartnerClass
52
+ */
53
+ 'customFields'?: object;
54
+ /**
55
+ * The version number of the partner
56
+ * @type {number}
57
+ * @memberof PartnerClass
58
+ */
59
+ 'version'?: number;
60
+ /**
61
+ * Tags that the partner is associated with
62
+ * @type {Array<TagClass>}
63
+ * @memberof PartnerClass
64
+ */
65
+ 'tags': Array<TagClass>;
66
+ /**
67
+ * The user code of the partner
68
+ * @type {string}
69
+ * @memberof PartnerClass
70
+ */
71
+ 'tenantUserCode'?: string;
72
+ /**
73
+ * Emil Resources Names (ERN) identifies the most specific owner of a resource.
74
+ * @type {string}
75
+ * @memberof PartnerClass
76
+ */
77
+ 'ern': string;
78
+ /**
79
+ * Unique number assigned to the partner.
80
+ * @type {string}
81
+ * @memberof PartnerClass
82
+ */
83
+ 'partnerNumber': string;
84
+ /**
85
+ * Time at which the object was created.
86
+ * @type {string}
87
+ * @memberof PartnerClass
88
+ */
89
+ 'createdAt': string;
90
+ /**
91
+ * Time at which the object was updated.
92
+ * @type {string}
93
+ * @memberof PartnerClass
94
+ */
95
+ 'updatedAt': string;
96
+ /**
97
+ * Identifier of the user who created the record.
98
+ * @type {string}
99
+ * @memberof PartnerClass
100
+ */
101
+ 'createdBy': string;
102
+ /**
103
+ * Identifier of the user who last updated the record.
104
+ * @type {string}
105
+ * @memberof PartnerClass
106
+ */
107
+ 'updatedBy': string;
108
+ }
109
+
@@ -0,0 +1,104 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * EMIL PartnerPortal
5
+ * The EMIL PartnerPortal 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 { PartnerClass } from './partner-class';
17
+ import { PartnerRoleClass } from './partner-role-class';
18
+
19
+ /**
20
+ *
21
+ * @export
22
+ * @interface PartnerLinkClass
23
+ */
24
+ export interface PartnerLinkClass {
25
+ /**
26
+ * Internal unique identifier for the object. You should not have to use this, use code instead.
27
+ * @type {number}
28
+ * @memberof PartnerLinkClass
29
+ */
30
+ 'id': number;
31
+ /**
32
+ * Unique identifier of the partner that this object belongs to.
33
+ * @type {string}
34
+ * @memberof PartnerLinkClass
35
+ */
36
+ 'partnerCode': string;
37
+ /**
38
+ * Unique identifier of the partner role that this object belongs to.
39
+ * @type {string}
40
+ * @memberof PartnerLinkClass
41
+ */
42
+ 'partnerRoleCode': string;
43
+ /**
44
+ * Unique identifier of the policy that this object belongs to.
45
+ * @type {string}
46
+ * @memberof PartnerLinkClass
47
+ */
48
+ 'policyCode'?: string;
49
+ /**
50
+ * Unique identifier of the lead that this object belongs to.
51
+ * @type {string}
52
+ * @memberof PartnerLinkClass
53
+ */
54
+ 'leadCode'?: string;
55
+ /**
56
+ * Date from which the partner should be linked.
57
+ * @type {string}
58
+ * @memberof PartnerLinkClass
59
+ */
60
+ 'startDate': string;
61
+ /**
62
+ * Date to which the partner should be linked.
63
+ * @type {string}
64
+ * @memberof PartnerLinkClass
65
+ */
66
+ 'endDate'?: string;
67
+ /**
68
+ * Partner role
69
+ * @type {PartnerRoleClass}
70
+ * @memberof PartnerLinkClass
71
+ */
72
+ 'partnerRole'?: PartnerRoleClass;
73
+ /**
74
+ * Partner
75
+ * @type {PartnerClass}
76
+ * @memberof PartnerLinkClass
77
+ */
78
+ 'partner'?: PartnerClass;
79
+ /**
80
+ * Time at which the object was created.
81
+ * @type {string}
82
+ * @memberof PartnerLinkClass
83
+ */
84
+ 'createdAt': string;
85
+ /**
86
+ * Time at which the object was updated.
87
+ * @type {string}
88
+ * @memberof PartnerLinkClass
89
+ */
90
+ 'updatedAt': string;
91
+ /**
92
+ * Identifier of the user who created the record.
93
+ * @type {string}
94
+ * @memberof PartnerLinkClass
95
+ */
96
+ 'createdBy': string;
97
+ /**
98
+ * Identifier of the user who last updated the record.
99
+ * @type {string}
100
+ * @memberof PartnerLinkClass
101
+ */
102
+ 'updatedBy': string;
103
+ }
104
+
@@ -0,0 +1,78 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * EMIL PartnerPortal
5
+ * The EMIL PartnerPortal 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 PartnerRoleClass
21
+ */
22
+ export interface PartnerRoleClass {
23
+ /**
24
+ * Internal unique identifier for the object. You should not have to use this, use code instead.
25
+ * @type {number}
26
+ * @memberof PartnerRoleClass
27
+ */
28
+ 'id': number;
29
+ /**
30
+ * Unique identifier for the object.
31
+ * @type {string}
32
+ * @memberof PartnerRoleClass
33
+ */
34
+ 'code': string;
35
+ /**
36
+ * Name of the partner role.
37
+ * @type {string}
38
+ * @memberof PartnerRoleClass
39
+ */
40
+ 'name': 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 PartnerRoleClass
45
+ */
46
+ 'slug': string;
47
+ /**
48
+ * A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
49
+ * @type {string}
50
+ * @memberof PartnerRoleClass
51
+ */
52
+ 'productSlug'?: string;
53
+ /**
54
+ * Time at which the object was created.
55
+ * @type {string}
56
+ * @memberof PartnerRoleClass
57
+ */
58
+ 'createdAt': string;
59
+ /**
60
+ * Time at which the object was updated.
61
+ * @type {string}
62
+ * @memberof PartnerRoleClass
63
+ */
64
+ 'updatedAt': string;
65
+ /**
66
+ * Identifier of the user who created the record.
67
+ * @type {string}
68
+ * @memberof PartnerRoleClass
69
+ */
70
+ 'createdBy': string;
71
+ /**
72
+ * Identifier of the user who last updated the record.
73
+ * @type {string}
74
+ * @memberof PartnerRoleClass
75
+ */
76
+ 'updatedBy': string;
77
+ }
78
+
@@ -0,0 +1,153 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * EMIL PartnerPortal
5
+ * The EMIL PartnerPortal 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 { PartnerLinkClass } from './partner-link-class';
17
+ import { PolicyVersionClass } from './policy-version-class';
18
+ import { ProductClass } from './product-class';
19
+
20
+ /**
21
+ *
22
+ * @export
23
+ * @interface PolicyClass
24
+ */
25
+ export interface PolicyClass {
26
+ /**
27
+ * Internal unique identifier for the object. You should not have to use this, use code instead.
28
+ * @type {number}
29
+ * @memberof PolicyClass
30
+ */
31
+ 'id': number;
32
+ /**
33
+ * Unique identifier for the object.
34
+ * @type {string}
35
+ * @memberof PolicyClass
36
+ */
37
+ 'code': string;
38
+ /**
39
+ * Policy number.
40
+ * @type {string}
41
+ * @memberof PolicyClass
42
+ */
43
+ 'policyNumber': string;
44
+ /**
45
+ * Internal policy number.
46
+ * @type {string}
47
+ * @memberof PolicyClass
48
+ */
49
+ 'internalPolicyNumber'?: string | null;
50
+ /**
51
+ * Unique identifier referencing the policy product version.
52
+ * @type {number}
53
+ * @memberof PolicyClass
54
+ */
55
+ 'productVersionId': number;
56
+ /**
57
+ * Unique identifier referencing the policy product.
58
+ * @type {number}
59
+ * @memberof PolicyClass
60
+ */
61
+ 'productId': number;
62
+ /**
63
+ * Unique identifier of the account that this object belongs to.
64
+ * @type {string}
65
+ * @memberof PolicyClass
66
+ */
67
+ 'accountCode': string;
68
+ /**
69
+ * Policy status. This property shows different statuses depending on the status of a policy: ACTIVE, WITHDRAWN, TERMINATED, SUSPENDED.
70
+ * @type {string}
71
+ * @memberof PolicyClass
72
+ */
73
+ 'status': string;
74
+ /**
75
+ * Policy holder name.
76
+ * @type {string}
77
+ * @memberof PolicyClass
78
+ */
79
+ 'holder'?: string | null;
80
+ /**
81
+ * Policy product name.
82
+ * @type {string}
83
+ * @memberof PolicyClass
84
+ */
85
+ 'productName'?: string | null;
86
+ /**
87
+ * Policy product slug.
88
+ * @type {string}
89
+ * @memberof PolicyClass
90
+ */
91
+ 'productSlug'?: string | null;
92
+ /**
93
+ * Policy versions.
94
+ * @type {Array<PolicyVersionClass>}
95
+ * @memberof PolicyClass
96
+ */
97
+ 'versions': Array<PolicyVersionClass>;
98
+ /**
99
+ * Product.
100
+ * @type {ProductClass}
101
+ * @memberof PolicyClass
102
+ */
103
+ 'product'?: ProductClass;
104
+ /**
105
+ * The date the policy will get started.
106
+ * @type {string}
107
+ * @memberof PolicyClass
108
+ */
109
+ 'policyStartDate': string | null;
110
+ /**
111
+ * Time at which the object was created.
112
+ * @type {string}
113
+ * @memberof PolicyClass
114
+ */
115
+ 'createdAt': string;
116
+ /**
117
+ * Time at which the object was updated.
118
+ * @type {string}
119
+ * @memberof PolicyClass
120
+ */
121
+ 'updatedAt': string;
122
+ /**
123
+ * Unique identifier of the lead that this object belongs to.
124
+ * @type {string}
125
+ * @memberof PolicyClass
126
+ */
127
+ 'leadCode'?: string;
128
+ /**
129
+ * Emil Resources Names (ERN) identifies the most specific owner of a resource.
130
+ * @type {string}
131
+ * @memberof PolicyClass
132
+ */
133
+ 'ern': string;
134
+ /**
135
+ * Partner links.
136
+ * @type {Array<PartnerLinkClass>}
137
+ * @memberof PolicyClass
138
+ */
139
+ 'partnerLinks': Array<PartnerLinkClass>;
140
+ /**
141
+ * Identifier of the user who created the record.
142
+ * @type {string}
143
+ * @memberof PolicyClass
144
+ */
145
+ 'createdBy': string;
146
+ /**
147
+ * Identifier of the user who last updated the record.
148
+ * @type {string}
149
+ * @memberof PolicyClass
150
+ */
151
+ 'updatedBy': string;
152
+ }
153
+
@@ -0,0 +1,90 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * EMIL PartnerPortal
5
+ * The EMIL PartnerPortal 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 PolicyObjectClass
21
+ */
22
+ export interface PolicyObjectClass {
23
+ /**
24
+ * Unique identifier referencing the insured object.
25
+ * @type {number}
26
+ * @memberof PolicyObjectClass
27
+ */
28
+ 'insuredObjectId': number;
29
+ /**
30
+ * Unique identifier for the object.
31
+ * @type {string}
32
+ * @memberof PolicyObjectClass
33
+ */
34
+ 'code': string;
35
+ /**
36
+ * Insured object name.
37
+ * @type {string}
38
+ * @memberof PolicyObjectClass
39
+ */
40
+ 'insuredObjectName': string;
41
+ /**
42
+ * Insured object label.
43
+ * @type {string}
44
+ * @memberof PolicyObjectClass
45
+ */
46
+ 'insuredObjectLabel': string;
47
+ /**
48
+ * A boolean value indicating whether the insured object accepts multiple objects.
49
+ * @type {boolean}
50
+ * @memberof PolicyObjectClass
51
+ */
52
+ 'isMultiInsuredObject': boolean;
53
+ /**
54
+ * Insured object data.
55
+ * @type {object}
56
+ * @memberof PolicyObjectClass
57
+ */
58
+ 'data': object;
59
+ /**
60
+ * Insured object summary.
61
+ * @type {string}
62
+ * @memberof PolicyObjectClass
63
+ */
64
+ 'summary': string;
65
+ /**
66
+ * Time at which the object was created.
67
+ * @type {string}
68
+ * @memberof PolicyObjectClass
69
+ */
70
+ 'createdAt': string;
71
+ /**
72
+ * Time at which the object was updated.
73
+ * @type {string}
74
+ * @memberof PolicyObjectClass
75
+ */
76
+ 'updatedAt': string;
77
+ /**
78
+ * Identifier of the user who created the record.
79
+ * @type {string}
80
+ * @memberof PolicyObjectClass
81
+ */
82
+ 'createdBy': string;
83
+ /**
84
+ * Identifier of the user who last updated the record.
85
+ * @type {string}
86
+ * @memberof PolicyObjectClass
87
+ */
88
+ 'updatedBy': string;
89
+ }
90
+