@saritasa/renewaire-frontend-sdk 0.194.0 → 0.196.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.194.0
1
+ # @@saritasa/renewaire-frontend-sdk@0.196.0
2
2
 
3
3
  ```bash
4
- npm install @saritasa/renewaire-frontend-sdk@0.194.0 --save
4
+ npm install @saritasa/renewaire-frontend-sdk@0.196.0 --save
5
5
  ```
@@ -1600,6 +1600,57 @@ class BombValidationsApiService extends BaseService {
1600
1600
  reportProgress: reportProgress,
1601
1601
  });
1602
1602
  }
1603
+ validationsUpdateValidationLayer(requestParameters, observe = "body", reportProgress = false, options) {
1604
+ const validationLayerId = requestParameters?.validationLayerId;
1605
+ if (validationLayerId === null || validationLayerId === undefined) {
1606
+ throw new Error("Required parameter validationLayerId was null or undefined when calling validationsUpdateValidationLayer.");
1607
+ }
1608
+ const saveValidationLayerDto = requestParameters?.saveValidationLayerDto;
1609
+ let localVarHeaders = this.defaultHeaders;
1610
+ // authentication (Bearer) required
1611
+ localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
1612
+ const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([]);
1613
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
1614
+ localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
1615
+ }
1616
+ const localVarHttpContext = options?.context ?? new HttpContext();
1617
+ const localVarTransferCache = options?.transferCache ?? true;
1618
+ // to determine the Content-Type header
1619
+ const consumes = [
1620
+ "application/json-patch+json",
1621
+ "application/json",
1622
+ "text/json",
1623
+ "application/*+json",
1624
+ ];
1625
+ const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
1626
+ if (httpContentTypeSelected !== undefined) {
1627
+ localVarHeaders = localVarHeaders.set("Content-Type", httpContentTypeSelected);
1628
+ }
1629
+ let responseType_ = "json";
1630
+ if (localVarHttpHeaderAcceptSelected) {
1631
+ if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
1632
+ responseType_ = "text";
1633
+ }
1634
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
1635
+ responseType_ = "json";
1636
+ }
1637
+ else {
1638
+ responseType_ = "blob";
1639
+ }
1640
+ }
1641
+ let localVarPath = `/api/bomb/validations/${this.configuration.encodeParam({ name: "validationLayerId", value: validationLayerId, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int64" })}`;
1642
+ const { basePath, withCredentials } = this.configuration;
1643
+ return this.httpClient.request("put", `${basePath}${localVarPath}`, {
1644
+ context: localVarHttpContext,
1645
+ body: saveValidationLayerDto,
1646
+ responseType: responseType_,
1647
+ ...(withCredentials ? { withCredentials } : {}),
1648
+ headers: localVarHeaders,
1649
+ observe: observe,
1650
+ transferCache: localVarTransferCache,
1651
+ reportProgress: reportProgress,
1652
+ });
1653
+ }
1603
1654
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: BombValidationsApiService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
1604
1655
  static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: BombValidationsApiService, providedIn: "root" });
1605
1656
  }
@@ -10765,16 +10816,6 @@ var FileType;
10765
10816
  * Do not edit the class manually.
10766
10817
  */
10767
10818
 
10768
- /**
10769
- * RenewAire CORES API
10770
- *
10771
- * Contact: renewaire@saritasa.com
10772
- *
10773
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
10774
- * https://openapi-generator.tech
10775
- * Do not edit the class manually.
10776
- */
10777
-
10778
10819
  /**
10779
10820
  * RenewAire CORES API
10780
10821
  *
@@ -11633,6 +11674,16 @@ var RegistrationStatus;
11633
11674
  * Do not edit the class manually.
11634
11675
  */
11635
11676
 
11677
+ /**
11678
+ * RenewAire CORES API
11679
+ *
11680
+ * Contact: renewaire@saritasa.com
11681
+ *
11682
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11683
+ * https://openapi-generator.tech
11684
+ * Do not edit the class manually.
11685
+ */
11686
+
11636
11687
  /**
11637
11688
  * RenewAire CORES API
11638
11689
  *