Session
{
sessionId: id che dipende dal canale,
user: {
id: UUIDv4,
mail:"string",
phone:"string",
fiscal_code:"string",
telegram_id:"string",
},
metaData: {}, // Opzionali
organization: "prova",
channelType: "mail" //Il tipo di canale
language: "it",
history: [
{
time: "", //Timestamp dell'interazione
question: "", //Presente per interazioni che provengono dall'esterno
response: "", //Presente per interazioni che provengono da Calybron
source: "", //(channelId|apiCore|intentSlug)
sourceType: "", //Il tipo di sorgente, può essere channel|apiCore|DIM
attachments: [], //Array contente gli attachments di sessione.
},
{...}
]
logicalSubject: [{
type: "string",
label: "string",
id: UUIDv4
}, {...}]
}Last updated
