@digital8/lighting-illusions-ts-sdk 0.0.1024 → 0.0.1026
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 +64 -0
- package/README.md +50 -2
- 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 +32 -0
- package/dist/models/AttachAttributesProductRangeRequest.js +51 -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/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 +52 -0
- package/dist/models/ModelAttributeListResource.js +65 -0
- package/dist/models/ModelAttributeListResourceArrayResponse.d.ts +33 -0
- package/dist/models/ModelAttributeListResourceArrayResponse.js +50 -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/ProductChildListResource.d.ts +0 -6
- package/dist/models/ProductChildListResource.js +0 -4
- package/dist/models/ProductChildSiteDetailResource.d.ts +0 -6
- package/dist/models/ProductChildSiteDetailResource.js +0 -4
- 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 +52 -0
- package/dist/models/ProductRangeListResource.js +65 -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 +83 -0
- package/dist/models/ProductRangeResource.js +82 -0
- package/dist/models/ProductRangeResourceArrayResponse.d.ts +33 -0
- package/dist/models/ProductRangeResourceArrayResponse.js +50 -0
- package/dist/models/ProductRangeSiteDetailResource.d.ts +94 -0
- package/dist/models/ProductRangeSiteDetailResource.js +93 -0
- package/dist/models/ProductRangeSiteDetailResourceArrayResponse.d.ts +33 -0
- package/dist/models/ProductRangeSiteDetailResourceArrayResponse.js +50 -0
- 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 +52 -0
- package/dist/models/UpdateProductRangeRequest.js +59 -0
- package/dist/models/index.d.ts +31 -0
- package/dist/models/index.js +31 -0
- package/docs/AttachAccessoriesProductRangeRequest.md +34 -0
- package/docs/AttachAttributesProductRangeRequest.md +34 -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 +40 -0
- package/docs/ModelAttributeListResourceArrayResponse.md +34 -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/ProductChildListResource.md +0 -2
- package/docs/ProductChildSiteDetailResource.md +0 -2
- 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 +40 -0
- package/docs/ProductRangeListResourceArrayResponse.md +34 -0
- package/docs/ProductRangeLiteResource.md +36 -0
- package/docs/ProductRangeLiteResourceArrayResponse.md +34 -0
- package/docs/ProductRangeResource.md +50 -0
- package/docs/ProductRangeResourceArrayResponse.md +34 -0
- package/docs/ProductRangeSiteDetailResource.md +54 -0
- package/docs/ProductRangeSiteDetailResourceArrayResponse.md +34 -0
- package/docs/StoreProductRangeRequest.md +40 -0
- package/docs/StoreProductRangeRequestSitesInner.md +54 -0
- package/docs/UpdateProductRangeRequest.md +40 -0
- 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 +66 -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/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 +108 -0
- package/src/models/ModelAttributeListResourceArrayResponse.ts +73 -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/ProductChildListResource.ts +0 -9
- package/src/models/ProductChildSiteDetailResource.ts +0 -9
- 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 +108 -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 +158 -0
- package/src/models/ProductRangeResourceArrayResponse.ts +73 -0
- package/src/models/ProductRangeSiteDetailResource.ts +171 -0
- package/src/models/ProductRangeSiteDetailResourceArrayResponse.ts +73 -0
- package/src/models/StoreProductRangeRequest.ts +105 -0
- package/src/models/StoreProductRangeRequestSitesInner.ts +148 -0
- package/src/models/UpdateProductRangeRequest.ts +105 -0
- package/src/models/index.ts +31 -0
package/dist/models/index.d.ts
CHANGED
|
@@ -7,12 +7,15 @@ export * from './AssetLiteResourceArrayResponse';
|
|
|
7
7
|
export * from './AssetResource';
|
|
8
8
|
export * from './AssetResourceArrayResponse';
|
|
9
9
|
export * from './AttachAccessoriesProductChildRequest';
|
|
10
|
+
export * from './AttachAccessoriesProductRangeRequest';
|
|
10
11
|
export * from './AttachAssetsOverlayTemplateRequest';
|
|
11
12
|
export * from './AttachAttributeProductTypeRequest';
|
|
13
|
+
export * from './AttachAttributesProductRangeRequest';
|
|
12
14
|
export * from './AttachDocumentablesDocumentRequest';
|
|
13
15
|
export * from './AttachDocumentablesDocumentRequestDocumentablesInner';
|
|
14
16
|
export * from './AttachDocumentsProductChildRequest';
|
|
15
17
|
export * from './AttachDocumentsProductChildRequestDocumentsInner';
|
|
18
|
+
export * from './AttachDocumentsProductRangeRequest';
|
|
16
19
|
export * from './AttachProductTypeAttributeRequest';
|
|
17
20
|
export * from './AttachProductsProductCategoryRequest';
|
|
18
21
|
export * from './AttributeFieldType';
|
|
@@ -44,10 +47,13 @@ export * from './DefinitionResourceArrayResponse';
|
|
|
44
47
|
export * from './DescriptionResource';
|
|
45
48
|
export * from './DescriptionResourceArrayResponse';
|
|
46
49
|
export * from './DestroyAttributeValueRequest';
|
|
50
|
+
export * from './DetachAccessoriesProductRangeRequest';
|
|
47
51
|
export * from './DetachAssetableOverlayTemplateRequest';
|
|
52
|
+
export * from './DetachAttributesProductRangeRequest';
|
|
48
53
|
export * from './DetachDocumentablesDocumentRequest';
|
|
49
54
|
export * from './DetachDocumentablesDocumentRequestDocumentablesInner';
|
|
50
55
|
export * from './DetachDocumentsProductChildRequest';
|
|
56
|
+
export * from './DetachDocumentsProductRangeRequest';
|
|
51
57
|
export * from './DetachProductsProductCategoryRequest';
|
|
52
58
|
export * from './DocumentFileForUploadResource';
|
|
53
59
|
export * from './DocumentFileForUploadResourceArrayResponse';
|
|
@@ -71,6 +77,7 @@ export * from './GetAllGoogleCategoryRequest';
|
|
|
71
77
|
export * from './GetAllOverlayTemplateRequest';
|
|
72
78
|
export * from './GetAllProductCategoryRequest';
|
|
73
79
|
export * from './GetAllProductChildRequest';
|
|
80
|
+
export * from './GetAllProductRangeRequest';
|
|
74
81
|
export * from './GetAllProductRequest';
|
|
75
82
|
export * from './GetAllProductTypeRequest';
|
|
76
83
|
export * from './GetAllSupplierRequest';
|
|
@@ -90,15 +97,19 @@ export * from './IndexAttributeValueRequest';
|
|
|
90
97
|
export * from './IndexDefinitionRequest';
|
|
91
98
|
export * from './IndexDocumentRequest';
|
|
92
99
|
export * from './IndexExternalApiLogRequest';
|
|
100
|
+
export * from './IndexModelAttributeRequest';
|
|
93
101
|
export * from './IndexOverlayTemplateRequest';
|
|
94
102
|
export * from './IndexProductCategoryRequest';
|
|
95
103
|
export * from './IndexProductChildRequest';
|
|
104
|
+
export * from './IndexProductRangeRequest';
|
|
96
105
|
export * from './IndexProductRequest';
|
|
97
106
|
export * from './IndexProductTypeRequest';
|
|
98
107
|
export * from './IndexSiteNotificationRequest';
|
|
99
108
|
export * from './IndexSiteRequest';
|
|
100
109
|
export * from './IndexSupplierRequest';
|
|
101
110
|
export * from './IndexTagRequest';
|
|
111
|
+
export * from './ModelAttributeListResource';
|
|
112
|
+
export * from './ModelAttributeListResourceArrayResponse';
|
|
102
113
|
export * from './ModelAttributeResource';
|
|
103
114
|
export * from './ModelAttributeResourceArrayResponse';
|
|
104
115
|
export * from './OverlayTemplateAssetFrontendResource';
|
|
@@ -124,6 +135,7 @@ export * from './PaginatedDocumentResourceResponse';
|
|
|
124
135
|
export * from './PaginatedExternalApiLogListResourceResponse';
|
|
125
136
|
export * from './PaginatedExternalApiLogResourceResponse';
|
|
126
137
|
export * from './PaginatedGoogleCategoryResourceResponse';
|
|
138
|
+
export * from './PaginatedModelAttributeListResourceResponse';
|
|
127
139
|
export * from './PaginatedOverlayTemplateListResourceResponse';
|
|
128
140
|
export * from './PaginatedOverlayTemplateLiteResourceResponse';
|
|
129
141
|
export * from './PaginatedOverlayTemplateResourceResponse';
|
|
@@ -136,6 +148,10 @@ export * from './PaginatedProductChildRelationResourceResponse';
|
|
|
136
148
|
export * from './PaginatedProductChildResourceResponse';
|
|
137
149
|
export * from './PaginatedProductListResourceResponse';
|
|
138
150
|
export * from './PaginatedProductLiteResourceResponse';
|
|
151
|
+
export * from './PaginatedProductRangeFrontendListResourceResponse';
|
|
152
|
+
export * from './PaginatedProductRangeListResourceResponse';
|
|
153
|
+
export * from './PaginatedProductRangeLiteResourceResponse';
|
|
154
|
+
export * from './PaginatedProductRangeResourceResponse';
|
|
139
155
|
export * from './PaginatedProductResourceResponse';
|
|
140
156
|
export * from './PaginatedProductSearchResultResourceResponse';
|
|
141
157
|
export * from './PaginatedProductTypeListResourceResponse';
|
|
@@ -188,6 +204,18 @@ export * from './ProductListResource';
|
|
|
188
204
|
export * from './ProductListResourceArrayResponse';
|
|
189
205
|
export * from './ProductLiteResource';
|
|
190
206
|
export * from './ProductLiteResourceArrayResponse';
|
|
207
|
+
export * from './ProductRangeFrontendListResource';
|
|
208
|
+
export * from './ProductRangeFrontendListResourceArrayResponse';
|
|
209
|
+
export * from './ProductRangeFrontendResource';
|
|
210
|
+
export * from './ProductRangeFrontendResourceArrayResponse';
|
|
211
|
+
export * from './ProductRangeListResource';
|
|
212
|
+
export * from './ProductRangeListResourceArrayResponse';
|
|
213
|
+
export * from './ProductRangeLiteResource';
|
|
214
|
+
export * from './ProductRangeLiteResourceArrayResponse';
|
|
215
|
+
export * from './ProductRangeResource';
|
|
216
|
+
export * from './ProductRangeResourceArrayResponse';
|
|
217
|
+
export * from './ProductRangeSiteDetailResource';
|
|
218
|
+
export * from './ProductRangeSiteDetailResourceArrayResponse';
|
|
191
219
|
export * from './ProductRating';
|
|
192
220
|
export * from './ProductResource';
|
|
193
221
|
export * from './ProductResourceArrayResponse';
|
|
@@ -237,6 +265,8 @@ export * from './StoreProductChildRequest';
|
|
|
237
265
|
export * from './StoreProductChildRequestAssetsInner';
|
|
238
266
|
export * from './StoreProductChildRequestAttributeValuesInner';
|
|
239
267
|
export * from './StoreProductChildRequestSitesInner';
|
|
268
|
+
export * from './StoreProductRangeRequest';
|
|
269
|
+
export * from './StoreProductRangeRequestSitesInner';
|
|
240
270
|
export * from './StoreProductRequest';
|
|
241
271
|
export * from './StoreProductRequestCategoriesInner';
|
|
242
272
|
export * from './StoreProductTypeRequest';
|
|
@@ -273,6 +303,7 @@ export * from './UpdateOverlayTemplateRequest';
|
|
|
273
303
|
export * from './UpdateProductCategoryRequest';
|
|
274
304
|
export * from './UpdateProductChildRequest';
|
|
275
305
|
export * from './UpdateProductChildRequestAssetsInner';
|
|
306
|
+
export * from './UpdateProductRangeRequest';
|
|
276
307
|
export * from './UpdateProductRequest';
|
|
277
308
|
export * from './UpdateProductTypeRequest';
|
|
278
309
|
export * from './UpdateProductTypeRequestPerformanceValuesInner';
|
package/dist/models/index.js
CHANGED
|
@@ -25,12 +25,15 @@ __exportStar(require("./AssetLiteResourceArrayResponse"), exports);
|
|
|
25
25
|
__exportStar(require("./AssetResource"), exports);
|
|
26
26
|
__exportStar(require("./AssetResourceArrayResponse"), exports);
|
|
27
27
|
__exportStar(require("./AttachAccessoriesProductChildRequest"), exports);
|
|
28
|
+
__exportStar(require("./AttachAccessoriesProductRangeRequest"), exports);
|
|
28
29
|
__exportStar(require("./AttachAssetsOverlayTemplateRequest"), exports);
|
|
29
30
|
__exportStar(require("./AttachAttributeProductTypeRequest"), exports);
|
|
31
|
+
__exportStar(require("./AttachAttributesProductRangeRequest"), exports);
|
|
30
32
|
__exportStar(require("./AttachDocumentablesDocumentRequest"), exports);
|
|
31
33
|
__exportStar(require("./AttachDocumentablesDocumentRequestDocumentablesInner"), exports);
|
|
32
34
|
__exportStar(require("./AttachDocumentsProductChildRequest"), exports);
|
|
33
35
|
__exportStar(require("./AttachDocumentsProductChildRequestDocumentsInner"), exports);
|
|
36
|
+
__exportStar(require("./AttachDocumentsProductRangeRequest"), exports);
|
|
34
37
|
__exportStar(require("./AttachProductTypeAttributeRequest"), exports);
|
|
35
38
|
__exportStar(require("./AttachProductsProductCategoryRequest"), exports);
|
|
36
39
|
__exportStar(require("./AttributeFieldType"), exports);
|
|
@@ -62,10 +65,13 @@ __exportStar(require("./DefinitionResourceArrayResponse"), exports);
|
|
|
62
65
|
__exportStar(require("./DescriptionResource"), exports);
|
|
63
66
|
__exportStar(require("./DescriptionResourceArrayResponse"), exports);
|
|
64
67
|
__exportStar(require("./DestroyAttributeValueRequest"), exports);
|
|
68
|
+
__exportStar(require("./DetachAccessoriesProductRangeRequest"), exports);
|
|
65
69
|
__exportStar(require("./DetachAssetableOverlayTemplateRequest"), exports);
|
|
70
|
+
__exportStar(require("./DetachAttributesProductRangeRequest"), exports);
|
|
66
71
|
__exportStar(require("./DetachDocumentablesDocumentRequest"), exports);
|
|
67
72
|
__exportStar(require("./DetachDocumentablesDocumentRequestDocumentablesInner"), exports);
|
|
68
73
|
__exportStar(require("./DetachDocumentsProductChildRequest"), exports);
|
|
74
|
+
__exportStar(require("./DetachDocumentsProductRangeRequest"), exports);
|
|
69
75
|
__exportStar(require("./DetachProductsProductCategoryRequest"), exports);
|
|
70
76
|
__exportStar(require("./DocumentFileForUploadResource"), exports);
|
|
71
77
|
__exportStar(require("./DocumentFileForUploadResourceArrayResponse"), exports);
|
|
@@ -89,6 +95,7 @@ __exportStar(require("./GetAllGoogleCategoryRequest"), exports);
|
|
|
89
95
|
__exportStar(require("./GetAllOverlayTemplateRequest"), exports);
|
|
90
96
|
__exportStar(require("./GetAllProductCategoryRequest"), exports);
|
|
91
97
|
__exportStar(require("./GetAllProductChildRequest"), exports);
|
|
98
|
+
__exportStar(require("./GetAllProductRangeRequest"), exports);
|
|
92
99
|
__exportStar(require("./GetAllProductRequest"), exports);
|
|
93
100
|
__exportStar(require("./GetAllProductTypeRequest"), exports);
|
|
94
101
|
__exportStar(require("./GetAllSupplierRequest"), exports);
|
|
@@ -108,15 +115,19 @@ __exportStar(require("./IndexAttributeValueRequest"), exports);
|
|
|
108
115
|
__exportStar(require("./IndexDefinitionRequest"), exports);
|
|
109
116
|
__exportStar(require("./IndexDocumentRequest"), exports);
|
|
110
117
|
__exportStar(require("./IndexExternalApiLogRequest"), exports);
|
|
118
|
+
__exportStar(require("./IndexModelAttributeRequest"), exports);
|
|
111
119
|
__exportStar(require("./IndexOverlayTemplateRequest"), exports);
|
|
112
120
|
__exportStar(require("./IndexProductCategoryRequest"), exports);
|
|
113
121
|
__exportStar(require("./IndexProductChildRequest"), exports);
|
|
122
|
+
__exportStar(require("./IndexProductRangeRequest"), exports);
|
|
114
123
|
__exportStar(require("./IndexProductRequest"), exports);
|
|
115
124
|
__exportStar(require("./IndexProductTypeRequest"), exports);
|
|
116
125
|
__exportStar(require("./IndexSiteNotificationRequest"), exports);
|
|
117
126
|
__exportStar(require("./IndexSiteRequest"), exports);
|
|
118
127
|
__exportStar(require("./IndexSupplierRequest"), exports);
|
|
119
128
|
__exportStar(require("./IndexTagRequest"), exports);
|
|
129
|
+
__exportStar(require("./ModelAttributeListResource"), exports);
|
|
130
|
+
__exportStar(require("./ModelAttributeListResourceArrayResponse"), exports);
|
|
120
131
|
__exportStar(require("./ModelAttributeResource"), exports);
|
|
121
132
|
__exportStar(require("./ModelAttributeResourceArrayResponse"), exports);
|
|
122
133
|
__exportStar(require("./OverlayTemplateAssetFrontendResource"), exports);
|
|
@@ -142,6 +153,7 @@ __exportStar(require("./PaginatedDocumentResourceResponse"), exports);
|
|
|
142
153
|
__exportStar(require("./PaginatedExternalApiLogListResourceResponse"), exports);
|
|
143
154
|
__exportStar(require("./PaginatedExternalApiLogResourceResponse"), exports);
|
|
144
155
|
__exportStar(require("./PaginatedGoogleCategoryResourceResponse"), exports);
|
|
156
|
+
__exportStar(require("./PaginatedModelAttributeListResourceResponse"), exports);
|
|
145
157
|
__exportStar(require("./PaginatedOverlayTemplateListResourceResponse"), exports);
|
|
146
158
|
__exportStar(require("./PaginatedOverlayTemplateLiteResourceResponse"), exports);
|
|
147
159
|
__exportStar(require("./PaginatedOverlayTemplateResourceResponse"), exports);
|
|
@@ -154,6 +166,10 @@ __exportStar(require("./PaginatedProductChildRelationResourceResponse"), exports
|
|
|
154
166
|
__exportStar(require("./PaginatedProductChildResourceResponse"), exports);
|
|
155
167
|
__exportStar(require("./PaginatedProductListResourceResponse"), exports);
|
|
156
168
|
__exportStar(require("./PaginatedProductLiteResourceResponse"), exports);
|
|
169
|
+
__exportStar(require("./PaginatedProductRangeFrontendListResourceResponse"), exports);
|
|
170
|
+
__exportStar(require("./PaginatedProductRangeListResourceResponse"), exports);
|
|
171
|
+
__exportStar(require("./PaginatedProductRangeLiteResourceResponse"), exports);
|
|
172
|
+
__exportStar(require("./PaginatedProductRangeResourceResponse"), exports);
|
|
157
173
|
__exportStar(require("./PaginatedProductResourceResponse"), exports);
|
|
158
174
|
__exportStar(require("./PaginatedProductSearchResultResourceResponse"), exports);
|
|
159
175
|
__exportStar(require("./PaginatedProductTypeListResourceResponse"), exports);
|
|
@@ -206,6 +222,18 @@ __exportStar(require("./ProductListResource"), exports);
|
|
|
206
222
|
__exportStar(require("./ProductListResourceArrayResponse"), exports);
|
|
207
223
|
__exportStar(require("./ProductLiteResource"), exports);
|
|
208
224
|
__exportStar(require("./ProductLiteResourceArrayResponse"), exports);
|
|
225
|
+
__exportStar(require("./ProductRangeFrontendListResource"), exports);
|
|
226
|
+
__exportStar(require("./ProductRangeFrontendListResourceArrayResponse"), exports);
|
|
227
|
+
__exportStar(require("./ProductRangeFrontendResource"), exports);
|
|
228
|
+
__exportStar(require("./ProductRangeFrontendResourceArrayResponse"), exports);
|
|
229
|
+
__exportStar(require("./ProductRangeListResource"), exports);
|
|
230
|
+
__exportStar(require("./ProductRangeListResourceArrayResponse"), exports);
|
|
231
|
+
__exportStar(require("./ProductRangeLiteResource"), exports);
|
|
232
|
+
__exportStar(require("./ProductRangeLiteResourceArrayResponse"), exports);
|
|
233
|
+
__exportStar(require("./ProductRangeResource"), exports);
|
|
234
|
+
__exportStar(require("./ProductRangeResourceArrayResponse"), exports);
|
|
235
|
+
__exportStar(require("./ProductRangeSiteDetailResource"), exports);
|
|
236
|
+
__exportStar(require("./ProductRangeSiteDetailResourceArrayResponse"), exports);
|
|
209
237
|
__exportStar(require("./ProductRating"), exports);
|
|
210
238
|
__exportStar(require("./ProductResource"), exports);
|
|
211
239
|
__exportStar(require("./ProductResourceArrayResponse"), exports);
|
|
@@ -255,6 +283,8 @@ __exportStar(require("./StoreProductChildRequest"), exports);
|
|
|
255
283
|
__exportStar(require("./StoreProductChildRequestAssetsInner"), exports);
|
|
256
284
|
__exportStar(require("./StoreProductChildRequestAttributeValuesInner"), exports);
|
|
257
285
|
__exportStar(require("./StoreProductChildRequestSitesInner"), exports);
|
|
286
|
+
__exportStar(require("./StoreProductRangeRequest"), exports);
|
|
287
|
+
__exportStar(require("./StoreProductRangeRequestSitesInner"), exports);
|
|
258
288
|
__exportStar(require("./StoreProductRequest"), exports);
|
|
259
289
|
__exportStar(require("./StoreProductRequestCategoriesInner"), exports);
|
|
260
290
|
__exportStar(require("./StoreProductTypeRequest"), exports);
|
|
@@ -291,6 +321,7 @@ __exportStar(require("./UpdateOverlayTemplateRequest"), exports);
|
|
|
291
321
|
__exportStar(require("./UpdateProductCategoryRequest"), exports);
|
|
292
322
|
__exportStar(require("./UpdateProductChildRequest"), exports);
|
|
293
323
|
__exportStar(require("./UpdateProductChildRequestAssetsInner"), exports);
|
|
324
|
+
__exportStar(require("./UpdateProductRangeRequest"), exports);
|
|
294
325
|
__exportStar(require("./UpdateProductRequest"), exports);
|
|
295
326
|
__exportStar(require("./UpdateProductTypeRequest"), exports);
|
|
296
327
|
__exportStar(require("./UpdateProductTypeRequestPerformanceValuesInner"), 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<number>
|
|
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,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
|
@@ -11,6 +11,7 @@ All URIs are relative to *http://localhost/api*
|
|
|
11
11
|
| [**getAllAttribute**](AttributeApi.md#getallattributeoperation) | **POST** /admin-api/attribute/all | Auto-generated: getAllAttribute |
|
|
12
12
|
| [**indexAttribute**](AttributeApi.md#indexattributeoperation) | **POST** /admin-api/attribute/list | Auto-generated: indexAttribute |
|
|
13
13
|
| [**indexAttributeValue**](AttributeApi.md#indexattributevalueoperation) | **POST** /admin-api/attribute/value/list | Auto-generated: indexAttributeValue |
|
|
14
|
+
| [**indexModelAttribute**](AttributeApi.md#indexmodelattributeoperation) | **POST** /admin-api/attribute/model-attribute/list | Auto-generated: indexModelAttribute |
|
|
14
15
|
| [**showAttribute**](AttributeApi.md#showattribute) | **GET** /admin-api/attribute/{attribute} | Auto-generated: showAttribute |
|
|
15
16
|
| [**storeAttribute**](AttributeApi.md#storeattributeoperation) | **POST** /admin-api/attribute/create | Auto-generated: storeAttribute |
|
|
16
17
|
| [**storeAttributeValue**](AttributeApi.md#storeattributevalueoperation) | **POST** /admin-api/attribute/value/create | Auto-generated: storeAttributeValue |
|
|
@@ -486,6 +487,71 @@ No authorization required
|
|
|
486
487
|
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
487
488
|
|
|
488
489
|
|
|
490
|
+
## indexModelAttribute
|
|
491
|
+
|
|
492
|
+
> PaginatedModelAttributeListResourceResponse indexModelAttribute(indexModelAttributeRequest)
|
|
493
|
+
|
|
494
|
+
Auto-generated: indexModelAttribute
|
|
495
|
+
|
|
496
|
+
### Example
|
|
497
|
+
|
|
498
|
+
```ts
|
|
499
|
+
import {
|
|
500
|
+
Configuration,
|
|
501
|
+
AttributeApi,
|
|
502
|
+
} from '@digital8/lighting-illusions-ts-sdk';
|
|
503
|
+
import type { IndexModelAttributeOperationRequest } from '@digital8/lighting-illusions-ts-sdk';
|
|
504
|
+
|
|
505
|
+
async function example() {
|
|
506
|
+
console.log("🚀 Testing @digital8/lighting-illusions-ts-sdk SDK...");
|
|
507
|
+
const api = new AttributeApi();
|
|
508
|
+
|
|
509
|
+
const body = {
|
|
510
|
+
// IndexModelAttributeRequest (optional)
|
|
511
|
+
indexModelAttributeRequest: ...,
|
|
512
|
+
} satisfies IndexModelAttributeOperationRequest;
|
|
513
|
+
|
|
514
|
+
try {
|
|
515
|
+
const data = await api.indexModelAttribute(body);
|
|
516
|
+
console.log(data);
|
|
517
|
+
} catch (error) {
|
|
518
|
+
console.error(error);
|
|
519
|
+
}
|
|
520
|
+
}
|
|
521
|
+
|
|
522
|
+
// Run the test
|
|
523
|
+
example().catch(console.error);
|
|
524
|
+
```
|
|
525
|
+
|
|
526
|
+
### Parameters
|
|
527
|
+
|
|
528
|
+
|
|
529
|
+
| Name | Type | Description | Notes |
|
|
530
|
+
|------------- | ------------- | ------------- | -------------|
|
|
531
|
+
| **indexModelAttributeRequest** | [IndexModelAttributeRequest](IndexModelAttributeRequest.md) | | [Optional] |
|
|
532
|
+
|
|
533
|
+
### Return type
|
|
534
|
+
|
|
535
|
+
[**PaginatedModelAttributeListResourceResponse**](PaginatedModelAttributeListResourceResponse.md)
|
|
536
|
+
|
|
537
|
+
### Authorization
|
|
538
|
+
|
|
539
|
+
No authorization required
|
|
540
|
+
|
|
541
|
+
### HTTP request headers
|
|
542
|
+
|
|
543
|
+
- **Content-Type**: `application/json`
|
|
544
|
+
- **Accept**: `application/json`
|
|
545
|
+
|
|
546
|
+
|
|
547
|
+
### HTTP response details
|
|
548
|
+
| Status code | Description | Response headers |
|
|
549
|
+
|-------------|-------------|------------------|
|
|
550
|
+
| **200** | Paginated response \\JsonResponse<\\ResourcePaginator<\\ModelAttributeListResource[]>> | - |
|
|
551
|
+
|
|
552
|
+
[[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
|
+
|
|
489
555
|
## showAttribute
|
|
490
556
|
|
|
491
557
|
> 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
|
+
|