@digital8/lighting-illusions-ts-sdk 0.0.1122 → 0.0.1124
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 +40 -2
- package/README.md +39 -12
- package/dist/apis/StoreApi.d.ts +158 -0
- package/dist/apis/StoreApi.js +621 -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/AddressResource.d.ts +74 -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/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/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 +3 -1
- package/dist/models/GetAllStoreRequest.d.ts +93 -0
- package/dist/models/GetAllStoreRequest.js +81 -0
- package/dist/models/StoreListResource.d.ts +93 -0
- package/dist/models/StoreListResource.js +84 -0
- package/dist/models/StoreListResourceArrayResponse.d.ts +33 -0
- package/dist/models/StoreListResourceArrayResponse.js +50 -0
- package/dist/models/StoreResource.d.ts +114 -0
- package/dist/models/StoreResource.js +97 -0
- package/dist/models/StoreResourceArrayResponse.d.ts +33 -0
- package/dist/models/StoreResourceArrayResponse.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 +94 -0
- package/dist/models/StoreStoreRequest.js +85 -0
- package/dist/models/StoreStoreRequestAddress.d.ts +68 -0
- package/dist/models/StoreStoreRequestAddress.js +73 -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/SupplierResource.d.ts +6 -0
- package/dist/models/SupplierResource.js +4 -0
- package/dist/models/UpdateStoreRequest.d.ts +94 -0
- package/dist/models/UpdateStoreRequest.js +85 -0
- package/dist/models/UpdateStoreRequestSpecialDatesInner.d.ts +56 -0
- package/dist/models/UpdateStoreRequestSpecialDatesInner.js +57 -0
- package/dist/models/index.d.ts +19 -0
- package/dist/models/index.js +19 -0
- package/docs/AddressResource.md +48 -0
- package/docs/AddressResourceArrayResponse.md +34 -0
- package/docs/AttachStoresSupplierRequest.md +34 -0
- package/docs/AttachSuppliersStoreRequest.md +34 -0
- package/docs/DetachStoresSupplierRequest.md +34 -0
- package/docs/DetachSuppliersStoreRequest.md +34 -0
- package/docs/GetAllStoreRequest.md +48 -0
- package/docs/StoreApi.md +617 -0
- package/docs/StoreListResource.md +54 -0
- package/docs/StoreListResourceArrayResponse.md +34 -0
- package/docs/StoreResource.md +60 -0
- package/docs/StoreResourceArrayResponse.md +34 -0
- package/docs/StoreSpecialDateResource.md +42 -0
- package/docs/StoreSpecialDateResourceArrayResponse.md +34 -0
- package/docs/StoreStoreRequest.md +54 -0
- package/docs/StoreStoreRequestAddress.md +46 -0
- package/docs/StoreStoreRequestSpecialDatesInner.md +40 -0
- package/docs/StoreStoreSpecialDateRequest.md +40 -0
- package/docs/SupplierApi.md +138 -0
- package/docs/SupplierResource.md +2 -0
- package/docs/UpdateStoreRequest.md +54 -0
- package/docs/UpdateStoreRequestSpecialDatesInner.md +42 -0
- package/package.json +1 -1
- package/src/apis/StoreApi.ts +513 -0
- package/src/apis/SupplierApi.ts +112 -0
- package/src/apis/index.ts +1 -1
- package/src/models/AddressResource.ts +129 -0
- package/src/models/AddressResourceArrayResponse.ts +73 -0
- package/src/models/AttachStoresSupplierRequest.ts +66 -0
- package/src/models/AttachSuppliersStoreRequest.ts +66 -0
- package/src/models/DetachStoresSupplierRequest.ts +66 -0
- package/src/models/DetachSuppliersStoreRequest.ts +66 -0
- package/src/models/ExternalApiLogResource.ts +3 -2
- package/src/models/GetAllStoreRequest.ts +144 -0
- package/src/models/StoreListResource.ts +160 -0
- package/src/models/StoreListResourceArrayResponse.ts +73 -0
- package/src/models/StoreResource.ts +207 -0
- package/src/models/StoreResourceArrayResponse.ts +73 -0
- package/src/models/StoreSpecialDateResource.ts +101 -0
- package/src/models/StoreSpecialDateResourceArrayResponse.ts +73 -0
- package/src/models/StoreStoreRequest.ts +167 -0
- package/src/models/StoreStoreRequestAddress.ts +119 -0
- package/src/models/StoreStoreRequestSpecialDatesInner.ts +90 -0
- package/src/models/StoreStoreSpecialDateRequest.ts +90 -0
- package/src/models/SupplierResource.ts +9 -0
- package/src/models/UpdateStoreRequest.ts +167 -0
- package/src/models/UpdateStoreRequestSpecialDatesInner.ts +97 -0
- package/src/models/index.ts +19 -0
- package/dist/apis/AdminApi.d.ts +0 -63
- package/dist/apis/AdminApi.js +0 -254
- package/docs/AdminApi.md +0 -206
- package/src/apis/AdminApi.ts +0 -165
package/dist/models/index.d.ts
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
export * from './AddressResource';
|
|
2
|
+
export * from './AddressResourceArrayResponse';
|
|
1
3
|
export * from './AssetFileForUploadResource';
|
|
2
4
|
export * from './AssetFileForUploadResourceArrayResponse';
|
|
3
5
|
export * from './AssetFrontendResource';
|
|
@@ -15,6 +17,8 @@ export * from './AttachDocumentsProductChildRequest';
|
|
|
15
17
|
export * from './AttachDocumentsProductChildRequestDocumentsInner';
|
|
16
18
|
export * from './AttachProductTypeAttributeRequest';
|
|
17
19
|
export * from './AttachProductsProductCategoryRequest';
|
|
20
|
+
export * from './AttachStoresSupplierRequest';
|
|
21
|
+
export * from './AttachSuppliersStoreRequest';
|
|
18
22
|
export * from './AttributeFieldType';
|
|
19
23
|
export * from './AttributeListResource';
|
|
20
24
|
export * from './AttributeListResourceArrayResponse';
|
|
@@ -49,6 +53,8 @@ export * from './DetachDocumentablesDocumentRequest';
|
|
|
49
53
|
export * from './DetachDocumentablesDocumentRequestDocumentablesInner';
|
|
50
54
|
export * from './DetachDocumentsProductChildRequest';
|
|
51
55
|
export * from './DetachProductsProductCategoryRequest';
|
|
56
|
+
export * from './DetachStoresSupplierRequest';
|
|
57
|
+
export * from './DetachSuppliersStoreRequest';
|
|
52
58
|
export * from './DocumentFileForUploadResource';
|
|
53
59
|
export * from './DocumentFileForUploadResourceArrayResponse';
|
|
54
60
|
export * from './DocumentFrontendResource';
|
|
@@ -74,6 +80,7 @@ export * from './GetAllProductCategoryRequest';
|
|
|
74
80
|
export * from './GetAllProductChildRequest';
|
|
75
81
|
export * from './GetAllProductRequest';
|
|
76
82
|
export * from './GetAllProductTypeRequest';
|
|
83
|
+
export * from './GetAllStoreRequest';
|
|
77
84
|
export * from './GetAllSupplierRequest';
|
|
78
85
|
export * from './GetHierarchyProductCategoryRequest';
|
|
79
86
|
export * from './GlobalSearchCategoryResource';
|
|
@@ -232,6 +239,8 @@ export * from './StoreAttributeValueRequest';
|
|
|
232
239
|
export * from './StoreDefinitionRequest';
|
|
233
240
|
export * from './StoreDocumentFileRequest';
|
|
234
241
|
export * from './StoreDocumentRequest';
|
|
242
|
+
export * from './StoreListResource';
|
|
243
|
+
export * from './StoreListResourceArrayResponse';
|
|
235
244
|
export * from './StoreOverlayTemplateAssetRequest';
|
|
236
245
|
export * from './StoreOverlayTemplateRequest';
|
|
237
246
|
export * from './StoreProductCategoryRequest';
|
|
@@ -245,7 +254,15 @@ export * from './StoreProductChildRequestSitesInner';
|
|
|
245
254
|
export * from './StoreProductRequest';
|
|
246
255
|
export * from './StoreProductRequestCategoriesInner';
|
|
247
256
|
export * from './StoreProductTypeRequest';
|
|
257
|
+
export * from './StoreResource';
|
|
258
|
+
export * from './StoreResourceArrayResponse';
|
|
248
259
|
export * from './StoreSiteNotificationRequest';
|
|
260
|
+
export * from './StoreSpecialDateResource';
|
|
261
|
+
export * from './StoreSpecialDateResourceArrayResponse';
|
|
262
|
+
export * from './StoreStoreRequest';
|
|
263
|
+
export * from './StoreStoreRequestAddress';
|
|
264
|
+
export * from './StoreStoreRequestSpecialDatesInner';
|
|
265
|
+
export * from './StoreStoreSpecialDateRequest';
|
|
249
266
|
export * from './StoreSupplierRequest';
|
|
250
267
|
export * from './StoreTagRequest';
|
|
251
268
|
export * from './SupplierFrontendResource';
|
|
@@ -283,6 +300,8 @@ export * from './UpdateProductTypeRequest';
|
|
|
283
300
|
export * from './UpdateProductTypeRequestPerformanceValuesInner';
|
|
284
301
|
export * from './UpdateSiteNotificationRequest';
|
|
285
302
|
export * from './UpdateSiteRequest';
|
|
303
|
+
export * from './UpdateStoreRequest';
|
|
304
|
+
export * from './UpdateStoreRequestSpecialDatesInner';
|
|
286
305
|
export * from './UpdateSupplierRequest';
|
|
287
306
|
export * from './UpdateTagRequest';
|
|
288
307
|
export * from './WishlistCheckResource';
|
package/dist/models/index.js
CHANGED
|
@@ -16,6 +16,8 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
/* tslint:disable */
|
|
18
18
|
/* eslint-disable */
|
|
19
|
+
__exportStar(require("./AddressResource"), exports);
|
|
20
|
+
__exportStar(require("./AddressResourceArrayResponse"), exports);
|
|
19
21
|
__exportStar(require("./AssetFileForUploadResource"), exports);
|
|
20
22
|
__exportStar(require("./AssetFileForUploadResourceArrayResponse"), exports);
|
|
21
23
|
__exportStar(require("./AssetFrontendResource"), exports);
|
|
@@ -33,6 +35,8 @@ __exportStar(require("./AttachDocumentsProductChildRequest"), exports);
|
|
|
33
35
|
__exportStar(require("./AttachDocumentsProductChildRequestDocumentsInner"), exports);
|
|
34
36
|
__exportStar(require("./AttachProductTypeAttributeRequest"), exports);
|
|
35
37
|
__exportStar(require("./AttachProductsProductCategoryRequest"), exports);
|
|
38
|
+
__exportStar(require("./AttachStoresSupplierRequest"), exports);
|
|
39
|
+
__exportStar(require("./AttachSuppliersStoreRequest"), exports);
|
|
36
40
|
__exportStar(require("./AttributeFieldType"), exports);
|
|
37
41
|
__exportStar(require("./AttributeListResource"), exports);
|
|
38
42
|
__exportStar(require("./AttributeListResourceArrayResponse"), exports);
|
|
@@ -67,6 +71,8 @@ __exportStar(require("./DetachDocumentablesDocumentRequest"), exports);
|
|
|
67
71
|
__exportStar(require("./DetachDocumentablesDocumentRequestDocumentablesInner"), exports);
|
|
68
72
|
__exportStar(require("./DetachDocumentsProductChildRequest"), exports);
|
|
69
73
|
__exportStar(require("./DetachProductsProductCategoryRequest"), exports);
|
|
74
|
+
__exportStar(require("./DetachStoresSupplierRequest"), exports);
|
|
75
|
+
__exportStar(require("./DetachSuppliersStoreRequest"), exports);
|
|
70
76
|
__exportStar(require("./DocumentFileForUploadResource"), exports);
|
|
71
77
|
__exportStar(require("./DocumentFileForUploadResourceArrayResponse"), exports);
|
|
72
78
|
__exportStar(require("./DocumentFrontendResource"), exports);
|
|
@@ -92,6 +98,7 @@ __exportStar(require("./GetAllProductCategoryRequest"), exports);
|
|
|
92
98
|
__exportStar(require("./GetAllProductChildRequest"), exports);
|
|
93
99
|
__exportStar(require("./GetAllProductRequest"), exports);
|
|
94
100
|
__exportStar(require("./GetAllProductTypeRequest"), exports);
|
|
101
|
+
__exportStar(require("./GetAllStoreRequest"), exports);
|
|
95
102
|
__exportStar(require("./GetAllSupplierRequest"), exports);
|
|
96
103
|
__exportStar(require("./GetHierarchyProductCategoryRequest"), exports);
|
|
97
104
|
__exportStar(require("./GlobalSearchCategoryResource"), exports);
|
|
@@ -250,6 +257,8 @@ __exportStar(require("./StoreAttributeValueRequest"), exports);
|
|
|
250
257
|
__exportStar(require("./StoreDefinitionRequest"), exports);
|
|
251
258
|
__exportStar(require("./StoreDocumentFileRequest"), exports);
|
|
252
259
|
__exportStar(require("./StoreDocumentRequest"), exports);
|
|
260
|
+
__exportStar(require("./StoreListResource"), exports);
|
|
261
|
+
__exportStar(require("./StoreListResourceArrayResponse"), exports);
|
|
253
262
|
__exportStar(require("./StoreOverlayTemplateAssetRequest"), exports);
|
|
254
263
|
__exportStar(require("./StoreOverlayTemplateRequest"), exports);
|
|
255
264
|
__exportStar(require("./StoreProductCategoryRequest"), exports);
|
|
@@ -263,7 +272,15 @@ __exportStar(require("./StoreProductChildRequestSitesInner"), exports);
|
|
|
263
272
|
__exportStar(require("./StoreProductRequest"), exports);
|
|
264
273
|
__exportStar(require("./StoreProductRequestCategoriesInner"), exports);
|
|
265
274
|
__exportStar(require("./StoreProductTypeRequest"), exports);
|
|
275
|
+
__exportStar(require("./StoreResource"), exports);
|
|
276
|
+
__exportStar(require("./StoreResourceArrayResponse"), exports);
|
|
266
277
|
__exportStar(require("./StoreSiteNotificationRequest"), exports);
|
|
278
|
+
__exportStar(require("./StoreSpecialDateResource"), exports);
|
|
279
|
+
__exportStar(require("./StoreSpecialDateResourceArrayResponse"), exports);
|
|
280
|
+
__exportStar(require("./StoreStoreRequest"), exports);
|
|
281
|
+
__exportStar(require("./StoreStoreRequestAddress"), exports);
|
|
282
|
+
__exportStar(require("./StoreStoreRequestSpecialDatesInner"), exports);
|
|
283
|
+
__exportStar(require("./StoreStoreSpecialDateRequest"), exports);
|
|
267
284
|
__exportStar(require("./StoreSupplierRequest"), exports);
|
|
268
285
|
__exportStar(require("./StoreTagRequest"), exports);
|
|
269
286
|
__exportStar(require("./SupplierFrontendResource"), exports);
|
|
@@ -301,6 +318,8 @@ __exportStar(require("./UpdateProductTypeRequest"), exports);
|
|
|
301
318
|
__exportStar(require("./UpdateProductTypeRequestPerformanceValuesInner"), exports);
|
|
302
319
|
__exportStar(require("./UpdateSiteNotificationRequest"), exports);
|
|
303
320
|
__exportStar(require("./UpdateSiteRequest"), exports);
|
|
321
|
+
__exportStar(require("./UpdateStoreRequest"), exports);
|
|
322
|
+
__exportStar(require("./UpdateStoreRequestSpecialDatesInner"), exports);
|
|
304
323
|
__exportStar(require("./UpdateSupplierRequest"), exports);
|
|
305
324
|
__exportStar(require("./UpdateTagRequest"), exports);
|
|
306
325
|
__exportStar(require("./WishlistCheckResource"), exports);
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
|
|
2
|
+
# AddressResource
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`id` | number
|
|
10
|
+
`company` | string
|
|
11
|
+
`line1` | string
|
|
12
|
+
`line2` | string
|
|
13
|
+
`postcode` | string
|
|
14
|
+
`suburb` | string
|
|
15
|
+
`country` | string
|
|
16
|
+
`state` | string
|
|
17
|
+
|
|
18
|
+
## Example
|
|
19
|
+
|
|
20
|
+
```typescript
|
|
21
|
+
import type { AddressResource } from '@digital8/lighting-illusions-ts-sdk'
|
|
22
|
+
|
|
23
|
+
// TODO: Update the object below with actual values
|
|
24
|
+
const example = {
|
|
25
|
+
"id": null,
|
|
26
|
+
"company": null,
|
|
27
|
+
"line1": null,
|
|
28
|
+
"line2": null,
|
|
29
|
+
"postcode": null,
|
|
30
|
+
"suburb": null,
|
|
31
|
+
"country": null,
|
|
32
|
+
"state": null,
|
|
33
|
+
} satisfies AddressResource
|
|
34
|
+
|
|
35
|
+
console.log(example)
|
|
36
|
+
|
|
37
|
+
// Convert the instance to a JSON string
|
|
38
|
+
const exampleJSON: string = JSON.stringify(example)
|
|
39
|
+
console.log(exampleJSON)
|
|
40
|
+
|
|
41
|
+
// Parse the JSON string back to an object
|
|
42
|
+
const exampleParsed = JSON.parse(exampleJSON) as AddressResource
|
|
43
|
+
console.log(exampleParsed)
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
47
|
+
|
|
48
|
+
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
|
|
2
|
+
# AddressResourceArrayResponse
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`data` | [Array<AddressResource>](AddressResource.md)
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import type { AddressResourceArrayResponse } from '@digital8/lighting-illusions-ts-sdk'
|
|
15
|
+
|
|
16
|
+
// TODO: Update the object below with actual values
|
|
17
|
+
const example = {
|
|
18
|
+
"data": null,
|
|
19
|
+
} satisfies AddressResourceArrayResponse
|
|
20
|
+
|
|
21
|
+
console.log(example)
|
|
22
|
+
|
|
23
|
+
// Convert the instance to a JSON string
|
|
24
|
+
const exampleJSON: string = JSON.stringify(example)
|
|
25
|
+
console.log(exampleJSON)
|
|
26
|
+
|
|
27
|
+
// Parse the JSON string back to an object
|
|
28
|
+
const exampleParsed = JSON.parse(exampleJSON) as AddressResourceArrayResponse
|
|
29
|
+
console.log(exampleParsed)
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
33
|
+
|
|
34
|
+
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
|
|
2
|
+
# AttachStoresSupplierRequest
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`storeIds` | Array<number>
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import type { AttachStoresSupplierRequest } from '@digital8/lighting-illusions-ts-sdk'
|
|
15
|
+
|
|
16
|
+
// TODO: Update the object below with actual values
|
|
17
|
+
const example = {
|
|
18
|
+
"storeIds": null,
|
|
19
|
+
} satisfies AttachStoresSupplierRequest
|
|
20
|
+
|
|
21
|
+
console.log(example)
|
|
22
|
+
|
|
23
|
+
// Convert the instance to a JSON string
|
|
24
|
+
const exampleJSON: string = JSON.stringify(example)
|
|
25
|
+
console.log(exampleJSON)
|
|
26
|
+
|
|
27
|
+
// Parse the JSON string back to an object
|
|
28
|
+
const exampleParsed = JSON.parse(exampleJSON) as AttachStoresSupplierRequest
|
|
29
|
+
console.log(exampleParsed)
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
33
|
+
|
|
34
|
+
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
|
|
2
|
+
# AttachSuppliersStoreRequest
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`supplierIds` | Array<number>
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import type { AttachSuppliersStoreRequest } from '@digital8/lighting-illusions-ts-sdk'
|
|
15
|
+
|
|
16
|
+
// TODO: Update the object below with actual values
|
|
17
|
+
const example = {
|
|
18
|
+
"supplierIds": null,
|
|
19
|
+
} satisfies AttachSuppliersStoreRequest
|
|
20
|
+
|
|
21
|
+
console.log(example)
|
|
22
|
+
|
|
23
|
+
// Convert the instance to a JSON string
|
|
24
|
+
const exampleJSON: string = JSON.stringify(example)
|
|
25
|
+
console.log(exampleJSON)
|
|
26
|
+
|
|
27
|
+
// Parse the JSON string back to an object
|
|
28
|
+
const exampleParsed = JSON.parse(exampleJSON) as AttachSuppliersStoreRequest
|
|
29
|
+
console.log(exampleParsed)
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
33
|
+
|
|
34
|
+
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
|
|
2
|
+
# DetachStoresSupplierRequest
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`storeIds` | Array<number>
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import type { DetachStoresSupplierRequest } from '@digital8/lighting-illusions-ts-sdk'
|
|
15
|
+
|
|
16
|
+
// TODO: Update the object below with actual values
|
|
17
|
+
const example = {
|
|
18
|
+
"storeIds": null,
|
|
19
|
+
} satisfies DetachStoresSupplierRequest
|
|
20
|
+
|
|
21
|
+
console.log(example)
|
|
22
|
+
|
|
23
|
+
// Convert the instance to a JSON string
|
|
24
|
+
const exampleJSON: string = JSON.stringify(example)
|
|
25
|
+
console.log(exampleJSON)
|
|
26
|
+
|
|
27
|
+
// Parse the JSON string back to an object
|
|
28
|
+
const exampleParsed = JSON.parse(exampleJSON) as DetachStoresSupplierRequest
|
|
29
|
+
console.log(exampleParsed)
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
33
|
+
|
|
34
|
+
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
|
|
2
|
+
# DetachSuppliersStoreRequest
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`supplierIds` | Array<number>
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import type { DetachSuppliersStoreRequest } from '@digital8/lighting-illusions-ts-sdk'
|
|
15
|
+
|
|
16
|
+
// TODO: Update the object below with actual values
|
|
17
|
+
const example = {
|
|
18
|
+
"supplierIds": null,
|
|
19
|
+
} satisfies DetachSuppliersStoreRequest
|
|
20
|
+
|
|
21
|
+
console.log(example)
|
|
22
|
+
|
|
23
|
+
// Convert the instance to a JSON string
|
|
24
|
+
const exampleJSON: string = JSON.stringify(example)
|
|
25
|
+
console.log(exampleJSON)
|
|
26
|
+
|
|
27
|
+
// Parse the JSON string back to an object
|
|
28
|
+
const exampleParsed = JSON.parse(exampleJSON) as DetachSuppliersStoreRequest
|
|
29
|
+
console.log(exampleParsed)
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
33
|
+
|
|
34
|
+
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
|
|
2
|
+
# GetAllStoreRequest
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`search` | string
|
|
10
|
+
`sortBy` | string
|
|
11
|
+
`sortDirection` | string
|
|
12
|
+
`relatedId` | number
|
|
13
|
+
`relatedType` | string
|
|
14
|
+
`includesRelations` | boolean
|
|
15
|
+
`siteId` | Array<string>
|
|
16
|
+
`suppliersId` | Array<string>
|
|
17
|
+
|
|
18
|
+
## Example
|
|
19
|
+
|
|
20
|
+
```typescript
|
|
21
|
+
import type { GetAllStoreRequest } from '@digital8/lighting-illusions-ts-sdk'
|
|
22
|
+
|
|
23
|
+
// TODO: Update the object below with actual values
|
|
24
|
+
const example = {
|
|
25
|
+
"search": null,
|
|
26
|
+
"sortBy": null,
|
|
27
|
+
"sortDirection": null,
|
|
28
|
+
"relatedId": null,
|
|
29
|
+
"relatedType": null,
|
|
30
|
+
"includesRelations": null,
|
|
31
|
+
"siteId": null,
|
|
32
|
+
"suppliersId": null,
|
|
33
|
+
} satisfies GetAllStoreRequest
|
|
34
|
+
|
|
35
|
+
console.log(example)
|
|
36
|
+
|
|
37
|
+
// Convert the instance to a JSON string
|
|
38
|
+
const exampleJSON: string = JSON.stringify(example)
|
|
39
|
+
console.log(exampleJSON)
|
|
40
|
+
|
|
41
|
+
// Parse the JSON string back to an object
|
|
42
|
+
const exampleParsed = JSON.parse(exampleJSON) as GetAllStoreRequest
|
|
43
|
+
console.log(exampleParsed)
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
47
|
+
|
|
48
|
+
|