Officially documented release

This commit is contained in:
2025-11-10 10:10:46 +11:00
parent 1bb7661f94
commit 4c58351635
23 changed files with 282 additions and 214 deletions

View File

@@ -4,6 +4,16 @@ import (
"time"
)
// DBConversation is a model that stores raw 'conversation' payloads from GenesysCloud websockets and API requests.
//
// - The ExtractLive function handles the conversion from JSON data (map) into formatted JSON string for websocket payloads.
// - The ExtractWithoutAttributes function handles the conversion from JSON data (map) into formatted JSON string for gcq-details requests.
//
// Table Schema:
//
// Primary Key: Id
// Indexes: End, Id, Start
// JSON Fields: DivisionIds, RecentTransfers
type DBConversation struct {
Address *string
DivisionIds *string `gorm:"type:json"`