"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.UpdateShopDto = exports.CreateShopDto = void 0;
const swagger_1 = require("@nestjs/swagger");
const class_validator_1 = require("class-validator");
const status_enum_1 = require("../../common/columntype/status.enum");
const service_dto_1 = require("../service/service.dto");
const shopcontact_dto_1 = require("../shopcontact/shopcontact.dto");
class CreateShopDto {
}
exports.CreateShopDto = CreateShopDto;
__decorate([
    (0, swagger_1.ApiProperty)({
        example: "Test Shop",
        description: "Name of Shop in English",
    }),
    (0, class_validator_1.IsString)(),
    (0, class_validator_1.IsNotEmpty)(),
    __metadata("design:type", String)
], CreateShopDto.prototype, "name", void 0);
__decorate([
    (0, swagger_1.ApiProperty)({
        example: "ٹیسٹ شاپ",
        description: "Name of Shop in Urdu",
    }),
    (0, class_validator_1.IsString)(),
    (0, class_validator_1.IsNotEmpty)(),
    __metadata("design:type", String)
], CreateShopDto.prototype, "name_urd", void 0);
__decorate([
    (0, swagger_1.ApiProperty)({
        example: "متجر الاختبار",
        description: "Name of Shop in Arbic",
    }),
    (0, class_validator_1.IsString)(),
    (0, class_validator_1.IsNotEmpty)(),
    __metadata("design:type", String)
], CreateShopDto.prototype, "name_ar", void 0);
__decorate([
    (0, swagger_1.ApiProperty)({ description: 'Slug of the shop', example: 'test-shop', required: false }),
    (0, class_validator_1.IsOptional)(),
    (0, class_validator_1.IsString)(),
    __metadata("design:type", String)
], CreateShopDto.prototype, "slug", void 0);
__decorate([
    (0, swagger_1.ApiProperty)({
        example: "1",
        description: "Category id",
    }),
    (0, class_validator_1.IsOptional)(),
    (0, class_validator_1.IsNumber)(),
    __metadata("design:type", Number)
], CreateShopDto.prototype, "categoryId", void 0);
__decorate([
    (0, swagger_1.ApiProperty)({
        example: "3",
        description: "Vendor id",
    }),
    (0, class_validator_1.IsOptional)(),
    (0, class_validator_1.IsNumber)(),
    __metadata("design:type", Number)
], CreateShopDto.prototype, "userId", void 0);
__decorate([
    (0, swagger_1.ApiProperty)({
        example: "New ashok nager , new delhi",
        description: "Address of shop",
    }),
    (0, class_validator_1.IsOptional)(),
    (0, class_validator_1.IsString)(),
    __metadata("design:type", String)
], CreateShopDto.prototype, "address", void 0);
__decorate([
    (0, swagger_1.ApiProperty)({
        example: "نیو اشوک نگر، نئی دہلی",
        description: "Address of shop",
    }),
    (0, class_validator_1.IsOptional)(),
    (0, class_validator_1.IsString)(),
    __metadata("design:type", String)
], CreateShopDto.prototype, "address_urd", void 0);
__decorate([
    (0, swagger_1.ApiProperty)({
        example: "نيو اشوك ناجار، نيودلهي",
        description: "Address of shop",
    }),
    (0, class_validator_1.IsOptional)(),
    (0, class_validator_1.IsString)(),
    __metadata("design:type", String)
], CreateShopDto.prototype, "address_ar", void 0);
__decorate([
    (0, swagger_1.ApiProperty)({
        example: "New ashok nager , new delhi",
        description: "Address of shop",
    }),
    (0, class_validator_1.IsOptional)(),
    (0, class_validator_1.IsString)(),
    __metadata("design:type", String)
], CreateShopDto.prototype, "map_address", void 0);
__decorate([
    (0, swagger_1.ApiProperty)({
        example: "28.5930",
        description: "Latitude of shop",
    }),
    (0, class_validator_1.IsOptional)(),
    (0, class_validator_1.IsString)(),
    __metadata("design:type", String)
], CreateShopDto.prototype, "latitude", void 0);
__decorate([
    (0, swagger_1.ApiProperty)({
        example: "77.3052",
        description: "Longitude of shop",
    }),
    (0, class_validator_1.IsOptional)(),
    (0, class_validator_1.IsString)(),
    __metadata("design:type", String)
], CreateShopDto.prototype, "longitude", void 0);
__decorate([
    (0, swagger_1.ApiProperty)({
        example: "test shop for all services",
        description: "Description of shop",
    }),
    (0, class_validator_1.IsOptional)(),
    (0, class_validator_1.IsString)(),
    __metadata("design:type", String)
], CreateShopDto.prototype, "description", void 0);
__decorate([
    (0, swagger_1.ApiProperty)({
        example: "تمام خدمات کے لیے ٹیسٹ شاپ",
        description: "Description of shop",
    }),
    (0, class_validator_1.IsOptional)(),
    (0, class_validator_1.IsString)(),
    __metadata("design:type", String)
], CreateShopDto.prototype, "description_urd", void 0);
__decorate([
    (0, swagger_1.ApiProperty)({
        example: "متجر اختبار لجميع الخدمات",
        description: "Description of shop",
    }),
    (0, class_validator_1.IsOptional)(),
    (0, class_validator_1.IsString)(),
    __metadata("design:type", String)
], CreateShopDto.prototype, "description_ar", void 0);
__decorate([
    (0, swagger_1.ApiProperty)({
        example: "0",
        description: "Set to featured",
    }),
    (0, class_validator_1.IsOptional)(),
    (0, class_validator_1.IsNumber)(),
    __metadata("design:type", Number)
], CreateShopDto.prototype, "is_featured", void 0);
__decorate([
    (0, swagger_1.ApiProperty)({
        example: "0",
        description: "Set to top quick response",
    }),
    (0, class_validator_1.IsOptional)(),
    (0, class_validator_1.IsNumber)(),
    __metadata("design:type", Number)
], CreateShopDto.prototype, "quick_response", void 0);
__decorate([
    (0, swagger_1.ApiProperty)({
        example: "+7",
        description: "Business year",
    }),
    (0, class_validator_1.IsOptional)(),
    (0, class_validator_1.IsString)(),
    __metadata("design:type", String)
], CreateShopDto.prototype, "business_year", void 0);
__decorate([
    (0, swagger_1.ApiProperty)({
        example: "trending",
        description: "shop featured",
    }),
    (0, class_validator_1.IsOptional)(),
    (0, class_validator_1.IsString)(),
    __metadata("design:type", String)
], CreateShopDto.prototype, "shop_featured", void 0);
__decorate([
    (0, swagger_1.ApiProperty)({
        example: "/uploads/1736441717156-19968207.png",
        description: "Logo of shop",
    }),
    (0, class_validator_1.IsOptional)(),
    (0, class_validator_1.IsString)(),
    __metadata("design:type", String)
], CreateShopDto.prototype, "logo", void 0);
__decorate([
    (0, swagger_1.ApiProperty)({
        example: "/uploads/1736441717156-19968207.png",
        description: "Video of shop",
    }),
    (0, class_validator_1.IsOptional)(),
    (0, class_validator_1.IsString)(),
    __metadata("design:type", String)
], CreateShopDto.prototype, "video", void 0);
__decorate([
    (0, swagger_1.ApiProperty)({
        example: "/uploads/1736441717156-19968207.png",
        description: "Base Image of shop",
    }),
    (0, class_validator_1.IsOptional)(),
    (0, class_validator_1.IsString)(),
    __metadata("design:type", String)
], CreateShopDto.prototype, "image", 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)
], CreateShopDto.prototype, "galleries", void 0);
__decorate([
    (0, swagger_1.ApiProperty)({ enum: status_enum_1.Status, example: status_enum_1.Status.ACTIVE }),
    (0, class_validator_1.IsEnum)(status_enum_1.Status, { message: "Status must be one of: active, inactive" }),
    __metadata("design:type", String)
], CreateShopDto.prototype, "status", void 0);
__decorate([
    (0, swagger_1.ApiProperty)({
        description: 'List of services offered by the shop',
        type: [service_dto_1.CreateServiceDto],
    }),
    __metadata("design:type", Array)
], CreateShopDto.prototype, "services", void 0);
__decorate([
    (0, swagger_1.ApiProperty)({
        description: 'Contact of shop',
        type: shopcontact_dto_1.CreateShopContactDto,
    }),
    __metadata("design:type", shopcontact_dto_1.CreateShopContactDto)
], CreateShopDto.prototype, "contact", void 0);
class UpdateShopDto {
}
exports.UpdateShopDto = UpdateShopDto;
__decorate([
    (0, swagger_1.ApiProperty)({
        example: "Test Shop",
        description: "Name of Shop in English",
    }),
    (0, class_validator_1.IsString)(),
    (0, class_validator_1.IsNotEmpty)(),
    __metadata("design:type", String)
], UpdateShopDto.prototype, "name", void 0);
__decorate([
    (0, swagger_1.ApiProperty)({
        example: "ٹیسٹ شاپ",
        description: "Name of Shop in Urdu",
    }),
    (0, class_validator_1.IsString)(),
    (0, class_validator_1.IsNotEmpty)(),
    __metadata("design:type", String)
], UpdateShopDto.prototype, "name_urd", void 0);
__decorate([
    (0, swagger_1.ApiProperty)({
        example: "متجر الاختبار",
        description: "Name of Shop in Arbic",
    }),
    (0, class_validator_1.IsString)(),
    (0, class_validator_1.IsNotEmpty)(),
    __metadata("design:type", String)
], UpdateShopDto.prototype, "name_ar", void 0);
__decorate([
    (0, swagger_1.ApiProperty)({ description: 'Slug of the shop', example: 'test-shop', required: false }),
    (0, class_validator_1.IsOptional)(),
    (0, class_validator_1.IsString)(),
    __metadata("design:type", String)
], UpdateShopDto.prototype, "slug", void 0);
__decorate([
    (0, swagger_1.ApiProperty)({
        example: "1",
        description: "Category id",
    }),
    (0, class_validator_1.IsOptional)(),
    (0, class_validator_1.IsNumber)(),
    __metadata("design:type", Number)
], UpdateShopDto.prototype, "categoryId", void 0);
__decorate([
    (0, swagger_1.ApiProperty)({
        example: "3",
        description: "Vendor id",
    }),
    (0, class_validator_1.IsOptional)(),
    (0, class_validator_1.IsNumber)(),
    __metadata("design:type", Number)
], UpdateShopDto.prototype, "userId", void 0);
__decorate([
    (0, swagger_1.ApiProperty)({
        example: "New ashok nager , new delhi",
        description: "Address of shop",
    }),
    (0, class_validator_1.IsOptional)(),
    (0, class_validator_1.IsString)(),
    __metadata("design:type", String)
], UpdateShopDto.prototype, "address", void 0);
__decorate([
    (0, swagger_1.ApiProperty)({
        example: "نیو اشوک نگر، نئی دہلی",
        description: "Address of shop",
    }),
    (0, class_validator_1.IsOptional)(),
    (0, class_validator_1.IsString)(),
    __metadata("design:type", String)
], UpdateShopDto.prototype, "address_urd", void 0);
__decorate([
    (0, swagger_1.ApiProperty)({
        example: "نيو اشوك ناجار، نيودلهي",
        description: "Address of shop",
    }),
    (0, class_validator_1.IsOptional)(),
    (0, class_validator_1.IsString)(),
    __metadata("design:type", String)
], UpdateShopDto.prototype, "address_ar", void 0);
__decorate([
    (0, swagger_1.ApiProperty)({
        example: "New ashok nager , new delhi",
        description: "Address of shop",
    }),
    (0, class_validator_1.IsOptional)(),
    (0, class_validator_1.IsString)(),
    __metadata("design:type", String)
], UpdateShopDto.prototype, "map_address", void 0);
__decorate([
    (0, swagger_1.ApiProperty)({
        example: "28.5930",
        description: "Latitude of shop",
    }),
    (0, class_validator_1.IsOptional)(),
    (0, class_validator_1.IsString)(),
    __metadata("design:type", String)
], UpdateShopDto.prototype, "latitude", void 0);
__decorate([
    (0, swagger_1.ApiProperty)({
        example: "77.3052",
        description: "Longitude of shop",
    }),
    (0, class_validator_1.IsOptional)(),
    (0, class_validator_1.IsString)(),
    __metadata("design:type", String)
], UpdateShopDto.prototype, "longitude", void 0);
__decorate([
    (0, swagger_1.ApiProperty)({
        example: "test shop for all services",
        description: "Description of shop",
    }),
    (0, class_validator_1.IsOptional)(),
    (0, class_validator_1.IsString)(),
    __metadata("design:type", String)
], UpdateShopDto.prototype, "description", void 0);
__decorate([
    (0, swagger_1.ApiProperty)({
        example: "تمام خدمات کے لیے ٹیسٹ شاپ",
        description: "Description of shop",
    }),
    (0, class_validator_1.IsOptional)(),
    (0, class_validator_1.IsString)(),
    __metadata("design:type", String)
], UpdateShopDto.prototype, "description_urd", void 0);
__decorate([
    (0, swagger_1.ApiProperty)({
        example: "متجر اختبار لجميع الخدمات",
        description: "Description of shop",
    }),
    (0, class_validator_1.IsOptional)(),
    (0, class_validator_1.IsString)(),
    __metadata("design:type", String)
], UpdateShopDto.prototype, "description_ar", void 0);
__decorate([
    (0, swagger_1.ApiProperty)({
        example: "0",
        description: "Set is featured",
    }),
    (0, class_validator_1.IsOptional)(),
    (0, class_validator_1.IsNumber)(),
    __metadata("design:type", Number)
], UpdateShopDto.prototype, "is_featured", void 0);
__decorate([
    (0, swagger_1.ApiProperty)({
        example: "0",
        description: "Set to top quick response",
    }),
    (0, class_validator_1.IsOptional)(),
    (0, class_validator_1.IsNumber)(),
    __metadata("design:type", Number)
], UpdateShopDto.prototype, "quick_response", void 0);
__decorate([
    (0, swagger_1.ApiProperty)({
        example: "+7",
        description: "Business year",
    }),
    (0, class_validator_1.IsOptional)(),
    (0, class_validator_1.IsString)(),
    __metadata("design:type", String)
], UpdateShopDto.prototype, "business_year", void 0);
__decorate([
    (0, swagger_1.ApiProperty)({
        example: "trending",
        description: "shop featured",
    }),
    (0, class_validator_1.IsOptional)(),
    (0, class_validator_1.IsString)(),
    __metadata("design:type", String)
], UpdateShopDto.prototype, "shop_featured", void 0);
__decorate([
    (0, swagger_1.ApiProperty)({
        example: "/uploads/1736441717156-19968207.png",
        description: "Logo of shop",
    }),
    (0, class_validator_1.IsOptional)(),
    (0, class_validator_1.IsString)(),
    __metadata("design:type", String)
], UpdateShopDto.prototype, "logo", void 0);
__decorate([
    (0, swagger_1.ApiProperty)({
        example: "/uploads/1736441717156-19968207.png",
        description: "Video of shop",
    }),
    (0, class_validator_1.IsOptional)(),
    (0, class_validator_1.IsString)(),
    __metadata("design:type", String)
], UpdateShopDto.prototype, "video", void 0);
__decorate([
    (0, swagger_1.ApiProperty)({
        example: "/uploads/1736441717156-19968207.png",
        description: "Base Image of shop",
    }),
    (0, class_validator_1.IsOptional)(),
    (0, class_validator_1.IsString)(),
    __metadata("design:type", String)
], UpdateShopDto.prototype, "image", 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)
], UpdateShopDto.prototype, "galleries", void 0);
__decorate([
    (0, swagger_1.ApiProperty)({ enum: status_enum_1.Status, example: status_enum_1.Status.ACTIVE }),
    (0, class_validator_1.IsEnum)(status_enum_1.Status, { message: "Status must be one of: active, inactive" }),
    __metadata("design:type", String)
], UpdateShopDto.prototype, "status", void 0);
__decorate([
    (0, swagger_1.ApiProperty)({
        description: 'List of services to update or add',
        type: [service_dto_1.UpdateServiceDto],
    }),
    __metadata("design:type", Array)
], UpdateShopDto.prototype, "services", void 0);
//# sourceMappingURL=module.dto.js.map