@digital8/lighting-illusions-ts-sdk 0.0.1339 → 0.0.1341
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 -90
- package/README.md +3 -63
- package/dist/apis/AttributeApi.d.ts +1 -16
- package/dist/apis/AttributeApi.js +0 -58
- package/dist/apis/index.d.ts +0 -1
- package/dist/apis/index.js +0 -1
- package/dist/models/AttachDocumentablesDocumentRequestDocumentablesInner.d.ts +1 -2
- package/dist/models/AttachDocumentablesDocumentRequestDocumentablesInner.js +1 -2
- package/dist/models/DetachDocumentablesDocumentRequestDocumentablesInner.d.ts +1 -2
- package/dist/models/DetachDocumentablesDocumentRequestDocumentablesInner.js +1 -2
- package/dist/models/ExternalApiLogResource.d.ts +1 -1
- package/dist/models/ExternalApiLogResource.js +1 -3
- package/dist/models/GetAllDocumentRequest.d.ts +1 -2
- package/dist/models/GetAllDocumentRequest.js +1 -2
- package/dist/models/GetAllProductChildRequest.d.ts +0 -1
- package/dist/models/GetAllProductChildRequest.js +0 -1
- package/dist/models/IndexAttributeRequest.d.ts +0 -2
- package/dist/models/IndexAttributeRequest.js +1 -3
- package/dist/models/IndexDocumentRequest.d.ts +1 -2
- package/dist/models/IndexDocumentRequest.js +1 -2
- package/dist/models/IndexProductChildRequest.d.ts +0 -1
- package/dist/models/IndexProductChildRequest.js +0 -1
- package/dist/models/ModelAttributeResource.d.ts +0 -6
- package/dist/models/ModelAttributeResource.js +0 -2
- package/dist/models/ProductSearchResultResource.d.ts +1 -1
- package/dist/models/ProductSearchResultResource.js +3 -3
- package/dist/models/StoreAssetForAssetableRequest.d.ts +0 -2
- package/dist/models/StoreAssetForAssetableRequest.js +1 -3
- package/dist/models/UpdateProductTypeRequest.d.ts +9 -9
- package/dist/models/UpdateProductTypeRequest.js +9 -9
- package/dist/models/UpdateProductTypeRequestPerformanceValuesInner.d.ts +38 -0
- package/dist/models/UpdateProductTypeRequestPerformanceValuesInner.js +51 -0
- package/dist/models/index.d.ts +1 -44
- package/dist/models/index.js +1 -44
- package/docs/AttributeApi.md +0 -66
- package/docs/ModelAttributeResource.md +0 -2
- package/docs/ProductSearchResultResource.md +2 -2
- package/docs/UpdateProductTypeRequest.md +4 -4
- package/docs/{UpdateProductRangeRequestAttributesInner.md → UpdateProductTypeRequestPerformanceValuesInner.md} +4 -4
- package/package.json +1 -1
- package/src/apis/AttributeApi.ts +0 -50
- package/src/apis/index.ts +0 -1
- package/src/models/AttachDocumentablesDocumentRequestDocumentablesInner.ts +1 -2
- package/src/models/DetachDocumentablesDocumentRequestDocumentablesInner.ts +1 -2
- package/src/models/ExternalApiLogResource.ts +2 -3
- package/src/models/GetAllDocumentRequest.ts +1 -2
- package/src/models/GetAllProductChildRequest.ts +0 -1
- package/src/models/IndexAttributeRequest.ts +1 -3
- package/src/models/IndexDocumentRequest.ts +1 -2
- package/src/models/IndexProductChildRequest.ts +0 -1
- package/src/models/ModelAttributeResource.ts +0 -8
- package/src/models/ProductSearchResultResource.ts +4 -4
- package/src/models/StoreAssetForAssetableRequest.ts +1 -3
- package/src/models/UpdateProductTypeRequest.ts +22 -22
- package/src/models/UpdateProductTypeRequestPerformanceValuesInner.ts +73 -0
- package/src/models/index.ts +1 -44
- package/dist/apis/ProductRangeApi.d.ts +0 -269
- package/dist/apis/ProductRangeApi.js +0 -1043
- package/dist/models/AttachAccessoriesProductRangeRequest.d.ts +0 -32
- package/dist/models/AttachAccessoriesProductRangeRequest.js +0 -51
- package/dist/models/AttachAttributesProductRangeRequest.d.ts +0 -33
- package/dist/models/AttachAttributesProductRangeRequest.js +0 -52
- package/dist/models/AttachAttributesProductRangeRequestAttributesInner.d.ts +0 -38
- package/dist/models/AttachAttributesProductRangeRequestAttributesInner.js +0 -53
- package/dist/models/AttachDocumentsProductRangeRequest.d.ts +0 -33
- package/dist/models/AttachDocumentsProductRangeRequest.js +0 -52
- package/dist/models/DetachAccessoriesProductRangeRequest.d.ts +0 -32
- package/dist/models/DetachAccessoriesProductRangeRequest.js +0 -51
- package/dist/models/DetachAttributesProductRangeRequest.d.ts +0 -32
- package/dist/models/DetachAttributesProductRangeRequest.js +0 -51
- package/dist/models/DetachDocumentsProductRangeRequest.d.ts +0 -32
- package/dist/models/DetachDocumentsProductRangeRequest.js +0 -51
- package/dist/models/GetAllProductRangeRequest.d.ts +0 -98
- package/dist/models/GetAllProductRangeRequest.js +0 -82
- package/dist/models/IndexModelAttributeRequest.d.ts +0 -118
- package/dist/models/IndexModelAttributeRequest.js +0 -93
- package/dist/models/IndexProductRangeRequest.d.ts +0 -110
- package/dist/models/IndexProductRangeRequest.js +0 -86
- package/dist/models/ModelAttributeListResource.d.ts +0 -64
- package/dist/models/ModelAttributeListResource.js +0 -71
- package/dist/models/ModelAttributeListResourceArrayResponse.d.ts +0 -33
- package/dist/models/ModelAttributeListResourceArrayResponse.js +0 -50
- package/dist/models/PaginatedModelAttributeListResourceResponse.d.ts +0 -40
- package/dist/models/PaginatedModelAttributeListResourceResponse.js +0 -57
- package/dist/models/PaginatedProductRangeFrontendListResourceResponse.d.ts +0 -40
- package/dist/models/PaginatedProductRangeFrontendListResourceResponse.js +0 -57
- package/dist/models/PaginatedProductRangeListResourceResponse.d.ts +0 -40
- package/dist/models/PaginatedProductRangeListResourceResponse.js +0 -57
- package/dist/models/PaginatedProductRangeLiteResourceResponse.d.ts +0 -40
- package/dist/models/PaginatedProductRangeLiteResourceResponse.js +0 -57
- package/dist/models/PaginatedProductRangeResourceResponse.d.ts +0 -40
- package/dist/models/PaginatedProductRangeResourceResponse.js +0 -57
- package/dist/models/PaginatedProductRangeSearchResultResourceResponse.d.ts +0 -40
- package/dist/models/PaginatedProductRangeSearchResultResourceResponse.js +0 -57
- package/dist/models/ProductRangeAggregationResource.d.ts +0 -44
- package/dist/models/ProductRangeAggregationResource.js +0 -59
- package/dist/models/ProductRangeAggregationResourceArrayResponse.d.ts +0 -33
- package/dist/models/ProductRangeAggregationResourceArrayResponse.js +0 -50
- package/dist/models/ProductRangeFrontendListResource.d.ts +0 -62
- package/dist/models/ProductRangeFrontendListResource.js +0 -71
- package/dist/models/ProductRangeFrontendListResourceArrayResponse.d.ts +0 -33
- package/dist/models/ProductRangeFrontendListResourceArrayResponse.js +0 -50
- package/dist/models/ProductRangeFrontendResource.d.ts +0 -117
- package/dist/models/ProductRangeFrontendResource.js +0 -106
- package/dist/models/ProductRangeFrontendResourceArrayResponse.d.ts +0 -33
- package/dist/models/ProductRangeFrontendResourceArrayResponse.js +0 -50
- package/dist/models/ProductRangeListResource.d.ts +0 -66
- package/dist/models/ProductRangeListResource.js +0 -75
- package/dist/models/ProductRangeListResourceArrayResponse.d.ts +0 -33
- package/dist/models/ProductRangeListResourceArrayResponse.js +0 -50
- package/dist/models/ProductRangeLiteResource.d.ts +0 -38
- package/dist/models/ProductRangeLiteResource.js +0 -55
- package/dist/models/ProductRangeLiteResourceArrayResponse.d.ts +0 -33
- package/dist/models/ProductRangeLiteResourceArrayResponse.js +0 -50
- package/dist/models/ProductRangeResource.d.ts +0 -89
- package/dist/models/ProductRangeResource.js +0 -86
- package/dist/models/ProductRangeResourceArrayResponse.d.ts +0 -33
- package/dist/models/ProductRangeResourceArrayResponse.js +0 -50
- package/dist/models/ProductRangeSearchResponseResource.d.ts +0 -47
- package/dist/models/ProductRangeSearchResponseResource.js +0 -62
- package/dist/models/ProductRangeSearchResponseResourceArrayResponse.d.ts +0 -33
- package/dist/models/ProductRangeSearchResponseResourceArrayResponse.js +0 -50
- package/dist/models/ProductRangeSearchResponseResourceMeta.d.ts +0 -50
- package/dist/models/ProductRangeSearchResponseResourceMeta.js +0 -63
- package/dist/models/ProductRangeSearchResultResource.d.ts +0 -80
- package/dist/models/ProductRangeSearchResultResource.js +0 -83
- package/dist/models/ProductRangeSearchResultResourceArrayResponse.d.ts +0 -33
- package/dist/models/ProductRangeSearchResultResourceArrayResponse.js +0 -50
- package/dist/models/ProductRangeSiteDetailLiteResource.d.ts +0 -44
- package/dist/models/ProductRangeSiteDetailLiteResource.js +0 -59
- package/dist/models/ProductRangeSiteDetailLiteResourceArrayResponse.d.ts +0 -33
- package/dist/models/ProductRangeSiteDetailLiteResourceArrayResponse.js +0 -50
- package/dist/models/ProductRangeSiteDetailResource.d.ts +0 -101
- package/dist/models/ProductRangeSiteDetailResource.js +0 -98
- package/dist/models/ProductRangeSiteDetailResourceArrayResponse.d.ts +0 -33
- package/dist/models/ProductRangeSiteDetailResourceArrayResponse.js +0 -50
- package/dist/models/ProductRangeSortBy.d.ts +0 -27
- package/dist/models/ProductRangeSortBy.js +0 -53
- package/dist/models/StoreProductRangeRequest.d.ts +0 -52
- package/dist/models/StoreProductRangeRequest.js +0 -59
- package/dist/models/StoreProductRangeRequestSitesInner.d.ts +0 -92
- package/dist/models/StoreProductRangeRequestSitesInner.js +0 -75
- package/dist/models/UpdateProductRangeRequest.d.ts +0 -59
- package/dist/models/UpdateProductRangeRequest.js +0 -62
- package/dist/models/UpdateProductRangeRequestAttributesInner.d.ts +0 -38
- package/dist/models/UpdateProductRangeRequestAttributesInner.js +0 -51
- package/docs/AttachAccessoriesProductRangeRequest.md +0 -34
- package/docs/AttachAttributesProductRangeRequest.md +0 -34
- package/docs/AttachAttributesProductRangeRequestAttributesInner.md +0 -36
- package/docs/AttachDocumentsProductRangeRequest.md +0 -34
- package/docs/DetachAccessoriesProductRangeRequest.md +0 -34
- package/docs/DetachAttributesProductRangeRequest.md +0 -34
- package/docs/DetachDocumentsProductRangeRequest.md +0 -34
- package/docs/GetAllProductRangeRequest.md +0 -50
- package/docs/IndexModelAttributeRequest.md +0 -54
- package/docs/IndexProductRangeRequest.md +0 -54
- package/docs/ModelAttributeListResource.md +0 -44
- package/docs/ModelAttributeListResourceArrayResponse.md +0 -34
- package/docs/PaginatedModelAttributeListResourceResponse.md +0 -36
- package/docs/PaginatedProductRangeFrontendListResourceResponse.md +0 -36
- package/docs/PaginatedProductRangeListResourceResponse.md +0 -36
- package/docs/PaginatedProductRangeLiteResourceResponse.md +0 -36
- package/docs/PaginatedProductRangeResourceResponse.md +0 -36
- package/docs/PaginatedProductRangeSearchResultResourceResponse.md +0 -36
- package/docs/ProductRangeAggregationResource.md +0 -38
- package/docs/ProductRangeAggregationResourceArrayResponse.md +0 -34
- package/docs/ProductRangeApi.md +0 -1097
- package/docs/ProductRangeFrontendListResource.md +0 -44
- package/docs/ProductRangeFrontendListResourceArrayResponse.md +0 -34
- package/docs/ProductRangeFrontendResource.md +0 -62
- package/docs/ProductRangeFrontendResourceArrayResponse.md +0 -34
- package/docs/ProductRangeListResource.md +0 -44
- package/docs/ProductRangeListResourceArrayResponse.md +0 -34
- package/docs/ProductRangeLiteResource.md +0 -36
- package/docs/ProductRangeLiteResourceArrayResponse.md +0 -34
- package/docs/ProductRangeResource.md +0 -52
- package/docs/ProductRangeResourceArrayResponse.md +0 -34
- package/docs/ProductRangeSearchResponseResource.md +0 -38
- package/docs/ProductRangeSearchResponseResourceArrayResponse.md +0 -34
- package/docs/ProductRangeSearchResponseResourceMeta.md +0 -40
- package/docs/ProductRangeSearchResultResource.md +0 -50
- package/docs/ProductRangeSearchResultResourceArrayResponse.md +0 -34
- package/docs/ProductRangeSiteDetailLiteResource.md +0 -38
- package/docs/ProductRangeSiteDetailLiteResourceArrayResponse.md +0 -34
- package/docs/ProductRangeSiteDetailResource.md +0 -56
- package/docs/ProductRangeSiteDetailResourceArrayResponse.md +0 -34
- package/docs/ProductRangeSortBy.md +0 -32
- package/docs/StoreProductRangeRequest.md +0 -40
- package/docs/StoreProductRangeRequestSitesInner.md +0 -54
- package/docs/UpdateProductRangeRequest.md +0 -42
- package/src/apis/ProductRangeApi.ts +0 -888
- package/src/models/AttachAccessoriesProductRangeRequest.ts +0 -66
- package/src/models/AttachAttributesProductRangeRequest.ts +0 -74
- package/src/models/AttachAttributesProductRangeRequestAttributesInner.ts +0 -74
- package/src/models/AttachDocumentsProductRangeRequest.ts +0 -74
- package/src/models/DetachAccessoriesProductRangeRequest.ts +0 -66
- package/src/models/DetachAttributesProductRangeRequest.ts +0 -66
- package/src/models/DetachDocumentsProductRangeRequest.ts +0 -66
- package/src/models/GetAllProductRangeRequest.ts +0 -151
- package/src/models/IndexModelAttributeRequest.ts +0 -176
- package/src/models/IndexProductRangeRequest.ts +0 -167
- package/src/models/ModelAttributeListResource.ts +0 -125
- package/src/models/ModelAttributeListResourceArrayResponse.ts +0 -73
- package/src/models/PaginatedModelAttributeListResourceResponse.ts +0 -90
- package/src/models/PaginatedProductRangeFrontendListResourceResponse.ts +0 -90
- package/src/models/PaginatedProductRangeListResourceResponse.ts +0 -90
- package/src/models/PaginatedProductRangeLiteResourceResponse.ts +0 -90
- package/src/models/PaginatedProductRangeResourceResponse.ts +0 -90
- package/src/models/PaginatedProductRangeSearchResultResourceResponse.ts +0 -90
- package/src/models/ProductRangeAggregationResource.ts +0 -84
- package/src/models/ProductRangeAggregationResourceArrayResponse.ts +0 -73
- package/src/models/ProductRangeFrontendListResource.ts +0 -111
- package/src/models/ProductRangeFrontendListResourceArrayResponse.ts +0 -73
- package/src/models/ProductRangeFrontendResource.ts +0 -199
- package/src/models/ProductRangeFrontendResourceArrayResponse.ts +0 -73
- package/src/models/ProductRangeListResource.ts +0 -140
- package/src/models/ProductRangeListResourceArrayResponse.ts +0 -73
- package/src/models/ProductRangeLiteResource.ts +0 -75
- package/src/models/ProductRangeLiteResourceArrayResponse.ts +0 -73
- package/src/models/ProductRangeResource.ts +0 -167
- package/src/models/ProductRangeResourceArrayResponse.ts +0 -73
- package/src/models/ProductRangeSearchResponseResource.ts +0 -106
- package/src/models/ProductRangeSearchResponseResourceArrayResponse.ts +0 -73
- package/src/models/ProductRangeSearchResponseResourceMeta.ts +0 -93
- package/src/models/ProductRangeSearchResultResource.ts +0 -138
- package/src/models/ProductRangeSearchResultResourceArrayResponse.ts +0 -73
- package/src/models/ProductRangeSiteDetailLiteResource.ts +0 -84
- package/src/models/ProductRangeSiteDetailLiteResourceArrayResponse.ts +0 -73
- package/src/models/ProductRangeSiteDetailResource.ts +0 -187
- package/src/models/ProductRangeSiteDetailResourceArrayResponse.ts +0 -73
- package/src/models/ProductRangeSortBy.ts +0 -55
- package/src/models/StoreProductRangeRequest.ts +0 -105
- package/src/models/StoreProductRangeRequestSitesInner.ts +0 -148
- package/src/models/UpdateProductRangeRequest.ts +0 -120
- package/src/models/UpdateProductRangeRequestAttributesInner.ts +0 -73
|
@@ -1,83 +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.instanceOfProductRangeSearchResultResource = instanceOfProductRangeSearchResultResource;
|
|
17
|
-
exports.ProductRangeSearchResultResourceFromJSON = ProductRangeSearchResultResourceFromJSON;
|
|
18
|
-
exports.ProductRangeSearchResultResourceFromJSONTyped = ProductRangeSearchResultResourceFromJSONTyped;
|
|
19
|
-
exports.ProductRangeSearchResultResourceToJSON = ProductRangeSearchResultResourceToJSON;
|
|
20
|
-
exports.ProductRangeSearchResultResourceToJSONTyped = ProductRangeSearchResultResourceToJSONTyped;
|
|
21
|
-
/**
|
|
22
|
-
* Check if a given object implements the ProductRangeSearchResultResource interface.
|
|
23
|
-
*/
|
|
24
|
-
function instanceOfProductRangeSearchResultResource(value) {
|
|
25
|
-
if (!('id' in value) || value['id'] === undefined)
|
|
26
|
-
return false;
|
|
27
|
-
if (!('name' in value) || value['name'] === undefined)
|
|
28
|
-
return false;
|
|
29
|
-
if (!('slug' in value) || value['slug'] === undefined)
|
|
30
|
-
return false;
|
|
31
|
-
if (!('excerpt' in value) || value['excerpt'] === undefined)
|
|
32
|
-
return false;
|
|
33
|
-
if (!('thumbnail' in value) || value['thumbnail'] === undefined)
|
|
34
|
-
return false;
|
|
35
|
-
if (!('supplierName' in value) || value['supplierName'] === undefined)
|
|
36
|
-
return false;
|
|
37
|
-
if (!('supplierId' in value) || value['supplierId'] === undefined)
|
|
38
|
-
return false;
|
|
39
|
-
if (!('supplierThumbnail' in value) || value['supplierThumbnail'] === undefined)
|
|
40
|
-
return false;
|
|
41
|
-
if (!('categories' in value) || value['categories'] === undefined)
|
|
42
|
-
return false;
|
|
43
|
-
return true;
|
|
44
|
-
}
|
|
45
|
-
function ProductRangeSearchResultResourceFromJSON(json) {
|
|
46
|
-
return ProductRangeSearchResultResourceFromJSONTyped(json, false);
|
|
47
|
-
}
|
|
48
|
-
function ProductRangeSearchResultResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
49
|
-
if (json == null) {
|
|
50
|
-
return json;
|
|
51
|
-
}
|
|
52
|
-
return {
|
|
53
|
-
'id': json['id'],
|
|
54
|
-
'name': json['name'],
|
|
55
|
-
'slug': json['slug'],
|
|
56
|
-
'excerpt': json['excerpt'],
|
|
57
|
-
'thumbnail': json['thumbnail'],
|
|
58
|
-
'supplierName': json['supplierName'],
|
|
59
|
-
'supplierId': json['supplierId'],
|
|
60
|
-
'supplierThumbnail': json['supplierThumbnail'],
|
|
61
|
-
'categories': json['categories'],
|
|
62
|
-
};
|
|
63
|
-
}
|
|
64
|
-
function ProductRangeSearchResultResourceToJSON(json) {
|
|
65
|
-
return ProductRangeSearchResultResourceToJSONTyped(json, false);
|
|
66
|
-
}
|
|
67
|
-
function ProductRangeSearchResultResourceToJSONTyped(value, ignoreDiscriminator) {
|
|
68
|
-
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
69
|
-
if (value == null) {
|
|
70
|
-
return value;
|
|
71
|
-
}
|
|
72
|
-
return {
|
|
73
|
-
'id': value['id'],
|
|
74
|
-
'name': value['name'],
|
|
75
|
-
'slug': value['slug'],
|
|
76
|
-
'excerpt': value['excerpt'],
|
|
77
|
-
'thumbnail': value['thumbnail'],
|
|
78
|
-
'supplierName': value['supplierName'],
|
|
79
|
-
'supplierId': value['supplierId'],
|
|
80
|
-
'supplierThumbnail': value['supplierThumbnail'],
|
|
81
|
-
'categories': value['categories'],
|
|
82
|
-
};
|
|
83
|
-
}
|
|
@@ -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 { ProductRangeSearchResultResource } from './ProductRangeSearchResultResource';
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface ProductRangeSearchResultResourceArrayResponse
|
|
17
|
-
*/
|
|
18
|
-
export interface ProductRangeSearchResultResourceArrayResponse {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {Array<ProductRangeSearchResultResource>}
|
|
22
|
-
* @memberof ProductRangeSearchResultResourceArrayResponse
|
|
23
|
-
*/
|
|
24
|
-
data?: Array<ProductRangeSearchResultResource>;
|
|
25
|
-
}
|
|
26
|
-
/**
|
|
27
|
-
* Check if a given object implements the ProductRangeSearchResultResourceArrayResponse interface.
|
|
28
|
-
*/
|
|
29
|
-
export declare function instanceOfProductRangeSearchResultResourceArrayResponse(value: object): value is ProductRangeSearchResultResourceArrayResponse;
|
|
30
|
-
export declare function ProductRangeSearchResultResourceArrayResponseFromJSON(json: any): ProductRangeSearchResultResourceArrayResponse;
|
|
31
|
-
export declare function ProductRangeSearchResultResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProductRangeSearchResultResourceArrayResponse;
|
|
32
|
-
export declare function ProductRangeSearchResultResourceArrayResponseToJSON(json: any): ProductRangeSearchResultResourceArrayResponse;
|
|
33
|
-
export declare function ProductRangeSearchResultResourceArrayResponseToJSONTyped(value?: ProductRangeSearchResultResourceArrayResponse | 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.instanceOfProductRangeSearchResultResourceArrayResponse = instanceOfProductRangeSearchResultResourceArrayResponse;
|
|
17
|
-
exports.ProductRangeSearchResultResourceArrayResponseFromJSON = ProductRangeSearchResultResourceArrayResponseFromJSON;
|
|
18
|
-
exports.ProductRangeSearchResultResourceArrayResponseFromJSONTyped = ProductRangeSearchResultResourceArrayResponseFromJSONTyped;
|
|
19
|
-
exports.ProductRangeSearchResultResourceArrayResponseToJSON = ProductRangeSearchResultResourceArrayResponseToJSON;
|
|
20
|
-
exports.ProductRangeSearchResultResourceArrayResponseToJSONTyped = ProductRangeSearchResultResourceArrayResponseToJSONTyped;
|
|
21
|
-
var ProductRangeSearchResultResource_1 = require("./ProductRangeSearchResultResource");
|
|
22
|
-
/**
|
|
23
|
-
* Check if a given object implements the ProductRangeSearchResultResourceArrayResponse interface.
|
|
24
|
-
*/
|
|
25
|
-
function instanceOfProductRangeSearchResultResourceArrayResponse(value) {
|
|
26
|
-
return true;
|
|
27
|
-
}
|
|
28
|
-
function ProductRangeSearchResultResourceArrayResponseFromJSON(json) {
|
|
29
|
-
return ProductRangeSearchResultResourceArrayResponseFromJSONTyped(json, false);
|
|
30
|
-
}
|
|
31
|
-
function ProductRangeSearchResultResourceArrayResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
-
if (json == null) {
|
|
33
|
-
return json;
|
|
34
|
-
}
|
|
35
|
-
return {
|
|
36
|
-
'data': json['data'] == null ? undefined : (json['data'].map(ProductRangeSearchResultResource_1.ProductRangeSearchResultResourceFromJSON)),
|
|
37
|
-
};
|
|
38
|
-
}
|
|
39
|
-
function ProductRangeSearchResultResourceArrayResponseToJSON(json) {
|
|
40
|
-
return ProductRangeSearchResultResourceArrayResponseToJSONTyped(json, false);
|
|
41
|
-
}
|
|
42
|
-
function ProductRangeSearchResultResourceArrayResponseToJSONTyped(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(ProductRangeSearchResultResource_1.ProductRangeSearchResultResourceToJSON)),
|
|
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 ProductRangeSiteDetailLiteResource
|
|
16
|
-
*/
|
|
17
|
-
export interface ProductRangeSiteDetailLiteResource {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {number}
|
|
21
|
-
* @memberof ProductRangeSiteDetailLiteResource
|
|
22
|
-
*/
|
|
23
|
-
id: number;
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {number}
|
|
27
|
-
* @memberof ProductRangeSiteDetailLiteResource
|
|
28
|
-
*/
|
|
29
|
-
siteId: number;
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof ProductRangeSiteDetailLiteResource
|
|
34
|
-
*/
|
|
35
|
-
slug: string;
|
|
36
|
-
}
|
|
37
|
-
/**
|
|
38
|
-
* Check if a given object implements the ProductRangeSiteDetailLiteResource interface.
|
|
39
|
-
*/
|
|
40
|
-
export declare function instanceOfProductRangeSiteDetailLiteResource(value: object): value is ProductRangeSiteDetailLiteResource;
|
|
41
|
-
export declare function ProductRangeSiteDetailLiteResourceFromJSON(json: any): ProductRangeSiteDetailLiteResource;
|
|
42
|
-
export declare function ProductRangeSiteDetailLiteResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProductRangeSiteDetailLiteResource;
|
|
43
|
-
export declare function ProductRangeSiteDetailLiteResourceToJSON(json: any): ProductRangeSiteDetailLiteResource;
|
|
44
|
-
export declare function ProductRangeSiteDetailLiteResourceToJSONTyped(value?: ProductRangeSiteDetailLiteResource | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,59 +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.instanceOfProductRangeSiteDetailLiteResource = instanceOfProductRangeSiteDetailLiteResource;
|
|
17
|
-
exports.ProductRangeSiteDetailLiteResourceFromJSON = ProductRangeSiteDetailLiteResourceFromJSON;
|
|
18
|
-
exports.ProductRangeSiteDetailLiteResourceFromJSONTyped = ProductRangeSiteDetailLiteResourceFromJSONTyped;
|
|
19
|
-
exports.ProductRangeSiteDetailLiteResourceToJSON = ProductRangeSiteDetailLiteResourceToJSON;
|
|
20
|
-
exports.ProductRangeSiteDetailLiteResourceToJSONTyped = ProductRangeSiteDetailLiteResourceToJSONTyped;
|
|
21
|
-
/**
|
|
22
|
-
* Check if a given object implements the ProductRangeSiteDetailLiteResource interface.
|
|
23
|
-
*/
|
|
24
|
-
function instanceOfProductRangeSiteDetailLiteResource(value) {
|
|
25
|
-
if (!('id' in value) || value['id'] === undefined)
|
|
26
|
-
return false;
|
|
27
|
-
if (!('siteId' in value) || value['siteId'] === undefined)
|
|
28
|
-
return false;
|
|
29
|
-
if (!('slug' in value) || value['slug'] === undefined)
|
|
30
|
-
return false;
|
|
31
|
-
return true;
|
|
32
|
-
}
|
|
33
|
-
function ProductRangeSiteDetailLiteResourceFromJSON(json) {
|
|
34
|
-
return ProductRangeSiteDetailLiteResourceFromJSONTyped(json, false);
|
|
35
|
-
}
|
|
36
|
-
function ProductRangeSiteDetailLiteResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
|
-
if (json == null) {
|
|
38
|
-
return json;
|
|
39
|
-
}
|
|
40
|
-
return {
|
|
41
|
-
'id': json['id'],
|
|
42
|
-
'siteId': json['siteId'],
|
|
43
|
-
'slug': json['slug'],
|
|
44
|
-
};
|
|
45
|
-
}
|
|
46
|
-
function ProductRangeSiteDetailLiteResourceToJSON(json) {
|
|
47
|
-
return ProductRangeSiteDetailLiteResourceToJSONTyped(json, false);
|
|
48
|
-
}
|
|
49
|
-
function ProductRangeSiteDetailLiteResourceToJSONTyped(value, ignoreDiscriminator) {
|
|
50
|
-
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
51
|
-
if (value == null) {
|
|
52
|
-
return value;
|
|
53
|
-
}
|
|
54
|
-
return {
|
|
55
|
-
'id': value['id'],
|
|
56
|
-
'siteId': value['siteId'],
|
|
57
|
-
'slug': value['slug'],
|
|
58
|
-
};
|
|
59
|
-
}
|
|
@@ -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 { ProductRangeSiteDetailLiteResource } from './ProductRangeSiteDetailLiteResource';
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface ProductRangeSiteDetailLiteResourceArrayResponse
|
|
17
|
-
*/
|
|
18
|
-
export interface ProductRangeSiteDetailLiteResourceArrayResponse {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {Array<ProductRangeSiteDetailLiteResource>}
|
|
22
|
-
* @memberof ProductRangeSiteDetailLiteResourceArrayResponse
|
|
23
|
-
*/
|
|
24
|
-
data?: Array<ProductRangeSiteDetailLiteResource>;
|
|
25
|
-
}
|
|
26
|
-
/**
|
|
27
|
-
* Check if a given object implements the ProductRangeSiteDetailLiteResourceArrayResponse interface.
|
|
28
|
-
*/
|
|
29
|
-
export declare function instanceOfProductRangeSiteDetailLiteResourceArrayResponse(value: object): value is ProductRangeSiteDetailLiteResourceArrayResponse;
|
|
30
|
-
export declare function ProductRangeSiteDetailLiteResourceArrayResponseFromJSON(json: any): ProductRangeSiteDetailLiteResourceArrayResponse;
|
|
31
|
-
export declare function ProductRangeSiteDetailLiteResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProductRangeSiteDetailLiteResourceArrayResponse;
|
|
32
|
-
export declare function ProductRangeSiteDetailLiteResourceArrayResponseToJSON(json: any): ProductRangeSiteDetailLiteResourceArrayResponse;
|
|
33
|
-
export declare function ProductRangeSiteDetailLiteResourceArrayResponseToJSONTyped(value?: ProductRangeSiteDetailLiteResourceArrayResponse | 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.instanceOfProductRangeSiteDetailLiteResourceArrayResponse = instanceOfProductRangeSiteDetailLiteResourceArrayResponse;
|
|
17
|
-
exports.ProductRangeSiteDetailLiteResourceArrayResponseFromJSON = ProductRangeSiteDetailLiteResourceArrayResponseFromJSON;
|
|
18
|
-
exports.ProductRangeSiteDetailLiteResourceArrayResponseFromJSONTyped = ProductRangeSiteDetailLiteResourceArrayResponseFromJSONTyped;
|
|
19
|
-
exports.ProductRangeSiteDetailLiteResourceArrayResponseToJSON = ProductRangeSiteDetailLiteResourceArrayResponseToJSON;
|
|
20
|
-
exports.ProductRangeSiteDetailLiteResourceArrayResponseToJSONTyped = ProductRangeSiteDetailLiteResourceArrayResponseToJSONTyped;
|
|
21
|
-
var ProductRangeSiteDetailLiteResource_1 = require("./ProductRangeSiteDetailLiteResource");
|
|
22
|
-
/**
|
|
23
|
-
* Check if a given object implements the ProductRangeSiteDetailLiteResourceArrayResponse interface.
|
|
24
|
-
*/
|
|
25
|
-
function instanceOfProductRangeSiteDetailLiteResourceArrayResponse(value) {
|
|
26
|
-
return true;
|
|
27
|
-
}
|
|
28
|
-
function ProductRangeSiteDetailLiteResourceArrayResponseFromJSON(json) {
|
|
29
|
-
return ProductRangeSiteDetailLiteResourceArrayResponseFromJSONTyped(json, false);
|
|
30
|
-
}
|
|
31
|
-
function ProductRangeSiteDetailLiteResourceArrayResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
-
if (json == null) {
|
|
33
|
-
return json;
|
|
34
|
-
}
|
|
35
|
-
return {
|
|
36
|
-
'data': json['data'] == null ? undefined : (json['data'].map(ProductRangeSiteDetailLiteResource_1.ProductRangeSiteDetailLiteResourceFromJSON)),
|
|
37
|
-
};
|
|
38
|
-
}
|
|
39
|
-
function ProductRangeSiteDetailLiteResourceArrayResponseToJSON(json) {
|
|
40
|
-
return ProductRangeSiteDetailLiteResourceArrayResponseToJSONTyped(json, false);
|
|
41
|
-
}
|
|
42
|
-
function ProductRangeSiteDetailLiteResourceArrayResponseToJSONTyped(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(ProductRangeSiteDetailLiteResource_1.ProductRangeSiteDetailLiteResourceToJSON)),
|
|
49
|
-
};
|
|
50
|
-
}
|
|
@@ -1,101 +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 { SiteLiteResource } from './SiteLiteResource';
|
|
13
|
-
import type { ProductCategoryLiteResource } from './ProductCategoryLiteResource';
|
|
14
|
-
import type { SEOResource } from './SEOResource';
|
|
15
|
-
/**
|
|
16
|
-
*
|
|
17
|
-
* @export
|
|
18
|
-
* @interface ProductRangeSiteDetailResource
|
|
19
|
-
*/
|
|
20
|
-
export interface ProductRangeSiteDetailResource {
|
|
21
|
-
/**
|
|
22
|
-
*
|
|
23
|
-
* @type {number}
|
|
24
|
-
* @memberof ProductRangeSiteDetailResource
|
|
25
|
-
*/
|
|
26
|
-
id: number;
|
|
27
|
-
/**
|
|
28
|
-
*
|
|
29
|
-
* @type {number}
|
|
30
|
-
* @memberof ProductRangeSiteDetailResource
|
|
31
|
-
*/
|
|
32
|
-
siteId: number;
|
|
33
|
-
/**
|
|
34
|
-
*
|
|
35
|
-
* @type {SiteLiteResource}
|
|
36
|
-
* @memberof ProductRangeSiteDetailResource
|
|
37
|
-
*/
|
|
38
|
-
site: SiteLiteResource | null;
|
|
39
|
-
/**
|
|
40
|
-
*
|
|
41
|
-
* @type {string}
|
|
42
|
-
* @memberof ProductRangeSiteDetailResource
|
|
43
|
-
*/
|
|
44
|
-
name: string;
|
|
45
|
-
/**
|
|
46
|
-
*
|
|
47
|
-
* @type {string}
|
|
48
|
-
* @memberof ProductRangeSiteDetailResource
|
|
49
|
-
*/
|
|
50
|
-
slug: string;
|
|
51
|
-
/**
|
|
52
|
-
*
|
|
53
|
-
* @type {string}
|
|
54
|
-
* @memberof ProductRangeSiteDetailResource
|
|
55
|
-
*/
|
|
56
|
-
description: string;
|
|
57
|
-
/**
|
|
58
|
-
*
|
|
59
|
-
* @type {string}
|
|
60
|
-
* @memberof ProductRangeSiteDetailResource
|
|
61
|
-
*/
|
|
62
|
-
content: string;
|
|
63
|
-
/**
|
|
64
|
-
*
|
|
65
|
-
* @type {string}
|
|
66
|
-
* @memberof ProductRangeSiteDetailResource
|
|
67
|
-
*/
|
|
68
|
-
excerpt: string;
|
|
69
|
-
/**
|
|
70
|
-
*
|
|
71
|
-
* @type {number}
|
|
72
|
-
* @memberof ProductRangeSiteDetailResource
|
|
73
|
-
*/
|
|
74
|
-
popularityScore: number;
|
|
75
|
-
/**
|
|
76
|
-
*
|
|
77
|
-
* @type {boolean}
|
|
78
|
-
* @memberof ProductRangeSiteDetailResource
|
|
79
|
-
*/
|
|
80
|
-
isDisabled: boolean;
|
|
81
|
-
/**
|
|
82
|
-
*
|
|
83
|
-
* @type {SEOResource}
|
|
84
|
-
* @memberof ProductRangeSiteDetailResource
|
|
85
|
-
*/
|
|
86
|
-
seo: SEOResource | null;
|
|
87
|
-
/**
|
|
88
|
-
*
|
|
89
|
-
* @type {Array<ProductCategoryLiteResource>}
|
|
90
|
-
* @memberof ProductRangeSiteDetailResource
|
|
91
|
-
*/
|
|
92
|
-
categories: Array<ProductCategoryLiteResource> | null;
|
|
93
|
-
}
|
|
94
|
-
/**
|
|
95
|
-
* Check if a given object implements the ProductRangeSiteDetailResource interface.
|
|
96
|
-
*/
|
|
97
|
-
export declare function instanceOfProductRangeSiteDetailResource(value: object): value is ProductRangeSiteDetailResource;
|
|
98
|
-
export declare function ProductRangeSiteDetailResourceFromJSON(json: any): ProductRangeSiteDetailResource;
|
|
99
|
-
export declare function ProductRangeSiteDetailResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProductRangeSiteDetailResource;
|
|
100
|
-
export declare function ProductRangeSiteDetailResourceToJSON(json: any): ProductRangeSiteDetailResource;
|
|
101
|
-
export declare function ProductRangeSiteDetailResourceToJSONTyped(value?: ProductRangeSiteDetailResource | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,98 +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.instanceOfProductRangeSiteDetailResource = instanceOfProductRangeSiteDetailResource;
|
|
17
|
-
exports.ProductRangeSiteDetailResourceFromJSON = ProductRangeSiteDetailResourceFromJSON;
|
|
18
|
-
exports.ProductRangeSiteDetailResourceFromJSONTyped = ProductRangeSiteDetailResourceFromJSONTyped;
|
|
19
|
-
exports.ProductRangeSiteDetailResourceToJSON = ProductRangeSiteDetailResourceToJSON;
|
|
20
|
-
exports.ProductRangeSiteDetailResourceToJSONTyped = ProductRangeSiteDetailResourceToJSONTyped;
|
|
21
|
-
var SiteLiteResource_1 = require("./SiteLiteResource");
|
|
22
|
-
var ProductCategoryLiteResource_1 = require("./ProductCategoryLiteResource");
|
|
23
|
-
var SEOResource_1 = require("./SEOResource");
|
|
24
|
-
/**
|
|
25
|
-
* Check if a given object implements the ProductRangeSiteDetailResource interface.
|
|
26
|
-
*/
|
|
27
|
-
function instanceOfProductRangeSiteDetailResource(value) {
|
|
28
|
-
if (!('id' in value) || value['id'] === undefined)
|
|
29
|
-
return false;
|
|
30
|
-
if (!('siteId' in value) || value['siteId'] === undefined)
|
|
31
|
-
return false;
|
|
32
|
-
if (!('site' in value) || value['site'] === undefined)
|
|
33
|
-
return false;
|
|
34
|
-
if (!('name' in value) || value['name'] === undefined)
|
|
35
|
-
return false;
|
|
36
|
-
if (!('slug' in value) || value['slug'] === undefined)
|
|
37
|
-
return false;
|
|
38
|
-
if (!('description' in value) || value['description'] === undefined)
|
|
39
|
-
return false;
|
|
40
|
-
if (!('content' in value) || value['content'] === undefined)
|
|
41
|
-
return false;
|
|
42
|
-
if (!('excerpt' in value) || value['excerpt'] === undefined)
|
|
43
|
-
return false;
|
|
44
|
-
if (!('popularityScore' in value) || value['popularityScore'] === undefined)
|
|
45
|
-
return false;
|
|
46
|
-
if (!('isDisabled' in value) || value['isDisabled'] === undefined)
|
|
47
|
-
return false;
|
|
48
|
-
if (!('seo' in value) || value['seo'] === undefined)
|
|
49
|
-
return false;
|
|
50
|
-
if (!('categories' in value) || value['categories'] === undefined)
|
|
51
|
-
return false;
|
|
52
|
-
return true;
|
|
53
|
-
}
|
|
54
|
-
function ProductRangeSiteDetailResourceFromJSON(json) {
|
|
55
|
-
return ProductRangeSiteDetailResourceFromJSONTyped(json, false);
|
|
56
|
-
}
|
|
57
|
-
function ProductRangeSiteDetailResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
58
|
-
if (json == null) {
|
|
59
|
-
return json;
|
|
60
|
-
}
|
|
61
|
-
return {
|
|
62
|
-
'id': json['id'],
|
|
63
|
-
'siteId': json['siteId'],
|
|
64
|
-
'site': (0, SiteLiteResource_1.SiteLiteResourceFromJSON)(json['site']),
|
|
65
|
-
'name': json['name'],
|
|
66
|
-
'slug': json['slug'],
|
|
67
|
-
'description': json['description'],
|
|
68
|
-
'content': json['content'],
|
|
69
|
-
'excerpt': json['excerpt'],
|
|
70
|
-
'popularityScore': json['popularityScore'],
|
|
71
|
-
'isDisabled': json['isDisabled'],
|
|
72
|
-
'seo': (0, SEOResource_1.SEOResourceFromJSON)(json['seo']),
|
|
73
|
-
'categories': (json['categories'] == null ? null : json['categories'].map(ProductCategoryLiteResource_1.ProductCategoryLiteResourceFromJSON)),
|
|
74
|
-
};
|
|
75
|
-
}
|
|
76
|
-
function ProductRangeSiteDetailResourceToJSON(json) {
|
|
77
|
-
return ProductRangeSiteDetailResourceToJSONTyped(json, false);
|
|
78
|
-
}
|
|
79
|
-
function ProductRangeSiteDetailResourceToJSONTyped(value, ignoreDiscriminator) {
|
|
80
|
-
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
81
|
-
if (value == null) {
|
|
82
|
-
return value;
|
|
83
|
-
}
|
|
84
|
-
return {
|
|
85
|
-
'id': value['id'],
|
|
86
|
-
'siteId': value['siteId'],
|
|
87
|
-
'site': (0, SiteLiteResource_1.SiteLiteResourceToJSON)(value['site']),
|
|
88
|
-
'name': value['name'],
|
|
89
|
-
'slug': value['slug'],
|
|
90
|
-
'description': value['description'],
|
|
91
|
-
'content': value['content'],
|
|
92
|
-
'excerpt': value['excerpt'],
|
|
93
|
-
'popularityScore': value['popularityScore'],
|
|
94
|
-
'isDisabled': value['isDisabled'],
|
|
95
|
-
'seo': (0, SEOResource_1.SEOResourceToJSON)(value['seo']),
|
|
96
|
-
'categories': (value['categories'] == null ? null : value['categories'].map(ProductCategoryLiteResource_1.ProductCategoryLiteResourceToJSON)),
|
|
97
|
-
};
|
|
98
|
-
}
|
|
@@ -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 { ProductRangeSiteDetailResource } from './ProductRangeSiteDetailResource';
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface ProductRangeSiteDetailResourceArrayResponse
|
|
17
|
-
*/
|
|
18
|
-
export interface ProductRangeSiteDetailResourceArrayResponse {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {Array<ProductRangeSiteDetailResource>}
|
|
22
|
-
* @memberof ProductRangeSiteDetailResourceArrayResponse
|
|
23
|
-
*/
|
|
24
|
-
data?: Array<ProductRangeSiteDetailResource>;
|
|
25
|
-
}
|
|
26
|
-
/**
|
|
27
|
-
* Check if a given object implements the ProductRangeSiteDetailResourceArrayResponse interface.
|
|
28
|
-
*/
|
|
29
|
-
export declare function instanceOfProductRangeSiteDetailResourceArrayResponse(value: object): value is ProductRangeSiteDetailResourceArrayResponse;
|
|
30
|
-
export declare function ProductRangeSiteDetailResourceArrayResponseFromJSON(json: any): ProductRangeSiteDetailResourceArrayResponse;
|
|
31
|
-
export declare function ProductRangeSiteDetailResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProductRangeSiteDetailResourceArrayResponse;
|
|
32
|
-
export declare function ProductRangeSiteDetailResourceArrayResponseToJSON(json: any): ProductRangeSiteDetailResourceArrayResponse;
|
|
33
|
-
export declare function ProductRangeSiteDetailResourceArrayResponseToJSONTyped(value?: ProductRangeSiteDetailResourceArrayResponse | 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.instanceOfProductRangeSiteDetailResourceArrayResponse = instanceOfProductRangeSiteDetailResourceArrayResponse;
|
|
17
|
-
exports.ProductRangeSiteDetailResourceArrayResponseFromJSON = ProductRangeSiteDetailResourceArrayResponseFromJSON;
|
|
18
|
-
exports.ProductRangeSiteDetailResourceArrayResponseFromJSONTyped = ProductRangeSiteDetailResourceArrayResponseFromJSONTyped;
|
|
19
|
-
exports.ProductRangeSiteDetailResourceArrayResponseToJSON = ProductRangeSiteDetailResourceArrayResponseToJSON;
|
|
20
|
-
exports.ProductRangeSiteDetailResourceArrayResponseToJSONTyped = ProductRangeSiteDetailResourceArrayResponseToJSONTyped;
|
|
21
|
-
var ProductRangeSiteDetailResource_1 = require("./ProductRangeSiteDetailResource");
|
|
22
|
-
/**
|
|
23
|
-
* Check if a given object implements the ProductRangeSiteDetailResourceArrayResponse interface.
|
|
24
|
-
*/
|
|
25
|
-
function instanceOfProductRangeSiteDetailResourceArrayResponse(value) {
|
|
26
|
-
return true;
|
|
27
|
-
}
|
|
28
|
-
function ProductRangeSiteDetailResourceArrayResponseFromJSON(json) {
|
|
29
|
-
return ProductRangeSiteDetailResourceArrayResponseFromJSONTyped(json, false);
|
|
30
|
-
}
|
|
31
|
-
function ProductRangeSiteDetailResourceArrayResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
-
if (json == null) {
|
|
33
|
-
return json;
|
|
34
|
-
}
|
|
35
|
-
return {
|
|
36
|
-
'data': json['data'] == null ? undefined : (json['data'].map(ProductRangeSiteDetailResource_1.ProductRangeSiteDetailResourceFromJSON)),
|
|
37
|
-
};
|
|
38
|
-
}
|
|
39
|
-
function ProductRangeSiteDetailResourceArrayResponseToJSON(json) {
|
|
40
|
-
return ProductRangeSiteDetailResourceArrayResponseToJSONTyped(json, false);
|
|
41
|
-
}
|
|
42
|
-
function ProductRangeSiteDetailResourceArrayResponseToJSONTyped(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(ProductRangeSiteDetailResource_1.ProductRangeSiteDetailResourceToJSON)),
|
|
49
|
-
};
|
|
50
|
-
}
|
|
@@ -1,27 +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 ProductRangeSortBy: {
|
|
17
|
-
readonly Relevance: "relevance";
|
|
18
|
-
readonly MostPopular: "mostPopular";
|
|
19
|
-
readonly AscendingName: "ascendingName";
|
|
20
|
-
readonly DescendingName: "descendingName";
|
|
21
|
-
};
|
|
22
|
-
export type ProductRangeSortBy = typeof ProductRangeSortBy[keyof typeof ProductRangeSortBy];
|
|
23
|
-
export declare function instanceOfProductRangeSortBy(value: any): boolean;
|
|
24
|
-
export declare function ProductRangeSortByFromJSON(json: any): ProductRangeSortBy;
|
|
25
|
-
export declare function ProductRangeSortByFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProductRangeSortBy;
|
|
26
|
-
export declare function ProductRangeSortByToJSON(value?: ProductRangeSortBy | null): any;
|
|
27
|
-
export declare function ProductRangeSortByToJSONTyped(value: any, ignoreDiscriminator: boolean): ProductRangeSortBy;
|