@saritasa/renewaire-frontend-sdk 0.138.3 → 0.139.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.138.3
1
+ # @@saritasa/renewaire-frontend-sdk@0.139.0
2
2
 
3
3
  ```bash
4
- npm install @saritasa/renewaire-frontend-sdk@0.138.3 --save
4
+ npm install @saritasa/renewaire-frontend-sdk@0.139.0 --save
5
5
  ```
@@ -3102,6 +3102,49 @@ class ProjectRevisionsApiService extends BaseService {
3102
3102
  reportProgress: reportProgress,
3103
3103
  });
3104
3104
  }
3105
+ projectRevisionsGetProjectRevisionLogs(requestParameters, observe = "body", reportProgress = false, options) {
3106
+ const projectRevisionId = requestParameters?.projectRevisionId;
3107
+ if (projectRevisionId === null || projectRevisionId === undefined) {
3108
+ throw new Error("Required parameter projectRevisionId was null or undefined when calling projectRevisionsGetProjectRevisionLogs.");
3109
+ }
3110
+ let localVarHeaders = this.defaultHeaders;
3111
+ // authentication (Bearer) required
3112
+ localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
3113
+ const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ??
3114
+ this.configuration.selectHeaderAccept([
3115
+ "text/plain",
3116
+ "application/json",
3117
+ "text/json",
3118
+ ]);
3119
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
3120
+ localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
3121
+ }
3122
+ const localVarHttpContext = options?.context ?? new HttpContext();
3123
+ const localVarTransferCache = options?.transferCache ?? true;
3124
+ let responseType_ = "json";
3125
+ if (localVarHttpHeaderAcceptSelected) {
3126
+ if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
3127
+ responseType_ = "text";
3128
+ }
3129
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
3130
+ responseType_ = "json";
3131
+ }
3132
+ else {
3133
+ responseType_ = "blob";
3134
+ }
3135
+ }
3136
+ let localVarPath = `/api/project-revisions/${this.configuration.encodeParam({ name: "projectRevisionId", value: projectRevisionId, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int64" })}/logs`;
3137
+ const { basePath, withCredentials } = this.configuration;
3138
+ return this.httpClient.request("get", `${basePath}${localVarPath}`, {
3139
+ context: localVarHttpContext,
3140
+ responseType: responseType_,
3141
+ ...(withCredentials ? { withCredentials } : {}),
3142
+ headers: localVarHeaders,
3143
+ observe: observe,
3144
+ transferCache: localVarTransferCache,
3145
+ reportProgress: reportProgress,
3146
+ });
3147
+ }
3105
3148
  projectRevisionsRemoveRevision(requestParameters, observe = "body", reportProgress = false, options) {
3106
3149
  const projectRevisionId = requestParameters?.projectRevisionId;
3107
3150
  if (projectRevisionId === null || projectRevisionId === undefined) {
@@ -9503,6 +9546,24 @@ var ProjectBidStatusType;
9503
9546
  * Do not edit the class manually.
9504
9547
  */
9505
9548
 
9549
+ /**
9550
+ * RenewAire CORES API
9551
+ *
9552
+ * Contact: renewaire@saritasa.com
9553
+ *
9554
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9555
+ * https://openapi-generator.tech
9556
+ * Do not edit the class manually.
9557
+ */
9558
+ /**
9559
+ * Project log type.<br />ProjectLogType<br />0 = StatusChange<br />1 = Save
9560
+ */
9561
+ var ProjectLogType;
9562
+ (function (ProjectLogType) {
9563
+ ProjectLogType["StatusChange"] = "StatusChange";
9564
+ ProjectLogType["Save"] = "Save";
9565
+ })(ProjectLogType || (ProjectLogType = {}));
9566
+
9506
9567
  /**
9507
9568
  * RenewAire CORES API
9508
9569
  *
@@ -10056,5 +10117,5 @@ function provideApi(configOrBasePath) {
10056
10117
  * Generated bundle index. Do not edit.
10057
10118
  */
10058
10119
 
10059
- export { APIS, AddressCountry, ApiModule, AshraeVersion, AuditEntity, AuditLogsApiService, AuthApiService, BASE_PATH, BuildingCategory, BuildingType, COLLECTION_FORMATS, Configuration, ConstructionOrderType, ControllerProgramReleaseType, ControllerProgramType, ControllerProgramsApiService, CoolingDesignBasis, DesignWeatherMode, FeedbackType, FeedbacksApiService, FileType, GroupCustomerType, GroupType, GroupsApiService, KnownContactsApiService, Language, LeadTimeType, LeadTimesApiService, MaintenanceApiService, OperationType, Permission, PermissionBundlesApiService, PermissionsApiService, ProjectBidStatusType, ProjectBidStatusesApiService, ProjectLinksApiService, ProjectNoteType, ProjectNotesApiService, ProjectRevisionsApiService, ProjectSharingAccessLevel, ProjectSharingApiService, ProjectStatus, ProjectStatusesApiService, ProjectsApiService, QualifiedSpecificationStatus, RegionLevel, RegionsApiService, RegistrationStatus, RepContactsApiService, RepSalesReportsApiService, RepTerritoriesApiService, RepTerritoryLocationsApiService, RsdRegionsApiService, S3ApiService, StaticFilesApiService, UnitSystem, UserStatus, UserTablesApiService, UsersApiService, UsersManagementApiService, provideApi };
10120
+ export { APIS, AddressCountry, ApiModule, AshraeVersion, AuditEntity, AuditLogsApiService, AuthApiService, BASE_PATH, BuildingCategory, BuildingType, COLLECTION_FORMATS, Configuration, ConstructionOrderType, ControllerProgramReleaseType, ControllerProgramType, ControllerProgramsApiService, CoolingDesignBasis, DesignWeatherMode, FeedbackType, FeedbacksApiService, FileType, GroupCustomerType, GroupType, GroupsApiService, KnownContactsApiService, Language, LeadTimeType, LeadTimesApiService, MaintenanceApiService, OperationType, Permission, PermissionBundlesApiService, PermissionsApiService, ProjectBidStatusType, ProjectBidStatusesApiService, ProjectLinksApiService, ProjectLogType, ProjectNoteType, ProjectNotesApiService, ProjectRevisionsApiService, ProjectSharingAccessLevel, ProjectSharingApiService, ProjectStatus, ProjectStatusesApiService, ProjectsApiService, QualifiedSpecificationStatus, RegionLevel, RegionsApiService, RegistrationStatus, RepContactsApiService, RepSalesReportsApiService, RepTerritoriesApiService, RepTerritoryLocationsApiService, RsdRegionsApiService, S3ApiService, StaticFilesApiService, UnitSystem, UserStatus, UserTablesApiService, UsersApiService, UsersManagementApiService, provideApi };
10060
10121
  //# sourceMappingURL=saritasa-renewaire-frontend-sdk.mjs.map