@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,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 PolicyObjectClass
16
+ */
17
+ export interface PolicyObjectClass {
18
+ /**
19
+ * Unique identifier referencing the insured object.
20
+ * @type {number}
21
+ * @memberof PolicyObjectClass
22
+ */
23
+ 'insuredObjectId': number;
24
+ /**
25
+ * Unique identifier for the object.
26
+ * @type {string}
27
+ * @memberof PolicyObjectClass
28
+ */
29
+ 'code': string;
30
+ /**
31
+ * Insured object name.
32
+ * @type {string}
33
+ * @memberof PolicyObjectClass
34
+ */
35
+ 'insuredObjectName': string;
36
+ /**
37
+ * Insured object label.
38
+ * @type {string}
39
+ * @memberof PolicyObjectClass
40
+ */
41
+ 'insuredObjectLabel': string;
42
+ /**
43
+ * A boolean value indicating whether the insured object accepts multiple objects.
44
+ * @type {boolean}
45
+ * @memberof PolicyObjectClass
46
+ */
47
+ 'isMultiInsuredObject': boolean;
48
+ /**
49
+ * Insured object data.
50
+ * @type {object}
51
+ * @memberof PolicyObjectClass
52
+ */
53
+ 'data': object;
54
+ /**
55
+ * Insured object summary.
56
+ * @type {string}
57
+ * @memberof PolicyObjectClass
58
+ */
59
+ 'summary': string;
60
+ /**
61
+ * Time at which the object was created.
62
+ * @type {string}
63
+ * @memberof PolicyObjectClass
64
+ */
65
+ 'createdAt': string;
66
+ /**
67
+ * Time at which the object was updated.
68
+ * @type {string}
69
+ * @memberof PolicyObjectClass
70
+ */
71
+ 'updatedAt': string;
72
+ /**
73
+ * Identifier of the user who created the record.
74
+ * @type {string}
75
+ * @memberof PolicyObjectClass
76
+ */
77
+ 'createdBy': string;
78
+ /**
79
+ * Identifier of the user who last updated the record.
80
+ * @type {string}
81
+ * @memberof PolicyObjectClass
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,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 });