@saritasa/renewaire-frontend-sdk 0.176.0 → 0.177.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
|
@@ -1958,6 +1958,62 @@ class MaterialsApiService extends BaseService {
|
|
|
1958
1958
|
reportProgress: reportProgress,
|
|
1959
1959
|
});
|
|
1960
1960
|
}
|
|
1961
|
+
materialsDuplicateMaterialLayer(requestParameters, observe = "body", reportProgress = false, options) {
|
|
1962
|
+
const materialLayerId = requestParameters?.materialLayerId;
|
|
1963
|
+
if (materialLayerId === null || materialLayerId === undefined) {
|
|
1964
|
+
throw new Error("Required parameter materialLayerId was null or undefined when calling materialsDuplicateMaterialLayer.");
|
|
1965
|
+
}
|
|
1966
|
+
const duplicateMaterialLayerDto = requestParameters?.duplicateMaterialLayerDto;
|
|
1967
|
+
let localVarHeaders = this.defaultHeaders;
|
|
1968
|
+
// authentication (Bearer) required
|
|
1969
|
+
localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
|
|
1970
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ??
|
|
1971
|
+
this.configuration.selectHeaderAccept([
|
|
1972
|
+
"text/plain",
|
|
1973
|
+
"application/json",
|
|
1974
|
+
"text/json",
|
|
1975
|
+
]);
|
|
1976
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
1977
|
+
localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
|
|
1978
|
+
}
|
|
1979
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
1980
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
1981
|
+
// to determine the Content-Type header
|
|
1982
|
+
const consumes = [
|
|
1983
|
+
"application/json-patch+json",
|
|
1984
|
+
"application/json",
|
|
1985
|
+
"text/json",
|
|
1986
|
+
"application/*+json",
|
|
1987
|
+
];
|
|
1988
|
+
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
1989
|
+
if (httpContentTypeSelected !== undefined) {
|
|
1990
|
+
localVarHeaders = localVarHeaders.set("Content-Type", httpContentTypeSelected);
|
|
1991
|
+
}
|
|
1992
|
+
let responseType_ = "json";
|
|
1993
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
1994
|
+
if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
|
|
1995
|
+
responseType_ = "text";
|
|
1996
|
+
}
|
|
1997
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
1998
|
+
responseType_ = "json";
|
|
1999
|
+
}
|
|
2000
|
+
else {
|
|
2001
|
+
responseType_ = "blob";
|
|
2002
|
+
}
|
|
2003
|
+
}
|
|
2004
|
+
let localVarPath = `/api/materials/${this.configuration.encodeParam({ name: "materialLayerId", value: materialLayerId, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int64" })}/duplicate`;
|
|
2005
|
+
const { basePath, withCredentials } = this.configuration;
|
|
2006
|
+
return this.httpClient.request("post", `${basePath}${localVarPath}`, {
|
|
2007
|
+
context: localVarHttpContext,
|
|
2008
|
+
body: duplicateMaterialLayerDto,
|
|
2009
|
+
responseType: responseType_,
|
|
2010
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
2011
|
+
headers: localVarHeaders,
|
|
2012
|
+
observe: observe,
|
|
2013
|
+
transferCache: localVarTransferCache,
|
|
2014
|
+
reportProgress: reportProgress,
|
|
2015
|
+
});
|
|
2016
|
+
}
|
|
1961
2017
|
materialsGetMaterialLayer(requestParameters, observe = "body", reportProgress = false, options) {
|
|
1962
2018
|
const materialLayerId = requestParameters?.materialLayerId;
|
|
1963
2019
|
if (materialLayerId === null || materialLayerId === undefined) {
|
|
@@ -10207,6 +10263,16 @@ var DesignWeatherMode;
|
|
|
10207
10263
|
* Do not edit the class manually.
|
|
10208
10264
|
*/
|
|
10209
10265
|
|
|
10266
|
+
/**
|
|
10267
|
+
* RenewAire CORES API
|
|
10268
|
+
*
|
|
10269
|
+
* Contact: renewaire@saritasa.com
|
|
10270
|
+
*
|
|
10271
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
10272
|
+
* https://openapi-generator.tech
|
|
10273
|
+
* Do not edit the class manually.
|
|
10274
|
+
*/
|
|
10275
|
+
|
|
10210
10276
|
/**
|
|
10211
10277
|
* RenewAire CORES API
|
|
10212
10278
|
*
|