@saritasa/renewaire-frontend-sdk 0.198.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
@@ -1,5 +1,5 @@
1
- # @@saritasa/renewaire-frontend-sdk@0.198.0
1
+ # @@saritasa/renewaire-frontend-sdk@0.200.0
2
2
 
3
3
  ```bash
4
- npm install @saritasa/renewaire-frontend-sdk@0.198.0 --save
4
+ npm install @saritasa/renewaire-frontend-sdk@0.200.0 --save
5
5
  ```
@@ -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 moveMaterialLayerDto = requestParameters?.moveMaterialLayerDto;
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: moveMaterialLayerDto,
900
+ body: materialLayerIdMoveLayerDto,
901
901
  responseType: responseType_,
902
902
  ...(withCredentials ? { withCredentials } : {}),
903
903
  headers: localVarHeaders,
@@ -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,6 +1510,57 @@ class BombSchematicsApiService extends BaseService {
1459
1510
  reportProgress: reportProgress,
1460
1511
  });
1461
1512
  }
1513
+ schematicsMoveSchematicLayer(requestParameters, observe = "body", reportProgress = false, options) {
1514
+ const schematicLayerId = requestParameters?.schematicLayerId;
1515
+ if (schematicLayerId === null || schematicLayerId === undefined) {
1516
+ throw new Error("Required parameter schematicLayerId was null or undefined when calling schematicsMoveSchematicLayer.");
1517
+ }
1518
+ const schematicLayerIdMoveLayerDto = requestParameters?.schematicLayerIdMoveLayerDto;
1519
+ let localVarHeaders = this.defaultHeaders;
1520
+ // authentication (Bearer) required
1521
+ localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
1522
+ const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([]);
1523
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
1524
+ localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
1525
+ }
1526
+ const localVarHttpContext = options?.context ?? new HttpContext();
1527
+ const localVarTransferCache = options?.transferCache ?? true;
1528
+ // to determine the Content-Type header
1529
+ const consumes = [
1530
+ "application/json-patch+json",
1531
+ "application/json",
1532
+ "text/json",
1533
+ "application/*+json",
1534
+ ];
1535
+ const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
1536
+ if (httpContentTypeSelected !== undefined) {
1537
+ localVarHeaders = localVarHeaders.set("Content-Type", httpContentTypeSelected);
1538
+ }
1539
+ let responseType_ = "json";
1540
+ if (localVarHttpHeaderAcceptSelected) {
1541
+ if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
1542
+ responseType_ = "text";
1543
+ }
1544
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
1545
+ responseType_ = "json";
1546
+ }
1547
+ else {
1548
+ responseType_ = "blob";
1549
+ }
1550
+ }
1551
+ let localVarPath = `/api/bomb/schematics/${this.configuration.encodeParam({ name: "schematicLayerId", value: schematicLayerId, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int64" })}/move`;
1552
+ const { basePath, withCredentials } = this.configuration;
1553
+ return this.httpClient.request("post", `${basePath}${localVarPath}`, {
1554
+ context: localVarHttpContext,
1555
+ body: schematicLayerIdMoveLayerDto,
1556
+ responseType: responseType_,
1557
+ ...(withCredentials ? { withCredentials } : {}),
1558
+ headers: localVarHeaders,
1559
+ observe: observe,
1560
+ transferCache: localVarTransferCache,
1561
+ reportProgress: reportProgress,
1562
+ });
1563
+ }
1462
1564
  schematicsRemoveSchematicLayer(requestParameters, observe = "body", reportProgress = false, options) {
1463
1565
  const schematicLayerId = requestParameters?.schematicLayerId;
1464
1566
  if (schematicLayerId === null || schematicLayerId === undefined) {
@@ -11762,6 +11864,26 @@ var RegistrationStatus;
11762
11864
  * Do not edit the class manually.
11763
11865
  */
11764
11866
 
11867
+ /**
11868
+ * RenewAire CORES API
11869
+ *
11870
+ * Contact: renewaire@saritasa.com
11871
+ *
11872
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11873
+ * https://openapi-generator.tech
11874
+ * Do not edit the class manually.
11875
+ */
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
+
11765
11887
  /**
11766
11888
  * RenewAire CORES API
11767
11889
  *