interfaces/ts/sio-interfaces.requests.ts
2020-09-14 09:43:39 +00:00

40 lines
914 B
TypeScript

import * as plugins from './interfaces.plugins';
export interface IRequest_GetSocialSession extends plugins.typedrequestInterfaces.implementsTR<
plugins.typedrequestInterfaces.ITypedRequest,
IRequest_GetSocialSession
> {
method: 'getSocialSession';
request: {
existingSessionId?: string;
};
response: {
newSessionId: string;
};
}
export interface IRequest_AttachProfileId extends plugins.typedrequestInterfaces.implementsTR<
plugins.typedrequestInterfaces.ITypedRequest,
IRequest_AttachProfileId
> {
method: 'attachProfileId';
request: {
sessionId: string;
profileId: string;
};
response: {
newSessionId: string;
};
}
export interface IRequest_GetConversations extends plugins.typedrequestInterfaces.implementsTR<
plugins.typedrequestInterfaces.ITypedRequest,
IRequest_GetConversations
> {
method: 'getConversations';
request: {
sessionId: string;
};
response: {};
}