feat: handle card status changed webhook

This commit is contained in:
Abdalhamid Alhamad
2025-07-21 15:30:55 +03:00
parent 5a780eeb17
commit bf43e62b17
21 changed files with 350 additions and 18 deletions

View File

@ -0,0 +1,20 @@
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;
}