@robotbas/robotcloud-client 0.3.8 → 0.3.10

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 { ae as RobotCloudPermissionsHelper, ad as robotCloudPermissionsHelper, ac as tagsHelper } from '../index-B4EMC1Af.mjs';
1
+ export { af as RobotCloudPermissionsHelper, ae as robotCloudPermissionsHelper, ad as tagsHelper } from '../index-DQ1Poh9r.mjs';
2
2
  import 'axios';
@@ -1,2 +1,2 @@
1
- export { ae as RobotCloudPermissionsHelper, ad as robotCloudPermissionsHelper, ac as tagsHelper } from '../index-B4EMC1Af.js';
1
+ export { af as RobotCloudPermissionsHelper, ae as robotCloudPermissionsHelper, ad as tagsHelper } from '../index-DQ1Poh9r.js';
2
2
  import 'axios';
@@ -771,6 +771,15 @@ interface AlertAggregatedLogsRequestParams extends SubsystemTagsRequestParams {
771
771
  offset?: string;
772
772
  time_range: string;
773
773
  }
774
+
775
+ interface AlertsByLocationRequestParams extends SubsystemTagsRequestParams, PaginableRequestParams {
776
+ tag_max_level?: number;
777
+ service_name?: string;
778
+ name?: string;
779
+ active?: boolean;
780
+ active_time?: string;
781
+ }
782
+
774
783
  interface ServiceInstancesRequestParams
775
784
  extends BaseFullPaginableRequestParams {
776
785
  id?: string;
@@ -847,4 +856,4 @@ declare const robotCloudPermissionsHelper: RobotCloudPermissionsHelper;
847
856
 
848
857
  declare const tagsHelper: TagsHelper;
849
858
 
850
- export { type RobotCloudCreateProject 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 ServiceTypeClient as J, type RoomClime1AlertEventValue as K, type RoomGuestStatus1AlertEventValue as L, type AirQuality1DataEventValue as M, type AirQuality1AlertEventValue as N, type RoomConsumes1AlertEventValue as O, type ProjectClassifiersRequestParams as P, type RobotCloudRobotCloudDeviceCreate as Q, type RobotCloudOrganizations as R, type SubsystemRequestParams as S, type TemperatureUnit as T, type RobotCloudDeviceDetails as U, type RobotCloudRobotCloudDeviceModify as V, type RobotCloudDeviceConfiguration as W, type ProjectLocationsRequestParams as X, type RobotCloudServiceType as Y, type LocationServiceInstancesRequestParams as Z, type RobotCloudProject as _, type RobotCloudCreateOrganization as a, type TemporizedOutput1AlertEventValue as a$, type ProjectsRequestParams as a0, type ProjectDetailsRequestParams as a1, type RobotCloudProjectDetails as a2, type RobotCloudPutProject as a3, type RobotCloudProjectUsers as a4, type RobotCloudProjectApplications as a5, type RobotCloudApplicationEnable as a6, type RobotCloudProjectInstances as a7, type RobotCloudServiceTypeDetails as a8, type ServiceInstancesRequestParams as a9, type CoolHeatCons1DataEventValue as aA, type CoolHeatCons1AlertEventValue as aB, type CoolHeatProd1DataEventValue as aC, type CoolHeatProd1AlertEventValue as aD, type CoolHeatTemperature1DataEventValue as aE, type CoolHeatTemperature1AlertEventValue as aF, type EnergyCounter1DataEventValue as aG, type EnergyCounter1AlertEventValue as aH, type EnergyProduction1DataEventValue as aI, type EnergyProduction1AlertEventValue as aJ, type GasCounter1DataEventValue as aK, type GasCounter1AlertEventValue as aL, type GenericTemperature1DataEventValue as aM, type GenericTemperature1AlertEventValue as aN, type HeatMeter1DataEventValue as aO, type HeatMeter1AlertEventValue as aP, type HeatProduction1DataEventValue as aQ, type HeatProduction1AlertEventValue as aR, type OutdoorClime1DataEventValue as aS, type OutdoorClime1AlertEventValue as aT, type PowerMeter1DataEventValue as aU, type PowerMeter1AlertEventValue as aV, type RoomBlePairing1DataEventValue as aW, type RoomBlePairing1AlertEventValue as aX, type RoomDiagnostics1Data as aY, type RoomDiagnostics1AlertEventValue as aZ, type TemporizedOutput1Data as a_, type ServiceInstanceRead as aa, tagsClient as ab, tagsHelper as ac, robotCloudPermissionsHelper as ad, type RobotCloudPermissionsHelper as ae, type ProjectTagTreeNode as af, type ProjectTagsTree as ag, type ProjectTag as ah, type ProjectModifyTag as ai, type ProjectTagDetails as aj, type PaginableRequestParams as ak, type SortableListRequestParams as al, type SubsystemTagsRequestParams as am, type BaseFullPaginableRequestParams as an, type ProjectTagRequestParams as ao, type OrganizationAccessLevel as ap, type ProjectAccessLevel as aq, type AppAccessLevel as ar, type FancoilSpeedState as as, type RobotCloudUserAppAccess as at, type RobotCloudCreateUser as au, type MeasurementStatus as av, type AirHandlingUnit1AlertEventValue as aw, type AirHandlingUnit1DataEventValue as ax, type ChillerHeatingPump1DataEventValue as ay, type ChillerHeatingPump1AlertEventValue as az, type RobotCloudOrganizationDetails as b, type WaterCounter1Data as b0, type WaterCounter1AlertEventValue as b1, 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 };
859
+ export { type RobotCloudProject as $, type AlertsProjectStatsRequestParams as A, type ServiceDataMeasurement as B, type ServiceDataRequestParams as C, type ServiceInstanceAlertsClient as D, type ServiceInstanceAlertRequestParams as E, type ServiceAlertRequestParams as F, type ServiceInstanceHistoricClient as G, type ServiceInstanceHistoricParams as H, type HistoricAggregateFunction as I, type ServiceInstanceHistoricAggregateParams as J, type ServiceTypeClient as K, type RoomClime1AlertEventValue as L, type RoomGuestStatus1AlertEventValue as M, type AirQuality1DataEventValue as N, type AirQuality1AlertEventValue as O, type RoomConsumes1AlertEventValue as P, type ProjectClassifiersRequestParams as Q, type RobotCloudOrganizations as R, type SubsystemRequestParams as S, type TemperatureUnit as T, type RobotCloudRobotCloudDeviceCreate as U, type RobotCloudDeviceDetails as V, type RobotCloudRobotCloudDeviceModify as W, type RobotCloudDeviceConfiguration as X, type ProjectLocationsRequestParams as Y, type RobotCloudServiceType as Z, type LocationServiceInstancesRequestParams as _, type RobotCloudCreateOrganization as a, type TemporizedOutput1Data as a$, type RobotCloudCreateProject as a0, type ProjectsRequestParams as a1, type ProjectDetailsRequestParams as a2, type RobotCloudProjectDetails as a3, type RobotCloudPutProject as a4, type RobotCloudProjectUsers as a5, type RobotCloudProjectApplications as a6, type RobotCloudApplicationEnable as a7, type RobotCloudProjectInstances as a8, type RobotCloudServiceTypeDetails as a9, type ChillerHeatingPump1AlertEventValue as aA, type CoolHeatCons1DataEventValue as aB, type CoolHeatCons1AlertEventValue as aC, type CoolHeatProd1DataEventValue as aD, type CoolHeatProd1AlertEventValue as aE, type CoolHeatTemperature1DataEventValue as aF, type CoolHeatTemperature1AlertEventValue as aG, type EnergyCounter1DataEventValue as aH, type EnergyCounter1AlertEventValue as aI, type EnergyProduction1DataEventValue as aJ, type EnergyProduction1AlertEventValue as aK, type GasCounter1DataEventValue as aL, type GasCounter1AlertEventValue as aM, type GenericTemperature1DataEventValue as aN, type GenericTemperature1AlertEventValue as aO, type HeatMeter1DataEventValue as aP, type HeatMeter1AlertEventValue as aQ, type HeatProduction1DataEventValue as aR, type HeatProduction1AlertEventValue as aS, type OutdoorClime1DataEventValue as aT, type OutdoorClime1AlertEventValue as aU, type PowerMeter1DataEventValue as aV, type PowerMeter1AlertEventValue as aW, type RoomBlePairing1DataEventValue as aX, type RoomBlePairing1AlertEventValue as aY, type RoomDiagnostics1Data as aZ, type RoomDiagnostics1AlertEventValue as a_, type ServiceInstancesRequestParams as aa, type ServiceInstanceRead as ab, tagsClient as ac, tagsHelper as ad, robotCloudPermissionsHelper as ae, type RobotCloudPermissionsHelper as af, type ProjectTagTreeNode as ag, type ProjectTagsTree as ah, type ProjectTag as ai, type ProjectModifyTag as aj, type ProjectTagDetails as ak, type PaginableRequestParams as al, type SortableListRequestParams as am, type SubsystemTagsRequestParams as an, type BaseFullPaginableRequestParams as ao, type ProjectTagRequestParams as ap, type OrganizationAccessLevel as aq, type ProjectAccessLevel as ar, type AppAccessLevel as as, type FancoilSpeedState as at, type RobotCloudUserAppAccess as au, type RobotCloudCreateUser as av, type MeasurementStatus as aw, type AirHandlingUnit1AlertEventValue as ax, type AirHandlingUnit1DataEventValue as ay, type ChillerHeatingPump1DataEventValue as az, type RobotCloudOrganizationDetails as b, type TemporizedOutput1AlertEventValue as b0, type WaterCounter1Data as b1, type WaterCounter1AlertEventValue as b2, 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 AlertsByLocationRequestParams as r, type RobotCloudDescribedItem as s, type RobotCloudCreateApplication as t, type RobotCloudGetApplication as u, type RobotCloudPutApplication as v, type RegimState as w, type ServiceInstanceConfigClient as x, type ServiceInstanceDataClient as y, type ServiceInstanceDataRequestParams as z };
@@ -771,6 +771,15 @@ interface AlertAggregatedLogsRequestParams extends SubsystemTagsRequestParams {
771
771
  offset?: string;
772
772
  time_range: string;
773
773
  }
774
+
775
+ interface AlertsByLocationRequestParams extends SubsystemTagsRequestParams, PaginableRequestParams {
776
+ tag_max_level?: number;
777
+ service_name?: string;
778
+ name?: string;
779
+ active?: boolean;
780
+ active_time?: string;
781
+ }
782
+
774
783
  interface ServiceInstancesRequestParams
775
784
  extends BaseFullPaginableRequestParams {
776
785
  id?: string;
@@ -847,4 +856,4 @@ declare const robotCloudPermissionsHelper: RobotCloudPermissionsHelper;
847
856
 
848
857
  declare const tagsHelper: TagsHelper;
849
858
 
850
- export { type RobotCloudCreateProject 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 ServiceTypeClient as J, type RoomClime1AlertEventValue as K, type RoomGuestStatus1AlertEventValue as L, type AirQuality1DataEventValue as M, type AirQuality1AlertEventValue as N, type RoomConsumes1AlertEventValue as O, type ProjectClassifiersRequestParams as P, type RobotCloudRobotCloudDeviceCreate as Q, type RobotCloudOrganizations as R, type SubsystemRequestParams as S, type TemperatureUnit as T, type RobotCloudDeviceDetails as U, type RobotCloudRobotCloudDeviceModify as V, type RobotCloudDeviceConfiguration as W, type ProjectLocationsRequestParams as X, type RobotCloudServiceType as Y, type LocationServiceInstancesRequestParams as Z, type RobotCloudProject as _, type RobotCloudCreateOrganization as a, type TemporizedOutput1AlertEventValue as a$, type ProjectsRequestParams as a0, type ProjectDetailsRequestParams as a1, type RobotCloudProjectDetails as a2, type RobotCloudPutProject as a3, type RobotCloudProjectUsers as a4, type RobotCloudProjectApplications as a5, type RobotCloudApplicationEnable as a6, type RobotCloudProjectInstances as a7, type RobotCloudServiceTypeDetails as a8, type ServiceInstancesRequestParams as a9, type CoolHeatCons1DataEventValue as aA, type CoolHeatCons1AlertEventValue as aB, type CoolHeatProd1DataEventValue as aC, type CoolHeatProd1AlertEventValue as aD, type CoolHeatTemperature1DataEventValue as aE, type CoolHeatTemperature1AlertEventValue as aF, type EnergyCounter1DataEventValue as aG, type EnergyCounter1AlertEventValue as aH, type EnergyProduction1DataEventValue as aI, type EnergyProduction1AlertEventValue as aJ, type GasCounter1DataEventValue as aK, type GasCounter1AlertEventValue as aL, type GenericTemperature1DataEventValue as aM, type GenericTemperature1AlertEventValue as aN, type HeatMeter1DataEventValue as aO, type HeatMeter1AlertEventValue as aP, type HeatProduction1DataEventValue as aQ, type HeatProduction1AlertEventValue as aR, type OutdoorClime1DataEventValue as aS, type OutdoorClime1AlertEventValue as aT, type PowerMeter1DataEventValue as aU, type PowerMeter1AlertEventValue as aV, type RoomBlePairing1DataEventValue as aW, type RoomBlePairing1AlertEventValue as aX, type RoomDiagnostics1Data as aY, type RoomDiagnostics1AlertEventValue as aZ, type TemporizedOutput1Data as a_, type ServiceInstanceRead as aa, tagsClient as ab, tagsHelper as ac, robotCloudPermissionsHelper as ad, type RobotCloudPermissionsHelper as ae, type ProjectTagTreeNode as af, type ProjectTagsTree as ag, type ProjectTag as ah, type ProjectModifyTag as ai, type ProjectTagDetails as aj, type PaginableRequestParams as ak, type SortableListRequestParams as al, type SubsystemTagsRequestParams as am, type BaseFullPaginableRequestParams as an, type ProjectTagRequestParams as ao, type OrganizationAccessLevel as ap, type ProjectAccessLevel as aq, type AppAccessLevel as ar, type FancoilSpeedState as as, type RobotCloudUserAppAccess as at, type RobotCloudCreateUser as au, type MeasurementStatus as av, type AirHandlingUnit1AlertEventValue as aw, type AirHandlingUnit1DataEventValue as ax, type ChillerHeatingPump1DataEventValue as ay, type ChillerHeatingPump1AlertEventValue as az, type RobotCloudOrganizationDetails as b, type WaterCounter1Data as b0, type WaterCounter1AlertEventValue as b1, 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 };
859
+ export { type RobotCloudProject as $, type AlertsProjectStatsRequestParams as A, type ServiceDataMeasurement as B, type ServiceDataRequestParams as C, type ServiceInstanceAlertsClient as D, type ServiceInstanceAlertRequestParams as E, type ServiceAlertRequestParams as F, type ServiceInstanceHistoricClient as G, type ServiceInstanceHistoricParams as H, type HistoricAggregateFunction as I, type ServiceInstanceHistoricAggregateParams as J, type ServiceTypeClient as K, type RoomClime1AlertEventValue as L, type RoomGuestStatus1AlertEventValue as M, type AirQuality1DataEventValue as N, type AirQuality1AlertEventValue as O, type RoomConsumes1AlertEventValue as P, type ProjectClassifiersRequestParams as Q, type RobotCloudOrganizations as R, type SubsystemRequestParams as S, type TemperatureUnit as T, type RobotCloudRobotCloudDeviceCreate as U, type RobotCloudDeviceDetails as V, type RobotCloudRobotCloudDeviceModify as W, type RobotCloudDeviceConfiguration as X, type ProjectLocationsRequestParams as Y, type RobotCloudServiceType as Z, type LocationServiceInstancesRequestParams as _, type RobotCloudCreateOrganization as a, type TemporizedOutput1Data as a$, type RobotCloudCreateProject as a0, type ProjectsRequestParams as a1, type ProjectDetailsRequestParams as a2, type RobotCloudProjectDetails as a3, type RobotCloudPutProject as a4, type RobotCloudProjectUsers as a5, type RobotCloudProjectApplications as a6, type RobotCloudApplicationEnable as a7, type RobotCloudProjectInstances as a8, type RobotCloudServiceTypeDetails as a9, type ChillerHeatingPump1AlertEventValue as aA, type CoolHeatCons1DataEventValue as aB, type CoolHeatCons1AlertEventValue as aC, type CoolHeatProd1DataEventValue as aD, type CoolHeatProd1AlertEventValue as aE, type CoolHeatTemperature1DataEventValue as aF, type CoolHeatTemperature1AlertEventValue as aG, type EnergyCounter1DataEventValue as aH, type EnergyCounter1AlertEventValue as aI, type EnergyProduction1DataEventValue as aJ, type EnergyProduction1AlertEventValue as aK, type GasCounter1DataEventValue as aL, type GasCounter1AlertEventValue as aM, type GenericTemperature1DataEventValue as aN, type GenericTemperature1AlertEventValue as aO, type HeatMeter1DataEventValue as aP, type HeatMeter1AlertEventValue as aQ, type HeatProduction1DataEventValue as aR, type HeatProduction1AlertEventValue as aS, type OutdoorClime1DataEventValue as aT, type OutdoorClime1AlertEventValue as aU, type PowerMeter1DataEventValue as aV, type PowerMeter1AlertEventValue as aW, type RoomBlePairing1DataEventValue as aX, type RoomBlePairing1AlertEventValue as aY, type RoomDiagnostics1Data as aZ, type RoomDiagnostics1AlertEventValue as a_, type ServiceInstancesRequestParams as aa, type ServiceInstanceRead as ab, tagsClient as ac, tagsHelper as ad, robotCloudPermissionsHelper as ae, type RobotCloudPermissionsHelper as af, type ProjectTagTreeNode as ag, type ProjectTagsTree as ah, type ProjectTag as ai, type ProjectModifyTag as aj, type ProjectTagDetails as ak, type PaginableRequestParams as al, type SortableListRequestParams as am, type SubsystemTagsRequestParams as an, type BaseFullPaginableRequestParams as ao, type ProjectTagRequestParams as ap, type OrganizationAccessLevel as aq, type ProjectAccessLevel as ar, type AppAccessLevel as as, type FancoilSpeedState as at, type RobotCloudUserAppAccess as au, type RobotCloudCreateUser as av, type MeasurementStatus as aw, type AirHandlingUnit1AlertEventValue as ax, type AirHandlingUnit1DataEventValue as ay, type ChillerHeatingPump1DataEventValue as az, type RobotCloudOrganizationDetails as b, type TemporizedOutput1AlertEventValue as b0, type WaterCounter1Data as b1, type WaterCounter1AlertEventValue as b2, 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 AlertsByLocationRequestParams as r, type RobotCloudDescribedItem as s, type RobotCloudCreateApplication as t, type RobotCloudGetApplication as u, type RobotCloudPutApplication as v, type RegimState as w, type ServiceInstanceConfigClient as x, type ServiceInstanceDataClient as y, type ServiceInstanceDataRequestParams 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 ServiceInstanceAlertsClient, D as ServiceInstanceAlertRequestParams, E as ServiceAlertRequestParams, F as ServiceInstanceHistoricClient, G as ServiceInstanceHistoricParams, H as HistoricAggregateFunction, I as ServiceInstanceHistoricAggregateParams, J as ServiceTypeClient, K as RoomClime1AlertEventValue, L as RoomGuestStatus1AlertEventValue, M as AirQuality1DataEventValue, N as AirQuality1AlertEventValue, O as RoomConsumes1AlertEventValue, P as ProjectClassifiersRequestParams, Q as RobotCloudRobotCloudDeviceCreate, U as RobotCloudDeviceDetails, V as RobotCloudRobotCloudDeviceModify, W as RobotCloudDeviceConfiguration, X as ProjectLocationsRequestParams, Y as RobotCloudServiceType, Z as LocationServiceInstancesRequestParams, _ as RobotCloudProject, $ as RobotCloudCreateProject, a0 as ProjectsRequestParams, a1 as ProjectDetailsRequestParams, a2 as RobotCloudProjectDetails, a3 as RobotCloudPutProject, a4 as RobotCloudProjectUsers, a5 as RobotCloudProjectApplications, a6 as RobotCloudApplicationEnable, a7 as RobotCloudProjectInstances, a8 as RobotCloudServiceTypeDetails, a9 as ServiceInstancesRequestParams, aa as ServiceInstanceRead } from './index-B4EMC1Af.mjs';
4
- export { aw as AirHandlingUnit1AlertEventValue, ax as AirHandlingUnit1DataEventValue, ar as AppAccessLevel, an as BaseFullPaginableRequestParams, az as ChillerHeatingPump1AlertEventValue, ay as ChillerHeatingPump1DataEventValue, aB as CoolHeatCons1AlertEventValue, aA as CoolHeatCons1DataEventValue, aD as CoolHeatProd1AlertEventValue, aC as CoolHeatProd1DataEventValue, aF as CoolHeatTemperature1AlertEventValue, aE as CoolHeatTemperature1DataEventValue, aH as EnergyCounter1AlertEventValue, aG as EnergyCounter1DataEventValue, aJ as EnergyProduction1AlertEventValue, aI as EnergyProduction1DataEventValue, as as FancoilSpeedState, aL as GasCounter1AlertEventValue, aK as GasCounter1DataEventValue, aN as GenericTemperature1AlertEventValue, aM as GenericTemperature1DataEventValue, aP as HeatMeter1AlertEventValue, aO as HeatMeter1DataEventValue, aR as HeatProduction1AlertEventValue, aQ as HeatProduction1DataEventValue, av as MeasurementStatus, ap as OrganizationAccessLevel, aT as OutdoorClime1AlertEventValue, aS as OutdoorClime1DataEventValue, ak as PaginableRequestParams, aV as PowerMeter1AlertEventValue, aU as PowerMeter1DataEventValue, aq as ProjectAccessLevel, ai as ProjectModifyTag, ah as ProjectTag, aj as ProjectTagDetails, ao as ProjectTagRequestParams, af as ProjectTagTreeNode, ag as ProjectTagsTree, au as RobotCloudCreateUser, ae as RobotCloudPermissionsHelper, at as RobotCloudUserAppAccess, aX as RoomBlePairing1AlertEventValue, aW as RoomBlePairing1DataEventValue, aZ as RoomDiagnostics1AlertEventValue, aY as RoomDiagnostics1Data, al as SortableListRequestParams, am as SubsystemTagsRequestParams, a$ as TemporizedOutput1AlertEventValue, a_ as TemporizedOutput1Data, b1 as WaterCounter1AlertEventValue, b0 as WaterCounter1Data, ad as robotCloudPermissionsHelper, ab as tagsClient, ac as tagsHelper } from './index-B4EMC1Af.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 AlertsByLocationRequestParams, s as RobotCloudDescribedItem, t as RobotCloudCreateApplication, u as RobotCloudGetApplication, v as RobotCloudPutApplication, w as RegimState, T as TemperatureUnit, x as ServiceInstanceConfigClient, y as ServiceInstanceDataClient, z as ServiceInstanceDataRequestParams, B as ServiceDataMeasurement, C as ServiceDataRequestParams, D as ServiceInstanceAlertsClient, E as ServiceInstanceAlertRequestParams, F as ServiceAlertRequestParams, G as ServiceInstanceHistoricClient, H as ServiceInstanceHistoricParams, I as HistoricAggregateFunction, J as ServiceInstanceHistoricAggregateParams, K as ServiceTypeClient, L as RoomClime1AlertEventValue, M as RoomGuestStatus1AlertEventValue, N as AirQuality1DataEventValue, O as AirQuality1AlertEventValue, P as RoomConsumes1AlertEventValue, Q as ProjectClassifiersRequestParams, U as RobotCloudRobotCloudDeviceCreate, V as RobotCloudDeviceDetails, W as RobotCloudRobotCloudDeviceModify, X as RobotCloudDeviceConfiguration, Y as ProjectLocationsRequestParams, Z as RobotCloudServiceType, _ as LocationServiceInstancesRequestParams, $ as RobotCloudProject, a0 as RobotCloudCreateProject, a1 as ProjectsRequestParams, a2 as ProjectDetailsRequestParams, a3 as RobotCloudProjectDetails, a4 as RobotCloudPutProject, a5 as RobotCloudProjectUsers, a6 as RobotCloudProjectApplications, a7 as RobotCloudApplicationEnable, a8 as RobotCloudProjectInstances, a9 as RobotCloudServiceTypeDetails, aa as ServiceInstancesRequestParams, ab as ServiceInstanceRead } from './index-DQ1Poh9r.mjs';
4
+ export { ax as AirHandlingUnit1AlertEventValue, ay as AirHandlingUnit1DataEventValue, as as AppAccessLevel, ao as BaseFullPaginableRequestParams, aA as ChillerHeatingPump1AlertEventValue, az as ChillerHeatingPump1DataEventValue, aC as CoolHeatCons1AlertEventValue, aB as CoolHeatCons1DataEventValue, aE as CoolHeatProd1AlertEventValue, aD as CoolHeatProd1DataEventValue, aG as CoolHeatTemperature1AlertEventValue, aF as CoolHeatTemperature1DataEventValue, aI as EnergyCounter1AlertEventValue, aH as EnergyCounter1DataEventValue, aK as EnergyProduction1AlertEventValue, aJ as EnergyProduction1DataEventValue, at as FancoilSpeedState, aM as GasCounter1AlertEventValue, aL as GasCounter1DataEventValue, aO as GenericTemperature1AlertEventValue, aN as GenericTemperature1DataEventValue, aQ as HeatMeter1AlertEventValue, aP as HeatMeter1DataEventValue, aS as HeatProduction1AlertEventValue, aR as HeatProduction1DataEventValue, aw as MeasurementStatus, aq as OrganizationAccessLevel, aU as OutdoorClime1AlertEventValue, aT as OutdoorClime1DataEventValue, al as PaginableRequestParams, aW as PowerMeter1AlertEventValue, aV as PowerMeter1DataEventValue, ar as ProjectAccessLevel, aj as ProjectModifyTag, ai as ProjectTag, ak as ProjectTagDetails, ap as ProjectTagRequestParams, ag as ProjectTagTreeNode, ah as ProjectTagsTree, av as RobotCloudCreateUser, af as RobotCloudPermissionsHelper, au as RobotCloudUserAppAccess, aY as RoomBlePairing1AlertEventValue, aX as RoomBlePairing1DataEventValue, a_ as RoomDiagnostics1AlertEventValue, aZ as RoomDiagnostics1Data, am as SortableListRequestParams, an as SubsystemTagsRequestParams, b0 as TemporizedOutput1AlertEventValue, a$ as TemporizedOutput1Data, b2 as WaterCounter1AlertEventValue, b1 as WaterCounter1Data, ae as robotCloudPermissionsHelper, ac as tagsClient, ad as tagsHelper } from './index-DQ1Poh9r.mjs';
5
5
 
6
6
  declare const robotcloudApi: axios.AxiosInstance;
7
7
 
@@ -136,6 +136,21 @@ interface AlertsLogsAggregated {
136
136
  alerts: AlertsLogsAggregatedAlert[];
137
137
  }
138
138
 
139
+ interface AlertsByLocation {
140
+ total_alerts: number;
141
+ tags: { tag: string, activation_count: number }[];
142
+ locations: {
143
+ total_size: number;
144
+ initial_index: number;
145
+ locations: {
146
+ location: string;
147
+ classifier: string;
148
+ alert_name: string;
149
+ activation_count: number;
150
+ }[];
151
+ };
152
+ }
153
+
139
154
  interface AlertLogAckItem {
140
155
  id: string;
141
156
  acknowledged: boolean;
@@ -167,6 +182,7 @@ interface AlertsClient {
167
182
  ): Promise<AxiosResponse<AlertsLogsAggregated>>;
168
183
 
169
184
  getAvailableAlerts(projectId: string, params?: SubsystemRequestParams): Promise<AxiosResponse<string[]>>;
185
+ getAlertsByLocation(projectId: string, params?: AlertsByLocationRequestParams): Promise<AxiosResponse<AlertsByLocation>>;
170
186
 
171
187
  getServiceTypeAlertKeys(serviceType: string): string[];
172
188
  }
@@ -723,4 +739,4 @@ declare const alertsClient: AlertsClient;
723
739
  declare const organizationsClient: OrganizationsClient;
724
740
  declare const usersClient: UsersClient;
725
741
 
726
- 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 CoolHeatConsConfigurationParams, type CoolHeatProdConfigurationParams, type CoolHeatTemperatureConfigurationParams, type CreateServiceInstance, type EnergyCounterConfigurationParams, type EnergyProductionConfigurationParams, type GasCounterConfigurationParams, type GenericTemperatureConfigurationParams, type HeatMeterConfigurationParams, type HeatProductionConfigurationParams, HistoricAggregateFunction, LocationServiceInstancesRequestParams, type LoginClient, type ModifyServiceInstanceDetails, OrganizationsClient, type OutdoorClimeConfigurationParams, type PowerMeterConfigurationParams, 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, RobotCloudProjectInstances, RobotCloudProjectUsers, RobotCloudPutApplication, RobotCloudPutOrganization, RobotCloudPutProject, RobotCloudPutProjectUser, RobotCloudPutUserDetails, RobotCloudRobotCloudDeviceCreate, RobotCloudRobotCloudDeviceModify, type RobotCloudServiceInstance, RobotCloudServiceType, RobotCloudServiceTypeDetails, RobotCloudUserDetails, RobotCloudUserOrganization, RobotCloudUserProject, RobotCloudUserSimple, RobotCloudUsers, type RoomBlePairingConfigurationParams, RoomClime1AlertEventValue, type RoomClime1Data, type RoomClimeAlertsKeys, RoomClimeClient, type RoomClimeConfigurationParams, RoomConsumes1AlertEventValue, type RoomConsumes1Data, type RoomConsumesConfigurationParams, type RoomDiagnosticsConfigurationParams, type RoomGrouping1DataEventValue, type RoomGrouping1InstanceDeviceConfig, type RoomGroupingConfigurationParams, RoomGuestStatus1AlertEventValue, 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 TemporizedOutputConfigurationParams, type TokenResponse, UsersClient, type WaterCounterConfigurationParams, airQualityClient, alertsClient, applicationsClient, classifiersClient, clientConfig, devicesClient, locationsClient, loginClient, organizationsClient, projectsClient, robotCloudToken, robotcloudApi, roomClimeClient, roomConsumesClient, roomGroupingClient, roomGuestStatusClient, serviceInstancesClient, subsystemsClient, usersClient };
742
+ export { type AirHandlingUnitConfigurationParams, AirQuality1AlertEventValue, AirQuality1DataEventValue, type AirQualityConfigurationParams, AlertAggregatedLogsRequestParams, type AlertLogAckAlerts, type AlertLogLine, AlertLogsListRequestParams, type AlertsByLocation, AlertsByLocationRequestParams, type AlertsClient, type AlertsLogsAggregated, type AlertsLogsList, type AlertsLogsStats, AlertsProjectStatsRequestParams, ApplicationsClient, type CheckTokenResponse, type ChillerHeatingPumpConfigurationParams, type Classifier, type ClassifierCreate, type ClassifierDetails, type ClassifierModify, type CoolHeatConsConfigurationParams, type CoolHeatProdConfigurationParams, type CoolHeatTemperatureConfigurationParams, type CreateServiceInstance, type EnergyCounterConfigurationParams, type EnergyProductionConfigurationParams, type GasCounterConfigurationParams, type GenericTemperatureConfigurationParams, type HeatMeterConfigurationParams, type HeatProductionConfigurationParams, HistoricAggregateFunction, LocationServiceInstancesRequestParams, type LoginClient, type ModifyServiceInstanceDetails, OrganizationsClient, type OutdoorClimeConfigurationParams, type PowerMeterConfigurationParams, 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, RobotCloudProjectInstances, RobotCloudProjectUsers, RobotCloudPutApplication, RobotCloudPutOrganization, RobotCloudPutProject, RobotCloudPutProjectUser, RobotCloudPutUserDetails, RobotCloudRobotCloudDeviceCreate, RobotCloudRobotCloudDeviceModify, type RobotCloudServiceInstance, RobotCloudServiceType, RobotCloudServiceTypeDetails, RobotCloudUserDetails, RobotCloudUserOrganization, RobotCloudUserProject, RobotCloudUserSimple, RobotCloudUsers, type RoomBlePairingConfigurationParams, RoomClime1AlertEventValue, type RoomClime1Data, type RoomClimeAlertsKeys, RoomClimeClient, type RoomClimeConfigurationParams, RoomConsumes1AlertEventValue, type RoomConsumes1Data, type RoomConsumesConfigurationParams, type RoomDiagnosticsConfigurationParams, type RoomGrouping1DataEventValue, type RoomGrouping1InstanceDeviceConfig, type RoomGroupingConfigurationParams, RoomGuestStatus1AlertEventValue, 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 TemporizedOutputConfigurationParams, type TokenResponse, UsersClient, type WaterCounterConfigurationParams, 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 ServiceInstanceAlertsClient, D as ServiceInstanceAlertRequestParams, E as ServiceAlertRequestParams, F as ServiceInstanceHistoricClient, G as ServiceInstanceHistoricParams, H as HistoricAggregateFunction, I as ServiceInstanceHistoricAggregateParams, J as ServiceTypeClient, K as RoomClime1AlertEventValue, L as RoomGuestStatus1AlertEventValue, M as AirQuality1DataEventValue, N as AirQuality1AlertEventValue, O as RoomConsumes1AlertEventValue, P as ProjectClassifiersRequestParams, Q as RobotCloudRobotCloudDeviceCreate, U as RobotCloudDeviceDetails, V as RobotCloudRobotCloudDeviceModify, W as RobotCloudDeviceConfiguration, X as ProjectLocationsRequestParams, Y as RobotCloudServiceType, Z as LocationServiceInstancesRequestParams, _ as RobotCloudProject, $ as RobotCloudCreateProject, a0 as ProjectsRequestParams, a1 as ProjectDetailsRequestParams, a2 as RobotCloudProjectDetails, a3 as RobotCloudPutProject, a4 as RobotCloudProjectUsers, a5 as RobotCloudProjectApplications, a6 as RobotCloudApplicationEnable, a7 as RobotCloudProjectInstances, a8 as RobotCloudServiceTypeDetails, a9 as ServiceInstancesRequestParams, aa as ServiceInstanceRead } from './index-B4EMC1Af.js';
4
- export { aw as AirHandlingUnit1AlertEventValue, ax as AirHandlingUnit1DataEventValue, ar as AppAccessLevel, an as BaseFullPaginableRequestParams, az as ChillerHeatingPump1AlertEventValue, ay as ChillerHeatingPump1DataEventValue, aB as CoolHeatCons1AlertEventValue, aA as CoolHeatCons1DataEventValue, aD as CoolHeatProd1AlertEventValue, aC as CoolHeatProd1DataEventValue, aF as CoolHeatTemperature1AlertEventValue, aE as CoolHeatTemperature1DataEventValue, aH as EnergyCounter1AlertEventValue, aG as EnergyCounter1DataEventValue, aJ as EnergyProduction1AlertEventValue, aI as EnergyProduction1DataEventValue, as as FancoilSpeedState, aL as GasCounter1AlertEventValue, aK as GasCounter1DataEventValue, aN as GenericTemperature1AlertEventValue, aM as GenericTemperature1DataEventValue, aP as HeatMeter1AlertEventValue, aO as HeatMeter1DataEventValue, aR as HeatProduction1AlertEventValue, aQ as HeatProduction1DataEventValue, av as MeasurementStatus, ap as OrganizationAccessLevel, aT as OutdoorClime1AlertEventValue, aS as OutdoorClime1DataEventValue, ak as PaginableRequestParams, aV as PowerMeter1AlertEventValue, aU as PowerMeter1DataEventValue, aq as ProjectAccessLevel, ai as ProjectModifyTag, ah as ProjectTag, aj as ProjectTagDetails, ao as ProjectTagRequestParams, af as ProjectTagTreeNode, ag as ProjectTagsTree, au as RobotCloudCreateUser, ae as RobotCloudPermissionsHelper, at as RobotCloudUserAppAccess, aX as RoomBlePairing1AlertEventValue, aW as RoomBlePairing1DataEventValue, aZ as RoomDiagnostics1AlertEventValue, aY as RoomDiagnostics1Data, al as SortableListRequestParams, am as SubsystemTagsRequestParams, a$ as TemporizedOutput1AlertEventValue, a_ as TemporizedOutput1Data, b1 as WaterCounter1AlertEventValue, b0 as WaterCounter1Data, ad as robotCloudPermissionsHelper, ab as tagsClient, ac as tagsHelper } from './index-B4EMC1Af.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 AlertsByLocationRequestParams, s as RobotCloudDescribedItem, t as RobotCloudCreateApplication, u as RobotCloudGetApplication, v as RobotCloudPutApplication, w as RegimState, T as TemperatureUnit, x as ServiceInstanceConfigClient, y as ServiceInstanceDataClient, z as ServiceInstanceDataRequestParams, B as ServiceDataMeasurement, C as ServiceDataRequestParams, D as ServiceInstanceAlertsClient, E as ServiceInstanceAlertRequestParams, F as ServiceAlertRequestParams, G as ServiceInstanceHistoricClient, H as ServiceInstanceHistoricParams, I as HistoricAggregateFunction, J as ServiceInstanceHistoricAggregateParams, K as ServiceTypeClient, L as RoomClime1AlertEventValue, M as RoomGuestStatus1AlertEventValue, N as AirQuality1DataEventValue, O as AirQuality1AlertEventValue, P as RoomConsumes1AlertEventValue, Q as ProjectClassifiersRequestParams, U as RobotCloudRobotCloudDeviceCreate, V as RobotCloudDeviceDetails, W as RobotCloudRobotCloudDeviceModify, X as RobotCloudDeviceConfiguration, Y as ProjectLocationsRequestParams, Z as RobotCloudServiceType, _ as LocationServiceInstancesRequestParams, $ as RobotCloudProject, a0 as RobotCloudCreateProject, a1 as ProjectsRequestParams, a2 as ProjectDetailsRequestParams, a3 as RobotCloudProjectDetails, a4 as RobotCloudPutProject, a5 as RobotCloudProjectUsers, a6 as RobotCloudProjectApplications, a7 as RobotCloudApplicationEnable, a8 as RobotCloudProjectInstances, a9 as RobotCloudServiceTypeDetails, aa as ServiceInstancesRequestParams, ab as ServiceInstanceRead } from './index-DQ1Poh9r.js';
4
+ export { ax as AirHandlingUnit1AlertEventValue, ay as AirHandlingUnit1DataEventValue, as as AppAccessLevel, ao as BaseFullPaginableRequestParams, aA as ChillerHeatingPump1AlertEventValue, az as ChillerHeatingPump1DataEventValue, aC as CoolHeatCons1AlertEventValue, aB as CoolHeatCons1DataEventValue, aE as CoolHeatProd1AlertEventValue, aD as CoolHeatProd1DataEventValue, aG as CoolHeatTemperature1AlertEventValue, aF as CoolHeatTemperature1DataEventValue, aI as EnergyCounter1AlertEventValue, aH as EnergyCounter1DataEventValue, aK as EnergyProduction1AlertEventValue, aJ as EnergyProduction1DataEventValue, at as FancoilSpeedState, aM as GasCounter1AlertEventValue, aL as GasCounter1DataEventValue, aO as GenericTemperature1AlertEventValue, aN as GenericTemperature1DataEventValue, aQ as HeatMeter1AlertEventValue, aP as HeatMeter1DataEventValue, aS as HeatProduction1AlertEventValue, aR as HeatProduction1DataEventValue, aw as MeasurementStatus, aq as OrganizationAccessLevel, aU as OutdoorClime1AlertEventValue, aT as OutdoorClime1DataEventValue, al as PaginableRequestParams, aW as PowerMeter1AlertEventValue, aV as PowerMeter1DataEventValue, ar as ProjectAccessLevel, aj as ProjectModifyTag, ai as ProjectTag, ak as ProjectTagDetails, ap as ProjectTagRequestParams, ag as ProjectTagTreeNode, ah as ProjectTagsTree, av as RobotCloudCreateUser, af as RobotCloudPermissionsHelper, au as RobotCloudUserAppAccess, aY as RoomBlePairing1AlertEventValue, aX as RoomBlePairing1DataEventValue, a_ as RoomDiagnostics1AlertEventValue, aZ as RoomDiagnostics1Data, am as SortableListRequestParams, an as SubsystemTagsRequestParams, b0 as TemporizedOutput1AlertEventValue, a$ as TemporizedOutput1Data, b2 as WaterCounter1AlertEventValue, b1 as WaterCounter1Data, ae as robotCloudPermissionsHelper, ac as tagsClient, ad as tagsHelper } from './index-DQ1Poh9r.js';
5
5
 
6
6
  declare const robotcloudApi: axios.AxiosInstance;
7
7
 
@@ -136,6 +136,21 @@ interface AlertsLogsAggregated {
136
136
  alerts: AlertsLogsAggregatedAlert[];
137
137
  }
138
138
 
139
+ interface AlertsByLocation {
140
+ total_alerts: number;
141
+ tags: { tag: string, activation_count: number }[];
142
+ locations: {
143
+ total_size: number;
144
+ initial_index: number;
145
+ locations: {
146
+ location: string;
147
+ classifier: string;
148
+ alert_name: string;
149
+ activation_count: number;
150
+ }[];
151
+ };
152
+ }
153
+
139
154
  interface AlertLogAckItem {
140
155
  id: string;
141
156
  acknowledged: boolean;
@@ -167,6 +182,7 @@ interface AlertsClient {
167
182
  ): Promise<AxiosResponse<AlertsLogsAggregated>>;
168
183
 
169
184
  getAvailableAlerts(projectId: string, params?: SubsystemRequestParams): Promise<AxiosResponse<string[]>>;
185
+ getAlertsByLocation(projectId: string, params?: AlertsByLocationRequestParams): Promise<AxiosResponse<AlertsByLocation>>;
170
186
 
171
187
  getServiceTypeAlertKeys(serviceType: string): string[];
172
188
  }
@@ -723,4 +739,4 @@ declare const alertsClient: AlertsClient;
723
739
  declare const organizationsClient: OrganizationsClient;
724
740
  declare const usersClient: UsersClient;
725
741
 
726
- 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 CoolHeatConsConfigurationParams, type CoolHeatProdConfigurationParams, type CoolHeatTemperatureConfigurationParams, type CreateServiceInstance, type EnergyCounterConfigurationParams, type EnergyProductionConfigurationParams, type GasCounterConfigurationParams, type GenericTemperatureConfigurationParams, type HeatMeterConfigurationParams, type HeatProductionConfigurationParams, HistoricAggregateFunction, LocationServiceInstancesRequestParams, type LoginClient, type ModifyServiceInstanceDetails, OrganizationsClient, type OutdoorClimeConfigurationParams, type PowerMeterConfigurationParams, 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, RobotCloudProjectInstances, RobotCloudProjectUsers, RobotCloudPutApplication, RobotCloudPutOrganization, RobotCloudPutProject, RobotCloudPutProjectUser, RobotCloudPutUserDetails, RobotCloudRobotCloudDeviceCreate, RobotCloudRobotCloudDeviceModify, type RobotCloudServiceInstance, RobotCloudServiceType, RobotCloudServiceTypeDetails, RobotCloudUserDetails, RobotCloudUserOrganization, RobotCloudUserProject, RobotCloudUserSimple, RobotCloudUsers, type RoomBlePairingConfigurationParams, RoomClime1AlertEventValue, type RoomClime1Data, type RoomClimeAlertsKeys, RoomClimeClient, type RoomClimeConfigurationParams, RoomConsumes1AlertEventValue, type RoomConsumes1Data, type RoomConsumesConfigurationParams, type RoomDiagnosticsConfigurationParams, type RoomGrouping1DataEventValue, type RoomGrouping1InstanceDeviceConfig, type RoomGroupingConfigurationParams, RoomGuestStatus1AlertEventValue, 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 TemporizedOutputConfigurationParams, type TokenResponse, UsersClient, type WaterCounterConfigurationParams, airQualityClient, alertsClient, applicationsClient, classifiersClient, clientConfig, devicesClient, locationsClient, loginClient, organizationsClient, projectsClient, robotCloudToken, robotcloudApi, roomClimeClient, roomConsumesClient, roomGroupingClient, roomGuestStatusClient, serviceInstancesClient, subsystemsClient, usersClient };
742
+ export { type AirHandlingUnitConfigurationParams, AirQuality1AlertEventValue, AirQuality1DataEventValue, type AirQualityConfigurationParams, AlertAggregatedLogsRequestParams, type AlertLogAckAlerts, type AlertLogLine, AlertLogsListRequestParams, type AlertsByLocation, AlertsByLocationRequestParams, type AlertsClient, type AlertsLogsAggregated, type AlertsLogsList, type AlertsLogsStats, AlertsProjectStatsRequestParams, ApplicationsClient, type CheckTokenResponse, type ChillerHeatingPumpConfigurationParams, type Classifier, type ClassifierCreate, type ClassifierDetails, type ClassifierModify, type CoolHeatConsConfigurationParams, type CoolHeatProdConfigurationParams, type CoolHeatTemperatureConfigurationParams, type CreateServiceInstance, type EnergyCounterConfigurationParams, type EnergyProductionConfigurationParams, type GasCounterConfigurationParams, type GenericTemperatureConfigurationParams, type HeatMeterConfigurationParams, type HeatProductionConfigurationParams, HistoricAggregateFunction, LocationServiceInstancesRequestParams, type LoginClient, type ModifyServiceInstanceDetails, OrganizationsClient, type OutdoorClimeConfigurationParams, type PowerMeterConfigurationParams, 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, RobotCloudProjectInstances, RobotCloudProjectUsers, RobotCloudPutApplication, RobotCloudPutOrganization, RobotCloudPutProject, RobotCloudPutProjectUser, RobotCloudPutUserDetails, RobotCloudRobotCloudDeviceCreate, RobotCloudRobotCloudDeviceModify, type RobotCloudServiceInstance, RobotCloudServiceType, RobotCloudServiceTypeDetails, RobotCloudUserDetails, RobotCloudUserOrganization, RobotCloudUserProject, RobotCloudUserSimple, RobotCloudUsers, type RoomBlePairingConfigurationParams, RoomClime1AlertEventValue, type RoomClime1Data, type RoomClimeAlertsKeys, RoomClimeClient, type RoomClimeConfigurationParams, RoomConsumes1AlertEventValue, type RoomConsumes1Data, type RoomConsumesConfigurationParams, type RoomDiagnosticsConfigurationParams, type RoomGrouping1DataEventValue, type RoomGrouping1InstanceDeviceConfig, type RoomGroupingConfigurationParams, RoomGuestStatus1AlertEventValue, 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 TemporizedOutputConfigurationParams, type TokenResponse, UsersClient, type WaterCounterConfigurationParams, airQualityClient, alertsClient, applicationsClient, classifiersClient, clientConfig, devicesClient, locationsClient, loginClient, organizationsClient, projectsClient, robotCloudToken, robotcloudApi, roomClimeClient, roomConsumesClient, roomGroupingClient, roomGuestStatusClient, serviceInstancesClient, subsystemsClient, usersClient };
package/dist/index.js CHANGED
@@ -246,6 +246,12 @@ var AlertsClientImpl = class {
246
246
  data: alerts
247
247
  };
248
248
  }
249
+ getAlertsByLocation(projectId, params) {
250
+ return this.robotcloudApi.get(
251
+ `projects/${projectId}/alerts/bylocation`,
252
+ { params }
253
+ );
254
+ }
249
255
  getServiceTypeAlertKeys(serviceType) {
250
256
  return ALERTS_BY_SERVICE_TYPE[serviceType];
251
257
  }