@digital8/lighting-illusions-ts-sdk 0.0.1696 → 0.0.1697
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 +12 -120
- package/README.md +16 -82
- package/dist/apis/AdminApi.d.ts +8 -8
- 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/StoreApi.d.ts +28 -1
- package/dist/apis/StoreApi.js +113 -0
- package/dist/apis/index.d.ts +0 -4
- package/dist/apis/index.js +0 -4
- package/dist/models/AddressResource.d.ts +1 -1
- package/dist/models/AddressResource.js +1 -3
- package/dist/models/ExternalApiLogResource.d.ts +1 -1
- package/dist/models/ExternalApiLogResource.js +3 -1
- package/dist/models/GetHierarchyProductCategoryRequest.d.ts +32 -0
- package/dist/models/GetHierarchyProductCategoryRequest.js +51 -0
- package/dist/models/SaveMapStoreStockMigrationRequest.d.ts +33 -0
- package/dist/models/SaveMapStoreStockMigrationRequest.js +52 -0
- package/dist/models/SaveMapStoreStockMigrationRequestAssociationsInner.d.ts +52 -0
- package/dist/models/SaveMapStoreStockMigrationRequestAssociationsInner.js +67 -0
- package/dist/models/StoreProductCategoryRequest.d.ts +6 -6
- package/dist/models/StoreProductCategoryRequest.js +6 -6
- package/dist/models/StoreProductCategoryRequestDescriptionsInner.d.ts +44 -0
- package/dist/models/StoreProductCategoryRequestDescriptionsInner.js +55 -0
- package/dist/models/StoreProductCategoryRequestSeoInner.d.ts +44 -0
- package/dist/models/StoreProductCategoryRequestSeoInner.js +55 -0
- package/dist/models/StoreResource.d.ts +12 -0
- package/dist/models/StoreResource.js +4 -0
- 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 +1 -3
- package/dist/models/StoreStockType.d.ts +25 -0
- package/dist/models/StoreStockType.js +51 -0
- package/dist/models/StoreStoreRequest.d.ts +12 -0
- package/dist/models/StoreStoreRequest.js +4 -0
- package/dist/models/StoreSupplierRequest.d.ts +6 -6
- package/dist/models/StoreSupplierRequest.js +6 -6
- package/dist/models/UpdateProductCategoryRequest.d.ts +6 -6
- package/dist/models/UpdateProductCategoryRequest.js +6 -6
- package/dist/models/UpdateStoreRequest.d.ts +12 -0
- package/dist/models/UpdateStoreRequest.js +4 -0
- package/dist/models/UpdateSupplierRequest.d.ts +6 -6
- package/dist/models/UpdateSupplierRequest.js +6 -6
- package/dist/models/index.d.ts +6 -56
- package/dist/models/index.js +6 -56
- package/docs/AdminApi.md +15 -15
- package/docs/{GenerateGoogleFeedAdminRequest.md → GetHierarchyProductCategoryRequest.md} +4 -4
- package/docs/ProductCategoryApi.md +7 -7
- package/docs/{BlogCategoryResourceArrayResponse.md → SaveMapStoreStockMigrationRequest.md} +6 -6
- package/docs/{PageComponentLiteResource.md → SaveMapStoreStockMigrationRequestAssociationsInner.md} +8 -8
- package/docs/StoreApi.md +124 -0
- package/docs/StoreProductCategoryRequest.md +2 -2
- package/docs/{StoreBlogCategoryRequestDescriptionsInner.md → StoreProductCategoryRequestDescriptionsInner.md} +4 -4
- package/docs/{StorePageRequestSeoInner.md → StoreProductCategoryRequestSeoInner.md} +4 -4
- package/docs/StoreResource.md +4 -0
- package/docs/StoreSpecialDateFrontendResource.md +1 -1
- package/docs/StoreSpecialDateResource.md +1 -1
- package/docs/{PageType.md → StoreStockType.md} +4 -4
- package/docs/StoreStoreRequest.md +4 -0
- package/docs/StoreSupplierRequest.md +2 -2
- package/docs/UpdateProductCategoryRequest.md +2 -2
- package/docs/UpdateStoreRequest.md +4 -0
- package/docs/UpdateSupplierRequest.md +2 -2
- package/package.json +1 -1
- package/src/apis/AdminApi.ts +13 -13
- package/src/apis/ProductCategoryApi.ts +9 -9
- package/src/apis/StoreApi.ts +84 -0
- package/src/apis/index.ts +0 -4
- package/src/models/AddressResource.ts +2 -3
- package/src/models/ExternalApiLogResource.ts +3 -2
- package/src/models/GetHierarchyProductCategoryRequest.ts +66 -0
- package/src/models/SaveMapStoreStockMigrationRequest.ts +74 -0
- package/src/models/SaveMapStoreStockMigrationRequestAssociationsInner.ts +95 -0
- package/src/models/StoreProductCategoryRequest.ts +20 -20
- package/src/models/StoreProductCategoryRequestDescriptionsInner.ts +82 -0
- package/src/models/{StorePageRequestSeoInner.ts → StoreProductCategoryRequestSeoInner.ts} +13 -13
- package/src/models/StoreResource.ts +16 -0
- package/src/models/StoreSpecialDateFrontendResource.ts +4 -3
- package/src/models/StoreSpecialDateResource.ts +3 -4
- package/src/models/StoreStockType.ts +53 -0
- package/src/models/StoreStoreRequest.ts +16 -0
- package/src/models/StoreSupplierRequest.ts +20 -20
- package/src/models/UpdateProductCategoryRequest.ts +20 -20
- package/src/models/UpdateStoreRequest.ts +16 -0
- package/src/models/UpdateSupplierRequest.ts +20 -20
- package/src/models/index.ts +6 -56
- package/dist/apis/BlogCategoryApi.d.ts +0 -109
- package/dist/apis/BlogCategoryApi.js +0 -433
- package/dist/apis/FrontendComponentApi.d.ts +0 -33
- package/dist/apis/FrontendComponentApi.js +0 -138
- package/dist/apis/PageApi.d.ts +0 -109
- package/dist/apis/PageApi.js +0 -433
- package/dist/apis/PageComponentApi.d.ts +0 -94
- package/dist/apis/PageComponentApi.js +0 -375
- package/dist/models/BlogCategoryListResource.d.ts +0 -44
- package/dist/models/BlogCategoryListResource.js +0 -59
- package/dist/models/BlogCategoryListResourceArrayResponse.d.ts +0 -33
- package/dist/models/BlogCategoryListResourceArrayResponse.js +0 -50
- package/dist/models/BlogCategoryLiteResource.d.ts +0 -38
- package/dist/models/BlogCategoryLiteResource.js +0 -55
- package/dist/models/BlogCategoryLiteResourceArrayResponse.d.ts +0 -33
- package/dist/models/BlogCategoryLiteResourceArrayResponse.js +0 -50
- package/dist/models/BlogCategoryResource.d.ts +0 -51
- package/dist/models/BlogCategoryResource.js +0 -64
- package/dist/models/BlogCategoryResourceArrayResponse.d.ts +0 -33
- package/dist/models/BlogCategoryResourceArrayResponse.js +0 -50
- package/dist/models/BlogFrontendDetailResource.d.ts +0 -88
- package/dist/models/BlogFrontendDetailResource.js +0 -87
- package/dist/models/BlogFrontendDetailResourceArrayResponse.d.ts +0 -33
- package/dist/models/BlogFrontendDetailResourceArrayResponse.js +0 -50
- package/dist/models/BlogFrontendResource.d.ts +0 -76
- package/dist/models/BlogFrontendResource.js +0 -79
- package/dist/models/BlogFrontendResourceArrayResponse.d.ts +0 -33
- package/dist/models/BlogFrontendResourceArrayResponse.js +0 -50
- package/dist/models/BlogResource.d.ts +0 -64
- package/dist/models/BlogResource.js +0 -71
- package/dist/models/BlogResourceArrayResponse.d.ts +0 -33
- package/dist/models/BlogResourceArrayResponse.js +0 -50
- package/dist/models/FrontendComponentLiteResource.d.ts +0 -44
- package/dist/models/FrontendComponentLiteResource.js +0 -59
- package/dist/models/FrontendComponentLiteResourceArrayResponse.d.ts +0 -33
- package/dist/models/FrontendComponentLiteResourceArrayResponse.js +0 -50
- package/dist/models/FrontendComponentResource.d.ts +0 -51
- package/dist/models/FrontendComponentResource.js +0 -64
- package/dist/models/FrontendComponentResourceArrayResponse.d.ts +0 -33
- package/dist/models/FrontendComponentResourceArrayResponse.js +0 -50
- package/dist/models/GenerateGoogleFeedAdminRequest.d.ts +0 -32
- package/dist/models/GenerateGoogleFeedAdminRequest.js +0 -51
- package/dist/models/GetAllBlogCategoryRequest.d.ts +0 -78
- package/dist/models/GetAllBlogCategoryRequest.js +0 -74
- package/dist/models/GetAllFrontendComponentRequest.d.ts +0 -78
- package/dist/models/GetAllFrontendComponentRequest.js +0 -74
- package/dist/models/GetAllPageComponentRequest.d.ts +0 -90
- package/dist/models/GetAllPageComponentRequest.js +0 -78
- package/dist/models/GetAllPageRequest.d.ts +0 -97
- package/dist/models/GetAllPageRequest.js +0 -81
- package/dist/models/IndexBlogCategoryRequest.d.ts +0 -90
- package/dist/models/IndexBlogCategoryRequest.js +0 -78
- package/dist/models/IndexPageRequest.d.ts +0 -109
- package/dist/models/IndexPageRequest.js +0 -85
- package/dist/models/PageComponentLiteResource.d.ts +0 -44
- package/dist/models/PageComponentLiteResource.js +0 -59
- package/dist/models/PageComponentLiteResourceArrayResponse.d.ts +0 -33
- package/dist/models/PageComponentLiteResourceArrayResponse.js +0 -50
- package/dist/models/PageComponentRelationResource.d.ts +0 -57
- package/dist/models/PageComponentRelationResource.js +0 -68
- package/dist/models/PageComponentRelationResourceArrayResponse.d.ts +0 -33
- package/dist/models/PageComponentRelationResourceArrayResponse.js +0 -50
- package/dist/models/PageComponentResource.d.ts +0 -87
- package/dist/models/PageComponentResource.js +0 -80
- package/dist/models/PageComponentResourceArrayResponse.d.ts +0 -33
- package/dist/models/PageComponentResourceArrayResponse.js +0 -50
- package/dist/models/PageListResource.d.ts +0 -75
- package/dist/models/PageListResource.js +0 -78
- package/dist/models/PageListResourceArrayResponse.d.ts +0 -33
- package/dist/models/PageListResourceArrayResponse.js +0 -50
- package/dist/models/PageLiteResource.d.ts +0 -38
- package/dist/models/PageLiteResource.js +0 -55
- package/dist/models/PageLiteResourceArrayResponse.d.ts +0 -33
- package/dist/models/PageLiteResourceArrayResponse.js +0 -50
- package/dist/models/PageResource.d.ts +0 -89
- package/dist/models/PageResource.js +0 -88
- package/dist/models/PageResourceArrayResponse.d.ts +0 -33
- package/dist/models/PageResourceArrayResponse.js +0 -50
- package/dist/models/PageType.d.ts +0 -26
- package/dist/models/PageType.js +0 -52
- package/dist/models/PaginatedBlogCategoryListResourceResponse.d.ts +0 -40
- package/dist/models/PaginatedBlogCategoryListResourceResponse.js +0 -57
- package/dist/models/PaginatedBlogCategoryLiteResourceResponse.d.ts +0 -40
- package/dist/models/PaginatedBlogCategoryLiteResourceResponse.js +0 -57
- package/dist/models/PaginatedBlogCategoryResourceResponse.d.ts +0 -40
- package/dist/models/PaginatedBlogCategoryResourceResponse.js +0 -57
- package/dist/models/PaginatedBlogFrontendResourceResponse.d.ts +0 -40
- package/dist/models/PaginatedBlogFrontendResourceResponse.js +0 -57
- package/dist/models/PaginatedFrontendComponentLiteResourceResponse.d.ts +0 -40
- package/dist/models/PaginatedFrontendComponentLiteResourceResponse.js +0 -57
- package/dist/models/PaginatedFrontendComponentResourceResponse.d.ts +0 -40
- package/dist/models/PaginatedFrontendComponentResourceResponse.js +0 -57
- package/dist/models/PaginatedPageComponentLiteResourceResponse.d.ts +0 -40
- package/dist/models/PaginatedPageComponentLiteResourceResponse.js +0 -57
- package/dist/models/PaginatedPageListResourceResponse.d.ts +0 -40
- package/dist/models/PaginatedPageListResourceResponse.js +0 -57
- package/dist/models/PaginatedPageLiteResourceResponse.d.ts +0 -40
- package/dist/models/PaginatedPageLiteResourceResponse.js +0 -57
- package/dist/models/PaginatedPageResourceResponse.d.ts +0 -40
- package/dist/models/PaginatedPageResourceResponse.js +0 -57
- package/dist/models/StoreBlogCategoryRequest.d.ts +0 -45
- package/dist/models/StoreBlogCategoryRequest.js +0 -60
- package/dist/models/StoreBlogCategoryRequestDescriptionsInner.d.ts +0 -44
- package/dist/models/StoreBlogCategoryRequestDescriptionsInner.js +0 -55
- package/dist/models/StorePageComponentRequest.d.ts +0 -81
- package/dist/models/StorePageComponentRequest.js +0 -72
- package/dist/models/StorePageComponentRequestRelationsInner.d.ts +0 -44
- package/dist/models/StorePageComponentRequestRelationsInner.js +0 -53
- package/dist/models/StorePageRequest.d.ts +0 -85
- package/dist/models/StorePageRequest.js +0 -84
- package/dist/models/StorePageRequestBlog.d.ts +0 -50
- package/dist/models/StorePageRequestBlog.js +0 -55
- package/dist/models/StorePageRequestSeoInner.d.ts +0 -44
- package/dist/models/StorePageRequestSeoInner.js +0 -55
- package/dist/models/UpdateBlogCategoryRequest.d.ts +0 -45
- package/dist/models/UpdateBlogCategoryRequest.js +0 -60
- package/dist/models/UpdatePageComponentRequest.d.ts +0 -69
- package/dist/models/UpdatePageComponentRequest.js +0 -64
- package/dist/models/UpdatePageRequest.d.ts +0 -70
- package/dist/models/UpdatePageRequest.js +0 -69
- package/docs/BlogCategoryApi.md +0 -407
- package/docs/BlogCategoryListResource.md +0 -38
- package/docs/BlogCategoryListResourceArrayResponse.md +0 -34
- package/docs/BlogCategoryLiteResource.md +0 -36
- package/docs/BlogCategoryLiteResourceArrayResponse.md +0 -34
- package/docs/BlogCategoryResource.md +0 -40
- package/docs/BlogFrontendDetailResource.md +0 -52
- package/docs/BlogFrontendDetailResourceArrayResponse.md +0 -34
- package/docs/BlogFrontendResource.md +0 -48
- package/docs/BlogFrontendResourceArrayResponse.md +0 -34
- package/docs/BlogResource.md +0 -44
- package/docs/BlogResourceArrayResponse.md +0 -34
- package/docs/FrontendComponentApi.md +0 -74
- package/docs/FrontendComponentLiteResource.md +0 -38
- package/docs/FrontendComponentLiteResourceArrayResponse.md +0 -34
- package/docs/FrontendComponentResource.md +0 -40
- package/docs/FrontendComponentResourceArrayResponse.md +0 -34
- package/docs/GetAllBlogCategoryRequest.md +0 -44
- package/docs/GetAllFrontendComponentRequest.md +0 -44
- package/docs/GetAllPageComponentRequest.md +0 -48
- package/docs/GetAllPageRequest.md +0 -50
- package/docs/IndexBlogCategoryRequest.md +0 -48
- package/docs/IndexPageRequest.md +0 -54
- package/docs/PageApi.md +0 -407
- package/docs/PageComponentApi.md +0 -341
- package/docs/PageComponentLiteResourceArrayResponse.md +0 -34
- package/docs/PageComponentRelationResource.md +0 -42
- package/docs/PageComponentRelationResourceArrayResponse.md +0 -34
- package/docs/PageComponentResource.md +0 -52
- package/docs/PageComponentResourceArrayResponse.md +0 -34
- package/docs/PageListResource.md +0 -48
- package/docs/PageListResourceArrayResponse.md +0 -34
- package/docs/PageLiteResource.md +0 -36
- package/docs/PageLiteResourceArrayResponse.md +0 -34
- package/docs/PageResource.md +0 -52
- package/docs/PageResourceArrayResponse.md +0 -34
- package/docs/PaginatedBlogCategoryListResourceResponse.md +0 -36
- package/docs/PaginatedBlogCategoryLiteResourceResponse.md +0 -36
- package/docs/PaginatedBlogCategoryResourceResponse.md +0 -36
- package/docs/PaginatedBlogFrontendResourceResponse.md +0 -36
- package/docs/PaginatedFrontendComponentLiteResourceResponse.md +0 -36
- package/docs/PaginatedFrontendComponentResourceResponse.md +0 -36
- package/docs/PaginatedPageComponentLiteResourceResponse.md +0 -36
- package/docs/PaginatedPageListResourceResponse.md +0 -36
- package/docs/PaginatedPageLiteResourceResponse.md +0 -36
- package/docs/PaginatedPageResourceResponse.md +0 -36
- package/docs/StoreBlogCategoryRequest.md +0 -38
- package/docs/StorePageComponentRequest.md +0 -50
- package/docs/StorePageComponentRequestRelationsInner.md +0 -38
- package/docs/StorePageRequest.md +0 -48
- package/docs/StorePageRequestBlog.md +0 -40
- package/docs/UpdateBlogCategoryRequest.md +0 -38
- package/docs/UpdatePageComponentRequest.md +0 -46
- package/docs/UpdatePageRequest.md +0 -46
- package/src/apis/BlogCategoryApi.ts +0 -334
- package/src/apis/FrontendComponentApi.ts +0 -77
- package/src/apis/PageApi.ts +0 -334
- package/src/apis/PageComponentApi.ts +0 -284
- package/src/models/BlogCategoryListResource.ts +0 -84
- package/src/models/BlogCategoryListResourceArrayResponse.ts +0 -73
- package/src/models/BlogCategoryLiteResource.ts +0 -75
- package/src/models/BlogCategoryLiteResourceArrayResponse.ts +0 -73
- package/src/models/BlogCategoryResource.ts +0 -101
- package/src/models/BlogCategoryResourceArrayResponse.ts +0 -73
- package/src/models/BlogFrontendDetailResource.ts +0 -161
- package/src/models/BlogFrontendDetailResourceArrayResponse.ts +0 -73
- package/src/models/BlogFrontendResource.ts +0 -143
- package/src/models/BlogFrontendResourceArrayResponse.ts +0 -73
- package/src/models/BlogResource.ts +0 -125
- package/src/models/BlogResourceArrayResponse.ts +0 -73
- package/src/models/FrontendComponentLiteResource.ts +0 -84
- package/src/models/FrontendComponentLiteResourceArrayResponse.ts +0 -73
- package/src/models/FrontendComponentResource.ts +0 -101
- package/src/models/FrontendComponentResourceArrayResponse.ts +0 -73
- package/src/models/GenerateGoogleFeedAdminRequest.ts +0 -66
- package/src/models/GetAllBlogCategoryRequest.ts +0 -125
- package/src/models/GetAllFrontendComponentRequest.ts +0 -125
- package/src/models/GetAllPageComponentRequest.ts +0 -141
- package/src/models/GetAllPageRequest.ts +0 -150
- package/src/models/IndexBlogCategoryRequest.ts +0 -141
- package/src/models/IndexPageRequest.ts +0 -166
- package/src/models/PageComponentLiteResource.ts +0 -84
- package/src/models/PageComponentLiteResourceArrayResponse.ts +0 -73
- package/src/models/PageComponentRelationResource.ts +0 -110
- package/src/models/PageComponentRelationResourceArrayResponse.ts +0 -73
- package/src/models/PageComponentResource.ts +0 -151
- package/src/models/PageComponentResourceArrayResponse.ts +0 -73
- package/src/models/PageListResource.ts +0 -136
- package/src/models/PageListResourceArrayResponse.ts +0 -73
- package/src/models/PageLiteResource.ts +0 -75
- package/src/models/PageLiteResourceArrayResponse.ts +0 -73
- package/src/models/PageResource.ts +0 -168
- package/src/models/PageResourceArrayResponse.ts +0 -73
- package/src/models/PageType.ts +0 -54
- package/src/models/PaginatedBlogCategoryListResourceResponse.ts +0 -90
- package/src/models/PaginatedBlogCategoryLiteResourceResponse.ts +0 -90
- package/src/models/PaginatedBlogCategoryResourceResponse.ts +0 -90
- package/src/models/PaginatedBlogFrontendResourceResponse.ts +0 -90
- package/src/models/PaginatedFrontendComponentLiteResourceResponse.ts +0 -90
- package/src/models/PaginatedFrontendComponentResourceResponse.ts +0 -90
- package/src/models/PaginatedPageComponentLiteResourceResponse.ts +0 -90
- package/src/models/PaginatedPageListResourceResponse.ts +0 -90
- package/src/models/PaginatedPageLiteResourceResponse.ts +0 -90
- package/src/models/PaginatedPageResourceResponse.ts +0 -90
- package/src/models/StoreBlogCategoryRequest.ts +0 -92
- package/src/models/StoreBlogCategoryRequestDescriptionsInner.ts +0 -82
- package/src/models/StorePageComponentRequest.ts +0 -140
- package/src/models/StorePageComponentRequestRelationsInner.ts +0 -81
- package/src/models/StorePageRequest.ts +0 -153
- package/src/models/StorePageRequestBlog.ts +0 -89
- package/src/models/UpdateBlogCategoryRequest.ts +0 -92
- package/src/models/UpdatePageComponentRequest.ts +0 -122
- package/src/models/UpdatePageRequest.ts +0 -131
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
#
|
|
2
|
+
# GetHierarchyProductCategoryRequest
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
## Properties
|
|
@@ -11,12 +11,12 @@ Name | Type
|
|
|
11
11
|
## Example
|
|
12
12
|
|
|
13
13
|
```typescript
|
|
14
|
-
import type {
|
|
14
|
+
import type { GetHierarchyProductCategoryRequest } from '@digital8/lighting-illusions-ts-sdk'
|
|
15
15
|
|
|
16
16
|
// TODO: Update the object below with actual values
|
|
17
17
|
const example = {
|
|
18
18
|
"siteId": null,
|
|
19
|
-
} satisfies
|
|
19
|
+
} satisfies GetHierarchyProductCategoryRequest
|
|
20
20
|
|
|
21
21
|
console.log(example)
|
|
22
22
|
|
|
@@ -25,7 +25,7 @@ const exampleJSON: string = JSON.stringify(example)
|
|
|
25
25
|
console.log(exampleJSON)
|
|
26
26
|
|
|
27
27
|
// Parse the JSON string back to an object
|
|
28
|
-
const exampleParsed = JSON.parse(exampleJSON) as
|
|
28
|
+
const exampleParsed = JSON.parse(exampleJSON) as GetHierarchyProductCategoryRequest
|
|
29
29
|
console.log(exampleParsed)
|
|
30
30
|
```
|
|
31
31
|
|
|
@@ -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
|
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
|
|
2
|
-
#
|
|
2
|
+
# SaveMapStoreStockMigrationRequest
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
## Properties
|
|
6
6
|
|
|
7
7
|
Name | Type
|
|
8
8
|
------------ | -------------
|
|
9
|
-
`
|
|
9
|
+
`associations` | [Array<SaveMapStoreStockMigrationRequestAssociationsInner>](SaveMapStoreStockMigrationRequestAssociationsInner.md)
|
|
10
10
|
|
|
11
11
|
## Example
|
|
12
12
|
|
|
13
13
|
```typescript
|
|
14
|
-
import type {
|
|
14
|
+
import type { SaveMapStoreStockMigrationRequest } from '@digital8/lighting-illusions-ts-sdk'
|
|
15
15
|
|
|
16
16
|
// TODO: Update the object below with actual values
|
|
17
17
|
const example = {
|
|
18
|
-
"
|
|
19
|
-
} satisfies
|
|
18
|
+
"associations": null,
|
|
19
|
+
} satisfies SaveMapStoreStockMigrationRequest
|
|
20
20
|
|
|
21
21
|
console.log(example)
|
|
22
22
|
|
|
@@ -25,7 +25,7 @@ const exampleJSON: string = JSON.stringify(example)
|
|
|
25
25
|
console.log(exampleJSON)
|
|
26
26
|
|
|
27
27
|
// Parse the JSON string back to an object
|
|
28
|
-
const exampleParsed = JSON.parse(exampleJSON) as
|
|
28
|
+
const exampleParsed = JSON.parse(exampleJSON) as SaveMapStoreStockMigrationRequest
|
|
29
29
|
console.log(exampleParsed)
|
|
30
30
|
```
|
|
31
31
|
|
package/docs/{PageComponentLiteResource.md → SaveMapStoreStockMigrationRequestAssociationsInner.md}
RENAMED
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
|
|
2
|
-
#
|
|
2
|
+
# SaveMapStoreStockMigrationRequestAssociationsInner
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
## Properties
|
|
6
6
|
|
|
7
7
|
Name | Type
|
|
8
8
|
------------ | -------------
|
|
9
|
-
`
|
|
9
|
+
`locationId` | number
|
|
10
|
+
`storeId` | number
|
|
10
11
|
`type` | string
|
|
11
|
-
`order` | number
|
|
12
12
|
|
|
13
13
|
## Example
|
|
14
14
|
|
|
15
15
|
```typescript
|
|
16
|
-
import type {
|
|
16
|
+
import type { SaveMapStoreStockMigrationRequestAssociationsInner } from '@digital8/lighting-illusions-ts-sdk'
|
|
17
17
|
|
|
18
18
|
// TODO: Update the object below with actual values
|
|
19
19
|
const example = {
|
|
20
|
-
"
|
|
20
|
+
"locationId": null,
|
|
21
|
+
"storeId": null,
|
|
21
22
|
"type": null,
|
|
22
|
-
|
|
23
|
-
} satisfies PageComponentLiteResource
|
|
23
|
+
} satisfies SaveMapStoreStockMigrationRequestAssociationsInner
|
|
24
24
|
|
|
25
25
|
console.log(example)
|
|
26
26
|
|
|
@@ -29,7 +29,7 @@ const exampleJSON: string = JSON.stringify(example)
|
|
|
29
29
|
console.log(exampleJSON)
|
|
30
30
|
|
|
31
31
|
// Parse the JSON string back to an object
|
|
32
|
-
const exampleParsed = JSON.parse(exampleJSON) as
|
|
32
|
+
const exampleParsed = JSON.parse(exampleJSON) as SaveMapStoreStockMigrationRequestAssociationsInner
|
|
33
33
|
console.log(exampleParsed)
|
|
34
34
|
```
|
|
35
35
|
|
package/docs/StoreApi.md
CHANGED
|
@@ -10,6 +10,8 @@ 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 |
|
|
13
15
|
| [**showStore**](StoreApi.md#showstore) | **GET** /admin-api/store/{store} | Auto-generated: showStore |
|
|
14
16
|
| [**storeStore**](StoreApi.md#storestoreoperation) | **POST** /admin-api/store/create | Auto-generated: storeStore |
|
|
15
17
|
| [**storeStoreSpecialDate**](StoreApi.md#storestorespecialdateoperation) | **POST** /admin-api/store/{store}/special-dates | Auto-generated: storeStoreSpecialDate |
|
|
@@ -417,6 +419,128 @@ No authorization required
|
|
|
417
419
|
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
418
420
|
|
|
419
421
|
|
|
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
|
+
|
|
420
544
|
## showStore
|
|
421
545
|
|
|
422
546
|
> StoreResource showStore(store)
|
|
@@ -19,8 +19,8 @@ Name | Type
|
|
|
19
19
|
`altText` | string
|
|
20
20
|
`mimeType` | string
|
|
21
21
|
`fileId` | number
|
|
22
|
-
`seo` | [Array<
|
|
23
|
-
`descriptions` | [Array<
|
|
22
|
+
`seo` | [Array<StoreProductCategoryRequestSeoInner>](StoreProductCategoryRequestSeoInner.md)
|
|
23
|
+
`descriptions` | [Array<StoreProductCategoryRequestDescriptionsInner>](StoreProductCategoryRequestDescriptionsInner.md)
|
|
24
24
|
|
|
25
25
|
## Example
|
|
26
26
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
#
|
|
2
|
+
# StoreProductCategoryRequestDescriptionsInner
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
## Properties
|
|
@@ -13,14 +13,14 @@ Name | Type
|
|
|
13
13
|
## Example
|
|
14
14
|
|
|
15
15
|
```typescript
|
|
16
|
-
import type {
|
|
16
|
+
import type { StoreProductCategoryRequestDescriptionsInner } from '@digital8/lighting-illusions-ts-sdk'
|
|
17
17
|
|
|
18
18
|
// TODO: Update the object below with actual values
|
|
19
19
|
const example = {
|
|
20
20
|
"headerDescription": null,
|
|
21
21
|
"footerDescription": null,
|
|
22
22
|
"siteId": null,
|
|
23
|
-
} satisfies
|
|
23
|
+
} satisfies StoreProductCategoryRequestDescriptionsInner
|
|
24
24
|
|
|
25
25
|
console.log(example)
|
|
26
26
|
|
|
@@ -29,7 +29,7 @@ const exampleJSON: string = JSON.stringify(example)
|
|
|
29
29
|
console.log(exampleJSON)
|
|
30
30
|
|
|
31
31
|
// Parse the JSON string back to an object
|
|
32
|
-
const exampleParsed = JSON.parse(exampleJSON) as
|
|
32
|
+
const exampleParsed = JSON.parse(exampleJSON) as StoreProductCategoryRequestDescriptionsInner
|
|
33
33
|
console.log(exampleParsed)
|
|
34
34
|
```
|
|
35
35
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
#
|
|
2
|
+
# StoreProductCategoryRequestSeoInner
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
## Properties
|
|
@@ -13,14 +13,14 @@ Name | Type
|
|
|
13
13
|
## Example
|
|
14
14
|
|
|
15
15
|
```typescript
|
|
16
|
-
import type {
|
|
16
|
+
import type { StoreProductCategoryRequestSeoInner } from '@digital8/lighting-illusions-ts-sdk'
|
|
17
17
|
|
|
18
18
|
// TODO: Update the object below with actual values
|
|
19
19
|
const example = {
|
|
20
20
|
"seoTitle": null,
|
|
21
21
|
"seoDescription": null,
|
|
22
22
|
"siteId": null,
|
|
23
|
-
} satisfies
|
|
23
|
+
} satisfies StoreProductCategoryRequestSeoInner
|
|
24
24
|
|
|
25
25
|
console.log(example)
|
|
26
26
|
|
|
@@ -29,7 +29,7 @@ const exampleJSON: string = JSON.stringify(example)
|
|
|
29
29
|
console.log(exampleJSON)
|
|
30
30
|
|
|
31
31
|
// Parse the JSON string back to an object
|
|
32
|
-
const exampleParsed = JSON.parse(exampleJSON) as
|
|
32
|
+
const exampleParsed = JSON.parse(exampleJSON) as StoreProductCategoryRequestSeoInner
|
|
33
33
|
console.log(exampleParsed)
|
|
34
34
|
```
|
|
35
35
|
|
package/docs/StoreResource.md
CHANGED
|
@@ -15,6 +15,8 @@ Name | Type
|
|
|
15
15
|
`tagLine` | string
|
|
16
16
|
`email` | string
|
|
17
17
|
`website` | string
|
|
18
|
+
`netsuiteId` | number
|
|
19
|
+
`displayNetsuiteId` | number
|
|
18
20
|
`openingHours` | string
|
|
19
21
|
`suppliers` | [Array<SupplierLiteResource>](SupplierLiteResource.md)
|
|
20
22
|
`address` | [AddressResource](AddressResource.md)
|
|
@@ -36,6 +38,8 @@ const example = {
|
|
|
36
38
|
"tagLine": null,
|
|
37
39
|
"email": null,
|
|
38
40
|
"website": null,
|
|
41
|
+
"netsuiteId": null,
|
|
42
|
+
"displayNetsuiteId": null,
|
|
39
43
|
"openingHours": null,
|
|
40
44
|
"suppliers": null,
|
|
41
45
|
"address": null,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
#
|
|
2
|
+
# StoreStockType
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
## Properties
|
|
@@ -10,11 +10,11 @@ Name | Type
|
|
|
10
10
|
## Example
|
|
11
11
|
|
|
12
12
|
```typescript
|
|
13
|
-
import type {
|
|
13
|
+
import type { StoreStockType } from '@digital8/lighting-illusions-ts-sdk'
|
|
14
14
|
|
|
15
15
|
// TODO: Update the object below with actual values
|
|
16
16
|
const example = {
|
|
17
|
-
} satisfies
|
|
17
|
+
} satisfies StoreStockType
|
|
18
18
|
|
|
19
19
|
console.log(example)
|
|
20
20
|
|
|
@@ -23,7 +23,7 @@ const exampleJSON: string = JSON.stringify(example)
|
|
|
23
23
|
console.log(exampleJSON)
|
|
24
24
|
|
|
25
25
|
// Parse the JSON string back to an object
|
|
26
|
-
const exampleParsed = JSON.parse(exampleJSON) as
|
|
26
|
+
const exampleParsed = JSON.parse(exampleJSON) as StoreStockType
|
|
27
27
|
console.log(exampleParsed)
|
|
28
28
|
```
|
|
29
29
|
|
|
@@ -15,6 +15,8 @@ Name | Type
|
|
|
15
15
|
`email` | string
|
|
16
16
|
`website` | string
|
|
17
17
|
`openingHours` | Array<string | null>
|
|
18
|
+
`netsuiteId` | number
|
|
19
|
+
`displayNetsuiteId` | number
|
|
18
20
|
`supplierIds` | Array<number>
|
|
19
21
|
`specialDates` | [Array<StoreStoreRequestSpecialDatesInner>](StoreStoreRequestSpecialDatesInner.md)
|
|
20
22
|
`address` | [StoreStoreRequestAddress](StoreStoreRequestAddress.md)
|
|
@@ -35,6 +37,8 @@ const example = {
|
|
|
35
37
|
"email": null,
|
|
36
38
|
"website": null,
|
|
37
39
|
"openingHours": null,
|
|
40
|
+
"netsuiteId": null,
|
|
41
|
+
"displayNetsuiteId": null,
|
|
38
42
|
"supplierIds": null,
|
|
39
43
|
"specialDates": null,
|
|
40
44
|
"address": null,
|
|
@@ -9,11 +9,11 @@ Name | Type
|
|
|
9
9
|
`name` | string
|
|
10
10
|
`slug` | string
|
|
11
11
|
`supplierEta` | number
|
|
12
|
-
`seo` | [Array<
|
|
12
|
+
`seo` | [Array<StoreProductCategoryRequestSeoInner>](StoreProductCategoryRequestSeoInner.md)
|
|
13
13
|
`altText` | string
|
|
14
14
|
`mimeType` | string
|
|
15
15
|
`fileId` | number
|
|
16
|
-
`descriptions` | [Array<
|
|
16
|
+
`descriptions` | [Array<StoreProductCategoryRequestDescriptionsInner>](StoreProductCategoryRequestDescriptionsInner.md)
|
|
17
17
|
|
|
18
18
|
## Example
|
|
19
19
|
|
|
@@ -19,8 +19,8 @@ Name | Type
|
|
|
19
19
|
`altText` | string
|
|
20
20
|
`mimeType` | string
|
|
21
21
|
`fileId` | number
|
|
22
|
-
`seo` | [Array<
|
|
23
|
-
`descriptions` | [Array<
|
|
22
|
+
`seo` | [Array<StoreProductCategoryRequestSeoInner>](StoreProductCategoryRequestSeoInner.md)
|
|
23
|
+
`descriptions` | [Array<StoreProductCategoryRequestDescriptionsInner>](StoreProductCategoryRequestDescriptionsInner.md)
|
|
24
24
|
|
|
25
25
|
## Example
|
|
26
26
|
|
|
@@ -15,6 +15,8 @@ Name | Type
|
|
|
15
15
|
`email` | string
|
|
16
16
|
`website` | string
|
|
17
17
|
`openingHours` | Array<string | null>
|
|
18
|
+
`netsuiteId` | number
|
|
19
|
+
`displayNetsuiteId` | number
|
|
18
20
|
`supplierIds` | Array<number>
|
|
19
21
|
`specialDates` | [Array<UpdateStoreRequestSpecialDatesInner>](UpdateStoreRequestSpecialDatesInner.md)
|
|
20
22
|
`address` | [StoreStoreRequestAddress](StoreStoreRequestAddress.md)
|
|
@@ -35,6 +37,8 @@ const example = {
|
|
|
35
37
|
"email": null,
|
|
36
38
|
"website": null,
|
|
37
39
|
"openingHours": null,
|
|
40
|
+
"netsuiteId": null,
|
|
41
|
+
"displayNetsuiteId": null,
|
|
38
42
|
"supplierIds": null,
|
|
39
43
|
"specialDates": null,
|
|
40
44
|
"address": null,
|
|
@@ -9,11 +9,11 @@ Name | Type
|
|
|
9
9
|
`name` | string
|
|
10
10
|
`slug` | string
|
|
11
11
|
`supplierEta` | number
|
|
12
|
-
`seo` | [Array<
|
|
12
|
+
`seo` | [Array<StoreProductCategoryRequestSeoInner>](StoreProductCategoryRequestSeoInner.md)
|
|
13
13
|
`altText` | string
|
|
14
14
|
`mimeType` | string
|
|
15
15
|
`fileId` | number
|
|
16
|
-
`descriptions` | [Array<
|
|
16
|
+
`descriptions` | [Array<StoreProductCategoryRequestDescriptionsInner>](StoreProductCategoryRequestDescriptionsInner.md)
|
|
17
17
|
|
|
18
18
|
## Example
|
|
19
19
|
|
package/package.json
CHANGED
package/src/apis/AdminApi.ts
CHANGED
|
@@ -15,26 +15,26 @@
|
|
|
15
15
|
|
|
16
16
|
import * as runtime from '../runtime';
|
|
17
17
|
import type {
|
|
18
|
-
GenerateGoogleFeedAdminRequest,
|
|
19
18
|
GenericResponse,
|
|
19
|
+
GetHierarchyProductCategoryRequest,
|
|
20
20
|
} from '../models/index';
|
|
21
21
|
import {
|
|
22
|
-
GenerateGoogleFeedAdminRequestFromJSON,
|
|
23
|
-
GenerateGoogleFeedAdminRequestToJSON,
|
|
24
22
|
GenericResponseFromJSON,
|
|
25
23
|
GenericResponseToJSON,
|
|
24
|
+
GetHierarchyProductCategoryRequestFromJSON,
|
|
25
|
+
GetHierarchyProductCategoryRequestToJSON,
|
|
26
26
|
} from '../models/index';
|
|
27
27
|
|
|
28
|
-
export interface
|
|
29
|
-
|
|
28
|
+
export interface GenerateGoogleFeedAdminRequest {
|
|
29
|
+
getHierarchyProductCategoryRequest?: GetHierarchyProductCategoryRequest;
|
|
30
30
|
}
|
|
31
31
|
|
|
32
32
|
export interface GenerateSocialFeedAdminRequest {
|
|
33
|
-
|
|
33
|
+
getHierarchyProductCategoryRequest?: GetHierarchyProductCategoryRequest;
|
|
34
34
|
}
|
|
35
35
|
|
|
36
36
|
export interface GenerateTGNDataFeedAdminRequest {
|
|
37
|
-
|
|
37
|
+
getHierarchyProductCategoryRequest?: GetHierarchyProductCategoryRequest;
|
|
38
38
|
}
|
|
39
39
|
|
|
40
40
|
/**
|
|
@@ -45,7 +45,7 @@ export class AdminApi extends runtime.BaseAPI {
|
|
|
45
45
|
/**
|
|
46
46
|
* Creates request options for generateGoogleFeedAdmin without sending the request
|
|
47
47
|
*/
|
|
48
|
-
async generateGoogleFeedAdminRequestOpts(requestParameters:
|
|
48
|
+
async generateGoogleFeedAdminRequestOpts(requestParameters: GenerateGoogleFeedAdminRequest): Promise<runtime.RequestOpts> {
|
|
49
49
|
const queryParameters: any = {};
|
|
50
50
|
|
|
51
51
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
@@ -60,14 +60,14 @@ export class AdminApi extends runtime.BaseAPI {
|
|
|
60
60
|
method: 'POST',
|
|
61
61
|
headers: headerParameters,
|
|
62
62
|
query: queryParameters,
|
|
63
|
-
body:
|
|
63
|
+
body: GetHierarchyProductCategoryRequestToJSON(requestParameters['getHierarchyProductCategoryRequest']),
|
|
64
64
|
};
|
|
65
65
|
}
|
|
66
66
|
|
|
67
67
|
/**
|
|
68
68
|
* Auto-generated: generateGoogleFeedAdmin
|
|
69
69
|
*/
|
|
70
|
-
async generateGoogleFeedAdminRaw(requestParameters:
|
|
70
|
+
async generateGoogleFeedAdminRaw(requestParameters: GenerateGoogleFeedAdminRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GenericResponse>> {
|
|
71
71
|
const requestOptions = await this.generateGoogleFeedAdminRequestOpts(requestParameters);
|
|
72
72
|
const response = await this.request(requestOptions, initOverrides);
|
|
73
73
|
|
|
@@ -77,7 +77,7 @@ export class AdminApi extends runtime.BaseAPI {
|
|
|
77
77
|
/**
|
|
78
78
|
* Auto-generated: generateGoogleFeedAdmin
|
|
79
79
|
*/
|
|
80
|
-
async generateGoogleFeedAdmin(requestParameters:
|
|
80
|
+
async generateGoogleFeedAdmin(requestParameters: GenerateGoogleFeedAdminRequest = {}, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GenericResponse> {
|
|
81
81
|
const response = await this.generateGoogleFeedAdminRaw(requestParameters, initOverrides);
|
|
82
82
|
return await response.value();
|
|
83
83
|
}
|
|
@@ -100,7 +100,7 @@ export class AdminApi extends runtime.BaseAPI {
|
|
|
100
100
|
method: 'POST',
|
|
101
101
|
headers: headerParameters,
|
|
102
102
|
query: queryParameters,
|
|
103
|
-
body:
|
|
103
|
+
body: GetHierarchyProductCategoryRequestToJSON(requestParameters['getHierarchyProductCategoryRequest']),
|
|
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:
|
|
143
|
+
body: GetHierarchyProductCategoryRequestToJSON(requestParameters['getHierarchyProductCategoryRequest']),
|
|
144
144
|
};
|
|
145
145
|
}
|
|
146
146
|
|