@digital8/lighting-illusions-ts-sdk 0.0.645 → 0.0.647

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 (60) hide show
  1. package/.openapi-generator/FILES +16 -2
  2. package/README.md +10 -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/TagFrontendResource.d.ts +63 -0
  25. package/dist/models/TagFrontendResource.js +72 -0
  26. package/dist/models/TagFrontendResourceArrayResponse.d.ts +33 -0
  27. package/dist/models/TagFrontendResourceArrayResponse.js +50 -0
  28. package/dist/models/index.d.ts +8 -1
  29. package/dist/models/index.js +8 -1
  30. package/docs/CategoryFrontendResource.md +46 -0
  31. package/docs/CategoryFrontendResourceArrayResponse.md +34 -0
  32. package/docs/CategoryWithChildrenFrontendResource.md +36 -0
  33. package/docs/CategoryWithChildrenFrontendResourceArrayResponse.md +34 -0
  34. package/docs/OverlayTemplateAssetFrontendResource.md +1 -1
  35. package/docs/OverlayTemplateAssetResource.md +1 -1
  36. package/docs/PaginatedCategoryFrontendResourceResponse.md +36 -0
  37. package/docs/{ProductStatus.md → ProductAvailability.md} +4 -4
  38. package/docs/ProductCompareResource.md +1 -1
  39. package/docs/ProductSearchResultResource.md +4 -2
  40. package/docs/SupplierFrontendResource.md +4 -4
  41. package/docs/TagFrontendResource.md +44 -0
  42. package/docs/TagFrontendResourceArrayResponse.md +34 -0
  43. package/package.json +1 -1
  44. package/src/models/CategoryFrontendResource.ts +133 -0
  45. package/src/models/CategoryFrontendResourceArrayResponse.ts +73 -0
  46. package/src/models/CategoryWithChildrenFrontendResource.ts +83 -0
  47. package/src/models/CategoryWithChildrenFrontendResourceArrayResponse.ts +73 -0
  48. package/src/models/OverlayTemplateAssetFrontendResource.ts +12 -4
  49. package/src/models/OverlayTemplateAssetResource.ts +10 -10
  50. package/src/models/PaginatedCategoryFrontendResourceResponse.ts +90 -0
  51. package/src/models/ProductAvailability.ts +54 -0
  52. package/src/models/ProductCompareResource.ts +2 -2
  53. package/src/models/ProductSearchResultResource.ts +18 -9
  54. package/src/models/SupplierFrontendResource.ts +20 -27
  55. package/src/models/TagFrontendResource.ts +119 -0
  56. package/src/models/TagFrontendResourceArrayResponse.ts +73 -0
  57. package/src/models/index.ts +8 -1
  58. package/dist/models/ProductStatus.d.ts +0 -24
  59. package/dist/models/ProductStatus.js +0 -50
  60. package/src/models/ProductStatus.ts +0 -52
@@ -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
  }
@@ -0,0 +1,63 @@
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 { DescriptionResource } from './DescriptionResource';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface TagFrontendResource
17
+ */
18
+ export interface TagFrontendResource {
19
+ /**
20
+ *
21
+ * @type {number}
22
+ * @memberof TagFrontendResource
23
+ */
24
+ id: number;
25
+ /**
26
+ *
27
+ * @type {string}
28
+ * @memberof TagFrontendResource
29
+ */
30
+ name: string;
31
+ /**
32
+ *
33
+ * @type {string}
34
+ * @memberof TagFrontendResource
35
+ */
36
+ slug: string;
37
+ /**
38
+ *
39
+ * @type {string}
40
+ * @memberof TagFrontendResource
41
+ */
42
+ type: string;
43
+ /**
44
+ *
45
+ * @type {object}
46
+ * @memberof TagFrontendResource
47
+ */
48
+ seo: object;
49
+ /**
50
+ *
51
+ * @type {DescriptionResource}
52
+ * @memberof TagFrontendResource
53
+ */
54
+ description: DescriptionResource | null;
55
+ }
56
+ /**
57
+ * Check if a given object implements the TagFrontendResource interface.
58
+ */
59
+ export declare function instanceOfTagFrontendResource(value: object): value is TagFrontendResource;
60
+ export declare function TagFrontendResourceFromJSON(json: any): TagFrontendResource;
61
+ export declare function TagFrontendResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): TagFrontendResource;
62
+ export declare function TagFrontendResourceToJSON(json: any): TagFrontendResource;
63
+ export declare function TagFrontendResourceToJSONTyped(value?: TagFrontendResource | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,72 @@
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.instanceOfTagFrontendResource = instanceOfTagFrontendResource;
17
+ exports.TagFrontendResourceFromJSON = TagFrontendResourceFromJSON;
18
+ exports.TagFrontendResourceFromJSONTyped = TagFrontendResourceFromJSONTyped;
19
+ exports.TagFrontendResourceToJSON = TagFrontendResourceToJSON;
20
+ exports.TagFrontendResourceToJSONTyped = TagFrontendResourceToJSONTyped;
21
+ var DescriptionResource_1 = require("./DescriptionResource");
22
+ /**
23
+ * Check if a given object implements the TagFrontendResource interface.
24
+ */
25
+ function instanceOfTagFrontendResource(value) {
26
+ if (!('id' in value) || value['id'] === undefined)
27
+ return false;
28
+ if (!('name' in value) || value['name'] === undefined)
29
+ return false;
30
+ if (!('slug' in value) || value['slug'] === undefined)
31
+ return false;
32
+ if (!('type' in value) || value['type'] === undefined)
33
+ return false;
34
+ if (!('seo' in value) || value['seo'] === undefined)
35
+ return false;
36
+ if (!('description' in value) || value['description'] === undefined)
37
+ return false;
38
+ return true;
39
+ }
40
+ function TagFrontendResourceFromJSON(json) {
41
+ return TagFrontendResourceFromJSONTyped(json, false);
42
+ }
43
+ function TagFrontendResourceFromJSONTyped(json, ignoreDiscriminator) {
44
+ if (json == null) {
45
+ return json;
46
+ }
47
+ return {
48
+ 'id': json['id'],
49
+ 'name': json['name'],
50
+ 'slug': json['slug'],
51
+ 'type': json['type'],
52
+ 'seo': json['seo'],
53
+ 'description': (0, DescriptionResource_1.DescriptionResourceFromJSON)(json['description']),
54
+ };
55
+ }
56
+ function TagFrontendResourceToJSON(json) {
57
+ return TagFrontendResourceToJSONTyped(json, false);
58
+ }
59
+ function TagFrontendResourceToJSONTyped(value, ignoreDiscriminator) {
60
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
61
+ if (value == null) {
62
+ return value;
63
+ }
64
+ return {
65
+ 'id': value['id'],
66
+ 'name': value['name'],
67
+ 'slug': value['slug'],
68
+ 'type': value['type'],
69
+ 'seo': value['seo'],
70
+ 'description': (0, DescriptionResource_1.DescriptionResourceToJSON)(value['description']),
71
+ };
72
+ }
@@ -0,0 +1,33 @@
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 { TagFrontendResource } from './TagFrontendResource';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface TagFrontendResourceArrayResponse
17
+ */
18
+ export interface TagFrontendResourceArrayResponse {
19
+ /**
20
+ *
21
+ * @type {Array<TagFrontendResource>}
22
+ * @memberof TagFrontendResourceArrayResponse
23
+ */
24
+ data?: Array<TagFrontendResource>;
25
+ }
26
+ /**
27
+ * Check if a given object implements the TagFrontendResourceArrayResponse interface.
28
+ */
29
+ export declare function instanceOfTagFrontendResourceArrayResponse(value: object): value is TagFrontendResourceArrayResponse;
30
+ export declare function TagFrontendResourceArrayResponseFromJSON(json: any): TagFrontendResourceArrayResponse;
31
+ export declare function TagFrontendResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): TagFrontendResourceArrayResponse;
32
+ export declare function TagFrontendResourceArrayResponseToJSON(json: any): TagFrontendResourceArrayResponse;
33
+ export declare function TagFrontendResourceArrayResponseToJSONTyped(value?: TagFrontendResourceArrayResponse | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,50 @@
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.instanceOfTagFrontendResourceArrayResponse = instanceOfTagFrontendResourceArrayResponse;
17
+ exports.TagFrontendResourceArrayResponseFromJSON = TagFrontendResourceArrayResponseFromJSON;
18
+ exports.TagFrontendResourceArrayResponseFromJSONTyped = TagFrontendResourceArrayResponseFromJSONTyped;
19
+ exports.TagFrontendResourceArrayResponseToJSON = TagFrontendResourceArrayResponseToJSON;
20
+ exports.TagFrontendResourceArrayResponseToJSONTyped = TagFrontendResourceArrayResponseToJSONTyped;
21
+ var TagFrontendResource_1 = require("./TagFrontendResource");
22
+ /**
23
+ * Check if a given object implements the TagFrontendResourceArrayResponse interface.
24
+ */
25
+ function instanceOfTagFrontendResourceArrayResponse(value) {
26
+ return true;
27
+ }
28
+ function TagFrontendResourceArrayResponseFromJSON(json) {
29
+ return TagFrontendResourceArrayResponseFromJSONTyped(json, false);
30
+ }
31
+ function TagFrontendResourceArrayResponseFromJSONTyped(json, ignoreDiscriminator) {
32
+ if (json == null) {
33
+ return json;
34
+ }
35
+ return {
36
+ 'data': json['data'] == null ? undefined : (json['data'].map(TagFrontendResource_1.TagFrontendResourceFromJSON)),
37
+ };
38
+ }
39
+ function TagFrontendResourceArrayResponseToJSON(json) {
40
+ return TagFrontendResourceArrayResponseToJSONTyped(json, false);
41
+ }
42
+ function TagFrontendResourceArrayResponseToJSONTyped(value, ignoreDiscriminator) {
43
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
44
+ if (value == null) {
45
+ return value;
46
+ }
47
+ return {
48
+ 'data': value['data'] == null ? undefined : (value['data'].map(TagFrontendResource_1.TagFrontendResourceToJSON)),
49
+ };
50
+ }
@@ -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';
@@ -242,6 +247,8 @@ export * from './SupplierLiteResource';
242
247
  export * from './SupplierLiteResourceArrayResponse';
243
248
  export * from './SupplierResource';
244
249
  export * from './SupplierResourceArrayResponse';
250
+ export * from './TagFrontendResource';
251
+ export * from './TagFrontendResourceArrayResponse';
245
252
  export * from './TagListResource';
246
253
  export * from './TagListResourceArrayResponse';
247
254
  export * from './TagLiteResource';