@saritasa/renewaire-frontend-sdk 0.99.1 → 0.104.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.99.1
1
+ # @@saritasa/renewaire-frontend-sdk@0.104.0
2
2
 
3
3
  ```bash
4
- npm install @saritasa/renewaire-frontend-sdk@0.99.1 --save
4
+ npm install @saritasa/renewaire-frontend-sdk@0.104.0 --save
5
5
  ```
@@ -1748,6 +1748,75 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.4", ngImpor
1748
1748
  type: Optional
1749
1749
  }] }] });
1750
1750
 
1751
+ /**
1752
+ * RenewAire CORES API
1753
+ *
1754
+ * Contact: renewaire@saritasa.com
1755
+ *
1756
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1757
+ * https://openapi-generator.tech
1758
+ * Do not edit the class manually.
1759
+ */
1760
+ /* tslint:disable:no-unused-variable member-ordering */
1761
+ class MaintenanceApiService extends BaseService {
1762
+ httpClient;
1763
+ constructor(httpClient, basePath, configuration) {
1764
+ super(basePath, configuration);
1765
+ this.httpClient = httpClient;
1766
+ }
1767
+ maintenanceSetMaintenanceMode(requestParameters, observe = "body", reportProgress = false, options) {
1768
+ const enabled = requestParameters?.enabled;
1769
+ let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
1770
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, enabled, "enabled");
1771
+ let localVarHeaders = this.defaultHeaders;
1772
+ const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([]);
1773
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
1774
+ localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
1775
+ }
1776
+ const localVarHttpContext = options?.context ?? new HttpContext();
1777
+ const localVarTransferCache = options?.transferCache ?? true;
1778
+ let responseType_ = "json";
1779
+ if (localVarHttpHeaderAcceptSelected) {
1780
+ if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
1781
+ responseType_ = "text";
1782
+ }
1783
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
1784
+ responseType_ = "json";
1785
+ }
1786
+ else {
1787
+ responseType_ = "blob";
1788
+ }
1789
+ }
1790
+ let localVarPath = `/api/maintenance`;
1791
+ const { basePath, withCredentials } = this.configuration;
1792
+ return this.httpClient.request("put", `${basePath}${localVarPath}`, {
1793
+ context: localVarHttpContext,
1794
+ params: localVarQueryParameters,
1795
+ responseType: responseType_,
1796
+ ...(withCredentials ? { withCredentials } : {}),
1797
+ headers: localVarHeaders,
1798
+ observe: observe,
1799
+ transferCache: localVarTransferCache,
1800
+ reportProgress: reportProgress,
1801
+ });
1802
+ }
1803
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: MaintenanceApiService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
1804
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: MaintenanceApiService, providedIn: "root" });
1805
+ }
1806
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: MaintenanceApiService, decorators: [{
1807
+ type: Injectable,
1808
+ args: [{
1809
+ providedIn: "root",
1810
+ }]
1811
+ }], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
1812
+ type: Optional
1813
+ }, {
1814
+ type: Inject,
1815
+ args: [BASE_PATH]
1816
+ }] }, { type: Configuration, decorators: [{
1817
+ type: Optional
1818
+ }] }] });
1819
+
1751
1820
  /**
1752
1821
  * RenewAire CORES API
1753
1822
  *
@@ -5723,8 +5792,6 @@ class UsersApiService extends BaseService {
5723
5792
  throw new Error("Required parameter userId was null or undefined when calling usersGetUserPermissions.");
5724
5793
  }
5725
5794
  let localVarHeaders = this.defaultHeaders;
5726
- // authentication (Bearer) required
5727
- localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
5728
5795
  const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ??
5729
5796
  this.configuration.selectHeaderAccept([
5730
5797
  "text/plain",
@@ -7249,6 +7316,7 @@ const APIS = [
7249
7316
  GroupsApiService,
7250
7317
  KnownContactsApiService,
7251
7318
  LeadTimesApiService,
7319
+ MaintenanceApiService,
7252
7320
  PermissionBundlesApiService,
7253
7321
  PermissionsApiService,
7254
7322
  ProjectStatusesApiService,
@@ -8352,5 +8420,5 @@ function provideApi(configOrBasePath) {
8352
8420
  * Generated bundle index. Do not edit.
8353
8421
  */
8354
8422
 
8355
- 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, Permission, PermissionBundlesApiService, PermissionsApiService, ProjectStatus, ProjectStatusesApiService, ProjectsApiService, RegionLevel, RegionsApiService, RegistrationStatus, RepContactsApiService, RepSalesReportsApiService, RepTerritoriesApiService, RepTerritoryLocationsApiService, RsdRegionsApiService, S3ApiService, StaticFilesApiService, UnitSystem, UserDesignConditionsApiService, UserStatus, UserTablesApiService, UsersApiService, UsersManagementApiService, provideApi };
8423
+ 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, Permission, PermissionBundlesApiService, PermissionsApiService, ProjectStatus, ProjectStatusesApiService, ProjectsApiService, RegionLevel, RegionsApiService, RegistrationStatus, RepContactsApiService, RepSalesReportsApiService, RepTerritoriesApiService, RepTerritoryLocationsApiService, RsdRegionsApiService, S3ApiService, StaticFilesApiService, UnitSystem, UserDesignConditionsApiService, UserStatus, UserTablesApiService, UsersApiService, UsersManagementApiService, provideApi };
8356
8424
  //# sourceMappingURL=saritasa-renewaire-frontend-sdk.mjs.map