@digital8/lighting-illusions-ts-sdk 0.0.1413 → 0.0.1415
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 +20 -90
- package/README.md +18 -64
- package/dist/apis/AttributeApi.d.ts +1 -16
- package/dist/apis/AttributeApi.js +0 -58
- package/dist/apis/LabelApi.d.ts +109 -0
- package/dist/apis/LabelApi.js +433 -0
- package/dist/apis/ProductApi.js +1 -1
- package/dist/apis/index.d.ts +1 -1
- package/dist/apis/index.js +1 -1
- package/dist/models/AssetLiteResource.d.ts +0 -12
- package/dist/models/AssetLiteResource.js +0 -6
- package/dist/models/AttachDocumentablesDocumentRequestDocumentablesInner.d.ts +1 -2
- package/dist/models/AttachDocumentablesDocumentRequestDocumentablesInner.js +1 -2
- package/dist/models/DetachDocumentablesDocumentRequestDocumentablesInner.d.ts +1 -2
- package/dist/models/DetachDocumentablesDocumentRequestDocumentablesInner.js +1 -2
- package/dist/models/ExternalApiLogResource.d.ts +1 -1
- package/dist/models/ExternalApiLogResource.js +1 -3
- package/dist/models/GetAllDocumentRequest.d.ts +1 -2
- package/dist/models/GetAllDocumentRequest.js +1 -2
- package/dist/models/GetAllProductChildRequest.d.ts +0 -1
- package/dist/models/GetAllProductChildRequest.js +0 -1
- package/dist/models/IndexAttributeRequest.d.ts +0 -2
- package/dist/models/IndexAttributeRequest.js +1 -3
- package/dist/models/IndexDocumentRequest.d.ts +1 -2
- package/dist/models/IndexDocumentRequest.js +1 -2
- package/dist/models/IndexLabelRequest.d.ts +109 -0
- package/dist/models/{IndexProductRangeRequest.js → IndexLabelRequest.js} +29 -23
- package/dist/models/IndexProductChildRequest.d.ts +0 -1
- package/dist/models/IndexProductChildRequest.js +0 -1
- package/dist/models/LabelListResource.d.ts +75 -0
- package/dist/models/LabelListResource.js +74 -0
- package/dist/models/LabelListResourceArrayResponse.d.ts +33 -0
- package/dist/models/LabelListResourceArrayResponse.js +50 -0
- package/dist/models/LabelLiteResource.d.ts +56 -0
- package/dist/models/LabelLiteResource.js +65 -0
- package/dist/models/LabelLiteResourceArrayResponse.d.ts +33 -0
- package/dist/models/LabelLiteResourceArrayResponse.js +50 -0
- package/dist/models/LabelResource.d.ts +23 -4
- package/dist/models/LabelResource.js +19 -8
- package/dist/models/ModelAttributeResource.d.ts +0 -6
- package/dist/models/ModelAttributeResource.js +0 -2
- package/dist/models/PaginatedLabelListResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedLabelListResourceResponse.js +57 -0
- package/dist/models/ProductSearchResultResource.d.ts +1 -7
- package/dist/models/ProductSearchResultResource.js +3 -7
- package/dist/models/StoreAssetForAssetableRequest.d.ts +0 -3
- package/dist/models/StoreAssetForAssetableRequest.js +1 -4
- package/dist/models/StoreLabelRequest.d.ts +74 -0
- package/dist/models/StoreLabelRequest.js +71 -0
- package/dist/models/UpdateLabelRequest.d.ts +74 -0
- package/dist/models/UpdateLabelRequest.js +63 -0
- package/dist/models/UpdateProductTypeRequest.d.ts +9 -9
- package/dist/models/UpdateProductTypeRequest.js +9 -9
- package/dist/models/UpdateProductTypeRequestPerformanceValuesInner.d.ts +38 -0
- package/dist/models/UpdateProductTypeRequestPerformanceValuesInner.js +51 -0
- package/dist/models/index.d.ts +9 -44
- package/dist/models/index.js +9 -44
- package/docs/AssetLiteResource.md +0 -4
- package/docs/AttributeApi.md +0 -66
- package/docs/{IndexModelAttributeRequest.md → IndexLabelRequest.md} +6 -10
- package/docs/LabelApi.md +407 -0
- package/docs/{ProductRangeFrontendListResource.md → LabelListResource.md} +18 -14
- package/docs/{ProductRangeResourceArrayResponse.md → LabelListResourceArrayResponse.md} +5 -5
- package/docs/{ProductRangeSiteDetailLiteResource.md → LabelLiteResource.md} +12 -8
- package/docs/{ProductRangeLiteResource.md → LabelLiteResourceArrayResponse.md} +6 -8
- package/docs/LabelResource.md +12 -6
- package/docs/ModelAttributeResource.md +0 -2
- package/docs/{PaginatedProductRangeResourceResponse.md → PaginatedLabelListResourceResponse.md} +5 -5
- package/docs/ProductApi.md +1 -1
- package/docs/ProductSearchResultResource.md +2 -4
- package/docs/{AttachDocumentsProductRangeRequest.md → StoreLabelRequest.md} +20 -6
- package/docs/{ProductRangeSortBy.md → UpdateLabelRequest.md} +20 -4
- package/docs/UpdateProductTypeRequest.md +4 -4
- package/docs/{UpdateProductRangeRequestAttributesInner.md → UpdateProductTypeRequestPerformanceValuesInner.md} +4 -4
- package/package.json +1 -1
- package/src/apis/AttributeApi.ts +0 -50
- package/src/apis/LabelApi.ts +328 -0
- package/src/apis/ProductApi.ts +1 -1
- package/src/apis/index.ts +1 -1
- package/src/models/AssetLiteResource.ts +0 -17
- package/src/models/AttachDocumentablesDocumentRequestDocumentablesInner.ts +1 -2
- package/src/models/DetachDocumentablesDocumentRequestDocumentablesInner.ts +1 -2
- package/src/models/ExternalApiLogResource.ts +2 -3
- package/src/models/GetAllDocumentRequest.ts +1 -2
- package/src/models/GetAllProductChildRequest.ts +0 -1
- package/src/models/IndexAttributeRequest.ts +1 -3
- package/src/models/IndexDocumentRequest.ts +1 -2
- package/src/models/IndexLabelRequest.ts +163 -0
- package/src/models/IndexProductChildRequest.ts +0 -1
- package/src/models/LabelListResource.ts +134 -0
- package/src/models/LabelListResourceArrayResponse.ts +73 -0
- package/src/models/LabelLiteResource.ts +101 -0
- package/src/models/LabelLiteResourceArrayResponse.ts +73 -0
- package/src/models/LabelResource.ts +46 -12
- package/src/models/ModelAttributeResource.ts +0 -8
- package/src/models/PaginatedLabelListResourceResponse.ts +90 -0
- package/src/models/ProductSearchResultResource.ts +4 -13
- package/src/models/StoreAssetForAssetableRequest.ts +1 -4
- package/src/models/StoreLabelRequest.ts +125 -0
- package/src/models/UpdateLabelRequest.ts +121 -0
- package/src/models/UpdateProductTypeRequest.ts +22 -22
- package/src/models/UpdateProductTypeRequestPerformanceValuesInner.ts +73 -0
- package/src/models/index.ts +9 -44
- package/dist/apis/ProductRangeApi.d.ts +0 -269
- package/dist/apis/ProductRangeApi.js +0 -1043
- package/dist/models/AttachAccessoriesProductRangeRequest.d.ts +0 -32
- package/dist/models/AttachAccessoriesProductRangeRequest.js +0 -51
- package/dist/models/AttachAttributesProductRangeRequest.d.ts +0 -33
- package/dist/models/AttachAttributesProductRangeRequest.js +0 -52
- package/dist/models/AttachAttributesProductRangeRequestAttributesInner.d.ts +0 -38
- package/dist/models/AttachAttributesProductRangeRequestAttributesInner.js +0 -53
- package/dist/models/AttachDocumentsProductRangeRequest.d.ts +0 -33
- package/dist/models/AttachDocumentsProductRangeRequest.js +0 -52
- package/dist/models/DetachAccessoriesProductRangeRequest.d.ts +0 -32
- package/dist/models/DetachAccessoriesProductRangeRequest.js +0 -51
- package/dist/models/DetachAttributesProductRangeRequest.d.ts +0 -32
- package/dist/models/DetachAttributesProductRangeRequest.js +0 -51
- package/dist/models/DetachDocumentsProductRangeRequest.d.ts +0 -32
- package/dist/models/DetachDocumentsProductRangeRequest.js +0 -51
- package/dist/models/GetAllProductRangeRequest.d.ts +0 -98
- package/dist/models/GetAllProductRangeRequest.js +0 -82
- package/dist/models/IndexModelAttributeRequest.d.ts +0 -118
- package/dist/models/IndexModelAttributeRequest.js +0 -93
- package/dist/models/IndexProductRangeRequest.d.ts +0 -110
- package/dist/models/ModelAttributeListResource.d.ts +0 -64
- package/dist/models/ModelAttributeListResource.js +0 -71
- package/dist/models/ModelAttributeListResourceArrayResponse.d.ts +0 -33
- package/dist/models/ModelAttributeListResourceArrayResponse.js +0 -50
- package/dist/models/PaginatedModelAttributeListResourceResponse.d.ts +0 -40
- package/dist/models/PaginatedModelAttributeListResourceResponse.js +0 -57
- package/dist/models/PaginatedProductRangeFrontendListResourceResponse.d.ts +0 -40
- package/dist/models/PaginatedProductRangeFrontendListResourceResponse.js +0 -57
- package/dist/models/PaginatedProductRangeListResourceResponse.d.ts +0 -40
- package/dist/models/PaginatedProductRangeListResourceResponse.js +0 -57
- package/dist/models/PaginatedProductRangeLiteResourceResponse.d.ts +0 -40
- package/dist/models/PaginatedProductRangeLiteResourceResponse.js +0 -57
- package/dist/models/PaginatedProductRangeResourceResponse.d.ts +0 -40
- package/dist/models/PaginatedProductRangeResourceResponse.js +0 -57
- package/dist/models/PaginatedProductRangeSearchResultResourceResponse.d.ts +0 -40
- package/dist/models/PaginatedProductRangeSearchResultResourceResponse.js +0 -57
- package/dist/models/ProductRangeAggregationResource.d.ts +0 -44
- package/dist/models/ProductRangeAggregationResource.js +0 -59
- package/dist/models/ProductRangeAggregationResourceArrayResponse.d.ts +0 -33
- package/dist/models/ProductRangeAggregationResourceArrayResponse.js +0 -50
- package/dist/models/ProductRangeFrontendListResource.d.ts +0 -62
- package/dist/models/ProductRangeFrontendListResource.js +0 -71
- package/dist/models/ProductRangeFrontendListResourceArrayResponse.d.ts +0 -33
- package/dist/models/ProductRangeFrontendListResourceArrayResponse.js +0 -50
- package/dist/models/ProductRangeFrontendResource.d.ts +0 -117
- package/dist/models/ProductRangeFrontendResource.js +0 -106
- package/dist/models/ProductRangeFrontendResourceArrayResponse.d.ts +0 -33
- package/dist/models/ProductRangeFrontendResourceArrayResponse.js +0 -50
- package/dist/models/ProductRangeListResource.d.ts +0 -66
- package/dist/models/ProductRangeListResource.js +0 -75
- package/dist/models/ProductRangeListResourceArrayResponse.d.ts +0 -33
- package/dist/models/ProductRangeListResourceArrayResponse.js +0 -50
- package/dist/models/ProductRangeLiteResource.d.ts +0 -38
- package/dist/models/ProductRangeLiteResource.js +0 -55
- package/dist/models/ProductRangeLiteResourceArrayResponse.d.ts +0 -33
- package/dist/models/ProductRangeLiteResourceArrayResponse.js +0 -50
- package/dist/models/ProductRangeResource.d.ts +0 -89
- package/dist/models/ProductRangeResource.js +0 -86
- package/dist/models/ProductRangeResourceArrayResponse.d.ts +0 -33
- package/dist/models/ProductRangeResourceArrayResponse.js +0 -50
- package/dist/models/ProductRangeSearchResponseResource.d.ts +0 -47
- package/dist/models/ProductRangeSearchResponseResource.js +0 -62
- package/dist/models/ProductRangeSearchResponseResourceArrayResponse.d.ts +0 -33
- package/dist/models/ProductRangeSearchResponseResourceArrayResponse.js +0 -50
- package/dist/models/ProductRangeSearchResponseResourceMeta.d.ts +0 -50
- package/dist/models/ProductRangeSearchResponseResourceMeta.js +0 -63
- package/dist/models/ProductRangeSearchResultResource.d.ts +0 -80
- package/dist/models/ProductRangeSearchResultResource.js +0 -83
- package/dist/models/ProductRangeSearchResultResourceArrayResponse.d.ts +0 -33
- package/dist/models/ProductRangeSearchResultResourceArrayResponse.js +0 -50
- package/dist/models/ProductRangeSiteDetailLiteResource.d.ts +0 -44
- package/dist/models/ProductRangeSiteDetailLiteResource.js +0 -59
- package/dist/models/ProductRangeSiteDetailLiteResourceArrayResponse.d.ts +0 -33
- package/dist/models/ProductRangeSiteDetailLiteResourceArrayResponse.js +0 -50
- package/dist/models/ProductRangeSiteDetailResource.d.ts +0 -101
- package/dist/models/ProductRangeSiteDetailResource.js +0 -98
- package/dist/models/ProductRangeSiteDetailResourceArrayResponse.d.ts +0 -33
- package/dist/models/ProductRangeSiteDetailResourceArrayResponse.js +0 -50
- package/dist/models/ProductRangeSortBy.d.ts +0 -27
- package/dist/models/ProductRangeSortBy.js +0 -53
- package/dist/models/StoreProductRangeRequest.d.ts +0 -52
- package/dist/models/StoreProductRangeRequest.js +0 -59
- package/dist/models/StoreProductRangeRequestSitesInner.d.ts +0 -92
- package/dist/models/StoreProductRangeRequestSitesInner.js +0 -75
- package/dist/models/UpdateProductRangeRequest.d.ts +0 -59
- package/dist/models/UpdateProductRangeRequest.js +0 -62
- package/dist/models/UpdateProductRangeRequestAttributesInner.d.ts +0 -38
- package/dist/models/UpdateProductRangeRequestAttributesInner.js +0 -51
- package/docs/AttachAccessoriesProductRangeRequest.md +0 -34
- package/docs/AttachAttributesProductRangeRequest.md +0 -34
- package/docs/AttachAttributesProductRangeRequestAttributesInner.md +0 -36
- package/docs/DetachAccessoriesProductRangeRequest.md +0 -34
- package/docs/DetachAttributesProductRangeRequest.md +0 -34
- package/docs/DetachDocumentsProductRangeRequest.md +0 -34
- package/docs/GetAllProductRangeRequest.md +0 -50
- package/docs/IndexProductRangeRequest.md +0 -54
- package/docs/ModelAttributeListResource.md +0 -44
- package/docs/ModelAttributeListResourceArrayResponse.md +0 -34
- package/docs/PaginatedModelAttributeListResourceResponse.md +0 -36
- package/docs/PaginatedProductRangeFrontendListResourceResponse.md +0 -36
- package/docs/PaginatedProductRangeListResourceResponse.md +0 -36
- package/docs/PaginatedProductRangeLiteResourceResponse.md +0 -36
- package/docs/PaginatedProductRangeSearchResultResourceResponse.md +0 -36
- package/docs/ProductRangeAggregationResource.md +0 -38
- package/docs/ProductRangeAggregationResourceArrayResponse.md +0 -34
- package/docs/ProductRangeApi.md +0 -1097
- package/docs/ProductRangeFrontendListResourceArrayResponse.md +0 -34
- package/docs/ProductRangeFrontendResource.md +0 -62
- package/docs/ProductRangeFrontendResourceArrayResponse.md +0 -34
- package/docs/ProductRangeListResource.md +0 -44
- package/docs/ProductRangeListResourceArrayResponse.md +0 -34
- package/docs/ProductRangeLiteResourceArrayResponse.md +0 -34
- package/docs/ProductRangeResource.md +0 -52
- package/docs/ProductRangeSearchResponseResource.md +0 -38
- package/docs/ProductRangeSearchResponseResourceArrayResponse.md +0 -34
- package/docs/ProductRangeSearchResponseResourceMeta.md +0 -40
- package/docs/ProductRangeSearchResultResource.md +0 -50
- package/docs/ProductRangeSearchResultResourceArrayResponse.md +0 -34
- package/docs/ProductRangeSiteDetailLiteResourceArrayResponse.md +0 -34
- package/docs/ProductRangeSiteDetailResource.md +0 -56
- package/docs/ProductRangeSiteDetailResourceArrayResponse.md +0 -34
- package/docs/StoreProductRangeRequest.md +0 -40
- package/docs/StoreProductRangeRequestSitesInner.md +0 -54
- package/docs/UpdateProductRangeRequest.md +0 -42
- package/src/apis/ProductRangeApi.ts +0 -888
- package/src/models/AttachAccessoriesProductRangeRequest.ts +0 -66
- package/src/models/AttachAttributesProductRangeRequest.ts +0 -74
- package/src/models/AttachAttributesProductRangeRequestAttributesInner.ts +0 -74
- package/src/models/AttachDocumentsProductRangeRequest.ts +0 -74
- package/src/models/DetachAccessoriesProductRangeRequest.ts +0 -66
- package/src/models/DetachAttributesProductRangeRequest.ts +0 -66
- package/src/models/DetachDocumentsProductRangeRequest.ts +0 -66
- package/src/models/GetAllProductRangeRequest.ts +0 -151
- package/src/models/IndexModelAttributeRequest.ts +0 -176
- package/src/models/IndexProductRangeRequest.ts +0 -167
- package/src/models/ModelAttributeListResource.ts +0 -125
- package/src/models/ModelAttributeListResourceArrayResponse.ts +0 -73
- package/src/models/PaginatedModelAttributeListResourceResponse.ts +0 -90
- package/src/models/PaginatedProductRangeFrontendListResourceResponse.ts +0 -90
- package/src/models/PaginatedProductRangeListResourceResponse.ts +0 -90
- package/src/models/PaginatedProductRangeLiteResourceResponse.ts +0 -90
- package/src/models/PaginatedProductRangeResourceResponse.ts +0 -90
- package/src/models/PaginatedProductRangeSearchResultResourceResponse.ts +0 -90
- package/src/models/ProductRangeAggregationResource.ts +0 -84
- package/src/models/ProductRangeAggregationResourceArrayResponse.ts +0 -73
- package/src/models/ProductRangeFrontendListResource.ts +0 -111
- package/src/models/ProductRangeFrontendListResourceArrayResponse.ts +0 -73
- package/src/models/ProductRangeFrontendResource.ts +0 -199
- package/src/models/ProductRangeFrontendResourceArrayResponse.ts +0 -73
- package/src/models/ProductRangeListResource.ts +0 -140
- package/src/models/ProductRangeListResourceArrayResponse.ts +0 -73
- package/src/models/ProductRangeLiteResource.ts +0 -75
- package/src/models/ProductRangeLiteResourceArrayResponse.ts +0 -73
- package/src/models/ProductRangeResource.ts +0 -167
- package/src/models/ProductRangeResourceArrayResponse.ts +0 -73
- package/src/models/ProductRangeSearchResponseResource.ts +0 -106
- package/src/models/ProductRangeSearchResponseResourceArrayResponse.ts +0 -73
- package/src/models/ProductRangeSearchResponseResourceMeta.ts +0 -93
- package/src/models/ProductRangeSearchResultResource.ts +0 -138
- package/src/models/ProductRangeSearchResultResourceArrayResponse.ts +0 -73
- package/src/models/ProductRangeSiteDetailLiteResource.ts +0 -84
- package/src/models/ProductRangeSiteDetailLiteResourceArrayResponse.ts +0 -73
- package/src/models/ProductRangeSiteDetailResource.ts +0 -187
- package/src/models/ProductRangeSiteDetailResourceArrayResponse.ts +0 -73
- package/src/models/ProductRangeSortBy.ts +0 -55
- package/src/models/StoreProductRangeRequest.ts +0 -105
- package/src/models/StoreProductRangeRequestSitesInner.ts +0 -148
- package/src/models/UpdateProductRangeRequest.ts +0 -120
- package/src/models/UpdateProductRangeRequestAttributesInner.ts +0 -73
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
# ProductRangeFrontendListResourceArrayResponse
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
## Properties
|
|
6
|
-
|
|
7
|
-
Name | Type
|
|
8
|
-
------------ | -------------
|
|
9
|
-
`data` | [Array<ProductRangeFrontendListResource>](ProductRangeFrontendListResource.md)
|
|
10
|
-
|
|
11
|
-
## Example
|
|
12
|
-
|
|
13
|
-
```typescript
|
|
14
|
-
import type { ProductRangeFrontendListResourceArrayResponse } from '@digital8/lighting-illusions-ts-sdk'
|
|
15
|
-
|
|
16
|
-
// TODO: Update the object below with actual values
|
|
17
|
-
const example = {
|
|
18
|
-
"data": null,
|
|
19
|
-
} satisfies ProductRangeFrontendListResourceArrayResponse
|
|
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 ProductRangeFrontendListResourceArrayResponse
|
|
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
|
-
|
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
# ProductRangeFrontendResource
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
## Properties
|
|
6
|
-
|
|
7
|
-
Name | Type
|
|
8
|
-
------------ | -------------
|
|
9
|
-
`id` | number
|
|
10
|
-
`name` | string
|
|
11
|
-
`slug` | string
|
|
12
|
-
`description` | string
|
|
13
|
-
`content` | string
|
|
14
|
-
`excerpt` | string
|
|
15
|
-
`siteId` | number
|
|
16
|
-
`supplier` | [SupplierFrontendResource](SupplierFrontendResource.md)
|
|
17
|
-
`categories` | object
|
|
18
|
-
`products` | object
|
|
19
|
-
`accessories` | object
|
|
20
|
-
`documents` | object
|
|
21
|
-
`seo` | object
|
|
22
|
-
`assets` | object
|
|
23
|
-
`thumbnail` | string
|
|
24
|
-
|
|
25
|
-
## Example
|
|
26
|
-
|
|
27
|
-
```typescript
|
|
28
|
-
import type { ProductRangeFrontendResource } from '@digital8/lighting-illusions-ts-sdk'
|
|
29
|
-
|
|
30
|
-
// TODO: Update the object below with actual values
|
|
31
|
-
const example = {
|
|
32
|
-
"id": null,
|
|
33
|
-
"name": null,
|
|
34
|
-
"slug": null,
|
|
35
|
-
"description": null,
|
|
36
|
-
"content": null,
|
|
37
|
-
"excerpt": null,
|
|
38
|
-
"siteId": null,
|
|
39
|
-
"supplier": null,
|
|
40
|
-
"categories": null,
|
|
41
|
-
"products": null,
|
|
42
|
-
"accessories": null,
|
|
43
|
-
"documents": null,
|
|
44
|
-
"seo": null,
|
|
45
|
-
"assets": null,
|
|
46
|
-
"thumbnail": null,
|
|
47
|
-
} satisfies ProductRangeFrontendResource
|
|
48
|
-
|
|
49
|
-
console.log(example)
|
|
50
|
-
|
|
51
|
-
// Convert the instance to a JSON string
|
|
52
|
-
const exampleJSON: string = JSON.stringify(example)
|
|
53
|
-
console.log(exampleJSON)
|
|
54
|
-
|
|
55
|
-
// Parse the JSON string back to an object
|
|
56
|
-
const exampleParsed = JSON.parse(exampleJSON) as ProductRangeFrontendResource
|
|
57
|
-
console.log(exampleParsed)
|
|
58
|
-
```
|
|
59
|
-
|
|
60
|
-
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
61
|
-
|
|
62
|
-
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
# ProductRangeFrontendResourceArrayResponse
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
## Properties
|
|
6
|
-
|
|
7
|
-
Name | Type
|
|
8
|
-
------------ | -------------
|
|
9
|
-
`data` | [Array<ProductRangeFrontendResource>](ProductRangeFrontendResource.md)
|
|
10
|
-
|
|
11
|
-
## Example
|
|
12
|
-
|
|
13
|
-
```typescript
|
|
14
|
-
import type { ProductRangeFrontendResourceArrayResponse } from '@digital8/lighting-illusions-ts-sdk'
|
|
15
|
-
|
|
16
|
-
// TODO: Update the object below with actual values
|
|
17
|
-
const example = {
|
|
18
|
-
"data": null,
|
|
19
|
-
} satisfies ProductRangeFrontendResourceArrayResponse
|
|
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 ProductRangeFrontendResourceArrayResponse
|
|
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
|
-
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
# ProductRangeListResource
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
## Properties
|
|
6
|
-
|
|
7
|
-
Name | Type
|
|
8
|
-
------------ | -------------
|
|
9
|
-
`id` | number
|
|
10
|
-
`name` | string
|
|
11
|
-
`supplier` | [SupplierLiteResource](SupplierLiteResource.md)
|
|
12
|
-
`sites` | [Array<SiteLiteResource>](SiteLiteResource.md)
|
|
13
|
-
`thumbnail` | [AssetLiteResource](AssetLiteResource.md)
|
|
14
|
-
`siteDetails` | [Array<ProductRangeSiteDetailLiteResource>](ProductRangeSiteDetailLiteResource.md)
|
|
15
|
-
|
|
16
|
-
## Example
|
|
17
|
-
|
|
18
|
-
```typescript
|
|
19
|
-
import type { ProductRangeListResource } from '@digital8/lighting-illusions-ts-sdk'
|
|
20
|
-
|
|
21
|
-
// TODO: Update the object below with actual values
|
|
22
|
-
const example = {
|
|
23
|
-
"id": null,
|
|
24
|
-
"name": null,
|
|
25
|
-
"supplier": null,
|
|
26
|
-
"sites": null,
|
|
27
|
-
"thumbnail": null,
|
|
28
|
-
"siteDetails": null,
|
|
29
|
-
} satisfies ProductRangeListResource
|
|
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 ProductRangeListResource
|
|
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
|
-
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
# ProductRangeListResourceArrayResponse
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
## Properties
|
|
6
|
-
|
|
7
|
-
Name | Type
|
|
8
|
-
------------ | -------------
|
|
9
|
-
`data` | [Array<ProductRangeListResource>](ProductRangeListResource.md)
|
|
10
|
-
|
|
11
|
-
## Example
|
|
12
|
-
|
|
13
|
-
```typescript
|
|
14
|
-
import type { ProductRangeListResourceArrayResponse } from '@digital8/lighting-illusions-ts-sdk'
|
|
15
|
-
|
|
16
|
-
// TODO: Update the object below with actual values
|
|
17
|
-
const example = {
|
|
18
|
-
"data": null,
|
|
19
|
-
} satisfies ProductRangeListResourceArrayResponse
|
|
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 ProductRangeListResourceArrayResponse
|
|
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
|
-
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
# ProductRangeLiteResourceArrayResponse
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
## Properties
|
|
6
|
-
|
|
7
|
-
Name | Type
|
|
8
|
-
------------ | -------------
|
|
9
|
-
`data` | [Array<ProductRangeLiteResource>](ProductRangeLiteResource.md)
|
|
10
|
-
|
|
11
|
-
## Example
|
|
12
|
-
|
|
13
|
-
```typescript
|
|
14
|
-
import type { ProductRangeLiteResourceArrayResponse } from '@digital8/lighting-illusions-ts-sdk'
|
|
15
|
-
|
|
16
|
-
// TODO: Update the object below with actual values
|
|
17
|
-
const example = {
|
|
18
|
-
"data": null,
|
|
19
|
-
} satisfies ProductRangeLiteResourceArrayResponse
|
|
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 ProductRangeLiteResourceArrayResponse
|
|
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
|
-
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
# ProductRangeResource
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
## Properties
|
|
6
|
-
|
|
7
|
-
Name | Type
|
|
8
|
-
------------ | -------------
|
|
9
|
-
`id` | number
|
|
10
|
-
`name` | string
|
|
11
|
-
`supplier` | [SupplierLiteResource](SupplierLiteResource.md)
|
|
12
|
-
`sites` | object
|
|
13
|
-
`siteDetails` | [Array<ProductRangeSiteDetailResource>](ProductRangeSiteDetailResource.md)
|
|
14
|
-
`modelAttributes` | object
|
|
15
|
-
`assets` | [Array<AssetResource>](AssetResource.md)
|
|
16
|
-
`thumbnail` | [AssetResource](AssetResource.md)
|
|
17
|
-
`createdAt` | string
|
|
18
|
-
`updatedAt` | string
|
|
19
|
-
|
|
20
|
-
## Example
|
|
21
|
-
|
|
22
|
-
```typescript
|
|
23
|
-
import type { ProductRangeResource } from '@digital8/lighting-illusions-ts-sdk'
|
|
24
|
-
|
|
25
|
-
// TODO: Update the object below with actual values
|
|
26
|
-
const example = {
|
|
27
|
-
"id": null,
|
|
28
|
-
"name": null,
|
|
29
|
-
"supplier": null,
|
|
30
|
-
"sites": null,
|
|
31
|
-
"siteDetails": null,
|
|
32
|
-
"modelAttributes": null,
|
|
33
|
-
"assets": null,
|
|
34
|
-
"thumbnail": null,
|
|
35
|
-
"createdAt": null,
|
|
36
|
-
"updatedAt": null,
|
|
37
|
-
} satisfies ProductRangeResource
|
|
38
|
-
|
|
39
|
-
console.log(example)
|
|
40
|
-
|
|
41
|
-
// Convert the instance to a JSON string
|
|
42
|
-
const exampleJSON: string = JSON.stringify(example)
|
|
43
|
-
console.log(exampleJSON)
|
|
44
|
-
|
|
45
|
-
// Parse the JSON string back to an object
|
|
46
|
-
const exampleParsed = JSON.parse(exampleJSON) as ProductRangeResource
|
|
47
|
-
console.log(exampleParsed)
|
|
48
|
-
```
|
|
49
|
-
|
|
50
|
-
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
51
|
-
|
|
52
|
-
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
# ProductRangeSearchResponseResource
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
## Properties
|
|
6
|
-
|
|
7
|
-
Name | Type
|
|
8
|
-
------------ | -------------
|
|
9
|
-
`data` | [Array<ProductRangeSearchResultResource>](ProductRangeSearchResultResource.md)
|
|
10
|
-
`meta` | [ProductRangeSearchResponseResourceMeta](ProductRangeSearchResponseResourceMeta.md)
|
|
11
|
-
`aggregations` | [ProductRangeAggregationResource](ProductRangeAggregationResource.md)
|
|
12
|
-
|
|
13
|
-
## Example
|
|
14
|
-
|
|
15
|
-
```typescript
|
|
16
|
-
import type { ProductRangeSearchResponseResource } from '@digital8/lighting-illusions-ts-sdk'
|
|
17
|
-
|
|
18
|
-
// TODO: Update the object below with actual values
|
|
19
|
-
const example = {
|
|
20
|
-
"data": null,
|
|
21
|
-
"meta": null,
|
|
22
|
-
"aggregations": null,
|
|
23
|
-
} satisfies ProductRangeSearchResponseResource
|
|
24
|
-
|
|
25
|
-
console.log(example)
|
|
26
|
-
|
|
27
|
-
// Convert the instance to a JSON string
|
|
28
|
-
const exampleJSON: string = JSON.stringify(example)
|
|
29
|
-
console.log(exampleJSON)
|
|
30
|
-
|
|
31
|
-
// Parse the JSON string back to an object
|
|
32
|
-
const exampleParsed = JSON.parse(exampleJSON) as ProductRangeSearchResponseResource
|
|
33
|
-
console.log(exampleParsed)
|
|
34
|
-
```
|
|
35
|
-
|
|
36
|
-
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
37
|
-
|
|
38
|
-
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
# ProductRangeSearchResponseResourceArrayResponse
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
## Properties
|
|
6
|
-
|
|
7
|
-
Name | Type
|
|
8
|
-
------------ | -------------
|
|
9
|
-
`data` | [Array<ProductRangeSearchResponseResource>](ProductRangeSearchResponseResource.md)
|
|
10
|
-
|
|
11
|
-
## Example
|
|
12
|
-
|
|
13
|
-
```typescript
|
|
14
|
-
import type { ProductRangeSearchResponseResourceArrayResponse } from '@digital8/lighting-illusions-ts-sdk'
|
|
15
|
-
|
|
16
|
-
// TODO: Update the object below with actual values
|
|
17
|
-
const example = {
|
|
18
|
-
"data": null,
|
|
19
|
-
} satisfies ProductRangeSearchResponseResourceArrayResponse
|
|
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 ProductRangeSearchResponseResourceArrayResponse
|
|
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
|
-
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
# ProductRangeSearchResponseResourceMeta
|
|
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 { ProductRangeSearchResponseResourceMeta } 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": 150,
|
|
24
|
-
"lastPage": 7,
|
|
25
|
-
} satisfies ProductRangeSearchResponseResourceMeta
|
|
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 ProductRangeSearchResponseResourceMeta
|
|
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
|
-
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
# ProductRangeSearchResultResource
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
## Properties
|
|
6
|
-
|
|
7
|
-
Name | Type
|
|
8
|
-
------------ | -------------
|
|
9
|
-
`id` | number
|
|
10
|
-
`name` | string
|
|
11
|
-
`slug` | string
|
|
12
|
-
`excerpt` | string
|
|
13
|
-
`thumbnail` | string
|
|
14
|
-
`supplierName` | string
|
|
15
|
-
`supplierId` | number
|
|
16
|
-
`supplierThumbnail` | string
|
|
17
|
-
`categories` | Array<object>
|
|
18
|
-
|
|
19
|
-
## Example
|
|
20
|
-
|
|
21
|
-
```typescript
|
|
22
|
-
import type { ProductRangeSearchResultResource } from '@digital8/lighting-illusions-ts-sdk'
|
|
23
|
-
|
|
24
|
-
// TODO: Update the object below with actual values
|
|
25
|
-
const example = {
|
|
26
|
-
"id": null,
|
|
27
|
-
"name": null,
|
|
28
|
-
"slug": null,
|
|
29
|
-
"excerpt": null,
|
|
30
|
-
"thumbnail": null,
|
|
31
|
-
"supplierName": null,
|
|
32
|
-
"supplierId": null,
|
|
33
|
-
"supplierThumbnail": null,
|
|
34
|
-
"categories": null,
|
|
35
|
-
} satisfies ProductRangeSearchResultResource
|
|
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 ProductRangeSearchResultResource
|
|
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
|
-
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
# ProductRangeSearchResultResourceArrayResponse
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
## Properties
|
|
6
|
-
|
|
7
|
-
Name | Type
|
|
8
|
-
------------ | -------------
|
|
9
|
-
`data` | [Array<ProductRangeSearchResultResource>](ProductRangeSearchResultResource.md)
|
|
10
|
-
|
|
11
|
-
## Example
|
|
12
|
-
|
|
13
|
-
```typescript
|
|
14
|
-
import type { ProductRangeSearchResultResourceArrayResponse } from '@digital8/lighting-illusions-ts-sdk'
|
|
15
|
-
|
|
16
|
-
// TODO: Update the object below with actual values
|
|
17
|
-
const example = {
|
|
18
|
-
"data": null,
|
|
19
|
-
} satisfies ProductRangeSearchResultResourceArrayResponse
|
|
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 ProductRangeSearchResultResourceArrayResponse
|
|
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
|
-
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
# ProductRangeSiteDetailLiteResourceArrayResponse
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
## Properties
|
|
6
|
-
|
|
7
|
-
Name | Type
|
|
8
|
-
------------ | -------------
|
|
9
|
-
`data` | [Array<ProductRangeSiteDetailLiteResource>](ProductRangeSiteDetailLiteResource.md)
|
|
10
|
-
|
|
11
|
-
## Example
|
|
12
|
-
|
|
13
|
-
```typescript
|
|
14
|
-
import type { ProductRangeSiteDetailLiteResourceArrayResponse } from '@digital8/lighting-illusions-ts-sdk'
|
|
15
|
-
|
|
16
|
-
// TODO: Update the object below with actual values
|
|
17
|
-
const example = {
|
|
18
|
-
"data": null,
|
|
19
|
-
} satisfies ProductRangeSiteDetailLiteResourceArrayResponse
|
|
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 ProductRangeSiteDetailLiteResourceArrayResponse
|
|
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
|
-
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
# ProductRangeSiteDetailResource
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
## Properties
|
|
6
|
-
|
|
7
|
-
Name | Type
|
|
8
|
-
------------ | -------------
|
|
9
|
-
`id` | number
|
|
10
|
-
`siteId` | number
|
|
11
|
-
`site` | [SiteLiteResource](SiteLiteResource.md)
|
|
12
|
-
`name` | string
|
|
13
|
-
`slug` | string
|
|
14
|
-
`description` | string
|
|
15
|
-
`content` | string
|
|
16
|
-
`excerpt` | string
|
|
17
|
-
`popularityScore` | number
|
|
18
|
-
`isDisabled` | boolean
|
|
19
|
-
`seo` | [SEOResource](SEOResource.md)
|
|
20
|
-
`categories` | [Array<ProductCategoryLiteResource>](ProductCategoryLiteResource.md)
|
|
21
|
-
|
|
22
|
-
## Example
|
|
23
|
-
|
|
24
|
-
```typescript
|
|
25
|
-
import type { ProductRangeSiteDetailResource } from '@digital8/lighting-illusions-ts-sdk'
|
|
26
|
-
|
|
27
|
-
// TODO: Update the object below with actual values
|
|
28
|
-
const example = {
|
|
29
|
-
"id": null,
|
|
30
|
-
"siteId": null,
|
|
31
|
-
"site": null,
|
|
32
|
-
"name": null,
|
|
33
|
-
"slug": null,
|
|
34
|
-
"description": null,
|
|
35
|
-
"content": null,
|
|
36
|
-
"excerpt": null,
|
|
37
|
-
"popularityScore": null,
|
|
38
|
-
"isDisabled": null,
|
|
39
|
-
"seo": null,
|
|
40
|
-
"categories": null,
|
|
41
|
-
} satisfies ProductRangeSiteDetailResource
|
|
42
|
-
|
|
43
|
-
console.log(example)
|
|
44
|
-
|
|
45
|
-
// Convert the instance to a JSON string
|
|
46
|
-
const exampleJSON: string = JSON.stringify(example)
|
|
47
|
-
console.log(exampleJSON)
|
|
48
|
-
|
|
49
|
-
// Parse the JSON string back to an object
|
|
50
|
-
const exampleParsed = JSON.parse(exampleJSON) as ProductRangeSiteDetailResource
|
|
51
|
-
console.log(exampleParsed)
|
|
52
|
-
```
|
|
53
|
-
|
|
54
|
-
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
55
|
-
|
|
56
|
-
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
# ProductRangeSiteDetailResourceArrayResponse
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
## Properties
|
|
6
|
-
|
|
7
|
-
Name | Type
|
|
8
|
-
------------ | -------------
|
|
9
|
-
`data` | [Array<ProductRangeSiteDetailResource>](ProductRangeSiteDetailResource.md)
|
|
10
|
-
|
|
11
|
-
## Example
|
|
12
|
-
|
|
13
|
-
```typescript
|
|
14
|
-
import type { ProductRangeSiteDetailResourceArrayResponse } from '@digital8/lighting-illusions-ts-sdk'
|
|
15
|
-
|
|
16
|
-
// TODO: Update the object below with actual values
|
|
17
|
-
const example = {
|
|
18
|
-
"data": null,
|
|
19
|
-
} satisfies ProductRangeSiteDetailResourceArrayResponse
|
|
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 ProductRangeSiteDetailResourceArrayResponse
|
|
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
|
-
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
# StoreProductRangeRequest
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
## Properties
|
|
6
|
-
|
|
7
|
-
Name | Type
|
|
8
|
-
------------ | -------------
|
|
9
|
-
`name` | string
|
|
10
|
-
`supplierId` | number
|
|
11
|
-
`sites` | [Array<StoreProductRangeRequestSitesInner>](StoreProductRangeRequestSitesInner.md)
|
|
12
|
-
`assets` | [Array<StoreProductChildRequestAssetsInner>](StoreProductChildRequestAssetsInner.md)
|
|
13
|
-
|
|
14
|
-
## Example
|
|
15
|
-
|
|
16
|
-
```typescript
|
|
17
|
-
import type { StoreProductRangeRequest } from '@digital8/lighting-illusions-ts-sdk'
|
|
18
|
-
|
|
19
|
-
// TODO: Update the object below with actual values
|
|
20
|
-
const example = {
|
|
21
|
-
"name": null,
|
|
22
|
-
"supplierId": null,
|
|
23
|
-
"sites": null,
|
|
24
|
-
"assets": null,
|
|
25
|
-
} satisfies StoreProductRangeRequest
|
|
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 StoreProductRangeRequest
|
|
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
|
-
|