import * as Apollo from '@apollo/client'; import { gql } from '@apollo/client'; export type Maybe = T | null; export type InputMaybe = Maybe; export type Exact = { [K in keyof T]: T[K] }; export type MakeOptional = Omit & { [SubKey in K]?: Maybe }; export type MakeMaybe = Omit & { [SubKey in K]: Maybe }; const defaultOptions = {} as const; /** All built-in and custom scalars, mapped to their actual values */ export type Scalars = { ID: string; String: string; Boolean: boolean; Int: number; Float: number; BigFloat: any; ConnectionCursor: any; Cursor: any; Date: any; DateTime: any; JSON: any; Position: any; RawJSONScalar: any; UUID: any; Upload: any; }; export type ActivateWorkspaceInput = { displayName?: InputMaybe; }; /** An activity */ export type Activity = { /** Activity targets */ activityTargets?: Maybe; /** Activity assignee */ assignee?: Maybe; /** Activity assignee id foreign key */ assigneeId?: Maybe; /** Activity attachments */ attachments?: Maybe; /** Activity author */ author?: Maybe; /** Activity author id foreign key */ authorId?: Maybe; /** Activity body */ body?: Maybe; /** Activity comments */ comments?: Maybe; /** Activity completion date */ completedAt?: Maybe; /** Creation date */ createdAt?: Maybe; /** Activity due date */ dueAt?: Maybe; /** Id */ id?: Maybe; /** Activity reminder date */ reminderAt?: Maybe; /** Activity title */ title?: Maybe; /** Activity type */ type?: Maybe; /** Update date */ updatedAt?: Maybe; }; /** An activity */ export type ActivityActivityTargetsArgs = { after?: InputMaybe; before?: InputMaybe; filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; limit?: InputMaybe; orderBy?: InputMaybe>>; }; /** An activity */ export type ActivityAttachmentsArgs = { after?: InputMaybe; before?: InputMaybe; filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; limit?: InputMaybe; orderBy?: InputMaybe>>; }; /** An activity */ export type ActivityCommentsArgs = { after?: InputMaybe; before?: InputMaybe; filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; limit?: InputMaybe; orderBy?: InputMaybe>>; }; /** An activity */ export type ActivityConnection = { edges?: Maybe>; pageInfo?: Maybe; /** Total number of records in the connection */ totalCount?: Maybe; }; /** An activity */ export type ActivityCreateInput = { /** Activity assignee id foreign key */ assigneeId?: InputMaybe; /** Activity author id foreign key */ authorId?: InputMaybe; /** Activity body */ body?: InputMaybe; /** Activity completion date */ completedAt?: InputMaybe; /** Creation date */ createdAt?: InputMaybe; /** Activity due date */ dueAt?: InputMaybe; /** Id */ id?: InputMaybe; /** Activity reminder date */ reminderAt?: InputMaybe; /** Activity title */ title?: InputMaybe; /** Activity type */ type?: InputMaybe; /** Update date */ updatedAt?: InputMaybe; }; /** An activity */ export type ActivityEdge = { cursor?: Maybe; node?: Maybe; }; /** An activity */ export type ActivityFilterInput = { and?: InputMaybe>>; /** Activity assignee id foreign key */ assigneeId?: InputMaybe; /** Activity author id foreign key */ authorId?: InputMaybe; /** Activity body */ body?: InputMaybe; /** Activity completion date */ completedAt?: InputMaybe; /** Creation date */ createdAt?: InputMaybe; /** Activity due date */ dueAt?: InputMaybe; /** Id */ id?: InputMaybe; not?: InputMaybe; or?: InputMaybe>>; /** Activity reminder date */ reminderAt?: InputMaybe; /** Activity title */ title?: InputMaybe; /** Activity type */ type?: InputMaybe; /** Update date */ updatedAt?: InputMaybe; }; /** An activity */ export type ActivityOrderByInput = { /** Activity assignee id foreign key */ assigneeId?: InputMaybe; /** Activity author id foreign key */ authorId?: InputMaybe; /** Activity body */ body?: InputMaybe; /** Activity completion date */ completedAt?: InputMaybe; /** Creation date */ createdAt?: InputMaybe; /** Activity due date */ dueAt?: InputMaybe; /** Id */ id?: InputMaybe; /** Activity reminder date */ reminderAt?: InputMaybe; /** Activity title */ title?: InputMaybe; /** Activity type */ type?: InputMaybe; /** Update date */ updatedAt?: InputMaybe; }; /** An activity target */ export type ActivityTarget = { /** ActivityTarget activity */ activity?: Maybe; /** ActivityTarget activity id foreign key */ activityId?: Maybe; /** ActivityTarget company */ company?: Maybe; /** ActivityTarget company id foreign key */ companyId?: Maybe; /** Creation date */ createdAt?: Maybe; /** Id */ id?: Maybe; /** ActivityTarget opportunity */ opportunity?: Maybe; /** ActivityTarget opportunity id foreign key */ opportunityId?: Maybe; /** ActivityTarget person */ person?: Maybe; /** ActivityTarget person id foreign key */ personId?: Maybe; /** Update date */ updatedAt?: Maybe; }; /** An activity target */ export type ActivityTargetConnection = { edges?: Maybe>; pageInfo?: Maybe; /** Total number of records in the connection */ totalCount?: Maybe; }; /** An activity target */ export type ActivityTargetCreateInput = { /** ActivityTarget activity id foreign key */ activityId?: InputMaybe; /** ActivityTarget company id foreign key */ companyId?: InputMaybe; /** Creation date */ createdAt?: InputMaybe; /** Id */ id?: InputMaybe; /** ActivityTarget opportunity id foreign key */ opportunityId?: InputMaybe; /** ActivityTarget person id foreign key */ personId?: InputMaybe; /** Update date */ updatedAt?: InputMaybe; }; /** An activity target */ export type ActivityTargetEdge = { cursor?: Maybe; node?: Maybe; }; /** An activity target */ export type ActivityTargetFilterInput = { /** ActivityTarget activity id foreign key */ activityId?: InputMaybe; and?: InputMaybe>>; /** ActivityTarget company id foreign key */ companyId?: InputMaybe; /** Creation date */ createdAt?: InputMaybe; /** Id */ id?: InputMaybe; not?: InputMaybe; /** ActivityTarget opportunity id foreign key */ opportunityId?: InputMaybe; or?: InputMaybe>>; /** ActivityTarget person id foreign key */ personId?: InputMaybe; /** Update date */ updatedAt?: InputMaybe; }; /** An activity target */ export type ActivityTargetOrderByInput = { /** ActivityTarget activity id foreign key */ activityId?: InputMaybe; /** ActivityTarget company id foreign key */ companyId?: InputMaybe; /** Creation date */ createdAt?: InputMaybe; /** Id */ id?: InputMaybe; /** ActivityTarget opportunity id foreign key */ opportunityId?: InputMaybe; /** ActivityTarget person id foreign key */ personId?: InputMaybe; /** Update date */ updatedAt?: InputMaybe; }; /** An activity target */ export type ActivityTargetUpdateInput = { /** ActivityTarget activity id foreign key */ activityId?: InputMaybe; /** ActivityTarget company id foreign key */ companyId?: InputMaybe; /** Creation date */ createdAt?: InputMaybe; /** Id */ id?: InputMaybe; /** ActivityTarget opportunity id foreign key */ opportunityId?: InputMaybe; /** ActivityTarget person id foreign key */ personId?: InputMaybe; /** Update date */ updatedAt?: InputMaybe; }; /** An activity */ export type ActivityUpdateInput = { /** Activity assignee id foreign key */ assigneeId?: InputMaybe; /** Activity author id foreign key */ authorId?: InputMaybe; /** Activity body */ body?: InputMaybe; /** Activity completion date */ completedAt?: InputMaybe; /** Creation date */ createdAt?: InputMaybe; /** Activity due date */ dueAt?: InputMaybe; /** Id */ id?: InputMaybe; /** Activity reminder date */ reminderAt?: InputMaybe; /** Activity title */ title?: InputMaybe; /** Activity type */ type?: InputMaybe; /** Update date */ updatedAt?: InputMaybe; }; export type Address = { addressCity?: Maybe; addressCountry?: Maybe; addressLat?: Maybe; addressLng?: Maybe; addressPostcode?: Maybe; addressState?: Maybe; addressStreet1?: Maybe; addressStreet2?: Maybe; }; export type AddressCreateInput = { addressCity?: InputMaybe; addressCountry?: InputMaybe; addressLat?: InputMaybe; addressLng?: InputMaybe; addressPostcode?: InputMaybe; addressState?: InputMaybe; addressStreet1?: InputMaybe; addressStreet2?: InputMaybe; }; export type AddressFilterInput = { addressCity?: InputMaybe; addressCountry?: InputMaybe; addressLat?: InputMaybe; addressLng?: InputMaybe; addressPostcode?: InputMaybe; addressState?: InputMaybe; addressStreet1?: InputMaybe; addressStreet2?: InputMaybe; }; export type AddressOrderByInput = { addressCity?: InputMaybe; addressCountry?: InputMaybe; addressLat?: InputMaybe; addressLng?: InputMaybe; addressPostcode?: InputMaybe; addressState?: InputMaybe; addressStreet1?: InputMaybe; addressStreet2?: InputMaybe; }; export type AddressUpdateInput = { addressCity?: InputMaybe; addressCountry?: InputMaybe; addressLat?: InputMaybe; addressLng?: InputMaybe; addressPostcode?: InputMaybe; addressState?: InputMaybe; addressStreet1?: InputMaybe; addressStreet2?: InputMaybe; }; export type Analytics = { /** Boolean that confirms query was dispatched */ success: Scalars['Boolean']; }; export type ApiConfig = { mutationMaximumAffectedRecords: Scalars['Float']; }; /** An api key */ export type ApiKey = { /** Creation date */ createdAt?: Maybe; /** ApiKey expiration date */ expiresAt?: Maybe; /** Id */ id?: Maybe; /** ApiKey name */ name?: Maybe; /** ApiKey revocation date */ revokedAt?: Maybe; /** Update date */ updatedAt?: Maybe; }; /** An api key */ export type ApiKeyConnection = { edges?: Maybe>; pageInfo?: Maybe; /** Total number of records in the connection */ totalCount?: Maybe; }; /** An api key */ export type ApiKeyCreateInput = { /** Creation date */ createdAt?: InputMaybe; /** ApiKey expiration date */ expiresAt: Scalars['DateTime']; /** Id */ id?: InputMaybe; /** ApiKey name */ name?: InputMaybe; /** ApiKey revocation date */ revokedAt?: InputMaybe; /** Update date */ updatedAt?: InputMaybe; }; /** An api key */ export type ApiKeyEdge = { cursor?: Maybe; node?: Maybe; }; /** An api key */ export type ApiKeyFilterInput = { and?: InputMaybe>>; /** Creation date */ createdAt?: InputMaybe; /** ApiKey expiration date */ expiresAt?: InputMaybe; /** Id */ id?: InputMaybe; /** ApiKey name */ name?: InputMaybe; not?: InputMaybe; or?: InputMaybe>>; /** ApiKey revocation date */ revokedAt?: InputMaybe; /** Update date */ updatedAt?: InputMaybe; }; /** An api key */ export type ApiKeyOrderByInput = { /** Creation date */ createdAt?: InputMaybe; /** ApiKey expiration date */ expiresAt?: InputMaybe; /** Id */ id?: InputMaybe; /** ApiKey name */ name?: InputMaybe; /** ApiKey revocation date */ revokedAt?: InputMaybe; /** Update date */ updatedAt?: InputMaybe; }; export type ApiKeyToken = { token: Scalars['String']; }; /** An api key */ export type ApiKeyUpdateInput = { /** Creation date */ createdAt?: InputMaybe; /** ApiKey expiration date */ expiresAt?: InputMaybe; /** Id */ id?: InputMaybe; /** ApiKey name */ name?: InputMaybe; /** ApiKey revocation date */ revokedAt?: InputMaybe; /** Update date */ updatedAt?: InputMaybe; }; export type AppToken = { createdAt: Scalars['DateTime']; expiresAt: Scalars['DateTime']; id: Scalars['UUID']; type: Scalars['String']; updatedAt: Scalars['DateTime']; }; export type AppTokenEdge = { /** Cursor for this node. */ cursor: Scalars['ConnectionCursor']; /** The node containing the AppToken */ node: AppToken; }; /** An attachment */ export type Attachment = { /** Attachment activity */ activity?: Maybe; /** Attachment activity id foreign key */ activityId?: Maybe; /** Attachment author */ author?: Maybe; /** Attachment author id foreign key */ authorId?: Maybe; /** Attachment company */ company?: Maybe; /** Attachment company id foreign key */ companyId?: Maybe; /** Creation date */ createdAt?: Maybe; /** Attachment full path */ fullPath?: Maybe; /** Id */ id?: Maybe; /** Attachment name */ name?: Maybe; /** Attachment opportunity */ opportunity?: Maybe; /** Attachment opportunity id foreign key */ opportunityId?: Maybe; /** Attachment person */ person?: Maybe; /** Attachment person id foreign key */ personId?: Maybe; /** Attachment type */ type?: Maybe; /** Update date */ updatedAt?: Maybe; }; /** An attachment */ export type AttachmentConnection = { edges?: Maybe>; pageInfo?: Maybe; /** Total number of records in the connection */ totalCount?: Maybe; }; /** An attachment */ export type AttachmentCreateInput = { /** Attachment activity id foreign key */ activityId?: InputMaybe; /** Attachment author id foreign key */ authorId: Scalars['UUID']; /** Attachment company id foreign key */ companyId?: InputMaybe; /** Creation date */ createdAt?: InputMaybe; /** Attachment full path */ fullPath?: InputMaybe; /** Id */ id?: InputMaybe; /** Attachment name */ name?: InputMaybe; /** Attachment opportunity id foreign key */ opportunityId?: InputMaybe; /** Attachment person id foreign key */ personId?: InputMaybe; /** Attachment type */ type?: InputMaybe; /** Update date */ updatedAt?: InputMaybe; }; /** An attachment */ export type AttachmentEdge = { cursor?: Maybe; node?: Maybe; }; /** An attachment */ export type AttachmentFilterInput = { /** Attachment activity id foreign key */ activityId?: InputMaybe; and?: InputMaybe>>; /** Attachment author id foreign key */ authorId?: InputMaybe; /** Attachment company id foreign key */ companyId?: InputMaybe; /** Creation date */ createdAt?: InputMaybe; /** Attachment full path */ fullPath?: InputMaybe; /** Id */ id?: InputMaybe; /** Attachment name */ name?: InputMaybe; not?: InputMaybe; /** Attachment opportunity id foreign key */ opportunityId?: InputMaybe; or?: InputMaybe>>; /** Attachment person id foreign key */ personId?: InputMaybe; /** Attachment type */ type?: InputMaybe; /** Update date */ updatedAt?: InputMaybe; }; /** An attachment */ export type AttachmentOrderByInput = { /** Attachment activity id foreign key */ activityId?: InputMaybe; /** Attachment author id foreign key */ authorId?: InputMaybe; /** Attachment company id foreign key */ companyId?: InputMaybe; /** Creation date */ createdAt?: InputMaybe; /** Attachment full path */ fullPath?: InputMaybe; /** Id */ id?: InputMaybe; /** Attachment name */ name?: InputMaybe; /** Attachment opportunity id foreign key */ opportunityId?: InputMaybe; /** Attachment person id foreign key */ personId?: InputMaybe; /** Attachment type */ type?: InputMaybe; /** Update date */ updatedAt?: InputMaybe; }; /** An attachment */ export type AttachmentUpdateInput = { /** Attachment activity id foreign key */ activityId?: InputMaybe; /** Attachment author id foreign key */ authorId?: InputMaybe; /** Attachment company id foreign key */ companyId?: InputMaybe; /** Creation date */ createdAt?: InputMaybe; /** Attachment full path */ fullPath?: InputMaybe; /** Id */ id?: InputMaybe; /** Attachment name */ name?: InputMaybe; /** Attachment opportunity id foreign key */ opportunityId?: InputMaybe; /** Attachment person id foreign key */ personId?: InputMaybe; /** Attachment type */ type?: InputMaybe; /** Update date */ updatedAt?: InputMaybe; }; /** An audit log of actions performed in the system */ export type AuditLog = { /** Json object to provide context (user, device, workspace, etc.) */ context?: Maybe; /** Creation date */ createdAt?: Maybe; /** Id */ id?: Maybe; /** Event name/type */ name?: Maybe; /** If the event is related to a particular object */ objectMetadataId?: Maybe; /** If the event is related to a particular object */ objectName?: Maybe; /** Json value for event details */ properties?: Maybe; /** Event name/type */ recordId?: Maybe; /** Update date */ updatedAt?: Maybe; /** Event workspace member */ workspaceMember?: Maybe; /** Event workspace member id foreign key */ workspaceMemberId?: Maybe; }; /** An audit log of actions performed in the system */ export type AuditLogConnection = { edges?: Maybe>; pageInfo?: Maybe; /** Total number of records in the connection */ totalCount?: Maybe; }; /** An audit log of actions performed in the system */ export type AuditLogCreateInput = { /** Json object to provide context (user, device, workspace, etc.) */ context?: InputMaybe; /** Creation date */ createdAt?: InputMaybe; /** Id */ id?: InputMaybe; /** Event name/type */ name?: InputMaybe; /** If the event is related to a particular object */ objectMetadataId?: InputMaybe; /** If the event is related to a particular object */ objectName?: InputMaybe; /** Json value for event details */ properties?: InputMaybe; /** Event name/type */ recordId?: InputMaybe; /** Update date */ updatedAt?: InputMaybe; /** Event workspace member id foreign key */ workspaceMemberId?: InputMaybe; }; /** An audit log of actions performed in the system */ export type AuditLogEdge = { cursor?: Maybe; node?: Maybe; }; /** An audit log of actions performed in the system */ export type AuditLogFilterInput = { and?: InputMaybe>>; /** Json object to provide context (user, device, workspace, etc.) */ context?: InputMaybe; /** Creation date */ createdAt?: InputMaybe; /** Id */ id?: InputMaybe; /** Event name/type */ name?: InputMaybe; not?: InputMaybe; /** If the event is related to a particular object */ objectMetadataId?: InputMaybe; /** If the event is related to a particular object */ objectName?: InputMaybe; or?: InputMaybe>>; /** Json value for event details */ properties?: InputMaybe; /** Event name/type */ recordId?: InputMaybe; /** Update date */ updatedAt?: InputMaybe; /** Event workspace member id foreign key */ workspaceMemberId?: InputMaybe; }; /** An audit log of actions performed in the system */ export type AuditLogOrderByInput = { /** Json object to provide context (user, device, workspace, etc.) */ context?: InputMaybe; /** Creation date */ createdAt?: InputMaybe; /** Id */ id?: InputMaybe; /** Event name/type */ name?: InputMaybe; /** If the event is related to a particular object */ objectMetadataId?: InputMaybe; /** If the event is related to a particular object */ objectName?: InputMaybe; /** Json value for event details */ properties?: InputMaybe; /** Event name/type */ recordId?: InputMaybe; /** Update date */ updatedAt?: InputMaybe; /** Event workspace member id foreign key */ workspaceMemberId?: InputMaybe; }; /** An audit log of actions performed in the system */ export type AuditLogUpdateInput = { /** Json object to provide context (user, device, workspace, etc.) */ context?: InputMaybe; /** Creation date */ createdAt?: InputMaybe; /** Id */ id?: InputMaybe; /** Event name/type */ name?: InputMaybe; /** If the event is related to a particular object */ objectMetadataId?: InputMaybe; /** If the event is related to a particular object */ objectName?: InputMaybe; /** Json value for event details */ properties?: InputMaybe; /** Event name/type */ recordId?: InputMaybe; /** Update date */ updatedAt?: InputMaybe; /** Event workspace member id foreign key */ workspaceMemberId?: InputMaybe; }; export type AuthProviders = { google: Scalars['Boolean']; magicLink: Scalars['Boolean']; microsoft: Scalars['Boolean']; password: Scalars['Boolean']; }; export type AuthToken = { expiresAt: Scalars['DateTime']; token: Scalars['String']; }; export type AuthTokenPair = { accessToken: AuthToken; refreshToken: AuthToken; }; export type AuthTokens = { tokens: AuthTokenPair; }; export type AuthorizeApp = { redirectUrl: Scalars['String']; }; export type BigFloatFilter = { eq?: InputMaybe; gt?: InputMaybe; gte?: InputMaybe; in?: InputMaybe>; is?: InputMaybe; lt?: InputMaybe; lte?: InputMaybe; neq?: InputMaybe; }; export type Billing = { billingFreeTrialDurationInDays?: Maybe; billingUrl?: Maybe; isBillingEnabled: Scalars['Boolean']; }; export type BillingSubscription = { id: Scalars['UUID']; interval?: Maybe; status: SubscriptionStatus; }; export type BillingSubscriptionFilter = { and?: InputMaybe>; id?: InputMaybe; or?: InputMaybe>; }; export type BillingSubscriptionSort = { direction: SortDirection; field: BillingSubscriptionSortFields; nulls?: InputMaybe; }; export enum BillingSubscriptionSortFields { Id = 'id' } /** Blocklist */ export type Blocklist = { /** Creation date */ createdAt?: Maybe; /** Handle */ handle?: Maybe; /** Id */ id?: Maybe; /** Update date */ updatedAt?: Maybe; /** WorkspaceMember */ workspaceMember?: Maybe; /** WorkspaceMember id foreign key */ workspaceMemberId?: Maybe; }; /** Blocklist */ export type BlocklistConnection = { edges?: Maybe>; pageInfo?: Maybe; /** Total number of records in the connection */ totalCount?: Maybe; }; /** Blocklist */ export type BlocklistCreateInput = { /** Creation date */ createdAt?: InputMaybe; /** Handle */ handle?: InputMaybe; /** Id */ id?: InputMaybe; /** Update date */ updatedAt?: InputMaybe; /** WorkspaceMember id foreign key */ workspaceMemberId: Scalars['UUID']; }; /** Blocklist */ export type BlocklistEdge = { cursor?: Maybe; node?: Maybe; }; /** Blocklist */ export type BlocklistFilterInput = { and?: InputMaybe>>; /** Creation date */ createdAt?: InputMaybe; /** Handle */ handle?: InputMaybe; /** Id */ id?: InputMaybe; not?: InputMaybe; or?: InputMaybe>>; /** Update date */ updatedAt?: InputMaybe; /** WorkspaceMember id foreign key */ workspaceMemberId?: InputMaybe; }; /** Blocklist */ export type BlocklistOrderByInput = { /** Creation date */ createdAt?: InputMaybe; /** Handle */ handle?: InputMaybe; /** Id */ id?: InputMaybe; /** Update date */ updatedAt?: InputMaybe; /** WorkspaceMember id foreign key */ workspaceMemberId?: InputMaybe; }; /** Blocklist */ export type BlocklistUpdateInput = { /** Creation date */ createdAt?: InputMaybe; /** Handle */ handle?: InputMaybe; /** Id */ id?: InputMaybe; /** Update date */ updatedAt?: InputMaybe; /** WorkspaceMember id foreign key */ workspaceMemberId?: InputMaybe; }; export type BooleanFieldComparison = { is?: InputMaybe; isNot?: InputMaybe; }; export type BooleanFilter = { eq?: InputMaybe; is?: InputMaybe; }; /** Calendar Channels */ export type CalendarChannel = { /** Calendar Channel Event Associations */ calendarChannelEventAssociations?: Maybe; /** Connected Account */ connectedAccount?: Maybe; /** Connected Account id foreign key */ connectedAccountId?: Maybe; /** Automatically create records for people you participated with in an event. */ contactAutoCreationPolicy?: Maybe; /** Creation date */ createdAt?: Maybe; /** Handle */ handle?: Maybe; /** Id */ id?: Maybe; /** Is Contact Auto Creation Enabled */ isContactAutoCreationEnabled?: Maybe; /** Is Sync Enabled */ isSyncEnabled?: Maybe; /** Sync Cursor. Used for syncing events from the calendar provider */ syncCursor?: Maybe; /** Sync stage */ syncStage?: Maybe; /** Sync stage started at */ syncStageStartedAt?: Maybe; /** Sync status */ syncStatus?: Maybe; /** Throttle Failure Count */ throttleFailureCount?: Maybe; /** Update date */ updatedAt?: Maybe; /** Visibility */ visibility?: Maybe; }; /** Calendar Channels */ export type CalendarChannelCalendarChannelEventAssociationsArgs = { after?: InputMaybe; before?: InputMaybe; filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; limit?: InputMaybe; orderBy?: InputMaybe>>; }; /** Calendar Channels */ export type CalendarChannelConnection = { edges?: Maybe>; pageInfo?: Maybe; /** Total number of records in the connection */ totalCount?: Maybe; }; /** Automatically create records for people you participated with in an event. */ export enum CalendarChannelContactAutoCreationPolicyEnum { /** As Organizer */ AsOrganizer = 'AS_ORGANIZER', /** As Participant */ AsParticipant = 'AS_PARTICIPANT', /** As Participant and Organizer */ AsParticipantAndOrganizer = 'AS_PARTICIPANT_AND_ORGANIZER', /** None */ None = 'NONE' } export type CalendarChannelContactAutoCreationPolicyEnumFilter = { eq?: InputMaybe; in?: InputMaybe>>; is?: InputMaybe; neq?: InputMaybe; }; /** Calendar Channels */ export type CalendarChannelCreateInput = { /** Connected Account id foreign key */ connectedAccountId: Scalars['UUID']; /** Automatically create records for people you participated with in an event. */ contactAutoCreationPolicy?: InputMaybe; /** Creation date */ createdAt?: InputMaybe; /** Handle */ handle?: InputMaybe; /** Id */ id?: InputMaybe; /** Is Contact Auto Creation Enabled */ isContactAutoCreationEnabled?: InputMaybe; /** Is Sync Enabled */ isSyncEnabled?: InputMaybe; /** Sync Cursor. Used for syncing events from the calendar provider */ syncCursor?: InputMaybe; /** Sync stage */ syncStage?: InputMaybe; /** Sync stage started at */ syncStageStartedAt?: InputMaybe; /** Sync status */ syncStatus?: InputMaybe; /** Throttle Failure Count */ throttleFailureCount?: InputMaybe; /** Update date */ updatedAt?: InputMaybe; /** Visibility */ visibility?: InputMaybe; }; /** Calendar Channels */ export type CalendarChannelEdge = { cursor?: Maybe; node?: Maybe; }; /** Calendar Channel Event Associations */ export type CalendarChannelEventAssociation = { /** Channel ID */ calendarChannel?: Maybe; /** Channel ID id foreign key */ calendarChannelId?: Maybe; /** Event ID */ calendarEvent?: Maybe; /** Event ID id foreign key */ calendarEventId?: Maybe; /** Creation date */ createdAt?: Maybe; /** Event external ID */ eventExternalId?: Maybe; /** Id */ id?: Maybe; /** Update date */ updatedAt?: Maybe; }; /** Calendar Channel Event Associations */ export type CalendarChannelEventAssociationConnection = { edges?: Maybe>; pageInfo?: Maybe; /** Total number of records in the connection */ totalCount?: Maybe; }; /** Calendar Channel Event Associations */ export type CalendarChannelEventAssociationCreateInput = { /** Channel ID id foreign key */ calendarChannelId: Scalars['UUID']; /** Event ID id foreign key */ calendarEventId: Scalars['UUID']; /** Creation date */ createdAt?: InputMaybe; /** Event external ID */ eventExternalId?: InputMaybe; /** Id */ id?: InputMaybe; /** Update date */ updatedAt?: InputMaybe; }; /** Calendar Channel Event Associations */ export type CalendarChannelEventAssociationEdge = { cursor?: Maybe; node?: Maybe; }; /** Calendar Channel Event Associations */ export type CalendarChannelEventAssociationFilterInput = { and?: InputMaybe>>; /** Channel ID id foreign key */ calendarChannelId?: InputMaybe; /** Event ID id foreign key */ calendarEventId?: InputMaybe; /** Creation date */ createdAt?: InputMaybe; /** Event external ID */ eventExternalId?: InputMaybe; /** Id */ id?: InputMaybe; not?: InputMaybe; or?: InputMaybe>>; /** Update date */ updatedAt?: InputMaybe; }; /** Calendar Channel Event Associations */ export type CalendarChannelEventAssociationOrderByInput = { /** Channel ID id foreign key */ calendarChannelId?: InputMaybe; /** Event ID id foreign key */ calendarEventId?: InputMaybe; /** Creation date */ createdAt?: InputMaybe; /** Event external ID */ eventExternalId?: InputMaybe; /** Id */ id?: InputMaybe; /** Update date */ updatedAt?: InputMaybe; }; /** Calendar Channel Event Associations */ export type CalendarChannelEventAssociationUpdateInput = { /** Channel ID id foreign key */ calendarChannelId?: InputMaybe; /** Event ID id foreign key */ calendarEventId?: InputMaybe; /** Creation date */ createdAt?: InputMaybe; /** Event external ID */ eventExternalId?: InputMaybe; /** Id */ id?: InputMaybe; /** Update date */ updatedAt?: InputMaybe; }; /** Calendar Channels */ export type CalendarChannelFilterInput = { and?: InputMaybe>>; /** Connected Account id foreign key */ connectedAccountId?: InputMaybe; /** Automatically create records for people you participated with in an event. */ contactAutoCreationPolicy?: InputMaybe; /** Creation date */ createdAt?: InputMaybe; /** Handle */ handle?: InputMaybe; /** Id */ id?: InputMaybe; /** Is Contact Auto Creation Enabled */ isContactAutoCreationEnabled?: InputMaybe; /** Is Sync Enabled */ isSyncEnabled?: InputMaybe; not?: InputMaybe; or?: InputMaybe>>; /** Sync Cursor. Used for syncing events from the calendar provider */ syncCursor?: InputMaybe; /** Sync stage */ syncStage?: InputMaybe; /** Sync stage started at */ syncStageStartedAt?: InputMaybe; /** Sync status */ syncStatus?: InputMaybe; /** Throttle Failure Count */ throttleFailureCount?: InputMaybe; /** Update date */ updatedAt?: InputMaybe; /** Visibility */ visibility?: InputMaybe; }; /** Calendar Channels */ export type CalendarChannelOrderByInput = { /** Connected Account id foreign key */ connectedAccountId?: InputMaybe; /** Automatically create records for people you participated with in an event. */ contactAutoCreationPolicy?: InputMaybe; /** Creation date */ createdAt?: InputMaybe; /** Handle */ handle?: InputMaybe; /** Id */ id?: InputMaybe; /** Is Contact Auto Creation Enabled */ isContactAutoCreationEnabled?: InputMaybe; /** Is Sync Enabled */ isSyncEnabled?: InputMaybe; /** Sync Cursor. Used for syncing events from the calendar provider */ syncCursor?: InputMaybe; /** Sync stage */ syncStage?: InputMaybe; /** Sync stage started at */ syncStageStartedAt?: InputMaybe; /** Sync status */ syncStatus?: InputMaybe; /** Throttle Failure Count */ throttleFailureCount?: InputMaybe; /** Update date */ updatedAt?: InputMaybe; /** Visibility */ visibility?: InputMaybe; }; /** Sync stage */ export enum CalendarChannelSyncStageEnum { /** Calendar events import ongoing */ CalendarEventsImportOngoing = 'CALENDAR_EVENTS_IMPORT_ONGOING', /** Calendar events import pending */ CalendarEventsImportPending = 'CALENDAR_EVENTS_IMPORT_PENDING', /** Calendar event list fetch ongoing */ CalendarEventListFetchOngoing = 'CALENDAR_EVENT_LIST_FETCH_ONGOING', /** Failed */ Failed = 'FAILED', /** Full calendar event list fetch pending */ FullCalendarEventListFetchPending = 'FULL_CALENDAR_EVENT_LIST_FETCH_PENDING', /** Partial calendar event list fetch pending */ PartialCalendarEventListFetchPending = 'PARTIAL_CALENDAR_EVENT_LIST_FETCH_PENDING' } export type CalendarChannelSyncStageEnumFilter = { eq?: InputMaybe; in?: InputMaybe>>; is?: InputMaybe; neq?: InputMaybe; }; /** Sync status */ export enum CalendarChannelSyncStatusEnum { /** Active */ Active = 'ACTIVE', /** Failed Insufficient Permissions */ FailedInsufficientPermissions = 'FAILED_INSUFFICIENT_PERMISSIONS', /** Failed Unknown */ FailedUnknown = 'FAILED_UNKNOWN', /** Not Synced */ NotSynced = 'NOT_SYNCED', /** Ongoing */ Ongoing = 'ONGOING' } export type CalendarChannelSyncStatusEnumFilter = { eq?: InputMaybe; in?: InputMaybe>>; is?: InputMaybe; neq?: InputMaybe; }; /** Calendar Channels */ export type CalendarChannelUpdateInput = { /** Connected Account id foreign key */ connectedAccountId?: InputMaybe; /** Automatically create records for people you participated with in an event. */ contactAutoCreationPolicy?: InputMaybe; /** Creation date */ createdAt?: InputMaybe; /** Handle */ handle?: InputMaybe; /** Id */ id?: InputMaybe; /** Is Contact Auto Creation Enabled */ isContactAutoCreationEnabled?: InputMaybe; /** Is Sync Enabled */ isSyncEnabled?: InputMaybe; /** Sync Cursor. Used for syncing events from the calendar provider */ syncCursor?: InputMaybe; /** Sync stage */ syncStage?: InputMaybe; /** Sync stage started at */ syncStageStartedAt?: InputMaybe; /** Sync status */ syncStatus?: InputMaybe; /** Throttle Failure Count */ throttleFailureCount?: InputMaybe; /** Update date */ updatedAt?: InputMaybe; /** Visibility */ visibility?: InputMaybe; }; /** Visibility of the calendar channel */ export enum CalendarChannelVisibility { Metadata = 'METADATA', ShareEverything = 'SHARE_EVERYTHING' } /** Visibility */ export enum CalendarChannelVisibilityEnum { /** Metadata */ Metadata = 'METADATA', /** Share Everything */ ShareEverything = 'SHARE_EVERYTHING' } export type CalendarChannelVisibilityEnumFilter = { eq?: InputMaybe; in?: InputMaybe>>; is?: InputMaybe; neq?: InputMaybe; }; /** Calendar events */ export type CalendarEvent = { /** Calendar Channel Event Associations */ calendarChannelEventAssociations?: Maybe; /** Event Participants */ calendarEventParticipants?: Maybe; /** Meet Link */ conferenceLink?: Maybe; /** Conference Solution */ conferenceSolution?: Maybe; /** Creation date */ createdAt?: Maybe; /** Description */ description?: Maybe; /** End Date */ endsAt?: Maybe; /** Creation DateTime */ externalCreatedAt?: Maybe; /** Update DateTime */ externalUpdatedAt?: Maybe; /** iCal UID */ iCalUID?: Maybe; /** Id */ id?: Maybe; /** Is canceled */ isCanceled?: Maybe; /** Is Full Day */ isFullDay?: Maybe; /** Location */ location?: Maybe; /** Recurring Event ID */ recurringEventExternalId?: Maybe; /** Start Date */ startsAt?: Maybe; /** Title */ title?: Maybe; /** Update date */ updatedAt?: Maybe; }; /** Calendar events */ export type CalendarEventCalendarChannelEventAssociationsArgs = { after?: InputMaybe; before?: InputMaybe; filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; limit?: InputMaybe; orderBy?: InputMaybe>>; }; /** Calendar events */ export type CalendarEventCalendarEventParticipantsArgs = { after?: InputMaybe; before?: InputMaybe; filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; limit?: InputMaybe; orderBy?: InputMaybe>>; }; /** Calendar events */ export type CalendarEventConnection = { edges?: Maybe>; pageInfo?: Maybe; /** Total number of records in the connection */ totalCount?: Maybe; }; /** Calendar events */ export type CalendarEventCreateInput = { /** Meet Link */ conferenceLink?: InputMaybe; /** Conference Solution */ conferenceSolution?: InputMaybe; /** Creation date */ createdAt?: InputMaybe; /** Description */ description?: InputMaybe; /** End Date */ endsAt?: InputMaybe; /** Creation DateTime */ externalCreatedAt?: InputMaybe; /** Update DateTime */ externalUpdatedAt?: InputMaybe; /** iCal UID */ iCalUID?: InputMaybe; /** Id */ id?: InputMaybe; /** Is canceled */ isCanceled: Scalars['Boolean']; /** Is Full Day */ isFullDay: Scalars['Boolean']; /** Location */ location?: InputMaybe; /** Recurring Event ID */ recurringEventExternalId?: InputMaybe; /** Start Date */ startsAt?: InputMaybe; /** Title */ title?: InputMaybe; /** Update date */ updatedAt?: InputMaybe; }; /** Calendar events */ export type CalendarEventEdge = { cursor?: Maybe; node?: Maybe; }; /** Calendar events */ export type CalendarEventFilterInput = { and?: InputMaybe>>; /** Meet Link */ conferenceLink?: InputMaybe; /** Conference Solution */ conferenceSolution?: InputMaybe; /** Creation date */ createdAt?: InputMaybe; /** Description */ description?: InputMaybe; /** End Date */ endsAt?: InputMaybe; /** Creation DateTime */ externalCreatedAt?: InputMaybe; /** Update DateTime */ externalUpdatedAt?: InputMaybe; /** iCal UID */ iCalUID?: InputMaybe; /** Id */ id?: InputMaybe; /** Is canceled */ isCanceled?: InputMaybe; /** Is Full Day */ isFullDay?: InputMaybe; /** Location */ location?: InputMaybe; not?: InputMaybe; or?: InputMaybe>>; /** Recurring Event ID */ recurringEventExternalId?: InputMaybe; /** Start Date */ startsAt?: InputMaybe; /** Title */ title?: InputMaybe; /** Update date */ updatedAt?: InputMaybe; }; /** Calendar events */ export type CalendarEventOrderByInput = { /** Meet Link */ conferenceLink?: InputMaybe; /** Conference Solution */ conferenceSolution?: InputMaybe; /** Creation date */ createdAt?: InputMaybe; /** Description */ description?: InputMaybe; /** End Date */ endsAt?: InputMaybe; /** Creation DateTime */ externalCreatedAt?: InputMaybe; /** Update DateTime */ externalUpdatedAt?: InputMaybe; /** iCal UID */ iCalUID?: InputMaybe; /** Id */ id?: InputMaybe; /** Is canceled */ isCanceled?: InputMaybe; /** Is Full Day */ isFullDay?: InputMaybe; /** Location */ location?: InputMaybe; /** Recurring Event ID */ recurringEventExternalId?: InputMaybe; /** Start Date */ startsAt?: InputMaybe; /** Title */ title?: InputMaybe; /** Update date */ updatedAt?: InputMaybe; }; /** Calendar event participants */ export type CalendarEventParticipant = { /** Event ID */ calendarEvent?: Maybe; /** Event ID id foreign key */ calendarEventId?: Maybe; /** Creation date */ createdAt?: Maybe; /** Display Name */ displayName?: Maybe; /** Handle */ handle?: Maybe; /** Id */ id?: Maybe; /** Is Organizer */ isOrganizer?: Maybe; /** Person */ person?: Maybe; /** Person id foreign key */ personId?: Maybe; /** Response Status */ responseStatus?: Maybe; /** Update date */ updatedAt?: Maybe; /** Workspace Member */ workspaceMember?: Maybe; /** Workspace Member id foreign key */ workspaceMemberId?: Maybe; }; /** Calendar event participants */ export type CalendarEventParticipantConnection = { edges?: Maybe>; pageInfo?: Maybe; /** Total number of records in the connection */ totalCount?: Maybe; }; /** Calendar event participants */ export type CalendarEventParticipantCreateInput = { /** Event ID id foreign key */ calendarEventId: Scalars['UUID']; /** Creation date */ createdAt?: InputMaybe; /** Display Name */ displayName?: InputMaybe; /** Handle */ handle?: InputMaybe; /** Id */ id?: InputMaybe; /** Is Organizer */ isOrganizer?: InputMaybe; /** Person id foreign key */ personId?: InputMaybe; /** Response Status */ responseStatus?: InputMaybe; /** Update date */ updatedAt?: InputMaybe; /** Workspace Member id foreign key */ workspaceMemberId?: InputMaybe; }; /** Calendar event participants */ export type CalendarEventParticipantEdge = { cursor?: Maybe; node?: Maybe; }; /** Calendar event participants */ export type CalendarEventParticipantFilterInput = { and?: InputMaybe>>; /** Event ID id foreign key */ calendarEventId?: InputMaybe; /** Creation date */ createdAt?: InputMaybe; /** Display Name */ displayName?: InputMaybe; /** Handle */ handle?: InputMaybe; /** Id */ id?: InputMaybe; /** Is Organizer */ isOrganizer?: InputMaybe; not?: InputMaybe; or?: InputMaybe>>; /** Person id foreign key */ personId?: InputMaybe; /** Response Status */ responseStatus?: InputMaybe; /** Update date */ updatedAt?: InputMaybe; /** Workspace Member id foreign key */ workspaceMemberId?: InputMaybe; }; /** Calendar event participants */ export type CalendarEventParticipantOrderByInput = { /** Event ID id foreign key */ calendarEventId?: InputMaybe; /** Creation date */ createdAt?: InputMaybe; /** Display Name */ displayName?: InputMaybe; /** Handle */ handle?: InputMaybe; /** Id */ id?: InputMaybe; /** Is Organizer */ isOrganizer?: InputMaybe; /** Person id foreign key */ personId?: InputMaybe; /** Response Status */ responseStatus?: InputMaybe; /** Update date */ updatedAt?: InputMaybe; /** Workspace Member id foreign key */ workspaceMemberId?: InputMaybe; }; /** Response Status */ export enum CalendarEventParticipantResponseStatusEnum { /** Accepted */ Accepted = 'ACCEPTED', /** Declined */ Declined = 'DECLINED', /** Needs Action */ NeedsAction = 'NEEDS_ACTION', /** Tentative */ Tentative = 'TENTATIVE' } export type CalendarEventParticipantResponseStatusEnumFilter = { eq?: InputMaybe; in?: InputMaybe>>; is?: InputMaybe; neq?: InputMaybe; }; /** Calendar event participants */ export type CalendarEventParticipantUpdateInput = { /** Event ID id foreign key */ calendarEventId?: InputMaybe; /** Creation date */ createdAt?: InputMaybe; /** Display Name */ displayName?: InputMaybe; /** Handle */ handle?: InputMaybe; /** Id */ id?: InputMaybe; /** Is Organizer */ isOrganizer?: InputMaybe; /** Person id foreign key */ personId?: InputMaybe; /** Response Status */ responseStatus?: InputMaybe; /** Update date */ updatedAt?: InputMaybe; /** Workspace Member id foreign key */ workspaceMemberId?: InputMaybe; }; /** Calendar events */ export type CalendarEventUpdateInput = { /** Meet Link */ conferenceLink?: InputMaybe; /** Conference Solution */ conferenceSolution?: InputMaybe; /** Creation date */ createdAt?: InputMaybe; /** Description */ description?: InputMaybe; /** End Date */ endsAt?: InputMaybe; /** Creation DateTime */ externalCreatedAt?: InputMaybe; /** Update DateTime */ externalUpdatedAt?: InputMaybe; /** iCal UID */ iCalUID?: InputMaybe; /** Id */ id?: InputMaybe; /** Is canceled */ isCanceled?: InputMaybe; /** Is Full Day */ isFullDay?: InputMaybe; /** Location */ location?: InputMaybe; /** Recurring Event ID */ recurringEventExternalId?: InputMaybe; /** Start Date */ startsAt?: InputMaybe; /** Title */ title?: InputMaybe; /** Update date */ updatedAt?: InputMaybe; }; export type Captcha = { provider?: Maybe; siteKey?: Maybe; }; export enum CaptchaDriverType { GoogleRecaptcha = 'GoogleRecaptcha', Turnstile = 'Turnstile' } export type ClientConfig = { api: ApiConfig; authProviders: AuthProviders; billing: Billing; captcha: Captcha; chromeExtensionId?: Maybe; debugMode: Scalars['Boolean']; sentry: Sentry; signInPrefilled: Scalars['Boolean']; signUpDisabled: Scalars['Boolean']; support: Support; telemetry: Telemetry; }; /** A comment */ export type Comment = { /** Comment activity */ activity?: Maybe; /** Comment activity id foreign key */ activityId?: Maybe; /** Comment author */ author?: Maybe; /** Comment author id foreign key */ authorId?: Maybe; /** Comment body */ body?: Maybe; /** Creation date */ createdAt?: Maybe; /** Id */ id?: Maybe; /** Update date */ updatedAt?: Maybe; }; /** A comment */ export type CommentConnection = { edges?: Maybe>; pageInfo?: Maybe; /** Total number of records in the connection */ totalCount?: Maybe; }; /** A comment */ export type CommentCreateInput = { /** Comment activity id foreign key */ activityId: Scalars['UUID']; /** Comment author id foreign key */ authorId: Scalars['UUID']; /** Comment body */ body?: InputMaybe; /** Creation date */ createdAt?: InputMaybe; /** Id */ id?: InputMaybe; /** Update date */ updatedAt?: InputMaybe; }; /** A comment */ export type CommentEdge = { cursor?: Maybe; node?: Maybe; }; /** A comment */ export type CommentFilterInput = { /** Comment activity id foreign key */ activityId?: InputMaybe; and?: InputMaybe>>; /** Comment author id foreign key */ authorId?: InputMaybe; /** Comment body */ body?: InputMaybe; /** Creation date */ createdAt?: InputMaybe; /** Id */ id?: InputMaybe; not?: InputMaybe; or?: InputMaybe>>; /** Update date */ updatedAt?: InputMaybe; }; /** A comment */ export type CommentOrderByInput = { /** Comment activity id foreign key */ activityId?: InputMaybe; /** Comment author id foreign key */ authorId?: InputMaybe; /** Comment body */ body?: InputMaybe; /** Creation date */ createdAt?: InputMaybe; /** Id */ id?: InputMaybe; /** Update date */ updatedAt?: InputMaybe; }; /** A comment */ export type CommentUpdateInput = { /** Comment activity id foreign key */ activityId?: InputMaybe; /** Comment author id foreign key */ authorId?: InputMaybe; /** Comment body */ body?: InputMaybe; /** Creation date */ createdAt?: InputMaybe; /** Id */ id?: InputMaybe; /** Update date */ updatedAt?: InputMaybe; }; /** A company */ export type Company = { /** Your team member responsible for managing the company account */ accountOwner?: Maybe; /** Your team member responsible for managing the company account id foreign key */ accountOwnerId?: Maybe; /** Activities tied to the company */ activityTargets?: Maybe; /** The company address */ address?: Maybe; /** Annual Recurring Revenue: The actual or estimated annual revenue of the company */ annualRecurringRevenue?: Maybe; /** Attachments linked to the company */ attachments?: Maybe; /** Creation date */ createdAt?: Maybe; /** The company website URL. We use this url to fetch the company icon */ domainName?: Maybe; /** Number of employees in the company */ employees?: Maybe; /** Favorites linked to the company */ favorites?: Maybe; /** Id */ id?: Maybe; /** Ideal Customer Profile: Indicates whether the company is the most suitable and valuable customer for you */ idealCustomerProfile?: Maybe; /** The company Linkedin account */ linkedinLink?: Maybe; /** The company name */ name?: Maybe; /** Opportunities linked to the company. */ opportunities?: Maybe; /** People linked to the company. */ people?: Maybe; /** Company record position */ position?: Maybe; /** Timeline Activities linked to the company */ timelineActivities?: Maybe; /** Update date */ updatedAt?: Maybe; /** The company Twitter/X account */ xLink?: Maybe; }; /** A company */ export type CompanyActivityTargetsArgs = { after?: InputMaybe; before?: InputMaybe; filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; limit?: InputMaybe; orderBy?: InputMaybe>>; }; /** A company */ export type CompanyAttachmentsArgs = { after?: InputMaybe; before?: InputMaybe; filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; limit?: InputMaybe; orderBy?: InputMaybe>>; }; /** A company */ export type CompanyFavoritesArgs = { after?: InputMaybe; before?: InputMaybe; filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; limit?: InputMaybe; orderBy?: InputMaybe>>; }; /** A company */ export type CompanyOpportunitiesArgs = { after?: InputMaybe; before?: InputMaybe; filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; limit?: InputMaybe; orderBy?: InputMaybe>>; }; /** A company */ export type CompanyPeopleArgs = { after?: InputMaybe; before?: InputMaybe; filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; limit?: InputMaybe; orderBy?: InputMaybe>>; }; /** A company */ export type CompanyTimelineActivitiesArgs = { after?: InputMaybe; before?: InputMaybe; filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; limit?: InputMaybe; orderBy?: InputMaybe>>; }; /** A company */ export type CompanyConnection = { edges?: Maybe>; pageInfo?: Maybe; /** Total number of records in the connection */ totalCount?: Maybe; }; /** A company */ export type CompanyCreateInput = { /** Your team member responsible for managing the company account id foreign key */ accountOwnerId?: InputMaybe; /** The company address */ address?: InputMaybe; /** Annual Recurring Revenue: The actual or estimated annual revenue of the company */ annualRecurringRevenue?: InputMaybe; /** Creation date */ createdAt?: InputMaybe; /** The company website URL. We use this url to fetch the company icon */ domainName?: InputMaybe; /** Number of employees in the company */ employees?: InputMaybe; /** Id */ id?: InputMaybe; /** Ideal Customer Profile: Indicates whether the company is the most suitable and valuable customer for you */ idealCustomerProfile?: InputMaybe; /** The company Linkedin account */ linkedinLink?: InputMaybe; /** The company name */ name?: InputMaybe; /** Company record position */ position?: InputMaybe; /** Update date */ updatedAt?: InputMaybe; /** The company Twitter/X account */ xLink?: InputMaybe; }; /** A company */ export type CompanyEdge = { cursor?: Maybe; node?: Maybe; }; /** A company */ export type CompanyFilterInput = { /** Your team member responsible for managing the company account id foreign key */ accountOwnerId?: InputMaybe; /** The company address */ address?: InputMaybe; and?: InputMaybe>>; /** Annual Recurring Revenue: The actual or estimated annual revenue of the company */ annualRecurringRevenue?: InputMaybe; /** Creation date */ createdAt?: InputMaybe; /** The company website URL. We use this url to fetch the company icon */ domainName?: InputMaybe; /** Number of employees in the company */ employees?: InputMaybe; /** Id */ id?: InputMaybe; /** Ideal Customer Profile: Indicates whether the company is the most suitable and valuable customer for you */ idealCustomerProfile?: InputMaybe; /** The company Linkedin account */ linkedinLink?: InputMaybe; /** The company name */ name?: InputMaybe; not?: InputMaybe; or?: InputMaybe>>; /** Company record position */ position?: InputMaybe; /** Update date */ updatedAt?: InputMaybe; /** The company Twitter/X account */ xLink?: InputMaybe; }; /** A company */ export type CompanyOrderByInput = { /** Your team member responsible for managing the company account id foreign key */ accountOwnerId?: InputMaybe; /** The company address */ address?: InputMaybe; /** Annual Recurring Revenue: The actual or estimated annual revenue of the company */ annualRecurringRevenue?: InputMaybe; /** Creation date */ createdAt?: InputMaybe; /** The company website URL. We use this url to fetch the company icon */ domainName?: InputMaybe; /** Number of employees in the company */ employees?: InputMaybe; /** Id */ id?: InputMaybe; /** Ideal Customer Profile: Indicates whether the company is the most suitable and valuable customer for you */ idealCustomerProfile?: InputMaybe; /** The company Linkedin account */ linkedinLink?: InputMaybe; /** The company name */ name?: InputMaybe; /** Company record position */ position?: InputMaybe; /** Update date */ updatedAt?: InputMaybe; /** The company Twitter/X account */ xLink?: InputMaybe; }; /** A company */ export type CompanyUpdateInput = { /** Your team member responsible for managing the company account id foreign key */ accountOwnerId?: InputMaybe; /** The company address */ address?: InputMaybe; /** Annual Recurring Revenue: The actual or estimated annual revenue of the company */ annualRecurringRevenue?: InputMaybe; /** Creation date */ createdAt?: InputMaybe; /** The company website URL. We use this url to fetch the company icon */ domainName?: InputMaybe; /** Number of employees in the company */ employees?: InputMaybe; /** Id */ id?: InputMaybe; /** Ideal Customer Profile: Indicates whether the company is the most suitable and valuable customer for you */ idealCustomerProfile?: InputMaybe; /** The company Linkedin account */ linkedinLink?: InputMaybe; /** The company name */ name?: InputMaybe; /** Company record position */ position?: InputMaybe; /** Update date */ updatedAt?: InputMaybe; /** The company Twitter/X account */ xLink?: InputMaybe; }; /** A connected account */ export type ConnectedAccount = { /** Messaging provider access token */ accessToken?: Maybe; /** Account Owner */ accountOwner?: Maybe; /** Account Owner id foreign key */ accountOwnerId?: Maybe; /** Auth failed at */ authFailedAt?: Maybe; /** Calendar Channels */ calendarChannels?: Maybe; /** Creation date */ createdAt?: Maybe; /** The account handle (email, username, phone number, etc.) */ handle?: Maybe; /** Id */ id?: Maybe; /** Last sync history ID */ lastSyncHistoryId?: Maybe; /** Message Channels */ messageChannels?: Maybe; /** The account provider */ provider?: Maybe; /** Messaging provider refresh token */ refreshToken?: Maybe; /** Update date */ updatedAt?: Maybe; }; /** A connected account */ export type ConnectedAccountCalendarChannelsArgs = { after?: InputMaybe; before?: InputMaybe; filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; limit?: InputMaybe; orderBy?: InputMaybe>>; }; /** A connected account */ export type ConnectedAccountMessageChannelsArgs = { after?: InputMaybe; before?: InputMaybe; filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; limit?: InputMaybe; orderBy?: InputMaybe>>; }; /** A connected account */ export type ConnectedAccountConnection = { edges?: Maybe>; pageInfo?: Maybe; /** Total number of records in the connection */ totalCount?: Maybe; }; /** A connected account */ export type ConnectedAccountCreateInput = { /** Messaging provider access token */ accessToken?: InputMaybe; /** Account Owner id foreign key */ accountOwnerId: Scalars['UUID']; /** Auth failed at */ authFailedAt?: InputMaybe; /** Creation date */ createdAt?: InputMaybe; /** The account handle (email, username, phone number, etc.) */ handle?: InputMaybe; /** Id */ id?: InputMaybe; /** Last sync history ID */ lastSyncHistoryId?: InputMaybe; /** The account provider */ provider?: InputMaybe; /** Messaging provider refresh token */ refreshToken?: InputMaybe; /** Update date */ updatedAt?: InputMaybe; }; /** A connected account */ export type ConnectedAccountEdge = { cursor?: Maybe; node?: Maybe; }; /** A connected account */ export type ConnectedAccountFilterInput = { /** Messaging provider access token */ accessToken?: InputMaybe; /** Account Owner id foreign key */ accountOwnerId?: InputMaybe; and?: InputMaybe>>; /** Auth failed at */ authFailedAt?: InputMaybe; /** Creation date */ createdAt?: InputMaybe; /** The account handle (email, username, phone number, etc.) */ handle?: InputMaybe; /** Id */ id?: InputMaybe; /** Last sync history ID */ lastSyncHistoryId?: InputMaybe; not?: InputMaybe; or?: InputMaybe>>; /** The account provider */ provider?: InputMaybe; /** Messaging provider refresh token */ refreshToken?: InputMaybe; /** Update date */ updatedAt?: InputMaybe; }; /** A connected account */ export type ConnectedAccountOrderByInput = { /** Messaging provider access token */ accessToken?: InputMaybe; /** Account Owner id foreign key */ accountOwnerId?: InputMaybe; /** Auth failed at */ authFailedAt?: InputMaybe; /** Creation date */ createdAt?: InputMaybe; /** The account handle (email, username, phone number, etc.) */ handle?: InputMaybe; /** Id */ id?: InputMaybe; /** Last sync history ID */ lastSyncHistoryId?: InputMaybe; /** The account provider */ provider?: InputMaybe; /** Messaging provider refresh token */ refreshToken?: InputMaybe; /** Update date */ updatedAt?: InputMaybe; }; /** A connected account */ export type ConnectedAccountUpdateInput = { /** Messaging provider access token */ accessToken?: InputMaybe; /** Account Owner id foreign key */ accountOwnerId?: InputMaybe; /** Auth failed at */ authFailedAt?: InputMaybe; /** Creation date */ createdAt?: InputMaybe; /** The account handle (email, username, phone number, etc.) */ handle?: InputMaybe; /** Id */ id?: InputMaybe; /** Last sync history ID */ lastSyncHistoryId?: InputMaybe; /** The account provider */ provider?: InputMaybe; /** Messaging provider refresh token */ refreshToken?: InputMaybe; /** Update date */ updatedAt?: InputMaybe; }; export type Currency = { amountMicros?: Maybe; currencyCode?: Maybe; }; export type CurrencyCreateInput = { amountMicros?: InputMaybe; currencyCode?: InputMaybe; }; export type CurrencyFilterInput = { amountMicros?: InputMaybe; currencyCode?: InputMaybe; }; export type CurrencyOrderByInput = { amountMicros?: InputMaybe; currencyCode?: InputMaybe; }; export type CurrencyUpdateInput = { amountMicros?: InputMaybe; currencyCode?: InputMaybe; }; export type CursorPaging = { /** Paginate after opaque cursor */ after?: InputMaybe; /** Paginate before opaque cursor */ before?: InputMaybe; /** Paginate first */ first?: InputMaybe; /** Paginate last */ last?: InputMaybe; }; export type DateFilter = { eq?: InputMaybe; gt?: InputMaybe; gte?: InputMaybe; in?: InputMaybe>; is?: InputMaybe; lt?: InputMaybe; lte?: InputMaybe; neq?: InputMaybe; }; export type DeleteOneObjectInput = { /** The id of the record to delete. */ id: Scalars['UUID']; }; /** Schema update on a table */ export enum DistantTableUpdate { ColumnsAdded = 'COLUMNS_ADDED', ColumnsDeleted = 'COLUMNS_DELETED', ColumnsTypeChanged = 'COLUMNS_TYPE_CHANGED', TableDeleted = 'TABLE_DELETED' } export type EmailPasswordResetLink = { /** Boolean that confirms query was dispatched */ success: Scalars['Boolean']; }; export type ExchangeAuthCode = { accessToken: AuthToken; loginToken: AuthToken; refreshToken: AuthToken; }; /** A favorite */ export type Favorite = { /** Favorite company */ company?: Maybe; /** Favorite company id foreign key */ companyId?: Maybe; /** Creation date */ createdAt?: Maybe; /** Id */ id?: Maybe; /** Favorite opportunity */ opportunity?: Maybe; /** Favorite opportunity id foreign key */ opportunityId?: Maybe; /** Favorite person */ person?: Maybe; /** Favorite person id foreign key */ personId?: Maybe; /** Favorite position */ position?: Maybe; /** Update date */ updatedAt?: Maybe; /** Favorite workspace member */ workspaceMember?: Maybe; /** Favorite workspace member id foreign key */ workspaceMemberId?: Maybe; }; /** A favorite */ export type FavoriteConnection = { edges?: Maybe>; pageInfo?: Maybe; /** Total number of records in the connection */ totalCount?: Maybe; }; /** A favorite */ export type FavoriteCreateInput = { /** Favorite company id foreign key */ companyId?: InputMaybe; /** Creation date */ createdAt?: InputMaybe; /** Id */ id?: InputMaybe; /** Favorite opportunity id foreign key */ opportunityId?: InputMaybe; /** Favorite person id foreign key */ personId?: InputMaybe; /** Favorite position */ position?: InputMaybe; /** Update date */ updatedAt?: InputMaybe; /** Favorite workspace member id foreign key */ workspaceMemberId: Scalars['UUID']; }; /** A favorite */ export type FavoriteEdge = { cursor?: Maybe; node?: Maybe; }; /** A favorite */ export type FavoriteFilterInput = { and?: InputMaybe>>; /** Favorite company id foreign key */ companyId?: InputMaybe; /** Creation date */ createdAt?: InputMaybe; /** Id */ id?: InputMaybe; not?: InputMaybe; /** Favorite opportunity id foreign key */ opportunityId?: InputMaybe; or?: InputMaybe>>; /** Favorite person id foreign key */ personId?: InputMaybe; /** Favorite position */ position?: InputMaybe; /** Update date */ updatedAt?: InputMaybe; /** Favorite workspace member id foreign key */ workspaceMemberId?: InputMaybe; }; /** A favorite */ export type FavoriteOrderByInput = { /** Favorite company id foreign key */ companyId?: InputMaybe; /** Creation date */ createdAt?: InputMaybe; /** Id */ id?: InputMaybe; /** Favorite opportunity id foreign key */ opportunityId?: InputMaybe; /** Favorite person id foreign key */ personId?: InputMaybe; /** Favorite position */ position?: InputMaybe; /** Update date */ updatedAt?: InputMaybe; /** Favorite workspace member id foreign key */ workspaceMemberId?: InputMaybe; }; /** A favorite */ export type FavoriteUpdateInput = { /** Favorite company id foreign key */ companyId?: InputMaybe; /** Creation date */ createdAt?: InputMaybe; /** Id */ id?: InputMaybe; /** Favorite opportunity id foreign key */ opportunityId?: InputMaybe; /** Favorite person id foreign key */ personId?: InputMaybe; /** Favorite position */ position?: InputMaybe; /** Update date */ updatedAt?: InputMaybe; /** Favorite workspace member id foreign key */ workspaceMemberId?: InputMaybe; }; export type FeatureFlag = { id: Scalars['UUID']; key: Scalars['String']; value: Scalars['Boolean']; workspaceId: Scalars['String']; }; export type FeatureFlagFilter = { and?: InputMaybe>; id?: InputMaybe; or?: InputMaybe>; }; export type FeatureFlagSort = { direction: SortDirection; field: FeatureFlagSortFields; nulls?: InputMaybe; }; export enum FeatureFlagSortFields { Id = 'id' } export type FieldConnection = { /** Array of edges. */ edges: Array; /** Paging information */ pageInfo: PageInfo; }; /** Type of the field */ export enum FieldMetadataType { Address = 'ADDRESS', Boolean = 'BOOLEAN', Currency = 'CURRENCY', Date = 'DATE', DateTime = 'DATE_TIME', Email = 'EMAIL', FullName = 'FULL_NAME', Link = 'LINK', Links = 'LINKS', MultiSelect = 'MULTI_SELECT', Number = 'NUMBER', Numeric = 'NUMERIC', Phone = 'PHONE', Phones = 'PHONES', Position = 'POSITION', Rating = 'RATING', RawJson = 'RAW_JSON', Relation = 'RELATION', Select = 'SELECT', Text = 'TEXT', Uuid = 'UUID' } export enum FileFolder { Attachment = 'Attachment', PersonPicture = 'PersonPicture', ProfilePicture = 'ProfilePicture', WorkspaceLogo = 'WorkspaceLogo' } /** This enum to filter by nullability */ export enum FilterIs { /** Non-nulish values */ NotNull = 'NOT_NULL', /** Nulish values */ Null = 'NULL' } export type FloatFilter = { eq?: InputMaybe; gt?: InputMaybe; gte?: InputMaybe; in?: InputMaybe>; is?: InputMaybe; lt?: InputMaybe; lte?: InputMaybe; neq?: InputMaybe; }; export type FullName = { firstName: Scalars['String']; lastName: Scalars['String']; }; export type FullNameCreateInput = { firstName?: InputMaybe; lastName?: InputMaybe; }; export type FullNameFilterInput = { firstName?: InputMaybe; lastName?: InputMaybe; }; export type FullNameOrderByInput = { firstName?: InputMaybe; lastName?: InputMaybe; }; export type FullNameUpdateInput = { firstName?: InputMaybe; lastName?: InputMaybe; }; export type IdFilter = { eq?: InputMaybe; gt?: InputMaybe; gte?: InputMaybe; in?: InputMaybe>>; is?: InputMaybe; lt?: InputMaybe; lte?: InputMaybe; neq?: InputMaybe; }; export type InvalidatePassword = { /** Boolean that confirms query was dispatched */ success: Scalars['Boolean']; }; export type Link = { label?: Maybe; url?: Maybe; }; export type LinkCreateInput = { label?: InputMaybe; url?: InputMaybe; }; export type LinkFilterInput = { label?: InputMaybe; url?: InputMaybe; }; export type LinkMetadata = { label: Scalars['String']; url: Scalars['String']; }; export type LinkOrderByInput = { label?: InputMaybe; url?: InputMaybe; }; export type LinkUpdateInput = { label?: InputMaybe; url?: InputMaybe; }; export type Links = { primaryLinkLabel?: Maybe; primaryLinkUrl?: Maybe; secondaryLinks?: Maybe; }; export type LinksCreateInput = { primaryLinkLabel?: InputMaybe; primaryLinkUrl?: InputMaybe; secondaryLinks?: InputMaybe; }; export type LinksFilterInput = { primaryLinkLabel?: InputMaybe; primaryLinkUrl?: InputMaybe; secondaryLinks?: InputMaybe; }; export type LinksOrderByInput = { primaryLinkLabel?: InputMaybe; primaryLinkUrl?: InputMaybe; secondaryLinks?: InputMaybe; }; export type LinksUpdateInput = { primaryLinkLabel?: InputMaybe; primaryLinkUrl?: InputMaybe; secondaryLinks?: InputMaybe; }; export type LoginToken = { loginToken: AuthToken; }; /** Message */ export type Message = { /** Creation date */ createdAt?: Maybe; /** Message Direction */ direction?: Maybe; /** Message id from the message header */ headerMessageId?: Maybe; /** Id */ id?: Maybe; /** Messages from the channel. */ messageChannelMessageAssociations?: Maybe; /** Message Participants */ messageParticipants?: Maybe; /** Message Thread Id */ messageThread?: Maybe; /** Message Thread Id id foreign key */ messageThreadId?: Maybe; /** The date the message was received */ receivedAt?: Maybe; /** Subject */ subject?: Maybe; /** Text */ text?: Maybe; /** Update date */ updatedAt?: Maybe; }; /** Message */ export type MessageMessageChannelMessageAssociationsArgs = { after?: InputMaybe; before?: InputMaybe; filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; limit?: InputMaybe; orderBy?: InputMaybe>>; }; /** Message */ export type MessageMessageParticipantsArgs = { after?: InputMaybe; before?: InputMaybe; filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; limit?: InputMaybe; orderBy?: InputMaybe>>; }; /** Message Channels */ export type MessageChannel = { /** Connected Account */ connectedAccount?: Maybe; /** Connected Account id foreign key */ connectedAccountId?: Maybe; /** Automatically create People records when receiving or sending emails */ contactAutoCreationPolicy?: Maybe; /** Creation date */ createdAt?: Maybe; /** Exclude group emails */ excludeGroupEmails?: Maybe; /** Exclude non professional emails */ excludeNonProfessionalEmails?: Maybe; /** Handle */ handle?: Maybe; /** Id */ id?: Maybe; /** Is Contact Auto Creation Enabled */ isContactAutoCreationEnabled?: Maybe; /** Is Sync Enabled */ isSyncEnabled?: Maybe; /** Messages from the channel. */ messageChannelMessageAssociations?: Maybe; /** Last sync cursor */ syncCursor?: Maybe; /** Sync stage */ syncStage?: Maybe; /** Sync stage started at */ syncStageStartedAt?: Maybe; /** Sync status */ syncStatus?: Maybe; /** Last sync date */ syncedAt?: Maybe; /** Throttle Failure Count */ throttleFailureCount?: Maybe; /** Channel Type */ type?: Maybe; /** Update date */ updatedAt?: Maybe; /** Visibility */ visibility?: Maybe; }; /** Message Channels */ export type MessageChannelMessageChannelMessageAssociationsArgs = { after?: InputMaybe; before?: InputMaybe; filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; limit?: InputMaybe; orderBy?: InputMaybe>>; }; /** Message Channels */ export type MessageChannelConnection = { edges?: Maybe>; pageInfo?: Maybe; /** Total number of records in the connection */ totalCount?: Maybe; }; /** Automatically create People records when receiving or sending emails */ export enum MessageChannelContactAutoCreationPolicyEnum { /** None */ None = 'NONE', /** Sent */ Sent = 'SENT', /** Sent and Received */ SentAndReceived = 'SENT_AND_RECEIVED' } export type MessageChannelContactAutoCreationPolicyEnumFilter = { eq?: InputMaybe; in?: InputMaybe>>; is?: InputMaybe; neq?: InputMaybe; }; /** Message Channels */ export type MessageChannelCreateInput = { /** Connected Account id foreign key */ connectedAccountId: Scalars['UUID']; /** Automatically create People records when receiving or sending emails */ contactAutoCreationPolicy?: InputMaybe; /** Creation date */ createdAt?: InputMaybe; /** Exclude group emails */ excludeGroupEmails?: InputMaybe; /** Exclude non professional emails */ excludeNonProfessionalEmails?: InputMaybe; /** Handle */ handle?: InputMaybe; /** Id */ id?: InputMaybe; /** Is Contact Auto Creation Enabled */ isContactAutoCreationEnabled?: InputMaybe; /** Is Sync Enabled */ isSyncEnabled?: InputMaybe; /** Last sync cursor */ syncCursor?: InputMaybe; /** Sync stage */ syncStage?: InputMaybe; /** Sync stage started at */ syncStageStartedAt?: InputMaybe; /** Sync status */ syncStatus?: InputMaybe; /** Last sync date */ syncedAt?: InputMaybe; /** Throttle Failure Count */ throttleFailureCount?: InputMaybe; /** Channel Type */ type?: InputMaybe; /** Update date */ updatedAt?: InputMaybe; /** Visibility */ visibility?: InputMaybe; }; /** Message Channels */ export type MessageChannelEdge = { cursor?: Maybe; node?: Maybe; }; /** Message Channels */ export type MessageChannelFilterInput = { and?: InputMaybe>>; /** Connected Account id foreign key */ connectedAccountId?: InputMaybe; /** Automatically create People records when receiving or sending emails */ contactAutoCreationPolicy?: InputMaybe; /** Creation date */ createdAt?: InputMaybe; /** Exclude group emails */ excludeGroupEmails?: InputMaybe; /** Exclude non professional emails */ excludeNonProfessionalEmails?: InputMaybe; /** Handle */ handle?: InputMaybe; /** Id */ id?: InputMaybe; /** Is Contact Auto Creation Enabled */ isContactAutoCreationEnabled?: InputMaybe; /** Is Sync Enabled */ isSyncEnabled?: InputMaybe; not?: InputMaybe; or?: InputMaybe>>; /** Last sync cursor */ syncCursor?: InputMaybe; /** Sync stage */ syncStage?: InputMaybe; /** Sync stage started at */ syncStageStartedAt?: InputMaybe; /** Sync status */ syncStatus?: InputMaybe; /** Last sync date */ syncedAt?: InputMaybe; /** Throttle Failure Count */ throttleFailureCount?: InputMaybe; /** Channel Type */ type?: InputMaybe; /** Update date */ updatedAt?: InputMaybe; /** Visibility */ visibility?: InputMaybe; }; /** Message Synced with a Message Channel */ export type MessageChannelMessageAssociation = { /** Creation date */ createdAt?: Maybe; /** Id */ id?: Maybe; /** Message Id */ message?: Maybe; /** Message Channel Id */ messageChannel?: Maybe; /** Message Channel Id id foreign key */ messageChannelId?: Maybe; /** Message id from the messaging provider */ messageExternalId?: Maybe; /** Message Id id foreign key */ messageId?: Maybe; /** Message Thread Id */ messageThread?: Maybe; /** Thread id from the messaging provider */ messageThreadExternalId?: Maybe; /** Message Thread Id id foreign key */ messageThreadId?: Maybe; /** Update date */ updatedAt?: Maybe; }; /** Message Synced with a Message Channel */ export type MessageChannelMessageAssociationConnection = { edges?: Maybe>; pageInfo?: Maybe; /** Total number of records in the connection */ totalCount?: Maybe; }; /** Message Synced with a Message Channel */ export type MessageChannelMessageAssociationCreateInput = { /** Creation date */ createdAt?: InputMaybe; /** Id */ id?: InputMaybe; /** Message Channel Id id foreign key */ messageChannelId?: InputMaybe; /** Message id from the messaging provider */ messageExternalId?: InputMaybe; /** Message Id id foreign key */ messageId?: InputMaybe; /** Thread id from the messaging provider */ messageThreadExternalId?: InputMaybe; /** Message Thread Id id foreign key */ messageThreadId?: InputMaybe; /** Update date */ updatedAt?: InputMaybe; }; /** Message Synced with a Message Channel */ export type MessageChannelMessageAssociationEdge = { cursor?: Maybe; node?: Maybe; }; /** Message Synced with a Message Channel */ export type MessageChannelMessageAssociationFilterInput = { and?: InputMaybe>>; /** Creation date */ createdAt?: InputMaybe; /** Id */ id?: InputMaybe; /** Message Channel Id id foreign key */ messageChannelId?: InputMaybe; /** Message id from the messaging provider */ messageExternalId?: InputMaybe; /** Message Id id foreign key */ messageId?: InputMaybe; /** Thread id from the messaging provider */ messageThreadExternalId?: InputMaybe; /** Message Thread Id id foreign key */ messageThreadId?: InputMaybe; not?: InputMaybe; or?: InputMaybe>>; /** Update date */ updatedAt?: InputMaybe; }; /** Message Synced with a Message Channel */ export type MessageChannelMessageAssociationOrderByInput = { /** Creation date */ createdAt?: InputMaybe; /** Id */ id?: InputMaybe; /** Message Channel Id id foreign key */ messageChannelId?: InputMaybe; /** Message id from the messaging provider */ messageExternalId?: InputMaybe; /** Message Id id foreign key */ messageId?: InputMaybe; /** Thread id from the messaging provider */ messageThreadExternalId?: InputMaybe; /** Message Thread Id id foreign key */ messageThreadId?: InputMaybe; /** Update date */ updatedAt?: InputMaybe; }; /** Message Synced with a Message Channel */ export type MessageChannelMessageAssociationUpdateInput = { /** Creation date */ createdAt?: InputMaybe; /** Id */ id?: InputMaybe; /** Message Channel Id id foreign key */ messageChannelId?: InputMaybe; /** Message id from the messaging provider */ messageExternalId?: InputMaybe; /** Message Id id foreign key */ messageId?: InputMaybe; /** Thread id from the messaging provider */ messageThreadExternalId?: InputMaybe; /** Message Thread Id id foreign key */ messageThreadId?: InputMaybe; /** Update date */ updatedAt?: InputMaybe; }; /** Message Channels */ export type MessageChannelOrderByInput = { /** Connected Account id foreign key */ connectedAccountId?: InputMaybe; /** Automatically create People records when receiving or sending emails */ contactAutoCreationPolicy?: InputMaybe; /** Creation date */ createdAt?: InputMaybe; /** Exclude group emails */ excludeGroupEmails?: InputMaybe; /** Exclude non professional emails */ excludeNonProfessionalEmails?: InputMaybe; /** Handle */ handle?: InputMaybe; /** Id */ id?: InputMaybe; /** Is Contact Auto Creation Enabled */ isContactAutoCreationEnabled?: InputMaybe; /** Is Sync Enabled */ isSyncEnabled?: InputMaybe; /** Last sync cursor */ syncCursor?: InputMaybe; /** Sync stage */ syncStage?: InputMaybe; /** Sync stage started at */ syncStageStartedAt?: InputMaybe; /** Sync status */ syncStatus?: InputMaybe; /** Last sync date */ syncedAt?: InputMaybe; /** Throttle Failure Count */ throttleFailureCount?: InputMaybe; /** Channel Type */ type?: InputMaybe; /** Update date */ updatedAt?: InputMaybe; /** Visibility */ visibility?: InputMaybe; }; /** Sync stage */ export enum MessageChannelSyncStageEnum { /** Failed */ Failed = 'FAILED', /** Full messages list fetch pending */ FullMessageListFetchPending = 'FULL_MESSAGE_LIST_FETCH_PENDING', /** Messages import ongoing */ MessagesImportOngoing = 'MESSAGES_IMPORT_ONGOING', /** Messages import pending */ MessagesImportPending = 'MESSAGES_IMPORT_PENDING', /** Messages list fetch ongoing */ MessageListFetchOngoing = 'MESSAGE_LIST_FETCH_ONGOING', /** Partial messages list fetch pending */ PartialMessageListFetchPending = 'PARTIAL_MESSAGE_LIST_FETCH_PENDING' } export type MessageChannelSyncStageEnumFilter = { eq?: InputMaybe; in?: InputMaybe>>; is?: InputMaybe; neq?: InputMaybe; }; /** Sync status */ export enum MessageChannelSyncStatusEnum { /** Active */ Active = 'ACTIVE', /** Failed */ Failed = 'FAILED', /** Failed Insufficient Permissions */ FailedInsufficientPermissions = 'FAILED_INSUFFICIENT_PERMISSIONS', /** Failed Unknown */ FailedUnknown = 'FAILED_UNKNOWN', /** Not Synced */ NotSynced = 'NOT_SYNCED', /** Ongoing */ Ongoing = 'ONGOING', /** Pending */ Pending = 'PENDING', /** Succeeded */ Succeeded = 'SUCCEEDED' } export type MessageChannelSyncStatusEnumFilter = { eq?: InputMaybe; in?: InputMaybe>>; is?: InputMaybe; neq?: InputMaybe; }; /** Channel Type */ export enum MessageChannelTypeEnum { /** Email */ Email = 'email', /** SMS */ Sms = 'sms' } export type MessageChannelTypeEnumFilter = { eq?: InputMaybe; in?: InputMaybe>>; is?: InputMaybe; neq?: InputMaybe; }; /** Message Channels */ export type MessageChannelUpdateInput = { /** Connected Account id foreign key */ connectedAccountId?: InputMaybe; /** Automatically create People records when receiving or sending emails */ contactAutoCreationPolicy?: InputMaybe; /** Creation date */ createdAt?: InputMaybe; /** Exclude group emails */ excludeGroupEmails?: InputMaybe; /** Exclude non professional emails */ excludeNonProfessionalEmails?: InputMaybe; /** Handle */ handle?: InputMaybe; /** Id */ id?: InputMaybe; /** Is Contact Auto Creation Enabled */ isContactAutoCreationEnabled?: InputMaybe; /** Is Sync Enabled */ isSyncEnabled?: InputMaybe; /** Last sync cursor */ syncCursor?: InputMaybe; /** Sync stage */ syncStage?: InputMaybe; /** Sync stage started at */ syncStageStartedAt?: InputMaybe; /** Sync status */ syncStatus?: InputMaybe; /** Last sync date */ syncedAt?: InputMaybe; /** Throttle Failure Count */ throttleFailureCount?: InputMaybe; /** Channel Type */ type?: InputMaybe; /** Update date */ updatedAt?: InputMaybe; /** Visibility */ visibility?: InputMaybe; }; /** Visibility of the message channel */ export enum MessageChannelVisibility { Metadata = 'METADATA', ShareEverything = 'SHARE_EVERYTHING', Subject = 'SUBJECT' } /** Visibility */ export enum MessageChannelVisibilityEnum { /** Metadata */ Metadata = 'METADATA', /** Share Everything */ ShareEverything = 'SHARE_EVERYTHING', /** Subject */ Subject = 'SUBJECT' } export type MessageChannelVisibilityEnumFilter = { eq?: InputMaybe; in?: InputMaybe>>; is?: InputMaybe; neq?: InputMaybe; }; /** Message */ export type MessageConnection = { edges?: Maybe>; pageInfo?: Maybe; /** Total number of records in the connection */ totalCount?: Maybe; }; /** Message */ export type MessageCreateInput = { /** Creation date */ createdAt?: InputMaybe; /** Message Direction */ direction?: InputMaybe; /** Message id from the message header */ headerMessageId?: InputMaybe; /** Id */ id?: InputMaybe; /** Message Thread Id id foreign key */ messageThreadId?: InputMaybe; /** The date the message was received */ receivedAt?: InputMaybe; /** Subject */ subject?: InputMaybe; /** Text */ text?: InputMaybe; /** Update date */ updatedAt?: InputMaybe; }; /** Message Direction */ export enum MessageDirectionEnum { /** Incoming */ Incoming = 'incoming', /** Outgoing */ Outgoing = 'outgoing' } export type MessageDirectionEnumFilter = { eq?: InputMaybe; in?: InputMaybe>>; is?: InputMaybe; neq?: InputMaybe; }; /** Message */ export type MessageEdge = { cursor?: Maybe; node?: Maybe; }; /** Message */ export type MessageFilterInput = { and?: InputMaybe>>; /** Creation date */ createdAt?: InputMaybe; /** Message Direction */ direction?: InputMaybe; /** Message id from the message header */ headerMessageId?: InputMaybe; /** Id */ id?: InputMaybe; /** Message Thread Id id foreign key */ messageThreadId?: InputMaybe; not?: InputMaybe; or?: InputMaybe>>; /** The date the message was received */ receivedAt?: InputMaybe; /** Subject */ subject?: InputMaybe; /** Text */ text?: InputMaybe; /** Update date */ updatedAt?: InputMaybe; }; /** Message */ export type MessageOrderByInput = { /** Creation date */ createdAt?: InputMaybe; /** Message Direction */ direction?: InputMaybe; /** Message id from the message header */ headerMessageId?: InputMaybe; /** Id */ id?: InputMaybe; /** Message Thread Id id foreign key */ messageThreadId?: InputMaybe; /** The date the message was received */ receivedAt?: InputMaybe; /** Subject */ subject?: InputMaybe; /** Text */ text?: InputMaybe; /** Update date */ updatedAt?: InputMaybe; }; /** Message Participants */ export type MessageParticipant = { /** Creation date */ createdAt?: Maybe; /** Display Name */ displayName?: Maybe; /** Handle */ handle?: Maybe; /** Id */ id?: Maybe; /** Message */ message?: Maybe; /** Message id foreign key */ messageId?: Maybe; /** Person */ person?: Maybe; /** Person id foreign key */ personId?: Maybe; /** Role */ role?: Maybe; /** Update date */ updatedAt?: Maybe; /** Workspace member */ workspaceMember?: Maybe; /** Workspace member id foreign key */ workspaceMemberId?: Maybe; }; /** Message Participants */ export type MessageParticipantConnection = { edges?: Maybe>; pageInfo?: Maybe; /** Total number of records in the connection */ totalCount?: Maybe; }; /** Message Participants */ export type MessageParticipantCreateInput = { /** Creation date */ createdAt?: InputMaybe; /** Display Name */ displayName?: InputMaybe; /** Handle */ handle?: InputMaybe; /** Id */ id?: InputMaybe; /** Message id foreign key */ messageId: Scalars['UUID']; /** Person id foreign key */ personId?: InputMaybe; /** Role */ role?: InputMaybe; /** Update date */ updatedAt?: InputMaybe; /** Workspace member id foreign key */ workspaceMemberId?: InputMaybe; }; /** Message Participants */ export type MessageParticipantEdge = { cursor?: Maybe; node?: Maybe; }; /** Message Participants */ export type MessageParticipantFilterInput = { and?: InputMaybe>>; /** Creation date */ createdAt?: InputMaybe; /** Display Name */ displayName?: InputMaybe; /** Handle */ handle?: InputMaybe; /** Id */ id?: InputMaybe; /** Message id foreign key */ messageId?: InputMaybe; not?: InputMaybe; or?: InputMaybe>>; /** Person id foreign key */ personId?: InputMaybe; /** Role */ role?: InputMaybe; /** Update date */ updatedAt?: InputMaybe; /** Workspace member id foreign key */ workspaceMemberId?: InputMaybe; }; /** Message Participants */ export type MessageParticipantOrderByInput = { /** Creation date */ createdAt?: InputMaybe; /** Display Name */ displayName?: InputMaybe; /** Handle */ handle?: InputMaybe; /** Id */ id?: InputMaybe; /** Message id foreign key */ messageId?: InputMaybe; /** Person id foreign key */ personId?: InputMaybe; /** Role */ role?: InputMaybe; /** Update date */ updatedAt?: InputMaybe; /** Workspace member id foreign key */ workspaceMemberId?: InputMaybe; }; /** Role */ export enum MessageParticipantRoleEnum { /** Bcc */ Bcc = 'bcc', /** Cc */ Cc = 'cc', /** From */ From = 'from', /** To */ To = 'to' } export type MessageParticipantRoleEnumFilter = { eq?: InputMaybe; in?: InputMaybe>>; is?: InputMaybe; neq?: InputMaybe; }; /** Message Participants */ export type MessageParticipantUpdateInput = { /** Creation date */ createdAt?: InputMaybe; /** Display Name */ displayName?: InputMaybe; /** Handle */ handle?: InputMaybe; /** Id */ id?: InputMaybe; /** Message id foreign key */ messageId?: InputMaybe; /** Person id foreign key */ personId?: InputMaybe; /** Role */ role?: InputMaybe; /** Update date */ updatedAt?: InputMaybe; /** Workspace member id foreign key */ workspaceMemberId?: InputMaybe; }; /** Message Thread */ export type MessageThread = { /** Creation date */ createdAt?: Maybe; /** Id */ id?: Maybe; /** Messages from the channel */ messageChannelMessageAssociations?: Maybe; /** Messages from the thread. */ messages?: Maybe; /** Update date */ updatedAt?: Maybe; }; /** Message Thread */ export type MessageThreadMessageChannelMessageAssociationsArgs = { after?: InputMaybe; before?: InputMaybe; filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; limit?: InputMaybe; orderBy?: InputMaybe>>; }; /** Message Thread */ export type MessageThreadMessagesArgs = { after?: InputMaybe; before?: InputMaybe; filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; limit?: InputMaybe; orderBy?: InputMaybe>>; }; /** Message Thread */ export type MessageThreadConnection = { edges?: Maybe>; pageInfo?: Maybe; /** Total number of records in the connection */ totalCount?: Maybe; }; /** Message Thread */ export type MessageThreadCreateInput = { /** Creation date */ createdAt?: InputMaybe; /** Id */ id?: InputMaybe; /** Update date */ updatedAt?: InputMaybe; }; /** Message Thread */ export type MessageThreadEdge = { cursor?: Maybe; node?: Maybe; }; /** Message Thread */ export type MessageThreadFilterInput = { and?: InputMaybe>>; /** Creation date */ createdAt?: InputMaybe; /** Id */ id?: InputMaybe; not?: InputMaybe; or?: InputMaybe>>; /** Update date */ updatedAt?: InputMaybe; }; /** Message Thread */ export type MessageThreadOrderByInput = { /** Creation date */ createdAt?: InputMaybe; /** Id */ id?: InputMaybe; /** Update date */ updatedAt?: InputMaybe; }; /** Message Thread */ export type MessageThreadUpdateInput = { /** Creation date */ createdAt?: InputMaybe; /** Id */ id?: InputMaybe; /** Update date */ updatedAt?: InputMaybe; }; /** Message */ export type MessageUpdateInput = { /** Creation date */ createdAt?: InputMaybe; /** Message Direction */ direction?: InputMaybe; /** Message id from the message header */ headerMessageId?: InputMaybe; /** Id */ id?: InputMaybe; /** Message Thread Id id foreign key */ messageThreadId?: InputMaybe; /** The date the message was received */ receivedAt?: InputMaybe; /** Subject */ subject?: InputMaybe; /** Text */ text?: InputMaybe; /** Update date */ updatedAt?: InputMaybe; }; export type Mutation = { activateWorkspace: Workspace; addUserToWorkspace: User; authorizeApp: AuthorizeApp; challenge: LoginToken; checkoutSession: SessionEntity; createActivities?: Maybe>; createActivity?: Maybe; createActivityTarget?: Maybe; createActivityTargets?: Maybe>; createApiKey?: Maybe; createApiKeys?: Maybe>; createAttachment?: Maybe; createAttachments?: Maybe>; createAuditLog?: Maybe; createAuditLogs?: Maybe>; createBlocklist?: Maybe; createBlocklists?: Maybe>; createCalendarChannel?: Maybe; createCalendarChannelEventAssociation?: Maybe; createCalendarChannelEventAssociations?: Maybe>; createCalendarChannels?: Maybe>; createCalendarEvent?: Maybe; createCalendarEventParticipant?: Maybe; createCalendarEventParticipants?: Maybe>; createCalendarEvents?: Maybe>; createComment?: Maybe; createComments?: Maybe>; createCompanies?: Maybe>; createCompany?: Maybe; createConnectedAccount?: Maybe; createConnectedAccounts?: Maybe>; createFavorite?: Maybe; createFavorites?: Maybe>; createMessage?: Maybe; createMessageChannel?: Maybe; createMessageChannelMessageAssociation?: Maybe; createMessageChannelMessageAssociations?: Maybe>; createMessageChannels?: Maybe>; createMessageParticipant?: Maybe; createMessageParticipants?: Maybe>; createMessageThread?: Maybe; createMessageThreads?: Maybe>; createMessages?: Maybe>; createOneAppToken: AppToken; createOneObject: Object; createOpportunities?: Maybe>; createOpportunity?: Maybe; createPeople?: Maybe>; createPerson?: Maybe; createTimelineActivities?: Maybe>; createTimelineActivity?: Maybe; createView?: Maybe; createViewField?: Maybe; createViewFields?: Maybe>; createViewFilter?: Maybe; createViewFilters?: Maybe>; createViewSort?: Maybe; createViewSorts?: Maybe>; createViews?: Maybe>; createWebhook?: Maybe; createWebhooks?: Maybe>; createWorkspaceMember?: Maybe; createWorkspaceMembers?: Maybe>; deleteActivities?: Maybe>; deleteActivity?: Maybe; deleteActivityTarget?: Maybe; deleteActivityTargets?: Maybe>; deleteApiKey?: Maybe; deleteApiKeys?: Maybe>; deleteAttachment?: Maybe; deleteAttachments?: Maybe>; deleteAuditLog?: Maybe; deleteAuditLogs?: Maybe>; deleteBlocklist?: Maybe; deleteBlocklists?: Maybe>; deleteCalendarChannel?: Maybe; deleteCalendarChannelEventAssociation?: Maybe; deleteCalendarChannelEventAssociations?: Maybe>; deleteCalendarChannels?: Maybe>; deleteCalendarEvent?: Maybe; deleteCalendarEventParticipant?: Maybe; deleteCalendarEventParticipants?: Maybe>; deleteCalendarEvents?: Maybe>; deleteComment?: Maybe; deleteComments?: Maybe>; deleteCompanies?: Maybe>; deleteCompany?: Maybe; deleteConnectedAccount?: Maybe; deleteConnectedAccounts?: Maybe>; deleteCurrentWorkspace: Workspace; deleteFavorite?: Maybe; deleteFavorites?: Maybe>; deleteMessage?: Maybe; deleteMessageChannel?: Maybe; deleteMessageChannelMessageAssociation?: Maybe; deleteMessageChannelMessageAssociations?: Maybe>; deleteMessageChannels?: Maybe>; deleteMessageParticipant?: Maybe; deleteMessageParticipants?: Maybe>; deleteMessageThread?: Maybe; deleteMessageThreads?: Maybe>; deleteMessages?: Maybe>; deleteOneObject: Object; deleteOpportunities?: Maybe>; deleteOpportunity?: Maybe; deletePeople?: Maybe>; deletePerson?: Maybe; deleteTimelineActivities?: Maybe>; deleteTimelineActivity?: Maybe; deleteUser: User; deleteView?: Maybe; deleteViewField?: Maybe; deleteViewFields?: Maybe>; deleteViewFilter?: Maybe; deleteViewFilters?: Maybe>; deleteViewSort?: Maybe; deleteViewSorts?: Maybe>; deleteViews?: Maybe>; deleteWebhook?: Maybe; deleteWebhooks?: Maybe>; deleteWorkspaceMember?: Maybe; deleteWorkspaceMembers?: Maybe>; disablePostgresProxy: PostgresCredentials; emailPasswordResetLink: EmailPasswordResetLink; enablePostgresProxy: PostgresCredentials; exchangeAuthorizationCode: ExchangeAuthCode; executeQuickActionOnActivity?: Maybe; executeQuickActionOnActivityTarget?: Maybe; executeQuickActionOnApiKey?: Maybe; executeQuickActionOnAttachment?: Maybe; executeQuickActionOnAuditLog?: Maybe; executeQuickActionOnBlocklist?: Maybe; executeQuickActionOnCalendarChannel?: Maybe; executeQuickActionOnCalendarChannelEventAssociation?: Maybe; executeQuickActionOnCalendarEvent?: Maybe; executeQuickActionOnCalendarEventParticipant?: Maybe; executeQuickActionOnComment?: Maybe; executeQuickActionOnCompany?: Maybe; executeQuickActionOnConnectedAccount?: Maybe; executeQuickActionOnFavorite?: Maybe; executeQuickActionOnMessage?: Maybe; executeQuickActionOnMessageChannel?: Maybe; executeQuickActionOnMessageChannelMessageAssociation?: Maybe; executeQuickActionOnMessageParticipant?: Maybe; executeQuickActionOnMessageThread?: Maybe; executeQuickActionOnOpportunity?: Maybe; executeQuickActionOnPerson?: Maybe; executeQuickActionOnTimelineActivity?: Maybe; executeQuickActionOnView?: Maybe; executeQuickActionOnViewField?: Maybe; executeQuickActionOnViewFilter?: Maybe; executeQuickActionOnViewSort?: Maybe; executeQuickActionOnWebhook?: Maybe; executeQuickActionOnWorkspaceMember?: Maybe; generateApiKeyToken: ApiKeyToken; generateJWT: AuthTokens; generateTransientToken: TransientToken; impersonate: Verify; renewToken: AuthTokens; sendInviteLink: SendInviteLink; signUp: LoginToken; skipSyncEmailOnboardingStep: OnboardingStepSuccess; track: Analytics; updateActivities?: Maybe>; updateActivity?: Maybe; updateActivityTarget?: Maybe; updateActivityTargets?: Maybe>; updateApiKey?: Maybe; updateApiKeys?: Maybe>; updateAttachment?: Maybe; updateAttachments?: Maybe>; updateAuditLog?: Maybe; updateAuditLogs?: Maybe>; updateBillingSubscription: UpdateBillingEntity; updateBlocklist?: Maybe; updateBlocklists?: Maybe>; updateCalendarChannel?: Maybe; updateCalendarChannelEventAssociation?: Maybe; updateCalendarChannelEventAssociations?: Maybe>; updateCalendarChannels?: Maybe>; updateCalendarEvent?: Maybe; updateCalendarEventParticipant?: Maybe; updateCalendarEventParticipants?: Maybe>; updateCalendarEvents?: Maybe>; updateComment?: Maybe; updateComments?: Maybe>; updateCompanies?: Maybe>; updateCompany?: Maybe; updateConnectedAccount?: Maybe; updateConnectedAccounts?: Maybe>; updateFavorite?: Maybe; updateFavorites?: Maybe>; updateMessage?: Maybe; updateMessageChannel?: Maybe; updateMessageChannelMessageAssociation?: Maybe; updateMessageChannelMessageAssociations?: Maybe>; updateMessageChannels?: Maybe>; updateMessageParticipant?: Maybe; updateMessageParticipants?: Maybe>; updateMessageThread?: Maybe; updateMessageThreads?: Maybe>; updateMessages?: Maybe>; updateOneObject: Object; updateOpportunities?: Maybe>; updateOpportunity?: Maybe; updatePasswordViaResetToken: InvalidatePassword; updatePeople?: Maybe>; updatePerson?: Maybe; updateTimelineActivities?: Maybe>; updateTimelineActivity?: Maybe; updateView?: Maybe; updateViewField?: Maybe; updateViewFields?: Maybe>; updateViewFilter?: Maybe; updateViewFilters?: Maybe>; updateViewSort?: Maybe; updateViewSorts?: Maybe>; updateViews?: Maybe>; updateWebhook?: Maybe; updateWebhooks?: Maybe>; updateWorkspace: Workspace; updateWorkspaceMember?: Maybe; updateWorkspaceMembers?: Maybe>; uploadFile: Scalars['String']; uploadImage: Scalars['String']; uploadProfilePicture: Scalars['String']; uploadWorkspaceLogo: Scalars['String']; verify: Verify; }; export type MutationActivateWorkspaceArgs = { data: ActivateWorkspaceInput; }; export type MutationAddUserToWorkspaceArgs = { inviteHash: Scalars['String']; }; export type MutationAuthorizeAppArgs = { clientId: Scalars['String']; codeChallenge?: InputMaybe; redirectUrl: Scalars['String']; }; export type MutationChallengeArgs = { captchaToken?: InputMaybe; email: Scalars['String']; password: Scalars['String']; }; export type MutationCheckoutSessionArgs = { recurringInterval: SubscriptionInterval; successUrlPath?: InputMaybe; }; export type MutationCreateActivitiesArgs = { data?: InputMaybe>; upsert?: InputMaybe; }; export type MutationCreateActivityArgs = { data?: InputMaybe; upsert?: InputMaybe; }; export type MutationCreateActivityTargetArgs = { data?: InputMaybe; upsert?: InputMaybe; }; export type MutationCreateActivityTargetsArgs = { data?: InputMaybe>; upsert?: InputMaybe; }; export type MutationCreateApiKeyArgs = { data?: InputMaybe; upsert?: InputMaybe; }; export type MutationCreateApiKeysArgs = { data?: InputMaybe>; upsert?: InputMaybe; }; export type MutationCreateAttachmentArgs = { data?: InputMaybe; upsert?: InputMaybe; }; export type MutationCreateAttachmentsArgs = { data?: InputMaybe>; upsert?: InputMaybe; }; export type MutationCreateAuditLogArgs = { data?: InputMaybe; upsert?: InputMaybe; }; export type MutationCreateAuditLogsArgs = { data?: InputMaybe>; upsert?: InputMaybe; }; export type MutationCreateBlocklistArgs = { data?: InputMaybe; upsert?: InputMaybe; }; export type MutationCreateBlocklistsArgs = { data?: InputMaybe>; upsert?: InputMaybe; }; export type MutationCreateCalendarChannelArgs = { data?: InputMaybe; upsert?: InputMaybe; }; export type MutationCreateCalendarChannelEventAssociationArgs = { data?: InputMaybe; upsert?: InputMaybe; }; export type MutationCreateCalendarChannelEventAssociationsArgs = { data?: InputMaybe>; upsert?: InputMaybe; }; export type MutationCreateCalendarChannelsArgs = { data?: InputMaybe>; upsert?: InputMaybe; }; export type MutationCreateCalendarEventArgs = { data?: InputMaybe; upsert?: InputMaybe; }; export type MutationCreateCalendarEventParticipantArgs = { data?: InputMaybe; upsert?: InputMaybe; }; export type MutationCreateCalendarEventParticipantsArgs = { data?: InputMaybe>; upsert?: InputMaybe; }; export type MutationCreateCalendarEventsArgs = { data?: InputMaybe>; upsert?: InputMaybe; }; export type MutationCreateCommentArgs = { data?: InputMaybe; upsert?: InputMaybe; }; export type MutationCreateCommentsArgs = { data?: InputMaybe>; upsert?: InputMaybe; }; export type MutationCreateCompaniesArgs = { data?: InputMaybe>; upsert?: InputMaybe; }; export type MutationCreateCompanyArgs = { data?: InputMaybe; upsert?: InputMaybe; }; export type MutationCreateConnectedAccountArgs = { data?: InputMaybe; upsert?: InputMaybe; }; export type MutationCreateConnectedAccountsArgs = { data?: InputMaybe>; upsert?: InputMaybe; }; export type MutationCreateFavoriteArgs = { data?: InputMaybe; upsert?: InputMaybe; }; export type MutationCreateFavoritesArgs = { data?: InputMaybe>; upsert?: InputMaybe; }; export type MutationCreateMessageArgs = { data?: InputMaybe; upsert?: InputMaybe; }; export type MutationCreateMessageChannelArgs = { data?: InputMaybe; upsert?: InputMaybe; }; export type MutationCreateMessageChannelMessageAssociationArgs = { data?: InputMaybe; upsert?: InputMaybe; }; export type MutationCreateMessageChannelMessageAssociationsArgs = { data?: InputMaybe>; upsert?: InputMaybe; }; export type MutationCreateMessageChannelsArgs = { data?: InputMaybe>; upsert?: InputMaybe; }; export type MutationCreateMessageParticipantArgs = { data?: InputMaybe; upsert?: InputMaybe; }; export type MutationCreateMessageParticipantsArgs = { data?: InputMaybe>; upsert?: InputMaybe; }; export type MutationCreateMessageThreadArgs = { data?: InputMaybe; upsert?: InputMaybe; }; export type MutationCreateMessageThreadsArgs = { data?: InputMaybe>; upsert?: InputMaybe; }; export type MutationCreateMessagesArgs = { data?: InputMaybe>; upsert?: InputMaybe; }; export type MutationCreateOpportunitiesArgs = { data?: InputMaybe>; upsert?: InputMaybe; }; export type MutationCreateOpportunityArgs = { data?: InputMaybe; upsert?: InputMaybe; }; export type MutationCreatePeopleArgs = { data?: InputMaybe>; upsert?: InputMaybe; }; export type MutationCreatePersonArgs = { data?: InputMaybe; upsert?: InputMaybe; }; export type MutationCreateTimelineActivitiesArgs = { data?: InputMaybe>; upsert?: InputMaybe; }; export type MutationCreateTimelineActivityArgs = { data?: InputMaybe; upsert?: InputMaybe; }; export type MutationCreateViewArgs = { data?: InputMaybe; upsert?: InputMaybe; }; export type MutationCreateViewFieldArgs = { data?: InputMaybe; upsert?: InputMaybe; }; export type MutationCreateViewFieldsArgs = { data?: InputMaybe>; upsert?: InputMaybe; }; export type MutationCreateViewFilterArgs = { data?: InputMaybe; upsert?: InputMaybe; }; export type MutationCreateViewFiltersArgs = { data?: InputMaybe>; upsert?: InputMaybe; }; export type MutationCreateViewSortArgs = { data?: InputMaybe; upsert?: InputMaybe; }; export type MutationCreateViewSortsArgs = { data?: InputMaybe>; upsert?: InputMaybe; }; export type MutationCreateViewsArgs = { data?: InputMaybe>; upsert?: InputMaybe; }; export type MutationCreateWebhookArgs = { data?: InputMaybe; upsert?: InputMaybe; }; export type MutationCreateWebhooksArgs = { data?: InputMaybe>; upsert?: InputMaybe; }; export type MutationCreateWorkspaceMemberArgs = { data?: InputMaybe; upsert?: InputMaybe; }; export type MutationCreateWorkspaceMembersArgs = { data?: InputMaybe>; upsert?: InputMaybe; }; export type MutationDeleteActivitiesArgs = { filter?: InputMaybe; }; export type MutationDeleteActivityArgs = { id?: InputMaybe; }; export type MutationDeleteActivityTargetArgs = { id?: InputMaybe; }; export type MutationDeleteActivityTargetsArgs = { filter?: InputMaybe; }; export type MutationDeleteApiKeyArgs = { id?: InputMaybe; }; export type MutationDeleteApiKeysArgs = { filter?: InputMaybe; }; export type MutationDeleteAttachmentArgs = { id?: InputMaybe; }; export type MutationDeleteAttachmentsArgs = { filter?: InputMaybe; }; export type MutationDeleteAuditLogArgs = { id?: InputMaybe; }; export type MutationDeleteAuditLogsArgs = { filter?: InputMaybe; }; export type MutationDeleteBlocklistArgs = { id?: InputMaybe; }; export type MutationDeleteBlocklistsArgs = { filter?: InputMaybe; }; export type MutationDeleteCalendarChannelArgs = { id?: InputMaybe; }; export type MutationDeleteCalendarChannelEventAssociationArgs = { id?: InputMaybe; }; export type MutationDeleteCalendarChannelEventAssociationsArgs = { filter?: InputMaybe; }; export type MutationDeleteCalendarChannelsArgs = { filter?: InputMaybe; }; export type MutationDeleteCalendarEventArgs = { id?: InputMaybe; }; export type MutationDeleteCalendarEventParticipantArgs = { id?: InputMaybe; }; export type MutationDeleteCalendarEventParticipantsArgs = { filter?: InputMaybe; }; export type MutationDeleteCalendarEventsArgs = { filter?: InputMaybe; }; export type MutationDeleteCommentArgs = { id?: InputMaybe; }; export type MutationDeleteCommentsArgs = { filter?: InputMaybe; }; export type MutationDeleteCompaniesArgs = { filter?: InputMaybe; }; export type MutationDeleteCompanyArgs = { id?: InputMaybe; }; export type MutationDeleteConnectedAccountArgs = { id?: InputMaybe; }; export type MutationDeleteConnectedAccountsArgs = { filter?: InputMaybe; }; export type MutationDeleteFavoriteArgs = { id?: InputMaybe; }; export type MutationDeleteFavoritesArgs = { filter?: InputMaybe; }; export type MutationDeleteMessageArgs = { id?: InputMaybe; }; export type MutationDeleteMessageChannelArgs = { id?: InputMaybe; }; export type MutationDeleteMessageChannelMessageAssociationArgs = { id?: InputMaybe; }; export type MutationDeleteMessageChannelMessageAssociationsArgs = { filter?: InputMaybe; }; export type MutationDeleteMessageChannelsArgs = { filter?: InputMaybe; }; export type MutationDeleteMessageParticipantArgs = { id?: InputMaybe; }; export type MutationDeleteMessageParticipantsArgs = { filter?: InputMaybe; }; export type MutationDeleteMessageThreadArgs = { id?: InputMaybe; }; export type MutationDeleteMessageThreadsArgs = { filter?: InputMaybe; }; export type MutationDeleteMessagesArgs = { filter?: InputMaybe; }; export type MutationDeleteOneObjectArgs = { input: DeleteOneObjectInput; }; export type MutationDeleteOpportunitiesArgs = { filter?: InputMaybe; }; export type MutationDeleteOpportunityArgs = { id?: InputMaybe; }; export type MutationDeletePeopleArgs = { filter?: InputMaybe; }; export type MutationDeletePersonArgs = { id?: InputMaybe; }; export type MutationDeleteTimelineActivitiesArgs = { filter?: InputMaybe; }; export type MutationDeleteTimelineActivityArgs = { id?: InputMaybe; }; export type MutationDeleteViewArgs = { id?: InputMaybe; }; export type MutationDeleteViewFieldArgs = { id?: InputMaybe; }; export type MutationDeleteViewFieldsArgs = { filter?: InputMaybe; }; export type MutationDeleteViewFilterArgs = { id?: InputMaybe; }; export type MutationDeleteViewFiltersArgs = { filter?: InputMaybe; }; export type MutationDeleteViewSortArgs = { id?: InputMaybe; }; export type MutationDeleteViewSortsArgs = { filter?: InputMaybe; }; export type MutationDeleteViewsArgs = { filter?: InputMaybe; }; export type MutationDeleteWebhookArgs = { id?: InputMaybe; }; export type MutationDeleteWebhooksArgs = { filter?: InputMaybe; }; export type MutationDeleteWorkspaceMemberArgs = { id?: InputMaybe; }; export type MutationDeleteWorkspaceMembersArgs = { filter?: InputMaybe; }; export type MutationEmailPasswordResetLinkArgs = { email: Scalars['String']; }; export type MutationExchangeAuthorizationCodeArgs = { authorizationCode: Scalars['String']; clientSecret?: InputMaybe; codeVerifier?: InputMaybe; }; export type MutationExecuteQuickActionOnActivityArgs = { id?: InputMaybe; }; export type MutationExecuteQuickActionOnActivityTargetArgs = { id?: InputMaybe; }; export type MutationExecuteQuickActionOnApiKeyArgs = { id?: InputMaybe; }; export type MutationExecuteQuickActionOnAttachmentArgs = { id?: InputMaybe; }; export type MutationExecuteQuickActionOnAuditLogArgs = { id?: InputMaybe; }; export type MutationExecuteQuickActionOnBlocklistArgs = { id?: InputMaybe; }; export type MutationExecuteQuickActionOnCalendarChannelArgs = { id?: InputMaybe; }; export type MutationExecuteQuickActionOnCalendarChannelEventAssociationArgs = { id?: InputMaybe; }; export type MutationExecuteQuickActionOnCalendarEventArgs = { id?: InputMaybe; }; export type MutationExecuteQuickActionOnCalendarEventParticipantArgs = { id?: InputMaybe; }; export type MutationExecuteQuickActionOnCommentArgs = { id?: InputMaybe; }; export type MutationExecuteQuickActionOnCompanyArgs = { id?: InputMaybe; }; export type MutationExecuteQuickActionOnConnectedAccountArgs = { id?: InputMaybe; }; export type MutationExecuteQuickActionOnFavoriteArgs = { id?: InputMaybe; }; export type MutationExecuteQuickActionOnMessageArgs = { id?: InputMaybe; }; export type MutationExecuteQuickActionOnMessageChannelArgs = { id?: InputMaybe; }; export type MutationExecuteQuickActionOnMessageChannelMessageAssociationArgs = { id?: InputMaybe; }; export type MutationExecuteQuickActionOnMessageParticipantArgs = { id?: InputMaybe; }; export type MutationExecuteQuickActionOnMessageThreadArgs = { id?: InputMaybe; }; export type MutationExecuteQuickActionOnOpportunityArgs = { id?: InputMaybe; }; export type MutationExecuteQuickActionOnPersonArgs = { id?: InputMaybe; }; export type MutationExecuteQuickActionOnTimelineActivityArgs = { id?: InputMaybe; }; export type MutationExecuteQuickActionOnViewArgs = { id?: InputMaybe; }; export type MutationExecuteQuickActionOnViewFieldArgs = { id?: InputMaybe; }; export type MutationExecuteQuickActionOnViewFilterArgs = { id?: InputMaybe; }; export type MutationExecuteQuickActionOnViewSortArgs = { id?: InputMaybe; }; export type MutationExecuteQuickActionOnWebhookArgs = { id?: InputMaybe; }; export type MutationExecuteQuickActionOnWorkspaceMemberArgs = { id?: InputMaybe; }; export type MutationGenerateApiKeyTokenArgs = { apiKeyId: Scalars['String']; expiresAt: Scalars['String']; }; export type MutationGenerateJwtArgs = { workspaceId: Scalars['String']; }; export type MutationImpersonateArgs = { userId: Scalars['String']; }; export type MutationRenewTokenArgs = { appToken: Scalars['String']; }; export type MutationSendInviteLinkArgs = { emails: Array; }; export type MutationSignUpArgs = { captchaToken?: InputMaybe; email: Scalars['String']; password: Scalars['String']; workspaceInviteHash?: InputMaybe; }; export type MutationTrackArgs = { data: Scalars['JSON']; type: Scalars['String']; }; export type MutationUpdateActivitiesArgs = { data?: InputMaybe; filter?: InputMaybe; }; export type MutationUpdateActivityArgs = { data?: InputMaybe; id?: InputMaybe; }; export type MutationUpdateActivityTargetArgs = { data?: InputMaybe; id?: InputMaybe; }; export type MutationUpdateActivityTargetsArgs = { data?: InputMaybe; filter?: InputMaybe; }; export type MutationUpdateApiKeyArgs = { data?: InputMaybe; id?: InputMaybe; }; export type MutationUpdateApiKeysArgs = { data?: InputMaybe; filter?: InputMaybe; }; export type MutationUpdateAttachmentArgs = { data?: InputMaybe; id?: InputMaybe; }; export type MutationUpdateAttachmentsArgs = { data?: InputMaybe; filter?: InputMaybe; }; export type MutationUpdateAuditLogArgs = { data?: InputMaybe; id?: InputMaybe; }; export type MutationUpdateAuditLogsArgs = { data?: InputMaybe; filter?: InputMaybe; }; export type MutationUpdateBlocklistArgs = { data?: InputMaybe; id?: InputMaybe; }; export type MutationUpdateBlocklistsArgs = { data?: InputMaybe; filter?: InputMaybe; }; export type MutationUpdateCalendarChannelArgs = { data?: InputMaybe; id?: InputMaybe; }; export type MutationUpdateCalendarChannelEventAssociationArgs = { data?: InputMaybe; id?: InputMaybe; }; export type MutationUpdateCalendarChannelEventAssociationsArgs = { data?: InputMaybe; filter?: InputMaybe; }; export type MutationUpdateCalendarChannelsArgs = { data?: InputMaybe; filter?: InputMaybe; }; export type MutationUpdateCalendarEventArgs = { data?: InputMaybe; id?: InputMaybe; }; export type MutationUpdateCalendarEventParticipantArgs = { data?: InputMaybe; id?: InputMaybe; }; export type MutationUpdateCalendarEventParticipantsArgs = { data?: InputMaybe; filter?: InputMaybe; }; export type MutationUpdateCalendarEventsArgs = { data?: InputMaybe; filter?: InputMaybe; }; export type MutationUpdateCommentArgs = { data?: InputMaybe; id?: InputMaybe; }; export type MutationUpdateCommentsArgs = { data?: InputMaybe; filter?: InputMaybe; }; export type MutationUpdateCompaniesArgs = { data?: InputMaybe; filter?: InputMaybe; }; export type MutationUpdateCompanyArgs = { data?: InputMaybe; id?: InputMaybe; }; export type MutationUpdateConnectedAccountArgs = { data?: InputMaybe; id?: InputMaybe; }; export type MutationUpdateConnectedAccountsArgs = { data?: InputMaybe; filter?: InputMaybe; }; export type MutationUpdateFavoriteArgs = { data?: InputMaybe; id?: InputMaybe; }; export type MutationUpdateFavoritesArgs = { data?: InputMaybe; filter?: InputMaybe; }; export type MutationUpdateMessageArgs = { data?: InputMaybe; id?: InputMaybe; }; export type MutationUpdateMessageChannelArgs = { data?: InputMaybe; id?: InputMaybe; }; export type MutationUpdateMessageChannelMessageAssociationArgs = { data?: InputMaybe; id?: InputMaybe; }; export type MutationUpdateMessageChannelMessageAssociationsArgs = { data?: InputMaybe; filter?: InputMaybe; }; export type MutationUpdateMessageChannelsArgs = { data?: InputMaybe; filter?: InputMaybe; }; export type MutationUpdateMessageParticipantArgs = { data?: InputMaybe; id?: InputMaybe; }; export type MutationUpdateMessageParticipantsArgs = { data?: InputMaybe; filter?: InputMaybe; }; export type MutationUpdateMessageThreadArgs = { data?: InputMaybe; id?: InputMaybe; }; export type MutationUpdateMessageThreadsArgs = { data?: InputMaybe; filter?: InputMaybe; }; export type MutationUpdateMessagesArgs = { data?: InputMaybe; filter?: InputMaybe; }; export type MutationUpdateOneObjectArgs = { input: UpdateOneObjectInput; }; export type MutationUpdateOpportunitiesArgs = { data?: InputMaybe; filter?: InputMaybe; }; export type MutationUpdateOpportunityArgs = { data?: InputMaybe; id?: InputMaybe; }; export type MutationUpdatePasswordViaResetTokenArgs = { newPassword: Scalars['String']; passwordResetToken: Scalars['String']; }; export type MutationUpdatePeopleArgs = { data?: InputMaybe; filter?: InputMaybe; }; export type MutationUpdatePersonArgs = { data?: InputMaybe; id?: InputMaybe; }; export type MutationUpdateTimelineActivitiesArgs = { data?: InputMaybe; filter?: InputMaybe; }; export type MutationUpdateTimelineActivityArgs = { data?: InputMaybe; id?: InputMaybe; }; export type MutationUpdateViewArgs = { data?: InputMaybe; id?: InputMaybe; }; export type MutationUpdateViewFieldArgs = { data?: InputMaybe; id?: InputMaybe; }; export type MutationUpdateViewFieldsArgs = { data?: InputMaybe; filter?: InputMaybe; }; export type MutationUpdateViewFilterArgs = { data?: InputMaybe; id?: InputMaybe; }; export type MutationUpdateViewFiltersArgs = { data?: InputMaybe; filter?: InputMaybe; }; export type MutationUpdateViewSortArgs = { data?: InputMaybe; id?: InputMaybe; }; export type MutationUpdateViewSortsArgs = { data?: InputMaybe; filter?: InputMaybe; }; export type MutationUpdateViewsArgs = { data?: InputMaybe; filter?: InputMaybe; }; export type MutationUpdateWebhookArgs = { data?: InputMaybe; id?: InputMaybe; }; export type MutationUpdateWebhooksArgs = { data?: InputMaybe; filter?: InputMaybe; }; export type MutationUpdateWorkspaceArgs = { data: UpdateWorkspaceInput; }; export type MutationUpdateWorkspaceMemberArgs = { data?: InputMaybe; id?: InputMaybe; }; export type MutationUpdateWorkspaceMembersArgs = { data?: InputMaybe; filter?: InputMaybe; }; export type MutationUploadFileArgs = { file: Scalars['Upload']; fileFolder?: InputMaybe; }; export type MutationUploadImageArgs = { file: Scalars['Upload']; fileFolder?: InputMaybe; }; export type MutationUploadProfilePictureArgs = { file: Scalars['Upload']; }; export type MutationUploadWorkspaceLogoArgs = { file: Scalars['Upload']; }; export type MutationVerifyArgs = { loginToken: Scalars['String']; }; export type ObjectConnection = { /** Array of edges. */ edges: Array; /** Paging information */ pageInfo: PageInfo; }; export type ObjectFieldsConnection = { /** Array of edges. */ edges: Array; /** Paging information */ pageInfo: PageInfo; }; /** Onboarding status */ export enum OnboardingStatus { Completed = 'COMPLETED', InviteTeam = 'INVITE_TEAM', PlanRequired = 'PLAN_REQUIRED', ProfileCreation = 'PROFILE_CREATION', SyncEmail = 'SYNC_EMAIL', WorkspaceActivation = 'WORKSPACE_ACTIVATION' } export type OnboardingStepSuccess = { /** Boolean that confirms query was dispatched */ success: Scalars['Boolean']; }; /** An opportunity */ export type Opportunity = { /** Activities tied to the opportunity */ activityTargets?: Maybe; /** Opportunity amount */ amount?: Maybe; /** Attachments linked to the opportunity */ attachments?: Maybe; /** Opportunity close date */ closeDate?: Maybe; /** Opportunity company */ company?: Maybe; /** Opportunity company id foreign key */ companyId?: Maybe; /** Creation date */ createdAt?: Maybe; /** Favorites linked to the opportunity */ favorites?: Maybe; /** Id */ id?: Maybe; /** The opportunity name */ name?: Maybe; /** Opportunity point of contact */ pointOfContact?: Maybe; /** Opportunity point of contact id foreign key */ pointOfContactId?: Maybe; /** Opportunity record position */ position?: Maybe; /** Opportunity probability */ probability?: Maybe; /** Opportunity stage */ stage?: Maybe; /** Timeline Activities linked to the opportunity. */ timelineActivities?: Maybe; /** Update date */ updatedAt?: Maybe; }; /** An opportunity */ export type OpportunityActivityTargetsArgs = { after?: InputMaybe; before?: InputMaybe; filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; limit?: InputMaybe; orderBy?: InputMaybe>>; }; /** An opportunity */ export type OpportunityAttachmentsArgs = { after?: InputMaybe; before?: InputMaybe; filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; limit?: InputMaybe; orderBy?: InputMaybe>>; }; /** An opportunity */ export type OpportunityFavoritesArgs = { after?: InputMaybe; before?: InputMaybe; filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; limit?: InputMaybe; orderBy?: InputMaybe>>; }; /** An opportunity */ export type OpportunityTimelineActivitiesArgs = { after?: InputMaybe; before?: InputMaybe; filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; limit?: InputMaybe; orderBy?: InputMaybe>>; }; /** An opportunity */ export type OpportunityConnection = { edges?: Maybe>; pageInfo?: Maybe; /** Total number of records in the connection */ totalCount?: Maybe; }; /** An opportunity */ export type OpportunityCreateInput = { /** Opportunity amount */ amount?: InputMaybe; /** Opportunity close date */ closeDate?: InputMaybe; /** Opportunity company id foreign key */ companyId?: InputMaybe; /** Creation date */ createdAt?: InputMaybe; /** Id */ id?: InputMaybe; /** The opportunity name */ name?: InputMaybe; /** Opportunity point of contact id foreign key */ pointOfContactId?: InputMaybe; /** Opportunity record position */ position?: InputMaybe; /** Opportunity probability */ probability?: InputMaybe; /** Opportunity stage */ stage?: InputMaybe; /** Update date */ updatedAt?: InputMaybe; }; /** An opportunity */ export type OpportunityEdge = { cursor?: Maybe; node?: Maybe; }; /** An opportunity */ export type OpportunityFilterInput = { /** Opportunity amount */ amount?: InputMaybe; and?: InputMaybe>>; /** Opportunity close date */ closeDate?: InputMaybe; /** Opportunity company id foreign key */ companyId?: InputMaybe; /** Creation date */ createdAt?: InputMaybe; /** Id */ id?: InputMaybe; /** The opportunity name */ name?: InputMaybe; not?: InputMaybe; or?: InputMaybe>>; /** Opportunity point of contact id foreign key */ pointOfContactId?: InputMaybe; /** Opportunity record position */ position?: InputMaybe; /** Opportunity probability */ probability?: InputMaybe; /** Opportunity stage */ stage?: InputMaybe; /** Update date */ updatedAt?: InputMaybe; }; /** An opportunity */ export type OpportunityOrderByInput = { /** Opportunity amount */ amount?: InputMaybe; /** Opportunity close date */ closeDate?: InputMaybe; /** Opportunity company id foreign key */ companyId?: InputMaybe; /** Creation date */ createdAt?: InputMaybe; /** Id */ id?: InputMaybe; /** The opportunity name */ name?: InputMaybe; /** Opportunity point of contact id foreign key */ pointOfContactId?: InputMaybe; /** Opportunity record position */ position?: InputMaybe; /** Opportunity probability */ probability?: InputMaybe; /** Opportunity stage */ stage?: InputMaybe; /** Update date */ updatedAt?: InputMaybe; }; /** Opportunity stage */ export enum OpportunityStageEnum { /** Customer */ Customer = 'CUSTOMER', /** Meeting */ Meeting = 'MEETING', /** New */ New = 'NEW', /** Proposal */ Proposal = 'PROPOSAL', /** Screening */ Screening = 'SCREENING' } export type OpportunityStageEnumFilter = { eq?: InputMaybe; in?: InputMaybe>>; is?: InputMaybe; neq?: InputMaybe; }; /** An opportunity */ export type OpportunityUpdateInput = { /** Opportunity amount */ amount?: InputMaybe; /** Opportunity close date */ closeDate?: InputMaybe; /** Opportunity company id foreign key */ companyId?: InputMaybe; /** Creation date */ createdAt?: InputMaybe; /** Id */ id?: InputMaybe; /** The opportunity name */ name?: InputMaybe; /** Opportunity point of contact id foreign key */ pointOfContactId?: InputMaybe; /** Opportunity record position */ position?: InputMaybe; /** Opportunity probability */ probability?: InputMaybe; /** Opportunity stage */ stage?: InputMaybe; /** Update date */ updatedAt?: InputMaybe; }; /** This enum is used to specify the order of results */ export enum OrderByDirection { /** Ascending order, nulls first */ AscNullsFirst = 'AscNullsFirst', /** Ascending order, nulls last */ AscNullsLast = 'AscNullsLast', /** Descending order, nulls first */ DescNullsFirst = 'DescNullsFirst', /** Descending order, nulls last */ DescNullsLast = 'DescNullsLast' } export type PageInfo = { /** The cursor of the last returned record. */ endCursor?: Maybe; /** true if paging forward and there are more records. */ hasNextPage: Scalars['Boolean']; /** true if paging backwards and there are more records. */ hasPreviousPage: Scalars['Boolean']; /** The cursor of the first returned record. */ startCursor?: Maybe; }; /** A person */ export type Person = { /** Activities tied to the contact */ activityTargets?: Maybe; /** Attachments linked to the contact. */ attachments?: Maybe; /** Contact’s avatar */ avatarUrl?: Maybe; /** Calendar Event Participants */ calendarEventParticipants?: Maybe; /** Contact’s city */ city?: Maybe; /** Contact’s company */ company?: Maybe; /** Contact’s company id foreign key */ companyId?: Maybe; /** Creation date */ createdAt?: Maybe; /** Contact’s Email */ email?: Maybe; /** Favorites linked to the contact */ favorites?: Maybe; /** Id */ id?: Maybe; /** Contact’s job title */ jobTitle?: Maybe; /** Contact’s Linkedin account */ linkedinLink?: Maybe; /** Message Participants */ messageParticipants?: Maybe; /** Contact’s name */ name?: Maybe; /** Contact’s phone number */ phone?: Maybe; /** Point of Contact for Opportunities */ pointOfContactForOpportunities?: Maybe; /** Person record Position */ position?: Maybe; /** Events linked to the company */ timelineActivities?: Maybe; /** Update date */ updatedAt?: Maybe; /** Contact’s X/Twitter account */ xLink?: Maybe; }; /** A person */ export type PersonActivityTargetsArgs = { after?: InputMaybe; before?: InputMaybe; filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; limit?: InputMaybe; orderBy?: InputMaybe>>; }; /** A person */ export type PersonAttachmentsArgs = { after?: InputMaybe; before?: InputMaybe; filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; limit?: InputMaybe; orderBy?: InputMaybe>>; }; /** A person */ export type PersonCalendarEventParticipantsArgs = { after?: InputMaybe; before?: InputMaybe; filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; limit?: InputMaybe; orderBy?: InputMaybe>>; }; /** A person */ export type PersonFavoritesArgs = { after?: InputMaybe; before?: InputMaybe; filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; limit?: InputMaybe; orderBy?: InputMaybe>>; }; /** A person */ export type PersonMessageParticipantsArgs = { after?: InputMaybe; before?: InputMaybe; filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; limit?: InputMaybe; orderBy?: InputMaybe>>; }; /** A person */ export type PersonPointOfContactForOpportunitiesArgs = { after?: InputMaybe; before?: InputMaybe; filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; limit?: InputMaybe; orderBy?: InputMaybe>>; }; /** A person */ export type PersonTimelineActivitiesArgs = { after?: InputMaybe; before?: InputMaybe; filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; limit?: InputMaybe; orderBy?: InputMaybe>>; }; /** A person */ export type PersonConnection = { edges?: Maybe>; pageInfo?: Maybe; /** Total number of records in the connection */ totalCount?: Maybe; }; /** A person */ export type PersonCreateInput = { /** Contact’s avatar */ avatarUrl?: InputMaybe; /** Contact’s city */ city?: InputMaybe; /** Contact’s company id foreign key */ companyId?: InputMaybe; /** Creation date */ createdAt?: InputMaybe; /** Contact’s Email */ email?: InputMaybe; /** Id */ id?: InputMaybe; /** Contact’s job title */ jobTitle?: InputMaybe; /** Contact’s Linkedin account */ linkedinLink?: InputMaybe; /** Contact’s name */ name?: InputMaybe; /** Contact’s phone number */ phone?: InputMaybe; /** Person record Position */ position?: InputMaybe; /** Update date */ updatedAt?: InputMaybe; /** Contact’s X/Twitter account */ xLink?: InputMaybe; }; /** A person */ export type PersonEdge = { cursor?: Maybe; node?: Maybe; }; /** A person */ export type PersonFilterInput = { and?: InputMaybe>>; /** Contact’s avatar */ avatarUrl?: InputMaybe; /** Contact’s city */ city?: InputMaybe; /** Contact’s company id foreign key */ companyId?: InputMaybe; /** Creation date */ createdAt?: InputMaybe; /** Contact’s Email */ email?: InputMaybe; /** Id */ id?: InputMaybe; /** Contact’s job title */ jobTitle?: InputMaybe; /** Contact’s Linkedin account */ linkedinLink?: InputMaybe; /** Contact’s name */ name?: InputMaybe; not?: InputMaybe; or?: InputMaybe>>; /** Contact’s phone number */ phone?: InputMaybe; /** Person record Position */ position?: InputMaybe; /** Update date */ updatedAt?: InputMaybe; /** Contact’s X/Twitter account */ xLink?: InputMaybe; }; /** A person */ export type PersonOrderByInput = { /** Contact’s avatar */ avatarUrl?: InputMaybe; /** Contact’s city */ city?: InputMaybe; /** Contact’s company id foreign key */ companyId?: InputMaybe; /** Creation date */ createdAt?: InputMaybe; /** Contact’s Email */ email?: InputMaybe; /** Id */ id?: InputMaybe; /** Contact’s job title */ jobTitle?: InputMaybe; /** Contact’s Linkedin account */ linkedinLink?: InputMaybe; /** Contact’s name */ name?: InputMaybe; /** Contact’s phone number */ phone?: InputMaybe; /** Person record Position */ position?: InputMaybe; /** Update date */ updatedAt?: InputMaybe; /** Contact’s X/Twitter account */ xLink?: InputMaybe; }; /** A person */ export type PersonUpdateInput = { /** Contact’s avatar */ avatarUrl?: InputMaybe; /** Contact’s city */ city?: InputMaybe; /** Contact’s company id foreign key */ companyId?: InputMaybe; /** Creation date */ createdAt?: InputMaybe; /** Contact’s Email */ email?: InputMaybe; /** Id */ id?: InputMaybe; /** Contact’s job title */ jobTitle?: InputMaybe; /** Contact’s Linkedin account */ linkedinLink?: InputMaybe; /** Contact’s name */ name?: InputMaybe; /** Contact’s phone number */ phone?: InputMaybe; /** Person record Position */ position?: InputMaybe; /** Update date */ updatedAt?: InputMaybe; /** Contact’s X/Twitter account */ xLink?: InputMaybe; }; export type PostgresCredentials = { id: Scalars['UUID']; password: Scalars['String']; user: Scalars['String']; workspaceId: Scalars['String']; }; export type ProductPriceEntity = { created: Scalars['Float']; recurringInterval: SubscriptionInterval; stripePriceId: Scalars['String']; unitAmount: Scalars['Float']; }; export type ProductPricesEntity = { productPrices: Array; totalNumberOfPrices: Scalars['Int']; }; export type Query = { activities?: Maybe; activity?: Maybe; activityDuplicates?: Maybe>; activityTarget?: Maybe; activityTargetDuplicates?: Maybe>; activityTargets?: Maybe; apiKey?: Maybe; apiKeyDuplicates?: Maybe>; apiKeys?: Maybe; attachment?: Maybe; attachmentDuplicates?: Maybe>; attachments?: Maybe; auditLog?: Maybe; auditLogDuplicates?: Maybe>; auditLogs?: Maybe; billingPortalSession: SessionEntity; blocklist?: Maybe; blocklistDuplicates?: Maybe>; blocklists?: Maybe; calendarChannel?: Maybe; calendarChannelDuplicates?: Maybe>; calendarChannelEventAssociation?: Maybe; calendarChannelEventAssociationDuplicates?: Maybe>; calendarChannelEventAssociations?: Maybe; calendarChannels?: Maybe; calendarEvent?: Maybe; calendarEventDuplicates?: Maybe>; calendarEventParticipant?: Maybe; calendarEventParticipantDuplicates?: Maybe>; calendarEventParticipants?: Maybe; calendarEvents?: Maybe; checkUserExists: UserExists; checkWorkspaceInviteHashIsValid: WorkspaceInviteHashValid; clientConfig: ClientConfig; comment?: Maybe; commentDuplicates?: Maybe>; comments?: Maybe; companies?: Maybe; company?: Maybe; companyDuplicates?: Maybe>; connectedAccount?: Maybe; connectedAccountDuplicates?: Maybe>; connectedAccounts?: Maybe; currentUser: User; currentWorkspace: Workspace; favorite?: Maybe; favoriteDuplicates?: Maybe>; favorites?: Maybe; findWorkspaceFromInviteHash: Workspace; getPostgresCredentials?: Maybe; getProductPrices: ProductPricesEntity; getTimelineCalendarEventsFromCompanyId: TimelineCalendarEventsWithTotal; getTimelineCalendarEventsFromPersonId: TimelineCalendarEventsWithTotal; getTimelineThreadsFromCompanyId: TimelineThreadsWithTotal; getTimelineThreadsFromPersonId: TimelineThreadsWithTotal; message?: Maybe; messageChannel?: Maybe; messageChannelDuplicates?: Maybe>; messageChannelMessageAssociation?: Maybe; messageChannelMessageAssociationDuplicates?: Maybe>; messageChannelMessageAssociations?: Maybe; messageChannels?: Maybe; messageDuplicates?: Maybe>; messageParticipant?: Maybe; messageParticipantDuplicates?: Maybe>; messageParticipants?: Maybe; messageThread?: Maybe; messageThreadDuplicates?: Maybe>; messageThreads?: Maybe; messages?: Maybe; object: Object; objects: ObjectConnection; opportunities?: Maybe; opportunity?: Maybe; opportunityDuplicates?: Maybe>; people?: Maybe; person?: Maybe; personDuplicates?: Maybe>; timelineActivities?: Maybe; timelineActivity?: Maybe; timelineActivityDuplicates?: Maybe>; validatePasswordResetToken: ValidatePasswordResetToken; view?: Maybe; viewDuplicates?: Maybe>; viewField?: Maybe; viewFieldDuplicates?: Maybe>; viewFields?: Maybe; viewFilter?: Maybe; viewFilterDuplicates?: Maybe>; viewFilters?: Maybe; viewSort?: Maybe; viewSortDuplicates?: Maybe>; viewSorts?: Maybe; views?: Maybe; webhook?: Maybe; webhookDuplicates?: Maybe>; webhooks?: Maybe; workspaceMember?: Maybe; workspaceMemberDuplicates?: Maybe>; workspaceMembers?: Maybe; }; export type QueryActivitiesArgs = { after?: InputMaybe; before?: InputMaybe; filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; limit?: InputMaybe; orderBy?: InputMaybe>>; }; export type QueryActivityArgs = { filter?: InputMaybe; }; export type QueryActivityDuplicatesArgs = { data?: InputMaybe>>; ids?: InputMaybe>>; }; export type QueryActivityTargetArgs = { filter?: InputMaybe; }; export type QueryActivityTargetDuplicatesArgs = { data?: InputMaybe>>; ids?: InputMaybe>>; }; export type QueryActivityTargetsArgs = { after?: InputMaybe; before?: InputMaybe; filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; limit?: InputMaybe; orderBy?: InputMaybe>>; }; export type QueryApiKeyArgs = { filter?: InputMaybe; }; export type QueryApiKeyDuplicatesArgs = { data?: InputMaybe>>; ids?: InputMaybe>>; }; export type QueryApiKeysArgs = { after?: InputMaybe; before?: InputMaybe; filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; limit?: InputMaybe; orderBy?: InputMaybe>>; }; export type QueryAttachmentArgs = { filter?: InputMaybe; }; export type QueryAttachmentDuplicatesArgs = { data?: InputMaybe>>; ids?: InputMaybe>>; }; export type QueryAttachmentsArgs = { after?: InputMaybe; before?: InputMaybe; filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; limit?: InputMaybe; orderBy?: InputMaybe>>; }; export type QueryAuditLogArgs = { filter?: InputMaybe; }; export type QueryAuditLogDuplicatesArgs = { data?: InputMaybe>>; ids?: InputMaybe>>; }; export type QueryAuditLogsArgs = { after?: InputMaybe; before?: InputMaybe; filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; limit?: InputMaybe; orderBy?: InputMaybe>>; }; export type QueryBillingPortalSessionArgs = { returnUrlPath?: InputMaybe; }; export type QueryBlocklistArgs = { filter?: InputMaybe; }; export type QueryBlocklistDuplicatesArgs = { data?: InputMaybe>>; ids?: InputMaybe>>; }; export type QueryBlocklistsArgs = { after?: InputMaybe; before?: InputMaybe; filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; limit?: InputMaybe; orderBy?: InputMaybe>>; }; export type QueryCalendarChannelArgs = { filter?: InputMaybe; }; export type QueryCalendarChannelDuplicatesArgs = { data?: InputMaybe>>; ids?: InputMaybe>>; }; export type QueryCalendarChannelEventAssociationArgs = { filter?: InputMaybe; }; export type QueryCalendarChannelEventAssociationDuplicatesArgs = { data?: InputMaybe>>; ids?: InputMaybe>>; }; export type QueryCalendarChannelEventAssociationsArgs = { after?: InputMaybe; before?: InputMaybe; filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; limit?: InputMaybe; orderBy?: InputMaybe>>; }; export type QueryCalendarChannelsArgs = { after?: InputMaybe; before?: InputMaybe; filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; limit?: InputMaybe; orderBy?: InputMaybe>>; }; export type QueryCalendarEventArgs = { filter?: InputMaybe; }; export type QueryCalendarEventDuplicatesArgs = { data?: InputMaybe>>; ids?: InputMaybe>>; }; export type QueryCalendarEventParticipantArgs = { filter?: InputMaybe; }; export type QueryCalendarEventParticipantDuplicatesArgs = { data?: InputMaybe>>; ids?: InputMaybe>>; }; export type QueryCalendarEventParticipantsArgs = { after?: InputMaybe; before?: InputMaybe; filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; limit?: InputMaybe; orderBy?: InputMaybe>>; }; export type QueryCalendarEventsArgs = { after?: InputMaybe; before?: InputMaybe; filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; limit?: InputMaybe; orderBy?: InputMaybe>>; }; export type QueryCheckUserExistsArgs = { captchaToken?: InputMaybe; email: Scalars['String']; }; export type QueryCheckWorkspaceInviteHashIsValidArgs = { inviteHash: Scalars['String']; }; export type QueryCommentArgs = { filter?: InputMaybe; }; export type QueryCommentDuplicatesArgs = { data?: InputMaybe>>; ids?: InputMaybe>>; }; export type QueryCommentsArgs = { after?: InputMaybe; before?: InputMaybe; filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; limit?: InputMaybe; orderBy?: InputMaybe>>; }; export type QueryCompaniesArgs = { after?: InputMaybe; before?: InputMaybe; filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; limit?: InputMaybe; orderBy?: InputMaybe>>; }; export type QueryCompanyArgs = { filter?: InputMaybe; }; export type QueryCompanyDuplicatesArgs = { data?: InputMaybe>>; ids?: InputMaybe>>; }; export type QueryConnectedAccountArgs = { filter?: InputMaybe; }; export type QueryConnectedAccountDuplicatesArgs = { data?: InputMaybe>>; ids?: InputMaybe>>; }; export type QueryConnectedAccountsArgs = { after?: InputMaybe; before?: InputMaybe; filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; limit?: InputMaybe; orderBy?: InputMaybe>>; }; export type QueryFavoriteArgs = { filter?: InputMaybe; }; export type QueryFavoriteDuplicatesArgs = { data?: InputMaybe>>; ids?: InputMaybe>>; }; export type QueryFavoritesArgs = { after?: InputMaybe; before?: InputMaybe; filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; limit?: InputMaybe; orderBy?: InputMaybe>>; }; export type QueryFindWorkspaceFromInviteHashArgs = { inviteHash: Scalars['String']; }; export type QueryGetProductPricesArgs = { product: Scalars['String']; }; export type QueryGetTimelineCalendarEventsFromCompanyIdArgs = { companyId: Scalars['UUID']; page: Scalars['Int']; pageSize: Scalars['Int']; }; export type QueryGetTimelineCalendarEventsFromPersonIdArgs = { page: Scalars['Int']; pageSize: Scalars['Int']; personId: Scalars['UUID']; }; export type QueryGetTimelineThreadsFromCompanyIdArgs = { companyId: Scalars['UUID']; page: Scalars['Int']; pageSize: Scalars['Int']; }; export type QueryGetTimelineThreadsFromPersonIdArgs = { page: Scalars['Int']; pageSize: Scalars['Int']; personId: Scalars['UUID']; }; export type QueryMessageArgs = { filter?: InputMaybe; }; export type QueryMessageChannelArgs = { filter?: InputMaybe; }; export type QueryMessageChannelDuplicatesArgs = { data?: InputMaybe>>; ids?: InputMaybe>>; }; export type QueryMessageChannelMessageAssociationArgs = { filter?: InputMaybe; }; export type QueryMessageChannelMessageAssociationDuplicatesArgs = { data?: InputMaybe>>; ids?: InputMaybe>>; }; export type QueryMessageChannelMessageAssociationsArgs = { after?: InputMaybe; before?: InputMaybe; filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; limit?: InputMaybe; orderBy?: InputMaybe>>; }; export type QueryMessageChannelsArgs = { after?: InputMaybe; before?: InputMaybe; filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; limit?: InputMaybe; orderBy?: InputMaybe>>; }; export type QueryMessageDuplicatesArgs = { data?: InputMaybe>>; ids?: InputMaybe>>; }; export type QueryMessageParticipantArgs = { filter?: InputMaybe; }; export type QueryMessageParticipantDuplicatesArgs = { data?: InputMaybe>>; ids?: InputMaybe>>; }; export type QueryMessageParticipantsArgs = { after?: InputMaybe; before?: InputMaybe; filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; limit?: InputMaybe; orderBy?: InputMaybe>>; }; export type QueryMessageThreadArgs = { filter?: InputMaybe; }; export type QueryMessageThreadDuplicatesArgs = { data?: InputMaybe>>; ids?: InputMaybe>>; }; export type QueryMessageThreadsArgs = { after?: InputMaybe; before?: InputMaybe; filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; limit?: InputMaybe; orderBy?: InputMaybe>>; }; export type QueryMessagesArgs = { after?: InputMaybe; before?: InputMaybe; filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; limit?: InputMaybe; orderBy?: InputMaybe>>; }; export type QueryOpportunitiesArgs = { after?: InputMaybe; before?: InputMaybe; filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; limit?: InputMaybe; orderBy?: InputMaybe>>; }; export type QueryOpportunityArgs = { filter?: InputMaybe; }; export type QueryOpportunityDuplicatesArgs = { data?: InputMaybe>>; ids?: InputMaybe>>; }; export type QueryPeopleArgs = { after?: InputMaybe; before?: InputMaybe; filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; limit?: InputMaybe; orderBy?: InputMaybe>>; }; export type QueryPersonArgs = { filter?: InputMaybe; }; export type QueryPersonDuplicatesArgs = { data?: InputMaybe>>; ids?: InputMaybe>>; }; export type QueryTimelineActivitiesArgs = { after?: InputMaybe; before?: InputMaybe; filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; limit?: InputMaybe; orderBy?: InputMaybe>>; }; export type QueryTimelineActivityArgs = { filter?: InputMaybe; }; export type QueryTimelineActivityDuplicatesArgs = { data?: InputMaybe>>; ids?: InputMaybe>>; }; export type QueryValidatePasswordResetTokenArgs = { passwordResetToken: Scalars['String']; }; export type QueryViewArgs = { filter?: InputMaybe; }; export type QueryViewDuplicatesArgs = { data?: InputMaybe>>; ids?: InputMaybe>>; }; export type QueryViewFieldArgs = { filter?: InputMaybe; }; export type QueryViewFieldDuplicatesArgs = { data?: InputMaybe>>; ids?: InputMaybe>>; }; export type QueryViewFieldsArgs = { after?: InputMaybe; before?: InputMaybe; filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; limit?: InputMaybe; orderBy?: InputMaybe>>; }; export type QueryViewFilterArgs = { filter?: InputMaybe; }; export type QueryViewFilterDuplicatesArgs = { data?: InputMaybe>>; ids?: InputMaybe>>; }; export type QueryViewFiltersArgs = { after?: InputMaybe; before?: InputMaybe; filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; limit?: InputMaybe; orderBy?: InputMaybe>>; }; export type QueryViewSortArgs = { filter?: InputMaybe; }; export type QueryViewSortDuplicatesArgs = { data?: InputMaybe>>; ids?: InputMaybe>>; }; export type QueryViewSortsArgs = { after?: InputMaybe; before?: InputMaybe; filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; limit?: InputMaybe; orderBy?: InputMaybe>>; }; export type QueryViewsArgs = { after?: InputMaybe; before?: InputMaybe; filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; limit?: InputMaybe; orderBy?: InputMaybe>>; }; export type QueryWebhookArgs = { filter?: InputMaybe; }; export type QueryWebhookDuplicatesArgs = { data?: InputMaybe>>; ids?: InputMaybe>>; }; export type QueryWebhooksArgs = { after?: InputMaybe; before?: InputMaybe; filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; limit?: InputMaybe; orderBy?: InputMaybe>>; }; export type QueryWorkspaceMemberArgs = { filter?: InputMaybe; }; export type QueryWorkspaceMemberDuplicatesArgs = { data?: InputMaybe>>; ids?: InputMaybe>>; }; export type QueryWorkspaceMembersArgs = { after?: InputMaybe; before?: InputMaybe; filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; limit?: InputMaybe; orderBy?: InputMaybe>>; }; export type RawJsonFilter = { is?: InputMaybe; }; export type RelationConnection = { /** Array of edges. */ edges: Array; /** Paging information */ pageInfo: PageInfo; }; export type RelationDefinition = { direction: RelationDefinitionType; relationId: Scalars['UUID']; sourceFieldMetadata: Field; sourceObjectMetadata: Object; targetFieldMetadata: Field; targetObjectMetadata: Object; }; /** Relation definition type */ export enum RelationDefinitionType { ManyToMany = 'MANY_TO_MANY', ManyToOne = 'MANY_TO_ONE', OneToMany = 'ONE_TO_MANY', OneToOne = 'ONE_TO_ONE' } /** Type of the relation */ export enum RelationMetadataType { ManyToMany = 'MANY_TO_MANY', ManyToOne = 'MANY_TO_ONE', OneToMany = 'ONE_TO_MANY', OneToOne = 'ONE_TO_ONE' } export type RemoteServer = { createdAt: Scalars['DateTime']; foreignDataWrapperId: Scalars['ID']; foreignDataWrapperOptions?: Maybe; foreignDataWrapperType: Scalars['String']; id: Scalars['ID']; label: Scalars['String']; schema?: Maybe; updatedAt: Scalars['DateTime']; userMappingOptions?: Maybe; }; export type RemoteTable = { id?: Maybe; name: Scalars['String']; schema?: Maybe; schemaPendingUpdates?: Maybe>; status: RemoteTableStatus; }; /** Status of the table */ export enum RemoteTableStatus { NotSynced = 'NOT_SYNCED', Synced = 'SYNCED' } export type SendInviteLink = { /** Boolean that confirms query was dispatched */ success: Scalars['Boolean']; }; export type Sentry = { dsn?: Maybe; environment?: Maybe; release?: Maybe; }; export type SessionEntity = { url?: Maybe; }; /** Sort Directions */ export enum SortDirection { Asc = 'ASC', Desc = 'DESC' } /** Sort Nulls Options */ export enum SortNulls { NullsFirst = 'NULLS_FIRST', NullsLast = 'NULLS_LAST' } export type StringFilter = { eq?: InputMaybe; gt?: InputMaybe; gte?: InputMaybe; ilike?: InputMaybe; in?: InputMaybe>; iregex?: InputMaybe; is?: InputMaybe; like?: InputMaybe; lt?: InputMaybe; lte?: InputMaybe; neq?: InputMaybe; regex?: InputMaybe; startsWith?: InputMaybe; }; export enum SubscriptionInterval { Day = 'Day', Month = 'Month', Week = 'Week', Year = 'Year' } export enum SubscriptionStatus { Active = 'Active', Canceled = 'Canceled', Incomplete = 'Incomplete', IncompleteExpired = 'IncompleteExpired', PastDue = 'PastDue', Paused = 'Paused', Trialing = 'Trialing', Unpaid = 'Unpaid' } export type Support = { supportDriver: Scalars['String']; supportFrontChatId?: Maybe; }; export type Telemetry = { enabled: Scalars['Boolean']; }; /** Aggregated / filtered event to be displayed on the timeline */ export type TimelineActivity = { /** Event company */ company?: Maybe; /** Event company id foreign key */ companyId?: Maybe; /** Creation date */ createdAt?: Maybe; /** Creation date */ happensAt?: Maybe; /** Id */ id?: Maybe; /** inked Object Metadata Id */ linkedObjectMetadataId?: Maybe; /** Cached record name */ linkedRecordCachedName?: Maybe; /** Linked Record id */ linkedRecordId?: Maybe; /** Event name */ name?: Maybe; /** Event opportunity */ opportunity?: Maybe; /** Event opportunity id foreign key */ opportunityId?: Maybe; /** Event person */ person?: Maybe; /** Event person id foreign key */ personId?: Maybe; /** Json value for event details */ properties?: Maybe; /** Update date */ updatedAt?: Maybe; /** Event workspace member */ workspaceMember?: Maybe; /** Event workspace member id foreign key */ workspaceMemberId?: Maybe; }; /** Aggregated / filtered event to be displayed on the timeline */ export type TimelineActivityConnection = { edges?: Maybe>; pageInfo?: Maybe; /** Total number of records in the connection */ totalCount?: Maybe; }; /** Aggregated / filtered event to be displayed on the timeline */ export type TimelineActivityCreateInput = { /** Event company id foreign key */ companyId?: InputMaybe; /** Creation date */ createdAt?: InputMaybe; /** Creation date */ happensAt?: InputMaybe; /** Id */ id?: InputMaybe; /** inked Object Metadata Id */ linkedObjectMetadataId?: InputMaybe; /** Cached record name */ linkedRecordCachedName?: InputMaybe; /** Linked Record id */ linkedRecordId?: InputMaybe; /** Event name */ name?: InputMaybe; /** Event opportunity id foreign key */ opportunityId?: InputMaybe; /** Event person id foreign key */ personId?: InputMaybe; /** Json value for event details */ properties?: InputMaybe; /** Update date */ updatedAt?: InputMaybe; /** Event workspace member id foreign key */ workspaceMemberId?: InputMaybe; }; /** Aggregated / filtered event to be displayed on the timeline */ export type TimelineActivityEdge = { cursor?: Maybe; node?: Maybe; }; /** Aggregated / filtered event to be displayed on the timeline */ export type TimelineActivityFilterInput = { and?: InputMaybe>>; /** Event company id foreign key */ companyId?: InputMaybe; /** Creation date */ createdAt?: InputMaybe; /** Creation date */ happensAt?: InputMaybe; /** Id */ id?: InputMaybe; /** inked Object Metadata Id */ linkedObjectMetadataId?: InputMaybe; /** Cached record name */ linkedRecordCachedName?: InputMaybe; /** Linked Record id */ linkedRecordId?: InputMaybe; /** Event name */ name?: InputMaybe; not?: InputMaybe; /** Event opportunity id foreign key */ opportunityId?: InputMaybe; or?: InputMaybe>>; /** Event person id foreign key */ personId?: InputMaybe; /** Json value for event details */ properties?: InputMaybe; /** Update date */ updatedAt?: InputMaybe; /** Event workspace member id foreign key */ workspaceMemberId?: InputMaybe; }; /** Aggregated / filtered event to be displayed on the timeline */ export type TimelineActivityOrderByInput = { /** Event company id foreign key */ companyId?: InputMaybe; /** Creation date */ createdAt?: InputMaybe; /** Creation date */ happensAt?: InputMaybe; /** Id */ id?: InputMaybe; /** inked Object Metadata Id */ linkedObjectMetadataId?: InputMaybe; /** Cached record name */ linkedRecordCachedName?: InputMaybe; /** Linked Record id */ linkedRecordId?: InputMaybe; /** Event name */ name?: InputMaybe; /** Event opportunity id foreign key */ opportunityId?: InputMaybe; /** Event person id foreign key */ personId?: InputMaybe; /** Json value for event details */ properties?: InputMaybe; /** Update date */ updatedAt?: InputMaybe; /** Event workspace member id foreign key */ workspaceMemberId?: InputMaybe; }; /** Aggregated / filtered event to be displayed on the timeline */ export type TimelineActivityUpdateInput = { /** Event company id foreign key */ companyId?: InputMaybe; /** Creation date */ createdAt?: InputMaybe; /** Creation date */ happensAt?: InputMaybe; /** Id */ id?: InputMaybe; /** inked Object Metadata Id */ linkedObjectMetadataId?: InputMaybe; /** Cached record name */ linkedRecordCachedName?: InputMaybe; /** Linked Record id */ linkedRecordId?: InputMaybe; /** Event name */ name?: InputMaybe; /** Event opportunity id foreign key */ opportunityId?: InputMaybe; /** Event person id foreign key */ personId?: InputMaybe; /** Json value for event details */ properties?: InputMaybe; /** Update date */ updatedAt?: InputMaybe; /** Event workspace member id foreign key */ workspaceMemberId?: InputMaybe; }; export type TimelineCalendarEvent = { conferenceLink: LinkMetadata; conferenceSolution: Scalars['String']; description: Scalars['String']; endsAt: Scalars['DateTime']; id: Scalars['UUID']; isCanceled: Scalars['Boolean']; isFullDay: Scalars['Boolean']; location: Scalars['String']; participants: Array; startsAt: Scalars['DateTime']; title: Scalars['String']; visibility: CalendarChannelVisibility; }; export type TimelineCalendarEventParticipant = { avatarUrl: Scalars['String']; displayName: Scalars['String']; firstName: Scalars['String']; handle: Scalars['String']; lastName: Scalars['String']; personId?: Maybe; workspaceMemberId?: Maybe; }; export type TimelineCalendarEventsWithTotal = { timelineCalendarEvents: Array; totalNumberOfCalendarEvents: Scalars['Int']; }; export type TimelineThread = { firstParticipant: TimelineThreadParticipant; id: Scalars['UUID']; lastMessageBody: Scalars['String']; lastMessageReceivedAt: Scalars['DateTime']; lastTwoParticipants: Array; numberOfMessagesInThread: Scalars['Float']; participantCount: Scalars['Float']; read: Scalars['Boolean']; subject: Scalars['String']; visibility: MessageChannelVisibility; }; export type TimelineThreadParticipant = { avatarUrl: Scalars['String']; displayName: Scalars['String']; firstName: Scalars['String']; handle: Scalars['String']; lastName: Scalars['String']; personId?: Maybe; workspaceMemberId?: Maybe; }; export type TimelineThreadsWithTotal = { timelineThreads: Array; totalNumberOfThreads: Scalars['Int']; }; export type TransientToken = { transientToken: AuthToken; }; export type UuidFilterComparison = { eq?: InputMaybe; gt?: InputMaybe; gte?: InputMaybe; iLike?: InputMaybe; in?: InputMaybe>; is?: InputMaybe; isNot?: InputMaybe; like?: InputMaybe; lt?: InputMaybe; lte?: InputMaybe; neq?: InputMaybe; notILike?: InputMaybe; notIn?: InputMaybe>; notLike?: InputMaybe; }; export type UpdateBillingEntity = { /** Boolean that confirms query was successful */ success: Scalars['Boolean']; }; export type UpdateObjectPayload = { description?: InputMaybe; icon?: InputMaybe; imageIdentifierFieldMetadataId?: InputMaybe; isActive?: InputMaybe; labelIdentifierFieldMetadataId?: InputMaybe; labelPlural?: InputMaybe; labelSingular?: InputMaybe; namePlural?: InputMaybe; nameSingular?: InputMaybe; }; export type UpdateOneObjectInput = { /** The id of the object to update */ id: Scalars['UUID']; update: UpdateObjectPayload; }; export type UpdateWorkspaceInput = { allowImpersonation?: InputMaybe; displayName?: InputMaybe; domainName?: InputMaybe; inviteHash?: InputMaybe; logo?: InputMaybe; }; export type User = { canImpersonate: Scalars['Boolean']; createdAt: Scalars['DateTime']; defaultAvatarUrl?: Maybe; defaultWorkspace: Workspace; defaultWorkspaceId: Scalars['String']; deletedAt?: Maybe; disabled?: Maybe; email: Scalars['String']; emailVerified: Scalars['Boolean']; firstName: Scalars['String']; id: Scalars['UUID']; lastName: Scalars['String']; onboardingStatus?: Maybe; passwordHash?: Maybe; /** @deprecated field migrated into the AppTokens Table ref: https://github.com/twentyhq/twenty/issues/5021 */ passwordResetToken?: Maybe; /** @deprecated field migrated into the AppTokens Table ref: https://github.com/twentyhq/twenty/issues/5021 */ passwordResetTokenExpiresAt?: Maybe; supportUserHash?: Maybe; updatedAt: Scalars['DateTime']; workspaceMember?: Maybe; workspaces: Array; }; export type UserEdge = { /** Cursor for this node. */ cursor: Scalars['ConnectionCursor']; /** The node containing the User */ node: User; }; export type UserExists = { exists: Scalars['Boolean']; }; export type UserMappingOptionsUser = { user?: Maybe; }; export type UserWorkspace = { createdAt: Scalars['DateTime']; deletedAt?: Maybe; id: Scalars['UUID']; updatedAt: Scalars['DateTime']; user: User; userId: Scalars['String']; workspace?: Maybe; workspaceId: Scalars['String']; }; export type ValidatePasswordResetToken = { email: Scalars['String']; id: Scalars['String']; }; export type Verify = { tokens: AuthTokenPair; user: User; }; /** (System) Views */ export type View = { /** Creation date */ createdAt?: Maybe; /** View icon */ icon?: Maybe; /** Id */ id?: Maybe; /** Describes if the view is in compact mode */ isCompact?: Maybe; /** View Kanban column field */ kanbanFieldMetadataId?: Maybe; /** View key */ key?: Maybe; /** View name */ name?: Maybe; /** View target object */ objectMetadataId?: Maybe; /** View position */ position?: Maybe; /** View type */ type?: Maybe; /** Update date */ updatedAt?: Maybe; /** View Fields */ viewFields?: Maybe; /** View Filters */ viewFilters?: Maybe; /** View Sorts */ viewSorts?: Maybe; }; /** (System) Views */ export type ViewViewFieldsArgs = { after?: InputMaybe; before?: InputMaybe; filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; limit?: InputMaybe; orderBy?: InputMaybe>>; }; /** (System) Views */ export type ViewViewFiltersArgs = { after?: InputMaybe; before?: InputMaybe; filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; limit?: InputMaybe; orderBy?: InputMaybe>>; }; /** (System) Views */ export type ViewViewSortsArgs = { after?: InputMaybe; before?: InputMaybe; filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; limit?: InputMaybe; orderBy?: InputMaybe>>; }; /** (System) Views */ export type ViewConnection = { edges?: Maybe>; pageInfo?: Maybe; /** Total number of records in the connection */ totalCount?: Maybe; }; /** (System) Views */ export type ViewCreateInput = { /** Creation date */ createdAt?: InputMaybe; /** View icon */ icon?: InputMaybe; /** Id */ id?: InputMaybe; /** Describes if the view is in compact mode */ isCompact?: InputMaybe; /** View Kanban column field */ kanbanFieldMetadataId?: InputMaybe; /** View key */ key?: InputMaybe; /** View name */ name?: InputMaybe; /** View target object */ objectMetadataId: Scalars['UUID']; /** View position */ position?: InputMaybe; /** View type */ type?: InputMaybe; /** Update date */ updatedAt?: InputMaybe; }; /** (System) Views */ export type ViewEdge = { cursor?: Maybe; node?: Maybe; }; /** (System) View Fields */ export type ViewField = { /** Creation date */ createdAt?: Maybe; /** View Field target field */ fieldMetadataId?: Maybe; /** Id */ id?: Maybe; /** View Field visibility */ isVisible?: Maybe; /** View Field position */ position?: Maybe; /** View Field size */ size?: Maybe; /** Update date */ updatedAt?: Maybe; /** View Field related view */ view?: Maybe; /** View Field related view id foreign key */ viewId?: Maybe; }; /** (System) View Fields */ export type ViewFieldConnection = { edges?: Maybe>; pageInfo?: Maybe; /** Total number of records in the connection */ totalCount?: Maybe; }; /** (System) View Fields */ export type ViewFieldCreateInput = { /** Creation date */ createdAt?: InputMaybe; /** View Field target field */ fieldMetadataId: Scalars['UUID']; /** Id */ id?: InputMaybe; /** View Field visibility */ isVisible?: InputMaybe; /** View Field position */ position?: InputMaybe; /** View Field size */ size?: InputMaybe; /** Update date */ updatedAt?: InputMaybe; /** View Field related view id foreign key */ viewId?: InputMaybe; }; /** (System) View Fields */ export type ViewFieldEdge = { cursor?: Maybe; node?: Maybe; }; /** (System) View Fields */ export type ViewFieldFilterInput = { and?: InputMaybe>>; /** Creation date */ createdAt?: InputMaybe; /** View Field target field */ fieldMetadataId?: InputMaybe; /** Id */ id?: InputMaybe; /** View Field visibility */ isVisible?: InputMaybe; not?: InputMaybe; or?: InputMaybe>>; /** View Field position */ position?: InputMaybe; /** View Field size */ size?: InputMaybe; /** Update date */ updatedAt?: InputMaybe; /** View Field related view id foreign key */ viewId?: InputMaybe; }; /** (System) View Fields */ export type ViewFieldOrderByInput = { /** Creation date */ createdAt?: InputMaybe; /** View Field target field */ fieldMetadataId?: InputMaybe; /** Id */ id?: InputMaybe; /** View Field visibility */ isVisible?: InputMaybe; /** View Field position */ position?: InputMaybe; /** View Field size */ size?: InputMaybe; /** Update date */ updatedAt?: InputMaybe; /** View Field related view id foreign key */ viewId?: InputMaybe; }; /** (System) View Fields */ export type ViewFieldUpdateInput = { /** Creation date */ createdAt?: InputMaybe; /** View Field target field */ fieldMetadataId?: InputMaybe; /** Id */ id?: InputMaybe; /** View Field visibility */ isVisible?: InputMaybe; /** View Field position */ position?: InputMaybe; /** View Field size */ size?: InputMaybe; /** Update date */ updatedAt?: InputMaybe; /** View Field related view id foreign key */ viewId?: InputMaybe; }; /** (System) View Filters */ export type ViewFilter = { /** Creation date */ createdAt?: Maybe; /** View Filter Display Value */ displayValue?: Maybe; /** View Filter target field */ fieldMetadataId?: Maybe; /** Id */ id?: Maybe; /** View Filter operand */ operand?: Maybe; /** Update date */ updatedAt?: Maybe; /** View Filter value */ value?: Maybe; /** View Filter related view */ view?: Maybe; /** View Filter related view id foreign key */ viewId?: Maybe; }; /** (System) View Filters */ export type ViewFilterConnection = { edges?: Maybe>; pageInfo?: Maybe; /** Total number of records in the connection */ totalCount?: Maybe; }; /** (System) View Filters */ export type ViewFilterCreateInput = { /** Creation date */ createdAt?: InputMaybe; /** View Filter Display Value */ displayValue?: InputMaybe; /** View Filter target field */ fieldMetadataId: Scalars['UUID']; /** Id */ id?: InputMaybe; /** View Filter operand */ operand?: InputMaybe; /** Update date */ updatedAt?: InputMaybe; /** View Filter value */ value?: InputMaybe; /** View Filter related view id foreign key */ viewId?: InputMaybe; }; /** (System) View Filters */ export type ViewFilterEdge = { cursor?: Maybe; node?: Maybe; }; /** (System) View Filters */ export type ViewFilterFilterInput = { and?: InputMaybe>>; /** Creation date */ createdAt?: InputMaybe; /** View Filter Display Value */ displayValue?: InputMaybe; /** View Filter target field */ fieldMetadataId?: InputMaybe; /** Id */ id?: InputMaybe; not?: InputMaybe; /** View Filter operand */ operand?: InputMaybe; or?: InputMaybe>>; /** Update date */ updatedAt?: InputMaybe; /** View Filter value */ value?: InputMaybe; /** View Filter related view id foreign key */ viewId?: InputMaybe; }; /** (System) Views */ export type ViewFilterInput = { and?: InputMaybe>>; /** Creation date */ createdAt?: InputMaybe; /** View icon */ icon?: InputMaybe; /** Id */ id?: InputMaybe; /** Describes if the view is in compact mode */ isCompact?: InputMaybe; /** View Kanban column field */ kanbanFieldMetadataId?: InputMaybe; /** View key */ key?: InputMaybe; /** View name */ name?: InputMaybe; not?: InputMaybe; /** View target object */ objectMetadataId?: InputMaybe; or?: InputMaybe>>; /** View position */ position?: InputMaybe; /** View type */ type?: InputMaybe; /** Update date */ updatedAt?: InputMaybe; }; /** (System) View Filters */ export type ViewFilterOrderByInput = { /** Creation date */ createdAt?: InputMaybe; /** View Filter Display Value */ displayValue?: InputMaybe; /** View Filter target field */ fieldMetadataId?: InputMaybe; /** Id */ id?: InputMaybe; /** View Filter operand */ operand?: InputMaybe; /** Update date */ updatedAt?: InputMaybe; /** View Filter value */ value?: InputMaybe; /** View Filter related view id foreign key */ viewId?: InputMaybe; }; /** (System) View Filters */ export type ViewFilterUpdateInput = { /** Creation date */ createdAt?: InputMaybe; /** View Filter Display Value */ displayValue?: InputMaybe; /** View Filter target field */ fieldMetadataId?: InputMaybe; /** Id */ id?: InputMaybe; /** View Filter operand */ operand?: InputMaybe; /** Update date */ updatedAt?: InputMaybe; /** View Filter value */ value?: InputMaybe; /** View Filter related view id foreign key */ viewId?: InputMaybe; }; /** View key */ export enum ViewKeyEnum { /** Index */ Index = 'INDEX' } export type ViewKeyEnumFilter = { eq?: InputMaybe; in?: InputMaybe>>; is?: InputMaybe; neq?: InputMaybe; }; /** (System) Views */ export type ViewOrderByInput = { /** Creation date */ createdAt?: InputMaybe; /** View icon */ icon?: InputMaybe; /** Id */ id?: InputMaybe; /** Describes if the view is in compact mode */ isCompact?: InputMaybe; /** View Kanban column field */ kanbanFieldMetadataId?: InputMaybe; /** View key */ key?: InputMaybe; /** View name */ name?: InputMaybe; /** View target object */ objectMetadataId?: InputMaybe; /** View position */ position?: InputMaybe; /** View type */ type?: InputMaybe; /** Update date */ updatedAt?: InputMaybe; }; /** (System) View Sorts */ export type ViewSort = { /** Creation date */ createdAt?: Maybe; /** View Sort direction */ direction?: Maybe; /** View Sort target field */ fieldMetadataId?: Maybe; /** Id */ id?: Maybe; /** Update date */ updatedAt?: Maybe; /** View Sort related view */ view?: Maybe; /** View Sort related view id foreign key */ viewId?: Maybe; }; /** (System) View Sorts */ export type ViewSortConnection = { edges?: Maybe>; pageInfo?: Maybe; /** Total number of records in the connection */ totalCount?: Maybe; }; /** (System) View Sorts */ export type ViewSortCreateInput = { /** Creation date */ createdAt?: InputMaybe; /** View Sort direction */ direction?: InputMaybe; /** View Sort target field */ fieldMetadataId: Scalars['UUID']; /** Id */ id?: InputMaybe; /** Update date */ updatedAt?: InputMaybe; /** View Sort related view id foreign key */ viewId?: InputMaybe; }; /** (System) View Sorts */ export type ViewSortEdge = { cursor?: Maybe; node?: Maybe; }; /** (System) View Sorts */ export type ViewSortFilterInput = { and?: InputMaybe>>; /** Creation date */ createdAt?: InputMaybe; /** View Sort direction */ direction?: InputMaybe; /** View Sort target field */ fieldMetadataId?: InputMaybe; /** Id */ id?: InputMaybe; not?: InputMaybe; or?: InputMaybe>>; /** Update date */ updatedAt?: InputMaybe; /** View Sort related view id foreign key */ viewId?: InputMaybe; }; /** (System) View Sorts */ export type ViewSortOrderByInput = { /** Creation date */ createdAt?: InputMaybe; /** View Sort direction */ direction?: InputMaybe; /** View Sort target field */ fieldMetadataId?: InputMaybe; /** Id */ id?: InputMaybe; /** Update date */ updatedAt?: InputMaybe; /** View Sort related view id foreign key */ viewId?: InputMaybe; }; /** (System) View Sorts */ export type ViewSortUpdateInput = { /** Creation date */ createdAt?: InputMaybe; /** View Sort direction */ direction?: InputMaybe; /** View Sort target field */ fieldMetadataId?: InputMaybe; /** Id */ id?: InputMaybe; /** Update date */ updatedAt?: InputMaybe; /** View Sort related view id foreign key */ viewId?: InputMaybe; }; /** (System) Views */ export type ViewUpdateInput = { /** Creation date */ createdAt?: InputMaybe; /** View icon */ icon?: InputMaybe; /** Id */ id?: InputMaybe; /** Describes if the view is in compact mode */ isCompact?: InputMaybe; /** View Kanban column field */ kanbanFieldMetadataId?: InputMaybe; /** View key */ key?: InputMaybe; /** View name */ name?: InputMaybe; /** View target object */ objectMetadataId?: InputMaybe; /** View position */ position?: InputMaybe; /** View type */ type?: InputMaybe; /** Update date */ updatedAt?: InputMaybe; }; /** A webhook */ export type Webhook = { /** Creation date */ createdAt?: Maybe; /** Id */ id?: Maybe; /** Webhook operation */ operation?: Maybe; /** Webhook target url */ targetUrl?: Maybe; /** Update date */ updatedAt?: Maybe; }; /** A webhook */ export type WebhookConnection = { edges?: Maybe>; pageInfo?: Maybe; /** Total number of records in the connection */ totalCount?: Maybe; }; /** A webhook */ export type WebhookCreateInput = { /** Creation date */ createdAt?: InputMaybe; /** Id */ id?: InputMaybe; /** Webhook operation */ operation?: InputMaybe; /** Webhook target url */ targetUrl?: InputMaybe; /** Update date */ updatedAt?: InputMaybe; }; /** A webhook */ export type WebhookEdge = { cursor?: Maybe; node?: Maybe; }; /** A webhook */ export type WebhookFilterInput = { and?: InputMaybe>>; /** Creation date */ createdAt?: InputMaybe; /** Id */ id?: InputMaybe; not?: InputMaybe; /** Webhook operation */ operation?: InputMaybe; or?: InputMaybe>>; /** Webhook target url */ targetUrl?: InputMaybe; /** Update date */ updatedAt?: InputMaybe; }; /** A webhook */ export type WebhookOrderByInput = { /** Creation date */ createdAt?: InputMaybe; /** Id */ id?: InputMaybe; /** Webhook operation */ operation?: InputMaybe; /** Webhook target url */ targetUrl?: InputMaybe; /** Update date */ updatedAt?: InputMaybe; }; /** A webhook */ export type WebhookUpdateInput = { /** Creation date */ createdAt?: InputMaybe; /** Id */ id?: InputMaybe; /** Webhook operation */ operation?: InputMaybe; /** Webhook target url */ targetUrl?: InputMaybe; /** Update date */ updatedAt?: InputMaybe; }; export type Workspace = { activationStatus: Scalars['String']; allowImpersonation: Scalars['Boolean']; billingSubscriptions?: Maybe>; createdAt: Scalars['DateTime']; currentBillingSubscription?: Maybe; metadataVersion?: Maybe; deletedAt?: Maybe; displayName?: Maybe; domainName?: Maybe; featureFlags?: Maybe>; id: Scalars['UUID']; inviteHash?: Maybe; logo?: Maybe; updatedAt: Scalars['DateTime']; workspaceMembersCount?: Maybe; }; export type WorkspaceBillingSubscriptionsArgs = { filter?: BillingSubscriptionFilter; sorting?: Array; }; export type WorkspaceFeatureFlagsArgs = { filter?: FeatureFlagFilter; sorting?: Array; }; export type WorkspaceEdge = { /** Cursor for this node. */ cursor: Scalars['ConnectionCursor']; /** The node containing the Workspace */ node: Workspace; }; export type WorkspaceInviteHashValid = { isValid: Scalars['Boolean']; }; /** A workspace member */ export type WorkspaceMember = { /** Account owner for companies */ accountOwnerForCompanies?: Maybe; /** Activities assigned to the workspace member */ assignedActivities?: Maybe; /** Audit Logs linked to the workspace member */ auditLogs?: Maybe; /** Activities created by the workspace member */ authoredActivities?: Maybe; /** Attachments created by the workspace member */ authoredAttachments?: Maybe; /** Authored comments */ authoredComments?: Maybe; /** Workspace member avatar */ avatarUrl?: Maybe; /** Blocklisted handles */ blocklist?: Maybe; /** Calendar Event Participants */ calendarEventParticipants?: Maybe; /** Preferred color scheme */ colorScheme: Scalars['String']; /** Connected accounts */ connectedAccounts?: Maybe; /** Creation date */ createdAt?: Maybe; /** Favorites linked to the workspace member */ favorites?: Maybe; /** Id */ id: Scalars['UUID']; /** Preferred language */ locale: Scalars['String']; /** Message Participants */ messageParticipants?: Maybe; /** Workspace member name */ name: FullName; /** Events linked to the workspace member */ timelineActivities?: Maybe; /** Update date */ updatedAt?: Maybe; /** Related user email address */ userEmail?: Maybe; /** Associated User Id */ userId?: Maybe; }; /** A workspace member */ export type WorkspaceMemberAccountOwnerForCompaniesArgs = { after?: InputMaybe; before?: InputMaybe; filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; limit?: InputMaybe; orderBy?: InputMaybe>>; }; /** A workspace member */ export type WorkspaceMemberAssignedActivitiesArgs = { after?: InputMaybe; before?: InputMaybe; filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; limit?: InputMaybe; orderBy?: InputMaybe>>; }; /** A workspace member */ export type WorkspaceMemberAuditLogsArgs = { after?: InputMaybe; before?: InputMaybe; filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; limit?: InputMaybe; orderBy?: InputMaybe>>; }; /** A workspace member */ export type WorkspaceMemberAuthoredActivitiesArgs = { after?: InputMaybe; before?: InputMaybe; filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; limit?: InputMaybe; orderBy?: InputMaybe>>; }; /** A workspace member */ export type WorkspaceMemberAuthoredAttachmentsArgs = { after?: InputMaybe; before?: InputMaybe; filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; limit?: InputMaybe; orderBy?: InputMaybe>>; }; /** A workspace member */ export type WorkspaceMemberAuthoredCommentsArgs = { after?: InputMaybe; before?: InputMaybe; filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; limit?: InputMaybe; orderBy?: InputMaybe>>; }; /** A workspace member */ export type WorkspaceMemberBlocklistArgs = { after?: InputMaybe; before?: InputMaybe; filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; limit?: InputMaybe; orderBy?: InputMaybe>>; }; /** A workspace member */ export type WorkspaceMemberCalendarEventParticipantsArgs = { after?: InputMaybe; before?: InputMaybe; filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; limit?: InputMaybe; orderBy?: InputMaybe>>; }; /** A workspace member */ export type WorkspaceMemberConnectedAccountsArgs = { after?: InputMaybe; before?: InputMaybe; filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; limit?: InputMaybe; orderBy?: InputMaybe>>; }; /** A workspace member */ export type WorkspaceMemberFavoritesArgs = { after?: InputMaybe; before?: InputMaybe; filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; limit?: InputMaybe; orderBy?: InputMaybe>>; }; /** A workspace member */ export type WorkspaceMemberMessageParticipantsArgs = { after?: InputMaybe; before?: InputMaybe; filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; limit?: InputMaybe; orderBy?: InputMaybe>>; }; /** A workspace member */ export type WorkspaceMemberTimelineActivitiesArgs = { after?: InputMaybe; before?: InputMaybe; filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; limit?: InputMaybe; orderBy?: InputMaybe>>; }; /** A workspace member */ export type WorkspaceMemberConnection = { edges?: Maybe>; pageInfo?: Maybe; /** Total number of records in the connection */ totalCount?: Maybe; }; /** A workspace member */ export type WorkspaceMemberCreateInput = { /** Workspace member avatar */ avatarUrl?: InputMaybe; /** Preferred color scheme */ colorScheme?: InputMaybe; /** Creation date */ createdAt?: InputMaybe; /** Id */ id?: InputMaybe; /** Preferred language */ locale?: InputMaybe; /** Workspace member name */ name?: InputMaybe; /** Update date */ updatedAt?: InputMaybe; /** Related user email address */ userEmail?: InputMaybe; /** Associated User Id */ userId: Scalars['UUID']; }; /** A workspace member */ export type WorkspaceMemberEdge = { cursor?: Maybe; node?: Maybe; }; /** A workspace member */ export type WorkspaceMemberFilterInput = { and?: InputMaybe>>; /** Workspace member avatar */ avatarUrl?: InputMaybe; /** Preferred color scheme */ colorScheme?: InputMaybe; /** Creation date */ createdAt?: InputMaybe; /** Id */ id?: InputMaybe; /** Preferred language */ locale?: InputMaybe; /** Workspace member name */ name?: InputMaybe; not?: InputMaybe; or?: InputMaybe>>; /** Update date */ updatedAt?: InputMaybe; /** Related user email address */ userEmail?: InputMaybe; /** Associated User Id */ userId?: InputMaybe; }; /** A workspace member */ export type WorkspaceMemberOrderByInput = { /** Workspace member avatar */ avatarUrl?: InputMaybe; /** Preferred color scheme */ colorScheme?: InputMaybe; /** Creation date */ createdAt?: InputMaybe; /** Id */ id?: InputMaybe; /** Preferred language */ locale?: InputMaybe; /** Workspace member name */ name?: InputMaybe; /** Update date */ updatedAt?: InputMaybe; /** Related user email address */ userEmail?: InputMaybe; /** Associated User Id */ userId?: InputMaybe; }; /** A workspace member */ export type WorkspaceMemberUpdateInput = { /** Workspace member avatar */ avatarUrl?: InputMaybe; /** Preferred color scheme */ colorScheme?: InputMaybe; /** Creation date */ createdAt?: InputMaybe; /** Id */ id?: InputMaybe; /** Preferred language */ locale?: InputMaybe; /** Workspace member name */ name?: InputMaybe; /** Update date */ updatedAt?: InputMaybe; /** Related user email address */ userEmail?: InputMaybe; /** Associated User Id */ userId?: InputMaybe; }; export type Field = { createdAt: Scalars['DateTime']; defaultValue?: Maybe; description?: Maybe; fromRelationMetadata?: Maybe; icon?: Maybe; id: Scalars['UUID']; isActive?: Maybe; isCustom?: Maybe; isNullable?: Maybe; isSystem?: Maybe; label: Scalars['String']; name: Scalars['String']; options?: Maybe; relationDefinition?: Maybe; settings?: Maybe; toRelationMetadata?: Maybe; type: FieldMetadataType; updatedAt: Scalars['DateTime']; }; export type FieldEdge = { /** Cursor for this node. */ cursor: Scalars['ConnectionCursor']; /** The node containing the field */ node: Field; }; export type FieldFilter = { and?: InputMaybe>; id?: InputMaybe; isActive?: InputMaybe; isCustom?: InputMaybe; isSystem?: InputMaybe; or?: InputMaybe>; }; export type Object = { createdAt: Scalars['DateTime']; dataSourceId: Scalars['String']; description?: Maybe; fields: ObjectFieldsConnection; icon?: Maybe; id: Scalars['UUID']; imageIdentifierFieldMetadataId?: Maybe; isActive: Scalars['Boolean']; isCustom: Scalars['Boolean']; isRemote: Scalars['Boolean']; isSystem: Scalars['Boolean']; labelIdentifierFieldMetadataId?: Maybe; labelPlural: Scalars['String']; labelSingular: Scalars['String']; namePlural: Scalars['String']; nameSingular: Scalars['String']; updatedAt: Scalars['DateTime']; }; export type ObjectFieldsArgs = { filter?: FieldFilter; paging?: CursorPaging; }; export type ObjectEdge = { /** Cursor for this node. */ cursor: Scalars['ConnectionCursor']; /** The node containing the object */ node: Object; }; export type Relation = { createdAt: Scalars['DateTime']; fromFieldMetadataId: Scalars['String']; fromObjectMetadata: Object; fromObjectMetadataId: Scalars['String']; id: Scalars['UUID']; relationType: RelationMetadataType; toFieldMetadataId: Scalars['String']; toObjectMetadata: Object; toObjectMetadataId: Scalars['String']; updatedAt: Scalars['DateTime']; }; export type RelationEdge = { /** Cursor for this node. */ cursor: Scalars['ConnectionCursor']; /** The node containing the relation */ node: Relation; }; export type ExchangeAuthorizationCodeMutationVariables = Exact<{ authorizationCode: Scalars['String']; codeVerifier?: InputMaybe; clientSecret?: InputMaybe; }>; export type ExchangeAuthorizationCodeMutation = { exchangeAuthorizationCode: { loginToken: { token: string, expiresAt: any }, accessToken: { token: string, expiresAt: any }, refreshToken: { token: string, expiresAt: any } } }; export type RenewTokenMutationVariables = Exact<{ appToken: Scalars['String']; }>; export type RenewTokenMutation = { renewToken: { tokens: { accessToken: { token: string, expiresAt: any }, refreshToken: { token: string, expiresAt: any } } } }; export type CreateOneCompanyMutationVariables = Exact<{ input: CompanyCreateInput; }>; export type CreateOneCompanyMutation = { createCompany?: { id?: any | null } | null }; export type FindCompanyQueryVariables = Exact<{ filter: CompanyFilterInput; }>; export type FindCompanyQuery = { companies?: { edges?: Array<{ node?: { id?: any | null, name?: string | null, linkedinLink?: { url?: string | null, label?: string | null } | null } | null }> | null } | null }; export type CreateOnePersonMutationVariables = Exact<{ input: PersonCreateInput; }>; export type CreateOnePersonMutation = { createPerson?: { id?: any | null } | null }; export type FindPersonQueryVariables = Exact<{ filter: PersonFilterInput; }>; export type FindPersonQuery = { people?: { edges?: Array<{ node?: { id?: any | null, name?: { firstName: string, lastName: string } | null, linkedinLink?: { url?: string | null, label?: string | null } | null } | null }> | null } | null }; export const ExchangeAuthorizationCodeDocument = gql` mutation ExchangeAuthorizationCode($authorizationCode: String!, $codeVerifier: String, $clientSecret: String) { exchangeAuthorizationCode( authorizationCode: $authorizationCode codeVerifier: $codeVerifier clientSecret: $clientSecret ) { loginToken { token expiresAt } accessToken { token expiresAt } refreshToken { token expiresAt } } } `; export type ExchangeAuthorizationCodeMutationFn = Apollo.MutationFunction; /** * __useExchangeAuthorizationCodeMutation__ * * To run a mutation, you first call `useExchangeAuthorizationCodeMutation` within a React component and pass it any options that fit your needs. * When your component renders, `useExchangeAuthorizationCodeMutation` returns a tuple that includes: * - A mutate function that you can call at any time to execute the mutation * - An object with fields that represent the current status of the mutation's execution * * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2; * * @example * const [exchangeAuthorizationCodeMutation, { data, loading, error }] = useExchangeAuthorizationCodeMutation({ * variables: { * authorizationCode: // value for 'authorizationCode' * codeVerifier: // value for 'codeVerifier' * clientSecret: // value for 'clientSecret' * }, * }); */ export function useExchangeAuthorizationCodeMutation(baseOptions?: Apollo.MutationHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useMutation(ExchangeAuthorizationCodeDocument, options); } export type ExchangeAuthorizationCodeMutationHookResult = ReturnType; export type ExchangeAuthorizationCodeMutationResult = Apollo.MutationResult; export type ExchangeAuthorizationCodeMutationOptions = Apollo.BaseMutationOptions; export const RenewTokenDocument = gql` mutation RenewToken($appToken: String!) { renewToken(appToken: $appToken) { tokens { accessToken { token expiresAt } refreshToken { token expiresAt } } } } `; export type RenewTokenMutationFn = Apollo.MutationFunction; /** * __useRenewTokenMutation__ * * To run a mutation, you first call `useRenewTokenMutation` within a React component and pass it any options that fit your needs. * When your component renders, `useRenewTokenMutation` returns a tuple that includes: * - A mutate function that you can call at any time to execute the mutation * - An object with fields that represent the current status of the mutation's execution * * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2; * * @example * const [renewTokenMutation, { data, loading, error }] = useRenewTokenMutation({ * variables: { * appToken: // value for 'appToken' * }, * }); */ export function useRenewTokenMutation(baseOptions?: Apollo.MutationHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useMutation(RenewTokenDocument, options); } export type RenewTokenMutationHookResult = ReturnType; export type RenewTokenMutationResult = Apollo.MutationResult; export type RenewTokenMutationOptions = Apollo.BaseMutationOptions; export const CreateOneCompanyDocument = gql` mutation CreateOneCompany($input: CompanyCreateInput!) { createCompany(data: $input) { id } } `; export type CreateOneCompanyMutationFn = Apollo.MutationFunction; /** * __useCreateOneCompanyMutation__ * * To run a mutation, you first call `useCreateOneCompanyMutation` within a React component and pass it any options that fit your needs. * When your component renders, `useCreateOneCompanyMutation` returns a tuple that includes: * - A mutate function that you can call at any time to execute the mutation * - An object with fields that represent the current status of the mutation's execution * * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2; * * @example * const [createOneCompanyMutation, { data, loading, error }] = useCreateOneCompanyMutation({ * variables: { * input: // value for 'input' * }, * }); */ export function useCreateOneCompanyMutation(baseOptions?: Apollo.MutationHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useMutation(CreateOneCompanyDocument, options); } export type CreateOneCompanyMutationHookResult = ReturnType; export type CreateOneCompanyMutationResult = Apollo.MutationResult; export type CreateOneCompanyMutationOptions = Apollo.BaseMutationOptions; export const FindCompanyDocument = gql` query FindCompany($filter: CompanyFilterInput!) { companies(filter: $filter) { edges { node { id name linkedinLink { url label } } } } } `; /** * __useFindCompanyQuery__ * * To run a query within a React component, call `useFindCompanyQuery` and pass it any options that fit your needs. * When your component renders, `useFindCompanyQuery` returns an object from Apollo Client that contains loading, error, and data properties * you can use to render your UI. * * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; * * @example * const { data, loading, error } = useFindCompanyQuery({ * variables: { * filter: // value for 'filter' * }, * }); */ export function useFindCompanyQuery(baseOptions: Apollo.QueryHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useQuery(FindCompanyDocument, options); } export function useFindCompanyLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useLazyQuery(FindCompanyDocument, options); } export type FindCompanyQueryHookResult = ReturnType; export type FindCompanyLazyQueryHookResult = ReturnType; export type FindCompanyQueryResult = Apollo.QueryResult; export const CreateOnePersonDocument = gql` mutation CreateOnePerson($input: PersonCreateInput!) { createPerson(data: $input) { id } } `; export type CreateOnePersonMutationFn = Apollo.MutationFunction; /** * __useCreateOnePersonMutation__ * * To run a mutation, you first call `useCreateOnePersonMutation` within a React component and pass it any options that fit your needs. * When your component renders, `useCreateOnePersonMutation` returns a tuple that includes: * - A mutate function that you can call at any time to execute the mutation * - An object with fields that represent the current status of the mutation's execution * * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2; * * @example * const [createOnePersonMutation, { data, loading, error }] = useCreateOnePersonMutation({ * variables: { * input: // value for 'input' * }, * }); */ export function useCreateOnePersonMutation(baseOptions?: Apollo.MutationHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useMutation(CreateOnePersonDocument, options); } export type CreateOnePersonMutationHookResult = ReturnType; export type CreateOnePersonMutationResult = Apollo.MutationResult; export type CreateOnePersonMutationOptions = Apollo.BaseMutationOptions; export const FindPersonDocument = gql` query FindPerson($filter: PersonFilterInput!) { people(filter: $filter) { edges { node { id name { firstName lastName } linkedinLink { url label } } } } } `; /** * __useFindPersonQuery__ * * To run a query within a React component, call `useFindPersonQuery` and pass it any options that fit your needs. * When your component renders, `useFindPersonQuery` returns an object from Apollo Client that contains loading, error, and data properties * you can use to render your UI. * * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; * * @example * const { data, loading, error } = useFindPersonQuery({ * variables: { * filter: // value for 'filter' * }, * }); */ export function useFindPersonQuery(baseOptions: Apollo.QueryHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useQuery(FindPersonDocument, options); } export function useFindPersonLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useLazyQuery(FindPersonDocument, options); } export type FindPersonQueryHookResult = ReturnType; export type FindPersonLazyQueryHookResult = ReturnType; export type FindPersonQueryResult = Apollo.QueryResult;