"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.CreateProductRequestDto = void 0;
const swagger_1 = require("@nestjs/swagger");
const class_validator_1 = require("class-validator");
class CreateProductRequestDto {
}
exports.CreateProductRequestDto = CreateProductRequestDto;
__decorate([
    (0, swagger_1.ApiProperty)({
        example: "1",
        description: "Shop id",
    }),
    (0, class_validator_1.IsOptional)(),
    (0, class_validator_1.IsNumber)(),
    __metadata("design:type", Number)
], CreateProductRequestDto.prototype, "shopId", void 0);
__decorate([
    (0, swagger_1.ApiProperty)({
        example: "Test product request",
        description: "Title of request",
    }),
    (0, class_validator_1.IsString)(),
    (0, class_validator_1.IsNotEmpty)(),
    __metadata("design:type", String)
], CreateProductRequestDto.prototype, "title", void 0);
__decorate([
    (0, swagger_1.ApiProperty)({
        example: "Test brand",
        description: "brand of vehicle",
    }),
    (0, class_validator_1.IsString)(),
    (0, class_validator_1.IsNotEmpty)(),
    __metadata("design:type", String)
], CreateProductRequestDto.prototype, "vehicleBrand", void 0);
__decorate([
    (0, swagger_1.ApiProperty)({
        example: "model",
        description: "Model of vehicle",
    }),
    (0, class_validator_1.IsString)(),
    (0, class_validator_1.IsNotEmpty)(),
    __metadata("design:type", String)
], CreateProductRequestDto.prototype, "vehicleModel", void 0);
__decorate([
    (0, swagger_1.ApiProperty)({
        example: "Test description",
        description: "Description",
    }),
    (0, class_validator_1.IsOptional)(),
    (0, class_validator_1.IsString)(),
    __metadata("design:type", String)
], CreateProductRequestDto.prototype, "description", void 0);
__decorate([
    (0, swagger_1.ApiProperty)({
        example: "Test user",
        description: "Customer name",
    }),
    (0, class_validator_1.IsOptional)(),
    (0, class_validator_1.IsString)(),
    __metadata("design:type", String)
], CreateProductRequestDto.prototype, "customerName", void 0);
__decorate([
    (0, swagger_1.ApiProperty)({
        example: "test@gmail.com",
        description: "Customer name",
    }),
    (0, class_validator_1.IsOptional)(),
    (0, class_validator_1.IsString)(),
    __metadata("design:type", String)
], CreateProductRequestDto.prototype, "email", void 0);
__decorate([
    (0, swagger_1.ApiProperty)({
        example: "8787876666",
        description: "Customer mobile",
    }),
    (0, class_validator_1.IsOptional)(),
    (0, class_validator_1.IsString)(),
    __metadata("design:type", String)
], CreateProductRequestDto.prototype, "mobile", void 0);
__decorate([
    (0, swagger_1.ApiProperty)({
        example: "whatsapp",
        description: "Responsed method",
    }),
    (0, class_validator_1.IsOptional)(),
    (0, class_validator_1.IsString)(),
    __metadata("design:type", String)
], CreateProductRequestDto.prototype, "responsedMethod", void 0);
__decorate([
    (0, swagger_1.ApiProperty)({
        example: '[{url: "/uploads/1737908483432-191594184.png"}, {url: "/uploads/1737908497551-872762540.png"}]',
        description: "Base Image of shop",
    }),
    (0, class_validator_1.IsOptional)(),
    (0, class_validator_1.IsString)(),
    __metadata("design:type", String)
], CreateProductRequestDto.prototype, "galleries", void 0);
__decorate([
    (0, swagger_1.ApiProperty)({
        example: ["New", "Used"],
        description: "Product condition. Possible values: 'New', 'Used'",
        required: false,
        isArray: true,
        type: String,
    }),
    (0, class_validator_1.IsOptional)(),
    (0, class_validator_1.IsArray)(),
    (0, class_validator_1.IsString)({ each: true }),
    __metadata("design:type", Array)
], CreateProductRequestDto.prototype, "condition", void 0);
__decorate([
    (0, swagger_1.ApiProperty)({
        example: ["Dubai", "Sharjah"],
        description: "Preferred UAE emirates. Possible values: 'Abu Dhabi', 'Dubai', 'Sharjah', 'Ajman', 'Umm Al Quwain', 'Ras Al Khaimah', 'Fujairah'",
        required: false,
        isArray: true,
        type: String,
    }),
    (0, class_validator_1.IsOptional)(),
    (0, class_validator_1.IsArray)(),
    (0, class_validator_1.IsString)({ each: true }),
    __metadata("design:type", Array)
], CreateProductRequestDto.prototype, "preferredEmirates", void 0);
__decorate([
    (0, swagger_1.ApiProperty)({
        example: true,
        description: "Whether a tire service is requested (applicable for car spare parts category)",
        required: false,
    }),
    (0, class_validator_1.IsOptional)(),
    (0, class_validator_1.IsBoolean)(),
    __metadata("design:type", Boolean)
], CreateProductRequestDto.prototype, "tireServiceRequested", void 0);
//# sourceMappingURL=productrequest.dto.js.map