@digital8/lighting-illusions-ts-sdk 0.0.509 → 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.509
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.509`
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']),
@@ -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'],
@@ -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.509",
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']),
@@ -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'],