ResendVerificationSMSDTO
Package: @nauth-toolkit/core
Type: DTO (Request)
Request DTO for resending verification SMS. Supports identification by user sub or phone number.
- NestJS
- Express
- Fastify
import { ResendVerificationSMSDTO } from '@nauth-toolkit/nestjs';
import { ResendVerificationSMSDTO } from '@nauth-toolkit/core';
import { ResendVerificationSMSDTO } from '@nauth-toolkit/core';
Properties
| Property | Type | Required | Description |
|---|---|---|---|
sub | string | No | User identifier (UUID v4). Required if phone not provided. Trimmed and lowercased. |
phone | string | No | User phone number (E.164 format). Required if sub not provided. Max 20 chars. Whitespace removed. |
info
At least one of sub or phone must be provided.
Example
{
"sub": "a21b654c-2746-4168-acee-c175083a65cd"
}
Or by phone:
{
"phone": "+1234567890"
}