@saritasa/renewaire-frontend-sdk 0.261.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.261.0
1
+ # @@saritasa/renewaire-frontend-sdk@0.263.0
2
2
 
3
3
  ```bash
4
- npm install @saritasa/renewaire-frontend-sdk@0.261.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) {
@@ -13454,6 +13510,18 @@ var DesignWeatherMode;
13454
13510
  * https://openapi-generator.tech
13455
13511
  * Do not edit the class manually.
13456
13512
  */
13513
+ /**
13514
+ * Download layer type.<br />DownloadType<br />0 = Schematic<br />1 = Manual<br />2 = Drawing<br />3 = Spec<br />4 = Submittal<br />5 = Misc
13515
+ */
13516
+ var DownloadType;
13517
+ (function (DownloadType) {
13518
+ DownloadType["Schematic"] = "Schematic";
13519
+ DownloadType["Manual"] = "Manual";
13520
+ DownloadType["Drawing"] = "Drawing";
13521
+ DownloadType["Spec"] = "Spec";
13522
+ DownloadType["Submittal"] = "Submittal";
13523
+ DownloadType["Misc"] = "Misc";
13524
+ })(DownloadType || (DownloadType = {}));
13457
13525
 
13458
13526
  /**
13459
13527
  * RenewAire CORES API
@@ -13528,7 +13596,7 @@ var FeedbackType;
13528
13596
  * Do not edit the class manually.
13529
13597
  */
13530
13598
  /**
13531
- * 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
13532
13600
  */
13533
13601
  var FileType;
13534
13602
  (function (FileType) {
@@ -13540,7 +13608,7 @@ var FileType;
13540
13608
  FileType["DownloadLayerFile"] = "DownloadLayerFile";
13541
13609
  FileType["QualifiedSpecification"] = "QualifiedSpecification";
13542
13610
  FileType["ProjectDiscountAttachment"] = "ProjectDiscountAttachment";
13543
- FileType["DrawingLayerFile"] = "DrawingLayerFile";
13611
+ FileType["ProjectQuoteLog"] = "ProjectQuoteLog";
13544
13612
  })(FileType || (FileType = {}));
13545
13613
 
13546
13614
  /**
@@ -14221,6 +14289,16 @@ var ProjectNoteType;
14221
14289
  ProjectNoteType["SalesChannel"] = "SalesChannel";
14222
14290
  })(ProjectNoteType || (ProjectNoteType = {}));
14223
14291
 
14292
+ /**
14293
+ * RenewAire CORES API
14294
+ *
14295
+ * Contact: renewaire@saritasa.com
14296
+ *
14297
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
14298
+ * https://openapi-generator.tech
14299
+ * Do not edit the class manually.
14300
+ */
14301
+
14224
14302
  /**
14225
14303
  * RenewAire CORES API
14226
14304
  *
@@ -14929,5 +15007,5 @@ function provideApi(configOrBasePath) {
14929
15007
  * Generated bundle index. Do not edit.
14930
15008
  */
14931
15009
 
14932
- export { APIS, AddressCountry, ApiModule, AshraeVersion, AuditEntity, AuditLogsApiService, AuthApiService, BASE_PATH, BombDownloadsApiService, BombMaterialsApiService, BombParametersApiService, BombRoutingsApiService, BombSchematicsApiService, BombValidationsApiService, BuildingCategory, BuildingType, COLLECTION_FORMATS, Configuration, ConstructionOrderType, ControllerProgramReleaseType, ControllerProgramType, ControllerProgramsApiService, CoolingDesignBasis, CsiApiService, DesignWeatherMode, FeedbackType, FeedbacksApiService, FileType, GroupCustomerType, GroupType, GroupsApiService, KnownContactsApiService, Language, LeadTimeType, LeadTimesApiService, MaintenanceApiService, ModelNumberValidationErrorType, OperationType, OperatorType, ParameterKind, ParameterType, PartsApiService, Permission, PermissionBundlesApiService, PermissionsApiService, PricingApiService, ProjectAccessLevel, ProjectBidStatusType, ProjectBidStatusesApiService, ProjectDiscountStatus, ProjectDiscountType, ProjectDiscountsApiService, ProjectLineStatus, ProjectLineType, ProjectLinesApiService, ProjectLinksApiService, ProjectLogType, ProjectNoteType, ProjectNotesApiService, ProjectQualifiedSpecificationsApiService, ProjectQuoteLogAccessoriesView, ProjectQuoteMultiplier, ProjectQuotePricing, ProjectQuotesApiService, ProjectRevisionsApiService, ProjectSharingAccessLevel, ProjectSharingApiService, ProjectShippingApiService, ProjectSoldToApiService, ProjectStatus, ProjectStatusesApiService, ProjectsApiService, QualifiedSpecificationStatus, RegionLevel, RegionsApiService, RegistrationStatus, RepContactsApiService, RepSalesReportsApiService, RepTerritoriesApiService, RepTerritoryLocationsApiService, RsdRegionsApiService, S3ApiService, StaticFilesApiService, UnitSystem, UserStatus, UserTablesApiService, UsersApiService, UsersManagementApiService, provideApi };
15010
+ export { APIS, AddressCountry, ApiModule, AshraeVersion, AuditEntity, AuditLogsApiService, AuthApiService, BASE_PATH, BombDownloadsApiService, BombMaterialsApiService, BombParametersApiService, BombRoutingsApiService, BombSchematicsApiService, BombValidationsApiService, BuildingCategory, BuildingType, COLLECTION_FORMATS, Configuration, ConstructionOrderType, ControllerProgramReleaseType, ControllerProgramType, ControllerProgramsApiService, CoolingDesignBasis, CsiApiService, DesignWeatherMode, DownloadType, FeedbackType, FeedbacksApiService, FileType, GroupCustomerType, GroupType, GroupsApiService, KnownContactsApiService, Language, LeadTimeType, LeadTimesApiService, MaintenanceApiService, ModelNumberValidationErrorType, OperationType, OperatorType, ParameterKind, ParameterType, PartsApiService, Permission, PermissionBundlesApiService, PermissionsApiService, PricingApiService, ProjectAccessLevel, ProjectBidStatusType, ProjectBidStatusesApiService, ProjectDiscountStatus, ProjectDiscountType, ProjectDiscountsApiService, ProjectLineStatus, ProjectLineType, ProjectLinesApiService, ProjectLinksApiService, ProjectLogType, ProjectNoteType, ProjectNotesApiService, ProjectQualifiedSpecificationsApiService, ProjectQuoteLogAccessoriesView, ProjectQuoteMultiplier, ProjectQuotePricing, ProjectQuotesApiService, ProjectRevisionsApiService, ProjectSharingAccessLevel, ProjectSharingApiService, ProjectShippingApiService, ProjectSoldToApiService, ProjectStatus, ProjectStatusesApiService, ProjectsApiService, QualifiedSpecificationStatus, RegionLevel, RegionsApiService, RegistrationStatus, RepContactsApiService, RepSalesReportsApiService, RepTerritoriesApiService, RepTerritoryLocationsApiService, RsdRegionsApiService, S3ApiService, StaticFilesApiService, UnitSystem, UserStatus, UserTablesApiService, UsersApiService, UsersManagementApiService, provideApi };
14933
15011
  //# sourceMappingURL=saritasa-renewaire-frontend-sdk.mjs.map