@digital8/lighting-illusions-ts-sdk 0.0.629 → 0.0.631

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 (67) hide show
  1. package/.openapi-generator/FILES +12 -10
  2. package/README.md +8 -7
  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/ExternalApiLogResource.d.ts +1 -1
  12. package/dist/models/ExternalApiLogResource.js +3 -1
  13. package/dist/models/OverlayTemplateAssetFrontendResource.d.ts +3 -2
  14. package/dist/models/OverlayTemplateAssetFrontendResource.js +3 -2
  15. package/dist/models/OverlayTemplateAssetResource.d.ts +3 -3
  16. package/dist/models/OverlayTemplateAssetResource.js +3 -3
  17. package/dist/models/PaginatedCategoryFrontendResourceResponse.d.ts +40 -0
  18. package/dist/models/PaginatedCategoryFrontendResourceResponse.js +57 -0
  19. package/dist/models/ProductAvailability.d.ts +26 -0
  20. package/dist/models/ProductAvailability.js +52 -0
  21. package/dist/models/ProductCompareResource.d.ts +2 -2
  22. package/dist/models/ProductSearchResultResource.d.ts +12 -6
  23. package/dist/models/ProductSearchResultResource.js +8 -4
  24. package/dist/models/SupplierFrontendResource.d.ts +7 -8
  25. package/dist/models/SupplierFrontendResource.js +8 -9
  26. package/dist/models/index.d.ts +6 -5
  27. package/dist/models/index.js +6 -5
  28. package/docs/CategoryFrontendResource.md +46 -0
  29. package/docs/{WishlistToggleResourceArrayResponse.md → CategoryFrontendResourceArrayResponse.md} +5 -5
  30. package/docs/{WishlistToggleResource.md → CategoryWithChildrenFrontendResource.md} +8 -8
  31. package/docs/{WishlistCheckResourceArrayResponse.md → CategoryWithChildrenFrontendResourceArrayResponse.md} +5 -5
  32. package/docs/OverlayTemplateAssetFrontendResource.md +1 -1
  33. package/docs/OverlayTemplateAssetResource.md +1 -1
  34. package/docs/{WishlistCheckResource.md → PaginatedCategoryFrontendResourceResponse.md} +8 -6
  35. package/docs/{ProductStatus.md → ProductAvailability.md} +4 -4
  36. package/docs/ProductCompareResource.md +1 -1
  37. package/docs/ProductSearchResultResource.md +4 -2
  38. package/docs/SupplierFrontendResource.md +4 -4
  39. package/package.json +1 -1
  40. package/src/models/CategoryFrontendResource.ts +133 -0
  41. package/src/models/CategoryFrontendResourceArrayResponse.ts +73 -0
  42. package/src/models/CategoryWithChildrenFrontendResource.ts +83 -0
  43. package/src/models/CategoryWithChildrenFrontendResourceArrayResponse.ts +73 -0
  44. package/src/models/ExternalApiLogResource.ts +3 -2
  45. package/src/models/OverlayTemplateAssetFrontendResource.ts +12 -4
  46. package/src/models/OverlayTemplateAssetResource.ts +10 -10
  47. package/src/models/PaginatedCategoryFrontendResourceResponse.ts +90 -0
  48. package/src/models/ProductAvailability.ts +54 -0
  49. package/src/models/ProductCompareResource.ts +2 -2
  50. package/src/models/ProductSearchResultResource.ts +18 -9
  51. package/src/models/SupplierFrontendResource.ts +20 -27
  52. package/src/models/index.ts +6 -5
  53. package/dist/models/ProductStatus.d.ts +0 -24
  54. package/dist/models/ProductStatus.js +0 -50
  55. package/dist/models/WishlistCheckResource.d.ts +0 -32
  56. package/dist/models/WishlistCheckResource.js +0 -51
  57. package/dist/models/WishlistCheckResourceArrayResponse.d.ts +0 -33
  58. package/dist/models/WishlistCheckResourceArrayResponse.js +0 -50
  59. package/dist/models/WishlistToggleResource.d.ts +0 -38
  60. package/dist/models/WishlistToggleResource.js +0 -55
  61. package/dist/models/WishlistToggleResourceArrayResponse.d.ts +0 -33
  62. package/dist/models/WishlistToggleResourceArrayResponse.js +0 -50
  63. package/src/models/ProductStatus.ts +0 -52
  64. package/src/models/WishlistCheckResource.ts +0 -66
  65. package/src/models/WishlistCheckResourceArrayResponse.ts +0 -73
  66. package/src/models/WishlistToggleResource.ts +0 -75
  67. package/src/models/WishlistToggleResourceArrayResponse.ts +0 -73
@@ -18,7 +18,7 @@ exports.OverlayTemplateAssetResourceFromJSON = OverlayTemplateAssetResourceFromJ
18
18
  exports.OverlayTemplateAssetResourceFromJSONTyped = OverlayTemplateAssetResourceFromJSONTyped;
19
19
  exports.OverlayTemplateAssetResourceToJSON = OverlayTemplateAssetResourceToJSON;
20
20
  exports.OverlayTemplateAssetResourceToJSONTyped = OverlayTemplateAssetResourceToJSONTyped;
21
- var AssetResource_1 = require("./AssetResource");
21
+ var AssetLiteResource_1 = require("./AssetLiteResource");
22
22
  /**
23
23
  * Check if a given object implements the OverlayTemplateAssetResource interface.
24
24
  */
@@ -46,7 +46,7 @@ function OverlayTemplateAssetResourceFromJSONTyped(json, ignoreDiscriminator) {
46
46
  }
47
47
  return {
48
48
  'id': json['id'],
49
- 'asset': (0, AssetResource_1.AssetResourceFromJSON)(json['asset']),
49
+ 'asset': (0, AssetLiteResource_1.AssetLiteResourceFromJSON)(json['asset']),
50
50
  'position': json['position'],
51
51
  'padding': json['padding'],
52
52
  'horizontalMargin': json['horizontalMargin'],
@@ -63,7 +63,7 @@ function OverlayTemplateAssetResourceToJSONTyped(value, ignoreDiscriminator) {
63
63
  }
64
64
  return {
65
65
  'id': value['id'],
66
- 'asset': (0, AssetResource_1.AssetResourceToJSON)(value['asset']),
66
+ 'asset': (0, AssetLiteResource_1.AssetLiteResourceToJSON)(value['asset']),
67
67
  'position': value['position'],
68
68
  'padding': value['padding'],
69
69
  'horizontalMargin': value['horizontalMargin'],
@@ -0,0 +1,40 @@
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
+ import type { PagingMetadata } from './PagingMetadata';
13
+ import type { CategoryFrontendResource } from './CategoryFrontendResource';
14
+ /**
15
+ *
16
+ * @export
17
+ * @interface PaginatedCategoryFrontendResourceResponse
18
+ */
19
+ export interface PaginatedCategoryFrontendResourceResponse {
20
+ /**
21
+ *
22
+ * @type {Array<CategoryFrontendResource>}
23
+ * @memberof PaginatedCategoryFrontendResourceResponse
24
+ */
25
+ data: Array<CategoryFrontendResource>;
26
+ /**
27
+ *
28
+ * @type {PagingMetadata}
29
+ * @memberof PaginatedCategoryFrontendResourceResponse
30
+ */
31
+ meta: PagingMetadata;
32
+ }
33
+ /**
34
+ * Check if a given object implements the PaginatedCategoryFrontendResourceResponse interface.
35
+ */
36
+ export declare function instanceOfPaginatedCategoryFrontendResourceResponse(value: object): value is PaginatedCategoryFrontendResourceResponse;
37
+ export declare function PaginatedCategoryFrontendResourceResponseFromJSON(json: any): PaginatedCategoryFrontendResourceResponse;
38
+ export declare function PaginatedCategoryFrontendResourceResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginatedCategoryFrontendResourceResponse;
39
+ export declare function PaginatedCategoryFrontendResourceResponseToJSON(json: any): PaginatedCategoryFrontendResourceResponse;
40
+ export declare function PaginatedCategoryFrontendResourceResponseToJSONTyped(value?: PaginatedCategoryFrontendResourceResponse | null, ignoreDiscriminator?: boolean): any;
@@ -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 './DescriptionResource';
37
41
  export * from './DescriptionResourceArrayResponse';
@@ -104,6 +108,7 @@ export * from './PaginatedAttributeListResourceResponse';
104
108
  export * from './PaginatedAttributeLiteResourceResponse';
105
109
  export * from './PaginatedAttributeProductTypeRelationResourceResponse';
106
110
  export * from './PaginatedAttributeResourceResponse';
111
+ export * from './PaginatedCategoryFrontendResourceResponse';
107
112
  export * from './PaginatedDocumentResourceResponse';
108
113
  export * from './PaginatedExternalApiLogListResourceResponse';
109
114
  export * from './PaginatedExternalApiLogResourceResponse';
@@ -143,6 +148,7 @@ export * from './PreviewAutomationRulesResource';
143
148
  export * from './PreviewAutomationRulesResourceArrayResponse';
144
149
  export * from './ProductAggregationResource';
145
150
  export * from './ProductAggregationResourceArrayResponse';
151
+ export * from './ProductAvailability';
146
152
  export * from './ProductCategoryHierarchyResource';
147
153
  export * from './ProductCategoryHierarchyResourceArrayResponse';
148
154
  export * from './ProductCategoryListResource';
@@ -181,7 +187,6 @@ export * from './ProductSearchResponseResourcePriceInfo';
181
187
  export * from './ProductSearchResultResource';
182
188
  export * from './ProductSearchResultResourceArrayResponse';
183
189
  export * from './ProductSortBy';
184
- export * from './ProductStatus';
185
190
  export * from './ProductTypeListResource';
186
191
  export * from './ProductTypeListResourceArrayResponse';
187
192
  export * from './ProductTypeLiteResource';
@@ -258,7 +263,3 @@ export * from './UpdateSiteNotificationRequest';
258
263
  export * from './UpdateSiteRequest';
259
264
  export * from './UpdateSupplierRequest';
260
265
  export * from './UpdateTagRequest';
261
- export * from './WishlistCheckResource';
262
- export * from './WishlistCheckResourceArrayResponse';
263
- export * from './WishlistToggleResource';
264
- export * from './WishlistToggleResourceArrayResponse';
@@ -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("./DescriptionResource"), exports);
55
59
  __exportStar(require("./DescriptionResourceArrayResponse"), exports);
@@ -122,6 +126,7 @@ __exportStar(require("./PaginatedAttributeListResourceResponse"), exports);
122
126
  __exportStar(require("./PaginatedAttributeLiteResourceResponse"), exports);
123
127
  __exportStar(require("./PaginatedAttributeProductTypeRelationResourceResponse"), exports);
124
128
  __exportStar(require("./PaginatedAttributeResourceResponse"), exports);
129
+ __exportStar(require("./PaginatedCategoryFrontendResourceResponse"), exports);
125
130
  __exportStar(require("./PaginatedDocumentResourceResponse"), exports);
126
131
  __exportStar(require("./PaginatedExternalApiLogListResourceResponse"), exports);
127
132
  __exportStar(require("./PaginatedExternalApiLogResourceResponse"), exports);
@@ -161,6 +166,7 @@ __exportStar(require("./PreviewAutomationRulesResource"), exports);
161
166
  __exportStar(require("./PreviewAutomationRulesResourceArrayResponse"), exports);
162
167
  __exportStar(require("./ProductAggregationResource"), exports);
163
168
  __exportStar(require("./ProductAggregationResourceArrayResponse"), exports);
169
+ __exportStar(require("./ProductAvailability"), exports);
164
170
  __exportStar(require("./ProductCategoryHierarchyResource"), exports);
165
171
  __exportStar(require("./ProductCategoryHierarchyResourceArrayResponse"), exports);
166
172
  __exportStar(require("./ProductCategoryListResource"), exports);
@@ -199,7 +205,6 @@ __exportStar(require("./ProductSearchResponseResourcePriceInfo"), exports);
199
205
  __exportStar(require("./ProductSearchResultResource"), exports);
200
206
  __exportStar(require("./ProductSearchResultResourceArrayResponse"), exports);
201
207
  __exportStar(require("./ProductSortBy"), exports);
202
- __exportStar(require("./ProductStatus"), exports);
203
208
  __exportStar(require("./ProductTypeListResource"), exports);
204
209
  __exportStar(require("./ProductTypeListResourceArrayResponse"), exports);
205
210
  __exportStar(require("./ProductTypeLiteResource"), exports);
@@ -276,7 +281,3 @@ __exportStar(require("./UpdateSiteNotificationRequest"), exports);
276
281
  __exportStar(require("./UpdateSiteRequest"), exports);
277
282
  __exportStar(require("./UpdateSupplierRequest"), exports);
278
283
  __exportStar(require("./UpdateTagRequest"), exports);
279
- __exportStar(require("./WishlistCheckResource"), exports);
280
- __exportStar(require("./WishlistCheckResourceArrayResponse"), exports);
281
- __exportStar(require("./WishlistToggleResource"), exports);
282
- __exportStar(require("./WishlistToggleResourceArrayResponse"), 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
+
@@ -1,22 +1,22 @@
1
1
 
2
- # WishlistToggleResourceArrayResponse
2
+ # CategoryFrontendResourceArrayResponse
3
3
 
4
4
 
5
5
  ## Properties
6
6
 
7
7
  Name | Type
8
8
  ------------ | -------------
9
- `data` | [Array&lt;WishlistToggleResource&gt;](WishlistToggleResource.md)
9
+ `data` | [Array&lt;CategoryFrontendResource&gt;](CategoryFrontendResource.md)
10
10
 
11
11
  ## Example
12
12
 
13
13
  ```typescript
14
- import type { WishlistToggleResourceArrayResponse } from '@digital8/lighting-illusions-ts-sdk'
14
+ import type { CategoryFrontendResourceArrayResponse } from '@digital8/lighting-illusions-ts-sdk'
15
15
 
16
16
  // TODO: Update the object below with actual values
17
17
  const example = {
18
18
  "data": null,
19
- } satisfies WishlistToggleResourceArrayResponse
19
+ } satisfies CategoryFrontendResourceArrayResponse
20
20
 
21
21
  console.log(example)
22
22
 
@@ -25,7 +25,7 @@ const exampleJSON: string = JSON.stringify(example)
25
25
  console.log(exampleJSON)
26
26
 
27
27
  // Parse the JSON string back to an object
28
- const exampleParsed = JSON.parse(exampleJSON) as WishlistToggleResourceArrayResponse
28
+ const exampleParsed = JSON.parse(exampleJSON) as CategoryFrontendResourceArrayResponse
29
29
  console.log(exampleParsed)
30
30
  ```
31
31
 
@@ -1,24 +1,24 @@
1
1
 
2
- # WishlistToggleResource
2
+ # CategoryWithChildrenFrontendResource
3
3
 
4
4
 
5
5
  ## Properties
6
6
 
7
7
  Name | Type
8
8
  ------------ | -------------
9
- `action` | string
10
- `product` | Array&lt;number&gt;
9
+ `category` | [CategoryFrontendResource](CategoryFrontendResource.md)
10
+ `children` | [Array&lt;CategoryFrontendResource&gt;](CategoryFrontendResource.md)
11
11
 
12
12
  ## Example
13
13
 
14
14
  ```typescript
15
- import type { WishlistToggleResource } from '@digital8/lighting-illusions-ts-sdk'
15
+ import type { CategoryWithChildrenFrontendResource } from '@digital8/lighting-illusions-ts-sdk'
16
16
 
17
17
  // TODO: Update the object below with actual values
18
18
  const example = {
19
- "action": null,
20
- "product": null,
21
- } satisfies WishlistToggleResource
19
+ "category": null,
20
+ "children": null,
21
+ } satisfies CategoryWithChildrenFrontendResource
22
22
 
23
23
  console.log(example)
24
24
 
@@ -27,7 +27,7 @@ const exampleJSON: string = JSON.stringify(example)
27
27
  console.log(exampleJSON)
28
28
 
29
29
  // Parse the JSON string back to an object
30
- const exampleParsed = JSON.parse(exampleJSON) as WishlistToggleResource
30
+ const exampleParsed = JSON.parse(exampleJSON) as CategoryWithChildrenFrontendResource
31
31
  console.log(exampleParsed)
32
32
  ```
33
33
 
@@ -1,22 +1,22 @@
1
1
 
2
- # WishlistCheckResourceArrayResponse
2
+ # CategoryWithChildrenFrontendResourceArrayResponse
3
3
 
4
4
 
5
5
  ## Properties
6
6
 
7
7
  Name | Type
8
8
  ------------ | -------------
9
- `data` | [Array&lt;WishlistCheckResource&gt;](WishlistCheckResource.md)
9
+ `data` | [Array&lt;CategoryWithChildrenFrontendResource&gt;](CategoryWithChildrenFrontendResource.md)
10
10
 
11
11
  ## Example
12
12
 
13
13
  ```typescript
14
- import type { WishlistCheckResourceArrayResponse } from '@digital8/lighting-illusions-ts-sdk'
14
+ import type { CategoryWithChildrenFrontendResourceArrayResponse } from '@digital8/lighting-illusions-ts-sdk'
15
15
 
16
16
  // TODO: Update the object below with actual values
17
17
  const example = {
18
18
  "data": null,
19
- } satisfies WishlistCheckResourceArrayResponse
19
+ } satisfies CategoryWithChildrenFrontendResourceArrayResponse
20
20
 
21
21
  console.log(example)
22
22
 
@@ -25,7 +25,7 @@ const exampleJSON: string = JSON.stringify(example)
25
25
  console.log(exampleJSON)
26
26
 
27
27
  // Parse the JSON string back to an object
28
- const exampleParsed = JSON.parse(exampleJSON) as WishlistCheckResourceArrayResponse
28
+ const exampleParsed = JSON.parse(exampleJSON) as CategoryWithChildrenFrontendResourceArrayResponse
29
29
  console.log(exampleParsed)
30
30
  ```
31
31
 
@@ -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