@digital8/lighting-illusions-ts-sdk 0.0.530 → 0.0.532

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 (136) hide show
  1. package/.openapi-generator/FILES +42 -24
  2. package/README.md +30 -14
  3. package/dist/apis/ProductCategoryApi.d.ts +105 -0
  4. package/dist/apis/ProductCategoryApi.js +445 -0
  5. package/dist/apis/index.d.ts +1 -0
  6. package/dist/apis/index.js +1 -0
  7. package/dist/models/CategoryAutomationComparisonType.d.ts +29 -0
  8. package/dist/models/CategoryAutomationComparisonType.js +55 -0
  9. package/dist/models/CategoryAutomationConditionType.d.ts +25 -0
  10. package/dist/models/CategoryAutomationConditionType.js +51 -0
  11. package/dist/models/CategoryAutomationFieldType.d.ts +30 -0
  12. package/dist/models/CategoryAutomationFieldType.js +56 -0
  13. package/dist/models/CategoryAutomationRuleResource.d.ts +68 -0
  14. package/dist/models/CategoryAutomationRuleResource.js +67 -0
  15. package/dist/models/CategoryAutomationRuleResourceArrayResponse.d.ts +33 -0
  16. package/dist/models/CategoryAutomationRuleResourceArrayResponse.js +50 -0
  17. package/dist/models/ExternalApiLogResource.d.ts +1 -1
  18. package/dist/models/ExternalApiLogResource.js +3 -1
  19. package/dist/models/GetAllProductCategoryRequest.d.ts +115 -0
  20. package/dist/models/GetAllProductCategoryRequest.js +94 -0
  21. package/dist/models/IndexProductCategoryRequest.d.ts +127 -0
  22. package/dist/models/IndexProductCategoryRequest.js +98 -0
  23. package/dist/models/PaginatedProductCategoryListResourceResponse.d.ts +40 -0
  24. package/dist/models/PaginatedProductCategoryListResourceResponse.js +57 -0
  25. package/dist/models/PaginatedProductCategoryResourceResponse.d.ts +40 -0
  26. package/dist/models/PaginatedProductCategoryResourceResponse.js +57 -0
  27. package/dist/models/ProductCategoryHierarchyResource.d.ts +62 -0
  28. package/dist/models/ProductCategoryHierarchyResource.js +69 -0
  29. package/dist/models/ProductCategoryHierarchyResourceArrayResponse.d.ts +33 -0
  30. package/dist/models/ProductCategoryHierarchyResourceArrayResponse.js +50 -0
  31. package/dist/models/ProductCategoryListResource.d.ts +75 -0
  32. package/dist/models/ProductCategoryListResource.js +78 -0
  33. package/dist/models/ProductCategoryListResourceArrayResponse.d.ts +33 -0
  34. package/dist/models/ProductCategoryListResourceArrayResponse.js +50 -0
  35. package/dist/models/ProductCategoryLiteResource.d.ts +38 -0
  36. package/dist/models/ProductCategoryLiteResource.js +53 -0
  37. package/dist/models/ProductCategoryLiteResourceArrayResponse.d.ts +33 -0
  38. package/dist/models/ProductCategoryLiteResourceArrayResponse.js +50 -0
  39. package/dist/models/ProductCategoryResource.d.ts +107 -0
  40. package/dist/models/ProductCategoryResource.js +96 -0
  41. package/dist/models/ProductCategoryResourceArrayResponse.d.ts +33 -0
  42. package/dist/models/ProductCategoryResourceArrayResponse.js +50 -0
  43. package/dist/models/StoreProductCategoryRequest.d.ts +105 -0
  44. package/dist/models/StoreProductCategoryRequest.js +86 -0
  45. package/dist/models/StoreProductCategoryRequestAutomationRulesInner.d.ts +62 -0
  46. package/dist/models/StoreProductCategoryRequestAutomationRulesInner.js +63 -0
  47. package/dist/models/UpdateProductCategoryRequest.d.ts +105 -0
  48. package/dist/models/UpdateProductCategoryRequest.js +74 -0
  49. package/dist/models/index.d.ts +20 -12
  50. package/dist/models/index.js +20 -12
  51. package/docs/{ProductSortBy.md → CategoryAutomationComparisonType.md} +4 -4
  52. package/docs/{ProductStatus.md → CategoryAutomationConditionType.md} +4 -4
  53. package/docs/{ProductRating.md → CategoryAutomationFieldType.md} +4 -4
  54. package/docs/CategoryAutomationRuleResource.md +46 -0
  55. package/docs/CategoryAutomationRuleResourceArrayResponse.md +34 -0
  56. package/docs/GetAllProductCategoryRequest.md +52 -0
  57. package/docs/IndexProductCategoryRequest.md +56 -0
  58. package/docs/{PaginatedProductSearchResultResourceResponse.md → PaginatedProductCategoryListResourceResponse.md} +5 -5
  59. package/docs/PaginatedProductCategoryResourceResponse.md +36 -0
  60. package/docs/ProductCategoryApi.md +534 -0
  61. package/docs/{ProductAggregationResource.md → ProductCategoryHierarchyResource.md} +16 -12
  62. package/docs/ProductCategoryHierarchyResourceArrayResponse.md +34 -0
  63. package/docs/ProductCategoryListResource.md +48 -0
  64. package/docs/{ProductSearchResultResourceArrayResponse.md → ProductCategoryListResourceArrayResponse.md} +5 -5
  65. package/docs/ProductCategoryLiteResource.md +36 -0
  66. package/docs/{ProductSearchResponseResourceArrayResponse.md → ProductCategoryLiteResourceArrayResponse.md} +5 -5
  67. package/docs/ProductCategoryResource.md +58 -0
  68. package/docs/{ProductAggregationResourceArrayResponse.md → ProductCategoryResourceArrayResponse.md} +5 -5
  69. package/docs/StoreProductCategoryRequest.md +58 -0
  70. package/docs/StoreProductCategoryRequestAutomationRulesInner.md +44 -0
  71. package/docs/UpdateProductCategoryRequest.md +58 -0
  72. package/package.json +1 -1
  73. package/src/apis/ProductCategoryApi.ts +363 -0
  74. package/src/apis/index.ts +1 -0
  75. package/src/models/CategoryAutomationComparisonType.ts +57 -0
  76. package/src/models/CategoryAutomationConditionType.ts +53 -0
  77. package/src/models/CategoryAutomationFieldType.ts +58 -0
  78. package/src/models/CategoryAutomationRuleResource.ts +116 -0
  79. package/src/models/CategoryAutomationRuleResourceArrayResponse.ts +73 -0
  80. package/src/models/ExternalApiLogResource.ts +3 -2
  81. package/src/models/GetAllProductCategoryRequest.ts +171 -0
  82. package/src/models/IndexProductCategoryRequest.ts +187 -0
  83. package/src/models/PaginatedProductCategoryListResourceResponse.ts +90 -0
  84. package/src/models/PaginatedProductCategoryResourceResponse.ts +90 -0
  85. package/src/models/ProductCategoryHierarchyResource.ts +110 -0
  86. package/src/models/ProductCategoryHierarchyResourceArrayResponse.ts +73 -0
  87. package/src/models/ProductCategoryListResource.ts +136 -0
  88. package/src/models/ProductCategoryListResourceArrayResponse.ts +73 -0
  89. package/src/models/ProductCategoryLiteResource.ts +74 -0
  90. package/src/models/ProductCategoryLiteResourceArrayResponse.ts +73 -0
  91. package/src/models/ProductCategoryResource.ts +193 -0
  92. package/src/models/ProductCategoryResourceArrayResponse.ts +73 -0
  93. package/src/models/StoreProductCategoryRequest.ts +175 -0
  94. package/src/models/StoreProductCategoryRequestAutomationRulesInner.ts +107 -0
  95. package/src/models/UpdateProductCategoryRequest.ts +169 -0
  96. package/src/models/index.ts +20 -12
  97. package/dist/models/PaginatedProductSearchResultResourceResponse.d.ts +0 -40
  98. package/dist/models/PaginatedProductSearchResultResourceResponse.js +0 -57
  99. package/dist/models/ProductAggregationResource.d.ts +0 -50
  100. package/dist/models/ProductAggregationResource.js +0 -63
  101. package/dist/models/ProductAggregationResourceArrayResponse.d.ts +0 -33
  102. package/dist/models/ProductAggregationResourceArrayResponse.js +0 -50
  103. package/dist/models/ProductRating.d.ts +0 -26
  104. package/dist/models/ProductRating.js +0 -52
  105. package/dist/models/ProductSearchResponseResource.d.ts +0 -54
  106. package/dist/models/ProductSearchResponseResource.js +0 -67
  107. package/dist/models/ProductSearchResponseResourceArrayResponse.d.ts +0 -33
  108. package/dist/models/ProductSearchResponseResourceArrayResponse.js +0 -50
  109. package/dist/models/ProductSearchResponseResourceMeta.d.ts +0 -50
  110. package/dist/models/ProductSearchResponseResourceMeta.js +0 -63
  111. package/dist/models/ProductSearchResponseResourcePriceInfo.d.ts +0 -50
  112. package/dist/models/ProductSearchResponseResourcePriceInfo.js +0 -63
  113. package/dist/models/ProductSearchResultResource.d.ts +0 -116
  114. package/dist/models/ProductSearchResultResource.js +0 -105
  115. package/dist/models/ProductSearchResultResourceArrayResponse.d.ts +0 -33
  116. package/dist/models/ProductSearchResultResourceArrayResponse.js +0 -50
  117. package/dist/models/ProductSortBy.d.ts +0 -32
  118. package/dist/models/ProductSortBy.js +0 -58
  119. package/dist/models/ProductStatus.d.ts +0 -24
  120. package/dist/models/ProductStatus.js +0 -50
  121. package/docs/ProductSearchResponseResource.md +0 -40
  122. package/docs/ProductSearchResponseResourceMeta.md +0 -40
  123. package/docs/ProductSearchResponseResourcePriceInfo.md +0 -40
  124. package/docs/ProductSearchResultResource.md +0 -62
  125. package/src/models/PaginatedProductSearchResultResourceResponse.ts +0 -90
  126. package/src/models/ProductAggregationResource.ts +0 -93
  127. package/src/models/ProductAggregationResourceArrayResponse.ts +0 -73
  128. package/src/models/ProductRating.ts +0 -54
  129. package/src/models/ProductSearchResponseResource.ts +0 -122
  130. package/src/models/ProductSearchResponseResourceArrayResponse.ts +0 -73
  131. package/src/models/ProductSearchResponseResourceMeta.ts +0 -93
  132. package/src/models/ProductSearchResponseResourcePriceInfo.ts +0 -93
  133. package/src/models/ProductSearchResultResource.ts +0 -191
  134. package/src/models/ProductSearchResultResourceArrayResponse.ts +0 -73
  135. package/src/models/ProductSortBy.ts +0 -60
  136. package/src/models/ProductStatus.ts +0 -52
@@ -0,0 +1,36 @@
1
+
2
+ # ProductCategoryLiteResource
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `id` | number
10
+ `name` | string
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import type { ProductCategoryLiteResource } from '@digital8/lighting-illusions-ts-sdk'
16
+
17
+ // TODO: Update the object below with actual values
18
+ const example = {
19
+ "id": null,
20
+ "name": null,
21
+ } satisfies ProductCategoryLiteResource
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 ProductCategoryLiteResource
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
+
@@ -1,22 +1,22 @@
1
1
 
2
- # ProductSearchResponseResourceArrayResponse
2
+ # ProductCategoryLiteResourceArrayResponse
3
3
 
4
4
 
5
5
  ## Properties
6
6
 
7
7
  Name | Type
8
8
  ------------ | -------------
9
- `data` | [Array<ProductSearchResponseResource>](ProductSearchResponseResource.md)
9
+ `data` | [Array<ProductCategoryLiteResource>](ProductCategoryLiteResource.md)
10
10
 
11
11
  ## Example
12
12
 
13
13
  ```typescript
14
- import type { ProductSearchResponseResourceArrayResponse } from '@digital8/lighting-illusions-ts-sdk'
14
+ import type { ProductCategoryLiteResourceArrayResponse } from '@digital8/lighting-illusions-ts-sdk'
15
15
 
16
16
  // TODO: Update the object below with actual values
17
17
  const example = {
18
18
  "data": null,
19
- } satisfies ProductSearchResponseResourceArrayResponse
19
+ } satisfies ProductCategoryLiteResourceArrayResponse
20
20
 
21
21
  console.log(example)
22
22
 
@@ -25,7 +25,7 @@ const exampleJSON: string = JSON.stringify(example)
25
25
  console.log(exampleJSON)
26
26
 
27
27
  // Parse the JSON string back to an object
28
- const exampleParsed = JSON.parse(exampleJSON) as ProductSearchResponseResourceArrayResponse
28
+ const exampleParsed = JSON.parse(exampleJSON) as ProductCategoryLiteResourceArrayResponse
29
29
  console.log(exampleParsed)
30
30
  ```
31
31
 
@@ -0,0 +1,58 @@
1
+
2
+ # ProductCategoryResource
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `id` | number
10
+ `siteId` | number
11
+ `name` | string
12
+ `slug` | string
13
+ `parentId` | string
14
+ `isDisabled` | boolean
15
+ `isAutomated` | boolean
16
+ `index` | number
17
+ `automatedConditionType` | string
18
+ `thumbnail` | [AssetResource](AssetResource.md)
19
+ `automationRules` | object
20
+ `parent` | [ProductCategoryLiteResource](ProductCategoryLiteResource.md)
21
+ `site` | [SiteLiteResource](SiteLiteResource.md)
22
+
23
+ ## Example
24
+
25
+ ```typescript
26
+ import type { ProductCategoryResource } from '@digital8/lighting-illusions-ts-sdk'
27
+
28
+ // TODO: Update the object below with actual values
29
+ const example = {
30
+ "id": null,
31
+ "siteId": null,
32
+ "name": null,
33
+ "slug": null,
34
+ "parentId": null,
35
+ "isDisabled": null,
36
+ "isAutomated": null,
37
+ "index": null,
38
+ "automatedConditionType": null,
39
+ "thumbnail": null,
40
+ "automationRules": null,
41
+ "parent": null,
42
+ "site": null,
43
+ } satisfies ProductCategoryResource
44
+
45
+ console.log(example)
46
+
47
+ // Convert the instance to a JSON string
48
+ const exampleJSON: string = JSON.stringify(example)
49
+ console.log(exampleJSON)
50
+
51
+ // Parse the JSON string back to an object
52
+ const exampleParsed = JSON.parse(exampleJSON) as ProductCategoryResource
53
+ console.log(exampleParsed)
54
+ ```
55
+
56
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
57
+
58
+
@@ -1,22 +1,22 @@
1
1
 
2
- # ProductAggregationResourceArrayResponse
2
+ # ProductCategoryResourceArrayResponse
3
3
 
4
4
 
5
5
  ## Properties
6
6
 
7
7
  Name | Type
8
8
  ------------ | -------------
9
- `data` | [Array<ProductAggregationResource>](ProductAggregationResource.md)
9
+ `data` | [Array<ProductCategoryResource>](ProductCategoryResource.md)
10
10
 
11
11
  ## Example
12
12
 
13
13
  ```typescript
14
- import type { ProductAggregationResourceArrayResponse } from '@digital8/lighting-illusions-ts-sdk'
14
+ import type { ProductCategoryResourceArrayResponse } from '@digital8/lighting-illusions-ts-sdk'
15
15
 
16
16
  // TODO: Update the object below with actual values
17
17
  const example = {
18
18
  "data": null,
19
- } satisfies ProductAggregationResourceArrayResponse
19
+ } satisfies ProductCategoryResourceArrayResponse
20
20
 
21
21
  console.log(example)
22
22
 
@@ -25,7 +25,7 @@ const exampleJSON: string = JSON.stringify(example)
25
25
  console.log(exampleJSON)
26
26
 
27
27
  // Parse the JSON string back to an object
28
- const exampleParsed = JSON.parse(exampleJSON) as ProductAggregationResourceArrayResponse
28
+ const exampleParsed = JSON.parse(exampleJSON) as ProductCategoryResourceArrayResponse
29
29
  console.log(exampleParsed)
30
30
  ```
31
31
 
@@ -0,0 +1,58 @@
1
+
2
+ # StoreProductCategoryRequest
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `siteId` | string
10
+ `name` | string
11
+ `slug` | string
12
+ `parentId` | string
13
+ `isDisabled` | boolean
14
+ `hideFromFrontend` | boolean
15
+ `isAutomated` | boolean
16
+ `index` | number
17
+ `automatedConditionType` | string
18
+ `automationRules` | [Array<StoreProductCategoryRequestAutomationRulesInner>](StoreProductCategoryRequestAutomationRulesInner.md)
19
+ `altText` | string
20
+ `mimeType` | string
21
+ `fileId` | number
22
+
23
+ ## Example
24
+
25
+ ```typescript
26
+ import type { StoreProductCategoryRequest } from '@digital8/lighting-illusions-ts-sdk'
27
+
28
+ // TODO: Update the object below with actual values
29
+ const example = {
30
+ "siteId": null,
31
+ "name": null,
32
+ "slug": null,
33
+ "parentId": null,
34
+ "isDisabled": null,
35
+ "hideFromFrontend": null,
36
+ "isAutomated": null,
37
+ "index": null,
38
+ "automatedConditionType": null,
39
+ "automationRules": null,
40
+ "altText": null,
41
+ "mimeType": null,
42
+ "fileId": null,
43
+ } satisfies StoreProductCategoryRequest
44
+
45
+ console.log(example)
46
+
47
+ // Convert the instance to a JSON string
48
+ const exampleJSON: string = JSON.stringify(example)
49
+ console.log(exampleJSON)
50
+
51
+ // Parse the JSON string back to an object
52
+ const exampleParsed = JSON.parse(exampleJSON) as StoreProductCategoryRequest
53
+ console.log(exampleParsed)
54
+ ```
55
+
56
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
57
+
58
+
@@ -0,0 +1,44 @@
1
+
2
+ # StoreProductCategoryRequestAutomationRulesInner
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `fieldType` | string
10
+ `comparisonType` | string
11
+ `groupId` | number
12
+ `relatedId` | string
13
+ `value` | string
14
+ `valueId` | number
15
+
16
+ ## Example
17
+
18
+ ```typescript
19
+ import type { StoreProductCategoryRequestAutomationRulesInner } from '@digital8/lighting-illusions-ts-sdk'
20
+
21
+ // TODO: Update the object below with actual values
22
+ const example = {
23
+ "fieldType": null,
24
+ "comparisonType": null,
25
+ "groupId": null,
26
+ "relatedId": null,
27
+ "value": null,
28
+ "valueId": null,
29
+ } satisfies StoreProductCategoryRequestAutomationRulesInner
30
+
31
+ console.log(example)
32
+
33
+ // Convert the instance to a JSON string
34
+ const exampleJSON: string = JSON.stringify(example)
35
+ console.log(exampleJSON)
36
+
37
+ // Parse the JSON string back to an object
38
+ const exampleParsed = JSON.parse(exampleJSON) as StoreProductCategoryRequestAutomationRulesInner
39
+ console.log(exampleParsed)
40
+ ```
41
+
42
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
43
+
44
+
@@ -0,0 +1,58 @@
1
+
2
+ # UpdateProductCategoryRequest
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `siteId` | string
10
+ `name` | string
11
+ `slug` | string
12
+ `parentId` | string
13
+ `isDisabled` | boolean
14
+ `hideFromFrontend` | boolean
15
+ `isAutomated` | boolean
16
+ `index` | number
17
+ `automatedConditionType` | string
18
+ `automationRules` | [Array<StoreProductCategoryRequestAutomationRulesInner>](StoreProductCategoryRequestAutomationRulesInner.md)
19
+ `altText` | string
20
+ `mimeType` | string
21
+ `fileId` | number
22
+
23
+ ## Example
24
+
25
+ ```typescript
26
+ import type { UpdateProductCategoryRequest } from '@digital8/lighting-illusions-ts-sdk'
27
+
28
+ // TODO: Update the object below with actual values
29
+ const example = {
30
+ "siteId": null,
31
+ "name": null,
32
+ "slug": null,
33
+ "parentId": null,
34
+ "isDisabled": null,
35
+ "hideFromFrontend": null,
36
+ "isAutomated": null,
37
+ "index": null,
38
+ "automatedConditionType": null,
39
+ "automationRules": null,
40
+ "altText": null,
41
+ "mimeType": null,
42
+ "fileId": null,
43
+ } satisfies UpdateProductCategoryRequest
44
+
45
+ console.log(example)
46
+
47
+ // Convert the instance to a JSON string
48
+ const exampleJSON: string = JSON.stringify(example)
49
+ console.log(exampleJSON)
50
+
51
+ // Parse the JSON string back to an object
52
+ const exampleParsed = JSON.parse(exampleJSON) as UpdateProductCategoryRequest
53
+ console.log(exampleParsed)
54
+ ```
55
+
56
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
57
+
58
+
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@digital8/lighting-illusions-ts-sdk",
3
- "version": "0.0.530",
3
+ "version": "0.0.532",
4
4
  "description": "OpenAPI client for @digital8/lighting-illusions-ts-sdk",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {