@digital8/lighting-illusions-ts-sdk 0.0.1236 → 0.0.1237

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 (301) hide show
  1. package/.openapi-generator/FILES +58 -72
  2. package/README.md +42 -54
  3. package/dist/apis/AttributeApi.d.ts +1 -16
  4. package/dist/apis/AttributeApi.js +0 -58
  5. package/dist/apis/StoreApi.d.ts +173 -0
  6. package/dist/apis/StoreApi.js +679 -0
  7. package/dist/apis/SupplierApi.d.ts +33 -1
  8. package/dist/apis/SupplierApi.js +122 -0
  9. package/dist/apis/index.d.ts +1 -1
  10. package/dist/apis/index.js +1 -1
  11. package/dist/models/AddressFrontendResource.d.ts +74 -0
  12. package/dist/models/AddressFrontendResource.js +75 -0
  13. package/dist/models/AddressFrontendResourceArrayResponse.d.ts +33 -0
  14. package/dist/models/AddressFrontendResourceArrayResponse.js +50 -0
  15. package/dist/models/AddressResource.d.ts +80 -0
  16. package/dist/models/AddressResource.js +79 -0
  17. package/dist/models/AddressResourceArrayResponse.d.ts +33 -0
  18. package/dist/models/AddressResourceArrayResponse.js +50 -0
  19. package/dist/models/AttachDocumentablesDocumentRequestDocumentablesInner.d.ts +0 -1
  20. package/dist/models/AttachDocumentablesDocumentRequestDocumentablesInner.js +0 -1
  21. package/dist/models/AttachStoresSupplierRequest.d.ts +32 -0
  22. package/dist/models/AttachStoresSupplierRequest.js +51 -0
  23. package/dist/models/AttachSuppliersStoreRequest.d.ts +32 -0
  24. package/dist/models/AttachSuppliersStoreRequest.js +51 -0
  25. package/dist/models/DetachDocumentablesDocumentRequestDocumentablesInner.d.ts +0 -1
  26. package/dist/models/DetachDocumentablesDocumentRequestDocumentablesInner.js +0 -1
  27. package/dist/models/DetachStoresSupplierRequest.d.ts +32 -0
  28. package/dist/models/DetachStoresSupplierRequest.js +51 -0
  29. package/dist/models/DetachSuppliersStoreRequest.d.ts +32 -0
  30. package/dist/models/DetachSuppliersStoreRequest.js +51 -0
  31. package/dist/models/ExternalApiLogResource.d.ts +1 -1
  32. package/dist/models/ExternalApiLogResource.js +1 -3
  33. package/dist/models/GetAllDocumentRequest.d.ts +0 -1
  34. package/dist/models/GetAllDocumentRequest.js +0 -1
  35. package/dist/models/GetAllProductChildRequest.d.ts +0 -1
  36. package/dist/models/GetAllProductChildRequest.js +0 -1
  37. package/dist/models/GetAllStoreRequest.d.ts +93 -0
  38. package/dist/models/GetAllStoreRequest.js +81 -0
  39. package/dist/models/IndexAttributeRequest.d.ts +0 -2
  40. package/dist/models/IndexAttributeRequest.js +1 -3
  41. package/dist/models/IndexDocumentRequest.d.ts +0 -1
  42. package/dist/models/IndexDocumentRequest.js +0 -1
  43. package/dist/models/IndexProductChildRequest.d.ts +0 -1
  44. package/dist/models/IndexProductChildRequest.js +0 -1
  45. package/dist/models/IndexStoreRequest.d.ts +105 -0
  46. package/dist/models/{IndexProductRangeRequest.js → IndexStoreRequest.js} +21 -22
  47. package/dist/models/ModelAttributeResource.d.ts +0 -6
  48. package/dist/models/ModelAttributeResource.js +0 -2
  49. package/dist/models/PaginatedStoreListResourceResponse.d.ts +40 -0
  50. package/dist/models/PaginatedStoreListResourceResponse.js +57 -0
  51. package/dist/models/ProductChildResource.d.ts +2 -2
  52. package/dist/models/ProductChildResource.js +3 -3
  53. package/dist/models/ProductClassResource.d.ts +8 -2
  54. package/dist/models/ProductClassResource.js +4 -4
  55. package/dist/models/StoreAssetForAssetableRequest.d.ts +0 -3
  56. package/dist/models/StoreAssetForAssetableRequest.js +1 -4
  57. package/dist/models/StoreFrontendResource.d.ts +98 -0
  58. package/dist/models/StoreFrontendResource.js +87 -0
  59. package/dist/models/StoreFrontendResourceArrayResponse.d.ts +33 -0
  60. package/dist/models/StoreFrontendResourceArrayResponse.js +50 -0
  61. package/dist/models/StoreListResource.d.ts +81 -0
  62. package/dist/models/StoreListResource.js +78 -0
  63. package/dist/models/StoreListResourceArrayResponse.d.ts +33 -0
  64. package/dist/models/StoreListResourceArrayResponse.js +50 -0
  65. package/dist/models/StoreLiteResource.d.ts +45 -0
  66. package/dist/models/StoreLiteResource.js +58 -0
  67. package/dist/models/StoreLiteResourceArrayResponse.d.ts +33 -0
  68. package/dist/models/StoreLiteResourceArrayResponse.js +50 -0
  69. package/dist/models/StoreResource.d.ts +100 -0
  70. package/dist/models/StoreResource.js +93 -0
  71. package/dist/models/StoreResourceArrayResponse.d.ts +33 -0
  72. package/dist/models/StoreResourceArrayResponse.js +50 -0
  73. package/dist/models/StoreSpecialDateFrontendResource.d.ts +56 -0
  74. package/dist/models/StoreSpecialDateFrontendResource.js +65 -0
  75. package/dist/models/StoreSpecialDateFrontendResourceArrayResponse.d.ts +33 -0
  76. package/dist/models/StoreSpecialDateFrontendResourceArrayResponse.js +50 -0
  77. package/dist/models/StoreSpecialDateResource.d.ts +56 -0
  78. package/dist/models/StoreSpecialDateResource.js +65 -0
  79. package/dist/models/StoreSpecialDateResourceArrayResponse.d.ts +33 -0
  80. package/dist/models/StoreSpecialDateResourceArrayResponse.js +50 -0
  81. package/dist/models/StoreStoreRequest.d.ts +177 -0
  82. package/dist/models/StoreStoreRequest.js +124 -0
  83. package/dist/models/StoreStoreRequestSpecialDatesInner.d.ts +50 -0
  84. package/dist/models/StoreStoreRequestSpecialDatesInner.js +57 -0
  85. package/dist/models/StoreStoreSpecialDateRequest.d.ts +50 -0
  86. package/dist/models/StoreStoreSpecialDateRequest.js +57 -0
  87. package/dist/models/UpdateProductTypeRequest.d.ts +9 -9
  88. package/dist/models/UpdateProductTypeRequest.js +9 -9
  89. package/dist/models/UpdateProductTypeRequestPerformanceValuesInner.d.ts +38 -0
  90. package/dist/models/UpdateProductTypeRequestPerformanceValuesInner.js +51 -0
  91. package/dist/models/UpdateStoreRequest.d.ts +164 -0
  92. package/dist/models/UpdateStoreRequest.js +119 -0
  93. package/dist/models/index.d.ts +28 -35
  94. package/dist/models/index.js +28 -35
  95. package/docs/{AttachAttributesProductRangeRequest.md → AddressFrontendResource.md} +20 -6
  96. package/docs/{AttachAccessoriesProductRangeRequest.md → AddressFrontendResourceArrayResponse.md} +6 -6
  97. package/docs/{AttachAttributesProductRangeRequestAttributesInner.md → AddressResource.md} +22 -8
  98. package/docs/{ProductRangeResourceArrayResponse.md → AddressResourceArrayResponse.md} +5 -5
  99. package/docs/{DetachAttributesProductRangeRequest.md → AttachStoresSupplierRequest.md} +6 -6
  100. package/docs/AttachSuppliersStoreRequest.md +34 -0
  101. package/docs/AttributeApi.md +0 -66
  102. package/docs/{DetachAccessoriesProductRangeRequest.md → DetachStoresSupplierRequest.md} +6 -6
  103. package/docs/DetachSuppliersStoreRequest.md +34 -0
  104. package/docs/{GetAllProductRangeRequest.md → GetAllStoreRequest.md} +8 -10
  105. package/docs/{IndexModelAttributeRequest.md → IndexStoreRequest.md} +8 -10
  106. package/docs/ModelAttributeResource.md +0 -2
  107. package/docs/{PaginatedProductRangeResourceResponse.md → PaginatedStoreListResourceResponse.md} +5 -5
  108. package/docs/ProductChildResource.md +2 -2
  109. package/docs/ProductClassResource.md +4 -2
  110. package/docs/StoreApi.md +683 -0
  111. package/docs/StoreFrontendResource.md +56 -0
  112. package/docs/{DetachDocumentsProductRangeRequest.md → StoreFrontendResourceArrayResponse.md} +6 -6
  113. package/docs/{StoreProductRangeRequest.md → StoreListResource.md} +20 -10
  114. package/docs/StoreListResourceArrayResponse.md +34 -0
  115. package/docs/{ProductRangeLiteResource.md → StoreLiteResource.md} +6 -4
  116. package/docs/StoreLiteResourceArrayResponse.md +34 -0
  117. package/docs/StoreResource.md +56 -0
  118. package/docs/StoreResourceArrayResponse.md +34 -0
  119. package/docs/{ProductRangeFrontendListResource.md → StoreSpecialDateFrontendResource.md} +10 -12
  120. package/docs/{ProductRangeFrontendListResourceArrayResponse.md → StoreSpecialDateFrontendResourceArrayResponse.md} +5 -5
  121. package/docs/{ProductRangeSiteDetailLiteResource.md → StoreSpecialDateResource.md} +12 -8
  122. package/docs/{ProductRangeLiteResourceArrayResponse.md → StoreSpecialDateResourceArrayResponse.md} +5 -5
  123. package/docs/StoreStoreRequest.md +82 -0
  124. package/docs/{AttachDocumentsProductRangeRequest.md → StoreStoreRequestSpecialDatesInner.md} +12 -6
  125. package/docs/StoreStoreSpecialDateRequest.md +40 -0
  126. package/docs/SupplierApi.md +138 -0
  127. package/docs/UpdateProductTypeRequest.md +4 -4
  128. package/docs/{UpdateProductRangeRequestAttributesInner.md → UpdateProductTypeRequestPerformanceValuesInner.md} +4 -4
  129. package/docs/UpdateStoreRequest.md +78 -0
  130. package/package.json +1 -1
  131. package/src/apis/AttributeApi.ts +0 -50
  132. package/src/apis/StoreApi.ts +563 -0
  133. package/src/apis/SupplierApi.ts +112 -0
  134. package/src/apis/index.ts +1 -1
  135. package/src/models/AddressFrontendResource.ts +127 -0
  136. package/src/models/AddressFrontendResourceArrayResponse.ts +73 -0
  137. package/src/models/AddressResource.ts +136 -0
  138. package/src/models/AddressResourceArrayResponse.ts +73 -0
  139. package/src/models/AttachDocumentablesDocumentRequestDocumentablesInner.ts +0 -1
  140. package/src/models/AttachStoresSupplierRequest.ts +66 -0
  141. package/src/models/AttachSuppliersStoreRequest.ts +66 -0
  142. package/src/models/DetachDocumentablesDocumentRequestDocumentablesInner.ts +0 -1
  143. package/src/models/DetachStoresSupplierRequest.ts +66 -0
  144. package/src/models/DetachSuppliersStoreRequest.ts +66 -0
  145. package/src/models/ExternalApiLogResource.ts +2 -3
  146. package/src/models/GetAllDocumentRequest.ts +0 -1
  147. package/src/models/GetAllProductChildRequest.ts +0 -1
  148. package/src/models/GetAllStoreRequest.ts +144 -0
  149. package/src/models/IndexAttributeRequest.ts +1 -3
  150. package/src/models/IndexDocumentRequest.ts +0 -1
  151. package/src/models/IndexProductChildRequest.ts +0 -1
  152. package/src/models/IndexStoreRequest.ts +160 -0
  153. package/src/models/ModelAttributeResource.ts +0 -8
  154. package/src/models/PaginatedStoreListResourceResponse.ts +90 -0
  155. package/src/models/ProductChildResource.ts +5 -5
  156. package/src/models/ProductClassResource.ts +12 -5
  157. package/src/models/StoreAssetForAssetableRequest.ts +1 -4
  158. package/src/models/StoreFrontendResource.ts +161 -0
  159. package/src/models/StoreFrontendResourceArrayResponse.ts +73 -0
  160. package/src/models/StoreListResource.ts +143 -0
  161. package/src/models/StoreListResourceArrayResponse.ts +73 -0
  162. package/src/models/StoreLiteResource.ts +91 -0
  163. package/src/models/StoreLiteResourceArrayResponse.ts +73 -0
  164. package/src/models/StoreResource.ts +178 -0
  165. package/src/models/StoreResourceArrayResponse.ts +73 -0
  166. package/src/models/StoreSpecialDateFrontendResource.ts +101 -0
  167. package/src/models/StoreSpecialDateFrontendResourceArrayResponse.ts +73 -0
  168. package/src/models/StoreSpecialDateResource.ts +101 -0
  169. package/src/models/StoreSpecialDateResourceArrayResponse.ts +73 -0
  170. package/src/models/StoreStoreRequest.ts +278 -0
  171. package/src/models/StoreStoreRequestSpecialDatesInner.ts +90 -0
  172. package/src/models/StoreStoreSpecialDateRequest.ts +90 -0
  173. package/src/models/UpdateProductTypeRequest.ts +22 -22
  174. package/src/models/UpdateProductTypeRequestPerformanceValuesInner.ts +73 -0
  175. package/src/models/UpdateStoreRequest.ts +254 -0
  176. package/src/models/index.ts +28 -35
  177. package/dist/apis/ProductRangeApi.d.ts +0 -269
  178. package/dist/apis/ProductRangeApi.js +0 -1043
  179. package/dist/models/AttachAccessoriesProductRangeRequest.d.ts +0 -32
  180. package/dist/models/AttachAccessoriesProductRangeRequest.js +0 -51
  181. package/dist/models/AttachAttributesProductRangeRequest.d.ts +0 -33
  182. package/dist/models/AttachAttributesProductRangeRequest.js +0 -52
  183. package/dist/models/AttachAttributesProductRangeRequestAttributesInner.d.ts +0 -38
  184. package/dist/models/AttachAttributesProductRangeRequestAttributesInner.js +0 -53
  185. package/dist/models/AttachDocumentsProductRangeRequest.d.ts +0 -33
  186. package/dist/models/AttachDocumentsProductRangeRequest.js +0 -52
  187. package/dist/models/DetachAccessoriesProductRangeRequest.d.ts +0 -32
  188. package/dist/models/DetachAccessoriesProductRangeRequest.js +0 -51
  189. package/dist/models/DetachAttributesProductRangeRequest.d.ts +0 -32
  190. package/dist/models/DetachAttributesProductRangeRequest.js +0 -51
  191. package/dist/models/DetachDocumentsProductRangeRequest.d.ts +0 -32
  192. package/dist/models/DetachDocumentsProductRangeRequest.js +0 -51
  193. package/dist/models/GetAllProductRangeRequest.d.ts +0 -98
  194. package/dist/models/GetAllProductRangeRequest.js +0 -82
  195. package/dist/models/IndexModelAttributeRequest.d.ts +0 -118
  196. package/dist/models/IndexModelAttributeRequest.js +0 -93
  197. package/dist/models/IndexProductRangeRequest.d.ts +0 -110
  198. package/dist/models/ModelAttributeListResource.d.ts +0 -64
  199. package/dist/models/ModelAttributeListResource.js +0 -71
  200. package/dist/models/ModelAttributeListResourceArrayResponse.d.ts +0 -33
  201. package/dist/models/ModelAttributeListResourceArrayResponse.js +0 -50
  202. package/dist/models/PaginatedModelAttributeListResourceResponse.d.ts +0 -40
  203. package/dist/models/PaginatedModelAttributeListResourceResponse.js +0 -57
  204. package/dist/models/PaginatedProductRangeFrontendListResourceResponse.d.ts +0 -40
  205. package/dist/models/PaginatedProductRangeFrontendListResourceResponse.js +0 -57
  206. package/dist/models/PaginatedProductRangeListResourceResponse.d.ts +0 -40
  207. package/dist/models/PaginatedProductRangeListResourceResponse.js +0 -57
  208. package/dist/models/PaginatedProductRangeLiteResourceResponse.d.ts +0 -40
  209. package/dist/models/PaginatedProductRangeLiteResourceResponse.js +0 -57
  210. package/dist/models/PaginatedProductRangeResourceResponse.d.ts +0 -40
  211. package/dist/models/PaginatedProductRangeResourceResponse.js +0 -57
  212. package/dist/models/ProductRangeFrontendListResource.d.ts +0 -62
  213. package/dist/models/ProductRangeFrontendListResource.js +0 -71
  214. package/dist/models/ProductRangeFrontendListResourceArrayResponse.d.ts +0 -33
  215. package/dist/models/ProductRangeFrontendListResourceArrayResponse.js +0 -50
  216. package/dist/models/ProductRangeFrontendResource.d.ts +0 -118
  217. package/dist/models/ProductRangeFrontendResource.js +0 -109
  218. package/dist/models/ProductRangeFrontendResourceArrayResponse.d.ts +0 -33
  219. package/dist/models/ProductRangeFrontendResourceArrayResponse.js +0 -50
  220. package/dist/models/ProductRangeListResource.d.ts +0 -66
  221. package/dist/models/ProductRangeListResource.js +0 -75
  222. package/dist/models/ProductRangeListResourceArrayResponse.d.ts +0 -33
  223. package/dist/models/ProductRangeListResourceArrayResponse.js +0 -50
  224. package/dist/models/ProductRangeLiteResource.d.ts +0 -38
  225. package/dist/models/ProductRangeLiteResource.js +0 -55
  226. package/dist/models/ProductRangeLiteResourceArrayResponse.d.ts +0 -33
  227. package/dist/models/ProductRangeLiteResourceArrayResponse.js +0 -50
  228. package/dist/models/ProductRangeResource.d.ts +0 -89
  229. package/dist/models/ProductRangeResource.js +0 -86
  230. package/dist/models/ProductRangeResourceArrayResponse.d.ts +0 -33
  231. package/dist/models/ProductRangeResourceArrayResponse.js +0 -50
  232. package/dist/models/ProductRangeSiteDetailLiteResource.d.ts +0 -44
  233. package/dist/models/ProductRangeSiteDetailLiteResource.js +0 -59
  234. package/dist/models/ProductRangeSiteDetailLiteResourceArrayResponse.d.ts +0 -33
  235. package/dist/models/ProductRangeSiteDetailLiteResourceArrayResponse.js +0 -50
  236. package/dist/models/ProductRangeSiteDetailResource.d.ts +0 -101
  237. package/dist/models/ProductRangeSiteDetailResource.js +0 -98
  238. package/dist/models/ProductRangeSiteDetailResourceArrayResponse.d.ts +0 -33
  239. package/dist/models/ProductRangeSiteDetailResourceArrayResponse.js +0 -50
  240. package/dist/models/StoreProductRangeRequest.d.ts +0 -52
  241. package/dist/models/StoreProductRangeRequest.js +0 -59
  242. package/dist/models/StoreProductRangeRequestSitesInner.d.ts +0 -92
  243. package/dist/models/StoreProductRangeRequestSitesInner.js +0 -75
  244. package/dist/models/UpdateProductRangeRequest.d.ts +0 -59
  245. package/dist/models/UpdateProductRangeRequest.js +0 -62
  246. package/dist/models/UpdateProductRangeRequestAttributesInner.d.ts +0 -38
  247. package/dist/models/UpdateProductRangeRequestAttributesInner.js +0 -51
  248. package/docs/IndexProductRangeRequest.md +0 -54
  249. package/docs/ModelAttributeListResource.md +0 -44
  250. package/docs/ModelAttributeListResourceArrayResponse.md +0 -34
  251. package/docs/PaginatedModelAttributeListResourceResponse.md +0 -36
  252. package/docs/PaginatedProductRangeFrontendListResourceResponse.md +0 -36
  253. package/docs/PaginatedProductRangeListResourceResponse.md +0 -36
  254. package/docs/PaginatedProductRangeLiteResourceResponse.md +0 -36
  255. package/docs/ProductRangeApi.md +0 -1097
  256. package/docs/ProductRangeFrontendResource.md +0 -62
  257. package/docs/ProductRangeFrontendResourceArrayResponse.md +0 -34
  258. package/docs/ProductRangeListResource.md +0 -44
  259. package/docs/ProductRangeListResourceArrayResponse.md +0 -34
  260. package/docs/ProductRangeResource.md +0 -52
  261. package/docs/ProductRangeSiteDetailLiteResourceArrayResponse.md +0 -34
  262. package/docs/ProductRangeSiteDetailResource.md +0 -56
  263. package/docs/ProductRangeSiteDetailResourceArrayResponse.md +0 -34
  264. package/docs/StoreProductRangeRequestSitesInner.md +0 -54
  265. package/docs/UpdateProductRangeRequest.md +0 -42
  266. package/src/apis/ProductRangeApi.ts +0 -888
  267. package/src/models/AttachAccessoriesProductRangeRequest.ts +0 -66
  268. package/src/models/AttachAttributesProductRangeRequest.ts +0 -74
  269. package/src/models/AttachAttributesProductRangeRequestAttributesInner.ts +0 -74
  270. package/src/models/AttachDocumentsProductRangeRequest.ts +0 -74
  271. package/src/models/DetachAccessoriesProductRangeRequest.ts +0 -66
  272. package/src/models/DetachAttributesProductRangeRequest.ts +0 -66
  273. package/src/models/DetachDocumentsProductRangeRequest.ts +0 -66
  274. package/src/models/GetAllProductRangeRequest.ts +0 -151
  275. package/src/models/IndexModelAttributeRequest.ts +0 -176
  276. package/src/models/IndexProductRangeRequest.ts +0 -167
  277. package/src/models/ModelAttributeListResource.ts +0 -125
  278. package/src/models/ModelAttributeListResourceArrayResponse.ts +0 -73
  279. package/src/models/PaginatedModelAttributeListResourceResponse.ts +0 -90
  280. package/src/models/PaginatedProductRangeFrontendListResourceResponse.ts +0 -90
  281. package/src/models/PaginatedProductRangeListResourceResponse.ts +0 -90
  282. package/src/models/PaginatedProductRangeLiteResourceResponse.ts +0 -90
  283. package/src/models/PaginatedProductRangeResourceResponse.ts +0 -90
  284. package/src/models/ProductRangeFrontendListResource.ts +0 -111
  285. package/src/models/ProductRangeFrontendListResourceArrayResponse.ts +0 -73
  286. package/src/models/ProductRangeFrontendResource.ts +0 -207
  287. package/src/models/ProductRangeFrontendResourceArrayResponse.ts +0 -73
  288. package/src/models/ProductRangeListResource.ts +0 -140
  289. package/src/models/ProductRangeListResourceArrayResponse.ts +0 -73
  290. package/src/models/ProductRangeLiteResource.ts +0 -75
  291. package/src/models/ProductRangeLiteResourceArrayResponse.ts +0 -73
  292. package/src/models/ProductRangeResource.ts +0 -167
  293. package/src/models/ProductRangeResourceArrayResponse.ts +0 -73
  294. package/src/models/ProductRangeSiteDetailLiteResource.ts +0 -84
  295. package/src/models/ProductRangeSiteDetailLiteResourceArrayResponse.ts +0 -73
  296. package/src/models/ProductRangeSiteDetailResource.ts +0 -187
  297. package/src/models/ProductRangeSiteDetailResourceArrayResponse.ts +0 -73
  298. package/src/models/StoreProductRangeRequest.ts +0 -105
  299. package/src/models/StoreProductRangeRequestSitesInner.ts +0 -148
  300. package/src/models/UpdateProductRangeRequest.ts +0 -120
  301. package/src/models/UpdateProductRangeRequestAttributesInner.ts +0 -73
@@ -1,1097 +0,0 @@
1
- # ProductRangeApi
2
-
3
- All URIs are relative to *http://localhost/api*
4
-
5
- | Method | HTTP request | Description |
6
- |------------- | ------------- | -------------|
7
- | [**attachAccessoriesProductRange**](ProductRangeApi.md#attachaccessoriesproductrangeoperation) | **POST** /admin-api/product-range/{productRange}/attach-accessories | Auto-generated: attachAccessoriesProductRange |
8
- | [**attachAttributesProductRange**](ProductRangeApi.md#attachattributesproductrangeoperation) | **POST** /admin-api/product-range/{productRange}/attach-attributes | Auto-generated: attachAttributesProductRange |
9
- | [**attachDocumentsProductRange**](ProductRangeApi.md#attachdocumentsproductrangeoperation) | **POST** /admin-api/product-range/{productRange}/attach-documents | Auto-generated: attachDocumentsProductRange |
10
- | [**attachProductChildrenProductRange**](ProductRangeApi.md#attachproductchildrenproductrange) | **POST** /admin-api/product-range/{productRange}/attach-products | Auto-generated: attachProductChildrenProductRange |
11
- | [**destroyProductRange**](ProductRangeApi.md#destroyproductrange) | **DELETE** /admin-api/product-range/{productRange}/delete | Auto-generated: destroyProductRange |
12
- | [**detachAccessoriesProductRange**](ProductRangeApi.md#detachaccessoriesproductrangeoperation) | **POST** /admin-api/product-range/{productRange}/detach-accessories | Auto-generated: detachAccessoriesProductRange |
13
- | [**detachAttributesProductRange**](ProductRangeApi.md#detachattributesproductrangeoperation) | **POST** /admin-api/product-range/{productRange}/detach-attributes | Auto-generated: detachAttributesProductRange |
14
- | [**detachDocumentsProductRange**](ProductRangeApi.md#detachdocumentsproductrangeoperation) | **POST** /admin-api/product-range/{productRange}/detach-documents | Auto-generated: detachDocumentsProductRange |
15
- | [**detachProductChildrenProductRange**](ProductRangeApi.md#detachproductchildrenproductrange) | **POST** /admin-api/product-range/{productRange}/detach-products | Auto-generated: detachProductChildrenProductRange |
16
- | [**getAllProductRange**](ProductRangeApi.md#getallproductrangeoperation) | **POST** /admin-api/product-range/all | Auto-generated: getAllProductRange |
17
- | [**indexProductRange**](ProductRangeApi.md#indexproductrangeoperation) | **POST** /admin-api/product-range/list | Auto-generated: indexProductRange |
18
- | [**listAccessoriesProductRange**](ProductRangeApi.md#listaccessoriesproductrange) | **POST** /admin-api/product-range/{productRange}/accessory/list | Auto-generated: listAccessoriesProductRange |
19
- | [**listProductsProductRange**](ProductRangeApi.md#listproductsproductrange) | **POST** /admin-api/product-range/{productRange}/product/list | Auto-generated: listProductsProductRange |
20
- | [**showProductRange**](ProductRangeApi.md#showproductrange) | **GET** /admin-api/product-range/{productRange} | Auto-generated: showProductRange |
21
- | [**storeProductRange**](ProductRangeApi.md#storeproductrangeoperation) | **POST** /admin-api/product-range/create | Auto-generated: storeProductRange |
22
- | [**updateProductRange**](ProductRangeApi.md#updateproductrangeoperation) | **PUT** /admin-api/product-range/{productRange}/update | Auto-generated: updateProductRange |
23
-
24
-
25
-
26
- ## attachAccessoriesProductRange
27
-
28
- > ProductRangeResource attachAccessoriesProductRange(productRange, attachAccessoriesProductRangeRequest)
29
-
30
- Auto-generated: attachAccessoriesProductRange
31
-
32
- ### Example
33
-
34
- ```ts
35
- import {
36
- Configuration,
37
- ProductRangeApi,
38
- } from '@digital8/lighting-illusions-ts-sdk';
39
- import type { AttachAccessoriesProductRangeOperationRequest } from '@digital8/lighting-illusions-ts-sdk';
40
-
41
- async function example() {
42
- console.log("🚀 Testing @digital8/lighting-illusions-ts-sdk SDK...");
43
- const api = new ProductRangeApi();
44
-
45
- const body = {
46
- // number | The id of the productRange
47
- productRange: 56,
48
- // AttachAccessoriesProductRangeRequest (optional)
49
- attachAccessoriesProductRangeRequest: ...,
50
- } satisfies AttachAccessoriesProductRangeOperationRequest;
51
-
52
- try {
53
- const data = await api.attachAccessoriesProductRange(body);
54
- console.log(data);
55
- } catch (error) {
56
- console.error(error);
57
- }
58
- }
59
-
60
- // Run the test
61
- example().catch(console.error);
62
- ```
63
-
64
- ### Parameters
65
-
66
-
67
- | Name | Type | Description | Notes |
68
- |------------- | ------------- | ------------- | -------------|
69
- | **productRange** | `number` | The id of the productRange | [Defaults to `undefined`] |
70
- | **attachAccessoriesProductRangeRequest** | [AttachAccessoriesProductRangeRequest](AttachAccessoriesProductRangeRequest.md) | | [Optional] |
71
-
72
- ### Return type
73
-
74
- [**ProductRangeResource**](ProductRangeResource.md)
75
-
76
- ### Authorization
77
-
78
- No authorization required
79
-
80
- ### HTTP request headers
81
-
82
- - **Content-Type**: `application/json`
83
- - **Accept**: `application/json`
84
-
85
-
86
- ### HTTP response details
87
- | Status code | Description | Response headers |
88
- |-------------|-------------|------------------|
89
- | **200** | Successful resource response | - |
90
-
91
- [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
92
-
93
-
94
- ## attachAttributesProductRange
95
-
96
- > ProductRangeResource attachAttributesProductRange(productRange, attachAttributesProductRangeRequest)
97
-
98
- Auto-generated: attachAttributesProductRange
99
-
100
- ### Example
101
-
102
- ```ts
103
- import {
104
- Configuration,
105
- ProductRangeApi,
106
- } from '@digital8/lighting-illusions-ts-sdk';
107
- import type { AttachAttributesProductRangeOperationRequest } from '@digital8/lighting-illusions-ts-sdk';
108
-
109
- async function example() {
110
- console.log("🚀 Testing @digital8/lighting-illusions-ts-sdk SDK...");
111
- const api = new ProductRangeApi();
112
-
113
- const body = {
114
- // number | The id of the productRange
115
- productRange: 56,
116
- // AttachAttributesProductRangeRequest (optional)
117
- attachAttributesProductRangeRequest: ...,
118
- } satisfies AttachAttributesProductRangeOperationRequest;
119
-
120
- try {
121
- const data = await api.attachAttributesProductRange(body);
122
- console.log(data);
123
- } catch (error) {
124
- console.error(error);
125
- }
126
- }
127
-
128
- // Run the test
129
- example().catch(console.error);
130
- ```
131
-
132
- ### Parameters
133
-
134
-
135
- | Name | Type | Description | Notes |
136
- |------------- | ------------- | ------------- | -------------|
137
- | **productRange** | `number` | The id of the productRange | [Defaults to `undefined`] |
138
- | **attachAttributesProductRangeRequest** | [AttachAttributesProductRangeRequest](AttachAttributesProductRangeRequest.md) | | [Optional] |
139
-
140
- ### Return type
141
-
142
- [**ProductRangeResource**](ProductRangeResource.md)
143
-
144
- ### Authorization
145
-
146
- No authorization required
147
-
148
- ### HTTP request headers
149
-
150
- - **Content-Type**: `application/json`
151
- - **Accept**: `application/json`
152
-
153
-
154
- ### HTTP response details
155
- | Status code | Description | Response headers |
156
- |-------------|-------------|------------------|
157
- | **200** | Successful resource response | - |
158
-
159
- [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
160
-
161
-
162
- ## attachDocumentsProductRange
163
-
164
- > ProductRangeResource attachDocumentsProductRange(productRange, attachDocumentsProductRangeRequest)
165
-
166
- Auto-generated: attachDocumentsProductRange
167
-
168
- ### Example
169
-
170
- ```ts
171
- import {
172
- Configuration,
173
- ProductRangeApi,
174
- } from '@digital8/lighting-illusions-ts-sdk';
175
- import type { AttachDocumentsProductRangeOperationRequest } from '@digital8/lighting-illusions-ts-sdk';
176
-
177
- async function example() {
178
- console.log("🚀 Testing @digital8/lighting-illusions-ts-sdk SDK...");
179
- const api = new ProductRangeApi();
180
-
181
- const body = {
182
- // number | The id of the productRange
183
- productRange: 56,
184
- // AttachDocumentsProductRangeRequest (optional)
185
- attachDocumentsProductRangeRequest: ...,
186
- } satisfies AttachDocumentsProductRangeOperationRequest;
187
-
188
- try {
189
- const data = await api.attachDocumentsProductRange(body);
190
- console.log(data);
191
- } catch (error) {
192
- console.error(error);
193
- }
194
- }
195
-
196
- // Run the test
197
- example().catch(console.error);
198
- ```
199
-
200
- ### Parameters
201
-
202
-
203
- | Name | Type | Description | Notes |
204
- |------------- | ------------- | ------------- | -------------|
205
- | **productRange** | `number` | The id of the productRange | [Defaults to `undefined`] |
206
- | **attachDocumentsProductRangeRequest** | [AttachDocumentsProductRangeRequest](AttachDocumentsProductRangeRequest.md) | | [Optional] |
207
-
208
- ### Return type
209
-
210
- [**ProductRangeResource**](ProductRangeResource.md)
211
-
212
- ### Authorization
213
-
214
- No authorization required
215
-
216
- ### HTTP request headers
217
-
218
- - **Content-Type**: `application/json`
219
- - **Accept**: `application/json`
220
-
221
-
222
- ### HTTP response details
223
- | Status code | Description | Response headers |
224
- |-------------|-------------|------------------|
225
- | **200** | Successful resource response | - |
226
-
227
- [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
228
-
229
-
230
- ## attachProductChildrenProductRange
231
-
232
- > ProductRangeResource attachProductChildrenProductRange(productRange, attachAccessoriesProductRangeRequest)
233
-
234
- Auto-generated: attachProductChildrenProductRange
235
-
236
- ### Example
237
-
238
- ```ts
239
- import {
240
- Configuration,
241
- ProductRangeApi,
242
- } from '@digital8/lighting-illusions-ts-sdk';
243
- import type { AttachProductChildrenProductRangeRequest } from '@digital8/lighting-illusions-ts-sdk';
244
-
245
- async function example() {
246
- console.log("🚀 Testing @digital8/lighting-illusions-ts-sdk SDK...");
247
- const api = new ProductRangeApi();
248
-
249
- const body = {
250
- // number | The id of the productRange
251
- productRange: 56,
252
- // AttachAccessoriesProductRangeRequest (optional)
253
- attachAccessoriesProductRangeRequest: ...,
254
- } satisfies AttachProductChildrenProductRangeRequest;
255
-
256
- try {
257
- const data = await api.attachProductChildrenProductRange(body);
258
- console.log(data);
259
- } catch (error) {
260
- console.error(error);
261
- }
262
- }
263
-
264
- // Run the test
265
- example().catch(console.error);
266
- ```
267
-
268
- ### Parameters
269
-
270
-
271
- | Name | Type | Description | Notes |
272
- |------------- | ------------- | ------------- | -------------|
273
- | **productRange** | `number` | The id of the productRange | [Defaults to `undefined`] |
274
- | **attachAccessoriesProductRangeRequest** | [AttachAccessoriesProductRangeRequest](AttachAccessoriesProductRangeRequest.md) | | [Optional] |
275
-
276
- ### Return type
277
-
278
- [**ProductRangeResource**](ProductRangeResource.md)
279
-
280
- ### Authorization
281
-
282
- No authorization required
283
-
284
- ### HTTP request headers
285
-
286
- - **Content-Type**: `application/json`
287
- - **Accept**: `application/json`
288
-
289
-
290
- ### HTTP response details
291
- | Status code | Description | Response headers |
292
- |-------------|-------------|------------------|
293
- | **200** | Successful resource response | - |
294
-
295
- [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
296
-
297
-
298
- ## destroyProductRange
299
-
300
- > GenericResponse destroyProductRange(productRange)
301
-
302
- Auto-generated: destroyProductRange
303
-
304
- ### Example
305
-
306
- ```ts
307
- import {
308
- Configuration,
309
- ProductRangeApi,
310
- } from '@digital8/lighting-illusions-ts-sdk';
311
- import type { DestroyProductRangeRequest } from '@digital8/lighting-illusions-ts-sdk';
312
-
313
- async function example() {
314
- console.log("🚀 Testing @digital8/lighting-illusions-ts-sdk SDK...");
315
- const api = new ProductRangeApi();
316
-
317
- const body = {
318
- // number | The id of the productRange
319
- productRange: 56,
320
- } satisfies DestroyProductRangeRequest;
321
-
322
- try {
323
- const data = await api.destroyProductRange(body);
324
- console.log(data);
325
- } catch (error) {
326
- console.error(error);
327
- }
328
- }
329
-
330
- // Run the test
331
- example().catch(console.error);
332
- ```
333
-
334
- ### Parameters
335
-
336
-
337
- | Name | Type | Description | Notes |
338
- |------------- | ------------- | ------------- | -------------|
339
- | **productRange** | `number` | The id of the productRange | [Defaults to `undefined`] |
340
-
341
- ### Return type
342
-
343
- [**GenericResponse**](GenericResponse.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** | \\JsonResponse | - |
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
- ## detachAccessoriesProductRange
364
-
365
- > ProductRangeResource detachAccessoriesProductRange(productRange, detachAccessoriesProductRangeRequest)
366
-
367
- Auto-generated: detachAccessoriesProductRange
368
-
369
- ### Example
370
-
371
- ```ts
372
- import {
373
- Configuration,
374
- ProductRangeApi,
375
- } from '@digital8/lighting-illusions-ts-sdk';
376
- import type { DetachAccessoriesProductRangeOperationRequest } 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 ProductRangeApi();
381
-
382
- const body = {
383
- // number | The id of the productRange
384
- productRange: 56,
385
- // DetachAccessoriesProductRangeRequest (optional)
386
- detachAccessoriesProductRangeRequest: ...,
387
- } satisfies DetachAccessoriesProductRangeOperationRequest;
388
-
389
- try {
390
- const data = await api.detachAccessoriesProductRange(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
- | **productRange** | `number` | The id of the productRange | [Defaults to `undefined`] |
407
- | **detachAccessoriesProductRangeRequest** | [DetachAccessoriesProductRangeRequest](DetachAccessoriesProductRangeRequest.md) | | [Optional] |
408
-
409
- ### Return type
410
-
411
- [**ProductRangeResource**](ProductRangeResource.md)
412
-
413
- ### Authorization
414
-
415
- No authorization required
416
-
417
- ### HTTP request headers
418
-
419
- - **Content-Type**: `application/json`
420
- - **Accept**: `application/json`
421
-
422
-
423
- ### HTTP response details
424
- | Status code | Description | Response headers |
425
- |-------------|-------------|------------------|
426
- | **200** | Successful resource response | - |
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
- ## detachAttributesProductRange
432
-
433
- > ProductRangeResource detachAttributesProductRange(productRange, detachAttributesProductRangeRequest)
434
-
435
- Auto-generated: detachAttributesProductRange
436
-
437
- ### Example
438
-
439
- ```ts
440
- import {
441
- Configuration,
442
- ProductRangeApi,
443
- } from '@digital8/lighting-illusions-ts-sdk';
444
- import type { DetachAttributesProductRangeOperationRequest } 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 ProductRangeApi();
449
-
450
- const body = {
451
- // number | The id of the productRange
452
- productRange: 56,
453
- // DetachAttributesProductRangeRequest (optional)
454
- detachAttributesProductRangeRequest: ...,
455
- } satisfies DetachAttributesProductRangeOperationRequest;
456
-
457
- try {
458
- const data = await api.detachAttributesProductRange(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
- | **productRange** | `number` | The id of the productRange | [Defaults to `undefined`] |
475
- | **detachAttributesProductRangeRequest** | [DetachAttributesProductRangeRequest](DetachAttributesProductRangeRequest.md) | | [Optional] |
476
-
477
- ### Return type
478
-
479
- [**ProductRangeResource**](ProductRangeResource.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** | Successful resource response | - |
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
-
499
- ## detachDocumentsProductRange
500
-
501
- > ProductRangeResource detachDocumentsProductRange(productRange, detachDocumentsProductRangeRequest)
502
-
503
- Auto-generated: detachDocumentsProductRange
504
-
505
- ### Example
506
-
507
- ```ts
508
- import {
509
- Configuration,
510
- ProductRangeApi,
511
- } from '@digital8/lighting-illusions-ts-sdk';
512
- import type { DetachDocumentsProductRangeOperationRequest } from '@digital8/lighting-illusions-ts-sdk';
513
-
514
- async function example() {
515
- console.log("🚀 Testing @digital8/lighting-illusions-ts-sdk SDK...");
516
- const api = new ProductRangeApi();
517
-
518
- const body = {
519
- // number | The id of the productRange
520
- productRange: 56,
521
- // DetachDocumentsProductRangeRequest (optional)
522
- detachDocumentsProductRangeRequest: ...,
523
- } satisfies DetachDocumentsProductRangeOperationRequest;
524
-
525
- try {
526
- const data = await api.detachDocumentsProductRange(body);
527
- console.log(data);
528
- } catch (error) {
529
- console.error(error);
530
- }
531
- }
532
-
533
- // Run the test
534
- example().catch(console.error);
535
- ```
536
-
537
- ### Parameters
538
-
539
-
540
- | Name | Type | Description | Notes |
541
- |------------- | ------------- | ------------- | -------------|
542
- | **productRange** | `number` | The id of the productRange | [Defaults to `undefined`] |
543
- | **detachDocumentsProductRangeRequest** | [DetachDocumentsProductRangeRequest](DetachDocumentsProductRangeRequest.md) | | [Optional] |
544
-
545
- ### Return type
546
-
547
- [**ProductRangeResource**](ProductRangeResource.md)
548
-
549
- ### Authorization
550
-
551
- No authorization required
552
-
553
- ### HTTP request headers
554
-
555
- - **Content-Type**: `application/json`
556
- - **Accept**: `application/json`
557
-
558
-
559
- ### HTTP response details
560
- | Status code | Description | Response headers |
561
- |-------------|-------------|------------------|
562
- | **200** | Successful resource response | - |
563
-
564
- [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
565
-
566
-
567
- ## detachProductChildrenProductRange
568
-
569
- > ProductRangeResource detachProductChildrenProductRange(productRange, detachAccessoriesProductRangeRequest)
570
-
571
- Auto-generated: detachProductChildrenProductRange
572
-
573
- ### Example
574
-
575
- ```ts
576
- import {
577
- Configuration,
578
- ProductRangeApi,
579
- } from '@digital8/lighting-illusions-ts-sdk';
580
- import type { DetachProductChildrenProductRangeRequest } from '@digital8/lighting-illusions-ts-sdk';
581
-
582
- async function example() {
583
- console.log("🚀 Testing @digital8/lighting-illusions-ts-sdk SDK...");
584
- const api = new ProductRangeApi();
585
-
586
- const body = {
587
- // number | The id of the productRange
588
- productRange: 56,
589
- // DetachAccessoriesProductRangeRequest (optional)
590
- detachAccessoriesProductRangeRequest: ...,
591
- } satisfies DetachProductChildrenProductRangeRequest;
592
-
593
- try {
594
- const data = await api.detachProductChildrenProductRange(body);
595
- console.log(data);
596
- } catch (error) {
597
- console.error(error);
598
- }
599
- }
600
-
601
- // Run the test
602
- example().catch(console.error);
603
- ```
604
-
605
- ### Parameters
606
-
607
-
608
- | Name | Type | Description | Notes |
609
- |------------- | ------------- | ------------- | -------------|
610
- | **productRange** | `number` | The id of the productRange | [Defaults to `undefined`] |
611
- | **detachAccessoriesProductRangeRequest** | [DetachAccessoriesProductRangeRequest](DetachAccessoriesProductRangeRequest.md) | | [Optional] |
612
-
613
- ### Return type
614
-
615
- [**ProductRangeResource**](ProductRangeResource.md)
616
-
617
- ### Authorization
618
-
619
- No authorization required
620
-
621
- ### HTTP request headers
622
-
623
- - **Content-Type**: `application/json`
624
- - **Accept**: `application/json`
625
-
626
-
627
- ### HTTP response details
628
- | Status code | Description | Response headers |
629
- |-------------|-------------|------------------|
630
- | **200** | Successful resource response | - |
631
-
632
- [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
633
-
634
-
635
- ## getAllProductRange
636
-
637
- > ProductRangeLiteResourceArrayResponse getAllProductRange(getAllProductRangeRequest)
638
-
639
- Auto-generated: getAllProductRange
640
-
641
- ### Example
642
-
643
- ```ts
644
- import {
645
- Configuration,
646
- ProductRangeApi,
647
- } from '@digital8/lighting-illusions-ts-sdk';
648
- import type { GetAllProductRangeOperationRequest } from '@digital8/lighting-illusions-ts-sdk';
649
-
650
- async function example() {
651
- console.log("🚀 Testing @digital8/lighting-illusions-ts-sdk SDK...");
652
- const api = new ProductRangeApi();
653
-
654
- const body = {
655
- // GetAllProductRangeRequest (optional)
656
- getAllProductRangeRequest: ...,
657
- } satisfies GetAllProductRangeOperationRequest;
658
-
659
- try {
660
- const data = await api.getAllProductRange(body);
661
- console.log(data);
662
- } catch (error) {
663
- console.error(error);
664
- }
665
- }
666
-
667
- // Run the test
668
- example().catch(console.error);
669
- ```
670
-
671
- ### Parameters
672
-
673
-
674
- | Name | Type | Description | Notes |
675
- |------------- | ------------- | ------------- | -------------|
676
- | **getAllProductRangeRequest** | [GetAllProductRangeRequest](GetAllProductRangeRequest.md) | | [Optional] |
677
-
678
- ### Return type
679
-
680
- [**ProductRangeLiteResourceArrayResponse**](ProductRangeLiteResourceArrayResponse.md)
681
-
682
- ### Authorization
683
-
684
- No authorization required
685
-
686
- ### HTTP request headers
687
-
688
- - **Content-Type**: `application/json`
689
- - **Accept**: `application/json`
690
-
691
-
692
- ### HTTP response details
693
- | Status code | Description | Response headers |
694
- |-------------|-------------|------------------|
695
- | **200** | Successful resource response | - |
696
-
697
- [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
698
-
699
-
700
- ## indexProductRange
701
-
702
- > PaginatedProductRangeListResourceResponse indexProductRange(indexProductRangeRequest)
703
-
704
- Auto-generated: indexProductRange
705
-
706
- ### Example
707
-
708
- ```ts
709
- import {
710
- Configuration,
711
- ProductRangeApi,
712
- } from '@digital8/lighting-illusions-ts-sdk';
713
- import type { IndexProductRangeOperationRequest } from '@digital8/lighting-illusions-ts-sdk';
714
-
715
- async function example() {
716
- console.log("🚀 Testing @digital8/lighting-illusions-ts-sdk SDK...");
717
- const api = new ProductRangeApi();
718
-
719
- const body = {
720
- // IndexProductRangeRequest (optional)
721
- indexProductRangeRequest: ...,
722
- } satisfies IndexProductRangeOperationRequest;
723
-
724
- try {
725
- const data = await api.indexProductRange(body);
726
- console.log(data);
727
- } catch (error) {
728
- console.error(error);
729
- }
730
- }
731
-
732
- // Run the test
733
- example().catch(console.error);
734
- ```
735
-
736
- ### Parameters
737
-
738
-
739
- | Name | Type | Description | Notes |
740
- |------------- | ------------- | ------------- | -------------|
741
- | **indexProductRangeRequest** | [IndexProductRangeRequest](IndexProductRangeRequest.md) | | [Optional] |
742
-
743
- ### Return type
744
-
745
- [**PaginatedProductRangeListResourceResponse**](PaginatedProductRangeListResourceResponse.md)
746
-
747
- ### Authorization
748
-
749
- No authorization required
750
-
751
- ### HTTP request headers
752
-
753
- - **Content-Type**: `application/json`
754
- - **Accept**: `application/json`
755
-
756
-
757
- ### HTTP response details
758
- | Status code | Description | Response headers |
759
- |-------------|-------------|------------------|
760
- | **200** | Paginated response \\JsonResponse<\\ResourcePaginator<\\ProductRangeListResource[]>> | - |
761
-
762
- [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
763
-
764
-
765
- ## listAccessoriesProductRange
766
-
767
- > PaginatedProductChildListResourceResponse listAccessoriesProductRange(productRange, indexProductChildRequest)
768
-
769
- Auto-generated: listAccessoriesProductRange
770
-
771
- ### Example
772
-
773
- ```ts
774
- import {
775
- Configuration,
776
- ProductRangeApi,
777
- } from '@digital8/lighting-illusions-ts-sdk';
778
- import type { ListAccessoriesProductRangeRequest } from '@digital8/lighting-illusions-ts-sdk';
779
-
780
- async function example() {
781
- console.log("🚀 Testing @digital8/lighting-illusions-ts-sdk SDK...");
782
- const api = new ProductRangeApi();
783
-
784
- const body = {
785
- // number | The id of the productRange
786
- productRange: 56,
787
- // IndexProductChildRequest (optional)
788
- indexProductChildRequest: ...,
789
- } satisfies ListAccessoriesProductRangeRequest;
790
-
791
- try {
792
- const data = await api.listAccessoriesProductRange(body);
793
- console.log(data);
794
- } catch (error) {
795
- console.error(error);
796
- }
797
- }
798
-
799
- // Run the test
800
- example().catch(console.error);
801
- ```
802
-
803
- ### Parameters
804
-
805
-
806
- | Name | Type | Description | Notes |
807
- |------------- | ------------- | ------------- | -------------|
808
- | **productRange** | `number` | The id of the productRange | [Defaults to `undefined`] |
809
- | **indexProductChildRequest** | [IndexProductChildRequest](IndexProductChildRequest.md) | | [Optional] |
810
-
811
- ### Return type
812
-
813
- [**PaginatedProductChildListResourceResponse**](PaginatedProductChildListResourceResponse.md)
814
-
815
- ### Authorization
816
-
817
- No authorization required
818
-
819
- ### HTTP request headers
820
-
821
- - **Content-Type**: `application/json`
822
- - **Accept**: `application/json`
823
-
824
-
825
- ### HTTP response details
826
- | Status code | Description | Response headers |
827
- |-------------|-------------|------------------|
828
- | **200** | Paginated response \\JsonResponse<\\ResourcePaginator<\\ProductChildListResource[]>> | - |
829
-
830
- [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
831
-
832
-
833
- ## listProductsProductRange
834
-
835
- > PaginatedProductChildListResourceResponse listProductsProductRange(productRange, indexProductChildRequest)
836
-
837
- Auto-generated: listProductsProductRange
838
-
839
- ### Example
840
-
841
- ```ts
842
- import {
843
- Configuration,
844
- ProductRangeApi,
845
- } from '@digital8/lighting-illusions-ts-sdk';
846
- import type { ListProductsProductRangeRequest } from '@digital8/lighting-illusions-ts-sdk';
847
-
848
- async function example() {
849
- console.log("🚀 Testing @digital8/lighting-illusions-ts-sdk SDK...");
850
- const api = new ProductRangeApi();
851
-
852
- const body = {
853
- // number | The id of the productRange
854
- productRange: 56,
855
- // IndexProductChildRequest (optional)
856
- indexProductChildRequest: ...,
857
- } satisfies ListProductsProductRangeRequest;
858
-
859
- try {
860
- const data = await api.listProductsProductRange(body);
861
- console.log(data);
862
- } catch (error) {
863
- console.error(error);
864
- }
865
- }
866
-
867
- // Run the test
868
- example().catch(console.error);
869
- ```
870
-
871
- ### Parameters
872
-
873
-
874
- | Name | Type | Description | Notes |
875
- |------------- | ------------- | ------------- | -------------|
876
- | **productRange** | `number` | The id of the productRange | [Defaults to `undefined`] |
877
- | **indexProductChildRequest** | [IndexProductChildRequest](IndexProductChildRequest.md) | | [Optional] |
878
-
879
- ### Return type
880
-
881
- [**PaginatedProductChildListResourceResponse**](PaginatedProductChildListResourceResponse.md)
882
-
883
- ### Authorization
884
-
885
- No authorization required
886
-
887
- ### HTTP request headers
888
-
889
- - **Content-Type**: `application/json`
890
- - **Accept**: `application/json`
891
-
892
-
893
- ### HTTP response details
894
- | Status code | Description | Response headers |
895
- |-------------|-------------|------------------|
896
- | **200** | Paginated response \\JsonResponse<\\ResourcePaginator<\\ProductChildListResource[]>> | - |
897
-
898
- [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
899
-
900
-
901
- ## showProductRange
902
-
903
- > ProductRangeResource showProductRange(productRange)
904
-
905
- Auto-generated: showProductRange
906
-
907
- ### Example
908
-
909
- ```ts
910
- import {
911
- Configuration,
912
- ProductRangeApi,
913
- } from '@digital8/lighting-illusions-ts-sdk';
914
- import type { ShowProductRangeRequest } from '@digital8/lighting-illusions-ts-sdk';
915
-
916
- async function example() {
917
- console.log("🚀 Testing @digital8/lighting-illusions-ts-sdk SDK...");
918
- const api = new ProductRangeApi();
919
-
920
- const body = {
921
- // number | The id of the productRange
922
- productRange: 56,
923
- } satisfies ShowProductRangeRequest;
924
-
925
- try {
926
- const data = await api.showProductRange(body);
927
- console.log(data);
928
- } catch (error) {
929
- console.error(error);
930
- }
931
- }
932
-
933
- // Run the test
934
- example().catch(console.error);
935
- ```
936
-
937
- ### Parameters
938
-
939
-
940
- | Name | Type | Description | Notes |
941
- |------------- | ------------- | ------------- | -------------|
942
- | **productRange** | `number` | The id of the productRange | [Defaults to `undefined`] |
943
-
944
- ### Return type
945
-
946
- [**ProductRangeResource**](ProductRangeResource.md)
947
-
948
- ### Authorization
949
-
950
- No authorization required
951
-
952
- ### HTTP request headers
953
-
954
- - **Content-Type**: Not defined
955
- - **Accept**: `application/json`
956
-
957
-
958
- ### HTTP response details
959
- | Status code | Description | Response headers |
960
- |-------------|-------------|------------------|
961
- | **200** | Successful resource response | - |
962
-
963
- [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
964
-
965
-
966
- ## storeProductRange
967
-
968
- > ProductRangeResource storeProductRange(storeProductRangeRequest)
969
-
970
- Auto-generated: storeProductRange
971
-
972
- ### Example
973
-
974
- ```ts
975
- import {
976
- Configuration,
977
- ProductRangeApi,
978
- } from '@digital8/lighting-illusions-ts-sdk';
979
- import type { StoreProductRangeOperationRequest } from '@digital8/lighting-illusions-ts-sdk';
980
-
981
- async function example() {
982
- console.log("🚀 Testing @digital8/lighting-illusions-ts-sdk SDK...");
983
- const api = new ProductRangeApi();
984
-
985
- const body = {
986
- // StoreProductRangeRequest (optional)
987
- storeProductRangeRequest: ...,
988
- } satisfies StoreProductRangeOperationRequest;
989
-
990
- try {
991
- const data = await api.storeProductRange(body);
992
- console.log(data);
993
- } catch (error) {
994
- console.error(error);
995
- }
996
- }
997
-
998
- // Run the test
999
- example().catch(console.error);
1000
- ```
1001
-
1002
- ### Parameters
1003
-
1004
-
1005
- | Name | Type | Description | Notes |
1006
- |------------- | ------------- | ------------- | -------------|
1007
- | **storeProductRangeRequest** | [StoreProductRangeRequest](StoreProductRangeRequest.md) | | [Optional] |
1008
-
1009
- ### Return type
1010
-
1011
- [**ProductRangeResource**](ProductRangeResource.md)
1012
-
1013
- ### Authorization
1014
-
1015
- No authorization required
1016
-
1017
- ### HTTP request headers
1018
-
1019
- - **Content-Type**: `application/json`
1020
- - **Accept**: `application/json`
1021
-
1022
-
1023
- ### HTTP response details
1024
- | Status code | Description | Response headers |
1025
- |-------------|-------------|------------------|
1026
- | **200** | Successful resource response | - |
1027
-
1028
- [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
1029
-
1030
-
1031
- ## updateProductRange
1032
-
1033
- > ProductRangeResource updateProductRange(productRange, updateProductRangeRequest)
1034
-
1035
- Auto-generated: updateProductRange
1036
-
1037
- ### Example
1038
-
1039
- ```ts
1040
- import {
1041
- Configuration,
1042
- ProductRangeApi,
1043
- } from '@digital8/lighting-illusions-ts-sdk';
1044
- import type { UpdateProductRangeOperationRequest } from '@digital8/lighting-illusions-ts-sdk';
1045
-
1046
- async function example() {
1047
- console.log("🚀 Testing @digital8/lighting-illusions-ts-sdk SDK...");
1048
- const api = new ProductRangeApi();
1049
-
1050
- const body = {
1051
- // number | The id of the productRange
1052
- productRange: 56,
1053
- // UpdateProductRangeRequest (optional)
1054
- updateProductRangeRequest: ...,
1055
- } satisfies UpdateProductRangeOperationRequest;
1056
-
1057
- try {
1058
- const data = await api.updateProductRange(body);
1059
- console.log(data);
1060
- } catch (error) {
1061
- console.error(error);
1062
- }
1063
- }
1064
-
1065
- // Run the test
1066
- example().catch(console.error);
1067
- ```
1068
-
1069
- ### Parameters
1070
-
1071
-
1072
- | Name | Type | Description | Notes |
1073
- |------------- | ------------- | ------------- | -------------|
1074
- | **productRange** | `number` | The id of the productRange | [Defaults to `undefined`] |
1075
- | **updateProductRangeRequest** | [UpdateProductRangeRequest](UpdateProductRangeRequest.md) | | [Optional] |
1076
-
1077
- ### Return type
1078
-
1079
- [**ProductRangeResource**](ProductRangeResource.md)
1080
-
1081
- ### Authorization
1082
-
1083
- No authorization required
1084
-
1085
- ### HTTP request headers
1086
-
1087
- - **Content-Type**: `application/json`
1088
- - **Accept**: `application/json`
1089
-
1090
-
1091
- ### HTTP response details
1092
- | Status code | Description | Response headers |
1093
- |-------------|-------------|------------------|
1094
- | **200** | Successful resource response | - |
1095
-
1096
- [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
1097
-