@getdial/sdk - v0.21.0
    Preparing search index...

    Variable DialAudioMessageSchemaConst

    DialAudioMessageSchema: ZodDiscriminatedUnion<
        [
            ZodObject<
                {
                    call_id: ZodString;
                    direction: ZodEnum<{ inbound: "inbound"; outbound: "outbound" }>;
                    formats: ZodObject<
                        {
                            inbound: ZodEnum<
                                {
                                    alaw_8000: "alaw_8000";
                                    l16_16000: "l16_16000";
                                    l16_24000: "l16_24000";
                                    l16_8000: "l16_8000";
                                    mulaw_8000: "mulaw_8000";
                                },
                            >;
                            outbound: ZodEnum<
                                {
                                    alaw_8000: "alaw_8000";
                                    l16_16000: "l16_16000";
                                    l16_24000: "l16_24000";
                                    l16_8000: "l16_8000";
                                    mulaw_8000: "mulaw_8000";
                                },
                            >;
                        },
                        $strip,
                    >;
                    from: ZodString;
                    instruction: ZodOptional<ZodNullable<ZodString>>;
                    language: ZodOptional<ZodNullable<ZodString>>;
                    reconnect: ZodOptional<ZodBoolean>;
                    to: ZodString;
                    type: ZodLiteral<"call_connected">;
                },
                $strip,
            >,
            ZodObject<
                {
                    payload: ZodString;
                    seq: ZodOptional<ZodNumber>;
                    type: ZodLiteral<"media">;
                },
                $strip,
            >,
            ZodObject<{ digit: ZodString; type: ZodLiteral<"dtmf"> }, $strip>,
        ],
        "type",
    > = ...

    Any frame Dial sends to your server.