'use strict';

var chunkVTHT3PPM_cjs = require('./chunk-VTHT3PPM.cjs');
var z = require('zod');

function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }

var z__default = /*#__PURE__*/_interopDefault(z);

var listMCPClientVersionsQuerySchema = chunkVTHT3PPM_cjs.listVersionsQuerySchema;
var compareMCPClientVersionsQuerySchema = chunkVTHT3PPM_cjs.compareVersionsQuerySchema;
var createMCPClientVersionBodySchema = chunkVTHT3PPM_cjs.createVersionBodySchema;
var mcpClientVersionPathParams = z__default.default.object({
  mcpClientId: z__default.default.string().describe("Unique identifier for the stored MCP client")
});
var mcpClientVersionIdPathParams = z__default.default.object({
  mcpClientId: z__default.default.string().describe("Unique identifier for the stored MCP client"),
  versionId: z__default.default.string().describe("Unique identifier for the version (UUID)")
});
var mcpServerConfigSchema = z__default.default.object({
  type: z__default.default.enum(["stdio", "http"]),
  command: z__default.default.string().optional(),
  args: z__default.default.array(z__default.default.string()).optional(),
  env: z__default.default.record(z__default.default.string(), z__default.default.string()).optional(),
  url: z__default.default.string().optional(),
  timeout: z__default.default.number().optional()
});
var mcpClientVersionSchema = z__default.default.object({
  id: z__default.default.string().describe("Unique identifier for the version (UUID)"),
  mcpClientId: z__default.default.string().describe("ID of the MCP client this version belongs to"),
  versionNumber: z__default.default.number().describe("Sequential version number (1, 2, 3, ...)"),
  // Snapshot config fields
  name: z__default.default.string().describe("Name of the MCP client"),
  description: z__default.default.string().optional().describe("Description of the MCP client"),
  servers: z__default.default.record(z__default.default.string(), mcpServerConfigSchema),
  // Version metadata
  changedFields: z__default.default.array(z__default.default.string()).optional().describe("Array of field names that changed from the previous version"),
  changeMessage: z__default.default.string().optional().describe("Optional message describing the changes"),
  createdAt: z__default.default.coerce.date().describe("When this version was created")
});
var listMCPClientVersionsResponseSchema = chunkVTHT3PPM_cjs.createListVersionsResponseSchema(mcpClientVersionSchema);
var getMCPClientVersionResponseSchema = mcpClientVersionSchema;
var createMCPClientVersionResponseSchema = mcpClientVersionSchema.partial().merge(
  z__default.default.object({
    id: z__default.default.string(),
    mcpClientId: z__default.default.string(),
    versionNumber: z__default.default.number(),
    createdAt: z__default.default.coerce.date()
  })
);
var activateMCPClientVersionResponseSchema = chunkVTHT3PPM_cjs.activateVersionResponseSchema;
var restoreMCPClientVersionResponseSchema = mcpClientVersionSchema;
var deleteMCPClientVersionResponseSchema = chunkVTHT3PPM_cjs.deleteVersionResponseSchema;
var compareMCPClientVersionsResponseSchema = chunkVTHT3PPM_cjs.createCompareVersionsResponseSchema(mcpClientVersionSchema);

exports.activateMCPClientVersionResponseSchema = activateMCPClientVersionResponseSchema;
exports.compareMCPClientVersionsQuerySchema = compareMCPClientVersionsQuerySchema;
exports.compareMCPClientVersionsResponseSchema = compareMCPClientVersionsResponseSchema;
exports.createMCPClientVersionBodySchema = createMCPClientVersionBodySchema;
exports.createMCPClientVersionResponseSchema = createMCPClientVersionResponseSchema;
exports.deleteMCPClientVersionResponseSchema = deleteMCPClientVersionResponseSchema;
exports.getMCPClientVersionResponseSchema = getMCPClientVersionResponseSchema;
exports.listMCPClientVersionsQuerySchema = listMCPClientVersionsQuerySchema;
exports.listMCPClientVersionsResponseSchema = listMCPClientVersionsResponseSchema;
exports.mcpClientVersionIdPathParams = mcpClientVersionIdPathParams;
exports.mcpClientVersionPathParams = mcpClientVersionPathParams;
exports.mcpClientVersionSchema = mcpClientVersionSchema;
exports.restoreMCPClientVersionResponseSchema = restoreMCPClientVersionResponseSchema;
//# sourceMappingURL=chunk-J3SEZ24R.cjs.map
//# sourceMappingURL=chunk-J3SEZ24R.cjs.map