@digital8/lighting-illusions-ts-sdk 0.0.637 → 0.0.638
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 +2 -16
- package/README.md +3 -10
- package/dist/models/ExternalApiLogResource.d.ts +1 -1
- package/dist/models/ExternalApiLogResource.js +1 -3
- 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/index.d.ts +1 -8
- package/dist/models/index.js +1 -8
- 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/package.json +1 -1
- package/src/models/ExternalApiLogResource.ts +2 -3
- 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/index.ts +1 -8
- 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/PaginatedCategoryFrontendResourceResponse.d.ts +0 -40
- package/dist/models/PaginatedCategoryFrontendResourceResponse.js +0 -57
- package/dist/models/ProductAvailability.d.ts +0 -26
- package/dist/models/ProductAvailability.js +0 -52
- 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/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/PaginatedCategoryFrontendResourceResponse.md +0 -36
- package/docs/TagFrontendResource.md +0 -44
- package/docs/TagFrontendResourceArrayResponse.md +0 -34
- 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/PaginatedCategoryFrontendResourceResponse.ts +0 -90
- package/src/models/ProductAvailability.ts +0 -54
- package/src/models/TagFrontendResource.ts +0 -119
- package/src/models/TagFrontendResourceArrayResponse.ts +0 -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,40 +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 { PagingMetadata } from './PagingMetadata';
|
|
13
|
-
import type { CategoryFrontendResource } from './CategoryFrontendResource';
|
|
14
|
-
/**
|
|
15
|
-
*
|
|
16
|
-
* @export
|
|
17
|
-
* @interface PaginatedCategoryFrontendResourceResponse
|
|
18
|
-
*/
|
|
19
|
-
export interface PaginatedCategoryFrontendResourceResponse {
|
|
20
|
-
/**
|
|
21
|
-
*
|
|
22
|
-
* @type {Array<CategoryFrontendResource>}
|
|
23
|
-
* @memberof PaginatedCategoryFrontendResourceResponse
|
|
24
|
-
*/
|
|
25
|
-
data: Array<CategoryFrontendResource>;
|
|
26
|
-
/**
|
|
27
|
-
*
|
|
28
|
-
* @type {PagingMetadata}
|
|
29
|
-
* @memberof PaginatedCategoryFrontendResourceResponse
|
|
30
|
-
*/
|
|
31
|
-
meta: PagingMetadata;
|
|
32
|
-
}
|
|
33
|
-
/**
|
|
34
|
-
* Check if a given object implements the PaginatedCategoryFrontendResourceResponse interface.
|
|
35
|
-
*/
|
|
36
|
-
export declare function instanceOfPaginatedCategoryFrontendResourceResponse(value: object): value is PaginatedCategoryFrontendResourceResponse;
|
|
37
|
-
export declare function PaginatedCategoryFrontendResourceResponseFromJSON(json: any): PaginatedCategoryFrontendResourceResponse;
|
|
38
|
-
export declare function PaginatedCategoryFrontendResourceResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginatedCategoryFrontendResourceResponse;
|
|
39
|
-
export declare function PaginatedCategoryFrontendResourceResponseToJSON(json: any): PaginatedCategoryFrontendResourceResponse;
|
|
40
|
-
export declare function PaginatedCategoryFrontendResourceResponseToJSONTyped(value?: PaginatedCategoryFrontendResourceResponse | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,57 +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.instanceOfPaginatedCategoryFrontendResourceResponse = instanceOfPaginatedCategoryFrontendResourceResponse;
|
|
17
|
-
exports.PaginatedCategoryFrontendResourceResponseFromJSON = PaginatedCategoryFrontendResourceResponseFromJSON;
|
|
18
|
-
exports.PaginatedCategoryFrontendResourceResponseFromJSONTyped = PaginatedCategoryFrontendResourceResponseFromJSONTyped;
|
|
19
|
-
exports.PaginatedCategoryFrontendResourceResponseToJSON = PaginatedCategoryFrontendResourceResponseToJSON;
|
|
20
|
-
exports.PaginatedCategoryFrontendResourceResponseToJSONTyped = PaginatedCategoryFrontendResourceResponseToJSONTyped;
|
|
21
|
-
var PagingMetadata_1 = require("./PagingMetadata");
|
|
22
|
-
var CategoryFrontendResource_1 = require("./CategoryFrontendResource");
|
|
23
|
-
/**
|
|
24
|
-
* Check if a given object implements the PaginatedCategoryFrontendResourceResponse interface.
|
|
25
|
-
*/
|
|
26
|
-
function instanceOfPaginatedCategoryFrontendResourceResponse(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 PaginatedCategoryFrontendResourceResponseFromJSON(json) {
|
|
34
|
-
return PaginatedCategoryFrontendResourceResponseFromJSONTyped(json, false);
|
|
35
|
-
}
|
|
36
|
-
function PaginatedCategoryFrontendResourceResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
|
-
if (json == null) {
|
|
38
|
-
return json;
|
|
39
|
-
}
|
|
40
|
-
return {
|
|
41
|
-
'data': (json['data'].map(CategoryFrontendResource_1.CategoryFrontendResourceFromJSON)),
|
|
42
|
-
'meta': (0, PagingMetadata_1.PagingMetadataFromJSON)(json['meta']),
|
|
43
|
-
};
|
|
44
|
-
}
|
|
45
|
-
function PaginatedCategoryFrontendResourceResponseToJSON(json) {
|
|
46
|
-
return PaginatedCategoryFrontendResourceResponseToJSONTyped(json, false);
|
|
47
|
-
}
|
|
48
|
-
function PaginatedCategoryFrontendResourceResponseToJSONTyped(value, ignoreDiscriminator) {
|
|
49
|
-
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
50
|
-
if (value == null) {
|
|
51
|
-
return value;
|
|
52
|
-
}
|
|
53
|
-
return {
|
|
54
|
-
'data': (value['data'].map(CategoryFrontendResource_1.CategoryFrontendResourceToJSON)),
|
|
55
|
-
'meta': (0, PagingMetadata_1.PagingMetadataToJSON)(value['meta']),
|
|
56
|
-
};
|
|
57
|
-
}
|
|
@@ -1,26 +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
|
-
*/
|
|
16
|
-
export declare const ProductAvailability: {
|
|
17
|
-
readonly InStock: "in_stock";
|
|
18
|
-
readonly OutOfStock: "out_of_stock";
|
|
19
|
-
readonly Preorder: "preorder";
|
|
20
|
-
};
|
|
21
|
-
export type ProductAvailability = typeof ProductAvailability[keyof typeof ProductAvailability];
|
|
22
|
-
export declare function instanceOfProductAvailability(value: any): boolean;
|
|
23
|
-
export declare function ProductAvailabilityFromJSON(json: any): ProductAvailability;
|
|
24
|
-
export declare function ProductAvailabilityFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProductAvailability;
|
|
25
|
-
export declare function ProductAvailabilityToJSON(value?: ProductAvailability | null): any;
|
|
26
|
-
export declare function ProductAvailabilityToJSONTyped(value: any, ignoreDiscriminator: boolean): ProductAvailability;
|
|
@@ -1,52 +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.ProductAvailability = void 0;
|
|
17
|
-
exports.instanceOfProductAvailability = instanceOfProductAvailability;
|
|
18
|
-
exports.ProductAvailabilityFromJSON = ProductAvailabilityFromJSON;
|
|
19
|
-
exports.ProductAvailabilityFromJSONTyped = ProductAvailabilityFromJSONTyped;
|
|
20
|
-
exports.ProductAvailabilityToJSON = ProductAvailabilityToJSON;
|
|
21
|
-
exports.ProductAvailabilityToJSONTyped = ProductAvailabilityToJSONTyped;
|
|
22
|
-
/**
|
|
23
|
-
*
|
|
24
|
-
* @export
|
|
25
|
-
*/
|
|
26
|
-
exports.ProductAvailability = {
|
|
27
|
-
InStock: 'in_stock',
|
|
28
|
-
OutOfStock: 'out_of_stock',
|
|
29
|
-
Preorder: 'preorder'
|
|
30
|
-
};
|
|
31
|
-
function instanceOfProductAvailability(value) {
|
|
32
|
-
for (var key in exports.ProductAvailability) {
|
|
33
|
-
if (Object.prototype.hasOwnProperty.call(exports.ProductAvailability, key)) {
|
|
34
|
-
if (exports.ProductAvailability[key] === value) {
|
|
35
|
-
return true;
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
return false;
|
|
40
|
-
}
|
|
41
|
-
function ProductAvailabilityFromJSON(json) {
|
|
42
|
-
return ProductAvailabilityFromJSONTyped(json, false);
|
|
43
|
-
}
|
|
44
|
-
function ProductAvailabilityFromJSONTyped(json, ignoreDiscriminator) {
|
|
45
|
-
return json;
|
|
46
|
-
}
|
|
47
|
-
function ProductAvailabilityToJSON(value) {
|
|
48
|
-
return value;
|
|
49
|
-
}
|
|
50
|
-
function ProductAvailabilityToJSONTyped(value, ignoreDiscriminator) {
|
|
51
|
-
return value;
|
|
52
|
-
}
|
|
@@ -1,63 +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 { DescriptionResource } from './DescriptionResource';
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface TagFrontendResource
|
|
17
|
-
*/
|
|
18
|
-
export interface TagFrontendResource {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {number}
|
|
22
|
-
* @memberof TagFrontendResource
|
|
23
|
-
*/
|
|
24
|
-
id: number;
|
|
25
|
-
/**
|
|
26
|
-
*
|
|
27
|
-
* @type {string}
|
|
28
|
-
* @memberof TagFrontendResource
|
|
29
|
-
*/
|
|
30
|
-
name: string;
|
|
31
|
-
/**
|
|
32
|
-
*
|
|
33
|
-
* @type {string}
|
|
34
|
-
* @memberof TagFrontendResource
|
|
35
|
-
*/
|
|
36
|
-
slug: string;
|
|
37
|
-
/**
|
|
38
|
-
*
|
|
39
|
-
* @type {string}
|
|
40
|
-
* @memberof TagFrontendResource
|
|
41
|
-
*/
|
|
42
|
-
type: string;
|
|
43
|
-
/**
|
|
44
|
-
*
|
|
45
|
-
* @type {object}
|
|
46
|
-
* @memberof TagFrontendResource
|
|
47
|
-
*/
|
|
48
|
-
seo: object;
|
|
49
|
-
/**
|
|
50
|
-
*
|
|
51
|
-
* @type {DescriptionResource}
|
|
52
|
-
* @memberof TagFrontendResource
|
|
53
|
-
*/
|
|
54
|
-
description: DescriptionResource | null;
|
|
55
|
-
}
|
|
56
|
-
/**
|
|
57
|
-
* Check if a given object implements the TagFrontendResource interface.
|
|
58
|
-
*/
|
|
59
|
-
export declare function instanceOfTagFrontendResource(value: object): value is TagFrontendResource;
|
|
60
|
-
export declare function TagFrontendResourceFromJSON(json: any): TagFrontendResource;
|
|
61
|
-
export declare function TagFrontendResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): TagFrontendResource;
|
|
62
|
-
export declare function TagFrontendResourceToJSON(json: any): TagFrontendResource;
|
|
63
|
-
export declare function TagFrontendResourceToJSONTyped(value?: TagFrontendResource | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,72 +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.instanceOfTagFrontendResource = instanceOfTagFrontendResource;
|
|
17
|
-
exports.TagFrontendResourceFromJSON = TagFrontendResourceFromJSON;
|
|
18
|
-
exports.TagFrontendResourceFromJSONTyped = TagFrontendResourceFromJSONTyped;
|
|
19
|
-
exports.TagFrontendResourceToJSON = TagFrontendResourceToJSON;
|
|
20
|
-
exports.TagFrontendResourceToJSONTyped = TagFrontendResourceToJSONTyped;
|
|
21
|
-
var DescriptionResource_1 = require("./DescriptionResource");
|
|
22
|
-
/**
|
|
23
|
-
* Check if a given object implements the TagFrontendResource interface.
|
|
24
|
-
*/
|
|
25
|
-
function instanceOfTagFrontendResource(value) {
|
|
26
|
-
if (!('id' in value) || value['id'] === undefined)
|
|
27
|
-
return false;
|
|
28
|
-
if (!('name' in value) || value['name'] === undefined)
|
|
29
|
-
return false;
|
|
30
|
-
if (!('slug' in value) || value['slug'] === undefined)
|
|
31
|
-
return false;
|
|
32
|
-
if (!('type' in value) || value['type'] === undefined)
|
|
33
|
-
return false;
|
|
34
|
-
if (!('seo' in value) || value['seo'] === undefined)
|
|
35
|
-
return false;
|
|
36
|
-
if (!('description' in value) || value['description'] === undefined)
|
|
37
|
-
return false;
|
|
38
|
-
return true;
|
|
39
|
-
}
|
|
40
|
-
function TagFrontendResourceFromJSON(json) {
|
|
41
|
-
return TagFrontendResourceFromJSONTyped(json, false);
|
|
42
|
-
}
|
|
43
|
-
function TagFrontendResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
44
|
-
if (json == null) {
|
|
45
|
-
return json;
|
|
46
|
-
}
|
|
47
|
-
return {
|
|
48
|
-
'id': json['id'],
|
|
49
|
-
'name': json['name'],
|
|
50
|
-
'slug': json['slug'],
|
|
51
|
-
'type': json['type'],
|
|
52
|
-
'seo': json['seo'],
|
|
53
|
-
'description': (0, DescriptionResource_1.DescriptionResourceFromJSON)(json['description']),
|
|
54
|
-
};
|
|
55
|
-
}
|
|
56
|
-
function TagFrontendResourceToJSON(json) {
|
|
57
|
-
return TagFrontendResourceToJSONTyped(json, false);
|
|
58
|
-
}
|
|
59
|
-
function TagFrontendResourceToJSONTyped(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
|
-
'type': value['type'],
|
|
69
|
-
'seo': value['seo'],
|
|
70
|
-
'description': (0, DescriptionResource_1.DescriptionResourceToJSON)(value['description']),
|
|
71
|
-
};
|
|
72
|
-
}
|
|
@@ -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 { TagFrontendResource } from './TagFrontendResource';
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface TagFrontendResourceArrayResponse
|
|
17
|
-
*/
|
|
18
|
-
export interface TagFrontendResourceArrayResponse {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {Array<TagFrontendResource>}
|
|
22
|
-
* @memberof TagFrontendResourceArrayResponse
|
|
23
|
-
*/
|
|
24
|
-
data?: Array<TagFrontendResource>;
|
|
25
|
-
}
|
|
26
|
-
/**
|
|
27
|
-
* Check if a given object implements the TagFrontendResourceArrayResponse interface.
|
|
28
|
-
*/
|
|
29
|
-
export declare function instanceOfTagFrontendResourceArrayResponse(value: object): value is TagFrontendResourceArrayResponse;
|
|
30
|
-
export declare function TagFrontendResourceArrayResponseFromJSON(json: any): TagFrontendResourceArrayResponse;
|
|
31
|
-
export declare function TagFrontendResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): TagFrontendResourceArrayResponse;
|
|
32
|
-
export declare function TagFrontendResourceArrayResponseToJSON(json: any): TagFrontendResourceArrayResponse;
|
|
33
|
-
export declare function TagFrontendResourceArrayResponseToJSONTyped(value?: TagFrontendResourceArrayResponse | 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.instanceOfTagFrontendResourceArrayResponse = instanceOfTagFrontendResourceArrayResponse;
|
|
17
|
-
exports.TagFrontendResourceArrayResponseFromJSON = TagFrontendResourceArrayResponseFromJSON;
|
|
18
|
-
exports.TagFrontendResourceArrayResponseFromJSONTyped = TagFrontendResourceArrayResponseFromJSONTyped;
|
|
19
|
-
exports.TagFrontendResourceArrayResponseToJSON = TagFrontendResourceArrayResponseToJSON;
|
|
20
|
-
exports.TagFrontendResourceArrayResponseToJSONTyped = TagFrontendResourceArrayResponseToJSONTyped;
|
|
21
|
-
var TagFrontendResource_1 = require("./TagFrontendResource");
|
|
22
|
-
/**
|
|
23
|
-
* Check if a given object implements the TagFrontendResourceArrayResponse interface.
|
|
24
|
-
*/
|
|
25
|
-
function instanceOfTagFrontendResourceArrayResponse(value) {
|
|
26
|
-
return true;
|
|
27
|
-
}
|
|
28
|
-
function TagFrontendResourceArrayResponseFromJSON(json) {
|
|
29
|
-
return TagFrontendResourceArrayResponseFromJSONTyped(json, false);
|
|
30
|
-
}
|
|
31
|
-
function TagFrontendResourceArrayResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
-
if (json == null) {
|
|
33
|
-
return json;
|
|
34
|
-
}
|
|
35
|
-
return {
|
|
36
|
-
'data': json['data'] == null ? undefined : (json['data'].map(TagFrontendResource_1.TagFrontendResourceFromJSON)),
|
|
37
|
-
};
|
|
38
|
-
}
|
|
39
|
-
function TagFrontendResourceArrayResponseToJSON(json) {
|
|
40
|
-
return TagFrontendResourceArrayResponseToJSONTyped(json, false);
|
|
41
|
-
}
|
|
42
|
-
function TagFrontendResourceArrayResponseToJSONTyped(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(TagFrontendResource_1.TagFrontendResourceToJSON)),
|
|
49
|
-
};
|
|
50
|
-
}
|