@ornncompute/cli 1.0.405 → 1.0.407
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
|
@@ -386,6 +386,15 @@ function createGift(request, body) {
|
|
|
386
386
|
return request("/gifts", { method: "POST", body });
|
|
387
387
|
}
|
|
388
388
|
|
|
389
|
+
// ../../packages/api-client/dist/commerce/compute-requests.js
|
|
390
|
+
function createComputeRequest(request, body, organizationId, idempotencyKey) {
|
|
391
|
+
return request("/commerce/compute-requests", {
|
|
392
|
+
method: "POST",
|
|
393
|
+
body,
|
|
394
|
+
headers: { "X-Organization-Id": organizationId, "Idempotency-Key": idempotencyKey }
|
|
395
|
+
});
|
|
396
|
+
}
|
|
397
|
+
|
|
389
398
|
// ../../packages/api-client/dist/commerce/compute-deals.js
|
|
390
399
|
var deals = "/internal/v1/gtm/compute-deals";
|
|
391
400
|
var dealPath = (id2) => `${deals}/${encodeURIComponent(id2)}`;
|
|
@@ -1284,6 +1293,7 @@ export {
|
|
|
1284
1293
|
createComputeDealAllocation,
|
|
1285
1294
|
createComputeDealPlanningAddOn,
|
|
1286
1295
|
createComputeDealV2,
|
|
1296
|
+
createComputeRequest,
|
|
1287
1297
|
createContractExtraction,
|
|
1288
1298
|
createControlplaneLicense,
|
|
1289
1299
|
createCreditAdjustment,
|
|
@@ -915,6 +915,8 @@ function listReservationNodeRollout(request, reservationId, query = {}, signal)
|
|
|
915
915
|
params.set("after_id", query.after_id);
|
|
916
916
|
if (query.seller_organization_id)
|
|
917
917
|
params.set("seller_organization_id", query.seller_organization_id);
|
|
918
|
+
if (query.include_virtual_machines !== void 0)
|
|
919
|
+
params.set("include_virtual_machines", String(query.include_virtual_machines));
|
|
918
920
|
return request(`/v1/orchestrator/reservations/${encodeURIComponent(reservationId)}/node-rollout${params.size ? `?${params}` : ""}`, { method: "GET", ...signal ? { signal } : {} });
|
|
919
921
|
}
|
|
920
922
|
|