@digital8/lighting-illusions-ts-sdk 0.0.1672 → 0.0.1674
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 +36 -0
- package/README.md +34 -2
- package/dist/apis/BlogCategoryApi.d.ts +109 -0
- package/dist/apis/BlogCategoryApi.js +433 -0
- package/dist/apis/FrontendComponentApi.d.ts +33 -0
- package/dist/apis/FrontendComponentApi.js +138 -0
- package/dist/apis/PageApi.d.ts +109 -0
- package/dist/apis/PageApi.js +433 -0
- package/dist/apis/PageComponentApi.d.ts +94 -0
- package/dist/apis/PageComponentApi.js +375 -0
- package/dist/apis/index.d.ts +4 -0
- package/dist/apis/index.js +4 -0
- package/dist/models/AddressFrontendResource.d.ts +1 -1
- package/dist/models/AddressFrontendResource.js +1 -3
- package/dist/models/ExternalApiLogResource.d.ts +1 -1
- package/dist/models/ExternalApiLogResource.js +1 -3
- package/dist/models/GetAllBlogCategoryRequest.d.ts +78 -0
- package/dist/models/GetAllBlogCategoryRequest.js +74 -0
- package/dist/models/GetAllFrontendComponentRequest.d.ts +78 -0
- package/dist/models/GetAllFrontendComponentRequest.js +74 -0
- package/dist/models/GetAllPageComponentRequest.d.ts +90 -0
- package/dist/models/GetAllPageComponentRequest.js +78 -0
- package/dist/models/GetAllPageRequest.d.ts +91 -0
- package/dist/models/GetAllPageRequest.js +79 -0
- package/dist/models/IndexBlogCategoryRequest.d.ts +90 -0
- package/dist/models/IndexBlogCategoryRequest.js +78 -0
- package/dist/models/IndexPageRequest.d.ts +103 -0
- package/dist/models/IndexPageRequest.js +83 -0
- package/dist/models/StoreBlogCategoryRequest.d.ts +45 -0
- package/dist/models/StoreBlogCategoryRequest.js +60 -0
- package/dist/models/StoreFrontendResource.d.ts +2 -2
- package/dist/models/StoreFrontendResource.js +6 -2
- package/dist/models/StoreListResource.d.ts +1 -1
- package/dist/models/StoreListResource.js +3 -1
- package/dist/models/StorePageComponentRequest.d.ts +81 -0
- package/dist/models/StorePageComponentRequest.js +72 -0
- package/dist/models/StorePageComponentRequestRelationsInner.d.ts +44 -0
- package/dist/models/StorePageComponentRequestRelationsInner.js +53 -0
- package/dist/models/StorePageRequest.d.ts +85 -0
- package/dist/models/StorePageRequest.js +84 -0
- package/dist/models/StorePageRequestBlog.d.ts +50 -0
- package/dist/models/StorePageRequestBlog.js +55 -0
- package/dist/models/StoreResource.d.ts +1 -1
- package/dist/models/StoreResource.js +3 -1
- package/dist/models/StoreSpecialDateFrontendResource.d.ts +2 -2
- package/dist/models/StoreSpecialDateFrontendResource.js +1 -3
- package/dist/models/UpdateBlogCategoryRequest.d.ts +45 -0
- package/dist/models/UpdateBlogCategoryRequest.js +60 -0
- package/dist/models/UpdatePageComponentRequest.d.ts +69 -0
- package/dist/models/UpdatePageComponentRequest.js +64 -0
- package/dist/models/UpdatePageRequest.d.ts +70 -0
- package/dist/models/UpdatePageRequest.js +69 -0
- package/dist/models/index.d.ts +14 -0
- package/dist/models/index.js +14 -0
- package/docs/BlogCategoryApi.md +407 -0
- package/docs/FrontendComponentApi.md +74 -0
- package/docs/GetAllBlogCategoryRequest.md +44 -0
- package/docs/GetAllFrontendComponentRequest.md +44 -0
- package/docs/GetAllPageComponentRequest.md +48 -0
- package/docs/GetAllPageRequest.md +48 -0
- package/docs/IndexBlogCategoryRequest.md +48 -0
- package/docs/IndexPageRequest.md +52 -0
- package/docs/PageApi.md +407 -0
- package/docs/PageComponentApi.md +341 -0
- package/docs/StoreBlogCategoryRequest.md +38 -0
- package/docs/StorePageComponentRequest.md +50 -0
- package/docs/StorePageComponentRequestRelationsInner.md +38 -0
- package/docs/StorePageRequest.md +48 -0
- package/docs/StorePageRequestBlog.md +40 -0
- package/docs/StoreSpecialDateFrontendResource.md +1 -1
- package/docs/UpdateBlogCategoryRequest.md +38 -0
- package/docs/UpdatePageComponentRequest.md +46 -0
- package/docs/UpdatePageRequest.md +46 -0
- package/package.json +1 -1
- package/src/apis/BlogCategoryApi.ts +334 -0
- package/src/apis/FrontendComponentApi.ts +77 -0
- package/src/apis/PageApi.ts +334 -0
- package/src/apis/PageComponentApi.ts +284 -0
- package/src/apis/index.ts +4 -0
- package/src/models/AddressFrontendResource.ts +2 -3
- package/src/models/ExternalApiLogResource.ts +2 -3
- package/src/models/GetAllBlogCategoryRequest.ts +125 -0
- package/src/models/GetAllFrontendComponentRequest.ts +125 -0
- package/src/models/GetAllPageComponentRequest.ts +141 -0
- package/src/models/GetAllPageRequest.ts +142 -0
- package/src/models/IndexBlogCategoryRequest.ts +141 -0
- package/src/models/IndexPageRequest.ts +158 -0
- package/src/models/StoreBlogCategoryRequest.ts +92 -0
- package/src/models/StoreFrontendResource.ts +6 -4
- package/src/models/StoreListResource.ts +3 -2
- package/src/models/StorePageComponentRequest.ts +140 -0
- package/src/models/StorePageComponentRequestRelationsInner.ts +81 -0
- package/src/models/StorePageRequest.ts +153 -0
- package/src/models/StorePageRequestBlog.ts +89 -0
- package/src/models/StoreResource.ts +3 -2
- package/src/models/StoreSpecialDateFrontendResource.ts +3 -4
- package/src/models/UpdateBlogCategoryRequest.ts +92 -0
- package/src/models/UpdatePageComponentRequest.ts +122 -0
- package/src/models/UpdatePageRequest.ts +131 -0
- package/src/models/index.ts +14 -0
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* My API
|
|
3
|
+
* API documentation for my Laravel app
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { StoreProductCategoryRequestSeoInner } from './StoreProductCategoryRequestSeoInner';
|
|
13
|
+
import type { StorePageRequestBlog } from './StorePageRequestBlog';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface StorePageRequest
|
|
18
|
+
*/
|
|
19
|
+
export interface StorePageRequest {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {string}
|
|
23
|
+
* @memberof StorePageRequest
|
|
24
|
+
*/
|
|
25
|
+
name: string;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {number}
|
|
29
|
+
* @memberof StorePageRequest
|
|
30
|
+
*/
|
|
31
|
+
siteId: number;
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @type {string}
|
|
35
|
+
* @memberof StorePageRequest
|
|
36
|
+
*/
|
|
37
|
+
slug: string;
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
* @type {StorePageRequestTypeEnum}
|
|
41
|
+
* @memberof StorePageRequest
|
|
42
|
+
*/
|
|
43
|
+
type: StorePageRequestTypeEnum;
|
|
44
|
+
/**
|
|
45
|
+
*
|
|
46
|
+
* @type {boolean}
|
|
47
|
+
* @memberof StorePageRequest
|
|
48
|
+
*/
|
|
49
|
+
enabled?: boolean;
|
|
50
|
+
/**
|
|
51
|
+
*
|
|
52
|
+
* @type {Date}
|
|
53
|
+
* @memberof StorePageRequest
|
|
54
|
+
*/
|
|
55
|
+
startDate?: Date | null;
|
|
56
|
+
/**
|
|
57
|
+
*
|
|
58
|
+
* @type {StorePageRequestBlog}
|
|
59
|
+
* @memberof StorePageRequest
|
|
60
|
+
*/
|
|
61
|
+
blog?: StorePageRequestBlog;
|
|
62
|
+
/**
|
|
63
|
+
*
|
|
64
|
+
* @type {Array<StoreProductCategoryRequestSeoInner>}
|
|
65
|
+
* @memberof StorePageRequest
|
|
66
|
+
*/
|
|
67
|
+
seo: Array<StoreProductCategoryRequestSeoInner>;
|
|
68
|
+
}
|
|
69
|
+
/**
|
|
70
|
+
* @export
|
|
71
|
+
*/
|
|
72
|
+
export declare const StorePageRequestTypeEnum: {
|
|
73
|
+
readonly Home: "home";
|
|
74
|
+
readonly Page: "page";
|
|
75
|
+
readonly Blog: "blog";
|
|
76
|
+
};
|
|
77
|
+
export type StorePageRequestTypeEnum = typeof StorePageRequestTypeEnum[keyof typeof StorePageRequestTypeEnum];
|
|
78
|
+
/**
|
|
79
|
+
* Check if a given object implements the StorePageRequest interface.
|
|
80
|
+
*/
|
|
81
|
+
export declare function instanceOfStorePageRequest(value: object): value is StorePageRequest;
|
|
82
|
+
export declare function StorePageRequestFromJSON(json: any): StorePageRequest;
|
|
83
|
+
export declare function StorePageRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): StorePageRequest;
|
|
84
|
+
export declare function StorePageRequestToJSON(json: any): StorePageRequest;
|
|
85
|
+
export declare function StorePageRequestToJSONTyped(value?: StorePageRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* My API
|
|
6
|
+
* API documentation for my Laravel app
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.StorePageRequestTypeEnum = void 0;
|
|
17
|
+
exports.instanceOfStorePageRequest = instanceOfStorePageRequest;
|
|
18
|
+
exports.StorePageRequestFromJSON = StorePageRequestFromJSON;
|
|
19
|
+
exports.StorePageRequestFromJSONTyped = StorePageRequestFromJSONTyped;
|
|
20
|
+
exports.StorePageRequestToJSON = StorePageRequestToJSON;
|
|
21
|
+
exports.StorePageRequestToJSONTyped = StorePageRequestToJSONTyped;
|
|
22
|
+
var StoreProductCategoryRequestSeoInner_1 = require("./StoreProductCategoryRequestSeoInner");
|
|
23
|
+
var StorePageRequestBlog_1 = require("./StorePageRequestBlog");
|
|
24
|
+
/**
|
|
25
|
+
* @export
|
|
26
|
+
*/
|
|
27
|
+
exports.StorePageRequestTypeEnum = {
|
|
28
|
+
Home: 'home',
|
|
29
|
+
Page: 'page',
|
|
30
|
+
Blog: 'blog'
|
|
31
|
+
};
|
|
32
|
+
/**
|
|
33
|
+
* Check if a given object implements the StorePageRequest interface.
|
|
34
|
+
*/
|
|
35
|
+
function instanceOfStorePageRequest(value) {
|
|
36
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
37
|
+
return false;
|
|
38
|
+
if (!('siteId' in value) || value['siteId'] === undefined)
|
|
39
|
+
return false;
|
|
40
|
+
if (!('slug' in value) || value['slug'] === undefined)
|
|
41
|
+
return false;
|
|
42
|
+
if (!('type' in value) || value['type'] === undefined)
|
|
43
|
+
return false;
|
|
44
|
+
if (!('seo' in value) || value['seo'] === undefined)
|
|
45
|
+
return false;
|
|
46
|
+
return true;
|
|
47
|
+
}
|
|
48
|
+
function StorePageRequestFromJSON(json) {
|
|
49
|
+
return StorePageRequestFromJSONTyped(json, false);
|
|
50
|
+
}
|
|
51
|
+
function StorePageRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
52
|
+
if (json == null) {
|
|
53
|
+
return json;
|
|
54
|
+
}
|
|
55
|
+
return {
|
|
56
|
+
'name': json['name'],
|
|
57
|
+
'siteId': json['site_id'],
|
|
58
|
+
'slug': json['slug'],
|
|
59
|
+
'type': json['type'],
|
|
60
|
+
'enabled': json['enabled'] == null ? undefined : json['enabled'],
|
|
61
|
+
'startDate': json['start_date'] == null ? undefined : (new Date(json['start_date'])),
|
|
62
|
+
'blog': json['blog'] == null ? undefined : (0, StorePageRequestBlog_1.StorePageRequestBlogFromJSON)(json['blog']),
|
|
63
|
+
'seo': (json['seo'].map(StoreProductCategoryRequestSeoInner_1.StoreProductCategoryRequestSeoInnerFromJSON)),
|
|
64
|
+
};
|
|
65
|
+
}
|
|
66
|
+
function StorePageRequestToJSON(json) {
|
|
67
|
+
return StorePageRequestToJSONTyped(json, false);
|
|
68
|
+
}
|
|
69
|
+
function StorePageRequestToJSONTyped(value, ignoreDiscriminator) {
|
|
70
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
71
|
+
if (value == null) {
|
|
72
|
+
return value;
|
|
73
|
+
}
|
|
74
|
+
return {
|
|
75
|
+
'name': value['name'],
|
|
76
|
+
'site_id': value['siteId'],
|
|
77
|
+
'slug': value['slug'],
|
|
78
|
+
'type': value['type'],
|
|
79
|
+
'enabled': value['enabled'],
|
|
80
|
+
'start_date': value['startDate'] == null ? value['startDate'] : value['startDate'].toISOString(),
|
|
81
|
+
'blog': (0, StorePageRequestBlog_1.StorePageRequestBlogToJSON)(value['blog']),
|
|
82
|
+
'seo': (value['seo'].map(StoreProductCategoryRequestSeoInner_1.StoreProductCategoryRequestSeoInnerToJSON)),
|
|
83
|
+
};
|
|
84
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* My API
|
|
3
|
+
* API documentation for my Laravel app
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface StorePageRequestBlog
|
|
16
|
+
*/
|
|
17
|
+
export interface StorePageRequestBlog {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof StorePageRequestBlog
|
|
22
|
+
*/
|
|
23
|
+
excerpt?: string | null;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {boolean}
|
|
27
|
+
* @memberof StorePageRequestBlog
|
|
28
|
+
*/
|
|
29
|
+
featured?: boolean;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {Array<string>}
|
|
33
|
+
* @memberof StorePageRequestBlog
|
|
34
|
+
*/
|
|
35
|
+
blogCategories?: Array<string>;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {Array<string>}
|
|
39
|
+
* @memberof StorePageRequestBlog
|
|
40
|
+
*/
|
|
41
|
+
thumbnail?: Array<string> | null;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Check if a given object implements the StorePageRequestBlog interface.
|
|
45
|
+
*/
|
|
46
|
+
export declare function instanceOfStorePageRequestBlog(value: object): value is StorePageRequestBlog;
|
|
47
|
+
export declare function StorePageRequestBlogFromJSON(json: any): StorePageRequestBlog;
|
|
48
|
+
export declare function StorePageRequestBlogFromJSONTyped(json: any, ignoreDiscriminator: boolean): StorePageRequestBlog;
|
|
49
|
+
export declare function StorePageRequestBlogToJSON(json: any): StorePageRequestBlog;
|
|
50
|
+
export declare function StorePageRequestBlogToJSONTyped(value?: StorePageRequestBlog | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* My API
|
|
6
|
+
* API documentation for my Laravel app
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfStorePageRequestBlog = instanceOfStorePageRequestBlog;
|
|
17
|
+
exports.StorePageRequestBlogFromJSON = StorePageRequestBlogFromJSON;
|
|
18
|
+
exports.StorePageRequestBlogFromJSONTyped = StorePageRequestBlogFromJSONTyped;
|
|
19
|
+
exports.StorePageRequestBlogToJSON = StorePageRequestBlogToJSON;
|
|
20
|
+
exports.StorePageRequestBlogToJSONTyped = StorePageRequestBlogToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the StorePageRequestBlog interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfStorePageRequestBlog(value) {
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
function StorePageRequestBlogFromJSON(json) {
|
|
28
|
+
return StorePageRequestBlogFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
function StorePageRequestBlogFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if (json == null) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'excerpt': json['excerpt'] == null ? undefined : json['excerpt'],
|
|
36
|
+
'featured': json['featured'] == null ? undefined : json['featured'],
|
|
37
|
+
'blogCategories': json['blog_categories'] == null ? undefined : json['blog_categories'],
|
|
38
|
+
'thumbnail': json['thumbnail'] == null ? undefined : json['thumbnail'],
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
function StorePageRequestBlogToJSON(json) {
|
|
42
|
+
return StorePageRequestBlogToJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
function StorePageRequestBlogToJSONTyped(value, ignoreDiscriminator) {
|
|
45
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
46
|
+
if (value == null) {
|
|
47
|
+
return value;
|
|
48
|
+
}
|
|
49
|
+
return {
|
|
50
|
+
'excerpt': value['excerpt'],
|
|
51
|
+
'featured': value['featured'],
|
|
52
|
+
'blog_categories': value['blogCategories'],
|
|
53
|
+
'thumbnail': value['thumbnail'],
|
|
54
|
+
};
|
|
55
|
+
}
|
|
@@ -36,6 +36,8 @@ function instanceOfStoreResource(value) {
|
|
|
36
36
|
return false;
|
|
37
37
|
if (!('latitude' in value) || value['latitude'] === undefined)
|
|
38
38
|
return false;
|
|
39
|
+
if (!('tagLine' in value) || value['tagLine'] === undefined)
|
|
40
|
+
return false;
|
|
39
41
|
if (!('email' in value) || value['email'] === undefined)
|
|
40
42
|
return false;
|
|
41
43
|
if (!('suppliers' in value) || value['suppliers'] === undefined)
|
|
@@ -60,7 +62,7 @@ function StoreResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
60
62
|
'phone': json['phone'],
|
|
61
63
|
'longitude': json['longitude'],
|
|
62
64
|
'latitude': json['latitude'],
|
|
63
|
-
'tagLine': json['tag_line']
|
|
65
|
+
'tagLine': json['tag_line'],
|
|
64
66
|
'email': json['email'],
|
|
65
67
|
'website': json['website'] == null ? undefined : json['website'],
|
|
66
68
|
'openingHours': json['opening_hours'] == null ? undefined : json['opening_hours'],
|
|
@@ -35,10 +35,10 @@ export interface StoreSpecialDateFrontendResource {
|
|
|
35
35
|
hours: string;
|
|
36
36
|
/**
|
|
37
37
|
*
|
|
38
|
-
* @type {
|
|
38
|
+
* @type {string}
|
|
39
39
|
* @memberof StoreSpecialDateFrontendResource
|
|
40
40
|
*/
|
|
41
|
-
date
|
|
41
|
+
date?: string | null;
|
|
42
42
|
/**
|
|
43
43
|
*
|
|
44
44
|
* @type {boolean}
|
|
@@ -26,8 +26,6 @@ function instanceOfStoreSpecialDateFrontendResource(value) {
|
|
|
26
26
|
return false;
|
|
27
27
|
if (!('hours' in value) || value['hours'] === undefined)
|
|
28
28
|
return false;
|
|
29
|
-
if (!('date' in value) || value['date'] === undefined)
|
|
30
|
-
return false;
|
|
31
29
|
if (!('closed' in value) || value['closed'] === undefined)
|
|
32
30
|
return false;
|
|
33
31
|
if (!('displayStartDate' in value) || value['displayStartDate'] === undefined)
|
|
@@ -47,7 +45,7 @@ function StoreSpecialDateFrontendResourceFromJSONTyped(json, ignoreDiscriminator
|
|
|
47
45
|
'id': json['id'] == null ? undefined : json['id'],
|
|
48
46
|
'name': json['name'],
|
|
49
47
|
'hours': json['hours'],
|
|
50
|
-
'date': json['date'],
|
|
48
|
+
'date': json['date'] == null ? undefined : json['date'],
|
|
51
49
|
'closed': json['closed'],
|
|
52
50
|
'displayStartDate': json['displayStartDate'],
|
|
53
51
|
'displayEndDate': json['displayEndDate'],
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* My API
|
|
3
|
+
* API documentation for my Laravel app
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { StoreProductCategoryRequestDescriptionsInner } from './StoreProductCategoryRequestDescriptionsInner';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface UpdateBlogCategoryRequest
|
|
17
|
+
*/
|
|
18
|
+
export interface UpdateBlogCategoryRequest {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof UpdateBlogCategoryRequest
|
|
23
|
+
*/
|
|
24
|
+
name: string;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof UpdateBlogCategoryRequest
|
|
29
|
+
*/
|
|
30
|
+
slug: string;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {Array<StoreProductCategoryRequestDescriptionsInner>}
|
|
34
|
+
* @memberof UpdateBlogCategoryRequest
|
|
35
|
+
*/
|
|
36
|
+
descriptions: Array<StoreProductCategoryRequestDescriptionsInner>;
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* Check if a given object implements the UpdateBlogCategoryRequest interface.
|
|
40
|
+
*/
|
|
41
|
+
export declare function instanceOfUpdateBlogCategoryRequest(value: object): value is UpdateBlogCategoryRequest;
|
|
42
|
+
export declare function UpdateBlogCategoryRequestFromJSON(json: any): UpdateBlogCategoryRequest;
|
|
43
|
+
export declare function UpdateBlogCategoryRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateBlogCategoryRequest;
|
|
44
|
+
export declare function UpdateBlogCategoryRequestToJSON(json: any): UpdateBlogCategoryRequest;
|
|
45
|
+
export declare function UpdateBlogCategoryRequestToJSONTyped(value?: UpdateBlogCategoryRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* My API
|
|
6
|
+
* API documentation for my Laravel app
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfUpdateBlogCategoryRequest = instanceOfUpdateBlogCategoryRequest;
|
|
17
|
+
exports.UpdateBlogCategoryRequestFromJSON = UpdateBlogCategoryRequestFromJSON;
|
|
18
|
+
exports.UpdateBlogCategoryRequestFromJSONTyped = UpdateBlogCategoryRequestFromJSONTyped;
|
|
19
|
+
exports.UpdateBlogCategoryRequestToJSON = UpdateBlogCategoryRequestToJSON;
|
|
20
|
+
exports.UpdateBlogCategoryRequestToJSONTyped = UpdateBlogCategoryRequestToJSONTyped;
|
|
21
|
+
var StoreProductCategoryRequestDescriptionsInner_1 = require("./StoreProductCategoryRequestDescriptionsInner");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the UpdateBlogCategoryRequest interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfUpdateBlogCategoryRequest(value) {
|
|
26
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('slug' in value) || value['slug'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
if (!('descriptions' in value) || value['descriptions'] === undefined)
|
|
31
|
+
return false;
|
|
32
|
+
return true;
|
|
33
|
+
}
|
|
34
|
+
function UpdateBlogCategoryRequestFromJSON(json) {
|
|
35
|
+
return UpdateBlogCategoryRequestFromJSONTyped(json, false);
|
|
36
|
+
}
|
|
37
|
+
function UpdateBlogCategoryRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
38
|
+
if (json == null) {
|
|
39
|
+
return json;
|
|
40
|
+
}
|
|
41
|
+
return {
|
|
42
|
+
'name': json['name'],
|
|
43
|
+
'slug': json['slug'],
|
|
44
|
+
'descriptions': (json['descriptions'].map(StoreProductCategoryRequestDescriptionsInner_1.StoreProductCategoryRequestDescriptionsInnerFromJSON)),
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
function UpdateBlogCategoryRequestToJSON(json) {
|
|
48
|
+
return UpdateBlogCategoryRequestToJSONTyped(json, false);
|
|
49
|
+
}
|
|
50
|
+
function UpdateBlogCategoryRequestToJSONTyped(value, ignoreDiscriminator) {
|
|
51
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
52
|
+
if (value == null) {
|
|
53
|
+
return value;
|
|
54
|
+
}
|
|
55
|
+
return {
|
|
56
|
+
'name': value['name'],
|
|
57
|
+
'slug': value['slug'],
|
|
58
|
+
'descriptions': (value['descriptions'].map(StoreProductCategoryRequestDescriptionsInner_1.StoreProductCategoryRequestDescriptionsInnerToJSON)),
|
|
59
|
+
};
|
|
60
|
+
}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* My API
|
|
3
|
+
* API documentation for my Laravel app
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { StorePageComponentRequestRelationsInner } from './StorePageComponentRequestRelationsInner';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface UpdatePageComponentRequest
|
|
17
|
+
*/
|
|
18
|
+
export interface UpdatePageComponentRequest {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof UpdatePageComponentRequest
|
|
23
|
+
*/
|
|
24
|
+
type: string;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {boolean}
|
|
28
|
+
* @memberof UpdatePageComponentRequest
|
|
29
|
+
*/
|
|
30
|
+
disabled?: boolean;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {number}
|
|
34
|
+
* @memberof UpdatePageComponentRequest
|
|
35
|
+
*/
|
|
36
|
+
order?: number;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {Date}
|
|
40
|
+
* @memberof UpdatePageComponentRequest
|
|
41
|
+
*/
|
|
42
|
+
startDate?: Date | null;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {Date}
|
|
46
|
+
* @memberof UpdatePageComponentRequest
|
|
47
|
+
*/
|
|
48
|
+
endDate?: Date | null;
|
|
49
|
+
/**
|
|
50
|
+
*
|
|
51
|
+
* @type {Array<string>}
|
|
52
|
+
* @memberof UpdatePageComponentRequest
|
|
53
|
+
*/
|
|
54
|
+
componentData?: Array<string>;
|
|
55
|
+
/**
|
|
56
|
+
*
|
|
57
|
+
* @type {Array<StorePageComponentRequestRelationsInner>}
|
|
58
|
+
* @memberof UpdatePageComponentRequest
|
|
59
|
+
*/
|
|
60
|
+
relations?: Array<StorePageComponentRequestRelationsInner>;
|
|
61
|
+
}
|
|
62
|
+
/**
|
|
63
|
+
* Check if a given object implements the UpdatePageComponentRequest interface.
|
|
64
|
+
*/
|
|
65
|
+
export declare function instanceOfUpdatePageComponentRequest(value: object): value is UpdatePageComponentRequest;
|
|
66
|
+
export declare function UpdatePageComponentRequestFromJSON(json: any): UpdatePageComponentRequest;
|
|
67
|
+
export declare function UpdatePageComponentRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdatePageComponentRequest;
|
|
68
|
+
export declare function UpdatePageComponentRequestToJSON(json: any): UpdatePageComponentRequest;
|
|
69
|
+
export declare function UpdatePageComponentRequestToJSONTyped(value?: UpdatePageComponentRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* My API
|
|
6
|
+
* API documentation for my Laravel app
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfUpdatePageComponentRequest = instanceOfUpdatePageComponentRequest;
|
|
17
|
+
exports.UpdatePageComponentRequestFromJSON = UpdatePageComponentRequestFromJSON;
|
|
18
|
+
exports.UpdatePageComponentRequestFromJSONTyped = UpdatePageComponentRequestFromJSONTyped;
|
|
19
|
+
exports.UpdatePageComponentRequestToJSON = UpdatePageComponentRequestToJSON;
|
|
20
|
+
exports.UpdatePageComponentRequestToJSONTyped = UpdatePageComponentRequestToJSONTyped;
|
|
21
|
+
var StorePageComponentRequestRelationsInner_1 = require("./StorePageComponentRequestRelationsInner");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the UpdatePageComponentRequest interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfUpdatePageComponentRequest(value) {
|
|
26
|
+
if (!('type' in value) || value['type'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
return true;
|
|
29
|
+
}
|
|
30
|
+
function UpdatePageComponentRequestFromJSON(json) {
|
|
31
|
+
return UpdatePageComponentRequestFromJSONTyped(json, false);
|
|
32
|
+
}
|
|
33
|
+
function UpdatePageComponentRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
34
|
+
if (json == null) {
|
|
35
|
+
return json;
|
|
36
|
+
}
|
|
37
|
+
return {
|
|
38
|
+
'type': json['type'],
|
|
39
|
+
'disabled': json['disabled'] == null ? undefined : json['disabled'],
|
|
40
|
+
'order': json['order'] == null ? undefined : json['order'],
|
|
41
|
+
'startDate': json['start_date'] == null ? undefined : (new Date(json['start_date'])),
|
|
42
|
+
'endDate': json['end_date'] == null ? undefined : (new Date(json['end_date'])),
|
|
43
|
+
'componentData': json['component_data'] == null ? undefined : json['component_data'],
|
|
44
|
+
'relations': json['relations'] == null ? undefined : (json['relations'].map(StorePageComponentRequestRelationsInner_1.StorePageComponentRequestRelationsInnerFromJSON)),
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
function UpdatePageComponentRequestToJSON(json) {
|
|
48
|
+
return UpdatePageComponentRequestToJSONTyped(json, false);
|
|
49
|
+
}
|
|
50
|
+
function UpdatePageComponentRequestToJSONTyped(value, ignoreDiscriminator) {
|
|
51
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
52
|
+
if (value == null) {
|
|
53
|
+
return value;
|
|
54
|
+
}
|
|
55
|
+
return {
|
|
56
|
+
'type': value['type'],
|
|
57
|
+
'disabled': value['disabled'],
|
|
58
|
+
'order': value['order'],
|
|
59
|
+
'start_date': value['startDate'] == null ? value['startDate'] : value['startDate'].toISOString(),
|
|
60
|
+
'end_date': value['endDate'] == null ? value['endDate'] : value['endDate'].toISOString(),
|
|
61
|
+
'component_data': value['componentData'],
|
|
62
|
+
'relations': value['relations'] == null ? undefined : (value['relations'].map(StorePageComponentRequestRelationsInner_1.StorePageComponentRequestRelationsInnerToJSON)),
|
|
63
|
+
};
|
|
64
|
+
}
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* My API
|
|
3
|
+
* API documentation for my Laravel app
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { StoreProductCategoryRequestSeoInner } from './StoreProductCategoryRequestSeoInner';
|
|
13
|
+
import type { StorePageRequestBlog } from './StorePageRequestBlog';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface UpdatePageRequest
|
|
18
|
+
*/
|
|
19
|
+
export interface UpdatePageRequest {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {string}
|
|
23
|
+
* @memberof UpdatePageRequest
|
|
24
|
+
*/
|
|
25
|
+
name: string;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {string}
|
|
29
|
+
* @memberof UpdatePageRequest
|
|
30
|
+
*/
|
|
31
|
+
slug: string;
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @type {boolean}
|
|
35
|
+
* @memberof UpdatePageRequest
|
|
36
|
+
*/
|
|
37
|
+
enabled?: boolean;
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
* @type {Date}
|
|
41
|
+
* @memberof UpdatePageRequest
|
|
42
|
+
*/
|
|
43
|
+
startDate?: Date | null;
|
|
44
|
+
/**
|
|
45
|
+
*
|
|
46
|
+
* @type {StorePageRequestBlog}
|
|
47
|
+
* @memberof UpdatePageRequest
|
|
48
|
+
*/
|
|
49
|
+
blog?: StorePageRequestBlog;
|
|
50
|
+
/**
|
|
51
|
+
*
|
|
52
|
+
* @type {Array<number>}
|
|
53
|
+
* @memberof UpdatePageRequest
|
|
54
|
+
*/
|
|
55
|
+
componentOrder?: Array<number>;
|
|
56
|
+
/**
|
|
57
|
+
*
|
|
58
|
+
* @type {Array<StoreProductCategoryRequestSeoInner>}
|
|
59
|
+
* @memberof UpdatePageRequest
|
|
60
|
+
*/
|
|
61
|
+
seo: Array<StoreProductCategoryRequestSeoInner>;
|
|
62
|
+
}
|
|
63
|
+
/**
|
|
64
|
+
* Check if a given object implements the UpdatePageRequest interface.
|
|
65
|
+
*/
|
|
66
|
+
export declare function instanceOfUpdatePageRequest(value: object): value is UpdatePageRequest;
|
|
67
|
+
export declare function UpdatePageRequestFromJSON(json: any): UpdatePageRequest;
|
|
68
|
+
export declare function UpdatePageRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdatePageRequest;
|
|
69
|
+
export declare function UpdatePageRequestToJSON(json: any): UpdatePageRequest;
|
|
70
|
+
export declare function UpdatePageRequestToJSONTyped(value?: UpdatePageRequest | null, ignoreDiscriminator?: boolean): any;
|