@ornncompute/cli 1.0.409 → 1.0.411

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.409",
3
+ "version": "1.0.411",
4
4
  "description": "Command-line interface for Ornn compute access workflows.",
5
5
  "type": "module",
6
6
  "bin": {
@@ -874,6 +874,20 @@ function getGTMDealDelivery(request, recordId, signal) {
874
874
  });
875
875
  }
876
876
 
877
+ // ../../packages/api-client/dist/commerce/gtm-types.js
878
+ var gtmCompanyCategoryChoices = [
879
+ { value: "", label: "Unclassified" },
880
+ { value: "supply", label: "Supply" },
881
+ { value: "demand", label: "Demand" },
882
+ { value: "compute", label: "Compute" },
883
+ { value: "financial_provider", label: "Financial provider" }
884
+ ];
885
+ function gtmCompanyCategoryLabel(category) {
886
+ if (category === void 0)
887
+ return "Unavailable";
888
+ return gtmCompanyCategoryChoices.find((choice) => choice.value === category)?.label ?? category;
889
+ }
890
+
877
891
  // ../../packages/api-client/dist/commerce/contracts.js
878
892
  var base3 = "/internal/v1/gtm/contracts";
879
893
  function getContractFile(fetcher, id2, signal) {
@@ -1380,6 +1394,8 @@ export {
1380
1394
  getSupplierIntakePacket,
1381
1395
  getSupplierIntakeSubmission,
1382
1396
  getSupplierPaymentAccount,
1397
+ gtmCompanyCategoryChoices,
1398
+ gtmCompanyCategoryLabel,
1383
1399
  listAdminInvoices,
1384
1400
  listAllCapacityListings,
1385
1401
  listAllComputeContracts,