@saritasa/renewaire-frontend-sdk 0.185.0 → 0.186.0
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/README.md
CHANGED
|
@@ -855,6 +855,57 @@ class BombMaterialsApiService extends BaseService {
|
|
|
855
855
|
reportProgress: reportProgress,
|
|
856
856
|
});
|
|
857
857
|
}
|
|
858
|
+
materialsMoveMaterialLayer(requestParameters, observe = "body", reportProgress = false, options) {
|
|
859
|
+
const materialLayerId = requestParameters?.materialLayerId;
|
|
860
|
+
if (materialLayerId === null || materialLayerId === undefined) {
|
|
861
|
+
throw new Error("Required parameter materialLayerId was null or undefined when calling materialsMoveMaterialLayer.");
|
|
862
|
+
}
|
|
863
|
+
const moveMaterialLayerDto = requestParameters?.moveMaterialLayerDto;
|
|
864
|
+
let localVarHeaders = this.defaultHeaders;
|
|
865
|
+
// authentication (Bearer) required
|
|
866
|
+
localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
|
|
867
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([]);
|
|
868
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
869
|
+
localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
|
|
870
|
+
}
|
|
871
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
872
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
873
|
+
// to determine the Content-Type header
|
|
874
|
+
const consumes = [
|
|
875
|
+
"application/json-patch+json",
|
|
876
|
+
"application/json",
|
|
877
|
+
"text/json",
|
|
878
|
+
"application/*+json",
|
|
879
|
+
];
|
|
880
|
+
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
881
|
+
if (httpContentTypeSelected !== undefined) {
|
|
882
|
+
localVarHeaders = localVarHeaders.set("Content-Type", httpContentTypeSelected);
|
|
883
|
+
}
|
|
884
|
+
let responseType_ = "json";
|
|
885
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
886
|
+
if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
|
|
887
|
+
responseType_ = "text";
|
|
888
|
+
}
|
|
889
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
890
|
+
responseType_ = "json";
|
|
891
|
+
}
|
|
892
|
+
else {
|
|
893
|
+
responseType_ = "blob";
|
|
894
|
+
}
|
|
895
|
+
}
|
|
896
|
+
let localVarPath = `/api/bomb/materials/${this.configuration.encodeParam({ name: "materialLayerId", value: materialLayerId, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int64" })}/move`;
|
|
897
|
+
const { basePath, withCredentials } = this.configuration;
|
|
898
|
+
return this.httpClient.request("post", `${basePath}${localVarPath}`, {
|
|
899
|
+
context: localVarHttpContext,
|
|
900
|
+
body: moveMaterialLayerDto,
|
|
901
|
+
responseType: responseType_,
|
|
902
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
903
|
+
headers: localVarHeaders,
|
|
904
|
+
observe: observe,
|
|
905
|
+
transferCache: localVarTransferCache,
|
|
906
|
+
reportProgress: reportProgress,
|
|
907
|
+
});
|
|
908
|
+
}
|
|
858
909
|
materialsRemoveGroup(requestParameters, observe = "body", reportProgress = false, options) {
|
|
859
910
|
const materialLayerId = requestParameters?.materialLayerId;
|
|
860
911
|
if (materialLayerId === null || materialLayerId === undefined) {
|
|
@@ -10680,6 +10731,16 @@ var LeadTimeType;
|
|
|
10680
10731
|
* Do not edit the class manually.
|
|
10681
10732
|
*/
|
|
10682
10733
|
|
|
10734
|
+
/**
|
|
10735
|
+
* RenewAire CORES API
|
|
10736
|
+
*
|
|
10737
|
+
* Contact: renewaire@saritasa.com
|
|
10738
|
+
*
|
|
10739
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
10740
|
+
* https://openapi-generator.tech
|
|
10741
|
+
* Do not edit the class manually.
|
|
10742
|
+
*/
|
|
10743
|
+
|
|
10683
10744
|
/**
|
|
10684
10745
|
* RenewAire CORES API
|
|
10685
10746
|
*
|