@digital8/lighting-illusions-ts-sdk 0.0.1413 → 0.0.1415
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +20 -90
- package/README.md +18 -64
- package/dist/apis/AttributeApi.d.ts +1 -16
- package/dist/apis/AttributeApi.js +0 -58
- package/dist/apis/LabelApi.d.ts +109 -0
- package/dist/apis/LabelApi.js +433 -0
- package/dist/apis/ProductApi.js +1 -1
- package/dist/apis/index.d.ts +1 -1
- package/dist/apis/index.js +1 -1
- package/dist/models/AssetLiteResource.d.ts +0 -12
- package/dist/models/AssetLiteResource.js +0 -6
- package/dist/models/AttachDocumentablesDocumentRequestDocumentablesInner.d.ts +1 -2
- package/dist/models/AttachDocumentablesDocumentRequestDocumentablesInner.js +1 -2
- package/dist/models/DetachDocumentablesDocumentRequestDocumentablesInner.d.ts +1 -2
- package/dist/models/DetachDocumentablesDocumentRequestDocumentablesInner.js +1 -2
- package/dist/models/ExternalApiLogResource.d.ts +1 -1
- package/dist/models/ExternalApiLogResource.js +1 -3
- package/dist/models/GetAllDocumentRequest.d.ts +1 -2
- package/dist/models/GetAllDocumentRequest.js +1 -2
- package/dist/models/GetAllProductChildRequest.d.ts +0 -1
- package/dist/models/GetAllProductChildRequest.js +0 -1
- package/dist/models/IndexAttributeRequest.d.ts +0 -2
- package/dist/models/IndexAttributeRequest.js +1 -3
- package/dist/models/IndexDocumentRequest.d.ts +1 -2
- package/dist/models/IndexDocumentRequest.js +1 -2
- package/dist/models/IndexLabelRequest.d.ts +109 -0
- package/dist/models/{IndexProductRangeRequest.js → IndexLabelRequest.js} +29 -23
- package/dist/models/IndexProductChildRequest.d.ts +0 -1
- package/dist/models/IndexProductChildRequest.js +0 -1
- package/dist/models/LabelListResource.d.ts +75 -0
- package/dist/models/LabelListResource.js +74 -0
- package/dist/models/LabelListResourceArrayResponse.d.ts +33 -0
- package/dist/models/LabelListResourceArrayResponse.js +50 -0
- package/dist/models/LabelLiteResource.d.ts +56 -0
- package/dist/models/LabelLiteResource.js +65 -0
- package/dist/models/LabelLiteResourceArrayResponse.d.ts +33 -0
- package/dist/models/LabelLiteResourceArrayResponse.js +50 -0
- package/dist/models/LabelResource.d.ts +23 -4
- package/dist/models/LabelResource.js +19 -8
- package/dist/models/ModelAttributeResource.d.ts +0 -6
- package/dist/models/ModelAttributeResource.js +0 -2
- package/dist/models/PaginatedLabelListResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedLabelListResourceResponse.js +57 -0
- package/dist/models/ProductSearchResultResource.d.ts +1 -7
- package/dist/models/ProductSearchResultResource.js +3 -7
- package/dist/models/StoreAssetForAssetableRequest.d.ts +0 -3
- package/dist/models/StoreAssetForAssetableRequest.js +1 -4
- package/dist/models/StoreLabelRequest.d.ts +74 -0
- package/dist/models/StoreLabelRequest.js +71 -0
- package/dist/models/UpdateLabelRequest.d.ts +74 -0
- package/dist/models/UpdateLabelRequest.js +63 -0
- package/dist/models/UpdateProductTypeRequest.d.ts +9 -9
- package/dist/models/UpdateProductTypeRequest.js +9 -9
- package/dist/models/UpdateProductTypeRequestPerformanceValuesInner.d.ts +38 -0
- package/dist/models/UpdateProductTypeRequestPerformanceValuesInner.js +51 -0
- package/dist/models/index.d.ts +9 -44
- package/dist/models/index.js +9 -44
- package/docs/AssetLiteResource.md +0 -4
- package/docs/AttributeApi.md +0 -66
- package/docs/{IndexModelAttributeRequest.md → IndexLabelRequest.md} +6 -10
- package/docs/LabelApi.md +407 -0
- package/docs/{ProductRangeFrontendListResource.md → LabelListResource.md} +18 -14
- package/docs/{ProductRangeResourceArrayResponse.md → LabelListResourceArrayResponse.md} +5 -5
- package/docs/{ProductRangeSiteDetailLiteResource.md → LabelLiteResource.md} +12 -8
- package/docs/{ProductRangeLiteResource.md → LabelLiteResourceArrayResponse.md} +6 -8
- package/docs/LabelResource.md +12 -6
- package/docs/ModelAttributeResource.md +0 -2
- package/docs/{PaginatedProductRangeResourceResponse.md → PaginatedLabelListResourceResponse.md} +5 -5
- package/docs/ProductApi.md +1 -1
- package/docs/ProductSearchResultResource.md +2 -4
- package/docs/{AttachDocumentsProductRangeRequest.md → StoreLabelRequest.md} +20 -6
- package/docs/{ProductRangeSortBy.md → UpdateLabelRequest.md} +20 -4
- package/docs/UpdateProductTypeRequest.md +4 -4
- package/docs/{UpdateProductRangeRequestAttributesInner.md → UpdateProductTypeRequestPerformanceValuesInner.md} +4 -4
- package/package.json +1 -1
- package/src/apis/AttributeApi.ts +0 -50
- package/src/apis/LabelApi.ts +328 -0
- package/src/apis/ProductApi.ts +1 -1
- package/src/apis/index.ts +1 -1
- package/src/models/AssetLiteResource.ts +0 -17
- package/src/models/AttachDocumentablesDocumentRequestDocumentablesInner.ts +1 -2
- package/src/models/DetachDocumentablesDocumentRequestDocumentablesInner.ts +1 -2
- package/src/models/ExternalApiLogResource.ts +2 -3
- package/src/models/GetAllDocumentRequest.ts +1 -2
- package/src/models/GetAllProductChildRequest.ts +0 -1
- package/src/models/IndexAttributeRequest.ts +1 -3
- package/src/models/IndexDocumentRequest.ts +1 -2
- package/src/models/IndexLabelRequest.ts +163 -0
- package/src/models/IndexProductChildRequest.ts +0 -1
- package/src/models/LabelListResource.ts +134 -0
- package/src/models/LabelListResourceArrayResponse.ts +73 -0
- package/src/models/LabelLiteResource.ts +101 -0
- package/src/models/LabelLiteResourceArrayResponse.ts +73 -0
- package/src/models/LabelResource.ts +46 -12
- package/src/models/ModelAttributeResource.ts +0 -8
- package/src/models/PaginatedLabelListResourceResponse.ts +90 -0
- package/src/models/ProductSearchResultResource.ts +4 -13
- package/src/models/StoreAssetForAssetableRequest.ts +1 -4
- package/src/models/StoreLabelRequest.ts +125 -0
- package/src/models/UpdateLabelRequest.ts +121 -0
- package/src/models/UpdateProductTypeRequest.ts +22 -22
- package/src/models/UpdateProductTypeRequestPerformanceValuesInner.ts +73 -0
- package/src/models/index.ts +9 -44
- package/dist/apis/ProductRangeApi.d.ts +0 -269
- package/dist/apis/ProductRangeApi.js +0 -1043
- package/dist/models/AttachAccessoriesProductRangeRequest.d.ts +0 -32
- package/dist/models/AttachAccessoriesProductRangeRequest.js +0 -51
- package/dist/models/AttachAttributesProductRangeRequest.d.ts +0 -33
- package/dist/models/AttachAttributesProductRangeRequest.js +0 -52
- package/dist/models/AttachAttributesProductRangeRequestAttributesInner.d.ts +0 -38
- package/dist/models/AttachAttributesProductRangeRequestAttributesInner.js +0 -53
- package/dist/models/AttachDocumentsProductRangeRequest.d.ts +0 -33
- package/dist/models/AttachDocumentsProductRangeRequest.js +0 -52
- package/dist/models/DetachAccessoriesProductRangeRequest.d.ts +0 -32
- package/dist/models/DetachAccessoriesProductRangeRequest.js +0 -51
- package/dist/models/DetachAttributesProductRangeRequest.d.ts +0 -32
- package/dist/models/DetachAttributesProductRangeRequest.js +0 -51
- package/dist/models/DetachDocumentsProductRangeRequest.d.ts +0 -32
- package/dist/models/DetachDocumentsProductRangeRequest.js +0 -51
- package/dist/models/GetAllProductRangeRequest.d.ts +0 -98
- package/dist/models/GetAllProductRangeRequest.js +0 -82
- package/dist/models/IndexModelAttributeRequest.d.ts +0 -118
- package/dist/models/IndexModelAttributeRequest.js +0 -93
- package/dist/models/IndexProductRangeRequest.d.ts +0 -110
- package/dist/models/ModelAttributeListResource.d.ts +0 -64
- package/dist/models/ModelAttributeListResource.js +0 -71
- package/dist/models/ModelAttributeListResourceArrayResponse.d.ts +0 -33
- package/dist/models/ModelAttributeListResourceArrayResponse.js +0 -50
- package/dist/models/PaginatedModelAttributeListResourceResponse.d.ts +0 -40
- package/dist/models/PaginatedModelAttributeListResourceResponse.js +0 -57
- package/dist/models/PaginatedProductRangeFrontendListResourceResponse.d.ts +0 -40
- package/dist/models/PaginatedProductRangeFrontendListResourceResponse.js +0 -57
- package/dist/models/PaginatedProductRangeListResourceResponse.d.ts +0 -40
- package/dist/models/PaginatedProductRangeListResourceResponse.js +0 -57
- package/dist/models/PaginatedProductRangeLiteResourceResponse.d.ts +0 -40
- package/dist/models/PaginatedProductRangeLiteResourceResponse.js +0 -57
- package/dist/models/PaginatedProductRangeResourceResponse.d.ts +0 -40
- package/dist/models/PaginatedProductRangeResourceResponse.js +0 -57
- package/dist/models/PaginatedProductRangeSearchResultResourceResponse.d.ts +0 -40
- package/dist/models/PaginatedProductRangeSearchResultResourceResponse.js +0 -57
- package/dist/models/ProductRangeAggregationResource.d.ts +0 -44
- package/dist/models/ProductRangeAggregationResource.js +0 -59
- package/dist/models/ProductRangeAggregationResourceArrayResponse.d.ts +0 -33
- package/dist/models/ProductRangeAggregationResourceArrayResponse.js +0 -50
- package/dist/models/ProductRangeFrontendListResource.d.ts +0 -62
- package/dist/models/ProductRangeFrontendListResource.js +0 -71
- package/dist/models/ProductRangeFrontendListResourceArrayResponse.d.ts +0 -33
- package/dist/models/ProductRangeFrontendListResourceArrayResponse.js +0 -50
- package/dist/models/ProductRangeFrontendResource.d.ts +0 -117
- package/dist/models/ProductRangeFrontendResource.js +0 -106
- package/dist/models/ProductRangeFrontendResourceArrayResponse.d.ts +0 -33
- package/dist/models/ProductRangeFrontendResourceArrayResponse.js +0 -50
- package/dist/models/ProductRangeListResource.d.ts +0 -66
- package/dist/models/ProductRangeListResource.js +0 -75
- package/dist/models/ProductRangeListResourceArrayResponse.d.ts +0 -33
- package/dist/models/ProductRangeListResourceArrayResponse.js +0 -50
- package/dist/models/ProductRangeLiteResource.d.ts +0 -38
- package/dist/models/ProductRangeLiteResource.js +0 -55
- package/dist/models/ProductRangeLiteResourceArrayResponse.d.ts +0 -33
- package/dist/models/ProductRangeLiteResourceArrayResponse.js +0 -50
- package/dist/models/ProductRangeResource.d.ts +0 -89
- package/dist/models/ProductRangeResource.js +0 -86
- package/dist/models/ProductRangeResourceArrayResponse.d.ts +0 -33
- package/dist/models/ProductRangeResourceArrayResponse.js +0 -50
- package/dist/models/ProductRangeSearchResponseResource.d.ts +0 -47
- package/dist/models/ProductRangeSearchResponseResource.js +0 -62
- package/dist/models/ProductRangeSearchResponseResourceArrayResponse.d.ts +0 -33
- package/dist/models/ProductRangeSearchResponseResourceArrayResponse.js +0 -50
- package/dist/models/ProductRangeSearchResponseResourceMeta.d.ts +0 -50
- package/dist/models/ProductRangeSearchResponseResourceMeta.js +0 -63
- package/dist/models/ProductRangeSearchResultResource.d.ts +0 -80
- package/dist/models/ProductRangeSearchResultResource.js +0 -83
- package/dist/models/ProductRangeSearchResultResourceArrayResponse.d.ts +0 -33
- package/dist/models/ProductRangeSearchResultResourceArrayResponse.js +0 -50
- package/dist/models/ProductRangeSiteDetailLiteResource.d.ts +0 -44
- package/dist/models/ProductRangeSiteDetailLiteResource.js +0 -59
- package/dist/models/ProductRangeSiteDetailLiteResourceArrayResponse.d.ts +0 -33
- package/dist/models/ProductRangeSiteDetailLiteResourceArrayResponse.js +0 -50
- package/dist/models/ProductRangeSiteDetailResource.d.ts +0 -101
- package/dist/models/ProductRangeSiteDetailResource.js +0 -98
- package/dist/models/ProductRangeSiteDetailResourceArrayResponse.d.ts +0 -33
- package/dist/models/ProductRangeSiteDetailResourceArrayResponse.js +0 -50
- package/dist/models/ProductRangeSortBy.d.ts +0 -27
- package/dist/models/ProductRangeSortBy.js +0 -53
- package/dist/models/StoreProductRangeRequest.d.ts +0 -52
- package/dist/models/StoreProductRangeRequest.js +0 -59
- package/dist/models/StoreProductRangeRequestSitesInner.d.ts +0 -92
- package/dist/models/StoreProductRangeRequestSitesInner.js +0 -75
- package/dist/models/UpdateProductRangeRequest.d.ts +0 -59
- package/dist/models/UpdateProductRangeRequest.js +0 -62
- package/dist/models/UpdateProductRangeRequestAttributesInner.d.ts +0 -38
- package/dist/models/UpdateProductRangeRequestAttributesInner.js +0 -51
- package/docs/AttachAccessoriesProductRangeRequest.md +0 -34
- package/docs/AttachAttributesProductRangeRequest.md +0 -34
- package/docs/AttachAttributesProductRangeRequestAttributesInner.md +0 -36
- package/docs/DetachAccessoriesProductRangeRequest.md +0 -34
- package/docs/DetachAttributesProductRangeRequest.md +0 -34
- package/docs/DetachDocumentsProductRangeRequest.md +0 -34
- package/docs/GetAllProductRangeRequest.md +0 -50
- package/docs/IndexProductRangeRequest.md +0 -54
- package/docs/ModelAttributeListResource.md +0 -44
- package/docs/ModelAttributeListResourceArrayResponse.md +0 -34
- package/docs/PaginatedModelAttributeListResourceResponse.md +0 -36
- package/docs/PaginatedProductRangeFrontendListResourceResponse.md +0 -36
- package/docs/PaginatedProductRangeListResourceResponse.md +0 -36
- package/docs/PaginatedProductRangeLiteResourceResponse.md +0 -36
- package/docs/PaginatedProductRangeSearchResultResourceResponse.md +0 -36
- package/docs/ProductRangeAggregationResource.md +0 -38
- package/docs/ProductRangeAggregationResourceArrayResponse.md +0 -34
- package/docs/ProductRangeApi.md +0 -1097
- package/docs/ProductRangeFrontendListResourceArrayResponse.md +0 -34
- package/docs/ProductRangeFrontendResource.md +0 -62
- package/docs/ProductRangeFrontendResourceArrayResponse.md +0 -34
- package/docs/ProductRangeListResource.md +0 -44
- package/docs/ProductRangeListResourceArrayResponse.md +0 -34
- package/docs/ProductRangeLiteResourceArrayResponse.md +0 -34
- package/docs/ProductRangeResource.md +0 -52
- package/docs/ProductRangeSearchResponseResource.md +0 -38
- package/docs/ProductRangeSearchResponseResourceArrayResponse.md +0 -34
- package/docs/ProductRangeSearchResponseResourceMeta.md +0 -40
- package/docs/ProductRangeSearchResultResource.md +0 -50
- package/docs/ProductRangeSearchResultResourceArrayResponse.md +0 -34
- package/docs/ProductRangeSiteDetailLiteResourceArrayResponse.md +0 -34
- package/docs/ProductRangeSiteDetailResource.md +0 -56
- package/docs/ProductRangeSiteDetailResourceArrayResponse.md +0 -34
- package/docs/StoreProductRangeRequest.md +0 -40
- package/docs/StoreProductRangeRequestSitesInner.md +0 -54
- package/docs/UpdateProductRangeRequest.md +0 -42
- package/src/apis/ProductRangeApi.ts +0 -888
- package/src/models/AttachAccessoriesProductRangeRequest.ts +0 -66
- package/src/models/AttachAttributesProductRangeRequest.ts +0 -74
- package/src/models/AttachAttributesProductRangeRequestAttributesInner.ts +0 -74
- package/src/models/AttachDocumentsProductRangeRequest.ts +0 -74
- package/src/models/DetachAccessoriesProductRangeRequest.ts +0 -66
- package/src/models/DetachAttributesProductRangeRequest.ts +0 -66
- package/src/models/DetachDocumentsProductRangeRequest.ts +0 -66
- package/src/models/GetAllProductRangeRequest.ts +0 -151
- package/src/models/IndexModelAttributeRequest.ts +0 -176
- package/src/models/IndexProductRangeRequest.ts +0 -167
- package/src/models/ModelAttributeListResource.ts +0 -125
- package/src/models/ModelAttributeListResourceArrayResponse.ts +0 -73
- package/src/models/PaginatedModelAttributeListResourceResponse.ts +0 -90
- package/src/models/PaginatedProductRangeFrontendListResourceResponse.ts +0 -90
- package/src/models/PaginatedProductRangeListResourceResponse.ts +0 -90
- package/src/models/PaginatedProductRangeLiteResourceResponse.ts +0 -90
- package/src/models/PaginatedProductRangeResourceResponse.ts +0 -90
- package/src/models/PaginatedProductRangeSearchResultResourceResponse.ts +0 -90
- package/src/models/ProductRangeAggregationResource.ts +0 -84
- package/src/models/ProductRangeAggregationResourceArrayResponse.ts +0 -73
- package/src/models/ProductRangeFrontendListResource.ts +0 -111
- package/src/models/ProductRangeFrontendListResourceArrayResponse.ts +0 -73
- package/src/models/ProductRangeFrontendResource.ts +0 -199
- package/src/models/ProductRangeFrontendResourceArrayResponse.ts +0 -73
- package/src/models/ProductRangeListResource.ts +0 -140
- package/src/models/ProductRangeListResourceArrayResponse.ts +0 -73
- package/src/models/ProductRangeLiteResource.ts +0 -75
- package/src/models/ProductRangeLiteResourceArrayResponse.ts +0 -73
- package/src/models/ProductRangeResource.ts +0 -167
- package/src/models/ProductRangeResourceArrayResponse.ts +0 -73
- package/src/models/ProductRangeSearchResponseResource.ts +0 -106
- package/src/models/ProductRangeSearchResponseResourceArrayResponse.ts +0 -73
- package/src/models/ProductRangeSearchResponseResourceMeta.ts +0 -93
- package/src/models/ProductRangeSearchResultResource.ts +0 -138
- package/src/models/ProductRangeSearchResultResourceArrayResponse.ts +0 -73
- package/src/models/ProductRangeSiteDetailLiteResource.ts +0 -84
- package/src/models/ProductRangeSiteDetailLiteResourceArrayResponse.ts +0 -73
- package/src/models/ProductRangeSiteDetailResource.ts +0 -187
- package/src/models/ProductRangeSiteDetailResourceArrayResponse.ts +0 -73
- package/src/models/ProductRangeSortBy.ts +0 -55
- package/src/models/StoreProductRangeRequest.ts +0 -105
- package/src/models/StoreProductRangeRequestSitesInner.ts +0 -148
- package/src/models/UpdateProductRangeRequest.ts +0 -120
- package/src/models/UpdateProductRangeRequestAttributesInner.ts +0 -73
|
@@ -1,888 +0,0 @@
|
|
|
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
|
-
|
|
16
|
-
import * as runtime from '../runtime';
|
|
17
|
-
import type {
|
|
18
|
-
AttachAccessoriesProductRangeRequest,
|
|
19
|
-
AttachAttributesProductRangeRequest,
|
|
20
|
-
AttachDocumentsProductRangeRequest,
|
|
21
|
-
DetachAccessoriesProductRangeRequest,
|
|
22
|
-
DetachAttributesProductRangeRequest,
|
|
23
|
-
DetachDocumentsProductRangeRequest,
|
|
24
|
-
GenericResponse,
|
|
25
|
-
GetAllProductRangeRequest,
|
|
26
|
-
IndexProductChildRequest,
|
|
27
|
-
IndexProductRangeRequest,
|
|
28
|
-
PaginatedProductChildListResourceResponse,
|
|
29
|
-
PaginatedProductRangeListResourceResponse,
|
|
30
|
-
ProductRangeLiteResourceArrayResponse,
|
|
31
|
-
ProductRangeResource,
|
|
32
|
-
StoreProductRangeRequest,
|
|
33
|
-
UpdateProductRangeRequest,
|
|
34
|
-
} from '../models/index';
|
|
35
|
-
import {
|
|
36
|
-
AttachAccessoriesProductRangeRequestFromJSON,
|
|
37
|
-
AttachAccessoriesProductRangeRequestToJSON,
|
|
38
|
-
AttachAttributesProductRangeRequestFromJSON,
|
|
39
|
-
AttachAttributesProductRangeRequestToJSON,
|
|
40
|
-
AttachDocumentsProductRangeRequestFromJSON,
|
|
41
|
-
AttachDocumentsProductRangeRequestToJSON,
|
|
42
|
-
DetachAccessoriesProductRangeRequestFromJSON,
|
|
43
|
-
DetachAccessoriesProductRangeRequestToJSON,
|
|
44
|
-
DetachAttributesProductRangeRequestFromJSON,
|
|
45
|
-
DetachAttributesProductRangeRequestToJSON,
|
|
46
|
-
DetachDocumentsProductRangeRequestFromJSON,
|
|
47
|
-
DetachDocumentsProductRangeRequestToJSON,
|
|
48
|
-
GenericResponseFromJSON,
|
|
49
|
-
GenericResponseToJSON,
|
|
50
|
-
GetAllProductRangeRequestFromJSON,
|
|
51
|
-
GetAllProductRangeRequestToJSON,
|
|
52
|
-
IndexProductChildRequestFromJSON,
|
|
53
|
-
IndexProductChildRequestToJSON,
|
|
54
|
-
IndexProductRangeRequestFromJSON,
|
|
55
|
-
IndexProductRangeRequestToJSON,
|
|
56
|
-
PaginatedProductChildListResourceResponseFromJSON,
|
|
57
|
-
PaginatedProductChildListResourceResponseToJSON,
|
|
58
|
-
PaginatedProductRangeListResourceResponseFromJSON,
|
|
59
|
-
PaginatedProductRangeListResourceResponseToJSON,
|
|
60
|
-
ProductRangeLiteResourceArrayResponseFromJSON,
|
|
61
|
-
ProductRangeLiteResourceArrayResponseToJSON,
|
|
62
|
-
ProductRangeResourceFromJSON,
|
|
63
|
-
ProductRangeResourceToJSON,
|
|
64
|
-
StoreProductRangeRequestFromJSON,
|
|
65
|
-
StoreProductRangeRequestToJSON,
|
|
66
|
-
UpdateProductRangeRequestFromJSON,
|
|
67
|
-
UpdateProductRangeRequestToJSON,
|
|
68
|
-
} from '../models/index';
|
|
69
|
-
|
|
70
|
-
export interface AttachAccessoriesProductRangeOperationRequest {
|
|
71
|
-
productRange: number;
|
|
72
|
-
attachAccessoriesProductRangeRequest?: AttachAccessoriesProductRangeRequest;
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
export interface AttachAttributesProductRangeOperationRequest {
|
|
76
|
-
productRange: number;
|
|
77
|
-
attachAttributesProductRangeRequest?: AttachAttributesProductRangeRequest;
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
export interface AttachDocumentsProductRangeOperationRequest {
|
|
81
|
-
productRange: number;
|
|
82
|
-
attachDocumentsProductRangeRequest?: AttachDocumentsProductRangeRequest;
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
export interface AttachProductChildrenProductRangeRequest {
|
|
86
|
-
productRange: number;
|
|
87
|
-
attachAccessoriesProductRangeRequest?: AttachAccessoriesProductRangeRequest;
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
export interface DestroyProductRangeRequest {
|
|
91
|
-
productRange: number;
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
export interface DetachAccessoriesProductRangeOperationRequest {
|
|
95
|
-
productRange: number;
|
|
96
|
-
detachAccessoriesProductRangeRequest?: DetachAccessoriesProductRangeRequest;
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
export interface DetachAttributesProductRangeOperationRequest {
|
|
100
|
-
productRange: number;
|
|
101
|
-
detachAttributesProductRangeRequest?: DetachAttributesProductRangeRequest;
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
export interface DetachDocumentsProductRangeOperationRequest {
|
|
105
|
-
productRange: number;
|
|
106
|
-
detachDocumentsProductRangeRequest?: DetachDocumentsProductRangeRequest;
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
export interface DetachProductChildrenProductRangeRequest {
|
|
110
|
-
productRange: number;
|
|
111
|
-
detachAccessoriesProductRangeRequest?: DetachAccessoriesProductRangeRequest;
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
export interface GetAllProductRangeOperationRequest {
|
|
115
|
-
getAllProductRangeRequest?: GetAllProductRangeRequest;
|
|
116
|
-
}
|
|
117
|
-
|
|
118
|
-
export interface IndexProductRangeOperationRequest {
|
|
119
|
-
indexProductRangeRequest?: IndexProductRangeRequest;
|
|
120
|
-
}
|
|
121
|
-
|
|
122
|
-
export interface ListAccessoriesProductRangeRequest {
|
|
123
|
-
productRange: number;
|
|
124
|
-
indexProductChildRequest?: IndexProductChildRequest;
|
|
125
|
-
}
|
|
126
|
-
|
|
127
|
-
export interface ListProductsProductRangeRequest {
|
|
128
|
-
productRange: number;
|
|
129
|
-
indexProductChildRequest?: IndexProductChildRequest;
|
|
130
|
-
}
|
|
131
|
-
|
|
132
|
-
export interface ShowProductRangeRequest {
|
|
133
|
-
productRange: number;
|
|
134
|
-
}
|
|
135
|
-
|
|
136
|
-
export interface StoreProductRangeOperationRequest {
|
|
137
|
-
storeProductRangeRequest?: StoreProductRangeRequest;
|
|
138
|
-
}
|
|
139
|
-
|
|
140
|
-
export interface UpdateProductRangeOperationRequest {
|
|
141
|
-
productRange: number;
|
|
142
|
-
updateProductRangeRequest?: UpdateProductRangeRequest;
|
|
143
|
-
}
|
|
144
|
-
|
|
145
|
-
/**
|
|
146
|
-
*
|
|
147
|
-
*/
|
|
148
|
-
export class ProductRangeApi extends runtime.BaseAPI {
|
|
149
|
-
|
|
150
|
-
/**
|
|
151
|
-
* Creates request options for attachAccessoriesProductRange without sending the request
|
|
152
|
-
*/
|
|
153
|
-
async attachAccessoriesProductRangeRequestOpts(requestParameters: AttachAccessoriesProductRangeOperationRequest): Promise<runtime.RequestOpts> {
|
|
154
|
-
if (requestParameters['productRange'] == null) {
|
|
155
|
-
throw new runtime.RequiredError(
|
|
156
|
-
'productRange',
|
|
157
|
-
'Required parameter "productRange" was null or undefined when calling attachAccessoriesProductRange().'
|
|
158
|
-
);
|
|
159
|
-
}
|
|
160
|
-
|
|
161
|
-
const queryParameters: any = {};
|
|
162
|
-
|
|
163
|
-
const headerParameters: runtime.HTTPHeaders = {};
|
|
164
|
-
|
|
165
|
-
headerParameters['Content-Type'] = 'application/json';
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
let urlPath = `/admin-api/product-range/{productRange}/attach-accessories`;
|
|
169
|
-
urlPath = urlPath.replace(`{${"productRange"}}`, encodeURIComponent(String(requestParameters['productRange'])));
|
|
170
|
-
|
|
171
|
-
return {
|
|
172
|
-
path: urlPath,
|
|
173
|
-
method: 'POST',
|
|
174
|
-
headers: headerParameters,
|
|
175
|
-
query: queryParameters,
|
|
176
|
-
body: AttachAccessoriesProductRangeRequestToJSON(requestParameters['attachAccessoriesProductRangeRequest']),
|
|
177
|
-
};
|
|
178
|
-
}
|
|
179
|
-
|
|
180
|
-
/**
|
|
181
|
-
* Auto-generated: attachAccessoriesProductRange
|
|
182
|
-
*/
|
|
183
|
-
async attachAccessoriesProductRangeRaw(requestParameters: AttachAccessoriesProductRangeOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ProductRangeResource>> {
|
|
184
|
-
const requestOptions = await this.attachAccessoriesProductRangeRequestOpts(requestParameters);
|
|
185
|
-
const response = await this.request(requestOptions, initOverrides);
|
|
186
|
-
|
|
187
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => ProductRangeResourceFromJSON(jsonValue));
|
|
188
|
-
}
|
|
189
|
-
|
|
190
|
-
/**
|
|
191
|
-
* Auto-generated: attachAccessoriesProductRange
|
|
192
|
-
*/
|
|
193
|
-
async attachAccessoriesProductRange(requestParameters: AttachAccessoriesProductRangeOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ProductRangeResource> {
|
|
194
|
-
const response = await this.attachAccessoriesProductRangeRaw(requestParameters, initOverrides);
|
|
195
|
-
return await response.value();
|
|
196
|
-
}
|
|
197
|
-
|
|
198
|
-
/**
|
|
199
|
-
* Creates request options for attachAttributesProductRange without sending the request
|
|
200
|
-
*/
|
|
201
|
-
async attachAttributesProductRangeRequestOpts(requestParameters: AttachAttributesProductRangeOperationRequest): Promise<runtime.RequestOpts> {
|
|
202
|
-
if (requestParameters['productRange'] == null) {
|
|
203
|
-
throw new runtime.RequiredError(
|
|
204
|
-
'productRange',
|
|
205
|
-
'Required parameter "productRange" was null or undefined when calling attachAttributesProductRange().'
|
|
206
|
-
);
|
|
207
|
-
}
|
|
208
|
-
|
|
209
|
-
const queryParameters: any = {};
|
|
210
|
-
|
|
211
|
-
const headerParameters: runtime.HTTPHeaders = {};
|
|
212
|
-
|
|
213
|
-
headerParameters['Content-Type'] = 'application/json';
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
let urlPath = `/admin-api/product-range/{productRange}/attach-attributes`;
|
|
217
|
-
urlPath = urlPath.replace(`{${"productRange"}}`, encodeURIComponent(String(requestParameters['productRange'])));
|
|
218
|
-
|
|
219
|
-
return {
|
|
220
|
-
path: urlPath,
|
|
221
|
-
method: 'POST',
|
|
222
|
-
headers: headerParameters,
|
|
223
|
-
query: queryParameters,
|
|
224
|
-
body: AttachAttributesProductRangeRequestToJSON(requestParameters['attachAttributesProductRangeRequest']),
|
|
225
|
-
};
|
|
226
|
-
}
|
|
227
|
-
|
|
228
|
-
/**
|
|
229
|
-
* Auto-generated: attachAttributesProductRange
|
|
230
|
-
*/
|
|
231
|
-
async attachAttributesProductRangeRaw(requestParameters: AttachAttributesProductRangeOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ProductRangeResource>> {
|
|
232
|
-
const requestOptions = await this.attachAttributesProductRangeRequestOpts(requestParameters);
|
|
233
|
-
const response = await this.request(requestOptions, initOverrides);
|
|
234
|
-
|
|
235
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => ProductRangeResourceFromJSON(jsonValue));
|
|
236
|
-
}
|
|
237
|
-
|
|
238
|
-
/**
|
|
239
|
-
* Auto-generated: attachAttributesProductRange
|
|
240
|
-
*/
|
|
241
|
-
async attachAttributesProductRange(requestParameters: AttachAttributesProductRangeOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ProductRangeResource> {
|
|
242
|
-
const response = await this.attachAttributesProductRangeRaw(requestParameters, initOverrides);
|
|
243
|
-
return await response.value();
|
|
244
|
-
}
|
|
245
|
-
|
|
246
|
-
/**
|
|
247
|
-
* Creates request options for attachDocumentsProductRange without sending the request
|
|
248
|
-
*/
|
|
249
|
-
async attachDocumentsProductRangeRequestOpts(requestParameters: AttachDocumentsProductRangeOperationRequest): Promise<runtime.RequestOpts> {
|
|
250
|
-
if (requestParameters['productRange'] == null) {
|
|
251
|
-
throw new runtime.RequiredError(
|
|
252
|
-
'productRange',
|
|
253
|
-
'Required parameter "productRange" was null or undefined when calling attachDocumentsProductRange().'
|
|
254
|
-
);
|
|
255
|
-
}
|
|
256
|
-
|
|
257
|
-
const queryParameters: any = {};
|
|
258
|
-
|
|
259
|
-
const headerParameters: runtime.HTTPHeaders = {};
|
|
260
|
-
|
|
261
|
-
headerParameters['Content-Type'] = 'application/json';
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
let urlPath = `/admin-api/product-range/{productRange}/attach-documents`;
|
|
265
|
-
urlPath = urlPath.replace(`{${"productRange"}}`, encodeURIComponent(String(requestParameters['productRange'])));
|
|
266
|
-
|
|
267
|
-
return {
|
|
268
|
-
path: urlPath,
|
|
269
|
-
method: 'POST',
|
|
270
|
-
headers: headerParameters,
|
|
271
|
-
query: queryParameters,
|
|
272
|
-
body: AttachDocumentsProductRangeRequestToJSON(requestParameters['attachDocumentsProductRangeRequest']),
|
|
273
|
-
};
|
|
274
|
-
}
|
|
275
|
-
|
|
276
|
-
/**
|
|
277
|
-
* Auto-generated: attachDocumentsProductRange
|
|
278
|
-
*/
|
|
279
|
-
async attachDocumentsProductRangeRaw(requestParameters: AttachDocumentsProductRangeOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ProductRangeResource>> {
|
|
280
|
-
const requestOptions = await this.attachDocumentsProductRangeRequestOpts(requestParameters);
|
|
281
|
-
const response = await this.request(requestOptions, initOverrides);
|
|
282
|
-
|
|
283
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => ProductRangeResourceFromJSON(jsonValue));
|
|
284
|
-
}
|
|
285
|
-
|
|
286
|
-
/**
|
|
287
|
-
* Auto-generated: attachDocumentsProductRange
|
|
288
|
-
*/
|
|
289
|
-
async attachDocumentsProductRange(requestParameters: AttachDocumentsProductRangeOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ProductRangeResource> {
|
|
290
|
-
const response = await this.attachDocumentsProductRangeRaw(requestParameters, initOverrides);
|
|
291
|
-
return await response.value();
|
|
292
|
-
}
|
|
293
|
-
|
|
294
|
-
/**
|
|
295
|
-
* Creates request options for attachProductChildrenProductRange without sending the request
|
|
296
|
-
*/
|
|
297
|
-
async attachProductChildrenProductRangeRequestOpts(requestParameters: AttachProductChildrenProductRangeRequest): Promise<runtime.RequestOpts> {
|
|
298
|
-
if (requestParameters['productRange'] == null) {
|
|
299
|
-
throw new runtime.RequiredError(
|
|
300
|
-
'productRange',
|
|
301
|
-
'Required parameter "productRange" was null or undefined when calling attachProductChildrenProductRange().'
|
|
302
|
-
);
|
|
303
|
-
}
|
|
304
|
-
|
|
305
|
-
const queryParameters: any = {};
|
|
306
|
-
|
|
307
|
-
const headerParameters: runtime.HTTPHeaders = {};
|
|
308
|
-
|
|
309
|
-
headerParameters['Content-Type'] = 'application/json';
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
let urlPath = `/admin-api/product-range/{productRange}/attach-products`;
|
|
313
|
-
urlPath = urlPath.replace(`{${"productRange"}}`, encodeURIComponent(String(requestParameters['productRange'])));
|
|
314
|
-
|
|
315
|
-
return {
|
|
316
|
-
path: urlPath,
|
|
317
|
-
method: 'POST',
|
|
318
|
-
headers: headerParameters,
|
|
319
|
-
query: queryParameters,
|
|
320
|
-
body: AttachAccessoriesProductRangeRequestToJSON(requestParameters['attachAccessoriesProductRangeRequest']),
|
|
321
|
-
};
|
|
322
|
-
}
|
|
323
|
-
|
|
324
|
-
/**
|
|
325
|
-
* Auto-generated: attachProductChildrenProductRange
|
|
326
|
-
*/
|
|
327
|
-
async attachProductChildrenProductRangeRaw(requestParameters: AttachProductChildrenProductRangeRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ProductRangeResource>> {
|
|
328
|
-
const requestOptions = await this.attachProductChildrenProductRangeRequestOpts(requestParameters);
|
|
329
|
-
const response = await this.request(requestOptions, initOverrides);
|
|
330
|
-
|
|
331
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => ProductRangeResourceFromJSON(jsonValue));
|
|
332
|
-
}
|
|
333
|
-
|
|
334
|
-
/**
|
|
335
|
-
* Auto-generated: attachProductChildrenProductRange
|
|
336
|
-
*/
|
|
337
|
-
async attachProductChildrenProductRange(requestParameters: AttachProductChildrenProductRangeRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ProductRangeResource> {
|
|
338
|
-
const response = await this.attachProductChildrenProductRangeRaw(requestParameters, initOverrides);
|
|
339
|
-
return await response.value();
|
|
340
|
-
}
|
|
341
|
-
|
|
342
|
-
/**
|
|
343
|
-
* Creates request options for destroyProductRange without sending the request
|
|
344
|
-
*/
|
|
345
|
-
async destroyProductRangeRequestOpts(requestParameters: DestroyProductRangeRequest): Promise<runtime.RequestOpts> {
|
|
346
|
-
if (requestParameters['productRange'] == null) {
|
|
347
|
-
throw new runtime.RequiredError(
|
|
348
|
-
'productRange',
|
|
349
|
-
'Required parameter "productRange" was null or undefined when calling destroyProductRange().'
|
|
350
|
-
);
|
|
351
|
-
}
|
|
352
|
-
|
|
353
|
-
const queryParameters: any = {};
|
|
354
|
-
|
|
355
|
-
const headerParameters: runtime.HTTPHeaders = {};
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
let urlPath = `/admin-api/product-range/{productRange}/delete`;
|
|
359
|
-
urlPath = urlPath.replace(`{${"productRange"}}`, encodeURIComponent(String(requestParameters['productRange'])));
|
|
360
|
-
|
|
361
|
-
return {
|
|
362
|
-
path: urlPath,
|
|
363
|
-
method: 'DELETE',
|
|
364
|
-
headers: headerParameters,
|
|
365
|
-
query: queryParameters,
|
|
366
|
-
};
|
|
367
|
-
}
|
|
368
|
-
|
|
369
|
-
/**
|
|
370
|
-
* Auto-generated: destroyProductRange
|
|
371
|
-
*/
|
|
372
|
-
async destroyProductRangeRaw(requestParameters: DestroyProductRangeRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GenericResponse>> {
|
|
373
|
-
const requestOptions = await this.destroyProductRangeRequestOpts(requestParameters);
|
|
374
|
-
const response = await this.request(requestOptions, initOverrides);
|
|
375
|
-
|
|
376
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => GenericResponseFromJSON(jsonValue));
|
|
377
|
-
}
|
|
378
|
-
|
|
379
|
-
/**
|
|
380
|
-
* Auto-generated: destroyProductRange
|
|
381
|
-
*/
|
|
382
|
-
async destroyProductRange(requestParameters: DestroyProductRangeRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GenericResponse> {
|
|
383
|
-
const response = await this.destroyProductRangeRaw(requestParameters, initOverrides);
|
|
384
|
-
return await response.value();
|
|
385
|
-
}
|
|
386
|
-
|
|
387
|
-
/**
|
|
388
|
-
* Creates request options for detachAccessoriesProductRange without sending the request
|
|
389
|
-
*/
|
|
390
|
-
async detachAccessoriesProductRangeRequestOpts(requestParameters: DetachAccessoriesProductRangeOperationRequest): Promise<runtime.RequestOpts> {
|
|
391
|
-
if (requestParameters['productRange'] == null) {
|
|
392
|
-
throw new runtime.RequiredError(
|
|
393
|
-
'productRange',
|
|
394
|
-
'Required parameter "productRange" was null or undefined when calling detachAccessoriesProductRange().'
|
|
395
|
-
);
|
|
396
|
-
}
|
|
397
|
-
|
|
398
|
-
const queryParameters: any = {};
|
|
399
|
-
|
|
400
|
-
const headerParameters: runtime.HTTPHeaders = {};
|
|
401
|
-
|
|
402
|
-
headerParameters['Content-Type'] = 'application/json';
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
let urlPath = `/admin-api/product-range/{productRange}/detach-accessories`;
|
|
406
|
-
urlPath = urlPath.replace(`{${"productRange"}}`, encodeURIComponent(String(requestParameters['productRange'])));
|
|
407
|
-
|
|
408
|
-
return {
|
|
409
|
-
path: urlPath,
|
|
410
|
-
method: 'POST',
|
|
411
|
-
headers: headerParameters,
|
|
412
|
-
query: queryParameters,
|
|
413
|
-
body: DetachAccessoriesProductRangeRequestToJSON(requestParameters['detachAccessoriesProductRangeRequest']),
|
|
414
|
-
};
|
|
415
|
-
}
|
|
416
|
-
|
|
417
|
-
/**
|
|
418
|
-
* Auto-generated: detachAccessoriesProductRange
|
|
419
|
-
*/
|
|
420
|
-
async detachAccessoriesProductRangeRaw(requestParameters: DetachAccessoriesProductRangeOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ProductRangeResource>> {
|
|
421
|
-
const requestOptions = await this.detachAccessoriesProductRangeRequestOpts(requestParameters);
|
|
422
|
-
const response = await this.request(requestOptions, initOverrides);
|
|
423
|
-
|
|
424
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => ProductRangeResourceFromJSON(jsonValue));
|
|
425
|
-
}
|
|
426
|
-
|
|
427
|
-
/**
|
|
428
|
-
* Auto-generated: detachAccessoriesProductRange
|
|
429
|
-
*/
|
|
430
|
-
async detachAccessoriesProductRange(requestParameters: DetachAccessoriesProductRangeOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ProductRangeResource> {
|
|
431
|
-
const response = await this.detachAccessoriesProductRangeRaw(requestParameters, initOverrides);
|
|
432
|
-
return await response.value();
|
|
433
|
-
}
|
|
434
|
-
|
|
435
|
-
/**
|
|
436
|
-
* Creates request options for detachAttributesProductRange without sending the request
|
|
437
|
-
*/
|
|
438
|
-
async detachAttributesProductRangeRequestOpts(requestParameters: DetachAttributesProductRangeOperationRequest): Promise<runtime.RequestOpts> {
|
|
439
|
-
if (requestParameters['productRange'] == null) {
|
|
440
|
-
throw new runtime.RequiredError(
|
|
441
|
-
'productRange',
|
|
442
|
-
'Required parameter "productRange" was null or undefined when calling detachAttributesProductRange().'
|
|
443
|
-
);
|
|
444
|
-
}
|
|
445
|
-
|
|
446
|
-
const queryParameters: any = {};
|
|
447
|
-
|
|
448
|
-
const headerParameters: runtime.HTTPHeaders = {};
|
|
449
|
-
|
|
450
|
-
headerParameters['Content-Type'] = 'application/json';
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
let urlPath = `/admin-api/product-range/{productRange}/detach-attributes`;
|
|
454
|
-
urlPath = urlPath.replace(`{${"productRange"}}`, encodeURIComponent(String(requestParameters['productRange'])));
|
|
455
|
-
|
|
456
|
-
return {
|
|
457
|
-
path: urlPath,
|
|
458
|
-
method: 'POST',
|
|
459
|
-
headers: headerParameters,
|
|
460
|
-
query: queryParameters,
|
|
461
|
-
body: DetachAttributesProductRangeRequestToJSON(requestParameters['detachAttributesProductRangeRequest']),
|
|
462
|
-
};
|
|
463
|
-
}
|
|
464
|
-
|
|
465
|
-
/**
|
|
466
|
-
* Auto-generated: detachAttributesProductRange
|
|
467
|
-
*/
|
|
468
|
-
async detachAttributesProductRangeRaw(requestParameters: DetachAttributesProductRangeOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ProductRangeResource>> {
|
|
469
|
-
const requestOptions = await this.detachAttributesProductRangeRequestOpts(requestParameters);
|
|
470
|
-
const response = await this.request(requestOptions, initOverrides);
|
|
471
|
-
|
|
472
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => ProductRangeResourceFromJSON(jsonValue));
|
|
473
|
-
}
|
|
474
|
-
|
|
475
|
-
/**
|
|
476
|
-
* Auto-generated: detachAttributesProductRange
|
|
477
|
-
*/
|
|
478
|
-
async detachAttributesProductRange(requestParameters: DetachAttributesProductRangeOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ProductRangeResource> {
|
|
479
|
-
const response = await this.detachAttributesProductRangeRaw(requestParameters, initOverrides);
|
|
480
|
-
return await response.value();
|
|
481
|
-
}
|
|
482
|
-
|
|
483
|
-
/**
|
|
484
|
-
* Creates request options for detachDocumentsProductRange without sending the request
|
|
485
|
-
*/
|
|
486
|
-
async detachDocumentsProductRangeRequestOpts(requestParameters: DetachDocumentsProductRangeOperationRequest): Promise<runtime.RequestOpts> {
|
|
487
|
-
if (requestParameters['productRange'] == null) {
|
|
488
|
-
throw new runtime.RequiredError(
|
|
489
|
-
'productRange',
|
|
490
|
-
'Required parameter "productRange" was null or undefined when calling detachDocumentsProductRange().'
|
|
491
|
-
);
|
|
492
|
-
}
|
|
493
|
-
|
|
494
|
-
const queryParameters: any = {};
|
|
495
|
-
|
|
496
|
-
const headerParameters: runtime.HTTPHeaders = {};
|
|
497
|
-
|
|
498
|
-
headerParameters['Content-Type'] = 'application/json';
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
let urlPath = `/admin-api/product-range/{productRange}/detach-documents`;
|
|
502
|
-
urlPath = urlPath.replace(`{${"productRange"}}`, encodeURIComponent(String(requestParameters['productRange'])));
|
|
503
|
-
|
|
504
|
-
return {
|
|
505
|
-
path: urlPath,
|
|
506
|
-
method: 'POST',
|
|
507
|
-
headers: headerParameters,
|
|
508
|
-
query: queryParameters,
|
|
509
|
-
body: DetachDocumentsProductRangeRequestToJSON(requestParameters['detachDocumentsProductRangeRequest']),
|
|
510
|
-
};
|
|
511
|
-
}
|
|
512
|
-
|
|
513
|
-
/**
|
|
514
|
-
* Auto-generated: detachDocumentsProductRange
|
|
515
|
-
*/
|
|
516
|
-
async detachDocumentsProductRangeRaw(requestParameters: DetachDocumentsProductRangeOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ProductRangeResource>> {
|
|
517
|
-
const requestOptions = await this.detachDocumentsProductRangeRequestOpts(requestParameters);
|
|
518
|
-
const response = await this.request(requestOptions, initOverrides);
|
|
519
|
-
|
|
520
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => ProductRangeResourceFromJSON(jsonValue));
|
|
521
|
-
}
|
|
522
|
-
|
|
523
|
-
/**
|
|
524
|
-
* Auto-generated: detachDocumentsProductRange
|
|
525
|
-
*/
|
|
526
|
-
async detachDocumentsProductRange(requestParameters: DetachDocumentsProductRangeOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ProductRangeResource> {
|
|
527
|
-
const response = await this.detachDocumentsProductRangeRaw(requestParameters, initOverrides);
|
|
528
|
-
return await response.value();
|
|
529
|
-
}
|
|
530
|
-
|
|
531
|
-
/**
|
|
532
|
-
* Creates request options for detachProductChildrenProductRange without sending the request
|
|
533
|
-
*/
|
|
534
|
-
async detachProductChildrenProductRangeRequestOpts(requestParameters: DetachProductChildrenProductRangeRequest): Promise<runtime.RequestOpts> {
|
|
535
|
-
if (requestParameters['productRange'] == null) {
|
|
536
|
-
throw new runtime.RequiredError(
|
|
537
|
-
'productRange',
|
|
538
|
-
'Required parameter "productRange" was null or undefined when calling detachProductChildrenProductRange().'
|
|
539
|
-
);
|
|
540
|
-
}
|
|
541
|
-
|
|
542
|
-
const queryParameters: any = {};
|
|
543
|
-
|
|
544
|
-
const headerParameters: runtime.HTTPHeaders = {};
|
|
545
|
-
|
|
546
|
-
headerParameters['Content-Type'] = 'application/json';
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
let urlPath = `/admin-api/product-range/{productRange}/detach-products`;
|
|
550
|
-
urlPath = urlPath.replace(`{${"productRange"}}`, encodeURIComponent(String(requestParameters['productRange'])));
|
|
551
|
-
|
|
552
|
-
return {
|
|
553
|
-
path: urlPath,
|
|
554
|
-
method: 'POST',
|
|
555
|
-
headers: headerParameters,
|
|
556
|
-
query: queryParameters,
|
|
557
|
-
body: DetachAccessoriesProductRangeRequestToJSON(requestParameters['detachAccessoriesProductRangeRequest']),
|
|
558
|
-
};
|
|
559
|
-
}
|
|
560
|
-
|
|
561
|
-
/**
|
|
562
|
-
* Auto-generated: detachProductChildrenProductRange
|
|
563
|
-
*/
|
|
564
|
-
async detachProductChildrenProductRangeRaw(requestParameters: DetachProductChildrenProductRangeRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ProductRangeResource>> {
|
|
565
|
-
const requestOptions = await this.detachProductChildrenProductRangeRequestOpts(requestParameters);
|
|
566
|
-
const response = await this.request(requestOptions, initOverrides);
|
|
567
|
-
|
|
568
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => ProductRangeResourceFromJSON(jsonValue));
|
|
569
|
-
}
|
|
570
|
-
|
|
571
|
-
/**
|
|
572
|
-
* Auto-generated: detachProductChildrenProductRange
|
|
573
|
-
*/
|
|
574
|
-
async detachProductChildrenProductRange(requestParameters: DetachProductChildrenProductRangeRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ProductRangeResource> {
|
|
575
|
-
const response = await this.detachProductChildrenProductRangeRaw(requestParameters, initOverrides);
|
|
576
|
-
return await response.value();
|
|
577
|
-
}
|
|
578
|
-
|
|
579
|
-
/**
|
|
580
|
-
* Creates request options for getAllProductRange without sending the request
|
|
581
|
-
*/
|
|
582
|
-
async getAllProductRangeRequestOpts(requestParameters: GetAllProductRangeOperationRequest): Promise<runtime.RequestOpts> {
|
|
583
|
-
const queryParameters: any = {};
|
|
584
|
-
|
|
585
|
-
const headerParameters: runtime.HTTPHeaders = {};
|
|
586
|
-
|
|
587
|
-
headerParameters['Content-Type'] = 'application/json';
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
let urlPath = `/admin-api/product-range/all`;
|
|
591
|
-
|
|
592
|
-
return {
|
|
593
|
-
path: urlPath,
|
|
594
|
-
method: 'POST',
|
|
595
|
-
headers: headerParameters,
|
|
596
|
-
query: queryParameters,
|
|
597
|
-
body: GetAllProductRangeRequestToJSON(requestParameters['getAllProductRangeRequest']),
|
|
598
|
-
};
|
|
599
|
-
}
|
|
600
|
-
|
|
601
|
-
/**
|
|
602
|
-
* Auto-generated: getAllProductRange
|
|
603
|
-
*/
|
|
604
|
-
async getAllProductRangeRaw(requestParameters: GetAllProductRangeOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ProductRangeLiteResourceArrayResponse>> {
|
|
605
|
-
const requestOptions = await this.getAllProductRangeRequestOpts(requestParameters);
|
|
606
|
-
const response = await this.request(requestOptions, initOverrides);
|
|
607
|
-
|
|
608
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => ProductRangeLiteResourceArrayResponseFromJSON(jsonValue));
|
|
609
|
-
}
|
|
610
|
-
|
|
611
|
-
/**
|
|
612
|
-
* Auto-generated: getAllProductRange
|
|
613
|
-
*/
|
|
614
|
-
async getAllProductRange(requestParameters: GetAllProductRangeOperationRequest = {}, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ProductRangeLiteResourceArrayResponse> {
|
|
615
|
-
const response = await this.getAllProductRangeRaw(requestParameters, initOverrides);
|
|
616
|
-
return await response.value();
|
|
617
|
-
}
|
|
618
|
-
|
|
619
|
-
/**
|
|
620
|
-
* Creates request options for indexProductRange without sending the request
|
|
621
|
-
*/
|
|
622
|
-
async indexProductRangeRequestOpts(requestParameters: IndexProductRangeOperationRequest): Promise<runtime.RequestOpts> {
|
|
623
|
-
const queryParameters: any = {};
|
|
624
|
-
|
|
625
|
-
const headerParameters: runtime.HTTPHeaders = {};
|
|
626
|
-
|
|
627
|
-
headerParameters['Content-Type'] = 'application/json';
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
let urlPath = `/admin-api/product-range/list`;
|
|
631
|
-
|
|
632
|
-
return {
|
|
633
|
-
path: urlPath,
|
|
634
|
-
method: 'POST',
|
|
635
|
-
headers: headerParameters,
|
|
636
|
-
query: queryParameters,
|
|
637
|
-
body: IndexProductRangeRequestToJSON(requestParameters['indexProductRangeRequest']),
|
|
638
|
-
};
|
|
639
|
-
}
|
|
640
|
-
|
|
641
|
-
/**
|
|
642
|
-
* Auto-generated: indexProductRange
|
|
643
|
-
*/
|
|
644
|
-
async indexProductRangeRaw(requestParameters: IndexProductRangeOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PaginatedProductRangeListResourceResponse>> {
|
|
645
|
-
const requestOptions = await this.indexProductRangeRequestOpts(requestParameters);
|
|
646
|
-
const response = await this.request(requestOptions, initOverrides);
|
|
647
|
-
|
|
648
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => PaginatedProductRangeListResourceResponseFromJSON(jsonValue));
|
|
649
|
-
}
|
|
650
|
-
|
|
651
|
-
/**
|
|
652
|
-
* Auto-generated: indexProductRange
|
|
653
|
-
*/
|
|
654
|
-
async indexProductRange(requestParameters: IndexProductRangeOperationRequest = {}, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PaginatedProductRangeListResourceResponse> {
|
|
655
|
-
const response = await this.indexProductRangeRaw(requestParameters, initOverrides);
|
|
656
|
-
return await response.value();
|
|
657
|
-
}
|
|
658
|
-
|
|
659
|
-
/**
|
|
660
|
-
* Creates request options for listAccessoriesProductRange without sending the request
|
|
661
|
-
*/
|
|
662
|
-
async listAccessoriesProductRangeRequestOpts(requestParameters: ListAccessoriesProductRangeRequest): Promise<runtime.RequestOpts> {
|
|
663
|
-
if (requestParameters['productRange'] == null) {
|
|
664
|
-
throw new runtime.RequiredError(
|
|
665
|
-
'productRange',
|
|
666
|
-
'Required parameter "productRange" was null or undefined when calling listAccessoriesProductRange().'
|
|
667
|
-
);
|
|
668
|
-
}
|
|
669
|
-
|
|
670
|
-
const queryParameters: any = {};
|
|
671
|
-
|
|
672
|
-
const headerParameters: runtime.HTTPHeaders = {};
|
|
673
|
-
|
|
674
|
-
headerParameters['Content-Type'] = 'application/json';
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
let urlPath = `/admin-api/product-range/{productRange}/accessory/list`;
|
|
678
|
-
urlPath = urlPath.replace(`{${"productRange"}}`, encodeURIComponent(String(requestParameters['productRange'])));
|
|
679
|
-
|
|
680
|
-
return {
|
|
681
|
-
path: urlPath,
|
|
682
|
-
method: 'POST',
|
|
683
|
-
headers: headerParameters,
|
|
684
|
-
query: queryParameters,
|
|
685
|
-
body: IndexProductChildRequestToJSON(requestParameters['indexProductChildRequest']),
|
|
686
|
-
};
|
|
687
|
-
}
|
|
688
|
-
|
|
689
|
-
/**
|
|
690
|
-
* Auto-generated: listAccessoriesProductRange
|
|
691
|
-
*/
|
|
692
|
-
async listAccessoriesProductRangeRaw(requestParameters: ListAccessoriesProductRangeRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PaginatedProductChildListResourceResponse>> {
|
|
693
|
-
const requestOptions = await this.listAccessoriesProductRangeRequestOpts(requestParameters);
|
|
694
|
-
const response = await this.request(requestOptions, initOverrides);
|
|
695
|
-
|
|
696
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => PaginatedProductChildListResourceResponseFromJSON(jsonValue));
|
|
697
|
-
}
|
|
698
|
-
|
|
699
|
-
/**
|
|
700
|
-
* Auto-generated: listAccessoriesProductRange
|
|
701
|
-
*/
|
|
702
|
-
async listAccessoriesProductRange(requestParameters: ListAccessoriesProductRangeRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PaginatedProductChildListResourceResponse> {
|
|
703
|
-
const response = await this.listAccessoriesProductRangeRaw(requestParameters, initOverrides);
|
|
704
|
-
return await response.value();
|
|
705
|
-
}
|
|
706
|
-
|
|
707
|
-
/**
|
|
708
|
-
* Creates request options for listProductsProductRange without sending the request
|
|
709
|
-
*/
|
|
710
|
-
async listProductsProductRangeRequestOpts(requestParameters: ListProductsProductRangeRequest): Promise<runtime.RequestOpts> {
|
|
711
|
-
if (requestParameters['productRange'] == null) {
|
|
712
|
-
throw new runtime.RequiredError(
|
|
713
|
-
'productRange',
|
|
714
|
-
'Required parameter "productRange" was null or undefined when calling listProductsProductRange().'
|
|
715
|
-
);
|
|
716
|
-
}
|
|
717
|
-
|
|
718
|
-
const queryParameters: any = {};
|
|
719
|
-
|
|
720
|
-
const headerParameters: runtime.HTTPHeaders = {};
|
|
721
|
-
|
|
722
|
-
headerParameters['Content-Type'] = 'application/json';
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
let urlPath = `/admin-api/product-range/{productRange}/product/list`;
|
|
726
|
-
urlPath = urlPath.replace(`{${"productRange"}}`, encodeURIComponent(String(requestParameters['productRange'])));
|
|
727
|
-
|
|
728
|
-
return {
|
|
729
|
-
path: urlPath,
|
|
730
|
-
method: 'POST',
|
|
731
|
-
headers: headerParameters,
|
|
732
|
-
query: queryParameters,
|
|
733
|
-
body: IndexProductChildRequestToJSON(requestParameters['indexProductChildRequest']),
|
|
734
|
-
};
|
|
735
|
-
}
|
|
736
|
-
|
|
737
|
-
/**
|
|
738
|
-
* Auto-generated: listProductsProductRange
|
|
739
|
-
*/
|
|
740
|
-
async listProductsProductRangeRaw(requestParameters: ListProductsProductRangeRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PaginatedProductChildListResourceResponse>> {
|
|
741
|
-
const requestOptions = await this.listProductsProductRangeRequestOpts(requestParameters);
|
|
742
|
-
const response = await this.request(requestOptions, initOverrides);
|
|
743
|
-
|
|
744
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => PaginatedProductChildListResourceResponseFromJSON(jsonValue));
|
|
745
|
-
}
|
|
746
|
-
|
|
747
|
-
/**
|
|
748
|
-
* Auto-generated: listProductsProductRange
|
|
749
|
-
*/
|
|
750
|
-
async listProductsProductRange(requestParameters: ListProductsProductRangeRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PaginatedProductChildListResourceResponse> {
|
|
751
|
-
const response = await this.listProductsProductRangeRaw(requestParameters, initOverrides);
|
|
752
|
-
return await response.value();
|
|
753
|
-
}
|
|
754
|
-
|
|
755
|
-
/**
|
|
756
|
-
* Creates request options for showProductRange without sending the request
|
|
757
|
-
*/
|
|
758
|
-
async showProductRangeRequestOpts(requestParameters: ShowProductRangeRequest): Promise<runtime.RequestOpts> {
|
|
759
|
-
if (requestParameters['productRange'] == null) {
|
|
760
|
-
throw new runtime.RequiredError(
|
|
761
|
-
'productRange',
|
|
762
|
-
'Required parameter "productRange" was null or undefined when calling showProductRange().'
|
|
763
|
-
);
|
|
764
|
-
}
|
|
765
|
-
|
|
766
|
-
const queryParameters: any = {};
|
|
767
|
-
|
|
768
|
-
const headerParameters: runtime.HTTPHeaders = {};
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
let urlPath = `/admin-api/product-range/{productRange}`;
|
|
772
|
-
urlPath = urlPath.replace(`{${"productRange"}}`, encodeURIComponent(String(requestParameters['productRange'])));
|
|
773
|
-
|
|
774
|
-
return {
|
|
775
|
-
path: urlPath,
|
|
776
|
-
method: 'GET',
|
|
777
|
-
headers: headerParameters,
|
|
778
|
-
query: queryParameters,
|
|
779
|
-
};
|
|
780
|
-
}
|
|
781
|
-
|
|
782
|
-
/**
|
|
783
|
-
* Auto-generated: showProductRange
|
|
784
|
-
*/
|
|
785
|
-
async showProductRangeRaw(requestParameters: ShowProductRangeRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ProductRangeResource>> {
|
|
786
|
-
const requestOptions = await this.showProductRangeRequestOpts(requestParameters);
|
|
787
|
-
const response = await this.request(requestOptions, initOverrides);
|
|
788
|
-
|
|
789
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => ProductRangeResourceFromJSON(jsonValue));
|
|
790
|
-
}
|
|
791
|
-
|
|
792
|
-
/**
|
|
793
|
-
* Auto-generated: showProductRange
|
|
794
|
-
*/
|
|
795
|
-
async showProductRange(requestParameters: ShowProductRangeRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ProductRangeResource> {
|
|
796
|
-
const response = await this.showProductRangeRaw(requestParameters, initOverrides);
|
|
797
|
-
return await response.value();
|
|
798
|
-
}
|
|
799
|
-
|
|
800
|
-
/**
|
|
801
|
-
* Creates request options for storeProductRange without sending the request
|
|
802
|
-
*/
|
|
803
|
-
async storeProductRangeRequestOpts(requestParameters: StoreProductRangeOperationRequest): Promise<runtime.RequestOpts> {
|
|
804
|
-
const queryParameters: any = {};
|
|
805
|
-
|
|
806
|
-
const headerParameters: runtime.HTTPHeaders = {};
|
|
807
|
-
|
|
808
|
-
headerParameters['Content-Type'] = 'application/json';
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
let urlPath = `/admin-api/product-range/create`;
|
|
812
|
-
|
|
813
|
-
return {
|
|
814
|
-
path: urlPath,
|
|
815
|
-
method: 'POST',
|
|
816
|
-
headers: headerParameters,
|
|
817
|
-
query: queryParameters,
|
|
818
|
-
body: StoreProductRangeRequestToJSON(requestParameters['storeProductRangeRequest']),
|
|
819
|
-
};
|
|
820
|
-
}
|
|
821
|
-
|
|
822
|
-
/**
|
|
823
|
-
* Auto-generated: storeProductRange
|
|
824
|
-
*/
|
|
825
|
-
async storeProductRangeRaw(requestParameters: StoreProductRangeOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ProductRangeResource>> {
|
|
826
|
-
const requestOptions = await this.storeProductRangeRequestOpts(requestParameters);
|
|
827
|
-
const response = await this.request(requestOptions, initOverrides);
|
|
828
|
-
|
|
829
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => ProductRangeResourceFromJSON(jsonValue));
|
|
830
|
-
}
|
|
831
|
-
|
|
832
|
-
/**
|
|
833
|
-
* Auto-generated: storeProductRange
|
|
834
|
-
*/
|
|
835
|
-
async storeProductRange(requestParameters: StoreProductRangeOperationRequest = {}, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ProductRangeResource> {
|
|
836
|
-
const response = await this.storeProductRangeRaw(requestParameters, initOverrides);
|
|
837
|
-
return await response.value();
|
|
838
|
-
}
|
|
839
|
-
|
|
840
|
-
/**
|
|
841
|
-
* Creates request options for updateProductRange without sending the request
|
|
842
|
-
*/
|
|
843
|
-
async updateProductRangeRequestOpts(requestParameters: UpdateProductRangeOperationRequest): Promise<runtime.RequestOpts> {
|
|
844
|
-
if (requestParameters['productRange'] == null) {
|
|
845
|
-
throw new runtime.RequiredError(
|
|
846
|
-
'productRange',
|
|
847
|
-
'Required parameter "productRange" was null or undefined when calling updateProductRange().'
|
|
848
|
-
);
|
|
849
|
-
}
|
|
850
|
-
|
|
851
|
-
const queryParameters: any = {};
|
|
852
|
-
|
|
853
|
-
const headerParameters: runtime.HTTPHeaders = {};
|
|
854
|
-
|
|
855
|
-
headerParameters['Content-Type'] = 'application/json';
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
let urlPath = `/admin-api/product-range/{productRange}/update`;
|
|
859
|
-
urlPath = urlPath.replace(`{${"productRange"}}`, encodeURIComponent(String(requestParameters['productRange'])));
|
|
860
|
-
|
|
861
|
-
return {
|
|
862
|
-
path: urlPath,
|
|
863
|
-
method: 'PUT',
|
|
864
|
-
headers: headerParameters,
|
|
865
|
-
query: queryParameters,
|
|
866
|
-
body: UpdateProductRangeRequestToJSON(requestParameters['updateProductRangeRequest']),
|
|
867
|
-
};
|
|
868
|
-
}
|
|
869
|
-
|
|
870
|
-
/**
|
|
871
|
-
* Auto-generated: updateProductRange
|
|
872
|
-
*/
|
|
873
|
-
async updateProductRangeRaw(requestParameters: UpdateProductRangeOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ProductRangeResource>> {
|
|
874
|
-
const requestOptions = await this.updateProductRangeRequestOpts(requestParameters);
|
|
875
|
-
const response = await this.request(requestOptions, initOverrides);
|
|
876
|
-
|
|
877
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => ProductRangeResourceFromJSON(jsonValue));
|
|
878
|
-
}
|
|
879
|
-
|
|
880
|
-
/**
|
|
881
|
-
* Auto-generated: updateProductRange
|
|
882
|
-
*/
|
|
883
|
-
async updateProductRange(requestParameters: UpdateProductRangeOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ProductRangeResource> {
|
|
884
|
-
const response = await this.updateProductRangeRaw(requestParameters, initOverrides);
|
|
885
|
-
return await response.value();
|
|
886
|
-
}
|
|
887
|
-
|
|
888
|
-
}
|