@saritasa/renewaire-frontend-sdk 0.196.1 → 0.197.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.196.1
1
+ # @@saritasa/renewaire-frontend-sdk@0.197.0
2
2
 
3
3
  ```bash
4
- npm install @saritasa/renewaire-frontend-sdk@0.196.1 --save
4
+ npm install @saritasa/renewaire-frontend-sdk@0.197.0 --save
5
5
  ```
@@ -1123,6 +1123,49 @@ class BombRoutingsApiService extends BaseService {
1123
1123
  reportProgress: reportProgress,
1124
1124
  });
1125
1125
  }
1126
+ routingsGetRoutingLayer(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 routingsGetRoutingLayer.");
1130
+ }
1131
+ let localVarHeaders = this.defaultHeaders;
1132
+ // authentication (Bearer) required
1133
+ localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
1134
+ const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ??
1135
+ this.configuration.selectHeaderAccept([
1136
+ "text/plain",
1137
+ "application/json",
1138
+ "text/json",
1139
+ ]);
1140
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
1141
+ localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
1142
+ }
1143
+ const localVarHttpContext = options?.context ?? new HttpContext();
1144
+ const localVarTransferCache = options?.transferCache ?? true;
1145
+ let responseType_ = "json";
1146
+ if (localVarHttpHeaderAcceptSelected) {
1147
+ if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
1148
+ responseType_ = "text";
1149
+ }
1150
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
1151
+ responseType_ = "json";
1152
+ }
1153
+ else {
1154
+ responseType_ = "blob";
1155
+ }
1156
+ }
1157
+ let localVarPath = `/api/bomb/routings/${this.configuration.encodeParam({ name: "routingLayerId", value: routingLayerId, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int64" })}`;
1158
+ const { basePath, withCredentials } = this.configuration;
1159
+ return this.httpClient.request("get", `${basePath}${localVarPath}`, {
1160
+ context: localVarHttpContext,
1161
+ responseType: responseType_,
1162
+ ...(withCredentials ? { withCredentials } : {}),
1163
+ headers: localVarHeaders,
1164
+ observe: observe,
1165
+ transferCache: localVarTransferCache,
1166
+ reportProgress: reportProgress,
1167
+ });
1168
+ }
1126
1169
  routingsSearchRoutingLayers(requestParameters, observe = "body", reportProgress = false, options) {
1127
1170
  const parentRoutingLayerId = requestParameters?.parentRoutingLayerId;
1128
1171
  let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
@@ -11684,6 +11727,16 @@ var RegistrationStatus;
11684
11727
  * Do not edit the class manually.
11685
11728
  */
11686
11729
 
11730
+ /**
11731
+ * RenewAire CORES API
11732
+ *
11733
+ * Contact: renewaire@saritasa.com
11734
+ *
11735
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11736
+ * https://openapi-generator.tech
11737
+ * Do not edit the class manually.
11738
+ */
11739
+
11687
11740
  /**
11688
11741
  * RenewAire CORES API
11689
11742
  *