@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.
- package/.openapi-generator/FILES +10 -12
- package/README.md +7 -8
- package/dist/models/OverlayTemplateAssetFrontendResource.d.ts +2 -3
- package/dist/models/OverlayTemplateAssetFrontendResource.js +2 -3
- package/dist/models/OverlayTemplateAssetResource.d.ts +3 -3
- package/dist/models/OverlayTemplateAssetResource.js +3 -3
- package/dist/models/ProductCompareResource.d.ts +2 -2
- package/dist/models/ProductSearchResultResource.d.ts +6 -12
- package/dist/models/ProductSearchResultResource.js +4 -8
- package/dist/models/ProductStatus.d.ts +24 -0
- package/dist/models/ProductStatus.js +50 -0
- package/dist/models/SupplierFrontendResource.d.ts +8 -7
- package/dist/models/SupplierFrontendResource.js +9 -8
- package/dist/models/WishlistCheckResource.d.ts +32 -0
- package/dist/models/WishlistCheckResource.js +51 -0
- package/dist/models/WishlistCheckResourceArrayResponse.d.ts +33 -0
- package/dist/models/WishlistCheckResourceArrayResponse.js +50 -0
- package/dist/models/WishlistToggleResource.d.ts +38 -0
- package/dist/models/WishlistToggleResource.js +55 -0
- package/dist/models/WishlistToggleResourceArrayResponse.d.ts +33 -0
- package/dist/models/WishlistToggleResourceArrayResponse.js +50 -0
- package/dist/models/index.d.ts +5 -6
- package/dist/models/index.js +5 -6
- package/docs/OverlayTemplateAssetFrontendResource.md +1 -1
- package/docs/OverlayTemplateAssetResource.md +1 -1
- package/docs/ProductCompareResource.md +1 -1
- package/docs/ProductSearchResultResource.md +2 -4
- package/docs/{ProductAvailability.md → ProductStatus.md} +4 -4
- package/docs/SupplierFrontendResource.md +4 -4
- package/docs/{PaginatedCategoryFrontendResourceResponse.md → WishlistCheckResource.md} +6 -8
- package/docs/{CategoryFrontendResourceArrayResponse.md → WishlistCheckResourceArrayResponse.md} +5 -5
- package/docs/WishlistToggleResource.md +36 -0
- package/docs/{CategoryWithChildrenFrontendResourceArrayResponse.md → WishlistToggleResourceArrayResponse.md} +5 -5
- package/package.json +1 -1
- package/src/models/OverlayTemplateAssetFrontendResource.ts +4 -12
- package/src/models/OverlayTemplateAssetResource.ts +10 -10
- package/src/models/ProductCompareResource.ts +2 -2
- package/src/models/ProductSearchResultResource.ts +9 -18
- package/src/models/ProductStatus.ts +52 -0
- package/src/models/SupplierFrontendResource.ts +27 -20
- package/src/models/WishlistCheckResource.ts +66 -0
- package/src/models/WishlistCheckResourceArrayResponse.ts +73 -0
- package/src/models/WishlistToggleResource.ts +75 -0
- package/src/models/WishlistToggleResourceArrayResponse.ts +73 -0
- package/src/models/index.ts +5 -6
- package/dist/models/CategoryFrontendResource.d.ts +0 -70
- package/dist/models/CategoryFrontendResource.js +0 -73
- package/dist/models/CategoryFrontendResourceArrayResponse.d.ts +0 -33
- package/dist/models/CategoryFrontendResourceArrayResponse.js +0 -50
- package/dist/models/CategoryWithChildrenFrontendResource.d.ts +0 -39
- package/dist/models/CategoryWithChildrenFrontendResource.js +0 -56
- package/dist/models/CategoryWithChildrenFrontendResourceArrayResponse.d.ts +0 -33
- package/dist/models/CategoryWithChildrenFrontendResourceArrayResponse.js +0 -50
- package/dist/models/PaginatedCategoryFrontendResourceResponse.d.ts +0 -40
- package/dist/models/PaginatedCategoryFrontendResourceResponse.js +0 -57
- package/dist/models/ProductAvailability.d.ts +0 -26
- package/dist/models/ProductAvailability.js +0 -52
- package/docs/CategoryFrontendResource.md +0 -46
- package/docs/CategoryWithChildrenFrontendResource.md +0 -36
- package/src/models/CategoryFrontendResource.ts +0 -133
- package/src/models/CategoryFrontendResourceArrayResponse.ts +0 -73
- package/src/models/CategoryWithChildrenFrontendResource.ts +0 -83
- package/src/models/CategoryWithChildrenFrontendResourceArrayResponse.ts +0 -73
- package/src/models/PaginatedCategoryFrontendResourceResponse.ts +0 -90
- package/src/models/ProductAvailability.ts +0 -54
|
@@ -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.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
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
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;
|
|
@@ -0,0 +1,55 @@
|
|
|
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.instanceOfWishlistToggleResource = instanceOfWishlistToggleResource;
|
|
17
|
+
exports.WishlistToggleResourceFromJSON = WishlistToggleResourceFromJSON;
|
|
18
|
+
exports.WishlistToggleResourceFromJSONTyped = WishlistToggleResourceFromJSONTyped;
|
|
19
|
+
exports.WishlistToggleResourceToJSON = WishlistToggleResourceToJSON;
|
|
20
|
+
exports.WishlistToggleResourceToJSONTyped = WishlistToggleResourceToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the WishlistToggleResource interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfWishlistToggleResource(value) {
|
|
25
|
+
if (!('action' in value) || value['action'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('product' in value) || value['product'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
function WishlistToggleResourceFromJSON(json) {
|
|
32
|
+
return WishlistToggleResourceFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
function WishlistToggleResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if (json == null) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'action': json['action'],
|
|
40
|
+
'product': json['product'],
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
function WishlistToggleResourceToJSON(json) {
|
|
44
|
+
return WishlistToggleResourceToJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
function WishlistToggleResourceToJSONTyped(value, ignoreDiscriminator) {
|
|
47
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
48
|
+
if (value == null) {
|
|
49
|
+
return value;
|
|
50
|
+
}
|
|
51
|
+
return {
|
|
52
|
+
'action': value['action'],
|
|
53
|
+
'product': value['product'],
|
|
54
|
+
};
|
|
55
|
+
}
|
|
@@ -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 { WishlistToggleResource } from './WishlistToggleResource';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface WishlistToggleResourceArrayResponse
|
|
17
|
+
*/
|
|
18
|
+
export interface WishlistToggleResourceArrayResponse {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {Array<WishlistToggleResource>}
|
|
22
|
+
* @memberof WishlistToggleResourceArrayResponse
|
|
23
|
+
*/
|
|
24
|
+
data?: Array<WishlistToggleResource>;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Check if a given object implements the WishlistToggleResourceArrayResponse interface.
|
|
28
|
+
*/
|
|
29
|
+
export declare function instanceOfWishlistToggleResourceArrayResponse(value: object): value is WishlistToggleResourceArrayResponse;
|
|
30
|
+
export declare function WishlistToggleResourceArrayResponseFromJSON(json: any): WishlistToggleResourceArrayResponse;
|
|
31
|
+
export declare function WishlistToggleResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): WishlistToggleResourceArrayResponse;
|
|
32
|
+
export declare function WishlistToggleResourceArrayResponseToJSON(json: any): WishlistToggleResourceArrayResponse;
|
|
33
|
+
export declare function WishlistToggleResourceArrayResponseToJSONTyped(value?: WishlistToggleResourceArrayResponse | 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.instanceOfWishlistToggleResourceArrayResponse = instanceOfWishlistToggleResourceArrayResponse;
|
|
17
|
+
exports.WishlistToggleResourceArrayResponseFromJSON = WishlistToggleResourceArrayResponseFromJSON;
|
|
18
|
+
exports.WishlistToggleResourceArrayResponseFromJSONTyped = WishlistToggleResourceArrayResponseFromJSONTyped;
|
|
19
|
+
exports.WishlistToggleResourceArrayResponseToJSON = WishlistToggleResourceArrayResponseToJSON;
|
|
20
|
+
exports.WishlistToggleResourceArrayResponseToJSONTyped = WishlistToggleResourceArrayResponseToJSONTyped;
|
|
21
|
+
var WishlistToggleResource_1 = require("./WishlistToggleResource");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the WishlistToggleResourceArrayResponse interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfWishlistToggleResourceArrayResponse(value) {
|
|
26
|
+
return true;
|
|
27
|
+
}
|
|
28
|
+
function WishlistToggleResourceArrayResponseFromJSON(json) {
|
|
29
|
+
return WishlistToggleResourceArrayResponseFromJSONTyped(json, false);
|
|
30
|
+
}
|
|
31
|
+
function WishlistToggleResourceArrayResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
+
if (json == null) {
|
|
33
|
+
return json;
|
|
34
|
+
}
|
|
35
|
+
return {
|
|
36
|
+
'data': json['data'] == null ? undefined : (json['data'].map(WishlistToggleResource_1.WishlistToggleResourceFromJSON)),
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
function WishlistToggleResourceArrayResponseToJSON(json) {
|
|
40
|
+
return WishlistToggleResourceArrayResponseToJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
function WishlistToggleResourceArrayResponseToJSONTyped(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(WishlistToggleResource_1.WishlistToggleResourceToJSON)),
|
|
49
|
+
};
|
|
50
|
+
}
|
package/dist/models/index.d.ts
CHANGED
|
@@ -32,10 +32,6 @@ 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';
|
|
39
35
|
export * from './CouponDiscountType';
|
|
40
36
|
export * from './DescriptionResource';
|
|
41
37
|
export * from './DescriptionResourceArrayResponse';
|
|
@@ -108,7 +104,6 @@ export * from './PaginatedAttributeListResourceResponse';
|
|
|
108
104
|
export * from './PaginatedAttributeLiteResourceResponse';
|
|
109
105
|
export * from './PaginatedAttributeProductTypeRelationResourceResponse';
|
|
110
106
|
export * from './PaginatedAttributeResourceResponse';
|
|
111
|
-
export * from './PaginatedCategoryFrontendResourceResponse';
|
|
112
107
|
export * from './PaginatedDocumentResourceResponse';
|
|
113
108
|
export * from './PaginatedExternalApiLogListResourceResponse';
|
|
114
109
|
export * from './PaginatedExternalApiLogResourceResponse';
|
|
@@ -148,7 +143,6 @@ export * from './PreviewAutomationRulesResource';
|
|
|
148
143
|
export * from './PreviewAutomationRulesResourceArrayResponse';
|
|
149
144
|
export * from './ProductAggregationResource';
|
|
150
145
|
export * from './ProductAggregationResourceArrayResponse';
|
|
151
|
-
export * from './ProductAvailability';
|
|
152
146
|
export * from './ProductCategoryHierarchyResource';
|
|
153
147
|
export * from './ProductCategoryHierarchyResourceArrayResponse';
|
|
154
148
|
export * from './ProductCategoryListResource';
|
|
@@ -187,6 +181,7 @@ export * from './ProductSearchResponseResourcePriceInfo';
|
|
|
187
181
|
export * from './ProductSearchResultResource';
|
|
188
182
|
export * from './ProductSearchResultResourceArrayResponse';
|
|
189
183
|
export * from './ProductSortBy';
|
|
184
|
+
export * from './ProductStatus';
|
|
190
185
|
export * from './ProductTypeListResource';
|
|
191
186
|
export * from './ProductTypeListResourceArrayResponse';
|
|
192
187
|
export * from './ProductTypeLiteResource';
|
|
@@ -263,3 +258,7 @@ export * from './UpdateSiteNotificationRequest';
|
|
|
263
258
|
export * from './UpdateSiteRequest';
|
|
264
259
|
export * from './UpdateSupplierRequest';
|
|
265
260
|
export * from './UpdateTagRequest';
|
|
261
|
+
export * from './WishlistCheckResource';
|
|
262
|
+
export * from './WishlistCheckResourceArrayResponse';
|
|
263
|
+
export * from './WishlistToggleResource';
|
|
264
|
+
export * from './WishlistToggleResourceArrayResponse';
|
package/dist/models/index.js
CHANGED
|
@@ -50,10 +50,6 @@ __exportStar(require("./CategoryAutomationConditionType"), exports);
|
|
|
50
50
|
__exportStar(require("./CategoryAutomationFieldType"), exports);
|
|
51
51
|
__exportStar(require("./CategoryAutomationRuleResource"), exports);
|
|
52
52
|
__exportStar(require("./CategoryAutomationRuleResourceArrayResponse"), exports);
|
|
53
|
-
__exportStar(require("./CategoryFrontendResource"), exports);
|
|
54
|
-
__exportStar(require("./CategoryFrontendResourceArrayResponse"), exports);
|
|
55
|
-
__exportStar(require("./CategoryWithChildrenFrontendResource"), exports);
|
|
56
|
-
__exportStar(require("./CategoryWithChildrenFrontendResourceArrayResponse"), exports);
|
|
57
53
|
__exportStar(require("./CouponDiscountType"), exports);
|
|
58
54
|
__exportStar(require("./DescriptionResource"), exports);
|
|
59
55
|
__exportStar(require("./DescriptionResourceArrayResponse"), exports);
|
|
@@ -126,7 +122,6 @@ __exportStar(require("./PaginatedAttributeListResourceResponse"), exports);
|
|
|
126
122
|
__exportStar(require("./PaginatedAttributeLiteResourceResponse"), exports);
|
|
127
123
|
__exportStar(require("./PaginatedAttributeProductTypeRelationResourceResponse"), exports);
|
|
128
124
|
__exportStar(require("./PaginatedAttributeResourceResponse"), exports);
|
|
129
|
-
__exportStar(require("./PaginatedCategoryFrontendResourceResponse"), exports);
|
|
130
125
|
__exportStar(require("./PaginatedDocumentResourceResponse"), exports);
|
|
131
126
|
__exportStar(require("./PaginatedExternalApiLogListResourceResponse"), exports);
|
|
132
127
|
__exportStar(require("./PaginatedExternalApiLogResourceResponse"), exports);
|
|
@@ -166,7 +161,6 @@ __exportStar(require("./PreviewAutomationRulesResource"), exports);
|
|
|
166
161
|
__exportStar(require("./PreviewAutomationRulesResourceArrayResponse"), exports);
|
|
167
162
|
__exportStar(require("./ProductAggregationResource"), exports);
|
|
168
163
|
__exportStar(require("./ProductAggregationResourceArrayResponse"), exports);
|
|
169
|
-
__exportStar(require("./ProductAvailability"), exports);
|
|
170
164
|
__exportStar(require("./ProductCategoryHierarchyResource"), exports);
|
|
171
165
|
__exportStar(require("./ProductCategoryHierarchyResourceArrayResponse"), exports);
|
|
172
166
|
__exportStar(require("./ProductCategoryListResource"), exports);
|
|
@@ -205,6 +199,7 @@ __exportStar(require("./ProductSearchResponseResourcePriceInfo"), exports);
|
|
|
205
199
|
__exportStar(require("./ProductSearchResultResource"), exports);
|
|
206
200
|
__exportStar(require("./ProductSearchResultResourceArrayResponse"), exports);
|
|
207
201
|
__exportStar(require("./ProductSortBy"), exports);
|
|
202
|
+
__exportStar(require("./ProductStatus"), exports);
|
|
208
203
|
__exportStar(require("./ProductTypeListResource"), exports);
|
|
209
204
|
__exportStar(require("./ProductTypeListResourceArrayResponse"), exports);
|
|
210
205
|
__exportStar(require("./ProductTypeLiteResource"), exports);
|
|
@@ -281,3 +276,7 @@ __exportStar(require("./UpdateSiteNotificationRequest"), exports);
|
|
|
281
276
|
__exportStar(require("./UpdateSiteRequest"), exports);
|
|
282
277
|
__exportStar(require("./UpdateSupplierRequest"), exports);
|
|
283
278
|
__exportStar(require("./UpdateTagRequest"), exports);
|
|
279
|
+
__exportStar(require("./WishlistCheckResource"), exports);
|
|
280
|
+
__exportStar(require("./WishlistCheckResourceArrayResponse"), exports);
|
|
281
|
+
__exportStar(require("./WishlistToggleResource"), exports);
|
|
282
|
+
__exportStar(require("./WishlistToggleResourceArrayResponse"), exports);
|
|
@@ -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
|
-
#
|
|
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 {
|
|
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
|
|
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
|
|
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` | [
|
|
12
|
+
`thumbnail` | [AssetResource](AssetResource.md)
|
|
13
13
|
`supplierEta` | number
|
|
14
|
-
`seo` |
|
|
15
|
-
`
|
|
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
|
-
"
|
|
30
|
+
"descriptions": null,
|
|
31
31
|
} satisfies SupplierFrontendResource
|
|
32
32
|
|
|
33
33
|
console.log(example)
|
|
@@ -1,24 +1,22 @@
|
|
|
1
1
|
|
|
2
|
-
#
|
|
2
|
+
# WishlistCheckResource
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
## Properties
|
|
6
6
|
|
|
7
7
|
Name | Type
|
|
8
8
|
------------ | -------------
|
|
9
|
-
`
|
|
10
|
-
`meta` | [PagingMetadata](PagingMetadata.md)
|
|
9
|
+
`inWishlist` | boolean
|
|
11
10
|
|
|
12
11
|
## Example
|
|
13
12
|
|
|
14
13
|
```typescript
|
|
15
|
-
import type {
|
|
14
|
+
import type { WishlistCheckResource } from '@digital8/lighting-illusions-ts-sdk'
|
|
16
15
|
|
|
17
16
|
// TODO: Update the object below with actual values
|
|
18
17
|
const example = {
|
|
19
|
-
"
|
|
20
|
-
|
|
21
|
-
} satisfies PaginatedCategoryFrontendResourceResponse
|
|
18
|
+
"inWishlist": null,
|
|
19
|
+
} satisfies WishlistCheckResource
|
|
22
20
|
|
|
23
21
|
console.log(example)
|
|
24
22
|
|
|
@@ -27,7 +25,7 @@ const exampleJSON: string = JSON.stringify(example)
|
|
|
27
25
|
console.log(exampleJSON)
|
|
28
26
|
|
|
29
27
|
// Parse the JSON string back to an object
|
|
30
|
-
const exampleParsed = JSON.parse(exampleJSON) as
|
|
28
|
+
const exampleParsed = JSON.parse(exampleJSON) as WishlistCheckResource
|
|
31
29
|
console.log(exampleParsed)
|
|
32
30
|
```
|
|
33
31
|
|
package/docs/{CategoryFrontendResourceArrayResponse.md → WishlistCheckResourceArrayResponse.md}
RENAMED
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
|
|
2
|
-
#
|
|
2
|
+
# WishlistCheckResourceArrayResponse
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
## Properties
|
|
6
6
|
|
|
7
7
|
Name | Type
|
|
8
8
|
------------ | -------------
|
|
9
|
-
`data` | [Array<
|
|
9
|
+
`data` | [Array<WishlistCheckResource>](WishlistCheckResource.md)
|
|
10
10
|
|
|
11
11
|
## Example
|
|
12
12
|
|
|
13
13
|
```typescript
|
|
14
|
-
import type {
|
|
14
|
+
import type { WishlistCheckResourceArrayResponse } from '@digital8/lighting-illusions-ts-sdk'
|
|
15
15
|
|
|
16
16
|
// TODO: Update the object below with actual values
|
|
17
17
|
const example = {
|
|
18
18
|
"data": null,
|
|
19
|
-
} satisfies
|
|
19
|
+
} satisfies WishlistCheckResourceArrayResponse
|
|
20
20
|
|
|
21
21
|
console.log(example)
|
|
22
22
|
|
|
@@ -25,7 +25,7 @@ const exampleJSON: string = JSON.stringify(example)
|
|
|
25
25
|
console.log(exampleJSON)
|
|
26
26
|
|
|
27
27
|
// Parse the JSON string back to an object
|
|
28
|
-
const exampleParsed = JSON.parse(exampleJSON) as
|
|
28
|
+
const exampleParsed = JSON.parse(exampleJSON) as WishlistCheckResourceArrayResponse
|
|
29
29
|
console.log(exampleParsed)
|
|
30
30
|
```
|
|
31
31
|
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
|
|
2
|
+
# WishlistToggleResource
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`action` | string
|
|
10
|
+
`product` | Array<number>
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```typescript
|
|
15
|
+
import type { WishlistToggleResource } from '@digital8/lighting-illusions-ts-sdk'
|
|
16
|
+
|
|
17
|
+
// TODO: Update the object below with actual values
|
|
18
|
+
const example = {
|
|
19
|
+
"action": null,
|
|
20
|
+
"product": null,
|
|
21
|
+
} satisfies WishlistToggleResource
|
|
22
|
+
|
|
23
|
+
console.log(example)
|
|
24
|
+
|
|
25
|
+
// Convert the instance to a JSON string
|
|
26
|
+
const exampleJSON: string = JSON.stringify(example)
|
|
27
|
+
console.log(exampleJSON)
|
|
28
|
+
|
|
29
|
+
// Parse the JSON string back to an object
|
|
30
|
+
const exampleParsed = JSON.parse(exampleJSON) as WishlistToggleResource
|
|
31
|
+
console.log(exampleParsed)
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
35
|
+
|
|
36
|
+
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
|
|
2
|
-
#
|
|
2
|
+
# WishlistToggleResourceArrayResponse
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
## Properties
|
|
6
6
|
|
|
7
7
|
Name | Type
|
|
8
8
|
------------ | -------------
|
|
9
|
-
`data` | [Array<
|
|
9
|
+
`data` | [Array<WishlistToggleResource>](WishlistToggleResource.md)
|
|
10
10
|
|
|
11
11
|
## Example
|
|
12
12
|
|
|
13
13
|
```typescript
|
|
14
|
-
import type {
|
|
14
|
+
import type { WishlistToggleResourceArrayResponse } from '@digital8/lighting-illusions-ts-sdk'
|
|
15
15
|
|
|
16
16
|
// TODO: Update the object below with actual values
|
|
17
17
|
const example = {
|
|
18
18
|
"data": null,
|
|
19
|
-
} satisfies
|
|
19
|
+
} satisfies WishlistToggleResourceArrayResponse
|
|
20
20
|
|
|
21
21
|
console.log(example)
|
|
22
22
|
|
|
@@ -25,7 +25,7 @@ const exampleJSON: string = JSON.stringify(example)
|
|
|
25
25
|
console.log(exampleJSON)
|
|
26
26
|
|
|
27
27
|
// Parse the JSON string back to an object
|
|
28
|
-
const exampleParsed = JSON.parse(exampleJSON) as
|
|
28
|
+
const exampleParsed = JSON.parse(exampleJSON) as WishlistToggleResourceArrayResponse
|
|
29
29
|
console.log(exampleParsed)
|
|
30
30
|
```
|
|
31
31
|
|
package/package.json
CHANGED
|
@@ -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 {
|
|
54
|
+
* @type {Array<string>}
|
|
63
55
|
* @memberof OverlayTemplateAssetFrontendResource
|
|
64
56
|
*/
|
|
65
|
-
image:
|
|
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':
|
|
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':
|
|
108
|
+
'image': value['image'],
|
|
117
109
|
};
|
|
118
110
|
}
|
|
119
111
|
|