@ornncompute/cli 1.0.253 → 1.0.255
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
|
@@ -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,
|
|
@@ -5,6 +5,18 @@ function listAvailableAgentReleases(request, signal) {
|
|
|
5
5
|
signal
|
|
6
6
|
});
|
|
7
7
|
}
|
|
8
|
+
function startAgentReleaseRollout(request, version, body = {}) {
|
|
9
|
+
return request(`/v1/orchestrator/agent-releases/${encodeURIComponent(version)}/rollouts`, {
|
|
10
|
+
method: "POST",
|
|
11
|
+
body
|
|
12
|
+
});
|
|
13
|
+
}
|
|
14
|
+
function forceAgentUpdates(request, body) {
|
|
15
|
+
return request("/v1/orchestrator/force-updates", {
|
|
16
|
+
method: "POST",
|
|
17
|
+
body
|
|
18
|
+
});
|
|
19
|
+
}
|
|
8
20
|
function requestAgentUpdate(request, nodeId, body) {
|
|
9
21
|
return request(`/v1/orchestrator/nodes/${encodeURIComponent(nodeId)}/update`, {
|
|
10
22
|
method: "POST",
|
|
@@ -1084,6 +1096,7 @@ export {
|
|
|
1084
1096
|
enrollmentInstallPath,
|
|
1085
1097
|
enrollmentTokensPath,
|
|
1086
1098
|
fakeEnroll,
|
|
1099
|
+
forceAgentUpdates,
|
|
1087
1100
|
geolocate,
|
|
1088
1101
|
getContainerRegistry,
|
|
1089
1102
|
getControllerAccess,
|
|
@@ -1186,6 +1199,7 @@ export {
|
|
|
1186
1199
|
saveServicingRequirement,
|
|
1187
1200
|
setControlplaneSize,
|
|
1188
1201
|
shellSessionAttachPath,
|
|
1202
|
+
startAgentReleaseRollout,
|
|
1189
1203
|
startDiskUpload,
|
|
1190
1204
|
startDriveUpload,
|
|
1191
1205
|
startGitHubConnection,
|