@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,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 { ProductRangeSearchResultResource } from './ProductRangeSearchResultResource';
|
|
14
|
-
/**
|
|
15
|
-
*
|
|
16
|
-
* @export
|
|
17
|
-
* @interface PaginatedProductRangeSearchResultResourceResponse
|
|
18
|
-
*/
|
|
19
|
-
export interface PaginatedProductRangeSearchResultResourceResponse {
|
|
20
|
-
/**
|
|
21
|
-
*
|
|
22
|
-
* @type {Array<ProductRangeSearchResultResource>}
|
|
23
|
-
* @memberof PaginatedProductRangeSearchResultResourceResponse
|
|
24
|
-
*/
|
|
25
|
-
data: Array<ProductRangeSearchResultResource>;
|
|
26
|
-
/**
|
|
27
|
-
*
|
|
28
|
-
* @type {PagingMetadata}
|
|
29
|
-
* @memberof PaginatedProductRangeSearchResultResourceResponse
|
|
30
|
-
*/
|
|
31
|
-
meta: PagingMetadata;
|
|
32
|
-
}
|
|
33
|
-
/**
|
|
34
|
-
* Check if a given object implements the PaginatedProductRangeSearchResultResourceResponse interface.
|
|
35
|
-
*/
|
|
36
|
-
export declare function instanceOfPaginatedProductRangeSearchResultResourceResponse(value: object): value is PaginatedProductRangeSearchResultResourceResponse;
|
|
37
|
-
export declare function PaginatedProductRangeSearchResultResourceResponseFromJSON(json: any): PaginatedProductRangeSearchResultResourceResponse;
|
|
38
|
-
export declare function PaginatedProductRangeSearchResultResourceResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginatedProductRangeSearchResultResourceResponse;
|
|
39
|
-
export declare function PaginatedProductRangeSearchResultResourceResponseToJSON(json: any): PaginatedProductRangeSearchResultResourceResponse;
|
|
40
|
-
export declare function PaginatedProductRangeSearchResultResourceResponseToJSONTyped(value?: PaginatedProductRangeSearchResultResourceResponse | 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.instanceOfPaginatedProductRangeSearchResultResourceResponse = instanceOfPaginatedProductRangeSearchResultResourceResponse;
|
|
17
|
-
exports.PaginatedProductRangeSearchResultResourceResponseFromJSON = PaginatedProductRangeSearchResultResourceResponseFromJSON;
|
|
18
|
-
exports.PaginatedProductRangeSearchResultResourceResponseFromJSONTyped = PaginatedProductRangeSearchResultResourceResponseFromJSONTyped;
|
|
19
|
-
exports.PaginatedProductRangeSearchResultResourceResponseToJSON = PaginatedProductRangeSearchResultResourceResponseToJSON;
|
|
20
|
-
exports.PaginatedProductRangeSearchResultResourceResponseToJSONTyped = PaginatedProductRangeSearchResultResourceResponseToJSONTyped;
|
|
21
|
-
var PagingMetadata_1 = require("./PagingMetadata");
|
|
22
|
-
var ProductRangeSearchResultResource_1 = require("./ProductRangeSearchResultResource");
|
|
23
|
-
/**
|
|
24
|
-
* Check if a given object implements the PaginatedProductRangeSearchResultResourceResponse interface.
|
|
25
|
-
*/
|
|
26
|
-
function instanceOfPaginatedProductRangeSearchResultResourceResponse(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 PaginatedProductRangeSearchResultResourceResponseFromJSON(json) {
|
|
34
|
-
return PaginatedProductRangeSearchResultResourceResponseFromJSONTyped(json, false);
|
|
35
|
-
}
|
|
36
|
-
function PaginatedProductRangeSearchResultResourceResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
|
-
if (json == null) {
|
|
38
|
-
return json;
|
|
39
|
-
}
|
|
40
|
-
return {
|
|
41
|
-
'data': (json['data'].map(ProductRangeSearchResultResource_1.ProductRangeSearchResultResourceFromJSON)),
|
|
42
|
-
'meta': (0, PagingMetadata_1.PagingMetadataFromJSON)(json['meta']),
|
|
43
|
-
};
|
|
44
|
-
}
|
|
45
|
-
function PaginatedProductRangeSearchResultResourceResponseToJSON(json) {
|
|
46
|
-
return PaginatedProductRangeSearchResultResourceResponseToJSONTyped(json, false);
|
|
47
|
-
}
|
|
48
|
-
function PaginatedProductRangeSearchResultResourceResponseToJSONTyped(value, ignoreDiscriminator) {
|
|
49
|
-
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
50
|
-
if (value == null) {
|
|
51
|
-
return value;
|
|
52
|
-
}
|
|
53
|
-
return {
|
|
54
|
-
'data': (value['data'].map(ProductRangeSearchResultResource_1.ProductRangeSearchResultResourceToJSON)),
|
|
55
|
-
'meta': (0, PagingMetadata_1.PagingMetadataToJSON)(value['meta']),
|
|
56
|
-
};
|
|
57
|
-
}
|
|
@@ -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 ProductRangeAggregationResource
|
|
16
|
-
*/
|
|
17
|
-
export interface ProductRangeAggregationResource {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {Array<object>}
|
|
21
|
-
* @memberof ProductRangeAggregationResource
|
|
22
|
-
*/
|
|
23
|
-
attributes: Array<object>;
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {Array<object>}
|
|
27
|
-
* @memberof ProductRangeAggregationResource
|
|
28
|
-
*/
|
|
29
|
-
brands: Array<object>;
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {Array<object>}
|
|
33
|
-
* @memberof ProductRangeAggregationResource
|
|
34
|
-
*/
|
|
35
|
-
categories: Array<object>;
|
|
36
|
-
}
|
|
37
|
-
/**
|
|
38
|
-
* Check if a given object implements the ProductRangeAggregationResource interface.
|
|
39
|
-
*/
|
|
40
|
-
export declare function instanceOfProductRangeAggregationResource(value: object): value is ProductRangeAggregationResource;
|
|
41
|
-
export declare function ProductRangeAggregationResourceFromJSON(json: any): ProductRangeAggregationResource;
|
|
42
|
-
export declare function ProductRangeAggregationResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProductRangeAggregationResource;
|
|
43
|
-
export declare function ProductRangeAggregationResourceToJSON(json: any): ProductRangeAggregationResource;
|
|
44
|
-
export declare function ProductRangeAggregationResourceToJSONTyped(value?: ProductRangeAggregationResource | 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.instanceOfProductRangeAggregationResource = instanceOfProductRangeAggregationResource;
|
|
17
|
-
exports.ProductRangeAggregationResourceFromJSON = ProductRangeAggregationResourceFromJSON;
|
|
18
|
-
exports.ProductRangeAggregationResourceFromJSONTyped = ProductRangeAggregationResourceFromJSONTyped;
|
|
19
|
-
exports.ProductRangeAggregationResourceToJSON = ProductRangeAggregationResourceToJSON;
|
|
20
|
-
exports.ProductRangeAggregationResourceToJSONTyped = ProductRangeAggregationResourceToJSONTyped;
|
|
21
|
-
/**
|
|
22
|
-
* Check if a given object implements the ProductRangeAggregationResource interface.
|
|
23
|
-
*/
|
|
24
|
-
function instanceOfProductRangeAggregationResource(value) {
|
|
25
|
-
if (!('attributes' in value) || value['attributes'] === undefined)
|
|
26
|
-
return false;
|
|
27
|
-
if (!('brands' in value) || value['brands'] === undefined)
|
|
28
|
-
return false;
|
|
29
|
-
if (!('categories' in value) || value['categories'] === undefined)
|
|
30
|
-
return false;
|
|
31
|
-
return true;
|
|
32
|
-
}
|
|
33
|
-
function ProductRangeAggregationResourceFromJSON(json) {
|
|
34
|
-
return ProductRangeAggregationResourceFromJSONTyped(json, false);
|
|
35
|
-
}
|
|
36
|
-
function ProductRangeAggregationResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
|
-
if (json == null) {
|
|
38
|
-
return json;
|
|
39
|
-
}
|
|
40
|
-
return {
|
|
41
|
-
'attributes': json['attributes'],
|
|
42
|
-
'brands': json['brands'],
|
|
43
|
-
'categories': json['categories'],
|
|
44
|
-
};
|
|
45
|
-
}
|
|
46
|
-
function ProductRangeAggregationResourceToJSON(json) {
|
|
47
|
-
return ProductRangeAggregationResourceToJSONTyped(json, false);
|
|
48
|
-
}
|
|
49
|
-
function ProductRangeAggregationResourceToJSONTyped(value, ignoreDiscriminator) {
|
|
50
|
-
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
51
|
-
if (value == null) {
|
|
52
|
-
return value;
|
|
53
|
-
}
|
|
54
|
-
return {
|
|
55
|
-
'attributes': value['attributes'],
|
|
56
|
-
'brands': value['brands'],
|
|
57
|
-
'categories': value['categories'],
|
|
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 { ProductRangeAggregationResource } from './ProductRangeAggregationResource';
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface ProductRangeAggregationResourceArrayResponse
|
|
17
|
-
*/
|
|
18
|
-
export interface ProductRangeAggregationResourceArrayResponse {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {Array<ProductRangeAggregationResource>}
|
|
22
|
-
* @memberof ProductRangeAggregationResourceArrayResponse
|
|
23
|
-
*/
|
|
24
|
-
data?: Array<ProductRangeAggregationResource>;
|
|
25
|
-
}
|
|
26
|
-
/**
|
|
27
|
-
* Check if a given object implements the ProductRangeAggregationResourceArrayResponse interface.
|
|
28
|
-
*/
|
|
29
|
-
export declare function instanceOfProductRangeAggregationResourceArrayResponse(value: object): value is ProductRangeAggregationResourceArrayResponse;
|
|
30
|
-
export declare function ProductRangeAggregationResourceArrayResponseFromJSON(json: any): ProductRangeAggregationResourceArrayResponse;
|
|
31
|
-
export declare function ProductRangeAggregationResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProductRangeAggregationResourceArrayResponse;
|
|
32
|
-
export declare function ProductRangeAggregationResourceArrayResponseToJSON(json: any): ProductRangeAggregationResourceArrayResponse;
|
|
33
|
-
export declare function ProductRangeAggregationResourceArrayResponseToJSONTyped(value?: ProductRangeAggregationResourceArrayResponse | 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.instanceOfProductRangeAggregationResourceArrayResponse = instanceOfProductRangeAggregationResourceArrayResponse;
|
|
17
|
-
exports.ProductRangeAggregationResourceArrayResponseFromJSON = ProductRangeAggregationResourceArrayResponseFromJSON;
|
|
18
|
-
exports.ProductRangeAggregationResourceArrayResponseFromJSONTyped = ProductRangeAggregationResourceArrayResponseFromJSONTyped;
|
|
19
|
-
exports.ProductRangeAggregationResourceArrayResponseToJSON = ProductRangeAggregationResourceArrayResponseToJSON;
|
|
20
|
-
exports.ProductRangeAggregationResourceArrayResponseToJSONTyped = ProductRangeAggregationResourceArrayResponseToJSONTyped;
|
|
21
|
-
var ProductRangeAggregationResource_1 = require("./ProductRangeAggregationResource");
|
|
22
|
-
/**
|
|
23
|
-
* Check if a given object implements the ProductRangeAggregationResourceArrayResponse interface.
|
|
24
|
-
*/
|
|
25
|
-
function instanceOfProductRangeAggregationResourceArrayResponse(value) {
|
|
26
|
-
return true;
|
|
27
|
-
}
|
|
28
|
-
function ProductRangeAggregationResourceArrayResponseFromJSON(json) {
|
|
29
|
-
return ProductRangeAggregationResourceArrayResponseFromJSONTyped(json, false);
|
|
30
|
-
}
|
|
31
|
-
function ProductRangeAggregationResourceArrayResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
-
if (json == null) {
|
|
33
|
-
return json;
|
|
34
|
-
}
|
|
35
|
-
return {
|
|
36
|
-
'data': json['data'] == null ? undefined : (json['data'].map(ProductRangeAggregationResource_1.ProductRangeAggregationResourceFromJSON)),
|
|
37
|
-
};
|
|
38
|
-
}
|
|
39
|
-
function ProductRangeAggregationResourceArrayResponseToJSON(json) {
|
|
40
|
-
return ProductRangeAggregationResourceArrayResponseToJSONTyped(json, false);
|
|
41
|
-
}
|
|
42
|
-
function ProductRangeAggregationResourceArrayResponseToJSONTyped(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(ProductRangeAggregationResource_1.ProductRangeAggregationResourceToJSON)),
|
|
49
|
-
};
|
|
50
|
-
}
|
|
@@ -1,62 +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 ProductRangeFrontendListResource
|
|
16
|
-
*/
|
|
17
|
-
export interface ProductRangeFrontendListResource {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {number}
|
|
21
|
-
* @memberof ProductRangeFrontendListResource
|
|
22
|
-
*/
|
|
23
|
-
id: number;
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof ProductRangeFrontendListResource
|
|
28
|
-
*/
|
|
29
|
-
name: string;
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof ProductRangeFrontendListResource
|
|
34
|
-
*/
|
|
35
|
-
slug: string;
|
|
36
|
-
/**
|
|
37
|
-
*
|
|
38
|
-
* @type {string}
|
|
39
|
-
* @memberof ProductRangeFrontendListResource
|
|
40
|
-
*/
|
|
41
|
-
excerpt: string;
|
|
42
|
-
/**
|
|
43
|
-
*
|
|
44
|
-
* @type {object}
|
|
45
|
-
* @memberof ProductRangeFrontendListResource
|
|
46
|
-
*/
|
|
47
|
-
thumbnail: object;
|
|
48
|
-
/**
|
|
49
|
-
*
|
|
50
|
-
* @type {object}
|
|
51
|
-
* @memberof ProductRangeFrontendListResource
|
|
52
|
-
*/
|
|
53
|
-
categories: object;
|
|
54
|
-
}
|
|
55
|
-
/**
|
|
56
|
-
* Check if a given object implements the ProductRangeFrontendListResource interface.
|
|
57
|
-
*/
|
|
58
|
-
export declare function instanceOfProductRangeFrontendListResource(value: object): value is ProductRangeFrontendListResource;
|
|
59
|
-
export declare function ProductRangeFrontendListResourceFromJSON(json: any): ProductRangeFrontendListResource;
|
|
60
|
-
export declare function ProductRangeFrontendListResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProductRangeFrontendListResource;
|
|
61
|
-
export declare function ProductRangeFrontendListResourceToJSON(json: any): ProductRangeFrontendListResource;
|
|
62
|
-
export declare function ProductRangeFrontendListResourceToJSONTyped(value?: ProductRangeFrontendListResource | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,71 +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.instanceOfProductRangeFrontendListResource = instanceOfProductRangeFrontendListResource;
|
|
17
|
-
exports.ProductRangeFrontendListResourceFromJSON = ProductRangeFrontendListResourceFromJSON;
|
|
18
|
-
exports.ProductRangeFrontendListResourceFromJSONTyped = ProductRangeFrontendListResourceFromJSONTyped;
|
|
19
|
-
exports.ProductRangeFrontendListResourceToJSON = ProductRangeFrontendListResourceToJSON;
|
|
20
|
-
exports.ProductRangeFrontendListResourceToJSONTyped = ProductRangeFrontendListResourceToJSONTyped;
|
|
21
|
-
/**
|
|
22
|
-
* Check if a given object implements the ProductRangeFrontendListResource interface.
|
|
23
|
-
*/
|
|
24
|
-
function instanceOfProductRangeFrontendListResource(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 (!('categories' in value) || value['categories'] === undefined)
|
|
36
|
-
return false;
|
|
37
|
-
return true;
|
|
38
|
-
}
|
|
39
|
-
function ProductRangeFrontendListResourceFromJSON(json) {
|
|
40
|
-
return ProductRangeFrontendListResourceFromJSONTyped(json, false);
|
|
41
|
-
}
|
|
42
|
-
function ProductRangeFrontendListResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
43
|
-
if (json == null) {
|
|
44
|
-
return json;
|
|
45
|
-
}
|
|
46
|
-
return {
|
|
47
|
-
'id': json['id'],
|
|
48
|
-
'name': json['name'],
|
|
49
|
-
'slug': json['slug'],
|
|
50
|
-
'excerpt': json['excerpt'],
|
|
51
|
-
'thumbnail': json['thumbnail'],
|
|
52
|
-
'categories': json['categories'],
|
|
53
|
-
};
|
|
54
|
-
}
|
|
55
|
-
function ProductRangeFrontendListResourceToJSON(json) {
|
|
56
|
-
return ProductRangeFrontendListResourceToJSONTyped(json, false);
|
|
57
|
-
}
|
|
58
|
-
function ProductRangeFrontendListResourceToJSONTyped(value, ignoreDiscriminator) {
|
|
59
|
-
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
60
|
-
if (value == null) {
|
|
61
|
-
return value;
|
|
62
|
-
}
|
|
63
|
-
return {
|
|
64
|
-
'id': value['id'],
|
|
65
|
-
'name': value['name'],
|
|
66
|
-
'slug': value['slug'],
|
|
67
|
-
'excerpt': value['excerpt'],
|
|
68
|
-
'thumbnail': value['thumbnail'],
|
|
69
|
-
'categories': value['categories'],
|
|
70
|
-
};
|
|
71
|
-
}
|
|
@@ -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 { ProductRangeFrontendListResource } from './ProductRangeFrontendListResource';
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface ProductRangeFrontendListResourceArrayResponse
|
|
17
|
-
*/
|
|
18
|
-
export interface ProductRangeFrontendListResourceArrayResponse {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {Array<ProductRangeFrontendListResource>}
|
|
22
|
-
* @memberof ProductRangeFrontendListResourceArrayResponse
|
|
23
|
-
*/
|
|
24
|
-
data?: Array<ProductRangeFrontendListResource>;
|
|
25
|
-
}
|
|
26
|
-
/**
|
|
27
|
-
* Check if a given object implements the ProductRangeFrontendListResourceArrayResponse interface.
|
|
28
|
-
*/
|
|
29
|
-
export declare function instanceOfProductRangeFrontendListResourceArrayResponse(value: object): value is ProductRangeFrontendListResourceArrayResponse;
|
|
30
|
-
export declare function ProductRangeFrontendListResourceArrayResponseFromJSON(json: any): ProductRangeFrontendListResourceArrayResponse;
|
|
31
|
-
export declare function ProductRangeFrontendListResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProductRangeFrontendListResourceArrayResponse;
|
|
32
|
-
export declare function ProductRangeFrontendListResourceArrayResponseToJSON(json: any): ProductRangeFrontendListResourceArrayResponse;
|
|
33
|
-
export declare function ProductRangeFrontendListResourceArrayResponseToJSONTyped(value?: ProductRangeFrontendListResourceArrayResponse | 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.instanceOfProductRangeFrontendListResourceArrayResponse = instanceOfProductRangeFrontendListResourceArrayResponse;
|
|
17
|
-
exports.ProductRangeFrontendListResourceArrayResponseFromJSON = ProductRangeFrontendListResourceArrayResponseFromJSON;
|
|
18
|
-
exports.ProductRangeFrontendListResourceArrayResponseFromJSONTyped = ProductRangeFrontendListResourceArrayResponseFromJSONTyped;
|
|
19
|
-
exports.ProductRangeFrontendListResourceArrayResponseToJSON = ProductRangeFrontendListResourceArrayResponseToJSON;
|
|
20
|
-
exports.ProductRangeFrontendListResourceArrayResponseToJSONTyped = ProductRangeFrontendListResourceArrayResponseToJSONTyped;
|
|
21
|
-
var ProductRangeFrontendListResource_1 = require("./ProductRangeFrontendListResource");
|
|
22
|
-
/**
|
|
23
|
-
* Check if a given object implements the ProductRangeFrontendListResourceArrayResponse interface.
|
|
24
|
-
*/
|
|
25
|
-
function instanceOfProductRangeFrontendListResourceArrayResponse(value) {
|
|
26
|
-
return true;
|
|
27
|
-
}
|
|
28
|
-
function ProductRangeFrontendListResourceArrayResponseFromJSON(json) {
|
|
29
|
-
return ProductRangeFrontendListResourceArrayResponseFromJSONTyped(json, false);
|
|
30
|
-
}
|
|
31
|
-
function ProductRangeFrontendListResourceArrayResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
-
if (json == null) {
|
|
33
|
-
return json;
|
|
34
|
-
}
|
|
35
|
-
return {
|
|
36
|
-
'data': json['data'] == null ? undefined : (json['data'].map(ProductRangeFrontendListResource_1.ProductRangeFrontendListResourceFromJSON)),
|
|
37
|
-
};
|
|
38
|
-
}
|
|
39
|
-
function ProductRangeFrontendListResourceArrayResponseToJSON(json) {
|
|
40
|
-
return ProductRangeFrontendListResourceArrayResponseToJSONTyped(json, false);
|
|
41
|
-
}
|
|
42
|
-
function ProductRangeFrontendListResourceArrayResponseToJSONTyped(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(ProductRangeFrontendListResource_1.ProductRangeFrontendListResourceToJSON)),
|
|
49
|
-
};
|
|
50
|
-
}
|
|
@@ -1,117 +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 { SupplierFrontendResource } from './SupplierFrontendResource';
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface ProductRangeFrontendResource
|
|
17
|
-
*/
|
|
18
|
-
export interface ProductRangeFrontendResource {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {number}
|
|
22
|
-
* @memberof ProductRangeFrontendResource
|
|
23
|
-
*/
|
|
24
|
-
id: number;
|
|
25
|
-
/**
|
|
26
|
-
*
|
|
27
|
-
* @type {string}
|
|
28
|
-
* @memberof ProductRangeFrontendResource
|
|
29
|
-
*/
|
|
30
|
-
name: string;
|
|
31
|
-
/**
|
|
32
|
-
*
|
|
33
|
-
* @type {string}
|
|
34
|
-
* @memberof ProductRangeFrontendResource
|
|
35
|
-
*/
|
|
36
|
-
slug: string;
|
|
37
|
-
/**
|
|
38
|
-
*
|
|
39
|
-
* @type {string}
|
|
40
|
-
* @memberof ProductRangeFrontendResource
|
|
41
|
-
*/
|
|
42
|
-
description: string;
|
|
43
|
-
/**
|
|
44
|
-
*
|
|
45
|
-
* @type {string}
|
|
46
|
-
* @memberof ProductRangeFrontendResource
|
|
47
|
-
*/
|
|
48
|
-
content: string;
|
|
49
|
-
/**
|
|
50
|
-
*
|
|
51
|
-
* @type {string}
|
|
52
|
-
* @memberof ProductRangeFrontendResource
|
|
53
|
-
*/
|
|
54
|
-
excerpt: string;
|
|
55
|
-
/**
|
|
56
|
-
*
|
|
57
|
-
* @type {number}
|
|
58
|
-
* @memberof ProductRangeFrontendResource
|
|
59
|
-
*/
|
|
60
|
-
siteId: number;
|
|
61
|
-
/**
|
|
62
|
-
*
|
|
63
|
-
* @type {SupplierFrontendResource}
|
|
64
|
-
* @memberof ProductRangeFrontendResource
|
|
65
|
-
*/
|
|
66
|
-
supplier: SupplierFrontendResource | null;
|
|
67
|
-
/**
|
|
68
|
-
*
|
|
69
|
-
* @type {object}
|
|
70
|
-
* @memberof ProductRangeFrontendResource
|
|
71
|
-
*/
|
|
72
|
-
categories: object;
|
|
73
|
-
/**
|
|
74
|
-
*
|
|
75
|
-
* @type {object}
|
|
76
|
-
* @memberof ProductRangeFrontendResource
|
|
77
|
-
*/
|
|
78
|
-
products: object;
|
|
79
|
-
/**
|
|
80
|
-
*
|
|
81
|
-
* @type {object}
|
|
82
|
-
* @memberof ProductRangeFrontendResource
|
|
83
|
-
*/
|
|
84
|
-
accessories: object;
|
|
85
|
-
/**
|
|
86
|
-
*
|
|
87
|
-
* @type {object}
|
|
88
|
-
* @memberof ProductRangeFrontendResource
|
|
89
|
-
*/
|
|
90
|
-
documents: object;
|
|
91
|
-
/**
|
|
92
|
-
*
|
|
93
|
-
* @type {object}
|
|
94
|
-
* @memberof ProductRangeFrontendResource
|
|
95
|
-
*/
|
|
96
|
-
seo: object;
|
|
97
|
-
/**
|
|
98
|
-
*
|
|
99
|
-
* @type {object}
|
|
100
|
-
* @memberof ProductRangeFrontendResource
|
|
101
|
-
*/
|
|
102
|
-
assets: object;
|
|
103
|
-
/**
|
|
104
|
-
*
|
|
105
|
-
* @type {string}
|
|
106
|
-
* @memberof ProductRangeFrontendResource
|
|
107
|
-
*/
|
|
108
|
-
thumbnail?: string | null;
|
|
109
|
-
}
|
|
110
|
-
/**
|
|
111
|
-
* Check if a given object implements the ProductRangeFrontendResource interface.
|
|
112
|
-
*/
|
|
113
|
-
export declare function instanceOfProductRangeFrontendResource(value: object): value is ProductRangeFrontendResource;
|
|
114
|
-
export declare function ProductRangeFrontendResourceFromJSON(json: any): ProductRangeFrontendResource;
|
|
115
|
-
export declare function ProductRangeFrontendResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProductRangeFrontendResource;
|
|
116
|
-
export declare function ProductRangeFrontendResourceToJSON(json: any): ProductRangeFrontendResource;
|
|
117
|
-
export declare function ProductRangeFrontendResourceToJSONTyped(value?: ProductRangeFrontendResource | null, ignoreDiscriminator?: boolean): any;
|