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

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 (297) hide show
  1. package/.openapi-generator/FILES +58 -72
  2. package/README.md +42 -54
  3. package/dist/apis/AttributeApi.d.ts +1 -16
  4. package/dist/apis/AttributeApi.js +0 -58
  5. package/dist/apis/StoreApi.d.ts +173 -0
  6. package/dist/apis/StoreApi.js +679 -0
  7. package/dist/apis/SupplierApi.d.ts +33 -1
  8. package/dist/apis/SupplierApi.js +122 -0
  9. package/dist/apis/index.d.ts +1 -1
  10. package/dist/apis/index.js +1 -1
  11. package/dist/models/AddressFrontendResource.d.ts +74 -0
  12. package/dist/models/AddressFrontendResource.js +79 -0
  13. package/dist/models/AddressFrontendResourceArrayResponse.d.ts +33 -0
  14. package/dist/models/AddressFrontendResourceArrayResponse.js +50 -0
  15. package/dist/models/AddressResource.d.ts +80 -0
  16. package/dist/models/AddressResource.js +79 -0
  17. package/dist/models/AddressResourceArrayResponse.d.ts +33 -0
  18. package/dist/models/AddressResourceArrayResponse.js +50 -0
  19. package/dist/models/AttachDocumentablesDocumentRequestDocumentablesInner.d.ts +1 -2
  20. package/dist/models/AttachDocumentablesDocumentRequestDocumentablesInner.js +1 -2
  21. package/dist/models/AttachStoresSupplierRequest.d.ts +32 -0
  22. package/dist/models/AttachStoresSupplierRequest.js +51 -0
  23. package/dist/models/AttachSuppliersStoreRequest.d.ts +32 -0
  24. package/dist/models/AttachSuppliersStoreRequest.js +51 -0
  25. package/dist/models/DetachDocumentablesDocumentRequestDocumentablesInner.d.ts +1 -2
  26. package/dist/models/DetachDocumentablesDocumentRequestDocumentablesInner.js +1 -2
  27. package/dist/models/DetachStoresSupplierRequest.d.ts +32 -0
  28. package/dist/models/DetachStoresSupplierRequest.js +51 -0
  29. package/dist/models/DetachSuppliersStoreRequest.d.ts +32 -0
  30. package/dist/models/DetachSuppliersStoreRequest.js +51 -0
  31. package/dist/models/ExternalApiLogResource.d.ts +1 -1
  32. package/dist/models/ExternalApiLogResource.js +3 -1
  33. package/dist/models/GetAllDocumentRequest.d.ts +1 -2
  34. package/dist/models/GetAllDocumentRequest.js +1 -2
  35. package/dist/models/GetAllProductChildRequest.d.ts +0 -1
  36. package/dist/models/GetAllProductChildRequest.js +0 -1
  37. package/dist/models/GetAllStoreRequest.d.ts +93 -0
  38. package/dist/models/GetAllStoreRequest.js +81 -0
  39. package/dist/models/IndexAttributeRequest.d.ts +0 -2
  40. package/dist/models/IndexAttributeRequest.js +1 -3
  41. package/dist/models/IndexDocumentRequest.d.ts +1 -2
  42. package/dist/models/IndexDocumentRequest.js +1 -2
  43. package/dist/models/IndexProductChildRequest.d.ts +0 -1
  44. package/dist/models/IndexProductChildRequest.js +0 -1
  45. package/dist/models/IndexStoreRequest.d.ts +105 -0
  46. package/dist/models/{IndexProductRangeRequest.js → IndexStoreRequest.js} +21 -22
  47. package/dist/models/ModelAttributeResource.d.ts +0 -6
  48. package/dist/models/ModelAttributeResource.js +0 -2
  49. package/dist/models/PaginatedStoreListResourceResponse.d.ts +40 -0
  50. package/dist/models/PaginatedStoreListResourceResponse.js +57 -0
  51. package/dist/models/ProductSearchResultResource.d.ts +1 -1
  52. package/dist/models/ProductSearchResultResource.js +3 -3
  53. package/dist/models/StoreAssetForAssetableRequest.d.ts +0 -2
  54. package/dist/models/StoreAssetForAssetableRequest.js +1 -3
  55. package/dist/models/StoreFrontendResource.d.ts +98 -0
  56. package/dist/models/StoreFrontendResource.js +89 -0
  57. package/dist/models/StoreFrontendResourceArrayResponse.d.ts +33 -0
  58. package/dist/models/StoreFrontendResourceArrayResponse.js +50 -0
  59. package/dist/models/StoreListResource.d.ts +81 -0
  60. package/dist/models/StoreListResource.js +80 -0
  61. package/dist/models/StoreListResourceArrayResponse.d.ts +33 -0
  62. package/dist/models/StoreListResourceArrayResponse.js +50 -0
  63. package/dist/models/StoreLiteResource.d.ts +45 -0
  64. package/dist/models/StoreLiteResource.js +58 -0
  65. package/dist/models/StoreLiteResourceArrayResponse.d.ts +33 -0
  66. package/dist/models/StoreLiteResourceArrayResponse.js +50 -0
  67. package/dist/models/StoreResource.d.ts +100 -0
  68. package/dist/models/StoreResource.js +93 -0
  69. package/dist/models/StoreResourceArrayResponse.d.ts +33 -0
  70. package/dist/models/StoreResourceArrayResponse.js +50 -0
  71. package/dist/models/StoreSpecialDateFrontendResource.d.ts +56 -0
  72. package/dist/models/StoreSpecialDateFrontendResource.js +65 -0
  73. package/dist/models/StoreSpecialDateFrontendResourceArrayResponse.d.ts +33 -0
  74. package/dist/models/StoreSpecialDateFrontendResourceArrayResponse.js +50 -0
  75. package/dist/models/StoreSpecialDateResource.d.ts +56 -0
  76. package/dist/models/StoreSpecialDateResource.js +65 -0
  77. package/dist/models/StoreSpecialDateResourceArrayResponse.d.ts +33 -0
  78. package/dist/models/StoreSpecialDateResourceArrayResponse.js +50 -0
  79. package/dist/models/StoreStoreRequest.d.ts +177 -0
  80. package/dist/models/StoreStoreRequest.js +124 -0
  81. package/dist/models/StoreStoreRequestSpecialDatesInner.d.ts +50 -0
  82. package/dist/models/StoreStoreRequestSpecialDatesInner.js +57 -0
  83. package/dist/models/StoreStoreSpecialDateRequest.d.ts +50 -0
  84. package/dist/models/StoreStoreSpecialDateRequest.js +57 -0
  85. package/dist/models/UpdateProductTypeRequest.d.ts +9 -9
  86. package/dist/models/UpdateProductTypeRequest.js +9 -9
  87. package/dist/models/UpdateProductTypeRequestPerformanceValuesInner.d.ts +38 -0
  88. package/dist/models/UpdateProductTypeRequestPerformanceValuesInner.js +51 -0
  89. package/dist/models/UpdateStoreRequest.d.ts +164 -0
  90. package/dist/models/UpdateStoreRequest.js +119 -0
  91. package/dist/models/index.d.ts +28 -35
  92. package/dist/models/index.js +28 -35
  93. package/docs/{AttachAttributesProductRangeRequest.md → AddressFrontendResource.md} +20 -6
  94. package/docs/{AttachAccessoriesProductRangeRequest.md → AddressFrontendResourceArrayResponse.md} +6 -6
  95. package/docs/{AttachAttributesProductRangeRequestAttributesInner.md → AddressResource.md} +22 -8
  96. package/docs/{ProductRangeResourceArrayResponse.md → AddressResourceArrayResponse.md} +5 -5
  97. package/docs/{DetachAttributesProductRangeRequest.md → AttachStoresSupplierRequest.md} +6 -6
  98. package/docs/AttachSuppliersStoreRequest.md +34 -0
  99. package/docs/AttributeApi.md +0 -66
  100. package/docs/{DetachAccessoriesProductRangeRequest.md → DetachStoresSupplierRequest.md} +6 -6
  101. package/docs/DetachSuppliersStoreRequest.md +34 -0
  102. package/docs/{GetAllProductRangeRequest.md → GetAllStoreRequest.md} +8 -10
  103. package/docs/{IndexModelAttributeRequest.md → IndexStoreRequest.md} +8 -10
  104. package/docs/ModelAttributeResource.md +0 -2
  105. package/docs/{PaginatedProductRangeResourceResponse.md → PaginatedStoreListResourceResponse.md} +5 -5
  106. package/docs/ProductSearchResultResource.md +2 -2
  107. package/docs/StoreApi.md +683 -0
  108. package/docs/StoreFrontendResource.md +56 -0
  109. package/docs/{DetachDocumentsProductRangeRequest.md → StoreFrontendResourceArrayResponse.md} +6 -6
  110. package/docs/{StoreProductRangeRequest.md → StoreListResource.md} +20 -10
  111. package/docs/StoreListResourceArrayResponse.md +34 -0
  112. package/docs/{ProductRangeLiteResource.md → StoreLiteResource.md} +6 -4
  113. package/docs/StoreLiteResourceArrayResponse.md +34 -0
  114. package/docs/StoreResource.md +56 -0
  115. package/docs/StoreResourceArrayResponse.md +34 -0
  116. package/docs/{ProductRangeFrontendListResource.md → StoreSpecialDateFrontendResource.md} +10 -12
  117. package/docs/{ProductRangeFrontendListResourceArrayResponse.md → StoreSpecialDateFrontendResourceArrayResponse.md} +5 -5
  118. package/docs/{ProductRangeSiteDetailLiteResource.md → StoreSpecialDateResource.md} +12 -8
  119. package/docs/{ProductRangeLiteResourceArrayResponse.md → StoreSpecialDateResourceArrayResponse.md} +5 -5
  120. package/docs/StoreStoreRequest.md +82 -0
  121. package/docs/{AttachDocumentsProductRangeRequest.md → StoreStoreRequestSpecialDatesInner.md} +12 -6
  122. package/docs/StoreStoreSpecialDateRequest.md +40 -0
  123. package/docs/SupplierApi.md +138 -0
  124. package/docs/UpdateProductTypeRequest.md +4 -4
  125. package/docs/{UpdateProductRangeRequestAttributesInner.md → UpdateProductTypeRequestPerformanceValuesInner.md} +4 -4
  126. package/docs/UpdateStoreRequest.md +78 -0
  127. package/package.json +1 -1
  128. package/src/apis/AttributeApi.ts +0 -50
  129. package/src/apis/StoreApi.ts +563 -0
  130. package/src/apis/SupplierApi.ts +112 -0
  131. package/src/apis/index.ts +1 -1
  132. package/src/models/AddressFrontendResource.ts +129 -0
  133. package/src/models/AddressFrontendResourceArrayResponse.ts +73 -0
  134. package/src/models/AddressResource.ts +136 -0
  135. package/src/models/AddressResourceArrayResponse.ts +73 -0
  136. package/src/models/AttachDocumentablesDocumentRequestDocumentablesInner.ts +1 -2
  137. package/src/models/AttachStoresSupplierRequest.ts +66 -0
  138. package/src/models/AttachSuppliersStoreRequest.ts +66 -0
  139. package/src/models/DetachDocumentablesDocumentRequestDocumentablesInner.ts +1 -2
  140. package/src/models/DetachStoresSupplierRequest.ts +66 -0
  141. package/src/models/DetachSuppliersStoreRequest.ts +66 -0
  142. package/src/models/ExternalApiLogResource.ts +3 -2
  143. package/src/models/GetAllDocumentRequest.ts +1 -2
  144. package/src/models/GetAllProductChildRequest.ts +0 -1
  145. package/src/models/GetAllStoreRequest.ts +144 -0
  146. package/src/models/IndexAttributeRequest.ts +1 -3
  147. package/src/models/IndexDocumentRequest.ts +1 -2
  148. package/src/models/IndexProductChildRequest.ts +0 -1
  149. package/src/models/IndexStoreRequest.ts +160 -0
  150. package/src/models/ModelAttributeResource.ts +0 -8
  151. package/src/models/PaginatedStoreListResourceResponse.ts +90 -0
  152. package/src/models/ProductSearchResultResource.ts +4 -4
  153. package/src/models/StoreAssetForAssetableRequest.ts +1 -3
  154. package/src/models/StoreFrontendResource.ts +162 -0
  155. package/src/models/StoreFrontendResourceArrayResponse.ts +73 -0
  156. package/src/models/StoreListResource.ts +144 -0
  157. package/src/models/StoreListResourceArrayResponse.ts +73 -0
  158. package/src/models/StoreLiteResource.ts +91 -0
  159. package/src/models/StoreLiteResourceArrayResponse.ts +73 -0
  160. package/src/models/StoreResource.ts +178 -0
  161. package/src/models/StoreResourceArrayResponse.ts +73 -0
  162. package/src/models/StoreSpecialDateFrontendResource.ts +101 -0
  163. package/src/models/StoreSpecialDateFrontendResourceArrayResponse.ts +73 -0
  164. package/src/models/StoreSpecialDateResource.ts +101 -0
  165. package/src/models/StoreSpecialDateResourceArrayResponse.ts +73 -0
  166. package/src/models/StoreStoreRequest.ts +278 -0
  167. package/src/models/StoreStoreRequestSpecialDatesInner.ts +90 -0
  168. package/src/models/StoreStoreSpecialDateRequest.ts +90 -0
  169. package/src/models/UpdateProductTypeRequest.ts +22 -22
  170. package/src/models/UpdateProductTypeRequestPerformanceValuesInner.ts +73 -0
  171. package/src/models/UpdateStoreRequest.ts +254 -0
  172. package/src/models/index.ts +28 -35
  173. package/dist/apis/ProductRangeApi.d.ts +0 -269
  174. package/dist/apis/ProductRangeApi.js +0 -1043
  175. package/dist/models/AttachAccessoriesProductRangeRequest.d.ts +0 -32
  176. package/dist/models/AttachAccessoriesProductRangeRequest.js +0 -51
  177. package/dist/models/AttachAttributesProductRangeRequest.d.ts +0 -33
  178. package/dist/models/AttachAttributesProductRangeRequest.js +0 -52
  179. package/dist/models/AttachAttributesProductRangeRequestAttributesInner.d.ts +0 -38
  180. package/dist/models/AttachAttributesProductRangeRequestAttributesInner.js +0 -53
  181. package/dist/models/AttachDocumentsProductRangeRequest.d.ts +0 -33
  182. package/dist/models/AttachDocumentsProductRangeRequest.js +0 -52
  183. package/dist/models/DetachAccessoriesProductRangeRequest.d.ts +0 -32
  184. package/dist/models/DetachAccessoriesProductRangeRequest.js +0 -51
  185. package/dist/models/DetachAttributesProductRangeRequest.d.ts +0 -32
  186. package/dist/models/DetachAttributesProductRangeRequest.js +0 -51
  187. package/dist/models/DetachDocumentsProductRangeRequest.d.ts +0 -32
  188. package/dist/models/DetachDocumentsProductRangeRequest.js +0 -51
  189. package/dist/models/GetAllProductRangeRequest.d.ts +0 -98
  190. package/dist/models/GetAllProductRangeRequest.js +0 -82
  191. package/dist/models/IndexModelAttributeRequest.d.ts +0 -118
  192. package/dist/models/IndexModelAttributeRequest.js +0 -93
  193. package/dist/models/IndexProductRangeRequest.d.ts +0 -110
  194. package/dist/models/ModelAttributeListResource.d.ts +0 -64
  195. package/dist/models/ModelAttributeListResource.js +0 -71
  196. package/dist/models/ModelAttributeListResourceArrayResponse.d.ts +0 -33
  197. package/dist/models/ModelAttributeListResourceArrayResponse.js +0 -50
  198. package/dist/models/PaginatedModelAttributeListResourceResponse.d.ts +0 -40
  199. package/dist/models/PaginatedModelAttributeListResourceResponse.js +0 -57
  200. package/dist/models/PaginatedProductRangeFrontendListResourceResponse.d.ts +0 -40
  201. package/dist/models/PaginatedProductRangeFrontendListResourceResponse.js +0 -57
  202. package/dist/models/PaginatedProductRangeListResourceResponse.d.ts +0 -40
  203. package/dist/models/PaginatedProductRangeListResourceResponse.js +0 -57
  204. package/dist/models/PaginatedProductRangeLiteResourceResponse.d.ts +0 -40
  205. package/dist/models/PaginatedProductRangeLiteResourceResponse.js +0 -57
  206. package/dist/models/PaginatedProductRangeResourceResponse.d.ts +0 -40
  207. package/dist/models/PaginatedProductRangeResourceResponse.js +0 -57
  208. package/dist/models/ProductRangeFrontendListResource.d.ts +0 -62
  209. package/dist/models/ProductRangeFrontendListResource.js +0 -71
  210. package/dist/models/ProductRangeFrontendListResourceArrayResponse.d.ts +0 -33
  211. package/dist/models/ProductRangeFrontendListResourceArrayResponse.js +0 -50
  212. package/dist/models/ProductRangeFrontendResource.d.ts +0 -118
  213. package/dist/models/ProductRangeFrontendResource.js +0 -109
  214. package/dist/models/ProductRangeFrontendResourceArrayResponse.d.ts +0 -33
  215. package/dist/models/ProductRangeFrontendResourceArrayResponse.js +0 -50
  216. package/dist/models/ProductRangeListResource.d.ts +0 -66
  217. package/dist/models/ProductRangeListResource.js +0 -75
  218. package/dist/models/ProductRangeListResourceArrayResponse.d.ts +0 -33
  219. package/dist/models/ProductRangeListResourceArrayResponse.js +0 -50
  220. package/dist/models/ProductRangeLiteResource.d.ts +0 -38
  221. package/dist/models/ProductRangeLiteResource.js +0 -55
  222. package/dist/models/ProductRangeLiteResourceArrayResponse.d.ts +0 -33
  223. package/dist/models/ProductRangeLiteResourceArrayResponse.js +0 -50
  224. package/dist/models/ProductRangeResource.d.ts +0 -89
  225. package/dist/models/ProductRangeResource.js +0 -86
  226. package/dist/models/ProductRangeResourceArrayResponse.d.ts +0 -33
  227. package/dist/models/ProductRangeResourceArrayResponse.js +0 -50
  228. package/dist/models/ProductRangeSiteDetailLiteResource.d.ts +0 -44
  229. package/dist/models/ProductRangeSiteDetailLiteResource.js +0 -59
  230. package/dist/models/ProductRangeSiteDetailLiteResourceArrayResponse.d.ts +0 -33
  231. package/dist/models/ProductRangeSiteDetailLiteResourceArrayResponse.js +0 -50
  232. package/dist/models/ProductRangeSiteDetailResource.d.ts +0 -101
  233. package/dist/models/ProductRangeSiteDetailResource.js +0 -98
  234. package/dist/models/ProductRangeSiteDetailResourceArrayResponse.d.ts +0 -33
  235. package/dist/models/ProductRangeSiteDetailResourceArrayResponse.js +0 -50
  236. package/dist/models/StoreProductRangeRequest.d.ts +0 -52
  237. package/dist/models/StoreProductRangeRequest.js +0 -59
  238. package/dist/models/StoreProductRangeRequestSitesInner.d.ts +0 -92
  239. package/dist/models/StoreProductRangeRequestSitesInner.js +0 -75
  240. package/dist/models/UpdateProductRangeRequest.d.ts +0 -59
  241. package/dist/models/UpdateProductRangeRequest.js +0 -62
  242. package/dist/models/UpdateProductRangeRequestAttributesInner.d.ts +0 -38
  243. package/dist/models/UpdateProductRangeRequestAttributesInner.js +0 -51
  244. package/docs/IndexProductRangeRequest.md +0 -54
  245. package/docs/ModelAttributeListResource.md +0 -44
  246. package/docs/ModelAttributeListResourceArrayResponse.md +0 -34
  247. package/docs/PaginatedModelAttributeListResourceResponse.md +0 -36
  248. package/docs/PaginatedProductRangeFrontendListResourceResponse.md +0 -36
  249. package/docs/PaginatedProductRangeListResourceResponse.md +0 -36
  250. package/docs/PaginatedProductRangeLiteResourceResponse.md +0 -36
  251. package/docs/ProductRangeApi.md +0 -1097
  252. package/docs/ProductRangeFrontendResource.md +0 -62
  253. package/docs/ProductRangeFrontendResourceArrayResponse.md +0 -34
  254. package/docs/ProductRangeListResource.md +0 -44
  255. package/docs/ProductRangeListResourceArrayResponse.md +0 -34
  256. package/docs/ProductRangeResource.md +0 -52
  257. package/docs/ProductRangeSiteDetailLiteResourceArrayResponse.md +0 -34
  258. package/docs/ProductRangeSiteDetailResource.md +0 -56
  259. package/docs/ProductRangeSiteDetailResourceArrayResponse.md +0 -34
  260. package/docs/StoreProductRangeRequestSitesInner.md +0 -54
  261. package/docs/UpdateProductRangeRequest.md +0 -42
  262. package/src/apis/ProductRangeApi.ts +0 -888
  263. package/src/models/AttachAccessoriesProductRangeRequest.ts +0 -66
  264. package/src/models/AttachAttributesProductRangeRequest.ts +0 -74
  265. package/src/models/AttachAttributesProductRangeRequestAttributesInner.ts +0 -74
  266. package/src/models/AttachDocumentsProductRangeRequest.ts +0 -74
  267. package/src/models/DetachAccessoriesProductRangeRequest.ts +0 -66
  268. package/src/models/DetachAttributesProductRangeRequest.ts +0 -66
  269. package/src/models/DetachDocumentsProductRangeRequest.ts +0 -66
  270. package/src/models/GetAllProductRangeRequest.ts +0 -151
  271. package/src/models/IndexModelAttributeRequest.ts +0 -176
  272. package/src/models/IndexProductRangeRequest.ts +0 -167
  273. package/src/models/ModelAttributeListResource.ts +0 -125
  274. package/src/models/ModelAttributeListResourceArrayResponse.ts +0 -73
  275. package/src/models/PaginatedModelAttributeListResourceResponse.ts +0 -90
  276. package/src/models/PaginatedProductRangeFrontendListResourceResponse.ts +0 -90
  277. package/src/models/PaginatedProductRangeListResourceResponse.ts +0 -90
  278. package/src/models/PaginatedProductRangeLiteResourceResponse.ts +0 -90
  279. package/src/models/PaginatedProductRangeResourceResponse.ts +0 -90
  280. package/src/models/ProductRangeFrontendListResource.ts +0 -111
  281. package/src/models/ProductRangeFrontendListResourceArrayResponse.ts +0 -73
  282. package/src/models/ProductRangeFrontendResource.ts +0 -207
  283. package/src/models/ProductRangeFrontendResourceArrayResponse.ts +0 -73
  284. package/src/models/ProductRangeListResource.ts +0 -140
  285. package/src/models/ProductRangeListResourceArrayResponse.ts +0 -73
  286. package/src/models/ProductRangeLiteResource.ts +0 -75
  287. package/src/models/ProductRangeLiteResourceArrayResponse.ts +0 -73
  288. package/src/models/ProductRangeResource.ts +0 -167
  289. package/src/models/ProductRangeResourceArrayResponse.ts +0 -73
  290. package/src/models/ProductRangeSiteDetailLiteResource.ts +0 -84
  291. package/src/models/ProductRangeSiteDetailLiteResourceArrayResponse.ts +0 -73
  292. package/src/models/ProductRangeSiteDetailResource.ts +0 -187
  293. package/src/models/ProductRangeSiteDetailResourceArrayResponse.ts +0 -73
  294. package/src/models/StoreProductRangeRequest.ts +0 -105
  295. package/src/models/StoreProductRangeRequestSitesInner.ts +0 -148
  296. package/src/models/UpdateProductRangeRequest.ts +0 -120
  297. package/src/models/UpdateProductRangeRequestAttributesInner.ts +0 -73
@@ -4,7 +4,9 @@ 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 |
7
8
  | [**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 |
8
10
  | [**exportSupplier**](SupplierApi.md#exportsupplier) | **POST** /admin-api/supplier/export | Auto-generated: exportSupplier |
9
11
  | [**getAllSupplier**](SupplierApi.md#getallsupplieroperation) | **POST** /admin-api/supplier/all | Auto-generated: getAllSupplier |
10
12
  | [**importSupplier**](SupplierApi.md#importsupplier) | **POST** /admin-api/supplier/import | Auto-generated: importSupplier |
@@ -15,6 +17,74 @@ All URIs are relative to *http://localhost/api*
15
17
 
16
18
 
17
19
 
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
+
18
88
  ## destroySupplier
19
89
 
20
90
  > GenericResponse destroySupplier(supplier)
@@ -80,6 +150,74 @@ No authorization required
80
150
  [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
81
151
 
82
152
 
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
+
83
221
  ## exportSupplier
84
222
 
85
223
  > Blob exportSupplier(indexSupplierRequest)
@@ -7,10 +7,10 @@
7
7
  Name | Type
8
8
  ------------ | -------------
9
9
  `name` | string
10
- `performanceValues` | [Array<UpdateProductRangeRequestAttributesInner>](UpdateProductRangeRequestAttributesInner.md)
11
- `dimensionValues` | [Array<UpdateProductRangeRequestAttributesInner>](UpdateProductRangeRequestAttributesInner.md)
12
- `specificationValues` | [Array<UpdateProductRangeRequestAttributesInner>](UpdateProductRangeRequestAttributesInner.md)
13
- `otherValues` | [Array<UpdateProductRangeRequestAttributesInner>](UpdateProductRangeRequestAttributesInner.md)
10
+ `performanceValues` | [Array<UpdateProductTypeRequestPerformanceValuesInner>](UpdateProductTypeRequestPerformanceValuesInner.md)
11
+ `dimensionValues` | [Array<UpdateProductTypeRequestPerformanceValuesInner>](UpdateProductTypeRequestPerformanceValuesInner.md)
12
+ `specificationValues` | [Array<UpdateProductTypeRequestPerformanceValuesInner>](UpdateProductTypeRequestPerformanceValuesInner.md)
13
+ `otherValues` | [Array<UpdateProductTypeRequestPerformanceValuesInner>](UpdateProductTypeRequestPerformanceValuesInner.md)
14
14
 
15
15
  ## Example
16
16
 
@@ -1,5 +1,5 @@
1
1
 
2
- # UpdateProductRangeRequestAttributesInner
2
+ # UpdateProductTypeRequestPerformanceValuesInner
3
3
 
4
4
 
5
5
  ## Properties
@@ -12,13 +12,13 @@ Name | Type
12
12
  ## Example
13
13
 
14
14
  ```typescript
15
- import type { UpdateProductRangeRequestAttributesInner } from '@digital8/lighting-illusions-ts-sdk'
15
+ import type { UpdateProductTypeRequestPerformanceValuesInner } 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 UpdateProductRangeRequestAttributesInner
21
+ } satisfies UpdateProductTypeRequestPerformanceValuesInner
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 UpdateProductRangeRequestAttributesInner
30
+ const exampleParsed = JSON.parse(exampleJSON) as UpdateProductTypeRequestPerformanceValuesInner
31
31
  console.log(exampleParsed)
32
32
  ```
33
33
 
@@ -0,0 +1,78 @@
1
+
2
+ # UpdateStoreRequest
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `siteId` | number
10
+ `name` | string
11
+ `phone` | string
12
+ `longitude` | number
13
+ `latitude` | number
14
+ `tagLine` | string
15
+ `email` | string
16
+ `openingHours` | Array<string>
17
+ `openingHours0` | string
18
+ `openingHours1` | string
19
+ `openingHours2` | string
20
+ `openingHours3` | string
21
+ `openingHours4` | string
22
+ `openingHours5` | string
23
+ `openingHours6` | string
24
+ `address` | Array<string>
25
+ `addressCompany` | string
26
+ `addressLine1` | string
27
+ `addressLine2` | string
28
+ `addressPostcode` | string
29
+ `addressSuburb` | string
30
+ `addressCountry` | string
31
+ `addressState` | string
32
+
33
+ ## Example
34
+
35
+ ```typescript
36
+ import type { UpdateStoreRequest } from '@digital8/lighting-illusions-ts-sdk'
37
+
38
+ // TODO: Update the object below with actual values
39
+ const example = {
40
+ "siteId": null,
41
+ "name": null,
42
+ "phone": null,
43
+ "longitude": null,
44
+ "latitude": null,
45
+ "tagLine": null,
46
+ "email": null,
47
+ "openingHours": null,
48
+ "openingHours0": null,
49
+ "openingHours1": null,
50
+ "openingHours2": null,
51
+ "openingHours3": null,
52
+ "openingHours4": null,
53
+ "openingHours5": null,
54
+ "openingHours6": null,
55
+ "address": null,
56
+ "addressCompany": null,
57
+ "addressLine1": null,
58
+ "addressLine2": null,
59
+ "addressPostcode": null,
60
+ "addressSuburb": null,
61
+ "addressCountry": null,
62
+ "addressState": null,
63
+ } satisfies UpdateStoreRequest
64
+
65
+ console.log(example)
66
+
67
+ // Convert the instance to a JSON string
68
+ const exampleJSON: string = JSON.stringify(example)
69
+ console.log(exampleJSON)
70
+
71
+ // Parse the JSON string back to an object
72
+ const exampleParsed = JSON.parse(exampleJSON) as UpdateStoreRequest
73
+ console.log(exampleParsed)
74
+ ```
75
+
76
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
77
+
78
+
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@digital8/lighting-illusions-ts-sdk",
3
- "version": "0.0.1362",
3
+ "version": "0.0.1363",
4
4
  "description": "OpenAPI client for @digital8/lighting-illusions-ts-sdk",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -26,11 +26,9 @@ import type {
26
26
  GetAllAttributeValueRequest,
27
27
  IndexAttributeRequest,
28
28
  IndexAttributeValueRequest,
29
- IndexModelAttributeRequest,
30
29
  ModelAttributeResourceArrayResponse,
31
30
  PaginatedAttributeListResourceResponse,
32
31
  PaginatedAttributeValueResourceResponse,
33
- PaginatedModelAttributeListResourceResponse,
34
32
  StoreAttributeRequest,
35
33
  StoreAttributeValueRequest,
36
34
  UpdateAttributeRequest,
@@ -61,16 +59,12 @@ import {
61
59
  IndexAttributeRequestToJSON,
62
60
  IndexAttributeValueRequestFromJSON,
63
61
  IndexAttributeValueRequestToJSON,
64
- IndexModelAttributeRequestFromJSON,
65
- IndexModelAttributeRequestToJSON,
66
62
  ModelAttributeResourceArrayResponseFromJSON,
67
63
  ModelAttributeResourceArrayResponseToJSON,
68
64
  PaginatedAttributeListResourceResponseFromJSON,
69
65
  PaginatedAttributeListResourceResponseToJSON,
70
66
  PaginatedAttributeValueResourceResponseFromJSON,
71
67
  PaginatedAttributeValueResourceResponseToJSON,
72
- PaginatedModelAttributeListResourceResponseFromJSON,
73
- PaginatedModelAttributeListResourceResponseToJSON,
74
68
  StoreAttributeRequestFromJSON,
75
69
  StoreAttributeRequestToJSON,
76
70
  StoreAttributeValueRequestFromJSON,
@@ -120,10 +114,6 @@ export interface IndexAttributeValueOperationRequest {
120
114
  indexAttributeValueRequest?: IndexAttributeValueRequest;
121
115
  }
122
116
 
123
- export interface IndexModelAttributeOperationRequest {
124
- indexModelAttributeRequest?: IndexModelAttributeRequest;
125
- }
126
-
127
117
  export interface ShowAttributeRequest {
128
118
  attribute: number;
129
119
  }
@@ -519,46 +509,6 @@ export class AttributeApi extends runtime.BaseAPI {
519
509
  return await response.value();
520
510
  }
521
511
 
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
-
562
512
  /**
563
513
  * Creates request options for showAttribute without sending the request
564
514
  */