@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,151 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* My API
|
|
5
|
+
* API documentation for my Laravel app
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface GetAllProductRangeRequest
|
|
20
|
+
*/
|
|
21
|
+
export interface GetAllProductRangeRequest {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof GetAllProductRangeRequest
|
|
26
|
+
*/
|
|
27
|
+
search?: string;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {GetAllProductRangeRequestSortByEnum}
|
|
31
|
+
* @memberof GetAllProductRangeRequest
|
|
32
|
+
*/
|
|
33
|
+
sortBy?: GetAllProductRangeRequestSortByEnum;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {GetAllProductRangeRequestSortDirectionEnum}
|
|
37
|
+
* @memberof GetAllProductRangeRequest
|
|
38
|
+
*/
|
|
39
|
+
sortDirection?: GetAllProductRangeRequestSortDirectionEnum;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {number}
|
|
43
|
+
* @memberof GetAllProductRangeRequest
|
|
44
|
+
*/
|
|
45
|
+
relatedId?: number;
|
|
46
|
+
/**
|
|
47
|
+
*
|
|
48
|
+
* @type {string}
|
|
49
|
+
* @memberof GetAllProductRangeRequest
|
|
50
|
+
*/
|
|
51
|
+
relatedType?: string;
|
|
52
|
+
/**
|
|
53
|
+
*
|
|
54
|
+
* @type {boolean}
|
|
55
|
+
* @memberof GetAllProductRangeRequest
|
|
56
|
+
*/
|
|
57
|
+
includesRelations?: boolean;
|
|
58
|
+
/**
|
|
59
|
+
*
|
|
60
|
+
* @type {Array<string>}
|
|
61
|
+
* @memberof GetAllProductRangeRequest
|
|
62
|
+
*/
|
|
63
|
+
siteDetailsSiteId?: Array<string>;
|
|
64
|
+
/**
|
|
65
|
+
*
|
|
66
|
+
* @type {Array<string>}
|
|
67
|
+
* @memberof GetAllProductRangeRequest
|
|
68
|
+
*/
|
|
69
|
+
supplierId?: Array<string>;
|
|
70
|
+
/**
|
|
71
|
+
*
|
|
72
|
+
* @type {Array<string>}
|
|
73
|
+
* @memberof GetAllProductRangeRequest
|
|
74
|
+
*/
|
|
75
|
+
siteDetailsCategoriesId?: Array<string>;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
|
|
79
|
+
/**
|
|
80
|
+
* @export
|
|
81
|
+
*/
|
|
82
|
+
export const GetAllProductRangeRequestSortByEnum = {
|
|
83
|
+
Id: 'id',
|
|
84
|
+
Name: 'name',
|
|
85
|
+
CreatedAt: 'created_at',
|
|
86
|
+
UpdatedAt: 'updated_at'
|
|
87
|
+
} as const;
|
|
88
|
+
export type GetAllProductRangeRequestSortByEnum = typeof GetAllProductRangeRequestSortByEnum[keyof typeof GetAllProductRangeRequestSortByEnum];
|
|
89
|
+
|
|
90
|
+
/**
|
|
91
|
+
* @export
|
|
92
|
+
*/
|
|
93
|
+
export const GetAllProductRangeRequestSortDirectionEnum = {
|
|
94
|
+
Asc: 'asc',
|
|
95
|
+
Desc: 'desc'
|
|
96
|
+
} as const;
|
|
97
|
+
export type GetAllProductRangeRequestSortDirectionEnum = typeof GetAllProductRangeRequestSortDirectionEnum[keyof typeof GetAllProductRangeRequestSortDirectionEnum];
|
|
98
|
+
|
|
99
|
+
|
|
100
|
+
/**
|
|
101
|
+
* Check if a given object implements the GetAllProductRangeRequest interface.
|
|
102
|
+
*/
|
|
103
|
+
export function instanceOfGetAllProductRangeRequest(value: object): value is GetAllProductRangeRequest {
|
|
104
|
+
return true;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
export function GetAllProductRangeRequestFromJSON(json: any): GetAllProductRangeRequest {
|
|
108
|
+
return GetAllProductRangeRequestFromJSONTyped(json, false);
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
export function GetAllProductRangeRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetAllProductRangeRequest {
|
|
112
|
+
if (json == null) {
|
|
113
|
+
return json;
|
|
114
|
+
}
|
|
115
|
+
return {
|
|
116
|
+
|
|
117
|
+
'search': json['search'] == null ? undefined : json['search'],
|
|
118
|
+
'sortBy': json['sortBy'] == null ? undefined : json['sortBy'],
|
|
119
|
+
'sortDirection': json['sortDirection'] == null ? undefined : json['sortDirection'],
|
|
120
|
+
'relatedId': json['related_id'] == null ? undefined : json['related_id'],
|
|
121
|
+
'relatedType': json['related_type'] == null ? undefined : json['related_type'],
|
|
122
|
+
'includesRelations': json['includes_relations'] == null ? undefined : json['includes_relations'],
|
|
123
|
+
'siteDetailsSiteId': json['siteDetails-site_id'] == null ? undefined : json['siteDetails-site_id'],
|
|
124
|
+
'supplierId': json['supplier_id'] == null ? undefined : json['supplier_id'],
|
|
125
|
+
'siteDetailsCategoriesId': json['siteDetails-categories-id'] == null ? undefined : json['siteDetails-categories-id'],
|
|
126
|
+
};
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
export function GetAllProductRangeRequestToJSON(json: any): GetAllProductRangeRequest {
|
|
130
|
+
return GetAllProductRangeRequestToJSONTyped(json, false);
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
export function GetAllProductRangeRequestToJSONTyped(value?: GetAllProductRangeRequest | null, ignoreDiscriminator: boolean = false): any {
|
|
134
|
+
if (value == null) {
|
|
135
|
+
return value;
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
return {
|
|
139
|
+
|
|
140
|
+
'search': value['search'],
|
|
141
|
+
'sortBy': value['sortBy'],
|
|
142
|
+
'sortDirection': value['sortDirection'],
|
|
143
|
+
'related_id': value['relatedId'],
|
|
144
|
+
'related_type': value['relatedType'],
|
|
145
|
+
'includes_relations': value['includesRelations'],
|
|
146
|
+
'siteDetails-site_id': value['siteDetailsSiteId'],
|
|
147
|
+
'supplier_id': value['supplierId'],
|
|
148
|
+
'siteDetails-categories-id': value['siteDetailsCategoriesId'],
|
|
149
|
+
};
|
|
150
|
+
}
|
|
151
|
+
|
|
@@ -113,7 +113,9 @@ export type IndexAttributeRequestSortDirectionEnum = typeof IndexAttributeReques
|
|
|
113
113
|
* @export
|
|
114
114
|
*/
|
|
115
115
|
export const IndexAttributeRequestRelatedTypeEnum = {
|
|
116
|
-
ProductType: 'productType'
|
|
116
|
+
ProductType: 'productType',
|
|
117
|
+
ProductRange: 'productRange',
|
|
118
|
+
Category: 'category'
|
|
117
119
|
} as const;
|
|
118
120
|
export type IndexAttributeRequestRelatedTypeEnum = typeof IndexAttributeRequestRelatedTypeEnum[keyof typeof IndexAttributeRequestRelatedTypeEnum];
|
|
119
121
|
|
|
@@ -101,7 +101,8 @@ export type IndexDocumentRequestSortDirectionEnum = typeof IndexDocumentRequestS
|
|
|
101
101
|
*/
|
|
102
102
|
export const IndexDocumentRequestRelatedTypeEnum = {
|
|
103
103
|
ProductChild: 'productChild',
|
|
104
|
-
|
|
104
|
+
ProductRange: 'productRange',
|
|
105
|
+
ProductRangeSiteDetail: 'productRangeSiteDetail'
|
|
105
106
|
} as const;
|
|
106
107
|
export type IndexDocumentRequestRelatedTypeEnum = typeof IndexDocumentRequestRelatedTypeEnum[keyof typeof IndexDocumentRequestRelatedTypeEnum];
|
|
107
108
|
|
|
@@ -0,0 +1,163 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* My API
|
|
5
|
+
* API documentation for my Laravel app
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface IndexLabelRequest
|
|
20
|
+
*/
|
|
21
|
+
export interface IndexLabelRequest {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof IndexLabelRequest
|
|
26
|
+
*/
|
|
27
|
+
search?: string;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {IndexLabelRequestSortByEnum}
|
|
31
|
+
* @memberof IndexLabelRequest
|
|
32
|
+
*/
|
|
33
|
+
sortBy?: IndexLabelRequestSortByEnum;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {IndexLabelRequestSortDirectionEnum}
|
|
37
|
+
* @memberof IndexLabelRequest
|
|
38
|
+
*/
|
|
39
|
+
sortDirection?: IndexLabelRequestSortDirectionEnum;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {number}
|
|
43
|
+
* @memberof IndexLabelRequest
|
|
44
|
+
*/
|
|
45
|
+
perPage?: number;
|
|
46
|
+
/**
|
|
47
|
+
*
|
|
48
|
+
* @type {number}
|
|
49
|
+
* @memberof IndexLabelRequest
|
|
50
|
+
*/
|
|
51
|
+
page?: number;
|
|
52
|
+
/**
|
|
53
|
+
*
|
|
54
|
+
* @type {Array<string>}
|
|
55
|
+
* @memberof IndexLabelRequest
|
|
56
|
+
*/
|
|
57
|
+
siteId?: Array<string>;
|
|
58
|
+
/**
|
|
59
|
+
*
|
|
60
|
+
* @type {number}
|
|
61
|
+
* @memberof IndexLabelRequest
|
|
62
|
+
*/
|
|
63
|
+
relatedId?: number;
|
|
64
|
+
/**
|
|
65
|
+
*
|
|
66
|
+
* @type {IndexLabelRequestRelatedTypeEnum}
|
|
67
|
+
* @memberof IndexLabelRequest
|
|
68
|
+
*/
|
|
69
|
+
relatedType?: IndexLabelRequestRelatedTypeEnum;
|
|
70
|
+
/**
|
|
71
|
+
*
|
|
72
|
+
* @type {boolean}
|
|
73
|
+
* @memberof IndexLabelRequest
|
|
74
|
+
*/
|
|
75
|
+
includesRelations?: boolean;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
|
|
79
|
+
/**
|
|
80
|
+
* @export
|
|
81
|
+
*/
|
|
82
|
+
export const IndexLabelRequestSortByEnum = {
|
|
83
|
+
Id: 'id',
|
|
84
|
+
ShortName: 'short_name',
|
|
85
|
+
LongName: 'long_name',
|
|
86
|
+
StartDate: 'start_date',
|
|
87
|
+
EndDate: 'end_date',
|
|
88
|
+
CreatedAt: 'created_at',
|
|
89
|
+
UpdatedAt: 'updated_at'
|
|
90
|
+
} as const;
|
|
91
|
+
export type IndexLabelRequestSortByEnum = typeof IndexLabelRequestSortByEnum[keyof typeof IndexLabelRequestSortByEnum];
|
|
92
|
+
|
|
93
|
+
/**
|
|
94
|
+
* @export
|
|
95
|
+
*/
|
|
96
|
+
export const IndexLabelRequestSortDirectionEnum = {
|
|
97
|
+
Asc: 'asc',
|
|
98
|
+
Desc: 'desc'
|
|
99
|
+
} as const;
|
|
100
|
+
export type IndexLabelRequestSortDirectionEnum = typeof IndexLabelRequestSortDirectionEnum[keyof typeof IndexLabelRequestSortDirectionEnum];
|
|
101
|
+
|
|
102
|
+
/**
|
|
103
|
+
* @export
|
|
104
|
+
*/
|
|
105
|
+
export const IndexLabelRequestRelatedTypeEnum = {
|
|
106
|
+
Site: 'site',
|
|
107
|
+
ProductChild: 'productChild'
|
|
108
|
+
} as const;
|
|
109
|
+
export type IndexLabelRequestRelatedTypeEnum = typeof IndexLabelRequestRelatedTypeEnum[keyof typeof IndexLabelRequestRelatedTypeEnum];
|
|
110
|
+
|
|
111
|
+
|
|
112
|
+
/**
|
|
113
|
+
* Check if a given object implements the IndexLabelRequest interface.
|
|
114
|
+
*/
|
|
115
|
+
export function instanceOfIndexLabelRequest(value: object): value is IndexLabelRequest {
|
|
116
|
+
return true;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
export function IndexLabelRequestFromJSON(json: any): IndexLabelRequest {
|
|
120
|
+
return IndexLabelRequestFromJSONTyped(json, false);
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
export function IndexLabelRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): IndexLabelRequest {
|
|
124
|
+
if (json == null) {
|
|
125
|
+
return json;
|
|
126
|
+
}
|
|
127
|
+
return {
|
|
128
|
+
|
|
129
|
+
'search': json['search'] == null ? undefined : json['search'],
|
|
130
|
+
'sortBy': json['sortBy'] == null ? undefined : json['sortBy'],
|
|
131
|
+
'sortDirection': json['sortDirection'] == null ? undefined : json['sortDirection'],
|
|
132
|
+
'perPage': json['per_page'] == null ? undefined : json['per_page'],
|
|
133
|
+
'page': json['page'] == null ? undefined : json['page'],
|
|
134
|
+
'siteId': json['site_id'] == null ? undefined : json['site_id'],
|
|
135
|
+
'relatedId': json['related_id'] == null ? undefined : json['related_id'],
|
|
136
|
+
'relatedType': json['related_type'] == null ? undefined : json['related_type'],
|
|
137
|
+
'includesRelations': json['includes_relations'] == null ? undefined : json['includes_relations'],
|
|
138
|
+
};
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
export function IndexLabelRequestToJSON(json: any): IndexLabelRequest {
|
|
142
|
+
return IndexLabelRequestToJSONTyped(json, false);
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
export function IndexLabelRequestToJSONTyped(value?: IndexLabelRequest | null, ignoreDiscriminator: boolean = false): any {
|
|
146
|
+
if (value == null) {
|
|
147
|
+
return value;
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
return {
|
|
151
|
+
|
|
152
|
+
'search': value['search'],
|
|
153
|
+
'sortBy': value['sortBy'],
|
|
154
|
+
'sortDirection': value['sortDirection'],
|
|
155
|
+
'per_page': value['perPage'],
|
|
156
|
+
'page': value['page'],
|
|
157
|
+
'site_id': value['siteId'],
|
|
158
|
+
'related_id': value['relatedId'],
|
|
159
|
+
'related_type': value['relatedType'],
|
|
160
|
+
'includes_relations': value['includesRelations'],
|
|
161
|
+
};
|
|
162
|
+
}
|
|
163
|
+
|
|
@@ -0,0 +1,176 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* My API
|
|
5
|
+
* API documentation for my Laravel app
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface IndexModelAttributeRequest
|
|
20
|
+
*/
|
|
21
|
+
export interface IndexModelAttributeRequest {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof IndexModelAttributeRequest
|
|
26
|
+
*/
|
|
27
|
+
search?: string;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {IndexModelAttributeRequestSortByEnum}
|
|
31
|
+
* @memberof IndexModelAttributeRequest
|
|
32
|
+
*/
|
|
33
|
+
sortBy?: IndexModelAttributeRequestSortByEnum;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {IndexModelAttributeRequestSortDirectionEnum}
|
|
37
|
+
* @memberof IndexModelAttributeRequest
|
|
38
|
+
*/
|
|
39
|
+
sortDirection?: IndexModelAttributeRequestSortDirectionEnum;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {number}
|
|
43
|
+
* @memberof IndexModelAttributeRequest
|
|
44
|
+
*/
|
|
45
|
+
perPage?: number;
|
|
46
|
+
/**
|
|
47
|
+
*
|
|
48
|
+
* @type {number}
|
|
49
|
+
* @memberof IndexModelAttributeRequest
|
|
50
|
+
*/
|
|
51
|
+
page?: number;
|
|
52
|
+
/**
|
|
53
|
+
*
|
|
54
|
+
* @type {Array<string>}
|
|
55
|
+
* @memberof IndexModelAttributeRequest
|
|
56
|
+
*/
|
|
57
|
+
attributableType?: Array<string>;
|
|
58
|
+
/**
|
|
59
|
+
*
|
|
60
|
+
* @type {Array<string>}
|
|
61
|
+
* @memberof IndexModelAttributeRequest
|
|
62
|
+
*/
|
|
63
|
+
attributableId?: Array<string>;
|
|
64
|
+
/**
|
|
65
|
+
*
|
|
66
|
+
* @type {Array<string>}
|
|
67
|
+
* @memberof IndexModelAttributeRequest
|
|
68
|
+
*/
|
|
69
|
+
attributeId?: Array<string>;
|
|
70
|
+
/**
|
|
71
|
+
*
|
|
72
|
+
* @type {number}
|
|
73
|
+
* @memberof IndexModelAttributeRequest
|
|
74
|
+
*/
|
|
75
|
+
relatedId?: number;
|
|
76
|
+
/**
|
|
77
|
+
*
|
|
78
|
+
* @type {IndexModelAttributeRequestRelatedTypeEnum}
|
|
79
|
+
* @memberof IndexModelAttributeRequest
|
|
80
|
+
*/
|
|
81
|
+
relatedType?: IndexModelAttributeRequestRelatedTypeEnum;
|
|
82
|
+
/**
|
|
83
|
+
*
|
|
84
|
+
* @type {boolean}
|
|
85
|
+
* @memberof IndexModelAttributeRequest
|
|
86
|
+
*/
|
|
87
|
+
includesRelations?: boolean;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
/**
|
|
92
|
+
* @export
|
|
93
|
+
*/
|
|
94
|
+
export const IndexModelAttributeRequestSortByEnum = {
|
|
95
|
+
Id: 'id',
|
|
96
|
+
AttributeId: 'attribute_id',
|
|
97
|
+
CreatedAt: 'created_at',
|
|
98
|
+
AttributeName: 'attribute-name'
|
|
99
|
+
} as const;
|
|
100
|
+
export type IndexModelAttributeRequestSortByEnum = typeof IndexModelAttributeRequestSortByEnum[keyof typeof IndexModelAttributeRequestSortByEnum];
|
|
101
|
+
|
|
102
|
+
/**
|
|
103
|
+
* @export
|
|
104
|
+
*/
|
|
105
|
+
export const IndexModelAttributeRequestSortDirectionEnum = {
|
|
106
|
+
Asc: 'asc',
|
|
107
|
+
Desc: 'desc'
|
|
108
|
+
} as const;
|
|
109
|
+
export type IndexModelAttributeRequestSortDirectionEnum = typeof IndexModelAttributeRequestSortDirectionEnum[keyof typeof IndexModelAttributeRequestSortDirectionEnum];
|
|
110
|
+
|
|
111
|
+
/**
|
|
112
|
+
* @export
|
|
113
|
+
*/
|
|
114
|
+
export const IndexModelAttributeRequestRelatedTypeEnum = {
|
|
115
|
+
Category: 'category',
|
|
116
|
+
ProductRange: 'productRange'
|
|
117
|
+
} as const;
|
|
118
|
+
export type IndexModelAttributeRequestRelatedTypeEnum = typeof IndexModelAttributeRequestRelatedTypeEnum[keyof typeof IndexModelAttributeRequestRelatedTypeEnum];
|
|
119
|
+
|
|
120
|
+
|
|
121
|
+
/**
|
|
122
|
+
* Check if a given object implements the IndexModelAttributeRequest interface.
|
|
123
|
+
*/
|
|
124
|
+
export function instanceOfIndexModelAttributeRequest(value: object): value is IndexModelAttributeRequest {
|
|
125
|
+
return true;
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
export function IndexModelAttributeRequestFromJSON(json: any): IndexModelAttributeRequest {
|
|
129
|
+
return IndexModelAttributeRequestFromJSONTyped(json, false);
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
export function IndexModelAttributeRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): IndexModelAttributeRequest {
|
|
133
|
+
if (json == null) {
|
|
134
|
+
return json;
|
|
135
|
+
}
|
|
136
|
+
return {
|
|
137
|
+
|
|
138
|
+
'search': json['search'] == null ? undefined : json['search'],
|
|
139
|
+
'sortBy': json['sortBy'] == null ? undefined : json['sortBy'],
|
|
140
|
+
'sortDirection': json['sortDirection'] == null ? undefined : json['sortDirection'],
|
|
141
|
+
'perPage': json['per_page'] == null ? undefined : json['per_page'],
|
|
142
|
+
'page': json['page'] == null ? undefined : json['page'],
|
|
143
|
+
'attributableType': json['attributable_type'] == null ? undefined : json['attributable_type'],
|
|
144
|
+
'attributableId': json['attributable_id'] == null ? undefined : json['attributable_id'],
|
|
145
|
+
'attributeId': json['attribute_id'] == null ? undefined : json['attribute_id'],
|
|
146
|
+
'relatedId': json['related_id'] == null ? undefined : json['related_id'],
|
|
147
|
+
'relatedType': json['related_type'] == null ? undefined : json['related_type'],
|
|
148
|
+
'includesRelations': json['includes_relations'] == null ? undefined : json['includes_relations'],
|
|
149
|
+
};
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
export function IndexModelAttributeRequestToJSON(json: any): IndexModelAttributeRequest {
|
|
153
|
+
return IndexModelAttributeRequestToJSONTyped(json, false);
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
export function IndexModelAttributeRequestToJSONTyped(value?: IndexModelAttributeRequest | null, ignoreDiscriminator: boolean = false): any {
|
|
157
|
+
if (value == null) {
|
|
158
|
+
return value;
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
return {
|
|
162
|
+
|
|
163
|
+
'search': value['search'],
|
|
164
|
+
'sortBy': value['sortBy'],
|
|
165
|
+
'sortDirection': value['sortDirection'],
|
|
166
|
+
'per_page': value['perPage'],
|
|
167
|
+
'page': value['page'],
|
|
168
|
+
'attributable_type': value['attributableType'],
|
|
169
|
+
'attributable_id': value['attributableId'],
|
|
170
|
+
'attribute_id': value['attributeId'],
|
|
171
|
+
'related_id': value['relatedId'],
|
|
172
|
+
'related_type': value['relatedType'],
|
|
173
|
+
'includes_relations': value['includesRelations'],
|
|
174
|
+
};
|
|
175
|
+
}
|
|
176
|
+
|
|
@@ -183,8 +183,10 @@ export const IndexProductChildRequestRelatedTypeEnum = {
|
|
|
183
183
|
Document: 'document',
|
|
184
184
|
OverlayTemplate: 'overlayTemplate',
|
|
185
185
|
ProductType: 'productType',
|
|
186
|
+
ProductRange: 'productRange',
|
|
186
187
|
Supplier: 'supplier',
|
|
187
188
|
Tag: 'tag',
|
|
189
|
+
Label: 'label',
|
|
188
190
|
Site: 'site'
|
|
189
191
|
} as const;
|
|
190
192
|
export type IndexProductChildRequestRelatedTypeEnum = typeof IndexProductChildRequestRelatedTypeEnum[keyof typeof IndexProductChildRequestRelatedTypeEnum];
|
|
@@ -0,0 +1,167 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* My API
|
|
5
|
+
* API documentation for my Laravel app
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface IndexProductRangeRequest
|
|
20
|
+
*/
|
|
21
|
+
export interface IndexProductRangeRequest {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof IndexProductRangeRequest
|
|
26
|
+
*/
|
|
27
|
+
search?: string;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {IndexProductRangeRequestSortByEnum}
|
|
31
|
+
* @memberof IndexProductRangeRequest
|
|
32
|
+
*/
|
|
33
|
+
sortBy?: IndexProductRangeRequestSortByEnum;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {IndexProductRangeRequestSortDirectionEnum}
|
|
37
|
+
* @memberof IndexProductRangeRequest
|
|
38
|
+
*/
|
|
39
|
+
sortDirection?: IndexProductRangeRequestSortDirectionEnum;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {number}
|
|
43
|
+
* @memberof IndexProductRangeRequest
|
|
44
|
+
*/
|
|
45
|
+
perPage?: number;
|
|
46
|
+
/**
|
|
47
|
+
*
|
|
48
|
+
* @type {number}
|
|
49
|
+
* @memberof IndexProductRangeRequest
|
|
50
|
+
*/
|
|
51
|
+
page?: number;
|
|
52
|
+
/**
|
|
53
|
+
*
|
|
54
|
+
* @type {Array<string>}
|
|
55
|
+
* @memberof IndexProductRangeRequest
|
|
56
|
+
*/
|
|
57
|
+
siteDetailsSiteId?: Array<string>;
|
|
58
|
+
/**
|
|
59
|
+
*
|
|
60
|
+
* @type {Array<string>}
|
|
61
|
+
* @memberof IndexProductRangeRequest
|
|
62
|
+
*/
|
|
63
|
+
supplierId?: Array<string>;
|
|
64
|
+
/**
|
|
65
|
+
*
|
|
66
|
+
* @type {Array<string>}
|
|
67
|
+
* @memberof IndexProductRangeRequest
|
|
68
|
+
*/
|
|
69
|
+
siteDetailsCategoriesId?: Array<string>;
|
|
70
|
+
/**
|
|
71
|
+
*
|
|
72
|
+
* @type {number}
|
|
73
|
+
* @memberof IndexProductRangeRequest
|
|
74
|
+
*/
|
|
75
|
+
relatedId?: number;
|
|
76
|
+
/**
|
|
77
|
+
*
|
|
78
|
+
* @type {string}
|
|
79
|
+
* @memberof IndexProductRangeRequest
|
|
80
|
+
*/
|
|
81
|
+
relatedType?: string;
|
|
82
|
+
/**
|
|
83
|
+
*
|
|
84
|
+
* @type {boolean}
|
|
85
|
+
* @memberof IndexProductRangeRequest
|
|
86
|
+
*/
|
|
87
|
+
includesRelations?: boolean;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
/**
|
|
92
|
+
* @export
|
|
93
|
+
*/
|
|
94
|
+
export const IndexProductRangeRequestSortByEnum = {
|
|
95
|
+
Id: 'id',
|
|
96
|
+
Name: 'name',
|
|
97
|
+
CreatedAt: 'created_at',
|
|
98
|
+
UpdatedAt: 'updated_at'
|
|
99
|
+
} as const;
|
|
100
|
+
export type IndexProductRangeRequestSortByEnum = typeof IndexProductRangeRequestSortByEnum[keyof typeof IndexProductRangeRequestSortByEnum];
|
|
101
|
+
|
|
102
|
+
/**
|
|
103
|
+
* @export
|
|
104
|
+
*/
|
|
105
|
+
export const IndexProductRangeRequestSortDirectionEnum = {
|
|
106
|
+
Asc: 'asc',
|
|
107
|
+
Desc: 'desc'
|
|
108
|
+
} as const;
|
|
109
|
+
export type IndexProductRangeRequestSortDirectionEnum = typeof IndexProductRangeRequestSortDirectionEnum[keyof typeof IndexProductRangeRequestSortDirectionEnum];
|
|
110
|
+
|
|
111
|
+
|
|
112
|
+
/**
|
|
113
|
+
* Check if a given object implements the IndexProductRangeRequest interface.
|
|
114
|
+
*/
|
|
115
|
+
export function instanceOfIndexProductRangeRequest(value: object): value is IndexProductRangeRequest {
|
|
116
|
+
return true;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
export function IndexProductRangeRequestFromJSON(json: any): IndexProductRangeRequest {
|
|
120
|
+
return IndexProductRangeRequestFromJSONTyped(json, false);
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
export function IndexProductRangeRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): IndexProductRangeRequest {
|
|
124
|
+
if (json == null) {
|
|
125
|
+
return json;
|
|
126
|
+
}
|
|
127
|
+
return {
|
|
128
|
+
|
|
129
|
+
'search': json['search'] == null ? undefined : json['search'],
|
|
130
|
+
'sortBy': json['sortBy'] == null ? undefined : json['sortBy'],
|
|
131
|
+
'sortDirection': json['sortDirection'] == null ? undefined : json['sortDirection'],
|
|
132
|
+
'perPage': json['per_page'] == null ? undefined : json['per_page'],
|
|
133
|
+
'page': json['page'] == null ? undefined : json['page'],
|
|
134
|
+
'siteDetailsSiteId': json['siteDetails-site_id'] == null ? undefined : json['siteDetails-site_id'],
|
|
135
|
+
'supplierId': json['supplier_id'] == null ? undefined : json['supplier_id'],
|
|
136
|
+
'siteDetailsCategoriesId': json['siteDetails-categories-id'] == null ? undefined : json['siteDetails-categories-id'],
|
|
137
|
+
'relatedId': json['related_id'] == null ? undefined : json['related_id'],
|
|
138
|
+
'relatedType': json['related_type'] == null ? undefined : json['related_type'],
|
|
139
|
+
'includesRelations': json['includes_relations'] == null ? undefined : json['includes_relations'],
|
|
140
|
+
};
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
export function IndexProductRangeRequestToJSON(json: any): IndexProductRangeRequest {
|
|
144
|
+
return IndexProductRangeRequestToJSONTyped(json, false);
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
export function IndexProductRangeRequestToJSONTyped(value?: IndexProductRangeRequest | null, ignoreDiscriminator: boolean = false): any {
|
|
148
|
+
if (value == null) {
|
|
149
|
+
return value;
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
return {
|
|
153
|
+
|
|
154
|
+
'search': value['search'],
|
|
155
|
+
'sortBy': value['sortBy'],
|
|
156
|
+
'sortDirection': value['sortDirection'],
|
|
157
|
+
'per_page': value['perPage'],
|
|
158
|
+
'page': value['page'],
|
|
159
|
+
'siteDetails-site_id': value['siteDetailsSiteId'],
|
|
160
|
+
'supplier_id': value['supplierId'],
|
|
161
|
+
'siteDetails-categories-id': value['siteDetailsCategoriesId'],
|
|
162
|
+
'related_id': value['relatedId'],
|
|
163
|
+
'related_type': value['relatedType'],
|
|
164
|
+
'includes_relations': value['includesRelations'],
|
|
165
|
+
};
|
|
166
|
+
}
|
|
167
|
+
|