@kinotic-ai/system-api 5.0.0-beta.27 → 5.0.0-beta.29

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
@@ -40,33 +40,33 @@ var __export = (target, all) => {
40
40
  // packages/system-api/src/index.ts
41
41
  var exports_src = {};
42
42
  __export(exports_src, {
43
- WorkloadServiceProxy: () => WorkloadServiceProxy,
44
- WorkloadOrchestrationService: () => WorkloadOrchestrationService,
45
- WatchEventService: () => WatchEventService,
46
- VmProviderType: () => VmProviderType,
47
- VmNodeStatusType: () => VmNodeStatusType,
48
- VmNodeServiceProxy: () => VmNodeServiceProxy,
49
- VmNodeRegistration: () => VmNodeRegistration,
50
- VmNodeOrchestrationServiceProxy: () => VmNodeOrchestrationServiceProxy,
51
- VmNode: () => VmNode,
52
- TraceLogProperties: () => TraceLogProperties,
53
- SystemOrganizationService: () => SystemOrganizationService,
54
- SystemMemberService: () => SystemMemberService,
55
- SystemJobService: () => SystemJobService,
56
- SystemApiPlugin: () => SystemApiPlugin,
57
- SingleLoggerLevelsDescriptor: () => SingleLoggerLevelsDescriptor,
58
- SYSTEM_API_ZONE: () => import_management_api12.SYSTEM_API_ZONE,
59
- LoggersDescriptor: () => LoggersDescriptor,
60
- LoggerLevelsDescriptor: () => LoggerLevelsDescriptor,
61
- LogManager: () => LogManager,
62
- LogLevel: () => LogLevel,
63
- LlmProviderType: () => LlmProviderType,
64
- LlmConfigurationService: () => LlmConfigurationService,
65
- LlmConfiguration: () => LlmConfiguration,
66
- KinoticNodeInfo: () => KinoticNodeInfo,
67
- KinoticClusterInfoService: () => KinoticClusterInfoService,
43
+ GroupLoggerLevelsDescriptor: () => GroupLoggerLevelsDescriptor,
68
44
  KinoticClusterInfo: () => KinoticClusterInfo,
69
- GroupLoggerLevelsDescriptor: () => GroupLoggerLevelsDescriptor
45
+ KinoticClusterInfoService: () => KinoticClusterInfoService,
46
+ KinoticNodeInfo: () => KinoticNodeInfo,
47
+ LlmConfiguration: () => LlmConfiguration,
48
+ LlmConfigurationService: () => LlmConfigurationService,
49
+ LlmProviderType: () => LlmProviderType,
50
+ LogLevel: () => LogLevel,
51
+ LogManager: () => LogManager,
52
+ LoggerLevelsDescriptor: () => LoggerLevelsDescriptor,
53
+ LoggersDescriptor: () => LoggersDescriptor,
54
+ SYSTEM_API_ZONE: () => import_management_api12.SYSTEM_API_ZONE,
55
+ SingleLoggerLevelsDescriptor: () => SingleLoggerLevelsDescriptor,
56
+ SystemApiPlugin: () => SystemApiPlugin,
57
+ SystemJobService: () => SystemJobService,
58
+ SystemMemberService: () => SystemMemberService,
59
+ SystemOrganizationService: () => SystemOrganizationService,
60
+ TraceLogProperties: () => TraceLogProperties,
61
+ VmNode: () => VmNode,
62
+ VmNodeOrchestrationServiceProxy: () => VmNodeOrchestrationServiceProxy,
63
+ VmNodeRegistration: () => VmNodeRegistration,
64
+ VmNodeServiceProxy: () => VmNodeServiceProxy,
65
+ VmNodeStatusType: () => VmNodeStatusType,
66
+ VmProviderType: () => VmProviderType,
67
+ WatchEventService: () => WatchEventService,
68
+ WorkloadOrchestrationService: () => WorkloadOrchestrationService,
69
+ WorkloadServiceProxy: () => WorkloadServiceProxy
70
70
  });
71
71
  module.exports = __toCommonJS(exports_src);
72
72
  var import_management_api12 = require("@kinotic-ai/management-api");
@@ -76,9 +76,9 @@ var import_management_api = require("@kinotic-ai/management-api");
76
76
 
77
77
  // packages/system-api/src/api/model/workload/VmProviderType.ts
78
78
  var VmProviderType;
79
- ((VmProviderType2) => {
80
- VmProviderType2["BOXLITE"] = "BOXLITE";
81
- VmProviderType2["CLOUD_HYPERVISOR"] = "CLOUD_HYPERVISOR";
79
+ ((VmProviderType) => {
80
+ VmProviderType["BOXLITE"] = "BOXLITE";
81
+ VmProviderType["CLOUD_HYPERVISOR"] = "CLOUD_HYPERVISOR";
82
82
  })(VmProviderType ||= {});
83
83
 
84
84
  // packages/system-api/src/api/model/workload/VmNode.ts
@@ -105,9 +105,9 @@ class VmNode {
105
105
  }
106
106
  // packages/system-api/src/api/model/workload/VmNodeStatusType.ts
107
107
  var VmNodeStatusType;
108
- ((VmNodeStatusType2) => {
109
- VmNodeStatusType2["ONLINE"] = "ONLINE";
110
- VmNodeStatusType2["DRAINING"] = "DRAINING";
108
+ ((VmNodeStatusType) => {
109
+ VmNodeStatusType["ONLINE"] = "ONLINE";
110
+ VmNodeStatusType["DRAINING"] = "DRAINING";
111
111
  })(VmNodeStatusType ||= {});
112
112
  // packages/system-api/src/api/model/workload/VmNodeRegistration.ts
113
113
  class VmNodeRegistration {
@@ -145,9 +145,9 @@ class LlmConfiguration {
145
145
  }
146
146
  // packages/system-api/src/api/model/llm/LlmProviderType.ts
147
147
  var LlmProviderType;
148
- ((LlmProviderType2) => {
149
- LlmProviderType2["ANTHROPIC"] = "ANTHROPIC";
150
- LlmProviderType2["OPENAI"] = "OPENAI";
148
+ ((LlmProviderType) => {
149
+ LlmProviderType["ANTHROPIC"] = "ANTHROPIC";
150
+ LlmProviderType["OPENAI"] = "OPENAI";
151
151
  })(LlmProviderType ||= {});
152
152
  // packages/system-api/src/api/services/workload/IVmNodeService.ts
153
153
  var import_management_api2 = require("@kinotic-ai/management-api");
@@ -159,7 +159,7 @@ class VmNodeServiceProxy extends import_core.CrudServiceProxy {
159
159
  }
160
160
  async findHistory(nodeId, pageable) {
161
161
  const page = await this.findHistorySinglePage(nodeId, pageable);
162
- return new import_core.FunctionalIterablePage(pageable, page, (pageable2) => this.findHistorySinglePage(nodeId, pageable2));
162
+ return new import_core.FunctionalIterablePage(pageable, page, (pageable) => this.findHistorySinglePage(nodeId, pageable));
163
163
  }
164
164
  findHistorySinglePage(nodeId, pageable) {
165
165
  return this.serviceProxy.invoke("findHistory", [nodeId, pageable]);
@@ -178,14 +178,14 @@ class WorkloadServiceProxy extends import_core2.CrudServiceProxy {
178
178
  }
179
179
  async findAllForNode(nodeId, pageable) {
180
180
  const page = await this.findAllForNodeSinglePage(nodeId, pageable);
181
- return new import_core2.FunctionalIterablePage(pageable, page, (pageable2) => this.findAllForNodeSinglePage(nodeId, pageable2));
181
+ return new import_core2.FunctionalIterablePage(pageable, page, (pageable) => this.findAllForNodeSinglePage(nodeId, pageable));
182
182
  }
183
183
  findAllForNodeSinglePage(nodeId, pageable) {
184
184
  return this.serviceProxy.invoke("findAllForNode", [nodeId, pageable]);
185
185
  }
186
186
  async findHistory(workloadId, pageable) {
187
187
  const page = await this.findHistorySinglePage(workloadId, pageable);
188
- return new import_core2.FunctionalIterablePage(pageable, page, (pageable2) => this.findHistorySinglePage(workloadId, pageable2));
188
+ return new import_core2.FunctionalIterablePage(pageable, page, (pageable) => this.findHistorySinglePage(workloadId, pageable));
189
189
  }
190
190
  findHistorySinglePage(workloadId, pageable) {
191
191
  return this.serviceProxy.invoke("findHistory", [workloadId, pageable]);
@@ -241,14 +241,14 @@ class VmNodeOrchestrationServiceProxy {
241
241
  }
242
242
  // packages/system-api/src/api/services/ILogManager.ts
243
243
  var LogLevel;
244
- ((LogLevel2) => {
245
- LogLevel2["TRACE"] = "TRACE";
246
- LogLevel2["DEBUG"] = "DEBUG";
247
- LogLevel2["INFO"] = "INFO";
248
- LogLevel2["WARN"] = "WARN";
249
- LogLevel2["ERROR"] = "ERROR";
250
- LogLevel2["FATAL"] = "FATAL";
251
- LogLevel2["OFF"] = "OFF";
244
+ ((LogLevel) => {
245
+ LogLevel["TRACE"] = "TRACE";
246
+ LogLevel["DEBUG"] = "DEBUG";
247
+ LogLevel["INFO"] = "INFO";
248
+ LogLevel["WARN"] = "WARN";
249
+ LogLevel["ERROR"] = "ERROR";
250
+ LogLevel["FATAL"] = "FATAL";
251
+ LogLevel["OFF"] = "OFF";
252
252
  })(LogLevel ||= {});
253
253
 
254
254
  class LoggerLevelsDescriptor {
@@ -349,11 +349,17 @@ class SystemOrganizationService {
349
349
  findProjects(organizationId, pageable) {
350
350
  return this.serviceProxy.invoke("findProjects", [organizationId, pageable]);
351
351
  }
352
- findMembers(organizationId, applicationId, pageable) {
353
- return this.serviceProxy.invoke("findMembers", [organizationId, applicationId, pageable]);
352
+ findMembers(organizationId, pageable) {
353
+ return this.serviceProxy.invoke("findMembers", [organizationId, pageable]);
354
+ }
355
+ searchMembers(searchText, organizationId, pageable) {
356
+ return this.serviceProxy.invoke("searchMembers", [searchText, organizationId, pageable]);
357
+ }
358
+ findApplicationUsers(organizationId, applicationId, pageable) {
359
+ return this.serviceProxy.invoke("findApplicationUsers", [organizationId, applicationId, pageable]);
354
360
  }
355
- searchMembers(searchText, organizationId, applicationId, pageable) {
356
- return this.serviceProxy.invoke("searchMembers", [searchText, organizationId, applicationId, pageable]);
361
+ searchApplicationUsers(searchText, organizationId, applicationId, pageable) {
362
+ return this.serviceProxy.invoke("searchApplicationUsers", [searchText, organizationId, applicationId, pageable]);
357
363
  }
358
364
  findPendingInvites(organizationId, applicationId, pageable) {
359
365
  return this.serviceProxy.invoke("findPendingInvites", [organizationId, applicationId, pageable]);
@@ -402,7 +408,7 @@ class WatchEventService {
402
408
  }
403
409
  async findAll(pageable) {
404
410
  const page = await this.findAllSinglePage(pageable);
405
- return new import_core3.FunctionalIterablePage(pageable, page, (pageable2) => this.findAllSinglePage(pageable2));
411
+ return new import_core3.FunctionalIterablePage(pageable, page, (pageable) => this.findAllSinglePage(pageable));
406
412
  }
407
413
  findAllSinglePage(pageable) {
408
414
  return this.serviceProxy.invoke("findAll", [pageable]);
package/dist/index.d.cts CHANGED
@@ -458,7 +458,7 @@ declare class KinoticClusterInfoService implements IKinoticClusterInfoService {
458
458
  constructor(kinotic: IKinotic5);
459
459
  getClusterInfo(): Promise<KinoticClusterInfo>;
460
460
  }
461
- import { Application, Organization, Project, PendingInviteSummary, Member } from "@kinotic-ai/management-api";
461
+ import { Application, Organization, Project, ApplicationParticipantIdentity, OrganizationMember, PendingInviteSummary } from "@kinotic-ai/management-api";
462
462
  import { IKinotic as IKinotic6, Page as Page3, Pageable as Pageable3 } from "@kinotic-ai/core";
463
463
  /**
464
464
  * Cross-organization reads for system users. Published in the system zone, which only
@@ -473,9 +473,10 @@ interface ISystemOrganizationService {
473
473
  countOrganizations(): Promise<number>;
474
474
  findApplications(organizationId: string, pageable: Pageable3): Promise<Page3<Application>>;
475
475
  findProjects(organizationId: string, pageable: Pageable3): Promise<Page3<Project>>;
476
- /** applicationId null = the organization's members */
477
- findMembers(organizationId: string, applicationId: string | null, pageable: Pageable3): Promise<Page3<Member>>;
478
- searchMembers(searchText: string, organizationId: string, applicationId: string | null, pageable: Pageable3): Promise<Page3<Member>>;
476
+ findMembers(organizationId: string, pageable: Pageable3): Promise<Page3<OrganizationMember>>;
477
+ searchMembers(searchText: string, organizationId: string, pageable: Pageable3): Promise<Page3<OrganizationMember>>;
478
+ findApplicationUsers(organizationId: string, applicationId: string, pageable: Pageable3): Promise<Page3<ApplicationParticipantIdentity>>;
479
+ searchApplicationUsers(searchText: string, organizationId: string, applicationId: string, pageable: Pageable3): Promise<Page3<ApplicationParticipantIdentity>>;
479
480
  findPendingInvites(organizationId: string, applicationId: string | null, pageable: Pageable3): Promise<Page3<PendingInviteSummary>>;
480
481
  }
481
482
  declare class SystemOrganizationService implements ISystemOrganizationService {
@@ -487,11 +488,13 @@ declare class SystemOrganizationService implements ISystemOrganizationService {
487
488
  countOrganizations(): Promise<number>;
488
489
  findApplications(organizationId: string, pageable: Pageable3): Promise<Page3<Application>>;
489
490
  findProjects(organizationId: string, pageable: Pageable3): Promise<Page3<Project>>;
490
- findMembers(organizationId: string, applicationId: string | null, pageable: Pageable3): Promise<Page3<Member>>;
491
- searchMembers(searchText: string, organizationId: string, applicationId: string | null, pageable: Pageable3): Promise<Page3<Member>>;
491
+ findMembers(organizationId: string, pageable: Pageable3): Promise<Page3<OrganizationMember>>;
492
+ searchMembers(searchText: string, organizationId: string, pageable: Pageable3): Promise<Page3<OrganizationMember>>;
493
+ findApplicationUsers(organizationId: string, applicationId: string, pageable: Pageable3): Promise<Page3<ApplicationParticipantIdentity>>;
494
+ searchApplicationUsers(searchText: string, organizationId: string, applicationId: string, pageable: Pageable3): Promise<Page3<ApplicationParticipantIdentity>>;
492
495
  findPendingInvites(organizationId: string, applicationId: string | null, pageable: Pageable3): Promise<Page3<PendingInviteSummary>>;
493
496
  }
494
- import { MachineParticipantIdentity, MachineProvisionResult, Member as Member2 } from "@kinotic-ai/management-api";
497
+ import { MachineParticipantIdentity, MachineProvisionResult, SystemParticipantIdentity } from "@kinotic-ai/management-api";
495
498
  import { IKinotic as IKinotic7, Page as Page4, Pageable as Pageable4 } from "@kinotic-ai/core";
496
499
  /**
497
500
  * The platform's own members: the system users who sign in to the system console, and the
@@ -501,8 +504,8 @@ import { IKinotic as IKinotic7, Page as Page4, Pageable as Pageable4 } from "@ki
501
504
  * manage through IMachineService.
502
505
  */
503
506
  interface ISystemMemberService {
504
- findUsers(pageable: Pageable4): Promise<Page4<Member2>>;
505
- searchUsers(searchText: string, pageable: Pageable4): Promise<Page4<Member2>>;
507
+ findUsers(pageable: Pageable4): Promise<Page4<SystemParticipantIdentity>>;
508
+ searchUsers(searchText: string, pageable: Pageable4): Promise<Page4<SystemParticipantIdentity>>;
506
509
  /** Lists the platform's machines, disabled ones included. */
507
510
  findMachines(pageable: Pageable4): Promise<Page4<MachineParticipantIdentity>>;
508
511
  /**
@@ -530,8 +533,8 @@ interface ISystemMemberService {
530
533
  declare class SystemMemberService implements ISystemMemberService {
531
534
  private readonly serviceProxy;
532
535
  constructor(kinotic: IKinotic7);
533
- findUsers(pageable: Pageable4): Promise<Page4<Member2>>;
534
- searchUsers(searchText: string, pageable: Pageable4): Promise<Page4<Member2>>;
536
+ findUsers(pageable: Pageable4): Promise<Page4<SystemParticipantIdentity>>;
537
+ searchUsers(searchText: string, pageable: Pageable4): Promise<Page4<SystemParticipantIdentity>>;
535
538
  findMachines(pageable: Pageable4): Promise<Page4<MachineParticipantIdentity>>;
536
539
  createMachine(displayName: string): Promise<MachineProvisionResult>;
537
540
  rotateSecret(machineId: string): Promise<string>;
@@ -659,4 +662,4 @@ declare class LogManager implements ILogManager {
659
662
  declare module "@kinotic-ai/core" {
660
663
  interface KinoticSingleton extends ISystemApiExtension {}
661
664
  }
662
- export { WorkloadStatusReport, WorkloadServiceProxy, WorkloadOrchestrationService, WatchEventService, VmProviderType, VmNodeStatusType, VmNodeState, VmNodeServiceProxy, VmNodeRegistration, VmNodeOrchestrationServiceProxy, VmNode, TraceLogProperties, SystemOrganizationService, SystemMemberService, SystemJobService, SystemJobDescriptor, SystemApiPlugin, SingleLoggerLevelsDescriptor, SYSTEM_API_ZONE, LoggersDescriptor, LoggerLevelsDescriptor, LogManager, LogLevel, LlmProviderType, LlmConfigurationService, LlmConfiguration, KinoticNodeInfo, KinoticClusterInfoService, KinoticClusterInfo, IWorkloadService, IWorkloadOrchestrationService, IWatchEventService, IVmNodeService, ISystemOrganizationService, ISystemMemberService, ISystemJobService, ISystemApiExtension, ILogManager, ILlmConfigurationService, IKinoticClusterInfoService, GroupLoggerLevelsDescriptor };
665
+ export { GroupLoggerLevelsDescriptor, IKinoticClusterInfoService, ILlmConfigurationService, ILogManager, ISystemApiExtension, ISystemJobService, ISystemMemberService, ISystemOrganizationService, IVmNodeService, IWatchEventService, IWorkloadOrchestrationService, IWorkloadService, KinoticClusterInfo, KinoticClusterInfoService, KinoticNodeInfo, LlmConfiguration, LlmConfigurationService, LlmProviderType, LogLevel, LogManager, LoggerLevelsDescriptor, LoggersDescriptor, SYSTEM_API_ZONE, SingleLoggerLevelsDescriptor, SystemApiPlugin, SystemJobDescriptor, SystemJobService, SystemMemberService, SystemOrganizationService, TraceLogProperties, VmNode, VmNodeOrchestrationServiceProxy, VmNodeRegistration, VmNodeServiceProxy, VmNodeState, VmNodeStatusType, VmProviderType, WatchEventService, WorkloadOrchestrationService, WorkloadServiceProxy, WorkloadStatusReport };
package/dist/index.d.ts CHANGED
@@ -458,7 +458,7 @@ declare class KinoticClusterInfoService implements IKinoticClusterInfoService {
458
458
  constructor(kinotic: IKinotic5);
459
459
  getClusterInfo(): Promise<KinoticClusterInfo>;
460
460
  }
461
- import { Application, Organization, Project, PendingInviteSummary, Member } from "@kinotic-ai/management-api";
461
+ import { Application, Organization, Project, ApplicationParticipantIdentity, OrganizationMember, PendingInviteSummary } from "@kinotic-ai/management-api";
462
462
  import { IKinotic as IKinotic6, Page as Page3, Pageable as Pageable3 } from "@kinotic-ai/core";
463
463
  /**
464
464
  * Cross-organization reads for system users. Published in the system zone, which only
@@ -473,9 +473,10 @@ interface ISystemOrganizationService {
473
473
  countOrganizations(): Promise<number>;
474
474
  findApplications(organizationId: string, pageable: Pageable3): Promise<Page3<Application>>;
475
475
  findProjects(organizationId: string, pageable: Pageable3): Promise<Page3<Project>>;
476
- /** applicationId null = the organization's members */
477
- findMembers(organizationId: string, applicationId: string | null, pageable: Pageable3): Promise<Page3<Member>>;
478
- searchMembers(searchText: string, organizationId: string, applicationId: string | null, pageable: Pageable3): Promise<Page3<Member>>;
476
+ findMembers(organizationId: string, pageable: Pageable3): Promise<Page3<OrganizationMember>>;
477
+ searchMembers(searchText: string, organizationId: string, pageable: Pageable3): Promise<Page3<OrganizationMember>>;
478
+ findApplicationUsers(organizationId: string, applicationId: string, pageable: Pageable3): Promise<Page3<ApplicationParticipantIdentity>>;
479
+ searchApplicationUsers(searchText: string, organizationId: string, applicationId: string, pageable: Pageable3): Promise<Page3<ApplicationParticipantIdentity>>;
479
480
  findPendingInvites(organizationId: string, applicationId: string | null, pageable: Pageable3): Promise<Page3<PendingInviteSummary>>;
480
481
  }
481
482
  declare class SystemOrganizationService implements ISystemOrganizationService {
@@ -487,11 +488,13 @@ declare class SystemOrganizationService implements ISystemOrganizationService {
487
488
  countOrganizations(): Promise<number>;
488
489
  findApplications(organizationId: string, pageable: Pageable3): Promise<Page3<Application>>;
489
490
  findProjects(organizationId: string, pageable: Pageable3): Promise<Page3<Project>>;
490
- findMembers(organizationId: string, applicationId: string | null, pageable: Pageable3): Promise<Page3<Member>>;
491
- searchMembers(searchText: string, organizationId: string, applicationId: string | null, pageable: Pageable3): Promise<Page3<Member>>;
491
+ findMembers(organizationId: string, pageable: Pageable3): Promise<Page3<OrganizationMember>>;
492
+ searchMembers(searchText: string, organizationId: string, pageable: Pageable3): Promise<Page3<OrganizationMember>>;
493
+ findApplicationUsers(organizationId: string, applicationId: string, pageable: Pageable3): Promise<Page3<ApplicationParticipantIdentity>>;
494
+ searchApplicationUsers(searchText: string, organizationId: string, applicationId: string, pageable: Pageable3): Promise<Page3<ApplicationParticipantIdentity>>;
492
495
  findPendingInvites(organizationId: string, applicationId: string | null, pageable: Pageable3): Promise<Page3<PendingInviteSummary>>;
493
496
  }
494
- import { MachineParticipantIdentity, MachineProvisionResult, Member as Member2 } from "@kinotic-ai/management-api";
497
+ import { MachineParticipantIdentity, MachineProvisionResult, SystemParticipantIdentity } from "@kinotic-ai/management-api";
495
498
  import { IKinotic as IKinotic7, Page as Page4, Pageable as Pageable4 } from "@kinotic-ai/core";
496
499
  /**
497
500
  * The platform's own members: the system users who sign in to the system console, and the
@@ -501,8 +504,8 @@ import { IKinotic as IKinotic7, Page as Page4, Pageable as Pageable4 } from "@ki
501
504
  * manage through IMachineService.
502
505
  */
503
506
  interface ISystemMemberService {
504
- findUsers(pageable: Pageable4): Promise<Page4<Member2>>;
505
- searchUsers(searchText: string, pageable: Pageable4): Promise<Page4<Member2>>;
507
+ findUsers(pageable: Pageable4): Promise<Page4<SystemParticipantIdentity>>;
508
+ searchUsers(searchText: string, pageable: Pageable4): Promise<Page4<SystemParticipantIdentity>>;
506
509
  /** Lists the platform's machines, disabled ones included. */
507
510
  findMachines(pageable: Pageable4): Promise<Page4<MachineParticipantIdentity>>;
508
511
  /**
@@ -530,8 +533,8 @@ interface ISystemMemberService {
530
533
  declare class SystemMemberService implements ISystemMemberService {
531
534
  private readonly serviceProxy;
532
535
  constructor(kinotic: IKinotic7);
533
- findUsers(pageable: Pageable4): Promise<Page4<Member2>>;
534
- searchUsers(searchText: string, pageable: Pageable4): Promise<Page4<Member2>>;
536
+ findUsers(pageable: Pageable4): Promise<Page4<SystemParticipantIdentity>>;
537
+ searchUsers(searchText: string, pageable: Pageable4): Promise<Page4<SystemParticipantIdentity>>;
535
538
  findMachines(pageable: Pageable4): Promise<Page4<MachineParticipantIdentity>>;
536
539
  createMachine(displayName: string): Promise<MachineProvisionResult>;
537
540
  rotateSecret(machineId: string): Promise<string>;
@@ -659,4 +662,4 @@ declare class LogManager implements ILogManager {
659
662
  declare module "@kinotic-ai/core" {
660
663
  interface KinoticSingleton extends ISystemApiExtension {}
661
664
  }
662
- export { WorkloadStatusReport, WorkloadServiceProxy, WorkloadOrchestrationService, WatchEventService, VmProviderType, VmNodeStatusType, VmNodeState, VmNodeServiceProxy, VmNodeRegistration, VmNodeOrchestrationServiceProxy, VmNode, TraceLogProperties, SystemOrganizationService, SystemMemberService, SystemJobService, SystemJobDescriptor, SystemApiPlugin, SingleLoggerLevelsDescriptor, SYSTEM_API_ZONE, LoggersDescriptor, LoggerLevelsDescriptor, LogManager, LogLevel, LlmProviderType, LlmConfigurationService, LlmConfiguration, KinoticNodeInfo, KinoticClusterInfoService, KinoticClusterInfo, IWorkloadService, IWorkloadOrchestrationService, IWatchEventService, IVmNodeService, ISystemOrganizationService, ISystemMemberService, ISystemJobService, ISystemApiExtension, ILogManager, ILlmConfigurationService, IKinoticClusterInfoService, GroupLoggerLevelsDescriptor };
665
+ export { GroupLoggerLevelsDescriptor, IKinoticClusterInfoService, ILlmConfigurationService, ILogManager, ISystemApiExtension, ISystemJobService, ISystemMemberService, ISystemOrganizationService, IVmNodeService, IWatchEventService, IWorkloadOrchestrationService, IWorkloadService, KinoticClusterInfo, KinoticClusterInfoService, KinoticNodeInfo, LlmConfiguration, LlmConfigurationService, LlmProviderType, LogLevel, LogManager, LoggerLevelsDescriptor, LoggersDescriptor, SYSTEM_API_ZONE, SingleLoggerLevelsDescriptor, SystemApiPlugin, SystemJobDescriptor, SystemJobService, SystemMemberService, SystemOrganizationService, TraceLogProperties, VmNode, VmNodeOrchestrationServiceProxy, VmNodeRegistration, VmNodeServiceProxy, VmNodeState, VmNodeStatusType, VmProviderType, WatchEventService, WorkloadOrchestrationService, WorkloadServiceProxy, WorkloadStatusReport };
package/dist/index.js CHANGED
@@ -6,9 +6,9 @@ import { ReconcileState } from "@kinotic-ai/management-api";
6
6
 
7
7
  // packages/system-api/src/api/model/workload/VmProviderType.ts
8
8
  var VmProviderType;
9
- ((VmProviderType2) => {
10
- VmProviderType2["BOXLITE"] = "BOXLITE";
11
- VmProviderType2["CLOUD_HYPERVISOR"] = "CLOUD_HYPERVISOR";
9
+ ((VmProviderType) => {
10
+ VmProviderType["BOXLITE"] = "BOXLITE";
11
+ VmProviderType["CLOUD_HYPERVISOR"] = "CLOUD_HYPERVISOR";
12
12
  })(VmProviderType ||= {});
13
13
 
14
14
  // packages/system-api/src/api/model/workload/VmNode.ts
@@ -35,9 +35,9 @@ class VmNode {
35
35
  }
36
36
  // packages/system-api/src/api/model/workload/VmNodeStatusType.ts
37
37
  var VmNodeStatusType;
38
- ((VmNodeStatusType2) => {
39
- VmNodeStatusType2["ONLINE"] = "ONLINE";
40
- VmNodeStatusType2["DRAINING"] = "DRAINING";
38
+ ((VmNodeStatusType) => {
39
+ VmNodeStatusType["ONLINE"] = "ONLINE";
40
+ VmNodeStatusType["DRAINING"] = "DRAINING";
41
41
  })(VmNodeStatusType ||= {});
42
42
  // packages/system-api/src/api/model/workload/VmNodeRegistration.ts
43
43
  class VmNodeRegistration {
@@ -75,9 +75,9 @@ class LlmConfiguration {
75
75
  }
76
76
  // packages/system-api/src/api/model/llm/LlmProviderType.ts
77
77
  var LlmProviderType;
78
- ((LlmProviderType2) => {
79
- LlmProviderType2["ANTHROPIC"] = "ANTHROPIC";
80
- LlmProviderType2["OPENAI"] = "OPENAI";
78
+ ((LlmProviderType) => {
79
+ LlmProviderType["ANTHROPIC"] = "ANTHROPIC";
80
+ LlmProviderType["OPENAI"] = "OPENAI";
81
81
  })(LlmProviderType ||= {});
82
82
  // packages/system-api/src/api/services/workload/IVmNodeService.ts
83
83
  import { SYSTEM_API_ZONE } from "@kinotic-ai/management-api";
@@ -89,7 +89,7 @@ class VmNodeServiceProxy extends CrudServiceProxy {
89
89
  }
90
90
  async findHistory(nodeId, pageable) {
91
91
  const page = await this.findHistorySinglePage(nodeId, pageable);
92
- return new FunctionalIterablePage(pageable, page, (pageable2) => this.findHistorySinglePage(nodeId, pageable2));
92
+ return new FunctionalIterablePage(pageable, page, (pageable) => this.findHistorySinglePage(nodeId, pageable));
93
93
  }
94
94
  findHistorySinglePage(nodeId, pageable) {
95
95
  return this.serviceProxy.invoke("findHistory", [nodeId, pageable]);
@@ -108,14 +108,14 @@ class WorkloadServiceProxy extends CrudServiceProxy2 {
108
108
  }
109
109
  async findAllForNode(nodeId, pageable) {
110
110
  const page = await this.findAllForNodeSinglePage(nodeId, pageable);
111
- return new FunctionalIterablePage2(pageable, page, (pageable2) => this.findAllForNodeSinglePage(nodeId, pageable2));
111
+ return new FunctionalIterablePage2(pageable, page, (pageable) => this.findAllForNodeSinglePage(nodeId, pageable));
112
112
  }
113
113
  findAllForNodeSinglePage(nodeId, pageable) {
114
114
  return this.serviceProxy.invoke("findAllForNode", [nodeId, pageable]);
115
115
  }
116
116
  async findHistory(workloadId, pageable) {
117
117
  const page = await this.findHistorySinglePage(workloadId, pageable);
118
- return new FunctionalIterablePage2(pageable, page, (pageable2) => this.findHistorySinglePage(workloadId, pageable2));
118
+ return new FunctionalIterablePage2(pageable, page, (pageable) => this.findHistorySinglePage(workloadId, pageable));
119
119
  }
120
120
  findHistorySinglePage(workloadId, pageable) {
121
121
  return this.serviceProxy.invoke("findHistory", [workloadId, pageable]);
@@ -171,14 +171,14 @@ class VmNodeOrchestrationServiceProxy {
171
171
  }
172
172
  // packages/system-api/src/api/services/ILogManager.ts
173
173
  var LogLevel;
174
- ((LogLevel2) => {
175
- LogLevel2["TRACE"] = "TRACE";
176
- LogLevel2["DEBUG"] = "DEBUG";
177
- LogLevel2["INFO"] = "INFO";
178
- LogLevel2["WARN"] = "WARN";
179
- LogLevel2["ERROR"] = "ERROR";
180
- LogLevel2["FATAL"] = "FATAL";
181
- LogLevel2["OFF"] = "OFF";
174
+ ((LogLevel) => {
175
+ LogLevel["TRACE"] = "TRACE";
176
+ LogLevel["DEBUG"] = "DEBUG";
177
+ LogLevel["INFO"] = "INFO";
178
+ LogLevel["WARN"] = "WARN";
179
+ LogLevel["ERROR"] = "ERROR";
180
+ LogLevel["FATAL"] = "FATAL";
181
+ LogLevel["OFF"] = "OFF";
182
182
  })(LogLevel ||= {});
183
183
 
184
184
  class LoggerLevelsDescriptor {
@@ -281,11 +281,17 @@ class SystemOrganizationService {
281
281
  findProjects(organizationId, pageable) {
282
282
  return this.serviceProxy.invoke("findProjects", [organizationId, pageable]);
283
283
  }
284
- findMembers(organizationId, applicationId, pageable) {
285
- return this.serviceProxy.invoke("findMembers", [organizationId, applicationId, pageable]);
284
+ findMembers(organizationId, pageable) {
285
+ return this.serviceProxy.invoke("findMembers", [organizationId, pageable]);
286
286
  }
287
- searchMembers(searchText, organizationId, applicationId, pageable) {
288
- return this.serviceProxy.invoke("searchMembers", [searchText, organizationId, applicationId, pageable]);
287
+ searchMembers(searchText, organizationId, pageable) {
288
+ return this.serviceProxy.invoke("searchMembers", [searchText, organizationId, pageable]);
289
+ }
290
+ findApplicationUsers(organizationId, applicationId, pageable) {
291
+ return this.serviceProxy.invoke("findApplicationUsers", [organizationId, applicationId, pageable]);
292
+ }
293
+ searchApplicationUsers(searchText, organizationId, applicationId, pageable) {
294
+ return this.serviceProxy.invoke("searchApplicationUsers", [searchText, organizationId, applicationId, pageable]);
289
295
  }
290
296
  findPendingInvites(organizationId, applicationId, pageable) {
291
297
  return this.serviceProxy.invoke("findPendingInvites", [organizationId, applicationId, pageable]);
@@ -336,7 +342,7 @@ class WatchEventService {
336
342
  }
337
343
  async findAll(pageable) {
338
344
  const page = await this.findAllSinglePage(pageable);
339
- return new FunctionalIterablePage3(pageable, page, (pageable2) => this.findAllSinglePage(pageable2));
345
+ return new FunctionalIterablePage3(pageable, page, (pageable) => this.findAllSinglePage(pageable));
340
346
  }
341
347
  findAllSinglePage(pageable) {
342
348
  return this.serviceProxy.invoke("findAll", [pageable]);
@@ -421,31 +427,31 @@ class KinoticNodeInfo {
421
427
  telemetryServiceInstanceId = null;
422
428
  }
423
429
  export {
424
- WorkloadServiceProxy,
425
- WorkloadOrchestrationService,
426
- WatchEventService,
427
- VmProviderType,
428
- VmNodeStatusType,
429
- VmNodeServiceProxy,
430
- VmNodeRegistration,
431
- VmNodeOrchestrationServiceProxy,
432
- VmNode,
433
- TraceLogProperties,
434
- SystemOrganizationService,
435
- SystemMemberService,
436
- SystemJobService,
437
- SystemApiPlugin,
438
- SingleLoggerLevelsDescriptor,
439
- SYSTEM_API_ZONE11 as SYSTEM_API_ZONE,
440
- LoggersDescriptor,
441
- LoggerLevelsDescriptor,
442
- LogManager,
443
- LogLevel,
444
- LlmProviderType,
445
- LlmConfigurationService,
446
- LlmConfiguration,
447
- KinoticNodeInfo,
448
- KinoticClusterInfoService,
430
+ GroupLoggerLevelsDescriptor,
449
431
  KinoticClusterInfo,
450
- GroupLoggerLevelsDescriptor
432
+ KinoticClusterInfoService,
433
+ KinoticNodeInfo,
434
+ LlmConfiguration,
435
+ LlmConfigurationService,
436
+ LlmProviderType,
437
+ LogLevel,
438
+ LogManager,
439
+ LoggerLevelsDescriptor,
440
+ LoggersDescriptor,
441
+ SYSTEM_API_ZONE11 as SYSTEM_API_ZONE,
442
+ SingleLoggerLevelsDescriptor,
443
+ SystemApiPlugin,
444
+ SystemJobService,
445
+ SystemMemberService,
446
+ SystemOrganizationService,
447
+ TraceLogProperties,
448
+ VmNode,
449
+ VmNodeOrchestrationServiceProxy,
450
+ VmNodeRegistration,
451
+ VmNodeServiceProxy,
452
+ VmNodeStatusType,
453
+ VmProviderType,
454
+ WatchEventService,
455
+ WorkloadOrchestrationService,
456
+ WorkloadServiceProxy
451
457
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kinotic-ai/system-api",
3
- "version": "5.0.0-beta.27",
3
+ "version": "5.0.0-beta.29",
4
4
  "type": "module",
5
5
  "description": "Client API for the Kinotic platform's system plane: the workload and node orchestration services platform machines and operators use.",
6
6
  "files": [
@@ -38,12 +38,12 @@
38
38
  "coverage": "bun test --coverage --pass-with-no-tests"
39
39
  },
40
40
  "peerDependencies": {
41
- "@kinotic-ai/core": "^5.0.0-beta.25",
42
- "@kinotic-ai/management-api": "^5.0.0-beta.60"
41
+ "@kinotic-ai/core": "^5.0.0-beta.26",
42
+ "@kinotic-ai/management-api": "^5.0.0-beta.62"
43
43
  },
44
44
  "devDependencies": {
45
- "@kinotic-ai/core": "5.0.0-beta.25",
46
- "@kinotic-ai/management-api": "5.0.0-beta.60",
45
+ "@kinotic-ai/core": "5.0.0-beta.26",
46
+ "@kinotic-ai/management-api": "5.0.0-beta.62",
47
47
  "@types/bun": "^1.3.9",
48
48
  "typescript": "^5.9.3"
49
49
  }