dto

package
v0.0.0-...-9debc38 Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2025 License: Apache-2.0 Imports: 5 Imported by: 7

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AddActionToOrganization

type AddActionToOrganization struct {
	data_fields.ActionFields
}

type AddContactToOrganization

type AddContactToOrganization struct {
	ContactId      string     `json:"contactId"`
	OrganizationId string     `json:"organizationId"`
	JobTitle       string     `json:"jobTitle"`
	Description    string     `json:"description"`
	Primary        bool       `json:"primary"`
	StartedAt      *time.Time `json:"startedAt,omitempty"`
	EndedAt        *time.Time `json:"endedAt,omitempty"`
}

type AddDomain

type AddDomain struct {
	Domain string `json:"domain"`
}

func NewAddDomainEvent

func NewAddDomainEvent(domain string) AddDomain

type AddEmail

type AddEmail struct {
	Email   string `json:"email"`
	Primary bool   `json:"primary"`
}

func NewAddEmailEvent

func NewAddEmailEvent(email string, primary bool) AddEmail

type AddParentOrganization

type AddParentOrganization struct {
	ParentOrganizationId string `json:"parentOrganizationId"`
}

type AddSocialToContact

type AddSocialToContact struct {
	SocialId string `json:"socialId"`
	Social   string `json:"social"`
}

type AddSocialToOrganization

type AddSocialToOrganization struct {
	SocialId string `json:"socialId"`
	Social   string `json:"social"`
}

type AddSubOrganization

type AddSubOrganization struct {
	SubOrganizationId string `json:"subOrganizationId"`
}

type AddTag

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

func NewAddTagEvent

func NewAddTagEvent(id, name string) AddTag

type AddUserAssigneeToIssue

type AddUserAssigneeToIssue struct {
	UserID string `json:"userId"`
}

type AddUserFollowerToIssue

type AddUserFollowerToIssue struct {
	UserID string `json:"userId"`
}

type ChangeStatusForContract

type ChangeStatusForContract struct {
	Status string `json:"status"`
}

type CloseServiceLineItem

type CloseServiceLineItem struct {
	ServiceLineItemId string    `json:"serviceLineItemId,omitempty"`
	EndedAt           time.Time `json:"endedAt,omitempty"`
}

type CreateBankAccount

type CreateBankAccount struct {
	data_fields.BankAccountFields
}

type CreateComment

type CreateComment struct {
	data_fields.CommentFields
}

type CreateContact

type CreateContact struct {
	data_fields.ContactFields
}

type CreateContract

type CreateContract struct {
	data_fields.ContractSaveFields
}

type CreateCustomFieldTemplate

type CreateCustomFieldTemplate struct {
	Name        string   `json:"name"`
	EntityType  string   `json:"entityType"`
	Type        string   `json:"type"`
	ValidValues []string `json:"validValues"`
	Order       *int64   `json:"order,omitempty"`
	Required    *bool    `json:"required,omitempty"`
	Length      *int64   `json:"length,omitempty"`
	Min         *int64   `json:"min,omitempty"`
	Max         *int64   `json:"max,omitempty"`
}

type CreateDomain

type CreateDomain struct {
	Domain string `json:"domain"`
	Source string `json:"source"`
}

type CreateIssue

type CreateIssue struct {
	data_fields.IssueFields
}

type CreateLocation

type CreateLocation struct {
	data_fields.LocationFields
}

type CreateLogEntry

type CreateLogEntry struct {
	data_fields.LogEntryFields
}

type CreateOpportunity

type CreateOpportunity struct {
	data_fields.OpportunityFields
}

type CreateOrganization

type CreateOrganization struct {
	data_fields.OrganizationFields
}

type CreateServiceLineItem

type CreateServiceLineItem struct {
	data_fields.SLIFields
}

type CreateSocial

type CreateSocial struct {
	Url           string `json:"url"`
	Alias         string `json:"alias"`
	ExtId         string `json:"externalId"`
	FollowerCount int64  `json:"followerCount"`
}

type CreateTenantBillingProfile

type CreateTenantBillingProfile struct {
	data_fields.TenantBillingProfileFields
}

type CreateUser

type CreateUser struct {
	data_fields.UserFields
}

type Delete

type Delete struct{}

type DeleteBankAccount

type DeleteBankAccount struct {
	ID string `json:"id"`
}

type DeleteServiceLineItem

type DeleteServiceLineItem struct {
	ServiceLineItemId string `json:"serviceLineItemId,omitempty"`
}

type Event

type Event struct {
	Event    EventDetails  `json:"event"`
	Metadata EventMetadata `json:"metadata"`
}

type EventCompleted

type EventCompleted struct {
	Tenant     string           `json:"tenant"`
	EntityType model.EntityType `json:"entityType"`
	EntityIds  []string         `json:"entityIds"`
	Create     bool             `json:"create"`
	Update     bool             `json:"update"`
	Delete     bool             `json:"delete"`
}

type EventDetails

type EventDetails struct {
	Id         string           `json:"id"`
	Tenant     string           `json:"tenant"`
	EntityId   string           `json:"entityId"`
	EntityType model.EntityType `json:"entityType"`
	EventType  string           `json:"eventType"`
	Data       interface{}      `json:"data"`
}

type EventMetadata

type EventMetadata struct {
	UberTraceId string `json:"uber-trace-id"`
	AppSource   string `json:"appSource"`
	UserId      string `json:"userId"`
	UserEmail   string `json:"userEmail"`
	Timestamp   string `json:"timestamp"`
}

type FlowAgentEvent

type FlowAgentEvent struct {
	FlowExecutionId  string
	Tenant           string
	ExternalSystemId enum.Source
	SourceEvent      enum.FlowListenerEvent
	Name             enum.FlowAgent
	DataType         string
	Data             any
}

type FlowAgentExecutionResultEvent

type FlowAgentExecutionResultEvent struct {
	FlowExecutionID      string
	FlowAgentExecutionID string
	Tenant               string
	Status               string
	ErrorMessage         *string
	Data                 any
	DataType             string
}

type FlowComputeParticipantsRequirements

type FlowComputeParticipantsRequirements struct{}

type FlowOn

type FlowOn struct{}

type FlowParticipantGoalAchieved

type FlowParticipantGoalAchieved struct {
	ParticipantId   string           `json:"participantId"`
	ParticipantType model.EntityType `json:"participantType"`
}

type FlowParticipantSchedule

type FlowParticipantSchedule struct{}

type HideContact

type HideContact struct{}

type MailstackProvisionBuyRequest

type MailstackProvisionBuyRequest struct{}

type MailstackProvisionMailbox

type MailstackProvisionMailbox struct{}

type MergeOrganizations

type MergeOrganizations struct {
	SourceOrgId string `json:"sourceOrganizationId"`
	TargetOrgId string `json:"targetOrganizationId"`
}

type PauseServiceLineItem

type PauseServiceLineItem struct {
	ServiceLineItemId string `json:"serviceLineItemId,omitempty"`
}

type RegisterEmail

type RegisterEmail struct {
	Email  string `json:"email"`
	Source string `json:"source"`
}

func NewRegisterEmailEvent

func NewRegisterEmailEvent(email, source string) RegisterEmail

type RemoveDomain

type RemoveDomain struct {
	Domain string `json:"domain"`
}

type RemoveEmail

type RemoveEmail struct {
	Email string `json:"email"`
}

func NewRemoveEmailEvent

func NewRemoveEmailEvent(email string) RemoveEmail

type RemoveParentOrganization

type RemoveParentOrganization struct {
	ParentOrganizationId string `json:"parentOrganizationId"`
}

type RemoveSocialFromContact

type RemoveSocialFromContact struct {
	SocialId string `json:"socialId"`
	Social   string `json:"social"`
}

type RemoveSocialFromOrganization

type RemoveSocialFromOrganization struct {
	SocialId string `json:"socialId"`
	Social   string `json:"social"`
}

type RemoveSubOrganization

type RemoveSubOrganization struct {
	SubOrganizationId string `json:"subOrganizationId"`
}

type RemoveTag

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

func NewRemoveTagEvent

func NewRemoveTagEvent(id, name string) RemoveTag

type RemoveUserAssigneeFromIssue

type RemoveUserAssigneeFromIssue struct {
	UserID string `json:"userId"`
}

type RemoveUserFollowerFromIssue

type RemoveUserFollowerFromIssue struct {
	UserID string `json:"userId"`
}

type RequestEnrichContact

type RequestEnrichContact struct{}

type RequestEnrichOrganization

type RequestEnrichOrganization struct {
	Url string `json:"url"`
}

type RequestRefreshLastTouchpoint

type RequestRefreshLastTouchpoint struct{}

type RequestValidateEmail

type RequestValidateEmail struct {
}

type ResumeServiceLineItem

type ResumeServiceLineItem struct {
	ServiceLineItemId string `json:"serviceLineItemId,omitempty"`
}

type SaveJobRole

type SaveJobRole struct {
	data_fields.JobRoleFields
}

type SaveTag

type SaveTag struct {
	Name       *string `json:"name,omitempty"`
	ColorCode  *string `json:"colorCode,omitempty"`
	EntityType *string `json:"entityType,omitempty"`
}

type ShowContact

type ShowContact struct{}

type UpdateBankAccount

type UpdateBankAccount struct {
	data_fields.BankAccountFields
}

type UpdateComment

type UpdateComment struct {
	data_fields.CommentFields
}

type UpdateContact

type UpdateContact struct {
	data_fields.ContactFields
}

type UpdateContract

type UpdateContract struct {
	data_fields.ContractSaveFields
}

type UpdateCustomFieldTemplate

type UpdateCustomFieldTemplate struct {
	Name        *string   `json:"name,omitempty"`
	Type        *string   `json:"type,omitempty"`
	ValidValues *[]string `json:"validValues,omitempty"`
	Order       *int64    `json:"order,omitempty"`
	Required    *bool     `json:"required,omitempty"`
	Length      *int64    `json:"length,omitempty"`
	Min         *int64    `json:"min,omitempty"`
	Max         *int64    `json:"max,omitempty"`
}

type UpdateIssue

type UpdateIssue struct {
	data_fields.IssueFields
}

type UpdateLogEntry

type UpdateLogEntry struct {
	data_fields.LogEntryFields
}

type UpdateOpportunity

type UpdateOpportunity struct {
	data_fields.OpportunityFields
}

type UpdateOrganization

type UpdateOrganization struct {
	data_fields.OrganizationFields
}

type UpdateOrganizationOnboardingStatus

type UpdateOrganizationOnboardingStatus struct {
	data_fields.OrganizationOnboardingStatusFields
}

type UpdateServiceLineItem

type UpdateServiceLineItem struct {
	data_fields.SLIFields
}

type UpdateSocial

type UpdateSocial struct {
	Url           string `json:"url"`
	Alias         string `json:"alias"`
	ExternalId    string `json:"externalId"`
	FollowerCount int    `json:"followerCount"`
}

type UpdateSocialForContact

type UpdateSocialForContact struct {
	SocialId  string `json:"socialId"`
	SocialUrl string `json:"url"`
}

type UpdateSocialForOrganization

type UpdateSocialForOrganization struct {
	SocialId  string `json:"socialId"`
	SocialUrl string `json:"url"`
}

type UpdateTenantBillingProfile

type UpdateTenantBillingProfile struct {
	data_fields.TenantBillingProfileFields
}

type UpdateTenantSettings

type UpdateTenantSettings struct {
	data_fields.TenantSettingsFields
}

type UpdateUser

type UpdateUser struct {
	data_fields.UserFields
}

type UserLogin

type UserLogin struct {
	LoginEmail string `json:"loginEmail"`
	Provider   string `json:"provider"`
	IdentityId string `json:"identityId"`
}

type WebhookEvent

type WebhookEvent struct {
	ExternalSystemId enum.Source
	Name             enum.FlowListenerEvent
	DataType         string
	Data             interface{}
}

Source Files

Jump to

Keyboard shortcuts

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