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

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 (65) hide show
  1. package/.openapi-generator/FILES +10 -12
  2. package/README.md +7 -8
  3. package/dist/models/OverlayTemplateAssetFrontendResource.d.ts +2 -3
  4. package/dist/models/OverlayTemplateAssetFrontendResource.js +2 -3
  5. package/dist/models/OverlayTemplateAssetResource.d.ts +3 -3
  6. package/dist/models/OverlayTemplateAssetResource.js +3 -3
  7. package/dist/models/ProductCompareResource.d.ts +2 -2
  8. package/dist/models/ProductSearchResultResource.d.ts +6 -12
  9. package/dist/models/ProductSearchResultResource.js +4 -8
  10. package/dist/models/ProductStatus.d.ts +24 -0
  11. package/dist/models/ProductStatus.js +50 -0
  12. package/dist/models/SupplierFrontendResource.d.ts +8 -7
  13. package/dist/models/SupplierFrontendResource.js +9 -8
  14. package/dist/models/WishlistCheckResource.d.ts +32 -0
  15. package/dist/models/WishlistCheckResource.js +51 -0
  16. package/dist/models/WishlistCheckResourceArrayResponse.d.ts +33 -0
  17. package/dist/models/WishlistCheckResourceArrayResponse.js +50 -0
  18. package/dist/models/WishlistToggleResource.d.ts +38 -0
  19. package/dist/models/WishlistToggleResource.js +55 -0
  20. package/dist/models/WishlistToggleResourceArrayResponse.d.ts +33 -0
  21. package/dist/models/WishlistToggleResourceArrayResponse.js +50 -0
  22. package/dist/models/index.d.ts +5 -6
  23. package/dist/models/index.js +5 -6
  24. package/docs/OverlayTemplateAssetFrontendResource.md +1 -1
  25. package/docs/OverlayTemplateAssetResource.md +1 -1
  26. package/docs/ProductCompareResource.md +1 -1
  27. package/docs/ProductSearchResultResource.md +2 -4
  28. package/docs/{ProductAvailability.md → ProductStatus.md} +4 -4
  29. package/docs/SupplierFrontendResource.md +4 -4
  30. package/docs/{PaginatedCategoryFrontendResourceResponse.md → WishlistCheckResource.md} +6 -8
  31. package/docs/{CategoryFrontendResourceArrayResponse.md → WishlistCheckResourceArrayResponse.md} +5 -5
  32. package/docs/WishlistToggleResource.md +36 -0
  33. package/docs/{CategoryWithChildrenFrontendResourceArrayResponse.md → WishlistToggleResourceArrayResponse.md} +5 -5
  34. package/package.json +1 -1
  35. package/src/models/OverlayTemplateAssetFrontendResource.ts +4 -12
  36. package/src/models/OverlayTemplateAssetResource.ts +10 -10
  37. package/src/models/ProductCompareResource.ts +2 -2
  38. package/src/models/ProductSearchResultResource.ts +9 -18
  39. package/src/models/ProductStatus.ts +52 -0
  40. package/src/models/SupplierFrontendResource.ts +27 -20
  41. package/src/models/WishlistCheckResource.ts +66 -0
  42. package/src/models/WishlistCheckResourceArrayResponse.ts +73 -0
  43. package/src/models/WishlistToggleResource.ts +75 -0
  44. package/src/models/WishlistToggleResourceArrayResponse.ts +73 -0
  45. package/src/models/index.ts +5 -6
  46. package/dist/models/CategoryFrontendResource.d.ts +0 -70
  47. package/dist/models/CategoryFrontendResource.js +0 -73
  48. package/dist/models/CategoryFrontendResourceArrayResponse.d.ts +0 -33
  49. package/dist/models/CategoryFrontendResourceArrayResponse.js +0 -50
  50. package/dist/models/CategoryWithChildrenFrontendResource.d.ts +0 -39
  51. package/dist/models/CategoryWithChildrenFrontendResource.js +0 -56
  52. package/dist/models/CategoryWithChildrenFrontendResourceArrayResponse.d.ts +0 -33
  53. package/dist/models/CategoryWithChildrenFrontendResourceArrayResponse.js +0 -50
  54. package/dist/models/PaginatedCategoryFrontendResourceResponse.d.ts +0 -40
  55. package/dist/models/PaginatedCategoryFrontendResourceResponse.js +0 -57
  56. package/dist/models/ProductAvailability.d.ts +0 -26
  57. package/dist/models/ProductAvailability.js +0 -52
  58. package/docs/CategoryFrontendResource.md +0 -46
  59. package/docs/CategoryWithChildrenFrontendResource.md +0 -36
  60. package/src/models/CategoryFrontendResource.ts +0 -133
  61. package/src/models/CategoryFrontendResourceArrayResponse.ts +0 -73
  62. package/src/models/CategoryWithChildrenFrontendResource.ts +0 -83
  63. package/src/models/CategoryWithChildrenFrontendResourceArrayResponse.ts +0 -73
  64. package/src/models/PaginatedCategoryFrontendResourceResponse.ts +0 -90
  65. package/src/models/ProductAvailability.ts +0 -54
@@ -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
 
@@ -0,0 +1,66 @@
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
+ import { mapValues } from '../runtime';
16
+ /**
17
+ *
18
+ * @export
19
+ * @interface WishlistCheckResource
20
+ */
21
+ export interface WishlistCheckResource {
22
+ /**
23
+ *
24
+ * @type {boolean}
25
+ * @memberof WishlistCheckResource
26
+ */
27
+ inWishlist: boolean;
28
+ }
29
+
30
+ /**
31
+ * Check if a given object implements the WishlistCheckResource interface.
32
+ */
33
+ export function instanceOfWishlistCheckResource(value: object): value is WishlistCheckResource {
34
+ if (!('inWishlist' in value) || value['inWishlist'] === undefined) return false;
35
+ return true;
36
+ }
37
+
38
+ export function WishlistCheckResourceFromJSON(json: any): WishlistCheckResource {
39
+ return WishlistCheckResourceFromJSONTyped(json, false);
40
+ }
41
+
42
+ export function WishlistCheckResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): WishlistCheckResource {
43
+ if (json == null) {
44
+ return json;
45
+ }
46
+ return {
47
+
48
+ 'inWishlist': json['in_wishlist'],
49
+ };
50
+ }
51
+
52
+ export function WishlistCheckResourceToJSON(json: any): WishlistCheckResource {
53
+ return WishlistCheckResourceToJSONTyped(json, false);
54
+ }
55
+
56
+ export function WishlistCheckResourceToJSONTyped(value?: WishlistCheckResource | null, ignoreDiscriminator: boolean = false): any {
57
+ if (value == null) {
58
+ return value;
59
+ }
60
+
61
+ return {
62
+
63
+ 'in_wishlist': value['inWishlist'],
64
+ };
65
+ }
66
+
@@ -0,0 +1,73 @@
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
+ import { mapValues } from '../runtime';
16
+ import type { WishlistCheckResource } from './WishlistCheckResource';
17
+ import {
18
+ WishlistCheckResourceFromJSON,
19
+ WishlistCheckResourceFromJSONTyped,
20
+ WishlistCheckResourceToJSON,
21
+ WishlistCheckResourceToJSONTyped,
22
+ } from './WishlistCheckResource';
23
+
24
+ /**
25
+ *
26
+ * @export
27
+ * @interface WishlistCheckResourceArrayResponse
28
+ */
29
+ export interface WishlistCheckResourceArrayResponse {
30
+ /**
31
+ *
32
+ * @type {Array<WishlistCheckResource>}
33
+ * @memberof WishlistCheckResourceArrayResponse
34
+ */
35
+ data?: Array<WishlistCheckResource>;
36
+ }
37
+
38
+ /**
39
+ * Check if a given object implements the WishlistCheckResourceArrayResponse interface.
40
+ */
41
+ export function instanceOfWishlistCheckResourceArrayResponse(value: object): value is WishlistCheckResourceArrayResponse {
42
+ return true;
43
+ }
44
+
45
+ export function WishlistCheckResourceArrayResponseFromJSON(json: any): WishlistCheckResourceArrayResponse {
46
+ return WishlistCheckResourceArrayResponseFromJSONTyped(json, false);
47
+ }
48
+
49
+ export function WishlistCheckResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): WishlistCheckResourceArrayResponse {
50
+ if (json == null) {
51
+ return json;
52
+ }
53
+ return {
54
+
55
+ 'data': json['data'] == null ? undefined : ((json['data'] as Array<any>).map(WishlistCheckResourceFromJSON)),
56
+ };
57
+ }
58
+
59
+ export function WishlistCheckResourceArrayResponseToJSON(json: any): WishlistCheckResourceArrayResponse {
60
+ return WishlistCheckResourceArrayResponseToJSONTyped(json, false);
61
+ }
62
+
63
+ export function WishlistCheckResourceArrayResponseToJSONTyped(value?: WishlistCheckResourceArrayResponse | null, ignoreDiscriminator: boolean = false): any {
64
+ if (value == null) {
65
+ return value;
66
+ }
67
+
68
+ return {
69
+
70
+ 'data': value['data'] == null ? undefined : ((value['data'] as Array<any>).map(WishlistCheckResourceToJSON)),
71
+ };
72
+ }
73
+
@@ -0,0 +1,75 @@
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
+ import { mapValues } from '../runtime';
16
+ /**
17
+ *
18
+ * @export
19
+ * @interface WishlistToggleResource
20
+ */
21
+ export interface WishlistToggleResource {
22
+ /**
23
+ *
24
+ * @type {string}
25
+ * @memberof WishlistToggleResource
26
+ */
27
+ action: string;
28
+ /**
29
+ *
30
+ * @type {Array<number>}
31
+ * @memberof WishlistToggleResource
32
+ */
33
+ product: Array<number>;
34
+ }
35
+
36
+ /**
37
+ * Check if a given object implements the WishlistToggleResource interface.
38
+ */
39
+ export function instanceOfWishlistToggleResource(value: object): value is WishlistToggleResource {
40
+ if (!('action' in value) || value['action'] === undefined) return false;
41
+ if (!('product' in value) || value['product'] === undefined) return false;
42
+ return true;
43
+ }
44
+
45
+ export function WishlistToggleResourceFromJSON(json: any): WishlistToggleResource {
46
+ return WishlistToggleResourceFromJSONTyped(json, false);
47
+ }
48
+
49
+ export function WishlistToggleResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): WishlistToggleResource {
50
+ if (json == null) {
51
+ return json;
52
+ }
53
+ return {
54
+
55
+ 'action': json['action'],
56
+ 'product': json['product'],
57
+ };
58
+ }
59
+
60
+ export function WishlistToggleResourceToJSON(json: any): WishlistToggleResource {
61
+ return WishlistToggleResourceToJSONTyped(json, false);
62
+ }
63
+
64
+ export function WishlistToggleResourceToJSONTyped(value?: WishlistToggleResource | null, ignoreDiscriminator: boolean = false): any {
65
+ if (value == null) {
66
+ return value;
67
+ }
68
+
69
+ return {
70
+
71
+ 'action': value['action'],
72
+ 'product': value['product'],
73
+ };
74
+ }
75
+
@@ -0,0 +1,73 @@
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
+ import { mapValues } from '../runtime';
16
+ import type { WishlistToggleResource } from './WishlistToggleResource';
17
+ import {
18
+ WishlistToggleResourceFromJSON,
19
+ WishlistToggleResourceFromJSONTyped,
20
+ WishlistToggleResourceToJSON,
21
+ WishlistToggleResourceToJSONTyped,
22
+ } from './WishlistToggleResource';
23
+
24
+ /**
25
+ *
26
+ * @export
27
+ * @interface WishlistToggleResourceArrayResponse
28
+ */
29
+ export interface WishlistToggleResourceArrayResponse {
30
+ /**
31
+ *
32
+ * @type {Array<WishlistToggleResource>}
33
+ * @memberof WishlistToggleResourceArrayResponse
34
+ */
35
+ data?: Array<WishlistToggleResource>;
36
+ }
37
+
38
+ /**
39
+ * Check if a given object implements the WishlistToggleResourceArrayResponse interface.
40
+ */
41
+ export function instanceOfWishlistToggleResourceArrayResponse(value: object): value is WishlistToggleResourceArrayResponse {
42
+ return true;
43
+ }
44
+
45
+ export function WishlistToggleResourceArrayResponseFromJSON(json: any): WishlistToggleResourceArrayResponse {
46
+ return WishlistToggleResourceArrayResponseFromJSONTyped(json, false);
47
+ }
48
+
49
+ export function WishlistToggleResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): WishlistToggleResourceArrayResponse {
50
+ if (json == null) {
51
+ return json;
52
+ }
53
+ return {
54
+
55
+ 'data': json['data'] == null ? undefined : ((json['data'] as Array<any>).map(WishlistToggleResourceFromJSON)),
56
+ };
57
+ }
58
+
59
+ export function WishlistToggleResourceArrayResponseToJSON(json: any): WishlistToggleResourceArrayResponse {
60
+ return WishlistToggleResourceArrayResponseToJSONTyped(json, false);
61
+ }
62
+
63
+ export function WishlistToggleResourceArrayResponseToJSONTyped(value?: WishlistToggleResourceArrayResponse | null, ignoreDiscriminator: boolean = false): any {
64
+ if (value == null) {
65
+ return value;
66
+ }
67
+
68
+ return {
69
+
70
+ 'data': value['data'] == null ? undefined : ((value['data'] as Array<any>).map(WishlistToggleResourceToJSON)),
71
+ };
72
+ }
73
+
@@ -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 './DescriptionResource';
43
39
  export * from './DescriptionResourceArrayResponse';
@@ -110,7 +106,6 @@ export * from './PaginatedAttributeListResourceResponse';
110
106
  export * from './PaginatedAttributeLiteResourceResponse';
111
107
  export * from './PaginatedAttributeProductTypeRelationResourceResponse';
112
108
  export * from './PaginatedAttributeResourceResponse';
113
- export * from './PaginatedCategoryFrontendResourceResponse';
114
109
  export * from './PaginatedDocumentResourceResponse';
115
110
  export * from './PaginatedExternalApiLogListResourceResponse';
116
111
  export * from './PaginatedExternalApiLogResourceResponse';
@@ -150,7 +145,6 @@ export * from './PreviewAutomationRulesResource';
150
145
  export * from './PreviewAutomationRulesResourceArrayResponse';
151
146
  export * from './ProductAggregationResource';
152
147
  export * from './ProductAggregationResourceArrayResponse';
153
- export * from './ProductAvailability';
154
148
  export * from './ProductCategoryHierarchyResource';
155
149
  export * from './ProductCategoryHierarchyResourceArrayResponse';
156
150
  export * from './ProductCategoryListResource';
@@ -189,6 +183,7 @@ export * from './ProductSearchResponseResourcePriceInfo';
189
183
  export * from './ProductSearchResultResource';
190
184
  export * from './ProductSearchResultResourceArrayResponse';
191
185
  export * from './ProductSortBy';
186
+ export * from './ProductStatus';
192
187
  export * from './ProductTypeListResource';
193
188
  export * from './ProductTypeListResourceArrayResponse';
194
189
  export * from './ProductTypeLiteResource';
@@ -265,3 +260,7 @@ export * from './UpdateSiteNotificationRequest';
265
260
  export * from './UpdateSiteRequest';
266
261
  export * from './UpdateSupplierRequest';
267
262
  export * from './UpdateTagRequest';
263
+ export * from './WishlistCheckResource';
264
+ export * from './WishlistCheckResourceArrayResponse';
265
+ export * from './WishlistToggleResource';
266
+ export * from './WishlistToggleResourceArrayResponse';