@digital8/lighting-illusions-ts-sdk 0.0.1361 → 0.0.1362
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 +72 -20
- package/README.md +54 -17
- package/dist/apis/AttributeApi.d.ts +16 -1
- package/dist/apis/AttributeApi.js +58 -0
- package/dist/apis/ProductRangeApi.d.ts +269 -0
- package/dist/apis/ProductRangeApi.js +1043 -0
- package/dist/apis/index.d.ts +1 -1
- package/dist/apis/index.js +1 -1
- 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/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/IndexModelAttributeRequest.d.ts +118 -0
- package/dist/models/IndexModelAttributeRequest.js +93 -0
- package/dist/models/IndexProductChildRequest.d.ts +1 -1
- package/dist/models/IndexProductChildRequest.js +1 -1
- package/dist/models/IndexProductRangeRequest.d.ts +110 -0
- package/dist/models/{IndexLabelRequest.js → IndexProductRangeRequest.js} +23 -22
- package/dist/models/LabelResource.d.ts +2 -20
- package/dist/models/LabelResource.js +5 -15
- 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/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/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 +118 -0
- package/dist/models/ProductRangeFrontendResource.js +109 -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/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/ProductSearchResultResource.d.ts +1 -1
- package/dist/models/ProductSearchResultResource.js +3 -3
- package/dist/models/StoreAssetForAssetableRequest.d.ts +2 -0
- package/dist/models/StoreAssetForAssetableRequest.js +3 -1
- 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/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 +35 -9
- package/dist/models/index.js +35 -9
- 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/{LabelListResourceArrayResponse.md → DetachAttributesProductRangeRequest.md} +6 -6
- package/docs/DetachDocumentsProductRangeRequest.md +34 -0
- package/docs/GetAllProductRangeRequest.md +50 -0
- package/docs/{IndexLabelRequest.md → IndexModelAttributeRequest.md} +10 -6
- package/docs/IndexProductRangeRequest.md +54 -0
- package/docs/LabelResource.md +4 -10
- package/docs/ModelAttributeListResource.md +44 -0
- package/docs/ModelAttributeListResourceArrayResponse.md +34 -0
- package/docs/ModelAttributeResource.md +2 -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/{PaginatedLabelListResourceResponse.md → PaginatedProductRangeResourceResponse.md} +5 -5
- 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/{LabelLiteResource.md → ProductRangeLiteResource.md} +6 -12
- package/docs/ProductRangeLiteResourceArrayResponse.md +34 -0
- package/docs/ProductRangeResource.md +52 -0
- package/docs/{LabelLiteResourceArrayResponse.md → ProductRangeResourceArrayResponse.md} +5 -5
- 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/ProductSearchResultResource.md +2 -2
- package/docs/StoreProductRangeRequest.md +40 -0
- package/docs/StoreProductRangeRequestSitesInner.md +54 -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/ProductRangeApi.ts +888 -0
- package/src/apis/index.ts +1 -1
- 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/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/IndexModelAttributeRequest.ts +176 -0
- package/src/models/IndexProductChildRequest.ts +1 -1
- package/src/models/IndexProductRangeRequest.ts +167 -0
- package/src/models/LabelResource.ts +7 -33
- package/src/models/ModelAttributeListResource.ts +125 -0
- package/src/models/ModelAttributeListResourceArrayResponse.ts +73 -0
- package/src/models/ModelAttributeResource.ts +8 -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/ProductRangeFrontendListResource.ts +111 -0
- package/src/models/ProductRangeFrontendListResourceArrayResponse.ts +73 -0
- package/src/models/ProductRangeFrontendResource.ts +207 -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/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/ProductSearchResultResource.ts +4 -4
- package/src/models/StoreAssetForAssetableRequest.ts +3 -1
- package/src/models/StoreProductRangeRequest.ts +105 -0
- package/src/models/StoreProductRangeRequestSitesInner.ts +148 -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 +35 -9
- package/dist/apis/LabelApi.d.ts +0 -109
- package/dist/apis/LabelApi.js +0 -433
- package/dist/models/IndexLabelRequest.d.ts +0 -101
- package/dist/models/LabelListResource.d.ts +0 -81
- package/dist/models/LabelListResource.js +0 -78
- package/dist/models/LabelListResourceArrayResponse.d.ts +0 -33
- package/dist/models/LabelListResourceArrayResponse.js +0 -50
- package/dist/models/LabelLiteResource.d.ts +0 -56
- package/dist/models/LabelLiteResource.js +0 -65
- package/dist/models/LabelLiteResourceArrayResponse.d.ts +0 -33
- package/dist/models/LabelLiteResourceArrayResponse.js +0 -50
- package/dist/models/PaginatedLabelListResourceResponse.d.ts +0 -40
- package/dist/models/PaginatedLabelListResourceResponse.js +0 -57
- package/dist/models/StoreLabelRequest.d.ts +0 -74
- package/dist/models/StoreLabelRequest.js +0 -71
- package/dist/models/UpdateLabelRequest.d.ts +0 -74
- package/dist/models/UpdateLabelRequest.js +0 -63
- package/dist/models/UpdateProductTypeRequestPerformanceValuesInner.d.ts +0 -38
- package/dist/models/UpdateProductTypeRequestPerformanceValuesInner.js +0 -51
- package/docs/LabelApi.md +0 -407
- package/docs/LabelListResource.md +0 -50
- package/docs/StoreLabelRequest.md +0 -48
- package/docs/UpdateLabelRequest.md +0 -48
- package/src/apis/LabelApi.ts +0 -328
- package/src/models/IndexLabelRequest.ts +0 -154
- package/src/models/LabelListResource.ts +0 -143
- package/src/models/LabelListResourceArrayResponse.ts +0 -73
- package/src/models/LabelLiteResource.ts +0 -101
- package/src/models/LabelLiteResourceArrayResponse.ts +0 -73
- package/src/models/PaginatedLabelListResourceResponse.ts +0 -90
- package/src/models/StoreLabelRequest.ts +0 -125
- package/src/models/UpdateLabelRequest.ts +0 -121
- package/src/models/UpdateProductTypeRequestPerformanceValuesInner.ts +0 -73
|
@@ -0,0 +1,73 @@
|
|
|
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 UpdateProductRangeRequestAttributesInner
|
|
20
|
+
*/
|
|
21
|
+
export interface UpdateProductRangeRequestAttributesInner {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {number}
|
|
25
|
+
* @memberof UpdateProductRangeRequestAttributesInner
|
|
26
|
+
*/
|
|
27
|
+
attributeId?: number;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {number}
|
|
31
|
+
* @memberof UpdateProductRangeRequestAttributesInner
|
|
32
|
+
*/
|
|
33
|
+
order?: number;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* Check if a given object implements the UpdateProductRangeRequestAttributesInner interface.
|
|
38
|
+
*/
|
|
39
|
+
export function instanceOfUpdateProductRangeRequestAttributesInner(value: object): value is UpdateProductRangeRequestAttributesInner {
|
|
40
|
+
return true;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
export function UpdateProductRangeRequestAttributesInnerFromJSON(json: any): UpdateProductRangeRequestAttributesInner {
|
|
44
|
+
return UpdateProductRangeRequestAttributesInnerFromJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
export function UpdateProductRangeRequestAttributesInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateProductRangeRequestAttributesInner {
|
|
48
|
+
if (json == null) {
|
|
49
|
+
return json;
|
|
50
|
+
}
|
|
51
|
+
return {
|
|
52
|
+
|
|
53
|
+
'attributeId': json['attribute_id'] == null ? undefined : json['attribute_id'],
|
|
54
|
+
'order': json['order'] == null ? undefined : json['order'],
|
|
55
|
+
};
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
export function UpdateProductRangeRequestAttributesInnerToJSON(json: any): UpdateProductRangeRequestAttributesInner {
|
|
59
|
+
return UpdateProductRangeRequestAttributesInnerToJSONTyped(json, false);
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
export function UpdateProductRangeRequestAttributesInnerToJSONTyped(value?: UpdateProductRangeRequestAttributesInner | null, ignoreDiscriminator: boolean = false): any {
|
|
63
|
+
if (value == null) {
|
|
64
|
+
return value;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
return {
|
|
68
|
+
|
|
69
|
+
'attribute_id': value['attributeId'],
|
|
70
|
+
'order': value['order'],
|
|
71
|
+
};
|
|
72
|
+
}
|
|
73
|
+
|
|
@@ -13,13 +13,13 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
import { mapValues } from '../runtime';
|
|
16
|
-
import type {
|
|
16
|
+
import type { UpdateProductRangeRequestAttributesInner } from './UpdateProductRangeRequestAttributesInner';
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from './
|
|
18
|
+
UpdateProductRangeRequestAttributesInnerFromJSON,
|
|
19
|
+
UpdateProductRangeRequestAttributesInnerFromJSONTyped,
|
|
20
|
+
UpdateProductRangeRequestAttributesInnerToJSON,
|
|
21
|
+
UpdateProductRangeRequestAttributesInnerToJSONTyped,
|
|
22
|
+
} from './UpdateProductRangeRequestAttributesInner';
|
|
23
23
|
|
|
24
24
|
/**
|
|
25
25
|
*
|
|
@@ -35,28 +35,28 @@ export interface UpdateProductTypeRequest {
|
|
|
35
35
|
name: string;
|
|
36
36
|
/**
|
|
37
37
|
*
|
|
38
|
-
* @type {Array<
|
|
38
|
+
* @type {Array<UpdateProductRangeRequestAttributesInner>}
|
|
39
39
|
* @memberof UpdateProductTypeRequest
|
|
40
40
|
*/
|
|
41
|
-
performanceValues?: Array<
|
|
41
|
+
performanceValues?: Array<UpdateProductRangeRequestAttributesInner>;
|
|
42
42
|
/**
|
|
43
43
|
*
|
|
44
|
-
* @type {Array<
|
|
44
|
+
* @type {Array<UpdateProductRangeRequestAttributesInner>}
|
|
45
45
|
* @memberof UpdateProductTypeRequest
|
|
46
46
|
*/
|
|
47
|
-
dimensionValues?: Array<
|
|
47
|
+
dimensionValues?: Array<UpdateProductRangeRequestAttributesInner>;
|
|
48
48
|
/**
|
|
49
49
|
*
|
|
50
|
-
* @type {Array<
|
|
50
|
+
* @type {Array<UpdateProductRangeRequestAttributesInner>}
|
|
51
51
|
* @memberof UpdateProductTypeRequest
|
|
52
52
|
*/
|
|
53
|
-
specificationValues?: Array<
|
|
53
|
+
specificationValues?: Array<UpdateProductRangeRequestAttributesInner>;
|
|
54
54
|
/**
|
|
55
55
|
*
|
|
56
|
-
* @type {Array<
|
|
56
|
+
* @type {Array<UpdateProductRangeRequestAttributesInner>}
|
|
57
57
|
* @memberof UpdateProductTypeRequest
|
|
58
58
|
*/
|
|
59
|
-
otherValues?: Array<
|
|
59
|
+
otherValues?: Array<UpdateProductRangeRequestAttributesInner>;
|
|
60
60
|
}
|
|
61
61
|
|
|
62
62
|
/**
|
|
@@ -78,10 +78,10 @@ export function UpdateProductTypeRequestFromJSONTyped(json: any, ignoreDiscrimin
|
|
|
78
78
|
return {
|
|
79
79
|
|
|
80
80
|
'name': json['name'],
|
|
81
|
-
'performanceValues': json['performance_values'] == null ? undefined : ((json['performance_values'] as Array<any>).map(
|
|
82
|
-
'dimensionValues': json['dimension_values'] == null ? undefined : ((json['dimension_values'] as Array<any>).map(
|
|
83
|
-
'specificationValues': json['specification_values'] == null ? undefined : ((json['specification_values'] as Array<any>).map(
|
|
84
|
-
'otherValues': json['other_values'] == null ? undefined : ((json['other_values'] as Array<any>).map(
|
|
81
|
+
'performanceValues': json['performance_values'] == null ? undefined : ((json['performance_values'] as Array<any>).map(UpdateProductRangeRequestAttributesInnerFromJSON)),
|
|
82
|
+
'dimensionValues': json['dimension_values'] == null ? undefined : ((json['dimension_values'] as Array<any>).map(UpdateProductRangeRequestAttributesInnerFromJSON)),
|
|
83
|
+
'specificationValues': json['specification_values'] == null ? undefined : ((json['specification_values'] as Array<any>).map(UpdateProductRangeRequestAttributesInnerFromJSON)),
|
|
84
|
+
'otherValues': json['other_values'] == null ? undefined : ((json['other_values'] as Array<any>).map(UpdateProductRangeRequestAttributesInnerFromJSON)),
|
|
85
85
|
};
|
|
86
86
|
}
|
|
87
87
|
|
|
@@ -97,10 +97,10 @@ export function UpdateProductTypeRequestToJSONTyped(value?: UpdateProductTypeReq
|
|
|
97
97
|
return {
|
|
98
98
|
|
|
99
99
|
'name': value['name'],
|
|
100
|
-
'performance_values': value['performanceValues'] == null ? undefined : ((value['performanceValues'] as Array<any>).map(
|
|
101
|
-
'dimension_values': value['dimensionValues'] == null ? undefined : ((value['dimensionValues'] as Array<any>).map(
|
|
102
|
-
'specification_values': value['specificationValues'] == null ? undefined : ((value['specificationValues'] as Array<any>).map(
|
|
103
|
-
'other_values': value['otherValues'] == null ? undefined : ((value['otherValues'] as Array<any>).map(
|
|
100
|
+
'performance_values': value['performanceValues'] == null ? undefined : ((value['performanceValues'] as Array<any>).map(UpdateProductRangeRequestAttributesInnerToJSON)),
|
|
101
|
+
'dimension_values': value['dimensionValues'] == null ? undefined : ((value['dimensionValues'] as Array<any>).map(UpdateProductRangeRequestAttributesInnerToJSON)),
|
|
102
|
+
'specification_values': value['specificationValues'] == null ? undefined : ((value['specificationValues'] as Array<any>).map(UpdateProductRangeRequestAttributesInnerToJSON)),
|
|
103
|
+
'other_values': value['otherValues'] == null ? undefined : ((value['otherValues'] as Array<any>).map(UpdateProductRangeRequestAttributesInnerToJSON)),
|
|
104
104
|
};
|
|
105
105
|
}
|
|
106
106
|
|
package/src/models/index.ts
CHANGED
|
@@ -11,12 +11,16 @@ export * from './AssetResourceArrayResponse';
|
|
|
11
11
|
export * from './AssetWithOverlayLinkResource';
|
|
12
12
|
export * from './AssetWithOverlayLinkResourceArrayResponse';
|
|
13
13
|
export * from './AttachAccessoriesProductChildRequest';
|
|
14
|
+
export * from './AttachAccessoriesProductRangeRequest';
|
|
14
15
|
export * from './AttachAssetsOverlayTemplateRequest';
|
|
15
16
|
export * from './AttachAttributeProductTypeRequest';
|
|
17
|
+
export * from './AttachAttributesProductRangeRequest';
|
|
18
|
+
export * from './AttachAttributesProductRangeRequestAttributesInner';
|
|
16
19
|
export * from './AttachDocumentablesDocumentRequest';
|
|
17
20
|
export * from './AttachDocumentablesDocumentRequestDocumentablesInner';
|
|
18
21
|
export * from './AttachDocumentsProductChildRequest';
|
|
19
22
|
export * from './AttachDocumentsProductChildRequestDocumentsInner';
|
|
23
|
+
export * from './AttachDocumentsProductRangeRequest';
|
|
20
24
|
export * from './AttachProductTypeAttributeRequest';
|
|
21
25
|
export * from './AttachProductsProductCategoryRequest';
|
|
22
26
|
export * from './AttributeFieldType';
|
|
@@ -48,10 +52,13 @@ export * from './DefinitionResourceArrayResponse';
|
|
|
48
52
|
export * from './DescriptionResource';
|
|
49
53
|
export * from './DescriptionResourceArrayResponse';
|
|
50
54
|
export * from './DestroyAttributeValueRequest';
|
|
55
|
+
export * from './DetachAccessoriesProductRangeRequest';
|
|
51
56
|
export * from './DetachAssetableOverlayTemplateRequest';
|
|
57
|
+
export * from './DetachAttributesProductRangeRequest';
|
|
52
58
|
export * from './DetachDocumentablesDocumentRequest';
|
|
53
59
|
export * from './DetachDocumentablesDocumentRequestDocumentablesInner';
|
|
54
60
|
export * from './DetachDocumentsProductChildRequest';
|
|
61
|
+
export * from './DetachDocumentsProductRangeRequest';
|
|
55
62
|
export * from './DetachProductsProductCategoryRequest';
|
|
56
63
|
export * from './DocumentFileForUploadResource';
|
|
57
64
|
export * from './DocumentFileForUploadResourceArrayResponse';
|
|
@@ -76,6 +83,7 @@ export * from './GetAllGoogleCategoryRequest';
|
|
|
76
83
|
export * from './GetAllOverlayTemplateRequest';
|
|
77
84
|
export * from './GetAllProductCategoryRequest';
|
|
78
85
|
export * from './GetAllProductChildRequest';
|
|
86
|
+
export * from './GetAllProductRangeRequest';
|
|
79
87
|
export * from './GetAllProductRequest';
|
|
80
88
|
export * from './GetAllProductTypeRequest';
|
|
81
89
|
export * from './GetAllSupplierRequest';
|
|
@@ -96,22 +104,21 @@ export * from './IndexAttributeValueRequest';
|
|
|
96
104
|
export * from './IndexDefinitionRequest';
|
|
97
105
|
export * from './IndexDocumentRequest';
|
|
98
106
|
export * from './IndexExternalApiLogRequest';
|
|
99
|
-
export * from './
|
|
107
|
+
export * from './IndexModelAttributeRequest';
|
|
100
108
|
export * from './IndexOverlayTemplateRequest';
|
|
101
109
|
export * from './IndexProductCategoryRequest';
|
|
102
110
|
export * from './IndexProductChildRequest';
|
|
111
|
+
export * from './IndexProductRangeRequest';
|
|
103
112
|
export * from './IndexProductRequest';
|
|
104
113
|
export * from './IndexProductTypeRequest';
|
|
105
114
|
export * from './IndexSiteNotificationRequest';
|
|
106
115
|
export * from './IndexSiteRequest';
|
|
107
116
|
export * from './IndexSupplierRequest';
|
|
108
117
|
export * from './IndexTagRequest';
|
|
109
|
-
export * from './LabelListResource';
|
|
110
|
-
export * from './LabelListResourceArrayResponse';
|
|
111
|
-
export * from './LabelLiteResource';
|
|
112
|
-
export * from './LabelLiteResourceArrayResponse';
|
|
113
118
|
export * from './LabelResource';
|
|
114
119
|
export * from './LabelResourceArrayResponse';
|
|
120
|
+
export * from './ModelAttributeListResource';
|
|
121
|
+
export * from './ModelAttributeListResourceArrayResponse';
|
|
115
122
|
export * from './ModelAttributeResource';
|
|
116
123
|
export * from './ModelAttributeResourceArrayResponse';
|
|
117
124
|
export * from './OverlayTemplateAssetFrontendResource';
|
|
@@ -137,7 +144,7 @@ export * from './PaginatedDocumentResourceResponse';
|
|
|
137
144
|
export * from './PaginatedExternalApiLogListResourceResponse';
|
|
138
145
|
export * from './PaginatedExternalApiLogResourceResponse';
|
|
139
146
|
export * from './PaginatedGoogleCategoryResourceResponse';
|
|
140
|
-
export * from './
|
|
147
|
+
export * from './PaginatedModelAttributeListResourceResponse';
|
|
141
148
|
export * from './PaginatedOverlayTemplateListResourceResponse';
|
|
142
149
|
export * from './PaginatedOverlayTemplateLiteResourceResponse';
|
|
143
150
|
export * from './PaginatedOverlayTemplateResourceResponse';
|
|
@@ -150,6 +157,10 @@ export * from './PaginatedProductChildRelationResourceResponse';
|
|
|
150
157
|
export * from './PaginatedProductChildResourceResponse';
|
|
151
158
|
export * from './PaginatedProductListResourceResponse';
|
|
152
159
|
export * from './PaginatedProductLiteResourceResponse';
|
|
160
|
+
export * from './PaginatedProductRangeFrontendListResourceResponse';
|
|
161
|
+
export * from './PaginatedProductRangeListResourceResponse';
|
|
162
|
+
export * from './PaginatedProductRangeLiteResourceResponse';
|
|
163
|
+
export * from './PaginatedProductRangeResourceResponse';
|
|
153
164
|
export * from './PaginatedProductResourceResponse';
|
|
154
165
|
export * from './PaginatedProductSearchResultResourceResponse';
|
|
155
166
|
export * from './PaginatedProductTypeListResourceResponse';
|
|
@@ -208,6 +219,20 @@ export * from './ProductListResource';
|
|
|
208
219
|
export * from './ProductListResourceArrayResponse';
|
|
209
220
|
export * from './ProductLiteResource';
|
|
210
221
|
export * from './ProductLiteResourceArrayResponse';
|
|
222
|
+
export * from './ProductRangeFrontendListResource';
|
|
223
|
+
export * from './ProductRangeFrontendListResourceArrayResponse';
|
|
224
|
+
export * from './ProductRangeFrontendResource';
|
|
225
|
+
export * from './ProductRangeFrontendResourceArrayResponse';
|
|
226
|
+
export * from './ProductRangeListResource';
|
|
227
|
+
export * from './ProductRangeListResourceArrayResponse';
|
|
228
|
+
export * from './ProductRangeLiteResource';
|
|
229
|
+
export * from './ProductRangeLiteResourceArrayResponse';
|
|
230
|
+
export * from './ProductRangeResource';
|
|
231
|
+
export * from './ProductRangeResourceArrayResponse';
|
|
232
|
+
export * from './ProductRangeSiteDetailLiteResource';
|
|
233
|
+
export * from './ProductRangeSiteDetailLiteResourceArrayResponse';
|
|
234
|
+
export * from './ProductRangeSiteDetailResource';
|
|
235
|
+
export * from './ProductRangeSiteDetailResourceArrayResponse';
|
|
211
236
|
export * from './ProductRating';
|
|
212
237
|
export * from './ProductResource';
|
|
213
238
|
export * from './ProductResourceArrayResponse';
|
|
@@ -249,7 +274,6 @@ export * from './StoreAttributeValueRequest';
|
|
|
249
274
|
export * from './StoreDefinitionRequest';
|
|
250
275
|
export * from './StoreDocumentFileRequest';
|
|
251
276
|
export * from './StoreDocumentRequest';
|
|
252
|
-
export * from './StoreLabelRequest';
|
|
253
277
|
export * from './StoreOverlayTemplateAssetRequest';
|
|
254
278
|
export * from './StoreOverlayTemplateRequest';
|
|
255
279
|
export * from './StoreProductCategoryRequest';
|
|
@@ -260,6 +284,8 @@ export * from './StoreProductChildRequest';
|
|
|
260
284
|
export * from './StoreProductChildRequestAssetsInner';
|
|
261
285
|
export * from './StoreProductChildRequestAttributeValuesInner';
|
|
262
286
|
export * from './StoreProductChildRequestSitesInner';
|
|
287
|
+
export * from './StoreProductRangeRequest';
|
|
288
|
+
export * from './StoreProductRangeRequestSitesInner';
|
|
263
289
|
export * from './StoreProductRequest';
|
|
264
290
|
export * from './StoreProductRequestCategoriesInner';
|
|
265
291
|
export * from './StoreProductTypeRequest';
|
|
@@ -290,16 +316,16 @@ export * from './UpdateDefinitionRequest';
|
|
|
290
316
|
export * from './UpdateDocumentRequest';
|
|
291
317
|
export * from './UpdateFilterOrderAttributeRequest';
|
|
292
318
|
export * from './UpdateFilterOrderAttributeRequestValuesInner';
|
|
293
|
-
export * from './UpdateLabelRequest';
|
|
294
319
|
export * from './UpdateModelAttributeRequest';
|
|
295
320
|
export * from './UpdateOverlayTemplateAssetRequest';
|
|
296
321
|
export * from './UpdateOverlayTemplateRequest';
|
|
297
322
|
export * from './UpdateProductCategoryRequest';
|
|
298
323
|
export * from './UpdateProductChildRequest';
|
|
299
324
|
export * from './UpdateProductChildRequestAssetsInner';
|
|
325
|
+
export * from './UpdateProductRangeRequest';
|
|
326
|
+
export * from './UpdateProductRangeRequestAttributesInner';
|
|
300
327
|
export * from './UpdateProductRequest';
|
|
301
328
|
export * from './UpdateProductTypeRequest';
|
|
302
|
-
export * from './UpdateProductTypeRequestPerformanceValuesInner';
|
|
303
329
|
export * from './UpdateSiteNotificationRequest';
|
|
304
330
|
export * from './UpdateSiteRequest';
|
|
305
331
|
export * from './UpdateSupplierRequest';
|
package/dist/apis/LabelApi.d.ts
DELETED
|
@@ -1,109 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* My API
|
|
3
|
-
* API documentation for my Laravel app
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0.0
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
import * as runtime from '../runtime';
|
|
13
|
-
import type { GenericResponse, IndexLabelRequest, LabelResource, PaginatedLabelListResourceResponse, StoreLabelRequest, UpdateLabelRequest } from '../models/index';
|
|
14
|
-
export interface DestroyLabelRequest {
|
|
15
|
-
label: number;
|
|
16
|
-
}
|
|
17
|
-
export interface GetAllLabelRequest {
|
|
18
|
-
indexLabelRequest?: IndexLabelRequest;
|
|
19
|
-
}
|
|
20
|
-
export interface IndexLabelOperationRequest {
|
|
21
|
-
indexLabelRequest?: IndexLabelRequest;
|
|
22
|
-
}
|
|
23
|
-
export interface ShowLabelRequest {
|
|
24
|
-
label: number;
|
|
25
|
-
}
|
|
26
|
-
export interface StoreLabelOperationRequest {
|
|
27
|
-
storeLabelRequest?: StoreLabelRequest;
|
|
28
|
-
}
|
|
29
|
-
export interface UpdateLabelOperationRequest {
|
|
30
|
-
label: number;
|
|
31
|
-
updateLabelRequest?: UpdateLabelRequest;
|
|
32
|
-
}
|
|
33
|
-
/**
|
|
34
|
-
*
|
|
35
|
-
*/
|
|
36
|
-
export declare class LabelApi extends runtime.BaseAPI {
|
|
37
|
-
/**
|
|
38
|
-
* Creates request options for destroyLabel without sending the request
|
|
39
|
-
*/
|
|
40
|
-
destroyLabelRequestOpts(requestParameters: DestroyLabelRequest): Promise<runtime.RequestOpts>;
|
|
41
|
-
/**
|
|
42
|
-
* Auto-generated: destroyLabel
|
|
43
|
-
*/
|
|
44
|
-
destroyLabelRaw(requestParameters: DestroyLabelRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GenericResponse>>;
|
|
45
|
-
/**
|
|
46
|
-
* Auto-generated: destroyLabel
|
|
47
|
-
*/
|
|
48
|
-
destroyLabel(requestParameters: DestroyLabelRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GenericResponse>;
|
|
49
|
-
/**
|
|
50
|
-
* Creates request options for getAllLabel without sending the request
|
|
51
|
-
*/
|
|
52
|
-
getAllLabelRequestOpts(requestParameters: GetAllLabelRequest): Promise<runtime.RequestOpts>;
|
|
53
|
-
/**
|
|
54
|
-
* Auto-generated: getAllLabel
|
|
55
|
-
*/
|
|
56
|
-
getAllLabelRaw(requestParameters: GetAllLabelRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GenericResponse>>;
|
|
57
|
-
/**
|
|
58
|
-
* Auto-generated: getAllLabel
|
|
59
|
-
*/
|
|
60
|
-
getAllLabel(requestParameters?: GetAllLabelRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GenericResponse>;
|
|
61
|
-
/**
|
|
62
|
-
* Creates request options for indexLabel without sending the request
|
|
63
|
-
*/
|
|
64
|
-
indexLabelRequestOpts(requestParameters: IndexLabelOperationRequest): Promise<runtime.RequestOpts>;
|
|
65
|
-
/**
|
|
66
|
-
* Auto-generated: indexLabel
|
|
67
|
-
*/
|
|
68
|
-
indexLabelRaw(requestParameters: IndexLabelOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PaginatedLabelListResourceResponse>>;
|
|
69
|
-
/**
|
|
70
|
-
* Auto-generated: indexLabel
|
|
71
|
-
*/
|
|
72
|
-
indexLabel(requestParameters?: IndexLabelOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PaginatedLabelListResourceResponse>;
|
|
73
|
-
/**
|
|
74
|
-
* Creates request options for showLabel without sending the request
|
|
75
|
-
*/
|
|
76
|
-
showLabelRequestOpts(requestParameters: ShowLabelRequest): Promise<runtime.RequestOpts>;
|
|
77
|
-
/**
|
|
78
|
-
* Auto-generated: showLabel
|
|
79
|
-
*/
|
|
80
|
-
showLabelRaw(requestParameters: ShowLabelRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<LabelResource>>;
|
|
81
|
-
/**
|
|
82
|
-
* Auto-generated: showLabel
|
|
83
|
-
*/
|
|
84
|
-
showLabel(requestParameters: ShowLabelRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<LabelResource>;
|
|
85
|
-
/**
|
|
86
|
-
* Creates request options for storeLabel without sending the request
|
|
87
|
-
*/
|
|
88
|
-
storeLabelRequestOpts(requestParameters: StoreLabelOperationRequest): Promise<runtime.RequestOpts>;
|
|
89
|
-
/**
|
|
90
|
-
* Auto-generated: storeLabel
|
|
91
|
-
*/
|
|
92
|
-
storeLabelRaw(requestParameters: StoreLabelOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<LabelResource>>;
|
|
93
|
-
/**
|
|
94
|
-
* Auto-generated: storeLabel
|
|
95
|
-
*/
|
|
96
|
-
storeLabel(requestParameters?: StoreLabelOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<LabelResource>;
|
|
97
|
-
/**
|
|
98
|
-
* Creates request options for updateLabel without sending the request
|
|
99
|
-
*/
|
|
100
|
-
updateLabelRequestOpts(requestParameters: UpdateLabelOperationRequest): Promise<runtime.RequestOpts>;
|
|
101
|
-
/**
|
|
102
|
-
* Auto-generated: updateLabel
|
|
103
|
-
*/
|
|
104
|
-
updateLabelRaw(requestParameters: UpdateLabelOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<LabelResource>>;
|
|
105
|
-
/**
|
|
106
|
-
* Auto-generated: updateLabel
|
|
107
|
-
*/
|
|
108
|
-
updateLabel(requestParameters: UpdateLabelOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<LabelResource>;
|
|
109
|
-
}
|