From ff0f873dd8dcf340733c19e2696f1618fc958a09 Mon Sep 17 00:00:00 2001 From: Frederick Holland Date: Thu, 23 Oct 2025 15:41:44 +1100 Subject: [PATCH] Added GCUser --- models/gencloud.go | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/models/gencloud.go b/models/gencloud.go index ee9237e..4e5b354 100644 --- a/models/gencloud.go +++ b/models/gencloud.go @@ -184,3 +184,18 @@ type NotificationConversationWithAttributes struct { SecurePause bool `json:"securePause"` UtilizationLabelId string `json:"utilizationLabelId"` } + +type UsersQuery struct { + Entities []GCUser `json:"entities"` + PageSize int `json:"pageSize"` + Total int `json:"total"` +} + +type GCUser struct { + Id string `json:"id" gorm:"primaryKey"` + Name string `json:"name"` + Email string `json:"email"` + State string `json:"state"` + Username string `json:"username"` + AcdAutoAnswer bool `json:"acdAutoAnswer"` +}