@emilgroup/public-api-sdk 1.0.0 → 1.2.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 (38) hide show
  1. package/.openapi-generator/FILES +3 -0
  2. package/README.md +2 -2
  3. package/api/products-api.ts +174 -0
  4. package/dist/api/products-api.d.ts +101 -0
  5. package/dist/api/products-api.js +123 -0
  6. package/dist/models/create-account-request-dto.d.ts +20 -3
  7. package/dist/models/create-account-request-dto.js +5 -1
  8. package/dist/models/create-bank-account-request-dto.d.ts +1 -1
  9. package/dist/models/create-document-request-dto.d.ts +1 -1
  10. package/dist/models/create-estimated-invoice-response-class.d.ts +1 -1
  11. package/dist/models/document-class.d.ts +1 -1
  12. package/dist/models/index.d.ts +3 -0
  13. package/dist/models/index.js +3 -0
  14. package/dist/models/insured-object-type-class.d.ts +1 -1
  15. package/dist/models/lead-class.d.ts +4 -4
  16. package/dist/models/list-products-response-class.d.ts +31 -0
  17. package/dist/models/list-products-response-class.js +15 -0
  18. package/dist/models/premium-override-dto.d.ts +1 -0
  19. package/dist/models/premium-override-dto.js +2 -1
  20. package/dist/models/product-class.d.ts +74 -0
  21. package/dist/models/product-class.js +15 -0
  22. package/dist/models/product-version-class.d.ts +61 -0
  23. package/dist/models/product-version-class.js +22 -0
  24. package/dist/models/send-notification-request-dto.d.ts +1 -1
  25. package/models/create-account-request-dto.ts +21 -3
  26. package/models/create-bank-account-request-dto.ts +1 -1
  27. package/models/create-document-request-dto.ts +1 -1
  28. package/models/create-estimated-invoice-response-class.ts +1 -1
  29. package/models/document-class.ts +1 -1
  30. package/models/index.ts +3 -0
  31. package/models/insured-object-type-class.ts +1 -1
  32. package/models/lead-class.ts +4 -4
  33. package/models/list-products-response-class.ts +37 -0
  34. package/models/premium-override-dto.ts +2 -1
  35. package/models/product-class.ts +80 -0
  36. package/models/product-version-class.ts +70 -0
  37. package/models/send-notification-request-dto.ts +1 -1
  38. package/package.json +1 -2
@@ -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';
@@ -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. In this case, the template used for the undefined.
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
  */
@@ -55,23 +55,23 @@ export interface LeadClass {
55
55
  * @type {LeadBankAccountClass}
56
56
  * @memberof LeadClass
57
57
  */
58
- 'bankAccount': LeadBankAccountClass;
58
+ 'bankAccount'?: LeadBankAccountClass;
59
59
  /**
60
60
  * Premium overrides
61
61
  * @type {Array<PremiumOverrideDto>}
62
62
  * @memberof LeadClass
63
63
  */
64
- 'premiumOverrides': Array<PremiumOverrideDto>;
64
+ 'premiumOverrides'?: Array<PremiumOverrideDto>;
65
65
  /**
66
66
  * Codes for documents to be uploaded
67
67
  * @type {UploadedDocumentDto}
68
68
  * @memberof LeadClass
69
69
  */
70
- 'uploadedDocument': UploadedDocumentDto;
70
+ 'uploadedDocument'?: UploadedDocumentDto;
71
71
  /**
72
72
  * Custom data.
73
73
  * @type {object}
74
74
  * @memberof LeadClass
75
75
  */
76
- 'customData': object;
76
+ 'customData'?: object;
77
77
  }
@@ -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];
@@ -21,5 +21,6 @@ exports.PremiumOverrideDtoUnitEnum = {
21
21
  Day: 'day',
22
22
  Week: 'week',
23
23
  Month: 'month',
24
- Year: 'year'
24
+ Year: 'year',
25
+ OneTimePayment: 'oneTimePayment'
25
26
  };
@@ -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 });
@@ -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. In this case, the template used for the email.
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
  */
@@ -75,23 +75,35 @@ 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': string;
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}
92
104
  * @memberof CreateAccountRequestDto
93
105
  */
94
- 'accountNumber': string;
106
+ 'accountNumber'?: string;
95
107
  /**
96
108
  * Custom fields could be included additional required/optional fields that the account would need for specific cases.
97
109
  * @type {object}
@@ -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
 
@@ -25,7 +25,7 @@ export interface CreateBankAccountRequestDto {
25
25
  * @type {string}
26
26
  * @memberof CreateBankAccountRequestDto
27
27
  */
28
- 'accountCode': string;
28
+ 'accountCode'?: string;
29
29
  /**
30
30
  * Bank account IBAN
31
31
  * @type {string}
@@ -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. In this case, the template used for the document.
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
  */
@@ -28,7 +28,7 @@ export interface CreateEstimatedInvoiceResponseClass {
28
28
  */
29
29
  'invoice'?: InvoiceClass;
30
30
  /**
31
- * This value will not be null when using a custom premium calculation. For more information, check the general documentation.
31
+ * In some cases, custom premium calculation needs to be used. In that case, a custom object is returned. It can hold up any kind of information. For more information, check the general documentation.
32
32
  * @type {object}
33
33
  * @memberof CreateEstimatedInvoiceResponseClass
34
34
  */
@@ -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. In this case, the template used for the document.
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. In this case, the template used for the undefined.
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
  */
@@ -60,24 +60,24 @@ export interface LeadClass {
60
60
  * @type {LeadBankAccountClass}
61
61
  * @memberof LeadClass
62
62
  */
63
- 'bankAccount': LeadBankAccountClass;
63
+ 'bankAccount'?: LeadBankAccountClass;
64
64
  /**
65
65
  * Premium overrides
66
66
  * @type {Array<PremiumOverrideDto>}
67
67
  * @memberof LeadClass
68
68
  */
69
- 'premiumOverrides': Array<PremiumOverrideDto>;
69
+ 'premiumOverrides'?: Array<PremiumOverrideDto>;
70
70
  /**
71
71
  * Codes for documents to be uploaded
72
72
  * @type {UploadedDocumentDto}
73
73
  * @memberof LeadClass
74
74
  */
75
- 'uploadedDocument': UploadedDocumentDto;
75
+ 'uploadedDocument'?: UploadedDocumentDto;
76
76
  /**
77
77
  * Custom data.
78
78
  * @type {object}
79
79
  * @memberof LeadClass
80
80
  */
81
- 'customData': object;
81
+ 'customData'?: object;
82
82
  }
83
83
 
@@ -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];
@@ -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
+
@@ -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
+