summaryrefslogtreecommitdiff
path: root/includes/external/matrix/node_modules/matrix-widget-api/lib/interfaces/TurnServerActions.d.ts
blob: 55d5b3db1fbcfc0a323a8df383f8b9befb53ba55 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
import { IWidgetApiRequest, IWidgetApiRequestData, IWidgetApiRequestEmptyData } from "./IWidgetApiRequest";
import { WidgetApiFromWidgetAction, WidgetApiToWidgetAction } from "./WidgetApiAction";
import { IWidgetApiAcknowledgeResponseData, IWidgetApiResponse } from "./IWidgetApiResponse";
export interface ITurnServer {
    uris: string[];
    username: string;
    password: string;
}
export interface IWatchTurnServersRequest extends IWidgetApiRequest {
    action: WidgetApiFromWidgetAction.WatchTurnServers;
    data: IWidgetApiRequestEmptyData;
}
export interface IWatchTurnServersResponse extends IWidgetApiResponse {
    response: IWidgetApiAcknowledgeResponseData;
}
export interface IUnwatchTurnServersRequest extends IWidgetApiRequest {
    action: WidgetApiFromWidgetAction.UnwatchTurnServers;
    data: IWidgetApiRequestEmptyData;
}
export interface IUnwatchTurnServersResponse extends IWidgetApiResponse {
    response: IWidgetApiAcknowledgeResponseData;
}
export interface IUpdateTurnServersRequestData extends IWidgetApiRequestData, ITurnServer {
}
export interface IUpdateTurnServersRequest extends IWidgetApiRequest {
    action: WidgetApiToWidgetAction.UpdateTurnServers;
    data: IUpdateTurnServersRequestData;
}
export interface IUpdateTurnServersResponse extends IWidgetApiResponse {
    response: IWidgetApiAcknowledgeResponseData;
}