@kinotic-ai/system-api 5.0.0-beta.51 → 5.0.0-beta.52

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/dist/index.cjs CHANGED
@@ -453,12 +453,12 @@ class WatchEventService {
453
453
  constructor(kinotic) {
454
454
  this.serviceProxy = kinotic.serviceProxy(`${import_management_api11.SYSTEM_API_ZONE}~org.kinotic.system.api.services.WatchEventService`);
455
455
  }
456
- async findAll(pageable) {
457
- const page = await this.findAllSinglePage(pageable);
458
- return new import_core3.FunctionalIterablePage(pageable, page, (pageable) => this.findAllSinglePage(pageable));
456
+ async findAll(types, pageable) {
457
+ const page = await this.findAllSinglePage(types, pageable);
458
+ return new import_core3.FunctionalIterablePage(pageable, page, (pageable) => this.findAllSinglePage(types, pageable));
459
459
  }
460
- findAllSinglePage(pageable) {
461
- return this.serviceProxy.invoke("findAll", [pageable]);
460
+ findAllSinglePage(types, pageable) {
461
+ return this.serviceProxy.invoke("findAll", [types, pageable]);
462
462
  }
463
463
  }
464
464
 
package/dist/index.d.cts CHANGED
@@ -647,7 +647,7 @@ declare class SystemMemberService implements ISystemMemberService {
647
647
  setMachineEnabled(machineId: string, enabled: boolean): Promise<void>;
648
648
  removeMachine(machineId: string): Promise<void>;
649
649
  }
650
- import { WatchEvent as WatchEvent3 } from "@kinotic-ai/management-api";
650
+ import { WatchEvent as WatchEvent3, WatchedType } from "@kinotic-ai/management-api";
651
651
  import { IKinotic as IKinotic10 } from "@kinotic-ai/core";
652
652
  import { IterablePage as IterablePage3, Pageable as Pageable6 } from "@kinotic-ai/core";
653
653
  /**
@@ -657,16 +657,17 @@ interface IWatchEventService {
657
657
  /**
658
658
  * Lists what happened to every watched record, newest first: each change of what a record should
659
659
  * be and of what it reports, each mark set beside them, and each status a run passed through, with
660
- * what caused it.
660
+ * what caused it. Each entry names the record by its name when written, beside its id.
661
+ * @param types the kinds of record to list the entries of, every kind when null or empty
661
662
  * @param pageable the page to return
662
663
  * @return a Promise resolving to a page of ledger entries
663
664
  */
664
- findAll(pageable: Pageable6): Promise<IterablePage3<WatchEvent3>>;
665
+ findAll(types: WatchedType[] | null, pageable: Pageable6): Promise<IterablePage3<WatchEvent3>>;
665
666
  }
666
667
  declare class WatchEventService implements IWatchEventService {
667
668
  private readonly serviceProxy;
668
669
  constructor(kinotic: IKinotic10);
669
- findAll(pageable: Pageable6): Promise<IterablePage3<WatchEvent3>>;
670
+ findAll(types: WatchedType[] | null, pageable: Pageable6): Promise<IterablePage3<WatchEvent3>>;
670
671
  private findAllSinglePage;
671
672
  }
672
673
  import { IKinotic as IKinotic11, Page as Page6, Pageable as Pageable7 } from "@kinotic-ai/core";
package/dist/index.d.ts CHANGED
@@ -647,7 +647,7 @@ declare class SystemMemberService implements ISystemMemberService {
647
647
  setMachineEnabled(machineId: string, enabled: boolean): Promise<void>;
648
648
  removeMachine(machineId: string): Promise<void>;
649
649
  }
650
- import { WatchEvent as WatchEvent3 } from "@kinotic-ai/management-api";
650
+ import { WatchEvent as WatchEvent3, WatchedType } from "@kinotic-ai/management-api";
651
651
  import { IKinotic as IKinotic10 } from "@kinotic-ai/core";
652
652
  import { IterablePage as IterablePage3, Pageable as Pageable6 } from "@kinotic-ai/core";
653
653
  /**
@@ -657,16 +657,17 @@ interface IWatchEventService {
657
657
  /**
658
658
  * Lists what happened to every watched record, newest first: each change of what a record should
659
659
  * be and of what it reports, each mark set beside them, and each status a run passed through, with
660
- * what caused it.
660
+ * what caused it. Each entry names the record by its name when written, beside its id.
661
+ * @param types the kinds of record to list the entries of, every kind when null or empty
661
662
  * @param pageable the page to return
662
663
  * @return a Promise resolving to a page of ledger entries
663
664
  */
664
- findAll(pageable: Pageable6): Promise<IterablePage3<WatchEvent3>>;
665
+ findAll(types: WatchedType[] | null, pageable: Pageable6): Promise<IterablePage3<WatchEvent3>>;
665
666
  }
666
667
  declare class WatchEventService implements IWatchEventService {
667
668
  private readonly serviceProxy;
668
669
  constructor(kinotic: IKinotic10);
669
- findAll(pageable: Pageable6): Promise<IterablePage3<WatchEvent3>>;
670
+ findAll(types: WatchedType[] | null, pageable: Pageable6): Promise<IterablePage3<WatchEvent3>>;
670
671
  private findAllSinglePage;
671
672
  }
672
673
  import { IKinotic as IKinotic11, Page as Page6, Pageable as Pageable7 } from "@kinotic-ai/core";
package/dist/index.js CHANGED
@@ -380,12 +380,12 @@ class WatchEventService {
380
380
  constructor(kinotic) {
381
381
  this.serviceProxy = kinotic.serviceProxy(`${SYSTEM_API_ZONE10}~org.kinotic.system.api.services.WatchEventService`);
382
382
  }
383
- async findAll(pageable) {
384
- const page = await this.findAllSinglePage(pageable);
385
- return new FunctionalIterablePage3(pageable, page, (pageable) => this.findAllSinglePage(pageable));
383
+ async findAll(types, pageable) {
384
+ const page = await this.findAllSinglePage(types, pageable);
385
+ return new FunctionalIterablePage3(pageable, page, (pageable) => this.findAllSinglePage(types, pageable));
386
386
  }
387
- findAllSinglePage(pageable) {
388
- return this.serviceProxy.invoke("findAll", [pageable]);
387
+ findAllSinglePage(types, pageable) {
388
+ return this.serviceProxy.invoke("findAll", [types, pageable]);
389
389
  }
390
390
  }
391
391
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kinotic-ai/system-api",
3
- "version": "5.0.0-beta.51",
3
+ "version": "5.0.0-beta.52",
4
4
  "type": "module",
5
5
  "description": "Client API for the Kinotic platform's system plane: the workload and node orchestration services system machines and operators use.",
6
6
  "files": [
@@ -39,11 +39,11 @@
39
39
  },
40
40
  "peerDependencies": {
41
41
  "@kinotic-ai/core": "^5.0.0-beta.30",
42
- "@kinotic-ai/management-api": "^5.0.0-beta.81"
42
+ "@kinotic-ai/management-api": "^5.0.0-beta.82"
43
43
  },
44
44
  "devDependencies": {
45
45
  "@kinotic-ai/core": "5.0.0-beta.30",
46
- "@kinotic-ai/management-api": "5.0.0-beta.81",
46
+ "@kinotic-ai/management-api": "5.0.0-beta.82",
47
47
  "@types/bun": "^1.3.9",
48
48
  "typescript": "^5.9.3"
49
49
  }