Compare commits
2 Commits
v1.0.45
...
2f2388caab
| Author | SHA1 | Date | |
|---|---|---|---|
| 2f2388caab | |||
| ff0f873dd8 |
@@ -184,3 +184,18 @@ type NotificationConversationWithAttributes struct {
|
|||||||
SecurePause bool `json:"securePause"`
|
SecurePause bool `json:"securePause"`
|
||||||
UtilizationLabelId string `json:"utilizationLabelId"`
|
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;foreignKey"`
|
||||||
|
Name string `json:"name"`
|
||||||
|
Email string `json:"email"`
|
||||||
|
State string `json:"state"`
|
||||||
|
Username string `json:"username"`
|
||||||
|
AcdAutoAnswer bool `json:"acdAutoAnswer"`
|
||||||
|
}
|
||||||
|
|||||||
@@ -23,6 +23,8 @@ type DBParticipant struct {
|
|||||||
WrapupRequired *bool
|
WrapupRequired *bool
|
||||||
|
|
||||||
Sessions []DBSession `gorm:"foreignKey:ParticipantId;references:Id"`
|
Sessions []DBSession `gorm:"foreignKey:ParticipantId;references:Id"`
|
||||||
|
Calls []DBCall `gorm:"foreignKey:ParticipantId;referencesId`
|
||||||
|
User GCUser `gorm:"foreignKey:UserId;references:Id`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (DBParticipant) TableName() string {
|
func (DBParticipant) TableName() string {
|
||||||
|
|||||||
Reference in New Issue
Block a user