@emilgroup/public-api-sdk 1.1.0 → 1.3.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.
- package/.openapi-generator/FILES +3 -0
- package/README.md +2 -2
- package/api/products-api.ts +174 -0
- package/api.ts +0 -5
- package/base.ts +1 -0
- package/dist/api/products-api.d.ts +101 -0
- package/dist/api/products-api.js +123 -0
- package/dist/api.d.ts +0 -4
- package/dist/api.js +0 -6
- package/dist/base.d.ts +2 -1
- package/dist/base.js +1 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.js +2 -1
- package/dist/models/create-account-request-dto.d.ts +19 -2
- package/dist/models/create-account-request-dto.js +5 -1
- package/dist/models/create-document-request-dto.d.ts +1 -1
- package/dist/models/create-estimated-invoice-request-dto.d.ts +6 -0
- package/dist/models/create-lead-request-dto.d.ts +6 -0
- package/dist/models/document-class.d.ts +1 -1
- package/dist/models/index.d.ts +3 -0
- package/dist/models/index.js +3 -0
- package/dist/models/insured-object-type-class.d.ts +1 -1
- package/dist/models/lead-class.d.ts +12 -0
- package/dist/models/list-products-response-class.d.ts +31 -0
- package/dist/models/list-products-response-class.js +15 -0
- package/dist/models/premium-override-dto.d.ts +1 -0
- package/dist/models/premium-override-dto.js +2 -1
- package/dist/models/product-class.d.ts +74 -0
- package/dist/models/product-class.js +15 -0
- package/dist/models/product-field-class.d.ts +12 -0
- package/dist/models/product-version-class.d.ts +61 -0
- package/dist/models/product-version-class.js +22 -0
- package/dist/models/send-notification-request-dto.d.ts +1 -1
- package/dist/models/update-lead-request-dto.d.ts +6 -0
- package/index.ts +1 -1
- package/models/create-account-request-dto.ts +20 -2
- package/models/create-document-request-dto.ts +1 -1
- package/models/create-estimated-invoice-request-dto.ts +6 -0
- package/models/create-lead-request-dto.ts +6 -0
- package/models/document-class.ts +1 -1
- package/models/index.ts +3 -0
- package/models/insured-object-type-class.ts +1 -1
- package/models/lead-class.ts +12 -0
- package/models/list-products-response-class.ts +37 -0
- package/models/premium-override-dto.ts +2 -1
- package/models/product-class.ts +80 -0
- package/models/product-field-class.ts +12 -0
- package/models/product-version-class.ts +70 -0
- package/models/send-notification-request-dto.ts +1 -1
- package/models/update-lead-request-dto.ts +6 -0
- package/package.json +1 -2
|
@@ -70,17 +70,29 @@ export interface CreateAccountRequestDto {
|
|
|
70
70
|
*/
|
|
71
71
|
'houseNumber': string;
|
|
72
72
|
/**
|
|
73
|
-
* Customer birth date
|
|
73
|
+
* Customer birth date (Required for account of type person).
|
|
74
74
|
* @type {string}
|
|
75
75
|
* @memberof CreateAccountRequestDto
|
|
76
76
|
*/
|
|
77
|
-
'birthDate'
|
|
77
|
+
'birthDate'?: string;
|
|
78
78
|
/**
|
|
79
79
|
* Customer phone number
|
|
80
80
|
* @type {string}
|
|
81
81
|
* @memberof CreateAccountRequestDto
|
|
82
82
|
*/
|
|
83
83
|
'phone': string;
|
|
84
|
+
/**
|
|
85
|
+
* Optional field to enter the type of the account.
|
|
86
|
+
* @type {string}
|
|
87
|
+
* @memberof CreateAccountRequestDto
|
|
88
|
+
*/
|
|
89
|
+
'type'?: CreateAccountRequestDtoTypeEnum;
|
|
90
|
+
/**
|
|
91
|
+
* Customer company name (Required for account of type org).
|
|
92
|
+
* @type {string}
|
|
93
|
+
* @memberof CreateAccountRequestDto
|
|
94
|
+
*/
|
|
95
|
+
'companyName'?: string;
|
|
84
96
|
/**
|
|
85
97
|
* Account number
|
|
86
98
|
* @type {string}
|
|
@@ -113,3 +125,8 @@ export declare const CreateAccountRequestDtoGenderEnum: {
|
|
|
113
125
|
readonly Unspecified: "unspecified";
|
|
114
126
|
};
|
|
115
127
|
export type CreateAccountRequestDtoGenderEnum = typeof CreateAccountRequestDtoGenderEnum[keyof typeof CreateAccountRequestDtoGenderEnum];
|
|
128
|
+
export declare const CreateAccountRequestDtoTypeEnum: {
|
|
129
|
+
readonly Person: "person";
|
|
130
|
+
readonly Org: "org";
|
|
131
|
+
};
|
|
132
|
+
export type CreateAccountRequestDtoTypeEnum = typeof CreateAccountRequestDtoTypeEnum[keyof typeof CreateAccountRequestDtoTypeEnum];
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.CreateAccountRequestDtoGenderEnum = exports.CreateAccountRequestDtoTitleEnum = void 0;
|
|
16
|
+
exports.CreateAccountRequestDtoTypeEnum = exports.CreateAccountRequestDtoGenderEnum = exports.CreateAccountRequestDtoTitleEnum = void 0;
|
|
17
17
|
exports.CreateAccountRequestDtoTitleEnum = {
|
|
18
18
|
Empty: '',
|
|
19
19
|
Dr: 'Dr.',
|
|
@@ -25,3 +25,7 @@ exports.CreateAccountRequestDtoGenderEnum = {
|
|
|
25
25
|
Female: 'female',
|
|
26
26
|
Unspecified: 'unspecified'
|
|
27
27
|
};
|
|
28
|
+
exports.CreateAccountRequestDtoTypeEnum = {
|
|
29
|
+
Person: 'person',
|
|
30
|
+
Org: 'org'
|
|
31
|
+
};
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
*/
|
|
17
17
|
export interface CreateDocumentRequestDto {
|
|
18
18
|
/**
|
|
19
|
-
* A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
|
|
19
|
+
* A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
|
|
20
20
|
* @type {string}
|
|
21
21
|
* @memberof CreateDocumentRequestDto
|
|
22
22
|
*/
|
|
@@ -17,6 +17,12 @@ import { PremiumOverrideRequestDto } from './premium-override-request-dto';
|
|
|
17
17
|
* @interface CreateEstimatedInvoiceRequestDto
|
|
18
18
|
*/
|
|
19
19
|
export interface CreateEstimatedInvoiceRequestDto {
|
|
20
|
+
/**
|
|
21
|
+
* Unique identifier referencing the product version.
|
|
22
|
+
* @type {number}
|
|
23
|
+
* @memberof CreateEstimatedInvoiceRequestDto
|
|
24
|
+
*/
|
|
25
|
+
'productVersionId'?: number;
|
|
20
26
|
/**
|
|
21
27
|
* The policy objects to calculate premium.
|
|
22
28
|
* @type {Array<PolicyObjectRequestDto>}
|
|
@@ -26,6 +26,12 @@ export interface CreateLeadRequestDto {
|
|
|
26
26
|
* @memberof CreateLeadRequestDto
|
|
27
27
|
*/
|
|
28
28
|
'code'?: string;
|
|
29
|
+
/**
|
|
30
|
+
* Unique identifier referencing the product version.
|
|
31
|
+
* @type {number}
|
|
32
|
+
* @memberof CreateLeadRequestDto
|
|
33
|
+
*/
|
|
34
|
+
'productVersionId'?: number;
|
|
29
35
|
/**
|
|
30
36
|
* Unique identifier of the product that this object belongs to.
|
|
31
37
|
* @type {string}
|
|
@@ -28,7 +28,7 @@ export interface DocumentClass {
|
|
|
28
28
|
*/
|
|
29
29
|
'code': string;
|
|
30
30
|
/**
|
|
31
|
-
* A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
|
|
31
|
+
* A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
|
|
32
32
|
* @type {string}
|
|
33
33
|
* @memberof DocumentClass
|
|
34
34
|
*/
|
package/dist/models/index.d.ts
CHANGED
|
@@ -32,12 +32,15 @@ export * from './lead-class';
|
|
|
32
32
|
export * from './lead-policy-class';
|
|
33
33
|
export * from './lead-policy-object-class';
|
|
34
34
|
export * from './list-documents-response-class';
|
|
35
|
+
export * from './list-products-response-class';
|
|
35
36
|
export * from './payment-method-class';
|
|
36
37
|
export * from './policy-object-request-dto';
|
|
37
38
|
export * from './premium-override-dto';
|
|
38
39
|
export * from './premium-override-request-dto';
|
|
40
|
+
export * from './product-class';
|
|
39
41
|
export * from './product-factor-class';
|
|
40
42
|
export * from './product-field-class';
|
|
43
|
+
export * from './product-version-class';
|
|
41
44
|
export * from './send-notification-request-dto';
|
|
42
45
|
export * from './send-notification-response-class';
|
|
43
46
|
export * from './update-lead-request-dto';
|
package/dist/models/index.js
CHANGED
|
@@ -48,12 +48,15 @@ __exportStar(require("./lead-class"), exports);
|
|
|
48
48
|
__exportStar(require("./lead-policy-class"), exports);
|
|
49
49
|
__exportStar(require("./lead-policy-object-class"), exports);
|
|
50
50
|
__exportStar(require("./list-documents-response-class"), exports);
|
|
51
|
+
__exportStar(require("./list-products-response-class"), exports);
|
|
51
52
|
__exportStar(require("./payment-method-class"), exports);
|
|
52
53
|
__exportStar(require("./policy-object-request-dto"), exports);
|
|
53
54
|
__exportStar(require("./premium-override-dto"), exports);
|
|
54
55
|
__exportStar(require("./premium-override-request-dto"), exports);
|
|
56
|
+
__exportStar(require("./product-class"), exports);
|
|
55
57
|
__exportStar(require("./product-factor-class"), exports);
|
|
56
58
|
__exportStar(require("./product-field-class"), exports);
|
|
59
|
+
__exportStar(require("./product-version-class"), exports);
|
|
57
60
|
__exportStar(require("./send-notification-request-dto"), exports);
|
|
58
61
|
__exportStar(require("./send-notification-response-class"), exports);
|
|
59
62
|
__exportStar(require("./update-lead-request-dto"), exports);
|
|
@@ -28,7 +28,7 @@ export interface InsuredObjectTypeClass {
|
|
|
28
28
|
*/
|
|
29
29
|
'name': string;
|
|
30
30
|
/**
|
|
31
|
-
* A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
|
|
31
|
+
* A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
|
|
32
32
|
* @type {string}
|
|
33
33
|
* @memberof InsuredObjectTypeClass
|
|
34
34
|
*/
|
|
@@ -74,4 +74,16 @@ export interface LeadClass {
|
|
|
74
74
|
* @memberof LeadClass
|
|
75
75
|
*/
|
|
76
76
|
'customData'?: object;
|
|
77
|
+
/**
|
|
78
|
+
* Time at which the object was created.
|
|
79
|
+
* @type {string}
|
|
80
|
+
* @memberof LeadClass
|
|
81
|
+
*/
|
|
82
|
+
'createdAt': string;
|
|
83
|
+
/**
|
|
84
|
+
* Time at which the object was updated.
|
|
85
|
+
* @type {string}
|
|
86
|
+
* @memberof LeadClass
|
|
87
|
+
*/
|
|
88
|
+
'updatedAt': string;
|
|
77
89
|
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Emil PublicAPI
|
|
3
|
+
* The Emil Public 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 { ProductClass } from './product-class';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface ListProductsResponseClass
|
|
17
|
+
*/
|
|
18
|
+
export interface ListProductsResponseClass {
|
|
19
|
+
/**
|
|
20
|
+
* List of products.
|
|
21
|
+
* @type {Array<ProductClass>}
|
|
22
|
+
* @memberof ListProductsResponseClass
|
|
23
|
+
*/
|
|
24
|
+
'items': Array<ProductClass>;
|
|
25
|
+
/**
|
|
26
|
+
* Next page token.
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof ListProductsResponseClass
|
|
29
|
+
*/
|
|
30
|
+
'nextPageToken': string;
|
|
31
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Emil PublicAPI
|
|
6
|
+
* The Emil Public 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 });
|
|
@@ -49,5 +49,6 @@ export declare const PremiumOverrideDtoUnitEnum: {
|
|
|
49
49
|
readonly Week: "week";
|
|
50
50
|
readonly Month: "month";
|
|
51
51
|
readonly Year: "year";
|
|
52
|
+
readonly OneTimePayment: "oneTimePayment";
|
|
52
53
|
};
|
|
53
54
|
export type PremiumOverrideDtoUnitEnum = typeof PremiumOverrideDtoUnitEnum[keyof typeof PremiumOverrideDtoUnitEnum];
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Emil PublicAPI
|
|
3
|
+
* The Emil Public 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
|
+
* Insured object types covered under product.
|
|
46
|
+
* @type {Array<InsuredObjectTypeClass>}
|
|
47
|
+
* @memberof ProductClass
|
|
48
|
+
*/
|
|
49
|
+
'insuredObjectTypes': Array<InsuredObjectTypeClass>;
|
|
50
|
+
/**
|
|
51
|
+
* Contract duration in days.
|
|
52
|
+
* @type {number}
|
|
53
|
+
* @memberof ProductClass
|
|
54
|
+
*/
|
|
55
|
+
'contractDurationDays': number;
|
|
56
|
+
/**
|
|
57
|
+
* Product versions.
|
|
58
|
+
* @type {Array<ProductVersionClass>}
|
|
59
|
+
* @memberof ProductClass
|
|
60
|
+
*/
|
|
61
|
+
'versions': Array<ProductVersionClass>;
|
|
62
|
+
/**
|
|
63
|
+
* Time at which the object was created.
|
|
64
|
+
* @type {string}
|
|
65
|
+
* @memberof ProductClass
|
|
66
|
+
*/
|
|
67
|
+
'createdAt': string;
|
|
68
|
+
/**
|
|
69
|
+
* Time at which the object was updated.
|
|
70
|
+
* @type {string}
|
|
71
|
+
* @memberof ProductClass
|
|
72
|
+
*/
|
|
73
|
+
'updatedAt': string;
|
|
74
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Emil PublicAPI
|
|
6
|
+
* The Emil Public 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 });
|
|
@@ -69,6 +69,18 @@ export interface ProductFieldClass {
|
|
|
69
69
|
* @memberof ProductFieldClass
|
|
70
70
|
*/
|
|
71
71
|
'isHidden': boolean;
|
|
72
|
+
/**
|
|
73
|
+
* Is field hidden on the customer portal?
|
|
74
|
+
* @type {boolean}
|
|
75
|
+
* @memberof ProductFieldClass
|
|
76
|
+
*/
|
|
77
|
+
'isHiddenCustomerPortal': boolean;
|
|
78
|
+
/**
|
|
79
|
+
* Is field editable on the customer portal?
|
|
80
|
+
* @type {boolean}
|
|
81
|
+
* @memberof ProductFieldClass
|
|
82
|
+
*/
|
|
83
|
+
'isEditableCustomerPortal': boolean;
|
|
72
84
|
/**
|
|
73
85
|
* Is this a system field? - System fields can neither be deleted nor modified
|
|
74
86
|
* @type {boolean}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Emil PublicAPI
|
|
3
|
+
* The Emil Public 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
|
+
export declare const ProductVersionClassStatusEnum: {
|
|
56
|
+
readonly Draft: "draft";
|
|
57
|
+
readonly Active: "active";
|
|
58
|
+
readonly Passive: "passive";
|
|
59
|
+
readonly Archived: "archived";
|
|
60
|
+
};
|
|
61
|
+
export type ProductVersionClassStatusEnum = typeof ProductVersionClassStatusEnum[keyof typeof ProductVersionClassStatusEnum];
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Emil PublicAPI
|
|
6
|
+
* The Emil Public 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.ProductVersionClassStatusEnum = void 0;
|
|
17
|
+
exports.ProductVersionClassStatusEnum = {
|
|
18
|
+
Draft: 'draft',
|
|
19
|
+
Active: 'active',
|
|
20
|
+
Passive: 'passive',
|
|
21
|
+
Archived: 'archived'
|
|
22
|
+
};
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
*/
|
|
17
17
|
export interface SendNotificationRequestDto {
|
|
18
18
|
/**
|
|
19
|
-
* A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
|
|
19
|
+
* A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
|
|
20
20
|
* @type {string}
|
|
21
21
|
* @memberof SendNotificationRequestDto
|
|
22
22
|
*/
|
|
@@ -26,6 +26,12 @@ export interface UpdateLeadRequestDto {
|
|
|
26
26
|
* @memberof UpdateLeadRequestDto
|
|
27
27
|
*/
|
|
28
28
|
'code': string;
|
|
29
|
+
/**
|
|
30
|
+
* Unique identifier referencing the product version.
|
|
31
|
+
* @type {number}
|
|
32
|
+
* @memberof UpdateLeadRequestDto
|
|
33
|
+
*/
|
|
34
|
+
'productVersionId'?: number;
|
|
29
35
|
/**
|
|
30
36
|
* Unique identifier of the product that this object belongs to.
|
|
31
37
|
* @type {string}
|
package/index.ts
CHANGED
|
@@ -75,17 +75,29 @@ export interface CreateAccountRequestDto {
|
|
|
75
75
|
*/
|
|
76
76
|
'houseNumber': string;
|
|
77
77
|
/**
|
|
78
|
-
* Customer birth date
|
|
78
|
+
* Customer birth date (Required for account of type person).
|
|
79
79
|
* @type {string}
|
|
80
80
|
* @memberof CreateAccountRequestDto
|
|
81
81
|
*/
|
|
82
|
-
'birthDate'
|
|
82
|
+
'birthDate'?: string;
|
|
83
83
|
/**
|
|
84
84
|
* Customer phone number
|
|
85
85
|
* @type {string}
|
|
86
86
|
* @memberof CreateAccountRequestDto
|
|
87
87
|
*/
|
|
88
88
|
'phone': string;
|
|
89
|
+
/**
|
|
90
|
+
* Optional field to enter the type of the account.
|
|
91
|
+
* @type {string}
|
|
92
|
+
* @memberof CreateAccountRequestDto
|
|
93
|
+
*/
|
|
94
|
+
'type'?: CreateAccountRequestDtoTypeEnum;
|
|
95
|
+
/**
|
|
96
|
+
* Customer company name (Required for account of type org).
|
|
97
|
+
* @type {string}
|
|
98
|
+
* @memberof CreateAccountRequestDto
|
|
99
|
+
*/
|
|
100
|
+
'companyName'?: string;
|
|
89
101
|
/**
|
|
90
102
|
* Account number
|
|
91
103
|
* @type {string}
|
|
@@ -121,5 +133,11 @@ export const CreateAccountRequestDtoGenderEnum = {
|
|
|
121
133
|
} as const;
|
|
122
134
|
|
|
123
135
|
export type CreateAccountRequestDtoGenderEnum = typeof CreateAccountRequestDtoGenderEnum[keyof typeof CreateAccountRequestDtoGenderEnum];
|
|
136
|
+
export const CreateAccountRequestDtoTypeEnum = {
|
|
137
|
+
Person: 'person',
|
|
138
|
+
Org: 'org'
|
|
139
|
+
} as const;
|
|
140
|
+
|
|
141
|
+
export type CreateAccountRequestDtoTypeEnum = typeof CreateAccountRequestDtoTypeEnum[keyof typeof CreateAccountRequestDtoTypeEnum];
|
|
124
142
|
|
|
125
143
|
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
*/
|
|
22
22
|
export interface CreateDocumentRequestDto {
|
|
23
23
|
/**
|
|
24
|
-
* A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
|
|
24
|
+
* A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
|
|
25
25
|
* @type {string}
|
|
26
26
|
* @memberof CreateDocumentRequestDto
|
|
27
27
|
*/
|
|
@@ -22,6 +22,12 @@ import { PremiumOverrideRequestDto } from './premium-override-request-dto';
|
|
|
22
22
|
* @interface CreateEstimatedInvoiceRequestDto
|
|
23
23
|
*/
|
|
24
24
|
export interface CreateEstimatedInvoiceRequestDto {
|
|
25
|
+
/**
|
|
26
|
+
* Unique identifier referencing the product version.
|
|
27
|
+
* @type {number}
|
|
28
|
+
* @memberof CreateEstimatedInvoiceRequestDto
|
|
29
|
+
*/
|
|
30
|
+
'productVersionId'?: number;
|
|
25
31
|
/**
|
|
26
32
|
* The policy objects to calculate premium.
|
|
27
33
|
* @type {Array<PolicyObjectRequestDto>}
|
|
@@ -31,6 +31,12 @@ export interface CreateLeadRequestDto {
|
|
|
31
31
|
* @memberof CreateLeadRequestDto
|
|
32
32
|
*/
|
|
33
33
|
'code'?: string;
|
|
34
|
+
/**
|
|
35
|
+
* Unique identifier referencing the product version.
|
|
36
|
+
* @type {number}
|
|
37
|
+
* @memberof CreateLeadRequestDto
|
|
38
|
+
*/
|
|
39
|
+
'productVersionId'?: number;
|
|
34
40
|
/**
|
|
35
41
|
* Unique identifier of the product that this object belongs to.
|
|
36
42
|
* @type {string}
|
package/models/document-class.ts
CHANGED
|
@@ -33,7 +33,7 @@ export interface DocumentClass {
|
|
|
33
33
|
*/
|
|
34
34
|
'code': string;
|
|
35
35
|
/**
|
|
36
|
-
* A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
|
|
36
|
+
* A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
|
|
37
37
|
* @type {string}
|
|
38
38
|
* @memberof DocumentClass
|
|
39
39
|
*/
|
package/models/index.ts
CHANGED
|
@@ -32,12 +32,15 @@ export * from './lead-class';
|
|
|
32
32
|
export * from './lead-policy-class';
|
|
33
33
|
export * from './lead-policy-object-class';
|
|
34
34
|
export * from './list-documents-response-class';
|
|
35
|
+
export * from './list-products-response-class';
|
|
35
36
|
export * from './payment-method-class';
|
|
36
37
|
export * from './policy-object-request-dto';
|
|
37
38
|
export * from './premium-override-dto';
|
|
38
39
|
export * from './premium-override-request-dto';
|
|
40
|
+
export * from './product-class';
|
|
39
41
|
export * from './product-factor-class';
|
|
40
42
|
export * from './product-field-class';
|
|
43
|
+
export * from './product-version-class';
|
|
41
44
|
export * from './send-notification-request-dto';
|
|
42
45
|
export * from './send-notification-response-class';
|
|
43
46
|
export * from './update-lead-request-dto';
|
|
@@ -33,7 +33,7 @@ export interface InsuredObjectTypeClass {
|
|
|
33
33
|
*/
|
|
34
34
|
'name': string;
|
|
35
35
|
/**
|
|
36
|
-
* A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
|
|
36
|
+
* A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
|
|
37
37
|
* @type {string}
|
|
38
38
|
* @memberof InsuredObjectTypeClass
|
|
39
39
|
*/
|
package/models/lead-class.ts
CHANGED
|
@@ -79,5 +79,17 @@ export interface LeadClass {
|
|
|
79
79
|
* @memberof LeadClass
|
|
80
80
|
*/
|
|
81
81
|
'customData'?: object;
|
|
82
|
+
/**
|
|
83
|
+
* Time at which the object was created.
|
|
84
|
+
* @type {string}
|
|
85
|
+
* @memberof LeadClass
|
|
86
|
+
*/
|
|
87
|
+
'createdAt': string;
|
|
88
|
+
/**
|
|
89
|
+
* Time at which the object was updated.
|
|
90
|
+
* @type {string}
|
|
91
|
+
* @memberof LeadClass
|
|
92
|
+
*/
|
|
93
|
+
'updatedAt': string;
|
|
82
94
|
}
|
|
83
95
|
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Emil PublicAPI
|
|
5
|
+
* The Emil Public 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 { ProductClass } from './product-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface ListProductsResponseClass
|
|
22
|
+
*/
|
|
23
|
+
export interface ListProductsResponseClass {
|
|
24
|
+
/**
|
|
25
|
+
* List of products.
|
|
26
|
+
* @type {Array<ProductClass>}
|
|
27
|
+
* @memberof ListProductsResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'items': Array<ProductClass>;
|
|
30
|
+
/**
|
|
31
|
+
* Next page token.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof ListProductsResponseClass
|
|
34
|
+
*/
|
|
35
|
+
'nextPageToken': string;
|
|
36
|
+
}
|
|
37
|
+
|
|
@@ -55,7 +55,8 @@ export const PremiumOverrideDtoUnitEnum = {
|
|
|
55
55
|
Day: 'day',
|
|
56
56
|
Week: 'week',
|
|
57
57
|
Month: 'month',
|
|
58
|
-
Year: 'year'
|
|
58
|
+
Year: 'year',
|
|
59
|
+
OneTimePayment: 'oneTimePayment'
|
|
59
60
|
} as const;
|
|
60
61
|
|
|
61
62
|
export type PremiumOverrideDtoUnitEnum = typeof PremiumOverrideDtoUnitEnum[keyof typeof PremiumOverrideDtoUnitEnum];
|