@saritasa/renewaire-frontend-sdk 0.158.0 → 0.159.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
|
@@ -1960,6 +1960,49 @@ class MaterialsApiService extends BaseService {
|
|
|
1960
1960
|
reportProgress: reportProgress,
|
|
1961
1961
|
});
|
|
1962
1962
|
}
|
|
1963
|
+
materialsGetMaterialLayer(requestParameters, observe = "body", reportProgress = false, options) {
|
|
1964
|
+
const materialLayerId = requestParameters?.materialLayerId;
|
|
1965
|
+
if (materialLayerId === null || materialLayerId === undefined) {
|
|
1966
|
+
throw new Error("Required parameter materialLayerId was null or undefined when calling materialsGetMaterialLayer.");
|
|
1967
|
+
}
|
|
1968
|
+
let localVarHeaders = this.defaultHeaders;
|
|
1969
|
+
// authentication (Bearer) required
|
|
1970
|
+
localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
|
|
1971
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ??
|
|
1972
|
+
this.configuration.selectHeaderAccept([
|
|
1973
|
+
"text/plain",
|
|
1974
|
+
"application/json",
|
|
1975
|
+
"text/json",
|
|
1976
|
+
]);
|
|
1977
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
1978
|
+
localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
|
|
1979
|
+
}
|
|
1980
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
1981
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
1982
|
+
let responseType_ = "json";
|
|
1983
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
1984
|
+
if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
|
|
1985
|
+
responseType_ = "text";
|
|
1986
|
+
}
|
|
1987
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
1988
|
+
responseType_ = "json";
|
|
1989
|
+
}
|
|
1990
|
+
else {
|
|
1991
|
+
responseType_ = "blob";
|
|
1992
|
+
}
|
|
1993
|
+
}
|
|
1994
|
+
let localVarPath = `/api/materials/${this.configuration.encodeParam({ name: "materialLayerId", value: materialLayerId, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int64" })}`;
|
|
1995
|
+
const { basePath, withCredentials } = this.configuration;
|
|
1996
|
+
return this.httpClient.request("get", `${basePath}${localVarPath}`, {
|
|
1997
|
+
context: localVarHttpContext,
|
|
1998
|
+
responseType: responseType_,
|
|
1999
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
2000
|
+
headers: localVarHeaders,
|
|
2001
|
+
observe: observe,
|
|
2002
|
+
transferCache: localVarTransferCache,
|
|
2003
|
+
reportProgress: reportProgress,
|
|
2004
|
+
});
|
|
2005
|
+
}
|
|
1963
2006
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.13", ngImport: i0, type: MaterialsApiService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1964
2007
|
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.13", ngImport: i0, type: MaterialsApiService, providedIn: "root" });
|
|
1965
2008
|
}
|
|
@@ -9892,6 +9935,26 @@ var LeadTimeType;
|
|
|
9892
9935
|
* Do not edit the class manually.
|
|
9893
9936
|
*/
|
|
9894
9937
|
|
|
9938
|
+
/**
|
|
9939
|
+
* RenewAire CORES API
|
|
9940
|
+
*
|
|
9941
|
+
* Contact: renewaire@saritasa.com
|
|
9942
|
+
*
|
|
9943
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9944
|
+
* https://openapi-generator.tech
|
|
9945
|
+
* Do not edit the class manually.
|
|
9946
|
+
*/
|
|
9947
|
+
|
|
9948
|
+
/**
|
|
9949
|
+
* RenewAire CORES API
|
|
9950
|
+
*
|
|
9951
|
+
* Contact: renewaire@saritasa.com
|
|
9952
|
+
*
|
|
9953
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9954
|
+
* https://openapi-generator.tech
|
|
9955
|
+
* Do not edit the class manually.
|
|
9956
|
+
*/
|
|
9957
|
+
|
|
9895
9958
|
/**
|
|
9896
9959
|
* RenewAire CORES API
|
|
9897
9960
|
*
|