@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 +1 -1
- package/src/vm-commands.mjs +8 -1
- package/vendor/api-client/commerce.js +14 -0
package/package.json
CHANGED
package/src/vm-commands.mjs
CHANGED
|
@@ -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: {
|
|
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,
|