@digital8/lighting-illusions-ts-sdk 0.0.1361 → 0.0.1362

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 (230) hide show
  1. package/.openapi-generator/FILES +72 -20
  2. package/README.md +54 -17
  3. package/dist/apis/AttributeApi.d.ts +16 -1
  4. package/dist/apis/AttributeApi.js +58 -0
  5. package/dist/apis/ProductRangeApi.d.ts +269 -0
  6. package/dist/apis/ProductRangeApi.js +1043 -0
  7. package/dist/apis/index.d.ts +1 -1
  8. package/dist/apis/index.js +1 -1
  9. package/dist/models/AttachAccessoriesProductRangeRequest.d.ts +32 -0
  10. package/dist/models/AttachAccessoriesProductRangeRequest.js +51 -0
  11. package/dist/models/AttachAttributesProductRangeRequest.d.ts +33 -0
  12. package/dist/models/AttachAttributesProductRangeRequest.js +52 -0
  13. package/dist/models/AttachAttributesProductRangeRequestAttributesInner.d.ts +38 -0
  14. package/dist/models/AttachAttributesProductRangeRequestAttributesInner.js +53 -0
  15. package/dist/models/AttachDocumentablesDocumentRequestDocumentablesInner.d.ts +2 -1
  16. package/dist/models/AttachDocumentablesDocumentRequestDocumentablesInner.js +2 -1
  17. package/dist/models/AttachDocumentsProductRangeRequest.d.ts +33 -0
  18. package/dist/models/AttachDocumentsProductRangeRequest.js +52 -0
  19. package/dist/models/DetachAccessoriesProductRangeRequest.d.ts +32 -0
  20. package/dist/models/DetachAccessoriesProductRangeRequest.js +51 -0
  21. package/dist/models/DetachAttributesProductRangeRequest.d.ts +32 -0
  22. package/dist/models/DetachAttributesProductRangeRequest.js +51 -0
  23. package/dist/models/DetachDocumentablesDocumentRequestDocumentablesInner.d.ts +2 -1
  24. package/dist/models/DetachDocumentablesDocumentRequestDocumentablesInner.js +2 -1
  25. package/dist/models/DetachDocumentsProductRangeRequest.d.ts +32 -0
  26. package/dist/models/DetachDocumentsProductRangeRequest.js +51 -0
  27. package/dist/models/GetAllDocumentRequest.d.ts +2 -1
  28. package/dist/models/GetAllDocumentRequest.js +2 -1
  29. package/dist/models/GetAllProductChildRequest.d.ts +1 -0
  30. package/dist/models/GetAllProductChildRequest.js +1 -0
  31. package/dist/models/GetAllProductRangeRequest.d.ts +98 -0
  32. package/dist/models/GetAllProductRangeRequest.js +82 -0
  33. package/dist/models/IndexAttributeRequest.d.ts +2 -0
  34. package/dist/models/IndexAttributeRequest.js +3 -1
  35. package/dist/models/IndexDocumentRequest.d.ts +2 -1
  36. package/dist/models/IndexDocumentRequest.js +2 -1
  37. package/dist/models/IndexModelAttributeRequest.d.ts +118 -0
  38. package/dist/models/IndexModelAttributeRequest.js +93 -0
  39. package/dist/models/IndexProductChildRequest.d.ts +1 -1
  40. package/dist/models/IndexProductChildRequest.js +1 -1
  41. package/dist/models/IndexProductRangeRequest.d.ts +110 -0
  42. package/dist/models/{IndexLabelRequest.js → IndexProductRangeRequest.js} +23 -22
  43. package/dist/models/LabelResource.d.ts +2 -20
  44. package/dist/models/LabelResource.js +5 -15
  45. package/dist/models/ModelAttributeListResource.d.ts +64 -0
  46. package/dist/models/ModelAttributeListResource.js +71 -0
  47. package/dist/models/ModelAttributeListResourceArrayResponse.d.ts +33 -0
  48. package/dist/models/ModelAttributeListResourceArrayResponse.js +50 -0
  49. package/dist/models/ModelAttributeResource.d.ts +6 -0
  50. package/dist/models/ModelAttributeResource.js +2 -0
  51. package/dist/models/PaginatedModelAttributeListResourceResponse.d.ts +40 -0
  52. package/dist/models/PaginatedModelAttributeListResourceResponse.js +57 -0
  53. package/dist/models/PaginatedProductRangeFrontendListResourceResponse.d.ts +40 -0
  54. package/dist/models/PaginatedProductRangeFrontendListResourceResponse.js +57 -0
  55. package/dist/models/PaginatedProductRangeListResourceResponse.d.ts +40 -0
  56. package/dist/models/PaginatedProductRangeListResourceResponse.js +57 -0
  57. package/dist/models/PaginatedProductRangeLiteResourceResponse.d.ts +40 -0
  58. package/dist/models/PaginatedProductRangeLiteResourceResponse.js +57 -0
  59. package/dist/models/PaginatedProductRangeResourceResponse.d.ts +40 -0
  60. package/dist/models/PaginatedProductRangeResourceResponse.js +57 -0
  61. package/dist/models/ProductRangeFrontendListResource.d.ts +62 -0
  62. package/dist/models/ProductRangeFrontendListResource.js +71 -0
  63. package/dist/models/ProductRangeFrontendListResourceArrayResponse.d.ts +33 -0
  64. package/dist/models/ProductRangeFrontendListResourceArrayResponse.js +50 -0
  65. package/dist/models/ProductRangeFrontendResource.d.ts +118 -0
  66. package/dist/models/ProductRangeFrontendResource.js +109 -0
  67. package/dist/models/ProductRangeFrontendResourceArrayResponse.d.ts +33 -0
  68. package/dist/models/ProductRangeFrontendResourceArrayResponse.js +50 -0
  69. package/dist/models/ProductRangeListResource.d.ts +66 -0
  70. package/dist/models/ProductRangeListResource.js +75 -0
  71. package/dist/models/ProductRangeListResourceArrayResponse.d.ts +33 -0
  72. package/dist/models/ProductRangeListResourceArrayResponse.js +50 -0
  73. package/dist/models/ProductRangeLiteResource.d.ts +38 -0
  74. package/dist/models/ProductRangeLiteResource.js +55 -0
  75. package/dist/models/ProductRangeLiteResourceArrayResponse.d.ts +33 -0
  76. package/dist/models/ProductRangeLiteResourceArrayResponse.js +50 -0
  77. package/dist/models/ProductRangeResource.d.ts +89 -0
  78. package/dist/models/ProductRangeResource.js +86 -0
  79. package/dist/models/ProductRangeResourceArrayResponse.d.ts +33 -0
  80. package/dist/models/ProductRangeResourceArrayResponse.js +50 -0
  81. package/dist/models/ProductRangeSiteDetailLiteResource.d.ts +44 -0
  82. package/dist/models/ProductRangeSiteDetailLiteResource.js +59 -0
  83. package/dist/models/ProductRangeSiteDetailLiteResourceArrayResponse.d.ts +33 -0
  84. package/dist/models/ProductRangeSiteDetailLiteResourceArrayResponse.js +50 -0
  85. package/dist/models/ProductRangeSiteDetailResource.d.ts +101 -0
  86. package/dist/models/ProductRangeSiteDetailResource.js +98 -0
  87. package/dist/models/ProductRangeSiteDetailResourceArrayResponse.d.ts +33 -0
  88. package/dist/models/ProductRangeSiteDetailResourceArrayResponse.js +50 -0
  89. package/dist/models/ProductSearchResultResource.d.ts +1 -1
  90. package/dist/models/ProductSearchResultResource.js +3 -3
  91. package/dist/models/StoreAssetForAssetableRequest.d.ts +2 -0
  92. package/dist/models/StoreAssetForAssetableRequest.js +3 -1
  93. package/dist/models/StoreProductRangeRequest.d.ts +52 -0
  94. package/dist/models/StoreProductRangeRequest.js +59 -0
  95. package/dist/models/StoreProductRangeRequestSitesInner.d.ts +92 -0
  96. package/dist/models/StoreProductRangeRequestSitesInner.js +75 -0
  97. package/dist/models/UpdateProductRangeRequest.d.ts +59 -0
  98. package/dist/models/UpdateProductRangeRequest.js +62 -0
  99. package/dist/models/UpdateProductRangeRequestAttributesInner.d.ts +38 -0
  100. package/dist/models/UpdateProductRangeRequestAttributesInner.js +51 -0
  101. package/dist/models/UpdateProductTypeRequest.d.ts +9 -9
  102. package/dist/models/UpdateProductTypeRequest.js +9 -9
  103. package/dist/models/index.d.ts +35 -9
  104. package/dist/models/index.js +35 -9
  105. package/docs/AttachAccessoriesProductRangeRequest.md +34 -0
  106. package/docs/AttachAttributesProductRangeRequest.md +34 -0
  107. package/docs/AttachAttributesProductRangeRequestAttributesInner.md +36 -0
  108. package/docs/AttachDocumentsProductRangeRequest.md +34 -0
  109. package/docs/AttributeApi.md +66 -0
  110. package/docs/DetachAccessoriesProductRangeRequest.md +34 -0
  111. package/docs/{LabelListResourceArrayResponse.md → DetachAttributesProductRangeRequest.md} +6 -6
  112. package/docs/DetachDocumentsProductRangeRequest.md +34 -0
  113. package/docs/GetAllProductRangeRequest.md +50 -0
  114. package/docs/{IndexLabelRequest.md → IndexModelAttributeRequest.md} +10 -6
  115. package/docs/IndexProductRangeRequest.md +54 -0
  116. package/docs/LabelResource.md +4 -10
  117. package/docs/ModelAttributeListResource.md +44 -0
  118. package/docs/ModelAttributeListResourceArrayResponse.md +34 -0
  119. package/docs/ModelAttributeResource.md +2 -0
  120. package/docs/PaginatedModelAttributeListResourceResponse.md +36 -0
  121. package/docs/PaginatedProductRangeFrontendListResourceResponse.md +36 -0
  122. package/docs/PaginatedProductRangeListResourceResponse.md +36 -0
  123. package/docs/PaginatedProductRangeLiteResourceResponse.md +36 -0
  124. package/docs/{PaginatedLabelListResourceResponse.md → PaginatedProductRangeResourceResponse.md} +5 -5
  125. package/docs/ProductRangeApi.md +1097 -0
  126. package/docs/ProductRangeFrontendListResource.md +44 -0
  127. package/docs/ProductRangeFrontendListResourceArrayResponse.md +34 -0
  128. package/docs/ProductRangeFrontendResource.md +62 -0
  129. package/docs/ProductRangeFrontendResourceArrayResponse.md +34 -0
  130. package/docs/ProductRangeListResource.md +44 -0
  131. package/docs/ProductRangeListResourceArrayResponse.md +34 -0
  132. package/docs/{LabelLiteResource.md → ProductRangeLiteResource.md} +6 -12
  133. package/docs/ProductRangeLiteResourceArrayResponse.md +34 -0
  134. package/docs/ProductRangeResource.md +52 -0
  135. package/docs/{LabelLiteResourceArrayResponse.md → ProductRangeResourceArrayResponse.md} +5 -5
  136. package/docs/ProductRangeSiteDetailLiteResource.md +38 -0
  137. package/docs/ProductRangeSiteDetailLiteResourceArrayResponse.md +34 -0
  138. package/docs/ProductRangeSiteDetailResource.md +56 -0
  139. package/docs/ProductRangeSiteDetailResourceArrayResponse.md +34 -0
  140. package/docs/ProductSearchResultResource.md +2 -2
  141. package/docs/StoreProductRangeRequest.md +40 -0
  142. package/docs/StoreProductRangeRequestSitesInner.md +54 -0
  143. package/docs/UpdateProductRangeRequest.md +42 -0
  144. package/docs/{UpdateProductTypeRequestPerformanceValuesInner.md → UpdateProductRangeRequestAttributesInner.md} +4 -4
  145. package/docs/UpdateProductTypeRequest.md +4 -4
  146. package/package.json +1 -1
  147. package/src/apis/AttributeApi.ts +50 -0
  148. package/src/apis/ProductRangeApi.ts +888 -0
  149. package/src/apis/index.ts +1 -1
  150. package/src/models/AttachAccessoriesProductRangeRequest.ts +66 -0
  151. package/src/models/AttachAttributesProductRangeRequest.ts +74 -0
  152. package/src/models/AttachAttributesProductRangeRequestAttributesInner.ts +74 -0
  153. package/src/models/AttachDocumentablesDocumentRequestDocumentablesInner.ts +2 -1
  154. package/src/models/AttachDocumentsProductRangeRequest.ts +74 -0
  155. package/src/models/DetachAccessoriesProductRangeRequest.ts +66 -0
  156. package/src/models/DetachAttributesProductRangeRequest.ts +66 -0
  157. package/src/models/DetachDocumentablesDocumentRequestDocumentablesInner.ts +2 -1
  158. package/src/models/DetachDocumentsProductRangeRequest.ts +66 -0
  159. package/src/models/GetAllDocumentRequest.ts +2 -1
  160. package/src/models/GetAllProductChildRequest.ts +1 -0
  161. package/src/models/GetAllProductRangeRequest.ts +151 -0
  162. package/src/models/IndexAttributeRequest.ts +3 -1
  163. package/src/models/IndexDocumentRequest.ts +2 -1
  164. package/src/models/IndexModelAttributeRequest.ts +176 -0
  165. package/src/models/IndexProductChildRequest.ts +1 -1
  166. package/src/models/IndexProductRangeRequest.ts +167 -0
  167. package/src/models/LabelResource.ts +7 -33
  168. package/src/models/ModelAttributeListResource.ts +125 -0
  169. package/src/models/ModelAttributeListResourceArrayResponse.ts +73 -0
  170. package/src/models/ModelAttributeResource.ts +8 -0
  171. package/src/models/PaginatedModelAttributeListResourceResponse.ts +90 -0
  172. package/src/models/PaginatedProductRangeFrontendListResourceResponse.ts +90 -0
  173. package/src/models/PaginatedProductRangeListResourceResponse.ts +90 -0
  174. package/src/models/PaginatedProductRangeLiteResourceResponse.ts +90 -0
  175. package/src/models/PaginatedProductRangeResourceResponse.ts +90 -0
  176. package/src/models/ProductRangeFrontendListResource.ts +111 -0
  177. package/src/models/ProductRangeFrontendListResourceArrayResponse.ts +73 -0
  178. package/src/models/ProductRangeFrontendResource.ts +207 -0
  179. package/src/models/ProductRangeFrontendResourceArrayResponse.ts +73 -0
  180. package/src/models/ProductRangeListResource.ts +140 -0
  181. package/src/models/ProductRangeListResourceArrayResponse.ts +73 -0
  182. package/src/models/ProductRangeLiteResource.ts +75 -0
  183. package/src/models/ProductRangeLiteResourceArrayResponse.ts +73 -0
  184. package/src/models/ProductRangeResource.ts +167 -0
  185. package/src/models/ProductRangeResourceArrayResponse.ts +73 -0
  186. package/src/models/ProductRangeSiteDetailLiteResource.ts +84 -0
  187. package/src/models/ProductRangeSiteDetailLiteResourceArrayResponse.ts +73 -0
  188. package/src/models/ProductRangeSiteDetailResource.ts +187 -0
  189. package/src/models/ProductRangeSiteDetailResourceArrayResponse.ts +73 -0
  190. package/src/models/ProductSearchResultResource.ts +4 -4
  191. package/src/models/StoreAssetForAssetableRequest.ts +3 -1
  192. package/src/models/StoreProductRangeRequest.ts +105 -0
  193. package/src/models/StoreProductRangeRequestSitesInner.ts +148 -0
  194. package/src/models/UpdateProductRangeRequest.ts +120 -0
  195. package/src/models/UpdateProductRangeRequestAttributesInner.ts +73 -0
  196. package/src/models/UpdateProductTypeRequest.ts +22 -22
  197. package/src/models/index.ts +35 -9
  198. package/dist/apis/LabelApi.d.ts +0 -109
  199. package/dist/apis/LabelApi.js +0 -433
  200. package/dist/models/IndexLabelRequest.d.ts +0 -101
  201. package/dist/models/LabelListResource.d.ts +0 -81
  202. package/dist/models/LabelListResource.js +0 -78
  203. package/dist/models/LabelListResourceArrayResponse.d.ts +0 -33
  204. package/dist/models/LabelListResourceArrayResponse.js +0 -50
  205. package/dist/models/LabelLiteResource.d.ts +0 -56
  206. package/dist/models/LabelLiteResource.js +0 -65
  207. package/dist/models/LabelLiteResourceArrayResponse.d.ts +0 -33
  208. package/dist/models/LabelLiteResourceArrayResponse.js +0 -50
  209. package/dist/models/PaginatedLabelListResourceResponse.d.ts +0 -40
  210. package/dist/models/PaginatedLabelListResourceResponse.js +0 -57
  211. package/dist/models/StoreLabelRequest.d.ts +0 -74
  212. package/dist/models/StoreLabelRequest.js +0 -71
  213. package/dist/models/UpdateLabelRequest.d.ts +0 -74
  214. package/dist/models/UpdateLabelRequest.js +0 -63
  215. package/dist/models/UpdateProductTypeRequestPerformanceValuesInner.d.ts +0 -38
  216. package/dist/models/UpdateProductTypeRequestPerformanceValuesInner.js +0 -51
  217. package/docs/LabelApi.md +0 -407
  218. package/docs/LabelListResource.md +0 -50
  219. package/docs/StoreLabelRequest.md +0 -48
  220. package/docs/UpdateLabelRequest.md +0 -48
  221. package/src/apis/LabelApi.ts +0 -328
  222. package/src/models/IndexLabelRequest.ts +0 -154
  223. package/src/models/LabelListResource.ts +0 -143
  224. package/src/models/LabelListResourceArrayResponse.ts +0 -73
  225. package/src/models/LabelLiteResource.ts +0 -101
  226. package/src/models/LabelLiteResourceArrayResponse.ts +0 -73
  227. package/src/models/PaginatedLabelListResourceResponse.ts +0 -90
  228. package/src/models/StoreLabelRequest.ts +0 -125
  229. package/src/models/UpdateLabelRequest.ts +0 -121
  230. package/src/models/UpdateProductTypeRequestPerformanceValuesInner.ts +0 -73
@@ -0,0 +1,54 @@
1
+
2
+ # StoreProductRangeRequestSitesInner
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `siteId` | number
10
+ `name` | string
11
+ `slug` | string
12
+ `description` | string
13
+ `content` | string
14
+ `excerpt` | string
15
+ `popularityScore` | number
16
+ `isDisabled` | boolean
17
+ `categories` | Array<number>
18
+ `seoTitle` | string
19
+ `seoDescription` | string
20
+
21
+ ## Example
22
+
23
+ ```typescript
24
+ import type { StoreProductRangeRequestSitesInner } from '@digital8/lighting-illusions-ts-sdk'
25
+
26
+ // TODO: Update the object below with actual values
27
+ const example = {
28
+ "siteId": null,
29
+ "name": null,
30
+ "slug": null,
31
+ "description": null,
32
+ "content": null,
33
+ "excerpt": null,
34
+ "popularityScore": null,
35
+ "isDisabled": null,
36
+ "categories": null,
37
+ "seoTitle": null,
38
+ "seoDescription": null,
39
+ } satisfies StoreProductRangeRequestSitesInner
40
+
41
+ console.log(example)
42
+
43
+ // Convert the instance to a JSON string
44
+ const exampleJSON: string = JSON.stringify(example)
45
+ console.log(exampleJSON)
46
+
47
+ // Parse the JSON string back to an object
48
+ const exampleParsed = JSON.parse(exampleJSON) as StoreProductRangeRequestSitesInner
49
+ console.log(exampleParsed)
50
+ ```
51
+
52
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
53
+
54
+
@@ -0,0 +1,42 @@
1
+
2
+ # UpdateProductRangeRequest
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `name` | string
10
+ `supplierId` | number
11
+ `attributes` | [Array<UpdateProductRangeRequestAttributesInner>](UpdateProductRangeRequestAttributesInner.md)
12
+ `sites` | [Array<StoreProductRangeRequestSitesInner>](StoreProductRangeRequestSitesInner.md)
13
+ `assets` | [Array<UpdateProductChildRequestAssetsInner>](UpdateProductChildRequestAssetsInner.md)
14
+
15
+ ## Example
16
+
17
+ ```typescript
18
+ import type { UpdateProductRangeRequest } from '@digital8/lighting-illusions-ts-sdk'
19
+
20
+ // TODO: Update the object below with actual values
21
+ const example = {
22
+ "name": null,
23
+ "supplierId": null,
24
+ "attributes": null,
25
+ "sites": null,
26
+ "assets": null,
27
+ } satisfies UpdateProductRangeRequest
28
+
29
+ console.log(example)
30
+
31
+ // Convert the instance to a JSON string
32
+ const exampleJSON: string = JSON.stringify(example)
33
+ console.log(exampleJSON)
34
+
35
+ // Parse the JSON string back to an object
36
+ const exampleParsed = JSON.parse(exampleJSON) as UpdateProductRangeRequest
37
+ console.log(exampleParsed)
38
+ ```
39
+
40
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
41
+
42
+
@@ -1,5 +1,5 @@
1
1
 
2
- # UpdateProductTypeRequestPerformanceValuesInner
2
+ # UpdateProductRangeRequestAttributesInner
3
3
 
4
4
 
5
5
  ## Properties
@@ -12,13 +12,13 @@ Name | Type
12
12
  ## Example
13
13
 
14
14
  ```typescript
15
- import type { UpdateProductTypeRequestPerformanceValuesInner } from '@digital8/lighting-illusions-ts-sdk'
15
+ import type { UpdateProductRangeRequestAttributesInner } from '@digital8/lighting-illusions-ts-sdk'
16
16
 
17
17
  // TODO: Update the object below with actual values
18
18
  const example = {
19
19
  "attributeId": null,
20
20
  "order": null,
21
- } satisfies UpdateProductTypeRequestPerformanceValuesInner
21
+ } satisfies UpdateProductRangeRequestAttributesInner
22
22
 
23
23
  console.log(example)
24
24
 
@@ -27,7 +27,7 @@ const exampleJSON: string = JSON.stringify(example)
27
27
  console.log(exampleJSON)
28
28
 
29
29
  // Parse the JSON string back to an object
30
- const exampleParsed = JSON.parse(exampleJSON) as UpdateProductTypeRequestPerformanceValuesInner
30
+ const exampleParsed = JSON.parse(exampleJSON) as UpdateProductRangeRequestAttributesInner
31
31
  console.log(exampleParsed)
32
32
  ```
33
33
 
@@ -7,10 +7,10 @@
7
7
  Name | Type
8
8
  ------------ | -------------
9
9
  `name` | string
10
- `performanceValues` | [Array<UpdateProductTypeRequestPerformanceValuesInner>](UpdateProductTypeRequestPerformanceValuesInner.md)
11
- `dimensionValues` | [Array<UpdateProductTypeRequestPerformanceValuesInner>](UpdateProductTypeRequestPerformanceValuesInner.md)
12
- `specificationValues` | [Array<UpdateProductTypeRequestPerformanceValuesInner>](UpdateProductTypeRequestPerformanceValuesInner.md)
13
- `otherValues` | [Array<UpdateProductTypeRequestPerformanceValuesInner>](UpdateProductTypeRequestPerformanceValuesInner.md)
10
+ `performanceValues` | [Array<UpdateProductRangeRequestAttributesInner>](UpdateProductRangeRequestAttributesInner.md)
11
+ `dimensionValues` | [Array<UpdateProductRangeRequestAttributesInner>](UpdateProductRangeRequestAttributesInner.md)
12
+ `specificationValues` | [Array<UpdateProductRangeRequestAttributesInner>](UpdateProductRangeRequestAttributesInner.md)
13
+ `otherValues` | [Array<UpdateProductRangeRequestAttributesInner>](UpdateProductRangeRequestAttributesInner.md)
14
14
 
15
15
  ## Example
16
16
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@digital8/lighting-illusions-ts-sdk",
3
- "version": "0.0.1361",
3
+ "version": "0.0.1362",
4
4
  "description": "OpenAPI client for @digital8/lighting-illusions-ts-sdk",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -26,9 +26,11 @@ import type {
26
26
  GetAllAttributeValueRequest,
27
27
  IndexAttributeRequest,
28
28
  IndexAttributeValueRequest,
29
+ IndexModelAttributeRequest,
29
30
  ModelAttributeResourceArrayResponse,
30
31
  PaginatedAttributeListResourceResponse,
31
32
  PaginatedAttributeValueResourceResponse,
33
+ PaginatedModelAttributeListResourceResponse,
32
34
  StoreAttributeRequest,
33
35
  StoreAttributeValueRequest,
34
36
  UpdateAttributeRequest,
@@ -59,12 +61,16 @@ import {
59
61
  IndexAttributeRequestToJSON,
60
62
  IndexAttributeValueRequestFromJSON,
61
63
  IndexAttributeValueRequestToJSON,
64
+ IndexModelAttributeRequestFromJSON,
65
+ IndexModelAttributeRequestToJSON,
62
66
  ModelAttributeResourceArrayResponseFromJSON,
63
67
  ModelAttributeResourceArrayResponseToJSON,
64
68
  PaginatedAttributeListResourceResponseFromJSON,
65
69
  PaginatedAttributeListResourceResponseToJSON,
66
70
  PaginatedAttributeValueResourceResponseFromJSON,
67
71
  PaginatedAttributeValueResourceResponseToJSON,
72
+ PaginatedModelAttributeListResourceResponseFromJSON,
73
+ PaginatedModelAttributeListResourceResponseToJSON,
68
74
  StoreAttributeRequestFromJSON,
69
75
  StoreAttributeRequestToJSON,
70
76
  StoreAttributeValueRequestFromJSON,
@@ -114,6 +120,10 @@ export interface IndexAttributeValueOperationRequest {
114
120
  indexAttributeValueRequest?: IndexAttributeValueRequest;
115
121
  }
116
122
 
123
+ export interface IndexModelAttributeOperationRequest {
124
+ indexModelAttributeRequest?: IndexModelAttributeRequest;
125
+ }
126
+
117
127
  export interface ShowAttributeRequest {
118
128
  attribute: number;
119
129
  }
@@ -509,6 +519,46 @@ export class AttributeApi extends runtime.BaseAPI {
509
519
  return await response.value();
510
520
  }
511
521
 
522
+ /**
523
+ * Creates request options for indexModelAttribute without sending the request
524
+ */
525
+ async indexModelAttributeRequestOpts(requestParameters: IndexModelAttributeOperationRequest): Promise<runtime.RequestOpts> {
526
+ const queryParameters: any = {};
527
+
528
+ const headerParameters: runtime.HTTPHeaders = {};
529
+
530
+ headerParameters['Content-Type'] = 'application/json';
531
+
532
+
533
+ let urlPath = `/admin-api/attribute/model-attribute/list`;
534
+
535
+ return {
536
+ path: urlPath,
537
+ method: 'POST',
538
+ headers: headerParameters,
539
+ query: queryParameters,
540
+ body: IndexModelAttributeRequestToJSON(requestParameters['indexModelAttributeRequest']),
541
+ };
542
+ }
543
+
544
+ /**
545
+ * Auto-generated: indexModelAttribute
546
+ */
547
+ async indexModelAttributeRaw(requestParameters: IndexModelAttributeOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PaginatedModelAttributeListResourceResponse>> {
548
+ const requestOptions = await this.indexModelAttributeRequestOpts(requestParameters);
549
+ const response = await this.request(requestOptions, initOverrides);
550
+
551
+ return new runtime.JSONApiResponse(response, (jsonValue) => PaginatedModelAttributeListResourceResponseFromJSON(jsonValue));
552
+ }
553
+
554
+ /**
555
+ * Auto-generated: indexModelAttribute
556
+ */
557
+ async indexModelAttribute(requestParameters: IndexModelAttributeOperationRequest = {}, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PaginatedModelAttributeListResourceResponse> {
558
+ const response = await this.indexModelAttributeRaw(requestParameters, initOverrides);
559
+ return await response.value();
560
+ }
561
+
512
562
  /**
513
563
  * Creates request options for showAttribute without sending the request
514
564
  */