Compare commits
8 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| ee521aa378 | |||
| c106209130 | |||
| 4c6eed2e47 | |||
| 0f4223e873 | |||
| faca742f5f | |||
| 3823096f4c | |||
| c9a99faa54 | |||
| e8aeb4d3b7 |
@@ -9,23 +9,9 @@ type DBAmendment struct {
|
||||
AmendmentValue string
|
||||
Requestor string
|
||||
RequestedAt time.Time
|
||||
Sequence string
|
||||
}
|
||||
|
||||
func (DBAmendment) TableName() string {
|
||||
return "gc_amendments"
|
||||
}
|
||||
|
||||
type DBAmendmentLog struct {
|
||||
Id int `gorm:"primaryKey;autoIncrement"`
|
||||
ConversationId string `gorm:"index"`
|
||||
AmendmentColumn string
|
||||
OldValue string
|
||||
NewValue string
|
||||
Requestor string
|
||||
RequestedAt time.Time
|
||||
AmendedAt time.Time
|
||||
}
|
||||
|
||||
func (DBAmendmentLog) TableName() string {
|
||||
return "gc_amendment_logs"
|
||||
}
|
||||
|
||||
@@ -19,6 +19,7 @@ type BaseCall struct {
|
||||
IvrData *int
|
||||
UtsEntries int
|
||||
InterpreterCount int
|
||||
Status string
|
||||
}
|
||||
|
||||
func (BaseCall) TableName() string {
|
||||
@@ -61,21 +62,32 @@ func (InterpreterConnection) TableName() string {
|
||||
}
|
||||
|
||||
type CallStat struct {
|
||||
ClientConversationId string `gorm:"primaryKey;index"`
|
||||
CallType string `gorm:"index"`
|
||||
ClientId int `gorm:"index"`
|
||||
CustomerDnis string
|
||||
CustomerAni string
|
||||
P1ConnectTime time.Time `gorm:"index"`
|
||||
P1DisconnectTime time.Time `gorm:"index"`
|
||||
BookingRequestNumber *int `gorm:"index"`
|
||||
UtsQueue bool
|
||||
InterpreterCount int
|
||||
InterpreterConnected bool
|
||||
ClientDisconnected bool
|
||||
UtsDuration int
|
||||
UtsEntries int
|
||||
Status string
|
||||
ClientConversationId string `gorm:"primaryKey;index"`
|
||||
CallType string `gorm:"index"`
|
||||
ClientId int `gorm:"index"`
|
||||
CustomerDnis string
|
||||
CustomerAni string
|
||||
ConversationStart time.Time `gorm:"index"`
|
||||
ConversationEnd time.Time `gorm:"index"`
|
||||
SearchStartTime *time.Time
|
||||
P1ConnectTime time.Time `gorm:"index"`
|
||||
P1DisconnectTime time.Time `gorm:"index"`
|
||||
BookingRequestNumber *int `gorm:"index"`
|
||||
UtsQueue bool
|
||||
InterpreterAcceptedCount int
|
||||
InterpreterAccepted bool
|
||||
InterpreterConnectedCount int
|
||||
InterpreterConnected bool
|
||||
// InterpreterCount int
|
||||
// InterpreterConnected bool
|
||||
ClientDisconnected bool
|
||||
UtsDuration int
|
||||
UtsEntries int
|
||||
Status string
|
||||
SubStatus string
|
||||
FirstLanguageId int
|
||||
LastLanguageId int
|
||||
FirstInterpreter string
|
||||
}
|
||||
|
||||
func (CallStat) TableName() string {
|
||||
|
||||
@@ -20,7 +20,7 @@ type DBClientProcessed struct {
|
||||
// ---
|
||||
BuggedCall bool
|
||||
Amended bool
|
||||
CreatedAt time.Time
|
||||
CreatedAt time.Time `gorm:"autoCreateTime"`
|
||||
ModifiedAt time.Time
|
||||
CustomData *string `gorm:"type:json"`
|
||||
InternalUse *string `gorm:"type:json"`
|
||||
@@ -54,7 +54,7 @@ type DBClientProcessed struct {
|
||||
// PARTNER DETAILS:
|
||||
// ---
|
||||
PartnerBill float64
|
||||
ParnterRate float64
|
||||
PartnerRate float64
|
||||
|
||||
// TIMESTAMP DETAILS:
|
||||
// ---
|
||||
@@ -85,7 +85,7 @@ type DBInterpreterProcessed struct {
|
||||
// ---
|
||||
BuggedCall bool
|
||||
Amended bool
|
||||
CreatedAt time.Time
|
||||
CreatedAt time.Time `gorm:"autoCreateTime"`
|
||||
ModifiedAt time.Time
|
||||
CustomData *string `gorm:"type:json"`
|
||||
InternalUse *string `gorm:"type:json"`
|
||||
|
||||
Reference in New Issue
Block a user