import { ApiProperty } from '@nestjs/swagger';
import { IsString, IsUUID } from 'class-validator';

export class LinkLexwareToCompanyDto {
  @ApiProperty({ description: 'CRM Company UUID' })
  @IsUUID()
  companyId!: string;

  @ApiProperty({ description: 'Lexware Office Contact ID' })
  @IsString()
  lexwareContactId!: string;
}

export class LinkLexwareToContactDto {
  @ApiProperty({ description: 'CRM Contact UUID' })
  @IsUUID()
  contactId!: string;

  @ApiProperty({ description: 'Lexware Office Contact ID' })
  @IsString()
  lexwareContactId!: string;
}

export class ImportLexwareContactDto {
  @ApiProperty({ description: 'Lexware Office Contact ID' })
  @IsString()
  lexwareContactId!: string;
}
