@saritasa/renewaire-frontend-sdk 0.185.0 → 0.187.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) {
|
|
@@ -3997,7 +4048,7 @@ class ProjectRevisionsApiService extends BaseService {
|
|
|
3997
4048
|
throw new Error("Required parameter projectRevisionId was null or undefined when calling projectRevisionsUpdateRevision.");
|
|
3998
4049
|
}
|
|
3999
4050
|
const isEndEditMode = requestParameters?.isEndEditMode;
|
|
4000
|
-
const
|
|
4051
|
+
const updateProjectRevisionDtoOperation = requestParameters?.updateProjectRevisionDtoOperation;
|
|
4001
4052
|
let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
|
|
4002
4053
|
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, isEndEditMode, "isEndEditMode");
|
|
4003
4054
|
let localVarHeaders = this.defaultHeaders;
|
|
@@ -4041,7 +4092,7 @@ class ProjectRevisionsApiService extends BaseService {
|
|
|
4041
4092
|
const { basePath, withCredentials } = this.configuration;
|
|
4042
4093
|
return this.httpClient.request("patch", `${basePath}${localVarPath}`, {
|
|
4043
4094
|
context: localVarHttpContext,
|
|
4044
|
-
body:
|
|
4095
|
+
body: updateProjectRevisionDtoOperation,
|
|
4045
4096
|
params: localVarQueryParameters,
|
|
4046
4097
|
responseType: responseType_,
|
|
4047
4098
|
...(withCredentials ? { withCredentials } : {}),
|
|
@@ -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
|
*
|
|
@@ -11420,6 +11481,16 @@ var UnitSystem;
|
|
|
11420
11481
|
* Do not edit the class manually.
|
|
11421
11482
|
*/
|
|
11422
11483
|
|
|
11484
|
+
/**
|
|
11485
|
+
* RenewAire CORES API
|
|
11486
|
+
*
|
|
11487
|
+
* Contact: renewaire@saritasa.com
|
|
11488
|
+
*
|
|
11489
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11490
|
+
* https://openapi-generator.tech
|
|
11491
|
+
* Do not edit the class manually.
|
|
11492
|
+
*/
|
|
11493
|
+
|
|
11423
11494
|
/**
|
|
11424
11495
|
* RenewAire CORES API
|
|
11425
11496
|
*
|