"use strict";
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);
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.AdminNumberPlateModerationDto = exports.UpdateNumberPlateListingStatusDto = exports.MarkNumberPlateSoldDto = exports.NumberPlateMarketplaceQueryDto = exports.UpdateNumberPlateListingDto = exports.CreateNumberPlateListingDto = exports.NumberPlateCarPreviewQueryDto = exports.NumberPlatePreviewQueryDto = exports.NumberPlateType = void 0;
const swagger_1 = require("@nestjs/swagger");
const class_validator_1 = require("class-validator");
const marketplace_listing_status_enum_1 = require("../../common/marketplace/marketplace-listing-status.enum");
var NumberPlateType;
(function (NumberPlateType) {
    NumberPlateType["CAR"] = "car";
    NumberPlateType["BIKE"] = "bike";
    NumberPlateType["PRIVATE"] = "private";
    NumberPlateType["COMMERCIAL"] = "commercial";
})(NumberPlateType || (exports.NumberPlateType = NumberPlateType = {}));
class NumberPlatePreviewQueryDto {
}
exports.NumberPlatePreviewQueryDto = NumberPlatePreviewQueryDto;
__decorate([
    (0, swagger_1.ApiPropertyOptional)({
        example: "car",
        enum: ["car", "bike"],
        description: "Vehicle type. Defaults to car.",
    }),
    (0, class_validator_1.IsOptional)(),
    (0, class_validator_1.IsIn)(["car", "bike"]),
    __metadata("design:type", String)
], NumberPlatePreviewQueryDto.prototype, "vehicleType", void 0);
__decorate([
    (0, swagger_1.ApiProperty)({
        example: "dubai",
        description: "Emirate key, for example: dubai, abu-dhabi, sharjah",
    }),
    (0, class_validator_1.IsString)(),
    (0, class_validator_1.IsNotEmpty)(),
    __metadata("design:type", String)
], NumberPlatePreviewQueryDto.prototype, "emirate", void 0);
__decorate([
    (0, swagger_1.ApiPropertyOptional)({
        example: "classic",
        description: "Plate design. Defaults to normal when omitted.",
    }),
    (0, class_validator_1.IsOptional)(),
    (0, class_validator_1.IsString)(),
    __metadata("design:type", String)
], NumberPlatePreviewQueryDto.prototype, "design", void 0);
__decorate([
    (0, swagger_1.ApiProperty)({
        example: "7",
        description: "Plate code. For cars: letter code (e.g. NOC, A). For bikes: numeric code segment in the plate URL.",
    }),
    (0, class_validator_1.IsString)(),
    (0, class_validator_1.IsNotEmpty)(),
    __metadata("design:type", String)
], NumberPlatePreviewQueryDto.prototype, "code", void 0);
__decorate([
    (0, swagger_1.ApiProperty)({ example: "99899", description: "Plate number" }),
    (0, class_validator_1.IsString)(),
    (0, class_validator_1.IsNotEmpty)(),
    __metadata("design:type", String)
], NumberPlatePreviewQueryDto.prototype, "number", void 0);
__decorate([
    (0, swagger_1.ApiPropertyOptional)({ example: "0", enum: ["0", "1"] }),
    (0, class_validator_1.IsOptional)(),
    (0, class_validator_1.IsIn)(["0", "1"]),
    __metadata("design:type", String)
], NumberPlatePreviewQueryDto.prototype, "flag1", void 0);
__decorate([
    (0, swagger_1.ApiPropertyOptional)({ example: "0", enum: ["0", "1"] }),
    (0, class_validator_1.IsOptional)(),
    (0, class_validator_1.IsIn)(["0", "1"]),
    __metadata("design:type", String)
], NumberPlatePreviewQueryDto.prototype, "flag2", void 0);
__decorate([
    (0, swagger_1.ApiPropertyOptional)({ example: "1200", description: "Preview image width in pixels" }),
    (0, class_validator_1.IsOptional)(),
    (0, class_validator_1.IsString)(),
    __metadata("design:type", String)
], NumberPlatePreviewQueryDto.prototype, "width", void 0);
class NumberPlateCarPreviewQueryDto {
}
exports.NumberPlateCarPreviewQueryDto = NumberPlateCarPreviewQueryDto;
__decorate([
    (0, swagger_1.ApiPropertyOptional)({
        example: "https://xplate.io/en/numbers/images/license-plate/dubai-classic/NOC/99899/0/0/1200",
        description: "Direct plate image URL. When omitted, the plate is built from vehicleType/emirate/code/number.",
    }),
    (0, class_validator_1.IsOptional)(),
    (0, class_validator_1.IsString)(),
    __metadata("design:type", String)
], NumberPlateCarPreviewQueryDto.prototype, "plateImageUrl", void 0);
__decorate([
    (0, swagger_1.ApiPropertyOptional)({
        example: "car",
        enum: ["car", "bike"],
        description: "Vehicle type used to build the plate image URL when plateImageUrl is omitted.",
    }),
    (0, class_validator_1.IsOptional)(),
    (0, class_validator_1.IsIn)(["car", "bike"]),
    __metadata("design:type", String)
], NumberPlateCarPreviewQueryDto.prototype, "vehicleType", void 0);
__decorate([
    (0, swagger_1.ApiPropertyOptional)({ example: "abu-dhabi", description: "Emirate key used to build plate URL." }),
    (0, class_validator_1.IsOptional)(),
    (0, class_validator_1.IsString)(),
    __metadata("design:type", String)
], NumberPlateCarPreviewQueryDto.prototype, "emirate", void 0);
__decorate([
    (0, swagger_1.ApiPropertyOptional)({ example: "normal", description: "Plate design used to build plate URL." }),
    (0, class_validator_1.IsOptional)(),
    (0, class_validator_1.IsString)(),
    __metadata("design:type", String)
], NumberPlateCarPreviewQueryDto.prototype, "design", void 0);
__decorate([
    (0, swagger_1.ApiPropertyOptional)({ example: "7", description: "Plate code used to build plate URL." }),
    (0, class_validator_1.IsOptional)(),
    (0, class_validator_1.IsString)(),
    __metadata("design:type", String)
], NumberPlateCarPreviewQueryDto.prototype, "code", void 0);
__decorate([
    (0, swagger_1.ApiPropertyOptional)({ example: "2131", description: "Plate number used to build plate URL." }),
    (0, class_validator_1.IsOptional)(),
    (0, class_validator_1.IsString)(),
    __metadata("design:type", String)
], NumberPlateCarPreviewQueryDto.prototype, "number", void 0);
__decorate([
    (0, swagger_1.ApiPropertyOptional)({ example: "1200", description: "Plate image width used when building plate URL." }),
    (0, class_validator_1.IsOptional)(),
    (0, class_validator_1.IsString)(),
    __metadata("design:type", String)
], NumberPlateCarPreviewQueryDto.prototype, "width", void 0);
__decorate([
    (0, swagger_1.ApiPropertyOptional)({
        example: "1.01",
        description: "Scale detected plate box slightly before placing the new plate.",
    }),
    (0, class_validator_1.IsOptional)(),
    (0, class_validator_1.IsString)(),
    __metadata("design:type", String)
], NumberPlateCarPreviewQueryDto.prototype, "expandRatio", void 0);
__decorate([
    (0, swagger_1.ApiPropertyOptional)({
        example: "https://api.cars247.ae",
        description: "Base URL used to convert returned /uploads paths to absolute URLs.",
    }),
    (0, class_validator_1.IsOptional)(),
    (0, class_validator_1.IsString)(),
    __metadata("design:type", String)
], NumberPlateCarPreviewQueryDto.prototype, "publicBaseUrl", void 0);
__decorate([
    (0, swagger_1.ApiPropertyOptional)({
        example: "true",
        description: "Draw a red debug box around the detected/applied plate area.",
    }),
    (0, class_validator_1.IsOptional)(),
    (0, class_validator_1.IsString)(),
    __metadata("design:type", String)
], NumberPlateCarPreviewQueryDto.prototype, "drawBox", void 0);
__decorate([
    (0, swagger_1.ApiPropertyOptional)({
        example: "24",
        description: "Move the applied plate box vertically after detection. Positive moves down.",
    }),
    (0, class_validator_1.IsOptional)(),
    (0, class_validator_1.IsString)(),
    __metadata("design:type", String)
], NumberPlateCarPreviewQueryDto.prototype, "offsetY", void 0);
__decorate([
    (0, swagger_1.ApiPropertyOptional)({
        example: "kawasaki",
        description: "Vehicle slug to use for the preview background. Defaults to mercedes-benz-g.",
    }),
    (0, class_validator_1.IsOptional)(),
    (0, class_validator_1.IsString)(),
    __metadata("design:type", String)
], NumberPlateCarPreviewQueryDto.prototype, "carSlug", void 0);
class CreateNumberPlateListingDto {
}
exports.CreateNumberPlateListingDto = CreateNumberPlateListingDto;
__decorate([
    (0, swagger_1.ApiPropertyOptional)({ example: 12, description: "User id of the seller. Falls back to the JWT user." }),
    (0, class_validator_1.IsOptional)(),
    (0, class_validator_1.IsNumber)(),
    __metadata("design:type", Number)
], CreateNumberPlateListingDto.prototype, "sellerUserId", void 0);
__decorate([
    (0, swagger_1.ApiProperty)({ example: "dubai", description: "Emirate key." }),
    (0, class_validator_1.IsString)(),
    (0, class_validator_1.IsNotEmpty)(),
    __metadata("design:type", String)
], CreateNumberPlateListingDto.prototype, "emirate", void 0);
__decorate([
    (0, swagger_1.ApiPropertyOptional)({ example: "classic", description: "Plate design. Defaults to normal." }),
    (0, class_validator_1.IsOptional)(),
    (0, class_validator_1.IsString)(),
    __metadata("design:type", String)
], CreateNumberPlateListingDto.prototype, "design", void 0);
__decorate([
    (0, swagger_1.ApiProperty)({ example: "NOC", description: "Plate code." }),
    (0, class_validator_1.IsString)(),
    (0, class_validator_1.IsNotEmpty)(),
    __metadata("design:type", String)
], CreateNumberPlateListingDto.prototype, "code", void 0);
__decorate([
    (0, swagger_1.ApiProperty)({ example: "99899", description: "Plate number." }),
    (0, class_validator_1.IsString)(),
    (0, class_validator_1.IsNotEmpty)(),
    __metadata("design:type", String)
], CreateNumberPlateListingDto.prototype, "number", void 0);
__decorate([
    (0, swagger_1.ApiPropertyOptional)({ example: 5, description: "Digit count derived from the plate number when omitted." }),
    (0, class_validator_1.IsOptional)(),
    (0, class_validator_1.IsInt)(),
    (0, class_validator_1.Min)(1),
    __metadata("design:type", Number)
], CreateNumberPlateListingDto.prototype, "digitCount", void 0);
__decorate([
    (0, swagger_1.ApiPropertyOptional)({ example: "car", enum: ["car", "bike"], description: "Vehicle type. Determines plate URL format." }),
    (0, class_validator_1.IsOptional)(),
    (0, class_validator_1.IsIn)(["car", "bike"]),
    __metadata("design:type", String)
], CreateNumberPlateListingDto.prototype, "vehicleType", void 0);
__decorate([
    (0, swagger_1.ApiPropertyOptional)({ example: "kawasaki", description: "Vehicle background slug for the preview." }),
    (0, class_validator_1.IsOptional)(),
    (0, class_validator_1.IsString)(),
    __metadata("design:type", String)
], CreateNumberPlateListingDto.prototype, "carSlug", void 0);
__decorate([
    (0, swagger_1.ApiPropertyOptional)({ example: NumberPlateType.BIKE, enum: NumberPlateType, description: "Plate type/category visible in filters." }),
    (0, class_validator_1.IsOptional)(),
    (0, class_validator_1.IsEnum)(NumberPlateType),
    __metadata("design:type", String)
], CreateNumberPlateListingDto.prototype, "plateType", void 0);
__decorate([
    (0, swagger_1.ApiPropertyOptional)({ example: "0", enum: ["0", "1"] }),
    (0, class_validator_1.IsOptional)(),
    (0, class_validator_1.IsIn)(["0", "1"]),
    __metadata("design:type", String)
], CreateNumberPlateListingDto.prototype, "flag1", void 0);
__decorate([
    (0, swagger_1.ApiPropertyOptional)({ example: "0", enum: ["0", "1"] }),
    (0, class_validator_1.IsOptional)(),
    (0, class_validator_1.IsIn)(["0", "1"]),
    __metadata("design:type", String)
], CreateNumberPlateListingDto.prototype, "flag2", void 0);
__decorate([
    (0, swagger_1.ApiProperty)({ example: 25000, description: "Selling price." }),
    (0, class_validator_1.IsNumber)(),
    (0, class_validator_1.IsPositive)(),
    __metadata("design:type", Number)
], CreateNumberPlateListingDto.prototype, "price", void 0);
__decorate([
    (0, swagger_1.ApiPropertyOptional)({ example: true, description: "Whether the seller accepts negotiation." }),
    (0, class_validator_1.IsOptional)(),
    (0, class_validator_1.IsBoolean)(),
    __metadata("design:type", Boolean)
], CreateNumberPlateListingDto.prototype, "isNegotiable", void 0);
__decorate([
    (0, swagger_1.ApiPropertyOptional)({ example: "AED", description: "Currency. Defaults to AED." }),
    (0, class_validator_1.IsOptional)(),
    (0, class_validator_1.IsString)(),
    __metadata("design:type", String)
], CreateNumberPlateListingDto.prototype, "currency", void 0);
__decorate([
    (0, swagger_1.ApiPropertyOptional)({ example: "Special Dubai classic number plate." }),
    (0, class_validator_1.IsOptional)(),
    (0, class_validator_1.IsString)(),
    __metadata("design:type", String)
], CreateNumberPlateListingDto.prototype, "description", void 0);
__decorate([
    (0, swagger_1.ApiPropertyOptional)({ example: "Ahmed" }),
    (0, class_validator_1.IsOptional)(),
    (0, class_validator_1.IsString)(),
    __metadata("design:type", String)
], CreateNumberPlateListingDto.prototype, "sellerName", void 0);
__decorate([
    (0, swagger_1.ApiPropertyOptional)({ example: "+971501234567" }),
    (0, class_validator_1.IsOptional)(),
    (0, class_validator_1.IsString)(),
    __metadata("design:type", String)
], CreateNumberPlateListingDto.prototype, "sellerMobile", void 0);
__decorate([
    (0, swagger_1.ApiPropertyOptional)({ example: "seller@example.com" }),
    (0, class_validator_1.IsOptional)(),
    (0, class_validator_1.IsEmail)(),
    __metadata("design:type", String)
], CreateNumberPlateListingDto.prototype, "sellerEmail", void 0);
__decorate([
    (0, swagger_1.ApiPropertyOptional)({
        example: "/uploads/my-plate.jpg",
        description: "Optional seller-provided plate image.",
    }),
    (0, class_validator_1.IsOptional)(),
    (0, class_validator_1.IsString)(),
    __metadata("design:type", String)
], CreateNumberPlateListingDto.prototype, "uploadedPlateImageUrl", void 0);
__decorate([
    (0, swagger_1.ApiPropertyOptional)({
        example: "https://api.cars247.ae",
        description: "Base URL used when generating front/back car preview URLs.",
    }),
    (0, class_validator_1.IsOptional)(),
    (0, class_validator_1.IsString)(),
    __metadata("design:type", String)
], CreateNumberPlateListingDto.prototype, "publicBaseUrl", void 0);
class UpdateNumberPlateListingDto {
}
exports.UpdateNumberPlateListingDto = UpdateNumberPlateListingDto;
__decorate([
    (0, swagger_1.ApiPropertyOptional)({ example: "dubai" }),
    (0, class_validator_1.IsOptional)(),
    (0, class_validator_1.IsString)(),
    __metadata("design:type", String)
], UpdateNumberPlateListingDto.prototype, "emirate", void 0);
__decorate([
    (0, swagger_1.ApiPropertyOptional)({ example: "classic" }),
    (0, class_validator_1.IsOptional)(),
    (0, class_validator_1.IsString)(),
    __metadata("design:type", String)
], UpdateNumberPlateListingDto.prototype, "design", void 0);
__decorate([
    (0, swagger_1.ApiPropertyOptional)({ example: "NOC" }),
    (0, class_validator_1.IsOptional)(),
    (0, class_validator_1.IsString)(),
    __metadata("design:type", String)
], UpdateNumberPlateListingDto.prototype, "code", void 0);
__decorate([
    (0, swagger_1.ApiPropertyOptional)({ example: "99899" }),
    (0, class_validator_1.IsOptional)(),
    (0, class_validator_1.IsString)(),
    __metadata("design:type", String)
], UpdateNumberPlateListingDto.prototype, "number", void 0);
__decorate([
    (0, swagger_1.ApiPropertyOptional)({ example: 5 }),
    (0, class_validator_1.IsOptional)(),
    (0, class_validator_1.IsInt)(),
    (0, class_validator_1.Min)(1),
    __metadata("design:type", Number)
], UpdateNumberPlateListingDto.prototype, "digitCount", void 0);
__decorate([
    (0, swagger_1.ApiPropertyOptional)({ example: "car", enum: ["car", "bike"] }),
    (0, class_validator_1.IsOptional)(),
    (0, class_validator_1.IsIn)(["car", "bike"]),
    __metadata("design:type", String)
], UpdateNumberPlateListingDto.prototype, "vehicleType", void 0);
__decorate([
    (0, swagger_1.ApiPropertyOptional)({ example: "kawasaki" }),
    (0, class_validator_1.IsOptional)(),
    (0, class_validator_1.IsString)(),
    __metadata("design:type", String)
], UpdateNumberPlateListingDto.prototype, "carSlug", void 0);
__decorate([
    (0, swagger_1.ApiPropertyOptional)({ example: NumberPlateType.BIKE, enum: NumberPlateType }),
    (0, class_validator_1.IsOptional)(),
    (0, class_validator_1.IsEnum)(NumberPlateType),
    __metadata("design:type", String)
], UpdateNumberPlateListingDto.prototype, "plateType", void 0);
__decorate([
    (0, swagger_1.ApiPropertyOptional)({ example: "0", enum: ["0", "1"] }),
    (0, class_validator_1.IsOptional)(),
    (0, class_validator_1.IsIn)(["0", "1"]),
    __metadata("design:type", String)
], UpdateNumberPlateListingDto.prototype, "flag1", void 0);
__decorate([
    (0, swagger_1.ApiPropertyOptional)({ example: "0", enum: ["0", "1"] }),
    (0, class_validator_1.IsOptional)(),
    (0, class_validator_1.IsIn)(["0", "1"]),
    __metadata("design:type", String)
], UpdateNumberPlateListingDto.prototype, "flag2", void 0);
__decorate([
    (0, swagger_1.ApiPropertyOptional)({ example: 25000 }),
    (0, class_validator_1.IsOptional)(),
    (0, class_validator_1.IsNumber)(),
    (0, class_validator_1.IsPositive)(),
    __metadata("design:type", Number)
], UpdateNumberPlateListingDto.prototype, "price", void 0);
__decorate([
    (0, swagger_1.ApiPropertyOptional)({ example: "AED" }),
    (0, class_validator_1.IsOptional)(),
    (0, class_validator_1.IsString)(),
    __metadata("design:type", String)
], UpdateNumberPlateListingDto.prototype, "currency", void 0);
__decorate([
    (0, swagger_1.ApiPropertyOptional)({ example: true }),
    (0, class_validator_1.IsOptional)(),
    (0, class_validator_1.IsBoolean)(),
    __metadata("design:type", Boolean)
], UpdateNumberPlateListingDto.prototype, "isNegotiable", void 0);
__decorate([
    (0, swagger_1.ApiPropertyOptional)({ example: "Special Dubai classic number plate." }),
    (0, class_validator_1.IsOptional)(),
    (0, class_validator_1.IsString)(),
    __metadata("design:type", String)
], UpdateNumberPlateListingDto.prototype, "description", void 0);
__decorate([
    (0, swagger_1.ApiPropertyOptional)({ example: "Ahmed" }),
    (0, class_validator_1.IsOptional)(),
    (0, class_validator_1.IsString)(),
    __metadata("design:type", String)
], UpdateNumberPlateListingDto.prototype, "sellerName", void 0);
__decorate([
    (0, swagger_1.ApiPropertyOptional)({ example: "+971501234567" }),
    (0, class_validator_1.IsOptional)(),
    (0, class_validator_1.IsString)(),
    __metadata("design:type", String)
], UpdateNumberPlateListingDto.prototype, "sellerMobile", void 0);
__decorate([
    (0, swagger_1.ApiPropertyOptional)({ example: "seller@example.com" }),
    (0, class_validator_1.IsOptional)(),
    (0, class_validator_1.IsEmail)(),
    __metadata("design:type", String)
], UpdateNumberPlateListingDto.prototype, "sellerEmail", void 0);
__decorate([
    (0, swagger_1.ApiPropertyOptional)({ example: "/uploads/my-plate.jpg" }),
    (0, class_validator_1.IsOptional)(),
    (0, class_validator_1.IsString)(),
    __metadata("design:type", String)
], UpdateNumberPlateListingDto.prototype, "uploadedPlateImageUrl", void 0);
__decorate([
    (0, swagger_1.ApiPropertyOptional)({ example: "https://api.cars247.ae" }),
    (0, class_validator_1.IsOptional)(),
    (0, class_validator_1.IsString)(),
    __metadata("design:type", String)
], UpdateNumberPlateListingDto.prototype, "publicBaseUrl", void 0);
class NumberPlateMarketplaceQueryDto {
}
exports.NumberPlateMarketplaceQueryDto = NumberPlateMarketplaceQueryDto;
__decorate([
    (0, swagger_1.ApiPropertyOptional)({ example: "dubai" }),
    (0, class_validator_1.IsOptional)(),
    (0, class_validator_1.IsString)(),
    __metadata("design:type", String)
], NumberPlateMarketplaceQueryDto.prototype, "emirate", void 0);
__decorate([
    (0, swagger_1.ApiPropertyOptional)({ example: "1000" }),
    (0, class_validator_1.IsOptional)(),
    (0, class_validator_1.IsString)(),
    __metadata("design:type", String)
], NumberPlateMarketplaceQueryDto.prototype, "minPrice", void 0);
__decorate([
    (0, swagger_1.ApiPropertyOptional)({ example: "50000" }),
    (0, class_validator_1.IsOptional)(),
    (0, class_validator_1.IsString)(),
    __metadata("design:type", String)
], NumberPlateMarketplaceQueryDto.prototype, "maxPrice", void 0);
__decorate([
    (0, swagger_1.ApiPropertyOptional)({ example: "active" }),
    (0, class_validator_1.IsOptional)(),
    (0, class_validator_1.IsEnum)(marketplace_listing_status_enum_1.MarketplaceListingStatus),
    __metadata("design:type", String)
], NumberPlateMarketplaceQueryDto.prototype, "status", void 0);
__decorate([
    (0, swagger_1.ApiPropertyOptional)({ example: "NOC" }),
    (0, class_validator_1.IsOptional)(),
    (0, class_validator_1.IsString)(),
    __metadata("design:type", String)
], NumberPlateMarketplaceQueryDto.prototype, "code", void 0);
__decorate([
    (0, swagger_1.ApiPropertyOptional)({ example: 5 }),
    (0, class_validator_1.IsOptional)(),
    (0, class_validator_1.IsInt)(),
    (0, class_validator_1.Min)(1),
    __metadata("design:type", Number)
], NumberPlateMarketplaceQueryDto.prototype, "digitCount", void 0);
__decorate([
    (0, swagger_1.ApiPropertyOptional)({ example: NumberPlateType.BIKE, enum: NumberPlateType }),
    (0, class_validator_1.IsOptional)(),
    (0, class_validator_1.IsEnum)(NumberPlateType),
    __metadata("design:type", String)
], NumberPlateMarketplaceQueryDto.prototype, "plateType", void 0);
class MarkNumberPlateSoldDto {
}
exports.MarkNumberPlateSoldDto = MarkNumberPlateSoldDto;
__decorate([
    (0, swagger_1.ApiPropertyOptional)({ example: 12, description: "Seller user id to verify ownership." }),
    (0, class_validator_1.IsOptional)(),
    (0, class_validator_1.IsNumber)(),
    __metadata("design:type", Number)
], MarkNumberPlateSoldDto.prototype, "sellerUserId", void 0);
class UpdateNumberPlateListingStatusDto {
}
exports.UpdateNumberPlateListingStatusDto = UpdateNumberPlateListingStatusDto;
__decorate([
    (0, swagger_1.ApiProperty)({ enum: marketplace_listing_status_enum_1.MarketplaceListingStatus }),
    (0, class_validator_1.IsEnum)(marketplace_listing_status_enum_1.MarketplaceListingStatus),
    __metadata("design:type", String)
], UpdateNumberPlateListingStatusDto.prototype, "status", void 0);
class AdminNumberPlateModerationDto {
}
exports.AdminNumberPlateModerationDto = AdminNumberPlateModerationDto;
__decorate([
    (0, swagger_1.ApiPropertyOptional)({ enum: marketplace_listing_status_enum_1.MarketplaceListingStatus }),
    (0, class_validator_1.IsOptional)(),
    (0, class_validator_1.IsEnum)(marketplace_listing_status_enum_1.MarketplaceListingStatus),
    __metadata("design:type", String)
], AdminNumberPlateModerationDto.prototype, "status", void 0);
__decorate([
    (0, swagger_1.ApiPropertyOptional)({ example: true }),
    (0, class_validator_1.IsOptional)(),
    (0, class_validator_1.IsBoolean)(),
    __metadata("design:type", Boolean)
], AdminNumberPlateModerationDto.prototype, "isVisible", void 0);
__decorate([
    (0, swagger_1.ApiPropertyOptional)({ example: 45 }),
    (0, class_validator_1.IsOptional)(),
    (0, class_validator_1.IsInt)(),
    (0, class_validator_1.Min)(1),
    __metadata("design:type", Number)
], AdminNumberPlateModerationDto.prototype, "validityDays", void 0);
__decorate([
    (0, swagger_1.ApiPropertyOptional)({ example: "Missing proof of ownership." }),
    (0, class_validator_1.IsOptional)(),
    (0, class_validator_1.IsString)(),
    __metadata("design:type", String)
], AdminNumberPlateModerationDto.prototype, "rejectionReason", void 0);
//# sourceMappingURL=numberplate.dto.js.map