@kinotic-ai/system-api 5.0.0-beta.11 → 5.0.0-beta.13

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
@@ -72,6 +72,7 @@ var VmNodeStatusType;
72
72
  VmNodeStatusType2["ONLINE"] = "ONLINE";
73
73
  VmNodeStatusType2["OFFLINE"] = "OFFLINE";
74
74
  VmNodeStatusType2["DRAINING"] = "DRAINING";
75
+ VmNodeStatusType2["UNREACHABLE"] = "UNREACHABLE";
75
76
  })(VmNodeStatusType ||= {});
76
77
 
77
78
  // packages/system-api/src/api/model/workload/VmNodeStatus.ts
@@ -325,9 +326,6 @@ class SystemOrganizationService {
325
326
  findPendingInvites(organizationId, applicationId, pageable) {
326
327
  return this.serviceProxy.invoke("findPendingInvites", [organizationId, applicationId, pageable]);
327
328
  }
328
- provisionOrganization(organizationId) {
329
- return this.serviceProxy.invoke("provisionOrganization", [organizationId]);
330
- }
331
329
  }
332
330
 
333
331
  // packages/system-api/src/api/SystemApiPlugin.ts
package/dist/index.d.cts CHANGED
@@ -3,7 +3,8 @@ import { Identifiable } from "@kinotic-ai/core";
3
3
  declare enum VmNodeStatusType {
4
4
  ONLINE = "ONLINE",
5
5
  OFFLINE = "OFFLINE",
6
- DRAINING = "DRAINING"
6
+ DRAINING = "DRAINING",
7
+ UNREACHABLE = "UNREACHABLE"
7
8
  }
8
9
  /**
9
10
  * Whether a node is fit to receive workloads, and why when it is not.
@@ -411,12 +412,6 @@ interface ISystemOrganizationService {
411
412
  findMembers(organizationId: string, applicationId: string | null, pageable: Pageable2): Promise<Page2<UserParticipantIdentity>>;
412
413
  searchMembers(searchText: string, organizationId: string, applicationId: string | null, pageable: Pageable2): Promise<Page2<UserParticipantIdentity>>;
413
414
  findPendingInvites(organizationId: string, applicationId: string | null, pageable: Pageable2): Promise<Page2<PendingInviteSummary>>;
414
- /**
415
- * Provisions the organization again: runs the provisioning job that its creation ran, which
416
- * does whatever an earlier run left undone, and records the new run on the organization.
417
- * @param organizationId the organization to provision
418
- */
419
- provisionOrganization(organizationId: string): Promise<Organization>;
420
415
  }
421
416
  declare class SystemOrganizationService implements ISystemOrganizationService {
422
417
  private readonly serviceProxy;
@@ -430,7 +425,6 @@ declare class SystemOrganizationService implements ISystemOrganizationService {
430
425
  findMembers(organizationId: string, applicationId: string | null, pageable: Pageable2): Promise<Page2<UserParticipantIdentity>>;
431
426
  searchMembers(searchText: string, organizationId: string, applicationId: string | null, pageable: Pageable2): Promise<Page2<UserParticipantIdentity>>;
432
427
  findPendingInvites(organizationId: string, applicationId: string | null, pageable: Pageable2): Promise<Page2<PendingInviteSummary>>;
433
- provisionOrganization(organizationId: string): Promise<Organization>;
434
428
  }
435
429
  interface ISystemApiExtension {
436
430
  vmNodes: IVmNodeService;
package/dist/index.d.ts CHANGED
@@ -3,7 +3,8 @@ import { Identifiable } from "@kinotic-ai/core";
3
3
  declare enum VmNodeStatusType {
4
4
  ONLINE = "ONLINE",
5
5
  OFFLINE = "OFFLINE",
6
- DRAINING = "DRAINING"
6
+ DRAINING = "DRAINING",
7
+ UNREACHABLE = "UNREACHABLE"
7
8
  }
8
9
  /**
9
10
  * Whether a node is fit to receive workloads, and why when it is not.
@@ -411,12 +412,6 @@ interface ISystemOrganizationService {
411
412
  findMembers(organizationId: string, applicationId: string | null, pageable: Pageable2): Promise<Page2<UserParticipantIdentity>>;
412
413
  searchMembers(searchText: string, organizationId: string, applicationId: string | null, pageable: Pageable2): Promise<Page2<UserParticipantIdentity>>;
413
414
  findPendingInvites(organizationId: string, applicationId: string | null, pageable: Pageable2): Promise<Page2<PendingInviteSummary>>;
414
- /**
415
- * Provisions the organization again: runs the provisioning job that its creation ran, which
416
- * does whatever an earlier run left undone, and records the new run on the organization.
417
- * @param organizationId the organization to provision
418
- */
419
- provisionOrganization(organizationId: string): Promise<Organization>;
420
415
  }
421
416
  declare class SystemOrganizationService implements ISystemOrganizationService {
422
417
  private readonly serviceProxy;
@@ -430,7 +425,6 @@ declare class SystemOrganizationService implements ISystemOrganizationService {
430
425
  findMembers(organizationId: string, applicationId: string | null, pageable: Pageable2): Promise<Page2<UserParticipantIdentity>>;
431
426
  searchMembers(searchText: string, organizationId: string, applicationId: string | null, pageable: Pageable2): Promise<Page2<UserParticipantIdentity>>;
432
427
  findPendingInvites(organizationId: string, applicationId: string | null, pageable: Pageable2): Promise<Page2<PendingInviteSummary>>;
433
- provisionOrganization(organizationId: string): Promise<Organization>;
434
428
  }
435
429
  interface ISystemApiExtension {
436
430
  vmNodes: IVmNodeService;
package/dist/index.js CHANGED
@@ -7,6 +7,7 @@ var VmNodeStatusType;
7
7
  VmNodeStatusType2["ONLINE"] = "ONLINE";
8
8
  VmNodeStatusType2["OFFLINE"] = "OFFLINE";
9
9
  VmNodeStatusType2["DRAINING"] = "DRAINING";
10
+ VmNodeStatusType2["UNREACHABLE"] = "UNREACHABLE";
10
11
  })(VmNodeStatusType ||= {});
11
12
 
12
13
  // packages/system-api/src/api/model/workload/VmNodeStatus.ts
@@ -262,9 +263,6 @@ class SystemOrganizationService {
262
263
  findPendingInvites(organizationId, applicationId, pageable) {
263
264
  return this.serviceProxy.invoke("findPendingInvites", [organizationId, applicationId, pageable]);
264
265
  }
265
- provisionOrganization(organizationId) {
266
- return this.serviceProxy.invoke("provisionOrganization", [organizationId]);
267
- }
268
266
  }
269
267
 
270
268
  // packages/system-api/src/api/SystemApiPlugin.ts
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kinotic-ai/system-api",
3
- "version": "5.0.0-beta.11",
3
+ "version": "5.0.0-beta.13",
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.9",
42
- "@kinotic-ai/management-api": ">=5.0.0-beta.27"
41
+ "@kinotic-ai/core": "^5.0.0-beta.13",
42
+ "@kinotic-ai/management-api": "^5.0.0-beta.31"
43
43
  },
44
44
  "devDependencies": {
45
- "@kinotic-ai/core": "5.0.0-beta.10",
46
- "@kinotic-ai/management-api": "5.0.0-beta.27",
45
+ "@kinotic-ai/core": "5.0.0-beta.13",
46
+ "@kinotic-ai/management-api": "5.0.0-beta.31",
47
47
  "@types/bun": "^1.3.9",
48
48
  "typescript": "^5.9.3"
49
49
  }