Atrium — shared contracts and the typesetting engine
    Preparing search index...

    Variable botCommandsResponseSchemaConst

    botCommandsResponseSchema: ZodObject<
        {
            commands: ZodArray<
                ZodDiscriminatedUnion<
                    "kind",
                    [
                        ZodObject<
                            {
                                channelId: ZodString;
                                guildId: ZodString;
                                id: ZodNumber;
                                kind: ZodLiteral<"join">;
                            },
                            "strip",
                            ZodTypeAny,
                            { channelId: string; guildId: string; id: number; kind: "join" },
                            { channelId: string; guildId: string; id: number; kind: "join" },
                        >,
                        ZodObject<
                            { guildId: ZodString; id: ZodNumber; kind: ZodLiteral<"leave"> },
                            "strip",
                            ZodTypeAny,
                            { guildId: string; id: number; kind: "leave" },
                            { guildId: string; id: number; kind: "leave" },
                        >,
                        ZodObject<
                            {
                                guildId: ZodString;
                                id: ZodNumber;
                                kind: ZodLiteral<"play">;
                                playId: ZodNumber;
                                track: ZodObject<
                                    {
                                        album: ZodNullable<ZodString>;
                                        artist: ZodNullable<ZodString>;
                                        durationSeconds: ZodNullable<ZodNumber>;
                                        id: ZodString;
                                        title: ZodString;
                                        trackNumber: ZodNullable<ZodNumber>;
                                    },
                                    "strip",
                                    ZodTypeAny,
                                    {
                                        album: string
                                        | null;
                                        artist: string | null;
                                        durationSeconds: number | null;
                                        id: string;
                                        title: string;
                                        trackNumber: number | null;
                                    },
                                    {
                                        album: string
                                        | null;
                                        artist: string | null;
                                        durationSeconds: number | null;
                                        id: string;
                                        title: string;
                                        trackNumber: number | null;
                                    },
                                >;
                                upcoming: ZodArray<
                                    ZodObject<
                                        {
                                            album: ZodNullable<(...)>;
                                            artist: ZodNullable<(...)>;
                                            durationSeconds: ZodNullable<(...)>;
                                            id: ZodString;
                                            title: ZodString;
                                            trackNumber: ZodNullable<(...)>;
                                        },
                                        "strip",
                                        ZodTypeAny,
                                        {
                                            album: (...)
                                            | (...);
                                            artist: (...) | (...);
                                            durationSeconds: (...) | (...);
                                            id: string;
                                            title: string;
                                            trackNumber: (...) | (...);
                                        },
                                        {
                                            album: (...)
                                            | (...);
                                            artist: (...) | (...);
                                            durationSeconds: (...) | (...);
                                            id: string;
                                            title: string;
                                            trackNumber: (...) | (...);
                                        },
                                    >,
                                    "many",
                                >;
                            },
                            "strip",
                            ZodTypeAny,
                            {
                                guildId: string;
                                id: number;
                                kind: "play";
                                playId: number;
                                track: {
                                    album: string
                                    | null;
                                    artist: string | null;
                                    durationSeconds: number | null;
                                    id: string;
                                    title: string;
                                    trackNumber: number | null;
                                };
                                upcoming: {
                                    album: string
                                    | null;
                                    artist: string | null;
                                    durationSeconds: number | null;
                                    id: string;
                                    title: string;
                                    trackNumber: number | null;
                                }[];
                            },
                            {
                                guildId: string;
                                id: number;
                                kind: "play";
                                playId: number;
                                track: {
                                    album: string
                                    | null;
                                    artist: string | null;
                                    durationSeconds: number | null;
                                    id: string;
                                    title: string;
                                    trackNumber: number | null;
                                };
                                upcoming: {
                                    album: string
                                    | null;
                                    artist: string | null;
                                    durationSeconds: number | null;
                                    id: string;
                                    title: string;
                                    trackNumber: number | null;
                                }[];
                            },
                        >,
                    ],
                >,
                "many",
            >;
            cursor: ZodNumber;
        },
        "strip",
        ZodTypeAny,
        {
            commands: (
                | { channelId: string; guildId: string; id: number; kind: "join" }
                | { guildId: string; id: number; kind: "leave" }
                | {
                    guildId: string;
                    id: number;
                    kind: "play";
                    playId: number;
                    track: {
                        album: string | null;
                        artist: string | null;
                        durationSeconds: number | null;
                        id: string;
                        title: string;
                        trackNumber: number | null;
                    };
                    upcoming: {
                        album: string
                        | null;
                        artist: string | null;
                        durationSeconds: number | null;
                        id: string;
                        title: string;
                        trackNumber: number | null;
                    }[];
                }
                | { guildId: string; id: number; kind: "pause" }
                | { guildId: string; id: number; kind: "resume" }
                | { guildId: string; id: number; kind: "stop" }
                | {
                    guildId: string;
                    id: number;
                    kind: "upcoming";
                    upcoming: {
                        album: string | null;
                        artist: string | null;
                        durationSeconds: number | null;
                        id: string;
                        title: string;
                        trackNumber: number | null;
                    }[];
                }
            )[];
            cursor: number;
        },
        {
            commands: (
                | { channelId: string; guildId: string; id: number; kind: "join" }
                | { guildId: string; id: number; kind: "leave" }
                | {
                    guildId: string;
                    id: number;
                    kind: "play";
                    playId: number;
                    track: {
                        album: string | null;
                        artist: string | null;
                        durationSeconds: number | null;
                        id: string;
                        title: string;
                        trackNumber: number | null;
                    };
                    upcoming: {
                        album: string
                        | null;
                        artist: string | null;
                        durationSeconds: number | null;
                        id: string;
                        title: string;
                        trackNumber: number | null;
                    }[];
                }
                | { guildId: string; id: number; kind: "pause" }
                | { guildId: string; id: number; kind: "resume" }
                | { guildId: string; id: number; kind: "stop" }
                | {
                    guildId: string;
                    id: number;
                    kind: "upcoming";
                    upcoming: {
                        album: string | null;
                        artist: string | null;
                        durationSeconds: number | null;
                        id: string;
                        title: string;
                        trackNumber: number | null;
                    }[];
                }
            )[];
            cursor: number;
        },
    > = ...

    GET /jukebox/bot/commands response.