@ornncompute/cli 1.0.174 → 1.0.175

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.174",
3
+ "version": "1.0.175",
4
4
  "description": "Command-line interface for Ornn compute access workflows.",
5
5
  "type": "module",
6
6
  "bin": {
@@ -499,6 +499,18 @@ function getCustomerServicingProfile(request, organizationId, signal) {
499
499
  function saveServicingRequirement(request, organizationId, id, body) {
500
500
  return request(`/v1/orchestrator/customer-profiles/${encodeURIComponent(organizationId)}/requirements/${encodeURIComponent(id)}`, { method: "PUT", body });
501
501
  }
502
+ function listServicingRequirements(request, query = {}, signal) {
503
+ const params = new URLSearchParams();
504
+ if (query.q)
505
+ params.set("q", query.q);
506
+ if (query.offset)
507
+ params.set("offset", String(query.offset));
508
+ const suffix = params.size ? `?${params}` : "";
509
+ return request(`/v1/orchestrator/customer-profiles${suffix}`, {
510
+ method: "GET",
511
+ signal
512
+ });
513
+ }
502
514
 
503
515
  // ../../packages/api-client/dist/orchestrator/maintenance-history.js
504
516
  function listMaintenanceHistory(request, filter = {}, signal) {
@@ -1105,6 +1117,7 @@ export {
1105
1117
  listReservationNodeRollout,
1106
1118
  listReservationSshKeys,
1107
1119
  listReservationVirtualMachines,
1120
+ listServicingRequirements,
1108
1121
  listSshBastions,
1109
1122
  listStaffNodeVirtualMachines,
1110
1123
  listStaffNodes,