@ornncompute/cli 1.0.344 → 1.0.346

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": "@ornncompute/cli",
3
- "version": "1.0.344",
3
+ "version": "1.0.346",
4
4
  "description": "Command-line interface for Ornn compute access workflows.",
5
5
  "type": "module",
6
6
  "bin": {
@@ -70,6 +70,12 @@ function updateOrganization(request, id, body) {
70
70
  function listOrganizationMembers(request, id, signal) {
71
71
  return request(`${organizationPath(id)}/members`, { method: "GET", signal });
72
72
  }
73
+ function listOrganizationAuditEvents(request, id, query = {}, signal) {
74
+ return request(withQuery(`${organizationPath(id)}/audit-events`, query), {
75
+ method: "GET",
76
+ signal
77
+ });
78
+ }
73
79
  function getOrganizationMembership(request, id, email) {
74
80
  return request(`${organizationPath(id)}/members/${encodeURIComponent(email)}`, {
75
81
  method: "GET"
@@ -420,6 +426,23 @@ function startStaffImpersonation(fetcher, body) {
420
426
  function stopStaffImpersonation(fetcher) {
421
427
  return fetcher("/v1/staff/impersonation/stop", { method: "POST" });
422
428
  }
429
+
430
+ // ../../packages/api-client/dist/authorization/okta.js
431
+ function getOktaConnection(request, organizationId, signal) {
432
+ return request(`${organizationPath(organizationId)}/okta-connection`, {
433
+ method: "GET",
434
+ signal
435
+ });
436
+ }
437
+ function submitOktaConnection(request, organizationId, body) {
438
+ return request(`${organizationPath(organizationId)}/okta-connection`, {
439
+ method: "POST",
440
+ body
441
+ });
442
+ }
443
+ function reviewOktaConnection(request, organizationId, connectionId, body) {
444
+ return request(`${organizationPath(organizationId)}/okta-connection/${encodeURIComponent(connectionId)}`, { method: "PATCH", body });
445
+ }
423
446
  export {
424
447
  acceptInvite,
425
448
  acceptTermsConsent,
@@ -450,6 +473,7 @@ export {
450
473
  getInvite,
451
474
  getMcpApplication,
452
475
  getNotificationPreferences,
476
+ getOktaConnection,
453
477
  getOrganization,
454
478
  getOrganizationMembership,
455
479
  getPersonAvatar,
@@ -466,6 +490,7 @@ export {
466
490
  listInvites,
467
491
  listMcpConnections,
468
492
  listOnboardingSlots,
493
+ listOrganizationAuditEvents,
469
494
  listOrganizationMembers,
470
495
  listOrganizations,
471
496
  listOrganizationsByIds,
@@ -481,6 +506,7 @@ export {
481
506
  removeOrganizationMember,
482
507
  removeStaffOrganizationMember,
483
508
  resolveMcpSession,
509
+ reviewOktaConnection,
484
510
  revokeApiKey,
485
511
  revokeCliSession,
486
512
  revokeInvite,
@@ -495,6 +521,7 @@ export {
495
521
  startCliDeviceAuthorization,
496
522
  startStaffImpersonation,
497
523
  stopStaffImpersonation,
524
+ submitOktaConnection,
498
525
  submitOnboardingIntake,
499
526
  unsubscribePath,
500
527
  updateNotificationPreferences,
@@ -1100,6 +1100,9 @@ async function listStaffVirtualMachines(request, input, signal) {
1100
1100
  function listReservationVirtualMachines(request, reservationId, signal) {
1101
1101
  return request(`/v1/orchestrator/reservations/${encodeURIComponent(reservationId)}/virtual-machines`, { method: "GET", ...signal ? { signal } : {} });
1102
1102
  }
1103
+ function getReservationVirtualMachine(request, reservationId, id, signal) {
1104
+ return request(`/v1/orchestrator/reservations/${encodeURIComponent(reservationId)}/virtual-machines/${encodeURIComponent(id)}`, { method: "GET", signal });
1105
+ }
1103
1106
  function getVirtualMachine(request, id, signal) {
1104
1107
  return request(`/v1/orchestrator/virtual-machines/${encodeURIComponent(id)}`, {
1105
1108
  method: "GET",
@@ -1254,6 +1257,7 @@ export {
1254
1257
  getOrganizationStorageUsage,
1255
1258
  getRegistryUsage,
1256
1259
  getReservationAccessSwitch,
1260
+ getReservationVirtualMachine,
1257
1261
  getSoftwareCatalog,
1258
1262
  getStorageUsage,
1259
1263
  getSupplierConnectionConfig,