@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,59 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* My API
|
|
6
|
-
* API documentation for my Laravel app
|
|
7
|
-
*
|
|
8
|
-
* The version of the OpenAPI document: 1.0.0
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
-
* https://openapi-generator.tech
|
|
13
|
-
* Do not edit the class manually.
|
|
14
|
-
*/
|
|
15
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.instanceOfProductRangeSiteDetailLiteResource = instanceOfProductRangeSiteDetailLiteResource;
|
|
17
|
-
exports.ProductRangeSiteDetailLiteResourceFromJSON = ProductRangeSiteDetailLiteResourceFromJSON;
|
|
18
|
-
exports.ProductRangeSiteDetailLiteResourceFromJSONTyped = ProductRangeSiteDetailLiteResourceFromJSONTyped;
|
|
19
|
-
exports.ProductRangeSiteDetailLiteResourceToJSON = ProductRangeSiteDetailLiteResourceToJSON;
|
|
20
|
-
exports.ProductRangeSiteDetailLiteResourceToJSONTyped = ProductRangeSiteDetailLiteResourceToJSONTyped;
|
|
21
|
-
/**
|
|
22
|
-
* Check if a given object implements the ProductRangeSiteDetailLiteResource interface.
|
|
23
|
-
*/
|
|
24
|
-
function instanceOfProductRangeSiteDetailLiteResource(value) {
|
|
25
|
-
if (!('id' in value) || value['id'] === undefined)
|
|
26
|
-
return false;
|
|
27
|
-
if (!('siteId' in value) || value['siteId'] === undefined)
|
|
28
|
-
return false;
|
|
29
|
-
if (!('slug' in value) || value['slug'] === undefined)
|
|
30
|
-
return false;
|
|
31
|
-
return true;
|
|
32
|
-
}
|
|
33
|
-
function ProductRangeSiteDetailLiteResourceFromJSON(json) {
|
|
34
|
-
return ProductRangeSiteDetailLiteResourceFromJSONTyped(json, false);
|
|
35
|
-
}
|
|
36
|
-
function ProductRangeSiteDetailLiteResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
|
-
if (json == null) {
|
|
38
|
-
return json;
|
|
39
|
-
}
|
|
40
|
-
return {
|
|
41
|
-
'id': json['id'],
|
|
42
|
-
'siteId': json['siteId'],
|
|
43
|
-
'slug': json['slug'],
|
|
44
|
-
};
|
|
45
|
-
}
|
|
46
|
-
function ProductRangeSiteDetailLiteResourceToJSON(json) {
|
|
47
|
-
return ProductRangeSiteDetailLiteResourceToJSONTyped(json, false);
|
|
48
|
-
}
|
|
49
|
-
function ProductRangeSiteDetailLiteResourceToJSONTyped(value, ignoreDiscriminator) {
|
|
50
|
-
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
51
|
-
if (value == null) {
|
|
52
|
-
return value;
|
|
53
|
-
}
|
|
54
|
-
return {
|
|
55
|
-
'id': value['id'],
|
|
56
|
-
'siteId': value['siteId'],
|
|
57
|
-
'slug': value['slug'],
|
|
58
|
-
};
|
|
59
|
-
}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* My API
|
|
3
|
-
* API documentation for my Laravel app
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0.0
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
import type { ProductRangeSiteDetailLiteResource } from './ProductRangeSiteDetailLiteResource';
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface ProductRangeSiteDetailLiteResourceArrayResponse
|
|
17
|
-
*/
|
|
18
|
-
export interface ProductRangeSiteDetailLiteResourceArrayResponse {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {Array<ProductRangeSiteDetailLiteResource>}
|
|
22
|
-
* @memberof ProductRangeSiteDetailLiteResourceArrayResponse
|
|
23
|
-
*/
|
|
24
|
-
data?: Array<ProductRangeSiteDetailLiteResource>;
|
|
25
|
-
}
|
|
26
|
-
/**
|
|
27
|
-
* Check if a given object implements the ProductRangeSiteDetailLiteResourceArrayResponse interface.
|
|
28
|
-
*/
|
|
29
|
-
export declare function instanceOfProductRangeSiteDetailLiteResourceArrayResponse(value: object): value is ProductRangeSiteDetailLiteResourceArrayResponse;
|
|
30
|
-
export declare function ProductRangeSiteDetailLiteResourceArrayResponseFromJSON(json: any): ProductRangeSiteDetailLiteResourceArrayResponse;
|
|
31
|
-
export declare function ProductRangeSiteDetailLiteResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProductRangeSiteDetailLiteResourceArrayResponse;
|
|
32
|
-
export declare function ProductRangeSiteDetailLiteResourceArrayResponseToJSON(json: any): ProductRangeSiteDetailLiteResourceArrayResponse;
|
|
33
|
-
export declare function ProductRangeSiteDetailLiteResourceArrayResponseToJSONTyped(value?: ProductRangeSiteDetailLiteResourceArrayResponse | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* My API
|
|
6
|
-
* API documentation for my Laravel app
|
|
7
|
-
*
|
|
8
|
-
* The version of the OpenAPI document: 1.0.0
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
-
* https://openapi-generator.tech
|
|
13
|
-
* Do not edit the class manually.
|
|
14
|
-
*/
|
|
15
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.instanceOfProductRangeSiteDetailLiteResourceArrayResponse = instanceOfProductRangeSiteDetailLiteResourceArrayResponse;
|
|
17
|
-
exports.ProductRangeSiteDetailLiteResourceArrayResponseFromJSON = ProductRangeSiteDetailLiteResourceArrayResponseFromJSON;
|
|
18
|
-
exports.ProductRangeSiteDetailLiteResourceArrayResponseFromJSONTyped = ProductRangeSiteDetailLiteResourceArrayResponseFromJSONTyped;
|
|
19
|
-
exports.ProductRangeSiteDetailLiteResourceArrayResponseToJSON = ProductRangeSiteDetailLiteResourceArrayResponseToJSON;
|
|
20
|
-
exports.ProductRangeSiteDetailLiteResourceArrayResponseToJSONTyped = ProductRangeSiteDetailLiteResourceArrayResponseToJSONTyped;
|
|
21
|
-
var ProductRangeSiteDetailLiteResource_1 = require("./ProductRangeSiteDetailLiteResource");
|
|
22
|
-
/**
|
|
23
|
-
* Check if a given object implements the ProductRangeSiteDetailLiteResourceArrayResponse interface.
|
|
24
|
-
*/
|
|
25
|
-
function instanceOfProductRangeSiteDetailLiteResourceArrayResponse(value) {
|
|
26
|
-
return true;
|
|
27
|
-
}
|
|
28
|
-
function ProductRangeSiteDetailLiteResourceArrayResponseFromJSON(json) {
|
|
29
|
-
return ProductRangeSiteDetailLiteResourceArrayResponseFromJSONTyped(json, false);
|
|
30
|
-
}
|
|
31
|
-
function ProductRangeSiteDetailLiteResourceArrayResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
-
if (json == null) {
|
|
33
|
-
return json;
|
|
34
|
-
}
|
|
35
|
-
return {
|
|
36
|
-
'data': json['data'] == null ? undefined : (json['data'].map(ProductRangeSiteDetailLiteResource_1.ProductRangeSiteDetailLiteResourceFromJSON)),
|
|
37
|
-
};
|
|
38
|
-
}
|
|
39
|
-
function ProductRangeSiteDetailLiteResourceArrayResponseToJSON(json) {
|
|
40
|
-
return ProductRangeSiteDetailLiteResourceArrayResponseToJSONTyped(json, false);
|
|
41
|
-
}
|
|
42
|
-
function ProductRangeSiteDetailLiteResourceArrayResponseToJSONTyped(value, ignoreDiscriminator) {
|
|
43
|
-
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
44
|
-
if (value == null) {
|
|
45
|
-
return value;
|
|
46
|
-
}
|
|
47
|
-
return {
|
|
48
|
-
'data': value['data'] == null ? undefined : (value['data'].map(ProductRangeSiteDetailLiteResource_1.ProductRangeSiteDetailLiteResourceToJSON)),
|
|
49
|
-
};
|
|
50
|
-
}
|
|
@@ -1,101 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* My API
|
|
3
|
-
* API documentation for my Laravel app
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0.0
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
import type { SiteLiteResource } from './SiteLiteResource';
|
|
13
|
-
import type { ProductCategoryLiteResource } from './ProductCategoryLiteResource';
|
|
14
|
-
import type { SEOResource } from './SEOResource';
|
|
15
|
-
/**
|
|
16
|
-
*
|
|
17
|
-
* @export
|
|
18
|
-
* @interface ProductRangeSiteDetailResource
|
|
19
|
-
*/
|
|
20
|
-
export interface ProductRangeSiteDetailResource {
|
|
21
|
-
/**
|
|
22
|
-
*
|
|
23
|
-
* @type {number}
|
|
24
|
-
* @memberof ProductRangeSiteDetailResource
|
|
25
|
-
*/
|
|
26
|
-
id: number;
|
|
27
|
-
/**
|
|
28
|
-
*
|
|
29
|
-
* @type {number}
|
|
30
|
-
* @memberof ProductRangeSiteDetailResource
|
|
31
|
-
*/
|
|
32
|
-
siteId: number;
|
|
33
|
-
/**
|
|
34
|
-
*
|
|
35
|
-
* @type {SiteLiteResource}
|
|
36
|
-
* @memberof ProductRangeSiteDetailResource
|
|
37
|
-
*/
|
|
38
|
-
site: SiteLiteResource | null;
|
|
39
|
-
/**
|
|
40
|
-
*
|
|
41
|
-
* @type {string}
|
|
42
|
-
* @memberof ProductRangeSiteDetailResource
|
|
43
|
-
*/
|
|
44
|
-
name: string;
|
|
45
|
-
/**
|
|
46
|
-
*
|
|
47
|
-
* @type {string}
|
|
48
|
-
* @memberof ProductRangeSiteDetailResource
|
|
49
|
-
*/
|
|
50
|
-
slug: string;
|
|
51
|
-
/**
|
|
52
|
-
*
|
|
53
|
-
* @type {string}
|
|
54
|
-
* @memberof ProductRangeSiteDetailResource
|
|
55
|
-
*/
|
|
56
|
-
description: string;
|
|
57
|
-
/**
|
|
58
|
-
*
|
|
59
|
-
* @type {string}
|
|
60
|
-
* @memberof ProductRangeSiteDetailResource
|
|
61
|
-
*/
|
|
62
|
-
content: string;
|
|
63
|
-
/**
|
|
64
|
-
*
|
|
65
|
-
* @type {string}
|
|
66
|
-
* @memberof ProductRangeSiteDetailResource
|
|
67
|
-
*/
|
|
68
|
-
excerpt: string;
|
|
69
|
-
/**
|
|
70
|
-
*
|
|
71
|
-
* @type {number}
|
|
72
|
-
* @memberof ProductRangeSiteDetailResource
|
|
73
|
-
*/
|
|
74
|
-
popularityScore: number;
|
|
75
|
-
/**
|
|
76
|
-
*
|
|
77
|
-
* @type {boolean}
|
|
78
|
-
* @memberof ProductRangeSiteDetailResource
|
|
79
|
-
*/
|
|
80
|
-
isDisabled: boolean;
|
|
81
|
-
/**
|
|
82
|
-
*
|
|
83
|
-
* @type {SEOResource}
|
|
84
|
-
* @memberof ProductRangeSiteDetailResource
|
|
85
|
-
*/
|
|
86
|
-
seo: SEOResource | null;
|
|
87
|
-
/**
|
|
88
|
-
*
|
|
89
|
-
* @type {Array<ProductCategoryLiteResource>}
|
|
90
|
-
* @memberof ProductRangeSiteDetailResource
|
|
91
|
-
*/
|
|
92
|
-
categories: Array<ProductCategoryLiteResource> | null;
|
|
93
|
-
}
|
|
94
|
-
/**
|
|
95
|
-
* Check if a given object implements the ProductRangeSiteDetailResource interface.
|
|
96
|
-
*/
|
|
97
|
-
export declare function instanceOfProductRangeSiteDetailResource(value: object): value is ProductRangeSiteDetailResource;
|
|
98
|
-
export declare function ProductRangeSiteDetailResourceFromJSON(json: any): ProductRangeSiteDetailResource;
|
|
99
|
-
export declare function ProductRangeSiteDetailResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProductRangeSiteDetailResource;
|
|
100
|
-
export declare function ProductRangeSiteDetailResourceToJSON(json: any): ProductRangeSiteDetailResource;
|
|
101
|
-
export declare function ProductRangeSiteDetailResourceToJSONTyped(value?: ProductRangeSiteDetailResource | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,98 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* My API
|
|
6
|
-
* API documentation for my Laravel app
|
|
7
|
-
*
|
|
8
|
-
* The version of the OpenAPI document: 1.0.0
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
-
* https://openapi-generator.tech
|
|
13
|
-
* Do not edit the class manually.
|
|
14
|
-
*/
|
|
15
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.instanceOfProductRangeSiteDetailResource = instanceOfProductRangeSiteDetailResource;
|
|
17
|
-
exports.ProductRangeSiteDetailResourceFromJSON = ProductRangeSiteDetailResourceFromJSON;
|
|
18
|
-
exports.ProductRangeSiteDetailResourceFromJSONTyped = ProductRangeSiteDetailResourceFromJSONTyped;
|
|
19
|
-
exports.ProductRangeSiteDetailResourceToJSON = ProductRangeSiteDetailResourceToJSON;
|
|
20
|
-
exports.ProductRangeSiteDetailResourceToJSONTyped = ProductRangeSiteDetailResourceToJSONTyped;
|
|
21
|
-
var SiteLiteResource_1 = require("./SiteLiteResource");
|
|
22
|
-
var ProductCategoryLiteResource_1 = require("./ProductCategoryLiteResource");
|
|
23
|
-
var SEOResource_1 = require("./SEOResource");
|
|
24
|
-
/**
|
|
25
|
-
* Check if a given object implements the ProductRangeSiteDetailResource interface.
|
|
26
|
-
*/
|
|
27
|
-
function instanceOfProductRangeSiteDetailResource(value) {
|
|
28
|
-
if (!('id' in value) || value['id'] === undefined)
|
|
29
|
-
return false;
|
|
30
|
-
if (!('siteId' in value) || value['siteId'] === undefined)
|
|
31
|
-
return false;
|
|
32
|
-
if (!('site' in value) || value['site'] === undefined)
|
|
33
|
-
return false;
|
|
34
|
-
if (!('name' in value) || value['name'] === undefined)
|
|
35
|
-
return false;
|
|
36
|
-
if (!('slug' in value) || value['slug'] === undefined)
|
|
37
|
-
return false;
|
|
38
|
-
if (!('description' in value) || value['description'] === undefined)
|
|
39
|
-
return false;
|
|
40
|
-
if (!('content' in value) || value['content'] === undefined)
|
|
41
|
-
return false;
|
|
42
|
-
if (!('excerpt' in value) || value['excerpt'] === undefined)
|
|
43
|
-
return false;
|
|
44
|
-
if (!('popularityScore' in value) || value['popularityScore'] === undefined)
|
|
45
|
-
return false;
|
|
46
|
-
if (!('isDisabled' in value) || value['isDisabled'] === undefined)
|
|
47
|
-
return false;
|
|
48
|
-
if (!('seo' in value) || value['seo'] === undefined)
|
|
49
|
-
return false;
|
|
50
|
-
if (!('categories' in value) || value['categories'] === undefined)
|
|
51
|
-
return false;
|
|
52
|
-
return true;
|
|
53
|
-
}
|
|
54
|
-
function ProductRangeSiteDetailResourceFromJSON(json) {
|
|
55
|
-
return ProductRangeSiteDetailResourceFromJSONTyped(json, false);
|
|
56
|
-
}
|
|
57
|
-
function ProductRangeSiteDetailResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
58
|
-
if (json == null) {
|
|
59
|
-
return json;
|
|
60
|
-
}
|
|
61
|
-
return {
|
|
62
|
-
'id': json['id'],
|
|
63
|
-
'siteId': json['siteId'],
|
|
64
|
-
'site': (0, SiteLiteResource_1.SiteLiteResourceFromJSON)(json['site']),
|
|
65
|
-
'name': json['name'],
|
|
66
|
-
'slug': json['slug'],
|
|
67
|
-
'description': json['description'],
|
|
68
|
-
'content': json['content'],
|
|
69
|
-
'excerpt': json['excerpt'],
|
|
70
|
-
'popularityScore': json['popularityScore'],
|
|
71
|
-
'isDisabled': json['isDisabled'],
|
|
72
|
-
'seo': (0, SEOResource_1.SEOResourceFromJSON)(json['seo']),
|
|
73
|
-
'categories': (json['categories'] == null ? null : json['categories'].map(ProductCategoryLiteResource_1.ProductCategoryLiteResourceFromJSON)),
|
|
74
|
-
};
|
|
75
|
-
}
|
|
76
|
-
function ProductRangeSiteDetailResourceToJSON(json) {
|
|
77
|
-
return ProductRangeSiteDetailResourceToJSONTyped(json, false);
|
|
78
|
-
}
|
|
79
|
-
function ProductRangeSiteDetailResourceToJSONTyped(value, ignoreDiscriminator) {
|
|
80
|
-
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
81
|
-
if (value == null) {
|
|
82
|
-
return value;
|
|
83
|
-
}
|
|
84
|
-
return {
|
|
85
|
-
'id': value['id'],
|
|
86
|
-
'siteId': value['siteId'],
|
|
87
|
-
'site': (0, SiteLiteResource_1.SiteLiteResourceToJSON)(value['site']),
|
|
88
|
-
'name': value['name'],
|
|
89
|
-
'slug': value['slug'],
|
|
90
|
-
'description': value['description'],
|
|
91
|
-
'content': value['content'],
|
|
92
|
-
'excerpt': value['excerpt'],
|
|
93
|
-
'popularityScore': value['popularityScore'],
|
|
94
|
-
'isDisabled': value['isDisabled'],
|
|
95
|
-
'seo': (0, SEOResource_1.SEOResourceToJSON)(value['seo']),
|
|
96
|
-
'categories': (value['categories'] == null ? null : value['categories'].map(ProductCategoryLiteResource_1.ProductCategoryLiteResourceToJSON)),
|
|
97
|
-
};
|
|
98
|
-
}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* My API
|
|
3
|
-
* API documentation for my Laravel app
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0.0
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
import type { ProductRangeSiteDetailResource } from './ProductRangeSiteDetailResource';
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface ProductRangeSiteDetailResourceArrayResponse
|
|
17
|
-
*/
|
|
18
|
-
export interface ProductRangeSiteDetailResourceArrayResponse {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {Array<ProductRangeSiteDetailResource>}
|
|
22
|
-
* @memberof ProductRangeSiteDetailResourceArrayResponse
|
|
23
|
-
*/
|
|
24
|
-
data?: Array<ProductRangeSiteDetailResource>;
|
|
25
|
-
}
|
|
26
|
-
/**
|
|
27
|
-
* Check if a given object implements the ProductRangeSiteDetailResourceArrayResponse interface.
|
|
28
|
-
*/
|
|
29
|
-
export declare function instanceOfProductRangeSiteDetailResourceArrayResponse(value: object): value is ProductRangeSiteDetailResourceArrayResponse;
|
|
30
|
-
export declare function ProductRangeSiteDetailResourceArrayResponseFromJSON(json: any): ProductRangeSiteDetailResourceArrayResponse;
|
|
31
|
-
export declare function ProductRangeSiteDetailResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProductRangeSiteDetailResourceArrayResponse;
|
|
32
|
-
export declare function ProductRangeSiteDetailResourceArrayResponseToJSON(json: any): ProductRangeSiteDetailResourceArrayResponse;
|
|
33
|
-
export declare function ProductRangeSiteDetailResourceArrayResponseToJSONTyped(value?: ProductRangeSiteDetailResourceArrayResponse | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* My API
|
|
6
|
-
* API documentation for my Laravel app
|
|
7
|
-
*
|
|
8
|
-
* The version of the OpenAPI document: 1.0.0
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
-
* https://openapi-generator.tech
|
|
13
|
-
* Do not edit the class manually.
|
|
14
|
-
*/
|
|
15
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.instanceOfProductRangeSiteDetailResourceArrayResponse = instanceOfProductRangeSiteDetailResourceArrayResponse;
|
|
17
|
-
exports.ProductRangeSiteDetailResourceArrayResponseFromJSON = ProductRangeSiteDetailResourceArrayResponseFromJSON;
|
|
18
|
-
exports.ProductRangeSiteDetailResourceArrayResponseFromJSONTyped = ProductRangeSiteDetailResourceArrayResponseFromJSONTyped;
|
|
19
|
-
exports.ProductRangeSiteDetailResourceArrayResponseToJSON = ProductRangeSiteDetailResourceArrayResponseToJSON;
|
|
20
|
-
exports.ProductRangeSiteDetailResourceArrayResponseToJSONTyped = ProductRangeSiteDetailResourceArrayResponseToJSONTyped;
|
|
21
|
-
var ProductRangeSiteDetailResource_1 = require("./ProductRangeSiteDetailResource");
|
|
22
|
-
/**
|
|
23
|
-
* Check if a given object implements the ProductRangeSiteDetailResourceArrayResponse interface.
|
|
24
|
-
*/
|
|
25
|
-
function instanceOfProductRangeSiteDetailResourceArrayResponse(value) {
|
|
26
|
-
return true;
|
|
27
|
-
}
|
|
28
|
-
function ProductRangeSiteDetailResourceArrayResponseFromJSON(json) {
|
|
29
|
-
return ProductRangeSiteDetailResourceArrayResponseFromJSONTyped(json, false);
|
|
30
|
-
}
|
|
31
|
-
function ProductRangeSiteDetailResourceArrayResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
-
if (json == null) {
|
|
33
|
-
return json;
|
|
34
|
-
}
|
|
35
|
-
return {
|
|
36
|
-
'data': json['data'] == null ? undefined : (json['data'].map(ProductRangeSiteDetailResource_1.ProductRangeSiteDetailResourceFromJSON)),
|
|
37
|
-
};
|
|
38
|
-
}
|
|
39
|
-
function ProductRangeSiteDetailResourceArrayResponseToJSON(json) {
|
|
40
|
-
return ProductRangeSiteDetailResourceArrayResponseToJSONTyped(json, false);
|
|
41
|
-
}
|
|
42
|
-
function ProductRangeSiteDetailResourceArrayResponseToJSONTyped(value, ignoreDiscriminator) {
|
|
43
|
-
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
44
|
-
if (value == null) {
|
|
45
|
-
return value;
|
|
46
|
-
}
|
|
47
|
-
return {
|
|
48
|
-
'data': value['data'] == null ? undefined : (value['data'].map(ProductRangeSiteDetailResource_1.ProductRangeSiteDetailResourceToJSON)),
|
|
49
|
-
};
|
|
50
|
-
}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* My API
|
|
3
|
-
* API documentation for my Laravel app
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0.0
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
/**
|
|
13
|
-
*
|
|
14
|
-
* @export
|
|
15
|
-
*/
|
|
16
|
-
export declare const ProductRangeSortBy: {
|
|
17
|
-
readonly Relevance: "relevance";
|
|
18
|
-
readonly MostPopular: "mostPopular";
|
|
19
|
-
readonly AscendingName: "ascendingName";
|
|
20
|
-
readonly DescendingName: "descendingName";
|
|
21
|
-
};
|
|
22
|
-
export type ProductRangeSortBy = typeof ProductRangeSortBy[keyof typeof ProductRangeSortBy];
|
|
23
|
-
export declare function instanceOfProductRangeSortBy(value: any): boolean;
|
|
24
|
-
export declare function ProductRangeSortByFromJSON(json: any): ProductRangeSortBy;
|
|
25
|
-
export declare function ProductRangeSortByFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProductRangeSortBy;
|
|
26
|
-
export declare function ProductRangeSortByToJSON(value?: ProductRangeSortBy | null): any;
|
|
27
|
-
export declare function ProductRangeSortByToJSONTyped(value: any, ignoreDiscriminator: boolean): ProductRangeSortBy;
|
|
@@ -1,53 +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.ProductRangeSortBy = void 0;
|
|
17
|
-
exports.instanceOfProductRangeSortBy = instanceOfProductRangeSortBy;
|
|
18
|
-
exports.ProductRangeSortByFromJSON = ProductRangeSortByFromJSON;
|
|
19
|
-
exports.ProductRangeSortByFromJSONTyped = ProductRangeSortByFromJSONTyped;
|
|
20
|
-
exports.ProductRangeSortByToJSON = ProductRangeSortByToJSON;
|
|
21
|
-
exports.ProductRangeSortByToJSONTyped = ProductRangeSortByToJSONTyped;
|
|
22
|
-
/**
|
|
23
|
-
*
|
|
24
|
-
* @export
|
|
25
|
-
*/
|
|
26
|
-
exports.ProductRangeSortBy = {
|
|
27
|
-
Relevance: 'relevance',
|
|
28
|
-
MostPopular: 'mostPopular',
|
|
29
|
-
AscendingName: 'ascendingName',
|
|
30
|
-
DescendingName: 'descendingName'
|
|
31
|
-
};
|
|
32
|
-
function instanceOfProductRangeSortBy(value) {
|
|
33
|
-
for (var key in exports.ProductRangeSortBy) {
|
|
34
|
-
if (Object.prototype.hasOwnProperty.call(exports.ProductRangeSortBy, key)) {
|
|
35
|
-
if (exports.ProductRangeSortBy[key] === value) {
|
|
36
|
-
return true;
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
return false;
|
|
41
|
-
}
|
|
42
|
-
function ProductRangeSortByFromJSON(json) {
|
|
43
|
-
return ProductRangeSortByFromJSONTyped(json, false);
|
|
44
|
-
}
|
|
45
|
-
function ProductRangeSortByFromJSONTyped(json, ignoreDiscriminator) {
|
|
46
|
-
return json;
|
|
47
|
-
}
|
|
48
|
-
function ProductRangeSortByToJSON(value) {
|
|
49
|
-
return value;
|
|
50
|
-
}
|
|
51
|
-
function ProductRangeSortByToJSONTyped(value, ignoreDiscriminator) {
|
|
52
|
-
return value;
|
|
53
|
-
}
|
|
@@ -1,52 +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 { StoreProductChildRequestAssetsInner } from './StoreProductChildRequestAssetsInner';
|
|
13
|
-
import type { StoreProductRangeRequestSitesInner } from './StoreProductRangeRequestSitesInner';
|
|
14
|
-
/**
|
|
15
|
-
*
|
|
16
|
-
* @export
|
|
17
|
-
* @interface StoreProductRangeRequest
|
|
18
|
-
*/
|
|
19
|
-
export interface StoreProductRangeRequest {
|
|
20
|
-
/**
|
|
21
|
-
*
|
|
22
|
-
* @type {string}
|
|
23
|
-
* @memberof StoreProductRangeRequest
|
|
24
|
-
*/
|
|
25
|
-
name: string;
|
|
26
|
-
/**
|
|
27
|
-
*
|
|
28
|
-
* @type {number}
|
|
29
|
-
* @memberof StoreProductRangeRequest
|
|
30
|
-
*/
|
|
31
|
-
supplierId?: number;
|
|
32
|
-
/**
|
|
33
|
-
*
|
|
34
|
-
* @type {Array<StoreProductRangeRequestSitesInner>}
|
|
35
|
-
* @memberof StoreProductRangeRequest
|
|
36
|
-
*/
|
|
37
|
-
sites?: Array<StoreProductRangeRequestSitesInner>;
|
|
38
|
-
/**
|
|
39
|
-
*
|
|
40
|
-
* @type {Array<StoreProductChildRequestAssetsInner>}
|
|
41
|
-
* @memberof StoreProductRangeRequest
|
|
42
|
-
*/
|
|
43
|
-
assets?: Array<StoreProductChildRequestAssetsInner>;
|
|
44
|
-
}
|
|
45
|
-
/**
|
|
46
|
-
* Check if a given object implements the StoreProductRangeRequest interface.
|
|
47
|
-
*/
|
|
48
|
-
export declare function instanceOfStoreProductRangeRequest(value: object): value is StoreProductRangeRequest;
|
|
49
|
-
export declare function StoreProductRangeRequestFromJSON(json: any): StoreProductRangeRequest;
|
|
50
|
-
export declare function StoreProductRangeRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): StoreProductRangeRequest;
|
|
51
|
-
export declare function StoreProductRangeRequestToJSON(json: any): StoreProductRangeRequest;
|
|
52
|
-
export declare function StoreProductRangeRequestToJSONTyped(value?: StoreProductRangeRequest | 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.instanceOfStoreProductRangeRequest = instanceOfStoreProductRangeRequest;
|
|
17
|
-
exports.StoreProductRangeRequestFromJSON = StoreProductRangeRequestFromJSON;
|
|
18
|
-
exports.StoreProductRangeRequestFromJSONTyped = StoreProductRangeRequestFromJSONTyped;
|
|
19
|
-
exports.StoreProductRangeRequestToJSON = StoreProductRangeRequestToJSON;
|
|
20
|
-
exports.StoreProductRangeRequestToJSONTyped = StoreProductRangeRequestToJSONTyped;
|
|
21
|
-
var StoreProductChildRequestAssetsInner_1 = require("./StoreProductChildRequestAssetsInner");
|
|
22
|
-
var StoreProductRangeRequestSitesInner_1 = require("./StoreProductRangeRequestSitesInner");
|
|
23
|
-
/**
|
|
24
|
-
* Check if a given object implements the StoreProductRangeRequest interface.
|
|
25
|
-
*/
|
|
26
|
-
function instanceOfStoreProductRangeRequest(value) {
|
|
27
|
-
if (!('name' in value) || value['name'] === undefined)
|
|
28
|
-
return false;
|
|
29
|
-
return true;
|
|
30
|
-
}
|
|
31
|
-
function StoreProductRangeRequestFromJSON(json) {
|
|
32
|
-
return StoreProductRangeRequestFromJSONTyped(json, false);
|
|
33
|
-
}
|
|
34
|
-
function StoreProductRangeRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
-
if (json == null) {
|
|
36
|
-
return json;
|
|
37
|
-
}
|
|
38
|
-
return {
|
|
39
|
-
'name': json['name'],
|
|
40
|
-
'supplierId': json['supplier_id'] == null ? undefined : json['supplier_id'],
|
|
41
|
-
'sites': json['sites'] == null ? undefined : (json['sites'].map(StoreProductRangeRequestSitesInner_1.StoreProductRangeRequestSitesInnerFromJSON)),
|
|
42
|
-
'assets': json['assets'] == null ? undefined : (json['assets'].map(StoreProductChildRequestAssetsInner_1.StoreProductChildRequestAssetsInnerFromJSON)),
|
|
43
|
-
};
|
|
44
|
-
}
|
|
45
|
-
function StoreProductRangeRequestToJSON(json) {
|
|
46
|
-
return StoreProductRangeRequestToJSONTyped(json, false);
|
|
47
|
-
}
|
|
48
|
-
function StoreProductRangeRequestToJSONTyped(value, ignoreDiscriminator) {
|
|
49
|
-
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
50
|
-
if (value == null) {
|
|
51
|
-
return value;
|
|
52
|
-
}
|
|
53
|
-
return {
|
|
54
|
-
'name': value['name'],
|
|
55
|
-
'supplier_id': value['supplierId'],
|
|
56
|
-
'sites': value['sites'] == null ? undefined : (value['sites'].map(StoreProductRangeRequestSitesInner_1.StoreProductRangeRequestSitesInnerToJSON)),
|
|
57
|
-
'assets': value['assets'] == null ? undefined : (value['assets'].map(StoreProductChildRequestAssetsInner_1.StoreProductChildRequestAssetsInnerToJSON)),
|
|
58
|
-
};
|
|
59
|
-
}
|