@digital8/lighting-illusions-ts-sdk 0.0.508 → 0.0.509
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.509
|
|
2
2
|
|
|
3
3
|
A TypeScript SDK client for the localhost API.
|
|
4
4
|
|
|
@@ -361,7 +361,7 @@ and is automatically generated by the
|
|
|
361
361
|
[OpenAPI Generator](https://openapi-generator.tech) project:
|
|
362
362
|
|
|
363
363
|
- API version: `1.0.0`
|
|
364
|
-
- Package version: `0.0.
|
|
364
|
+
- Package version: `0.0.509`
|
|
365
365
|
- Generator version: `7.17.0`
|
|
366
366
|
- Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
|
|
367
367
|
|
|
@@ -49,6 +49,7 @@ function ProductChildListResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
49
49
|
}
|
|
50
50
|
return {
|
|
51
51
|
'id': json['id'],
|
|
52
|
+
'parentId': json['parentId'] == null ? undefined : json['parentId'],
|
|
52
53
|
'sku': json['sku'],
|
|
53
54
|
'name': json['name'],
|
|
54
55
|
'model': json['model'],
|
|
@@ -67,6 +68,7 @@ function ProductChildListResourceToJSONTyped(value, ignoreDiscriminator) {
|
|
|
67
68
|
}
|
|
68
69
|
return {
|
|
69
70
|
'id': value['id'],
|
|
71
|
+
'parentId': value['parentId'],
|
|
70
72
|
'sku': value['sku'],
|
|
71
73
|
'name': value['name'],
|
|
72
74
|
'model': value['model'],
|
|
@@ -7,6 +7,7 @@
|
|
|
7
7
|
Name | Type
|
|
8
8
|
------------ | -------------
|
|
9
9
|
`id` | number
|
|
10
|
+
`parentId` | string
|
|
10
11
|
`sku` | number
|
|
11
12
|
`name` | string
|
|
12
13
|
`model` | string
|
|
@@ -22,6 +23,7 @@ import type { ProductChildListResource } from '@digital8/lighting-illusions-ts-s
|
|
|
22
23
|
// TODO: Update the object below with actual values
|
|
23
24
|
const example = {
|
|
24
25
|
"id": null,
|
|
26
|
+
"parentId": null,
|
|
25
27
|
"sku": null,
|
|
26
28
|
"name": null,
|
|
27
29
|
"model": null,
|
package/package.json
CHANGED
|
@@ -40,6 +40,12 @@ export interface ProductChildListResource {
|
|
|
40
40
|
* @memberof ProductChildListResource
|
|
41
41
|
*/
|
|
42
42
|
id: number;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {string}
|
|
46
|
+
* @memberof ProductChildListResource
|
|
47
|
+
*/
|
|
48
|
+
parentId?: string | null;
|
|
43
49
|
/**
|
|
44
50
|
*
|
|
45
51
|
* @type {number}
|
|
@@ -103,6 +109,7 @@ export function ProductChildListResourceFromJSONTyped(json: any, ignoreDiscrimin
|
|
|
103
109
|
return {
|
|
104
110
|
|
|
105
111
|
'id': json['id'],
|
|
112
|
+
'parentId': json['parentId'] == null ? undefined : json['parentId'],
|
|
106
113
|
'sku': json['sku'],
|
|
107
114
|
'name': json['name'],
|
|
108
115
|
'model': json['model'],
|
|
@@ -124,6 +131,7 @@ export function ProductChildListResourceToJSONTyped(value?: ProductChildListReso
|
|
|
124
131
|
return {
|
|
125
132
|
|
|
126
133
|
'id': value['id'],
|
|
134
|
+
'parentId': value['parentId'],
|
|
127
135
|
'sku': value['sku'],
|
|
128
136
|
'name': value['name'],
|
|
129
137
|
'model': value['model'],
|