@ornncompute/cli 1.0.164 → 1.0.166

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.164",
3
+ "version": "1.0.166",
4
4
  "description": "Command-line interface for Ornn compute access workflows.",
5
5
  "type": "module",
6
6
  "bin": {
@@ -648,6 +648,9 @@ function listStaffNodes(request, query = {}, signal) {
648
648
  function nodeResourcePath(id) {
649
649
  return `/v1/orchestrator/nodes/${encodeURIComponent(id)}`;
650
650
  }
651
+ function markNodeClean(request, id, body) {
652
+ return request(`${nodeResourcePath(id)}/mark-clean`, { method: "POST", body });
653
+ }
651
654
  function getNode(request, id, signal) {
652
655
  return request(nodeResourcePath(id), {
653
656
  method: "GET",
@@ -1113,6 +1116,7 @@ export {
1113
1116
  listSupplierNodeConfigs,
1114
1117
  listVirtualMachinePorts,
1115
1118
  localityGeolocatePath,
1119
+ markNodeClean,
1116
1120
  networksSubscriptionPath,
1117
1121
  openVirtualMachinePort,
1118
1122
  patchSupplierConnectionConfig,