"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.UPDATE_FLEET_SCALING_POLICY = exports.OPTIMIZE_FLEET_RESOURCES = exports.DELETE_AGENT_FLEET = exports.UPDATE_AGENT_FLEET = exports.CREATE_AGENT_FLEET = void 0;
const client_1 = require("@apollo/client");
// ... existing code ...
exports.CREATE_AGENT_FLEET = (0, client_1.gql) `
  mutation CreateAgentFleet($input: CreateAgentFleetInput!) {
    createAgentFleet(input: $input) {
      id
      name
      description
      status
      agents {
        id
        name
        status
      }
      metadata
      created
      updated
    }
  }
`;
exports.UPDATE_AGENT_FLEET = (0, client_1.gql) `
  mutation UpdateAgentFleet($id: ID!, $input: UpdateAgentFleetInput!) {
    updateAgentFleet(id: $id, input: $input) {
      id
      name
      description
      status
      agents {
        id
        name
        status
      }
      metadata
      updated
    }
  }
`;
exports.DELETE_AGENT_FLEET = (0, client_1.gql) `
  mutation DeleteAgentFleet($id: ID!) {
    deleteAgentFleet(id: $id)
  }
`;
exports.OPTIMIZE_FLEET_RESOURCES = (0, client_1.gql) `
  mutation OptimizeFleetResources($fleetId: ID!, $strategy: OptimizationStrategy!) {
    optimizeFleetResources(fleetId: $fleetId, strategy: $strategy) {
      id
      status
      optimizationId
      estimatedCompletion
      affectedAgents
      potentialSavings
    }
  }
`;
exports.UPDATE_FLEET_SCALING_POLICY = (0, client_1.gql) `
  mutation UpdateFleetScalingPolicy($fleetId: ID!, $policy: ScalingPolicyInput!) {
    updateFleetScalingPolicy(fleetId: $fleetId, policy: $policy) {
      id
      enabled
      strategy
      minAgents
      maxAgents
      targetCpuUtilization
      targetMemoryUtilization
      cooldownPeriod
      updated
    }
  }
`;
//# sourceMappingURL=mutations.js.map