AuthToken: {
exp: number;
iat: number;
jti: string;
} & {
scope: {
app: {
actions?: ("write" | "read" | "listChannels")[];
analytics?: boolean;
channels?: ({
id?: (...) | (...);
name?: (...) | (...);
} & {
actions: (...)[];
members: (...)[];
sfuBots?: (...) | (...);
} & {
[k: string]: unknown;
})[];
id: string;
turn?: boolean;
} & {
[k: string]: unknown;
};
};
version?: 1 | 2;
} | {
exp: number;
iat: number;
jti: string;
} & {
scope: {
analytics?: {
enabled?: boolean;
};
appId: string;
rooms: ({
id?: string;
name?: string;
} & {
member?: {
id?: ...;
name?: ...;
} & {
methods: ...;
} & {
[k: ...]: ...;
};
methods: ("create" | "updateMetadata" | "close")[];
sfu?: {
enabled?: (...) | (...) | (...);
maxSubscribersLimit?: (...) | (...);
};
} & {
[k: string]: unknown;
})[];
turn?: {
enabled?: boolean;
};
} & {
[k: string]: unknown;
};
version: 3;
}