Documentation ¶
Index ¶
- type BankAccountFields
- type CommentFields
- type ContactCreateEvent
- type ContactFields
- type ContractSaveFields
- type EmailValidationFields
- type IssueFields
- type LocationFields
- type LogEntryFields
- type MarkdownEventFields
- type MeetingSummaryEvent
- type OpportunityFields
- type OrganizationFields
- type SLIFields
- type TenantBillingProfileFields
- type TenantSettingsFields
- type UserFields
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BankAccountFields ¶
type BankAccountFields struct { ID string `json:"id,omitempty"` AppSource *string `json:"appSource,omitempty"` Source *string `json:"source,omitempty"` BankName *string `json:"bankName,omitempty"` BankTransferEnabled *bool `json:"bankTransferEnabled,omitempty"` AllowInternational *bool `json:"allowInternational,omitempty"` Currency *string `json:"currency,omitempty"` IBAN *string `json:"iban,omitempty"` BIC *string `json:"bic,omitempty"` SortCode *string `json:"sortCode,omitempty"` AccountNumber *string `json:"accountNumber,omitempty"` RoutingNumber *string `json:"routingNumber,omitempty"` OtherDetails *string `json:"otherDetails,omitempty"` }
Nil fields wil be skipped from update
func (BankAccountFields) IsEmpty ¶
func (fields BankAccountFields) IsEmpty() bool
IsEmpty returns true if there are no fields to update
type CommentFields ¶
type CommentFields struct { AppSource *string `json:"appSource,omitempty"` Source *string `json:"source,omitempty"` CreatedAt *time.Time `json:"createdAt,omitempty"` ExternalSystem *neo4jmodel.ExternalSystem `json:"externalSystem,omitempty"` CommentedIssueId *string `json:"commentedIssueId,omitempty"` Content *string `json:"content,omitempty"` ContentType *string `json:"contentType,omitempty"` AuthorUserId *string `json:"authorUserId,omitempty"` }
Nil fields wil be skipped from update
func (CommentFields) ExternalSystemAvailable ¶
func (fields CommentFields) ExternalSystemAvailable() bool
type ContactCreateEvent ¶
func (ContactCreateEvent) Type ¶
func (c ContactCreateEvent) Type() string
type ContactFields ¶
type ContactFields struct { AppSource *string `json:"appSource,omitempty"` Source *string `json:"source,omitempty"` ExternalSystem *model.ExternalSystem `json:"externalSystem,omitempty"` FirstName *string `json:"firstName,omitempty"` LastName *string `json:"lastName,omitempty"` Name *string `json:"name,omitempty"` Username *string `json:"username,omitempty"` ProfilePhotoUrl *string `json:"profilePhotoUrl,omitempty"` Timezone *string `json:"timezone,omitempty"` Description *string `json:"description,omitempty"` Prefix *string `json:"prefix,omitempty"` CreatedAt *time.Time `json:"createdAt,omitempty"` Hide *bool `json:"hide,omitempty"` }
func (ContactFields) ExternalSystemAvailable ¶
func (fields ContactFields) ExternalSystemAvailable() bool
type ContractSaveFields ¶
type ContractSaveFields struct { CreatedAt *time.Time `json:"createdAt,omitempty"` AppSource *string `json:"appSource,omitempty"` Source *string `json:"source,omitempty"` OrganizationId *string `json:"organizationId,omitempty"` CreatedByUserId *string `json:"createdByUserId,omitempty"` Name *string `json:"name,omitempty"` ContractUrl *string `json:"contractUrl,omitempty"` ServiceStartedAt *time.Time `json:"serviceStartedAt,omitempty"` SignedAt *time.Time `json:"signedAt,omitempty"` EndedAt *time.Time `json:"endedAt,omitempty"` LengthInMonths *int64 `json:"lengthInMonths,omitempty"` Status *string `json:"status,omitempty"` BillingCycleInMonths *int64 `json:"billingCycleInMonths,omitempty"` Currency *neo4jenum.Currency `json:"currency,omitempty"` InvoicingStartDate *time.Time `json:"invoicingStartDate,omitempty"` NextInvoiceDate *time.Time `json:"nextInvoiceDate,omitempty"` InvoicingEnabled *bool `json:"invoicingEnabled,omitempty"` PayOnline *bool `json:"payOnline,omitempty"` PayAutomatically *bool `json:"payAutomatically,omitempty"` CanPayWithCard *bool `json:"canPayWithCard,omitempty"` CanPayWithDirectDebit *bool `json:"canPayWithDirectDebit,omitempty"` CanPayWithBankTransfer *bool `json:"canPayWithBankTransfer,omitempty"` AutoRenew *bool `json:"autoRenew,omitempty"` Check *bool `json:"check,omitempty"` DueDays *int64 `json:"dueDays,omitempty"` Country *string `json:"country,omitempty"` Approved *bool `json:"approved,omitempty"` AddressLine1 *string `json:"addressLine1,omitempty"` AddressLine2 *string `json:"addressLine2,omitempty"` Locality *string `json:"locality,omitempty"` Region *string `json:"region,omitempty"` Zip *string `json:"zip,omitempty"` OrganizationLegalName *string `json:"organizationLegalName,omitempty"` InvoiceEmail *string `json:"invoiceEmail,omitempty"` InvoiceEmailCC *[]string `json:"invoiceEmailCC,omitempty"` InvoiceEmailBCC *[]string `json:"invoiceEmailBCC,omitempty"` InvoiceNote *string `json:"invoiceNote,omitempty"` ExternalSystem *model.ExternalSystem `json:"externalSystem,omitempty"` }
func (ContractSaveFields) GetCreatedByUserId ¶
func (c ContractSaveFields) GetCreatedByUserId() string
func (ContractSaveFields) GetOrganizationId ¶
func (c ContractSaveFields) GetOrganizationId() string
type EmailValidationFields ¶
type EmailValidationFields struct { EmailAddress string `json:"emailAddress"` Domain string `json:"domain"` IsCatchAll bool `json:"isCatchAll"` Deliverable string `json:"deliverable"` IsValidSyntax bool `json:"isValidSyntax"` Username string `json:"username"` ValidatedAt time.Time `json:"validatedAt"` IsRoleAccount bool `json:"isRoleAccount"` IsSystemGenerated bool `json:"isSystemGenerated"` IsRisky bool `json:"isRisky"` IsFirewalled bool `json:"isFirewalled"` Provider string `json:"provider"` Firewall string `json:"firewall"` IsMailboxFull bool `json:"isMailboxFull"` IsFreeAccount bool `json:"isFreeAccount"` SmtpSuccess bool `json:"smtpSuccess"` ResponseCode string `json:"responseCode"` ErrorCode string `json:"errorCode"` Description string `json:"description"` IsPrimaryDomain bool `json:"isPrimaryDomain"` PrimaryDomain string `json:"primaryDomain"` AlternateEmail string `json:"alternateEmail"` RetryValidation bool `json:"retryValidation"` }
type IssueFields ¶
type IssueFields struct { AppSource *string `json:"appSource,omitempty"` Source *string `json:"source,omitempty"` CreatedAt *time.Time `json:"createdAt,omitempty"` GroupId *string `json:"groupId,omitempty"` Subject *string `json:"subject,omitempty"` Description *string `json:"description,omitempty"` Status *string `json:"status,omitempty"` Priority *string `json:"priority,omitempty"` ReportedByOrganizationId *string `json:"reportedByOrganizationId,omitempty"` SubmittedByOrganizationId *string `json:"submittedByOrganizationId,omitempty"` SubmittedByUserId *string `json:"submittedByUserId,omitempty"` ExternalSystem *neo4jmodel.ExternalSystem `json:"externalSystem,omitempty"` }
Nil fields wil be skipped from update
func (IssueFields) ExternalSystemAvailable ¶
func (fields IssueFields) ExternalSystemAvailable() bool
type LocationFields ¶
type LocationFields struct { Source *string `json:"source,omitempty"` AppSource *string `json:"appSource,omitempty"` CreatedAt *time.Time `json:"createdAt,omitempty"` RawAddress string `json:"rawAddress,omitempty"` Name string `json:"name,omitempty"` Country string `json:"country,omitempty"` CountryCodeA2 string `json:"countryCodeA2,omitempty"` CountryCodeA3 string `json:"countryCodeA3,omitempty"` Region string `json:"region,omitempty"` Locality string `json:"locality,omitempty"` Address string `json:"address,omitempty"` Address2 string `json:"address2"` Zip string `json:"zip"` AddressType string `json:"addressType"` HouseNumber string `json:"houseNumber"` PostalCode string `json:"postalCode"` PlusFour string `json:"plusFour"` Commercial bool `json:"commercial"` Predirection string `json:"predirection"` District string `json:"district"` Street string `json:"street"` Latitude *float64 `json:"latitude"` Longitude *float64 `json:"longitude"` TimeZone string `json:"timeZone"` UtcOffset *float64 `json:"utcOffset"` }
type LogEntryFields ¶
type LogEntryFields struct { ID string `json:"id,omitempty"` AppSource *string `json:"appSource,omitempty"` Source *string `json:"source,omitempty"` CreatedAt *time.Time `json:"createdAt,omitempty"` StartedAt *time.Time `json:"startedAt,omitempty" ` OrganizationId *string `json:"organizationId,omitempty"` Content *string `json:"content,omitempty"` ContentType *string `json:"contentType,omitempty"` AuthorUserId *string `json:"authorUserId,omitempty"` ExternalSystem *neo4jmodel.ExternalSystem `json:"externalSystem,omitempty"` }
Nil fields wil be skipped from update
func (LogEntryFields) ExternalSystemAvailable ¶
func (fields LogEntryFields) ExternalSystemAvailable() bool
type MarkdownEventFields ¶
type MarkdownEventFields struct { AppSource *string `json:"appSource,omitempty"` Source *neo4jentity.DataSource `json:"source,omitempty"` CreatedAt *time.Time `json:"createdAt,omitempty"` OrganizationId *string `json:"organizationId,omitempty"` Content *string `json:"content,omitempty"` ExternalSystem *neo4jmodel.ExternalSystem `json:"externalSystem,omitempty"` }
Nil fields wil be skipped from update
func (MarkdownEventFields) ExternalSystemAvailable ¶
func (fields MarkdownEventFields) ExternalSystemAvailable() bool
func (MarkdownEventFields) Type ¶
func (fields MarkdownEventFields) Type() string
type MeetingSummaryEvent ¶
type MeetingSummaryEvent struct { MeetingID string `json:"meetingId"` ParticipantEmails *[]string `json:"participantEmails,omitempty"` Content *string `json:"content,omitempty"` Timestamp *time.Time `json:"timestamp,omitempty"` }
func MeetingSummaryEventFromString ¶
func MeetingSummaryEventFromString(s string) (*MeetingSummaryEvent, error)
func (MeetingSummaryEvent) ToString ¶
func (m MeetingSummaryEvent) ToString() (string, error)
func (MeetingSummaryEvent) Type ¶
func (m MeetingSummaryEvent) Type() string
type OpportunityFields ¶
type OpportunityFields struct { AppSource *string `json:"appSource,omitempty"` Source *string `json:"source,omitempty"` CreatedAt *time.Time `json:"createdAt,omitempty"` Name *string `json:"name,omitempty"` Amount *float64 `json:"amount,omitempty"` MaxAmount *float64 `json:"maxAmount,omitempty"` ExternalStage *string `json:"externalStage,omitempty"` ExternalType *string `json:"externalType,omitempty"` EstimatedClosedAt *time.Time `json:"estimatedClosedAt,omitempty"` InternalStage *string `json:"internalStage,omitempty"` InternalType *enum.OpportunityInternalType `json:"internalType,omitempty"` Currency *enum.Currency `json:"currency,omitempty"` NextSteps *string `json:"nextSteps,omitempty"` LikelihoodRate *int64 `json:"likelihoodRate,omitempty"` OwnerId *string `json:"ownerId,omitempty"` OrganizationId *string `json:"organizationId,omitempty"` ContractId *string `json:"contractId,omitempty"` RenewalLikelihood *enum.RenewalLikelihood `json:"renewalLikelihood,omitempty"` RenewalApproved *bool `json:"renewalApproved,omitempty"` RenewalAdjustedRate *int64 `json:"renewalAdjustedRate,omitempty"` RenewedAt *time.Time `json:"renewedAt,omitempty"` Comments *string `json:"comments,omitempty"` }
func (OpportunityFields) IsRenewal ¶
func (o OpportunityFields) IsRenewal() bool
type OrganizationFields ¶
type OrganizationFields struct { GlobalOrgId *uint64 `json:"globalOrgId,omitempty"` AppSource *string `json:"appSource,omitempty"` Source *string `json:"source,omitempty"` ExternalSystem *model.ExternalSystem `json:"externalSystem,omitempty"` Name *string `json:"name,omitempty"` Website *string `json:"website,omitempty"` PrimaryDomain *string `json:"primaryDomain,omitempty"` Domains []string `json:"domains,omitempty"` Stage *neo4jenum.OrganizationStage `json:"stage,omitempty"` Relationship *neo4jenum.OrganizationRelationship `json:"relationship,omitempty"` CustomerOsId *string `json:"customerOsId,omitempty"` Hide *bool `json:"hide,omitempty"` Description *string `json:"description,omitempty"` Industry *string `json:"industry,omitempty"` SubIndustry *string `json:"subIndustry,omitempty"` IndustryGroup *string `json:"industryGroup,omitempty"` TargetAudience *string `json:"targetAudience,omitempty"` ValueProposition *string `json:"valueProposition,omitempty"` LastFundingRound *string `json:"lastFundingRound,omitempty"` LastFundingAmount *string `json:"lastFundingAmount,omitempty"` ReferenceId *string `json:"referenceId,omitempty"` Note *string `json:"note,omitempty"` IsPublic *bool `json:"isPublic,omitempty"` Employees *int64 `json:"employees,omitempty"` Market *string `json:"market,omitempty"` YearFounded *int64 `json:"yearFounded,omitempty"` Headquarters *string `json:"headquarters,omitempty"` LogoUrl *string `json:"logoUrl,omitempty"` IconUrl *string `json:"iconUrl,omitempty"` EmployeeGrowthRate *string `json:"employeeGrowthRate,omitempty"` SlackChannelId *string `json:"slackChannelId,omitempty"` LeadSource *string `json:"leadSource,omitempty"` IcpFit *bool `json:"icpFit,omitempty"` EnrichDomain *string `json:"enrichDomain,omitempty"` EnrichSource *string `json:"enrichSource,omitempty"` OwnerId *string `json:"ownerId,omitempty"` LinkedInUrl *string `json:"linkedInUrl,omitempty"` LinkedInAlias *string `json:"linkedInAlias,omitempty"` }
func (OrganizationFields) ExternalSystemAvailable ¶
func (fields OrganizationFields) ExternalSystemAvailable() bool
func (OrganizationFields) GetRelationshipStr ¶
func (fields OrganizationFields) GetRelationshipStr() string
func (OrganizationFields) GetStageStr ¶
func (fields OrganizationFields) GetStageStr() string
type SLIFields ¶
type SLIFields struct { AppSource *string `json:"appSource,omitempty"` Source *string `json:"source,omitempty"` CreatedAt *time.Time `json:"createdAt,omitempty"` BilledType *neo4jenum.BilledType `json:"billedType,omitempty"` Quantity *int64 `json:"quantity,omitempty"` Price *float64 `json:"price,omitempty"` Name *string `json:"name,omitempty"` ContractId *string `json:"contractId,omitempty"` StartedAt *time.Time `json:"startedAt,omitempty"` EndedAt *time.Time `json:"endedAt,omitempty"` TaxRate *float64 `json:"taxRate,omitempty"` Comments *string `json:"comments,omitempty"` ParentId *string `json:"parentId,omitempty"` }
type TenantBillingProfileFields ¶
type TenantBillingProfileFields struct { ID string `json:"id,omitempty"` AppSource *string `json:"appSource,omitempty"` Source *string `json:"source,omitempty"` Phone *string `json:"phone,omitempty"` LegalName *string `json:"legalName,omitempty"` AddressLine1 *string `json:"addressLine1,omitempty"` AddressLine2 *string `json:"addressLine2,omitempty"` AddressLine3 *string `json:"addressLine3,omitempty"` Locality *string `json:"locality,omitempty"` Country *string `json:"country,omitempty"` Region *string `json:"region,omitempty"` Zip *string `json:"zip,omitempty"` VatNumber *string `json:"vatNumber,omitempty"` SendInvoicesFrom *string `json:"sendInvoicesFrom,omitempty"` SendInvoicesBcc *string `json:"sendInvoicesBcc,omitempty"` CanPayWithPigeon *bool `json:"canPayWithPigeon,omitempty"` CanPayWithBankTransfer *bool `json:"canPayWithBankTransfer,omitempty"` Check *bool `json:"check,omitempty"` }
Nil fields wil be skipped from update
func (TenantBillingProfileFields) IsEmpty ¶
func (fields TenantBillingProfileFields) IsEmpty() bool
IsEmpty returns true if there are no fields to update
type TenantSettingsFields ¶
type TenantSettingsFields struct { InvoicingEnabled *bool `json:"invoicingEnabled,omitempty"` InvoicingPostpaid *bool `json:"invoicingPostpaid,omitempty"` LogoRepositoryFileId *string `json:"logoRepositoryFileId,omitempty"` BaseCurrency *string `json:"baseCurrency,omitempty"` WorkspaceLogo *string `json:"workspaceLogo,omitempty"` WorkspaceName *string `json:"workspaceName,omitempty"` }
Nil fields wil be skipped from update
func (TenantSettingsFields) IsEmpty ¶
func (fields TenantSettingsFields) IsEmpty() bool
IsEmpty returns true if there are no fields to update
type UserFields ¶
type UserFields struct { AppSource *string `json:"appSource,omitempty"` Source *string `json:"source,omitempty"` ExternalSystem *model.ExternalSystem `json:"externalSystem,omitempty"` CreatedAt *time.Time `json:"createdAt,omitempty"` ShowOnboardingPage *bool `json:"showOnboardingPage,omitempty"` OnboardingInboundStepCompleted *bool `json:"onboardingInboundStepCompleted,omitempty"` OnboardingOutboundStepCompleted *bool `json:"onboardingOutboundStepCompleted,omitempty"` OnboardingCrmStepCompleted *bool `json:"onboardingCrmStepCompleted,omitempty"` OnboardingMailstackStepCompleted *bool `json:"onboardingMailstackStepCompleted,omitempty"` FirstName *string `json:"firstName,omitempty"` LastName *string `json:"lastName,omitempty"` Name *string `json:"name,omitempty"` Timezone *string `json:"timezone,omitempty"` ProfilePhotoUrl *string `json:"profilePhotoUrl,omitempty"` Internal *bool `json:"internal,omitempty"` Test *bool `json:"test,omitempty"` Bot *bool `json:"bot,omitempty"` Roles *[]string `json:"roles,omitempty"` }
func (UserFields) ExternalSystemAvailable ¶
func (fields UserFields) ExternalSystemAvailable() bool
Source Files ¶
- bank_account_fields.go
- comment_fields.go
- contact_fields.go
- contract_save_fields.go
- email_validation_fields.go
- event_contact_create.go
- event_markdown_event.go
- event_meeting_summary.go
- issue_fields.go
- location_fields.go
- log_entry_fields.go
- opportunity_fields.go
- organization_fields.go
- service_line_item_fields.go
- tenant_billing_profile_fields.go
- tenant_settings_fields.go
- user_fields.go
Click to show internal directories.
Click to hide internal directories.