@ornncompute/cli 1.0.408 → 1.0.410
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
|
@@ -755,6 +755,12 @@ function updateGTMCompany(request, recordId, body) {
|
|
|
755
755
|
body
|
|
756
756
|
});
|
|
757
757
|
}
|
|
758
|
+
function getGTMCompanyDataCRMLink(request, companyId, signal) {
|
|
759
|
+
return request(`${base2}/companies/${id(companyId)}/data-crm-link`, { method: "GET", signal });
|
|
760
|
+
}
|
|
761
|
+
function putGTMCompanyDataCRMLink(request, companyId, body, signal) {
|
|
762
|
+
return request(`${base2}/companies/${id(companyId)}/data-crm-link`, { method: "PUT", body, signal });
|
|
763
|
+
}
|
|
758
764
|
function deleteGTMCompany(request, recordId) {
|
|
759
765
|
return request(`${base2}/companies/${id(recordId)}`, { method: "DELETE" });
|
|
760
766
|
}
|
|
@@ -868,6 +874,20 @@ function getGTMDealDelivery(request, recordId, signal) {
|
|
|
868
874
|
});
|
|
869
875
|
}
|
|
870
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
|
+
|
|
871
891
|
// ../../packages/api-client/dist/commerce/contracts.js
|
|
872
892
|
var base3 = "/internal/v1/gtm/contracts";
|
|
873
893
|
function getContractFile(fetcher, id2, signal) {
|
|
@@ -1354,6 +1374,7 @@ export {
|
|
|
1354
1374
|
getContractFile,
|
|
1355
1375
|
getControlplaneLicense,
|
|
1356
1376
|
getCreditPurchaseRequest,
|
|
1377
|
+
getGTMCompanyDataCRMLink,
|
|
1357
1378
|
getGTMDealDelivery,
|
|
1358
1379
|
getGTMDealDiligence,
|
|
1359
1380
|
getGTMPersonalWorkspace,
|
|
@@ -1373,6 +1394,8 @@ export {
|
|
|
1373
1394
|
getSupplierIntakePacket,
|
|
1374
1395
|
getSupplierIntakeSubmission,
|
|
1375
1396
|
getSupplierPaymentAccount,
|
|
1397
|
+
gtmCompanyCategoryChoices,
|
|
1398
|
+
gtmCompanyCategoryLabel,
|
|
1376
1399
|
listAdminInvoices,
|
|
1377
1400
|
listAllCapacityListings,
|
|
1378
1401
|
listAllComputeContracts,
|
|
@@ -1439,6 +1462,7 @@ export {
|
|
|
1439
1462
|
patchCapacityListing,
|
|
1440
1463
|
patchFacility,
|
|
1441
1464
|
patchReservation,
|
|
1465
|
+
putGTMCompanyDataCRMLink,
|
|
1442
1466
|
recordComputeContractCapacityTransfer,
|
|
1443
1467
|
redeemGift,
|
|
1444
1468
|
relistReservation,
|