modification of InboundSMSMessageNotificationDto

This commit is contained in:
KurtisMelkisedec 2025-10-31 21:22:13 +00:00
parent 1ed8d6854d
commit 3e615eda42

View File

@ -4,12 +4,14 @@ import {
ValidateNested,
IsNotEmpty,
IsDateString,
IsOptional,
} from 'class-validator';
import { Type } from 'class-transformer';
export class InboundSMSMessageDto {
@ApiProperty({ example: '2025-10-30T14:00:00Z' })
@IsDateString()
@IsOptional()
dateTime: string;
@ApiProperty({ example: '+33612345678' })
@ -20,6 +22,7 @@ export class InboundSMSMessageDto {
@ApiProperty({ example: 'mes1234' })
@IsString()
@IsNotEmpty()
@IsOptional()
messageId: string;
@ApiProperty({