@ornncompute/cli 1.0.212 → 1.0.214

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.212",
3
+ "version": "1.0.214",
4
4
  "description": "Command-line interface for Ornn compute access workflows.",
5
5
  "type": "module",
6
6
  "bin": {
@@ -293,6 +293,12 @@ function getShowback(request, input, signal) {
293
293
  function getBillingContact(request, signal) {
294
294
  return request("/commerce/billing/contact", { method: "GET", signal });
295
295
  }
296
+ function setBillingContact(request, input) {
297
+ return request("/commerce/billing/contact", {
298
+ method: "PUT",
299
+ body: input
300
+ });
301
+ }
296
302
  function getBillingPaymentMethod(request, signal) {
297
303
  return request("/commerce/billing/payment-method", {
298
304
  method: "GET",
@@ -1390,6 +1396,7 @@ export {
1390
1396
  reviewSupplierIntakeSubmission,
1391
1397
  revokeControlplaneLicense,
1392
1398
  revokeSupplierIntakeLink,
1399
+ setBillingContact,
1393
1400
  setBillingPaymentMethod,
1394
1401
  setReservationDisk,
1395
1402
  signOffComputeDealFinancials,
@@ -779,9 +779,10 @@ var MARKETS_SOCKET_PATH = `${BASE3}/ws`;
779
779
  function scope({ saleType: saleType2, region: region2 } = {}) {
780
780
  return { saleType: saleType2, region: region2 };
781
781
  }
782
- function listOrderBooks(request, filter = {}) {
782
+ function listOrderBooks(request, filter = {}, signal) {
783
783
  return request(`${BASE3}/books${query({ gpuSlug: filter.gpuSlug, ...scope(filter) })}`, {
784
- method: "GET"
784
+ method: "GET",
785
+ ...signal ? { signal } : {}
785
786
  });
786
787
  }
787
788
  function getOrderBook(request, gpuSlug, books = {}) {