@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.
Files changed (273) hide show
  1. package/.openapi-generator/FILES +20 -90
  2. package/README.md +18 -64
  3. package/dist/apis/AttributeApi.d.ts +1 -16
  4. package/dist/apis/AttributeApi.js +0 -58
  5. package/dist/apis/LabelApi.d.ts +109 -0
  6. package/dist/apis/LabelApi.js +433 -0
  7. package/dist/apis/ProductApi.js +1 -1
  8. package/dist/apis/index.d.ts +1 -1
  9. package/dist/apis/index.js +1 -1
  10. package/dist/models/AssetLiteResource.d.ts +0 -12
  11. package/dist/models/AssetLiteResource.js +0 -6
  12. package/dist/models/AttachDocumentablesDocumentRequestDocumentablesInner.d.ts +1 -2
  13. package/dist/models/AttachDocumentablesDocumentRequestDocumentablesInner.js +1 -2
  14. package/dist/models/DetachDocumentablesDocumentRequestDocumentablesInner.d.ts +1 -2
  15. package/dist/models/DetachDocumentablesDocumentRequestDocumentablesInner.js +1 -2
  16. package/dist/models/ExternalApiLogResource.d.ts +1 -1
  17. package/dist/models/ExternalApiLogResource.js +1 -3
  18. package/dist/models/GetAllDocumentRequest.d.ts +1 -2
  19. package/dist/models/GetAllDocumentRequest.js +1 -2
  20. package/dist/models/GetAllProductChildRequest.d.ts +0 -1
  21. package/dist/models/GetAllProductChildRequest.js +0 -1
  22. package/dist/models/IndexAttributeRequest.d.ts +0 -2
  23. package/dist/models/IndexAttributeRequest.js +1 -3
  24. package/dist/models/IndexDocumentRequest.d.ts +1 -2
  25. package/dist/models/IndexDocumentRequest.js +1 -2
  26. package/dist/models/IndexLabelRequest.d.ts +109 -0
  27. package/dist/models/{IndexProductRangeRequest.js → IndexLabelRequest.js} +29 -23
  28. package/dist/models/IndexProductChildRequest.d.ts +0 -1
  29. package/dist/models/IndexProductChildRequest.js +0 -1
  30. package/dist/models/LabelListResource.d.ts +75 -0
  31. package/dist/models/LabelListResource.js +74 -0
  32. package/dist/models/LabelListResourceArrayResponse.d.ts +33 -0
  33. package/dist/models/LabelListResourceArrayResponse.js +50 -0
  34. package/dist/models/LabelLiteResource.d.ts +56 -0
  35. package/dist/models/LabelLiteResource.js +65 -0
  36. package/dist/models/LabelLiteResourceArrayResponse.d.ts +33 -0
  37. package/dist/models/LabelLiteResourceArrayResponse.js +50 -0
  38. package/dist/models/LabelResource.d.ts +23 -4
  39. package/dist/models/LabelResource.js +19 -8
  40. package/dist/models/ModelAttributeResource.d.ts +0 -6
  41. package/dist/models/ModelAttributeResource.js +0 -2
  42. package/dist/models/PaginatedLabelListResourceResponse.d.ts +40 -0
  43. package/dist/models/PaginatedLabelListResourceResponse.js +57 -0
  44. package/dist/models/ProductSearchResultResource.d.ts +1 -7
  45. package/dist/models/ProductSearchResultResource.js +3 -7
  46. package/dist/models/StoreAssetForAssetableRequest.d.ts +0 -3
  47. package/dist/models/StoreAssetForAssetableRequest.js +1 -4
  48. package/dist/models/StoreLabelRequest.d.ts +74 -0
  49. package/dist/models/StoreLabelRequest.js +71 -0
  50. package/dist/models/UpdateLabelRequest.d.ts +74 -0
  51. package/dist/models/UpdateLabelRequest.js +63 -0
  52. package/dist/models/UpdateProductTypeRequest.d.ts +9 -9
  53. package/dist/models/UpdateProductTypeRequest.js +9 -9
  54. package/dist/models/UpdateProductTypeRequestPerformanceValuesInner.d.ts +38 -0
  55. package/dist/models/UpdateProductTypeRequestPerformanceValuesInner.js +51 -0
  56. package/dist/models/index.d.ts +9 -44
  57. package/dist/models/index.js +9 -44
  58. package/docs/AssetLiteResource.md +0 -4
  59. package/docs/AttributeApi.md +0 -66
  60. package/docs/{IndexModelAttributeRequest.md → IndexLabelRequest.md} +6 -10
  61. package/docs/LabelApi.md +407 -0
  62. package/docs/{ProductRangeFrontendListResource.md → LabelListResource.md} +18 -14
  63. package/docs/{ProductRangeResourceArrayResponse.md → LabelListResourceArrayResponse.md} +5 -5
  64. package/docs/{ProductRangeSiteDetailLiteResource.md → LabelLiteResource.md} +12 -8
  65. package/docs/{ProductRangeLiteResource.md → LabelLiteResourceArrayResponse.md} +6 -8
  66. package/docs/LabelResource.md +12 -6
  67. package/docs/ModelAttributeResource.md +0 -2
  68. package/docs/{PaginatedProductRangeResourceResponse.md → PaginatedLabelListResourceResponse.md} +5 -5
  69. package/docs/ProductApi.md +1 -1
  70. package/docs/ProductSearchResultResource.md +2 -4
  71. package/docs/{AttachDocumentsProductRangeRequest.md → StoreLabelRequest.md} +20 -6
  72. package/docs/{ProductRangeSortBy.md → UpdateLabelRequest.md} +20 -4
  73. package/docs/UpdateProductTypeRequest.md +4 -4
  74. package/docs/{UpdateProductRangeRequestAttributesInner.md → UpdateProductTypeRequestPerformanceValuesInner.md} +4 -4
  75. package/package.json +1 -1
  76. package/src/apis/AttributeApi.ts +0 -50
  77. package/src/apis/LabelApi.ts +328 -0
  78. package/src/apis/ProductApi.ts +1 -1
  79. package/src/apis/index.ts +1 -1
  80. package/src/models/AssetLiteResource.ts +0 -17
  81. package/src/models/AttachDocumentablesDocumentRequestDocumentablesInner.ts +1 -2
  82. package/src/models/DetachDocumentablesDocumentRequestDocumentablesInner.ts +1 -2
  83. package/src/models/ExternalApiLogResource.ts +2 -3
  84. package/src/models/GetAllDocumentRequest.ts +1 -2
  85. package/src/models/GetAllProductChildRequest.ts +0 -1
  86. package/src/models/IndexAttributeRequest.ts +1 -3
  87. package/src/models/IndexDocumentRequest.ts +1 -2
  88. package/src/models/IndexLabelRequest.ts +163 -0
  89. package/src/models/IndexProductChildRequest.ts +0 -1
  90. package/src/models/LabelListResource.ts +134 -0
  91. package/src/models/LabelListResourceArrayResponse.ts +73 -0
  92. package/src/models/LabelLiteResource.ts +101 -0
  93. package/src/models/LabelLiteResourceArrayResponse.ts +73 -0
  94. package/src/models/LabelResource.ts +46 -12
  95. package/src/models/ModelAttributeResource.ts +0 -8
  96. package/src/models/PaginatedLabelListResourceResponse.ts +90 -0
  97. package/src/models/ProductSearchResultResource.ts +4 -13
  98. package/src/models/StoreAssetForAssetableRequest.ts +1 -4
  99. package/src/models/StoreLabelRequest.ts +125 -0
  100. package/src/models/UpdateLabelRequest.ts +121 -0
  101. package/src/models/UpdateProductTypeRequest.ts +22 -22
  102. package/src/models/UpdateProductTypeRequestPerformanceValuesInner.ts +73 -0
  103. package/src/models/index.ts +9 -44
  104. package/dist/apis/ProductRangeApi.d.ts +0 -269
  105. package/dist/apis/ProductRangeApi.js +0 -1043
  106. package/dist/models/AttachAccessoriesProductRangeRequest.d.ts +0 -32
  107. package/dist/models/AttachAccessoriesProductRangeRequest.js +0 -51
  108. package/dist/models/AttachAttributesProductRangeRequest.d.ts +0 -33
  109. package/dist/models/AttachAttributesProductRangeRequest.js +0 -52
  110. package/dist/models/AttachAttributesProductRangeRequestAttributesInner.d.ts +0 -38
  111. package/dist/models/AttachAttributesProductRangeRequestAttributesInner.js +0 -53
  112. package/dist/models/AttachDocumentsProductRangeRequest.d.ts +0 -33
  113. package/dist/models/AttachDocumentsProductRangeRequest.js +0 -52
  114. package/dist/models/DetachAccessoriesProductRangeRequest.d.ts +0 -32
  115. package/dist/models/DetachAccessoriesProductRangeRequest.js +0 -51
  116. package/dist/models/DetachAttributesProductRangeRequest.d.ts +0 -32
  117. package/dist/models/DetachAttributesProductRangeRequest.js +0 -51
  118. package/dist/models/DetachDocumentsProductRangeRequest.d.ts +0 -32
  119. package/dist/models/DetachDocumentsProductRangeRequest.js +0 -51
  120. package/dist/models/GetAllProductRangeRequest.d.ts +0 -98
  121. package/dist/models/GetAllProductRangeRequest.js +0 -82
  122. package/dist/models/IndexModelAttributeRequest.d.ts +0 -118
  123. package/dist/models/IndexModelAttributeRequest.js +0 -93
  124. package/dist/models/IndexProductRangeRequest.d.ts +0 -110
  125. package/dist/models/ModelAttributeListResource.d.ts +0 -64
  126. package/dist/models/ModelAttributeListResource.js +0 -71
  127. package/dist/models/ModelAttributeListResourceArrayResponse.d.ts +0 -33
  128. package/dist/models/ModelAttributeListResourceArrayResponse.js +0 -50
  129. package/dist/models/PaginatedModelAttributeListResourceResponse.d.ts +0 -40
  130. package/dist/models/PaginatedModelAttributeListResourceResponse.js +0 -57
  131. package/dist/models/PaginatedProductRangeFrontendListResourceResponse.d.ts +0 -40
  132. package/dist/models/PaginatedProductRangeFrontendListResourceResponse.js +0 -57
  133. package/dist/models/PaginatedProductRangeListResourceResponse.d.ts +0 -40
  134. package/dist/models/PaginatedProductRangeListResourceResponse.js +0 -57
  135. package/dist/models/PaginatedProductRangeLiteResourceResponse.d.ts +0 -40
  136. package/dist/models/PaginatedProductRangeLiteResourceResponse.js +0 -57
  137. package/dist/models/PaginatedProductRangeResourceResponse.d.ts +0 -40
  138. package/dist/models/PaginatedProductRangeResourceResponse.js +0 -57
  139. package/dist/models/PaginatedProductRangeSearchResultResourceResponse.d.ts +0 -40
  140. package/dist/models/PaginatedProductRangeSearchResultResourceResponse.js +0 -57
  141. package/dist/models/ProductRangeAggregationResource.d.ts +0 -44
  142. package/dist/models/ProductRangeAggregationResource.js +0 -59
  143. package/dist/models/ProductRangeAggregationResourceArrayResponse.d.ts +0 -33
  144. package/dist/models/ProductRangeAggregationResourceArrayResponse.js +0 -50
  145. package/dist/models/ProductRangeFrontendListResource.d.ts +0 -62
  146. package/dist/models/ProductRangeFrontendListResource.js +0 -71
  147. package/dist/models/ProductRangeFrontendListResourceArrayResponse.d.ts +0 -33
  148. package/dist/models/ProductRangeFrontendListResourceArrayResponse.js +0 -50
  149. package/dist/models/ProductRangeFrontendResource.d.ts +0 -117
  150. package/dist/models/ProductRangeFrontendResource.js +0 -106
  151. package/dist/models/ProductRangeFrontendResourceArrayResponse.d.ts +0 -33
  152. package/dist/models/ProductRangeFrontendResourceArrayResponse.js +0 -50
  153. package/dist/models/ProductRangeListResource.d.ts +0 -66
  154. package/dist/models/ProductRangeListResource.js +0 -75
  155. package/dist/models/ProductRangeListResourceArrayResponse.d.ts +0 -33
  156. package/dist/models/ProductRangeListResourceArrayResponse.js +0 -50
  157. package/dist/models/ProductRangeLiteResource.d.ts +0 -38
  158. package/dist/models/ProductRangeLiteResource.js +0 -55
  159. package/dist/models/ProductRangeLiteResourceArrayResponse.d.ts +0 -33
  160. package/dist/models/ProductRangeLiteResourceArrayResponse.js +0 -50
  161. package/dist/models/ProductRangeResource.d.ts +0 -89
  162. package/dist/models/ProductRangeResource.js +0 -86
  163. package/dist/models/ProductRangeResourceArrayResponse.d.ts +0 -33
  164. package/dist/models/ProductRangeResourceArrayResponse.js +0 -50
  165. package/dist/models/ProductRangeSearchResponseResource.d.ts +0 -47
  166. package/dist/models/ProductRangeSearchResponseResource.js +0 -62
  167. package/dist/models/ProductRangeSearchResponseResourceArrayResponse.d.ts +0 -33
  168. package/dist/models/ProductRangeSearchResponseResourceArrayResponse.js +0 -50
  169. package/dist/models/ProductRangeSearchResponseResourceMeta.d.ts +0 -50
  170. package/dist/models/ProductRangeSearchResponseResourceMeta.js +0 -63
  171. package/dist/models/ProductRangeSearchResultResource.d.ts +0 -80
  172. package/dist/models/ProductRangeSearchResultResource.js +0 -83
  173. package/dist/models/ProductRangeSearchResultResourceArrayResponse.d.ts +0 -33
  174. package/dist/models/ProductRangeSearchResultResourceArrayResponse.js +0 -50
  175. package/dist/models/ProductRangeSiteDetailLiteResource.d.ts +0 -44
  176. package/dist/models/ProductRangeSiteDetailLiteResource.js +0 -59
  177. package/dist/models/ProductRangeSiteDetailLiteResourceArrayResponse.d.ts +0 -33
  178. package/dist/models/ProductRangeSiteDetailLiteResourceArrayResponse.js +0 -50
  179. package/dist/models/ProductRangeSiteDetailResource.d.ts +0 -101
  180. package/dist/models/ProductRangeSiteDetailResource.js +0 -98
  181. package/dist/models/ProductRangeSiteDetailResourceArrayResponse.d.ts +0 -33
  182. package/dist/models/ProductRangeSiteDetailResourceArrayResponse.js +0 -50
  183. package/dist/models/ProductRangeSortBy.d.ts +0 -27
  184. package/dist/models/ProductRangeSortBy.js +0 -53
  185. package/dist/models/StoreProductRangeRequest.d.ts +0 -52
  186. package/dist/models/StoreProductRangeRequest.js +0 -59
  187. package/dist/models/StoreProductRangeRequestSitesInner.d.ts +0 -92
  188. package/dist/models/StoreProductRangeRequestSitesInner.js +0 -75
  189. package/dist/models/UpdateProductRangeRequest.d.ts +0 -59
  190. package/dist/models/UpdateProductRangeRequest.js +0 -62
  191. package/dist/models/UpdateProductRangeRequestAttributesInner.d.ts +0 -38
  192. package/dist/models/UpdateProductRangeRequestAttributesInner.js +0 -51
  193. package/docs/AttachAccessoriesProductRangeRequest.md +0 -34
  194. package/docs/AttachAttributesProductRangeRequest.md +0 -34
  195. package/docs/AttachAttributesProductRangeRequestAttributesInner.md +0 -36
  196. package/docs/DetachAccessoriesProductRangeRequest.md +0 -34
  197. package/docs/DetachAttributesProductRangeRequest.md +0 -34
  198. package/docs/DetachDocumentsProductRangeRequest.md +0 -34
  199. package/docs/GetAllProductRangeRequest.md +0 -50
  200. package/docs/IndexProductRangeRequest.md +0 -54
  201. package/docs/ModelAttributeListResource.md +0 -44
  202. package/docs/ModelAttributeListResourceArrayResponse.md +0 -34
  203. package/docs/PaginatedModelAttributeListResourceResponse.md +0 -36
  204. package/docs/PaginatedProductRangeFrontendListResourceResponse.md +0 -36
  205. package/docs/PaginatedProductRangeListResourceResponse.md +0 -36
  206. package/docs/PaginatedProductRangeLiteResourceResponse.md +0 -36
  207. package/docs/PaginatedProductRangeSearchResultResourceResponse.md +0 -36
  208. package/docs/ProductRangeAggregationResource.md +0 -38
  209. package/docs/ProductRangeAggregationResourceArrayResponse.md +0 -34
  210. package/docs/ProductRangeApi.md +0 -1097
  211. package/docs/ProductRangeFrontendListResourceArrayResponse.md +0 -34
  212. package/docs/ProductRangeFrontendResource.md +0 -62
  213. package/docs/ProductRangeFrontendResourceArrayResponse.md +0 -34
  214. package/docs/ProductRangeListResource.md +0 -44
  215. package/docs/ProductRangeListResourceArrayResponse.md +0 -34
  216. package/docs/ProductRangeLiteResourceArrayResponse.md +0 -34
  217. package/docs/ProductRangeResource.md +0 -52
  218. package/docs/ProductRangeSearchResponseResource.md +0 -38
  219. package/docs/ProductRangeSearchResponseResourceArrayResponse.md +0 -34
  220. package/docs/ProductRangeSearchResponseResourceMeta.md +0 -40
  221. package/docs/ProductRangeSearchResultResource.md +0 -50
  222. package/docs/ProductRangeSearchResultResourceArrayResponse.md +0 -34
  223. package/docs/ProductRangeSiteDetailLiteResourceArrayResponse.md +0 -34
  224. package/docs/ProductRangeSiteDetailResource.md +0 -56
  225. package/docs/ProductRangeSiteDetailResourceArrayResponse.md +0 -34
  226. package/docs/StoreProductRangeRequest.md +0 -40
  227. package/docs/StoreProductRangeRequestSitesInner.md +0 -54
  228. package/docs/UpdateProductRangeRequest.md +0 -42
  229. package/src/apis/ProductRangeApi.ts +0 -888
  230. package/src/models/AttachAccessoriesProductRangeRequest.ts +0 -66
  231. package/src/models/AttachAttributesProductRangeRequest.ts +0 -74
  232. package/src/models/AttachAttributesProductRangeRequestAttributesInner.ts +0 -74
  233. package/src/models/AttachDocumentsProductRangeRequest.ts +0 -74
  234. package/src/models/DetachAccessoriesProductRangeRequest.ts +0 -66
  235. package/src/models/DetachAttributesProductRangeRequest.ts +0 -66
  236. package/src/models/DetachDocumentsProductRangeRequest.ts +0 -66
  237. package/src/models/GetAllProductRangeRequest.ts +0 -151
  238. package/src/models/IndexModelAttributeRequest.ts +0 -176
  239. package/src/models/IndexProductRangeRequest.ts +0 -167
  240. package/src/models/ModelAttributeListResource.ts +0 -125
  241. package/src/models/ModelAttributeListResourceArrayResponse.ts +0 -73
  242. package/src/models/PaginatedModelAttributeListResourceResponse.ts +0 -90
  243. package/src/models/PaginatedProductRangeFrontendListResourceResponse.ts +0 -90
  244. package/src/models/PaginatedProductRangeListResourceResponse.ts +0 -90
  245. package/src/models/PaginatedProductRangeLiteResourceResponse.ts +0 -90
  246. package/src/models/PaginatedProductRangeResourceResponse.ts +0 -90
  247. package/src/models/PaginatedProductRangeSearchResultResourceResponse.ts +0 -90
  248. package/src/models/ProductRangeAggregationResource.ts +0 -84
  249. package/src/models/ProductRangeAggregationResourceArrayResponse.ts +0 -73
  250. package/src/models/ProductRangeFrontendListResource.ts +0 -111
  251. package/src/models/ProductRangeFrontendListResourceArrayResponse.ts +0 -73
  252. package/src/models/ProductRangeFrontendResource.ts +0 -199
  253. package/src/models/ProductRangeFrontendResourceArrayResponse.ts +0 -73
  254. package/src/models/ProductRangeListResource.ts +0 -140
  255. package/src/models/ProductRangeListResourceArrayResponse.ts +0 -73
  256. package/src/models/ProductRangeLiteResource.ts +0 -75
  257. package/src/models/ProductRangeLiteResourceArrayResponse.ts +0 -73
  258. package/src/models/ProductRangeResource.ts +0 -167
  259. package/src/models/ProductRangeResourceArrayResponse.ts +0 -73
  260. package/src/models/ProductRangeSearchResponseResource.ts +0 -106
  261. package/src/models/ProductRangeSearchResponseResourceArrayResponse.ts +0 -73
  262. package/src/models/ProductRangeSearchResponseResourceMeta.ts +0 -93
  263. package/src/models/ProductRangeSearchResultResource.ts +0 -138
  264. package/src/models/ProductRangeSearchResultResourceArrayResponse.ts +0 -73
  265. package/src/models/ProductRangeSiteDetailLiteResource.ts +0 -84
  266. package/src/models/ProductRangeSiteDetailLiteResourceArrayResponse.ts +0 -73
  267. package/src/models/ProductRangeSiteDetailResource.ts +0 -187
  268. package/src/models/ProductRangeSiteDetailResourceArrayResponse.ts +0 -73
  269. package/src/models/ProductRangeSortBy.ts +0 -55
  270. package/src/models/StoreProductRangeRequest.ts +0 -105
  271. package/src/models/StoreProductRangeRequestSitesInner.ts +0 -148
  272. package/src/models/UpdateProductRangeRequest.ts +0 -120
  273. package/src/models/UpdateProductRangeRequestAttributesInner.ts +0 -73
@@ -12,7 +12,6 @@ All URIs are relative to *http://localhost/api*
12
12
  | [**getAllAttributeValue**](AttributeApi.md#getallattributevalueoperation) | **POST** /admin-api/attribute/value/all | Auto-generated: getAllAttributeValue |
13
13
  | [**indexAttribute**](AttributeApi.md#indexattributeoperation) | **POST** /admin-api/attribute/list | Auto-generated: indexAttribute |
14
14
  | [**indexAttributeValue**](AttributeApi.md#indexattributevalueoperation) | **POST** /admin-api/attribute/value/list | Auto-generated: indexAttributeValue |
15
- | [**indexModelAttribute**](AttributeApi.md#indexmodelattributeoperation) | **POST** /admin-api/attribute/model-attribute/list | Auto-generated: indexModelAttribute |
16
15
  | [**showAttribute**](AttributeApi.md#showattribute) | **GET** /admin-api/attribute/{attribute} | Auto-generated: showAttribute |
17
16
  | [**storeAttribute**](AttributeApi.md#storeattributeoperation) | **POST** /admin-api/attribute/create | Auto-generated: storeAttribute |
18
17
  | [**storeAttributeValue**](AttributeApi.md#storeattributevalueoperation) | **POST** /admin-api/attribute/value/create | Auto-generated: storeAttributeValue |
@@ -553,71 +552,6 @@ No authorization required
553
552
  [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
554
553
 
555
554
 
556
- ## indexModelAttribute
557
-
558
- > PaginatedModelAttributeListResourceResponse indexModelAttribute(indexModelAttributeRequest)
559
-
560
- Auto-generated: indexModelAttribute
561
-
562
- ### Example
563
-
564
- ```ts
565
- import {
566
- Configuration,
567
- AttributeApi,
568
- } from '@digital8/lighting-illusions-ts-sdk';
569
- import type { IndexModelAttributeOperationRequest } from '@digital8/lighting-illusions-ts-sdk';
570
-
571
- async function example() {
572
- console.log("🚀 Testing @digital8/lighting-illusions-ts-sdk SDK...");
573
- const api = new AttributeApi();
574
-
575
- const body = {
576
- // IndexModelAttributeRequest (optional)
577
- indexModelAttributeRequest: ...,
578
- } satisfies IndexModelAttributeOperationRequest;
579
-
580
- try {
581
- const data = await api.indexModelAttribute(body);
582
- console.log(data);
583
- } catch (error) {
584
- console.error(error);
585
- }
586
- }
587
-
588
- // Run the test
589
- example().catch(console.error);
590
- ```
591
-
592
- ### Parameters
593
-
594
-
595
- | Name | Type | Description | Notes |
596
- |------------- | ------------- | ------------- | -------------|
597
- | **indexModelAttributeRequest** | [IndexModelAttributeRequest](IndexModelAttributeRequest.md) | | [Optional] |
598
-
599
- ### Return type
600
-
601
- [**PaginatedModelAttributeListResourceResponse**](PaginatedModelAttributeListResourceResponse.md)
602
-
603
- ### Authorization
604
-
605
- No authorization required
606
-
607
- ### HTTP request headers
608
-
609
- - **Content-Type**: `application/json`
610
- - **Accept**: `application/json`
611
-
612
-
613
- ### HTTP response details
614
- | Status code | Description | Response headers |
615
- |-------------|-------------|------------------|
616
- | **200** | Paginated response \\JsonResponse<\\ResourcePaginator<\\ModelAttributeListResource[]>> | - |
617
-
618
- [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
619
-
620
-
621
555
  ## showAttribute
622
556
 
623
557
  > AttributeResource showAttribute(attribute)
@@ -1,5 +1,5 @@
1
1
 
2
- # IndexModelAttributeRequest
2
+ # IndexLabelRequest
3
3
 
4
4
 
5
5
  ## Properties
@@ -11,9 +11,7 @@ Name | Type
11
11
  `sortDirection` | string
12
12
  `perPage` | number
13
13
  `page` | number
14
- `attributableType` | Array<string>
15
- `attributableId` | Array<string>
16
- `attributeId` | Array<string>
14
+ `siteId` | Array<string>
17
15
  `relatedId` | number
18
16
  `relatedType` | string
19
17
  `includesRelations` | boolean
@@ -21,7 +19,7 @@ Name | Type
21
19
  ## Example
22
20
 
23
21
  ```typescript
24
- import type { IndexModelAttributeRequest } from '@digital8/lighting-illusions-ts-sdk'
22
+ import type { IndexLabelRequest } from '@digital8/lighting-illusions-ts-sdk'
25
23
 
26
24
  // TODO: Update the object below with actual values
27
25
  const example = {
@@ -30,13 +28,11 @@ const example = {
30
28
  "sortDirection": null,
31
29
  "perPage": null,
32
30
  "page": null,
33
- "attributableType": null,
34
- "attributableId": null,
35
- "attributeId": null,
31
+ "siteId": null,
36
32
  "relatedId": null,
37
33
  "relatedType": null,
38
34
  "includesRelations": null,
39
- } satisfies IndexModelAttributeRequest
35
+ } satisfies IndexLabelRequest
40
36
 
41
37
  console.log(example)
42
38
 
@@ -45,7 +41,7 @@ const exampleJSON: string = JSON.stringify(example)
45
41
  console.log(exampleJSON)
46
42
 
47
43
  // Parse the JSON string back to an object
48
- const exampleParsed = JSON.parse(exampleJSON) as IndexModelAttributeRequest
44
+ const exampleParsed = JSON.parse(exampleJSON) as IndexLabelRequest
49
45
  console.log(exampleParsed)
50
46
  ```
51
47
 
@@ -0,0 +1,407 @@
1
+ # LabelApi
2
+
3
+ All URIs are relative to *http://localhost/api*
4
+
5
+ | Method | HTTP request | Description |
6
+ |------------- | ------------- | -------------|
7
+ | [**destroyLabel**](LabelApi.md#destroylabel) | **DELETE** /admin-api/label/{label}/delete | Auto-generated: destroyLabel |
8
+ | [**getAllLabel**](LabelApi.md#getalllabel) | **POST** /admin-api/label/all | Auto-generated: getAllLabel |
9
+ | [**indexLabel**](LabelApi.md#indexlabeloperation) | **POST** /admin-api/label/list | Auto-generated: indexLabel |
10
+ | [**showLabel**](LabelApi.md#showlabel) | **GET** /admin-api/label/{label} | Auto-generated: showLabel |
11
+ | [**storeLabel**](LabelApi.md#storelabeloperation) | **POST** /admin-api/label/create | Auto-generated: storeLabel |
12
+ | [**updateLabel**](LabelApi.md#updatelabeloperation) | **PUT** /admin-api/label/{label}/update | Auto-generated: updateLabel |
13
+
14
+
15
+
16
+ ## destroyLabel
17
+
18
+ > GenericResponse destroyLabel(label)
19
+
20
+ Auto-generated: destroyLabel
21
+
22
+ ### Example
23
+
24
+ ```ts
25
+ import {
26
+ Configuration,
27
+ LabelApi,
28
+ } from '@digital8/lighting-illusions-ts-sdk';
29
+ import type { DestroyLabelRequest } from '@digital8/lighting-illusions-ts-sdk';
30
+
31
+ async function example() {
32
+ console.log("🚀 Testing @digital8/lighting-illusions-ts-sdk SDK...");
33
+ const api = new LabelApi();
34
+
35
+ const body = {
36
+ // number | The id of the label
37
+ label: 56,
38
+ } satisfies DestroyLabelRequest;
39
+
40
+ try {
41
+ const data = await api.destroyLabel(body);
42
+ console.log(data);
43
+ } catch (error) {
44
+ console.error(error);
45
+ }
46
+ }
47
+
48
+ // Run the test
49
+ example().catch(console.error);
50
+ ```
51
+
52
+ ### Parameters
53
+
54
+
55
+ | Name | Type | Description | Notes |
56
+ |------------- | ------------- | ------------- | -------------|
57
+ | **label** | `number` | The id of the label | [Defaults to `undefined`] |
58
+
59
+ ### Return type
60
+
61
+ [**GenericResponse**](GenericResponse.md)
62
+
63
+ ### Authorization
64
+
65
+ No authorization required
66
+
67
+ ### HTTP request headers
68
+
69
+ - **Content-Type**: Not defined
70
+ - **Accept**: `application/json`
71
+
72
+
73
+ ### HTTP response details
74
+ | Status code | Description | Response headers |
75
+ |-------------|-------------|------------------|
76
+ | **200** | Generic JSON success | - |
77
+
78
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
79
+
80
+
81
+ ## getAllLabel
82
+
83
+ > GenericResponse getAllLabel(indexLabelRequest)
84
+
85
+ Auto-generated: getAllLabel
86
+
87
+ ### Example
88
+
89
+ ```ts
90
+ import {
91
+ Configuration,
92
+ LabelApi,
93
+ } from '@digital8/lighting-illusions-ts-sdk';
94
+ import type { GetAllLabelRequest } from '@digital8/lighting-illusions-ts-sdk';
95
+
96
+ async function example() {
97
+ console.log("🚀 Testing @digital8/lighting-illusions-ts-sdk SDK...");
98
+ const api = new LabelApi();
99
+
100
+ const body = {
101
+ // IndexLabelRequest (optional)
102
+ indexLabelRequest: ...,
103
+ } satisfies GetAllLabelRequest;
104
+
105
+ try {
106
+ const data = await api.getAllLabel(body);
107
+ console.log(data);
108
+ } catch (error) {
109
+ console.error(error);
110
+ }
111
+ }
112
+
113
+ // Run the test
114
+ example().catch(console.error);
115
+ ```
116
+
117
+ ### Parameters
118
+
119
+
120
+ | Name | Type | Description | Notes |
121
+ |------------- | ------------- | ------------- | -------------|
122
+ | **indexLabelRequest** | [IndexLabelRequest](IndexLabelRequest.md) | | [Optional] |
123
+
124
+ ### Return type
125
+
126
+ [**GenericResponse**](GenericResponse.md)
127
+
128
+ ### Authorization
129
+
130
+ No authorization required
131
+
132
+ ### HTTP request headers
133
+
134
+ - **Content-Type**: `application/json`
135
+ - **Accept**: `application/json`
136
+
137
+
138
+ ### HTTP response details
139
+ | Status code | Description | Response headers |
140
+ |-------------|-------------|------------------|
141
+ | **200** | \\JsonResponse<array{data: \\LabelLiteResource[]}> | - |
142
+
143
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
144
+
145
+
146
+ ## indexLabel
147
+
148
+ > PaginatedLabelListResourceResponse indexLabel(indexLabelRequest)
149
+
150
+ Auto-generated: indexLabel
151
+
152
+ ### Example
153
+
154
+ ```ts
155
+ import {
156
+ Configuration,
157
+ LabelApi,
158
+ } from '@digital8/lighting-illusions-ts-sdk';
159
+ import type { IndexLabelOperationRequest } from '@digital8/lighting-illusions-ts-sdk';
160
+
161
+ async function example() {
162
+ console.log("🚀 Testing @digital8/lighting-illusions-ts-sdk SDK...");
163
+ const api = new LabelApi();
164
+
165
+ const body = {
166
+ // IndexLabelRequest (optional)
167
+ indexLabelRequest: ...,
168
+ } satisfies IndexLabelOperationRequest;
169
+
170
+ try {
171
+ const data = await api.indexLabel(body);
172
+ console.log(data);
173
+ } catch (error) {
174
+ console.error(error);
175
+ }
176
+ }
177
+
178
+ // Run the test
179
+ example().catch(console.error);
180
+ ```
181
+
182
+ ### Parameters
183
+
184
+
185
+ | Name | Type | Description | Notes |
186
+ |------------- | ------------- | ------------- | -------------|
187
+ | **indexLabelRequest** | [IndexLabelRequest](IndexLabelRequest.md) | | [Optional] |
188
+
189
+ ### Return type
190
+
191
+ [**PaginatedLabelListResourceResponse**](PaginatedLabelListResourceResponse.md)
192
+
193
+ ### Authorization
194
+
195
+ No authorization required
196
+
197
+ ### HTTP request headers
198
+
199
+ - **Content-Type**: `application/json`
200
+ - **Accept**: `application/json`
201
+
202
+
203
+ ### HTTP response details
204
+ | Status code | Description | Response headers |
205
+ |-------------|-------------|------------------|
206
+ | **200** | Paginated response \\JsonResponse<\\ResourcePaginator<\\LabelListResource[]>> | - |
207
+
208
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
209
+
210
+
211
+ ## showLabel
212
+
213
+ > LabelResource showLabel(label)
214
+
215
+ Auto-generated: showLabel
216
+
217
+ ### Example
218
+
219
+ ```ts
220
+ import {
221
+ Configuration,
222
+ LabelApi,
223
+ } from '@digital8/lighting-illusions-ts-sdk';
224
+ import type { ShowLabelRequest } from '@digital8/lighting-illusions-ts-sdk';
225
+
226
+ async function example() {
227
+ console.log("🚀 Testing @digital8/lighting-illusions-ts-sdk SDK...");
228
+ const api = new LabelApi();
229
+
230
+ const body = {
231
+ // number | The id of the label
232
+ label: 56,
233
+ } satisfies ShowLabelRequest;
234
+
235
+ try {
236
+ const data = await api.showLabel(body);
237
+ console.log(data);
238
+ } catch (error) {
239
+ console.error(error);
240
+ }
241
+ }
242
+
243
+ // Run the test
244
+ example().catch(console.error);
245
+ ```
246
+
247
+ ### Parameters
248
+
249
+
250
+ | Name | Type | Description | Notes |
251
+ |------------- | ------------- | ------------- | -------------|
252
+ | **label** | `number` | The id of the label | [Defaults to `undefined`] |
253
+
254
+ ### Return type
255
+
256
+ [**LabelResource**](LabelResource.md)
257
+
258
+ ### Authorization
259
+
260
+ No authorization required
261
+
262
+ ### HTTP request headers
263
+
264
+ - **Content-Type**: Not defined
265
+ - **Accept**: `application/json`
266
+
267
+
268
+ ### HTTP response details
269
+ | Status code | Description | Response headers |
270
+ |-------------|-------------|------------------|
271
+ | **200** | Successful resource response | - |
272
+
273
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
274
+
275
+
276
+ ## storeLabel
277
+
278
+ > LabelResource storeLabel(storeLabelRequest)
279
+
280
+ Auto-generated: storeLabel
281
+
282
+ ### Example
283
+
284
+ ```ts
285
+ import {
286
+ Configuration,
287
+ LabelApi,
288
+ } from '@digital8/lighting-illusions-ts-sdk';
289
+ import type { StoreLabelOperationRequest } from '@digital8/lighting-illusions-ts-sdk';
290
+
291
+ async function example() {
292
+ console.log("🚀 Testing @digital8/lighting-illusions-ts-sdk SDK...");
293
+ const api = new LabelApi();
294
+
295
+ const body = {
296
+ // StoreLabelRequest (optional)
297
+ storeLabelRequest: ...,
298
+ } satisfies StoreLabelOperationRequest;
299
+
300
+ try {
301
+ const data = await api.storeLabel(body);
302
+ console.log(data);
303
+ } catch (error) {
304
+ console.error(error);
305
+ }
306
+ }
307
+
308
+ // Run the test
309
+ example().catch(console.error);
310
+ ```
311
+
312
+ ### Parameters
313
+
314
+
315
+ | Name | Type | Description | Notes |
316
+ |------------- | ------------- | ------------- | -------------|
317
+ | **storeLabelRequest** | [StoreLabelRequest](StoreLabelRequest.md) | | [Optional] |
318
+
319
+ ### Return type
320
+
321
+ [**LabelResource**](LabelResource.md)
322
+
323
+ ### Authorization
324
+
325
+ No authorization required
326
+
327
+ ### HTTP request headers
328
+
329
+ - **Content-Type**: `application/json`
330
+ - **Accept**: `application/json`
331
+
332
+
333
+ ### HTTP response details
334
+ | Status code | Description | Response headers |
335
+ |-------------|-------------|------------------|
336
+ | **200** | Successful resource response | - |
337
+
338
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
339
+
340
+
341
+ ## updateLabel
342
+
343
+ > LabelResource updateLabel(label, updateLabelRequest)
344
+
345
+ Auto-generated: updateLabel
346
+
347
+ ### Example
348
+
349
+ ```ts
350
+ import {
351
+ Configuration,
352
+ LabelApi,
353
+ } from '@digital8/lighting-illusions-ts-sdk';
354
+ import type { UpdateLabelOperationRequest } from '@digital8/lighting-illusions-ts-sdk';
355
+
356
+ async function example() {
357
+ console.log("🚀 Testing @digital8/lighting-illusions-ts-sdk SDK...");
358
+ const api = new LabelApi();
359
+
360
+ const body = {
361
+ // number | The id of the label
362
+ label: 56,
363
+ // UpdateLabelRequest (optional)
364
+ updateLabelRequest: ...,
365
+ } satisfies UpdateLabelOperationRequest;
366
+
367
+ try {
368
+ const data = await api.updateLabel(body);
369
+ console.log(data);
370
+ } catch (error) {
371
+ console.error(error);
372
+ }
373
+ }
374
+
375
+ // Run the test
376
+ example().catch(console.error);
377
+ ```
378
+
379
+ ### Parameters
380
+
381
+
382
+ | Name | Type | Description | Notes |
383
+ |------------- | ------------- | ------------- | -------------|
384
+ | **label** | `number` | The id of the label | [Defaults to `undefined`] |
385
+ | **updateLabelRequest** | [UpdateLabelRequest](UpdateLabelRequest.md) | | [Optional] |
386
+
387
+ ### Return type
388
+
389
+ [**LabelResource**](LabelResource.md)
390
+
391
+ ### Authorization
392
+
393
+ No authorization required
394
+
395
+ ### HTTP request headers
396
+
397
+ - **Content-Type**: `application/json`
398
+ - **Accept**: `application/json`
399
+
400
+
401
+ ### HTTP response details
402
+ | Status code | Description | Response headers |
403
+ |-------------|-------------|------------------|
404
+ | **200** | Successful resource response | - |
405
+
406
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
407
+
@@ -1,5 +1,5 @@
1
1
 
2
- # ProductRangeFrontendListResource
2
+ # LabelListResource
3
3
 
4
4
 
5
5
  ## Properties
@@ -7,26 +7,30 @@
7
7
  Name | Type
8
8
  ------------ | -------------
9
9
  `id` | number
10
- `name` | string
11
- `slug` | string
12
- `excerpt` | string
13
- `thumbnail` | object
14
- `categories` | object
10
+ `shortName` | string
11
+ `longName` | string
12
+ `colour` | string
13
+ `textColour` | string
14
+ `startDate` | string
15
+ `endDate` | string
16
+ `site` | [SiteLiteResource](SiteLiteResource.md)
15
17
 
16
18
  ## Example
17
19
 
18
20
  ```typescript
19
- import type { ProductRangeFrontendListResource } from '@digital8/lighting-illusions-ts-sdk'
21
+ import type { LabelListResource } from '@digital8/lighting-illusions-ts-sdk'
20
22
 
21
23
  // TODO: Update the object below with actual values
22
24
  const example = {
23
25
  "id": null,
24
- "name": null,
25
- "slug": null,
26
- "excerpt": null,
27
- "thumbnail": null,
28
- "categories": null,
29
- } satisfies ProductRangeFrontendListResource
26
+ "shortName": null,
27
+ "longName": null,
28
+ "colour": null,
29
+ "textColour": null,
30
+ "startDate": null,
31
+ "endDate": null,
32
+ "site": null,
33
+ } satisfies LabelListResource
30
34
 
31
35
  console.log(example)
32
36
 
@@ -35,7 +39,7 @@ const exampleJSON: string = JSON.stringify(example)
35
39
  console.log(exampleJSON)
36
40
 
37
41
  // Parse the JSON string back to an object
38
- const exampleParsed = JSON.parse(exampleJSON) as ProductRangeFrontendListResource
42
+ const exampleParsed = JSON.parse(exampleJSON) as LabelListResource
39
43
  console.log(exampleParsed)
40
44
  ```
41
45
 
@@ -1,22 +1,22 @@
1
1
 
2
- # ProductRangeResourceArrayResponse
2
+ # LabelListResourceArrayResponse
3
3
 
4
4
 
5
5
  ## Properties
6
6
 
7
7
  Name | Type
8
8
  ------------ | -------------
9
- `data` | [Array<ProductRangeResource>](ProductRangeResource.md)
9
+ `data` | [Array<LabelListResource>](LabelListResource.md)
10
10
 
11
11
  ## Example
12
12
 
13
13
  ```typescript
14
- import type { ProductRangeResourceArrayResponse } from '@digital8/lighting-illusions-ts-sdk'
14
+ import type { LabelListResourceArrayResponse } from '@digital8/lighting-illusions-ts-sdk'
15
15
 
16
16
  // TODO: Update the object below with actual values
17
17
  const example = {
18
18
  "data": null,
19
- } satisfies ProductRangeResourceArrayResponse
19
+ } satisfies LabelListResourceArrayResponse
20
20
 
21
21
  console.log(example)
22
22
 
@@ -25,7 +25,7 @@ const exampleJSON: string = JSON.stringify(example)
25
25
  console.log(exampleJSON)
26
26
 
27
27
  // Parse the JSON string back to an object
28
- const exampleParsed = JSON.parse(exampleJSON) as ProductRangeResourceArrayResponse
28
+ const exampleParsed = JSON.parse(exampleJSON) as LabelListResourceArrayResponse
29
29
  console.log(exampleParsed)
30
30
  ```
31
31
 
@@ -1,5 +1,5 @@
1
1
 
2
- # ProductRangeSiteDetailLiteResource
2
+ # LabelLiteResource
3
3
 
4
4
 
5
5
  ## Properties
@@ -7,20 +7,24 @@
7
7
  Name | Type
8
8
  ------------ | -------------
9
9
  `id` | number
10
- `siteId` | number
11
- `slug` | string
10
+ `shortName` | string
11
+ `longName` | string
12
+ `colour` | string
13
+ `textColour` | string
12
14
 
13
15
  ## Example
14
16
 
15
17
  ```typescript
16
- import type { ProductRangeSiteDetailLiteResource } from '@digital8/lighting-illusions-ts-sdk'
18
+ import type { LabelLiteResource } from '@digital8/lighting-illusions-ts-sdk'
17
19
 
18
20
  // TODO: Update the object below with actual values
19
21
  const example = {
20
22
  "id": null,
21
- "siteId": null,
22
- "slug": null,
23
- } satisfies ProductRangeSiteDetailLiteResource
23
+ "shortName": null,
24
+ "longName": null,
25
+ "colour": null,
26
+ "textColour": null,
27
+ } satisfies LabelLiteResource
24
28
 
25
29
  console.log(example)
26
30
 
@@ -29,7 +33,7 @@ const exampleJSON: string = JSON.stringify(example)
29
33
  console.log(exampleJSON)
30
34
 
31
35
  // Parse the JSON string back to an object
32
- const exampleParsed = JSON.parse(exampleJSON) as ProductRangeSiteDetailLiteResource
36
+ const exampleParsed = JSON.parse(exampleJSON) as LabelLiteResource
33
37
  console.log(exampleParsed)
34
38
  ```
35
39