@digital8/lighting-illusions-ts-sdk 0.0.532 → 0.0.533
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 +24 -0
- package/README.md +14 -2
- package/dist/models/PaginatedProductSearchResultResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedProductSearchResultResourceResponse.js +57 -0
- package/dist/models/ProductAggregationResource.d.ts +50 -0
- package/dist/models/ProductAggregationResource.js +63 -0
- package/dist/models/ProductAggregationResourceArrayResponse.d.ts +33 -0
- package/dist/models/ProductAggregationResourceArrayResponse.js +50 -0
- package/dist/models/ProductRating.d.ts +26 -0
- package/dist/models/ProductRating.js +52 -0
- package/dist/models/ProductSearchResponseResource.d.ts +54 -0
- package/dist/models/ProductSearchResponseResource.js +67 -0
- package/dist/models/ProductSearchResponseResourceArrayResponse.d.ts +33 -0
- package/dist/models/ProductSearchResponseResourceArrayResponse.js +50 -0
- package/dist/models/ProductSearchResponseResourceMeta.d.ts +50 -0
- package/dist/models/ProductSearchResponseResourceMeta.js +63 -0
- package/dist/models/ProductSearchResponseResourcePriceInfo.d.ts +50 -0
- package/dist/models/ProductSearchResponseResourcePriceInfo.js +63 -0
- package/dist/models/ProductSearchResultResource.d.ts +116 -0
- package/dist/models/ProductSearchResultResource.js +105 -0
- package/dist/models/ProductSearchResultResourceArrayResponse.d.ts +33 -0
- package/dist/models/ProductSearchResultResourceArrayResponse.js +50 -0
- package/dist/models/ProductSortBy.d.ts +32 -0
- package/dist/models/ProductSortBy.js +58 -0
- package/dist/models/ProductStatus.d.ts +24 -0
- package/dist/models/ProductStatus.js +50 -0
- package/dist/models/StoreProductCategoryRequest.d.ts +9 -1
- package/dist/models/StoreProductCategoryRequest.js +8 -0
- package/dist/models/StoreProductCategoryRequestAutomationRulesInner.d.ts +27 -2
- package/dist/models/StoreProductCategoryRequestAutomationRulesInner.js +24 -0
- package/dist/models/UpdateProductCategoryRequest.d.ts +9 -1
- package/dist/models/UpdateProductCategoryRequest.js +8 -0
- package/dist/models/index.d.ts +12 -0
- package/dist/models/index.js +12 -0
- package/docs/PaginatedProductSearchResultResourceResponse.md +36 -0
- package/docs/ProductAggregationResource.md +40 -0
- package/docs/ProductAggregationResourceArrayResponse.md +34 -0
- package/docs/ProductRating.md +32 -0
- package/docs/ProductSearchResponseResource.md +40 -0
- package/docs/ProductSearchResponseResourceArrayResponse.md +34 -0
- package/docs/ProductSearchResponseResourceMeta.md +40 -0
- package/docs/ProductSearchResponseResourcePriceInfo.md +40 -0
- package/docs/ProductSearchResultResource.md +62 -0
- package/docs/ProductSearchResultResourceArrayResponse.md +34 -0
- package/docs/ProductSortBy.md +32 -0
- package/docs/ProductStatus.md +32 -0
- package/package.json +1 -1
- package/src/models/PaginatedProductSearchResultResourceResponse.ts +90 -0
- package/src/models/ProductAggregationResource.ts +93 -0
- package/src/models/ProductAggregationResourceArrayResponse.ts +73 -0
- package/src/models/ProductRating.ts +54 -0
- package/src/models/ProductSearchResponseResource.ts +122 -0
- package/src/models/ProductSearchResponseResourceArrayResponse.ts +73 -0
- package/src/models/ProductSearchResponseResourceMeta.ts +93 -0
- package/src/models/ProductSearchResponseResourcePriceInfo.ts +93 -0
- package/src/models/ProductSearchResultResource.ts +191 -0
- package/src/models/ProductSearchResultResourceArrayResponse.ts +73 -0
- package/src/models/ProductSortBy.ts +60 -0
- package/src/models/ProductStatus.ts +52 -0
- package/src/models/StoreProductCategoryRequest.ts +12 -1
- package/src/models/StoreProductCategoryRequestAutomationRulesInner.ts +31 -2
- package/src/models/UpdateProductCategoryRequest.ts +12 -1
- package/src/models/index.ts +12 -0
|
@@ -0,0 +1,24 @@
|
|
|
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;
|
|
@@ -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.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
|
+
}
|
|
@@ -69,7 +69,7 @@ export interface StoreProductCategoryRequest {
|
|
|
69
69
|
* @type {string}
|
|
70
70
|
* @memberof StoreProductCategoryRequest
|
|
71
71
|
*/
|
|
72
|
-
automatedConditionType?:
|
|
72
|
+
automatedConditionType?: StoreProductCategoryRequestAutomatedConditionTypeEnum;
|
|
73
73
|
/**
|
|
74
74
|
*
|
|
75
75
|
* @type {Array<StoreProductCategoryRequestAutomationRulesInner>}
|
|
@@ -95,6 +95,14 @@ export interface StoreProductCategoryRequest {
|
|
|
95
95
|
*/
|
|
96
96
|
fileId: number;
|
|
97
97
|
}
|
|
98
|
+
/**
|
|
99
|
+
* @export
|
|
100
|
+
*/
|
|
101
|
+
export declare const StoreProductCategoryRequestAutomatedConditionTypeEnum: {
|
|
102
|
+
readonly And: "and";
|
|
103
|
+
readonly Or: "or";
|
|
104
|
+
};
|
|
105
|
+
export type StoreProductCategoryRequestAutomatedConditionTypeEnum = typeof StoreProductCategoryRequestAutomatedConditionTypeEnum[keyof typeof StoreProductCategoryRequestAutomatedConditionTypeEnum];
|
|
98
106
|
/**
|
|
99
107
|
* Check if a given object implements the StoreProductCategoryRequest interface.
|
|
100
108
|
*/
|
|
@@ -13,12 +13,20 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.StoreProductCategoryRequestAutomatedConditionTypeEnum = void 0;
|
|
16
17
|
exports.instanceOfStoreProductCategoryRequest = instanceOfStoreProductCategoryRequest;
|
|
17
18
|
exports.StoreProductCategoryRequestFromJSON = StoreProductCategoryRequestFromJSON;
|
|
18
19
|
exports.StoreProductCategoryRequestFromJSONTyped = StoreProductCategoryRequestFromJSONTyped;
|
|
19
20
|
exports.StoreProductCategoryRequestToJSON = StoreProductCategoryRequestToJSON;
|
|
20
21
|
exports.StoreProductCategoryRequestToJSONTyped = StoreProductCategoryRequestToJSONTyped;
|
|
21
22
|
var StoreProductCategoryRequestAutomationRulesInner_1 = require("./StoreProductCategoryRequestAutomationRulesInner");
|
|
23
|
+
/**
|
|
24
|
+
* @export
|
|
25
|
+
*/
|
|
26
|
+
exports.StoreProductCategoryRequestAutomatedConditionTypeEnum = {
|
|
27
|
+
And: 'and',
|
|
28
|
+
Or: 'or'
|
|
29
|
+
};
|
|
22
30
|
/**
|
|
23
31
|
* Check if a given object implements the StoreProductCategoryRequest interface.
|
|
24
32
|
*/
|
|
@@ -20,13 +20,13 @@ export interface StoreProductCategoryRequestAutomationRulesInner {
|
|
|
20
20
|
* @type {string}
|
|
21
21
|
* @memberof StoreProductCategoryRequestAutomationRulesInner
|
|
22
22
|
*/
|
|
23
|
-
fieldType:
|
|
23
|
+
fieldType: StoreProductCategoryRequestAutomationRulesInnerFieldTypeEnum;
|
|
24
24
|
/**
|
|
25
25
|
*
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof StoreProductCategoryRequestAutomationRulesInner
|
|
28
28
|
*/
|
|
29
|
-
comparisonType:
|
|
29
|
+
comparisonType: StoreProductCategoryRequestAutomationRulesInnerComparisonTypeEnum;
|
|
30
30
|
/**
|
|
31
31
|
*
|
|
32
32
|
* @type {number}
|
|
@@ -52,6 +52,31 @@ export interface StoreProductCategoryRequestAutomationRulesInner {
|
|
|
52
52
|
*/
|
|
53
53
|
valueId?: number;
|
|
54
54
|
}
|
|
55
|
+
/**
|
|
56
|
+
* @export
|
|
57
|
+
*/
|
|
58
|
+
export declare const StoreProductCategoryRequestAutomationRulesInnerFieldTypeEnum: {
|
|
59
|
+
readonly Price: "price";
|
|
60
|
+
readonly Name: "name";
|
|
61
|
+
readonly VariantName: "variant_name";
|
|
62
|
+
readonly Attribute: "attribute";
|
|
63
|
+
readonly Tag: "tag";
|
|
64
|
+
readonly Supplier: "supplier";
|
|
65
|
+
readonly Label: "label";
|
|
66
|
+
};
|
|
67
|
+
export type StoreProductCategoryRequestAutomationRulesInnerFieldTypeEnum = typeof StoreProductCategoryRequestAutomationRulesInnerFieldTypeEnum[keyof typeof StoreProductCategoryRequestAutomationRulesInnerFieldTypeEnum];
|
|
68
|
+
/**
|
|
69
|
+
* @export
|
|
70
|
+
*/
|
|
71
|
+
export declare const StoreProductCategoryRequestAutomationRulesInnerComparisonTypeEnum: {
|
|
72
|
+
readonly Greater: "greater";
|
|
73
|
+
readonly Less: "less";
|
|
74
|
+
readonly Equal: "equal";
|
|
75
|
+
readonly NotEqual: "notEqual";
|
|
76
|
+
readonly Contains: "contains";
|
|
77
|
+
readonly NotContains: "notContains";
|
|
78
|
+
};
|
|
79
|
+
export type StoreProductCategoryRequestAutomationRulesInnerComparisonTypeEnum = typeof StoreProductCategoryRequestAutomationRulesInnerComparisonTypeEnum[keyof typeof StoreProductCategoryRequestAutomationRulesInnerComparisonTypeEnum];
|
|
55
80
|
/**
|
|
56
81
|
* Check if a given object implements the StoreProductCategoryRequestAutomationRulesInner interface.
|
|
57
82
|
*/
|
|
@@ -13,11 +13,35 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.StoreProductCategoryRequestAutomationRulesInnerComparisonTypeEnum = exports.StoreProductCategoryRequestAutomationRulesInnerFieldTypeEnum = void 0;
|
|
16
17
|
exports.instanceOfStoreProductCategoryRequestAutomationRulesInner = instanceOfStoreProductCategoryRequestAutomationRulesInner;
|
|
17
18
|
exports.StoreProductCategoryRequestAutomationRulesInnerFromJSON = StoreProductCategoryRequestAutomationRulesInnerFromJSON;
|
|
18
19
|
exports.StoreProductCategoryRequestAutomationRulesInnerFromJSONTyped = StoreProductCategoryRequestAutomationRulesInnerFromJSONTyped;
|
|
19
20
|
exports.StoreProductCategoryRequestAutomationRulesInnerToJSON = StoreProductCategoryRequestAutomationRulesInnerToJSON;
|
|
20
21
|
exports.StoreProductCategoryRequestAutomationRulesInnerToJSONTyped = StoreProductCategoryRequestAutomationRulesInnerToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
exports.StoreProductCategoryRequestAutomationRulesInnerFieldTypeEnum = {
|
|
26
|
+
Price: 'price',
|
|
27
|
+
Name: 'name',
|
|
28
|
+
VariantName: 'variant_name',
|
|
29
|
+
Attribute: 'attribute',
|
|
30
|
+
Tag: 'tag',
|
|
31
|
+
Supplier: 'supplier',
|
|
32
|
+
Label: 'label'
|
|
33
|
+
};
|
|
34
|
+
/**
|
|
35
|
+
* @export
|
|
36
|
+
*/
|
|
37
|
+
exports.StoreProductCategoryRequestAutomationRulesInnerComparisonTypeEnum = {
|
|
38
|
+
Greater: 'greater',
|
|
39
|
+
Less: 'less',
|
|
40
|
+
Equal: 'equal',
|
|
41
|
+
NotEqual: 'notEqual',
|
|
42
|
+
Contains: 'contains',
|
|
43
|
+
NotContains: 'notContains'
|
|
44
|
+
};
|
|
21
45
|
/**
|
|
22
46
|
* Check if a given object implements the StoreProductCategoryRequestAutomationRulesInner interface.
|
|
23
47
|
*/
|
|
@@ -69,7 +69,7 @@ export interface UpdateProductCategoryRequest {
|
|
|
69
69
|
* @type {string}
|
|
70
70
|
* @memberof UpdateProductCategoryRequest
|
|
71
71
|
*/
|
|
72
|
-
automatedConditionType?:
|
|
72
|
+
automatedConditionType?: UpdateProductCategoryRequestAutomatedConditionTypeEnum;
|
|
73
73
|
/**
|
|
74
74
|
*
|
|
75
75
|
* @type {Array<StoreProductCategoryRequestAutomationRulesInner>}
|
|
@@ -95,6 +95,14 @@ export interface UpdateProductCategoryRequest {
|
|
|
95
95
|
*/
|
|
96
96
|
fileId?: number;
|
|
97
97
|
}
|
|
98
|
+
/**
|
|
99
|
+
* @export
|
|
100
|
+
*/
|
|
101
|
+
export declare const UpdateProductCategoryRequestAutomatedConditionTypeEnum: {
|
|
102
|
+
readonly And: "and";
|
|
103
|
+
readonly Or: "or";
|
|
104
|
+
};
|
|
105
|
+
export type UpdateProductCategoryRequestAutomatedConditionTypeEnum = typeof UpdateProductCategoryRequestAutomatedConditionTypeEnum[keyof typeof UpdateProductCategoryRequestAutomatedConditionTypeEnum];
|
|
98
106
|
/**
|
|
99
107
|
* Check if a given object implements the UpdateProductCategoryRequest interface.
|
|
100
108
|
*/
|
|
@@ -13,12 +13,20 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.UpdateProductCategoryRequestAutomatedConditionTypeEnum = void 0;
|
|
16
17
|
exports.instanceOfUpdateProductCategoryRequest = instanceOfUpdateProductCategoryRequest;
|
|
17
18
|
exports.UpdateProductCategoryRequestFromJSON = UpdateProductCategoryRequestFromJSON;
|
|
18
19
|
exports.UpdateProductCategoryRequestFromJSONTyped = UpdateProductCategoryRequestFromJSONTyped;
|
|
19
20
|
exports.UpdateProductCategoryRequestToJSON = UpdateProductCategoryRequestToJSON;
|
|
20
21
|
exports.UpdateProductCategoryRequestToJSONTyped = UpdateProductCategoryRequestToJSONTyped;
|
|
21
22
|
var StoreProductCategoryRequestAutomationRulesInner_1 = require("./StoreProductCategoryRequestAutomationRulesInner");
|
|
23
|
+
/**
|
|
24
|
+
* @export
|
|
25
|
+
*/
|
|
26
|
+
exports.UpdateProductCategoryRequestAutomatedConditionTypeEnum = {
|
|
27
|
+
And: 'and',
|
|
28
|
+
Or: 'or'
|
|
29
|
+
};
|
|
22
30
|
/**
|
|
23
31
|
* Check if a given object implements the UpdateProductCategoryRequest interface.
|
|
24
32
|
*/
|
package/dist/models/index.d.ts
CHANGED
|
@@ -105,6 +105,7 @@ export * from './PaginatedProductChildResourceResponse';
|
|
|
105
105
|
export * from './PaginatedProductListResourceResponse';
|
|
106
106
|
export * from './PaginatedProductLiteResourceResponse';
|
|
107
107
|
export * from './PaginatedProductResourceResponse';
|
|
108
|
+
export * from './PaginatedProductSearchResultResourceResponse';
|
|
108
109
|
export * from './PaginatedProductTypeListResourceResponse';
|
|
109
110
|
export * from './PaginatedProductTypeLiteResourceResponse';
|
|
110
111
|
export * from './PaginatedProductTypeResourceResponse';
|
|
@@ -121,6 +122,8 @@ export * from './PaginatedTagListResourceResponse';
|
|
|
121
122
|
export * from './PaginatedTagLiteResourceResponse';
|
|
122
123
|
export * from './PaginatedTagResourceResponse';
|
|
123
124
|
export * from './PagingMetadata';
|
|
125
|
+
export * from './ProductAggregationResource';
|
|
126
|
+
export * from './ProductAggregationResourceArrayResponse';
|
|
124
127
|
export * from './ProductCategoryHierarchyResource';
|
|
125
128
|
export * from './ProductCategoryHierarchyResourceArrayResponse';
|
|
126
129
|
export * from './ProductCategoryListResource';
|
|
@@ -147,8 +150,17 @@ export * from './ProductListResource';
|
|
|
147
150
|
export * from './ProductListResourceArrayResponse';
|
|
148
151
|
export * from './ProductLiteResource';
|
|
149
152
|
export * from './ProductLiteResourceArrayResponse';
|
|
153
|
+
export * from './ProductRating';
|
|
150
154
|
export * from './ProductResource';
|
|
151
155
|
export * from './ProductResourceArrayResponse';
|
|
156
|
+
export * from './ProductSearchResponseResource';
|
|
157
|
+
export * from './ProductSearchResponseResourceArrayResponse';
|
|
158
|
+
export * from './ProductSearchResponseResourceMeta';
|
|
159
|
+
export * from './ProductSearchResponseResourcePriceInfo';
|
|
160
|
+
export * from './ProductSearchResultResource';
|
|
161
|
+
export * from './ProductSearchResultResourceArrayResponse';
|
|
162
|
+
export * from './ProductSortBy';
|
|
163
|
+
export * from './ProductStatus';
|
|
152
164
|
export * from './ProductTypeListResource';
|
|
153
165
|
export * from './ProductTypeListResourceArrayResponse';
|
|
154
166
|
export * from './ProductTypeLiteResource';
|
package/dist/models/index.js
CHANGED
|
@@ -123,6 +123,7 @@ __exportStar(require("./PaginatedProductChildResourceResponse"), exports);
|
|
|
123
123
|
__exportStar(require("./PaginatedProductListResourceResponse"), exports);
|
|
124
124
|
__exportStar(require("./PaginatedProductLiteResourceResponse"), exports);
|
|
125
125
|
__exportStar(require("./PaginatedProductResourceResponse"), exports);
|
|
126
|
+
__exportStar(require("./PaginatedProductSearchResultResourceResponse"), exports);
|
|
126
127
|
__exportStar(require("./PaginatedProductTypeListResourceResponse"), exports);
|
|
127
128
|
__exportStar(require("./PaginatedProductTypeLiteResourceResponse"), exports);
|
|
128
129
|
__exportStar(require("./PaginatedProductTypeResourceResponse"), exports);
|
|
@@ -139,6 +140,8 @@ __exportStar(require("./PaginatedTagListResourceResponse"), exports);
|
|
|
139
140
|
__exportStar(require("./PaginatedTagLiteResourceResponse"), exports);
|
|
140
141
|
__exportStar(require("./PaginatedTagResourceResponse"), exports);
|
|
141
142
|
__exportStar(require("./PagingMetadata"), exports);
|
|
143
|
+
__exportStar(require("./ProductAggregationResource"), exports);
|
|
144
|
+
__exportStar(require("./ProductAggregationResourceArrayResponse"), exports);
|
|
142
145
|
__exportStar(require("./ProductCategoryHierarchyResource"), exports);
|
|
143
146
|
__exportStar(require("./ProductCategoryHierarchyResourceArrayResponse"), exports);
|
|
144
147
|
__exportStar(require("./ProductCategoryListResource"), exports);
|
|
@@ -165,8 +168,17 @@ __exportStar(require("./ProductListResource"), exports);
|
|
|
165
168
|
__exportStar(require("./ProductListResourceArrayResponse"), exports);
|
|
166
169
|
__exportStar(require("./ProductLiteResource"), exports);
|
|
167
170
|
__exportStar(require("./ProductLiteResourceArrayResponse"), exports);
|
|
171
|
+
__exportStar(require("./ProductRating"), exports);
|
|
168
172
|
__exportStar(require("./ProductResource"), exports);
|
|
169
173
|
__exportStar(require("./ProductResourceArrayResponse"), exports);
|
|
174
|
+
__exportStar(require("./ProductSearchResponseResource"), exports);
|
|
175
|
+
__exportStar(require("./ProductSearchResponseResourceArrayResponse"), exports);
|
|
176
|
+
__exportStar(require("./ProductSearchResponseResourceMeta"), exports);
|
|
177
|
+
__exportStar(require("./ProductSearchResponseResourcePriceInfo"), exports);
|
|
178
|
+
__exportStar(require("./ProductSearchResultResource"), exports);
|
|
179
|
+
__exportStar(require("./ProductSearchResultResourceArrayResponse"), exports);
|
|
180
|
+
__exportStar(require("./ProductSortBy"), exports);
|
|
181
|
+
__exportStar(require("./ProductStatus"), exports);
|
|
170
182
|
__exportStar(require("./ProductTypeListResource"), exports);
|
|
171
183
|
__exportStar(require("./ProductTypeListResourceArrayResponse"), exports);
|
|
172
184
|
__exportStar(require("./ProductTypeLiteResource"), exports);
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
|
|
2
|
+
# PaginatedProductSearchResultResourceResponse
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`data` | [Array<ProductSearchResultResource>](ProductSearchResultResource.md)
|
|
10
|
+
`meta` | [PagingMetadata](PagingMetadata.md)
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```typescript
|
|
15
|
+
import type { PaginatedProductSearchResultResourceResponse } from '@digital8/lighting-illusions-ts-sdk'
|
|
16
|
+
|
|
17
|
+
// TODO: Update the object below with actual values
|
|
18
|
+
const example = {
|
|
19
|
+
"data": null,
|
|
20
|
+
"meta": null,
|
|
21
|
+
} satisfies PaginatedProductSearchResultResourceResponse
|
|
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 PaginatedProductSearchResultResourceResponse
|
|
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
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
|
|
2
|
+
# ProductAggregationResource
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`attributes` | object
|
|
10
|
+
`priceRanges` | Array<object>
|
|
11
|
+
`brands` | Array<object>
|
|
12
|
+
`ratings` | Array<object>
|
|
13
|
+
|
|
14
|
+
## Example
|
|
15
|
+
|
|
16
|
+
```typescript
|
|
17
|
+
import type { ProductAggregationResource } from '@digital8/lighting-illusions-ts-sdk'
|
|
18
|
+
|
|
19
|
+
// TODO: Update the object below with actual values
|
|
20
|
+
const example = {
|
|
21
|
+
"attributes": null,
|
|
22
|
+
"priceRanges": null,
|
|
23
|
+
"brands": null,
|
|
24
|
+
"ratings": null,
|
|
25
|
+
} satisfies ProductAggregationResource
|
|
26
|
+
|
|
27
|
+
console.log(example)
|
|
28
|
+
|
|
29
|
+
// Convert the instance to a JSON string
|
|
30
|
+
const exampleJSON: string = JSON.stringify(example)
|
|
31
|
+
console.log(exampleJSON)
|
|
32
|
+
|
|
33
|
+
// Parse the JSON string back to an object
|
|
34
|
+
const exampleParsed = JSON.parse(exampleJSON) as ProductAggregationResource
|
|
35
|
+
console.log(exampleParsed)
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
39
|
+
|
|
40
|
+
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
|
|
2
|
+
# ProductAggregationResourceArrayResponse
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`data` | [Array<ProductAggregationResource>](ProductAggregationResource.md)
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import type { ProductAggregationResourceArrayResponse } from '@digital8/lighting-illusions-ts-sdk'
|
|
15
|
+
|
|
16
|
+
// TODO: Update the object below with actual values
|
|
17
|
+
const example = {
|
|
18
|
+
"data": null,
|
|
19
|
+
} satisfies ProductAggregationResourceArrayResponse
|
|
20
|
+
|
|
21
|
+
console.log(example)
|
|
22
|
+
|
|
23
|
+
// Convert the instance to a JSON string
|
|
24
|
+
const exampleJSON: string = JSON.stringify(example)
|
|
25
|
+
console.log(exampleJSON)
|
|
26
|
+
|
|
27
|
+
// Parse the JSON string back to an object
|
|
28
|
+
const exampleParsed = JSON.parse(exampleJSON) as ProductAggregationResourceArrayResponse
|
|
29
|
+
console.log(exampleParsed)
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
33
|
+
|
|
34
|
+
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
|
|
2
|
+
# ProductRating
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
|
|
10
|
+
## Example
|
|
11
|
+
|
|
12
|
+
```typescript
|
|
13
|
+
import type { ProductRating } from '@digital8/lighting-illusions-ts-sdk'
|
|
14
|
+
|
|
15
|
+
// TODO: Update the object below with actual values
|
|
16
|
+
const example = {
|
|
17
|
+
} satisfies ProductRating
|
|
18
|
+
|
|
19
|
+
console.log(example)
|
|
20
|
+
|
|
21
|
+
// Convert the instance to a JSON string
|
|
22
|
+
const exampleJSON: string = JSON.stringify(example)
|
|
23
|
+
console.log(exampleJSON)
|
|
24
|
+
|
|
25
|
+
// Parse the JSON string back to an object
|
|
26
|
+
const exampleParsed = JSON.parse(exampleJSON) as ProductRating
|
|
27
|
+
console.log(exampleParsed)
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
31
|
+
|
|
32
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
|
|
2
|
+
# ProductSearchResponseResource
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`data` | [Array<ProductSearchResultResource>](ProductSearchResultResource.md)
|
|
10
|
+
`meta` | [ProductSearchResponseResourceMeta](ProductSearchResponseResourceMeta.md)
|
|
11
|
+
`aggregations` | [ProductAggregationResource](ProductAggregationResource.md)
|
|
12
|
+
`priceInfo` | [ProductSearchResponseResourcePriceInfo](ProductSearchResponseResourcePriceInfo.md)
|
|
13
|
+
|
|
14
|
+
## Example
|
|
15
|
+
|
|
16
|
+
```typescript
|
|
17
|
+
import type { ProductSearchResponseResource } from '@digital8/lighting-illusions-ts-sdk'
|
|
18
|
+
|
|
19
|
+
// TODO: Update the object below with actual values
|
|
20
|
+
const example = {
|
|
21
|
+
"data": null,
|
|
22
|
+
"meta": null,
|
|
23
|
+
"aggregations": null,
|
|
24
|
+
"priceInfo": null,
|
|
25
|
+
} satisfies ProductSearchResponseResource
|
|
26
|
+
|
|
27
|
+
console.log(example)
|
|
28
|
+
|
|
29
|
+
// Convert the instance to a JSON string
|
|
30
|
+
const exampleJSON: string = JSON.stringify(example)
|
|
31
|
+
console.log(exampleJSON)
|
|
32
|
+
|
|
33
|
+
// Parse the JSON string back to an object
|
|
34
|
+
const exampleParsed = JSON.parse(exampleJSON) as ProductSearchResponseResource
|
|
35
|
+
console.log(exampleParsed)
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
39
|
+
|
|
40
|
+
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
|
|
2
|
+
# ProductSearchResponseResourceArrayResponse
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`data` | [Array<ProductSearchResponseResource>](ProductSearchResponseResource.md)
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import type { ProductSearchResponseResourceArrayResponse } from '@digital8/lighting-illusions-ts-sdk'
|
|
15
|
+
|
|
16
|
+
// TODO: Update the object below with actual values
|
|
17
|
+
const example = {
|
|
18
|
+
"data": null,
|
|
19
|
+
} satisfies ProductSearchResponseResourceArrayResponse
|
|
20
|
+
|
|
21
|
+
console.log(example)
|
|
22
|
+
|
|
23
|
+
// Convert the instance to a JSON string
|
|
24
|
+
const exampleJSON: string = JSON.stringify(example)
|
|
25
|
+
console.log(exampleJSON)
|
|
26
|
+
|
|
27
|
+
// Parse the JSON string back to an object
|
|
28
|
+
const exampleParsed = JSON.parse(exampleJSON) as ProductSearchResponseResourceArrayResponse
|
|
29
|
+
console.log(exampleParsed)
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
33
|
+
|
|
34
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
|
|
2
|
+
# ProductSearchResponseResourceMeta
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`currentPage` | number
|
|
10
|
+
`perPage` | number
|
|
11
|
+
`total` | number
|
|
12
|
+
`lastPage` | number
|
|
13
|
+
|
|
14
|
+
## Example
|
|
15
|
+
|
|
16
|
+
```typescript
|
|
17
|
+
import type { ProductSearchResponseResourceMeta } from '@digital8/lighting-illusions-ts-sdk'
|
|
18
|
+
|
|
19
|
+
// TODO: Update the object below with actual values
|
|
20
|
+
const example = {
|
|
21
|
+
"currentPage": 1,
|
|
22
|
+
"perPage": 24,
|
|
23
|
+
"total": 1500,
|
|
24
|
+
"lastPage": 63,
|
|
25
|
+
} satisfies ProductSearchResponseResourceMeta
|
|
26
|
+
|
|
27
|
+
console.log(example)
|
|
28
|
+
|
|
29
|
+
// Convert the instance to a JSON string
|
|
30
|
+
const exampleJSON: string = JSON.stringify(example)
|
|
31
|
+
console.log(exampleJSON)
|
|
32
|
+
|
|
33
|
+
// Parse the JSON string back to an object
|
|
34
|
+
const exampleParsed = JSON.parse(exampleJSON) as ProductSearchResponseResourceMeta
|
|
35
|
+
console.log(exampleParsed)
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
39
|
+
|
|
40
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
|
|
2
|
+
# ProductSearchResponseResourcePriceInfo
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`minPrice` | number
|
|
10
|
+
`maxPrice` | number
|
|
11
|
+
`lowestPrice` | number
|
|
12
|
+
`highestPrice` | number
|
|
13
|
+
|
|
14
|
+
## Example
|
|
15
|
+
|
|
16
|
+
```typescript
|
|
17
|
+
import type { ProductSearchResponseResourcePriceInfo } from '@digital8/lighting-illusions-ts-sdk'
|
|
18
|
+
|
|
19
|
+
// TODO: Update the object below with actual values
|
|
20
|
+
const example = {
|
|
21
|
+
"minPrice": 49.99,
|
|
22
|
+
"maxPrice": 899.99,
|
|
23
|
+
"lowestPrice": 29.99,
|
|
24
|
+
"highestPrice": 1299.99,
|
|
25
|
+
} satisfies ProductSearchResponseResourcePriceInfo
|
|
26
|
+
|
|
27
|
+
console.log(example)
|
|
28
|
+
|
|
29
|
+
// Convert the instance to a JSON string
|
|
30
|
+
const exampleJSON: string = JSON.stringify(example)
|
|
31
|
+
console.log(exampleJSON)
|
|
32
|
+
|
|
33
|
+
// Parse the JSON string back to an object
|
|
34
|
+
const exampleParsed = JSON.parse(exampleJSON) as ProductSearchResponseResourcePriceInfo
|
|
35
|
+
console.log(exampleParsed)
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
39
|
+
|
|
40
|
+
|