@digital8/lighting-illusions-ts-sdk 0.0.511 → 0.0.513
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 +2 -2
- package/dist/models/ExternalApiLogResource.d.ts +1 -1
- package/dist/models/ExternalApiLogResource.js +1 -3
- package/dist/models/ProductChildResource.d.ts +1 -1
- package/dist/models/ProductChildResource.js +2 -2
- package/dist/models/ProductResource.d.ts +6 -0
- package/dist/models/ProductResource.js +2 -0
- package/docs/ProductChildResource.md +2 -2
- package/docs/ProductResource.md +2 -0
- package/package.json +1 -1
- package/src/models/ExternalApiLogResource.ts +2 -3
- package/src/models/ProductChildResource.ts +3 -3
- package/src/models/ProductResource.ts +8 -0
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# @digital8/lighting-illusions-ts-sdk@0.0.
|
|
1
|
+
# @digital8/lighting-illusions-ts-sdk@0.0.513
|
|
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.513`
|
|
365
365
|
- Generator version: `7.17.0`
|
|
366
366
|
- Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
|
|
367
367
|
|
|
@@ -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']),
|
|
@@ -91,7 +91,7 @@ function ProductChildResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
91
91
|
'excludeFromSearch': json['excludeFromSearch'],
|
|
92
92
|
'isOversized': json['isOversized'],
|
|
93
93
|
'isBundle': json['isBundle'],
|
|
94
|
-
'
|
|
94
|
+
'bundleUpcCode': json['bundleUpcCode'] == null ? undefined : json['bundleUpcCode'],
|
|
95
95
|
'displayInSocialFeed': json['displayInSocialFeed'] == null ? undefined : json['displayInSocialFeed'],
|
|
96
96
|
'googleStockStatus': json['googleStockStatus'],
|
|
97
97
|
'netsuiteId': json['netsuiteId'] == null ? undefined : json['netsuiteId'],
|
|
@@ -129,7 +129,7 @@ function ProductChildResourceToJSONTyped(value, ignoreDiscriminator) {
|
|
|
129
129
|
'excludeFromSearch': value['excludeFromSearch'],
|
|
130
130
|
'isOversized': value['isOversized'],
|
|
131
131
|
'isBundle': value['isBundle'],
|
|
132
|
-
'
|
|
132
|
+
'bundleUpcCode': value['bundleUpcCode'],
|
|
133
133
|
'displayInSocialFeed': value['displayInSocialFeed'],
|
|
134
134
|
'googleStockStatus': value['googleStockStatus'],
|
|
135
135
|
'netsuiteId': value['netsuiteId'],
|
|
@@ -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'],
|
|
@@ -21,7 +21,7 @@ Name | Type
|
|
|
21
21
|
`excludeFromSearch` | boolean
|
|
22
22
|
`isOversized` | boolean
|
|
23
23
|
`isBundle` | boolean
|
|
24
|
-
`
|
|
24
|
+
`bundleUpcCode` | string
|
|
25
25
|
`displayInSocialFeed` | string
|
|
26
26
|
`googleStockStatus` | number
|
|
27
27
|
`netsuiteId` | string
|
|
@@ -56,7 +56,7 @@ const example = {
|
|
|
56
56
|
"excludeFromSearch": null,
|
|
57
57
|
"isOversized": null,
|
|
58
58
|
"isBundle": null,
|
|
59
|
-
"
|
|
59
|
+
"bundleUpcCode": null,
|
|
60
60
|
"displayInSocialFeed": null,
|
|
61
61
|
"googleStockStatus": null,
|
|
62
62
|
"netsuiteId": null,
|
package/docs/ProductResource.md
CHANGED
|
@@ -12,6 +12,7 @@ Name | Type
|
|
|
12
12
|
`isAccessory` | boolean
|
|
13
13
|
`warranty` | string
|
|
14
14
|
`categoryIDs` | Array<boolean>
|
|
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
|
@@ -74,7 +74,7 @@ export interface ExternalApiLogResource {
|
|
|
74
74
|
* @type {string}
|
|
75
75
|
* @memberof ExternalApiLogResource
|
|
76
76
|
*/
|
|
77
|
-
requestPayload
|
|
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']),
|
|
@@ -129,7 +129,7 @@ export interface ProductChildResource {
|
|
|
129
129
|
* @type {string}
|
|
130
130
|
* @memberof ProductChildResource
|
|
131
131
|
*/
|
|
132
|
-
|
|
132
|
+
bundleUpcCode?: string | null;
|
|
133
133
|
/**
|
|
134
134
|
*
|
|
135
135
|
* @type {string}
|
|
@@ -251,7 +251,7 @@ export function ProductChildResourceFromJSONTyped(json: any, ignoreDiscriminator
|
|
|
251
251
|
'excludeFromSearch': json['excludeFromSearch'],
|
|
252
252
|
'isOversized': json['isOversized'],
|
|
253
253
|
'isBundle': json['isBundle'],
|
|
254
|
-
'
|
|
254
|
+
'bundleUpcCode': json['bundleUpcCode'] == null ? undefined : json['bundleUpcCode'],
|
|
255
255
|
'displayInSocialFeed': json['displayInSocialFeed'] == null ? undefined : json['displayInSocialFeed'],
|
|
256
256
|
'googleStockStatus': json['googleStockStatus'],
|
|
257
257
|
'netsuiteId': json['netsuiteId'] == null ? undefined : json['netsuiteId'],
|
|
@@ -292,7 +292,7 @@ export function ProductChildResourceToJSONTyped(value?: ProductChildResource | n
|
|
|
292
292
|
'excludeFromSearch': value['excludeFromSearch'],
|
|
293
293
|
'isOversized': value['isOversized'],
|
|
294
294
|
'isBundle': value['isBundle'],
|
|
295
|
-
'
|
|
295
|
+
'bundleUpcCode': value['bundleUpcCode'],
|
|
296
296
|
'displayInSocialFeed': value['displayInSocialFeed'],
|
|
297
297
|
'googleStockStatus': value['googleStockStatus'],
|
|
298
298
|
'netsuiteId': value['netsuiteId'],
|
|
@@ -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'],
|