entity

package
v0.0.0-...-c85e528 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 18, 2025 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CustomFieldTextProperty  propertyName = "textValue"
	CustomFieldIntProperty   propertyName = "intValue"
	CustomFieldFloatProperty propertyName = "floatValue"
	CustomFieldBoolProperty  propertyName = "boolValue"
	CustomFieldTimeProperty  propertyName = "timeValue"
)

Variables

Functions

func IsValidMeetingStatus

func IsValidMeetingStatus(s string) bool

Types

type ActionItemEntities

type ActionItemEntities []ActionItemEntity

type ActionItemEntity

type ActionItemEntity struct {
	Id        string
	CreatedAt *time.Time

	Content string

	Source        neo4jentity.DataSource
	SourceOfTruth neo4jentity.DataSource
	AppSource     string

	DataloaderKey string
}

Deprecated, use neo4j module instead

func (ActionItemEntity) Labels

func (entity ActionItemEntity) Labels(tenant string) []string

func (ActionItemEntity) ToString

func (entity ActionItemEntity) ToString() string

type CalendarEntities

type CalendarEntities []CalendarEntity

type CalendarEntity

type CalendarEntity struct {
	Id            string
	CalType       string
	Link          string
	Primary       bool
	CreatedAt     time.Time
	UpdatedAt     time.Time
	Source        neo4jentity.DataSource
	SourceOfTruth neo4jentity.DataSource
	AppSource     string

	DataloaderKey string
}

Deprecated, use neo4j module instead

func (CalendarEntity) Labels

func (calendar CalendarEntity) Labels(tenant string) []string

func (CalendarEntity) ToString

func (calendar CalendarEntity) ToString() string

type CustomFieldEntities

type CustomFieldEntities []CustomFieldEntity

type CustomFieldEntity

type CustomFieldEntity struct {
	Id            *string
	Name          string
	DataType      string
	Value         model.AnyTypeValue
	TemplateId    *string
	Source        neo4jentity.DataSource
	SourceOfTruth neo4jentity.DataSource
	CreatedAt     time.Time
	UpdatedAt     time.Time
}

func (*CustomFieldEntity) AdjustValueByDatatype

func (f *CustomFieldEntity) AdjustValueByDatatype()

func (*CustomFieldEntity) Labels

func (f *CustomFieldEntity) Labels() []string

func (*CustomFieldEntity) NodeLabel

func (f *CustomFieldEntity) NodeLabel() string

func (*CustomFieldEntity) PropertyName

func (f *CustomFieldEntity) PropertyName() string

func (*CustomFieldEntity) ToString

func (f *CustomFieldEntity) ToString() string

type DashboardViewResultEntity

type DashboardViewResultEntity struct {
	Organization *neo4jentity.OrganizationEntity
	Contact      *neo4jentity.ContactEntity
}

type EntityTemplateEntities

type EntityTemplateEntities []EntityTemplateEntity

type EntityTemplateEntity

type EntityTemplateEntity struct {
	Id           string
	Name         string
	Extends      *string
	Version      int64
	CreatedAt    time.Time
	UpdatedAt    time.Time
	CustomFields []*neo4jentity.CustomFieldTemplateEntity
}

func (EntityTemplateEntity) Labels

func (template EntityTemplateEntity) Labels() []string

func (EntityTemplateEntity) ToString

func (template EntityTemplateEntity) ToString() string

type LastTouchpointType

type LastTouchpointType string

type MeetingRelation

type MeetingRelation string
const (
	CREATED_BY  MeetingRelation = "CREATED_BY"
	ATTENDED_BY MeetingRelation = "ATTENDED_BY"
)

type MeetingStatus

type MeetingStatus string
const (
	MeetingStatusUndefined MeetingStatus = ""
	MeetingStatusAccepted  MeetingStatus = "ACCEPTED"
	MeetingStatusCanceled  MeetingStatus = "CANCELED"
)

func GetMeetingStatus

func GetMeetingStatus(s string) MeetingStatus

type Neo4jNode

type Neo4jNode interface {
	Labels(tenant string) []string
}

type NoteEntities

type NoteEntities []NoteEntity

type NoteEntity

type NoteEntity struct {
	Id            string
	Content       string
	ContentType   string
	CreatedAt     time.Time
	UpdatedAt     time.Time
	Source        neo4jentity.DataSource
	SourceOfTruth neo4jentity.DataSource
	AppSource     string

	DataloaderKey string
}

Deprecated, use neo4j module instead

func (NoteEntity) GetDataloaderKey

func (note NoteEntity) GetDataloaderKey() string

func (NoteEntity) IsTimelineEvent

func (NoteEntity) IsTimelineEvent()

func (NoteEntity) Labels

func (note NoteEntity) Labels(tenant string) []string

func (*NoteEntity) SetDataloaderKey

func (note *NoteEntity) SetDataloaderKey(key string)

func (NoteEntity) TimelineEventLabel

func (NoteEntity) TimelineEventLabel() string

func (NoteEntity) ToString

func (note NoteEntity) ToString() string

type PageViewEntities

type PageViewEntities []PageViewEntity

type PageViewEntity

type PageViewEntity struct {
	Id             string
	Application    string
	TrackerName    string
	SessionId      string
	PageUrl        string
	PageTitle      string
	OrderInSession int64
	EngagedTime    int64
	StartedAt      time.Time
	EndedAt        time.Time
	Source         neo4jentity.DataSource
	SourceOfTruth  neo4jentity.DataSource
	AppSource      string

	DataloaderKey string
}

func (PageViewEntity) GetDataloaderKey

func (pageView PageViewEntity) GetDataloaderKey() string

func (PageViewEntity) IsTimelineEvent

func (PageViewEntity) IsTimelineEvent()

func (PageViewEntity) Labels

func (pageView PageViewEntity) Labels() []string

func (*PageViewEntity) SetDataloaderKey

func (pageView *PageViewEntity) SetDataloaderKey(key string)

func (PageViewEntity) TimelineEventLabel

func (PageViewEntity) TimelineEventLabel() string

func (PageViewEntity) ToString

func (pageView PageViewEntity) ToString() string

type RenewalsRecordEntities

type RenewalsRecordEntities []RenewalsRecordEntity

type RenewalsRecordEntity

type RenewalsRecordEntity struct {
	Organization neo4jentity.OrganizationEntity
	Contract     neo4jentity.ContractEntity
	Opportunity  neo4jentity.OpportunityEntity
}

type SearchResultEntities

type SearchResultEntities []SearchResultEntity

type SearchResultEntity

type SearchResultEntity struct {
	Score      float64
	Labels     []string
	Node       any
	EntityType SearchResultEntityType
}

type SearchResultEntityType

type SearchResultEntityType string
const (
	SearchResultEntityTypeContact      SearchResultEntityType = "CONTACT"
	SearchResultEntityTypeOrganization SearchResultEntityType = "ORGANIZATION"
	SearchResultEntityTypeEmail        SearchResultEntityType = "EMAIL"
	SearchResultEntityTypeState        SearchResultEntityType = "STATE"
)

type SourceFields

type SourceFields struct {
	Source        neo4jentity.DataSource `json:"source"`
	SourceOfTruth neo4jentity.DataSource `json:"sourceOfTruth"`
	AppSource     string                 `json:"appSource"`
}

type TimelineEvent

type TimelineEvent interface {
	IsTimelineEvent()
	TimelineEventLabel() string
	SetDataloaderKey(key string)
	GetDataloaderKey() string
}

type TimelineEventEntities

type TimelineEventEntities []TimelineEvent

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL