@digital8/lighting-illusions-ts-sdk 0.0.1413 → 0.0.1415
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 +20 -90
- package/README.md +18 -64
- package/dist/apis/AttributeApi.d.ts +1 -16
- package/dist/apis/AttributeApi.js +0 -58
- package/dist/apis/LabelApi.d.ts +109 -0
- package/dist/apis/LabelApi.js +433 -0
- package/dist/apis/ProductApi.js +1 -1
- package/dist/apis/index.d.ts +1 -1
- package/dist/apis/index.js +1 -1
- package/dist/models/AssetLiteResource.d.ts +0 -12
- package/dist/models/AssetLiteResource.js +0 -6
- 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/IndexLabelRequest.d.ts +109 -0
- package/dist/models/{IndexProductRangeRequest.js → IndexLabelRequest.js} +29 -23
- package/dist/models/IndexProductChildRequest.d.ts +0 -1
- package/dist/models/IndexProductChildRequest.js +0 -1
- package/dist/models/LabelListResource.d.ts +75 -0
- package/dist/models/LabelListResource.js +74 -0
- package/dist/models/LabelListResourceArrayResponse.d.ts +33 -0
- package/dist/models/LabelListResourceArrayResponse.js +50 -0
- package/dist/models/LabelLiteResource.d.ts +56 -0
- package/dist/models/LabelLiteResource.js +65 -0
- package/dist/models/LabelLiteResourceArrayResponse.d.ts +33 -0
- package/dist/models/LabelLiteResourceArrayResponse.js +50 -0
- package/dist/models/LabelResource.d.ts +23 -4
- package/dist/models/LabelResource.js +19 -8
- package/dist/models/ModelAttributeResource.d.ts +0 -6
- package/dist/models/ModelAttributeResource.js +0 -2
- package/dist/models/PaginatedLabelListResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedLabelListResourceResponse.js +57 -0
- package/dist/models/ProductSearchResultResource.d.ts +1 -7
- package/dist/models/ProductSearchResultResource.js +3 -7
- package/dist/models/StoreAssetForAssetableRequest.d.ts +0 -3
- package/dist/models/StoreAssetForAssetableRequest.js +1 -4
- package/dist/models/StoreLabelRequest.d.ts +74 -0
- package/dist/models/StoreLabelRequest.js +71 -0
- package/dist/models/UpdateLabelRequest.d.ts +74 -0
- package/dist/models/UpdateLabelRequest.js +63 -0
- 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 +9 -44
- package/dist/models/index.js +9 -44
- package/docs/AssetLiteResource.md +0 -4
- package/docs/AttributeApi.md +0 -66
- package/docs/{IndexModelAttributeRequest.md → IndexLabelRequest.md} +6 -10
- package/docs/LabelApi.md +407 -0
- package/docs/{ProductRangeFrontendListResource.md → LabelListResource.md} +18 -14
- package/docs/{ProductRangeResourceArrayResponse.md → LabelListResourceArrayResponse.md} +5 -5
- package/docs/{ProductRangeSiteDetailLiteResource.md → LabelLiteResource.md} +12 -8
- package/docs/{ProductRangeLiteResource.md → LabelLiteResourceArrayResponse.md} +6 -8
- package/docs/LabelResource.md +12 -6
- package/docs/ModelAttributeResource.md +0 -2
- package/docs/{PaginatedProductRangeResourceResponse.md → PaginatedLabelListResourceResponse.md} +5 -5
- package/docs/ProductApi.md +1 -1
- package/docs/ProductSearchResultResource.md +2 -4
- package/docs/{AttachDocumentsProductRangeRequest.md → StoreLabelRequest.md} +20 -6
- package/docs/{ProductRangeSortBy.md → UpdateLabelRequest.md} +20 -4
- 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/LabelApi.ts +328 -0
- package/src/apis/ProductApi.ts +1 -1
- package/src/apis/index.ts +1 -1
- package/src/models/AssetLiteResource.ts +0 -17
- 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/IndexLabelRequest.ts +163 -0
- package/src/models/IndexProductChildRequest.ts +0 -1
- package/src/models/LabelListResource.ts +134 -0
- package/src/models/LabelListResourceArrayResponse.ts +73 -0
- package/src/models/LabelLiteResource.ts +101 -0
- package/src/models/LabelLiteResourceArrayResponse.ts +73 -0
- package/src/models/LabelResource.ts +46 -12
- package/src/models/ModelAttributeResource.ts +0 -8
- package/src/models/PaginatedLabelListResourceResponse.ts +90 -0
- package/src/models/ProductSearchResultResource.ts +4 -13
- package/src/models/StoreAssetForAssetableRequest.ts +1 -4
- package/src/models/StoreLabelRequest.ts +125 -0
- package/src/models/UpdateLabelRequest.ts +121 -0
- package/src/models/UpdateProductTypeRequest.ts +22 -22
- package/src/models/UpdateProductTypeRequestPerformanceValuesInner.ts +73 -0
- package/src/models/index.ts +9 -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/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/DetachAccessoriesProductRangeRequest.md +0 -34
- package/docs/DetachAttributesProductRangeRequest.md +0 -34
- package/docs/DetachDocumentsProductRangeRequest.md +0 -34
- package/docs/GetAllProductRangeRequest.md +0 -50
- 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/PaginatedProductRangeSearchResultResourceResponse.md +0 -36
- package/docs/ProductRangeAggregationResource.md +0 -38
- package/docs/ProductRangeAggregationResourceArrayResponse.md +0 -34
- package/docs/ProductRangeApi.md +0 -1097
- 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/ProductRangeLiteResourceArrayResponse.md +0 -34
- package/docs/ProductRangeResource.md +0 -52
- 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/ProductRangeSiteDetailLiteResourceArrayResponse.md +0 -34
- package/docs/ProductRangeSiteDetailResource.md +0 -56
- package/docs/ProductRangeSiteDetailResourceArrayResponse.md +0 -34
- 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,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.instanceOfProductRangeResourceArrayResponse = instanceOfProductRangeResourceArrayResponse;
|
|
17
|
-
exports.ProductRangeResourceArrayResponseFromJSON = ProductRangeResourceArrayResponseFromJSON;
|
|
18
|
-
exports.ProductRangeResourceArrayResponseFromJSONTyped = ProductRangeResourceArrayResponseFromJSONTyped;
|
|
19
|
-
exports.ProductRangeResourceArrayResponseToJSON = ProductRangeResourceArrayResponseToJSON;
|
|
20
|
-
exports.ProductRangeResourceArrayResponseToJSONTyped = ProductRangeResourceArrayResponseToJSONTyped;
|
|
21
|
-
var ProductRangeResource_1 = require("./ProductRangeResource");
|
|
22
|
-
/**
|
|
23
|
-
* Check if a given object implements the ProductRangeResourceArrayResponse interface.
|
|
24
|
-
*/
|
|
25
|
-
function instanceOfProductRangeResourceArrayResponse(value) {
|
|
26
|
-
return true;
|
|
27
|
-
}
|
|
28
|
-
function ProductRangeResourceArrayResponseFromJSON(json) {
|
|
29
|
-
return ProductRangeResourceArrayResponseFromJSONTyped(json, false);
|
|
30
|
-
}
|
|
31
|
-
function ProductRangeResourceArrayResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
-
if (json == null) {
|
|
33
|
-
return json;
|
|
34
|
-
}
|
|
35
|
-
return {
|
|
36
|
-
'data': json['data'] == null ? undefined : (json['data'].map(ProductRangeResource_1.ProductRangeResourceFromJSON)),
|
|
37
|
-
};
|
|
38
|
-
}
|
|
39
|
-
function ProductRangeResourceArrayResponseToJSON(json) {
|
|
40
|
-
return ProductRangeResourceArrayResponseToJSONTyped(json, false);
|
|
41
|
-
}
|
|
42
|
-
function ProductRangeResourceArrayResponseToJSONTyped(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(ProductRangeResource_1.ProductRangeResourceToJSON)),
|
|
49
|
-
};
|
|
50
|
-
}
|
|
@@ -1,47 +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
|
-
import type { ProductRangeSearchResponseResourceMeta } from './ProductRangeSearchResponseResourceMeta';
|
|
14
|
-
import type { ProductRangeSearchResultResource } from './ProductRangeSearchResultResource';
|
|
15
|
-
/**
|
|
16
|
-
*
|
|
17
|
-
* @export
|
|
18
|
-
* @interface ProductRangeSearchResponseResource
|
|
19
|
-
*/
|
|
20
|
-
export interface ProductRangeSearchResponseResource {
|
|
21
|
-
/**
|
|
22
|
-
*
|
|
23
|
-
* @type {Array<ProductRangeSearchResultResource>}
|
|
24
|
-
* @memberof ProductRangeSearchResponseResource
|
|
25
|
-
*/
|
|
26
|
-
data: Array<ProductRangeSearchResultResource>;
|
|
27
|
-
/**
|
|
28
|
-
*
|
|
29
|
-
* @type {ProductRangeSearchResponseResourceMeta}
|
|
30
|
-
* @memberof ProductRangeSearchResponseResource
|
|
31
|
-
*/
|
|
32
|
-
meta: ProductRangeSearchResponseResourceMeta;
|
|
33
|
-
/**
|
|
34
|
-
*
|
|
35
|
-
* @type {ProductRangeAggregationResource}
|
|
36
|
-
* @memberof ProductRangeSearchResponseResource
|
|
37
|
-
*/
|
|
38
|
-
aggregations: ProductRangeAggregationResource;
|
|
39
|
-
}
|
|
40
|
-
/**
|
|
41
|
-
* Check if a given object implements the ProductRangeSearchResponseResource interface.
|
|
42
|
-
*/
|
|
43
|
-
export declare function instanceOfProductRangeSearchResponseResource(value: object): value is ProductRangeSearchResponseResource;
|
|
44
|
-
export declare function ProductRangeSearchResponseResourceFromJSON(json: any): ProductRangeSearchResponseResource;
|
|
45
|
-
export declare function ProductRangeSearchResponseResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProductRangeSearchResponseResource;
|
|
46
|
-
export declare function ProductRangeSearchResponseResourceToJSON(json: any): ProductRangeSearchResponseResource;
|
|
47
|
-
export declare function ProductRangeSearchResponseResourceToJSONTyped(value?: ProductRangeSearchResponseResource | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,62 +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.instanceOfProductRangeSearchResponseResource = instanceOfProductRangeSearchResponseResource;
|
|
17
|
-
exports.ProductRangeSearchResponseResourceFromJSON = ProductRangeSearchResponseResourceFromJSON;
|
|
18
|
-
exports.ProductRangeSearchResponseResourceFromJSONTyped = ProductRangeSearchResponseResourceFromJSONTyped;
|
|
19
|
-
exports.ProductRangeSearchResponseResourceToJSON = ProductRangeSearchResponseResourceToJSON;
|
|
20
|
-
exports.ProductRangeSearchResponseResourceToJSONTyped = ProductRangeSearchResponseResourceToJSONTyped;
|
|
21
|
-
var ProductRangeAggregationResource_1 = require("./ProductRangeAggregationResource");
|
|
22
|
-
var ProductRangeSearchResponseResourceMeta_1 = require("./ProductRangeSearchResponseResourceMeta");
|
|
23
|
-
var ProductRangeSearchResultResource_1 = require("./ProductRangeSearchResultResource");
|
|
24
|
-
/**
|
|
25
|
-
* Check if a given object implements the ProductRangeSearchResponseResource interface.
|
|
26
|
-
*/
|
|
27
|
-
function instanceOfProductRangeSearchResponseResource(value) {
|
|
28
|
-
if (!('data' in value) || value['data'] === undefined)
|
|
29
|
-
return false;
|
|
30
|
-
if (!('meta' in value) || value['meta'] === undefined)
|
|
31
|
-
return false;
|
|
32
|
-
if (!('aggregations' in value) || value['aggregations'] === undefined)
|
|
33
|
-
return false;
|
|
34
|
-
return true;
|
|
35
|
-
}
|
|
36
|
-
function ProductRangeSearchResponseResourceFromJSON(json) {
|
|
37
|
-
return ProductRangeSearchResponseResourceFromJSONTyped(json, false);
|
|
38
|
-
}
|
|
39
|
-
function ProductRangeSearchResponseResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
40
|
-
if (json == null) {
|
|
41
|
-
return json;
|
|
42
|
-
}
|
|
43
|
-
return {
|
|
44
|
-
'data': (json['data'].map(ProductRangeSearchResultResource_1.ProductRangeSearchResultResourceFromJSON)),
|
|
45
|
-
'meta': (0, ProductRangeSearchResponseResourceMeta_1.ProductRangeSearchResponseResourceMetaFromJSON)(json['meta']),
|
|
46
|
-
'aggregations': (0, ProductRangeAggregationResource_1.ProductRangeAggregationResourceFromJSON)(json['aggregations']),
|
|
47
|
-
};
|
|
48
|
-
}
|
|
49
|
-
function ProductRangeSearchResponseResourceToJSON(json) {
|
|
50
|
-
return ProductRangeSearchResponseResourceToJSONTyped(json, false);
|
|
51
|
-
}
|
|
52
|
-
function ProductRangeSearchResponseResourceToJSONTyped(value, ignoreDiscriminator) {
|
|
53
|
-
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
54
|
-
if (value == null) {
|
|
55
|
-
return value;
|
|
56
|
-
}
|
|
57
|
-
return {
|
|
58
|
-
'data': (value['data'].map(ProductRangeSearchResultResource_1.ProductRangeSearchResultResourceToJSON)),
|
|
59
|
-
'meta': (0, ProductRangeSearchResponseResourceMeta_1.ProductRangeSearchResponseResourceMetaToJSON)(value['meta']),
|
|
60
|
-
'aggregations': (0, ProductRangeAggregationResource_1.ProductRangeAggregationResourceToJSON)(value['aggregations']),
|
|
61
|
-
};
|
|
62
|
-
}
|
|
@@ -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 { ProductRangeSearchResponseResource } from './ProductRangeSearchResponseResource';
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface ProductRangeSearchResponseResourceArrayResponse
|
|
17
|
-
*/
|
|
18
|
-
export interface ProductRangeSearchResponseResourceArrayResponse {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {Array<ProductRangeSearchResponseResource>}
|
|
22
|
-
* @memberof ProductRangeSearchResponseResourceArrayResponse
|
|
23
|
-
*/
|
|
24
|
-
data?: Array<ProductRangeSearchResponseResource>;
|
|
25
|
-
}
|
|
26
|
-
/**
|
|
27
|
-
* Check if a given object implements the ProductRangeSearchResponseResourceArrayResponse interface.
|
|
28
|
-
*/
|
|
29
|
-
export declare function instanceOfProductRangeSearchResponseResourceArrayResponse(value: object): value is ProductRangeSearchResponseResourceArrayResponse;
|
|
30
|
-
export declare function ProductRangeSearchResponseResourceArrayResponseFromJSON(json: any): ProductRangeSearchResponseResourceArrayResponse;
|
|
31
|
-
export declare function ProductRangeSearchResponseResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProductRangeSearchResponseResourceArrayResponse;
|
|
32
|
-
export declare function ProductRangeSearchResponseResourceArrayResponseToJSON(json: any): ProductRangeSearchResponseResourceArrayResponse;
|
|
33
|
-
export declare function ProductRangeSearchResponseResourceArrayResponseToJSONTyped(value?: ProductRangeSearchResponseResourceArrayResponse | 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.instanceOfProductRangeSearchResponseResourceArrayResponse = instanceOfProductRangeSearchResponseResourceArrayResponse;
|
|
17
|
-
exports.ProductRangeSearchResponseResourceArrayResponseFromJSON = ProductRangeSearchResponseResourceArrayResponseFromJSON;
|
|
18
|
-
exports.ProductRangeSearchResponseResourceArrayResponseFromJSONTyped = ProductRangeSearchResponseResourceArrayResponseFromJSONTyped;
|
|
19
|
-
exports.ProductRangeSearchResponseResourceArrayResponseToJSON = ProductRangeSearchResponseResourceArrayResponseToJSON;
|
|
20
|
-
exports.ProductRangeSearchResponseResourceArrayResponseToJSONTyped = ProductRangeSearchResponseResourceArrayResponseToJSONTyped;
|
|
21
|
-
var ProductRangeSearchResponseResource_1 = require("./ProductRangeSearchResponseResource");
|
|
22
|
-
/**
|
|
23
|
-
* Check if a given object implements the ProductRangeSearchResponseResourceArrayResponse interface.
|
|
24
|
-
*/
|
|
25
|
-
function instanceOfProductRangeSearchResponseResourceArrayResponse(value) {
|
|
26
|
-
return true;
|
|
27
|
-
}
|
|
28
|
-
function ProductRangeSearchResponseResourceArrayResponseFromJSON(json) {
|
|
29
|
-
return ProductRangeSearchResponseResourceArrayResponseFromJSONTyped(json, false);
|
|
30
|
-
}
|
|
31
|
-
function ProductRangeSearchResponseResourceArrayResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
-
if (json == null) {
|
|
33
|
-
return json;
|
|
34
|
-
}
|
|
35
|
-
return {
|
|
36
|
-
'data': json['data'] == null ? undefined : (json['data'].map(ProductRangeSearchResponseResource_1.ProductRangeSearchResponseResourceFromJSON)),
|
|
37
|
-
};
|
|
38
|
-
}
|
|
39
|
-
function ProductRangeSearchResponseResourceArrayResponseToJSON(json) {
|
|
40
|
-
return ProductRangeSearchResponseResourceArrayResponseToJSONTyped(json, false);
|
|
41
|
-
}
|
|
42
|
-
function ProductRangeSearchResponseResourceArrayResponseToJSONTyped(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(ProductRangeSearchResponseResource_1.ProductRangeSearchResponseResourceToJSON)),
|
|
49
|
-
};
|
|
50
|
-
}
|
|
@@ -1,50 +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 ProductRangeSearchResponseResourceMeta
|
|
16
|
-
*/
|
|
17
|
-
export interface ProductRangeSearchResponseResourceMeta {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {number}
|
|
21
|
-
* @memberof ProductRangeSearchResponseResourceMeta
|
|
22
|
-
*/
|
|
23
|
-
currentPage: number;
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {number}
|
|
27
|
-
* @memberof ProductRangeSearchResponseResourceMeta
|
|
28
|
-
*/
|
|
29
|
-
perPage: number;
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {number}
|
|
33
|
-
* @memberof ProductRangeSearchResponseResourceMeta
|
|
34
|
-
*/
|
|
35
|
-
total: number;
|
|
36
|
-
/**
|
|
37
|
-
*
|
|
38
|
-
* @type {number}
|
|
39
|
-
* @memberof ProductRangeSearchResponseResourceMeta
|
|
40
|
-
*/
|
|
41
|
-
lastPage: number;
|
|
42
|
-
}
|
|
43
|
-
/**
|
|
44
|
-
* Check if a given object implements the ProductRangeSearchResponseResourceMeta interface.
|
|
45
|
-
*/
|
|
46
|
-
export declare function instanceOfProductRangeSearchResponseResourceMeta(value: object): value is ProductRangeSearchResponseResourceMeta;
|
|
47
|
-
export declare function ProductRangeSearchResponseResourceMetaFromJSON(json: any): ProductRangeSearchResponseResourceMeta;
|
|
48
|
-
export declare function ProductRangeSearchResponseResourceMetaFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProductRangeSearchResponseResourceMeta;
|
|
49
|
-
export declare function ProductRangeSearchResponseResourceMetaToJSON(json: any): ProductRangeSearchResponseResourceMeta;
|
|
50
|
-
export declare function ProductRangeSearchResponseResourceMetaToJSONTyped(value?: ProductRangeSearchResponseResourceMeta | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,63 +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.instanceOfProductRangeSearchResponseResourceMeta = instanceOfProductRangeSearchResponseResourceMeta;
|
|
17
|
-
exports.ProductRangeSearchResponseResourceMetaFromJSON = ProductRangeSearchResponseResourceMetaFromJSON;
|
|
18
|
-
exports.ProductRangeSearchResponseResourceMetaFromJSONTyped = ProductRangeSearchResponseResourceMetaFromJSONTyped;
|
|
19
|
-
exports.ProductRangeSearchResponseResourceMetaToJSON = ProductRangeSearchResponseResourceMetaToJSON;
|
|
20
|
-
exports.ProductRangeSearchResponseResourceMetaToJSONTyped = ProductRangeSearchResponseResourceMetaToJSONTyped;
|
|
21
|
-
/**
|
|
22
|
-
* Check if a given object implements the ProductRangeSearchResponseResourceMeta interface.
|
|
23
|
-
*/
|
|
24
|
-
function instanceOfProductRangeSearchResponseResourceMeta(value) {
|
|
25
|
-
if (!('currentPage' in value) || value['currentPage'] === undefined)
|
|
26
|
-
return false;
|
|
27
|
-
if (!('perPage' in value) || value['perPage'] === undefined)
|
|
28
|
-
return false;
|
|
29
|
-
if (!('total' in value) || value['total'] === undefined)
|
|
30
|
-
return false;
|
|
31
|
-
if (!('lastPage' in value) || value['lastPage'] === undefined)
|
|
32
|
-
return false;
|
|
33
|
-
return true;
|
|
34
|
-
}
|
|
35
|
-
function ProductRangeSearchResponseResourceMetaFromJSON(json) {
|
|
36
|
-
return ProductRangeSearchResponseResourceMetaFromJSONTyped(json, false);
|
|
37
|
-
}
|
|
38
|
-
function ProductRangeSearchResponseResourceMetaFromJSONTyped(json, ignoreDiscriminator) {
|
|
39
|
-
if (json == null) {
|
|
40
|
-
return json;
|
|
41
|
-
}
|
|
42
|
-
return {
|
|
43
|
-
'currentPage': json['currentPage'],
|
|
44
|
-
'perPage': json['perPage'],
|
|
45
|
-
'total': json['total'],
|
|
46
|
-
'lastPage': json['lastPage'],
|
|
47
|
-
};
|
|
48
|
-
}
|
|
49
|
-
function ProductRangeSearchResponseResourceMetaToJSON(json) {
|
|
50
|
-
return ProductRangeSearchResponseResourceMetaToJSONTyped(json, false);
|
|
51
|
-
}
|
|
52
|
-
function ProductRangeSearchResponseResourceMetaToJSONTyped(value, ignoreDiscriminator) {
|
|
53
|
-
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
54
|
-
if (value == null) {
|
|
55
|
-
return value;
|
|
56
|
-
}
|
|
57
|
-
return {
|
|
58
|
-
'currentPage': value['currentPage'],
|
|
59
|
-
'perPage': value['perPage'],
|
|
60
|
-
'total': value['total'],
|
|
61
|
-
'lastPage': value['lastPage'],
|
|
62
|
-
};
|
|
63
|
-
}
|
|
@@ -1,80 +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 ProductRangeSearchResultResource
|
|
16
|
-
*/
|
|
17
|
-
export interface ProductRangeSearchResultResource {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {number}
|
|
21
|
-
* @memberof ProductRangeSearchResultResource
|
|
22
|
-
*/
|
|
23
|
-
id: number;
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof ProductRangeSearchResultResource
|
|
28
|
-
*/
|
|
29
|
-
name: string;
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof ProductRangeSearchResultResource
|
|
34
|
-
*/
|
|
35
|
-
slug: string;
|
|
36
|
-
/**
|
|
37
|
-
*
|
|
38
|
-
* @type {string}
|
|
39
|
-
* @memberof ProductRangeSearchResultResource
|
|
40
|
-
*/
|
|
41
|
-
excerpt: string;
|
|
42
|
-
/**
|
|
43
|
-
*
|
|
44
|
-
* @type {string}
|
|
45
|
-
* @memberof ProductRangeSearchResultResource
|
|
46
|
-
*/
|
|
47
|
-
thumbnail: string;
|
|
48
|
-
/**
|
|
49
|
-
*
|
|
50
|
-
* @type {string}
|
|
51
|
-
* @memberof ProductRangeSearchResultResource
|
|
52
|
-
*/
|
|
53
|
-
supplierName: string;
|
|
54
|
-
/**
|
|
55
|
-
*
|
|
56
|
-
* @type {number}
|
|
57
|
-
* @memberof ProductRangeSearchResultResource
|
|
58
|
-
*/
|
|
59
|
-
supplierId: number;
|
|
60
|
-
/**
|
|
61
|
-
*
|
|
62
|
-
* @type {string}
|
|
63
|
-
* @memberof ProductRangeSearchResultResource
|
|
64
|
-
*/
|
|
65
|
-
supplierThumbnail: string;
|
|
66
|
-
/**
|
|
67
|
-
*
|
|
68
|
-
* @type {Array<object>}
|
|
69
|
-
* @memberof ProductRangeSearchResultResource
|
|
70
|
-
*/
|
|
71
|
-
categories: Array<object>;
|
|
72
|
-
}
|
|
73
|
-
/**
|
|
74
|
-
* Check if a given object implements the ProductRangeSearchResultResource interface.
|
|
75
|
-
*/
|
|
76
|
-
export declare function instanceOfProductRangeSearchResultResource(value: object): value is ProductRangeSearchResultResource;
|
|
77
|
-
export declare function ProductRangeSearchResultResourceFromJSON(json: any): ProductRangeSearchResultResource;
|
|
78
|
-
export declare function ProductRangeSearchResultResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProductRangeSearchResultResource;
|
|
79
|
-
export declare function ProductRangeSearchResultResourceToJSON(json: any): ProductRangeSearchResultResource;
|
|
80
|
-
export declare function ProductRangeSearchResultResourceToJSONTyped(value?: ProductRangeSearchResultResource | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -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;
|