@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.
- package/.openapi-generator/FILES +12 -10
- package/README.md +8 -7
- package/dist/models/CategoryFrontendResource.d.ts +70 -0
- package/dist/models/CategoryFrontendResource.js +73 -0
- package/dist/models/CategoryFrontendResourceArrayResponse.d.ts +33 -0
- package/dist/models/CategoryFrontendResourceArrayResponse.js +50 -0
- package/dist/models/CategoryWithChildrenFrontendResource.d.ts +39 -0
- package/dist/models/CategoryWithChildrenFrontendResource.js +56 -0
- package/dist/models/CategoryWithChildrenFrontendResourceArrayResponse.d.ts +33 -0
- package/dist/models/CategoryWithChildrenFrontendResourceArrayResponse.js +50 -0
- package/dist/models/ExternalApiLogResource.d.ts +1 -1
- package/dist/models/ExternalApiLogResource.js +3 -1
- package/dist/models/OverlayTemplateAssetFrontendResource.d.ts +3 -2
- package/dist/models/OverlayTemplateAssetFrontendResource.js +3 -2
- package/dist/models/OverlayTemplateAssetResource.d.ts +3 -3
- package/dist/models/OverlayTemplateAssetResource.js +3 -3
- package/dist/models/PaginatedCategoryFrontendResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedCategoryFrontendResourceResponse.js +57 -0
- package/dist/models/ProductAvailability.d.ts +26 -0
- package/dist/models/ProductAvailability.js +52 -0
- package/dist/models/ProductCompareResource.d.ts +2 -2
- package/dist/models/ProductSearchResultResource.d.ts +12 -6
- package/dist/models/ProductSearchResultResource.js +8 -4
- package/dist/models/SupplierFrontendResource.d.ts +7 -8
- package/dist/models/SupplierFrontendResource.js +8 -9
- package/dist/models/index.d.ts +6 -5
- package/dist/models/index.js +6 -5
- package/docs/CategoryFrontendResource.md +46 -0
- package/docs/{WishlistToggleResourceArrayResponse.md → CategoryFrontendResourceArrayResponse.md} +5 -5
- package/docs/{WishlistToggleResource.md → CategoryWithChildrenFrontendResource.md} +8 -8
- package/docs/{WishlistCheckResourceArrayResponse.md → CategoryWithChildrenFrontendResourceArrayResponse.md} +5 -5
- package/docs/OverlayTemplateAssetFrontendResource.md +1 -1
- package/docs/OverlayTemplateAssetResource.md +1 -1
- package/docs/{WishlistCheckResource.md → PaginatedCategoryFrontendResourceResponse.md} +8 -6
- package/docs/{ProductStatus.md → ProductAvailability.md} +4 -4
- package/docs/ProductCompareResource.md +1 -1
- package/docs/ProductSearchResultResource.md +4 -2
- package/docs/SupplierFrontendResource.md +4 -4
- package/package.json +1 -1
- package/src/models/CategoryFrontendResource.ts +133 -0
- package/src/models/CategoryFrontendResourceArrayResponse.ts +73 -0
- package/src/models/CategoryWithChildrenFrontendResource.ts +83 -0
- package/src/models/CategoryWithChildrenFrontendResourceArrayResponse.ts +73 -0
- package/src/models/ExternalApiLogResource.ts +3 -2
- package/src/models/OverlayTemplateAssetFrontendResource.ts +12 -4
- package/src/models/OverlayTemplateAssetResource.ts +10 -10
- package/src/models/PaginatedCategoryFrontendResourceResponse.ts +90 -0
- package/src/models/ProductAvailability.ts +54 -0
- package/src/models/ProductCompareResource.ts +2 -2
- package/src/models/ProductSearchResultResource.ts +18 -9
- package/src/models/SupplierFrontendResource.ts +20 -27
- package/src/models/index.ts +6 -5
- package/dist/models/ProductStatus.d.ts +0 -24
- package/dist/models/ProductStatus.js +0 -50
- package/dist/models/WishlistCheckResource.d.ts +0 -32
- package/dist/models/WishlistCheckResource.js +0 -51
- package/dist/models/WishlistCheckResourceArrayResponse.d.ts +0 -33
- package/dist/models/WishlistCheckResourceArrayResponse.js +0 -50
- package/dist/models/WishlistToggleResource.d.ts +0 -38
- package/dist/models/WishlistToggleResource.js +0 -55
- package/dist/models/WishlistToggleResourceArrayResponse.d.ts +0 -33
- package/dist/models/WishlistToggleResourceArrayResponse.js +0 -50
- package/src/models/ProductStatus.ts +0 -52
- package/src/models/WishlistCheckResource.ts +0 -66
- package/src/models/WishlistCheckResourceArrayResponse.ts +0 -73
- package/src/models/WishlistToggleResource.ts +0 -75
- package/src/models/WishlistToggleResourceArrayResponse.ts +0 -73
|
@@ -0,0 +1,90 @@
|
|
|
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 { PagingMetadata } from './PagingMetadata';
|
|
17
|
+
import {
|
|
18
|
+
PagingMetadataFromJSON,
|
|
19
|
+
PagingMetadataFromJSONTyped,
|
|
20
|
+
PagingMetadataToJSON,
|
|
21
|
+
PagingMetadataToJSONTyped,
|
|
22
|
+
} from './PagingMetadata';
|
|
23
|
+
import type { CategoryFrontendResource } from './CategoryFrontendResource';
|
|
24
|
+
import {
|
|
25
|
+
CategoryFrontendResourceFromJSON,
|
|
26
|
+
CategoryFrontendResourceFromJSONTyped,
|
|
27
|
+
CategoryFrontendResourceToJSON,
|
|
28
|
+
CategoryFrontendResourceToJSONTyped,
|
|
29
|
+
} from './CategoryFrontendResource';
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @export
|
|
34
|
+
* @interface PaginatedCategoryFrontendResourceResponse
|
|
35
|
+
*/
|
|
36
|
+
export interface PaginatedCategoryFrontendResourceResponse {
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {Array<CategoryFrontendResource>}
|
|
40
|
+
* @memberof PaginatedCategoryFrontendResourceResponse
|
|
41
|
+
*/
|
|
42
|
+
data: Array<CategoryFrontendResource>;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {PagingMetadata}
|
|
46
|
+
* @memberof PaginatedCategoryFrontendResourceResponse
|
|
47
|
+
*/
|
|
48
|
+
meta: PagingMetadata;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
/**
|
|
52
|
+
* Check if a given object implements the PaginatedCategoryFrontendResourceResponse interface.
|
|
53
|
+
*/
|
|
54
|
+
export function instanceOfPaginatedCategoryFrontendResourceResponse(value: object): value is PaginatedCategoryFrontendResourceResponse {
|
|
55
|
+
if (!('data' in value) || value['data'] === undefined) return false;
|
|
56
|
+
if (!('meta' in value) || value['meta'] === undefined) return false;
|
|
57
|
+
return true;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
export function PaginatedCategoryFrontendResourceResponseFromJSON(json: any): PaginatedCategoryFrontendResourceResponse {
|
|
61
|
+
return PaginatedCategoryFrontendResourceResponseFromJSONTyped(json, false);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
export function PaginatedCategoryFrontendResourceResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginatedCategoryFrontendResourceResponse {
|
|
65
|
+
if (json == null) {
|
|
66
|
+
return json;
|
|
67
|
+
}
|
|
68
|
+
return {
|
|
69
|
+
|
|
70
|
+
'data': ((json['data'] as Array<any>).map(CategoryFrontendResourceFromJSON)),
|
|
71
|
+
'meta': PagingMetadataFromJSON(json['meta']),
|
|
72
|
+
};
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
export function PaginatedCategoryFrontendResourceResponseToJSON(json: any): PaginatedCategoryFrontendResourceResponse {
|
|
76
|
+
return PaginatedCategoryFrontendResourceResponseToJSONTyped(json, false);
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
export function PaginatedCategoryFrontendResourceResponseToJSONTyped(value?: PaginatedCategoryFrontendResourceResponse | null, ignoreDiscriminator: boolean = false): any {
|
|
80
|
+
if (value == null) {
|
|
81
|
+
return value;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
return {
|
|
85
|
+
|
|
86
|
+
'data': ((value['data'] as Array<any>).map(CategoryFrontendResourceToJSON)),
|
|
87
|
+
'meta': PagingMetadataToJSON(value['meta']),
|
|
88
|
+
};
|
|
89
|
+
}
|
|
90
|
+
|
|
@@ -0,0 +1,54 @@
|
|
|
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 ProductAvailability = {
|
|
21
|
+
InStock: 'in_stock',
|
|
22
|
+
OutOfStock: 'out_of_stock',
|
|
23
|
+
Preorder: 'preorder'
|
|
24
|
+
} as const;
|
|
25
|
+
export type ProductAvailability = typeof ProductAvailability[keyof typeof ProductAvailability];
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
export function instanceOfProductAvailability(value: any): boolean {
|
|
29
|
+
for (const key in ProductAvailability) {
|
|
30
|
+
if (Object.prototype.hasOwnProperty.call(ProductAvailability, key)) {
|
|
31
|
+
if (ProductAvailability[key as keyof typeof ProductAvailability] === value) {
|
|
32
|
+
return true;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
return false;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
export function ProductAvailabilityFromJSON(json: any): ProductAvailability {
|
|
40
|
+
return ProductAvailabilityFromJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
export function ProductAvailabilityFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProductAvailability {
|
|
44
|
+
return json as ProductAvailability;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
export function ProductAvailabilityToJSON(value?: ProductAvailability | null): any {
|
|
48
|
+
return value as any;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
export function ProductAvailabilityToJSONTyped(value: any, ignoreDiscriminator: boolean): ProductAvailability {
|
|
52
|
+
return value as ProductAvailability;
|
|
53
|
+
}
|
|
54
|
+
|
|
@@ -79,12 +79,6 @@ 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>;
|
|
88
82
|
/**
|
|
89
83
|
*
|
|
90
84
|
* @type {string}
|
|
@@ -115,6 +109,18 @@ export interface ProductSearchResultResource {
|
|
|
115
109
|
* @memberof ProductSearchResultResource
|
|
116
110
|
*/
|
|
117
111
|
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>;
|
|
118
124
|
}
|
|
119
125
|
|
|
120
126
|
/**
|
|
@@ -130,12 +136,13 @@ export function instanceOfProductSearchResultResource(value: object): value is P
|
|
|
130
136
|
if (!('salePrice' in value) || value['salePrice'] === undefined) return false;
|
|
131
137
|
if (!('thumbnail' in value) || value['thumbnail'] === undefined) return false;
|
|
132
138
|
if (!('labelDetails' in value) || value['labelDetails'] === undefined) return false;
|
|
133
|
-
if (!('categories' in value) || value['categories'] === undefined) return false;
|
|
134
139
|
if (!('supplierName' in value) || value['supplierName'] === undefined) return false;
|
|
135
140
|
if (!('supplierLogo' in value) || value['supplierLogo'] === undefined) return false;
|
|
136
141
|
if (!('supplierId' in value) || value['supplierId'] === undefined) return false;
|
|
137
142
|
if (!('availability' in value) || value['availability'] === undefined) return false;
|
|
138
143
|
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;
|
|
139
146
|
return true;
|
|
140
147
|
}
|
|
141
148
|
|
|
@@ -159,12 +166,13 @@ export function ProductSearchResultResourceFromJSONTyped(json: any, ignoreDiscri
|
|
|
159
166
|
'thumbnail': json['thumbnail'],
|
|
160
167
|
'averageRating': json['averageRating'] == null ? undefined : json['averageRating'],
|
|
161
168
|
'labelDetails': json['labelDetails'],
|
|
162
|
-
'categories': json['categories'],
|
|
163
169
|
'supplierName': json['supplierName'],
|
|
164
170
|
'supplierLogo': json['supplierLogo'],
|
|
165
171
|
'supplierId': json['supplierId'],
|
|
166
172
|
'availability': json['availability'],
|
|
167
173
|
'wishlisted': json['wishlisted'],
|
|
174
|
+
'variationCount': json['variationCount'],
|
|
175
|
+
'overlayAssets': json['overlayAssets'],
|
|
168
176
|
};
|
|
169
177
|
}
|
|
170
178
|
|
|
@@ -189,12 +197,13 @@ export function ProductSearchResultResourceToJSONTyped(value?: ProductSearchResu
|
|
|
189
197
|
'thumbnail': value['thumbnail'],
|
|
190
198
|
'averageRating': value['averageRating'],
|
|
191
199
|
'labelDetails': value['labelDetails'],
|
|
192
|
-
'categories': value['categories'],
|
|
193
200
|
'supplierName': value['supplierName'],
|
|
194
201
|
'supplierLogo': value['supplierLogo'],
|
|
195
202
|
'supplierId': value['supplierId'],
|
|
196
203
|
'availability': value['availability'],
|
|
197
204
|
'wishlisted': value['wishlisted'],
|
|
205
|
+
'variationCount': value['variationCount'],
|
|
206
|
+
'overlayAssets': value['overlayAssets'],
|
|
198
207
|
};
|
|
199
208
|
}
|
|
200
209
|
|
|
@@ -13,6 +13,13 @@
|
|
|
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';
|
|
16
23
|
import type { DescriptionResource } from './DescriptionResource';
|
|
17
24
|
import {
|
|
18
25
|
DescriptionResourceFromJSON,
|
|
@@ -20,20 +27,6 @@ import {
|
|
|
20
27
|
DescriptionResourceToJSON,
|
|
21
28
|
DescriptionResourceToJSONTyped,
|
|
22
29
|
} 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';
|
|
37
30
|
|
|
38
31
|
/**
|
|
39
32
|
*
|
|
@@ -61,10 +54,10 @@ export interface SupplierFrontendResource {
|
|
|
61
54
|
slug: string;
|
|
62
55
|
/**
|
|
63
56
|
*
|
|
64
|
-
* @type {
|
|
57
|
+
* @type {AssetLiteResource}
|
|
65
58
|
* @memberof SupplierFrontendResource
|
|
66
59
|
*/
|
|
67
|
-
thumbnail:
|
|
60
|
+
thumbnail: AssetLiteResource | null;
|
|
68
61
|
/**
|
|
69
62
|
*
|
|
70
63
|
* @type {number}
|
|
@@ -73,16 +66,16 @@ export interface SupplierFrontendResource {
|
|
|
73
66
|
supplierEta: number;
|
|
74
67
|
/**
|
|
75
68
|
*
|
|
76
|
-
* @type {
|
|
69
|
+
* @type {object}
|
|
77
70
|
* @memberof SupplierFrontendResource
|
|
78
71
|
*/
|
|
79
|
-
seo:
|
|
72
|
+
seo: object;
|
|
80
73
|
/**
|
|
81
74
|
*
|
|
82
|
-
* @type {
|
|
75
|
+
* @type {DescriptionResource}
|
|
83
76
|
* @memberof SupplierFrontendResource
|
|
84
77
|
*/
|
|
85
|
-
|
|
78
|
+
description: DescriptionResource | null;
|
|
86
79
|
}
|
|
87
80
|
|
|
88
81
|
/**
|
|
@@ -95,7 +88,7 @@ export function instanceOfSupplierFrontendResource(value: object): value is Supp
|
|
|
95
88
|
if (!('thumbnail' in value) || value['thumbnail'] === undefined) return false;
|
|
96
89
|
if (!('supplierEta' in value) || value['supplierEta'] === undefined) return false;
|
|
97
90
|
if (!('seo' in value) || value['seo'] === undefined) return false;
|
|
98
|
-
if (!('
|
|
91
|
+
if (!('description' in value) || value['description'] === undefined) return false;
|
|
99
92
|
return true;
|
|
100
93
|
}
|
|
101
94
|
|
|
@@ -112,10 +105,10 @@ export function SupplierFrontendResourceFromJSONTyped(json: any, ignoreDiscrimin
|
|
|
112
105
|
'id': json['id'],
|
|
113
106
|
'name': json['name'],
|
|
114
107
|
'slug': json['slug'],
|
|
115
|
-
'thumbnail':
|
|
108
|
+
'thumbnail': AssetLiteResourceFromJSON(json['thumbnail']),
|
|
116
109
|
'supplierEta': json['supplierEta'],
|
|
117
|
-
'seo':
|
|
118
|
-
'
|
|
110
|
+
'seo': json['seo'],
|
|
111
|
+
'description': DescriptionResourceFromJSON(json['description']),
|
|
119
112
|
};
|
|
120
113
|
}
|
|
121
114
|
|
|
@@ -133,10 +126,10 @@ export function SupplierFrontendResourceToJSONTyped(value?: SupplierFrontendReso
|
|
|
133
126
|
'id': value['id'],
|
|
134
127
|
'name': value['name'],
|
|
135
128
|
'slug': value['slug'],
|
|
136
|
-
'thumbnail':
|
|
129
|
+
'thumbnail': AssetLiteResourceToJSON(value['thumbnail']),
|
|
137
130
|
'supplierEta': value['supplierEta'],
|
|
138
|
-
'seo':
|
|
139
|
-
'
|
|
131
|
+
'seo': value['seo'],
|
|
132
|
+
'description': DescriptionResourceToJSON(value['description']),
|
|
140
133
|
};
|
|
141
134
|
}
|
|
142
135
|
|
package/src/models/index.ts
CHANGED
|
@@ -34,6 +34,10 @@ 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';
|
|
37
41
|
export * from './CouponDiscountType';
|
|
38
42
|
export * from './DescriptionResource';
|
|
39
43
|
export * from './DescriptionResourceArrayResponse';
|
|
@@ -106,6 +110,7 @@ export * from './PaginatedAttributeListResourceResponse';
|
|
|
106
110
|
export * from './PaginatedAttributeLiteResourceResponse';
|
|
107
111
|
export * from './PaginatedAttributeProductTypeRelationResourceResponse';
|
|
108
112
|
export * from './PaginatedAttributeResourceResponse';
|
|
113
|
+
export * from './PaginatedCategoryFrontendResourceResponse';
|
|
109
114
|
export * from './PaginatedDocumentResourceResponse';
|
|
110
115
|
export * from './PaginatedExternalApiLogListResourceResponse';
|
|
111
116
|
export * from './PaginatedExternalApiLogResourceResponse';
|
|
@@ -145,6 +150,7 @@ export * from './PreviewAutomationRulesResource';
|
|
|
145
150
|
export * from './PreviewAutomationRulesResourceArrayResponse';
|
|
146
151
|
export * from './ProductAggregationResource';
|
|
147
152
|
export * from './ProductAggregationResourceArrayResponse';
|
|
153
|
+
export * from './ProductAvailability';
|
|
148
154
|
export * from './ProductCategoryHierarchyResource';
|
|
149
155
|
export * from './ProductCategoryHierarchyResourceArrayResponse';
|
|
150
156
|
export * from './ProductCategoryListResource';
|
|
@@ -183,7 +189,6 @@ export * from './ProductSearchResponseResourcePriceInfo';
|
|
|
183
189
|
export * from './ProductSearchResultResource';
|
|
184
190
|
export * from './ProductSearchResultResourceArrayResponse';
|
|
185
191
|
export * from './ProductSortBy';
|
|
186
|
-
export * from './ProductStatus';
|
|
187
192
|
export * from './ProductTypeListResource';
|
|
188
193
|
export * from './ProductTypeListResourceArrayResponse';
|
|
189
194
|
export * from './ProductTypeLiteResource';
|
|
@@ -260,7 +265,3 @@ export * from './UpdateSiteNotificationRequest';
|
|
|
260
265
|
export * from './UpdateSiteRequest';
|
|
261
266
|
export * from './UpdateSupplierRequest';
|
|
262
267
|
export * from './UpdateTagRequest';
|
|
263
|
-
export * from './WishlistCheckResource';
|
|
264
|
-
export * from './WishlistCheckResourceArrayResponse';
|
|
265
|
-
export * from './WishlistToggleResource';
|
|
266
|
-
export * from './WishlistToggleResourceArrayResponse';
|
|
@@ -1,24 +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
|
-
/**
|
|
13
|
-
*
|
|
14
|
-
* @export
|
|
15
|
-
*/
|
|
16
|
-
export declare const ProductStatus: {
|
|
17
|
-
readonly InStock: "in_stock";
|
|
18
|
-
};
|
|
19
|
-
export type ProductStatus = typeof ProductStatus[keyof typeof ProductStatus];
|
|
20
|
-
export declare function instanceOfProductStatus(value: any): boolean;
|
|
21
|
-
export declare function ProductStatusFromJSON(json: any): ProductStatus;
|
|
22
|
-
export declare function ProductStatusFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProductStatus;
|
|
23
|
-
export declare function ProductStatusToJSON(value?: ProductStatus | null): any;
|
|
24
|
-
export declare function ProductStatusToJSONTyped(value: any, ignoreDiscriminator: boolean): ProductStatus;
|
|
@@ -1,50 +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.ProductStatus = void 0;
|
|
17
|
-
exports.instanceOfProductStatus = instanceOfProductStatus;
|
|
18
|
-
exports.ProductStatusFromJSON = ProductStatusFromJSON;
|
|
19
|
-
exports.ProductStatusFromJSONTyped = ProductStatusFromJSONTyped;
|
|
20
|
-
exports.ProductStatusToJSON = ProductStatusToJSON;
|
|
21
|
-
exports.ProductStatusToJSONTyped = ProductStatusToJSONTyped;
|
|
22
|
-
/**
|
|
23
|
-
*
|
|
24
|
-
* @export
|
|
25
|
-
*/
|
|
26
|
-
exports.ProductStatus = {
|
|
27
|
-
InStock: 'in_stock'
|
|
28
|
-
};
|
|
29
|
-
function instanceOfProductStatus(value) {
|
|
30
|
-
for (var key in exports.ProductStatus) {
|
|
31
|
-
if (Object.prototype.hasOwnProperty.call(exports.ProductStatus, key)) {
|
|
32
|
-
if (exports.ProductStatus[key] === value) {
|
|
33
|
-
return true;
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
return false;
|
|
38
|
-
}
|
|
39
|
-
function ProductStatusFromJSON(json) {
|
|
40
|
-
return ProductStatusFromJSONTyped(json, false);
|
|
41
|
-
}
|
|
42
|
-
function ProductStatusFromJSONTyped(json, ignoreDiscriminator) {
|
|
43
|
-
return json;
|
|
44
|
-
}
|
|
45
|
-
function ProductStatusToJSON(value) {
|
|
46
|
-
return value;
|
|
47
|
-
}
|
|
48
|
-
function ProductStatusToJSONTyped(value, ignoreDiscriminator) {
|
|
49
|
-
return value;
|
|
50
|
-
}
|
|
@@ -1,32 +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
|
-
/**
|
|
13
|
-
*
|
|
14
|
-
* @export
|
|
15
|
-
* @interface WishlistCheckResource
|
|
16
|
-
*/
|
|
17
|
-
export interface WishlistCheckResource {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {boolean}
|
|
21
|
-
* @memberof WishlistCheckResource
|
|
22
|
-
*/
|
|
23
|
-
inWishlist: boolean;
|
|
24
|
-
}
|
|
25
|
-
/**
|
|
26
|
-
* Check if a given object implements the WishlistCheckResource interface.
|
|
27
|
-
*/
|
|
28
|
-
export declare function instanceOfWishlistCheckResource(value: object): value is WishlistCheckResource;
|
|
29
|
-
export declare function WishlistCheckResourceFromJSON(json: any): WishlistCheckResource;
|
|
30
|
-
export declare function WishlistCheckResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): WishlistCheckResource;
|
|
31
|
-
export declare function WishlistCheckResourceToJSON(json: any): WishlistCheckResource;
|
|
32
|
-
export declare function WishlistCheckResourceToJSONTyped(value?: WishlistCheckResource | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,51 +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.instanceOfWishlistCheckResource = instanceOfWishlistCheckResource;
|
|
17
|
-
exports.WishlistCheckResourceFromJSON = WishlistCheckResourceFromJSON;
|
|
18
|
-
exports.WishlistCheckResourceFromJSONTyped = WishlistCheckResourceFromJSONTyped;
|
|
19
|
-
exports.WishlistCheckResourceToJSON = WishlistCheckResourceToJSON;
|
|
20
|
-
exports.WishlistCheckResourceToJSONTyped = WishlistCheckResourceToJSONTyped;
|
|
21
|
-
/**
|
|
22
|
-
* Check if a given object implements the WishlistCheckResource interface.
|
|
23
|
-
*/
|
|
24
|
-
function instanceOfWishlistCheckResource(value) {
|
|
25
|
-
if (!('inWishlist' in value) || value['inWishlist'] === undefined)
|
|
26
|
-
return false;
|
|
27
|
-
return true;
|
|
28
|
-
}
|
|
29
|
-
function WishlistCheckResourceFromJSON(json) {
|
|
30
|
-
return WishlistCheckResourceFromJSONTyped(json, false);
|
|
31
|
-
}
|
|
32
|
-
function WishlistCheckResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
-
if (json == null) {
|
|
34
|
-
return json;
|
|
35
|
-
}
|
|
36
|
-
return {
|
|
37
|
-
'inWishlist': json['in_wishlist'],
|
|
38
|
-
};
|
|
39
|
-
}
|
|
40
|
-
function WishlistCheckResourceToJSON(json) {
|
|
41
|
-
return WishlistCheckResourceToJSONTyped(json, false);
|
|
42
|
-
}
|
|
43
|
-
function WishlistCheckResourceToJSONTyped(value, ignoreDiscriminator) {
|
|
44
|
-
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
45
|
-
if (value == null) {
|
|
46
|
-
return value;
|
|
47
|
-
}
|
|
48
|
-
return {
|
|
49
|
-
'in_wishlist': value['inWishlist'],
|
|
50
|
-
};
|
|
51
|
-
}
|
|
@@ -1,33 +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 { WishlistCheckResource } from './WishlistCheckResource';
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface WishlistCheckResourceArrayResponse
|
|
17
|
-
*/
|
|
18
|
-
export interface WishlistCheckResourceArrayResponse {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {Array<WishlistCheckResource>}
|
|
22
|
-
* @memberof WishlistCheckResourceArrayResponse
|
|
23
|
-
*/
|
|
24
|
-
data?: Array<WishlistCheckResource>;
|
|
25
|
-
}
|
|
26
|
-
/**
|
|
27
|
-
* Check if a given object implements the WishlistCheckResourceArrayResponse interface.
|
|
28
|
-
*/
|
|
29
|
-
export declare function instanceOfWishlistCheckResourceArrayResponse(value: object): value is WishlistCheckResourceArrayResponse;
|
|
30
|
-
export declare function WishlistCheckResourceArrayResponseFromJSON(json: any): WishlistCheckResourceArrayResponse;
|
|
31
|
-
export declare function WishlistCheckResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): WishlistCheckResourceArrayResponse;
|
|
32
|
-
export declare function WishlistCheckResourceArrayResponseToJSON(json: any): WishlistCheckResourceArrayResponse;
|
|
33
|
-
export declare function WishlistCheckResourceArrayResponseToJSONTyped(value?: WishlistCheckResourceArrayResponse | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,50 +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.instanceOfWishlistCheckResourceArrayResponse = instanceOfWishlistCheckResourceArrayResponse;
|
|
17
|
-
exports.WishlistCheckResourceArrayResponseFromJSON = WishlistCheckResourceArrayResponseFromJSON;
|
|
18
|
-
exports.WishlistCheckResourceArrayResponseFromJSONTyped = WishlistCheckResourceArrayResponseFromJSONTyped;
|
|
19
|
-
exports.WishlistCheckResourceArrayResponseToJSON = WishlistCheckResourceArrayResponseToJSON;
|
|
20
|
-
exports.WishlistCheckResourceArrayResponseToJSONTyped = WishlistCheckResourceArrayResponseToJSONTyped;
|
|
21
|
-
var WishlistCheckResource_1 = require("./WishlistCheckResource");
|
|
22
|
-
/**
|
|
23
|
-
* Check if a given object implements the WishlistCheckResourceArrayResponse interface.
|
|
24
|
-
*/
|
|
25
|
-
function instanceOfWishlistCheckResourceArrayResponse(value) {
|
|
26
|
-
return true;
|
|
27
|
-
}
|
|
28
|
-
function WishlistCheckResourceArrayResponseFromJSON(json) {
|
|
29
|
-
return WishlistCheckResourceArrayResponseFromJSONTyped(json, false);
|
|
30
|
-
}
|
|
31
|
-
function WishlistCheckResourceArrayResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
-
if (json == null) {
|
|
33
|
-
return json;
|
|
34
|
-
}
|
|
35
|
-
return {
|
|
36
|
-
'data': json['data'] == null ? undefined : (json['data'].map(WishlistCheckResource_1.WishlistCheckResourceFromJSON)),
|
|
37
|
-
};
|
|
38
|
-
}
|
|
39
|
-
function WishlistCheckResourceArrayResponseToJSON(json) {
|
|
40
|
-
return WishlistCheckResourceArrayResponseToJSONTyped(json, false);
|
|
41
|
-
}
|
|
42
|
-
function WishlistCheckResourceArrayResponseToJSONTyped(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(WishlistCheckResource_1.WishlistCheckResourceToJSON)),
|
|
49
|
-
};
|
|
50
|
-
}
|
|
@@ -1,38 +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
|
-
/**
|
|
13
|
-
*
|
|
14
|
-
* @export
|
|
15
|
-
* @interface WishlistToggleResource
|
|
16
|
-
*/
|
|
17
|
-
export interface WishlistToggleResource {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof WishlistToggleResource
|
|
22
|
-
*/
|
|
23
|
-
action: string;
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {Array<number>}
|
|
27
|
-
* @memberof WishlistToggleResource
|
|
28
|
-
*/
|
|
29
|
-
product: Array<number>;
|
|
30
|
-
}
|
|
31
|
-
/**
|
|
32
|
-
* Check if a given object implements the WishlistToggleResource interface.
|
|
33
|
-
*/
|
|
34
|
-
export declare function instanceOfWishlistToggleResource(value: object): value is WishlistToggleResource;
|
|
35
|
-
export declare function WishlistToggleResourceFromJSON(json: any): WishlistToggleResource;
|
|
36
|
-
export declare function WishlistToggleResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): WishlistToggleResource;
|
|
37
|
-
export declare function WishlistToggleResourceToJSON(json: any): WishlistToggleResource;
|
|
38
|
-
export declare function WishlistToggleResourceToJSONTyped(value?: WishlistToggleResource | null, ignoreDiscriminator?: boolean): any;
|