@ornncompute/cli 1.0.252 → 1.0.254
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.
|
|
3
|
+
"version": "1.0.254",
|
|
4
4
|
"description": "Command-line interface for Ornn compute access workflows.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"dependencies": {
|
|
47
47
|
"picocolors": "^1.1.1",
|
|
48
48
|
"update-notifier": "7.3.1",
|
|
49
|
-
"ws": "8.
|
|
49
|
+
"ws": "8.23.0",
|
|
50
50
|
"zod": "^4.6.7"
|
|
51
51
|
}
|
|
52
52
|
}
|
|
@@ -333,6 +333,19 @@ function getStorageAgreement(request, signal) {
|
|
|
333
333
|
function getStorageBill(request, organizationId, month, signal) {
|
|
334
334
|
return request(`/v1/organizations/${encodeURIComponent(organizationId)}/storage-bill?${new URLSearchParams({ month })}`, { method: "GET", signal });
|
|
335
335
|
}
|
|
336
|
+
function createCreditPurchase(request, input, idempotencyKey) {
|
|
337
|
+
return request("/commerce/billing/credit-purchases", {
|
|
338
|
+
method: "POST",
|
|
339
|
+
body: input,
|
|
340
|
+
headers: { "Idempotency-Key": idempotencyKey }
|
|
341
|
+
});
|
|
342
|
+
}
|
|
343
|
+
function getCreditPurchaseRequest(request, id2, signal) {
|
|
344
|
+
return request(`/commerce/billing/credit-purchases/${encodeURIComponent(id2)}`, {
|
|
345
|
+
method: "GET",
|
|
346
|
+
signal
|
|
347
|
+
});
|
|
348
|
+
}
|
|
336
349
|
|
|
337
350
|
// ../../packages/api-client/dist/commerce/gifts.js
|
|
338
351
|
function getGift(request, code, organizationId, signal) {
|
|
@@ -1255,6 +1268,7 @@ export {
|
|
|
1255
1268
|
createContractExtraction,
|
|
1256
1269
|
createControlplaneLicense,
|
|
1257
1270
|
createCreditAdjustment,
|
|
1271
|
+
createCreditPurchase,
|
|
1258
1272
|
createDowntime,
|
|
1259
1273
|
createFacility,
|
|
1260
1274
|
createGTMCompany,
|
|
@@ -1309,6 +1323,7 @@ export {
|
|
|
1309
1323
|
getContractExtraction,
|
|
1310
1324
|
getContractFile,
|
|
1311
1325
|
getControlplaneLicense,
|
|
1326
|
+
getCreditPurchaseRequest,
|
|
1312
1327
|
getGTMDealDelivery,
|
|
1313
1328
|
getGTMDealDiligence,
|
|
1314
1329
|
getGTMPersonalWorkspace,
|