@digital8/lighting-illusions-ts-sdk 0.0.508 → 0.0.510

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.508
1
+ # @digital8/lighting-illusions-ts-sdk@0.0.510
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.508`
364
+ - Package version: `0.0.510`
365
365
  - Generator version: `7.17.0`
366
366
  - Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
367
367
 
@@ -63,7 +63,7 @@ export interface ExternalApiLogResource {
63
63
  * @type {string}
64
64
  * @memberof ExternalApiLogResource
65
65
  */
66
- requestPayload: string;
66
+ requestPayload?: string | null;
67
67
  /**
68
68
  *
69
69
  * @type {string}
@@ -37,8 +37,6 @@ function instanceOfExternalApiLogResource(value) {
37
37
  return false;
38
38
  if (!('responseCode' in value) || value['responseCode'] === undefined)
39
39
  return false;
40
- if (!('requestPayload' in value) || value['requestPayload'] === undefined)
41
- return false;
42
40
  if (!('responsePayload' in value) || value['responsePayload'] === undefined)
43
41
  return false;
44
42
  if (!('site' in value) || value['site'] === undefined)
@@ -60,7 +58,7 @@ function ExternalApiLogResourceFromJSONTyped(json, ignoreDiscriminator) {
60
58
  'exteranlApiLoggableId': json['exteranlApiLoggableId'],
61
59
  'endpoint': json['endpoint'],
62
60
  'responseCode': json['responseCode'],
63
- 'requestPayload': json['requestPayload'],
61
+ 'requestPayload': json['requestPayload'] == null ? undefined : json['requestPayload'],
64
62
  'responsePayload': json['responsePayload'],
65
63
  'createdAt': json['createdAt'] == null ? undefined : json['createdAt'],
66
64
  'site': (0, SiteLiteResource_1.SiteLiteResourceFromJSON)(json['site']),
@@ -23,6 +23,12 @@ export interface ProductChildListResource {
23
23
  * @memberof ProductChildListResource
24
24
  */
25
25
  id: number;
26
+ /**
27
+ *
28
+ * @type {string}
29
+ * @memberof ProductChildListResource
30
+ */
31
+ parentId?: string | null;
26
32
  /**
27
33
  *
28
34
  * @type {number}
@@ -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'],
@@ -53,6 +53,12 @@ export interface ProductResource {
53
53
  * @memberof ProductResource
54
54
  */
55
55
  categoryIDs: Array<boolean>;
56
+ /**
57
+ *
58
+ * @type {string}
59
+ * @memberof ProductResource
60
+ */
61
+ isDisabled?: string | null;
56
62
  /**
57
63
  *
58
64
  * @type {SupplierLiteResource}
@@ -60,6 +60,7 @@ function ProductResourceFromJSONTyped(json, ignoreDiscriminator) {
60
60
  'isAccessory': json['isAccessory'],
61
61
  'warranty': json['warranty'],
62
62
  'categoryIDs': json['categoryIDs'],
63
+ 'isDisabled': json['isDisabled'] == null ? undefined : json['isDisabled'],
63
64
  'supplier': (0, SupplierLiteResource_1.SupplierLiteResourceFromJSON)(json['supplier']),
64
65
  'productType': (0, ProductTypeLiteResource_1.ProductTypeLiteResourceFromJSON)(json['productType']),
65
66
  'sites': json['sites'],
@@ -81,6 +82,7 @@ function ProductResourceToJSONTyped(value, ignoreDiscriminator) {
81
82
  'isAccessory': value['isAccessory'],
82
83
  'warranty': value['warranty'],
83
84
  'categoryIDs': value['categoryIDs'],
85
+ 'isDisabled': value['isDisabled'],
84
86
  'supplier': (0, SupplierLiteResource_1.SupplierLiteResourceToJSON)(value['supplier']),
85
87
  'productType': (0, ProductTypeLiteResource_1.ProductTypeLiteResourceToJSON)(value['productType']),
86
88
  'sites': value['sites'],
@@ -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,
@@ -12,6 +12,7 @@ Name | Type
12
12
  `isAccessory` | boolean
13
13
  `warranty` | string
14
14
  `categoryIDs` | Array&lt;boolean&gt;
15
+ `isDisabled` | string
15
16
  `supplier` | [SupplierLiteResource](SupplierLiteResource.md)
16
17
  `productType` | [ProductTypeLiteResource](ProductTypeLiteResource.md)
17
18
  `sites` | object
@@ -30,6 +31,7 @@ const example = {
30
31
  "isAccessory": null,
31
32
  "warranty": null,
32
33
  "categoryIDs": null,
34
+ "isDisabled": null,
33
35
  "supplier": null,
34
36
  "productType": null,
35
37
  "sites": null,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@digital8/lighting-illusions-ts-sdk",
3
- "version": "0.0.508",
3
+ "version": "0.0.510",
4
4
  "description": "OpenAPI client for @digital8/lighting-illusions-ts-sdk",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -74,7 +74,7 @@ export interface ExternalApiLogResource {
74
74
  * @type {string}
75
75
  * @memberof ExternalApiLogResource
76
76
  */
77
- requestPayload: string;
77
+ requestPayload?: string | null;
78
78
  /**
79
79
  *
80
80
  * @type {string}
@@ -106,7 +106,6 @@ export function instanceOfExternalApiLogResource(value: object): value is Extern
106
106
  if (!('exteranlApiLoggableId' in value) || value['exteranlApiLoggableId'] === undefined) return false;
107
107
  if (!('endpoint' in value) || value['endpoint'] === undefined) return false;
108
108
  if (!('responseCode' in value) || value['responseCode'] === undefined) return false;
109
- if (!('requestPayload' in value) || value['requestPayload'] === undefined) return false;
110
109
  if (!('responsePayload' in value) || value['responsePayload'] === undefined) return false;
111
110
  if (!('site' in value) || value['site'] === undefined) return false;
112
111
  return true;
@@ -129,7 +128,7 @@ export function ExternalApiLogResourceFromJSONTyped(json: any, ignoreDiscriminat
129
128
  'exteranlApiLoggableId': json['exteranlApiLoggableId'],
130
129
  'endpoint': json['endpoint'],
131
130
  'responseCode': json['responseCode'],
132
- 'requestPayload': json['requestPayload'],
131
+ 'requestPayload': json['requestPayload'] == null ? undefined : json['requestPayload'],
133
132
  'responsePayload': json['responsePayload'],
134
133
  'createdAt': json['createdAt'] == null ? undefined : json['createdAt'],
135
134
  'site': SiteLiteResourceFromJSON(json['site']),
@@ -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'],
@@ -70,6 +70,12 @@ export interface ProductResource {
70
70
  * @memberof ProductResource
71
71
  */
72
72
  categoryIDs: Array<boolean>;
73
+ /**
74
+ *
75
+ * @type {string}
76
+ * @memberof ProductResource
77
+ */
78
+ isDisabled?: string | null;
73
79
  /**
74
80
  *
75
81
  * @type {SupplierLiteResource}
@@ -129,6 +135,7 @@ export function ProductResourceFromJSONTyped(json: any, ignoreDiscriminator: boo
129
135
  'isAccessory': json['isAccessory'],
130
136
  'warranty': json['warranty'],
131
137
  'categoryIDs': json['categoryIDs'],
138
+ 'isDisabled': json['isDisabled'] == null ? undefined : json['isDisabled'],
132
139
  'supplier': SupplierLiteResourceFromJSON(json['supplier']),
133
140
  'productType': ProductTypeLiteResourceFromJSON(json['productType']),
134
141
  'sites': json['sites'],
@@ -153,6 +160,7 @@ export function ProductResourceToJSONTyped(value?: ProductResource | null, ignor
153
160
  'isAccessory': value['isAccessory'],
154
161
  'warranty': value['warranty'],
155
162
  'categoryIDs': value['categoryIDs'],
163
+ 'isDisabled': value['isDisabled'],
156
164
  'supplier': SupplierLiteResourceToJSON(value['supplier']),
157
165
  'productType': ProductTypeLiteResourceToJSON(value['productType']),
158
166
  'sites': value['sites'],