GenerateOtpAction
Type: schema
Description
The action associated with a generated code. The same actions are accepted for email, SMS and WhatsApp. Use reset-password codes with password reset; signup and forgot-password are legacy contact-verification actions.
TypeScript Definition
typescript
GenerateOtpAction: "signup" | "register" | "login" | "forgot-password" | "reset-password" | "update-phone" | "verify-email" | "verify-phone" | "update-email"OpenAPI Schema
json
{
"title": "GenerateOtpAction",
"description": "The action associated with a generated code. The same actions are accepted for email, SMS and WhatsApp. Use reset-password codes with password reset; signup and forgot-password are legacy contact-verification actions.",
"type": "string",
"externalDocs": {
"url": "https://llm-docs.commercengine.io/storefront/schemas/GenerateOtpAction",
"description": "API reference for the GenerateOtpAction schema"
},
"enum": [
"signup",
"register",
"login",
"forgot-password",
"reset-password",
"update-phone",
"verify-email",
"verify-phone",
"update-email"
]
}Auto-generated from OpenAPI spec and TypeScript definitions