@space-df/sdk 0.0.1-dev.41 → 0.0.1-dev.42

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/api.doc.md CHANGED
@@ -3121,6 +3121,67 @@ console.log(alerts.count);
3121
3121
 
3122
3122
  </details>
3123
3123
 
3124
+ <details>
3125
+ <summary><strong>events.list</strong></summary>
3126
+
3127
+ List telemetry events for a device with optional filtering and pagination.
3128
+
3129
+ **Signature:**
3130
+
3131
+ ```typescript
3132
+ list(device_id: string, params: EventsListParams, options?: Core.RequestOptions): Core.APIPromise<ListResponse<TelemetryEvent>>
3133
+ ```
3134
+
3135
+ **Parameters:**
3136
+
3137
+ - `device_id` _(string)_: The unique identifier of the device to fetch events for.
3138
+ - `params` _(EventsListParams)_: Query parameters for filtering and pagination:
3139
+ - `limit` _(integer, optional)_: Number of results to return per page.
3140
+ - `offset` _(integer, optional)_: The initial index from which to return the results.
3141
+ - `search` _(string, optional)_: A search term to filter results.
3142
+ - `options` _(Core.RequestOptions)_: Additional request options.
3143
+
3144
+ **Returns:** `Promise<ListResponse<TelemetryEvent>>`
3145
+
3146
+ **Response shape:**
3147
+
3148
+ - `count` _(integer)_: Total number of events matching the query.
3149
+ - `next` _(string | null)_: URL to the next page of results, or `null`.
3150
+ - `previous` _(string | null)_: URL to the previous page of results, or `null`.
3151
+ - `results` _(TelemetryEvent[])_: Array of telemetry event objects.
3152
+
3153
+ **TelemetryEvent shape:**
3154
+
3155
+ - `id` _(integer)_: Event ID.
3156
+ - `event_type` _(string)_: Event type (e.g., `"device_event"`).
3157
+ - `event_level` _(string)_: Event level/category (e.g., `"automation"`).
3158
+ - `title` _(string)_: Human-readable event title.
3159
+ - `entity_id` _(string)_: Entity UUID associated with the event.
3160
+ - `time_fired` _(string)_: ISO timestamp when the event fired.
3161
+ - `geofence` _(object, optional)_: Geofence metadata, when applicable:
3162
+ - `id` _(string)_: Geofence UUID.
3163
+ - `name` _(string)_: Geofence name.
3164
+ - `type_zone` _(string)_: Zone type (e.g., `"danger"`).
3165
+ - `automation` _(object, optional)_: Automation metadata, when applicable:
3166
+ - `id` _(string)_: Automation UUID.
3167
+ - `name` _(string)_: Automation name.
3168
+ - `location` _(object, optional)_: Location, when applicable:
3169
+ - `latitude` _(number)_: Latitude.
3170
+ - `longitude` _(number)_: Longitude.
3171
+
3172
+ **Example:**
3173
+
3174
+ ```typescript
3175
+ const events = await client.telemetry.events.list('device-uuid-123', {
3176
+ search: 'Danger Zone',
3177
+ limit: 10,
3178
+ offset: 0,
3179
+ });
3180
+ console.log(events.results);
3181
+ ```
3182
+
3183
+ </details>
3184
+
3124
3185
  <details>
3125
3186
  <summary><strong>geofences.list</strong></summary>
3126
3187
 
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@space-df/sdk",
3
- "version": "0.0.1-dev.41",
3
+ "version": "0.0.1-dev.42",
4
4
  "description": "The official TypeScript library for the Spacedf SDK API",
5
5
  "author": "Spacedf SDK <support@digitalfortress.dev>",
6
6
  "types": "./index.d.ts",
@@ -0,0 +1,37 @@
1
+ import { APIResource } from '@space-df/sdk/resource';
2
+ import * as Core from "../../core.js";
3
+ import { ListResponse } from '@space-df/sdk/types/api';
4
+ interface TelemetryEventGeofence {
5
+ id: string;
6
+ name: string;
7
+ type_zone: string;
8
+ }
9
+ interface TelemetryAutomation {
10
+ id: string;
11
+ name: string;
12
+ }
13
+ interface TelemetryEventLocation {
14
+ latitude: number;
15
+ longitude: number;
16
+ }
17
+ interface TelemetryEvent {
18
+ id: number;
19
+ event_type: string;
20
+ event_level: string;
21
+ title: string;
22
+ entity_id: string;
23
+ time_fired: string;
24
+ geofence?: TelemetryEventGeofence;
25
+ automation?: TelemetryAutomation;
26
+ location?: TelemetryEventLocation;
27
+ }
28
+ interface EventsListParams {
29
+ limit?: number;
30
+ offset?: number;
31
+ search?: string;
32
+ }
33
+ export declare class Events extends APIResource {
34
+ list(device_id: string, params: EventsListParams, options?: Core.RequestOptions): Core.APIPromise<ListResponse<TelemetryEvent>>;
35
+ }
36
+ export {};
37
+ //# sourceMappingURL=events.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"events.d.ts","sourceRoot":"","sources":["../../src/resources/telemetry/events.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AACrD,OAAO,KAAK,IAAI,MAAM,YAAY,CAAC;AACnC,OAAO,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AAEvD,UAAU,sBAAsB;IAC5B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,MAAM,CAAC;CACrB;AAED,UAAU,mBAAmB;IACzB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;CAChB;AAED,UAAU,sBAAsB;IAC5B,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;CACrB;AAED,UAAU,cAAc;IACpB,EAAE,EAAE,MAAM,CAAC;IACX,UAAU,EAAE,MAAM,CAAC;IACnB,WAAW,EAAE,MAAM,CAAC;IACpB,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,MAAM,CAAC;IAClB,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,sBAAsB,CAAC;IAClC,UAAU,CAAC,EAAE,mBAAmB,CAAC;IACjC,QAAQ,CAAC,EAAE,sBAAsB,CAAC;CACrC;AAED,UAAU,gBAAgB;IACtB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,qBAAa,MAAO,SAAQ,WAAW;IACnC,IAAI,CAAC,SAAS,EAAE,MAAM,EAAE,MAAM,EAAE,gBAAgB,EAAE,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAAG,IAAI,CAAC,UAAU,CAAC,YAAY,CAAC,cAAc,CAAC,CAAC;CAQlI"}
@@ -0,0 +1,16 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Events = void 0;
4
+ const resource_1 = require("@space-df/sdk/resource");
5
+ class Events extends resource_1.APIResource {
6
+ list(device_id, params, options) {
7
+ const { ...query } = params;
8
+ return this._client.get(`/telemetry/v1/events/device/${device_id}`, {
9
+ query,
10
+ ...options,
11
+ headers: { ...options?.headers },
12
+ });
13
+ }
14
+ }
15
+ exports.Events = Events;
16
+ //# sourceMappingURL=events.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"events.js","sourceRoot":"","sources":["../../src/resources/telemetry/events.ts"],"names":[],"mappings":";;;AAAA,qDAAqD;AAsCrD,MAAa,MAAO,SAAQ,sBAAW;IACnC,IAAI,CAAC,SAAiB,EAAE,MAAwB,EAAE,OAA6B;QAC3E,MAAM,EAAE,GAAG,KAAK,EAAE,GAAG,MAAM,CAAC;QAC5B,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,+BAA+B,SAAS,EAAE,EAAE;YAChE,KAAK;YACL,GAAG,OAAO;YACV,OAAO,EAAE,EAAE,GAAG,OAAO,EAAE,OAAO,EAAE;SACnC,CAAC,CAAC;IACP,CAAC;CACJ;AATD,wBASC"}
@@ -0,0 +1,12 @@
1
+ import { APIResource } from '@space-df/sdk/resource';
2
+ export class Events extends APIResource {
3
+ list(device_id, params, options) {
4
+ const { ...query } = params;
5
+ return this._client.get(`/telemetry/v1/events/device/${device_id}`, {
6
+ query,
7
+ ...options,
8
+ headers: { ...options?.headers },
9
+ });
10
+ }
11
+ }
12
+ //# sourceMappingURL=events.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"events.mjs","sourceRoot":"","sources":["../../src/resources/telemetry/events.ts"],"names":[],"mappings":"OAAO,EAAE,WAAW,EAAE,MAAM,wBAAwB;AAsCpD,MAAM,OAAO,MAAO,SAAQ,WAAW;IACnC,IAAI,CAAC,SAAiB,EAAE,MAAwB,EAAE,OAA6B;QAC3E,MAAM,EAAE,GAAG,KAAK,EAAE,GAAG,MAAM,CAAC;QAC5B,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,+BAA+B,SAAS,EAAE,EAAE;YAChE,KAAK;YACL,GAAG,OAAO;YACV,OAAO,EAAE,EAAE,GAAG,OAAO,EAAE,OAAO,EAAE;SACnC,CAAC,CAAC;IACP,CAAC;CACJ"}
@@ -2,10 +2,11 @@ import { APIResource } from '@space-df/sdk/resource';
2
2
  import { Entities } from "./entities.js";
3
3
  import { Alerts } from "./alerts.js";
4
4
  import { Geofences } from "./geofences.js";
5
+ import { Events } from "./events.js";
5
6
  export declare class Telemetry extends APIResource {
6
7
  entities: Entities;
7
8
  alerts: Alerts;
8
9
  geofences: Geofences;
10
+ events: Events;
9
11
  }
10
- export * from "./entities.js";
11
12
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/telemetry/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AACrD,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,qBAAa,SAAU,SAAQ,WAAW;IACtC,QAAQ,EAAE,QAAQ,CAA8B;IAChD,MAAM,EAAE,MAAM,CAA4B;IAC1C,SAAS,EAAE,SAAS,CAA+B;CACtD;AAED,cAAc,YAAY,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/telemetry/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AACrD,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAElC,qBAAa,SAAU,SAAQ,WAAW;IACtC,QAAQ,EAAE,QAAQ,CAA8B;IAChD,MAAM,EAAE,MAAM,CAA4B;IAC1C,SAAS,EAAE,SAAS,CAA+B;IACnD,MAAM,EAAE,MAAM,CAA4B;CAC7C"}
@@ -1,32 +1,19 @@
1
1
  "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
2
  Object.defineProperty(exports, "__esModule", { value: true });
17
3
  exports.Telemetry = void 0;
18
4
  const resource_1 = require("@space-df/sdk/resource");
19
5
  const entities_1 = require("./entities.js");
20
6
  const alerts_1 = require("./alerts.js");
21
7
  const geofences_1 = require("./geofences.js");
8
+ const events_1 = require("./events.js");
22
9
  class Telemetry extends resource_1.APIResource {
23
10
  constructor() {
24
11
  super(...arguments);
25
12
  this.entities = new entities_1.Entities(this._client);
26
13
  this.alerts = new alerts_1.Alerts(this._client);
27
14
  this.geofences = new geofences_1.Geofences(this._client);
15
+ this.events = new events_1.Events(this._client);
28
16
  }
29
17
  }
30
18
  exports.Telemetry = Telemetry;
31
- __exportStar(require("./entities.js"), exports);
32
19
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/resources/telemetry/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,qDAAqD;AACrD,4CAAsC;AACtC,wCAAkC;AAClC,8CAAwC;AAExC,MAAa,SAAU,SAAQ,sBAAW;IAA1C;;QACI,aAAQ,GAAa,IAAI,mBAAQ,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAChD,WAAM,GAAW,IAAI,eAAM,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAC1C,cAAS,GAAc,IAAI,qBAAS,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IACvD,CAAC;CAAA;AAJD,8BAIC;AAED,gDAA2B"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/resources/telemetry/index.ts"],"names":[],"mappings":";;;AAAA,qDAAqD;AACrD,4CAAsC;AACtC,wCAAkC;AAClC,8CAAwC;AACxC,wCAAkC;AAElC,MAAa,SAAU,SAAQ,sBAAW;IAA1C;;QACI,aAAQ,GAAa,IAAI,mBAAQ,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAChD,WAAM,GAAW,IAAI,eAAM,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAC1C,cAAS,GAAc,IAAI,qBAAS,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACnD,WAAM,GAAW,IAAI,eAAM,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAC9C,CAAC;CAAA;AALD,8BAKC"}
@@ -2,13 +2,14 @@ import { APIResource } from '@space-df/sdk/resource';
2
2
  import { Entities } from "./entities.mjs";
3
3
  import { Alerts } from "./alerts.mjs";
4
4
  import { Geofences } from "./geofences.mjs";
5
+ import { Events } from "./events.mjs";
5
6
  export class Telemetry extends APIResource {
6
7
  constructor() {
7
8
  super(...arguments);
8
9
  this.entities = new Entities(this._client);
9
10
  this.alerts = new Alerts(this._client);
10
11
  this.geofences = new Geofences(this._client);
12
+ this.events = new Events(this._client);
11
13
  }
12
14
  }
13
- export * from "./entities.mjs";
14
15
  //# sourceMappingURL=index.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/resources/telemetry/index.ts"],"names":[],"mappings":"OAAO,EAAE,WAAW,EAAE,MAAM,wBAAwB;OAC7C,EAAE,QAAQ,EAAE;OACZ,EAAE,MAAM,EAAE;OACV,EAAE,SAAS,EAAE;AAEpB,MAAM,OAAO,SAAU,SAAQ,WAAW;IAA1C;;QACI,aAAQ,GAAa,IAAI,QAAQ,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAChD,WAAM,GAAW,IAAI,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAC1C,cAAS,GAAc,IAAI,SAAS,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IACvD,CAAC;CAAA"}
1
+ {"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/resources/telemetry/index.ts"],"names":[],"mappings":"OAAO,EAAE,WAAW,EAAE,MAAM,wBAAwB;OAC7C,EAAE,QAAQ,EAAE;OACZ,EAAE,MAAM,EAAE;OACV,EAAE,SAAS,EAAE;OACb,EAAE,MAAM,EAAE;AAEjB,MAAM,OAAO,SAAU,SAAQ,WAAW;IAA1C;;QACI,aAAQ,GAAa,IAAI,QAAQ,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAChD,WAAM,GAAW,IAAI,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAC1C,cAAS,GAAc,IAAI,SAAS,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACnD,WAAM,GAAW,IAAI,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAC9C,CAAC;CAAA"}
@@ -0,0 +1,48 @@
1
+ import { APIResource } from "../../resource";
2
+ import * as Core from '../../core';
3
+ import { ListResponse } from "../../types/api";
4
+
5
+ interface TelemetryEventGeofence {
6
+ id: string;
7
+ name: string;
8
+ type_zone: string;
9
+ }
10
+
11
+ interface TelemetryAutomation {
12
+ id: string;
13
+ name: string;
14
+ }
15
+
16
+ interface TelemetryEventLocation {
17
+ latitude: number;
18
+ longitude: number;
19
+ }
20
+
21
+ interface TelemetryEvent {
22
+ id: number;
23
+ event_type: string;
24
+ event_level: string;
25
+ title: string;
26
+ entity_id: string;
27
+ time_fired: string;
28
+ geofence?: TelemetryEventGeofence;
29
+ automation?: TelemetryAutomation;
30
+ location?: TelemetryEventLocation;
31
+ }
32
+
33
+ interface EventsListParams {
34
+ limit?: number;
35
+ offset?: number;
36
+ search?: string;
37
+ }
38
+
39
+ export class Events extends APIResource {
40
+ list(device_id: string, params: EventsListParams, options?: Core.RequestOptions): Core.APIPromise<ListResponse<TelemetryEvent>> {
41
+ const { ...query } = params;
42
+ return this._client.get(`/telemetry/v1/events/device/${device_id}`, {
43
+ query,
44
+ ...options,
45
+ headers: { ...options?.headers },
46
+ });
47
+ }
48
+ }
@@ -2,11 +2,11 @@ import { APIResource } from "../../resource";
2
2
  import { Entities } from './entities';
3
3
  import { Alerts } from './alerts';
4
4
  import { Geofences } from './geofences';
5
+ import { Events } from './events';
5
6
 
6
7
  export class Telemetry extends APIResource {
7
8
  entities: Entities = new Entities(this._client);
8
9
  alerts: Alerts = new Alerts(this._client);
9
10
  geofences: Geofences = new Geofences(this._client);
11
+ events: Events = new Events(this._client);
10
12
  }
11
-
12
- export * from './entities';
@@ -1 +1 @@
1
- export const VERSION = '0.0.1-dev.41';
1
+ export const VERSION = '0.0.1-dev.42';
package/dist/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "0.0.1-dev.41";
1
+ export declare const VERSION = "0.0.1-dev.42";
2
2
  //# sourceMappingURL=version.d.ts.map
package/dist/version.js CHANGED
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.VERSION = void 0;
4
- exports.VERSION = '0.0.1-dev.41';
4
+ exports.VERSION = '0.0.1-dev.42';
5
5
  //# sourceMappingURL=version.js.map
package/dist/version.mjs CHANGED
@@ -1,2 +1,2 @@
1
- export const VERSION = '0.0.1-dev.41';
1
+ export const VERSION = '0.0.1-dev.42';
2
2
  //# sourceMappingURL=version.mjs.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@space-df/sdk",
3
- "version": "0.0.1-dev.41",
3
+ "version": "0.0.1-dev.42",
4
4
  "description": "The official TypeScript library for the Spacedf SDK API",
5
5
  "author": "Spacedf SDK <support@digitalfortress.dev>",
6
6
  "types": "dist/index.d.ts",
@@ -0,0 +1,48 @@
1
+ import { APIResource } from '@space-df/sdk/resource';
2
+ import * as Core from '../../core';
3
+ import { ListResponse } from '@space-df/sdk/types/api';
4
+
5
+ interface TelemetryEventGeofence {
6
+ id: string;
7
+ name: string;
8
+ type_zone: string;
9
+ }
10
+
11
+ interface TelemetryAutomation {
12
+ id: string;
13
+ name: string;
14
+ }
15
+
16
+ interface TelemetryEventLocation {
17
+ latitude: number;
18
+ longitude: number;
19
+ }
20
+
21
+ interface TelemetryEvent {
22
+ id: number;
23
+ event_type: string;
24
+ event_level: string;
25
+ title: string;
26
+ entity_id: string;
27
+ time_fired: string;
28
+ geofence?: TelemetryEventGeofence;
29
+ automation?: TelemetryAutomation;
30
+ location?: TelemetryEventLocation;
31
+ }
32
+
33
+ interface EventsListParams {
34
+ limit?: number;
35
+ offset?: number;
36
+ search?: string;
37
+ }
38
+
39
+ export class Events extends APIResource {
40
+ list(device_id: string, params: EventsListParams, options?: Core.RequestOptions): Core.APIPromise<ListResponse<TelemetryEvent>> {
41
+ const { ...query } = params;
42
+ return this._client.get(`/telemetry/v1/events/device/${device_id}`, {
43
+ query,
44
+ ...options,
45
+ headers: { ...options?.headers },
46
+ });
47
+ }
48
+ }
@@ -2,11 +2,11 @@ import { APIResource } from '@space-df/sdk/resource';
2
2
  import { Entities } from './entities';
3
3
  import { Alerts } from './alerts';
4
4
  import { Geofences } from './geofences';
5
+ import { Events } from './events';
5
6
 
6
7
  export class Telemetry extends APIResource {
7
8
  entities: Entities = new Entities(this._client);
8
9
  alerts: Alerts = new Alerts(this._client);
9
10
  geofences: Geofences = new Geofences(this._client);
11
+ events: Events = new Events(this._client);
10
12
  }
11
-
12
- export * from './entities';
package/src/version.ts CHANGED
@@ -1 +1 @@
1
- export const VERSION = '0.0.1-dev.41';
1
+ export const VERSION = '0.0.1-dev.42';