@saritasa/renewaire-frontend-sdk 0.199.0 → 0.200.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
|
@@ -1166,6 +1166,57 @@ class BombRoutingsApiService extends BaseService {
|
|
|
1166
1166
|
reportProgress: reportProgress,
|
|
1167
1167
|
});
|
|
1168
1168
|
}
|
|
1169
|
+
routingsMoveRoutingLayer(requestParameters, observe = "body", reportProgress = false, options) {
|
|
1170
|
+
const routingLayerId = requestParameters?.routingLayerId;
|
|
1171
|
+
if (routingLayerId === null || routingLayerId === undefined) {
|
|
1172
|
+
throw new Error("Required parameter routingLayerId was null or undefined when calling routingsMoveRoutingLayer.");
|
|
1173
|
+
}
|
|
1174
|
+
const routingLayerIdMoveLayerDto = requestParameters?.routingLayerIdMoveLayerDto;
|
|
1175
|
+
let localVarHeaders = this.defaultHeaders;
|
|
1176
|
+
// authentication (Bearer) required
|
|
1177
|
+
localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
|
|
1178
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([]);
|
|
1179
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
1180
|
+
localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
|
|
1181
|
+
}
|
|
1182
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
1183
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
1184
|
+
// to determine the Content-Type header
|
|
1185
|
+
const consumes = [
|
|
1186
|
+
"application/json-patch+json",
|
|
1187
|
+
"application/json",
|
|
1188
|
+
"text/json",
|
|
1189
|
+
"application/*+json",
|
|
1190
|
+
];
|
|
1191
|
+
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
1192
|
+
if (httpContentTypeSelected !== undefined) {
|
|
1193
|
+
localVarHeaders = localVarHeaders.set("Content-Type", httpContentTypeSelected);
|
|
1194
|
+
}
|
|
1195
|
+
let responseType_ = "json";
|
|
1196
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
1197
|
+
if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
|
|
1198
|
+
responseType_ = "text";
|
|
1199
|
+
}
|
|
1200
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
1201
|
+
responseType_ = "json";
|
|
1202
|
+
}
|
|
1203
|
+
else {
|
|
1204
|
+
responseType_ = "blob";
|
|
1205
|
+
}
|
|
1206
|
+
}
|
|
1207
|
+
let localVarPath = `/api/bomb/routings/${this.configuration.encodeParam({ name: "routingLayerId", value: routingLayerId, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int64" })}/move`;
|
|
1208
|
+
const { basePath, withCredentials } = this.configuration;
|
|
1209
|
+
return this.httpClient.request("post", `${basePath}${localVarPath}`, {
|
|
1210
|
+
context: localVarHttpContext,
|
|
1211
|
+
body: routingLayerIdMoveLayerDto,
|
|
1212
|
+
responseType: responseType_,
|
|
1213
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
1214
|
+
headers: localVarHeaders,
|
|
1215
|
+
observe: observe,
|
|
1216
|
+
transferCache: localVarTransferCache,
|
|
1217
|
+
reportProgress: reportProgress,
|
|
1218
|
+
});
|
|
1219
|
+
}
|
|
1169
1220
|
routingsRemoveRoutingLayer(requestParameters, observe = "body", reportProgress = false, options) {
|
|
1170
1221
|
const routingLayerId = requestParameters?.routingLayerId;
|
|
1171
1222
|
if (routingLayerId === null || routingLayerId === undefined) {
|
|
@@ -1459,10 +1510,10 @@ class BombSchematicsApiService extends BaseService {
|
|
|
1459
1510
|
reportProgress: reportProgress,
|
|
1460
1511
|
});
|
|
1461
1512
|
}
|
|
1462
|
-
|
|
1513
|
+
schematicsMoveSchematicLayer(requestParameters, observe = "body", reportProgress = false, options) {
|
|
1463
1514
|
const schematicLayerId = requestParameters?.schematicLayerId;
|
|
1464
1515
|
if (schematicLayerId === null || schematicLayerId === undefined) {
|
|
1465
|
-
throw new Error("Required parameter schematicLayerId was null or undefined when calling
|
|
1516
|
+
throw new Error("Required parameter schematicLayerId was null or undefined when calling schematicsMoveSchematicLayer.");
|
|
1466
1517
|
}
|
|
1467
1518
|
const schematicLayerIdMoveLayerDto = requestParameters?.schematicLayerIdMoveLayerDto;
|
|
1468
1519
|
let localVarHeaders = this.defaultHeaders;
|
|
@@ -11823,6 +11874,16 @@ var RegistrationStatus;
|
|
|
11823
11874
|
* Do not edit the class manually.
|
|
11824
11875
|
*/
|
|
11825
11876
|
|
|
11877
|
+
/**
|
|
11878
|
+
* RenewAire CORES API
|
|
11879
|
+
*
|
|
11880
|
+
* Contact: renewaire@saritasa.com
|
|
11881
|
+
*
|
|
11882
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11883
|
+
* https://openapi-generator.tech
|
|
11884
|
+
* Do not edit the class manually.
|
|
11885
|
+
*/
|
|
11886
|
+
|
|
11826
11887
|
/**
|
|
11827
11888
|
* RenewAire CORES API
|
|
11828
11889
|
*
|