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

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 (292) hide show
  1. package/.openapi-generator/FILES +72 -58
  2. package/README.md +54 -42
  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/SupplierApi.d.ts +1 -33
  8. package/dist/apis/SupplierApi.js +0 -122
  9. package/dist/apis/index.d.ts +1 -1
  10. package/dist/apis/index.js +1 -1
  11. package/dist/models/AttachAccessoriesProductRangeRequest.d.ts +32 -0
  12. package/dist/models/AttachAccessoriesProductRangeRequest.js +51 -0
  13. package/dist/models/AttachAttributesProductRangeRequest.d.ts +33 -0
  14. package/dist/models/AttachAttributesProductRangeRequest.js +52 -0
  15. package/dist/models/AttachAttributesProductRangeRequestAttributesInner.d.ts +38 -0
  16. package/dist/models/AttachAttributesProductRangeRequestAttributesInner.js +53 -0
  17. package/dist/models/AttachDocumentablesDocumentRequestDocumentablesInner.d.ts +1 -0
  18. package/dist/models/AttachDocumentablesDocumentRequestDocumentablesInner.js +1 -0
  19. package/dist/models/AttachDocumentsProductRangeRequest.d.ts +33 -0
  20. package/dist/models/AttachDocumentsProductRangeRequest.js +52 -0
  21. package/dist/models/DetachAccessoriesProductRangeRequest.d.ts +32 -0
  22. package/dist/models/DetachAccessoriesProductRangeRequest.js +51 -0
  23. package/dist/models/DetachAttributesProductRangeRequest.d.ts +32 -0
  24. package/dist/models/DetachAttributesProductRangeRequest.js +51 -0
  25. package/dist/models/DetachDocumentablesDocumentRequestDocumentablesInner.d.ts +1 -0
  26. package/dist/models/DetachDocumentablesDocumentRequestDocumentablesInner.js +1 -0
  27. package/dist/models/DetachDocumentsProductRangeRequest.d.ts +32 -0
  28. package/dist/models/DetachDocumentsProductRangeRequest.js +51 -0
  29. package/dist/models/GetAllDocumentRequest.d.ts +1 -0
  30. package/dist/models/GetAllDocumentRequest.js +1 -0
  31. package/dist/models/GetAllProductChildRequest.d.ts +1 -0
  32. package/dist/models/GetAllProductChildRequest.js +1 -0
  33. package/dist/models/GetAllProductRangeRequest.d.ts +98 -0
  34. package/dist/models/GetAllProductRangeRequest.js +82 -0
  35. package/dist/models/IndexAttributeRequest.d.ts +2 -0
  36. package/dist/models/IndexAttributeRequest.js +3 -1
  37. package/dist/models/IndexDocumentRequest.d.ts +1 -0
  38. package/dist/models/IndexDocumentRequest.js +1 -0
  39. package/dist/models/IndexModelAttributeRequest.d.ts +118 -0
  40. package/dist/models/IndexModelAttributeRequest.js +93 -0
  41. package/dist/models/IndexProductChildRequest.d.ts +1 -0
  42. package/dist/models/IndexProductChildRequest.js +1 -0
  43. package/dist/models/IndexProductRangeRequest.d.ts +110 -0
  44. package/dist/models/{IndexStoreRequest.js → IndexProductRangeRequest.js} +22 -21
  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/StoreAssetForAssetableRequest.d.ts +3 -0
  90. package/dist/models/StoreAssetForAssetableRequest.js +4 -1
  91. package/dist/models/StoreProductRangeRequest.d.ts +52 -0
  92. package/dist/models/StoreProductRangeRequest.js +59 -0
  93. package/dist/models/StoreProductRangeRequestSitesInner.d.ts +92 -0
  94. package/dist/models/StoreProductRangeRequestSitesInner.js +75 -0
  95. package/dist/models/UpdateProductRangeRequest.d.ts +59 -0
  96. package/dist/models/UpdateProductRangeRequest.js +62 -0
  97. package/dist/models/UpdateProductRangeRequestAttributesInner.d.ts +38 -0
  98. package/dist/models/UpdateProductRangeRequestAttributesInner.js +51 -0
  99. package/dist/models/UpdateProductTypeRequest.d.ts +9 -9
  100. package/dist/models/UpdateProductTypeRequest.js +9 -9
  101. package/dist/models/index.d.ts +35 -28
  102. package/dist/models/index.js +35 -28
  103. package/docs/{AddressFrontendResourceArrayResponse.md → AttachAccessoriesProductRangeRequest.md} +6 -6
  104. package/docs/AttachAttributesProductRangeRequest.md +34 -0
  105. package/docs/AttachAttributesProductRangeRequestAttributesInner.md +36 -0
  106. package/docs/{StoreStoreRequestSpecialDatesInner.md → AttachDocumentsProductRangeRequest.md} +6 -12
  107. package/docs/AttributeApi.md +66 -0
  108. package/docs/{AttachSuppliersStoreRequest.md → DetachAccessoriesProductRangeRequest.md} +6 -6
  109. package/docs/{AttachStoresSupplierRequest.md → DetachAttributesProductRangeRequest.md} +6 -6
  110. package/docs/{StoreFrontendResourceArrayResponse.md → DetachDocumentsProductRangeRequest.md} +6 -6
  111. package/docs/{GetAllStoreRequest.md → GetAllProductRangeRequest.md} +10 -8
  112. package/docs/{IndexStoreRequest.md → IndexModelAttributeRequest.md} +10 -8
  113. package/docs/IndexProductRangeRequest.md +54 -0
  114. package/docs/ModelAttributeListResource.md +44 -0
  115. package/docs/ModelAttributeListResourceArrayResponse.md +34 -0
  116. package/docs/ModelAttributeResource.md +2 -0
  117. package/docs/PaginatedModelAttributeListResourceResponse.md +36 -0
  118. package/docs/PaginatedProductRangeFrontendListResourceResponse.md +36 -0
  119. package/docs/PaginatedProductRangeListResourceResponse.md +36 -0
  120. package/docs/PaginatedProductRangeLiteResourceResponse.md +36 -0
  121. package/docs/{PaginatedStoreListResourceResponse.md → PaginatedProductRangeResourceResponse.md} +5 -5
  122. package/docs/ProductRangeApi.md +1097 -0
  123. package/docs/{StoreSpecialDateFrontendResource.md → ProductRangeFrontendListResource.md} +12 -10
  124. package/docs/{StoreSpecialDateFrontendResourceArrayResponse.md → ProductRangeFrontendListResourceArrayResponse.md} +5 -5
  125. package/docs/ProductRangeFrontendResource.md +62 -0
  126. package/docs/ProductRangeFrontendResourceArrayResponse.md +34 -0
  127. package/docs/ProductRangeListResource.md +44 -0
  128. package/docs/{StoreListResourceArrayResponse.md → ProductRangeListResourceArrayResponse.md} +5 -5
  129. package/docs/{StoreLiteResource.md → ProductRangeLiteResource.md} +4 -6
  130. package/docs/{StoreSpecialDateResourceArrayResponse.md → ProductRangeLiteResourceArrayResponse.md} +5 -5
  131. package/docs/ProductRangeResource.md +52 -0
  132. package/docs/{AddressResourceArrayResponse.md → ProductRangeResourceArrayResponse.md} +5 -5
  133. package/docs/ProductRangeSiteDetailLiteResource.md +38 -0
  134. package/docs/ProductRangeSiteDetailLiteResourceArrayResponse.md +34 -0
  135. package/docs/ProductRangeSiteDetailResource.md +56 -0
  136. package/docs/ProductRangeSiteDetailResourceArrayResponse.md +34 -0
  137. package/docs/{StoreSpecialDateResource.md → StoreProductRangeRequest.md} +10 -12
  138. package/docs/StoreProductRangeRequestSitesInner.md +54 -0
  139. package/docs/SupplierApi.md +0 -138
  140. package/docs/UpdateProductRangeRequest.md +42 -0
  141. package/docs/{UpdateProductTypeRequestPerformanceValuesInner.md → UpdateProductRangeRequestAttributesInner.md} +4 -4
  142. package/docs/UpdateProductTypeRequest.md +4 -4
  143. package/package.json +1 -1
  144. package/src/apis/AttributeApi.ts +50 -0
  145. package/src/apis/ProductRangeApi.ts +888 -0
  146. package/src/apis/SupplierApi.ts +0 -112
  147. package/src/apis/index.ts +1 -1
  148. package/src/models/AttachAccessoriesProductRangeRequest.ts +66 -0
  149. package/src/models/AttachAttributesProductRangeRequest.ts +74 -0
  150. package/src/models/AttachAttributesProductRangeRequestAttributesInner.ts +74 -0
  151. package/src/models/AttachDocumentablesDocumentRequestDocumentablesInner.ts +1 -0
  152. package/src/models/AttachDocumentsProductRangeRequest.ts +74 -0
  153. package/src/models/DetachAccessoriesProductRangeRequest.ts +66 -0
  154. package/src/models/DetachAttributesProductRangeRequest.ts +66 -0
  155. package/src/models/DetachDocumentablesDocumentRequestDocumentablesInner.ts +1 -0
  156. package/src/models/DetachDocumentsProductRangeRequest.ts +66 -0
  157. package/src/models/GetAllDocumentRequest.ts +1 -0
  158. package/src/models/GetAllProductChildRequest.ts +1 -0
  159. package/src/models/GetAllProductRangeRequest.ts +151 -0
  160. package/src/models/IndexAttributeRequest.ts +3 -1
  161. package/src/models/IndexDocumentRequest.ts +1 -0
  162. package/src/models/IndexModelAttributeRequest.ts +176 -0
  163. package/src/models/IndexProductChildRequest.ts +1 -0
  164. package/src/models/IndexProductRangeRequest.ts +167 -0
  165. package/src/models/ModelAttributeListResource.ts +125 -0
  166. package/src/models/ModelAttributeListResourceArrayResponse.ts +73 -0
  167. package/src/models/ModelAttributeResource.ts +8 -0
  168. package/src/models/PaginatedModelAttributeListResourceResponse.ts +90 -0
  169. package/src/models/PaginatedProductRangeFrontendListResourceResponse.ts +90 -0
  170. package/src/models/PaginatedProductRangeListResourceResponse.ts +90 -0
  171. package/src/models/PaginatedProductRangeLiteResourceResponse.ts +90 -0
  172. package/src/models/PaginatedProductRangeResourceResponse.ts +90 -0
  173. package/src/models/ProductRangeFrontendListResource.ts +111 -0
  174. package/src/models/ProductRangeFrontendListResourceArrayResponse.ts +73 -0
  175. package/src/models/ProductRangeFrontendResource.ts +207 -0
  176. package/src/models/ProductRangeFrontendResourceArrayResponse.ts +73 -0
  177. package/src/models/ProductRangeListResource.ts +140 -0
  178. package/src/models/ProductRangeListResourceArrayResponse.ts +73 -0
  179. package/src/models/ProductRangeLiteResource.ts +75 -0
  180. package/src/models/ProductRangeLiteResourceArrayResponse.ts +73 -0
  181. package/src/models/ProductRangeResource.ts +167 -0
  182. package/src/models/ProductRangeResourceArrayResponse.ts +73 -0
  183. package/src/models/ProductRangeSiteDetailLiteResource.ts +84 -0
  184. package/src/models/ProductRangeSiteDetailLiteResourceArrayResponse.ts +73 -0
  185. package/src/models/ProductRangeSiteDetailResource.ts +187 -0
  186. package/src/models/ProductRangeSiteDetailResourceArrayResponse.ts +73 -0
  187. package/src/models/StoreAssetForAssetableRequest.ts +4 -1
  188. package/src/models/StoreProductRangeRequest.ts +105 -0
  189. package/src/models/StoreProductRangeRequestSitesInner.ts +148 -0
  190. package/src/models/UpdateProductRangeRequest.ts +120 -0
  191. package/src/models/UpdateProductRangeRequestAttributesInner.ts +73 -0
  192. package/src/models/UpdateProductTypeRequest.ts +22 -22
  193. package/src/models/index.ts +35 -28
  194. package/dist/apis/StoreApi.d.ts +0 -173
  195. package/dist/apis/StoreApi.js +0 -679
  196. package/dist/models/AddressFrontendResource.d.ts +0 -74
  197. package/dist/models/AddressFrontendResource.js +0 -75
  198. package/dist/models/AddressFrontendResourceArrayResponse.d.ts +0 -33
  199. package/dist/models/AddressFrontendResourceArrayResponse.js +0 -50
  200. package/dist/models/AddressResource.d.ts +0 -80
  201. package/dist/models/AddressResource.js +0 -79
  202. package/dist/models/AddressResourceArrayResponse.d.ts +0 -33
  203. package/dist/models/AddressResourceArrayResponse.js +0 -50
  204. package/dist/models/AttachStoresSupplierRequest.d.ts +0 -32
  205. package/dist/models/AttachStoresSupplierRequest.js +0 -51
  206. package/dist/models/AttachSuppliersStoreRequest.d.ts +0 -32
  207. package/dist/models/AttachSuppliersStoreRequest.js +0 -51
  208. package/dist/models/DetachStoresSupplierRequest.d.ts +0 -32
  209. package/dist/models/DetachStoresSupplierRequest.js +0 -51
  210. package/dist/models/DetachSuppliersStoreRequest.d.ts +0 -32
  211. package/dist/models/DetachSuppliersStoreRequest.js +0 -51
  212. package/dist/models/GetAllStoreRequest.d.ts +0 -93
  213. package/dist/models/GetAllStoreRequest.js +0 -81
  214. package/dist/models/IndexStoreRequest.d.ts +0 -105
  215. package/dist/models/PaginatedStoreListResourceResponse.d.ts +0 -40
  216. package/dist/models/PaginatedStoreListResourceResponse.js +0 -57
  217. package/dist/models/StoreFrontendResource.d.ts +0 -98
  218. package/dist/models/StoreFrontendResource.js +0 -87
  219. package/dist/models/StoreFrontendResourceArrayResponse.d.ts +0 -33
  220. package/dist/models/StoreFrontendResourceArrayResponse.js +0 -50
  221. package/dist/models/StoreListResource.d.ts +0 -81
  222. package/dist/models/StoreListResource.js +0 -78
  223. package/dist/models/StoreListResourceArrayResponse.d.ts +0 -33
  224. package/dist/models/StoreListResourceArrayResponse.js +0 -50
  225. package/dist/models/StoreLiteResource.d.ts +0 -45
  226. package/dist/models/StoreLiteResource.js +0 -58
  227. package/dist/models/StoreLiteResourceArrayResponse.d.ts +0 -33
  228. package/dist/models/StoreLiteResourceArrayResponse.js +0 -50
  229. package/dist/models/StoreResource.d.ts +0 -100
  230. package/dist/models/StoreResource.js +0 -93
  231. package/dist/models/StoreResourceArrayResponse.d.ts +0 -33
  232. package/dist/models/StoreResourceArrayResponse.js +0 -50
  233. package/dist/models/StoreSpecialDateFrontendResource.d.ts +0 -56
  234. package/dist/models/StoreSpecialDateFrontendResource.js +0 -65
  235. package/dist/models/StoreSpecialDateFrontendResourceArrayResponse.d.ts +0 -33
  236. package/dist/models/StoreSpecialDateFrontendResourceArrayResponse.js +0 -50
  237. package/dist/models/StoreSpecialDateResource.d.ts +0 -56
  238. package/dist/models/StoreSpecialDateResource.js +0 -65
  239. package/dist/models/StoreSpecialDateResourceArrayResponse.d.ts +0 -33
  240. package/dist/models/StoreSpecialDateResourceArrayResponse.js +0 -50
  241. package/dist/models/StoreStoreRequest.d.ts +0 -177
  242. package/dist/models/StoreStoreRequest.js +0 -124
  243. package/dist/models/StoreStoreRequestSpecialDatesInner.d.ts +0 -50
  244. package/dist/models/StoreStoreRequestSpecialDatesInner.js +0 -57
  245. package/dist/models/StoreStoreSpecialDateRequest.d.ts +0 -50
  246. package/dist/models/StoreStoreSpecialDateRequest.js +0 -57
  247. package/dist/models/UpdateProductTypeRequestPerformanceValuesInner.d.ts +0 -38
  248. package/dist/models/UpdateProductTypeRequestPerformanceValuesInner.js +0 -51
  249. package/dist/models/UpdateStoreRequest.d.ts +0 -164
  250. package/dist/models/UpdateStoreRequest.js +0 -119
  251. package/docs/AddressFrontendResource.md +0 -48
  252. package/docs/AddressResource.md +0 -50
  253. package/docs/DetachStoresSupplierRequest.md +0 -34
  254. package/docs/DetachSuppliersStoreRequest.md +0 -34
  255. package/docs/StoreApi.md +0 -683
  256. package/docs/StoreFrontendResource.md +0 -56
  257. package/docs/StoreListResource.md +0 -50
  258. package/docs/StoreLiteResourceArrayResponse.md +0 -34
  259. package/docs/StoreResource.md +0 -56
  260. package/docs/StoreResourceArrayResponse.md +0 -34
  261. package/docs/StoreStoreRequest.md +0 -82
  262. package/docs/StoreStoreSpecialDateRequest.md +0 -40
  263. package/docs/UpdateStoreRequest.md +0 -78
  264. package/src/apis/StoreApi.ts +0 -563
  265. package/src/models/AddressFrontendResource.ts +0 -127
  266. package/src/models/AddressFrontendResourceArrayResponse.ts +0 -73
  267. package/src/models/AddressResource.ts +0 -136
  268. package/src/models/AddressResourceArrayResponse.ts +0 -73
  269. package/src/models/AttachStoresSupplierRequest.ts +0 -66
  270. package/src/models/AttachSuppliersStoreRequest.ts +0 -66
  271. package/src/models/DetachStoresSupplierRequest.ts +0 -66
  272. package/src/models/DetachSuppliersStoreRequest.ts +0 -66
  273. package/src/models/GetAllStoreRequest.ts +0 -144
  274. package/src/models/IndexStoreRequest.ts +0 -160
  275. package/src/models/PaginatedStoreListResourceResponse.ts +0 -90
  276. package/src/models/StoreFrontendResource.ts +0 -161
  277. package/src/models/StoreFrontendResourceArrayResponse.ts +0 -73
  278. package/src/models/StoreListResource.ts +0 -143
  279. package/src/models/StoreListResourceArrayResponse.ts +0 -73
  280. package/src/models/StoreLiteResource.ts +0 -91
  281. package/src/models/StoreLiteResourceArrayResponse.ts +0 -73
  282. package/src/models/StoreResource.ts +0 -178
  283. package/src/models/StoreResourceArrayResponse.ts +0 -73
  284. package/src/models/StoreSpecialDateFrontendResource.ts +0 -101
  285. package/src/models/StoreSpecialDateFrontendResourceArrayResponse.ts +0 -73
  286. package/src/models/StoreSpecialDateResource.ts +0 -101
  287. package/src/models/StoreSpecialDateResourceArrayResponse.ts +0 -73
  288. package/src/models/StoreStoreRequest.ts +0 -278
  289. package/src/models/StoreStoreRequestSpecialDatesInner.ts +0 -90
  290. package/src/models/StoreStoreSpecialDateRequest.ts +0 -90
  291. package/src/models/UpdateProductTypeRequestPerformanceValuesInner.ts +0 -73
  292. package/src/models/UpdateStoreRequest.ts +0 -254
@@ -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
+
@@ -4,9 +4,7 @@ All URIs are relative to *http://localhost/api*
4
4
 
5
5
  | Method | HTTP request | Description |
6
6
  |------------- | ------------- | -------------|
7
- | [**attachStoresSupplier**](SupplierApi.md#attachstoressupplieroperation) | **POST** /admin-api/supplier/{supplier}/attach-stores | Auto-generated: attachStoresSupplier |
8
7
  | [**destroySupplier**](SupplierApi.md#destroysupplier) | **DELETE** /admin-api/supplier/{supplier}/delete | Auto-generated: destroySupplier |
9
- | [**detachStoresSupplier**](SupplierApi.md#detachstoressupplieroperation) | **POST** /admin-api/supplier/{supplier}/detach-stores | Auto-generated: detachStoresSupplier |
10
8
  | [**exportSupplier**](SupplierApi.md#exportsupplier) | **POST** /admin-api/supplier/export | Auto-generated: exportSupplier |
11
9
  | [**getAllSupplier**](SupplierApi.md#getallsupplieroperation) | **POST** /admin-api/supplier/all | Auto-generated: getAllSupplier |
12
10
  | [**importSupplier**](SupplierApi.md#importsupplier) | **POST** /admin-api/supplier/import | Auto-generated: importSupplier |
@@ -17,74 +15,6 @@ All URIs are relative to *http://localhost/api*
17
15
 
18
16
 
19
17
 
20
- ## attachStoresSupplier
21
-
22
- > SupplierResource attachStoresSupplier(supplier, attachStoresSupplierRequest)
23
-
24
- Auto-generated: attachStoresSupplier
25
-
26
- ### Example
27
-
28
- ```ts
29
- import {
30
- Configuration,
31
- SupplierApi,
32
- } from '@digital8/lighting-illusions-ts-sdk';
33
- import type { AttachStoresSupplierOperationRequest } from '@digital8/lighting-illusions-ts-sdk';
34
-
35
- async function example() {
36
- console.log("🚀 Testing @digital8/lighting-illusions-ts-sdk SDK...");
37
- const api = new SupplierApi();
38
-
39
- const body = {
40
- // number | The id of the supplier
41
- supplier: 56,
42
- // AttachStoresSupplierRequest (optional)
43
- attachStoresSupplierRequest: ...,
44
- } satisfies AttachStoresSupplierOperationRequest;
45
-
46
- try {
47
- const data = await api.attachStoresSupplier(body);
48
- console.log(data);
49
- } catch (error) {
50
- console.error(error);
51
- }
52
- }
53
-
54
- // Run the test
55
- example().catch(console.error);
56
- ```
57
-
58
- ### Parameters
59
-
60
-
61
- | Name | Type | Description | Notes |
62
- |------------- | ------------- | ------------- | -------------|
63
- | **supplier** | `number` | The id of the supplier | [Defaults to `undefined`] |
64
- | **attachStoresSupplierRequest** | [AttachStoresSupplierRequest](AttachStoresSupplierRequest.md) | | [Optional] |
65
-
66
- ### Return type
67
-
68
- [**SupplierResource**](SupplierResource.md)
69
-
70
- ### Authorization
71
-
72
- No authorization required
73
-
74
- ### HTTP request headers
75
-
76
- - **Content-Type**: `application/json`
77
- - **Accept**: `application/json`
78
-
79
-
80
- ### HTTP response details
81
- | Status code | Description | Response headers |
82
- |-------------|-------------|------------------|
83
- | **200** | Successful resource response | - |
84
-
85
- [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
86
-
87
-
88
18
  ## destroySupplier
89
19
 
90
20
  > GenericResponse destroySupplier(supplier)
@@ -150,74 +80,6 @@ No authorization required
150
80
  [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
151
81
 
152
82
 
153
- ## detachStoresSupplier
154
-
155
- > SupplierResource detachStoresSupplier(supplier, detachStoresSupplierRequest)
156
-
157
- Auto-generated: detachStoresSupplier
158
-
159
- ### Example
160
-
161
- ```ts
162
- import {
163
- Configuration,
164
- SupplierApi,
165
- } from '@digital8/lighting-illusions-ts-sdk';
166
- import type { DetachStoresSupplierOperationRequest } from '@digital8/lighting-illusions-ts-sdk';
167
-
168
- async function example() {
169
- console.log("🚀 Testing @digital8/lighting-illusions-ts-sdk SDK...");
170
- const api = new SupplierApi();
171
-
172
- const body = {
173
- // number | The id of the supplier
174
- supplier: 56,
175
- // DetachStoresSupplierRequest (optional)
176
- detachStoresSupplierRequest: ...,
177
- } satisfies DetachStoresSupplierOperationRequest;
178
-
179
- try {
180
- const data = await api.detachStoresSupplier(body);
181
- console.log(data);
182
- } catch (error) {
183
- console.error(error);
184
- }
185
- }
186
-
187
- // Run the test
188
- example().catch(console.error);
189
- ```
190
-
191
- ### Parameters
192
-
193
-
194
- | Name | Type | Description | Notes |
195
- |------------- | ------------- | ------------- | -------------|
196
- | **supplier** | `number` | The id of the supplier | [Defaults to `undefined`] |
197
- | **detachStoresSupplierRequest** | [DetachStoresSupplierRequest](DetachStoresSupplierRequest.md) | | [Optional] |
198
-
199
- ### Return type
200
-
201
- [**SupplierResource**](SupplierResource.md)
202
-
203
- ### Authorization
204
-
205
- No authorization required
206
-
207
- ### HTTP request headers
208
-
209
- - **Content-Type**: `application/json`
210
- - **Accept**: `application/json`
211
-
212
-
213
- ### HTTP response details
214
- | Status code | Description | Response headers |
215
- |-------------|-------------|------------------|
216
- | **200** | Successful resource response | - |
217
-
218
- [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
219
-
220
-
221
83
  ## exportSupplier
222
84
 
223
85
  > Blob exportSupplier(indexSupplierRequest)
@@ -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.1237",
3
+ "version": "0.0.1239",
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
  */