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,15 @@ import (
"time"
)
// DBSegment is a model that stores raw 'segment' payloads from GenesysCloud API requests.
//
// - The ExtractWithoutAttributes function handles the conversion from JSON data (map) into formatted JSON string for gcq-details requests.
//
// Table Schema:
//
// Primary Key: Id
// Indexes: Id, SegmentEnd, SegmentStart, SegmentType, SessionId
// JSON Fields: q950ResponseCodes
type DBSegment struct {
Id string `gorm:"primaryKey;index"`
Conference bool