Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| ab6b36c12c | |||
| f69b849ed7 | |||
| 3e103f18a5 | |||
| 746a492cd4 |
@@ -2,12 +2,9 @@ package models
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"gorm.io/gorm"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
type DBCall struct {
|
type DBCall struct {
|
||||||
gorm.Model
|
|
||||||
AfterCallWorkRequired bool
|
AfterCallWorkRequired bool
|
||||||
Confined bool
|
Confined bool
|
||||||
ConnectedTime *time.Time `gorm:"index"`
|
ConnectedTime *time.Time `gorm:"index"`
|
||||||
|
|||||||
@@ -2,12 +2,9 @@ package models
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"gorm.io/gorm"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
type DBConversation struct {
|
type DBConversation struct {
|
||||||
gorm.Model
|
|
||||||
Address *string
|
Address *string
|
||||||
DivisionIds *string `gorm:"type:json"`
|
DivisionIds *string `gorm:"type:json"`
|
||||||
End *time.Time `gorm:"index"`
|
End *time.Time `gorm:"index"`
|
||||||
|
|||||||
@@ -2,12 +2,9 @@ package models
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"gorm.io/gorm"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
type DBParticipant struct {
|
type DBParticipant struct {
|
||||||
gorm.Model
|
|
||||||
Address *string
|
Address *string
|
||||||
Attributes *string `gorm:"type:json"`
|
Attributes *string `gorm:"type:json"`
|
||||||
ConnectedTime *time.Time `gorm:"index"`
|
ConnectedTime *time.Time `gorm:"index"`
|
||||||
|
|||||||
@@ -1,5 +1,10 @@
|
|||||||
package models
|
package models
|
||||||
|
|
||||||
|
type AnalyticsConversationWithAttributesQuery struct {
|
||||||
|
Conversations []AnalyticsConversationWithAttributes `json:"conversations"`
|
||||||
|
Cursor *string `json:"cursor"`
|
||||||
|
}
|
||||||
|
|
||||||
type AnalyticsConversationWithAttributes struct {
|
type AnalyticsConversationWithAttributes struct {
|
||||||
ConversationEnd string `json:"conversationEnd"`
|
ConversationEnd string `json:"conversationEnd"`
|
||||||
ConversationId string `json:"conversationId"`
|
ConversationId string `json:"conversationId"`
|
||||||
|
|||||||
@@ -2,12 +2,9 @@ package models
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"gorm.io/gorm"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
type DBSegment struct {
|
type DBSegment struct {
|
||||||
gorm.Model
|
|
||||||
Id string `gorm:"primaryKey;index"`
|
Id string `gorm:"primaryKey;index"`
|
||||||
Conference bool
|
Conference bool
|
||||||
DisconnectType string
|
DisconnectType string
|
||||||
|
|||||||
@@ -1,9 +1,6 @@
|
|||||||
package models
|
package models
|
||||||
|
|
||||||
import "gorm.io/gorm"
|
|
||||||
|
|
||||||
type DBSession struct {
|
type DBSession struct {
|
||||||
gorm.Model
|
|
||||||
Ani string
|
Ani string
|
||||||
Direction string
|
Direction string
|
||||||
Dnis string
|
Dnis string
|
||||||
|
|||||||
Reference in New Issue
Block a user