@digital8/lighting-illusions-ts-sdk 0.0.473 → 0.0.474
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 -10
- package/README.md +56 -20
- package/dist/apis/AttributeApi.d.ts +33 -33
- package/dist/apis/AttributeApi.js +92 -92
- package/dist/apis/OverlayTemplateApi.d.ts +39 -39
- package/dist/apis/OverlayTemplateApi.js +110 -110
- package/dist/apis/ProductApi.d.ts +78 -17
- package/dist/apis/ProductApi.js +271 -24
- package/dist/apis/ProductTypeApi.d.ts +33 -33
- package/dist/apis/ProductTypeApi.js +89 -89
- package/dist/apis/SiteApi.d.ts +5 -5
- package/dist/apis/SiteApi.js +2 -2
- package/dist/apis/SupplierApi.d.ts +3 -3
- package/dist/apis/SupplierApi.js +1 -1
- package/dist/apis/TagApi.d.ts +27 -27
- package/dist/apis/TagApi.js +81 -81
- package/dist/models/AssetLiteResource.d.ts +6 -0
- package/dist/models/AssetLiteResource.js +4 -0
- package/dist/models/AttachAccessoriesProductChildRequest.d.ts +32 -0
- package/dist/models/AttachAccessoriesProductChildRequest.js +51 -0
- package/dist/models/AttachAssetsOverlayTemplateRequest.d.ts +32 -0
- package/dist/models/AttachAssetsOverlayTemplateRequest.js +51 -0
- package/dist/models/AttachAttributeProductTypeRequest.d.ts +48 -0
- package/dist/models/AttachAttributeProductTypeRequest.js +65 -0
- package/dist/models/AttachProductTypeAttributeRequest.d.ts +48 -0
- package/dist/models/AttachProductTypeAttributeRequest.js +65 -0
- package/dist/models/AttributeListResource.d.ts +56 -0
- package/dist/models/AttributeListResource.js +67 -0
- package/dist/models/AttributeListResourceArrayResponse.d.ts +33 -0
- package/dist/models/AttributeListResourceArrayResponse.js +50 -0
- package/dist/models/DetachAssetableOverlayTemplateRequest.d.ts +51 -0
- package/dist/models/DetachAssetableOverlayTemplateRequest.js +64 -0
- package/dist/models/ExternalApiLogListResource.d.ts +56 -0
- package/dist/models/ExternalApiLogListResource.js +63 -0
- package/dist/models/ExternalApiLogListResourceArrayResponse.d.ts +33 -0
- package/dist/models/ExternalApiLogListResourceArrayResponse.js +50 -0
- package/dist/models/GetAllAttributeRequest.d.ts +15 -9
- package/dist/models/GetAllAttributeRequest.js +6 -4
- package/dist/models/GetAllOverlayTemplateRequest.d.ts +12 -6
- package/dist/models/GetAllOverlayTemplateRequest.js +4 -2
- package/dist/models/GetAllProductChildRequest.d.ts +6 -0
- package/dist/models/GetAllProductChildRequest.js +2 -0
- package/dist/models/GetAllProductRequest.d.ts +36 -0
- package/dist/models/GetAllProductRequest.js +12 -0
- package/dist/models/GetAllProductTypeRequest.d.ts +6 -0
- package/dist/models/GetAllProductTypeRequest.js +2 -0
- package/dist/models/GetAllSupplierRequest.d.ts +6 -0
- package/dist/models/GetAllSupplierRequest.js +2 -0
- package/dist/models/IndexAttributeRequest.d.ts +25 -0
- package/dist/models/IndexAttributeRequest.js +13 -1
- package/dist/models/IndexExternalApiLogRequest.d.ts +21 -3
- package/dist/models/IndexExternalApiLogRequest.js +10 -4
- package/dist/models/IndexOverlayTemplateRequest.d.ts +25 -0
- package/dist/models/IndexOverlayTemplateRequest.js +13 -1
- package/dist/models/IndexProductChildRequest.d.ts +6 -0
- package/dist/models/IndexProductChildRequest.js +2 -0
- package/dist/models/IndexProductRequest.d.ts +130 -0
- package/dist/models/IndexProductRequest.js +97 -0
- package/dist/models/IndexProductTypeRequest.d.ts +25 -0
- package/dist/models/IndexProductTypeRequest.js +13 -1
- package/dist/models/IndexSiteNotificationRequest.d.ts +18 -0
- package/dist/models/IndexSiteNotificationRequest.js +6 -0
- package/dist/models/IndexSiteRequest.d.ts +18 -0
- package/dist/models/IndexSiteRequest.js +6 -0
- package/dist/models/IndexSupplierRequest.d.ts +25 -0
- package/dist/models/IndexSupplierRequest.js +13 -1
- package/dist/models/IndexTagRequest.d.ts +25 -0
- package/dist/models/IndexTagRequest.js +13 -1
- package/dist/models/OverlayTemplateListResource.d.ts +45 -0
- package/dist/models/OverlayTemplateListResource.js +60 -0
- package/dist/models/OverlayTemplateListResourceArrayResponse.d.ts +33 -0
- package/dist/models/OverlayTemplateListResourceArrayResponse.js +50 -0
- package/dist/models/PaginatedAttributeListResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedAttributeListResourceResponse.js +57 -0
- package/dist/models/PaginatedExternalApiLogListResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedExternalApiLogListResourceResponse.js +57 -0
- package/dist/models/PaginatedOverlayTemplateListResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedOverlayTemplateListResourceResponse.js +57 -0
- package/dist/models/PaginatedProductChildListResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedProductChildListResourceResponse.js +57 -0
- package/dist/models/PaginatedProductListResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedProductListResourceResponse.js +57 -0
- package/dist/models/PaginatedProductTypeListResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedProductTypeListResourceResponse.js +57 -0
- package/dist/models/PaginatedSiteListResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedSiteListResourceResponse.js +57 -0
- package/dist/models/PaginatedSiteNotificationListResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedSiteNotificationListResourceResponse.js +57 -0
- package/dist/models/PaginatedSupplierListResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedSupplierListResourceResponse.js +57 -0
- package/dist/models/PaginatedTagListResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedTagListResourceResponse.js +57 -0
- package/dist/models/ProductChildListResource.d.ts +63 -0
- package/dist/models/ProductChildListResource.js +72 -0
- package/dist/models/ProductChildListResourceArrayResponse.d.ts +33 -0
- package/dist/models/ProductChildListResourceArrayResponse.js +50 -0
- package/dist/models/ProductListResource.d.ts +38 -0
- package/dist/models/ProductListResource.js +55 -0
- package/dist/models/ProductListResourceArrayResponse.d.ts +33 -0
- package/dist/models/ProductListResourceArrayResponse.js +50 -0
- package/dist/models/ProductTypeListResource.d.ts +44 -0
- package/dist/models/ProductTypeListResource.js +59 -0
- package/dist/models/ProductTypeListResourceArrayResponse.d.ts +33 -0
- package/dist/models/ProductTypeListResourceArrayResponse.js +50 -0
- package/dist/models/SiteListResource.d.ts +50 -0
- package/dist/models/SiteListResource.js +63 -0
- package/dist/models/SiteListResourceArrayResponse.d.ts +33 -0
- package/dist/models/SiteListResourceArrayResponse.js +50 -0
- package/dist/models/SiteNotificationListResource.d.ts +87 -0
- package/dist/models/SiteNotificationListResource.js +84 -0
- package/dist/models/SiteNotificationListResourceArrayResponse.d.ts +33 -0
- package/dist/models/SiteNotificationListResourceArrayResponse.js +50 -0
- package/dist/models/SupplierListResource.d.ts +57 -0
- package/dist/models/SupplierListResource.js +68 -0
- package/dist/models/SupplierListResourceArrayResponse.d.ts +33 -0
- package/dist/models/SupplierListResourceArrayResponse.js +50 -0
- package/dist/models/TagListResource.d.ts +57 -0
- package/dist/models/TagListResource.js +68 -0
- package/dist/models/TagListResourceArrayResponse.d.ts +33 -0
- package/dist/models/TagListResourceArrayResponse.js +50 -0
- package/dist/models/index.d.ts +36 -5
- package/dist/models/index.js +36 -5
- package/docs/AssetLiteResource.md +2 -0
- package/docs/{LinkProductChildrenTagRequest.md → AttachAccessoriesProductChildRequest.md} +4 -4
- package/docs/{LinkAssetsOverlayTemplateRequest.md → AttachAssetsOverlayTemplateRequest.md} +4 -4
- package/docs/{LinkAttributeProductTypeRequest.md → AttachAttributeProductTypeRequest.md} +4 -4
- package/docs/{LinkProductTypeAttributeRequest.md → AttachProductTypeAttributeRequest.md} +4 -4
- package/docs/AttributeApi.md +117 -117
- package/docs/AttributeListResource.md +42 -0
- package/docs/AttributeListResourceArrayResponse.md +34 -0
- package/docs/{UnlinkAssetableOverlayTemplateRequest.md → DetachAssetableOverlayTemplateRequest.md} +6 -4
- package/docs/ExternalApiLogListResource.md +42 -0
- package/docs/ExternalApiLogListResourceArrayResponse.md +34 -0
- package/docs/GetAllAttributeRequest.md +6 -4
- package/docs/GetAllOverlayTemplateRequest.md +4 -2
- package/docs/GetAllProductChildRequest.md +2 -0
- package/docs/GetAllProductRequest.md +12 -0
- package/docs/GetAllProductTypeRequest.md +2 -0
- package/docs/GetAllSupplierRequest.md +2 -0
- package/docs/IndexAttributeRequest.md +6 -0
- package/docs/IndexExternalApiLogRequest.md +10 -4
- package/docs/IndexOverlayTemplateRequest.md +6 -0
- package/docs/IndexProductChildRequest.md +2 -0
- package/docs/IndexProductRequest.md +58 -0
- package/docs/IndexProductTypeRequest.md +6 -0
- package/docs/IndexSiteNotificationRequest.md +6 -0
- package/docs/IndexSiteRequest.md +6 -0
- package/docs/IndexSupplierRequest.md +6 -0
- package/docs/IndexTagRequest.md +6 -0
- package/docs/OverlayTemplateApi.md +115 -115
- package/docs/OverlayTemplateListResource.md +38 -0
- package/docs/OverlayTemplateListResourceArrayResponse.md +34 -0
- package/docs/PaginatedAttributeListResourceResponse.md +36 -0
- package/docs/PaginatedExternalApiLogListResourceResponse.md +36 -0
- package/docs/PaginatedOverlayTemplateListResourceResponse.md +36 -0
- package/docs/PaginatedProductChildListResourceResponse.md +36 -0
- package/docs/PaginatedProductListResourceResponse.md +36 -0
- package/docs/PaginatedProductTypeListResourceResponse.md +36 -0
- package/docs/PaginatedSiteListResourceResponse.md +36 -0
- package/docs/PaginatedSiteNotificationListResourceResponse.md +36 -0
- package/docs/PaginatedSupplierListResourceResponse.md +36 -0
- package/docs/PaginatedTagListResourceResponse.md +36 -0
- package/docs/ProductApi.md +377 -29
- package/docs/ProductChildListResource.md +44 -0
- package/docs/ProductChildListResourceArrayResponse.md +34 -0
- package/docs/ProductListResource.md +36 -0
- package/docs/ProductListResourceArrayResponse.md +34 -0
- package/docs/ProductTypeApi.md +94 -94
- package/docs/ProductTypeListResource.md +38 -0
- package/docs/ProductTypeListResourceArrayResponse.md +34 -0
- package/docs/SiteApi.md +6 -6
- package/docs/SiteListResource.md +40 -0
- package/docs/SiteListResourceArrayResponse.md +34 -0
- package/docs/SiteNotificationListResource.md +52 -0
- package/docs/SiteNotificationListResourceArrayResponse.md +34 -0
- package/docs/SupplierApi.md +3 -3
- package/docs/SupplierListResource.md +42 -0
- package/docs/SupplierListResourceArrayResponse.md +34 -0
- package/docs/TagApi.md +84 -84
- package/docs/TagListResource.md +42 -0
- package/docs/TagListResourceArrayResponse.md +34 -0
- package/package.json +1 -1
- package/src/apis/AttributeApi.ts +108 -108
- package/src/apis/OverlayTemplateApi.ts +141 -141
- package/src/apis/ProductApi.ts +282 -32
- package/src/apis/ProductTypeApi.ts +104 -104
- package/src/apis/SiteApi.ts +12 -12
- package/src/apis/SupplierApi.ts +6 -6
- package/src/apis/TagApi.ts +94 -94
- package/src/models/AssetLiteResource.ts +9 -0
- package/src/models/AttachAccessoriesProductChildRequest.ts +66 -0
- package/src/models/AttachAssetsOverlayTemplateRequest.ts +66 -0
- package/src/models/AttachAttributeProductTypeRequest.ts +88 -0
- package/src/models/AttachProductTypeAttributeRequest.ts +88 -0
- package/src/models/AttributeListResource.ts +102 -0
- package/src/models/AttributeListResourceArrayResponse.ts +73 -0
- package/src/models/DetachAssetableOverlayTemplateRequest.ts +93 -0
- package/src/models/ExternalApiLogListResource.ts +100 -0
- package/src/models/ExternalApiLogListResourceArrayResponse.ts +73 -0
- package/src/models/GetAllAttributeRequest.ts +21 -13
- package/src/models/GetAllOverlayTemplateRequest.ts +16 -8
- package/src/models/GetAllProductChildRequest.ts +8 -0
- package/src/models/GetAllProductRequest.ts +48 -0
- package/src/models/GetAllProductTypeRequest.ts +8 -0
- package/src/models/GetAllSupplierRequest.ts +8 -0
- package/src/models/IndexAttributeRequest.ts +32 -0
- package/src/models/IndexExternalApiLogRequest.ts +31 -7
- package/src/models/IndexOverlayTemplateRequest.ts +32 -0
- package/src/models/IndexProductChildRequest.ts +8 -0
- package/src/models/IndexProductRequest.ts +192 -0
- package/src/models/IndexProductTypeRequest.ts +32 -0
- package/src/models/IndexSiteNotificationRequest.ts +24 -0
- package/src/models/IndexSiteRequest.ts +24 -0
- package/src/models/IndexSupplierRequest.ts +32 -0
- package/src/models/IndexTagRequest.ts +32 -0
- package/src/models/OverlayTemplateListResource.ts +92 -0
- package/src/models/OverlayTemplateListResourceArrayResponse.ts +73 -0
- package/src/models/PaginatedAttributeListResourceResponse.ts +90 -0
- package/src/models/PaginatedExternalApiLogListResourceResponse.ts +90 -0
- package/src/models/PaginatedOverlayTemplateListResourceResponse.ts +90 -0
- package/src/models/PaginatedProductChildListResourceResponse.ts +90 -0
- package/src/models/PaginatedProductListResourceResponse.ts +90 -0
- package/src/models/PaginatedProductTypeListResourceResponse.ts +90 -0
- package/src/models/PaginatedSiteListResourceResponse.ts +90 -0
- package/src/models/PaginatedSiteNotificationListResourceResponse.ts +90 -0
- package/src/models/PaginatedSupplierListResourceResponse.ts +90 -0
- package/src/models/PaginatedTagListResourceResponse.ts +90 -0
- package/src/models/ProductChildListResource.ts +119 -0
- package/src/models/ProductChildListResourceArrayResponse.ts +73 -0
- package/src/models/ProductListResource.ts +75 -0
- package/src/models/ProductListResourceArrayResponse.ts +73 -0
- package/src/models/ProductTypeListResource.ts +84 -0
- package/src/models/ProductTypeListResourceArrayResponse.ts +73 -0
- package/src/models/SiteListResource.ts +93 -0
- package/src/models/SiteListResourceArrayResponse.ts +73 -0
- package/src/models/SiteNotificationListResource.ts +153 -0
- package/src/models/SiteNotificationListResourceArrayResponse.ts +73 -0
- package/src/models/SupplierListResource.ts +110 -0
- package/src/models/SupplierListResourceArrayResponse.ts +73 -0
- package/src/models/TagListResource.ts +110 -0
- package/src/models/TagListResourceArrayResponse.ts +73 -0
- package/src/models/index.ts +36 -5
- package/dist/models/LinkAssetsOverlayTemplateRequest.d.ts +0 -32
- package/dist/models/LinkAssetsOverlayTemplateRequest.js +0 -51
- package/dist/models/LinkAttributeProductTypeRequest.d.ts +0 -48
- package/dist/models/LinkAttributeProductTypeRequest.js +0 -65
- package/dist/models/LinkProductChildrenTagRequest.d.ts +0 -32
- package/dist/models/LinkProductChildrenTagRequest.js +0 -51
- package/dist/models/LinkProductTypeAttributeRequest.d.ts +0 -48
- package/dist/models/LinkProductTypeAttributeRequest.js +0 -65
- package/dist/models/UnlinkAssetableOverlayTemplateRequest.d.ts +0 -45
- package/dist/models/UnlinkAssetableOverlayTemplateRequest.js +0 -62
- package/src/models/LinkAssetsOverlayTemplateRequest.ts +0 -66
- package/src/models/LinkAttributeProductTypeRequest.ts +0 -88
- package/src/models/LinkProductChildrenTagRequest.ts +0 -66
- package/src/models/LinkProductTypeAttributeRequest.ts +0 -88
- package/src/models/UnlinkAssetableOverlayTemplateRequest.ts +0 -85
package/docs/ProductApi.md
CHANGED
|
@@ -4,13 +4,18 @@ All URIs are relative to *http://localhost/api*
|
|
|
4
4
|
|
|
5
5
|
| Method | HTTP request | Description |
|
|
6
6
|
|------------- | ------------- | -------------|
|
|
7
|
+
| [**attachAccessoriesProductChild**](ProductApi.md#attachaccessoriesproductchildoperation) | **POST** /admin-api/product/children/{productChild}/accessory/attach | Auto-generated: attachAccessoriesProductChild |
|
|
8
|
+
| [**attachCompatibleProductsProductChild**](ProductApi.md#attachcompatibleproductsproductchild) | **POST** /admin-api/product/children/{productChild}/compatible-product/attach | Auto-generated: attachCompatibleProductsProductChild |
|
|
7
9
|
| [**destroyProduct**](ProductApi.md#destroyproduct) | **DELETE** /admin-api/product/parent/{product}/delete | Auto-generated: destroyProduct |
|
|
8
10
|
| [**destroyProductChild**](ProductApi.md#destroyproductchild) | **DELETE** /admin-api/product/children/{productChild}/delete | Auto-generated: destroyProductChild |
|
|
11
|
+
| [**detachAccessoryProductChild**](ProductApi.md#detachaccessoryproductchild) | **DELETE** /admin-api/product/children/{productChild}/accessory/detach/{accessory} | Auto-generated: detachAccessoryProductChild |
|
|
12
|
+
| [**detachCompatibleProductProductChild**](ProductApi.md#detachcompatibleproductproductchild) | **DELETE** /admin-api/product/children/{productChild}/compatible-product/detach/{compatibleProduct} | Auto-generated: detachCompatibleProductProductChild |
|
|
13
|
+
| [**getAccessoriesProductChild**](ProductApi.md#getaccessoriesproductchild) | **POST** /admin-api/product/children/{productChild}/accessory/list | Auto-generated: getAccessoriesProductChild |
|
|
9
14
|
| [**getAllProduct**](ProductApi.md#getallproductoperation) | **POST** /admin-api/product/parent/all | Auto-generated: getAllProduct |
|
|
10
15
|
| [**getAllProductChild**](ProductApi.md#getallproductchildoperation) | **POST** /admin-api/product/children/all | Auto-generated: getAllProductChild |
|
|
16
|
+
| [**getCompatibleProductsProductChild**](ProductApi.md#getcompatibleproductsproductchild) | **POST** /admin-api/product/children/{productChild}/compatible-product/list | Auto-generated: getCompatibleProductsProductChild |
|
|
17
|
+
| [**indexProduct**](ProductApi.md#indexproductoperation) | **POST** /admin-api/product/parent/list | Auto-generated: indexProduct |
|
|
11
18
|
| [**indexProductChild**](ProductApi.md#indexproductchildoperation) | **POST** /admin-api/product/children/list | Auto-generated: indexProductChild |
|
|
12
|
-
| [**searchProductChildrenExcludingRelationsProductChild**](ProductApi.md#searchproductchildrenexcludingrelationsproductchild) | **POST** /admin-api/product/children/search-excluding-relations | Auto-generated: searchProductChildrenExcludingRelationsProductChild |
|
|
13
|
-
| [**searchProductChildrenForRelationsProductChild**](ProductApi.md#searchproductchildrenforrelationsproductchild) | **POST** /admin-api/product/children/search-for-relations | Auto-generated: searchProductChildrenForRelationsProductChild |
|
|
14
19
|
| [**showAssetsProductChild**](ProductApi.md#showassetsproductchild) | **GET** /admin-api/product/children/{productChild}/assets | Auto-generated: showAssetsProductChild |
|
|
15
20
|
| [**showProduct**](ProductApi.md#showproduct) | **GET** /admin-api/product/parent/{product} | Auto-generated: showProduct |
|
|
16
21
|
| [**showProductChild**](ProductApi.md#showproductchild) | **GET** /admin-api/product/children/{productChild} | Auto-generated: showProductChild |
|
|
@@ -21,6 +26,142 @@ All URIs are relative to *http://localhost/api*
|
|
|
21
26
|
|
|
22
27
|
|
|
23
28
|
|
|
29
|
+
## attachAccessoriesProductChild
|
|
30
|
+
|
|
31
|
+
> PaginatedProductChildListResourceResponse attachAccessoriesProductChild(productChild, attachAccessoriesProductChildRequest)
|
|
32
|
+
|
|
33
|
+
Auto-generated: attachAccessoriesProductChild
|
|
34
|
+
|
|
35
|
+
### Example
|
|
36
|
+
|
|
37
|
+
```ts
|
|
38
|
+
import {
|
|
39
|
+
Configuration,
|
|
40
|
+
ProductApi,
|
|
41
|
+
} from '@digital8/lighting-illusions-ts-sdk';
|
|
42
|
+
import type { AttachAccessoriesProductChildOperationRequest } from '@digital8/lighting-illusions-ts-sdk';
|
|
43
|
+
|
|
44
|
+
async function example() {
|
|
45
|
+
console.log("🚀 Testing @digital8/lighting-illusions-ts-sdk SDK...");
|
|
46
|
+
const api = new ProductApi();
|
|
47
|
+
|
|
48
|
+
const body = {
|
|
49
|
+
// number | The id of the productChild
|
|
50
|
+
productChild: 56,
|
|
51
|
+
// AttachAccessoriesProductChildRequest (optional)
|
|
52
|
+
attachAccessoriesProductChildRequest: ...,
|
|
53
|
+
} satisfies AttachAccessoriesProductChildOperationRequest;
|
|
54
|
+
|
|
55
|
+
try {
|
|
56
|
+
const data = await api.attachAccessoriesProductChild(body);
|
|
57
|
+
console.log(data);
|
|
58
|
+
} catch (error) {
|
|
59
|
+
console.error(error);
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
// Run the test
|
|
64
|
+
example().catch(console.error);
|
|
65
|
+
```
|
|
66
|
+
|
|
67
|
+
### Parameters
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
| Name | Type | Description | Notes |
|
|
71
|
+
|------------- | ------------- | ------------- | -------------|
|
|
72
|
+
| **productChild** | `number` | The id of the productChild | [Defaults to `undefined`] |
|
|
73
|
+
| **attachAccessoriesProductChildRequest** | [AttachAccessoriesProductChildRequest](AttachAccessoriesProductChildRequest.md) | | [Optional] |
|
|
74
|
+
|
|
75
|
+
### Return type
|
|
76
|
+
|
|
77
|
+
[**PaginatedProductChildListResourceResponse**](PaginatedProductChildListResourceResponse.md)
|
|
78
|
+
|
|
79
|
+
### Authorization
|
|
80
|
+
|
|
81
|
+
No authorization required
|
|
82
|
+
|
|
83
|
+
### HTTP request headers
|
|
84
|
+
|
|
85
|
+
- **Content-Type**: `application/json`
|
|
86
|
+
- **Accept**: `application/json`
|
|
87
|
+
|
|
88
|
+
|
|
89
|
+
### HTTP response details
|
|
90
|
+
| Status code | Description | Response headers |
|
|
91
|
+
|-------------|-------------|------------------|
|
|
92
|
+
| **200** | Paginated response \\JsonResponse<\\ResourcePaginator<\\ProductChildListResource>> | - |
|
|
93
|
+
|
|
94
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
95
|
+
|
|
96
|
+
|
|
97
|
+
## attachCompatibleProductsProductChild
|
|
98
|
+
|
|
99
|
+
> PaginatedProductChildListResourceResponse attachCompatibleProductsProductChild(productChild, attachAccessoriesProductChildRequest)
|
|
100
|
+
|
|
101
|
+
Auto-generated: attachCompatibleProductsProductChild
|
|
102
|
+
|
|
103
|
+
### Example
|
|
104
|
+
|
|
105
|
+
```ts
|
|
106
|
+
import {
|
|
107
|
+
Configuration,
|
|
108
|
+
ProductApi,
|
|
109
|
+
} from '@digital8/lighting-illusions-ts-sdk';
|
|
110
|
+
import type { AttachCompatibleProductsProductChildRequest } from '@digital8/lighting-illusions-ts-sdk';
|
|
111
|
+
|
|
112
|
+
async function example() {
|
|
113
|
+
console.log("🚀 Testing @digital8/lighting-illusions-ts-sdk SDK...");
|
|
114
|
+
const api = new ProductApi();
|
|
115
|
+
|
|
116
|
+
const body = {
|
|
117
|
+
// number | The id of the productChild
|
|
118
|
+
productChild: 56,
|
|
119
|
+
// AttachAccessoriesProductChildRequest (optional)
|
|
120
|
+
attachAccessoriesProductChildRequest: ...,
|
|
121
|
+
} satisfies AttachCompatibleProductsProductChildRequest;
|
|
122
|
+
|
|
123
|
+
try {
|
|
124
|
+
const data = await api.attachCompatibleProductsProductChild(body);
|
|
125
|
+
console.log(data);
|
|
126
|
+
} catch (error) {
|
|
127
|
+
console.error(error);
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
// Run the test
|
|
132
|
+
example().catch(console.error);
|
|
133
|
+
```
|
|
134
|
+
|
|
135
|
+
### Parameters
|
|
136
|
+
|
|
137
|
+
|
|
138
|
+
| Name | Type | Description | Notes |
|
|
139
|
+
|------------- | ------------- | ------------- | -------------|
|
|
140
|
+
| **productChild** | `number` | The id of the productChild | [Defaults to `undefined`] |
|
|
141
|
+
| **attachAccessoriesProductChildRequest** | [AttachAccessoriesProductChildRequest](AttachAccessoriesProductChildRequest.md) | | [Optional] |
|
|
142
|
+
|
|
143
|
+
### Return type
|
|
144
|
+
|
|
145
|
+
[**PaginatedProductChildListResourceResponse**](PaginatedProductChildListResourceResponse.md)
|
|
146
|
+
|
|
147
|
+
### Authorization
|
|
148
|
+
|
|
149
|
+
No authorization required
|
|
150
|
+
|
|
151
|
+
### HTTP request headers
|
|
152
|
+
|
|
153
|
+
- **Content-Type**: `application/json`
|
|
154
|
+
- **Accept**: `application/json`
|
|
155
|
+
|
|
156
|
+
|
|
157
|
+
### HTTP response details
|
|
158
|
+
| Status code | Description | Response headers |
|
|
159
|
+
|-------------|-------------|------------------|
|
|
160
|
+
| **200** | Paginated response \\JsonResponse<\\ResourcePaginator<\\ProductChildListResource>> | - |
|
|
161
|
+
|
|
162
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
163
|
+
|
|
164
|
+
|
|
24
165
|
## destroyProduct
|
|
25
166
|
|
|
26
167
|
> GenericResponse destroyProduct(product)
|
|
@@ -151,6 +292,210 @@ No authorization required
|
|
|
151
292
|
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
152
293
|
|
|
153
294
|
|
|
295
|
+
## detachAccessoryProductChild
|
|
296
|
+
|
|
297
|
+
> PaginatedProductChildListResourceResponse detachAccessoryProductChild(productChild, accessory)
|
|
298
|
+
|
|
299
|
+
Auto-generated: detachAccessoryProductChild
|
|
300
|
+
|
|
301
|
+
### Example
|
|
302
|
+
|
|
303
|
+
```ts
|
|
304
|
+
import {
|
|
305
|
+
Configuration,
|
|
306
|
+
ProductApi,
|
|
307
|
+
} from '@digital8/lighting-illusions-ts-sdk';
|
|
308
|
+
import type { DetachAccessoryProductChildRequest } from '@digital8/lighting-illusions-ts-sdk';
|
|
309
|
+
|
|
310
|
+
async function example() {
|
|
311
|
+
console.log("🚀 Testing @digital8/lighting-illusions-ts-sdk SDK...");
|
|
312
|
+
const api = new ProductApi();
|
|
313
|
+
|
|
314
|
+
const body = {
|
|
315
|
+
// number | The id of the productChild
|
|
316
|
+
productChild: 56,
|
|
317
|
+
// number | The id of the accessory
|
|
318
|
+
accessory: 56,
|
|
319
|
+
} satisfies DetachAccessoryProductChildRequest;
|
|
320
|
+
|
|
321
|
+
try {
|
|
322
|
+
const data = await api.detachAccessoryProductChild(body);
|
|
323
|
+
console.log(data);
|
|
324
|
+
} catch (error) {
|
|
325
|
+
console.error(error);
|
|
326
|
+
}
|
|
327
|
+
}
|
|
328
|
+
|
|
329
|
+
// Run the test
|
|
330
|
+
example().catch(console.error);
|
|
331
|
+
```
|
|
332
|
+
|
|
333
|
+
### Parameters
|
|
334
|
+
|
|
335
|
+
|
|
336
|
+
| Name | Type | Description | Notes |
|
|
337
|
+
|------------- | ------------- | ------------- | -------------|
|
|
338
|
+
| **productChild** | `number` | The id of the productChild | [Defaults to `undefined`] |
|
|
339
|
+
| **accessory** | `number` | The id of the accessory | [Defaults to `undefined`] |
|
|
340
|
+
|
|
341
|
+
### Return type
|
|
342
|
+
|
|
343
|
+
[**PaginatedProductChildListResourceResponse**](PaginatedProductChildListResourceResponse.md)
|
|
344
|
+
|
|
345
|
+
### Authorization
|
|
346
|
+
|
|
347
|
+
No authorization required
|
|
348
|
+
|
|
349
|
+
### HTTP request headers
|
|
350
|
+
|
|
351
|
+
- **Content-Type**: Not defined
|
|
352
|
+
- **Accept**: `application/json`
|
|
353
|
+
|
|
354
|
+
|
|
355
|
+
### HTTP response details
|
|
356
|
+
| Status code | Description | Response headers |
|
|
357
|
+
|-------------|-------------|------------------|
|
|
358
|
+
| **200** | Paginated response \\JsonResponse<\\ResourcePaginator<\\ProductChildListResource>> | - |
|
|
359
|
+
|
|
360
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
361
|
+
|
|
362
|
+
|
|
363
|
+
## detachCompatibleProductProductChild
|
|
364
|
+
|
|
365
|
+
> PaginatedProductChildListResourceResponse detachCompatibleProductProductChild(productChild, compatibleProduct)
|
|
366
|
+
|
|
367
|
+
Auto-generated: detachCompatibleProductProductChild
|
|
368
|
+
|
|
369
|
+
### Example
|
|
370
|
+
|
|
371
|
+
```ts
|
|
372
|
+
import {
|
|
373
|
+
Configuration,
|
|
374
|
+
ProductApi,
|
|
375
|
+
} from '@digital8/lighting-illusions-ts-sdk';
|
|
376
|
+
import type { DetachCompatibleProductProductChildRequest } from '@digital8/lighting-illusions-ts-sdk';
|
|
377
|
+
|
|
378
|
+
async function example() {
|
|
379
|
+
console.log("🚀 Testing @digital8/lighting-illusions-ts-sdk SDK...");
|
|
380
|
+
const api = new ProductApi();
|
|
381
|
+
|
|
382
|
+
const body = {
|
|
383
|
+
// number | The id of the productChild
|
|
384
|
+
productChild: 56,
|
|
385
|
+
// number | The id of the compatibleProduct
|
|
386
|
+
compatibleProduct: 56,
|
|
387
|
+
} satisfies DetachCompatibleProductProductChildRequest;
|
|
388
|
+
|
|
389
|
+
try {
|
|
390
|
+
const data = await api.detachCompatibleProductProductChild(body);
|
|
391
|
+
console.log(data);
|
|
392
|
+
} catch (error) {
|
|
393
|
+
console.error(error);
|
|
394
|
+
}
|
|
395
|
+
}
|
|
396
|
+
|
|
397
|
+
// Run the test
|
|
398
|
+
example().catch(console.error);
|
|
399
|
+
```
|
|
400
|
+
|
|
401
|
+
### Parameters
|
|
402
|
+
|
|
403
|
+
|
|
404
|
+
| Name | Type | Description | Notes |
|
|
405
|
+
|------------- | ------------- | ------------- | -------------|
|
|
406
|
+
| **productChild** | `number` | The id of the productChild | [Defaults to `undefined`] |
|
|
407
|
+
| **compatibleProduct** | `number` | The id of the compatibleProduct | [Defaults to `undefined`] |
|
|
408
|
+
|
|
409
|
+
### Return type
|
|
410
|
+
|
|
411
|
+
[**PaginatedProductChildListResourceResponse**](PaginatedProductChildListResourceResponse.md)
|
|
412
|
+
|
|
413
|
+
### Authorization
|
|
414
|
+
|
|
415
|
+
No authorization required
|
|
416
|
+
|
|
417
|
+
### HTTP request headers
|
|
418
|
+
|
|
419
|
+
- **Content-Type**: Not defined
|
|
420
|
+
- **Accept**: `application/json`
|
|
421
|
+
|
|
422
|
+
|
|
423
|
+
### HTTP response details
|
|
424
|
+
| Status code | Description | Response headers |
|
|
425
|
+
|-------------|-------------|------------------|
|
|
426
|
+
| **200** | Paginated response \\JsonResponse<\\ResourcePaginator<\\ProductChildListResource>> | - |
|
|
427
|
+
|
|
428
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
429
|
+
|
|
430
|
+
|
|
431
|
+
## getAccessoriesProductChild
|
|
432
|
+
|
|
433
|
+
> PaginatedProductChildListResourceResponse getAccessoriesProductChild(productChild, indexProductChildRequest)
|
|
434
|
+
|
|
435
|
+
Auto-generated: getAccessoriesProductChild
|
|
436
|
+
|
|
437
|
+
### Example
|
|
438
|
+
|
|
439
|
+
```ts
|
|
440
|
+
import {
|
|
441
|
+
Configuration,
|
|
442
|
+
ProductApi,
|
|
443
|
+
} from '@digital8/lighting-illusions-ts-sdk';
|
|
444
|
+
import type { GetAccessoriesProductChildRequest } from '@digital8/lighting-illusions-ts-sdk';
|
|
445
|
+
|
|
446
|
+
async function example() {
|
|
447
|
+
console.log("🚀 Testing @digital8/lighting-illusions-ts-sdk SDK...");
|
|
448
|
+
const api = new ProductApi();
|
|
449
|
+
|
|
450
|
+
const body = {
|
|
451
|
+
// number | The id of the productChild
|
|
452
|
+
productChild: 56,
|
|
453
|
+
// IndexProductChildRequest (optional)
|
|
454
|
+
indexProductChildRequest: ...,
|
|
455
|
+
} satisfies GetAccessoriesProductChildRequest;
|
|
456
|
+
|
|
457
|
+
try {
|
|
458
|
+
const data = await api.getAccessoriesProductChild(body);
|
|
459
|
+
console.log(data);
|
|
460
|
+
} catch (error) {
|
|
461
|
+
console.error(error);
|
|
462
|
+
}
|
|
463
|
+
}
|
|
464
|
+
|
|
465
|
+
// Run the test
|
|
466
|
+
example().catch(console.error);
|
|
467
|
+
```
|
|
468
|
+
|
|
469
|
+
### Parameters
|
|
470
|
+
|
|
471
|
+
|
|
472
|
+
| Name | Type | Description | Notes |
|
|
473
|
+
|------------- | ------------- | ------------- | -------------|
|
|
474
|
+
| **productChild** | `number` | The id of the productChild | [Defaults to `undefined`] |
|
|
475
|
+
| **indexProductChildRequest** | [IndexProductChildRequest](IndexProductChildRequest.md) | | [Optional] |
|
|
476
|
+
|
|
477
|
+
### Return type
|
|
478
|
+
|
|
479
|
+
[**PaginatedProductChildListResourceResponse**](PaginatedProductChildListResourceResponse.md)
|
|
480
|
+
|
|
481
|
+
### Authorization
|
|
482
|
+
|
|
483
|
+
No authorization required
|
|
484
|
+
|
|
485
|
+
### HTTP request headers
|
|
486
|
+
|
|
487
|
+
- **Content-Type**: `application/json`
|
|
488
|
+
- **Accept**: `application/json`
|
|
489
|
+
|
|
490
|
+
|
|
491
|
+
### HTTP response details
|
|
492
|
+
| Status code | Description | Response headers |
|
|
493
|
+
|-------------|-------------|------------------|
|
|
494
|
+
| **200** | Paginated response \\JsonResponse<\\ResourcePaginator<\\ProductChildListResource[]>> | - |
|
|
495
|
+
|
|
496
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
497
|
+
|
|
498
|
+
|
|
154
499
|
## getAllProduct
|
|
155
500
|
|
|
156
501
|
> ProductLiteResourceArrayResponse getAllProduct(getAllProductRequest)
|
|
@@ -281,11 +626,11 @@ No authorization required
|
|
|
281
626
|
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
282
627
|
|
|
283
628
|
|
|
284
|
-
##
|
|
629
|
+
## getCompatibleProductsProductChild
|
|
285
630
|
|
|
286
|
-
>
|
|
631
|
+
> PaginatedProductChildListResourceResponse getCompatibleProductsProductChild(productChild, indexProductChildRequest)
|
|
287
632
|
|
|
288
|
-
Auto-generated:
|
|
633
|
+
Auto-generated: getCompatibleProductsProductChild
|
|
289
634
|
|
|
290
635
|
### Example
|
|
291
636
|
|
|
@@ -294,19 +639,21 @@ import {
|
|
|
294
639
|
Configuration,
|
|
295
640
|
ProductApi,
|
|
296
641
|
} from '@digital8/lighting-illusions-ts-sdk';
|
|
297
|
-
import type {
|
|
642
|
+
import type { GetCompatibleProductsProductChildRequest } from '@digital8/lighting-illusions-ts-sdk';
|
|
298
643
|
|
|
299
644
|
async function example() {
|
|
300
645
|
console.log("🚀 Testing @digital8/lighting-illusions-ts-sdk SDK...");
|
|
301
646
|
const api = new ProductApi();
|
|
302
647
|
|
|
303
648
|
const body = {
|
|
649
|
+
// number | The id of the productChild
|
|
650
|
+
productChild: 56,
|
|
304
651
|
// IndexProductChildRequest (optional)
|
|
305
652
|
indexProductChildRequest: ...,
|
|
306
|
-
} satisfies
|
|
653
|
+
} satisfies GetCompatibleProductsProductChildRequest;
|
|
307
654
|
|
|
308
655
|
try {
|
|
309
|
-
const data = await api.
|
|
656
|
+
const data = await api.getCompatibleProductsProductChild(body);
|
|
310
657
|
console.log(data);
|
|
311
658
|
} catch (error) {
|
|
312
659
|
console.error(error);
|
|
@@ -322,11 +669,12 @@ example().catch(console.error);
|
|
|
322
669
|
|
|
323
670
|
| Name | Type | Description | Notes |
|
|
324
671
|
|------------- | ------------- | ------------- | -------------|
|
|
672
|
+
| **productChild** | `number` | The id of the productChild | [Defaults to `undefined`] |
|
|
325
673
|
| **indexProductChildRequest** | [IndexProductChildRequest](IndexProductChildRequest.md) | | [Optional] |
|
|
326
674
|
|
|
327
675
|
### Return type
|
|
328
676
|
|
|
329
|
-
[**
|
|
677
|
+
[**PaginatedProductChildListResourceResponse**](PaginatedProductChildListResourceResponse.md)
|
|
330
678
|
|
|
331
679
|
### Authorization
|
|
332
680
|
|
|
@@ -341,16 +689,16 @@ No authorization required
|
|
|
341
689
|
### HTTP response details
|
|
342
690
|
| Status code | Description | Response headers |
|
|
343
691
|
|-------------|-------------|------------------|
|
|
344
|
-
| **200** | Paginated response \\JsonResponse<\\ResourcePaginator<\\
|
|
692
|
+
| **200** | Paginated response \\JsonResponse<\\ResourcePaginator<\\ProductChildListResource[]>> | - |
|
|
345
693
|
|
|
346
694
|
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
347
695
|
|
|
348
696
|
|
|
349
|
-
##
|
|
697
|
+
## indexProduct
|
|
350
698
|
|
|
351
|
-
>
|
|
699
|
+
> PaginatedProductListResourceResponse indexProduct(indexProductRequest)
|
|
352
700
|
|
|
353
|
-
Auto-generated:
|
|
701
|
+
Auto-generated: indexProduct
|
|
354
702
|
|
|
355
703
|
### Example
|
|
356
704
|
|
|
@@ -359,19 +707,19 @@ import {
|
|
|
359
707
|
Configuration,
|
|
360
708
|
ProductApi,
|
|
361
709
|
} from '@digital8/lighting-illusions-ts-sdk';
|
|
362
|
-
import type {
|
|
710
|
+
import type { IndexProductOperationRequest } from '@digital8/lighting-illusions-ts-sdk';
|
|
363
711
|
|
|
364
712
|
async function example() {
|
|
365
713
|
console.log("🚀 Testing @digital8/lighting-illusions-ts-sdk SDK...");
|
|
366
714
|
const api = new ProductApi();
|
|
367
715
|
|
|
368
716
|
const body = {
|
|
369
|
-
//
|
|
370
|
-
|
|
371
|
-
} satisfies
|
|
717
|
+
// IndexProductRequest (optional)
|
|
718
|
+
indexProductRequest: ...,
|
|
719
|
+
} satisfies IndexProductOperationRequest;
|
|
372
720
|
|
|
373
721
|
try {
|
|
374
|
-
const data = await api.
|
|
722
|
+
const data = await api.indexProduct(body);
|
|
375
723
|
console.log(data);
|
|
376
724
|
} catch (error) {
|
|
377
725
|
console.error(error);
|
|
@@ -387,11 +735,11 @@ example().catch(console.error);
|
|
|
387
735
|
|
|
388
736
|
| Name | Type | Description | Notes |
|
|
389
737
|
|------------- | ------------- | ------------- | -------------|
|
|
390
|
-
| **
|
|
738
|
+
| **indexProductRequest** | [IndexProductRequest](IndexProductRequest.md) | | [Optional] |
|
|
391
739
|
|
|
392
740
|
### Return type
|
|
393
741
|
|
|
394
|
-
[**
|
|
742
|
+
[**PaginatedProductListResourceResponse**](PaginatedProductListResourceResponse.md)
|
|
395
743
|
|
|
396
744
|
### Authorization
|
|
397
745
|
|
|
@@ -406,16 +754,16 @@ No authorization required
|
|
|
406
754
|
### HTTP response details
|
|
407
755
|
| Status code | Description | Response headers |
|
|
408
756
|
|-------------|-------------|------------------|
|
|
409
|
-
| **200** | Paginated response \\JsonResponse<\\ResourcePaginator<\\
|
|
757
|
+
| **200** | Paginated response \\JsonResponse<\\ResourcePaginator<\\ProductListResource[]>> | - |
|
|
410
758
|
|
|
411
759
|
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
412
760
|
|
|
413
761
|
|
|
414
|
-
##
|
|
762
|
+
## indexProductChild
|
|
415
763
|
|
|
416
|
-
>
|
|
764
|
+
> PaginatedProductChildListResourceResponse indexProductChild(indexProductChildRequest)
|
|
417
765
|
|
|
418
|
-
Auto-generated:
|
|
766
|
+
Auto-generated: indexProductChild
|
|
419
767
|
|
|
420
768
|
### Example
|
|
421
769
|
|
|
@@ -424,7 +772,7 @@ import {
|
|
|
424
772
|
Configuration,
|
|
425
773
|
ProductApi,
|
|
426
774
|
} from '@digital8/lighting-illusions-ts-sdk';
|
|
427
|
-
import type {
|
|
775
|
+
import type { IndexProductChildOperationRequest } from '@digital8/lighting-illusions-ts-sdk';
|
|
428
776
|
|
|
429
777
|
async function example() {
|
|
430
778
|
console.log("🚀 Testing @digital8/lighting-illusions-ts-sdk SDK...");
|
|
@@ -433,10 +781,10 @@ async function example() {
|
|
|
433
781
|
const body = {
|
|
434
782
|
// IndexProductChildRequest (optional)
|
|
435
783
|
indexProductChildRequest: ...,
|
|
436
|
-
} satisfies
|
|
784
|
+
} satisfies IndexProductChildOperationRequest;
|
|
437
785
|
|
|
438
786
|
try {
|
|
439
|
-
const data = await api.
|
|
787
|
+
const data = await api.indexProductChild(body);
|
|
440
788
|
console.log(data);
|
|
441
789
|
} catch (error) {
|
|
442
790
|
console.error(error);
|
|
@@ -456,7 +804,7 @@ example().catch(console.error);
|
|
|
456
804
|
|
|
457
805
|
### Return type
|
|
458
806
|
|
|
459
|
-
[**
|
|
807
|
+
[**PaginatedProductChildListResourceResponse**](PaginatedProductChildListResourceResponse.md)
|
|
460
808
|
|
|
461
809
|
### Authorization
|
|
462
810
|
|
|
@@ -471,7 +819,7 @@ No authorization required
|
|
|
471
819
|
### HTTP response details
|
|
472
820
|
| Status code | Description | Response headers |
|
|
473
821
|
|-------------|-------------|------------------|
|
|
474
|
-
| **200** | Paginated response \\JsonResponse<\\ResourcePaginator<\\
|
|
822
|
+
| **200** | Paginated response \\JsonResponse<\\ResourcePaginator<\\ProductChildListResource[]>> | - |
|
|
475
823
|
|
|
476
824
|
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
477
825
|
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
|
|
2
|
+
# ProductChildListResource
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`id` | number
|
|
10
|
+
`sku` | number
|
|
11
|
+
`name` | string
|
|
12
|
+
`model` | string
|
|
13
|
+
`stock` | number
|
|
14
|
+
`thumbnail` | [AssetLiteResource](AssetLiteResource.md)
|
|
15
|
+
|
|
16
|
+
## Example
|
|
17
|
+
|
|
18
|
+
```typescript
|
|
19
|
+
import type { ProductChildListResource } from '@digital8/lighting-illusions-ts-sdk'
|
|
20
|
+
|
|
21
|
+
// TODO: Update the object below with actual values
|
|
22
|
+
const example = {
|
|
23
|
+
"id": null,
|
|
24
|
+
"sku": null,
|
|
25
|
+
"name": null,
|
|
26
|
+
"model": null,
|
|
27
|
+
"stock": null,
|
|
28
|
+
"thumbnail": null,
|
|
29
|
+
} satisfies ProductChildListResource
|
|
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 ProductChildListResource
|
|
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
|
+
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
|
|
2
|
+
# ProductChildListResourceArrayResponse
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`data` | [Array<ProductChildListResource>](ProductChildListResource.md)
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import type { ProductChildListResourceArrayResponse } from '@digital8/lighting-illusions-ts-sdk'
|
|
15
|
+
|
|
16
|
+
// TODO: Update the object below with actual values
|
|
17
|
+
const example = {
|
|
18
|
+
"data": null,
|
|
19
|
+
} satisfies ProductChildListResourceArrayResponse
|
|
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 ProductChildListResourceArrayResponse
|
|
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
|
+
# ProductListResource
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`id` | number
|
|
10
|
+
`name` | string
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```typescript
|
|
15
|
+
import type { ProductListResource } from '@digital8/lighting-illusions-ts-sdk'
|
|
16
|
+
|
|
17
|
+
// TODO: Update the object below with actual values
|
|
18
|
+
const example = {
|
|
19
|
+
"id": null,
|
|
20
|
+
"name": null,
|
|
21
|
+
} satisfies ProductListResource
|
|
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 ProductListResource
|
|
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
|
+
# ProductListResourceArrayResponse
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`data` | [Array<ProductListResource>](ProductListResource.md)
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import type { ProductListResourceArrayResponse } from '@digital8/lighting-illusions-ts-sdk'
|
|
15
|
+
|
|
16
|
+
// TODO: Update the object below with actual values
|
|
17
|
+
const example = {
|
|
18
|
+
"data": null,
|
|
19
|
+
} satisfies ProductListResourceArrayResponse
|
|
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 ProductListResourceArrayResponse
|
|
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
|
+
|