@saritasa/renewaire-frontend-sdk 0.202.1 → 0.204.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.202.1
1
+ # @@saritasa/renewaire-frontend-sdk@0.204.0
2
2
 
3
3
  ```bash
4
- npm install @saritasa/renewaire-frontend-sdk@0.202.1 --save
4
+ npm install @saritasa/renewaire-frontend-sdk@0.204.0 --save
5
5
  ```
@@ -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) {
@@ -1787,12 +1838,7 @@ class BombValidationsApiService extends BaseService {
1787
1838
  let localVarHeaders = this.defaultHeaders;
1788
1839
  // authentication (Bearer) required
1789
1840
  localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
1790
- const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ??
1791
- this.configuration.selectHeaderAccept([
1792
- "text/plain",
1793
- "application/json",
1794
- "text/json",
1795
- ]);
1841
+ const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([]);
1796
1842
  if (localVarHttpHeaderAcceptSelected !== undefined) {
1797
1843
  localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
1798
1844
  }
@@ -1834,6 +1880,95 @@ class BombValidationsApiService extends BaseService {
1834
1880
  reportProgress: reportProgress,
1835
1881
  });
1836
1882
  }
1883
+ validationsGetValidationLayer(requestParameters, observe = "body", reportProgress = false, options) {
1884
+ const validationLayerId = requestParameters?.validationLayerId;
1885
+ if (validationLayerId === null || validationLayerId === undefined) {
1886
+ throw new Error("Required parameter validationLayerId was null or undefined when calling validationsGetValidationLayer.");
1887
+ }
1888
+ let localVarHeaders = this.defaultHeaders;
1889
+ // authentication (Bearer) required
1890
+ localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
1891
+ const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([]);
1892
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
1893
+ localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
1894
+ }
1895
+ const localVarHttpContext = options?.context ?? new HttpContext();
1896
+ const localVarTransferCache = options?.transferCache ?? true;
1897
+ let responseType_ = "json";
1898
+ if (localVarHttpHeaderAcceptSelected) {
1899
+ if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
1900
+ responseType_ = "text";
1901
+ }
1902
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
1903
+ responseType_ = "json";
1904
+ }
1905
+ else {
1906
+ responseType_ = "blob";
1907
+ }
1908
+ }
1909
+ let localVarPath = `/api/bomb/validations/${this.configuration.encodeParam({ name: "validationLayerId", value: validationLayerId, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int64" })}`;
1910
+ const { basePath, withCredentials } = this.configuration;
1911
+ return this.httpClient.request("get", `${basePath}${localVarPath}`, {
1912
+ context: localVarHttpContext,
1913
+ responseType: responseType_,
1914
+ ...(withCredentials ? { withCredentials } : {}),
1915
+ headers: localVarHeaders,
1916
+ observe: observe,
1917
+ transferCache: localVarTransferCache,
1918
+ reportProgress: reportProgress,
1919
+ });
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
+ }
1837
1972
  validationsSearchValidationLayers(requestParameters, observe = "body", reportProgress = false, options) {
1838
1973
  const parentLayerId = requestParameters?.parentLayerId;
1839
1974
  let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
@@ -12110,6 +12245,16 @@ var UserStatus;
12110
12245
  * Do not edit the class manually.
12111
12246
  */
12112
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
+
12113
12258
  class ApiModule {
12114
12259
  static forRoot(configurationFactory) {
12115
12260
  return {