@ornncompute/cli 1.0.382 → 1.0.384

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.382",
3
+ "version": "1.0.384",
4
4
  "description": "Command-line interface for Ornn compute access workflows.",
5
5
  "type": "module",
6
6
  "bin": {
@@ -440,6 +440,12 @@ function submitOktaConnection(request, organizationId, body) {
440
440
  body
441
441
  });
442
442
  }
443
+ function setOktaSignInRequirement(request, organizationId, body) {
444
+ return request(`${organizationPath(organizationId)}/okta-connection`, {
445
+ method: "PATCH",
446
+ body
447
+ });
448
+ }
443
449
  function reviewOktaConnection(request, organizationId, connectionId, body) {
444
450
  return request(`${organizationPath(organizationId)}/okta-connection/${encodeURIComponent(connectionId)}`, { method: "PATCH", body });
445
451
  }
@@ -516,6 +522,7 @@ export {
516
522
  searchStaffOrganizations,
517
523
  searchStaffPeople,
518
524
  setAvailabilityAlert,
525
+ setOktaSignInRequirement,
519
526
  signInPath,
520
527
  signOutBrowserSession,
521
528
  startCliDeviceAuthorization,
@@ -1148,6 +1148,13 @@ async function listStaffVirtualMachines(request, input, signal) {
1148
1148
  cursor = page.next_cursor;
1149
1149
  }
1150
1150
  }
1151
+ function getStaffVirtualMachineSpinUp(request, input, signal) {
1152
+ const query = input.organization_id ? `?${new URLSearchParams({ organization_id: input.organization_id })}` : "";
1153
+ return request(`/v1/staff/virtual-machines/metrics/spin-up${query}`, {
1154
+ method: "GET",
1155
+ signal
1156
+ });
1157
+ }
1151
1158
  function listReservationVirtualMachines(request, reservationId, signal) {
1152
1159
  return request(`/v1/orchestrator/reservations/${encodeURIComponent(reservationId)}/virtual-machines`, { method: "GET", ...signal ? { signal } : {} });
1153
1160
  }
@@ -1326,6 +1333,7 @@ export {
1326
1333
  getReservationAccessSwitch,
1327
1334
  getReservationVirtualMachine,
1328
1335
  getSoftwareCatalog,
1336
+ getStaffVirtualMachineSpinUp,
1329
1337
  getStorageUsage,
1330
1338
  getSupplierConnectionConfig,
1331
1339
  getSupplierGateway,