Versions in this module Expand all Collapse all v1 v1.0.0 Jan 30, 2026 Changes in this version + const FolderAll + const FolderArchive + const FolderDrafts + const FolderInbox + const FolderSent + const FolderSpam + const FolderTrash + const HTTPIdleTimeout + const HTTPReadHeaderTimeout + const HTTPReadTimeout + const HTTPWriteTimeout + const NotetakerStateAttending + const NotetakerStateCancelled + const NotetakerStateComplete + const NotetakerStateConnecting + const NotetakerStateFailed + const NotetakerStateMediaProcessing + const NotetakerStateScheduled + const NotetakerStateWaitingForEntry + const TimeoutAI + const TimeoutAPI + const TimeoutBulkOperation + const TimeoutHealthCheck + const TimeoutMCP + const TimeoutOAuth + const TimeoutQuickCheck + const TriggerCalendarCreated + const TriggerCalendarDeleted + const TriggerCalendarUpdated + const TriggerContactCreated + const TriggerContactDeleted + const TriggerContactUpdated + const TriggerEventCreated + const TriggerEventDeleted + const TriggerEventUpdated + const TriggerFolderCreated + const TriggerFolderDeleted + const TriggerFolderUpdated + const TriggerGrantCreated + const TriggerGrantDeleted + const TriggerGrantExpired + const TriggerGrantIMAPSyncComplete + const TriggerGrantUpdated + const TriggerMessageBounceDetected + const TriggerMessageCreated + const TriggerMessageLinkClicked + const TriggerMessageOpened + const TriggerMessageOpenedTruncated + const TriggerMessageSendFailed + const TriggerMessageSendSuccess + const TriggerMessageUpdated + const TriggerNotetakerMedia + const TriggerThreadReplied + var ErrAPIError = errors.New("nylas API error") + var ErrAccountNotFound = errors.New("account not found") + var ErrApplicationNotFound = errors.New("application not found") + var ErrAttachmentNotFound = errors.New("attachment not found") + var ErrAuthFailed = errors.New("authentication failed") + var ErrAuthTimeout = errors.New("authentication timed out") + var ErrBookingNotFound = errors.New("booking not found") + var ErrCalendarNotFound = errors.New("calendar not found") + var ErrConfigInvalid = errors.New("config invalid") + var ErrConfigNotFound = errors.New("config not found") + var ErrConfigurationNotFound = errors.New("configuration not found") + var ErrConnectorNotFound = errors.New("connector not found") + var ErrContactNotFound = errors.New("contact not found") + var ErrCredentialNotFound = errors.New("credential not found") + var ErrDraftNotFound = errors.New("draft not found") + var ErrEventNotFound = errors.New("event not found") + var ErrFolderNotFound = errors.New("folder not found") + var ErrGrantNotFound = errors.New("grant not found") + var ErrInvalidGrant = errors.New("invalid or expired grant") + var ErrInvalidInput = errors.New("invalid input") + var ErrInvalidProvider = errors.New("invalid provider") + var ErrMessageNotFound = errors.New("message not found") + var ErrNetworkError = errors.New("network error") + var ErrNoDefaultGrant = errors.New("no default grant set") + var ErrNoMessages = errors.New("no messages found") + var ErrNotConfigured = errors.New("nylas not configured") + var ErrNotetakerNotFound = errors.New("notetaker not found") + var ErrOTPNotFound = errors.New("no OTP found in recent messages") + var ErrPageNotFound = errors.New("page not found") + var ErrSecretNotFound = errors.New("secret not found") + var ErrSecretStoreFailed = errors.New("secret store operation failed") + var ErrSessionNotFound = errors.New("session not found") + var ErrSlackAuthFailed = errors.New("slack authentication failed") + var ErrSlackChannelNotFound = errors.New("slack channel not found") + var ErrSlackMessageNotFound = errors.New("slack message not found") + var ErrSlackNotConfigured = errors.New("slack not configured") + var ErrSlackPermissionDenied = errors.New("slack permission denied") + var ErrSlackRateLimited = errors.New("slack rate limited") + var ErrTemplateNotFound = errors.New("template not found") + var ErrThreadNotFound = errors.New("thread not found") + var ErrTokenExpired = errors.New("token expired") + var ErrWebhookNotFound = errors.New("webhook not found") + var SupportedAirProviders = []Provider + func AllTriggerTypes() []string + func Each[T any](items []T, fn func(T)) + func Filter[T any](items []T, predicate FilterFunc[T]) []T + func Map[T, R any](items []T, fn MapFunc[T, R]) []R + func TriggerTypeCategories() map[string][]string + type AIConfig struct + Claude *ClaudeConfig + DefaultProvider string + Fallback *AIFallbackConfig + Features *FeaturesConfig + Groq *GroqConfig + Ollama *OllamaConfig + OpenAI *OpenAIConfig + OpenRouter *OpenRouterConfig + Privacy *PrivacyConfig + func DefaultAIConfig() *AIConfig + func (c *AIConfig) IsConfigured() bool + func (c *AIConfig) ValidateForProvider(provider string) error + type AIFallbackConfig struct + Enabled bool + Providers []string + type APIConfig struct + BaseURL string + type AcceptancePatterns struct + ByDayAndTime map[string]float64 + ByDayOfWeek map[string]float64 + ByTimeOfDay map[string]float64 + Overall float64 + type AdaptiveChangeType string + const ChangeTypeDeclineMeeting + const ChangeTypeIncreaseFocusTime + const ChangeTypeMoveMeetingLater + const ChangeTypeProtectBlock + const ChangeTypeRescheduleMeeting + const ChangeTypeShortenMeeting + type AdaptiveImpact struct + ConflictsResolved int + DurationSaved int + FocusTimeGained float64 + MeetingsDeclined int + MeetingsRescheduled int + ParticipantsAffected int + PredictedBenefit string + Risks []string + type AdaptiveScheduleChange struct + AffectedEvents []string + AutoApplied bool + ChangeType AdaptiveChangeType + Changes []ScheduleModification + Confidence float64 + ID string + Impact AdaptiveImpact + Reason string + Timestamp time.Time + Trigger AdaptiveTrigger + UserApproval ApprovalStatus + type AdaptiveTrigger string + const TriggerConflictDetected + const TriggerDeadlineChange + const TriggerFocusTimeAtRisk + const TriggerMeetingOverload + const TriggerPatternDetected + const TriggerPriorityShift + type AgendaItem struct + Decision bool + Description string + Duration int + Owner string + Source string + Title string + type AppearanceSettings struct + Color string + CompanyName string + Logo string + SubmitText string + ThankYouMessage string + type Application struct + ApplicationID string + BrandingSettings *BrandingSettings + CallbackURIs []CallbackURI + CreatedAt *UnixTime + Environment string + ID string + Metadata map[string]string + OrganizationID string + Region string + UpdatedAt *UnixTime + type ApprovalStatus string + const ApprovalApproved + const ApprovalDenied + const ApprovalExpired + const ApprovalPending + type Attachment struct + Content []byte + ContentID string + ContentType string + Filename string + GrantID string + ID string + IsInline bool + Size int64 + type AvailabilityBuffer struct + After int + Before int + type AvailabilityData struct + Order []string + TimeSlots []AvailableSlot + type AvailabilityParticipant struct + CalendarIDs []string + Email string + type AvailabilityRequest struct + DurationMinutes int + EndTime int64 + IntervalMinutes int + Participants []AvailabilityParticipant + RoundTo int + StartTime int64 + type AvailabilityResponse struct + Data AvailabilityData + type AvailabilityRules struct + AvailabilityMethod string + Buffer *AvailabilityBuffer + DurationMinutes int + IntervalMinutes int + RoundTo int + type AvailableSlot struct + Emails []string + EndTime int64 + StartTime int64 + type Booking struct + AdditionalFields map[string]any + BookingID string + Conferencing *ConferencingDetails + CreatedAt time.Time + Description string + EndTime time.Time + EventID string + Location string + Metadata map[string]string + Organizer Participant + Participants []Participant + StartTime time.Time + Status string + Timezone string + Title string + UpdatedAt time.Time + type BotConfig struct + AvatarURL string + Name string + type BrandingSettings struct + Description string + IconURL string + Name string + PrivacyPolicyURL string + TermsOfServiceURL string + WebsiteURL string + type BreakBlock struct + End string + Name string + Start string + Type string + func (b BreakBlock) Validate() error + type Calendar struct + Description string + GrantID string + HexColor string + ID string + IsOwner bool + IsPrimary bool + Location string + Name string + Object string + ReadOnly bool + Timezone string + type CalendarListResponse struct + Data []Calendar + Pagination Pagination + type CallbackURI struct + ID string + Platform string + URL string + type ChatMessage struct + Content string + Name string + Role string + type ChatRequest struct + MaxTokens int + Messages []ChatMessage + Model string + Stream bool + Temperature float64 + type ChatResponse struct + Content string + Model string + Provider string + ToolCalls []ToolCall + Usage TokenUsage + type ClaudeConfig struct + APIKey string + Model string + type ClickEvent struct + ClickID string + IPAddress string + LinkIndex int + Timestamp time.Time + URL string + UserAgent string + type Conferencing struct + Details *ConferencingDetails + Provider string + type ConferencingDetails struct + MeetingCode string + Password string + Phone []string + URL string + type ConferencingSettings struct + Autocreate bool + Details *ConferencingDetails + Provider string + type Config struct + AI *AIConfig + API *APIConfig + CallbackPort int + DefaultGrant string + Grants []GrantInfo + Region string + TUITheme string + WorkingHours *WorkingHoursConfig + func DefaultConfig() *Config + type ConfigStatus struct + ClientID string + ConfigPath string + DefaultGrant string + GrantCount int + HasAPIKey bool + HasClientSecret bool + IsConfigured bool + OrgID string + Region string + SecretStore string + type ConfigurationAvailability struct + CalendarIDs []string + OpenHours []OpenHours + type ConfigurationParticipant struct + Availability ConfigurationAvailability + Booking *ParticipantBooking + Email string + IsOrganizer bool + Name string + type ConfirmBookingRequest struct + AdditionalData map[string]any + Reason string + Status string + type Conflict struct + CanAutoResolve bool + ConflictingEvent *Event + Description string + ID string + Impact string + ProposedEvent *Event + Severity ConflictSeverity + Suggestion string + Type ConflictType + type ConflictAnalysis struct + AIRecommendation string + AlternativeTimes []RescheduleOption + CanProceed bool + HardConflicts []Conflict + ProposedEvent *Event + Recommendations []string + SoftConflicts []Conflict + TotalConflicts int + type ConflictSeverity string + const SeverityCritical + const SeverityHigh + const SeverityLow + const SeverityMedium + type ConflictType string + const ConflictTypeHard + const ConflictTypeSoftBackToBack + const ConflictTypeSoftFocusTime + const ConflictTypeSoftLowPriority + const ConflictTypeSoftOverload + const ConflictTypeSoftTravelTime + type Connector struct + CreatedAt *UnixTime + ID string + Name string + Provider string + Scopes []string + Settings *ConnectorSettings + UpdatedAt *UnixTime + type ConnectorCredential struct + ConnectorID string + CreatedAt *UnixTime + CredentialData map[string]any + CredentialType string + ID string + Name string + UpdatedAt *UnixTime + type ConnectorSettings struct + ClientID string + ClientSecret string + IMAPHost string + IMAPPort int + IMAPSecurity string + SMTPHost string + SMTPPort int + SMTPSecurity string + Tenant string + type Contact struct + Birthday string + CompanyName string + Emails []ContactEmail + GivenName string + GrantID string + Groups []ContactGroupInfo + ID string + IMAddresses []ContactIM + JobTitle string + ManagerName string + MiddleName string + Nickname string + Notes string + Object string + PhoneNumbers []ContactPhone + PhysicalAddresses []ContactAddress + Picture string + PictureURL string + Source string + Suffix string + Surname string + WebPages []ContactWebPage + func (c Contact) DisplayName() string + func (c Contact) PrimaryEmail() string + func (c Contact) PrimaryPhone() string + type ContactAddress struct + City string + Country string + PostalCode string + State string + StreetAddress string + Type string + type ContactEmail struct + Email string + Type string + type ContactGroup struct + GrantID string + ID string + Name string + Object string + Path string + type ContactGroupInfo struct + ID string + type ContactGroupListResponse struct + Data []ContactGroup + Pagination Pagination + type ContactIM struct + IMAddress string + Type string + type ContactListResponse struct + Data []Contact + Pagination Pagination + type ContactPhone struct + Number string + Type string + type ContactQueryParams struct + Email string + Group string + Limit int + PageToken string + PhoneNumber string + ProfilePicture bool + Recurse bool + Source string + type ContactWebPage struct + Type string + URL string + type CreateApplicationRequest struct + BrandingSettings *BrandingSettings + CallbackURIs []string + Metadata map[string]string + Name string + Region string + type CreateCalendarRequest struct + Description string + Location string + Name string + Timezone string + type CreateConnectorRequest struct + Name string + Provider string + Scopes []string + Settings *ConnectorSettings + type CreateContactGroupRequest struct + Name string + type CreateContactRequest struct + Birthday string + CompanyName string + Emails []ContactEmail + GivenName string + Groups []ContactGroupInfo + IMAddresses []ContactIM + JobTitle string + ManagerName string + MiddleName string + Nickname string + Notes string + PhoneNumbers []ContactPhone + PhysicalAddresses []ContactAddress + Suffix string + Surname string + WebPages []ContactWebPage + type CreateCredentialRequest struct + CredentialData map[string]any + CredentialType string + Name string + type CreateDraftRequest struct + Attachments []Attachment + Bcc []EmailParticipant + Body string + Cc []EmailParticipant + Metadata map[string]string + ReplyTo []EmailParticipant + ReplyToMsgID string + Subject string + To []EmailParticipant + type CreateEventRequest struct + Busy bool + CalendarID string + Conferencing *Conferencing + Description string + Location string + Metadata map[string]string + Participants []Participant + Recurrence []string + Reminders *Reminders + Title string + Visibility string + When EventWhen + type CreateFolderRequest struct + BackgroundColor string + Name string + ParentID string + TextColor string + type CreateInboundInboxRequest struct + Email string + type CreateNotetakerRequest struct + BotConfig *BotConfig + JoinTime int64 + MeetingLink string + type CreateSchedulerConfigurationRequest struct + AppearanceSettings *AppearanceSettings + Availability AvailabilityRules + EventBooking EventBooking + Name string + Participants []ConfigurationParticipant + RequiresSessionAuth bool + Scheduler SchedulerSettings + Slug string + type CreateSchedulerPageRequest struct + ConfigurationID string + CustomDomain string + Name string + Slug string + type CreateSchedulerSessionRequest struct + AdditionalFields map[string]any + ConfigurationID string + Slug string + TimeToLive int + type CreateVirtualCalendarGrantRequest struct + Provider string + Scope []string + Settings VirtualCalendarGrantSettings + type CreateWebhookRequest struct + Description string + NotificationEmailAddresses []string + TriggerTypes []string + WebhookURL string + type DSTTransition struct + Date time.Time + Direction string + IsDST bool + Name string + Offset int + type DSTWarning struct + DaysUntil int + Direction string + InDuplicateHour bool + InTransitionGap bool + IsNearTransition bool + Severity string + TransitionDate time.Time + TransitionName string + Warning string + type DateRange struct + End time.Time + Start time.Time + type DaySchedule struct + Breaks []BreakBlock + Enabled bool + End string + Start string + func DefaultWorkingHours() *DaySchedule + type DeduplicationRequest struct + AutoMerge bool + Contacts []Contact + FuzzyThreshold float64 + MatchFields []string + MergeStrategy string + type DeduplicationResult struct + DeduplicatedCount int + DuplicateGroups []DuplicateGroup + MergedContacts []Contact + OriginalCount int + type DeliverabilityIssue struct + Category string + Fix string + Message string + Severity string + type DeliverabilityReport struct + DKIMStatus string + DMARCStatus string + Issues []DeliverabilityIssue + MobileOptimized bool + Recommendations []string + SPFStatus string + Score int + SpamScore float64 + type Draft struct + Attachments []Attachment + Bcc []EmailParticipant + Body string + Cc []EmailParticipant + CreatedAt time.Time + From []EmailParticipant + GrantID string + ID string + ReplyTo []EmailParticipant + ReplyToMsgID string + Subject string + ThreadID string + To []EmailParticipant + UpdatedAt time.Time + type DraftListResponse struct + Data []Draft + Pagination Pagination + type DuplicateGroup struct + Contacts []Contact + MatchScore float64 + MatchedFields []string + Suggested *Contact + type DurationOptimization struct + Confidence float64 + CurrentDuration int + EventID string + HistoricalData DurationStats + Reason string + Recommendation string + RecommendedDuration int + TimeSavings int + type DurationPatterns struct + ByParticipant map[string]DurationStats + ByType map[string]DurationStats + Overall DurationStats + type DurationStats struct + AverageActual int + AverageScheduled int + OverrunRate float64 + Variance float64 + type EmailAnalysisRequest struct + IncludeAgenda bool + IncludeTime bool + ThreadID string + type EmailMessage struct + Attachments []Attachment + Bcc []string + Cc []string + From string + HTMLBody string + Headers map[string]string + Subject string + TextBody string + To []string + type EmailParticipant = Person + type EmailTemplate struct + Category string + CreatedAt time.Time + HTMLBody string + ID string + Metadata map[string]string + Name string + Subject string + TextBody string + UpdatedAt time.Time + UsageCount int + Variables []string + type EmailThreadAnalysis struct + Agenda *MeetingAgenda + BestMeetingTime *MeetingTimeSuggestion + MessageCount int + ParticipantCount int + Participants []ParticipantInfo + Priority MeetingPriority + Purpose string + Subject string + SuggestedDuration int + ThreadID string + Topics []string + UrgencyIndicators []string + type EmailValidation struct + Disposable bool + Email string + FormatValid bool + MXExists bool + Suggestion string + Valid bool + type Event struct + Busy bool + CalendarID string + Conferencing *Conferencing + CreatedAt time.Time + Description string + GrantID string + HtmlLink string + ICalUID string + ID string + Location string + MasterEventID string + Metadata map[string]string + Object string + Organizer *Participant + Participants []Participant + ReadOnly bool + Recurrence []string + Reminders *Reminders + Status string + Title string + UpdatedAt time.Time + Visibility string + When EventWhen + func (e Event) GetLockedTimezone() string + func (e Event) IsTimezoneLocked() bool + type EventBooking struct + BookingType string + Conferencing *ConferencingSettings + Description string + DisableEmails bool + Location string + Metadata map[string]string + ReminderMinutes []int + Timezone string + Title string + type EventListResponse struct + Data []Event + Pagination Pagination + type EventQueryParams struct + Busy *bool + CalendarID string + End int64 + ExpandRecurring bool + Limit int + Location string + MetadataPair string + OrderBy string + PageToken string + ShowCancelled bool + Start int64 + Title string + type EventWhen struct + Date string + EndDate string + EndTime int64 + EndTimezone string + Object string + StartDate string + StartTime int64 + StartTimezone string + func (w EventWhen) EndDateTime() time.Time + func (w EventWhen) IsAllDay() bool + func (w EventWhen) StartDateTime() time.Time + func (w EventWhen) Validate() error + type FeaturesConfig struct + ConflictResolution bool + EmailContextAnalysis bool + FocusTimeProtection bool + NaturalLanguageScheduling bool + PredictiveScheduling bool + type FilterFunc func(T) bool + type FocusProtectionRule struct + AllowCriticalMeeting bool + AlternativeTimes []string + AutoDecline bool + DeclineMessage string + RequireApproval bool + SuggestAlternatives bool + type FocusTimeAnalysis struct + AnalyzedPeriod DateRange + Confidence float64 + CurrentProtection float64 + DeepWorkSessions DurationStats + GeneratedAt time.Time + Insights []string + LeastProductiveDay string + MostProductiveDay string + PeakProductivity []TimeBlock + RecommendedBlocks []FocusTimeBlock + TargetProtection float64 + UserEmail string + type FocusTimeBlock struct + Conflicts int + DayOfWeek string + Duration int + EndTime string + Reason string + Score float64 + StartTime string + type FocusTimeNotificationPrefs struct + DailySummary bool + NotifyOnAdaptation bool + NotifyOnDecline bool + NotifyOnOverride bool + WeeklySummary bool + type FocusTimeSettings struct + AllowUrgentOverride bool + AutoBlock bool + AutoDecline bool + Enabled bool + ExcludedTimeRanges []TimeRange + MaxBlockDuration int + MinBlockDuration int + NotificationSettings FocusTimeNotificationPrefs + ProtectedDays []string + RequireApproval bool + TargetHoursPerWeek float64 + type Folder struct + Attributes []string + BackgroundColor string + ChildIDs []string + GrantID string + ID string + Name string + ParentID string + SystemFolder string + TextColor string + TotalCount int + UnreadCount int + type FolderListResponse struct + Data []Folder + Pagination Pagination + type FreeBusyCalendar struct + Email string + Object string + TimeSlots []TimeSlot + type FreeBusyRequest struct + Emails []string + EndTime int64 + StartTime int64 + type FreeBusyResponse struct + Data []FreeBusyCalendar + type Grant struct + AccessToken string + CreatedAt UnixTime + Email string + GrantStatus string + ID string + Provider Provider + RefreshToken string + Scope []string + UpdatedAt UnixTime + func (g *Grant) IsValid() bool + type GrantInfo struct + Email string + ID string + Provider Provider + type GrantStats struct + ByProvider map[string]int + ByStatus map[string]int + Invalid int + Revoked int + Total int + Valid int + type GrantStatus struct + Email string + Error string + ID string + IsDefault bool + Provider Provider + Status string + type GrantsQueryParams struct + ConnectorID string + Limit int + Offset int + Status string + type GroqConfig struct + APIKey string + Model string + type Header struct + Name string + Value string + type InboundInbox struct + CreatedAt UnixTime + Email string + GrantStatus string + ID string + UpdatedAt UnixTime + func (i *InboundInbox) IsValid() bool + type InboundMessage = Message + type InboundWebhookEvent struct + GrantID string + Message *InboundMessage + MessageID string + Source string + Type string + func (e *InboundWebhookEvent) IsInboundEvent() bool + type InvolvementLevel string + const InvolvementHigh + const InvolvementLow + const InvolvementMedium + type MapFunc func(T) R + type MediaData struct + Recording *MediaFile + Transcript *MediaFile + type MediaFile struct + ContentType string + ExpiresAt int64 + Size int64 + URL string + type MeetingAgenda struct + Duration int + Items []AgendaItem + Notes []string + Title string + type MeetingAnalysis struct + Insights []string + Patterns *MeetingPattern + Period DateRange + Recommendations []Recommendation + TotalMeetings int + type MeetingFinderRequest struct + DateRange DateRange + Duration time.Duration + ExcludeWeekends bool + TimeZones []string + WorkingHoursEnd string + WorkingHoursStart string + type MeetingInfo struct + MeetingCode string + Provider string + type MeetingMetadata struct + AvgRescheduleLead int + DeclineRate float64 + EventID string + HistoricalMoves int + IsRecurring bool + LastMoved time.Time + ParticipantCount int + Priority MeetingPriority + type MeetingPattern struct + Acceptance AcceptancePatterns + AnalyzedPeriod DateRange + Duration DurationPatterns + LastUpdated time.Time + Participants map[string]ParticipantPattern + Productivity ProductivityPatterns + Timezone TimezonePatterns + UserEmail string + type MeetingPriority string + const PriorityCritical + const PriorityFlexible + const PriorityHigh + const PriorityLow + const PriorityMedium + type MeetingScore struct + AlternativeTimes []time.Time + Confidence float64 + Factors []ScoreFactor + Recommendation string + Score int + SuccessRate float64 + type MeetingSlot struct + EndTime time.Time + Score float64 + StartTime time.Time + Times map[string]time.Time + type MeetingTimeSlots struct + Slots []MeetingSlot + TimeZones []string + TotalSlots int + type MeetingTimeSuggestion struct + Reasoning string + Score int + Time string + Timezone string + type Message struct + Attachments []Attachment + Bcc []EmailParticipant + Body string + Cc []EmailParticipant + CreatedAt time.Time + Date time.Time + Folders []string + From []EmailParticipant + GrantID string + Headers []Header + ID string + Metadata map[string]string + Object string + RawMIME string + ReplyTo []EmailParticipant + Snippet string + Starred bool + Subject string + ThreadID string + To []EmailParticipant + Unread bool + type MessageListResponse struct + Data []Message + Pagination Pagination + type MessageQueryParams struct + Bcc string + Cc string + Fields string + From string + HasAttachment *bool + In []string + Limit int + MetadataPair string + Offset int + PageToken string + ReceivedAfter int64 + ReceivedBefore int64 + SearchQuery string + Starred *bool + Subject string + ThreadID string + To string + Unread *bool + type Notetaker struct + BotConfig *BotConfig + CreatedAt time.Time + ID string + JoinTime time.Time + MediaData *MediaData + MeetingInfo *MeetingInfo + MeetingLink string + MeetingTitle string + Object string + State string + UpdatedAt time.Time + type NotetakerListResponse struct + Data []Notetaker + Pagination Pagination + type NotetakerQueryParams struct + Limit int + PageToken string + State string + type OTPResult struct + Code string + From string + MessageID string + Received time.Time + Subject string + type OllamaConfig struct + Host string + Model string + type OpenAIConfig struct + APIKey string + Model string + type OpenEvent struct + IPAddress string + OpenedID string + Timestamp time.Time + UserAgent string + type OpenHours struct + Days []int + End string + ExDates []string + Start string + Timezone string + type OpenRouterConfig struct + APIKey string + Model string + type OverrideRequest struct + AlternativesSuggested []time.Time + ApprovalStatus ApprovalStatus + ApprovedAt time.Time + ApprovedBy string + CreatedAt time.Time + ID string + IsUrgent bool + MeetingRequest *Event + Priority MeetingPriority + ProtectedBlockID string + Reason string + RequestedBy string + type Paginated interface + GetPagination func() Pagination + HasMore func() bool + type Pagination struct + HasMore bool + NextCursor string + type ParsedEmail struct + Attachments []Attachment + Bcc []string + Cc []string + Date time.Time + From string + HTMLBody string + Headers map[string]string + Subject string + TextBody string + To []string + type Participant struct + Comment string + Status string + type ParticipantBooking struct + CalendarID string + type ParticipantInfo struct + Email string + Involvement InvolvementLevel + LastMessageAt string + MentionCount int + MessageCount int + Name string + Required bool + type ParticipantPattern struct + AcceptanceRate float64 + AverageDuration int + Email string + MeetingCount int + PreferredDays []string + PreferredTimes []string + Timezone string + type PatternStore interface + DeletePattern func(userEmail string) error + LoadPattern func(userEmail string) (*MeetingPattern, error) + SavePattern func(pattern *MeetingPattern) error + type Person struct + Email string + Name string + func (p Person) DisplayName() string + func (p Person) String() string + type PrivacyConfig struct + AllowCloudAI bool + DataRetention int + LocalStorageOnly bool + type ProductivityPatterns struct + FocusBlocks []TimeBlock + LowEnergy []TimeBlock + MeetingDensity map[string]float64 + PeakFocus []TimeBlock + type ProtectedBlock struct + AllowOverride bool + CalendarEventID string + CreatedAt time.Time + Duration int + EndTime time.Time + ID string + IsRecurring bool + OverrideApproved bool + OverrideReason string + Priority MeetingPriority + ProtectionRules FocusProtectionRule + Reason string + RecurrencePattern string + StartTime time.Time + UpdatedAt time.Time + type Provider string + const ProviderGoogle + const ProviderIMAP + const ProviderInbox + const ProviderMicrosoft + const ProviderVirtual + func ParseProvider(s string) (Provider, error) + func (p Provider) DisplayName() string + func (p Provider) IsSupportedByAir() bool + func (p Provider) IsValid() bool + type Recommendation struct + Action string + Confidence float64 + Description string + Impact string + Priority string + Title string + Type string + type RecurringEventInfo struct + ExpandRecurring bool + MasterEventID string + OriginalStartTime *int64 + RecurrenceRule []string + type Reminder struct + ReminderMethod string + ReminderMinutes int + type Reminders struct + Overrides []Reminder + UseDefault bool + type ReplyEvent struct + MessageID string + RootMessageID string + ThreadID string + Timestamp time.Time + type RescheduleBookingRequest struct + EndTime int64 + Reason string + StartTime int64 + Timezone string + type RescheduleOption struct + AIInsight string + Confidence float64 + Conflicts []Conflict + Cons []string + EndTime time.Time + ParticipantMatch float64 + ProposedTime time.Time + Pros []string + Score int + type RescheduleRequest struct + AvoidDays []string + EventID string + MaxDelayDays int + MinNoticeDays int + MustInclude []string + NotifyParticipants bool + PreferredTimes []time.Time + Reason string + type RescheduleResult struct + CascadingChanges []string + Message string + NewEvent *Event + NotificationsSent int + OriginalEvent *Event + SelectedOption *RescheduleOption + Success bool + type Resource interface + GetID func() string + type ScheduleModification struct + Action string + Description string + EventID string + NewDuration int + NewStartTime time.Time + OldDuration int + OldStartTime time.Time + type ScheduledMessage struct + CloseTime int64 + ScheduleID string + Status string + type ScheduledMessageListResponse struct + Data []ScheduledMessage + type SchedulerConfiguration struct + AppearanceSettings *AppearanceSettings + Availability AvailabilityRules + CreatedAt *time.Time + EventBooking EventBooking + ID string + ModifiedAt *time.Time + Name string + Participants []ConfigurationParticipant + RequiresSessionAuth bool + Scheduler SchedulerSettings + Slug string + type SchedulerPage struct + ConfigurationID string + CreatedAt time.Time + CustomDomain string + ID string + ModifiedAt time.Time + Name string + Slug string + URL string + type SchedulerSession struct + BookingURL string + ConfigurationID string + CreatedAt time.Time + ExpiresAt time.Time + SessionID string + type SchedulerSettings struct + AdditionalFields map[string]any + AvailableDaysInFuture int + CancellationPolicy string + CancellationURL string + ConfirmationMethod string + MinBookingNotice int + MinCancellationNotice int + ReschedulingURL string + type ScoreFactor struct + Description string + Impact int + Name string + type SendMessageRequest struct + Attachments []Attachment + Bcc []EmailParticipant + Body string + Cc []EmailParticipant + From []EmailParticipant + Metadata map[string]string + ReplyTo []EmailParticipant + ReplyToMsgID string + SendAt int64 + Subject string + To []EmailParticipant + TrackingOpts *TrackingOptions + func (r SendMessageRequest) Validate() error + type SendRSVPRequest struct + Comment string + Status string + type SlackAttachment struct + Created int64 + DownloadURL string + FileType string + ID string + ImageHeight int + ImageWidth int + MimeType string + Name string + Permalink string + Size int64 + Thumb360 string + Thumb480 string + Title string + UserID string + type SlackAuth struct + TeamID string + TeamName string + UserEmail string + UserID string + UserName string + type SlackChannel struct + Created time.Time + ID string + IsArchived bool + IsChannel bool + IsExtShared bool + IsGroup bool + IsIM bool + IsMPIM bool + IsMember bool + IsOrgShared bool + IsPrivate bool + IsShared bool + LastActivity time.Time + MemberCount int + Name string + Purpose string + Topic string + func (c SlackChannel) ChannelDisplayName() string + func (c SlackChannel) ChannelType() string + type SlackChannelListResponse struct + Channels []SlackChannel + NextCursor string + type SlackChannelQueryParams struct + Cursor string + ExcludeArchived bool + Limit int + TeamID string + Types []string + type SlackFileListResponse struct + Files []SlackAttachment + NextCursor string + type SlackFileQueryParams struct + ChannelID string + Cursor string + Limit int + Types []string + UserID string + type SlackMessage struct + Attachments []SlackAttachment + ChannelID string + Edited bool + ID string + IsReply bool + Reactions []SlackReaction + ReplyCount int + Text string + ThreadTS string + Timestamp time.Time + UserID string + Username string + func (m SlackMessage) IsThread() bool + type SlackMessageListResponse struct + HasMore bool + Messages []SlackMessage + NextCursor string + type SlackMessageQueryParams struct + ChannelID string + Cursor string + Inclusive bool + Limit int + Newest time.Time + Oldest time.Time + type SlackReaction struct + Count int + Name string + Users []string + type SlackSendMessageRequest struct + Broadcast bool + ChannelID string + Text string + ThreadTS string + type SlackUser struct + Avatar string + CustomFields map[string]string + DisplayName string + Email string + ID string + IsAdmin bool + IsBot bool + Name string + Phone string + RealName string + Status string + StatusEmoji string + Timezone string + Title string + func (u SlackUser) BestDisplayName() string + type SlackUserListResponse struct + NextCursor string + Users []SlackUser + type SmartComposeRequest struct + Prompt string + type SmartComposeSuggestion struct + Suggestion string + type SpamAnalysis struct + IsSpam bool + Passed []string + Score float64 + Suggestions []string + Triggers []SpamTrigger + type SpamTrigger struct + Description string + Rule string + Score float64 + Severity string + type TemplateRequest struct + HTMLBody string + InlineCSS bool + Metadata map[string]string + Name string + Sanitize bool + Subject string + TextBody string + Variables []string + type Thread struct + DraftIDs []string + EarliestMessageDate time.Time + FolderIDs []string + GrantID string + HasAttachments bool + HasDrafts bool + ID string + LatestDraftOrMessage Message + LatestMessageRecvDate time.Time + LatestMessageSentDate time.Time + MessageIDs []string + Participants []EmailParticipant + Snippet string + Starred bool + Subject string + Unread bool + type ThreadListResponse struct + Data []Thread + Pagination Pagination + type ThreadQueryParams struct + From string + HasAttachment *bool + In []string + LatestMsgAfter int64 + LatestMsgBefore int64 + Limit int + Offset int + PageToken string + SearchQuery string + Starred *bool + Subject string + To string + Unread *bool + type TimeBlock struct + DayOfWeek string + EndTime string + Score float64 + StartTime string + type TimeRange struct + EndTime string + StartTime string + type TimeSlot struct + EndTime int64 + Object string + StartTime int64 + Status string + type TimeZoneInfo struct + Abbreviation string + IsDST bool + Name string + NextDST *time.Time + Offset int + type Timestamped interface + GetCreatedAt func() time.Time + GetUpdatedAt func() time.Time + type TimezonePatterns struct + CrossTZTimes []string + Distribution map[string]int + PreferredTimes map[string][]string + type TokenUsage struct + CompletionTokens int + PromptTokens int + TotalTokens int + type Tool struct + Description string + Name string + Parameters map[string]any + type ToolCall struct + Arguments map[string]any + Function string + ID string + type TrackingData struct + Clicks []ClickEvent + MessageID string + Opens []OpenEvent + Replies []ReplyEvent + type TrackingOptions struct + Label string + Links bool + Opens bool + type UnixTime struct + func (ut *UnixTime) UnmarshalJSON(data []byte) error + type UpdateApplicationRequest struct + BrandingSettings *BrandingSettings + CallbackURIs []string + Metadata map[string]string + Name *string + type UpdateCalendarRequest struct + Description *string + HexColor *string + Location *string + Name *string + Timezone *string + type UpdateConnectorRequest struct + Name *string + Scopes []string + Settings *ConnectorSettings + type UpdateContactGroupRequest struct + Name *string + type UpdateContactRequest struct + Birthday *string + CompanyName *string + Emails []ContactEmail + GivenName *string + Groups []ContactGroupInfo + IMAddresses []ContactIM + JobTitle *string + ManagerName *string + MiddleName *string + Nickname *string + Notes *string + PhoneNumbers []ContactPhone + PhysicalAddresses []ContactAddress + Suffix *string + Surname *string + WebPages []ContactWebPage + type UpdateCredentialRequest struct + CredentialData map[string]any + Name *string + type UpdateEventRequest struct + Busy *bool + Conferencing *Conferencing + Description *string + Location *string + Metadata map[string]string + Participants []Participant + Recurrence []string + Reminders *Reminders + Title *string + Visibility *string + When *EventWhen + type UpdateFolderRequest struct + BackgroundColor string + Name string + ParentID string + TextColor string + type UpdateMessageRequest struct + Folders []string + Starred *bool + Unread *bool + type UpdateRecurringEventRequest struct + MasterEventID string + type UpdateSchedulerConfigurationRequest struct + AppearanceSettings *AppearanceSettings + Availability *AvailabilityRules + EventBooking *EventBooking + Name *string + Participants []ConfigurationParticipant + RequiresSessionAuth *bool + Scheduler *SchedulerSettings + Slug *string + type UpdateSchedulerPageRequest struct + CustomDomain *string + Name *string + Slug *string + type UpdateWebhookRequest struct + Description string + NotificationEmailAddresses []string + Status string + TriggerTypes []string + WebhookURL string + type Validator interface + Validate func() error + type VirtualCalendarGrant struct + CreatedAt int64 + Email string + GrantStatus string + ID string + Provider string + UpdatedAt int64 + type VirtualCalendarGrantSettings struct + Email string + type Webhook struct + CreatedAt time.Time + Description string + ID string + NotificationEmailAddresses []string + Status string + StatusUpdatedAt time.Time + TriggerTypes []string + UpdatedAt time.Time + WebhookSecret string + WebhookURL string + type WebhookListResponse struct + Data []Webhook + Pagination Pagination + type WebhookMockPayloadRequest struct + TriggerType string + type WebhookPayload struct + Body []byte + Headers map[string]string + ID string + Method string + Signature string + Timestamp time.Time + URL string + Verified bool + type WebhookServerConfig struct + FilePath string + Headers map[string]string + Host string + PersistentURL string + Port int + SaveToFile bool + Secret string + ValidateSignature bool + type WebhookTestRequest struct + WebhookURL string + type WorkingHoursConfig struct + Default *DaySchedule + Friday *DaySchedule + Monday *DaySchedule + Saturday *DaySchedule + Sunday *DaySchedule + Thursday *DaySchedule + Tuesday *DaySchedule + Wednesday *DaySchedule + Weekend *DaySchedule + func (w *WorkingHoursConfig) GetScheduleForDay(weekday string) *DaySchedule