@digital8/lighting-illusions-ts-sdk 0.0.1452 → 0.0.1453

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 (237) hide show
  1. package/.openapi-generator/FILES +74 -40
  2. package/README.md +56 -25
  3. package/dist/apis/LabelApi.d.ts +109 -0
  4. package/dist/apis/{ProductRegistrationApi.js → LabelApi.js} +174 -57
  5. package/dist/apis/StoreApi.d.ts +190 -0
  6. package/dist/apis/StoreApi.js +744 -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 +2 -1
  10. package/dist/apis/index.js +2 -1
  11. package/dist/models/AddressFrontendResource.d.ts +74 -0
  12. package/dist/models/AddressFrontendResource.js +77 -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 +1 -1
  16. package/dist/models/AddressResource.js +9 -7
  17. package/dist/models/AttachStoresSupplierRequest.d.ts +32 -0
  18. package/dist/models/AttachStoresSupplierRequest.js +51 -0
  19. package/dist/models/AttachSuppliersStoreRequest.d.ts +32 -0
  20. package/dist/models/AttachSuppliersStoreRequest.js +51 -0
  21. package/dist/models/DetachStoresSupplierRequest.d.ts +32 -0
  22. package/dist/models/DetachStoresSupplierRequest.js +51 -0
  23. package/dist/models/DetachSuppliersStoreRequest.d.ts +32 -0
  24. package/dist/models/DetachSuppliersStoreRequest.js +51 -0
  25. package/dist/models/ExternalApiLogResource.d.ts +1 -1
  26. package/dist/models/ExternalApiLogResource.js +3 -1
  27. package/dist/models/GetAllStoreRequest.d.ts +93 -0
  28. package/dist/models/{GetAllProductRegistrationRequest.js → GetAllStoreRequest.js} +24 -20
  29. package/dist/models/IndexLabelRequest.d.ts +109 -0
  30. package/dist/models/{ListAssetsProductRegistrationRequest.js → IndexLabelRequest.js} +31 -22
  31. package/dist/models/IndexProductChildRequest.d.ts +1 -1
  32. package/dist/models/IndexProductChildRequest.js +1 -1
  33. package/dist/models/IndexStoreRequest.d.ts +105 -0
  34. package/dist/models/IndexStoreRequest.js +85 -0
  35. package/dist/models/LabelListResource.d.ts +75 -0
  36. package/dist/models/LabelListResource.js +74 -0
  37. package/dist/models/LabelListResourceArrayResponse.d.ts +33 -0
  38. package/dist/models/LabelListResourceArrayResponse.js +50 -0
  39. package/dist/models/LabelLiteResource.d.ts +56 -0
  40. package/dist/models/LabelLiteResource.js +65 -0
  41. package/dist/models/LabelLiteResourceArrayResponse.d.ts +33 -0
  42. package/dist/models/LabelLiteResourceArrayResponse.js +50 -0
  43. package/dist/models/LabelResource.d.ts +23 -4
  44. package/dist/models/LabelResource.js +19 -8
  45. package/dist/models/PaginatedLabelListResourceResponse.d.ts +40 -0
  46. package/dist/models/PaginatedLabelListResourceResponse.js +57 -0
  47. package/dist/models/PaginatedStoreListResourceResponse.d.ts +40 -0
  48. package/dist/models/PaginatedStoreListResourceResponse.js +57 -0
  49. package/dist/models/StoreFrontendResource.d.ts +98 -0
  50. package/dist/models/StoreFrontendResource.js +89 -0
  51. package/dist/models/StoreFrontendResourceArrayResponse.d.ts +33 -0
  52. package/dist/models/StoreFrontendResourceArrayResponse.js +50 -0
  53. package/dist/models/StoreLabelRequest.d.ts +74 -0
  54. package/dist/models/StoreLabelRequest.js +71 -0
  55. package/dist/models/StoreListResource.d.ts +81 -0
  56. package/dist/models/StoreListResource.js +78 -0
  57. package/dist/models/StoreListResourceArrayResponse.d.ts +33 -0
  58. package/dist/models/StoreListResourceArrayResponse.js +50 -0
  59. package/dist/models/StoreLiteResource.d.ts +45 -0
  60. package/dist/models/StoreLiteResource.js +58 -0
  61. package/dist/models/StoreLiteResourceArrayResponse.d.ts +33 -0
  62. package/dist/models/StoreLiteResourceArrayResponse.js +50 -0
  63. package/dist/models/StoreResource.d.ts +102 -0
  64. package/dist/models/StoreResource.js +95 -0
  65. package/dist/models/StoreResourceArrayResponse.d.ts +33 -0
  66. package/dist/models/StoreResourceArrayResponse.js +50 -0
  67. package/dist/models/StoreSpecialDateFrontendResource.d.ts +68 -0
  68. package/dist/models/StoreSpecialDateFrontendResource.js +73 -0
  69. package/dist/models/StoreSpecialDateFrontendResourceArrayResponse.d.ts +33 -0
  70. package/dist/models/StoreSpecialDateFrontendResourceArrayResponse.js +50 -0
  71. package/dist/models/StoreSpecialDateResource.d.ts +68 -0
  72. package/dist/models/StoreSpecialDateResource.js +73 -0
  73. package/dist/models/StoreSpecialDateResourceArrayResponse.d.ts +33 -0
  74. package/dist/models/StoreSpecialDateResourceArrayResponse.js +50 -0
  75. package/dist/models/StoreStoreRequest.d.ts +94 -0
  76. package/dist/models/StoreStoreRequest.js +85 -0
  77. package/dist/models/StoreStoreRequestAddress.d.ts +68 -0
  78. package/dist/models/StoreStoreRequestAddress.js +73 -0
  79. package/dist/models/StoreStoreRequestSpecialDatesInner.d.ts +62 -0
  80. package/dist/models/StoreStoreRequestSpecialDatesInner.js +61 -0
  81. package/dist/models/StoreStoreSpecialDateRequest.d.ts +62 -0
  82. package/dist/models/StoreStoreSpecialDateRequest.js +61 -0
  83. package/dist/models/UpdateLabelRequest.d.ts +74 -0
  84. package/dist/models/UpdateLabelRequest.js +63 -0
  85. package/dist/models/UpdateStoreRequest.d.ts +94 -0
  86. package/dist/models/UpdateStoreRequest.js +85 -0
  87. package/dist/models/UpdateStoreRequestSpecialDatesInner.d.ts +56 -0
  88. package/dist/models/UpdateStoreRequestSpecialDatesInner.js +57 -0
  89. package/dist/models/index.d.ts +35 -19
  90. package/dist/models/index.js +35 -19
  91. package/docs/{PaginatedProductRegistrationAssetResourceResponse.md → AddressFrontendResource.md} +20 -8
  92. package/docs/{ProductRegistrationResourceArrayResponse.md → AddressFrontendResourceArrayResponse.md} +5 -5
  93. package/docs/{ProductRegistrationAssetType.md → AttachStoresSupplierRequest.md} +6 -4
  94. package/docs/{ProductRegistrationLiteResource.md → AttachSuppliersStoreRequest.md} +6 -8
  95. package/docs/DetachStoresSupplierRequest.md +34 -0
  96. package/docs/DetachSuppliersStoreRequest.md +34 -0
  97. package/docs/{GetAllProductRegistrationRequest.md → GetAllStoreRequest.md} +8 -4
  98. package/docs/{ListAssetsProductRegistrationRequest.md → IndexLabelRequest.md} +6 -8
  99. package/docs/{IndexProductRegistrationRequest.md → IndexStoreRequest.md} +8 -12
  100. package/docs/LabelApi.md +407 -0
  101. package/docs/LabelListResource.md +48 -0
  102. package/docs/LabelListResourceArrayResponse.md +34 -0
  103. package/docs/{ProductRegistrationAssetResource.md → LabelLiteResource.md} +12 -8
  104. package/docs/LabelLiteResourceArrayResponse.md +34 -0
  105. package/docs/LabelResource.md +12 -6
  106. package/docs/{PaginatedProductRegistrationResourceResponse.md → PaginatedLabelListResourceResponse.md} +5 -5
  107. package/docs/{PaginatedProductRegistrationListResourceResponse.md → PaginatedStoreListResourceResponse.md} +5 -5
  108. package/docs/StoreApi.md +755 -0
  109. package/docs/StoreFrontendResource.md +56 -0
  110. package/docs/StoreFrontendResourceArrayResponse.md +34 -0
  111. package/docs/StoreLabelRequest.md +48 -0
  112. package/docs/StoreListResource.md +50 -0
  113. package/docs/StoreListResourceArrayResponse.md +34 -0
  114. package/docs/{ProductRegistrationCustomerLiteResource.md → StoreLiteResource.md} +6 -6
  115. package/docs/StoreLiteResourceArrayResponse.md +34 -0
  116. package/docs/StoreResource.md +56 -0
  117. package/docs/StoreResourceArrayResponse.md +34 -0
  118. package/docs/StoreSpecialDateFrontendResource.md +46 -0
  119. package/docs/{ProductRegistrationAssetResourceArrayResponse.md → StoreSpecialDateFrontendResourceArrayResponse.md} +5 -5
  120. package/docs/{ProductRegistrationListResource.md → StoreSpecialDateResource.md} +16 -10
  121. package/docs/StoreSpecialDateResourceArrayResponse.md +34 -0
  122. package/docs/StoreStoreRequest.md +54 -0
  123. package/docs/StoreStoreRequestAddress.md +46 -0
  124. package/docs/StoreStoreRequestSpecialDatesInner.md +44 -0
  125. package/docs/StoreStoreSpecialDateRequest.md +44 -0
  126. package/docs/SupplierApi.md +138 -0
  127. package/docs/UpdateLabelRequest.md +48 -0
  128. package/docs/UpdateStoreRequest.md +54 -0
  129. package/docs/{ProductRegistrationCustomerResource.md → UpdateStoreRequestSpecialDatesInner.md} +10 -8
  130. package/package.json +1 -1
  131. package/src/apis/LabelApi.ts +328 -0
  132. package/src/apis/StoreApi.ts +625 -0
  133. package/src/apis/SupplierApi.ts +112 -0
  134. package/src/apis/index.ts +2 -1
  135. package/src/models/AddressFrontendResource.ts +128 -0
  136. package/src/models/AddressFrontendResourceArrayResponse.ts +73 -0
  137. package/src/models/AddressResource.ts +9 -8
  138. package/src/models/AttachStoresSupplierRequest.ts +66 -0
  139. package/src/models/AttachSuppliersStoreRequest.ts +66 -0
  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/GetAllStoreRequest.ts +144 -0
  144. package/src/models/IndexLabelRequest.ts +163 -0
  145. package/src/models/IndexProductChildRequest.ts +1 -1
  146. package/src/models/IndexStoreRequest.ts +160 -0
  147. package/src/models/LabelListResource.ts +134 -0
  148. package/src/models/LabelListResourceArrayResponse.ts +73 -0
  149. package/src/models/LabelLiteResource.ts +101 -0
  150. package/src/models/LabelLiteResourceArrayResponse.ts +73 -0
  151. package/src/models/LabelResource.ts +46 -12
  152. package/src/models/PaginatedLabelListResourceResponse.ts +90 -0
  153. package/src/models/PaginatedStoreListResourceResponse.ts +90 -0
  154. package/src/models/StoreFrontendResource.ts +162 -0
  155. package/src/models/StoreFrontendResourceArrayResponse.ts +73 -0
  156. package/src/models/StoreLabelRequest.ts +125 -0
  157. package/src/models/StoreListResource.ts +143 -0
  158. package/src/models/StoreListResourceArrayResponse.ts +73 -0
  159. package/src/models/StoreLiteResource.ts +91 -0
  160. package/src/models/StoreLiteResourceArrayResponse.ts +73 -0
  161. package/src/models/StoreResource.ts +192 -0
  162. package/src/models/StoreResourceArrayResponse.ts +73 -0
  163. package/src/models/StoreSpecialDateFrontendResource.ts +119 -0
  164. package/src/models/StoreSpecialDateFrontendResourceArrayResponse.ts +73 -0
  165. package/src/models/StoreSpecialDateResource.ts +119 -0
  166. package/src/models/StoreSpecialDateResourceArrayResponse.ts +73 -0
  167. package/src/models/StoreStoreRequest.ts +167 -0
  168. package/src/models/StoreStoreRequestAddress.ts +119 -0
  169. package/src/models/StoreStoreRequestSpecialDatesInner.ts +106 -0
  170. package/src/models/StoreStoreSpecialDateRequest.ts +106 -0
  171. package/src/models/UpdateLabelRequest.ts +121 -0
  172. package/src/models/UpdateStoreRequest.ts +167 -0
  173. package/src/models/UpdateStoreRequestSpecialDatesInner.ts +97 -0
  174. package/src/models/index.ts +35 -19
  175. package/dist/apis/ProductRegistrationApi.d.ts +0 -79
  176. package/dist/models/GetAllProductRegistrationRequest.d.ts +0 -81
  177. package/dist/models/IndexProductRegistrationRequest.d.ts +0 -124
  178. package/dist/models/IndexProductRegistrationRequest.js +0 -95
  179. package/dist/models/ListAssetsProductRegistrationRequest.d.ts +0 -103
  180. package/dist/models/PaginatedProductRegistrationAssetResourceResponse.d.ts +0 -40
  181. package/dist/models/PaginatedProductRegistrationAssetResourceResponse.js +0 -57
  182. package/dist/models/PaginatedProductRegistrationListResourceResponse.d.ts +0 -40
  183. package/dist/models/PaginatedProductRegistrationListResourceResponse.js +0 -57
  184. package/dist/models/PaginatedProductRegistrationResourceResponse.d.ts +0 -40
  185. package/dist/models/PaginatedProductRegistrationResourceResponse.js +0 -57
  186. package/dist/models/ProductRegistrationAssetResource.d.ts +0 -45
  187. package/dist/models/ProductRegistrationAssetResource.js +0 -58
  188. package/dist/models/ProductRegistrationAssetResourceArrayResponse.d.ts +0 -33
  189. package/dist/models/ProductRegistrationAssetResourceArrayResponse.js +0 -50
  190. package/dist/models/ProductRegistrationAssetType.d.ts +0 -25
  191. package/dist/models/ProductRegistrationAssetType.js +0 -51
  192. package/dist/models/ProductRegistrationCustomerLiteResource.d.ts +0 -44
  193. package/dist/models/ProductRegistrationCustomerLiteResource.js +0 -57
  194. package/dist/models/ProductRegistrationCustomerLiteResourceArrayResponse.d.ts +0 -33
  195. package/dist/models/ProductRegistrationCustomerLiteResourceArrayResponse.js +0 -50
  196. package/dist/models/ProductRegistrationCustomerResource.d.ts +0 -50
  197. package/dist/models/ProductRegistrationCustomerResource.js +0 -61
  198. package/dist/models/ProductRegistrationCustomerResourceArrayResponse.d.ts +0 -33
  199. package/dist/models/ProductRegistrationCustomerResourceArrayResponse.js +0 -50
  200. package/dist/models/ProductRegistrationListResource.d.ts +0 -51
  201. package/dist/models/ProductRegistrationListResource.js +0 -60
  202. package/dist/models/ProductRegistrationListResourceArrayResponse.d.ts +0 -33
  203. package/dist/models/ProductRegistrationListResourceArrayResponse.js +0 -50
  204. package/dist/models/ProductRegistrationLiteResource.d.ts +0 -38
  205. package/dist/models/ProductRegistrationLiteResource.js +0 -53
  206. package/dist/models/ProductRegistrationLiteResourceArrayResponse.d.ts +0 -33
  207. package/dist/models/ProductRegistrationLiteResourceArrayResponse.js +0 -50
  208. package/dist/models/ProductRegistrationResource.d.ts +0 -76
  209. package/dist/models/ProductRegistrationResource.js +0 -75
  210. package/dist/models/ProductRegistrationResourceArrayResponse.d.ts +0 -33
  211. package/dist/models/ProductRegistrationResourceArrayResponse.js +0 -50
  212. package/docs/ProductRegistrationApi.md +0 -275
  213. package/docs/ProductRegistrationCustomerLiteResourceArrayResponse.md +0 -34
  214. package/docs/ProductRegistrationCustomerResourceArrayResponse.md +0 -34
  215. package/docs/ProductRegistrationListResourceArrayResponse.md +0 -34
  216. package/docs/ProductRegistrationLiteResourceArrayResponse.md +0 -34
  217. package/docs/ProductRegistrationResource.md +0 -48
  218. package/src/apis/ProductRegistrationApi.ts +0 -238
  219. package/src/models/GetAllProductRegistrationRequest.ts +0 -128
  220. package/src/models/IndexProductRegistrationRequest.ts +0 -184
  221. package/src/models/ListAssetsProductRegistrationRequest.ts +0 -158
  222. package/src/models/PaginatedProductRegistrationAssetResourceResponse.ts +0 -90
  223. package/src/models/PaginatedProductRegistrationListResourceResponse.ts +0 -90
  224. package/src/models/PaginatedProductRegistrationResourceResponse.ts +0 -90
  225. package/src/models/ProductRegistrationAssetResource.ts +0 -91
  226. package/src/models/ProductRegistrationAssetResourceArrayResponse.ts +0 -73
  227. package/src/models/ProductRegistrationAssetType.ts +0 -53
  228. package/src/models/ProductRegistrationCustomerLiteResource.ts +0 -83
  229. package/src/models/ProductRegistrationCustomerLiteResourceArrayResponse.ts +0 -73
  230. package/src/models/ProductRegistrationCustomerResource.ts +0 -92
  231. package/src/models/ProductRegistrationCustomerResourceArrayResponse.ts +0 -73
  232. package/src/models/ProductRegistrationListResource.ts +0 -99
  233. package/src/models/ProductRegistrationListResourceArrayResponse.ts +0 -73
  234. package/src/models/ProductRegistrationLiteResource.ts +0 -74
  235. package/src/models/ProductRegistrationLiteResourceArrayResponse.ts +0 -73
  236. package/src/models/ProductRegistrationResource.ts +0 -141
  237. package/src/models/ProductRegistrationResourceArrayResponse.ts +0 -73
@@ -1,24 +1,22 @@
1
1
 
2
- # ProductRegistrationLiteResource
2
+ # AttachSuppliersStoreRequest
3
3
 
4
4
 
5
5
  ## Properties
6
6
 
7
7
  Name | Type
8
8
  ------------ | -------------
9
- `id` | number
10
- `purchasedDate` | string
9
+ `supplierIds` | Array<number>
11
10
 
12
11
  ## Example
13
12
 
14
13
  ```typescript
15
- import type { ProductRegistrationLiteResource } from '@digital8/lighting-illusions-ts-sdk'
14
+ import type { AttachSuppliersStoreRequest } from '@digital8/lighting-illusions-ts-sdk'
16
15
 
17
16
  // TODO: Update the object below with actual values
18
17
  const example = {
19
- "id": null,
20
- "purchasedDate": null,
21
- } satisfies ProductRegistrationLiteResource
18
+ "supplierIds": null,
19
+ } satisfies AttachSuppliersStoreRequest
22
20
 
23
21
  console.log(example)
24
22
 
@@ -27,7 +25,7 @@ const exampleJSON: string = JSON.stringify(example)
27
25
  console.log(exampleJSON)
28
26
 
29
27
  // Parse the JSON string back to an object
30
- const exampleParsed = JSON.parse(exampleJSON) as ProductRegistrationLiteResource
28
+ const exampleParsed = JSON.parse(exampleJSON) as AttachSuppliersStoreRequest
31
29
  console.log(exampleParsed)
32
30
  ```
33
31
 
@@ -0,0 +1,34 @@
1
+
2
+ # DetachStoresSupplierRequest
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `storeIds` | Array<number>
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import type { DetachStoresSupplierRequest } from '@digital8/lighting-illusions-ts-sdk'
15
+
16
+ // TODO: Update the object below with actual values
17
+ const example = {
18
+ "storeIds": null,
19
+ } satisfies DetachStoresSupplierRequest
20
+
21
+ console.log(example)
22
+
23
+ // Convert the instance to a JSON string
24
+ const exampleJSON: string = JSON.stringify(example)
25
+ console.log(exampleJSON)
26
+
27
+ // Parse the JSON string back to an object
28
+ const exampleParsed = JSON.parse(exampleJSON) as DetachStoresSupplierRequest
29
+ console.log(exampleParsed)
30
+ ```
31
+
32
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
33
+
34
+
@@ -0,0 +1,34 @@
1
+
2
+ # DetachSuppliersStoreRequest
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `supplierIds` | Array<number>
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import type { DetachSuppliersStoreRequest } from '@digital8/lighting-illusions-ts-sdk'
15
+
16
+ // TODO: Update the object below with actual values
17
+ const example = {
18
+ "supplierIds": null,
19
+ } satisfies DetachSuppliersStoreRequest
20
+
21
+ console.log(example)
22
+
23
+ // Convert the instance to a JSON string
24
+ const exampleJSON: string = JSON.stringify(example)
25
+ console.log(exampleJSON)
26
+
27
+ // Parse the JSON string back to an object
28
+ const exampleParsed = JSON.parse(exampleJSON) as DetachSuppliersStoreRequest
29
+ console.log(exampleParsed)
30
+ ```
31
+
32
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
33
+
34
+
@@ -1,5 +1,5 @@
1
1
 
2
- # GetAllProductRegistrationRequest
2
+ # GetAllStoreRequest
3
3
 
4
4
 
5
5
  ## Properties
@@ -12,11 +12,13 @@ Name | Type
12
12
  `relatedId` | number
13
13
  `relatedType` | string
14
14
  `includesRelations` | boolean
15
+ `siteId` | Array<string>
16
+ `suppliersId` | Array<string>
15
17
 
16
18
  ## Example
17
19
 
18
20
  ```typescript
19
- import type { GetAllProductRegistrationRequest } from '@digital8/lighting-illusions-ts-sdk'
21
+ import type { GetAllStoreRequest } from '@digital8/lighting-illusions-ts-sdk'
20
22
 
21
23
  // TODO: Update the object below with actual values
22
24
  const example = {
@@ -26,7 +28,9 @@ const example = {
26
28
  "relatedId": null,
27
29
  "relatedType": null,
28
30
  "includesRelations": null,
29
- } satisfies GetAllProductRegistrationRequest
31
+ "siteId": null,
32
+ "suppliersId": null,
33
+ } satisfies GetAllStoreRequest
30
34
 
31
35
  console.log(example)
32
36
 
@@ -35,7 +39,7 @@ const exampleJSON: string = JSON.stringify(example)
35
39
  console.log(exampleJSON)
36
40
 
37
41
  // Parse the JSON string back to an object
38
- const exampleParsed = JSON.parse(exampleJSON) as GetAllProductRegistrationRequest
42
+ const exampleParsed = JSON.parse(exampleJSON) as GetAllStoreRequest
39
43
  console.log(exampleParsed)
40
44
  ```
41
45
 
@@ -1,5 +1,5 @@
1
1
 
2
- # ListAssetsProductRegistrationRequest
2
+ # IndexLabelRequest
3
3
 
4
4
 
5
5
  ## Properties
@@ -11,8 +11,7 @@ Name | Type
11
11
  `sortDirection` | string
12
12
  `perPage` | number
13
13
  `page` | number
14
- `productRegistrationId` | Array<string>
15
- `type` | Array<string>
14
+ `siteId` | Array<string>
16
15
  `relatedId` | number
17
16
  `relatedType` | string
18
17
  `includesRelations` | boolean
@@ -20,7 +19,7 @@ Name | Type
20
19
  ## Example
21
20
 
22
21
  ```typescript
23
- import type { ListAssetsProductRegistrationRequest } from '@digital8/lighting-illusions-ts-sdk'
22
+ import type { IndexLabelRequest } from '@digital8/lighting-illusions-ts-sdk'
24
23
 
25
24
  // TODO: Update the object below with actual values
26
25
  const example = {
@@ -29,12 +28,11 @@ const example = {
29
28
  "sortDirection": null,
30
29
  "perPage": null,
31
30
  "page": null,
32
- "productRegistrationId": null,
33
- "type": null,
31
+ "siteId": null,
34
32
  "relatedId": null,
35
33
  "relatedType": null,
36
34
  "includesRelations": null,
37
- } satisfies ListAssetsProductRegistrationRequest
35
+ } satisfies IndexLabelRequest
38
36
 
39
37
  console.log(example)
40
38
 
@@ -43,7 +41,7 @@ const exampleJSON: string = JSON.stringify(example)
43
41
  console.log(exampleJSON)
44
42
 
45
43
  // Parse the JSON string back to an object
46
- const exampleParsed = JSON.parse(exampleJSON) as ListAssetsProductRegistrationRequest
44
+ const exampleParsed = JSON.parse(exampleJSON) as IndexLabelRequest
47
45
  console.log(exampleParsed)
48
46
  ```
49
47
 
@@ -1,5 +1,5 @@
1
1
 
2
- # IndexProductRegistrationRequest
2
+ # IndexStoreRequest
3
3
 
4
4
 
5
5
  ## Properties
@@ -11,10 +11,8 @@ Name | Type
11
11
  `sortDirection` | string
12
12
  `perPage` | number
13
13
  `page` | number
14
- `beforePurchasedDate` | Date
15
- `afterPurchasedDate` | Date
16
- `beforeCreatedAt` | Date
17
- `afterCreatedAt` | Date
14
+ `siteId` | Array<string>
15
+ `suppliersId` | Array<string>
18
16
  `relatedId` | number
19
17
  `relatedType` | string
20
18
  `includesRelations` | boolean
@@ -22,7 +20,7 @@ Name | Type
22
20
  ## Example
23
21
 
24
22
  ```typescript
25
- import type { IndexProductRegistrationRequest } from '@digital8/lighting-illusions-ts-sdk'
23
+ import type { IndexStoreRequest } from '@digital8/lighting-illusions-ts-sdk'
26
24
 
27
25
  // TODO: Update the object below with actual values
28
26
  const example = {
@@ -31,14 +29,12 @@ const example = {
31
29
  "sortDirection": null,
32
30
  "perPage": null,
33
31
  "page": null,
34
- "beforePurchasedDate": null,
35
- "afterPurchasedDate": null,
36
- "beforeCreatedAt": null,
37
- "afterCreatedAt": null,
32
+ "siteId": null,
33
+ "suppliersId": null,
38
34
  "relatedId": null,
39
35
  "relatedType": null,
40
36
  "includesRelations": null,
41
- } satisfies IndexProductRegistrationRequest
37
+ } satisfies IndexStoreRequest
42
38
 
43
39
  console.log(example)
44
40
 
@@ -47,7 +43,7 @@ const exampleJSON: string = JSON.stringify(example)
47
43
  console.log(exampleJSON)
48
44
 
49
45
  // Parse the JSON string back to an object
50
- const exampleParsed = JSON.parse(exampleJSON) as IndexProductRegistrationRequest
46
+ const exampleParsed = JSON.parse(exampleJSON) as IndexStoreRequest
51
47
  console.log(exampleParsed)
52
48
  ```
53
49
 
@@ -0,0 +1,407 @@
1
+ # LabelApi
2
+
3
+ All URIs are relative to *http://localhost/api*
4
+
5
+ | Method | HTTP request | Description |
6
+ |------------- | ------------- | -------------|
7
+ | [**destroyLabel**](LabelApi.md#destroylabel) | **DELETE** /admin-api/label/{label}/delete | Auto-generated: destroyLabel |
8
+ | [**getAllLabel**](LabelApi.md#getalllabel) | **POST** /admin-api/label/all | Auto-generated: getAllLabel |
9
+ | [**indexLabel**](LabelApi.md#indexlabeloperation) | **POST** /admin-api/label/list | Auto-generated: indexLabel |
10
+ | [**showLabel**](LabelApi.md#showlabel) | **GET** /admin-api/label/{label} | Auto-generated: showLabel |
11
+ | [**storeLabel**](LabelApi.md#storelabeloperation) | **POST** /admin-api/label/create | Auto-generated: storeLabel |
12
+ | [**updateLabel**](LabelApi.md#updatelabeloperation) | **PUT** /admin-api/label/{label}/update | Auto-generated: updateLabel |
13
+
14
+
15
+
16
+ ## destroyLabel
17
+
18
+ > GenericResponse destroyLabel(label)
19
+
20
+ Auto-generated: destroyLabel
21
+
22
+ ### Example
23
+
24
+ ```ts
25
+ import {
26
+ Configuration,
27
+ LabelApi,
28
+ } from '@digital8/lighting-illusions-ts-sdk';
29
+ import type { DestroyLabelRequest } from '@digital8/lighting-illusions-ts-sdk';
30
+
31
+ async function example() {
32
+ console.log("🚀 Testing @digital8/lighting-illusions-ts-sdk SDK...");
33
+ const api = new LabelApi();
34
+
35
+ const body = {
36
+ // number | The id of the label
37
+ label: 56,
38
+ } satisfies DestroyLabelRequest;
39
+
40
+ try {
41
+ const data = await api.destroyLabel(body);
42
+ console.log(data);
43
+ } catch (error) {
44
+ console.error(error);
45
+ }
46
+ }
47
+
48
+ // Run the test
49
+ example().catch(console.error);
50
+ ```
51
+
52
+ ### Parameters
53
+
54
+
55
+ | Name | Type | Description | Notes |
56
+ |------------- | ------------- | ------------- | -------------|
57
+ | **label** | `number` | The id of the label | [Defaults to `undefined`] |
58
+
59
+ ### Return type
60
+
61
+ [**GenericResponse**](GenericResponse.md)
62
+
63
+ ### Authorization
64
+
65
+ No authorization required
66
+
67
+ ### HTTP request headers
68
+
69
+ - **Content-Type**: Not defined
70
+ - **Accept**: `application/json`
71
+
72
+
73
+ ### HTTP response details
74
+ | Status code | Description | Response headers |
75
+ |-------------|-------------|------------------|
76
+ | **200** | Generic JSON success | - |
77
+
78
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
79
+
80
+
81
+ ## getAllLabel
82
+
83
+ > GenericResponse getAllLabel(indexLabelRequest)
84
+
85
+ Auto-generated: getAllLabel
86
+
87
+ ### Example
88
+
89
+ ```ts
90
+ import {
91
+ Configuration,
92
+ LabelApi,
93
+ } from '@digital8/lighting-illusions-ts-sdk';
94
+ import type { GetAllLabelRequest } from '@digital8/lighting-illusions-ts-sdk';
95
+
96
+ async function example() {
97
+ console.log("🚀 Testing @digital8/lighting-illusions-ts-sdk SDK...");
98
+ const api = new LabelApi();
99
+
100
+ const body = {
101
+ // IndexLabelRequest (optional)
102
+ indexLabelRequest: ...,
103
+ } satisfies GetAllLabelRequest;
104
+
105
+ try {
106
+ const data = await api.getAllLabel(body);
107
+ console.log(data);
108
+ } catch (error) {
109
+ console.error(error);
110
+ }
111
+ }
112
+
113
+ // Run the test
114
+ example().catch(console.error);
115
+ ```
116
+
117
+ ### Parameters
118
+
119
+
120
+ | Name | Type | Description | Notes |
121
+ |------------- | ------------- | ------------- | -------------|
122
+ | **indexLabelRequest** | [IndexLabelRequest](IndexLabelRequest.md) | | [Optional] |
123
+
124
+ ### Return type
125
+
126
+ [**GenericResponse**](GenericResponse.md)
127
+
128
+ ### Authorization
129
+
130
+ No authorization required
131
+
132
+ ### HTTP request headers
133
+
134
+ - **Content-Type**: `application/json`
135
+ - **Accept**: `application/json`
136
+
137
+
138
+ ### HTTP response details
139
+ | Status code | Description | Response headers |
140
+ |-------------|-------------|------------------|
141
+ | **200** | \\JsonResponse<array{data: \\LabelLiteResource[]}> | - |
142
+
143
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
144
+
145
+
146
+ ## indexLabel
147
+
148
+ > PaginatedLabelListResourceResponse indexLabel(indexLabelRequest)
149
+
150
+ Auto-generated: indexLabel
151
+
152
+ ### Example
153
+
154
+ ```ts
155
+ import {
156
+ Configuration,
157
+ LabelApi,
158
+ } from '@digital8/lighting-illusions-ts-sdk';
159
+ import type { IndexLabelOperationRequest } from '@digital8/lighting-illusions-ts-sdk';
160
+
161
+ async function example() {
162
+ console.log("🚀 Testing @digital8/lighting-illusions-ts-sdk SDK...");
163
+ const api = new LabelApi();
164
+
165
+ const body = {
166
+ // IndexLabelRequest (optional)
167
+ indexLabelRequest: ...,
168
+ } satisfies IndexLabelOperationRequest;
169
+
170
+ try {
171
+ const data = await api.indexLabel(body);
172
+ console.log(data);
173
+ } catch (error) {
174
+ console.error(error);
175
+ }
176
+ }
177
+
178
+ // Run the test
179
+ example().catch(console.error);
180
+ ```
181
+
182
+ ### Parameters
183
+
184
+
185
+ | Name | Type | Description | Notes |
186
+ |------------- | ------------- | ------------- | -------------|
187
+ | **indexLabelRequest** | [IndexLabelRequest](IndexLabelRequest.md) | | [Optional] |
188
+
189
+ ### Return type
190
+
191
+ [**PaginatedLabelListResourceResponse**](PaginatedLabelListResourceResponse.md)
192
+
193
+ ### Authorization
194
+
195
+ No authorization required
196
+
197
+ ### HTTP request headers
198
+
199
+ - **Content-Type**: `application/json`
200
+ - **Accept**: `application/json`
201
+
202
+
203
+ ### HTTP response details
204
+ | Status code | Description | Response headers |
205
+ |-------------|-------------|------------------|
206
+ | **200** | Paginated response \\JsonResponse<\\ResourcePaginator<\\LabelListResource[]>> | - |
207
+
208
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
209
+
210
+
211
+ ## showLabel
212
+
213
+ > LabelResource showLabel(label)
214
+
215
+ Auto-generated: showLabel
216
+
217
+ ### Example
218
+
219
+ ```ts
220
+ import {
221
+ Configuration,
222
+ LabelApi,
223
+ } from '@digital8/lighting-illusions-ts-sdk';
224
+ import type { ShowLabelRequest } from '@digital8/lighting-illusions-ts-sdk';
225
+
226
+ async function example() {
227
+ console.log("🚀 Testing @digital8/lighting-illusions-ts-sdk SDK...");
228
+ const api = new LabelApi();
229
+
230
+ const body = {
231
+ // number | The id of the label
232
+ label: 56,
233
+ } satisfies ShowLabelRequest;
234
+
235
+ try {
236
+ const data = await api.showLabel(body);
237
+ console.log(data);
238
+ } catch (error) {
239
+ console.error(error);
240
+ }
241
+ }
242
+
243
+ // Run the test
244
+ example().catch(console.error);
245
+ ```
246
+
247
+ ### Parameters
248
+
249
+
250
+ | Name | Type | Description | Notes |
251
+ |------------- | ------------- | ------------- | -------------|
252
+ | **label** | `number` | The id of the label | [Defaults to `undefined`] |
253
+
254
+ ### Return type
255
+
256
+ [**LabelResource**](LabelResource.md)
257
+
258
+ ### Authorization
259
+
260
+ No authorization required
261
+
262
+ ### HTTP request headers
263
+
264
+ - **Content-Type**: Not defined
265
+ - **Accept**: `application/json`
266
+
267
+
268
+ ### HTTP response details
269
+ | Status code | Description | Response headers |
270
+ |-------------|-------------|------------------|
271
+ | **200** | Successful resource response | - |
272
+
273
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
274
+
275
+
276
+ ## storeLabel
277
+
278
+ > LabelResource storeLabel(storeLabelRequest)
279
+
280
+ Auto-generated: storeLabel
281
+
282
+ ### Example
283
+
284
+ ```ts
285
+ import {
286
+ Configuration,
287
+ LabelApi,
288
+ } from '@digital8/lighting-illusions-ts-sdk';
289
+ import type { StoreLabelOperationRequest } from '@digital8/lighting-illusions-ts-sdk';
290
+
291
+ async function example() {
292
+ console.log("🚀 Testing @digital8/lighting-illusions-ts-sdk SDK...");
293
+ const api = new LabelApi();
294
+
295
+ const body = {
296
+ // StoreLabelRequest (optional)
297
+ storeLabelRequest: ...,
298
+ } satisfies StoreLabelOperationRequest;
299
+
300
+ try {
301
+ const data = await api.storeLabel(body);
302
+ console.log(data);
303
+ } catch (error) {
304
+ console.error(error);
305
+ }
306
+ }
307
+
308
+ // Run the test
309
+ example().catch(console.error);
310
+ ```
311
+
312
+ ### Parameters
313
+
314
+
315
+ | Name | Type | Description | Notes |
316
+ |------------- | ------------- | ------------- | -------------|
317
+ | **storeLabelRequest** | [StoreLabelRequest](StoreLabelRequest.md) | | [Optional] |
318
+
319
+ ### Return type
320
+
321
+ [**LabelResource**](LabelResource.md)
322
+
323
+ ### Authorization
324
+
325
+ No authorization required
326
+
327
+ ### HTTP request headers
328
+
329
+ - **Content-Type**: `application/json`
330
+ - **Accept**: `application/json`
331
+
332
+
333
+ ### HTTP response details
334
+ | Status code | Description | Response headers |
335
+ |-------------|-------------|------------------|
336
+ | **200** | Successful resource response | - |
337
+
338
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
339
+
340
+
341
+ ## updateLabel
342
+
343
+ > LabelResource updateLabel(label, updateLabelRequest)
344
+
345
+ Auto-generated: updateLabel
346
+
347
+ ### Example
348
+
349
+ ```ts
350
+ import {
351
+ Configuration,
352
+ LabelApi,
353
+ } from '@digital8/lighting-illusions-ts-sdk';
354
+ import type { UpdateLabelOperationRequest } from '@digital8/lighting-illusions-ts-sdk';
355
+
356
+ async function example() {
357
+ console.log("🚀 Testing @digital8/lighting-illusions-ts-sdk SDK...");
358
+ const api = new LabelApi();
359
+
360
+ const body = {
361
+ // number | The id of the label
362
+ label: 56,
363
+ // UpdateLabelRequest (optional)
364
+ updateLabelRequest: ...,
365
+ } satisfies UpdateLabelOperationRequest;
366
+
367
+ try {
368
+ const data = await api.updateLabel(body);
369
+ console.log(data);
370
+ } catch (error) {
371
+ console.error(error);
372
+ }
373
+ }
374
+
375
+ // Run the test
376
+ example().catch(console.error);
377
+ ```
378
+
379
+ ### Parameters
380
+
381
+
382
+ | Name | Type | Description | Notes |
383
+ |------------- | ------------- | ------------- | -------------|
384
+ | **label** | `number` | The id of the label | [Defaults to `undefined`] |
385
+ | **updateLabelRequest** | [UpdateLabelRequest](UpdateLabelRequest.md) | | [Optional] |
386
+
387
+ ### Return type
388
+
389
+ [**LabelResource**](LabelResource.md)
390
+
391
+ ### Authorization
392
+
393
+ No authorization required
394
+
395
+ ### HTTP request headers
396
+
397
+ - **Content-Type**: `application/json`
398
+ - **Accept**: `application/json`
399
+
400
+
401
+ ### HTTP response details
402
+ | Status code | Description | Response headers |
403
+ |-------------|-------------|------------------|
404
+ | **200** | Successful resource response | - |
405
+
406
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
407
+
@@ -0,0 +1,48 @@
1
+
2
+ # LabelListResource
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `id` | number
10
+ `shortName` | string
11
+ `longName` | string
12
+ `colour` | string
13
+ `textColour` | string
14
+ `startDate` | string
15
+ `endDate` | string
16
+ `site` | [SiteLiteResource](SiteLiteResource.md)
17
+
18
+ ## Example
19
+
20
+ ```typescript
21
+ import type { LabelListResource } from '@digital8/lighting-illusions-ts-sdk'
22
+
23
+ // TODO: Update the object below with actual values
24
+ const example = {
25
+ "id": null,
26
+ "shortName": null,
27
+ "longName": null,
28
+ "colour": null,
29
+ "textColour": null,
30
+ "startDate": null,
31
+ "endDate": null,
32
+ "site": null,
33
+ } satisfies LabelListResource
34
+
35
+ console.log(example)
36
+
37
+ // Convert the instance to a JSON string
38
+ const exampleJSON: string = JSON.stringify(example)
39
+ console.log(exampleJSON)
40
+
41
+ // Parse the JSON string back to an object
42
+ const exampleParsed = JSON.parse(exampleJSON) as LabelListResource
43
+ console.log(exampleParsed)
44
+ ```
45
+
46
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
47
+
48
+