Sinch Node.js SDK - v1.5.0
    Preparing search index...

    Interface SmsOptions

    An optional object for SMS Verification, with default values assumed for all contained values if not provided.

    interface SmsOptions {
        codeType?: string;
        expiry?: string | Date;
        locale?: string;
        [key: string]: any;
    }

    Hierarchy (View Summary)

    Indexable

    • [key: string]: any
    Index

    Properties

    codeType?: string

    Accepted values for the type of code to be generated are Numeric, Alpha, and Alphanumeric. Default is Numeric.

    expiry?: string | Date

    The expiration time for a verification process is represented in the format HH:MM:SS.

    locale?: string

    A language-region identifier according to IANA. Only a subset of those identifiers is accepted.