@digital8/lighting-illusions-ts-sdk 0.0.652 → 0.0.654
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 +8 -32
- package/README.md +6 -18
- package/dist/apis/DefinitionApi.d.ts +3 -3
- package/dist/apis/DefinitionApi.js +1 -1
- package/dist/models/DefinitionListResource.d.ts +6 -0
- package/dist/models/DefinitionListResource.js +4 -0
- package/dist/models/DefinitionLiteResource.d.ts +38 -0
- package/dist/models/DefinitionLiteResource.js +55 -0
- package/dist/models/DefinitionLiteResourceArrayResponse.d.ts +33 -0
- package/dist/models/DefinitionLiteResourceArrayResponse.js +50 -0
- package/dist/models/ExternalApiLogResource.d.ts +1 -1
- package/dist/models/ExternalApiLogResource.js +3 -1
- package/dist/models/GlobalSearchProductResource.d.ts +0 -6
- package/dist/models/GlobalSearchProductResource.js +0 -4
- package/dist/models/OverlayTemplateAssetResource.d.ts +3 -3
- package/dist/models/OverlayTemplateAssetResource.js +3 -3
- package/dist/models/PaginatedDefinitionLiteResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedDefinitionLiteResourceResponse.js +57 -0
- 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/StoreProductCategoryRequest.d.ts +2 -2
- package/dist/models/SupplierFrontendResource.d.ts +8 -7
- package/dist/models/SupplierFrontendResource.js +9 -8
- package/dist/models/index.d.ts +4 -16
- package/dist/models/index.js +4 -16
- package/docs/DefinitionApi.md +2 -2
- package/docs/DefinitionListResource.md +2 -0
- package/docs/{DocumentFrontendResource.md → DefinitionLiteResource.md} +4 -6
- package/docs/{ProductCompareResourceArrayResponse.md → DefinitionLiteResourceArrayResponse.md} +5 -5
- package/docs/GlobalSearchProductResource.md +0 -2
- package/docs/OverlayTemplateAssetResource.md +1 -1
- package/docs/{PaginatedCategoryFrontendResourceResponse.md → PaginatedDefinitionLiteResourceResponse.md} +5 -5
- package/docs/ProductSearchResultResource.md +2 -4
- package/docs/{ProductAvailability.md → ProductStatus.md} +4 -4
- package/docs/StoreProductCategoryRequest.md +1 -1
- package/docs/SupplierFrontendResource.md +4 -4
- package/package.json +1 -1
- package/src/apis/DefinitionApi.ts +6 -6
- package/src/models/DefinitionListResource.ts +9 -0
- package/src/models/DefinitionLiteResource.ts +75 -0
- package/src/models/DefinitionLiteResourceArrayResponse.ts +73 -0
- package/src/models/ExternalApiLogResource.ts +3 -2
- package/src/models/GlobalSearchProductResource.ts +0 -9
- package/src/models/OverlayTemplateAssetResource.ts +10 -10
- package/src/models/PaginatedDefinitionLiteResourceResponse.ts +90 -0
- package/src/models/ProductSearchResultResource.ts +9 -18
- package/src/models/ProductStatus.ts +52 -0
- package/src/models/StoreProductCategoryRequest.ts +2 -2
- package/src/models/SupplierFrontendResource.ts +27 -20
- package/src/models/index.ts +4 -16
- package/dist/models/AssetFrontendResource.d.ts +0 -74
- package/dist/models/AssetFrontendResource.js +0 -79
- package/dist/models/AssetFrontendResourceArrayResponse.d.ts +0 -33
- package/dist/models/AssetFrontendResourceArrayResponse.js +0 -50
- 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/DocumentFrontendResource.d.ts +0 -44
- package/dist/models/DocumentFrontendResource.js +0 -57
- package/dist/models/DocumentFrontendResourceArrayResponse.d.ts +0 -33
- package/dist/models/DocumentFrontendResourceArrayResponse.js +0 -50
- package/dist/models/OverlayTemplateAssetFrontendResource.d.ts +0 -63
- package/dist/models/OverlayTemplateAssetFrontendResource.js +0 -72
- package/dist/models/OverlayTemplateAssetFrontendResourceArrayResponse.d.ts +0 -33
- package/dist/models/OverlayTemplateAssetFrontendResourceArrayResponse.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/ProductCompareResource.d.ts +0 -141
- package/dist/models/ProductCompareResource.js +0 -124
- package/dist/models/ProductCompareResourceArrayResponse.d.ts +0 -33
- package/dist/models/ProductCompareResourceArrayResponse.js +0 -50
- 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/AssetFrontendResource.md +0 -48
- package/docs/AssetFrontendResourceArrayResponse.md +0 -34
- 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/DocumentFrontendResourceArrayResponse.md +0 -34
- package/docs/OverlayTemplateAssetFrontendResource.md +0 -44
- package/docs/OverlayTemplateAssetFrontendResourceArrayResponse.md +0 -34
- package/docs/ProductCompareResource.md +0 -70
- package/docs/TagFrontendResource.md +0 -44
- package/docs/TagFrontendResourceArrayResponse.md +0 -34
- package/src/models/AssetFrontendResource.ts +0 -129
- package/src/models/AssetFrontendResourceArrayResponse.ts +0 -73
- 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/DocumentFrontendResource.ts +0 -83
- package/src/models/DocumentFrontendResourceArrayResponse.ts +0 -73
- package/src/models/OverlayTemplateAssetFrontendResource.ts +0 -119
- package/src/models/OverlayTemplateAssetFrontendResourceArrayResponse.ts +0 -73
- package/src/models/PaginatedCategoryFrontendResourceResponse.ts +0 -90
- package/src/models/ProductAvailability.ts +0 -54
- package/src/models/ProductCompareResource.ts +0 -236
- package/src/models/ProductCompareResourceArrayResponse.ts +0 -73
- package/src/models/TagFrontendResource.ts +0 -119
- package/src/models/TagFrontendResourceArrayResponse.ts +0 -73
|
@@ -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,141 +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 { AssetFrontendResource } from './AssetFrontendResource';
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface ProductCompareResource
|
|
17
|
-
*/
|
|
18
|
-
export interface ProductCompareResource {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {number}
|
|
22
|
-
* @memberof ProductCompareResource
|
|
23
|
-
*/
|
|
24
|
-
id: number;
|
|
25
|
-
/**
|
|
26
|
-
*
|
|
27
|
-
* @type {number}
|
|
28
|
-
* @memberof ProductCompareResource
|
|
29
|
-
*/
|
|
30
|
-
sku: number;
|
|
31
|
-
/**
|
|
32
|
-
*
|
|
33
|
-
* @type {string}
|
|
34
|
-
* @memberof ProductCompareResource
|
|
35
|
-
*/
|
|
36
|
-
model: string;
|
|
37
|
-
/**
|
|
38
|
-
*
|
|
39
|
-
* @type {number}
|
|
40
|
-
* @memberof ProductCompareResource
|
|
41
|
-
*/
|
|
42
|
-
stock: number;
|
|
43
|
-
/**
|
|
44
|
-
*
|
|
45
|
-
* @type {string}
|
|
46
|
-
* @memberof ProductCompareResource
|
|
47
|
-
*/
|
|
48
|
-
warranty: string;
|
|
49
|
-
/**
|
|
50
|
-
*
|
|
51
|
-
* @type {string}
|
|
52
|
-
* @memberof ProductCompareResource
|
|
53
|
-
*/
|
|
54
|
-
name: string;
|
|
55
|
-
/**
|
|
56
|
-
*
|
|
57
|
-
* @type {string}
|
|
58
|
-
* @memberof ProductCompareResource
|
|
59
|
-
*/
|
|
60
|
-
slug: string;
|
|
61
|
-
/**
|
|
62
|
-
*
|
|
63
|
-
* @type {string}
|
|
64
|
-
* @memberof ProductCompareResource
|
|
65
|
-
*/
|
|
66
|
-
parentName: string;
|
|
67
|
-
/**
|
|
68
|
-
*
|
|
69
|
-
* @type {number}
|
|
70
|
-
* @memberof ProductCompareResource
|
|
71
|
-
*/
|
|
72
|
-
price: number;
|
|
73
|
-
/**
|
|
74
|
-
*
|
|
75
|
-
* @type {number}
|
|
76
|
-
* @memberof ProductCompareResource
|
|
77
|
-
*/
|
|
78
|
-
salePrice: number;
|
|
79
|
-
/**
|
|
80
|
-
*
|
|
81
|
-
* @type {string}
|
|
82
|
-
* @memberof ProductCompareResource
|
|
83
|
-
*/
|
|
84
|
-
availability: string;
|
|
85
|
-
/**
|
|
86
|
-
*
|
|
87
|
-
* @type {number}
|
|
88
|
-
* @memberof ProductCompareResource
|
|
89
|
-
*/
|
|
90
|
-
optionsCount: number;
|
|
91
|
-
/**
|
|
92
|
-
*
|
|
93
|
-
* @type {number}
|
|
94
|
-
* @memberof ProductCompareResource
|
|
95
|
-
*/
|
|
96
|
-
averageRating: number;
|
|
97
|
-
/**
|
|
98
|
-
*
|
|
99
|
-
* @type {AssetFrontendResource}
|
|
100
|
-
* @memberof ProductCompareResource
|
|
101
|
-
*/
|
|
102
|
-
thumbnail: AssetFrontendResource | null;
|
|
103
|
-
/**
|
|
104
|
-
*
|
|
105
|
-
* @type {string}
|
|
106
|
-
* @memberof ProductCompareResource
|
|
107
|
-
*/
|
|
108
|
-
supplierName: string;
|
|
109
|
-
/**
|
|
110
|
-
*
|
|
111
|
-
* @type {AssetFrontendResource}
|
|
112
|
-
* @memberof ProductCompareResource
|
|
113
|
-
*/
|
|
114
|
-
supplierLogo: AssetFrontendResource | null;
|
|
115
|
-
/**
|
|
116
|
-
*
|
|
117
|
-
* @type {Array<object>}
|
|
118
|
-
* @memberof ProductCompareResource
|
|
119
|
-
*/
|
|
120
|
-
specsData: Array<object>;
|
|
121
|
-
/**
|
|
122
|
-
*
|
|
123
|
-
* @type {Array<object>}
|
|
124
|
-
* @memberof ProductCompareResource
|
|
125
|
-
*/
|
|
126
|
-
dimensionData: Array<object>;
|
|
127
|
-
/**
|
|
128
|
-
*
|
|
129
|
-
* @type {Array<object>}
|
|
130
|
-
* @memberof ProductCompareResource
|
|
131
|
-
*/
|
|
132
|
-
performanceSpecsData: Array<object>;
|
|
133
|
-
}
|
|
134
|
-
/**
|
|
135
|
-
* Check if a given object implements the ProductCompareResource interface.
|
|
136
|
-
*/
|
|
137
|
-
export declare function instanceOfProductCompareResource(value: object): value is ProductCompareResource;
|
|
138
|
-
export declare function ProductCompareResourceFromJSON(json: any): ProductCompareResource;
|
|
139
|
-
export declare function ProductCompareResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProductCompareResource;
|
|
140
|
-
export declare function ProductCompareResourceToJSON(json: any): ProductCompareResource;
|
|
141
|
-
export declare function ProductCompareResourceToJSONTyped(value?: ProductCompareResource | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,124 +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.instanceOfProductCompareResource = instanceOfProductCompareResource;
|
|
17
|
-
exports.ProductCompareResourceFromJSON = ProductCompareResourceFromJSON;
|
|
18
|
-
exports.ProductCompareResourceFromJSONTyped = ProductCompareResourceFromJSONTyped;
|
|
19
|
-
exports.ProductCompareResourceToJSON = ProductCompareResourceToJSON;
|
|
20
|
-
exports.ProductCompareResourceToJSONTyped = ProductCompareResourceToJSONTyped;
|
|
21
|
-
var AssetFrontendResource_1 = require("./AssetFrontendResource");
|
|
22
|
-
/**
|
|
23
|
-
* Check if a given object implements the ProductCompareResource interface.
|
|
24
|
-
*/
|
|
25
|
-
function instanceOfProductCompareResource(value) {
|
|
26
|
-
if (!('id' in value) || value['id'] === undefined)
|
|
27
|
-
return false;
|
|
28
|
-
if (!('sku' in value) || value['sku'] === undefined)
|
|
29
|
-
return false;
|
|
30
|
-
if (!('model' in value) || value['model'] === undefined)
|
|
31
|
-
return false;
|
|
32
|
-
if (!('stock' in value) || value['stock'] === undefined)
|
|
33
|
-
return false;
|
|
34
|
-
if (!('warranty' in value) || value['warranty'] === undefined)
|
|
35
|
-
return false;
|
|
36
|
-
if (!('name' in value) || value['name'] === undefined)
|
|
37
|
-
return false;
|
|
38
|
-
if (!('slug' in value) || value['slug'] === undefined)
|
|
39
|
-
return false;
|
|
40
|
-
if (!('parentName' in value) || value['parentName'] === undefined)
|
|
41
|
-
return false;
|
|
42
|
-
if (!('price' in value) || value['price'] === undefined)
|
|
43
|
-
return false;
|
|
44
|
-
if (!('salePrice' in value) || value['salePrice'] === undefined)
|
|
45
|
-
return false;
|
|
46
|
-
if (!('availability' in value) || value['availability'] === undefined)
|
|
47
|
-
return false;
|
|
48
|
-
if (!('optionsCount' in value) || value['optionsCount'] === undefined)
|
|
49
|
-
return false;
|
|
50
|
-
if (!('averageRating' in value) || value['averageRating'] === undefined)
|
|
51
|
-
return false;
|
|
52
|
-
if (!('thumbnail' in value) || value['thumbnail'] === undefined)
|
|
53
|
-
return false;
|
|
54
|
-
if (!('supplierName' in value) || value['supplierName'] === undefined)
|
|
55
|
-
return false;
|
|
56
|
-
if (!('supplierLogo' in value) || value['supplierLogo'] === undefined)
|
|
57
|
-
return false;
|
|
58
|
-
if (!('specsData' in value) || value['specsData'] === undefined)
|
|
59
|
-
return false;
|
|
60
|
-
if (!('dimensionData' in value) || value['dimensionData'] === undefined)
|
|
61
|
-
return false;
|
|
62
|
-
if (!('performanceSpecsData' in value) || value['performanceSpecsData'] === undefined)
|
|
63
|
-
return false;
|
|
64
|
-
return true;
|
|
65
|
-
}
|
|
66
|
-
function ProductCompareResourceFromJSON(json) {
|
|
67
|
-
return ProductCompareResourceFromJSONTyped(json, false);
|
|
68
|
-
}
|
|
69
|
-
function ProductCompareResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
70
|
-
if (json == null) {
|
|
71
|
-
return json;
|
|
72
|
-
}
|
|
73
|
-
return {
|
|
74
|
-
'id': json['id'],
|
|
75
|
-
'sku': json['sku'],
|
|
76
|
-
'model': json['model'],
|
|
77
|
-
'stock': json['stock'],
|
|
78
|
-
'warranty': json['warranty'],
|
|
79
|
-
'name': json['name'],
|
|
80
|
-
'slug': json['slug'],
|
|
81
|
-
'parentName': json['parentName'],
|
|
82
|
-
'price': json['price'],
|
|
83
|
-
'salePrice': json['salePrice'],
|
|
84
|
-
'availability': json['availability'],
|
|
85
|
-
'optionsCount': json['optionsCount'],
|
|
86
|
-
'averageRating': json['averageRating'],
|
|
87
|
-
'thumbnail': (0, AssetFrontendResource_1.AssetFrontendResourceFromJSON)(json['thumbnail']),
|
|
88
|
-
'supplierName': json['supplierName'],
|
|
89
|
-
'supplierLogo': (0, AssetFrontendResource_1.AssetFrontendResourceFromJSON)(json['supplierLogo']),
|
|
90
|
-
'specsData': json['specsData'],
|
|
91
|
-
'dimensionData': json['dimensionData'],
|
|
92
|
-
'performanceSpecsData': json['performanceSpecsData'],
|
|
93
|
-
};
|
|
94
|
-
}
|
|
95
|
-
function ProductCompareResourceToJSON(json) {
|
|
96
|
-
return ProductCompareResourceToJSONTyped(json, false);
|
|
97
|
-
}
|
|
98
|
-
function ProductCompareResourceToJSONTyped(value, ignoreDiscriminator) {
|
|
99
|
-
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
100
|
-
if (value == null) {
|
|
101
|
-
return value;
|
|
102
|
-
}
|
|
103
|
-
return {
|
|
104
|
-
'id': value['id'],
|
|
105
|
-
'sku': value['sku'],
|
|
106
|
-
'model': value['model'],
|
|
107
|
-
'stock': value['stock'],
|
|
108
|
-
'warranty': value['warranty'],
|
|
109
|
-
'name': value['name'],
|
|
110
|
-
'slug': value['slug'],
|
|
111
|
-
'parentName': value['parentName'],
|
|
112
|
-
'price': value['price'],
|
|
113
|
-
'salePrice': value['salePrice'],
|
|
114
|
-
'availability': value['availability'],
|
|
115
|
-
'optionsCount': value['optionsCount'],
|
|
116
|
-
'averageRating': value['averageRating'],
|
|
117
|
-
'thumbnail': (0, AssetFrontendResource_1.AssetFrontendResourceToJSON)(value['thumbnail']),
|
|
118
|
-
'supplierName': value['supplierName'],
|
|
119
|
-
'supplierLogo': (0, AssetFrontendResource_1.AssetFrontendResourceToJSON)(value['supplierLogo']),
|
|
120
|
-
'specsData': value['specsData'],
|
|
121
|
-
'dimensionData': value['dimensionData'],
|
|
122
|
-
'performanceSpecsData': value['performanceSpecsData'],
|
|
123
|
-
};
|
|
124
|
-
}
|
|
@@ -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 { ProductCompareResource } from './ProductCompareResource';
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface ProductCompareResourceArrayResponse
|
|
17
|
-
*/
|
|
18
|
-
export interface ProductCompareResourceArrayResponse {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {Array<ProductCompareResource>}
|
|
22
|
-
* @memberof ProductCompareResourceArrayResponse
|
|
23
|
-
*/
|
|
24
|
-
data?: Array<ProductCompareResource>;
|
|
25
|
-
}
|
|
26
|
-
/**
|
|
27
|
-
* Check if a given object implements the ProductCompareResourceArrayResponse interface.
|
|
28
|
-
*/
|
|
29
|
-
export declare function instanceOfProductCompareResourceArrayResponse(value: object): value is ProductCompareResourceArrayResponse;
|
|
30
|
-
export declare function ProductCompareResourceArrayResponseFromJSON(json: any): ProductCompareResourceArrayResponse;
|
|
31
|
-
export declare function ProductCompareResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProductCompareResourceArrayResponse;
|
|
32
|
-
export declare function ProductCompareResourceArrayResponseToJSON(json: any): ProductCompareResourceArrayResponse;
|
|
33
|
-
export declare function ProductCompareResourceArrayResponseToJSONTyped(value?: ProductCompareResourceArrayResponse | 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.instanceOfProductCompareResourceArrayResponse = instanceOfProductCompareResourceArrayResponse;
|
|
17
|
-
exports.ProductCompareResourceArrayResponseFromJSON = ProductCompareResourceArrayResponseFromJSON;
|
|
18
|
-
exports.ProductCompareResourceArrayResponseFromJSONTyped = ProductCompareResourceArrayResponseFromJSONTyped;
|
|
19
|
-
exports.ProductCompareResourceArrayResponseToJSON = ProductCompareResourceArrayResponseToJSON;
|
|
20
|
-
exports.ProductCompareResourceArrayResponseToJSONTyped = ProductCompareResourceArrayResponseToJSONTyped;
|
|
21
|
-
var ProductCompareResource_1 = require("./ProductCompareResource");
|
|
22
|
-
/**
|
|
23
|
-
* Check if a given object implements the ProductCompareResourceArrayResponse interface.
|
|
24
|
-
*/
|
|
25
|
-
function instanceOfProductCompareResourceArrayResponse(value) {
|
|
26
|
-
return true;
|
|
27
|
-
}
|
|
28
|
-
function ProductCompareResourceArrayResponseFromJSON(json) {
|
|
29
|
-
return ProductCompareResourceArrayResponseFromJSONTyped(json, false);
|
|
30
|
-
}
|
|
31
|
-
function ProductCompareResourceArrayResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
-
if (json == null) {
|
|
33
|
-
return json;
|
|
34
|
-
}
|
|
35
|
-
return {
|
|
36
|
-
'data': json['data'] == null ? undefined : (json['data'].map(ProductCompareResource_1.ProductCompareResourceFromJSON)),
|
|
37
|
-
};
|
|
38
|
-
}
|
|
39
|
-
function ProductCompareResourceArrayResponseToJSON(json) {
|
|
40
|
-
return ProductCompareResourceArrayResponseToJSONTyped(json, false);
|
|
41
|
-
}
|
|
42
|
-
function ProductCompareResourceArrayResponseToJSONTyped(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(ProductCompareResource_1.ProductCompareResourceToJSON)),
|
|
49
|
-
};
|
|
50
|
-
}
|
|
@@ -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
|
-
}
|