Documentation ¶
Index ¶
- Constants
- Variables
- func IsValidDataSource(s string) bool
- type ActionEntity
- type AnalysisEntity
- type BankAccountEntities
- type BankAccountEntity
- type BillingProfileEntities
- type BillingProfileEntity
- type CommentEntity
- type Conditionals
- type ContactEntities
- type ContactEntity
- type ContractEntities
- type ContractEntity
- type ContractInternalFields
- type CountryEntities
- type CountryEntity
- type DataLoaderKey
- type DataSource
- type DomainEnrichDetails
- type DomainEntities
- type DomainEntity
- type EmailEntities
- type EmailEntity
- type ExternalSystemEntities
- type ExternalSystemEntity
- type InteractionEventEntity
- type InteractionEventParticipant
- type InteractionEventParticipantDetails
- type InteractionEventParticipants
- type InteractionSessionEntity
- type InteractionSessionParticipant
- type InteractionSessionParticipantDetails
- type InteractionSessionParticipants
- type InvoiceCustomer
- type InvoiceEntities
- type InvoiceEntity
- type InvoiceInternalFields
- type InvoiceLineEntities
- type InvoiceLineEntity
- type InvoiceProvider
- type InvoicingCycleEntity
- type InvoicingCycleType
- type IssueEntities
- type IssueEntity
- type IssueParticipant
- type IssueParticipantDetails
- type IssueParticipants
- type JobRoleEntities
- type JobRoleEntity
- type LocationEntities
- type LocationEntity
- type LogEntryEntity
- type MasterPlanEntities
- type MasterPlanEntity
- type MasterPlanMilestoneEntities
- type MasterPlanMilestoneEntity
- type MeetingEntity
- type Neo4jNode
- type NoteEntity
- type OfferingEntities
- type OfferingEntity
- type OnboardingDetails
- type OpportunityEntities
- type OpportunityEntity
- type OpportunityInternalFields
- type OrderEntities
- type OrderEntity
- type OrganizationEnrichDetails
- type OrganizationEntities
- type OrganizationEntity
- func (OrganizationEntity) EntityLabel() string
- func (o OrganizationEntity) GetDataloaderKey() string
- func (OrganizationEntity) IsInteractionEventParticipant()
- func (OrganizationEntity) IsIssueParticipant()
- func (OrganizationEntity) IsMeetingParticipant()
- func (OrganizationEntity) IsNotedEntity()
- func (OrganizationEntity) Labels(tenant string) []string
- type OrganizationInternalFields
- type OrganizationPlanEntities
- type OrganizationPlanEntity
- type OrganizationPlanMilestoneEntities
- type OrganizationPlanMilestoneEntity
- type OrganizationPlanMilestoneItem
- type OrganizationPlanMilestoneStatusDetails
- type OrganizationPlanStatusDetails
- type PageViewEntity
- type PaymentDetails
- type PhoneNumberEntities
- type PhoneNumberEntity
- type PriceCalculation
- type ReminderEntity
- type RenewalDetails
- type RenewalSummary
- type ServiceLineItemEntities
- type ServiceLineItemEntity
- type SocialEntities
- type SocialEntity
- type StateEntity
- type TagEntities
- type TagEntity
- type TenantBillingProfileEntities
- type TenantBillingProfileEntity
- type TenantEntity
- type TenantSettingsEntity
- type TimelineEvent
- type TimelineEventEntities
- type UserEntities
- type UserEntity
Constants ¶
View Source
const PropertyExternalSystemStripePaymentMethodTypes = "stripePaymentMethodTypes"
Variables ¶
View Source
var AllDataSource = []DataSource{ DataSourceOpenline, DataSourceHubspot, DataSourceZendeskSupport, DataSourcePipedrive, DataSourceSlack, DataSourceWebscrape, DataSourceIntercom, DataSourceSalesforce, DataSourceStripe, DataSourceMixpanel, DataSourceClose, DataSourceOutlook, DataSourceUnthread, DataSourceShopify, }
Functions ¶
func IsValidDataSource ¶
Types ¶
type ActionEntity ¶
type ActionEntity struct { Id string CreatedAt time.Time Content string Metadata string Type neo4jenum.ActionType Source DataSource SourceOfTruth DataSource AppSource string DataloaderKey string }
func (ActionEntity) GetDataloaderKey ¶
func (action ActionEntity) GetDataloaderKey() string
func (ActionEntity) IsTimelineEvent ¶
func (ActionEntity) IsTimelineEvent()
func (*ActionEntity) SetDataloaderKey ¶
func (action *ActionEntity) SetDataloaderKey(key string)
func (ActionEntity) TimelineEventLabel ¶
func (ActionEntity) TimelineEventLabel() string
type AnalysisEntity ¶
type AnalysisEntity struct { DataLoaderKey Id string CreatedAt time.Time Content string ContentType string AnalysisType string Source DataSource SourceOfTruth DataSource AppSource string }
func (AnalysisEntity) IsTimelineEvent ¶
func (AnalysisEntity) IsTimelineEvent()
func (AnalysisEntity) TimelineEventLabel ¶
func (AnalysisEntity) TimelineEventLabel() string
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 CommentEntity ¶
type CommentEntity struct { Id string Content string ContentType string CreatedAt time.Time UpdatedAt time.Time Source DataSource SourceOfTruth DataSource AppSource string }
type Conditionals ¶
type Conditionals struct { MinimumChargePeriod enum.ChargePeriod MinimumChargeAmount float64 }
type ContactEntities ¶
type ContactEntities []ContactEntity
type ContactEntity ¶
type ContactEntity struct { Id string CreatedAt time.Time UpdatedAt time.Time Source DataSource SourceOfTruth 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"` DataloaderKey string }
type ContractEntities ¶
type ContractEntities []ContractEntity
type ContractEntity ¶
type ContractEntity struct { DataLoaderKey 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 }
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 DataLoaderKey ¶
type DataLoaderKey struct {
DataloaderKey string
}
type DataSource ¶
type DataSource string
const ( DataSourceNA DataSource = "" DataSourceOpenline DataSource = "openline" DataSourceGmail DataSource = "gmail" DataSourceHubspot DataSource = "hubspot" DataSourceZendeskSupport DataSource = "zendesk_support" DataSourcePipedrive DataSource = "pipedrive" DataSourceSlack DataSource = "slack" DataSourceWebscrape DataSource = "webscrape" DataSourceIntercom DataSource = "intercom" DataSourceSalesforce DataSource = "salesforce" DataSourceStripe DataSource = "stripe" DataSourceMixpanel DataSource = "mixpanel" DataSourceClose DataSource = "close" DataSourceOutlook DataSource = "outlook" DataSourceUnthread DataSource = "unthread" DataSourceShopify DataSource = "shopify" )
func GetDataSource ¶
func GetDataSource(s string) DataSource
func (DataSource) String ¶
func (ds DataSource) String() string
type DomainEnrichDetails ¶
type DomainEntities ¶
type DomainEntities []DomainEntity
type DomainEntity ¶
type DomainEntity struct { Id string CreatedAt time.Time UpdatedAt time.Time Domain string Source DataSource SourceOfTruth DataSource AppSource string EnrichDetails DomainEnrichDetails }
type EmailEntities ¶
type EmailEntities []EmailEntity
type EmailEntity ¶
type EmailEntity struct { Id string Email string `neo4jDb:"property:email;lookupName:EMAIL;supportCaseSensitive:true"` RawEmail string `neo4jDb:"property:rawEmail;lookupName:RAW_EMAIL;supportCaseSensitive:true"` Label string Primary bool Source DataSource SourceOfTruth DataSource AppSource string CreatedAt time.Time UpdatedAt time.Time Validated *bool IsReachable *string IsValidSyntax *bool CanConnectSMTP *bool AcceptsMail *bool HasFullInbox *bool IsCatchAll *bool IsDeliverable *bool IsDisabled *bool Error *string }
type ExternalSystemEntities ¶
type ExternalSystemEntities []ExternalSystemEntity
type ExternalSystemEntity ¶
type ExternalSystemEntity struct { DataLoaderKey ExternalSystemId neo4jenum.ExternalSystemId Name string Relationship struct { ExternalId string SyncDate *time.Time ExternalUrl *string ExternalSource *string } Stripe struct { PaymentMethodTypes []string } }
type InteractionEventEntity ¶
type InteractionEventEntity struct { 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) IsTimelineEvent ¶
func (InteractionEventEntity) IsTimelineEvent()
func (InteractionEventEntity) TimelineEventLabel ¶
func (InteractionEventEntity) TimelineEventLabel() string
type InteractionEventParticipantDetails ¶
type InteractionEventParticipantDetails struct {
Type string
}
type InteractionEventParticipants ¶
type InteractionEventParticipants []InteractionEventParticipant
type InteractionSessionEntity ¶
type InteractionSessionEntity struct { 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) IsTimelineEvent ¶
func (InteractionSessionEntity) IsTimelineEvent()
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 { 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 }
type InvoiceInternalFields ¶
type InvoiceInternalFields struct { InvoiceFinalizedSentAt *time.Time 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 PaidInvoiceNotificationSentAt *time.Time // not used, but set for now }
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 InvoiceProvider ¶
type InvoicingCycleEntity ¶
type InvoicingCycleEntity struct { Id string CreatedAt time.Time UpdatedAt time.Time Type InvoicingCycleType Source DataSource SourceOfTruth DataSource AppSource string }
type InvoicingCycleType ¶
type InvoicingCycleType string
const ( InvoicingCycleTypeDate InvoicingCycleType = "DATE" InvoicingCycleTypeAnniversary InvoicingCycleType = "ANNIVERSARY" )
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) IsTimelineEvent ¶
func (IssueEntity) IsTimelineEvent()
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 SourceOfTruth DataSource AppSource string Description *string Company *string InteractionEventParticipantDetails InteractionEventParticipantDetails }
func (JobRoleEntity) IsInteractionEventParticipant ¶
func (JobRoleEntity) IsInteractionEventParticipant()
func (JobRoleEntity) ParticipantLabel ¶
func (JobRoleEntity) ParticipantLabel() string
type LocationEntities ¶
type LocationEntities []LocationEntity
type LocationEntity ¶
type LocationEntity struct { Id string Name string CreatedAt time.Time UpdatedAt time.Time Country string `neo4jDb:"property:country;lookupName:COUNTRY;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 int64 SourceOfTruth DataSource Source DataSource AppSource string }
type LogEntryEntity ¶
type LogEntryEntity struct { Id string Content string ContentType string CreatedAt time.Time UpdatedAt time.Time StartedAt time.Time Source DataSource SourceOfTruth DataSource AppSource string }
func (LogEntryEntity) IsTimelineEvent ¶
func (LogEntryEntity) IsTimelineEvent()
func (LogEntryEntity) TimelineEventLabel ¶
func (LogEntryEntity) TimelineEventLabel() string
type MasterPlanEntities ¶
type MasterPlanEntities []MasterPlanEntity
type MasterPlanEntity ¶
type MasterPlanEntity struct { Id string CreatedAt time.Time UpdatedAt time.Time Name string Retired bool Source DataSource SourceOfTruth DataSource AppSource string }
type MasterPlanMilestoneEntities ¶
type MasterPlanMilestoneEntities []MasterPlanMilestoneEntity
type MasterPlanMilestoneEntity ¶
type MasterPlanMilestoneEntity struct { DataLoaderKey Id string CreatedAt time.Time UpdatedAt time.Time Name string Order int64 DurationHours int64 Items []string Optional bool Retired bool Source DataSource SourceOfTruth DataSource AppSource 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) IsTimelineEvent ¶
func (MeetingEntity) IsTimelineEvent()
func (MeetingEntity) TimelineEventLabel ¶
func (MeetingEntity) TimelineEventLabel() string
type NoteEntity ¶
type NoteEntity struct { DataLoaderKey string Id string Content string ContentType string CreatedAt time.Time UpdatedAt time.Time Source DataSource SourceOfTruth DataSource AppSource string }
func (NoteEntity) IsTimelineEvent ¶
func (NoteEntity) IsTimelineEvent()
func (NoteEntity) TimelineEventLabel ¶
func (NoteEntity) TimelineEventLabel() string
type OfferingEntities ¶
type OfferingEntities []OfferingEntity
type OfferingEntity ¶
type OfferingEntity struct { Id string CreatedAt time.Time UpdatedAt time.Time Source DataSource SourceOfTruth DataSource AppSource string Name string Active bool Type enum.OfferingType PricingModel enum.PricingModel PricingPeriodInMonths int64 Currency enum.Currency Price float64 PriceCalculated bool Conditional bool Taxable bool PriceCalculation PriceCalculation Conditionals Conditionals }
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 }
type OrderEntities ¶
type OrderEntities []OrderEntity
type OrderEntity ¶
type OrderEntity struct { Id string CreatedAt time.Time UpdatedAt time.Time ConfirmedAt *time.Time PaidAt *time.Time FulfilledAt *time.Time CancelledAt *time.Time Source DataSource SourceOfTruth DataSource AppSource string DataloaderKey string }
func (OrderEntity) Labels ¶
func (order OrderEntity) Labels(tenant string) []string
type OrganizationEnrichDetails ¶
type OrganizationEnrichDetails struct { EnrichedAt *time.Time EnrichDomain string EnrichSource enum.DomainEnrichSource }
type OrganizationEntities ¶
type OrganizationEntities []OrganizationEntity
type OrganizationEntity ¶
type OrganizationEntity struct { DataLoaderKey ID string CustomerOsId string `neo4jDb:"property:customerOsId;lookupName:CUSTOMER_OS_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 // Deprecated: Use relationship instead IsCustomer bool `neo4jDb:"property:isCustomer;lookupName:IS_CUSTOMER;supportCaseSensitive:false"` 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 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 SourceOfTruth DataSource AppSource string 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"` LinkedOrganizationType *string SuggestedMerge struct { SuggestedAt *time.Time SuggestedBy *string Confidence *float64 } RenewalSummary RenewalSummary OnboardingDetails OnboardingDetails EnrichDetails OrganizationEnrichDetails InteractionEventParticipantDetails InteractionEventParticipantDetails OrganizationInternalFields OrganizationInternalFields }
func (OrganizationEntity) EntityLabel ¶
func (OrganizationEntity) EntityLabel() string
func (OrganizationEntity) GetDataloaderKey ¶
func (o OrganizationEntity) GetDataloaderKey() string
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 (OrganizationEntity) Labels(tenant string) []string
type OrganizationPlanEntities ¶
type OrganizationPlanEntities []OrganizationPlanEntity
type OrganizationPlanEntity ¶
type OrganizationPlanEntity struct { Id string CreatedAt time.Time UpdatedAt time.Time Name string Retired bool Source DataSource SourceOfTruth DataSource AppSource string StatusDetails OrganizationPlanStatusDetails MasterPlanId string }
type OrganizationPlanMilestoneEntities ¶
type OrganizationPlanMilestoneEntities []OrganizationPlanMilestoneEntity
type OrganizationPlanMilestoneEntity ¶
type OrganizationPlanMilestoneEntity struct { DataLoaderKey Id string CreatedAt time.Time UpdatedAt time.Time Name string Order int64 DueDate time.Time Items []OrganizationPlanMilestoneItem Optional bool Retired bool Source DataSource SourceOfTruth DataSource AppSource string StatusDetails OrganizationPlanMilestoneStatusDetails Adhoc bool }
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) IsTimelineEvent ¶
func (PageViewEntity) IsTimelineEvent()
func (PageViewEntity) TimelineEventLabel ¶
func (PageViewEntity) TimelineEventLabel() string
type PaymentDetails ¶
type PaymentDetails struct {
PaymentLink string
}
type PhoneNumberEntities ¶
type PhoneNumberEntities []PhoneNumberEntity
type PhoneNumberEntity ¶
type PriceCalculation ¶
type PriceCalculation struct { Type enum.PriceCalculationType }
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 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 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 SourceOfTruth DataSource AppSource string Url string }
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 SourceOfTruth DataSource AppSource string TaggedAt time.Time }
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 }
type TenantSettingsEntity ¶
type TimelineEvent ¶
type TimelineEvent interface { IsTimelineEvent() TimelineEventLabel() string }
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 Bot bool // Indirect properties DefaultForPlayer bool Tenant string }
func (UserEntity) GetFullName ¶
func (u UserEntity) GetFullName() string
Source Files ¶
- action.go
- analysis.go
- bank_account.go
- billing_profile.go
- comment.go
- contact.go
- contract.go
- country.go
- data_source.go
- dataloader_key.go
- domain.go
- email.go
- external_system.go
- interaction_event.go
- interaction_event_participant_interface.go
- interaction_session.go
- interaction_session_participant_interface.go
- invoice.go
- invoice_line.go
- invoicing_cycle.go
- issue.go
- issue_participant_interface.go
- job_role.go
- location.go
- log_entry.go
- master_plan.go
- master_plan_milestone.go
- meeting.go
- node_interface.go
- note.go
- offering.go
- opportunity.go
- order.go
- organization.go
- organization_plan.go
- organization_plan_milestone.go
- page_view.go
- phone_number.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
Click to show internal directories.
Click to hide internal directories.