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

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 (63) hide show
  1. package/.openapi-generator/FILES +2 -16
  2. package/README.md +3 -10
  3. package/dist/models/ExternalApiLogResource.d.ts +1 -1
  4. package/dist/models/ExternalApiLogResource.js +1 -3
  5. package/dist/models/OverlayTemplateAssetFrontendResource.d.ts +2 -3
  6. package/dist/models/OverlayTemplateAssetFrontendResource.js +2 -3
  7. package/dist/models/OverlayTemplateAssetResource.d.ts +3 -3
  8. package/dist/models/OverlayTemplateAssetResource.js +3 -3
  9. package/dist/models/ProductCompareResource.d.ts +2 -2
  10. package/dist/models/ProductSearchResultResource.d.ts +6 -12
  11. package/dist/models/ProductSearchResultResource.js +4 -8
  12. package/dist/models/ProductStatus.d.ts +24 -0
  13. package/dist/models/ProductStatus.js +50 -0
  14. package/dist/models/SupplierFrontendResource.d.ts +8 -7
  15. package/dist/models/SupplierFrontendResource.js +9 -8
  16. package/dist/models/index.d.ts +1 -8
  17. package/dist/models/index.js +1 -8
  18. package/docs/OverlayTemplateAssetFrontendResource.md +1 -1
  19. package/docs/OverlayTemplateAssetResource.md +1 -1
  20. package/docs/ProductCompareResource.md +1 -1
  21. package/docs/ProductSearchResultResource.md +2 -4
  22. package/docs/{ProductAvailability.md → ProductStatus.md} +4 -4
  23. package/docs/SupplierFrontendResource.md +4 -4
  24. package/package.json +1 -1
  25. package/src/models/ExternalApiLogResource.ts +2 -3
  26. package/src/models/OverlayTemplateAssetFrontendResource.ts +4 -12
  27. package/src/models/OverlayTemplateAssetResource.ts +10 -10
  28. package/src/models/ProductCompareResource.ts +2 -2
  29. package/src/models/ProductSearchResultResource.ts +9 -18
  30. package/src/models/ProductStatus.ts +52 -0
  31. package/src/models/SupplierFrontendResource.ts +27 -20
  32. package/src/models/index.ts +1 -8
  33. package/dist/models/CategoryFrontendResource.d.ts +0 -70
  34. package/dist/models/CategoryFrontendResource.js +0 -73
  35. package/dist/models/CategoryFrontendResourceArrayResponse.d.ts +0 -33
  36. package/dist/models/CategoryFrontendResourceArrayResponse.js +0 -50
  37. package/dist/models/CategoryWithChildrenFrontendResource.d.ts +0 -39
  38. package/dist/models/CategoryWithChildrenFrontendResource.js +0 -56
  39. package/dist/models/CategoryWithChildrenFrontendResourceArrayResponse.d.ts +0 -33
  40. package/dist/models/CategoryWithChildrenFrontendResourceArrayResponse.js +0 -50
  41. package/dist/models/PaginatedCategoryFrontendResourceResponse.d.ts +0 -40
  42. package/dist/models/PaginatedCategoryFrontendResourceResponse.js +0 -57
  43. package/dist/models/ProductAvailability.d.ts +0 -26
  44. package/dist/models/ProductAvailability.js +0 -52
  45. package/dist/models/TagFrontendResource.d.ts +0 -63
  46. package/dist/models/TagFrontendResource.js +0 -72
  47. package/dist/models/TagFrontendResourceArrayResponse.d.ts +0 -33
  48. package/dist/models/TagFrontendResourceArrayResponse.js +0 -50
  49. package/docs/CategoryFrontendResource.md +0 -46
  50. package/docs/CategoryFrontendResourceArrayResponse.md +0 -34
  51. package/docs/CategoryWithChildrenFrontendResource.md +0 -36
  52. package/docs/CategoryWithChildrenFrontendResourceArrayResponse.md +0 -34
  53. package/docs/PaginatedCategoryFrontendResourceResponse.md +0 -36
  54. package/docs/TagFrontendResource.md +0 -44
  55. package/docs/TagFrontendResourceArrayResponse.md +0 -34
  56. package/src/models/CategoryFrontendResource.ts +0 -133
  57. package/src/models/CategoryFrontendResourceArrayResponse.ts +0 -73
  58. package/src/models/CategoryWithChildrenFrontendResource.ts +0 -83
  59. package/src/models/CategoryWithChildrenFrontendResourceArrayResponse.ts +0 -73
  60. package/src/models/PaginatedCategoryFrontendResourceResponse.ts +0 -90
  61. package/src/models/ProductAvailability.ts +0 -54
  62. package/src/models/TagFrontendResource.ts +0 -119
  63. package/src/models/TagFrontendResourceArrayResponse.ts +0 -73
@@ -16,13 +16,12 @@ Name | Type
16
16
  `thumbnail` | string
17
17
  `averageRating` | string
18
18
  `labelDetails` | Array<number>
19
+ `categories` | Array<object>
19
20
  `supplierName` | string
20
21
  `supplierLogo` | string
21
22
  `supplierId` | number
22
23
  `availability` | string
23
24
  `wishlisted` | boolean
24
- `variationCount` | number
25
- `overlayAssets` | Array<object>
26
25
 
27
26
  ## Example
28
27
 
@@ -41,13 +40,12 @@ const example = {
41
40
  "thumbnail": null,
42
41
  "averageRating": null,
43
42
  "labelDetails": null,
43
+ "categories": null,
44
44
  "supplierName": null,
45
45
  "supplierLogo": null,
46
46
  "supplierId": null,
47
47
  "availability": null,
48
48
  "wishlisted": null,
49
- "variationCount": null,
50
- "overlayAssets": null,
51
49
  } satisfies ProductSearchResultResource
52
50
 
53
51
  console.log(example)
@@ -1,5 +1,5 @@
1
1
 
2
- # ProductAvailability
2
+ # ProductStatus
3
3
 
4
4
 
5
5
  ## Properties
@@ -10,11 +10,11 @@ Name | Type
10
10
  ## Example
11
11
 
12
12
  ```typescript
13
- import type { ProductAvailability } from '@digital8/lighting-illusions-ts-sdk'
13
+ import type { ProductStatus } from '@digital8/lighting-illusions-ts-sdk'
14
14
 
15
15
  // TODO: Update the object below with actual values
16
16
  const example = {
17
- } satisfies ProductAvailability
17
+ } satisfies ProductStatus
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 ProductAvailability
26
+ const exampleParsed = JSON.parse(exampleJSON) as ProductStatus
27
27
  console.log(exampleParsed)
28
28
  ```
29
29
 
@@ -9,10 +9,10 @@ Name | Type
9
9
  `id` | number
10
10
  `name` | string
11
11
  `slug` | string
12
- `thumbnail` | [AssetLiteResource](AssetLiteResource.md)
12
+ `thumbnail` | [AssetResource](AssetResource.md)
13
13
  `supplierEta` | number
14
- `seo` | object
15
- `description` | [DescriptionResource](DescriptionResource.md)
14
+ `seo` | [SEOResource](SEOResource.md)
15
+ `descriptions` | [Array<DescriptionResource>](DescriptionResource.md)
16
16
 
17
17
  ## Example
18
18
 
@@ -27,7 +27,7 @@ const example = {
27
27
  "thumbnail": null,
28
28
  "supplierEta": null,
29
29
  "seo": null,
30
- "description": null,
30
+ "descriptions": null,
31
31
  } satisfies SupplierFrontendResource
32
32
 
33
33
  console.log(example)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@digital8/lighting-illusions-ts-sdk",
3
- "version": "0.0.647",
3
+ "version": "0.0.648",
4
4
  "description": "OpenAPI client for @digital8/lighting-illusions-ts-sdk",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -74,7 +74,7 @@ export interface ExternalApiLogResource {
74
74
  * @type {string}
75
75
  * @memberof ExternalApiLogResource
76
76
  */
77
- requestPayload: string;
77
+ requestPayload?: string | null;
78
78
  /**
79
79
  *
80
80
  * @type {string}
@@ -106,7 +106,6 @@ 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;
110
109
  if (!('responsePayload' in value) || value['responsePayload'] === undefined) return false;
111
110
  if (!('site' in value) || value['site'] === undefined) return false;
112
111
  return true;
@@ -129,7 +128,7 @@ export function ExternalApiLogResourceFromJSONTyped(json: any, ignoreDiscriminat
129
128
  'exteranlApiLoggableId': json['exteranlApiLoggableId'],
130
129
  'endpoint': json['endpoint'],
131
130
  'responseCode': json['responseCode'],
132
- 'requestPayload': json['requestPayload'],
131
+ 'requestPayload': json['requestPayload'] == null ? undefined : json['requestPayload'],
133
132
  'responsePayload': json['responsePayload'],
134
133
  'createdAt': json['createdAt'] == null ? undefined : json['createdAt'],
135
134
  'site': SiteLiteResourceFromJSON(json['site']),
@@ -13,14 +13,6 @@
13
13
  */
14
14
 
15
15
  import { mapValues } from '../runtime';
16
- import type { AssetLiteResource } from './AssetLiteResource';
17
- import {
18
- AssetLiteResourceFromJSON,
19
- AssetLiteResourceFromJSONTyped,
20
- AssetLiteResourceToJSON,
21
- AssetLiteResourceToJSONTyped,
22
- } from './AssetLiteResource';
23
-
24
16
  /**
25
17
  *
26
18
  * @export
@@ -59,10 +51,10 @@ export interface OverlayTemplateAssetFrontendResource {
59
51
  verticalMargin: number;
60
52
  /**
61
53
  *
62
- * @type {AssetLiteResource}
54
+ * @type {Array<string>}
63
55
  * @memberof OverlayTemplateAssetFrontendResource
64
56
  */
65
- image: AssetLiteResource | null;
57
+ image: Array<string>;
66
58
  }
67
59
 
68
60
  /**
@@ -93,7 +85,7 @@ export function OverlayTemplateAssetFrontendResourceFromJSONTyped(json: any, ign
93
85
  'padding': json['padding'],
94
86
  'horizontalMargin': json['horizontalMargin'],
95
87
  'verticalMargin': json['verticalMargin'],
96
- 'image': AssetLiteResourceFromJSON(json['image']),
88
+ 'image': json['image'],
97
89
  };
98
90
  }
99
91
 
@@ -113,7 +105,7 @@ export function OverlayTemplateAssetFrontendResourceToJSONTyped(value?: OverlayT
113
105
  'padding': value['padding'],
114
106
  'horizontalMargin': value['horizontalMargin'],
115
107
  'verticalMargin': value['verticalMargin'],
116
- 'image': AssetLiteResourceToJSON(value['image']),
108
+ 'image': value['image'],
117
109
  };
118
110
  }
119
111
 
@@ -13,13 +13,13 @@
13
13
  */
14
14
 
15
15
  import { mapValues } from '../runtime';
16
- import type { AssetLiteResource } from './AssetLiteResource';
16
+ import type { AssetResource } from './AssetResource';
17
17
  import {
18
- AssetLiteResourceFromJSON,
19
- AssetLiteResourceFromJSONTyped,
20
- AssetLiteResourceToJSON,
21
- AssetLiteResourceToJSONTyped,
22
- } from './AssetLiteResource';
18
+ AssetResourceFromJSON,
19
+ AssetResourceFromJSONTyped,
20
+ AssetResourceToJSON,
21
+ AssetResourceToJSONTyped,
22
+ } from './AssetResource';
23
23
 
24
24
  /**
25
25
  *
@@ -35,10 +35,10 @@ export interface OverlayTemplateAssetResource {
35
35
  id: number;
36
36
  /**
37
37
  *
38
- * @type {AssetLiteResource}
38
+ * @type {AssetResource}
39
39
  * @memberof OverlayTemplateAssetResource
40
40
  */
41
- asset: AssetLiteResource | null;
41
+ asset: AssetResource | null;
42
42
  /**
43
43
  *
44
44
  * @type {string}
@@ -89,7 +89,7 @@ export function OverlayTemplateAssetResourceFromJSONTyped(json: any, ignoreDiscr
89
89
  return {
90
90
 
91
91
  'id': json['id'],
92
- 'asset': AssetLiteResourceFromJSON(json['asset']),
92
+ 'asset': AssetResourceFromJSON(json['asset']),
93
93
  'position': json['position'],
94
94
  'padding': json['padding'],
95
95
  'horizontalMargin': json['horizontalMargin'],
@@ -109,7 +109,7 @@ export function OverlayTemplateAssetResourceToJSONTyped(value?: OverlayTemplateA
109
109
  return {
110
110
 
111
111
  'id': value['id'],
112
- 'asset': AssetLiteResourceToJSON(value['asset']),
112
+ 'asset': AssetResourceToJSON(value['asset']),
113
113
  'position': value['position'],
114
114
  'padding': value['padding'],
115
115
  'horizontalMargin': value['horizontalMargin'],
@@ -89,10 +89,10 @@ export interface ProductCompareResource {
89
89
  salePrice: number;
90
90
  /**
91
91
  *
92
- * @type {string}
92
+ * @type {number}
93
93
  * @memberof ProductCompareResource
94
94
  */
95
- availability: string;
95
+ availability: number;
96
96
  /**
97
97
  *
98
98
  * @type {number}
@@ -79,6 +79,12 @@ export interface ProductSearchResultResource {
79
79
  * @memberof ProductSearchResultResource
80
80
  */
81
81
  labelDetails: Array<number>;
82
+ /**
83
+ *
84
+ * @type {Array<object>}
85
+ * @memberof ProductSearchResultResource
86
+ */
87
+ categories: Array<object>;
82
88
  /**
83
89
  *
84
90
  * @type {string}
@@ -109,18 +115,6 @@ export interface ProductSearchResultResource {
109
115
  * @memberof ProductSearchResultResource
110
116
  */
111
117
  wishlisted: boolean;
112
- /**
113
- *
114
- * @type {number}
115
- * @memberof ProductSearchResultResource
116
- */
117
- variationCount: number;
118
- /**
119
- *
120
- * @type {Array<object>}
121
- * @memberof ProductSearchResultResource
122
- */
123
- overlayAssets: Array<object>;
124
118
  }
125
119
 
126
120
  /**
@@ -136,13 +130,12 @@ export function instanceOfProductSearchResultResource(value: object): value is P
136
130
  if (!('salePrice' in value) || value['salePrice'] === undefined) return false;
137
131
  if (!('thumbnail' in value) || value['thumbnail'] === undefined) return false;
138
132
  if (!('labelDetails' in value) || value['labelDetails'] === undefined) return false;
133
+ if (!('categories' in value) || value['categories'] === undefined) return false;
139
134
  if (!('supplierName' in value) || value['supplierName'] === undefined) return false;
140
135
  if (!('supplierLogo' in value) || value['supplierLogo'] === undefined) return false;
141
136
  if (!('supplierId' in value) || value['supplierId'] === undefined) return false;
142
137
  if (!('availability' in value) || value['availability'] === undefined) return false;
143
138
  if (!('wishlisted' in value) || value['wishlisted'] === undefined) return false;
144
- if (!('variationCount' in value) || value['variationCount'] === undefined) return false;
145
- if (!('overlayAssets' in value) || value['overlayAssets'] === undefined) return false;
146
139
  return true;
147
140
  }
148
141
 
@@ -166,13 +159,12 @@ export function ProductSearchResultResourceFromJSONTyped(json: any, ignoreDiscri
166
159
  'thumbnail': json['thumbnail'],
167
160
  'averageRating': json['averageRating'] == null ? undefined : json['averageRating'],
168
161
  'labelDetails': json['labelDetails'],
162
+ 'categories': json['categories'],
169
163
  'supplierName': json['supplierName'],
170
164
  'supplierLogo': json['supplierLogo'],
171
165
  'supplierId': json['supplierId'],
172
166
  'availability': json['availability'],
173
167
  'wishlisted': json['wishlisted'],
174
- 'variationCount': json['variationCount'],
175
- 'overlayAssets': json['overlayAssets'],
176
168
  };
177
169
  }
178
170
 
@@ -197,13 +189,12 @@ export function ProductSearchResultResourceToJSONTyped(value?: ProductSearchResu
197
189
  'thumbnail': value['thumbnail'],
198
190
  'averageRating': value['averageRating'],
199
191
  'labelDetails': value['labelDetails'],
192
+ 'categories': value['categories'],
200
193
  'supplierName': value['supplierName'],
201
194
  'supplierLogo': value['supplierLogo'],
202
195
  'supplierId': value['supplierId'],
203
196
  'availability': value['availability'],
204
197
  'wishlisted': value['wishlisted'],
205
- 'variationCount': value['variationCount'],
206
- 'overlayAssets': value['overlayAssets'],
207
198
  };
208
199
  }
209
200
 
@@ -0,0 +1,52 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * My API
5
+ * API documentation for my Laravel app
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+ /**
17
+ *
18
+ * @export
19
+ */
20
+ export const ProductStatus = {
21
+ InStock: 'in_stock'
22
+ } as const;
23
+ export type ProductStatus = typeof ProductStatus[keyof typeof ProductStatus];
24
+
25
+
26
+ export function instanceOfProductStatus(value: any): boolean {
27
+ for (const key in ProductStatus) {
28
+ if (Object.prototype.hasOwnProperty.call(ProductStatus, key)) {
29
+ if (ProductStatus[key as keyof typeof ProductStatus] === value) {
30
+ return true;
31
+ }
32
+ }
33
+ }
34
+ return false;
35
+ }
36
+
37
+ export function ProductStatusFromJSON(json: any): ProductStatus {
38
+ return ProductStatusFromJSONTyped(json, false);
39
+ }
40
+
41
+ export function ProductStatusFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProductStatus {
42
+ return json as ProductStatus;
43
+ }
44
+
45
+ export function ProductStatusToJSON(value?: ProductStatus | null): any {
46
+ return value as any;
47
+ }
48
+
49
+ export function ProductStatusToJSONTyped(value: any, ignoreDiscriminator: boolean): ProductStatus {
50
+ return value as ProductStatus;
51
+ }
52
+
@@ -13,13 +13,6 @@
13
13
  */
14
14
 
15
15
  import { mapValues } from '../runtime';
16
- import type { AssetLiteResource } from './AssetLiteResource';
17
- import {
18
- AssetLiteResourceFromJSON,
19
- AssetLiteResourceFromJSONTyped,
20
- AssetLiteResourceToJSON,
21
- AssetLiteResourceToJSONTyped,
22
- } from './AssetLiteResource';
23
16
  import type { DescriptionResource } from './DescriptionResource';
24
17
  import {
25
18
  DescriptionResourceFromJSON,
@@ -27,6 +20,20 @@ import {
27
20
  DescriptionResourceToJSON,
28
21
  DescriptionResourceToJSONTyped,
29
22
  } from './DescriptionResource';
23
+ import type { AssetResource } from './AssetResource';
24
+ import {
25
+ AssetResourceFromJSON,
26
+ AssetResourceFromJSONTyped,
27
+ AssetResourceToJSON,
28
+ AssetResourceToJSONTyped,
29
+ } from './AssetResource';
30
+ import type { SEOResource } from './SEOResource';
31
+ import {
32
+ SEOResourceFromJSON,
33
+ SEOResourceFromJSONTyped,
34
+ SEOResourceToJSON,
35
+ SEOResourceToJSONTyped,
36
+ } from './SEOResource';
30
37
 
31
38
  /**
32
39
  *
@@ -54,10 +61,10 @@ export interface SupplierFrontendResource {
54
61
  slug: string;
55
62
  /**
56
63
  *
57
- * @type {AssetLiteResource}
64
+ * @type {AssetResource}
58
65
  * @memberof SupplierFrontendResource
59
66
  */
60
- thumbnail: AssetLiteResource | null;
67
+ thumbnail: AssetResource | null;
61
68
  /**
62
69
  *
63
70
  * @type {number}
@@ -66,16 +73,16 @@ export interface SupplierFrontendResource {
66
73
  supplierEta: number;
67
74
  /**
68
75
  *
69
- * @type {object}
76
+ * @type {SEOResource}
70
77
  * @memberof SupplierFrontendResource
71
78
  */
72
- seo: object;
79
+ seo: SEOResource | null;
73
80
  /**
74
81
  *
75
- * @type {DescriptionResource}
82
+ * @type {Array<DescriptionResource>}
76
83
  * @memberof SupplierFrontendResource
77
84
  */
78
- description: DescriptionResource | null;
85
+ descriptions: Array<DescriptionResource> | null;
79
86
  }
80
87
 
81
88
  /**
@@ -88,7 +95,7 @@ export function instanceOfSupplierFrontendResource(value: object): value is Supp
88
95
  if (!('thumbnail' in value) || value['thumbnail'] === undefined) return false;
89
96
  if (!('supplierEta' in value) || value['supplierEta'] === undefined) return false;
90
97
  if (!('seo' in value) || value['seo'] === undefined) return false;
91
- if (!('description' in value) || value['description'] === undefined) return false;
98
+ if (!('descriptions' in value) || value['descriptions'] === undefined) return false;
92
99
  return true;
93
100
  }
94
101
 
@@ -105,10 +112,10 @@ export function SupplierFrontendResourceFromJSONTyped(json: any, ignoreDiscrimin
105
112
  'id': json['id'],
106
113
  'name': json['name'],
107
114
  'slug': json['slug'],
108
- 'thumbnail': AssetLiteResourceFromJSON(json['thumbnail']),
115
+ 'thumbnail': AssetResourceFromJSON(json['thumbnail']),
109
116
  'supplierEta': json['supplierEta'],
110
- 'seo': json['seo'],
111
- 'description': DescriptionResourceFromJSON(json['description']),
117
+ 'seo': SEOResourceFromJSON(json['seo']),
118
+ 'descriptions': (json['descriptions'] == null ? null : (json['descriptions'] as Array<any>).map(DescriptionResourceFromJSON)),
112
119
  };
113
120
  }
114
121
 
@@ -126,10 +133,10 @@ export function SupplierFrontendResourceToJSONTyped(value?: SupplierFrontendReso
126
133
  'id': value['id'],
127
134
  'name': value['name'],
128
135
  'slug': value['slug'],
129
- 'thumbnail': AssetLiteResourceToJSON(value['thumbnail']),
136
+ 'thumbnail': AssetResourceToJSON(value['thumbnail']),
130
137
  'supplierEta': value['supplierEta'],
131
- 'seo': value['seo'],
132
- 'description': DescriptionResourceToJSON(value['description']),
138
+ 'seo': SEOResourceToJSON(value['seo']),
139
+ 'descriptions': (value['descriptions'] == null ? null : (value['descriptions'] as Array<any>).map(DescriptionResourceToJSON)),
133
140
  };
134
141
  }
135
142
 
@@ -34,10 +34,6 @@ export * from './CategoryAutomationConditionType';
34
34
  export * from './CategoryAutomationFieldType';
35
35
  export * from './CategoryAutomationRuleResource';
36
36
  export * from './CategoryAutomationRuleResourceArrayResponse';
37
- export * from './CategoryFrontendResource';
38
- export * from './CategoryFrontendResourceArrayResponse';
39
- export * from './CategoryWithChildrenFrontendResource';
40
- export * from './CategoryWithChildrenFrontendResourceArrayResponse';
41
37
  export * from './CouponDiscountType';
42
38
  export * from './DefinitionListResource';
43
39
  export * from './DefinitionListResourceArrayResponse';
@@ -116,7 +112,6 @@ export * from './PaginatedAttributeListResourceResponse';
116
112
  export * from './PaginatedAttributeLiteResourceResponse';
117
113
  export * from './PaginatedAttributeProductTypeRelationResourceResponse';
118
114
  export * from './PaginatedAttributeResourceResponse';
119
- export * from './PaginatedCategoryFrontendResourceResponse';
120
115
  export * from './PaginatedDefinitionListResourceResponse';
121
116
  export * from './PaginatedDefinitionResourceResponse';
122
117
  export * from './PaginatedDocumentResourceResponse';
@@ -158,7 +153,6 @@ export * from './PreviewAutomationRulesResource';
158
153
  export * from './PreviewAutomationRulesResourceArrayResponse';
159
154
  export * from './ProductAggregationResource';
160
155
  export * from './ProductAggregationResourceArrayResponse';
161
- export * from './ProductAvailability';
162
156
  export * from './ProductCategoryHierarchyResource';
163
157
  export * from './ProductCategoryHierarchyResourceArrayResponse';
164
158
  export * from './ProductCategoryListResource';
@@ -197,6 +191,7 @@ export * from './ProductSearchResponseResourcePriceInfo';
197
191
  export * from './ProductSearchResultResource';
198
192
  export * from './ProductSearchResultResourceArrayResponse';
199
193
  export * from './ProductSortBy';
194
+ export * from './ProductStatus';
200
195
  export * from './ProductTypeListResource';
201
196
  export * from './ProductTypeListResourceArrayResponse';
202
197
  export * from './ProductTypeLiteResource';
@@ -249,8 +244,6 @@ export * from './SupplierLiteResource';
249
244
  export * from './SupplierLiteResourceArrayResponse';
250
245
  export * from './SupplierResource';
251
246
  export * from './SupplierResourceArrayResponse';
252
- export * from './TagFrontendResource';
253
- export * from './TagFrontendResourceArrayResponse';
254
247
  export * from './TagListResource';
255
248
  export * from './TagListResourceArrayResponse';
256
249
  export * from './TagLiteResource';
@@ -1,70 +0,0 @@
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 { AssetLiteResource } from './AssetLiteResource';
13
- import type { DescriptionResource } from './DescriptionResource';
14
- /**
15
- *
16
- * @export
17
- * @interface CategoryFrontendResource
18
- */
19
- export interface CategoryFrontendResource {
20
- /**
21
- *
22
- * @type {number}
23
- * @memberof CategoryFrontendResource
24
- */
25
- id?: number | null;
26
- /**
27
- *
28
- * @type {string}
29
- * @memberof CategoryFrontendResource
30
- */
31
- name: string;
32
- /**
33
- *
34
- * @type {string}
35
- * @memberof CategoryFrontendResource
36
- */
37
- slug: string;
38
- /**
39
- *
40
- * @type {string}
41
- * @memberof CategoryFrontendResource
42
- */
43
- parentId?: string | null;
44
- /**
45
- *
46
- * @type {AssetLiteResource}
47
- * @memberof CategoryFrontendResource
48
- */
49
- thumbnail: AssetLiteResource | null;
50
- /**
51
- *
52
- * @type {object}
53
- * @memberof CategoryFrontendResource
54
- */
55
- seo: object;
56
- /**
57
- *
58
- * @type {Array<DescriptionResource>}
59
- * @memberof CategoryFrontendResource
60
- */
61
- descriptions: Array<DescriptionResource> | null;
62
- }
63
- /**
64
- * Check if a given object implements the CategoryFrontendResource interface.
65
- */
66
- export declare function instanceOfCategoryFrontendResource(value: object): value is CategoryFrontendResource;
67
- export declare function CategoryFrontendResourceFromJSON(json: any): CategoryFrontendResource;
68
- export declare function CategoryFrontendResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): CategoryFrontendResource;
69
- export declare function CategoryFrontendResourceToJSON(json: any): CategoryFrontendResource;
70
- export declare function CategoryFrontendResourceToJSONTyped(value?: CategoryFrontendResource | null, ignoreDiscriminator?: boolean): any;
@@ -1,73 +0,0 @@
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.instanceOfCategoryFrontendResource = instanceOfCategoryFrontendResource;
17
- exports.CategoryFrontendResourceFromJSON = CategoryFrontendResourceFromJSON;
18
- exports.CategoryFrontendResourceFromJSONTyped = CategoryFrontendResourceFromJSONTyped;
19
- exports.CategoryFrontendResourceToJSON = CategoryFrontendResourceToJSON;
20
- exports.CategoryFrontendResourceToJSONTyped = CategoryFrontendResourceToJSONTyped;
21
- var AssetLiteResource_1 = require("./AssetLiteResource");
22
- var DescriptionResource_1 = require("./DescriptionResource");
23
- /**
24
- * Check if a given object implements the CategoryFrontendResource interface.
25
- */
26
- function instanceOfCategoryFrontendResource(value) {
27
- if (!('name' in value) || value['name'] === undefined)
28
- return false;
29
- if (!('slug' in value) || value['slug'] === undefined)
30
- return false;
31
- if (!('thumbnail' in value) || value['thumbnail'] === undefined)
32
- return false;
33
- if (!('seo' in value) || value['seo'] === undefined)
34
- return false;
35
- if (!('descriptions' in value) || value['descriptions'] === undefined)
36
- return false;
37
- return true;
38
- }
39
- function CategoryFrontendResourceFromJSON(json) {
40
- return CategoryFrontendResourceFromJSONTyped(json, false);
41
- }
42
- function CategoryFrontendResourceFromJSONTyped(json, ignoreDiscriminator) {
43
- if (json == null) {
44
- return json;
45
- }
46
- return {
47
- 'id': json['id'] == null ? undefined : json['id'],
48
- 'name': json['name'],
49
- 'slug': json['slug'],
50
- 'parentId': json['parentId'] == null ? undefined : json['parentId'],
51
- 'thumbnail': (0, AssetLiteResource_1.AssetLiteResourceFromJSON)(json['thumbnail']),
52
- 'seo': json['seo'],
53
- 'descriptions': (json['descriptions'] == null ? null : json['descriptions'].map(DescriptionResource_1.DescriptionResourceFromJSON)),
54
- };
55
- }
56
- function CategoryFrontendResourceToJSON(json) {
57
- return CategoryFrontendResourceToJSONTyped(json, false);
58
- }
59
- function CategoryFrontendResourceToJSONTyped(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
- 'parentId': value['parentId'],
69
- 'thumbnail': (0, AssetLiteResource_1.AssetLiteResourceToJSON)(value['thumbnail']),
70
- 'seo': value['seo'],
71
- 'descriptions': (value['descriptions'] == null ? null : value['descriptions'].map(DescriptionResource_1.DescriptionResourceToJSON)),
72
- };
73
- }