Variable GetVotingRecordsSchemaConst
GetVotingRecordsSchema: ZodObject<
{
dateFrom: ZodOptional<ZodString>;
dateTo: ZodOptional<ZodString>;
limit: ZodDefault<ZodNumber>;
offset: ZodDefault<ZodNumber>;
sessionId: ZodOptional<ZodString>;
topic: ZodOptional<ZodString>;
},
$strict,
> = ...
Get voting records input schema.
Marked
.strict()to reject unknown/removed parameters (e.g. the deprecatedmepIdfield, which was removed because the EP API does not expose individual MEP votes). Clients passing such fields receive a clear validation error instead of having them silently stripped.