@saritasa/renewaire-frontend-sdk 0.265.0 → 0.267.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
|
@@ -6662,6 +6662,92 @@ class ProjectQuotesApiService extends BaseService {
|
|
|
6662
6662
|
reportProgress: reportProgress,
|
|
6663
6663
|
});
|
|
6664
6664
|
}
|
|
6665
|
+
projectQuoteGetProjectQuoteLogFileDownloadUrl(requestParameters, observe = "body", reportProgress = false, options) {
|
|
6666
|
+
const projectQuoteLogId = requestParameters?.projectQuoteLogId;
|
|
6667
|
+
if (projectQuoteLogId === null || projectQuoteLogId === undefined) {
|
|
6668
|
+
throw new Error("Required parameter projectQuoteLogId was null or undefined when calling projectQuoteGetProjectQuoteLogFileDownloadUrl.");
|
|
6669
|
+
}
|
|
6670
|
+
let localVarHeaders = this.defaultHeaders;
|
|
6671
|
+
// authentication (Bearer) required
|
|
6672
|
+
localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
|
|
6673
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([]);
|
|
6674
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
6675
|
+
localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
|
|
6676
|
+
}
|
|
6677
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
6678
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
6679
|
+
let responseType_ = "json";
|
|
6680
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
6681
|
+
if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
|
|
6682
|
+
responseType_ = "text";
|
|
6683
|
+
}
|
|
6684
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
6685
|
+
responseType_ = "json";
|
|
6686
|
+
}
|
|
6687
|
+
else {
|
|
6688
|
+
responseType_ = "blob";
|
|
6689
|
+
}
|
|
6690
|
+
}
|
|
6691
|
+
let localVarPath = `/api/project-revisions/quote-logs/${this.configuration.encodeParam({ name: "projectQuoteLogId", value: projectQuoteLogId, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int64" })}/download-url`;
|
|
6692
|
+
const { basePath, withCredentials } = this.configuration;
|
|
6693
|
+
return this.httpClient.request("get", `${basePath}${localVarPath}`, {
|
|
6694
|
+
context: localVarHttpContext,
|
|
6695
|
+
responseType: responseType_,
|
|
6696
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
6697
|
+
headers: localVarHeaders,
|
|
6698
|
+
observe: observe,
|
|
6699
|
+
transferCache: localVarTransferCache,
|
|
6700
|
+
reportProgress: reportProgress,
|
|
6701
|
+
});
|
|
6702
|
+
}
|
|
6703
|
+
projectQuoteSearchProjectQuoteLogs(requestParameters, observe = "body", reportProgress = false, options) {
|
|
6704
|
+
const projectRevisionId = requestParameters?.projectRevisionId;
|
|
6705
|
+
if (projectRevisionId === null || projectRevisionId === undefined) {
|
|
6706
|
+
throw new Error("Required parameter projectRevisionId was null or undefined when calling projectQuoteSearchProjectQuoteLogs.");
|
|
6707
|
+
}
|
|
6708
|
+
const orderBy = requestParameters?.orderBy;
|
|
6709
|
+
let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
|
|
6710
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, projectRevisionId, "ProjectRevisionId");
|
|
6711
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, orderBy, "OrderBy");
|
|
6712
|
+
let localVarHeaders = this.defaultHeaders;
|
|
6713
|
+
// authentication (Bearer) required
|
|
6714
|
+
localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
|
|
6715
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ??
|
|
6716
|
+
this.configuration.selectHeaderAccept([
|
|
6717
|
+
"text/plain",
|
|
6718
|
+
"application/json",
|
|
6719
|
+
"text/json",
|
|
6720
|
+
]);
|
|
6721
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
6722
|
+
localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
|
|
6723
|
+
}
|
|
6724
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
6725
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
6726
|
+
let responseType_ = "json";
|
|
6727
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
6728
|
+
if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
|
|
6729
|
+
responseType_ = "text";
|
|
6730
|
+
}
|
|
6731
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
6732
|
+
responseType_ = "json";
|
|
6733
|
+
}
|
|
6734
|
+
else {
|
|
6735
|
+
responseType_ = "blob";
|
|
6736
|
+
}
|
|
6737
|
+
}
|
|
6738
|
+
let localVarPath = `/api/project-revisions/quote-logs`;
|
|
6739
|
+
const { basePath, withCredentials } = this.configuration;
|
|
6740
|
+
return this.httpClient.request("get", `${basePath}${localVarPath}`, {
|
|
6741
|
+
context: localVarHttpContext,
|
|
6742
|
+
params: localVarQueryParameters,
|
|
6743
|
+
responseType: responseType_,
|
|
6744
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
6745
|
+
headers: localVarHeaders,
|
|
6746
|
+
observe: observe,
|
|
6747
|
+
transferCache: localVarTransferCache,
|
|
6748
|
+
reportProgress: reportProgress,
|
|
6749
|
+
});
|
|
6750
|
+
}
|
|
6665
6751
|
projectQuoteUpdateProjectQuoteCustomItems(requestParameters, observe = "body", reportProgress = false, options) {
|
|
6666
6752
|
const projectRevisionId = requestParameters?.projectRevisionId;
|
|
6667
6753
|
if (projectRevisionId === null || projectRevisionId === undefined) {
|