@saritasa/renewaire-frontend-sdk 0.201.0 → 0.202.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
|
@@ -761,7 +761,7 @@ class BombMaterialsApiService extends BaseService {
|
|
|
761
761
|
if (materialLayerId === null || materialLayerId === undefined) {
|
|
762
762
|
throw new Error("Required parameter materialLayerId was null or undefined when calling materialsDuplicateMaterialLayer.");
|
|
763
763
|
}
|
|
764
|
-
const
|
|
764
|
+
const duplicateBombLayerDto = requestParameters?.duplicateBombLayerDto;
|
|
765
765
|
let localVarHeaders = this.defaultHeaders;
|
|
766
766
|
// authentication (Bearer) required
|
|
767
767
|
localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
|
|
@@ -803,7 +803,7 @@ class BombMaterialsApiService extends BaseService {
|
|
|
803
803
|
const { basePath, withCredentials } = this.configuration;
|
|
804
804
|
return this.httpClient.request("post", `${basePath}${localVarPath}`, {
|
|
805
805
|
context: localVarHttpContext,
|
|
806
|
-
body:
|
|
806
|
+
body: duplicateBombLayerDto,
|
|
807
807
|
responseType: responseType_,
|
|
808
808
|
...(withCredentials ? { withCredentials } : {}),
|
|
809
809
|
headers: localVarHeaders,
|
|
@@ -1778,6 +1778,105 @@ class BombValidationsApiService extends BaseService {
|
|
|
1778
1778
|
reportProgress: reportProgress,
|
|
1779
1779
|
});
|
|
1780
1780
|
}
|
|
1781
|
+
validationsDuplicateValidationLayer(requestParameters, observe = "body", reportProgress = false, options) {
|
|
1782
|
+
const validationLayerId = requestParameters?.validationLayerId;
|
|
1783
|
+
if (validationLayerId === null || validationLayerId === undefined) {
|
|
1784
|
+
throw new Error("Required parameter validationLayerId was null or undefined when calling validationsDuplicateValidationLayer.");
|
|
1785
|
+
}
|
|
1786
|
+
const duplicateBombLayerDto = requestParameters?.duplicateBombLayerDto;
|
|
1787
|
+
let localVarHeaders = this.defaultHeaders;
|
|
1788
|
+
// authentication (Bearer) required
|
|
1789
|
+
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
|
+
]);
|
|
1796
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
1797
|
+
localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
|
|
1798
|
+
}
|
|
1799
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
1800
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
1801
|
+
// to determine the Content-Type header
|
|
1802
|
+
const consumes = [
|
|
1803
|
+
"application/json-patch+json",
|
|
1804
|
+
"application/json",
|
|
1805
|
+
"text/json",
|
|
1806
|
+
"application/*+json",
|
|
1807
|
+
];
|
|
1808
|
+
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
1809
|
+
if (httpContentTypeSelected !== undefined) {
|
|
1810
|
+
localVarHeaders = localVarHeaders.set("Content-Type", httpContentTypeSelected);
|
|
1811
|
+
}
|
|
1812
|
+
let responseType_ = "json";
|
|
1813
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
1814
|
+
if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
|
|
1815
|
+
responseType_ = "text";
|
|
1816
|
+
}
|
|
1817
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
1818
|
+
responseType_ = "json";
|
|
1819
|
+
}
|
|
1820
|
+
else {
|
|
1821
|
+
responseType_ = "blob";
|
|
1822
|
+
}
|
|
1823
|
+
}
|
|
1824
|
+
let localVarPath = `/api/bomb/validations/${this.configuration.encodeParam({ name: "validationLayerId", value: validationLayerId, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int64" })}/duplicate`;
|
|
1825
|
+
const { basePath, withCredentials } = this.configuration;
|
|
1826
|
+
return this.httpClient.request("post", `${basePath}${localVarPath}`, {
|
|
1827
|
+
context: localVarHttpContext,
|
|
1828
|
+
body: duplicateBombLayerDto,
|
|
1829
|
+
responseType: responseType_,
|
|
1830
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
1831
|
+
headers: localVarHeaders,
|
|
1832
|
+
observe: observe,
|
|
1833
|
+
transferCache: localVarTransferCache,
|
|
1834
|
+
reportProgress: reportProgress,
|
|
1835
|
+
});
|
|
1836
|
+
}
|
|
1837
|
+
validationsSearchValidationLayers(requestParameters, observe = "body", reportProgress = false, options) {
|
|
1838
|
+
const parentLayerId = requestParameters?.parentLayerId;
|
|
1839
|
+
let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
|
|
1840
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, parentLayerId, "ParentLayerId");
|
|
1841
|
+
let localVarHeaders = this.defaultHeaders;
|
|
1842
|
+
// authentication (Bearer) required
|
|
1843
|
+
localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
|
|
1844
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ??
|
|
1845
|
+
this.configuration.selectHeaderAccept([
|
|
1846
|
+
"text/plain",
|
|
1847
|
+
"application/json",
|
|
1848
|
+
"text/json",
|
|
1849
|
+
]);
|
|
1850
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
1851
|
+
localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
|
|
1852
|
+
}
|
|
1853
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
1854
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
1855
|
+
let responseType_ = "json";
|
|
1856
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
1857
|
+
if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
|
|
1858
|
+
responseType_ = "text";
|
|
1859
|
+
}
|
|
1860
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
1861
|
+
responseType_ = "json";
|
|
1862
|
+
}
|
|
1863
|
+
else {
|
|
1864
|
+
responseType_ = "blob";
|
|
1865
|
+
}
|
|
1866
|
+
}
|
|
1867
|
+
let localVarPath = `/api/bomb/validations`;
|
|
1868
|
+
const { basePath, withCredentials } = this.configuration;
|
|
1869
|
+
return this.httpClient.request("get", `${basePath}${localVarPath}`, {
|
|
1870
|
+
context: localVarHttpContext,
|
|
1871
|
+
params: localVarQueryParameters,
|
|
1872
|
+
responseType: responseType_,
|
|
1873
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
1874
|
+
headers: localVarHeaders,
|
|
1875
|
+
observe: observe,
|
|
1876
|
+
transferCache: localVarTransferCache,
|
|
1877
|
+
reportProgress: reportProgress,
|
|
1878
|
+
});
|
|
1879
|
+
}
|
|
1781
1880
|
validationsUpdateValidationLayer(requestParameters, observe = "body", reportProgress = false, options) {
|
|
1782
1881
|
const validationLayerId = requestParameters?.validationLayerId;
|
|
1783
1882
|
if (validationLayerId === null || validationLayerId === undefined) {
|
|
@@ -11991,6 +12090,16 @@ var UserStatus;
|
|
|
11991
12090
|
UserStatus["Deactivated"] = "Deactivated";
|
|
11992
12091
|
})(UserStatus || (UserStatus = {}));
|
|
11993
12092
|
|
|
12093
|
+
/**
|
|
12094
|
+
* RenewAire CORES API
|
|
12095
|
+
*
|
|
12096
|
+
* Contact: renewaire@saritasa.com
|
|
12097
|
+
*
|
|
12098
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12099
|
+
* https://openapi-generator.tech
|
|
12100
|
+
* Do not edit the class manually.
|
|
12101
|
+
*/
|
|
12102
|
+
|
|
11994
12103
|
/**
|
|
11995
12104
|
* RenewAire CORES API
|
|
11996
12105
|
*
|