2020-09-14 09:43:39 +00:00
|
|
|
import * as plugins from './interfaces.plugins';
|
|
|
|
|
|
|
|
// Basic Conversation
|
|
|
|
export interface ISioConversationParty {
|
|
|
|
id: string;
|
|
|
|
name: string;
|
|
|
|
description: string;
|
|
|
|
}
|
|
|
|
|
|
|
|
export interface ISioConversationBlock {
|
|
|
|
partyId: string;
|
|
|
|
text: string;
|
|
|
|
}
|
|
|
|
|
|
|
|
export interface ISioConversation {
|
2020-09-14 16:46:27 +00:00
|
|
|
subject: string;
|
2020-09-14 09:43:39 +00:00
|
|
|
parties: ISioConversationParty[];
|
|
|
|
conversationBlocks: ISioConversationBlock[];
|
|
|
|
}
|
|
|
|
|
|
|
|
// Sessions
|
|
|
|
export interface ISioSession {
|
|
|
|
tenantId: string;
|
|
|
|
active: boolean;
|
|
|
|
abandoned: boolean;
|
|
|
|
markedForDeletion: boolean;
|
|
|
|
profileInfo?: {
|
|
|
|
profileId: string;
|
|
|
|
name: string;
|
|
|
|
email: string;
|
|
|
|
mobilePhone: string;
|
|
|
|
|
|
|
|
};
|
|
|
|
conversations: ISioConversation[];
|
|
|
|
}
|
|
|
|
|
|
|
|
// tenant
|
|
|
|
export interface ISioTenant {}
|