@digital8/lighting-illusions-ts-sdk 0.0.1443 → 0.0.1444
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/IndexProductChildRequest.d.ts +0 -1
- package/dist/models/IndexProductChildRequest.js +0 -1
- package/dist/models/LabelResource.d.ts +4 -23
- package/dist/models/LabelResource.js +8 -19
- package/dist/models/index.d.ts +0 -8
- package/dist/models/index.js +0 -8
- package/docs/LabelResource.md +6 -12
- package/package.json +1 -1
- package/src/apis/index.ts +0 -1
- package/src/models/IndexProductChildRequest.ts +0 -1
- package/src/models/LabelResource.ts +12 -46
- 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
|
@@ -113,7 +113,6 @@ docs/IndexAttributeValueRequest.md
|
|
|
113
113
|
docs/IndexDefinitionRequest.md
|
|
114
114
|
docs/IndexDocumentRequest.md
|
|
115
115
|
docs/IndexExternalApiLogRequest.md
|
|
116
|
-
docs/IndexLabelRequest.md
|
|
117
116
|
docs/IndexModelAttributeRequest.md
|
|
118
117
|
docs/IndexOverlayTemplateRequest.md
|
|
119
118
|
docs/IndexProductCategoryRequest.md
|
|
@@ -125,11 +124,6 @@ docs/IndexSiteNotificationRequest.md
|
|
|
125
124
|
docs/IndexSiteRequest.md
|
|
126
125
|
docs/IndexSupplierRequest.md
|
|
127
126
|
docs/IndexTagRequest.md
|
|
128
|
-
docs/LabelApi.md
|
|
129
|
-
docs/LabelListResource.md
|
|
130
|
-
docs/LabelListResourceArrayResponse.md
|
|
131
|
-
docs/LabelLiteResource.md
|
|
132
|
-
docs/LabelLiteResourceArrayResponse.md
|
|
133
127
|
docs/LabelResource.md
|
|
134
128
|
docs/LabelResourceArrayResponse.md
|
|
135
129
|
docs/ModelAttributeListResource.md
|
|
@@ -160,7 +154,6 @@ docs/PaginatedDocumentResourceResponse.md
|
|
|
160
154
|
docs/PaginatedExternalApiLogListResourceResponse.md
|
|
161
155
|
docs/PaginatedExternalApiLogResourceResponse.md
|
|
162
156
|
docs/PaginatedGoogleCategoryResourceResponse.md
|
|
163
|
-
docs/PaginatedLabelListResourceResponse.md
|
|
164
157
|
docs/PaginatedModelAttributeListResourceResponse.md
|
|
165
158
|
docs/PaginatedOverlayTemplateListResourceResponse.md
|
|
166
159
|
docs/PaginatedOverlayTemplateLiteResourceResponse.md
|
|
@@ -305,7 +298,6 @@ docs/StoreAttributeValueRequest.md
|
|
|
305
298
|
docs/StoreDefinitionRequest.md
|
|
306
299
|
docs/StoreDocumentFileRequest.md
|
|
307
300
|
docs/StoreDocumentRequest.md
|
|
308
|
-
docs/StoreLabelRequest.md
|
|
309
301
|
docs/StoreOverlayTemplateAssetRequest.md
|
|
310
302
|
docs/StoreOverlayTemplateRequest.md
|
|
311
303
|
docs/StoreProductCategoryRequest.md
|
|
@@ -350,7 +342,6 @@ docs/UpdateDefinitionRequest.md
|
|
|
350
342
|
docs/UpdateDocumentRequest.md
|
|
351
343
|
docs/UpdateFilterOrderAttributeRequest.md
|
|
352
344
|
docs/UpdateFilterOrderAttributeRequestValuesInner.md
|
|
353
|
-
docs/UpdateLabelRequest.md
|
|
354
345
|
docs/UpdateModelAttributeRequest.md
|
|
355
346
|
docs/UpdateOverlayTemplateAssetRequest.md
|
|
356
347
|
docs/UpdateOverlayTemplateRequest.md
|
|
@@ -377,7 +368,6 @@ src/apis/DefinitionApi.ts
|
|
|
377
368
|
src/apis/DocumentApi.ts
|
|
378
369
|
src/apis/ExternalApiLogApi.ts
|
|
379
370
|
src/apis/GoogleCategoryApi.ts
|
|
380
|
-
src/apis/LabelApi.ts
|
|
381
371
|
src/apis/OverlayTemplateApi.ts
|
|
382
372
|
src/apis/ProductApi.ts
|
|
383
373
|
src/apis/ProductCategoryApi.ts
|
|
@@ -492,7 +482,6 @@ src/models/IndexAttributeValueRequest.ts
|
|
|
492
482
|
src/models/IndexDefinitionRequest.ts
|
|
493
483
|
src/models/IndexDocumentRequest.ts
|
|
494
484
|
src/models/IndexExternalApiLogRequest.ts
|
|
495
|
-
src/models/IndexLabelRequest.ts
|
|
496
485
|
src/models/IndexModelAttributeRequest.ts
|
|
497
486
|
src/models/IndexOverlayTemplateRequest.ts
|
|
498
487
|
src/models/IndexProductCategoryRequest.ts
|
|
@@ -504,10 +493,6 @@ src/models/IndexSiteNotificationRequest.ts
|
|
|
504
493
|
src/models/IndexSiteRequest.ts
|
|
505
494
|
src/models/IndexSupplierRequest.ts
|
|
506
495
|
src/models/IndexTagRequest.ts
|
|
507
|
-
src/models/LabelListResource.ts
|
|
508
|
-
src/models/LabelListResourceArrayResponse.ts
|
|
509
|
-
src/models/LabelLiteResource.ts
|
|
510
|
-
src/models/LabelLiteResourceArrayResponse.ts
|
|
511
496
|
src/models/LabelResource.ts
|
|
512
497
|
src/models/LabelResourceArrayResponse.ts
|
|
513
498
|
src/models/ModelAttributeListResource.ts
|
|
@@ -537,7 +522,6 @@ src/models/PaginatedDocumentResourceResponse.ts
|
|
|
537
522
|
src/models/PaginatedExternalApiLogListResourceResponse.ts
|
|
538
523
|
src/models/PaginatedExternalApiLogResourceResponse.ts
|
|
539
524
|
src/models/PaginatedGoogleCategoryResourceResponse.ts
|
|
540
|
-
src/models/PaginatedLabelListResourceResponse.ts
|
|
541
525
|
src/models/PaginatedModelAttributeListResourceResponse.ts
|
|
542
526
|
src/models/PaginatedOverlayTemplateListResourceResponse.ts
|
|
543
527
|
src/models/PaginatedOverlayTemplateLiteResourceResponse.ts
|
|
@@ -677,7 +661,6 @@ src/models/StoreAttributeValueRequest.ts
|
|
|
677
661
|
src/models/StoreDefinitionRequest.ts
|
|
678
662
|
src/models/StoreDocumentFileRequest.ts
|
|
679
663
|
src/models/StoreDocumentRequest.ts
|
|
680
|
-
src/models/StoreLabelRequest.ts
|
|
681
664
|
src/models/StoreOverlayTemplateAssetRequest.ts
|
|
682
665
|
src/models/StoreOverlayTemplateRequest.ts
|
|
683
666
|
src/models/StoreProductCategoryRequest.ts
|
|
@@ -720,7 +703,6 @@ src/models/UpdateDefinitionRequest.ts
|
|
|
720
703
|
src/models/UpdateDocumentRequest.ts
|
|
721
704
|
src/models/UpdateFilterOrderAttributeRequest.ts
|
|
722
705
|
src/models/UpdateFilterOrderAttributeRequestValuesInner.ts
|
|
723
|
-
src/models/UpdateLabelRequest.ts
|
|
724
706
|
src/models/UpdateModelAttributeRequest.ts
|
|
725
707
|
src/models/UpdateOverlayTemplateAssetRequest.ts
|
|
726
708
|
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.1444
|
|
2
2
|
|
|
3
3
|
A TypeScript SDK client for the localhost API.
|
|
4
4
|
|
|
@@ -92,12 +92,6 @@ All URIs are relative to *http://localhost/api*
|
|
|
92
92
|
*ExternalApiLogApi* | [**getUniqueEndpointsExternalApiLog**](docs/ExternalApiLogApi.md#getuniqueendpointsexternalapilogoperation) | **POST** /admin-api/external-api-log/endpoints | Auto-generated: getUniqueEndpointsExternalApiLog
|
|
93
93
|
*ExternalApiLogApi* | [**indexExternalApiLog**](docs/ExternalApiLogApi.md#indexexternalapilogoperation) | **POST** /admin-api/external-api-log/list | Auto-generated: indexExternalApiLog
|
|
94
94
|
*GoogleCategoryApi* | [**getAllGoogleCategory**](docs/GoogleCategoryApi.md#getallgooglecategoryoperation) | **POST** /admin-api/google-category/all | Auto-generated: getAllGoogleCategory
|
|
95
|
-
*LabelApi* | [**destroyLabel**](docs/LabelApi.md#destroylabel) | **DELETE** /admin-api/label/{label}/delete | Auto-generated: destroyLabel
|
|
96
|
-
*LabelApi* | [**getAllLabel**](docs/LabelApi.md#getalllabel) | **POST** /admin-api/label/all | Auto-generated: getAllLabel
|
|
97
|
-
*LabelApi* | [**indexLabel**](docs/LabelApi.md#indexlabeloperation) | **POST** /admin-api/label/list | Auto-generated: indexLabel
|
|
98
|
-
*LabelApi* | [**showLabel**](docs/LabelApi.md#showlabel) | **GET** /admin-api/label/{label} | Auto-generated: showLabel
|
|
99
|
-
*LabelApi* | [**storeLabel**](docs/LabelApi.md#storelabeloperation) | **POST** /admin-api/label/create | Auto-generated: storeLabel
|
|
100
|
-
*LabelApi* | [**updateLabel**](docs/LabelApi.md#updatelabeloperation) | **PUT** /admin-api/label/{label}/update | Auto-generated: updateLabel
|
|
101
95
|
*OverlayTemplateApi* | [**attachAssetsOverlayTemplate**](docs/OverlayTemplateApi.md#attachassetsoverlaytemplateoperation) | **POST** /admin-api/overlay-template/{overlayTemplate}/attach-assets | Auto-generated: attachAssetsOverlayTemplate
|
|
102
96
|
*OverlayTemplateApi* | [**destroyOverlayTemplate**](docs/OverlayTemplateApi.md#destroyoverlaytemplate) | **DELETE** /admin-api/overlay-template/{overlayTemplate}/delete | Auto-generated: destroyOverlayTemplate
|
|
103
97
|
*OverlayTemplateApi* | [**destroyOverlayTemplateAsset**](docs/OverlayTemplateApi.md#destroyoverlaytemplateasset) | **DELETE** /admin-api/overlay-template/asset/{overlayTemplateAsset}/delete | Auto-generated: destroyOverlayTemplateAsset
|
|
@@ -303,7 +297,6 @@ All URIs are relative to *http://localhost/api*
|
|
|
303
297
|
- [IndexDefinitionRequest](docs/IndexDefinitionRequest.md)
|
|
304
298
|
- [IndexDocumentRequest](docs/IndexDocumentRequest.md)
|
|
305
299
|
- [IndexExternalApiLogRequest](docs/IndexExternalApiLogRequest.md)
|
|
306
|
-
- [IndexLabelRequest](docs/IndexLabelRequest.md)
|
|
307
300
|
- [IndexModelAttributeRequest](docs/IndexModelAttributeRequest.md)
|
|
308
301
|
- [IndexOverlayTemplateRequest](docs/IndexOverlayTemplateRequest.md)
|
|
309
302
|
- [IndexProductCategoryRequest](docs/IndexProductCategoryRequest.md)
|
|
@@ -315,10 +308,6 @@ All URIs are relative to *http://localhost/api*
|
|
|
315
308
|
- [IndexSiteRequest](docs/IndexSiteRequest.md)
|
|
316
309
|
- [IndexSupplierRequest](docs/IndexSupplierRequest.md)
|
|
317
310
|
- [IndexTagRequest](docs/IndexTagRequest.md)
|
|
318
|
-
- [LabelListResource](docs/LabelListResource.md)
|
|
319
|
-
- [LabelListResourceArrayResponse](docs/LabelListResourceArrayResponse.md)
|
|
320
|
-
- [LabelLiteResource](docs/LabelLiteResource.md)
|
|
321
|
-
- [LabelLiteResourceArrayResponse](docs/LabelLiteResourceArrayResponse.md)
|
|
322
311
|
- [LabelResource](docs/LabelResource.md)
|
|
323
312
|
- [LabelResourceArrayResponse](docs/LabelResourceArrayResponse.md)
|
|
324
313
|
- [ModelAttributeListResource](docs/ModelAttributeListResource.md)
|
|
@@ -348,7 +337,6 @@ All URIs are relative to *http://localhost/api*
|
|
|
348
337
|
- [PaginatedExternalApiLogListResourceResponse](docs/PaginatedExternalApiLogListResourceResponse.md)
|
|
349
338
|
- [PaginatedExternalApiLogResourceResponse](docs/PaginatedExternalApiLogResourceResponse.md)
|
|
350
339
|
- [PaginatedGoogleCategoryResourceResponse](docs/PaginatedGoogleCategoryResourceResponse.md)
|
|
351
|
-
- [PaginatedLabelListResourceResponse](docs/PaginatedLabelListResourceResponse.md)
|
|
352
340
|
- [PaginatedModelAttributeListResourceResponse](docs/PaginatedModelAttributeListResourceResponse.md)
|
|
353
341
|
- [PaginatedOverlayTemplateListResourceResponse](docs/PaginatedOverlayTemplateListResourceResponse.md)
|
|
354
342
|
- [PaginatedOverlayTemplateLiteResourceResponse](docs/PaginatedOverlayTemplateLiteResourceResponse.md)
|
|
@@ -488,7 +476,6 @@ All URIs are relative to *http://localhost/api*
|
|
|
488
476
|
- [StoreDefinitionRequest](docs/StoreDefinitionRequest.md)
|
|
489
477
|
- [StoreDocumentFileRequest](docs/StoreDocumentFileRequest.md)
|
|
490
478
|
- [StoreDocumentRequest](docs/StoreDocumentRequest.md)
|
|
491
|
-
- [StoreLabelRequest](docs/StoreLabelRequest.md)
|
|
492
479
|
- [StoreOverlayTemplateAssetRequest](docs/StoreOverlayTemplateAssetRequest.md)
|
|
493
480
|
- [StoreOverlayTemplateRequest](docs/StoreOverlayTemplateRequest.md)
|
|
494
481
|
- [StoreProductCategoryRequest](docs/StoreProductCategoryRequest.md)
|
|
@@ -531,7 +518,6 @@ All URIs are relative to *http://localhost/api*
|
|
|
531
518
|
- [UpdateDocumentRequest](docs/UpdateDocumentRequest.md)
|
|
532
519
|
- [UpdateFilterOrderAttributeRequest](docs/UpdateFilterOrderAttributeRequest.md)
|
|
533
520
|
- [UpdateFilterOrderAttributeRequestValuesInner](docs/UpdateFilterOrderAttributeRequestValuesInner.md)
|
|
534
|
-
- [UpdateLabelRequest](docs/UpdateLabelRequest.md)
|
|
535
521
|
- [UpdateModelAttributeRequest](docs/UpdateModelAttributeRequest.md)
|
|
536
522
|
- [UpdateOverlayTemplateAssetRequest](docs/UpdateOverlayTemplateAssetRequest.md)
|
|
537
523
|
- [UpdateOverlayTemplateRequest](docs/UpdateOverlayTemplateRequest.md)
|
|
@@ -563,7 +549,7 @@ and is automatically generated by the
|
|
|
563
549
|
[OpenAPI Generator](https://openapi-generator.tech) project:
|
|
564
550
|
|
|
565
551
|
- API version: `1.0.0`
|
|
566
|
-
- Package version: `0.0.
|
|
552
|
+
- Package version: `0.0.1444`
|
|
567
553
|
- Generator version: `7.20.0`
|
|
568
554
|
- Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
|
|
569
555
|
|
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);
|
|
@@ -178,7 +178,6 @@ export declare const IndexProductChildRequestRelatedTypeEnum: {
|
|
|
178
178
|
readonly ProductRange: "productRange";
|
|
179
179
|
readonly Supplier: "supplier";
|
|
180
180
|
readonly Tag: "tag";
|
|
181
|
-
readonly Label: "label";
|
|
182
181
|
readonly Site: "site";
|
|
183
182
|
};
|
|
184
183
|
export type IndexProductChildRequestRelatedTypeEnum = typeof IndexProductChildRequestRelatedTypeEnum[keyof typeof IndexProductChildRequestRelatedTypeEnum];
|
|
@@ -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
|
}
|
package/dist/models/index.d.ts
CHANGED
|
@@ -102,7 +102,6 @@ export * from './IndexAttributeValueRequest';
|
|
|
102
102
|
export * from './IndexDefinitionRequest';
|
|
103
103
|
export * from './IndexDocumentRequest';
|
|
104
104
|
export * from './IndexExternalApiLogRequest';
|
|
105
|
-
export * from './IndexLabelRequest';
|
|
106
105
|
export * from './IndexModelAttributeRequest';
|
|
107
106
|
export * from './IndexOverlayTemplateRequest';
|
|
108
107
|
export * from './IndexProductCategoryRequest';
|
|
@@ -114,10 +113,6 @@ export * from './IndexSiteNotificationRequest';
|
|
|
114
113
|
export * from './IndexSiteRequest';
|
|
115
114
|
export * from './IndexSupplierRequest';
|
|
116
115
|
export * from './IndexTagRequest';
|
|
117
|
-
export * from './LabelListResource';
|
|
118
|
-
export * from './LabelListResourceArrayResponse';
|
|
119
|
-
export * from './LabelLiteResource';
|
|
120
|
-
export * from './LabelLiteResourceArrayResponse';
|
|
121
116
|
export * from './LabelResource';
|
|
122
117
|
export * from './LabelResourceArrayResponse';
|
|
123
118
|
export * from './ModelAttributeListResource';
|
|
@@ -147,7 +142,6 @@ export * from './PaginatedDocumentResourceResponse';
|
|
|
147
142
|
export * from './PaginatedExternalApiLogListResourceResponse';
|
|
148
143
|
export * from './PaginatedExternalApiLogResourceResponse';
|
|
149
144
|
export * from './PaginatedGoogleCategoryResourceResponse';
|
|
150
|
-
export * from './PaginatedLabelListResourceResponse';
|
|
151
145
|
export * from './PaginatedModelAttributeListResourceResponse';
|
|
152
146
|
export * from './PaginatedOverlayTemplateListResourceResponse';
|
|
153
147
|
export * from './PaginatedOverlayTemplateLiteResourceResponse';
|
|
@@ -287,7 +281,6 @@ export * from './StoreAttributeValueRequest';
|
|
|
287
281
|
export * from './StoreDefinitionRequest';
|
|
288
282
|
export * from './StoreDocumentFileRequest';
|
|
289
283
|
export * from './StoreDocumentRequest';
|
|
290
|
-
export * from './StoreLabelRequest';
|
|
291
284
|
export * from './StoreOverlayTemplateAssetRequest';
|
|
292
285
|
export * from './StoreOverlayTemplateRequest';
|
|
293
286
|
export * from './StoreProductCategoryRequest';
|
|
@@ -330,7 +323,6 @@ export * from './UpdateDefinitionRequest';
|
|
|
330
323
|
export * from './UpdateDocumentRequest';
|
|
331
324
|
export * from './UpdateFilterOrderAttributeRequest';
|
|
332
325
|
export * from './UpdateFilterOrderAttributeRequestValuesInner';
|
|
333
|
-
export * from './UpdateLabelRequest';
|
|
334
326
|
export * from './UpdateModelAttributeRequest';
|
|
335
327
|
export * from './UpdateOverlayTemplateAssetRequest';
|
|
336
328
|
export * from './UpdateOverlayTemplateRequest';
|
package/dist/models/index.js
CHANGED
|
@@ -120,7 +120,6 @@ __exportStar(require("./IndexAttributeValueRequest"), exports);
|
|
|
120
120
|
__exportStar(require("./IndexDefinitionRequest"), exports);
|
|
121
121
|
__exportStar(require("./IndexDocumentRequest"), exports);
|
|
122
122
|
__exportStar(require("./IndexExternalApiLogRequest"), exports);
|
|
123
|
-
__exportStar(require("./IndexLabelRequest"), exports);
|
|
124
123
|
__exportStar(require("./IndexModelAttributeRequest"), exports);
|
|
125
124
|
__exportStar(require("./IndexOverlayTemplateRequest"), exports);
|
|
126
125
|
__exportStar(require("./IndexProductCategoryRequest"), exports);
|
|
@@ -132,10 +131,6 @@ __exportStar(require("./IndexSiteNotificationRequest"), exports);
|
|
|
132
131
|
__exportStar(require("./IndexSiteRequest"), exports);
|
|
133
132
|
__exportStar(require("./IndexSupplierRequest"), exports);
|
|
134
133
|
__exportStar(require("./IndexTagRequest"), exports);
|
|
135
|
-
__exportStar(require("./LabelListResource"), exports);
|
|
136
|
-
__exportStar(require("./LabelListResourceArrayResponse"), exports);
|
|
137
|
-
__exportStar(require("./LabelLiteResource"), exports);
|
|
138
|
-
__exportStar(require("./LabelLiteResourceArrayResponse"), exports);
|
|
139
134
|
__exportStar(require("./LabelResource"), exports);
|
|
140
135
|
__exportStar(require("./LabelResourceArrayResponse"), exports);
|
|
141
136
|
__exportStar(require("./ModelAttributeListResource"), exports);
|
|
@@ -165,7 +160,6 @@ __exportStar(require("./PaginatedDocumentResourceResponse"), exports);
|
|
|
165
160
|
__exportStar(require("./PaginatedExternalApiLogListResourceResponse"), exports);
|
|
166
161
|
__exportStar(require("./PaginatedExternalApiLogResourceResponse"), exports);
|
|
167
162
|
__exportStar(require("./PaginatedGoogleCategoryResourceResponse"), exports);
|
|
168
|
-
__exportStar(require("./PaginatedLabelListResourceResponse"), exports);
|
|
169
163
|
__exportStar(require("./PaginatedModelAttributeListResourceResponse"), exports);
|
|
170
164
|
__exportStar(require("./PaginatedOverlayTemplateListResourceResponse"), exports);
|
|
171
165
|
__exportStar(require("./PaginatedOverlayTemplateLiteResourceResponse"), exports);
|
|
@@ -305,7 +299,6 @@ __exportStar(require("./StoreAttributeValueRequest"), exports);
|
|
|
305
299
|
__exportStar(require("./StoreDefinitionRequest"), exports);
|
|
306
300
|
__exportStar(require("./StoreDocumentFileRequest"), exports);
|
|
307
301
|
__exportStar(require("./StoreDocumentRequest"), exports);
|
|
308
|
-
__exportStar(require("./StoreLabelRequest"), exports);
|
|
309
302
|
__exportStar(require("./StoreOverlayTemplateAssetRequest"), exports);
|
|
310
303
|
__exportStar(require("./StoreOverlayTemplateRequest"), exports);
|
|
311
304
|
__exportStar(require("./StoreProductCategoryRequest"), exports);
|
|
@@ -348,7 +341,6 @@ __exportStar(require("./UpdateDefinitionRequest"), exports);
|
|
|
348
341
|
__exportStar(require("./UpdateDocumentRequest"), exports);
|
|
349
342
|
__exportStar(require("./UpdateFilterOrderAttributeRequest"), exports);
|
|
350
343
|
__exportStar(require("./UpdateFilterOrderAttributeRequestValuesInner"), exports);
|
|
351
|
-
__exportStar(require("./UpdateLabelRequest"), exports);
|
|
352
344
|
__exportStar(require("./UpdateModelAttributeRequest"), exports);
|
|
353
345
|
__exportStar(require("./UpdateOverlayTemplateAssetRequest"), exports);
|
|
354
346
|
__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)
|
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';
|
|
@@ -186,7 +186,6 @@ export const IndexProductChildRequestRelatedTypeEnum = {
|
|
|
186
186
|
ProductRange: 'productRange',
|
|
187
187
|
Supplier: 'supplier',
|
|
188
188
|
Tag: 'tag',
|
|
189
|
-
Label: 'label',
|
|
190
189
|
Site: 'site'
|
|
191
190
|
} as const;
|
|
192
191
|
export type IndexProductChildRequestRelatedTypeEnum = typeof IndexProductChildRequestRelatedTypeEnum[keyof typeof IndexProductChildRequestRelatedTypeEnum];
|
|
@@ -13,14 +13,6 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
import { mapValues } from '../runtime';
|
|
16
|
-
import type { SiteLiteResource } from './SiteLiteResource';
|
|
17
|
-
import {
|
|
18
|
-
SiteLiteResourceFromJSON,
|
|
19
|
-
SiteLiteResourceFromJSONTyped,
|
|
20
|
-
SiteLiteResourceToJSON,
|
|
21
|
-
SiteLiteResourceToJSONTyped,
|
|
22
|
-
} from './SiteLiteResource';
|
|
23
|
-
|
|
24
16
|
/**
|
|
25
17
|
*
|
|
26
18
|
* @export
|
|
@@ -47,40 +39,22 @@ export interface LabelResource {
|
|
|
47
39
|
longName: string;
|
|
48
40
|
/**
|
|
49
41
|
*
|
|
50
|
-
* @type {
|
|
51
|
-
* @memberof LabelResource
|
|
52
|
-
*/
|
|
53
|
-
site: SiteLiteResource | null;
|
|
54
|
-
/**
|
|
55
|
-
*
|
|
56
|
-
* @type {string}
|
|
57
|
-
* @memberof LabelResource
|
|
58
|
-
*/
|
|
59
|
-
cartButtonText: string;
|
|
60
|
-
/**
|
|
61
|
-
*
|
|
62
|
-
* @type {string}
|
|
63
|
-
* @memberof LabelResource
|
|
64
|
-
*/
|
|
65
|
-
colour: string;
|
|
66
|
-
/**
|
|
67
|
-
*
|
|
68
|
-
* @type {string}
|
|
42
|
+
* @type {number}
|
|
69
43
|
* @memberof LabelResource
|
|
70
44
|
*/
|
|
71
|
-
|
|
45
|
+
siteId: number;
|
|
72
46
|
/**
|
|
73
47
|
*
|
|
74
48
|
* @type {string}
|
|
75
49
|
* @memberof LabelResource
|
|
76
50
|
*/
|
|
77
|
-
|
|
51
|
+
color: string;
|
|
78
52
|
/**
|
|
79
53
|
*
|
|
80
54
|
* @type {string}
|
|
81
55
|
* @memberof LabelResource
|
|
82
56
|
*/
|
|
83
|
-
|
|
57
|
+
textColor?: string | null;
|
|
84
58
|
}
|
|
85
59
|
|
|
86
60
|
/**
|
|
@@ -89,10 +63,8 @@ export interface LabelResource {
|
|
|
89
63
|
export function instanceOfLabelResource(value: object): value is LabelResource {
|
|
90
64
|
if (!('shortName' in value) || value['shortName'] === undefined) return false;
|
|
91
65
|
if (!('longName' in value) || value['longName'] === undefined) return false;
|
|
92
|
-
if (!('
|
|
93
|
-
if (!('
|
|
94
|
-
if (!('colour' in value) || value['colour'] === undefined) return false;
|
|
95
|
-
if (!('textColour' in value) || value['textColour'] === undefined) return false;
|
|
66
|
+
if (!('siteId' in value) || value['siteId'] === undefined) return false;
|
|
67
|
+
if (!('color' in value) || value['color'] === undefined) return false;
|
|
96
68
|
return true;
|
|
97
69
|
}
|
|
98
70
|
|
|
@@ -109,12 +81,9 @@ export function LabelResourceFromJSONTyped(json: any, ignoreDiscriminator: boole
|
|
|
109
81
|
'id': json['id'] == null ? undefined : json['id'],
|
|
110
82
|
'shortName': json['shortName'],
|
|
111
83
|
'longName': json['longName'],
|
|
112
|
-
'
|
|
113
|
-
'
|
|
114
|
-
'
|
|
115
|
-
'textColour': json['textColour'],
|
|
116
|
-
'startDate': json['startDate'] == null ? undefined : json['startDate'],
|
|
117
|
-
'endDate': json['endDate'] == null ? undefined : json['endDate'],
|
|
84
|
+
'siteId': json['siteId'],
|
|
85
|
+
'color': json['color'],
|
|
86
|
+
'textColor': json['textColor'] == null ? undefined : json['textColor'],
|
|
118
87
|
};
|
|
119
88
|
}
|
|
120
89
|
|
|
@@ -132,12 +101,9 @@ export function LabelResourceToJSONTyped(value?: LabelResource | null, ignoreDis
|
|
|
132
101
|
'id': value['id'],
|
|
133
102
|
'shortName': value['shortName'],
|
|
134
103
|
'longName': value['longName'],
|
|
135
|
-
'
|
|
136
|
-
'
|
|
137
|
-
'
|
|
138
|
-
'textColour': value['textColour'],
|
|
139
|
-
'startDate': value['startDate'],
|
|
140
|
-
'endDate': value['endDate'],
|
|
104
|
+
'siteId': value['siteId'],
|
|
105
|
+
'color': value['color'],
|
|
106
|
+
'textColor': value['textColor'],
|
|
141
107
|
};
|
|
142
108
|
}
|
|
143
109
|
|
package/src/models/index.ts
CHANGED
|
@@ -104,7 +104,6 @@ export * from './IndexAttributeValueRequest';
|
|
|
104
104
|
export * from './IndexDefinitionRequest';
|
|
105
105
|
export * from './IndexDocumentRequest';
|
|
106
106
|
export * from './IndexExternalApiLogRequest';
|
|
107
|
-
export * from './IndexLabelRequest';
|
|
108
107
|
export * from './IndexModelAttributeRequest';
|
|
109
108
|
export * from './IndexOverlayTemplateRequest';
|
|
110
109
|
export * from './IndexProductCategoryRequest';
|
|
@@ -116,10 +115,6 @@ export * from './IndexSiteNotificationRequest';
|
|
|
116
115
|
export * from './IndexSiteRequest';
|
|
117
116
|
export * from './IndexSupplierRequest';
|
|
118
117
|
export * from './IndexTagRequest';
|
|
119
|
-
export * from './LabelListResource';
|
|
120
|
-
export * from './LabelListResourceArrayResponse';
|
|
121
|
-
export * from './LabelLiteResource';
|
|
122
|
-
export * from './LabelLiteResourceArrayResponse';
|
|
123
118
|
export * from './LabelResource';
|
|
124
119
|
export * from './LabelResourceArrayResponse';
|
|
125
120
|
export * from './ModelAttributeListResource';
|
|
@@ -149,7 +144,6 @@ export * from './PaginatedDocumentResourceResponse';
|
|
|
149
144
|
export * from './PaginatedExternalApiLogListResourceResponse';
|
|
150
145
|
export * from './PaginatedExternalApiLogResourceResponse';
|
|
151
146
|
export * from './PaginatedGoogleCategoryResourceResponse';
|
|
152
|
-
export * from './PaginatedLabelListResourceResponse';
|
|
153
147
|
export * from './PaginatedModelAttributeListResourceResponse';
|
|
154
148
|
export * from './PaginatedOverlayTemplateListResourceResponse';
|
|
155
149
|
export * from './PaginatedOverlayTemplateLiteResourceResponse';
|
|
@@ -289,7 +283,6 @@ export * from './StoreAttributeValueRequest';
|
|
|
289
283
|
export * from './StoreDefinitionRequest';
|
|
290
284
|
export * from './StoreDocumentFileRequest';
|
|
291
285
|
export * from './StoreDocumentRequest';
|
|
292
|
-
export * from './StoreLabelRequest';
|
|
293
286
|
export * from './StoreOverlayTemplateAssetRequest';
|
|
294
287
|
export * from './StoreOverlayTemplateRequest';
|
|
295
288
|
export * from './StoreProductCategoryRequest';
|
|
@@ -332,7 +325,6 @@ export * from './UpdateDefinitionRequest';
|
|
|
332
325
|
export * from './UpdateDocumentRequest';
|
|
333
326
|
export * from './UpdateFilterOrderAttributeRequest';
|
|
334
327
|
export * from './UpdateFilterOrderAttributeRequestValuesInner';
|
|
335
|
-
export * from './UpdateLabelRequest';
|
|
336
328
|
export * from './UpdateModelAttributeRequest';
|
|
337
329
|
export * from './UpdateOverlayTemplateAssetRequest';
|
|
338
330
|
export * from './UpdateOverlayTemplateRequest';
|