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