@digital8/lighting-illusions-ts-sdk 0.0.1521 → 0.0.1522

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 (146) hide show
  1. package/.openapi-generator/FILES +0 -56
  2. package/README.md +2 -41
  3. package/dist/apis/index.d.ts +0 -2
  4. package/dist/apis/index.js +0 -2
  5. package/dist/models/AddressFrontendResource.d.ts +1 -1
  6. package/dist/models/AddressFrontendResource.js +3 -1
  7. package/dist/models/AddressResource.d.ts +2 -2
  8. package/dist/models/AddressResource.js +4 -4
  9. package/dist/models/ExternalApiLogResource.d.ts +1 -1
  10. package/dist/models/ExternalApiLogResource.js +3 -1
  11. package/dist/models/StoreAssetForAssetableRequest.d.ts +0 -2
  12. package/dist/models/StoreAssetForAssetableRequest.js +1 -3
  13. package/dist/models/StoreFrontendResource.d.ts +1 -1
  14. package/dist/models/StoreFrontendResource.js +3 -1
  15. package/dist/models/StoreListResource.d.ts +1 -1
  16. package/dist/models/StoreListResource.js +1 -3
  17. package/dist/models/StoreResource.d.ts +1 -1
  18. package/dist/models/StoreResource.js +3 -1
  19. package/dist/models/StoreSpecialDateFrontendResource.d.ts +2 -2
  20. package/dist/models/StoreSpecialDateFrontendResource.js +3 -1
  21. package/dist/models/index.d.ts +0 -26
  22. package/dist/models/index.js +0 -26
  23. package/docs/StoreSpecialDateFrontendResource.md +1 -1
  24. package/package.json +1 -1
  25. package/src/apis/index.ts +0 -2
  26. package/src/models/AddressFrontendResource.ts +3 -2
  27. package/src/models/AddressResource.ts +5 -5
  28. package/src/models/ExternalApiLogResource.ts +3 -2
  29. package/src/models/StoreAssetForAssetableRequest.ts +1 -3
  30. package/src/models/StoreFrontendResource.ts +3 -2
  31. package/src/models/StoreListResource.ts +2 -3
  32. package/src/models/StoreResource.ts +3 -2
  33. package/src/models/StoreSpecialDateFrontendResource.ts +4 -3
  34. package/src/models/index.ts +0 -26
  35. package/dist/apis/MenuApi.d.ts +0 -109
  36. package/dist/apis/MenuApi.js +0 -433
  37. package/dist/apis/MenuItemsApi.d.ts +0 -124
  38. package/dist/apis/MenuItemsApi.js +0 -491
  39. package/dist/models/GetAllMenuItemRequest.d.ts +0 -93
  40. package/dist/models/GetAllMenuItemRequest.js +0 -81
  41. package/dist/models/GetAllMenuRequest.d.ts +0 -92
  42. package/dist/models/GetAllMenuRequest.js +0 -80
  43. package/dist/models/GetHierarchyMenuItemRequest.d.ts +0 -32
  44. package/dist/models/GetHierarchyMenuItemRequest.js +0 -51
  45. package/dist/models/IndexMenuRequest.d.ts +0 -104
  46. package/dist/models/IndexMenuRequest.js +0 -84
  47. package/dist/models/MenuItemHierarchyResource.d.ts +0 -74
  48. package/dist/models/MenuItemHierarchyResource.js +0 -75
  49. package/dist/models/MenuItemHierarchyResourceArrayResponse.d.ts +0 -33
  50. package/dist/models/MenuItemHierarchyResourceArrayResponse.js +0 -50
  51. package/dist/models/MenuItemLinkResource.d.ts +0 -68
  52. package/dist/models/MenuItemLinkResource.js +0 -67
  53. package/dist/models/MenuItemLinkResourceArrayResponse.d.ts +0 -33
  54. package/dist/models/MenuItemLinkResourceArrayResponse.js +0 -50
  55. package/dist/models/MenuItemLiteResource.d.ts +0 -62
  56. package/dist/models/MenuItemLiteResource.js +0 -67
  57. package/dist/models/MenuItemLiteResourceArrayResponse.d.ts +0 -33
  58. package/dist/models/MenuItemLiteResourceArrayResponse.js +0 -50
  59. package/dist/models/MenuItemResource.d.ts +0 -106
  60. package/dist/models/MenuItemResource.js +0 -91
  61. package/dist/models/MenuItemResourceArrayResponse.d.ts +0 -33
  62. package/dist/models/MenuItemResourceArrayResponse.js +0 -50
  63. package/dist/models/MenuItemType.d.ts +0 -27
  64. package/dist/models/MenuItemType.js +0 -53
  65. package/dist/models/MenuListResource.d.ts +0 -64
  66. package/dist/models/MenuListResource.js +0 -73
  67. package/dist/models/MenuListResourceArrayResponse.d.ts +0 -33
  68. package/dist/models/MenuListResourceArrayResponse.js +0 -50
  69. package/dist/models/MenuPosition.d.ts +0 -27
  70. package/dist/models/MenuPosition.js +0 -53
  71. package/dist/models/MenuResource.d.ts +0 -63
  72. package/dist/models/MenuResource.js +0 -70
  73. package/dist/models/MenuResourceArrayResponse.d.ts +0 -33
  74. package/dist/models/MenuResourceArrayResponse.js +0 -50
  75. package/dist/models/PaginatedMenuListResourceResponse.d.ts +0 -40
  76. package/dist/models/PaginatedMenuListResourceResponse.js +0 -57
  77. package/dist/models/SearchLinkablesMenuItemRequest.d.ts +0 -54
  78. package/dist/models/SearchLinkablesMenuItemRequest.js +0 -65
  79. package/dist/models/StoreMenuItemRequest.d.ts +0 -97
  80. package/dist/models/StoreMenuItemRequest.js +0 -84
  81. package/dist/models/StoreMenuItemRequestMenuItemLink.d.ts +0 -60
  82. package/dist/models/StoreMenuItemRequestMenuItemLink.js +0 -65
  83. package/dist/models/StoreMenuRequest.d.ts +0 -54
  84. package/dist/models/StoreMenuRequest.js +0 -69
  85. package/dist/models/UpdateMenuItemRequest.d.ts +0 -97
  86. package/dist/models/UpdateMenuItemRequest.js +0 -78
  87. package/dist/models/UpdateMenuRequest.d.ts +0 -61
  88. package/dist/models/UpdateMenuRequest.js +0 -66
  89. package/dist/models/UpdateMenuRequestMenuItemOrderInner.d.ts +0 -44
  90. package/dist/models/UpdateMenuRequestMenuItemOrderInner.js +0 -53
  91. package/docs/GetAllMenuItemRequest.md +0 -48
  92. package/docs/GetAllMenuRequest.md +0 -48
  93. package/docs/GetHierarchyMenuItemRequest.md +0 -34
  94. package/docs/IndexMenuRequest.md +0 -52
  95. package/docs/MenuApi.md +0 -407
  96. package/docs/MenuItemHierarchyResource.md +0 -48
  97. package/docs/MenuItemHierarchyResourceArrayResponse.md +0 -34
  98. package/docs/MenuItemLinkResource.md +0 -46
  99. package/docs/MenuItemLinkResourceArrayResponse.md +0 -34
  100. package/docs/MenuItemLiteResource.md +0 -44
  101. package/docs/MenuItemLiteResourceArrayResponse.md +0 -34
  102. package/docs/MenuItemResource.md +0 -58
  103. package/docs/MenuItemResourceArrayResponse.md +0 -34
  104. package/docs/MenuItemType.md +0 -32
  105. package/docs/MenuItemsApi.md +0 -473
  106. package/docs/MenuListResource.md +0 -44
  107. package/docs/MenuListResourceArrayResponse.md +0 -34
  108. package/docs/MenuPosition.md +0 -32
  109. package/docs/MenuResource.md +0 -44
  110. package/docs/MenuResourceArrayResponse.md +0 -34
  111. package/docs/PaginatedMenuListResourceResponse.md +0 -36
  112. package/docs/SearchLinkablesMenuItemRequest.md +0 -38
  113. package/docs/StoreMenuItemRequest.md +0 -52
  114. package/docs/StoreMenuItemRequestMenuItemLink.md +0 -40
  115. package/docs/StoreMenuRequest.md +0 -38
  116. package/docs/UpdateMenuItemRequest.md +0 -52
  117. package/docs/UpdateMenuRequest.md +0 -40
  118. package/docs/UpdateMenuRequestMenuItemOrderInner.md +0 -38
  119. package/src/apis/MenuApi.ts +0 -334
  120. package/src/apis/MenuItemsApi.ts +0 -381
  121. package/src/models/GetAllMenuItemRequest.ts +0 -144
  122. package/src/models/GetAllMenuRequest.ts +0 -143
  123. package/src/models/GetHierarchyMenuItemRequest.ts +0 -66
  124. package/src/models/IndexMenuRequest.ts +0 -159
  125. package/src/models/MenuItemHierarchyResource.ts +0 -127
  126. package/src/models/MenuItemHierarchyResourceArrayResponse.ts +0 -73
  127. package/src/models/MenuItemLinkResource.ts +0 -116
  128. package/src/models/MenuItemLinkResourceArrayResponse.ts +0 -73
  129. package/src/models/MenuItemLiteResource.ts +0 -109
  130. package/src/models/MenuItemLiteResourceArrayResponse.ts +0 -73
  131. package/src/models/MenuItemResource.ts +0 -184
  132. package/src/models/MenuItemResourceArrayResponse.ts +0 -73
  133. package/src/models/MenuItemType.ts +0 -55
  134. package/src/models/MenuListResource.ts +0 -126
  135. package/src/models/MenuListResourceArrayResponse.ts +0 -73
  136. package/src/models/MenuPosition.ts +0 -55
  137. package/src/models/MenuResource.ts +0 -118
  138. package/src/models/MenuResourceArrayResponse.ts +0 -73
  139. package/src/models/PaginatedMenuListResourceResponse.ts +0 -90
  140. package/src/models/SearchLinkablesMenuItemRequest.ts +0 -95
  141. package/src/models/StoreMenuItemRequest.ts +0 -161
  142. package/src/models/StoreMenuItemRequestMenuItemLink.ts +0 -102
  143. package/src/models/StoreMenuRequest.ts +0 -97
  144. package/src/models/UpdateMenuItemRequest.ts +0 -158
  145. package/src/models/UpdateMenuRequest.ts +0 -110
  146. package/src/models/UpdateMenuRequestMenuItemOrderInner.ts +0 -81
package/docs/MenuApi.md DELETED
@@ -1,407 +0,0 @@
1
- # MenuApi
2
-
3
- All URIs are relative to *http://localhost/api*
4
-
5
- | Method | HTTP request | Description |
6
- |------------- | ------------- | -------------|
7
- | [**destroyMenu**](MenuApi.md#destroymenu) | **DELETE** /admin-api/menu/{menu}/delete | Auto-generated: destroyMenu |
8
- | [**getAllMenu**](MenuApi.md#getallmenuoperation) | **POST** /admin-api/menu/all | Auto-generated: getAllMenu |
9
- | [**indexMenu**](MenuApi.md#indexmenuoperation) | **POST** /admin-api/menu/list | Auto-generated: indexMenu |
10
- | [**showMenu**](MenuApi.md#showmenu) | **GET** /admin-api/menu/{menu} | Auto-generated: showMenu |
11
- | [**storeMenu**](MenuApi.md#storemenuoperation) | **POST** /admin-api/menu/create | Auto-generated: storeMenu |
12
- | [**updateMenu**](MenuApi.md#updatemenuoperation) | **PUT** /admin-api/menu/{menu}/update | Auto-generated: updateMenu |
13
-
14
-
15
-
16
- ## destroyMenu
17
-
18
- > GenericResponse destroyMenu(menu)
19
-
20
- Auto-generated: destroyMenu
21
-
22
- ### Example
23
-
24
- ```ts
25
- import {
26
- Configuration,
27
- MenuApi,
28
- } from '@digital8/lighting-illusions-ts-sdk';
29
- import type { DestroyMenuRequest } 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 MenuApi();
34
-
35
- const body = {
36
- // number | The id of the menu
37
- menu: 56,
38
- } satisfies DestroyMenuRequest;
39
-
40
- try {
41
- const data = await api.destroyMenu(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
- | **menu** | `number` | The id of the menu | [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** | \\JsonResponse<array{message: string}> | - |
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
- ## getAllMenu
82
-
83
- > MenuListResourceArrayResponse getAllMenu(getAllMenuRequest)
84
-
85
- Auto-generated: getAllMenu
86
-
87
- ### Example
88
-
89
- ```ts
90
- import {
91
- Configuration,
92
- MenuApi,
93
- } from '@digital8/lighting-illusions-ts-sdk';
94
- import type { GetAllMenuOperationRequest } 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 MenuApi();
99
-
100
- const body = {
101
- // GetAllMenuRequest (optional)
102
- getAllMenuRequest: ...,
103
- } satisfies GetAllMenuOperationRequest;
104
-
105
- try {
106
- const data = await api.getAllMenu(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
- | **getAllMenuRequest** | [GetAllMenuRequest](GetAllMenuRequest.md) | | [Optional] |
123
-
124
- ### Return type
125
-
126
- [**MenuListResourceArrayResponse**](MenuListResourceArrayResponse.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** | Successful resource response | - |
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
- ## indexMenu
147
-
148
- > PaginatedMenuListResourceResponse indexMenu(indexMenuRequest)
149
-
150
- Auto-generated: indexMenu
151
-
152
- ### Example
153
-
154
- ```ts
155
- import {
156
- Configuration,
157
- MenuApi,
158
- } from '@digital8/lighting-illusions-ts-sdk';
159
- import type { IndexMenuOperationRequest } 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 MenuApi();
164
-
165
- const body = {
166
- // IndexMenuRequest (optional)
167
- indexMenuRequest: ...,
168
- } satisfies IndexMenuOperationRequest;
169
-
170
- try {
171
- const data = await api.indexMenu(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
- | **indexMenuRequest** | [IndexMenuRequest](IndexMenuRequest.md) | | [Optional] |
188
-
189
- ### Return type
190
-
191
- [**PaginatedMenuListResourceResponse**](PaginatedMenuListResourceResponse.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<\\MenuListResource[]>> | - |
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
- ## showMenu
212
-
213
- > MenuResource showMenu(menu)
214
-
215
- Auto-generated: showMenu
216
-
217
- ### Example
218
-
219
- ```ts
220
- import {
221
- Configuration,
222
- MenuApi,
223
- } from '@digital8/lighting-illusions-ts-sdk';
224
- import type { ShowMenuRequest } 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 MenuApi();
229
-
230
- const body = {
231
- // number | The id of the menu
232
- menu: 56,
233
- } satisfies ShowMenuRequest;
234
-
235
- try {
236
- const data = await api.showMenu(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
- | **menu** | `number` | The id of the menu | [Defaults to `undefined`] |
253
-
254
- ### Return type
255
-
256
- [**MenuResource**](MenuResource.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
- ## storeMenu
277
-
278
- > MenuResource storeMenu(storeMenuRequest)
279
-
280
- Auto-generated: storeMenu
281
-
282
- ### Example
283
-
284
- ```ts
285
- import {
286
- Configuration,
287
- MenuApi,
288
- } from '@digital8/lighting-illusions-ts-sdk';
289
- import type { StoreMenuOperationRequest } 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 MenuApi();
294
-
295
- const body = {
296
- // StoreMenuRequest (optional)
297
- storeMenuRequest: ...,
298
- } satisfies StoreMenuOperationRequest;
299
-
300
- try {
301
- const data = await api.storeMenu(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
- | **storeMenuRequest** | [StoreMenuRequest](StoreMenuRequest.md) | | [Optional] |
318
-
319
- ### Return type
320
-
321
- [**MenuResource**](MenuResource.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
- ## updateMenu
342
-
343
- > MenuResource updateMenu(menu, updateMenuRequest)
344
-
345
- Auto-generated: updateMenu
346
-
347
- ### Example
348
-
349
- ```ts
350
- import {
351
- Configuration,
352
- MenuApi,
353
- } from '@digital8/lighting-illusions-ts-sdk';
354
- import type { UpdateMenuOperationRequest } 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 MenuApi();
359
-
360
- const body = {
361
- // number | The id of the menu
362
- menu: 56,
363
- // UpdateMenuRequest (optional)
364
- updateMenuRequest: ...,
365
- } satisfies UpdateMenuOperationRequest;
366
-
367
- try {
368
- const data = await api.updateMenu(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
- | **menu** | `number` | The id of the menu | [Defaults to `undefined`] |
385
- | **updateMenuRequest** | [UpdateMenuRequest](UpdateMenuRequest.md) | | [Optional] |
386
-
387
- ### Return type
388
-
389
- [**MenuResource**](MenuResource.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
-
@@ -1,48 +0,0 @@
1
-
2
- # MenuItemHierarchyResource
3
-
4
-
5
- ## Properties
6
-
7
- Name | Type
8
- ------------ | -------------
9
- `id` | number
10
- `menuId` | number
11
- `parentId` | number
12
- `type` | string
13
- `heading` | string
14
- `subheading` | string
15
- `index` | number
16
- `children` | [Array<MenuItemHierarchyResource>](MenuItemHierarchyResource.md)
17
-
18
- ## Example
19
-
20
- ```typescript
21
- import type { MenuItemHierarchyResource } from '@digital8/lighting-illusions-ts-sdk'
22
-
23
- // TODO: Update the object below with actual values
24
- const example = {
25
- "id": null,
26
- "menuId": null,
27
- "parentId": null,
28
- "type": null,
29
- "heading": null,
30
- "subheading": null,
31
- "index": null,
32
- "children": null,
33
- } satisfies MenuItemHierarchyResource
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 MenuItemHierarchyResource
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
-
@@ -1,34 +0,0 @@
1
-
2
- # MenuItemHierarchyResourceArrayResponse
3
-
4
-
5
- ## Properties
6
-
7
- Name | Type
8
- ------------ | -------------
9
- `data` | [Array<MenuItemHierarchyResource>](MenuItemHierarchyResource.md)
10
-
11
- ## Example
12
-
13
- ```typescript
14
- import type { MenuItemHierarchyResourceArrayResponse } from '@digital8/lighting-illusions-ts-sdk'
15
-
16
- // TODO: Update the object below with actual values
17
- const example = {
18
- "data": null,
19
- } satisfies MenuItemHierarchyResourceArrayResponse
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 MenuItemHierarchyResourceArrayResponse
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,46 +0,0 @@
1
-
2
- # MenuItemLinkResource
3
-
4
-
5
- ## Properties
6
-
7
- Name | Type
8
- ------------ | -------------
9
- `id` | number
10
- `menuItemId` | number
11
- `linkableId` | number
12
- `linkableType` | string
13
- `name` | string
14
- `link` | string
15
- `isExternalLink` | boolean
16
-
17
- ## Example
18
-
19
- ```typescript
20
- import type { MenuItemLinkResource } from '@digital8/lighting-illusions-ts-sdk'
21
-
22
- // TODO: Update the object below with actual values
23
- const example = {
24
- "id": null,
25
- "menuItemId": null,
26
- "linkableId": null,
27
- "linkableType": null,
28
- "name": null,
29
- "link": null,
30
- "isExternalLink": null,
31
- } satisfies MenuItemLinkResource
32
-
33
- console.log(example)
34
-
35
- // Convert the instance to a JSON string
36
- const exampleJSON: string = JSON.stringify(example)
37
- console.log(exampleJSON)
38
-
39
- // Parse the JSON string back to an object
40
- const exampleParsed = JSON.parse(exampleJSON) as MenuItemLinkResource
41
- console.log(exampleParsed)
42
- ```
43
-
44
- [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
45
-
46
-
@@ -1,34 +0,0 @@
1
-
2
- # MenuItemLinkResourceArrayResponse
3
-
4
-
5
- ## Properties
6
-
7
- Name | Type
8
- ------------ | -------------
9
- `data` | [Array<MenuItemLinkResource>](MenuItemLinkResource.md)
10
-
11
- ## Example
12
-
13
- ```typescript
14
- import type { MenuItemLinkResourceArrayResponse } from '@digital8/lighting-illusions-ts-sdk'
15
-
16
- // TODO: Update the object below with actual values
17
- const example = {
18
- "data": null,
19
- } satisfies MenuItemLinkResourceArrayResponse
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 MenuItemLinkResourceArrayResponse
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,44 +0,0 @@
1
-
2
- # MenuItemLiteResource
3
-
4
-
5
- ## Properties
6
-
7
- Name | Type
8
- ------------ | -------------
9
- `id` | number
10
- `menuId` | number
11
- `parentId` | number
12
- `type` | string
13
- `heading` | string
14
- `index` | number
15
-
16
- ## Example
17
-
18
- ```typescript
19
- import type { MenuItemLiteResource } from '@digital8/lighting-illusions-ts-sdk'
20
-
21
- // TODO: Update the object below with actual values
22
- const example = {
23
- "id": null,
24
- "menuId": null,
25
- "parentId": null,
26
- "type": null,
27
- "heading": null,
28
- "index": null,
29
- } satisfies MenuItemLiteResource
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 MenuItemLiteResource
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
-
@@ -1,34 +0,0 @@
1
-
2
- # MenuItemLiteResourceArrayResponse
3
-
4
-
5
- ## Properties
6
-
7
- Name | Type
8
- ------------ | -------------
9
- `data` | [Array<MenuItemLiteResource>](MenuItemLiteResource.md)
10
-
11
- ## Example
12
-
13
- ```typescript
14
- import type { MenuItemLiteResourceArrayResponse } from '@digital8/lighting-illusions-ts-sdk'
15
-
16
- // TODO: Update the object below with actual values
17
- const example = {
18
- "data": null,
19
- } satisfies MenuItemLiteResourceArrayResponse
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 MenuItemLiteResourceArrayResponse
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,58 +0,0 @@
1
-
2
- # MenuItemResource
3
-
4
-
5
- ## Properties
6
-
7
- Name | Type
8
- ------------ | -------------
9
- `id` | number
10
- `menuId` | number
11
- `parentId` | number
12
- `type` | string
13
- `heading` | string
14
- `subheading` | string
15
- `css` | string
16
- `cssMobile` | string
17
- `javascript` | string
18
- `index` | number
19
- `children` | [Array<MenuItemResource>](MenuItemResource.md)
20
- `asset` | [AssetResource](AssetResource.md)
21
- `menuItemLink` | [MenuItemLinkResource](MenuItemLinkResource.md)
22
-
23
- ## Example
24
-
25
- ```typescript
26
- import type { MenuItemResource } from '@digital8/lighting-illusions-ts-sdk'
27
-
28
- // TODO: Update the object below with actual values
29
- const example = {
30
- "id": null,
31
- "menuId": null,
32
- "parentId": null,
33
- "type": null,
34
- "heading": null,
35
- "subheading": null,
36
- "css": null,
37
- "cssMobile": null,
38
- "javascript": null,
39
- "index": null,
40
- "children": null,
41
- "asset": null,
42
- "menuItemLink": null,
43
- } satisfies MenuItemResource
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 MenuItemResource
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
-