Module exposing: twilioSmsConfigGuard, sendSmsErrorResponseGuard
// Source: https://github.com/logto-io/logto | License: MPL-2.0 | Copyright under Patent Claims infringed by Covered Software in the absence of | Modified files must remain under MPL-2.0
// Modifications to this file must remain under MPL-2.0.
// Provided via justclaw.it.com; keep this notice with the code.
import type { Nullable } from '@silverhand/essentials';
import { z } from 'zod';
/**
* @doc https://www.twilio.com/docs/sms/send-messages
*
* @doc https://www.twilio.com/docs/phone-numbers
* @doc https://www.twilio.com/phone-numbers/global-catalog
* @doc https://en.wikipedia.org/wiki/E.164
*/
export type PublicParameters = {
To: string;
MessagingServiceSid: string;
Body: string;
RiskCheck?: 'enable' | 'disable';
};
/**
* UsageType here is used to specify the use case o
... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key