Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BillingProfile ¶
type BillingProfile struct { Id string `json:"id"` LegalName string `json:"legalName"` TaxId string `json:"taxId"` CreatedAt time.Time `json:"createdAt"` UpdatedAt time.Time `json:"updatedAt"` SourceFields common.Source `json:"sourceFields"` PrimaryEmailId string `json:"primaryEmailId"` EmailIds []string `json:"emailIds"` LocationIds []string `json:"locationIds"` }
type CustomField ¶
type CustomField struct { Id string `json:"id"` Name string `json:"name"` TemplateId *string `json:"templateId,omitempty"` CustomFieldValue neo4jmodel.CustomFieldValue `json:"customFieldValue"` CustomFieldDataType CustomFieldDataType `json:"customFieldDataType"` Source common.Source `json:"source"` CreatedAt time.Time `json:"createdAt,omitempty"` UpdatedAt time.Time `json:"updatedAt,omitempty"` }
type CustomFieldDataType ¶
type CustomFieldDataType string
const ( CustomFieldDataTypeText CustomFieldDataType = "TEXT" CustomFieldDataTypeBool CustomFieldDataType = "BOOL" CustomFieldDataTypeDatetime CustomFieldDataType = "DATETIME" CustomFieldDataTypeInteger CustomFieldDataType = "INTEGER" CustomFieldDataTypeDecimal CustomFieldDataType = "DECIMAL" )
type OnboardingDetails ¶
type OnboardingStatus ¶
type OnboardingStatus int32
const ( NotApplicable OnboardingStatus = iota NotStarted OnTrack Late Stuck Done Successful )
func (OnboardingStatus) String ¶
func (os OnboardingStatus) String() string
type OnboardingStatusString ¶
type OnboardingStatusString string
const ( OnboardingStatusNotApplicable OnboardingStatusString = "NOT_APPLICABLE" OnboardingStatusNotStarted OnboardingStatusString = "NOT_STARTED" OnboardingStatusOnTrack OnboardingStatusString = "ON_TRACK" OnboardingStatusLate OnboardingStatusString = "LATE" OnboardingStatusStuck OnboardingStatusString = "STUCK" OnboardingStatusDone OnboardingStatusString = "DONE" OnboardingStatusSuccessful OnboardingStatusString = "SUCCESSFUL" )
type Organization ¶
type Organization struct { ID string `json:"id"` Name string `json:"name"` Hide bool `json:"hide"` Description string `json:"description"` Website string `json:"website"` Industry string `json:"industry"` SubIndustry string `json:"subIndustry"` IndustryGroup string `json:"industryGroup"` TargetAudience string `json:"targetAudience"` ValueProposition string `json:"valueProposition"` IsPublic bool `json:"isPublic"` Employees int64 `json:"employees"` Market string `json:"market"` LastFundingRound string `json:"lastFundingRound"` LastFundingAmount string `json:"lastFundingAmount"` ReferenceId string `json:"referenceId"` Note string `json:"note"` Source common.Source `json:"source"` CreatedAt time.Time `json:"createdAt,omitempty"` UpdatedAt time.Time `json:"updatedAt,omitempty"` PhoneNumbers map[string]OrganizationPhoneNumber `json:"phoneNumbers"` // Deprecated LocationIds []string `json:"locationIds,omitempty"` CustomFields map[string]CustomField `json:"customFields,omitempty"` ExternalSystems []common.ExternalSystem `json:"externalSystems"` ParentOrganizations map[string]ParentOrganization `json:"parentOrganizations,omitempty"` LogoUrl string `json:"logoUrl,omitempty"` IconUrl string `json:"iconUrl,omitempty"` YearFounded *int64 `json:"yearFounded,omitempty"` Headquarters string `json:"headquarters,omitempty"` EmployeeGrowthRate string `json:"employeeGrowthRate,omitempty"` SlackChannelId string `json:"slackChannelId,omitempty"` OnboardingDetails OnboardingDetails `json:"onboardingDetails,omitempty"` BillingProfiles map[string]BillingProfile `json:"billingProfiles,omitempty"` Relationship string `json:"relationship,omitempty"` Stage string `json:"stage,omitempty"` LeadSource string `json:"leadSource,omitempty"` TagIds []string `json:"tagIds,omitempty"` Locations map[string]common.Location `json:"locations,omitempty"` IcpFit bool `json:"icpFit"` }
func (*Organization) ContainsExternalSystem ¶
func (o *Organization) ContainsExternalSystem(externalSystem string) bool
func (*Organization) GetLocationIdForDetails ¶
func (o *Organization) GetLocationIdForDetails(location common.Location) string
func (*Organization) SkipUpdate ¶
func (o *Organization) SkipUpdate(fields *OrganizationFields) bool
func (*Organization) String ¶
func (o *Organization) String() string
type OrganizationDataFields ¶
type OrganizationDataFields struct { Name string Hide bool Description string Website string Industry string SubIndustry string IndustryGroup string TargetAudience string ValueProposition string IsPublic bool Employees int64 Market string LastFundingRound string LastFundingAmount string ReferenceId string Note string YearFounded *int64 Headquarters string EmployeeGrowthRate string LogoUrl string IconUrl string SlackChannelId string Relationship string Stage string LeadSource string IcpFit bool }
type OrganizationFields ¶
type OrganizationPhoneNumber ¶
type ParentOrganization ¶
Click to show internal directories.
Click to hide internal directories.