var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
    if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
    return c > 3 && r && Object.defineProperty(target, key, r), r;
};
var __metadata = (this && this.__metadata) || function (k, v) {
    if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
};
import { IsNumber, IsOptional, IsPositive, IsString, Min } from 'class-validator';
import { JSONSchema } from 'class-validator-jsonschema';
export class FilterDto {
}
__decorate([
    IsOptional(),
    IsNumber(),
    JSONSchema({ description: 'Filter events by block height', example: 19000000 }),
    __metadata("design:type", Number)
], FilterDto.prototype, "blockHeight", void 0);
__decorate([
    IsOptional(),
    IsNumber(),
    JSONSchema({ description: 'Filter events by version number', example: 5 }),
    __metadata("design:type", Number)
], FilterDto.prototype, "version", void 0);
__decorate([
    IsOptional(),
    IsString(),
    JSONSchema({ description: 'Filter events by status', example: 'PUBLISHED' }),
    __metadata("design:type", String)
], FilterDto.prototype, "status", void 0);
export class PaginationDto {
}
__decorate([
    IsOptional(),
    IsNumber(),
    IsPositive(),
    JSONSchema({ description: 'Number of items to return', default: 10, example: 10, minimum: 1, maximum: 1000 }),
    __metadata("design:type", Number)
], PaginationDto.prototype, "limit", void 0);
__decorate([
    IsOptional(),
    IsNumber(),
    Min(0),
    JSONSchema({ description: 'Number of items to skip', default: 0, example: 0, minimum: 0 }),
    __metadata("design:type", Number)
], PaginationDto.prototype, "offset", void 0);
