@ornncompute/cli 1.0.282 → 1.0.284

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.282",
3
+ "version": "1.0.284",
4
4
  "description": "Command-line interface for Ornn compute access workflows.",
5
5
  "type": "module",
6
6
  "bin": {
@@ -4623,7 +4623,14 @@ export async function executeSshKeyCommand(command, input, context, interaction)
4623
4623
  return interaction.result({
4624
4624
  data: { ssh_keys: page.items.map(projectKey) },
4625
4625
  page: page.page,
4626
- presentation: { lines: keyLines(page.items, "Organization SSH keys") },
4626
+ presentation: {
4627
+ lines: keyLines(page.items, "Organization SSH keys"),
4628
+ ...(page.page.next_cursor
4629
+ ? {
4630
+ next: `ornn ssh-keys list --limit ${limit} --cursor ${page.page.next_cursor}`,
4631
+ }
4632
+ : {}),
4633
+ },
4627
4634
  });
4628
4635
  }
4629
4636
 
@@ -214,6 +214,18 @@ function getReservationHour(request, id2, hourStartsAt) {
214
214
  method: "GET"
215
215
  });
216
216
  }
217
+ function cutOverHourlyReservationBilling(request, reservationId, body) {
218
+ return request(`${reservationPath(reservationId)}/ledger-billing-cutover`, {
219
+ method: "POST",
220
+ body
221
+ });
222
+ }
223
+ function restoreLegacyHourlyReservationBilling(request, reservationId, body) {
224
+ return request(`${reservationPath(reservationId)}/legacy-billing-cutover`, {
225
+ method: "POST",
226
+ body
227
+ });
228
+ }
217
229
  function listReservationCapacityRevisions(request, id2, signal) {
218
230
  return request(`${reservationPath(id2)}/capacity-revisions`, {
219
231
  method: "GET",
@@ -1288,6 +1300,7 @@ export {
1288
1300
  createSupplierAccountSession,
1289
1301
  createSupplierIntakeLink,
1290
1302
  createSupplierPaymentAccount,
1303
+ cutOverHourlyReservationBilling,
1291
1304
  deleteCapacityTerms,
1292
1305
  deleteComputeContract,
1293
1306
  deleteComputeContractCommitment,
@@ -1419,6 +1432,7 @@ export {
1419
1432
  redeemGift,
1420
1433
  relistReservation,
1421
1434
  replaceComputeContractLinePricePhases,
1435
+ restoreLegacyHourlyReservationBilling,
1422
1436
  reviewCapacityListing,
1423
1437
  reviewSupplierIntakeSubmission,
1424
1438
  revokeControlplaneLicense,