@digital8/lighting-illusions-ts-sdk 0.0.1490 → 0.0.1491
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 +42 -56
- package/README.md +29 -44
- package/dist/apis/AdminApi.d.ts +4 -4
- package/dist/apis/AdminApi.js +3 -3
- package/dist/apis/ProductCategoryApi.d.ts +6 -6
- package/dist/apis/ProductCategoryApi.js +1 -1
- package/dist/apis/ProductRegistrationApi.d.ts +79 -0
- package/dist/apis/{MenuApi.js → ProductRegistrationApi.js} +57 -174
- package/dist/apis/index.d.ts +1 -2
- package/dist/apis/index.js +1 -2
- 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 +4 -4
- package/dist/models/GetAllProductRegistrationRequest.d.ts +88 -0
- package/dist/models/{GetAllMenuRequest.js → GetAllProductRegistrationRequest.js} +21 -21
- package/dist/models/GetHierarchyProductCategoryRequest.d.ts +32 -0
- package/dist/models/GetHierarchyProductCategoryRequest.js +51 -0
- package/dist/models/IndexProductChildRequest.d.ts +1 -0
- package/dist/models/IndexProductChildRequest.js +1 -0
- package/dist/models/IndexProductRegistrationRequest.d.ts +131 -0
- package/dist/models/IndexProductRegistrationRequest.js +98 -0
- package/dist/models/ListAssetsProductRegistrationRequest.d.ts +103 -0
- package/dist/models/{IndexMenuRequest.js → ListAssetsProductRegistrationRequest.js} +22 -23
- package/dist/models/PaginatedProductRegistrationAssetResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedProductRegistrationAssetResourceResponse.js +57 -0
- package/dist/models/PaginatedProductRegistrationListResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedProductRegistrationListResourceResponse.js +57 -0
- package/dist/models/PaginatedProductRegistrationResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedProductRegistrationResourceResponse.js +57 -0
- package/dist/models/ProductRegistrationAssetResource.d.ts +45 -0
- package/dist/models/ProductRegistrationAssetResource.js +58 -0
- package/dist/models/ProductRegistrationAssetResourceArrayResponse.d.ts +33 -0
- package/dist/models/ProductRegistrationAssetResourceArrayResponse.js +50 -0
- package/dist/models/ProductRegistrationAssetType.d.ts +25 -0
- package/dist/models/ProductRegistrationAssetType.js +51 -0
- package/dist/models/ProductRegistrationCustomerResource.d.ts +62 -0
- package/dist/models/ProductRegistrationCustomerResource.js +65 -0
- package/dist/models/ProductRegistrationCustomerResourceArrayResponse.d.ts +33 -0
- package/dist/models/ProductRegistrationCustomerResourceArrayResponse.js +50 -0
- package/dist/models/ProductRegistrationListResource.d.ts +57 -0
- package/dist/models/ProductRegistrationListResource.js +64 -0
- package/dist/models/ProductRegistrationListResourceArrayResponse.d.ts +33 -0
- package/dist/models/ProductRegistrationListResourceArrayResponse.js +50 -0
- package/dist/models/ProductRegistrationLiteResource.d.ts +38 -0
- package/dist/models/ProductRegistrationLiteResource.js +53 -0
- package/dist/models/ProductRegistrationLiteResourceArrayResponse.d.ts +33 -0
- package/dist/models/ProductRegistrationLiteResourceArrayResponse.js +50 -0
- package/dist/models/ProductRegistrationProductChildResource.d.ts +50 -0
- package/dist/models/ProductRegistrationProductChildResource.js +63 -0
- package/dist/models/ProductRegistrationProductChildResourceArrayResponse.d.ts +33 -0
- package/dist/models/ProductRegistrationProductChildResourceArrayResponse.js +50 -0
- package/dist/models/ProductRegistrationResource.d.ts +88 -0
- package/dist/models/ProductRegistrationResource.js +79 -0
- package/dist/models/ProductRegistrationResourceArrayResponse.d.ts +33 -0
- package/dist/models/ProductRegistrationResourceArrayResponse.js +50 -0
- package/dist/models/StoreAssetForAssetableRequest.d.ts +0 -2
- package/dist/models/StoreAssetForAssetableRequest.js +1 -3
- package/dist/models/StoreListResource.d.ts +1 -1
- package/dist/models/StoreListResource.js +3 -1
- package/dist/models/StoreResource.d.ts +1 -1
- package/dist/models/StoreResource.js +1 -3
- package/dist/models/StoreSpecialDateFrontendResource.d.ts +2 -2
- package/dist/models/StoreSpecialDateFrontendResource.js +3 -1
- package/dist/models/StoreSpecialDateResource.d.ts +2 -2
- package/dist/models/StoreSpecialDateResource.js +3 -1
- package/dist/models/index.d.ts +20 -26
- package/dist/models/index.js +20 -26
- package/docs/AdminApi.md +12 -12
- package/docs/{GetAllMenuRequest.md → GetAllProductRegistrationRequest.md} +4 -6
- package/docs/{StoreMenuRequest.md → GetHierarchyProductCategoryRequest.md} +4 -8
- package/docs/{GetAllMenuItemRequest.md → IndexProductRegistrationRequest.md} +18 -8
- package/docs/{IndexMenuRequest.md → ListAssetsProductRegistrationRequest.md} +8 -8
- package/docs/PaginatedProductRegistrationAssetResourceResponse.md +36 -0
- package/docs/PaginatedProductRegistrationListResourceResponse.md +36 -0
- package/docs/{PaginatedMenuListResourceResponse.md → PaginatedProductRegistrationResourceResponse.md} +5 -5
- package/docs/ProductCategoryApi.md +7 -7
- package/docs/ProductRegistrationApi.md +275 -0
- package/docs/{UpdateMenuRequestMenuItemOrderInner.md → ProductRegistrationAssetResource.md} +8 -8
- package/docs/{MenuItemEditResourceArrayResponse.md → ProductRegistrationAssetResourceArrayResponse.md} +5 -5
- package/docs/{MenuItemType.md → ProductRegistrationAssetType.md} +4 -4
- package/docs/{UpdateMenuRequest.md → ProductRegistrationCustomerResource.md} +14 -10
- package/docs/ProductRegistrationCustomerResourceArrayResponse.md +34 -0
- package/docs/{MenuItemLinkResource.md → ProductRegistrationListResource.md} +12 -14
- package/docs/{MenuItemHierarchyResourceArrayResponse.md → ProductRegistrationListResourceArrayResponse.md} +5 -5
- package/docs/{MenuListResource.md → ProductRegistrationLiteResource.md} +6 -10
- package/docs/{MenuItemResourceArrayResponse.md → ProductRegistrationLiteResourceArrayResponse.md} +5 -5
- package/docs/{MenuResource.md → ProductRegistrationProductChildResource.md} +8 -12
- package/docs/ProductRegistrationProductChildResourceArrayResponse.md +34 -0
- package/docs/ProductRegistrationResource.md +52 -0
- package/docs/{MenuItemLinkResourceArrayResponse.md → ProductRegistrationResourceArrayResponse.md} +5 -5
- package/docs/StoreSpecialDateFrontendResource.md +1 -1
- package/docs/StoreSpecialDateResource.md +1 -1
- package/package.json +1 -1
- package/src/apis/AdminApi.ts +9 -9
- package/src/apis/ProductCategoryApi.ts +9 -9
- package/src/apis/ProductRegistrationApi.ts +238 -0
- package/src/apis/index.ts +1 -2
- package/src/models/AddressFrontendResource.ts +3 -2
- package/src/models/AddressResource.ts +5 -5
- package/src/models/GetAllProductRegistrationRequest.ts +137 -0
- package/src/models/GetHierarchyProductCategoryRequest.ts +66 -0
- package/src/models/IndexProductChildRequest.ts +1 -0
- package/src/models/IndexProductRegistrationRequest.ts +193 -0
- package/src/models/ListAssetsProductRegistrationRequest.ts +158 -0
- package/src/models/PaginatedProductRegistrationAssetResourceResponse.ts +90 -0
- package/src/models/PaginatedProductRegistrationListResourceResponse.ts +90 -0
- package/src/models/PaginatedProductRegistrationResourceResponse.ts +90 -0
- package/src/models/ProductRegistrationAssetResource.ts +91 -0
- package/src/models/ProductRegistrationAssetResourceArrayResponse.ts +73 -0
- package/src/models/ProductRegistrationAssetType.ts +53 -0
- package/src/models/ProductRegistrationCustomerResource.ts +108 -0
- package/src/models/ProductRegistrationCustomerResourceArrayResponse.ts +73 -0
- package/src/models/ProductRegistrationListResource.ts +108 -0
- package/src/models/ProductRegistrationListResourceArrayResponse.ts +73 -0
- package/src/models/ProductRegistrationLiteResource.ts +74 -0
- package/src/models/ProductRegistrationLiteResourceArrayResponse.ts +73 -0
- package/src/models/ProductRegistrationProductChildResource.ts +93 -0
- package/src/models/ProductRegistrationProductChildResourceArrayResponse.ts +73 -0
- package/src/models/ProductRegistrationResource.ts +157 -0
- package/src/models/ProductRegistrationResourceArrayResponse.ts +73 -0
- package/src/models/StoreAssetForAssetableRequest.ts +1 -3
- package/src/models/StoreListResource.ts +3 -2
- package/src/models/StoreResource.ts +2 -3
- package/src/models/StoreSpecialDateFrontendResource.ts +4 -3
- package/src/models/StoreSpecialDateResource.ts +4 -3
- package/src/models/index.ts +20 -26
- package/dist/apis/MenuApi.d.ts +0 -109
- package/dist/apis/MenuItemsApi.d.ts +0 -124
- package/dist/apis/MenuItemsApi.js +0 -491
- package/dist/models/GetAllMenuItemRequest.d.ts +0 -93
- package/dist/models/GetAllMenuItemRequest.js +0 -81
- package/dist/models/GetAllMenuRequest.d.ts +0 -92
- package/dist/models/GetHierarchyMenuItemRequest.d.ts +0 -32
- package/dist/models/GetHierarchyMenuItemRequest.js +0 -51
- package/dist/models/IndexMenuRequest.d.ts +0 -104
- package/dist/models/MenuItemEditResource.d.ts +0 -119
- package/dist/models/MenuItemEditResource.js +0 -94
- package/dist/models/MenuItemEditResourceArrayResponse.d.ts +0 -33
- package/dist/models/MenuItemEditResourceArrayResponse.js +0 -50
- package/dist/models/MenuItemHierarchyResource.d.ts +0 -74
- package/dist/models/MenuItemHierarchyResource.js +0 -73
- package/dist/models/MenuItemHierarchyResourceArrayResponse.d.ts +0 -33
- package/dist/models/MenuItemHierarchyResourceArrayResponse.js +0 -50
- package/dist/models/MenuItemLinkResource.d.ts +0 -62
- package/dist/models/MenuItemLinkResource.js +0 -65
- package/dist/models/MenuItemLinkResourceArrayResponse.d.ts +0 -33
- package/dist/models/MenuItemLinkResourceArrayResponse.js +0 -50
- package/dist/models/MenuItemResource.d.ts +0 -124
- package/dist/models/MenuItemResource.js +0 -95
- package/dist/models/MenuItemResourceArrayResponse.d.ts +0 -33
- package/dist/models/MenuItemResourceArrayResponse.js +0 -50
- package/dist/models/MenuItemType.d.ts +0 -27
- package/dist/models/MenuItemType.js +0 -53
- package/dist/models/MenuListResource.d.ts +0 -51
- package/dist/models/MenuListResource.js +0 -62
- package/dist/models/MenuListResourceArrayResponse.d.ts +0 -33
- package/dist/models/MenuListResourceArrayResponse.js +0 -50
- package/dist/models/MenuPosition.d.ts +0 -27
- package/dist/models/MenuPosition.js +0 -53
- package/dist/models/MenuResource.d.ts +0 -63
- package/dist/models/MenuResource.js +0 -70
- package/dist/models/MenuResourceArrayResponse.d.ts +0 -33
- package/dist/models/MenuResourceArrayResponse.js +0 -50
- package/dist/models/PaginatedMenuListResourceResponse.d.ts +0 -40
- package/dist/models/PaginatedMenuListResourceResponse.js +0 -57
- package/dist/models/SearchLinkablesMenuItemRequest.d.ts +0 -54
- package/dist/models/SearchLinkablesMenuItemRequest.js +0 -65
- package/dist/models/StoreMenuItemRequest.d.ts +0 -97
- package/dist/models/StoreMenuItemRequest.js +0 -84
- package/dist/models/StoreMenuItemRequestMenuItemLink.d.ts +0 -60
- package/dist/models/StoreMenuItemRequestMenuItemLink.js +0 -65
- package/dist/models/StoreMenuRequest.d.ts +0 -54
- package/dist/models/StoreMenuRequest.js +0 -69
- package/dist/models/UpdateMenuItemRequest.d.ts +0 -97
- package/dist/models/UpdateMenuItemRequest.js +0 -78
- package/dist/models/UpdateMenuRequest.d.ts +0 -61
- package/dist/models/UpdateMenuRequest.js +0 -66
- package/dist/models/UpdateMenuRequestMenuItemOrderInner.d.ts +0 -44
- package/dist/models/UpdateMenuRequestMenuItemOrderInner.js +0 -53
- package/docs/GetHierarchyMenuItemRequest.md +0 -34
- package/docs/MenuApi.md +0 -407
- package/docs/MenuItemEditResource.md +0 -62
- package/docs/MenuItemHierarchyResource.md +0 -48
- package/docs/MenuItemResource.md +0 -64
- package/docs/MenuItemsApi.md +0 -473
- package/docs/MenuListResourceArrayResponse.md +0 -34
- package/docs/MenuPosition.md +0 -32
- package/docs/MenuResourceArrayResponse.md +0 -34
- package/docs/SearchLinkablesMenuItemRequest.md +0 -38
- package/docs/StoreMenuItemRequest.md +0 -52
- package/docs/StoreMenuItemRequestMenuItemLink.md +0 -40
- package/docs/UpdateMenuItemRequest.md +0 -52
- package/src/apis/MenuApi.ts +0 -334
- package/src/apis/MenuItemsApi.ts +0 -381
- package/src/models/GetAllMenuItemRequest.ts +0 -144
- package/src/models/GetAllMenuRequest.ts +0 -143
- package/src/models/GetHierarchyMenuItemRequest.ts +0 -66
- package/src/models/IndexMenuRequest.ts +0 -159
- package/src/models/MenuItemEditResource.ts +0 -206
- package/src/models/MenuItemEditResourceArrayResponse.ts +0 -73
- package/src/models/MenuItemHierarchyResource.ts +0 -126
- package/src/models/MenuItemHierarchyResourceArrayResponse.ts +0 -73
- package/src/models/MenuItemLinkResource.ts +0 -108
- package/src/models/MenuItemLinkResourceArrayResponse.ts +0 -73
- package/src/models/MenuItemResource.ts +0 -207
- package/src/models/MenuItemResourceArrayResponse.ts +0 -73
- package/src/models/MenuItemType.ts +0 -55
- package/src/models/MenuListResource.ts +0 -100
- package/src/models/MenuListResourceArrayResponse.ts +0 -73
- package/src/models/MenuPosition.ts +0 -55
- package/src/models/MenuResource.ts +0 -118
- package/src/models/MenuResourceArrayResponse.ts +0 -73
- package/src/models/PaginatedMenuListResourceResponse.ts +0 -90
- package/src/models/SearchLinkablesMenuItemRequest.ts +0 -95
- package/src/models/StoreMenuItemRequest.ts +0 -161
- package/src/models/StoreMenuItemRequestMenuItemLink.ts +0 -102
- package/src/models/StoreMenuRequest.ts +0 -97
- package/src/models/UpdateMenuItemRequest.ts +0 -158
- package/src/models/UpdateMenuRequest.ts +0 -110
- package/src/models/UpdateMenuRequestMenuItemOrderInner.ts +0 -81
package/docs/AdminApi.md
CHANGED
|
@@ -12,7 +12,7 @@ All URIs are relative to *http://localhost/api*
|
|
|
12
12
|
|
|
13
13
|
## generateGoogleFeedAdmin
|
|
14
14
|
|
|
15
|
-
> GenericResponse generateGoogleFeedAdmin(
|
|
15
|
+
> GenericResponse generateGoogleFeedAdmin(getHierarchyProductCategoryRequest)
|
|
16
16
|
|
|
17
17
|
Auto-generated: generateGoogleFeedAdmin
|
|
18
18
|
|
|
@@ -30,8 +30,8 @@ async function example() {
|
|
|
30
30
|
const api = new AdminApi();
|
|
31
31
|
|
|
32
32
|
const body = {
|
|
33
|
-
//
|
|
34
|
-
|
|
33
|
+
// GetHierarchyProductCategoryRequest (optional)
|
|
34
|
+
getHierarchyProductCategoryRequest: ...,
|
|
35
35
|
} satisfies GenerateGoogleFeedAdminRequest;
|
|
36
36
|
|
|
37
37
|
try {
|
|
@@ -51,7 +51,7 @@ example().catch(console.error);
|
|
|
51
51
|
|
|
52
52
|
| Name | Type | Description | Notes |
|
|
53
53
|
|------------- | ------------- | ------------- | -------------|
|
|
54
|
-
| **
|
|
54
|
+
| **getHierarchyProductCategoryRequest** | [GetHierarchyProductCategoryRequest](GetHierarchyProductCategoryRequest.md) | | [Optional] |
|
|
55
55
|
|
|
56
56
|
### Return type
|
|
57
57
|
|
|
@@ -77,7 +77,7 @@ No authorization required
|
|
|
77
77
|
|
|
78
78
|
## generateSocialFeedAdmin
|
|
79
79
|
|
|
80
|
-
> GenericResponse generateSocialFeedAdmin(
|
|
80
|
+
> GenericResponse generateSocialFeedAdmin(getHierarchyProductCategoryRequest)
|
|
81
81
|
|
|
82
82
|
Auto-generated: generateSocialFeedAdmin
|
|
83
83
|
|
|
@@ -95,8 +95,8 @@ async function example() {
|
|
|
95
95
|
const api = new AdminApi();
|
|
96
96
|
|
|
97
97
|
const body = {
|
|
98
|
-
//
|
|
99
|
-
|
|
98
|
+
// GetHierarchyProductCategoryRequest (optional)
|
|
99
|
+
getHierarchyProductCategoryRequest: ...,
|
|
100
100
|
} satisfies GenerateSocialFeedAdminRequest;
|
|
101
101
|
|
|
102
102
|
try {
|
|
@@ -116,7 +116,7 @@ example().catch(console.error);
|
|
|
116
116
|
|
|
117
117
|
| Name | Type | Description | Notes |
|
|
118
118
|
|------------- | ------------- | ------------- | -------------|
|
|
119
|
-
| **
|
|
119
|
+
| **getHierarchyProductCategoryRequest** | [GetHierarchyProductCategoryRequest](GetHierarchyProductCategoryRequest.md) | | [Optional] |
|
|
120
120
|
|
|
121
121
|
### Return type
|
|
122
122
|
|
|
@@ -142,7 +142,7 @@ No authorization required
|
|
|
142
142
|
|
|
143
143
|
## generateTGNDataFeedAdmin
|
|
144
144
|
|
|
145
|
-
> GenericResponse generateTGNDataFeedAdmin(
|
|
145
|
+
> GenericResponse generateTGNDataFeedAdmin(getHierarchyProductCategoryRequest)
|
|
146
146
|
|
|
147
147
|
Auto-generated: generateTGNDataFeedAdmin
|
|
148
148
|
|
|
@@ -160,8 +160,8 @@ async function example() {
|
|
|
160
160
|
const api = new AdminApi();
|
|
161
161
|
|
|
162
162
|
const body = {
|
|
163
|
-
//
|
|
164
|
-
|
|
163
|
+
// GetHierarchyProductCategoryRequest (optional)
|
|
164
|
+
getHierarchyProductCategoryRequest: ...,
|
|
165
165
|
} satisfies GenerateTGNDataFeedAdminRequest;
|
|
166
166
|
|
|
167
167
|
try {
|
|
@@ -181,7 +181,7 @@ example().catch(console.error);
|
|
|
181
181
|
|
|
182
182
|
| Name | Type | Description | Notes |
|
|
183
183
|
|------------- | ------------- | ------------- | -------------|
|
|
184
|
-
| **
|
|
184
|
+
| **getHierarchyProductCategoryRequest** | [GetHierarchyProductCategoryRequest](GetHierarchyProductCategoryRequest.md) | | [Optional] |
|
|
185
185
|
|
|
186
186
|
### Return type
|
|
187
187
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
#
|
|
2
|
+
# GetAllProductRegistrationRequest
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
## Properties
|
|
@@ -13,12 +13,11 @@ Name | Type
|
|
|
13
13
|
`relatedType` | string
|
|
14
14
|
`includesRelations` | boolean
|
|
15
15
|
`siteId` | Array<string>
|
|
16
|
-
`position` | Array<string>
|
|
17
16
|
|
|
18
17
|
## Example
|
|
19
18
|
|
|
20
19
|
```typescript
|
|
21
|
-
import type {
|
|
20
|
+
import type { GetAllProductRegistrationRequest } from '@digital8/lighting-illusions-ts-sdk'
|
|
22
21
|
|
|
23
22
|
// TODO: Update the object below with actual values
|
|
24
23
|
const example = {
|
|
@@ -29,8 +28,7 @@ const example = {
|
|
|
29
28
|
"relatedType": null,
|
|
30
29
|
"includesRelations": null,
|
|
31
30
|
"siteId": null,
|
|
32
|
-
|
|
33
|
-
} satisfies GetAllMenuRequest
|
|
31
|
+
} satisfies GetAllProductRegistrationRequest
|
|
34
32
|
|
|
35
33
|
console.log(example)
|
|
36
34
|
|
|
@@ -39,7 +37,7 @@ const exampleJSON: string = JSON.stringify(example)
|
|
|
39
37
|
console.log(exampleJSON)
|
|
40
38
|
|
|
41
39
|
// Parse the JSON string back to an object
|
|
42
|
-
const exampleParsed = JSON.parse(exampleJSON) as
|
|
40
|
+
const exampleParsed = JSON.parse(exampleJSON) as GetAllProductRegistrationRequest
|
|
43
41
|
console.log(exampleParsed)
|
|
44
42
|
```
|
|
45
43
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
#
|
|
2
|
+
# GetHierarchyProductCategoryRequest
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
## Properties
|
|
@@ -7,20 +7,16 @@
|
|
|
7
7
|
Name | Type
|
|
8
8
|
------------ | -------------
|
|
9
9
|
`siteId` | number
|
|
10
|
-
`position` | string
|
|
11
|
-
`name` | string
|
|
12
10
|
|
|
13
11
|
## Example
|
|
14
12
|
|
|
15
13
|
```typescript
|
|
16
|
-
import type {
|
|
14
|
+
import type { GetHierarchyProductCategoryRequest } from '@digital8/lighting-illusions-ts-sdk'
|
|
17
15
|
|
|
18
16
|
// TODO: Update the object below with actual values
|
|
19
17
|
const example = {
|
|
20
18
|
"siteId": null,
|
|
21
|
-
|
|
22
|
-
"name": null,
|
|
23
|
-
} satisfies StoreMenuRequest
|
|
19
|
+
} satisfies GetHierarchyProductCategoryRequest
|
|
24
20
|
|
|
25
21
|
console.log(example)
|
|
26
22
|
|
|
@@ -29,7 +25,7 @@ const exampleJSON: string = JSON.stringify(example)
|
|
|
29
25
|
console.log(exampleJSON)
|
|
30
26
|
|
|
31
27
|
// Parse the JSON string back to an object
|
|
32
|
-
const exampleParsed = JSON.parse(exampleJSON) as
|
|
28
|
+
const exampleParsed = JSON.parse(exampleJSON) as GetHierarchyProductCategoryRequest
|
|
33
29
|
console.log(exampleParsed)
|
|
34
30
|
```
|
|
35
31
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
#
|
|
2
|
+
# IndexProductRegistrationRequest
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
## Properties
|
|
@@ -9,28 +9,38 @@ Name | Type
|
|
|
9
9
|
`search` | string
|
|
10
10
|
`sortBy` | string
|
|
11
11
|
`sortDirection` | string
|
|
12
|
+
`perPage` | number
|
|
13
|
+
`page` | number
|
|
14
|
+
`siteId` | Array<string>
|
|
15
|
+
`beforePurchasedDate` | Date
|
|
16
|
+
`afterPurchasedDate` | Date
|
|
17
|
+
`beforeCreatedAt` | Date
|
|
18
|
+
`afterCreatedAt` | Date
|
|
12
19
|
`relatedId` | number
|
|
13
20
|
`relatedType` | string
|
|
14
21
|
`includesRelations` | boolean
|
|
15
|
-
`menuId` | Array<string>
|
|
16
|
-
`type` | Array<string>
|
|
17
22
|
|
|
18
23
|
## Example
|
|
19
24
|
|
|
20
25
|
```typescript
|
|
21
|
-
import type {
|
|
26
|
+
import type { IndexProductRegistrationRequest } from '@digital8/lighting-illusions-ts-sdk'
|
|
22
27
|
|
|
23
28
|
// TODO: Update the object below with actual values
|
|
24
29
|
const example = {
|
|
25
30
|
"search": null,
|
|
26
31
|
"sortBy": null,
|
|
27
32
|
"sortDirection": null,
|
|
33
|
+
"perPage": null,
|
|
34
|
+
"page": null,
|
|
35
|
+
"siteId": null,
|
|
36
|
+
"beforePurchasedDate": null,
|
|
37
|
+
"afterPurchasedDate": null,
|
|
38
|
+
"beforeCreatedAt": null,
|
|
39
|
+
"afterCreatedAt": null,
|
|
28
40
|
"relatedId": null,
|
|
29
41
|
"relatedType": null,
|
|
30
42
|
"includesRelations": null,
|
|
31
|
-
|
|
32
|
-
"type": null,
|
|
33
|
-
} satisfies GetAllMenuItemRequest
|
|
43
|
+
} satisfies IndexProductRegistrationRequest
|
|
34
44
|
|
|
35
45
|
console.log(example)
|
|
36
46
|
|
|
@@ -39,7 +49,7 @@ const exampleJSON: string = JSON.stringify(example)
|
|
|
39
49
|
console.log(exampleJSON)
|
|
40
50
|
|
|
41
51
|
// Parse the JSON string back to an object
|
|
42
|
-
const exampleParsed = JSON.parse(exampleJSON) as
|
|
52
|
+
const exampleParsed = JSON.parse(exampleJSON) as IndexProductRegistrationRequest
|
|
43
53
|
console.log(exampleParsed)
|
|
44
54
|
```
|
|
45
55
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
#
|
|
2
|
+
# ListAssetsProductRegistrationRequest
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
## Properties
|
|
@@ -11,8 +11,8 @@ Name | Type
|
|
|
11
11
|
`sortDirection` | string
|
|
12
12
|
`perPage` | number
|
|
13
13
|
`page` | number
|
|
14
|
-
`
|
|
15
|
-
`
|
|
14
|
+
`productRegistrationId` | Array<string>
|
|
15
|
+
`type` | Array<string>
|
|
16
16
|
`relatedId` | number
|
|
17
17
|
`relatedType` | string
|
|
18
18
|
`includesRelations` | boolean
|
|
@@ -20,7 +20,7 @@ Name | Type
|
|
|
20
20
|
## Example
|
|
21
21
|
|
|
22
22
|
```typescript
|
|
23
|
-
import type {
|
|
23
|
+
import type { ListAssetsProductRegistrationRequest } from '@digital8/lighting-illusions-ts-sdk'
|
|
24
24
|
|
|
25
25
|
// TODO: Update the object below with actual values
|
|
26
26
|
const example = {
|
|
@@ -29,12 +29,12 @@ const example = {
|
|
|
29
29
|
"sortDirection": null,
|
|
30
30
|
"perPage": null,
|
|
31
31
|
"page": null,
|
|
32
|
-
"
|
|
33
|
-
"
|
|
32
|
+
"productRegistrationId": null,
|
|
33
|
+
"type": null,
|
|
34
34
|
"relatedId": null,
|
|
35
35
|
"relatedType": null,
|
|
36
36
|
"includesRelations": null,
|
|
37
|
-
} satisfies
|
|
37
|
+
} satisfies ListAssetsProductRegistrationRequest
|
|
38
38
|
|
|
39
39
|
console.log(example)
|
|
40
40
|
|
|
@@ -43,7 +43,7 @@ const exampleJSON: string = JSON.stringify(example)
|
|
|
43
43
|
console.log(exampleJSON)
|
|
44
44
|
|
|
45
45
|
// Parse the JSON string back to an object
|
|
46
|
-
const exampleParsed = JSON.parse(exampleJSON) as
|
|
46
|
+
const exampleParsed = JSON.parse(exampleJSON) as ListAssetsProductRegistrationRequest
|
|
47
47
|
console.log(exampleParsed)
|
|
48
48
|
```
|
|
49
49
|
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
|
|
2
|
+
# PaginatedProductRegistrationAssetResourceResponse
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`data` | [Array<ProductRegistrationAssetResource>](ProductRegistrationAssetResource.md)
|
|
10
|
+
`meta` | [PagingMetadata](PagingMetadata.md)
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```typescript
|
|
15
|
+
import type { PaginatedProductRegistrationAssetResourceResponse } 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 PaginatedProductRegistrationAssetResourceResponse
|
|
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 PaginatedProductRegistrationAssetResourceResponse
|
|
31
|
+
console.log(exampleParsed)
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
35
|
+
|
|
36
|
+
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
|
|
2
|
+
# PaginatedProductRegistrationListResourceResponse
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`data` | [Array<ProductRegistrationListResource>](ProductRegistrationListResource.md)
|
|
10
|
+
`meta` | [PagingMetadata](PagingMetadata.md)
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```typescript
|
|
15
|
+
import type { PaginatedProductRegistrationListResourceResponse } 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 PaginatedProductRegistrationListResourceResponse
|
|
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 PaginatedProductRegistrationListResourceResponse
|
|
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,24 +1,24 @@
|
|
|
1
1
|
|
|
2
|
-
#
|
|
2
|
+
# PaginatedProductRegistrationResourceResponse
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
## Properties
|
|
6
6
|
|
|
7
7
|
Name | Type
|
|
8
8
|
------------ | -------------
|
|
9
|
-
`data` | [Array<
|
|
9
|
+
`data` | [Array<ProductRegistrationResource>](ProductRegistrationResource.md)
|
|
10
10
|
`meta` | [PagingMetadata](PagingMetadata.md)
|
|
11
11
|
|
|
12
12
|
## Example
|
|
13
13
|
|
|
14
14
|
```typescript
|
|
15
|
-
import type {
|
|
15
|
+
import type { PaginatedProductRegistrationResourceResponse } 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
|
|
21
|
+
} satisfies PaginatedProductRegistrationResourceResponse
|
|
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
|
|
30
|
+
const exampleParsed = JSON.parse(exampleJSON) as PaginatedProductRegistrationResourceResponse
|
|
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#
|
|
14
|
+
| [**getHierarchyProductCategory**](ProductCategoryApi.md#gethierarchyproductcategoryoperation) | **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(
|
|
492
|
+
> ProductCategoryHierarchyResourceArrayResponse getHierarchyProductCategory(getHierarchyProductCategoryRequest)
|
|
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 {
|
|
503
|
+
import type { GetHierarchyProductCategoryOperationRequest } 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
|
-
//
|
|
511
|
-
|
|
512
|
-
} satisfies
|
|
510
|
+
// GetHierarchyProductCategoryRequest (optional)
|
|
511
|
+
getHierarchyProductCategoryRequest: ...,
|
|
512
|
+
} satisfies GetHierarchyProductCategoryOperationRequest;
|
|
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
|
-
| **
|
|
531
|
+
| **getHierarchyProductCategoryRequest** | [GetHierarchyProductCategoryRequest](GetHierarchyProductCategoryRequest.md) | | [Optional] |
|
|
532
532
|
|
|
533
533
|
### Return type
|
|
534
534
|
|