interfaces/ts/sio-interfaces.data.ts

38 lines
715 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
// 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 {}