@digital8/lighting-illusions-ts-sdk 0.0.1235 → 0.0.1237
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 +58 -72
- package/README.md +42 -54
- package/dist/apis/AttributeApi.d.ts +1 -16
- package/dist/apis/AttributeApi.js +0 -58
- package/dist/apis/StoreApi.d.ts +173 -0
- package/dist/apis/StoreApi.js +679 -0
- package/dist/apis/SupplierApi.d.ts +33 -1
- package/dist/apis/SupplierApi.js +122 -0
- package/dist/apis/index.d.ts +1 -1
- package/dist/apis/index.js +1 -1
- package/dist/models/AddressFrontendResource.d.ts +74 -0
- package/dist/models/AddressFrontendResource.js +75 -0
- package/dist/models/AddressFrontendResourceArrayResponse.d.ts +33 -0
- package/dist/models/AddressFrontendResourceArrayResponse.js +50 -0
- package/dist/models/AddressResource.d.ts +80 -0
- package/dist/models/AddressResource.js +79 -0
- package/dist/models/AddressResourceArrayResponse.d.ts +33 -0
- package/dist/models/AddressResourceArrayResponse.js +50 -0
- package/dist/models/AttachDocumentablesDocumentRequestDocumentablesInner.d.ts +0 -1
- package/dist/models/AttachDocumentablesDocumentRequestDocumentablesInner.js +0 -1
- package/dist/models/AttachStoresSupplierRequest.d.ts +32 -0
- package/dist/models/AttachStoresSupplierRequest.js +51 -0
- package/dist/models/AttachSuppliersStoreRequest.d.ts +32 -0
- package/dist/models/AttachSuppliersStoreRequest.js +51 -0
- package/dist/models/DetachDocumentablesDocumentRequestDocumentablesInner.d.ts +0 -1
- package/dist/models/DetachDocumentablesDocumentRequestDocumentablesInner.js +0 -1
- package/dist/models/DetachStoresSupplierRequest.d.ts +32 -0
- package/dist/models/DetachStoresSupplierRequest.js +51 -0
- package/dist/models/DetachSuppliersStoreRequest.d.ts +32 -0
- package/dist/models/DetachSuppliersStoreRequest.js +51 -0
- package/dist/models/ExternalApiLogResource.d.ts +1 -1
- package/dist/models/ExternalApiLogResource.js +1 -3
- package/dist/models/GetAllDocumentRequest.d.ts +0 -1
- package/dist/models/GetAllDocumentRequest.js +0 -1
- package/dist/models/GetAllProductChildRequest.d.ts +0 -1
- package/dist/models/GetAllProductChildRequest.js +0 -1
- package/dist/models/GetAllStoreRequest.d.ts +93 -0
- package/dist/models/GetAllStoreRequest.js +81 -0
- package/dist/models/IndexAttributeRequest.d.ts +0 -2
- package/dist/models/IndexAttributeRequest.js +1 -3
- package/dist/models/IndexDocumentRequest.d.ts +0 -1
- package/dist/models/IndexDocumentRequest.js +0 -1
- package/dist/models/IndexProductChildRequest.d.ts +0 -1
- package/dist/models/IndexProductChildRequest.js +0 -1
- package/dist/models/IndexStoreRequest.d.ts +105 -0
- package/dist/models/{IndexProductRangeRequest.js → IndexStoreRequest.js} +21 -22
- package/dist/models/ModelAttributeResource.d.ts +0 -6
- package/dist/models/ModelAttributeResource.js +0 -2
- package/dist/models/PaginatedStoreListResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedStoreListResourceResponse.js +57 -0
- package/dist/models/ProductChildResource.d.ts +2 -2
- package/dist/models/ProductChildResource.js +3 -3
- package/dist/models/ProductClassResource.d.ts +8 -2
- package/dist/models/ProductClassResource.js +4 -4
- package/dist/models/StoreAssetForAssetableRequest.d.ts +0 -3
- package/dist/models/StoreAssetForAssetableRequest.js +1 -4
- package/dist/models/StoreFrontendResource.d.ts +98 -0
- package/dist/models/StoreFrontendResource.js +87 -0
- package/dist/models/StoreFrontendResourceArrayResponse.d.ts +33 -0
- package/dist/models/StoreFrontendResourceArrayResponse.js +50 -0
- package/dist/models/StoreListResource.d.ts +81 -0
- package/dist/models/StoreListResource.js +78 -0
- package/dist/models/StoreListResourceArrayResponse.d.ts +33 -0
- package/dist/models/StoreListResourceArrayResponse.js +50 -0
- package/dist/models/StoreLiteResource.d.ts +45 -0
- package/dist/models/StoreLiteResource.js +58 -0
- package/dist/models/StoreLiteResourceArrayResponse.d.ts +33 -0
- package/dist/models/StoreLiteResourceArrayResponse.js +50 -0
- package/dist/models/StoreResource.d.ts +100 -0
- package/dist/models/StoreResource.js +93 -0
- package/dist/models/StoreResourceArrayResponse.d.ts +33 -0
- package/dist/models/StoreResourceArrayResponse.js +50 -0
- package/dist/models/StoreSpecialDateFrontendResource.d.ts +56 -0
- package/dist/models/StoreSpecialDateFrontendResource.js +65 -0
- package/dist/models/StoreSpecialDateFrontendResourceArrayResponse.d.ts +33 -0
- package/dist/models/StoreSpecialDateFrontendResourceArrayResponse.js +50 -0
- package/dist/models/StoreSpecialDateResource.d.ts +56 -0
- package/dist/models/StoreSpecialDateResource.js +65 -0
- package/dist/models/StoreSpecialDateResourceArrayResponse.d.ts +33 -0
- package/dist/models/StoreSpecialDateResourceArrayResponse.js +50 -0
- package/dist/models/StoreStoreRequest.d.ts +177 -0
- package/dist/models/StoreStoreRequest.js +124 -0
- package/dist/models/StoreStoreRequestSpecialDatesInner.d.ts +50 -0
- package/dist/models/StoreStoreRequestSpecialDatesInner.js +57 -0
- package/dist/models/StoreStoreSpecialDateRequest.d.ts +50 -0
- package/dist/models/StoreStoreSpecialDateRequest.js +57 -0
- package/dist/models/UpdateProductTypeRequest.d.ts +9 -9
- package/dist/models/UpdateProductTypeRequest.js +9 -9
- package/dist/models/UpdateProductTypeRequestPerformanceValuesInner.d.ts +38 -0
- package/dist/models/UpdateProductTypeRequestPerformanceValuesInner.js +51 -0
- package/dist/models/UpdateStoreRequest.d.ts +164 -0
- package/dist/models/UpdateStoreRequest.js +119 -0
- package/dist/models/index.d.ts +28 -35
- package/dist/models/index.js +28 -35
- package/docs/{AttachAttributesProductRangeRequest.md → AddressFrontendResource.md} +20 -6
- package/docs/{AttachAccessoriesProductRangeRequest.md → AddressFrontendResourceArrayResponse.md} +6 -6
- package/docs/{AttachAttributesProductRangeRequestAttributesInner.md → AddressResource.md} +22 -8
- package/docs/{ProductRangeResourceArrayResponse.md → AddressResourceArrayResponse.md} +5 -5
- package/docs/{DetachAttributesProductRangeRequest.md → AttachStoresSupplierRequest.md} +6 -6
- package/docs/AttachSuppliersStoreRequest.md +34 -0
- package/docs/AttributeApi.md +0 -66
- package/docs/{DetachAccessoriesProductRangeRequest.md → DetachStoresSupplierRequest.md} +6 -6
- package/docs/DetachSuppliersStoreRequest.md +34 -0
- package/docs/{GetAllProductRangeRequest.md → GetAllStoreRequest.md} +8 -10
- package/docs/{IndexModelAttributeRequest.md → IndexStoreRequest.md} +8 -10
- package/docs/ModelAttributeResource.md +0 -2
- package/docs/{PaginatedProductRangeResourceResponse.md → PaginatedStoreListResourceResponse.md} +5 -5
- package/docs/ProductChildResource.md +2 -2
- package/docs/ProductClassResource.md +4 -2
- package/docs/StoreApi.md +683 -0
- package/docs/StoreFrontendResource.md +56 -0
- package/docs/{DetachDocumentsProductRangeRequest.md → StoreFrontendResourceArrayResponse.md} +6 -6
- package/docs/{StoreProductRangeRequest.md → StoreListResource.md} +20 -10
- package/docs/StoreListResourceArrayResponse.md +34 -0
- package/docs/{ProductRangeLiteResource.md → StoreLiteResource.md} +6 -4
- package/docs/StoreLiteResourceArrayResponse.md +34 -0
- package/docs/StoreResource.md +56 -0
- package/docs/StoreResourceArrayResponse.md +34 -0
- package/docs/{ProductRangeFrontendListResource.md → StoreSpecialDateFrontendResource.md} +10 -12
- package/docs/{ProductRangeFrontendListResourceArrayResponse.md → StoreSpecialDateFrontendResourceArrayResponse.md} +5 -5
- package/docs/{ProductRangeSiteDetailLiteResource.md → StoreSpecialDateResource.md} +12 -8
- package/docs/{ProductRangeLiteResourceArrayResponse.md → StoreSpecialDateResourceArrayResponse.md} +5 -5
- package/docs/StoreStoreRequest.md +82 -0
- package/docs/{AttachDocumentsProductRangeRequest.md → StoreStoreRequestSpecialDatesInner.md} +12 -6
- package/docs/StoreStoreSpecialDateRequest.md +40 -0
- package/docs/SupplierApi.md +138 -0
- package/docs/UpdateProductTypeRequest.md +4 -4
- package/docs/{UpdateProductRangeRequestAttributesInner.md → UpdateProductTypeRequestPerformanceValuesInner.md} +4 -4
- package/docs/UpdateStoreRequest.md +78 -0
- package/package.json +1 -1
- package/src/apis/AttributeApi.ts +0 -50
- package/src/apis/StoreApi.ts +563 -0
- package/src/apis/SupplierApi.ts +112 -0
- package/src/apis/index.ts +1 -1
- package/src/models/AddressFrontendResource.ts +127 -0
- package/src/models/AddressFrontendResourceArrayResponse.ts +73 -0
- package/src/models/AddressResource.ts +136 -0
- package/src/models/AddressResourceArrayResponse.ts +73 -0
- package/src/models/AttachDocumentablesDocumentRequestDocumentablesInner.ts +0 -1
- package/src/models/AttachStoresSupplierRequest.ts +66 -0
- package/src/models/AttachSuppliersStoreRequest.ts +66 -0
- package/src/models/DetachDocumentablesDocumentRequestDocumentablesInner.ts +0 -1
- package/src/models/DetachStoresSupplierRequest.ts +66 -0
- package/src/models/DetachSuppliersStoreRequest.ts +66 -0
- package/src/models/ExternalApiLogResource.ts +2 -3
- package/src/models/GetAllDocumentRequest.ts +0 -1
- package/src/models/GetAllProductChildRequest.ts +0 -1
- package/src/models/GetAllStoreRequest.ts +144 -0
- package/src/models/IndexAttributeRequest.ts +1 -3
- package/src/models/IndexDocumentRequest.ts +0 -1
- package/src/models/IndexProductChildRequest.ts +0 -1
- package/src/models/IndexStoreRequest.ts +160 -0
- package/src/models/ModelAttributeResource.ts +0 -8
- package/src/models/PaginatedStoreListResourceResponse.ts +90 -0
- package/src/models/ProductChildResource.ts +5 -5
- package/src/models/ProductClassResource.ts +12 -5
- package/src/models/StoreAssetForAssetableRequest.ts +1 -4
- package/src/models/StoreFrontendResource.ts +161 -0
- package/src/models/StoreFrontendResourceArrayResponse.ts +73 -0
- package/src/models/StoreListResource.ts +143 -0
- package/src/models/StoreListResourceArrayResponse.ts +73 -0
- package/src/models/StoreLiteResource.ts +91 -0
- package/src/models/StoreLiteResourceArrayResponse.ts +73 -0
- package/src/models/StoreResource.ts +178 -0
- package/src/models/StoreResourceArrayResponse.ts +73 -0
- package/src/models/StoreSpecialDateFrontendResource.ts +101 -0
- package/src/models/StoreSpecialDateFrontendResourceArrayResponse.ts +73 -0
- package/src/models/StoreSpecialDateResource.ts +101 -0
- package/src/models/StoreSpecialDateResourceArrayResponse.ts +73 -0
- package/src/models/StoreStoreRequest.ts +278 -0
- package/src/models/StoreStoreRequestSpecialDatesInner.ts +90 -0
- package/src/models/StoreStoreSpecialDateRequest.ts +90 -0
- package/src/models/UpdateProductTypeRequest.ts +22 -22
- package/src/models/UpdateProductTypeRequestPerformanceValuesInner.ts +73 -0
- package/src/models/UpdateStoreRequest.ts +254 -0
- package/src/models/index.ts +28 -35
- package/dist/apis/ProductRangeApi.d.ts +0 -269
- package/dist/apis/ProductRangeApi.js +0 -1043
- package/dist/models/AttachAccessoriesProductRangeRequest.d.ts +0 -32
- package/dist/models/AttachAccessoriesProductRangeRequest.js +0 -51
- package/dist/models/AttachAttributesProductRangeRequest.d.ts +0 -33
- package/dist/models/AttachAttributesProductRangeRequest.js +0 -52
- package/dist/models/AttachAttributesProductRangeRequestAttributesInner.d.ts +0 -38
- package/dist/models/AttachAttributesProductRangeRequestAttributesInner.js +0 -53
- package/dist/models/AttachDocumentsProductRangeRequest.d.ts +0 -33
- package/dist/models/AttachDocumentsProductRangeRequest.js +0 -52
- package/dist/models/DetachAccessoriesProductRangeRequest.d.ts +0 -32
- package/dist/models/DetachAccessoriesProductRangeRequest.js +0 -51
- package/dist/models/DetachAttributesProductRangeRequest.d.ts +0 -32
- package/dist/models/DetachAttributesProductRangeRequest.js +0 -51
- package/dist/models/DetachDocumentsProductRangeRequest.d.ts +0 -32
- package/dist/models/DetachDocumentsProductRangeRequest.js +0 -51
- package/dist/models/GetAllProductRangeRequest.d.ts +0 -98
- package/dist/models/GetAllProductRangeRequest.js +0 -82
- package/dist/models/IndexModelAttributeRequest.d.ts +0 -118
- package/dist/models/IndexModelAttributeRequest.js +0 -93
- package/dist/models/IndexProductRangeRequest.d.ts +0 -110
- package/dist/models/ModelAttributeListResource.d.ts +0 -64
- package/dist/models/ModelAttributeListResource.js +0 -71
- package/dist/models/ModelAttributeListResourceArrayResponse.d.ts +0 -33
- package/dist/models/ModelAttributeListResourceArrayResponse.js +0 -50
- package/dist/models/PaginatedModelAttributeListResourceResponse.d.ts +0 -40
- package/dist/models/PaginatedModelAttributeListResourceResponse.js +0 -57
- package/dist/models/PaginatedProductRangeFrontendListResourceResponse.d.ts +0 -40
- package/dist/models/PaginatedProductRangeFrontendListResourceResponse.js +0 -57
- package/dist/models/PaginatedProductRangeListResourceResponse.d.ts +0 -40
- package/dist/models/PaginatedProductRangeListResourceResponse.js +0 -57
- package/dist/models/PaginatedProductRangeLiteResourceResponse.d.ts +0 -40
- package/dist/models/PaginatedProductRangeLiteResourceResponse.js +0 -57
- package/dist/models/PaginatedProductRangeResourceResponse.d.ts +0 -40
- package/dist/models/PaginatedProductRangeResourceResponse.js +0 -57
- package/dist/models/ProductRangeFrontendListResource.d.ts +0 -62
- package/dist/models/ProductRangeFrontendListResource.js +0 -71
- package/dist/models/ProductRangeFrontendListResourceArrayResponse.d.ts +0 -33
- package/dist/models/ProductRangeFrontendListResourceArrayResponse.js +0 -50
- package/dist/models/ProductRangeFrontendResource.d.ts +0 -118
- package/dist/models/ProductRangeFrontendResource.js +0 -109
- package/dist/models/ProductRangeFrontendResourceArrayResponse.d.ts +0 -33
- package/dist/models/ProductRangeFrontendResourceArrayResponse.js +0 -50
- package/dist/models/ProductRangeListResource.d.ts +0 -66
- package/dist/models/ProductRangeListResource.js +0 -75
- package/dist/models/ProductRangeListResourceArrayResponse.d.ts +0 -33
- package/dist/models/ProductRangeListResourceArrayResponse.js +0 -50
- package/dist/models/ProductRangeLiteResource.d.ts +0 -38
- package/dist/models/ProductRangeLiteResource.js +0 -55
- package/dist/models/ProductRangeLiteResourceArrayResponse.d.ts +0 -33
- package/dist/models/ProductRangeLiteResourceArrayResponse.js +0 -50
- package/dist/models/ProductRangeResource.d.ts +0 -89
- package/dist/models/ProductRangeResource.js +0 -86
- package/dist/models/ProductRangeResourceArrayResponse.d.ts +0 -33
- package/dist/models/ProductRangeResourceArrayResponse.js +0 -50
- package/dist/models/ProductRangeSiteDetailLiteResource.d.ts +0 -44
- package/dist/models/ProductRangeSiteDetailLiteResource.js +0 -59
- package/dist/models/ProductRangeSiteDetailLiteResourceArrayResponse.d.ts +0 -33
- package/dist/models/ProductRangeSiteDetailLiteResourceArrayResponse.js +0 -50
- package/dist/models/ProductRangeSiteDetailResource.d.ts +0 -101
- package/dist/models/ProductRangeSiteDetailResource.js +0 -98
- package/dist/models/ProductRangeSiteDetailResourceArrayResponse.d.ts +0 -33
- package/dist/models/ProductRangeSiteDetailResourceArrayResponse.js +0 -50
- package/dist/models/StoreProductRangeRequest.d.ts +0 -52
- package/dist/models/StoreProductRangeRequest.js +0 -59
- package/dist/models/StoreProductRangeRequestSitesInner.d.ts +0 -92
- package/dist/models/StoreProductRangeRequestSitesInner.js +0 -75
- package/dist/models/UpdateProductRangeRequest.d.ts +0 -59
- package/dist/models/UpdateProductRangeRequest.js +0 -62
- package/dist/models/UpdateProductRangeRequestAttributesInner.d.ts +0 -38
- package/dist/models/UpdateProductRangeRequestAttributesInner.js +0 -51
- package/docs/IndexProductRangeRequest.md +0 -54
- package/docs/ModelAttributeListResource.md +0 -44
- package/docs/ModelAttributeListResourceArrayResponse.md +0 -34
- package/docs/PaginatedModelAttributeListResourceResponse.md +0 -36
- package/docs/PaginatedProductRangeFrontendListResourceResponse.md +0 -36
- package/docs/PaginatedProductRangeListResourceResponse.md +0 -36
- package/docs/PaginatedProductRangeLiteResourceResponse.md +0 -36
- package/docs/ProductRangeApi.md +0 -1097
- package/docs/ProductRangeFrontendResource.md +0 -62
- package/docs/ProductRangeFrontendResourceArrayResponse.md +0 -34
- package/docs/ProductRangeListResource.md +0 -44
- package/docs/ProductRangeListResourceArrayResponse.md +0 -34
- package/docs/ProductRangeResource.md +0 -52
- package/docs/ProductRangeSiteDetailLiteResourceArrayResponse.md +0 -34
- package/docs/ProductRangeSiteDetailResource.md +0 -56
- package/docs/ProductRangeSiteDetailResourceArrayResponse.md +0 -34
- package/docs/StoreProductRangeRequestSitesInner.md +0 -54
- package/docs/UpdateProductRangeRequest.md +0 -42
- package/src/apis/ProductRangeApi.ts +0 -888
- package/src/models/AttachAccessoriesProductRangeRequest.ts +0 -66
- package/src/models/AttachAttributesProductRangeRequest.ts +0 -74
- package/src/models/AttachAttributesProductRangeRequestAttributesInner.ts +0 -74
- package/src/models/AttachDocumentsProductRangeRequest.ts +0 -74
- package/src/models/DetachAccessoriesProductRangeRequest.ts +0 -66
- package/src/models/DetachAttributesProductRangeRequest.ts +0 -66
- package/src/models/DetachDocumentsProductRangeRequest.ts +0 -66
- package/src/models/GetAllProductRangeRequest.ts +0 -151
- package/src/models/IndexModelAttributeRequest.ts +0 -176
- package/src/models/IndexProductRangeRequest.ts +0 -167
- package/src/models/ModelAttributeListResource.ts +0 -125
- package/src/models/ModelAttributeListResourceArrayResponse.ts +0 -73
- package/src/models/PaginatedModelAttributeListResourceResponse.ts +0 -90
- package/src/models/PaginatedProductRangeFrontendListResourceResponse.ts +0 -90
- package/src/models/PaginatedProductRangeListResourceResponse.ts +0 -90
- package/src/models/PaginatedProductRangeLiteResourceResponse.ts +0 -90
- package/src/models/PaginatedProductRangeResourceResponse.ts +0 -90
- package/src/models/ProductRangeFrontendListResource.ts +0 -111
- package/src/models/ProductRangeFrontendListResourceArrayResponse.ts +0 -73
- package/src/models/ProductRangeFrontendResource.ts +0 -207
- package/src/models/ProductRangeFrontendResourceArrayResponse.ts +0 -73
- package/src/models/ProductRangeListResource.ts +0 -140
- package/src/models/ProductRangeListResourceArrayResponse.ts +0 -73
- package/src/models/ProductRangeLiteResource.ts +0 -75
- package/src/models/ProductRangeLiteResourceArrayResponse.ts +0 -73
- package/src/models/ProductRangeResource.ts +0 -167
- package/src/models/ProductRangeResourceArrayResponse.ts +0 -73
- package/src/models/ProductRangeSiteDetailLiteResource.ts +0 -84
- package/src/models/ProductRangeSiteDetailLiteResourceArrayResponse.ts +0 -73
- package/src/models/ProductRangeSiteDetailResource.ts +0 -187
- package/src/models/ProductRangeSiteDetailResourceArrayResponse.ts +0 -73
- package/src/models/StoreProductRangeRequest.ts +0 -105
- package/src/models/StoreProductRangeRequestSitesInner.ts +0 -148
- package/src/models/UpdateProductRangeRequest.ts +0 -120
- package/src/models/UpdateProductRangeRequestAttributesInner.ts +0 -73
package/docs/StoreApi.md
ADDED
|
@@ -0,0 +1,683 @@
|
|
|
1
|
+
# StoreApi
|
|
2
|
+
|
|
3
|
+
All URIs are relative to *http://localhost/api*
|
|
4
|
+
|
|
5
|
+
| Method | HTTP request | Description |
|
|
6
|
+
|------------- | ------------- | -------------|
|
|
7
|
+
| [**attachSuppliersStore**](StoreApi.md#attachsuppliersstoreoperation) | **POST** /admin-api/store/{store}/attach-suppliers | Auto-generated: attachSuppliersStore |
|
|
8
|
+
| [**destroyStore**](StoreApi.md#destroystore) | **DELETE** /admin-api/store/{store}/delete | Auto-generated: destroyStore |
|
|
9
|
+
| [**destroyStoreSpecialDate**](StoreApi.md#destroystorespecialdate) | **DELETE** /admin-api/store/{store}/special-dates/{storeSpecialDate} | Auto-generated: destroyStoreSpecialDate |
|
|
10
|
+
| [**detachSuppliersStore**](StoreApi.md#detachsuppliersstoreoperation) | **POST** /admin-api/store/{store}/detach-suppliers | Auto-generated: detachSuppliersStore |
|
|
11
|
+
| [**getAllStore**](StoreApi.md#getallstoreoperation) | **POST** /admin-api/store/all | Auto-generated: getAllStore |
|
|
12
|
+
| [**indexStore**](StoreApi.md#indexstoreoperation) | **POST** /admin-api/store/list | Auto-generated: indexStore |
|
|
13
|
+
| [**showStore**](StoreApi.md#showstore) | **GET** /admin-api/store/{store} | Auto-generated: showStore |
|
|
14
|
+
| [**storeStore**](StoreApi.md#storestoreoperation) | **POST** /admin-api/store/create | Auto-generated: storeStore |
|
|
15
|
+
| [**storeStoreSpecialDate**](StoreApi.md#storestorespecialdateoperation) | **POST** /admin-api/store/{store}/special-dates | Auto-generated: storeStoreSpecialDate |
|
|
16
|
+
| [**updateStore**](StoreApi.md#updatestoreoperation) | **PUT** /admin-api/store/{store}/update | Auto-generated: updateStore |
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
## attachSuppliersStore
|
|
21
|
+
|
|
22
|
+
> StoreResource attachSuppliersStore(store, attachSuppliersStoreRequest)
|
|
23
|
+
|
|
24
|
+
Auto-generated: attachSuppliersStore
|
|
25
|
+
|
|
26
|
+
### Example
|
|
27
|
+
|
|
28
|
+
```ts
|
|
29
|
+
import {
|
|
30
|
+
Configuration,
|
|
31
|
+
StoreApi,
|
|
32
|
+
} from '@digital8/lighting-illusions-ts-sdk';
|
|
33
|
+
import type { AttachSuppliersStoreOperationRequest } from '@digital8/lighting-illusions-ts-sdk';
|
|
34
|
+
|
|
35
|
+
async function example() {
|
|
36
|
+
console.log("🚀 Testing @digital8/lighting-illusions-ts-sdk SDK...");
|
|
37
|
+
const api = new StoreApi();
|
|
38
|
+
|
|
39
|
+
const body = {
|
|
40
|
+
// number | The id of the store
|
|
41
|
+
store: 56,
|
|
42
|
+
// AttachSuppliersStoreRequest (optional)
|
|
43
|
+
attachSuppliersStoreRequest: ...,
|
|
44
|
+
} satisfies AttachSuppliersStoreOperationRequest;
|
|
45
|
+
|
|
46
|
+
try {
|
|
47
|
+
const data = await api.attachSuppliersStore(body);
|
|
48
|
+
console.log(data);
|
|
49
|
+
} catch (error) {
|
|
50
|
+
console.error(error);
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
// Run the test
|
|
55
|
+
example().catch(console.error);
|
|
56
|
+
```
|
|
57
|
+
|
|
58
|
+
### Parameters
|
|
59
|
+
|
|
60
|
+
|
|
61
|
+
| Name | Type | Description | Notes |
|
|
62
|
+
|------------- | ------------- | ------------- | -------------|
|
|
63
|
+
| **store** | `number` | The id of the store | [Defaults to `undefined`] |
|
|
64
|
+
| **attachSuppliersStoreRequest** | [AttachSuppliersStoreRequest](AttachSuppliersStoreRequest.md) | | [Optional] |
|
|
65
|
+
|
|
66
|
+
### Return type
|
|
67
|
+
|
|
68
|
+
[**StoreResource**](StoreResource.md)
|
|
69
|
+
|
|
70
|
+
### Authorization
|
|
71
|
+
|
|
72
|
+
No authorization required
|
|
73
|
+
|
|
74
|
+
### HTTP request headers
|
|
75
|
+
|
|
76
|
+
- **Content-Type**: `application/json`
|
|
77
|
+
- **Accept**: `application/json`
|
|
78
|
+
|
|
79
|
+
|
|
80
|
+
### HTTP response details
|
|
81
|
+
| Status code | Description | Response headers |
|
|
82
|
+
|-------------|-------------|------------------|
|
|
83
|
+
| **200** | Successful resource response | - |
|
|
84
|
+
|
|
85
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
86
|
+
|
|
87
|
+
|
|
88
|
+
## destroyStore
|
|
89
|
+
|
|
90
|
+
> GenericResponse destroyStore(store)
|
|
91
|
+
|
|
92
|
+
Auto-generated: destroyStore
|
|
93
|
+
|
|
94
|
+
### Example
|
|
95
|
+
|
|
96
|
+
```ts
|
|
97
|
+
import {
|
|
98
|
+
Configuration,
|
|
99
|
+
StoreApi,
|
|
100
|
+
} from '@digital8/lighting-illusions-ts-sdk';
|
|
101
|
+
import type { DestroyStoreRequest } from '@digital8/lighting-illusions-ts-sdk';
|
|
102
|
+
|
|
103
|
+
async function example() {
|
|
104
|
+
console.log("🚀 Testing @digital8/lighting-illusions-ts-sdk SDK...");
|
|
105
|
+
const api = new StoreApi();
|
|
106
|
+
|
|
107
|
+
const body = {
|
|
108
|
+
// number | The id of the store
|
|
109
|
+
store: 56,
|
|
110
|
+
} satisfies DestroyStoreRequest;
|
|
111
|
+
|
|
112
|
+
try {
|
|
113
|
+
const data = await api.destroyStore(body);
|
|
114
|
+
console.log(data);
|
|
115
|
+
} catch (error) {
|
|
116
|
+
console.error(error);
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
// Run the test
|
|
121
|
+
example().catch(console.error);
|
|
122
|
+
```
|
|
123
|
+
|
|
124
|
+
### Parameters
|
|
125
|
+
|
|
126
|
+
|
|
127
|
+
| Name | Type | Description | Notes |
|
|
128
|
+
|------------- | ------------- | ------------- | -------------|
|
|
129
|
+
| **store** | `number` | The id of the store | [Defaults to `undefined`] |
|
|
130
|
+
|
|
131
|
+
### Return type
|
|
132
|
+
|
|
133
|
+
[**GenericResponse**](GenericResponse.md)
|
|
134
|
+
|
|
135
|
+
### Authorization
|
|
136
|
+
|
|
137
|
+
No authorization required
|
|
138
|
+
|
|
139
|
+
### HTTP request headers
|
|
140
|
+
|
|
141
|
+
- **Content-Type**: Not defined
|
|
142
|
+
- **Accept**: `application/json`
|
|
143
|
+
|
|
144
|
+
|
|
145
|
+
### HTTP response details
|
|
146
|
+
| Status code | Description | Response headers |
|
|
147
|
+
|-------------|-------------|------------------|
|
|
148
|
+
| **200** | \\JsonResponse<array{message: string}> | - |
|
|
149
|
+
|
|
150
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
151
|
+
|
|
152
|
+
|
|
153
|
+
## destroyStoreSpecialDate
|
|
154
|
+
|
|
155
|
+
> GenericResponse destroyStoreSpecialDate(store, storeSpecialDate)
|
|
156
|
+
|
|
157
|
+
Auto-generated: destroyStoreSpecialDate
|
|
158
|
+
|
|
159
|
+
### Example
|
|
160
|
+
|
|
161
|
+
```ts
|
|
162
|
+
import {
|
|
163
|
+
Configuration,
|
|
164
|
+
StoreApi,
|
|
165
|
+
} from '@digital8/lighting-illusions-ts-sdk';
|
|
166
|
+
import type { DestroyStoreSpecialDateRequest } from '@digital8/lighting-illusions-ts-sdk';
|
|
167
|
+
|
|
168
|
+
async function example() {
|
|
169
|
+
console.log("🚀 Testing @digital8/lighting-illusions-ts-sdk SDK...");
|
|
170
|
+
const api = new StoreApi();
|
|
171
|
+
|
|
172
|
+
const body = {
|
|
173
|
+
// number | The id of the store
|
|
174
|
+
store: 56,
|
|
175
|
+
// number | The id of the storeSpecialDate
|
|
176
|
+
storeSpecialDate: 56,
|
|
177
|
+
} satisfies DestroyStoreSpecialDateRequest;
|
|
178
|
+
|
|
179
|
+
try {
|
|
180
|
+
const data = await api.destroyStoreSpecialDate(body);
|
|
181
|
+
console.log(data);
|
|
182
|
+
} catch (error) {
|
|
183
|
+
console.error(error);
|
|
184
|
+
}
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
// Run the test
|
|
188
|
+
example().catch(console.error);
|
|
189
|
+
```
|
|
190
|
+
|
|
191
|
+
### Parameters
|
|
192
|
+
|
|
193
|
+
|
|
194
|
+
| Name | Type | Description | Notes |
|
|
195
|
+
|------------- | ------------- | ------------- | -------------|
|
|
196
|
+
| **store** | `number` | The id of the store | [Defaults to `undefined`] |
|
|
197
|
+
| **storeSpecialDate** | `number` | The id of the storeSpecialDate | [Defaults to `undefined`] |
|
|
198
|
+
|
|
199
|
+
### Return type
|
|
200
|
+
|
|
201
|
+
[**GenericResponse**](GenericResponse.md)
|
|
202
|
+
|
|
203
|
+
### Authorization
|
|
204
|
+
|
|
205
|
+
No authorization required
|
|
206
|
+
|
|
207
|
+
### HTTP request headers
|
|
208
|
+
|
|
209
|
+
- **Content-Type**: Not defined
|
|
210
|
+
- **Accept**: `application/json`
|
|
211
|
+
|
|
212
|
+
|
|
213
|
+
### HTTP response details
|
|
214
|
+
| Status code | Description | Response headers |
|
|
215
|
+
|-------------|-------------|------------------|
|
|
216
|
+
| **200** | \\JsonResponse<array{message: string}> | - |
|
|
217
|
+
|
|
218
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
219
|
+
|
|
220
|
+
|
|
221
|
+
## detachSuppliersStore
|
|
222
|
+
|
|
223
|
+
> StoreResource detachSuppliersStore(store, detachSuppliersStoreRequest)
|
|
224
|
+
|
|
225
|
+
Auto-generated: detachSuppliersStore
|
|
226
|
+
|
|
227
|
+
### Example
|
|
228
|
+
|
|
229
|
+
```ts
|
|
230
|
+
import {
|
|
231
|
+
Configuration,
|
|
232
|
+
StoreApi,
|
|
233
|
+
} from '@digital8/lighting-illusions-ts-sdk';
|
|
234
|
+
import type { DetachSuppliersStoreOperationRequest } from '@digital8/lighting-illusions-ts-sdk';
|
|
235
|
+
|
|
236
|
+
async function example() {
|
|
237
|
+
console.log("🚀 Testing @digital8/lighting-illusions-ts-sdk SDK...");
|
|
238
|
+
const api = new StoreApi();
|
|
239
|
+
|
|
240
|
+
const body = {
|
|
241
|
+
// number | The id of the store
|
|
242
|
+
store: 56,
|
|
243
|
+
// DetachSuppliersStoreRequest (optional)
|
|
244
|
+
detachSuppliersStoreRequest: ...,
|
|
245
|
+
} satisfies DetachSuppliersStoreOperationRequest;
|
|
246
|
+
|
|
247
|
+
try {
|
|
248
|
+
const data = await api.detachSuppliersStore(body);
|
|
249
|
+
console.log(data);
|
|
250
|
+
} catch (error) {
|
|
251
|
+
console.error(error);
|
|
252
|
+
}
|
|
253
|
+
}
|
|
254
|
+
|
|
255
|
+
// Run the test
|
|
256
|
+
example().catch(console.error);
|
|
257
|
+
```
|
|
258
|
+
|
|
259
|
+
### Parameters
|
|
260
|
+
|
|
261
|
+
|
|
262
|
+
| Name | Type | Description | Notes |
|
|
263
|
+
|------------- | ------------- | ------------- | -------------|
|
|
264
|
+
| **store** | `number` | The id of the store | [Defaults to `undefined`] |
|
|
265
|
+
| **detachSuppliersStoreRequest** | [DetachSuppliersStoreRequest](DetachSuppliersStoreRequest.md) | | [Optional] |
|
|
266
|
+
|
|
267
|
+
### Return type
|
|
268
|
+
|
|
269
|
+
[**StoreResource**](StoreResource.md)
|
|
270
|
+
|
|
271
|
+
### Authorization
|
|
272
|
+
|
|
273
|
+
No authorization required
|
|
274
|
+
|
|
275
|
+
### HTTP request headers
|
|
276
|
+
|
|
277
|
+
- **Content-Type**: `application/json`
|
|
278
|
+
- **Accept**: `application/json`
|
|
279
|
+
|
|
280
|
+
|
|
281
|
+
### HTTP response details
|
|
282
|
+
| Status code | Description | Response headers |
|
|
283
|
+
|-------------|-------------|------------------|
|
|
284
|
+
| **200** | Successful resource response | - |
|
|
285
|
+
|
|
286
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
287
|
+
|
|
288
|
+
|
|
289
|
+
## getAllStore
|
|
290
|
+
|
|
291
|
+
> StoreLiteResource getAllStore(getAllStoreRequest)
|
|
292
|
+
|
|
293
|
+
Auto-generated: getAllStore
|
|
294
|
+
|
|
295
|
+
### Example
|
|
296
|
+
|
|
297
|
+
```ts
|
|
298
|
+
import {
|
|
299
|
+
Configuration,
|
|
300
|
+
StoreApi,
|
|
301
|
+
} from '@digital8/lighting-illusions-ts-sdk';
|
|
302
|
+
import type { GetAllStoreOperationRequest } from '@digital8/lighting-illusions-ts-sdk';
|
|
303
|
+
|
|
304
|
+
async function example() {
|
|
305
|
+
console.log("🚀 Testing @digital8/lighting-illusions-ts-sdk SDK...");
|
|
306
|
+
const api = new StoreApi();
|
|
307
|
+
|
|
308
|
+
const body = {
|
|
309
|
+
// GetAllStoreRequest (optional)
|
|
310
|
+
getAllStoreRequest: ...,
|
|
311
|
+
} satisfies GetAllStoreOperationRequest;
|
|
312
|
+
|
|
313
|
+
try {
|
|
314
|
+
const data = await api.getAllStore(body);
|
|
315
|
+
console.log(data);
|
|
316
|
+
} catch (error) {
|
|
317
|
+
console.error(error);
|
|
318
|
+
}
|
|
319
|
+
}
|
|
320
|
+
|
|
321
|
+
// Run the test
|
|
322
|
+
example().catch(console.error);
|
|
323
|
+
```
|
|
324
|
+
|
|
325
|
+
### Parameters
|
|
326
|
+
|
|
327
|
+
|
|
328
|
+
| Name | Type | Description | Notes |
|
|
329
|
+
|------------- | ------------- | ------------- | -------------|
|
|
330
|
+
| **getAllStoreRequest** | [GetAllStoreRequest](GetAllStoreRequest.md) | | [Optional] |
|
|
331
|
+
|
|
332
|
+
### Return type
|
|
333
|
+
|
|
334
|
+
[**StoreLiteResource**](StoreLiteResource.md)
|
|
335
|
+
|
|
336
|
+
### Authorization
|
|
337
|
+
|
|
338
|
+
No authorization required
|
|
339
|
+
|
|
340
|
+
### HTTP request headers
|
|
341
|
+
|
|
342
|
+
- **Content-Type**: `application/json`
|
|
343
|
+
- **Accept**: `application/json`
|
|
344
|
+
|
|
345
|
+
|
|
346
|
+
### HTTP response details
|
|
347
|
+
| Status code | Description | Response headers |
|
|
348
|
+
|-------------|-------------|------------------|
|
|
349
|
+
| **200** | Successful resource response | - |
|
|
350
|
+
|
|
351
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
352
|
+
|
|
353
|
+
|
|
354
|
+
## indexStore
|
|
355
|
+
|
|
356
|
+
> PaginatedStoreListResourceResponse indexStore(indexStoreRequest)
|
|
357
|
+
|
|
358
|
+
Auto-generated: indexStore
|
|
359
|
+
|
|
360
|
+
### Example
|
|
361
|
+
|
|
362
|
+
```ts
|
|
363
|
+
import {
|
|
364
|
+
Configuration,
|
|
365
|
+
StoreApi,
|
|
366
|
+
} from '@digital8/lighting-illusions-ts-sdk';
|
|
367
|
+
import type { IndexStoreOperationRequest } from '@digital8/lighting-illusions-ts-sdk';
|
|
368
|
+
|
|
369
|
+
async function example() {
|
|
370
|
+
console.log("🚀 Testing @digital8/lighting-illusions-ts-sdk SDK...");
|
|
371
|
+
const api = new StoreApi();
|
|
372
|
+
|
|
373
|
+
const body = {
|
|
374
|
+
// IndexStoreRequest (optional)
|
|
375
|
+
indexStoreRequest: ...,
|
|
376
|
+
} satisfies IndexStoreOperationRequest;
|
|
377
|
+
|
|
378
|
+
try {
|
|
379
|
+
const data = await api.indexStore(body);
|
|
380
|
+
console.log(data);
|
|
381
|
+
} catch (error) {
|
|
382
|
+
console.error(error);
|
|
383
|
+
}
|
|
384
|
+
}
|
|
385
|
+
|
|
386
|
+
// Run the test
|
|
387
|
+
example().catch(console.error);
|
|
388
|
+
```
|
|
389
|
+
|
|
390
|
+
### Parameters
|
|
391
|
+
|
|
392
|
+
|
|
393
|
+
| Name | Type | Description | Notes |
|
|
394
|
+
|------------- | ------------- | ------------- | -------------|
|
|
395
|
+
| **indexStoreRequest** | [IndexStoreRequest](IndexStoreRequest.md) | | [Optional] |
|
|
396
|
+
|
|
397
|
+
### Return type
|
|
398
|
+
|
|
399
|
+
[**PaginatedStoreListResourceResponse**](PaginatedStoreListResourceResponse.md)
|
|
400
|
+
|
|
401
|
+
### Authorization
|
|
402
|
+
|
|
403
|
+
No authorization required
|
|
404
|
+
|
|
405
|
+
### HTTP request headers
|
|
406
|
+
|
|
407
|
+
- **Content-Type**: `application/json`
|
|
408
|
+
- **Accept**: `application/json`
|
|
409
|
+
|
|
410
|
+
|
|
411
|
+
### HTTP response details
|
|
412
|
+
| Status code | Description | Response headers |
|
|
413
|
+
|-------------|-------------|------------------|
|
|
414
|
+
| **200** | Paginated response \\JsonResponse<\\ResourcePaginator<\\StoreListResource>> | - |
|
|
415
|
+
|
|
416
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
417
|
+
|
|
418
|
+
|
|
419
|
+
## showStore
|
|
420
|
+
|
|
421
|
+
> StoreResource showStore(store)
|
|
422
|
+
|
|
423
|
+
Auto-generated: showStore
|
|
424
|
+
|
|
425
|
+
### Example
|
|
426
|
+
|
|
427
|
+
```ts
|
|
428
|
+
import {
|
|
429
|
+
Configuration,
|
|
430
|
+
StoreApi,
|
|
431
|
+
} from '@digital8/lighting-illusions-ts-sdk';
|
|
432
|
+
import type { ShowStoreRequest } from '@digital8/lighting-illusions-ts-sdk';
|
|
433
|
+
|
|
434
|
+
async function example() {
|
|
435
|
+
console.log("🚀 Testing @digital8/lighting-illusions-ts-sdk SDK...");
|
|
436
|
+
const api = new StoreApi();
|
|
437
|
+
|
|
438
|
+
const body = {
|
|
439
|
+
// number | The id of the store
|
|
440
|
+
store: 56,
|
|
441
|
+
} satisfies ShowStoreRequest;
|
|
442
|
+
|
|
443
|
+
try {
|
|
444
|
+
const data = await api.showStore(body);
|
|
445
|
+
console.log(data);
|
|
446
|
+
} catch (error) {
|
|
447
|
+
console.error(error);
|
|
448
|
+
}
|
|
449
|
+
}
|
|
450
|
+
|
|
451
|
+
// Run the test
|
|
452
|
+
example().catch(console.error);
|
|
453
|
+
```
|
|
454
|
+
|
|
455
|
+
### Parameters
|
|
456
|
+
|
|
457
|
+
|
|
458
|
+
| Name | Type | Description | Notes |
|
|
459
|
+
|------------- | ------------- | ------------- | -------------|
|
|
460
|
+
| **store** | `number` | The id of the store | [Defaults to `undefined`] |
|
|
461
|
+
|
|
462
|
+
### Return type
|
|
463
|
+
|
|
464
|
+
[**StoreResource**](StoreResource.md)
|
|
465
|
+
|
|
466
|
+
### Authorization
|
|
467
|
+
|
|
468
|
+
No authorization required
|
|
469
|
+
|
|
470
|
+
### HTTP request headers
|
|
471
|
+
|
|
472
|
+
- **Content-Type**: Not defined
|
|
473
|
+
- **Accept**: `application/json`
|
|
474
|
+
|
|
475
|
+
|
|
476
|
+
### HTTP response details
|
|
477
|
+
| Status code | Description | Response headers |
|
|
478
|
+
|-------------|-------------|------------------|
|
|
479
|
+
| **200** | Successful resource response | - |
|
|
480
|
+
|
|
481
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
482
|
+
|
|
483
|
+
|
|
484
|
+
## storeStore
|
|
485
|
+
|
|
486
|
+
> StoreResource storeStore(storeStoreRequest)
|
|
487
|
+
|
|
488
|
+
Auto-generated: storeStore
|
|
489
|
+
|
|
490
|
+
### Example
|
|
491
|
+
|
|
492
|
+
```ts
|
|
493
|
+
import {
|
|
494
|
+
Configuration,
|
|
495
|
+
StoreApi,
|
|
496
|
+
} from '@digital8/lighting-illusions-ts-sdk';
|
|
497
|
+
import type { StoreStoreOperationRequest } from '@digital8/lighting-illusions-ts-sdk';
|
|
498
|
+
|
|
499
|
+
async function example() {
|
|
500
|
+
console.log("🚀 Testing @digital8/lighting-illusions-ts-sdk SDK...");
|
|
501
|
+
const api = new StoreApi();
|
|
502
|
+
|
|
503
|
+
const body = {
|
|
504
|
+
// StoreStoreRequest (optional)
|
|
505
|
+
storeStoreRequest: ...,
|
|
506
|
+
} satisfies StoreStoreOperationRequest;
|
|
507
|
+
|
|
508
|
+
try {
|
|
509
|
+
const data = await api.storeStore(body);
|
|
510
|
+
console.log(data);
|
|
511
|
+
} catch (error) {
|
|
512
|
+
console.error(error);
|
|
513
|
+
}
|
|
514
|
+
}
|
|
515
|
+
|
|
516
|
+
// Run the test
|
|
517
|
+
example().catch(console.error);
|
|
518
|
+
```
|
|
519
|
+
|
|
520
|
+
### Parameters
|
|
521
|
+
|
|
522
|
+
|
|
523
|
+
| Name | Type | Description | Notes |
|
|
524
|
+
|------------- | ------------- | ------------- | -------------|
|
|
525
|
+
| **storeStoreRequest** | [StoreStoreRequest](StoreStoreRequest.md) | | [Optional] |
|
|
526
|
+
|
|
527
|
+
### Return type
|
|
528
|
+
|
|
529
|
+
[**StoreResource**](StoreResource.md)
|
|
530
|
+
|
|
531
|
+
### Authorization
|
|
532
|
+
|
|
533
|
+
No authorization required
|
|
534
|
+
|
|
535
|
+
### HTTP request headers
|
|
536
|
+
|
|
537
|
+
- **Content-Type**: `application/json`
|
|
538
|
+
- **Accept**: `application/json`
|
|
539
|
+
|
|
540
|
+
|
|
541
|
+
### HTTP response details
|
|
542
|
+
| Status code | Description | Response headers |
|
|
543
|
+
|-------------|-------------|------------------|
|
|
544
|
+
| **200** | Successful resource response | - |
|
|
545
|
+
|
|
546
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
547
|
+
|
|
548
|
+
|
|
549
|
+
## storeStoreSpecialDate
|
|
550
|
+
|
|
551
|
+
> StoreSpecialDateResource storeStoreSpecialDate(store, storeStoreSpecialDateRequest)
|
|
552
|
+
|
|
553
|
+
Auto-generated: storeStoreSpecialDate
|
|
554
|
+
|
|
555
|
+
### Example
|
|
556
|
+
|
|
557
|
+
```ts
|
|
558
|
+
import {
|
|
559
|
+
Configuration,
|
|
560
|
+
StoreApi,
|
|
561
|
+
} from '@digital8/lighting-illusions-ts-sdk';
|
|
562
|
+
import type { StoreStoreSpecialDateOperationRequest } from '@digital8/lighting-illusions-ts-sdk';
|
|
563
|
+
|
|
564
|
+
async function example() {
|
|
565
|
+
console.log("🚀 Testing @digital8/lighting-illusions-ts-sdk SDK...");
|
|
566
|
+
const api = new StoreApi();
|
|
567
|
+
|
|
568
|
+
const body = {
|
|
569
|
+
// number | The id of the store
|
|
570
|
+
store: 56,
|
|
571
|
+
// StoreStoreSpecialDateRequest (optional)
|
|
572
|
+
storeStoreSpecialDateRequest: ...,
|
|
573
|
+
} satisfies StoreStoreSpecialDateOperationRequest;
|
|
574
|
+
|
|
575
|
+
try {
|
|
576
|
+
const data = await api.storeStoreSpecialDate(body);
|
|
577
|
+
console.log(data);
|
|
578
|
+
} catch (error) {
|
|
579
|
+
console.error(error);
|
|
580
|
+
}
|
|
581
|
+
}
|
|
582
|
+
|
|
583
|
+
// Run the test
|
|
584
|
+
example().catch(console.error);
|
|
585
|
+
```
|
|
586
|
+
|
|
587
|
+
### Parameters
|
|
588
|
+
|
|
589
|
+
|
|
590
|
+
| Name | Type | Description | Notes |
|
|
591
|
+
|------------- | ------------- | ------------- | -------------|
|
|
592
|
+
| **store** | `number` | The id of the store | [Defaults to `undefined`] |
|
|
593
|
+
| **storeStoreSpecialDateRequest** | [StoreStoreSpecialDateRequest](StoreStoreSpecialDateRequest.md) | | [Optional] |
|
|
594
|
+
|
|
595
|
+
### Return type
|
|
596
|
+
|
|
597
|
+
[**StoreSpecialDateResource**](StoreSpecialDateResource.md)
|
|
598
|
+
|
|
599
|
+
### Authorization
|
|
600
|
+
|
|
601
|
+
No authorization required
|
|
602
|
+
|
|
603
|
+
### HTTP request headers
|
|
604
|
+
|
|
605
|
+
- **Content-Type**: `application/json`
|
|
606
|
+
- **Accept**: `application/json`
|
|
607
|
+
|
|
608
|
+
|
|
609
|
+
### HTTP response details
|
|
610
|
+
| Status code | Description | Response headers |
|
|
611
|
+
|-------------|-------------|------------------|
|
|
612
|
+
| **200** | Successful resource response | - |
|
|
613
|
+
|
|
614
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
615
|
+
|
|
616
|
+
|
|
617
|
+
## updateStore
|
|
618
|
+
|
|
619
|
+
> StoreResource updateStore(store, updateStoreRequest)
|
|
620
|
+
|
|
621
|
+
Auto-generated: updateStore
|
|
622
|
+
|
|
623
|
+
### Example
|
|
624
|
+
|
|
625
|
+
```ts
|
|
626
|
+
import {
|
|
627
|
+
Configuration,
|
|
628
|
+
StoreApi,
|
|
629
|
+
} from '@digital8/lighting-illusions-ts-sdk';
|
|
630
|
+
import type { UpdateStoreOperationRequest } from '@digital8/lighting-illusions-ts-sdk';
|
|
631
|
+
|
|
632
|
+
async function example() {
|
|
633
|
+
console.log("🚀 Testing @digital8/lighting-illusions-ts-sdk SDK...");
|
|
634
|
+
const api = new StoreApi();
|
|
635
|
+
|
|
636
|
+
const body = {
|
|
637
|
+
// number | The id of the store
|
|
638
|
+
store: 56,
|
|
639
|
+
// UpdateStoreRequest (optional)
|
|
640
|
+
updateStoreRequest: ...,
|
|
641
|
+
} satisfies UpdateStoreOperationRequest;
|
|
642
|
+
|
|
643
|
+
try {
|
|
644
|
+
const data = await api.updateStore(body);
|
|
645
|
+
console.log(data);
|
|
646
|
+
} catch (error) {
|
|
647
|
+
console.error(error);
|
|
648
|
+
}
|
|
649
|
+
}
|
|
650
|
+
|
|
651
|
+
// Run the test
|
|
652
|
+
example().catch(console.error);
|
|
653
|
+
```
|
|
654
|
+
|
|
655
|
+
### Parameters
|
|
656
|
+
|
|
657
|
+
|
|
658
|
+
| Name | Type | Description | Notes |
|
|
659
|
+
|------------- | ------------- | ------------- | -------------|
|
|
660
|
+
| **store** | `number` | The id of the store | [Defaults to `undefined`] |
|
|
661
|
+
| **updateStoreRequest** | [UpdateStoreRequest](UpdateStoreRequest.md) | | [Optional] |
|
|
662
|
+
|
|
663
|
+
### Return type
|
|
664
|
+
|
|
665
|
+
[**StoreResource**](StoreResource.md)
|
|
666
|
+
|
|
667
|
+
### Authorization
|
|
668
|
+
|
|
669
|
+
No authorization required
|
|
670
|
+
|
|
671
|
+
### HTTP request headers
|
|
672
|
+
|
|
673
|
+
- **Content-Type**: `application/json`
|
|
674
|
+
- **Accept**: `application/json`
|
|
675
|
+
|
|
676
|
+
|
|
677
|
+
### HTTP response details
|
|
678
|
+
| Status code | Description | Response headers |
|
|
679
|
+
|-------------|-------------|------------------|
|
|
680
|
+
| **200** | Successful resource response | - |
|
|
681
|
+
|
|
682
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
683
|
+
|