From 08f739149057548f8fb67236f7097d67ac3873c4 Mon Sep 17 00:00:00 2001 From: Frederick Holland Date: Mon, 28 Sep 2026 14:48:31 +1000 Subject: [PATCH] Added UserId to participant --- models/gencloud.go | 1 + util/extract.go | 1 + 2 files changed, 2 insertions(+) diff --git a/models/gencloud.go b/models/gencloud.go index 866e600..dfcfef5 100644 --- a/models/gencloud.go +++ b/models/gencloud.go @@ -30,6 +30,7 @@ type AnalyticsConversationWithAttributes struct { ParticipantId string `json:"participantId"` ParticipantName string `json:"participantName"` Purpose string `json:"purpose"` + UserId string `json:"userId"` Sessions []struct { ANI string `json:"ani"` Direction string `json:"direction"` diff --git a/util/extract.go b/util/extract.go index 6cd0f1a..f260ba7 100644 --- a/util/extract.go +++ b/util/extract.go @@ -313,6 +313,7 @@ func ExtractWithAttributes(base models.AnalyticsConversationWithAttributes) (mod Name: &p.ParticipantName, Purpose: &p.Purpose, Attributes: &attributesBytesStr, + UserId: &p.UserId, } participants = append(participants, participant)