@digital8/lighting-illusions-ts-sdk 0.0.638 → 0.0.640

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 (52) hide show
  1. package/.openapi-generator/FILES +12 -2
  2. package/README.md +8 -3
  3. package/dist/models/CategoryFrontendResource.d.ts +70 -0
  4. package/dist/models/CategoryFrontendResource.js +73 -0
  5. package/dist/models/CategoryFrontendResourceArrayResponse.d.ts +33 -0
  6. package/dist/models/CategoryFrontendResourceArrayResponse.js +50 -0
  7. package/dist/models/CategoryWithChildrenFrontendResource.d.ts +39 -0
  8. package/dist/models/CategoryWithChildrenFrontendResource.js +56 -0
  9. package/dist/models/CategoryWithChildrenFrontendResourceArrayResponse.d.ts +33 -0
  10. package/dist/models/CategoryWithChildrenFrontendResourceArrayResponse.js +50 -0
  11. package/dist/models/OverlayTemplateAssetFrontendResource.d.ts +3 -2
  12. package/dist/models/OverlayTemplateAssetFrontendResource.js +3 -2
  13. package/dist/models/OverlayTemplateAssetResource.d.ts +3 -3
  14. package/dist/models/OverlayTemplateAssetResource.js +3 -3
  15. package/dist/models/PaginatedCategoryFrontendResourceResponse.d.ts +40 -0
  16. package/dist/models/PaginatedCategoryFrontendResourceResponse.js +57 -0
  17. package/dist/models/ProductAvailability.d.ts +26 -0
  18. package/dist/models/ProductAvailability.js +52 -0
  19. package/dist/models/ProductCompareResource.d.ts +2 -2
  20. package/dist/models/ProductSearchResultResource.d.ts +12 -6
  21. package/dist/models/ProductSearchResultResource.js +8 -4
  22. package/dist/models/SupplierFrontendResource.d.ts +7 -8
  23. package/dist/models/SupplierFrontendResource.js +8 -9
  24. package/dist/models/index.d.ts +6 -1
  25. package/dist/models/index.js +6 -1
  26. package/docs/CategoryFrontendResource.md +46 -0
  27. package/docs/CategoryFrontendResourceArrayResponse.md +34 -0
  28. package/docs/CategoryWithChildrenFrontendResource.md +36 -0
  29. package/docs/CategoryWithChildrenFrontendResourceArrayResponse.md +34 -0
  30. package/docs/OverlayTemplateAssetFrontendResource.md +1 -1
  31. package/docs/OverlayTemplateAssetResource.md +1 -1
  32. package/docs/PaginatedCategoryFrontendResourceResponse.md +36 -0
  33. package/docs/{ProductStatus.md → ProductAvailability.md} +4 -4
  34. package/docs/ProductCompareResource.md +1 -1
  35. package/docs/ProductSearchResultResource.md +4 -2
  36. package/docs/SupplierFrontendResource.md +4 -4
  37. package/package.json +1 -1
  38. package/src/models/CategoryFrontendResource.ts +133 -0
  39. package/src/models/CategoryFrontendResourceArrayResponse.ts +73 -0
  40. package/src/models/CategoryWithChildrenFrontendResource.ts +83 -0
  41. package/src/models/CategoryWithChildrenFrontendResourceArrayResponse.ts +73 -0
  42. package/src/models/OverlayTemplateAssetFrontendResource.ts +12 -4
  43. package/src/models/OverlayTemplateAssetResource.ts +10 -10
  44. package/src/models/PaginatedCategoryFrontendResourceResponse.ts +90 -0
  45. package/src/models/ProductAvailability.ts +54 -0
  46. package/src/models/ProductCompareResource.ts +2 -2
  47. package/src/models/ProductSearchResultResource.ts +18 -9
  48. package/src/models/SupplierFrontendResource.ts +20 -27
  49. package/src/models/index.ts +6 -1
  50. package/dist/models/ProductStatus.d.ts +0 -24
  51. package/dist/models/ProductStatus.js +0 -50
  52. package/src/models/ProductStatus.ts +0 -52
@@ -0,0 +1,57 @@
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.instanceOfPaginatedCategoryFrontendResourceResponse = instanceOfPaginatedCategoryFrontendResourceResponse;
17
+ exports.PaginatedCategoryFrontendResourceResponseFromJSON = PaginatedCategoryFrontendResourceResponseFromJSON;
18
+ exports.PaginatedCategoryFrontendResourceResponseFromJSONTyped = PaginatedCategoryFrontendResourceResponseFromJSONTyped;
19
+ exports.PaginatedCategoryFrontendResourceResponseToJSON = PaginatedCategoryFrontendResourceResponseToJSON;
20
+ exports.PaginatedCategoryFrontendResourceResponseToJSONTyped = PaginatedCategoryFrontendResourceResponseToJSONTyped;
21
+ var PagingMetadata_1 = require("./PagingMetadata");
22
+ var CategoryFrontendResource_1 = require("./CategoryFrontendResource");
23
+ /**
24
+ * Check if a given object implements the PaginatedCategoryFrontendResourceResponse interface.
25
+ */
26
+ function instanceOfPaginatedCategoryFrontendResourceResponse(value) {
27
+ if (!('data' in value) || value['data'] === undefined)
28
+ return false;
29
+ if (!('meta' in value) || value['meta'] === undefined)
30
+ return false;
31
+ return true;
32
+ }
33
+ function PaginatedCategoryFrontendResourceResponseFromJSON(json) {
34
+ return PaginatedCategoryFrontendResourceResponseFromJSONTyped(json, false);
35
+ }
36
+ function PaginatedCategoryFrontendResourceResponseFromJSONTyped(json, ignoreDiscriminator) {
37
+ if (json == null) {
38
+ return json;
39
+ }
40
+ return {
41
+ 'data': (json['data'].map(CategoryFrontendResource_1.CategoryFrontendResourceFromJSON)),
42
+ 'meta': (0, PagingMetadata_1.PagingMetadataFromJSON)(json['meta']),
43
+ };
44
+ }
45
+ function PaginatedCategoryFrontendResourceResponseToJSON(json) {
46
+ return PaginatedCategoryFrontendResourceResponseToJSONTyped(json, false);
47
+ }
48
+ function PaginatedCategoryFrontendResourceResponseToJSONTyped(value, ignoreDiscriminator) {
49
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
50
+ if (value == null) {
51
+ return value;
52
+ }
53
+ return {
54
+ 'data': (value['data'].map(CategoryFrontendResource_1.CategoryFrontendResourceToJSON)),
55
+ 'meta': (0, PagingMetadata_1.PagingMetadataToJSON)(value['meta']),
56
+ };
57
+ }
@@ -0,0 +1,26 @@
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 ProductAvailability: {
17
+ readonly InStock: "in_stock";
18
+ readonly OutOfStock: "out_of_stock";
19
+ readonly Preorder: "preorder";
20
+ };
21
+ export type ProductAvailability = typeof ProductAvailability[keyof typeof ProductAvailability];
22
+ export declare function instanceOfProductAvailability(value: any): boolean;
23
+ export declare function ProductAvailabilityFromJSON(json: any): ProductAvailability;
24
+ export declare function ProductAvailabilityFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProductAvailability;
25
+ export declare function ProductAvailabilityToJSON(value?: ProductAvailability | null): any;
26
+ export declare function ProductAvailabilityToJSONTyped(value: any, ignoreDiscriminator: boolean): ProductAvailability;
@@ -0,0 +1,52 @@
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.ProductAvailability = void 0;
17
+ exports.instanceOfProductAvailability = instanceOfProductAvailability;
18
+ exports.ProductAvailabilityFromJSON = ProductAvailabilityFromJSON;
19
+ exports.ProductAvailabilityFromJSONTyped = ProductAvailabilityFromJSONTyped;
20
+ exports.ProductAvailabilityToJSON = ProductAvailabilityToJSON;
21
+ exports.ProductAvailabilityToJSONTyped = ProductAvailabilityToJSONTyped;
22
+ /**
23
+ *
24
+ * @export
25
+ */
26
+ exports.ProductAvailability = {
27
+ InStock: 'in_stock',
28
+ OutOfStock: 'out_of_stock',
29
+ Preorder: 'preorder'
30
+ };
31
+ function instanceOfProductAvailability(value) {
32
+ for (var key in exports.ProductAvailability) {
33
+ if (Object.prototype.hasOwnProperty.call(exports.ProductAvailability, key)) {
34
+ if (exports.ProductAvailability[key] === value) {
35
+ return true;
36
+ }
37
+ }
38
+ }
39
+ return false;
40
+ }
41
+ function ProductAvailabilityFromJSON(json) {
42
+ return ProductAvailabilityFromJSONTyped(json, false);
43
+ }
44
+ function ProductAvailabilityFromJSONTyped(json, ignoreDiscriminator) {
45
+ return json;
46
+ }
47
+ function ProductAvailabilityToJSON(value) {
48
+ return value;
49
+ }
50
+ function ProductAvailabilityToJSONTyped(value, ignoreDiscriminator) {
51
+ return value;
52
+ }
@@ -78,10 +78,10 @@ export interface ProductCompareResource {
78
78
  salePrice: number;
79
79
  /**
80
80
  *
81
- * @type {number}
81
+ * @type {string}
82
82
  * @memberof ProductCompareResource
83
83
  */
84
- availability: number;
84
+ availability: string;
85
85
  /**
86
86
  *
87
87
  * @type {number}
@@ -75,12 +75,6 @@ export interface ProductSearchResultResource {
75
75
  * @memberof ProductSearchResultResource
76
76
  */
77
77
  labelDetails: Array<number>;
78
- /**
79
- *
80
- * @type {Array<object>}
81
- * @memberof ProductSearchResultResource
82
- */
83
- categories: Array<object>;
84
78
  /**
85
79
  *
86
80
  * @type {string}
@@ -111,6 +105,18 @@ export interface ProductSearchResultResource {
111
105
  * @memberof ProductSearchResultResource
112
106
  */
113
107
  wishlisted: boolean;
108
+ /**
109
+ *
110
+ * @type {number}
111
+ * @memberof ProductSearchResultResource
112
+ */
113
+ variationCount: number;
114
+ /**
115
+ *
116
+ * @type {Array<object>}
117
+ * @memberof ProductSearchResultResource
118
+ */
119
+ overlayAssets: Array<object>;
114
120
  }
115
121
  /**
116
122
  * Check if a given object implements the ProductSearchResultResource interface.
@@ -40,8 +40,6 @@ function instanceOfProductSearchResultResource(value) {
40
40
  return false;
41
41
  if (!('labelDetails' in value) || value['labelDetails'] === undefined)
42
42
  return false;
43
- if (!('categories' in value) || value['categories'] === undefined)
44
- return false;
45
43
  if (!('supplierName' in value) || value['supplierName'] === undefined)
46
44
  return false;
47
45
  if (!('supplierLogo' in value) || value['supplierLogo'] === undefined)
@@ -52,6 +50,10 @@ function instanceOfProductSearchResultResource(value) {
52
50
  return false;
53
51
  if (!('wishlisted' in value) || value['wishlisted'] === undefined)
54
52
  return false;
53
+ if (!('variationCount' in value) || value['variationCount'] === undefined)
54
+ return false;
55
+ if (!('overlayAssets' in value) || value['overlayAssets'] === undefined)
56
+ return false;
55
57
  return true;
56
58
  }
57
59
  function ProductSearchResultResourceFromJSON(json) {
@@ -72,12 +74,13 @@ function ProductSearchResultResourceFromJSONTyped(json, ignoreDiscriminator) {
72
74
  'thumbnail': json['thumbnail'],
73
75
  'averageRating': json['averageRating'] == null ? undefined : json['averageRating'],
74
76
  'labelDetails': json['labelDetails'],
75
- 'categories': json['categories'],
76
77
  'supplierName': json['supplierName'],
77
78
  'supplierLogo': json['supplierLogo'],
78
79
  'supplierId': json['supplierId'],
79
80
  'availability': json['availability'],
80
81
  'wishlisted': json['wishlisted'],
82
+ 'variationCount': json['variationCount'],
83
+ 'overlayAssets': json['overlayAssets'],
81
84
  };
82
85
  }
83
86
  function ProductSearchResultResourceToJSON(json) {
@@ -99,11 +102,12 @@ function ProductSearchResultResourceToJSONTyped(value, ignoreDiscriminator) {
99
102
  'thumbnail': value['thumbnail'],
100
103
  'averageRating': value['averageRating'],
101
104
  'labelDetails': value['labelDetails'],
102
- 'categories': value['categories'],
103
105
  'supplierName': value['supplierName'],
104
106
  'supplierLogo': value['supplierLogo'],
105
107
  'supplierId': value['supplierId'],
106
108
  'availability': value['availability'],
107
109
  'wishlisted': value['wishlisted'],
110
+ 'variationCount': value['variationCount'],
111
+ 'overlayAssets': value['overlayAssets'],
108
112
  };
109
113
  }
@@ -9,9 +9,8 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ import type { AssetLiteResource } from './AssetLiteResource';
12
13
  import type { DescriptionResource } from './DescriptionResource';
13
- import type { AssetResource } from './AssetResource';
14
- import type { SEOResource } from './SEOResource';
15
14
  /**
16
15
  *
17
16
  * @export
@@ -38,10 +37,10 @@ export interface SupplierFrontendResource {
38
37
  slug: string;
39
38
  /**
40
39
  *
41
- * @type {AssetResource}
40
+ * @type {AssetLiteResource}
42
41
  * @memberof SupplierFrontendResource
43
42
  */
44
- thumbnail: AssetResource | null;
43
+ thumbnail: AssetLiteResource | null;
45
44
  /**
46
45
  *
47
46
  * @type {number}
@@ -50,16 +49,16 @@ export interface SupplierFrontendResource {
50
49
  supplierEta: number;
51
50
  /**
52
51
  *
53
- * @type {SEOResource}
52
+ * @type {object}
54
53
  * @memberof SupplierFrontendResource
55
54
  */
56
- seo: SEOResource | null;
55
+ seo: object;
57
56
  /**
58
57
  *
59
- * @type {Array<DescriptionResource>}
58
+ * @type {DescriptionResource}
60
59
  * @memberof SupplierFrontendResource
61
60
  */
62
- descriptions: Array<DescriptionResource> | null;
61
+ description: DescriptionResource | null;
63
62
  }
64
63
  /**
65
64
  * Check if a given object implements the SupplierFrontendResource interface.
@@ -18,9 +18,8 @@ exports.SupplierFrontendResourceFromJSON = SupplierFrontendResourceFromJSON;
18
18
  exports.SupplierFrontendResourceFromJSONTyped = SupplierFrontendResourceFromJSONTyped;
19
19
  exports.SupplierFrontendResourceToJSON = SupplierFrontendResourceToJSON;
20
20
  exports.SupplierFrontendResourceToJSONTyped = SupplierFrontendResourceToJSONTyped;
21
+ var AssetLiteResource_1 = require("./AssetLiteResource");
21
22
  var DescriptionResource_1 = require("./DescriptionResource");
22
- var AssetResource_1 = require("./AssetResource");
23
- var SEOResource_1 = require("./SEOResource");
24
23
  /**
25
24
  * Check if a given object implements the SupplierFrontendResource interface.
26
25
  */
@@ -37,7 +36,7 @@ function instanceOfSupplierFrontendResource(value) {
37
36
  return false;
38
37
  if (!('seo' in value) || value['seo'] === undefined)
39
38
  return false;
40
- if (!('descriptions' in value) || value['descriptions'] === undefined)
39
+ if (!('description' in value) || value['description'] === undefined)
41
40
  return false;
42
41
  return true;
43
42
  }
@@ -52,10 +51,10 @@ function SupplierFrontendResourceFromJSONTyped(json, ignoreDiscriminator) {
52
51
  'id': json['id'],
53
52
  'name': json['name'],
54
53
  'slug': json['slug'],
55
- 'thumbnail': (0, AssetResource_1.AssetResourceFromJSON)(json['thumbnail']),
54
+ 'thumbnail': (0, AssetLiteResource_1.AssetLiteResourceFromJSON)(json['thumbnail']),
56
55
  'supplierEta': json['supplierEta'],
57
- 'seo': (0, SEOResource_1.SEOResourceFromJSON)(json['seo']),
58
- 'descriptions': (json['descriptions'] == null ? null : json['descriptions'].map(DescriptionResource_1.DescriptionResourceFromJSON)),
56
+ 'seo': json['seo'],
57
+ 'description': (0, DescriptionResource_1.DescriptionResourceFromJSON)(json['description']),
59
58
  };
60
59
  }
61
60
  function SupplierFrontendResourceToJSON(json) {
@@ -70,9 +69,9 @@ function SupplierFrontendResourceToJSONTyped(value, ignoreDiscriminator) {
70
69
  'id': value['id'],
71
70
  'name': value['name'],
72
71
  'slug': value['slug'],
73
- 'thumbnail': (0, AssetResource_1.AssetResourceToJSON)(value['thumbnail']),
72
+ 'thumbnail': (0, AssetLiteResource_1.AssetLiteResourceToJSON)(value['thumbnail']),
74
73
  'supplierEta': value['supplierEta'],
75
- 'seo': (0, SEOResource_1.SEOResourceToJSON)(value['seo']),
76
- 'descriptions': (value['descriptions'] == null ? null : value['descriptions'].map(DescriptionResource_1.DescriptionResourceToJSON)),
74
+ 'seo': value['seo'],
75
+ 'description': (0, DescriptionResource_1.DescriptionResourceToJSON)(value['description']),
77
76
  };
78
77
  }
@@ -32,6 +32,10 @@ export * from './CategoryAutomationConditionType';
32
32
  export * from './CategoryAutomationFieldType';
33
33
  export * from './CategoryAutomationRuleResource';
34
34
  export * from './CategoryAutomationRuleResourceArrayResponse';
35
+ export * from './CategoryFrontendResource';
36
+ export * from './CategoryFrontendResourceArrayResponse';
37
+ export * from './CategoryWithChildrenFrontendResource';
38
+ export * from './CategoryWithChildrenFrontendResourceArrayResponse';
35
39
  export * from './CouponDiscountType';
36
40
  export * from './DefinitionListResource';
37
41
  export * from './DefinitionListResourceArrayResponse';
@@ -110,6 +114,7 @@ export * from './PaginatedAttributeListResourceResponse';
110
114
  export * from './PaginatedAttributeLiteResourceResponse';
111
115
  export * from './PaginatedAttributeProductTypeRelationResourceResponse';
112
116
  export * from './PaginatedAttributeResourceResponse';
117
+ export * from './PaginatedCategoryFrontendResourceResponse';
113
118
  export * from './PaginatedDefinitionListResourceResponse';
114
119
  export * from './PaginatedDefinitionResourceResponse';
115
120
  export * from './PaginatedDocumentResourceResponse';
@@ -151,6 +156,7 @@ export * from './PreviewAutomationRulesResource';
151
156
  export * from './PreviewAutomationRulesResourceArrayResponse';
152
157
  export * from './ProductAggregationResource';
153
158
  export * from './ProductAggregationResourceArrayResponse';
159
+ export * from './ProductAvailability';
154
160
  export * from './ProductCategoryHierarchyResource';
155
161
  export * from './ProductCategoryHierarchyResourceArrayResponse';
156
162
  export * from './ProductCategoryListResource';
@@ -189,7 +195,6 @@ export * from './ProductSearchResponseResourcePriceInfo';
189
195
  export * from './ProductSearchResultResource';
190
196
  export * from './ProductSearchResultResourceArrayResponse';
191
197
  export * from './ProductSortBy';
192
- export * from './ProductStatus';
193
198
  export * from './ProductTypeListResource';
194
199
  export * from './ProductTypeListResourceArrayResponse';
195
200
  export * from './ProductTypeLiteResource';
@@ -50,6 +50,10 @@ __exportStar(require("./CategoryAutomationConditionType"), exports);
50
50
  __exportStar(require("./CategoryAutomationFieldType"), exports);
51
51
  __exportStar(require("./CategoryAutomationRuleResource"), exports);
52
52
  __exportStar(require("./CategoryAutomationRuleResourceArrayResponse"), exports);
53
+ __exportStar(require("./CategoryFrontendResource"), exports);
54
+ __exportStar(require("./CategoryFrontendResourceArrayResponse"), exports);
55
+ __exportStar(require("./CategoryWithChildrenFrontendResource"), exports);
56
+ __exportStar(require("./CategoryWithChildrenFrontendResourceArrayResponse"), exports);
53
57
  __exportStar(require("./CouponDiscountType"), exports);
54
58
  __exportStar(require("./DefinitionListResource"), exports);
55
59
  __exportStar(require("./DefinitionListResourceArrayResponse"), exports);
@@ -128,6 +132,7 @@ __exportStar(require("./PaginatedAttributeListResourceResponse"), exports);
128
132
  __exportStar(require("./PaginatedAttributeLiteResourceResponse"), exports);
129
133
  __exportStar(require("./PaginatedAttributeProductTypeRelationResourceResponse"), exports);
130
134
  __exportStar(require("./PaginatedAttributeResourceResponse"), exports);
135
+ __exportStar(require("./PaginatedCategoryFrontendResourceResponse"), exports);
131
136
  __exportStar(require("./PaginatedDefinitionListResourceResponse"), exports);
132
137
  __exportStar(require("./PaginatedDefinitionResourceResponse"), exports);
133
138
  __exportStar(require("./PaginatedDocumentResourceResponse"), exports);
@@ -169,6 +174,7 @@ __exportStar(require("./PreviewAutomationRulesResource"), exports);
169
174
  __exportStar(require("./PreviewAutomationRulesResourceArrayResponse"), exports);
170
175
  __exportStar(require("./ProductAggregationResource"), exports);
171
176
  __exportStar(require("./ProductAggregationResourceArrayResponse"), exports);
177
+ __exportStar(require("./ProductAvailability"), exports);
172
178
  __exportStar(require("./ProductCategoryHierarchyResource"), exports);
173
179
  __exportStar(require("./ProductCategoryHierarchyResourceArrayResponse"), exports);
174
180
  __exportStar(require("./ProductCategoryListResource"), exports);
@@ -207,7 +213,6 @@ __exportStar(require("./ProductSearchResponseResourcePriceInfo"), exports);
207
213
  __exportStar(require("./ProductSearchResultResource"), exports);
208
214
  __exportStar(require("./ProductSearchResultResourceArrayResponse"), exports);
209
215
  __exportStar(require("./ProductSortBy"), exports);
210
- __exportStar(require("./ProductStatus"), exports);
211
216
  __exportStar(require("./ProductTypeListResource"), exports);
212
217
  __exportStar(require("./ProductTypeListResourceArrayResponse"), exports);
213
218
  __exportStar(require("./ProductTypeLiteResource"), exports);
@@ -0,0 +1,46 @@
1
+
2
+ # CategoryFrontendResource
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `id` | number
10
+ `name` | string
11
+ `slug` | string
12
+ `parentId` | string
13
+ `thumbnail` | [AssetLiteResource](AssetLiteResource.md)
14
+ `seo` | object
15
+ `descriptions` | [Array&lt;DescriptionResource&gt;](DescriptionResource.md)
16
+
17
+ ## Example
18
+
19
+ ```typescript
20
+ import type { CategoryFrontendResource } from '@digital8/lighting-illusions-ts-sdk'
21
+
22
+ // TODO: Update the object below with actual values
23
+ const example = {
24
+ "id": null,
25
+ "name": null,
26
+ "slug": null,
27
+ "parentId": null,
28
+ "thumbnail": null,
29
+ "seo": null,
30
+ "descriptions": null,
31
+ } satisfies CategoryFrontendResource
32
+
33
+ console.log(example)
34
+
35
+ // Convert the instance to a JSON string
36
+ const exampleJSON: string = JSON.stringify(example)
37
+ console.log(exampleJSON)
38
+
39
+ // Parse the JSON string back to an object
40
+ const exampleParsed = JSON.parse(exampleJSON) as CategoryFrontendResource
41
+ console.log(exampleParsed)
42
+ ```
43
+
44
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
45
+
46
+
@@ -0,0 +1,34 @@
1
+
2
+ # CategoryFrontendResourceArrayResponse
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `data` | [Array&lt;CategoryFrontendResource&gt;](CategoryFrontendResource.md)
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import type { CategoryFrontendResourceArrayResponse } from '@digital8/lighting-illusions-ts-sdk'
15
+
16
+ // TODO: Update the object below with actual values
17
+ const example = {
18
+ "data": null,
19
+ } satisfies CategoryFrontendResourceArrayResponse
20
+
21
+ console.log(example)
22
+
23
+ // Convert the instance to a JSON string
24
+ const exampleJSON: string = JSON.stringify(example)
25
+ console.log(exampleJSON)
26
+
27
+ // Parse the JSON string back to an object
28
+ const exampleParsed = JSON.parse(exampleJSON) as CategoryFrontendResourceArrayResponse
29
+ console.log(exampleParsed)
30
+ ```
31
+
32
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
33
+
34
+
@@ -0,0 +1,36 @@
1
+
2
+ # CategoryWithChildrenFrontendResource
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `category` | [CategoryFrontendResource](CategoryFrontendResource.md)
10
+ `children` | [Array&lt;CategoryFrontendResource&gt;](CategoryFrontendResource.md)
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import type { CategoryWithChildrenFrontendResource } from '@digital8/lighting-illusions-ts-sdk'
16
+
17
+ // TODO: Update the object below with actual values
18
+ const example = {
19
+ "category": null,
20
+ "children": null,
21
+ } satisfies CategoryWithChildrenFrontendResource
22
+
23
+ console.log(example)
24
+
25
+ // Convert the instance to a JSON string
26
+ const exampleJSON: string = JSON.stringify(example)
27
+ console.log(exampleJSON)
28
+
29
+ // Parse the JSON string back to an object
30
+ const exampleParsed = JSON.parse(exampleJSON) as CategoryWithChildrenFrontendResource
31
+ console.log(exampleParsed)
32
+ ```
33
+
34
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
35
+
36
+
@@ -0,0 +1,34 @@
1
+
2
+ # CategoryWithChildrenFrontendResourceArrayResponse
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `data` | [Array&lt;CategoryWithChildrenFrontendResource&gt;](CategoryWithChildrenFrontendResource.md)
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import type { CategoryWithChildrenFrontendResourceArrayResponse } from '@digital8/lighting-illusions-ts-sdk'
15
+
16
+ // TODO: Update the object below with actual values
17
+ const example = {
18
+ "data": null,
19
+ } satisfies CategoryWithChildrenFrontendResourceArrayResponse
20
+
21
+ console.log(example)
22
+
23
+ // Convert the instance to a JSON string
24
+ const exampleJSON: string = JSON.stringify(example)
25
+ console.log(exampleJSON)
26
+
27
+ // Parse the JSON string back to an object
28
+ const exampleParsed = JSON.parse(exampleJSON) as CategoryWithChildrenFrontendResourceArrayResponse
29
+ console.log(exampleParsed)
30
+ ```
31
+
32
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
33
+
34
+
@@ -11,7 +11,7 @@ Name | Type
11
11
  `padding` | number
12
12
  `horizontalMargin` | number
13
13
  `verticalMargin` | number
14
- `image` | Array&lt;string&gt;
14
+ `image` | [AssetLiteResource](AssetLiteResource.md)
15
15
 
16
16
  ## Example
17
17
 
@@ -7,7 +7,7 @@
7
7
  Name | Type
8
8
  ------------ | -------------
9
9
  `id` | number
10
- `asset` | [AssetResource](AssetResource.md)
10
+ `asset` | [AssetLiteResource](AssetLiteResource.md)
11
11
  `position` | string
12
12
  `padding` | number
13
13
  `horizontalMargin` | number
@@ -0,0 +1,36 @@
1
+
2
+ # PaginatedCategoryFrontendResourceResponse
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `data` | [Array&lt;CategoryFrontendResource&gt;](CategoryFrontendResource.md)
10
+ `meta` | [PagingMetadata](PagingMetadata.md)
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import type { PaginatedCategoryFrontendResourceResponse } from '@digital8/lighting-illusions-ts-sdk'
16
+
17
+ // TODO: Update the object below with actual values
18
+ const example = {
19
+ "data": null,
20
+ "meta": null,
21
+ } satisfies PaginatedCategoryFrontendResourceResponse
22
+
23
+ console.log(example)
24
+
25
+ // Convert the instance to a JSON string
26
+ const exampleJSON: string = JSON.stringify(example)
27
+ console.log(exampleJSON)
28
+
29
+ // Parse the JSON string back to an object
30
+ const exampleParsed = JSON.parse(exampleJSON) as PaginatedCategoryFrontendResourceResponse
31
+ console.log(exampleParsed)
32
+ ```
33
+
34
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
35
+
36
+
@@ -1,5 +1,5 @@
1
1
 
2
- # ProductStatus
2
+ # ProductAvailability
3
3
 
4
4
 
5
5
  ## Properties
@@ -10,11 +10,11 @@ Name | Type
10
10
  ## Example
11
11
 
12
12
  ```typescript
13
- import type { ProductStatus } from '@digital8/lighting-illusions-ts-sdk'
13
+ import type { ProductAvailability } from '@digital8/lighting-illusions-ts-sdk'
14
14
 
15
15
  // TODO: Update the object below with actual values
16
16
  const example = {
17
- } satisfies ProductStatus
17
+ } satisfies ProductAvailability
18
18
 
19
19
  console.log(example)
20
20
 
@@ -23,7 +23,7 @@ const exampleJSON: string = JSON.stringify(example)
23
23
  console.log(exampleJSON)
24
24
 
25
25
  // Parse the JSON string back to an object
26
- const exampleParsed = JSON.parse(exampleJSON) as ProductStatus
26
+ const exampleParsed = JSON.parse(exampleJSON) as ProductAvailability
27
27
  console.log(exampleParsed)
28
28
  ```
29
29
 
@@ -16,7 +16,7 @@ Name | Type
16
16
  `parentName` | string
17
17
  `price` | number
18
18
  `salePrice` | number
19
- `availability` | number
19
+ `availability` | string
20
20
  `optionsCount` | number
21
21
  `averageRating` | number
22
22
  `thumbnail` | [AssetFrontendResource](AssetFrontendResource.md)