@ornncompute/cli 1.0.121 → 1.0.123

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.
@@ -370,6 +370,97 @@ function deleteComputeDealAddOn(request, id2, addOnId, body) {
370
370
  });
371
371
  }
372
372
 
373
+ // ../../packages/api-client/dist/commerce/compute-contracts.js
374
+ var contracts = "/internal/v1/gtm/compute-contracts";
375
+ var contractPath = (id2) => `${contracts}/${encodeURIComponent(id2)}`;
376
+ var documents = (id2) => `${contractPath(id2)}/documents`;
377
+ var lines = (id2) => `${contractPath(id2)}/lines`;
378
+ var delayPenalties = (id2) => `${contractPath(id2)}/delay-penalties`;
379
+ function listComputeContracts(request, input = {}, signal) {
380
+ return request(contracts + queryString(input), { method: "GET", signal });
381
+ }
382
+ async function listAllComputeContracts(request, filter = {}, signal) {
383
+ const contracts2 = [];
384
+ const seen = /* @__PURE__ */ new Set();
385
+ let after;
386
+ for (; ; ) {
387
+ const page = await listComputeContracts(request, { ...filter, after }, signal);
388
+ contracts2.push(...page.contracts);
389
+ if (!page.nextCursor)
390
+ return { ...page, contracts: contracts2 };
391
+ if (seen.has(page.nextCursor))
392
+ throw new Error("Compute contracts returned an incomplete list.");
393
+ seen.add(page.nextCursor);
394
+ after = page.nextCursor;
395
+ }
396
+ }
397
+ function getComputeContract(request, id2, signal) {
398
+ return request(contractPath(id2), { method: "GET", signal });
399
+ }
400
+ function createComputeContract(request, body) {
401
+ return request(contracts, { method: "POST", body });
402
+ }
403
+ function updateComputeContract(request, id2, body) {
404
+ return request(contractPath(id2), { method: "PUT", body });
405
+ }
406
+ function deleteComputeContract(request, id2, body) {
407
+ return request(contractPath(id2), { method: "DELETE", body });
408
+ }
409
+ function listComputeContractDocuments(request, id2, signal) {
410
+ return request(documents(id2), { method: "GET", signal });
411
+ }
412
+ function createComputeContractDocument(request, id2, body) {
413
+ return request(documents(id2), { method: "POST", body });
414
+ }
415
+ function updateComputeContractDocument(request, id2, documentId, body) {
416
+ return request(`${documents(id2)}/${encodeURIComponent(documentId)}`, {
417
+ method: "PUT",
418
+ body
419
+ });
420
+ }
421
+ function deleteComputeContractDocument(request, id2, documentId, body) {
422
+ return request(`${documents(id2)}/${encodeURIComponent(documentId)}`, {
423
+ method: "DELETE",
424
+ body
425
+ });
426
+ }
427
+ function listComputeContractLines(request, id2, signal) {
428
+ return request(lines(id2), { method: "GET", signal });
429
+ }
430
+ function createComputeContractLine(request, id2, body) {
431
+ return request(lines(id2), { method: "POST", body });
432
+ }
433
+ function updateComputeContractLine(request, id2, lineId, body) {
434
+ return request(`${lines(id2)}/${encodeURIComponent(lineId)}`, {
435
+ method: "PUT",
436
+ body
437
+ });
438
+ }
439
+ function deleteComputeContractLine(request, id2, lineId, body) {
440
+ return request(`${lines(id2)}/${encodeURIComponent(lineId)}`, {
441
+ method: "DELETE",
442
+ body
443
+ });
444
+ }
445
+ function listComputeContractDelayPenalties(request, id2, signal) {
446
+ return request(delayPenalties(id2), { method: "GET", signal });
447
+ }
448
+ function createComputeContractDelayPenalty(request, id2, body) {
449
+ return request(delayPenalties(id2), { method: "POST", body });
450
+ }
451
+ function updateComputeContractDelayPenalty(request, id2, penaltyId, body) {
452
+ return request(`${delayPenalties(id2)}/${encodeURIComponent(penaltyId)}`, {
453
+ method: "PUT",
454
+ body
455
+ });
456
+ }
457
+ function deleteComputeContractDelayPenalty(request, id2, penaltyId, body) {
458
+ return request(`${delayPenalties(id2)}/${encodeURIComponent(penaltyId)}`, {
459
+ method: "DELETE",
460
+ body
461
+ });
462
+ }
463
+
373
464
  // ../../packages/api-client/dist/commerce/contract-extractions.js
374
465
  var extractions = "/internal/v1/gtm/contract-extractions";
375
466
  var extractionPath = (id2) => `${extractions}/${encodeURIComponent(id2)}`;
@@ -746,6 +837,10 @@ export {
746
837
  completeReservation,
747
838
  createBillingSetupIntent,
748
839
  createCapacityListing,
840
+ createComputeContract,
841
+ createComputeContractDelayPenalty,
842
+ createComputeContractDocument,
843
+ createComputeContractLine,
749
844
  createComputeDeal,
750
845
  createComputeDealAddOn,
751
846
  createContractExtraction,
@@ -763,6 +858,10 @@ export {
763
858
  createSupplierIntakeLink,
764
859
  createSupplierPaymentAccount,
765
860
  deleteCapacityTerms,
861
+ deleteComputeContract,
862
+ deleteComputeContractDelayPenalty,
863
+ deleteComputeContractDocument,
864
+ deleteComputeContractLine,
766
865
  deleteComputeDeal,
767
866
  deleteComputeDealAddOn,
768
867
  deleteContractExtraction,
@@ -782,6 +881,7 @@ export {
782
881
  getCapacityListingImage,
783
882
  getCapacityListingSpecPdf,
784
883
  getCommerceOrganization,
884
+ getComputeContract,
785
885
  getContractExtraction,
786
886
  getContractFile,
787
887
  getControlplaneLicense,
@@ -803,6 +903,7 @@ export {
803
903
  getSupplierPaymentAccount,
804
904
  listAdminInvoices,
805
905
  listAllCapacityListings,
906
+ listAllComputeContracts,
806
907
  listAllComputeDeals,
807
908
  listAllContractExtractions,
808
909
  listAllContractFiles,
@@ -814,8 +915,12 @@ export {
814
915
  listCapacityNodes,
815
916
  listCapacityTerms,
816
917
  listCapacityTermsBatch,
918
+ listComputeContractDelayPenalties,
919
+ listComputeContractDocuments,
817
920
  listComputeContractLineCapacity,
818
921
  listComputeContractLineMatches,
922
+ listComputeContractLines,
923
+ listComputeContracts,
819
924
  listComputeDealAddOns,
820
925
  listComputeDeals,
821
926
  listContractExtractions,
@@ -852,6 +957,10 @@ export {
852
957
  setReservationDisk,
853
958
  stopReservation,
854
959
  transferReservation,
960
+ updateComputeContract,
961
+ updateComputeContractDelayPenalty,
962
+ updateComputeContractDocument,
963
+ updateComputeContractLine,
855
964
  updateComputeDeal,
856
965
  updateComputeDealAddOn,
857
966
  updateContractExtractionField,
@@ -150,35 +150,471 @@ function closeShellSession(fetcher, id) {
150
150
  function shellSessionAttachPath(id) {
151
151
  return `${sessionsPath}/${encodeURIComponent(id)}/attach`;
152
152
  }
153
+
154
+ // ../../packages/api-client/dist/orchestrator/drives.js
155
+ function queryPath(path, query) {
156
+ const params = new URLSearchParams();
157
+ for (const [key, value] of Object.entries(query)) {
158
+ if (value !== void 0 && value !== null)
159
+ params.set(key, String(value));
160
+ }
161
+ return `${path}${params.size ? `?${params}` : ""}`;
162
+ }
163
+ function listDrives(request, query = {}, signal) {
164
+ return request(queryPath("/v1/orchestrator/drives", query), {
165
+ method: "GET",
166
+ ...signal ? { signal } : {}
167
+ });
168
+ }
169
+ function getDrive(request, id, query = {}, options = {}) {
170
+ return request(queryPath(`/v1/orchestrator/drives/${encodeURIComponent(id)}`, query), {
171
+ method: "GET",
172
+ ...options
173
+ });
174
+ }
175
+ function createDrive(request, body, options = {}) {
176
+ return request("/v1/orchestrator/drives", {
177
+ method: "POST",
178
+ body,
179
+ ...options
180
+ });
181
+ }
182
+ function updateDrive(request, id, body, options = {}) {
183
+ return request(`/v1/orchestrator/drives/${encodeURIComponent(id)}`, {
184
+ method: "PATCH",
185
+ body,
186
+ ...options
187
+ });
188
+ }
189
+ function deleteDrive(request, id, query = {}, options = {}) {
190
+ return request(queryPath(`/v1/orchestrator/drives/${encodeURIComponent(id)}`, query), {
191
+ method: "DELETE",
192
+ ...options
193
+ });
194
+ }
195
+ function listStorageTargets(request, signal) {
196
+ return request("/v1/orchestrator/storage-targets", {
197
+ method: "GET",
198
+ ...signal ? { signal } : {}
199
+ });
200
+ }
201
+
202
+ // ../../packages/api-client/dist/orchestrator/drive-files.js
203
+ function drivePath(id) {
204
+ return `/v1/orchestrator/drives/${encodeURIComponent(id)}`;
205
+ }
206
+ function filePath(path) {
207
+ return path.replace(/\\/g, "/").split("/").filter(Boolean).map(encodeURIComponent).join("/");
208
+ }
209
+ function driveFilePath(id, path) {
210
+ return `${drivePath(id)}/files/${filePath(path)}`;
211
+ }
212
+ function driveArchivePath(id) {
213
+ return `${drivePath(id)}/archive`;
214
+ }
215
+ function driveFolderArchivePath(id, path) {
216
+ return `${drivePath(id)}/folders/${filePath(path)}/archive`;
217
+ }
218
+ function downloadDriveFile(fetch, id, path, signal) {
219
+ return fetch(driveFilePath(id, path), { method: "GET", ...signal ? { signal } : {} });
220
+ }
221
+ function listDriveContents(request, id, query = {}, signal) {
222
+ const params = new URLSearchParams();
223
+ for (const [key, value] of Object.entries(query)) {
224
+ if (value !== void 0)
225
+ params.set(key, String(value));
226
+ }
227
+ return request(`${drivePath(id)}/contents${params.size ? `?${params}` : ""}`, {
228
+ method: "GET",
229
+ ...signal ? { signal } : {}
230
+ });
231
+ }
232
+ function deleteDriveFile(request, id, path) {
233
+ return request(driveFilePath(id, path), { method: "DELETE" });
234
+ }
235
+ function deleteDriveFolder(request, id, path) {
236
+ return request(`${drivePath(id)}/folders/${filePath(path)}`, { method: "DELETE" });
237
+ }
238
+ function clearDriveContents(request, id) {
239
+ return request(`${drivePath(id)}/contents`, { method: "DELETE" });
240
+ }
241
+ function startDriveUpload(request, id, body, options = {}) {
242
+ return request(`${drivePath(id)}/uploads`, { method: "POST", body, ...options });
243
+ }
244
+ function completeDriveUpload(request, id, uploadId, body, options = {}) {
245
+ return request(`${drivePath(id)}/uploads/${encodeURIComponent(uploadId)}`, {
246
+ method: "POST",
247
+ body,
248
+ ...options
249
+ });
250
+ }
251
+ function cancelDriveUpload(request, id, uploadId, signal) {
252
+ return request(`${drivePath(id)}/uploads/${encodeURIComponent(uploadId)}`, {
253
+ method: "DELETE",
254
+ ...signal ? { signal } : {}
255
+ });
256
+ }
257
+ function keepDriveUploadsAlive(request, id) {
258
+ return request(`${drivePath(id)}/uploads`, { method: "PATCH" });
259
+ }
260
+
261
+ // ../../packages/api-client/dist/orchestrator/storage-types.js
262
+ var storageEventsPath = "/v1/orchestrator/storage/ws";
263
+
264
+ // ../../packages/api-client/dist/orchestrator/storage-usage.js
265
+ function queryPath2(path, query) {
266
+ const params = new URLSearchParams();
267
+ for (const [key, value] of Object.entries(query)) {
268
+ if (value !== void 0)
269
+ params.set(key, String(value));
270
+ }
271
+ return `${path}${params.size ? `?${params}` : ""}`;
272
+ }
273
+ function listStorageInventory(request, query = {}, signal) {
274
+ return request(queryPath2("/v1/staff/storage/volumes", query), {
275
+ method: "GET",
276
+ ...signal ? { signal } : {}
277
+ });
278
+ }
279
+ function getStorageUsage(request, driveId, query, signal) {
280
+ return request(queryPath2(`/v1/staff/storage/volumes/${encodeURIComponent(driveId)}/usage`, query), {
281
+ method: "GET",
282
+ ...signal ? { signal } : {}
283
+ });
284
+ }
285
+ function getOrganizationStorageUsage(request, organizationId, query, signal) {
286
+ return request(queryPath2(`/v1/staff/storage/organizations/${encodeURIComponent(organizationId)}/usage`, query), {
287
+ method: "GET",
288
+ ...signal ? { signal } : {}
289
+ });
290
+ }
291
+
292
+ // ../../packages/api-client/dist/orchestrator/github.js
293
+ var connections = "/v1/orchestrator/github/connections";
294
+ function listGitHubConnections(request) {
295
+ return request(connections, { method: "GET" });
296
+ }
297
+ function startGitHubConnection(request, query = {}) {
298
+ const params = new URLSearchParams();
299
+ if (query.page !== void 0)
300
+ params.set("page", query.page);
301
+ return request(`${connections}${params.size ? `?${params}` : ""}`, {
302
+ method: "POST"
303
+ });
304
+ }
305
+ function completeGitHubConnection(request, body) {
306
+ return request(`${connections}/complete`, { method: "POST", body });
307
+ }
308
+ function deleteGitHubConnection(request, id) {
309
+ return request(`${connections}/${encodeURIComponent(id)}`, { method: "DELETE" });
310
+ }
311
+ function listGitHubRepositories(request, connectionId) {
312
+ return request(`${connections}/${encodeURIComponent(connectionId)}/repositories`, {
313
+ method: "GET"
314
+ });
315
+ }
316
+ function listGitHubBranches(request, connectionId, repositoryId, query) {
317
+ const params = new URLSearchParams({ full_name: query.full_name, page: String(query.page) });
318
+ return request(`${connections}/${encodeURIComponent(connectionId)}/repositories/${repositoryId}/branches?${params}`, { method: "GET" });
319
+ }
320
+ function pullGitHubRepository(request, driveId, body) {
321
+ return request(`/v1/orchestrator/drives/${encodeURIComponent(driveId)}/github`, {
322
+ method: "POST",
323
+ body
324
+ });
325
+ }
326
+ function syncGitHubRepository(request, driveId, folder) {
327
+ return request(`/v1/orchestrator/drives/${encodeURIComponent(driveId)}/github/${encodeURIComponent(folder)}/sync`, { method: "POST" });
328
+ }
329
+
330
+ // ../../packages/api-client/dist/orchestrator/nodes.js
331
+ function nodeQuery(query) {
332
+ const params = new URLSearchParams();
333
+ for (const [key, value] of Object.entries(query)) {
334
+ if (value !== void 0)
335
+ params.set(key, String(value));
336
+ }
337
+ return params.size ? `?${params}` : "";
338
+ }
339
+ function listNodes(request, query = {}, signal) {
340
+ return request(`/v1/orchestrator/nodes${nodeQuery(query)}`, {
341
+ method: "GET",
342
+ ...signal ? { signal } : {}
343
+ });
344
+ }
345
+ function listStaffNodes(request, query = {}, signal) {
346
+ return request(`/v1/staff/nodes${nodeQuery(query)}`, {
347
+ method: "GET",
348
+ ...signal ? { signal } : {}
349
+ });
350
+ }
351
+ function nodeResourcePath(id) {
352
+ return `/v1/orchestrator/nodes/${encodeURIComponent(id)}`;
353
+ }
354
+ function getNode(request, id, signal) {
355
+ return request(nodeResourcePath(id), {
356
+ method: "GET",
357
+ ...signal ? { signal } : {}
358
+ });
359
+ }
360
+ function updateNode(request, id, body) {
361
+ return request(nodeResourcePath(id), { method: "PATCH", body });
362
+ }
363
+ function createGhostNodes(request, body) {
364
+ return request("/v1/orchestrator/nodes/ghost", { method: "POST", body });
365
+ }
366
+ function terminateNode(request, id, body, headers) {
367
+ return request(`${nodeResourcePath(id)}/terminate`, {
368
+ method: "POST",
369
+ body,
370
+ ...headers ? { headers } : {}
371
+ });
372
+ }
373
+ function transferNode(request, id, body) {
374
+ return request(`${nodeResourcePath(id)}/transfer`, {
375
+ method: "POST",
376
+ body
377
+ });
378
+ }
379
+ function assignNode(request, id, body, headers) {
380
+ return request(`${nodeResourcePath(id)}/assign`, {
381
+ method: "POST",
382
+ body,
383
+ ...headers ? { headers } : {}
384
+ });
385
+ }
386
+ function updateNodeKeys(request, id, body, headers) {
387
+ return request(`${nodeResourcePath(id)}/keys`, {
388
+ method: "PATCH",
389
+ body,
390
+ ...headers ? { headers } : {}
391
+ });
392
+ }
393
+ function issueNodeSshCertificate(request, id, body) {
394
+ return request(`${nodeResourcePath(id)}/ssh-certificates`, { method: "POST", body });
395
+ }
396
+ function rebootNode(request, id, body, headers) {
397
+ return request(`${nodeResourcePath(id)}/reboot`, {
398
+ method: "POST",
399
+ body,
400
+ ...headers ? { headers } : {}
401
+ });
402
+ }
403
+ function pushNodeKeys(request, id, body = {}) {
404
+ return request(`${nodeResourcePath(id)}/push-keys`, { method: "POST", body });
405
+ }
406
+
407
+ // ../../packages/api-client/dist/orchestrator/virtual-machines.js
408
+ function listNodeVirtualMachines(request, nodeId, signal) {
409
+ return request(`/v1/orchestrator/nodes/${encodeURIComponent(nodeId)}/virtual-machines`, {
410
+ method: "GET",
411
+ ...signal ? { signal } : {}
412
+ });
413
+ }
414
+ function listStaffNodeVirtualMachines(request, nodeId, signal) {
415
+ return request(`/v1/staff/nodes/${encodeURIComponent(nodeId)}/virtual-machines`, {
416
+ method: "GET",
417
+ ...signal ? { signal } : {}
418
+ });
419
+ }
420
+ function listReservationVirtualMachines(request, reservationId, signal) {
421
+ return request(`/v1/orchestrator/reservations/${encodeURIComponent(reservationId)}/virtual-machines`, { method: "GET", ...signal ? { signal } : {} });
422
+ }
423
+ function getVirtualMachine(request, id, signal) {
424
+ return request(`/v1/orchestrator/virtual-machines/${encodeURIComponent(id)}`, {
425
+ method: "GET",
426
+ ...signal ? { signal } : {}
427
+ });
428
+ }
429
+ function getVirtualMachineLogs(request, id, signal) {
430
+ return request(`/v1/orchestrator/virtual-machines/${encodeURIComponent(id)}/logs`, {
431
+ method: "GET",
432
+ ...signal ? { signal } : {}
433
+ });
434
+ }
435
+ function updateVirtualMachineRun(request, id, body) {
436
+ return request(`/v1/orchestrator/virtual-machines/${encodeURIComponent(id)}`, {
437
+ method: "POST",
438
+ body
439
+ });
440
+ }
441
+ function getNodeVirtualMachineCapacity(request, nodeId) {
442
+ return request(`/v1/orchestrator/nodes/${encodeURIComponent(nodeId)}/virtual-machine-capacity`, {
443
+ method: "GET"
444
+ });
445
+ }
446
+ function createVirtualMachine(request, nodeId, body) {
447
+ return request(`/v1/orchestrator/nodes/${encodeURIComponent(nodeId)}/virtual-machines`, {
448
+ method: "POST",
449
+ body
450
+ });
451
+ }
452
+ function deleteVirtualMachine(request, nodeId, id, query = {}, signal) {
453
+ const params = new URLSearchParams();
454
+ if (query.abandon_host_cleanup !== void 0)
455
+ params.set("abandon_host_cleanup", String(query.abandon_host_cleanup));
456
+ return request(`/v1/orchestrator/nodes/${encodeURIComponent(nodeId)}/virtual-machines/${encodeURIComponent(id)}${params.size ? `?${params}` : ""}`, { method: "DELETE", ...signal ? { signal } : {} });
457
+ }
458
+ function updateVirtualMachineKeys(request, id, body, headers) {
459
+ return request(`/v1/orchestrator/virtual-machines/${encodeURIComponent(id)}/keys`, {
460
+ method: "PATCH",
461
+ body,
462
+ ...headers ? { headers } : {}
463
+ });
464
+ }
465
+ function rebootVirtualMachine(request, nodeId, id, body = {}) {
466
+ return request(`/v1/orchestrator/nodes/${encodeURIComponent(nodeId)}/virtual-machines/${encodeURIComponent(id)}/reboot`, { method: "POST", body });
467
+ }
468
+ function listVirtualMachinePorts(request, nodeId, id, signal) {
469
+ return request(`/v1/orchestrator/nodes/${encodeURIComponent(nodeId)}/virtual-machines/${encodeURIComponent(id)}/ports`, { method: "GET", ...signal ? { signal } : {} });
470
+ }
471
+ function openVirtualMachinePort(request, nodeId, id, body) {
472
+ return request(`/v1/orchestrator/nodes/${encodeURIComponent(nodeId)}/virtual-machines/${encodeURIComponent(id)}/ports`, { method: "POST", body });
473
+ }
474
+ function closeVirtualMachinePort(request, nodeId, id, portId) {
475
+ return request(`/v1/orchestrator/nodes/${encodeURIComponent(nodeId)}/virtual-machines/${encodeURIComponent(id)}/ports/${encodeURIComponent(portId)}`, { method: "DELETE" });
476
+ }
477
+
478
+ // ../../packages/api-client/dist/orchestrator/node-access.js
479
+ function launchReservation(request, reservationId, body) {
480
+ return request(`/v1/orchestrator/nodes/reservations/${encodeURIComponent(reservationId)}/launch`, { method: "POST", body });
481
+ }
482
+ function switchReservationAccess(request, reservationId, body) {
483
+ return request(`/v1/orchestrator/nodes/reservations/${encodeURIComponent(reservationId)}/switch-access`, { method: "POST", body });
484
+ }
485
+ function getReservationAccessSwitch(request, reservationId, requestId, signal) {
486
+ return request(`/v1/orchestrator/nodes/reservations/${encodeURIComponent(reservationId)}/switch-access?${new URLSearchParams({ request_id: requestId })}`, { method: "GET", ...signal ? { signal } : {} });
487
+ }
488
+ function listReservationSshKeys(request, reservationId, query = {}, signal) {
489
+ const params = new URLSearchParams();
490
+ if (query.virtual_machine_id !== void 0)
491
+ params.set("virtual_machine_id", query.virtual_machine_id);
492
+ return request(`/v1/orchestrator/nodes/reservations/${encodeURIComponent(reservationId)}/ssh-keys${params.size ? `?${params}` : ""}`, { method: "GET", ...signal ? { signal } : {} });
493
+ }
494
+ function addReservationSshKey(request, reservationId, body, options = {}) {
495
+ return request(`/v1/orchestrator/nodes/reservations/${encodeURIComponent(reservationId)}/ssh-keys`, { method: "POST", body, ...options });
496
+ }
497
+ function deleteReservationSshKey(request, reservationId, keyId) {
498
+ return request(`/v1/orchestrator/nodes/reservations/${encodeURIComponent(reservationId)}/ssh-keys/${encodeURIComponent(keyId)}`, { method: "DELETE" });
499
+ }
500
+ var reservationEventsPath = "/v1/orchestrator/reservations/ws";
501
+
502
+ // ../../packages/api-client/dist/orchestrator/node-sanitize.js
503
+ function sanitizePath(nodeId, jobId) {
504
+ const base = `/v1/orchestrator/nodes/${encodeURIComponent(nodeId)}/sanitize-drives`;
505
+ return jobId === void 0 ? base : `${base}/${encodeURIComponent(jobId)}`;
506
+ }
507
+ function startNodeSanitize(request, nodeId, body) {
508
+ return request(sanitizePath(nodeId), { method: "POST", body });
509
+ }
510
+ function getNodeSanitize(request, nodeId, jobId) {
511
+ return request(sanitizePath(nodeId, jobId), { method: "GET" });
512
+ }
513
+ function updateNodeSanitize(request, nodeId, jobId, body) {
514
+ return request(sanitizePath(nodeId, jobId), { method: "PATCH", body });
515
+ }
516
+ function getNodeSanitizeLog(fetcher, nodeId, jobId) {
517
+ return fetcher(sanitizePath(nodeId, jobId), {
518
+ method: "GET",
519
+ headers: { Accept: "application/x-ndjson" }
520
+ });
521
+ }
153
522
  export {
523
+ addReservationSshKey,
524
+ assignNode,
525
+ cancelDriveUpload,
526
+ clearDriveContents,
154
527
  closeShellSession,
528
+ closeVirtualMachinePort,
155
529
  completeDiskUpload,
530
+ completeDriveUpload,
531
+ completeGitHubConnection,
156
532
  completeImageUpload,
157
533
  createDisk,
534
+ createDrive,
535
+ createGhostNodes,
158
536
  createShellSession,
537
+ createVirtualMachine,
159
538
  deleteDisk,
539
+ deleteDrive,
540
+ deleteDriveFile,
541
+ deleteDriveFolder,
542
+ deleteGitHubConnection,
160
543
  deleteImage,
161
544
  deleteRegistryTag,
545
+ deleteReservationSshKey,
546
+ deleteVirtualMachine,
162
547
  disksSocketPath,
548
+ downloadDriveFile,
549
+ driveArchivePath,
550
+ driveFilePath,
551
+ driveFolderArchivePath,
163
552
  geolocate,
164
553
  getContainerRegistry,
165
554
  getCurrentShellSession,
555
+ getDrive,
166
556
  getHardwareCatalog,
557
+ getNode,
558
+ getNodeSanitize,
559
+ getNodeSanitizeLog,
560
+ getNodeVirtualMachineCapacity,
561
+ getOrganizationStorageUsage,
167
562
  getRegistryUsage,
563
+ getReservationAccessSwitch,
168
564
  getSoftwareCatalog,
565
+ getStorageUsage,
566
+ getVirtualMachine,
567
+ getVirtualMachineLogs,
169
568
  hardwareCatalogPath,
170
569
  importDisk,
570
+ issueNodeSshCertificate,
571
+ keepDriveUploadsAlive,
572
+ launchReservation,
171
573
  listCatalogImages,
172
574
  listDisks,
575
+ listDriveContents,
576
+ listDrives,
577
+ listGitHubBranches,
578
+ listGitHubConnections,
579
+ listGitHubRepositories,
173
580
  listLocalityRegions,
581
+ listNodeVirtualMachines,
582
+ listNodes,
174
583
  listRegistryCaches,
175
584
  listRegistryRepositories,
176
585
  listRegistryTags,
586
+ listReservationSshKeys,
587
+ listReservationVirtualMachines,
588
+ listStaffNodeVirtualMachines,
589
+ listStaffNodes,
590
+ listStorageInventory,
591
+ listStorageTargets,
592
+ listVirtualMachinePorts,
177
593
  localityGeolocatePath,
594
+ openVirtualMachinePort,
178
595
  postDiskObject,
179
596
  postImageObject,
597
+ pullGitHubRepository,
598
+ pushNodeKeys,
599
+ rebootNode,
600
+ rebootVirtualMachine,
601
+ reservationEventsPath,
180
602
  shellSessionAttachPath,
181
603
  startDiskUpload,
604
+ startDriveUpload,
605
+ startGitHubConnection,
182
606
  startImageUpload,
183
- updateDisk
607
+ startNodeSanitize,
608
+ storageEventsPath,
609
+ switchReservationAccess,
610
+ syncGitHubRepository,
611
+ terminateNode,
612
+ transferNode,
613
+ updateDisk,
614
+ updateDrive,
615
+ updateNode,
616
+ updateNodeKeys,
617
+ updateNodeSanitize,
618
+ updateVirtualMachineKeys,
619
+ updateVirtualMachineRun
184
620
  };