model

package
v0.0.0-...-2421a53 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 8, 2024 License: Apache-2.0 Imports: 8 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

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 ActionItem struct {
	ID        string     `json:"id"`
	CreatedAt time.Time  `json:"createdAt"`
	Content   string     `json:"content"`
	Source    DataSource `json:"source"`
	AppSource string     `json:"appSource"`
}

type ActionType

type ActionType string
const (
	ActionTypeCreated                        ActionType = "CREATED"
	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"
	// 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 interface{}) error

type Analysis

type Analysis struct {
	ID            string            `json:"id"`
	CreatedAt     time.Time         `json:"createdAt"`
	Content       *string           `json:"content,omitempty"`
	ContentType   *string           `json:"contentType,omitempty"`
	AnalysisType  *string           `json:"analysisType,omitempty"`
	Describes     []DescriptionNode `json:"describes"`
	Source        DataSource        `json:"source"`
	SourceOfTruth DataSource        `json:"sourceOfTruth"`
	AppSource     string            `json:"appSource"`
}

func (Analysis) GetID

func (this Analysis) GetID() string

func (Analysis) IsNode

func (Analysis) IsNode()

func (Analysis) IsTimelineEvent

func (Analysis) IsTimelineEvent()

type AnalysisDescriptionInput

type AnalysisDescriptionInput struct {
	InteractionEventID   *string `json:"interactionEventId,omitempty"`
	InteractionSessionID *string `json:"interactionSessionId,omitempty"`
	MeetingID            *string `json:"meetingId,omitempty"`
}

type AnalysisInput

type AnalysisInput struct {
	Content      *string                     `json:"content,omitempty"`
	ContentType  *string                     `json:"contentType,omitempty"`
	AnalysisType *string                     `json:"analysisType,omitempty"`
	Describes    []*AnalysisDescriptionInput `json:"describes"`
	AppSource    string                      `json:"appSource"`
}

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 interface{}) 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 BillingProfileInput struct {
	OrganizationID string     `json:"organizationId"`
	LegalName      *string    `json:"legalName,omitempty"`
	TaxID          *string    `json:"taxId,omitempty"`
	CreatedAt      *time.Time `json:"createdAt,omitempty"`
}

type BillingProfileLinkEmailInput

type BillingProfileLinkEmailInput struct {
	OrganizationID   string `json:"organizationId"`
	BillingProfileID string `json:"billingProfileId"`
	EmailID          string `json:"emailId"`
	Primary          *bool  `json:"primary,omitempty"`
}

type BillingProfileLinkLocationInput

type BillingProfileLinkLocationInput struct {
	OrganizationID   string `json:"organizationId"`
	BillingProfileID string `json:"billingProfileId"`
	LocationID       string `json:"locationId"`
}

type BillingProfileUpdateInput

type BillingProfileUpdateInput struct {
	OrganizationID   string     `json:"organizationId"`
	BillingProfileID string     `json:"billingProfileId"`
	LegalName        *string    `json:"legalName,omitempty"`
	TaxID            *string    `json:"taxId,omitempty"`
	UpdatedAt        *time.Time `json:"updatedAt,omitempty"`
}

type CalculationType

type CalculationType string
const (
	CalculationTypeRevenueShare CalculationType = "REVENUE_SHARE"
)

func (CalculationType) IsValid

func (e CalculationType) IsValid() bool

func (CalculationType) MarshalGQL

func (e CalculationType) MarshalGQL(w io.Writer)

func (CalculationType) String

func (e CalculationType) String() string

func (*CalculationType) UnmarshalGQL

func (e *CalculationType) UnmarshalGQL(v interface{}) error

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 interface{}) error

type ChargePeriod

type ChargePeriod string
const (
	ChargePeriodMonthly   ChargePeriod = "MONTHLY"
	ChargePeriodQuarterly ChargePeriod = "QUARTERLY"
	ChargePeriodAnnually  ChargePeriod = "ANNUALLY"
)

func (ChargePeriod) IsValid

func (e ChargePeriod) IsValid() bool

func (ChargePeriod) MarshalGQL

func (e ChargePeriod) MarshalGQL(w io.Writer)

func (ChargePeriod) String

func (e ChargePeriod) String() string

func (*ChargePeriod) UnmarshalGQL

func (e *ChargePeriod) UnmarshalGQL(v interface{}) error

type ColumnView

type ColumnView struct {
	ColumnType ColumnViewType `json:"columnType"`
	Width      int            `json:"width"`
	Visible    bool           `json:"visible"`
}

type ColumnViewInput

type ColumnViewInput struct {
	ColumnType ColumnViewType `json:"columnType"`
	Width      int            `json:"width"`
	Visible    bool           `json:"visible"`
}

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"
	ColumnViewTypeInvoicesPaymentStatus           ColumnViewType = "INVOICES_PAYMENT_STATUS"
	ColumnViewTypeInvoicesInvoiceNumber           ColumnViewType = "INVOICES_INVOICE_NUMBER"
	ColumnViewTypeInvoicesAmount                  ColumnViewType = "INVOICES_AMOUNT"
	ColumnViewTypeInvoicesInvoiceStatus           ColumnViewType = "INVOICES_INVOICE_STATUS"
	ColumnViewTypeInvoicesInvoicePreview          ColumnViewType = "INVOICES_INVOICE_PREVIEW"
	ColumnViewTypeOrganizationsAvatar             ColumnViewType = "ORGANIZATIONS_AVATAR"
	ColumnViewTypeOrganizationsName               ColumnViewType = "ORGANIZATIONS_NAME"
	ColumnViewTypeOrganizationsWebsite            ColumnViewType = "ORGANIZATIONS_WEBSITE"
	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"
	ColumnViewTypeRenewalsAvatar                  ColumnViewType = "RENEWALS_AVATAR"
	ColumnViewTypeRenewalsName                    ColumnViewType = "RENEWALS_NAME"
	ColumnViewTypeRenewalsRenewalLikelihood       ColumnViewType = "RENEWALS_RENEWAL_LIKELIHOOD"
	ColumnViewTypeRenewalsRenewalDate             ColumnViewType = "RENEWALS_RENEWAL_DATE"
	ColumnViewTypeRenewalsForecastArr             ColumnViewType = "RENEWALS_FORECAST_ARR"
	ColumnViewTypeRenewalsOwner                   ColumnViewType = "RENEWALS_OWNER"
	ColumnViewTypeRenewalsLastTouchpoint          ColumnViewType = "RENEWALS_LAST_TOUCHPOINT"
)

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 interface{}) 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 ComparisonOperator

type ComparisonOperator string
const (
	ComparisonOperatorEq         ComparisonOperator = "EQ"
	ComparisonOperatorContains   ComparisonOperator = "CONTAINS"
	ComparisonOperatorStartsWith ComparisonOperator = "STARTS_WITH"
	ComparisonOperatorLte        ComparisonOperator = "LTE"
	ComparisonOperatorGte        ComparisonOperator = "GTE"
	ComparisonOperatorIn         ComparisonOperator = "IN"
	ComparisonOperatorBetween    ComparisonOperator = "BETWEEN"
	ComparisonOperatorIsNull     ComparisonOperator = "IS_NULL"
	ComparisonOperatorIsEmpty    ComparisonOperator = "IS_EMPTY"
)

func (ComparisonOperator) IsValid

func (e ComparisonOperator) IsValid() bool

func (ComparisonOperator) MarshalGQL

func (e ComparisonOperator) MarshalGQL(w io.Writer)

func (ComparisonOperator) String

func (e ComparisonOperator) String() string

func (*ComparisonOperator) UnmarshalGQL

func (e *ComparisonOperator) UnmarshalGQL(v interface{}) error

type Conditionals

type Conditionals struct {
	MinimumChargePeriod *ChargePeriod `json:"minimumChargePeriod,omitempty"`
	MinimumChargeAmount float64       `json:"minimumChargeAmount"`
}

type Contact

type Contact struct {
	// The unique ID associated with the contact in customerOS.
	// **Required**
	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"`
	Description     *string `json:"description,omitempty"`
	Timezone        *string `json:"timezone,omitempty"`
	ProfilePhotoURL *string `json:"profilePhotoUrl,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"`
	SourceOfTruth DataSource `json:"sourceOfTruth"`
	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"`
	// 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"`
	// 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"`
	// User defined metadata appended to the contact record in customerOS.
	// **Required.  If no values it returns an empty array.**
	CustomFields []*CustomField `json:"customFields"`
	FieldSets    []*FieldSet    `json:"fieldSets"`
	// Template of the contact in customerOS.
	Template *EntityTemplate `json:"template,omitempty"`
	// Contact owner (user)
	Owner *User `json:"owner,omitempty"`
	// Contact notes
	Notes                    *NotePage       `json:"notes"`
	NotesByTime              []*Note         `json:"notesByTime"`
	TimelineEvents           []TimelineEvent `json:"timelineEvents"`
	TimelineEventsTotalCount int64           `json:"timelineEventsTotalCount"`
}

A contact represents an individual in customerOS. **A `response` object.**

func (Contact) GetID

func (this Contact) GetID() string

func (Contact) GetTemplate

func (this Contact) GetTemplate() *EntityTemplate

func (Contact) IsExtensibleEntity

func (Contact) IsExtensibleEntity()

func (Contact) IsNode

func (Contact) IsNode()

func (Contact) IsNotedEntity

func (Contact) IsNotedEntity()

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"`
	// An ISO8601 timestamp recording when the contact was created in customerOS.
	CreatedAt *time.Time `json:"createdAt,omitempty"`
	// Deprecated
	CustomFields []*CustomFieldInput `json:"customFields,omitempty"`
	// Deprecated
	FieldSets []*FieldSetInput `json:"fieldSets,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"`
}

Create an individual in customerOS. **A `create` object.**

type ContactOrganizationInput

type ContactOrganizationInput struct {
	ContactID      string `json:"contactId"`
	OrganizationID string `json:"organizationId"`
}

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 ContactTagInput

type ContactTagInput struct {
	ContactID string `json:"contactId"`
	TagID     string `json:"tagId"`
}

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"`
}

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 (this Contract) GetMetadata() *Metadata

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 interface{}) 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 interface{}) error

type ContractRenewalInput

type ContractRenewalInput struct {
	ContractID  string     `json:"contractId"`
	RenewalDate *time.Time `json:"renewalDate,omitempty"`
}

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 interface{}) 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 Country

type Country struct {
	ID        string `json:"id"`
	Name      string `json:"name"`
	CodeA2    string `json:"codeA2"`
	CodeA3    string `json:"codeA3"`
	PhoneCode string `json:"phoneCode"`
}

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) IsValid

func (e Currency) IsValid() bool

func (Currency) MarshalGQL

func (e Currency) MarshalGQL(w io.Writer)

func (Currency) String

func (e Currency) String() string

func (*Currency) UnmarshalGQL

func (e *Currency) UnmarshalGQL(v interface{}) 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 interface{}) error

type CustomFieldEntityType

type CustomFieldEntityType struct {
	ID         string     `json:"id"`
	EntityType EntityType `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"`
	Order     int                     `json:"order"`
	Mandatory bool                    `json:"mandatory"`
	Length    *int                    `json:"length,omitempty"`
	Min       *int                    `json:"min,omitempty"`
	Max       *int                    `json:"max,omitempty"`
}

func (CustomFieldTemplate) GetID

func (this CustomFieldTemplate) GetID() string

func (CustomFieldTemplate) IsNode

func (CustomFieldTemplate) IsNode()

type CustomFieldTemplateInput

type CustomFieldTemplateInput struct {
	Name      string                  `json:"name"`
	Type      CustomFieldTemplateType `json:"type"`
	Order     int                     `json:"order"`
	Mandatory *bool                   `json:"mandatory,omitempty"`
	Length    *int                    `json:"length,omitempty"`
	Min       *int                    `json:"min,omitempty"`
	Max       *int                    `json:"max,omitempty"`
}

type CustomFieldTemplateType

type CustomFieldTemplateType string
const (
	CustomFieldTemplateTypeText CustomFieldTemplateType = "TEXT"
	CustomFieldTemplateTypeLink CustomFieldTemplateType = "LINK"
)

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 interface{}) 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 interface{}) error

type DashboardGrossRevenueRetention

type DashboardGrossRevenueRetention struct {
	GrossRevenueRetention float64 `json:"grossRevenueRetention"`
	// Deprecated
	IncreasePercentage      string                                    `json:"increasePercentage"`
	IncreasePercentageValue float64                                   `json:"increasePercentageValue"`
	PerMonth                []*DashboardGrossRevenueRetentionPerMonth `json:"perMonth"`
}

type DashboardGrossRevenueRetentionPerMonth

type DashboardGrossRevenueRetentionPerMonth struct {
	Year       int     `json:"year"`
	Month      int     `json:"month"`
	Percentage float64 `json:"percentage"`
}

type DashboardMRRPerCustomer

type DashboardMRRPerCustomer struct {
	MrrPerCustomer     float64                            `json:"mrrPerCustomer"`
	IncreasePercentage string                             `json:"increasePercentage"`
	PerMonth           []*DashboardMRRPerCustomerPerMonth `json:"perMonth"`
}

type DashboardMRRPerCustomerPerMonth

type DashboardMRRPerCustomerPerMonth struct {
	Year  int     `json:"year"`
	Month int     `json:"month"`
	Value float64 `json:"value"`
}

type DashboardNewCustomers

type DashboardNewCustomers struct {
	ThisMonthCount              int                              `json:"thisMonthCount"`
	ThisMonthIncreasePercentage string                           `json:"thisMonthIncreasePercentage"`
	PerMonth                    []*DashboardNewCustomersPerMonth `json:"perMonth"`
}

type DashboardNewCustomersPerMonth

type DashboardNewCustomersPerMonth struct {
	Year  int `json:"year"`
	Month int `json:"month"`
	Count int `json:"count"`
}

type DashboardOnboardingCompletion

type DashboardOnboardingCompletion struct {
	CompletionPercentage float64                                  `json:"completionPercentage"`
	IncreasePercentage   float64                                  `json:"increasePercentage"`
	PerMonth             []*DashboardOnboardingCompletionPerMonth `json:"perMonth"`
}

type DashboardOnboardingCompletionPerMonth

type DashboardOnboardingCompletionPerMonth struct {
	Year  int     `json:"year"`
	Month int     `json:"month"`
	Value float64 `json:"value"`
}

type DashboardPeriodInput

type DashboardPeriodInput struct {
	Start time.Time `json:"start"`
	End   time.Time `json:"end"`
}

type DashboardRetentionRate

type DashboardRetentionRate struct {
	RetentionRate float64 `json:"retentionRate"`
	// Deprecated
	IncreasePercentage      string                            `json:"increasePercentage"`
	IncreasePercentageValue float64                           `json:"increasePercentageValue"`
	PerMonth                []*DashboardRetentionRatePerMonth `json:"perMonth"`
}

type DashboardRetentionRatePerMonth

type DashboardRetentionRatePerMonth struct {
	Year       int `json:"year"`
	Month      int `json:"month"`
	RenewCount int `json:"renewCount"`
	ChurnCount int `json:"churnCount"`
}

type DashboardRevenueAtRisk

type DashboardRevenueAtRisk struct {
	HighConfidence float64 `json:"highConfidence"`
	AtRisk         float64 `json:"atRisk"`
}

type DashboardTimeToOnboard

type DashboardTimeToOnboard struct {
	TimeToOnboard      *float64                          `json:"timeToOnboard,omitempty"`
	IncreasePercentage *float64                          `json:"increasePercentage,omitempty"`
	PerMonth           []*DashboardTimeToOnboardPerMonth `json:"perMonth"`
}

type DashboardTimeToOnboardPerMonth

type DashboardTimeToOnboardPerMonth struct {
	Year  int     `json:"year"`
	Month int     `json:"month"`
	Value float64 `json:"value"`
}

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"
)

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 interface{}) error

type DeleteResponse

type DeleteResponse struct {
	Accepted  bool `json:"accepted"`
	Completed bool `json:"completed"`
}

type DescriptionNode

type DescriptionNode interface {
	IsDescriptionNode()
}

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"`
	// 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"`
	SourceOfTruth DataSource      `json:"sourceOfTruth"`
	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 EmailInput

type EmailInput struct {
	// An email address associated with the contact in customerOS.
	// **Required.**
	Email string `json:"email"`
	// 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"`
	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 interface{}) 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 EmailUpdateInput

type EmailUpdateInput 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"`
	Email   *string `json:"email,omitempty"`
}

Describes an email address associated with a `Contact` in customerOS. **An `update` object.**

type EmailValidationDetails

type EmailValidationDetails struct {
	Validated      *bool   `json:"validated,omitempty"`
	IsReachable    *string `json:"isReachable,omitempty"`
	IsValidSyntax  *bool   `json:"isValidSyntax,omitempty"`
	CanConnectSMTP *bool   `json:"canConnectSmtp,omitempty"`
	AcceptsMail    *bool   `json:"acceptsMail,omitempty"`
	HasFullInbox   *bool   `json:"hasFullInbox,omitempty"`
	IsCatchAll     *bool   `json:"isCatchAll,omitempty"`
	IsDeliverable  *bool   `json:"isDeliverable,omitempty"`
	IsDisabled     *bool   `json:"isDisabled,omitempty"`
	Error          *string `json:"error,omitempty"`
}

type EntityTemplate

type EntityTemplate struct {
	ID                   string                   `json:"id"`
	Version              int                      `json:"version"`
	Name                 string                   `json:"name"`
	Extends              *EntityTemplateExtension `json:"extends,omitempty"`
	FieldSetTemplates    []*FieldSetTemplate      `json:"fieldSetTemplates"`
	CustomFieldTemplates []*CustomFieldTemplate   `json:"customFieldTemplates"`
	CreatedAt            time.Time                `json:"createdAt"`
	UpdatedAt            time.Time                `json:"updatedAt"`
}

func (EntityTemplate) GetID

func (this EntityTemplate) GetID() string

func (EntityTemplate) IsNode

func (EntityTemplate) IsNode()

type EntityTemplateExtension

type EntityTemplateExtension string
const (
	EntityTemplateExtensionContact      EntityTemplateExtension = "CONTACT"
	EntityTemplateExtensionOrganization EntityTemplateExtension = "ORGANIZATION"
)

func (EntityTemplateExtension) IsValid

func (e EntityTemplateExtension) IsValid() bool

func (EntityTemplateExtension) MarshalGQL

func (e EntityTemplateExtension) MarshalGQL(w io.Writer)

func (EntityTemplateExtension) String

func (e EntityTemplateExtension) String() string

func (*EntityTemplateExtension) UnmarshalGQL

func (e *EntityTemplateExtension) UnmarshalGQL(v interface{}) error

type EntityTemplateInput

type EntityTemplateInput struct {
	Name                      string                      `json:"name"`
	Extends                   *EntityTemplateExtension    `json:"extends,omitempty"`
	FieldSetTemplateInputs    []*FieldSetTemplateInput    `json:"fieldSetTemplateInputs,omitempty"`
	CustomFieldTemplateInputs []*CustomFieldTemplateInput `json:"customFieldTemplateInputs,omitempty"`
}

type EntityType

type EntityType string
const (
	EntityTypeContact      EntityType = "Contact"
	EntityTypeOrganization EntityType = "Organization"
)

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 interface{}) error

type ExtensibleEntity

type ExtensibleEntity interface {
	IsNode()
	IsExtensibleEntity()
	GetID() string
	GetTemplate() *EntityTemplate
}

type ExternalSystem

type ExternalSystem struct {
	Type           ExternalSystemType `json:"type"`
	SyncDate       *time.Time         `json:"syncDate,omitempty"`
	ExternalID     *string            `json:"externalId,omitempty"`
	ExternalURL    *string            `json:"externalUrl,omitempty"`
	ExternalSource *string            `json:"externalSource,omitempty"`
}

type ExternalSystemInput

type ExternalSystemInput struct {
	Name string `json:"name"`
}

type ExternalSystemInstance

type ExternalSystemInstance struct {
	Type          ExternalSystemType           `json:"type"`
	StripeDetails *ExternalSystemStripeDetails `json:"stripeDetails,omitempty"`
}

type ExternalSystemReferenceInput

type ExternalSystemReferenceInput struct {
	ExternalID     string             `json:"externalId"`
	SyncDate       *time.Time         `json:"syncDate,omitempty"`
	Type           ExternalSystemType `json:"type"`
	ExternalURL    *string            `json:"externalUrl,omitempty"`
	ExternalSource *string            `json:"externalSource,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"
)

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 interface{}) error

type FieldSet

type FieldSet struct {
	ID           string            `json:"id"`
	Name         string            `json:"name"`
	CreatedAt    time.Time         `json:"createdAt"`
	UpdatedAt    time.Time         `json:"updatedAt"`
	CustomFields []*CustomField    `json:"customFields"`
	Template     *FieldSetTemplate `json:"template,omitempty"`
	Source       DataSource        `json:"source"`
}

type FieldSetInput

type FieldSetInput struct {
	ID           *string             `json:"id,omitempty"`
	Name         string              `json:"name"`
	CustomFields []*CustomFieldInput `json:"customFields,omitempty"`
	TemplateID   *string             `json:"templateId,omitempty"`
}

type FieldSetTemplate

type FieldSetTemplate struct {
	ID                   string                 `json:"id"`
	CreatedAt            time.Time              `json:"createdAt"`
	UpdatedAt            time.Time              `json:"updatedAt"`
	Name                 string                 `json:"name"`
	Order                int                    `json:"order"`
	CustomFieldTemplates []*CustomFieldTemplate `json:"customFieldTemplates"`
}

func (FieldSetTemplate) GetID

func (this FieldSetTemplate) GetID() string

func (FieldSetTemplate) IsNode

func (FieldSetTemplate) IsNode()

type FieldSetTemplateInput

type FieldSetTemplateInput struct {
	Name                      string                      `json:"name"`
	Order                     int                         `json:"order"`
	CustomFieldTemplateInputs []*CustomFieldTemplateInput `json:"customFieldTemplateInputs,omitempty"`
}

type FieldSetUpdateInput

type FieldSetUpdateInput struct {
	ID   string `json:"id"`
	Name string `json:"name"`
}

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     ComparisonOperator `json:"operation"`
	Value         AnyTypeValue       `json:"value"`
	CaseSensitive *bool              `json:"caseSensitive,omitempty"`
	IncludeEmpty  *bool              `json:"includeEmpty,omitempty"`
}

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 interface{}) error

type GCliAttributeKeyValuePair

type GCliAttributeKeyValuePair struct {
	Key     string  `json:"key"`
	Value   string  `json:"value"`
	Display *string `json:"display,omitempty"`
}

type GCliCacheItemType

type GCliCacheItemType string
const (
	GCliCacheItemTypeState        GCliCacheItemType = "STATE"
	GCliCacheItemTypeContact      GCliCacheItemType = "CONTACT"
	GCliCacheItemTypeOrganization GCliCacheItemType = "ORGANIZATION"
)

func (GCliCacheItemType) IsValid

func (e GCliCacheItemType) IsValid() bool

func (GCliCacheItemType) MarshalGQL

func (e GCliCacheItemType) MarshalGQL(w io.Writer)

func (GCliCacheItemType) String

func (e GCliCacheItemType) String() string

func (*GCliCacheItemType) UnmarshalGQL

func (e *GCliCacheItemType) UnmarshalGQL(v interface{}) error

type GCliItem

type GCliItem struct {
	ID      string                       `json:"id"`
	Type    GCliSearchResultType         `json:"type"`
	Display string                       `json:"display"`
	Data    []*GCliAttributeKeyValuePair `json:"data,omitempty"`
}

type GCliSearchResultType

type GCliSearchResultType string
const (
	GCliSearchResultTypeEmail                    GCliSearchResultType = "EMAIL"
	GCliSearchResultTypeContact                  GCliSearchResultType = "CONTACT"
	GCliSearchResultTypeOrganization             GCliSearchResultType = "ORGANIZATION"
	GCliSearchResultTypeOrganizationRelationship GCliSearchResultType = "ORGANIZATION_RELATIONSHIP"
	GCliSearchResultTypeState                    GCliSearchResultType = "STATE"
)

func (GCliSearchResultType) IsValid

func (e GCliSearchResultType) IsValid() bool

func (GCliSearchResultType) MarshalGQL

func (e GCliSearchResultType) MarshalGQL(w io.Writer)

func (GCliSearchResultType) String

func (e GCliSearchResultType) String() string

func (*GCliSearchResultType) UnmarshalGQL

func (e *GCliSearchResultType) UnmarshalGQL(v interface{}) error

type GlobalCache

type GlobalCache struct {
	User                 *User       `json:"user"`
	IsOwner              bool        `json:"isOwner"`
	IsGoogleActive       bool        `json:"isGoogleActive"`
	IsGoogleTokenExpired bool        `json:"isGoogleTokenExpired"`
	GCliCache            []*GCliItem `json:"gCliCache"`
	MinARRForecastValue  float64     `json:"minARRForecastValue"`
	MaxARRForecastValue  float64     `json:"maxARRForecastValue"`
	ContractsExist       bool        `json:"contractsExist"`
	CdnLogoURL           string      `json:"cdnLogoUrl"`
}

type InteractionEvent

type InteractionEvent struct {
	ID                           string                        `json:"id"`
	CreatedAt                    time.Time                     `json:"createdAt"`
	CustomerOSInternalIdentifier *string                       `json:"customerOSInternalIdentifier,omitempty"`
	EventIdentifier              *string                       `json:"eventIdentifier,omitempty"`
	Content                      *string                       `json:"content,omitempty"`
	ContentType                  *string                       `json:"contentType,omitempty"`
	Channel                      *string                       `json:"channel,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"`
	Summary                      *Analysis                     `json:"summary,omitempty"`
	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) IsDescriptionNode

func (InteractionEvent) IsDescriptionNode()

func (InteractionEvent) IsNode

func (InteractionEvent) IsNode()

func (InteractionEvent) IsTimelineEvent

func (InteractionEvent) IsTimelineEvent()

type InteractionEventInput

type InteractionEventInput struct {
	CustomerOSInternalIdentifier *string                             `json:"customerOSInternalIdentifier,omitempty"`
	EventIdentifier              *string                             `json:"eventIdentifier,omitempty"`
	ExternalID                   *string                             `json:"externalId,omitempty"`
	ExternalSystemID             *string                             `json:"externalSystemId,omitempty"`
	Content                      *string                             `json:"content,omitempty"`
	ContentType                  *string                             `json:"contentType,omitempty"`
	Channel                      *string                             `json:"channel,omitempty"`
	ChannelData                  *string                             `json:"channelData,omitempty"`
	InteractionSession           *string                             `json:"interactionSession,omitempty"`
	MeetingID                    *string                             `json:"meetingId,omitempty"`
	SentBy                       []*InteractionEventParticipantInput `json:"sentBy"`
	SentTo                       []*InteractionEventParticipantInput `json:"sentTo"`
	RepliesTo                    *string                             `json:"repliesTo,omitempty"`
	EventType                    *string                             `json:"eventType,omitempty"`
	AppSource                    string                              `json:"appSource"`
	CreatedAt                    *time.Time                          `json:"createdAt,omitempty"`
}

type InteractionEventParticipant

type InteractionEventParticipant interface {
	IsInteractionEventParticipant()
}

type InteractionEventParticipantInput

type InteractionEventParticipantInput struct {
	Email       *string `json:"email,omitempty"`
	PhoneNumber *string `json:"phoneNumber,omitempty"`
	ContactID   *string `json:"contactID,omitempty"`
	UserID      *string `json:"userID,omitempty"`
	Type        *string `json:"type,omitempty"`
}

type InteractionSession

type InteractionSession struct {
	ID string `json:"id"`
	// Deprecated
	StartedAt time.Time `json:"startedAt"`
	// Deprecated
	EndedAt           *time.Time                      `json:"endedAt,omitempty"`
	CreatedAt         time.Time                       `json:"createdAt"`
	UpdatedAt         time.Time                       `json:"updatedAt"`
	SessionIdentifier *string                         `json:"sessionIdentifier,omitempty"`
	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"`
	Includes          []*Attachment                   `json:"includes"`
	DescribedBy       []*Analysis                     `json:"describedBy"`
}

func (InteractionSession) GetID

func (this InteractionSession) GetID() string

func (InteractionSession) IsDescriptionNode

func (InteractionSession) IsDescriptionNode()

func (InteractionSession) IsNode

func (InteractionSession) IsNode()

func (InteractionSession) IsTimelineEvent

func (InteractionSession) IsTimelineEvent()

type InteractionSessionInput

type InteractionSessionInput struct {
	SessionIdentifier *string                               `json:"sessionIdentifier,omitempty"`
	Name              string                                `json:"name"`
	Status            string                                `json:"status"`
	Type              *string                               `json:"type,omitempty"`
	Channel           *string                               `json:"channel,omitempty"`
	ChannelData       *string                               `json:"channelData,omitempty"`
	AttendedBy        []*InteractionSessionParticipantInput `json:"attendedBy,omitempty"`
	AppSource         string                                `json:"appSource"`
}

type InteractionSessionParticipant

type InteractionSessionParticipant interface {
	IsInteractionSessionParticipant()
}

type InteractionSessionParticipantInput

type InteractionSessionParticipantInput struct {
	Email       *string `json:"email,omitempty"`
	PhoneNumber *string `json:"phoneNumber,omitempty"`
	ContactID   *string `json:"contactID,omitempty"`
	UserID      *string `json:"userID,omitempty"`
	Type        *string `json:"type,omitempty"`
}

type InternalStage

type InternalStage string
const (
	InternalStageOpen       InternalStage = "OPEN"
	InternalStageEvaluating InternalStage = "EVALUATING"
	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 interface{}) 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 interface{}) 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"`
}

func (Invoice) GetMetadata

func (this Invoice) GetMetadata() *Metadata

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 InvoiceLineSimulate struct {
	Key         string  `json:"key"`
	Description string  `json:"description"`
	Price       float64 `json:"price"`
	Quantity    int64   `json:"quantity"`
	Subtotal    float64 `json:"subtotal"`
	TaxDue      float64 `json:"taxDue"`
	Total       float64 `json:"total"`
}

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 interface{}) 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 InvoicingCycle

type InvoicingCycle struct {
	ID            string             `json:"id"`
	CreatedAt     time.Time          `json:"createdAt"`
	UpdatedAt     time.Time          `json:"updatedAt"`
	Type          InvoicingCycleType `json:"type"`
	Source        DataSource         `json:"source"`
	SourceOfTruth DataSource         `json:"sourceOfTruth"`
	AppSource     string             `json:"appSource"`
}

func (InvoicingCycle) GetAppSource

func (this InvoicingCycle) GetAppSource() string

func (InvoicingCycle) GetID

func (this InvoicingCycle) GetID() string

func (InvoicingCycle) GetSource

func (this InvoicingCycle) GetSource() DataSource

func (InvoicingCycle) GetSourceOfTruth

func (this InvoicingCycle) GetSourceOfTruth() DataSource

func (InvoicingCycle) IsNode

func (InvoicingCycle) IsNode()

func (InvoicingCycle) IsSourceFields

func (InvoicingCycle) IsSourceFields()

type InvoicingCycleInput

type InvoicingCycleInput struct {
	Type InvoicingCycleType `json:"type"`
}

type InvoicingCycleType

type InvoicingCycleType string
const (
	InvoicingCycleTypeDate        InvoicingCycleType = "DATE"
	InvoicingCycleTypeAnniversary InvoicingCycleType = "ANNIVERSARY"
)

func (InvoicingCycleType) IsValid

func (e InvoicingCycleType) IsValid() bool

func (InvoicingCycleType) MarshalGQL

func (e InvoicingCycleType) MarshalGQL(w io.Writer)

func (InvoicingCycleType) String

func (e InvoicingCycleType) String() string

func (*InvoicingCycleType) UnmarshalGQL

func (e *InvoicingCycleType) UnmarshalGQL(v interface{}) error

type InvoicingCycleUpdateInput

type InvoicingCycleUpdateInput struct {
	ID   string             `json:"id"`
	Type InvoicingCycleType `json:"type"`
}

type Issue

type Issue struct {
	ID                string              `json:"id"`
	CreatedAt         time.Time           `json:"createdAt"`
	UpdatedAt         time.Time           `json:"updatedAt"`
	Subject           *string             `json:"subject,omitempty"`
	Status            string              `json:"status"`
	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"`
}

func (Issue) GetAppSource

func (this Issue) GetAppSource() string

func (Issue) GetID

func (this Issue) GetID() string

func (Issue) GetSource

func (this Issue) GetSource() DataSource

func (Issue) GetSourceOfTruth

func (this Issue) GetSourceOfTruth() DataSource

func (Issue) IsNode

func (Issue) IsNode()

func (Issue) IsSourceFields

func (Issue) IsSourceFields()

func (Issue) IsTimelineEvent

func (Issue) IsTimelineEvent()

type IssueParticipant

type IssueParticipant interface {
	IsIssueParticipant()
}

type IssueSummaryByStatus

type IssueSummaryByStatus struct {
	Status string `json:"status"`
	Count  int64  `json:"count"`
}

type JobRole

type JobRole struct {
	ID        string    `json:"id"`
	CreatedAt time.Time `json:"createdAt"`
	UpdatedAt time.Time `json:"updatedAt"`
	// Organization associated with a Contact.
	// **Required.**
	Organization *Organization `json:"organization,omitempty"`
	Contact      *Contact      `json:"contact,omitempty"`
	// The Contact's job title.
	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"`
	SourceOfTruth DataSource `json:"sourceOfTruth"`
	AppSource     string     `json:"appSource"`
}

Describes the relationship a Contact has with a Organization. **A `return` object**

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"`
}

Describes the relationship a Contact has with an Organization. **A `create` object**

type JobRoleParticipant

type JobRoleParticipant struct {
	JobRoleParticipant *JobRole `json:"jobRoleParticipant"`
	Type               *string  `json:"type,omitempty"`
}

func (JobRoleParticipant) IsInteractionEventParticipant

func (JobRoleParticipant) IsInteractionEventParticipant()

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"`
}

Describes the relationship a Contact has with an Organization. **A `create` object**

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"
	LastTouchpointTypeAnalysis                      LastTouchpointType = "ANALYSIS"
	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 interface{}) error

type LinkOrganizationsInput

type LinkOrganizationsInput struct {
	OrganizationID string  `json:"organizationId"`
	SubsidiaryID   string  `json:"subsidiaryId"`
	Type           *string `json:"type,omitempty"`
}

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"`
	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     *int64     `json:"utcOffset,omitempty"`
}

func (Location) GetAppSource

func (this Location) GetAppSource() string

func (Location) GetID

func (this Location) GetID() string

func (Location) GetSource

func (this Location) GetSource() DataSource

func (Location) GetSourceOfTruth

func (this Location) GetSourceOfTruth() DataSource

func (Location) IsNode

func (Location) IsNode()

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    *int64   `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 LogEntryInput struct {
	Content     *string             `json:"content,omitempty"`
	ContentType *string             `json:"contentType,omitempty"`
	Tags        []*TagIDOrNameInput `json:"tags,omitempty"`
	StartedAt   *time.Time          `json:"startedAt,omitempty"`
	AppSource   *string             `json:"appSource,omitempty"`
}

type LogEntryUpdateInput

type LogEntryUpdateInput struct {
	Content     *string    `json:"content,omitempty"`
	ContentType *string    `json:"contentType,omitempty"`
	StartedAt   *time.Time `json:"startedAt,omitempty"`
}

type Market

type Market string
const (
	MarketB2b         Market = "B2B"
	MarketB2c         Market = "B2C"
	MarketMarketplace Market = "MARKETPLACE"
)

func (Market) IsValid

func (e Market) IsValid() bool

func (Market) MarshalGQL

func (e Market) MarshalGQL(w io.Writer)

func (Market) String

func (e Market) String() string

func (*Market) UnmarshalGQL

func (e *Market) UnmarshalGQL(v interface{}) error

type MasterPlan

type MasterPlan struct {
	ID                string                 `json:"id"`
	CreatedAt         time.Time              `json:"createdAt"`
	UpdatedAt         time.Time              `json:"updatedAt"`
	Name              string                 `json:"name"`
	Source            DataSource             `json:"source"`
	SourceOfTruth     DataSource             `json:"sourceOfTruth"`
	AppSource         string                 `json:"appSource"`
	Retired           bool                   `json:"retired"`
	Milestones        []*MasterPlanMilestone `json:"milestones"`
	RetiredMilestones []*MasterPlanMilestone `json:"retiredMilestones"`
}

func (MasterPlan) GetAppSource

func (this MasterPlan) GetAppSource() string

func (MasterPlan) GetID

func (this MasterPlan) GetID() string

func (MasterPlan) GetSource

func (this MasterPlan) GetSource() DataSource

func (MasterPlan) GetSourceOfTruth

func (this MasterPlan) GetSourceOfTruth() DataSource

func (MasterPlan) IsNode

func (MasterPlan) IsNode()

func (MasterPlan) IsSourceFields

func (MasterPlan) IsSourceFields()

type MasterPlanInput

type MasterPlanInput struct {
	Name *string `json:"name,omitempty"`
}

type MasterPlanMilestone

type MasterPlanMilestone struct {
	ID            string     `json:"id"`
	CreatedAt     time.Time  `json:"createdAt"`
	UpdatedAt     time.Time  `json:"updatedAt"`
	Name          string     `json:"name"`
	Source        DataSource `json:"source"`
	SourceOfTruth DataSource `json:"sourceOfTruth"`
	AppSource     string     `json:"appSource"`
	Order         int64      `json:"order"`
	DurationHours int64      `json:"durationHours"`
	Optional      bool       `json:"optional"`
	Items         []string   `json:"items"`
	Retired       bool       `json:"retired"`
}

func (MasterPlanMilestone) GetAppSource

func (this MasterPlanMilestone) GetAppSource() string

func (MasterPlanMilestone) GetID

func (this MasterPlanMilestone) GetID() string

func (MasterPlanMilestone) GetSource

func (this MasterPlanMilestone) GetSource() DataSource

func (MasterPlanMilestone) GetSourceOfTruth

func (this MasterPlanMilestone) GetSourceOfTruth() DataSource

func (MasterPlanMilestone) IsNode

func (MasterPlanMilestone) IsNode()

func (MasterPlanMilestone) IsSourceFields

func (MasterPlanMilestone) IsSourceFields()

type MasterPlanMilestoneInput

type MasterPlanMilestoneInput struct {
	MasterPlanID  string   `json:"masterPlanId"`
	Name          *string  `json:"name,omitempty"`
	Order         int64    `json:"order"`
	DurationHours int64    `json:"durationHours"`
	Optional      bool     `json:"optional"`
	Items         []string `json:"items"`
}

type MasterPlanMilestoneReorderInput

type MasterPlanMilestoneReorderInput struct {
	MasterPlanID string   `json:"masterPlanId"`
	OrderedIds   []string `json:"orderedIds"`
}

type MasterPlanMilestoneUpdateInput

type MasterPlanMilestoneUpdateInput struct {
	MasterPlanID  string   `json:"masterPlanId"`
	ID            string   `json:"id"`
	Name          *string  `json:"name,omitempty"`
	Order         *int64   `json:"order,omitempty"`
	DurationHours *int64   `json:"durationHours,omitempty"`
	Optional      *bool    `json:"optional,omitempty"`
	Retired       *bool    `json:"retired,omitempty"`
	Items         []string `json:"items,omitempty"`
}

type MasterPlanUpdateInput

type MasterPlanUpdateInput struct {
	ID      string  `json:"id"`
	Name    *string `json:"name,omitempty"`
	Retired *bool   `json:"retired,omitempty"`
}

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"`
	DescribedBy        []*Analysis          `json:"describedBy"`
	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) GetID

func (this Meeting) GetID() string

func (Meeting) IsDescriptionNode

func (Meeting) IsDescriptionNode()

func (Meeting) IsNode

func (Meeting) IsNode()

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 MeetingParticipantInput struct {
	ContactID      *string `json:"contactId,omitempty"`
	UserID         *string `json:"userId,omitempty"`
	OrganizationID *string `json:"organizationId,omitempty"`
}

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 interface{}) 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"`
	SourceOfTruth DataSource `json:"sourceOfTruth"`
	AppSource     string     `json:"appSource"`
}

func (Metadata) GetAppSource

func (this Metadata) GetAppSource() string

func (Metadata) GetID

func (this Metadata) GetID() string

func (Metadata) GetSource

func (this Metadata) GetSource() DataSource

func (Metadata) GetSourceOfTruth

func (this Metadata) GetSourceOfTruth() DataSource

func (Metadata) IsNode

func (Metadata) IsNode()

func (Metadata) IsSourceFieldsInterface

func (Metadata) IsSourceFieldsInterface()

type MetadataInterface

type MetadataInterface interface {
	IsMetadataInterface()
	GetMetadata() *Metadata
}

type Mutation

type Mutation struct {
}

type Node

type Node interface {
	IsNode()
	GetID() string
}

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"`
	Noted         []NotedEntity `json:"noted"`
	Includes      []*Attachment `json:"includes"`
	Source        DataSource    `json:"source"`
	SourceOfTruth DataSource    `json:"sourceOfTruth"`
	AppSource     string        `json:"appSource"`
}

func (Note) IsTimelineEvent

func (Note) IsTimelineEvent()

type NoteInput

type NoteInput struct {
	Content     *string `json:"content,omitempty"`
	ContentType *string `json:"contentType,omitempty"`
	AppSource   *string `json:"appSource,omitempty"`
}

type NotePage

type NotePage struct {
	Content       []*Note `json:"content"`
	TotalPages    int     `json:"totalPages"`
	TotalElements int64   `json:"totalElements"`
}

func (NotePage) GetTotalElements

func (this NotePage) GetTotalElements() int64

The total number of elements included in the query response. **Required.**

func (NotePage) GetTotalPages

func (this NotePage) GetTotalPages() int

The total number of pages included in the query response. **Required.**

func (NotePage) IsPages

func (NotePage) IsPages()

type NoteUpdateInput

type NoteUpdateInput struct {
	ID          string  `json:"id"`
	Content     *string `json:"content,omitempty"`
	ContentType *string `json:"contentType,omitempty"`
}

type NotedEntity

type NotedEntity interface {
	IsNotedEntity()
}

type Offering

type Offering struct {
	Metadata              *Metadata         `json:"metadata"`
	Name                  string            `json:"name"`
	Active                bool              `json:"active"`
	Type                  *OfferingType     `json:"type,omitempty"`
	PricingModel          *PricingModel     `json:"pricingModel,omitempty"`
	PricingPeriodInMonths int64             `json:"pricingPeriodInMonths"`
	Currency              *Currency         `json:"currency,omitempty"`
	Price                 float64           `json:"price"`
	PriceCalculated       bool              `json:"priceCalculated"`
	Taxable               bool              `json:"taxable"`
	PriceCalculation      *PriceCalculation `json:"priceCalculation"`
	Conditional           bool              `json:"conditional"`
	Conditionals          *Conditionals     `json:"conditionals"`
	ExternalLinks         []*ExternalSystem `json:"externalLinks"`
}

func (Offering) GetMetadata

func (this Offering) GetMetadata() *Metadata

func (Offering) IsMetadataInterface

func (Offering) IsMetadataInterface()

type OfferingCreateInput

type OfferingCreateInput struct {
	Name                                   *string          `json:"name,omitempty"`
	Active                                 *bool            `json:"active,omitempty"`
	Type                                   *OfferingType    `json:"type,omitempty"`
	PricingModel                           *PricingModel    `json:"pricingModel,omitempty"`
	PricingPeriodInMonths                  *int64           `json:"pricingPeriodInMonths,omitempty"`
	Currency                               *Currency        `json:"currency,omitempty"`
	Price                                  *float64         `json:"price,omitempty"`
	PriceCalculated                        *bool            `json:"priceCalculated,omitempty"`
	Conditional                            *bool            `json:"conditional,omitempty"`
	Taxable                                *bool            `json:"taxable,omitempty"`
	PriceCalculationType                   *CalculationType `json:"priceCalculationType,omitempty"`
	PriceCalculationRevenueSharePercentage *float64         `json:"priceCalculationRevenueSharePercentage,omitempty"`
	ConditionalsMinimumChargePeriod        *ChargePeriod    `json:"conditionalsMinimumChargePeriod,omitempty"`
	ConditionalsMinimumChargeAmount        *float64         `json:"conditionalsMinimumChargeAmount,omitempty"`
}

type OfferingType

type OfferingType string
const (
	OfferingTypeProduct OfferingType = "PRODUCT"
	OfferingTypeService OfferingType = "SERVICE"
)

func (OfferingType) IsValid

func (e OfferingType) IsValid() bool

func (OfferingType) MarshalGQL

func (e OfferingType) MarshalGQL(w io.Writer)

func (OfferingType) String

func (e OfferingType) String() string

func (*OfferingType) UnmarshalGQL

func (e *OfferingType) UnmarshalGQL(v interface{}) error

type OfferingUpdateInput

type OfferingUpdateInput struct {
	ID                                     string           `json:"id"`
	Name                                   *string          `json:"name,omitempty"`
	Active                                 *bool            `json:"active,omitempty"`
	Type                                   *OfferingType    `json:"type,omitempty"`
	PricingModel                           *PricingModel    `json:"pricingModel,omitempty"`
	PricingPeriodInMonths                  *int64           `json:"pricingPeriodInMonths,omitempty"`
	Currency                               *Currency        `json:"currency,omitempty"`
	Price                                  *float64         `json:"price,omitempty"`
	PriceCalculated                        *bool            `json:"priceCalculated,omitempty"`
	Conditional                            *bool            `json:"conditional,omitempty"`
	Taxable                                *bool            `json:"taxable,omitempty"`
	PriceCalculationType                   *CalculationType `json:"priceCalculationType,omitempty"`
	PriceCalculationRevenueSharePercentage *float64         `json:"priceCalculationRevenueSharePercentage,omitempty"`
	ConditionalsMinimumChargePeriod        *ChargePeriod    `json:"conditionalsMinimumChargePeriod,omitempty"`
	ConditionalsMinimumChargeAmount        *float64         `json:"conditionalsMinimumChargeAmount,omitempty"`
}

type OnboardingDetails

type OnboardingDetails struct {
	Status    OnboardingStatus `json:"status"`
	Comments  *string          `json:"comments,omitempty"`
	UpdatedAt *time.Time       `json:"updatedAt,omitempty"`
}

type OnboardingPlanMilestoneItemStatus

type OnboardingPlanMilestoneItemStatus string
const (
	OnboardingPlanMilestoneItemStatusNotDone     OnboardingPlanMilestoneItemStatus = "NOT_DONE"
	OnboardingPlanMilestoneItemStatusSkipped     OnboardingPlanMilestoneItemStatus = "SKIPPED"
	OnboardingPlanMilestoneItemStatusDone        OnboardingPlanMilestoneItemStatus = "DONE"
	OnboardingPlanMilestoneItemStatusNotDoneLate OnboardingPlanMilestoneItemStatus = "NOT_DONE_LATE"
	OnboardingPlanMilestoneItemStatusSkippedLate OnboardingPlanMilestoneItemStatus = "SKIPPED_LATE"
	OnboardingPlanMilestoneItemStatusDoneLate    OnboardingPlanMilestoneItemStatus = "DONE_LATE"
)

func (OnboardingPlanMilestoneItemStatus) IsValid

func (OnboardingPlanMilestoneItemStatus) MarshalGQL

func (OnboardingPlanMilestoneItemStatus) String

func (*OnboardingPlanMilestoneItemStatus) UnmarshalGQL

func (e *OnboardingPlanMilestoneItemStatus) UnmarshalGQL(v interface{}) error

type OnboardingPlanMilestoneStatus

type OnboardingPlanMilestoneStatus string
const (
	OnboardingPlanMilestoneStatusNotStarted     OnboardingPlanMilestoneStatus = "NOT_STARTED"
	OnboardingPlanMilestoneStatusStarted        OnboardingPlanMilestoneStatus = "STARTED"
	OnboardingPlanMilestoneStatusDone           OnboardingPlanMilestoneStatus = "DONE"
	OnboardingPlanMilestoneStatusNotStartedLate OnboardingPlanMilestoneStatus = "NOT_STARTED_LATE"
	OnboardingPlanMilestoneStatusStartedLate    OnboardingPlanMilestoneStatus = "STARTED_LATE"
	OnboardingPlanMilestoneStatusDoneLate       OnboardingPlanMilestoneStatus = "DONE_LATE"
)

func (OnboardingPlanMilestoneStatus) IsValid

func (e OnboardingPlanMilestoneStatus) IsValid() bool

func (OnboardingPlanMilestoneStatus) MarshalGQL

func (e OnboardingPlanMilestoneStatus) MarshalGQL(w io.Writer)

func (OnboardingPlanMilestoneStatus) String

func (*OnboardingPlanMilestoneStatus) UnmarshalGQL

func (e *OnboardingPlanMilestoneStatus) UnmarshalGQL(v interface{}) error

type OnboardingPlanStatus

type OnboardingPlanStatus string
const (
	OnboardingPlanStatusNotStarted     OnboardingPlanStatus = "NOT_STARTED"
	OnboardingPlanStatusOnTrack        OnboardingPlanStatus = "ON_TRACK"
	OnboardingPlanStatusLate           OnboardingPlanStatus = "LATE"
	OnboardingPlanStatusDone           OnboardingPlanStatus = "DONE"
	OnboardingPlanStatusNotStartedLate OnboardingPlanStatus = "NOT_STARTED_LATE"
	OnboardingPlanStatusDoneLate       OnboardingPlanStatus = "DONE_LATE"
)

func (OnboardingPlanStatus) IsValid

func (e OnboardingPlanStatus) IsValid() bool

func (OnboardingPlanStatus) MarshalGQL

func (e OnboardingPlanStatus) MarshalGQL(w io.Writer)

func (OnboardingPlanStatus) String

func (e OnboardingPlanStatus) String() string

func (*OnboardingPlanStatus) UnmarshalGQL

func (e *OnboardingPlanStatus) UnmarshalGQL(v interface{}) error

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 interface{}) error

type OnboardingStatusInput

type OnboardingStatusInput struct {
	OrganizationID string           `json:"organizationId"`
	Status         OnboardingStatus `json:"status"`
	Comments       *string          `json:"comments,omitempty"`
}

type Opportunity

type Opportunity struct {
	ID                     string                       `json:"id"`
	CreatedAt              time.Time                    `json:"createdAt"`
	UpdatedAt              time.Time                    `json:"updatedAt"`
	Name                   string                       `json:"name"`
	Amount                 float64                      `json:"amount"`
	MaxAmount              float64                      `json:"maxAmount"`
	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"`
	CreatedBy              *User                        `json:"createdBy,omitempty"`
	Owner                  *User                        `json:"owner,omitempty"`
	Source                 DataSource                   `json:"source"`
	SourceOfTruth          DataSource                   `json:"sourceOfTruth"`
	AppSource              string                       `json:"appSource"`
	ExternalLinks          []*ExternalSystem            `json:"externalLinks"`
}

func (Opportunity) GetID

func (this Opportunity) GetID() string

func (Opportunity) IsNode

func (Opportunity) IsNode()

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 (*OpportunityRenewalLikelihood) UnmarshalGQL

func (e *OpportunityRenewalLikelihood) UnmarshalGQL(v interface{}) 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 OpportunityUpdateInput

type OpportunityUpdateInput struct {
	OpportunityID       string                        `json:"opportunityId"`
	Name                *string                       `json:"name,omitempty"`
	Amount              *float64                      `json:"amount,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"`
	AppSource           *string                       `json:"appSource,omitempty"`
	ExternalReference   *ExternalSystemReferenceInput `json:"externalReference,omitempty"`
}

type Order

type Order struct {
	ID            string     `json:"id"`
	CreatedAt     time.Time  `json:"createdAt"`
	ConfirmedAt   *time.Time `json:"confirmedAt,omitempty"`
	PaidAt        *time.Time `json:"paidAt,omitempty"`
	FulfilledAt   *time.Time `json:"fulfilledAt,omitempty"`
	CancelledAt   *time.Time `json:"cancelledAt,omitempty"`
	Source        DataSource `json:"source"`
	SourceOfTruth DataSource `json:"sourceOfTruth"`
	AppSource     string     `json:"appSource"`
}

func (Order) IsTimelineEvent

func (Order) IsTimelineEvent()

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"`
}

type Organization

type Organization struct {
	Metadata                 *Metadata                     `json:"metadata"`
	AccountDetails           *OrgAccountDetails            `json:"accountDetails,omitempty"`
	Contracts                []*Contract                   `json:"contracts,omitempty"`
	CustomerOsID             string                        `json:"customerOsId"`
	CustomFields             []*CustomField                `json:"customFields"`
	CustomID                 *string                       `json:"customId,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"`
	Icon                     *string                       `json:"icon,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"`
	SubIndustry              *string                       `json:"subIndustry,omitempty"`
	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"`
	Hide                     bool                          `json:"hide"`
	Contacts                 *ContactsPage                 `json:"contacts"`
	JobRoles                 []*JobRole                    `json:"jobRoles"`
	Emails                   []*Email                      `json:"emails"`
	PhoneNumbers             []*PhoneNumber                `json:"phoneNumbers"`
	SuggestedMergeTo         []*SuggestedMergeOrganization `json:"suggestedMergeTo"`
	FieldSets                []*FieldSet                   `json:"fieldSets"`
	EntityTemplate           *EntityTemplate               `json:"entityTemplate,omitempty"`
	TimelineEventsTotalCount int64                         `json:"timelineEventsTotalCount"`
	ExternalLinks            []*ExternalSystem             `json:"externalLinks"`
	IssueSummaryByStatus     []*IssueSummaryByStatus       `json:"issueSummaryByStatus"`
	Orders                   []*Order                      `json:"orders"`
	ContactCount             int64                         `json:"contactCount"`
	InboundCommsCount        int64                         `json:"inboundCommsCount"`
	OutboundCommsCount       int64                         `json:"outboundCommsCount"`
	// 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
	LogoURL *string `json:"logoUrl,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
	ReferenceID *string `json:"referenceId,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"`
}

func (Organization) GetMetadata

func (this Organization) GetMetadata() *Metadata

func (Organization) IsMetadataInterface

func (Organization) IsMetadataInterface()

func (Organization) IsNotedEntity

func (Organization) IsNotedEntity()

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"`
	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
	FieldSets []*FieldSetInput `json:"fieldSets,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 OrganizationPlan

type OrganizationPlan struct {
	ID                string                         `json:"id"`
	CreatedAt         time.Time                      `json:"createdAt"`
	UpdatedAt         time.Time                      `json:"updatedAt"`
	Name              string                         `json:"name"`
	Source            DataSource                     `json:"source"`
	SourceOfTruth     DataSource                     `json:"sourceOfTruth"`
	AppSource         string                         `json:"appSource"`
	Retired           bool                           `json:"retired"`
	Milestones        []*OrganizationPlanMilestone   `json:"milestones"`
	RetiredMilestones []*OrganizationPlanMilestone   `json:"retiredMilestones"`
	StatusDetails     *OrganizationPlanStatusDetails `json:"statusDetails"`
	MasterPlanID      string                         `json:"masterPlanId"`
}

func (OrganizationPlan) GetAppSource

func (this OrganizationPlan) GetAppSource() string

func (OrganizationPlan) GetID

func (this OrganizationPlan) GetID() string

func (OrganizationPlan) GetSource

func (this OrganizationPlan) GetSource() DataSource

func (OrganizationPlan) GetSourceOfTruth

func (this OrganizationPlan) GetSourceOfTruth() DataSource

func (OrganizationPlan) IsNode

func (OrganizationPlan) IsNode()

func (OrganizationPlan) IsSourceFields

func (OrganizationPlan) IsSourceFields()

type OrganizationPlanInput

type OrganizationPlanInput struct {
	Name           *string `json:"name,omitempty"`
	MasterPlanID   *string `json:"masterPlanId,omitempty"`
	OrganizationID string  `json:"organizationId"`
}

type OrganizationPlanMilestone

type OrganizationPlanMilestone struct {
	ID            string                                  `json:"id"`
	CreatedAt     time.Time                               `json:"createdAt"`
	UpdatedAt     time.Time                               `json:"updatedAt"`
	Name          string                                  `json:"name"`
	Source        DataSource                              `json:"source"`
	SourceOfTruth DataSource                              `json:"sourceOfTruth"`
	AppSource     string                                  `json:"appSource"`
	Order         int64                                   `json:"order"`
	DueDate       time.Time                               `json:"dueDate"`
	Optional      bool                                    `json:"optional"`
	Items         []*OrganizationPlanMilestoneItem        `json:"items"`
	Retired       bool                                    `json:"retired"`
	StatusDetails *OrganizationPlanMilestoneStatusDetails `json:"statusDetails"`
	Adhoc         bool                                    `json:"adhoc"`
}

func (OrganizationPlanMilestone) GetAppSource

func (this OrganizationPlanMilestone) GetAppSource() string

func (OrganizationPlanMilestone) GetID

func (this OrganizationPlanMilestone) GetID() string

func (OrganizationPlanMilestone) GetSource

func (this OrganizationPlanMilestone) GetSource() DataSource

func (OrganizationPlanMilestone) GetSourceOfTruth

func (this OrganizationPlanMilestone) GetSourceOfTruth() DataSource

func (OrganizationPlanMilestone) IsNode

func (OrganizationPlanMilestone) IsNode()

func (OrganizationPlanMilestone) IsSourceFields

func (OrganizationPlanMilestone) IsSourceFields()

type OrganizationPlanMilestoneInput

type OrganizationPlanMilestoneInput struct {
	OrganizationPlanID string    `json:"organizationPlanId"`
	Name               *string   `json:"name,omitempty"`
	Order              int64     `json:"order"`
	DueDate            time.Time `json:"dueDate"`
	CreatedAt          time.Time `json:"createdAt"`
	Optional           bool      `json:"optional"`
	Items              []string  `json:"items"`
	OrganizationID     string    `json:"organizationId"`
	Adhoc              bool      `json:"adhoc"`
}

type OrganizationPlanMilestoneItem

type OrganizationPlanMilestoneItem struct {
	Status    OnboardingPlanMilestoneItemStatus `json:"status"`
	UpdatedAt time.Time                         `json:"updatedAt"`
	Text      string                            `json:"text"`
	UUID      string                            `json:"uuid"`
}

type OrganizationPlanMilestoneItemInput

type OrganizationPlanMilestoneItemInput struct {
	Status    OnboardingPlanMilestoneItemStatus `json:"status"`
	UpdatedAt time.Time                         `json:"updatedAt"`
	Text      string                            `json:"text"`
	UUID      *string                           `json:"uuid,omitempty"`
}

type OrganizationPlanMilestoneReorderInput

type OrganizationPlanMilestoneReorderInput struct {
	OrganizationPlanID string   `json:"organizationPlanId"`
	OrganizationID     string   `json:"organizationId"`
	OrderedIds         []string `json:"orderedIds"`
}

type OrganizationPlanMilestoneStatusDetails

type OrganizationPlanMilestoneStatusDetails struct {
	Status    OnboardingPlanMilestoneStatus `json:"status"`
	UpdatedAt time.Time                     `json:"updatedAt"`
	Text      string                        `json:"text"`
}

type OrganizationPlanMilestoneStatusDetailsInput

type OrganizationPlanMilestoneStatusDetailsInput struct {
	Status    OnboardingPlanMilestoneStatus `json:"status"`
	UpdatedAt time.Time                     `json:"updatedAt"`
	Text      string                        `json:"text"`
}

type OrganizationPlanMilestoneUpdateInput

type OrganizationPlanMilestoneUpdateInput struct {
	OrganizationPlanID string                                       `json:"organizationPlanId"`
	ID                 string                                       `json:"id"`
	Name               *string                                      `json:"name,omitempty"`
	Order              *int64                                       `json:"order,omitempty"`
	DueDate            *time.Time                                   `json:"dueDate,omitempty"`
	UpdatedAt          time.Time                                    `json:"updatedAt"`
	Optional           *bool                                        `json:"optional,omitempty"`
	Retired            *bool                                        `json:"retired,omitempty"`
	Items              []*OrganizationPlanMilestoneItemInput        `json:"items,omitempty"`
	StatusDetails      *OrganizationPlanMilestoneStatusDetailsInput `json:"statusDetails,omitempty"`
	OrganizationID     string                                       `json:"organizationId"`
	Adhoc              *bool                                        `json:"adhoc,omitempty"`
}

type OrganizationPlanStatusDetails

type OrganizationPlanStatusDetails struct {
	Status    OnboardingPlanStatus `json:"status"`
	UpdatedAt time.Time            `json:"updatedAt"`
	Text      string               `json:"text"`
}

type OrganizationPlanStatusDetailsInput

type OrganizationPlanStatusDetailsInput struct {
	Status    OnboardingPlanStatus `json:"status"`
	UpdatedAt time.Time            `json:"updatedAt"`
	Text      string               `json:"text"`
}

type OrganizationPlanUpdateInput

type OrganizationPlanUpdateInput struct {
	ID             string                              `json:"id"`
	Name           *string                             `json:"name,omitempty"`
	Retired        *bool                               `json:"retired,omitempty"`
	StatusDetails  *OrganizationPlanStatusDetailsInput `json:"statusDetails,omitempty"`
	OrganizationID string                              `json:"organizationId"`
}

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 interface{}) error

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 interface{}) error

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"`
	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"`
	// 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 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 (this PageView) GetAppSource() string

func (PageView) GetID

func (this PageView) GetID() string

func (PageView) GetSource

func (this PageView) GetSource() DataSource

func (PageView) GetSourceOfTruth

func (this PageView) GetSourceOfTruth() DataSource

func (PageView) IsNode

func (PageView) IsNode()

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 interface{}) error

type PhoneNumber

type PhoneNumber struct {
	// The unique ID associated with the phone number.
	// **Required**
	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"`
	// Defines the type of phone number.
	Label *PhoneNumberLabel `json:"label,omitempty"`
	// Determines if the phone number is primary or not.
	// **Required**
	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"`
}

Describes a phone number associated with a `Contact` in customerOS. **A `return` object.**

type PhoneNumberInput

type PhoneNumberInput struct {
	// The phone number in e164 format.
	// **Required**
	PhoneNumber   string  `json:"phoneNumber"`
	CountryCodeA2 *string `json:"countryCodeA2,omitempty"`
	// Defines the type of phone number.
	Label *PhoneNumberLabel `json:"label,omitempty"`
	// Determines if the phone number is primary or not.
	// **Required**
	Primary *bool `json:"primary,omitempty"`
}

Describes a phone number associated with a `Contact` in customerOS. **A `create` object.**

type PhoneNumberLabel

type PhoneNumberLabel string

Defines the type of phone number. **A `response` object. **

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 interface{}) 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 PhoneNumberUpdateInput

type PhoneNumberUpdateInput struct {
	// The unique ID associated with the phone number.
	// **Required**
	ID string `json:"id"`
	// Defines the type of phone number.
	Label *PhoneNumberLabel `json:"label,omitempty"`
	// Determines if the phone number is primary or not.
	// **Required**
	Primary       *bool   `json:"primary,omitempty"`
	PhoneNumber   *string `json:"phoneNumber,omitempty"`
	CountryCodeA2 *string `json:"countryCodeA2,omitempty"`
}

Describes a phone number associated with a `Contact` in customerOS. **An `update` object.**

type Player

type Player struct {
	ID            string        `json:"id"`
	IdentityID    *string       `json:"identityId,omitempty"`
	AuthID        string        `json:"authId"`
	Users         []*PlayerUser `json:"users"`
	Provider      string        `json:"provider"`
	CreatedAt     time.Time     `json:"createdAt"`
	UpdatedAt     time.Time     `json:"updatedAt"`
	Source        DataSource    `json:"source"`
	SourceOfTruth DataSource    `json:"sourceOfTruth"`
	AppSource     string        `json:"appSource"`
}

type PlayerInput

type PlayerInput struct {
	IdentityID *string `json:"identityId,omitempty"`
	AuthID     string  `json:"authId"`
	Provider   string  `json:"provider"`
	AppSource  *string `json:"appSource,omitempty"`
}

type PlayerUpdate

type PlayerUpdate struct {
	IdentityID *string `json:"identityId,omitempty"`
	AppSource  *string `json:"appSource,omitempty"`
}

type PlayerUser

type PlayerUser struct {
	User    *User  `json:"user"`
	Default bool   `json:"default"`
	Tenant  string `json:"tenant"`
}

type PriceCalculation

type PriceCalculation struct {
	CalculationType        *CalculationType `json:"calculationType,omitempty"`
	RevenueSharePercentage float64          `json:"revenueSharePercentage"`
}

type PricingModel

type PricingModel string
const (
	PricingModelSubscription PricingModel = "SUBSCRIPTION"
	PricingModelOneTime      PricingModel = "ONE_TIME"
	PricingModelUsage        PricingModel = "USAGE"
)

func (PricingModel) IsValid

func (e PricingModel) IsValid() bool

func (PricingModel) MarshalGQL

func (e PricingModel) MarshalGQL(w io.Writer)

func (PricingModel) String

func (e PricingModel) String() string

func (*PricingModel) UnmarshalGQL

func (e *PricingModel) UnmarshalGQL(v interface{}) error

type Query

type Query struct {
}

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 (this Reminder) GetMetadata() *Metadata

func (Reminder) IsMetadataInterface

func (Reminder) IsMetadataInterface()

type ReminderInput

type ReminderInput struct {
	Content        string    `json:"content"`
	DueDate        time.Time `json:"dueDate"`
	OrganizationID string    `json:"organizationId"`
	UserID         string    `json:"userId"`
}

type ReminderUpdateInput

type ReminderUpdateInput struct {
	ID        string     `json:"id"`
	Content   *string    `json:"content,omitempty"`
	DueDate   *time.Time `json:"dueDate,omitempty"`
	Dismissed *bool      `json:"dismissed,omitempty"`
}

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 Role

type Role string
const (
	RoleUser          Role = "USER"
	RoleOwner         Role = "OWNER"
	RoleAdmin         Role = "ADMIN"
	RolePlatformOwner Role = "PLATFORM_OWNER"
)

func (Role) IsValid

func (e Role) IsValid() bool

func (Role) MarshalGQL

func (e Role) MarshalGQL(w io.Writer)

func (Role) String

func (e Role) String() string

func (*Role) UnmarshalGQL

func (e *Role) UnmarshalGQL(v interface{}) error

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"`
}

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 ServiceLineItemCloseInput

type ServiceLineItemCloseInput struct {
	ID           string     `json:"id"`
	EndedAt      *time.Time `json:"endedAt,omitempty"`
	ServiceEnded *time.Time `json:"serviceEnded,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 {
	ID            string     `json:"id"`
	URL           string     `json:"url"`
	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 (this Social) GetAppSource() string

func (Social) GetID

func (this Social) GetID() string

func (Social) GetSource

func (this Social) GetSource() DataSource

func (Social) GetSourceOfTruth

func (this Social) GetSourceOfTruth() DataSource

func (Social) IsNode

func (Social) IsNode()

func (Social) IsSourceFields

func (Social) IsSourceFields()

type SocialInput

type SocialInput struct {
	URL       string  `json:"url"`
	AppSource *string `json:"appSource,omitempty"`
}

type SocialUpdateInput

type SocialUpdateInput struct {
	ID  string `json:"id"`
	URL string `json:"url"`
}

type SortBy

type SortBy struct {
	By            string           `json:"by"`
	Direction     SortingDirection `json:"direction"`
	CaseSensitive *bool            `json:"caseSensitive,omitempty"`
}

type SortingDirection

type SortingDirection string
const (
	SortingDirectionAsc  SortingDirection = "ASC"
	SortingDirectionDesc SortingDirection = "DESC"
)

func (SortingDirection) IsValid

func (e SortingDirection) IsValid() bool

func (SortingDirection) MarshalGQL

func (e SortingDirection) MarshalGQL(w io.Writer)

func (SortingDirection) String

func (e SortingDirection) String() string

func (*SortingDirection) UnmarshalGQL

func (e *SortingDirection) UnmarshalGQL(v interface{}) error

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 State

type State struct {
	ID      string   `json:"id"`
	Country *Country `json:"country"`
	Name    string   `json:"name"`
	Code    string   `json:"code"`
}

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"
	TableIDTypeMyPortfolio       TableIDType = "MY_PORTFOLIO"
	TableIDTypeLeads             TableIDType = "LEADS"
	TableIDTypeNurture           TableIDType = "NURTURE"
	TableIDTypeChurn             TableIDType = "CHURN"
	TableIDTypeUpcomingInvoices  TableIDType = "UPCOMING_INVOICES"
	TableIDTypePastInvoices      TableIDType = "PAST_INVOICES"
	TableIDTypeMonthlyRenewals   TableIDType = "MONTHLY_RENEWALS"
	TableIDTypeQuarterlyRenewals TableIDType = "QUARTERLY_RENEWALS"
	TableIDTypeAnnualRenewals    TableIDType = "ANNUAL_RENEWALS"
)

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 interface{}) 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"`
	Sorting   string        `json:"sorting"`
	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"`
	Sorting   string             `json:"sorting"`
}

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"`
	Sorting string             `json:"sorting"`
}

type TableViewType

type TableViewType string
const (
	TableViewTypeOrganizations TableViewType = "ORGANIZATIONS"
	TableViewTypeInvoices      TableViewType = "INVOICES"
	TableViewTypeRenewals      TableViewType = "RENEWALS"
)

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 interface{}) error

type Tag

type Tag struct {
	ID        string     `json:"id"`
	Name      string     `json:"name"`
	CreatedAt time.Time  `json:"createdAt"`
	UpdatedAt time.Time  `json:"updatedAt"`
	Source    DataSource `json:"source"`
	AppSource string     `json:"appSource"`
}

type TagIDOrNameInput

type TagIDOrNameInput struct {
	ID   *string `json:"id,omitempty"`
	Name *string `json:"name,omitempty"`
}

type TagInput

type TagInput struct {
	Name      string  `json:"name"`
	AppSource *string `json:"appSource,omitempty"`
}

type TagUpdateInput

type TagUpdateInput struct {
	ID   string `json:"id"`
	Name string `json:"name"`
}

type Tax

type Tax struct {
	SalesTax bool    `json:"salesTax"`
	Vat      bool    `json:"vat"`
	TaxRate  float64 `json:"taxRate"`
}

type TaxInput

type TaxInput struct {
	TaxRate float64 `json:"taxRate"`
}

type TenantBillableInfo

type TenantBillableInfo struct {
	WhitelistedOrganizations int64 `json:"whitelistedOrganizations"`
	WhitelistedContacts      int64 `json:"whitelistedContacts"`
	GreylistedOrganizations  int64 `json:"greylistedOrganizations"`
	GreylistedContacts       int64 `json:"greylistedContacts"`
}

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 TenantInput struct {
	Name      string  `json:"name"`
	AppSource *string `json:"appSource,omitempty"`
}

type TenantSettings

type TenantSettings struct {
	LogoRepositoryFileID *string   `json:"logoRepositoryFileId,omitempty"`
	BaseCurrency         *Currency `json:"baseCurrency,omitempty"`
	BillingEnabled       bool      `json:"billingEnabled"`
	// Deprecated
	LogoURL string `json:"logoUrl"`
}

type TenantSettingsInput

type TenantSettingsInput struct {
	Patch                *bool     `json:"patch,omitempty"`
	LogoURL              *string   `json:"logoUrl,omitempty"`
	LogoRepositoryFileID *string   `json:"logoRepositoryFileId,omitempty"`
	BaseCurrency         *Currency `json:"baseCurrency,omitempty"`
	BillingEnabled       *bool     `json:"billingEnabled,omitempty"`
}

type TimeRange

type TimeRange struct {
	// The start time of the time range.
	// **Required.**
	From time.Time `json:"from"`
	// The end time of the time range.
	// **Required.**
	To time.Time `json:"to"`
}

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"
)

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 interface{}) 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"`
	Timezone        *string `json:"timezone,omitempty"`
	ProfilePhotoURL *string `json:"profilePhotoUrl,omitempty"`
	Player          *Player `json:"player"`
	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"`
	// 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"`
	// Player to associate with the user with. If the person does not exist, it will be created.
	// **Required**
	Player *PlayerInput `json:"player"`
	// 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 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

func (this UserPage) GetTotalElements() int64

The total number of elements included in the query response. **Required.**

func (UserPage) GetTotalPages

func (this UserPage) GetTotalPages() int

The total number of pages included in the query response. **Required.**

func (UserPage) IsPages

func (UserPage) IsPages()

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 Workspace

type Workspace struct {
	ID            string     `json:"id"`
	Name          string     `json:"name"`
	Provider      string     `json:"provider"`
	CreatedAt     time.Time  `json:"createdAt"`
	UpdatedAt     time.Time  `json:"updatedAt"`
	Source        DataSource `json:"source"`
	SourceOfTruth DataSource `json:"sourceOfTruth"`
	AppSource     string     `json:"appSource"`
}

type WorkspaceInput

type WorkspaceInput struct {
	Name      string  `json:"name"`
	Provider  string  `json:"provider"`
	AppSource *string `json:"appSource,omitempty"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL