@saritasa/renewaire-frontend-sdk 0.203.0 → 0.205.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
|
@@ -1123,6 +1123,57 @@ class BombRoutingsApiService extends BaseService {
|
|
|
1123
1123
|
reportProgress: reportProgress,
|
|
1124
1124
|
});
|
|
1125
1125
|
}
|
|
1126
|
+
routingsDuplicateMaterialLayer(requestParameters, observe = "body", reportProgress = false, options) {
|
|
1127
|
+
const routingLayerId = requestParameters?.routingLayerId;
|
|
1128
|
+
if (routingLayerId === null || routingLayerId === undefined) {
|
|
1129
|
+
throw new Error("Required parameter routingLayerId was null or undefined when calling routingsDuplicateMaterialLayer.");
|
|
1130
|
+
}
|
|
1131
|
+
const duplicateBombLayerDto = requestParameters?.duplicateBombLayerDto;
|
|
1132
|
+
let localVarHeaders = this.defaultHeaders;
|
|
1133
|
+
// authentication (Bearer) required
|
|
1134
|
+
localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
|
|
1135
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([]);
|
|
1136
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
1137
|
+
localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
|
|
1138
|
+
}
|
|
1139
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
1140
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
1141
|
+
// to determine the Content-Type header
|
|
1142
|
+
const consumes = [
|
|
1143
|
+
"application/json-patch+json",
|
|
1144
|
+
"application/json",
|
|
1145
|
+
"text/json",
|
|
1146
|
+
"application/*+json",
|
|
1147
|
+
];
|
|
1148
|
+
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
1149
|
+
if (httpContentTypeSelected !== undefined) {
|
|
1150
|
+
localVarHeaders = localVarHeaders.set("Content-Type", httpContentTypeSelected);
|
|
1151
|
+
}
|
|
1152
|
+
let responseType_ = "json";
|
|
1153
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
1154
|
+
if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
|
|
1155
|
+
responseType_ = "text";
|
|
1156
|
+
}
|
|
1157
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
1158
|
+
responseType_ = "json";
|
|
1159
|
+
}
|
|
1160
|
+
else {
|
|
1161
|
+
responseType_ = "blob";
|
|
1162
|
+
}
|
|
1163
|
+
}
|
|
1164
|
+
let localVarPath = `/api/bomb/routings/${this.configuration.encodeParam({ name: "routingLayerId", value: routingLayerId, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int64" })}/duplicate`;
|
|
1165
|
+
const { basePath, withCredentials } = this.configuration;
|
|
1166
|
+
return this.httpClient.request("post", `${basePath}${localVarPath}`, {
|
|
1167
|
+
context: localVarHttpContext,
|
|
1168
|
+
body: duplicateBombLayerDto,
|
|
1169
|
+
responseType: responseType_,
|
|
1170
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
1171
|
+
headers: localVarHeaders,
|
|
1172
|
+
observe: observe,
|
|
1173
|
+
transferCache: localVarTransferCache,
|
|
1174
|
+
reportProgress: reportProgress,
|
|
1175
|
+
});
|
|
1176
|
+
}
|
|
1126
1177
|
routingsGetRoutingLayer(requestParameters, observe = "body", reportProgress = false, options) {
|
|
1127
1178
|
const routingLayerId = requestParameters?.routingLayerId;
|
|
1128
1179
|
if (routingLayerId === null || routingLayerId === undefined) {
|
|
@@ -1867,6 +1918,57 @@ class BombValidationsApiService extends BaseService {
|
|
|
1867
1918
|
reportProgress: reportProgress,
|
|
1868
1919
|
});
|
|
1869
1920
|
}
|
|
1921
|
+
validationsMoveMaterialLayer(requestParameters, observe = "body", reportProgress = false, options) {
|
|
1922
|
+
const validationLayerId = requestParameters?.validationLayerId;
|
|
1923
|
+
if (validationLayerId === null || validationLayerId === undefined) {
|
|
1924
|
+
throw new Error("Required parameter validationLayerId was null or undefined when calling validationsMoveMaterialLayer.");
|
|
1925
|
+
}
|
|
1926
|
+
const validationLayerIdMoveLayerDto = requestParameters?.validationLayerIdMoveLayerDto;
|
|
1927
|
+
let localVarHeaders = this.defaultHeaders;
|
|
1928
|
+
// authentication (Bearer) required
|
|
1929
|
+
localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
|
|
1930
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([]);
|
|
1931
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
1932
|
+
localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
|
|
1933
|
+
}
|
|
1934
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
1935
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
1936
|
+
// to determine the Content-Type header
|
|
1937
|
+
const consumes = [
|
|
1938
|
+
"application/json-patch+json",
|
|
1939
|
+
"application/json",
|
|
1940
|
+
"text/json",
|
|
1941
|
+
"application/*+json",
|
|
1942
|
+
];
|
|
1943
|
+
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
1944
|
+
if (httpContentTypeSelected !== undefined) {
|
|
1945
|
+
localVarHeaders = localVarHeaders.set("Content-Type", httpContentTypeSelected);
|
|
1946
|
+
}
|
|
1947
|
+
let responseType_ = "json";
|
|
1948
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
1949
|
+
if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
|
|
1950
|
+
responseType_ = "text";
|
|
1951
|
+
}
|
|
1952
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
1953
|
+
responseType_ = "json";
|
|
1954
|
+
}
|
|
1955
|
+
else {
|
|
1956
|
+
responseType_ = "blob";
|
|
1957
|
+
}
|
|
1958
|
+
}
|
|
1959
|
+
let localVarPath = `/api/bomb/validations/${this.configuration.encodeParam({ name: "validationLayerId", value: validationLayerId, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int64" })}/move`;
|
|
1960
|
+
const { basePath, withCredentials } = this.configuration;
|
|
1961
|
+
return this.httpClient.request("post", `${basePath}${localVarPath}`, {
|
|
1962
|
+
context: localVarHttpContext,
|
|
1963
|
+
body: validationLayerIdMoveLayerDto,
|
|
1964
|
+
responseType: responseType_,
|
|
1965
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
1966
|
+
headers: localVarHeaders,
|
|
1967
|
+
observe: observe,
|
|
1968
|
+
transferCache: localVarTransferCache,
|
|
1969
|
+
reportProgress: reportProgress,
|
|
1970
|
+
});
|
|
1971
|
+
}
|
|
1870
1972
|
validationsSearchValidationLayers(requestParameters, observe = "body", reportProgress = false, options) {
|
|
1871
1973
|
const parentLayerId = requestParameters?.parentLayerId;
|
|
1872
1974
|
let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
|
|
@@ -12143,6 +12245,16 @@ var UserStatus;
|
|
|
12143
12245
|
* Do not edit the class manually.
|
|
12144
12246
|
*/
|
|
12145
12247
|
|
|
12248
|
+
/**
|
|
12249
|
+
* RenewAire CORES API
|
|
12250
|
+
*
|
|
12251
|
+
* Contact: renewaire@saritasa.com
|
|
12252
|
+
*
|
|
12253
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12254
|
+
* https://openapi-generator.tech
|
|
12255
|
+
* Do not edit the class manually.
|
|
12256
|
+
*/
|
|
12257
|
+
|
|
12146
12258
|
class ApiModule {
|
|
12147
12259
|
static forRoot(configurationFactory) {
|
|
12148
12260
|
return {
|