2021-01-10 23:44:39 +00:00
|
|
|
package app
|
2021-01-10 18:40:46 +00:00
|
|
|
|
|
|
|
import (
|
|
|
|
"database/sql"
|
|
|
|
)
|
|
|
|
|
2021-01-19 20:23:02 +00:00
|
|
|
// TaskActivityWrapper wraps the object with workflow params
|
|
|
|
type TaskActivityWrapper struct {
|
2021-01-12 05:46:24 +00:00
|
|
|
// Obj workflow_models.Task
|
2021-01-19 01:50:45 +00:00
|
|
|
APIKey string
|
|
|
|
SagaID string
|
|
|
|
SagaType string
|
2021-01-12 05:46:24 +00:00
|
|
|
}
|
|
|
|
|
2021-01-10 18:40:46 +00:00
|
|
|
// Task is a first class object type
|
|
|
|
type Task struct {
|
|
|
|
AccountID string
|
|
|
|
ActivityDate sql.NullTime
|
|
|
|
APIName string
|
|
|
|
Body string
|
|
|
|
CallDisposition string
|
|
|
|
CallDurationInSeconds int
|
|
|
|
CallObject string
|
|
|
|
CallType string
|
|
|
|
CommentCount int
|
|
|
|
CreatedByID string
|
|
|
|
CreatedDate sql.NullTime
|
|
|
|
Description string
|
|
|
|
ID string
|
|
|
|
InsertedByID string
|
|
|
|
IsArchived bool
|
|
|
|
IsClosed bool
|
|
|
|
IsDefault bool
|
|
|
|
IsHighPriority bool
|
|
|
|
IsRecurrence bool
|
|
|
|
IsReminderset bool
|
|
|
|
IsRichText bool
|
|
|
|
IsVisibleInSelfService bool
|
|
|
|
IsWhat bool
|
|
|
|
LastModifiedByID string
|
|
|
|
LastModifeidDate sql.NullTime
|
|
|
|
LikeCount int
|
|
|
|
LinkURL string
|
|
|
|
MasterLabel string
|
|
|
|
NetworkScope string
|
|
|
|
OwnerID string
|
|
|
|
ParentID string
|
|
|
|
Priority string
|
|
|
|
RelationID string
|
|
|
|
ReminderDateTime sql.NullTime
|
|
|
|
SortOrder int
|
|
|
|
Status string
|
|
|
|
Subject string
|
|
|
|
TaskID string
|
|
|
|
TaskSubtype string
|
|
|
|
Title string
|
|
|
|
Type string
|
|
|
|
Visibility string
|
|
|
|
WhatCount int
|
|
|
|
WhatID string
|
|
|
|
WhoCount int
|
|
|
|
WhoID string
|
|
|
|
}
|