@digital8/lighting-illusions-ts-sdk 0.0.1213 → 0.0.1214
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 +72 -2
- package/README.md +54 -3
- package/dist/apis/AttributeApi.d.ts +16 -1
- package/dist/apis/AttributeApi.js +58 -0
- package/dist/apis/ProductRangeApi.d.ts +269 -0
- package/dist/apis/ProductRangeApi.js +1043 -0
- package/dist/apis/index.d.ts +1 -0
- package/dist/apis/index.js +1 -0
- package/dist/models/AttachAccessoriesProductRangeRequest.d.ts +32 -0
- package/dist/models/AttachAccessoriesProductRangeRequest.js +51 -0
- package/dist/models/AttachAttributesProductRangeRequest.d.ts +33 -0
- package/dist/models/AttachAttributesProductRangeRequest.js +52 -0
- package/dist/models/AttachAttributesProductRangeRequestAttributesInner.d.ts +38 -0
- package/dist/models/AttachAttributesProductRangeRequestAttributesInner.js +53 -0
- package/dist/models/AttachDocumentablesDocumentRequestDocumentablesInner.d.ts +1 -0
- package/dist/models/AttachDocumentablesDocumentRequestDocumentablesInner.js +1 -0
- package/dist/models/AttachDocumentsProductRangeRequest.d.ts +33 -0
- package/dist/models/AttachDocumentsProductRangeRequest.js +52 -0
- package/dist/models/DetachAccessoriesProductRangeRequest.d.ts +32 -0
- package/dist/models/DetachAccessoriesProductRangeRequest.js +51 -0
- package/dist/models/DetachAttributesProductRangeRequest.d.ts +32 -0
- package/dist/models/DetachAttributesProductRangeRequest.js +51 -0
- package/dist/models/DetachDocumentablesDocumentRequestDocumentablesInner.d.ts +1 -0
- package/dist/models/DetachDocumentablesDocumentRequestDocumentablesInner.js +1 -0
- package/dist/models/DetachDocumentsProductRangeRequest.d.ts +32 -0
- package/dist/models/DetachDocumentsProductRangeRequest.js +51 -0
- package/dist/models/ExternalApiLogResource.d.ts +1 -1
- package/dist/models/ExternalApiLogResource.js +1 -3
- package/dist/models/GetAllDocumentRequest.d.ts +1 -0
- package/dist/models/GetAllDocumentRequest.js +1 -0
- package/dist/models/GetAllProductChildRequest.d.ts +1 -0
- package/dist/models/GetAllProductChildRequest.js +1 -0
- package/dist/models/GetAllProductRangeRequest.d.ts +98 -0
- package/dist/models/GetAllProductRangeRequest.js +82 -0
- package/dist/models/IndexAttributeRequest.d.ts +2 -0
- package/dist/models/IndexAttributeRequest.js +3 -1
- package/dist/models/IndexDocumentRequest.d.ts +1 -0
- package/dist/models/IndexDocumentRequest.js +1 -0
- package/dist/models/IndexModelAttributeRequest.d.ts +118 -0
- package/dist/models/IndexModelAttributeRequest.js +93 -0
- package/dist/models/IndexProductChildRequest.d.ts +1 -0
- package/dist/models/IndexProductChildRequest.js +1 -0
- package/dist/models/IndexProductRangeRequest.d.ts +110 -0
- package/dist/models/IndexProductRangeRequest.js +86 -0
- package/dist/models/ModelAttributeListResource.d.ts +64 -0
- package/dist/models/ModelAttributeListResource.js +71 -0
- package/dist/models/ModelAttributeListResourceArrayResponse.d.ts +33 -0
- package/dist/models/ModelAttributeListResourceArrayResponse.js +50 -0
- package/dist/models/ModelAttributeResource.d.ts +6 -0
- package/dist/models/ModelAttributeResource.js +2 -0
- package/dist/models/PaginatedModelAttributeListResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedModelAttributeListResourceResponse.js +57 -0
- package/dist/models/PaginatedProductRangeFrontendListResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedProductRangeFrontendListResourceResponse.js +57 -0
- package/dist/models/PaginatedProductRangeListResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedProductRangeListResourceResponse.js +57 -0
- package/dist/models/PaginatedProductRangeLiteResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedProductRangeLiteResourceResponse.js +57 -0
- package/dist/models/PaginatedProductRangeResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedProductRangeResourceResponse.js +57 -0
- package/dist/models/ProductRangeFrontendListResource.d.ts +62 -0
- package/dist/models/ProductRangeFrontendListResource.js +71 -0
- package/dist/models/ProductRangeFrontendListResourceArrayResponse.d.ts +33 -0
- package/dist/models/ProductRangeFrontendListResourceArrayResponse.js +50 -0
- package/dist/models/ProductRangeFrontendResource.d.ts +118 -0
- package/dist/models/ProductRangeFrontendResource.js +109 -0
- package/dist/models/ProductRangeFrontendResourceArrayResponse.d.ts +33 -0
- package/dist/models/ProductRangeFrontendResourceArrayResponse.js +50 -0
- package/dist/models/ProductRangeListResource.d.ts +66 -0
- package/dist/models/ProductRangeListResource.js +75 -0
- package/dist/models/ProductRangeListResourceArrayResponse.d.ts +33 -0
- package/dist/models/ProductRangeListResourceArrayResponse.js +50 -0
- package/dist/models/ProductRangeLiteResource.d.ts +38 -0
- package/dist/models/ProductRangeLiteResource.js +55 -0
- package/dist/models/ProductRangeLiteResourceArrayResponse.d.ts +33 -0
- package/dist/models/ProductRangeLiteResourceArrayResponse.js +50 -0
- package/dist/models/ProductRangeResource.d.ts +89 -0
- package/dist/models/ProductRangeResource.js +86 -0
- package/dist/models/ProductRangeResourceArrayResponse.d.ts +33 -0
- package/dist/models/ProductRangeResourceArrayResponse.js +50 -0
- package/dist/models/ProductRangeSiteDetailLiteResource.d.ts +44 -0
- package/dist/models/ProductRangeSiteDetailLiteResource.js +59 -0
- package/dist/models/ProductRangeSiteDetailLiteResourceArrayResponse.d.ts +33 -0
- package/dist/models/ProductRangeSiteDetailLiteResourceArrayResponse.js +50 -0
- package/dist/models/ProductRangeSiteDetailResource.d.ts +101 -0
- package/dist/models/ProductRangeSiteDetailResource.js +98 -0
- package/dist/models/ProductRangeSiteDetailResourceArrayResponse.d.ts +33 -0
- package/dist/models/ProductRangeSiteDetailResourceArrayResponse.js +50 -0
- package/dist/models/StoreAssetForAssetableRequest.d.ts +3 -0
- package/dist/models/StoreAssetForAssetableRequest.js +4 -1
- package/dist/models/StoreProductRangeRequest.d.ts +52 -0
- package/dist/models/StoreProductRangeRequest.js +59 -0
- package/dist/models/StoreProductRangeRequestSitesInner.d.ts +92 -0
- package/dist/models/StoreProductRangeRequestSitesInner.js +75 -0
- package/dist/models/UpdateProductRangeRequest.d.ts +59 -0
- package/dist/models/UpdateProductRangeRequest.js +62 -0
- package/dist/models/UpdateProductRangeRequestAttributesInner.d.ts +38 -0
- package/dist/models/UpdateProductRangeRequestAttributesInner.js +51 -0
- package/dist/models/UpdateProductTypeRequest.d.ts +9 -9
- package/dist/models/UpdateProductTypeRequest.js +9 -9
- package/dist/models/index.d.ts +35 -1
- package/dist/models/index.js +35 -1
- package/docs/AttachAccessoriesProductRangeRequest.md +34 -0
- package/docs/AttachAttributesProductRangeRequest.md +34 -0
- package/docs/AttachAttributesProductRangeRequestAttributesInner.md +36 -0
- package/docs/AttachDocumentsProductRangeRequest.md +34 -0
- package/docs/AttributeApi.md +66 -0
- package/docs/DetachAccessoriesProductRangeRequest.md +34 -0
- package/docs/DetachAttributesProductRangeRequest.md +34 -0
- package/docs/DetachDocumentsProductRangeRequest.md +34 -0
- package/docs/GetAllProductRangeRequest.md +50 -0
- package/docs/IndexModelAttributeRequest.md +54 -0
- package/docs/IndexProductRangeRequest.md +54 -0
- package/docs/ModelAttributeListResource.md +44 -0
- package/docs/ModelAttributeListResourceArrayResponse.md +34 -0
- package/docs/ModelAttributeResource.md +2 -0
- package/docs/PaginatedModelAttributeListResourceResponse.md +36 -0
- package/docs/PaginatedProductRangeFrontendListResourceResponse.md +36 -0
- package/docs/PaginatedProductRangeListResourceResponse.md +36 -0
- package/docs/PaginatedProductRangeLiteResourceResponse.md +36 -0
- package/docs/PaginatedProductRangeResourceResponse.md +36 -0
- package/docs/ProductRangeApi.md +1097 -0
- package/docs/ProductRangeFrontendListResource.md +44 -0
- package/docs/ProductRangeFrontendListResourceArrayResponse.md +34 -0
- package/docs/ProductRangeFrontendResource.md +62 -0
- package/docs/ProductRangeFrontendResourceArrayResponse.md +34 -0
- package/docs/ProductRangeListResource.md +44 -0
- package/docs/ProductRangeListResourceArrayResponse.md +34 -0
- package/docs/ProductRangeLiteResource.md +36 -0
- package/docs/ProductRangeLiteResourceArrayResponse.md +34 -0
- package/docs/ProductRangeResource.md +52 -0
- package/docs/ProductRangeResourceArrayResponse.md +34 -0
- package/docs/ProductRangeSiteDetailLiteResource.md +38 -0
- package/docs/ProductRangeSiteDetailLiteResourceArrayResponse.md +34 -0
- package/docs/ProductRangeSiteDetailResource.md +56 -0
- package/docs/ProductRangeSiteDetailResourceArrayResponse.md +34 -0
- package/docs/StoreProductRangeRequest.md +40 -0
- package/docs/StoreProductRangeRequestSitesInner.md +54 -0
- package/docs/UpdateProductRangeRequest.md +42 -0
- package/docs/{UpdateProductTypeRequestPerformanceValuesInner.md → UpdateProductRangeRequestAttributesInner.md} +4 -4
- package/docs/UpdateProductTypeRequest.md +4 -4
- package/package.json +1 -1
- package/src/apis/AttributeApi.ts +50 -0
- package/src/apis/ProductRangeApi.ts +888 -0
- package/src/apis/index.ts +1 -0
- package/src/models/AttachAccessoriesProductRangeRequest.ts +66 -0
- package/src/models/AttachAttributesProductRangeRequest.ts +74 -0
- package/src/models/AttachAttributesProductRangeRequestAttributesInner.ts +74 -0
- package/src/models/AttachDocumentablesDocumentRequestDocumentablesInner.ts +1 -0
- package/src/models/AttachDocumentsProductRangeRequest.ts +74 -0
- package/src/models/DetachAccessoriesProductRangeRequest.ts +66 -0
- package/src/models/DetachAttributesProductRangeRequest.ts +66 -0
- package/src/models/DetachDocumentablesDocumentRequestDocumentablesInner.ts +1 -0
- package/src/models/DetachDocumentsProductRangeRequest.ts +66 -0
- package/src/models/ExternalApiLogResource.ts +2 -3
- package/src/models/GetAllDocumentRequest.ts +1 -0
- package/src/models/GetAllProductChildRequest.ts +1 -0
- package/src/models/GetAllProductRangeRequest.ts +151 -0
- package/src/models/IndexAttributeRequest.ts +3 -1
- package/src/models/IndexDocumentRequest.ts +1 -0
- package/src/models/IndexModelAttributeRequest.ts +176 -0
- package/src/models/IndexProductChildRequest.ts +1 -0
- package/src/models/IndexProductRangeRequest.ts +167 -0
- package/src/models/ModelAttributeListResource.ts +125 -0
- package/src/models/ModelAttributeListResourceArrayResponse.ts +73 -0
- package/src/models/ModelAttributeResource.ts +8 -0
- package/src/models/PaginatedModelAttributeListResourceResponse.ts +90 -0
- package/src/models/PaginatedProductRangeFrontendListResourceResponse.ts +90 -0
- package/src/models/PaginatedProductRangeListResourceResponse.ts +90 -0
- package/src/models/PaginatedProductRangeLiteResourceResponse.ts +90 -0
- package/src/models/PaginatedProductRangeResourceResponse.ts +90 -0
- package/src/models/ProductRangeFrontendListResource.ts +111 -0
- package/src/models/ProductRangeFrontendListResourceArrayResponse.ts +73 -0
- package/src/models/ProductRangeFrontendResource.ts +207 -0
- package/src/models/ProductRangeFrontendResourceArrayResponse.ts +73 -0
- package/src/models/ProductRangeListResource.ts +140 -0
- package/src/models/ProductRangeListResourceArrayResponse.ts +73 -0
- package/src/models/ProductRangeLiteResource.ts +75 -0
- package/src/models/ProductRangeLiteResourceArrayResponse.ts +73 -0
- package/src/models/ProductRangeResource.ts +167 -0
- package/src/models/ProductRangeResourceArrayResponse.ts +73 -0
- package/src/models/ProductRangeSiteDetailLiteResource.ts +84 -0
- package/src/models/ProductRangeSiteDetailLiteResourceArrayResponse.ts +73 -0
- package/src/models/ProductRangeSiteDetailResource.ts +187 -0
- package/src/models/ProductRangeSiteDetailResourceArrayResponse.ts +73 -0
- package/src/models/StoreAssetForAssetableRequest.ts +4 -1
- package/src/models/StoreProductRangeRequest.ts +105 -0
- package/src/models/StoreProductRangeRequestSitesInner.ts +148 -0
- package/src/models/UpdateProductRangeRequest.ts +120 -0
- package/src/models/UpdateProductRangeRequestAttributesInner.ts +73 -0
- package/src/models/UpdateProductTypeRequest.ts +22 -22
- package/src/models/index.ts +35 -1
- package/dist/models/UpdateProductTypeRequestPerformanceValuesInner.d.ts +0 -38
- package/dist/models/UpdateProductTypeRequestPerformanceValuesInner.js +0 -51
- package/src/models/UpdateProductTypeRequestPerformanceValuesInner.ts +0 -73
package/dist/models/index.js
CHANGED
|
@@ -27,12 +27,16 @@ __exportStar(require("./AssetResourceArrayResponse"), exports);
|
|
|
27
27
|
__exportStar(require("./AssetWithOverlayLinkResource"), exports);
|
|
28
28
|
__exportStar(require("./AssetWithOverlayLinkResourceArrayResponse"), exports);
|
|
29
29
|
__exportStar(require("./AttachAccessoriesProductChildRequest"), exports);
|
|
30
|
+
__exportStar(require("./AttachAccessoriesProductRangeRequest"), exports);
|
|
30
31
|
__exportStar(require("./AttachAssetsOverlayTemplateRequest"), exports);
|
|
31
32
|
__exportStar(require("./AttachAttributeProductTypeRequest"), exports);
|
|
33
|
+
__exportStar(require("./AttachAttributesProductRangeRequest"), exports);
|
|
34
|
+
__exportStar(require("./AttachAttributesProductRangeRequestAttributesInner"), exports);
|
|
32
35
|
__exportStar(require("./AttachDocumentablesDocumentRequest"), exports);
|
|
33
36
|
__exportStar(require("./AttachDocumentablesDocumentRequestDocumentablesInner"), exports);
|
|
34
37
|
__exportStar(require("./AttachDocumentsProductChildRequest"), exports);
|
|
35
38
|
__exportStar(require("./AttachDocumentsProductChildRequestDocumentsInner"), exports);
|
|
39
|
+
__exportStar(require("./AttachDocumentsProductRangeRequest"), exports);
|
|
36
40
|
__exportStar(require("./AttachProductTypeAttributeRequest"), exports);
|
|
37
41
|
__exportStar(require("./AttachProductsProductCategoryRequest"), exports);
|
|
38
42
|
__exportStar(require("./AttributeFieldType"), exports);
|
|
@@ -64,10 +68,13 @@ __exportStar(require("./DefinitionResourceArrayResponse"), exports);
|
|
|
64
68
|
__exportStar(require("./DescriptionResource"), exports);
|
|
65
69
|
__exportStar(require("./DescriptionResourceArrayResponse"), exports);
|
|
66
70
|
__exportStar(require("./DestroyAttributeValueRequest"), exports);
|
|
71
|
+
__exportStar(require("./DetachAccessoriesProductRangeRequest"), exports);
|
|
67
72
|
__exportStar(require("./DetachAssetableOverlayTemplateRequest"), exports);
|
|
73
|
+
__exportStar(require("./DetachAttributesProductRangeRequest"), exports);
|
|
68
74
|
__exportStar(require("./DetachDocumentablesDocumentRequest"), exports);
|
|
69
75
|
__exportStar(require("./DetachDocumentablesDocumentRequestDocumentablesInner"), exports);
|
|
70
76
|
__exportStar(require("./DetachDocumentsProductChildRequest"), exports);
|
|
77
|
+
__exportStar(require("./DetachDocumentsProductRangeRequest"), exports);
|
|
71
78
|
__exportStar(require("./DetachProductsProductCategoryRequest"), exports);
|
|
72
79
|
__exportStar(require("./DocumentFileForUploadResource"), exports);
|
|
73
80
|
__exportStar(require("./DocumentFileForUploadResourceArrayResponse"), exports);
|
|
@@ -92,6 +99,7 @@ __exportStar(require("./GetAllGoogleCategoryRequest"), exports);
|
|
|
92
99
|
__exportStar(require("./GetAllOverlayTemplateRequest"), exports);
|
|
93
100
|
__exportStar(require("./GetAllProductCategoryRequest"), exports);
|
|
94
101
|
__exportStar(require("./GetAllProductChildRequest"), exports);
|
|
102
|
+
__exportStar(require("./GetAllProductRangeRequest"), exports);
|
|
95
103
|
__exportStar(require("./GetAllProductRequest"), exports);
|
|
96
104
|
__exportStar(require("./GetAllProductTypeRequest"), exports);
|
|
97
105
|
__exportStar(require("./GetAllSupplierRequest"), exports);
|
|
@@ -112,9 +120,11 @@ __exportStar(require("./IndexAttributeValueRequest"), exports);
|
|
|
112
120
|
__exportStar(require("./IndexDefinitionRequest"), exports);
|
|
113
121
|
__exportStar(require("./IndexDocumentRequest"), exports);
|
|
114
122
|
__exportStar(require("./IndexExternalApiLogRequest"), exports);
|
|
123
|
+
__exportStar(require("./IndexModelAttributeRequest"), exports);
|
|
115
124
|
__exportStar(require("./IndexOverlayTemplateRequest"), exports);
|
|
116
125
|
__exportStar(require("./IndexProductCategoryRequest"), exports);
|
|
117
126
|
__exportStar(require("./IndexProductChildRequest"), exports);
|
|
127
|
+
__exportStar(require("./IndexProductRangeRequest"), exports);
|
|
118
128
|
__exportStar(require("./IndexProductRequest"), exports);
|
|
119
129
|
__exportStar(require("./IndexProductTypeRequest"), exports);
|
|
120
130
|
__exportStar(require("./IndexSiteNotificationRequest"), exports);
|
|
@@ -123,6 +133,8 @@ __exportStar(require("./IndexSupplierRequest"), exports);
|
|
|
123
133
|
__exportStar(require("./IndexTagRequest"), exports);
|
|
124
134
|
__exportStar(require("./LabelResource"), exports);
|
|
125
135
|
__exportStar(require("./LabelResourceArrayResponse"), exports);
|
|
136
|
+
__exportStar(require("./ModelAttributeListResource"), exports);
|
|
137
|
+
__exportStar(require("./ModelAttributeListResourceArrayResponse"), exports);
|
|
126
138
|
__exportStar(require("./ModelAttributeResource"), exports);
|
|
127
139
|
__exportStar(require("./ModelAttributeResourceArrayResponse"), exports);
|
|
128
140
|
__exportStar(require("./OverlayTemplateAssetFrontendResource"), exports);
|
|
@@ -148,6 +160,7 @@ __exportStar(require("./PaginatedDocumentResourceResponse"), exports);
|
|
|
148
160
|
__exportStar(require("./PaginatedExternalApiLogListResourceResponse"), exports);
|
|
149
161
|
__exportStar(require("./PaginatedExternalApiLogResourceResponse"), exports);
|
|
150
162
|
__exportStar(require("./PaginatedGoogleCategoryResourceResponse"), exports);
|
|
163
|
+
__exportStar(require("./PaginatedModelAttributeListResourceResponse"), exports);
|
|
151
164
|
__exportStar(require("./PaginatedOverlayTemplateListResourceResponse"), exports);
|
|
152
165
|
__exportStar(require("./PaginatedOverlayTemplateLiteResourceResponse"), exports);
|
|
153
166
|
__exportStar(require("./PaginatedOverlayTemplateResourceResponse"), exports);
|
|
@@ -160,6 +173,10 @@ __exportStar(require("./PaginatedProductChildRelationResourceResponse"), exports
|
|
|
160
173
|
__exportStar(require("./PaginatedProductChildResourceResponse"), exports);
|
|
161
174
|
__exportStar(require("./PaginatedProductListResourceResponse"), exports);
|
|
162
175
|
__exportStar(require("./PaginatedProductLiteResourceResponse"), exports);
|
|
176
|
+
__exportStar(require("./PaginatedProductRangeFrontendListResourceResponse"), exports);
|
|
177
|
+
__exportStar(require("./PaginatedProductRangeListResourceResponse"), exports);
|
|
178
|
+
__exportStar(require("./PaginatedProductRangeLiteResourceResponse"), exports);
|
|
179
|
+
__exportStar(require("./PaginatedProductRangeResourceResponse"), exports);
|
|
163
180
|
__exportStar(require("./PaginatedProductResourceResponse"), exports);
|
|
164
181
|
__exportStar(require("./PaginatedProductSearchResultResourceResponse"), exports);
|
|
165
182
|
__exportStar(require("./PaginatedProductTypeListResourceResponse"), exports);
|
|
@@ -218,6 +235,20 @@ __exportStar(require("./ProductListResource"), exports);
|
|
|
218
235
|
__exportStar(require("./ProductListResourceArrayResponse"), exports);
|
|
219
236
|
__exportStar(require("./ProductLiteResource"), exports);
|
|
220
237
|
__exportStar(require("./ProductLiteResourceArrayResponse"), exports);
|
|
238
|
+
__exportStar(require("./ProductRangeFrontendListResource"), exports);
|
|
239
|
+
__exportStar(require("./ProductRangeFrontendListResourceArrayResponse"), exports);
|
|
240
|
+
__exportStar(require("./ProductRangeFrontendResource"), exports);
|
|
241
|
+
__exportStar(require("./ProductRangeFrontendResourceArrayResponse"), exports);
|
|
242
|
+
__exportStar(require("./ProductRangeListResource"), exports);
|
|
243
|
+
__exportStar(require("./ProductRangeListResourceArrayResponse"), exports);
|
|
244
|
+
__exportStar(require("./ProductRangeLiteResource"), exports);
|
|
245
|
+
__exportStar(require("./ProductRangeLiteResourceArrayResponse"), exports);
|
|
246
|
+
__exportStar(require("./ProductRangeResource"), exports);
|
|
247
|
+
__exportStar(require("./ProductRangeResourceArrayResponse"), exports);
|
|
248
|
+
__exportStar(require("./ProductRangeSiteDetailLiteResource"), exports);
|
|
249
|
+
__exportStar(require("./ProductRangeSiteDetailLiteResourceArrayResponse"), exports);
|
|
250
|
+
__exportStar(require("./ProductRangeSiteDetailResource"), exports);
|
|
251
|
+
__exportStar(require("./ProductRangeSiteDetailResourceArrayResponse"), exports);
|
|
221
252
|
__exportStar(require("./ProductRating"), exports);
|
|
222
253
|
__exportStar(require("./ProductResource"), exports);
|
|
223
254
|
__exportStar(require("./ProductResourceArrayResponse"), exports);
|
|
@@ -269,6 +300,8 @@ __exportStar(require("./StoreProductChildRequest"), exports);
|
|
|
269
300
|
__exportStar(require("./StoreProductChildRequestAssetsInner"), exports);
|
|
270
301
|
__exportStar(require("./StoreProductChildRequestAttributeValuesInner"), exports);
|
|
271
302
|
__exportStar(require("./StoreProductChildRequestSitesInner"), exports);
|
|
303
|
+
__exportStar(require("./StoreProductRangeRequest"), exports);
|
|
304
|
+
__exportStar(require("./StoreProductRangeRequestSitesInner"), exports);
|
|
272
305
|
__exportStar(require("./StoreProductRequest"), exports);
|
|
273
306
|
__exportStar(require("./StoreProductRequestCategoriesInner"), exports);
|
|
274
307
|
__exportStar(require("./StoreProductTypeRequest"), exports);
|
|
@@ -305,9 +338,10 @@ __exportStar(require("./UpdateOverlayTemplateRequest"), exports);
|
|
|
305
338
|
__exportStar(require("./UpdateProductCategoryRequest"), exports);
|
|
306
339
|
__exportStar(require("./UpdateProductChildRequest"), exports);
|
|
307
340
|
__exportStar(require("./UpdateProductChildRequestAssetsInner"), exports);
|
|
341
|
+
__exportStar(require("./UpdateProductRangeRequest"), exports);
|
|
342
|
+
__exportStar(require("./UpdateProductRangeRequestAttributesInner"), exports);
|
|
308
343
|
__exportStar(require("./UpdateProductRequest"), exports);
|
|
309
344
|
__exportStar(require("./UpdateProductTypeRequest"), exports);
|
|
310
|
-
__exportStar(require("./UpdateProductTypeRequestPerformanceValuesInner"), exports);
|
|
311
345
|
__exportStar(require("./UpdateSiteNotificationRequest"), exports);
|
|
312
346
|
__exportStar(require("./UpdateSiteRequest"), exports);
|
|
313
347
|
__exportStar(require("./UpdateSupplierRequest"), exports);
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
|
|
2
|
+
# AttachAccessoriesProductRangeRequest
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`productChildIds` | Array<number>
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import type { AttachAccessoriesProductRangeRequest } from '@digital8/lighting-illusions-ts-sdk'
|
|
15
|
+
|
|
16
|
+
// TODO: Update the object below with actual values
|
|
17
|
+
const example = {
|
|
18
|
+
"productChildIds": null,
|
|
19
|
+
} satisfies AttachAccessoriesProductRangeRequest
|
|
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 AttachAccessoriesProductRangeRequest
|
|
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,34 @@
|
|
|
1
|
+
|
|
2
|
+
# AttachAttributesProductRangeRequest
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`attributes` | [Array<AttachAttributesProductRangeRequestAttributesInner>](AttachAttributesProductRangeRequestAttributesInner.md)
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import type { AttachAttributesProductRangeRequest } from '@digital8/lighting-illusions-ts-sdk'
|
|
15
|
+
|
|
16
|
+
// TODO: Update the object below with actual values
|
|
17
|
+
const example = {
|
|
18
|
+
"attributes": null,
|
|
19
|
+
} satisfies AttachAttributesProductRangeRequest
|
|
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 AttachAttributesProductRangeRequest
|
|
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,36 @@
|
|
|
1
|
+
|
|
2
|
+
# AttachAttributesProductRangeRequestAttributesInner
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`attributeId` | number
|
|
10
|
+
`order` | number
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```typescript
|
|
15
|
+
import type { AttachAttributesProductRangeRequestAttributesInner } from '@digital8/lighting-illusions-ts-sdk'
|
|
16
|
+
|
|
17
|
+
// TODO: Update the object below with actual values
|
|
18
|
+
const example = {
|
|
19
|
+
"attributeId": null,
|
|
20
|
+
"order": null,
|
|
21
|
+
} satisfies AttachAttributesProductRangeRequestAttributesInner
|
|
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 AttachAttributesProductRangeRequestAttributesInner
|
|
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,34 @@
|
|
|
1
|
+
|
|
2
|
+
# AttachDocumentsProductRangeRequest
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`documents` | [Array<AttachDocumentsProductChildRequestDocumentsInner>](AttachDocumentsProductChildRequestDocumentsInner.md)
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import type { AttachDocumentsProductRangeRequest } from '@digital8/lighting-illusions-ts-sdk'
|
|
15
|
+
|
|
16
|
+
// TODO: Update the object below with actual values
|
|
17
|
+
const example = {
|
|
18
|
+
"documents": null,
|
|
19
|
+
} satisfies AttachDocumentsProductRangeRequest
|
|
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 AttachDocumentsProductRangeRequest
|
|
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
|
+
|
package/docs/AttributeApi.md
CHANGED
|
@@ -12,6 +12,7 @@ All URIs are relative to *http://localhost/api*
|
|
|
12
12
|
| [**getAllAttributeValue**](AttributeApi.md#getallattributevalueoperation) | **POST** /admin-api/attribute/value/all | Auto-generated: getAllAttributeValue |
|
|
13
13
|
| [**indexAttribute**](AttributeApi.md#indexattributeoperation) | **POST** /admin-api/attribute/list | Auto-generated: indexAttribute |
|
|
14
14
|
| [**indexAttributeValue**](AttributeApi.md#indexattributevalueoperation) | **POST** /admin-api/attribute/value/list | Auto-generated: indexAttributeValue |
|
|
15
|
+
| [**indexModelAttribute**](AttributeApi.md#indexmodelattributeoperation) | **POST** /admin-api/attribute/model-attribute/list | Auto-generated: indexModelAttribute |
|
|
15
16
|
| [**showAttribute**](AttributeApi.md#showattribute) | **GET** /admin-api/attribute/{attribute} | Auto-generated: showAttribute |
|
|
16
17
|
| [**storeAttribute**](AttributeApi.md#storeattributeoperation) | **POST** /admin-api/attribute/create | Auto-generated: storeAttribute |
|
|
17
18
|
| [**storeAttributeValue**](AttributeApi.md#storeattributevalueoperation) | **POST** /admin-api/attribute/value/create | Auto-generated: storeAttributeValue |
|
|
@@ -552,6 +553,71 @@ No authorization required
|
|
|
552
553
|
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
553
554
|
|
|
554
555
|
|
|
556
|
+
## indexModelAttribute
|
|
557
|
+
|
|
558
|
+
> PaginatedModelAttributeListResourceResponse indexModelAttribute(indexModelAttributeRequest)
|
|
559
|
+
|
|
560
|
+
Auto-generated: indexModelAttribute
|
|
561
|
+
|
|
562
|
+
### Example
|
|
563
|
+
|
|
564
|
+
```ts
|
|
565
|
+
import {
|
|
566
|
+
Configuration,
|
|
567
|
+
AttributeApi,
|
|
568
|
+
} from '@digital8/lighting-illusions-ts-sdk';
|
|
569
|
+
import type { IndexModelAttributeOperationRequest } from '@digital8/lighting-illusions-ts-sdk';
|
|
570
|
+
|
|
571
|
+
async function example() {
|
|
572
|
+
console.log("🚀 Testing @digital8/lighting-illusions-ts-sdk SDK...");
|
|
573
|
+
const api = new AttributeApi();
|
|
574
|
+
|
|
575
|
+
const body = {
|
|
576
|
+
// IndexModelAttributeRequest (optional)
|
|
577
|
+
indexModelAttributeRequest: ...,
|
|
578
|
+
} satisfies IndexModelAttributeOperationRequest;
|
|
579
|
+
|
|
580
|
+
try {
|
|
581
|
+
const data = await api.indexModelAttribute(body);
|
|
582
|
+
console.log(data);
|
|
583
|
+
} catch (error) {
|
|
584
|
+
console.error(error);
|
|
585
|
+
}
|
|
586
|
+
}
|
|
587
|
+
|
|
588
|
+
// Run the test
|
|
589
|
+
example().catch(console.error);
|
|
590
|
+
```
|
|
591
|
+
|
|
592
|
+
### Parameters
|
|
593
|
+
|
|
594
|
+
|
|
595
|
+
| Name | Type | Description | Notes |
|
|
596
|
+
|------------- | ------------- | ------------- | -------------|
|
|
597
|
+
| **indexModelAttributeRequest** | [IndexModelAttributeRequest](IndexModelAttributeRequest.md) | | [Optional] |
|
|
598
|
+
|
|
599
|
+
### Return type
|
|
600
|
+
|
|
601
|
+
[**PaginatedModelAttributeListResourceResponse**](PaginatedModelAttributeListResourceResponse.md)
|
|
602
|
+
|
|
603
|
+
### Authorization
|
|
604
|
+
|
|
605
|
+
No authorization required
|
|
606
|
+
|
|
607
|
+
### HTTP request headers
|
|
608
|
+
|
|
609
|
+
- **Content-Type**: `application/json`
|
|
610
|
+
- **Accept**: `application/json`
|
|
611
|
+
|
|
612
|
+
|
|
613
|
+
### HTTP response details
|
|
614
|
+
| Status code | Description | Response headers |
|
|
615
|
+
|-------------|-------------|------------------|
|
|
616
|
+
| **200** | Paginated response \\JsonResponse<\\ResourcePaginator<\\ModelAttributeListResource[]>> | - |
|
|
617
|
+
|
|
618
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
619
|
+
|
|
620
|
+
|
|
555
621
|
## showAttribute
|
|
556
622
|
|
|
557
623
|
> AttributeResource showAttribute(attribute)
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
|
|
2
|
+
# DetachAccessoriesProductRangeRequest
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`productChildIds` | Array<number>
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import type { DetachAccessoriesProductRangeRequest } from '@digital8/lighting-illusions-ts-sdk'
|
|
15
|
+
|
|
16
|
+
// TODO: Update the object below with actual values
|
|
17
|
+
const example = {
|
|
18
|
+
"productChildIds": null,
|
|
19
|
+
} satisfies DetachAccessoriesProductRangeRequest
|
|
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 DetachAccessoriesProductRangeRequest
|
|
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,34 @@
|
|
|
1
|
+
|
|
2
|
+
# DetachAttributesProductRangeRequest
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`attributes` | Array<number>
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import type { DetachAttributesProductRangeRequest } from '@digital8/lighting-illusions-ts-sdk'
|
|
15
|
+
|
|
16
|
+
// TODO: Update the object below with actual values
|
|
17
|
+
const example = {
|
|
18
|
+
"attributes": null,
|
|
19
|
+
} satisfies DetachAttributesProductRangeRequest
|
|
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 DetachAttributesProductRangeRequest
|
|
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,34 @@
|
|
|
1
|
+
|
|
2
|
+
# DetachDocumentsProductRangeRequest
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`documents` | Array<number>
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import type { DetachDocumentsProductRangeRequest } from '@digital8/lighting-illusions-ts-sdk'
|
|
15
|
+
|
|
16
|
+
// TODO: Update the object below with actual values
|
|
17
|
+
const example = {
|
|
18
|
+
"documents": null,
|
|
19
|
+
} satisfies DetachDocumentsProductRangeRequest
|
|
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 DetachDocumentsProductRangeRequest
|
|
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,50 @@
|
|
|
1
|
+
|
|
2
|
+
# GetAllProductRangeRequest
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`search` | string
|
|
10
|
+
`sortBy` | string
|
|
11
|
+
`sortDirection` | string
|
|
12
|
+
`relatedId` | number
|
|
13
|
+
`relatedType` | string
|
|
14
|
+
`includesRelations` | boolean
|
|
15
|
+
`siteDetailsSiteId` | Array<string>
|
|
16
|
+
`supplierId` | Array<string>
|
|
17
|
+
`siteDetailsCategoriesId` | Array<string>
|
|
18
|
+
|
|
19
|
+
## Example
|
|
20
|
+
|
|
21
|
+
```typescript
|
|
22
|
+
import type { GetAllProductRangeRequest } from '@digital8/lighting-illusions-ts-sdk'
|
|
23
|
+
|
|
24
|
+
// TODO: Update the object below with actual values
|
|
25
|
+
const example = {
|
|
26
|
+
"search": null,
|
|
27
|
+
"sortBy": null,
|
|
28
|
+
"sortDirection": null,
|
|
29
|
+
"relatedId": null,
|
|
30
|
+
"relatedType": null,
|
|
31
|
+
"includesRelations": null,
|
|
32
|
+
"siteDetailsSiteId": null,
|
|
33
|
+
"supplierId": null,
|
|
34
|
+
"siteDetailsCategoriesId": null,
|
|
35
|
+
} satisfies GetAllProductRangeRequest
|
|
36
|
+
|
|
37
|
+
console.log(example)
|
|
38
|
+
|
|
39
|
+
// Convert the instance to a JSON string
|
|
40
|
+
const exampleJSON: string = JSON.stringify(example)
|
|
41
|
+
console.log(exampleJSON)
|
|
42
|
+
|
|
43
|
+
// Parse the JSON string back to an object
|
|
44
|
+
const exampleParsed = JSON.parse(exampleJSON) as GetAllProductRangeRequest
|
|
45
|
+
console.log(exampleParsed)
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
49
|
+
|
|
50
|
+
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
|
|
2
|
+
# IndexModelAttributeRequest
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`search` | string
|
|
10
|
+
`sortBy` | string
|
|
11
|
+
`sortDirection` | string
|
|
12
|
+
`perPage` | number
|
|
13
|
+
`page` | number
|
|
14
|
+
`attributableType` | Array<string>
|
|
15
|
+
`attributableId` | Array<string>
|
|
16
|
+
`attributeId` | Array<string>
|
|
17
|
+
`relatedId` | number
|
|
18
|
+
`relatedType` | string
|
|
19
|
+
`includesRelations` | boolean
|
|
20
|
+
|
|
21
|
+
## Example
|
|
22
|
+
|
|
23
|
+
```typescript
|
|
24
|
+
import type { IndexModelAttributeRequest } from '@digital8/lighting-illusions-ts-sdk'
|
|
25
|
+
|
|
26
|
+
// TODO: Update the object below with actual values
|
|
27
|
+
const example = {
|
|
28
|
+
"search": null,
|
|
29
|
+
"sortBy": null,
|
|
30
|
+
"sortDirection": null,
|
|
31
|
+
"perPage": null,
|
|
32
|
+
"page": null,
|
|
33
|
+
"attributableType": null,
|
|
34
|
+
"attributableId": null,
|
|
35
|
+
"attributeId": null,
|
|
36
|
+
"relatedId": null,
|
|
37
|
+
"relatedType": null,
|
|
38
|
+
"includesRelations": null,
|
|
39
|
+
} satisfies IndexModelAttributeRequest
|
|
40
|
+
|
|
41
|
+
console.log(example)
|
|
42
|
+
|
|
43
|
+
// Convert the instance to a JSON string
|
|
44
|
+
const exampleJSON: string = JSON.stringify(example)
|
|
45
|
+
console.log(exampleJSON)
|
|
46
|
+
|
|
47
|
+
// Parse the JSON string back to an object
|
|
48
|
+
const exampleParsed = JSON.parse(exampleJSON) as IndexModelAttributeRequest
|
|
49
|
+
console.log(exampleParsed)
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
53
|
+
|
|
54
|
+
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
|
|
2
|
+
# IndexProductRangeRequest
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`search` | string
|
|
10
|
+
`sortBy` | string
|
|
11
|
+
`sortDirection` | string
|
|
12
|
+
`perPage` | number
|
|
13
|
+
`page` | number
|
|
14
|
+
`siteDetailsSiteId` | Array<string>
|
|
15
|
+
`supplierId` | Array<string>
|
|
16
|
+
`siteDetailsCategoriesId` | Array<string>
|
|
17
|
+
`relatedId` | number
|
|
18
|
+
`relatedType` | string
|
|
19
|
+
`includesRelations` | boolean
|
|
20
|
+
|
|
21
|
+
## Example
|
|
22
|
+
|
|
23
|
+
```typescript
|
|
24
|
+
import type { IndexProductRangeRequest } from '@digital8/lighting-illusions-ts-sdk'
|
|
25
|
+
|
|
26
|
+
// TODO: Update the object below with actual values
|
|
27
|
+
const example = {
|
|
28
|
+
"search": null,
|
|
29
|
+
"sortBy": null,
|
|
30
|
+
"sortDirection": null,
|
|
31
|
+
"perPage": null,
|
|
32
|
+
"page": null,
|
|
33
|
+
"siteDetailsSiteId": null,
|
|
34
|
+
"supplierId": null,
|
|
35
|
+
"siteDetailsCategoriesId": null,
|
|
36
|
+
"relatedId": null,
|
|
37
|
+
"relatedType": null,
|
|
38
|
+
"includesRelations": null,
|
|
39
|
+
} satisfies IndexProductRangeRequest
|
|
40
|
+
|
|
41
|
+
console.log(example)
|
|
42
|
+
|
|
43
|
+
// Convert the instance to a JSON string
|
|
44
|
+
const exampleJSON: string = JSON.stringify(example)
|
|
45
|
+
console.log(exampleJSON)
|
|
46
|
+
|
|
47
|
+
// Parse the JSON string back to an object
|
|
48
|
+
const exampleParsed = JSON.parse(exampleJSON) as IndexProductRangeRequest
|
|
49
|
+
console.log(exampleParsed)
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
53
|
+
|
|
54
|
+
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
|
|
2
|
+
# ModelAttributeListResource
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`id` | number
|
|
10
|
+
`value` | string
|
|
11
|
+
`attribute` | [AttributeLiteResource](AttributeLiteResource.md)
|
|
12
|
+
`attributeValues` | [Array<AttributeValueResource>](AttributeValueResource.md)
|
|
13
|
+
`selectedValues` | [Array<AttributeValueResource>](AttributeValueResource.md)
|
|
14
|
+
`order` | string
|
|
15
|
+
|
|
16
|
+
## Example
|
|
17
|
+
|
|
18
|
+
```typescript
|
|
19
|
+
import type { ModelAttributeListResource } from '@digital8/lighting-illusions-ts-sdk'
|
|
20
|
+
|
|
21
|
+
// TODO: Update the object below with actual values
|
|
22
|
+
const example = {
|
|
23
|
+
"id": null,
|
|
24
|
+
"value": null,
|
|
25
|
+
"attribute": null,
|
|
26
|
+
"attributeValues": null,
|
|
27
|
+
"selectedValues": null,
|
|
28
|
+
"order": null,
|
|
29
|
+
} satisfies ModelAttributeListResource
|
|
30
|
+
|
|
31
|
+
console.log(example)
|
|
32
|
+
|
|
33
|
+
// Convert the instance to a JSON string
|
|
34
|
+
const exampleJSON: string = JSON.stringify(example)
|
|
35
|
+
console.log(exampleJSON)
|
|
36
|
+
|
|
37
|
+
// Parse the JSON string back to an object
|
|
38
|
+
const exampleParsed = JSON.parse(exampleJSON) as ModelAttributeListResource
|
|
39
|
+
console.log(exampleParsed)
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
43
|
+
|
|
44
|
+
|