@digital8/lighting-illusions-ts-sdk 0.0.1439 → 0.0.1441
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 +108 -2
- package/README.md +78 -4
- package/dist/apis/AttributeApi.d.ts +16 -1
- package/dist/apis/AttributeApi.js +58 -0
- 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/ProductRangeApi.d.ts +269 -0
- package/dist/apis/ProductRangeApi.js +1043 -0
- package/dist/apis/index.d.ts +2 -0
- package/dist/apis/index.js +2 -0
- package/dist/models/AssetLiteResource.d.ts +12 -0
- package/dist/models/AssetLiteResource.js +6 -0
- package/dist/models/AttachAccessoriesProductRangeRequest.d.ts +32 -0
- package/dist/models/AttachAccessoriesProductRangeRequest.js +51 -0
- package/dist/models/AttachAttributesProductRangeRequest.d.ts +33 -0
- package/dist/models/AttachAttributesProductRangeRequest.js +52 -0
- package/dist/models/AttachAttributesProductRangeRequestAttributesInner.d.ts +38 -0
- package/dist/models/AttachAttributesProductRangeRequestAttributesInner.js +53 -0
- package/dist/models/AttachDocumentablesDocumentRequestDocumentablesInner.d.ts +2 -1
- package/dist/models/AttachDocumentablesDocumentRequestDocumentablesInner.js +2 -1
- package/dist/models/AttachDocumentsProductRangeRequest.d.ts +33 -0
- package/dist/models/AttachDocumentsProductRangeRequest.js +52 -0
- package/dist/models/DetachAccessoriesProductRangeRequest.d.ts +32 -0
- package/dist/models/DetachAccessoriesProductRangeRequest.js +51 -0
- package/dist/models/DetachAttributesProductRangeRequest.d.ts +32 -0
- package/dist/models/DetachAttributesProductRangeRequest.js +51 -0
- package/dist/models/DetachDocumentablesDocumentRequestDocumentablesInner.d.ts +2 -1
- package/dist/models/DetachDocumentablesDocumentRequestDocumentablesInner.js +2 -1
- package/dist/models/DetachDocumentsProductRangeRequest.d.ts +32 -0
- package/dist/models/DetachDocumentsProductRangeRequest.js +51 -0
- package/dist/models/ExternalApiLogResource.d.ts +1 -1
- package/dist/models/ExternalApiLogResource.js +3 -1
- package/dist/models/GetAllDocumentRequest.d.ts +2 -1
- package/dist/models/GetAllDocumentRequest.js +2 -1
- package/dist/models/GetAllProductChildRequest.d.ts +1 -0
- package/dist/models/GetAllProductChildRequest.js +1 -0
- package/dist/models/GetAllProductRangeRequest.d.ts +98 -0
- package/dist/models/GetAllProductRangeRequest.js +82 -0
- package/dist/models/IndexAttributeRequest.d.ts +2 -0
- package/dist/models/IndexAttributeRequest.js +3 -1
- package/dist/models/IndexDocumentRequest.d.ts +2 -1
- package/dist/models/IndexDocumentRequest.js +2 -1
- package/dist/models/IndexLabelRequest.d.ts +109 -0
- package/dist/models/IndexLabelRequest.js +92 -0
- package/dist/models/IndexModelAttributeRequest.d.ts +118 -0
- package/dist/models/IndexModelAttributeRequest.js +93 -0
- package/dist/models/IndexProductChildRequest.d.ts +2 -0
- package/dist/models/IndexProductChildRequest.js +2 -0
- package/dist/models/IndexProductRangeRequest.d.ts +110 -0
- package/dist/models/IndexProductRangeRequest.js +86 -0
- 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/ModelAttributeListResource.d.ts +64 -0
- package/dist/models/ModelAttributeListResource.js +71 -0
- package/dist/models/ModelAttributeListResourceArrayResponse.d.ts +33 -0
- package/dist/models/ModelAttributeListResourceArrayResponse.js +50 -0
- package/dist/models/ModelAttributeResource.d.ts +6 -0
- package/dist/models/ModelAttributeResource.js +2 -0
- package/dist/models/PaginatedLabelListResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedLabelListResourceResponse.js +57 -0
- package/dist/models/PaginatedModelAttributeListResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedModelAttributeListResourceResponse.js +57 -0
- package/dist/models/PaginatedProductRangeFrontendListResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedProductRangeFrontendListResourceResponse.js +57 -0
- package/dist/models/PaginatedProductRangeListResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedProductRangeListResourceResponse.js +57 -0
- package/dist/models/PaginatedProductRangeLiteResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedProductRangeLiteResourceResponse.js +57 -0
- package/dist/models/PaginatedProductRangeResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedProductRangeResourceResponse.js +57 -0
- package/dist/models/PaginatedProductRangeSearchResultResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedProductRangeSearchResultResourceResponse.js +57 -0
- package/dist/models/ProductRangeAggregationResource.d.ts +44 -0
- package/dist/models/ProductRangeAggregationResource.js +59 -0
- package/dist/models/ProductRangeAggregationResourceArrayResponse.d.ts +33 -0
- package/dist/models/ProductRangeAggregationResourceArrayResponse.js +50 -0
- package/dist/models/ProductRangeFrontendListResource.d.ts +62 -0
- package/dist/models/ProductRangeFrontendListResource.js +71 -0
- package/dist/models/ProductRangeFrontendListResourceArrayResponse.d.ts +33 -0
- package/dist/models/ProductRangeFrontendListResourceArrayResponse.js +50 -0
- package/dist/models/ProductRangeFrontendResource.d.ts +117 -0
- package/dist/models/ProductRangeFrontendResource.js +106 -0
- package/dist/models/ProductRangeFrontendResourceArrayResponse.d.ts +33 -0
- package/dist/models/ProductRangeFrontendResourceArrayResponse.js +50 -0
- package/dist/models/ProductRangeListResource.d.ts +66 -0
- package/dist/models/ProductRangeListResource.js +75 -0
- package/dist/models/ProductRangeListResourceArrayResponse.d.ts +33 -0
- package/dist/models/ProductRangeListResourceArrayResponse.js +50 -0
- package/dist/models/ProductRangeLiteResource.d.ts +38 -0
- package/dist/models/ProductRangeLiteResource.js +55 -0
- package/dist/models/ProductRangeLiteResourceArrayResponse.d.ts +33 -0
- package/dist/models/ProductRangeLiteResourceArrayResponse.js +50 -0
- package/dist/models/ProductRangeResource.d.ts +89 -0
- package/dist/models/ProductRangeResource.js +86 -0
- package/dist/models/ProductRangeResourceArrayResponse.d.ts +33 -0
- package/dist/models/ProductRangeResourceArrayResponse.js +50 -0
- package/dist/models/ProductRangeSearchResponseResource.d.ts +47 -0
- package/dist/models/ProductRangeSearchResponseResource.js +62 -0
- package/dist/models/ProductRangeSearchResponseResourceArrayResponse.d.ts +33 -0
- package/dist/models/ProductRangeSearchResponseResourceArrayResponse.js +50 -0
- package/dist/models/ProductRangeSearchResponseResourceMeta.d.ts +50 -0
- package/dist/models/ProductRangeSearchResponseResourceMeta.js +63 -0
- package/dist/models/ProductRangeSearchResultResource.d.ts +80 -0
- package/dist/models/ProductRangeSearchResultResource.js +83 -0
- package/dist/models/ProductRangeSearchResultResourceArrayResponse.d.ts +33 -0
- package/dist/models/ProductRangeSearchResultResourceArrayResponse.js +50 -0
- package/dist/models/ProductRangeSiteDetailLiteResource.d.ts +44 -0
- package/dist/models/ProductRangeSiteDetailLiteResource.js +59 -0
- package/dist/models/ProductRangeSiteDetailLiteResourceArrayResponse.d.ts +33 -0
- package/dist/models/ProductRangeSiteDetailLiteResourceArrayResponse.js +50 -0
- package/dist/models/ProductRangeSiteDetailResource.d.ts +101 -0
- package/dist/models/ProductRangeSiteDetailResource.js +98 -0
- package/dist/models/ProductRangeSiteDetailResourceArrayResponse.d.ts +33 -0
- package/dist/models/ProductRangeSiteDetailResourceArrayResponse.js +50 -0
- package/dist/models/ProductRangeSortBy.d.ts +27 -0
- package/dist/models/ProductRangeSortBy.js +53 -0
- package/dist/models/ProductSearchResultResource.d.ts +6 -0
- package/dist/models/ProductSearchResultResource.js +4 -0
- package/dist/models/StoreAssetForAssetableRequest.d.ts +2 -0
- package/dist/models/StoreAssetForAssetableRequest.js +3 -1
- package/dist/models/StoreLabelRequest.d.ts +74 -0
- package/dist/models/StoreLabelRequest.js +71 -0
- package/dist/models/StoreProductRangeRequest.d.ts +52 -0
- package/dist/models/StoreProductRangeRequest.js +59 -0
- package/dist/models/StoreProductRangeRequestSitesInner.d.ts +92 -0
- package/dist/models/StoreProductRangeRequestSitesInner.js +75 -0
- package/dist/models/UpdateLabelRequest.d.ts +74 -0
- package/dist/models/UpdateLabelRequest.js +63 -0
- package/dist/models/UpdateProductRangeRequest.d.ts +59 -0
- package/dist/models/UpdateProductRangeRequest.js +62 -0
- package/dist/models/UpdateProductRangeRequestAttributesInner.d.ts +38 -0
- package/dist/models/UpdateProductRangeRequestAttributesInner.js +51 -0
- package/dist/models/UpdateProductTypeRequest.d.ts +9 -9
- package/dist/models/UpdateProductTypeRequest.js +9 -9
- package/dist/models/index.d.ts +52 -1
- package/dist/models/index.js +52 -1
- package/docs/AssetLiteResource.md +4 -0
- package/docs/AttachAccessoriesProductRangeRequest.md +34 -0
- package/docs/AttachAttributesProductRangeRequest.md +34 -0
- package/docs/AttachAttributesProductRangeRequestAttributesInner.md +36 -0
- package/docs/AttachDocumentsProductRangeRequest.md +34 -0
- package/docs/AttributeApi.md +66 -0
- package/docs/DetachAccessoriesProductRangeRequest.md +34 -0
- package/docs/DetachAttributesProductRangeRequest.md +34 -0
- package/docs/DetachDocumentsProductRangeRequest.md +34 -0
- package/docs/GetAllProductRangeRequest.md +50 -0
- package/docs/IndexLabelRequest.md +50 -0
- package/docs/IndexModelAttributeRequest.md +54 -0
- package/docs/IndexProductRangeRequest.md +54 -0
- package/docs/LabelApi.md +407 -0
- package/docs/LabelListResource.md +48 -0
- package/docs/LabelListResourceArrayResponse.md +34 -0
- package/docs/LabelLiteResource.md +42 -0
- package/docs/LabelLiteResourceArrayResponse.md +34 -0
- package/docs/LabelResource.md +12 -6
- package/docs/ModelAttributeListResource.md +44 -0
- package/docs/ModelAttributeListResourceArrayResponse.md +34 -0
- package/docs/ModelAttributeResource.md +2 -0
- package/docs/PaginatedLabelListResourceResponse.md +36 -0
- package/docs/PaginatedModelAttributeListResourceResponse.md +36 -0
- package/docs/PaginatedProductRangeFrontendListResourceResponse.md +36 -0
- package/docs/PaginatedProductRangeListResourceResponse.md +36 -0
- package/docs/PaginatedProductRangeLiteResourceResponse.md +36 -0
- package/docs/PaginatedProductRangeResourceResponse.md +36 -0
- package/docs/PaginatedProductRangeSearchResultResourceResponse.md +36 -0
- package/docs/ProductApi.md +1 -1
- package/docs/ProductRangeAggregationResource.md +38 -0
- package/docs/ProductRangeAggregationResourceArrayResponse.md +34 -0
- package/docs/ProductRangeApi.md +1097 -0
- package/docs/ProductRangeFrontendListResource.md +44 -0
- package/docs/ProductRangeFrontendListResourceArrayResponse.md +34 -0
- package/docs/ProductRangeFrontendResource.md +62 -0
- package/docs/ProductRangeFrontendResourceArrayResponse.md +34 -0
- package/docs/ProductRangeListResource.md +44 -0
- package/docs/ProductRangeListResourceArrayResponse.md +34 -0
- package/docs/ProductRangeLiteResource.md +36 -0
- package/docs/ProductRangeLiteResourceArrayResponse.md +34 -0
- package/docs/ProductRangeResource.md +52 -0
- package/docs/ProductRangeResourceArrayResponse.md +34 -0
- package/docs/ProductRangeSearchResponseResource.md +38 -0
- package/docs/ProductRangeSearchResponseResourceArrayResponse.md +34 -0
- package/docs/ProductRangeSearchResponseResourceMeta.md +40 -0
- package/docs/ProductRangeSearchResultResource.md +50 -0
- package/docs/ProductRangeSearchResultResourceArrayResponse.md +34 -0
- package/docs/ProductRangeSiteDetailLiteResource.md +38 -0
- package/docs/ProductRangeSiteDetailLiteResourceArrayResponse.md +34 -0
- package/docs/ProductRangeSiteDetailResource.md +56 -0
- package/docs/ProductRangeSiteDetailResourceArrayResponse.md +34 -0
- package/docs/ProductRangeSortBy.md +32 -0
- package/docs/ProductSearchResultResource.md +2 -0
- package/docs/StoreLabelRequest.md +48 -0
- package/docs/StoreProductRangeRequest.md +40 -0
- package/docs/StoreProductRangeRequestSitesInner.md +54 -0
- package/docs/UpdateLabelRequest.md +48 -0
- package/docs/UpdateProductRangeRequest.md +42 -0
- package/docs/{UpdateProductTypeRequestPerformanceValuesInner.md → UpdateProductRangeRequestAttributesInner.md} +4 -4
- package/docs/UpdateProductTypeRequest.md +4 -4
- package/package.json +1 -1
- package/src/apis/AttributeApi.ts +50 -0
- package/src/apis/LabelApi.ts +328 -0
- package/src/apis/ProductApi.ts +1 -1
- package/src/apis/ProductRangeApi.ts +888 -0
- package/src/apis/index.ts +2 -0
- package/src/models/AssetLiteResource.ts +17 -0
- package/src/models/AttachAccessoriesProductRangeRequest.ts +66 -0
- package/src/models/AttachAttributesProductRangeRequest.ts +74 -0
- package/src/models/AttachAttributesProductRangeRequestAttributesInner.ts +74 -0
- package/src/models/AttachDocumentablesDocumentRequestDocumentablesInner.ts +2 -1
- package/src/models/AttachDocumentsProductRangeRequest.ts +74 -0
- package/src/models/DetachAccessoriesProductRangeRequest.ts +66 -0
- package/src/models/DetachAttributesProductRangeRequest.ts +66 -0
- package/src/models/DetachDocumentablesDocumentRequestDocumentablesInner.ts +2 -1
- package/src/models/DetachDocumentsProductRangeRequest.ts +66 -0
- package/src/models/ExternalApiLogResource.ts +3 -2
- package/src/models/GetAllDocumentRequest.ts +2 -1
- package/src/models/GetAllProductChildRequest.ts +1 -0
- package/src/models/GetAllProductRangeRequest.ts +151 -0
- package/src/models/IndexAttributeRequest.ts +3 -1
- package/src/models/IndexDocumentRequest.ts +2 -1
- package/src/models/IndexLabelRequest.ts +163 -0
- package/src/models/IndexModelAttributeRequest.ts +176 -0
- package/src/models/IndexProductChildRequest.ts +2 -0
- package/src/models/IndexProductRangeRequest.ts +167 -0
- 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/ModelAttributeListResource.ts +125 -0
- package/src/models/ModelAttributeListResourceArrayResponse.ts +73 -0
- package/src/models/ModelAttributeResource.ts +8 -0
- package/src/models/PaginatedLabelListResourceResponse.ts +90 -0
- package/src/models/PaginatedModelAttributeListResourceResponse.ts +90 -0
- package/src/models/PaginatedProductRangeFrontendListResourceResponse.ts +90 -0
- package/src/models/PaginatedProductRangeListResourceResponse.ts +90 -0
- package/src/models/PaginatedProductRangeLiteResourceResponse.ts +90 -0
- package/src/models/PaginatedProductRangeResourceResponse.ts +90 -0
- package/src/models/PaginatedProductRangeSearchResultResourceResponse.ts +90 -0
- package/src/models/ProductRangeAggregationResource.ts +84 -0
- package/src/models/ProductRangeAggregationResourceArrayResponse.ts +73 -0
- package/src/models/ProductRangeFrontendListResource.ts +111 -0
- package/src/models/ProductRangeFrontendListResourceArrayResponse.ts +73 -0
- package/src/models/ProductRangeFrontendResource.ts +199 -0
- package/src/models/ProductRangeFrontendResourceArrayResponse.ts +73 -0
- package/src/models/ProductRangeListResource.ts +140 -0
- package/src/models/ProductRangeListResourceArrayResponse.ts +73 -0
- package/src/models/ProductRangeLiteResource.ts +75 -0
- package/src/models/ProductRangeLiteResourceArrayResponse.ts +73 -0
- package/src/models/ProductRangeResource.ts +167 -0
- package/src/models/ProductRangeResourceArrayResponse.ts +73 -0
- package/src/models/ProductRangeSearchResponseResource.ts +106 -0
- package/src/models/ProductRangeSearchResponseResourceArrayResponse.ts +73 -0
- package/src/models/ProductRangeSearchResponseResourceMeta.ts +93 -0
- package/src/models/ProductRangeSearchResultResource.ts +138 -0
- package/src/models/ProductRangeSearchResultResourceArrayResponse.ts +73 -0
- package/src/models/ProductRangeSiteDetailLiteResource.ts +84 -0
- package/src/models/ProductRangeSiteDetailLiteResourceArrayResponse.ts +73 -0
- package/src/models/ProductRangeSiteDetailResource.ts +187 -0
- package/src/models/ProductRangeSiteDetailResourceArrayResponse.ts +73 -0
- package/src/models/ProductRangeSortBy.ts +55 -0
- package/src/models/ProductSearchResultResource.ts +9 -0
- package/src/models/StoreAssetForAssetableRequest.ts +3 -1
- package/src/models/StoreLabelRequest.ts +125 -0
- package/src/models/StoreProductRangeRequest.ts +105 -0
- package/src/models/StoreProductRangeRequestSitesInner.ts +148 -0
- package/src/models/UpdateLabelRequest.ts +121 -0
- package/src/models/UpdateProductRangeRequest.ts +120 -0
- package/src/models/UpdateProductRangeRequestAttributesInner.ts +73 -0
- package/src/models/UpdateProductTypeRequest.ts +22 -22
- package/src/models/index.ts +52 -1
- package/dist/models/UpdateProductTypeRequestPerformanceValuesInner.d.ts +0 -38
- package/dist/models/UpdateProductTypeRequestPerformanceValuesInner.js +0 -51
- package/src/models/UpdateProductTypeRequestPerformanceValuesInner.ts +0 -73
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* My API
|
|
3
|
+
* API documentation for my Laravel app
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { PagingMetadata } from './PagingMetadata';
|
|
13
|
+
import type { ModelAttributeListResource } from './ModelAttributeListResource';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface PaginatedModelAttributeListResourceResponse
|
|
18
|
+
*/
|
|
19
|
+
export interface PaginatedModelAttributeListResourceResponse {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {Array<ModelAttributeListResource>}
|
|
23
|
+
* @memberof PaginatedModelAttributeListResourceResponse
|
|
24
|
+
*/
|
|
25
|
+
data: Array<ModelAttributeListResource>;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {PagingMetadata}
|
|
29
|
+
* @memberof PaginatedModelAttributeListResourceResponse
|
|
30
|
+
*/
|
|
31
|
+
meta: PagingMetadata;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Check if a given object implements the PaginatedModelAttributeListResourceResponse interface.
|
|
35
|
+
*/
|
|
36
|
+
export declare function instanceOfPaginatedModelAttributeListResourceResponse(value: object): value is PaginatedModelAttributeListResourceResponse;
|
|
37
|
+
export declare function PaginatedModelAttributeListResourceResponseFromJSON(json: any): PaginatedModelAttributeListResourceResponse;
|
|
38
|
+
export declare function PaginatedModelAttributeListResourceResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginatedModelAttributeListResourceResponse;
|
|
39
|
+
export declare function PaginatedModelAttributeListResourceResponseToJSON(json: any): PaginatedModelAttributeListResourceResponse;
|
|
40
|
+
export declare function PaginatedModelAttributeListResourceResponseToJSONTyped(value?: PaginatedModelAttributeListResourceResponse | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,57 @@
|
|
|
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.instanceOfPaginatedModelAttributeListResourceResponse = instanceOfPaginatedModelAttributeListResourceResponse;
|
|
17
|
+
exports.PaginatedModelAttributeListResourceResponseFromJSON = PaginatedModelAttributeListResourceResponseFromJSON;
|
|
18
|
+
exports.PaginatedModelAttributeListResourceResponseFromJSONTyped = PaginatedModelAttributeListResourceResponseFromJSONTyped;
|
|
19
|
+
exports.PaginatedModelAttributeListResourceResponseToJSON = PaginatedModelAttributeListResourceResponseToJSON;
|
|
20
|
+
exports.PaginatedModelAttributeListResourceResponseToJSONTyped = PaginatedModelAttributeListResourceResponseToJSONTyped;
|
|
21
|
+
var PagingMetadata_1 = require("./PagingMetadata");
|
|
22
|
+
var ModelAttributeListResource_1 = require("./ModelAttributeListResource");
|
|
23
|
+
/**
|
|
24
|
+
* Check if a given object implements the PaginatedModelAttributeListResourceResponse interface.
|
|
25
|
+
*/
|
|
26
|
+
function instanceOfPaginatedModelAttributeListResourceResponse(value) {
|
|
27
|
+
if (!('data' in value) || value['data'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('meta' in value) || value['meta'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
return true;
|
|
32
|
+
}
|
|
33
|
+
function PaginatedModelAttributeListResourceResponseFromJSON(json) {
|
|
34
|
+
return PaginatedModelAttributeListResourceResponseFromJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
function PaginatedModelAttributeListResourceResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
|
+
if (json == null) {
|
|
38
|
+
return json;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'data': (json['data'].map(ModelAttributeListResource_1.ModelAttributeListResourceFromJSON)),
|
|
42
|
+
'meta': (0, PagingMetadata_1.PagingMetadataFromJSON)(json['meta']),
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
function PaginatedModelAttributeListResourceResponseToJSON(json) {
|
|
46
|
+
return PaginatedModelAttributeListResourceResponseToJSONTyped(json, false);
|
|
47
|
+
}
|
|
48
|
+
function PaginatedModelAttributeListResourceResponseToJSONTyped(value, ignoreDiscriminator) {
|
|
49
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
50
|
+
if (value == null) {
|
|
51
|
+
return value;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
'data': (value['data'].map(ModelAttributeListResource_1.ModelAttributeListResourceToJSON)),
|
|
55
|
+
'meta': (0, PagingMetadata_1.PagingMetadataToJSON)(value['meta']),
|
|
56
|
+
};
|
|
57
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* My API
|
|
3
|
+
* API documentation for my Laravel app
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { PagingMetadata } from './PagingMetadata';
|
|
13
|
+
import type { ProductRangeFrontendListResource } from './ProductRangeFrontendListResource';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface PaginatedProductRangeFrontendListResourceResponse
|
|
18
|
+
*/
|
|
19
|
+
export interface PaginatedProductRangeFrontendListResourceResponse {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {Array<ProductRangeFrontendListResource>}
|
|
23
|
+
* @memberof PaginatedProductRangeFrontendListResourceResponse
|
|
24
|
+
*/
|
|
25
|
+
data: Array<ProductRangeFrontendListResource>;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {PagingMetadata}
|
|
29
|
+
* @memberof PaginatedProductRangeFrontendListResourceResponse
|
|
30
|
+
*/
|
|
31
|
+
meta: PagingMetadata;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Check if a given object implements the PaginatedProductRangeFrontendListResourceResponse interface.
|
|
35
|
+
*/
|
|
36
|
+
export declare function instanceOfPaginatedProductRangeFrontendListResourceResponse(value: object): value is PaginatedProductRangeFrontendListResourceResponse;
|
|
37
|
+
export declare function PaginatedProductRangeFrontendListResourceResponseFromJSON(json: any): PaginatedProductRangeFrontendListResourceResponse;
|
|
38
|
+
export declare function PaginatedProductRangeFrontendListResourceResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginatedProductRangeFrontendListResourceResponse;
|
|
39
|
+
export declare function PaginatedProductRangeFrontendListResourceResponseToJSON(json: any): PaginatedProductRangeFrontendListResourceResponse;
|
|
40
|
+
export declare function PaginatedProductRangeFrontendListResourceResponseToJSONTyped(value?: PaginatedProductRangeFrontendListResourceResponse | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,57 @@
|
|
|
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.instanceOfPaginatedProductRangeFrontendListResourceResponse = instanceOfPaginatedProductRangeFrontendListResourceResponse;
|
|
17
|
+
exports.PaginatedProductRangeFrontendListResourceResponseFromJSON = PaginatedProductRangeFrontendListResourceResponseFromJSON;
|
|
18
|
+
exports.PaginatedProductRangeFrontendListResourceResponseFromJSONTyped = PaginatedProductRangeFrontendListResourceResponseFromJSONTyped;
|
|
19
|
+
exports.PaginatedProductRangeFrontendListResourceResponseToJSON = PaginatedProductRangeFrontendListResourceResponseToJSON;
|
|
20
|
+
exports.PaginatedProductRangeFrontendListResourceResponseToJSONTyped = PaginatedProductRangeFrontendListResourceResponseToJSONTyped;
|
|
21
|
+
var PagingMetadata_1 = require("./PagingMetadata");
|
|
22
|
+
var ProductRangeFrontendListResource_1 = require("./ProductRangeFrontendListResource");
|
|
23
|
+
/**
|
|
24
|
+
* Check if a given object implements the PaginatedProductRangeFrontendListResourceResponse interface.
|
|
25
|
+
*/
|
|
26
|
+
function instanceOfPaginatedProductRangeFrontendListResourceResponse(value) {
|
|
27
|
+
if (!('data' in value) || value['data'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('meta' in value) || value['meta'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
return true;
|
|
32
|
+
}
|
|
33
|
+
function PaginatedProductRangeFrontendListResourceResponseFromJSON(json) {
|
|
34
|
+
return PaginatedProductRangeFrontendListResourceResponseFromJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
function PaginatedProductRangeFrontendListResourceResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
|
+
if (json == null) {
|
|
38
|
+
return json;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'data': (json['data'].map(ProductRangeFrontendListResource_1.ProductRangeFrontendListResourceFromJSON)),
|
|
42
|
+
'meta': (0, PagingMetadata_1.PagingMetadataFromJSON)(json['meta']),
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
function PaginatedProductRangeFrontendListResourceResponseToJSON(json) {
|
|
46
|
+
return PaginatedProductRangeFrontendListResourceResponseToJSONTyped(json, false);
|
|
47
|
+
}
|
|
48
|
+
function PaginatedProductRangeFrontendListResourceResponseToJSONTyped(value, ignoreDiscriminator) {
|
|
49
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
50
|
+
if (value == null) {
|
|
51
|
+
return value;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
'data': (value['data'].map(ProductRangeFrontendListResource_1.ProductRangeFrontendListResourceToJSON)),
|
|
55
|
+
'meta': (0, PagingMetadata_1.PagingMetadataToJSON)(value['meta']),
|
|
56
|
+
};
|
|
57
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* My API
|
|
3
|
+
* API documentation for my Laravel app
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { PagingMetadata } from './PagingMetadata';
|
|
13
|
+
import type { ProductRangeListResource } from './ProductRangeListResource';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface PaginatedProductRangeListResourceResponse
|
|
18
|
+
*/
|
|
19
|
+
export interface PaginatedProductRangeListResourceResponse {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {Array<ProductRangeListResource>}
|
|
23
|
+
* @memberof PaginatedProductRangeListResourceResponse
|
|
24
|
+
*/
|
|
25
|
+
data: Array<ProductRangeListResource>;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {PagingMetadata}
|
|
29
|
+
* @memberof PaginatedProductRangeListResourceResponse
|
|
30
|
+
*/
|
|
31
|
+
meta: PagingMetadata;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Check if a given object implements the PaginatedProductRangeListResourceResponse interface.
|
|
35
|
+
*/
|
|
36
|
+
export declare function instanceOfPaginatedProductRangeListResourceResponse(value: object): value is PaginatedProductRangeListResourceResponse;
|
|
37
|
+
export declare function PaginatedProductRangeListResourceResponseFromJSON(json: any): PaginatedProductRangeListResourceResponse;
|
|
38
|
+
export declare function PaginatedProductRangeListResourceResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginatedProductRangeListResourceResponse;
|
|
39
|
+
export declare function PaginatedProductRangeListResourceResponseToJSON(json: any): PaginatedProductRangeListResourceResponse;
|
|
40
|
+
export declare function PaginatedProductRangeListResourceResponseToJSONTyped(value?: PaginatedProductRangeListResourceResponse | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,57 @@
|
|
|
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.instanceOfPaginatedProductRangeListResourceResponse = instanceOfPaginatedProductRangeListResourceResponse;
|
|
17
|
+
exports.PaginatedProductRangeListResourceResponseFromJSON = PaginatedProductRangeListResourceResponseFromJSON;
|
|
18
|
+
exports.PaginatedProductRangeListResourceResponseFromJSONTyped = PaginatedProductRangeListResourceResponseFromJSONTyped;
|
|
19
|
+
exports.PaginatedProductRangeListResourceResponseToJSON = PaginatedProductRangeListResourceResponseToJSON;
|
|
20
|
+
exports.PaginatedProductRangeListResourceResponseToJSONTyped = PaginatedProductRangeListResourceResponseToJSONTyped;
|
|
21
|
+
var PagingMetadata_1 = require("./PagingMetadata");
|
|
22
|
+
var ProductRangeListResource_1 = require("./ProductRangeListResource");
|
|
23
|
+
/**
|
|
24
|
+
* Check if a given object implements the PaginatedProductRangeListResourceResponse interface.
|
|
25
|
+
*/
|
|
26
|
+
function instanceOfPaginatedProductRangeListResourceResponse(value) {
|
|
27
|
+
if (!('data' in value) || value['data'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('meta' in value) || value['meta'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
return true;
|
|
32
|
+
}
|
|
33
|
+
function PaginatedProductRangeListResourceResponseFromJSON(json) {
|
|
34
|
+
return PaginatedProductRangeListResourceResponseFromJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
function PaginatedProductRangeListResourceResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
|
+
if (json == null) {
|
|
38
|
+
return json;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'data': (json['data'].map(ProductRangeListResource_1.ProductRangeListResourceFromJSON)),
|
|
42
|
+
'meta': (0, PagingMetadata_1.PagingMetadataFromJSON)(json['meta']),
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
function PaginatedProductRangeListResourceResponseToJSON(json) {
|
|
46
|
+
return PaginatedProductRangeListResourceResponseToJSONTyped(json, false);
|
|
47
|
+
}
|
|
48
|
+
function PaginatedProductRangeListResourceResponseToJSONTyped(value, ignoreDiscriminator) {
|
|
49
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
50
|
+
if (value == null) {
|
|
51
|
+
return value;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
'data': (value['data'].map(ProductRangeListResource_1.ProductRangeListResourceToJSON)),
|
|
55
|
+
'meta': (0, PagingMetadata_1.PagingMetadataToJSON)(value['meta']),
|
|
56
|
+
};
|
|
57
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* My API
|
|
3
|
+
* API documentation for my Laravel app
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { PagingMetadata } from './PagingMetadata';
|
|
13
|
+
import type { ProductRangeLiteResource } from './ProductRangeLiteResource';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface PaginatedProductRangeLiteResourceResponse
|
|
18
|
+
*/
|
|
19
|
+
export interface PaginatedProductRangeLiteResourceResponse {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {Array<ProductRangeLiteResource>}
|
|
23
|
+
* @memberof PaginatedProductRangeLiteResourceResponse
|
|
24
|
+
*/
|
|
25
|
+
data: Array<ProductRangeLiteResource>;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {PagingMetadata}
|
|
29
|
+
* @memberof PaginatedProductRangeLiteResourceResponse
|
|
30
|
+
*/
|
|
31
|
+
meta: PagingMetadata;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Check if a given object implements the PaginatedProductRangeLiteResourceResponse interface.
|
|
35
|
+
*/
|
|
36
|
+
export declare function instanceOfPaginatedProductRangeLiteResourceResponse(value: object): value is PaginatedProductRangeLiteResourceResponse;
|
|
37
|
+
export declare function PaginatedProductRangeLiteResourceResponseFromJSON(json: any): PaginatedProductRangeLiteResourceResponse;
|
|
38
|
+
export declare function PaginatedProductRangeLiteResourceResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginatedProductRangeLiteResourceResponse;
|
|
39
|
+
export declare function PaginatedProductRangeLiteResourceResponseToJSON(json: any): PaginatedProductRangeLiteResourceResponse;
|
|
40
|
+
export declare function PaginatedProductRangeLiteResourceResponseToJSONTyped(value?: PaginatedProductRangeLiteResourceResponse | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,57 @@
|
|
|
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.instanceOfPaginatedProductRangeLiteResourceResponse = instanceOfPaginatedProductRangeLiteResourceResponse;
|
|
17
|
+
exports.PaginatedProductRangeLiteResourceResponseFromJSON = PaginatedProductRangeLiteResourceResponseFromJSON;
|
|
18
|
+
exports.PaginatedProductRangeLiteResourceResponseFromJSONTyped = PaginatedProductRangeLiteResourceResponseFromJSONTyped;
|
|
19
|
+
exports.PaginatedProductRangeLiteResourceResponseToJSON = PaginatedProductRangeLiteResourceResponseToJSON;
|
|
20
|
+
exports.PaginatedProductRangeLiteResourceResponseToJSONTyped = PaginatedProductRangeLiteResourceResponseToJSONTyped;
|
|
21
|
+
var PagingMetadata_1 = require("./PagingMetadata");
|
|
22
|
+
var ProductRangeLiteResource_1 = require("./ProductRangeLiteResource");
|
|
23
|
+
/**
|
|
24
|
+
* Check if a given object implements the PaginatedProductRangeLiteResourceResponse interface.
|
|
25
|
+
*/
|
|
26
|
+
function instanceOfPaginatedProductRangeLiteResourceResponse(value) {
|
|
27
|
+
if (!('data' in value) || value['data'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('meta' in value) || value['meta'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
return true;
|
|
32
|
+
}
|
|
33
|
+
function PaginatedProductRangeLiteResourceResponseFromJSON(json) {
|
|
34
|
+
return PaginatedProductRangeLiteResourceResponseFromJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
function PaginatedProductRangeLiteResourceResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
|
+
if (json == null) {
|
|
38
|
+
return json;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'data': (json['data'].map(ProductRangeLiteResource_1.ProductRangeLiteResourceFromJSON)),
|
|
42
|
+
'meta': (0, PagingMetadata_1.PagingMetadataFromJSON)(json['meta']),
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
function PaginatedProductRangeLiteResourceResponseToJSON(json) {
|
|
46
|
+
return PaginatedProductRangeLiteResourceResponseToJSONTyped(json, false);
|
|
47
|
+
}
|
|
48
|
+
function PaginatedProductRangeLiteResourceResponseToJSONTyped(value, ignoreDiscriminator) {
|
|
49
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
50
|
+
if (value == null) {
|
|
51
|
+
return value;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
'data': (value['data'].map(ProductRangeLiteResource_1.ProductRangeLiteResourceToJSON)),
|
|
55
|
+
'meta': (0, PagingMetadata_1.PagingMetadataToJSON)(value['meta']),
|
|
56
|
+
};
|
|
57
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* My API
|
|
3
|
+
* API documentation for my Laravel app
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { PagingMetadata } from './PagingMetadata';
|
|
13
|
+
import type { ProductRangeResource } from './ProductRangeResource';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface PaginatedProductRangeResourceResponse
|
|
18
|
+
*/
|
|
19
|
+
export interface PaginatedProductRangeResourceResponse {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {Array<ProductRangeResource>}
|
|
23
|
+
* @memberof PaginatedProductRangeResourceResponse
|
|
24
|
+
*/
|
|
25
|
+
data: Array<ProductRangeResource>;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {PagingMetadata}
|
|
29
|
+
* @memberof PaginatedProductRangeResourceResponse
|
|
30
|
+
*/
|
|
31
|
+
meta: PagingMetadata;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Check if a given object implements the PaginatedProductRangeResourceResponse interface.
|
|
35
|
+
*/
|
|
36
|
+
export declare function instanceOfPaginatedProductRangeResourceResponse(value: object): value is PaginatedProductRangeResourceResponse;
|
|
37
|
+
export declare function PaginatedProductRangeResourceResponseFromJSON(json: any): PaginatedProductRangeResourceResponse;
|
|
38
|
+
export declare function PaginatedProductRangeResourceResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginatedProductRangeResourceResponse;
|
|
39
|
+
export declare function PaginatedProductRangeResourceResponseToJSON(json: any): PaginatedProductRangeResourceResponse;
|
|
40
|
+
export declare function PaginatedProductRangeResourceResponseToJSONTyped(value?: PaginatedProductRangeResourceResponse | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,57 @@
|
|
|
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.instanceOfPaginatedProductRangeResourceResponse = instanceOfPaginatedProductRangeResourceResponse;
|
|
17
|
+
exports.PaginatedProductRangeResourceResponseFromJSON = PaginatedProductRangeResourceResponseFromJSON;
|
|
18
|
+
exports.PaginatedProductRangeResourceResponseFromJSONTyped = PaginatedProductRangeResourceResponseFromJSONTyped;
|
|
19
|
+
exports.PaginatedProductRangeResourceResponseToJSON = PaginatedProductRangeResourceResponseToJSON;
|
|
20
|
+
exports.PaginatedProductRangeResourceResponseToJSONTyped = PaginatedProductRangeResourceResponseToJSONTyped;
|
|
21
|
+
var PagingMetadata_1 = require("./PagingMetadata");
|
|
22
|
+
var ProductRangeResource_1 = require("./ProductRangeResource");
|
|
23
|
+
/**
|
|
24
|
+
* Check if a given object implements the PaginatedProductRangeResourceResponse interface.
|
|
25
|
+
*/
|
|
26
|
+
function instanceOfPaginatedProductRangeResourceResponse(value) {
|
|
27
|
+
if (!('data' in value) || value['data'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('meta' in value) || value['meta'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
return true;
|
|
32
|
+
}
|
|
33
|
+
function PaginatedProductRangeResourceResponseFromJSON(json) {
|
|
34
|
+
return PaginatedProductRangeResourceResponseFromJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
function PaginatedProductRangeResourceResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
|
+
if (json == null) {
|
|
38
|
+
return json;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'data': (json['data'].map(ProductRangeResource_1.ProductRangeResourceFromJSON)),
|
|
42
|
+
'meta': (0, PagingMetadata_1.PagingMetadataFromJSON)(json['meta']),
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
function PaginatedProductRangeResourceResponseToJSON(json) {
|
|
46
|
+
return PaginatedProductRangeResourceResponseToJSONTyped(json, false);
|
|
47
|
+
}
|
|
48
|
+
function PaginatedProductRangeResourceResponseToJSONTyped(value, ignoreDiscriminator) {
|
|
49
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
50
|
+
if (value == null) {
|
|
51
|
+
return value;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
'data': (value['data'].map(ProductRangeResource_1.ProductRangeResourceToJSON)),
|
|
55
|
+
'meta': (0, PagingMetadata_1.PagingMetadataToJSON)(value['meta']),
|
|
56
|
+
};
|
|
57
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* My API
|
|
3
|
+
* API documentation for my Laravel app
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { PagingMetadata } from './PagingMetadata';
|
|
13
|
+
import type { ProductRangeSearchResultResource } from './ProductRangeSearchResultResource';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface PaginatedProductRangeSearchResultResourceResponse
|
|
18
|
+
*/
|
|
19
|
+
export interface PaginatedProductRangeSearchResultResourceResponse {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {Array<ProductRangeSearchResultResource>}
|
|
23
|
+
* @memberof PaginatedProductRangeSearchResultResourceResponse
|
|
24
|
+
*/
|
|
25
|
+
data: Array<ProductRangeSearchResultResource>;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {PagingMetadata}
|
|
29
|
+
* @memberof PaginatedProductRangeSearchResultResourceResponse
|
|
30
|
+
*/
|
|
31
|
+
meta: PagingMetadata;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Check if a given object implements the PaginatedProductRangeSearchResultResourceResponse interface.
|
|
35
|
+
*/
|
|
36
|
+
export declare function instanceOfPaginatedProductRangeSearchResultResourceResponse(value: object): value is PaginatedProductRangeSearchResultResourceResponse;
|
|
37
|
+
export declare function PaginatedProductRangeSearchResultResourceResponseFromJSON(json: any): PaginatedProductRangeSearchResultResourceResponse;
|
|
38
|
+
export declare function PaginatedProductRangeSearchResultResourceResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginatedProductRangeSearchResultResourceResponse;
|
|
39
|
+
export declare function PaginatedProductRangeSearchResultResourceResponseToJSON(json: any): PaginatedProductRangeSearchResultResourceResponse;
|
|
40
|
+
export declare function PaginatedProductRangeSearchResultResourceResponseToJSONTyped(value?: PaginatedProductRangeSearchResultResourceResponse | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* My API
|
|
6
|
+
* API documentation for my Laravel app
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfPaginatedProductRangeSearchResultResourceResponse = instanceOfPaginatedProductRangeSearchResultResourceResponse;
|
|
17
|
+
exports.PaginatedProductRangeSearchResultResourceResponseFromJSON = PaginatedProductRangeSearchResultResourceResponseFromJSON;
|
|
18
|
+
exports.PaginatedProductRangeSearchResultResourceResponseFromJSONTyped = PaginatedProductRangeSearchResultResourceResponseFromJSONTyped;
|
|
19
|
+
exports.PaginatedProductRangeSearchResultResourceResponseToJSON = PaginatedProductRangeSearchResultResourceResponseToJSON;
|
|
20
|
+
exports.PaginatedProductRangeSearchResultResourceResponseToJSONTyped = PaginatedProductRangeSearchResultResourceResponseToJSONTyped;
|
|
21
|
+
var PagingMetadata_1 = require("./PagingMetadata");
|
|
22
|
+
var ProductRangeSearchResultResource_1 = require("./ProductRangeSearchResultResource");
|
|
23
|
+
/**
|
|
24
|
+
* Check if a given object implements the PaginatedProductRangeSearchResultResourceResponse interface.
|
|
25
|
+
*/
|
|
26
|
+
function instanceOfPaginatedProductRangeSearchResultResourceResponse(value) {
|
|
27
|
+
if (!('data' in value) || value['data'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('meta' in value) || value['meta'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
return true;
|
|
32
|
+
}
|
|
33
|
+
function PaginatedProductRangeSearchResultResourceResponseFromJSON(json) {
|
|
34
|
+
return PaginatedProductRangeSearchResultResourceResponseFromJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
function PaginatedProductRangeSearchResultResourceResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
|
+
if (json == null) {
|
|
38
|
+
return json;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'data': (json['data'].map(ProductRangeSearchResultResource_1.ProductRangeSearchResultResourceFromJSON)),
|
|
42
|
+
'meta': (0, PagingMetadata_1.PagingMetadataFromJSON)(json['meta']),
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
function PaginatedProductRangeSearchResultResourceResponseToJSON(json) {
|
|
46
|
+
return PaginatedProductRangeSearchResultResourceResponseToJSONTyped(json, false);
|
|
47
|
+
}
|
|
48
|
+
function PaginatedProductRangeSearchResultResourceResponseToJSONTyped(value, ignoreDiscriminator) {
|
|
49
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
50
|
+
if (value == null) {
|
|
51
|
+
return value;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
'data': (value['data'].map(ProductRangeSearchResultResource_1.ProductRangeSearchResultResourceToJSON)),
|
|
55
|
+
'meta': (0, PagingMetadata_1.PagingMetadataToJSON)(value['meta']),
|
|
56
|
+
};
|
|
57
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* My API
|
|
3
|
+
* API documentation for my Laravel app
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface ProductRangeAggregationResource
|
|
16
|
+
*/
|
|
17
|
+
export interface ProductRangeAggregationResource {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {Array<object>}
|
|
21
|
+
* @memberof ProductRangeAggregationResource
|
|
22
|
+
*/
|
|
23
|
+
attributes: Array<object>;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {Array<object>}
|
|
27
|
+
* @memberof ProductRangeAggregationResource
|
|
28
|
+
*/
|
|
29
|
+
brands: Array<object>;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {Array<object>}
|
|
33
|
+
* @memberof ProductRangeAggregationResource
|
|
34
|
+
*/
|
|
35
|
+
categories: Array<object>;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the ProductRangeAggregationResource interface.
|
|
39
|
+
*/
|
|
40
|
+
export declare function instanceOfProductRangeAggregationResource(value: object): value is ProductRangeAggregationResource;
|
|
41
|
+
export declare function ProductRangeAggregationResourceFromJSON(json: any): ProductRangeAggregationResource;
|
|
42
|
+
export declare function ProductRangeAggregationResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProductRangeAggregationResource;
|
|
43
|
+
export declare function ProductRangeAggregationResourceToJSON(json: any): ProductRangeAggregationResource;
|
|
44
|
+
export declare function ProductRangeAggregationResourceToJSONTyped(value?: ProductRangeAggregationResource | null, ignoreDiscriminator?: boolean): any;
|