@digital8/lighting-illusions-ts-sdk 0.0.1708 → 0.0.1710
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.
- package/.openapi-generator/FILES +56 -6
- package/README.md +41 -7
- package/dist/apis/MenuApi.d.ts +109 -0
- package/dist/apis/MenuApi.js +433 -0
- package/dist/apis/MenuItemsApi.d.ts +124 -0
- package/dist/apis/MenuItemsApi.js +491 -0
- package/dist/apis/StoreApi.d.ts +1 -28
- package/dist/apis/StoreApi.js +0 -113
- package/dist/apis/index.d.ts +2 -0
- package/dist/apis/index.js +2 -0
- package/dist/models/AddressFrontendResource.d.ts +1 -1
- package/dist/models/AddressFrontendResource.js +3 -1
- package/dist/models/AddressResource.d.ts +2 -2
- package/dist/models/AddressResource.js +6 -2
- package/dist/models/ExternalApiLogResource.d.ts +1 -1
- package/dist/models/ExternalApiLogResource.js +1 -3
- package/dist/models/GetAllMenuItemRequest.d.ts +93 -0
- package/dist/models/GetAllMenuItemRequest.js +81 -0
- package/dist/models/GetAllMenuRequest.d.ts +93 -0
- package/dist/models/GetAllMenuRequest.js +81 -0
- package/dist/models/GetHierarchyMenuItemRequest.d.ts +32 -0
- package/dist/models/GetHierarchyMenuItemRequest.js +51 -0
- package/dist/models/IndexMenuRequest.d.ts +105 -0
- package/dist/models/IndexMenuRequest.js +85 -0
- package/dist/models/MenuItemHierarchyResource.d.ts +81 -0
- package/dist/models/MenuItemHierarchyResource.js +80 -0
- package/dist/models/MenuItemHierarchyResourceArrayResponse.d.ts +33 -0
- package/dist/models/MenuItemHierarchyResourceArrayResponse.js +50 -0
- package/dist/models/MenuItemLinkResource.d.ts +68 -0
- package/dist/models/MenuItemLinkResource.js +67 -0
- package/dist/models/MenuItemLinkResourceArrayResponse.d.ts +33 -0
- package/dist/models/MenuItemLinkResourceArrayResponse.js +50 -0
- package/dist/models/MenuItemLiteResource.d.ts +62 -0
- package/dist/models/MenuItemLiteResource.js +67 -0
- package/dist/models/MenuItemLiteResourceArrayResponse.d.ts +33 -0
- package/dist/models/MenuItemLiteResourceArrayResponse.js +50 -0
- package/dist/models/MenuItemResource.d.ts +106 -0
- package/dist/models/MenuItemResource.js +91 -0
- package/dist/models/MenuItemResourceArrayResponse.d.ts +33 -0
- package/dist/models/MenuItemResourceArrayResponse.js +50 -0
- package/dist/models/MenuItemType.d.ts +27 -0
- package/dist/models/MenuItemType.js +53 -0
- package/dist/models/MenuListResource.d.ts +64 -0
- package/dist/models/MenuListResource.js +73 -0
- package/dist/models/MenuListResourceArrayResponse.d.ts +33 -0
- package/dist/models/MenuListResourceArrayResponse.js +50 -0
- package/dist/models/MenuPosition.d.ts +27 -0
- package/dist/models/MenuPosition.js +53 -0
- package/dist/models/MenuResource.d.ts +63 -0
- package/dist/models/MenuResource.js +70 -0
- package/dist/models/MenuResourceArrayResponse.d.ts +33 -0
- package/dist/models/MenuResourceArrayResponse.js +50 -0
- package/dist/models/PaginatedMenuListResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedMenuListResourceResponse.js +57 -0
- package/dist/models/SearchLinkablesMenuItemRequest.d.ts +54 -0
- package/dist/models/SearchLinkablesMenuItemRequest.js +65 -0
- package/dist/models/StoreAssetForAssetableRequest.d.ts +2 -0
- package/dist/models/StoreAssetForAssetableRequest.js +3 -1
- package/dist/models/StoreFrontendResource.d.ts +1 -1
- package/dist/models/StoreFrontendResource.js +3 -1
- package/dist/models/StoreListResource.d.ts +1 -1
- package/dist/models/StoreListResource.js +1 -3
- package/dist/models/StoreMenuItemRequest.d.ts +97 -0
- package/dist/models/StoreMenuItemRequest.js +84 -0
- package/dist/models/StoreMenuItemRequestMenuItemLink.d.ts +60 -0
- package/dist/models/StoreMenuItemRequestMenuItemLink.js +65 -0
- package/dist/models/StoreMenuRequest.d.ts +54 -0
- package/dist/models/StoreMenuRequest.js +69 -0
- package/dist/models/StoreResource.d.ts +1 -13
- package/dist/models/StoreResource.js +1 -7
- package/dist/models/StoreStoreRequest.d.ts +0 -12
- package/dist/models/StoreStoreRequest.js +0 -4
- package/dist/models/UpdateMenuItemRequest.d.ts +97 -0
- package/dist/models/UpdateMenuItemRequest.js +78 -0
- package/dist/models/UpdateMenuRequest.d.ts +61 -0
- package/dist/models/UpdateMenuRequest.js +66 -0
- package/dist/models/UpdateMenuRequestMenuItemOrderInner.d.ts +44 -0
- package/dist/models/UpdateMenuRequestMenuItemOrderInner.js +53 -0
- package/dist/models/UpdateStoreRequest.d.ts +0 -12
- package/dist/models/UpdateStoreRequest.js +0 -4
- package/dist/models/index.d.ts +26 -3
- package/dist/models/index.js +26 -3
- package/docs/GetAllMenuItemRequest.md +48 -0
- package/docs/GetAllMenuRequest.md +48 -0
- package/docs/GetHierarchyMenuItemRequest.md +34 -0
- package/docs/IndexMenuRequest.md +52 -0
- package/docs/MenuApi.md +407 -0
- package/docs/MenuItemHierarchyResource.md +50 -0
- package/docs/MenuItemHierarchyResourceArrayResponse.md +34 -0
- package/docs/MenuItemLinkResource.md +46 -0
- package/docs/{SaveMapStoreStockMigrationRequest.md → MenuItemLinkResourceArrayResponse.md} +6 -6
- package/docs/{SaveMapStoreStockMigrationRequestAssociationsInner.md → MenuItemLiteResource.md} +14 -8
- package/docs/MenuItemLiteResourceArrayResponse.md +34 -0
- package/docs/MenuItemResource.md +58 -0
- package/docs/MenuItemResourceArrayResponse.md +34 -0
- package/docs/{StoreStockType.md → MenuItemType.md} +4 -4
- package/docs/MenuItemsApi.md +473 -0
- package/docs/MenuListResource.md +44 -0
- package/docs/MenuListResourceArrayResponse.md +34 -0
- package/docs/MenuPosition.md +32 -0
- package/docs/MenuResource.md +44 -0
- package/docs/MenuResourceArrayResponse.md +34 -0
- package/docs/PaginatedMenuListResourceResponse.md +36 -0
- package/docs/SearchLinkablesMenuItemRequest.md +38 -0
- package/docs/StoreApi.md +0 -124
- package/docs/StoreMenuItemRequest.md +52 -0
- package/docs/StoreMenuItemRequestMenuItemLink.md +40 -0
- package/docs/StoreMenuRequest.md +38 -0
- package/docs/StoreResource.md +0 -4
- package/docs/StoreStoreRequest.md +0 -4
- package/docs/UpdateMenuItemRequest.md +52 -0
- package/docs/UpdateMenuRequest.md +40 -0
- package/docs/UpdateMenuRequestMenuItemOrderInner.md +38 -0
- package/docs/UpdateStoreRequest.md +0 -4
- package/package.json +1 -1
- package/src/apis/MenuApi.ts +334 -0
- package/src/apis/MenuItemsApi.ts +381 -0
- package/src/apis/StoreApi.ts +0 -84
- package/src/apis/index.ts +2 -0
- package/src/models/AddressFrontendResource.ts +3 -2
- package/src/models/AddressResource.ts +6 -4
- package/src/models/ExternalApiLogResource.ts +2 -3
- package/src/models/GetAllMenuItemRequest.ts +144 -0
- package/src/models/GetAllMenuRequest.ts +144 -0
- package/src/models/GetHierarchyMenuItemRequest.ts +66 -0
- package/src/models/IndexMenuRequest.ts +160 -0
- package/src/models/MenuItemHierarchyResource.ts +144 -0
- package/src/models/MenuItemHierarchyResourceArrayResponse.ts +73 -0
- package/src/models/MenuItemLinkResource.ts +116 -0
- package/src/models/MenuItemLinkResourceArrayResponse.ts +73 -0
- package/src/models/MenuItemLiteResource.ts +109 -0
- package/src/models/MenuItemLiteResourceArrayResponse.ts +73 -0
- package/src/models/MenuItemResource.ts +184 -0
- package/src/models/MenuItemResourceArrayResponse.ts +73 -0
- package/src/models/MenuItemType.ts +55 -0
- package/src/models/MenuListResource.ts +126 -0
- package/src/models/MenuListResourceArrayResponse.ts +73 -0
- package/src/models/MenuPosition.ts +55 -0
- package/src/models/MenuResource.ts +118 -0
- package/src/models/MenuResourceArrayResponse.ts +73 -0
- package/src/models/PaginatedMenuListResourceResponse.ts +90 -0
- package/src/models/SearchLinkablesMenuItemRequest.ts +95 -0
- package/src/models/StoreAssetForAssetableRequest.ts +3 -1
- package/src/models/StoreFrontendResource.ts +3 -2
- package/src/models/StoreListResource.ts +2 -3
- package/src/models/StoreMenuItemRequest.ts +161 -0
- package/src/models/StoreMenuItemRequestMenuItemLink.ts +102 -0
- package/src/models/StoreMenuRequest.ts +97 -0
- package/src/models/StoreResource.ts +2 -19
- package/src/models/StoreStoreRequest.ts +0 -16
- package/src/models/UpdateMenuItemRequest.ts +158 -0
- package/src/models/UpdateMenuRequest.ts +110 -0
- package/src/models/UpdateMenuRequestMenuItemOrderInner.ts +81 -0
- package/src/models/UpdateStoreRequest.ts +0 -16
- package/src/models/index.ts +26 -3
- package/dist/models/SaveMapStoreStockMigrationRequest.d.ts +0 -33
- package/dist/models/SaveMapStoreStockMigrationRequest.js +0 -52
- package/dist/models/SaveMapStoreStockMigrationRequestAssociationsInner.d.ts +0 -52
- package/dist/models/SaveMapStoreStockMigrationRequestAssociationsInner.js +0 -67
- package/dist/models/StoreStockType.d.ts +0 -25
- package/dist/models/StoreStockType.js +0 -51
- package/src/models/SaveMapStoreStockMigrationRequest.ts +0 -74
- package/src/models/SaveMapStoreStockMigrationRequestAssociationsInner.ts +0 -95
- package/src/models/StoreStockType.ts +0 -53
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
|
|
2
|
+
# MenuResource
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`id` | number
|
|
10
|
+
`siteId` | number
|
|
11
|
+
`position` | string
|
|
12
|
+
`name` | string
|
|
13
|
+
`site` | [SiteLiteResource](SiteLiteResource.md)
|
|
14
|
+
`menuItemCount` | number
|
|
15
|
+
|
|
16
|
+
## Example
|
|
17
|
+
|
|
18
|
+
```typescript
|
|
19
|
+
import type { MenuResource } from '@digital8/lighting-illusions-ts-sdk'
|
|
20
|
+
|
|
21
|
+
// TODO: Update the object below with actual values
|
|
22
|
+
const example = {
|
|
23
|
+
"id": null,
|
|
24
|
+
"siteId": null,
|
|
25
|
+
"position": null,
|
|
26
|
+
"name": null,
|
|
27
|
+
"site": null,
|
|
28
|
+
"menuItemCount": null,
|
|
29
|
+
} satisfies MenuResource
|
|
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 MenuResource
|
|
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,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
|
+
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
|
|
2
|
+
# PaginatedMenuListResourceResponse
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`data` | [Array<MenuListResource>](MenuListResource.md)
|
|
10
|
+
`meta` | [PagingMetadata](PagingMetadata.md)
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```typescript
|
|
15
|
+
import type { PaginatedMenuListResourceResponse } 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 PaginatedMenuListResourceResponse
|
|
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 PaginatedMenuListResourceResponse
|
|
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,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
|
+
|
package/docs/StoreApi.md
CHANGED
|
@@ -10,8 +10,6 @@ All URIs are relative to *http://localhost/api*
|
|
|
10
10
|
| [**detachSuppliersStore**](StoreApi.md#detachsuppliersstoreoperation) | **POST** /admin-api/store/{store}/detach-suppliers | Auto-generated: detachSuppliersStore |
|
|
11
11
|
| [**getAllStore**](StoreApi.md#getallstoreoperation) | **POST** /admin-api/store/all | Auto-generated: getAllStore |
|
|
12
12
|
| [**indexStore**](StoreApi.md#indexstoreoperation) | **POST** /admin-api/store/list | Auto-generated: indexStore |
|
|
13
|
-
| [**optionsStoreStockMigration**](StoreApi.md#optionsstorestockmigration) | **GET** /admin-api/store/stock-migration/options | Auto-generated: optionsStoreStockMigration |
|
|
14
|
-
| [**saveMapStoreStockMigration**](StoreApi.md#savemapstorestockmigrationoperation) | **POST** /admin-api/store/stock-migration/save-map | Auto-generated: saveMapStoreStockMigration |
|
|
15
13
|
| [**showStore**](StoreApi.md#showstore) | **GET** /admin-api/store/{store} | Auto-generated: showStore |
|
|
16
14
|
| [**storeStore**](StoreApi.md#storestoreoperation) | **POST** /admin-api/store/create | Auto-generated: storeStore |
|
|
17
15
|
| [**storeStoreSpecialDate**](StoreApi.md#storestorespecialdateoperation) | **POST** /admin-api/store/{store}/special-dates | Auto-generated: storeStoreSpecialDate |
|
|
@@ -419,128 +417,6 @@ No authorization required
|
|
|
419
417
|
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
420
418
|
|
|
421
419
|
|
|
422
|
-
## optionsStoreStockMigration
|
|
423
|
-
|
|
424
|
-
> GenericResponse optionsStoreStockMigration()
|
|
425
|
-
|
|
426
|
-
Auto-generated: optionsStoreStockMigration
|
|
427
|
-
|
|
428
|
-
### Example
|
|
429
|
-
|
|
430
|
-
```ts
|
|
431
|
-
import {
|
|
432
|
-
Configuration,
|
|
433
|
-
StoreApi,
|
|
434
|
-
} from '@digital8/lighting-illusions-ts-sdk';
|
|
435
|
-
import type { OptionsStoreStockMigrationRequest } from '@digital8/lighting-illusions-ts-sdk';
|
|
436
|
-
|
|
437
|
-
async function example() {
|
|
438
|
-
console.log("🚀 Testing @digital8/lighting-illusions-ts-sdk SDK...");
|
|
439
|
-
const api = new StoreApi();
|
|
440
|
-
|
|
441
|
-
try {
|
|
442
|
-
const data = await api.optionsStoreStockMigration();
|
|
443
|
-
console.log(data);
|
|
444
|
-
} catch (error) {
|
|
445
|
-
console.error(error);
|
|
446
|
-
}
|
|
447
|
-
}
|
|
448
|
-
|
|
449
|
-
// Run the test
|
|
450
|
-
example().catch(console.error);
|
|
451
|
-
```
|
|
452
|
-
|
|
453
|
-
### Parameters
|
|
454
|
-
|
|
455
|
-
This endpoint does not need any parameter.
|
|
456
|
-
|
|
457
|
-
### Return type
|
|
458
|
-
|
|
459
|
-
[**GenericResponse**](GenericResponse.md)
|
|
460
|
-
|
|
461
|
-
### Authorization
|
|
462
|
-
|
|
463
|
-
No authorization required
|
|
464
|
-
|
|
465
|
-
### HTTP request headers
|
|
466
|
-
|
|
467
|
-
- **Content-Type**: Not defined
|
|
468
|
-
- **Accept**: `application/json`
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
### HTTP response details
|
|
472
|
-
| Status code | Description | Response headers |
|
|
473
|
-
|-------------|-------------|------------------|
|
|
474
|
-
| **200** | \\JsonResponse<array{locations: array<int,array{id: int, name: string, isPrimary: bool}>, stores: array<int,array{id: int, name: string}>, existingMap: array<string,array{store_id: int, type: string}>, existingMapFilePath: string|null}> | - |
|
|
475
|
-
|
|
476
|
-
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
## saveMapStoreStockMigration
|
|
480
|
-
|
|
481
|
-
> GenericResponse saveMapStoreStockMigration(saveMapStoreStockMigrationRequest)
|
|
482
|
-
|
|
483
|
-
Auto-generated: saveMapStoreStockMigration
|
|
484
|
-
|
|
485
|
-
### Example
|
|
486
|
-
|
|
487
|
-
```ts
|
|
488
|
-
import {
|
|
489
|
-
Configuration,
|
|
490
|
-
StoreApi,
|
|
491
|
-
} from '@digital8/lighting-illusions-ts-sdk';
|
|
492
|
-
import type { SaveMapStoreStockMigrationOperationRequest } from '@digital8/lighting-illusions-ts-sdk';
|
|
493
|
-
|
|
494
|
-
async function example() {
|
|
495
|
-
console.log("🚀 Testing @digital8/lighting-illusions-ts-sdk SDK...");
|
|
496
|
-
const api = new StoreApi();
|
|
497
|
-
|
|
498
|
-
const body = {
|
|
499
|
-
// SaveMapStoreStockMigrationRequest (optional)
|
|
500
|
-
saveMapStoreStockMigrationRequest: ...,
|
|
501
|
-
} satisfies SaveMapStoreStockMigrationOperationRequest;
|
|
502
|
-
|
|
503
|
-
try {
|
|
504
|
-
const data = await api.saveMapStoreStockMigration(body);
|
|
505
|
-
console.log(data);
|
|
506
|
-
} catch (error) {
|
|
507
|
-
console.error(error);
|
|
508
|
-
}
|
|
509
|
-
}
|
|
510
|
-
|
|
511
|
-
// Run the test
|
|
512
|
-
example().catch(console.error);
|
|
513
|
-
```
|
|
514
|
-
|
|
515
|
-
### Parameters
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
| Name | Type | Description | Notes |
|
|
519
|
-
|------------- | ------------- | ------------- | -------------|
|
|
520
|
-
| **saveMapStoreStockMigrationRequest** | [SaveMapStoreStockMigrationRequest](SaveMapStoreStockMigrationRequest.md) | | [Optional] |
|
|
521
|
-
|
|
522
|
-
### Return type
|
|
523
|
-
|
|
524
|
-
[**GenericResponse**](GenericResponse.md)
|
|
525
|
-
|
|
526
|
-
### Authorization
|
|
527
|
-
|
|
528
|
-
No authorization required
|
|
529
|
-
|
|
530
|
-
### HTTP request headers
|
|
531
|
-
|
|
532
|
-
- **Content-Type**: `application/json`
|
|
533
|
-
- **Accept**: `application/json`
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
### HTTP response details
|
|
537
|
-
| Status code | Description | Response headers |
|
|
538
|
-
|-------------|-------------|------------------|
|
|
539
|
-
| **200** | \\JsonResponse<array{message: string, filePath: string, command: string}> | - |
|
|
540
|
-
|
|
541
|
-
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
542
|
-
|
|
543
|
-
|
|
544
420
|
## showStore
|
|
545
421
|
|
|
546
422
|
> StoreResource showStore(store)
|
|
@@ -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
|
+
|
package/docs/StoreResource.md
CHANGED
|
@@ -15,8 +15,6 @@ Name | Type
|
|
|
15
15
|
`tagLine` | string
|
|
16
16
|
`email` | string
|
|
17
17
|
`website` | string
|
|
18
|
-
`netsuiteId` | number
|
|
19
|
-
`displayNetsuiteId` | number
|
|
20
18
|
`openingHours` | string
|
|
21
19
|
`suppliers` | [Array<SupplierLiteResource>](SupplierLiteResource.md)
|
|
22
20
|
`address` | [AddressResource](AddressResource.md)
|
|
@@ -38,8 +36,6 @@ const example = {
|
|
|
38
36
|
"tagLine": null,
|
|
39
37
|
"email": null,
|
|
40
38
|
"website": null,
|
|
41
|
-
"netsuiteId": null,
|
|
42
|
-
"displayNetsuiteId": null,
|
|
43
39
|
"openingHours": null,
|
|
44
40
|
"suppliers": null,
|
|
45
41
|
"address": null,
|
|
@@ -15,8 +15,6 @@ Name | Type
|
|
|
15
15
|
`email` | string
|
|
16
16
|
`website` | string
|
|
17
17
|
`openingHours` | Array<string | null>
|
|
18
|
-
`netsuiteId` | number
|
|
19
|
-
`displayNetsuiteId` | number
|
|
20
18
|
`supplierIds` | Array<number>
|
|
21
19
|
`specialDates` | [Array<StoreStoreRequestSpecialDatesInner>](StoreStoreRequestSpecialDatesInner.md)
|
|
22
20
|
`address` | [StoreStoreRequestAddress](StoreStoreRequestAddress.md)
|
|
@@ -37,8 +35,6 @@ const example = {
|
|
|
37
35
|
"email": null,
|
|
38
36
|
"website": null,
|
|
39
37
|
"openingHours": null,
|
|
40
|
-
"netsuiteId": null,
|
|
41
|
-
"displayNetsuiteId": null,
|
|
42
38
|
"supplierIds": null,
|
|
43
39
|
"specialDates": null,
|
|
44
40
|
"address": null,
|
|
@@ -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
|
+
|
|
@@ -15,8 +15,6 @@ Name | Type
|
|
|
15
15
|
`email` | string
|
|
16
16
|
`website` | string
|
|
17
17
|
`openingHours` | Array<string | null>
|
|
18
|
-
`netsuiteId` | number
|
|
19
|
-
`displayNetsuiteId` | number
|
|
20
18
|
`supplierIds` | Array<number>
|
|
21
19
|
`specialDates` | [Array<UpdateStoreRequestSpecialDatesInner>](UpdateStoreRequestSpecialDatesInner.md)
|
|
22
20
|
`address` | [StoreStoreRequestAddress](StoreStoreRequestAddress.md)
|
|
@@ -37,8 +35,6 @@ const example = {
|
|
|
37
35
|
"email": null,
|
|
38
36
|
"website": null,
|
|
39
37
|
"openingHours": null,
|
|
40
|
-
"netsuiteId": null,
|
|
41
|
-
"displayNetsuiteId": null,
|
|
42
38
|
"supplierIds": null,
|
|
43
39
|
"specialDates": null,
|
|
44
40
|
"address": null,
|