2019-09-19 18:22:13 +09:00

27 lines
721 B
TypeScript

import { DeviceType } from '@ucap-webmessenger/core';
import {
ProtocolRequest,
ProtocolResponse,
ProtocolNotification
} from '@ucap-webmessenger/protocol';
// tslint:disable-next-line: no-empty-interface
export interface LogoutRequest extends ProtocolRequest {}
export interface LogoutResponse extends ProtocolResponse {
reasonCode?: number;
}
export interface LogoutRemoteRequest extends ProtocolRequest {
targetDeviceType?: DeviceType;
requestDeviceType?: DeviceType;
}
export interface LogoutRemoteResponse extends ProtocolResponse {
targetDeviceType?: DeviceType;
resultCode?: number;
}
export interface LogoutRemoteNotification extends ProtocolNotification {
requestDeviceType?: DeviceType;
}