@robotbas/robotcloud-client 0.3.3 → 0.3.4

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.
@@ -1,2 +1,2 @@
1
- export { ab as RobotCloudPermissionsHelper, aa as robotCloudPermissionsHelper, a9 as tagsHelper } from '../index-B8PC1dr5.mjs';
1
+ export { ab as RobotCloudPermissionsHelper, aa as robotCloudPermissionsHelper, a9 as tagsHelper } from '../index-CxEoN2em.mjs';
2
2
  import 'axios';
@@ -1,2 +1,2 @@
1
- export { ab as RobotCloudPermissionsHelper, aa as robotCloudPermissionsHelper, a9 as tagsHelper } from '../index-B8PC1dr5.js';
1
+ export { ab as RobotCloudPermissionsHelper, aa as robotCloudPermissionsHelper, a9 as tagsHelper } from '../index-CxEoN2em.js';
2
2
  import 'axios';
@@ -431,10 +431,10 @@ interface ServiceInstanceDataClient<T> {
431
431
  getAll(prjId: string, params?: ServiceDataRequestParams): Promise<AxiosResponse<ServiceDataMeasurement<T>[]>>;
432
432
  }
433
433
 
434
- interface ServiceInstanceAlertClient<T> {
434
+ interface ServiceInstanceAlertsClient<T> {
435
435
 
436
436
  /**
437
- * Get Alert for a given project and instance
437
+ * Get Alerts for a given project and instance
438
438
  * @param prjId - The project ID
439
439
  * @param instanceId - The instance ID
440
440
  * @param params - The request parameters
@@ -453,7 +453,7 @@ interface ServiceInstanceAlertClient<T> {
453
453
 
454
454
  interface ServiceInstanceHistoricClient<T> {
455
455
 
456
- getInstanceHistoric(
456
+ get(
457
457
  prjId: string,
458
458
  instanceId: string,
459
459
  startTime: Date,
@@ -461,7 +461,7 @@ interface ServiceInstanceHistoricClient<T> {
461
461
  params: ServiceInstanceHistoricParams
462
462
  ): Promise<AxiosResponse<ServiceDataMeasurement<T>[]>>;
463
463
 
464
- getInstanceHistoricAggregate(
464
+ getAggregate(
465
465
  prjId: string,
466
466
  instanceId: string,
467
467
  startTime: Date,
@@ -476,7 +476,7 @@ interface ServiceInstanceHistoricClient<T> {
476
476
  interface ServiceTypeClient<T_DATA, T_ALERTS, T_CONFIG> {
477
477
  get configuration(): ServiceInstanceConfigClient<T_CONFIG>;
478
478
  get data(): ServiceInstanceDataClient<T_DATA>;
479
- get alert(): ServiceInstanceAlertClient<T_ALERTS>;
479
+ get alerts(): ServiceInstanceAlertsClient<T_ALERTS>;
480
480
  get historic(): ServiceInstanceHistoricClient<T_DATA>;
481
481
  }
482
482
 
@@ -640,4 +640,4 @@ declare const robotCloudPermissionsHelper: RobotCloudPermissionsHelper;
640
640
 
641
641
  declare const tagsHelper: TagsHelper;
642
642
 
643
- export { type RobotCloudProjectDetails as $, type AlertsProjectStatsRequestParams as A, type ServiceDataRequestParams as B, type ServiceInstanceAlertClient as C, type ServiceInstanceAlertRequestParams as D, type ServiceAlertRequestParams as E, type ServiceInstanceHistoricClient as F, type ServiceInstanceHistoricParams as G, type HistoricAggregateFunction as H, type ServiceInstanceHistoricAggregateParams as I, type RoomClime1AlertEventValue as J, type ServiceTypeClient as K, type AirQuality1DataEventValue as L, type AirQuality1AlertEventValue as M, type RoomConsumes1AlertEventValue as N, type RobotCloudRobotCloudDeviceCreate as O, type ProjectClassifiersRequestParams as P, type RobotCloudDeviceDetails as Q, type RobotCloudOrganizations as R, type SubsystemRequestParams as S, type TemperatureUnit as T, type RobotCloudRobotCloudDeviceModify as U, type RobotCloudDeviceConfiguration as V, type ProjectLocationsRequestParams as W, type RobotCloudProject as X, type RobotCloudCreateProject as Y, type ProjectsRequestParams as Z, type ProjectDetailsRequestParams as _, type RobotCloudCreateOrganization as a, type RobotCloudPutProject as a0, type RobotCloudProjectUsers as a1, type RobotCloudProjectApplications as a2, type RobotCloudApplicationEnable as a3, type ServiceInstancesRequestParams as a4, type RobotCloudServiceTypeDetails as a5, type LocationServiceInstancesRequestParams as a6, type ServiceInstanceRead as a7, tagsClient as a8, tagsHelper as a9, robotCloudPermissionsHelper as aa, type RobotCloudPermissionsHelper as ab, type ProjectTagTreeNode as ac, type ProjectTagsTree as ad, type ProjectTag as ae, type ProjectModifyTag as af, type ProjectTagDetails as ag, type PaginableRequestParams as ah, type SortableListRequestParams as ai, type SubsystemTagsRequestParams as aj, type BaseFullPaginableRequestParams as ak, type ProjectTagRequestParams as al, type OrganizationAccessLevel as am, type ProjectAccessLevel as an, type AppAccessLevel as ao, type RobotCloudServiceType as ap, type FancoilSpeedState as aq, type RobotCloudUserAppAccess as ar, type RobotCloudCreateUser as as, type RobotCloudProjectInstances as at, type MeasurementStatus as au, type AirHandlingUnit1AlertEventValue as av, type AirHandlingUnit1DataEventValue as aw, type ChillerHeatingPump1DataEventValue as ax, type ChillerHeatingPump1AlertEventValue as ay, type RoomGuestStatus1AlertEventValue as az, type RobotCloudOrganizationDetails as b, type RobotCloudPutOrganization as c, type RobotCloudDelete as d, type RobotCloudOrganizationUsers as e, type RobotCloudOrganizationCreateUser as f, type RobotCloudUsers as g, type RobotCloudUserDetails as h, type RobotCloudPutUserDetails as i, type RobotCloudUserOrganization as j, type RobotCloudUserProject as k, type RobotCloudPostUserProject as l, type RobotCloudPutProjectUser as m, type AlertLogsListRequestParams as n, type RobotCloudNamedItem as o, type RobotCloudUserSimple as p, type AlertAggregatedLogsRequestParams as q, type RobotCloudDescribedItem as r, type RobotCloudCreateApplication as s, type RobotCloudGetApplication as t, type RobotCloudPutApplication as u, type RegimState as v, type ServiceInstanceConfigClient as w, type ServiceInstanceDataClient as x, type ServiceInstanceDataRequestParams as y, type ServiceDataMeasurement as z };
643
+ export { type RobotCloudProjectDetails as $, type AlertsProjectStatsRequestParams as A, type ServiceDataRequestParams as B, type ServiceInstanceAlertsClient as C, type ServiceInstanceAlertRequestParams as D, type ServiceAlertRequestParams as E, type ServiceInstanceHistoricClient as F, type ServiceInstanceHistoricParams as G, type HistoricAggregateFunction as H, type ServiceInstanceHistoricAggregateParams as I, type RoomClime1AlertEventValue as J, type ServiceTypeClient as K, type AirQuality1DataEventValue as L, type AirQuality1AlertEventValue as M, type RoomConsumes1AlertEventValue as N, type RobotCloudRobotCloudDeviceCreate as O, type ProjectClassifiersRequestParams as P, type RobotCloudDeviceDetails as Q, type RobotCloudOrganizations as R, type SubsystemRequestParams as S, type TemperatureUnit as T, type RobotCloudRobotCloudDeviceModify as U, type RobotCloudDeviceConfiguration as V, type ProjectLocationsRequestParams as W, type RobotCloudProject as X, type RobotCloudCreateProject as Y, type ProjectsRequestParams as Z, type ProjectDetailsRequestParams as _, type RobotCloudCreateOrganization as a, type RobotCloudPutProject as a0, type RobotCloudProjectUsers as a1, type RobotCloudProjectApplications as a2, type RobotCloudApplicationEnable as a3, type ServiceInstancesRequestParams as a4, type RobotCloudServiceTypeDetails as a5, type LocationServiceInstancesRequestParams as a6, type ServiceInstanceRead as a7, tagsClient as a8, tagsHelper as a9, robotCloudPermissionsHelper as aa, type RobotCloudPermissionsHelper as ab, type ProjectTagTreeNode as ac, type ProjectTagsTree as ad, type ProjectTag as ae, type ProjectModifyTag as af, type ProjectTagDetails as ag, type PaginableRequestParams as ah, type SortableListRequestParams as ai, type SubsystemTagsRequestParams as aj, type BaseFullPaginableRequestParams as ak, type ProjectTagRequestParams as al, type OrganizationAccessLevel as am, type ProjectAccessLevel as an, type AppAccessLevel as ao, type RobotCloudServiceType as ap, type FancoilSpeedState as aq, type RobotCloudUserAppAccess as ar, type RobotCloudCreateUser as as, type RobotCloudProjectInstances as at, type MeasurementStatus as au, type AirHandlingUnit1AlertEventValue as av, type AirHandlingUnit1DataEventValue as aw, type ChillerHeatingPump1DataEventValue as ax, type ChillerHeatingPump1AlertEventValue as ay, type RoomGuestStatus1AlertEventValue as az, type RobotCloudOrganizationDetails as b, type RobotCloudPutOrganization as c, type RobotCloudDelete as d, type RobotCloudOrganizationUsers as e, type RobotCloudOrganizationCreateUser as f, type RobotCloudUsers as g, type RobotCloudUserDetails as h, type RobotCloudPutUserDetails as i, type RobotCloudUserOrganization as j, type RobotCloudUserProject as k, type RobotCloudPostUserProject as l, type RobotCloudPutProjectUser as m, type AlertLogsListRequestParams as n, type RobotCloudNamedItem as o, type RobotCloudUserSimple as p, type AlertAggregatedLogsRequestParams as q, type RobotCloudDescribedItem as r, type RobotCloudCreateApplication as s, type RobotCloudGetApplication as t, type RobotCloudPutApplication as u, type RegimState as v, type ServiceInstanceConfigClient as w, type ServiceInstanceDataClient as x, type ServiceInstanceDataRequestParams as y, type ServiceDataMeasurement as z };
@@ -431,10 +431,10 @@ interface ServiceInstanceDataClient<T> {
431
431
  getAll(prjId: string, params?: ServiceDataRequestParams): Promise<AxiosResponse<ServiceDataMeasurement<T>[]>>;
432
432
  }
433
433
 
434
- interface ServiceInstanceAlertClient<T> {
434
+ interface ServiceInstanceAlertsClient<T> {
435
435
 
436
436
  /**
437
- * Get Alert for a given project and instance
437
+ * Get Alerts for a given project and instance
438
438
  * @param prjId - The project ID
439
439
  * @param instanceId - The instance ID
440
440
  * @param params - The request parameters
@@ -453,7 +453,7 @@ interface ServiceInstanceAlertClient<T> {
453
453
 
454
454
  interface ServiceInstanceHistoricClient<T> {
455
455
 
456
- getInstanceHistoric(
456
+ get(
457
457
  prjId: string,
458
458
  instanceId: string,
459
459
  startTime: Date,
@@ -461,7 +461,7 @@ interface ServiceInstanceHistoricClient<T> {
461
461
  params: ServiceInstanceHistoricParams
462
462
  ): Promise<AxiosResponse<ServiceDataMeasurement<T>[]>>;
463
463
 
464
- getInstanceHistoricAggregate(
464
+ getAggregate(
465
465
  prjId: string,
466
466
  instanceId: string,
467
467
  startTime: Date,
@@ -476,7 +476,7 @@ interface ServiceInstanceHistoricClient<T> {
476
476
  interface ServiceTypeClient<T_DATA, T_ALERTS, T_CONFIG> {
477
477
  get configuration(): ServiceInstanceConfigClient<T_CONFIG>;
478
478
  get data(): ServiceInstanceDataClient<T_DATA>;
479
- get alert(): ServiceInstanceAlertClient<T_ALERTS>;
479
+ get alerts(): ServiceInstanceAlertsClient<T_ALERTS>;
480
480
  get historic(): ServiceInstanceHistoricClient<T_DATA>;
481
481
  }
482
482
 
@@ -640,4 +640,4 @@ declare const robotCloudPermissionsHelper: RobotCloudPermissionsHelper;
640
640
 
641
641
  declare const tagsHelper: TagsHelper;
642
642
 
643
- export { type RobotCloudProjectDetails as $, type AlertsProjectStatsRequestParams as A, type ServiceDataRequestParams as B, type ServiceInstanceAlertClient as C, type ServiceInstanceAlertRequestParams as D, type ServiceAlertRequestParams as E, type ServiceInstanceHistoricClient as F, type ServiceInstanceHistoricParams as G, type HistoricAggregateFunction as H, type ServiceInstanceHistoricAggregateParams as I, type RoomClime1AlertEventValue as J, type ServiceTypeClient as K, type AirQuality1DataEventValue as L, type AirQuality1AlertEventValue as M, type RoomConsumes1AlertEventValue as N, type RobotCloudRobotCloudDeviceCreate as O, type ProjectClassifiersRequestParams as P, type RobotCloudDeviceDetails as Q, type RobotCloudOrganizations as R, type SubsystemRequestParams as S, type TemperatureUnit as T, type RobotCloudRobotCloudDeviceModify as U, type RobotCloudDeviceConfiguration as V, type ProjectLocationsRequestParams as W, type RobotCloudProject as X, type RobotCloudCreateProject as Y, type ProjectsRequestParams as Z, type ProjectDetailsRequestParams as _, type RobotCloudCreateOrganization as a, type RobotCloudPutProject as a0, type RobotCloudProjectUsers as a1, type RobotCloudProjectApplications as a2, type RobotCloudApplicationEnable as a3, type ServiceInstancesRequestParams as a4, type RobotCloudServiceTypeDetails as a5, type LocationServiceInstancesRequestParams as a6, type ServiceInstanceRead as a7, tagsClient as a8, tagsHelper as a9, robotCloudPermissionsHelper as aa, type RobotCloudPermissionsHelper as ab, type ProjectTagTreeNode as ac, type ProjectTagsTree as ad, type ProjectTag as ae, type ProjectModifyTag as af, type ProjectTagDetails as ag, type PaginableRequestParams as ah, type SortableListRequestParams as ai, type SubsystemTagsRequestParams as aj, type BaseFullPaginableRequestParams as ak, type ProjectTagRequestParams as al, type OrganizationAccessLevel as am, type ProjectAccessLevel as an, type AppAccessLevel as ao, type RobotCloudServiceType as ap, type FancoilSpeedState as aq, type RobotCloudUserAppAccess as ar, type RobotCloudCreateUser as as, type RobotCloudProjectInstances as at, type MeasurementStatus as au, type AirHandlingUnit1AlertEventValue as av, type AirHandlingUnit1DataEventValue as aw, type ChillerHeatingPump1DataEventValue as ax, type ChillerHeatingPump1AlertEventValue as ay, type RoomGuestStatus1AlertEventValue as az, type RobotCloudOrganizationDetails as b, type RobotCloudPutOrganization as c, type RobotCloudDelete as d, type RobotCloudOrganizationUsers as e, type RobotCloudOrganizationCreateUser as f, type RobotCloudUsers as g, type RobotCloudUserDetails as h, type RobotCloudPutUserDetails as i, type RobotCloudUserOrganization as j, type RobotCloudUserProject as k, type RobotCloudPostUserProject as l, type RobotCloudPutProjectUser as m, type AlertLogsListRequestParams as n, type RobotCloudNamedItem as o, type RobotCloudUserSimple as p, type AlertAggregatedLogsRequestParams as q, type RobotCloudDescribedItem as r, type RobotCloudCreateApplication as s, type RobotCloudGetApplication as t, type RobotCloudPutApplication as u, type RegimState as v, type ServiceInstanceConfigClient as w, type ServiceInstanceDataClient as x, type ServiceInstanceDataRequestParams as y, type ServiceDataMeasurement as z };
643
+ export { type RobotCloudProjectDetails as $, type AlertsProjectStatsRequestParams as A, type ServiceDataRequestParams as B, type ServiceInstanceAlertsClient as C, type ServiceInstanceAlertRequestParams as D, type ServiceAlertRequestParams as E, type ServiceInstanceHistoricClient as F, type ServiceInstanceHistoricParams as G, type HistoricAggregateFunction as H, type ServiceInstanceHistoricAggregateParams as I, type RoomClime1AlertEventValue as J, type ServiceTypeClient as K, type AirQuality1DataEventValue as L, type AirQuality1AlertEventValue as M, type RoomConsumes1AlertEventValue as N, type RobotCloudRobotCloudDeviceCreate as O, type ProjectClassifiersRequestParams as P, type RobotCloudDeviceDetails as Q, type RobotCloudOrganizations as R, type SubsystemRequestParams as S, type TemperatureUnit as T, type RobotCloudRobotCloudDeviceModify as U, type RobotCloudDeviceConfiguration as V, type ProjectLocationsRequestParams as W, type RobotCloudProject as X, type RobotCloudCreateProject as Y, type ProjectsRequestParams as Z, type ProjectDetailsRequestParams as _, type RobotCloudCreateOrganization as a, type RobotCloudPutProject as a0, type RobotCloudProjectUsers as a1, type RobotCloudProjectApplications as a2, type RobotCloudApplicationEnable as a3, type ServiceInstancesRequestParams as a4, type RobotCloudServiceTypeDetails as a5, type LocationServiceInstancesRequestParams as a6, type ServiceInstanceRead as a7, tagsClient as a8, tagsHelper as a9, robotCloudPermissionsHelper as aa, type RobotCloudPermissionsHelper as ab, type ProjectTagTreeNode as ac, type ProjectTagsTree as ad, type ProjectTag as ae, type ProjectModifyTag as af, type ProjectTagDetails as ag, type PaginableRequestParams as ah, type SortableListRequestParams as ai, type SubsystemTagsRequestParams as aj, type BaseFullPaginableRequestParams as ak, type ProjectTagRequestParams as al, type OrganizationAccessLevel as am, type ProjectAccessLevel as an, type AppAccessLevel as ao, type RobotCloudServiceType as ap, type FancoilSpeedState as aq, type RobotCloudUserAppAccess as ar, type RobotCloudCreateUser as as, type RobotCloudProjectInstances as at, type MeasurementStatus as au, type AirHandlingUnit1AlertEventValue as av, type AirHandlingUnit1DataEventValue as aw, type ChillerHeatingPump1DataEventValue as ax, type ChillerHeatingPump1AlertEventValue as ay, type RoomGuestStatus1AlertEventValue as az, type RobotCloudOrganizationDetails as b, type RobotCloudPutOrganization as c, type RobotCloudDelete as d, type RobotCloudOrganizationUsers as e, type RobotCloudOrganizationCreateUser as f, type RobotCloudUsers as g, type RobotCloudUserDetails as h, type RobotCloudPutUserDetails as i, type RobotCloudUserOrganization as j, type RobotCloudUserProject as k, type RobotCloudPostUserProject as l, type RobotCloudPutProjectUser as m, type AlertLogsListRequestParams as n, type RobotCloudNamedItem as o, type RobotCloudUserSimple as p, type AlertAggregatedLogsRequestParams as q, type RobotCloudDescribedItem as r, type RobotCloudCreateApplication as s, type RobotCloudGetApplication as t, type RobotCloudPutApplication as u, type RegimState as v, type ServiceInstanceConfigClient as w, type ServiceInstanceDataClient as x, type ServiceInstanceDataRequestParams as y, type ServiceDataMeasurement as z };
package/dist/index.d.mts CHANGED
@@ -1,7 +1,7 @@
1
1
  import * as axios from 'axios';
2
2
  import { AxiosResponse, AxiosInstance } from 'axios';
3
- import { R as RobotCloudOrganizations, a as RobotCloudCreateOrganization, b as RobotCloudOrganizationDetails, c as RobotCloudPutOrganization, d as RobotCloudDelete, e as RobotCloudOrganizationUsers, f as RobotCloudOrganizationCreateUser, g as RobotCloudUsers, h as RobotCloudUserDetails, i as RobotCloudPutUserDetails, j as RobotCloudUserOrganization, k as RobotCloudUserProject, l as RobotCloudPostUserProject, m as RobotCloudPutProjectUser, A as AlertsProjectStatsRequestParams, n as AlertLogsListRequestParams, o as RobotCloudNamedItem, p as RobotCloudUserSimple, q as AlertAggregatedLogsRequestParams, S as SubsystemRequestParams, r as RobotCloudDescribedItem, s as RobotCloudCreateApplication, t as RobotCloudGetApplication, u as RobotCloudPutApplication, v as RegimState, T as TemperatureUnit, w as ServiceInstanceConfigClient, x as ServiceInstanceDataClient, y as ServiceInstanceDataRequestParams, z as ServiceDataMeasurement, B as ServiceDataRequestParams, C as ServiceInstanceAlertClient, D as ServiceInstanceAlertRequestParams, E as ServiceAlertRequestParams, F as ServiceInstanceHistoricClient, G as ServiceInstanceHistoricParams, H as HistoricAggregateFunction, I as ServiceInstanceHistoricAggregateParams, J as RoomClime1AlertEventValue, K as ServiceTypeClient, L as AirQuality1DataEventValue, M as AirQuality1AlertEventValue, N as RoomConsumes1AlertEventValue, P as ProjectClassifiersRequestParams, O as RobotCloudRobotCloudDeviceCreate, Q as RobotCloudDeviceDetails, U as RobotCloudRobotCloudDeviceModify, V as RobotCloudDeviceConfiguration, W as ProjectLocationsRequestParams, X as RobotCloudProject, Y as RobotCloudCreateProject, Z as ProjectsRequestParams, _ as ProjectDetailsRequestParams, $ as RobotCloudProjectDetails, a0 as RobotCloudPutProject, a1 as RobotCloudProjectUsers, a2 as RobotCloudProjectApplications, a3 as RobotCloudApplicationEnable, a4 as ServiceInstancesRequestParams, a5 as RobotCloudServiceTypeDetails, a6 as LocationServiceInstancesRequestParams, a7 as ServiceInstanceRead } from './index-B8PC1dr5.mjs';
4
- export { av as AirHandlingUnit1AlertEventValue, aw as AirHandlingUnit1DataEventValue, ao as AppAccessLevel, ak as BaseFullPaginableRequestParams, ay as ChillerHeatingPump1AlertEventValue, ax as ChillerHeatingPump1DataEventValue, aq as FancoilSpeedState, au as MeasurementStatus, am as OrganizationAccessLevel, ah as PaginableRequestParams, an as ProjectAccessLevel, af as ProjectModifyTag, ae as ProjectTag, ag as ProjectTagDetails, al as ProjectTagRequestParams, ac as ProjectTagTreeNode, ad as ProjectTagsTree, as as RobotCloudCreateUser, ab as RobotCloudPermissionsHelper, at as RobotCloudProjectInstances, ap as RobotCloudServiceType, ar as RobotCloudUserAppAccess, az as RoomGuestStatus1AlertEventValue, ai as SortableListRequestParams, aj as SubsystemTagsRequestParams, aa as robotCloudPermissionsHelper, a8 as tagsClient, a9 as tagsHelper } from './index-B8PC1dr5.mjs';
3
+ import { R as RobotCloudOrganizations, a as RobotCloudCreateOrganization, b as RobotCloudOrganizationDetails, c as RobotCloudPutOrganization, d as RobotCloudDelete, e as RobotCloudOrganizationUsers, f as RobotCloudOrganizationCreateUser, g as RobotCloudUsers, h as RobotCloudUserDetails, i as RobotCloudPutUserDetails, j as RobotCloudUserOrganization, k as RobotCloudUserProject, l as RobotCloudPostUserProject, m as RobotCloudPutProjectUser, A as AlertsProjectStatsRequestParams, n as AlertLogsListRequestParams, o as RobotCloudNamedItem, p as RobotCloudUserSimple, q as AlertAggregatedLogsRequestParams, S as SubsystemRequestParams, r as RobotCloudDescribedItem, s as RobotCloudCreateApplication, t as RobotCloudGetApplication, u as RobotCloudPutApplication, v as RegimState, T as TemperatureUnit, w as ServiceInstanceConfigClient, x as ServiceInstanceDataClient, y as ServiceInstanceDataRequestParams, z as ServiceDataMeasurement, B as ServiceDataRequestParams, C as ServiceInstanceAlertsClient, D as ServiceInstanceAlertRequestParams, E as ServiceAlertRequestParams, F as ServiceInstanceHistoricClient, G as ServiceInstanceHistoricParams, H as HistoricAggregateFunction, I as ServiceInstanceHistoricAggregateParams, J as RoomClime1AlertEventValue, K as ServiceTypeClient, L as AirQuality1DataEventValue, M as AirQuality1AlertEventValue, N as RoomConsumes1AlertEventValue, P as ProjectClassifiersRequestParams, O as RobotCloudRobotCloudDeviceCreate, Q as RobotCloudDeviceDetails, U as RobotCloudRobotCloudDeviceModify, V as RobotCloudDeviceConfiguration, W as ProjectLocationsRequestParams, X as RobotCloudProject, Y as RobotCloudCreateProject, Z as ProjectsRequestParams, _ as ProjectDetailsRequestParams, $ as RobotCloudProjectDetails, a0 as RobotCloudPutProject, a1 as RobotCloudProjectUsers, a2 as RobotCloudProjectApplications, a3 as RobotCloudApplicationEnable, a4 as ServiceInstancesRequestParams, a5 as RobotCloudServiceTypeDetails, a6 as LocationServiceInstancesRequestParams, a7 as ServiceInstanceRead } from './index-CxEoN2em.mjs';
4
+ export { av as AirHandlingUnit1AlertEventValue, aw as AirHandlingUnit1DataEventValue, ao as AppAccessLevel, ak as BaseFullPaginableRequestParams, ay as ChillerHeatingPump1AlertEventValue, ax as ChillerHeatingPump1DataEventValue, aq as FancoilSpeedState, au as MeasurementStatus, am as OrganizationAccessLevel, ah as PaginableRequestParams, an as ProjectAccessLevel, af as ProjectModifyTag, ae as ProjectTag, ag as ProjectTagDetails, al as ProjectTagRequestParams, ac as ProjectTagTreeNode, ad as ProjectTagsTree, as as RobotCloudCreateUser, ab as RobotCloudPermissionsHelper, at as RobotCloudProjectInstances, ap as RobotCloudServiceType, ar as RobotCloudUserAppAccess, az as RoomGuestStatus1AlertEventValue, ai as SortableListRequestParams, aj as SubsystemTagsRequestParams, aa as robotCloudPermissionsHelper, a8 as tagsClient, a9 as tagsHelper } from './index-CxEoN2em.mjs';
5
5
 
6
6
  declare const robotcloudApi: axios.AxiosInstance;
7
7
 
@@ -336,7 +336,7 @@ declare class GenericInstanceDataClient<T> implements ServiceInstanceDataClient<
336
336
  get(prjId: string, instanceId: string, params?: ServiceInstanceDataRequestParams): Promise<AxiosResponse<ServiceDataMeasurement<T>>>;
337
337
  getAll(prjId: string, params?: ServiceDataRequestParams): Promise<AxiosResponse<ServiceDataMeasurement<T>[]>>;
338
338
  }
339
- declare class GenericInstanceAlertClient<T> implements ServiceInstanceAlertClient<T> {
339
+ declare class GenericInstanceAlertClient<T> implements ServiceInstanceAlertsClient<T> {
340
340
  private readonly serviceName;
341
341
  constructor(serviceName: string);
342
342
  get(prjId: string, instanceId: string, params?: ServiceInstanceAlertRequestParams): Promise<AxiosResponse<ServiceDataMeasurement<T>>>;
@@ -345,8 +345,8 @@ declare class GenericInstanceAlertClient<T> implements ServiceInstanceAlertClien
345
345
  declare class GenericInstanceHistoricClient<T> implements ServiceInstanceHistoricClient<T> {
346
346
  private readonly serviceName;
347
347
  constructor(serviceName: string);
348
- getInstanceHistoric(prjId: string, instanceId: string, startTime: Date, endTime: Date, params: ServiceInstanceHistoricParams): Promise<AxiosResponse<ServiceDataMeasurement<T>[]>>;
349
- getInstanceHistoricAggregate(prjId: string, instanceId: string, startTime: Date, endTime: Date, aggFunction: HistoricAggregateFunction, periode: string, params: ServiceInstanceHistoricAggregateParams): Promise<AxiosResponse<ServiceDataMeasurement<T>[]>>;
348
+ get(prjId: string, instanceId: string, startTime: Date, endTime: Date, params: ServiceInstanceHistoricParams): Promise<AxiosResponse<ServiceDataMeasurement<T>[]>>;
349
+ getAggregate(prjId: string, instanceId: string, startTime: Date, endTime: Date, aggFunction: HistoricAggregateFunction, periode: string, params: ServiceInstanceHistoricAggregateParams): Promise<AxiosResponse<ServiceDataMeasurement<T>[]>>;
350
350
  }
351
351
 
352
352
  type RoomClimeAlertsKeys = "high_temperature" | "low_temperature" | "high_humidity" | "fancoil_on_overtime";
@@ -369,7 +369,7 @@ declare class RoomClimeClient {
369
369
  private _historicClient;
370
370
  get configuration(): RoomClimeConfigClient;
371
371
  get data(): RoomClimeDataClient;
372
- get alert(): RoomClimeAlertClient;
372
+ get alerts(): RoomClimeAlertClient;
373
373
  get historic(): RoomClimeHistoricClient;
374
374
  constructor();
375
375
  }
@@ -394,7 +394,7 @@ declare class RoomGuestStatusClient implements ServiceTypeClient<RoomGuestStatus
394
394
  private _historicClient;
395
395
  get configuration(): RoomGuestStatusConfigClient;
396
396
  get data(): RoomGuestStatusDataClient;
397
- get alert(): RoomGuestStatusAlertClient;
397
+ get alerts(): RoomGuestStatusAlertClient;
398
398
  get historic(): RoomGuestStatusHistoricClient;
399
399
  constructor();
400
400
  }
@@ -419,7 +419,7 @@ declare class AirQualityClient implements ServiceTypeClient<AirQuality1DataEvent
419
419
  private _historicClient;
420
420
  get configuration(): AirQualityConfigClient;
421
421
  get data(): AirQualityDataClient;
422
- get alert(): AirQualityAlertClient;
422
+ get alerts(): AirQualityAlertClient;
423
423
  get historic(): AirQualityHistoricClient;
424
424
  constructor();
425
425
  }
@@ -444,7 +444,7 @@ declare class RoomConsumesClient implements ServiceTypeClient<RoomConsumes1Data,
444
444
  private _historicClient;
445
445
  get configuration(): RoomConsumesConfigClient;
446
446
  get data(): RoomConsumesDataClient;
447
- get alert(): RoomConsumesAlertClient;
447
+ get alerts(): RoomConsumesAlertClient;
448
448
  get historic(): RoomConsumesHistoricClient;
449
449
  constructor();
450
450
  }
@@ -469,7 +469,7 @@ declare class RoomGroupingClient implements ServiceTypeClient<RoomGrouping1DataE
469
469
  private _historicClient;
470
470
  get configuration(): RoomGroupingConfigClient;
471
471
  get data(): RoomGroupingDataClient;
472
- get alert(): RoomGroupingAlertClient;
472
+ get alerts(): RoomGroupingAlertClient;
473
473
  get historic(): RoomGroupingHistoricClient;
474
474
  constructor();
475
475
  }
@@ -647,4 +647,4 @@ declare const alertsClient: AlertsClient;
647
647
  declare const organizationsClient: OrganizationsClient;
648
648
  declare const usersClient: UsersClient;
649
649
 
650
- export { type AirHandlingUnitConfigurationParams, AirQuality1AlertEventValue, AirQuality1DataEventValue, type AirQualityConfigurationParams, AlertAggregatedLogsRequestParams, type AlertLogAckAlerts, type AlertLogLine, AlertLogsListRequestParams, type AlertsClient, type AlertsLogsAggregated, type AlertsLogsList, type AlertsLogsStats, AlertsProjectStatsRequestParams, ApplicationsClient, type CheckTokenResponse, type ChillerHeatingPumpConfigurationParams, type Classifier, type ClassifierCreate, type ClassifierDetails, type ClassifierModify, type CreateServiceInstance, HistoricAggregateFunction, LocationServiceInstancesRequestParams, type LoginClient, type ModifyServiceInstanceDetails, OrganizationsClient, ProjectClassifiersRequestParams, ProjectDetailsRequestParams, ProjectLocationsRequestParams, type ProjectSizeInstances, ProjectsRequestParams, RegimState, RobotCloudApplicationEnable, RobotCloudClientConfig, RobotCloudCreateApplication, RobotCloudCreateOrganization, RobotCloudCreateProject, RobotCloudDelete, RobotCloudDescribedItem, RobotCloudDeviceConfiguration, RobotCloudDeviceDetails, RobotCloudGetApplication, type RobotCloudJWTPayload, RobotCloudNamedItem, RobotCloudOrganizationCreateUser, RobotCloudOrganizationDetails, RobotCloudOrganizationUsers, RobotCloudOrganizations, RobotCloudPostUserProject, RobotCloudProject, RobotCloudProjectApplications, RobotCloudProjectDetails, RobotCloudProjectUsers, RobotCloudPutApplication, RobotCloudPutOrganization, RobotCloudPutProject, RobotCloudPutProjectUser, RobotCloudPutUserDetails, RobotCloudRobotCloudDeviceCreate, RobotCloudRobotCloudDeviceModify, type RobotCloudServiceInstance, RobotCloudServiceTypeDetails, RobotCloudUserDetails, RobotCloudUserOrganization, RobotCloudUserProject, RobotCloudUserSimple, RobotCloudUsers, RoomClime1AlertEventValue, type RoomClime1Data, type RoomClimeAlertsKeys, RoomClimeClient, type RoomClimeConfigurationParams, RoomConsumes1AlertEventValue, type RoomConsumes1Data, type RoomConsumesConfigurationParams, type RoomGrouping1DataEventValue, type RoomGrouping1InstanceDeviceConfig, type RoomGroupingConfigurationParams, type RoomGuestStatus1Data, type RoomGuestStatusConfigurationParams, ServiceAlertRequestParams, ServiceDataMeasurement, ServiceDataRequestParams, ServiceInstanceAlertClient, ServiceInstanceAlertRequestParams, ServiceInstanceConfigClient, ServiceInstanceDataClient, ServiceInstanceDataRequestParams, type ServiceInstanceDetails, type ServiceInstanceDeviceConfig, type ServiceInstanceDevicesInfo, ServiceInstanceHistoricAggregateParams, ServiceInstanceHistoricClient, ServiceInstanceHistoricParams, ServiceInstanceRead, ServiceInstancesRequestParams, ServiceTypeClient, type SessionTokenResponse, SubsystemRequestParams, TemperatureUnit, type TokenResponse, UsersClient, airQualityClient, alertsClient, applicationsClient, classifiersClient, clientConfig, devicesClient, locationsClient, loginClient, organizationsClient, projectsClient, robotCloudToken, robotcloudApi, roomClimeClient, roomConsumesClient, roomGroupingClient, roomGuestStatusClient, serviceInstancesClient, subsystemsClient, usersClient };
650
+ export { type AirHandlingUnitConfigurationParams, AirQuality1AlertEventValue, AirQuality1DataEventValue, type AirQualityConfigurationParams, AlertAggregatedLogsRequestParams, type AlertLogAckAlerts, type AlertLogLine, AlertLogsListRequestParams, type AlertsClient, type AlertsLogsAggregated, type AlertsLogsList, type AlertsLogsStats, AlertsProjectStatsRequestParams, ApplicationsClient, type CheckTokenResponse, type ChillerHeatingPumpConfigurationParams, type Classifier, type ClassifierCreate, type ClassifierDetails, type ClassifierModify, type CreateServiceInstance, HistoricAggregateFunction, LocationServiceInstancesRequestParams, type LoginClient, type ModifyServiceInstanceDetails, OrganizationsClient, ProjectClassifiersRequestParams, ProjectDetailsRequestParams, ProjectLocationsRequestParams, type ProjectSizeInstances, ProjectsRequestParams, RegimState, RobotCloudApplicationEnable, RobotCloudClientConfig, RobotCloudCreateApplication, RobotCloudCreateOrganization, RobotCloudCreateProject, RobotCloudDelete, RobotCloudDescribedItem, RobotCloudDeviceConfiguration, RobotCloudDeviceDetails, RobotCloudGetApplication, type RobotCloudJWTPayload, RobotCloudNamedItem, RobotCloudOrganizationCreateUser, RobotCloudOrganizationDetails, RobotCloudOrganizationUsers, RobotCloudOrganizations, RobotCloudPostUserProject, RobotCloudProject, RobotCloudProjectApplications, RobotCloudProjectDetails, RobotCloudProjectUsers, RobotCloudPutApplication, RobotCloudPutOrganization, RobotCloudPutProject, RobotCloudPutProjectUser, RobotCloudPutUserDetails, RobotCloudRobotCloudDeviceCreate, RobotCloudRobotCloudDeviceModify, type RobotCloudServiceInstance, RobotCloudServiceTypeDetails, RobotCloudUserDetails, RobotCloudUserOrganization, RobotCloudUserProject, RobotCloudUserSimple, RobotCloudUsers, RoomClime1AlertEventValue, type RoomClime1Data, type RoomClimeAlertsKeys, RoomClimeClient, type RoomClimeConfigurationParams, RoomConsumes1AlertEventValue, type RoomConsumes1Data, type RoomConsumesConfigurationParams, type RoomGrouping1DataEventValue, type RoomGrouping1InstanceDeviceConfig, type RoomGroupingConfigurationParams, type RoomGuestStatus1Data, type RoomGuestStatusConfigurationParams, ServiceAlertRequestParams, ServiceDataMeasurement, ServiceDataRequestParams, ServiceInstanceAlertRequestParams, ServiceInstanceAlertsClient, ServiceInstanceConfigClient, ServiceInstanceDataClient, ServiceInstanceDataRequestParams, type ServiceInstanceDetails, type ServiceInstanceDeviceConfig, type ServiceInstanceDevicesInfo, ServiceInstanceHistoricAggregateParams, ServiceInstanceHistoricClient, ServiceInstanceHistoricParams, ServiceInstanceRead, ServiceInstancesRequestParams, ServiceTypeClient, type SessionTokenResponse, SubsystemRequestParams, TemperatureUnit, type TokenResponse, UsersClient, airQualityClient, alertsClient, applicationsClient, classifiersClient, clientConfig, devicesClient, locationsClient, loginClient, organizationsClient, projectsClient, robotCloudToken, robotcloudApi, roomClimeClient, roomConsumesClient, roomGroupingClient, roomGuestStatusClient, serviceInstancesClient, subsystemsClient, usersClient };
package/dist/index.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import * as axios from 'axios';
2
2
  import { AxiosResponse, AxiosInstance } from 'axios';
3
- import { R as RobotCloudOrganizations, a as RobotCloudCreateOrganization, b as RobotCloudOrganizationDetails, c as RobotCloudPutOrganization, d as RobotCloudDelete, e as RobotCloudOrganizationUsers, f as RobotCloudOrganizationCreateUser, g as RobotCloudUsers, h as RobotCloudUserDetails, i as RobotCloudPutUserDetails, j as RobotCloudUserOrganization, k as RobotCloudUserProject, l as RobotCloudPostUserProject, m as RobotCloudPutProjectUser, A as AlertsProjectStatsRequestParams, n as AlertLogsListRequestParams, o as RobotCloudNamedItem, p as RobotCloudUserSimple, q as AlertAggregatedLogsRequestParams, S as SubsystemRequestParams, r as RobotCloudDescribedItem, s as RobotCloudCreateApplication, t as RobotCloudGetApplication, u as RobotCloudPutApplication, v as RegimState, T as TemperatureUnit, w as ServiceInstanceConfigClient, x as ServiceInstanceDataClient, y as ServiceInstanceDataRequestParams, z as ServiceDataMeasurement, B as ServiceDataRequestParams, C as ServiceInstanceAlertClient, D as ServiceInstanceAlertRequestParams, E as ServiceAlertRequestParams, F as ServiceInstanceHistoricClient, G as ServiceInstanceHistoricParams, H as HistoricAggregateFunction, I as ServiceInstanceHistoricAggregateParams, J as RoomClime1AlertEventValue, K as ServiceTypeClient, L as AirQuality1DataEventValue, M as AirQuality1AlertEventValue, N as RoomConsumes1AlertEventValue, P as ProjectClassifiersRequestParams, O as RobotCloudRobotCloudDeviceCreate, Q as RobotCloudDeviceDetails, U as RobotCloudRobotCloudDeviceModify, V as RobotCloudDeviceConfiguration, W as ProjectLocationsRequestParams, X as RobotCloudProject, Y as RobotCloudCreateProject, Z as ProjectsRequestParams, _ as ProjectDetailsRequestParams, $ as RobotCloudProjectDetails, a0 as RobotCloudPutProject, a1 as RobotCloudProjectUsers, a2 as RobotCloudProjectApplications, a3 as RobotCloudApplicationEnable, a4 as ServiceInstancesRequestParams, a5 as RobotCloudServiceTypeDetails, a6 as LocationServiceInstancesRequestParams, a7 as ServiceInstanceRead } from './index-B8PC1dr5.js';
4
- export { av as AirHandlingUnit1AlertEventValue, aw as AirHandlingUnit1DataEventValue, ao as AppAccessLevel, ak as BaseFullPaginableRequestParams, ay as ChillerHeatingPump1AlertEventValue, ax as ChillerHeatingPump1DataEventValue, aq as FancoilSpeedState, au as MeasurementStatus, am as OrganizationAccessLevel, ah as PaginableRequestParams, an as ProjectAccessLevel, af as ProjectModifyTag, ae as ProjectTag, ag as ProjectTagDetails, al as ProjectTagRequestParams, ac as ProjectTagTreeNode, ad as ProjectTagsTree, as as RobotCloudCreateUser, ab as RobotCloudPermissionsHelper, at as RobotCloudProjectInstances, ap as RobotCloudServiceType, ar as RobotCloudUserAppAccess, az as RoomGuestStatus1AlertEventValue, ai as SortableListRequestParams, aj as SubsystemTagsRequestParams, aa as robotCloudPermissionsHelper, a8 as tagsClient, a9 as tagsHelper } from './index-B8PC1dr5.js';
3
+ import { R as RobotCloudOrganizations, a as RobotCloudCreateOrganization, b as RobotCloudOrganizationDetails, c as RobotCloudPutOrganization, d as RobotCloudDelete, e as RobotCloudOrganizationUsers, f as RobotCloudOrganizationCreateUser, g as RobotCloudUsers, h as RobotCloudUserDetails, i as RobotCloudPutUserDetails, j as RobotCloudUserOrganization, k as RobotCloudUserProject, l as RobotCloudPostUserProject, m as RobotCloudPutProjectUser, A as AlertsProjectStatsRequestParams, n as AlertLogsListRequestParams, o as RobotCloudNamedItem, p as RobotCloudUserSimple, q as AlertAggregatedLogsRequestParams, S as SubsystemRequestParams, r as RobotCloudDescribedItem, s as RobotCloudCreateApplication, t as RobotCloudGetApplication, u as RobotCloudPutApplication, v as RegimState, T as TemperatureUnit, w as ServiceInstanceConfigClient, x as ServiceInstanceDataClient, y as ServiceInstanceDataRequestParams, z as ServiceDataMeasurement, B as ServiceDataRequestParams, C as ServiceInstanceAlertsClient, D as ServiceInstanceAlertRequestParams, E as ServiceAlertRequestParams, F as ServiceInstanceHistoricClient, G as ServiceInstanceHistoricParams, H as HistoricAggregateFunction, I as ServiceInstanceHistoricAggregateParams, J as RoomClime1AlertEventValue, K as ServiceTypeClient, L as AirQuality1DataEventValue, M as AirQuality1AlertEventValue, N as RoomConsumes1AlertEventValue, P as ProjectClassifiersRequestParams, O as RobotCloudRobotCloudDeviceCreate, Q as RobotCloudDeviceDetails, U as RobotCloudRobotCloudDeviceModify, V as RobotCloudDeviceConfiguration, W as ProjectLocationsRequestParams, X as RobotCloudProject, Y as RobotCloudCreateProject, Z as ProjectsRequestParams, _ as ProjectDetailsRequestParams, $ as RobotCloudProjectDetails, a0 as RobotCloudPutProject, a1 as RobotCloudProjectUsers, a2 as RobotCloudProjectApplications, a3 as RobotCloudApplicationEnable, a4 as ServiceInstancesRequestParams, a5 as RobotCloudServiceTypeDetails, a6 as LocationServiceInstancesRequestParams, a7 as ServiceInstanceRead } from './index-CxEoN2em.js';
4
+ export { av as AirHandlingUnit1AlertEventValue, aw as AirHandlingUnit1DataEventValue, ao as AppAccessLevel, ak as BaseFullPaginableRequestParams, ay as ChillerHeatingPump1AlertEventValue, ax as ChillerHeatingPump1DataEventValue, aq as FancoilSpeedState, au as MeasurementStatus, am as OrganizationAccessLevel, ah as PaginableRequestParams, an as ProjectAccessLevel, af as ProjectModifyTag, ae as ProjectTag, ag as ProjectTagDetails, al as ProjectTagRequestParams, ac as ProjectTagTreeNode, ad as ProjectTagsTree, as as RobotCloudCreateUser, ab as RobotCloudPermissionsHelper, at as RobotCloudProjectInstances, ap as RobotCloudServiceType, ar as RobotCloudUserAppAccess, az as RoomGuestStatus1AlertEventValue, ai as SortableListRequestParams, aj as SubsystemTagsRequestParams, aa as robotCloudPermissionsHelper, a8 as tagsClient, a9 as tagsHelper } from './index-CxEoN2em.js';
5
5
 
6
6
  declare const robotcloudApi: axios.AxiosInstance;
7
7
 
@@ -336,7 +336,7 @@ declare class GenericInstanceDataClient<T> implements ServiceInstanceDataClient<
336
336
  get(prjId: string, instanceId: string, params?: ServiceInstanceDataRequestParams): Promise<AxiosResponse<ServiceDataMeasurement<T>>>;
337
337
  getAll(prjId: string, params?: ServiceDataRequestParams): Promise<AxiosResponse<ServiceDataMeasurement<T>[]>>;
338
338
  }
339
- declare class GenericInstanceAlertClient<T> implements ServiceInstanceAlertClient<T> {
339
+ declare class GenericInstanceAlertClient<T> implements ServiceInstanceAlertsClient<T> {
340
340
  private readonly serviceName;
341
341
  constructor(serviceName: string);
342
342
  get(prjId: string, instanceId: string, params?: ServiceInstanceAlertRequestParams): Promise<AxiosResponse<ServiceDataMeasurement<T>>>;
@@ -345,8 +345,8 @@ declare class GenericInstanceAlertClient<T> implements ServiceInstanceAlertClien
345
345
  declare class GenericInstanceHistoricClient<T> implements ServiceInstanceHistoricClient<T> {
346
346
  private readonly serviceName;
347
347
  constructor(serviceName: string);
348
- getInstanceHistoric(prjId: string, instanceId: string, startTime: Date, endTime: Date, params: ServiceInstanceHistoricParams): Promise<AxiosResponse<ServiceDataMeasurement<T>[]>>;
349
- getInstanceHistoricAggregate(prjId: string, instanceId: string, startTime: Date, endTime: Date, aggFunction: HistoricAggregateFunction, periode: string, params: ServiceInstanceHistoricAggregateParams): Promise<AxiosResponse<ServiceDataMeasurement<T>[]>>;
348
+ get(prjId: string, instanceId: string, startTime: Date, endTime: Date, params: ServiceInstanceHistoricParams): Promise<AxiosResponse<ServiceDataMeasurement<T>[]>>;
349
+ getAggregate(prjId: string, instanceId: string, startTime: Date, endTime: Date, aggFunction: HistoricAggregateFunction, periode: string, params: ServiceInstanceHistoricAggregateParams): Promise<AxiosResponse<ServiceDataMeasurement<T>[]>>;
350
350
  }
351
351
 
352
352
  type RoomClimeAlertsKeys = "high_temperature" | "low_temperature" | "high_humidity" | "fancoil_on_overtime";
@@ -369,7 +369,7 @@ declare class RoomClimeClient {
369
369
  private _historicClient;
370
370
  get configuration(): RoomClimeConfigClient;
371
371
  get data(): RoomClimeDataClient;
372
- get alert(): RoomClimeAlertClient;
372
+ get alerts(): RoomClimeAlertClient;
373
373
  get historic(): RoomClimeHistoricClient;
374
374
  constructor();
375
375
  }
@@ -394,7 +394,7 @@ declare class RoomGuestStatusClient implements ServiceTypeClient<RoomGuestStatus
394
394
  private _historicClient;
395
395
  get configuration(): RoomGuestStatusConfigClient;
396
396
  get data(): RoomGuestStatusDataClient;
397
- get alert(): RoomGuestStatusAlertClient;
397
+ get alerts(): RoomGuestStatusAlertClient;
398
398
  get historic(): RoomGuestStatusHistoricClient;
399
399
  constructor();
400
400
  }
@@ -419,7 +419,7 @@ declare class AirQualityClient implements ServiceTypeClient<AirQuality1DataEvent
419
419
  private _historicClient;
420
420
  get configuration(): AirQualityConfigClient;
421
421
  get data(): AirQualityDataClient;
422
- get alert(): AirQualityAlertClient;
422
+ get alerts(): AirQualityAlertClient;
423
423
  get historic(): AirQualityHistoricClient;
424
424
  constructor();
425
425
  }
@@ -444,7 +444,7 @@ declare class RoomConsumesClient implements ServiceTypeClient<RoomConsumes1Data,
444
444
  private _historicClient;
445
445
  get configuration(): RoomConsumesConfigClient;
446
446
  get data(): RoomConsumesDataClient;
447
- get alert(): RoomConsumesAlertClient;
447
+ get alerts(): RoomConsumesAlertClient;
448
448
  get historic(): RoomConsumesHistoricClient;
449
449
  constructor();
450
450
  }
@@ -469,7 +469,7 @@ declare class RoomGroupingClient implements ServiceTypeClient<RoomGrouping1DataE
469
469
  private _historicClient;
470
470
  get configuration(): RoomGroupingConfigClient;
471
471
  get data(): RoomGroupingDataClient;
472
- get alert(): RoomGroupingAlertClient;
472
+ get alerts(): RoomGroupingAlertClient;
473
473
  get historic(): RoomGroupingHistoricClient;
474
474
  constructor();
475
475
  }
@@ -647,4 +647,4 @@ declare const alertsClient: AlertsClient;
647
647
  declare const organizationsClient: OrganizationsClient;
648
648
  declare const usersClient: UsersClient;
649
649
 
650
- export { type AirHandlingUnitConfigurationParams, AirQuality1AlertEventValue, AirQuality1DataEventValue, type AirQualityConfigurationParams, AlertAggregatedLogsRequestParams, type AlertLogAckAlerts, type AlertLogLine, AlertLogsListRequestParams, type AlertsClient, type AlertsLogsAggregated, type AlertsLogsList, type AlertsLogsStats, AlertsProjectStatsRequestParams, ApplicationsClient, type CheckTokenResponse, type ChillerHeatingPumpConfigurationParams, type Classifier, type ClassifierCreate, type ClassifierDetails, type ClassifierModify, type CreateServiceInstance, HistoricAggregateFunction, LocationServiceInstancesRequestParams, type LoginClient, type ModifyServiceInstanceDetails, OrganizationsClient, ProjectClassifiersRequestParams, ProjectDetailsRequestParams, ProjectLocationsRequestParams, type ProjectSizeInstances, ProjectsRequestParams, RegimState, RobotCloudApplicationEnable, RobotCloudClientConfig, RobotCloudCreateApplication, RobotCloudCreateOrganization, RobotCloudCreateProject, RobotCloudDelete, RobotCloudDescribedItem, RobotCloudDeviceConfiguration, RobotCloudDeviceDetails, RobotCloudGetApplication, type RobotCloudJWTPayload, RobotCloudNamedItem, RobotCloudOrganizationCreateUser, RobotCloudOrganizationDetails, RobotCloudOrganizationUsers, RobotCloudOrganizations, RobotCloudPostUserProject, RobotCloudProject, RobotCloudProjectApplications, RobotCloudProjectDetails, RobotCloudProjectUsers, RobotCloudPutApplication, RobotCloudPutOrganization, RobotCloudPutProject, RobotCloudPutProjectUser, RobotCloudPutUserDetails, RobotCloudRobotCloudDeviceCreate, RobotCloudRobotCloudDeviceModify, type RobotCloudServiceInstance, RobotCloudServiceTypeDetails, RobotCloudUserDetails, RobotCloudUserOrganization, RobotCloudUserProject, RobotCloudUserSimple, RobotCloudUsers, RoomClime1AlertEventValue, type RoomClime1Data, type RoomClimeAlertsKeys, RoomClimeClient, type RoomClimeConfigurationParams, RoomConsumes1AlertEventValue, type RoomConsumes1Data, type RoomConsumesConfigurationParams, type RoomGrouping1DataEventValue, type RoomGrouping1InstanceDeviceConfig, type RoomGroupingConfigurationParams, type RoomGuestStatus1Data, type RoomGuestStatusConfigurationParams, ServiceAlertRequestParams, ServiceDataMeasurement, ServiceDataRequestParams, ServiceInstanceAlertClient, ServiceInstanceAlertRequestParams, ServiceInstanceConfigClient, ServiceInstanceDataClient, ServiceInstanceDataRequestParams, type ServiceInstanceDetails, type ServiceInstanceDeviceConfig, type ServiceInstanceDevicesInfo, ServiceInstanceHistoricAggregateParams, ServiceInstanceHistoricClient, ServiceInstanceHistoricParams, ServiceInstanceRead, ServiceInstancesRequestParams, ServiceTypeClient, type SessionTokenResponse, SubsystemRequestParams, TemperatureUnit, type TokenResponse, UsersClient, airQualityClient, alertsClient, applicationsClient, classifiersClient, clientConfig, devicesClient, locationsClient, loginClient, organizationsClient, projectsClient, robotCloudToken, robotcloudApi, roomClimeClient, roomConsumesClient, roomGroupingClient, roomGuestStatusClient, serviceInstancesClient, subsystemsClient, usersClient };
650
+ export { type AirHandlingUnitConfigurationParams, AirQuality1AlertEventValue, AirQuality1DataEventValue, type AirQualityConfigurationParams, AlertAggregatedLogsRequestParams, type AlertLogAckAlerts, type AlertLogLine, AlertLogsListRequestParams, type AlertsClient, type AlertsLogsAggregated, type AlertsLogsList, type AlertsLogsStats, AlertsProjectStatsRequestParams, ApplicationsClient, type CheckTokenResponse, type ChillerHeatingPumpConfigurationParams, type Classifier, type ClassifierCreate, type ClassifierDetails, type ClassifierModify, type CreateServiceInstance, HistoricAggregateFunction, LocationServiceInstancesRequestParams, type LoginClient, type ModifyServiceInstanceDetails, OrganizationsClient, ProjectClassifiersRequestParams, ProjectDetailsRequestParams, ProjectLocationsRequestParams, type ProjectSizeInstances, ProjectsRequestParams, RegimState, RobotCloudApplicationEnable, RobotCloudClientConfig, RobotCloudCreateApplication, RobotCloudCreateOrganization, RobotCloudCreateProject, RobotCloudDelete, RobotCloudDescribedItem, RobotCloudDeviceConfiguration, RobotCloudDeviceDetails, RobotCloudGetApplication, type RobotCloudJWTPayload, RobotCloudNamedItem, RobotCloudOrganizationCreateUser, RobotCloudOrganizationDetails, RobotCloudOrganizationUsers, RobotCloudOrganizations, RobotCloudPostUserProject, RobotCloudProject, RobotCloudProjectApplications, RobotCloudProjectDetails, RobotCloudProjectUsers, RobotCloudPutApplication, RobotCloudPutOrganization, RobotCloudPutProject, RobotCloudPutProjectUser, RobotCloudPutUserDetails, RobotCloudRobotCloudDeviceCreate, RobotCloudRobotCloudDeviceModify, type RobotCloudServiceInstance, RobotCloudServiceTypeDetails, RobotCloudUserDetails, RobotCloudUserOrganization, RobotCloudUserProject, RobotCloudUserSimple, RobotCloudUsers, RoomClime1AlertEventValue, type RoomClime1Data, type RoomClimeAlertsKeys, RoomClimeClient, type RoomClimeConfigurationParams, RoomConsumes1AlertEventValue, type RoomConsumes1Data, type RoomConsumesConfigurationParams, type RoomGrouping1DataEventValue, type RoomGrouping1InstanceDeviceConfig, type RoomGroupingConfigurationParams, type RoomGuestStatus1Data, type RoomGuestStatusConfigurationParams, ServiceAlertRequestParams, ServiceDataMeasurement, ServiceDataRequestParams, ServiceInstanceAlertRequestParams, ServiceInstanceAlertsClient, ServiceInstanceConfigClient, ServiceInstanceDataClient, ServiceInstanceDataRequestParams, type ServiceInstanceDetails, type ServiceInstanceDeviceConfig, type ServiceInstanceDevicesInfo, ServiceInstanceHistoricAggregateParams, ServiceInstanceHistoricClient, ServiceInstanceHistoricParams, ServiceInstanceRead, ServiceInstancesRequestParams, ServiceTypeClient, type SessionTokenResponse, SubsystemRequestParams, TemperatureUnit, type TokenResponse, UsersClient, airQualityClient, alertsClient, applicationsClient, classifiersClient, clientConfig, devicesClient, locationsClient, loginClient, organizationsClient, projectsClient, robotCloudToken, robotcloudApi, roomClimeClient, roomConsumesClient, roomGroupingClient, roomGuestStatusClient, serviceInstancesClient, subsystemsClient, usersClient };
package/dist/index.js CHANGED
@@ -436,7 +436,7 @@ var GenericInstanceHistoricClient = class {
436
436
  constructor(serviceName) {
437
437
  this.serviceName = serviceName;
438
438
  }
439
- getInstanceHistoric(prjId, instanceId, startTime, endTime, params) {
439
+ get(prjId, instanceId, startTime, endTime, params) {
440
440
  return robotCloudApi_default.get(
441
441
  `/projects/${prjId}/services/${this.serviceName}/instances/${instanceId}/historic/data`,
442
442
  {
@@ -447,7 +447,7 @@ var GenericInstanceHistoricClient = class {
447
447
  }
448
448
  );
449
449
  }
450
- getInstanceHistoricAggregate(prjId, instanceId, startTime, endTime, aggFunction, periode, params) {
450
+ getAggregate(prjId, instanceId, startTime, endTime, aggFunction, periode, params) {
451
451
  return robotCloudApi_default.get(
452
452
  `/projects/${prjId}/services/${this.serviceName}/instances/${instanceId}/historic/data/aggregate`,
453
453
  {
@@ -488,7 +488,7 @@ var RoomClimeClient = class {
488
488
  get data() {
489
489
  return this._dataClient;
490
490
  }
491
- get alert() {
491
+ get alerts() {
492
492
  return this._alertClient;
493
493
  }
494
494
  get historic() {
@@ -531,7 +531,7 @@ var RoomGuestStatusClient = class {
531
531
  get data() {
532
532
  return this._dataClient;
533
533
  }
534
- get alert() {
534
+ get alerts() {
535
535
  return this._alertClient;
536
536
  }
537
537
  get historic() {
@@ -574,7 +574,7 @@ var AirQualityClient = class {
574
574
  get data() {
575
575
  return this._dataClient;
576
576
  }
577
- get alert() {
577
+ get alerts() {
578
578
  return this._alertClient;
579
579
  }
580
580
  get historic() {
@@ -617,7 +617,7 @@ var RoomConsumesClient = class {
617
617
  get data() {
618
618
  return this._dataClient;
619
619
  }
620
- get alert() {
620
+ get alerts() {
621
621
  return this._alertClient;
622
622
  }
623
623
  get historic() {
@@ -660,7 +660,7 @@ var RoomGroupingClient = class {
660
660
  get data() {
661
661
  return this._dataClient;
662
662
  }
663
- get alert() {
663
+ get alerts() {
664
664
  return this._alertClient;
665
665
  }
666
666
  get historic() {