@saritasa/renewaire-frontend-sdk 0.194.0 → 0.195.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
|
@@ -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
|
}
|
|
@@ -11633,6 +11684,16 @@ var RegistrationStatus;
|
|
|
11633
11684
|
* Do not edit the class manually.
|
|
11634
11685
|
*/
|
|
11635
11686
|
|
|
11687
|
+
/**
|
|
11688
|
+
* RenewAire CORES API
|
|
11689
|
+
*
|
|
11690
|
+
* Contact: renewaire@saritasa.com
|
|
11691
|
+
*
|
|
11692
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11693
|
+
* https://openapi-generator.tech
|
|
11694
|
+
* Do not edit the class manually.
|
|
11695
|
+
*/
|
|
11696
|
+
|
|
11636
11697
|
/**
|
|
11637
11698
|
* RenewAire CORES API
|
|
11638
11699
|
*
|