@digital8/lighting-illusions-ts-sdk 0.0.1502 → 0.0.1503

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 (175) hide show
  1. package/.openapi-generator/FILES +56 -16
  2. package/README.md +44 -13
  3. package/dist/apis/AdminApi.d.ts +4 -4
  4. package/dist/apis/AdminApi.js +3 -3
  5. package/dist/apis/MenuApi.d.ts +109 -0
  6. package/dist/apis/MenuApi.js +433 -0
  7. package/dist/apis/MenuItemsApi.d.ts +124 -0
  8. package/dist/apis/MenuItemsApi.js +491 -0
  9. package/dist/apis/ProductCategoryApi.d.ts +6 -6
  10. package/dist/apis/ProductCategoryApi.js +1 -1
  11. package/dist/apis/index.d.ts +2 -1
  12. package/dist/apis/index.js +2 -1
  13. package/dist/models/AddressFrontendResource.d.ts +1 -1
  14. package/dist/models/AddressFrontendResource.js +1 -3
  15. package/dist/models/AddressResource.d.ts +1 -1
  16. package/dist/models/AddressResource.js +3 -1
  17. package/dist/models/GetAllMenuItemRequest.d.ts +93 -0
  18. package/dist/models/GetAllMenuItemRequest.js +81 -0
  19. package/dist/models/GetAllMenuRequest.d.ts +92 -0
  20. package/dist/models/GetAllMenuRequest.js +80 -0
  21. package/dist/models/GetHierarchyMenuItemRequest.d.ts +32 -0
  22. package/dist/models/GetHierarchyMenuItemRequest.js +51 -0
  23. package/dist/models/IndexMenuRequest.d.ts +104 -0
  24. package/dist/models/{IndexRedirectRequest.js → IndexMenuRequest.js} +22 -29
  25. package/dist/models/MenuItemEditResource.d.ts +119 -0
  26. package/dist/models/MenuItemEditResource.js +94 -0
  27. package/dist/models/MenuItemEditResourceArrayResponse.d.ts +33 -0
  28. package/dist/models/MenuItemEditResourceArrayResponse.js +50 -0
  29. package/dist/models/MenuItemHierarchyResource.d.ts +74 -0
  30. package/dist/models/MenuItemHierarchyResource.js +73 -0
  31. package/dist/models/MenuItemHierarchyResourceArrayResponse.d.ts +33 -0
  32. package/dist/models/MenuItemHierarchyResourceArrayResponse.js +50 -0
  33. package/dist/models/MenuItemLinkResource.d.ts +62 -0
  34. package/dist/models/MenuItemLinkResource.js +65 -0
  35. package/dist/models/MenuItemLinkResourceArrayResponse.d.ts +33 -0
  36. package/dist/models/MenuItemLinkResourceArrayResponse.js +50 -0
  37. package/dist/models/MenuItemResource.d.ts +124 -0
  38. package/dist/models/MenuItemResource.js +95 -0
  39. package/dist/models/MenuItemResourceArrayResponse.d.ts +33 -0
  40. package/dist/models/MenuItemResourceArrayResponse.js +50 -0
  41. package/dist/models/MenuItemType.d.ts +27 -0
  42. package/dist/models/MenuItemType.js +53 -0
  43. package/dist/models/MenuListResource.d.ts +57 -0
  44. package/dist/models/MenuListResource.js +66 -0
  45. package/dist/models/MenuListResourceArrayResponse.d.ts +33 -0
  46. package/dist/models/MenuListResourceArrayResponse.js +50 -0
  47. package/dist/models/MenuPosition.d.ts +27 -0
  48. package/dist/models/MenuPosition.js +53 -0
  49. package/dist/models/MenuResource.d.ts +63 -0
  50. package/dist/models/MenuResource.js +70 -0
  51. package/dist/models/MenuResourceArrayResponse.d.ts +33 -0
  52. package/dist/models/MenuResourceArrayResponse.js +50 -0
  53. package/dist/models/PaginatedMenuListResourceResponse.d.ts +40 -0
  54. package/dist/models/PaginatedMenuListResourceResponse.js +57 -0
  55. package/dist/models/SearchLinkablesMenuItemRequest.d.ts +54 -0
  56. package/dist/models/SearchLinkablesMenuItemRequest.js +65 -0
  57. package/dist/models/StoreAssetForAssetableRequest.d.ts +2 -0
  58. package/dist/models/StoreAssetForAssetableRequest.js +3 -1
  59. package/dist/models/StoreFrontendResource.d.ts +1 -1
  60. package/dist/models/StoreFrontendResource.js +1 -3
  61. package/dist/models/StoreListResource.d.ts +1 -1
  62. package/dist/models/StoreListResource.js +1 -3
  63. package/dist/models/StoreMenuItemRequest.d.ts +97 -0
  64. package/dist/models/StoreMenuItemRequest.js +84 -0
  65. package/dist/models/StoreMenuItemRequestMenuItemLink.d.ts +60 -0
  66. package/dist/models/StoreMenuItemRequestMenuItemLink.js +65 -0
  67. package/dist/models/StoreMenuRequest.d.ts +54 -0
  68. package/dist/models/StoreMenuRequest.js +69 -0
  69. package/dist/models/StoreResource.d.ts +1 -1
  70. package/dist/models/StoreResource.js +1 -3
  71. package/dist/models/StoreSpecialDateResource.d.ts +2 -2
  72. package/dist/models/StoreSpecialDateResource.js +1 -3
  73. package/dist/models/UpdateMenuItemRequest.d.ts +97 -0
  74. package/dist/models/UpdateMenuItemRequest.js +78 -0
  75. package/dist/models/UpdateMenuRequest.d.ts +61 -0
  76. package/dist/models/UpdateMenuRequest.js +66 -0
  77. package/dist/models/UpdateMenuRequestMenuItemOrderInner.d.ts +44 -0
  78. package/dist/models/UpdateMenuRequestMenuItemOrderInner.js +53 -0
  79. package/dist/models/index.d.ts +26 -7
  80. package/dist/models/index.js +26 -7
  81. package/docs/AdminApi.md +12 -12
  82. package/docs/GetAllMenuItemRequest.md +48 -0
  83. package/docs/GetAllMenuRequest.md +48 -0
  84. package/docs/{GetHierarchyProductCategoryRequest.md → GetHierarchyMenuItemRequest.md} +4 -4
  85. package/docs/{IndexRedirectRequest.md → IndexMenuRequest.md} +6 -6
  86. package/docs/MenuApi.md +407 -0
  87. package/docs/MenuItemEditResource.md +62 -0
  88. package/docs/{RedirectListResourceArrayResponse.md → MenuItemEditResourceArrayResponse.md} +5 -5
  89. package/docs/MenuItemHierarchyResource.md +48 -0
  90. package/docs/MenuItemHierarchyResourceArrayResponse.md +34 -0
  91. package/docs/MenuItemLinkResource.md +44 -0
  92. package/docs/{RedirectFrontendResourceArrayResponse.md → MenuItemLinkResourceArrayResponse.md} +5 -5
  93. package/docs/MenuItemResource.md +64 -0
  94. package/docs/MenuItemResourceArrayResponse.md +34 -0
  95. package/docs/MenuItemType.md +32 -0
  96. package/docs/MenuItemsApi.md +473 -0
  97. package/docs/{RedirectListResource.md → MenuListResource.md} +10 -14
  98. package/docs/MenuListResourceArrayResponse.md +34 -0
  99. package/docs/MenuPosition.md +32 -0
  100. package/docs/{RedirectFrontendResource.md → MenuResource.md} +12 -12
  101. package/docs/MenuResourceArrayResponse.md +34 -0
  102. package/docs/{PaginatedRedirectListResourceResponse.md → PaginatedMenuListResourceResponse.md} +5 -5
  103. package/docs/ProductCategoryApi.md +7 -7
  104. package/docs/SearchLinkablesMenuItemRequest.md +38 -0
  105. package/docs/StoreMenuItemRequest.md +52 -0
  106. package/docs/StoreMenuItemRequestMenuItemLink.md +40 -0
  107. package/docs/StoreMenuRequest.md +38 -0
  108. package/docs/StoreSpecialDateResource.md +1 -1
  109. package/docs/UpdateMenuItemRequest.md +52 -0
  110. package/docs/UpdateMenuRequest.md +40 -0
  111. package/docs/UpdateMenuRequestMenuItemOrderInner.md +38 -0
  112. package/package.json +1 -1
  113. package/src/apis/AdminApi.ts +9 -9
  114. package/src/apis/MenuApi.ts +334 -0
  115. package/src/apis/MenuItemsApi.ts +381 -0
  116. package/src/apis/ProductCategoryApi.ts +9 -9
  117. package/src/apis/index.ts +2 -1
  118. package/src/models/AddressFrontendResource.ts +2 -3
  119. package/src/models/AddressResource.ts +3 -2
  120. package/src/models/GetAllMenuItemRequest.ts +144 -0
  121. package/src/models/GetAllMenuRequest.ts +143 -0
  122. package/src/models/GetHierarchyMenuItemRequest.ts +66 -0
  123. package/src/models/IndexMenuRequest.ts +159 -0
  124. package/src/models/MenuItemEditResource.ts +206 -0
  125. package/src/models/MenuItemEditResourceArrayResponse.ts +73 -0
  126. package/src/models/MenuItemHierarchyResource.ts +126 -0
  127. package/src/models/MenuItemHierarchyResourceArrayResponse.ts +73 -0
  128. package/src/models/MenuItemLinkResource.ts +108 -0
  129. package/src/models/MenuItemLinkResourceArrayResponse.ts +73 -0
  130. package/src/models/MenuItemResource.ts +207 -0
  131. package/src/models/MenuItemResourceArrayResponse.ts +73 -0
  132. package/src/models/MenuItemType.ts +55 -0
  133. package/src/models/MenuListResource.ts +109 -0
  134. package/src/models/MenuListResourceArrayResponse.ts +73 -0
  135. package/src/models/MenuPosition.ts +55 -0
  136. package/src/models/MenuResource.ts +118 -0
  137. package/src/models/MenuResourceArrayResponse.ts +73 -0
  138. package/src/models/PaginatedMenuListResourceResponse.ts +90 -0
  139. package/src/models/SearchLinkablesMenuItemRequest.ts +95 -0
  140. package/src/models/StoreAssetForAssetableRequest.ts +3 -1
  141. package/src/models/StoreFrontendResource.ts +2 -3
  142. package/src/models/StoreListResource.ts +2 -3
  143. package/src/models/StoreMenuItemRequest.ts +161 -0
  144. package/src/models/StoreMenuItemRequestMenuItemLink.ts +102 -0
  145. package/src/models/StoreMenuRequest.ts +97 -0
  146. package/src/models/StoreResource.ts +2 -3
  147. package/src/models/StoreSpecialDateResource.ts +3 -4
  148. package/src/models/UpdateMenuItemRequest.ts +158 -0
  149. package/src/models/UpdateMenuRequest.ts +110 -0
  150. package/src/models/UpdateMenuRequestMenuItemOrderInner.ts +81 -0
  151. package/src/models/index.ts +26 -7
  152. package/dist/apis/RedirectApi.d.ts +0 -33
  153. package/dist/apis/RedirectApi.js +0 -138
  154. package/dist/models/GetHierarchyProductCategoryRequest.d.ts +0 -32
  155. package/dist/models/GetHierarchyProductCategoryRequest.js +0 -51
  156. package/dist/models/IndexRedirectRequest.d.ts +0 -112
  157. package/dist/models/PaginatedRedirectListResourceResponse.d.ts +0 -40
  158. package/dist/models/PaginatedRedirectListResourceResponse.js +0 -57
  159. package/dist/models/RedirectFrontendResource.d.ts +0 -62
  160. package/dist/models/RedirectFrontendResource.js +0 -71
  161. package/dist/models/RedirectFrontendResourceArrayResponse.d.ts +0 -33
  162. package/dist/models/RedirectFrontendResourceArrayResponse.js +0 -50
  163. package/dist/models/RedirectListResource.d.ts +0 -69
  164. package/dist/models/RedirectListResource.js +0 -76
  165. package/dist/models/RedirectListResourceArrayResponse.d.ts +0 -33
  166. package/dist/models/RedirectListResourceArrayResponse.js +0 -50
  167. package/docs/RedirectApi.md +0 -74
  168. package/src/apis/RedirectApi.ts +0 -77
  169. package/src/models/GetHierarchyProductCategoryRequest.ts +0 -66
  170. package/src/models/IndexRedirectRequest.ts +0 -168
  171. package/src/models/PaginatedRedirectListResourceResponse.ts +0 -90
  172. package/src/models/RedirectFrontendResource.ts +0 -111
  173. package/src/models/RedirectFrontendResourceArrayResponse.ts +0 -73
  174. package/src/models/RedirectListResource.ts +0 -128
  175. package/src/models/RedirectListResourceArrayResponse.ts +0 -73
@@ -0,0 +1,32 @@
1
+
2
+ # MenuPosition
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+
10
+ ## Example
11
+
12
+ ```typescript
13
+ import type { MenuPosition } from '@digital8/lighting-illusions-ts-sdk'
14
+
15
+ // TODO: Update the object below with actual values
16
+ const example = {
17
+ } satisfies MenuPosition
18
+
19
+ console.log(example)
20
+
21
+ // Convert the instance to a JSON string
22
+ const exampleJSON: string = JSON.stringify(example)
23
+ console.log(exampleJSON)
24
+
25
+ // Parse the JSON string back to an object
26
+ const exampleParsed = JSON.parse(exampleJSON) as MenuPosition
27
+ console.log(exampleParsed)
28
+ ```
29
+
30
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
31
+
32
+
@@ -1,5 +1,5 @@
1
1
 
2
- # RedirectFrontendResource
2
+ # MenuResource
3
3
 
4
4
 
5
5
  ## Properties
@@ -8,25 +8,25 @@ Name | Type
8
8
  ------------ | -------------
9
9
  `id` | number
10
10
  `siteId` | number
11
- `fromSlug` | string
12
- `toSlug` | string
13
- `status` | number
14
- `redirectableType` | string
11
+ `position` | string
12
+ `name` | string
13
+ `site` | [SiteResource](SiteResource.md)
14
+ `menuItemCount` | number
15
15
 
16
16
  ## Example
17
17
 
18
18
  ```typescript
19
- import type { RedirectFrontendResource } from '@digital8/lighting-illusions-ts-sdk'
19
+ import type { MenuResource } from '@digital8/lighting-illusions-ts-sdk'
20
20
 
21
21
  // TODO: Update the object below with actual values
22
22
  const example = {
23
23
  "id": null,
24
24
  "siteId": null,
25
- "fromSlug": null,
26
- "toSlug": null,
27
- "status": null,
28
- "redirectableType": null,
29
- } satisfies RedirectFrontendResource
25
+ "position": null,
26
+ "name": null,
27
+ "site": null,
28
+ "menuItemCount": null,
29
+ } satisfies MenuResource
30
30
 
31
31
  console.log(example)
32
32
 
@@ -35,7 +35,7 @@ const exampleJSON: string = JSON.stringify(example)
35
35
  console.log(exampleJSON)
36
36
 
37
37
  // Parse the JSON string back to an object
38
- const exampleParsed = JSON.parse(exampleJSON) as RedirectFrontendResource
38
+ const exampleParsed = JSON.parse(exampleJSON) as MenuResource
39
39
  console.log(exampleParsed)
40
40
  ```
41
41
 
@@ -0,0 +1,34 @@
1
+
2
+ # MenuResourceArrayResponse
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `data` | [Array<MenuResource>](MenuResource.md)
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import type { MenuResourceArrayResponse } from '@digital8/lighting-illusions-ts-sdk'
15
+
16
+ // TODO: Update the object below with actual values
17
+ const example = {
18
+ "data": null,
19
+ } satisfies MenuResourceArrayResponse
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 MenuResourceArrayResponse
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,24 +1,24 @@
1
1
 
2
- # PaginatedRedirectListResourceResponse
2
+ # PaginatedMenuListResourceResponse
3
3
 
4
4
 
5
5
  ## Properties
6
6
 
7
7
  Name | Type
8
8
  ------------ | -------------
9
- `data` | [Array<RedirectListResource>](RedirectListResource.md)
9
+ `data` | [Array<MenuListResource>](MenuListResource.md)
10
10
  `meta` | [PagingMetadata](PagingMetadata.md)
11
11
 
12
12
  ## Example
13
13
 
14
14
  ```typescript
15
- import type { PaginatedRedirectListResourceResponse } from '@digital8/lighting-illusions-ts-sdk'
15
+ import type { PaginatedMenuListResourceResponse } from '@digital8/lighting-illusions-ts-sdk'
16
16
 
17
17
  // TODO: Update the object below with actual values
18
18
  const example = {
19
19
  "data": null,
20
20
  "meta": null,
21
- } satisfies PaginatedRedirectListResourceResponse
21
+ } satisfies PaginatedMenuListResourceResponse
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 PaginatedRedirectListResourceResponse
30
+ const exampleParsed = JSON.parse(exampleJSON) as PaginatedMenuListResourceResponse
31
31
  console.log(exampleParsed)
32
32
  ```
33
33
 
@@ -11,7 +11,7 @@ All URIs are relative to *http://localhost/api*
11
11
  | [**getAllChildrenProductCategory**](ProductCategoryApi.md#getallchildrenproductcategory) | **POST** /admin-api/product-category/{productCategory}/children/all | Auto-generated: getAllChildrenProductCategory |
12
12
  | [**getAllProductCategory**](ProductCategoryApi.md#getallproductcategoryoperation) | **POST** /admin-api/product-category/all | Auto-generated: getAllProductCategory |
13
13
  | [**getChildrenProductCategory**](ProductCategoryApi.md#getchildrenproductcategory) | **GET** /admin-api/product-category/{productCategory}/children | Auto-generated: getChildrenProductCategory |
14
- | [**getHierarchyProductCategory**](ProductCategoryApi.md#gethierarchyproductcategoryoperation) | **POST** /admin-api/product-category/hierarchy | Auto-generated: getHierarchyProductCategory |
14
+ | [**getHierarchyProductCategory**](ProductCategoryApi.md#gethierarchyproductcategory) | **POST** /admin-api/product-category/hierarchy | Auto-generated: getHierarchyProductCategory |
15
15
  | [**indexProductCategory**](ProductCategoryApi.md#indexproductcategoryoperation) | **POST** /admin-api/product-category/list | Auto-generated: indexProductCategory |
16
16
  | [**previewAutomationRulesProductCategory**](ProductCategoryApi.md#previewautomationrulesproductcategoryoperation) | **POST** /admin-api/product-category/preview-automation-rules | Auto-generated: previewAutomationRulesProductCategory |
17
17
  | [**showProductCategory**](ProductCategoryApi.md#showproductcategory) | **GET** /admin-api/product-category/{productCategory} | Auto-generated: showProductCategory |
@@ -489,7 +489,7 @@ No authorization required
489
489
 
490
490
  ## getHierarchyProductCategory
491
491
 
492
- > ProductCategoryHierarchyResourceArrayResponse getHierarchyProductCategory(getHierarchyProductCategoryRequest)
492
+ > ProductCategoryHierarchyResourceArrayResponse getHierarchyProductCategory(getHierarchyMenuItemRequest)
493
493
 
494
494
  Auto-generated: getHierarchyProductCategory
495
495
 
@@ -500,16 +500,16 @@ import {
500
500
  Configuration,
501
501
  ProductCategoryApi,
502
502
  } from '@digital8/lighting-illusions-ts-sdk';
503
- import type { GetHierarchyProductCategoryOperationRequest } from '@digital8/lighting-illusions-ts-sdk';
503
+ import type { GetHierarchyProductCategoryRequest } from '@digital8/lighting-illusions-ts-sdk';
504
504
 
505
505
  async function example() {
506
506
  console.log("🚀 Testing @digital8/lighting-illusions-ts-sdk SDK...");
507
507
  const api = new ProductCategoryApi();
508
508
 
509
509
  const body = {
510
- // GetHierarchyProductCategoryRequest (optional)
511
- getHierarchyProductCategoryRequest: ...,
512
- } satisfies GetHierarchyProductCategoryOperationRequest;
510
+ // GetHierarchyMenuItemRequest (optional)
511
+ getHierarchyMenuItemRequest: ...,
512
+ } satisfies GetHierarchyProductCategoryRequest;
513
513
 
514
514
  try {
515
515
  const data = await api.getHierarchyProductCategory(body);
@@ -528,7 +528,7 @@ example().catch(console.error);
528
528
 
529
529
  | Name | Type | Description | Notes |
530
530
  |------------- | ------------- | ------------- | -------------|
531
- | **getHierarchyProductCategoryRequest** | [GetHierarchyProductCategoryRequest](GetHierarchyProductCategoryRequest.md) | | [Optional] |
531
+ | **getHierarchyMenuItemRequest** | [GetHierarchyMenuItemRequest](GetHierarchyMenuItemRequest.md) | | [Optional] |
532
532
 
533
533
  ### Return type
534
534
 
@@ -0,0 +1,38 @@
1
+
2
+ # SearchLinkablesMenuItemRequest
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `search` | string
10
+ `types` | Array<string>
11
+ `siteId` | number
12
+
13
+ ## Example
14
+
15
+ ```typescript
16
+ import type { SearchLinkablesMenuItemRequest } from '@digital8/lighting-illusions-ts-sdk'
17
+
18
+ // TODO: Update the object below with actual values
19
+ const example = {
20
+ "search": null,
21
+ "types": null,
22
+ "siteId": null,
23
+ } satisfies SearchLinkablesMenuItemRequest
24
+
25
+ console.log(example)
26
+
27
+ // Convert the instance to a JSON string
28
+ const exampleJSON: string = JSON.stringify(example)
29
+ console.log(exampleJSON)
30
+
31
+ // Parse the JSON string back to an object
32
+ const exampleParsed = JSON.parse(exampleJSON) as SearchLinkablesMenuItemRequest
33
+ console.log(exampleParsed)
34
+ ```
35
+
36
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
37
+
38
+
@@ -0,0 +1,52 @@
1
+
2
+ # StoreMenuItemRequest
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `menuId` | number
10
+ `parentId` | number
11
+ `type` | string
12
+ `heading` | string
13
+ `subheading` | string
14
+ `css` | string
15
+ `cssMobile` | string
16
+ `javascript` | string
17
+ `index` | number
18
+ `menuItemLink` | [StoreMenuItemRequestMenuItemLink](StoreMenuItemRequestMenuItemLink.md)
19
+
20
+ ## Example
21
+
22
+ ```typescript
23
+ import type { StoreMenuItemRequest } from '@digital8/lighting-illusions-ts-sdk'
24
+
25
+ // TODO: Update the object below with actual values
26
+ const example = {
27
+ "menuId": null,
28
+ "parentId": null,
29
+ "type": null,
30
+ "heading": null,
31
+ "subheading": null,
32
+ "css": null,
33
+ "cssMobile": null,
34
+ "javascript": null,
35
+ "index": null,
36
+ "menuItemLink": null,
37
+ } satisfies StoreMenuItemRequest
38
+
39
+ console.log(example)
40
+
41
+ // Convert the instance to a JSON string
42
+ const exampleJSON: string = JSON.stringify(example)
43
+ console.log(exampleJSON)
44
+
45
+ // Parse the JSON string back to an object
46
+ const exampleParsed = JSON.parse(exampleJSON) as StoreMenuItemRequest
47
+ console.log(exampleParsed)
48
+ ```
49
+
50
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
51
+
52
+
@@ -0,0 +1,40 @@
1
+
2
+ # StoreMenuItemRequestMenuItemLink
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `linkableType` | string
10
+ `linkableId` | number
11
+ `link` | string
12
+ `isExternalLink` | boolean
13
+
14
+ ## Example
15
+
16
+ ```typescript
17
+ import type { StoreMenuItemRequestMenuItemLink } from '@digital8/lighting-illusions-ts-sdk'
18
+
19
+ // TODO: Update the object below with actual values
20
+ const example = {
21
+ "linkableType": null,
22
+ "linkableId": null,
23
+ "link": null,
24
+ "isExternalLink": null,
25
+ } satisfies StoreMenuItemRequestMenuItemLink
26
+
27
+ console.log(example)
28
+
29
+ // Convert the instance to a JSON string
30
+ const exampleJSON: string = JSON.stringify(example)
31
+ console.log(exampleJSON)
32
+
33
+ // Parse the JSON string back to an object
34
+ const exampleParsed = JSON.parse(exampleJSON) as StoreMenuItemRequestMenuItemLink
35
+ console.log(exampleParsed)
36
+ ```
37
+
38
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
39
+
40
+
@@ -0,0 +1,38 @@
1
+
2
+ # StoreMenuRequest
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `siteId` | number
10
+ `position` | string
11
+ `name` | string
12
+
13
+ ## Example
14
+
15
+ ```typescript
16
+ import type { StoreMenuRequest } from '@digital8/lighting-illusions-ts-sdk'
17
+
18
+ // TODO: Update the object below with actual values
19
+ const example = {
20
+ "siteId": null,
21
+ "position": null,
22
+ "name": null,
23
+ } satisfies StoreMenuRequest
24
+
25
+ console.log(example)
26
+
27
+ // Convert the instance to a JSON string
28
+ const exampleJSON: string = JSON.stringify(example)
29
+ console.log(exampleJSON)
30
+
31
+ // Parse the JSON string back to an object
32
+ const exampleParsed = JSON.parse(exampleJSON) as StoreMenuRequest
33
+ console.log(exampleParsed)
34
+ ```
35
+
36
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
37
+
38
+
@@ -9,7 +9,7 @@ Name | Type
9
9
  `id` | number
10
10
  `name` | string
11
11
  `hours` | string
12
- `date` | object
12
+ `date` | string
13
13
  `closed` | boolean
14
14
  `displayStartDate` | string
15
15
  `displayEndDate` | string
@@ -0,0 +1,52 @@
1
+
2
+ # UpdateMenuItemRequest
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `menuId` | number
10
+ `parentId` | number
11
+ `type` | string
12
+ `heading` | string
13
+ `subheading` | string
14
+ `css` | string
15
+ `cssMobile` | string
16
+ `javascript` | string
17
+ `index` | number
18
+ `menuItemLink` | [StoreMenuItemRequestMenuItemLink](StoreMenuItemRequestMenuItemLink.md)
19
+
20
+ ## Example
21
+
22
+ ```typescript
23
+ import type { UpdateMenuItemRequest } from '@digital8/lighting-illusions-ts-sdk'
24
+
25
+ // TODO: Update the object below with actual values
26
+ const example = {
27
+ "menuId": null,
28
+ "parentId": null,
29
+ "type": null,
30
+ "heading": null,
31
+ "subheading": null,
32
+ "css": null,
33
+ "cssMobile": null,
34
+ "javascript": null,
35
+ "index": null,
36
+ "menuItemLink": null,
37
+ } satisfies UpdateMenuItemRequest
38
+
39
+ console.log(example)
40
+
41
+ // Convert the instance to a JSON string
42
+ const exampleJSON: string = JSON.stringify(example)
43
+ console.log(exampleJSON)
44
+
45
+ // Parse the JSON string back to an object
46
+ const exampleParsed = JSON.parse(exampleJSON) as UpdateMenuItemRequest
47
+ console.log(exampleParsed)
48
+ ```
49
+
50
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
51
+
52
+
@@ -0,0 +1,40 @@
1
+
2
+ # UpdateMenuRequest
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `siteId` | number
10
+ `position` | string
11
+ `name` | string
12
+ `menuItemOrder` | [Array<UpdateMenuRequestMenuItemOrderInner>](UpdateMenuRequestMenuItemOrderInner.md)
13
+
14
+ ## Example
15
+
16
+ ```typescript
17
+ import type { UpdateMenuRequest } from '@digital8/lighting-illusions-ts-sdk'
18
+
19
+ // TODO: Update the object below with actual values
20
+ const example = {
21
+ "siteId": null,
22
+ "position": null,
23
+ "name": null,
24
+ "menuItemOrder": null,
25
+ } satisfies UpdateMenuRequest
26
+
27
+ console.log(example)
28
+
29
+ // Convert the instance to a JSON string
30
+ const exampleJSON: string = JSON.stringify(example)
31
+ console.log(exampleJSON)
32
+
33
+ // Parse the JSON string back to an object
34
+ const exampleParsed = JSON.parse(exampleJSON) as UpdateMenuRequest
35
+ console.log(exampleParsed)
36
+ ```
37
+
38
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
39
+
40
+
@@ -0,0 +1,38 @@
1
+
2
+ # UpdateMenuRequestMenuItemOrderInner
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `id` | number
10
+ `index` | number
11
+ `parentId` | number
12
+
13
+ ## Example
14
+
15
+ ```typescript
16
+ import type { UpdateMenuRequestMenuItemOrderInner } from '@digital8/lighting-illusions-ts-sdk'
17
+
18
+ // TODO: Update the object below with actual values
19
+ const example = {
20
+ "id": null,
21
+ "index": null,
22
+ "parentId": null,
23
+ } satisfies UpdateMenuRequestMenuItemOrderInner
24
+
25
+ console.log(example)
26
+
27
+ // Convert the instance to a JSON string
28
+ const exampleJSON: string = JSON.stringify(example)
29
+ console.log(exampleJSON)
30
+
31
+ // Parse the JSON string back to an object
32
+ const exampleParsed = JSON.parse(exampleJSON) as UpdateMenuRequestMenuItemOrderInner
33
+ console.log(exampleParsed)
34
+ ```
35
+
36
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
37
+
38
+
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@digital8/lighting-illusions-ts-sdk",
3
- "version": "0.0.1502",
3
+ "version": "0.0.1503",
4
4
  "description": "OpenAPI client for @digital8/lighting-illusions-ts-sdk",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -16,25 +16,25 @@
16
16
  import * as runtime from '../runtime';
17
17
  import type {
18
18
  GenericResponse,
19
- GetHierarchyProductCategoryRequest,
19
+ GetHierarchyMenuItemRequest,
20
20
  } from '../models/index';
21
21
  import {
22
22
  GenericResponseFromJSON,
23
23
  GenericResponseToJSON,
24
- GetHierarchyProductCategoryRequestFromJSON,
25
- GetHierarchyProductCategoryRequestToJSON,
24
+ GetHierarchyMenuItemRequestFromJSON,
25
+ GetHierarchyMenuItemRequestToJSON,
26
26
  } from '../models/index';
27
27
 
28
28
  export interface GenerateGoogleFeedAdminRequest {
29
- getHierarchyProductCategoryRequest?: GetHierarchyProductCategoryRequest;
29
+ getHierarchyMenuItemRequest?: GetHierarchyMenuItemRequest;
30
30
  }
31
31
 
32
32
  export interface GenerateSocialFeedAdminRequest {
33
- getHierarchyProductCategoryRequest?: GetHierarchyProductCategoryRequest;
33
+ getHierarchyMenuItemRequest?: GetHierarchyMenuItemRequest;
34
34
  }
35
35
 
36
36
  export interface GenerateTGNDataFeedAdminRequest {
37
- getHierarchyProductCategoryRequest?: GetHierarchyProductCategoryRequest;
37
+ getHierarchyMenuItemRequest?: GetHierarchyMenuItemRequest;
38
38
  }
39
39
 
40
40
  /**
@@ -60,7 +60,7 @@ export class AdminApi extends runtime.BaseAPI {
60
60
  method: 'POST',
61
61
  headers: headerParameters,
62
62
  query: queryParameters,
63
- body: GetHierarchyProductCategoryRequestToJSON(requestParameters['getHierarchyProductCategoryRequest']),
63
+ body: GetHierarchyMenuItemRequestToJSON(requestParameters['getHierarchyMenuItemRequest']),
64
64
  };
65
65
  }
66
66
 
@@ -100,7 +100,7 @@ export class AdminApi extends runtime.BaseAPI {
100
100
  method: 'POST',
101
101
  headers: headerParameters,
102
102
  query: queryParameters,
103
- body: GetHierarchyProductCategoryRequestToJSON(requestParameters['getHierarchyProductCategoryRequest']),
103
+ body: GetHierarchyMenuItemRequestToJSON(requestParameters['getHierarchyMenuItemRequest']),
104
104
  };
105
105
  }
106
106
 
@@ -140,7 +140,7 @@ export class AdminApi extends runtime.BaseAPI {
140
140
  method: 'POST',
141
141
  headers: headerParameters,
142
142
  query: queryParameters,
143
- body: GetHierarchyProductCategoryRequestToJSON(requestParameters['getHierarchyProductCategoryRequest']),
143
+ body: GetHierarchyMenuItemRequestToJSON(requestParameters['getHierarchyMenuItemRequest']),
144
144
  };
145
145
  }
146
146