'use strict';

var chunkZYXDUS6Q_cjs = require('./chunk-ZYXDUS6Q.cjs');
var z = require('zod');

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

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

var scoringSamplingConfigSchema = z__default.default.object({});
var mastraScorerConfigSchema = z__default.default.object({
  id: z__default.default.string(),
  name: z__default.default.string().optional(),
  description: z__default.default.string(),
  type: z__default.default.unknown().optional(),
  judge: z__default.default.unknown().optional()
});
var mastraScorerSchema = z__default.default.object({
  config: mastraScorerConfigSchema
});
var scorerEntrySchema = z__default.default.object({
  scorer: mastraScorerSchema,
  sampling: scoringSamplingConfigSchema.optional(),
  agentIds: z__default.default.array(z__default.default.string()),
  agentNames: z__default.default.array(z__default.default.string()),
  workflowIds: z__default.default.array(z__default.default.string()),
  isRegistered: z__default.default.boolean()
});
var listScorersResponseSchema = z__default.default.record(z__default.default.string(), scorerEntrySchema);
var scorerIdPathParams = z__default.default.object({
  scorerId: z__default.default.string().describe("Unique identifier for the scorer")
});
var entityPathParams = z__default.default.object({
  entityType: z__default.default.string().describe("Type of the entity (AGENT or WORKFLOW)"),
  entityId: z__default.default.string().describe("Unique identifier for the entity")
});
var listScoresByRunIdQuerySchema = z__default.default.object({
  page: z__default.default.coerce.number().optional().default(0),
  perPage: z__default.default.coerce.number().optional().default(10)
});
var listScoresByScorerIdQuerySchema = z__default.default.object({
  page: z__default.default.coerce.number().optional().default(0),
  perPage: z__default.default.coerce.number().optional().default(10),
  entityId: z__default.default.string().optional(),
  entityType: z__default.default.string().optional()
});
var listScoresByEntityIdQuerySchema = z__default.default.object({
  page: z__default.default.coerce.number().optional().default(0),
  perPage: z__default.default.coerce.number().optional().default(10)
});
var saveScoreBodySchema = z__default.default.object({
  score: z__default.default.unknown()
  // ScoreRowData - complex type
});
var scoresWithPaginationResponseSchema = z__default.default.object({
  pagination: chunkZYXDUS6Q_cjs.paginationInfoSchema,
  scores: z__default.default.array(z__default.default.unknown())
  // Array of score records
});
var saveScoreResponseSchema = z__default.default.object({
  score: z__default.default.unknown()
  // ScoreRowData
});

exports.entityPathParams = entityPathParams;
exports.listScorersResponseSchema = listScorersResponseSchema;
exports.listScoresByEntityIdQuerySchema = listScoresByEntityIdQuerySchema;
exports.listScoresByRunIdQuerySchema = listScoresByRunIdQuerySchema;
exports.listScoresByScorerIdQuerySchema = listScoresByScorerIdQuerySchema;
exports.saveScoreBodySchema = saveScoreBodySchema;
exports.saveScoreResponseSchema = saveScoreResponseSchema;
exports.scorerEntrySchema = scorerEntrySchema;
exports.scorerIdPathParams = scorerIdPathParams;
exports.scoresWithPaginationResponseSchema = scoresWithPaginationResponseSchema;
//# sourceMappingURL=chunk-7D3YBNO6.cjs.map
//# sourceMappingURL=chunk-7D3YBNO6.cjs.map