mirror of
https://github.com/HamzaSha1/zod-backend.git
synced 2025-11-26 08:34:55 +00:00
feat: handle card status changed webhook
This commit is contained in:
@ -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;
|
||||
}
|
||||
Reference in New Issue
Block a user