interfaces/ts/sio-interfaces.requests.ts

43 lines
961 B
TypeScript
Raw Permalink Normal View History

2023-06-09 18:19:36 +00:00
import * as plugins from './interfaces.plugins.js';
2020-09-14 09:43:39 +00:00
export interface IRequest_GetSocialSession
extends plugins.typedrequestInterfaces.implementsTR<
plugins.typedrequestInterfaces.ITypedRequest,
IRequest_GetSocialSession
> {
2020-09-14 09:43:39 +00:00
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;
};
2020-09-14 09:43:39 +00:00
}
export interface IRequest_GetConversations
extends plugins.typedrequestInterfaces.implementsTR<
plugins.typedrequestInterfaces.ITypedRequest,
IRequest_GetConversations
> {
2020-09-14 09:43:39 +00:00
method: 'getConversations';
request: {
sessionId: string;
};
response: {};
}