@saritasa/renewaire-frontend-sdk 0.262.0 → 0.263.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.262.0
1
+ # @@saritasa/renewaire-frontend-sdk@0.263.0
2
2
 
3
3
  ```bash
4
- npm install @saritasa/renewaire-frontend-sdk@0.262.0 --save
4
+ npm install @saritasa/renewaire-frontend-sdk@0.263.0 --save
5
5
  ```
@@ -6552,6 +6552,62 @@ class ProjectQuotesApiService extends BaseService {
6552
6552
  super(basePath, configuration);
6553
6553
  this.httpClient = httpClient;
6554
6554
  }
6555
+ projectQuoteCreateQuoteLog(requestParameters, observe = "body", reportProgress = false, options) {
6556
+ const projectRevisionId = requestParameters?.projectRevisionId;
6557
+ if (projectRevisionId === null || projectRevisionId === undefined) {
6558
+ throw new Error("Required parameter projectRevisionId was null or undefined when calling projectQuoteCreateQuoteLog.");
6559
+ }
6560
+ const createQuoteLogDto = requestParameters?.createQuoteLogDto;
6561
+ let localVarHeaders = this.defaultHeaders;
6562
+ // authentication (Bearer) required
6563
+ localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
6564
+ const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ??
6565
+ this.configuration.selectHeaderAccept([
6566
+ "text/plain",
6567
+ "application/json",
6568
+ "text/json",
6569
+ ]);
6570
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
6571
+ localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
6572
+ }
6573
+ const localVarHttpContext = options?.context ?? new HttpContext();
6574
+ const localVarTransferCache = options?.transferCache ?? true;
6575
+ // to determine the Content-Type header
6576
+ const consumes = [
6577
+ "application/json-patch+json",
6578
+ "application/json",
6579
+ "text/json",
6580
+ "application/*+json",
6581
+ ];
6582
+ const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
6583
+ if (httpContentTypeSelected !== undefined) {
6584
+ localVarHeaders = localVarHeaders.set("Content-Type", httpContentTypeSelected);
6585
+ }
6586
+ let responseType_ = "json";
6587
+ if (localVarHttpHeaderAcceptSelected) {
6588
+ if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
6589
+ responseType_ = "text";
6590
+ }
6591
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
6592
+ responseType_ = "json";
6593
+ }
6594
+ else {
6595
+ responseType_ = "blob";
6596
+ }
6597
+ }
6598
+ let localVarPath = `/api/project-revisions/${this.configuration.encodeParam({ name: "projectRevisionId", value: projectRevisionId, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int64" })}/quote`;
6599
+ const { basePath, withCredentials } = this.configuration;
6600
+ return this.httpClient.request("post", `${basePath}${localVarPath}`, {
6601
+ context: localVarHttpContext,
6602
+ body: createQuoteLogDto,
6603
+ responseType: responseType_,
6604
+ ...(withCredentials ? { withCredentials } : {}),
6605
+ headers: localVarHeaders,
6606
+ observe: observe,
6607
+ transferCache: localVarTransferCache,
6608
+ reportProgress: reportProgress,
6609
+ });
6610
+ }
6555
6611
  projectQuoteUpdateProjectQuoteCustomItems(requestParameters, observe = "body", reportProgress = false, options) {
6556
6612
  const projectRevisionId = requestParameters?.projectRevisionId;
6557
6613
  if (projectRevisionId === null || projectRevisionId === undefined) {
@@ -13540,7 +13596,7 @@ var FeedbackType;
13540
13596
  * Do not edit the class manually.
13541
13597
  */
13542
13598
  /**
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 = DrawingLayerFile
13599
+ * 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
13600
  */
13545
13601
  var FileType;
13546
13602
  (function (FileType) {
@@ -13552,7 +13608,7 @@ var FileType;
13552
13608
  FileType["DownloadLayerFile"] = "DownloadLayerFile";
13553
13609
  FileType["QualifiedSpecification"] = "QualifiedSpecification";
13554
13610
  FileType["ProjectDiscountAttachment"] = "ProjectDiscountAttachment";
13555
- FileType["DrawingLayerFile"] = "DrawingLayerFile";
13611
+ FileType["ProjectQuoteLog"] = "ProjectQuoteLog";
13556
13612
  })(FileType || (FileType = {}));
13557
13613
 
13558
13614
  /**