Documentation ¶
Index ¶
- Variables
- func MarshalAnyTypeValue(atv AnyTypeValue) graphql.Marshaler
- type Action
- type ActionItem
- type ActionResponse
- type ActionType
- type AddTagInput
- type AnyTypeValue
- func (a *AnyTypeValue) BoolToStr()
- func (a *AnyTypeValue) FloatToInt()
- func (a *AnyTypeValue) FloatToStr()
- func (a *AnyTypeValue) IntToBool()
- func (a *AnyTypeValue) IntToFloat()
- func (a *AnyTypeValue) IntToStr()
- func (a *AnyTypeValue) RealValue() any
- func (a *AnyTypeValue) StrToBool()
- func (a *AnyTypeValue) StrToFloat()
- func (a *AnyTypeValue) StrToInt()
- func (a *AnyTypeValue) StrToTime()
- func (a *AnyTypeValue) TimeToStr()
- type Attachment
- type AttachmentInput
- type BankAccount
- type BankAccountCreateInput
- type BankAccountUpdateInput
- type BilledType
- type BillingDetails
- type BillingDetailsInput
- type BillingProfile
- type BillingProfileInput
- type BillingProfileLinkEmailInput
- type BillingProfileLinkLocationInput
- type BillingProfileUpdateInput
- type Calendar
- type CalendarType
- type ColumnView
- type ColumnViewInput
- type ColumnViewType
- type Comment
- type Contact
- type ContactInput
- type ContactOrganizationInput
- type ContactParticipant
- type ContactSearchResult
- type ContactTagInput
- type ContactUIDetails
- type ContactUpdateInput
- type ContactsPage
- type Contract
- type ContractBillingCycle
- type ContractInput
- type ContractPage
- type ContractRenewalCycle
- type ContractRenewalInput
- type ContractStatus
- type ContractUpdateInput
- type Country
- type Currency
- type CustomEntityType
- type CustomField
- type CustomFieldDataType
- type CustomFieldEntityType
- type CustomFieldInput
- type CustomFieldTemplate
- type CustomFieldTemplateInput
- type CustomFieldTemplateType
- type CustomFieldUpdateInput
- type CustomerContact
- type CustomerContactInput
- type CustomerEmail
- type CustomerJobRole
- type CustomerUser
- type DashboardARRBreakdown
- type DashboardARRBreakdownPerMonth
- type DashboardCustomerMap
- type DashboardCustomerMapState
- type DashboardGrossRevenueRetention
- type DashboardGrossRevenueRetentionPerMonth
- type DashboardMRRPerCustomer
- type DashboardMRRPerCustomerPerMonth
- type DashboardNewCustomers
- type DashboardNewCustomersPerMonth
- type DashboardOnboardingCompletion
- type DashboardOnboardingCompletionPerMonth
- type DashboardPeriodInput
- type DashboardRetentionRate
- type DashboardRetentionRatePerMonth
- type DashboardRevenueAtRisk
- type DashboardTimeToOnboard
- type DashboardTimeToOnboardPerMonth
- type DataSource
- type DeleteResponse
- type Domain
- type DomainCheckDetails
- type Email
- type EmailDeliverable
- type EmailInput
- type EmailLabel
- type EmailParticipant
- type EmailRelationUpdateInput
- type EmailUpdateAddressInput
- type EmailValidationDetails
- type EmailVariableEntity
- type EmailVariableEntityType
- type EmailVariableName
- type EnrichDetails
- type EntityType
- type ExternalSystem
- type ExternalSystemInput
- type ExternalSystemInstance
- type ExternalSystemReferenceInput
- type ExternalSystemStripeDetails
- type ExternalSystemType
- type Filter
- type FilterItem
- type Flow
- type FlowAction
- type FlowActionExecution
- type FlowActionInputData
- type FlowActionInputDataEmail
- type FlowActionInputDataLinkedinConnectionRequest
- type FlowActionInputDataLinkedinMessage
- type FlowActionInputDataWait
- type FlowContact
- type FlowMergeInput
- type FlowParticipant
- type FlowSender
- type FlowSenderMergeInput
- type FlowStatistics
- type FundingRound
- type GetPaymentIntent
- type GlobalCache
- type GlobalCacheEmailToken
- type GlobalOrganization
- type Industry
- type InteractionEvent
- type InteractionEventParticipant
- type InteractionSession
- type InteractionSessionParticipant
- type InternalStage
- type InternalType
- type Invoice
- type InvoiceCustomer
- type InvoiceLine
- type InvoiceLineSimulate
- type InvoiceProvider
- type InvoiceSimulate
- type InvoiceSimulateInput
- type InvoiceSimulateServiceLineInput
- type InvoiceStatus
- type InvoiceUpdateInput
- type InvoicesPage
- type Issue
- type IssueParticipant
- type IssueSummaryByStatus
- type JobRole
- type JobRoleInput
- type JobRoleParticipant
- type JobRoleSaveInput
- type JobRoleUpdateInput
- type LastTouchpoint
- type LastTouchpointType
- type LinkOrganizationsInput
- type LinkedOrganization
- type Location
- type LocationUpdateInput
- type LogEntry
- type LogEntryInput
- type LogEntryUpdateInput
- type Mailbox
- type MarkdownEvent
- type Market
- type Meeting
- type MeetingInput
- type MeetingParticipant
- type MeetingParticipantInput
- type MeetingStatus
- type MeetingUpdateInput
- type MeetingsPage
- type Metadata
- type MetadataInterface
- type Mutation
- type Node
- type Note
- type NoteInput
- type NotePage
- type NoteUpdateInput
- type OnboardingDetails
- type OnboardingStatus
- type OnboardingStatusInput
- type Opportunity
- type OpportunityCreateInput
- type OpportunityPage
- type OpportunityRenewalLikelihood
- type OpportunityRenewalUpdateAllForOrganizationInput
- type OpportunityRenewalUpdateInput
- type OpportunitySaveInput
- type OpportunityUpdateInput
- type OrgAccountDetails
- type Organization
- type OrganizationInput
- type OrganizationPage
- type OrganizationParticipant
- type OrganizationRelationship
- type OrganizationSaveInput
- type OrganizationSaveInputFromGlobalOrg
- type OrganizationSearchResult
- type OrganizationStage
- type OrganizationTagInput
- type OrganizationUIDetails
- type OrganizationUpdateInput
- type OrganizationWithJobRole
- type PageView
- type Pages
- type Pagination
- type PersonTitle
- type PhoneNumber
- type PhoneNumberInput
- type PhoneNumberLabel
- type PhoneNumberParticipant
- type PhoneNumberRelationUpdateInput
- type PhoneNumberUpdateInput
- type Query
- type Reminder
- type ReminderInput
- type ReminderUpdateInput
- type RemoveTagInput
- type RenewalRecord
- type RenewalSummary
- type RenewalsPage
- type Result
- type Role
- type ServiceLineItem
- type ServiceLineItemBulkUpdateInput
- type ServiceLineItemBulkUpdateItem
- type ServiceLineItemCloseInput
- type ServiceLineItemInput
- type ServiceLineItemNewVersionInput
- type ServiceLineItemUpdateInput
- type SlackChannel
- type SlackChannelPage
- type Social
- type SocialInput
- type SocialUpdateInput
- type SourceFields
- type SourceFieldsInterface
- type State
- type SuggestedMergeOrganization
- type TableIDType
- type TableViewDef
- type TableViewDefCreateInput
- type TableViewDefUpdateInput
- type TableViewType
- type Tag
- type TagIDOrNameInput
- type TagInput
- type TagUpdateInput
- type Tax
- type TaxInput
- type TenantBillableInfo
- type TenantBillingProfile
- func (this TenantBillingProfile) GetAppSource() string
- func (this TenantBillingProfile) GetID() string
- func (this TenantBillingProfile) GetSource() DataSource
- func (this TenantBillingProfile) GetSourceOfTruth() DataSource
- func (TenantBillingProfile) IsNode()
- func (TenantBillingProfile) IsSourceFields()
- type TenantBillingProfileInput
- type TenantBillingProfileUpdateInput
- type TenantInput
- type TenantSettings
- type TenantSettingsInput
- type TenantSettingsOpportunityStageConfiguration
- type TenantSettingsOpportunityStageConfigurationInput
- type TimeRange
- type TimelineEvent
- type TimelineEventType
- type User
- type UserInput
- type UserOnboardingDetails
- type UserOnboardingDetailsInput
- type UserPage
- type UserParticipant
- type UserUpdateInput
- type WebsiteCheckDetails
Constants ¶
This section is empty.
Variables ¶
var AllActionType = []ActionType{ ActionTypeCreated, ActionTypeGeneric, ActionTypeRenewalLikelihoodUpdated, ActionTypeRenewalForecastUpdated, ActionTypeContractStatusUpdated, ActionTypeServiceLineItemPriceUpdated, ActionTypeServiceLineItemQuantityUpdated, ActionTypeInteractionEventRead, ActionTypeServiceLineItemBilledTypeUpdated, ActionTypeServiceLineItemBilledTypeRecurringCreated, ActionTypeServiceLineItemBilledTypeOnceCreated, ActionTypeServiceLineItemBilledTypeUsageCreated, ActionTypeContractRenewed, ActionTypeServiceLineItemRemoved, ActionTypeOnboardingStatusChanged, ActionTypeInvoiceIssued, ActionTypeInvoicePaid, ActionTypeInvoiceVoided, ActionTypeInvoiceOverdue, ActionTypeInvoiceSent, }
var AllBilledType = []BilledType{ BilledTypeNone, BilledTypeMonthly, BilledTypeQuarterly, BilledTypeAnnually, BilledTypeOnce, BilledTypeUsage, }
var AllCalendarType = []CalendarType{ CalendarTypeCalcom, CalendarTypeGoogle, }
var AllColumnViewType = []ColumnViewType{ ColumnViewTypeInvoicesIssueDate, ColumnViewTypeInvoicesIssueDatePast, ColumnViewTypeInvoicesDueDate, ColumnViewTypeInvoicesContract, ColumnViewTypeInvoicesBillingCycle, ColumnViewTypeInvoicesInvoiceNumber, ColumnViewTypeInvoicesAmount, ColumnViewTypeInvoicesInvoiceStatus, ColumnViewTypeInvoicesInvoicePreview, ColumnViewTypeInvoicesOrganization, ColumnViewTypeOrganizationsAvatar, ColumnViewTypeOrganizationsName, ColumnViewTypeOrganizationsWebsite, ColumnViewTypeOrganizationsPrimaryDomains, ColumnViewTypeOrganizationsRelationship, ColumnViewTypeOrganizationsOnboardingStatus, ColumnViewTypeOrganizationsRenewalLikelihood, ColumnViewTypeOrganizationsRenewalDate, ColumnViewTypeOrganizationsForecastArr, ColumnViewTypeOrganizationsOwner, ColumnViewTypeOrganizationsLastTouchpoint, ColumnViewTypeOrganizationsLastTouchpointDate, ColumnViewTypeOrganizationsStage, ColumnViewTypeOrganizationsContactCount, ColumnViewTypeOrganizationsSocials, ColumnViewTypeOrganizationsLeadSource, ColumnViewTypeOrganizationsCreatedDate, ColumnViewTypeOrganizationsEmployeeCount, ColumnViewTypeOrganizationsYearFounded, ColumnViewTypeOrganizationsIndustry, ColumnViewTypeOrganizationsChurnDate, ColumnViewTypeOrganizationsLtv, ColumnViewTypeOrganizationsCountry, ColumnViewTypeOrganizationsCity, ColumnViewTypeOrganizationsHeadquarters, ColumnViewTypeOrganizationsIsPublic, ColumnViewTypeOrganizationsLinkedinFollowerCount, ColumnViewTypeOrganizationsTags, ColumnViewTypeOrganizationsParentOrganization, ColumnViewTypeOrganizationsUpdatedDate, ColumnViewTypeContactsAvatar, ColumnViewTypeContactsName, ColumnViewTypeContactsOrganization, ColumnViewTypeContactsEmails, ColumnViewTypeContactsPersonalEmails, ColumnViewTypeContactsPrimaryEmail, ColumnViewTypeContactsPhoneNumbers, ColumnViewTypeContactsLinkedin, ColumnViewTypeContactsCity, ColumnViewTypeContactsPersona, ColumnViewTypeContactsLastInteraction, ColumnViewTypeContactsCountry, ColumnViewTypeContactsRegion, ColumnViewTypeContactsSkills, ColumnViewTypeContactsSchools, ColumnViewTypeContactsLanguages, ColumnViewTypeContactsTimeInCurrentRole, ColumnViewTypeContactsExperience, ColumnViewTypeContactsLinkedinFollowerCount, ColumnViewTypeContactsJobTitle, ColumnViewTypeContactsTags, ColumnViewTypeContactsConnections, ColumnViewTypeContactsFlows, ColumnViewTypeContactsFlowStatus, ColumnViewTypeContactsFlowNextAction, ColumnViewTypeContactsUpdatedAt, ColumnViewTypeContactsCreatedAt, ColumnViewTypeOpportunitiesCommonColumn, ColumnViewTypeOpportunitiesName, ColumnViewTypeOpportunitiesOrganization, ColumnViewTypeOpportunitiesStage, ColumnViewTypeOpportunitiesEstimatedArr, ColumnViewTypeOpportunitiesOwner, ColumnViewTypeOpportunitiesTimeInStage, ColumnViewTypeOpportunitiesCreatedDate, ColumnViewTypeOpportunitiesNextStep, ColumnViewTypeContractsName, ColumnViewTypeContractsEnded, ColumnViewTypeContractsPeriod, ColumnViewTypeContractsCurrency, ColumnViewTypeContractsStatus, ColumnViewTypeContractsRenewal, ColumnViewTypeContractsLtv, ColumnViewTypeContractsRenewalDate, ColumnViewTypeContractsForecastArr, ColumnViewTypeContractsOwner, ColumnViewTypeContractsHealth, ColumnViewTypeFlowName, ColumnViewTypeFlowTotalCount, ColumnViewTypeFlowOnHoldCount, ColumnViewTypeFlowReadyCount, ColumnViewTypeFlowScheduledCount, ColumnViewTypeFlowInProgressCount, ColumnViewTypeFlowCompletedCount, ColumnViewTypeFlowGoalAchievedCount, ColumnViewTypeFlowStatus, ColumnViewTypeFlowActionName, ColumnViewTypeFlowActionStatus, }
var AllContractBillingCycle = []ContractBillingCycle{ ContractBillingCycleNone, ContractBillingCycleMonthlyBilling, ContractBillingCycleQuarterlyBilling, ContractBillingCycleAnnualBilling, ContractBillingCycleCustomBilling, }
var AllContractRenewalCycle = []ContractRenewalCycle{ ContractRenewalCycleNone, ContractRenewalCycleMonthlyRenewal, ContractRenewalCycleQuarterlyRenewal, ContractRenewalCycleAnnualRenewal, }
var AllContractStatus = []ContractStatus{ ContractStatusUndefined, ContractStatusDraft, ContractStatusScheduled, ContractStatusLive, ContractStatusEnded, ContractStatusOutOfContract, }
var AllCurrency = []Currency{ CurrencyAud, CurrencyBrl, CurrencyCad, CurrencyChf, CurrencyCny, CurrencyEur, CurrencyGbp, CurrencyHkd, CurrencyInr, CurrencyJpy, CurrencyKrw, CurrencyMxn, CurrencyNok, CurrencyNzd, CurrencyRon, CurrencySek, CurrencySgd, CurrencyTry, CurrencyUsd, CurrencyZar, }
var AllCustomEntityType = []CustomEntityType{ CustomEntityTypeContact, CustomEntityTypeOrganization, }
var AllCustomFieldDataType = []CustomFieldDataType{ CustomFieldDataTypeText, CustomFieldDataTypeBool, CustomFieldDataTypeDatetime, CustomFieldDataTypeInteger, CustomFieldDataTypeDecimal, }
var AllCustomFieldTemplateType = []CustomFieldTemplateType{ CustomFieldTemplateTypeFreeText, CustomFieldTemplateTypeSingleSelect, CustomFieldTemplateTypeNumber, }
var AllDashboardCustomerMapState = []DashboardCustomerMapState{ DashboardCustomerMapStateOk, DashboardCustomerMapStateAtRisk, DashboardCustomerMapStateChurned, DashboardCustomerMapStateHighRisk, DashboardCustomerMapStateMediumRisk, }
var AllDataSource = []DataSource{ DataSourceNa, DataSourceOpenline, DataSourceWebscrape, DataSourceHubspot, DataSourceZendeskSupport, DataSourcePipedrive, DataSourceSLACk, DataSourceIntercom, DataSourceSalesforce, DataSourceStripe, DataSourceMixpanel, DataSourceClose, DataSourceOutlook, DataSourceUnthread, DataSourceShopify, DataSourceAttio, DataSourceZendeskSell, DataSourceMailstack, DataSourceFathom, DataSourceGrain, }
var AllEmailDeliverable = []EmailDeliverable{ EmailDeliverableUnknown, EmailDeliverableDeliverable, EmailDeliverableUndeliverable, }
var AllEmailLabel = []EmailLabel{ EmailLabelMain, EmailLabelWork, EmailLabelPersonal, EmailLabelOther, }
var AllEmailVariableEntityType = []EmailVariableEntityType{ EmailVariableEntityTypeContact, }
var AllEmailVariableName = []EmailVariableName{ EmailVariableNameSenderFirstName, EmailVariableNameSenderLastName, EmailVariableNameContactFirstName, EmailVariableNameContactLastName, EmailVariableNameContactFullName, EmailVariableNameContactEmail, EmailVariableNameOrganizationName, }
var AllEntityType = []EntityType{ EntityTypeOrganization, EntityTypeOpportunity, EntityTypeContact, EntityTypeLogEntry, EntityTypeIssue, EntityTypeContract, }
var AllExternalSystemType = []ExternalSystemType{ ExternalSystemTypeHubspot, ExternalSystemTypeZendeskSupport, ExternalSystemTypeCalcom, ExternalSystemTypePipedrive, ExternalSystemTypeSLACk, ExternalSystemTypeIntercom, ExternalSystemTypeSalesforce, ExternalSystemTypeStripe, ExternalSystemTypeMixpanel, ExternalSystemTypeClose, ExternalSystemTypeOutlook, ExternalSystemTypeUnthread, ExternalSystemTypeAttio, ExternalSystemTypeWeconnect, ExternalSystemTypeZendeskSell, }
var AllFundingRound = []FundingRound{ FundingRoundPreSeed, FundingRoundSeed, FundingRoundSeriesA, FundingRoundSeriesB, FundingRoundSeriesC, FundingRoundSeriesD, FundingRoundSeriesE, FundingRoundSeriesF, FundingRoundIPO, FundingRoundFriendsAndFamily, FundingRoundAngel, FundingRoundBridge, }
var AllInternalStage = []InternalStage{ InternalStageOpen, InternalStageClosedWon, InternalStageClosedLost, }
var AllInternalType = []InternalType{ InternalTypeNbo, InternalTypeUpsell, InternalTypeCrossSell, InternalTypeRenewal, }
var AllInvoiceStatus = []InvoiceStatus{ InvoiceStatusInitialized, InvoiceStatusDraft, InvoiceStatusDue, InvoiceStatusOverdue, InvoiceStatusPaid, InvoiceStatusVoid, InvoiceStatusScheduled, InvoiceStatusOnHold, InvoiceStatusEmpty, }
var AllLastTouchpointType = []LastTouchpointType{ LastTouchpointTypePageView, LastTouchpointTypeInteractionSession, LastTouchpointTypeNote, LastTouchpointTypeInteractionEventEmailSent, LastTouchpointTypeInteractionEventEmailReceived, LastTouchpointTypeInteractionEventPhoneCall, LastTouchpointTypeInteractionEventChat, LastTouchpointTypeMeeting, LastTouchpointTypeActionCreated, LastTouchpointTypeAction, LastTouchpointTypeLogEntry, LastTouchpointTypeIssueCreated, LastTouchpointTypeIssueUpdated, }
var AllMarket = []Market{ MarketB2b, MarketB2c, MarketMarketplace, }
var AllMeetingStatus = []MeetingStatus{ MeetingStatusUndefined, MeetingStatusAccepted, MeetingStatusCanceled, }
var AllOnboardingStatus = []OnboardingStatus{ OnboardingStatusNotApplicable, OnboardingStatusNotStarted, OnboardingStatusOnTrack, OnboardingStatusLate, OnboardingStatusStuck, OnboardingStatusDone, OnboardingStatusSuccessful, }
var AllOpportunityRenewalLikelihood = []OpportunityRenewalLikelihood{ OpportunityRenewalLikelihoodHighRenewal, OpportunityRenewalLikelihoodMediumRenewal, OpportunityRenewalLikelihoodLowRenewal, OpportunityRenewalLikelihoodZeroRenewal, }
var AllOrganizationRelationship = []OrganizationRelationship{ OrganizationRelationshipCustomer, OrganizationRelationshipProspect, OrganizationRelationshipNotAFit, OrganizationRelationshipFormerCustomer, }
var AllOrganizationStage = []OrganizationStage{ OrganizationStageEngaged, OrganizationStageInitialValue, OrganizationStageLead, OrganizationStageMaxValue, OrganizationStageOnboarding, OrganizationStagePendingChurn, OrganizationStageReadyToBuy, OrganizationStageRecurringValue, OrganizationStageTarget, OrganizationStageTrial, OrganizationStageUnqualified, }
var AllPersonTitle = []PersonTitle{ PersonTitleMr, PersonTitleMrs, PersonTitleMiss, PersonTitleMs, PersonTitleDr, }
var AllPhoneNumberLabel = []PhoneNumberLabel{ PhoneNumberLabelMain, PhoneNumberLabelWork, PhoneNumberLabelHome, PhoneNumberLabelMobile, PhoneNumberLabelOther, }
var AllRole = []Role{ RoleUser, RoleOwner, RoleAdmin, RolePlatformOwner, }
var AllTableIDType = []TableIDType{ TableIDTypeOrganizations, TableIDTypeCustomers, TableIDTypeTargets, TableIDTypeUpcomingInvoices, TableIDTypePastInvoices, TableIDTypeContacts, TableIDTypeContactsForTargetOrganizations, TableIDTypeOpportunities, TableIDTypeOpportunitiesRecords, TableIDTypeContracts, TableIDTypeFlowActions, TableIDTypeFlowContacts, }
var AllTableViewType = []TableViewType{ TableViewTypeOrganizations, TableViewTypeInvoices, TableViewTypeContacts, TableViewTypeOpportunities, TableViewTypeContracts, TableViewTypeFlow, }
var AllTimelineEventType = []TimelineEventType{ TimelineEventTypePageView, TimelineEventTypeInteractionSession, TimelineEventTypeNote, TimelineEventTypeInteractionEvent, TimelineEventTypeAnalysis, TimelineEventTypeIssue, TimelineEventTypeMeeting, TimelineEventTypeAction, TimelineEventTypeLogEntry, TimelineEventTypeOrder, TimelineEventTypeMarkdownEvent, }
Functions ¶
func MarshalAnyTypeValue ¶
func MarshalAnyTypeValue(atv AnyTypeValue) graphql.Marshaler
Types ¶
type Action ¶
type Action struct { ID string `json:"id"` CreatedAt time.Time `json:"createdAt"` Content *string `json:"content,omitempty"` Source DataSource `json:"source"` AppSource string `json:"appSource"` CreatedBy *User `json:"createdBy,omitempty"` ActionType ActionType `json:"actionType"` Metadata *string `json:"metadata,omitempty"` }
func (Action) IsTimelineEvent ¶
func (Action) IsTimelineEvent()
type ActionItem ¶
type ActionResponse ¶
type ActionResponse struct {
Accepted bool `json:"accepted"`
}
type ActionType ¶
type ActionType string
const ( ActionTypeCreated ActionType = "CREATED" ActionTypeGeneric ActionType = "GENERIC" ActionTypeRenewalLikelihoodUpdated ActionType = "RENEWAL_LIKELIHOOD_UPDATED" ActionTypeRenewalForecastUpdated ActionType = "RENEWAL_FORECAST_UPDATED" ActionTypeContractStatusUpdated ActionType = "CONTRACT_STATUS_UPDATED" ActionTypeServiceLineItemPriceUpdated ActionType = "SERVICE_LINE_ITEM_PRICE_UPDATED" ActionTypeServiceLineItemQuantityUpdated ActionType = "SERVICE_LINE_ITEM_QUANTITY_UPDATED" ActionTypeInteractionEventRead ActionType = "INTERACTION_EVENT_READ" // Deprecated ActionTypeServiceLineItemBilledTypeUpdated ActionType = "SERVICE_LINE_ITEM_BILLED_TYPE_UPDATED" ActionTypeServiceLineItemBilledTypeRecurringCreated ActionType = "SERVICE_LINE_ITEM_BILLED_TYPE_RECURRING_CREATED" ActionTypeServiceLineItemBilledTypeOnceCreated ActionType = "SERVICE_LINE_ITEM_BILLED_TYPE_ONCE_CREATED" ActionTypeServiceLineItemBilledTypeUsageCreated ActionType = "SERVICE_LINE_ITEM_BILLED_TYPE_USAGE_CREATED" ActionTypeContractRenewed ActionType = "CONTRACT_RENEWED" ActionTypeServiceLineItemRemoved ActionType = "SERVICE_LINE_ITEM_REMOVED" ActionTypeOnboardingStatusChanged ActionType = "ONBOARDING_STATUS_CHANGED" ActionTypeInvoiceIssued ActionType = "INVOICE_ISSUED" ActionTypeInvoicePaid ActionType = "INVOICE_PAID" ActionTypeInvoiceVoided ActionType = "INVOICE_VOIDED" ActionTypeInvoiceOverdue ActionType = "INVOICE_OVERDUE" ActionTypeInvoiceSent ActionType = "INVOICE_SENT" )
func (ActionType) IsValid ¶
func (e ActionType) IsValid() bool
func (ActionType) MarshalGQL ¶
func (e ActionType) MarshalGQL(w io.Writer)
func (ActionType) String ¶
func (e ActionType) String() string
func (*ActionType) UnmarshalGQL ¶
func (e *ActionType) UnmarshalGQL(v any) error
type AddTagInput ¶
type AddTagInput struct { EntityID string `json:"entityId"` EntityType EntityType `json:"entityType"` Tag *TagIDOrNameInput `json:"tag"` }
type AnyTypeValue ¶
type AnyTypeValue struct { Str *string Int *int64 Time *time.Time Bool *bool Float *float64 ArrayStr *[]string ArrayInt *[]int64 ArrayBool *[]bool ArrayTime *[]time.Time }
func UnmarshalAnyTypeValue ¶
func UnmarshalAnyTypeValue(input any) (AnyTypeValue, error)
func (*AnyTypeValue) BoolToStr ¶
func (a *AnyTypeValue) BoolToStr()
func (*AnyTypeValue) FloatToInt ¶
func (a *AnyTypeValue) FloatToInt()
func (*AnyTypeValue) FloatToStr ¶
func (a *AnyTypeValue) FloatToStr()
func (*AnyTypeValue) IntToBool ¶
func (a *AnyTypeValue) IntToBool()
func (*AnyTypeValue) IntToFloat ¶
func (a *AnyTypeValue) IntToFloat()
func (*AnyTypeValue) IntToStr ¶
func (a *AnyTypeValue) IntToStr()
func (*AnyTypeValue) RealValue ¶
func (a *AnyTypeValue) RealValue() any
func (*AnyTypeValue) StrToBool ¶
func (a *AnyTypeValue) StrToBool()
func (*AnyTypeValue) StrToFloat ¶
func (a *AnyTypeValue) StrToFloat()
func (*AnyTypeValue) StrToInt ¶
func (a *AnyTypeValue) StrToInt()
func (*AnyTypeValue) StrToTime ¶
func (a *AnyTypeValue) StrToTime()
func (*AnyTypeValue) TimeToStr ¶
func (a *AnyTypeValue) TimeToStr()
type Attachment ¶
type Attachment struct { ID string `json:"id"` CreatedAt time.Time `json:"createdAt"` BasePath string `json:"basePath"` CdnURL string `json:"cdnUrl"` FileName string `json:"fileName"` MimeType string `json:"mimeType"` Size int64 `json:"size"` Source DataSource `json:"source"` SourceOfTruth DataSource `json:"sourceOfTruth"` AppSource string `json:"appSource"` }
func (Attachment) GetID ¶
func (this Attachment) GetID() string
func (Attachment) IsNode ¶
func (Attachment) IsNode()
type AttachmentInput ¶
type AttachmentInput struct { ID *string `json:"id,omitempty"` CreatedAt *time.Time `json:"createdAt,omitempty"` CdnURL string `json:"cdnUrl"` BasePath string `json:"basePath"` FileName string `json:"fileName"` MimeType string `json:"mimeType"` Size int64 `json:"size"` AppSource string `json:"appSource"` }
type BankAccount ¶
type BankAccount struct { Metadata *Metadata `json:"metadata"` BankName *string `json:"bankName,omitempty"` Currency *Currency `json:"currency,omitempty"` BankTransferEnabled bool `json:"bankTransferEnabled"` AllowInternational bool `json:"allowInternational"` 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"` }
func (BankAccount) GetMetadata ¶
func (this BankAccount) GetMetadata() *Metadata
func (BankAccount) IsMetadataInterface ¶
func (BankAccount) IsMetadataInterface()
type BankAccountCreateInput ¶
type BankAccountCreateInput struct { Currency *Currency `json:"currency,omitempty"` BankName *string `json:"bankName,omitempty"` BankTransferEnabled *bool `json:"bankTransferEnabled,omitempty"` AllowInternational *bool `json:"allowInternational,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"` }
type BankAccountUpdateInput ¶
type BankAccountUpdateInput struct { ID string `json:"id"` Currency *Currency `json:"currency,omitempty"` BankName *string `json:"bankName,omitempty"` BankTransferEnabled *bool `json:"bankTransferEnabled,omitempty"` AllowInternational *bool `json:"allowInternational,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"` }
type BilledType ¶
type BilledType string
const ( // Deprecated BilledTypeNone BilledType = "NONE" BilledTypeMonthly BilledType = "MONTHLY" BilledTypeQuarterly BilledType = "QUARTERLY" BilledTypeAnnually BilledType = "ANNUALLY" BilledTypeOnce BilledType = "ONCE" // Deprecated BilledTypeUsage BilledType = "USAGE" )
func (BilledType) IsValid ¶
func (e BilledType) IsValid() bool
func (BilledType) MarshalGQL ¶
func (e BilledType) MarshalGQL(w io.Writer)
func (BilledType) String ¶
func (e BilledType) String() string
func (*BilledType) UnmarshalGQL ¶
func (e *BilledType) UnmarshalGQL(v any) error
type BillingDetails ¶
type BillingDetails struct { BillingCycle *ContractBillingCycle `json:"billingCycle,omitempty"` BillingCycleInMonths *int64 `json:"billingCycleInMonths,omitempty"` InvoicingStarted *time.Time `json:"invoicingStarted,omitempty"` NextInvoicing *time.Time `json:"nextInvoicing,omitempty"` AddressLine1 *string `json:"addressLine1,omitempty"` AddressLine2 *string `json:"addressLine2,omitempty"` Locality *string `json:"locality,omitempty"` Region *string `json:"region,omitempty"` Country *string `json:"country,omitempty"` PostalCode *string `json:"postalCode,omitempty"` OrganizationLegalName *string `json:"organizationLegalName,omitempty"` BillingEmail *string `json:"billingEmail,omitempty"` BillingEmailCc []string `json:"billingEmailCC,omitempty"` BillingEmailBcc []string `json:"billingEmailBCC,omitempty"` InvoiceNote *string `json:"invoiceNote,omitempty"` CanPayWithCard *bool `json:"canPayWithCard,omitempty"` CanPayWithDirectDebit *bool `json:"canPayWithDirectDebit,omitempty"` CanPayWithBankTransfer *bool `json:"canPayWithBankTransfer,omitempty"` PayOnline *bool `json:"payOnline,omitempty"` PayAutomatically *bool `json:"payAutomatically,omitempty"` Check *bool `json:"check,omitempty"` DueDays *int64 `json:"dueDays,omitempty"` }
type BillingDetailsInput ¶
type BillingDetailsInput struct { // Deprecated, use billingCycleInMonths instead. BillingCycle *ContractBillingCycle `json:"billingCycle,omitempty"` BillingCycleInMonths *int64 `json:"billingCycleInMonths,omitempty"` InvoicingStarted *time.Time `json:"invoicingStarted,omitempty"` AddressLine1 *string `json:"addressLine1,omitempty"` AddressLine2 *string `json:"addressLine2,omitempty"` Locality *string `json:"locality,omitempty"` Region *string `json:"region,omitempty"` Country *string `json:"country,omitempty"` PostalCode *string `json:"postalCode,omitempty"` OrganizationLegalName *string `json:"organizationLegalName,omitempty"` BillingEmail *string `json:"billingEmail,omitempty"` BillingEmailCc []string `json:"billingEmailCC,omitempty"` BillingEmailBcc []string `json:"billingEmailBCC,omitempty"` InvoiceNote *string `json:"invoiceNote,omitempty"` CanPayWithCard *bool `json:"canPayWithCard,omitempty"` CanPayWithDirectDebit *bool `json:"canPayWithDirectDebit,omitempty"` CanPayWithBankTransfer *bool `json:"canPayWithBankTransfer,omitempty"` PayOnline *bool `json:"payOnline,omitempty"` PayAutomatically *bool `json:"payAutomatically,omitempty"` Check *bool `json:"check,omitempty"` DueDays *int64 `json:"dueDays,omitempty"` }
type BillingProfile ¶
type BillingProfile struct { ID string `json:"id"` CreatedAt time.Time `json:"createdAt"` UpdatedAt time.Time `json:"updatedAt"` LegalName string `json:"legalName"` TaxID string `json:"taxId"` Source DataSource `json:"source"` SourceOfTruth DataSource `json:"sourceOfTruth"` AppSource string `json:"appSource"` }
func (BillingProfile) GetAppSource ¶
func (this BillingProfile) GetAppSource() string
func (BillingProfile) GetID ¶
func (this BillingProfile) GetID() string
func (BillingProfile) GetSource ¶
func (this BillingProfile) GetSource() DataSource
func (BillingProfile) GetSourceOfTruth ¶
func (this BillingProfile) GetSourceOfTruth() DataSource
func (BillingProfile) IsNode ¶
func (BillingProfile) IsNode()
func (BillingProfile) IsSourceFields ¶
func (BillingProfile) IsSourceFields()
type BillingProfileInput ¶
type Calendar ¶
type Calendar struct { ID string `json:"id"` CalType CalendarType `json:"calType"` CreatedAt time.Time `json:"createdAt"` UpdatedAt time.Time `json:"updatedAt"` Link *string `json:"link,omitempty"` Primary bool `json:"primary"` Source DataSource `json:"source"` SourceOfTruth DataSource `json:"sourceOfTruth"` AppSource string `json:"appSource"` }
Describes the relationship a Contact has with a Organization. **A `return` object**
type CalendarType ¶
type CalendarType string
const ( CalendarTypeCalcom CalendarType = "CALCOM" CalendarTypeGoogle CalendarType = "GOOGLE" )
func (CalendarType) IsValid ¶
func (e CalendarType) IsValid() bool
func (CalendarType) MarshalGQL ¶
func (e CalendarType) MarshalGQL(w io.Writer)
func (CalendarType) String ¶
func (e CalendarType) String() string
func (*CalendarType) UnmarshalGQL ¶
func (e *CalendarType) UnmarshalGQL(v any) error
type ColumnView ¶
type ColumnViewInput ¶
type ColumnViewType ¶
type ColumnViewType string
const ( ColumnViewTypeInvoicesIssueDate ColumnViewType = "INVOICES_ISSUE_DATE" ColumnViewTypeInvoicesIssueDatePast ColumnViewType = "INVOICES_ISSUE_DATE_PAST" ColumnViewTypeInvoicesDueDate ColumnViewType = "INVOICES_DUE_DATE" ColumnViewTypeInvoicesContract ColumnViewType = "INVOICES_CONTRACT" ColumnViewTypeInvoicesBillingCycle ColumnViewType = "INVOICES_BILLING_CYCLE" ColumnViewTypeInvoicesInvoiceNumber ColumnViewType = "INVOICES_INVOICE_NUMBER" ColumnViewTypeInvoicesAmount ColumnViewType = "INVOICES_AMOUNT" ColumnViewTypeInvoicesInvoiceStatus ColumnViewType = "INVOICES_INVOICE_STATUS" ColumnViewTypeInvoicesInvoicePreview ColumnViewType = "INVOICES_INVOICE_PREVIEW" ColumnViewTypeInvoicesOrganization ColumnViewType = "INVOICES_ORGANIZATION" ColumnViewTypeOrganizationsAvatar ColumnViewType = "ORGANIZATIONS_AVATAR" ColumnViewTypeOrganizationsName ColumnViewType = "ORGANIZATIONS_NAME" ColumnViewTypeOrganizationsWebsite ColumnViewType = "ORGANIZATIONS_WEBSITE" ColumnViewTypeOrganizationsPrimaryDomains ColumnViewType = "ORGANIZATIONS_PRIMARY_DOMAINS" ColumnViewTypeOrganizationsRelationship ColumnViewType = "ORGANIZATIONS_RELATIONSHIP" ColumnViewTypeOrganizationsOnboardingStatus ColumnViewType = "ORGANIZATIONS_ONBOARDING_STATUS" ColumnViewTypeOrganizationsRenewalLikelihood ColumnViewType = "ORGANIZATIONS_RENEWAL_LIKELIHOOD" ColumnViewTypeOrganizationsRenewalDate ColumnViewType = "ORGANIZATIONS_RENEWAL_DATE" ColumnViewTypeOrganizationsForecastArr ColumnViewType = "ORGANIZATIONS_FORECAST_ARR" ColumnViewTypeOrganizationsOwner ColumnViewType = "ORGANIZATIONS_OWNER" ColumnViewTypeOrganizationsLastTouchpoint ColumnViewType = "ORGANIZATIONS_LAST_TOUCHPOINT" ColumnViewTypeOrganizationsLastTouchpointDate ColumnViewType = "ORGANIZATIONS_LAST_TOUCHPOINT_DATE" ColumnViewTypeOrganizationsStage ColumnViewType = "ORGANIZATIONS_STAGE" ColumnViewTypeOrganizationsContactCount ColumnViewType = "ORGANIZATIONS_CONTACT_COUNT" ColumnViewTypeOrganizationsSocials ColumnViewType = "ORGANIZATIONS_SOCIALS" ColumnViewTypeOrganizationsLeadSource ColumnViewType = "ORGANIZATIONS_LEAD_SOURCE" ColumnViewTypeOrganizationsCreatedDate ColumnViewType = "ORGANIZATIONS_CREATED_DATE" ColumnViewTypeOrganizationsEmployeeCount ColumnViewType = "ORGANIZATIONS_EMPLOYEE_COUNT" ColumnViewTypeOrganizationsYearFounded ColumnViewType = "ORGANIZATIONS_YEAR_FOUNDED" ColumnViewTypeOrganizationsIndustry ColumnViewType = "ORGANIZATIONS_INDUSTRY" ColumnViewTypeOrganizationsChurnDate ColumnViewType = "ORGANIZATIONS_CHURN_DATE" ColumnViewTypeOrganizationsLtv ColumnViewType = "ORGANIZATIONS_LTV" ColumnViewTypeOrganizationsCountry ColumnViewType = "ORGANIZATIONS_COUNTRY" ColumnViewTypeOrganizationsCity ColumnViewType = "ORGANIZATIONS_CITY" ColumnViewTypeOrganizationsHeadquarters ColumnViewType = "ORGANIZATIONS_HEADQUARTERS" ColumnViewTypeOrganizationsIsPublic ColumnViewType = "ORGANIZATIONS_IS_PUBLIC" ColumnViewTypeOrganizationsLinkedinFollowerCount ColumnViewType = "ORGANIZATIONS_LINKEDIN_FOLLOWER_COUNT" ColumnViewTypeOrganizationsTags ColumnViewType = "ORGANIZATIONS_TAGS" ColumnViewTypeOrganizationsParentOrganization ColumnViewType = "ORGANIZATIONS_PARENT_ORGANIZATION" ColumnViewTypeOrganizationsUpdatedDate ColumnViewType = "ORGANIZATIONS_UPDATED_DATE" ColumnViewTypeContactsAvatar ColumnViewType = "CONTACTS_AVATAR" ColumnViewTypeContactsName ColumnViewType = "CONTACTS_NAME" ColumnViewTypeContactsOrganization ColumnViewType = "CONTACTS_ORGANIZATION" ColumnViewTypeContactsEmails ColumnViewType = "CONTACTS_EMAILS" ColumnViewTypeContactsPersonalEmails ColumnViewType = "CONTACTS_PERSONAL_EMAILS" ColumnViewTypeContactsPrimaryEmail ColumnViewType = "CONTACTS_PRIMARY_EMAIL" ColumnViewTypeContactsPhoneNumbers ColumnViewType = "CONTACTS_PHONE_NUMBERS" ColumnViewTypeContactsLinkedin ColumnViewType = "CONTACTS_LINKEDIN" ColumnViewTypeContactsCity ColumnViewType = "CONTACTS_CITY" ColumnViewTypeContactsPersona ColumnViewType = "CONTACTS_PERSONA" ColumnViewTypeContactsLastInteraction ColumnViewType = "CONTACTS_LAST_INTERACTION" ColumnViewTypeContactsCountry ColumnViewType = "CONTACTS_COUNTRY" ColumnViewTypeContactsRegion ColumnViewType = "CONTACTS_REGION" ColumnViewTypeContactsSkills ColumnViewType = "CONTACTS_SKILLS" ColumnViewTypeContactsSchools ColumnViewType = "CONTACTS_SCHOOLS" ColumnViewTypeContactsLanguages ColumnViewType = "CONTACTS_LANGUAGES" ColumnViewTypeContactsTimeInCurrentRole ColumnViewType = "CONTACTS_TIME_IN_CURRENT_ROLE" ColumnViewTypeContactsExperience ColumnViewType = "CONTACTS_EXPERIENCE" ColumnViewTypeContactsLinkedinFollowerCount ColumnViewType = "CONTACTS_LINKEDIN_FOLLOWER_COUNT" ColumnViewTypeContactsJobTitle ColumnViewType = "CONTACTS_JOB_TITLE" ColumnViewTypeContactsTags ColumnViewType = "CONTACTS_TAGS" ColumnViewTypeContactsConnections ColumnViewType = "CONTACTS_CONNECTIONS" ColumnViewTypeContactsFlows ColumnViewType = "CONTACTS_FLOWS" ColumnViewTypeContactsFlowStatus ColumnViewType = "CONTACTS_FLOW_STATUS" ColumnViewTypeContactsFlowNextAction ColumnViewType = "CONTACTS_FLOW_NEXT_ACTION" ColumnViewTypeContactsUpdatedAt ColumnViewType = "CONTACTS_UPDATED_AT" ColumnViewTypeContactsCreatedAt ColumnViewType = "CONTACTS_CREATED_AT" ColumnViewTypeOpportunitiesCommonColumn ColumnViewType = "OPPORTUNITIES_COMMON_COLUMN" ColumnViewTypeOpportunitiesName ColumnViewType = "OPPORTUNITIES_NAME" ColumnViewTypeOpportunitiesOrganization ColumnViewType = "OPPORTUNITIES_ORGANIZATION" ColumnViewTypeOpportunitiesStage ColumnViewType = "OPPORTUNITIES_STAGE" ColumnViewTypeOpportunitiesEstimatedArr ColumnViewType = "OPPORTUNITIES_ESTIMATED_ARR" ColumnViewTypeOpportunitiesOwner ColumnViewType = "OPPORTUNITIES_OWNER" ColumnViewTypeOpportunitiesTimeInStage ColumnViewType = "OPPORTUNITIES_TIME_IN_STAGE" ColumnViewTypeOpportunitiesCreatedDate ColumnViewType = "OPPORTUNITIES_CREATED_DATE" ColumnViewTypeOpportunitiesNextStep ColumnViewType = "OPPORTUNITIES_NEXT_STEP" ColumnViewTypeContractsName ColumnViewType = "CONTRACTS_NAME" ColumnViewTypeContractsEnded ColumnViewType = "CONTRACTS_ENDED" ColumnViewTypeContractsPeriod ColumnViewType = "CONTRACTS_PERIOD" ColumnViewTypeContractsCurrency ColumnViewType = "CONTRACTS_CURRENCY" ColumnViewTypeContractsStatus ColumnViewType = "CONTRACTS_STATUS" ColumnViewTypeContractsRenewal ColumnViewType = "CONTRACTS_RENEWAL" ColumnViewTypeContractsLtv ColumnViewType = "CONTRACTS_LTV" ColumnViewTypeContractsRenewalDate ColumnViewType = "CONTRACTS_RENEWAL_DATE" ColumnViewTypeContractsForecastArr ColumnViewType = "CONTRACTS_FORECAST_ARR" ColumnViewTypeContractsOwner ColumnViewType = "CONTRACTS_OWNER" ColumnViewTypeContractsHealth ColumnViewType = "CONTRACTS_HEALTH" ColumnViewTypeFlowName ColumnViewType = "FLOW_NAME" ColumnViewTypeFlowTotalCount ColumnViewType = "FLOW_TOTAL_COUNT" ColumnViewTypeFlowOnHoldCount ColumnViewType = "FLOW_ON_HOLD_COUNT" ColumnViewTypeFlowReadyCount ColumnViewType = "FLOW_READY_COUNT" ColumnViewTypeFlowScheduledCount ColumnViewType = "FLOW_SCHEDULED_COUNT" ColumnViewTypeFlowInProgressCount ColumnViewType = "FLOW_IN_PROGRESS_COUNT" ColumnViewTypeFlowCompletedCount ColumnViewType = "FLOW_COMPLETED_COUNT" ColumnViewTypeFlowGoalAchievedCount ColumnViewType = "FLOW_GOAL_ACHIEVED_COUNT" ColumnViewTypeFlowStatus ColumnViewType = "FLOW_STATUS" ColumnViewTypeFlowActionName ColumnViewType = "FLOW_ACTION_NAME" ColumnViewTypeFlowActionStatus ColumnViewType = "FLOW_ACTION_STATUS" )
func (ColumnViewType) IsValid ¶
func (e ColumnViewType) IsValid() bool
func (ColumnViewType) MarshalGQL ¶
func (e ColumnViewType) MarshalGQL(w io.Writer)
func (ColumnViewType) String ¶
func (e ColumnViewType) String() string
func (*ColumnViewType) UnmarshalGQL ¶
func (e *ColumnViewType) UnmarshalGQL(v any) error
type Comment ¶
type Comment struct { ID string `json:"id"` Content *string `json:"content,omitempty"` ContentType *string `json:"contentType,omitempty"` CreatedAt time.Time `json:"createdAt"` UpdatedAt time.Time `json:"updatedAt"` CreatedBy *User `json:"createdBy,omitempty"` Source DataSource `json:"source"` SourceOfTruth DataSource `json:"sourceOfTruth"` AppSource string `json:"appSource"` ExternalLinks []*ExternalSystem `json:"externalLinks"` }
type Contact ¶
type Contact struct { Metadata *Metadata `json:"metadata"` // Deprecated, use metadata instead ID string `json:"id"` // Deprecated Title *string `json:"title,omitempty"` Prefix *string `json:"prefix,omitempty"` // The name of the contact in customerOS, alternative for firstName + lastName. Name *string `json:"name,omitempty"` // The first name of the contact in customerOS. FirstName *string `json:"firstName,omitempty"` // The last name of the contact in customerOS. LastName *string `json:"lastName,omitempty"` Username *string `json:"username,omitempty"` Description *string `json:"description,omitempty"` Timezone *string `json:"timezone,omitempty"` ProfilePhotoURL *string `json:"profilePhotoUrl,omitempty"` Hide *bool `json:"hide,omitempty"` // An ISO8601 timestamp recording when the contact was created in customerOS. // **Required** CreatedAt time.Time `json:"createdAt"` UpdatedAt time.Time `json:"updatedAt"` // Deprecated Label *string `json:"label,omitempty"` Source DataSource `json:"source"` AppSource *string `json:"appSource,omitempty"` Tags []*Tag `json:"tags,omitempty"` // `organizationName` and `jobTitle` of the contact if it has been associated with an organization. // **Required. If no values it returns an empty array.** JobRoles []*JobRole `json:"jobRoles"` Organizations *OrganizationPage `json:"organizations"` LatestOrganizationWithJobRole *OrganizationWithJobRole `json:"latestOrganizationWithJobRole,omitempty"` // All phone numbers associated with a contact in customerOS. // **Required. If no values it returns an empty array.** PhoneNumbers []*PhoneNumber `json:"phoneNumbers"` // All email addresses associated with a contact in customerOS. // **Required. If no values it returns an empty array.** Emails []*Email `json:"emails"` PrimaryEmail *Email `json:"primaryEmail,omitempty"` // All locations associated with a contact in customerOS. // **Required. If no values it returns an empty array.** Locations []*Location `json:"locations"` Socials []*Social `json:"socials"` // All users associated on linkedin to this contact ConnectedUsers []*User `json:"connectedUsers"` // User defined metadata appended to the contact record in customerOS. // **Required. If no values it returns an empty array.** CustomFields []*CustomField `json:"customFields"` // Contact owner (user) Owner *User `json:"owner,omitempty"` Flows []*Flow `json:"flows"` TimelineEvents []TimelineEvent `json:"timelineEvents"` TimelineEventsTotalCount int64 `json:"timelineEventsTotalCount"` EnrichDetails *EnrichDetails `json:"enrichDetails"` }
A contact represents an individual in customerOS. **A `response` object.**
func (Contact) GetMetadata ¶
func (Contact) IsMetadataInterface ¶
func (Contact) IsMetadataInterface()
type ContactInput ¶
type ContactInput struct { // Deprecated TemplateID *string `json:"templateId,omitempty"` // The prefix of the contact. Prefix *string `json:"prefix,omitempty"` // The first name of the contact. FirstName *string `json:"firstName,omitempty"` // The last name of the contact. LastName *string `json:"lastName,omitempty"` Name *string `json:"name,omitempty"` Description *string `json:"description,omitempty"` Timezone *string `json:"timezone,omitempty"` ProfilePhotoURL *string `json:"profilePhotoUrl,omitempty"` Username *string `json:"username,omitempty"` // An ISO8601 timestamp recording when the contact was created in customerOS. CreatedAt *time.Time `json:"createdAt,omitempty"` // Deprecated CustomFields []*CustomFieldInput `json:"customFields,omitempty"` // An email addresses associated with the contact. Email *EmailInput `json:"email,omitempty"` // A phone number associated with the contact. PhoneNumber *PhoneNumberInput `json:"phoneNumber,omitempty"` // Deprecated OwnerID *string `json:"ownerId,omitempty"` ExternalReference *ExternalSystemReferenceInput `json:"externalReference,omitempty"` AppSource *string `json:"appSource,omitempty"` SocialURL *string `json:"socialUrl,omitempty"` }
Create an individual in customerOS. **A `create` object.**
type ContactParticipant ¶
type ContactParticipant struct { ContactParticipant *Contact `json:"contactParticipant"` Type *string `json:"type,omitempty"` }
func (ContactParticipant) IsInteractionEventParticipant ¶
func (ContactParticipant) IsInteractionEventParticipant()
func (ContactParticipant) IsInteractionSessionParticipant ¶
func (ContactParticipant) IsInteractionSessionParticipant()
func (ContactParticipant) IsIssueParticipant ¶
func (ContactParticipant) IsIssueParticipant()
func (ContactParticipant) IsMeetingParticipant ¶
func (ContactParticipant) IsMeetingParticipant()
type ContactSearchResult ¶
type ContactTagInput ¶
type ContactTagInput struct { ContactID string `json:"contactId"` Tag *TagIDOrNameInput `json:"tag"` }
type ContactUIDetails ¶
type ContactUIDetails struct { ID string `json:"id"` CreatedAt time.Time `json:"createdAt"` UpdatedAt time.Time `json:"updatedAt"` Hide bool `json:"hide"` FirstName string `json:"firstName"` LastName string `json:"lastName"` Name string `json:"name"` Prefix string `json:"prefix"` Description string `json:"description"` Timezone string `json:"timezone"` ProfilePhotoURL string `json:"profilePhotoUrl"` EnrichedAt *time.Time `json:"enrichedAt,omitempty"` EnrichedFailedAt *time.Time `json:"enrichedFailedAt,omitempty"` EnrichedRequestedAt *time.Time `json:"enrichedRequestedAt,omitempty"` EnrichedEmailRequestedAt *time.Time `json:"enrichedEmailRequestedAt,omitempty"` EnrichedEmailEnrichedAt *time.Time `json:"enrichedEmailEnrichedAt,omitempty"` EnrichedEmailFound *bool `json:"enrichedEmailFound,omitempty"` LinkedInInternalID *string `json:"linkedInInternalId,omitempty"` LinkedInURL *string `json:"linkedInUrl,omitempty"` LinkedInAlias *string `json:"linkedInAlias,omitempty"` LinkedInExternalID *string `json:"linkedInExternalId,omitempty"` LinkedInFollowerCount *int64 `json:"linkedInFollowerCount,omitempty"` PrimaryOrganizationID *string `json:"primaryOrganizationId,omitempty"` PrimaryOrganizationName *string `json:"primaryOrganizationName,omitempty"` PrimaryOrganizationJobRoleID *string `json:"primaryOrganizationJobRoleId,omitempty"` PrimaryOrganizationJobRoleTitle *string `json:"primaryOrganizationJobRoleTitle,omitempty"` PrimaryOrganizationJobRoleDescription *string `json:"primaryOrganizationJobRoleDescription,omitempty"` PrimaryOrganizationJobRoleStartDate *time.Time `json:"primaryOrganizationJobRoleStartDate,omitempty"` PrimaryOrganizationJobRoleEndDate *time.Time `json:"primaryOrganizationJobRoleEndDate,omitempty"` JobRoleIds []string `json:"jobRoleIds"` Emails []*Email `json:"emails"` Phones []string `json:"phones"` Tags []*Tag `json:"tags"` Locations []*Location `json:"locations"` ConnectedUsers []string `json:"connectedUsers"` Flows []string `json:"flows"` Socials []string `json:"socials"` }
type ContactUpdateInput ¶
type ContactUpdateInput struct { ID string `json:"id"` Patch *bool `json:"patch,omitempty"` FirstName *string `json:"firstName,omitempty"` LastName *string `json:"lastName,omitempty"` Name *string `json:"name,omitempty"` Prefix *string `json:"prefix,omitempty"` Description *string `json:"description,omitempty"` Timezone *string `json:"timezone,omitempty"` ProfilePhotoURL *string `json:"profilePhotoUrl,omitempty"` Username *string `json:"username,omitempty"` }
Updates data fields associated with an existing customer record in customerOS. **An `update` object.**
type ContactsPage ¶
type ContactsPage struct { // A contact entity in customerOS. // **Required. If no values it returns an empty array.** Content []*Contact `json:"content"` // Total number of pages in the query response. // **Required.** TotalPages int `json:"totalPages"` // Total number of elements in the query response. // **Required.** TotalElements int64 `json:"totalElements"` }
Specifies how many pages of contact information has been returned in the query response. **A `response` object.**
func (ContactsPage) GetTotalElements ¶
func (this ContactsPage) GetTotalElements() int64
The total number of elements included in the query response. **Required.**
func (ContactsPage) GetTotalPages ¶
func (this ContactsPage) GetTotalPages() int
The total number of pages included in the query response. **Required.**
func (ContactsPage) IsPages ¶
func (ContactsPage) IsPages()
type Contract ¶
type Contract struct { Metadata *Metadata `json:"metadata"` BillingDetails *BillingDetails `json:"billingDetails,omitempty"` ContractEnded *time.Time `json:"contractEnded,omitempty"` ContractLineItems []*ServiceLineItem `json:"contractLineItems,omitempty"` ContractName string `json:"contractName"` CommittedPeriodInMonths *int64 `json:"committedPeriodInMonths,omitempty"` ContractSigned *time.Time `json:"contractSigned,omitempty"` ContractURL *string `json:"contractUrl,omitempty"` Currency *Currency `json:"currency,omitempty"` CreatedBy *User `json:"createdBy,omitempty"` ExternalLinks []*ExternalSystem `json:"externalLinks"` BillingEnabled bool `json:"billingEnabled"` Opportunities []*Opportunity `json:"opportunities,omitempty"` Owner *User `json:"owner,omitempty"` ServiceStarted *time.Time `json:"serviceStarted,omitempty"` ContractStatus ContractStatus `json:"contractStatus"` AutoRenew bool `json:"autoRenew"` Approved bool `json:"approved"` Attachments []*Attachment `json:"attachments,omitempty"` Invoices []*Invoice `json:"invoices"` UpcomingInvoices []*Invoice `json:"upcomingInvoices"` Ltv float64 `json:"ltv"` // Deprecated, use committedPeriodInMonths instead. CommittedPeriods *int64 `json:"committedPeriods,omitempty"` // Deprecated, use committedPeriodInMonths instead. ContractRenewalCycle ContractRenewalCycle `json:"contractRenewalCycle"` // Deprecated, use contractStatus instead. Status ContractStatus `json:"status"` // Deprecated, use serviceStarted instead. ServiceStartedAt *time.Time `json:"serviceStartedAt,omitempty"` // Deprecated, use contractName instead. Name string `json:"name"` // Deprecated, use contractSigned instead. SignedAt *time.Time `json:"signedAt,omitempty"` // Deprecated, use contractRenewalCycle instead. RenewalCycle ContractRenewalCycle `json:"renewalCycle"` // Deprecated, use billingDetails instead. OrganizationLegalName *string `json:"organizationLegalName,omitempty"` // Deprecated, use billingDetails instead. InvoiceEmail *string `json:"invoiceEmail,omitempty"` // Deprecated, use metadata instead. ID string `json:"id"` // Deprecated, use metadata instead. CreatedAt time.Time `json:"createdAt"` // Deprecated, use metadata instead. UpdatedAt time.Time `json:"updatedAt"` // Deprecated, use metadata instead. Source DataSource `json:"source"` // Deprecated, use metadata instead. SourceOfTruth DataSource `json:"sourceOfTruth"` // Deprecated, use metadata instead. AppSource string `json:"appSource"` // Deprecated, use committedPeriods instead. RenewalPeriods *int64 `json:"renewalPeriods,omitempty"` // Deprecated, use contractEnded instead. EndedAt *time.Time `json:"endedAt,omitempty"` // Deprecated, use contractLineItems instead. ServiceLineItems []*ServiceLineItem `json:"serviceLineItems,omitempty"` // Deprecated, use billingDetails instead. InvoiceNote *string `json:"invoiceNote,omitempty"` // Deprecated, use billingDetails instead. BillingCycle *ContractBillingCycle `json:"billingCycle,omitempty"` // Deprecated, use billingDetails instead. InvoicingStartDate *time.Time `json:"invoicingStartDate,omitempty"` // Deprecated, use billingDetails instead. AddressLine1 *string `json:"addressLine1,omitempty"` // Deprecated, use billingDetails instead. AddressLine2 *string `json:"addressLine2,omitempty"` // Deprecated, use billingDetails instead. Zip *string `json:"zip,omitempty"` // Deprecated, use billingDetails instead. Locality *string `json:"locality,omitempty"` // Deprecated, use billingDetails instead. Country *string `json:"country,omitempty"` }
func (Contract) GetMetadata ¶
func (Contract) IsMetadataInterface ¶
func (Contract) IsMetadataInterface()
type ContractBillingCycle ¶
type ContractBillingCycle string
Deprecated
const ( ContractBillingCycleNone ContractBillingCycle = "NONE" ContractBillingCycleMonthlyBilling ContractBillingCycle = "MONTHLY_BILLING" ContractBillingCycleQuarterlyBilling ContractBillingCycle = "QUARTERLY_BILLING" ContractBillingCycleAnnualBilling ContractBillingCycle = "ANNUAL_BILLING" ContractBillingCycleCustomBilling ContractBillingCycle = "CUSTOM_BILLING" )
func (ContractBillingCycle) IsValid ¶
func (e ContractBillingCycle) IsValid() bool
func (ContractBillingCycle) MarshalGQL ¶
func (e ContractBillingCycle) MarshalGQL(w io.Writer)
func (ContractBillingCycle) String ¶
func (e ContractBillingCycle) String() string
func (*ContractBillingCycle) UnmarshalGQL ¶
func (e *ContractBillingCycle) UnmarshalGQL(v any) error
type ContractInput ¶
type ContractInput struct { OrganizationID string `json:"organizationId"` ContractName *string `json:"contractName,omitempty"` CommittedPeriodInMonths *int64 `json:"committedPeriodInMonths,omitempty"` AppSource *string `json:"appSource,omitempty"` ContractURL *string `json:"contractUrl,omitempty"` ServiceStarted *time.Time `json:"serviceStarted,omitempty"` ContractSigned *time.Time `json:"contractSigned,omitempty"` Currency *Currency `json:"currency,omitempty"` BillingEnabled *bool `json:"billingEnabled,omitempty"` AutoRenew *bool `json:"autoRenew,omitempty"` DueDays *int64 `json:"dueDays,omitempty"` Approved *bool `json:"approved,omitempty"` // Deprecated, use committedPeriodInMonths instead. ContractRenewalCycle *ContractRenewalCycle `json:"contractRenewalCycle,omitempty"` // Deprecated, use committedPeriodInMonths instead. CommittedPeriods *int64 `json:"committedPeriods,omitempty"` // Deprecated InvoicingStartDate *time.Time `json:"invoicingStartDate,omitempty"` // Deprecated ExternalReference *ExternalSystemReferenceInput `json:"externalReference,omitempty"` // Deprecated BillingCycle *ContractBillingCycle `json:"billingCycle,omitempty"` // Deprecated RenewalPeriods *int64 `json:"renewalPeriods,omitempty"` // Deprecated RenewalCycle *ContractRenewalCycle `json:"renewalCycle,omitempty"` // Deprecated SignedAt *time.Time `json:"signedAt,omitempty"` // Deprecated ServiceStartedAt *time.Time `json:"serviceStartedAt,omitempty"` // Deprecated Name *string `json:"name,omitempty"` }
type ContractPage ¶
type ContractPage struct { Content []*Contract `json:"content"` TotalPages int `json:"totalPages"` TotalElements int64 `json:"totalElements"` TotalAvailable int64 `json:"totalAvailable"` }
func (ContractPage) GetTotalElements ¶
func (this ContractPage) GetTotalElements() int64
The total number of elements included in the query response. **Required.**
func (ContractPage) GetTotalPages ¶
func (this ContractPage) GetTotalPages() int
The total number of pages included in the query response. **Required.**
func (ContractPage) IsPages ¶
func (ContractPage) IsPages()
type ContractRenewalCycle ¶
type ContractRenewalCycle string
Deprecated
const ( ContractRenewalCycleNone ContractRenewalCycle = "NONE" ContractRenewalCycleMonthlyRenewal ContractRenewalCycle = "MONTHLY_RENEWAL" ContractRenewalCycleQuarterlyRenewal ContractRenewalCycle = "QUARTERLY_RENEWAL" ContractRenewalCycleAnnualRenewal ContractRenewalCycle = "ANNUAL_RENEWAL" )
func (ContractRenewalCycle) IsValid ¶
func (e ContractRenewalCycle) IsValid() bool
func (ContractRenewalCycle) MarshalGQL ¶
func (e ContractRenewalCycle) MarshalGQL(w io.Writer)
func (ContractRenewalCycle) String ¶
func (e ContractRenewalCycle) String() string
func (*ContractRenewalCycle) UnmarshalGQL ¶
func (e *ContractRenewalCycle) UnmarshalGQL(v any) error
type ContractRenewalInput ¶
type ContractStatus ¶
type ContractStatus string
const ( ContractStatusUndefined ContractStatus = "UNDEFINED" ContractStatusDraft ContractStatus = "DRAFT" ContractStatusScheduled ContractStatus = "SCHEDULED" ContractStatusLive ContractStatus = "LIVE" ContractStatusEnded ContractStatus = "ENDED" ContractStatusOutOfContract ContractStatus = "OUT_OF_CONTRACT" )
func (ContractStatus) IsValid ¶
func (e ContractStatus) IsValid() bool
func (ContractStatus) MarshalGQL ¶
func (e ContractStatus) MarshalGQL(w io.Writer)
func (ContractStatus) String ¶
func (e ContractStatus) String() string
func (*ContractStatus) UnmarshalGQL ¶
func (e *ContractStatus) UnmarshalGQL(v any) error
type ContractUpdateInput ¶
type ContractUpdateInput struct { ContractID string `json:"contractId"` Patch *bool `json:"patch,omitempty"` ContractName *string `json:"contractName,omitempty"` ContractURL *string `json:"contractUrl,omitempty"` CommittedPeriodInMonths *int64 `json:"committedPeriodInMonths,omitempty"` ServiceStarted *time.Time `json:"serviceStarted,omitempty"` ContractSigned *time.Time `json:"contractSigned,omitempty"` ContractEnded *time.Time `json:"contractEnded,omitempty"` Currency *Currency `json:"currency,omitempty"` BillingDetails *BillingDetailsInput `json:"billingDetails,omitempty"` AppSource *string `json:"appSource,omitempty"` BillingEnabled *bool `json:"billingEnabled,omitempty"` AutoRenew *bool `json:"autoRenew,omitempty"` Approved *bool `json:"approved,omitempty"` // Deprecated, use committedPeriodInMonths instead. ContractRenewalCycle *ContractRenewalCycle `json:"contractRenewalCycle,omitempty"` // Deprecated, use committedPeriodInMonths instead. CommittedPeriods *int64 `json:"committedPeriods,omitempty"` // Deprecated CanPayWithCard *bool `json:"canPayWithCard,omitempty"` // Deprecated CanPayWithDirectDebit *bool `json:"canPayWithDirectDebit,omitempty"` // Deprecated CanPayWithBankTransfer *bool `json:"canPayWithBankTransfer,omitempty"` // Deprecated InvoicingStartDate *time.Time `json:"invoicingStartDate,omitempty"` // Deprecated AddressLine1 *string `json:"addressLine1,omitempty"` // Deprecated AddressLine2 *string `json:"addressLine2,omitempty"` // Deprecated Locality *string `json:"locality,omitempty"` // Deprecated Country *string `json:"country,omitempty"` // Deprecated Zip *string `json:"zip,omitempty"` // Deprecated BillingCycle *ContractBillingCycle `json:"billingCycle,omitempty"` // Deprecated InvoiceNote *string `json:"invoiceNote,omitempty"` // Deprecated EndedAt *time.Time `json:"endedAt,omitempty"` // Deprecated RenewalPeriods *int64 `json:"renewalPeriods,omitempty"` // Deprecated InvoiceEmail *string `json:"invoiceEmail,omitempty"` // Deprecated OrganizationLegalName *string `json:"organizationLegalName,omitempty"` // Deprecated RenewalCycle *ContractRenewalCycle `json:"renewalCycle,omitempty"` // Deprecated SignedAt *time.Time `json:"signedAt,omitempty"` // Deprecated ServiceStartedAt *time.Time `json:"serviceStartedAt,omitempty"` // Deprecated Name *string `json:"name,omitempty"` }
type Currency ¶
type Currency string
const ( CurrencyAud Currency = "AUD" CurrencyBrl Currency = "BRL" CurrencyCad Currency = "CAD" CurrencyChf Currency = "CHF" CurrencyCny Currency = "CNY" CurrencyEur Currency = "EUR" CurrencyGbp Currency = "GBP" CurrencyHkd Currency = "HKD" CurrencyInr Currency = "INR" CurrencyJpy Currency = "JPY" CurrencyKrw Currency = "KRW" CurrencyMxn Currency = "MXN" CurrencyNok Currency = "NOK" CurrencyNzd Currency = "NZD" CurrencyRon Currency = "RON" CurrencySek Currency = "SEK" CurrencySgd Currency = "SGD" CurrencyTry Currency = "TRY" CurrencyUsd Currency = "USD" CurrencyZar Currency = "ZAR" )
func (Currency) MarshalGQL ¶
func (*Currency) UnmarshalGQL ¶
type CustomEntityType ¶
type CustomEntityType string
const ( CustomEntityTypeContact CustomEntityType = "Contact" CustomEntityTypeOrganization CustomEntityType = "Organization" )
func (CustomEntityType) IsValid ¶
func (e CustomEntityType) IsValid() bool
func (CustomEntityType) MarshalGQL ¶
func (e CustomEntityType) MarshalGQL(w io.Writer)
func (CustomEntityType) String ¶
func (e CustomEntityType) String() string
func (*CustomEntityType) UnmarshalGQL ¶
func (e *CustomEntityType) UnmarshalGQL(v any) error
type CustomField ¶
type CustomField struct { // The unique ID associated with the custom field. // **Required** ID string `json:"id"` // The name of the custom field. // **Required** Name string `json:"name"` // Datatype of the custom field. // **Required** Datatype CustomFieldDataType `json:"datatype"` // The value of the custom field. // **Required** Value AnyTypeValue `json:"value"` // The source of the custom field value Source DataSource `json:"source"` CreatedAt time.Time `json:"createdAt"` UpdatedAt time.Time `json:"updatedAt"` Template *CustomFieldTemplate `json:"template,omitempty"` }
Describes a custom, user-defined field associated with a `Contact`. **A `return` object.**
func (CustomField) GetID ¶
func (this CustomField) GetID() string
func (CustomField) IsNode ¶
func (CustomField) IsNode()
type CustomFieldDataType ¶
type CustomFieldDataType string
const ( CustomFieldDataTypeText CustomFieldDataType = "TEXT" CustomFieldDataTypeBool CustomFieldDataType = "BOOL" CustomFieldDataTypeDatetime CustomFieldDataType = "DATETIME" CustomFieldDataTypeInteger CustomFieldDataType = "INTEGER" CustomFieldDataTypeDecimal CustomFieldDataType = "DECIMAL" )
func (CustomFieldDataType) IsValid ¶
func (e CustomFieldDataType) IsValid() bool
func (CustomFieldDataType) MarshalGQL ¶
func (e CustomFieldDataType) MarshalGQL(w io.Writer)
func (CustomFieldDataType) String ¶
func (e CustomFieldDataType) String() string
func (*CustomFieldDataType) UnmarshalGQL ¶
func (e *CustomFieldDataType) UnmarshalGQL(v any) error
type CustomFieldEntityType ¶
type CustomFieldEntityType struct { ID string `json:"id"` EntityType CustomEntityType `json:"entityType"` }
type CustomFieldInput ¶
type CustomFieldInput struct { // Deprecated ID *string `json:"id,omitempty"` // The name of the custom field. Name *string `json:"name,omitempty"` // Datatype of the custom field. Datatype *CustomFieldDataType `json:"datatype,omitempty"` // The value of the custom field. // **Required** Value AnyTypeValue `json:"value"` TemplateID *string `json:"templateId,omitempty"` }
Describes a custom, user-defined field associated with a `Contact` of type String. **A `create` object.**
type CustomFieldTemplate ¶
type CustomFieldTemplate struct { ID string `json:"id"` CreatedAt time.Time `json:"createdAt"` UpdatedAt time.Time `json:"updatedAt"` Name string `json:"name"` Type CustomFieldTemplateType `json:"type"` ValidValues []string `json:"validValues"` EntityType EntityType `json:"entityType"` Order *int64 `json:"order,omitempty"` Required *bool `json:"required,omitempty"` Length *int64 `json:"length,omitempty"` Min *int64 `json:"min,omitempty"` Max *int64 `json:"max,omitempty"` }
func (CustomFieldTemplate) GetID ¶
func (this CustomFieldTemplate) GetID() string
func (CustomFieldTemplate) IsNode ¶
func (CustomFieldTemplate) IsNode()
type CustomFieldTemplateInput ¶
type CustomFieldTemplateInput struct { ID *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Type *CustomFieldTemplateType `json:"type,omitempty"` ValidValues []string `json:"validValues,omitempty"` EntityType *EntityType `json:"entityType,omitempty"` Order *int64 `json:"order,omitempty"` Required *bool `json:"required,omitempty"` Length *int64 `json:"length,omitempty"` Min *int64 `json:"min,omitempty"` Max *int64 `json:"max,omitempty"` }
type CustomFieldTemplateType ¶
type CustomFieldTemplateType string
const ( CustomFieldTemplateTypeFreeText CustomFieldTemplateType = "FREE_TEXT" CustomFieldTemplateTypeSingleSelect CustomFieldTemplateType = "SINGLE_SELECT" CustomFieldTemplateTypeNumber CustomFieldTemplateType = "NUMBER" )
func (CustomFieldTemplateType) IsValid ¶
func (e CustomFieldTemplateType) IsValid() bool
func (CustomFieldTemplateType) MarshalGQL ¶
func (e CustomFieldTemplateType) MarshalGQL(w io.Writer)
func (CustomFieldTemplateType) String ¶
func (e CustomFieldTemplateType) String() string
func (*CustomFieldTemplateType) UnmarshalGQL ¶
func (e *CustomFieldTemplateType) UnmarshalGQL(v any) error
type CustomFieldUpdateInput ¶
type CustomFieldUpdateInput struct { // The unique ID associated with the custom field. // **Required** ID string `json:"id"` // The name of the custom field. // **Required** Name string `json:"name"` // Datatype of the custom field. // **Required** Datatype CustomFieldDataType `json:"datatype"` // The value of the custom field. // **Required** Value AnyTypeValue `json:"value"` }
Describes a custom, user-defined field associated with a `Contact`. **An `update` object.**
type CustomerContact ¶
type CustomerContact struct { ID string `json:"id"` Email *CustomerEmail `json:"email"` }
type CustomerContactInput ¶
type CustomerContactInput struct { // The prefix of the contact. Prefix *string `json:"prefix,omitempty"` // The first name of the contact. FirstName *string `json:"firstName,omitempty"` // The last name of the contact. LastName *string `json:"lastName,omitempty"` Name *string `json:"name,omitempty"` Description *string `json:"description,omitempty"` Timezone *string `json:"timezone,omitempty"` // An email addresses associted with the contact. Email *EmailInput `json:"email,omitempty"` // An ISO8601 timestamp recording when the contact was created in customerOS. CreatedAt *time.Time `json:"createdAt,omitempty"` AppSource *string `json:"appSource,omitempty"` }
type CustomerEmail ¶
type CustomerEmail struct {
ID string `json:"id"`
}
type CustomerJobRole ¶
type CustomerJobRole struct {
ID string `json:"id"`
}
type CustomerUser ¶
type CustomerUser struct { ID string `json:"id"` JobRole *CustomerJobRole `json:"jobRole"` }
type DashboardARRBreakdown ¶
type DashboardARRBreakdown struct { ArrBreakdown float64 `json:"arrBreakdown"` IncreasePercentage string `json:"increasePercentage"` PerMonth []*DashboardARRBreakdownPerMonth `json:"perMonth"` }
type DashboardARRBreakdownPerMonth ¶
type DashboardARRBreakdownPerMonth struct { Year int `json:"year"` Month int `json:"month"` NewlyContracted float64 `json:"newlyContracted"` Renewals float64 `json:"renewals"` Upsells float64 `json:"upsells"` Downgrades float64 `json:"downgrades"` Cancellations float64 `json:"cancellations"` Churned float64 `json:"churned"` }
type DashboardCustomerMap ¶
type DashboardCustomerMap struct { OrganizationID string `json:"organizationId"` Organization *Organization `json:"organization"` State DashboardCustomerMapState `json:"state"` Arr float64 `json:"arr"` ContractSignedDate time.Time `json:"contractSignedDate"` }
type DashboardCustomerMapState ¶
type DashboardCustomerMapState string
const ( DashboardCustomerMapStateOk DashboardCustomerMapState = "OK" // Deprecated DashboardCustomerMapStateAtRisk DashboardCustomerMapState = "AT_RISK" DashboardCustomerMapStateChurned DashboardCustomerMapState = "CHURNED" DashboardCustomerMapStateHighRisk DashboardCustomerMapState = "HIGH_RISK" DashboardCustomerMapStateMediumRisk DashboardCustomerMapState = "MEDIUM_RISK" )
func (DashboardCustomerMapState) IsValid ¶
func (e DashboardCustomerMapState) IsValid() bool
func (DashboardCustomerMapState) MarshalGQL ¶
func (e DashboardCustomerMapState) MarshalGQL(w io.Writer)
func (DashboardCustomerMapState) String ¶
func (e DashboardCustomerMapState) String() string
func (*DashboardCustomerMapState) UnmarshalGQL ¶
func (e *DashboardCustomerMapState) UnmarshalGQL(v any) error
type DashboardGrossRevenueRetention ¶
type DashboardGrossRevenueRetention struct { GrossRevenueRetention float64 `json:"grossRevenueRetention"` // Deprecated IncreasePercentage string `json:"increasePercentage"` IncreasePercentageValue float64 `json:"increasePercentageValue"` PerMonth []*DashboardGrossRevenueRetentionPerMonth `json:"perMonth"` }
type DashboardMRRPerCustomer ¶
type DashboardMRRPerCustomer struct { MrrPerCustomer float64 `json:"mrrPerCustomer"` IncreasePercentage string `json:"increasePercentage"` PerMonth []*DashboardMRRPerCustomerPerMonth `json:"perMonth"` }
type DashboardNewCustomers ¶
type DashboardNewCustomers struct { ThisMonthCount int `json:"thisMonthCount"` ThisMonthIncreasePercentage string `json:"thisMonthIncreasePercentage"` PerMonth []*DashboardNewCustomersPerMonth `json:"perMonth"` }
type DashboardOnboardingCompletion ¶
type DashboardOnboardingCompletion struct { CompletionPercentage float64 `json:"completionPercentage"` IncreasePercentage float64 `json:"increasePercentage"` PerMonth []*DashboardOnboardingCompletionPerMonth `json:"perMonth"` }
type DashboardPeriodInput ¶
type DashboardRetentionRate ¶
type DashboardRetentionRate struct { RetentionRate float64 `json:"retentionRate"` // Deprecated IncreasePercentage string `json:"increasePercentage"` IncreasePercentageValue float64 `json:"increasePercentageValue"` PerMonth []*DashboardRetentionRatePerMonth `json:"perMonth"` }
type DashboardRevenueAtRisk ¶
type DashboardTimeToOnboard ¶
type DashboardTimeToOnboard struct { TimeToOnboard *float64 `json:"timeToOnboard,omitempty"` IncreasePercentage *float64 `json:"increasePercentage,omitempty"` PerMonth []*DashboardTimeToOnboardPerMonth `json:"perMonth"` }
type DataSource ¶
type DataSource string
const ( DataSourceNa DataSource = "NA" DataSourceOpenline DataSource = "OPENLINE" DataSourceWebscrape DataSource = "WEBSCRAPE" DataSourceHubspot DataSource = "HUBSPOT" DataSourceZendeskSupport DataSource = "ZENDESK_SUPPORT" DataSourcePipedrive DataSource = "PIPEDRIVE" DataSourceSLACk DataSource = "SLACK" DataSourceIntercom DataSource = "INTERCOM" DataSourceSalesforce DataSource = "SALESFORCE" DataSourceStripe DataSource = "STRIPE" DataSourceMixpanel DataSource = "MIXPANEL" DataSourceClose DataSource = "CLOSE" DataSourceOutlook DataSource = "OUTLOOK" DataSourceUnthread DataSource = "UNTHREAD" DataSourceShopify DataSource = "SHOPIFY" DataSourceAttio DataSource = "ATTIO" DataSourceZendeskSell DataSource = "ZENDESK_SELL" DataSourceMailstack DataSource = "MAILSTACK" DataSourceFathom DataSource = "FATHOM" DataSourceGrain DataSource = "GRAIN" )
func (DataSource) IsValid ¶
func (e DataSource) IsValid() bool
func (DataSource) MarshalGQL ¶
func (e DataSource) MarshalGQL(w io.Writer)
func (DataSource) String ¶
func (e DataSource) String() string
func (*DataSource) UnmarshalGQL ¶
func (e *DataSource) UnmarshalGQL(v any) error
type DeleteResponse ¶
type DomainCheckDetails ¶
type DomainCheckDetails struct { Domain string `json:"domain"` ValidSyntax bool `json:"validSyntax"` Accessible bool `json:"accessible"` Primary bool `json:"primary"` AllowedForOrganization bool `json:"allowedForOrganization"` PrimaryDomain string `json:"primaryDomain"` DomainOrganizationID *string `json:"domainOrganizationId,omitempty"` DomainOrganizationName *string `json:"domainOrganizationName,omitempty"` PrimaryDomainOrganizationID *string `json:"primaryDomainOrganizationId,omitempty"` PrimaryDomainOrganizationName *string `json:"primaryDomainOrganizationName,omitempty"` }
type Email ¶
type Email struct { // The unique ID associated with the contact in customerOS. // **Required** ID string `json:"id"` // An email address assocaited with the contact in customerOS. Email *string `json:"email,omitempty"` RawEmail *string `json:"rawEmail,omitempty"` EmailValidationDetails *EmailValidationDetails `json:"emailValidationDetails"` Work *bool `json:"work,omitempty"` // Describes the type of email address (WORK, PERSONAL, etc). Label *EmailLabel `json:"label,omitempty"` // Identifies whether the email address is primary or not. // **Required.** Primary bool `json:"primary"` Source DataSource `json:"source"` AppSource string `json:"appSource"` CreatedAt time.Time `json:"createdAt"` UpdatedAt time.Time `json:"updatedAt"` Users []*User `json:"users"` Contacts []*Contact `json:"contacts"` Organizations []*Organization `json:"organizations"` }
Describes an email address associated with a `Contact` in customerOS. **A `return` object.**
type EmailDeliverable ¶
type EmailDeliverable string
const ( EmailDeliverableUnknown EmailDeliverable = "UNKNOWN" EmailDeliverableDeliverable EmailDeliverable = "DELIVERABLE" EmailDeliverableUndeliverable EmailDeliverable = "UNDELIVERABLE" )
func (EmailDeliverable) IsValid ¶
func (e EmailDeliverable) IsValid() bool
func (EmailDeliverable) MarshalGQL ¶
func (e EmailDeliverable) MarshalGQL(w io.Writer)
func (EmailDeliverable) String ¶
func (e EmailDeliverable) String() string
func (*EmailDeliverable) UnmarshalGQL ¶
func (e *EmailDeliverable) UnmarshalGQL(v any) error
type EmailInput ¶
type EmailInput struct { // An email address associated with the contact in customerOS. // **Required.** Email string `json:"email"` Label *EmailLabel `json:"label,omitempty"` // Identifies whether the email address is primary or not. // **Required.** Primary *bool `json:"primary,omitempty"` AppSource *string `json:"appSource,omitempty"` }
Describes an email address associated with a `Contact` in customerOS. **A `create` object.**
type EmailLabel ¶
type EmailLabel string
Describes the type of email address (WORK, PERSONAL, etc). **A `return` object.
const ( EmailLabelMain EmailLabel = "MAIN" EmailLabelWork EmailLabel = "WORK" EmailLabelPersonal EmailLabel = "PERSONAL" EmailLabelOther EmailLabel = "OTHER" )
func (EmailLabel) IsValid ¶
func (e EmailLabel) IsValid() bool
func (EmailLabel) MarshalGQL ¶
func (e EmailLabel) MarshalGQL(w io.Writer)
func (EmailLabel) String ¶
func (e EmailLabel) String() string
func (*EmailLabel) UnmarshalGQL ¶
func (e *EmailLabel) UnmarshalGQL(v any) error
type EmailParticipant ¶
type EmailParticipant struct { EmailParticipant *Email `json:"emailParticipant"` Type *string `json:"type,omitempty"` }
func (EmailParticipant) IsInteractionEventParticipant ¶
func (EmailParticipant) IsInteractionEventParticipant()
func (EmailParticipant) IsInteractionSessionParticipant ¶
func (EmailParticipant) IsInteractionSessionParticipant()
func (EmailParticipant) IsMeetingParticipant ¶
func (EmailParticipant) IsMeetingParticipant()
type EmailRelationUpdateInput ¶
type EmailRelationUpdateInput struct { // An email address assocaited with the contact in customerOS. // **Required.** ID string `json:"id"` // Describes the type of email address (WORK, PERSONAL, etc). Label *EmailLabel `json:"label,omitempty"` // Identifies whether the email address is primary or not. // **Required.** Primary *bool `json:"primary,omitempty"` // Deprecated Email *string `json:"email,omitempty"` }
Describes an email address associated with a `Contact` in customerOS. **An `update` object.**
type EmailUpdateAddressInput ¶
type EmailValidationDetails ¶
type EmailValidationDetails struct { Verified bool `json:"verified"` VerifyingCheckAll bool `json:"verifyingCheckAll"` IsValidSyntax *bool `json:"isValidSyntax,omitempty"` IsRisky *bool `json:"isRisky,omitempty"` IsFirewalled *bool `json:"isFirewalled,omitempty"` Provider *string `json:"provider,omitempty"` Firewall *string `json:"firewall,omitempty"` IsCatchAll *bool `json:"isCatchAll,omitempty"` CanConnectSMTP *bool `json:"canConnectSmtp,omitempty"` IsMailboxFull *bool `json:"isMailboxFull,omitempty"` IsRoleAccount *bool `json:"isRoleAccount,omitempty"` IsSystemGenerated *bool `json:"isSystemGenerated,omitempty"` IsFreeAccount *bool `json:"isFreeAccount,omitempty"` SMTPSuccess *bool `json:"smtpSuccess,omitempty"` Deliverable *EmailDeliverable `json:"deliverable,omitempty"` IsPrimaryDomain *bool `json:"isPrimaryDomain,omitempty"` PrimaryDomain *string `json:"primaryDomain,omitempty"` AlternateEmail *string `json:"alternateEmail,omitempty"` IsDeliverable *bool `json:"isDeliverable,omitempty"` }
type EmailVariableEntity ¶
type EmailVariableEntity struct { Type EmailVariableEntityType `json:"type"` Variables []EmailVariableName `json:"variables"` }
type EmailVariableEntityType ¶
type EmailVariableEntityType string
const (
EmailVariableEntityTypeContact EmailVariableEntityType = "CONTACT"
)
func (EmailVariableEntityType) IsValid ¶
func (e EmailVariableEntityType) IsValid() bool
func (EmailVariableEntityType) MarshalGQL ¶
func (e EmailVariableEntityType) MarshalGQL(w io.Writer)
func (EmailVariableEntityType) String ¶
func (e EmailVariableEntityType) String() string
func (*EmailVariableEntityType) UnmarshalGQL ¶
func (e *EmailVariableEntityType) UnmarshalGQL(v any) error
type EmailVariableName ¶
type EmailVariableName string
const ( EmailVariableNameSenderFirstName EmailVariableName = "SENDER_FIRST_NAME" EmailVariableNameSenderLastName EmailVariableName = "SENDER_LAST_NAME" EmailVariableNameContactFirstName EmailVariableName = "CONTACT_FIRST_NAME" EmailVariableNameContactLastName EmailVariableName = "CONTACT_LAST_NAME" EmailVariableNameContactFullName EmailVariableName = "CONTACT_FULL_NAME" EmailVariableNameContactEmail EmailVariableName = "CONTACT_EMAIL" EmailVariableNameOrganizationName EmailVariableName = "ORGANIZATION_NAME" )
func (EmailVariableName) IsValid ¶
func (e EmailVariableName) IsValid() bool
func (EmailVariableName) MarshalGQL ¶
func (e EmailVariableName) MarshalGQL(w io.Writer)
func (EmailVariableName) String ¶
func (e EmailVariableName) String() string
func (*EmailVariableName) UnmarshalGQL ¶
func (e *EmailVariableName) UnmarshalGQL(v any) error
type EnrichDetails ¶
type EnrichDetails struct { RequestedAt *time.Time `json:"requestedAt,omitempty"` EnrichedAt *time.Time `json:"enrichedAt,omitempty"` FailedAt *time.Time `json:"failedAt,omitempty"` EmailRequestedAt *time.Time `json:"emailRequestedAt,omitempty"` EmailEnrichedAt *time.Time `json:"emailEnrichedAt,omitempty"` EmailFound *bool `json:"emailFound,omitempty"` MobilePhoneRequestedAt *time.Time `json:"mobilePhoneRequestedAt,omitempty"` MobilePhoneEnrichedAt *time.Time `json:"mobilePhoneEnrichedAt,omitempty"` MobilePhoneFound *bool `json:"mobilePhoneFound,omitempty"` }
type EntityType ¶
type EntityType string
const ( EntityTypeOrganization EntityType = "ORGANIZATION" EntityTypeOpportunity EntityType = "OPPORTUNITY" EntityTypeContact EntityType = "CONTACT" EntityTypeLogEntry EntityType = "LOG_ENTRY" EntityTypeIssue EntityType = "ISSUE" EntityTypeContract EntityType = "CONTRACT" )
func (EntityType) IsValid ¶
func (e EntityType) IsValid() bool
func (EntityType) MarshalGQL ¶
func (e EntityType) MarshalGQL(w io.Writer)
func (EntityType) String ¶
func (e EntityType) String() string
func (*EntityType) UnmarshalGQL ¶
func (e *EntityType) UnmarshalGQL(v any) error
type ExternalSystem ¶
type ExternalSystemInput ¶
type ExternalSystemInput struct {
Name string `json:"name"`
}
type ExternalSystemInstance ¶
type ExternalSystemInstance struct { Type ExternalSystemType `json:"type"` StripeDetails *ExternalSystemStripeDetails `json:"stripeDetails,omitempty"` }
type ExternalSystemStripeDetails ¶
type ExternalSystemStripeDetails struct {
PaymentMethodTypes []string `json:"paymentMethodTypes"`
}
type ExternalSystemType ¶
type ExternalSystemType string
const ( ExternalSystemTypeHubspot ExternalSystemType = "HUBSPOT" ExternalSystemTypeZendeskSupport ExternalSystemType = "ZENDESK_SUPPORT" ExternalSystemTypeCalcom ExternalSystemType = "CALCOM" ExternalSystemTypePipedrive ExternalSystemType = "PIPEDRIVE" ExternalSystemTypeSLACk ExternalSystemType = "SLACK" ExternalSystemTypeIntercom ExternalSystemType = "INTERCOM" ExternalSystemTypeSalesforce ExternalSystemType = "SALESFORCE" ExternalSystemTypeStripe ExternalSystemType = "STRIPE" ExternalSystemTypeMixpanel ExternalSystemType = "MIXPANEL" ExternalSystemTypeClose ExternalSystemType = "CLOSE" ExternalSystemTypeOutlook ExternalSystemType = "OUTLOOK" ExternalSystemTypeUnthread ExternalSystemType = "UNTHREAD" ExternalSystemTypeAttio ExternalSystemType = "ATTIO" ExternalSystemTypeWeconnect ExternalSystemType = "WECONNECT" ExternalSystemTypeZendeskSell ExternalSystemType = "ZENDESK_SELL" )
func (ExternalSystemType) IsValid ¶
func (e ExternalSystemType) IsValid() bool
func (ExternalSystemType) MarshalGQL ¶
func (e ExternalSystemType) MarshalGQL(w io.Writer)
func (ExternalSystemType) String ¶
func (e ExternalSystemType) String() string
func (*ExternalSystemType) UnmarshalGQL ¶
func (e *ExternalSystemType) UnmarshalGQL(v any) error
type Filter ¶
type Filter struct { Not *Filter `json:"NOT,omitempty"` And []*Filter `json:"AND,omitempty"` Or []*Filter `json:"OR,omitempty"` Filter *FilterItem `json:"filter,omitempty"` }
type FilterItem ¶
type FilterItem struct { Property string `json:"property"` Operation model.ComparisonOperator `json:"operation"` Value AnyTypeValue `json:"value"` CaseSensitive *bool `json:"caseSensitive,omitempty"` IncludeEmpty *bool `json:"includeEmpty,omitempty"` }
type Flow ¶
type Flow struct { Metadata *Metadata `json:"metadata"` Name string `json:"name"` Description string `json:"description"` Nodes string `json:"nodes"` Edges string `json:"edges"` FirstStartedAt *time.Time `json:"firstStartedAt,omitempty"` Status entity.FlowStatus `json:"status"` Participants []*FlowParticipant `json:"participants"` Senders []*FlowSender `json:"senders"` Statistics *FlowStatistics `json:"statistics"` }
func (Flow) GetMetadata ¶
func (Flow) IsMetadataInterface ¶
func (Flow) IsMetadataInterface()
type FlowAction ¶
type FlowAction struct { Metadata *Metadata `json:"metadata"` Action entity.FlowActionType `json:"action"` }
type FlowActionExecution ¶
type FlowActionExecution struct { Metadata *Metadata `json:"metadata"` Action *FlowAction `json:"action"` Status entity.FlowActionExecutionStatus `json:"status"` ScheduledAt *time.Time `json:"scheduledAt,omitempty"` ExecutedAt *time.Time `json:"executedAt,omitempty"` Error *string `json:"error,omitempty"` }
type FlowActionInputData ¶
type FlowActionInputData struct { Wait *FlowActionInputDataWait `json:"wait,omitempty"` EmailNew *FlowActionInputDataEmail `json:"email_new,omitempty"` EmailReply *FlowActionInputDataEmail `json:"email_reply,omitempty"` LinkedinConnectionRequest *FlowActionInputDataLinkedinConnectionRequest `json:"linkedin_connection_request,omitempty"` LinkedinMessage *FlowActionInputDataLinkedinMessage `json:"linkedin_message,omitempty"` }
type FlowActionInputDataLinkedinConnectionRequest ¶
type FlowActionInputDataLinkedinConnectionRequest struct {
MessageTemplate string `json:"messageTemplate"`
}
type FlowActionInputDataLinkedinMessage ¶
type FlowActionInputDataLinkedinMessage struct {
MessageTemplate string `json:"messageTemplate"`
}
type FlowActionInputDataWait ¶
type FlowActionInputDataWait struct {
Minutes int64 `json:"minutes"`
}
type FlowContact ¶
type FlowContact struct { Metadata *Metadata `json:"metadata"` Contact *Contact `json:"contact"` Status entity.FlowParticipantStatus `json:"status"` ScheduledAction *string `json:"scheduledAction,omitempty"` ScheduledAt *time.Time `json:"scheduledAt,omitempty"` }
func (FlowContact) GetMetadata ¶
func (this FlowContact) GetMetadata() *Metadata
func (FlowContact) IsMetadataInterface ¶
func (FlowContact) IsMetadataInterface()
type FlowMergeInput ¶
type FlowParticipant ¶
type FlowParticipant struct { Metadata *Metadata `json:"metadata"` EntityType string `json:"entityType"` EntityID string `json:"entityId"` Status entity.FlowParticipantStatus `json:"status"` RequirementsUnmeet []entity.FlowParticipantRequirementsUnmeet `json:"requirementsUnmeet"` Executions []*FlowActionExecution `json:"executions"` }
func (FlowParticipant) GetMetadata ¶
func (this FlowParticipant) GetMetadata() *Metadata
func (FlowParticipant) IsMetadataInterface ¶
func (FlowParticipant) IsMetadataInterface()
type FlowSender ¶
type FlowSender struct { Metadata *Metadata `json:"metadata"` Flow *Flow `json:"flow,omitempty"` User *User `json:"user,omitempty"` }
func (FlowSender) GetMetadata ¶
func (this FlowSender) GetMetadata() *Metadata
func (FlowSender) IsMetadataInterface ¶
func (FlowSender) IsMetadataInterface()
type FlowSenderMergeInput ¶
type FlowStatistics ¶
type FundingRound ¶
type FundingRound string
const ( FundingRoundPreSeed FundingRound = "PRE_SEED" FundingRoundSeed FundingRound = "SEED" FundingRoundSeriesA FundingRound = "SERIES_A" FundingRoundSeriesB FundingRound = "SERIES_B" FundingRoundSeriesC FundingRound = "SERIES_C" FundingRoundSeriesD FundingRound = "SERIES_D" FundingRoundSeriesE FundingRound = "SERIES_E" FundingRoundSeriesF FundingRound = "SERIES_F" FundingRoundIPO FundingRound = "IPO" FundingRoundFriendsAndFamily FundingRound = "FRIENDS_AND_FAMILY" FundingRoundAngel FundingRound = "ANGEL" FundingRoundBridge FundingRound = "BRIDGE" )
func (FundingRound) IsValid ¶
func (e FundingRound) IsValid() bool
func (FundingRound) MarshalGQL ¶
func (e FundingRound) MarshalGQL(w io.Writer)
func (FundingRound) String ¶
func (e FundingRound) String() string
func (*FundingRound) UnmarshalGQL ¶
func (e *FundingRound) UnmarshalGQL(v any) error
type GetPaymentIntent ¶
type GetPaymentIntent struct {
ClientSecret string `json:"clientSecret"`
}
type GlobalCache ¶
type GlobalCache struct { User *User `json:"user"` IsOwner bool `json:"isOwner"` InactiveEmailTokens []*GlobalCacheEmailToken `json:"inactiveEmailTokens"` ActiveEmailTokens []*GlobalCacheEmailToken `json:"activeEmailTokens"` Mailboxes []string `json:"mailboxes"` MinARRForecastValue float64 `json:"minARRForecastValue"` MaxARRForecastValue float64 `json:"maxARRForecastValue"` ContractsExist bool `json:"contractsExist"` IsFirstLogin bool `json:"isFirstLogin"` CdnLogoURL string `json:"cdnLogoUrl"` }
type GlobalCacheEmailToken ¶
type GlobalOrganization ¶
type GlobalOrganization struct { ID int64 `json:"id"` Name string `json:"name"` PrimaryDomain string `json:"primaryDomain"` Website string `json:"website"` LogoURL string `json:"logoUrl"` IconURL string `json:"iconUrl"` Domains []string `json:"domains"` OrganizationID *string `json:"organizationId,omitempty"` }
type InteractionEvent ¶
type InteractionEvent struct { ID string `json:"id"` CreatedAt time.Time `json:"createdAt"` CustomerOSInternalIdentifier *string `json:"customerOSInternalIdentifier,omitempty"` EventIdentifier *string `json:"eventIdentifier,omitempty"` Channel string `json:"channel"` Content *string `json:"content,omitempty"` ContentType *string `json:"contentType,omitempty"` ChannelData *string `json:"channelData,omitempty"` InteractionSession *InteractionSession `json:"interactionSession,omitempty"` Issue *Issue `json:"issue,omitempty"` Meeting *Meeting `json:"meeting,omitempty"` SentBy []InteractionEventParticipant `json:"sentBy"` SentTo []InteractionEventParticipant `json:"sentTo"` RepliesTo *InteractionEvent `json:"repliesTo,omitempty"` Includes []*Attachment `json:"includes"` Actions []*Action `json:"actions,omitempty"` ActionItems []*ActionItem `json:"actionItems,omitempty"` Source DataSource `json:"source"` SourceOfTruth DataSource `json:"sourceOfTruth"` AppSource string `json:"appSource"` EventType *string `json:"eventType,omitempty"` ExternalLinks []*ExternalSystem `json:"externalLinks"` }
func (InteractionEvent) GetID ¶
func (this InteractionEvent) GetID() string
func (InteractionEvent) IsNode ¶
func (InteractionEvent) IsNode()
func (InteractionEvent) IsTimelineEvent ¶
func (InteractionEvent) IsTimelineEvent()
type InteractionEventParticipant ¶
type InteractionEventParticipant interface {
IsInteractionEventParticipant()
}
type InteractionSession ¶
type InteractionSession struct { ID string `json:"id"` CreatedAt time.Time `json:"createdAt"` UpdatedAt time.Time `json:"updatedAt"` Identifier string `json:"identifier"` Name string `json:"name"` Status string `json:"status"` Type *string `json:"type,omitempty"` Channel *string `json:"channel,omitempty"` ChannelData *string `json:"channelData,omitempty"` Source DataSource `json:"source"` SourceOfTruth DataSource `json:"sourceOfTruth"` AppSource string `json:"appSource"` Events []*InteractionEvent `json:"events"` AttendedBy []InteractionSessionParticipant `json:"attendedBy"` }
func (InteractionSession) GetID ¶
func (this InteractionSession) GetID() string
func (InteractionSession) IsNode ¶
func (InteractionSession) IsNode()
func (InteractionSession) IsTimelineEvent ¶
func (InteractionSession) IsTimelineEvent()
type InteractionSessionParticipant ¶
type InteractionSessionParticipant interface {
IsInteractionSessionParticipant()
}
type InternalStage ¶
type InternalStage string
const ( InternalStageOpen InternalStage = "OPEN" InternalStageClosedWon InternalStage = "CLOSED_WON" InternalStageClosedLost InternalStage = "CLOSED_LOST" )
func (InternalStage) IsValid ¶
func (e InternalStage) IsValid() bool
func (InternalStage) MarshalGQL ¶
func (e InternalStage) MarshalGQL(w io.Writer)
func (InternalStage) String ¶
func (e InternalStage) String() string
func (*InternalStage) UnmarshalGQL ¶
func (e *InternalStage) UnmarshalGQL(v any) error
type InternalType ¶
type InternalType string
const ( InternalTypeNbo InternalType = "NBO" InternalTypeUpsell InternalType = "UPSELL" InternalTypeCrossSell InternalType = "CROSS_SELL" InternalTypeRenewal InternalType = "RENEWAL" )
func (InternalType) IsValid ¶
func (e InternalType) IsValid() bool
func (InternalType) MarshalGQL ¶
func (e InternalType) MarshalGQL(w io.Writer)
func (InternalType) String ¶
func (e InternalType) String() string
func (*InternalType) UnmarshalGQL ¶
func (e *InternalType) UnmarshalGQL(v any) error
type Invoice ¶
type Invoice struct { Metadata *Metadata `json:"metadata"` Organization *Organization `json:"organization"` Contract *Contract `json:"contract"` DryRun bool `json:"dryRun"` Postpaid bool `json:"postpaid"` OffCycle bool `json:"offCycle"` Preview bool `json:"preview"` AmountDue float64 `json:"amountDue"` AmountPaid float64 `json:"amountPaid"` AmountRemaining float64 `json:"amountRemaining"` InvoiceNumber string `json:"invoiceNumber"` InvoicePeriodStart time.Time `json:"invoicePeriodStart"` InvoicePeriodEnd time.Time `json:"invoicePeriodEnd"` InvoiceURL string `json:"invoiceUrl"` Due time.Time `json:"due"` Issued time.Time `json:"issued"` Currency string `json:"currency"` RepositoryFileID string `json:"repositoryFileId"` InvoiceLineItems []*InvoiceLine `json:"invoiceLineItems"` Status *InvoiceStatus `json:"status,omitempty"` Note *string `json:"note,omitempty"` // Deprecated DomesticPaymentsBankInfo *string `json:"domesticPaymentsBankInfo,omitempty"` // Deprecated InternationalPaymentsBankInfo *string `json:"internationalPaymentsBankInfo,omitempty"` Customer *InvoiceCustomer `json:"customer"` Provider *InvoiceProvider `json:"provider"` Paid bool `json:"paid"` Subtotal float64 `json:"subtotal"` TaxDue float64 `json:"taxDue"` PaymentLink *string `json:"paymentLink,omitempty"` BillingCycleInMonths int64 `json:"billingCycleInMonths"` }
func (Invoice) GetMetadata ¶
func (Invoice) IsMetadataInterface ¶
func (Invoice) IsMetadataInterface()
type InvoiceCustomer ¶
type InvoiceCustomer struct { Name *string `json:"name,omitempty"` Email *string `json:"email,omitempty"` AddressLine1 *string `json:"addressLine1,omitempty"` AddressLine2 *string `json:"addressLine2,omitempty"` AddressZip *string `json:"addressZip,omitempty"` AddressLocality *string `json:"addressLocality,omitempty"` AddressCountry *string `json:"addressCountry,omitempty"` AddressRegion *string `json:"addressRegion,omitempty"` }
type InvoiceLine ¶
type InvoiceLine struct { Metadata *Metadata `json:"metadata"` Description string `json:"description"` Price float64 `json:"price"` Quantity int64 `json:"quantity"` Subtotal float64 `json:"subtotal"` TaxDue float64 `json:"taxDue"` Total float64 `json:"total"` ContractLineItem *ServiceLineItem `json:"contractLineItem"` }
func (InvoiceLine) GetMetadata ¶
func (this InvoiceLine) GetMetadata() *Metadata
func (InvoiceLine) IsMetadataInterface ¶
func (InvoiceLine) IsMetadataInterface()
type InvoiceLineSimulate ¶
type InvoiceProvider ¶
type InvoiceProvider struct { LogoURL *string `json:"logoUrl,omitempty"` LogoRepositoryFileID *string `json:"logoRepositoryFileId,omitempty"` Name *string `json:"name,omitempty"` AddressLine1 *string `json:"addressLine1,omitempty"` AddressLine2 *string `json:"addressLine2,omitempty"` AddressZip *string `json:"addressZip,omitempty"` AddressLocality *string `json:"addressLocality,omitempty"` AddressCountry *string `json:"addressCountry,omitempty"` AddressRegion *string `json:"addressRegion,omitempty"` }
type InvoiceSimulate ¶
type InvoiceSimulate struct { Postpaid bool `json:"postpaid"` OffCycle bool `json:"offCycle"` InvoiceNumber string `json:"invoiceNumber"` InvoicePeriodStart time.Time `json:"invoicePeriodStart"` InvoicePeriodEnd time.Time `json:"invoicePeriodEnd"` Due time.Time `json:"due"` Issued time.Time `json:"issued"` Currency string `json:"currency"` InvoiceLineItems []*InvoiceLineSimulate `json:"invoiceLineItems"` Note string `json:"note"` Customer *InvoiceCustomer `json:"customer"` Provider *InvoiceProvider `json:"provider"` Amount float64 `json:"amount"` Subtotal float64 `json:"subtotal"` Total float64 `json:"total"` TaxDue float64 `json:"taxDue"` }
type InvoiceSimulateInput ¶
type InvoiceSimulateInput struct { ContractID string `json:"contractId"` ServiceLines []*InvoiceSimulateServiceLineInput `json:"serviceLines"` }
type InvoiceSimulateServiceLineInput ¶
type InvoiceSimulateServiceLineInput struct { Key string `json:"key"` ServiceLineItemID *string `json:"serviceLineItemId,omitempty"` ParentID *string `json:"parentId,omitempty"` Description string `json:"description"` BillingCycle BilledType `json:"billingCycle"` Price float64 `json:"price"` Quantity int64 `json:"quantity"` ServiceStarted time.Time `json:"serviceStarted"` TaxRate *float64 `json:"taxRate,omitempty"` CloseVersion *bool `json:"closeVersion,omitempty"` }
type InvoiceStatus ¶
type InvoiceStatus string
const ( InvoiceStatusInitialized InvoiceStatus = "INITIALIZED" // Deprecated, replaced by INITIALIZED InvoiceStatusDraft InvoiceStatus = "DRAFT" InvoiceStatusDue InvoiceStatus = "DUE" InvoiceStatusOverdue InvoiceStatus = "OVERDUE" InvoiceStatusPaid InvoiceStatus = "PAID" InvoiceStatusVoid InvoiceStatus = "VOID" InvoiceStatusScheduled InvoiceStatus = "SCHEDULED" InvoiceStatusOnHold InvoiceStatus = "ON_HOLD" InvoiceStatusEmpty InvoiceStatus = "EMPTY" )
func (InvoiceStatus) IsValid ¶
func (e InvoiceStatus) IsValid() bool
func (InvoiceStatus) MarshalGQL ¶
func (e InvoiceStatus) MarshalGQL(w io.Writer)
func (InvoiceStatus) String ¶
func (e InvoiceStatus) String() string
func (*InvoiceStatus) UnmarshalGQL ¶
func (e *InvoiceStatus) UnmarshalGQL(v any) error
type InvoiceUpdateInput ¶
type InvoiceUpdateInput struct { ID string `json:"id"` Status *InvoiceStatus `json:"status,omitempty"` Patch bool `json:"patch"` }
type InvoicesPage ¶
type InvoicesPage struct { Content []*Invoice `json:"content"` TotalPages int `json:"totalPages"` TotalElements int64 `json:"totalElements"` TotalAvailable int64 `json:"totalAvailable"` }
func (InvoicesPage) GetTotalElements ¶
func (this InvoicesPage) GetTotalElements() int64
The total number of elements included in the query response. **Required.**
func (InvoicesPage) GetTotalPages ¶
func (this InvoicesPage) GetTotalPages() int
The total number of pages included in the query response. **Required.**
func (InvoicesPage) IsPages ¶
func (InvoicesPage) IsPages()
type Issue ¶
type Issue struct { ID string `json:"id"` CreatedAt time.Time `json:"createdAt"` UpdatedAt time.Time `json:"updatedAt"` Subject *string `json:"subject,omitempty"` IssueStatus string `json:"issueStatus"` Priority *string `json:"priority,omitempty"` Description *string `json:"description,omitempty"` Tags []*Tag `json:"tags,omitempty"` InteractionEvents []*InteractionEvent `json:"interactionEvents"` Comments []*Comment `json:"comments"` ExternalLinks []*ExternalSystem `json:"externalLinks"` SubmittedBy IssueParticipant `json:"submittedBy,omitempty"` ReportedBy IssueParticipant `json:"reportedBy,omitempty"` AssignedTo []IssueParticipant `json:"assignedTo"` FollowedBy []IssueParticipant `json:"followedBy"` Source DataSource `json:"source"` SourceOfTruth DataSource `json:"sourceOfTruth"` AppSource string `json:"appSource"` // Deprecated: Use issueStatus field instead Status string `json:"status"` }
func (Issue) GetAppSource ¶
func (Issue) GetSource ¶
func (this Issue) GetSource() DataSource
func (Issue) GetSourceOfTruth ¶
func (this Issue) GetSourceOfTruth() DataSource
func (Issue) IsSourceFields ¶
func (Issue) IsSourceFields()
func (Issue) IsTimelineEvent ¶
func (Issue) IsTimelineEvent()
type IssueParticipant ¶
type IssueParticipant interface {
IsIssueParticipant()
}
type IssueSummaryByStatus ¶
type JobRole ¶
type JobRole struct { ID string `json:"id"` CreatedAt time.Time `json:"createdAt"` UpdatedAt time.Time `json:"updatedAt"` Organization *Organization `json:"organization,omitempty"` Contact *Contact `json:"contact,omitempty"` JobTitle *string `json:"jobTitle,omitempty"` Primary bool `json:"primary"` Description *string `json:"description,omitempty"` Company *string `json:"company,omitempty"` StartedAt *time.Time `json:"startedAt,omitempty"` EndedAt *time.Time `json:"endedAt,omitempty"` Source DataSource `json:"source"` AppSource string `json:"appSource"` }
type JobRoleInput ¶
type JobRoleInput struct { OrganizationID *string `json:"organizationId,omitempty"` JobTitle *string `json:"jobTitle,omitempty"` Primary *bool `json:"primary,omitempty"` StartedAt *time.Time `json:"startedAt,omitempty"` EndedAt *time.Time `json:"endedAt,omitempty"` AppSource *string `json:"appSource,omitempty"` Description *string `json:"description,omitempty"` Company *string `json:"company,omitempty"` }
type JobRoleParticipant ¶
type JobRoleParticipant struct { JobRoleParticipant *JobRole `json:"jobRoleParticipant"` Type *string `json:"type,omitempty"` }
func (JobRoleParticipant) IsInteractionEventParticipant ¶
func (JobRoleParticipant) IsInteractionEventParticipant()
type JobRoleSaveInput ¶
type JobRoleSaveInput struct { ID *string `json:"id,omitempty"` ContactID *string `json:"contactId,omitempty"` OrganizationID *string `json:"organizationId,omitempty"` StartedAt *time.Time `json:"startedAt,omitempty"` EndedAt *time.Time `json:"endedAt,omitempty"` JobTitle *string `json:"jobTitle,omitempty"` Primary *bool `json:"primary,omitempty"` Description *string `json:"description,omitempty"` Company *string `json:"company,omitempty"` }
type JobRoleUpdateInput ¶
type JobRoleUpdateInput struct { ID string `json:"id"` StartedAt *time.Time `json:"startedAt,omitempty"` EndedAt *time.Time `json:"endedAt,omitempty"` OrganizationID *string `json:"organizationId,omitempty"` JobTitle *string `json:"jobTitle,omitempty"` Primary *bool `json:"primary,omitempty"` Description *string `json:"description,omitempty"` Company *string `json:"company,omitempty"` }
type LastTouchpoint ¶
type LastTouchpoint struct { LastTouchPointAt *time.Time `json:"lastTouchPointAt,omitempty"` LastTouchPointType *LastTouchpointType `json:"lastTouchPointType,omitempty"` LastTouchPointTimelineEventID *string `json:"lastTouchPointTimelineEventId,omitempty"` LastTouchPointTimelineEvent TimelineEvent `json:"lastTouchPointTimelineEvent,omitempty"` }
type LastTouchpointType ¶
type LastTouchpointType string
const ( LastTouchpointTypePageView LastTouchpointType = "PAGE_VIEW" LastTouchpointTypeInteractionSession LastTouchpointType = "INTERACTION_SESSION" LastTouchpointTypeNote LastTouchpointType = "NOTE" LastTouchpointTypeInteractionEventEmailSent LastTouchpointType = "INTERACTION_EVENT_EMAIL_SENT" LastTouchpointTypeInteractionEventEmailReceived LastTouchpointType = "INTERACTION_EVENT_EMAIL_RECEIVED" LastTouchpointTypeInteractionEventPhoneCall LastTouchpointType = "INTERACTION_EVENT_PHONE_CALL" LastTouchpointTypeInteractionEventChat LastTouchpointType = "INTERACTION_EVENT_CHAT" LastTouchpointTypeMeeting LastTouchpointType = "MEETING" LastTouchpointTypeActionCreated LastTouchpointType = "ACTION_CREATED" LastTouchpointTypeAction LastTouchpointType = "ACTION" LastTouchpointTypeLogEntry LastTouchpointType = "LOG_ENTRY" LastTouchpointTypeIssueCreated LastTouchpointType = "ISSUE_CREATED" LastTouchpointTypeIssueUpdated LastTouchpointType = "ISSUE_UPDATED" )
func (LastTouchpointType) IsValid ¶
func (e LastTouchpointType) IsValid() bool
func (LastTouchpointType) MarshalGQL ¶
func (e LastTouchpointType) MarshalGQL(w io.Writer)
func (LastTouchpointType) String ¶
func (e LastTouchpointType) String() string
func (*LastTouchpointType) UnmarshalGQL ¶
func (e *LastTouchpointType) UnmarshalGQL(v any) error
type LinkOrganizationsInput ¶
type LinkedOrganization ¶
type LinkedOrganization struct { Organization *Organization `json:"organization"` Type *string `json:"type,omitempty"` }
type Location ¶
type Location 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"` Name *string `json:"name,omitempty"` RawAddress *string `json:"rawAddress,omitempty"` Country *string `json:"country,omitempty"` CountryCodeA2 *string `json:"countryCodeA2,omitempty"` CountryCodeA3 *string `json:"countryCodeA3,omitempty"` Region *string `json:"region,omitempty"` District *string `json:"district,omitempty"` Locality *string `json:"locality,omitempty"` Street *string `json:"street,omitempty"` Address *string `json:"address,omitempty"` Address2 *string `json:"address2,omitempty"` Zip *string `json:"zip,omitempty"` AddressType *string `json:"addressType,omitempty"` HouseNumber *string `json:"houseNumber,omitempty"` PostalCode *string `json:"postalCode,omitempty"` PlusFour *string `json:"plusFour,omitempty"` Commercial *bool `json:"commercial,omitempty"` Predirection *string `json:"predirection,omitempty"` Latitude *float64 `json:"latitude,omitempty"` Longitude *float64 `json:"longitude,omitempty"` TimeZone *string `json:"timeZone,omitempty"` UtcOffset *float64 `json:"utcOffset,omitempty"` }
func (Location) GetAppSource ¶
func (Location) GetSource ¶
func (this Location) GetSource() DataSource
func (Location) GetSourceOfTruth ¶
func (this Location) GetSourceOfTruth() DataSource
func (Location) IsSourceFields ¶
func (Location) IsSourceFields()
type LocationUpdateInput ¶
type LocationUpdateInput struct { ID string `json:"id"` Name *string `json:"name,omitempty"` RawAddress *string `json:"rawAddress,omitempty"` Country *string `json:"country,omitempty"` Region *string `json:"region,omitempty"` District *string `json:"district,omitempty"` Locality *string `json:"locality,omitempty"` Street *string `json:"street,omitempty"` Address *string `json:"address,omitempty"` Address2 *string `json:"address2,omitempty"` Zip *string `json:"zip,omitempty"` AddressType *string `json:"addressType,omitempty"` HouseNumber *string `json:"houseNumber,omitempty"` PostalCode *string `json:"postalCode,omitempty"` PlusFour *string `json:"plusFour,omitempty"` Commercial *bool `json:"commercial,omitempty"` Predirection *string `json:"predirection,omitempty"` Latitude *float64 `json:"latitude,omitempty"` Longitude *float64 `json:"longitude,omitempty"` TimeZone *string `json:"timeZone,omitempty"` UtcOffset *float64 `json:"utcOffset,omitempty"` }
type LogEntry ¶
type LogEntry struct { ID string `json:"id"` Content *string `json:"content,omitempty"` ContentType *string `json:"contentType,omitempty"` CreatedAt time.Time `json:"createdAt"` UpdatedAt time.Time `json:"updatedAt"` StartedAt time.Time `json:"startedAt"` CreatedBy *User `json:"createdBy,omitempty"` Tags []*Tag `json:"tags"` Source DataSource `json:"source"` SourceOfTruth DataSource `json:"sourceOfTruth"` AppSource string `json:"appSource"` ExternalLinks []*ExternalSystem `json:"externalLinks"` }
func (LogEntry) IsTimelineEvent ¶
func (LogEntry) IsTimelineEvent()
type LogEntryInput ¶
type LogEntryUpdateInput ¶
type Mailbox ¶
type Mailbox struct { Domain string `json:"domain"` Mailbox string `json:"mailbox"` Created time.Time `json:"created"` UsedInFlows bool `json:"usedInFlows"` RampUpRate int `json:"rampUpRate"` RampUpMax int `json:"rampUpMax"` RampUpCurrent int `json:"rampUpCurrent"` UserID *string `json:"userId,omitempty"` ScheduledEmails int64 `json:"scheduledEmails"` CurrentFlowIds []string `json:"currentFlowIds,omitempty"` }
type MarkdownEvent ¶
type MarkdownEvent struct { Metadata *Metadata `json:"metadata"` Content *string `json:"content,omitempty"` }
func (MarkdownEvent) IsTimelineEvent ¶
func (MarkdownEvent) IsTimelineEvent()
type Meeting ¶
type Meeting struct { ID string `json:"id"` Name *string `json:"name,omitempty"` CreatedAt time.Time `json:"createdAt"` UpdatedAt time.Time `json:"updatedAt"` StartedAt *time.Time `json:"startedAt,omitempty"` EndedAt *time.Time `json:"endedAt,omitempty"` ConferenceURL *string `json:"conferenceUrl,omitempty"` MeetingExternalURL *string `json:"meetingExternalUrl,omitempty"` AttendedBy []MeetingParticipant `json:"attendedBy"` CreatedBy []MeetingParticipant `json:"createdBy"` Includes []*Attachment `json:"includes"` Note []*Note `json:"note"` Events []*InteractionEvent `json:"events"` Recording *Attachment `json:"recording,omitempty"` AppSource string `json:"appSource"` Source DataSource `json:"source"` SourceOfTruth DataSource `json:"sourceOfTruth"` Agenda *string `json:"agenda,omitempty"` AgendaContentType *string `json:"agendaContentType,omitempty"` ExternalSystem []*ExternalSystem `json:"externalSystem"` Status MeetingStatus `json:"status"` }
func (Meeting) IsTimelineEvent ¶
func (Meeting) IsTimelineEvent()
type MeetingInput ¶
type MeetingInput struct { Name *string `json:"name,omitempty"` AttendedBy []*MeetingParticipantInput `json:"attendedBy,omitempty"` CreatedBy []*MeetingParticipantInput `json:"createdBy,omitempty"` CreatedAt *time.Time `json:"createdAt,omitempty"` StartedAt *time.Time `json:"startedAt,omitempty"` EndedAt *time.Time `json:"endedAt,omitempty"` ConferenceURL *string `json:"conferenceUrl,omitempty"` MeetingExternalURL *string `json:"meetingExternalUrl,omitempty"` Agenda *string `json:"agenda,omitempty"` AgendaContentType *string `json:"agendaContentType,omitempty"` Note *NoteInput `json:"note,omitempty"` AppSource *string `json:"appSource,omitempty"` ExternalSystem *ExternalSystemReferenceInput `json:"externalSystem,omitempty"` Status *MeetingStatus `json:"status,omitempty"` }
type MeetingParticipant ¶
type MeetingParticipant interface {
IsMeetingParticipant()
}
type MeetingParticipantInput ¶
type MeetingStatus ¶
type MeetingStatus string
const ( MeetingStatusUndefined MeetingStatus = "UNDEFINED" MeetingStatusAccepted MeetingStatus = "ACCEPTED" MeetingStatusCanceled MeetingStatus = "CANCELED" )
func (MeetingStatus) IsValid ¶
func (e MeetingStatus) IsValid() bool
func (MeetingStatus) MarshalGQL ¶
func (e MeetingStatus) MarshalGQL(w io.Writer)
func (MeetingStatus) String ¶
func (e MeetingStatus) String() string
func (*MeetingStatus) UnmarshalGQL ¶
func (e *MeetingStatus) UnmarshalGQL(v any) error
type MeetingUpdateInput ¶
type MeetingUpdateInput struct { Name *string `json:"name,omitempty"` StartedAt *time.Time `json:"startedAt,omitempty"` EndedAt *time.Time `json:"endedAt,omitempty"` ConferenceURL *string `json:"conferenceUrl,omitempty"` MeetingExternalURL *string `json:"meetingExternalUrl,omitempty"` Agenda *string `json:"agenda,omitempty"` AgendaContentType *string `json:"agendaContentType,omitempty"` Note *NoteUpdateInput `json:"note,omitempty"` AppSource *string `json:"appSource,omitempty"` Status *MeetingStatus `json:"status,omitempty"` ExternalSystem *ExternalSystemReferenceInput `json:"externalSystem,omitempty"` }
type MeetingsPage ¶
type MeetingsPage struct { // A contact entity in customerOS. // **Required. If no values it returns an empty array.** Content []*Meeting `json:"content"` // Total number of pages in the query response. // **Required.** TotalPages int `json:"totalPages"` // Total number of elements in the query response. // **Required.** TotalElements int64 `json:"totalElements"` }
Specifies how many pages of meeting information has been returned in the query response. **A `response` object.**
func (MeetingsPage) GetTotalElements ¶
func (this MeetingsPage) GetTotalElements() int64
The total number of elements included in the query response. **Required.**
func (MeetingsPage) GetTotalPages ¶
func (this MeetingsPage) GetTotalPages() int
The total number of pages included in the query response. **Required.**
func (MeetingsPage) IsPages ¶
func (MeetingsPage) IsPages()
type Metadata ¶
type Metadata struct { ID string `json:"id"` Created time.Time `json:"created"` LastUpdated time.Time `json:"lastUpdated"` Source DataSource `json:"source"` // Deprecated SourceOfTruth DataSource `json:"sourceOfTruth"` AppSource string `json:"appSource"` // Aggregate version from event store db Version *int64 `json:"version,omitempty"` }
func (Metadata) GetAppSource ¶
func (Metadata) GetSource ¶
func (this Metadata) GetSource() DataSource
func (Metadata) GetSourceOfTruth ¶
func (this Metadata) GetSourceOfTruth() DataSource
func (Metadata) IsSourceFieldsInterface ¶
func (Metadata) IsSourceFieldsInterface()
type MetadataInterface ¶
type MetadataInterface interface { IsMetadataInterface() GetMetadata() *Metadata }
type Note ¶
type Note struct { ID string `json:"id"` Content *string `json:"content,omitempty"` ContentType *string `json:"contentType,omitempty"` CreatedAt time.Time `json:"createdAt"` UpdatedAt time.Time `json:"updatedAt"` CreatedBy *User `json:"createdBy,omitempty"` Includes []*Attachment `json:"includes"` Source DataSource `json:"source"` SourceOfTruth DataSource `json:"sourceOfTruth"` AppSource string `json:"appSource"` }
func (Note) IsTimelineEvent ¶
func (Note) IsTimelineEvent()
type NotePage ¶
type NotePage struct { Content []*Note `json:"content"` TotalPages int `json:"totalPages"` TotalElements int64 `json:"totalElements"` }
func (NotePage) GetTotalElements ¶
The total number of elements included in the query response. **Required.**
func (NotePage) GetTotalPages ¶
The total number of pages included in the query response. **Required.**
type NoteUpdateInput ¶
type OnboardingDetails ¶
type OnboardingDetails struct { Status OnboardingStatus `json:"status"` Comments *string `json:"comments,omitempty"` UpdatedAt *time.Time `json:"updatedAt,omitempty"` }
type OnboardingStatus ¶
type OnboardingStatus string
const ( OnboardingStatusNotApplicable OnboardingStatus = "NOT_APPLICABLE" OnboardingStatusNotStarted OnboardingStatus = "NOT_STARTED" OnboardingStatusOnTrack OnboardingStatus = "ON_TRACK" OnboardingStatusLate OnboardingStatus = "LATE" OnboardingStatusStuck OnboardingStatus = "STUCK" OnboardingStatusDone OnboardingStatus = "DONE" OnboardingStatusSuccessful OnboardingStatus = "SUCCESSFUL" )
func (OnboardingStatus) IsValid ¶
func (e OnboardingStatus) IsValid() bool
func (OnboardingStatus) MarshalGQL ¶
func (e OnboardingStatus) MarshalGQL(w io.Writer)
func (OnboardingStatus) String ¶
func (e OnboardingStatus) String() string
func (*OnboardingStatus) UnmarshalGQL ¶
func (e *OnboardingStatus) UnmarshalGQL(v any) error
type OnboardingStatusInput ¶
type OnboardingStatusInput struct { OrganizationID string `json:"organizationId"` Status OnboardingStatus `json:"status"` Comments *string `json:"comments,omitempty"` }
type Opportunity ¶
type Opportunity struct { Metadata *Metadata `json:"metadata"` Name string `json:"name"` Amount float64 `json:"amount"` MaxAmount float64 `json:"maxAmount"` Currency *Currency `json:"currency,omitempty"` LikelihoodRate int64 `json:"likelihoodRate"` InternalType InternalType `json:"internalType"` ExternalType string `json:"externalType"` InternalStage InternalStage `json:"internalStage"` ExternalStage string `json:"externalStage"` EstimatedClosedAt *time.Time `json:"estimatedClosedAt,omitempty"` GeneralNotes string `json:"generalNotes"` NextSteps string `json:"nextSteps"` RenewedAt *time.Time `json:"renewedAt,omitempty"` RenewalApproved bool `json:"renewalApproved"` RenewalLikelihood OpportunityRenewalLikelihood `json:"renewalLikelihood"` RenewalUpdatedByUserID string `json:"renewalUpdatedByUserId"` RenewalUpdatedByUserAt *time.Time `json:"renewalUpdatedByUserAt,omitempty"` RenewalAdjustedRate int64 `json:"renewalAdjustedRate"` Comments string `json:"comments"` StageLastUpdated *time.Time `json:"stageLastUpdated,omitempty"` Organization *Organization `json:"organization,omitempty"` CreatedBy *User `json:"createdBy,omitempty"` Owner *User `json:"owner,omitempty"` ExternalLinks []*ExternalSystem `json:"externalLinks"` // Deprecated, use metadata ID string `json:"id"` // Deprecated, use metadata CreatedAt *time.Time `json:"createdAt,omitempty"` // Deprecated, use metadata UpdatedAt *time.Time `json:"updatedAt,omitempty"` // Deprecated, use metadata Source *DataSource `json:"source,omitempty"` // Deprecated, use metadata SourceOfTruth *DataSource `json:"sourceOfTruth,omitempty"` // Deprecated, use metadata AppSource *string `json:"appSource,omitempty"` }
func (Opportunity) GetMetadata ¶
func (this Opportunity) GetMetadata() *Metadata
func (Opportunity) IsMetadataInterface ¶
func (Opportunity) IsMetadataInterface()
type OpportunityCreateInput ¶
type OpportunityCreateInput struct { OrganizationID string `json:"organizationId"` Name *string `json:"name,omitempty"` InternalType *InternalType `json:"internalType,omitempty"` ExternalType *string `json:"externalType,omitempty"` ExternalStage *string `json:"externalStage,omitempty"` EstimatedClosedDate *time.Time `json:"estimatedClosedDate,omitempty"` GeneralNotes *string `json:"generalNotes,omitempty"` NextSteps *string `json:"nextSteps,omitempty"` Comments *string `json:"comments,omitempty"` MaxAmount *float64 `json:"maxAmount,omitempty"` Currency *Currency `json:"currency,omitempty"` LikelihoodRate *int64 `json:"likelihoodRate,omitempty"` }
type OpportunityPage ¶
type OpportunityPage struct { Content []*Opportunity `json:"content"` TotalPages int `json:"totalPages"` TotalElements int64 `json:"totalElements"` TotalAvailable int64 `json:"totalAvailable"` }
func (OpportunityPage) GetTotalElements ¶
func (this OpportunityPage) GetTotalElements() int64
The total number of elements included in the query response. **Required.**
func (OpportunityPage) GetTotalPages ¶
func (this OpportunityPage) GetTotalPages() int
The total number of pages included in the query response. **Required.**
func (OpportunityPage) IsPages ¶
func (OpportunityPage) IsPages()
type OpportunityRenewalLikelihood ¶
type OpportunityRenewalLikelihood string
const ( OpportunityRenewalLikelihoodHighRenewal OpportunityRenewalLikelihood = "HIGH_RENEWAL" OpportunityRenewalLikelihoodMediumRenewal OpportunityRenewalLikelihood = "MEDIUM_RENEWAL" OpportunityRenewalLikelihoodLowRenewal OpportunityRenewalLikelihood = "LOW_RENEWAL" OpportunityRenewalLikelihoodZeroRenewal OpportunityRenewalLikelihood = "ZERO_RENEWAL" )
func (OpportunityRenewalLikelihood) IsValid ¶
func (e OpportunityRenewalLikelihood) IsValid() bool
func (OpportunityRenewalLikelihood) MarshalGQL ¶
func (e OpportunityRenewalLikelihood) MarshalGQL(w io.Writer)
func (OpportunityRenewalLikelihood) String ¶
func (e OpportunityRenewalLikelihood) String() string
func (*OpportunityRenewalLikelihood) UnmarshalGQL ¶
func (e *OpportunityRenewalLikelihood) UnmarshalGQL(v any) error
type OpportunityRenewalUpdateAllForOrganizationInput ¶
type OpportunityRenewalUpdateAllForOrganizationInput struct { OrganizationID string `json:"organizationId"` RenewalLikelihood *OpportunityRenewalLikelihood `json:"renewalLikelihood,omitempty"` RenewalAdjustedRate *int64 `json:"renewalAdjustedRate,omitempty"` }
type OpportunityRenewalUpdateInput ¶
type OpportunityRenewalUpdateInput struct { OpportunityID string `json:"opportunityId"` Amount *float64 `json:"amount,omitempty"` Comments *string `json:"comments,omitempty"` AppSource *string `json:"appSource,omitempty"` OwnerUserID *string `json:"ownerUserId,omitempty"` RenewalLikelihood *OpportunityRenewalLikelihood `json:"renewalLikelihood,omitempty"` RenewalAdjustedRate *int64 `json:"renewalAdjustedRate,omitempty"` // Deprecated Name *string `json:"name,omitempty"` }
type OpportunitySaveInput ¶
type OpportunitySaveInput struct { OrganizationID *string `json:"organizationId,omitempty"` OpportunityID *string `json:"opportunityId,omitempty"` Name *string `json:"name,omitempty"` Amount *float64 `json:"amount,omitempty"` InternalType *InternalType `json:"internalType,omitempty"` InternalStage *InternalStage `json:"internalStage,omitempty"` ExternalType *string `json:"externalType,omitempty"` ExternalStage *string `json:"externalStage,omitempty"` EstimatedClosedDate *time.Time `json:"estimatedClosedDate,omitempty"` NextSteps *string `json:"nextSteps,omitempty"` LikelihoodRate *int64 `json:"likelihoodRate,omitempty"` MaxAmount *float64 `json:"maxAmount,omitempty"` Currency *Currency `json:"currency,omitempty"` OwnerID *string `json:"ownerId,omitempty"` }
type OpportunityUpdateInput ¶
type OpportunityUpdateInput struct { OpportunityID string `json:"opportunityId"` Name *string `json:"name,omitempty"` Amount *float64 `json:"amount,omitempty"` InternalStage *InternalStage `json:"internalStage,omitempty"` ExternalType *string `json:"externalType,omitempty"` ExternalStage *string `json:"externalStage,omitempty"` EstimatedClosedDate *time.Time `json:"estimatedClosedDate,omitempty"` NextSteps *string `json:"nextSteps,omitempty"` LikelihoodRate *int64 `json:"likelihoodRate,omitempty"` MaxAmount *float64 `json:"maxAmount,omitempty"` Currency *Currency `json:"currency,omitempty"` }
type OrgAccountDetails ¶
type OrgAccountDetails struct { RenewalSummary *RenewalSummary `json:"renewalSummary,omitempty"` Onboarding *OnboardingDetails `json:"onboarding,omitempty"` Churned *time.Time `json:"churned,omitempty"` Ltv *float64 `json:"ltv,omitempty"` LtvCurrency *Currency `json:"ltvCurrency,omitempty"` }
type Organization ¶
type Organization struct { Metadata *Metadata `json:"metadata"` AccountDetails *OrgAccountDetails `json:"accountDetails,omitempty"` Contracts []*Contract `json:"contracts,omitempty"` Opportunities []*Opportunity `json:"opportunities,omitempty"` CustomerOsID string `json:"customerOsId"` CustomFields []*CustomField `json:"customFields"` ReferenceID *string `json:"referenceId,omitempty"` Description *string `json:"description,omitempty"` Domains []string `json:"domains"` SlackChannelID *string `json:"slackChannelId,omitempty"` EmployeeGrowthRate *string `json:"employeeGrowthRate,omitempty"` Employees *int64 `json:"employees,omitempty"` Headquarters *string `json:"headquarters,omitempty"` Industry *string `json:"industry,omitempty"` IndustryGroup *string `json:"industryGroup,omitempty"` LastFundingAmount *string `json:"lastFundingAmount,omitempty"` LastFundingRound *FundingRound `json:"lastFundingRound,omitempty"` LastTouchpoint *LastTouchpoint `json:"lastTouchpoint,omitempty"` Locations []*Location `json:"locations"` Logo *string `json:"logo,omitempty"` LogoURL *string `json:"logoUrl,omitempty"` Icon *string `json:"icon,omitempty"` IconURL *string `json:"iconUrl,omitempty"` Market *Market `json:"market,omitempty"` Name string `json:"name"` Notes *string `json:"notes,omitempty"` Owner *User `json:"owner,omitempty"` ParentCompanies []*LinkedOrganization `json:"parentCompanies"` Public *bool `json:"public,omitempty"` SocialMedia []*Social `json:"socialMedia"` Subsidiaries []*LinkedOrganization `json:"subsidiaries"` Tags []*Tag `json:"tags,omitempty"` TargetAudience *string `json:"targetAudience,omitempty"` TimelineEvents []TimelineEvent `json:"timelineEvents"` ValueProposition *string `json:"valueProposition,omitempty"` Website *string `json:"website,omitempty"` YearFounded *int64 `json:"yearFounded,omitempty"` Stage *OrganizationStage `json:"stage,omitempty"` StageLastUpdated *time.Time `json:"stageLastUpdated,omitempty"` Relationship *OrganizationRelationship `json:"relationship,omitempty"` LeadSource *string `json:"leadSource,omitempty"` IcpFit bool `json:"icpFit"` Hide bool `json:"hide"` Contacts *ContactsPage `json:"contacts"` JobRoles []*JobRole `json:"jobRoles"` Emails []*Email `json:"emails"` PhoneNumbers []*PhoneNumber `json:"phoneNumbers"` SuggestedMergeTo []*SuggestedMergeOrganization `json:"suggestedMergeTo"` TimelineEventsTotalCount int64 `json:"timelineEventsTotalCount"` ExternalLinks []*ExternalSystem `json:"externalLinks"` IssueSummaryByStatus []*IssueSummaryByStatus `json:"issueSummaryByStatus"` ContactCount int64 `json:"contactCount"` InboundCommsCount int64 `json:"inboundCommsCount"` OutboundCommsCount int64 `json:"outboundCommsCount"` EnrichDetails *EnrichDetails `json:"enrichDetails"` // Deprecated, use relationship instead IsCustomer *bool `json:"isCustomer,omitempty"` // Deprecated Socials []*Social `json:"socials"` // Deprecated IsPublic *bool `json:"isPublic,omitempty"` // Deprecated Note *string `json:"note,omitempty"` // Deprecated ID string `json:"id"` // Deprecated CreatedAt time.Time `json:"createdAt"` // Deprecated UpdatedAt time.Time `json:"updatedAt"` // Deprecated Source DataSource `json:"source"` // Deprecated SourceOfTruth DataSource `json:"sourceOfTruth"` // Deprecated AppSource string `json:"appSource"` // Deprecated CustomID *string `json:"customId,omitempty"` // Deprecated LastTouchPointAt *time.Time `json:"lastTouchPointAt,omitempty"` // Deprecated LastTouchPointType *LastTouchpointType `json:"lastTouchPointType,omitempty"` // Deprecated LastTouchPointTimelineEventID *string `json:"lastTouchPointTimelineEventId,omitempty"` // Deprecated LastTouchPointTimelineEvent TimelineEvent `json:"lastTouchPointTimelineEvent,omitempty"` // Deprecated SubsidiaryOf []*LinkedOrganization `json:"subsidiaryOf"` SubIndustry *string `json:"subIndustry,omitempty"` }
func (Organization) GetMetadata ¶
func (this Organization) GetMetadata() *Metadata
func (Organization) IsMetadataInterface ¶
func (Organization) IsMetadataInterface()
type OrganizationInput ¶
type OrganizationInput struct { // The name of the organization. // **Required.** CustomID *string `json:"customId,omitempty"` Name *string `json:"name,omitempty"` Description *string `json:"description,omitempty"` Notes *string `json:"notes,omitempty"` Domains []string `json:"domains,omitempty"` Website *string `json:"website,omitempty"` Industry *string `json:"industry,omitempty"` SubIndustry *string `json:"subIndustry,omitempty"` IndustryGroup *string `json:"industryGroup,omitempty"` Public *bool `json:"public,omitempty"` CustomFields []*CustomFieldInput `json:"customFields,omitempty"` Market *Market `json:"market,omitempty"` Logo *string `json:"logo,omitempty"` Icon *string `json:"icon,omitempty"` EmployeeGrowthRate *string `json:"employeeGrowthRate,omitempty"` Headquarters *string `json:"headquarters,omitempty"` YearFounded *int64 `json:"yearFounded,omitempty"` Employees *int64 `json:"employees,omitempty"` SlackChannelID *string `json:"slackChannelId,omitempty"` AppSource *string `json:"appSource,omitempty"` Stage *OrganizationStage `json:"stage,omitempty"` Relationship *OrganizationRelationship `json:"relationship,omitempty"` LeadSource *string `json:"leadSource,omitempty"` // Deprecated, use relationship instead IsCustomer *bool `json:"isCustomer,omitempty"` // Deprecated TemplateID *string `json:"templateId,omitempty"` // Deprecated IsPublic *bool `json:"isPublic,omitempty"` // Deprecated ReferenceID *string `json:"referenceId,omitempty"` // Deprecated Note *string `json:"note,omitempty"` // Deprecated LogoURL *string `json:"logoUrl,omitempty"` }
type OrganizationPage ¶
type OrganizationPage struct { Content []*Organization `json:"content"` TotalPages int `json:"totalPages"` TotalElements int64 `json:"totalElements"` TotalAvailable int64 `json:"totalAvailable"` }
func (OrganizationPage) GetTotalElements ¶
func (this OrganizationPage) GetTotalElements() int64
The total number of elements included in the query response. **Required.**
func (OrganizationPage) GetTotalPages ¶
func (this OrganizationPage) GetTotalPages() int
The total number of pages included in the query response. **Required.**
func (OrganizationPage) IsPages ¶
func (OrganizationPage) IsPages()
type OrganizationParticipant ¶
type OrganizationParticipant struct { OrganizationParticipant *Organization `json:"organizationParticipant"` Type *string `json:"type,omitempty"` }
func (OrganizationParticipant) IsInteractionEventParticipant ¶
func (OrganizationParticipant) IsInteractionEventParticipant()
func (OrganizationParticipant) IsIssueParticipant ¶
func (OrganizationParticipant) IsIssueParticipant()
func (OrganizationParticipant) IsMeetingParticipant ¶
func (OrganizationParticipant) IsMeetingParticipant()
type OrganizationRelationship ¶
type OrganizationRelationship string
const ( OrganizationRelationshipCustomer OrganizationRelationship = "CUSTOMER" OrganizationRelationshipProspect OrganizationRelationship = "PROSPECT" OrganizationRelationshipNotAFit OrganizationRelationship = "NOT_A_FIT" OrganizationRelationshipFormerCustomer OrganizationRelationship = "FORMER_CUSTOMER" )
func (OrganizationRelationship) IsValid ¶
func (e OrganizationRelationship) IsValid() bool
func (OrganizationRelationship) MarshalGQL ¶
func (e OrganizationRelationship) MarshalGQL(w io.Writer)
func (OrganizationRelationship) String ¶
func (e OrganizationRelationship) String() string
func (*OrganizationRelationship) UnmarshalGQL ¶
func (e *OrganizationRelationship) UnmarshalGQL(v any) error
type OrganizationSaveInput ¶
type OrganizationSaveInput struct { ID *string `json:"id,omitempty"` ReferenceID *string `json:"referenceId,omitempty"` Name *string `json:"name,omitempty"` Description *string `json:"description,omitempty"` Notes *string `json:"notes,omitempty"` Domains []string `json:"domains,omitempty"` Website *string `json:"website,omitempty"` Industry *string `json:"industry,omitempty"` SubIndustry *string `json:"subIndustry,omitempty"` IndustryGroup *string `json:"industryGroup,omitempty"` Public *bool `json:"public,omitempty"` Market *Market `json:"market,omitempty"` Employees *int64 `json:"employees,omitempty"` TargetAudience *string `json:"targetAudience,omitempty"` ValueProposition *string `json:"valueProposition,omitempty"` LastFundingRound *FundingRound `json:"lastFundingRound,omitempty"` LastFundingAmount *string `json:"lastFundingAmount,omitempty"` LogoURL *string `json:"logoUrl,omitempty"` IconURL *string `json:"iconUrl,omitempty"` EmployeeGrowthRate *string `json:"employeeGrowthRate,omitempty"` Headquarters *string `json:"headquarters,omitempty"` YearFounded *int64 `json:"yearFounded,omitempty"` SlackChannelID *string `json:"slackChannelId,omitempty"` Stage *OrganizationStage `json:"stage,omitempty"` Relationship *OrganizationRelationship `json:"relationship,omitempty"` LeadSource *string `json:"leadSource,omitempty"` IcpFit *bool `json:"icpFit,omitempty"` OwnerID *string `json:"ownerId,omitempty"` }
type OrganizationSaveInputFromGlobalOrg ¶
type OrganizationSaveInputFromGlobalOrg struct { Stage *OrganizationStage `json:"stage,omitempty"` Relationship *OrganizationRelationship `json:"relationship,omitempty"` }
type OrganizationStage ¶
type OrganizationStage string
const ( OrganizationStageEngaged OrganizationStage = "ENGAGED" OrganizationStageInitialValue OrganizationStage = "INITIAL_VALUE" OrganizationStageLead OrganizationStage = "LEAD" OrganizationStageMaxValue OrganizationStage = "MAX_VALUE" OrganizationStageOnboarding OrganizationStage = "ONBOARDING" OrganizationStagePendingChurn OrganizationStage = "PENDING_CHURN" OrganizationStageReadyToBuy OrganizationStage = "READY_TO_BUY" OrganizationStageRecurringValue OrganizationStage = "RECURRING_VALUE" OrganizationStageTarget OrganizationStage = "TARGET" OrganizationStageTrial OrganizationStage = "TRIAL" OrganizationStageUnqualified OrganizationStage = "UNQUALIFIED" )
func (OrganizationStage) IsValid ¶
func (e OrganizationStage) IsValid() bool
func (OrganizationStage) MarshalGQL ¶
func (e OrganizationStage) MarshalGQL(w io.Writer)
func (OrganizationStage) String ¶
func (e OrganizationStage) String() string
func (*OrganizationStage) UnmarshalGQL ¶
func (e *OrganizationStage) UnmarshalGQL(v any) error
type OrganizationTagInput ¶
type OrganizationTagInput struct { OrganizationID string `json:"organizationId"` Tag *TagIDOrNameInput `json:"tag"` }
type OrganizationUIDetails ¶
type OrganizationUIDetails struct { ID string `json:"id"` CreatedAt time.Time `json:"createdAt"` UpdatedAt time.Time `json:"updatedAt"` Hide bool `json:"hide"` ReferenceID string `json:"referenceId"` CustomerOsID string `json:"customerOsId"` Name string `json:"name"` Notes *string `json:"notes,omitempty"` Description *string `json:"description,omitempty"` Industry *string `json:"industry,omitempty"` IndustryCode *string `json:"industryCode,omitempty"` IndustryName *string `json:"industryName,omitempty"` Market *Market `json:"market,omitempty"` Website *string `json:"website,omitempty"` LogoURL *string `json:"logoUrl,omitempty"` IconURL *string `json:"iconUrl,omitempty"` Stage *OrganizationStage `json:"stage,omitempty"` Relationship *OrganizationRelationship `json:"relationship,omitempty"` LastFundingRound *FundingRound `json:"lastFundingRound,omitempty"` LeadSource *string `json:"leadSource,omitempty"` ValueProposition *string `json:"valueProposition,omitempty"` SlackChannelID *string `json:"slackChannelId,omitempty"` Public *bool `json:"public,omitempty"` Employees *int64 `json:"employees,omitempty"` YearFounded *int64 `json:"yearFounded,omitempty"` EnrichedAt *time.Time `json:"enrichedAt,omitempty"` EnrichedFailedAt *time.Time `json:"enrichedFailedAt,omitempty"` EnrichedRequestedAt *time.Time `json:"enrichedRequestedAt,omitempty"` Ltv *float64 `json:"ltv,omitempty"` ChurnedAt *time.Time `json:"churnedAt,omitempty"` RenewalSummaryArrForecast *float64 `json:"renewalSummaryArrForecast,omitempty"` RenewalSummaryMaxArrForecast *float64 `json:"renewalSummaryMaxArrForecast,omitempty"` RenewalSummaryRenewalLikelihood *OpportunityRenewalLikelihood `json:"renewalSummaryRenewalLikelihood,omitempty"` RenewalSummaryNextRenewalAt *time.Time `json:"renewalSummaryNextRenewalAt,omitempty"` OnboardingStatus OnboardingStatus `json:"onboardingStatus"` OnboardingStatusUpdatedAt *time.Time `json:"onboardingStatusUpdatedAt,omitempty"` OnboardingComments *string `json:"onboardingComments,omitempty"` LastTouchPointAt *time.Time `json:"lastTouchPointAt,omitempty"` LastTouchPointType *LastTouchpointType `json:"lastTouchPointType,omitempty"` Domains []string `json:"domains"` DomainsDetails []*Domain `json:"domainsDetails"` Contracts []string `json:"contracts"` Contacts []string `json:"contacts"` ContactCount *int `json:"contactCount,omitempty"` SocialMedia []*Social `json:"socialMedia"` Tags []*Tag `json:"tags"` Locations []*Location `json:"locations"` Owner *User `json:"owner,omitempty"` ParentID *string `json:"parentId,omitempty"` ParentName *string `json:"parentName,omitempty"` Subsidiaries []string `json:"subsidiaries"` }
type OrganizationUpdateInput ¶
type OrganizationUpdateInput struct { ID string `json:"id"` CustomID *string `json:"customId,omitempty"` // Deprecated Patch *bool `json:"patch,omitempty"` Name *string `json:"name,omitempty"` Description *string `json:"description,omitempty"` Notes *string `json:"notes,omitempty"` Website *string `json:"website,omitempty"` Industry *string `json:"industry,omitempty"` SubIndustry *string `json:"subIndustry,omitempty"` IndustryGroup *string `json:"industryGroup,omitempty"` Public *bool `json:"public,omitempty"` Market *Market `json:"market,omitempty"` Employees *int64 `json:"employees,omitempty"` TargetAudience *string `json:"targetAudience,omitempty"` ValueProposition *string `json:"valueProposition,omitempty"` LastFundingRound *FundingRound `json:"lastFundingRound,omitempty"` LastFundingAmount *string `json:"lastFundingAmount,omitempty"` Logo *string `json:"logo,omitempty"` Icon *string `json:"icon,omitempty"` EmployeeGrowthRate *string `json:"employeeGrowthRate,omitempty"` Headquarters *string `json:"headquarters,omitempty"` YearFounded *int64 `json:"yearFounded,omitempty"` SlackChannelID *string `json:"slackChannelId,omitempty"` Stage *OrganizationStage `json:"stage,omitempty"` Relationship *OrganizationRelationship `json:"relationship,omitempty"` IcpFit *bool `json:"icpFit,omitempty"` // Deprecated, use relationship instead IsCustomer *bool `json:"isCustomer,omitempty"` // Deprecated, use public instead IsPublic *bool `json:"isPublic,omitempty"` // Deprecated, use logo instead LogoURL *string `json:"logoUrl,omitempty"` // Deprecated Domains []string `json:"domains,omitempty"` // Deprecatedm, use notes instead Note *string `json:"note,omitempty"` // Deprecated, use customId instead ReferenceID *string `json:"referenceId,omitempty"` }
type OrganizationWithJobRole ¶
type OrganizationWithJobRole struct { Organization *Organization `json:"organization"` JobRole *JobRole `json:"jobRole"` }
type PageView ¶
type PageView struct { ID string `json:"id"` StartedAt time.Time `json:"startedAt"` EndedAt time.Time `json:"endedAt"` PageTitle string `json:"pageTitle"` PageURL string `json:"pageUrl"` Application string `json:"application"` SessionID string `json:"sessionId"` OrderInSession int64 `json:"orderInSession"` EngagedTime int64 `json:"engagedTime"` Source DataSource `json:"source"` SourceOfTruth DataSource `json:"sourceOfTruth"` AppSource string `json:"appSource"` }
func (PageView) GetAppSource ¶
func (PageView) GetSource ¶
func (this PageView) GetSource() DataSource
func (PageView) GetSourceOfTruth ¶
func (this PageView) GetSourceOfTruth() DataSource
func (PageView) IsSourceFields ¶
func (PageView) IsSourceFields()
func (PageView) IsTimelineEvent ¶
func (PageView) IsTimelineEvent()
type Pages ¶
type Pages interface { IsPages() // The total number of pages included in the query response. // **Required.** GetTotalPages() int // The total number of elements included in the query response. // **Required.** GetTotalElements() int64 }
Describes the number of pages and total elements included in a query response. **A `response` object.**
type Pagination ¶
type Pagination struct { // The results page to return in the response. // **Required.** Page int `json:"page"` // The maximum number of results in the response. // **Required.** Limit int `json:"limit"` }
If provided as part of the request, results will be filtered down to the `page` and `limit` specified.
type PersonTitle ¶
type PersonTitle string
The honorific title of an individual. **A `response` object.**
const ( // For men, regardless of marital status. PersonTitleMr PersonTitle = "MR" // For married women. PersonTitleMrs PersonTitle = "MRS" // For girls, unmarried women, and married women who continue to use their maiden name. PersonTitleMiss PersonTitle = "MISS" // For women, regardless of marital status, or when marital status is unknown. PersonTitleMs PersonTitle = "MS" // For the holder of a doctoral degree. PersonTitleDr PersonTitle = "DR" )
func (PersonTitle) IsValid ¶
func (e PersonTitle) IsValid() bool
func (PersonTitle) MarshalGQL ¶
func (e PersonTitle) MarshalGQL(w io.Writer)
func (PersonTitle) String ¶
func (e PersonTitle) String() string
func (*PersonTitle) UnmarshalGQL ¶
func (e *PersonTitle) UnmarshalGQL(v any) error
type PhoneNumber ¶
type PhoneNumber struct { ID string `json:"id"` // The phone number in e164 format. E164 *string `json:"e164,omitempty"` RawPhoneNumber *string `json:"rawPhoneNumber,omitempty"` Validated *bool `json:"validated,omitempty"` Country *Country `json:"country,omitempty"` Label *PhoneNumberLabel `json:"label,omitempty"` Primary bool `json:"primary"` CreatedAt time.Time `json:"createdAt"` UpdatedAt time.Time `json:"updatedAt"` Source DataSource `json:"source"` AppSource *string `json:"appSource,omitempty"` Users []*User `json:"users"` Contacts []*Contact `json:"contacts"` Organizations []*Organization `json:"organizations"` }
type PhoneNumberInput ¶
type PhoneNumberInput struct { PhoneNumber string `json:"phoneNumber"` CountryCodeA2 *string `json:"countryCodeA2,omitempty"` Label *PhoneNumberLabel `json:"label,omitempty"` Primary *bool `json:"primary,omitempty"` }
type PhoneNumberLabel ¶
type PhoneNumberLabel string
const ( PhoneNumberLabelMain PhoneNumberLabel = "MAIN" PhoneNumberLabelWork PhoneNumberLabel = "WORK" PhoneNumberLabelHome PhoneNumberLabel = "HOME" PhoneNumberLabelMobile PhoneNumberLabel = "MOBILE" PhoneNumberLabelOther PhoneNumberLabel = "OTHER" )
func (PhoneNumberLabel) IsValid ¶
func (e PhoneNumberLabel) IsValid() bool
func (PhoneNumberLabel) MarshalGQL ¶
func (e PhoneNumberLabel) MarshalGQL(w io.Writer)
func (PhoneNumberLabel) String ¶
func (e PhoneNumberLabel) String() string
func (*PhoneNumberLabel) UnmarshalGQL ¶
func (e *PhoneNumberLabel) UnmarshalGQL(v any) error
type PhoneNumberParticipant ¶
type PhoneNumberParticipant struct { PhoneNumberParticipant *PhoneNumber `json:"phoneNumberParticipant"` Type *string `json:"type,omitempty"` }
func (PhoneNumberParticipant) IsInteractionEventParticipant ¶
func (PhoneNumberParticipant) IsInteractionEventParticipant()
func (PhoneNumberParticipant) IsInteractionSessionParticipant ¶
func (PhoneNumberParticipant) IsInteractionSessionParticipant()
type PhoneNumberRelationUpdateInput ¶
type PhoneNumberRelationUpdateInput struct { ID string `json:"id"` Label *PhoneNumberLabel `json:"label,omitempty"` Primary *bool `json:"primary,omitempty"` }
type PhoneNumberUpdateInput ¶
type Reminder ¶
type Reminder struct { Metadata *Metadata `json:"metadata"` Content *string `json:"content,omitempty"` Owner *User `json:"owner,omitempty"` DueDate *time.Time `json:"dueDate,omitempty"` Dismissed *bool `json:"dismissed,omitempty"` }
func (Reminder) GetMetadata ¶
func (Reminder) IsMetadataInterface ¶
func (Reminder) IsMetadataInterface()
type ReminderInput ¶
type ReminderUpdateInput ¶
type RemoveTagInput ¶
type RemoveTagInput struct { EntityID string `json:"entityId"` EntityType EntityType `json:"entityType"` TagID string `json:"tagId"` }
type RenewalRecord ¶
type RenewalRecord struct { Organization *Organization `json:"organization"` Contract *Contract `json:"contract"` Opportunity *Opportunity `json:"opportunity,omitempty"` }
type RenewalSummary ¶
type RenewalSummary struct { ArrForecast *float64 `json:"arrForecast,omitempty"` MaxArrForecast *float64 `json:"maxArrForecast,omitempty"` RenewalLikelihood *OpportunityRenewalLikelihood `json:"renewalLikelihood,omitempty"` NextRenewalDate *time.Time `json:"nextRenewalDate,omitempty"` }
type RenewalsPage ¶
type RenewalsPage struct { Content []*RenewalRecord `json:"content"` TotalPages int `json:"totalPages"` TotalElements int64 `json:"totalElements"` TotalAvailable int64 `json:"totalAvailable"` }
func (RenewalsPage) GetTotalElements ¶
func (this RenewalsPage) GetTotalElements() int64
The total number of elements included in the query response. **Required.**
func (RenewalsPage) GetTotalPages ¶
func (this RenewalsPage) GetTotalPages() int
The total number of pages included in the query response. **Required.**
func (RenewalsPage) IsPages ¶
func (RenewalsPage) IsPages()
type Result ¶
type Result struct { // The result of the GraphQL call. // **Required.** Result bool `json:"result"` }
Describes the success or failure of the GraphQL call. **A `return` object**
type ServiceLineItem ¶
type ServiceLineItem struct { Metadata *Metadata `json:"metadata"` BillingCycle BilledType `json:"billingCycle"` Comments string `json:"comments"` Description string `json:"description"` ParentID string `json:"parentId"` Price float64 `json:"price"` Quantity int64 `json:"quantity"` ServiceEnded *time.Time `json:"serviceEnded,omitempty"` ServiceStarted time.Time `json:"serviceStarted"` Tax *Tax `json:"tax"` CreatedBy *User `json:"createdBy,omitempty"` ExternalLinks []*ExternalSystem `json:"externalLinks"` Closed bool `json:"closed"` Paused bool `json:"paused"` }
func (ServiceLineItem) GetMetadata ¶
func (this ServiceLineItem) GetMetadata() *Metadata
func (ServiceLineItem) IsMetadataInterface ¶
func (ServiceLineItem) IsMetadataInterface()
type ServiceLineItemBulkUpdateInput ¶
type ServiceLineItemBulkUpdateInput struct { ServiceLineItems []*ServiceLineItemBulkUpdateItem `json:"serviceLineItems"` ContractID string `json:"contractId"` InvoiceNote *string `json:"invoiceNote,omitempty"` }
type ServiceLineItemBulkUpdateItem ¶
type ServiceLineItemBulkUpdateItem struct { ServiceLineItemID *string `json:"serviceLineItemId,omitempty"` Name *string `json:"name,omitempty"` Billed *BilledType `json:"billed,omitempty"` Price *float64 `json:"price,omitempty"` Quantity *int64 `json:"quantity,omitempty"` VatRate *float64 `json:"vatRate,omitempty"` Comments *string `json:"comments,omitempty"` IsRetroactiveCorrection *bool `json:"isRetroactiveCorrection,omitempty"` ServiceStarted *time.Time `json:"serviceStarted,omitempty"` CloseVersion *bool `json:"closeVersion,omitempty"` NewVersion *bool `json:"newVersion,omitempty"` }
type ServiceLineItemInput ¶
type ServiceLineItemInput struct { ContractID string `json:"contractId"` Description *string `json:"description,omitempty"` BillingCycle *BilledType `json:"billingCycle,omitempty"` Price *float64 `json:"price,omitempty"` Quantity *int64 `json:"quantity,omitempty"` Tax *TaxInput `json:"tax,omitempty"` AppSource *string `json:"appSource,omitempty"` ServiceStarted *time.Time `json:"serviceStarted,omitempty"` ServiceEnded *time.Time `json:"serviceEnded,omitempty"` }
type ServiceLineItemNewVersionInput ¶
type ServiceLineItemNewVersionInput struct { ID *string `json:"id,omitempty"` Description *string `json:"description,omitempty"` Price *float64 `json:"price,omitempty"` Quantity *int64 `json:"quantity,omitempty"` Tax *TaxInput `json:"tax,omitempty"` Comments *string `json:"comments,omitempty"` AppSource *string `json:"appSource,omitempty"` ServiceStarted *time.Time `json:"serviceStarted,omitempty"` }
type ServiceLineItemUpdateInput ¶
type ServiceLineItemUpdateInput struct { ID *string `json:"id,omitempty"` Description *string `json:"description,omitempty"` // Deprecated: billing cycle is not updatable. BillingCycle *BilledType `json:"billingCycle,omitempty"` Price *float64 `json:"price,omitempty"` Quantity *int64 `json:"quantity,omitempty"` Tax *TaxInput `json:"tax,omitempty"` Comments *string `json:"comments,omitempty"` AppSource *string `json:"appSource,omitempty"` IsRetroactiveCorrection *bool `json:"isRetroactiveCorrection,omitempty"` ServiceStarted *time.Time `json:"serviceStarted,omitempty"` ServiceEnded *time.Time `json:"serviceEnded,omitempty"` }
type SlackChannel ¶
type SlackChannel struct { Metadata *Metadata `json:"metadata"` Organization *Organization `json:"organization,omitempty"` ChannelID string `json:"channelId"` ChannelName string `json:"channelName"` }
type SlackChannelPage ¶
type SlackChannelPage struct { Content []*SlackChannel `json:"content"` TotalPages int `json:"totalPages"` TotalElements int64 `json:"totalElements"` TotalAvailable int64 `json:"totalAvailable"` }
func (SlackChannelPage) GetTotalElements ¶
func (this SlackChannelPage) GetTotalElements() int64
The total number of elements included in the query response. **Required.**
func (SlackChannelPage) GetTotalPages ¶
func (this SlackChannelPage) GetTotalPages() int
The total number of pages included in the query response. **Required.**
func (SlackChannelPage) IsPages ¶
func (SlackChannelPage) IsPages()
type Social ¶
type Social struct { Metadata *Metadata `json:"metadata"` ID string `json:"id"` URL string `json:"url"` Alias string `json:"alias"` FollowersCount int64 `json:"followersCount"` ExternalID string `json:"externalId"` CreatedAt time.Time `json:"createdAt"` UpdatedAt time.Time `json:"updatedAt"` Source DataSource `json:"source"` SourceOfTruth DataSource `json:"sourceOfTruth"` AppSource string `json:"appSource"` }
func (Social) GetAppSource ¶
func (Social) GetSource ¶
func (this Social) GetSource() DataSource
func (Social) GetSourceOfTruth ¶
func (this Social) GetSourceOfTruth() DataSource
func (Social) IsSourceFields ¶
func (Social) IsSourceFields()
type SocialInput ¶
type SocialUpdateInput ¶
type SourceFields ¶
type SourceFields interface { IsNode() IsSourceFields() GetID() string GetSource() DataSource GetSourceOfTruth() DataSource GetAppSource() string }
type SourceFieldsInterface ¶
type SourceFieldsInterface interface { IsSourceFieldsInterface() GetSource() DataSource GetSourceOfTruth() DataSource GetAppSource() string }
type SuggestedMergeOrganization ¶
type SuggestedMergeOrganization struct { Organization *Organization `json:"organization"` Confidence *float64 `json:"confidence,omitempty"` SuggestedAt *time.Time `json:"suggestedAt,omitempty"` SuggestedBy *string `json:"suggestedBy,omitempty"` }
type TableIDType ¶
type TableIDType string
const ( TableIDTypeOrganizations TableIDType = "ORGANIZATIONS" TableIDTypeCustomers TableIDType = "CUSTOMERS" TableIDTypeTargets TableIDType = "TARGETS" TableIDTypeUpcomingInvoices TableIDType = "UPCOMING_INVOICES" TableIDTypePastInvoices TableIDType = "PAST_INVOICES" TableIDTypeContacts TableIDType = "CONTACTS" TableIDTypeContactsForTargetOrganizations TableIDType = "CONTACTS_FOR_TARGET_ORGANIZATIONS" TableIDTypeOpportunities TableIDType = "OPPORTUNITIES" TableIDTypeOpportunitiesRecords TableIDType = "OPPORTUNITIES_RECORDS" TableIDTypeContracts TableIDType = "CONTRACTS" TableIDTypeFlowActions TableIDType = "FLOW_ACTIONS" TableIDTypeFlowContacts TableIDType = "FLOW_CONTACTS" )
func (TableIDType) IsValid ¶
func (e TableIDType) IsValid() bool
func (TableIDType) MarshalGQL ¶
func (e TableIDType) MarshalGQL(w io.Writer)
func (TableIDType) String ¶
func (e TableIDType) String() string
func (*TableIDType) UnmarshalGQL ¶
func (e *TableIDType) UnmarshalGQL(v any) error
type TableViewDef ¶
type TableViewDef struct { ID string `json:"id"` Name string `json:"name"` TableType TableViewType `json:"tableType"` TableID TableIDType `json:"tableId"` Order int `json:"order"` Icon string `json:"icon"` Columns []*ColumnView `json:"columns"` Filters string `json:"filters"` DefaultFilters string `json:"defaultFilters"` Sorting string `json:"sorting"` IsPreset bool `json:"isPreset"` CreatedAt time.Time `json:"createdAt"` UpdatedAt time.Time `json:"updatedAt"` }
func (TableViewDef) GetID ¶
func (this TableViewDef) GetID() string
func (TableViewDef) IsNode ¶
func (TableViewDef) IsNode()
type TableViewDefCreateInput ¶
type TableViewDefCreateInput struct { TableType TableViewType `json:"tableType"` TableID TableIDType `json:"tableId"` Name string `json:"name"` Order int `json:"order"` Icon string `json:"icon"` Columns []*ColumnViewInput `json:"columns"` Filters string `json:"filters"` DefaultFilters string `json:"defaultFilters"` Sorting string `json:"sorting"` IsPreset bool `json:"isPreset"` }
type TableViewDefUpdateInput ¶
type TableViewDefUpdateInput struct { ID string `json:"id"` Name string `json:"name"` Order int `json:"order"` Icon string `json:"icon"` Columns []*ColumnViewInput `json:"columns"` Filters string `json:"filters"` DefaultFilters *string `json:"defaultFilters,omitempty"` Sorting string `json:"sorting"` }
type TableViewType ¶
type TableViewType string
const ( TableViewTypeOrganizations TableViewType = "ORGANIZATIONS" TableViewTypeInvoices TableViewType = "INVOICES" TableViewTypeContacts TableViewType = "CONTACTS" TableViewTypeOpportunities TableViewType = "OPPORTUNITIES" TableViewTypeContracts TableViewType = "CONTRACTS" TableViewTypeFlow TableViewType = "FLOW" )
func (TableViewType) IsValid ¶
func (e TableViewType) IsValid() bool
func (TableViewType) MarshalGQL ¶
func (e TableViewType) MarshalGQL(w io.Writer)
func (TableViewType) String ¶
func (e TableViewType) String() string
func (*TableViewType) UnmarshalGQL ¶
func (e *TableViewType) UnmarshalGQL(v any) error
type Tag ¶
type Tag struct { Metadata *Metadata `json:"metadata"` Name string `json:"name"` EntityType EntityType `json:"entityType"` ColorCode string `json:"colorCode"` ID *string `json:"id,omitempty"` CreatedAt *time.Time `json:"createdAt,omitempty"` UpdatedAt *time.Time `json:"updatedAt,omitempty"` Source *DataSource `json:"source,omitempty"` AppSource *string `json:"appSource,omitempty"` }
type TagIDOrNameInput ¶
type TagIDOrNameInput struct { ID *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` EntityType *EntityType `json:"entityType,omitempty"` }
type TagInput ¶
type TagInput struct { Name string `json:"name"` AppSource *string `json:"appSource,omitempty"` EntityType *EntityType `json:"entityType,omitempty"` ColorCode *string `json:"colorCode,omitempty"` }
type TagUpdateInput ¶
type TenantBillableInfo ¶
type TenantBillingProfile ¶
type TenantBillingProfile 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"` // Deprecated Email string `json:"email"` Phone string `json:"phone"` AddressLine1 string `json:"addressLine1"` AddressLine2 string `json:"addressLine2"` AddressLine3 string `json:"addressLine3"` Locality string `json:"locality"` Country string `json:"country"` Region string `json:"region"` Zip string `json:"zip"` LegalName string `json:"legalName"` // Deprecated DomesticPaymentsBankInfo *string `json:"domesticPaymentsBankInfo,omitempty"` // Deprecated InternationalPaymentsBankInfo *string `json:"internationalPaymentsBankInfo,omitempty"` VatNumber string `json:"vatNumber"` SendInvoicesFrom string `json:"sendInvoicesFrom"` SendInvoicesBcc string `json:"sendInvoicesBcc"` // Deprecated CanPayWithCard *bool `json:"canPayWithCard,omitempty"` // Deprecated CanPayWithDirectDebitSepa *bool `json:"canPayWithDirectDebitSEPA,omitempty"` // Deprecated CanPayWithDirectDebitAch *bool `json:"canPayWithDirectDebitACH,omitempty"` // Deprecated CanPayWithDirectDebitBacs *bool `json:"canPayWithDirectDebitBacs,omitempty"` CanPayWithBankTransfer bool `json:"canPayWithBankTransfer"` CanPayWithPigeon bool `json:"canPayWithPigeon"` Check bool `json:"check"` }
func (TenantBillingProfile) GetAppSource ¶
func (this TenantBillingProfile) GetAppSource() string
func (TenantBillingProfile) GetID ¶
func (this TenantBillingProfile) GetID() string
func (TenantBillingProfile) GetSource ¶
func (this TenantBillingProfile) GetSource() DataSource
func (TenantBillingProfile) GetSourceOfTruth ¶
func (this TenantBillingProfile) GetSourceOfTruth() DataSource
func (TenantBillingProfile) IsNode ¶
func (TenantBillingProfile) IsNode()
func (TenantBillingProfile) IsSourceFields ¶
func (TenantBillingProfile) IsSourceFields()
type TenantBillingProfileInput ¶
type TenantBillingProfileInput struct { // Deprecated Email *string `json:"email,omitempty"` Phone *string `json:"phone,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"` LegalName *string `json:"legalName,omitempty"` // Deprecated DomesticPaymentsBankInfo *string `json:"domesticPaymentsBankInfo,omitempty"` // Deprecated InternationalPaymentsBankInfo *string `json:"internationalPaymentsBankInfo,omitempty"` VatNumber string `json:"vatNumber"` SendInvoicesFrom string `json:"sendInvoicesFrom"` SendInvoicesBcc *string `json:"sendInvoicesBcc,omitempty"` // Deprecated CanPayWithCard *bool `json:"canPayWithCard,omitempty"` // Deprecated CanPayWithDirectDebitSepa *bool `json:"canPayWithDirectDebitSEPA,omitempty"` // Deprecated CanPayWithDirectDebitAch *bool `json:"canPayWithDirectDebitACH,omitempty"` // Deprecated CanPayWithDirectDebitBacs *bool `json:"canPayWithDirectDebitBacs,omitempty"` CanPayWithBankTransfer bool `json:"canPayWithBankTransfer"` CanPayWithPigeon bool `json:"canPayWithPigeon"` Check bool `json:"check"` }
type TenantBillingProfileUpdateInput ¶
type TenantBillingProfileUpdateInput struct { ID string `json:"id"` Patch *bool `json:"patch,omitempty"` // Deprecated Email *string `json:"email,omitempty"` Phone *string `json:"phone,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"` LegalName *string `json:"legalName,omitempty"` // Deprecated DomesticPaymentsBankInfo *string `json:"domesticPaymentsBankInfo,omitempty"` // Deprecated InternationalPaymentsBankInfo *string `json:"internationalPaymentsBankInfo,omitempty"` VatNumber *string `json:"vatNumber,omitempty"` SendInvoicesFrom *string `json:"sendInvoicesFrom,omitempty"` SendInvoicesBcc *string `json:"sendInvoicesBcc,omitempty"` // Deprecated CanPayWithCard *bool `json:"canPayWithCard,omitempty"` // Deprecated CanPayWithDirectDebitSepa *bool `json:"canPayWithDirectDebitSEPA,omitempty"` // Deprecated CanPayWithDirectDebitAch *bool `json:"canPayWithDirectDebitACH,omitempty"` // Deprecated CanPayWithDirectDebitBacs *bool `json:"canPayWithDirectDebitBacs,omitempty"` CanPayWithBankTransfer *bool `json:"canPayWithBankTransfer,omitempty"` CanPayWithPigeon *bool `json:"canPayWithPigeon,omitempty"` Check *bool `json:"check,omitempty"` }
type TenantInput ¶
type TenantSettings ¶
type TenantSettings struct { LogoRepositoryFileID *string `json:"logoRepositoryFileId,omitempty"` BaseCurrency *Currency `json:"baseCurrency,omitempty"` BillingEnabled bool `json:"billingEnabled"` OpportunityStages []*TenantSettingsOpportunityStageConfiguration `json:"opportunityStages"` WorkspaceLogo *string `json:"workspaceLogo,omitempty"` WorkspaceName *string `json:"workspaceName,omitempty"` // Deprecated LogoURL string `json:"logoUrl"` }
type TenantSettingsInput ¶
type TenantSettingsInput struct { // Deprecated Patch *bool `json:"patch,omitempty"` LogoURL *string `json:"logoUrl,omitempty"` LogoRepositoryFileID *string `json:"logoRepositoryFileId,omitempty"` BaseCurrency *Currency `json:"baseCurrency,omitempty"` WorkspaceLogo *string `json:"workspaceLogo,omitempty"` WorkspaceName *string `json:"workspaceName,omitempty"` BillingEnabled *bool `json:"billingEnabled,omitempty"` }
type TimelineEvent ¶
type TimelineEvent interface {
IsTimelineEvent()
}
type TimelineEventType ¶
type TimelineEventType string
const ( TimelineEventTypePageView TimelineEventType = "PAGE_VIEW" TimelineEventTypeInteractionSession TimelineEventType = "INTERACTION_SESSION" TimelineEventTypeNote TimelineEventType = "NOTE" TimelineEventTypeInteractionEvent TimelineEventType = "INTERACTION_EVENT" TimelineEventTypeAnalysis TimelineEventType = "ANALYSIS" TimelineEventTypeIssue TimelineEventType = "ISSUE" TimelineEventTypeMeeting TimelineEventType = "MEETING" TimelineEventTypeAction TimelineEventType = "ACTION" TimelineEventTypeLogEntry TimelineEventType = "LOG_ENTRY" TimelineEventTypeOrder TimelineEventType = "ORDER" TimelineEventTypeMarkdownEvent TimelineEventType = "MARKDOWN_EVENT" )
func (TimelineEventType) IsValid ¶
func (e TimelineEventType) IsValid() bool
func (TimelineEventType) MarshalGQL ¶
func (e TimelineEventType) MarshalGQL(w io.Writer)
func (TimelineEventType) String ¶
func (e TimelineEventType) String() string
func (*TimelineEventType) UnmarshalGQL ¶
func (e *TimelineEventType) UnmarshalGQL(v any) error
type User ¶
type User struct { // The unique ID associated with the customerOS user. // **Required** ID string `json:"id"` // The first name of the customerOS user. // **Required** FirstName string `json:"firstName"` // The last name of the customerOS user. // **Required** LastName string `json:"lastName"` Name *string `json:"name,omitempty"` Internal bool `json:"internal"` Bot bool `json:"bot"` Test bool `json:"test"` Timezone *string `json:"timezone,omitempty"` ProfilePhotoURL *string `json:"profilePhotoUrl,omitempty"` Roles []Role `json:"roles"` // All email addresses associated with a user in customerOS. // **Required. If no values it returns an empty array.** Emails []*Email `json:"emails,omitempty"` PhoneNumbers []*PhoneNumber `json:"phoneNumbers"` Mailboxes []string `json:"mailboxes"` MailboxesV2 []*Mailbox `json:"mailboxesV2"` HasLinkedInToken bool `json:"hasLinkedInToken"` Onboarding *UserOnboardingDetails `json:"onboarding"` // Timestamp of user creation. // **Required** CreatedAt time.Time `json:"createdAt"` UpdatedAt time.Time `json:"updatedAt"` JobRoles []*JobRole `json:"jobRoles"` Calendars []*Calendar `json:"calendars"` Source DataSource `json:"source"` SourceOfTruth DataSource `json:"sourceOfTruth"` AppSource string `json:"appSource"` }
Describes the User of customerOS. A user is the person who logs into the Openline platform. **A `return` object**
type UserInput ¶
type UserInput struct { // The first name of the customerOS user. // **Required** FirstName string `json:"firstName"` // The last name of the customerOS user. // **Required** LastName string `json:"lastName"` Name *string `json:"name,omitempty"` Timezone *string `json:"timezone,omitempty"` ProfilePhotoURL *string `json:"profilePhotoUrl,omitempty"` // The email address of the customerOS user. // **Required** Email *EmailInput `json:"email"` // The name of the app performing the create. // **Optional** AppSource *string `json:"appSource,omitempty"` // The Job Roles of the user. // **Optional** JobRoles []*JobRoleInput `json:"jobRoles,omitempty"` }
Describes the User of customerOS. A user is the person who logs into the Openline platform. **A `create` object.**
type UserOnboardingDetails ¶
type UserOnboardingDetails struct { ShowOnboardingPage bool `json:"showOnboardingPage"` OnboardingInboundStepCompleted bool `json:"onboardingInboundStepCompleted"` OnboardingOutboundStepCompleted bool `json:"onboardingOutboundStepCompleted"` OnboardingCrmStepCompleted bool `json:"onboardingCrmStepCompleted"` OnboardingMailstackStepCompleted bool `json:"onboardingMailstackStepCompleted"` }
type UserOnboardingDetailsInput ¶
type UserOnboardingDetailsInput struct { ID string `json:"id"` 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"` }
type UserPage ¶
type UserPage struct { // A `User` entity in customerOS. // **Required. If no values it returns an empty array.** Content []*User `json:"content"` // Total number of pages in the query response. // **Required.** TotalPages int `json:"totalPages"` // Total number of elements in the query response. // **Required.** TotalElements int64 `json:"totalElements"` }
Specifies how many pages of `User` information has been returned in the query response. **A `return` object.**
func (UserPage) GetTotalElements ¶
The total number of elements included in the query response. **Required.**
func (UserPage) GetTotalPages ¶
The total number of pages included in the query response. **Required.**
type UserParticipant ¶
type UserParticipant struct { UserParticipant *User `json:"userParticipant"` Type *string `json:"type,omitempty"` }
func (UserParticipant) IsInteractionEventParticipant ¶
func (UserParticipant) IsInteractionEventParticipant()
func (UserParticipant) IsInteractionSessionParticipant ¶
func (UserParticipant) IsInteractionSessionParticipant()
func (UserParticipant) IsIssueParticipant ¶
func (UserParticipant) IsIssueParticipant()
func (UserParticipant) IsMeetingParticipant ¶
func (UserParticipant) IsMeetingParticipant()
type UserUpdateInput ¶
type UserUpdateInput struct { ID string `json:"id"` // The first name of the customerOS user. // **Required** FirstName string `json:"firstName"` // The last name of the customerOS user. // **Required** LastName string `json:"lastName"` Name *string `json:"name,omitempty"` Timezone *string `json:"timezone,omitempty"` ProfilePhotoURL *string `json:"profilePhotoUrl,omitempty"` }
type WebsiteCheckDetails ¶
type WebsiteCheckDetails struct { Accepted bool `json:"accepted"` Primary bool `json:"primary"` Domain string `json:"domain"` PrimaryDomain string `json:"primaryDomain"` GlobalOrganization *GlobalOrganization `json:"globalOrganization,omitempty"` }