@kinotic-ai/system-api 5.0.0-beta.27 → 5.0.0-beta.28
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 +10 -4
- package/dist/index.d.cts +14 -11
- package/dist/index.d.ts +14 -11
- package/dist/index.js +10 -4
- package/package.json +3 -3
package/dist/index.cjs
CHANGED
|
@@ -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,
|
|
353
|
-
return this.serviceProxy.invoke("findMembers", [organizationId,
|
|
352
|
+
findMembers(organizationId, pageable) {
|
|
353
|
+
return this.serviceProxy.invoke("findMembers", [organizationId, pageable]);
|
|
354
354
|
}
|
|
355
|
-
searchMembers(searchText, organizationId,
|
|
356
|
-
return this.serviceProxy.invoke("searchMembers", [searchText, organizationId,
|
|
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]);
|
|
360
|
+
}
|
|
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]);
|
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,
|
|
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
|
-
|
|
477
|
-
|
|
478
|
-
|
|
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,
|
|
491
|
-
searchMembers(searchText: string, organizationId: string,
|
|
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,
|
|
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<
|
|
505
|
-
searchUsers(searchText: string, pageable: Pageable4): Promise<Page4<
|
|
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<
|
|
534
|
-
searchUsers(searchText: string, pageable: Pageable4): Promise<Page4<
|
|
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>;
|
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,
|
|
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
|
-
|
|
477
|
-
|
|
478
|
-
|
|
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,
|
|
491
|
-
searchMembers(searchText: string, organizationId: string,
|
|
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,
|
|
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<
|
|
505
|
-
searchUsers(searchText: string, pageable: Pageable4): Promise<Page4<
|
|
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<
|
|
534
|
-
searchUsers(searchText: string, pageable: Pageable4): Promise<Page4<
|
|
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>;
|
package/dist/index.js
CHANGED
|
@@ -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,
|
|
285
|
-
return this.serviceProxy.invoke("findMembers", [organizationId,
|
|
284
|
+
findMembers(organizationId, pageable) {
|
|
285
|
+
return this.serviceProxy.invoke("findMembers", [organizationId, pageable]);
|
|
286
286
|
}
|
|
287
|
-
searchMembers(searchText, organizationId,
|
|
288
|
-
return this.serviceProxy.invoke("searchMembers", [searchText, organizationId,
|
|
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]);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kinotic-ai/system-api",
|
|
3
|
-
"version": "5.0.0-beta.
|
|
3
|
+
"version": "5.0.0-beta.28",
|
|
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": [
|
|
@@ -39,11 +39,11 @@
|
|
|
39
39
|
},
|
|
40
40
|
"peerDependencies": {
|
|
41
41
|
"@kinotic-ai/core": "^5.0.0-beta.25",
|
|
42
|
-
"@kinotic-ai/management-api": "^5.0.0-beta.
|
|
42
|
+
"@kinotic-ai/management-api": "^5.0.0-beta.61"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
45
|
"@kinotic-ai/core": "5.0.0-beta.25",
|
|
46
|
-
"@kinotic-ai/management-api": "5.0.0-beta.
|
|
46
|
+
"@kinotic-ai/management-api": "5.0.0-beta.61",
|
|
47
47
|
"@types/bun": "^1.3.9",
|
|
48
48
|
"typescript": "^5.9.3"
|
|
49
49
|
}
|