@digital8/lighting-illusions-ts-sdk 0.0.472 → 0.0.473

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 (257) hide show
  1. package/.openapi-generator/FILES +10 -72
  2. package/README.md +20 -56
  3. package/dist/apis/AttributeApi.d.ts +33 -33
  4. package/dist/apis/AttributeApi.js +92 -92
  5. package/dist/apis/OverlayTemplateApi.d.ts +39 -39
  6. package/dist/apis/OverlayTemplateApi.js +110 -110
  7. package/dist/apis/ProductApi.d.ts +17 -78
  8. package/dist/apis/ProductApi.js +24 -271
  9. package/dist/apis/ProductTypeApi.d.ts +33 -33
  10. package/dist/apis/ProductTypeApi.js +89 -89
  11. package/dist/apis/SiteApi.d.ts +5 -5
  12. package/dist/apis/SiteApi.js +2 -2
  13. package/dist/apis/SupplierApi.d.ts +3 -3
  14. package/dist/apis/SupplierApi.js +1 -1
  15. package/dist/apis/TagApi.d.ts +27 -27
  16. package/dist/apis/TagApi.js +81 -81
  17. package/dist/models/AssetLiteResource.d.ts +0 -6
  18. package/dist/models/AssetLiteResource.js +0 -4
  19. package/dist/models/GetAllAttributeRequest.d.ts +9 -15
  20. package/dist/models/GetAllAttributeRequest.js +4 -6
  21. package/dist/models/GetAllOverlayTemplateRequest.d.ts +6 -12
  22. package/dist/models/GetAllOverlayTemplateRequest.js +2 -4
  23. package/dist/models/GetAllProductChildRequest.d.ts +0 -6
  24. package/dist/models/GetAllProductChildRequest.js +0 -2
  25. package/dist/models/GetAllProductRequest.d.ts +0 -36
  26. package/dist/models/GetAllProductRequest.js +0 -12
  27. package/dist/models/GetAllProductTypeRequest.d.ts +0 -6
  28. package/dist/models/GetAllProductTypeRequest.js +0 -2
  29. package/dist/models/GetAllSupplierRequest.d.ts +0 -6
  30. package/dist/models/GetAllSupplierRequest.js +0 -2
  31. package/dist/models/IndexAttributeRequest.d.ts +0 -25
  32. package/dist/models/IndexAttributeRequest.js +1 -13
  33. package/dist/models/IndexExternalApiLogRequest.d.ts +3 -21
  34. package/dist/models/IndexExternalApiLogRequest.js +4 -10
  35. package/dist/models/IndexOverlayTemplateRequest.d.ts +0 -25
  36. package/dist/models/IndexOverlayTemplateRequest.js +1 -13
  37. package/dist/models/IndexProductChildRequest.d.ts +0 -6
  38. package/dist/models/IndexProductChildRequest.js +0 -2
  39. package/dist/models/IndexProductTypeRequest.d.ts +0 -25
  40. package/dist/models/IndexProductTypeRequest.js +1 -13
  41. package/dist/models/IndexSiteNotificationRequest.d.ts +0 -18
  42. package/dist/models/IndexSiteNotificationRequest.js +0 -6
  43. package/dist/models/IndexSiteRequest.d.ts +0 -18
  44. package/dist/models/IndexSiteRequest.js +0 -6
  45. package/dist/models/IndexSupplierRequest.d.ts +0 -25
  46. package/dist/models/IndexSupplierRequest.js +1 -13
  47. package/dist/models/IndexTagRequest.d.ts +0 -25
  48. package/dist/models/IndexTagRequest.js +1 -13
  49. package/dist/models/LinkAssetsOverlayTemplateRequest.d.ts +32 -0
  50. package/dist/models/LinkAssetsOverlayTemplateRequest.js +51 -0
  51. package/dist/models/LinkAttributeProductTypeRequest.d.ts +48 -0
  52. package/dist/models/LinkAttributeProductTypeRequest.js +65 -0
  53. package/dist/models/LinkProductChildrenTagRequest.d.ts +32 -0
  54. package/dist/models/LinkProductChildrenTagRequest.js +51 -0
  55. package/dist/models/LinkProductTypeAttributeRequest.d.ts +48 -0
  56. package/dist/models/LinkProductTypeAttributeRequest.js +65 -0
  57. package/dist/models/UnlinkAssetableOverlayTemplateRequest.d.ts +45 -0
  58. package/dist/models/UnlinkAssetableOverlayTemplateRequest.js +62 -0
  59. package/dist/models/index.d.ts +5 -36
  60. package/dist/models/index.js +5 -36
  61. package/docs/AssetLiteResource.md +0 -2
  62. package/docs/AttributeApi.md +117 -117
  63. package/docs/GetAllAttributeRequest.md +4 -6
  64. package/docs/GetAllOverlayTemplateRequest.md +2 -4
  65. package/docs/GetAllProductChildRequest.md +0 -2
  66. package/docs/GetAllProductRequest.md +0 -12
  67. package/docs/GetAllProductTypeRequest.md +0 -2
  68. package/docs/GetAllSupplierRequest.md +0 -2
  69. package/docs/IndexAttributeRequest.md +0 -6
  70. package/docs/IndexExternalApiLogRequest.md +4 -10
  71. package/docs/IndexOverlayTemplateRequest.md +0 -6
  72. package/docs/IndexProductChildRequest.md +0 -2
  73. package/docs/IndexProductTypeRequest.md +0 -6
  74. package/docs/IndexSiteNotificationRequest.md +0 -6
  75. package/docs/IndexSiteRequest.md +0 -6
  76. package/docs/IndexSupplierRequest.md +0 -6
  77. package/docs/IndexTagRequest.md +0 -6
  78. package/docs/{AttachAssetsOverlayTemplateRequest.md → LinkAssetsOverlayTemplateRequest.md} +4 -4
  79. package/docs/{AttachAttributeProductTypeRequest.md → LinkAttributeProductTypeRequest.md} +4 -4
  80. package/docs/{AttachAccessoriesProductChildRequest.md → LinkProductChildrenTagRequest.md} +4 -4
  81. package/docs/{AttachProductTypeAttributeRequest.md → LinkProductTypeAttributeRequest.md} +4 -4
  82. package/docs/OverlayTemplateApi.md +115 -115
  83. package/docs/ProductApi.md +29 -377
  84. package/docs/ProductTypeApi.md +94 -94
  85. package/docs/SiteApi.md +6 -6
  86. package/docs/SupplierApi.md +3 -3
  87. package/docs/TagApi.md +84 -84
  88. package/docs/{DetachAssetableOverlayTemplateRequest.md → UnlinkAssetableOverlayTemplateRequest.md} +4 -6
  89. package/package.json +1 -1
  90. package/src/apis/AttributeApi.ts +108 -108
  91. package/src/apis/OverlayTemplateApi.ts +141 -141
  92. package/src/apis/ProductApi.ts +32 -282
  93. package/src/apis/ProductTypeApi.ts +104 -104
  94. package/src/apis/SiteApi.ts +12 -12
  95. package/src/apis/SupplierApi.ts +6 -6
  96. package/src/apis/TagApi.ts +94 -94
  97. package/src/models/AssetLiteResource.ts +0 -9
  98. package/src/models/GetAllAttributeRequest.ts +13 -21
  99. package/src/models/GetAllOverlayTemplateRequest.ts +8 -16
  100. package/src/models/GetAllProductChildRequest.ts +0 -8
  101. package/src/models/GetAllProductRequest.ts +0 -48
  102. package/src/models/GetAllProductTypeRequest.ts +0 -8
  103. package/src/models/GetAllSupplierRequest.ts +0 -8
  104. package/src/models/IndexAttributeRequest.ts +0 -32
  105. package/src/models/IndexExternalApiLogRequest.ts +7 -31
  106. package/src/models/IndexOverlayTemplateRequest.ts +0 -32
  107. package/src/models/IndexProductChildRequest.ts +0 -8
  108. package/src/models/IndexProductTypeRequest.ts +0 -32
  109. package/src/models/IndexSiteNotificationRequest.ts +0 -24
  110. package/src/models/IndexSiteRequest.ts +0 -24
  111. package/src/models/IndexSupplierRequest.ts +0 -32
  112. package/src/models/IndexTagRequest.ts +0 -32
  113. package/src/models/LinkAssetsOverlayTemplateRequest.ts +66 -0
  114. package/src/models/LinkAttributeProductTypeRequest.ts +88 -0
  115. package/src/models/LinkProductChildrenTagRequest.ts +66 -0
  116. package/src/models/LinkProductTypeAttributeRequest.ts +88 -0
  117. package/src/models/UnlinkAssetableOverlayTemplateRequest.ts +85 -0
  118. package/src/models/index.ts +5 -36
  119. package/dist/models/AttachAccessoriesProductChildRequest.d.ts +0 -32
  120. package/dist/models/AttachAccessoriesProductChildRequest.js +0 -51
  121. package/dist/models/AttachAssetsOverlayTemplateRequest.d.ts +0 -32
  122. package/dist/models/AttachAssetsOverlayTemplateRequest.js +0 -51
  123. package/dist/models/AttachAttributeProductTypeRequest.d.ts +0 -48
  124. package/dist/models/AttachAttributeProductTypeRequest.js +0 -65
  125. package/dist/models/AttachProductTypeAttributeRequest.d.ts +0 -48
  126. package/dist/models/AttachProductTypeAttributeRequest.js +0 -65
  127. package/dist/models/AttributeListResource.d.ts +0 -56
  128. package/dist/models/AttributeListResource.js +0 -67
  129. package/dist/models/AttributeListResourceArrayResponse.d.ts +0 -33
  130. package/dist/models/AttributeListResourceArrayResponse.js +0 -50
  131. package/dist/models/DetachAssetableOverlayTemplateRequest.d.ts +0 -51
  132. package/dist/models/DetachAssetableOverlayTemplateRequest.js +0 -64
  133. package/dist/models/ExternalApiLogListResource.d.ts +0 -56
  134. package/dist/models/ExternalApiLogListResource.js +0 -63
  135. package/dist/models/ExternalApiLogListResourceArrayResponse.d.ts +0 -33
  136. package/dist/models/ExternalApiLogListResourceArrayResponse.js +0 -50
  137. package/dist/models/IndexProductRequest.d.ts +0 -130
  138. package/dist/models/IndexProductRequest.js +0 -97
  139. package/dist/models/OverlayTemplateListResource.d.ts +0 -45
  140. package/dist/models/OverlayTemplateListResource.js +0 -60
  141. package/dist/models/OverlayTemplateListResourceArrayResponse.d.ts +0 -33
  142. package/dist/models/OverlayTemplateListResourceArrayResponse.js +0 -50
  143. package/dist/models/PaginatedAttributeListResourceResponse.d.ts +0 -40
  144. package/dist/models/PaginatedAttributeListResourceResponse.js +0 -57
  145. package/dist/models/PaginatedExternalApiLogListResourceResponse.d.ts +0 -40
  146. package/dist/models/PaginatedExternalApiLogListResourceResponse.js +0 -57
  147. package/dist/models/PaginatedOverlayTemplateListResourceResponse.d.ts +0 -40
  148. package/dist/models/PaginatedOverlayTemplateListResourceResponse.js +0 -57
  149. package/dist/models/PaginatedProductChildListResourceResponse.d.ts +0 -40
  150. package/dist/models/PaginatedProductChildListResourceResponse.js +0 -57
  151. package/dist/models/PaginatedProductListResourceResponse.d.ts +0 -40
  152. package/dist/models/PaginatedProductListResourceResponse.js +0 -57
  153. package/dist/models/PaginatedProductTypeListResourceResponse.d.ts +0 -40
  154. package/dist/models/PaginatedProductTypeListResourceResponse.js +0 -57
  155. package/dist/models/PaginatedSiteListResourceResponse.d.ts +0 -40
  156. package/dist/models/PaginatedSiteListResourceResponse.js +0 -57
  157. package/dist/models/PaginatedSiteNotificationListResourceResponse.d.ts +0 -40
  158. package/dist/models/PaginatedSiteNotificationListResourceResponse.js +0 -57
  159. package/dist/models/PaginatedSupplierListResourceResponse.d.ts +0 -40
  160. package/dist/models/PaginatedSupplierListResourceResponse.js +0 -57
  161. package/dist/models/PaginatedTagListResourceResponse.d.ts +0 -40
  162. package/dist/models/PaginatedTagListResourceResponse.js +0 -57
  163. package/dist/models/ProductChildListResource.d.ts +0 -63
  164. package/dist/models/ProductChildListResource.js +0 -72
  165. package/dist/models/ProductChildListResourceArrayResponse.d.ts +0 -33
  166. package/dist/models/ProductChildListResourceArrayResponse.js +0 -50
  167. package/dist/models/ProductListResource.d.ts +0 -38
  168. package/dist/models/ProductListResource.js +0 -55
  169. package/dist/models/ProductListResourceArrayResponse.d.ts +0 -33
  170. package/dist/models/ProductListResourceArrayResponse.js +0 -50
  171. package/dist/models/ProductTypeListResource.d.ts +0 -44
  172. package/dist/models/ProductTypeListResource.js +0 -59
  173. package/dist/models/ProductTypeListResourceArrayResponse.d.ts +0 -33
  174. package/dist/models/ProductTypeListResourceArrayResponse.js +0 -50
  175. package/dist/models/SiteListResource.d.ts +0 -50
  176. package/dist/models/SiteListResource.js +0 -63
  177. package/dist/models/SiteListResourceArrayResponse.d.ts +0 -33
  178. package/dist/models/SiteListResourceArrayResponse.js +0 -50
  179. package/dist/models/SiteNotificationListResource.d.ts +0 -87
  180. package/dist/models/SiteNotificationListResource.js +0 -84
  181. package/dist/models/SiteNotificationListResourceArrayResponse.d.ts +0 -33
  182. package/dist/models/SiteNotificationListResourceArrayResponse.js +0 -50
  183. package/dist/models/SupplierListResource.d.ts +0 -57
  184. package/dist/models/SupplierListResource.js +0 -68
  185. package/dist/models/SupplierListResourceArrayResponse.d.ts +0 -33
  186. package/dist/models/SupplierListResourceArrayResponse.js +0 -50
  187. package/dist/models/TagListResource.d.ts +0 -57
  188. package/dist/models/TagListResource.js +0 -68
  189. package/dist/models/TagListResourceArrayResponse.d.ts +0 -33
  190. package/dist/models/TagListResourceArrayResponse.js +0 -50
  191. package/docs/AttributeListResource.md +0 -42
  192. package/docs/AttributeListResourceArrayResponse.md +0 -34
  193. package/docs/ExternalApiLogListResource.md +0 -42
  194. package/docs/ExternalApiLogListResourceArrayResponse.md +0 -34
  195. package/docs/IndexProductRequest.md +0 -58
  196. package/docs/OverlayTemplateListResource.md +0 -38
  197. package/docs/OverlayTemplateListResourceArrayResponse.md +0 -34
  198. package/docs/PaginatedAttributeListResourceResponse.md +0 -36
  199. package/docs/PaginatedExternalApiLogListResourceResponse.md +0 -36
  200. package/docs/PaginatedOverlayTemplateListResourceResponse.md +0 -36
  201. package/docs/PaginatedProductChildListResourceResponse.md +0 -36
  202. package/docs/PaginatedProductListResourceResponse.md +0 -36
  203. package/docs/PaginatedProductTypeListResourceResponse.md +0 -36
  204. package/docs/PaginatedSiteListResourceResponse.md +0 -36
  205. package/docs/PaginatedSiteNotificationListResourceResponse.md +0 -36
  206. package/docs/PaginatedSupplierListResourceResponse.md +0 -36
  207. package/docs/PaginatedTagListResourceResponse.md +0 -36
  208. package/docs/ProductChildListResource.md +0 -44
  209. package/docs/ProductChildListResourceArrayResponse.md +0 -34
  210. package/docs/ProductListResource.md +0 -36
  211. package/docs/ProductListResourceArrayResponse.md +0 -34
  212. package/docs/ProductTypeListResource.md +0 -38
  213. package/docs/ProductTypeListResourceArrayResponse.md +0 -34
  214. package/docs/SiteListResource.md +0 -40
  215. package/docs/SiteListResourceArrayResponse.md +0 -34
  216. package/docs/SiteNotificationListResource.md +0 -52
  217. package/docs/SiteNotificationListResourceArrayResponse.md +0 -34
  218. package/docs/SupplierListResource.md +0 -42
  219. package/docs/SupplierListResourceArrayResponse.md +0 -34
  220. package/docs/TagListResource.md +0 -42
  221. package/docs/TagListResourceArrayResponse.md +0 -34
  222. package/src/models/AttachAccessoriesProductChildRequest.ts +0 -66
  223. package/src/models/AttachAssetsOverlayTemplateRequest.ts +0 -66
  224. package/src/models/AttachAttributeProductTypeRequest.ts +0 -88
  225. package/src/models/AttachProductTypeAttributeRequest.ts +0 -88
  226. package/src/models/AttributeListResource.ts +0 -102
  227. package/src/models/AttributeListResourceArrayResponse.ts +0 -73
  228. package/src/models/DetachAssetableOverlayTemplateRequest.ts +0 -93
  229. package/src/models/ExternalApiLogListResource.ts +0 -100
  230. package/src/models/ExternalApiLogListResourceArrayResponse.ts +0 -73
  231. package/src/models/IndexProductRequest.ts +0 -192
  232. package/src/models/OverlayTemplateListResource.ts +0 -92
  233. package/src/models/OverlayTemplateListResourceArrayResponse.ts +0 -73
  234. package/src/models/PaginatedAttributeListResourceResponse.ts +0 -90
  235. package/src/models/PaginatedExternalApiLogListResourceResponse.ts +0 -90
  236. package/src/models/PaginatedOverlayTemplateListResourceResponse.ts +0 -90
  237. package/src/models/PaginatedProductChildListResourceResponse.ts +0 -90
  238. package/src/models/PaginatedProductListResourceResponse.ts +0 -90
  239. package/src/models/PaginatedProductTypeListResourceResponse.ts +0 -90
  240. package/src/models/PaginatedSiteListResourceResponse.ts +0 -90
  241. package/src/models/PaginatedSiteNotificationListResourceResponse.ts +0 -90
  242. package/src/models/PaginatedSupplierListResourceResponse.ts +0 -90
  243. package/src/models/PaginatedTagListResourceResponse.ts +0 -90
  244. package/src/models/ProductChildListResource.ts +0 -119
  245. package/src/models/ProductChildListResourceArrayResponse.ts +0 -73
  246. package/src/models/ProductListResource.ts +0 -75
  247. package/src/models/ProductListResourceArrayResponse.ts +0 -73
  248. package/src/models/ProductTypeListResource.ts +0 -84
  249. package/src/models/ProductTypeListResourceArrayResponse.ts +0 -73
  250. package/src/models/SiteListResource.ts +0 -93
  251. package/src/models/SiteListResourceArrayResponse.ts +0 -73
  252. package/src/models/SiteNotificationListResource.ts +0 -153
  253. package/src/models/SiteNotificationListResourceArrayResponse.ts +0 -73
  254. package/src/models/SupplierListResource.ts +0 -110
  255. package/src/models/SupplierListResourceArrayResponse.ts +0 -73
  256. package/src/models/TagListResource.ts +0 -110
  257. package/src/models/TagListResourceArrayResponse.ts +0 -73
@@ -4,23 +4,23 @@ All URIs are relative to *http://localhost/api*
4
4
 
5
5
  | Method | HTTP request | Description |
6
6
  |------------- | ------------- | -------------|
7
- | [**attachAttributeProductType**](ProductTypeApi.md#attachattributeproducttypeoperation) | **POST** /admin-api/product-type/{productType}/attach-attribute | Auto-generated: attachAttributeProductType |
8
7
  | [**destroyProductType**](ProductTypeApi.md#destroyproducttype) | **DELETE** /admin-api/product-type/{productType}/delete | Auto-generated: destroyProductType |
9
- | [**detachAttributeProductType**](ProductTypeApi.md#detachattributeproducttype) | **POST** /admin-api/product-type/{productType}/detach-attribute/{attribute} | Auto-generated: detachAttributeProductType |
10
8
  | [**getAllProductType**](ProductTypeApi.md#getallproducttypeoperation) | **POST** /admin-api/product-type/all | Auto-generated: getAllProductType |
11
9
  | [**indexProductType**](ProductTypeApi.md#indexproducttypeoperation) | **POST** /admin-api/product-type/list | Auto-generated: indexProductType |
10
+ | [**linkAttributeProductType**](ProductTypeApi.md#linkattributeproducttypeoperation) | **POST** /admin-api/product-type/{productType}/link-attribute | Auto-generated: linkAttributeProductType |
12
11
  | [**showProductType**](ProductTypeApi.md#showproducttype) | **GET** /admin-api/product-type/{productType} | Auto-generated: showProductType |
13
12
  | [**storeProductType**](ProductTypeApi.md#storeproducttypeoperation) | **POST** /admin-api/product-type/create | Auto-generated: storeProductType |
14
- | [**updateAttachedAttributeProductType**](ProductTypeApi.md#updateattachedattributeproducttype) | **PUT** /admin-api/product-type/{productType}/update-attribute | Auto-generated: updateAttachedAttributeProductType |
13
+ | [**unlinkAttributeProductType**](ProductTypeApi.md#unlinkattributeproducttype) | **POST** /admin-api/product-type/{productType}/remove-attribute/{attribute} | Auto-generated: unlinkAttributeProductType |
14
+ | [**updateLinkedAttributeProductType**](ProductTypeApi.md#updatelinkedattributeproducttype) | **PUT** /admin-api/product-type/{productType}/update-attribute | Auto-generated: updateLinkedAttributeProductType |
15
15
  | [**updateProductType**](ProductTypeApi.md#updateproducttypeoperation) | **PUT** /admin-api/product-type/{productType}/update | Auto-generated: updateProductType |
16
16
 
17
17
 
18
18
 
19
- ## attachAttributeProductType
19
+ ## destroyProductType
20
20
 
21
- > ProductTypeResource attachAttributeProductType(productType, attachAttributeProductTypeRequest)
21
+ > GenericResponse destroyProductType(productType)
22
22
 
23
- Auto-generated: attachAttributeProductType
23
+ Auto-generated: destroyProductType
24
24
 
25
25
  ### Example
26
26
 
@@ -29,7 +29,7 @@ import {
29
29
  Configuration,
30
30
  ProductTypeApi,
31
31
  } from '@digital8/lighting-illusions-ts-sdk';
32
- import type { AttachAttributeProductTypeOperationRequest } from '@digital8/lighting-illusions-ts-sdk';
32
+ import type { DestroyProductTypeRequest } from '@digital8/lighting-illusions-ts-sdk';
33
33
 
34
34
  async function example() {
35
35
  console.log("🚀 Testing @digital8/lighting-illusions-ts-sdk SDK...");
@@ -38,12 +38,10 @@ async function example() {
38
38
  const body = {
39
39
  // number | The id of the productType
40
40
  productType: 56,
41
- // AttachAttributeProductTypeRequest (optional)
42
- attachAttributeProductTypeRequest: ...,
43
- } satisfies AttachAttributeProductTypeOperationRequest;
41
+ } satisfies DestroyProductTypeRequest;
44
42
 
45
43
  try {
46
- const data = await api.attachAttributeProductType(body);
44
+ const data = await api.destroyProductType(body);
47
45
  console.log(data);
48
46
  } catch (error) {
49
47
  console.error(error);
@@ -60,11 +58,10 @@ example().catch(console.error);
60
58
  | Name | Type | Description | Notes |
61
59
  |------------- | ------------- | ------------- | -------------|
62
60
  | **productType** | `number` | The id of the productType | [Defaults to `undefined`] |
63
- | **attachAttributeProductTypeRequest** | [AttachAttributeProductTypeRequest](AttachAttributeProductTypeRequest.md) | | [Optional] |
64
61
 
65
62
  ### Return type
66
63
 
67
- [**ProductTypeResource**](ProductTypeResource.md)
64
+ [**GenericResponse**](GenericResponse.md)
68
65
 
69
66
  ### Authorization
70
67
 
@@ -72,23 +69,23 @@ No authorization required
72
69
 
73
70
  ### HTTP request headers
74
71
 
75
- - **Content-Type**: `application/json`
72
+ - **Content-Type**: Not defined
76
73
  - **Accept**: `application/json`
77
74
 
78
75
 
79
76
  ### HTTP response details
80
77
  | Status code | Description | Response headers |
81
78
  |-------------|-------------|------------------|
82
- | **200** | Successful resource response | - |
79
+ | **200** | \\JsonResponse | - |
83
80
 
84
81
  [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
85
82
 
86
83
 
87
- ## destroyProductType
84
+ ## getAllProductType
88
85
 
89
- > GenericResponse destroyProductType(productType)
86
+ > PaginatedProductTypeLiteResourceResponse getAllProductType(getAllProductTypeRequest)
90
87
 
91
- Auto-generated: destroyProductType
88
+ Auto-generated: getAllProductType
92
89
 
93
90
  ### Example
94
91
 
@@ -97,19 +94,19 @@ import {
97
94
  Configuration,
98
95
  ProductTypeApi,
99
96
  } from '@digital8/lighting-illusions-ts-sdk';
100
- import type { DestroyProductTypeRequest } from '@digital8/lighting-illusions-ts-sdk';
97
+ import type { GetAllProductTypeOperationRequest } from '@digital8/lighting-illusions-ts-sdk';
101
98
 
102
99
  async function example() {
103
100
  console.log("🚀 Testing @digital8/lighting-illusions-ts-sdk SDK...");
104
101
  const api = new ProductTypeApi();
105
102
 
106
103
  const body = {
107
- // number | The id of the productType
108
- productType: 56,
109
- } satisfies DestroyProductTypeRequest;
104
+ // GetAllProductTypeRequest (optional)
105
+ getAllProductTypeRequest: ...,
106
+ } satisfies GetAllProductTypeOperationRequest;
110
107
 
111
108
  try {
112
- const data = await api.destroyProductType(body);
109
+ const data = await api.getAllProductType(body);
113
110
  console.log(data);
114
111
  } catch (error) {
115
112
  console.error(error);
@@ -125,11 +122,11 @@ example().catch(console.error);
125
122
 
126
123
  | Name | Type | Description | Notes |
127
124
  |------------- | ------------- | ------------- | -------------|
128
- | **productType** | `number` | The id of the productType | [Defaults to `undefined`] |
125
+ | **getAllProductTypeRequest** | [GetAllProductTypeRequest](GetAllProductTypeRequest.md) | | [Optional] |
129
126
 
130
127
  ### Return type
131
128
 
132
- [**GenericResponse**](GenericResponse.md)
129
+ [**PaginatedProductTypeLiteResourceResponse**](PaginatedProductTypeLiteResourceResponse.md)
133
130
 
134
131
  ### Authorization
135
132
 
@@ -137,23 +134,23 @@ No authorization required
137
134
 
138
135
  ### HTTP request headers
139
136
 
140
- - **Content-Type**: Not defined
137
+ - **Content-Type**: `application/json`
141
138
  - **Accept**: `application/json`
142
139
 
143
140
 
144
141
  ### HTTP response details
145
142
  | Status code | Description | Response headers |
146
143
  |-------------|-------------|------------------|
147
- | **200** | \\JsonResponse | - |
144
+ | **200** | Paginated response \\JsonResponse<\\ResourcePaginator<\\ProductTypeLiteResource[]>> | - |
148
145
 
149
146
  [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
150
147
 
151
148
 
152
- ## detachAttributeProductType
149
+ ## indexProductType
153
150
 
154
- > ProductTypeResource detachAttributeProductType(productType, attribute)
151
+ > PaginatedProductTypeResourceResponse indexProductType(indexProductTypeRequest)
155
152
 
156
- Auto-generated: detachAttributeProductType
153
+ Auto-generated: indexProductType
157
154
 
158
155
  ### Example
159
156
 
@@ -162,21 +159,19 @@ import {
162
159
  Configuration,
163
160
  ProductTypeApi,
164
161
  } from '@digital8/lighting-illusions-ts-sdk';
165
- import type { DetachAttributeProductTypeRequest } from '@digital8/lighting-illusions-ts-sdk';
162
+ import type { IndexProductTypeOperationRequest } from '@digital8/lighting-illusions-ts-sdk';
166
163
 
167
164
  async function example() {
168
165
  console.log("🚀 Testing @digital8/lighting-illusions-ts-sdk SDK...");
169
166
  const api = new ProductTypeApi();
170
167
 
171
168
  const body = {
172
- // number | The id of the productType
173
- productType: 56,
174
- // number | The id of the attribute
175
- attribute: 56,
176
- } satisfies DetachAttributeProductTypeRequest;
169
+ // IndexProductTypeRequest (optional)
170
+ indexProductTypeRequest: ...,
171
+ } satisfies IndexProductTypeOperationRequest;
177
172
 
178
173
  try {
179
- const data = await api.detachAttributeProductType(body);
174
+ const data = await api.indexProductType(body);
180
175
  console.log(data);
181
176
  } catch (error) {
182
177
  console.error(error);
@@ -192,12 +187,11 @@ example().catch(console.error);
192
187
 
193
188
  | Name | Type | Description | Notes |
194
189
  |------------- | ------------- | ------------- | -------------|
195
- | **productType** | `number` | The id of the productType | [Defaults to `undefined`] |
196
- | **attribute** | `number` | The id of the attribute | [Defaults to `undefined`] |
190
+ | **indexProductTypeRequest** | [IndexProductTypeRequest](IndexProductTypeRequest.md) | | [Optional] |
197
191
 
198
192
  ### Return type
199
193
 
200
- [**ProductTypeResource**](ProductTypeResource.md)
194
+ [**PaginatedProductTypeResourceResponse**](PaginatedProductTypeResourceResponse.md)
201
195
 
202
196
  ### Authorization
203
197
 
@@ -205,23 +199,23 @@ No authorization required
205
199
 
206
200
  ### HTTP request headers
207
201
 
208
- - **Content-Type**: Not defined
202
+ - **Content-Type**: `application/json`
209
203
  - **Accept**: `application/json`
210
204
 
211
205
 
212
206
  ### HTTP response details
213
207
  | Status code | Description | Response headers |
214
208
  |-------------|-------------|------------------|
215
- | **200** | Successful resource response | - |
209
+ | **200** | Paginated response \\JsonResponse<\\ResourcePaginator<\\ProductTypeResource[]>> | - |
216
210
 
217
211
  [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
218
212
 
219
213
 
220
- ## getAllProductType
214
+ ## linkAttributeProductType
221
215
 
222
- > PaginatedProductTypeLiteResourceResponse getAllProductType(getAllProductTypeRequest)
216
+ > ProductTypeResource linkAttributeProductType(productType, linkAttributeProductTypeRequest)
223
217
 
224
- Auto-generated: getAllProductType
218
+ Auto-generated: linkAttributeProductType
225
219
 
226
220
  ### Example
227
221
 
@@ -230,19 +224,21 @@ import {
230
224
  Configuration,
231
225
  ProductTypeApi,
232
226
  } from '@digital8/lighting-illusions-ts-sdk';
233
- import type { GetAllProductTypeOperationRequest } from '@digital8/lighting-illusions-ts-sdk';
227
+ import type { LinkAttributeProductTypeOperationRequest } from '@digital8/lighting-illusions-ts-sdk';
234
228
 
235
229
  async function example() {
236
230
  console.log("🚀 Testing @digital8/lighting-illusions-ts-sdk SDK...");
237
231
  const api = new ProductTypeApi();
238
232
 
239
233
  const body = {
240
- // GetAllProductTypeRequest (optional)
241
- getAllProductTypeRequest: ...,
242
- } satisfies GetAllProductTypeOperationRequest;
234
+ // number | The id of the productType
235
+ productType: 56,
236
+ // LinkAttributeProductTypeRequest (optional)
237
+ linkAttributeProductTypeRequest: ...,
238
+ } satisfies LinkAttributeProductTypeOperationRequest;
243
239
 
244
240
  try {
245
- const data = await api.getAllProductType(body);
241
+ const data = await api.linkAttributeProductType(body);
246
242
  console.log(data);
247
243
  } catch (error) {
248
244
  console.error(error);
@@ -258,11 +254,12 @@ example().catch(console.error);
258
254
 
259
255
  | Name | Type | Description | Notes |
260
256
  |------------- | ------------- | ------------- | -------------|
261
- | **getAllProductTypeRequest** | [GetAllProductTypeRequest](GetAllProductTypeRequest.md) | | [Optional] |
257
+ | **productType** | `number` | The id of the productType | [Defaults to `undefined`] |
258
+ | **linkAttributeProductTypeRequest** | [LinkAttributeProductTypeRequest](LinkAttributeProductTypeRequest.md) | | [Optional] |
262
259
 
263
260
  ### Return type
264
261
 
265
- [**PaginatedProductTypeLiteResourceResponse**](PaginatedProductTypeLiteResourceResponse.md)
262
+ [**ProductTypeResource**](ProductTypeResource.md)
266
263
 
267
264
  ### Authorization
268
265
 
@@ -277,16 +274,16 @@ No authorization required
277
274
  ### HTTP response details
278
275
  | Status code | Description | Response headers |
279
276
  |-------------|-------------|------------------|
280
- | **200** | Paginated response \\JsonResponse<\\ResourcePaginator<\\ProductTypeLiteResource[]>> | - |
277
+ | **200** | Successful resource response | - |
281
278
 
282
279
  [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
283
280
 
284
281
 
285
- ## indexProductType
282
+ ## showProductType
286
283
 
287
- > PaginatedProductTypeListResourceResponse indexProductType(indexProductTypeRequest)
284
+ > ProductTypeResource showProductType(productType)
288
285
 
289
- Auto-generated: indexProductType
286
+ Auto-generated: showProductType
290
287
 
291
288
  ### Example
292
289
 
@@ -295,19 +292,19 @@ import {
295
292
  Configuration,
296
293
  ProductTypeApi,
297
294
  } from '@digital8/lighting-illusions-ts-sdk';
298
- import type { IndexProductTypeOperationRequest } from '@digital8/lighting-illusions-ts-sdk';
295
+ import type { ShowProductTypeRequest } from '@digital8/lighting-illusions-ts-sdk';
299
296
 
300
297
  async function example() {
301
298
  console.log("🚀 Testing @digital8/lighting-illusions-ts-sdk SDK...");
302
299
  const api = new ProductTypeApi();
303
300
 
304
301
  const body = {
305
- // IndexProductTypeRequest (optional)
306
- indexProductTypeRequest: ...,
307
- } satisfies IndexProductTypeOperationRequest;
302
+ // number | The id of the productType
303
+ productType: 56,
304
+ } satisfies ShowProductTypeRequest;
308
305
 
309
306
  try {
310
- const data = await api.indexProductType(body);
307
+ const data = await api.showProductType(body);
311
308
  console.log(data);
312
309
  } catch (error) {
313
310
  console.error(error);
@@ -323,11 +320,11 @@ example().catch(console.error);
323
320
 
324
321
  | Name | Type | Description | Notes |
325
322
  |------------- | ------------- | ------------- | -------------|
326
- | **indexProductTypeRequest** | [IndexProductTypeRequest](IndexProductTypeRequest.md) | | [Optional] |
323
+ | **productType** | `number` | The id of the productType | [Defaults to `undefined`] |
327
324
 
328
325
  ### Return type
329
326
 
330
- [**PaginatedProductTypeListResourceResponse**](PaginatedProductTypeListResourceResponse.md)
327
+ [**ProductTypeResource**](ProductTypeResource.md)
331
328
 
332
329
  ### Authorization
333
330
 
@@ -335,23 +332,23 @@ No authorization required
335
332
 
336
333
  ### HTTP request headers
337
334
 
338
- - **Content-Type**: `application/json`
335
+ - **Content-Type**: Not defined
339
336
  - **Accept**: `application/json`
340
337
 
341
338
 
342
339
  ### HTTP response details
343
340
  | Status code | Description | Response headers |
344
341
  |-------------|-------------|------------------|
345
- | **200** | Paginated response \\JsonResponse<\\ResourcePaginator<\\ProductTypeListResource[]>> | - |
342
+ | **200** | Successful resource response | - |
346
343
 
347
344
  [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
348
345
 
349
346
 
350
- ## showProductType
347
+ ## storeProductType
351
348
 
352
- > ProductTypeResource showProductType(productType)
349
+ > ProductTypeResource storeProductType(storeProductTypeRequest)
353
350
 
354
- Auto-generated: showProductType
351
+ Auto-generated: storeProductType
355
352
 
356
353
  ### Example
357
354
 
@@ -360,19 +357,19 @@ import {
360
357
  Configuration,
361
358
  ProductTypeApi,
362
359
  } from '@digital8/lighting-illusions-ts-sdk';
363
- import type { ShowProductTypeRequest } from '@digital8/lighting-illusions-ts-sdk';
360
+ import type { StoreProductTypeOperationRequest } from '@digital8/lighting-illusions-ts-sdk';
364
361
 
365
362
  async function example() {
366
363
  console.log("🚀 Testing @digital8/lighting-illusions-ts-sdk SDK...");
367
364
  const api = new ProductTypeApi();
368
365
 
369
366
  const body = {
370
- // number | The id of the productType
371
- productType: 56,
372
- } satisfies ShowProductTypeRequest;
367
+ // StoreProductTypeRequest (optional)
368
+ storeProductTypeRequest: ...,
369
+ } satisfies StoreProductTypeOperationRequest;
373
370
 
374
371
  try {
375
- const data = await api.showProductType(body);
372
+ const data = await api.storeProductType(body);
376
373
  console.log(data);
377
374
  } catch (error) {
378
375
  console.error(error);
@@ -388,7 +385,7 @@ example().catch(console.error);
388
385
 
389
386
  | Name | Type | Description | Notes |
390
387
  |------------- | ------------- | ------------- | -------------|
391
- | **productType** | `number` | The id of the productType | [Defaults to `undefined`] |
388
+ | **storeProductTypeRequest** | [StoreProductTypeRequest](StoreProductTypeRequest.md) | | [Optional] |
392
389
 
393
390
  ### Return type
394
391
 
@@ -400,7 +397,7 @@ No authorization required
400
397
 
401
398
  ### HTTP request headers
402
399
 
403
- - **Content-Type**: Not defined
400
+ - **Content-Type**: `application/json`
404
401
  - **Accept**: `application/json`
405
402
 
406
403
 
@@ -412,11 +409,11 @@ No authorization required
412
409
  [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
413
410
 
414
411
 
415
- ## storeProductType
412
+ ## unlinkAttributeProductType
416
413
 
417
- > ProductTypeResource storeProductType(storeProductTypeRequest)
414
+ > ProductTypeResource unlinkAttributeProductType(productType, attribute)
418
415
 
419
- Auto-generated: storeProductType
416
+ Auto-generated: unlinkAttributeProductType
420
417
 
421
418
  ### Example
422
419
 
@@ -425,19 +422,21 @@ import {
425
422
  Configuration,
426
423
  ProductTypeApi,
427
424
  } from '@digital8/lighting-illusions-ts-sdk';
428
- import type { StoreProductTypeOperationRequest } from '@digital8/lighting-illusions-ts-sdk';
425
+ import type { UnlinkAttributeProductTypeRequest } from '@digital8/lighting-illusions-ts-sdk';
429
426
 
430
427
  async function example() {
431
428
  console.log("🚀 Testing @digital8/lighting-illusions-ts-sdk SDK...");
432
429
  const api = new ProductTypeApi();
433
430
 
434
431
  const body = {
435
- // StoreProductTypeRequest (optional)
436
- storeProductTypeRequest: ...,
437
- } satisfies StoreProductTypeOperationRequest;
432
+ // number | The id of the productType
433
+ productType: 56,
434
+ // number | The id of the attribute
435
+ attribute: 56,
436
+ } satisfies UnlinkAttributeProductTypeRequest;
438
437
 
439
438
  try {
440
- const data = await api.storeProductType(body);
439
+ const data = await api.unlinkAttributeProductType(body);
441
440
  console.log(data);
442
441
  } catch (error) {
443
442
  console.error(error);
@@ -453,7 +452,8 @@ example().catch(console.error);
453
452
 
454
453
  | Name | Type | Description | Notes |
455
454
  |------------- | ------------- | ------------- | -------------|
456
- | **storeProductTypeRequest** | [StoreProductTypeRequest](StoreProductTypeRequest.md) | | [Optional] |
455
+ | **productType** | `number` | The id of the productType | [Defaults to `undefined`] |
456
+ | **attribute** | `number` | The id of the attribute | [Defaults to `undefined`] |
457
457
 
458
458
  ### Return type
459
459
 
@@ -465,7 +465,7 @@ No authorization required
465
465
 
466
466
  ### HTTP request headers
467
467
 
468
- - **Content-Type**: `application/json`
468
+ - **Content-Type**: Not defined
469
469
  - **Accept**: `application/json`
470
470
 
471
471
 
@@ -477,11 +477,11 @@ No authorization required
477
477
  [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
478
478
 
479
479
 
480
- ## updateAttachedAttributeProductType
480
+ ## updateLinkedAttributeProductType
481
481
 
482
- > ProductTypeResource updateAttachedAttributeProductType(productType, attachAttributeProductTypeRequest)
482
+ > ProductTypeResource updateLinkedAttributeProductType(productType, linkAttributeProductTypeRequest)
483
483
 
484
- Auto-generated: updateAttachedAttributeProductType
484
+ Auto-generated: updateLinkedAttributeProductType
485
485
 
486
486
  ### Example
487
487
 
@@ -490,7 +490,7 @@ import {
490
490
  Configuration,
491
491
  ProductTypeApi,
492
492
  } from '@digital8/lighting-illusions-ts-sdk';
493
- import type { UpdateAttachedAttributeProductTypeRequest } from '@digital8/lighting-illusions-ts-sdk';
493
+ import type { UpdateLinkedAttributeProductTypeRequest } from '@digital8/lighting-illusions-ts-sdk';
494
494
 
495
495
  async function example() {
496
496
  console.log("🚀 Testing @digital8/lighting-illusions-ts-sdk SDK...");
@@ -499,12 +499,12 @@ async function example() {
499
499
  const body = {
500
500
  // number | The id of the productType
501
501
  productType: 56,
502
- // AttachAttributeProductTypeRequest (optional)
503
- attachAttributeProductTypeRequest: ...,
504
- } satisfies UpdateAttachedAttributeProductTypeRequest;
502
+ // LinkAttributeProductTypeRequest (optional)
503
+ linkAttributeProductTypeRequest: ...,
504
+ } satisfies UpdateLinkedAttributeProductTypeRequest;
505
505
 
506
506
  try {
507
- const data = await api.updateAttachedAttributeProductType(body);
507
+ const data = await api.updateLinkedAttributeProductType(body);
508
508
  console.log(data);
509
509
  } catch (error) {
510
510
  console.error(error);
@@ -521,7 +521,7 @@ example().catch(console.error);
521
521
  | Name | Type | Description | Notes |
522
522
  |------------- | ------------- | ------------- | -------------|
523
523
  | **productType** | `number` | The id of the productType | [Defaults to `undefined`] |
524
- | **attachAttributeProductTypeRequest** | [AttachAttributeProductTypeRequest](AttachAttributeProductTypeRequest.md) | | [Optional] |
524
+ | **linkAttributeProductTypeRequest** | [LinkAttributeProductTypeRequest](LinkAttributeProductTypeRequest.md) | | [Optional] |
525
525
 
526
526
  ### Return type
527
527
 
package/docs/SiteApi.md CHANGED
@@ -147,7 +147,7 @@ No authorization required
147
147
 
148
148
  ## indexSite
149
149
 
150
- > PaginatedSiteListResourceResponse indexSite(indexSiteRequest)
150
+ > PaginatedSiteResourceResponse indexSite(indexSiteRequest)
151
151
 
152
152
  Auto-generated: indexSite
153
153
 
@@ -190,7 +190,7 @@ example().catch(console.error);
190
190
 
191
191
  ### Return type
192
192
 
193
- [**PaginatedSiteListResourceResponse**](PaginatedSiteListResourceResponse.md)
193
+ [**PaginatedSiteResourceResponse**](PaginatedSiteResourceResponse.md)
194
194
 
195
195
  ### Authorization
196
196
 
@@ -205,14 +205,14 @@ No authorization required
205
205
  ### HTTP response details
206
206
  | Status code | Description | Response headers |
207
207
  |-------------|-------------|------------------|
208
- | **200** | Paginated response \\JsonResponse<\\ResourcePaginator<\\SiteListResource[]>> | - |
208
+ | **200** | Paginated response \\JsonResponse<\\ResourcePaginator<\\SiteResource[]>> | - |
209
209
 
210
210
  [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
211
211
 
212
212
 
213
213
  ## indexSiteNotification
214
214
 
215
- > PaginatedSiteNotificationListResourceResponse indexSiteNotification(indexSiteNotificationRequest)
215
+ > PaginatedSiteNotificationResourceResponse indexSiteNotification(indexSiteNotificationRequest)
216
216
 
217
217
  Auto-generated: indexSiteNotification
218
218
 
@@ -255,7 +255,7 @@ example().catch(console.error);
255
255
 
256
256
  ### Return type
257
257
 
258
- [**PaginatedSiteNotificationListResourceResponse**](PaginatedSiteNotificationListResourceResponse.md)
258
+ [**PaginatedSiteNotificationResourceResponse**](PaginatedSiteNotificationResourceResponse.md)
259
259
 
260
260
  ### Authorization
261
261
 
@@ -270,7 +270,7 @@ No authorization required
270
270
  ### HTTP response details
271
271
  | Status code | Description | Response headers |
272
272
  |-------------|-------------|------------------|
273
- | **200** | Paginated response \\JsonResponse<\\ResourcePaginator<\\SiteNotificationListResource[]>> | - |
273
+ | **200** | Paginated response \\JsonResponse<\\ResourcePaginator<\\SiteNotificationResource[]>> | - |
274
274
 
275
275
  [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
276
276
 
@@ -277,7 +277,7 @@ No authorization required
277
277
 
278
278
  ## indexSupplier
279
279
 
280
- > PaginatedSupplierListResourceResponse indexSupplier(indexSupplierRequest)
280
+ > PaginatedSupplierResourceResponse indexSupplier(indexSupplierRequest)
281
281
 
282
282
  Auto-generated: indexSupplier
283
283
 
@@ -320,7 +320,7 @@ example().catch(console.error);
320
320
 
321
321
  ### Return type
322
322
 
323
- [**PaginatedSupplierListResourceResponse**](PaginatedSupplierListResourceResponse.md)
323
+ [**PaginatedSupplierResourceResponse**](PaginatedSupplierResourceResponse.md)
324
324
 
325
325
  ### Authorization
326
326
 
@@ -335,7 +335,7 @@ No authorization required
335
335
  ### HTTP response details
336
336
  | Status code | Description | Response headers |
337
337
  |-------------|-------------|------------------|
338
- | **200** | Paginated response \\JsonResponse<\\ResourcePaginator<\\SupplierListResource[]>> | - |
338
+ | **200** | Paginated response \\JsonResponse<\\ResourcePaginator<\\SupplierResource[]>> | - |
339
339
 
340
340
  [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
341
341