@emilgroup/public-api-sdk-node 1.5.0 → 1.5.2
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 -6
- 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 -5
- package/dist/api.js +0 -7
- package/dist/base.d.ts +2 -1
- package/dist/base.js +1 -0
- 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-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/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-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 -1
|
@@ -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}
|