@digital8/lighting-illusions-ts-sdk 0.0.1445 → 0.0.1447

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.
Files changed (58) hide show
  1. package/.openapi-generator/FILES +2 -18
  2. package/README.md +3 -16
  3. package/dist/apis/index.d.ts +0 -1
  4. package/dist/apis/index.js +0 -1
  5. package/dist/models/ExternalApiLogResource.d.ts +1 -1
  6. package/dist/models/ExternalApiLogResource.js +3 -1
  7. package/dist/models/IndexProductChildRequest.d.ts +0 -1
  8. package/dist/models/IndexProductChildRequest.js +0 -1
  9. package/dist/models/LabelResource.d.ts +4 -23
  10. package/dist/models/LabelResource.js +8 -19
  11. package/dist/models/ProductRegistrationAssetType.d.ts +25 -0
  12. package/dist/models/ProductRegistrationAssetType.js +51 -0
  13. package/dist/models/index.d.ts +1 -8
  14. package/dist/models/index.js +1 -8
  15. package/docs/LabelResource.md +6 -12
  16. package/docs/{LabelLiteResourceArrayResponse.md → ProductRegistrationAssetType.md} +4 -6
  17. package/package.json +1 -1
  18. package/src/apis/index.ts +0 -1
  19. package/src/models/ExternalApiLogResource.ts +3 -2
  20. package/src/models/IndexProductChildRequest.ts +0 -1
  21. package/src/models/LabelResource.ts +12 -46
  22. package/src/models/ProductRegistrationAssetType.ts +53 -0
  23. package/src/models/index.ts +1 -8
  24. package/dist/apis/LabelApi.d.ts +0 -109
  25. package/dist/apis/LabelApi.js +0 -433
  26. package/dist/models/IndexLabelRequest.d.ts +0 -109
  27. package/dist/models/IndexLabelRequest.js +0 -92
  28. package/dist/models/LabelListResource.d.ts +0 -75
  29. package/dist/models/LabelListResource.js +0 -74
  30. package/dist/models/LabelListResourceArrayResponse.d.ts +0 -33
  31. package/dist/models/LabelListResourceArrayResponse.js +0 -50
  32. package/dist/models/LabelLiteResource.d.ts +0 -56
  33. package/dist/models/LabelLiteResource.js +0 -65
  34. package/dist/models/LabelLiteResourceArrayResponse.d.ts +0 -33
  35. package/dist/models/LabelLiteResourceArrayResponse.js +0 -50
  36. package/dist/models/PaginatedLabelListResourceResponse.d.ts +0 -40
  37. package/dist/models/PaginatedLabelListResourceResponse.js +0 -57
  38. package/dist/models/StoreLabelRequest.d.ts +0 -74
  39. package/dist/models/StoreLabelRequest.js +0 -71
  40. package/dist/models/UpdateLabelRequest.d.ts +0 -74
  41. package/dist/models/UpdateLabelRequest.js +0 -63
  42. package/docs/IndexLabelRequest.md +0 -50
  43. package/docs/LabelApi.md +0 -407
  44. package/docs/LabelListResource.md +0 -48
  45. package/docs/LabelListResourceArrayResponse.md +0 -34
  46. package/docs/LabelLiteResource.md +0 -42
  47. package/docs/PaginatedLabelListResourceResponse.md +0 -36
  48. package/docs/StoreLabelRequest.md +0 -48
  49. package/docs/UpdateLabelRequest.md +0 -48
  50. package/src/apis/LabelApi.ts +0 -328
  51. package/src/models/IndexLabelRequest.ts +0 -163
  52. package/src/models/LabelListResource.ts +0 -134
  53. package/src/models/LabelListResourceArrayResponse.ts +0 -73
  54. package/src/models/LabelLiteResource.ts +0 -101
  55. package/src/models/LabelLiteResourceArrayResponse.ts +0 -73
  56. package/src/models/PaginatedLabelListResourceResponse.ts +0 -90
  57. package/src/models/StoreLabelRequest.ts +0 -125
  58. package/src/models/UpdateLabelRequest.ts +0 -121
@@ -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
@@ -263,6 +256,7 @@ docs/ProductRangeSiteDetailResource.md
263
256
  docs/ProductRangeSiteDetailResourceArrayResponse.md
264
257
  docs/ProductRangeSortBy.md
265
258
  docs/ProductRating.md
259
+ docs/ProductRegistrationAssetType.md
266
260
  docs/ProductResource.md
267
261
  docs/ProductResourceArrayResponse.md
268
262
  docs/ProductSearchResponseResource.md
@@ -305,7 +299,6 @@ docs/StoreAttributeValueRequest.md
305
299
  docs/StoreDefinitionRequest.md
306
300
  docs/StoreDocumentFileRequest.md
307
301
  docs/StoreDocumentRequest.md
308
- docs/StoreLabelRequest.md
309
302
  docs/StoreOverlayTemplateAssetRequest.md
310
303
  docs/StoreOverlayTemplateRequest.md
311
304
  docs/StoreProductCategoryRequest.md
@@ -350,7 +343,6 @@ docs/UpdateDefinitionRequest.md
350
343
  docs/UpdateDocumentRequest.md
351
344
  docs/UpdateFilterOrderAttributeRequest.md
352
345
  docs/UpdateFilterOrderAttributeRequestValuesInner.md
353
- docs/UpdateLabelRequest.md
354
346
  docs/UpdateModelAttributeRequest.md
355
347
  docs/UpdateOverlayTemplateAssetRequest.md
356
348
  docs/UpdateOverlayTemplateRequest.md
@@ -377,7 +369,6 @@ src/apis/DefinitionApi.ts
377
369
  src/apis/DocumentApi.ts
378
370
  src/apis/ExternalApiLogApi.ts
379
371
  src/apis/GoogleCategoryApi.ts
380
- src/apis/LabelApi.ts
381
372
  src/apis/OverlayTemplateApi.ts
382
373
  src/apis/ProductApi.ts
383
374
  src/apis/ProductCategoryApi.ts
@@ -492,7 +483,6 @@ src/models/IndexAttributeValueRequest.ts
492
483
  src/models/IndexDefinitionRequest.ts
493
484
  src/models/IndexDocumentRequest.ts
494
485
  src/models/IndexExternalApiLogRequest.ts
495
- src/models/IndexLabelRequest.ts
496
486
  src/models/IndexModelAttributeRequest.ts
497
487
  src/models/IndexOverlayTemplateRequest.ts
498
488
  src/models/IndexProductCategoryRequest.ts
@@ -504,10 +494,6 @@ src/models/IndexSiteNotificationRequest.ts
504
494
  src/models/IndexSiteRequest.ts
505
495
  src/models/IndexSupplierRequest.ts
506
496
  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
497
  src/models/LabelResource.ts
512
498
  src/models/LabelResourceArrayResponse.ts
513
499
  src/models/ModelAttributeListResource.ts
@@ -537,7 +523,6 @@ src/models/PaginatedDocumentResourceResponse.ts
537
523
  src/models/PaginatedExternalApiLogListResourceResponse.ts
538
524
  src/models/PaginatedExternalApiLogResourceResponse.ts
539
525
  src/models/PaginatedGoogleCategoryResourceResponse.ts
540
- src/models/PaginatedLabelListResourceResponse.ts
541
526
  src/models/PaginatedModelAttributeListResourceResponse.ts
542
527
  src/models/PaginatedOverlayTemplateListResourceResponse.ts
543
528
  src/models/PaginatedOverlayTemplateLiteResourceResponse.ts
@@ -637,6 +622,7 @@ src/models/ProductRangeSiteDetailResource.ts
637
622
  src/models/ProductRangeSiteDetailResourceArrayResponse.ts
638
623
  src/models/ProductRangeSortBy.ts
639
624
  src/models/ProductRating.ts
625
+ src/models/ProductRegistrationAssetType.ts
640
626
  src/models/ProductResource.ts
641
627
  src/models/ProductResourceArrayResponse.ts
642
628
  src/models/ProductSearchResponseResource.ts
@@ -677,7 +663,6 @@ src/models/StoreAttributeValueRequest.ts
677
663
  src/models/StoreDefinitionRequest.ts
678
664
  src/models/StoreDocumentFileRequest.ts
679
665
  src/models/StoreDocumentRequest.ts
680
- src/models/StoreLabelRequest.ts
681
666
  src/models/StoreOverlayTemplateAssetRequest.ts
682
667
  src/models/StoreOverlayTemplateRequest.ts
683
668
  src/models/StoreProductCategoryRequest.ts
@@ -720,7 +705,6 @@ src/models/UpdateDefinitionRequest.ts
720
705
  src/models/UpdateDocumentRequest.ts
721
706
  src/models/UpdateFilterOrderAttributeRequest.ts
722
707
  src/models/UpdateFilterOrderAttributeRequestValuesInner.ts
723
- src/models/UpdateLabelRequest.ts
724
708
  src/models/UpdateModelAttributeRequest.ts
725
709
  src/models/UpdateOverlayTemplateAssetRequest.ts
726
710
  src/models/UpdateOverlayTemplateRequest.ts
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # @digital8/lighting-illusions-ts-sdk@0.0.1445
1
+ # @digital8/lighting-illusions-ts-sdk@0.0.1447
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)
@@ -448,6 +436,7 @@ All URIs are relative to *http://localhost/api*
448
436
  - [ProductRangeSiteDetailResourceArrayResponse](docs/ProductRangeSiteDetailResourceArrayResponse.md)
449
437
  - [ProductRangeSortBy](docs/ProductRangeSortBy.md)
450
438
  - [ProductRating](docs/ProductRating.md)
439
+ - [ProductRegistrationAssetType](docs/ProductRegistrationAssetType.md)
451
440
  - [ProductResource](docs/ProductResource.md)
452
441
  - [ProductResourceArrayResponse](docs/ProductResourceArrayResponse.md)
453
442
  - [ProductSearchResponseResource](docs/ProductSearchResponseResource.md)
@@ -488,7 +477,6 @@ All URIs are relative to *http://localhost/api*
488
477
  - [StoreDefinitionRequest](docs/StoreDefinitionRequest.md)
489
478
  - [StoreDocumentFileRequest](docs/StoreDocumentFileRequest.md)
490
479
  - [StoreDocumentRequest](docs/StoreDocumentRequest.md)
491
- - [StoreLabelRequest](docs/StoreLabelRequest.md)
492
480
  - [StoreOverlayTemplateAssetRequest](docs/StoreOverlayTemplateAssetRequest.md)
493
481
  - [StoreOverlayTemplateRequest](docs/StoreOverlayTemplateRequest.md)
494
482
  - [StoreProductCategoryRequest](docs/StoreProductCategoryRequest.md)
@@ -531,7 +519,6 @@ All URIs are relative to *http://localhost/api*
531
519
  - [UpdateDocumentRequest](docs/UpdateDocumentRequest.md)
532
520
  - [UpdateFilterOrderAttributeRequest](docs/UpdateFilterOrderAttributeRequest.md)
533
521
  - [UpdateFilterOrderAttributeRequestValuesInner](docs/UpdateFilterOrderAttributeRequestValuesInner.md)
534
- - [UpdateLabelRequest](docs/UpdateLabelRequest.md)
535
522
  - [UpdateModelAttributeRequest](docs/UpdateModelAttributeRequest.md)
536
523
  - [UpdateOverlayTemplateAssetRequest](docs/UpdateOverlayTemplateAssetRequest.md)
537
524
  - [UpdateOverlayTemplateRequest](docs/UpdateOverlayTemplateRequest.md)
@@ -563,7 +550,7 @@ and is automatically generated by the
563
550
  [OpenAPI Generator](https://openapi-generator.tech) project:
564
551
 
565
552
  - API version: `1.0.0`
566
- - Package version: `0.0.1445`
553
+ - Package version: `0.0.1447`
567
554
  - Generator version: `7.20.0`
568
555
  - Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
569
556
 
@@ -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';
@@ -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);
@@ -63,7 +63,7 @@ export interface ExternalApiLogResource {
63
63
  * @type {string}
64
64
  * @memberof ExternalApiLogResource
65
65
  */
66
- requestPayload?: string | null;
66
+ requestPayload: string;
67
67
  /**
68
68
  *
69
69
  * @type {string}
@@ -37,6 +37,8 @@ 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;
40
42
  if (!('responsePayload' in value) || value['responsePayload'] === undefined)
41
43
  return false;
42
44
  if (!('site' in value) || value['site'] === undefined)
@@ -58,7 +60,7 @@ function ExternalApiLogResourceFromJSONTyped(json, ignoreDiscriminator) {
58
60
  'exteranlApiLoggableId': json['exteranlApiLoggableId'],
59
61
  'endpoint': json['endpoint'],
60
62
  'responseCode': json['responseCode'],
61
- 'requestPayload': json['requestPayload'] == null ? undefined : json['requestPayload'],
63
+ 'requestPayload': json['requestPayload'],
62
64
  'responsePayload': json['responsePayload'],
63
65
  'createdAt': json['createdAt'] == null ? undefined : json['createdAt'],
64
66
  'site': (0, SiteLiteResource_1.SiteLiteResourceFromJSON)(json['site']),
@@ -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];
@@ -59,7 +59,6 @@ exports.IndexProductChildRequestRelatedTypeEnum = {
59
59
  ProductRange: 'productRange',
60
60
  Supplier: 'supplier',
61
61
  Tag: 'tag',
62
- Label: 'label',
63
62
  Site: 'site'
64
63
  };
65
64
  /**
@@ -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 {SiteLiteResource}
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
- textColour: string;
41
+ siteId: number;
61
42
  /**
62
43
  *
63
44
  * @type {string}
64
45
  * @memberof LabelResource
65
46
  */
66
- startDate?: string | null;
47
+ color: string;
67
48
  /**
68
49
  *
69
50
  * @type {string}
70
51
  * @memberof LabelResource
71
52
  */
72
- endDate?: string | null;
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 (!('site' in value) || value['site'] === undefined)
29
+ if (!('siteId' in value) || value['siteId'] === undefined)
31
30
  return false;
32
- if (!('cartButtonText' in value) || value['cartButtonText'] === undefined)
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
- 'site': (0, SiteLiteResource_1.SiteLiteResourceFromJSON)(json['site']),
52
- 'cartButtonText': json['cartButtonText'],
53
- 'colour': json['colour'],
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
- 'site': (0, SiteLiteResource_1.SiteLiteResourceToJSON)(value['site']),
72
- 'cartButtonText': value['cartButtonText'],
73
- 'colour': value['colour'],
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
  }
@@ -0,0 +1,25 @@
1
+ /**
2
+ * My API
3
+ * API documentation for my Laravel app
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ */
16
+ export declare const ProductRegistrationAssetType: {
17
+ readonly TaxInvoice: "tax_invoice";
18
+ readonly CertificateOfCompliance: "certificate_of_compliance";
19
+ };
20
+ export type ProductRegistrationAssetType = typeof ProductRegistrationAssetType[keyof typeof ProductRegistrationAssetType];
21
+ export declare function instanceOfProductRegistrationAssetType(value: any): boolean;
22
+ export declare function ProductRegistrationAssetTypeFromJSON(json: any): ProductRegistrationAssetType;
23
+ export declare function ProductRegistrationAssetTypeFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProductRegistrationAssetType;
24
+ export declare function ProductRegistrationAssetTypeToJSON(value?: ProductRegistrationAssetType | null): any;
25
+ export declare function ProductRegistrationAssetTypeToJSONTyped(value: any, ignoreDiscriminator: boolean): ProductRegistrationAssetType;
@@ -0,0 +1,51 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * My API
6
+ * API documentation for my Laravel app
7
+ *
8
+ * The version of the OpenAPI document: 1.0.0
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.ProductRegistrationAssetType = void 0;
17
+ exports.instanceOfProductRegistrationAssetType = instanceOfProductRegistrationAssetType;
18
+ exports.ProductRegistrationAssetTypeFromJSON = ProductRegistrationAssetTypeFromJSON;
19
+ exports.ProductRegistrationAssetTypeFromJSONTyped = ProductRegistrationAssetTypeFromJSONTyped;
20
+ exports.ProductRegistrationAssetTypeToJSON = ProductRegistrationAssetTypeToJSON;
21
+ exports.ProductRegistrationAssetTypeToJSONTyped = ProductRegistrationAssetTypeToJSONTyped;
22
+ /**
23
+ *
24
+ * @export
25
+ */
26
+ exports.ProductRegistrationAssetType = {
27
+ TaxInvoice: 'tax_invoice',
28
+ CertificateOfCompliance: 'certificate_of_compliance'
29
+ };
30
+ function instanceOfProductRegistrationAssetType(value) {
31
+ for (var key in exports.ProductRegistrationAssetType) {
32
+ if (Object.prototype.hasOwnProperty.call(exports.ProductRegistrationAssetType, key)) {
33
+ if (exports.ProductRegistrationAssetType[key] === value) {
34
+ return true;
35
+ }
36
+ }
37
+ }
38
+ return false;
39
+ }
40
+ function ProductRegistrationAssetTypeFromJSON(json) {
41
+ return ProductRegistrationAssetTypeFromJSONTyped(json, false);
42
+ }
43
+ function ProductRegistrationAssetTypeFromJSONTyped(json, ignoreDiscriminator) {
44
+ return json;
45
+ }
46
+ function ProductRegistrationAssetTypeToJSON(value) {
47
+ return value;
48
+ }
49
+ function ProductRegistrationAssetTypeToJSONTyped(value, ignoreDiscriminator) {
50
+ return value;
51
+ }
@@ -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';
@@ -247,6 +241,7 @@ export * from './ProductRangeSiteDetailResource';
247
241
  export * from './ProductRangeSiteDetailResourceArrayResponse';
248
242
  export * from './ProductRangeSortBy';
249
243
  export * from './ProductRating';
244
+ export * from './ProductRegistrationAssetType';
250
245
  export * from './ProductResource';
251
246
  export * from './ProductResourceArrayResponse';
252
247
  export * from './ProductSearchResponseResource';
@@ -287,7 +282,6 @@ export * from './StoreAttributeValueRequest';
287
282
  export * from './StoreDefinitionRequest';
288
283
  export * from './StoreDocumentFileRequest';
289
284
  export * from './StoreDocumentRequest';
290
- export * from './StoreLabelRequest';
291
285
  export * from './StoreOverlayTemplateAssetRequest';
292
286
  export * from './StoreOverlayTemplateRequest';
293
287
  export * from './StoreProductCategoryRequest';
@@ -330,7 +324,6 @@ export * from './UpdateDefinitionRequest';
330
324
  export * from './UpdateDocumentRequest';
331
325
  export * from './UpdateFilterOrderAttributeRequest';
332
326
  export * from './UpdateFilterOrderAttributeRequestValuesInner';
333
- export * from './UpdateLabelRequest';
334
327
  export * from './UpdateModelAttributeRequest';
335
328
  export * from './UpdateOverlayTemplateAssetRequest';
336
329
  export * from './UpdateOverlayTemplateRequest';
@@ -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);
@@ -265,6 +259,7 @@ __exportStar(require("./ProductRangeSiteDetailResource"), exports);
265
259
  __exportStar(require("./ProductRangeSiteDetailResourceArrayResponse"), exports);
266
260
  __exportStar(require("./ProductRangeSortBy"), exports);
267
261
  __exportStar(require("./ProductRating"), exports);
262
+ __exportStar(require("./ProductRegistrationAssetType"), exports);
268
263
  __exportStar(require("./ProductResource"), exports);
269
264
  __exportStar(require("./ProductResourceArrayResponse"), exports);
270
265
  __exportStar(require("./ProductSearchResponseResource"), exports);
@@ -305,7 +300,6 @@ __exportStar(require("./StoreAttributeValueRequest"), exports);
305
300
  __exportStar(require("./StoreDefinitionRequest"), exports);
306
301
  __exportStar(require("./StoreDocumentFileRequest"), exports);
307
302
  __exportStar(require("./StoreDocumentRequest"), exports);
308
- __exportStar(require("./StoreLabelRequest"), exports);
309
303
  __exportStar(require("./StoreOverlayTemplateAssetRequest"), exports);
310
304
  __exportStar(require("./StoreOverlayTemplateRequest"), exports);
311
305
  __exportStar(require("./StoreProductCategoryRequest"), exports);
@@ -348,7 +342,6 @@ __exportStar(require("./UpdateDefinitionRequest"), exports);
348
342
  __exportStar(require("./UpdateDocumentRequest"), exports);
349
343
  __exportStar(require("./UpdateFilterOrderAttributeRequest"), exports);
350
344
  __exportStar(require("./UpdateFilterOrderAttributeRequestValuesInner"), exports);
351
- __exportStar(require("./UpdateLabelRequest"), exports);
352
345
  __exportStar(require("./UpdateModelAttributeRequest"), exports);
353
346
  __exportStar(require("./UpdateOverlayTemplateAssetRequest"), exports);
354
347
  __exportStar(require("./UpdateOverlayTemplateRequest"), exports);
@@ -9,12 +9,9 @@ Name | Type
9
9
  `id` | number
10
10
  `shortName` | string
11
11
  `longName` | string
12
- `site` | [SiteLiteResource](SiteLiteResource.md)
13
- `cartButtonText` | string
14
- `colour` | string
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
- "site": null,
30
- "cartButtonText": null,
31
- "colour": null,
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)
@@ -1,22 +1,20 @@
1
1
 
2
- # LabelLiteResourceArrayResponse
2
+ # ProductRegistrationAssetType
3
3
 
4
4
 
5
5
  ## Properties
6
6
 
7
7
  Name | Type
8
8
  ------------ | -------------
9
- `data` | [Array<LabelLiteResource>](LabelLiteResource.md)
10
9
 
11
10
  ## Example
12
11
 
13
12
  ```typescript
14
- import type { LabelLiteResourceArrayResponse } from '@digital8/lighting-illusions-ts-sdk'
13
+ import type { ProductRegistrationAssetType } from '@digital8/lighting-illusions-ts-sdk'
15
14
 
16
15
  // TODO: Update the object below with actual values
17
16
  const example = {
18
- "data": null,
19
- } satisfies LabelLiteResourceArrayResponse
17
+ } satisfies ProductRegistrationAssetType
20
18
 
21
19
  console.log(example)
22
20
 
@@ -25,7 +23,7 @@ const exampleJSON: string = JSON.stringify(example)
25
23
  console.log(exampleJSON)
26
24
 
27
25
  // Parse the JSON string back to an object
28
- const exampleParsed = JSON.parse(exampleJSON) as LabelLiteResourceArrayResponse
26
+ const exampleParsed = JSON.parse(exampleJSON) as ProductRegistrationAssetType
29
27
  console.log(exampleParsed)
30
28
  ```
31
29
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@digital8/lighting-illusions-ts-sdk",
3
- "version": "0.0.1445",
3
+ "version": "0.0.1447",
4
4
  "description": "OpenAPI client for @digital8/lighting-illusions-ts-sdk",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
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?: string | null;
77
+ requestPayload: string;
78
78
  /**
79
79
  *
80
80
  * @type {string}
@@ -106,6 +106,7 @@ 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;
109
110
  if (!('responsePayload' in value) || value['responsePayload'] === undefined) return false;
110
111
  if (!('site' in value) || value['site'] === undefined) return false;
111
112
  return true;
@@ -128,7 +129,7 @@ export function ExternalApiLogResourceFromJSONTyped(json: any, ignoreDiscriminat
128
129
  'exteranlApiLoggableId': json['exteranlApiLoggableId'],
129
130
  'endpoint': json['endpoint'],
130
131
  'responseCode': json['responseCode'],
131
- 'requestPayload': json['requestPayload'] == null ? undefined : json['requestPayload'],
132
+ 'requestPayload': json['requestPayload'],
132
133
  'responsePayload': json['responsePayload'],
133
134
  'createdAt': json['createdAt'] == null ? undefined : json['createdAt'],
134
135
  'site': SiteLiteResourceFromJSON(json['site']),