@digital8/lighting-illusions-ts-sdk 0.0.1027 → 0.0.1028

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.1027
1
+ # @digital8/lighting-illusions-ts-sdk@0.0.1028
2
2
 
3
3
  A TypeScript SDK client for the localhost API.
4
4
 
@@ -468,7 +468,7 @@ and is automatically generated by the
468
468
  [OpenAPI Generator](https://openapi-generator.tech) project:
469
469
 
470
470
  - API version: `1.0.0`
471
- - Package version: `0.0.1027`
471
+ - Package version: `0.0.1028`
472
472
  - Generator version: `7.20.0`
473
473
  - Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
474
474
 
@@ -179,6 +179,18 @@ export interface ProductChildResource {
179
179
  * @memberof ProductChildResource
180
180
  */
181
181
  attributes: object;
182
+ /**
183
+ *
184
+ * @type {Array<object>}
185
+ * @memberof ProductChildResource
186
+ */
187
+ productClasses: Array<object>;
188
+ /**
189
+ *
190
+ * @type {string}
191
+ * @memberof ProductChildResource
192
+ */
193
+ productClassString: string;
182
194
  }
183
195
  /**
184
196
  * Check if a given object implements the ProductChildResource interface.
@@ -72,6 +72,10 @@ function instanceOfProductChildResource(value) {
72
72
  return false;
73
73
  if (!('attributes' in value) || value['attributes'] === undefined)
74
74
  return false;
75
+ if (!('productClasses' in value) || value['productClasses'] === undefined)
76
+ return false;
77
+ if (!('productClassString' in value) || value['productClassString'] === undefined)
78
+ return false;
75
79
  return true;
76
80
  }
77
81
  function ProductChildResourceFromJSON(json) {
@@ -109,6 +113,8 @@ function ProductChildResourceFromJSONTyped(json, ignoreDiscriminator) {
109
113
  'assets': (json['assets'] == null ? null : json['assets'].map(AssetResource_1.AssetResourceFromJSON)),
110
114
  'thumbnail': (0, AssetResource_1.AssetResourceFromJSON)(json['thumbnail']),
111
115
  'attributes': json['attributes'],
116
+ 'productClasses': json['productClasses'],
117
+ 'productClassString': json['productClassString'],
112
118
  };
113
119
  }
114
120
  function ProductChildResourceToJSON(json) {
@@ -147,5 +153,7 @@ function ProductChildResourceToJSONTyped(value, ignoreDiscriminator) {
147
153
  'assets': (value['assets'] == null ? null : value['assets'].map(AssetResource_1.AssetResourceToJSON)),
148
154
  'thumbnail': (0, AssetResource_1.AssetResourceToJSON)(value['thumbnail']),
149
155
  'attributes': value['attributes'],
156
+ 'productClasses': value['productClasses'],
157
+ 'productClassString': value['productClassString'],
150
158
  };
151
159
  }
@@ -33,6 +33,8 @@ Name | Type
33
33
  `assets` | [Array&lt;AssetResource&gt;](AssetResource.md)
34
34
  `thumbnail` | [AssetResource](AssetResource.md)
35
35
  `attributes` | object
36
+ `productClasses` | Array&lt;object&gt;
37
+ `productClassString` | string
36
38
 
37
39
  ## Example
38
40
 
@@ -68,6 +70,8 @@ const example = {
68
70
  "assets": null,
69
71
  "thumbnail": null,
70
72
  "attributes": null,
73
+ "productClasses": null,
74
+ "productClassString": null,
71
75
  } satisfies ProductChildResource
72
76
 
73
77
  console.log(example)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@digital8/lighting-illusions-ts-sdk",
3
- "version": "0.0.1027",
3
+ "version": "0.0.1028",
4
4
  "description": "OpenAPI client for @digital8/lighting-illusions-ts-sdk",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -196,6 +196,18 @@ export interface ProductChildResource {
196
196
  * @memberof ProductChildResource
197
197
  */
198
198
  attributes: object;
199
+ /**
200
+ *
201
+ * @type {Array<object>}
202
+ * @memberof ProductChildResource
203
+ */
204
+ productClasses: Array<object>;
205
+ /**
206
+ *
207
+ * @type {string}
208
+ * @memberof ProductChildResource
209
+ */
210
+ productClassString: string;
199
211
  }
200
212
 
201
213
  /**
@@ -226,6 +238,8 @@ export function instanceOfProductChildResource(value: object): value is ProductC
226
238
  if (!('assets' in value) || value['assets'] === undefined) return false;
227
239
  if (!('thumbnail' in value) || value['thumbnail'] === undefined) return false;
228
240
  if (!('attributes' in value) || value['attributes'] === undefined) return false;
241
+ if (!('productClasses' in value) || value['productClasses'] === undefined) return false;
242
+ if (!('productClassString' in value) || value['productClassString'] === undefined) return false;
229
243
  return true;
230
244
  }
231
245
 
@@ -266,6 +280,8 @@ export function ProductChildResourceFromJSONTyped(json: any, ignoreDiscriminator
266
280
  'assets': (json['assets'] == null ? null : (json['assets'] as Array<any>).map(AssetResourceFromJSON)),
267
281
  'thumbnail': AssetResourceFromJSON(json['thumbnail']),
268
282
  'attributes': json['attributes'],
283
+ 'productClasses': json['productClasses'],
284
+ 'productClassString': json['productClassString'],
269
285
  };
270
286
  }
271
287
 
@@ -307,6 +323,8 @@ export function ProductChildResourceToJSONTyped(value?: ProductChildResource | n
307
323
  'assets': (value['assets'] == null ? null : (value['assets'] as Array<any>).map(AssetResourceToJSON)),
308
324
  'thumbnail': AssetResourceToJSON(value['thumbnail']),
309
325
  'attributes': value['attributes'],
326
+ 'productClasses': value['productClasses'],
327
+ 'productClassString': value['productClassString'],
310
328
  };
311
329
  }
312
330