@emilgroup/partner-portal-sdk 1.1.1 → 1.5.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 (126) hide show
  1. package/.openapi-generator/FILES +46 -0
  2. package/.openapi-generator/VERSION +1 -0
  3. package/.openapi-generator-ignore +23 -0
  4. package/README.md +51 -1
  5. package/api/intermediary-api.ts +1222 -0
  6. package/api.ts +27 -0
  7. package/base.ts +331 -0
  8. package/common.ts +198 -0
  9. package/configuration.ts +110 -0
  10. package/dist/api/intermediary-api.d.ts +704 -0
  11. package/dist/api/intermediary-api.js +1015 -0
  12. package/dist/api.d.ts +12 -0
  13. package/dist/api.js +30 -0
  14. package/dist/base.d.ts +86 -0
  15. package/dist/base.js +367 -0
  16. package/dist/common.d.ts +91 -0
  17. package/dist/common.js +276 -0
  18. package/dist/configuration.d.ts +89 -0
  19. package/dist/configuration.js +52 -0
  20. package/dist/index.d.ts +15 -0
  21. package/dist/index.js +36 -0
  22. package/dist/models/account-class.d.ts +176 -0
  23. package/dist/models/account-class.js +22 -0
  24. package/dist/models/account-policy-class.d.ts +147 -0
  25. package/dist/models/account-policy-class.js +15 -0
  26. package/dist/models/create-payment-method-request-dto.d.ts +31 -0
  27. package/dist/models/create-payment-method-request-dto.js +15 -0
  28. package/dist/models/create-policy-request-dto.d.ts +55 -0
  29. package/dist/models/create-policy-request-dto.js +15 -0
  30. package/dist/models/index.d.ts +32 -0
  31. package/dist/models/index.js +48 -0
  32. package/dist/models/insured-object-type-class.d.ts +60 -0
  33. package/dist/models/insured-object-type-class.js +15 -0
  34. package/dist/models/invoice-class.d.ts +152 -0
  35. package/dist/models/invoice-class.js +32 -0
  36. package/dist/models/invoice-item-class.d.ts +117 -0
  37. package/dist/models/invoice-item-class.js +24 -0
  38. package/dist/models/invoice-status-class.d.ts +49 -0
  39. package/dist/models/invoice-status-class.js +22 -0
  40. package/dist/models/lead-bank-account-class.d.ts +30 -0
  41. package/dist/models/lead-bank-account-class.js +15 -0
  42. package/dist/models/lead-class.d.ts +157 -0
  43. package/dist/models/lead-class.js +15 -0
  44. package/dist/models/list-accounts-response-class.d.ts +31 -0
  45. package/dist/models/list-accounts-response-class.js +15 -0
  46. package/dist/models/list-leads-response-class.d.ts +43 -0
  47. package/dist/models/list-leads-response-class.js +15 -0
  48. package/dist/models/list-partners-response-class.d.ts +31 -0
  49. package/dist/models/list-partners-response-class.js +15 -0
  50. package/dist/models/list-policies-response-class.d.ts +43 -0
  51. package/dist/models/list-policies-response-class.js +15 -0
  52. package/dist/models/omit-type-class.d.ts +84 -0
  53. package/dist/models/omit-type-class.js +15 -0
  54. package/dist/models/partner-class.d.ts +103 -0
  55. package/dist/models/partner-class.js +15 -0
  56. package/dist/models/partner-link-class.d.ts +98 -0
  57. package/dist/models/partner-link-class.js +15 -0
  58. package/dist/models/partner-role-class.d.ts +72 -0
  59. package/dist/models/partner-role-class.js +15 -0
  60. package/dist/models/policy-class.d.ts +147 -0
  61. package/dist/models/policy-class.js +15 -0
  62. package/dist/models/policy-object-class.d.ts +84 -0
  63. package/dist/models/policy-object-class.js +15 -0
  64. package/dist/models/policy-premium-class.d.ts +61 -0
  65. package/dist/models/policy-premium-class.js +15 -0
  66. package/dist/models/policy-premium-item-class.d.ts +67 -0
  67. package/dist/models/policy-premium-item-class.js +15 -0
  68. package/dist/models/policy-version-class.d.ts +79 -0
  69. package/dist/models/policy-version-class.js +15 -0
  70. package/dist/models/premium-formula-class.d.ts +108 -0
  71. package/dist/models/premium-formula-class.js +15 -0
  72. package/dist/models/premium-override-dto.d.ts +55 -0
  73. package/dist/models/premium-override-dto.js +27 -0
  74. package/dist/models/premium-override-request-dto.d.ts +25 -0
  75. package/dist/models/premium-override-request-dto.js +15 -0
  76. package/dist/models/product-class.d.ts +92 -0
  77. package/dist/models/product-class.js +15 -0
  78. package/dist/models/product-version-class.d.ts +73 -0
  79. package/dist/models/product-version-class.js +22 -0
  80. package/dist/models/sepa-dto.d.ts +30 -0
  81. package/dist/models/sepa-dto.js +15 -0
  82. package/dist/models/tag-class.d.ts +54 -0
  83. package/dist/models/tag-class.js +15 -0
  84. package/dist/models/timeslice-class.d.ts +74 -0
  85. package/dist/models/timeslice-class.js +15 -0
  86. package/dist/models/uploaded-document-dto.d.ts +24 -0
  87. package/dist/models/uploaded-document-dto.js +15 -0
  88. package/git_push.sh +57 -0
  89. package/index.ts +19 -0
  90. package/models/account-class.ts +185 -0
  91. package/models/account-policy-class.ts +153 -0
  92. package/models/create-payment-method-request-dto.ts +37 -0
  93. package/models/create-policy-request-dto.ts +61 -0
  94. package/models/index.ts +32 -0
  95. package/models/insured-object-type-class.ts +66 -0
  96. package/models/invoice-class.ts +162 -0
  97. package/models/invoice-item-class.ts +126 -0
  98. package/models/invoice-status-class.ts +58 -0
  99. package/models/lead-bank-account-class.ts +36 -0
  100. package/models/lead-class.ts +163 -0
  101. package/models/list-accounts-response-class.ts +37 -0
  102. package/models/list-leads-response-class.ts +49 -0
  103. package/models/list-partners-response-class.ts +37 -0
  104. package/models/list-policies-response-class.ts +49 -0
  105. package/models/omit-type-class.ts +90 -0
  106. package/models/partner-class.ts +109 -0
  107. package/models/partner-link-class.ts +104 -0
  108. package/models/partner-role-class.ts +78 -0
  109. package/models/policy-class.ts +153 -0
  110. package/models/policy-object-class.ts +90 -0
  111. package/models/policy-premium-class.ts +67 -0
  112. package/models/policy-premium-item-class.ts +73 -0
  113. package/models/policy-version-class.ts +85 -0
  114. package/models/premium-formula-class.ts +114 -0
  115. package/models/premium-override-dto.ts +65 -0
  116. package/models/premium-override-request-dto.ts +31 -0
  117. package/models/product-class.ts +98 -0
  118. package/models/product-version-class.ts +82 -0
  119. package/models/sepa-dto.ts +36 -0
  120. package/models/tag-class.ts +60 -0
  121. package/models/timeslice-class.ts +80 -0
  122. package/models/uploaded-document-dto.ts +30 -0
  123. package/package.json +22 -8
  124. package/tsconfig.json +23 -0
  125. package/index.js +0 -99
  126. package/scripts/deploy.js +0 -225
@@ -0,0 +1,61 @@
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 { PolicyPremiumItemClass } from './policy-premium-item-class';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface PolicyPremiumClass
17
+ */
18
+ export interface PolicyPremiumClass {
19
+ /**
20
+ * Premium Items.
21
+ * @type {Array<PolicyPremiumItemClass>}
22
+ * @memberof PolicyPremiumClass
23
+ */
24
+ 'premiumItems': Array<PolicyPremiumItemClass>;
25
+ /**
26
+ * The grand total of a policy premium is the net sum of all policy premium items.
27
+ * @type {number}
28
+ * @memberof PolicyPremiumClass
29
+ */
30
+ 'grandTotal': number;
31
+ /**
32
+ * Premium policy currency. EUR is used by default.
33
+ * @type {string}
34
+ * @memberof PolicyPremiumClass
35
+ */
36
+ 'currency': string;
37
+ /**
38
+ * Time at which the object was created.
39
+ * @type {string}
40
+ * @memberof PolicyPremiumClass
41
+ */
42
+ 'createdAt': string;
43
+ /**
44
+ * Time at which the object was updated.
45
+ * @type {string}
46
+ * @memberof PolicyPremiumClass
47
+ */
48
+ 'updatedAt': string;
49
+ /**
50
+ * Identifier of the user who created the record.
51
+ * @type {string}
52
+ * @memberof PolicyPremiumClass
53
+ */
54
+ 'createdBy': string;
55
+ /**
56
+ * Identifier of the user who last updated the record.
57
+ * @type {string}
58
+ * @memberof PolicyPremiumClass
59
+ */
60
+ 'updatedBy': string;
61
+ }
@@ -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,67 @@
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 { PremiumFormulaClass } from './premium-formula-class';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface PolicyPremiumItemClass
17
+ */
18
+ export interface PolicyPremiumItemClass {
19
+ /**
20
+ * Unique identifier referencing the item premium formula.
21
+ * @type {number}
22
+ * @memberof PolicyPremiumItemClass
23
+ */
24
+ 'premiumFormulaId': number;
25
+ /**
26
+ * Item total.
27
+ * @type {number}
28
+ * @memberof PolicyPremiumItemClass
29
+ */
30
+ 'total': number;
31
+ /**
32
+ * Time at which the object was created.
33
+ * @type {string}
34
+ * @memberof PolicyPremiumItemClass
35
+ */
36
+ 'createdAt': string;
37
+ /**
38
+ * Time at which the object was updated.
39
+ * @type {string}
40
+ * @memberof PolicyPremiumItemClass
41
+ */
42
+ 'updatedAt': string;
43
+ /**
44
+ * Item premium formula entity.
45
+ * @type {PremiumFormulaClass}
46
+ * @memberof PolicyPremiumItemClass
47
+ */
48
+ 'premiumFormula': PremiumFormulaClass;
49
+ /**
50
+ * Is premium override?
51
+ * @type {boolean}
52
+ * @memberof PolicyPremiumItemClass
53
+ */
54
+ 'isOverride': boolean;
55
+ /**
56
+ * Identifier of the user who created the record.
57
+ * @type {string}
58
+ * @memberof PolicyPremiumItemClass
59
+ */
60
+ 'createdBy': string;
61
+ /**
62
+ * Identifier of the user who last updated the record.
63
+ * @type {string}
64
+ * @memberof PolicyPremiumItemClass
65
+ */
66
+ 'updatedBy': string;
67
+ }
@@ -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,79 @@
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 { TimesliceClass } from './timeslice-class';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface PolicyVersionClass
17
+ */
18
+ export interface PolicyVersionClass {
19
+ /**
20
+ * Internal unique identifier for the object. You should not have to use this, use code instead.
21
+ * @type {number}
22
+ * @memberof PolicyVersionClass
23
+ */
24
+ 'id': number;
25
+ /**
26
+ * Policy timeline.
27
+ * @type {Array<TimesliceClass>}
28
+ * @memberof PolicyVersionClass
29
+ */
30
+ 'timeline': Array<TimesliceClass>;
31
+ /**
32
+ * Policy version metadata. Metadata contains extra information that is needed for specific cases.
33
+ * @type {object}
34
+ * @memberof PolicyVersionClass
35
+ */
36
+ 'metadata': object;
37
+ /**
38
+ * Is this the current policy version?
39
+ * @type {boolean}
40
+ * @memberof PolicyVersionClass
41
+ */
42
+ 'isCurrent': boolean;
43
+ /**
44
+ * Is this a draft policy version?
45
+ * @type {boolean}
46
+ * @memberof PolicyVersionClass
47
+ */
48
+ 'isDraft': boolean;
49
+ /**
50
+ * Policy version revision status
51
+ * @type {string}
52
+ * @memberof PolicyVersionClass
53
+ */
54
+ 'revisionStatus': string;
55
+ /**
56
+ * Time at which the object was created.
57
+ * @type {string}
58
+ * @memberof PolicyVersionClass
59
+ */
60
+ 'createdAt': string;
61
+ /**
62
+ * Time at which the object was updated.
63
+ * @type {string}
64
+ * @memberof PolicyVersionClass
65
+ */
66
+ 'updatedAt': string;
67
+ /**
68
+ * Identifier of the user who created the record.
69
+ * @type {string}
70
+ * @memberof PolicyVersionClass
71
+ */
72
+ 'createdBy': string;
73
+ /**
74
+ * Identifier of the user who last updated the record.
75
+ * @type {string}
76
+ * @memberof PolicyVersionClass
77
+ */
78
+ 'updatedBy': string;
79
+ }
@@ -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,108 @@
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 PremiumFormulaClass
16
+ */
17
+ export interface PremiumFormulaClass {
18
+ /**
19
+ * Internal unique identifier for the object. You should not have to use this, use code instead.
20
+ * @type {number}
21
+ * @memberof PremiumFormulaClass
22
+ */
23
+ 'id': number;
24
+ /**
25
+ * Unique identifier referencing the product version.
26
+ * @type {number}
27
+ * @memberof PremiumFormulaClass
28
+ */
29
+ 'productVersionId': number;
30
+ /**
31
+ * Premium group name.
32
+ * @type {string}
33
+ * @memberof PremiumFormulaClass
34
+ */
35
+ 'group': string;
36
+ /**
37
+ * Premium name.
38
+ * @type {string}
39
+ * @memberof PremiumFormulaClass
40
+ */
41
+ 'name': string;
42
+ /**
43
+ * Premium expression.
44
+ * @type {string}
45
+ * @memberof PremiumFormulaClass
46
+ */
47
+ 'expression': string;
48
+ /**
49
+ * Type of Premium that is based on time.
50
+ * @type {string}
51
+ * @memberof PremiumFormulaClass
52
+ */
53
+ 'type': string;
54
+ /**
55
+ * This is unit of Premium. Premium units are determined based on oneTimePayment, day, week, month and year.
56
+ * @type {string}
57
+ * @memberof PremiumFormulaClass
58
+ */
59
+ 'unit': string;
60
+ /**
61
+ * Type of Premium item.
62
+ * @type {string}
63
+ * @memberof PremiumFormulaClass
64
+ */
65
+ 'itemType'?: string;
66
+ /**
67
+ * Visibility of Premium item.
68
+ * @type {string}
69
+ * @memberof PremiumFormulaClass
70
+ */
71
+ 'visibility'?: string;
72
+ /**
73
+ * Name of the variable this Premium item value is referenced by in the other items formulas.
74
+ * @type {string}
75
+ * @memberof PremiumFormulaClass
76
+ */
77
+ 'variableName'?: string;
78
+ /**
79
+ * order index for the Premium item, used to define the order the items are calculated in.
80
+ * @type {number}
81
+ * @memberof PremiumFormulaClass
82
+ */
83
+ 'order': number;
84
+ /**
85
+ * Time at which the object was created.
86
+ * @type {string}
87
+ * @memberof PremiumFormulaClass
88
+ */
89
+ 'createdAt': string;
90
+ /**
91
+ * Time at which the object was updated.
92
+ * @type {string}
93
+ * @memberof PremiumFormulaClass
94
+ */
95
+ 'updatedAt': string;
96
+ /**
97
+ * Identifier of the user who created the record.
98
+ * @type {string}
99
+ * @memberof PremiumFormulaClass
100
+ */
101
+ 'createdBy': string;
102
+ /**
103
+ * Identifier of the user who last updated the record.
104
+ * @type {string}
105
+ * @memberof PremiumFormulaClass
106
+ */
107
+ 'updatedBy': string;
108
+ }
@@ -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,55 @@
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 PremiumOverrideDto
16
+ */
17
+ export interface PremiumOverrideDto {
18
+ /**
19
+ * Name of Premium.
20
+ * @type {string}
21
+ * @memberof PremiumOverrideDto
22
+ */
23
+ 'name': string;
24
+ /**
25
+ * Type of Premium that is based on time.
26
+ * @type {string}
27
+ * @memberof PremiumOverrideDto
28
+ */
29
+ 'type': PremiumOverrideDtoTypeEnum;
30
+ /**
31
+ * This is unit of Premium. Premium units are determined based on oneTimePayment, day, week, month and year.
32
+ * @type {string}
33
+ * @memberof PremiumOverrideDto
34
+ */
35
+ 'unit': PremiumOverrideDtoUnitEnum;
36
+ /**
37
+ *
38
+ * @type {number}
39
+ * @memberof PremiumOverrideDto
40
+ */
41
+ 'netPremium': number;
42
+ }
43
+ export declare const PremiumOverrideDtoTypeEnum: {
44
+ readonly Time: "time";
45
+ };
46
+ export type PremiumOverrideDtoTypeEnum = typeof PremiumOverrideDtoTypeEnum[keyof typeof PremiumOverrideDtoTypeEnum];
47
+ export declare const PremiumOverrideDtoUnitEnum: {
48
+ readonly Day: "day";
49
+ readonly Week: "week";
50
+ readonly Month: "month";
51
+ readonly Quarter: "quarter";
52
+ readonly Year: "year";
53
+ readonly OneTimePayment: "oneTimePayment";
54
+ };
55
+ export type PremiumOverrideDtoUnitEnum = typeof PremiumOverrideDtoUnitEnum[keyof typeof PremiumOverrideDtoUnitEnum];
@@ -0,0 +1,27 @@
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 });
16
+ exports.PremiumOverrideDtoUnitEnum = exports.PremiumOverrideDtoTypeEnum = void 0;
17
+ exports.PremiumOverrideDtoTypeEnum = {
18
+ Time: 'time'
19
+ };
20
+ exports.PremiumOverrideDtoUnitEnum = {
21
+ Day: 'day',
22
+ Week: 'week',
23
+ Month: 'month',
24
+ Quarter: 'quarter',
25
+ Year: 'year',
26
+ OneTimePayment: 'oneTimePayment'
27
+ };
@@ -0,0 +1,25 @@
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 { PremiumOverrideDto } from './premium-override-dto';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface PremiumOverrideRequestDto
17
+ */
18
+ export interface PremiumOverrideRequestDto {
19
+ /**
20
+ * Premium Override.
21
+ * @type {Array<PremiumOverrideDto>}
22
+ * @memberof PremiumOverrideRequestDto
23
+ */
24
+ 'premiumOverrides': Array<PremiumOverrideDto>;
25
+ }
@@ -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,92 @@
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 { InsuredObjectTypeClass } from './insured-object-type-class';
13
+ import { ProductVersionClass } from './product-version-class';
14
+ /**
15
+ *
16
+ * @export
17
+ * @interface ProductClass
18
+ */
19
+ export interface ProductClass {
20
+ /**
21
+ * Internal unique identifier for the object. You should not have to use this, use code instead.
22
+ * @type {number}
23
+ * @memberof ProductClass
24
+ */
25
+ 'id': number;
26
+ /**
27
+ * Unique identifier for the object.
28
+ * @type {string}
29
+ * @memberof ProductClass
30
+ */
31
+ 'code': string;
32
+ /**
33
+ * Product\'s name.
34
+ * @type {string}
35
+ * @memberof ProductClass
36
+ */
37
+ 'name': string;
38
+ /**
39
+ * A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
40
+ * @type {string}
41
+ * @memberof ProductClass
42
+ */
43
+ 'slug': string;
44
+ /**
45
+ * Default language of the product.
46
+ * @type {string}
47
+ * @memberof ProductClass
48
+ */
49
+ 'defaultLanguage': string;
50
+ /**
51
+ * Insured object types covered under product.
52
+ * @type {Array<InsuredObjectTypeClass>}
53
+ * @memberof ProductClass
54
+ */
55
+ 'insuredObjectTypes': Array<InsuredObjectTypeClass>;
56
+ /**
57
+ * Contract duration in days.
58
+ * @type {number}
59
+ * @memberof ProductClass
60
+ */
61
+ 'contractDurationDays': number;
62
+ /**
63
+ * Product versions.
64
+ * @type {Array<ProductVersionClass>}
65
+ * @memberof ProductClass
66
+ */
67
+ 'versions': Array<ProductVersionClass>;
68
+ /**
69
+ * Time at which the object was created.
70
+ * @type {string}
71
+ * @memberof ProductClass
72
+ */
73
+ 'createdAt': string;
74
+ /**
75
+ * Time at which the object was updated.
76
+ * @type {string}
77
+ * @memberof ProductClass
78
+ */
79
+ 'updatedAt': string;
80
+ /**
81
+ * Identifier of the user who created the record.
82
+ * @type {string}
83
+ * @memberof ProductClass
84
+ */
85
+ 'createdBy': string;
86
+ /**
87
+ * Identifier of the user who last updated the record.
88
+ * @type {string}
89
+ * @memberof ProductClass
90
+ */
91
+ 'updatedBy': string;
92
+ }
@@ -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,73 @@
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 ProductVersionClass
16
+ */
17
+ export interface ProductVersionClass {
18
+ /**
19
+ * Internal unique identifier for the object. You should not have to use this, use code instead.
20
+ * @type {number}
21
+ * @memberof ProductVersionClass
22
+ */
23
+ 'id': number;
24
+ /**
25
+ * Unique identifier referencing the product.
26
+ * @type {number}
27
+ * @memberof ProductVersionClass
28
+ */
29
+ 'productId': number;
30
+ /**
31
+ * Product version description.
32
+ * @type {string}
33
+ * @memberof ProductVersionClass
34
+ */
35
+ 'description': string;
36
+ /**
37
+ * Product version status.
38
+ * @type {string}
39
+ * @memberof ProductVersionClass
40
+ */
41
+ 'status': ProductVersionClassStatusEnum;
42
+ /**
43
+ * Time at which the object was created.
44
+ * @type {string}
45
+ * @memberof ProductVersionClass
46
+ */
47
+ 'createdAt': string;
48
+ /**
49
+ * Time at which the object was updated.
50
+ * @type {string}
51
+ * @memberof ProductVersionClass
52
+ */
53
+ 'updatedAt': string;
54
+ /**
55
+ * Identifier of the user who created the record.
56
+ * @type {string}
57
+ * @memberof ProductVersionClass
58
+ */
59
+ 'createdBy': string;
60
+ /**
61
+ * Identifier of the user who last updated the record.
62
+ * @type {string}
63
+ * @memberof ProductVersionClass
64
+ */
65
+ 'updatedBy': string;
66
+ }
67
+ export declare const ProductVersionClassStatusEnum: {
68
+ readonly Draft: "draft";
69
+ readonly Active: "active";
70
+ readonly Passive: "passive";
71
+ readonly Archived: "archived";
72
+ };
73
+ export type ProductVersionClassStatusEnum = typeof ProductVersionClassStatusEnum[keyof typeof ProductVersionClassStatusEnum];