model

package
v0.0.0-...-f0e2e14 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	NodeLabelTenant                    = "Tenant"
	NodeLabelTenantSettings            = "TenantSettings"
	NodeLabelTenantBillingProfile      = "TenantBillingProfile"
	NodeLabelBankAccount               = "BankAccount"
	NodeLabelTimelineEvent             = "TimelineEvent"
	NodeLabelContact                   = "Contact"
	NodeLabelCustomField               = "CustomField"
	NodeLabelCustomFieldTemplate       = "CustomFieldTemplate"
	NodeLabelJobRole                   = "JobRole"
	NodeLabelEmail                     = "Email"
	NodeLabelLocation                  = "Location"
	NodeLabelInteractionEvent          = "InteractionEvent"
	NodeLabelInteractionSession        = "InteractionSession"
	NodeLabelNote                      = "Note"
	NodeLabelLogEntry                  = "LogEntry"
	NodeLabelMarkdownEvent             = "MarkdownEvent"
	NodeLabelOrganization              = "Organization"
	NodeLabelBillingProfile            = "BillingProfile"
	NodeLabelAction                    = "Action"
	NodeLabelPageView                  = "PageView"
	NodeLabelPhoneNumber               = "PhoneNumber"
	NodeLabelTag                       = "Tag"
	NodeLabelIssue                     = "Issue"
	NodeLabelUser                      = "User"
	NodeLabelAttachment                = "Attachment"
	NodeLabelMeeting                   = "Meeting"
	NodeLabelSocial                    = "Social"
	NodeLabelPlayer                    = "Player"
	NodeLabelCountry                   = "Country"
	NodeLabelActionItem                = "ActionItem"
	NodeLabelComment                   = "Comment"
	NodeLabelContract                  = "Contract"
	NodeLabelDeletedContract           = "DeletedContract"
	NodeLabelDomain                    = "Domain"
	NodeLabelServiceLineItem           = "ServiceLineItem"
	NodeLabelOpportunity               = "Opportunity"
	NodeLabelInvoicingCycle            = "InvoicingCycle"
	NodeLabelExternalSystem            = "ExternalSystem"
	NodeLabelInvoice                   = "Invoice"
	NodeLabelInvoiceLine               = "InvoiceLine"
	NodeLabelReminder                  = "Reminder"
	NodeLabelFlow                      = "Flow"
	NodeLabelFlowAction                = "FlowAction"
	NodeLabelFlowParticipant           = "FlowParticipant"
	NodeLabelFlowSender                = "FlowSender"
	NodeLabelFlowExecutionSettings     = "FlowExecutionSettings"
	NodeLabelFlowActionExecution       = "FlowActionExecution"
	NodeLabelLinkedinConnectionRequest = "LinkedinConnectionRequest"
)

Variables

This section is empty.

Functions

func GetTenantFromLabels

func GetTenantFromLabels(labels []string, nodeLabel string) string

func NodeLabelWithTenant

func NodeLabelWithTenant(label string, tenant string) string

func UnmarshalDateTime

func UnmarshalDateTime(input string) (*time.Time, error)

Types

type AnyTypeValue

type AnyTypeValue struct {
	Str   *string
	Int   *int64
	Time  *time.Time
	Bool  *bool
	Float *float64

	ArrayStr  *[]string
	ArrayInt  *[]int64
	ArrayBool *[]bool
	ArrayTime *[]time.Time
}

func UnmarshalAnyTypeValue

func UnmarshalAnyTypeValue(input any) (AnyTypeValue, error)

type ComparisonOperator

type ComparisonOperator string
const (
	//deprecated
	ComparisonOperatorEq          ComparisonOperator = "EQ"
	ComparisonOperatorEquals      ComparisonOperator = "EQUALS"
	ComparisonOperatorNotEquals   ComparisonOperator = "NOT_EQUALS"
	ComparisonOperatorContains    ComparisonOperator = "CONTAINS"
	ComparisonOperatorNotContains ComparisonOperator = "NOT_CONTAINS"
	ComparisonOperatorStartsWith  ComparisonOperator = "STARTS_WITH"
	ComparisonOperatorLte         ComparisonOperator = "LTE"
	ComparisonOperatorGte         ComparisonOperator = "GTE"
	ComparisonOperatorIn          ComparisonOperator = "IN"
	ComparisonOperatorNotIn       ComparisonOperator = "NOT_IN"
	ComparisonOperatorBetween     ComparisonOperator = "BETWEEN"
	ComparisonOperatorIsNull      ComparisonOperator = "IS_NULL"
	ComparisonOperatorIsNotNull   ComparisonOperator = "IS_NOT_NULL"
	ComparisonOperatorIsEmpty     ComparisonOperator = "IS_EMPTY"
	ComparisonOperatorIsNotEmpty  ComparisonOperator = "IS_NOT_EMPTY"
	ComparisonOperatorLt          ComparisonOperator = "LT"
	ComparisonOperatorGt          ComparisonOperator = "GT"

	ComparisonOperatorCountRelation ComparisonOperator = "COUNT_RELATION"
)

type EntityRelation

type EntityRelation string
const (
	BELONGS_TO_TENANT EntityRelation = "BELONGS_TO_TENANT"
	HAS               EntityRelation = "HAS"
	HAS_OPPORTUNITY   EntityRelation = "HAS_OPPORTUNITY"
	INCLUDES          EntityRelation = "INCLUDES"
	RECORDING         EntityRelation = "RECORDING"
	PART_OF           EntityRelation = "PART_OF"
	REPLIES_TO        EntityRelation = "REPLIES_TO"
	SENT_BY           EntityRelation = "SENT_BY"
	SENT_TO           EntityRelation = "SENT_TO"
	NEXT              EntityRelation = "NEXT"
	CONNECTED_WITH    EntityRelation = "CONNECTED_WITH"
)

func (EntityRelation) String

func (entityRelation EntityRelation) String() string

type EntityType

type EntityType string
const (
	ATTACHMENT               EntityType = "ATTACHMENT"
	COMMENT                  EntityType = "COMMENT"
	CONTACT                  EntityType = "CONTACT"
	CONTRACT                 EntityType = "CONTRACT"
	CUSTOM_FIELD             EntityType = "CUSTOM_FIELD"
	CUSTOM_FIELD_TEMPLATE    EntityType = "CUSTOM_FIELD_TEMPLATE"
	DOMAIN                   EntityType = "DOMAIN"
	EMAIL                    EntityType = "EMAIL"
	FLOW                     EntityType = "FLOW"
	FLOW_ACTION              EntityType = "FLOW_ACTION"
	FLOW_ACTION_EVENT        EntityType = "FLOW_ACTION_EVENT"
	FLOW_ACTION_RESULT_EVENT EntityType = "FLOW_ACTION_RESULT_EVENT"
	FLOW_PARTICIPANT         EntityType = "FLOW_PARTICIPANT"
	FLOW_SENDER              EntityType = "FLOW_SENDER"
	INTERACTION_EVENT        EntityType = "INTERACTION_EVENT"
	INTERACTION_SESSION      EntityType = "INTERACTION_SESSION"
	INVOICE                  EntityType = "INVOICE"
	ISSUE                    EntityType = "ISSUE"
	LOG_ENTRY                EntityType = "LOG_ENTRY"
	MAILBOX                  EntityType = "MAILBOX"
	MAILSTACK_BUY_REQUEST    EntityType = "MAILSTACK_BUY_REQUEST"
	MARKDOWN_EVENT           EntityType = "MARKDOWN_EVENT"
	MEETING                  EntityType = "MEETING"
	NOTE                     EntityType = "NOTE"
	OPPORTUNITY              EntityType = "OPPORTUNITY"
	ORGANIZATION             EntityType = "ORGANIZATION"
	PHONE_NUMBER             EntityType = "PHONE_NUMBER"
	REMINDER                 EntityType = "REMINDER"
	SERVICE_LINE_ITEM        EntityType = "SERVICE_LINE_ITEM"
	SOCIAL                   EntityType = "SOCIAL"
	TENANT                   EntityType = "TENANT"
	TENANT_SETTINGS          EntityType = "TENANT_SETTINGS"
	USER                     EntityType = "USER"
	WEBHOOK_EVENT            EntityType = "WEBHOOK"
)

func DecodeEntityType

func DecodeEntityType(s string) EntityType

func (EntityType) Neo4jLabel

func (entityType EntityType) Neo4jLabel() string

func (EntityType) String

func (entityType EntityType) String() string

type Filter

type Filter struct {
	Not    *Filter     `json:"NOT,omitempty"`
	And    []*Filter   `json:"AND,omitempty"`
	Or     []*Filter   `json:"OR,omitempty"`
	Filter *FilterItem `json:"filter,omitempty"`
}

func UnmarshalFilter

func UnmarshalFilter(input string) (*Filter, error)

type FilterItem

type FilterItem struct {
	Property      string             `json:"property"`
	Operation     ComparisonOperator `json:"operation"`
	CaseSensitive *bool              `json:"caseSensitive,omitempty"`
	IncludeEmpty  *bool              `json:"includeEmpty,omitempty"`
	Value         AnyTypeValue       `json:"-"`
	JsonValue     interface{}        `json:"value"`
}

type SaveEmailMessage

type SaveEmailMessage struct {
	Html      string
	Text      string
	Subject   string
	CreatedAt time.Time

	ContactsExternalIds []string
	UserExternalId      string
	EmailThreadId       string
	ExternalId          string
	ExternalSystem      string

	FromEmail string
	ToEmail   []string
	CcEmail   []string
	BccEmail  []string

	Channel     string
	ChannelData *string

	FromFirstName string
	FromLastName  string
}

type SortBy

type SortBy struct {
	By            string           `json:"by"`
	Direction     SortingDirection `json:"direction"`
	CaseSensitive *bool            `json:"caseSensitive,omitempty"`
}

type SortingDirection

type SortingDirection string
const (
	SortingDirectionAsc  SortingDirection = "ASC"
	SortingDirectionDesc SortingDirection = "DESC"
)

Jump to

Keyboard shortcuts

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