@digital8/lighting-illusions-ts-sdk 0.0.1384 → 0.0.1385
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/.openapi-generator/FILES +0 -18
- package/README.md +2 -16
- package/dist/apis/index.d.ts +0 -1
- package/dist/apis/index.js +0 -1
- package/dist/models/ExternalApiLogResource.d.ts +1 -1
- package/dist/models/ExternalApiLogResource.js +1 -3
- package/dist/models/LabelResource.d.ts +4 -23
- package/dist/models/LabelResource.js +8 -19
- package/dist/models/ProductSearchResultResource.d.ts +1 -1
- package/dist/models/ProductSearchResultResource.js +3 -3
- package/dist/models/StoreAssetForAssetableRequest.d.ts +1 -0
- package/dist/models/StoreAssetForAssetableRequest.js +2 -1
- package/dist/models/index.d.ts +0 -8
- package/dist/models/index.js +0 -8
- package/docs/LabelResource.md +6 -12
- package/docs/ProductSearchResultResource.md +2 -2
- package/package.json +1 -1
- package/src/apis/index.ts +0 -1
- package/src/models/ExternalApiLogResource.ts +2 -3
- package/src/models/LabelResource.ts +12 -46
- package/src/models/ProductSearchResultResource.ts +4 -4
- package/src/models/StoreAssetForAssetableRequest.ts +2 -1
- package/src/models/index.ts +0 -8
- package/dist/apis/LabelApi.d.ts +0 -109
- package/dist/apis/LabelApi.js +0 -433
- package/dist/models/IndexLabelRequest.d.ts +0 -109
- package/dist/models/IndexLabelRequest.js +0 -92
- package/dist/models/LabelListResource.d.ts +0 -75
- package/dist/models/LabelListResource.js +0 -74
- package/dist/models/LabelListResourceArrayResponse.d.ts +0 -33
- package/dist/models/LabelListResourceArrayResponse.js +0 -50
- package/dist/models/LabelLiteResource.d.ts +0 -56
- package/dist/models/LabelLiteResource.js +0 -65
- package/dist/models/LabelLiteResourceArrayResponse.d.ts +0 -33
- package/dist/models/LabelLiteResourceArrayResponse.js +0 -50
- package/dist/models/PaginatedLabelListResourceResponse.d.ts +0 -40
- package/dist/models/PaginatedLabelListResourceResponse.js +0 -57
- package/dist/models/StoreLabelRequest.d.ts +0 -74
- package/dist/models/StoreLabelRequest.js +0 -71
- package/dist/models/UpdateLabelRequest.d.ts +0 -74
- package/dist/models/UpdateLabelRequest.js +0 -63
- package/docs/IndexLabelRequest.md +0 -50
- package/docs/LabelApi.md +0 -407
- package/docs/LabelListResource.md +0 -48
- package/docs/LabelListResourceArrayResponse.md +0 -34
- package/docs/LabelLiteResource.md +0 -42
- package/docs/LabelLiteResourceArrayResponse.md +0 -34
- package/docs/PaginatedLabelListResourceResponse.md +0 -36
- package/docs/StoreLabelRequest.md +0 -48
- package/docs/UpdateLabelRequest.md +0 -48
- package/src/apis/LabelApi.ts +0 -328
- package/src/models/IndexLabelRequest.ts +0 -163
- package/src/models/LabelListResource.ts +0 -134
- package/src/models/LabelListResourceArrayResponse.ts +0 -73
- package/src/models/LabelLiteResource.ts +0 -101
- package/src/models/LabelLiteResourceArrayResponse.ts +0 -73
- package/src/models/PaginatedLabelListResourceResponse.ts +0 -90
- package/src/models/StoreLabelRequest.ts +0 -125
- package/src/models/UpdateLabelRequest.ts +0 -121
package/.openapi-generator/FILES
CHANGED
|
@@ -105,7 +105,6 @@ docs/IndexAttributeValueRequest.md
|
|
|
105
105
|
docs/IndexDefinitionRequest.md
|
|
106
106
|
docs/IndexDocumentRequest.md
|
|
107
107
|
docs/IndexExternalApiLogRequest.md
|
|
108
|
-
docs/IndexLabelRequest.md
|
|
109
108
|
docs/IndexOverlayTemplateRequest.md
|
|
110
109
|
docs/IndexProductCategoryRequest.md
|
|
111
110
|
docs/IndexProductChildRequest.md
|
|
@@ -115,11 +114,6 @@ docs/IndexSiteNotificationRequest.md
|
|
|
115
114
|
docs/IndexSiteRequest.md
|
|
116
115
|
docs/IndexSupplierRequest.md
|
|
117
116
|
docs/IndexTagRequest.md
|
|
118
|
-
docs/LabelApi.md
|
|
119
|
-
docs/LabelListResource.md
|
|
120
|
-
docs/LabelListResourceArrayResponse.md
|
|
121
|
-
docs/LabelLiteResource.md
|
|
122
|
-
docs/LabelLiteResourceArrayResponse.md
|
|
123
117
|
docs/LabelResource.md
|
|
124
118
|
docs/LabelResourceArrayResponse.md
|
|
125
119
|
docs/ModelAttributeResource.md
|
|
@@ -148,7 +142,6 @@ docs/PaginatedDocumentResourceResponse.md
|
|
|
148
142
|
docs/PaginatedExternalApiLogListResourceResponse.md
|
|
149
143
|
docs/PaginatedExternalApiLogResourceResponse.md
|
|
150
144
|
docs/PaginatedGoogleCategoryResourceResponse.md
|
|
151
|
-
docs/PaginatedLabelListResourceResponse.md
|
|
152
145
|
docs/PaginatedOverlayTemplateListResourceResponse.md
|
|
153
146
|
docs/PaginatedOverlayTemplateLiteResourceResponse.md
|
|
154
147
|
docs/PaginatedOverlayTemplateResourceResponse.md
|
|
@@ -264,7 +257,6 @@ docs/StoreAttributeValueRequest.md
|
|
|
264
257
|
docs/StoreDefinitionRequest.md
|
|
265
258
|
docs/StoreDocumentFileRequest.md
|
|
266
259
|
docs/StoreDocumentRequest.md
|
|
267
|
-
docs/StoreLabelRequest.md
|
|
268
260
|
docs/StoreOverlayTemplateAssetRequest.md
|
|
269
261
|
docs/StoreOverlayTemplateRequest.md
|
|
270
262
|
docs/StoreProductCategoryRequest.md
|
|
@@ -307,7 +299,6 @@ docs/UpdateDefinitionRequest.md
|
|
|
307
299
|
docs/UpdateDocumentRequest.md
|
|
308
300
|
docs/UpdateFilterOrderAttributeRequest.md
|
|
309
301
|
docs/UpdateFilterOrderAttributeRequestValuesInner.md
|
|
310
|
-
docs/UpdateLabelRequest.md
|
|
311
302
|
docs/UpdateModelAttributeRequest.md
|
|
312
303
|
docs/UpdateOverlayTemplateAssetRequest.md
|
|
313
304
|
docs/UpdateOverlayTemplateRequest.md
|
|
@@ -333,7 +324,6 @@ src/apis/DefinitionApi.ts
|
|
|
333
324
|
src/apis/DocumentApi.ts
|
|
334
325
|
src/apis/ExternalApiLogApi.ts
|
|
335
326
|
src/apis/GoogleCategoryApi.ts
|
|
336
|
-
src/apis/LabelApi.ts
|
|
337
327
|
src/apis/OverlayTemplateApi.ts
|
|
338
328
|
src/apis/ProductApi.ts
|
|
339
329
|
src/apis/ProductCategoryApi.ts
|
|
@@ -439,7 +429,6 @@ src/models/IndexAttributeValueRequest.ts
|
|
|
439
429
|
src/models/IndexDefinitionRequest.ts
|
|
440
430
|
src/models/IndexDocumentRequest.ts
|
|
441
431
|
src/models/IndexExternalApiLogRequest.ts
|
|
442
|
-
src/models/IndexLabelRequest.ts
|
|
443
432
|
src/models/IndexOverlayTemplateRequest.ts
|
|
444
433
|
src/models/IndexProductCategoryRequest.ts
|
|
445
434
|
src/models/IndexProductChildRequest.ts
|
|
@@ -449,10 +438,6 @@ src/models/IndexSiteNotificationRequest.ts
|
|
|
449
438
|
src/models/IndexSiteRequest.ts
|
|
450
439
|
src/models/IndexSupplierRequest.ts
|
|
451
440
|
src/models/IndexTagRequest.ts
|
|
452
|
-
src/models/LabelListResource.ts
|
|
453
|
-
src/models/LabelListResourceArrayResponse.ts
|
|
454
|
-
src/models/LabelLiteResource.ts
|
|
455
|
-
src/models/LabelLiteResourceArrayResponse.ts
|
|
456
441
|
src/models/LabelResource.ts
|
|
457
442
|
src/models/LabelResourceArrayResponse.ts
|
|
458
443
|
src/models/ModelAttributeResource.ts
|
|
@@ -480,7 +465,6 @@ src/models/PaginatedDocumentResourceResponse.ts
|
|
|
480
465
|
src/models/PaginatedExternalApiLogListResourceResponse.ts
|
|
481
466
|
src/models/PaginatedExternalApiLogResourceResponse.ts
|
|
482
467
|
src/models/PaginatedGoogleCategoryResourceResponse.ts
|
|
483
|
-
src/models/PaginatedLabelListResourceResponse.ts
|
|
484
468
|
src/models/PaginatedOverlayTemplateListResourceResponse.ts
|
|
485
469
|
src/models/PaginatedOverlayTemplateLiteResourceResponse.ts
|
|
486
470
|
src/models/PaginatedOverlayTemplateResourceResponse.ts
|
|
@@ -592,7 +576,6 @@ src/models/StoreAttributeValueRequest.ts
|
|
|
592
576
|
src/models/StoreDefinitionRequest.ts
|
|
593
577
|
src/models/StoreDocumentFileRequest.ts
|
|
594
578
|
src/models/StoreDocumentRequest.ts
|
|
595
|
-
src/models/StoreLabelRequest.ts
|
|
596
579
|
src/models/StoreOverlayTemplateAssetRequest.ts
|
|
597
580
|
src/models/StoreOverlayTemplateRequest.ts
|
|
598
581
|
src/models/StoreProductCategoryRequest.ts
|
|
@@ -633,7 +616,6 @@ src/models/UpdateDefinitionRequest.ts
|
|
|
633
616
|
src/models/UpdateDocumentRequest.ts
|
|
634
617
|
src/models/UpdateFilterOrderAttributeRequest.ts
|
|
635
618
|
src/models/UpdateFilterOrderAttributeRequestValuesInner.ts
|
|
636
|
-
src/models/UpdateLabelRequest.ts
|
|
637
619
|
src/models/UpdateModelAttributeRequest.ts
|
|
638
620
|
src/models/UpdateOverlayTemplateAssetRequest.ts
|
|
639
621
|
src/models/UpdateOverlayTemplateRequest.ts
|
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# @digital8/lighting-illusions-ts-sdk@0.0.
|
|
1
|
+
# @digital8/lighting-illusions-ts-sdk@0.0.1385
|
|
2
2
|
|
|
3
3
|
A TypeScript SDK client for the localhost API.
|
|
4
4
|
|
|
@@ -91,12 +91,6 @@ All URIs are relative to *http://localhost/api*
|
|
|
91
91
|
*ExternalApiLogApi* | [**getUniqueEndpointsExternalApiLog**](docs/ExternalApiLogApi.md#getuniqueendpointsexternalapilogoperation) | **POST** /admin-api/external-api-log/endpoints | Auto-generated: getUniqueEndpointsExternalApiLog
|
|
92
92
|
*ExternalApiLogApi* | [**indexExternalApiLog**](docs/ExternalApiLogApi.md#indexexternalapilogoperation) | **POST** /admin-api/external-api-log/list | Auto-generated: indexExternalApiLog
|
|
93
93
|
*GoogleCategoryApi* | [**getAllGoogleCategory**](docs/GoogleCategoryApi.md#getallgooglecategoryoperation) | **POST** /admin-api/google-category/all | Auto-generated: getAllGoogleCategory
|
|
94
|
-
*LabelApi* | [**destroyLabel**](docs/LabelApi.md#destroylabel) | **DELETE** /admin-api/label/{label}/delete | Auto-generated: destroyLabel
|
|
95
|
-
*LabelApi* | [**getAllLabel**](docs/LabelApi.md#getalllabel) | **POST** /admin-api/label/all | Auto-generated: getAllLabel
|
|
96
|
-
*LabelApi* | [**indexLabel**](docs/LabelApi.md#indexlabeloperation) | **POST** /admin-api/label/list | Auto-generated: indexLabel
|
|
97
|
-
*LabelApi* | [**showLabel**](docs/LabelApi.md#showlabel) | **GET** /admin-api/label/{label} | Auto-generated: showLabel
|
|
98
|
-
*LabelApi* | [**storeLabel**](docs/LabelApi.md#storelabeloperation) | **POST** /admin-api/label/create | Auto-generated: storeLabel
|
|
99
|
-
*LabelApi* | [**updateLabel**](docs/LabelApi.md#updatelabeloperation) | **PUT** /admin-api/label/{label}/update | Auto-generated: updateLabel
|
|
100
94
|
*OverlayTemplateApi* | [**attachAssetsOverlayTemplate**](docs/OverlayTemplateApi.md#attachassetsoverlaytemplateoperation) | **POST** /admin-api/overlay-template/{overlayTemplate}/attach-assets | Auto-generated: attachAssetsOverlayTemplate
|
|
101
95
|
*OverlayTemplateApi* | [**destroyOverlayTemplate**](docs/OverlayTemplateApi.md#destroyoverlaytemplate) | **DELETE** /admin-api/overlay-template/{overlayTemplate}/delete | Auto-generated: destroyOverlayTemplate
|
|
102
96
|
*OverlayTemplateApi* | [**destroyOverlayTemplateAsset**](docs/OverlayTemplateApi.md#destroyoverlaytemplateasset) | **DELETE** /admin-api/overlay-template/asset/{overlayTemplateAsset}/delete | Auto-generated: destroyOverlayTemplateAsset
|
|
@@ -278,7 +272,6 @@ All URIs are relative to *http://localhost/api*
|
|
|
278
272
|
- [IndexDefinitionRequest](docs/IndexDefinitionRequest.md)
|
|
279
273
|
- [IndexDocumentRequest](docs/IndexDocumentRequest.md)
|
|
280
274
|
- [IndexExternalApiLogRequest](docs/IndexExternalApiLogRequest.md)
|
|
281
|
-
- [IndexLabelRequest](docs/IndexLabelRequest.md)
|
|
282
275
|
- [IndexOverlayTemplateRequest](docs/IndexOverlayTemplateRequest.md)
|
|
283
276
|
- [IndexProductCategoryRequest](docs/IndexProductCategoryRequest.md)
|
|
284
277
|
- [IndexProductChildRequest](docs/IndexProductChildRequest.md)
|
|
@@ -288,10 +281,6 @@ All URIs are relative to *http://localhost/api*
|
|
|
288
281
|
- [IndexSiteRequest](docs/IndexSiteRequest.md)
|
|
289
282
|
- [IndexSupplierRequest](docs/IndexSupplierRequest.md)
|
|
290
283
|
- [IndexTagRequest](docs/IndexTagRequest.md)
|
|
291
|
-
- [LabelListResource](docs/LabelListResource.md)
|
|
292
|
-
- [LabelListResourceArrayResponse](docs/LabelListResourceArrayResponse.md)
|
|
293
|
-
- [LabelLiteResource](docs/LabelLiteResource.md)
|
|
294
|
-
- [LabelLiteResourceArrayResponse](docs/LabelLiteResourceArrayResponse.md)
|
|
295
284
|
- [LabelResource](docs/LabelResource.md)
|
|
296
285
|
- [LabelResourceArrayResponse](docs/LabelResourceArrayResponse.md)
|
|
297
286
|
- [ModelAttributeResource](docs/ModelAttributeResource.md)
|
|
@@ -319,7 +308,6 @@ All URIs are relative to *http://localhost/api*
|
|
|
319
308
|
- [PaginatedExternalApiLogListResourceResponse](docs/PaginatedExternalApiLogListResourceResponse.md)
|
|
320
309
|
- [PaginatedExternalApiLogResourceResponse](docs/PaginatedExternalApiLogResourceResponse.md)
|
|
321
310
|
- [PaginatedGoogleCategoryResourceResponse](docs/PaginatedGoogleCategoryResourceResponse.md)
|
|
322
|
-
- [PaginatedLabelListResourceResponse](docs/PaginatedLabelListResourceResponse.md)
|
|
323
311
|
- [PaginatedOverlayTemplateListResourceResponse](docs/PaginatedOverlayTemplateListResourceResponse.md)
|
|
324
312
|
- [PaginatedOverlayTemplateLiteResourceResponse](docs/PaginatedOverlayTemplateLiteResourceResponse.md)
|
|
325
313
|
- [PaginatedOverlayTemplateResourceResponse](docs/PaginatedOverlayTemplateResourceResponse.md)
|
|
@@ -431,7 +419,6 @@ All URIs are relative to *http://localhost/api*
|
|
|
431
419
|
- [StoreDefinitionRequest](docs/StoreDefinitionRequest.md)
|
|
432
420
|
- [StoreDocumentFileRequest](docs/StoreDocumentFileRequest.md)
|
|
433
421
|
- [StoreDocumentRequest](docs/StoreDocumentRequest.md)
|
|
434
|
-
- [StoreLabelRequest](docs/StoreLabelRequest.md)
|
|
435
422
|
- [StoreOverlayTemplateAssetRequest](docs/StoreOverlayTemplateAssetRequest.md)
|
|
436
423
|
- [StoreOverlayTemplateRequest](docs/StoreOverlayTemplateRequest.md)
|
|
437
424
|
- [StoreProductCategoryRequest](docs/StoreProductCategoryRequest.md)
|
|
@@ -472,7 +459,6 @@ All URIs are relative to *http://localhost/api*
|
|
|
472
459
|
- [UpdateDocumentRequest](docs/UpdateDocumentRequest.md)
|
|
473
460
|
- [UpdateFilterOrderAttributeRequest](docs/UpdateFilterOrderAttributeRequest.md)
|
|
474
461
|
- [UpdateFilterOrderAttributeRequestValuesInner](docs/UpdateFilterOrderAttributeRequestValuesInner.md)
|
|
475
|
-
- [UpdateLabelRequest](docs/UpdateLabelRequest.md)
|
|
476
462
|
- [UpdateModelAttributeRequest](docs/UpdateModelAttributeRequest.md)
|
|
477
463
|
- [UpdateOverlayTemplateAssetRequest](docs/UpdateOverlayTemplateAssetRequest.md)
|
|
478
464
|
- [UpdateOverlayTemplateRequest](docs/UpdateOverlayTemplateRequest.md)
|
|
@@ -503,7 +489,7 @@ and is automatically generated by the
|
|
|
503
489
|
[OpenAPI Generator](https://openapi-generator.tech) project:
|
|
504
490
|
|
|
505
491
|
- API version: `1.0.0`
|
|
506
|
-
- Package version: `0.0.
|
|
492
|
+
- Package version: `0.0.1385`
|
|
507
493
|
- Generator version: `7.20.0`
|
|
508
494
|
- Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
|
|
509
495
|
|
package/dist/apis/index.d.ts
CHANGED
|
@@ -5,7 +5,6 @@ export * from './DefinitionApi';
|
|
|
5
5
|
export * from './DocumentApi';
|
|
6
6
|
export * from './ExternalApiLogApi';
|
|
7
7
|
export * from './GoogleCategoryApi';
|
|
8
|
-
export * from './LabelApi';
|
|
9
8
|
export * from './OverlayTemplateApi';
|
|
10
9
|
export * from './ProductApi';
|
|
11
10
|
export * from './ProductCategoryApi';
|
package/dist/apis/index.js
CHANGED
|
@@ -23,7 +23,6 @@ __exportStar(require("./DefinitionApi"), exports);
|
|
|
23
23
|
__exportStar(require("./DocumentApi"), exports);
|
|
24
24
|
__exportStar(require("./ExternalApiLogApi"), exports);
|
|
25
25
|
__exportStar(require("./GoogleCategoryApi"), exports);
|
|
26
|
-
__exportStar(require("./LabelApi"), exports);
|
|
27
26
|
__exportStar(require("./OverlayTemplateApi"), exports);
|
|
28
27
|
__exportStar(require("./ProductApi"), exports);
|
|
29
28
|
__exportStar(require("./ProductCategoryApi"), exports);
|
|
@@ -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']),
|
|
@@ -9,7 +9,6 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import type { SiteLiteResource } from './SiteLiteResource';
|
|
13
12
|
/**
|
|
14
13
|
*
|
|
15
14
|
* @export
|
|
@@ -36,40 +35,22 @@ export interface LabelResource {
|
|
|
36
35
|
longName: string;
|
|
37
36
|
/**
|
|
38
37
|
*
|
|
39
|
-
* @type {
|
|
40
|
-
* @memberof LabelResource
|
|
41
|
-
*/
|
|
42
|
-
site: SiteLiteResource | null;
|
|
43
|
-
/**
|
|
44
|
-
*
|
|
45
|
-
* @type {string}
|
|
46
|
-
* @memberof LabelResource
|
|
47
|
-
*/
|
|
48
|
-
cartButtonText: string;
|
|
49
|
-
/**
|
|
50
|
-
*
|
|
51
|
-
* @type {string}
|
|
52
|
-
* @memberof LabelResource
|
|
53
|
-
*/
|
|
54
|
-
colour: string;
|
|
55
|
-
/**
|
|
56
|
-
*
|
|
57
|
-
* @type {string}
|
|
38
|
+
* @type {number}
|
|
58
39
|
* @memberof LabelResource
|
|
59
40
|
*/
|
|
60
|
-
|
|
41
|
+
siteId: number;
|
|
61
42
|
/**
|
|
62
43
|
*
|
|
63
44
|
* @type {string}
|
|
64
45
|
* @memberof LabelResource
|
|
65
46
|
*/
|
|
66
|
-
|
|
47
|
+
color: string;
|
|
67
48
|
/**
|
|
68
49
|
*
|
|
69
50
|
* @type {string}
|
|
70
51
|
* @memberof LabelResource
|
|
71
52
|
*/
|
|
72
|
-
|
|
53
|
+
textColor?: string | null;
|
|
73
54
|
}
|
|
74
55
|
/**
|
|
75
56
|
* Check if a given object implements the LabelResource interface.
|
|
@@ -18,7 +18,6 @@ exports.LabelResourceFromJSON = LabelResourceFromJSON;
|
|
|
18
18
|
exports.LabelResourceFromJSONTyped = LabelResourceFromJSONTyped;
|
|
19
19
|
exports.LabelResourceToJSON = LabelResourceToJSON;
|
|
20
20
|
exports.LabelResourceToJSONTyped = LabelResourceToJSONTyped;
|
|
21
|
-
var SiteLiteResource_1 = require("./SiteLiteResource");
|
|
22
21
|
/**
|
|
23
22
|
* Check if a given object implements the LabelResource interface.
|
|
24
23
|
*/
|
|
@@ -27,13 +26,9 @@ function instanceOfLabelResource(value) {
|
|
|
27
26
|
return false;
|
|
28
27
|
if (!('longName' in value) || value['longName'] === undefined)
|
|
29
28
|
return false;
|
|
30
|
-
if (!('
|
|
29
|
+
if (!('siteId' in value) || value['siteId'] === undefined)
|
|
31
30
|
return false;
|
|
32
|
-
if (!('
|
|
33
|
-
return false;
|
|
34
|
-
if (!('colour' in value) || value['colour'] === undefined)
|
|
35
|
-
return false;
|
|
36
|
-
if (!('textColour' in value) || value['textColour'] === undefined)
|
|
31
|
+
if (!('color' in value) || value['color'] === undefined)
|
|
37
32
|
return false;
|
|
38
33
|
return true;
|
|
39
34
|
}
|
|
@@ -48,12 +43,9 @@ function LabelResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
48
43
|
'id': json['id'] == null ? undefined : json['id'],
|
|
49
44
|
'shortName': json['shortName'],
|
|
50
45
|
'longName': json['longName'],
|
|
51
|
-
'
|
|
52
|
-
'
|
|
53
|
-
'
|
|
54
|
-
'textColour': json['textColour'],
|
|
55
|
-
'startDate': json['startDate'] == null ? undefined : json['startDate'],
|
|
56
|
-
'endDate': json['endDate'] == null ? undefined : json['endDate'],
|
|
46
|
+
'siteId': json['siteId'],
|
|
47
|
+
'color': json['color'],
|
|
48
|
+
'textColor': json['textColor'] == null ? undefined : json['textColor'],
|
|
57
49
|
};
|
|
58
50
|
}
|
|
59
51
|
function LabelResourceToJSON(json) {
|
|
@@ -68,11 +60,8 @@ function LabelResourceToJSONTyped(value, ignoreDiscriminator) {
|
|
|
68
60
|
'id': value['id'],
|
|
69
61
|
'shortName': value['shortName'],
|
|
70
62
|
'longName': value['longName'],
|
|
71
|
-
'
|
|
72
|
-
'
|
|
73
|
-
'
|
|
74
|
-
'textColour': value['textColour'],
|
|
75
|
-
'startDate': value['startDate'],
|
|
76
|
-
'endDate': value['endDate'],
|
|
63
|
+
'siteId': value['siteId'],
|
|
64
|
+
'color': value['color'],
|
|
65
|
+
'textColor': value['textColor'],
|
|
77
66
|
};
|
|
78
67
|
}
|
|
@@ -38,7 +38,7 @@ function instanceOfProductSearchResultResource(value) {
|
|
|
38
38
|
return false;
|
|
39
39
|
if (!('thumbnail' in value) || value['thumbnail'] === undefined)
|
|
40
40
|
return false;
|
|
41
|
-
if (!('
|
|
41
|
+
if (!('label' in value) || value['label'] === undefined)
|
|
42
42
|
return false;
|
|
43
43
|
if (!('supplierName' in value) || value['supplierName'] === undefined)
|
|
44
44
|
return false;
|
|
@@ -73,7 +73,7 @@ function ProductSearchResultResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
73
73
|
'salePrice': json['salePrice'],
|
|
74
74
|
'thumbnail': json['thumbnail'],
|
|
75
75
|
'averageRating': json['averageRating'] == null ? undefined : json['averageRating'],
|
|
76
|
-
'
|
|
76
|
+
'label': json['label'],
|
|
77
77
|
'supplierName': json['supplierName'],
|
|
78
78
|
'supplierLogo': json['supplierLogo'],
|
|
79
79
|
'supplierId': json['supplierId'],
|
|
@@ -101,7 +101,7 @@ function ProductSearchResultResourceToJSONTyped(value, ignoreDiscriminator) {
|
|
|
101
101
|
'salePrice': value['salePrice'],
|
|
102
102
|
'thumbnail': value['thumbnail'],
|
|
103
103
|
'averageRating': value['averageRating'],
|
|
104
|
-
'
|
|
104
|
+
'label': value['label'],
|
|
105
105
|
'supplierName': value['supplierName'],
|
|
106
106
|
'supplierLogo': value['supplierLogo'],
|
|
107
107
|
'supplierId': value['supplierId'],
|
|
@@ -69,6 +69,7 @@ export interface StoreAssetForAssetableRequest {
|
|
|
69
69
|
*/
|
|
70
70
|
export declare const StoreAssetForAssetableRequestAssetableTypeEnum: {
|
|
71
71
|
readonly AppModelsProductsProductChild: "App\\Models\\Products\\ProductChild";
|
|
72
|
+
readonly ProductChild: "productChild";
|
|
72
73
|
};
|
|
73
74
|
export type StoreAssetForAssetableRequestAssetableTypeEnum = typeof StoreAssetForAssetableRequestAssetableTypeEnum[keyof typeof StoreAssetForAssetableRequestAssetableTypeEnum];
|
|
74
75
|
/**
|
|
@@ -23,7 +23,8 @@ exports.StoreAssetForAssetableRequestToJSONTyped = StoreAssetForAssetableRequest
|
|
|
23
23
|
* @export
|
|
24
24
|
*/
|
|
25
25
|
exports.StoreAssetForAssetableRequestAssetableTypeEnum = {
|
|
26
|
-
AppModelsProductsProductChild: 'App\\Models\\Products\\ProductChild'
|
|
26
|
+
AppModelsProductsProductChild: 'App\\Models\\Products\\ProductChild',
|
|
27
|
+
ProductChild: 'productChild'
|
|
27
28
|
};
|
|
28
29
|
/**
|
|
29
30
|
* Check if a given object implements the StoreAssetForAssetableRequest interface.
|
package/dist/models/index.d.ts
CHANGED
|
@@ -94,7 +94,6 @@ export * from './IndexAttributeValueRequest';
|
|
|
94
94
|
export * from './IndexDefinitionRequest';
|
|
95
95
|
export * from './IndexDocumentRequest';
|
|
96
96
|
export * from './IndexExternalApiLogRequest';
|
|
97
|
-
export * from './IndexLabelRequest';
|
|
98
97
|
export * from './IndexOverlayTemplateRequest';
|
|
99
98
|
export * from './IndexProductCategoryRequest';
|
|
100
99
|
export * from './IndexProductChildRequest';
|
|
@@ -104,10 +103,6 @@ export * from './IndexSiteNotificationRequest';
|
|
|
104
103
|
export * from './IndexSiteRequest';
|
|
105
104
|
export * from './IndexSupplierRequest';
|
|
106
105
|
export * from './IndexTagRequest';
|
|
107
|
-
export * from './LabelListResource';
|
|
108
|
-
export * from './LabelListResourceArrayResponse';
|
|
109
|
-
export * from './LabelLiteResource';
|
|
110
|
-
export * from './LabelLiteResourceArrayResponse';
|
|
111
106
|
export * from './LabelResource';
|
|
112
107
|
export * from './LabelResourceArrayResponse';
|
|
113
108
|
export * from './ModelAttributeResource';
|
|
@@ -135,7 +130,6 @@ export * from './PaginatedDocumentResourceResponse';
|
|
|
135
130
|
export * from './PaginatedExternalApiLogListResourceResponse';
|
|
136
131
|
export * from './PaginatedExternalApiLogResourceResponse';
|
|
137
132
|
export * from './PaginatedGoogleCategoryResourceResponse';
|
|
138
|
-
export * from './PaginatedLabelListResourceResponse';
|
|
139
133
|
export * from './PaginatedOverlayTemplateListResourceResponse';
|
|
140
134
|
export * from './PaginatedOverlayTemplateLiteResourceResponse';
|
|
141
135
|
export * from './PaginatedOverlayTemplateResourceResponse';
|
|
@@ -247,7 +241,6 @@ export * from './StoreAttributeValueRequest';
|
|
|
247
241
|
export * from './StoreDefinitionRequest';
|
|
248
242
|
export * from './StoreDocumentFileRequest';
|
|
249
243
|
export * from './StoreDocumentRequest';
|
|
250
|
-
export * from './StoreLabelRequest';
|
|
251
244
|
export * from './StoreOverlayTemplateAssetRequest';
|
|
252
245
|
export * from './StoreOverlayTemplateRequest';
|
|
253
246
|
export * from './StoreProductCategoryRequest';
|
|
@@ -288,7 +281,6 @@ export * from './UpdateDefinitionRequest';
|
|
|
288
281
|
export * from './UpdateDocumentRequest';
|
|
289
282
|
export * from './UpdateFilterOrderAttributeRequest';
|
|
290
283
|
export * from './UpdateFilterOrderAttributeRequestValuesInner';
|
|
291
|
-
export * from './UpdateLabelRequest';
|
|
292
284
|
export * from './UpdateModelAttributeRequest';
|
|
293
285
|
export * from './UpdateOverlayTemplateAssetRequest';
|
|
294
286
|
export * from './UpdateOverlayTemplateRequest';
|
package/dist/models/index.js
CHANGED
|
@@ -112,7 +112,6 @@ __exportStar(require("./IndexAttributeValueRequest"), exports);
|
|
|
112
112
|
__exportStar(require("./IndexDefinitionRequest"), exports);
|
|
113
113
|
__exportStar(require("./IndexDocumentRequest"), exports);
|
|
114
114
|
__exportStar(require("./IndexExternalApiLogRequest"), exports);
|
|
115
|
-
__exportStar(require("./IndexLabelRequest"), exports);
|
|
116
115
|
__exportStar(require("./IndexOverlayTemplateRequest"), exports);
|
|
117
116
|
__exportStar(require("./IndexProductCategoryRequest"), exports);
|
|
118
117
|
__exportStar(require("./IndexProductChildRequest"), exports);
|
|
@@ -122,10 +121,6 @@ __exportStar(require("./IndexSiteNotificationRequest"), exports);
|
|
|
122
121
|
__exportStar(require("./IndexSiteRequest"), exports);
|
|
123
122
|
__exportStar(require("./IndexSupplierRequest"), exports);
|
|
124
123
|
__exportStar(require("./IndexTagRequest"), exports);
|
|
125
|
-
__exportStar(require("./LabelListResource"), exports);
|
|
126
|
-
__exportStar(require("./LabelListResourceArrayResponse"), exports);
|
|
127
|
-
__exportStar(require("./LabelLiteResource"), exports);
|
|
128
|
-
__exportStar(require("./LabelLiteResourceArrayResponse"), exports);
|
|
129
124
|
__exportStar(require("./LabelResource"), exports);
|
|
130
125
|
__exportStar(require("./LabelResourceArrayResponse"), exports);
|
|
131
126
|
__exportStar(require("./ModelAttributeResource"), exports);
|
|
@@ -153,7 +148,6 @@ __exportStar(require("./PaginatedDocumentResourceResponse"), exports);
|
|
|
153
148
|
__exportStar(require("./PaginatedExternalApiLogListResourceResponse"), exports);
|
|
154
149
|
__exportStar(require("./PaginatedExternalApiLogResourceResponse"), exports);
|
|
155
150
|
__exportStar(require("./PaginatedGoogleCategoryResourceResponse"), exports);
|
|
156
|
-
__exportStar(require("./PaginatedLabelListResourceResponse"), exports);
|
|
157
151
|
__exportStar(require("./PaginatedOverlayTemplateListResourceResponse"), exports);
|
|
158
152
|
__exportStar(require("./PaginatedOverlayTemplateLiteResourceResponse"), exports);
|
|
159
153
|
__exportStar(require("./PaginatedOverlayTemplateResourceResponse"), exports);
|
|
@@ -265,7 +259,6 @@ __exportStar(require("./StoreAttributeValueRequest"), exports);
|
|
|
265
259
|
__exportStar(require("./StoreDefinitionRequest"), exports);
|
|
266
260
|
__exportStar(require("./StoreDocumentFileRequest"), exports);
|
|
267
261
|
__exportStar(require("./StoreDocumentRequest"), exports);
|
|
268
|
-
__exportStar(require("./StoreLabelRequest"), exports);
|
|
269
262
|
__exportStar(require("./StoreOverlayTemplateAssetRequest"), exports);
|
|
270
263
|
__exportStar(require("./StoreOverlayTemplateRequest"), exports);
|
|
271
264
|
__exportStar(require("./StoreProductCategoryRequest"), exports);
|
|
@@ -306,7 +299,6 @@ __exportStar(require("./UpdateDefinitionRequest"), exports);
|
|
|
306
299
|
__exportStar(require("./UpdateDocumentRequest"), exports);
|
|
307
300
|
__exportStar(require("./UpdateFilterOrderAttributeRequest"), exports);
|
|
308
301
|
__exportStar(require("./UpdateFilterOrderAttributeRequestValuesInner"), exports);
|
|
309
|
-
__exportStar(require("./UpdateLabelRequest"), exports);
|
|
310
302
|
__exportStar(require("./UpdateModelAttributeRequest"), exports);
|
|
311
303
|
__exportStar(require("./UpdateOverlayTemplateAssetRequest"), exports);
|
|
312
304
|
__exportStar(require("./UpdateOverlayTemplateRequest"), exports);
|
package/docs/LabelResource.md
CHANGED
|
@@ -9,12 +9,9 @@ Name | Type
|
|
|
9
9
|
`id` | number
|
|
10
10
|
`shortName` | string
|
|
11
11
|
`longName` | string
|
|
12
|
-
`
|
|
13
|
-
`
|
|
14
|
-
`
|
|
15
|
-
`textColour` | string
|
|
16
|
-
`startDate` | string
|
|
17
|
-
`endDate` | string
|
|
12
|
+
`siteId` | number
|
|
13
|
+
`color` | string
|
|
14
|
+
`textColor` | string
|
|
18
15
|
|
|
19
16
|
## Example
|
|
20
17
|
|
|
@@ -26,12 +23,9 @@ const example = {
|
|
|
26
23
|
"id": null,
|
|
27
24
|
"shortName": null,
|
|
28
25
|
"longName": null,
|
|
29
|
-
"
|
|
30
|
-
"
|
|
31
|
-
"
|
|
32
|
-
"textColour": null,
|
|
33
|
-
"startDate": null,
|
|
34
|
-
"endDate": null,
|
|
26
|
+
"siteId": null,
|
|
27
|
+
"color": null,
|
|
28
|
+
"textColor": null,
|
|
35
29
|
} satisfies LabelResource
|
|
36
30
|
|
|
37
31
|
console.log(example)
|
|
@@ -15,7 +15,7 @@ Name | Type
|
|
|
15
15
|
`salePrice` | number
|
|
16
16
|
`thumbnail` | string
|
|
17
17
|
`averageRating` | string
|
|
18
|
-
`
|
|
18
|
+
`label` | Array<number>
|
|
19
19
|
`supplierName` | string
|
|
20
20
|
`supplierLogo` | string
|
|
21
21
|
`supplierId` | number
|
|
@@ -40,7 +40,7 @@ const example = {
|
|
|
40
40
|
"salePrice": null,
|
|
41
41
|
"thumbnail": null,
|
|
42
42
|
"averageRating": null,
|
|
43
|
-
"
|
|
43
|
+
"label": null,
|
|
44
44
|
"supplierName": null,
|
|
45
45
|
"supplierLogo": null,
|
|
46
46
|
"supplierId": null,
|
package/package.json
CHANGED
package/src/apis/index.ts
CHANGED
|
@@ -7,7 +7,6 @@ export * from './DefinitionApi';
|
|
|
7
7
|
export * from './DocumentApi';
|
|
8
8
|
export * from './ExternalApiLogApi';
|
|
9
9
|
export * from './GoogleCategoryApi';
|
|
10
|
-
export * from './LabelApi';
|
|
11
10
|
export * from './OverlayTemplateApi';
|
|
12
11
|
export * from './ProductApi';
|
|
13
12
|
export * from './ProductCategoryApi';
|
|
@@ -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']),
|