Sinch Node.js SDK - v0.0.4
    Preparing search index...

    Interface Destination

    The type of device and number or endpoint to call.

    interface Destination {
        endpoint: string;
        type: "number" | "username";
    }
    Index

    Properties

    Properties

    endpoint: string

    If the type is number the value of the endpoint is a phone number. If the type is username the value is the username for a data endpoint.

    type: "number" | "username"

    Can be of type number for PSTN endpoints or of type username for data endpoints.