@digital8/lighting-illusions-ts-sdk 0.0.1064 → 0.0.1065
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/README.md +2 -2
- package/dist/models/ProductChildOverlayRelationResource.d.ts +6 -0
- package/dist/models/ProductChildOverlayRelationResource.js +4 -0
- package/docs/ProductChildOverlayRelationResource.md +2 -0
- package/package.json +1 -1
- package/src/models/ProductChildOverlayRelationResource.ts +9 -0
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# @digital8/lighting-illusions-ts-sdk@0.0.
|
|
1
|
+
# @digital8/lighting-illusions-ts-sdk@0.0.1065
|
|
2
2
|
|
|
3
3
|
A TypeScript SDK client for the localhost API.
|
|
4
4
|
|
|
@@ -472,7 +472,7 @@ and is automatically generated by the
|
|
|
472
472
|
[OpenAPI Generator](https://openapi-generator.tech) project:
|
|
473
473
|
|
|
474
474
|
- API version: `1.0.0`
|
|
475
|
-
- Package version: `0.0.
|
|
475
|
+
- Package version: `0.0.1065`
|
|
476
476
|
- Generator version: `7.20.0`
|
|
477
477
|
- Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
|
|
478
478
|
|
|
@@ -22,6 +22,12 @@ export interface ProductChildOverlayRelationResource {
|
|
|
22
22
|
* @memberof ProductChildOverlayRelationResource
|
|
23
23
|
*/
|
|
24
24
|
id: number;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {number}
|
|
28
|
+
* @memberof ProductChildOverlayRelationResource
|
|
29
|
+
*/
|
|
30
|
+
parentId: number;
|
|
25
31
|
/**
|
|
26
32
|
*
|
|
27
33
|
* @type {string}
|
|
@@ -25,6 +25,8 @@ var AssetResource_1 = require("./AssetResource");
|
|
|
25
25
|
function instanceOfProductChildOverlayRelationResource(value) {
|
|
26
26
|
if (!('id' in value) || value['id'] === undefined)
|
|
27
27
|
return false;
|
|
28
|
+
if (!('parentId' in value) || value['parentId'] === undefined)
|
|
29
|
+
return false;
|
|
28
30
|
if (!('parentName' in value) || value['parentName'] === undefined)
|
|
29
31
|
return false;
|
|
30
32
|
if (!('name' in value) || value['name'] === undefined)
|
|
@@ -50,6 +52,7 @@ function ProductChildOverlayRelationResourceFromJSONTyped(json, ignoreDiscrimina
|
|
|
50
52
|
}
|
|
51
53
|
return {
|
|
52
54
|
'id': json['id'],
|
|
55
|
+
'parentId': json['parentId'],
|
|
53
56
|
'parentName': json['parentName'],
|
|
54
57
|
'name': json['name'],
|
|
55
58
|
'modelNumber': json['modelNumber'],
|
|
@@ -70,6 +73,7 @@ function ProductChildOverlayRelationResourceToJSONTyped(value, ignoreDiscriminat
|
|
|
70
73
|
}
|
|
71
74
|
return {
|
|
72
75
|
'id': value['id'],
|
|
76
|
+
'parentId': value['parentId'],
|
|
73
77
|
'parentName': value['parentName'],
|
|
74
78
|
'name': value['name'],
|
|
75
79
|
'modelNumber': value['modelNumber'],
|
|
@@ -7,6 +7,7 @@
|
|
|
7
7
|
Name | Type
|
|
8
8
|
------------ | -------------
|
|
9
9
|
`id` | number
|
|
10
|
+
`parentId` | number
|
|
10
11
|
`parentName` | string
|
|
11
12
|
`name` | string
|
|
12
13
|
`modelNumber` | string
|
|
@@ -24,6 +25,7 @@ import type { ProductChildOverlayRelationResource } from '@digital8/lighting-ill
|
|
|
24
25
|
// TODO: Update the object below with actual values
|
|
25
26
|
const example = {
|
|
26
27
|
"id": null,
|
|
28
|
+
"parentId": null,
|
|
27
29
|
"parentName": null,
|
|
28
30
|
"name": null,
|
|
29
31
|
"modelNumber": null,
|
package/package.json
CHANGED
|
@@ -33,6 +33,12 @@ export interface ProductChildOverlayRelationResource {
|
|
|
33
33
|
* @memberof ProductChildOverlayRelationResource
|
|
34
34
|
*/
|
|
35
35
|
id: number;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof ProductChildOverlayRelationResource
|
|
40
|
+
*/
|
|
41
|
+
parentId: number;
|
|
36
42
|
/**
|
|
37
43
|
*
|
|
38
44
|
* @type {string}
|
|
@@ -88,6 +94,7 @@ export interface ProductChildOverlayRelationResource {
|
|
|
88
94
|
*/
|
|
89
95
|
export function instanceOfProductChildOverlayRelationResource(value: object): value is ProductChildOverlayRelationResource {
|
|
90
96
|
if (!('id' in value) || value['id'] === undefined) return false;
|
|
97
|
+
if (!('parentId' in value) || value['parentId'] === undefined) return false;
|
|
91
98
|
if (!('parentName' in value) || value['parentName'] === undefined) return false;
|
|
92
99
|
if (!('name' in value) || value['name'] === undefined) return false;
|
|
93
100
|
if (!('modelNumber' in value) || value['modelNumber'] === undefined) return false;
|
|
@@ -109,6 +116,7 @@ export function ProductChildOverlayRelationResourceFromJSONTyped(json: any, igno
|
|
|
109
116
|
return {
|
|
110
117
|
|
|
111
118
|
'id': json['id'],
|
|
119
|
+
'parentId': json['parentId'],
|
|
112
120
|
'parentName': json['parentName'],
|
|
113
121
|
'name': json['name'],
|
|
114
122
|
'modelNumber': json['modelNumber'],
|
|
@@ -132,6 +140,7 @@ export function ProductChildOverlayRelationResourceToJSONTyped(value?: ProductCh
|
|
|
132
140
|
return {
|
|
133
141
|
|
|
134
142
|
'id': value['id'],
|
|
143
|
+
'parentId': value['parentId'],
|
|
135
144
|
'parentName': value['parentName'],
|
|
136
145
|
'name': value['name'],
|
|
137
146
|
'modelNumber': value['modelNumber'],
|