@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,32 @@
|
|
|
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 DetachDocumentsProductRangeRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface DetachDocumentsProductRangeRequest {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {Array<number>}
|
|
21
|
+
* @memberof DetachDocumentsProductRangeRequest
|
|
22
|
+
*/
|
|
23
|
+
documents: Array<number>;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the DetachDocumentsProductRangeRequest interface.
|
|
27
|
+
*/
|
|
28
|
+
export declare function instanceOfDetachDocumentsProductRangeRequest(value: object): value is DetachDocumentsProductRangeRequest;
|
|
29
|
+
export declare function DetachDocumentsProductRangeRequestFromJSON(json: any): DetachDocumentsProductRangeRequest;
|
|
30
|
+
export declare function DetachDocumentsProductRangeRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): DetachDocumentsProductRangeRequest;
|
|
31
|
+
export declare function DetachDocumentsProductRangeRequestToJSON(json: any): DetachDocumentsProductRangeRequest;
|
|
32
|
+
export declare function DetachDocumentsProductRangeRequestToJSONTyped(value?: DetachDocumentsProductRangeRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,51 @@
|
|
|
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.instanceOfDetachDocumentsProductRangeRequest = instanceOfDetachDocumentsProductRangeRequest;
|
|
17
|
+
exports.DetachDocumentsProductRangeRequestFromJSON = DetachDocumentsProductRangeRequestFromJSON;
|
|
18
|
+
exports.DetachDocumentsProductRangeRequestFromJSONTyped = DetachDocumentsProductRangeRequestFromJSONTyped;
|
|
19
|
+
exports.DetachDocumentsProductRangeRequestToJSON = DetachDocumentsProductRangeRequestToJSON;
|
|
20
|
+
exports.DetachDocumentsProductRangeRequestToJSONTyped = DetachDocumentsProductRangeRequestToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the DetachDocumentsProductRangeRequest interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfDetachDocumentsProductRangeRequest(value) {
|
|
25
|
+
if (!('documents' in value) || value['documents'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
function DetachDocumentsProductRangeRequestFromJSON(json) {
|
|
30
|
+
return DetachDocumentsProductRangeRequestFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
function DetachDocumentsProductRangeRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if (json == null) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'documents': json['documents'],
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
function DetachDocumentsProductRangeRequestToJSON(json) {
|
|
41
|
+
return DetachDocumentsProductRangeRequestToJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
function DetachDocumentsProductRangeRequestToJSONTyped(value, ignoreDiscriminator) {
|
|
44
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
45
|
+
if (value == null) {
|
|
46
|
+
return value;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'documents': value['documents'],
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -37,6 +37,8 @@ function instanceOfExternalApiLogResource(value) {
|
|
|
37
37
|
return false;
|
|
38
38
|
if (!('responseCode' in value) || value['responseCode'] === undefined)
|
|
39
39
|
return false;
|
|
40
|
+
if (!('requestPayload' in value) || value['requestPayload'] === undefined)
|
|
41
|
+
return false;
|
|
40
42
|
if (!('responsePayload' in value) || value['responsePayload'] === undefined)
|
|
41
43
|
return false;
|
|
42
44
|
if (!('site' in value) || value['site'] === undefined)
|
|
@@ -58,7 +60,7 @@ function ExternalApiLogResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
58
60
|
'exteranlApiLoggableId': json['exteranlApiLoggableId'],
|
|
59
61
|
'endpoint': json['endpoint'],
|
|
60
62
|
'responseCode': json['responseCode'],
|
|
61
|
-
'requestPayload': json['requestPayload']
|
|
63
|
+
'requestPayload': json['requestPayload'],
|
|
62
64
|
'responsePayload': json['responsePayload'],
|
|
63
65
|
'createdAt': json['createdAt'] == null ? undefined : json['createdAt'],
|
|
64
66
|
'site': (0, SiteLiteResource_1.SiteLiteResourceFromJSON)(json['site']),
|
|
@@ -81,7 +81,8 @@ export type GetAllDocumentRequestSortDirectionEnum = typeof GetAllDocumentReques
|
|
|
81
81
|
*/
|
|
82
82
|
export declare const GetAllDocumentRequestRelatedTypeEnum: {
|
|
83
83
|
readonly ProductChild: "productChild";
|
|
84
|
-
readonly
|
|
84
|
+
readonly ProductRange: "productRange";
|
|
85
|
+
readonly ProductRangeSiteDetail: "productRangeSiteDetail";
|
|
85
86
|
};
|
|
86
87
|
export type GetAllDocumentRequestRelatedTypeEnum = typeof GetAllDocumentRequestRelatedTypeEnum[keyof typeof GetAllDocumentRequestRelatedTypeEnum];
|
|
87
88
|
/**
|
|
@@ -40,7 +40,8 @@ exports.GetAllDocumentRequestSortDirectionEnum = {
|
|
|
40
40
|
*/
|
|
41
41
|
exports.GetAllDocumentRequestRelatedTypeEnum = {
|
|
42
42
|
ProductChild: 'productChild',
|
|
43
|
-
|
|
43
|
+
ProductRange: 'productRange',
|
|
44
|
+
ProductRangeSiteDetail: 'productRangeSiteDetail'
|
|
44
45
|
};
|
|
45
46
|
/**
|
|
46
47
|
* Check if a given object implements the GetAllDocumentRequest interface.
|
|
@@ -155,6 +155,7 @@ export type GetAllProductChildRequestSortDirectionEnum = typeof GetAllProductChi
|
|
|
155
155
|
*/
|
|
156
156
|
export declare const GetAllProductChildRequestRelatedTypeEnum: {
|
|
157
157
|
readonly OverlayTemplate: "overlayTemplate";
|
|
158
|
+
readonly ProductRange: "productRange";
|
|
158
159
|
readonly Supplier: "supplier";
|
|
159
160
|
readonly Tag: "tag";
|
|
160
161
|
readonly Document: "document";
|
|
@@ -0,0 +1,98 @@
|
|
|
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 GetAllProductRangeRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface GetAllProductRangeRequest {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof GetAllProductRangeRequest
|
|
22
|
+
*/
|
|
23
|
+
search?: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {GetAllProductRangeRequestSortByEnum}
|
|
27
|
+
* @memberof GetAllProductRangeRequest
|
|
28
|
+
*/
|
|
29
|
+
sortBy?: GetAllProductRangeRequestSortByEnum;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {GetAllProductRangeRequestSortDirectionEnum}
|
|
33
|
+
* @memberof GetAllProductRangeRequest
|
|
34
|
+
*/
|
|
35
|
+
sortDirection?: GetAllProductRangeRequestSortDirectionEnum;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof GetAllProductRangeRequest
|
|
40
|
+
*/
|
|
41
|
+
relatedId?: number;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof GetAllProductRangeRequest
|
|
46
|
+
*/
|
|
47
|
+
relatedType?: string;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {boolean}
|
|
51
|
+
* @memberof GetAllProductRangeRequest
|
|
52
|
+
*/
|
|
53
|
+
includesRelations?: boolean;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {Array<string>}
|
|
57
|
+
* @memberof GetAllProductRangeRequest
|
|
58
|
+
*/
|
|
59
|
+
siteDetailsSiteId?: Array<string>;
|
|
60
|
+
/**
|
|
61
|
+
*
|
|
62
|
+
* @type {Array<string>}
|
|
63
|
+
* @memberof GetAllProductRangeRequest
|
|
64
|
+
*/
|
|
65
|
+
supplierId?: Array<string>;
|
|
66
|
+
/**
|
|
67
|
+
*
|
|
68
|
+
* @type {Array<string>}
|
|
69
|
+
* @memberof GetAllProductRangeRequest
|
|
70
|
+
*/
|
|
71
|
+
siteDetailsCategoriesId?: Array<string>;
|
|
72
|
+
}
|
|
73
|
+
/**
|
|
74
|
+
* @export
|
|
75
|
+
*/
|
|
76
|
+
export declare const GetAllProductRangeRequestSortByEnum: {
|
|
77
|
+
readonly Id: "id";
|
|
78
|
+
readonly Name: "name";
|
|
79
|
+
readonly CreatedAt: "created_at";
|
|
80
|
+
readonly UpdatedAt: "updated_at";
|
|
81
|
+
};
|
|
82
|
+
export type GetAllProductRangeRequestSortByEnum = typeof GetAllProductRangeRequestSortByEnum[keyof typeof GetAllProductRangeRequestSortByEnum];
|
|
83
|
+
/**
|
|
84
|
+
* @export
|
|
85
|
+
*/
|
|
86
|
+
export declare const GetAllProductRangeRequestSortDirectionEnum: {
|
|
87
|
+
readonly Asc: "asc";
|
|
88
|
+
readonly Desc: "desc";
|
|
89
|
+
};
|
|
90
|
+
export type GetAllProductRangeRequestSortDirectionEnum = typeof GetAllProductRangeRequestSortDirectionEnum[keyof typeof GetAllProductRangeRequestSortDirectionEnum];
|
|
91
|
+
/**
|
|
92
|
+
* Check if a given object implements the GetAllProductRangeRequest interface.
|
|
93
|
+
*/
|
|
94
|
+
export declare function instanceOfGetAllProductRangeRequest(value: object): value is GetAllProductRangeRequest;
|
|
95
|
+
export declare function GetAllProductRangeRequestFromJSON(json: any): GetAllProductRangeRequest;
|
|
96
|
+
export declare function GetAllProductRangeRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetAllProductRangeRequest;
|
|
97
|
+
export declare function GetAllProductRangeRequestToJSON(json: any): GetAllProductRangeRequest;
|
|
98
|
+
export declare function GetAllProductRangeRequestToJSONTyped(value?: GetAllProductRangeRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,82 @@
|
|
|
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.GetAllProductRangeRequestSortDirectionEnum = exports.GetAllProductRangeRequestSortByEnum = void 0;
|
|
17
|
+
exports.instanceOfGetAllProductRangeRequest = instanceOfGetAllProductRangeRequest;
|
|
18
|
+
exports.GetAllProductRangeRequestFromJSON = GetAllProductRangeRequestFromJSON;
|
|
19
|
+
exports.GetAllProductRangeRequestFromJSONTyped = GetAllProductRangeRequestFromJSONTyped;
|
|
20
|
+
exports.GetAllProductRangeRequestToJSON = GetAllProductRangeRequestToJSON;
|
|
21
|
+
exports.GetAllProductRangeRequestToJSONTyped = GetAllProductRangeRequestToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
exports.GetAllProductRangeRequestSortByEnum = {
|
|
26
|
+
Id: 'id',
|
|
27
|
+
Name: 'name',
|
|
28
|
+
CreatedAt: 'created_at',
|
|
29
|
+
UpdatedAt: 'updated_at'
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* @export
|
|
33
|
+
*/
|
|
34
|
+
exports.GetAllProductRangeRequestSortDirectionEnum = {
|
|
35
|
+
Asc: 'asc',
|
|
36
|
+
Desc: 'desc'
|
|
37
|
+
};
|
|
38
|
+
/**
|
|
39
|
+
* Check if a given object implements the GetAllProductRangeRequest interface.
|
|
40
|
+
*/
|
|
41
|
+
function instanceOfGetAllProductRangeRequest(value) {
|
|
42
|
+
return true;
|
|
43
|
+
}
|
|
44
|
+
function GetAllProductRangeRequestFromJSON(json) {
|
|
45
|
+
return GetAllProductRangeRequestFromJSONTyped(json, false);
|
|
46
|
+
}
|
|
47
|
+
function GetAllProductRangeRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
48
|
+
if (json == null) {
|
|
49
|
+
return json;
|
|
50
|
+
}
|
|
51
|
+
return {
|
|
52
|
+
'search': json['search'] == null ? undefined : json['search'],
|
|
53
|
+
'sortBy': json['sortBy'] == null ? undefined : json['sortBy'],
|
|
54
|
+
'sortDirection': json['sortDirection'] == null ? undefined : json['sortDirection'],
|
|
55
|
+
'relatedId': json['related_id'] == null ? undefined : json['related_id'],
|
|
56
|
+
'relatedType': json['related_type'] == null ? undefined : json['related_type'],
|
|
57
|
+
'includesRelations': json['includes_relations'] == null ? undefined : json['includes_relations'],
|
|
58
|
+
'siteDetailsSiteId': json['siteDetails-site_id'] == null ? undefined : json['siteDetails-site_id'],
|
|
59
|
+
'supplierId': json['supplier_id'] == null ? undefined : json['supplier_id'],
|
|
60
|
+
'siteDetailsCategoriesId': json['siteDetails-categories-id'] == null ? undefined : json['siteDetails-categories-id'],
|
|
61
|
+
};
|
|
62
|
+
}
|
|
63
|
+
function GetAllProductRangeRequestToJSON(json) {
|
|
64
|
+
return GetAllProductRangeRequestToJSONTyped(json, false);
|
|
65
|
+
}
|
|
66
|
+
function GetAllProductRangeRequestToJSONTyped(value, ignoreDiscriminator) {
|
|
67
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
68
|
+
if (value == null) {
|
|
69
|
+
return value;
|
|
70
|
+
}
|
|
71
|
+
return {
|
|
72
|
+
'search': value['search'],
|
|
73
|
+
'sortBy': value['sortBy'],
|
|
74
|
+
'sortDirection': value['sortDirection'],
|
|
75
|
+
'related_id': value['relatedId'],
|
|
76
|
+
'related_type': value['relatedType'],
|
|
77
|
+
'includes_relations': value['includesRelations'],
|
|
78
|
+
'siteDetails-site_id': value['siteDetailsSiteId'],
|
|
79
|
+
'supplier_id': value['supplierId'],
|
|
80
|
+
'siteDetails-categories-id': value['siteDetailsCategoriesId'],
|
|
81
|
+
};
|
|
82
|
+
}
|
|
@@ -106,6 +106,8 @@ export type IndexAttributeRequestSortDirectionEnum = typeof IndexAttributeReques
|
|
|
106
106
|
*/
|
|
107
107
|
export declare const IndexAttributeRequestRelatedTypeEnum: {
|
|
108
108
|
readonly ProductType: "productType";
|
|
109
|
+
readonly ProductRange: "productRange";
|
|
110
|
+
readonly Category: "category";
|
|
109
111
|
};
|
|
110
112
|
export type IndexAttributeRequestRelatedTypeEnum = typeof IndexAttributeRequestRelatedTypeEnum[keyof typeof IndexAttributeRequestRelatedTypeEnum];
|
|
111
113
|
/**
|
|
@@ -40,7 +40,9 @@ exports.IndexAttributeRequestSortDirectionEnum = {
|
|
|
40
40
|
* @export
|
|
41
41
|
*/
|
|
42
42
|
exports.IndexAttributeRequestRelatedTypeEnum = {
|
|
43
|
-
ProductType: 'productType'
|
|
43
|
+
ProductType: 'productType',
|
|
44
|
+
ProductRange: 'productRange',
|
|
45
|
+
Category: 'category'
|
|
44
46
|
};
|
|
45
47
|
/**
|
|
46
48
|
* Check if a given object implements the IndexAttributeRequest interface.
|
|
@@ -93,7 +93,8 @@ export type IndexDocumentRequestSortDirectionEnum = typeof IndexDocumentRequestS
|
|
|
93
93
|
*/
|
|
94
94
|
export declare const IndexDocumentRequestRelatedTypeEnum: {
|
|
95
95
|
readonly ProductChild: "productChild";
|
|
96
|
-
readonly
|
|
96
|
+
readonly ProductRange: "productRange";
|
|
97
|
+
readonly ProductRangeSiteDetail: "productRangeSiteDetail";
|
|
97
98
|
};
|
|
98
99
|
export type IndexDocumentRequestRelatedTypeEnum = typeof IndexDocumentRequestRelatedTypeEnum[keyof typeof IndexDocumentRequestRelatedTypeEnum];
|
|
99
100
|
/**
|
|
@@ -40,7 +40,8 @@ exports.IndexDocumentRequestSortDirectionEnum = {
|
|
|
40
40
|
*/
|
|
41
41
|
exports.IndexDocumentRequestRelatedTypeEnum = {
|
|
42
42
|
ProductChild: 'productChild',
|
|
43
|
-
|
|
43
|
+
ProductRange: 'productRange',
|
|
44
|
+
ProductRangeSiteDetail: 'productRangeSiteDetail'
|
|
44
45
|
};
|
|
45
46
|
/**
|
|
46
47
|
* Check if a given object implements the IndexDocumentRequest interface.
|
|
@@ -0,0 +1,109 @@
|
|
|
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 IndexLabelRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface IndexLabelRequest {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof IndexLabelRequest
|
|
22
|
+
*/
|
|
23
|
+
search?: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {IndexLabelRequestSortByEnum}
|
|
27
|
+
* @memberof IndexLabelRequest
|
|
28
|
+
*/
|
|
29
|
+
sortBy?: IndexLabelRequestSortByEnum;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {IndexLabelRequestSortDirectionEnum}
|
|
33
|
+
* @memberof IndexLabelRequest
|
|
34
|
+
*/
|
|
35
|
+
sortDirection?: IndexLabelRequestSortDirectionEnum;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof IndexLabelRequest
|
|
40
|
+
*/
|
|
41
|
+
perPage?: number;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {number}
|
|
45
|
+
* @memberof IndexLabelRequest
|
|
46
|
+
*/
|
|
47
|
+
page?: number;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {Array<string>}
|
|
51
|
+
* @memberof IndexLabelRequest
|
|
52
|
+
*/
|
|
53
|
+
siteId?: Array<string>;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {number}
|
|
57
|
+
* @memberof IndexLabelRequest
|
|
58
|
+
*/
|
|
59
|
+
relatedId?: number;
|
|
60
|
+
/**
|
|
61
|
+
*
|
|
62
|
+
* @type {IndexLabelRequestRelatedTypeEnum}
|
|
63
|
+
* @memberof IndexLabelRequest
|
|
64
|
+
*/
|
|
65
|
+
relatedType?: IndexLabelRequestRelatedTypeEnum;
|
|
66
|
+
/**
|
|
67
|
+
*
|
|
68
|
+
* @type {boolean}
|
|
69
|
+
* @memberof IndexLabelRequest
|
|
70
|
+
*/
|
|
71
|
+
includesRelations?: boolean;
|
|
72
|
+
}
|
|
73
|
+
/**
|
|
74
|
+
* @export
|
|
75
|
+
*/
|
|
76
|
+
export declare const IndexLabelRequestSortByEnum: {
|
|
77
|
+
readonly Id: "id";
|
|
78
|
+
readonly ShortName: "short_name";
|
|
79
|
+
readonly LongName: "long_name";
|
|
80
|
+
readonly StartDate: "start_date";
|
|
81
|
+
readonly EndDate: "end_date";
|
|
82
|
+
readonly CreatedAt: "created_at";
|
|
83
|
+
readonly UpdatedAt: "updated_at";
|
|
84
|
+
};
|
|
85
|
+
export type IndexLabelRequestSortByEnum = typeof IndexLabelRequestSortByEnum[keyof typeof IndexLabelRequestSortByEnum];
|
|
86
|
+
/**
|
|
87
|
+
* @export
|
|
88
|
+
*/
|
|
89
|
+
export declare const IndexLabelRequestSortDirectionEnum: {
|
|
90
|
+
readonly Asc: "asc";
|
|
91
|
+
readonly Desc: "desc";
|
|
92
|
+
};
|
|
93
|
+
export type IndexLabelRequestSortDirectionEnum = typeof IndexLabelRequestSortDirectionEnum[keyof typeof IndexLabelRequestSortDirectionEnum];
|
|
94
|
+
/**
|
|
95
|
+
* @export
|
|
96
|
+
*/
|
|
97
|
+
export declare const IndexLabelRequestRelatedTypeEnum: {
|
|
98
|
+
readonly Site: "site";
|
|
99
|
+
readonly ProductChild: "productChild";
|
|
100
|
+
};
|
|
101
|
+
export type IndexLabelRequestRelatedTypeEnum = typeof IndexLabelRequestRelatedTypeEnum[keyof typeof IndexLabelRequestRelatedTypeEnum];
|
|
102
|
+
/**
|
|
103
|
+
* Check if a given object implements the IndexLabelRequest interface.
|
|
104
|
+
*/
|
|
105
|
+
export declare function instanceOfIndexLabelRequest(value: object): value is IndexLabelRequest;
|
|
106
|
+
export declare function IndexLabelRequestFromJSON(json: any): IndexLabelRequest;
|
|
107
|
+
export declare function IndexLabelRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): IndexLabelRequest;
|
|
108
|
+
export declare function IndexLabelRequestToJSON(json: any): IndexLabelRequest;
|
|
109
|
+
export declare function IndexLabelRequestToJSONTyped(value?: IndexLabelRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,92 @@
|
|
|
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.IndexLabelRequestRelatedTypeEnum = exports.IndexLabelRequestSortDirectionEnum = exports.IndexLabelRequestSortByEnum = void 0;
|
|
17
|
+
exports.instanceOfIndexLabelRequest = instanceOfIndexLabelRequest;
|
|
18
|
+
exports.IndexLabelRequestFromJSON = IndexLabelRequestFromJSON;
|
|
19
|
+
exports.IndexLabelRequestFromJSONTyped = IndexLabelRequestFromJSONTyped;
|
|
20
|
+
exports.IndexLabelRequestToJSON = IndexLabelRequestToJSON;
|
|
21
|
+
exports.IndexLabelRequestToJSONTyped = IndexLabelRequestToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
exports.IndexLabelRequestSortByEnum = {
|
|
26
|
+
Id: 'id',
|
|
27
|
+
ShortName: 'short_name',
|
|
28
|
+
LongName: 'long_name',
|
|
29
|
+
StartDate: 'start_date',
|
|
30
|
+
EndDate: 'end_date',
|
|
31
|
+
CreatedAt: 'created_at',
|
|
32
|
+
UpdatedAt: 'updated_at'
|
|
33
|
+
};
|
|
34
|
+
/**
|
|
35
|
+
* @export
|
|
36
|
+
*/
|
|
37
|
+
exports.IndexLabelRequestSortDirectionEnum = {
|
|
38
|
+
Asc: 'asc',
|
|
39
|
+
Desc: 'desc'
|
|
40
|
+
};
|
|
41
|
+
/**
|
|
42
|
+
* @export
|
|
43
|
+
*/
|
|
44
|
+
exports.IndexLabelRequestRelatedTypeEnum = {
|
|
45
|
+
Site: 'site',
|
|
46
|
+
ProductChild: 'productChild'
|
|
47
|
+
};
|
|
48
|
+
/**
|
|
49
|
+
* Check if a given object implements the IndexLabelRequest interface.
|
|
50
|
+
*/
|
|
51
|
+
function instanceOfIndexLabelRequest(value) {
|
|
52
|
+
return true;
|
|
53
|
+
}
|
|
54
|
+
function IndexLabelRequestFromJSON(json) {
|
|
55
|
+
return IndexLabelRequestFromJSONTyped(json, false);
|
|
56
|
+
}
|
|
57
|
+
function IndexLabelRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
58
|
+
if (json == null) {
|
|
59
|
+
return json;
|
|
60
|
+
}
|
|
61
|
+
return {
|
|
62
|
+
'search': json['search'] == null ? undefined : json['search'],
|
|
63
|
+
'sortBy': json['sortBy'] == null ? undefined : json['sortBy'],
|
|
64
|
+
'sortDirection': json['sortDirection'] == null ? undefined : json['sortDirection'],
|
|
65
|
+
'perPage': json['per_page'] == null ? undefined : json['per_page'],
|
|
66
|
+
'page': json['page'] == null ? undefined : json['page'],
|
|
67
|
+
'siteId': json['site_id'] == null ? undefined : json['site_id'],
|
|
68
|
+
'relatedId': json['related_id'] == null ? undefined : json['related_id'],
|
|
69
|
+
'relatedType': json['related_type'] == null ? undefined : json['related_type'],
|
|
70
|
+
'includesRelations': json['includes_relations'] == null ? undefined : json['includes_relations'],
|
|
71
|
+
};
|
|
72
|
+
}
|
|
73
|
+
function IndexLabelRequestToJSON(json) {
|
|
74
|
+
return IndexLabelRequestToJSONTyped(json, false);
|
|
75
|
+
}
|
|
76
|
+
function IndexLabelRequestToJSONTyped(value, ignoreDiscriminator) {
|
|
77
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
78
|
+
if (value == null) {
|
|
79
|
+
return value;
|
|
80
|
+
}
|
|
81
|
+
return {
|
|
82
|
+
'search': value['search'],
|
|
83
|
+
'sortBy': value['sortBy'],
|
|
84
|
+
'sortDirection': value['sortDirection'],
|
|
85
|
+
'per_page': value['perPage'],
|
|
86
|
+
'page': value['page'],
|
|
87
|
+
'site_id': value['siteId'],
|
|
88
|
+
'related_id': value['relatedId'],
|
|
89
|
+
'related_type': value['relatedType'],
|
|
90
|
+
'includes_relations': value['includesRelations'],
|
|
91
|
+
};
|
|
92
|
+
}
|