@ornncompute/cli 1.0.156 → 1.0.158

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.156",
3
+ "version": "1.0.158",
4
4
  "description": "Command-line interface for Ornn compute access workflows.",
5
5
  "type": "module",
6
6
  "bin": {
@@ -828,6 +828,82 @@ function revokeControlplaneLicense(request, id2) {
828
828
  body: {}
829
829
  });
830
830
  }
831
+
832
+ // ../../packages/api-client/dist/commerce/compute-deal-allocations.js
833
+ var root = "/internal/v2/gtm/compute-deals";
834
+ var dealPath2 = (id2) => `${root}/${encodeURIComponent(id2)}`;
835
+ function listComputeDealsV2(request, input = {}, signal) {
836
+ return request(root + queryString(input), { method: "GET", signal });
837
+ }
838
+ function getComputeDealV2(request, id2, signal) {
839
+ return request(dealPath2(id2), { method: "GET", signal });
840
+ }
841
+ function createComputeDealV2(request, body) {
842
+ return request(root, { method: "POST", body });
843
+ }
844
+ function updateComputeDealV2(request, id2, body) {
845
+ return request(dealPath2(id2), { method: "PUT", body });
846
+ }
847
+ function deleteComputeDealV2(request, id2, body) {
848
+ return request(dealPath2(id2), { method: "DELETE", body });
849
+ }
850
+ function getComputeDealModelState(request, signal) {
851
+ return request(`${root}/model-state`, { method: "GET", signal });
852
+ }
853
+ function listComputeDealAllocations(request, id2, signal) {
854
+ return request(`${dealPath2(id2)}/allocations`, {
855
+ method: "GET",
856
+ signal
857
+ });
858
+ }
859
+ function createComputeDealAllocation(request, id2, body) {
860
+ return request(`${dealPath2(id2)}/allocations`, {
861
+ method: "POST",
862
+ body
863
+ });
864
+ }
865
+ function updateComputeDealAllocation(request, id2, allocationId, body) {
866
+ return request(`${dealPath2(id2)}/allocations/${encodeURIComponent(allocationId)}`, {
867
+ method: "PUT",
868
+ body
869
+ });
870
+ }
871
+ function deleteComputeDealAllocation(request, id2, allocationId, body) {
872
+ return request(`${dealPath2(id2)}/allocations/${encodeURIComponent(allocationId)}`, {
873
+ method: "DELETE",
874
+ body
875
+ });
876
+ }
877
+ function listComputeDealPlanningAddOns(request, id2, signal) {
878
+ return request(`${dealPath2(id2)}/planning-add-ons`, {
879
+ method: "GET",
880
+ signal
881
+ });
882
+ }
883
+ function createComputeDealPlanningAddOn(request, id2, body) {
884
+ return request(`${dealPath2(id2)}/planning-add-ons`, {
885
+ method: "POST",
886
+ body
887
+ });
888
+ }
889
+ function updateComputeDealPlanningAddOn(request, id2, addOnId, body) {
890
+ return request(`${dealPath2(id2)}/planning-add-ons/${encodeURIComponent(addOnId)}`, {
891
+ method: "PUT",
892
+ body
893
+ });
894
+ }
895
+ function deleteComputeDealPlanningAddOn(request, id2, addOnId, body) {
896
+ return request(`${dealPath2(id2)}/planning-add-ons/${encodeURIComponent(addOnId)}`, {
897
+ method: "DELETE",
898
+ body
899
+ });
900
+ }
901
+ function listComputeDealVersions(request, id2, input = {}, signal) {
902
+ return request(`${dealPath2(id2)}/versions${queryString(input)}`, {
903
+ method: "GET",
904
+ signal
905
+ });
906
+ }
831
907
  export {
832
908
  activateInferenceWallet,
833
909
  activateReservation,
@@ -844,6 +920,9 @@ export {
844
920
  createComputeContractLine,
845
921
  createComputeDeal,
846
922
  createComputeDealAddOn,
923
+ createComputeDealAllocation,
924
+ createComputeDealPlanningAddOn,
925
+ createComputeDealV2,
847
926
  createContractExtraction,
848
927
  createControlplaneLicense,
849
928
  createCreditAdjustment,
@@ -865,6 +944,9 @@ export {
865
944
  deleteComputeContractLine,
866
945
  deleteComputeDeal,
867
946
  deleteComputeDealAddOn,
947
+ deleteComputeDealAllocation,
948
+ deleteComputeDealPlanningAddOn,
949
+ deleteComputeDealV2,
868
950
  deleteContractExtraction,
869
951
  deleteContractFile,
870
952
  deleteGTMComment,
@@ -884,6 +966,8 @@ export {
884
966
  getCapacityListingSpecPdf,
885
967
  getCommerceOrganization,
886
968
  getComputeContract,
969
+ getComputeDealModelState,
970
+ getComputeDealV2,
887
971
  getContractExtraction,
888
972
  getContractFile,
889
973
  getControlplaneLicense,
@@ -924,7 +1008,11 @@ export {
924
1008
  listComputeContractLines,
925
1009
  listComputeContracts,
926
1010
  listComputeDealAddOns,
1011
+ listComputeDealAllocations,
1012
+ listComputeDealPlanningAddOns,
1013
+ listComputeDealVersions,
927
1014
  listComputeDeals,
1015
+ listComputeDealsV2,
928
1016
  listContractExtractions,
929
1017
  listContractFiles,
930
1018
  listControlplaneLicenses,
@@ -965,6 +1053,9 @@ export {
965
1053
  updateComputeContractLine,
966
1054
  updateComputeDeal,
967
1055
  updateComputeDealAddOn,
1056
+ updateComputeDealAllocation,
1057
+ updateComputeDealPlanningAddOn,
1058
+ updateComputeDealV2,
968
1059
  updateContractExtractionField,
969
1060
  updateDowntime,
970
1061
  updateGTMComment,