@digital8/lighting-illusions-ts-sdk 0.0.749 → 0.0.751

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 (196) hide show
  1. package/.openapi-generator/FILES +68 -2
  2. package/README.md +52 -3
  3. package/dist/apis/AttributeApi.d.ts +12 -1
  4. package/dist/apis/AttributeApi.js +45 -0
  5. package/dist/apis/ProductRangeApi.d.ts +205 -0
  6. package/dist/apis/ProductRangeApi.js +835 -0
  7. package/dist/apis/index.d.ts +1 -0
  8. package/dist/apis/index.js +1 -0
  9. package/dist/models/AttachAccessoriesProductRangeRequest.d.ts +32 -0
  10. package/dist/models/AttachAccessoriesProductRangeRequest.js +51 -0
  11. package/dist/models/AttachAttributesProductRangeRequest.d.ts +33 -0
  12. package/dist/models/AttachAttributesProductRangeRequest.js +52 -0
  13. package/dist/models/AttachAttributesProductRangeRequestAttributesInner.d.ts +38 -0
  14. package/dist/models/AttachAttributesProductRangeRequestAttributesInner.js +53 -0
  15. package/dist/models/AttachDocumentablesDocumentRequestDocumentablesInner.d.ts +1 -0
  16. package/dist/models/AttachDocumentablesDocumentRequestDocumentablesInner.js +1 -0
  17. package/dist/models/AttachDocumentsProductRangeRequest.d.ts +33 -0
  18. package/dist/models/AttachDocumentsProductRangeRequest.js +52 -0
  19. package/dist/models/DetachAccessoriesProductRangeRequest.d.ts +32 -0
  20. package/dist/models/DetachAccessoriesProductRangeRequest.js +51 -0
  21. package/dist/models/DetachAttributesProductRangeRequest.d.ts +32 -0
  22. package/dist/models/DetachAttributesProductRangeRequest.js +51 -0
  23. package/dist/models/DetachDocumentablesDocumentRequestDocumentablesInner.d.ts +1 -0
  24. package/dist/models/DetachDocumentablesDocumentRequestDocumentablesInner.js +1 -0
  25. package/dist/models/DetachDocumentsProductRangeRequest.d.ts +32 -0
  26. package/dist/models/DetachDocumentsProductRangeRequest.js +51 -0
  27. package/dist/models/ExternalApiLogResource.d.ts +1 -1
  28. package/dist/models/ExternalApiLogResource.js +3 -1
  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/IndexProductRangeRequest.js +86 -0
  45. package/dist/models/ModelAttributeListResource.d.ts +52 -0
  46. package/dist/models/ModelAttributeListResource.js +65 -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/ProductCategoryLiteResource.d.ts +0 -6
  62. package/dist/models/ProductCategoryLiteResource.js +0 -4
  63. package/dist/models/ProductChildListResource.d.ts +0 -12
  64. package/dist/models/ProductChildListResource.js +0 -6
  65. package/dist/models/ProductRangeFrontendListResource.d.ts +62 -0
  66. package/dist/models/ProductRangeFrontendListResource.js +71 -0
  67. package/dist/models/ProductRangeFrontendListResourceArrayResponse.d.ts +33 -0
  68. package/dist/models/ProductRangeFrontendListResourceArrayResponse.js +50 -0
  69. package/dist/models/ProductRangeFrontendResource.d.ts +118 -0
  70. package/dist/models/ProductRangeFrontendResource.js +109 -0
  71. package/dist/models/ProductRangeFrontendResourceArrayResponse.d.ts +33 -0
  72. package/dist/models/ProductRangeFrontendResourceArrayResponse.js +50 -0
  73. package/dist/models/ProductRangeListResource.d.ts +52 -0
  74. package/dist/models/ProductRangeListResource.js +65 -0
  75. package/dist/models/ProductRangeListResourceArrayResponse.d.ts +33 -0
  76. package/dist/models/ProductRangeListResourceArrayResponse.js +50 -0
  77. package/dist/models/ProductRangeLiteResource.d.ts +38 -0
  78. package/dist/models/ProductRangeLiteResource.js +55 -0
  79. package/dist/models/ProductRangeLiteResourceArrayResponse.d.ts +33 -0
  80. package/dist/models/ProductRangeLiteResourceArrayResponse.js +50 -0
  81. package/dist/models/ProductRangeResource.d.ts +89 -0
  82. package/dist/models/ProductRangeResource.js +86 -0
  83. package/dist/models/ProductRangeResourceArrayResponse.d.ts +33 -0
  84. package/dist/models/ProductRangeResourceArrayResponse.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/ProductResource.d.ts +2 -2
  90. package/dist/models/ProductResource.js +3 -3
  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 +33 -1
  102. package/dist/models/index.js +33 -1
  103. package/docs/AttachAccessoriesProductRangeRequest.md +34 -0
  104. package/docs/AttachAttributesProductRangeRequest.md +34 -0
  105. package/docs/AttachAttributesProductRangeRequestAttributesInner.md +36 -0
  106. package/docs/AttachDocumentsProductRangeRequest.md +34 -0
  107. package/docs/AttributeApi.md +66 -0
  108. package/docs/DetachAccessoriesProductRangeRequest.md +34 -0
  109. package/docs/DetachAttributesProductRangeRequest.md +34 -0
  110. package/docs/DetachDocumentsProductRangeRequest.md +34 -0
  111. package/docs/GetAllProductRangeRequest.md +50 -0
  112. package/docs/IndexModelAttributeRequest.md +54 -0
  113. package/docs/IndexProductRangeRequest.md +54 -0
  114. package/docs/ModelAttributeListResource.md +40 -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/PaginatedProductRangeResourceResponse.md +36 -0
  122. package/docs/ProductCategoryLiteResource.md +0 -2
  123. package/docs/ProductChildListResource.md +0 -4
  124. package/docs/ProductRangeApi.md +1097 -0
  125. package/docs/ProductRangeFrontendListResource.md +44 -0
  126. package/docs/ProductRangeFrontendListResourceArrayResponse.md +34 -0
  127. package/docs/ProductRangeFrontendResource.md +62 -0
  128. package/docs/ProductRangeFrontendResourceArrayResponse.md +34 -0
  129. package/docs/ProductRangeListResource.md +40 -0
  130. package/docs/ProductRangeListResourceArrayResponse.md +34 -0
  131. package/docs/ProductRangeLiteResource.md +36 -0
  132. package/docs/ProductRangeLiteResourceArrayResponse.md +34 -0
  133. package/docs/ProductRangeResource.md +52 -0
  134. package/docs/ProductRangeResourceArrayResponse.md +34 -0
  135. package/docs/ProductRangeSiteDetailResource.md +56 -0
  136. package/docs/ProductRangeSiteDetailResourceArrayResponse.md +34 -0
  137. package/docs/ProductResource.md +2 -2
  138. package/docs/StoreProductRangeRequest.md +40 -0
  139. package/docs/StoreProductRangeRequestSitesInner.md +54 -0
  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 +42 -0
  145. package/src/apis/ProductRangeApi.ts +760 -0
  146. package/src/apis/index.ts +1 -0
  147. package/src/models/AttachAccessoriesProductRangeRequest.ts +66 -0
  148. package/src/models/AttachAttributesProductRangeRequest.ts +74 -0
  149. package/src/models/AttachAttributesProductRangeRequestAttributesInner.ts +74 -0
  150. package/src/models/AttachDocumentablesDocumentRequestDocumentablesInner.ts +1 -0
  151. package/src/models/AttachDocumentsProductRangeRequest.ts +74 -0
  152. package/src/models/DetachAccessoriesProductRangeRequest.ts +66 -0
  153. package/src/models/DetachAttributesProductRangeRequest.ts +66 -0
  154. package/src/models/DetachDocumentablesDocumentRequestDocumentablesInner.ts +1 -0
  155. package/src/models/DetachDocumentsProductRangeRequest.ts +66 -0
  156. package/src/models/ExternalApiLogResource.ts +3 -2
  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 +108 -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/ProductCategoryLiteResource.ts +0 -9
  174. package/src/models/ProductChildListResource.ts +0 -17
  175. package/src/models/ProductRangeFrontendListResource.ts +111 -0
  176. package/src/models/ProductRangeFrontendListResourceArrayResponse.ts +73 -0
  177. package/src/models/ProductRangeFrontendResource.ts +207 -0
  178. package/src/models/ProductRangeFrontendResourceArrayResponse.ts +73 -0
  179. package/src/models/ProductRangeListResource.ts +108 -0
  180. package/src/models/ProductRangeListResourceArrayResponse.ts +73 -0
  181. package/src/models/ProductRangeLiteResource.ts +75 -0
  182. package/src/models/ProductRangeLiteResourceArrayResponse.ts +73 -0
  183. package/src/models/ProductRangeResource.ts +167 -0
  184. package/src/models/ProductRangeResourceArrayResponse.ts +73 -0
  185. package/src/models/ProductRangeSiteDetailResource.ts +187 -0
  186. package/src/models/ProductRangeSiteDetailResourceArrayResponse.ts +73 -0
  187. package/src/models/ProductResource.ts +5 -5
  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 +33 -1
  194. package/dist/models/UpdateProductTypeRequestPerformanceValuesInner.d.ts +0 -38
  195. package/dist/models/UpdateProductTypeRequestPerformanceValuesInner.js +0 -51
  196. package/src/models/UpdateProductTypeRequestPerformanceValuesInner.ts +0 -73
@@ -7,6 +7,7 @@
7
7
  Name | Type
8
8
  ------------ | -------------
9
9
  `id` | number
10
+ `order` | string
10
11
  `value` | string
11
12
  `attribute` | [AttributeLiteResource](AttributeLiteResource.md)
12
13
  `attributeValues` | [Array<AttributeValueResource>](AttributeValueResource.md)
@@ -19,6 +20,7 @@ import type { ModelAttributeResource } from '@digital8/lighting-illusions-ts-sdk
19
20
  // TODO: Update the object below with actual values
20
21
  const example = {
21
22
  "id": null,
23
+ "order": null,
22
24
  "value": null,
23
25
  "attribute": null,
24
26
  "attributeValues": null,
@@ -0,0 +1,36 @@
1
+
2
+ # PaginatedModelAttributeListResourceResponse
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `data` | [Array<ModelAttributeListResource>](ModelAttributeListResource.md)
10
+ `meta` | [PagingMetadata](PagingMetadata.md)
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import type { PaginatedModelAttributeListResourceResponse } from '@digital8/lighting-illusions-ts-sdk'
16
+
17
+ // TODO: Update the object below with actual values
18
+ const example = {
19
+ "data": null,
20
+ "meta": null,
21
+ } satisfies PaginatedModelAttributeListResourceResponse
22
+
23
+ console.log(example)
24
+
25
+ // Convert the instance to a JSON string
26
+ const exampleJSON: string = JSON.stringify(example)
27
+ console.log(exampleJSON)
28
+
29
+ // Parse the JSON string back to an object
30
+ const exampleParsed = JSON.parse(exampleJSON) as PaginatedModelAttributeListResourceResponse
31
+ console.log(exampleParsed)
32
+ ```
33
+
34
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
35
+
36
+
@@ -0,0 +1,36 @@
1
+
2
+ # PaginatedProductRangeFrontendListResourceResponse
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `data` | [Array<ProductRangeFrontendListResource>](ProductRangeFrontendListResource.md)
10
+ `meta` | [PagingMetadata](PagingMetadata.md)
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import type { PaginatedProductRangeFrontendListResourceResponse } from '@digital8/lighting-illusions-ts-sdk'
16
+
17
+ // TODO: Update the object below with actual values
18
+ const example = {
19
+ "data": null,
20
+ "meta": null,
21
+ } satisfies PaginatedProductRangeFrontendListResourceResponse
22
+
23
+ console.log(example)
24
+
25
+ // Convert the instance to a JSON string
26
+ const exampleJSON: string = JSON.stringify(example)
27
+ console.log(exampleJSON)
28
+
29
+ // Parse the JSON string back to an object
30
+ const exampleParsed = JSON.parse(exampleJSON) as PaginatedProductRangeFrontendListResourceResponse
31
+ console.log(exampleParsed)
32
+ ```
33
+
34
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
35
+
36
+
@@ -0,0 +1,36 @@
1
+
2
+ # PaginatedProductRangeListResourceResponse
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `data` | [Array<ProductRangeListResource>](ProductRangeListResource.md)
10
+ `meta` | [PagingMetadata](PagingMetadata.md)
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import type { PaginatedProductRangeListResourceResponse } from '@digital8/lighting-illusions-ts-sdk'
16
+
17
+ // TODO: Update the object below with actual values
18
+ const example = {
19
+ "data": null,
20
+ "meta": null,
21
+ } satisfies PaginatedProductRangeListResourceResponse
22
+
23
+ console.log(example)
24
+
25
+ // Convert the instance to a JSON string
26
+ const exampleJSON: string = JSON.stringify(example)
27
+ console.log(exampleJSON)
28
+
29
+ // Parse the JSON string back to an object
30
+ const exampleParsed = JSON.parse(exampleJSON) as PaginatedProductRangeListResourceResponse
31
+ console.log(exampleParsed)
32
+ ```
33
+
34
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
35
+
36
+
@@ -0,0 +1,36 @@
1
+
2
+ # PaginatedProductRangeLiteResourceResponse
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `data` | [Array<ProductRangeLiteResource>](ProductRangeLiteResource.md)
10
+ `meta` | [PagingMetadata](PagingMetadata.md)
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import type { PaginatedProductRangeLiteResourceResponse } from '@digital8/lighting-illusions-ts-sdk'
16
+
17
+ // TODO: Update the object below with actual values
18
+ const example = {
19
+ "data": null,
20
+ "meta": null,
21
+ } satisfies PaginatedProductRangeLiteResourceResponse
22
+
23
+ console.log(example)
24
+
25
+ // Convert the instance to a JSON string
26
+ const exampleJSON: string = JSON.stringify(example)
27
+ console.log(exampleJSON)
28
+
29
+ // Parse the JSON string back to an object
30
+ const exampleParsed = JSON.parse(exampleJSON) as PaginatedProductRangeLiteResourceResponse
31
+ console.log(exampleParsed)
32
+ ```
33
+
34
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
35
+
36
+
@@ -0,0 +1,36 @@
1
+
2
+ # PaginatedProductRangeResourceResponse
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `data` | [Array<ProductRangeResource>](ProductRangeResource.md)
10
+ `meta` | [PagingMetadata](PagingMetadata.md)
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import type { PaginatedProductRangeResourceResponse } from '@digital8/lighting-illusions-ts-sdk'
16
+
17
+ // TODO: Update the object below with actual values
18
+ const example = {
19
+ "data": null,
20
+ "meta": null,
21
+ } satisfies PaginatedProductRangeResourceResponse
22
+
23
+ console.log(example)
24
+
25
+ // Convert the instance to a JSON string
26
+ const exampleJSON: string = JSON.stringify(example)
27
+ console.log(exampleJSON)
28
+
29
+ // Parse the JSON string back to an object
30
+ const exampleParsed = JSON.parse(exampleJSON) as PaginatedProductRangeResourceResponse
31
+ console.log(exampleParsed)
32
+ ```
33
+
34
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
35
+
36
+
@@ -8,7 +8,6 @@ Name | Type
8
8
  ------------ | -------------
9
9
  `id` | number
10
10
  `name` | string
11
- `siteId` | number
12
11
 
13
12
  ## Example
14
13
 
@@ -19,7 +18,6 @@ import type { ProductCategoryLiteResource } from '@digital8/lighting-illusions-t
19
18
  const example = {
20
19
  "id": null,
21
20
  "name": null,
22
- "siteId": null,
23
21
  } satisfies ProductCategoryLiteResource
24
22
 
25
23
  console.log(example)
@@ -12,8 +12,6 @@ Name | Type
12
12
  `name` | string
13
13
  `model` | string
14
14
  `stock` | number
15
- `isDisabled` | string
16
- `netsuiteId` | number
17
15
  `thumbnail` | [AssetLiteResource](AssetLiteResource.md)
18
16
  `siteDetails` | [Array<ProductChildSiteDetailLiteResource>](ProductChildSiteDetailLiteResource.md)
19
17
 
@@ -30,8 +28,6 @@ const example = {
30
28
  "name": null,
31
29
  "model": null,
32
30
  "stock": null,
33
- "isDisabled": null,
34
- "netsuiteId": null,
35
31
  "thumbnail": null,
36
32
  "siteDetails": null,
37
33
  } satisfies ProductChildListResource