Documentation ¶
Index ¶
- Constants
- Variables
- func BuildEmailChannelData(messageId, threadId, subject, inReplyTo, references string) (*string, error)
- func IsValidDataSource(s string) bool
- func OrganizationStageAndRelationshipCompatible(stageStr, relationshipStr string) bool
- type ActionEntities
- type ActionEntity
- type AttachmentEntities
- type AttachmentEntity
- type AttachmentProperty
- type BankAccountEntities
- type BankAccountEntity
- type BillingProfileEntities
- type BillingProfileEntity
- type CommentEntities
- type CommentEntity
- type ContactEnrichDetails
- type ContactEntities
- type ContactEntity
- func (c ContactEntity) DeriveFirstAndLastNames() (string, string)
- func (ContactEntity) EntityLabel() string
- func (c ContactEntity) GetDataloaderKey() string
- func (ContactEntity) IsInteractionEventParticipant()
- func (ContactEntity) IsInteractionSessionParticipant()
- func (ContactEntity) IsIssueParticipant()
- func (ContactEntity) IsMeetingParticipant()
- func (c ContactEntity) Labels(tenant string) []string
- type ContactInternalFields
- type ContactProperty
- type ContractEntities
- type ContractEntity
- type ContractInternalFields
- type CountryEntities
- type CountryEntity
- type CustomFieldTemplateEntities
- type CustomFieldTemplateEntity
- type CustomFieldTemplateProperty
- type DataLoaderKey
- type DataSource
- type DerivedData
- type DomainEntities
- type DomainEntity
- type DomainInternalFields
- type DomainProperty
- type EmailChannelData
- type EmailEntities
- type EmailEntity
- type EmailInternalFields
- type EmailProperty
- type EventStoreAggregate
- type ExternalSystemEntities
- type ExternalSystemEntity
- type FlowActionEntities
- type FlowActionEntity
- type FlowActionExecutionEntities
- type FlowActionExecutionEntity
- type FlowActionExecutionStatus
- type FlowActionType
- type FlowEntities
- type FlowEntity
- type FlowExecutionSettingsEntity
- type FlowParticipantEntities
- type FlowParticipantEntity
- type FlowParticipantStatus
- type FlowSenderEntities
- type FlowSenderEntity
- type FlowStatus
- type InteractionEventEntities
- type InteractionEventEntity
- type InteractionEventParticipant
- type InteractionEventParticipantDetails
- type InteractionEventParticipants
- type InteractionSessionEntities
- type InteractionSessionEntity
- type InteractionSessionParticipant
- type InteractionSessionParticipantDetails
- type InteractionSessionParticipants
- type InvoiceCustomer
- type InvoiceEntities
- type InvoiceEntity
- type InvoiceInternalFields
- type InvoiceLineEntities
- type InvoiceLineEntity
- type InvoiceProperty
- type InvoiceProvider
- type IssueEntities
- type IssueEntity
- type IssueParticipant
- type IssueParticipantDetails
- type IssueParticipants
- type JobRoleEntities
- type JobRoleEntity
- type LinkedinConnectionRequest
- type LinkedinConnectionRequestStatus
- type LocationEntities
- type LocationEntity
- type LocationProperty
- type LogEntryEntities
- type LogEntryEntity
- type MarkdownEventEntities
- type MarkdownEventEntity
- type MeetingEntity
- type MeetingParticipant
- type MeetingParticipants
- type Neo4jNode
- type NoteEntity
- type OnboardingDetails
- type OpportunityEntities
- type OpportunityEntity
- type OpportunityInternalFields
- type OpportunityProperty
- type OrganizationEnrichDetails
- type OrganizationEntities
- type OrganizationEntity
- func (OrganizationEntity) EntityLabel() string
- func (o OrganizationEntity) GetDataloaderKey() string
- func (o OrganizationEntity) IsHidden() bool
- func (OrganizationEntity) IsInteractionEventParticipant()
- func (OrganizationEntity) IsIssueParticipant()
- func (OrganizationEntity) IsMeetingParticipant()
- func (OrganizationEntity) IsNotedEntity()
- func (o OrganizationEntity) Labels(tenant string) []string
- type OrganizationInternalFields
- type OrganizationProperty
- type OrganizationWithJobRole
- type OrganizationWithJobRoleEntities
- type PageViewEntity
- type PaymentDetails
- type PersonEntities
- type PhoneNumberEntities
- type PhoneNumberEntity
- type PlayerEntity
- type PlayerRelation
- type ReminderEntity
- type RenewalDetails
- type RenewalSummary
- type SLIProperty
- type ServiceLineItemEntities
- type ServiceLineItemEntity
- type SocialEntities
- type SocialEntity
- type SocialProperty
- type StateEntity
- type TagEntities
- type TagEntity
- type TagProperty
- type TenantBillingProfileEntities
- type TenantBillingProfileEntity
- type TenantEntity
- type TenantSettingsEntity
- type TenantSettingsProperty
- type TimelineEvent
- type TimelineEventEntities
- type UserEntities
- type UserEntity
- func (UserEntity) EntityLabel() string
- func (e UserEntity) GetDataloaderKey() string
- func (u UserEntity) GetFullName() string
- func (UserEntity) IsInteractionEventParticipant()
- func (UserEntity) IsInteractionSessionParticipant()
- func (UserEntity) IsIssueParticipant()
- func (UserEntity) IsMeetingParticipant()
- type WorkspaceEntities
- type WorkspaceEntity
Constants ¶
View Source
const PropertyExternalSystemStripePaymentMethodTypes = "stripePaymentMethodTypes"
Variables ¶
View Source
var AllDataSource = []DataSource{ DataSourceAttio, DataSourceClose, DataSourceFathom, DataSourceGmail, DataSourceGrain, DataSourceHubspot, DataSourceIntercom, DataSourceMailstack, DataSourceMixpanel, DataSourceOpenline, DataSourceOutlook, DataSourcePipedrive, DataSourceSalesforce, DataSourceShopify, DataSourceSlack, DataSourceStripe, DataSourceUnthread, DataSourceWebscrape, DataSourceZendeskSell, DataSourceZendeskSupport, DataSourceFathom, DataSourceGrain, }
Functions ¶
func BuildEmailChannelData ¶
func IsValidDataSource ¶
Types ¶
type ActionEntities ¶
type ActionEntities []ActionEntity
type ActionEntity ¶
type ActionEntity struct { DataLoaderKey Id string CreatedAt time.Time Content string Metadata string Type neo4jenum.ActionType Source DataSource SourceOfTruth DataSource AppSource string }
func (*ActionEntity) GetDataloaderKey ¶
func (e *ActionEntity) GetDataloaderKey() string
func (ActionEntity) IsTimelineEvent ¶
func (ActionEntity) IsTimelineEvent()
func (*ActionEntity) Labels ¶
func (e *ActionEntity) Labels(tenant string) []string
func (*ActionEntity) SetDataloaderKey ¶
func (e *ActionEntity) SetDataloaderKey(key string)
func (ActionEntity) TimelineEventLabel ¶
func (ActionEntity) TimelineEventLabel() string
type AttachmentEntities ¶
type AttachmentEntities []AttachmentEntity
type AttachmentEntity ¶
type AttachmentEntity struct { DataLoaderKey Id string CreatedAt *time.Time CdnUrl string BasePath string FileName string MimeType string Size int64 PublicUrl string PublicUrlExpiresAt *time.Time Source DataSource SourceOfTruth DataSource AppSource string }
type AttachmentProperty ¶
type AttachmentProperty string
const ( AttachmentPropertyPublicUrl AttachmentProperty = "publicUrl" AttachmentPropertyPublicUrlExpiresAt AttachmentProperty = "publicUrlExpiresAt" )
type BankAccountEntities ¶
type BankAccountEntities []BankAccountEntity
type BankAccountEntity ¶
type BankAccountEntity struct { Id string CreatedAt time.Time UpdatedAt time.Time Source DataSource SourceOfTruth DataSource AppSource string BankName string BankTransferEnabled bool AllowInternational bool Currency enum.Currency Iban string Bic string SortCode string AccountNumber string RoutingNumber string OtherDetails string }
type BillingProfileEntities ¶
type BillingProfileEntities []BillingProfileEntity
type BillingProfileEntity ¶
type BillingProfileEntity struct { Id string CreatedAt time.Time UpdatedAt time.Time LegalName string TaxId string Source DataSource SourceOfTruth DataSource AppSource string }
Deprecated - to be checked of not used and remove it
type CommentEntities ¶
type CommentEntities []CommentEntity
type CommentEntity ¶
type ContactEnrichDetails ¶
type ContactEnrichDetails struct { EnrichRequestedAt *time.Time EnrichedAt *time.Time EnrichFailedAt *time.Time EnrichAttempts int64 BettercontactFoundEmailAt *time.Time // TODO alexb check how it is used EnrichedScrapinRecordId string FindWorkEmailWithBetterContactRequestedId *string FindWorkEmailWithBetterContactRequestedAt *time.Time FindWorkEmailWithBetterContactCompletedAt *time.Time FindWorkEmailWithBetterContactFound *bool FindMobilePhoneWithBetterContactRequestedId *string FindMobilePhoneWithBetterContactRequestedAt *time.Time FindMobilePhoneWithBetterContactCompletedAt *time.Time FindMobilePhoneWithBetterContactFound *bool }
type ContactEntities ¶
type ContactEntities []ContactEntity
type ContactEntity ¶
type ContactEntity struct { DataLoaderKey EventStoreAggregate Id string CreatedAt time.Time `neo4jDb:"property:createdAt;lookupName:CREATED_AT"` UpdatedAt time.Time `neo4jDb:"property:updatedAt;lookupName:UPDATED_AT"` Source DataSource AppSource string Prefix string `neo4jDb:"property:prefix;lookupName:PREFIX;supportCaseSensitive:true"` Name string `neo4jDb:"property:name;lookupName:NAME;supportCaseSensitive:true"` FirstName string `neo4jDb:"property:firstName;lookupName:FIRST_NAME;supportCaseSensitive:true"` LastName string `neo4jDb:"property:lastName;lookupName:LAST_NAME;supportCaseSensitive:true"` Description string `neo4jDb:"property:description;lookupName:DESCRIPTION;supportCaseSensitive:true"` Timezone string `neo4jDb:"property:timezone;lookupName:TIMEZONE;supportCaseSensitive:true"` ProfilePhotoUrl string `neo4jDb:"property:profilePhotoUrl;lookupName:PROFILE_PHOTO_URL;supportCaseSensitive:true"` Hide bool `neo4jDb:"property:hide;lookupName:HIDE;supportCaseSensitive:false"` Username string `neo4jDb:"property:username;lookupName:USERNAME;supportCaseSensitive:true"` HiddenAt *time.Time InteractionEventParticipantDetails InteractionEventParticipantDetails InteractionSessionParticipantDetails InteractionSessionParticipantDetails ContactInternalFields ContactInternalFields EnrichDetails ContactEnrichDetails }
func (ContactEntity) DeriveFirstAndLastNames ¶
func (c ContactEntity) DeriveFirstAndLastNames() (string, string)
func (ContactEntity) EntityLabel ¶
func (ContactEntity) EntityLabel() string
func (ContactEntity) GetDataloaderKey ¶
func (c ContactEntity) GetDataloaderKey() string
func (ContactEntity) IsInteractionEventParticipant ¶
func (ContactEntity) IsInteractionEventParticipant()
func (ContactEntity) IsInteractionSessionParticipant ¶
func (ContactEntity) IsInteractionSessionParticipant()
func (ContactEntity) IsIssueParticipant ¶
func (ContactEntity) IsIssueParticipant()
func (ContactEntity) IsMeetingParticipant ¶
func (ContactEntity) IsMeetingParticipant()
func (ContactEntity) Labels ¶
func (c ContactEntity) Labels(tenant string) []string
type ContactInternalFields ¶
type ContactProperty ¶
type ContactProperty string
const ( ContactPropertyEnrichedAt ContactProperty = "enrichedAt" ContactPropertyEnrichFailedAt ContactProperty = "enrichFailedAt" ContactPropertyEnrichRequestedAt ContactProperty = "techEnrichRequestedAt" ContactPropertyEnrichAttempts ContactProperty = "techEnrichAttempts" ContactPropertyEnrichedScrapinRecordId ContactProperty = "enrichedScrapinRecordId" ContactPropertyBettercontactFoundEmailAt ContactProperty = "bettercontactFoundEmailAt" ContactPropertyFindWorkEmailWithBetterContactRequestedId ContactProperty = "techFindWorkEmailWithBetterContactRequestId" ContactPropertyFindWorkEmailWithBetterContactRequestedAt ContactProperty = "techFindWorkEmailWithBetterContactRequestedAt" ContactPropertyFindWorkEmailWithBetterContactCompletedAt ContactProperty = "techFindWorkEmailWithBetterContactCompletedAt" ContactPropertyFindWorkEmailWithBetterContactFound ContactProperty = "techFindWorkEmailWithBetterContactFound" ContactPropertyFindMobilePhoneWithBetterContactRequestedId ContactProperty = "techFindMobilePhoneWithBetterContactRequestId" ContactPropertyFindMobilePhoneWithBetterContactRequestedAt ContactProperty = "techFindMobilePhoneWithBetterContactRequestedAt" ContactPropertyFindMobilePhoneWithBetterContactCompletedAt ContactProperty = "techFindMobilePhoneWithBetterContactCompletedAt" ContactPropertyFindMobilePhoneWithBetterContactFound ContactProperty = "techFindMobilePhoneWithBetterContactFound" ContactPropertyUpdateWithWorkEmailRequestedAt ContactProperty = "techUpdateWithWorkEmailRequestedAt" ContactPropertyCheckedAt ContactProperty = "techCheckedAt" ContactPropertyPrefix ContactProperty = "prefix" ContactPropertyName ContactProperty = "name" ContactPropertyFirstName ContactProperty = "firstName" ContactPropertyLastName ContactProperty = "lastName" ContactPropertyDescription ContactProperty = "description" ContactPropertyTimezone ContactProperty = "timezone" ContactPropertyProfilePhotoUrl ContactProperty = "profilePhotoUrl" ContactPropertyHide ContactProperty = "hide" ContactPropertyUsername ContactProperty = "username" ContactPropertyHiddenAt ContactProperty = "hiddenAt" )
type ContractEntities ¶
type ContractEntities []ContractEntity
type ContractEntity ¶
type ContractEntity struct { DataLoaderKey EventStoreAggregate Id string Name string `neo4jDb:"property:name;lookupName:NAME;supportCaseSensitive:true"` CreatedAt time.Time UpdatedAt time.Time ServiceStartedAt *time.Time // DateTime SignedAt *time.Time // DateTime EndedAt *time.Time `neo4jDb:"property:endedAt;lookupName:ENDED_AT;supportCaseSensitive:false"` // DateTime ContractStatus enum.ContractStatus Source DataSource SourceOfTruth DataSource AppSource string ContractUrl string InvoicingStartDate *time.Time // Date only NextInvoiceDate *time.Time // Date only BillingCycleInMonths int64 Currency enum.Currency TriggeredOnboardingStatusChange bool AddressLine1 string AddressLine2 string Zip string Locality string Country string Region string OrganizationLegalName string InvoiceEmail string InvoiceEmailCC []string InvoiceEmailBCC []string InvoiceNote string CanPayWithCard bool CanPayWithDirectDebit bool CanPayWithBankTransfer bool InvoicingEnabled bool PayOnline bool PayAutomatically bool AutoRenew bool Check bool DueDays int64 ContractInternalFields ContractInternalFields LengthInMonths int64 Approved bool Ltv float64 }
func (ContractEntity) IsDraft ¶
func (c ContractEntity) IsDraft() bool
func (ContractEntity) IsEligibleToStartOnboarding ¶
func (c ContractEntity) IsEligibleToStartOnboarding() bool
func (ContractEntity) IsEnded ¶
func (c ContractEntity) IsEnded() bool
func (ContractEntity) IsServiceStarted ¶
func (c ContractEntity) IsServiceStarted() bool
func (ContractEntity) IsSigned ¶
func (c ContractEntity) IsSigned() bool
type ContractInternalFields ¶
type CountryEntities ¶
type CountryEntities []CountryEntity
type CountryEntity ¶
type CustomFieldTemplateEntities ¶
type CustomFieldTemplateEntities []CustomFieldTemplateEntity
type CustomFieldTemplateEntity ¶
type CustomFieldTemplateEntity struct { DataLoaderKey Id string Name string EntityType model.EntityType Type string ValidValues []string Order *int64 Required *bool Length *int64 Min *int64 Max *int64 CreatedAt time.Time UpdatedAt time.Time }
func (CustomFieldTemplateEntity) EntityLabel ¶
func (cft CustomFieldTemplateEntity) EntityLabel() []string
type CustomFieldTemplateProperty ¶
type CustomFieldTemplateProperty string
const ( CustomFieldTemplatePropertyId CustomFieldTemplateProperty = "id" CustomFieldTemplatePropertyName CustomFieldTemplateProperty = "name" CustomFieldTemplatePropertyEntityType CustomFieldTemplateProperty = "entityType" CustomFieldTemplatePropertyType CustomFieldTemplateProperty = "type" CustomFieldTemplatePropertyValidValues CustomFieldTemplateProperty = "validValues" CustomFieldTemplatePropertyOrder CustomFieldTemplateProperty = "order" CustomFieldTemplatePropertyRequired CustomFieldTemplateProperty = "required" CustomFieldTemplatePropertyLength CustomFieldTemplateProperty = "length" CustomFieldTemplatePropertyMin CustomFieldTemplateProperty = "min" CustomFieldTemplatePropertyMax CustomFieldTemplateProperty = "max" CustomFieldTemplatePropertyCreatedAt CustomFieldTemplateProperty = "createdAt" CustomFieldTemplatePropertyUpdatedAt CustomFieldTemplateProperty = "updatedAt" )
type DataLoaderKey ¶
type DataLoaderKey struct {
DataloaderKey string
}
type DataSource ¶
type DataSource string
const ( DataSourceNA DataSource = "" DataSourceAttio DataSource = "attio" DataSourceClose DataSource = "close" DataSourceFathom DataSource = "fathom" DataSourceGmail DataSource = "gmail" DataSourceGrain DataSource = "grain" DataSourceHubspot DataSource = "hubspot" DataSourceIntercom DataSource = "intercom" DataSourceMailstack DataSource = "mailstack" DataSourceMixpanel DataSource = "mixpanel" DataSourceOpenline DataSource = "openline" DataSourceOutlook DataSource = "outlook" DataSourcePipedrive DataSource = "pipedrive" DataSourceSalesforce DataSource = "salesforce" DataSourceShopify DataSource = "shopify" DataSourceSlack DataSource = "slack" DataSourceStripe DataSource = "stripe" DataSourceUnthread DataSource = "unthread" DataSourceWebscrape DataSource = "webscrape" DataSourceZendeskSell DataSource = "zendesk-sell" DataSourceZendeskSupport DataSource = "zendesk_support" )
func DecodeDataSource ¶
func DecodeDataSource(s string) DataSource
func (DataSource) String ¶
func (ds DataSource) String() string
type DerivedData ¶
type DerivedData struct { ChurnedAt *time.Time `neo4jDb:"property:derivedNextRenewalAt;lookupName:CHURN_DATE;supportCaseSensitive:false"` Ltv float64 `neo4jDb:"property:derivedLtv;lookupName:LTV;supportCaseSensitive:false"` LtvCurrency enum.Currency `neo4jDb:"property:derivedLtvCurrency;lookupName:LTV_CURRENCY;supportCaseSensitive:false"` }
type DomainEntities ¶
type DomainEntities []DomainEntity
type DomainEntity ¶
type DomainEntity struct { DataLoaderKey CreatedAt time.Time UpdatedAt time.Time Domain string Source DataSource AppSource string IsPrimary *bool PrimaryDomain string InternalFields DomainInternalFields }
type DomainInternalFields ¶
type DomainProperty ¶
type DomainProperty string
const ( DomainPropertyCreatedAt DomainProperty = "createdAt" DomainPropertyUpdatedAt DomainProperty = "updatedAt" DomainPropertyDomain DomainProperty = "domain" DomainPropertySource DomainProperty = "source" DomainPropertyAppSource DomainProperty = "appSource" DomainPropertyIsPrimary DomainProperty = "primary" DomainPropertyPrimaryDomain DomainProperty = "primaryDomain" DomainPropertyPrimaryDomainCheckRequestedAt DomainProperty = "techPrimaryDomainCheckRequestedAt" )
type EmailChannelData ¶
type EmailEntities ¶
type EmailEntities []EmailEntity
type EmailEntity ¶
type EmailEntity struct { DataLoaderKey Id string Email string `neo4jDb:"property:email;lookupName:EMAIL;supportCaseSensitive:true"` RawEmail string `neo4jDb:"property:rawEmail;lookupName:RAW_EMAIL;supportCaseSensitive:true"` Work *bool Primary bool Source DataSource CreatedAt time.Time UpdatedAt time.Time IsValidSyntax *bool Username *string IsRisky *bool IsFirewalled *bool Provider *string Firewall *string IsCatchAll *bool Deliverable *string IsMailboxFull *bool IsRoleAccount *bool IsSystemGenerated *bool IsFreeAccount *bool SmtpSuccess *bool ResponseCode *string ErrorCode *string Description *string IsPrimaryDomain *bool PrimaryDomain *string AlternateEmail *string RetryValidation *bool EmailInternalFields EmailInternalFields InteractionEventParticipantDetails InteractionEventParticipantDetails InteractionSessionParticipantDetails InteractionSessionParticipantDetails }
func (EmailEntity) EntityLabel ¶
func (EmailEntity) EntityLabel() string
func (EmailEntity) GetDataloaderKey ¶
func (e EmailEntity) GetDataloaderKey() string
func (EmailEntity) IsInteractionEventParticipant ¶
func (EmailEntity) IsInteractionEventParticipant()
func (EmailEntity) IsInteractionSessionParticipant ¶
func (EmailEntity) IsInteractionSessionParticipant()
func (EmailEntity) IsMeetingParticipant ¶
func (EmailEntity) IsMeetingParticipant()
func (EmailEntity) Labels ¶
func (e EmailEntity) Labels(tenant string) []string
type EmailInternalFields ¶
type EmailProperty ¶
type EmailProperty string
const ( EmailPropertyEmail EmailProperty = "email" EmailPropertyRawEmail EmailProperty = "rawEmail" EmailPropertyIsRoleAccount EmailProperty = "isRoleAccount" EmailPropertyIsSystemGenerated EmailProperty = "isSystemGenerated" EmailPropertyIsValidSyntax EmailProperty = "isValidSyntax" EmailPropertyIsCatchAll EmailProperty = "isCatchAll" EmailPropertyDeliverable EmailProperty = "deliverable" EmailPropertyValidatedAt EmailProperty = "techValidatedAt" EmailPropertyValidationRequestedAt EmailProperty = "techValidationRequestedAt" EmailPropertyUsername EmailProperty = "username" EmailPropertyIsRisky EmailProperty = "isRisky" EmailPropertyIsFirewalled EmailProperty = "isFirewalled" EmailPropertyProvider EmailProperty = "provider" EmailPropertyFirewall EmailProperty = "firewall" EmailPropertyIsMailboxFull EmailProperty = "isMailboxFull" EmailPropertyIsFreeAccount EmailProperty = "isFreeAccount" EmailPropertySmtpSuccess EmailProperty = "smtpSuccess" EmailPropertyResponseCode EmailProperty = "verifyResponseCode" EmailPropertyErrorCode EmailProperty = "verifyErrorCode" EmailPropertyDescription EmailProperty = "verifyDescription" EmailPropertyIsPrimaryDomain EmailProperty = "isPrimaryDomain" EmailPropertyPrimaryDomain EmailProperty = "primaryDomain" EmailPropertyAlternateEmail EmailProperty = "alternateEmail" EmailPropertyWork EmailProperty = "work" EmailPropertyRetryValidation EmailProperty = "retryValidation" )
type EventStoreAggregate ¶
type EventStoreAggregate struct {
AggregateVersion *int64 `json:"aggregate_version"`
}
type ExternalSystemEntities ¶
type ExternalSystemEntities []ExternalSystemEntity
type ExternalSystemEntity ¶
type FlowActionEntities ¶
type FlowActionEntities []FlowActionEntity
type FlowActionEntity ¶
type FlowActionEntity struct { DataLoaderKey Id string ExternalId string CreatedAt time.Time UpdatedAt time.Time Type string Data struct { //FLOW_START properties Entity *string // CONTACT / ORGANIZATION / etc TriggerType *string WaitBefore int64 // in minutes Action FlowActionType //Email Subject *string BodyTemplate *string //Linkedin MessageTemplate *string } `json:"data"` Json string }
type FlowActionExecutionEntities ¶
type FlowActionExecutionEntities []FlowActionExecutionEntity
type FlowActionExecutionEntity ¶
type FlowActionExecutionEntity struct { DataLoaderKey Id string CreatedAt time.Time UpdatedAt time.Time FlowId string ActionId string ParticipantId string EntityId string EntityType model.EntityType // Scheduling Info ScheduledAt time.Time ExecutedAt *time.Time StatusUpdatedAt time.Time Status FlowActionExecutionStatus //Config Mailbox *string UserId *string SocialUrl *string // Additional metadata Error *string // If execution fails, store the error message }
type FlowActionExecutionStatus ¶
type FlowActionExecutionStatus string
const ( FlowActionExecutionStatusScheduled FlowActionExecutionStatus = "SCHEDULED" FlowActionExecutionStatusInProgress FlowActionExecutionStatus = "IN_PROGRESS" FlowActionExecutionStatusSkipped FlowActionExecutionStatus = "SKIPPED" FlowActionExecutionStatusSuccess FlowActionExecutionStatus = "SUCCESS" FlowActionExecutionStatusTechError FlowActionExecutionStatus = "TECH_ERROR" FlowActionExecutionStatusBusinessError FlowActionExecutionStatus = "BUSINESS_ERROR" )
func GetFlowActionExecutionStatus ¶
func GetFlowActionExecutionStatus(s string) FlowActionExecutionStatus
type FlowActionType ¶
type FlowActionType string
const ( FlowActionTypeFlowStart FlowActionType = "FLOW_START" FlowActionTypeEmailNew FlowActionType = "EMAIL_NEW" FlowActionTypeEmailReply FlowActionType = "EMAIL_REPLY" FlowActionTypeLinkedinConnectionRequest FlowActionType = "LINKEDIN_CONNECTION_REQUEST" FlowActionTypeLinkedinMessage FlowActionType = "LINKEDIN_MESSAGE" FlowActionTypeFlowEnd FlowActionType = "FLOW_END" )
func GetFlowActionType ¶
func GetFlowActionType(s string) FlowActionType
type FlowEntities ¶
type FlowEntities []FlowEntity
type FlowEntity ¶
type FlowParticipantEntities ¶
type FlowParticipantEntities []FlowParticipantEntity
type FlowParticipantEntity ¶
type FlowParticipantEntity struct { DataLoaderKey Id string CreatedAt time.Time UpdatedAt time.Time EntityId string EntityType model.EntityType Status FlowParticipantStatus ScheduledAction *string ScheduledAt *time.Time }
type FlowParticipantStatus ¶
type FlowParticipantStatus string
const ( FlowParticipantStatusOnHold FlowParticipantStatus = "ON_HOLD" FlowParticipantStatusReady FlowParticipantStatus = "READY" FlowParticipantStatusScheduled FlowParticipantStatus = "SCHEDULED" FlowParticipantStatusInProgress FlowParticipantStatus = "IN_PROGRESS" FlowParticipantStatusCompleted FlowParticipantStatus = "COMPLETED" FlowParticipantStatusGoalAchieved FlowParticipantStatus = "GOAL_ACHIEVED" FlowParticipantStatusGoalError FlowParticipantStatus = "ERROR" )
func GetFlowContactStatus ¶
func GetFlowContactStatus(s string) FlowParticipantStatus
type FlowSenderEntities ¶
type FlowSenderEntities []FlowSenderEntity
type FlowSenderEntity ¶
type FlowStatus ¶
type FlowStatus string
const ( FlowStatusOff FlowStatus = "OFF" FlowStatusOn FlowStatus = "ON" FlowStatusArchived FlowStatus = "ARCHIVED" )
func GetFlowStatus ¶
func GetFlowStatus(s string) FlowStatus
type InteractionEventEntities ¶
type InteractionEventEntities []InteractionEventEntity
type InteractionEventEntity ¶
type InteractionEventEntity struct { DataLoaderKey Id string CreatedAt time.Time UpdatedAt time.Time Content string ContentType string Channel string ChannelData string Identifier string CustomerOSInternalIdentifier string EventType string Hide bool Source DataSource SourceOfTruth DataSource AppSource string }
func (*InteractionEventEntity) GetDataloaderKey ¶
func (e *InteractionEventEntity) GetDataloaderKey() string
func (InteractionEventEntity) IsTimelineEvent ¶
func (InteractionEventEntity) IsTimelineEvent()
func (*InteractionEventEntity) SetDataloaderKey ¶
func (e *InteractionEventEntity) SetDataloaderKey(key string)
func (InteractionEventEntity) TimelineEventLabel ¶
func (InteractionEventEntity) TimelineEventLabel() string
type InteractionEventParticipantDetails ¶
type InteractionEventParticipantDetails struct {
Type string
}
type InteractionEventParticipants ¶
type InteractionEventParticipants []InteractionEventParticipant
type InteractionSessionEntities ¶
type InteractionSessionEntities []InteractionSessionEntity
type InteractionSessionEntity ¶
type InteractionSessionEntity struct { DataLoaderKey Id string CreatedAt time.Time UpdatedAt time.Time Identifier string Name string Status string Type string Channel string ChannelData string AppSource string Source DataSource SourceOfTruth DataSource }
func (*InteractionSessionEntity) GetDataloaderKey ¶
func (e *InteractionSessionEntity) GetDataloaderKey() string
func (InteractionSessionEntity) IsTimelineEvent ¶
func (InteractionSessionEntity) IsTimelineEvent()
func (*InteractionSessionEntity) SetDataloaderKey ¶
func (e *InteractionSessionEntity) SetDataloaderKey(key string)
func (InteractionSessionEntity) TimelineEventLabel ¶
func (InteractionSessionEntity) TimelineEventLabel() string
type InteractionSessionParticipantDetails ¶
type InteractionSessionParticipantDetails struct {
Type string
}
type InteractionSessionParticipants ¶
type InteractionSessionParticipants []InteractionSessionParticipant
type InvoiceCustomer ¶
type InvoiceEntities ¶
type InvoiceEntities []InvoiceEntity
type InvoiceEntity ¶
type InvoiceEntity struct { EventStoreAggregate Id string CreatedAt time.Time `neo4jDb:"property:createdAt;lookupName:CREATED_AT;supportCaseSensitive:false"` UpdatedAt time.Time DryRun bool `neo4jDb:"property:dryRun;lookupName:DRY_RUN;supportCaseSensitive:false"` Number string `neo4jDb:"property:number;lookupName:NUMBER;supportCaseSensitive:false"` Currency enum.Currency `neo4jDb:"property:currency;lookupName:CURRENCY;supportCaseSensitive:false"` PeriodStartDate time.Time // Date only PeriodEndDate time.Time // Date only DueDate time.Time `neo4jDb:"property:dueDate;lookupName:DUE_DATE;supportCaseSensitive:false"` // Date only IssuedDate time.Time `neo4jDb:"property:issuedDate;lookupName:ISSUED_DATE;supportCaseSensitive:false"` // Datetime Customer InvoiceCustomer Provider InvoiceProvider Amount float64 `neo4jDb:"property:amount;lookupName:AMOUNT;supportCaseSensitive:false"` Vat float64 `neo4jDb:"property:vat;lookupName:VAT;supportCaseSensitive:false"` TotalAmount float64 `neo4jDb:"property:totalAmount;lookupName:TOTAL_AMOUNT;supportCaseSensitive:false"` RepositoryFileId string BillingCycleInMonths int64 Status enum.InvoiceStatus `neo4jDb:"property:status;lookupName:STATUS;supportCaseSensitive:false"` Note string PaymentDetails PaymentDetails OffCycle bool Postpaid bool Preview bool `neo4jDb:"property:preview;lookupName:PREVIEW;supportCaseSensitive:false"` Source DataSource SourceOfTruth DataSource AppSource string InvoiceInternalFields InvoiceInternalFields DataloaderKey string }
func (InvoiceEntity) IsDue ¶
func (i InvoiceEntity) IsDue() bool
func (InvoiceEntity) IsOverdue ¶
func (i InvoiceEntity) IsOverdue() bool
func (InvoiceEntity) IsPaid ¶
func (i InvoiceEntity) IsPaid() bool
func (InvoiceEntity) IsVoid ¶
func (i InvoiceEntity) IsVoid() bool
type InvoiceInternalFields ¶
type InvoiceInternalFields struct { InvoiceFinalizedSentAt *time.Time // used to send the invoice finalized notification to slack and integration app InvoiceFinalizedWebhookProcessedAt *time.Time // used to process webhook for invoice finalized to temporal, if no webhook is configured, property will be set InvoicePaidWebhookProcessedAt *time.Time // used to process webhook for invoice paid to temporal, if no webhook is configured, property will be set PaymentLinkRequestedAt *time.Time PayInvoiceNotificationRequestedAt *time.Time // used for locking in batch to not send the same notification multiple times under an hour PayInvoiceNotificationSentAt *time.Time // used to prevent sending the same notification RemindInvoiceNotificationRequestedAt *time.Time LastRemindInvoiceNotificationSentAt *time.Time RemindInvoiceNotificationRequestAt *time.Time PaidInvoiceNotificationSentAt *time.Time VoidInvoiceNotificationSentAt *time.Time }
type InvoiceLineEntities ¶
type InvoiceLineEntities []InvoiceLineEntity
type InvoiceLineEntity ¶
type InvoiceLineEntity struct { Id string CreatedAt time.Time UpdatedAt time.Time Name string Price float64 Quantity int64 BilledType neo4jenum.BilledType Amount float64 Vat float64 TotalAmount float64 Source DataSource SourceOfTruth DataSource AppSource string ServiceLineItemId string ServiceLineItemParentId string DataloaderKey string }
type InvoiceProperty ¶
type InvoiceProperty string
const ( InvoicePropertyCreatedAt InvoiceProperty = "createdAt" InvoicePropertyFinalizedWebhookProcessedAt InvoiceProperty = "techInvoiceFinalizedWebhookProcessedAt" InvoicePropertyPaidWebhookProcessedAt InvoiceProperty = "techInvoicePaidWebhookProcessedAt" InvoicePropertyInvoiceFinalizedEventSentAt InvoiceProperty = "techInvoiceFinalizedSentAt" InvoicePropertyPaymentLink InvoiceProperty = "paymentLink" InvoicePropertyPaymentLinkValidUntil InvoiceProperty = "paymentLinkValidUntil" InvoicePropertyLastRemindInvoiceNotificationSentAt InvoiceProperty = "lastRemindInvoiceNotificationSentAt" InvoicePropertyRemindInvoiceNotificationRequestedAt InvoiceProperty = "techRemindInvoiceNotificationRequestedAt" )
type InvoiceProvider ¶
type IssueEntities ¶
type IssueEntities []IssueEntity
type IssueEntity ¶
type IssueEntity struct { DataLoaderKey Id string CreatedAt time.Time UpdatedAt time.Time Subject string Status string Priority string Description string Source DataSource SourceOfTruth DataSource AppSource string }
func (*IssueEntity) GetDataloaderKey ¶
func (e *IssueEntity) GetDataloaderKey() string
func (IssueEntity) IsTimelineEvent ¶
func (IssueEntity) IsTimelineEvent()
func (*IssueEntity) SetDataloaderKey ¶
func (e *IssueEntity) SetDataloaderKey(key string)
func (IssueEntity) TimelineEventLabel ¶
func (IssueEntity) TimelineEventLabel() string
type IssueParticipant ¶
type IssueParticipantDetails ¶
type IssueParticipantDetails struct {
Type string
}
type IssueParticipants ¶
type IssueParticipants []IssueParticipant
type JobRoleEntities ¶
type JobRoleEntities []JobRoleEntity
type JobRoleEntity ¶
type JobRoleEntity struct { DataLoaderKey Id string JobTitle string Primary bool CreatedAt time.Time UpdatedAt time.Time StartedAt *time.Time EndedAt *time.Time Source DataSource AppSource string Description *string Company *string InteractionEventParticipantDetails InteractionEventParticipantDetails InteractionSessionParticipantDetails InteractionSessionParticipantDetails }
func (JobRoleEntity) EntityLabel ¶
func (JobRoleEntity) EntityLabel() string
func (JobRoleEntity) GetDataloaderKey ¶
func (e JobRoleEntity) GetDataloaderKey() string
func (JobRoleEntity) IsInteractionEventParticipant ¶
func (JobRoleEntity) IsInteractionEventParticipant()
func (JobRoleEntity) IsInteractionSessionParticipant ¶
func (JobRoleEntity) IsInteractionSessionParticipant()
func (JobRoleEntity) ParticipantLabel ¶
func (JobRoleEntity) ParticipantLabel() string
type LinkedinConnectionRequestStatus ¶
type LinkedinConnectionRequestStatus string
const ( LinkedinConnectionRequestStatusPending LinkedinConnectionRequestStatus = "PENDING" LinkedinConnectionRequestStatusAccepted LinkedinConnectionRequestStatus = "ACCEPTED" LinkedinConnectionRequestStatusDeclined LinkedinConnectionRequestStatus = "DECLINED" )
func GetLinkedinConnectionRequestStatus ¶
func GetLinkedinConnectionRequestStatus(s string) LinkedinConnectionRequestStatus
type LocationEntities ¶
type LocationEntities []LocationEntity
type LocationEntity ¶
type LocationEntity struct { DataLoaderKey Id string Name string CreatedAt time.Time UpdatedAt time.Time Country string `neo4jDb:"property:country;lookupName:COUNTRY;supportCaseSensitive:true"` CountryCodeA2 string `neo4jDb:"property:countryCodeA2;lookupName:COUNTRY_CODE_A2;supportCaseSensitive:true"` CountryCodeA3 string `neo4jDb:"property:countryCodeA3;lookupName:COUNTRY_CODE_A3;supportCaseSensitive:true"` Region string `neo4jDb:"property:region;lookupName:REGION;supportCaseSensitive:true"` Locality string `neo4jDb:"property:locality;lookupName:LOCALITY;supportCaseSensitive:true"` Address string Address2 string Zip string AddressType string HouseNumber string PostalCode string PlusFour string Commercial bool Predirection string District string Street string RawAddress string Latitude *float64 Longitude *float64 TimeZone string UtcOffset *float64 SourceOfTruth DataSource Source DataSource AppSource string }
type LocationProperty ¶
type LocationProperty string
const ( LocationPropertyName LocationProperty = "name" LocationPropertyCountry LocationProperty = "country" LocationPropertyRegion LocationProperty = "region" LocationPropertyLocality LocationProperty = "locality" LocationPropertyAddress LocationProperty = "address" LocationPropertyAddress2 LocationProperty = "address2" LocationPropertyZip LocationProperty = "zip" LocationPropertyAddressType LocationProperty = "addressType" LocationPropertyHouseNumber LocationProperty = "houseNumber" LocationPropertyPostalCode LocationProperty = "postalCode" LocationPropertyPlusFour LocationProperty = "plusFour" LocationPropertyCommercial LocationProperty = "commercial" LocationPropertyPredirection LocationProperty = "predirection" LocationPropertyDistrict LocationProperty = "district" LocationPropertyStreet LocationProperty = "street" LocationPropertyRawAddress LocationProperty = "rawAddress" LocationPropertyLatitude LocationProperty = "latitude" LocationPropertyLongitude LocationProperty = "longitude" LocationPropertyTimeZone LocationProperty = "timeZone" LocationPropertyUtcOffset LocationProperty = "utcOffset" LocationPropertyCountryCodeA2 LocationProperty = "countryCodeA2" LocationPropertyCountryCodeA3 LocationProperty = "countryCodeA3" )
type LogEntryEntities ¶
type LogEntryEntities []LogEntryEntity
type LogEntryEntity ¶
type LogEntryEntity struct { DataLoaderKey Id string Content string ContentType string CreatedAt time.Time UpdatedAt time.Time StartedAt time.Time Source DataSource SourceOfTruth DataSource AppSource string }
func (*LogEntryEntity) GetDataloaderKey ¶
func (e *LogEntryEntity) GetDataloaderKey() string
func (LogEntryEntity) IsTimelineEvent ¶
func (LogEntryEntity) IsTimelineEvent()
func (*LogEntryEntity) SetDataloaderKey ¶
func (e *LogEntryEntity) SetDataloaderKey(key string)
func (LogEntryEntity) TimelineEventLabel ¶
func (LogEntryEntity) TimelineEventLabel() string
type MarkdownEventEntities ¶
type MarkdownEventEntities []MarkdownEventEntity
type MarkdownEventEntity ¶
type MarkdownEventEntity struct { DataLoaderKey Id string Content string CreatedAt time.Time UpdatedAt time.Time Source DataSource AppSource string }
func (*MarkdownEventEntity) GetDataloaderKey ¶
func (e *MarkdownEventEntity) GetDataloaderKey() string
func (MarkdownEventEntity) IsTimelineEvent ¶
func (MarkdownEventEntity) IsTimelineEvent()
func (*MarkdownEventEntity) SetDataloaderKey ¶
func (e *MarkdownEventEntity) SetDataloaderKey(key string)
func (MarkdownEventEntity) TimelineEventLabel ¶
func (MarkdownEventEntity) TimelineEventLabel() string
type MeetingEntity ¶
type MeetingEntity struct { DataLoaderKey Id string Name *string `neo4jDb:"property:name;lookupName:NAME;supportCaseSensitive:true"` CreatedAt time.Time UpdatedAt time.Time StartedAt *time.Time EndedAt *time.Time ConferenceUrl *string MeetingExternalUrl *string AppSource string Agenda *string AgendaContentType *string Source DataSource SourceOfTruth DataSource Recording *string Status *enum.MeetingStatus }
func (*MeetingEntity) GetDataloaderKey ¶
func (e *MeetingEntity) GetDataloaderKey() string
func (MeetingEntity) IsTimelineEvent ¶
func (MeetingEntity) IsTimelineEvent()
func (*MeetingEntity) SetDataloaderKey ¶
func (e *MeetingEntity) SetDataloaderKey(key string)
func (MeetingEntity) TimelineEventLabel ¶
func (MeetingEntity) TimelineEventLabel() string
type MeetingParticipant ¶
type MeetingParticipants ¶
type MeetingParticipants []MeetingParticipant
type NoteEntity ¶
type NoteEntity struct { DataLoaderKey Id string Content string ContentType string CreatedAt time.Time UpdatedAt time.Time Source DataSource SourceOfTruth DataSource AppSource string }
func (*NoteEntity) GetDataloaderKey ¶
func (e *NoteEntity) GetDataloaderKey() string
func (NoteEntity) IsTimelineEvent ¶
func (NoteEntity) IsTimelineEvent()
func (*NoteEntity) SetDataloaderKey ¶
func (e *NoteEntity) SetDataloaderKey(key string)
func (NoteEntity) TimelineEventLabel ¶
func (NoteEntity) TimelineEventLabel() string
type OnboardingDetails ¶
type OpportunityEntities ¶
type OpportunityEntities []OpportunityEntity
type OpportunityEntity ¶
type OpportunityEntity struct { DataLoaderKey Id string Name string CreatedAt time.Time UpdatedAt time.Time Amount float64 MaxAmount float64 InternalType enum.OpportunityInternalType ExternalType string InternalStage enum.OpportunityInternalStage ExternalStage string EstimatedClosedAt *time.Time ClosedAt *time.Time GeneralNotes string NextSteps string Comments string Source DataSource SourceOfTruth DataSource AppSource string OwnerUserId string RenewalDetails RenewalDetails InternalFields OpportunityInternalFields LikelihoodRate int64 Currency enum.Currency StageUpdatedAt *time.Time }
func (OpportunityEntity) IsNBO ¶
func (op OpportunityEntity) IsNBO() bool
func (OpportunityEntity) IsRenewal ¶
func (op OpportunityEntity) IsRenewal() bool
type OpportunityProperty ¶
type OpportunityProperty string
const ( OpportunityPropertyAmount OpportunityProperty = "amount" OpportunityPropertyMaxAmount OpportunityProperty = "maxAmount" OpportunityPropertyNextSteps OpportunityProperty = "nextSteps" OpportunityPropertyCurrency OpportunityProperty = "currency" OpportunityPropertyLikelihoodRate OpportunityProperty = "likelihoodRate" OpportunityPropertyStageUpdatedAt OpportunityProperty = "stageUpdatedAt" )
type OrganizationEntities ¶
type OrganizationEntities []OrganizationEntity
type OrganizationEntity ¶
type OrganizationEntity struct { EventStoreAggregate DataLoaderKey ID string CustomerOsId string `neo4jDb:"property:customerOsId;lookupName:CUSTOMER_OS_ID;supportCaseSensitive:false"` CustomId string `neo4jDb:"property:customId;lookupName:CUSTOMER_ID;supportCaseSensitive:false"` Name string `neo4jDb:"property:name;lookupName:NAME;supportCaseSensitive:true"` Description string `neo4jDb:"property:description;lookupName:DESCRIPTION;supportCaseSensitive:true"` Website string `neo4jDb:"property:website;lookupName:WEBSITE;supportCaseSensitive:true"` Industry string `neo4jDb:"property:industry;lookupName:INDUSTRY;supportCaseSensitive:true"` SubIndustry string IndustryGroup string TargetAudience string ValueProposition string IsPublic bool Hide bool Market string LastFundingRound string LastFundingAmount string ReferenceId string `neo4jDb:"property:referenceId;lookupName:REFERENCE_ID;supportCaseSensitive:true"` Note string Employees int64 CreatedAt time.Time UpdatedAt time.Time `neo4jDb:"property:updatedAt;lookupName:UPDATED_AT;supportCaseSensitive:false"` LastTouchpointAt *time.Time `neo4jDb:"property:lastTouchpointAt;lookupName:LAST_TOUCHPOINT_AT;supportCaseSensitive:false"` LastTouchpointId *string `neo4jDb:"property:lastTouchpointId;lookupName:LAST_TOUCHPOINT_ID;supportCaseSensitive:false"` LastTouchpointType *string `neo4jDb:"property:lastTouchpointType;lookupName:LAST_TOUCHPOINT_TYPE;supportCaseSensitive:false"` Source DataSource YearFounded *int64 Headquarters string EmployeeGrowthRate string SlackChannelId string LogoUrl string IconUrl string Relationship enum.OrganizationRelationship `neo4jDb:"property:relationship;lookupName:RELATIONSHIP;supportCaseSensitive:false"` Stage enum.OrganizationStage `neo4jDb:"property:stage;lookupName:STAGE;supportCaseSensitive:false"` StageUpdatedAt *time.Time LeadSource string `neo4jDb:"property:leadSource;lookupName:LEAD_SOURCE;supportCaseSensitive:true"` IcpFit bool LinkedOrganizationType *string SuggestedMerge struct { SuggestedAt *time.Time SuggestedBy *string Confidence *float64 } RenewalSummary RenewalSummary OnboardingDetails OnboardingDetails EnrichDetails OrganizationEnrichDetails InteractionEventParticipantDetails InteractionEventParticipantDetails OrganizationInternalFields OrganizationInternalFields DerivedData DerivedData }
func (OrganizationEntity) EntityLabel ¶
func (OrganizationEntity) EntityLabel() string
func (OrganizationEntity) GetDataloaderKey ¶
func (o OrganizationEntity) GetDataloaderKey() string
func (OrganizationEntity) IsHidden ¶
func (o OrganizationEntity) IsHidden() bool
func (OrganizationEntity) IsInteractionEventParticipant ¶
func (OrganizationEntity) IsInteractionEventParticipant()
func (OrganizationEntity) IsIssueParticipant ¶
func (OrganizationEntity) IsIssueParticipant()
func (OrganizationEntity) IsMeetingParticipant ¶
func (OrganizationEntity) IsMeetingParticipant()
func (OrganizationEntity) IsNotedEntity ¶
func (OrganizationEntity) IsNotedEntity()
func (OrganizationEntity) Labels ¶
func (o OrganizationEntity) Labels(tenant string) []string
type OrganizationProperty ¶
type OrganizationProperty string
const ( OrganizationPropertyEmployees OrganizationProperty = "employees" OrganizationPropertyUpdatedAt OrganizationProperty = "updatedAt" OrganizationPropertyYearFounded OrganizationProperty = "yearFounded" OrganizationPropertyHide OrganizationProperty = "hide" OrganizationPropertyStage OrganizationProperty = "stage" OrganizationPropertyIndustry OrganizationProperty = "industry" OrganizationPropertyIsPublic OrganizationProperty = "isPublic" OrganizationPropertyDomainCheckedAt OrganizationProperty = "techDomainCheckedAt" OrganizationPropertyIndustryCheckedAt OrganizationProperty = "techIndustryCheckedAt" OrganizationPropertyCheckedAt OrganizationProperty = "techCheckedAt" OrganizationPropertyLastTouchpointRequestedAt OrganizationProperty = "techLastTouchpointRequestedAt" OrganizationPropertyIcpFit OrganizationProperty = "icpFit" OrganizationPropertyHiddenAt OrganizationProperty = "hiddenAt" OrganizationPropertyEnrichRequestedAt OrganizationProperty = "techEnrichRequestedAt" OrganizationPropertyEnrichedAt OrganizationProperty = "enrichedAt" OrganizationPropertyEnrichFailedAt OrganizationProperty = "enrichFailedAt" OrganizationPropertyEnrichAttempts OrganizationProperty = "techEnrichAttempts" )
type OrganizationWithJobRole ¶
type OrganizationWithJobRole struct { DataLoaderKey Organization OrganizationEntity JobRole JobRoleEntity }
type OrganizationWithJobRoleEntities ¶
type OrganizationWithJobRoleEntities []OrganizationWithJobRole
type PageViewEntity ¶
type PageViewEntity struct { DataLoaderKey Id string Application string TrackerName string SessionId string PageUrl string PageTitle string OrderInSession int64 EngagedTime int64 StartedAt time.Time EndedAt time.Time Source DataSource SourceOfTruth DataSource AppSource string }
func (*PageViewEntity) GetDataloaderKey ¶
func (e *PageViewEntity) GetDataloaderKey() string
func (PageViewEntity) IsTimelineEvent ¶
func (PageViewEntity) IsTimelineEvent()
func (*PageViewEntity) SetDataloaderKey ¶
func (e *PageViewEntity) SetDataloaderKey(key string)
func (PageViewEntity) TimelineEventLabel ¶
func (PageViewEntity) TimelineEventLabel() string
type PaymentDetails ¶
type PersonEntities ¶
type PersonEntities []PlayerEntity
type PhoneNumberEntities ¶
type PhoneNumberEntities []PhoneNumberEntity
type PhoneNumberEntity ¶
type PhoneNumberEntity struct { DataLoaderKey Id string E164 string Validated *bool RawPhoneNumber string Source DataSource SourceOfTruth DataSource AppSource string CreatedAt time.Time UpdatedAt time.Time Label string Primary bool InteractionEventParticipantDetails InteractionEventParticipantDetails InteractionSessionParticipantDetails InteractionSessionParticipantDetails }
func (PhoneNumberEntity) EntityLabel ¶
func (PhoneNumberEntity) EntityLabel() string
func (PhoneNumberEntity) GetDataloaderKey ¶
func (e PhoneNumberEntity) GetDataloaderKey() string
func (PhoneNumberEntity) IsInteractionEventParticipant ¶
func (PhoneNumberEntity) IsInteractionEventParticipant()
func (PhoneNumberEntity) IsInteractionSessionParticipant ¶
func (PhoneNumberEntity) IsInteractionSessionParticipant()
func (PhoneNumberEntity) Labels ¶
func (e PhoneNumberEntity) Labels(tenant string) []string
type PlayerEntity ¶
type PlayerEntity struct { Id string IdentityId string AuthId string Provider string Source string SourceOfTruth string AppSource string CreatedAt time.Time UpdatedAt time.Time DataloaderKey string }
func (PlayerEntity) Labels ¶
func (PlayerEntity) Labels(tenant string) []string
type ReminderEntity ¶
type ReminderEntity struct { Id string `json:"id"` CreatedAt time.Time `json:"createdAt"` UpdatedAt time.Time `json:"updatedAt"` Source DataSource `json:"source"` SourceOfTruth DataSource `json:"sourceOfTruth"` AppSource string `json:"appSource"` Content string `json:"content"` DueDate time.Time `json:"dueDate"` Dismissed bool `json:"dismissed"` }
type RenewalDetails ¶
type RenewalSummary ¶
type RenewalSummary struct { ArrForecast *float64 MaxArrForecast *float64 NextRenewalAt *time.Time `neo4jDb:"property:derivedNextRenewalAt;lookupName:RENEWAL_DATE;supportCaseSensitive:false"` RenewalLikelihood string `neo4jDb:"property:derivedRenewalLikelihood;lookupName:RENEWAL_LIKELIHOOD;supportCaseSensitive:false"` RenewalLikelihoodOrder *int64 }
type SLIProperty ¶
type SLIProperty string
const ( SLIPropertyUpdatedAt SLIProperty = "updatedAt" SLIPropertyPaused SLIProperty = "paused" )
type ServiceLineItemEntities ¶
type ServiceLineItemEntities []ServiceLineItemEntity
type ServiceLineItemEntity ¶
type ServiceLineItemEntity struct { ID string Name string CreatedAt time.Time UpdatedAt time.Time StartedAt time.Time // DateTime EndedAt *time.Time // DateTime Canceled bool Billed enum.BilledType Price float64 Quantity int64 PreviousBilled enum.BilledType PreviousPrice float64 PreviousQuantity int64 Comments string Source DataSource SourceOfTruth DataSource AppSource string ParentID string VatRate float64 Paused bool DataLoaderKey }
func (ServiceLineItemEntity) IsActiveAt ¶
func (sli ServiceLineItemEntity) IsActiveAt(referenceTime time.Time) bool
func (ServiceLineItemEntity) IsEnded ¶
func (sli ServiceLineItemEntity) IsEnded() bool
func (ServiceLineItemEntity) IsOneTime ¶
func (sli ServiceLineItemEntity) IsOneTime() bool
func (ServiceLineItemEntity) IsRecurrent ¶
func (sli ServiceLineItemEntity) IsRecurrent() bool
type SocialEntities ¶
type SocialEntities []SocialEntity
type SocialEntity ¶
type SocialEntity struct { DataLoaderKey Id string CreatedAt time.Time UpdatedAt time.Time Source DataSource AppSource string Url string Alias string FollowersCount int64 ExternalId string }
func (SocialEntity) ExtractLinkedinCompanyIdentifierFromUrl ¶
func (s SocialEntity) ExtractLinkedinCompanyIdentifierFromUrl() string
func (SocialEntity) ExtractLinkedinPersonIdentifierFromUrl ¶
func (s SocialEntity) ExtractLinkedinPersonIdentifierFromUrl() string
func (SocialEntity) IsLinkedin ¶
func (s SocialEntity) IsLinkedin() bool
type SocialProperty ¶
type SocialProperty string
const ( SocialPropertyId SocialProperty = "id" SocialPropertyCreatedAt SocialProperty = "createdAt" SocialPropertyUpdatedAt SocialProperty = "updatedAt" SocialPropertySource SocialProperty = "source" SocialPropertyAppSource SocialProperty = "appSource" SocialPropertyUrl SocialProperty = "url" SocialPropertyAlias SocialProperty = "alias" SocialPropertyFollowersCount SocialProperty = "followersCount" SocialPropertyExternalId SocialProperty = "externalId" )
type StateEntity ¶
type StateEntity struct { Id string CountryId string Name string Code string CreatedAt time.Time UpdatedAt time.Time }
func (StateEntity) Labels ¶
func (StateEntity) Labels() []string
func (StateEntity) StateEntity ¶
func (country StateEntity) StateEntity() []string
func (StateEntity) ToString ¶
func (country StateEntity) ToString() string
type TagEntities ¶
type TagEntities []TagEntity
type TagEntity ¶
type TagEntity struct { DataLoaderKey Id string Name string CreatedAt time.Time UpdatedAt time.Time Source DataSource AppSource string TaggedAt time.Time EntityType commonmodel.EntityType }
type TagProperty ¶
type TagProperty string
const ( TagPropertyId TagProperty = "id" TagPropertyName TagProperty = "name" TagPropertyEntityType TagProperty = "entityType" TagPropertySource TagProperty = "source" TagPropertyAppSource TagProperty = "appSource" TagPropertyCreatedAt TagProperty = "createdAt" TagPropertyUpdatedAt TagProperty = "updatedAt" )
type TenantBillingProfileEntities ¶
type TenantBillingProfileEntities []TenantBillingProfileEntity
type TenantBillingProfileEntity ¶
type TenantBillingProfileEntity struct { Id string CreatedAt time.Time UpdatedAt time.Time LegalName string Phone string AddressLine1 string AddressLine2 string AddressLine3 string Country string Region string Locality string Zip string VatNumber string SendInvoicesFrom string SendInvoicesBcc string CanPayWithPigeon bool CanPayWithBankTransfer bool Source DataSource SourceOfTruth DataSource AppSource string Check bool }
type TenantEntity ¶
type TenantEntity struct { Id string Name string CreatedAt time.Time UpdatedAt time.Time Source DataSource AppSource string Settings TenantSettingsEntity Active bool }
type TenantSettingsEntity ¶
type TenantSettingsProperty ¶
type TenantSettingsProperty string
const ( TenantSettingsPropertyLogoRepositoryFileId TenantSettingsProperty = "logoRepositoryFileId" TenantSettingsPropertyBaseCurrency TenantSettingsProperty = "baseCurrency" TenantSettingsPropertyInvoicingEnabled TenantSettingsProperty = "invoicingEnabled" TenantSettingsPropertyInvoicingPostpaid TenantSettingsProperty = "invoicingPostpaid" TenantSettingsPropertyWorkspaceLogo TenantSettingsProperty = "workspaceLogo" TenantSettingsPropertyWorkspaceName TenantSettingsProperty = "workspaceName" TenantSettingsPropertyEnrichContacts TenantSettingsProperty = "enrichContacts" TenantSettingsPropertyStripeCustomerPortalLink TenantSettingsProperty = "stripeCustomerPortalLink" TenantSettingsPropertySlackChannelUrl TenantSettingsProperty = "slackChannelUrl" )
type TimelineEvent ¶
type TimelineEventEntities ¶
type TimelineEventEntities []TimelineEvent
type UserEntities ¶
type UserEntities []UserEntity
type UserEntity ¶
type UserEntity struct { DataLoaderKey Id string FirstName string `neo4jDb:"property:firstName;lookupName:FIRST_NAME;supportCaseSensitive:true"` LastName string `neo4jDb:"property:lastName;lookupName:LAST_NAME;supportCaseSensitive:true"` Name string `neo4jDb:"property:name;lookupName:NAME;supportCaseSensitive:true"` CreatedAt time.Time `neo4jDb:"property:createdAt;lookupName:CREATED_AT;supportCaseSensitive:false"` UpdatedAt time.Time `neo4jDb:"property:updatedAt;lookupName:UPDATED_AT;supportCaseSensitive:false"` Source DataSource `neo4jDb:"property:source;lookupName:SOURCE;supportCaseSensitive:false"` SourceOfTruth DataSource `neo4jDb:"property:sourceOfTruth;lookupName:SOURCE;supportCaseSensitive:false"` AppSource string `neo4jDb:"property:appSource;lookupName:APP_SOURCE;supportCaseSensitive:false"` Roles []string `neo4jDb:"property:roles;lookupName:ROLES;supportCaseSensitive:false"` Timezone string `neo4jDb:"property:timezone;lookupName:TIMEZONE;supportCaseSensitive:true"` ProfilePhotoUrl string `neo4jDb:"property:profilePhotoUrl;lookupName:PROFILE_PHOTO_URL;supportCaseSensitive:true"` Internal bool Test bool Bot bool InteractionEventParticipantDetails InteractionEventParticipantDetails InteractionSessionParticipantDetails InteractionSessionParticipantDetails // Indirect properties DefaultForPlayer bool Tenant string }
func (UserEntity) EntityLabel ¶
func (UserEntity) EntityLabel() string
func (UserEntity) GetDataloaderKey ¶
func (e UserEntity) GetDataloaderKey() string
func (UserEntity) GetFullName ¶
func (u UserEntity) GetFullName() string
func (UserEntity) IsInteractionEventParticipant ¶
func (UserEntity) IsInteractionEventParticipant()
func (UserEntity) IsInteractionSessionParticipant ¶
func (UserEntity) IsInteractionSessionParticipant()
func (UserEntity) IsIssueParticipant ¶
func (UserEntity) IsIssueParticipant()
func (UserEntity) IsMeetingParticipant ¶
func (UserEntity) IsMeetingParticipant()
type WorkspaceEntities ¶
type WorkspaceEntities []WorkspaceEntity
type WorkspaceEntity ¶
Source Files ¶
- action.go
- attachment.go
- bank_account.go
- billing_profile.go
- combined_entities.go
- comment.go
- contact.go
- contract.go
- country.go
- custom_field_template.go
- data_source.go
- dataloader_key.go
- domain.go
- email.go
- event_store_aggregate.go
- external_system.go
- flow.go
- interaction_event.go
- interaction_event_participant_interface.go
- interaction_session.go
- interaction_session_participant_interface.go
- invoice.go
- invoice_line.go
- issue.go
- issue_participant_interface.go
- job_role.go
- linkedin_connection_request.go
- location.go
- log_entry.go
- makrdown_event.go
- meeting.go
- meeting_participant_interface.go
- node_interface.go
- note.go
- opportunity.go
- organization.go
- page_view.go
- phone_number.go
- player.go
- reminder.go
- service_line_item.go
- social.go
- state.go
- tag.go
- tenant.go
- tenant_billing_profile.go
- tenant_settings.go
- timeline_event_interface.go
- user.go
- workspace.go
Click to show internal directories.
Click to hide internal directories.