"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.UpdateShopContactDto = exports.CreateShopContactDto = void 0;
const swagger_1 = require("@nestjs/swagger");
const class_validator_1 = require("class-validator");
class CreateShopContactDto {
}
exports.CreateShopContactDto = CreateShopContactDto;
__decorate([
    (0, swagger_1.ApiProperty)({
        example: "http://203.161.56.230/cars24x7admin",
        description: "Website of shop",
    }),
    (0, class_validator_1.IsOptional)(),
    (0, class_validator_1.IsUrl)(),
    __metadata("design:type", String)
], CreateShopContactDto.prototype, "website", void 0);
__decorate([
    (0, swagger_1.ApiProperty)({
        example: "testshop@gmail.com",
        description: "Email of shop",
    }),
    (0, class_validator_1.IsOptional)(),
    (0, class_validator_1.IsEmail)(),
    __metadata("design:type", String)
], CreateShopContactDto.prototype, "email", void 0);
__decorate([
    (0, swagger_1.ApiProperty)({
        example: "8275600111",
        description: "Phone of shop",
    }),
    (0, class_validator_1.IsOptional)(),
    (0, class_validator_1.IsString)(),
    __metadata("design:type", String)
], CreateShopContactDto.prototype, "phoneNumber", void 0);
__decorate([
    (0, swagger_1.ApiProperty)({
        example: "8275600111",
        description: "Whatsapp Number of shop",
    }),
    (0, class_validator_1.IsOptional)(),
    (0, class_validator_1.IsString)(),
    __metadata("design:type", String)
], CreateShopContactDto.prototype, "whatsappNumber", void 0);
__decorate([
    (0, swagger_1.ApiProperty)({
        example: "https://www.facebook.com/",
        description: "facebook link of shop",
    }),
    (0, class_validator_1.IsOptional)(),
    (0, class_validator_1.IsUrl)(),
    __metadata("design:type", String)
], CreateShopContactDto.prototype, "facebook", void 0);
__decorate([
    (0, swagger_1.ApiProperty)({
        example: "https://www.twilio.com",
        description: "facebook link of shop",
    }),
    (0, class_validator_1.IsOptional)(),
    (0, class_validator_1.IsUrl)(),
    __metadata("design:type", String)
], CreateShopContactDto.prototype, "twitter", void 0);
__decorate([
    (0, swagger_1.ApiProperty)({
        example: "https://www.linkedin.com",
        description: "Linkedin link of shop",
    }),
    (0, class_validator_1.IsOptional)(),
    (0, class_validator_1.IsUrl)(),
    __metadata("design:type", String)
], CreateShopContactDto.prototype, "linkedin", void 0);
__decorate([
    (0, swagger_1.ApiProperty)({
        example: "https://www.instagram.com",
        description: "Instagram link of shop",
    }),
    (0, class_validator_1.IsOptional)(),
    (0, class_validator_1.IsUrl)(),
    __metadata("design:type", String)
], CreateShopContactDto.prototype, "instagram", void 0);
__decorate([
    (0, swagger_1.ApiProperty)({
        example: "https://www.snapchat.com/",
        description: "Snapchat link of shop",
    }),
    (0, class_validator_1.IsOptional)(),
    (0, class_validator_1.IsUrl)(),
    __metadata("design:type", String)
], CreateShopContactDto.prototype, "snapchat", void 0);
__decorate([
    (0, swagger_1.ApiProperty)({
        example: "https://www.youtube.com",
        description: "Youtube link of shop",
    }),
    (0, class_validator_1.IsOptional)(),
    (0, class_validator_1.IsUrl)(),
    __metadata("design:type", String)
], CreateShopContactDto.prototype, "youtube", void 0);
__decorate([
    (0, swagger_1.ApiProperty)({
        example: "https://www.tiktok.com",
        description: "facebook link of shop",
    }),
    (0, class_validator_1.IsOptional)(),
    (0, class_validator_1.IsUrl)(),
    __metadata("design:type", String)
], CreateShopContactDto.prototype, "tiktok", void 0);
class UpdateShopContactDto {
}
exports.UpdateShopContactDto = UpdateShopContactDto;
__decorate([
    (0, swagger_1.ApiProperty)({ description: 'Shop ID of the contact (required for updates)', example: 1, required: false }),
    __metadata("design:type", Number)
], UpdateShopContactDto.prototype, "id", void 0);
__decorate([
    (0, swagger_1.ApiProperty)({
        example: "http://203.161.56.230/cars24x7admin",
        description: "Website of shop",
    }),
    (0, class_validator_1.IsOptional)(),
    (0, class_validator_1.IsUrl)(),
    __metadata("design:type", String)
], UpdateShopContactDto.prototype, "website", void 0);
__decorate([
    (0, swagger_1.ApiProperty)({
        example: "testshop@gmail.com",
        description: "Email of shop",
    }),
    (0, class_validator_1.IsOptional)(),
    (0, class_validator_1.IsEmail)(),
    __metadata("design:type", String)
], UpdateShopContactDto.prototype, "email", void 0);
__decorate([
    (0, swagger_1.ApiProperty)({
        example: "8275600111",
        description: "Phone of shop",
    }),
    (0, class_validator_1.IsOptional)(),
    (0, class_validator_1.IsString)(),
    __metadata("design:type", String)
], UpdateShopContactDto.prototype, "phoneNumber", void 0);
__decorate([
    (0, swagger_1.ApiProperty)({
        example: "8275600111",
        description: "Whatsapp Number of shop",
    }),
    (0, class_validator_1.IsOptional)(),
    (0, class_validator_1.IsString)(),
    __metadata("design:type", String)
], UpdateShopContactDto.prototype, "whatsappNumber", void 0);
__decorate([
    (0, swagger_1.ApiProperty)({ required: false, type: String }),
    (0, class_validator_1.IsOptional)(),
    (0, class_validator_1.IsString)(),
    __metadata("design:type", String)
], UpdateShopContactDto.prototype, "contactpersionname", void 0);
__decorate([
    (0, swagger_1.ApiProperty)({ required: false, type: String }),
    (0, class_validator_1.IsOptional)(),
    (0, class_validator_1.IsString)(),
    __metadata("design:type", String)
], UpdateShopContactDto.prototype, "contactpersionname_ar", void 0);
__decorate([
    (0, swagger_1.ApiProperty)({ required: false, type: String }),
    (0, class_validator_1.IsOptional)(),
    (0, class_validator_1.IsString)(),
    __metadata("design:type", String)
], UpdateShopContactDto.prototype, "contactpersionname_urd", void 0);
__decorate([
    (0, swagger_1.ApiProperty)({ required: false, type: String }),
    (0, class_validator_1.IsOptional)(),
    (0, class_validator_1.IsString)(),
    __metadata("design:type", String)
], UpdateShopContactDto.prototype, "designation", void 0);
__decorate([
    (0, swagger_1.ApiProperty)({ required: false, type: String }),
    (0, class_validator_1.IsOptional)(),
    (0, class_validator_1.IsString)(),
    __metadata("design:type", String)
], UpdateShopContactDto.prototype, "designation_ar", void 0);
__decorate([
    (0, swagger_1.ApiProperty)({ required: false, type: String }),
    (0, class_validator_1.IsOptional)(),
    (0, class_validator_1.IsString)(),
    __metadata("design:type", String)
], UpdateShopContactDto.prototype, "designation_urd", void 0);
__decorate([
    (0, swagger_1.ApiProperty)({ required: false, type: String }),
    (0, class_validator_1.IsOptional)(),
    (0, class_validator_1.IsString)(),
    __metadata("design:type", String)
], UpdateShopContactDto.prototype, "contactpersionimg", void 0);
__decorate([
    (0, swagger_1.ApiProperty)({
        example: "https://www.facebook.com/",
        description: "facebook link of shop",
    }),
    (0, class_validator_1.IsOptional)(),
    (0, class_validator_1.IsUrl)(),
    __metadata("design:type", String)
], UpdateShopContactDto.prototype, "facebook", void 0);
__decorate([
    (0, swagger_1.ApiProperty)({
        example: "https://www.twilio.com",
        description: "facebook link of shop",
    }),
    (0, class_validator_1.IsOptional)(),
    (0, class_validator_1.IsUrl)(),
    __metadata("design:type", String)
], UpdateShopContactDto.prototype, "twitter", void 0);
__decorate([
    (0, swagger_1.ApiProperty)({
        example: "https://www.linkedin.com",
        description: "Linkedin link of shop",
    }),
    (0, class_validator_1.IsOptional)(),
    (0, class_validator_1.IsUrl)(),
    __metadata("design:type", String)
], UpdateShopContactDto.prototype, "linkedin", void 0);
__decorate([
    (0, swagger_1.ApiProperty)({
        example: "https://www.instagram.com",
        description: "Instagram link of shop",
    }),
    (0, class_validator_1.IsOptional)(),
    (0, class_validator_1.IsUrl)(),
    __metadata("design:type", String)
], UpdateShopContactDto.prototype, "instagram", void 0);
__decorate([
    (0, swagger_1.ApiProperty)({
        example: "https://www.snapchat.com/",
        description: "Snapchat link of shop",
    }),
    (0, class_validator_1.IsOptional)(),
    (0, class_validator_1.IsUrl)(),
    __metadata("design:type", String)
], UpdateShopContactDto.prototype, "snapchat", void 0);
__decorate([
    (0, swagger_1.ApiProperty)({
        example: "https://www.youtube.com",
        description: "Youtube link of shop",
    }),
    (0, class_validator_1.IsOptional)(),
    (0, class_validator_1.IsUrl)(),
    __metadata("design:type", String)
], UpdateShopContactDto.prototype, "youtube", void 0);
__decorate([
    (0, swagger_1.ApiProperty)({
        example: "https://www.tiktok.com",
        description: "facebook link of shop",
    }),
    (0, class_validator_1.IsOptional)(),
    (0, class_validator_1.IsUrl)(),
    __metadata("design:type", String)
], UpdateShopContactDto.prototype, "tiktok", void 0);
//# sourceMappingURL=shopcontact.dto.js.map