@digital8/lighting-illusions-ts-sdk 0.0.1632 → 0.0.1633
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 +18 -6
- package/README.md +11 -7
- package/dist/apis/StoreApi.d.ts +1 -28
- package/dist/apis/StoreApi.js +0 -113
- package/dist/models/AddressFrontendResource.d.ts +1 -1
- package/dist/models/AddressFrontendResource.js +3 -1
- package/dist/models/BlogCategoryListResource.d.ts +44 -0
- package/dist/models/BlogCategoryListResource.js +59 -0
- package/dist/models/BlogCategoryListResourceArrayResponse.d.ts +33 -0
- package/dist/models/BlogCategoryListResourceArrayResponse.js +50 -0
- package/dist/models/BlogCategoryLiteResource.d.ts +38 -0
- package/dist/models/BlogCategoryLiteResource.js +55 -0
- package/dist/models/BlogCategoryLiteResourceArrayResponse.d.ts +33 -0
- package/dist/models/BlogCategoryLiteResourceArrayResponse.js +50 -0
- package/dist/models/BlogCategoryResource.d.ts +51 -0
- package/dist/models/BlogCategoryResource.js +64 -0
- package/dist/models/BlogCategoryResourceArrayResponse.d.ts +33 -0
- package/dist/models/BlogCategoryResourceArrayResponse.js +50 -0
- package/dist/models/PaginatedBlogCategoryListResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedBlogCategoryListResourceResponse.js +57 -0
- package/dist/models/PaginatedBlogCategoryLiteResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedBlogCategoryLiteResourceResponse.js +57 -0
- package/dist/models/PaginatedBlogCategoryResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedBlogCategoryResourceResponse.js +57 -0
- package/dist/models/StoreListResource.d.ts +1 -1
- package/dist/models/StoreListResource.js +3 -1
- package/dist/models/StoreResource.d.ts +0 -12
- package/dist/models/StoreResource.js +0 -4
- package/dist/models/StoreSpecialDateFrontendResource.d.ts +2 -2
- package/dist/models/StoreSpecialDateFrontendResource.js +1 -3
- package/dist/models/StoreStoreRequest.d.ts +0 -12
- package/dist/models/StoreStoreRequest.js +0 -4
- package/dist/models/UpdateStoreRequest.d.ts +0 -12
- package/dist/models/UpdateStoreRequest.js +0 -4
- package/dist/models/index.d.ts +9 -3
- package/dist/models/index.js +9 -3
- package/docs/{SaveMapStoreStockMigrationRequestAssociationsInner.md → BlogCategoryListResource.md} +10 -10
- package/docs/BlogCategoryListResourceArrayResponse.md +34 -0
- package/docs/{ProductChildStoreStockType.md → BlogCategoryLiteResource.md} +8 -4
- package/docs/BlogCategoryLiteResourceArrayResponse.md +34 -0
- package/docs/BlogCategoryResource.md +40 -0
- package/docs/{SaveMapStoreStockMigrationRequest.md → BlogCategoryResourceArrayResponse.md} +6 -6
- package/docs/PaginatedBlogCategoryListResourceResponse.md +36 -0
- package/docs/PaginatedBlogCategoryLiteResourceResponse.md +36 -0
- package/docs/PaginatedBlogCategoryResourceResponse.md +36 -0
- package/docs/StoreApi.md +0 -124
- package/docs/StoreResource.md +0 -4
- package/docs/StoreSpecialDateFrontendResource.md +1 -1
- package/docs/StoreStoreRequest.md +0 -4
- package/docs/UpdateStoreRequest.md +0 -4
- package/package.json +1 -1
- package/src/apis/StoreApi.ts +0 -84
- package/src/models/AddressFrontendResource.ts +3 -2
- package/src/models/BlogCategoryListResource.ts +84 -0
- package/src/models/BlogCategoryListResourceArrayResponse.ts +73 -0
- package/src/models/BlogCategoryLiteResource.ts +75 -0
- package/src/models/BlogCategoryLiteResourceArrayResponse.ts +73 -0
- package/src/models/BlogCategoryResource.ts +101 -0
- package/src/models/BlogCategoryResourceArrayResponse.ts +73 -0
- package/src/models/PaginatedBlogCategoryListResourceResponse.ts +90 -0
- package/src/models/PaginatedBlogCategoryLiteResourceResponse.ts +90 -0
- package/src/models/PaginatedBlogCategoryResourceResponse.ts +90 -0
- package/src/models/StoreListResource.ts +3 -2
- package/src/models/StoreResource.ts +0 -16
- package/src/models/StoreSpecialDateFrontendResource.ts +3 -4
- package/src/models/StoreStoreRequest.ts +0 -16
- package/src/models/UpdateStoreRequest.ts +0 -16
- package/src/models/index.ts +9 -3
- package/dist/models/ProductChildStoreStockType.d.ts +0 -25
- package/dist/models/ProductChildStoreStockType.js +0 -51
- package/dist/models/SaveMapStoreStockMigrationRequest.d.ts +0 -33
- package/dist/models/SaveMapStoreStockMigrationRequest.js +0 -52
- package/dist/models/SaveMapStoreStockMigrationRequestAssociationsInner.d.ts +0 -52
- package/dist/models/SaveMapStoreStockMigrationRequestAssociationsInner.js +0 -67
- package/src/models/ProductChildStoreStockType.ts +0 -53
- package/src/models/SaveMapStoreStockMigrationRequest.ts +0 -74
- package/src/models/SaveMapStoreStockMigrationRequestAssociationsInner.ts +0 -95
|
@@ -55,8 +55,6 @@ function StoreStoreRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
55
55
|
'email': json['email'] == null ? undefined : json['email'],
|
|
56
56
|
'website': json['website'] == null ? undefined : json['website'],
|
|
57
57
|
'openingHours': json['opening_hours'] == null ? undefined : json['opening_hours'],
|
|
58
|
-
'netsuiteId': json['netsuite_id'] == null ? undefined : json['netsuite_id'],
|
|
59
|
-
'displayNetsuiteId': json['display_netsuite_id'] == null ? undefined : json['display_netsuite_id'],
|
|
60
58
|
'supplierIds': json['supplier_ids'] == null ? undefined : json['supplier_ids'],
|
|
61
59
|
'specialDates': json['special_dates'] == null ? undefined : (json['special_dates'].map(StoreStoreRequestSpecialDatesInner_1.StoreStoreRequestSpecialDatesInnerFromJSON)),
|
|
62
60
|
'address': (0, StoreStoreRequestAddress_1.StoreStoreRequestAddressFromJSON)(json['address']),
|
|
@@ -80,8 +78,6 @@ function StoreStoreRequestToJSONTyped(value, ignoreDiscriminator) {
|
|
|
80
78
|
'email': value['email'],
|
|
81
79
|
'website': value['website'],
|
|
82
80
|
'opening_hours': value['openingHours'],
|
|
83
|
-
'netsuite_id': value['netsuiteId'],
|
|
84
|
-
'display_netsuite_id': value['displayNetsuiteId'],
|
|
85
81
|
'supplier_ids': value['supplierIds'],
|
|
86
82
|
'special_dates': value['specialDates'] == null ? undefined : (value['specialDates'].map(StoreStoreRequestSpecialDatesInner_1.StoreStoreRequestSpecialDatesInnerToJSON)),
|
|
87
83
|
'address': (0, StoreStoreRequestAddress_1.StoreStoreRequestAddressToJSON)(value['address']),
|
|
@@ -71,18 +71,6 @@ export interface UpdateStoreRequest {
|
|
|
71
71
|
* @memberof UpdateStoreRequest
|
|
72
72
|
*/
|
|
73
73
|
openingHours?: Array<string | null>;
|
|
74
|
-
/**
|
|
75
|
-
*
|
|
76
|
-
* @type {number}
|
|
77
|
-
* @memberof UpdateStoreRequest
|
|
78
|
-
*/
|
|
79
|
-
netsuiteId?: number | null;
|
|
80
|
-
/**
|
|
81
|
-
*
|
|
82
|
-
* @type {number}
|
|
83
|
-
* @memberof UpdateStoreRequest
|
|
84
|
-
*/
|
|
85
|
-
displayNetsuiteId?: number | null;
|
|
86
74
|
/**
|
|
87
75
|
*
|
|
88
76
|
* @type {Array<number>}
|
|
@@ -55,8 +55,6 @@ function UpdateStoreRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
55
55
|
'email': json['email'] == null ? undefined : json['email'],
|
|
56
56
|
'website': json['website'] == null ? undefined : json['website'],
|
|
57
57
|
'openingHours': json['opening_hours'] == null ? undefined : json['opening_hours'],
|
|
58
|
-
'netsuiteId': json['netsuite_id'] == null ? undefined : json['netsuite_id'],
|
|
59
|
-
'displayNetsuiteId': json['display_netsuite_id'] == null ? undefined : json['display_netsuite_id'],
|
|
60
58
|
'supplierIds': json['supplier_ids'] == null ? undefined : json['supplier_ids'],
|
|
61
59
|
'specialDates': json['special_dates'] == null ? undefined : (json['special_dates'].map(UpdateStoreRequestSpecialDatesInner_1.UpdateStoreRequestSpecialDatesInnerFromJSON)),
|
|
62
60
|
'address': (0, StoreStoreRequestAddress_1.StoreStoreRequestAddressFromJSON)(json['address']),
|
|
@@ -80,8 +78,6 @@ function UpdateStoreRequestToJSONTyped(value, ignoreDiscriminator) {
|
|
|
80
78
|
'email': value['email'],
|
|
81
79
|
'website': value['website'],
|
|
82
80
|
'opening_hours': value['openingHours'],
|
|
83
|
-
'netsuite_id': value['netsuiteId'],
|
|
84
|
-
'display_netsuite_id': value['displayNetsuiteId'],
|
|
85
81
|
'supplier_ids': value['supplierIds'],
|
|
86
82
|
'special_dates': value['specialDates'] == null ? undefined : (value['specialDates'].map(UpdateStoreRequestSpecialDatesInner_1.UpdateStoreRequestSpecialDatesInnerToJSON)),
|
|
87
83
|
'address': (0, StoreStoreRequestAddress_1.StoreStoreRequestAddressToJSON)(value['address']),
|
package/dist/models/index.d.ts
CHANGED
|
@@ -39,6 +39,12 @@ export * from './AttributeResourceArrayResponse';
|
|
|
39
39
|
export * from './AttributeType';
|
|
40
40
|
export * from './AttributeValueResource';
|
|
41
41
|
export * from './AttributeValueResourceArrayResponse';
|
|
42
|
+
export * from './BlogCategoryListResource';
|
|
43
|
+
export * from './BlogCategoryListResourceArrayResponse';
|
|
44
|
+
export * from './BlogCategoryLiteResource';
|
|
45
|
+
export * from './BlogCategoryLiteResourceArrayResponse';
|
|
46
|
+
export * from './BlogCategoryResource';
|
|
47
|
+
export * from './BlogCategoryResourceArrayResponse';
|
|
42
48
|
export * from './CategoryAutomationComparisonType';
|
|
43
49
|
export * from './CategoryAutomationConditionType';
|
|
44
50
|
export * from './CategoryAutomationFieldType';
|
|
@@ -153,6 +159,9 @@ export * from './PaginatedAttributeLiteResourceResponse';
|
|
|
153
159
|
export * from './PaginatedAttributeProductTypeRelationResourceResponse';
|
|
154
160
|
export * from './PaginatedAttributeResourceResponse';
|
|
155
161
|
export * from './PaginatedAttributeValueResourceResponse';
|
|
162
|
+
export * from './PaginatedBlogCategoryListResourceResponse';
|
|
163
|
+
export * from './PaginatedBlogCategoryLiteResourceResponse';
|
|
164
|
+
export * from './PaginatedBlogCategoryResourceResponse';
|
|
156
165
|
export * from './PaginatedCategoryFrontendResourceResponse';
|
|
157
166
|
export * from './PaginatedDefinitionListResourceResponse';
|
|
158
167
|
export * from './PaginatedDefinitionResourceResponse';
|
|
@@ -231,7 +240,6 @@ export * from './ProductChildSiteDetailLiteResource';
|
|
|
231
240
|
export * from './ProductChildSiteDetailLiteResourceArrayResponse';
|
|
232
241
|
export * from './ProductChildSiteDetailResource';
|
|
233
242
|
export * from './ProductChildSiteDetailResourceArrayResponse';
|
|
234
|
-
export * from './ProductChildStoreStockType';
|
|
235
243
|
export * from './ProductClassResource';
|
|
236
244
|
export * from './ProductClassResourceArrayResponse';
|
|
237
245
|
export * from './ProductCompareResource';
|
|
@@ -284,8 +292,6 @@ export * from './RedirectListResource';
|
|
|
284
292
|
export * from './RedirectListResourceArrayResponse';
|
|
285
293
|
export * from './SEOResource';
|
|
286
294
|
export * from './SEOResourceArrayResponse';
|
|
287
|
-
export * from './SaveMapStoreStockMigrationRequest';
|
|
288
|
-
export * from './SaveMapStoreStockMigrationRequestAssociationsInner';
|
|
289
295
|
export * from './ShowAssetsProductChildRequest';
|
|
290
296
|
export * from './ShowAttributesProductChildRequest';
|
|
291
297
|
export * from './SiteConfigResource';
|
package/dist/models/index.js
CHANGED
|
@@ -57,6 +57,12 @@ __exportStar(require("./AttributeResourceArrayResponse"), exports);
|
|
|
57
57
|
__exportStar(require("./AttributeType"), exports);
|
|
58
58
|
__exportStar(require("./AttributeValueResource"), exports);
|
|
59
59
|
__exportStar(require("./AttributeValueResourceArrayResponse"), exports);
|
|
60
|
+
__exportStar(require("./BlogCategoryListResource"), exports);
|
|
61
|
+
__exportStar(require("./BlogCategoryListResourceArrayResponse"), exports);
|
|
62
|
+
__exportStar(require("./BlogCategoryLiteResource"), exports);
|
|
63
|
+
__exportStar(require("./BlogCategoryLiteResourceArrayResponse"), exports);
|
|
64
|
+
__exportStar(require("./BlogCategoryResource"), exports);
|
|
65
|
+
__exportStar(require("./BlogCategoryResourceArrayResponse"), exports);
|
|
60
66
|
__exportStar(require("./CategoryAutomationComparisonType"), exports);
|
|
61
67
|
__exportStar(require("./CategoryAutomationConditionType"), exports);
|
|
62
68
|
__exportStar(require("./CategoryAutomationFieldType"), exports);
|
|
@@ -171,6 +177,9 @@ __exportStar(require("./PaginatedAttributeLiteResourceResponse"), exports);
|
|
|
171
177
|
__exportStar(require("./PaginatedAttributeProductTypeRelationResourceResponse"), exports);
|
|
172
178
|
__exportStar(require("./PaginatedAttributeResourceResponse"), exports);
|
|
173
179
|
__exportStar(require("./PaginatedAttributeValueResourceResponse"), exports);
|
|
180
|
+
__exportStar(require("./PaginatedBlogCategoryListResourceResponse"), exports);
|
|
181
|
+
__exportStar(require("./PaginatedBlogCategoryLiteResourceResponse"), exports);
|
|
182
|
+
__exportStar(require("./PaginatedBlogCategoryResourceResponse"), exports);
|
|
174
183
|
__exportStar(require("./PaginatedCategoryFrontendResourceResponse"), exports);
|
|
175
184
|
__exportStar(require("./PaginatedDefinitionListResourceResponse"), exports);
|
|
176
185
|
__exportStar(require("./PaginatedDefinitionResourceResponse"), exports);
|
|
@@ -249,7 +258,6 @@ __exportStar(require("./ProductChildSiteDetailLiteResource"), exports);
|
|
|
249
258
|
__exportStar(require("./ProductChildSiteDetailLiteResourceArrayResponse"), exports);
|
|
250
259
|
__exportStar(require("./ProductChildSiteDetailResource"), exports);
|
|
251
260
|
__exportStar(require("./ProductChildSiteDetailResourceArrayResponse"), exports);
|
|
252
|
-
__exportStar(require("./ProductChildStoreStockType"), exports);
|
|
253
261
|
__exportStar(require("./ProductClassResource"), exports);
|
|
254
262
|
__exportStar(require("./ProductClassResourceArrayResponse"), exports);
|
|
255
263
|
__exportStar(require("./ProductCompareResource"), exports);
|
|
@@ -302,8 +310,6 @@ __exportStar(require("./RedirectListResource"), exports);
|
|
|
302
310
|
__exportStar(require("./RedirectListResourceArrayResponse"), exports);
|
|
303
311
|
__exportStar(require("./SEOResource"), exports);
|
|
304
312
|
__exportStar(require("./SEOResourceArrayResponse"), exports);
|
|
305
|
-
__exportStar(require("./SaveMapStoreStockMigrationRequest"), exports);
|
|
306
|
-
__exportStar(require("./SaveMapStoreStockMigrationRequestAssociationsInner"), exports);
|
|
307
313
|
__exportStar(require("./ShowAssetsProductChildRequest"), exports);
|
|
308
314
|
__exportStar(require("./ShowAttributesProductChildRequest"), exports);
|
|
309
315
|
__exportStar(require("./SiteConfigResource"), exports);
|
package/docs/{SaveMapStoreStockMigrationRequestAssociationsInner.md → BlogCategoryListResource.md}
RENAMED
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
|
|
2
|
-
#
|
|
2
|
+
# BlogCategoryListResource
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
## Properties
|
|
6
6
|
|
|
7
7
|
Name | Type
|
|
8
8
|
------------ | -------------
|
|
9
|
-
`
|
|
10
|
-
`
|
|
11
|
-
`
|
|
9
|
+
`id` | number
|
|
10
|
+
`name` | string
|
|
11
|
+
`slug` | string
|
|
12
12
|
|
|
13
13
|
## Example
|
|
14
14
|
|
|
15
15
|
```typescript
|
|
16
|
-
import type {
|
|
16
|
+
import type { BlogCategoryListResource } from '@digital8/lighting-illusions-ts-sdk'
|
|
17
17
|
|
|
18
18
|
// TODO: Update the object below with actual values
|
|
19
19
|
const example = {
|
|
20
|
-
"
|
|
21
|
-
"
|
|
22
|
-
"
|
|
23
|
-
} satisfies
|
|
20
|
+
"id": null,
|
|
21
|
+
"name": null,
|
|
22
|
+
"slug": null,
|
|
23
|
+
} satisfies BlogCategoryListResource
|
|
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 BlogCategoryListResource
|
|
33
33
|
console.log(exampleParsed)
|
|
34
34
|
```
|
|
35
35
|
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
|
|
2
|
+
# BlogCategoryListResourceArrayResponse
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`data` | [Array<BlogCategoryListResource>](BlogCategoryListResource.md)
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import type { BlogCategoryListResourceArrayResponse } from '@digital8/lighting-illusions-ts-sdk'
|
|
15
|
+
|
|
16
|
+
// TODO: Update the object below with actual values
|
|
17
|
+
const example = {
|
|
18
|
+
"data": null,
|
|
19
|
+
} satisfies BlogCategoryListResourceArrayResponse
|
|
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 BlogCategoryListResourceArrayResponse
|
|
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
|
+
|
|
@@ -1,20 +1,24 @@
|
|
|
1
1
|
|
|
2
|
-
#
|
|
2
|
+
# BlogCategoryLiteResource
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
## Properties
|
|
6
6
|
|
|
7
7
|
Name | Type
|
|
8
8
|
------------ | -------------
|
|
9
|
+
`id` | number
|
|
10
|
+
`name` | string
|
|
9
11
|
|
|
10
12
|
## Example
|
|
11
13
|
|
|
12
14
|
```typescript
|
|
13
|
-
import type {
|
|
15
|
+
import type { BlogCategoryLiteResource } from '@digital8/lighting-illusions-ts-sdk'
|
|
14
16
|
|
|
15
17
|
// TODO: Update the object below with actual values
|
|
16
18
|
const example = {
|
|
17
|
-
|
|
19
|
+
"id": null,
|
|
20
|
+
"name": null,
|
|
21
|
+
} satisfies BlogCategoryLiteResource
|
|
18
22
|
|
|
19
23
|
console.log(example)
|
|
20
24
|
|
|
@@ -23,7 +27,7 @@ const exampleJSON: string = JSON.stringify(example)
|
|
|
23
27
|
console.log(exampleJSON)
|
|
24
28
|
|
|
25
29
|
// Parse the JSON string back to an object
|
|
26
|
-
const exampleParsed = JSON.parse(exampleJSON) as
|
|
30
|
+
const exampleParsed = JSON.parse(exampleJSON) as BlogCategoryLiteResource
|
|
27
31
|
console.log(exampleParsed)
|
|
28
32
|
```
|
|
29
33
|
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
|
|
2
|
+
# BlogCategoryLiteResourceArrayResponse
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`data` | [Array<BlogCategoryLiteResource>](BlogCategoryLiteResource.md)
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import type { BlogCategoryLiteResourceArrayResponse } from '@digital8/lighting-illusions-ts-sdk'
|
|
15
|
+
|
|
16
|
+
// TODO: Update the object below with actual values
|
|
17
|
+
const example = {
|
|
18
|
+
"data": null,
|
|
19
|
+
} satisfies BlogCategoryLiteResourceArrayResponse
|
|
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 BlogCategoryLiteResourceArrayResponse
|
|
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,40 @@
|
|
|
1
|
+
|
|
2
|
+
# BlogCategoryResource
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`id` | number
|
|
10
|
+
`name` | string
|
|
11
|
+
`slug` | string
|
|
12
|
+
`descriptions` | [Array<DescriptionResource>](DescriptionResource.md)
|
|
13
|
+
|
|
14
|
+
## Example
|
|
15
|
+
|
|
16
|
+
```typescript
|
|
17
|
+
import type { BlogCategoryResource } from '@digital8/lighting-illusions-ts-sdk'
|
|
18
|
+
|
|
19
|
+
// TODO: Update the object below with actual values
|
|
20
|
+
const example = {
|
|
21
|
+
"id": null,
|
|
22
|
+
"name": null,
|
|
23
|
+
"slug": null,
|
|
24
|
+
"descriptions": null,
|
|
25
|
+
} satisfies BlogCategoryResource
|
|
26
|
+
|
|
27
|
+
console.log(example)
|
|
28
|
+
|
|
29
|
+
// Convert the instance to a JSON string
|
|
30
|
+
const exampleJSON: string = JSON.stringify(example)
|
|
31
|
+
console.log(exampleJSON)
|
|
32
|
+
|
|
33
|
+
// Parse the JSON string back to an object
|
|
34
|
+
const exampleParsed = JSON.parse(exampleJSON) as BlogCategoryResource
|
|
35
|
+
console.log(exampleParsed)
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
39
|
+
|
|
40
|
+
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
|
|
2
|
-
#
|
|
2
|
+
# BlogCategoryResourceArrayResponse
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
## Properties
|
|
6
6
|
|
|
7
7
|
Name | Type
|
|
8
8
|
------------ | -------------
|
|
9
|
-
`
|
|
9
|
+
`data` | [Array<BlogCategoryResource>](BlogCategoryResource.md)
|
|
10
10
|
|
|
11
11
|
## Example
|
|
12
12
|
|
|
13
13
|
```typescript
|
|
14
|
-
import type {
|
|
14
|
+
import type { BlogCategoryResourceArrayResponse } 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
|
+
"data": null,
|
|
19
|
+
} satisfies BlogCategoryResourceArrayResponse
|
|
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 BlogCategoryResourceArrayResponse
|
|
29
29
|
console.log(exampleParsed)
|
|
30
30
|
```
|
|
31
31
|
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
|
|
2
|
+
# PaginatedBlogCategoryListResourceResponse
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`data` | [Array<BlogCategoryListResource>](BlogCategoryListResource.md)
|
|
10
|
+
`meta` | [PagingMetadata](PagingMetadata.md)
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```typescript
|
|
15
|
+
import type { PaginatedBlogCategoryListResourceResponse } from '@digital8/lighting-illusions-ts-sdk'
|
|
16
|
+
|
|
17
|
+
// TODO: Update the object below with actual values
|
|
18
|
+
const example = {
|
|
19
|
+
"data": null,
|
|
20
|
+
"meta": null,
|
|
21
|
+
} satisfies PaginatedBlogCategoryListResourceResponse
|
|
22
|
+
|
|
23
|
+
console.log(example)
|
|
24
|
+
|
|
25
|
+
// Convert the instance to a JSON string
|
|
26
|
+
const exampleJSON: string = JSON.stringify(example)
|
|
27
|
+
console.log(exampleJSON)
|
|
28
|
+
|
|
29
|
+
// Parse the JSON string back to an object
|
|
30
|
+
const exampleParsed = JSON.parse(exampleJSON) as PaginatedBlogCategoryListResourceResponse
|
|
31
|
+
console.log(exampleParsed)
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
35
|
+
|
|
36
|
+
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
|
|
2
|
+
# PaginatedBlogCategoryLiteResourceResponse
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`data` | [Array<BlogCategoryLiteResource>](BlogCategoryLiteResource.md)
|
|
10
|
+
`meta` | [PagingMetadata](PagingMetadata.md)
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```typescript
|
|
15
|
+
import type { PaginatedBlogCategoryLiteResourceResponse } from '@digital8/lighting-illusions-ts-sdk'
|
|
16
|
+
|
|
17
|
+
// TODO: Update the object below with actual values
|
|
18
|
+
const example = {
|
|
19
|
+
"data": null,
|
|
20
|
+
"meta": null,
|
|
21
|
+
} satisfies PaginatedBlogCategoryLiteResourceResponse
|
|
22
|
+
|
|
23
|
+
console.log(example)
|
|
24
|
+
|
|
25
|
+
// Convert the instance to a JSON string
|
|
26
|
+
const exampleJSON: string = JSON.stringify(example)
|
|
27
|
+
console.log(exampleJSON)
|
|
28
|
+
|
|
29
|
+
// Parse the JSON string back to an object
|
|
30
|
+
const exampleParsed = JSON.parse(exampleJSON) as PaginatedBlogCategoryLiteResourceResponse
|
|
31
|
+
console.log(exampleParsed)
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
35
|
+
|
|
36
|
+
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
|
|
2
|
+
# PaginatedBlogCategoryResourceResponse
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`data` | [Array<BlogCategoryResource>](BlogCategoryResource.md)
|
|
10
|
+
`meta` | [PagingMetadata](PagingMetadata.md)
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```typescript
|
|
15
|
+
import type { PaginatedBlogCategoryResourceResponse } from '@digital8/lighting-illusions-ts-sdk'
|
|
16
|
+
|
|
17
|
+
// TODO: Update the object below with actual values
|
|
18
|
+
const example = {
|
|
19
|
+
"data": null,
|
|
20
|
+
"meta": null,
|
|
21
|
+
} satisfies PaginatedBlogCategoryResourceResponse
|
|
22
|
+
|
|
23
|
+
console.log(example)
|
|
24
|
+
|
|
25
|
+
// Convert the instance to a JSON string
|
|
26
|
+
const exampleJSON: string = JSON.stringify(example)
|
|
27
|
+
console.log(exampleJSON)
|
|
28
|
+
|
|
29
|
+
// Parse the JSON string back to an object
|
|
30
|
+
const exampleParsed = JSON.parse(exampleJSON) as PaginatedBlogCategoryResourceResponse
|
|
31
|
+
console.log(exampleParsed)
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
35
|
+
|
|
36
|
+
|
package/docs/StoreApi.md
CHANGED
|
@@ -10,8 +10,6 @@ All URIs are relative to *http://localhost/api*
|
|
|
10
10
|
| [**detachSuppliersStore**](StoreApi.md#detachsuppliersstoreoperation) | **POST** /admin-api/store/{store}/detach-suppliers | Auto-generated: detachSuppliersStore |
|
|
11
11
|
| [**getAllStore**](StoreApi.md#getallstoreoperation) | **POST** /admin-api/store/all | Auto-generated: getAllStore |
|
|
12
12
|
| [**indexStore**](StoreApi.md#indexstoreoperation) | **POST** /admin-api/store/list | Auto-generated: indexStore |
|
|
13
|
-
| [**optionsStoreStockMigration**](StoreApi.md#optionsstorestockmigration) | **GET** /admin-api/store/stock-migration/options | Auto-generated: optionsStoreStockMigration |
|
|
14
|
-
| [**saveMapStoreStockMigration**](StoreApi.md#savemapstorestockmigrationoperation) | **POST** /admin-api/store/stock-migration/save-map | Auto-generated: saveMapStoreStockMigration |
|
|
15
13
|
| [**showStore**](StoreApi.md#showstore) | **GET** /admin-api/store/{store} | Auto-generated: showStore |
|
|
16
14
|
| [**storeStore**](StoreApi.md#storestoreoperation) | **POST** /admin-api/store/create | Auto-generated: storeStore |
|
|
17
15
|
| [**storeStoreSpecialDate**](StoreApi.md#storestorespecialdateoperation) | **POST** /admin-api/store/{store}/special-dates | Auto-generated: storeStoreSpecialDate |
|
|
@@ -419,128 +417,6 @@ No authorization required
|
|
|
419
417
|
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
420
418
|
|
|
421
419
|
|
|
422
|
-
## optionsStoreStockMigration
|
|
423
|
-
|
|
424
|
-
> GenericResponse optionsStoreStockMigration()
|
|
425
|
-
|
|
426
|
-
Auto-generated: optionsStoreStockMigration
|
|
427
|
-
|
|
428
|
-
### Example
|
|
429
|
-
|
|
430
|
-
```ts
|
|
431
|
-
import {
|
|
432
|
-
Configuration,
|
|
433
|
-
StoreApi,
|
|
434
|
-
} from '@digital8/lighting-illusions-ts-sdk';
|
|
435
|
-
import type { OptionsStoreStockMigrationRequest } from '@digital8/lighting-illusions-ts-sdk';
|
|
436
|
-
|
|
437
|
-
async function example() {
|
|
438
|
-
console.log("🚀 Testing @digital8/lighting-illusions-ts-sdk SDK...");
|
|
439
|
-
const api = new StoreApi();
|
|
440
|
-
|
|
441
|
-
try {
|
|
442
|
-
const data = await api.optionsStoreStockMigration();
|
|
443
|
-
console.log(data);
|
|
444
|
-
} catch (error) {
|
|
445
|
-
console.error(error);
|
|
446
|
-
}
|
|
447
|
-
}
|
|
448
|
-
|
|
449
|
-
// Run the test
|
|
450
|
-
example().catch(console.error);
|
|
451
|
-
```
|
|
452
|
-
|
|
453
|
-
### Parameters
|
|
454
|
-
|
|
455
|
-
This endpoint does not need any parameter.
|
|
456
|
-
|
|
457
|
-
### Return type
|
|
458
|
-
|
|
459
|
-
[**GenericResponse**](GenericResponse.md)
|
|
460
|
-
|
|
461
|
-
### Authorization
|
|
462
|
-
|
|
463
|
-
No authorization required
|
|
464
|
-
|
|
465
|
-
### HTTP request headers
|
|
466
|
-
|
|
467
|
-
- **Content-Type**: Not defined
|
|
468
|
-
- **Accept**: `application/json`
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
### HTTP response details
|
|
472
|
-
| Status code | Description | Response headers |
|
|
473
|
-
|-------------|-------------|------------------|
|
|
474
|
-
| **200** | \\JsonResponse<array{locations: array<int,array{id: int, name: string, isPrimary: bool}>, stores: array<int,array{id: int, name: string}>, existingMap: array<string,array{store_id: int, type: string}>, existingMapFilePath: string|null}> | - |
|
|
475
|
-
|
|
476
|
-
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
## saveMapStoreStockMigration
|
|
480
|
-
|
|
481
|
-
> GenericResponse saveMapStoreStockMigration(saveMapStoreStockMigrationRequest)
|
|
482
|
-
|
|
483
|
-
Auto-generated: saveMapStoreStockMigration
|
|
484
|
-
|
|
485
|
-
### Example
|
|
486
|
-
|
|
487
|
-
```ts
|
|
488
|
-
import {
|
|
489
|
-
Configuration,
|
|
490
|
-
StoreApi,
|
|
491
|
-
} from '@digital8/lighting-illusions-ts-sdk';
|
|
492
|
-
import type { SaveMapStoreStockMigrationOperationRequest } from '@digital8/lighting-illusions-ts-sdk';
|
|
493
|
-
|
|
494
|
-
async function example() {
|
|
495
|
-
console.log("🚀 Testing @digital8/lighting-illusions-ts-sdk SDK...");
|
|
496
|
-
const api = new StoreApi();
|
|
497
|
-
|
|
498
|
-
const body = {
|
|
499
|
-
// SaveMapStoreStockMigrationRequest (optional)
|
|
500
|
-
saveMapStoreStockMigrationRequest: ...,
|
|
501
|
-
} satisfies SaveMapStoreStockMigrationOperationRequest;
|
|
502
|
-
|
|
503
|
-
try {
|
|
504
|
-
const data = await api.saveMapStoreStockMigration(body);
|
|
505
|
-
console.log(data);
|
|
506
|
-
} catch (error) {
|
|
507
|
-
console.error(error);
|
|
508
|
-
}
|
|
509
|
-
}
|
|
510
|
-
|
|
511
|
-
// Run the test
|
|
512
|
-
example().catch(console.error);
|
|
513
|
-
```
|
|
514
|
-
|
|
515
|
-
### Parameters
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
| Name | Type | Description | Notes |
|
|
519
|
-
|------------- | ------------- | ------------- | -------------|
|
|
520
|
-
| **saveMapStoreStockMigrationRequest** | [SaveMapStoreStockMigrationRequest](SaveMapStoreStockMigrationRequest.md) | | [Optional] |
|
|
521
|
-
|
|
522
|
-
### Return type
|
|
523
|
-
|
|
524
|
-
[**GenericResponse**](GenericResponse.md)
|
|
525
|
-
|
|
526
|
-
### Authorization
|
|
527
|
-
|
|
528
|
-
No authorization required
|
|
529
|
-
|
|
530
|
-
### HTTP request headers
|
|
531
|
-
|
|
532
|
-
- **Content-Type**: `application/json`
|
|
533
|
-
- **Accept**: `application/json`
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
### HTTP response details
|
|
537
|
-
| Status code | Description | Response headers |
|
|
538
|
-
|-------------|-------------|------------------|
|
|
539
|
-
| **200** | \\JsonResponse<array{message: string, filePath: string, command: string}> | - |
|
|
540
|
-
|
|
541
|
-
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
542
|
-
|
|
543
|
-
|
|
544
420
|
## showStore
|
|
545
421
|
|
|
546
422
|
> StoreResource showStore(store)
|
package/docs/StoreResource.md
CHANGED
|
@@ -15,8 +15,6 @@ Name | Type
|
|
|
15
15
|
`tagLine` | string
|
|
16
16
|
`email` | string
|
|
17
17
|
`website` | string
|
|
18
|
-
`netsuiteId` | number
|
|
19
|
-
`displayNetsuiteId` | number
|
|
20
18
|
`openingHours` | string
|
|
21
19
|
`suppliers` | [Array<SupplierLiteResource>](SupplierLiteResource.md)
|
|
22
20
|
`address` | [AddressResource](AddressResource.md)
|
|
@@ -38,8 +36,6 @@ const example = {
|
|
|
38
36
|
"tagLine": null,
|
|
39
37
|
"email": null,
|
|
40
38
|
"website": null,
|
|
41
|
-
"netsuiteId": null,
|
|
42
|
-
"displayNetsuiteId": null,
|
|
43
39
|
"openingHours": null,
|
|
44
40
|
"suppliers": null,
|
|
45
41
|
"address": null,
|
|
@@ -15,8 +15,6 @@ Name | Type
|
|
|
15
15
|
`email` | string
|
|
16
16
|
`website` | string
|
|
17
17
|
`openingHours` | Array<string | null>
|
|
18
|
-
`netsuiteId` | number
|
|
19
|
-
`displayNetsuiteId` | number
|
|
20
18
|
`supplierIds` | Array<number>
|
|
21
19
|
`specialDates` | [Array<StoreStoreRequestSpecialDatesInner>](StoreStoreRequestSpecialDatesInner.md)
|
|
22
20
|
`address` | [StoreStoreRequestAddress](StoreStoreRequestAddress.md)
|
|
@@ -37,8 +35,6 @@ const example = {
|
|
|
37
35
|
"email": null,
|
|
38
36
|
"website": null,
|
|
39
37
|
"openingHours": null,
|
|
40
|
-
"netsuiteId": null,
|
|
41
|
-
"displayNetsuiteId": null,
|
|
42
38
|
"supplierIds": null,
|
|
43
39
|
"specialDates": null,
|
|
44
40
|
"address": null,
|