@digital8/lighting-illusions-ts-sdk 0.0.833 → 0.0.835
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
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# @digital8/lighting-illusions-ts-sdk@0.0.
|
|
1
|
+
# @digital8/lighting-illusions-ts-sdk@0.0.835
|
|
2
2
|
|
|
3
3
|
A TypeScript SDK client for the localhost API.
|
|
4
4
|
|
|
@@ -463,7 +463,7 @@ and is automatically generated by the
|
|
|
463
463
|
[OpenAPI Generator](https://openapi-generator.tech) project:
|
|
464
464
|
|
|
465
465
|
- API version: `1.0.0`
|
|
466
|
-
- Package version: `0.0.
|
|
466
|
+
- Package version: `0.0.835`
|
|
467
467
|
- Generator version: `7.19.0`
|
|
468
468
|
- Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
|
|
469
469
|
|
|
@@ -86,6 +86,12 @@ export interface ProductResource {
|
|
|
86
86
|
* @memberof ProductResource
|
|
87
87
|
*/
|
|
88
88
|
sites: Array<SiteLiteResource> | null;
|
|
89
|
+
/**
|
|
90
|
+
*
|
|
91
|
+
* @type {Array<boolean>}
|
|
92
|
+
* @memberof ProductResource
|
|
93
|
+
*/
|
|
94
|
+
lockedSiteIds: Array<boolean>;
|
|
89
95
|
/**
|
|
90
96
|
*
|
|
91
97
|
* @type {object}
|
|
@@ -49,6 +49,8 @@ function instanceOfProductResource(value) {
|
|
|
49
49
|
return false;
|
|
50
50
|
if (!('sites' in value) || value['sites'] === undefined)
|
|
51
51
|
return false;
|
|
52
|
+
if (!('lockedSiteIds' in value) || value['lockedSiteIds'] === undefined)
|
|
53
|
+
return false;
|
|
52
54
|
if (!('children' in value) || value['children'] === undefined)
|
|
53
55
|
return false;
|
|
54
56
|
return true;
|
|
@@ -72,6 +74,7 @@ function ProductResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
72
74
|
'supplier': (0, SupplierLiteResource_1.SupplierLiteResourceFromJSON)(json['supplier']),
|
|
73
75
|
'productType': (0, ProductTypeLiteResource_1.ProductTypeLiteResourceFromJSON)(json['productType']),
|
|
74
76
|
'sites': (json['sites'] == null ? null : json['sites'].map(SiteLiteResource_1.SiteLiteResourceFromJSON)),
|
|
77
|
+
'lockedSiteIds': json['lockedSiteIds'],
|
|
75
78
|
'children': json['children'],
|
|
76
79
|
};
|
|
77
80
|
}
|
|
@@ -95,6 +98,7 @@ function ProductResourceToJSONTyped(value, ignoreDiscriminator) {
|
|
|
95
98
|
'supplier': (0, SupplierLiteResource_1.SupplierLiteResourceToJSON)(value['supplier']),
|
|
96
99
|
'productType': (0, ProductTypeLiteResource_1.ProductTypeLiteResourceToJSON)(value['productType']),
|
|
97
100
|
'sites': (value['sites'] == null ? null : value['sites'].map(SiteLiteResource_1.SiteLiteResourceToJSON)),
|
|
101
|
+
'lockedSiteIds': value['lockedSiteIds'],
|
|
98
102
|
'children': value['children'],
|
|
99
103
|
};
|
|
100
104
|
}
|
package/docs/ProductResource.md
CHANGED
|
@@ -17,6 +17,7 @@ Name | Type
|
|
|
17
17
|
`supplier` | [SupplierLiteResource](SupplierLiteResource.md)
|
|
18
18
|
`productType` | [ProductTypeLiteResource](ProductTypeLiteResource.md)
|
|
19
19
|
`sites` | [Array<SiteLiteResource>](SiteLiteResource.md)
|
|
20
|
+
`lockedSiteIds` | Array<boolean>
|
|
20
21
|
`children` | object
|
|
21
22
|
|
|
22
23
|
## Example
|
|
@@ -37,6 +38,7 @@ const example = {
|
|
|
37
38
|
"supplier": null,
|
|
38
39
|
"productType": null,
|
|
39
40
|
"sites": null,
|
|
41
|
+
"lockedSiteIds": null,
|
|
40
42
|
"children": null,
|
|
41
43
|
} satisfies ProductResource
|
|
42
44
|
|
package/package.json
CHANGED
|
@@ -121,6 +121,12 @@ export interface ProductResource {
|
|
|
121
121
|
* @memberof ProductResource
|
|
122
122
|
*/
|
|
123
123
|
sites: Array<SiteLiteResource> | null;
|
|
124
|
+
/**
|
|
125
|
+
*
|
|
126
|
+
* @type {Array<boolean>}
|
|
127
|
+
* @memberof ProductResource
|
|
128
|
+
*/
|
|
129
|
+
lockedSiteIds: Array<boolean>;
|
|
124
130
|
/**
|
|
125
131
|
*
|
|
126
132
|
* @type {object}
|
|
@@ -144,6 +150,7 @@ export function instanceOfProductResource(value: object): value is ProductResour
|
|
|
144
150
|
if (!('supplier' in value) || value['supplier'] === undefined) return false;
|
|
145
151
|
if (!('productType' in value) || value['productType'] === undefined) return false;
|
|
146
152
|
if (!('sites' in value) || value['sites'] === undefined) return false;
|
|
153
|
+
if (!('lockedSiteIds' in value) || value['lockedSiteIds'] === undefined) return false;
|
|
147
154
|
if (!('children' in value) || value['children'] === undefined) return false;
|
|
148
155
|
return true;
|
|
149
156
|
}
|
|
@@ -169,6 +176,7 @@ export function ProductResourceFromJSONTyped(json: any, ignoreDiscriminator: boo
|
|
|
169
176
|
'supplier': SupplierLiteResourceFromJSON(json['supplier']),
|
|
170
177
|
'productType': ProductTypeLiteResourceFromJSON(json['productType']),
|
|
171
178
|
'sites': (json['sites'] == null ? null : (json['sites'] as Array<any>).map(SiteLiteResourceFromJSON)),
|
|
179
|
+
'lockedSiteIds': json['lockedSiteIds'],
|
|
172
180
|
'children': json['children'],
|
|
173
181
|
};
|
|
174
182
|
}
|
|
@@ -195,6 +203,7 @@ export function ProductResourceToJSONTyped(value?: ProductResource | null, ignor
|
|
|
195
203
|
'supplier': SupplierLiteResourceToJSON(value['supplier']),
|
|
196
204
|
'productType': ProductTypeLiteResourceToJSON(value['productType']),
|
|
197
205
|
'sites': (value['sites'] == null ? null : (value['sites'] as Array<any>).map(SiteLiteResourceToJSON)),
|
|
206
|
+
'lockedSiteIds': value['lockedSiteIds'],
|
|
198
207
|
'children': value['children'],
|
|
199
208
|
};
|
|
200
209
|
}
|