mirror of
https://github.com/HamzaSha1/zod-backend.git
synced 2025-11-26 08:34:55 +00:00
21 lines
440 B
TypeScript
21 lines
440 B
TypeScript
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;
|
|
}
|