@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
|
@@ -0,0 +1,80 @@
|
|
|
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 { InsuredObjectTypeClass } from './insured-object-type-class';
|
|
17
|
+
import { ProductVersionClass } from './product-version-class';
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @export
|
|
22
|
+
* @interface ProductClass
|
|
23
|
+
*/
|
|
24
|
+
export interface ProductClass {
|
|
25
|
+
/**
|
|
26
|
+
* Internal unique identifier for the object. You should not have to use this, use code instead.
|
|
27
|
+
* @type {number}
|
|
28
|
+
* @memberof ProductClass
|
|
29
|
+
*/
|
|
30
|
+
'id': number;
|
|
31
|
+
/**
|
|
32
|
+
* Unique identifier for the object.
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof ProductClass
|
|
35
|
+
*/
|
|
36
|
+
'code': string;
|
|
37
|
+
/**
|
|
38
|
+
* Product\'s name.
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof ProductClass
|
|
41
|
+
*/
|
|
42
|
+
'name': string;
|
|
43
|
+
/**
|
|
44
|
+
* A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
|
|
45
|
+
* @type {string}
|
|
46
|
+
* @memberof ProductClass
|
|
47
|
+
*/
|
|
48
|
+
'slug': string;
|
|
49
|
+
/**
|
|
50
|
+
* Insured object types covered under product.
|
|
51
|
+
* @type {Array<InsuredObjectTypeClass>}
|
|
52
|
+
* @memberof ProductClass
|
|
53
|
+
*/
|
|
54
|
+
'insuredObjectTypes': Array<InsuredObjectTypeClass>;
|
|
55
|
+
/**
|
|
56
|
+
* Contract duration in days.
|
|
57
|
+
* @type {number}
|
|
58
|
+
* @memberof ProductClass
|
|
59
|
+
*/
|
|
60
|
+
'contractDurationDays': number;
|
|
61
|
+
/**
|
|
62
|
+
* Product versions.
|
|
63
|
+
* @type {Array<ProductVersionClass>}
|
|
64
|
+
* @memberof ProductClass
|
|
65
|
+
*/
|
|
66
|
+
'versions': Array<ProductVersionClass>;
|
|
67
|
+
/**
|
|
68
|
+
* Time at which the object was created.
|
|
69
|
+
* @type {string}
|
|
70
|
+
* @memberof ProductClass
|
|
71
|
+
*/
|
|
72
|
+
'createdAt': string;
|
|
73
|
+
/**
|
|
74
|
+
* Time at which the object was updated.
|
|
75
|
+
* @type {string}
|
|
76
|
+
* @memberof ProductClass
|
|
77
|
+
*/
|
|
78
|
+
'updatedAt': string;
|
|
79
|
+
}
|
|
80
|
+
|
|
@@ -74,6 +74,18 @@ export interface ProductFieldClass {
|
|
|
74
74
|
* @memberof ProductFieldClass
|
|
75
75
|
*/
|
|
76
76
|
'isHidden': boolean;
|
|
77
|
+
/**
|
|
78
|
+
* Is field hidden on the customer portal?
|
|
79
|
+
* @type {boolean}
|
|
80
|
+
* @memberof ProductFieldClass
|
|
81
|
+
*/
|
|
82
|
+
'isHiddenCustomerPortal': boolean;
|
|
83
|
+
/**
|
|
84
|
+
* Is field editable on the customer portal?
|
|
85
|
+
* @type {boolean}
|
|
86
|
+
* @memberof ProductFieldClass
|
|
87
|
+
*/
|
|
88
|
+
'isEditableCustomerPortal': boolean;
|
|
77
89
|
/**
|
|
78
90
|
* Is this a system field? - System fields can neither be deleted nor modified
|
|
79
91
|
* @type {boolean}
|
|
@@ -0,0 +1,70 @@
|
|
|
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
|
+
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
* @interface ProductVersionClass
|
|
21
|
+
*/
|
|
22
|
+
export interface ProductVersionClass {
|
|
23
|
+
/**
|
|
24
|
+
* Internal unique identifier for the object. You should not have to use this, use code instead.
|
|
25
|
+
* @type {number}
|
|
26
|
+
* @memberof ProductVersionClass
|
|
27
|
+
*/
|
|
28
|
+
'id': number;
|
|
29
|
+
/**
|
|
30
|
+
* Unique identifier referencing the product.
|
|
31
|
+
* @type {number}
|
|
32
|
+
* @memberof ProductVersionClass
|
|
33
|
+
*/
|
|
34
|
+
'productId': number;
|
|
35
|
+
/**
|
|
36
|
+
* Product version description.
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof ProductVersionClass
|
|
39
|
+
*/
|
|
40
|
+
'description': string;
|
|
41
|
+
/**
|
|
42
|
+
* Product version status.
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof ProductVersionClass
|
|
45
|
+
*/
|
|
46
|
+
'status': ProductVersionClassStatusEnum;
|
|
47
|
+
/**
|
|
48
|
+
* Time at which the object was created.
|
|
49
|
+
* @type {string}
|
|
50
|
+
* @memberof ProductVersionClass
|
|
51
|
+
*/
|
|
52
|
+
'createdAt': string;
|
|
53
|
+
/**
|
|
54
|
+
* Time at which the object was updated.
|
|
55
|
+
* @type {string}
|
|
56
|
+
* @memberof ProductVersionClass
|
|
57
|
+
*/
|
|
58
|
+
'updatedAt': string;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
export const ProductVersionClassStatusEnum = {
|
|
62
|
+
Draft: 'draft',
|
|
63
|
+
Active: 'active',
|
|
64
|
+
Passive: 'passive',
|
|
65
|
+
Archived: 'archived'
|
|
66
|
+
} as const;
|
|
67
|
+
|
|
68
|
+
export type ProductVersionClassStatusEnum = typeof ProductVersionClassStatusEnum[keyof typeof ProductVersionClassStatusEnum];
|
|
69
|
+
|
|
70
|
+
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
*/
|
|
22
22
|
export interface SendNotificationRequestDto {
|
|
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 SendNotificationRequestDto
|
|
27
27
|
*/
|
|
@@ -31,6 +31,12 @@ export interface UpdateLeadRequestDto {
|
|
|
31
31
|
* @memberof UpdateLeadRequestDto
|
|
32
32
|
*/
|
|
33
33
|
'code': string;
|
|
34
|
+
/**
|
|
35
|
+
* Unique identifier referencing the product version.
|
|
36
|
+
* @type {number}
|
|
37
|
+
* @memberof UpdateLeadRequestDto
|
|
38
|
+
*/
|
|
39
|
+
'productVersionId'?: number;
|
|
34
40
|
/**
|
|
35
41
|
* Unique identifier of the product that this object belongs to.
|
|
36
42
|
* @type {string}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@emilgroup/public-api-sdk",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.3.0",
|
|
4
4
|
"description": "OpenAPI client for @emilgroup/public-api-sdk",
|
|
5
5
|
"author": "OpenAPI-Generator Contributors",
|
|
6
6
|
"keywords": [
|
|
@@ -21,7 +21,6 @@
|
|
|
21
21
|
"axios": "^0.27.2"
|
|
22
22
|
},
|
|
23
23
|
"devDependencies": {
|
|
24
|
-
|
|
25
24
|
"typescript": "^4.0"
|
|
26
25
|
}
|
|
27
26
|
}
|