import { ApiProperty } from '@nestjs/swagger'; import { Expose } from 'class-transformer'; import { IsString } from 'class-validator'; export class AccountCardStatusChangedWebhookRequest { @ApiProperty() @Expose({ name: 'InstId' }) @IsString() instId!: string; @ApiProperty() @Expose({ name: 'cardId' }) @IsString() cardId!: string; @ApiProperty() @Expose({ name: 'newStatus' }) @IsString() newStatus!: string; }