@olympeio/runtime-node 9.11.11 → 9.11.12

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@olympeio/runtime-node",
3
- "version": "9.11.11",
3
+ "version": "9.11.12",
4
4
  "description": "Olympe Node Runtime Environment",
5
5
  "types": "types/index.d.ts",
6
6
  "dependencies": {
@@ -278,6 +278,11 @@ export interface QueryPart {
278
278
  */
279
279
  export abstract class DataSource extends CloudObject {
280
280
 
281
+ /**
282
+ * @return The name of this data source, in lower case and formatted without any special character.
283
+ */
284
+ getLowerName(): string;
285
+
281
286
  /**
282
287
  * Returns the tag of the data source.
283
288
  * @return tag of the data source.
package/types/other.d.ts CHANGED
@@ -406,3 +406,20 @@ export class Process {
406
406
  */
407
407
  static isOnline(context: Context): Observable<boolean>;
408
408
  }
409
+
410
+ export class EventMonitor {
411
+ /**
412
+ * Checks if the Event Monitor is enabled in the config.
413
+ */
414
+ static isEnabled(): boolean;
415
+
416
+ /**
417
+ * Track an occurrence of an event. No network call is made; an in-memory counter is incremented
418
+ * and later flushed in batch. If monitoring is disabled, the call is a no‑op.
419
+ *
420
+ * @param eventType The event type (remote action, datasource, etc)
421
+ * @param eventName Logical event name (e.g. brick name or endpoint id).
422
+ */
423
+ static track(eventType: string, eventName: string): void;
424
+ }
425
+