@digital8/lighting-illusions-ts-sdk 0.0.534 → 0.0.536
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 +28 -4
- package/README.md +16 -4
- package/dist/models/ExternalApiLogResource.d.ts +1 -1
- package/dist/models/ExternalApiLogResource.js +1 -3
- 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/ProductCategoryResource.d.ts +14 -0
- package/dist/models/ProductCategoryResource.js +10 -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 +23 -1
- package/dist/models/StoreProductCategoryRequest.js +14 -0
- package/dist/models/StoreProductCategoryRequestAutomationRulesInner.d.ts +27 -2
- package/dist/models/StoreProductCategoryRequestAutomationRulesInner.js +24 -0
- package/dist/models/StoreProductCategoryRequestDescriptionsInner.d.ts +44 -0
- package/dist/models/StoreProductCategoryRequestDescriptionsInner.js +55 -0
- package/dist/models/StoreProductCategoryRequestSeoInner.d.ts +44 -0
- package/dist/models/StoreProductCategoryRequestSeoInner.js +55 -0
- package/dist/models/StoreSupplierRequest.d.ts +6 -6
- package/dist/models/StoreSupplierRequest.js +6 -6
- package/dist/models/UpdateProductCategoryRequest.d.ts +24 -2
- package/dist/models/UpdateProductCategoryRequest.js +17 -1
- package/dist/models/UpdateSupplierRequest.d.ts +6 -6
- package/dist/models/UpdateSupplierRequest.js +6 -6
- package/dist/models/index.d.ts +14 -2
- package/dist/models/index.js +14 -2
- package/docs/PaginatedProductSearchResultResourceResponse.md +36 -0
- package/docs/ProductAggregationResource.md +40 -0
- package/docs/ProductAggregationResourceArrayResponse.md +34 -0
- package/docs/ProductCategoryResource.md +4 -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/docs/StoreProductCategoryRequest.md +4 -0
- package/docs/{StoreSupplierRequestDescriptionsInner.md → StoreProductCategoryRequestDescriptionsInner.md} +4 -4
- package/docs/{StoreSupplierRequestSeoInner.md → StoreProductCategoryRequestSeoInner.md} +4 -4
- package/docs/StoreSupplierRequest.md +2 -2
- package/docs/UpdateProductCategoryRequest.md +4 -0
- package/docs/UpdateSupplierRequest.md +2 -2
- package/package.json +1 -1
- package/src/models/ExternalApiLogResource.ts +2 -3
- package/src/models/PaginatedProductSearchResultResourceResponse.ts +90 -0
- package/src/models/ProductAggregationResource.ts +93 -0
- package/src/models/ProductAggregationResourceArrayResponse.ts +73 -0
- package/src/models/ProductCategoryResource.ts +32 -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 +42 -1
- package/src/models/StoreProductCategoryRequestAutomationRulesInner.ts +31 -2
- package/src/models/StoreProductCategoryRequestDescriptionsInner.ts +82 -0
- package/src/models/{StoreSupplierRequestSeoInner.ts → StoreProductCategoryRequestSeoInner.ts} +13 -13
- package/src/models/StoreSupplierRequest.ts +20 -20
- package/src/models/UpdateProductCategoryRequest.ts +45 -3
- package/src/models/UpdateSupplierRequest.ts +20 -20
- package/src/models/index.ts +14 -2
- package/dist/models/StoreSupplierRequestDescriptionsInner.d.ts +0 -44
- package/dist/models/StoreSupplierRequestDescriptionsInner.js +0 -55
- package/dist/models/StoreSupplierRequestSeoInner.d.ts +0 -44
- package/dist/models/StoreSupplierRequestSeoInner.js +0 -55
- package/src/models/StoreSupplierRequestDescriptionsInner.ts +0 -82
|
@@ -18,8 +18,8 @@ exports.StoreSupplierRequestFromJSON = StoreSupplierRequestFromJSON;
|
|
|
18
18
|
exports.StoreSupplierRequestFromJSONTyped = StoreSupplierRequestFromJSONTyped;
|
|
19
19
|
exports.StoreSupplierRequestToJSON = StoreSupplierRequestToJSON;
|
|
20
20
|
exports.StoreSupplierRequestToJSONTyped = StoreSupplierRequestToJSONTyped;
|
|
21
|
-
var
|
|
22
|
-
var
|
|
21
|
+
var StoreProductCategoryRequestSeoInner_1 = require("./StoreProductCategoryRequestSeoInner");
|
|
22
|
+
var StoreProductCategoryRequestDescriptionsInner_1 = require("./StoreProductCategoryRequestDescriptionsInner");
|
|
23
23
|
/**
|
|
24
24
|
* Check if a given object implements the StoreSupplierRequest interface.
|
|
25
25
|
*/
|
|
@@ -51,11 +51,11 @@ function StoreSupplierRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
51
51
|
'name': json['name'],
|
|
52
52
|
'slug': json['slug'],
|
|
53
53
|
'supplierEta': json['supplier_eta'],
|
|
54
|
-
'seo': (json['seo'].map(
|
|
54
|
+
'seo': (json['seo'].map(StoreProductCategoryRequestSeoInner_1.StoreProductCategoryRequestSeoInnerFromJSON)),
|
|
55
55
|
'altText': json['alt_text'] == null ? undefined : json['alt_text'],
|
|
56
56
|
'mimeType': json['mime_type'],
|
|
57
57
|
'fileId': json['file_id'],
|
|
58
|
-
'descriptions': (json['descriptions'].map(
|
|
58
|
+
'descriptions': (json['descriptions'].map(StoreProductCategoryRequestDescriptionsInner_1.StoreProductCategoryRequestDescriptionsInnerFromJSON)),
|
|
59
59
|
};
|
|
60
60
|
}
|
|
61
61
|
function StoreSupplierRequestToJSON(json) {
|
|
@@ -70,10 +70,10 @@ function StoreSupplierRequestToJSONTyped(value, ignoreDiscriminator) {
|
|
|
70
70
|
'name': value['name'],
|
|
71
71
|
'slug': value['slug'],
|
|
72
72
|
'supplier_eta': value['supplierEta'],
|
|
73
|
-
'seo': (value['seo'].map(
|
|
73
|
+
'seo': (value['seo'].map(StoreProductCategoryRequestSeoInner_1.StoreProductCategoryRequestSeoInnerToJSON)),
|
|
74
74
|
'alt_text': value['altText'],
|
|
75
75
|
'mime_type': value['mimeType'],
|
|
76
76
|
'file_id': value['fileId'],
|
|
77
|
-
'descriptions': (value['descriptions'].map(
|
|
77
|
+
'descriptions': (value['descriptions'].map(StoreProductCategoryRequestDescriptionsInner_1.StoreProductCategoryRequestDescriptionsInnerToJSON)),
|
|
78
78
|
};
|
|
79
79
|
}
|
|
@@ -9,6 +9,8 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import type { StoreProductCategoryRequestSeoInner } from './StoreProductCategoryRequestSeoInner';
|
|
13
|
+
import type { StoreProductCategoryRequestDescriptionsInner } from './StoreProductCategoryRequestDescriptionsInner';
|
|
12
14
|
import type { StoreProductCategoryRequestAutomationRulesInner } from './StoreProductCategoryRequestAutomationRulesInner';
|
|
13
15
|
/**
|
|
14
16
|
*
|
|
@@ -21,7 +23,7 @@ export interface UpdateProductCategoryRequest {
|
|
|
21
23
|
* @type {string}
|
|
22
24
|
* @memberof UpdateProductCategoryRequest
|
|
23
25
|
*/
|
|
24
|
-
siteId
|
|
26
|
+
siteId: string;
|
|
25
27
|
/**
|
|
26
28
|
*
|
|
27
29
|
* @type {string}
|
|
@@ -69,7 +71,7 @@ export interface UpdateProductCategoryRequest {
|
|
|
69
71
|
* @type {string}
|
|
70
72
|
* @memberof UpdateProductCategoryRequest
|
|
71
73
|
*/
|
|
72
|
-
automatedConditionType?:
|
|
74
|
+
automatedConditionType?: UpdateProductCategoryRequestAutomatedConditionTypeEnum;
|
|
73
75
|
/**
|
|
74
76
|
*
|
|
75
77
|
* @type {Array<StoreProductCategoryRequestAutomationRulesInner>}
|
|
@@ -94,7 +96,27 @@ export interface UpdateProductCategoryRequest {
|
|
|
94
96
|
* @memberof UpdateProductCategoryRequest
|
|
95
97
|
*/
|
|
96
98
|
fileId?: number;
|
|
99
|
+
/**
|
|
100
|
+
*
|
|
101
|
+
* @type {Array<StoreProductCategoryRequestSeoInner>}
|
|
102
|
+
* @memberof UpdateProductCategoryRequest
|
|
103
|
+
*/
|
|
104
|
+
seo?: Array<StoreProductCategoryRequestSeoInner>;
|
|
105
|
+
/**
|
|
106
|
+
*
|
|
107
|
+
* @type {Array<StoreProductCategoryRequestDescriptionsInner>}
|
|
108
|
+
* @memberof UpdateProductCategoryRequest
|
|
109
|
+
*/
|
|
110
|
+
descriptions?: Array<StoreProductCategoryRequestDescriptionsInner>;
|
|
97
111
|
}
|
|
112
|
+
/**
|
|
113
|
+
* @export
|
|
114
|
+
*/
|
|
115
|
+
export declare const UpdateProductCategoryRequestAutomatedConditionTypeEnum: {
|
|
116
|
+
readonly And: "and";
|
|
117
|
+
readonly Or: "or";
|
|
118
|
+
};
|
|
119
|
+
export type UpdateProductCategoryRequestAutomatedConditionTypeEnum = typeof UpdateProductCategoryRequestAutomatedConditionTypeEnum[keyof typeof UpdateProductCategoryRequestAutomatedConditionTypeEnum];
|
|
98
120
|
/**
|
|
99
121
|
* Check if a given object implements the UpdateProductCategoryRequest interface.
|
|
100
122
|
*/
|
|
@@ -13,16 +13,28 @@
|
|
|
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;
|
|
22
|
+
var StoreProductCategoryRequestSeoInner_1 = require("./StoreProductCategoryRequestSeoInner");
|
|
23
|
+
var StoreProductCategoryRequestDescriptionsInner_1 = require("./StoreProductCategoryRequestDescriptionsInner");
|
|
21
24
|
var StoreProductCategoryRequestAutomationRulesInner_1 = require("./StoreProductCategoryRequestAutomationRulesInner");
|
|
25
|
+
/**
|
|
26
|
+
* @export
|
|
27
|
+
*/
|
|
28
|
+
exports.UpdateProductCategoryRequestAutomatedConditionTypeEnum = {
|
|
29
|
+
And: 'and',
|
|
30
|
+
Or: 'or'
|
|
31
|
+
};
|
|
22
32
|
/**
|
|
23
33
|
* Check if a given object implements the UpdateProductCategoryRequest interface.
|
|
24
34
|
*/
|
|
25
35
|
function instanceOfUpdateProductCategoryRequest(value) {
|
|
36
|
+
if (!('siteId' in value) || value['siteId'] === undefined)
|
|
37
|
+
return false;
|
|
26
38
|
return true;
|
|
27
39
|
}
|
|
28
40
|
function UpdateProductCategoryRequestFromJSON(json) {
|
|
@@ -33,7 +45,7 @@ function UpdateProductCategoryRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
33
45
|
return json;
|
|
34
46
|
}
|
|
35
47
|
return {
|
|
36
|
-
'siteId': json['site_id']
|
|
48
|
+
'siteId': json['site_id'],
|
|
37
49
|
'name': json['name'] == null ? undefined : json['name'],
|
|
38
50
|
'slug': json['slug'] == null ? undefined : json['slug'],
|
|
39
51
|
'parentId': json['parent_id'] == null ? undefined : json['parent_id'],
|
|
@@ -46,6 +58,8 @@ function UpdateProductCategoryRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
46
58
|
'altText': json['alt_text'] == null ? undefined : json['alt_text'],
|
|
47
59
|
'mimeType': json['mime_type'] == null ? undefined : json['mime_type'],
|
|
48
60
|
'fileId': json['file_id'] == null ? undefined : json['file_id'],
|
|
61
|
+
'seo': json['seo'] == null ? undefined : (json['seo'].map(StoreProductCategoryRequestSeoInner_1.StoreProductCategoryRequestSeoInnerFromJSON)),
|
|
62
|
+
'descriptions': json['descriptions'] == null ? undefined : (json['descriptions'].map(StoreProductCategoryRequestDescriptionsInner_1.StoreProductCategoryRequestDescriptionsInnerFromJSON)),
|
|
49
63
|
};
|
|
50
64
|
}
|
|
51
65
|
function UpdateProductCategoryRequestToJSON(json) {
|
|
@@ -70,5 +84,7 @@ function UpdateProductCategoryRequestToJSONTyped(value, ignoreDiscriminator) {
|
|
|
70
84
|
'alt_text': value['altText'],
|
|
71
85
|
'mime_type': value['mimeType'],
|
|
72
86
|
'file_id': value['fileId'],
|
|
87
|
+
'seo': value['seo'] == null ? undefined : (value['seo'].map(StoreProductCategoryRequestSeoInner_1.StoreProductCategoryRequestSeoInnerToJSON)),
|
|
88
|
+
'descriptions': value['descriptions'] == null ? undefined : (value['descriptions'].map(StoreProductCategoryRequestDescriptionsInner_1.StoreProductCategoryRequestDescriptionsInnerToJSON)),
|
|
73
89
|
};
|
|
74
90
|
}
|
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import type {
|
|
13
|
-
import type {
|
|
12
|
+
import type { StoreProductCategoryRequestSeoInner } from './StoreProductCategoryRequestSeoInner';
|
|
13
|
+
import type { StoreProductCategoryRequestDescriptionsInner } from './StoreProductCategoryRequestDescriptionsInner';
|
|
14
14
|
/**
|
|
15
15
|
*
|
|
16
16
|
* @export
|
|
@@ -37,10 +37,10 @@ export interface UpdateSupplierRequest {
|
|
|
37
37
|
supplierEta: number;
|
|
38
38
|
/**
|
|
39
39
|
*
|
|
40
|
-
* @type {Array<
|
|
40
|
+
* @type {Array<StoreProductCategoryRequestSeoInner>}
|
|
41
41
|
* @memberof UpdateSupplierRequest
|
|
42
42
|
*/
|
|
43
|
-
seo: Array<
|
|
43
|
+
seo: Array<StoreProductCategoryRequestSeoInner>;
|
|
44
44
|
/**
|
|
45
45
|
*
|
|
46
46
|
* @type {string}
|
|
@@ -61,10 +61,10 @@ export interface UpdateSupplierRequest {
|
|
|
61
61
|
fileId: number;
|
|
62
62
|
/**
|
|
63
63
|
*
|
|
64
|
-
* @type {Array<
|
|
64
|
+
* @type {Array<StoreProductCategoryRequestDescriptionsInner>}
|
|
65
65
|
* @memberof UpdateSupplierRequest
|
|
66
66
|
*/
|
|
67
|
-
descriptions: Array<
|
|
67
|
+
descriptions: Array<StoreProductCategoryRequestDescriptionsInner>;
|
|
68
68
|
}
|
|
69
69
|
/**
|
|
70
70
|
* Check if a given object implements the UpdateSupplierRequest interface.
|
|
@@ -18,8 +18,8 @@ exports.UpdateSupplierRequestFromJSON = UpdateSupplierRequestFromJSON;
|
|
|
18
18
|
exports.UpdateSupplierRequestFromJSONTyped = UpdateSupplierRequestFromJSONTyped;
|
|
19
19
|
exports.UpdateSupplierRequestToJSON = UpdateSupplierRequestToJSON;
|
|
20
20
|
exports.UpdateSupplierRequestToJSONTyped = UpdateSupplierRequestToJSONTyped;
|
|
21
|
-
var
|
|
22
|
-
var
|
|
21
|
+
var StoreProductCategoryRequestSeoInner_1 = require("./StoreProductCategoryRequestSeoInner");
|
|
22
|
+
var StoreProductCategoryRequestDescriptionsInner_1 = require("./StoreProductCategoryRequestDescriptionsInner");
|
|
23
23
|
/**
|
|
24
24
|
* Check if a given object implements the UpdateSupplierRequest interface.
|
|
25
25
|
*/
|
|
@@ -51,11 +51,11 @@ function UpdateSupplierRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
51
51
|
'name': json['name'],
|
|
52
52
|
'slug': json['slug'],
|
|
53
53
|
'supplierEta': json['supplier_eta'],
|
|
54
|
-
'seo': (json['seo'].map(
|
|
54
|
+
'seo': (json['seo'].map(StoreProductCategoryRequestSeoInner_1.StoreProductCategoryRequestSeoInnerFromJSON)),
|
|
55
55
|
'altText': json['alt_text'] == null ? undefined : json['alt_text'],
|
|
56
56
|
'mimeType': json['mime_type'],
|
|
57
57
|
'fileId': json['file_id'],
|
|
58
|
-
'descriptions': (json['descriptions'].map(
|
|
58
|
+
'descriptions': (json['descriptions'].map(StoreProductCategoryRequestDescriptionsInner_1.StoreProductCategoryRequestDescriptionsInnerFromJSON)),
|
|
59
59
|
};
|
|
60
60
|
}
|
|
61
61
|
function UpdateSupplierRequestToJSON(json) {
|
|
@@ -70,10 +70,10 @@ function UpdateSupplierRequestToJSONTyped(value, ignoreDiscriminator) {
|
|
|
70
70
|
'name': value['name'],
|
|
71
71
|
'slug': value['slug'],
|
|
72
72
|
'supplier_eta': value['supplierEta'],
|
|
73
|
-
'seo': (value['seo'].map(
|
|
73
|
+
'seo': (value['seo'].map(StoreProductCategoryRequestSeoInner_1.StoreProductCategoryRequestSeoInnerToJSON)),
|
|
74
74
|
'alt_text': value['altText'],
|
|
75
75
|
'mime_type': value['mimeType'],
|
|
76
76
|
'file_id': value['fileId'],
|
|
77
|
-
'descriptions': (value['descriptions'].map(
|
|
77
|
+
'descriptions': (value['descriptions'].map(StoreProductCategoryRequestDescriptionsInner_1.StoreProductCategoryRequestDescriptionsInnerToJSON)),
|
|
78
78
|
};
|
|
79
79
|
}
|
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';
|
|
@@ -180,6 +192,8 @@ export * from './StoreOverlayTemplateAssetRequest';
|
|
|
180
192
|
export * from './StoreOverlayTemplateRequest';
|
|
181
193
|
export * from './StoreProductCategoryRequest';
|
|
182
194
|
export * from './StoreProductCategoryRequestAutomationRulesInner';
|
|
195
|
+
export * from './StoreProductCategoryRequestDescriptionsInner';
|
|
196
|
+
export * from './StoreProductCategoryRequestSeoInner';
|
|
183
197
|
export * from './StoreProductChildRequest';
|
|
184
198
|
export * from './StoreProductChildRequestAssetsInner';
|
|
185
199
|
export * from './StoreProductChildRequestAttributeValuesInner';
|
|
@@ -189,8 +203,6 @@ export * from './StoreProductRequestCategoriesInner';
|
|
|
189
203
|
export * from './StoreProductTypeRequest';
|
|
190
204
|
export * from './StoreSiteNotificationRequest';
|
|
191
205
|
export * from './StoreSupplierRequest';
|
|
192
|
-
export * from './StoreSupplierRequestDescriptionsInner';
|
|
193
|
-
export * from './StoreSupplierRequestSeoInner';
|
|
194
206
|
export * from './StoreTagRequest';
|
|
195
207
|
export * from './SupplierFrontendResource';
|
|
196
208
|
export * from './SupplierFrontendResourceArrayResponse';
|
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);
|
|
@@ -198,6 +210,8 @@ __exportStar(require("./StoreOverlayTemplateAssetRequest"), exports);
|
|
|
198
210
|
__exportStar(require("./StoreOverlayTemplateRequest"), exports);
|
|
199
211
|
__exportStar(require("./StoreProductCategoryRequest"), exports);
|
|
200
212
|
__exportStar(require("./StoreProductCategoryRequestAutomationRulesInner"), exports);
|
|
213
|
+
__exportStar(require("./StoreProductCategoryRequestDescriptionsInner"), exports);
|
|
214
|
+
__exportStar(require("./StoreProductCategoryRequestSeoInner"), exports);
|
|
201
215
|
__exportStar(require("./StoreProductChildRequest"), exports);
|
|
202
216
|
__exportStar(require("./StoreProductChildRequestAssetsInner"), exports);
|
|
203
217
|
__exportStar(require("./StoreProductChildRequestAttributeValuesInner"), exports);
|
|
@@ -207,8 +221,6 @@ __exportStar(require("./StoreProductRequestCategoriesInner"), exports);
|
|
|
207
221
|
__exportStar(require("./StoreProductTypeRequest"), exports);
|
|
208
222
|
__exportStar(require("./StoreSiteNotificationRequest"), exports);
|
|
209
223
|
__exportStar(require("./StoreSupplierRequest"), exports);
|
|
210
|
-
__exportStar(require("./StoreSupplierRequestDescriptionsInner"), exports);
|
|
211
|
-
__exportStar(require("./StoreSupplierRequestSeoInner"), exports);
|
|
212
224
|
__exportStar(require("./StoreTagRequest"), exports);
|
|
213
225
|
__exportStar(require("./SupplierFrontendResource"), exports);
|
|
214
226
|
__exportStar(require("./SupplierFrontendResourceArrayResponse"), 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
|
+
|
|
@@ -19,6 +19,8 @@ Name | Type
|
|
|
19
19
|
`automationRules` | object
|
|
20
20
|
`parent` | [ProductCategoryLiteResource](ProductCategoryLiteResource.md)
|
|
21
21
|
`site` | [SiteLiteResource](SiteLiteResource.md)
|
|
22
|
+
`seo` | [Array<SEOResource>](SEOResource.md)
|
|
23
|
+
`descriptions` | [Array<DescriptionResource>](DescriptionResource.md)
|
|
22
24
|
|
|
23
25
|
## Example
|
|
24
26
|
|
|
@@ -40,6 +42,8 @@ const example = {
|
|
|
40
42
|
"automationRules": null,
|
|
41
43
|
"parent": null,
|
|
42
44
|
"site": null,
|
|
45
|
+
"seo": null,
|
|
46
|
+
"descriptions": null,
|
|
43
47
|
} satisfies ProductCategoryResource
|
|
44
48
|
|
|
45
49
|
console.log(example)
|
|
@@ -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
|
+
|