@digital8/lighting-illusions-ts-sdk 0.0.647 → 0.0.649
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 +10 -38
- package/README.md +7 -26
- package/dist/apis/index.d.ts +0 -1
- package/dist/apis/index.js +0 -1
- package/dist/models/OverlayTemplateAssetFrontendResource.d.ts +2 -3
- package/dist/models/OverlayTemplateAssetFrontendResource.js +2 -3
- package/dist/models/OverlayTemplateAssetResource.d.ts +3 -3
- package/dist/models/OverlayTemplateAssetResource.js +3 -3
- package/dist/models/ProductCompareResource.d.ts +2 -2
- package/dist/models/ProductSearchResultResource.d.ts +6 -12
- package/dist/models/ProductSearchResultResource.js +4 -8
- package/dist/models/ProductStatus.d.ts +24 -0
- package/dist/models/ProductStatus.js +50 -0
- package/dist/models/SupplierFrontendResource.d.ts +8 -7
- package/dist/models/SupplierFrontendResource.js +9 -8
- package/dist/models/WishlistCheckResource.d.ts +32 -0
- package/dist/models/WishlistCheckResource.js +51 -0
- package/dist/models/WishlistCheckResourceArrayResponse.d.ts +33 -0
- package/dist/models/WishlistCheckResourceArrayResponse.js +50 -0
- package/dist/models/WishlistToggleResource.d.ts +38 -0
- package/dist/models/WishlistToggleResource.js +55 -0
- package/dist/models/WishlistToggleResourceArrayResponse.d.ts +33 -0
- package/dist/models/WishlistToggleResourceArrayResponse.js +50 -0
- package/dist/models/index.d.ts +5 -18
- package/dist/models/index.js +5 -18
- package/docs/OverlayTemplateAssetFrontendResource.md +1 -1
- package/docs/OverlayTemplateAssetResource.md +1 -1
- package/docs/ProductCompareResource.md +1 -1
- package/docs/ProductSearchResultResource.md +2 -4
- package/docs/{ProductAvailability.md → ProductStatus.md} +4 -4
- package/docs/SupplierFrontendResource.md +4 -4
- package/docs/{StoreDefinitionRequest.md → WishlistCheckResource.md} +6 -8
- package/docs/{DefinitionResourceArrayResponse.md → WishlistCheckResourceArrayResponse.md} +5 -5
- package/docs/{DefinitionListResource.md → WishlistToggleResource.md} +8 -8
- package/docs/{DefinitionListResourceArrayResponse.md → WishlistToggleResourceArrayResponse.md} +5 -5
- package/package.json +1 -1
- package/src/apis/index.ts +0 -1
- package/src/models/OverlayTemplateAssetFrontendResource.ts +4 -12
- package/src/models/OverlayTemplateAssetResource.ts +10 -10
- package/src/models/ProductCompareResource.ts +2 -2
- package/src/models/ProductSearchResultResource.ts +9 -18
- package/src/models/ProductStatus.ts +52 -0
- package/src/models/SupplierFrontendResource.ts +27 -20
- package/src/models/WishlistCheckResource.ts +66 -0
- package/src/models/WishlistCheckResourceArrayResponse.ts +73 -0
- package/src/models/WishlistToggleResource.ts +75 -0
- package/src/models/WishlistToggleResourceArrayResponse.ts +73 -0
- package/src/models/index.ts +5 -18
- package/dist/apis/DefinitionApi.d.ts +0 -85
- package/dist/apis/DefinitionApi.js +0 -355
- package/dist/models/CategoryFrontendResource.d.ts +0 -70
- package/dist/models/CategoryFrontendResource.js +0 -73
- package/dist/models/CategoryFrontendResourceArrayResponse.d.ts +0 -33
- package/dist/models/CategoryFrontendResourceArrayResponse.js +0 -50
- package/dist/models/CategoryWithChildrenFrontendResource.d.ts +0 -39
- package/dist/models/CategoryWithChildrenFrontendResource.js +0 -56
- package/dist/models/CategoryWithChildrenFrontendResourceArrayResponse.d.ts +0 -33
- package/dist/models/CategoryWithChildrenFrontendResourceArrayResponse.js +0 -50
- package/dist/models/DefinitionListResource.d.ts +0 -38
- package/dist/models/DefinitionListResource.js +0 -55
- package/dist/models/DefinitionListResourceArrayResponse.d.ts +0 -33
- package/dist/models/DefinitionListResourceArrayResponse.js +0 -50
- package/dist/models/DefinitionResource.d.ts +0 -44
- package/dist/models/DefinitionResource.js +0 -59
- package/dist/models/DefinitionResourceArrayResponse.d.ts +0 -33
- package/dist/models/DefinitionResourceArrayResponse.js +0 -50
- package/dist/models/GetAllDefinitionRequest.d.ts +0 -80
- package/dist/models/GetAllDefinitionRequest.js +0 -76
- package/dist/models/IndexDefinitionRequest.d.ts +0 -92
- package/dist/models/IndexDefinitionRequest.js +0 -80
- package/dist/models/PaginatedCategoryFrontendResourceResponse.d.ts +0 -40
- package/dist/models/PaginatedCategoryFrontendResourceResponse.js +0 -57
- package/dist/models/PaginatedDefinitionListResourceResponse.d.ts +0 -40
- package/dist/models/PaginatedDefinitionListResourceResponse.js +0 -57
- package/dist/models/PaginatedDefinitionResourceResponse.d.ts +0 -40
- package/dist/models/PaginatedDefinitionResourceResponse.js +0 -57
- package/dist/models/ProductAvailability.d.ts +0 -26
- package/dist/models/ProductAvailability.js +0 -52
- package/dist/models/StoreDefinitionRequest.d.ts +0 -38
- package/dist/models/StoreDefinitionRequest.js +0 -55
- package/dist/models/TagFrontendResource.d.ts +0 -63
- package/dist/models/TagFrontendResource.js +0 -72
- package/dist/models/TagFrontendResourceArrayResponse.d.ts +0 -33
- package/dist/models/TagFrontendResourceArrayResponse.js +0 -50
- package/dist/models/UpdateDefinitionRequest.d.ts +0 -38
- package/dist/models/UpdateDefinitionRequest.js +0 -55
- package/docs/CategoryFrontendResource.md +0 -46
- package/docs/CategoryFrontendResourceArrayResponse.md +0 -34
- package/docs/CategoryWithChildrenFrontendResource.md +0 -36
- package/docs/CategoryWithChildrenFrontendResourceArrayResponse.md +0 -34
- package/docs/DefinitionApi.md +0 -407
- package/docs/DefinitionResource.md +0 -38
- package/docs/GetAllDefinitionRequest.md +0 -44
- package/docs/IndexDefinitionRequest.md +0 -48
- package/docs/PaginatedCategoryFrontendResourceResponse.md +0 -36
- package/docs/PaginatedDefinitionListResourceResponse.md +0 -36
- package/docs/PaginatedDefinitionResourceResponse.md +0 -36
- package/docs/TagFrontendResource.md +0 -44
- package/docs/TagFrontendResourceArrayResponse.md +0 -34
- package/docs/UpdateDefinitionRequest.md +0 -36
- package/src/apis/DefinitionApi.ts +0 -286
- package/src/models/CategoryFrontendResource.ts +0 -133
- package/src/models/CategoryFrontendResourceArrayResponse.ts +0 -73
- package/src/models/CategoryWithChildrenFrontendResource.ts +0 -83
- package/src/models/CategoryWithChildrenFrontendResourceArrayResponse.ts +0 -73
- package/src/models/DefinitionListResource.ts +0 -75
- package/src/models/DefinitionListResourceArrayResponse.ts +0 -73
- package/src/models/DefinitionResource.ts +0 -84
- package/src/models/DefinitionResourceArrayResponse.ts +0 -73
- package/src/models/GetAllDefinitionRequest.ts +0 -127
- package/src/models/IndexDefinitionRequest.ts +0 -143
- package/src/models/PaginatedCategoryFrontendResourceResponse.ts +0 -90
- package/src/models/PaginatedDefinitionListResourceResponse.ts +0 -90
- package/src/models/PaginatedDefinitionResourceResponse.ts +0 -90
- package/src/models/ProductAvailability.ts +0 -54
- package/src/models/StoreDefinitionRequest.ts +0 -75
- package/src/models/TagFrontendResource.ts +0 -119
- package/src/models/TagFrontendResourceArrayResponse.ts +0 -73
- package/src/models/UpdateDefinitionRequest.ts +0 -75
|
@@ -1,70 +0,0 @@
|
|
|
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 { AssetLiteResource } from './AssetLiteResource';
|
|
13
|
-
import type { DescriptionResource } from './DescriptionResource';
|
|
14
|
-
/**
|
|
15
|
-
*
|
|
16
|
-
* @export
|
|
17
|
-
* @interface CategoryFrontendResource
|
|
18
|
-
*/
|
|
19
|
-
export interface CategoryFrontendResource {
|
|
20
|
-
/**
|
|
21
|
-
*
|
|
22
|
-
* @type {number}
|
|
23
|
-
* @memberof CategoryFrontendResource
|
|
24
|
-
*/
|
|
25
|
-
id?: number | null;
|
|
26
|
-
/**
|
|
27
|
-
*
|
|
28
|
-
* @type {string}
|
|
29
|
-
* @memberof CategoryFrontendResource
|
|
30
|
-
*/
|
|
31
|
-
name: string;
|
|
32
|
-
/**
|
|
33
|
-
*
|
|
34
|
-
* @type {string}
|
|
35
|
-
* @memberof CategoryFrontendResource
|
|
36
|
-
*/
|
|
37
|
-
slug: string;
|
|
38
|
-
/**
|
|
39
|
-
*
|
|
40
|
-
* @type {string}
|
|
41
|
-
* @memberof CategoryFrontendResource
|
|
42
|
-
*/
|
|
43
|
-
parentId?: string | null;
|
|
44
|
-
/**
|
|
45
|
-
*
|
|
46
|
-
* @type {AssetLiteResource}
|
|
47
|
-
* @memberof CategoryFrontendResource
|
|
48
|
-
*/
|
|
49
|
-
thumbnail: AssetLiteResource | null;
|
|
50
|
-
/**
|
|
51
|
-
*
|
|
52
|
-
* @type {object}
|
|
53
|
-
* @memberof CategoryFrontendResource
|
|
54
|
-
*/
|
|
55
|
-
seo: object;
|
|
56
|
-
/**
|
|
57
|
-
*
|
|
58
|
-
* @type {Array<DescriptionResource>}
|
|
59
|
-
* @memberof CategoryFrontendResource
|
|
60
|
-
*/
|
|
61
|
-
descriptions: Array<DescriptionResource> | null;
|
|
62
|
-
}
|
|
63
|
-
/**
|
|
64
|
-
* Check if a given object implements the CategoryFrontendResource interface.
|
|
65
|
-
*/
|
|
66
|
-
export declare function instanceOfCategoryFrontendResource(value: object): value is CategoryFrontendResource;
|
|
67
|
-
export declare function CategoryFrontendResourceFromJSON(json: any): CategoryFrontendResource;
|
|
68
|
-
export declare function CategoryFrontendResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): CategoryFrontendResource;
|
|
69
|
-
export declare function CategoryFrontendResourceToJSON(json: any): CategoryFrontendResource;
|
|
70
|
-
export declare function CategoryFrontendResourceToJSONTyped(value?: CategoryFrontendResource | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,73 +0,0 @@
|
|
|
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.instanceOfCategoryFrontendResource = instanceOfCategoryFrontendResource;
|
|
17
|
-
exports.CategoryFrontendResourceFromJSON = CategoryFrontendResourceFromJSON;
|
|
18
|
-
exports.CategoryFrontendResourceFromJSONTyped = CategoryFrontendResourceFromJSONTyped;
|
|
19
|
-
exports.CategoryFrontendResourceToJSON = CategoryFrontendResourceToJSON;
|
|
20
|
-
exports.CategoryFrontendResourceToJSONTyped = CategoryFrontendResourceToJSONTyped;
|
|
21
|
-
var AssetLiteResource_1 = require("./AssetLiteResource");
|
|
22
|
-
var DescriptionResource_1 = require("./DescriptionResource");
|
|
23
|
-
/**
|
|
24
|
-
* Check if a given object implements the CategoryFrontendResource interface.
|
|
25
|
-
*/
|
|
26
|
-
function instanceOfCategoryFrontendResource(value) {
|
|
27
|
-
if (!('name' in value) || value['name'] === undefined)
|
|
28
|
-
return false;
|
|
29
|
-
if (!('slug' in value) || value['slug'] === undefined)
|
|
30
|
-
return false;
|
|
31
|
-
if (!('thumbnail' in value) || value['thumbnail'] === undefined)
|
|
32
|
-
return false;
|
|
33
|
-
if (!('seo' in value) || value['seo'] === undefined)
|
|
34
|
-
return false;
|
|
35
|
-
if (!('descriptions' in value) || value['descriptions'] === undefined)
|
|
36
|
-
return false;
|
|
37
|
-
return true;
|
|
38
|
-
}
|
|
39
|
-
function CategoryFrontendResourceFromJSON(json) {
|
|
40
|
-
return CategoryFrontendResourceFromJSONTyped(json, false);
|
|
41
|
-
}
|
|
42
|
-
function CategoryFrontendResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
43
|
-
if (json == null) {
|
|
44
|
-
return json;
|
|
45
|
-
}
|
|
46
|
-
return {
|
|
47
|
-
'id': json['id'] == null ? undefined : json['id'],
|
|
48
|
-
'name': json['name'],
|
|
49
|
-
'slug': json['slug'],
|
|
50
|
-
'parentId': json['parentId'] == null ? undefined : json['parentId'],
|
|
51
|
-
'thumbnail': (0, AssetLiteResource_1.AssetLiteResourceFromJSON)(json['thumbnail']),
|
|
52
|
-
'seo': json['seo'],
|
|
53
|
-
'descriptions': (json['descriptions'] == null ? null : json['descriptions'].map(DescriptionResource_1.DescriptionResourceFromJSON)),
|
|
54
|
-
};
|
|
55
|
-
}
|
|
56
|
-
function CategoryFrontendResourceToJSON(json) {
|
|
57
|
-
return CategoryFrontendResourceToJSONTyped(json, false);
|
|
58
|
-
}
|
|
59
|
-
function CategoryFrontendResourceToJSONTyped(value, ignoreDiscriminator) {
|
|
60
|
-
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
61
|
-
if (value == null) {
|
|
62
|
-
return value;
|
|
63
|
-
}
|
|
64
|
-
return {
|
|
65
|
-
'id': value['id'],
|
|
66
|
-
'name': value['name'],
|
|
67
|
-
'slug': value['slug'],
|
|
68
|
-
'parentId': value['parentId'],
|
|
69
|
-
'thumbnail': (0, AssetLiteResource_1.AssetLiteResourceToJSON)(value['thumbnail']),
|
|
70
|
-
'seo': value['seo'],
|
|
71
|
-
'descriptions': (value['descriptions'] == null ? null : value['descriptions'].map(DescriptionResource_1.DescriptionResourceToJSON)),
|
|
72
|
-
};
|
|
73
|
-
}
|
|
@@ -1,33 +0,0 @@
|
|
|
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 { CategoryFrontendResource } from './CategoryFrontendResource';
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface CategoryFrontendResourceArrayResponse
|
|
17
|
-
*/
|
|
18
|
-
export interface CategoryFrontendResourceArrayResponse {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {Array<CategoryFrontendResource>}
|
|
22
|
-
* @memberof CategoryFrontendResourceArrayResponse
|
|
23
|
-
*/
|
|
24
|
-
data?: Array<CategoryFrontendResource>;
|
|
25
|
-
}
|
|
26
|
-
/**
|
|
27
|
-
* Check if a given object implements the CategoryFrontendResourceArrayResponse interface.
|
|
28
|
-
*/
|
|
29
|
-
export declare function instanceOfCategoryFrontendResourceArrayResponse(value: object): value is CategoryFrontendResourceArrayResponse;
|
|
30
|
-
export declare function CategoryFrontendResourceArrayResponseFromJSON(json: any): CategoryFrontendResourceArrayResponse;
|
|
31
|
-
export declare function CategoryFrontendResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): CategoryFrontendResourceArrayResponse;
|
|
32
|
-
export declare function CategoryFrontendResourceArrayResponseToJSON(json: any): CategoryFrontendResourceArrayResponse;
|
|
33
|
-
export declare function CategoryFrontendResourceArrayResponseToJSONTyped(value?: CategoryFrontendResourceArrayResponse | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,50 +0,0 @@
|
|
|
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.instanceOfCategoryFrontendResourceArrayResponse = instanceOfCategoryFrontendResourceArrayResponse;
|
|
17
|
-
exports.CategoryFrontendResourceArrayResponseFromJSON = CategoryFrontendResourceArrayResponseFromJSON;
|
|
18
|
-
exports.CategoryFrontendResourceArrayResponseFromJSONTyped = CategoryFrontendResourceArrayResponseFromJSONTyped;
|
|
19
|
-
exports.CategoryFrontendResourceArrayResponseToJSON = CategoryFrontendResourceArrayResponseToJSON;
|
|
20
|
-
exports.CategoryFrontendResourceArrayResponseToJSONTyped = CategoryFrontendResourceArrayResponseToJSONTyped;
|
|
21
|
-
var CategoryFrontendResource_1 = require("./CategoryFrontendResource");
|
|
22
|
-
/**
|
|
23
|
-
* Check if a given object implements the CategoryFrontendResourceArrayResponse interface.
|
|
24
|
-
*/
|
|
25
|
-
function instanceOfCategoryFrontendResourceArrayResponse(value) {
|
|
26
|
-
return true;
|
|
27
|
-
}
|
|
28
|
-
function CategoryFrontendResourceArrayResponseFromJSON(json) {
|
|
29
|
-
return CategoryFrontendResourceArrayResponseFromJSONTyped(json, false);
|
|
30
|
-
}
|
|
31
|
-
function CategoryFrontendResourceArrayResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
-
if (json == null) {
|
|
33
|
-
return json;
|
|
34
|
-
}
|
|
35
|
-
return {
|
|
36
|
-
'data': json['data'] == null ? undefined : (json['data'].map(CategoryFrontendResource_1.CategoryFrontendResourceFromJSON)),
|
|
37
|
-
};
|
|
38
|
-
}
|
|
39
|
-
function CategoryFrontendResourceArrayResponseToJSON(json) {
|
|
40
|
-
return CategoryFrontendResourceArrayResponseToJSONTyped(json, false);
|
|
41
|
-
}
|
|
42
|
-
function CategoryFrontendResourceArrayResponseToJSONTyped(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(CategoryFrontendResource_1.CategoryFrontendResourceToJSON)),
|
|
49
|
-
};
|
|
50
|
-
}
|
|
@@ -1,39 +0,0 @@
|
|
|
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 { CategoryFrontendResource } from './CategoryFrontendResource';
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface CategoryWithChildrenFrontendResource
|
|
17
|
-
*/
|
|
18
|
-
export interface CategoryWithChildrenFrontendResource {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {CategoryFrontendResource}
|
|
22
|
-
* @memberof CategoryWithChildrenFrontendResource
|
|
23
|
-
*/
|
|
24
|
-
category: CategoryFrontendResource | null;
|
|
25
|
-
/**
|
|
26
|
-
*
|
|
27
|
-
* @type {Array<CategoryFrontendResource>}
|
|
28
|
-
* @memberof CategoryWithChildrenFrontendResource
|
|
29
|
-
*/
|
|
30
|
-
children: Array<CategoryFrontendResource> | null;
|
|
31
|
-
}
|
|
32
|
-
/**
|
|
33
|
-
* Check if a given object implements the CategoryWithChildrenFrontendResource interface.
|
|
34
|
-
*/
|
|
35
|
-
export declare function instanceOfCategoryWithChildrenFrontendResource(value: object): value is CategoryWithChildrenFrontendResource;
|
|
36
|
-
export declare function CategoryWithChildrenFrontendResourceFromJSON(json: any): CategoryWithChildrenFrontendResource;
|
|
37
|
-
export declare function CategoryWithChildrenFrontendResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): CategoryWithChildrenFrontendResource;
|
|
38
|
-
export declare function CategoryWithChildrenFrontendResourceToJSON(json: any): CategoryWithChildrenFrontendResource;
|
|
39
|
-
export declare function CategoryWithChildrenFrontendResourceToJSONTyped(value?: CategoryWithChildrenFrontendResource | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,56 +0,0 @@
|
|
|
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.instanceOfCategoryWithChildrenFrontendResource = instanceOfCategoryWithChildrenFrontendResource;
|
|
17
|
-
exports.CategoryWithChildrenFrontendResourceFromJSON = CategoryWithChildrenFrontendResourceFromJSON;
|
|
18
|
-
exports.CategoryWithChildrenFrontendResourceFromJSONTyped = CategoryWithChildrenFrontendResourceFromJSONTyped;
|
|
19
|
-
exports.CategoryWithChildrenFrontendResourceToJSON = CategoryWithChildrenFrontendResourceToJSON;
|
|
20
|
-
exports.CategoryWithChildrenFrontendResourceToJSONTyped = CategoryWithChildrenFrontendResourceToJSONTyped;
|
|
21
|
-
var CategoryFrontendResource_1 = require("./CategoryFrontendResource");
|
|
22
|
-
/**
|
|
23
|
-
* Check if a given object implements the CategoryWithChildrenFrontendResource interface.
|
|
24
|
-
*/
|
|
25
|
-
function instanceOfCategoryWithChildrenFrontendResource(value) {
|
|
26
|
-
if (!('category' in value) || value['category'] === undefined)
|
|
27
|
-
return false;
|
|
28
|
-
if (!('children' in value) || value['children'] === undefined)
|
|
29
|
-
return false;
|
|
30
|
-
return true;
|
|
31
|
-
}
|
|
32
|
-
function CategoryWithChildrenFrontendResourceFromJSON(json) {
|
|
33
|
-
return CategoryWithChildrenFrontendResourceFromJSONTyped(json, false);
|
|
34
|
-
}
|
|
35
|
-
function CategoryWithChildrenFrontendResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
36
|
-
if (json == null) {
|
|
37
|
-
return json;
|
|
38
|
-
}
|
|
39
|
-
return {
|
|
40
|
-
'category': (0, CategoryFrontendResource_1.CategoryFrontendResourceFromJSON)(json['category']),
|
|
41
|
-
'children': (json['children'] == null ? null : json['children'].map(CategoryFrontendResource_1.CategoryFrontendResourceFromJSON)),
|
|
42
|
-
};
|
|
43
|
-
}
|
|
44
|
-
function CategoryWithChildrenFrontendResourceToJSON(json) {
|
|
45
|
-
return CategoryWithChildrenFrontendResourceToJSONTyped(json, false);
|
|
46
|
-
}
|
|
47
|
-
function CategoryWithChildrenFrontendResourceToJSONTyped(value, ignoreDiscriminator) {
|
|
48
|
-
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
49
|
-
if (value == null) {
|
|
50
|
-
return value;
|
|
51
|
-
}
|
|
52
|
-
return {
|
|
53
|
-
'category': (0, CategoryFrontendResource_1.CategoryFrontendResourceToJSON)(value['category']),
|
|
54
|
-
'children': (value['children'] == null ? null : value['children'].map(CategoryFrontendResource_1.CategoryFrontendResourceToJSON)),
|
|
55
|
-
};
|
|
56
|
-
}
|
|
@@ -1,33 +0,0 @@
|
|
|
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 { CategoryWithChildrenFrontendResource } from './CategoryWithChildrenFrontendResource';
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface CategoryWithChildrenFrontendResourceArrayResponse
|
|
17
|
-
*/
|
|
18
|
-
export interface CategoryWithChildrenFrontendResourceArrayResponse {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {Array<CategoryWithChildrenFrontendResource>}
|
|
22
|
-
* @memberof CategoryWithChildrenFrontendResourceArrayResponse
|
|
23
|
-
*/
|
|
24
|
-
data?: Array<CategoryWithChildrenFrontendResource>;
|
|
25
|
-
}
|
|
26
|
-
/**
|
|
27
|
-
* Check if a given object implements the CategoryWithChildrenFrontendResourceArrayResponse interface.
|
|
28
|
-
*/
|
|
29
|
-
export declare function instanceOfCategoryWithChildrenFrontendResourceArrayResponse(value: object): value is CategoryWithChildrenFrontendResourceArrayResponse;
|
|
30
|
-
export declare function CategoryWithChildrenFrontendResourceArrayResponseFromJSON(json: any): CategoryWithChildrenFrontendResourceArrayResponse;
|
|
31
|
-
export declare function CategoryWithChildrenFrontendResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): CategoryWithChildrenFrontendResourceArrayResponse;
|
|
32
|
-
export declare function CategoryWithChildrenFrontendResourceArrayResponseToJSON(json: any): CategoryWithChildrenFrontendResourceArrayResponse;
|
|
33
|
-
export declare function CategoryWithChildrenFrontendResourceArrayResponseToJSONTyped(value?: CategoryWithChildrenFrontendResourceArrayResponse | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,50 +0,0 @@
|
|
|
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.instanceOfCategoryWithChildrenFrontendResourceArrayResponse = instanceOfCategoryWithChildrenFrontendResourceArrayResponse;
|
|
17
|
-
exports.CategoryWithChildrenFrontendResourceArrayResponseFromJSON = CategoryWithChildrenFrontendResourceArrayResponseFromJSON;
|
|
18
|
-
exports.CategoryWithChildrenFrontendResourceArrayResponseFromJSONTyped = CategoryWithChildrenFrontendResourceArrayResponseFromJSONTyped;
|
|
19
|
-
exports.CategoryWithChildrenFrontendResourceArrayResponseToJSON = CategoryWithChildrenFrontendResourceArrayResponseToJSON;
|
|
20
|
-
exports.CategoryWithChildrenFrontendResourceArrayResponseToJSONTyped = CategoryWithChildrenFrontendResourceArrayResponseToJSONTyped;
|
|
21
|
-
var CategoryWithChildrenFrontendResource_1 = require("./CategoryWithChildrenFrontendResource");
|
|
22
|
-
/**
|
|
23
|
-
* Check if a given object implements the CategoryWithChildrenFrontendResourceArrayResponse interface.
|
|
24
|
-
*/
|
|
25
|
-
function instanceOfCategoryWithChildrenFrontendResourceArrayResponse(value) {
|
|
26
|
-
return true;
|
|
27
|
-
}
|
|
28
|
-
function CategoryWithChildrenFrontendResourceArrayResponseFromJSON(json) {
|
|
29
|
-
return CategoryWithChildrenFrontendResourceArrayResponseFromJSONTyped(json, false);
|
|
30
|
-
}
|
|
31
|
-
function CategoryWithChildrenFrontendResourceArrayResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
-
if (json == null) {
|
|
33
|
-
return json;
|
|
34
|
-
}
|
|
35
|
-
return {
|
|
36
|
-
'data': json['data'] == null ? undefined : (json['data'].map(CategoryWithChildrenFrontendResource_1.CategoryWithChildrenFrontendResourceFromJSON)),
|
|
37
|
-
};
|
|
38
|
-
}
|
|
39
|
-
function CategoryWithChildrenFrontendResourceArrayResponseToJSON(json) {
|
|
40
|
-
return CategoryWithChildrenFrontendResourceArrayResponseToJSONTyped(json, false);
|
|
41
|
-
}
|
|
42
|
-
function CategoryWithChildrenFrontendResourceArrayResponseToJSONTyped(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(CategoryWithChildrenFrontendResource_1.CategoryWithChildrenFrontendResourceToJSON)),
|
|
49
|
-
};
|
|
50
|
-
}
|
|
@@ -1,38 +0,0 @@
|
|
|
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 DefinitionListResource
|
|
16
|
-
*/
|
|
17
|
-
export interface DefinitionListResource {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {number}
|
|
21
|
-
* @memberof DefinitionListResource
|
|
22
|
-
*/
|
|
23
|
-
id: number;
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof DefinitionListResource
|
|
28
|
-
*/
|
|
29
|
-
name: string;
|
|
30
|
-
}
|
|
31
|
-
/**
|
|
32
|
-
* Check if a given object implements the DefinitionListResource interface.
|
|
33
|
-
*/
|
|
34
|
-
export declare function instanceOfDefinitionListResource(value: object): value is DefinitionListResource;
|
|
35
|
-
export declare function DefinitionListResourceFromJSON(json: any): DefinitionListResource;
|
|
36
|
-
export declare function DefinitionListResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): DefinitionListResource;
|
|
37
|
-
export declare function DefinitionListResourceToJSON(json: any): DefinitionListResource;
|
|
38
|
-
export declare function DefinitionListResourceToJSONTyped(value?: DefinitionListResource | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,55 +0,0 @@
|
|
|
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.instanceOfDefinitionListResource = instanceOfDefinitionListResource;
|
|
17
|
-
exports.DefinitionListResourceFromJSON = DefinitionListResourceFromJSON;
|
|
18
|
-
exports.DefinitionListResourceFromJSONTyped = DefinitionListResourceFromJSONTyped;
|
|
19
|
-
exports.DefinitionListResourceToJSON = DefinitionListResourceToJSON;
|
|
20
|
-
exports.DefinitionListResourceToJSONTyped = DefinitionListResourceToJSONTyped;
|
|
21
|
-
/**
|
|
22
|
-
* Check if a given object implements the DefinitionListResource interface.
|
|
23
|
-
*/
|
|
24
|
-
function instanceOfDefinitionListResource(value) {
|
|
25
|
-
if (!('id' in value) || value['id'] === undefined)
|
|
26
|
-
return false;
|
|
27
|
-
if (!('name' in value) || value['name'] === undefined)
|
|
28
|
-
return false;
|
|
29
|
-
return true;
|
|
30
|
-
}
|
|
31
|
-
function DefinitionListResourceFromJSON(json) {
|
|
32
|
-
return DefinitionListResourceFromJSONTyped(json, false);
|
|
33
|
-
}
|
|
34
|
-
function DefinitionListResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
-
if (json == null) {
|
|
36
|
-
return json;
|
|
37
|
-
}
|
|
38
|
-
return {
|
|
39
|
-
'id': json['id'],
|
|
40
|
-
'name': json['name'],
|
|
41
|
-
};
|
|
42
|
-
}
|
|
43
|
-
function DefinitionListResourceToJSON(json) {
|
|
44
|
-
return DefinitionListResourceToJSONTyped(json, false);
|
|
45
|
-
}
|
|
46
|
-
function DefinitionListResourceToJSONTyped(value, ignoreDiscriminator) {
|
|
47
|
-
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
48
|
-
if (value == null) {
|
|
49
|
-
return value;
|
|
50
|
-
}
|
|
51
|
-
return {
|
|
52
|
-
'id': value['id'],
|
|
53
|
-
'name': value['name'],
|
|
54
|
-
};
|
|
55
|
-
}
|
|
@@ -1,33 +0,0 @@
|
|
|
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 { DefinitionListResource } from './DefinitionListResource';
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface DefinitionListResourceArrayResponse
|
|
17
|
-
*/
|
|
18
|
-
export interface DefinitionListResourceArrayResponse {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {Array<DefinitionListResource>}
|
|
22
|
-
* @memberof DefinitionListResourceArrayResponse
|
|
23
|
-
*/
|
|
24
|
-
data?: Array<DefinitionListResource>;
|
|
25
|
-
}
|
|
26
|
-
/**
|
|
27
|
-
* Check if a given object implements the DefinitionListResourceArrayResponse interface.
|
|
28
|
-
*/
|
|
29
|
-
export declare function instanceOfDefinitionListResourceArrayResponse(value: object): value is DefinitionListResourceArrayResponse;
|
|
30
|
-
export declare function DefinitionListResourceArrayResponseFromJSON(json: any): DefinitionListResourceArrayResponse;
|
|
31
|
-
export declare function DefinitionListResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): DefinitionListResourceArrayResponse;
|
|
32
|
-
export declare function DefinitionListResourceArrayResponseToJSON(json: any): DefinitionListResourceArrayResponse;
|
|
33
|
-
export declare function DefinitionListResourceArrayResponseToJSONTyped(value?: DefinitionListResourceArrayResponse | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,50 +0,0 @@
|
|
|
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.instanceOfDefinitionListResourceArrayResponse = instanceOfDefinitionListResourceArrayResponse;
|
|
17
|
-
exports.DefinitionListResourceArrayResponseFromJSON = DefinitionListResourceArrayResponseFromJSON;
|
|
18
|
-
exports.DefinitionListResourceArrayResponseFromJSONTyped = DefinitionListResourceArrayResponseFromJSONTyped;
|
|
19
|
-
exports.DefinitionListResourceArrayResponseToJSON = DefinitionListResourceArrayResponseToJSON;
|
|
20
|
-
exports.DefinitionListResourceArrayResponseToJSONTyped = DefinitionListResourceArrayResponseToJSONTyped;
|
|
21
|
-
var DefinitionListResource_1 = require("./DefinitionListResource");
|
|
22
|
-
/**
|
|
23
|
-
* Check if a given object implements the DefinitionListResourceArrayResponse interface.
|
|
24
|
-
*/
|
|
25
|
-
function instanceOfDefinitionListResourceArrayResponse(value) {
|
|
26
|
-
return true;
|
|
27
|
-
}
|
|
28
|
-
function DefinitionListResourceArrayResponseFromJSON(json) {
|
|
29
|
-
return DefinitionListResourceArrayResponseFromJSONTyped(json, false);
|
|
30
|
-
}
|
|
31
|
-
function DefinitionListResourceArrayResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
-
if (json == null) {
|
|
33
|
-
return json;
|
|
34
|
-
}
|
|
35
|
-
return {
|
|
36
|
-
'data': json['data'] == null ? undefined : (json['data'].map(DefinitionListResource_1.DefinitionListResourceFromJSON)),
|
|
37
|
-
};
|
|
38
|
-
}
|
|
39
|
-
function DefinitionListResourceArrayResponseToJSON(json) {
|
|
40
|
-
return DefinitionListResourceArrayResponseToJSONTyped(json, false);
|
|
41
|
-
}
|
|
42
|
-
function DefinitionListResourceArrayResponseToJSONTyped(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(DefinitionListResource_1.DefinitionListResourceToJSON)),
|
|
49
|
-
};
|
|
50
|
-
}
|
|
@@ -1,44 +0,0 @@
|
|
|
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 DefinitionResource
|
|
16
|
-
*/
|
|
17
|
-
export interface DefinitionResource {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {number}
|
|
21
|
-
* @memberof DefinitionResource
|
|
22
|
-
*/
|
|
23
|
-
id: number;
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof DefinitionResource
|
|
28
|
-
*/
|
|
29
|
-
name: string;
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof DefinitionResource
|
|
34
|
-
*/
|
|
35
|
-
content: string;
|
|
36
|
-
}
|
|
37
|
-
/**
|
|
38
|
-
* Check if a given object implements the DefinitionResource interface.
|
|
39
|
-
*/
|
|
40
|
-
export declare function instanceOfDefinitionResource(value: object): value is DefinitionResource;
|
|
41
|
-
export declare function DefinitionResourceFromJSON(json: any): DefinitionResource;
|
|
42
|
-
export declare function DefinitionResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): DefinitionResource;
|
|
43
|
-
export declare function DefinitionResourceToJSON(json: any): DefinitionResource;
|
|
44
|
-
export declare function DefinitionResourceToJSONTyped(value?: DefinitionResource | null, ignoreDiscriminator?: boolean): any;
|