@saritasa/renewaire-frontend-sdk 0.262.0 → 0.264.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
|
@@ -1636,6 +1636,10 @@ class BombParametersApiService extends BaseService {
|
|
|
1636
1636
|
if (modelNumber === null || modelNumber === undefined) {
|
|
1637
1637
|
throw new Error("Required parameter modelNumber was null or undefined when calling modelParametersSearchMaterialLayersAggregate.");
|
|
1638
1638
|
}
|
|
1639
|
+
const grommets = requestParameters?.grommets;
|
|
1640
|
+
if (grommets === null || grommets === undefined) {
|
|
1641
|
+
throw new Error("Required parameter grommets was null or undefined when calling modelParametersSearchMaterialLayersAggregate.");
|
|
1642
|
+
}
|
|
1639
1643
|
const buildDate = requestParameters?.buildDate;
|
|
1640
1644
|
if (buildDate === null || buildDate === undefined) {
|
|
1641
1645
|
throw new Error("Required parameter buildDate was null or undefined when calling modelParametersSearchMaterialLayersAggregate.");
|
|
@@ -1648,6 +1652,11 @@ class BombParametersApiService extends BaseService {
|
|
|
1648
1652
|
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, element, "ModelParameters");
|
|
1649
1653
|
});
|
|
1650
1654
|
}
|
|
1655
|
+
if (grommets) {
|
|
1656
|
+
grommets.forEach((element) => {
|
|
1657
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, element, "Grommets");
|
|
1658
|
+
});
|
|
1659
|
+
}
|
|
1651
1660
|
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, buildDate, "BuildDate");
|
|
1652
1661
|
let localVarHeaders = this.defaultHeaders;
|
|
1653
1662
|
// authentication (Bearer) required
|
|
@@ -1693,6 +1702,10 @@ class BombParametersApiService extends BaseService {
|
|
|
1693
1702
|
if (modelNumber === null || modelNumber === undefined) {
|
|
1694
1703
|
throw new Error("Required parameter modelNumber was null or undefined when calling modelParametersSearchMaterialLayersNested.");
|
|
1695
1704
|
}
|
|
1705
|
+
const grommets = requestParameters?.grommets;
|
|
1706
|
+
if (grommets === null || grommets === undefined) {
|
|
1707
|
+
throw new Error("Required parameter grommets was null or undefined when calling modelParametersSearchMaterialLayersNested.");
|
|
1708
|
+
}
|
|
1696
1709
|
const buildDate = requestParameters?.buildDate;
|
|
1697
1710
|
if (buildDate === null || buildDate === undefined) {
|
|
1698
1711
|
throw new Error("Required parameter buildDate was null or undefined when calling modelParametersSearchMaterialLayersNested.");
|
|
@@ -1705,6 +1718,11 @@ class BombParametersApiService extends BaseService {
|
|
|
1705
1718
|
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, element, "ModelParameters");
|
|
1706
1719
|
});
|
|
1707
1720
|
}
|
|
1721
|
+
if (grommets) {
|
|
1722
|
+
grommets.forEach((element) => {
|
|
1723
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, element, "Grommets");
|
|
1724
|
+
});
|
|
1725
|
+
}
|
|
1708
1726
|
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, buildDate, "BuildDate");
|
|
1709
1727
|
let localVarHeaders = this.defaultHeaders;
|
|
1710
1728
|
// authentication (Bearer) required
|
|
@@ -1750,6 +1768,10 @@ class BombParametersApiService extends BaseService {
|
|
|
1750
1768
|
if (modelNumber === null || modelNumber === undefined) {
|
|
1751
1769
|
throw new Error("Required parameter modelNumber was null or undefined when calling modelParametersSearchModelDownloadLayers.");
|
|
1752
1770
|
}
|
|
1771
|
+
const grommets = requestParameters?.grommets;
|
|
1772
|
+
if (grommets === null || grommets === undefined) {
|
|
1773
|
+
throw new Error("Required parameter grommets was null or undefined when calling modelParametersSearchModelDownloadLayers.");
|
|
1774
|
+
}
|
|
1753
1775
|
const buildDate = requestParameters?.buildDate;
|
|
1754
1776
|
if (buildDate === null || buildDate === undefined) {
|
|
1755
1777
|
throw new Error("Required parameter buildDate was null or undefined when calling modelParametersSearchModelDownloadLayers.");
|
|
@@ -1762,6 +1784,11 @@ class BombParametersApiService extends BaseService {
|
|
|
1762
1784
|
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, element, "ModelParameters");
|
|
1763
1785
|
});
|
|
1764
1786
|
}
|
|
1787
|
+
if (grommets) {
|
|
1788
|
+
grommets.forEach((element) => {
|
|
1789
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, element, "Grommets");
|
|
1790
|
+
});
|
|
1791
|
+
}
|
|
1765
1792
|
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, buildDate, "BuildDate");
|
|
1766
1793
|
let localVarHeaders = this.defaultHeaders;
|
|
1767
1794
|
// authentication (Bearer) required
|
|
@@ -1807,6 +1834,10 @@ class BombParametersApiService extends BaseService {
|
|
|
1807
1834
|
if (modelNumber === null || modelNumber === undefined) {
|
|
1808
1835
|
throw new Error("Required parameter modelNumber was null or undefined when calling modelParametersSearchModelValidationLayers.");
|
|
1809
1836
|
}
|
|
1837
|
+
const grommets = requestParameters?.grommets;
|
|
1838
|
+
if (grommets === null || grommets === undefined) {
|
|
1839
|
+
throw new Error("Required parameter grommets was null or undefined when calling modelParametersSearchModelValidationLayers.");
|
|
1840
|
+
}
|
|
1810
1841
|
const buildDate = requestParameters?.buildDate;
|
|
1811
1842
|
if (buildDate === null || buildDate === undefined) {
|
|
1812
1843
|
throw new Error("Required parameter buildDate was null or undefined when calling modelParametersSearchModelValidationLayers.");
|
|
@@ -1819,6 +1850,11 @@ class BombParametersApiService extends BaseService {
|
|
|
1819
1850
|
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, element, "ModelParameters");
|
|
1820
1851
|
});
|
|
1821
1852
|
}
|
|
1853
|
+
if (grommets) {
|
|
1854
|
+
grommets.forEach((element) => {
|
|
1855
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, element, "Grommets");
|
|
1856
|
+
});
|
|
1857
|
+
}
|
|
1822
1858
|
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, buildDate, "BuildDate");
|
|
1823
1859
|
let localVarHeaders = this.defaultHeaders;
|
|
1824
1860
|
// authentication (Bearer) required
|
|
@@ -1864,6 +1900,10 @@ class BombParametersApiService extends BaseService {
|
|
|
1864
1900
|
if (modelNumber === null || modelNumber === undefined) {
|
|
1865
1901
|
throw new Error("Required parameter modelNumber was null or undefined when calling modelParametersSearchRoutingLayersAggregate.");
|
|
1866
1902
|
}
|
|
1903
|
+
const grommets = requestParameters?.grommets;
|
|
1904
|
+
if (grommets === null || grommets === undefined) {
|
|
1905
|
+
throw new Error("Required parameter grommets was null or undefined when calling modelParametersSearchRoutingLayersAggregate.");
|
|
1906
|
+
}
|
|
1867
1907
|
const buildDate = requestParameters?.buildDate;
|
|
1868
1908
|
if (buildDate === null || buildDate === undefined) {
|
|
1869
1909
|
throw new Error("Required parameter buildDate was null or undefined when calling modelParametersSearchRoutingLayersAggregate.");
|
|
@@ -1876,6 +1916,11 @@ class BombParametersApiService extends BaseService {
|
|
|
1876
1916
|
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, element, "ModelParameters");
|
|
1877
1917
|
});
|
|
1878
1918
|
}
|
|
1919
|
+
if (grommets) {
|
|
1920
|
+
grommets.forEach((element) => {
|
|
1921
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, element, "Grommets");
|
|
1922
|
+
});
|
|
1923
|
+
}
|
|
1879
1924
|
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, buildDate, "BuildDate");
|
|
1880
1925
|
let localVarHeaders = this.defaultHeaders;
|
|
1881
1926
|
// authentication (Bearer) required
|
|
@@ -1921,6 +1966,10 @@ class BombParametersApiService extends BaseService {
|
|
|
1921
1966
|
if (modelNumber === null || modelNumber === undefined) {
|
|
1922
1967
|
throw new Error("Required parameter modelNumber was null or undefined when calling modelParametersSearchRoutingLayersNested.");
|
|
1923
1968
|
}
|
|
1969
|
+
const grommets = requestParameters?.grommets;
|
|
1970
|
+
if (grommets === null || grommets === undefined) {
|
|
1971
|
+
throw new Error("Required parameter grommets was null or undefined when calling modelParametersSearchRoutingLayersNested.");
|
|
1972
|
+
}
|
|
1924
1973
|
const buildDate = requestParameters?.buildDate;
|
|
1925
1974
|
if (buildDate === null || buildDate === undefined) {
|
|
1926
1975
|
throw new Error("Required parameter buildDate was null or undefined when calling modelParametersSearchRoutingLayersNested.");
|
|
@@ -1933,6 +1982,11 @@ class BombParametersApiService extends BaseService {
|
|
|
1933
1982
|
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, element, "ModelParameters");
|
|
1934
1983
|
});
|
|
1935
1984
|
}
|
|
1985
|
+
if (grommets) {
|
|
1986
|
+
grommets.forEach((element) => {
|
|
1987
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, element, "Grommets");
|
|
1988
|
+
});
|
|
1989
|
+
}
|
|
1936
1990
|
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, buildDate, "BuildDate");
|
|
1937
1991
|
let localVarHeaders = this.defaultHeaders;
|
|
1938
1992
|
// authentication (Bearer) required
|
|
@@ -6552,6 +6606,62 @@ class ProjectQuotesApiService extends BaseService {
|
|
|
6552
6606
|
super(basePath, configuration);
|
|
6553
6607
|
this.httpClient = httpClient;
|
|
6554
6608
|
}
|
|
6609
|
+
projectQuoteCreateQuoteLog(requestParameters, observe = "body", reportProgress = false, options) {
|
|
6610
|
+
const projectRevisionId = requestParameters?.projectRevisionId;
|
|
6611
|
+
if (projectRevisionId === null || projectRevisionId === undefined) {
|
|
6612
|
+
throw new Error("Required parameter projectRevisionId was null or undefined when calling projectQuoteCreateQuoteLog.");
|
|
6613
|
+
}
|
|
6614
|
+
const createQuoteLogDto = requestParameters?.createQuoteLogDto;
|
|
6615
|
+
let localVarHeaders = this.defaultHeaders;
|
|
6616
|
+
// authentication (Bearer) required
|
|
6617
|
+
localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
|
|
6618
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ??
|
|
6619
|
+
this.configuration.selectHeaderAccept([
|
|
6620
|
+
"text/plain",
|
|
6621
|
+
"application/json",
|
|
6622
|
+
"text/json",
|
|
6623
|
+
]);
|
|
6624
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
6625
|
+
localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
|
|
6626
|
+
}
|
|
6627
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
6628
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
6629
|
+
// to determine the Content-Type header
|
|
6630
|
+
const consumes = [
|
|
6631
|
+
"application/json-patch+json",
|
|
6632
|
+
"application/json",
|
|
6633
|
+
"text/json",
|
|
6634
|
+
"application/*+json",
|
|
6635
|
+
];
|
|
6636
|
+
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
6637
|
+
if (httpContentTypeSelected !== undefined) {
|
|
6638
|
+
localVarHeaders = localVarHeaders.set("Content-Type", httpContentTypeSelected);
|
|
6639
|
+
}
|
|
6640
|
+
let responseType_ = "json";
|
|
6641
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
6642
|
+
if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
|
|
6643
|
+
responseType_ = "text";
|
|
6644
|
+
}
|
|
6645
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
6646
|
+
responseType_ = "json";
|
|
6647
|
+
}
|
|
6648
|
+
else {
|
|
6649
|
+
responseType_ = "blob";
|
|
6650
|
+
}
|
|
6651
|
+
}
|
|
6652
|
+
let localVarPath = `/api/project-revisions/${this.configuration.encodeParam({ name: "projectRevisionId", value: projectRevisionId, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int64" })}/quote`;
|
|
6653
|
+
const { basePath, withCredentials } = this.configuration;
|
|
6654
|
+
return this.httpClient.request("post", `${basePath}${localVarPath}`, {
|
|
6655
|
+
context: localVarHttpContext,
|
|
6656
|
+
body: createQuoteLogDto,
|
|
6657
|
+
responseType: responseType_,
|
|
6658
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
6659
|
+
headers: localVarHeaders,
|
|
6660
|
+
observe: observe,
|
|
6661
|
+
transferCache: localVarTransferCache,
|
|
6662
|
+
reportProgress: reportProgress,
|
|
6663
|
+
});
|
|
6664
|
+
}
|
|
6555
6665
|
projectQuoteUpdateProjectQuoteCustomItems(requestParameters, observe = "body", reportProgress = false, options) {
|
|
6556
6666
|
const projectRevisionId = requestParameters?.projectRevisionId;
|
|
6557
6667
|
if (projectRevisionId === null || projectRevisionId === undefined) {
|
|
@@ -13540,7 +13650,7 @@ var FeedbackType;
|
|
|
13540
13650
|
* Do not edit the class manually.
|
|
13541
13651
|
*/
|
|
13542
13652
|
/**
|
|
13543
|
-
* File type.<br />FileType<br />0 = RsdRegionDocument<br />1 = ControllerProgram<br />2 = RepSalesReport<br />3 = ProjectNoteAttachment<br />4 = BidStatusAttachment<br />5 = DownloadLayerFile<br />6 = QualifiedSpecification<br />7 = ProjectDiscountAttachment<br />8 =
|
|
13653
|
+
* File type.<br />FileType<br />0 = RsdRegionDocument<br />1 = ControllerProgram<br />2 = RepSalesReport<br />3 = ProjectNoteAttachment<br />4 = BidStatusAttachment<br />5 = DownloadLayerFile<br />6 = QualifiedSpecification<br />7 = ProjectDiscountAttachment<br />8 = ProjectQuoteLog
|
|
13544
13654
|
*/
|
|
13545
13655
|
var FileType;
|
|
13546
13656
|
(function (FileType) {
|
|
@@ -13552,7 +13662,7 @@ var FileType;
|
|
|
13552
13662
|
FileType["DownloadLayerFile"] = "DownloadLayerFile";
|
|
13553
13663
|
FileType["QualifiedSpecification"] = "QualifiedSpecification";
|
|
13554
13664
|
FileType["ProjectDiscountAttachment"] = "ProjectDiscountAttachment";
|
|
13555
|
-
FileType["
|
|
13665
|
+
FileType["ProjectQuoteLog"] = "ProjectQuoteLog";
|
|
13556
13666
|
})(FileType || (FileType = {}));
|
|
13557
13667
|
|
|
13558
13668
|
/**
|
|
@@ -13575,6 +13685,16 @@ var FileType;
|
|
|
13575
13685
|
* Do not edit the class manually.
|
|
13576
13686
|
*/
|
|
13577
13687
|
|
|
13688
|
+
/**
|
|
13689
|
+
* RenewAire CORES API
|
|
13690
|
+
*
|
|
13691
|
+
* Contact: renewaire@saritasa.com
|
|
13692
|
+
*
|
|
13693
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
13694
|
+
* https://openapi-generator.tech
|
|
13695
|
+
* Do not edit the class manually.
|
|
13696
|
+
*/
|
|
13697
|
+
|
|
13578
13698
|
/**
|
|
13579
13699
|
* RenewAire CORES API
|
|
13580
13700
|
*
|