@digital8/lighting-illusions-ts-sdk 0.0.1638 → 0.0.1640
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 +20 -0
- package/README.md +12 -2
- package/dist/models/AddressFrontendResource.d.ts +2 -2
- package/dist/models/AddressFrontendResource.js +4 -4
- package/dist/models/AddressResource.d.ts +1 -1
- package/dist/models/AddressResource.js +1 -3
- 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/ExternalApiLogResource.d.ts +1 -1
- package/dist/models/ExternalApiLogResource.js +3 -1
- package/dist/models/PageType.d.ts +26 -0
- package/dist/models/PageType.js +52 -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/StoreFrontendResource.d.ts +1 -1
- package/dist/models/StoreFrontendResource.js +3 -1
- package/dist/models/StoreListResource.d.ts +1 -1
- package/dist/models/StoreListResource.js +1 -3
- 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/index.d.ts +10 -0
- package/dist/models/index.js +10 -0
- package/docs/BlogCategoryListResource.md +38 -0
- package/docs/BlogCategoryListResourceArrayResponse.md +34 -0
- package/docs/BlogCategoryLiteResource.md +36 -0
- package/docs/BlogCategoryLiteResourceArrayResponse.md +34 -0
- package/docs/BlogCategoryResource.md +40 -0
- package/docs/BlogCategoryResourceArrayResponse.md +34 -0
- package/docs/PageType.md +32 -0
- package/docs/PaginatedBlogCategoryListResourceResponse.md +36 -0
- package/docs/PaginatedBlogCategoryLiteResourceResponse.md +36 -0
- package/docs/PaginatedBlogCategoryResourceResponse.md +36 -0
- package/docs/StoreSpecialDateFrontendResource.md +1 -1
- package/package.json +1 -1
- package/src/models/AddressFrontendResource.ts +5 -5
- package/src/models/AddressResource.ts +2 -3
- 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/ExternalApiLogResource.ts +3 -2
- package/src/models/PageType.ts +54 -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/StoreFrontendResource.ts +3 -2
- package/src/models/StoreListResource.ts +2 -3
- package/src/models/StoreResource.ts +3 -2
- package/src/models/StoreSpecialDateFrontendResource.ts +3 -4
- package/src/models/index.ts +10 -0
|
@@ -0,0 +1,33 @@
|
|
|
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 { BlogCategoryResource } from './BlogCategoryResource';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface BlogCategoryResourceArrayResponse
|
|
17
|
+
*/
|
|
18
|
+
export interface BlogCategoryResourceArrayResponse {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {Array<BlogCategoryResource>}
|
|
22
|
+
* @memberof BlogCategoryResourceArrayResponse
|
|
23
|
+
*/
|
|
24
|
+
data?: Array<BlogCategoryResource>;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Check if a given object implements the BlogCategoryResourceArrayResponse interface.
|
|
28
|
+
*/
|
|
29
|
+
export declare function instanceOfBlogCategoryResourceArrayResponse(value: object): value is BlogCategoryResourceArrayResponse;
|
|
30
|
+
export declare function BlogCategoryResourceArrayResponseFromJSON(json: any): BlogCategoryResourceArrayResponse;
|
|
31
|
+
export declare function BlogCategoryResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): BlogCategoryResourceArrayResponse;
|
|
32
|
+
export declare function BlogCategoryResourceArrayResponseToJSON(json: any): BlogCategoryResourceArrayResponse;
|
|
33
|
+
export declare function BlogCategoryResourceArrayResponseToJSONTyped(value?: BlogCategoryResourceArrayResponse | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,50 @@
|
|
|
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.instanceOfBlogCategoryResourceArrayResponse = instanceOfBlogCategoryResourceArrayResponse;
|
|
17
|
+
exports.BlogCategoryResourceArrayResponseFromJSON = BlogCategoryResourceArrayResponseFromJSON;
|
|
18
|
+
exports.BlogCategoryResourceArrayResponseFromJSONTyped = BlogCategoryResourceArrayResponseFromJSONTyped;
|
|
19
|
+
exports.BlogCategoryResourceArrayResponseToJSON = BlogCategoryResourceArrayResponseToJSON;
|
|
20
|
+
exports.BlogCategoryResourceArrayResponseToJSONTyped = BlogCategoryResourceArrayResponseToJSONTyped;
|
|
21
|
+
var BlogCategoryResource_1 = require("./BlogCategoryResource");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the BlogCategoryResourceArrayResponse interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfBlogCategoryResourceArrayResponse(value) {
|
|
26
|
+
return true;
|
|
27
|
+
}
|
|
28
|
+
function BlogCategoryResourceArrayResponseFromJSON(json) {
|
|
29
|
+
return BlogCategoryResourceArrayResponseFromJSONTyped(json, false);
|
|
30
|
+
}
|
|
31
|
+
function BlogCategoryResourceArrayResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
+
if (json == null) {
|
|
33
|
+
return json;
|
|
34
|
+
}
|
|
35
|
+
return {
|
|
36
|
+
'data': json['data'] == null ? undefined : (json['data'].map(BlogCategoryResource_1.BlogCategoryResourceFromJSON)),
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
function BlogCategoryResourceArrayResponseToJSON(json) {
|
|
40
|
+
return BlogCategoryResourceArrayResponseToJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
function BlogCategoryResourceArrayResponseToJSONTyped(value, ignoreDiscriminator) {
|
|
43
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
44
|
+
if (value == null) {
|
|
45
|
+
return value;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
'data': value['data'] == null ? undefined : (value['data'].map(BlogCategoryResource_1.BlogCategoryResourceToJSON)),
|
|
49
|
+
};
|
|
50
|
+
}
|
|
@@ -37,6 +37,8 @@ function instanceOfExternalApiLogResource(value) {
|
|
|
37
37
|
return false;
|
|
38
38
|
if (!('responseCode' in value) || value['responseCode'] === undefined)
|
|
39
39
|
return false;
|
|
40
|
+
if (!('requestPayload' in value) || value['requestPayload'] === undefined)
|
|
41
|
+
return false;
|
|
40
42
|
if (!('responsePayload' in value) || value['responsePayload'] === undefined)
|
|
41
43
|
return false;
|
|
42
44
|
if (!('site' in value) || value['site'] === undefined)
|
|
@@ -58,7 +60,7 @@ function ExternalApiLogResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
58
60
|
'exteranlApiLoggableId': json['exteranlApiLoggableId'],
|
|
59
61
|
'endpoint': json['endpoint'],
|
|
60
62
|
'responseCode': json['responseCode'],
|
|
61
|
-
'requestPayload': json['requestPayload']
|
|
63
|
+
'requestPayload': json['requestPayload'],
|
|
62
64
|
'responsePayload': json['responsePayload'],
|
|
63
65
|
'createdAt': json['createdAt'] == null ? undefined : json['createdAt'],
|
|
64
66
|
'site': (0, SiteLiteResource_1.SiteLiteResourceFromJSON)(json['site']),
|
|
@@ -0,0 +1,26 @@
|
|
|
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
|
+
*/
|
|
16
|
+
export declare const PageType: {
|
|
17
|
+
readonly Home: "home";
|
|
18
|
+
readonly Page: "page";
|
|
19
|
+
readonly Blog: "blog";
|
|
20
|
+
};
|
|
21
|
+
export type PageType = typeof PageType[keyof typeof PageType];
|
|
22
|
+
export declare function instanceOfPageType(value: any): boolean;
|
|
23
|
+
export declare function PageTypeFromJSON(json: any): PageType;
|
|
24
|
+
export declare function PageTypeFromJSONTyped(json: any, ignoreDiscriminator: boolean): PageType;
|
|
25
|
+
export declare function PageTypeToJSON(value?: PageType | null): any;
|
|
26
|
+
export declare function PageTypeToJSONTyped(value: any, ignoreDiscriminator: boolean): PageType;
|
|
@@ -0,0 +1,52 @@
|
|
|
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.PageType = void 0;
|
|
17
|
+
exports.instanceOfPageType = instanceOfPageType;
|
|
18
|
+
exports.PageTypeFromJSON = PageTypeFromJSON;
|
|
19
|
+
exports.PageTypeFromJSONTyped = PageTypeFromJSONTyped;
|
|
20
|
+
exports.PageTypeToJSON = PageTypeToJSON;
|
|
21
|
+
exports.PageTypeToJSONTyped = PageTypeToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @export
|
|
25
|
+
*/
|
|
26
|
+
exports.PageType = {
|
|
27
|
+
Home: 'home',
|
|
28
|
+
Page: 'page',
|
|
29
|
+
Blog: 'blog'
|
|
30
|
+
};
|
|
31
|
+
function instanceOfPageType(value) {
|
|
32
|
+
for (var key in exports.PageType) {
|
|
33
|
+
if (Object.prototype.hasOwnProperty.call(exports.PageType, key)) {
|
|
34
|
+
if (exports.PageType[key] === value) {
|
|
35
|
+
return true;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
return false;
|
|
40
|
+
}
|
|
41
|
+
function PageTypeFromJSON(json) {
|
|
42
|
+
return PageTypeFromJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
function PageTypeFromJSONTyped(json, ignoreDiscriminator) {
|
|
45
|
+
return json;
|
|
46
|
+
}
|
|
47
|
+
function PageTypeToJSON(value) {
|
|
48
|
+
return value;
|
|
49
|
+
}
|
|
50
|
+
function PageTypeToJSONTyped(value, ignoreDiscriminator) {
|
|
51
|
+
return value;
|
|
52
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
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 { PagingMetadata } from './PagingMetadata';
|
|
13
|
+
import type { BlogCategoryListResource } from './BlogCategoryListResource';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface PaginatedBlogCategoryListResourceResponse
|
|
18
|
+
*/
|
|
19
|
+
export interface PaginatedBlogCategoryListResourceResponse {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {Array<BlogCategoryListResource>}
|
|
23
|
+
* @memberof PaginatedBlogCategoryListResourceResponse
|
|
24
|
+
*/
|
|
25
|
+
data: Array<BlogCategoryListResource>;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {PagingMetadata}
|
|
29
|
+
* @memberof PaginatedBlogCategoryListResourceResponse
|
|
30
|
+
*/
|
|
31
|
+
meta: PagingMetadata;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Check if a given object implements the PaginatedBlogCategoryListResourceResponse interface.
|
|
35
|
+
*/
|
|
36
|
+
export declare function instanceOfPaginatedBlogCategoryListResourceResponse(value: object): value is PaginatedBlogCategoryListResourceResponse;
|
|
37
|
+
export declare function PaginatedBlogCategoryListResourceResponseFromJSON(json: any): PaginatedBlogCategoryListResourceResponse;
|
|
38
|
+
export declare function PaginatedBlogCategoryListResourceResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginatedBlogCategoryListResourceResponse;
|
|
39
|
+
export declare function PaginatedBlogCategoryListResourceResponseToJSON(json: any): PaginatedBlogCategoryListResourceResponse;
|
|
40
|
+
export declare function PaginatedBlogCategoryListResourceResponseToJSONTyped(value?: PaginatedBlogCategoryListResourceResponse | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,57 @@
|
|
|
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.instanceOfPaginatedBlogCategoryListResourceResponse = instanceOfPaginatedBlogCategoryListResourceResponse;
|
|
17
|
+
exports.PaginatedBlogCategoryListResourceResponseFromJSON = PaginatedBlogCategoryListResourceResponseFromJSON;
|
|
18
|
+
exports.PaginatedBlogCategoryListResourceResponseFromJSONTyped = PaginatedBlogCategoryListResourceResponseFromJSONTyped;
|
|
19
|
+
exports.PaginatedBlogCategoryListResourceResponseToJSON = PaginatedBlogCategoryListResourceResponseToJSON;
|
|
20
|
+
exports.PaginatedBlogCategoryListResourceResponseToJSONTyped = PaginatedBlogCategoryListResourceResponseToJSONTyped;
|
|
21
|
+
var PagingMetadata_1 = require("./PagingMetadata");
|
|
22
|
+
var BlogCategoryListResource_1 = require("./BlogCategoryListResource");
|
|
23
|
+
/**
|
|
24
|
+
* Check if a given object implements the PaginatedBlogCategoryListResourceResponse interface.
|
|
25
|
+
*/
|
|
26
|
+
function instanceOfPaginatedBlogCategoryListResourceResponse(value) {
|
|
27
|
+
if (!('data' in value) || value['data'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('meta' in value) || value['meta'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
return true;
|
|
32
|
+
}
|
|
33
|
+
function PaginatedBlogCategoryListResourceResponseFromJSON(json) {
|
|
34
|
+
return PaginatedBlogCategoryListResourceResponseFromJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
function PaginatedBlogCategoryListResourceResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
|
+
if (json == null) {
|
|
38
|
+
return json;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'data': (json['data'].map(BlogCategoryListResource_1.BlogCategoryListResourceFromJSON)),
|
|
42
|
+
'meta': (0, PagingMetadata_1.PagingMetadataFromJSON)(json['meta']),
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
function PaginatedBlogCategoryListResourceResponseToJSON(json) {
|
|
46
|
+
return PaginatedBlogCategoryListResourceResponseToJSONTyped(json, false);
|
|
47
|
+
}
|
|
48
|
+
function PaginatedBlogCategoryListResourceResponseToJSONTyped(value, ignoreDiscriminator) {
|
|
49
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
50
|
+
if (value == null) {
|
|
51
|
+
return value;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
'data': (value['data'].map(BlogCategoryListResource_1.BlogCategoryListResourceToJSON)),
|
|
55
|
+
'meta': (0, PagingMetadata_1.PagingMetadataToJSON)(value['meta']),
|
|
56
|
+
};
|
|
57
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
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 { PagingMetadata } from './PagingMetadata';
|
|
13
|
+
import type { BlogCategoryLiteResource } from './BlogCategoryLiteResource';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface PaginatedBlogCategoryLiteResourceResponse
|
|
18
|
+
*/
|
|
19
|
+
export interface PaginatedBlogCategoryLiteResourceResponse {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {Array<BlogCategoryLiteResource>}
|
|
23
|
+
* @memberof PaginatedBlogCategoryLiteResourceResponse
|
|
24
|
+
*/
|
|
25
|
+
data: Array<BlogCategoryLiteResource>;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {PagingMetadata}
|
|
29
|
+
* @memberof PaginatedBlogCategoryLiteResourceResponse
|
|
30
|
+
*/
|
|
31
|
+
meta: PagingMetadata;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Check if a given object implements the PaginatedBlogCategoryLiteResourceResponse interface.
|
|
35
|
+
*/
|
|
36
|
+
export declare function instanceOfPaginatedBlogCategoryLiteResourceResponse(value: object): value is PaginatedBlogCategoryLiteResourceResponse;
|
|
37
|
+
export declare function PaginatedBlogCategoryLiteResourceResponseFromJSON(json: any): PaginatedBlogCategoryLiteResourceResponse;
|
|
38
|
+
export declare function PaginatedBlogCategoryLiteResourceResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginatedBlogCategoryLiteResourceResponse;
|
|
39
|
+
export declare function PaginatedBlogCategoryLiteResourceResponseToJSON(json: any): PaginatedBlogCategoryLiteResourceResponse;
|
|
40
|
+
export declare function PaginatedBlogCategoryLiteResourceResponseToJSONTyped(value?: PaginatedBlogCategoryLiteResourceResponse | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,57 @@
|
|
|
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.instanceOfPaginatedBlogCategoryLiteResourceResponse = instanceOfPaginatedBlogCategoryLiteResourceResponse;
|
|
17
|
+
exports.PaginatedBlogCategoryLiteResourceResponseFromJSON = PaginatedBlogCategoryLiteResourceResponseFromJSON;
|
|
18
|
+
exports.PaginatedBlogCategoryLiteResourceResponseFromJSONTyped = PaginatedBlogCategoryLiteResourceResponseFromJSONTyped;
|
|
19
|
+
exports.PaginatedBlogCategoryLiteResourceResponseToJSON = PaginatedBlogCategoryLiteResourceResponseToJSON;
|
|
20
|
+
exports.PaginatedBlogCategoryLiteResourceResponseToJSONTyped = PaginatedBlogCategoryLiteResourceResponseToJSONTyped;
|
|
21
|
+
var PagingMetadata_1 = require("./PagingMetadata");
|
|
22
|
+
var BlogCategoryLiteResource_1 = require("./BlogCategoryLiteResource");
|
|
23
|
+
/**
|
|
24
|
+
* Check if a given object implements the PaginatedBlogCategoryLiteResourceResponse interface.
|
|
25
|
+
*/
|
|
26
|
+
function instanceOfPaginatedBlogCategoryLiteResourceResponse(value) {
|
|
27
|
+
if (!('data' in value) || value['data'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('meta' in value) || value['meta'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
return true;
|
|
32
|
+
}
|
|
33
|
+
function PaginatedBlogCategoryLiteResourceResponseFromJSON(json) {
|
|
34
|
+
return PaginatedBlogCategoryLiteResourceResponseFromJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
function PaginatedBlogCategoryLiteResourceResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
|
+
if (json == null) {
|
|
38
|
+
return json;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'data': (json['data'].map(BlogCategoryLiteResource_1.BlogCategoryLiteResourceFromJSON)),
|
|
42
|
+
'meta': (0, PagingMetadata_1.PagingMetadataFromJSON)(json['meta']),
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
function PaginatedBlogCategoryLiteResourceResponseToJSON(json) {
|
|
46
|
+
return PaginatedBlogCategoryLiteResourceResponseToJSONTyped(json, false);
|
|
47
|
+
}
|
|
48
|
+
function PaginatedBlogCategoryLiteResourceResponseToJSONTyped(value, ignoreDiscriminator) {
|
|
49
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
50
|
+
if (value == null) {
|
|
51
|
+
return value;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
'data': (value['data'].map(BlogCategoryLiteResource_1.BlogCategoryLiteResourceToJSON)),
|
|
55
|
+
'meta': (0, PagingMetadata_1.PagingMetadataToJSON)(value['meta']),
|
|
56
|
+
};
|
|
57
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
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 { PagingMetadata } from './PagingMetadata';
|
|
13
|
+
import type { BlogCategoryResource } from './BlogCategoryResource';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface PaginatedBlogCategoryResourceResponse
|
|
18
|
+
*/
|
|
19
|
+
export interface PaginatedBlogCategoryResourceResponse {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {Array<BlogCategoryResource>}
|
|
23
|
+
* @memberof PaginatedBlogCategoryResourceResponse
|
|
24
|
+
*/
|
|
25
|
+
data: Array<BlogCategoryResource>;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {PagingMetadata}
|
|
29
|
+
* @memberof PaginatedBlogCategoryResourceResponse
|
|
30
|
+
*/
|
|
31
|
+
meta: PagingMetadata;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Check if a given object implements the PaginatedBlogCategoryResourceResponse interface.
|
|
35
|
+
*/
|
|
36
|
+
export declare function instanceOfPaginatedBlogCategoryResourceResponse(value: object): value is PaginatedBlogCategoryResourceResponse;
|
|
37
|
+
export declare function PaginatedBlogCategoryResourceResponseFromJSON(json: any): PaginatedBlogCategoryResourceResponse;
|
|
38
|
+
export declare function PaginatedBlogCategoryResourceResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginatedBlogCategoryResourceResponse;
|
|
39
|
+
export declare function PaginatedBlogCategoryResourceResponseToJSON(json: any): PaginatedBlogCategoryResourceResponse;
|
|
40
|
+
export declare function PaginatedBlogCategoryResourceResponseToJSONTyped(value?: PaginatedBlogCategoryResourceResponse | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,57 @@
|
|
|
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.instanceOfPaginatedBlogCategoryResourceResponse = instanceOfPaginatedBlogCategoryResourceResponse;
|
|
17
|
+
exports.PaginatedBlogCategoryResourceResponseFromJSON = PaginatedBlogCategoryResourceResponseFromJSON;
|
|
18
|
+
exports.PaginatedBlogCategoryResourceResponseFromJSONTyped = PaginatedBlogCategoryResourceResponseFromJSONTyped;
|
|
19
|
+
exports.PaginatedBlogCategoryResourceResponseToJSON = PaginatedBlogCategoryResourceResponseToJSON;
|
|
20
|
+
exports.PaginatedBlogCategoryResourceResponseToJSONTyped = PaginatedBlogCategoryResourceResponseToJSONTyped;
|
|
21
|
+
var PagingMetadata_1 = require("./PagingMetadata");
|
|
22
|
+
var BlogCategoryResource_1 = require("./BlogCategoryResource");
|
|
23
|
+
/**
|
|
24
|
+
* Check if a given object implements the PaginatedBlogCategoryResourceResponse interface.
|
|
25
|
+
*/
|
|
26
|
+
function instanceOfPaginatedBlogCategoryResourceResponse(value) {
|
|
27
|
+
if (!('data' in value) || value['data'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('meta' in value) || value['meta'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
return true;
|
|
32
|
+
}
|
|
33
|
+
function PaginatedBlogCategoryResourceResponseFromJSON(json) {
|
|
34
|
+
return PaginatedBlogCategoryResourceResponseFromJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
function PaginatedBlogCategoryResourceResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
|
+
if (json == null) {
|
|
38
|
+
return json;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'data': (json['data'].map(BlogCategoryResource_1.BlogCategoryResourceFromJSON)),
|
|
42
|
+
'meta': (0, PagingMetadata_1.PagingMetadataFromJSON)(json['meta']),
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
function PaginatedBlogCategoryResourceResponseToJSON(json) {
|
|
46
|
+
return PaginatedBlogCategoryResourceResponseToJSONTyped(json, false);
|
|
47
|
+
}
|
|
48
|
+
function PaginatedBlogCategoryResourceResponseToJSONTyped(value, ignoreDiscriminator) {
|
|
49
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
50
|
+
if (value == null) {
|
|
51
|
+
return value;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
'data': (value['data'].map(BlogCategoryResource_1.BlogCategoryResourceToJSON)),
|
|
55
|
+
'meta': (0, PagingMetadata_1.PagingMetadataToJSON)(value['meta']),
|
|
56
|
+
};
|
|
57
|
+
}
|
|
@@ -34,6 +34,8 @@ function instanceOfStoreFrontendResource(value) {
|
|
|
34
34
|
return false;
|
|
35
35
|
if (!('longitude' in value) || value['longitude'] === undefined)
|
|
36
36
|
return false;
|
|
37
|
+
if (!('tagLine' in value) || value['tagLine'] === undefined)
|
|
38
|
+
return false;
|
|
37
39
|
if (!('specialDates' in value) || value['specialDates'] === undefined)
|
|
38
40
|
return false;
|
|
39
41
|
if (!('suppliers' in value) || value['suppliers'] === undefined)
|
|
@@ -57,7 +59,7 @@ function StoreFrontendResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
57
59
|
'address': json['address'] == null ? undefined : json['address'],
|
|
58
60
|
'latitude': json['latitude'],
|
|
59
61
|
'longitude': json['longitude'],
|
|
60
|
-
'tagLine': json['tagLine']
|
|
62
|
+
'tagLine': json['tagLine'],
|
|
61
63
|
'openingHours': json['openingHours'] == null ? undefined : json['openingHours'],
|
|
62
64
|
'specialDates': json['specialDates'],
|
|
63
65
|
'suppliers': json['suppliers'],
|
|
@@ -37,8 +37,6 @@ function instanceOfStoreListResource(value) {
|
|
|
37
37
|
return false;
|
|
38
38
|
if (!('email' in value) || value['email'] === undefined)
|
|
39
39
|
return false;
|
|
40
|
-
if (!('website' in value) || value['website'] === undefined)
|
|
41
|
-
return false;
|
|
42
40
|
return true;
|
|
43
41
|
}
|
|
44
42
|
function StoreListResourceFromJSON(json) {
|
|
@@ -57,7 +55,7 @@ function StoreListResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
57
55
|
'latitude': json['latitude'],
|
|
58
56
|
'tagLine': json['tag_line'],
|
|
59
57
|
'email': json['email'],
|
|
60
|
-
'website': json['website'],
|
|
58
|
+
'website': json['website'] == null ? undefined : json['website'],
|
|
61
59
|
'openingHours': json['opening_hours'] == null ? undefined : json['opening_hours'],
|
|
62
60
|
};
|
|
63
61
|
}
|
|
@@ -40,6 +40,8 @@ function instanceOfStoreResource(value) {
|
|
|
40
40
|
return false;
|
|
41
41
|
if (!('email' in value) || value['email'] === undefined)
|
|
42
42
|
return false;
|
|
43
|
+
if (!('website' in value) || value['website'] === undefined)
|
|
44
|
+
return false;
|
|
43
45
|
if (!('suppliers' in value) || value['suppliers'] === undefined)
|
|
44
46
|
return false;
|
|
45
47
|
if (!('address' in value) || value['address'] === undefined)
|
|
@@ -64,7 +66,7 @@ function StoreResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
64
66
|
'latitude': json['latitude'],
|
|
65
67
|
'tagLine': json['tag_line'],
|
|
66
68
|
'email': json['email'],
|
|
67
|
-
'website': json['website']
|
|
69
|
+
'website': json['website'],
|
|
68
70
|
'openingHours': json['opening_hours'] == null ? undefined : json['opening_hours'],
|
|
69
71
|
'suppliers': (json['suppliers'] == null ? null : json['suppliers'].map(SupplierLiteResource_1.SupplierLiteResourceFromJSON)),
|
|
70
72
|
'address': (0, AddressResource_1.AddressResourceFromJSON)(json['address']),
|
|
@@ -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'],
|
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';
|
|
@@ -148,11 +154,15 @@ export * from './OverlayTemplateLiteResource';
|
|
|
148
154
|
export * from './OverlayTemplateLiteResourceArrayResponse';
|
|
149
155
|
export * from './OverlayTemplateResource';
|
|
150
156
|
export * from './OverlayTemplateResourceArrayResponse';
|
|
157
|
+
export * from './PageType';
|
|
151
158
|
export * from './PaginatedAttributeListResourceResponse';
|
|
152
159
|
export * from './PaginatedAttributeLiteResourceResponse';
|
|
153
160
|
export * from './PaginatedAttributeProductTypeRelationResourceResponse';
|
|
154
161
|
export * from './PaginatedAttributeResourceResponse';
|
|
155
162
|
export * from './PaginatedAttributeValueResourceResponse';
|
|
163
|
+
export * from './PaginatedBlogCategoryListResourceResponse';
|
|
164
|
+
export * from './PaginatedBlogCategoryLiteResourceResponse';
|
|
165
|
+
export * from './PaginatedBlogCategoryResourceResponse';
|
|
156
166
|
export * from './PaginatedCategoryFrontendResourceResponse';
|
|
157
167
|
export * from './PaginatedDefinitionListResourceResponse';
|
|
158
168
|
export * from './PaginatedDefinitionResourceResponse';
|