@saritasa/renewaire-frontend-sdk 0.198.0 → 0.199.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
|
@@ -860,7 +860,7 @@ class BombMaterialsApiService extends BaseService {
|
|
|
860
860
|
if (materialLayerId === null || materialLayerId === undefined) {
|
|
861
861
|
throw new Error("Required parameter materialLayerId was null or undefined when calling materialsMoveMaterialLayer.");
|
|
862
862
|
}
|
|
863
|
-
const
|
|
863
|
+
const materialLayerIdMoveLayerDto = requestParameters?.materialLayerIdMoveLayerDto;
|
|
864
864
|
let localVarHeaders = this.defaultHeaders;
|
|
865
865
|
// authentication (Bearer) required
|
|
866
866
|
localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
|
|
@@ -897,7 +897,7 @@ class BombMaterialsApiService extends BaseService {
|
|
|
897
897
|
const { basePath, withCredentials } = this.configuration;
|
|
898
898
|
return this.httpClient.request("post", `${basePath}${localVarPath}`, {
|
|
899
899
|
context: localVarHttpContext,
|
|
900
|
-
body:
|
|
900
|
+
body: materialLayerIdMoveLayerDto,
|
|
901
901
|
responseType: responseType_,
|
|
902
902
|
...(withCredentials ? { withCredentials } : {}),
|
|
903
903
|
headers: localVarHeaders,
|
|
@@ -1459,6 +1459,57 @@ class BombSchematicsApiService extends BaseService {
|
|
|
1459
1459
|
reportProgress: reportProgress,
|
|
1460
1460
|
});
|
|
1461
1461
|
}
|
|
1462
|
+
schematicsMoveMaterialLayer(requestParameters, observe = "body", reportProgress = false, options) {
|
|
1463
|
+
const schematicLayerId = requestParameters?.schematicLayerId;
|
|
1464
|
+
if (schematicLayerId === null || schematicLayerId === undefined) {
|
|
1465
|
+
throw new Error("Required parameter schematicLayerId was null or undefined when calling schematicsMoveMaterialLayer.");
|
|
1466
|
+
}
|
|
1467
|
+
const schematicLayerIdMoveLayerDto = requestParameters?.schematicLayerIdMoveLayerDto;
|
|
1468
|
+
let localVarHeaders = this.defaultHeaders;
|
|
1469
|
+
// authentication (Bearer) required
|
|
1470
|
+
localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
|
|
1471
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([]);
|
|
1472
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
1473
|
+
localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
|
|
1474
|
+
}
|
|
1475
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
1476
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
1477
|
+
// to determine the Content-Type header
|
|
1478
|
+
const consumes = [
|
|
1479
|
+
"application/json-patch+json",
|
|
1480
|
+
"application/json",
|
|
1481
|
+
"text/json",
|
|
1482
|
+
"application/*+json",
|
|
1483
|
+
];
|
|
1484
|
+
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
1485
|
+
if (httpContentTypeSelected !== undefined) {
|
|
1486
|
+
localVarHeaders = localVarHeaders.set("Content-Type", httpContentTypeSelected);
|
|
1487
|
+
}
|
|
1488
|
+
let responseType_ = "json";
|
|
1489
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
1490
|
+
if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
|
|
1491
|
+
responseType_ = "text";
|
|
1492
|
+
}
|
|
1493
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
1494
|
+
responseType_ = "json";
|
|
1495
|
+
}
|
|
1496
|
+
else {
|
|
1497
|
+
responseType_ = "blob";
|
|
1498
|
+
}
|
|
1499
|
+
}
|
|
1500
|
+
let localVarPath = `/api/bomb/schematics/${this.configuration.encodeParam({ name: "schematicLayerId", value: schematicLayerId, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int64" })}/move`;
|
|
1501
|
+
const { basePath, withCredentials } = this.configuration;
|
|
1502
|
+
return this.httpClient.request("post", `${basePath}${localVarPath}`, {
|
|
1503
|
+
context: localVarHttpContext,
|
|
1504
|
+
body: schematicLayerIdMoveLayerDto,
|
|
1505
|
+
responseType: responseType_,
|
|
1506
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
1507
|
+
headers: localVarHeaders,
|
|
1508
|
+
observe: observe,
|
|
1509
|
+
transferCache: localVarTransferCache,
|
|
1510
|
+
reportProgress: reportProgress,
|
|
1511
|
+
});
|
|
1512
|
+
}
|
|
1462
1513
|
schematicsRemoveSchematicLayer(requestParameters, observe = "body", reportProgress = false, options) {
|
|
1463
1514
|
const schematicLayerId = requestParameters?.schematicLayerId;
|
|
1464
1515
|
if (schematicLayerId === null || schematicLayerId === undefined) {
|
|
@@ -11762,6 +11813,16 @@ var RegistrationStatus;
|
|
|
11762
11813
|
* Do not edit the class manually.
|
|
11763
11814
|
*/
|
|
11764
11815
|
|
|
11816
|
+
/**
|
|
11817
|
+
* RenewAire CORES API
|
|
11818
|
+
*
|
|
11819
|
+
* Contact: renewaire@saritasa.com
|
|
11820
|
+
*
|
|
11821
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11822
|
+
* https://openapi-generator.tech
|
|
11823
|
+
* Do not edit the class manually.
|
|
11824
|
+
*/
|
|
11825
|
+
|
|
11765
11826
|
/**
|
|
11766
11827
|
* RenewAire CORES API
|
|
11767
11828
|
*
|