"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.UpdateMyProfileDto = void 0;
const swagger_1 = require("@nestjs/swagger");
const class_validator_1 = require("class-validator");
class UpdateMyProfileDto {
    firstName;
    lastName;
    email;
    blockNumber;
    flatNumber;
    address;
    profilePictureUrl;
    profilePictureThumbnailUrl;
    emergencyContact;
    householdMembers;
    profileImageMetadata;
    profileConfirmed;
}
exports.UpdateMyProfileDto = UpdateMyProfileDto;
__decorate([
    (0, swagger_1.ApiPropertyOptional)({ example: 'Ada', description: 'First name shown on the profile.' }),
    (0, class_validator_1.IsOptional)(),
    (0, class_validator_1.IsString)(),
    (0, class_validator_1.MaxLength)(80),
    __metadata("design:type", String)
], UpdateMyProfileDto.prototype, "firstName", void 0);
__decorate([
    (0, swagger_1.ApiPropertyOptional)({ example: 'Okafor', description: 'Last name shown on the profile.' }),
    (0, class_validator_1.IsOptional)(),
    (0, class_validator_1.IsString)(),
    (0, class_validator_1.MaxLength)(80),
    __metadata("design:type", String)
], UpdateMyProfileDto.prototype, "lastName", void 0);
__decorate([
    (0, swagger_1.ApiPropertyOptional)({ example: 'ada@example.com', description: 'Optional email address for email notifications.' }),
    (0, class_validator_1.IsOptional)(),
    (0, class_validator_1.IsEmail)(),
    __metadata("design:type", String)
], UpdateMyProfileDto.prototype, "email", void 0);
__decorate([
    (0, swagger_1.ApiPropertyOptional)({ example: 'Block A', description: 'Resident block number or building identifier.' }),
    (0, class_validator_1.IsOptional)(),
    (0, class_validator_1.IsString)(),
    (0, class_validator_1.MaxLength)(80),
    __metadata("design:type", String)
], UpdateMyProfileDto.prototype, "blockNumber", void 0);
__decorate([
    (0, swagger_1.ApiPropertyOptional)({ example: 'Flat 12', description: 'Resident flat, apartment, or house number.' }),
    (0, class_validator_1.IsOptional)(),
    (0, class_validator_1.IsString)(),
    (0, class_validator_1.MaxLength)(80),
    __metadata("design:type", String)
], UpdateMyProfileDto.prototype, "flatNumber", void 0);
__decorate([
    (0, swagger_1.ApiPropertyOptional)({ example: 'Block A, Flat 12, GreenPark Estate', description: 'Profile address inside or outside the estate.' }),
    (0, class_validator_1.IsOptional)(),
    (0, class_validator_1.IsString)(),
    (0, class_validator_1.MaxLength)(240),
    __metadata("design:type", String)
], UpdateMyProfileDto.prototype, "address", void 0);
__decorate([
    (0, swagger_1.ApiPropertyOptional)({ example: 'https://cdn.example.com/profile.jpg', description: 'Processed profile photo URL.' }),
    (0, class_validator_1.IsOptional)(),
    (0, class_validator_1.IsString)(),
    (0, class_validator_1.MaxLength)(500),
    __metadata("design:type", String)
], UpdateMyProfileDto.prototype, "profilePictureUrl", void 0);
__decorate([
    (0, swagger_1.ApiPropertyOptional)({ example: 'https://cdn.example.com/profile-thumb.jpg', description: 'Processed thumbnail URL.' }),
    (0, class_validator_1.IsOptional)(),
    (0, class_validator_1.IsString)(),
    (0, class_validator_1.MaxLength)(500),
    __metadata("design:type", String)
], UpdateMyProfileDto.prototype, "profilePictureThumbnailUrl", void 0);
__decorate([
    (0, swagger_1.ApiPropertyOptional)({
        example: { name: 'Emergency Contact', phone: '+2348000000999' },
        description: 'Emergency contact object. Guards need this for 100% completion.'
    }),
    (0, class_validator_1.IsOptional)(),
    (0, class_validator_1.IsObject)(),
    __metadata("design:type", Object)
], UpdateMyProfileDto.prototype, "emergencyContact", void 0);
__decorate([
    (0, swagger_1.ApiPropertyOptional)({
        example: [{ name: 'Tola Okafor', relationship: 'Spouse', phone: '+2348000000888' }],
        description: 'Resident household/family members array.'
    }),
    (0, class_validator_1.IsOptional)(),
    __metadata("design:type", Array)
], UpdateMyProfileDto.prototype, "householdMembers", void 0);
__decorate([
    (0, swagger_1.ApiPropertyOptional)({
        example: { originalBytes: 2400000, compressedBytes: 180000, width: 512, height: 512, thumbWidth: 128, thumbHeight: 128 },
        description: 'Client or media-service profile image processing metadata.'
    }),
    (0, class_validator_1.IsOptional)(),
    (0, class_validator_1.IsObject)(),
    __metadata("design:type", Object)
], UpdateMyProfileDto.prototype, "profileImageMetadata", void 0);
__decorate([
    (0, swagger_1.ApiPropertyOptional)({ example: true, description: 'User confirmation that profile information is correct.' }),
    (0, class_validator_1.IsOptional)(),
    (0, class_validator_1.IsBoolean)(),
    __metadata("design:type", Boolean)
], UpdateMyProfileDto.prototype, "profileConfirmed", void 0);
//# sourceMappingURL=profile.dto.js.map