@linear/sdk
Version:
The Linear Client SDK for interacting with the Linear GraphQL API
30,199 lines • 1.43 MB
text/typescript
import { $ as AgentAutomationRetryResolutionStatus, $_ as TeamMembershipCreateInput, $a as CustomerNeedsQueryVariables, $c as InitiativeLabelsQueryVariables, $d as IssueVcsBranchSearch_ReleasesQueryVariables, $f as NotificationsQueryVariables, $g as Release_IssuesQueryVariables, $h as ReactionPayloadFragment, $i as CommentQueryVariables, $l as IntegrationRequestInput, $m as ProjectStatusPayloadFragment, $n as AiConversationRestoreEntityToolCallArgsFragment, $o as DocumentContentHistoryPayloadFragment, $p as PostType, $r as ArchivedIntegrationPayloadFragment, $s as FavoriteFragment, $t as AiConversationErrorType, $u as IssueLabelPayloadFragment, $v as UpdateTeamMutationVariables, $y as Viewer_TeamMembershipsQueryVariables, A_ as SendStrategy, Aa as CustomViewSuggestionPayloadFragment, Ac as GuidanceRuleWebhookPayloadFragment, Ad as IssueSuggestionReasonReferenceFragment, Af as NodeFragment, Ag as ReleasePipeline_ReleasesQueryVariables, Ah as Project_MembersQueryVariables, Ai as AttachmentSourcesPayloadFragment, Al as InitiativeUpdatesQueryVariables, Am as ProjectMilestoneMoveProjectTeamsFragment, An as AiConversationPromptCodingSessionToolCallFragment, Ao as CyclePeriod, Ap as OrganizationOriginWebhookPayloadFragment, Ar as AiConversationTranscribeMediaToolCallFragment, As as EntityExternalLinkCreateInput, At as AiConversationClientPlatform, Au as IssueFilterSuggestionQueryVariables, Av as TemplateUpdateInput, Ay as UserSettings_Theme_Custom_SidebarQueryVariables, B as AgentActivityConnectionFragment, B_ as SsoUrlFromEmailResponseFragment, Ba as CustomerNeedArchivePayloadFragment, Bc as InitiativeFilterSuggestionQueryVariables, Bd as IssueUnsubscribeMutationVariables, Bf as NotificationDeliveryPreferencesFragment, Bg as ReleaseStagePayloadFragment, Bh as PullRequestNotificationFragment, Bi as AuthIdentityProviderFragment, Bl as InitiativesQueryVariables, Bm as ProjectRelationCreateInput, Bn as AiConversationQueryViewToolCallArgsViewFragment, Bo as DeleteIntegrationMutationVariables, Bp as Organization_UsersQueryVariables, Br as AiConversationWidgetName, Bs as ExternalEntityInfoJiraMetadataFragment, Bt as AiConversationElicitationKind, Bu as IssueImportCreateCsvJiraMutationVariables, Bv as TriageResponsibilityAction, By as ViewPreferencesCreateInput, C as EntityWebhookPayloadWithUnknownEntityData, C_ as SearchIssues_ArchivePayloadQueryVariables, Ca as CustomResourceWebhookPayloadFragment, Cb as WorkflowStatesQueryVariables, Cc as GitHubIntegrationConnectDetailsFragment, Cd as IssueSharedAccessFragment, Cf as LogoutAllSessionsMutationVariables, Cg as ReleasePipelineChildWebhookPayloadFragment, Ch as Project_ExternalLinksQueryVariables, Ci as AttachmentLinkIntercomMutationVariables, Cl as InitiativeUpdateHealthType, Cm as ProjectLabel_ProjectsQueryVariables, Cn as AiConversationNavigateToPageToolCallResultFragment, Co as CycleArchivePayloadFragment, Cp as OrganizationInviteCreateInput, Cr as AiConversationSuggestRepositoryToolCallFragment, Cs as EmailUserAccountAuthChallengeResponseFragment, Ct as AiConversationAckKind, Cu as IssueCommentMentionNotificationWebhookPayloadFragment, Cv as Team_TemplatesQueryVariables, Cy as UserSettingsThemeDeviceType, D_ as SemanticSearchQueryVariables, Da as CustomViewHasSubscribersPayloadFragment, Db as _generated_documents_d_exports, Dc as GitLinkKind, Dd as IssueStateSpanFragment, Df as MicrosoftTeamsChannelFragment, Dg as ReleasePipelinePayloadFragment, Dh as Project_InverseRelationsQueryVariables, Di as AttachmentLinkUrlMutationVariables, Dl as InitiativeUpdateUpdateInput, Dm as ProjectMilestoneCreateInput, Dn as AiConversationPartPhase, Do as CycleFragment, Dp as OrganizationInviteStatus, Dr as AiConversationTool, Ds as EmojiPayloadFragment, Dt as AiConversationBaseWidgetFragment, Du as IssueEmojiReactionNotificationWebhookPayloadFragment, Dv as TemplateCreateInput, Dy as UserSettingsUpdateInput, E_ as SemanticSearchPayloadFragment, Ea as CustomViewFragment, Eb as WorkflowType, Ec as GitLabTestConnectionPayloadFragment, Ed as IssueStateSpanConnectionFragment, Ef as LogoutResponseFragment, Eg as ReleasePipelineFragment, Eh as Project_InitiativesQueryVariables, Ei as AttachmentLinkSlackMutationVariables, El as InitiativeUpdateReminderPayloadFragment, Em as ProjectMilestoneConnectionFragment, En as AiConversationPartMetadataFragment, Eo as CycleCreateInput, Ep as OrganizationInvitePayloadFragment, Er as AiConversationTextPartFragment, Es as EmojiFragment, Et as AiConversationBaseToolCallFragment, Eu as IssueCreateInput, Ev as TemplateConnectionFragment, Ey as UserSettingsThemePreset, F as AccessKeyReleaseStageFragment, F_ as SlackAsksTeamSettingsFragment, Fa as CustomViewsQueryVariables, Fc as InitiativeArchivePayloadFragment, Fd as IssueToReleaseCreateInput, Ff as NotificationChannel, Fg as ReleaseStageArchivePayloadFragment, Fh as Project_TeamsQueryVariables, Fi as AuditEntriesQueryVariables, Fl as Initiative_InitiativeUpdatesQueryVariables, Fm as ProjectMilestonesQueryVariables, Fn as AiConversationQueryUpdatesToolCallArgsFragment, Fo as Cycle_UncompletedIssuesUponCloseQueryVariables, Fp as Organization_IntegrationsQueryVariables, Fr as AiConversationUpdateEntityToolCallFragment, Fs as EntityWebhookPayloadFragment, Ft as AiConversationCreateEntityToolCallResultFragment, Fu as IssueHistoryTriageRuleMetadataFragment, Fv as TimeSchedulePayloadFragment, Fy as User_DelegatedIssuesQueryVariables, G as AgentActivityPayloadFragment, G_ as SuspendUserMutationVariables, Ga as CustomerNeedFragment, Gc as InitiativeLabelConnectionFragment, Gd as IssueVcsBranchSearch_DocumentsQueryVariables, Gf as NotificationSubscriptionConnectionFragment, Gg as ReleaseSyncInput, Gh as PushSubscriptionPayloadFragment, Gi as AuthenticationSessionType, Gl as IntegrationGitHubPersonalMutationVariables, Gm as ProjectSearchPayloadFragment, Gn as AiConversationReadSandboxFileToolCallArgsFragment, Go as DiffFileState, Gp as PaginationOrderBy, Gr as AirbyteConfigurationInput, Gs as ExternalUserConnectionFragment, Gt as AiConversationEntityCardWidgetArgsType, Gu as IssueImportJqlCheckPayloadFragment, Gv as TriageResponsibilityPayloadFragment, Gy as ViewPreferencesType, H as AgentActivityElicitationContentFragment, H_ as SuccessPayloadFragment, Ha as CustomerNeedConnectionFragment, Hc as InitiativeHistoryConnectionFragment, Hd as IssueVcsBranchSearch_AttachmentsQueryVariables, Hf as NotificationEntityInput, Hg as ReleaseStageUpdateInput, Hh as PullRequestStatus, Hi as AuthResolverResponseFragment, Hl as IntegrationChildWebhookPayloadFragment, Hm as ProjectRelationPayloadFragment, Hn as AiConversationReadFileToolCallArgsFragment, Ho as DeleteOrganizationInput, Hp as OtherNotificationWebhookPayloadFragment, Hr as AiPromptProgressStatus, Hs as ExternalSyncService, Ht as AiConversationElicitationPartFragment, Hu as IssueImportCreateJiraMutationVariables, Hv as TriageResponsibilityCreateInput, Hy as ViewPreferencesInitiativeLabelGroupColumnFragment, I as ActorBotFragment, I_ as SlackChannelConnectPayloadFragment, Ia as CustomerChildWebhookPayloadFragment, Ic as InitiativeChildWebhookPayloadFragment, Id as IssueToReleaseFragment, If as NotificationChannelPreferencesFragment, Ig as ReleaseStageChildWebhookPayloadFragment, Ih as ProjectsQueryVariables, Ii as AuditEntryConnectionFragment, Il as Initiative_LabelsQueryVariables, Im as ProjectNotificationFragment, In as AiConversationQueryUpdatesToolCallArgsUpdateType, Io as CyclesQueryVariables, Ip as Organization_LabelsQueryVariables, Ir as AiConversationUpdateEntityToolCallResultFragment, Is as EventTrackingInput, It as AiConversationCreateSandboxToolCallArgsFragment, Iu as IssueHistoryWorkflowMetadataFragment, Iv as TimeScheduleUpdateInput, Iy as User_DraftsQueryVariables, J as AgentActivitySignal, J_ as TeamChildWebhookPayloadFragment, Ja as CustomerNeedQueryVariables, Jc as InitiativeLabelPayloadFragment, Jd as IssueVcsBranchSearch_HistoryQueryVariables, Jf as NotificationSubscriptionPayloadFragment, Jg as ReleaseUpdateByPipelineInputBase, Jh as PushSubscriptionType, Ji as CommentChildWebhookPayloadFragment, Jl as IntegrationGitlabConnectMutationVariables, Jm as ProjectStatusChildWebhookPayloadFragment, Jn as AiConversationRemoveSpendLimitToolCallArgsFragment, Jo as DocumentConnectionFragment, Jp as PartnerDiscountType, Jr as ApplicationFragment, Js as FacetConnectionFragment, Jt as AiConversationEntityListWidgetArgsEntitiesFragment, Ju as IssueImportUpdateInput, Jv as UnsuspendUserMutationVariables, Jy as ViewType, K as AgentActivityPromptContentFragment, K_ as SyncedExternalThreadFragment, Ka as CustomerNeedNotificationFragment, Kc as InitiativeLabelCreateInput, Kd as IssueVcsBranchSearch_FormerAttachmentsQueryVariables, Kf as NotificationSubscriptionCreateInput, Kg as ReleaseSyncInputBase, Kh as PushSubscriptionTestPayloadFragment, Ki as BaseWebhookPayloadFragment, Kl as IntegrationGithubConnectMutationVariables, Km as ProjectSearchResultFragment, Kn as AiConversationReadSandboxFileToolCallFragment, Ko as DocumentArchivePayloadFragment, Kp as PaginationSortOrder, Kr as AppUserNotificationWebhookPayloadFragment, Ks as ExternalUserFragment, Kt as AiConversationEntityCardWidgetFragment, Ku as IssueImportPayloadFragment, Kv as TriageResponsibilityUpdateInput, Ky as ViewPreferencesUpdateInput, L as AdministrableTeamsQueryVariables, L_ as SlackChannelNameMappingFragment, La as CustomerConnectionFragment, Lc as InitiativeConnectionFragment, Ld as IssueToReleasePayloadFragment, Lf as NotificationConnectionFragment, Lg as ReleaseStageConnectionFragment, Lh as PullRequestCheckPresentation, Li as AuditEntryFragment, Ll as Initiative_LinksQueryVariables, Lm as ProjectNotificationSubscriptionFragment, Ln as AiConversationQueryUpdatesToolCallFragment, Lo as DateResolutionType, Lp as Organization_ProjectLabelsQueryVariables, Lr as AiConversationWebSearchToolCallArgsFragment, Ls as EventTrackingPayloadFragment, Lt as AiConversationCreateSandboxToolCallFragment, Lu as IssueImportCheckPayloadFragment, Lv as TimeSchedulesQueryVariables, Ly as User_TeamMembershipsQueryVariables, M as AccessKeyReleaseFragment, M_ as SesDomainIdentityFragment, Ma as CustomView_InitiativesQueryVariables, Mc as IdentityProviderType, Md as IssueSuggestionType, Mf as NotificationBatchActionPayloadFragment, Mg as ReleasePipeline_TeamsQueryVariables, Mh as Project_ProjectMilestonesQueryVariables, Mi as AttachmentWebhookPayloadFragment, Ml as InitiativeWebhookPayloadFragment, Mm as ProjectMilestoneStatus, Mn as AiConversationPromptPartFragment, Mo as CycleUpdateInput, Mp as OrganizationStartTrialInput, Mr as AiConversationUnsubscribeFromEventToolCallArgsFragment, Ms as EntityExternalLinkPayloadFragment, Mt as AiConversationCodeIntelligenceToolCallFragment, Mu as IssueHistoryConnectionFragment, Mv as TimeScheduleCreateInput, My as UserWebhookPayloadFragment, N as AccessKeyReleasePayloadFragment, N_ as SlaConfigurationFragment, Na as CustomView_IssuesQueryVariables, Nc as ImageUploadFromUrlPayloadFragment, Nd as IssueTitleSuggestionFromCustomerRequestPayloadFragment, Nf as NotificationCategory, Ng as ReleasePipelinesQueryVariables, Nh as Project_ProjectUpdatesQueryVariables, Ni as AttachmentsForUrlQueryVariables, Nl as Initiative_DocumentsQueryVariables, Nm as ProjectMilestoneUpdateInput, Nn as AiConversationQueryActivityToolCallArgsFragment, No as CycleWebhookPayloadFragment, Np as OrganizationStartTrialPayloadFragment, Nr as AiConversationUnsubscribeFromEventToolCallFragment, Ns as EntityExternalLinkUpdateInput, Nt as AiConversationCreateEntityToolCallArgsFragment, Nu as IssueHistoryFragment, Nv as TimeScheduleEntryFragment, Ny as User_AssignedIssuesQueryVariables, O_ as SemanticSearchResultFragment, Oa as CustomViewNotificationSubscriptionFragment, Oc as GithubOrgType, Od as IssueStatusChangedNotificationWebhookPayloadFragment, Of as MicrosoftTeamsChannelsPayloadFragment, Og as ReleasePipelineType, Oh as Project_IssuesQueryVariables, Oi as AttachmentLinkZendeskMutationVariables, Ol as InitiativeUpdateWebhookPayloadFragment, Om as ProjectMilestoneFragment, On as AiConversationPartType, Oo as CycleNotificationSubscriptionFragment, Op as OrganizationInviteUpdateInput, Or as AiConversationToolCallPartFragment, Os as EmojisQueryVariables, Ot as AiConversationBashToolCallArgsFragment, Ou as IssueFigmaFileKeySearchQueryVariables, Ov as TemplateFragment, Oy as UserSettings_ThemeQueryVariables, P as AccessKeyReleasePipelineFragment, P_ as SlaStatus, Pa as CustomView_ProjectsQueryVariables, Pc as ImportFileUploadMutationVariables, Pd as IssueToReleaseConnectionFragment, Pf as NotificationCategoryPreferencesFragment, Pg as ReleaseSearchQueryVariables, Ph as Project_RelationsQueryVariables, Pi as AttachmentsQueryVariables, Pl as Initiative_HistoryQueryVariables, Pm as ProjectMilestone_IssuesQueryVariables, Pn as AiConversationQueryActivityToolCallFragment, Po as Cycle_IssuesQueryVariables, Pp as OrganizationUpdateInput, Pr as AiConversationUpdateEntityToolCallArgsFragment, Ps as EntityFragment, Pt as AiConversationCreateEntityToolCallFragment, Pu as IssueHistoryTriageRuleErrorFragment, Pv as TimeScheduleFragment, Py as User_CreatedIssuesQueryVariables, Q as AgentAutomationRetryResolutionFragment, Q_ as TeamMembershipConnectionFragment, Qa as CustomerNeed_ProjectAttachmentQueryVariables, Qc as InitiativeLabel_InitiativesQueryVariables, Qd as IssueVcsBranchSearch_RelationsQueryVariables, Qf as NotificationUpdateInput, Qg as Release_HistoryQueryVariables, Qh as ReactionFragment, Qi as CommentPayloadFragment, Ql as IntegrationPayloadFragment, Qm as ProjectStatusFragment, Qn as AiConversationResearchToolCallResultFragment, Qo as DocumentContentFragment, Qp as PostNotificationFragment, Qr as ArchiveResponseFragment, Qs as FavoriteCreateInput, Qt as AiConversationErrorPartFragment, Qu as IssueLabelFragment, Qv as UpdateProjectLabelMutationVariables, Qy as Viewer_DraftsQueryVariables, R as AgentActivitiesQueryVariables, R_ as SlackChannelType, Ra as CustomerCreateInput, Rc as InitiativeCreateInput, Rd as IssueToReleasesQueryVariables, Rf as NotificationDeliveryPreferencesChannelFragment, Rg as ReleaseStageCreateInput, Rh as PullRequestCommitSignatureFragment, Ri as AuditEntryTypeFragment, Rl as Initiative_ProjectsQueryVariables, Rm as ProjectPayloadFragment, Rn as AiConversationQueryViewToolCallArgsFragment, Ro as Day, Rp as Organization_TeamsQueryVariables, Rr as AiConversationWebSearchToolCallFragment, Rs as ExternalEntityInfoFragment, Rt as AiConversationDeleteEntityToolCallArgsFragment, Ru as IssueImportCreateAsanaMutationVariables, Rv as TokenUserAccountAuthInput, Ry as User_TeamsQueryVariables, S as EntityWebhookPayloadWithReactionData, S_ as SearchIssuesQueryVariables, Sa as CreateTeamMutationVariables, Sb as WorkflowState_IssuesQueryVariables, Sc as GitHubEnterpriseServerPayloadFragment, Sd as IssueSharedAccessDisallowedField, Sf as LinearAgentTrustedSourcesMode, Sg as ReleasePipelineArchivePayloadFragment, Sh as Project_DocumentsQueryVariables, Si as AttachmentLinkGitLabMrMutationVariables, Sl as InitiativeUpdateFragment, Sm as ProjectLabel_ChildrenQueryVariables, Sn as AiConversationNavigateToPageToolCallFragment, So as CustomersQueryVariables, Sp as OrganizationInviteConnectionFragment, Sr as AiConversationSubscribeToEventToolCallFragment, Ss as EmailUserAccountAuthChallengeInput, St as AgentSkillsQueryVariables, Su as IssueChildWebhookPayloadFragment, Sv as Team_StatesQueryVariables, Sy as UserSettingsPayloadFragment, T_ as SearchProjects_ArchivePayloadQueryVariables, Ta as CustomViewCreateInput, Tb as WorkflowTriggerType, Tc as GitLabIntegrationCreatePayloadFragment, Td as IssueSlaWebhookPayloadFragment, Tf as LogoutOtherSessionsMutationVariables, Tg as ReleasePipelineCreateInput, Th as Project_InitiativeToProjectsQueryVariables, Ti as AttachmentLinkSalesforceMutationVariables, Tl as InitiativeUpdatePayloadFragment, Tm as ProjectMilestoneChildWebhookPayloadFragment, Tn as AiConversationNotifyUsersToolCallFragment, To as CycleConnectionFragment, Tp as OrganizationInviteFullDetailsPayloadFragment, Tr as AiConversationSuggestValuesToolCallFragment, Ts as EmojiCreateInput, Tt as AiConversationBasePartFragment, Tu as IssueConnectionFragment, Tv as TeamsQueryVariables, Ty as UserSettingsThemeMode, U as AgentActivityErrorContentFragment, U_ as SummaryFragment, Ua as CustomerNeedCreateFromAttachmentInput, Uc as InitiativeHistoryFragment, Ud as IssueVcsBranchSearch_ChildrenQueryVariables, Uf as NotificationFragment, Ug as ReleaseStage_ReleasesQueryVariables, Uh as PushSubscriptionCreateInput, Ui as AuthUserFragment, Ul as IntegrationConnectionFragment, Um as ProjectRelationUpdateInput, Un as AiConversationReadFileToolCallArgsMode, Uo as DeletePayloadFragment, Up as PageInfoFragment, Ur as AiPromptRulesFragment, Us as ExternalUserActorWebhookPayloadFragment, Ut as AiConversationEntityCardWidgetArgsAction, Uu as IssueImportDeletePayloadFragment, Uv as TriageResponsibilityFragment, Uy as ViewPreferencesPayloadFragment, V as AgentActivityCreateInput, V_ as SubscriptionFragment, Va as CustomerNeedChildWebhookPayloadFragment, Vc as InitiativeFragment, Vd as IssueUpdateInput, Vf as NotificationDeliveryPreferencesScheduleFragment, Vg as ReleaseStageType, Vh as PullRequestReviewTool, Vi as AuthOrganizationFragment, Vl as IntegrationActorWebhookPayloadFragment, Vm as ProjectRelationFragment, Vn as AiConversationQueryViewToolCallFragment, Vo as DeleteIssueMutationVariables, Vp as OtherNotificationType, Vr as AiConversationWidgetPartFragment, Vs as ExternalEntitySlackMetadataFragment, Vt as AiConversationElicitationOptionFragment, Vu as IssueImportCreateGithubMutationVariables, Vv as TriageResponsibilityConnectionFragment, Vy as ViewPreferencesFragment, W as AgentActivityFragment, W_ as SummaryGenerationStatus, Wa as CustomerNeedCreateInput, Wc as InitiativeLabelChildWebhookPayloadFragment, Wd as IssueVcsBranchSearch_CommentsQueryVariables, Wf as NotificationPayloadFragment, Wg as ReleaseStagesQueryVariables, Wh as PushSubscriptionFragment, Wi as AuthenticationSessionResponseFragment, Wl as IntegrationFragment, Wm as ProjectRelationsQueryVariables, Wn as AiConversationReadFileToolCallFragment, Wo as DeleteTeamMembershipMutationVariables, Wp as PaginationNulls, Wr as AiPromptType, Ws as ExternalUserChildWebhookPayloadFragment, Wt as AiConversationEntityCardWidgetArgsFragment, Wu as IssueImportFragment, Wv as TriageResponsibilityManualSelectionFragment, Wy as ViewPreferencesProjectLabelGroupColumnFragment, X as AgentActivityType, X_ as TeamCreateInput, Xa as CustomerNeedUpdatePayloadFragment, Xc as InitiativeLabelWebhookPayloadFragment, Xd as IssueVcsBranchSearch_LabelsQueryVariables, Xf as NotificationSubscriptionUpdateInput, Xg as ReleaseWebhookPayloadFragment, Xh as RateLimitResultPayloadFragment, Xi as CommentCreateInput, Xl as IntegrationIntercomMutationVariables, Xm as ProjectStatusCountPayloadFragment, Xn as AiConversationResearchToolCallArgsFragment, Xo as DocumentContentChildWebhookPayloadFragment, Xp as PasskeyLoginStartResponseFragment, Xr as ArchivePayloadFragment, Xs as FacetPageSource, Xt as AiConversationEntityListWidgetArgsFragment, Xu as IssueLabelConnectionFragment, Xv as UpdateCustomerNeedMutationVariables, Xy as Viewer_CreatedIssuesQueryVariables, Y as AgentActivityThoughtContentFragment, Y_ as TeamConnectionFragment, Ya as CustomerNeedUpdateInput, Yc as InitiativeLabelUpdateInput, Yd as IssueVcsBranchSearch_InverseRelationsQueryVariables, Yf as NotificationSubscriptionType, Yg as ReleaseUpdateInput, Yh as RateLimitPayloadFragment, Yi as CommentConnectionFragment, Yl as IntegrationHasScopesPayloadFragment, Ym as ProjectStatusConnectionFragment, Yn as AiConversationRemoveSpendLimitToolCallFragment, Yo as DocumentContentAgentCheckpointMode, Yp as PartnerOfferIneligibilityReason, Yr as ArchiveIssueMutationVariables, Ys as FacetFragment, Yt as AiConversationEntityListWidgetArgsEntitiesType, Yu as IssueLabelChildWebhookPayloadFragment, Yv as UpdateCommentMutationVariables, Yy as Viewer_AssignedIssuesQueryVariables, Z as AgentActivityWebhookPayloadFragment, Z_ as TeamFragment, Za as CustomerNeedWebhookPayloadFragment, Zc as InitiativeLabel_ChildrenQueryVariables, Zd as IssueVcsBranchSearch_NeedsQueryVariables, Zf as NotificationSubscriptionsQueryVariables, Zg as Release_DocumentsQueryVariables, Zh as ReactionCreateInput, Zi as CommentFragment, Zl as IntegrationJiraPersonalMutationVariables, Zm as ProjectStatusCreateInput, Zn as AiConversationResearchToolCallFragment, Zo as DocumentContentDraftFragment, Zp as PipelineTab, Zr as ArchiveProjectMutationVariables, Zs as FavoriteConnectionFragment, Zt as AiConversationEntityListWidgetFragment, Zu as IssueLabelCreateInput, Zv as UpdateIssueLabelMutationVariables, Zy as Viewer_DelegatedIssuesQueryVariables, _ as EntityWebhookPayloadWithInitiativeUpdateData, __ as RoadmapsQueryVariables, _a as CreateIssueLabelMutationVariables, _b as WorkflowStateConnectionFragment, _c as GitAutomationTargetBranchFragment, _d as IssueRelationsQueryVariables, _f as Issue_SubscribersQueryVariables, _g as ReleaseNotePayloadFragment, _h as ProjectUpdate_CommentsQueryVariables, _i as AttachmentIssue_SubscribersQueryVariables, _l as InitiativeToProjectsQueryVariables, _m as ProjectLabelCreateInput, _n as AiConversationListCodingSessionsToolCallFragment, _o as CustomerTiersQueryVariables, _p as OrganizationDeletePayloadFragment, _r as AiConversationStartCodingSessionToolCallResultFragment, _s as EmailIntakeAddressRefreshSesDomainStatusPayloadFragment, _t as AgentSkillConnectionFragment, _u as IntercomSettingsInput, _v as Team_LabelsQueryVariables, _y as UserSettingsCustomThemeFragment, a_ as RoadmapConnectionFragment, aa as Comment_CreatedIssuesQueryVariables, ab as WebhookPayloadFragment, ac as FetchDataPayloadFragment, ad as IssueMentionNotificationWebhookPayloadFragment, af as Issue_ChildrenQueryVariables, ag as ReleaseChildWebhookPayloadFragment, ah as ProjectUpdateChildWebhookPayloadFragment, ai as AttachmentIssue_ChildrenQueryVariables, al as InitiativeRelationCreateInput, am as ProjectAttachmentConnectionFragment, an as AiConversationGetPullRequestDiffToolCallFragment, ao as CustomerStatusCreateInput, ap as OAuthApplicationGrantType, ar as AiConversationSearchDocumentationToolCallFragment, as as DocumentPayloadFragment, at as AgentSessionExternalLinkFragment, au as IntegrationSlackWorkspaceNamePayloadFragment, av as TeamOriginWebhookPayloadFragment, ay as UserActorWebhookPayloadFragment, b as EntityWebhookPayloadWithProjectData, b_ as SearchDocumentsQueryVariables, ba as CreateProjectMutationVariables, bb as WorkflowStatePayloadFragment, bc as GitHubCommitIntegrationPayloadFragment, bd as IssueSearchQueryVariables, bf as LabelNotificationSubscriptionFragment, bg as ReleaseNotesQueryVariables, bh as Project_AttachmentsQueryVariables, bi as AttachmentLinkGitHubIssueMutationVariables, bl as InitiativeUpdateConnectionFragment, bm as ProjectLabelUpdateInput, bn as AiConversationNavigateToPageToolCallArgsEntitiesFragment, bo as CustomerVisibilityMode, bp as OrganizationExistsPayloadFragment, br as AiConversationSubscribeToEventToolCallArgsKind, bs as EmailUnsubscribeInput, bt as AgentSkillPayloadFragment, bu as IssueBatchCreateInput, bv as Team_ProjectsQueryVariables, by as UserSettingsFlagsResetPayloadFragment, c as EntityWebhookPayloadWithAttachmentData, c_ as RoadmapPayloadFragment, ca as Comment_DocumentContent_WelcomeMessageQueryVariables, cb as WebhookUpdateInput, cc as FrequencyResolutionType, cd as IssuePayloadFragment, cf as Issue_FormerAttachmentsQueryVariables, cg as ReleaseConnectionFragment, ch as ProjectUpdateFragment, ci as AttachmentIssue_FormerAttachmentsQueryVariables, cl as InitiativeRelationUpdateInput, cm as ProjectConnectionFragment, cn as AiConversationGetSlackConversationHistoryToolCallFragment, co as CustomerStatusType, cp as OAuthApplicationRotateWebhookSecretPayloadFragment, cr as AiConversationSearchEntitiesToolCallResultEntitiesFragment, cs as DocumentUpdateInput, ct as AgentSessionStatus, cu as IntegrationTemplateFragment, cv as TeamResourceSectionFragment, cy as UserConnectionFragment, d as EntityWebhookPayloadWithCustomerData, d_ as RoadmapToProjectFragment, da as ContactCreateInput, db as WelcomeMessageNotificationFragment, dc as GitAutomationStateCreateInput, dd as IssueRelationCreateInput, df as Issue_InverseRelationsQueryVariables, dg as ReleaseHistoryConnectionFragment, dh as ProjectUpdatePayloadFragment, di as AttachmentIssue_InverseRelationsQueryVariables, dl as InitiativeTab, dm as ProjectFilterSuggestionQueryVariables, dn as AiConversationInitialSource, do as CustomerTierChildWebhookPayloadFragment, dp as OauthClientActorWebhookPayloadFragment, dr as AiConversationSetSpendLimitToolCallFragment, ds as DocumentsQueryVariables, dt as AgentSessionType, du as IntegrationZendeskMutationVariables, dv as TeamUpdateInput, dy as UserFlagUpdateOperation, e_ as Release_LinksQueryVariables, ea as CommentResolveMutationVariables, eb as Viewer_TeamsQueryVariables, ec as FavoritePayloadFragment, ed as IssueLabelUpdateInput, ef as IssueVcsBranchSearch_StateHistoryQueryVariables, eg as ReactionWebhookPayloadFragment, eh as ProjectStatusType, ei as AsksChannelConnectPayloadFragment, el as InitiativeLeadTeamChangeMode, em as PresentedIssueSuggestionReasonFragment, en as AiConversationEventPartFragment, eo as CustomerNotificationFragment, ep as OAuthAppWebhookPayloadFragment, er as AiConversationRestoreEntityToolCallFragment, es as DocumentContentHistoryTypeFragment, et as AgentAutomationUsageLimitScope, eu as IntegrationRequestPayloadFragment, ev as TeamMembershipFragment, ey as UploadFileFragment, f as EntityWebhookPayloadWithCustomerNeedData, f_ as RoadmapToProjectPayloadFragment, fa as ContactPayloadFragment, fb as WorkflowCronJobDefinitionFragment, fc as GitAutomationStateFragment, fd as IssueRelationFragment, ff as Issue_LabelsQueryVariables, fg as ReleaseHistoryFragment, fh as ProjectUpdateQueryVariables, fi as AttachmentIssue_LabelsQueryVariables, fl as InitiativeToProjectConnectionFragment, fm as ProjectFragment, fn as AiConversationInvokeMcpToolToolCallArgsFragment, fo as CustomerTierConnectionFragment, fp as OauthClientApprovalFragment, fr as AiConversationSpawnSubagentToolCallArgsFragment, fs as DraftConnectionFragment, ft as AgentSessionUpdateExternalUrlInput, fu as IntegrationsQueryVariables, fv as TeamVisibility, fy as UserFragment, g as EntityWebhookPayloadWithInitiativeData, g_ as Roadmap_ProjectsQueryVariables, ga as CreateInitiativeUpdateReminderMutationVariables, gb as WorkflowStateChildWebhookPayloadFragment, gc as GitAutomationTargetBranchCreateInput, gd as IssueRelationUpdateInput, gf as Issue_StateHistoryQueryVariables, gg as ReleaseNoteGenerationStatus, gh as ProjectUpdateWebhookPayloadFragment, gi as AttachmentIssue_StateHistoryQueryVariables, gl as InitiativeToProjectUpdateInput, gm as ProjectLabelConnectionFragment, gn as AiConversationListCodingSessionsToolCallArgsFragment, go as CustomerTierUpdateInput, gp as OrganizationCancelDeletePayloadFragment, gr as AiConversationStartCodingSessionToolCallFragment, gs as EmailIntakeAddressPayloadFragment, gt as AgentSessionsQueryVariables, gu as IntegrationsSettingsUpdateInput, gv as Team_IssuesQueryVariables, gy as UserSettingsCustomSidebarThemeFragment, h as EntityWebhookPayloadWithEntityData, h_ as RoadmapUpdateInput, ha as CreateCsvExportReportPayloadFragment, hb as WorkflowStateArchivePayloadFragment, hc as GitAutomationStates, hd as IssueRelationType, hf as Issue_ReleasesQueryVariables, hg as ReleaseNoteFragment, hh as ProjectUpdateUpdateInput, hi as AttachmentIssue_ReleasesQueryVariables, hl as InitiativeToProjectPayloadFragment, hm as ProjectLabelChildWebhookPayloadFragment, hn as AiConversationInvokeMcpToolToolCallFragment, ho as CustomerTierPayloadFragment, hp as OrganizationAcceptedOrExpiredInviteDetailsPayloadFragment, hr as AiConversationStartCodingSessionToolCallArgsFragment, hs as EmailIntakeAddressFragment, ht as AgentSession_ActivitiesQueryVariables, hu as IntegrationsSettingsPayloadFragment, hv as Team_GitAutomationStatesQueryVariables, hy as UserRoleType, i as LinearWebhookClient, i_ as RoadmapArchivePayloadFragment, ia as Comment_ChildrenQueryVariables, ib as WebhookFragment, ic as FeedSummarySchedule, id as IssueLabelsQueryVariables, if as Issue_AttachmentsQueryVariables, ig as ReleaseChannel, ih as ProjectUpdateArchivePayloadFragment, ii as AttachmentIssue_AttachmentsQueryVariables, il as InitiativeRelationConnectionFragment, im as ProjectArchivePayloadFragment, in as AiConversationGetPullRequestDiffToolCallArgsFragment, io as CustomerStatusConnectionFragment, ip as OAuthApplicationFragment, ir as AiConversationRetryPullRequestCheckToolCallFragment, is as DocumentNotificationFragment, it as AgentSessionEventWebhookPayloadFragment, iu as IntegrationSlackPostMutationVariables, iv as TeamNotificationSubscriptionFragment, iy as UsageAlertNotificationFragment, j_ as SesDomainIdentityDnsRecordFragment, ja as CustomViewUpdateInput, jc as IdentityProviderFragment, jd as IssueSuggestionState, jf as NotificationArchivePayloadFragment, jg as ReleasePipeline_StagesQueryVariables, jh as Project_NeedsQueryVariables, ji as AttachmentUpdateInput, jl as InitiativeVisibility, jm as ProjectMilestonePayloadFragment, jn as AiConversationPromptCodingSessionToolCallResultFragment, jo as CycleShiftAllInput, jp as OrganizationPayloadFragment, jr as AiConversationTranscribeVideoToolCallFragment, js as EntityExternalLinkFragment, jt as AiConversationCodeIntelligenceToolCallArgsFragment, ju as IssueFragment, jv as TimeScheduleConnectionFragment, jy as UserUpdateInput, k_ as SemanticSearchResultType, ka as CustomViewPayloadFragment, kc as GoogleUserAccountAuthInput, kd as IssueSubscribeMutationVariables, kf as MicrosoftTeamsTeamFragment, kg as ReleasePipelineUpdateInput, kh as Project_LabelsQueryVariables, ki as AttachmentPayloadFragment, kl as InitiativeUpdate_CommentsQueryVariables, km as ProjectMilestoneMoveIssueToTeamFragment, kn as AiConversationPromptCodingSessionToolCallArgsFragment, ko as CyclePayloadFragment, kp as OrganizationInvitesQueryVariables, kr as AiConversationToolDisplayInfoFragment, ks as EntityExternalLinkConnectionFragment, kt as AiConversationBashToolCallFragment, ku as IssueFilterSuggestionPayloadFragment, kv as TemplatePayloadFragment, ky as UserSettings_Theme_CustomQueryVariables, l as EntityWebhookPayloadWithAuditEntryData, l_ as RoadmapToProjectConnectionFragment, la as Comment_ExternalThreadQueryVariables, lb as WebhooksQueryVariables, lc as FrontAttachmentPayloadFragment, ld as IssuePriorityValueFragment, lf as Issue_FormerNeedsQueryVariables, lg as ReleaseCreateInput, lh as ProjectUpdateHealthType, li as AttachmentIssue_FormerNeedsQueryVariables, ll as InitiativeRelationsQueryVariables, lm as ProjectCreateInput, ln as AiConversationHandoffToCodingSessionToolCallArgsFragment, lo as CustomerStatusUpdateInput, lp as OAuthAuthorizationWebhookPayloadFragment, lr as AiConversationSearchEntitiesToolCallResultFragment, ls as DocumentWebhookPayloadFragment, lt as AgentSessionToPullRequestConnectionFragment, lu as IntegrationTemplatePayloadFragment, lv as TeamRetirementSubTeamHandling, ly as UserContextViewType, m as EntityWebhookPayloadWithDocumentData, m_ as RoadmapToProjectsQueryVariables, ma as CreateCsvExportReportMutationVariables, mb as WorkflowDefinitionNotificationFragment, mc as GitAutomationStateUpdateInput, md as IssueRelationPayloadFragment, mf as Issue_RelationsQueryVariables, mg as ReleaseNoteCreateInput, mh as ProjectUpdateReminderPayloadFragment, mi as AttachmentIssue_RelationsQueryVariables, ml as InitiativeToProjectFragment, mm as ProjectHistoryFragment, mn as AiConversationInvokeMcpToolToolCallArgsToolFragment, mo as CustomerTierFragment, mp as OauthClientChildWebhookPayloadFragment, mr as AiConversationSpawnSubagentToolCallResultFragment, ms as EmailIntakeAddressCreateInput, mt as AgentSessionWebhookPayloadFragment, mu as IntegrationsSettingsFragment, mv as Team_CyclesQueryVariables, my as UserPayloadFragment, n_ as RepositorySuggestionFragment, na as CommentWebhookPayloadFragment, nb as WebhookCreateInput, nc as Favorite_ChildrenQueryVariables, nd as IssueLabel_ChildrenQueryVariables, nf as IssueWebhookPayloadFragment, ng as RefreshGoogleSheetsDataMutationVariables, nh as ProjectStatusesQueryVariables, ni as AttachmentCreateInput, nl as InitiativeNotificationSubscriptionFragment, nm as ProductAnnouncementNotificationFragment, nn as AiConversationGetPullRequestCheckLogsToolCallArgsFragment, no as CustomerPayloadFragment, np as OAuthApplicationCreatePayloadFragment, nr as AiConversationRetrieveEntitiesToolCallFragment, ns as DocumentCreateInput, nt as AgentSessionCreateOnComment, nu as IntegrationSlackAsksMutationVariables, nv as TeamMembershipUpdateInput, ny as UploadPayloadFragment, o as AppUserNotificationWebhookPayloadWithNotification, o_ as RoadmapCreateInput, oa as Comment_DocumentContentQueryVariables, ob as WebhookResourceType, oc as FileUploadDeletePayloadFragment, od as IssueNewCommentNotificationWebhookPayloadFragment, of as Issue_CommentsQueryVariables, og as ReleaseCompleteInput, oh as ProjectUpdateConnectionFragment, oi as AttachmentIssue_CommentsQueryVariables, ol as InitiativeRelationFragment, om as ProjectAttachmentFragment, on as AiConversationGetPullRequestFileToolCallArgsFragment, oo as CustomerStatusFragment, op as OAuthApplicationPayloadFragment, or as AiConversationSearchEntitiesToolCallArgsFragment, os as DocumentSearchPayloadFragment, ot as AgentSessionFragment, ou as IntegrationTemplateConnectionFragment, ov as TeamPayloadFragment, oy as UserAdminPayloadFragment, p as EntityWebhookPayloadWithCycleData, p_ as RoadmapToProjectUpdateInput, pa as ContextViewType, pb as WorkflowDefinitionFragment, pc as GitAutomationStatePayloadFragment, pd as IssueRelationHistoryPayloadFragment, pf as Issue_NeedsQueryVariables, pg as ReleaseNoteConnectionFragment, ph as ProjectUpdateReminderFrequency, pi as AttachmentIssue_NeedsQueryVariables, pl as InitiativeToProjectCreateInput, pm as ProjectHistoryConnectionFragment, pn as AiConversationInvokeMcpToolToolCallArgsServerFragment, po as CustomerTierCreateInput, pp as OauthClientApprovalNotificationFragment, pr as AiConversationSpawnSubagentToolCallFragment, ps as DraftFragment, pt as AgentSessionUpdateInput, pu as IntegrationsSettingsCreateInput, pv as TeamWithParentWebhookPayloadFragment, py as UserNotificationSubscriptionFragment, q as AgentActivityResponseContentFragment, q_ as TeamArchivePayloadFragment, qa as CustomerNeedPayloadFragment, qc as InitiativeLabelFragment, qd as IssueVcsBranchSearch_FormerNeedsQueryVariables, qf as NotificationSubscriptionFragment, qg as ReleaseUpdateByPipelineInput, qh as PushSubscriptionTestQueryVariables, qi as CandidateRepository, ql as IntegrationGithubRemoveCodeAccessPayloadFragment, qm as ProjectStatusArchivePayloadFragment, qn as AiConversationReasoningPartFragment, qo as DocumentChildWebhookPayloadFragment, qp as PaidSubscriptionFragment, qr as AppUserTeamAccessChangedWebhookPayloadFragment, qs as ExternalUsersQueryVariables, qt as AiConversationEntityListWidgetArgsAction, qu as IssueImportSyncCheckPayloadFragment, qv as TriageRuleErrorType, qy as ViewPreferencesValuesFragment, r_ as RepositorySuggestionsPayloadFragment, ra as Comment_BotActorQueryVariables, rb as WebhookFailureEventFragment, rc as FavoritesQueryVariables, rd as IssueLabel_IssuesQueryVariables, rf as IssueWithDescriptionChildWebhookPayloadFragment, rg as ReleaseArchivePayloadFragment, rh as ProjectTab, ri as AttachmentFragment, rl as InitiativePayloadFragment, rm as ProductIntelligenceScope, rn as AiConversationGetPullRequestCheckLogsToolCallFragment, ro as CustomerStatusChildWebhookPayloadFragment, rp as OAuthApplicationDistribution, rr as AiConversationRetryPullRequestCheckToolCallArgsFragment, rs as DocumentFragment, rt as AgentSessionCreateOnIssue, ru as IntegrationSlackMutationVariables, rv as TeamMembershipsQueryVariables, ry as UsageAlertFragment, s_ as RoadmapFragment, sa as Comment_DocumentContent_AiPromptRulesQueryVariables, sb as WebhookRotateSecretPayloadFragment, sc as FileUploadMutationVariables, sd as IssueNotificationFragment, sf as Issue_DocumentsQueryVariables, sg as ReleaseCompleteInputBase, sh as ProjectUpdateCreateInput, si as AttachmentIssue_DocumentsQueryVariables, sl as InitiativeRelationPayloadFragment, sm as ProjectChildWebhookPayloadFragment, sn as AiConversationGetPullRequestFileToolCallFragment, so as CustomerStatusPayloadFragment, sp as OAuthApplicationRotateSecretPayloadFragment, sr as AiConversationSearchEntitiesToolCallFragment, ss as DocumentSearchResultFragment, st as AgentSessionPayloadFragment, su as IntegrationTemplateCreateInput, sv as TeamPinnedResourceFragment, sy as UserChildWebhookPayloadFragment, t_ as ReleasesQueryVariables, ta as CommentUpdateInput, tb as WebhookConnectionFragment, tc as FavoriteUpdateInput, td as IssueLabelWebhookPayloadFragment, tf as IssueVcsBranchSearch_SubscribersQueryVariables, tg as RecentReleasesByAccessKeyQueryVariables, th as ProjectStatusUpdateInput, ti as AttachmentConnectionFragment, tl as InitiativeNotificationFragment, tm as ProductAnnouncementFragment, tn as AiConversationGetMicrosoftTeamsConversationHistoryToolCallFragment, to as CustomerNotificationSubscriptionFragment, tp as OAuthApplicationArchivePayloadFragment, tr as AiConversationRetrieveEntitiesToolCallArgsFragment, ts as DocumentContentRevisionFragment, tt as AgentSessionConnectionFragment, tu as IntegrationService, tv as TeamMembershipPayloadFragment, ty as UploadFileHeaderFragment, u as EntityWebhookPayloadWithCommentData, u_ as RoadmapToProjectCreateInput, ua as CommentsQueryVariables, ub as WelcomeMessageFragment, uc as GitAutomationStateConnectionFragment, ud as IssueRelationConnectionFragment, uf as Issue_HistoryQueryVariables, ug as ReleaseFragment, uh as ProjectUpdateInput, ui as AttachmentIssue_HistoryQueryVariables, ul as InitiativeStatus, um as ProjectFilterSuggestionPayloadFragment, un as AiConversationHandoffToCodingSessionToolCallFragment, uo as CustomerStatusesQueryVariables, up as OAuthClientApprovalStatus, ur as AiConversationSetSpendLimitToolCallArgsFragment, us as Document_CommentsQueryVariables, ut as AgentSessionToPullRequestFragment, uu as IntegrationTemplatesQueryVariables, uv as TeamRoleType, uy as UserFlagType, v as EntityWebhookPayloadWithIssueData, v_ as SLADayCountType, va as CreateIssueRelationMutationVariables, vb as WorkflowStateCreateInput, vc as GitAutomationTargetBranchPayloadFragment, vd as IssueRepositorySuggestionsQueryVariables, vf as IssuesQueryVariables, vg as ReleaseNoteUpdateInput, vh as ProjectUpdatesQueryVariables, vi as AttachmentLinkDiscordMutationVariables, vl as InitiativeUpdateArchivePayloadFragment, vm as ProjectLabelFragment, vn as AiConversationListCodingSessionsToolCallResultAgentSessionsFragment, vo as CustomerUpdateInput, vp as OrganizationDomainAuthType, vr as AiConversationStatus, vs as EmailIntakeAddressType, vt as AgentSkillCreateInput, vu as IssueArchivePayloadFragment, vv as Team_MembersQueryVariables, vy as UserSettingsFlagPayloadFragment, w as EntityWebhookPayloadWithUserData, w_ as SearchProjectsQueryVariables, wa as CustomViewConnectionFragment, wb as WorkflowTrigger, wc as GitHubRemoveCodeAccessAction, wd as IssueSharingPolicy, wf as LogoutMutationVariables, wg as ReleasePipelineConnectionFragment, wh as Project_HistoryQueryVariables, wi as AttachmentLinkJiraIssueMutationVariables, wl as InitiativeUpdateInput, wm as ProjectLabelsQueryVariables, wn as AiConversationNotifyUsersToolCallArgsFragment, wo as CycleChildWebhookPayloadFragment, wp as OrganizationInviteFragment, wr as AiConversationSuggestValuesToolCallArgsFragment, ws as EmojiConnectionFragment, wt as AiConversationAckPartFragment, wu as IssueCommentReactionNotificationWebhookPayloadFragment, wv as Team_WebhooksQueryVariables, wy as UserSettingsThemeFragment, x as EntityWebhookPayloadWithProjectUpdateData, x_ as SearchDocuments_ArchivePayloadQueryVariables, xa as CreateProjectUpdateReminderMutationVariables, xb as WorkflowStateUpdateInput, xc as GitHubEnterpriseServerInstallVerificationPayloadFragment, xd as IssueSearchResultFragment, xf as LinearAgentMcpServersMode, xg as ReleasePayloadFragment, xh as Project_CommentsQueryVariables, xi as AttachmentLinkGitHubPrMutationVariables, xl as InitiativeUpdateCreateInput, xm as ProjectLabelWebhookPayloadFragment, xn as AiConversationNavigateToPageToolCallArgsFragment, xo as CustomerWebhookPayloadFragment, xp as OrganizationFragment, xr as AiConversationSubscribeToEventToolCallArgsType, xs as EmailUnsubscribePayloadFragment, xt as AgentSkillUpdateInput, xu as IssueBatchPayloadFragment, xv as Team_ReleasePipelinesQueryVariables, xy as UserSettingsFragment, y as EntityWebhookPayloadWithIssueLabelData, y_ as Scalars, ya as CreateProjectLabelMutationVariables, yb as WorkflowStateFragment, yc as GitAutomationTargetBranchUpdateInput, yd as IssueSearchPayloadFragment, yf as JiraFetchProjectStatusesPayloadFragment, yg as ReleaseNoteWebhookPayloadFragment, yh as ProjectWebhookPayloadFragment, yi as AttachmentLinkFrontMutationVariables, yl as InitiativeUpdateChildWebhookPayloadFragment, ym as ProjectLabelPayloadFragment, yn as AiConversationListCodingSessionsToolCallResultFragment, yo as CustomerUpsertInput, yp as OrganizationDomainFragment, yr as AiConversationSubscribeToEventToolCallArgsFragment, ys as EmailIntakeAddressUpdateInput, yt as AgentSkillFragment, yu as IssueAssignedToYouNotificationWebhookPayloadFragment, yv as Team_MembershipsQueryVariables, yy as UserSettingsFlagsResetMutationVariables, z as AgentActivityActionContentFragment, z_ as SsoUrlFromEmailQueryVariables, za as CustomerFragment, zc as InitiativeFilterSuggestionPayloadFragment, zd as IssueUnassignedFromYouNotificationWebhookPayloadFragment, zf as NotificationDeliveryPreferencesDayFragment, zg as ReleaseStageFragment, zh as PullRequestMergeMethod, zi as AuditEntryWebhookPayloadFragment, zl as Initiative_SubInitiativesQueryVariables, zm as ProjectRelationConnectionFragment, zn as AiConversationQueryViewToolCallArgsMode, zo as DeleteCustomerNeedMutationVariables, zp as Organization_TemplatesQueryVariables, zr as AiConversationWidgetDisplayInfoFragment, zs as ExternalEntityInfoGithubMetadataFragment, zt as AiConversationDeleteEntityToolCallFragment, zu as IssueImportCreateClubhouseMutationVariables, zv as TriageResponsibilitiesQueryVariables, zy as UsersQueryVariables } from "./index-zxW4m1xd.mjs";
//#region src/types.d.ts
/**
* Input options for creating a Linear Client
*/
interface LinearClientOptions extends RequestInit {
/** Personal api token generated from https://linear.app/settings/account/security */
apiKey?: string;
/** The access token returned from oauth endpoints configured in https://linear.app/settings/account/security */
accessToken?: string;
/** The url to the Linear graphql api */
apiUrl?: string;
}
/**
* Validated LinearGraphQLClient options
*/
interface LinearClientParsedOptions extends RequestInit {
/** The url to the Linear graphql api defaulted to production */
apiUrl: string;
}
/**
* The raw response from the Linear GraphQL Client
*/
interface LinearRawResponse<Data> {
/** The returned data */
data?: Data;
/** Any extensions returned by the Linear API */
extensions?: unknown;
/** Response headers */
headers?: Headers;
/** Response status */
status?: number;
/** An error message */
error?: string;
/** Any GraphQL errors returned by the Linear API */
errors?: LinearGraphQLErrorRaw[];
}
/**
* The error types returned by the Linear API
*/
declare enum LinearErrorType {
"FeatureNotAccessible" = "FeatureNotAccessible",
"InvalidInput" = "InvalidInput",
"Ratelimited" = "Ratelimited",
"NetworkError" = "NetworkError",
"AuthenticationError" = "AuthenticationError",
"Forbidden" = "Forbidden",
"BootstrapError" = "BootstrapError",
"Unknown" = "Unknown",
"InternalError" = "InternalError",
"Other" = "Other",
"UserError" = "UserError",
"GraphqlError" = "GraphqlError",
"LockTimeout" = "LockTimeout",
"UsageLimitExceeded" = "UsageLimitExceeded",
}
/**
* One of potentially many raw graphql errors returned by the Linear API
*/
interface LinearGraphQLErrorRaw {
/** The error type */
message?: LinearErrorType;
/** The path to the graphql node at which the error occured */
path?: string[];
extensions?: {
/** The error type */
type?: LinearErrorType;
/** If caused by the user input */
userError?: boolean;
/** A friendly error message */
userPresentableMessage?: string;
};
}
/**
* Description of a GraphQL request used in error handling
*/
interface GraphQLRequestContext<Variables extends Record<string, unknown>> {
query: string;
variables?: Variables;
}
/**
* The raw error returned by the Linear API
*/
interface LinearErrorRaw {
/** Error name if available */
name?: string;
/** Error message if available */
message?: string;
/** Error information for the request */
request?: GraphQLRequestContext<Record<string, unknown>>;
/** Error information for the response */
response?: LinearRawResponse<unknown>;
}
//#endregion
//#region src/graphql-client.d.ts
/**
* Identical class to graphql-request ClientError
* Ensures parseLinearError is compatible with custom graphql-request clients
*
* @param response the raw response from the Linear API
* @param request information about the request resulting in the error
*/
declare class GraphQLClientError<Data, Variables extends Record<string, unknown>> extends Error {
response: LinearRawResponse<Data>;
request: GraphQLRequestContext<Variables>;
constructor(response: LinearRawResponse<Data>, request: GraphQLRequestContext<Variables>);
private static extractMessage;
}
/**
* Create an isomorphic GraphQL client
* Originally forked from graphql-request to remove the external dependency
*
* @param url base url to send the request to
* @param options the request options
*/
declare class LinearGraphQLClient {
private url;
private options;
constructor(url: string, options?: RequestInit);
rawRequest<Data, Variables extends Record<string, unknown>>(query: string, variables?: Variables, requestHeaders?: RequestInit["headers"]): Promise<LinearRawResponse<Data>>;
/**
* Send a GraphQL document to the server.
*/
request<Data, Variables extends Record<string, unknown>>(document: string, variables?: Variables, requestHeaders?: RequestInit["headers"]): Promise<Data>;
setHeaders(headers: RequestInit["headers"]): LinearGraphQLClient;
/**
* Attach a header to the client. All subsequent requests will have this header.
*/
setHeader(key: string, value: string): LinearGraphQLClient;
}
//#endregion
//#region src/_generated_sdk.d.ts
/** The function for calling the graphql client */
type LinearRequest = <Response, Variables extends Record<string, unknown>>(doc: string, variables?: Variables) => Promise<Response>;
/**
* Base class to provide a request function
*
* @param request - function to call the graphql client
*/
declare class Request {
protected _request: LinearRequest;
constructor(request: LinearRequest);
/**
* Helper to paginate over all pages of a given connection query.
* @param fn The query to paginate
* @param args The arguments to pass to the query
*/
paginate<T extends Node, U>(fn: (variables: U) => LinearFetch<Connection<T>>, args: U): Promise<T[]>;
}
/** Fetch return type wrapped in a promise */
type LinearFetch<Response> = Promise<Response>;
/**
* Variables required for pagination
* Follows the Relay spec
*/
type LinearConnectionVariables = {
after?: string | null;
before?: string | null;
first?: number | null;
last?: number | null;
};
/**
* Connection models containing a list of nodes and pagination information
* Follows the Relay spec
*/
declare class LinearConnection<Node$1> extends Request {
pageInfo: PageInfo;
nodes: Node$1[];
constructor(request: LinearRequest);
}
/**
* The base connection class to provide pagination
* Follows the Relay spec
*
* @param request - function to call the graphql client
* @param fetch - Function to refetch the connection given different pagination variables
* @param nodes - The list of models to initialize the connection
* @param pageInfo - The pagination information to initialize the connection
*/
declare class Connection<Node$1> extends LinearConnection<Node$1> {
private _fetch;
constructor(request: LinearRequest, fetch: (variables?: LinearConnectionVariables) => LinearFetch<LinearConnection<Node$1> | undefined>, nodes: Node$1[], pageInfo: PageInfo);
/** Add nodes to the end of the existing nodes */
private _appendNodes;
/** Add nodes to the start of the existing nodes */
private _prependNodes;
/** Update the pagination end cursor */
private _appendPageInfo;
/** Update the pagination start cursor */
private _prependPageInfo;
/** Fetch the next page of results and append to nodes */
fetchNext(): Promise<this>;
/** Fetch the previous page of results and prepend to nodes */
fetchPrevious(): Promise<this>;
}
/**
* A release returned using a release pipeline access key.
*
* @param request - function to call the graphql client
* @param data - L.AccessKeyReleaseFragment response data
*/
declare class AccessKeyRelease extends Request {
constructor(request: LinearRequest, data: AccessKeyReleaseFragment);
/** The time at which the release was archived. Null if the release has not been archived. */
archivedAt?: Date | null;
/** The Git commit SHA associated with the release. */
commitSha?: string | null;
/** The time at which the release was completed. Null if the release has not been completed. */
completedAt?: Date | null;
/** The time at which the release was created. */
createdAt: Date;
/** The unique identifier of the release. */
id: string;
/** The name of the release. */
name: string;
/** The URL to the release page in the Linear app. */
url: string;
/** The version identifier for this release. Null if no version has been assigned. */
version?: string | null;
/** The current stage of the release. */
stage: AccessKeyReleaseStage;
}
/**
* The result of a release mutation using a release pipeline access key.
*
* @param request - function to call the graphql client
* @param data - L.AccessKeyReleasePayloadFragment response data
*/
declare class AccessKeyReleasePayload extends Request {
constructor(request: LinearRequest, data: AccessKeyReleasePayloadFragment);
/** The identifier of the last sync operation. */
lastSyncId: number;
/** Whether the operation was successful. */
success: boolean;
/** The release that was created or updated. */
get release(): LinearFetch<AccessKeyRelease | undefined>;
}
/**
* A release pipeline returned using a release pipeline access key.
*
* @param request - function to call the graphql client
* @param data - L.AccessKeyReleasePipelineFragment response data
*/
declare class AccessKeyReleasePipeline extends Request {
constructor(request: LinearRequest, data: AccessKeyReleasePipelineFragment);
/** The unique identifier of the release pipeline. */
id: string;
/** Glob patterns used to filter commits by changed file path. An empty array means all commits are included. */
includePathPatterns: string[];
}
/**
* A release stage returned using a release pipeline access key.
*
* @param request - function to call the graphql client
* @param data - L.AccessKeyReleaseStageFragment response data
*/
declare class AccessKeyReleaseStage extends Request {
constructor(request: LinearRequest, data: AccessKeyReleaseStageFragment);
/** The name of the release stage. */
name: string;
}
/**
* A bot actor representing a non-human entity that performed an action, such as an integration (GitHub, Slack, Zendesk), an AI assistant, or an automated workflow. Bot actors are displayed in activity feeds and history to indicate when changes were made by applications rather than users.
*
* @param request - function to call the graphql client
* @param data - L.ActorBotFragment response data
*/
declare class ActorBot extends Request {
constructor(request: LinearRequest, data: ActorBotFragment);
/** A URL pointing to the avatar image representing this bot, typically the integration's logo or icon. */
avatarUrl?: string | null;
/** A unique identifier for the bot actor. */
id?: string | null;
/** The display name of the bot. */
name?: string | null;
/** A more specific classification within the bot type, providing additional context about the integration or application variant. */
subType?: string | null;
/** The source type of the bot, identifying the application or integration (e.g., 'github', 'slack', 'workflow', 'ai'). */
type: string;
/** The display name of the external user on behalf of whom the bot acted. Shown when an integration action was triggered by a specific person in the external system. */
userDisplayName?: string | null;
}
/**
* An activity performed by or directed at an AI coding agent during a session. Activities represent the observable steps of an agent's work, including thoughts, actions (tool calls), responses, prompts from users, errors, and elicitation requests. Each activity belongs to an agent session and is associated with the user who initiated it.
*
* @param request - function to call the graphql client
* @param data - L.AgentActivityFragment response data
*/
declare class AgentActivity extends Request {
private _agentSession;
private _sourceComment?;
private _user;
constructor(request: LinearRequest, data: AgentActivityFragment);
/** The time at which the entity was archived. Null if the entity has not been archived. */
archivedAt?: Date | null;
/** The time at which the entity was created. */
createdAt: Date;
/** Whether the activity is ephemeral, and should disappear after the next agent activity. */
ephemeral: boolean;
/** The unique identifier of the entity. */
id: string;
/** Metadata about this agent activity's signal. */
signalMetadata?: Record<string, unknown> | null;
/** Metadata about the external source that created this agent activity. */
sourceMetadata?: Record<string, unknown> | null;
/**
* The last time at which the entity was meaningfully updated. This is the same as the creation time if the entity hasn't
* been updated after creation.
*/
updatedAt: Date;
/** An optional modifier that provides additional instructions on how the activity should be interpreted. */
signal?: AgentActivitySignal | null;
/** The content of the activity, which varies by type (thought, action, response, prompt, error, or elicitation). */
content: AgentActivityFragment["content"];
/** The agent session this activity belongs to. */
get agentSession(): LinearFetch<AgentSession> | undefined;
/** The ID of agent session this activity belongs to. */
get agentSessionId(): string | undefined;
/** The source comment this activity is linked to. Null if the activity was not triggered by a comment. */
get sourceComment(): LinearFetch<Comment> | undefined;
/** The ID of source comment this activity is linked to. null if the activity was not triggered by a comment. */
get sourceCommentId(): string | undefined;
/** The user who created this agent activity. */
get user(): LinearFetch<User> | undefined;
/** The ID of user who created this agent activity. */
get userId(): string | undefined;
/** Creates an agent activity. */
create(input: AgentActivityCreateInput): LinearFetch<AgentActivityPayload>;
}
/**
* Content for an action activity (tool call or action).
*
* @param request - function to call the graphql client
* @param data - L.AgentActivityActionContentFragment response data
*/
declare class AgentActivityActionContent extends Request {
constructor(request: LinearRequest, data: AgentActivityActionContentFragment);
/** The action being performed. */
action: string;
/** The parameters for the action, e.g. a file path, a keyword, etc. */
parameter: string;
/** The result of the action in Markdown format. */
result?: string | null;
/** The type of activity. */
type: AgentActivityType;
}
/**
* AgentActivityConnection model
*
* @param request - function to call the graphql client
* @param fetch - function to trigger a refetch of this AgentActivityConnection model
* @param data - AgentActivityConnection response data
*/
declare class AgentActivityConnection extends Connection<AgentActivity> {
constructor(request: LinearRequest, fetch: (connection?: LinearConnectionVariables) => LinearFetch<LinearConnection<AgentActivity> | undefined>, data: AgentActivityConnectionFragment);
}
/**
* Content for an elicitation activity.
*
* @param request - function to call the graphql client
* @param data - L.AgentActivityElicitationContentFragment response data
*/
declare class AgentActivityElicitationContent extends Request {
constructor(request: LinearRequest, data: AgentActivityElicitationContentFragment);
/** The elicitation message in Markdown format. */
body: string;
/** The type of activity. */
type: AgentActivityType;
}
/**
* Content for an error activity.
*
* @param request - function to call the graphql client
* @param data - L.AgentActivityErrorContentFragment response data
*/
declare class AgentActivityErrorContent extends Request {
constructor(request: LinearRequest, data: AgentActivityErrorContentFragment);
/** The error message in Markdown format. */
body: string;
/** A stable reason code for specialized error handling. */
reasonCode?: string | null;
/** The type of activity. */
type: AgentActivityType;
}
/**
* The result of an agent activity mutation.
*
* @param request - function to call the graphql client
* @param data - L.AgentActivityPayloadFragment response data
*/
declare class AgentActivityPayload extends Request {
private _agentActivity;
constructor(request: LinearRequest, data: AgentActivityPayloadFragment);
/** The identifier of the last sync operation. */
lastSyncId: number;
/** Whether the operation was successful. */
success: boolean;
/** The agent activity that was created or updated. */
get agentActivity(): LinearFetch<AgentActivity> | undefined;
/** The ID of agent activity that was created or updated. */
get agentActivityId(): string | undefined;
}
/**
* Content for a prompt activity.
*
* @param request - function to call the graphql client
* @param data - L.AgentActivityPromptContentFragment response data
*/
declare class AgentActivityPromptContent extends Request {
constructor(request: LinearRequest, data: AgentActivityPromptContentFragment);
/** A message requesting additional information or action from user. */
body: string;
/** A short title capturing the intent of the prompt. */
title?: string | null;
/** The type of activity. */
type: AgentActivityType;
}
/**
* Content for a response activity.
*
* @param request - function to call the graphql client
* @param data - L.AgentActivityResponseContentFragment response data
*/
declare class AgentActivityResponseContent extends Request {
constructor(request: LinearRequest, data: AgentActivityResponseContentFragment);
/** The response content in Markdown format. */
body: string;
/** The type of activity. */
type: AgentActivityType;
}
/**
* Content for a thought activity.
*
* @param request - function to call the graphql client
* @param data - L.AgentActivityThoughtContentFragment response data
*/
declare class AgentActivityThoughtContent extends Request {
constructor(request: LinearRequest, data: AgentActivityThoughtContentFragment);
/** The thought content in Markdown format. */
body: string;
/** The type of activity. */
type: AgentActivityType;
}
/**
* Payload for an agent activity webhook.
*
* @param data - L.AgentActivityWebhookPayloadFragment response data
*/
declare class AgentActivityWebhookPayload {
constructor(data: AgentActivityWebhookPayloadFragment);
/** The ID of the agent session that this activity belongs to. */
agentSessionId: string;
/** The time at which the entity was archived. */
archivedAt?: string | null;
/** The content of the agent activity. */
content: Scalars["JSONObject"];
/** The time at which the entity was created. */
createdAt: string;
/** The ID of the entity. */
id: string;
/** An optional modifier that provides additional instructions on how the activity should be interpreted. */
signal?: string | null;
/** Metadata about this agent activity's signal. */
signalMetadata?: Scalars["JSONObject"] | null;
/** The ID of the comment this activity is linked to. */
sourceCommentId?: string | null;
/** The time at which the entity was updated. */
updatedAt: string;
/** The ID of the user who created this agent activity. */
userId: string;
/** The user who created this agent activity. */
user: UserChildWebhookPayload;
}
/**
* The outcome of retrying a loop run blocked by its trusted-source policy.
*
* @param request - function to call the graphql client
* @param data - L.AgentAutomationRetryResolutionFragment response data
*/
declare class AgentAutomationRetryResolution extends Request {
constructor(request: LinearRequest, data: AgentAutomationRetryResolutionFragment);
/** Identifier of the replacement AI conversation. Null when no replacement run was scheduled. */
aiConversationId?: string | null;
/** Whether a replacement run was scheduled or the loop could no longer be retried. */
status: AgentAutomationRetryResolutionStatus;
}
/**
* A session representing an AI coding agent's work on an issue or conversation. Agent sessions track the lifecycle of an agent's engagement, from creation through active work to completion or dismissal. Each session is associated with an agent user (the bot), optionally a human creator, an issue, and a comment thread where the agent posts updates. Sessions contain activities that record the agent's observable steps and can be linked to pull requests created during the work.
*
* @param request - function to call the graphql client
* @param data - L.AgentSessionFragment response data
*/
declare class AgentSession extends Request {
private _appUser;
private _comment?;
private _creator?;
private _dismissedBy?;
private _issue?;
private _sourceComment?;
constructor(request: LinearRequest, data: AgentSessionFragment);
/** The time at which the entity was archived. Null if the entity has not been archived. */
archivedAt?: Date | null;
/** The entity contexts this session is related to, such as issues or projects referenced in direct chat sessions. Used to provide contextual awareness to the agent. */
context: Record<string, unknown>;
/** The time at which the entity was created. */
createdAt: Date;
/** The time a user dismissed this agent session. When dismissed, the agent is removed as delegate from the associated issue. Null if the session has not been dismissed. */
dismissedAt?: Date | null;
/** The time the agent session completed. Null if the session is still in progress or was dismissed before completion. */
endedAt?: Date | null;
/** The URL of an external agent-hosted page associated with this session. */
externalLink?: string | null;
/** URLs of external resources associated with this session. */
externalUrls: Record<string, unknown>;
/** The unique identifier of the entity. */
id: string;
/** A dynamically updated plan describing the agent's execution strategy, including steps to be taken and their current status. Updated as the agent progresses through its work. Null if no plan has been set. */
plan?: Record<string, unknown> | null;
/** The agent session's unique URL slug. */
slugId: string;
/** Metadata about the external source that created this agent session. */
sourceMetadata?: Record<string, unknown> | null;
/** The time the agent session transitioned to active status and began work. Null if the session has not yet started. */
startedAt?: Date | null;
/** A human-readable summary of the work performed in this session. Null if no summary has been generated yet. */
summary?: string | null;
/**
* The last time at which the entity was meaningfully updated. This is the same as the creation time if the entity hasn't
* been updated after creation.
*/
updatedAt: Date;
/** The URL to the agent session page in the Linear app. Null when no issue is associated. */
url?: string | null;
/** External links associated with this session. */
externalLinks: AgentSessionExternalLink[];
/** The current status of the agent session, such as pending, active, awaiting input, complete, error, or stale. */
status: AgentSessionStatus;
/** [DEPRECATED] The type of the agent session. */
type?: AgentSessionType | null;
/** The agent user that is associated with this agent session. */
get appUser(): LinearFetch<User> | undefined;
/** The ID of agent user that is associated with this agent session. */
get appUserId(): string | undefined;
/** The comment this agent session is associated with. */
get comment(): LinearFetch<Comment> | undefined;
/** The ID of comment this agent session is associated with. */
get commentId(): string | undefined;
/** The human user responsible for the agent session. Null if the session was initiated via automation or by an agent user, with no responsible human user. */
get creator(): LinearFetch<User> | undefined;
/** The ID of human user responsible for the agent session. null if the session was initiated via automation or by an agent user, with no responsible human user. */
get creatorId(): string | undefined;
/** The user who dismissed the agent session. Automatically set when dismissedAt is updated. Null if the session has not been dismissed. */
get dismissedBy(): LinearFetch<User> | undefined;
/** The ID of user who dismissed the agent session. automatically set when dismissedat is updated. null if the session has not been dismissed. */
get dismissedById(): string | undefined;
/** The issue this agent session is associated with. */
get issue(): LinearFetch<Issue> | undefined;
/** The ID of issue this agent session is associated with. */
get issueId(): string | undefined;
/** The comment that this agent session was spawned from, if from a different thread. */
get sourceComment(): LinearFetch<Comment> | undefined;
/** The ID of comment that this agent session was spawned from, if from a different thread. */
get sourceCommentId(): string | undefined;
/** Activities associated with this agent session. */
activities(variables?: Omit<AgentSession_ActivitiesQueryVariables, "id">): LinearFetch<AgentActivityConnection>;
/** Updates an agent session. */
update(input: AgentSessionUpdateInput): LinearFetch<AgentSessionPayload>;
}
/**
* AgentSessionConnection model
*
* @param request - function to call the graphql client
* @param fetch - function to trigger a refetch of this AgentSessionConnection model
* @param data - AgentSessionConnection response data
*/
declare class AgentSessionConnection extends Connection<AgentSession> {
constructor(request: LinearRequest, fetch: (connection?: LinearConnectionVariables) => LinearFetch<LinearConnection<AgentSession> | undefined>, data: AgentSessionConnectionFragment);
}
/**
* Payload for agent session webhook events.
*
* @param data - L.AgentSessionEventWebhookPayloadFragment response data
*/
declare class AgentSessionEventWebhookPayload {
constructor(data: AgentSessionEventWebhookPayloadFragment);
/** The type of action that triggered the webhook. */
action: string;
/** ID of the app user the agent session belongs to. */
appUserId: string;
/** The time the payload was created. */
createdAt: Date;
/** ID of the OAuth client the app user is tied to. */
oauthClientId: string;
/** ID of the organization for which the webhook belongs to. */
organizationId: string;
/** A formatted prompt string containing the relevant context for the agent session, including issue details, comments, and guidance. Present only for `created` events. */
promptContext?: string | null;
/** The type of resource. */
type: string;
/** The ID of the webhook that sent this event. */
webhookId: string;
/** Unix timestamp in milliseconds when the webhook was sent. */
webhookTimestamp: number;
/** Guidance to inform the agent's behavior, which comes from configuration at the level of the workspace, parent teams, and/or current team for this session. The nearest team-specific guidance should take highest precendence. */
guidance?: GuidanceRuleWebhookPayload[] | null;
/** The previous comments in the thread before this agent was mentioned and the session was initiated, if any. Present only for `created` events where the session was initiated by mentioning the agent in a child comment of a thread. */
previousComments?: CommentChildWebhookPayload[] | null;
/** The agent activity that was created. */
agentActivity?: AgentActivityWebhookPayload | null;
/** The agent session that the event belongs to. */
agentSession: AgentSessionWebhookPayload;
}
/**
* An external link associated with an agent session.
*
* @param request - function to call the graphql client
* @param data - L.AgentSessionExternalLinkFragment response data
*/
declare class AgentSessionExternalLink extends Request {
constructor(request: LinearRequest, data: AgentSessionExternalLinkFragment);
/** Label for the link. */
label: string;
/** The URL of the external resource. */
url: string;
}
/**
* AgentSessionPayload model
*
* @param request - function to call the graphql client
* @param data - L.AgentSessionPayloadFragment response data
*/
declare class AgentSessionPayload extends Request {
private _agentSession;
constructor(request: LinearRequest, data: AgentSessionPayloadFragment);
/** The identifier of the last sync operation. */
lastSyncId: number;
/** Whether the operation was successful. */
success: boolean;
/** The agent session that was created or updated. */
get agentSession(): LinearFetch<AgentSession> | undefined;
/** The ID of agent session that was created or updated. */
get agentSessionId(): string | undefined;
}
/**
* A link between an agent session and a pull request created or associated during that session. This join entity tracks which pull requests were produced by or connected to a coding agent's work session, and handles backfilling links when pull requests are synced after the agent has already recorded the URL.
*
* @param request - function to call the graphql client
* @param data - L.AgentSessionToPullRequestFragment response data
*/
declare class AgentSessionToPullRequest extends Request {
private _agentSession;
constructor(request: LinearRequest, data: AgentSessionToPullRequestFragment);
/** The time at which the entity was archived. Null if the entity has not been archived. */
archivedAt?: Date | null;
/** The time at which the entity was created. */
createdAt: Date;
/** The unique identifier of the entity. */
id: string;
/**
* The last time at which the entity was meaningfully updated. This is the same as the creation time if the entity hasn't
* been updated after creation.
*/
updatedAt: Date;
/** The agent session that the pull request is associated with. */
get agentSession(): LinearFetch<AgentSession> | undefined;
/** The ID of agent session that the pull request is associated with. */
get agentSessionId(): string | undefined;
}
/**
* AgentSessionToPullRequestConnection model
*
* @param request - function to call the graphql client
* @param fetch - function to trigger a refetch of this AgentSessionToPullRequestConnection model
* @param data - AgentSessionToPullRequestConnection response data
*/
declare class AgentSessionToPullRequestConnection extends Connection<AgentSessionToPullRequest> {
constructor(request: LinearRequest, fetch: (connection?: LinearConnectionVariables) => LinearFetch<LinearConnection<AgentSessionToPullRequest> | undefined>, data: AgentSessionToPullRequestConnectionFragment);
}
/**
* Payload for an agent session webhook.
*
* @param data - L.AgentSessionWebhookPayloadFragment response data
*/
declare class AgentSessionWebhookPayload {
constructor(data: AgentSessionWebhookPayloadFragment);
/** The ID of the agent that the agent session belongs to. */
appUserId: string;
/** The time at which the entity was archived. */
archivedAt?: string | null;
/** The ID of the root comment of the thread this agent session is attached to. */
commentId?: string | null;
/** The time at which the entity was created. */
createdAt: string;
/** The ID of the human user responsible for the agent session. Unset if the session was initiated via automation or by an agent user, with no responsible human user. */
creatorId?: string | null;
/** The time the agent session ended. */
endedAt?: string | null;
/** The ID of the entity. */
id: string;
/** The ID of the issue this agent session is associated with. */
issueId?: string | null;
/** The ID of the organization that the agent session belongs to. */
organizationId: string;
/** The ID of the comment that this agent session was spawned from, if from a different thread. */
sourceCommentId?: string | null;
/** Metadata about the external source that created this agent session. */
sourceMetadata?: Scalars["JSONObject"] | null;
/** The time the agent session started working. */
startedAt?: string | null;
/** The current status of the agent session. */
status: string;
/** A summary of the activities in this session. */
summary?: string | null;
/** The type of the agent session. */
type: string;
/** The time at which the entity was updated. */
updatedAt: string;
/** The URL of the agent session. */
url?: string | null;
/** The root comment of the thread this agent session is attached to. */
comment?: CommentChildWebhookPayload | null;
/** The human user responsible for the agent session. Unset if the session was initiated via automation or by an agent user, with no responsible human user. */
creator?: UserChildWebhookPayload | null;
/** The issue this agent session is associated with. */
issue?: IssueWithDescriptionChildWebhookPayload | null;
}
/**
* A user-defined skill that can be saved and reused in conversations with the Linear Agent. Skills can be private to a user or shared with a team.
*
* @param request - function to call the graphql client
* @param data - L.AgentSkillFragment response data
*/
declare class AgentSkill extends Request {
private _creator;
private _inheritedFrom?;
private _lastUpdatedBy?;
private _owner;
constructor(request: LinearRequest, data: AgentSkillFragment);
/** The time at which the entity was archived. Null if the entity has not been archived. */
archivedAt?: Date | null;
/** The skill instructions in markdown format. */
body: string;
/** The skill's color. Null if no color is set. */
color?: string | null;
/** The time at which the entity was created. */
createdAt: Date;
/** The skill's description. Null if no description has been generated. */
description?: string | null;
/** The icon of the skill. Null if no icon is set. */
icon?: string | null;
/** The unique identifier of the entity. */
id: string;
/** The time the skill was last used by anyone in the workspace. Null if it has never been used. */
lastUsedAt?: Date | null;
/** The number of times the skill was used by anyone in the workspace in the last 30 days. */
recentUsageCount: number;
/** Whether the skill is shared with everyone in the workspace. When false, only the owner can use the skill. */
shared: boolean;
/** The skill's unique URL slug. */
slugId: string;
/** The identifier of the team this skill is shared with. */
teamId?: string | null;
/** The skill's title. */
title: string;
/**
* The last time at which the entity was meaningfully updated. This is the same as the creation time if the entity hasn't
* been updated after creation.
*/
updatedAt: Date;
/** The user who created the skill. */
get creator(): LinearFetch<User> | undefined;
/** The ID of user who created the skill. */
get creatorId(): string | undefined;
/** The parent-team skill this skill was inherited from. Null if the skill is not inherited. */
get inheritedFrom(): LinearFetch<AgentSkill> | undefined;
/** The ID of parent-team skill this skill was inherited from. null if the skill is not inherited. */
get inheritedFromId(): string | undefined;
/** The user who last updated the skill. Null if unknown. */
get lastUpdatedBy(): LinearFetch<User> | undefined;
/** The ID of user who last updated the skill. null if unknown. */
get lastUpdatedById(): string | undefined;
/** The user who owns the skill. */
get owner(): LinearFetch<User> | undefined;
/** The ID of user who owns the skill. */
get ownerId(): string | undefined;
/** Creates an agent skill. */
create(input: AgentSkillCreateInput): LinearFetch<AgentSkillPayload>;
/** Deletes an agent skill. */
delete(): LinearFetch<DeletePayload>;
/** Updates an agent skill. */
update(input: AgentSkillUpdateInput): LinearFetch<AgentSkillPayload>;
}
/**
* AgentSkillConnection model
*
* @param request - function to call the graphql client
* @param fetch - function to trigger a refetch of this AgentSkillConnection model
* @param data - AgentSkillConnection response data
*/
declare class AgentSkillConnection extends Connection<AgentSkill> {
constructor(request: LinearRequest, fetch: (connection?: LinearConnectionVariables) => LinearFetch<LinearConnection<AgentSkill> | undefined>, data: AgentSkillConnectionFragment);
}
/**
* The result of an agent skill mutation.
*
* @param request - function to call the graphql client
* @param data - L.AgentSkillPayloadFragment response data
*/
declare class AgentSkillPayload extends Request {
private _agentSkill;
constructor(request: LinearRequest, data: AgentSkillPayloadFragment);
/** The identifier of the last sync operation. */
lastSyncId: number;
/** Whether the operation was successful. */
success: boolean;
/** The agent skill that was created or updated. */
get agentSkill(): LinearFetch<AgentSkill> | undefined;
/** The ID of agent skill that was created or updated. */
get agentSkillId(): string | undefined;
}
/**
* A silent acknowledgement emitted by the agent in place of a generated reply.
*
* @param request - function to call the graphql client
* @param data - L.AiConversationAckPartFragment response data
*/
declare class AiConversationAckPart extends Request {
constructor(request: LinearRequest, data: AiConversationAckPartFragment);
/** The ID of the part. */
id: string;
/** The metadata of the part. */
metadata: AiConversationPartMetadata;
/** The kind of acknowledgement the agent expressed. */
kind: AiConversationAckKind;
/** The type of the part. */
type: AiConversationPartType;
}
/**
* A base part in an AI conversation.
*
* @param request - function to call the graphql client
* @param data - L.AiConversationBasePartFragment response data
*/
declare class AiConversationBasePart extends Request {
constructor(request: LinearRequest, data: AiConversationBasePartFragment);
/** The ID of the part. */
id: string;
/** The metadata of the part. */
metadata: AiConversationPartMetadata;
/** The type of the part. */
type: AiConversationPartType;
}
/**
* AiConversationBaseToolCall model
*
* @param request - function to call the graphql client
* @param data - L.AiConversationBaseToolCallFragment response data
*/
declare class AiConversationBaseToolCall extends Request {
constructor(request: LinearRequest, data: AiConversationBaseToolCallFragment);
/** The arguments of the tool call. */
rawArgs?: Record<string, unknown> | null;
/** The result of the tool call. */
rawResult?: Record<string, unknown> | null;
displayInfo: AiConversationToolDisplayInfo;
/** The name of the tool that was called. */
name: AiConversationTool;
}
/**
* AiConversationBaseWidget model
*
* @param request - function to call the graphql client
* @param data - L.AiConversationBaseWidgetFragment response data
*/
declare class AiConversationBaseWidget extends Request {
constructor(request: LinearRequest, data: AiConversationBaseWidgetFragment);
/** The arguments of the widget. */
rawArgs?: Record<string, unknown> | null;
/** Display information for the widget, including ProseMirror and Markdown representations. */
displayInfo?: AiConversationWidgetDisplayInfo | null;
/** The name of the widget. */
name: AiConversationWidgetName;
}
/**
* AiConversationBashToolCall model
*
* @param request - function to call the graphql client
* @param data - L.AiConversationBashToolCallFragment response data
*/
declare class AiConversationBashToolCall extends Request {
constructor(request: LinearRequest, data: AiConversationBashToolCallFragment);
/** The arguments of the tool call. */
rawArgs?: Record<string, unknown> | null;
/** The result of the tool call. */
rawResult?: Record<string, unknown> | null;
/** The arguments to the tool call. */
args?: AiConversationBashToolCallArgs | null;
displayInfo: AiConversationToolDisplayInfo;
/** The name of the tool that was called. */
name: AiConversationTool;
}
/**
* AiConversationBashToolCallArgs model
*
* @param request - function to call the graphql client
* @param data - L.AiConversationBashToolCallArgsFragment response data
*/
declare class AiConversationBashToolCallArgs extends Request {
constructor(request: LinearRequest, data: AiConversationBashToolCallArgsFragment);
command: string;
}
/**
* AiConversationCodeIntelligenceToolCall model
*
* @param request - function to call the graphql client
* @param data - L.AiConversationCodeIntelligenceToolCallFragment response data
*/
declare class AiConversationCodeIntelligenceToolCall extends Request {
constructor(request: LinearRequest, data: AiConversationCodeIntelligenceToolCallFragment);
/** The arguments of the tool call. */
rawArgs?: Record<string, unknown> | null;
/** The result of the tool call. */
rawResult?: Record<string, unknown> | null;
/** The arguments to the tool call. */
args?: AiConversationCodeIntelligenceToolCallArgs | null;
displayInfo: AiConversationToolDisplayInfo;
/** The name of the tool that was called. */
name: AiConversationTool;
}
/**
* AiConversationCodeIntelligenceToolCallArgs model
*
* @param request - function to call the graphql client
* @param data - L.AiConversationCodeIntelligenceToolCallArgsFragment response data
*/
declare class AiConversationCodeIntelligenceToolCallArgs extends Request {
constructor(request: LinearRequest, data: AiConversationCodeIntelligenceToolCallArgsFragment);
question: string;
}
/**
* AiConversationCreateEntityToolCall model
*
* @param request - function to call the graphql client
* @param data - L.AiConversationCreateEntityToolCallFragment response data
*/
declare class AiConversationCreateEntityToolCall extends Request {
constructor(request: LinearRequest, data: AiConversationCreateEntityToolCallFragment);
/** The arguments of the tool call. */
rawArgs?: Record<string, unknown> | null;
/** The result of the tool call. */
rawResult?: Record<string, unknown> | null;
/** The arguments to the tool call. */
args?: AiConversationCreateEntityToolCallArgs | null;
displayInfo: AiConversationToolDisplayInfo;
/** The result of the tool call. */
result?: AiConversationCreateEntityToolCallResult | null;
/** The name of the tool that was called. */
name: AiConversationTool;
}
/**
* AiConversationCreateEntityToolCallArgs model
*
* @param request - function to call the graphql client
* @param data - L.AiConversationCreateEntityToolCallArgsFragment response data
*/
declare class AiConversationCreateEntityToolCallArgs extends Request {
constructor(request: LinearRequest, data: AiConversationCreateEntityToolCallArgsFragment);
count?: number | null;
type: string;
}
/**
* AiConversationCreateEntityToolCallResult model
*
* @param request - function to call the graphql client
* @param data - L.AiConversationCreateEntityToolCallResultFragment response data
*/
declare class AiConversationCreateEntityToolCallResult extends Request {
constructor(request: LinearRequest, data: AiConversationCreateEntityToolCallResultFragment);
startedAgentSessions?: AiConversationSearchEntitiesToolCallResultEntities[] | null;
}
/**
* AiConversationCreateSandboxToolCall model
*
* @param request - function to call the graphql client
* @param data - L.AiConversationCreateSandboxToolCallFragment response data
*/
declare class AiConversationCreateSandboxToolCall extends Request {
constructor(request: LinearRequest, data: AiConversationCreateSandboxToolCallFragment);
/** The arguments of the tool call. */
rawArgs?: Record<string, unknown> | null;
/** The result of the tool call. */
rawResult?: Record<string, unknown> | null;
/** The arguments to the tool call. */
args?: AiConversationCreateSandboxToolCallArgs | null;
displayInfo: AiConversationToolDisplayInfo;
/** The name of the tool that was called. */
name: AiConversationTool;
}
/**
* AiConversationCreateSandboxToolCallArgs model
*
* @param request - function to call the graphql client
* @param data - L.AiConversationCreateSandboxToolCallArgsFragment response data
*/
declare class AiConversationCreateSandboxToolCallArgs extends Request {
constructor(request: LinearRequest, data: AiConversationCreateSandboxToolCallArgsFragment);
repository: string;
}
/**
* AiConversationDeleteEntityToolCall model
*
* @param request - function to call the graphql client
* @param data - L.AiConversationDeleteEntityToolCallFragment response data
*/
declare class AiConversationDeleteEntityToolCall extends Request {
constructor(request: LinearRequest, data: AiConversationDeleteEntityToolCallFragment);
/** The arguments of the tool call. */
rawArgs?: Record<string, unknown> | null;
/** The result of the tool call. */
rawResult?: Record<string, unknown> | null;
/** The arguments to the tool call. */
args?: AiConversationDeleteEntityToolCallArgs | null;
displayInfo: AiConversationToolDisplayInfo;
/** The name of the tool that was called. */
name: AiConversationTool;
}
/**
* AiConversationDeleteEntityToolCallArgs model
*
* @param request - function to call the graphql client
* @param data - L.AiConversationDeleteEntityToolCallArgsFragment response data
*/
declare class AiConversationDeleteEntityToolCallArgs extends Request {
constructor(request: LinearRequest, data: AiConversationDeleteEntityToolCallArgsFragment);
entity: AiConversationSearchEntitiesToolCallResultEntities;
}
/**
* A selectable option shown in an AI conversation elicitation.
*
* @param request - function to call the graphql client
* @param data - L.AiConversationElicitationOptionFragment response data
*/
declare class AiConversationElicitationOption extends Request {
constructor(request: LinearRequest, data: AiConversationElicitationOptionFragment);
/** The short label shown for the option. */
label: string;
/** The prompt sent as a normal user reply when selected. */
prompt: string;
}
/**
* A lightweight question or choice prompt shown with an AI conversation.
*
* @param request - function to call the graphql client
* @param data - L.AiConversationElicitationPartFragment response data
*/
declare class AiConversationElicitationPart extends Request {
constructor(request: LinearRequest, data: AiConversationElicitationPartFragment);
/** The ID of the part. */
id: string;
/** The title shown above the elicitation choices. */
title?: string | null;
/** Selectable prompt options for multiple-choice elicitations. */
options: AiConversationElicitationOption[];
/** The metadata of the part. */
metadata: AiConversationPartMetadata;
/** The kind of input this elicitation asks for. */
kind: AiConversationElicitationKind;
/** The type of the part. */
type: AiConversationPartType;
}
/**
* AiConversationEntityCardWidget model
*
* @param request - function to call the graphql client
* @param data - L.AiConversationEntityCardWidgetFragment response data
*/
declare class AiConversationEntityCardWidget extends Request {
constructor(request: LinearRequest, data: AiConversationEntityCardWidgetFragment);
/** The arguments of the widget. */
rawArgs?: Record<string, unknown> | null;
/** The arguments to the widget. */
args?: AiConversationEntityCardWidgetArgs | null;
/** Display information for the widget, including ProseMirror and Markdown representations. */
displayInfo?: AiConversationWidgetDisplayInfo | null;
/** The name of the widget. */
name: AiConversationWidgetName;
}
/**
* AiConversationEntityCardWidgetArgs model
*
* @param request - function to call the graphql client
* @param data - L.AiConversationEntityCardWidgetArgsFragment response data
*/
declare class AiConversationEntityCardWidgetArgs extends Request {
constructor(request: LinearRequest, data: AiConversationEntityCardWidgetArgsFragment);
/** A concise summary shown on specialized entity cards. Leave empty unless specifically instructed. */
actionSummary?: string | null;
/** The UUID of the entity to display */
id: string;
/** @deprecated Optional note to display about the entity */
note?: string | null;
/** The action performed on the entity (leave empty if just found) */
action?: AiConversationEntityCardWidgetArgsAction | null;
}
/**
* AiConversationEntityListWidget model
*
* @param request - function to call the graphql client
* @param data - L.AiConversationEntityListWidgetFragment response data
*/
declare class AiConversationEntityListWidget extends Request {
constructor(request: LinearRequest, data: AiConversationEntityListWidgetFragment);
/** The arguments of the widget. */
rawArgs?: Record<string, unknown> | null;
/** The arguments to the widget. */
args?: AiConversationEntityListWidgetArgs | null;
/** Display information for the widget, including ProseMirror and Markdown representations. */
displayInfo?: AiConversationWidgetDisplayInfo | null;
/** The name of the widget. */
name: AiConversationWidgetName;
}
/**
* AiConversationEntityListWidgetArgs model
*
* @param request - function to call the graphql client
* @param data - L.AiConversationEntityListWidgetArgsFragment response data
*/
declare class AiConversationEntityListWidgetArgs extends Request {
constructor(request: LinearRequest, data: AiConversationEntityListWidgetArgsFragment);
/** Total number of entities in the list */
count?: number | null;
entities: AiConversationEntityListWidgetArgsEntities[];
/** The action performed on the entities (leave empty if just found) */
action?: AiConversationEntityListWidgetArgsAction | null;
}
/**
* AiConversationEntityListWidgetArgsEntities model
*
* @param request - function to call the graphql client
* @param data - L.AiConversationEntityListWidgetArgsEntitiesFragment response data
*/
declare class AiConversationEntityListWidgetArgsEntities extends Request {
constructor(request: LinearRequest, data: AiConversationEntityListWidgetArgsEntitiesFragment);
/** Entity UUID */
id: string;
/** @deprecated Optional note to display about the entity */
note?: string | null;
}
/**
* An error part in an AI conversation.
*
* @param request - function to call the graphql client
* @param data - L.AiConversationErrorPartFragment response data
*/
declare class AiConversationErrorPart extends Request {
constructor(request: LinearRequest, data: AiConversationErrorPartFragment);
/** The ID of the part. */
id: string;
/** The user-facing error message for the failed AI response. */
message: string;
/** The time when the breached usage limit resets, as an ISO 8601 string. Null when unknown or for other error categories. */
usageLimitResetsAt?: string | null;
/** The metadata of the part. */
metadata: AiConversationPartMetadata;
/** The outcome of retrying this error's loop run. Null when the run has not been reconsidered. */
retryResolution?: AgentAutomationRetryResolution | null;
/** The category of the error. Absent for errors without a specific category, which default to unknown. */
errorType?: AiConversationErrorType | null;
/** The type of the part. */
type: AiConversationPartType;
/** The scope of the breached limit for usage-limit errors. Null for other error categories. */
usageLimitScope?: AgentAutomationUsageLimitScope | null;
}
/**
* An event part in an AI conversation.
*
* @param request - function to call the graphql client
* @param data - L.AiConversationEventPartFragment response data
*/
declare class AiConversationEventPart extends Request {
constructor(request: LinearRequest, data: AiConversationEventPartFragment);
/** The Markdown body of the event part. */
body: string;
/** The data of the event part. */
bodyData: Scalars["JSONObject"];
/** The ID of the part. */
id: string;
/** The ID of the subscription to resolve when this event is delivered. */
subscriptionId?: string | null;
/** The metadata of the part. */
metadata: AiConversationPartMetadata;
/** The type of the part. */
type: AiConversationPartType;
}
/**
* AiConversationGetMicrosoftTeamsConversationHistoryToolCall model
*
* @param request - function to call the graphql client
* @param data - L.AiConversationGetMicrosoftTeamsConversationHistoryToolCallFragment response data
*/
declare class AiConversationGetMicrosoftTeamsConversationHistoryToolCall extends Request {
constructor(request: LinearRequest, data: AiConversationGetMicrosoftTeamsConversationHistoryToolCallFragment);
/** The arguments of the tool call. */
rawArgs?: Record<string, unknown> | null;
/** The result of the tool call. */
rawResult?: Record<string, unknown> | null;
displayInfo: AiConversationToolDisplayInfo;
/** The name of the tool that was called. */
name: AiConversationTool;
}
/**
* AiConversationGetPullRequestCheckLogsToolCall model
*
* @param request - function to call the graphql client
* @param data - L.AiConversationGetPullRequestCheckLogsToolCallFragment response data
*/
declare class AiConversationGetPullRequestCheckLogsToolCall extends Request {
constructor(request: LinearRequest, data: AiConversationGetPullRequestCheckLogsToolCallFragment);
/** The arguments of the tool call. */
rawArgs?: Record<string, unknown> | null;
/** The result of the tool call. */
rawResult?: Record<string, unknown> | null;
/** The arguments to the tool call. */
args?: AiConversationGetPullRequestCheckLogsToolCallArgs | null;
displayInfo: AiConversationToolDisplayInfo;
/** The name of the tool that was called. */
name: AiConversationTool;
}
/**
* AiConversationGetPullRequestCheckLogsToolCallArgs model
*
* @param request - function to call the graphql client
* @param data - L.AiConversationGetPullRequestCheckLogsToolCallArgsFragment response data
*/
declare class AiConversationGetPullRequestCheckLogsToolCallArgs extends Request {
constructor(request: LinearRequest, data: AiConversationGetPullRequestCheckLogsToolCallArgsFragment);
checkName: string;
workflowName?: string | null;
entity: AiConversationSearchEntitiesToolCallResultEntities;
}
/**
* AiConversationGetPullRequestDiffToolCall model
*
* @param request - function to call the graphql client
* @param data - L.AiConversationGetPullRequestDiffToolCallFragment response data
*/
declare class AiConversationGetPullRequestDiffToolCall extends Request {
constructor(request: LinearRequest, data: AiConversationGetPullRequestDiffToolCallFragment);
/** The arguments of the tool call. */
rawArgs?: Record<string, unknown> | null;
/** The result of the tool call. */
rawResult?: Record<string, unknown> | null;
/** The arguments to the tool call. */
args?: AiConversationGetPullRequestDiffToolCallArgs | null;
displayInfo: AiConversationToolDisplayInfo;
/** The name of the tool that was called. */
name: AiConversationTool;
}
/**
* AiConversationGetPullRequestDiffToolCallArgs model
*
* @param request - function to call the graphql client
* @param data - L.AiConversationGetPullRequestDiffToolCallArgsFragment response data
*/
declare class AiConversationGetPullRequestDiffToolCallArgs extends Request {
constructor(request: LinearRequest, data: AiConversationGetPullRequestDiffToolCallArgsFragment);
entity: AiConversationSearchEntitiesToolCallResultEntities;
}
/**
* AiConversationGetPullRequestFileToolCall model
*
* @param request - function to call the graphql client
* @param data - L.AiConversationGetPullRequestFileToolCallFragment response data
*/
declare class AiConversationGetPullRequestFileToolCall extends Request {
constructor(request: LinearRequest, data: AiConversationGetPullRequestFileToolCallFragment);
/** The arguments of the tool call. */
rawArgs?: Record<string, unknown> | null;
/** The result of the tool call. */
rawResult?: Record<string, unknown> | null;
/** The arguments to the tool call. */
args?: AiConversationGetPullRequestFileToolCallArgs | null;
displayInfo: AiConversationToolDisplayInfo;
/** The name of the tool that was called. */
name: AiConversationTool;
}
/**
* AiConversationGetPullRequestFileToolCallArgs model
*
* @param request - function to call the graphql client
* @param data - L.AiConversationGetPullRequestFileToolCallArgsFragment response data
*/
declare class AiConversationGetPullRequestFileToolCallArgs extends Request {
constructor(request: LinearRequest, data: AiConversationGetPullRequestFileToolCallArgsFragment);
path: string;
entity: AiConversationSearchEntitiesToolCallResultEntities;
}
/**
* AiConversationGetSlackConversationHistoryToolCall model
*
* @param request - function to call the graphql client
* @param data - L.AiConversationGetSlackConversationHistoryToolCallFragment response data
*/
declare class AiConversationGetSlackConversationHistoryToolCall extends Request {
constructor(request: LinearRequest, data: AiConversationGetSlackConversationHistoryToolCallFragment);
/** The arguments of the tool call. */
rawArgs?: Record<string, unknown> | null;
/** The result of the tool call. */
rawResult?: Record<string, unknown> | null;
displayInfo: AiConversationToolDisplayInfo;
/** The name of the tool that was called. */
name: AiConversationTool;
}
/**
* AiConversationHandoffToCodingSessionToolCall model
*
* @param request - function to call the graphql client
* @param data - L.AiConversationHandoffToCodingSessionToolCallFragment response data
*/
declare class AiConversationHandoffToCodingSessionToolCall extends Request {
constructor(request: LinearRequest, data: AiConversationHandoffToCodingSessionToolCallFragment);
/** The arguments of the tool call. */
rawArgs?: Record<string, unknown> | null;
/** The result of the tool call. */
rawResult?: Record<string, unknown> | null;
/** The arguments to the tool call. */
args?: AiConversationHandoffToCodingSessionToolCallArgs | null;
displayInfo: AiConversationToolDisplayInfo;
/** The name of the tool that was called. */
name: AiConversationTool;
}
/**
* AiConversationHandoffToCodingSessionToolCallArgs model
*
* @param request - function to call the graphql client
* @param data - L.AiConversationHandoffToCodingSessionToolCallArgsFragment response data
*/
declare class AiConversationHandoffToCodingSessionToolCallArgs extends Request {
constructor(request: LinearRequest, data: AiConversationHandoffToCodingSessionToolCallArgsFragment);
instructions?: string | null;
entity: AiConversationSearchEntitiesToolCallResultEntities;
}
/**
* AiConversationInvokeMcpToolToolCall model
*
* @param request - function to call the graphql client
* @param data - L.AiConversationInvokeMcpToolToolCallFragment response data
*/
declare class AiConversationInvokeMcpToolToolCall extends Request {
constructor(request: LinearRequest, data: AiConversationInvokeMcpToolToolCallFragment);
/** The arguments of the tool call. */
rawArgs?: Record<string, unknown> | null;
/** The result of the tool call. */
rawResult?: Record<string, unknown> | null;
/** The arguments to the tool call. */
args?: AiConversationInvokeMcpToolToolCallArgs | null;
displayInfo: AiConversationToolDisplayInfo;
/** The name of the tool that was called. */
name: AiConversationTool;
}
/**
* AiConversationInvokeMcpToolToolCallArgs model
*
* @param request - function to call the graphql client
* @param data - L.AiConversationInvokeMcpToolToolCallArgsFragment response data
*/
declare class AiConversationInvokeMcpToolToolCallArgs extends Request {
constructor(request: LinearRequest, data: AiConversationInvokeMcpToolToolCallArgsFragment);
server: AiConversationInvokeMcpToolToolCallArgsServer;
tool: AiConversationInvokeMcpToolToolCallArgsTool;
}
/**
* AiConversationInvokeMcpToolToolCallArgsServer model
*
* @param request - function to call the graphql client
* @param data - L.AiConversationInvokeMcpToolToolCallArgsServerFragment response data
*/
declare class AiConversationInvokeMcpToolToolCallArgsServer extends Request {
constructor(request: LinearRequest, data: AiConversationInvokeMcpToolToolCallArgsServerFragment);
integrationId: string;
name: string;
title?: string | null;
}
/**
* AiConversationInvokeMcpToolToolCallArgsTool model
*
* @param request - function to call the graphql client
* @param data - L.AiConversationInvokeMcpToolToolCallArgsToolFragment response data
*/
declare class AiConversationInvokeMcpToolToolCallArgsTool extends Request {
constructor(request: LinearRequest, data: AiConversationInvokeMcpToolToolCallArgsToolFragment);
name: string;
title?: string | null;
}
/**
* AiConversationListCodingSessionsToolCall model
*
* @param request - function to call the graphql client
* @param data - L.AiConversationListCodingSessionsToolCallFragment response data
*/
declare class AiConversationListCodingSessionsToolCall extends Request {
constructor(request: LinearRequest, data: AiConversationListCodingSessionsToolCallFragment);
/** The arguments of the tool call. */
rawArgs?: Record<string, unknown> | null;
/** The result of the tool call. */
rawResult?: Record<string, unknown> | null;
/** The arguments to the tool call. */
args?: AiConversationListCodingSessionsToolCallArgs | null;
displayInfo: AiConversationToolDisplayInfo;
/** The result of the tool call. */
result?: AiConversationListCodingSessionsToolCallResult | null;
/** The name of the tool that was called. */
name: AiConversationTool;
}
/**
* AiConversationListCodingSessionsToolCallArgs model
*
* @param request - function to call the graphql client
* @param data - L.AiConversationListCodingSessionsToolCallArgsFragment response data
*/
declare class AiConversationListCodingSessionsToolCallArgs extends Request {
constructor(request: LinearRequest, data: AiConversationListCodingSessionsToolCallArgsFragment);
includeDismissed?: boolean | null;
}
/**
* AiConversationListCodingSessionsToolCallResult model
*
* @param request - function to call the graphql client
* @param data - L.AiConversationListCodingSessionsToolCallResultFragment response data
*/
declare class AiConversationListCodingSessionsToolCallResult extends Request {
constructor(request: LinearRequest, data: AiConversationListCodingSessionsToolCallResultFragment);
agentSessions: AiConversationListCodingSessionsToolCallResultAgentSessions[];
entities?: AiConversationSearchEntitiesToolCallResultEntities[] | null;
}
/**
* AiConversationListCodingSessionsToolCallResultAgentSessions model
*
* @param request - function to call the graphql client
* @param data - L.AiConversationListCodingSessionsToolCallResultAgentSessionsFragment response data
*/
declare class AiConversationListCodingSessionsToolCallResultAgentSessions extends Request {
constructor(request: LinearRequest, data: AiConversationListCodingSessionsToolCallResultAgentSessionsFragment);
id: string;
type: string;
pullRequests?: AiConversationSearchEntitiesToolCallResultEntities[] | null;
}
/**
* AiConversationNavigateToPageToolCall model
*
* @param request - function to call the graphql client
* @param data - L.AiConversationNavigateToPageToolCallFragment response data
*/
declare class AiConversationNavigateToPageToolCall extends Request {
constructor(request: LinearRequest, data: AiConversationNavigateToPageToolCallFragment);
/** The arguments of the tool call. */
rawArgs?: Record<string, unknown> | null;
/** The result of the tool call. */
rawResult?: Record<string, unknown> | null;
/** The arguments to the tool call. */
args?: AiConversationNavigateToPageToolCallArgs | null;
displayInfo: AiConversationToolDisplayInfo;
/** The result of the tool call. */
result?: AiConversationNavigateToPageToolCallResult | null;
/** The name of the tool that was called. */
name: AiConversationTool;
}
/**
* AiConversationNavigateToPageToolCallArgs model
*
* @param request - function to call the graphql client
* @param data - L.AiConversationNavigateToPageToolCallArgsFragment response data
*/
declare class AiConversationNavigateToPageToolCallArgs extends Request {
constructor(request: LinearRequest, data: AiConversationNavigateToPageToolCallArgsFragment);
entities: AiConversationNavigateToPageToolCallArgsEntities[];
}
/**
* AiConversationNavigateToPageToolCallArgsEntities model
*
* @param request - function to call the graphql client
* @param data - L.AiConversationNavigateToPageToolCallArgsEntitiesFragment response data
*/
declare class AiConversationNavigateToPageToolCallArgsEntities extends Request {
constructor(request: LinearRequest, data: AiConversationNavigateToPageToolCallArgsEntitiesFragment);
entityType: string;
uuid: string;
}
/**
* AiConversationNavigateToPageToolCallResult model
*
* @param request - function to call the graphql client
* @param data - L.AiConversationNavigateToPageToolCallResultFragment response data
*/
declare class AiConversationNavigateToPageToolCallResult extends Request {
constructor(request: LinearRequest, data: AiConversationNavigateToPageToolCallResultFragment);
urls: string[];
}
/**
* AiConversationNotifyUsersToolCall model
*
* @param request - function to call the graphql client
* @param data - L.AiConversationNotifyUsersToolCallFragment response data
*/
declare class AiConversationNotifyUsersToolCall extends Request {
constructor(request: LinearRequest, data: AiConversationNotifyUsersToolCallFragment);
/** The arguments of the tool call. */
rawArgs?: Record<string, unknown> | null;
/** The result of the tool call. */
rawResult?: Record<string, unknown> | null;
/** The arguments to the tool call. */
args?: AiConversationNotifyUsersToolCallArgs | null;
displayInfo: AiConversationToolDisplayInfo;
/** The name of the tool that was called. */
name: AiConversationTool;
}
/**
* AiConversationNotifyUsersToolCallArgs model
*
* @param request - function to call the graphql client
* @param data - L.AiConversationNotifyUsersToolCallArgsFragment response data
*/
declare class AiConversationNotifyUsersToolCallArgs extends Request {
constructor(request: LinearRequest, data: AiConversationNotifyUsersToolCallArgsFragment);
summary?: string | null;
userIds: string[];
}
/**
* Metadata about a part in an AI conversation.
*
* @param request - function to call the graphql client
* @param data - L.AiConversationPartMetadataFragment response data
*/
declare class AiConversationPartMetadata extends Request {
constructor(request: LinearRequest, data: AiConversationPartMetadataFragment);
/** The time when the part ended, as an ISO 8601 string. */
endedAt?: string | null;
/** The eval log ID of the part. */
evalLogId?: string | null;
/** AI feedback state for this part. */
feedback?: Scalars["JSONObject"] | null;
/** The time when the part started, as an ISO 8601 string. */
startedAt?: string | null;
/** The turn ID of the part. */
turnId: string;
/** The phase during which the part was generated. */
phase?: AiConversationPartPhase | null;
}
/**
* AiConversationPromptCodingSessionToolCall model
*
* @param request - function to call the graphql client
* @param data - L.AiConversationPromptCodingSessionToolCallFragment response data
*/
declare class AiConversationPromptCodingSessionToolCall extends Request {
constructor(request: LinearRequest, data: AiConversationPromptCodingSessionToolCallFragment);
/** The arguments of the tool call. */
rawArgs?: Record<string, unknown> | null;
/** The result of the tool call. */
rawResult?: Record<string, unknown> | null;
/** The arguments to the tool call. */
args?: AiConversationPromptCodingSessionToolCallArgs | null;
displayInfo: AiConversationToolDisplayInfo;
/** The result of the tool call. */
result?: AiConversationPromptCodingSessionToolCallResult | null;
/** The name of the tool that was called. */
name: AiConversationTool;
}
/**
* AiConversationPromptCodingSessionToolCallArgs model
*
* @param request - function to call the graphql client
* @param data - L.AiConversationPromptCodingSessionToolCallArgsFragment response data
*/
declare class AiConversationPromptCodingSessionToolCallArgs extends Request {
constructor(request: LinearRequest, data: AiConversationPromptCodingSessionToolCallArgsFragment);
prompt: string;
queued?: boolean | null;
}
/**
* AiConversationPromptCodingSessionToolCallResult model
*
* @param request - function to call the graphql client
* @param data - L.AiConversationPromptCodingSessionToolCallResultFragment response data
*/
declare class AiConversationPromptCodingSessionToolCallResult extends Request {
constructor(request: LinearRequest, data: AiConversationPromptCodingSessionToolCallResultFragment);
entities?: AiConversationSearchEntitiesToolCallResultEntities[] | null;
pullRequests?: AiConversationSearchEntitiesToolCallResultEntities[] | null;
agentSession: AiConversationSearchEntitiesToolCallResultEntities;
}
/**
* A prompt part in an AI conversation.
*
* @param request - function to call the graphql client
* @param data - L.AiConversationPromptPartFragment response data
*/
declare class AiConversationPromptPart extends Request {
private _user?;
constructor(request: LinearRequest, data: AiConversationPromptPartFragment);
/** The Markdown body of the prompt part. */
body: string;
/** The data of the prompt part. */
bodyData: Scalars["JSONObject"];
/** The ID of the part. */
id: string;
/** The metadata of the part. */
metadata: AiConversationPartMetadata;
/** The type of the part. */
type: AiConversationPartType;
/** The user who created the prompt part. */
get user(): LinearFetch<User> | undefined;
/** The ID of user who created the prompt part. */
get userId(): string | undefined;
}
/**
* AiConversationQueryActivityToolCall model
*
* @param request - function to call the graphql client
* @param data - L.AiConversationQueryActivityToolCallFragment response data
*/
declare class AiConversationQueryActivityToolCall extends Request {
constructor(request: LinearRequest, data: AiConversationQueryActivityToolCallFragment);
/** The arguments of the tool call. */
rawArgs?: Record<string, unknown> | null;
/** The result of the tool call. */
rawResult?: Record<string, unknown> | null;
/** The arguments to the tool call. */
args?: AiConversationQueryActivityToolCallArgs | null;
displayInfo: AiConversationToolDisplayInfo;
/** The name of the tool that was called. */
name: AiConversationTool;
}
/**
* AiConversationQueryActivityToolCallArgs model
*
* @param request - function to call the graphql client
* @param data - L.AiConversationQueryActivityToolCallArgsFragment response data
*/
declare class AiConversationQueryActivityToolCallArgs extends Request {
constructor(request: LinearRequest, data: AiConversationQueryActivityToolCallArgsFragment);
entities?: AiConversationSearchEntitiesToolCallResultEntities[] | null;
}
/**
* AiConversationQueryUpdatesToolCall model
*
* @param request - function to call the graphql client
* @param data - L.AiConversationQueryUpdatesToolCallFragment response data
*/
declare class AiConversationQueryUpdatesToolCall extends Request {
constructor(request: LinearRequest, data: AiConversationQueryUpdatesToolCallFragment);
/** The arguments of the tool call. */
rawArgs?: Record<string, unknown> | null;
/** The result of the tool call. */
rawResult?: Record<string, unknown> | null;
/** The arguments to the tool call. */
args?: AiConversationQueryUpdatesToolCallArgs | null;
displayInfo: AiConversationToolDisplayInfo;
/** The name of the tool that was called. */
name: AiConversationTool;
}
/**
* AiConversationQueryUpdatesToolCallArgs model
*
* @param request - function to call the graphql client
* @param data - L.AiConversationQueryUpdatesToolCallArgsFragment response data
*/
declare class AiConversationQueryUpdatesToolCallArgs extends Request {
constructor(request: LinearRequest, data: AiConversationQueryUpdatesToolCallArgsFragment);
entity?: AiConversationSearchEntitiesToolCallResultEntities | null;
updateType: AiConversationQueryUpdatesToolCallArgsUpdateType;
}
/**
* AiConversationQueryViewToolCall model
*
* @param request - function to call the graphql client
* @param data - L.AiConversationQueryViewToolCallFragment response data
*/
declare class AiConversationQueryViewToolCall extends Request {
constructor(request: LinearRequest, data: AiConversationQueryViewToolCallFragment);
/** The arguments of the tool call. */
rawArgs?: Record<string, unknown> | null;
/** The result of the tool call. */
rawResult?: Record<string, unknown> | null;
/** The arguments to the tool call. */
args?: AiConversationQueryViewToolCallArgs | null;
displayInfo: AiConversationToolDisplayInfo;
/** The name of the tool that was called. */
name: AiConversationTool;
}
/**
* AiConversationQueryViewToolCallArgs model
*
* @param request - function to call the graphql client
* @param data - L.AiConversationQueryViewToolCallArgsFragment response data
*/
declare class AiConversationQueryViewToolCallArgs extends Request {
constructor(request: LinearRequest, data: AiConversationQueryViewToolCallArgsFragment);
filter?: string | null;
view: AiConversationQueryViewToolCallArgsView;
mode: AiConversationQueryViewToolCallArgsMode;
}
/**
* AiConversationQueryViewToolCallArgsView model
*
* @param request - function to call the graphql client
* @param data - L.AiConversationQueryViewToolCallArgsViewFragment response data
*/
declare class AiConversationQueryViewToolCallArgsView extends Request {
constructor(request: LinearRequest, data: AiConversationQueryViewToolCallArgsViewFragment);
predefinedView?: string | null;
type: string;
group?: AiConversationSearchEntitiesToolCallResultEntities | null;
}
/**
* AiConversationReadFileToolCall model
*
* @param request - function to call the graphql client
* @param data - L.AiConversationReadFileToolCallFragment response data
*/
declare class AiConversationReadFileToolCall extends Request {
constructor(request: LinearRequest, data: AiConversationReadFileToolCallFragment);
/** The arguments of the tool call. */
rawArgs?: Record<string, unknown> | null;
/** The result of the tool call. */
rawResult?: Record<string, unknown> | null;
/** The arguments to the tool call. */
args?: AiConversationReadFileToolCallArgs | null;
displayInfo: AiConversationToolDisplayInfo;
/** The name of the tool that was called. */
name: AiConversationTool;
}
/**
* AiConversationReadFileToolCallArgs model
*
* @param request - function to call the graphql client
* @param data - L.AiConversationReadFileToolCallArgsFragment response data
*/
declare class AiConversationReadFileToolCallArgs extends Request {
constructor(request: LinearRequest, data: AiConversationReadFileToolCallArgsFragment);
assetUrl?: string | null;
name?: string | null;
query?: string | null;
mode?: AiConversationReadFileToolCallArgsMode | null;
}
/**
* AiConversationReadSandboxFileToolCall model
*
* @param request - function to call the graphql client
* @param data - L.AiConversationReadSandboxFileToolCallFragment response data
*/
declare class AiConversationReadSandboxFileToolCall extends Request {
constructor(request: LinearRequest, data: AiConversationReadSandboxFileToolCallFragment);
/** The arguments of the tool call. */
rawArgs?: Record<string, unknown> | null;
/** The result of the tool call. */
rawResult?: Record<string, unknown> | null;
/** The arguments to the tool call. */
args?: AiConversationReadSandboxFileToolCallArgs | null;
displayInfo: AiConversationToolDisplayInfo;
/** The name of the tool that was called. */
name: AiConversationTool;
}
/**
* AiConversationReadSandboxFileToolCallArgs model
*
* @param request - function to call the graphql client
* @param data - L.AiConversationReadSandboxFileToolCallArgsFragment response data
*/
declare class AiConversationReadSandboxFileToolCallArgs extends Request {
constructor(request: LinearRequest, data: AiConversationReadSandboxFileToolCallArgsFragment);
path: string;
}
/**
* A reasoning part in an AI conversation.
*
* @param request - function to call the graphql client
* @param data - L.AiConversationReasoningPartFragment response data
*/
declare class AiConversationReasoningPart extends Request {
constructor(request: LinearRequest, data: AiConversationReasoningPartFragment);
/** The Markdown body of the reasoning part. */
body: string;
/** The data of the reasoning part. */
bodyData: Scalars["JSONObject"];
/** The ID of the part. */
id: string;
/** The title of the reasoning part. */
title?: string | null;
/** The metadata of the part. */
metadata: AiConversationPartMetadata;
/** The type of the part. */
type: AiConversationPartType;
}
/**
* AiConversationRemoveSpendLimitToolCall model
*
* @param request - function to call the graphql client
* @param data - L.AiConversationRemoveSpendLimitToolCallFragment response data
*/
declare class AiConversationRemoveSpendLimitToolCall extends Request {
constructor(request: LinearRequest, data: AiConversationRemoveSpendLimitToolCallFragment);
/** The arguments of the tool call. */
rawArgs?: Record<string, unknown> | null;
/** The result of the tool call. */
rawResult?: Record<string, unknown> | null;
/** The arguments to the tool call. */
args?: AiConversationRemoveSpendLimitToolCallArgs | null;
displayInfo: AiConversationToolDisplayInfo;
/** The name of the tool that was called. */
name: AiConversationTool;
}
/**
* AiConversationRemoveSpendLimitToolCallArgs model
*
* @param request - function to call the graphql client
* @param data - L.AiConversationRemoveSpendLimitToolCallArgsFragment response data
*/
declare class AiConversationRemoveSpendLimitToolCallArgs extends Request {
constructor(request: LinearRequest, data: AiConversationRemoveSpendLimitToolCallArgsFragment);
summary?: string | null;
}
/**
* AiConversationResearchToolCall model
*
* @param request - function to call the graphql client
* @param data - L.AiConversationResearchToolCallFragment response data
*/
declare class AiConversationResearchToolCall extends Request {
constructor(request: LinearRequest, data: AiConversationResearchToolCallFragment);
/** The arguments of the tool call. */
rawArgs?: Record<string, unknown> | null;
/** The result of the tool call. */
rawResult?: Record<string, unknown> | null;
/** The arguments to the tool call. */
args?: AiConversationResearchToolCallArgs | null;
displayInfo: AiConversationToolDisplayInfo;
/** The result of the tool call. */
result?: AiConversationResearchToolCallResult | null;
/** The name of the tool that was called. */
name: AiConversationTool;
}
/**
* AiConversationResearchToolCallArgs model
*
* @param request - function to call the graphql client
* @param data - L.AiConversationResearchToolCallArgsFragment response data
*/
declare class AiConversationResearchToolCallArgs extends Request {
constructor(request: LinearRequest, data: AiConversationResearchToolCallArgsFragment);
context: string;
query: string;
subjects?: AiConversationSearchEntitiesToolCallResultEntities[] | null;
}
/**
* AiConversationResearchToolCallResult model
*
* @param request - function to call the graphql client
* @param data - L.AiConversationResearchToolCallResultFragment response data
*/
declare class AiConversationResearchToolCallResult extends Request {
constructor(request: LinearRequest, data: AiConversationResearchToolCallResultFragment);
progressId?: string | null;
}
/**
* AiConversationRestoreEntityToolCall model
*
* @param request - function to call the graphql client
* @param data - L.AiConversationRestoreEntityToolCallFragment response data
*/
declare class AiConversationRestoreEntityToolCall extends Request {
constructor(request: LinearRequest, data: AiConversationRestoreEntityToolCallFragment);
/** The arguments of the tool call. */
rawArgs?: Record<string, unknown> | null;
/** The result of the tool call. */
rawResult?: Record<string, unknown> | null;
/** The arguments to the tool call. */
args?: AiConversationRestoreEntityToolCallArgs | null;
displayInfo: AiConversationToolDisplayInfo;
/** The name of the tool that was called. */
name: AiConversationTool;
}
/**
* AiConversationRestoreEntityToolCallArgs model
*
* @param request - function to call the graphql client
* @param data - L.AiConversationRestoreEntityToolCallArgsFragment response data
*/
declare class AiConversationRestoreEntityToolCallArgs extends Request {
constructor(request: LinearRequest, data: AiConversationRestoreEntityToolCallArgsFragment);
entity: AiConversationSearchEntitiesToolCallResultEntities;
}
/**
* AiConversationRetrieveEntitiesToolCall model
*
* @param request - function to call the graphql client
* @param data - L.AiConversationRetrieveEntitiesToolCallFragment response data
*/
declare class AiConversationRetrieveEntitiesToolCall extends Request {
constructor(request: LinearRequest, data: AiConversationRetrieveEntitiesToolCallFragment);
/** The arguments of the tool call. */
rawArgs?: Record<string, unknown> | null;
/** The result of the tool call. */
rawResult?: Record<string, unknown> | null;
/** The arguments to the tool call. */
args?: AiConversationRetrieveEntitiesToolCallArgs | null;
displayInfo: AiConversationToolDisplayInfo;
/** The name of the tool that was called. */
name: AiConversationTool;
}
/**
* AiConversationRetrieveEntitiesToolCallArgs model
*
* @param request - function to call the graphql client
* @param data - L.AiConversationRetrieveEntitiesToolCallArgsFragment response data
*/
declare class AiConversationRetrieveEntitiesToolCallArgs extends Request {
constructor(request: LinearRequest, data: AiConversationRetrieveEntitiesToolCallArgsFragment);
entities: AiConversationSearchEntitiesToolCallResultEntities[];
}
/**
* AiConversationRetryPullRequestCheckToolCall model
*
* @param request - function to call the graphql client
* @param data - L.AiConversationRetryPullRequestCheckToolCallFragment response data
*/
declare class AiConversationRetryPullRequestCheckToolCall extends Request {
constructor(request: LinearRequest, data: AiConversationRetryPullRequestCheckToolCallFragment);
/** The arguments of the tool call. */
rawArgs?: Record<string, unknown> | null;
/** The result of the tool call. */
rawResult?: Record<string, unknown> | null;
/** The arguments to the tool call. */
args?: AiConversationRetryPullRequestCheckToolCallArgs | null;
displayInfo: AiConversationToolDisplayInfo;
/** The name of the tool that was called. */
name: AiConversationTool;
}
/**
* AiConversationRetryPullRequestCheckToolCallArgs model
*
* @param request - function to call the graphql client
* @param data - L.AiConversationRetryPullRequestCheckToolCallArgsFragment response data
*/
declare class AiConversationRetryPullRequestCheckToolCallArgs extends Request {
constructor(request: LinearRequest, data: AiConversationRetryPullRequestCheckToolCallArgsFragment);
checkName: string;
workflowName?: string | null;
entity: AiConversationSearchEntitiesToolCallResultEntities;
}
/**
* AiConversationSearchDocumentationToolCall model
*
* @param request - function to call the graphql client
* @param data - L.AiConversationSearchDocumentationToolCallFragment response data
*/
declare class AiConversationSearchDocumentationToolCall extends Request {
constructor(request: LinearRequest, data: AiConversationSearchDocumentationToolCallFragment);
/** The arguments of the tool call. */
rawArgs?: Record<string, unknown> | null;
/** The result of the tool call. */
rawResult?: Record<string, unknown> | null;
displayInfo: AiConversationToolDisplayInfo;
/** The name of the tool that was called. */
name: AiConversationTool;
}
/**
* AiConversationSearchEntitiesToolCall model
*
* @param request - function to call the graphql client
* @param data - L.AiConversationSearchEntitiesToolCallFragment response data
*/
declare class AiConversationSearchEntitiesToolCall extends Request {
constructor(request: LinearRequest, data: AiConversationSearchEntitiesToolCallFragment);
/** The arguments of the tool call. */
rawArgs?: Record<string, unknown> | null;
/** The result of the tool call. */
rawResult?: Record<string, unknown> | null;
/** The arguments to the tool call. */
args?: AiConversationSearchEntitiesToolCallArgs | null;
displayInfo: AiConversationToolDisplayInfo;
/** The result of the tool call. */
result?: AiConversationSearchEntitiesToolCallResult | null;
/** The name of the tool that was called. */
name: AiConversationTool;
}
/**
* AiConversationSearchEntitiesToolCallArgs model
*
* @param request - function to call the graphql client
* @param data - L.AiConversationSearchEntitiesToolCallArgsFragment response data
*/
declare class AiConversationSearchEntitiesToolCallArgs extends Request {
constructor(request: LinearRequest, data: AiConversationSearchEntitiesToolCallArgsFragment);
queries: string[];
type?: string | null;
}
/**
* AiConversationSearchEntitiesToolCallResult model
*
* @param request - function to call the graphql client
* @param data - L.AiConversationSearchEntitiesToolCallResultFragment response data
*/
declare class AiConversationSearchEntitiesToolCallResult extends Request {
constructor(request: LinearRequest, data: AiConversationSearchEntitiesToolCallResultFragment);
entities: AiConversationSearchEntitiesToolCallResultEntities[];
}
/**
* AiConversationSearchEntitiesToolCallResultEntities model
*
* @param request - function to call the graphql client
* @param data - L.AiConversationSearchEntitiesToolCallResultEntitiesFragment response data
*/
declare class AiConversationSearchEntitiesToolCallResultEntities extends Request {
constructor(request: LinearRequest, data: AiConversationSearchEntitiesToolCallResultEntitiesFragment);
id: string;
type: string;
}
/**
* AiConversationSetSpendLimitToolCall model
*
* @param request - function to call the graphql client
* @param data - L.AiConversationSetSpendLimitToolCallFragment response data
*/
declare class AiConversationSetSpendLimitToolCall extends Request {
constructor(request: LinearRequest, data: AiConversationSetSpendLimitToolCallFragment);
/** The arguments of the tool call. */
rawArgs?: Record<string, unknown> | null;
/** The result of the tool call. */
rawResult?: Record<string, unknown> | null;
/** The arguments to the tool call. */
args?: AiConversationSetSpendLimitToolCallArgs | null;
displayInfo: AiConversationToolDisplayInfo;
/** The name of the tool that was called. */
name: AiConversationTool;
}
/**
* AiConversationSetSpendLimitToolCallArgs model
*
* @param request - function to call the graphql client
* @param data - L.AiConversationSetSpendLimitToolCallArgsFragment response data
*/
declare class AiConversationSetSpendLimitToolCallArgs extends Request {
constructor(request: LinearRequest, data: AiConversationSetSpendLimitToolCallArgsFragment);
summary?: string | null;
}
/**
* AiConversationSpawnSubagentToolCall model
*
* @param request - function to call the graphql client
* @param data - L.AiConversationSpawnSubagentToolCallFragment response data
*/
declare class AiConversationSpawnSubagentToolCall extends Request {
constructor(request: LinearRequest, data: AiConversationSpawnSubagentToolCallFragment);
/** The arguments of the tool call. */
rawArgs?: Record<string, unknown> | null;
/** The result of the tool call. */
rawResult?: Record<string, unknown> | null;
/** The arguments to the tool call. */
args?: AiConversationSpawnSubagentToolCallArgs | null;
displayInfo: AiConversationToolDisplayInfo;
/** The result of the tool call. */
result?: AiConversationSpawnSubagentToolCallResult | null;
/** The name of the tool that was called. */
name: AiConversationTool;
}
/**
* AiConversationSpawnSubagentToolCallArgs model
*
* @param request - function to call the graphql client
* @param data - L.AiConversationSpawnSubagentToolCallArgsFragment response data
*/
declare class AiConversationSpawnSubagentToolCallArgs extends Request {
constructor(request: LinearRequest, data: AiConversationSpawnSubagentToolCallArgsFragment);
description: string;
}
/**
* AiConversationSpawnSubagentToolCallResult model
*
* @param request - function to call the graphql client
* @param data - L.AiConversationSpawnSubagentToolCallResultFragment response data
*/
declare class AiConversationSpawnSubagentToolCallResult extends Request {
constructor(request: LinearRequest, data: AiConversationSpawnSubagentToolCallResultFragment);
conversationId: string;
}
/**
* AiConversationStartCodingSessionToolCall model
*
* @param request - function to call the graphql client
* @param data - L.AiConversationStartCodingSessionToolCallFragment response data
*/
declare class AiConversationStartCodingSessionToolCall extends Request {
constructor(request: LinearRequest, data: AiConversationStartCodingSessionToolCallFragment);
/** The arguments of the tool call. */
rawArgs?: Record<string, unknown> | null;
/** The result of the tool call. */
rawResult?: Record<string, unknown> | null;
/** The arguments to the tool call. */
args?: AiConversationStartCodingSessionToolCallArgs | null;
displayInfo: AiConversationToolDisplayInfo;
/** The result of the tool call. */
result?: AiConversationStartCodingSessionToolCallResult | null;
/** The name of the tool that was called. */
name: AiConversationTool;
}
/**
* AiConversationStartCodingSessionToolCallArgs model
*
* @param request - function to call the graphql client
* @param data - L.AiConversationStartCodingSessionToolCallArgsFragment response data
*/
declare class AiConversationStartCodingSessionToolCallArgs extends Request {
constructor(request: LinearRequest, data: AiConversationStartCodingSessionToolCallArgsFragment);
prompt: string;
}
/**
* AiConversationStartCodingSessionToolCallResult model
*
* @param request - function to call the graphql client
* @param data - L.AiConversationStartCodingSessionToolCallResultFragment response data
*/
declare class AiConversationStartCodingSessionToolCallResult extends Request {
constructor(request: LinearRequest, data: AiConversationStartCodingSessionToolCallResultFragment);
entities?: AiConversationSearchEntitiesToolCallResultEntities[] | null;
pullRequests?: AiConversationSearchEntitiesToolCallResultEntities[] | null;
agentSession: AiConversationSearchEntitiesToolCallResultEntities;
}
/**
* AiConversationSubscribeToEventToolCall model
*
* @param request - function to call the graphql client
* @param data - L.AiConversationSubscribeToEventToolCallFragment response data
*/
declare class AiConversationSubscribeToEventToolCall extends Request {
constructor(request: LinearRequest, data: AiConversationSubscribeToEventToolCallFragment);
/** The arguments of the tool call. */
rawArgs?: Record<string, unknown> | null;
/** The result of the tool call. */
rawResult?: Record<string, unknown> | null;
/** The arguments to the tool call. */
args?: AiConversationSubscribeToEventToolCallArgs | null;
displayInfo: AiConversationToolDisplayInfo;
/** The name of the tool that was called. */
name: AiConversationTool;
}
/**
* AiConversationSubscribeToEventToolCallArgs model
*
* @param request - function to call the graphql client
* @param data - L.AiConversationSubscribeToEventToolCallArgsFragment response data
*/
declare class AiConversationSubscribeToEventToolCallArgs extends Request {
constructor(request: LinearRequest, data: AiConversationSubscribeToEventToolCallArgsFragment);
endsAt?: string | null;
message?: string | null;
subscriptionId?: string | null;
kind?: AiConversationSubscribeToEventToolCallArgsKind | null;
type: AiConversationSubscribeToEventToolCallArgsType;
}
/**
* AiConversationSuggestRepositoryToolCall model
*
* @param request - function to call the graphql client
* @param data - L.AiConversationSuggestRepositoryToolCallFragment response data
*/
declare class AiConversationSuggestRepositoryToolCall extends Request {
constructor(request: LinearRequest, data: AiConversationSuggestRepositoryToolCallFragment);
/** The arguments of the tool call. */
rawArgs?: Record<string, unknown> | null;
/** The result of the tool call. */
rawResult?: Record<string, unknown> | null;
displayInfo: AiConversationToolDisplayInfo;
/** The name of the tool that was called. */
name: AiConversationTool;
}
/**
* AiConversationSuggestValuesToolCall model
*
* @param request - function to call the graphql client
* @param data - L.AiConversationSuggestValuesToolCallFragment response data
*/
declare class AiConversationSuggestValuesToolCall extends Request {
constructor(request: LinearRequest, data: AiConversationSuggestValuesToolCallFragment);
/** The arguments of the tool call. */
rawArgs?: Record<string, unknown> | null;
/** The result of the tool call. */
rawResult?: Record<string, unknown> | null;
/** The arguments to the tool call. */
args?: AiConversationSuggestValuesToolCallArgs | null;
displayInfo: AiConversationToolDisplayInfo;
/** The name of the tool that was called. */
name: AiConversationTool;
}
/**
* AiConversationSuggestValuesToolCallArgs model
*
* @param request - function to call the graphql client
* @param data - L.AiConversationSuggestValuesToolCallArgsFragment response data
*/
declare class AiConversationSuggestValuesToolCallArgs extends Request {
constructor(request: LinearRequest, data: AiConversationSuggestValuesToolCallArgsFragment);
field: string;
query?: string | null;
}
/**
* A text part in an AI conversation.
*
* @param request - function to call the graphql client
* @param data - L.AiConversationTextPartFragment response data
*/
declare class AiConversationTextPart extends Request {
constructor(request: LinearRequest, data: AiConversationTextPartFragment);
/** The Markdown body of the text part. */
body: string;
/** The data of the text part. */
bodyData: Scalars["JSONObject"];
/** The ID of the part. */
id: string;
/** The metadata of the part. */
metadata: AiConversationPartMetadata;
/** The type of the part. */
type: AiConversationPartType;
}
/**
* A tool call part in an AI conversation.
*
* @param request - function to call the graphql client
* @param data - L.AiConversationToolCallPartFragment response data
*/
declare class AiConversationToolCallPart extends Request {
constructor(request: LinearRequest, data: AiConversationToolCallPartFragment);
/** The ID of the part. */
id: string;
/** The metadata of the part. */
metadata: AiConversationPartMetadata;
/** The type of the part. */
type: AiConversationPartType;
/** The tool call part. */
toolCall: AiConversationToolCallPartFragment["toolCall"];
}
/**
* AiConversationToolDisplayInfo model
*
* @param request - function to call the graphql client
* @param data - L.AiConversationToolDisplayInfoFragment response data
*/
declare class AiConversationToolDisplayInfo extends Request {
constructor(request: LinearRequest, data: AiConversationToolDisplayInfoFragment);
activeLabel: string;
detail?: string | null;
icon: string;
inactiveLabel: string;
result?: string | null;
}
/**
* AiConversationTranscribeMediaToolCall model
*
* @param request - function to call the graphql client
* @param data - L.AiConversationTranscribeMediaToolCallFragment response data
*/
declare class AiConversationTranscribeMediaToolCall extends Request {
constructor(request: LinearRequest, data: AiConversationTranscribeMediaToolCallFragment);
/** The arguments of the tool call. */
rawArgs?: Record<string, unknown> | null;
/** The result of the tool call. */
rawResult?: Record<string, unknown> | null;
displayInfo: AiConversationToolDisplayInfo;
/** The name of the tool that was called. */
name: AiConversationTool;
}
/**
* AiConversationTranscribeVideoToolCall model
*
* @param request - function to call the graphql client
* @param data - L.AiConversationTranscribeVideoToolCallFragment response data
*/
declare class AiConversationTranscribeVideoToolCall extends Request {
constructor(request: LinearRequest, data: AiConversationTranscribeVideoToolCallFragment);
/** The arguments of the tool call. */
rawArgs?: Record<string, unknown> | null;
/** The result of the tool call. */
rawResult?: Record<string, unknown> | null;
displayInfo: AiConversationToolDisplayInfo;
/** The name of the tool that was called. */
name: AiConversationTool;
}
/**
* AiConversationUnsubscribeFromEventToolCall model
*
* @param request - function to call the graphql client
* @param data - L.AiConversationUnsubscribeFromEventToolCallFragment response data
*/
declare class AiConversationUnsubscribeFromEventToolCall extends Request {
constructor(request: LinearRequest, data: AiConversationUnsubscribeFromEventToolCallFragment);
/** The arguments of the tool call. */
rawArgs?: Record<string, unknown> | null;
/** The result of the tool call. */
rawResult?: Record<string, unknown> | null;
/** The arguments to the tool call. */
args?: AiConversationUnsubscribeFromEventToolCallArgs | null;
displayInfo: AiConversationToolDisplayInfo;
/** The name of the tool that was called. */
name: AiConversationTool;
}
/**
* AiConversationUnsubscribeFromEventToolCallArgs model
*
* @param request - function to call the graphql client
* @param data - L.AiConversationUnsubscribeFromEventToolCallArgsFragment response data
*/
declare class AiConversationUnsubscribeFromEventToolCallArgs extends Request {
constructor(request: LinearRequest, data: AiConversationUnsubscribeFromEventToolCallArgsFragment);
message?: string | null;
subscriptionId: string;
}
/**
* AiConversationUpdateEntityToolCall model
*
* @param request - function to call the graphql client
* @param data - L.AiConversationUpdateEntityToolCallFragment response data
*/
declare class AiConversationUpdateEntityToolCall extends Request {
constructor(request: LinearRequest, data: AiConversationUpdateEntityToolCallFragment);
/** The arguments of the tool call. */
rawArgs?: Record<string, unknown> | null;
/** The result of the tool call. */
rawResult?: Record<string, unknown> | null;
/** The arguments to the tool call. */
args?: AiConversationUpdateEntityToolCallArgs | null;
displayInfo: AiConversationToolDisplayInfo;
/** The result of the tool call. */
result?: AiConversationUpdateEntityToolCallResult | null;
/** The name of the tool that was called. */
name: AiConversationTool;
}
/**
* AiConversationUpdateEntityToolCallArgs model
*
* @param request - function to call the graphql client
* @param data - L.AiConversationUpdateEntityToolCallArgsFragment response data
*/
declare class AiConversationUpdateEntityToolCallArgs extends Request {
constructor(request: LinearRequest, data: AiConversationUpdateEntityToolCallArgsFragment);
entities?: AiConversationSearchEntitiesToolCallResultEntities[] | null;
entity?: AiConversationSearchEntitiesToolCallResultEntities | null;
}
/**
* AiConversationUpdateEntityToolCallResult model
*
* @param request - function to call the graphql client
* @param data - L.AiConversationUpdateEntityToolCallResultFragment response data
*/
declare class AiConversationUpdateEntityToolCallResult extends Request {
constructor(request: LinearRequest, data: AiConversationUpdateEntityToolCallResultFragment);
startedAgentSessions?: AiConversationSearchEntitiesToolCallResultEntities[] | null;
}
/**
* AiConversationWebSearchToolCall model
*
* @param request - function to call the graphql client
* @param data - L.AiConversationWebSearchToolCallFragment response data
*/
declare class AiConversationWebSearchToolCall extends Request {
constructor(request: LinearRequest, data: AiConversationWebSearchToolCallFragment);
/** The arguments of the tool call. */
rawArgs?: Record<string, unknown> | null;
/** The result of the tool call. */
rawResult?: Record<string, unknown> | null;
/** The arguments to the tool call. */
args?: AiConversationWebSearchToolCallArgs | null;
displayInfo: AiConversationToolDisplayInfo;
/** The name of the tool that was called. */
name: AiConversationTool;
}
/**
* AiConversationWebSearchToolCallArgs model
*
* @param request - function to call the graphql client
* @param data - L.AiConversationWebSearchToolCallArgsFragment response data
*/
declare class AiConversationWebSearchToolCallArgs extends Request {
constructor(request: LinearRequest, data: AiConversationWebSearchToolCallArgsFragment);
query?: string | null;
url?: string | null;
}
/**
* AiConversationWidgetDisplayInfo model
*
* @param request - function to call the graphql client
* @param data - L.AiConversationWidgetDisplayInfoFragment response data
*/
declare class AiConversationWidgetDisplayInfo extends Request {
constructor(request: LinearRequest, data: AiConversationWidgetDisplayInfoFragment);
/** The Markdown representation of the widget content. */
body: string;
/** The ProseMirror data representation of the widget content. */
bodyData: Scalars["JSONObject"];
}
/**
* A widget part in an AI conversation.
*
* @param request - function to call the graphql client
* @param data - L.AiConversationWidgetPartFragment response data
*/
declare class AiConversationWidgetPart extends Request {
constructor(request: LinearRequest, data: AiConversationWidgetPartFragment);
/** The ID of the part. */
id: string;
/** The metadata of the part. */
metadata: AiConversationPartMetadata;
/** The type of the part. */
type: AiConversationPartType;
/** The widget. */
widget: AiConversationWidgetPartFragment["widget"];
}
/**
* Custom rules that guide AI behavior for a specific scope. Rules can be defined at the workspace level, team level, integration level, or user level, and are applied hierarchically (workspace rules first, then parent team rules, then team rules). Rules contain structured content that instructs the AI assistant on how to handle specific types of prompts, such as coding agent guidance or triage intelligence configuration.
*
* @param request - function to call the graphql client
* @param data - L.AiPromptRulesFragment response data
*/
declare class AiPromptRules extends Request {
private _updatedBy?;
constructor(request: LinearRequest, data: AiPromptRulesFragment);
/** The time at which the entity was archived. Null if the entity has not been archived. */
archivedAt?: Date | null;
/** The time at which the entity was created. */
createdAt: Date;
/** The unique identifier of the entity. */
id: string;
/**
* The last time at which the entity was meaningfully updated. This is the same as the creation time if the entity hasn't
* been updated after creation.
*/
updatedAt: Date;
/** The user who last updated the AI prompt rules. */
get updatedBy(): LinearFetch<User> | undefined;
/** The ID of user who last updated the ai prompt rules. */
get updatedById(): string | undefined;
}
/**
* Payload for app user notification webhook events.
*
* @param data - L.AppUserNotificationWebhookPayloadFragment response data
*/
declare class AppUserNotificationWebhookPayload {
constructor(data: AppUserNotificationWebhookPayloadFragment);
/** The type of action that triggered the webhook. */
action: string;
/** ID of the app user the notification is for. */
appUserId: string;
/** The time the payload was created. */
createdAt: Date;
/** ID of the OAuth client the app user is tied to. */
oauthClientId: string;
/** ID of the organization for which the webhook belongs to. */
organizationId: string;
/** The type of resource. */
type: string;
/** The ID of the webhook that sent this event. */
webhookId: string;
/** Unix timestamp in milliseconds when the webhook was sent. */
webhookTimestamp: number;
}
/**
* Payload for app user team access change webhook events.
*
* @param data - L.AppUserTeamAccessChangedWebhookPayloadFragment response data
*/
declare class AppUserTeamAccessChangedWebhookPayload {
constructor(data: AppUserTeamAccessChangedWebhookPayloadFragment);
/** The type of action that triggered the webhook. */
action: string;
/** IDs of the teams the app user was added to. */
addedTeamIds: string[];
/** ID of the app user the notification is for. */
appUserId: string;
/** Whether the app user can access all public teams. */
canAccessAllPublicTeams: boolean;
/** The time the payload was created. */
createdAt: Date;
/** ID of the OAuth client the app user is tied to. */
oauthClientId: string;
/** ID of the organization for which the webhook belongs to. */
organizationId: string;
/** IDs of the teams the app user was removed from. */
removedTeamIds: string[];
/** The type of resource. */
type: string;
/** The ID of the webhook that sent this event. */
webhookId: string;
/** Unix timestamp in milliseconds when the webhook was sent. */
webhookTimestamp: number;
}
/**
* Public-facing information about an OAuth application. Contains only the fields that are safe to display to users during the authorization flow, excluding sensitive data like client secrets and internal configuration.
*
* @param request - function to call the graphql client
* @param data - L.ApplicationFragment response data
*/
declare class Application extends Request {
constructor(request: LinearRequest, data: ApplicationFragment);
/** OAuth application's client ID. */
clientId: string;
/** Information about the application. */
description?: string | null;
/** Name of the developer. */
developer: string;
/** URL of the developer's website, homepage, or documentation. */
developerUrl: string;
/** OAuth application's ID. */
id: string;
/** Image of the application. */
imageUrl?: string | null;
/** Application name. */
name: string;
}
/**
* A generic payload return from entity archive or deletion mutations.
*
* @param request - function to call the graphql client
* @param data - L.ArchivePayloadFragment response data
*/
declare class ArchivePayload extends Request {
constructor(request: LinearRequest, data: ArchivePayloadFragment);
/** The identifier of the last sync operation. */
lastSyncId: number;
/** Whether the operation was successful. */
success: boolean;
}
/**
* Contains requested archived model objects.
*
* @param request - function to call the graphql client
* @param data - L.ArchiveResponseFragment response data
*/
declare class ArchiveResponse extends Request {
constructor(request: LinearRequest, data: ArchiveResponseFragment);
/** A JSON serialized collection of model objects loaded from the archive */
archive: string;
/** The version of the remote database. Incremented by 1 for each migration run on the database. */
databaseVersion: number;
/** Whether the dependencies for the model objects are included in the archive. */
includesDependencies: string[];
/** The total number of entities in the archive. */
totalCount: number;
}
/**
* A recently archived integration.
*
* @param request - function to call the graphql client
* @param data - L.ArchivedIntegrationPayloadFragment response data
*/
declare class ArchivedIntegrationPayload extends Request {
constructor(request: LinearRequest, data: ArchivedIntegrationPayloadFragment);
/** The time at which the integration was archived. */
archivedAt: Date;
/** Whether the integration had full code access. */
codeAccess?: boolean | null;
/** The enterprise URL if this is a GitHub Enterprise Cloud integration. */
enterpriseUrl?: string | null;
/** The external identifier of the connected GitHub organization. */
externalOrgId?: string | null;
/** The unique identifier of the integration. */
id: string;
/** The avatar URL of the connected GitHub organization. */
orgAvatarUrl?: string | null;
/** The login name of the connected GitHub organization. */
orgLogin?: string | null;
/** The integration service type. */
service: string;
}
/**
* AsksChannelConnectPayload model
*
* @param request - function to call the graphql client
* @param data - L.AsksChannelConnectPayloadFragment response data
*/
declare class AsksChannelConnectPayload extends Request {
private _integration?;
constructor(request: LinearRequest, data: AsksChannelConnectPayloadFragment);
/** Whether the bot needs to be manually added to the channel. */
addBot: boolean;
/** The identifier of the last sync operation. */
lastSyncId: number;
/** Whether the operation was successful. */
success: boolean;
/** GitHub-specific details for the operation. Populated by GitHub-related mutations only. */
gitHub?: GitHubIntegrationConnectDetails | null;
/** The new Asks Slack channel mapping for the connected channel. */
mapping: SlackChannelNameMapping;
/** The integration that was created or updated. */
get integration(): LinearFetch<Integration> | undefined;
/** The ID of integration that was created or updated. */
get integrationId(): string | undefined;
}
/**
* An attachment linking external content to an issue. Attachments represent connections to external resources such as GitHub pull requests, Slack messages, Zendesk tickets, Figma files, Sentry issues, Intercom conversations, and plain URLs. Each attachment has a title and subtitle displayed in the Linear UI, a URL serving as both the link destination and unique identifier per issue, and optional metadata specific to the source integration.
*
* @param request - function to call the graphql client
* @param data - L.AttachmentFragment response data
*/
declare class Attachment extends Request {
private _creator?;
private _externalUserCreator?;
private _issue;
private _originalIssue?;
constructor(request: LinearRequest, data: AttachmentFragment);
/** The time at which the entity was archived. Null if the entity has not been archived. */
archivedAt?: Date | null;
/** The body data of the attachment, if any. */
bodyData?: string | null;
/** The time at which the entity was created. */
createdAt: Date;
/** Whether attachments from the same source application should be visually grouped together in the Linear issue detail view. */
groupBySource: boolean;
/** The unique identifier of the entity. */
id: string;
/** Integration-specific metadata for this attachment. The schema varies by source type and may include fields such as pull request status, review counts, commit information, ticket status, or other data from the external system. */
metadata: Scalars["JSONObject"];
/** Information about the source which created the attachment. */
source?: Scalars["JSONObject"] | null;
/** The source type of the attachment, derived from the source metadata. Returns the integration type (e.g., 'github', 'slack', 'zendesk') or 'unknown' if no source is set. */
sourceType?: string | null;
/** Content for the subtitle line in the Linear attachment widget. */
subtitle?: string | null;
/** Content for the title line in the Linear attachment widget. */
title: string;
/**
* The last time at which the entity was meaningfully updated. This is the same as the creation time if the entity hasn't
* been updated after creation.
*/
updatedAt: Date;
/** The URL of the external resource this attachment links to. Also serves as a unique identifier for the attachment within an issue; no two attachments on the same issue can share the same URL. */
url: string;
/** The creator of the attachment. */
get creator(): LinearFetch<User> | undefined;
/** The ID of creator of the attachment. */
get creatorId(): string | undefined;
/** The non-Linear user who created the attachment. */
get externalUserCreator(): LinearFetch<ExternalUser> | undefined;
/** The ID of non-linear user who created the attachment. */
get externalUserCreatorId(): string | undefined;
/** The issue this attachment belongs to. */
get issue(): LinearFetch<Issue> | undefined;
/** The ID of issue this attachment belongs to. */
get issueId(): string | undefined;
/** The issue this attachment was originally created on. Null if the attachment hasn't been moved. */
get originalIssue(): LinearFetch<Issue> | undefined;
/** The ID of issue this attachment was originally created on. null if the attachment hasn't been moved. */
get originalIssueId(): string | undefined;
/** Creates a new attachment, or updates existing if the same `url` and `issueId` is used. To create an integration-aware attachment, use the integration-specific mutations such as `attachmentLinkZendesk`, `attachmentLinkSlack`, or `attachmentLinkURL` instead. */
create(input: AttachmentCreateInput): LinearFetch<AttachmentPayload>;
/** Deletes an issue attachment. */
delete(): LinearFetch<DeletePayload>;
/** Updates an existing issue attachment. */
update(input: AttachmentUpdateInput): LinearFetch<AttachmentPayload>;
}
/**
* AttachmentConnection model
*
* @param request - function to call the graphql client
* @param fetch - function to trigger a refetch of this AttachmentConnection model
* @param data - AttachmentConnection response data
*/
declare class AttachmentConnection extends Connection<Attachment> {
constructor(request: LinearRequest, fetch: (connection?: LinearConnectionVariables) => LinearFetch<LinearConnection<Attachment> | undefined>, data: AttachmentConnectionFragment);
}
/**
* The result of an attachment mutation.
*
* @param request - function to call the graphql client
* @param data - L.AttachmentPayloadFragment response data
*/
declare class AttachmentPayload extends Request {
private _attachment;
constructor(request: LinearRequest, data: AttachmentPayloadFragment);
/** The identifier of the last sync operation. */
lastSyncId: number;
/** Whether the operation was successful. */
success: boolean;
/** The issue attachment that was created. */
get attachment(): LinearFetch<Attachment> | undefined;
/** The ID of issue attachment that was created. */
get attachmentId(): string | undefined;
}
/**
* The result of an attachment sources query.
*
* @param request - function to call the graphql client
* @param data - L.AttachmentSourcesPayloadFragment response data
*/
declare class AttachmentSourcesPayload extends Request {
constructor(request: LinearRequest, data: AttachmentSourcesPayloadFragment);
/** A unique list of all source types used in this workspace. */
sources: Scalars["JSONObject"];
}
/**
* Payload for an attachment webhook.
*
* @param data - L.AttachmentWebhookPayloadFragment response data
*/
declare class AttachmentWebhookPayload {
constructor(data: AttachmentWebhookPayloadFragment);
/** The time at which the entity was archived. */
archivedAt?: string | null;
/** The time at which the entity was created. */
createdAt: string;
/** The ID of the creator of the attachment. */
creatorId?: string | null;
/** The ID of the non-Linear user who created the attachment. */
externalUserCreatorId?: string | null;
/** Whether attachments for the same source application should be grouped in the Linear UI. */
groupBySource: boolean;
/** The ID of the entity. */
id: string;
/** The ID of the issue this attachment belongs to. */
issueId: string;
/** Custom metadata related to the attachment. */
metadata: Scalars["JSONObject"];
/** The ID of the issue this attachment belonged to originally. */
originalIssueId?: string | null;
/** Information about the source which created the attachment. */
source?: Scalars["JSONObject"] | null;
/** The source type of the attachment. */
sourceType?: string | null;
/** Optional subtitle of the attachment. */
subtitle?: string | null;
/** The title of the attachment. */
title: string;
/** The time at which the entity was updated. */
updatedAt: string;
/** The URL of the attachment. */
url: string;
}
/**
* A workspace audit log entry recording a security or compliance-relevant action. Audit entries capture who performed an action, when, from what IP address and country, and include type-specific metadata. The audit log is partitioned by time for performance and is accessible only to workspace administrators. Examples of audited actions include user authentication events, permission changes, data exports, and workspace setting modifications.
*
* @param request - function to call the graphql client
* @param data - L.AuditEntryFragment response data
*/
declare class AuditEntry extends Request {
private _actor?;
constructor(request: LinearRequest, data: AuditEntryFragment);
/** The ID of the user that caused the audit entry to be created. */
actorId?: string | null;
/** The time at which the entity was archived. Null if the entity has not been archived. */
archivedAt?: Date | null;
/** The ISO 3166-1 alpha-2 country code derived from the request IP address. Null if geo-location could not be determined. */
countryCode?: string | null;
/** The time at which the entity was created. */
createdAt: Date;
/** The unique identifier of the entity. */
id: string;
/** The IP address of the actor at the time the audited action was performed. Null if the IP was not captured. */
ip?: string | null;
/** Additional metadata related to the audit entry. */
metadata?: Scalars["JSONObject"] | null;
/** Additional information related to the request which performed the action. */
requestInformation?: Scalars["JSONObject"] | null;
/** The type of audited action (e.g., user authentication, permission change, data export, setting modification). */
type: string;
/**
* The last time at which the entity was meaningfully updated. This is the same as the creation time if the entity hasn't
* been updated after creation.
*/
updatedAt: Date;
/** The user that caused the audit entry to be created. */
get actor(): LinearFetch<User> | undefined;
/** The workspace the audit log belongs to. */
get organization(): LinearFetch<Organization>;
}
/**
* AuditEntryConnection model
*
* @param request - function to call the graphql client
* @param fetch - function to trigger a refetch of this AuditEntryConnection model
* @param data - AuditEntryConnection response data
*/
declare class AuditEntryConnection extends Connection<AuditEntry> {
constructor(request: LinearRequest, fetch: (connection?: LinearConnectionVariables) => LinearFetch<LinearConnection<AuditEntry> | undefined>, data: AuditEntryConnectionFragment);
}
/**
* AuditEntryType model
*
* @param request - function to call the graphql client
* @param data - L.AuditEntryTypeFragment response data
*/
declare class AuditEntryType extends Request {
constructor(request: LinearRequest, data: AuditEntryTypeFragment);
/** Description of the audit entry type. */
description: string;
/** The audit entry type. */
type: string;
}
/**
* Payload for an audit entry webhook.
*
* @param data - L.AuditEntryWebhookPayloadFragment response data
*/
declare class AuditEntryWebhookPayload {
constructor(data: AuditEntryWebhookPayloadFragment);
/** The ID of the user that caused the audit entry to be created. */
actorId?: string | null;
/** The time at which the entity was archived. */
archivedAt?: string | null;
/** Country code of request resulting to audit entry. */
countryCode?: string | null;
/** The time at which the entity was created. */
createdAt: string;
/** The ID of the entity. */
id: string;
/** IP from actor when entry was recorded. */
ip?: string | null;
/** Additional metadata related to the audit entry. */
metadata?: Scalars["JSONObject"] | null;
/** The ID of the organization that the audit entry belongs to. */
organizationId: string;
/** Additional information related to the request which performed the action. */
requestInformation?: Scalars["JSONObject"] | null;
/** The type of the audit entry. */
type: string;
/** The time at which the entity was updated. */
updatedAt: string;
}
/**
* An identity provider.
*
* @param request - function to call the graphql client
* @param data - L.AuthIdentityProviderFragment response data
*/
declare class AuthIdentityProvider extends Request {
constructor(request: LinearRequest, data: AuthIdentityProviderFragment);
/** The time at which the entity was created. */
createdAt: Date;
/** Whether the identity provider is the default identity provider migrated from organization level settings. */
defaultMigrated: boolean;
/** The unique identifier of the entity. */
id: string;
/** The issuer's custom entity ID. */
issuerEntityId?: string | null;
/** The SAML priority used to pick default workspace in SAML SP initiated flow, when same domain is claimed for SAML by multiple workspaces. Lower priority value means higher preference. */
priority?: number | null;
/** Whether SAML authentication is enabled for organization. */
samlEnabled: boolean;
/** Whether SCIM provisioning is enabled for organization. */
scimEnabled: boolean;
/** The service provider (Linear) custom entity ID. Defaults to https://auth.linear.app/sso */
spEntityId?: string | null;
/** Binding method for authentication call. Can be either `post` (default) or `redirect`. */
ssoBinding?: string | null;
/** Sign in endpoint URL for the identity provider. */
ssoEndpoint?: string | null;
/** The algorithm of the Signing Certificate. Can be one of `sha1`, `sha256` (default), or `sha512`. */
ssoSignAlgo?: string | null;
/** X.509 Signing Certificate in string form. */
ssoSigningCert?: string | null;
/** The type of identity provider. */
type: IdentityProviderType;
}
/**
* An organization. Organizations are root-level objects that contain users and teams.
*
* @param request - function to call the graphql client
* @param data - L.AuthOrganizationFragment response data
*/
declare class AuthOrganization extends Request {
constructor(request: LinearRequest, data: AuthOrganizationFragment);
/** Allowed authentication providers, empty array means all are allowed */
allowedAuthServices: string[];
/** An approximate count of users, updated once per day. */
approximateUserCount: number;
/** Authentication settings for the organization. */
authSettings: Scalars["JSONObject"];
/** The cell the organization is hosted in. */
cell: string;
/** The time at which the entity was created. */
createdAt: Date;
/** The time at which deletion of the organization was requested. */
deletionRequestedAt?: Date | null;
/** Whether the organization is enabled. Used as a superuser tool to lock down the org. */
enabled: boolean;
/** Whether to hide other organizations for new users signing up with email domains claimed by this organization. */
hideNonPrimaryOrganizations: boolean;
/** The unique identifier of the entity. */
id: string;
/** The organization's logo URL. */
logoUrl?: string | null;
/** The organization's name. */
name: string;
/** Previously used URL keys for the organization (last 3 are kept and redirected). */
previousUrlKeys: string[];
/** The region the organization is hosted in. */
region: string;
/** Whether SAML authentication is enabled for organization. */
samlEnabled: boolean;
/** Whether SCIM provisioning is enabled for organization. */
scimEnabled: boolean;
/** The email domain or URL key for the organization. */
serviceId: string;
/** The organization's unique URL key. */
urlKey: string;
userCount?: number | null;
/** The feature release channel the organization belongs to. */
releaseChannel: ReleaseChannel;
}
/**
* AuthResolverResponse model
*
* @param request - function to call the graphql client
* @param data - L.AuthResolverResponseFragment response data
*/
declare class AuthResolverResponse extends Request {
constructor(request: LinearRequest, data: AuthResolverResponseFragment);
/** Should the signup flow allow access for the domain. */
allowDomainAccess?: boolean | null;
/** Email for the authenticated account. */
email: string;
/** User account ID. */
id: string;
/** ID of the organization last accessed by the user. */
lastUsedOrganizationId?: string | null;
/** The authentication service used for the current session (e.g., google, email, saml). */
service?: string | null;
/** Application token. */
token?: string | null;
/** List of organizations allowing this user account to join automatically. */
availableOrganizations?: AuthOrganization[] | null;
/** List of organization available to this user account but locked due to the current auth method. */
lockedOrganizations?: AuthOrganization[] | null;
/** List of locked users that are locked by login restrictions */
lockedUsers: AuthUser[];
/** List of active users that belong to the user account. */
users: AuthUser[];
}
/**
* A user that has access to the the resources of an organization.
*
* @param request - function to call the graphql client
* @param data - L.AuthUserFragment response data
*/
declare class AuthUser extends Request {
constructor(request: LinearRequest, data: AuthUserFragment);
/** Whether the user is active. */
active: boolean;
/** An URL to the user's avatar image. */
avatarUrl?: string | null;
/** The time at which the entity was created. */
createdAt: Date;
/** The user's display (nick) name. Unique within each organization. */
displayName: string;
/** The user's email address. */
email: string;
id: string;
/** The user's full name. */
name: string;
/** The ID of the OAuth client that created the user. */
oauthClientId?: string | null;
/** User account ID the user belongs to. */
userAccountId: string;
/** Organization the user belongs to. */
organization: AuthOrganization;
/** Whether the user is an organization admin or guest on a database level. */
role: UserRoleType;
}
/**
* Information about an active authentication session, including the device, location, and timestamps for when it was created and last used.
*
* @param request - function to call the graphql client
* @param data - L.AuthenticationSessionResponseFragment response data
*/
declare class AuthenticationSessionResponse extends Request {
constructor(request: LinearRequest, data: AuthenticationSessionResponseFragment);
/** Used web browser. */
browserType?: string | null;
/** Client used for the session */
client?: string | null;
/** Country codes of all seen locations. */
countryCodes: string[];
/** The time at which the entity was created. */
createdAt: Date;
/** Detailed name of the session including version information, derived from the user agent. */
detailedName: string;
id: string;
/** IP address. */
ip?: string | null;
/** Whether this session is the one used to make the current API request. */
isCurrentSession: boolean;
/** When was the session last seen */
lastActiveAt?: Date | null;
/** Human readable location */
location?: string | null;
/** Location city name. */
locationCity?: string | null;
/** Location country name. */
locationCountry?: string | null;
/** Location country code. */
locationCountryCode?: string | null;
/** Location region code. */
locationRegionCode?: string | null;
/** Name of the session, derived from the client and operating system */
name: string;
/** Operating system used for the session */
operatingSystem?: string | null;
/** Service used for logging in. */
service?: string | null;
/** Date when the session was last updated. */
updatedAt: Date;
/** Session's user-agent. */
userAgent?: string | null;
/** Type of application used to authenticate. */
type: AuthenticationSessionType;
}
/**
* Base fields for all webhook payloads.
*
* @param data - L.BaseWebhookPayloadFragment response data
*/
declare class BaseWebhookPayload {
constructor(data: BaseWebhookPayloadFragment);
/** The time the payload was created. */
createdAt: Date;
/** ID of the organization for which the webhook belongs to. */
organizationId: string;
/** The ID of the webhook that sent this event. */
webhookId: string;
/** Unix timestamp in milliseconds when the webhook was sent. */
webhookTimestamp: number;
}
/**
* A comment associated with an issue, project update, initiative update, document content, post, project, or initiative. Comments support rich text (ProseMirror), emoji reactions, and threaded replies via parentId. Comments can be created by workspace users or by external users through integrations (e.g., Slack, Intercom). Each comment belongs to exactly one parent entity.
*
* @param request - function to call the graphql client
* @param data - L.CommentFragment response data
*/
declare class Comment extends Request {
private _agentSession?;
private _externalUser?;
private _initiative?;
private _initiativeUpdate?;
private _issue?;
private _parent?;
private _project?;
private _projectUpdate?;
private _resolvingComment?;
private _resolvingUser?;
private _user?;
constructor(request: LinearRequest, data: CommentFragment);
/** The time at which the entity was archived. Null if the entity has not been archived. */
archivedAt?: Date | null;
/** The comment content in markdown format. This is a derived representation of the canonical bodyData ProseMirror content. */
body: string;
/** The time at which the entity was created. */
createdAt: Date;
/** The ID of the document content that the comment is associated with. Null if the comment belongs to a different parent entity type. */
documentContentId?: string | null;
/** The time the comment was last edited by its author. Null if the comment has not been edited since creation. */
editedAt?: Date | null;
/** The unique identifier of the entity. */
id: string;
/** The ID of the initiative that the comment is associated with. Null if the comment belongs to a different parent entity type. */
initiativeId?: string | null;
/** The ID of the initiative update that the comment is associated with. Null if the comment belongs to a different parent entity type. */
initiativeUpdateId?: string | null;
/** The ID of the issue that the comment is associated with. Null if the comment belongs to a different parent entity type. */
issueId?: string | null;
/** The ID of the parent comment under which the current comment is nested. Null for top-level comments. */
parentId?: string | null;
/** The ID of the project that the comment is associated with. Null if the comment belongs to a different parent entity type. */
projectId?: string | null;
/** The ID of the project update that the comment is associated with. Null if the comment belongs to a different parent entity type. */
projectUpdateId?: string | null;
/** The text that this comment references, used for inline comments on documents or issue descriptions. Null for standard comments that do not quote specific text. */
quotedText?: string | null;
/** Emoji reaction summary for this comment, grouped by emoji type. Each entry contains the emoji name, count, and the IDs of users who reacted. */
reactionData: Scalars["JSONObject"];
/** The time when the comment thread was resolved. Null if the thread is unresolved. */
resolvedAt?: Date | null;
/** The ID of the child comment that resolved this thread. Null if the thread is unresolved. */
resolvingCommentId?: string | null;
/**
* The last time at which the entity was meaningfully updated. This is the same as the creation time if the entity hasn't
* been updated after creation.
*/
updatedAt: Date;
/** Comment's URL. */
url: string;
/** Reactions associated with the comment. */
reactions: Reaction[];
/** The external services the comment is synced with. */
syncedWith?: ExternalEntityInfo[] | null;
/** The bot that created the comment. */
botActor?: ActorBot | null;
/** The document content that the comment is associated with. Null if the comment belongs to a different parent entity type. Used for inline comments on documents. */
documentContent?: DocumentContent | null;
/** The external thread that the comment is synced with. */
externalThread?: SyncedExternalThread | null;
/** Agent session associated with this comment. */
get agentSession(): LinearFetch<AgentSession> | undefined;
/** The ID of agent session associated with this comment. */
get agentSessionId(): string | undefined;
/** The external user who wrote the comment, when the comment was created through an integration such as Slack or Intercom. Null for comments created by workspace users. */
get externalUser(): LinearFetch<ExternalUser> | undefined;
/** The ID of external user who wrote the comment, when the comment was created through an integration such as slack or intercom. null for comments created by workspace users. */
get externalUserId(): string | undefined;
/** The initiative that the comment is associated with. Null if the comment belongs to a different parent entity type. */
get initiative(): LinearFetch<Initiative> | undefined;
/** The initiative update that the comment is associated with. Null if the comment belongs to a different parent entity type. */
get initiativeUpdate(): LinearFetch<InitiativeUpdate> | undefined;
/** The issue that the comment is associated with. Null if the comment belongs to a different parent entity type. */
get issue(): LinearFetch<Issue> | undefined;
/** The parent comment under which the current comment is nested. Null for top-level comments that are not replies. */
get parent(): LinearFetch<Comment> | undefined;
/** The project that the comment is associated with. Used for project-level discussion threads. Null if the comment belongs to a different parent entity type. */
get project(): LinearFetch<Project> | undefined;
/** The project update that the comment is associated with. Null if the comment belongs to a different parent entity type. */
get projectUpdate(): LinearFetch<ProjectUpdate> | undefined;
/** The child comment that resolved this thread. Only set on top-level (parent) comments. Null if the thread is unresolved. */
get resolvingComment(): LinearFetch<Comment> | undefined;
/** The user that resolved the comment thread. Null if the thread has not been resolved or if this is not a top-level comment. */
get resolvingUser(): LinearFetch<User> | undefined;
/** The ID of user that resolved the comment thread. null if the thread has not been resolved or if this is not a top-level comment. */
get resolvingUserId(): string | undefined;
/** The user who wrote the comment. Null for comments created by integrations or bots without a user association. */
get user(): LinearFetch<User> | undefined;
/** The ID of user who wrote the comment. null for comments created by integrations or bots without a user association. */
get userId(): string | undefined;
/** The children of the comment. */
children(variables?: Comment_ChildrenQueryVariables): LinearFetch<CommentConnection>;
/** Issues created from this comment. */
createdIssues(variables?: Comment_CreatedIssuesQueryVariables): LinearFetch<IssueConnection>;
/** Creates a new comment. */
create(input: CommentCreateInput): LinearFetch<CommentPayload>;
/** Deletes a comment. */
delete(): LinearFetch<DeletePayload>;
/** Updates a comment. */
update(input: CommentUpdateInput, variables?: Omit<UpdateCommentMutationVariables, "id" | "input">): LinearFetch<CommentPayload>;
}
/**
* Certain properties of a comment.
*
* @param data - L.CommentChildWebhookPayloadFragment response data
*/
declare class CommentChildWebhookPayload {
constructor(data: CommentChildWebhookPayloadFragment);
/** The body of the comment. */
body: string;
/** The ID of the document content this comment belongs to. */
documentContentId?: string | null;
/** The ID of the comment. */
id: string;
/** The ID of the initiative update this comment belongs to. */
initiativeUpdateId?: string | null;
/** The ID of the issue this comment belongs to. */
issueId?: string | null;
/** The ID of the project update this comment belongs to. */
projectUpdateId?: string | null;
/** The ID of the user who created this comment. */
userId?: string | null;
}
/**
* CommentConnection model
*
* @param request - function to call the graphql client
* @param fetch - function to trigger a refetch of this CommentConnection model
* @param data - CommentConnection response data
*/
declare class CommentConnection extends Connection<Comment> {
constructor(request: LinearRequest, fetch: (connection?: LinearConnectionVariables) => LinearFetch<LinearConnection<Comment> | undefined>, data: CommentConnectionFragment);
}
/**
* The result of a comment mutation.
*
* @param request - function to call the graphql client
* @param data - L.CommentPayloadFragment response data
*/
declare class CommentPayload extends Request {
private _comment;
constructor(request: LinearRequest, data: CommentPayloadFragment);
/** The identifier of the last sync operation. */
lastSyncId: number;
/** Whether the operation was successful. */
success: boolean;
/** The comment that was created or updated. */
get comment(): LinearFetch<Comment> | undefined;
/** The ID of comment that was created or updated. */
get commentId(): string | undefined;
}
/**
* Payload for a comment webhook.
*
* @param data - L.CommentWebhookPayloadFragment response data
*/
declare class CommentWebhookPayload {
constructor(data: CommentWebhookPayloadFragment);
/** The time at which the entity was archived. */
archivedAt?: string | null;
/** The body of the comment. */
body: string;
/** The bot actor data for this comment. */
botActor?: string | null;
/** The time at which the entity was created. */
createdAt: string;
/** The ID of the document content this comment belongs to. */
documentContentId?: string | null;
/** When the comment was last edited. */
editedAt?: string | null;
/** The ID of the external user who created this comment. */
externalUserId?: string | null;
/** The ID of the entity. */
id: string;
/** The ID of the initiative update this comment belongs to. */
initiativeUpdateId?: string | null;
/** The ID of the issue this comment belongs to. */
issueId?: string | null;
/** The ID of the parent comment. */
parentId?: string | null;
/** The ID of the post this comment belongs to. */
postId?: string | null;
/** The ID of the project update this comment belongs to. */
projectUpdateId?: string | null;
/** The quoted text in this comment. */
quotedText?: string | null;
/** The reaction data for this comment. */
reactionData: Scalars["JSONObject"];
/** When the comment was resolved. */
resolvedAt?: string | null;
/** The ID of the comment that resolved this comment. */
resolvingCommentId?: string | null;
/** The ID of the user who resolved this comment. */
resolvingUserId?: string | null;
/** The entity this comment is synced with. */
syncedWith?: Scalars["JSONObject"] | null;
/** The time at which the entity was updated. */
updatedAt: string;
/** The ID of the user who created this comment. */
userId?: string | null;
/** The document content for this comment. */
documentContent?: DocumentContentChildWebhookPayload | null;
/** The external user who created this comment. */
externalUser?: ExternalUserChildWebhookPayload | null;
/** The initiative update this comment belongs to. */
initiativeUpdate?: InitiativeUpdateChildWebhookPayload | null;
/** The issue this comment belongs to. */
issue?: IssueChildWebhookPayload | null;
/** The parent comment. */
parent?: CommentChildWebhookPayload | null;
/** The project update this comment belongs to. */
projectUpdate?: ProjectUpdateChildWebhookPayload | null;
/** The user who created this comment. */
user?: UserChildWebhookPayload | null;
}
/**
* Return type for contact mutations.
*
* @param request - function to call the graphql client
* @param data - L.ContactPayloadFragment response data
*/
declare class ContactPayload extends Request {
constructor(request: LinearRequest, data: ContactPayloadFragment);
/** Whether the operation was successful. */
success: boolean;
}
/**
* The payload returned by the createCsvExportReport mutation.
*
* @param request - function to call the graphql client
* @param data - L.CreateCsvExportReportPayloadFragment response data
*/
declare class CreateCsvExportReportPayload extends Request {
constructor(request: LinearRequest, data: CreateCsvExportReportPayloadFragment);
/** Whether the operation was successful. */
success: boolean;
}
/**
* Payload for custom webhook resource events.
*
* @param data - L.CustomResourceWebhookPayloadFragment response data
*/
declare class CustomResourceWebhookPayload {
constructor(data: CustomResourceWebhookPayloadFragment);
/** The type of action that triggered the webhook. */
action: string;
/** The time the payload was created. */
createdAt: Date;
/** ID of the organization for which the webhook belongs to. */
organizationId: string;
/** The type of resource. */
type: string;
/** The ID of the webhook that sent this event. */
webhookId: string;
/** Unix timestamp in milliseconds when the webhook was sent. */
webhookTimestamp: number;
}
/**
* A custom view built from a saved filter, sort, and grouping configuration. Views can be personal (visible only to the owner) or shared with the entire workspace. They define which issues, projects, initiatives, or feed items are displayed and how they are organized. Views can optionally be scoped to a team, project, or initiative.
*
* @param request - function to call the graphql client
* @param data - L.CustomViewFragment response data
*/
declare class CustomView extends Request {
private _creator;
private _owner;
private _team?;
private _updatedBy?;
constructor(request: LinearRequest, data: CustomViewFragment);
/** The time at which the entity was archived. Null if the entity has not been archived. */
archivedAt?: Date | null;
/** The hex color code of the custom view icon. */
color?: string | null;
/** The time at which the entity was created. */
createdAt: Date;
/** The description of the custom view. */
description?: string | null;
/** The filter applied to feed items in the custom view. When set, this view displays feed items (updates) instead of issues. */
feedItemFilterData?: Scalars["JSONObject"] | null;
/** The structured filter applied to issues in the custom view. Used when the view's modelName is "Issue". */
filterData: Scalars["JSONObject"];
/** The legacy serialized filters applied to issues in the custom view. */
filters: Scalars["JSONObject"];
/** The icon of the custom view. Can be an emoji or a decorative icon identifier. */
icon?: string | null;
/** The unique identifier of the entity. */
id: string;
/** The filter applied to initiatives in the custom view. When set, this view displays initiatives instead of issues. */
initiativeFilterData?: Scalars["JSONObject"] | null;
/** The entity type this view displays. Determined by which filter is set: "Project" if projectFilterData is set, "Initiative" if initiativeFilterData is set, "FeedItem" if feedItemFilterData is set, or "Issue" by default. */
modelName: string;
/** The name of the custom view, displayed in the sidebar and navigation. */
name: string;
/** The filter applied to projects in the custom view. When set, this view displays projects instead of issues. */
projectFilterData?: Scalars["JSONObject"] | null;
/** Whether the custom view is shared with everyone in the organization. Shared views appear in the workspace sidebar for all members. Personal (non-shared) views are only visible to their owner. */
shared: boolean;
/** The custom view's unique URL slug, used to construct human-readable URLs. Automatically generated on creation. */
slugId: string;
/**
* The last time at which the entity was meaningfully updated. This is the same as the creation time if the entity hasn't
* been updated after creation.
*/
updatedAt: Date;
/** The workspace-level default view preferences for this custom view, if any have been set. */
organizationViewPreferences?: ViewPreferences | null;
/** The current user's personal view preferences for this custom view, if they have set any. */
userViewPreferences?: ViewPreferences | null;
/** The computed view preferences values for this custom view, merging organization defaults with user overrides and system defaults. Use this for the effective display settings rather than reading raw preferences directly. */
viewPreferencesValues?: ViewPreferencesValues | null;
/** The user who originally created the custom view. */
get creator(): LinearFetch<User> | undefined;
/** The ID of user who originally created the custom view. */
get creatorId(): string | undefined;
/** The workspace of the custom view. */
get organization(): LinearFetch<Organization>;
/** The user who owns the custom view. For personal views, only the owner can see and edit the view. */
get owner(): LinearFetch<User> | undefined;
/** The ID of user who owns the custom view. for personal views, only the owner can see and edit the view. */
get ownerId(): string | undefined;
/** The team that the custom view is scoped to. Null if the view is workspace-wide or scoped to a project/initiative instead. */
get team(): LinearFetch<Team> | undefined;
/** The ID of team that the custom view is scoped to. null if the view is workspace-wide or scoped to a project/initiative instead. */
get teamId(): string | undefined;
/** The user who last updated the custom view. Null if the updater's account has been deleted. */
get updatedBy(): LinearFetch<User> | undefined;
/** The ID of user who last updated the custom view. null if the updater's account has been deleted. */
get updatedById(): string | undefined;
/** Initiatives matching the custom view's initiative filter. Returns an empty connection if the view's modelName is not "Initiative". */
initiatives(variables?: Omit<CustomView_InitiativesQueryVariables, "id">): LinearFetch<InitiativeConnection>;
/** Issues matching the custom view's issue filter. Returns an empty connection if the view's modelName is not "Issue". */
issues(variables?: Omit<CustomView_IssuesQueryVariables, "id">): LinearFetch<IssueConnection>;
/** Projects matching the custom view's project filter. Returns an empty connection if the view's modelName is not "Project". */
projects(variables?: Omit<CustomView_ProjectsQueryVariables, "id">): LinearFetch<ProjectConnection>;
/** Creates a new custom view. */
create(input: CustomViewCreateInput): LinearFetch<CustomViewPayload>;
/** Deletes a custom view. */
delete(): LinearFetch<DeletePayload>;
/** Updates a custom view. */
update(input: CustomViewUpdateInput): LinearFetch<CustomViewPayload>;
}
/**
* CustomViewConnection model
*
* @param request - function to call the graphql client
* @param fetch - function to trigger a refetch of this CustomViewConnection model
* @param data - CustomViewConnection response data
*/
declare class CustomViewConnection extends Connection<CustomView> {
constructor(request: LinearRequest, fetch: (connection?: LinearConnectionVariables) => LinearFetch<LinearConnection<CustomView> | undefined>, data: CustomViewConnectionFragment);
}
/**
* The result of a custom view subscribers check.
*
* @param request - function to call the graphql client
* @param data - L.CustomViewHasSubscribersPayloadFragment response data
*/
declare class CustomViewHasSubscribersPayload extends Request {
constructor(request: LinearRequest, data: CustomViewHasSubscribersPayloadFragment);
/** Whether the custom view has subscribers. */
hasSubscribers: boolean;
}
/**
* A notification subscription scoped to a specific custom view. The subscriber receives notifications for events matching the custom view's filter criteria.
*
* @param request - function to call the graphql client
* @param data - L.CustomViewNotificationSubscriptionFragment response data
*/
declare class CustomViewNotificationSubscription extends Request {
private _customView;
private _customer?;
private _cycle?;
private _initiative?;
private _label?;
private _project?;
private _subscriber;
private _team?;
private _user?;
constructor(request: LinearRequest, data: CustomViewNotificationSubscriptionFragment);
/** Whether the subscription is active. When inactive, no notifications are generated from this subscription even though it still exists. */
active: boolean;
/** The time at which the entity was archived. Null if the entity has not been archived. */
archivedAt?: Date | null;
/** The time at which the entity was created. */
createdAt: Date;
/** The unique identifier of the entity. */
id: string;
/** The notification event types that this subscription will deliver to the subscriber. */
notificationSubscriptionTypes: string[];
/**
* The last time at which the entity was meaningfully updated. This is the same as the creation time if the entity hasn't
* been updated after creation.
*/
updatedAt: Date;
/** The type of contextual view (e.g., active issues, backlog) that further scopes a team notification subscription. Null if the subscription is not associated with a specific view type. */
contextViewType?: ContextViewType | null;
/** The type of user-specific view that further scopes a user notification subscription. Null if the subscription is not associated with a user view type. */
userContextViewType?: UserContextViewType | null;
/** The custom view subscribed to. */
get customView(): LinearFetch<CustomView> | undefined;
/** The ID of custom view subscribed to. */
get customViewId(): string | undefined;
/** The customer that this notification subscription is scoped to. Null if the subscription targets a different entity type. */
get customer(): LinearFetch<Customer> | undefined;
/** The ID of customer that this notification subscription is scoped to. null if the subscription targets a different entity type. */
get customerId(): string | undefined;
/** The cycle that this notification subscription is scoped to. Null if the subscription targets a different entity type. */
get cycle(): LinearFetch<Cycle> | undefined;
/** The ID of cycle that this notification subscription is scoped to. null if the subscription targets a different entity type. */
get cycleId(): string | undefined;
/** The initiative that this notification subscription is scoped to. Null if the subscription targets a different entity type. */
get initiative(): LinearFetch<Initiative> | undefined;
/** The ID of initiative that this notification subscription is scoped to. null if the subscription targets a different entity type. */
get initiativeId(): string | undefined;
/** The issue label that this notification subscription is scoped to. Null if the subscription targets a different entity type. */
get label(): LinearFetch<IssueLabel> | undefined;
/** The ID of issue label that this notification subscription is scoped to. null if the subscription targets a different entity type. */
get labelId(): string | undefined;
/** The project that this notification subscription is scoped to. Null if the subscription targets a different entity type. */
get project(): LinearFetch<Project> | undefined;
/** The ID of project that this notification subscription is scoped to. null if the subscription targets a different entity type. */
get projectId(): string | undefined;
/** The user who will receive notifications from this subscription. */
get subscriber(): LinearFetch<User> | undefined;
/** The ID of user who will receive notifications from this subscription. */
get subscriberId(): string | undefined;
/** The team that this notification subscription is scoped to. Null if the subscription targets a different entity type. */
get team(): LinearFetch<Team> | undefined;
/** The ID of team that this notification subscription is scoped to. null if the subscription targets a different entity type. */
get teamId(): string | undefined;
/** The user that this notification subscription is scoped to, for user-specific view subscriptions. Null if the subscription targets a different entity type. */
get user(): LinearFetch<User> | undefined;
/** The ID of user that this notification subscription is scoped to, for user-specific view subscriptions. null if the subscription targets a different entity type. */
get userId(): string | undefined;
}
/**
* The result of a custom view mutation.
*
* @param request - function to call the graphql client
* @param data - L.CustomViewPayloadFragment response data
*/
declare class CustomViewPayload extends Request {
private _customView;
constructor(request: LinearRequest, data: CustomViewPayloadFragment);
/** The identifier of the last sync operation. */
lastSyncId: number;
/** Whether the operation was successful. */
success: boolean;
/** The custom view that was created or updated. */
get customView(): LinearFetch<CustomView> | undefined;
/** The ID of custom view that was created or updated. */
get customViewId(): string | undefined;
}
/**
* The result of a custom view suggestion query.
*
* @param request - function to call the graphql client
* @param data - L.CustomViewSuggestionPayloadFragment response data
*/
declare class CustomViewSuggestionPayload extends Request {
constructor(request: LinearRequest, data: CustomViewSuggestionPayloadFragment);
/** The suggested view description. */
description?: string | null;
/** The suggested view icon. */
icon?: string | null;
/** The suggested view name. */
name?: string | null;
}
/**
* A customer organization tracked in Linear's customer management system. Customers represent external companies or organizations whose product requests and feedback are captured as customer needs, which can be linked to issues and projects. Customers can be associated with domains, external system IDs, Slack channels, and managed by integrations such as Intercom or Salesforce.
*
* @param request - function to call the graphql client
* @param data - L.CustomerFragment response data
*/
declare class Customer extends Request {
private _integration?;
private _owner?;
private _status;
private _tier?;
constructor(request: LinearRequest, data: CustomerFragment);
/** The approximate count of customer needs (requests) associated with this customer. This is a denormalized counter and may not reflect the exact count at all times. */
approximateNeedCount: number;
/** The time at which the entity was archived. Null if the entity has not been archived. */
archivedAt?: Date | null;
/** The time at which the entity was created. */
createdAt: Date;
/** The email domains associated with this customer (e.g., 'acme.com'). Used to automatically match incoming requests to this customer. Public email domains (e.g., gmail.com) are not allowed. Domains must be unique across all customers in the workspace. */
domains: string[];
/** Identifiers for this customer in external systems (e.g., CRM IDs from Intercom, Salesforce, or HubSpot). Used for matching customers during integration syncs and upsert operations. External IDs must be unique across customers in the workspace. */
externalIds: string[];
/** The unique identifier of the entity. */
id: string;
/** URL of the customer's logo image. Null if no logo has been uploaded. */
logoUrl?: string | null;
/** The primary external source ID when a customer has data from multiple external systems. Must be one of the values in the externalIds array. Null if the customer has zero or one external source. */
mainSourceId?: string | null;
/** The display name of the customer organization. */
name: string;
/** The annual revenue generated by this customer. Null if revenue data has not been provided. May be synced from an external data source such as a CRM integration. */
revenue?: number | null;
/** The number of employees or seats at the customer organization. Null if size data has not been provided. May be synced from an external data source such as a CRM integration. */
size?: number | null;
/** The ID of the Slack channel linked to this customer for communication. Null if no Slack channel has been associated. Must be unique across all customers in the workspace. */
slackChannelId?: string | null;
/** A unique, human-readable URL slug for the customer. Automatically generated and used in customer page URLs. */
slugId: string;
/**
* The last time at which the entity was meaningfully updated. This is the same as the creation time if the entity hasn't
* been updated after creation.
*/
updatedAt: Date;
/** The URL of the customer's page in the Linear application. */
url: string;
/** The list of customer needs (product requests and feedback) associated with this customer. */
needs: CustomerNeed[];
/** The integration that manages this customer's data (e.g., Intercom, Salesforce). Null if the customer is not managed by any data source integration. */
get integration(): LinearFetch<Integration> | undefined;
/** The ID of integration that manages this customer's data (e.g., intercom, salesforce). null if the customer is not managed by any data source integration. */
get integrationId(): string | undefined;
/** The workspace member assigned as the owner of this customer. Null if no owner has been assigned. App users cannot be set as customer owners. */
get owner(): LinearFetch<User> | undefined;
/** The ID of workspace member assigned as the owner of this customer. null if no owner has been assigned. app users cannot be set as customer owners. */
get ownerId(): string | undefined;
/** The current lifecycle status of the customer. Defaults to the first status by position when a customer is created without an explicit status. */
get status(): LinearFetch<CustomerStatus> | undefined;
/** The ID of current lifecycle status of the customer. defaults to the first status by position when a customer is created without an explicit status. */
get statusId(): string | undefined;
/** The tier or segment assigned to this customer for prioritization (e.g., Enterprise, Pro, Free). Null if no tier has been assigned. */
get tier(): LinearFetch<CustomerTier> | undefined;
/** The ID of tier or segment assigned to this customer for prioritization (e.g., enterprise, pro, free). null if no tier has been assigned. */
get tierId(): string | undefined;
/** Creates a new customer. */
create(input: CustomerCreateInput): LinearFetch<CustomerPayload>;
/** Deletes a customer. */
delete(): LinearFetch<DeletePayload>;
/** Updates an existing customer. */
update(input: CustomerUpdateInput): LinearFetch<CustomerPayload>;
}
/**
* Certain properties of a customer.
*
* @param data - L.CustomerChildWebhookPayloadFragment response data
*/
declare class CustomerChildWebhookPayload {
constructor(data: CustomerChildWebhookPayloadFragment);
/** The domains associated with this customer. */
domains: string[];
/** The ids of the customers in external systems. */
externalIds: string[];
/** The ID of the customer. */
id: string;
/** The name of the customer. */
name: string;
}
/**
* CustomerConnection model
*
* @param request - function to call the graphql client
* @param fetch - function to trigger a refetch of this CustomerConnection model
* @param data - CustomerConnection response data
*/
declare class CustomerConnection extends Connection<Customer> {
constructor(request: LinearRequest, fetch: (connection?: LinearConnectionVariables) => LinearFetch<LinearConnection<Customer> | undefined>, data: CustomerConnectionFragment);
}
/**
* A customer need represents a specific product request or piece of feedback from a customer. Customer needs serve as the bridge between customer feedback and engineering work by linking a customer to an issue or project, optionally with a comment or attachment providing additional context. Needs can be created manually, from integrations, or from intake sources like email.
*
* @param request - function to call the graphql client
* @param data - L.CustomerNeedFragment response data
*/
declare class CustomerNeed extends Request {
private _attachment?;
private _comment?;
private _creator?;
private _customer?;
private _issue?;
private _originalIssue?;
private _project?;
constructor(request: LinearRequest, data: CustomerNeedFragment);
/** The time at which the entity was archived. Null if the entity has not been archived. */
archivedAt?: Date | null;
/** The body content of the need in Markdown format. Used to capture manual input about needs that cannot be directly tied to an attachment. Null if the need's content comes from an attached source. */
body?: string | null;
/** The effective Markdown content shown for this customer need. Returns the manually stored body when present, otherwise falls back to content extracted from the source attachment. Null if no content is available. */
content?: string | null;
/** The time at which the entity was created. */
createdAt: Date;
/** The unique identifier of the entity. */
id: string;
/** Whether the customer need is important or not. 0 = Not important, 1 = Important. */
priority: number;
/**
* The last time at which the entity was meaningfully updated. This is the same as the creation time if the entity hasn't
* been updated after creation.
*/
updatedAt: Date;
/** The URL of the source attachment linked to this need, if any. Returns the URL from either the issue attachment or project attachment. Null if the need has no attached source. */
url?: string | null;
/** The project attachment linked to this need. Populated when the need originates from an intake source or when a URL is manually provided for a project-level need. Provides a link back to the original source of the customer feedback. Mutually exclusive with attachment. */
projectAttachment?: ProjectAttachment | null;
/** The issue attachment linked to this need. Populated when the need originates from an intake source (e.g., Slack, Intercom) or when a URL is manually provided. Provides a link back to the original source of the customer feedback. Mutually exclusive with projectAttachment. */
get attachment(): LinearFetch<Attachment> | undefined;
/** The ID of issue attachment linked to this need. populated when the need originates from an intake source (e.g., slack, intercom) or when a url is manually provided. provides a link back to the original source of the customer feedback. mutually exclusive with projectattachment. */
get attachmentId(): string | undefined;
/** An optional comment providing additional context for this need. Null if the need was not created from or associated with a specific comment. */
get comment(): LinearFetch<Comment> | undefined;
/** The ID of an optional comment providing additional context for this need. null if the need was not created from or associated with a specific comment. */
get commentId(): string | undefined;
/** The user who manually created this customer need. Null for needs created automatically by integrations or intake sources. */
get creator(): LinearFetch<User> | undefined;
/** The ID of user who manually created this customer need. null for needs created automatically by integrations or intake sources. */
get creatorId(): string | undefined;
/** The customer organization this need belongs to. Null if the need has not yet been associated with a customer. */
get customer(): LinearFetch<Customer> | undefined;
/** The ID of customer organization this need belongs to. null if the need has not yet been associated with a customer. */
get customerId(): string | undefined;
/** The issue this need is linked to. Either issueId or projectId must be set. When set, the need's projectId is denormalized from the issue's project. */
get issue(): LinearFetch<Issue> | undefined;
/** The ID of issue this need is linked to. either issueid or projectid must be set. when set, the need's projectid is denormalized from the issue's project. */
get issueId(): string | undefined;
/** The issue this customer need was originally created on, before being moved to a different issue or project. Null if the customer need has not been moved from its original location. */
get originalIssue(): LinearFetch<Issue> | undefined;
/** The ID of issue this customer need was originally created on, before being moved to a different issue or project. null if the customer need has not been moved from its original location. */
get originalIssueId(): string | undefined;
/** The project this need is linked to. For issue-based needs, this is denormalized from the issue's project. For project-only needs, this is set directly. */
get project(): LinearFetch<Project> | undefined;
/** The ID of project this need is linked to. for issue-based needs, this is denormalized from the issue's project. for project-only needs, this is set directly. */
get projectId(): string | undefined;
/** Archives a customer need. */
archive(): LinearFetch<CustomerNeedArchivePayload>;
/** Creates a new customer need. */
create(input: CustomerNeedCreateInput): LinearFetch<CustomerNeedPayload>;
/** Deletes a customer need. */
delete(variables?: Omit<DeleteCustomerNeedMutationVariables, "id">): LinearFetch<DeletePayload>;
/** Unarchives a customer need. */
unarchive(): LinearFetch<CustomerNeedArchivePayload>;
/** Updates an existing customer need. Supports moving the need to a different issue or project, changing priority, updating the body content, and managing the attached source URL. */
update(input: CustomerNeedUpdateInput, variables?: Omit<UpdateCustomerNeedMutationVariables, "id" | "input">): LinearFetch<CustomerNeedUpdatePayload>;
}
/**
* A generic payload return from entity archive mutations.
*
* @param request - function to call the graphql client
* @param data - L.CustomerNeedArchivePayloadFragment response data
*/
declare class CustomerNeedArchivePayload extends Request {
private _entity?;
constructor(request: LinearRequest, data: CustomerNeedArchivePayloadFragment);
/** The identifier of the last sync operation. */
lastSyncId: number;
/** Whether the operation was successful. */
success: boolean;
/** The archived/unarchived entity. Null if entity was deleted. */
get entity(): LinearFetch<CustomerNeed> | undefined;
/** The ID of archived/unarchived entity. null if entity was deleted. */
get entityId(): string | undefined;
}
/**
* Certain properties of a customer need.
*
* @param data - L.CustomerNeedChildWebhookPayloadFragment response data
*/
declare class CustomerNeedChildWebhookPayload {
constructor(data: CustomerNeedChildWebhookPayloadFragment);
/** The ID of the attachment this need is referencing. */
attachmentId?: string | null;
/** The ID of the customer that this need is attached to. */
customerId?: string | null;
/** The ID of the customer need. */
id: string;
/** The ID of the issue this need is referencing. */
issueId?: string | null;
/** The ID of the project this need is referencing. */
projectId?: string | null;
}
/**
* CustomerNeedConnection model
*
* @param request - function to call the graphql client
* @param fetch - function to trigger a refetch of this CustomerNeedConnection model
* @param data - CustomerNeedConnection response data
*/
declare class CustomerNeedConnection extends Connection<CustomerNeed> {
constructor(request: LinearRequest, fetch: (connection?: LinearConnectionVariables) => LinearFetch<LinearConnection<CustomerNeed> | undefined>, data: CustomerNeedConnectionFragment);
}
/**
* A notification related to a customer need (request), such as creation, resolution, or being marked as important.
*
* @param request - function to call the graphql client
* @param data - L.CustomerNeedNotificationFragment response data
*/
declare class CustomerNeedNotification extends Request {
private _actor?;
private _customerNeed;
private _externalUserActor?;
private _relatedIssue?;
private _relatedProject?;
private _user;
constructor(request: LinearRequest, data: CustomerNeedNotificationFragment);
/** The time at which the entity was archived. Null if the entity has not been archived. */
archivedAt?: Date | null;
/** The time at which the entity was created. */
createdAt: Date;
/** Related customer need. */
customerNeedId: string;
/** The time at which an email reminder for this notification was sent to the user. Null if no email reminder has been sent. */
emailedAt?: Date | null;
/** The unique identifier of the entity. */
id: string;
/** The time at which the user marked the notification as read. Null if the notification is unread. */
readAt?: Date | null;
/** The time until which a notification is snoozed. After this time, the notification reappears in the user's inbox. Null if the notification is not currently snoozed. */
snoozedUntilAt?: Date | null;
/** Notification type. Determines the kind of event that triggered this notification and which associated entity fields will be populated. */
type: string;
/** The time at which a notification was unsnoozed. Null if the notification has not been unsnoozed. */
unsnoozedAt?: Date | null;
/**
* The last time at which the entity was meaningfully updated. This is the same as the creation time if the entity hasn't
* been updated after creation.
*/
updatedAt: Date;
/** The bot that caused the notification. */
botActor?: ActorBot | null;
/** The category of the notification. */
category: NotificationCategory;
/** The user that caused the notification. Null if the notification was triggered by a non-user actor such as an integration, external user, or system event. */
get actor(): LinearFetch<User> | undefined;
/** The ID of user that caused the notification. null if the notification was triggered by a non-user actor such as an integration, external user, or system event. */
get actorId(): string | undefined;
/** The customer need related to the notification. */
get customerNeed(): LinearFetch<CustomerNeed> | undefined;
/** The external user that caused the notification. Populated when the notification was triggered by an external user (e.g., a commenter from a connected integration like Slack or GitHub) rather than a Linear workspace member. */
get externalUserActor(): LinearFetch<ExternalUser> | undefined;
/** The ID of external user that caused the notification. populated when the notification was triggered by an external user (e.g., a commenter from a connected integration like slack or github) rather than a linear workspace member. */
get externalUserActorId(): string | undefined;
/** The issue related to the notification. */
get relatedIssue(): LinearFetch<Issue> | undefined;
/** The ID of issue related to the notification. */
get relatedIssueId(): string | undefined;
/** The project related to the notification. */
get relatedProject(): LinearFetch<Project> | undefined;
/** The ID of project related to the notification. */
get relatedProjectId(): string | undefined;
/** The recipient user of this notification. */
get user(): LinearFetch<User> | undefined;
/** The ID of recipient user of this notification. */
get userId(): string | undefined;
}
/**
* Return type for customer need mutations.
*
* @param request - function to call the graphql client
* @param data - L.CustomerNeedPayloadFragment response data
*/
declare class CustomerNeedPayload extends Request {
private _need;
constructor(request: LinearRequest, data: CustomerNeedPayloadFragment);
/** The identifier of the last sync operation. */
lastSyncId: number;
/** Whether the operation was successful. */
success: boolean;
/** The customer need entity that was created or updated by the mutation. */
get need(): LinearFetch<CustomerNeed> | undefined;
/** The ID of customer need entity that was created or updated by the mutation. */
get needId(): string | undefined;
}
/**
* Return type for customer need update mutations, including any related needs that were also updated.
*
* @param request - function to call the graphql client
* @param data - L.CustomerNeedUpdatePayloadFragment response data
*/
declare class CustomerNeedUpdatePayload extends Request {
private _need;
constructor(request: LinearRequest, data: CustomerNeedUpdatePayloadFragment);
/** The identifier of the last sync operation. */
lastSyncId: number;
/** Whether the operation was successful. */
success: boolean;
/** Additional customer needs from the same customer on the same issue/project that were updated when applyPriorityToRelatedNeeds was set. */
updatedRelatedNeeds: CustomerNeed[];
/** The customer need entity that was created or updated by the mutation. */
get need(): LinearFetch<CustomerNeed> | undefined;
/** The ID of customer need entity that was created or updated by the mutation. */
get needId(): string | undefined;
}
/**
* Payload for a customer need webhook.
*
* @param data - L.CustomerNeedWebhookPayloadFragment response data
*/
declare class CustomerNeedWebhookPayload {
constructor(data: CustomerNeedWebhookPayloadFragment);
/** The time at which the entity was archived. */
archivedAt?: string | null;
/** The ID of the attachment this need is referencing. */
attachmentId?: string | null;
/** The body of the need in Markdown format. */
body?: string | null;
/** The ID of the comment this need is referencing. */
commentId?: string | null;
/** The time at which the entity was created. */
createdAt: string;
/** The ID of the creator of the customer need. */
creatorId?: string | null;
/** The ID of the customer that this need is attached to. */
customerId?: string | null;
/** The ID of the entity. */
id: string;
/** The ID of the issue this need is referencing. */
issueId?: string | null;
/** The issue ID this customer need was originally created on. Will be undefined if the customer need hasn't been moved. */
originalIssueId?: string | null;
/** The priority of the need. */
priority: number;
/** The ID of the project attachment this need is referencing. */
projectAttachmentId?: string | null;
/** The ID of the project this need is referencing. */
projectId?: string | null;
/** The time at which the entity was updated. */
updatedAt: string;
/** The attachment this need is referencing. */
attachment?: AttachmentWebhookPayload | null;
/** The customer that this need is attached to. */
customer?: CustomerChildWebhookPayload | null;
/** The issue this need is referencing. */
issue?: IssueChildWebhookPayload | null;
/** The project this need is referencing. */
project?: ProjectChildWebhookPayload | null;
}
/**
* A notification related to a customer, such as being added as the customer owner.
*
* @param request - function to call the graphql client
* @param data - L.CustomerNotificationFragment response data
*/
declare class CustomerNotification extends Request {
private _actor?;
private _customer;
private _externalUserActor?;
private _user;
constructor(request: LinearRequest, data: CustomerNotificationFragment);
/** The time at which the entity was archived. Null if the entity has not been archived. */
archivedAt?: Date | null;
/** The time at which the entity was created. */
createdAt: Date;
/** Related customer. */
customerId: string;
/** The time at which an email reminder for this notification was sent to the user. Null if no email reminder has been sent. */
emailedAt?: Date | null;
/** The unique identifier of the entity. */
id: string;
/** The time at which the user marked the notification as read. Null if the notification is unread. */
readAt?: Date | null;
/** The time until which a notification is snoozed. After this time, the notification reappears in the user's inbox. Null if the notification is not currently snoozed. */
snoozedUntilAt?: Date | null;
/** Notification type. Determines the kind of event that triggered this notification and which associated entity fields will be populated. */
type: string;
/** The time at which a notification was unsnoozed. Null if the notification has not been unsnoozed. */
unsnoozedAt?: Date | null;
/**
* The last time at which the entity was meaningfully updated. This is the same as the creation time if the entity hasn't
* been updated after creation.
*/
updatedAt: Date;
/** The bot that caused the notification. */
botActor?: ActorBot | null;
/** The category of the notification. */
category: NotificationCategory;
/** The user that caused the notification. Null if the notification was triggered by a non-user actor such as an integration, external user, or system event. */
get actor(): LinearFetch<User> | undefined;
/** The ID of user that caused the notification. null if the notification was triggered by a non-user actor such as an integration, external user, or system event. */
get actorId(): string | undefined;
/** The customer related to the notification. */
get customer(): LinearFetch<Customer> | undefined;
/** The external user that caused the notification. Populated when the notification was triggered by an external user (e.g., a commenter from a connected integration like Slack or GitHub) rather than a Linear workspace member. */
get externalUserActor(): LinearFetch<ExternalUser> | undefined;
/** The ID of external user that caused the notification. populated when the notification was triggered by an external user (e.g., a commenter from a connected integration like slack or github) rather than a linear workspace member. */
get externalUserActorId(): string | undefined;
/** The recipient user of this notification. */
get user(): LinearFetch<User> | undefined;
/** The ID of recipient user of this notification. */
get userId(): string | undefined;
}
/**
* A notification subscription scoped to a specific customer. The subscriber receives notifications for events related to this customer, such as new customer needs or ownership changes.
*
* @param request - function to call the graphql client
* @param data - L.CustomerNotificationSubscriptionFragment response data
*/
declare class CustomerNotificationSubscription extends Request {
private _customView?;
private _customer;
private _cycle?;
private _initiative?;
private _label?;
private _project?;
private _subscriber;
private _team?;
private _user?;
constructor(request: LinearRequest, data: CustomerNotificationSubscriptionFragment);
/** Whether the subscription is active. When inactive, no notifications are generated from this subscription even though it still exists. */
active: boolean;
/** The time at which the entity was archived. Null if the entity has not been archived. */
archivedAt?: Date | null;
/** The time at which the entity was created. */
createdAt: Date;
/** The unique identifier of the entity. */
id: string;
/** The notification event types that this subscription will deliver to the subscriber. */
notificationSubscriptionTypes: string[];
/**
* The last time at which the entity was meaningfully updated. This is the same as the creation time if the entity hasn't
* been updated after creation.
*/
updatedAt: Date;
/** The type of contextual view (e.g., active issues, backlog) that further scopes a team notification subscription. Null if the subscription is not associated with a specific view type. */
contextViewType?: ContextViewType | null;
/** The type of user-specific view that further scopes a user notification subscription. Null if the subscription is not associated with a user view type. */
userContextViewType?: UserContextViewType | null;
/** The custom view that this notification subscription is scoped to. Null if the subscription targets a different entity type. */
get customView(): LinearFetch<CustomView> | undefined;
/** The ID of custom view that this notification subscription is scoped to. null if the subscription targets a different entity type. */
get customViewId(): string | undefined;
/** The customer subscribed to. */
get customer(): LinearFetch<Customer> | undefined;
/** The ID of customer subscribed to. */
get customerId(): string | undefined;
/** The cycle that this notification subscription is scoped to. Null if the subscription targets a different entity type. */
get cycle(): LinearFetch<Cycle> | undefined;
/** The ID of cycle that this notification subscription is scoped to. null if the subscription targets a different entity type. */
get cycleId(): string | undefined;
/** The initiative that this notification subscription is scoped to. Null if the subscription targets a different entity type. */
get initiative(): LinearFetch<Initiative> | undefined;
/** The ID of initiative that this notification subscription is scoped to. null if the subscription targets a different entity type. */
get initiativeId(): string | undefined;
/** The issue label that this notification subscription is scoped to. Null if the subscription targets a different entity type. */
get label(): LinearFetch<IssueLabel> | undefined;
/** The ID of issue label that this notification subscription is scoped to. null if the subscription targets a different entity type. */
get labelId(): string | undefined;
/** The project that this notification subscription is scoped to. Null if the subscription targets a different entity type. */
get project(): LinearFetch<Project> | undefined;
/** The ID of project that this notification subscription is scoped to. null if the subscription targets a different entity type. */
get projectId(): string | undefined;
/** The user who will receive notifications from this subscription. */
get subscriber(): LinearFetch<User> | undefined;
/** The ID of user who will receive notifications from this subscription. */
get subscriberId(): string | undefined;
/** The team that this notification subscription is scoped to. Null if the subscription targets a different entity type. */
get team(): LinearFetch<Team> | undefined;
/** The ID of team that this notification subscription is scoped to. null if the subscription targets a different entity type. */
get teamId(): string | undefined;
/** The user that this notification subscription is scoped to, for user-specific view subscriptions. Null if the subscription targets a different entity type. */
get user(): LinearFetch<User> | undefined;
/** The ID of user that this notification subscription is scoped to, for user-specific view subscriptions. null if the subscription targets a different entity type. */
get userId(): string | undefined;
}
/**
* Return type for customer mutations.
*
* @param request - function to call the graphql client
* @param data - L.CustomerPayloadFragment response data
*/
declare class CustomerPayload extends Request {
private _customer;
constructor(request: LinearRequest, data: CustomerPayloadFragment);
/** The identifier of the last sync operation. */
lastSyncId: number;
/** Whether the operation was successful. */
success: boolean;
/** The customer entity that was created or updated by the mutation. */
get customer(): LinearFetch<Customer> | undefined;
/** The ID of customer entity that was created or updated by the mutation. */
get customerId(): string | undefined;
}
/**
* A workspace-defined lifecycle status for customers (e.g., Active, Churned, Trial). Customer statuses are ordered by position and displayed with a color in the UI. Every workspace has at least one status, and a default status is assigned to new customers when none is specified.
*
* @param request - function to call the graphql client
* @param data - L.CustomerStatusFragment response data
*/
declare class CustomerStatus extends Request {
constructor(request: LinearRequest, data: CustomerStatusFragment);
/** The time at which the entity was archived. Null if the entity has not been archived. */
archivedAt?: Date | null;
/** The color of the status indicator in the UI, as a HEX string (e.g., '#ff0000'). */
color: string;
/** The time at which the entity was created. */
createdAt: Date;
/** An optional description explaining what this status represents in the customer lifecycle. */
description?: string | null;
/** The user-facing display name of the status shown in the UI. Defaults to the internal name if not explicitly set. */
displayName: string;
/** The unique identifier of the entity. */
id: string;
/** The internal name of the status. Used as the default display name if no displayName is explicitly set. */
name: string;
/** The sort position of the status in the workspace's customer lifecycle flow. Lower values appear first. Collisions are automatically resolved by redistributing positions. */
position: number;
/**
* The last time at which the entity was meaningfully updated. This is the same as the creation time if the entity hasn't
* been updated after creation.
*/
updatedAt: Date;
/** [Deprecated] The type of the customer status. Always returns null as statuses are no longer grouped by type. */
type?: CustomerStatusType | null;
/** Creates a new customer status. */
create(input: CustomerStatusCreateInput): LinearFetch<CustomerStatusPayload>;
/** Deletes a customer status. Cannot delete the last remaining status in a workspace, and the status must not be in use by any customers. */
delete(): LinearFetch<DeletePayload>;
/** Updates a customer status. */
update(input: CustomerStatusUpdateInput): LinearFetch<CustomerStatusPayload>;
}
/**
* Certain properties of a customer status.
*
* @param data - L.CustomerStatusChildWebhookPayloadFragment response data
*/
declare class CustomerStatusChildWebhookPayload {
constructor(data: CustomerStatusChildWebhookPayloadFragment);
/** The color of the customer status. */
color: string;
/** The description of the customer status. */
description?: string | null;
/** The display name of the customer status. */
displayName: string;
/** The ID of the customer status. */
id: string;
/** The name of the customer status. */
name: string;
/** The type of the customer status. */
type?: string | null;
}
/**
* CustomerStatusConnection model
*
* @param request - function to call the graphql client
* @param fetch - function to trigger a refetch of this CustomerStatusConnection model
* @param data - CustomerStatusConnection response data
*/
declare class CustomerStatusConnection extends Connection<CustomerStatus> {
constructor(request: LinearRequest, fetch: (connection?: LinearConnectionVariables) => LinearFetch<LinearConnection<CustomerStatus> | undefined>, data: CustomerStatusConnectionFragment);
}
/**
* Return type for customer status mutations.
*
* @param request - function to call the graphql client
* @param data - L.CustomerStatusPayloadFragment response data
*/
declare class CustomerStatusPayload extends Request {
private _status;
constructor(request: LinearRequest, data: CustomerStatusPayloadFragment);
/** The identifier of the last sync operation. */
lastSyncId: number;
/** Whether the operation was successful. */
success: boolean;
/** The customer status entity that was created or updated by the mutation. */
get status(): LinearFetch<CustomerStatus> | undefined;
/** The ID of customer status entity that was created or updated by the mutation. */
get statusId(): string | undefined;
}
/**
* A workspace-defined tier or segment for categorizing customers (e.g., Enterprise, Pro, Free). Customer tiers are used for prioritization and filtering, are ordered by position, and displayed with a color in the UI. Tier names are unique within a workspace.
*
* @param request - function to call the graphql client
* @param data - L.CustomerTierFragment response data
*/
declare class CustomerTier extends Request {
constructor(request: LinearRequest, data: CustomerTierFragment);
/** The time at which the entity was archived. Null if the entity has not been archived. */
archivedAt?: Date | null;
/** The color of the tier indicator in the UI, as a HEX string (e.g., '#ff0000'). */
color: string;
/** The time at which the entity was created. */
createdAt: Date;
/** An optional description explaining what this tier represents and its intended use for customer segmentation. */
description?: string | null;
/** The user-facing display name of the tier shown in the UI. Defaults to the internal name if not explicitly set. */
displayName: string;
/** The unique identifier of the entity. */
id: string;
/** The internal name of the tier. Must be unique within the workspace. Used as the default display name if no displayName is explicitly set. */
name: string;
/** The sort position of the tier in the workspace's customer tier ordering. Lower values appear first. Collisions are automatically resolved by redistributing positions. */
position: number;
/**
* The last time at which the entity was meaningfully updated. This is the same as the creation time if the entity hasn't
* been updated after creation.
*/
updatedAt: Date;
/** Creates a new customer tier. */
create(input: CustomerTierCreateInput): LinearFetch<CustomerTierPayload>;
/** Deletes a customer tier. The tier must not be in use by any customers. */
delete(): LinearFetch<DeletePayload>;
/** Updates a customer tier. */
update(input: CustomerTierUpdateInput): LinearFetch<CustomerTierPayload>;
}
/**
* Certain properties of a customer tier.
*
* @param data - L.CustomerTierChildWebhookPayloadFragment response data
*/
declare class CustomerTierChildWebhookPayload {
constructor(data: CustomerTierChildWebhookPayloadFragment);
/** The color of the customer tier. */
color: string;
/** The description of the customer tier. */
description?: string | null;
/** The display name of the customer tier. */
displayName: string;
/** The ID of the customer tier. */
id: string;
/** The name of the customer tier. */
name: string;
}
/**
* CustomerTierConnection model
*
* @param request - function to call the graphql client
* @param fetch - function to trigger a refetch of this CustomerTierConnection model
* @param data - CustomerTierConnection response data
*/
declare class CustomerTierConnection extends Connection<CustomerTier> {
constructor(request: LinearRequest, fetch: (connection?: LinearConnectionVariables) => LinearFetch<LinearConnection<CustomerTier> | undefined>, data: CustomerTierConnectionFragment);
}
/**
* Return type for customer tier mutations.
*
* @param request - function to call the graphql client
* @param data - L.CustomerTierPayloadFragment response data
*/
declare class CustomerTierPayload extends Request {
private _tier;
constructor(request: LinearRequest, data: CustomerTierPayloadFragment);
/** The identifier of the last sync operation. */
lastSyncId: number;
/** Whether the operation was successful. */
success: boolean;
/** The customer tier entity that was created or updated by the mutation. */
get tier(): LinearFetch<CustomerTier> | undefined;
/** The ID of customer tier entity that was created or updated by the mutation. */
get tierId(): string | undefined;
}
/**
* Payload for a customer webhook.
*
* @param data - L.CustomerWebhookPayloadFragment response data
*/
declare class CustomerWebhookPayload {
constructor(data: CustomerWebhookPayloadFragment);
/** The approximate number of needs of the customer. */
approximateNeedCount: number;
/** The time at which the entity was archived. */
archivedAt?: string | null;
/** The time at which the entity was created. */
createdAt: string;
/** The domains associated with this customer. */
domains: string[];
/** The ids of the customers in external systems. */
externalIds: string[];
/** The ID of the entity. */
id: string;
/** The customer's logo URL. */
logoUrl?: string | null;
/** The ID of the main source, when a customer has multiple sources. Must be one of externalIds. */
mainSourceId?: string | null;
/** The name of the customer. */
name: string;
/** The ID of the user who owns the customer. */
ownerId?: string | null;
/** The annual revenue generated by the customer. */
revenue?: number | null;
/** The size of the customer. */
size?: number | null;
/** The ID of the Slack channel used to interact with the customer. */
slackChannelId?: string | null;
/** The customer's unique URL slug. */
slugId: string;
/** The ID of the customer status. */
statusId?: string | null;
/** The ID of the customer tier. */
tierId?: string | null;
/** The time at which the entity was updated. */
updatedAt: string;
/** The URL of the customer. */
url: string;
/** The customer status. */
status?: CustomerStatusChildWebhookPayload | null;
/** The customer tier. */
tier?: CustomerTierChildWebhookPayload | null;
}
/**
* A time-boxed iteration (similar to a sprint) used for planning and tracking work. Cycles belong to a team and have defined start and end dates. Issues are assigned to cycles for time-based planning, and progress is tracked via completed, in-progress, and total scope. Cycles are automatically completed when their end date passes, and uncompleted issues can be carried over to the next cycle.
*
* @param request - function to call the graphql client
* @param data - L.CycleFragment response data
*/
declare class Cycle extends Request {
private _inheritedFrom?;
private _team;
constructor(request: LinearRequest, data: CycleFragment);
/** The time at which the entity was archived. Null if the entity has not been archived. */
archivedAt?: Date | null;
/** The time at which the cycle was automatically archived by the auto-pruning process. Null if the cycle has not been auto-archived. */
autoArchivedAt?: Date | null;
/** The completion time of the cycle. If null, the cycle has not been completed yet. A cycle is completed either when its end date passes or when it is manually completed early. */
completedAt?: Date | null;
/** The number of completed issues in the cycle after each day. Each entry corresponds to the same day index as issueCountHistory. */
completedIssueCountHistory: number[];
/** The number of completed estimation points after each day. Used together with scopeHistory for burndown charts. */
completedScopeHistory: number[];
/** The time at which the entity was created. */
createdAt: Date;
/** The description of the cycle. */
description?: string | null;
/** The end date and time of the cycle. When a cycle is completed prematurely, this is updated to match the completion time. When cycles are disabled, both endsAt and completedAt are set to the current time. */
endsAt: Date;
/** The unique identifier of the entity. */
id: string;
/** The number of in-progress estimation points after each day. Tracks work that has been started but not yet completed. */
inProgressScopeHistory: number[];
/** Whether the cycle is currently active. A cycle is active if the current time is between its start and end dates and it has not been completed. */
isActive: boolean;
/** Whether the cycle has not yet started. True if the cycle's start date is in the future. */
isFuture: boolean;
/** Whether this cycle is the next upcoming (not yet started) cycle for the team. */
isNext: boolean;
/** Whether the cycle's end date has passed. */
isPast: boolean;
/** Whether this cycle is the most recently completed cycle for the team. */
isPrevious: boolean;
/** The total number of issues in the cycle after each day. Each entry represents a snapshot at the end of that day, forming the basis for burndown charts. */
issueCountHistory: number[];
/** The custom name of the cycle. If not set, the cycle is displayed using its number (e.g., "Cycle 5"). */
name?: string | null;
/** The auto-incrementing number of the cycle, unique within its team. This value is assigned automatically by the database and cannot be set on creation. */
number: number;
/** The overall progress of the cycle as a number between 0 and 1. Calculated as (completed estimate points + 0.25 * in-progress estimate points) / total estimate points. Returns 0 if no estimate points exist. */
progress: number;
/** The total number of estimation points (scope) in the cycle after each day. Used for scope-based burndown charts. */
scopeHistory: number[];
/** The start date and time of the cycle. */
startsAt: Date;
/**
* The last time at which the entity was meaningfully updated. This is the same as the creation time if the entity hasn't
* been updated after creation.
*/
updatedAt: Date;
/** The parent cycle this cycle was inherited from. When a parent team creates cycles, sub-teams automatically receive corresponding inherited cycles. */
get inheritedFrom(): LinearFetch<Cycle> | undefined;
/** The ID of parent cycle this cycle was inherited from. when a parent team creates cycles, sub-teams automatically receive corresponding inherited cycles. */
get inheritedFromId(): string | undefined;
/** The team that the cycle belongs to. Each cycle is scoped to exactly one team. */
get team(): LinearFetch<Team> | undefined;
/** The ID of team that the cycle belongs to. each cycle is scoped to exactly one team. */
get teamId(): string | undefined;
/** Issues that are currently assigned to this cycle. */
issues(variables?: Omit<Cycle_IssuesQueryVariables, "id">): LinearFetch<IssueConnection>;
/** Issues that were still open (not completed) when the cycle was closed. These issues may have been moved to the next cycle. */
uncompletedIssuesUponClose(variables?: Omit<Cycle_UncompletedIssuesUponCloseQueryVariables, "id">): LinearFetch<IssueConnection>;
/** Archives a cycle. All issues currently assigned to the cycle are unlinked from it before archiving. */
archive(): LinearFetch<CycleArchivePayload>;
/** Creates a new cycle. */
create(input: CycleCreateInput): LinearFetch<CyclePayload>;
/** Updates a cycle. */
update(input: CycleUpdateInput): LinearFetch<CyclePayload>;
}
/**
* A generic payload return from entity archive mutations.
*
* @param request - function to call the graphql client
* @param data - L.CycleArchivePayloadFragment response data
*/
declare class CycleArchivePayload extends Request {
private _entity?;
constructor(request: LinearRequest, data: CycleArchivePayloadFragment);
/** The identifier of the last sync operation. */
lastSyncId: number;
/** Whether the operation was successful. */
success: boolean;
/** The archived/unarchived entity. Null if entity was deleted. */
get entity(): LinearFetch<Cycle> | undefined;
/** The ID of archived/unarchived entity. null if entity was deleted. */
get entityId(): string | undefined;
}
/**
* Certain properties of a cycle.
*
* @param data - L.CycleChildWebhookPayloadFragment response data
*/
declare class CycleChildWebhookPayload {
constructor(data: CycleChildWebhookPayloadFragment);
/** The end date of the cycle. */
endsAt: string;
/** The ID of the cycle. */
id: string;
/** The name of the cycle. */
name?: string | null;
/** The number of the cycle. */
number: number;
/** The start date of the cycle. */
startsAt: string;
}
/**
* CycleConnection model
*
* @param request - function to call the graphql client
* @param fetch - function to trigger a refetch of this CycleConnection model
* @param data - CycleConnection response data
*/
declare class CycleConnection extends Connection<Cycle> {
constructor(request: LinearRequest, fetch: (connection?: LinearConnectionVariables) => LinearFetch<LinearConnection<Cycle> | undefined>, data: CycleConnectionFragment);
}
/**
* A notification subscription scoped to a specific cycle. The subscriber receives notifications for events related to issues in this cycle.
*
* @param request - function to call the graphql client
* @param data - L.CycleNotificationSubscriptionFragment response data
*/
declare class CycleNotificationSubscription extends Request {
private _customView?;
private _customer?;
private _cycle;
private _initiative?;
private _label?;
private _project?;
private _subscriber;
private _team?;
private _user?;
constructor(request: LinearRequest, data: CycleNotificationSubscriptionFragment);
/** Whether the subscription is active. When inactive, no notifications are generated from this subscription even though it still exists. */
active: boolean;
/** The time at which the entity was archived. Null if the entity has not been archived. */
archivedAt?: Date | null;
/** The time at which the entity was created. */
createdAt: Date;
/** The unique identifier of the entity. */
id: string;
/** The notification event types that this subscription will deliver to the subscriber. */
notificationSubscriptionTypes: string[];
/**
* The last time at which the entity was meaningfully updated. This is the same as the creation time if the entity hasn't
* been updated after creation.
*/
updatedAt: Date;
/** The type of contextual view (e.g., active issues, backlog) that further scopes a team notification subscription. Null if the subscription is not associated with a specific view type. */
contextViewType?: ContextViewType | null;
/** The type of user-specific view that further scopes a user notification subscription. Null if the subscription is not associated with a user view type. */
userContextViewType?: UserContextViewType | null;
/** The custom view that this notification subscription is scoped to. Null if the subscription targets a different entity type. */
get customView(): LinearFetch<CustomView> | undefined;
/** The ID of custom view that this notification subscription is scoped to. null if the subscription targets a different entity type. */
get customViewId(): string | undefined;
/** The customer that this notification subscription is scoped to. Null if the subscription targets a different entity type. */
get customer(): LinearFetch<Customer> | undefined;
/** The ID of customer that this notification subscription is scoped to. null if the subscription targets a different entity type. */
get customerId(): string | undefined;
/** The cycle subscribed to. */
get cycle(): LinearFetch<Cycle> | undefined;
/** The ID of cycle subscribed to. */
get cycleId(): string | undefined;
/** The initiative that this notification subscription is scoped to. Null if the subscription targets a different entity type. */
get initiative(): LinearFetch<Initiative> | undefined;
/** The ID of initiative that this notification subscription is scoped to. null if the subscription targets a different entity type. */
get initiativeId(): string | undefined;
/** The issue label that this notification subscription is scoped to. Null if the subscription targets a different entity type. */
get label(): LinearFetch<IssueLabel> | undefined;
/** The ID of issue label that this notification subscription is scoped to. null if the subscription targets a different entity type. */
get labelId(): string | undefined;
/** The project that this notification subscription is scoped to. Null if the subscription targets a different entity type. */
get project(): LinearFetch<Project> | undefined;
/** The ID of project that this notification subscription is scoped to. null if the subscription targets a different entity type. */
get projectId(): string | undefined;
/** The user who will receive notifications from this subscription. */
get subscriber(): LinearFetch<User> | undefined;
/** The ID of user who will receive notifications from this subscription. */
get subscriberId(): string | undefined;
/** The team that this notification subscription is scoped to. Null if the subscription targets a different entity type. */
get team(): LinearFetch<Team> | undefined;
/** The ID of team that this notification subscription is scoped to. null if the subscription targets a different entity type. */
get teamId(): string | undefined;
/** The user that this notification subscription is scoped to, for user-specific view subscriptions. Null if the subscription targets a different entity type. */
get user(): LinearFetch<User> | undefined;
/** The ID of user that this notification subscription is scoped to, for user-specific view subscriptions. null if the subscription targets a different entity type. */
get userId(): string | undefined;
}
/**
* The payload returned by cycle mutations.
*
* @param request - function to call the graphql client
* @param data - L.CyclePayloadFragment response data
*/
declare class CyclePayload extends Request {
private _cycle?;
constructor(request: LinearRequest, data: CyclePayloadFragment);
/** The identifier of the last sync operation. */
lastSyncId: number;
/** Whether the operation was successful. */
success: boolean;
/** The cycle that was created or updated. */
get cycle(): LinearFetch<Cycle> | undefined;
/** The ID of cycle that was created or updated. */
get cycleId(): string | undefined;
}
/**
* Payload for a cycle webhook.
*
* @param data - L.CycleWebhookPayloadFragment response data
*/
declare class CycleWebhookPayload {
constructor(data: CycleWebhookPayloadFragment);
/** The time at which the entity was archived. */
archivedAt?: string | null;
/** The time at which the cycle was automatically archived by the auto pruning process. */
autoArchivedAt?: string | null;
/** The completion time of the cycle. If null, the cycle hasn't been completed. */
completedAt?: string | null;
/** The number of completed issues in the cycle after each day. */
completedIssueCountHistory: number[];
/** The number of completed estimation points after each day. */
completedScopeHistory: number[];
/** The time at which the entity was created. */
createdAt: string;
/** The cycle's description. */
description?: string | null;
/** The end date of the cycle. */
endsAt: string;
/** The ID of the entity. */
id: string;
/** The number of in progress estimation points after each day. */
inProgressScopeHistory: number[];
/** The ID of the cycle inherited from. */
inheritedFromId?: string | null;
/** The total number of issues in the cycle after each day. */
issueCountHistory: number[];
/** The name of the cycle. */
name?: string | null;
/** The number of the cycle. */
number: number;
/** The total number of estimation points after each day. */
scopeHistory: number[];
/** The start date of the cycle. */
startsAt: string;
/** The team ID of the cycle. */
teamId: string;
/** The IDs of the uncompleted issues upon close. */
uncompletedIssuesUponCloseIds: string[];
/** The time at which the entity was updated. */
updatedAt: string;
}
/**
* A generic payload return from entity deletion mutations.
*
* @param request - function to call the graphql client
* @param data - L.DeletePayloadFragment response data
*/
declare class DeletePayload extends Request {
constructor(request: LinearRequest, data: DeletePayloadFragment);
/** The identifier of the deleted entity. */
entityId: string;
/** The identifier of the last sync operation. */
lastSyncId: number;
/** Whether the operation was successful. */
success: boolean;
}
/**
* A rich-text document that lives within a project, initiative, team, issue, release, or cycle. Documents support collaborative editing via ProseMirror/Yjs and store their content in a separate DocumentContent entity. Each document is associated with exactly one parent entity.
*
* @param request - function to call the graphql client
* @param data - L.DocumentFragment response data
*/
declare class Document extends Request {
private _creator?;
private _initiative?;
private _issue?;
private _lastAppliedTemplate?;
private _owner?;
private _project?;
private _release?;
private _updatedBy?;
constructor(request: LinearRequest, data: DocumentFragment);
/** The time at which the entity was archived. Null if the entity has not been archived. */
archivedAt?: Date | null;
/** The hex color of the document icon. Null if no custom color has been set. */
color?: string | null;
/** The document's content in markdown format. */
content?: string | null;
/** The time at which the entity was created. */
createdAt: Date;
/** The ID of the document content associated with the document. */
documentContentId?: string | null;
/** The time at which the document was hidden from the default view. Null if the document has not been hidden. */
hiddenAt?: Date | null;
/** The icon of the document, either a decorative icon type or an emoji string. Null if no icon has been set. */
icon?: string | null;
/** The unique identifier of the entity. */
id: string;
/** The document's unique URL slug, used to construct human-readable URLs. */
slugId: string;
/** The sort order of the document in its parent entity's resources list. This order is shared with other resource types such as external links. */
sortOrder: number;
/** The title of the document. An empty string indicates an untitled document. */
title: string;
/** A flag that indicates whether the document is in the trash bin. Trashed documents are archived and can be restored. */
trashed?: boolean | null;
/**
* The last time at which the entity was meaningfully updated. This is the same as the creation time if the entity hasn't
* been updated after creation.
*/
updatedAt: Date;
/** The canonical url for the document. */
url: string;
/** The user who created the document. Null if the creator's account has been deleted. */
get creator(): LinearFetch<User> | undefined;
/** The ID of user who created the document. null if the creator's account has been deleted. */
get creatorId(): string | undefined;
/** The initiative that the document is associated with. Null if the document belongs to a different parent entity type. */
get initiative(): LinearFetch<Initiative> | undefined;
/** The ID of initiative that the document is associated with. null if the document belongs to a different parent entity type. */
get initiativeId(): string | undefined;
/** The issue that the document is associated with. Null if the document belongs to a different parent entity type. */
get issue(): LinearFetch<Issue> | undefined;
/** The ID of issue that the document is associated with. null if the document belongs to a different parent entity type. */
get issueId(): string | undefined;
/** The last template that was applied to this document. Null if no template has been applied. */
get lastAppliedTemplate(): LinearFetch<Template> | undefined;
/** The ID of last template that was applied to this document. null if no template has been applied. */
get lastAppliedTemplateId(): string | undefined;
/** The owner of the document. Null if no owner is assigned or the owner's account has been deleted. */
get owner(): LinearFetch<User> | undefined;
/** The ID of owner of the document. null if no owner is assigned or the owner's account has been deleted. */
get ownerId(): string | undefined;
/** The project that the document is associated with. Null if the document belongs to a different parent entity type. */
get project(): LinearFetch<Project> | undefined;
/** The ID of project that the document is associated with. null if the document belongs to a different parent entity type. */
get projectId(): string | undefined;
/** The release that the document is associated with. Null if the document belongs to a different parent entity type. */
get release(): LinearFetch<Release> | undefined;
/** The ID of release that the document is associated with. null if the document belongs to a different parent entity type. */
get releaseId(): string | undefined;
/** The user who last updated the document. Null if the user's account has been deleted. */
get updatedBy(): LinearFetch<User> | undefined;
/** The ID of user who last updated the document. null if the user's account has been deleted. */
get updatedById(): string | undefined;
/** Comments associated with the document. */
comments(variables?: Omit<Document_CommentsQueryVariables, "id">): LinearFetch<CommentConnection>;
/** Creates a new document. */
create(input: DocumentCreateInput): LinearFetch<DocumentPayload>;
/** Deletes (trashes) a document. The document is marked as trashed and archived, but not permanently removed. */
delete(): LinearFetch<DocumentArchivePayload>;
/** Restores a previously trashed document by unarchiving it. */
unarchive(): LinearFetch<DocumentArchivePayload>;
/** Updates a document. */
update(input: DocumentUpdateInput): LinearFetch<DocumentPayload>;
}
/**
* A generic payload return from entity archive mutations.
*
* @param request - function to call the graphql client
* @param data - L.DocumentArchivePayloadFragment response data
*/
declare class DocumentArchivePayload extends Request {
private _entity?;
constructor(request: LinearRequest, data: DocumentArchivePayloadFragment);
/** The identifier of the last sync operation. */
lastSyncId: number;
/** Whether the operation was successful. */
success: boolean;
/** The archived/unarchived entity. Null if entity was deleted. */
get entity(): LinearFetch<Document> | undefined;
/** The ID of archived/unarchived entity. null if entity was deleted. */
get entityId(): string | undefined;
}
/**
* Certain properties of a document.
*
* @param data - L.DocumentChildWebhookPayloadFragment response data
*/
declare class DocumentChildWebhookPayload {
constructor(data: DocumentChildWebhookPayloadFragment);
/** The ID of the document. */
id: string;
/** The ID of the initiative this document belongs to. */
initiativeId?: string | null;
/** The ID of the project this document belongs to. */
projectId?: string | null;
/** The title of the document. */
title: string;
/** The initiative this document belongs to. */
initiative?: InitiativeChildWebhookPayload | null;
/** The project this document belongs to. */
project?: ProjectChildWebhookPayload | null;
}
/**
* DocumentConnection model
*
* @param request - function to call the graphql client
* @param fetch - function to trigger a refetch of this DocumentConnection model
* @param data - DocumentConnection response data
*/
declare class DocumentConnection extends Connection<Document> {
constructor(request: LinearRequest, fetch: (connection?: LinearConnectionVariables) => LinearFetch<LinearConnection<Document> | undefined>, data: DocumentConnectionFragment);
}
/**
* The rich-text content body of a document, issue, project, initiative, project milestone, pull request, release note, automation prompt, AI prompt rules, or welcome message. Content is stored as a base64-encoded Yjs state and can be converted to Markdown or ProseMirror JSON. Each DocumentContent belongs to exactly one parent entity and supports real-time collaborative editing.
*
* @param request - function to call the graphql client
* @param data - L.DocumentContentFragment response data
*/
declare class DocumentContent extends Request {
private _document?;
private _initiative?;
private _issue?;
private _project?;
private _projectMilestone?;
constructor(request: LinearRequest, data: DocumentContentFragment);
/** The time at which the entity was archived. Null if the entity has not been archived. */
archivedAt?: Date | null;
/** The document content in markdown format. This is a derived representation of the canonical Yjs content state. */
content?: string | null;
/** The document content state as a base64-encoded Yjs state update. This is the canonical representation of the document content used for collaborative editing. */
contentState?: string | null;
/** The time at which the entity was created. */
createdAt: Date;
/** The unique identifier of the entity. */
id: string;
/** The time at which the document content was restored from a previous version in the content history. Null if the content has never been restored. */
restoredAt?: Date | null;
/**
* The last time at which the entity was meaningfully updated. This is the same as the creation time if the entity hasn't
* been updated after creation.
*/
updatedAt: Date;
/** The AI prompt rules that the content is associated with. Null if the content belongs to a different parent entity type. */
aiPromptRules?: AiPromptRules | null;
/** The welcome message that the content is associated with. Null if the content belongs to a different parent entity type. */
welcomeMessage?: WelcomeMessage | null;
/** The document that the content is associated with. Null if the content belongs to a different parent entity type. */
get document(): LinearFetch<Document> | undefined;
/** The ID of document that the content is associated with. null if the content belongs to a different parent entity type. */
get documentId(): string | undefined;
/** The initiative that the content is associated with. Null if the content belongs to a different parent entity type. */
get initiative(): LinearFetch<Initiative> | undefined;
/** The ID of initiative that the content is associated with. null if the content belongs to a different parent entity type. */
get initiativeId(): string | undefined;
/** The issue that the content is associated with. Null if the content belongs to a different parent entity type. */
get issue(): LinearFetch<Issue> | undefined;
/** The ID of issue that the content is associated with. null if the content belongs to a different parent entity type. */
get issueId(): string | undefined;
/** The project that the content is associated with. Null if the content belongs to a different parent entity type. */
get project(): LinearFetch<Project> | undefined;
/** The ID of project that the content is associated with. null if the content belongs to a different parent entity type. */
get projectId(): string | undefined;
/** The project milestone that the content is associated with. Null if the content belongs to a different parent entity type. */
get projectMilestone(): LinearFetch<ProjectMilestone> | undefined;
/** The ID of project milestone that the content is associated with. null if the content belongs to a different parent entity type. */
get projectMilestoneId(): string | undefined;
}
/**
* Certain properties of a document content.
*
* @param data - L.DocumentContentChildWebhookPayloadFragment response data
*/
declare class DocumentContentChildWebhookPayload {
constructor(data: DocumentContentChildWebhookPayloadFragment);
/** The document this document content belongs to. */
document?: DocumentChildWebhookPayload | null;
/** The project this document belongs to. */
project?: ProjectChildWebhookPayload | null;
}
/**
* A draft revision of document content, pending user review. Each user can have at most one draft per document content. Drafts are seeded from the live document state and stored as base64-encoded Yjs state updates, allowing independent editing without affecting the published document until the user explicitly applies their changes.
*
* @param request - function to call the graphql client
* @param data - L.DocumentContentDraftFragment response data
*/
declare class DocumentContentDraft extends Request {
private _user;
constructor(request: LinearRequest, data: DocumentContentDraftFragment);
/** The time at which the entity was archived. Null if the entity has not been archived. */
archivedAt?: Date | null;
/** The draft content state as a base64-encoded Yjs state update. This represents the user's in-progress edits that have not yet been applied to the live document. */
contentState: string;
/** The time at which the entity was created. */
createdAt: Date;
/** The identifier of the document content that this draft is a revision of. */
documentContentId: string;
/** The unique identifier of the entity. */
id: string;
/**
* The last time at which the entity was meaningfully updated. This is the same as the creation time if the entity hasn't
* been updated after creation.
*/
updatedAt: Date;
/** The identifier of the user who owns this draft. */
userId: string;
/** The document content that this draft is a revision of. */
documentContent: DocumentContent;
/** The user who created or owns this draft. */
get user(): LinearFetch<User> | undefined;
}
/**
* DocumentContentHistoryPayload model
*
* @param request - function to call the graphql client
* @param data - L.DocumentContentHistoryPayloadFragment response data
*/
declare class DocumentContentHistoryPayload extends Request {
constructor(request: LinearRequest, data: DocumentContentHistoryPayloadFragment);
/** Whether the operation was successful. */
success: boolean;
/** The document content history entries. */
history: DocumentContentHistoryType[];
}
/**
* DocumentContentHistoryType model
*
* @param request - function to call the graphql client
* @param data - L.DocumentContentHistoryTypeFragment response data
*/
declare class DocumentContentHistoryType extends Request {
constructor(request: LinearRequest, data: DocumentContentHistoryTypeFragment);
/** IDs of users whose edits are included in this history entry. */
actorIds?: string[] | null;
/** The timestamp of the document content state when this snapshot was captured. This can differ from createdAt because the content is captured from its state at the previously known updatedAt timestamp in the case of an update. On document creation, these timestamps can be identical. */
contentDataSnapshotAt: Date;
/** The date when this document content history entry record was created. */
createdAt: Date;
/** The identifier of the document content that this history entry snapshots. */
documentContentId: string;
/** The unique identifier of the document content history entry. */
id: string;
/** Metadata associated with the history entry, including content diffs and AI-generated change summaries. */
metadata?: Record<string, unknown> | null;
}
/**
* A pending revision of document content. Revisions are seeded from the live document state and stored as base64-encoded Yjs state updates, allowing automation edits to accumulate without affecting the published document until the changes are explicitly applied.
*
* @param request - function to call the graphql client
* @param data - L.DocumentContentRevisionFragment response data
*/
declare class DocumentContentRevision extends Request {
constructor(request: LinearRequest, data: DocumentContentRevisionFragment);
/** The time at which the entity was archived. Null if the entity has not been archived. */
archivedAt?: Date | null;
/** The live document content state this revision was last refreshed from, as a base64-encoded Yjs state update. */
baseContentState: string;
/** Hash of the revision state that should be summarized. */
contentHash?: string | null;
/** The pending revision content state as a base64-encoded Yjs state update. This represents the revision that has not yet been applied to the live document. */
contentState: string;
/** The workflow definitions that contributed edits to this revision. */
contributorWorkflowDefinitionIds: string[];
/** The time at which the entity was created. */
createdAt: Date;
/** The identifier of the document content that this revision is based on. */
documentContentId: string;
/** The unique identifier of the entity. */
id: string;
/** A short summary of the pending revision changes. */
summary?: string | null;
/** Hash of the revision state that the summary describes. */
summaryContentHash?: string | null;
/**
* The last time at which the entity was meaningfully updated. This is the same as the creation time if the entity hasn't
* been updated after creation.
*/
updatedAt: Date;
/** The document content that this revision is based on. */
documentContent: DocumentContent;
}
/**
* A notification related to a document, such as comments, mentions, content changes, or document lifecycle events.
*
* @param request - function to call the graphql client
* @param data - L.DocumentNotificationFragment response data
*/
declare class DocumentNotification extends Request {
private _actor?;
private _externalUserActor?;
private _user;
constructor(request: LinearRequest, data: DocumentNotificationFragment);
/** The time at which the entity was archived. Null if the entity has not been archived. */
archivedAt?: Date | null;
/** Related comment ID. Null if the notification is not related to a comment. */
commentId?: string | null;
/** The time at which the entity was created. */
createdAt: Date;
/** Related document ID. */
documentId: string;
/** The time at which an email reminder for this notification was sent to the user. Null if no email reminder has been sent. */
emailedAt?: Date | null;
/** The unique identifier of the entity. */
id: string;
/** Related parent comment ID. Null if the notification is not related to a comment. */
parentCommentId?: string | null;
/** Name of the reaction emoji related to the notification. */
reactionEmoji?: string | null;
/** The time at which the user marked the notification as read. Null if the notification is unread. */
readAt?: Date | null;
/** The time until which a notification is snoozed. After this time, the notification reappears in the user's inbox. Null if the notification is not currently snoozed. */
snoozedUntilAt?: Date | null;
/** Notification type. Determines the kind of event that triggered this notification and which associated entity fields will be populated. */
type: string;
/** The time at which a notification was unsnoozed. Null if the notification has not been unsnoozed. */
unsnoozedAt?: Date | null;
/**
* The last time at which the entity was meaningfully updated. This is the same as the creation time if the entity hasn't
* been updated after creation.
*/
updatedAt: Date;
/** The bot that caused the notification. */
botActor?: ActorBot | null;
/** The category of the notification. */
category: NotificationCategory;
/** The user that caused the notification. Null if the notification was triggered by a non-user actor such as an integration, external user, or system event. */
get actor(): LinearFetch<User> | undefined;
/** The ID of user that caused the notification. null if the notification was triggered by a non-user actor such as an integration, external user, or system event. */
get actorId(): string | undefined;
/** The external user that caused the notification. Populated when the notification was triggered by an external user (e.g., a commenter from a connected integration like Slack or GitHub) rather than a Linear workspace member. */
get externalUserActor(): LinearFetch<ExternalUser> | undefined;
/** The ID of external user that caused the notification. populated when the notification was triggered by an external user (e.g., a commenter from a connected integration like slack or github) rather than a linear workspace member. */
get externalUserActorId(): string | undefined;
/** The recipient user of this notification. */
get user(): LinearFetch<User> | undefined;
/** The ID of recipient user of this notification. */
get userId(): string | undefined;
}
/**
* The result of a document mutation.
*
* @param request - function to call the graphql client
* @param data - L.DocumentPayloadFragment response data
*/
declare class DocumentPayload extends Request {
private _document;
constructor(request: LinearRequest, data: DocumentPayloadFragment);
/** The identifier of the last sync operation. */
lastSyncId: number;
/** Whether the operation was successful. */
success: boolean;
/** The document that was created or updated. */
get document(): LinearFetch<Document> | undefined;
/** The ID of document that was created or updated. */
get documentId(): string | undefined;
}
/**
* DocumentSearchPayload model
*
* @param request - function to call the graphql client
* @param data - L.DocumentSearchPayloadFragment response data
*/
declare class DocumentSearchPayload extends Request {
constructor(request: LinearRequest, data: DocumentSearchPayloadFragment);
/** Total number of matching results before pagination is applied. */
totalCount: number;
nodes: DocumentSearchResult[];
/** Archived entities matching the search term along with all their dependencies, serialized for the client sync engine. */
archivePayload: ArchiveResponse;
pageInfo: PageInfo;
}
/**
* DocumentSearchResult model
*
* @param request - function to call the graphql client
* @param data - L.DocumentSearchResultFragment response data
*/
declare class DocumentSearchResult extends Request {
private _creator?;
private _initiative?;
private _issue?;
private _lastAppliedTemplate?;
private _owner?;
private _project?;
private _release?;
private _updatedBy?;
constructor(request: LinearRequest, data: DocumentSearchResultFragment);
/** The time at which the entity was archived. Null if the entity has not been archived. */
archivedAt?: Date | null;
/** The hex color of the document icon. Null if no custom color has been set. */
color?: string | null;
/** The document's content in markdown format. */
content?: string | null;
/** The time at which the entity was created. */
createdAt: Date;
/** The ID of the document content associated with the document. */
documentContentId?: string | null;
/** The time at which the document was hidden from the default view. Null if the document has not been hidden. */
hiddenAt?: Date | null;
/** The icon of the document, either a decorative icon type or an emoji string. Null if no icon has been set. */
icon?: string | null;
/** The unique identifier of the entity. */
id: string;
/** Metadata related to search result. */
metadata: Scalars["JSONObject"];
/** The document's unique URL slug, used to construct human-readable URLs. */
slugId: string;
/** The sort order of the document in its parent entity's resources list. This order is shared with other resource types such as external links. */
sortOrder: number;
/** The title of the document. An empty string indicates an untitled document. */
title: string;
/** A flag that indicates whether the document is in the trash bin. Trashed documents are archived and can be restored. */
trashed?: boolean | null;
/**
* The last time at which the entity was meaningfully updated. This is the same as the creation time if the entity hasn't
* been updated after creation.
*/
updatedAt: Date;
/** The canonical url for the document. */
url: string;
/** The user who created the document. Null if the creator's account has been deleted. */
get creator(): LinearFetch<User> | undefined;
/** The ID of user who created the document. null if the creator's account has been deleted. */
get creatorId(): string | undefined;
/** The initiative that the document is associated with. Null if the document belongs to a different parent entity type. */
get initiative(): LinearFetch<Initiative> | undefined;
/** The ID of initiative that the document is associated with. null if the document belongs to a different parent entity type. */
get initiativeId(): string | undefined;
/** The issue that the document is associated with. Null if the document belongs to a different parent entity type. */
get issue(): LinearFetch<Issue> | undefined;
/** The ID of issue that the document is associated with. null if the document belongs to a different parent entity type. */
get issueId(): string | undefined;
/** The last template that was applied to this document. Null if no template has been applied. */
get lastAppliedTemplate(): LinearFetch<Template> | undefined;
/** The ID of last template that was applied to this document. null if no template has been applied. */
get lastAppliedTemplateId(): string | undefined;
/** The owner of the document. Null if no owner is assigned or the owner's account has been deleted. */
get owner(): LinearFetch<User> | undefined;
/** The ID of owner of the document. null if no owner is assigned or the owner's account has been deleted. */
get ownerId(): string | undefined;
/** The project that the document is associated with. Null if the document belongs to a different parent entity type. */
get project(): LinearFetch<Project> | undefined;
/** The ID of project that the document is associated with. null if the document belongs to a different parent entity type. */
get projectId(): string | undefined;
/** The release that the document is associated with. Null if the document belongs to a different parent entity type. */
get release(): LinearFetch<Release> | undefined;
/** The ID of release that the document is associated with. null if the document belongs to a different parent entity type. */
get releaseId(): string | undefined;
/** The user who last updated the document. Null if the user's account has been deleted. */
get updatedBy(): LinearFetch<User> | undefined;
/** The ID of user who last updated the document. null if the user's account has been deleted. */
get updatedById(): string | undefined;
}
/**
* Payload for a document webhook.
*
* @param data - L.DocumentWebhookPayloadFragment response data
*/
declare class DocumentWebhookPayload {
constructor(data: DocumentWebhookPayloadFragment);
/** The time at which the entity was archived. */
archivedAt?: string | null;
/** The color of the document. */
color?: string | null;
/** The content of the document. */
content?: string | null;
/** The time at which the entity was created. */
createdAt: string;
/** The ID of the user who created the document. */
creatorId?: string | null;
/** The description of the document. */
description?: string | null;
/** The time at which the document was hidden. */
hiddenAt?: string | null;
/** The icon of the document. */
icon?: string | null;
/** The ID of the entity. */
id: string;
/** The ID of the initiative this document belongs to. */
initiativeId?: string | null;
/** The ID of the last template that was applied to this document. */
lastAppliedTemplateId?: string | null;
/** The ID of the project this document belongs to. */
projectId?: string | null;
/** The ID of the resource folder this document belongs to. */
resourceFolderId?: string | null;
/** The document's unique URL slug. */
slugId: string;
/** The order of the item in the resources list. */
sortOrder: number;
/** The IDs of the users who are subscribed to this document. */
subscriberIds?: string[] | null;
/** The title of the document. */
title: string;
/** A flag that indicates whether the document is in the trash bin. */
trashed?: boolean | null;
/** The time at which the entity was updated. */
updatedAt: string;
/** The ID of the user who last updated the document. */
updatedById?: string | null;
}
/**
* A general-purpose draft for unsaved content. Drafts store in-progress text for comments, project updates, initiative updates, posts, pull request comments, and customer needs. Each draft belongs to a user and is associated with exactly one parent entity. Drafts are automatically deleted when the user publishes the corresponding comment or update.
*
* @param request - function to call the graphql client
* @param data - L.DraftFragment response data
*/
declare class Draft extends Request {
private _customerNeed?;
private _initiative?;
private _initiativeUpdate?;
private _issue?;
private _parentComment?;
private _project?;
private _projectUpdate?;
private _team?;
private _user;
constructor(request: LinearRequest, data: DraftFragment);
/** The time at which the entity was archived. Null if the entity has not been archived. */
archivedAt?: Date | null;
/** The draft text content as a ProseMirror document. */
bodyData: Record<string, unknown>;
/** The time at which the entity was created. */
createdAt: Date;
/** Additional properties for the draft, such as generation metadata for AI-generated drafts, health status for project updates, or post titles. */
data?: Scalars["JSONObject"] | null;
/** The unique identifier of the entity. */
id: string;
/** Whether the draft was autogenerated for the user. */
isAutogenerated: boolean;
/**
* The last time at which the entity was meaningfully updated. This is the same as the creation time if the entity hasn't
* been updated after creation.
*/
updatedAt: Date;
/** The customer need that this draft is referencing. Null if the draft belongs to a different parent entity type. */
get customerNeed(): LinearFetch<CustomerNeed> | undefined;
/** The ID of customer need that this draft is referencing. null if the draft belongs to a different parent entity type. */
get customerNeedId(): string | undefined;
/** The initiative for which this is a draft comment or initiative update. Null if the draft belongs to a different parent entity type. */
get initiative(): LinearFetch<Initiative> | undefined;
/** The ID of initiative for which this is a draft comment or initiative update. null if the draft belongs to a different parent entity type. */
get initiativeId(): string | undefined;
/** The initiative update for which this is a draft comment. Null if the draft belongs to a different parent entity type. */
get initiativeUpdate(): LinearFetch<InitiativeUpdate> | undefined;
/** The ID of initiative update for which this is a draft comment. null if the draft belongs to a different parent entity type. */
get initiativeUpdateId(): string | undefined;
/** The issue for which this is a draft comment. Null if the draft belongs to a different parent entity type. */
get issue(): LinearFetch<Issue> | undefined;
/** The ID of issue for which this is a draft comment. null if the draft belongs to a different parent entity type. */
get issueId(): string | undefined;
/** The parent comment for which this is a draft reply. Null if the draft is a top-level comment or belongs to a different parent entity type. */
get parentComment(): LinearFetch<Comment> | undefined;
/** The ID of parent comment for which this is a draft reply. null if the draft is a top-level comment or belongs to a different parent entity type. */
get parentCommentId(): string | undefined;
/** The project for which this is a draft comment or project update. Null if the draft belongs to a different parent entity type. */
get project(): LinearFetch<Project> | undefined;
/** The ID of project for which this is a draft comment or project update. null if the draft belongs to a different parent entity type. */
get projectId(): string | undefined;
/** The project update for which this is a draft comment. Null if the draft belongs to a different parent entity type. */
get projectUpdate(): LinearFetch<ProjectUpdate> | undefined;
/** The ID of project update for which this is a draft comment. null if the draft belongs to a different parent entity type. */
get projectUpdateId(): string | undefined;
/** The team for which this is a draft post. Null if the draft belongs to a different parent entity type. */
get team(): LinearFetch<Team> | undefined;
/** The ID of team for which this is a draft post. null if the draft belongs to a different parent entity type. */
get teamId(): string | undefined;
/** The user who created the draft. */
get user(): LinearFetch<User> | undefined;
/** The ID of user who created the draft. */
get userId(): string | undefined;
}
/**
* DraftConnection model
*
* @param request - function to call the graphql client
* @param fetch - function to trigger a refetch of this DraftConnection model
* @param data - DraftConnection response data
*/
declare class DraftConnection extends Connection<Draft> {
constructor(request: LinearRequest, fetch: (connection?: LinearConnectionVariables) => LinearFetch<LinearConnection<Draft> | undefined>, data: DraftConnectionFragment);
}
/**
* An email address that creates Linear issues when emails are sent to it. Email intake addresses can be scoped to a specific team or issue template, and support configurable auto-reply messages for issue creation, completion, and cancellation events. They can also be configured for the Asks web form feature, enabling external users to submit requests via email.
*
* @param request - function to call the graphql client
* @param data - L.EmailIntakeAddressFragment response data
*/
declare class EmailIntakeAddress extends Request {
private _creator?;
private _team?;
private _template?;
constructor(request: LinearRequest, data: EmailIntakeAddressFragment);
/** The unique local part (before the @) of the intake email address, used to route incoming emails to the correct intake handler. */
address: string;
/** The time at which the entity was archived. Null if the entity has not been archived. */
archivedAt?: Date | null;
/** The time at which the entity was created. */
createdAt: Date;
/** Whether issues created from emails sent to this address are automatically converted into customer requests, linking the sender as a customer contact. */
customerRequestsEnabled: boolean;
/** Whether the email address is enabled. */
enabled: boolean;
/** The email address used to forward emails to the intake address. */
forwardingEmailAddress?: string | null;
/** The unique identifier of the entity. */
id: string;
/** The auto-reply message for issue canceled. If not set, the default reply will be used. */
issueCanceledAutoReply?: string | null;
/** Whether the auto-reply for issue canceled is enabled. */
issueCanceledAutoReplyEnabled: boolean;
/** The auto-reply message for issue completed. If not set, the default reply will be used. */
issueCompletedAutoReply?: string | null;
/** Whether the auto-reply for issue completed is enabled. */
issueCompletedAutoReplyEnabled: boolean;
/** The auto-reply message for issue created. If not set, the default reply will be used. */
issueCreatedAutoReply?: string | null;
/** Whether the auto-reply for issue created is enabled. */
issueCreatedAutoReplyEnabled: boolean;
/** The last time an inbound email was successfully ingested for this address. */
lastUsedAt?: Date | null;
/** Whether to reopen completed or canceled issues when a substantive email reply is received. */
reopenOnReply: boolean;
/** Whether email replies are enabled. */
repliesEnabled: boolean;
/** The name to be used for outgoing emails. */
senderName?: string | null;
/**
* The last time at which the entity was meaningfully updated. This is the same as the creation time if the entity hasn't
* been updated after creation.
*/
updatedAt: Date;
/** Whether the commenter's name is included in the email replies. */
useUserNamesInReplies: boolean;
/** The SES domain identity that the email address is associated with. */
sesDomainIdentity?: SesDomainIdentity | null;
/** The type of the email address. */
type: EmailIntakeAddressType;
/** The user who created the email intake address. */
get creator(): LinearFetch<User> | undefined;
/** The ID of user who created the email intake address. */
get creatorId(): string | undefined;
/** The workspace that the email address is associated with. */
get organization(): LinearFetch<Organization>;
/** The team that the email address is associated with. */
get team(): LinearFetch<Team> | undefined;
/** The ID of team that the email address is associated with. */
get teamId(): string | undefined;
/** The template that the email address is associated with. */
get template(): LinearFetch<Template> | undefined;
/** The ID of template that the email address is associated with. */
get templateId(): string | undefined;
/** Creates a new email intake address. */
create(input: EmailIntakeAddressCreateInput): LinearFetch<EmailIntakeAddressPayload>;
/** Deletes an email intake address object. */
delete(): LinearFetch<DeletePayload>;
/** Updates an existing email intake address. */
update(input: EmailIntakeAddressUpdateInput): LinearFetch<EmailIntakeAddressPayload>;
}
/**
* The result of an email intake address mutation.
*
* @param request - function to call the graphql client
* @param data - L.EmailIntakeAddressPayloadFragment response data
*/
declare class EmailIntakeAddressPayload extends Request {
private _emailIntakeAddress;
constructor(request: LinearRequest, data: EmailIntakeAddressPayloadFragment);
/** The identifier of the last sync operation. */
lastSyncId: number;
/** Whether the operation was successful. */
success: boolean;
/** The email address that was created or updated. */
get emailIntakeAddress(): LinearFetch<EmailIntakeAddress> | undefined;
/** The ID of email address that was created or updated. */
get emailIntakeAddressId(): string | undefined;
}
/**
* The result of requesting an on-demand SES domain status refresh.
*
* @param request - function to call the graphql client
* @param data - L.EmailIntakeAddressRefreshSesDomainStatusPayloadFragment response data
*/
declare class EmailIntakeAddressRefreshSesDomainStatusPayload extends Request {
constructor(request: LinearRequest, data: EmailIntakeAddressRefreshSesDomainStatusPayloadFragment);
/** Whether an on-demand status check was requested. */
success: boolean;
}
/**
* The result of an email unsubscribe mutation.
*
* @param request - function to call the graphql client
* @param data - L.EmailUnsubscribePayloadFragment response data
*/
declare class EmailUnsubscribePayload extends Request {
constructor(request: LinearRequest, data: EmailUnsubscribePayloadFragment);
/** Whether the operation was successful. */
success: boolean;
}
/**
* EmailUserAccountAuthChallengeResponse model
*
* @param request - function to call the graphql client
* @param data - L.EmailUserAccountAuthChallengeResponseFragment response data
*/
declare class EmailUserAccountAuthChallengeResponse extends Request {
constructor(request: LinearRequest, data: EmailUserAccountAuthChallengeResponseFragment);
/** Supported challenge for this user account. Can be either verificationCode or password. */
authType: string;
/** Whether the operation was successful. */
success: boolean;
}
/**
* A custom emoji defined in the workspace. Custom emojis are uploaded by users and can be used in reactions and other places where standard emojis are supported. Each emoji has a unique name within the workspace.
*
* @param request - function to call the graphql client
* @param data - L.EmojiFragment response data
*/
declare class Emoji extends Request {
private _creator?;
constructor(request: LinearRequest, data: EmojiFragment);
/** The time at which the entity was archived. Null if the entity has not been archived. */
archivedAt?: Date | null;
/** The time at which the entity was created. */
createdAt: Date;
/** The unique identifier of the entity. */
id: string;
/** The unique name of the custom emoji within the workspace. */
name: string;
/** The source of the emoji, indicating how it was created (e.g., uploaded by a user or imported). */
source: string;
/**
* The last time at which the entity was meaningfully updated. This is the same as the creation time if the entity hasn't
* been updated after creation.
*/
updatedAt: Date;
/** The URL of the uploaded image for this custom emoji. */
url: string;
/** The user who created the emoji. */
get creator(): LinearFetch<User> | undefined;
/** The ID of user who created the emoji. */
get creatorId(): string | undefined;
/** The workspace that the emoji belongs to. */
get organization(): LinearFetch<Organization>;
/** Creates a custom emoji. */
create(input: EmojiCreateInput): LinearFetch<EmojiPayload>;
/** Deletes an emoji. */
delete(): LinearFetch<DeletePayload>;
}
/**
* EmojiConnection model
*
* @param request - function to call the graphql client
* @param fetch - function to trigger a refetch of this EmojiConnection model
* @param data - EmojiConnection response data
*/
declare class EmojiConnection extends Connection<Emoji> {
constructor(request: LinearRequest, fetch: (connection?: LinearConnectionVariables) => LinearFetch<LinearConnection<Emoji> | undefined>, data: EmojiConnectionFragment);
}
/**
* The result of a custom emoji mutation.
*
* @param request - function to call the graphql client
* @param data - L.EmojiPayloadFragment response data
*/
declare class EmojiPayload extends Request {
private _emoji;
constructor(request: LinearRequest, data: EmojiPayloadFragment);
/** The identifier of the last sync operation. */
lastSyncId: number;
/** Whether the operation was successful. */
success: boolean;
/** The emoji that was created. */
get emoji(): LinearFetch<Emoji> | undefined;
/** The ID of emoji that was created. */
get emojiId(): string | undefined;
}
/**
* A basic entity.
*
* @param request - function to call the graphql client
* @param data - L.EntityFragment response data
*/
declare class Entity extends Request {
constructor(request: LinearRequest, data: EntityFragment);
/** The time at which the entity was archived. Null if the entity has not been archived. */
archivedAt?: Date | null;
/** The time at which the entity was created. */
createdAt: Date;
/** The unique identifier of the entity. */
id: string;
/**
* The last time at which the entity was meaningfully updated. This is the same as the creation time if the entity hasn't
* been updated after creation.
*/
updatedAt: Date;
}
/**
* An external link attached to a Linear entity such as an initiative, project, team, release, or cycle. External links provide a way to reference related resources outside of Linear (e.g., documentation, design files, dashboards) directly from the entity's resources section. Each link has a URL, display label, and sort order within its parent entity.
*
* @param request - function to call the graphql client
* @param data - L.EntityExternalLinkFragment response data
*/
declare class EntityExternalLink extends Request {
private _creator?;
private _initiative?;
private _project?;
constructor(request: LinearRequest, data: EntityExternalLinkFragment);
/** The time at which the entity was archived. Null if the entity has not been archived. */
archivedAt?: Date | null;
/** The time at which the entity was created. */
createdAt: Date;
/** The unique identifier of the entity. */
id: string;
/** The link's label. */
label: string;
/** The sort order of this link within the parent entity's resources list. Links are sorted together with documents and other resources attached to the entity. */
sortOrder: number;
/**
* The last time at which the entity was meaningfully updated. This is the same as the creation time if the entity hasn't
* been updated after creation.
*/
updatedAt: Date;
/** The link's URL. */
url: string;
/** The user who created the link. */
get creator(): LinearFetch<User> | undefined;
/** The ID of user who created the link. */
get creatorId(): string | undefined;
/** The initiative that the link is associated with. */
get initiative(): LinearFetch<Initiative> | undefined;
/** The ID of initiative that the link is associated with. */
get initiativeId(): string | undefined;
/** The project that the link is associated with. */
get project(): LinearFetch<Project> | undefined;
/** The ID of project that the link is associated with. */
get projectId(): string | undefined;
/** Creates a new external link on an initiative, project, team, release, or cycle. */
create(input: EntityExternalLinkCreateInput): LinearFetch<EntityExternalLinkPayload>;
/** Deletes an entity external link. */
delete(): LinearFetch<DeletePayload>;
/** Updates an existing entity external link's URL, label, or sort order. */
update(input: EntityExternalLinkUpdateInput): LinearFetch<EntityExternalLinkPayload>;
}
/**
* EntityExternalLinkConnection model
*
* @param request - function to call the graphql client
* @param fetch - function to trigger a refetch of this EntityExternalLinkConnection model
* @param data - EntityExternalLinkConnection response data
*/
declare class EntityExternalLinkConnection extends Connection<EntityExternalLink> {
constructor(request: LinearRequest, fetch: (connection?: LinearConnectionVariables) => LinearFetch<LinearConnection<EntityExternalLink> | undefined>, data: EntityExternalLinkConnectionFragment);
}
/**
* The result of an entity external link mutation.
*
* @param request - function to call the graphql client
* @param data - L.EntityExternalLinkPayloadFragment response data
*/
declare class EntityExternalLinkPayload extends Request {
private _entityExternalLink;
constructor(request: LinearRequest, data: EntityExternalLinkPayloadFragment);
/** The identifier of the last sync operation. */
lastSyncId: number;
/** Whether the operation was successful. */
success: boolean;
/** The link that was created or updated. */
get entityExternalLink(): LinearFetch<EntityExternalLink> | undefined;
/** The ID of link that was created or updated. */
get entityExternalLinkId(): string | undefined;
}
/**
* Payload for entity-related webhook events.
*
* @param data - L.EntityWebhookPayloadFragment response data
*/
declare class EntityWebhookPayload {
constructor(data: EntityWebhookPayloadFragment);
/** The type of action that triggered the webhook. */
action: string;
/** The time the payload was created. */
createdAt: Date;
/** ID of the organization for which the webhook belongs to. */
organizationId: string;
/** The type of resource, i.e., the name of the entity. */
type: string;
/** In case of an update event, previous values of all updated properties. */
updatedFrom?: Scalars["JSONObject"] | null;
/** URL for the entity. */
url?: string | null;
/** The ID of the webhook that sent this event. */
webhookId: string;
/** Unix timestamp in milliseconds when the webhook was sent. */
webhookTimestamp: number;
}
/**
* EventTrackingPayload model
*
* @param request - function to call the graphql client
* @param data - L.EventTrackingPayloadFragment response data
*/
declare class EventTrackingPayload extends Request {
constructor(request: LinearRequest, data: EventTrackingPayloadFragment);
/** Whether the operation was successful. */
success: boolean;
}
/**
* Information about an entity in an external system that is linked to a Linear entity. Provides the external ID, the service it belongs to, and optional service-specific metadata.
*
* @param request - function to call the graphql client
* @param data - L.ExternalEntityInfoFragment response data
*/
declare class ExternalEntityInfo extends Request {
constructor(request: LinearRequest, data: ExternalEntityInfoFragment);
/** The unique identifier of the entity in the external system (e.g., the Jira issue ID, GitHub issue node ID, or Slack message timestamp). */
id: string;
/** The external service that this entity belongs to (e.g., jira, github, slack). */
service: ExternalSyncService;
/** Service-specific metadata about the external entity. The concrete type depends on the service (e.g., Jira issue key, GitHub repo and issue number, Slack channel info). Null for entity types that do not have additional metadata. */
metadata?: ExternalEntityInfoFragment["metadata"] | null;
}
/**
* Metadata about the external GitHub entity.
*
* @param request - function to call the graphql client
* @param data - L.ExternalEntityInfoGithubMetadataFragment response data
*/
declare class ExternalEntityInfoGithubMetadata extends Request {
constructor(request: LinearRequest, data: ExternalEntityInfoGithubMetadataFragment);
/** The number of the issue. */
number?: number | null;
/** The owner of the repository. */
owner?: string | null;
/** The repository name. */
repo?: string | null;
}
/**
* Metadata about the external Jira entity.
*
* @param request - function to call the graphql client
* @param data - L.ExternalEntityInfoJiraMetadataFragment response data
*/
declare class ExternalEntityInfoJiraMetadata extends Request {
constructor(request: LinearRequest, data: ExternalEntityInfoJiraMetadataFragment);
/** The key of the Jira issue. */
issueKey?: string | null;
/** The id of the Jira issue type. */
issueTypeId?: string | null;
/** The id of the Jira project. */
projectId?: string | null;
}
/**
* Metadata about the external Slack entity.
*
* @param request - function to call the graphql client
* @param data - L.ExternalEntitySlackMetadataFragment response data
*/
declare class ExternalEntitySlackMetadata extends Request {
constructor(request: LinearRequest, data: ExternalEntitySlackMetadataFragment);
/** The id of the Slack channel. */
channelId?: string | null;
/** The name of the Slack channel. */
channelName?: string | null;
/** Whether the entity originated from Slack (not Linear). */
isFromSlack: boolean;
/** The URL of the Slack message. */
messageUrl?: string | null;
}
/**
* An external user who interacts with Linear through an integrated external service (such as Slack, Jira, GitHub, GitLab, Salesforce, or Microsoft Teams) but does not have a Linear account. External users can create issues, post comments, and add reactions from their respective platforms. They are identified by service-specific user IDs and may optionally have an email address. External users are scoped to a single workspace.
*
* @param request - function to call the graphql client
* @param data - L.ExternalUserFragment response data
*/
declare class ExternalUser extends Request {
constructor(request: LinearRequest, data: ExternalUserFragment);
/** The time at which the entity was archived. Null if the entity has not been archived. */
archivedAt?: Date | null;
/** A URL to the external user's avatar image. Null if no avatar is available from the external service. */
avatarUrl?: string | null;
/** The time at which the entity was created. */
createdAt: Date;
/** The external user's display name. Unique within each workspace. Can match the display name of an actual user. */
displayName: string;
/** The external user's email address. */
email?: string | null;
/** The unique identifier of the entity. */
id: string;
/** The last time the external user was seen interacting with Linear through their external service. Defaults to the creation time and is updated on subsequent interactions. */
lastSeen?: Date | null;
/** The external user's full name. */
name: string;
/**
* The last time at which the entity was meaningfully updated. This is the same as the creation time if the entity hasn't
* been updated after creation.
*/
updatedAt: Date;
/** The workspace that the external user belongs to. */
get organization(): LinearFetch<Organization>;
}
/**
* External user actor payload for webhooks.
*
* @param data - L.ExternalUserActorWebhookPayloadFragment response data
*/
declare class ExternalUserActorWebhookPayload {
constructor(data: ExternalUserActorWebhookPayloadFragment);
/** The email of the external user. */
email: string;
/** The ID of the external user. */
id: string;
/** The name of the external user. */
name: string;
/** The type of actor. */
type: string;
}
/**
* Certain properties of an external user.
*
* @param data - L.ExternalUserChildWebhookPayloadFragment response data
*/
declare class ExternalUserChildWebhookPayload {
constructor(data: ExternalUserChildWebhookPayloadFragment);
/** The email of the external user. */
email: string;
/** The ID of the external user. */
id: string;
/** The name of the external user. */
name: string;
}
/**
* ExternalUserConnection model
*
* @param request - function to call the graphql client
* @param fetch - function to trigger a refetch of this ExternalUserConnection model
* @param data - ExternalUserConnection response data
*/
declare class ExternalUserConnection extends Connection<ExternalUser> {
constructor(request: LinearRequest, fetch: (connection?: LinearConnectionVariables) => LinearFetch<LinearConnection<ExternalUser> | undefined>, data: ExternalUserConnectionFragment);
}
/**
* A facet representing a join between entities. Facets connect a custom view to an owning entity such as a project, initiative, team page, workspace page, or user feed. They control the order of views within their parent via the sortOrder field. Exactly one source entity and one target entity must be set.
*
* @param request - function to call the graphql client
* @param data - L.FacetFragment response data
*/
declare class Facet extends Request {
private _sourceFeedUser?;
private _sourceInitiative?;
private _sourceProject?;
private _sourceTeam?;
private _targetCustomView?;
constructor(request: LinearRequest, data: FacetFragment);
/** The time at which the entity was archived. Null if the entity has not been archived. */
archivedAt?: Date | null;
/** The time at which the entity was created. */
createdAt: Date;
/** The unique identifier of the entity. */
id: string;
/** The sort order of the facet within its owning entity scope. Lower values appear first. Sort order is scoped by the source entity (e.g., all facets on a project are sorted independently from facets on an initiative). */
sortOrder: number;
/**
* The last time at which the entity was meaningfully updated. This is the same as the creation time if the entity hasn't
* been updated after creation.
*/
updatedAt: Date;
/** The fixed page type (e.g., projects, issues) that this facet is displayed on. Used together with sourceOrganizationId or sourceTeamId to place a view on a specific page at the workspace or team level. */
sourcePage?: FacetPageSource | null;
/** The user whose feed this facet belongs to. Set when this facet represents a view in a user's personal feed. */
get sourceFeedUser(): LinearFetch<User> | undefined;
/** The ID of user whose feed this facet belongs to. set when this facet represents a view in a user's personal feed. */
get sourceFeedUserId(): string | undefined;
/** The owning initiative. Set when this facet represents a view tab on an initiative. */
get sourceInitiative(): LinearFetch<Initiative> | undefined;
/** The ID of owning initiative. set when this facet represents a view tab on an initiative. */
get sourceInitiativeId(): string | undefined;
/** The owning organization. Set for workspace-level facets that are not scoped to a specific team, project, or initiative. */
get sourceOrganization(): LinearFetch<Organization>;
/** The owning project. Set when this facet represents a view tab on a project. */
get sourceProject(): LinearFetch<Project> | undefined;
/** The ID of owning project. set when this facet represents a view tab on a project. */
get sourceProjectId(): string | undefined;
/** The owning team. Set when this facet represents a view on a team-level page. */
get sourceTeam(): LinearFetch<Team> | undefined;
/** The ID of owning team. set when this facet represents a view on a team-level page. */
get sourceTeamId(): string | undefined;
/** The custom view that this facet points to. Each facet targets exactly one custom view, establishing a one-to-one relationship. */
get targetCustomView(): LinearFetch<CustomView> | undefined;
/** The ID of custom view that this facet points to. each facet targets exactly one custom view, establishing a one-to-one relationship. */
get targetCustomViewId(): string | undefined;
}
/**
* FacetConnection model
*
* @param request - function to call the graphql client
* @param fetch - function to trigger a refetch of this FacetConnection model
* @param data - FacetConnection response data
*/
declare class FacetConnection extends Connection<Facet> {
constructor(request: LinearRequest, fetch: (connection?: LinearConnectionVariables) => LinearFetch<LinearConnection<Facet> | undefined>, data: FacetConnectionFragment);
}
/**
* A user's bookmarked item that appears in their sidebar for quick access. Favorites can reference various entity types including issues, projects, cycles, views, documents, initiatives, labels, users, customers, dashboards, pull requests, and Agent conversations. Favorites can be organized into folders and ordered by the user. Each favorite is owned by a single user and links to exactly one target entity (or is a folder containing other favorites).
*
* @param request - function to call the graphql client
* @param data - L.FavoriteFragment response data
*/
declare class Favorite extends Request {
private _customView?;
private _customer?;
private _cycle?;
private _document?;
private _initiative?;
private _issue?;
private _label?;
private _owner;
private _parent?;
private _predefinedViewTeam?;
private _project?;
private _projectLabel?;
private _projectTeam?;
private _release?;
private _releaseNote?;
private _releasePipeline?;
private _team?;
private _user?;
constructor(request: LinearRequest, data: FavoriteFragment);
/** The time at which the entity was archived. Null if the entity has not been archived. */
archivedAt?: Date | null;
/** The time at which the entity was created. */
createdAt: Date;
/** The name of the folder. Only applies to favorites of type folder. */
folderName?: string | null;
/** The unique identifier of the entity. */
id: string;
/** The versioned lazy root and filter represented by this live favorite folder. */
liveFolderDefinition?: Scalars["JSONObject"] | null;
/** The predefined live folder represented by this favorite. */
liveFolderPreset?: string | null;
/** The type of favorited predefined view (e.g., 'allIssues', 'activeCycle', 'backlog', 'triage'). Only populated when the favorite type is 'predefinedView'. */
predefinedViewType?: string | null;
/** The position of this item in the user's favorites list. Lower values appear first. Used to maintain user-defined ordering within the sidebar. */
sortOrder: number;
/** The type of entity this favorite references, such as 'issue', 'project', 'cycle', 'customView', 'document', 'folder', etc. Determines which associated entity field is populated. */
type: string;
/**
* The last time at which the entity was meaningfully updated. This is the same as the creation time if the entity hasn't
* been updated after creation.
*/
updatedAt: Date;
/** URL of the favorited entity. Folders return 'null' value. */
url?: string | null;
/** The targeted tab of the initiative. */
initiativeTab?: InitiativeTab | null;
/** The targeted tab of the release pipeline. */
pipelineTab?: PipelineTab | null;
/** The targeted tab of the project. */
projectTab?: ProjectTab | null;
/** The favorited custom view. */
get customView(): LinearFetch<CustomView> | undefined;
/** The ID of favorited custom view. */
get customViewId(): string | undefined;
/** The favorited customer. */
get customer(): LinearFetch<Customer> | undefined;
/** The ID of favorited customer. */
get customerId(): string | undefined;
/** The favorited cycle. */
get cycle(): LinearFetch<Cycle> | undefined;
/** The ID of favorited cycle. */
get cycleId(): string | undefined;
/** The favorited document. */
get document(): LinearFetch<Document> | undefined;
/** The ID of favorited document. */
get documentId(): string | undefined;
/** The favorited initiative. */
get initiative(): LinearFetch<Initiative> | undefined;
/** The ID of favorited initiative. */
get initiativeId(): string | undefined;
/** The favorited issue. */
get issue(): LinearFetch<Issue> | undefined;
/** The ID of favorited issue. */
get issueId(): string | undefined;
/** The favorited label. */
get label(): LinearFetch<IssueLabel> | undefined;
/** The ID of favorited label. */
get labelId(): string | undefined;
/** The user who owns this favorite. Favorites are personal and only visible to their owner. */
get owner(): LinearFetch<User> | undefined;
/** The ID of user who owns this favorite. favorites are personal and only visible to their owner. */
get ownerId(): string | undefined;
/** The parent folder of the favorite. Null if the favorite is at the top level of the sidebar. Only favorites of type 'folder' can be parents. */
get parent(): LinearFetch<Favorite> | undefined;
/** The ID of parent folder of the favorite. null if the favorite is at the top level of the sidebar. only favorites of type 'folder' can be parents. */
get parentId(): string | undefined;
/** The team of the favorited predefined view. */
get predefinedViewTeam(): LinearFetch<Team> | undefined;
/** The ID of team of the favorited predefined view. */
get predefinedViewTeamId(): string | undefined;
/** The favorited project. */
get project(): LinearFetch<Project> | undefined;
/** The ID of favorited project. */
get projectId(): string | undefined;
/** The favorited project label. */
get projectLabel(): LinearFetch<ProjectLabel> | undefined;
/** The ID of favorited project label. */
get projectLabelId(): string | undefined;
/** [DEPRECATED] The favorited team of the project. */
get projectTeam(): LinearFetch<Team> | undefined;
/** The ID of [deprecated] the favorited team of the project. */
get projectTeamId(): string | undefined;
/** The favorited release. */
get release(): LinearFetch<Release> | undefined;
/** The ID of favorited release. */
get releaseId(): string | undefined;
/** The favorited release note. */
get releaseNote(): LinearFetch<ReleaseNote> | undefined;
/** The ID of favorited release note. */
get releaseNoteId(): string | undefined;
/** The favorited release pipeline. */
get releasePipeline(): LinearFetch<ReleasePipeline> | undefined;
/** The ID of favorited release pipeline. */
get releasePipelineId(): string | undefined;
/** The favorited team. */
get team(): LinearFetch<Team> | undefined;
/** The ID of favorited team. */
get teamId(): string | undefined;
/** The favorited user. */
get user(): LinearFetch<User> | undefined;
/** The ID of favorited user. */
get userId(): string | undefined;
/** Children of the favorite. Only applies to favorites of type folder. */
children(variables?: Omit<Favorite_ChildrenQueryVariables, "id">): LinearFetch<FavoriteConnection>;
/** Creates a new favorite for the authenticated user. Exactly one target entity must be specified. If a favorite for the same entity already exists, the existing favorite is returned (upsert behavior). */
create(input: FavoriteCreateInput): LinearFetch<FavoritePayload>;
/** Deletes a favorite, removing it from the user's sidebar. This is an idempotent operation -- deleting a non-existent favorite succeeds silently. */
delete(): LinearFetch<DeletePayload>;
/** Updates a favorite's position, parent folder, or folder name. */
update(input: FavoriteUpdateInput): LinearFetch<FavoritePayload>;
}
/**
* FavoriteConnection model
*
* @param request - function to call the graphql client
* @param fetch - function to trigger a refetch of this FavoriteConnection model
* @param data - FavoriteConnection response data
*/
declare class FavoriteConnection extends Connection<Favorite> {
constructor(request: LinearRequest, fetch: (connection?: LinearConnectionVariables) => LinearFetch<LinearConnection<Favorite> | undefined>, data: FavoriteConnectionFragment);
}
/**
* Return type for favorite mutations.
*
* @param request - function to call the graphql client
* @param data - L.FavoritePayloadFragment response data
*/
declare class FavoritePayload extends Request {
private _favorite;
constructor(request: LinearRequest, data: FavoritePayloadFragment);
/** The identifier of the last sync operation. */
lastSyncId: number;
/** Whether the operation was successful. */
success: boolean;
/** The favorite that was created or updated. */
get favorite(): LinearFetch<Favorite> | undefined;
/** The ID of favorite that was created or updated. */
get favoriteId(): string | undefined;
}
/**
* The result of a data fetch query using natural language.
*
* @param request - function to call the graphql client
* @param data - L.FetchDataPayloadFragment response data
*/
declare class FetchDataPayload extends Request {
constructor(request: LinearRequest, data: FetchDataPayloadFragment);
/** The fetched data as a JSON object. The shape depends on the natural language query and the resolved GraphQL query. Null if the query returned no results. */
data?: Scalars["JSONObject"] | null;
/** The filter variables that were generated and applied to the GraphQL query. Null if no filters were needed. */
filters?: Scalars["JSONObject"] | null;
/** The GraphQL query that was generated from the natural language input and executed to produce the data. Useful for debugging or reusing the query directly. */
query?: string | null;
/** Whether the fetch operation was successful. */
success: boolean;
}
/**
* FileUploadDeletePayload model
*
* @param request - function to call the graphql client
* @param data - L.FileUploadDeletePayloadFragment response data
*/
declare class FileUploadDeletePayload extends Request {
constructor(request: LinearRequest, data: FileUploadDeletePayloadFragment);
/** Whether the operation was successful. */
success: boolean;
}
/**
* The result of a Front attachment mutation.
*
* @param request - function to call the graphql client
* @param data - L.FrontAttachmentPayloadFragment response data
*/
declare class FrontAttachmentPayload extends Request {
private _attachment;
constructor(request: LinearRequest, data: FrontAttachmentPayloadFragment);
/** The identifier of the last sync operation. */
lastSyncId: number;
/** Whether the operation was successful. */
success: boolean;
/** The issue attachment that was created. */
get attachment(): LinearFetch<Attachment> | undefined;
/** The ID of issue attachment that was created. */
get attachmentId(): string | undefined;
}
/**
* A Git automation rule that automatically transitions issues to a specified workflow state when a Git event occurs (e.g., when a PR is opened, move the linked issue to 'In Review'). Each rule is scoped to a team and optionally to a specific target branch. When no target branch is specified, the rule acts as the default for all branches. Target-branch-specific rules override the defaults.
*
* @param request - function to call the graphql client
* @param data - L.GitAutomationStateFragment response data
*/
declare class GitAutomationState extends Request {
private _state?;
private _team;
constructor(request: LinearRequest, data: GitAutomationStateFragment);
/** The time at which the entity was archived. Null if the entity has not been archived. */
archivedAt?: Date | null;
/** [DEPRECATED] The target branch, if null, the automation will be triggered on any branch. */
branchPattern?: string | null;
/** The time at which the entity was created. */
createdAt: Date;
/** The unique identifier of the entity. */
id: string;
/**
* The last time at which the entity was meaningfully updated. This is the same as the creation time if the entity hasn't
* been updated after creation.
*/
updatedAt: Date;
/** The target branch that this automation rule applies to. When set, this rule only fires for pull requests targeting the specified branch pattern, overriding any default rule for the same event. Null if this is a default rule that applies to all branches. */
targetBranch?: GitAutomationTargetBranch | null;
/** The Git event that triggers this automation rule (e.g., branch created, PR opened for review, or PR merged). */
event: GitAutomationStates;
/** The workflow state that linked issues will be transitioned to when the Git event fires. Null if this rule is configured to take no action, overriding any default rule for the same event. */
get state(): LinearFetch<WorkflowState> | undefined;
/** The ID of workflow state that linked issues will be transitioned to when the git event fires. null if this rule is configured to take no action, overriding any default rule for the same event. */
get stateId(): string | undefined;
/** The team that this automation rule belongs to. Issues must belong to this team for the automation to apply. */
get team(): LinearFetch<Team> | undefined;
/** The ID of team that this automation rule belongs to. issues must belong to this team for the automation to apply. */
get teamId(): string | undefined;
/** Creates a new Git automation rule that maps a Git event to a workflow state transition for a team. */
create(input: GitAutomationStateCreateInput): LinearFetch<GitAutomationStatePayload>;
/** Deletes a Git automation rule. */
delete(): LinearFetch<DeletePayload>;
/** Updates an existing Git automation rule, including its workflow state, target branch, and triggering event. */
update(input: GitAutomationStateUpdateInput): LinearFetch<GitAutomationStatePayload>;
}
/**
* GitAutomationStateConnection model
*
* @param request - function to call the graphql client
* @param fetch - function to trigger a refetch of this GitAutomationStateConnection model
* @param data - GitAutomationStateConnection response data
*/
declare class GitAutomationStateConnection extends Connection<GitAutomationState> {
constructor(request: LinearRequest, fetch: (connection?: LinearConnectionVariables) => LinearFetch<LinearConnection<GitAutomationState> | undefined>, data: GitAutomationStateConnectionFragment);
}
/**
* The result of a git automation state mutation.
*
* @param request - function to call the graphql client
* @param data - L.GitAutomationStatePayloadFragment response data
*/
declare class GitAutomationStatePayload extends Request {
constructor(request: LinearRequest, data: GitAutomationStatePayloadFragment);
/** The identifier of the last sync operation. */
lastSyncId: number;
/** Whether the operation was successful. */
success: boolean;
/** The automation state that was created or updated. */
gitAutomationState: GitAutomationState;
}
/**
* A target branch definition used by Git automation rules to scope automations to specific branches. The branch can be specified as an exact name (e.g., 'main') or as a regular expression pattern (e.g., 'release/.*'). Each target branch belongs to a team and can have multiple automation rules associated with it, which override the team's default automation rules when a PR targets a matching branch.
*
* @param request - function to call the graphql client
* @param data - L.GitAutomationTargetBranchFragment response data
*/
declare class GitAutomationTargetBranch extends Request {
private _team;
constructor(request: LinearRequest, data: GitAutomationTargetBranchFragment);
/** The time at which the entity was archived. Null if the entity has not been archived. */
archivedAt?: Date | null;
/** The branch name or pattern to match against pull request target branches. Interpreted as a literal branch name unless isRegex is true, in which case it is treated as a regular expression. */
branchPattern: string;
/** The time at which the entity was created. */
createdAt: Date;
/** The unique identifier of the entity. */
id: string;
/** Whether the branch pattern should be interpreted as a regular expression. When false, the pattern is matched as an exact branch name. */
isRegex: boolean;
/**
* The last time at which the entity was meaningfully updated. This is the same as the creation time if the entity hasn't
* been updated after creation.
*/
updatedAt: Date;
/** The team that this target branch definition belongs to. The branch pattern is unique within a team. */
get team(): LinearFetch<Team> | undefined;
/** The ID of team that this target branch definition belongs to. the branch pattern is unique within a team. */
get teamId(): string | undefined;
/** Creates a new Git target branch definition that scopes automation rules to pull requests targeting a specific branch pattern. */
create(input: GitAutomationTargetBranchCreateInput): LinearFetch<GitAutomationTargetBranchPayload>;
/** Deletes a Git target branch definition and its associated automation rules. */
delete(): LinearFetch<DeletePayload>;
/** Updates an existing Git target branch definition, including its branch pattern and regex flag. */
update(input: GitAutomationTargetBranchUpdateInput): LinearFetch<GitAutomationTargetBranchPayload>;
}
/**
* The result of a git automation target branch mutation.
*
* @param request - function to call the graphql client
* @param data - L.GitAutomationTargetBranchPayloadFragment response data
*/
declare class GitAutomationTargetBranchPayload extends Request {
constructor(request: LinearRequest, data: GitAutomationTargetBranchPayloadFragment);
/** The identifier of the last sync operation. */
lastSyncId: number;
/** Whether the operation was successful. */
success: boolean;
/** The Git target branch automation that was created or updated. */
targetBranch: GitAutomationTargetBranch;
}
/**
* GitHubCommitIntegrationPayload model
*
* @param request - function to call the graphql client
* @param data - L.GitHubCommitIntegrationPayloadFragment response data
*/
declare class GitHubCommitIntegrationPayload extends Request {
private _integration?;
constructor(request: LinearRequest, data: GitHubCommitIntegrationPayloadFragment);
/** The identifier of the last sync operation. */
lastSyncId: number;
/** Whether the operation was successful. */
success: boolean;
/** The webhook secret to provide to GitHub. */
webhookSecret: string;
/** GitHub-specific details for the operation. Populated by GitHub-related mutations only. */
gitHub?: GitHubIntegrationConnectDetails | null;
/** The integration that was created or updated. */
get integration(): LinearFetch<Integration> | undefined;
/** The ID of integration that was created or updated. */
get integrationId(): string | undefined;
}
/**
* GitHubEnterpriseServerInstallVerificationPayload model
*
* @param request - function to call the graphql client
* @param data - L.GitHubEnterpriseServerInstallVerificationPayloadFragment response data
*/
declare class GitHubEnterpriseServerInstallVerificationPayload extends Request {
constructor(request: LinearRequest, data: GitHubEnterpriseServerInstallVerificationPayloadFragment);
/** Has the install been successful. */
success: boolean;
}
/**
* GitHubEnterpriseServerPayload model
*
* @param request - function to call the graphql client
* @param data - L.GitHubEnterpriseServerPayloadFragment response data
*/
declare class GitHubEnterpriseServerPayload extends Request {
private _integration?;
constructor(request: LinearRequest, data: GitHubEnterpriseServerPayloadFragment);
/** The app install address. */
installUrl: string;
/** The identifier of the last sync operation. */
lastSyncId: number;
/** The setup address. */
setupUrl: string;
/** Whether the operation was successful. */
success: boolean;
/** The webhook secret to provide to GitHub. */
webhookSecret: string;
/** GitHub-specific details for the operation. Populated by GitHub-related mutations only. */
gitHub?: GitHubIntegrationConnectDetails | null;
/** The integration that was created or updated. */
get integration(): LinearFetch<Integration> | undefined;
/** The ID of integration that was created or updated. */
get integrationId(): string | undefined;
}
/**
* GitHub-specific details that some integration mutations may return alongside the standard payload. Populated only by GitHub-related mutations.
*
* @param request - function to call the graphql client
* @param data - L.GitHubIntegrationConnectDetailsFragment response data
*/
declare class GitHubIntegrationConnectDetails extends Request {
constructor(request: LinearRequest, data: GitHubIntegrationConnectDetailsFragment);
/** Full names ('owner/repo') of repositories whose existing GitHub Issues sync mappings would become inaccessible if the new GitHub App installation replaces the existing one. When non-empty the connect was halted; the client should surface the impact and re-call the mutation with `confirmReplace: true` to commit, or do nothing to leave the integration unchanged. Capped at a small constant; longer lists are truncated. */
lostRepositoryNames?: string[] | null;
}
/**
* GitLabIntegrationCreatePayload model
*
* @param request - function to call the graphql client
* @param data - L.GitLabIntegrationCreatePayloadFragment response data
*/
declare class GitLabIntegrationCreatePayload extends Request {
private _integration?;
constructor(request: LinearRequest, data: GitLabIntegrationCreatePayloadFragment);
/** Error message if the connection failed. */
error?: string | null;
/** Method and post-encoding upstream URI of the failed request, for debugging proxy allowlist rules (e.g. `GET /api/v4/projects/aire%2Fagents`). */
errorRequest?: string | null;
/** Response body from GitLab for debugging. */
errorResponseBody?: string | null;
/** Response headers from GitLab for debugging (JSON stringified). */
errorResponseHeaders?: string | null;
/** The identifier of the last sync operation. */
lastSyncId: number;
/** Whether the operation was successful. */
success: boolean;
/** The webhook secret to provide to GitLab. */
webhookSecret: string;
/** GitHub-specific details for the operation. Populated by GitHub-related mutations only. */
gitHub?: GitHubIntegrationConnectDetails | null;
/** The integration that was created or updated. */
get integration(): LinearFetch<Integration> | undefined;
/** The ID of integration that was created or updated. */
get integrationId(): string | undefined;
}
/**
* GitLabTestConnectionPayload model
*
* @param request - function to call the graphql client
* @param data - L.GitLabTestConnectionPayloadFragment response data
*/
declare class GitLabTestConnectionPayload extends Request {
private _integration?;
constructor(request: LinearRequest, data: GitLabTestConnectionPayloadFragment);
/** Error message if the connection test failed. */
error?: string | null;
/** Method and post-encoding upstream URI of the failed request, for debugging proxy allowlist rules (e.g. `GET /api/v4/projects/aire%2Fagents`). */
errorRequest?: string | null;
/** Response body from GitLab for debugging. */
errorResponseBody?: string | null;
/** Response headers from GitLab for debugging (JSON stringified). */
errorResponseHeaders?: string | null;
/** The identifier of the last sync operation. */
lastSyncId: number;
/** Whether the operation was successful. */
success: boolean;
/** GitHub-specific details for the operation. Populated by GitHub-related mutations only. */
gitHub?: GitHubIntegrationConnectDetails | null;
/** The integration that was created or updated. */
get integration(): LinearFetch<Integration> | undefined;
/** The ID of integration that was created or updated. */
get integrationId(): string | undefined;
}
/**
* Metadata for guidance that should be provided to an AI agent.
*
* @param data - L.GuidanceRuleWebhookPayloadFragment response data
*/
declare class GuidanceRuleWebhookPayload {
constructor(data: GuidanceRuleWebhookPayloadFragment);
/** The content of the guidance as markdown. */
body: string;
}
/**
* A SAML/SSO or web forms identity provider configuration for a workspace. Identity providers enable single sign-on authentication via SAML 2.0 and can optionally support SCIM for automated user provisioning and group-based role mapping. Each workspace can have a default general-purpose identity provider and additional web forms identity providers for Asks web authentication.
*
* @param request - function to call the graphql client
* @param data - L.IdentityProviderFragment response data
*/
declare class IdentityProvider extends Request {
constructor(request: LinearRequest, data: IdentityProviderFragment);
/** Whether users are allowed to change their name and display name even if SCIM is enabled. */
allowNameChange: boolean;
/** The time at which the entity was archived. Null if the entity has not been archived. */
archivedAt?: Date | null;
/** The time at which the entity was created. */
createdAt: Date;
/** Whether the identity provider is the default identity provider migrated from organization level settings. */
defaultMigrated: boolean;
/** The unique identifier of the entity. */
id: string;
/** The issuer's custom entity ID. */
issuerEntityId?: string | null;
/** The SAML priority used to pick default workspace in SAML SP initiated flow, when same domain is claimed for SAML by multiple workspaces. Lower priority value means higher preference. */
priority?: number | null;
/** Whether SAML authentication is enabled for the workspace. */
samlEnabled: boolean;
/** Whether SCIM provisioning is enabled for the workspace. */
scimEnabled: boolean;
/** The service provider (Linear) custom entity ID. Defaults to https://auth.linear.app/sso */
spEntityId?: string | null;
/** Binding method for authentication call. Can be either `post` (default) or `redirect`. */
ssoBinding?: string | null;
/** Sign in endpoint URL for the identity provider. */
ssoEndpoint?: string | null;
/** The algorithm of the Signing Certificate. Can be one of `sha1`, `sha256` (default), or `sha512`. */
ssoSignAlgo?: string | null;
/** X.509 Signing Certificate in string form. */
ssoSigningCert?: string | null;
/** The time at which the current SAML configuration was marked as verified. Null if it has not been verified. Cleared whenever the SAML configuration changes. */
ssoVerifiedAt?: Date | null;
/**
* The last time at which the entity was meaningfully updated. This is the same as the creation time if the entity hasn't
* been updated after creation.
*/
updatedAt: Date;
/** The type of identity provider. */
type: IdentityProviderType;
}
/**
* ImageUploadFromUrlPayload model
*
* @param request - function to call the graphql client
* @param data - L.ImageUploadFromUrlPayloadFragment response data
*/
declare class ImageUploadFromUrlPayload extends Request {
constructor(request: LinearRequest, data: ImageUploadFromUrlPayloadFragment);
/** The identifier of the last sync operation. */
lastSyncId: number;
/** Whether the operation was successful. */
success: boolean;
/** The URL containing the image. */
url?: string | null;
}
/**
* An initiative is a high-level strategic grouping of projects toward a business goal. Initiatives can contain multiple projects, have their own status updates and health tracking, and can be organized hierarchically with parent-child relationships.
*
* @param request - function to call the graphql client
* @param data - L.InitiativeFragment response data
*/
declare class Initiative extends Request {
private _creator?;
private _integrationsSettings?;
private _lastUpdate?;
private _owner?;
private _parentInitiative?;
constructor(request: LinearRequest, data: InitiativeFragment);
/** The time at which the entity was archived. Null if the entity has not been archived. */
archivedAt?: Date | null;
/** The initiative's color. */
color?: string | null;
/** The time at which the initiative was moved into Completed status. Null if the initiative has not been completed. */
completedAt?: Date | null;
/** The initiative's content in markdown format. */
content?: string | null;
/** The time at which the entity was created. */
createdAt: Date;
/** The description of the initiative. */
description?: string | null;
/** The time at which the initiative health was last updated, typically when a new initiative update is posted. Null if health has never been set. */
healthUpdatedAt?: Date | null;
/** The icon of the initiative. Can be an emoji or a decorative icon type. */
icon?: string | null;
/** The unique identifier of the entity. */
id: string;
/** The IDs of the initiative labels associated with this initiative. */
labelIds: string[];
/** The name of the initiative. */
name: string;
/** The priority of the initiative. 0 = No priority, 1 = Urgent, 2 = High, 3 = Medium, 4 = Low. */
priority: number;
/** The sort order of the initiative within the workspace when ordered by priority. */
prioritySortOrder: number;
/** The initiative's unique URL slug, used to construct human-readable URLs. */
slugId: string;
/** The sort order of the initiative within the workspace. */
sortOrder: number;
/** The time at which the initiative was moved into Active status. Null if the initiative has not been activated. */
startedAt?: Date | null;
/** The estimated completion date of the initiative. Null if no target date is set. */
targetDate?: Scalars["TimelessDate"] | null;
/** A flag that indicates whether the initiative is in the trash bin. */
trashed?: boolean | null;
/** The frequency at which to prompt for updates. When not set, reminders are inherited from workspace. */
updateReminderFrequency?: number | null;
/** The n-weekly frequency at which to prompt for updates. When not set, reminders are inherited from workspace. */
updateReminderFrequencyInWeeks?: number | null;
/** The hour at which to prompt for updates. */
updateRemindersHour?: number | null;
/**
* The last time at which the entity was meaningfully updated. This is the same as the creation time if the entity hasn't
* been updated after creation.
*/
updatedAt: Date;
/** Initiative URL. */
url: string;
/** The content of the initiative description. */
documentContent?: DocumentContent | null;
/** The resolution of the reminder frequency. */
frequencyResolution: FrequencyResolutionType;
/** The overall health of the initiative, derived from the most recent initiative update. Possible values are onTrack, atRisk, or offTrack. Null if no health has been reported. */
health?: InitiativeUpdateHealthType | null;
/** The lifecycle status of the initiative. One of Proposed, Planned, Active, Completed, Canceled. */
status: InitiativeStatus;
/** The resolution of the initiative's estimated completion date, indicating whether it refers to a specific day, week, month, quarter, or year. */
targetDateResolution?: DateResolutionType | null;
/** The day at which to prompt for updates. */
updateRemindersDay?: Day | null;
/** The user who created the initiative. */
get creator(): LinearFetch<User> | undefined;
/** The ID of user who created the initiative. */
get creatorId(): string | undefined;
/** Settings for all integrations associated with that initiative. */
get integrationsSettings(): LinearFetch<IntegrationsSettings> | undefined;
/** The ID of settings for all integrations associated with that initiative. */
get integrationsSettingsId(): string | undefined;
/** The most recent status update posted for this initiative. Null if no updates have been posted. */
get lastUpdate(): LinearFetch<InitiativeUpdate> | undefined;
/** The ID of most recent status update posted for this initiative. null if no updates have been posted. */
get lastUpdateId(): string | undefined;
/** The workspace of the initiative. */
get organization(): LinearFetch<Organization>;
/** The user who owns the initiative. The owner is typically responsible for posting status updates and driving the initiative to completion. Null if no owner is assigned. */
get owner(): LinearFetch<User> | undefined;
/** The ID of user who owns the initiative. the owner is typically responsible for posting status updates and driving the initiative to completion. null if no owner is assigned. */
get ownerId(): string | undefined;
/** Parent initiative associated with the initiative. */
get parentInitiative(): LinearFetch<Initiative> | undefined;
/** The ID of parent initiative associated with the initiative. */
get parentInitiativeId(): string | undefined;
/** Documents associated with the initiative. */
documents(variables?: Omit<Initiative_DocumentsQueryVariables, "id">): LinearFetch<DocumentConnection>;
/** History entries associated with the initiative. */
history(variables?: Omit<Initiative_HistoryQueryVariables, "id">): LinearFetch<InitiativeHistoryConnection>;
/** Initiative updates associated with the initiative. */
initiativeUpdates(variables?: Omit<Initiative_InitiativeUpdatesQueryVariables, "id">): LinearFetch<InitiativeUpdateConnection>;
/** Labels associated with this initiative. */
labels(variables?: Omit<Initiative_LabelsQueryVariables, "id">): LinearFetch<InitiativeLabelConnection>;
/** Links associated with the initiative. */
links(variables?: Omit<Initiative_LinksQueryVariables, "id">): LinearFetch<EntityExternalLinkConnection>;
/** Projects associated with the initiative. */
projects(variables?: Omit<Initiative_ProjectsQueryVariables, "id">): LinearFetch<ProjectConnection>;
/** Sub-initiatives associated with the initiative. */
subInitiatives(variables?: Omit<Initiative_SubInitiativesQueryVariables, "id">): LinearFetch<InitiativeConnection>;
/** Archives an initiative. */
archive(): LinearFetch<InitiativeArchivePayload>;
/** Creates a new initiative. */
create(input: InitiativeCreateInput): LinearFetch<InitiativePayload>;
/** Deletes (trashes) an initiative. */
delete(): LinearFetch<DeletePayload>;
/** Unarchives an initiative. */
unarchive(): LinearFetch<InitiativeArchivePayload>;
/** Updates an initiative. */
update(): LinearFetch<InitiativeUpdate>;
}
/**
* A generic payload return from entity archive mutations.
*
* @param request - function to call the graphql client
* @param data - L.InitiativeArchivePayloadFragment response data
*/
declare class InitiativeArchivePayload extends Request {
private _entity?;
constructor(request: LinearRequest, data: InitiativeArchivePayloadFragment);
/** The identifier of the last sync operation. */
lastSyncId: number;
/** Whether the operation was successful. */
success: boolean;
/** The archived/unarchived entity. Null if entity was deleted. */
get entity(): LinearFetch<Initiative> | undefined;
/** The ID of archived/unarchived entity. null if entity was deleted. */
get entityId(): string | undefined;
}
/**
* Certain properties of an initiative.
*
* @param data - L.InitiativeChildWebhookPayloadFragment response data
*/
declare class InitiativeChildWebhookPayload {
constructor(data: InitiativeChildWebhookPayloadFragment);
/** The ID of the initiative. */
id: string;
/** The name of the initiative. */
name: string;
/** The URL of the initiative. */
url: string;
}
/**
* InitiativeConnection model
*
* @param request - function to call the graphql client
* @param fetch - function to trigger a refetch of this InitiativeConnection model
* @param data - InitiativeConnection response data
*/
declare class InitiativeConnection extends Connection<Initiative> {
constructor(request: LinearRequest, fetch: (connection?: LinearConnectionVariables) => LinearFetch<LinearConnection<Initiative> | undefined>, data: InitiativeConnectionFragment);
}
/**
* The result of an AI-generated initiative filter suggestion based on a text prompt.
*
* @param request - function to call the graphql client
* @param data - L.InitiativeFilterSuggestionPayloadFragment response data
*/
declare class InitiativeFilterSuggestionPayload extends Request {
constructor(request: LinearRequest, data: InitiativeFilterSuggestionPayloadFragment);
/** The json filter that is suggested. */
filter?: Scalars["JSONObject"] | null;
/** The log id of the prompt that created this filter. */
logId?: string | null;
}
/**
* A history record associated with an initiative. Tracks changes to initiative properties such as name, status, owner, target date, icon, color, and parent-child relationships over time.
*
* @param request - function to call the graphql client
* @param data - L.InitiativeHistoryFragment response data
*/
declare class InitiativeHistory extends Request {
private _initiative;
constructor(request: LinearRequest, data: InitiativeHistoryFragment);
/** The time at which the entity was archived. Null if the entity has not been archived. */
archivedAt?: Date | null;
/** The time at which the entity was created. */
createdAt: Date;
/** The events that happened while recording that history. */
entries: Scalars["JSONObject"];
/** The unique identifier of the entity. */
id: string;
/**
* The last time at which the entity was meaningfully updated. This is the same as the creation time if the entity hasn't
* been updated after creation.
*/
updatedAt: Date;
/** The initiative that this history record belongs to. */
get initiative(): LinearFetch<Initiative> | undefined;
/** The ID of initiative that this history record belongs to. */
get initiativeId(): string | undefined;
}
/**
* InitiativeHistoryConnection model
*
* @param request - function to call the graphql client
* @param fetch - function to trigger a refetch of this InitiativeHistoryConnection model
* @param data - InitiativeHistoryConnection response data
*/
declare class InitiativeHistoryConnection extends Connection<InitiativeHistory> {
constructor(request: LinearRequest, fetch: (connection?: LinearConnectionVariables) => LinearFetch<LinearConnection<InitiativeHistory> | undefined>, data: InitiativeHistoryConnectionFragment);
}
/**
* A label that can be applied to initiatives for categorization. Initiative labels are workspace-level and can be organized into groups with a parent-child hierarchy. Only child labels (not group labels) can be directly applied to initiatives.
*
* @param request - function to call the graphql client
* @param data - L.InitiativeLabelFragment response data
*/
declare class InitiativeLabel extends Request {
private _creator?;
private _parent?;
private _retiredBy?;
constructor(request: LinearRequest, data: InitiativeLabelFragment);
/** The time at which the entity was archived. Null if the entity has not been archived. */
archivedAt?: Date | null;
/** The label's color as a HEX string (e.g., '#EB5757'). Used for visual identification of the label in the UI. */
color: string;
/** The time at which the entity was created. */
createdAt: Date;
/** The label's description. */
description?: string | null;
/** The unique identifier of the entity. */
id: string;
/** Whether the label is a group. When true, this label acts as a container for child labels and cannot be directly applied to issues or projects. When false, the label can be directly applied. */
isGroup: boolean;
/** The date when the label was last applied to an issue, project, or initiative. Null if the label has never been applied. */
lastAppliedAt?: Date | null;
/** The label's name. */
name: string;
/**
* The last time at which the entity was meaningfully updated. This is the same as the creation time if the entity hasn't
* been updated after creation.
*/
updatedAt: Date;
/** The user who created the label. */
get creator(): LinearFetch<User> | undefined;
/** The ID of user who created the label. */
get creatorId(): string | undefined;
/** The workspace that the initiative label belongs to. */
get organization(): LinearFetch<Organization>;
/** The parent label group. If set, this label is a child within a group. Only one child label from each group can be applied to an initiative at a time. */
get parent(): LinearFetch<InitiativeLabel> | undefined;
/** The ID of parent label group. if set, this label is a child within a group. only one child label from each group can be applied to an initiative at a time. */
get parentId(): string | undefined;
/** The user who retired the label. Retired labels cannot be applied to new initiatives but remain on existing ones. Null if the label is active. */
get retiredBy(): LinearFetch<User> | undefined;
/** The ID of user who retired the label. retired labels cannot be applied to new initiatives but remain on existing ones. null if the label is active. */
get retiredById(): string | undefined;
/** Children of the label. */
children(variables?: Omit<InitiativeLabel_ChildrenQueryVariables, "id">): LinearFetch<InitiativeLabelConnection>;
/** Initiatives associated with the label. */
initiatives(variables?: Omit<InitiativeLabel_InitiativesQueryVariables, "id">): LinearFetch<InitiativeConnection>;
/** Creates a new initiative label. */
create(input: InitiativeLabelCreateInput): LinearFetch<InitiativeLabelPayload>;
/** Deletes an initiative label. */
delete(): LinearFetch<DeletePayload>;
/** Updates an initiative label. */
update(input: InitiativeLabelUpdateInput): LinearFetch<InitiativeLabelPayload>;
}
/**
* Certain properties of an initiative label.
*
* @param data - L.InitiativeLabelChildWebhookPayloadFragment response data
*/
declare class InitiativeLabelChildWebhookPayload {
constructor(data: InitiativeLabelChildWebhookPayloadFragment);
/** The color of the initiative label. */
color: string;
/** The ID of the initiative label. */
id: string;
/** The name of the initiative label. */
name: string;
/** The parent ID of the initiative label. */
parentId?: string | null;
}
/**
* InitiativeLabelConnection model
*
* @param request - function to call the graphql client
* @param fetch - function to trigger a refetch of this InitiativeLabelConnection model
* @param data - InitiativeLabelConnection response data
*/
declare class InitiativeLabelConnection extends Connection<InitiativeLabel> {
constructor(request: LinearRequest, fetch: (connection?: LinearConnectionVariables) => LinearFetch<LinearConnection<InitiativeLabel> | undefined>, data: InitiativeLabelConnectionFragment);
}
/**
* The result of an initiative label mutation.
*
* @param request - function to call the graphql client
* @param data - L.InitiativeLabelPayloadFragment response data
*/
declare class InitiativeLabelPayload extends Request {
private _initiativeLabel;
constructor(request: LinearRequest, data: InitiativeLabelPayloadFragment);
/** The identifier of the last sync operation. */
lastSyncId: number;
/** Whether the operation was successful. */
success: boolean;
/** The label that was created or updated. */
get initiativeLabel(): LinearFetch<InitiativeLabel> | undefined;
/** The ID of label that was created or updated. */
get initiativeLabelId(): string | undefined;
}
/**
* Payload for an initiative label webhook.
*
* @param data - L.InitiativeLabelWebhookPayloadFragment response data
*/
declare class InitiativeLabelWebhookPayload {
constructor(data: InitiativeLabelWebhookPayloadFragment);
/** The time at which the entity was archived. */
archivedAt?: string | null;
/** The color of the initiative label. */
color: string;
/** The time at which the entity was created. */
createdAt: string;
/** The creator ID of the initiative label. */
creatorId?: string | null;
/** The label's description. */
description?: string | null;
/** The ID of the entity. */
id: string;
/** Whether the label is a group. */
isGroup: boolean;
/** The name of the initiative label. */
name: string;
/** The parent ID of the initiative label. */
parentId?: string | null;
/** The time at which the entity was updated. */
updatedAt: string;
}
/**
* A notification related to an initiative, such as being added as owner, initiative updates, comments, or mentions.
*
* @param request - function to call the graphql client
* @param data - L.InitiativeNotificationFragment response data
*/
declare class InitiativeNotification extends Request {
private _actor?;
private _comment?;
private _document?;
private _externalUserActor?;
private _initiative?;
private _initiativeUpdate?;
private _parentComment?;
private _user;
constructor(request: LinearRequest, data: InitiativeNotificationFragment);
/** The time at which the entity was archived. Null if the entity has not been archived. */
archivedAt?: Date | null;
/** Related comment ID. Null if the notification is not related to a comment. */
commentId?: string | null;
/** The time at which the entity was created. */
createdAt: Date;
/** The time at which an email reminder for this notification was sent to the user. Null if no email reminder has been sent. */
emailedAt?: Date | null;
/** The unique identifier of the entity. */
id: string;
/** Related initiative ID. */
initiativeId: string;
/** Related initiative update ID. */
initiativeUpdateId?: string | null;
/** Related parent comment ID. Null if the notification is not related to a comment. */
parentCommentId?: string | null;
/** Name of the reaction emoji related to the notification. */
reactionEmoji?: string | null;
/** The time at which the user marked the notification as read. Null if the notification is unread. */
readAt?: Date | null;
/** The time until which a notification is snoozed. After this time, the notification reappears in the user's inbox. Null if the notification is not currently snoozed. */
snoozedUntilAt?: Date | null;
/** Notification type. Determines the kind of event that triggered this notification and which associated entity fields will be populated. */
type: string;
/** The time at which a notification was unsnoozed. Null if the notification has not been unsnoozed. */
unsnoozedAt?: Date | null;
/**
* The last time at which the entity was meaningfully updated. This is the same as the creation time if the entity hasn't
* been updated after creation.
*/
updatedAt: Date;
/** The bot that caused the notification. */
botActor?: ActorBot | null;
/** The category of the notification. */
category: NotificationCategory;
/** The user that caused the notification. Null if the notification was triggered by a non-user actor such as an integration, external user, or system event. */
get actor(): LinearFetch<User> | undefined;
/** The ID of user that caused the notification. null if the notification was triggered by a non-user actor such as an integration, external user, or system event. */
get actorId(): string | undefined;
/** The comment related to the notification. */
get comment(): LinearFetch<Comment> | undefined;
/** The document related to the notification. */
get document(): LinearFetch<Document> | undefined;
/** The ID of document related to the notification. */
get documentId(): string | undefined;
/** The external user that caused the notification. Populated when the notification was triggered by an external user (e.g., a commenter from a connected integration like Slack or GitHub) rather than a Linear workspace member. */
get externalUserActor(): LinearFetch<ExternalUser> | undefined;
/** The ID of external user that caused the notification. populated when the notification was triggered by an external user (e.g., a commenter from a connected integration like slack or github) rather than a linear workspace member. */
get externalUserActorId(): string | undefined;
/** The initiative related to the notification. */
get initiative(): LinearFetch<Initiative> | undefined;
/** The initiative update related to the notification. */
get initiativeUpdate(): LinearFetch<InitiativeUpdate> | undefined;
/** The parent comment related to the notification, if a notification is a reply comment notification. */
get parentComment(): LinearFetch<Comment> | undefined;
/** The recipient user of this notification. */
get user(): LinearFetch<User> | undefined;
/** The ID of recipient user of this notification. */
get userId(): string | undefined;
}
/**
* A notification subscription scoped to a specific initiative. The subscriber receives notifications for events related to this initiative, such as updates, comments, and ownership changes.
*
* @param request - function to call the graphql client
* @param data - L.InitiativeNotificationSubscriptionFragment response data
*/
declare class InitiativeNotificationSubscription extends Request {
private _customView?;
private _customer?;
private _cycle?;
private _initiative;
private _label?;
private _project?;
private _subscriber;
private _team?;
private _user?;
constructor(request: LinearRequest, data: InitiativeNotificationSubscriptionFragment);
/** Whether the subscription is active. When inactive, no notifications are generated from this subscription even though it still exists. */
active: boolean;
/** The time at which the entity was archived. Null if the entity has not been archived. */
archivedAt?: Date | null;
/** The time at which the entity was created. */
createdAt: Date;
/** The unique identifier of the entity. */
id: string;
/** The notification event types that this subscription will deliver to the subscriber. */
notificationSubscriptionTypes: string[];
/**
* The last time at which the entity was meaningfully updated. This is the same as the creation time if the entity hasn't
* been updated after creation.
*/
updatedAt: Date;
/** The type of contextual view (e.g., active issues, backlog) that further scopes a team notification subscription. Null if the subscription is not associated with a specific view type. */
contextViewType?: ContextViewType | null;
/** The type of user-specific view that further scopes a user notification subscription. Null if the subscription is not associated with a user view type. */
userContextViewType?: UserContextViewType | null;
/** The custom view that this notification subscription is scoped to. Null if the subscription targets a different entity type. */
get customView(): LinearFetch<CustomView> | undefined;
/** The ID of custom view that this notification subscription is scoped to. null if the subscription targets a different entity type. */
get customViewId(): string | undefined;
/** The customer that this notification subscription is scoped to. Null if the subscription targets a different entity type. */
get customer(): LinearFetch<Customer> | undefined;
/** The ID of customer that this notification subscription is scoped to. null if the subscription targets a different entity type. */
get customerId(): string | undefined;
/** The cycle that this notification subscription is scoped to. Null if the subscription targets a different entity type. */
get cycle(): LinearFetch<Cycle> | undefined;
/** The ID of cycle that this notification subscription is scoped to. null if the subscription targets a different entity type. */
get cycleId(): string | undefined;
/** The initiative subscribed to. */
get initiative(): LinearFetch<Initiative> | undefined;
/** The ID of initiative subscribed to. */
get initiativeId(): string | undefined;
/** The issue label that this notification subscription is scoped to. Null if the subscription targets a different entity type. */
get label(): LinearFetch<IssueLabel> | undefined;
/** The ID of issue label that this notification subscription is scoped to. null if the subscription targets a different entity type. */
get labelId(): string | undefined;
/** The project that this notification subscription is scoped to. Null if the subscription targets a different entity type. */
get project(): LinearFetch<Project> | undefined;
/** The ID of project that this notification subscription is scoped to. null if the subscription targets a different entity type. */
get projectId(): string | undefined;
/** The user who will receive notifications from this subscription. */
get subscriber(): LinearFetch<User> | undefined;
/** The ID of user who will receive notifications from this subscription. */
get subscriberId(): string | undefined;
/** The team that this notification subscription is scoped to. Null if the subscription targets a different entity type. */
get team(): LinearFetch<Team> | undefined;
/** The ID of team that this notification subscription is scoped to. null if the subscription targets a different entity type. */
get teamId(): string | undefined;
/** The user that this notification subscription is scoped to, for user-specific view subscriptions. Null if the subscription targets a different entity type. */
get user(): LinearFetch<User> | undefined;
/** The ID of user that this notification subscription is scoped to, for user-specific view subscriptions. null if the subscription targets a different entity type. */
get userId(): string | undefined;
}
/**
* The payload returned by the initiative mutations.
*
* @param request - function to call the graphql client
* @param data - L.InitiativePayloadFragment response data
*/
declare class InitiativePayload extends Request {
private _initiative;
constructor(request: LinearRequest, data: InitiativePayloadFragment);
/** The identifier of the last sync operation. */
lastSyncId: number;
/** Whether the operation was successful. */
success: boolean;
/** The initiative that was created or updated. */
get initiative(): LinearFetch<Initiative> | undefined;
/** The ID of initiative that was created or updated. */
get initiativeId(): string | undefined;
}
/**
* A parent-child relation between two initiatives, forming a hierarchy. The initiative field is the parent and relatedInitiative is the child. Cycles and excessive nesting depth are prevented.
*
* @param request - function to call the graphql client
* @param data - L.InitiativeRelationFragment response data
*/
declare class InitiativeRelation extends Request {
private _initiative;
private _relatedInitiative;
private _user?;
constructor(request: LinearRequest, data: InitiativeRelationFragment);
/** The time at which the entity was archived. Null if the entity has not been archived. */
archivedAt?: Date | null;
/** The time at which the entity was created. */
createdAt: Date;
/** The unique identifier of the entity. */
id: string;
/** The sort order of the child initiative within its parent initiative. */
sortOrder: number;
/**
* The last time at which the entity was meaningfully updated. This is the same as the creation time if the entity hasn't
* been updated after creation.
*/
updatedAt: Date;
/** The parent initiative in this hierarchical relation. */
get initiative(): LinearFetch<Initiative> | undefined;
/** The ID of parent initiative in this hierarchical relation. */
get initiativeId(): string | undefined;
/** The child initiative in this hierarchical relation. */
get relatedInitiative(): LinearFetch<Initiative> | undefined;
/** The ID of child initiative in this hierarchical relation. */
get relatedInitiativeId(): string | undefined;
/** The user who last created or modified the relation. Null if the user has been deleted. */
get user(): LinearFetch<User> | undefined;
/** The ID of user who last created or modified the relation. null if the user has been deleted. */
get userId(): string | undefined;
/** Creates a new parent-child relation between two initiatives. The relation cannot create cycles or exceed maximum nesting depth. */
create(input: InitiativeRelationCreateInput): LinearFetch<InitiativeRelationPayload>;
/** Deletes an initiative relation. */
delete(): LinearFetch<DeletePayload>;
/** Updates an initiative relation. */
update(input: InitiativeRelationUpdateInput): LinearFetch<InitiativeRelationPayload>;
}
/**
* InitiativeRelationConnection model
*
* @param request - function to call the graphql client
* @param fetch - function to trigger a refetch of this InitiativeRelationConnection model
* @param data - InitiativeRelationConnection response data
*/
declare class InitiativeRelationConnection extends Connection<InitiativeRelation> {
constructor(request: LinearRequest, fetch: (connection?: LinearConnectionVariables) => LinearFetch<LinearConnection<InitiativeRelation> | undefined>, data: InitiativeRelationConnectionFragment);
}
/**
* The result of an initiative relation mutation.
*
* @param request - function to call the graphql client
* @param data - L.InitiativeRelationPayloadFragment response data
*/
declare class InitiativeRelationPayload extends Request {
private _initiativeRelation;
constructor(request: LinearRequest, data: InitiativeRelationPayloadFragment);
/** The identifier of the last sync operation. */
lastSyncId: number;
/** Whether the operation was successful. */
success: boolean;
/** The initiative relation that was created or updated. */
get initiativeRelation(): LinearFetch<InitiativeRelation> | undefined;
/** The ID of initiative relation that was created or updated. */
get initiativeRelationId(): string | undefined;
}
/**
* The join entity linking a project to an initiative. A project can only appear once in an initiative hierarchy -- it cannot be on both an initiative and one of its ancestor or descendant initiatives.
*
* @param request - function to call the graphql client
* @param data - L.InitiativeToProjectFragment response data
*/
declare class InitiativeToProject extends Request {
private _initiative;
private _project;
constructor(request: LinearRequest, data: InitiativeToProjectFragment);
/** The time at which the entity was archived. Null if the entity has not been archived. */
archivedAt?: Date | null;
/** The time at which the entity was created. */
createdAt: Date;
/** The unique identifier of the entity. */
id: string;
/** The sort order of the project within its parent initiative. */
sortOrder: string;
/**
* The last time at which the entity was meaningfully updated. This is the same as the creation time if the entity hasn't
* been updated after creation.
*/
updatedAt: Date;
/** The initiative that the project is associated with. */
get initiative(): LinearFetch<Initiative> | undefined;
/** The ID of initiative that the project is associated with. */
get initiativeId(): string | undefined;
/** The project that the initiative is associated with. */
get project(): LinearFetch<Project> | undefined;
/** The ID of project that the initiative is associated with. */
get projectId(): string | undefined;
/** Associates a project with an initiative. A project can only appear once in an initiative hierarchy. */
create(input: InitiativeToProjectCreateInput): LinearFetch<InitiativeToProjectPayload>;
/** Removes a project from an initiative. */
delete(): LinearFetch<DeletePayload>;
/** Updates an initiative-to-project association, such as its sort order. */
update(input: InitiativeToProjectUpdateInput): LinearFetch<InitiativeToProjectPayload>;
}
/**
* InitiativeToProjectConnection model
*
* @param request - function to call the graphql client
* @param fetch - function to trigger a refetch of this InitiativeToProjectConnection model
* @param data - InitiativeToProjectConnection response data
*/
declare class InitiativeToProjectConnection extends Connection<InitiativeToProject> {
constructor(request: LinearRequest, fetch: (connection?: LinearConnectionVariables) => LinearFetch<LinearConnection<InitiativeToProject> | undefined>, data: InitiativeToProjectConnectionFragment);
}
/**
* The result of an initiative-to-project mutation.
*
* @param request - function to call the graphql client
* @param data - L.InitiativeToProjectPayloadFragment response data
*/
declare class InitiativeToProjectPayload extends Request {
private _initiativeToProject;
constructor(request: LinearRequest, data: InitiativeToProjectPayloadFragment);
/** The identifier of the last sync operation. */
lastSyncId: number;
/** Whether the operation was successful. */
success: boolean;
/** The initiative-to-project association that was created or updated. */
get initiativeToProject(): LinearFetch<InitiativeToProject> | undefined;
/** The ID of initiative-to-project association that was created or updated. */
get initiativeToProjectId(): string | undefined;
}
/**
* A status update posted to an initiative. Initiative updates communicate progress, health, and blockers to stakeholders. Each update captures the initiative's health at the time of writing and includes a rich-text body with the update content.
*
* @param request - function to call the graphql client
* @param data - L.InitiativeUpdateFragment response data
*/
declare class InitiativeUpdate extends Request {
private _initiative;
private _user;
constructor(request: LinearRequest, data: InitiativeUpdateFragment);
/** The time at which the entity was archived. Null if the entity has not been archived. */
archivedAt?: Date | null;
/** The update content in markdown format. */
body: string;
/** Number of comments associated with the initiative update. */
commentCount: number;
/** The time at which the entity was created. */
createdAt: Date;
/** The diff between the current update and the previous one. */
diff?: Scalars["JSONObject"] | null;
/** The diff between the current update and the previous one, formatted as markdown. */
diffMarkdown?: string | null;
/** The time the update was edited. */
editedAt?: Date | null;
/** The unique identifier of the entity. */
id: string;
/** Whether the diff between this update and the previous one should be hidden in the UI. Only used for legacy updates. Not settable in the UI. */
isDiffHidden: boolean;
/** Whether the initiative update is stale. */
isStale: boolean;
/** Emoji reaction summary, grouped by emoji type. */
reactionData: Scalars["JSONObject"];
/** The update's unique URL slug. */
slugId: string;
/**
* The last time at which the entity was meaningfully updated. This is the same as the creation time if the entity hasn't
* been updated after creation.
*/
updatedAt: Date;
/** The URL to the initiative update. */
url: string;
/** Reactions associated with the initiative update. */
reactions: Reaction[];
/** The health of the initiative at the time this update was posted. Possible values are onTrack, atRisk, or offTrack. */
health: InitiativeUpdateHealthType;
/** The initiative that this status update was posted to. */
get initiative(): LinearFetch<Initiative> | undefined;
/** The ID of initiative that this status update was posted to. */
get initiativeId(): string | undefined;
/** The user who wrote the update. */
get user(): LinearFetch<User> | undefined;
/** The ID of user who wrote the update. */
get userId(): string | undefined;
/** Comments associated with the initiative update. */
comments(variables?: Omit<InitiativeUpdate_CommentsQueryVariables, "id">): LinearFetch<CommentConnection>;
/** Archives an initiative update. */
archive(): LinearFetch<InitiativeUpdateArchivePayload>;
/** Creates an initiative update. */
create(input: InitiativeUpdateCreateInput): LinearFetch<InitiativeUpdatePayload>;
/** Unarchives an initiative update. */
unarchive(): LinearFetch<InitiativeUpdateArchivePayload>;
/** Updates an initiative update. */
update(input: InitiativeUpdateUpdateInput): LinearFetch<InitiativeUpdatePayload>;
}
/**
* A generic payload return from entity archive mutations.
*
* @param request - function to call the graphql client
* @param data - L.InitiativeUpdateArchivePayloadFragment response data
*/
declare class InitiativeUpdateArchivePayload extends Request {
private _entity?;
constructor(request: LinearRequest, data: InitiativeUpdateArchivePayloadFragment);
/** The identifier of the last sync operation. */
lastSyncId: number;
/** Whether the operation was successful. */
success: boolean;
/** The archived/unarchived entity. Null if entity was deleted. */
get entity(): LinearFetch<InitiativeUpdate> | undefined;
/** The ID of archived/unarchived entity. null if entity was deleted. */
get entityId(): string | undefined;
}
/**
* Certain properties of an initiative update.
*
* @param data - L.InitiativeUpdateChildWebhookPayloadFragment response data
*/
declare class InitiativeUpdateChildWebhookPayload {
constructor(data: InitiativeUpdateChildWebhookPayloadFragment);
/** The body of the initiative update. */
bodyData: string;
/** The edited at timestamp of the initiative update. */
editedAt: string;
/** The health of the initiative update. */
health: string;
/** The ID of the initiative update. */
id: string;
}
/**
* InitiativeUpdateConnection model
*
* @param request - function to call the graphql client
* @param fetch - function to trigger a refetch of this InitiativeUpdateConnection model
* @param data - InitiativeUpdateConnection response data
*/
declare class InitiativeUpdateConnection extends Connection<InitiativeUpdate> {
constructor(request: LinearRequest, fetch: (connection?: LinearConnectionVariables) => LinearFetch<LinearConnection<InitiativeUpdate> | undefined>, data: InitiativeUpdateConnectionFragment);
}
/**
* The result of an initiative update mutation.
*
* @param request - function to call the graphql client
* @param data - L.InitiativeUpdatePayloadFragment response data
*/
declare class InitiativeUpdatePayload extends Request {
private _initiativeUpdate;
constructor(request: LinearRequest, data: InitiativeUpdatePayloadFragment);
/** The identifier of the last sync operation. */
lastSyncId: number;
/** Whether the operation was successful. */
success: boolean;
/** The initiative update that was created or updated. */
get initiativeUpdate(): LinearFetch<InitiativeUpdate> | undefined;
/** The ID of initiative update that was created or updated. */
get initiativeUpdateId(): string | undefined;
}
/**
* The result of an initiative update reminder mutation.
*
* @param request - function to call the graphql client
* @param data - L.InitiativeUpdateReminderPayloadFragment response data
*/
declare class InitiativeUpdateReminderPayload extends Request {
constructor(request: LinearRequest, data: InitiativeUpdateReminderPayloadFragment);
/** The identifier of the last sync operation. */
lastSyncId: number;
/** Whether the operation was successful. */
success: boolean;
}
/**
* Payload for an initiative update webhook.
*
* @param data - L.InitiativeUpdateWebhookPayloadFragment response data
*/
declare class InitiativeUpdateWebhookPayload {
constructor(data: InitiativeUpdateWebhookPayloadFragment);
/** The time at which the entity was archived. */
archivedAt?: string | null;
/** The body of the initiative update. */
body: string;
/** The body data of the initiative update. */
bodyData: string;
/** The time at which the entity was created. */
createdAt: string;
/** The diff between the current update and the previous one, formatted as markdown. */
diffMarkdown?: string | null;
/** The edited at timestamp of the initiative update. */
editedAt: string;
/** The health of the initiative update. */
health: string;
/** The ID of the entity. */
id: string;
/** The initiative id of the initiative update. */
initiativeId: string;
/** The reaction data for this initiative update. */
reactionData: Scalars["JSONObject"];
/** The slug id of the initiative update. */
slugId: string;
/** The time at which the entity was updated. */
updatedAt: string;
/** The URL of the initiative update. */
url?: string | null;
/** The user id of the initiative update. */
userId: string;
/** The initiative that the initiative update belongs to. */
initiative: InitiativeChildWebhookPayload;
/** The user that created the initiative update. */
user: UserChildWebhookPayload;
}
/**
* Payload for an initiative webhook.
*
* @param data - L.InitiativeWebhookPayloadFragment response data
*/
declare class InitiativeWebhookPayload {
constructor(data: InitiativeWebhookPayloadFragment);
/** The time at which the entity was archived. */
archivedAt?: string | null;
/** When the initiative was canceled. */
canceledAt?: string | null;
/** The color of the initiative. */
color?: string | null;
/** When the initiative was completed. */
completedAt?: string | null;
/** The time at which the entity was created. */
createdAt: string;
/** The ID of the user who created the initiative. */
creatorId?: string | null;
/** The description of the initiative. */
description: string;
/** The resolution of the update reminder frequency. */
frequencyResolution: string;
/** The health status of the initiative. */
health?: string | null;
/** When the health status was last updated. */
healthUpdatedAt?: string | null;
/** The icon of the initiative. */
icon?: string | null;
/** The ID of the entity. */
id: string;
/** The human-readable identifier of the initiative. */
identifier?: string | null;
/** The IDs of the initiative labels associated with this initiative. */
labelIds: string[];
/** The ID of the last update for this initiative. */
lastUpdateId?: string | null;
/** The ID of the team that leads the initiative. */
leadTeamId?: string | null;
/** The name of the initiative. */
name: string;
/** The ID of the organization this initiative belongs to. */
organizationId: string;
/** The ID of the user who owns the initiative. */
ownerId?: string | null;
/** Previous identifiers of the initiative. */
previousIdentifiers?: string[] | null;
/** The priority of the initiative. 0 = No priority, 1 = Urgent, 2 = High, 3 = Medium, 4 = Low. */
priority: number;
/** The unique slug identifier of the initiative. */
slugId: string;
/** The sort order of the initiative within the organization. */
sortOrder: number;
/** When the initiative was started. */
startedAt?: string | null;
/** The current status of the initiative. */
status: string;
/** The target date of the initiative. */
targetDate?: string | null;
/** The resolution of the target date. */
targetDateResolution?: string | null;
/** Whether the initiative is trashed. */
trashed?: boolean | null;
/** The frequency of update reminders. */
updateReminderFrequency?: number | null;
/** The frequency of update reminders in weeks. */
updateReminderFrequencyInWeeks?: number | null;
/** The day of the week for update reminders. */
updateRemindersDay?: number | null;
/** The hour of the day for update reminders. */
updateRemindersHour?: number | null;
/** The time at which the entity was updated. */
updatedAt: string;
/** The URL of the initiative. */
url: string;
/** The parent initiatives associated with the initiative. */
parentInitiatives?: InitiativeChildWebhookPayload[] | null;
/** The projects associated with the initiative. */
projects?: ProjectChildWebhookPayload[] | null;
/** The sub-initiatives associated with the initiative. */
subInitiatives?: InitiativeChildWebhookPayload[] | null;
/** The user who created the initiative. */
creator?: UserChildWebhookPayload | null;
/** The last update for this initiative. */
lastUpdate?: InitiativeUpdateChildWebhookPayload | null;
/** The user who owns the initiative. */
owner?: UserChildWebhookPayload | null;
/** The parent initiative associated with the initiative. */
parentInitiative?: InitiativeChildWebhookPayload | null;
}
/**
* An integration with an external service. Integrations connect Linear to tools like Slack, GitHub, GitLab, Jira, Figma, Sentry, Zendesk, Intercom, Front, PagerDuty, Opsgenie, Google Sheets, Microsoft Teams, Discord, Salesforce, and others. Each integration record represents a single configured connection, scoped to a workspace and optionally to a specific team, project, initiative, or custom view. Personal integrations (e.g., Slack Personal, Jira Personal, GitHub Personal) are scoped to the user who created them.
*
* @param request - function to call the graphql client
* @param data - L.IntegrationFragment response data
*/
declare class Integration extends Request {
private _creator;
private _team?;
constructor(request: LinearRequest, data: IntegrationFragment);
/** The time at which the entity was archived. Null if the entity has not been archived. */
archivedAt?: Date | null;
/** The time at which the entity was created. */
createdAt: Date;
/** The unique identifier of the entity. */
id: string;
/** The integration's type, identifying which external service this integration connects to (e.g., 'slack', 'github', 'jira', 'figma'). This determines the shape of the integration's settings and data. */
service: string;
/**
* The last time at which the entity was meaningfully updated. This is the same as the creation time if the entity hasn't
* been updated after creation.
*/
updatedAt: Date;
/** The user that added the integration. */
get creator(): LinearFetch<User> | undefined;
/** The ID of user that added the integration. */
get creatorId(): string | undefined;
/** The workspace that the integration is associated with. */
get organization(): LinearFetch<Organization>;
/** The team that the integration is associated with. */
get team(): LinearFetch<Team> | undefined;
/** The ID of team that the integration is associated with. */
get teamId(): string | undefined;
/** Archives an integration. */
archive(): LinearFetch<DeletePayload>;
/** Deletes an integration. */
delete(variables?: Omit<DeleteIntegrationMutationVariables, "id">): LinearFetch<DeletePayload>;
}
/**
* Integration actor payload for webhooks.
*
* @param data - L.IntegrationActorWebhookPayloadFragment response data
*/
declare class IntegrationActorWebhookPayload {
constructor(data: IntegrationActorWebhookPayloadFragment);
/** The ID of the integration. */
id: string;
/** The service of the integration. */
service: string;
/** The type of actor. */
type: string;
}
/**
* Certain properties of an integration.
*
* @param data - L.IntegrationChildWebhookPayloadFragment response data
*/
declare class IntegrationChildWebhookPayload {
constructor(data: IntegrationChildWebhookPayloadFragment);
/** The ID of the integration. */
id: string;
/** The service of the integration. */
service: string;
}
/**
* IntegrationConnection model
*
* @param request - function to call the graphql client
* @param fetch - function to trigger a refetch of this IntegrationConnection model
* @param data - IntegrationConnection response data
*/
declare class IntegrationConnection extends Connection<Integration> {
constructor(request: LinearRequest, fetch: (connection?: LinearConnectionVariables) => LinearFetch<LinearConnection<Integration> | undefined>, data: IntegrationConnectionFragment);
}
/**
* IntegrationGithubRemoveCodeAccessPayload model
*
* @param request - function to call the graphql client
* @param data - L.IntegrationGithubRemoveCodeAccessPayloadFragment response data
*/
declare class IntegrationGithubRemoveCodeAccessPayload extends Request {
constructor(request: LinearRequest, data: IntegrationGithubRemoveCodeAccessPayloadFragment);
/** The identifier of the last sync operation. */
lastSyncId: number;
/** The action the client should take next. */
action: GitHubRemoveCodeAccessAction;
}
/**
* IntegrationHasScopesPayload model
*
* @param request - function to call the graphql client
* @param data - L.IntegrationHasScopesPayloadFragment response data
*/
declare class IntegrationHasScopesPayload extends Request {
constructor(request: LinearRequest, data: IntegrationHasScopesPayloadFragment);
/** Whether the integration has the required scopes. */
hasAllScopes: boolean;
/** The missing scopes. */
missingScopes?: string[] | null;
}
/**
* IntegrationPayload model
*
* @param request - function to call the graphql client
* @param data - L.IntegrationPayloadFragment response data
*/
declare class IntegrationPayload extends Request {
private _integration?;
constructor(request: LinearRequest, data: IntegrationPayloadFragment);
/** The identifier of the last sync operation. */
lastSyncId: number;
/** Whether the operation was successful. */
success: boolean;
/** GitHub-specific details for the operation. Populated by GitHub-related mutations only. */
gitHub?: GitHubIntegrationConnectDetails | null;
/** The integration that was created or updated. */
get integration(): LinearFetch<Integration> | undefined;
/** The ID of integration that was created or updated. */
get integrationId(): string | undefined;
}
/**
* The result of an integration request mutation.
*
* @param request - function to call the graphql client
* @param data - L.IntegrationRequestPayloadFragment response data
*/
declare class IntegrationRequestPayload extends Request {
constructor(request: LinearRequest, data: IntegrationRequestPayloadFragment);
/** Whether the operation was successful. */
success: boolean;
}
/**
* IntegrationSlackWorkspaceNamePayload model
*
* @param request - function to call the graphql client
* @param data - L.IntegrationSlackWorkspaceNamePayloadFragment response data
*/
declare class IntegrationSlackWorkspaceNamePayload extends Request {
constructor(request: LinearRequest, data: IntegrationSlackWorkspaceNamePayloadFragment);
/** The current name of the Slack workspace. */
name: string;
/** Whether the operation was successful. */
success: boolean;
}
/**
* A connection between a template and an integration. This join entity links Linear issue templates to integrations so that external systems (e.g., Slack Asks channels) can use specific templates when creating issues. Each record optionally includes a foreign entity ID to scope the template to a specific external resource, such as a particular Slack channel.
*
* @param request - function to call the graphql client
* @param data - L.IntegrationTemplateFragment response data
*/
declare class IntegrationTemplate extends Request {
private _integration;
private _template;
constructor(request: LinearRequest, data: IntegrationTemplateFragment);
/** The time at which the entity was archived. Null if the entity has not been archived. */
archivedAt?: Date | null;
/** The time at which the entity was created. */
createdAt: Date;
/** The identifier of the foreign entity in the external service that this template is scoped to. For example, a Slack channel ID indicating which channel should use this template for creating issues. When null, the template applies to the integration as a whole rather than a specific external resource. */
foreignEntityId?: string | null;
/** The unique identifier of the entity. */
id: string;
/**
* The last time at which the entity was meaningfully updated. This is the same as the creation time if the entity hasn't
* been updated after creation.
*/
updatedAt: Date;
/** The integration that the template is associated with. */
get integration(): LinearFetch<Integration> | undefined;
/** The ID of integration that the template is associated with. */
get integrationId(): string | undefined;
/** The template that the integration is associated with. */
get template(): LinearFetch<Template> | undefined;
/** The ID of template that the integration is associated with. */
get templateId(): string | undefined;
/** Creates a new connection between a template and an integration, optionally scoped to a specific external resource such as a Slack channel. */
create(input: IntegrationTemplateCreateInput): LinearFetch<IntegrationTemplatePayload>;
/** Deletes an integration template connection, removing the link between a template and an integration. */
delete(): LinearFetch<DeletePayload>;
}
/**
* IntegrationTemplateConnection model
*
* @param request - function to call the graphql client
* @param fetch - function to trigger a refetch of this IntegrationTemplateConnection model
* @param data - IntegrationTemplateConnection response data
*/
declare class IntegrationTemplateConnection extends Connection<IntegrationTemplate> {
constructor(request: LinearRequest, fetch: (connection?: LinearConnectionVariables) => LinearFetch<LinearConnection<IntegrationTemplate> | undefined>, data: IntegrationTemplateConnectionFragment);
}
/**
* The result of an integration template mutation.
*
* @param request - function to call the graphql client
* @param data - L.IntegrationTemplatePayloadFragment response data
*/
declare class IntegrationTemplatePayload extends Request {
private _integrationTemplate;
constructor(request: LinearRequest, data: IntegrationTemplatePayloadFragment);
/** The identifier of the last sync operation. */
lastSyncId: number;
/** Whether the operation was successful. */
success: boolean;
/** The IntegrationTemplate that was created or updated. */
get integrationTemplate(): LinearFetch<IntegrationTemplate> | undefined;
/** The ID of integrationtemplate that was created or updated. */
get integrationTemplateId(): string | undefined;
}
/**
* The configuration of all integrations for different entities. Controls Slack notification preferences for a specific team, project, initiative, or custom view. Exactly one of teamId, projectId, customViewId, or initiativeId must be set, determining which entity these integration settings apply to.
*
* @param request - function to call the graphql client
* @param data - L.IntegrationsSettingsFragment response data
*/
declare class IntegrationsSettings extends Request {
private _initiative?;
private _project?;
private _team?;
constructor(request: LinearRequest, data: IntegrationsSettingsFragment);
/** The time at which the entity was archived. Null if the entity has not been archived. */
archivedAt?: Date | null;
/** The time at which the entity was created. */
createdAt: Date;
/** The unique identifier of the entity. */
id: string;
/** Whether to send a Microsoft Teams message when a project update is created. */
microsoftTeamsProjectUpdateCreated?: boolean | null;
/** Whether to send a Slack message when an initiative update is created. */
slackInitiativeUpdateCreated?: boolean | null;
/** Whether to send a Slack message when a new issue is added to triage. */
slackIssueAddedToTriage?: boolean | null;
/** Whether to send a Slack message when an issue is added to the custom view. */
slackIssueAddedToView?: boolean | null;
/** Whether to send a Slack message when a new issue is created for the project or the team. */
slackIssueCreated?: boolean | null;
/** Whether to send a Slack message when a comment is created on any of the project or team's issues. */
slackIssueNewComment?: boolean | null;
/** Whether to send a Slack message when an SLA is breached. */
slackIssueSlaBreached?: boolean | null;
/** Whether to send a Slack message when an SLA is at high risk. */
slackIssueSlaHighRisk?: boolean | null;
/** Whether to send a Slack message when any of the project or team's issues has a change in status. */
slackIssueStatusChangedAll?: boolean | null;
/** Whether to send a Slack message when any of the project or team's issues change to completed or canceled. */
slackIssueStatusChangedDone?: boolean | null;
/** Whether to send a Slack message when a project update is created. */
slackProjectUpdateCreated?: boolean | null;
/** Whether to send a new project update to team Slack channels. */
slackProjectUpdateCreatedToTeam?: boolean | null;
/** Whether to send a new project update to workspace Slack channel. */
slackProjectUpdateCreatedToWorkspace?: boolean | null;
/**
* The last time at which the entity was meaningfully updated. This is the same as the creation time if the entity hasn't
* been updated after creation.
*/
updatedAt: Date;
/** The type of view to which the integration settings context is associated with. */
contextViewType?: ContextViewType | null;
/** Initiative which those settings apply to. */
get initiative(): LinearFetch<Initiative> | undefined;
/** The ID of initiative which those settings apply to. */
get initiativeId(): string | undefined;
/** Project which those settings apply to. */
get project(): LinearFetch<Project> | undefined;
/** The ID of project which those settings apply to. */
get projectId(): string | undefined;
/** Team which those settings apply to. */
get team(): LinearFetch<Team> | undefined;
/** The ID of team which those settings apply to. */
get teamId(): string | undefined;
/** Creates new Slack notification settings for a team, project, initiative, or custom view. */
create(input: IntegrationsSettingsCreateInput): LinearFetch<IntegrationsSettingsPayload>;
/** Updates Slack notification settings for a team, project, initiative, or custom view. */
update(input: IntegrationsSettingsUpdateInput): LinearFetch<IntegrationsSettingsPayload>;
}
/**
* IntegrationsSettingsPayload model
*
* @param request - function to call the graphql client
* @param data - L.IntegrationsSettingsPayloadFragment response data
*/
declare class IntegrationsSettingsPayload extends Request {
private _integrationsSettings;
constructor(request: LinearRequest, data: IntegrationsSettingsPayloadFragment);
/** The identifier of the last sync operation. */
lastSyncId: number;
/** Whether the operation was successful. */
success: boolean;
/** The settings that were created or updated. */
get integrationsSettings(): LinearFetch<IntegrationsSettings> | undefined;
/** The ID of settings that were created or updated. */
get integrationsSettingsId(): string | undefined;
}
/**
* An issue is the core work item in Linear. Issues belong to a team, have a workflow status, can be assigned to users, carry a priority level, and can be organized into projects and cycles. Issues support sub-issues (parent-child hierarchy up to 10 levels deep), labels, due dates, estimates, and SLA tracking. They can also be linked to other issues via relations, attached to releases, and tracked through their full history of changes.
*
* @param request - function to call the graphql client
* @param data - L.IssueFragment response data
*/
declare class Issue extends Request {
private _asksExternalUserRequester?;
private _asksRequester?;
private _assignee?;
private _creator?;
private _cycle?;
private _delegate?;
private _externalUserCreator?;
private _favorite?;
private _lastAppliedTemplate?;
private _parent?;
private _project?;
private _projectMilestone?;
private _recurringIssueTemplate?;
private _snoozedBy?;
private _sourceComment?;
private _state;
private _team;
constructor(request: LinearRequest, data: IssueFragment);
/** The time at which the issue was added to a cycle. */
addedToCycleAt?: Date | null;
/** The time at which the issue was added to a project. */
addedToProjectAt?: Date | null;
/** The time at which the issue was added to a team. */
addedToTeamAt?: Date | null;
/** The time at which the entity was archived. Null if the entity has not been archived. */
archivedAt?: Date | null;
/** The time at which the issue was automatically archived by the auto pruning process. */
autoArchivedAt?: Date | null;
/** The time at which the issue was automatically closed by the auto pruning process. */
autoClosedAt?: Date | null;
/** The order of the item in its column on the board. */
boardOrder: number;
/** Suggested branch name for the issue. */
branchName: string;
/** The time at which the issue was moved into canceled state. */
canceledAt?: Date | null;
/** The time at which the issue was moved into completed state. */
completedAt?: Date | null;
/** The time at which the entity was created. */
createdAt: Date;
/** Returns the number of Attachment resources which are created by customer support ticketing systems (e.g. Zendesk). */
customerTicketCount: number;
/** The issue's description in markdown format. */
description?: string | null;
/** The date at which the issue is due. */
dueDate?: Scalars["TimelessDate"] | null;
/** The estimate of the complexity of the issue. The specific scale used depends on the team's estimation configuration (e.g., points, T-shirt sizes). Null if no estimate has been set. */
estimate?: number | null;
/** The unique identifier of the entity. */
id: string;
/** Issue's human readable identifier (e.g. ENG-123). */
identifier: string;
/** Whether this issue inherits shared access from its parent issue. */
inheritsSharedAccess: boolean;
/** Identifiers of the labels associated with this issue. Can be used to query the labels directly. */
labelIds: string[];
/** The issue's unique number, scoped to the issue's team. Together with the team key, this forms the issue's human-readable identifier (e.g., ENG-123). */
number: number;
/** Previous identifiers of the issue if it has been moved between teams. */
previousIdentifiers: string[];
/** The priority of the issue. 0 = No priority, 1 = Urgent, 2 = High, 3 = Medium, 4 = Low. */
priority: number;
/** Label for the priority. */
priorityLabel: string;
/** The order of the item in relation to other items in the workspace, when ordered by priority. */
prioritySortOrder: number;
/** Emoji reaction summary for the issue, grouped by emoji type. Contains the count and reacting user information for each emoji. */
reactionData: Scalars["JSONObject"];
/** The time at which the issue's SLA will breach. */
slaBreachesAt?: Date | null;
/** The time at which the issue's SLA will enter high risk state. */
slaHighRiskAt?: Date | null;
/** The time at which the issue's SLA will enter medium risk state. */
slaMediumRiskAt?: Date | null;
/** The time at which the issue's SLA began. */
slaStartedAt?: Date | null;
/** The type of SLA set on the issue. Calendar days or business days. */
slaType?: string | null;
/** The time until an issue will be snoozed in Triage view. */
snoozedUntilAt?: Date | null;
/** The order of the item in relation to other items in the organization. Used for manual sorting in list views. */
sortOrder: number;
/** The time at which the issue was moved into started state. */
startedAt?: Date | null;
/** The time at which the issue entered triage. */
startedTriageAt?: Date | null;
/** The order of the item in the sub-issue list. Only set if the issue has a parent. */
subIssueSortOrder?: number | null;
/** The issue's title. This is the primary human-readable summary of the work item. */
title: string;
/** A flag that indicates whether the issue is in the trash bin. */
trashed?: boolean | null;
/** The time at which the issue left triage. */
triagedAt?: Date | null;
/**
* The last time at which the entity was meaningfully updated. This is the same as the creation time if the entity hasn't
* been updated after creation.
*/
updatedAt: Date;
/** Issue URL. */
url: string;
/** Reactions associated with the issue. */
reactions: Reaction[];
/** The external services the issue is synced with. */
syncedWith?: ExternalEntityInfo[] | null;
/** The bot that created the issue, if applicable. */
botActor?: ActorBot | null;
/** Shared access metadata for this issue. */
sharedAccess: IssueSharedAccess;
/** Integration type that created this issue, if applicable. */
integrationSourceType?: IntegrationService | null;
/** The external user who requested creation of the Asks issue on behalf of the creator. */
get asksExternalUserRequester(): LinearFetch<ExternalUser> | undefined;
/** The ID of external user who requested creation of the asks issue on behalf of the creator. */
get asksExternalUserRequesterId(): string | undefined;
/** The internal user who requested creation of the Asks issue on behalf of the creator. */
get asksRequester(): LinearFetch<User> | undefined;
/** The ID of internal user who requested creation of the asks issue on behalf of the creator. */
get asksRequesterId(): string | undefined;
/** The user to whom the issue is assigned. Null if the issue is unassigned. */
get assignee(): LinearFetch<User> | undefined;
/** The ID of user to whom the issue is assigned. null if the issue is unassigned. */
get assigneeId(): string | undefined;
/** The user who created the issue. Null if the creator's account has been deleted or if the issue was created by an integration or system process. */
get creator(): LinearFetch<User> | undefined;
/** The ID of user who created the issue. null if the creator's account has been deleted or if the issue was created by an integration or system process. */
get creatorId(): string | undefined;
/** The cycle that the issue is associated with. Null if the issue is not part of any cycle. */
get cycle(): LinearFetch<Cycle> | undefined;
/** The ID of cycle that the issue is associated with. null if the issue is not part of any cycle. */
get cycleId(): string | undefined;
/** The agent user that is delegated to work on this issue. Set when an AI agent has been assigned to perform work on this issue. Null if no agent is working on the issue. */
get delegate(): LinearFetch<User> | undefined;
/** The ID of agent user that is delegated to work on this issue. set when an ai agent has been assigned to perform work on this issue. null if no agent is working on the issue. */
get delegateId(): string | undefined;
/** The external user who created the issue. Set when the issue was created via an integration (e.g., Slack, Intercom) on behalf of a non-Linear user. Null if the issue was created by a Linear user. */
get externalUserCreator(): LinearFetch<ExternalUser> | undefined;
/** The ID of external user who created the issue. set when the issue was created via an integration (e.g., slack, intercom) on behalf of a non-linear user. null if the issue was created by a linear user. */
get externalUserCreatorId(): string | undefined;
/** The users favorite associated with this issue. */
get favorite(): LinearFetch<Favorite> | undefined;
/** The ID of users favorite associated with this issue. */
get favoriteId(): string | undefined;
/** The last template that was applied to this issue. */
get lastAppliedTemplate(): LinearFetch<Template> | undefined;
/** The ID of last template that was applied to this issue. */
get lastAppliedTemplateId(): string | undefined;
/** The parent of the issue. */
get parent(): LinearFetch<Issue> | undefined;
/** The ID of parent of the issue. */
get parentId(): string | undefined;
/** The project that the issue is associated with. Null if the issue is not part of any project. */
get project(): LinearFetch<Project> | undefined;
/** The ID of project that the issue is associated with. null if the issue is not part of any project. */
get projectId(): string | undefined;
/** The project milestone that the issue is associated with. Null if the issue is not assigned to a specific milestone within its project. */
get projectMilestone(): LinearFetch<ProjectMilestone> | undefined;
/** The ID of project milestone that the issue is associated with. null if the issue is not assigned to a specific milestone within its project. */
get projectMilestoneId(): string | undefined;
/** The recurring issue template that created this issue. */
get recurringIssueTemplate(): LinearFetch<Template> | undefined;
/** The ID of recurring issue template that created this issue. */
get recurringIssueTemplateId(): string | undefined;
/** The user who snoozed the issue. */
get snoozedBy(): LinearFetch<User> | undefined;
/** The ID of user who snoozed the issue. */
get snoozedById(): string | undefined;
/** The comment that this issue was created from, when an issue is created from an existing comment. Null if the issue was not created from a comment. */
get sourceComment(): LinearFetch<Comment> | undefined;
/** The ID of comment that this issue was created from, when an issue is created from an existing comment. null if the issue was not created from a comment. */
get sourceCommentId(): string | undefined;
/** The workflow state (issue status) that the issue is currently in. Workflow states represent the issue's progress through the team's workflow, such as Triage, Todo, In Progress, Done, or Canceled. */
get state(): LinearFetch<WorkflowState> | undefined;
/** The ID of workflow state (issue status) that the issue is currently in. workflow states represent the issue's progress through the team's workflow, such as triage, todo, in progress, done, or canceled. */
get stateId(): string | undefined;
/** The team that the issue belongs to. Every issue must belong to exactly one team, which determines the available workflow states, labels, and other team-specific configuration. */
get team(): LinearFetch<Team> | undefined;
/** The ID of team that the issue belongs to. every issue must belong to exactly one team, which determines the available workflow states, labels, and other team-specific configuration. */
get teamId(): string | undefined;
/** Attachments associated with the issue. */
attachments(variables?: Omit<Issue_AttachmentsQueryVariables, "id">): LinearFetch<AttachmentConnection>;
/** Children of the issue. */
children(variables?: Omit<Issue_ChildrenQueryVariables, "id">): LinearFetch<IssueConnection>;
/** Comments associated with the issue, including inline comments on the issue's description. */
comments(variables?: Omit<Issue_CommentsQueryVariables, "id">): LinearFetch<CommentConnection>;
/** Documents associated with the issue. */
documents(variables?: Omit<Issue_DocumentsQueryVariables, "id">): LinearFetch<DocumentConnection>;
/** Attachments previously associated with the issue before being moved to another issue. */
formerAttachments(variables?: Omit<Issue_FormerAttachmentsQueryVariables, "id">): LinearFetch<AttachmentConnection>;
/** Customer needs previously associated with the issue before being moved to another issue. */
formerNeeds(variables?: Omit<Issue_FormerNeedsQueryVariables, "id">): LinearFetch<CustomerNeedConnection>;
/** History entries associated with the issue. */
history(variables?: Omit<Issue_HistoryQueryVariables, "id">): LinearFetch<IssueHistoryConnection>;
/** Inverse relations associated with this issue. */
inverseRelations(variables?: Omit<Issue_InverseRelationsQueryVariables, "id">): LinearFetch<IssueRelationConnection>;
/** Labels associated with this issue. */
labels(variables?: Omit<Issue_LabelsQueryVariables, "id">): LinearFetch<IssueLabelConnection>;
/** Customer needs associated with the issue. */
needs(variables?: Omit<Issue_NeedsQueryVariables, "id">): LinearFetch<CustomerNeedConnection>;
/** Relations associated with this issue. */
relations(variables?: Omit<Issue_RelationsQueryVariables, "id">): LinearFetch<IssueRelationConnection>;
/** Releases associated with the issue. */
releases(variables?: Omit<Issue_ReleasesQueryVariables, "id">): LinearFetch<ReleaseConnection>;
/** The issue's workflow states over time. */
stateHistory(variables?: Omit<Issue_StateHistoryQueryVariables, "id">): LinearFetch<IssueStateSpanConnection>;
/** Users who are subscribed to the issue. */
subscribers(variables?: Omit<Issue_SubscribersQueryVariables, "id">): LinearFetch<UserConnection>;
/** Archives an issue. */
archive(variables?: Omit<ArchiveIssueMutationVariables, "id">): LinearFetch<IssueArchivePayload>;
/** Creates a new issue. */
create(input: IssueCreateInput): LinearFetch<IssuePayload>;
/** Deletes (trashes) an issue. */
delete(variables?: Omit<DeleteIssueMutationVariables, "id">): LinearFetch<IssueArchivePayload>;
/** Unarchives an issue. */
unarchive(): LinearFetch<IssueArchivePayload>;
/** Updates an issue. */
update(input: IssueUpdateInput): LinearFetch<IssuePayload>;
}
/**
* A generic payload return from entity archive mutations.
*
* @param request - function to call the graphql client
* @param data - L.IssueArchivePayloadFragment response data
*/
declare class IssueArchivePayload extends Request {
private _entity?;
constructor(request: LinearRequest, data: IssueArchivePayloadFragment);
/** The identifier of the last sync operation. */
lastSyncId: number;
/** Whether the operation was successful. */
success: boolean;
/** The archived/unarchived entity. Null if entity was deleted. */
get entity(): LinearFetch<Issue> | undefined;
/** The ID of archived/unarchived entity. null if entity was deleted. */
get entityId(): string | undefined;
}
/**
* Payload for an issue assigned to you notification.
*
* @param data - L.IssueAssignedToYouNotificationWebhookPayloadFragment response data
*/
declare class IssueAssignedToYouNotificationWebhookPayload {
constructor(data: IssueAssignedToYouNotificationWebhookPayloadFragment);
/** The ID of the actor who caused the notification. */
actorId?: string | null;
/** The time at which the entity was archived. */
archivedAt?: string | null;
/** The time at which the entity was created. */
createdAt: string;
/** The ID of the external user who caused the notification. */
externalUserActorId?: string | null;
/** The ID of the entity. */
id: string;
/** The ID of the issue this notification belongs to. */
issueId: string;
/** An issue assigned to you notification type. */
type: "issueAssignedToYou";
/** The time at which the entity was updated. */
updatedAt: string;
/** The ID of the user who received the notification. */
userId: string;
/** The actor who caused the notification. */
actor?: UserChildWebhookPayload | null;
/** The issue this notification belongs to. */
issue: IssueWithDescriptionChildWebhookPayload;
}
/**
* The result of a batch issue mutation, containing the updated issues and a success indicator.
*
* @param request - function to call the graphql client
* @param data - L.IssueBatchPayloadFragment response data
*/
declare class IssueBatchPayload extends Request {
constructor(request: LinearRequest, data: IssueBatchPayloadFragment);
/** The identifier of the last sync operation. */
lastSyncId: number;
/** Whether the operation was successful. */
success: boolean;
/** The issues that were updated. */
issues: Issue[];
}
/**
* Certain properties of an issue.
*
* @param data - L.IssueChildWebhookPayloadFragment response data
*/
declare class IssueChildWebhookPayload {
constructor(data: IssueChildWebhookPayloadFragment);
/** The ID of the issue. */
id: string;
/** The identifier of the issue. */
identifier: string;
/** The ID of the team that the issue belongs to. */
teamId: string;
/** The title of the issue. */
title: string;
/** The URL of the issue. */
url: string;
/** The ID of the team that the issue belongs to. */
team: TeamChildWebhookPayload;
}
/**
* Payload for an issue comment mention notification.
*
* @param data - L.IssueCommentMentionNotificationWebhookPayloadFragment response data
*/
declare class IssueCommentMentionNotificationWebhookPayload {
constructor(data: IssueCommentMentionNotificationWebhookPayloadFragment);
/** The ID of the actor who caused the notification. */
actorId?: string | null;
/** The time at which the entity was archived. */
archivedAt?: string | null;
/** The ID of the comment this notification belongs to. */
commentId: string;
/** The time at which the entity was created. */
createdAt: string;
/** The ID of the external user who caused the notification. */
externalUserActorId?: string | null;
/** The ID of the entity. */
id: string;
/** The ID of the issue this notification belongs to. */
issueId: string;
/** The ID of the parent comment for the comment this notification belongs to. */
parentCommentId?: string | null;
/** An issue comment mention notification type. */
type: "issueCommentMention";
/** The time at which the entity was updated. */
updatedAt: string;
/** The ID of the user who received the notification. */
userId: string;
/** The actor who caused the notification. */
actor?: UserChildWebhookPayload | null;
/** The comment this notification belongs to. */
comment: CommentChildWebhookPayload;
/** The issue this notification belongs to. */
issue: IssueWithDescriptionChildWebhookPayload;
/** The parent comment for the comment this notification belongs to. */
parentComment?: CommentChildWebhookPayload | null;
}
/**
* Payload for an issue comment reaction notification.
*
* @param data - L.IssueCommentReactionNotificationWebhookPayloadFragment response data
*/
declare class IssueCommentReactionNotificationWebhookPayload {
constructor(data: IssueCommentReactionNotificationWebhookPayloadFragment);
/** The ID of the actor who caused the notification. */
actorId?: string | null;
/** The time at which the entity was archived. */
archivedAt?: string | null;
/** The ID of the comment this notification belongs to. */
commentId: string;
/** The time at which the entity was created. */
createdAt: string;
/** The ID of the external user who caused the notification. */
externalUserActorId?: string | null;
/** The ID of the entity. */
id: string;
/** The ID of the issue this notification belongs to. */
issueId: string;
/** The ID of the parent comment for the comment this notification belongs to. */
parentCommentId?: string | null;
/** The emoji of the reaction this notification is for. */
reactionEmoji: string;
/** An issue comment reaction notification type. */
type: "issueCommentReaction";
/** The time at which the entity was updated. */
updatedAt: string;
/** The ID of the user who received the notification. */
userId: string;
/** The actor who caused the notification. */
actor?: UserChildWebhookPayload | null;
/** The comment this notification belongs to. */
comment: CommentChildWebhookPayload;
/** The issue this notification belongs to. */
issue: IssueWithDescriptionChildWebhookPayload;
/** The parent comment for the comment this notification belongs to. */
parentComment?: CommentChildWebhookPayload | null;
}
/**
* IssueConnection model
*
* @param request - function to call the graphql client
* @param fetch - function to trigger a refetch of this IssueConnection model
* @param data - IssueConnection response data
*/
declare class IssueConnection extends Connection<Issue> {
constructor(request: LinearRequest, fetch: (connection?: LinearConnectionVariables) => LinearFetch<LinearConnection<Issue> | undefined>, data: IssueConnectionFragment);
}
/**
* Payload for an issue emoji reaction notification.
*
* @param data - L.IssueEmojiReactionNotificationWebhookPayloadFragment response data
*/
declare class IssueEmojiReactionNotificationWebhookPayload {
constructor(data: IssueEmojiReactionNotificationWebhookPayloadFragment);
/** The ID of the actor who caused the notification. */
actorId?: string | null;
/** The time at which the entity was archived. */
archivedAt?: string | null;
/** The time at which the entity was created. */
createdAt: string;
/** The ID of the external user who caused the notification. */
externalUserActorId?: string | null;
/** The ID of the entity. */
id: string;
/** The ID of the issue this notification belongs to. */
issueId: string;
/** The emoji of the reaction this notification is for. */
reactionEmoji: string;
/** An issue emoji reaction notification type. */
type: "issueEmojiReaction";
/** The time at which the entity was updated. */
updatedAt: string;
/** The ID of the user who received the notification. */
userId: string;
/** The actor who caused the notification. */
actor?: UserChildWebhookPayload | null;
/** The issue this notification belongs to. */
issue: IssueWithDescriptionChildWebhookPayload;
}
/**
* The result of an AI-generated issue filter suggestion based on a text prompt.
*
* @param request - function to call the graphql client
* @param data - L.IssueFilterSuggestionPayloadFragment response data
*/
declare class IssueFilterSuggestionPayload extends Request {
constructor(request: LinearRequest, data: IssueFilterSuggestionPayloadFragment);
/** The json filter that is suggested. */
filter?: Scalars["JSONObject"] | null;
/** The log id of the prompt, that created this filter. */
logId?: string | null;
}
/**
* A record of changes to an issue. Each history entry captures one or more property changes made to an issue within a short grouping window by the same actor. History entries track changes to fields such as title, assignee, status, priority, project, cycle, labels, due date, estimate, parent issue, and more. They also record metadata about what triggered the change (e.g., a user action, workflow automation, triage rule, or integration).
*
* @param request - function to call the graphql client
* @param data - L.IssueHistoryFragment response data
*/
declare class IssueHistory extends Request {
private _actor?;
private _attachment?;
private _fromAssignee?;
private _fromCycle?;
private _fromDelegate?;
private _fromParent?;
private _fromProject?;
private _fromProjectMilestone?;
private _fromState?;
private _fromTeam?;
private _issue;
private _toAssignee?;
private _toConvertedProject?;
private _toCycle?;
private _toDelegate?;
private _toParent?;
private _toProject?;
private _toProjectMilestone?;
private _toState?;
private _toTeam?;
private _triageResponsibilityTeam?;
constructor(request: LinearRequest, data: IssueHistoryFragment);
/** Identifier of the user who made these changes. Can be used to query the user directly. Null if the change was made by an integration, automation, or system process. */
actorId?: string | null;
/** ID's of labels that were added. */
addedLabelIds?: string[] | null;
/** ID's of releases that the issue was added to. */
addedToReleaseIds?: string[] | null;
/** Whether the issue was archived (true) or unarchived (false) in this change. Null if the archive status was not changed. */
archived?: boolean | null;
/** The time at which the entity was archived. Null if the entity has not been archived. */
archivedAt?: Date | null;
/** Identifier of the attachment that was linked to or unlinked from the issue. Can be used to query the attachment directly. Null if no attachment change occurred. */
attachmentId?: string | null;
/** Whether the issue was auto-archived. */
autoArchived?: boolean | null;
/** Whether the issue was auto-closed. */
autoClosed?: boolean | null;
/** The time at which the entity was created. */
createdAt: Date;
/** [Deprecated] Identifier of the customer need that was linked to the issue. Use customer need related arrays in changes instead. */
customerNeedId?: string | null;
/** Identifier of the user from whom the issue was re-assigned. Can be used to query the user directly. Null if the assignee was not changed or the issue was previously unassigned. */
fromAssigneeId?: string | null;
/** Identifier of the previous cycle of the issue. Can be used to query the cycle directly. Null if the cycle was not changed or the issue was not in a cycle. */
fromCycleId?: string | null;
/** What the due date was changed from. */
fromDueDate?: Scalars["TimelessDate"] | null;
/** What the estimate was changed from. */
fromEstimate?: number | null;
/** Identifier of the previous parent issue. Can be used to query the issue directly. Null if the parent was not changed or the issue previously had no parent. */
fromParentId?: string | null;
/** What the priority was changed from. */
fromPriority?: number | null;
/** Identifier of the previous project of the issue. Can be used to query the project directly. Null if the project was not changed or the issue was not in a project. */
fromProjectId?: string | null;
/** Whether the issue had previously breached its SLA. */
fromSlaBreached?: boolean | null;
/** The SLA breach time that was previously set on the issue. */
fromSlaBreachesAt?: Date | null;
/** The time at which the issue's SLA was previously started. */
fromSlaStartedAt?: Date | null;
/** The type of SLA that was previously set on the issue. */
fromSlaType?: string | null;
/** Identifier of the previous workflow state (issue status) of the issue. Can be used to query the workflow state directly. Null if the status was not changed. */
fromStateId?: string | null;
/** Identifier of the team from which the issue was moved. Can be used to query the team directly. Null if the team was not changed. */
fromTeamId?: string | null;
/** What the title was changed from. */
fromTitle?: string | null;
/** The unique identifier of the entity. */
id: string;
/** ID's of releases that the issue was removed from. */
removedFromReleaseIds?: string[] | null;
/** ID's of labels that were removed. */
removedLabelIds?: string[] | null;
/** Identifier of the user to whom the issue was assigned. Can be used to query the user directly. Null if the assignee was not changed or the issue was unassigned. */
toAssigneeId?: string | null;
/** Identifier of the new project that was created by converting this issue to a project. Can be used to query the project directly. Null if the issue was not converted to a project. */
toConvertedProjectId?: string | null;
/** Identifier of the new cycle of the issue. Can be used to query the cycle directly. Null if the cycle was not changed or the issue was removed from a cycle. */
toCycleId?: string | null;
/** What the due date was changed to. */
toDueDate?: Scalars["TimelessDate"] | null;
/** What the estimate was changed to. */
toEstimate?: number | null;
/** Identifier of the new parent issue. Can be used to query the issue directly. Null if the parent was not changed or the issue was removed from its parent. */
toParentId?: string | null;
/** What the priority was changed to. */
toPriority?: number | null;
/** Identifier of the new project of the issue. Can be used to query the project directly. Null if the project was not changed or the issue was removed from a project. */
toProjectId?: string | null;
/** Whether the issue has now breached its SLA. */
toSlaBreached?: boolean | null;
/** The SLA breach time that is now set on the issue. */
toSlaBreachesAt?: Date | null;
/** The time at which the issue's SLA is now started. */
toSlaStartedAt?: Date | null;
/** The type of SLA that is now set on the issue. */
toSlaType?: string | null;
/** Identifier of the new workflow state (issue status) of the issue. Can be used to query the workflow state directly. Null if the status was not changed. */
toStateId?: string | null;
/** Identifier of the team to which the issue was moved. Can be used to query the team directly. Null if the team was not changed. */
toTeamId?: string | null;
/** What the title was changed to. */
toTitle?: string | null;
/** Whether the issue was trashed or un-trashed. */
trashed?: boolean | null;
/** Boolean indicating if the issue was auto-assigned using the triage responsibility feature. */
triageResponsibilityAutoAssigned?: boolean | null;
/**
* The last time at which the entity was meaningfully updated. This is the same as the creation time if the entity hasn't
* been updated after creation.
*/
updatedAt: Date;
/** Whether the issue's description was updated. */
updatedDescription?: boolean | null;
/** The actors that performed the actions. This field may be empty in the case of integrations or automations. */
actors?: User[] | null;
/** The labels that were added to the issue. */
addedLabels?: IssueLabel[] | null;
/** The actors that edited the description of the issue, if any. */
descriptionUpdatedBy?: User[] | null;
/** Changed issue relationships. */
relationChanges?: IssueRelationHistoryPayload[] | null;
/** The labels that were removed from the issue. */
removedLabels?: IssueLabel[] | null;
/** The users that were notified of the issue. */
triageResponsibilityNotifiedUsers?: User[] | null;
/** The bot that performed the action. */
botActor?: ActorBot | null;
/** The import record. */
issueImport?: IssueImport | null;
/** The actor that performed the actions. This field may be empty in the case of integrations or automations. */
get actor(): LinearFetch<User> | undefined;
/** The releases that the issue was added to. */
get addedToReleases(): LinearFetch<Release[]>;
/** The linked attachment. */
get attachment(): LinearFetch<Attachment> | undefined;
/** The user that was unassigned from the issue. */
get fromAssignee(): LinearFetch<User> | undefined;
/** The cycle that the issue was moved from. */
get fromCycle(): LinearFetch<Cycle> | undefined;
/** The app user from whom the issue delegation was transferred. */
get fromDelegate(): LinearFetch<User> | undefined;
/** The ID of app user from whom the issue delegation was transferred. */
get fromDelegateId(): string | undefined;
/** The parent issue that the issue was moved from. */
get fromParent(): LinearFetch<Issue> | undefined;
/** The project that the issue was moved from. */
get fromProject(): LinearFetch<Project> | undefined;
/** The project milestone that the issue was moved from. */
get fromProjectMilestone(): LinearFetch<ProjectMilestone> | undefined;
/** The ID of project milestone that the issue was moved from. */
get fromProjectMilestoneId(): string | undefined;
/** The state that the issue was moved from. */
get fromState(): LinearFetch<WorkflowState> | undefined;
/** The team that the issue was moved from. */
get fromTeam(): LinearFetch<Team> | undefined;
/** The issue that was changed. */
get issue(): LinearFetch<Issue> | undefined;
/** The ID of issue that was changed. */
get issueId(): string | undefined;
/** The releases that the issue was removed from. */
get removedFromReleases(): LinearFetch<Release[]>;
/** The user that was assigned to the issue. */
get toAssignee(): LinearFetch<User> | undefined;
/** The new project created from the issue. */
get toConvertedProject(): LinearFetch<Project> | undefined;
/** The cycle that the issue was moved to. */
get toCycle(): LinearFetch<Cycle> | undefined;
/** The app user to whom the issue delegation was transferred. */
get toDelegate(): LinearFetch<User> | undefined;
/** The ID of app user to whom the issue delegation was transferred. */
get toDelegateId(): string | undefined;
/** The parent issue that the issue was moved to. */
get toParent(): LinearFetch<Issue> | undefined;
/** The project that the issue was moved to. */
get toProject(): LinearFetch<Project> | undefined;
/** The project milestone that the issue was moved to. */
get toProjectMilestone(): LinearFetch<ProjectMilestone> | undefined;
/** The ID of project milestone that the issue was moved to. */
get toProjectMilestoneId(): string | undefined;
/** The state that the issue was moved to. */
get toState(): LinearFetch<WorkflowState> | undefined;
/** The team that the issue was moved to. */
get toTeam(): LinearFetch<Team> | undefined;
/** The team that triggered the triage responsibility action. */
get triageResponsibilityTeam(): LinearFetch<Team> | undefined;
/** The ID of team that triggered the triage responsibility action. */
get triageResponsibilityTeamId(): string | undefined;
}
/**
* IssueHistoryConnection model
*
* @param request - function to call the graphql client
* @param fetch - function to trigger a refetch of this IssueHistoryConnection model
* @param data - IssueHistoryConnection response data
*/
declare class IssueHistoryConnection extends Connection<IssueHistory> {
constructor(request: LinearRequest, fetch: (connection?: LinearConnectionVariables) => LinearFetch<LinearConnection<IssueHistory> | undefined>, data: IssueHistoryConnectionFragment);
}
/**
* An error that occurred during triage rule execution, such as a conflicting label assignment or an invalid property value. Contains the error type and optionally the property that caused the failure.
*
* @param request - function to call the graphql client
* @param data - L.IssueHistoryTriageRuleErrorFragment response data
*/
declare class IssueHistoryTriageRuleError extends Request {
private _fromTeam?;
private _toTeam?;
constructor(request: LinearRequest, data: IssueHistoryTriageRuleErrorFragment);
/** Whether the conflict was for the same child label. */
conflictForSameChildLabel?: boolean | null;
/** The property that caused the error. */
property?: string | null;
/** The conflicting labels. */
conflictingLabels?: IssueLabel[] | null;
/** The type of error that occurred. */
type: TriageRuleErrorType;
/** The team the issue was being moved from. */
get fromTeam(): LinearFetch<Team> | undefined;
/** The ID of team the issue was being moved from. */
get fromTeamId(): string | undefined;
/** The team the issue was being moved to. */
get toTeam(): LinearFetch<Team> | undefined;
/** The ID of team the issue was being moved to. */
get toTeamId(): string | undefined;
}
/**
* Metadata about a triage responsibility rule that made changes to an issue, such as auto-assigning an issue when it enters triage. Includes information about any errors that occurred during rule execution.
*
* @param request - function to call the graphql client
* @param data - L.IssueHistoryTriageRuleMetadataFragment response data
*/
declare class IssueHistoryTriageRuleMetadata extends Request {
constructor(request: LinearRequest, data: IssueHistoryTriageRuleMetadataFragment);
/** The error that occurred, if any. */
triageRuleError?: IssueHistoryTriageRuleError | null;
/** The triage rule that triggered the issue update. */
updatedByTriageRule?: WorkflowDefinition | null;
}
/**
* Metadata about a loop that made changes to an issue. Links the issue history entry back to the workflow definition that triggered the change, and optionally to any AI conversation involved in the loop.
*
* @param request - function to call the graphql client
* @param data - L.IssueHistoryWorkflowMetadataFragment response data
*/
declare class IssueHistoryWorkflowMetadata extends Request {
constructor(request: LinearRequest, data: IssueHistoryWorkflowMetadataFragment);
/** The workflow definition that triggered the issue update. */
workflowDefinition?: WorkflowDefinition | null;
}
/**
* An import job for data from an external service such as Jira, Asana, GitHub, Shortcut, or other project management tools. Import jobs track the full lifecycle of importing issues, labels, workflow states, and other data into a Linear workspace, including progress, status, error states, and data mapping configuration.
*
* @param request - function to call the graphql client
* @param data - L.IssueImportFragment response data
*/
declare class IssueImport extends Request {
constructor(request: LinearRequest, data: IssueImportFragment);
/** The time at which the entity was archived. Null if the entity has not been archived. */
archivedAt?: Date | null;
/** The time at which the entity was created. */
createdAt: Date;
/** Identifier of the user who started the import job. Can be used to query the user directly. Null if the user has been deleted. */
creatorId?: string | null;
/** File URL for the uploaded CSV for the import, if there is one. */
csvFileUrl?: string | null;
/** The display name of the import service. */
displayName: string;
/** User readable error message, if one has occurred during the import. */
error?: string | null;
/** Error code and metadata, if one has occurred during the import. */
errorMetadata?: Scalars["JSONObject"] | null;
/** The unique identifier of the entity. */
id: string;
/** The data mapping configuration for the import job. */
mapping?: Scalars["JSONObject"] | null;
/** Current step progress as a percentage (0-100). Null if the import has not yet started or progress tracking is not available. */
progress?: number | null;
/** The external service from which data is being imported (e.g., jira, asana, github, shortcut, linear). */
service: string;
/** Metadata related to import service. */
serviceMetadata?: Scalars["JSONObject"] | null;
/** The current status of the import job, indicating its position in the import lifecycle (e.g., not started, in progress, complete, error). */
status: string;
/** The name of the new team to be created for the import, when the import is configured to create a new team rather than importing into an existing one. Null if importing into an existing team. */
teamName?: string | null;
/**
* The last time at which the entity was meaningfully updated. This is the same as the creation time if the entity hasn't
* been updated after creation.
*/
updatedAt: Date;
/** Deletes an import job. */
delete(issueImportId: string): LinearFetch<IssueImportDeletePayload>;
/** Updates the mapping for the issue import. */
update(input: IssueImportUpdateInput): LinearFetch<IssueImportPayload>;
}
/**
* The result of checking whether an import from an external service can proceed.
*
* @param request - function to call the graphql client
* @param data - L.IssueImportCheckPayloadFragment response data
*/
declare class IssueImportCheckPayload extends Request {
constructor(request: LinearRequest, data: IssueImportCheckPayloadFragment);
/** Whether the operation was successful. */
success: boolean;
}
/**
* The result of deleting an issue import, containing the deleted import job and a success indicator.
*
* @param request - function to call the graphql client
* @param data - L.IssueImportDeletePayloadFragment response data
*/
declare class IssueImportDeletePayload extends Request {
constructor(request: LinearRequest, data: IssueImportDeletePayloadFragment);
/** The identifier of the last sync operation. */
lastSyncId: number;
/** Whether the operation was successful. */
success: boolean;
/** The import job that was deleted. */
issueImport?: IssueImport | null;
}
/**
* The result of validating a custom JQL query for a Jira import.
*
* @param request - function to call the graphql client
* @param data - L.IssueImportJqlCheckPayloadFragment response data
*/
declare class IssueImportJqlCheckPayload extends Request {
constructor(request: LinearRequest, data: IssueImportJqlCheckPayloadFragment);
/** An approximate number of issues matching the JQL query. Null when the query is invalid or the count is unavailable. */
count?: number | null;
/** An error message returned by Jira when validating the JQL query. */
error?: string | null;
/** Returns true if the JQL query has been validated successfully, false otherwise */
success: boolean;
}
/**
* The result of an issue import mutation, containing the import job and a success indicator.
*
* @param request - function to call the graphql client
* @param data - L.IssueImportPayloadFragment response data
*/
declare class IssueImportPayload extends Request {
constructor(request: LinearRequest, data: IssueImportPayloadFragment);
/** The identifier of the last sync operation. */
lastSyncId: number;
/** Whether the operation was successful. */
success: boolean;
/** The import job that was created or updated. */
issueImport?: IssueImport | null;
}
/**
* The result of checking whether an issue import can be synced with its source service after import completes.
*
* @param request - function to call the graphql client
* @param data - L.IssueImportSyncCheckPayloadFragment response data
*/
declare class IssueImportSyncCheckPayload extends Request {
constructor(request: LinearRequest, data: IssueImportSyncCheckPayloadFragment);
/** Returns true if the import can be synced, false otherwise */
canSync: boolean;
/** An error message explaining why the import cannot be synced. Null when canSync is true. */
error?: string | null;
}
/**
* Labels that can be associated with issues. Labels help categorize and filter issues across a workspace. They can be workspace-level (shared across all teams) or team-scoped. Labels have a color for visual identification and can be organized hierarchically into groups, where a parent label acts as a group containing child labels. Labels may also be inherited from parent teams to sub-teams.
*
* @param request - function to call the graphql client
* @param data - L.IssueLabelFragment response data
*/
declare class IssueLabel extends Request {
private _creator?;
private _inheritedFrom?;
private _parent?;
private _retiredBy?;
private _team?;
constructor(request: LinearRequest, data: IssueLabelFragment);
/** The time at which the entity was archived. Null if the entity has not been archived. */
archivedAt?: Date | null;
/** The label's color as a HEX string (e.g., '#EB5757'). Used for visual identification of the label in the UI. */
color: string;
/** The time at which the entity was created. */
createdAt: Date;
/** The label's description. */
description?: string | null;
/** The unique identifier of the entity. */
id: string;
/** Whether the label is a group. When true, this label acts as a container for child labels and cannot be directly applied to issues or projects. When false, the label can be directly applied. */
isGroup: boolean;
/** The date when the label was last applied to an issue, project, or initiative. Null if the label has never been applied. */
lastAppliedAt?: Date | null;
/** The label's name. */
name: string;
/**
* The last time at which the entity was meaningfully updated. This is the same as the creation time if the entity hasn't
* been updated after creation.
*/
updatedAt: Date;
/** The user who created the label. */
get creator(): LinearFetch<User> | undefined;
/** The ID of user who created the label. */
get creatorId(): string | undefined;
/** The original workspace or parent-team label that this label was inherited from. Null if the label is not inherited. */
get inheritedFrom(): LinearFetch<IssueLabel> | undefined;
/** The ID of original workspace or parent-team label that this label was inherited from. null if the label is not inherited. */
get inheritedFromId(): string | undefined;
get organization(): LinearFetch<Organization>;
/** The parent label. */
get parent(): LinearFetch<IssueLabel> | undefined;
/** The ID of parent label. */
get parentId(): string | undefined;
/** The user who retired the label. */
get retiredBy(): LinearFetch<User> | undefined;
/** The ID of user who retired the label. */
get retiredById(): string | undefined;
/** The team that the label is scoped to. If null, the label is a workspace-level label available to all teams in the workspace. */
get team(): LinearFetch<Team> | undefined;
/** The ID of team that the label is scoped to. if null, the label is a workspace-level label available to all teams in the workspace. */
get teamId(): string | undefined;
/** Child labels within this label group. Only populated when the label is a group (isGroup is true). */
children(variables?: Omit<IssueLabel_ChildrenQueryVariables, "id">): LinearFetch<IssueLabelConnection>;
/** Issues associated with the label. */
issues(variables?: Omit<IssueLabel_IssuesQueryVariables, "id">): LinearFetch<IssueConnection>;
/** Creates a new label. */
create(input: IssueLabelCreateInput, variables?: Omit<CreateIssueLabelMutationVariables, "input">): LinearFetch<IssueLabelPayload>;
/** Deletes an issue label. */
delete(): LinearFetch<DeletePayload>;
/** Updates a label. */
update(input: IssueLabelUpdateInput, variables?: Omit<UpdateIssueLabelMutationVariables, "id" | "input">): LinearFetch<IssueLabelPayload>;
}
/**
* Certain properties of an issue label.
*
* @param data - L.IssueLabelChildWebhookPayloadFragment response data
*/
declare class IssueLabelChildWebhookPayload {
constructor(data: IssueLabelChildWebhookPayloadFragment);
/** The color of the issue label. */
color: string;
/** The ID of the issue label. */
id: string;
/** The name of the issue label. */
name: string;
/** The parent ID of the issue label. */
parentId?: string | null;
}
/**
* IssueLabelConnection model
*
* @param request - function to call the graphql client
* @param fetch - function to trigger a refetch of this IssueLabelConnection model
* @param data - IssueLabelConnection response data
*/
declare class IssueLabelConnection extends Connection<IssueLabel> {
constructor(request: LinearRequest, fetch: (connection?: LinearConnectionVariables) => LinearFetch<LinearConnection<IssueLabel> | undefined>, data: IssueLabelConnectionFragment);
}
/**
* The result of a label mutation, containing the created or updated label and a success indicator.
*
* @param request - function to call the graphql client
* @param data - L.IssueLabelPayloadFragment response data
*/
declare class IssueLabelPayload extends Request {
private _issueLabel;
constructor(request: LinearRequest, data: IssueLabelPayloadFragment);
/** The identifier of the last sync operation. */
lastSyncId: number;
/** Whether the operation was successful. */
success: boolean;
/** The label that was created or updated. */
get issueLabel(): LinearFetch<IssueLabel> | undefined;
/** The ID of label that was created or updated. */
get issueLabelId(): string | undefined;
}
/**
* Payload for an issue label webhook.
*
* @param data - L.IssueLabelWebhookPayloadFragment response data
*/
declare class IssueLabelWebhookPayload {
constructor(data: IssueLabelWebhookPayloadFragment);
/** The time at which the entity was archived. */
archivedAt?: string | null;
/** The color of the issue label. */
color: string;
/** The time at which the entity was created. */
createdAt: string;
/** The creator ID of the issue label. */
creatorId?: string | null;
/** The label's description. */
description?: string | null;
/** The ID of the entity. */
id: string;
/** The original label inherited from. */
inheritedFromId?: string | null;
/** Whether the label is a group. */
isGroup: boolean;
/** The name of the issue label. */
name: string;
/** The parent ID of the issue label. */
parentId?: string | null;
/** The team ID of the issue label. */
teamId?: string | null;
/** The time at which the entity was updated. */
updatedAt: string;
}
/**
* Payload for an issue mention notification.
*
* @param data - L.IssueMentionNotificationWebhookPayloadFragment response data
*/
declare class IssueMentionNotificationWebhookPayload {
constructor(data: IssueMentionNotificationWebhookPayloadFragment);
/** The ID of the actor who caused the notification. */
actorId?: string | null;
/** The time at which the entity was archived. */
archivedAt?: string | null;
/** The time at which the entity was created. */
createdAt: string;
/** The ID of the external user who caused the notification. */
externalUserActorId?: string | null;
/** The ID of the entity. */
id: string;
/** The ID of the issue this notification belongs to. */
issueId: string;
/** An issue mention notification type. */
type: "issueMention";
/** The time at which the entity was updated. */
updatedAt: string;
/** The ID of the user who received the notification. */
userId: string;
/** The actor who caused the notification. */
actor?: UserChildWebhookPayload | null;
/** The issue this notification belongs to. */
issue: IssueWithDescriptionChildWebhookPayload;
}
/**
* Payload for an issue new comment notification.
*
* @param data - L.IssueNewCommentNotificationWebhookPayloadFragment response data
*/
declare class IssueNewCommentNotificationWebhookPayload {
constructor(data: IssueNewCommentNotificationWebhookPayloadFragment);
/** The ID of the actor who caused the notification. */
actorId?: string | null;
/** The time at which the entity was archived. */
archivedAt?: string | null;
/** The ID of the comment this notification belongs to. */
commentId: string;
/** The time at which the entity was created. */
createdAt: string;
/** The ID of the external user who caused the notification. */
externalUserActorId?: string | null;
/** The ID of the entity. */
id: string;
/** The ID of the issue this notification belongs to. */
issueId: string;
/** The ID of the parent comment for the comment this notification belongs to. */
parentCommentId?: string | null;
/** An issue new comment notification type. */
type: "issueNewComment";
/** The time at which the entity was updated. */
updatedAt: string;
/** The ID of the user who received the notification. */
userId: string;
/** The actor who caused the notification. */
actor?: UserChildWebhookPayload | null;
/** The comment this notification belongs to. */
comment: CommentChildWebhookPayload;
/** The issue this notification belongs to. */
issue: IssueWithDescriptionChildWebhookPayload;
/** The parent comment for the comment this notification belongs to. */
parentComment?: CommentChildWebhookPayload | null;
}
/**
* A notification related to an issue, such as assignment, comment, mention, status change, or priority change.
*
* @param request - function to call the graphql client
* @param data - L.IssueNotificationFragment response data
*/
declare class IssueNotification extends Request {
private _actor?;
private _comment?;
private _externalUserActor?;
private _issue;
private _parentComment?;
private _team;
private _user;
constructor(request: LinearRequest, data: IssueNotificationFragment);
/** The time at which the entity was archived. Null if the entity has not been archived. */
archivedAt?: Date | null;
/** Related comment ID. Null if the notification is not related to a comment. */
commentId?: string | null;
/** The time at which the entity was created. */
createdAt: Date;
/** The time at which an email reminder for this notification was sent to the user. Null if no email reminder has been sent. */
emailedAt?: Date | null;
/** The unique identifier of the entity. */
id: string;
/** Related issue ID. */
issueId: string;
/** Related parent comment ID. Null if the notification is not related to a comment. */
parentCommentId?: string | null;
/** Name of the reaction emoji related to the notification. */
reactionEmoji?: string | null;
/** The time at which the user marked the notification as read. Null if the notification is unread. */
readAt?: Date | null;
/** The time until which a notification is snoozed. After this time, the notification reappears in the user's inbox. Null if the notification is not currently snoozed. */
snoozedUntilAt?: Date | null;
/** Notification type. Determines the kind of event that triggered this notification and which associated entity fields will be populated. */
type: string;
/** The time at which a notification was unsnoozed. Null if the notification has not been unsnoozed. */
unsnoozedAt?: Date | null;
/**
* The last time at which the entity was meaningfully updated. This is the same as the creation time if the entity hasn't
* been updated after creation.
*/
updatedAt: Date;
/** The subscriptions related to the notification. */
subscriptions?: NotificationSubscription[] | null;
/** The bot that caused the notification. */
botActor?: ActorBot | null;
/** The category of the notification. */
category: NotificationCategory;
/** The user that caused the notification. Null if the notification was triggered by a non-user actor such as an integration, external user, or system event. */
get actor(): LinearFetch<User> | undefined;
/** The ID of user that caused the notification. null if the notification was triggered by a non-user actor such as an integration, external user, or system event. */
get actorId(): string | undefined;
/** The comment related to the notification. */
get comment(): LinearFetch<Comment> | undefined;
/** The external user that caused the notification. Populated when the notification was triggered by an external user (e.g., a commenter from a connected integration like Slack or GitHub) rather than a Linear workspace member. */
get externalUserActor(): LinearFetch<ExternalUser> | undefined;
/** The ID of external user that caused the notification. populated when the notification was triggered by an external user (e.g., a commenter from a connected integration like slack or github) rather than a linear workspace member. */
get externalUserActorId(): string | undefined;
/** The issue related to the notification. */
get issue(): LinearFetch<Issue> | undefined;
/** The parent comment related to the notification, if a notification is a reply comment notification. */
get parentComment(): LinearFetch<Comment> | undefined;
/** The team related to the issue notification. */
get team(): LinearFetch<Team> | undefined;
/** The ID of team related to the issue notification. */
get teamId(): string | undefined;
/** The recipient user of this notification. */
get user(): LinearFetch<User> | undefined;
/** The ID of recipient user of this notification. */
get userId(): string | undefined;
}
/**
* The result of an issue mutation, containing the created or updated issue and a success indicator.
*
* @param request - function to call the graphql client
* @param data - L.IssuePayloadFragment response data
*/
declare class IssuePayload extends Request {
private _issue?;
constructor(request: LinearRequest, data: IssuePayloadFragment);
/** The identifier of the last sync operation. */
lastSyncId: number;
/** Whether the operation was successful. */
success: boolean;
/** The issue that was created or updated. */
get issue(): LinearFetch<Issue> | undefined;
/** The ID of issue that was created or updated. */
get issueId(): string | undefined;
}
/**
* A mapping of an issue priority value to its human-readable label.
*
* @param request - function to call the graphql client
* @param data - L.IssuePriorityValueFragment response data
*/
declare class IssuePriorityValue extends Request {
constructor(request: LinearRequest, data: IssuePriorityValueFragment);
/** Priority's label. */
label: string;
/** Priority's number value. */
priority: number;
}
/**
* A relation between two issues. Issue relations represent directional relationships such as blocking, being blocked by, relating to, or duplicating another issue. Each relation connects a source issue to a related issue with a specific type describing the nature of the relationship.
*
* @param request - function to call the graphql client
* @param data - L.IssueRelationFragment response data
*/
declare class IssueRelation extends Request {
private _issue;
private _relatedIssue;
constructor(request: LinearRequest, data: IssueRelationFragment);
/** The time at which the entity was archived. Null if the entity has not been archived. */
archivedAt?: Date | null;
/** The time at which the entity was created. */
createdAt: Date;
/** The unique identifier of the entity. */
id: string;
/** The type of relationship between the source issue and the related issue. Possible values include blocks, duplicate, and related. */
type: string;
/**
* The last time at which the entity was meaningfully updated. This is the same as the creation time if the entity hasn't
* been updated after creation.
*/
updatedAt: Date;
/** The source issue whose relationship is being described. This is the issue from which the relation originates. */
get issue(): LinearFetch<Issue> | undefined;
/** The ID of source issue whose relationship is being described. this is the issue from which the relation originates. */
get issueId(): string | undefined;
/** The target issue that the source issue is related to. The relation type describes how the source issue relates to this issue. */
get relatedIssue(): LinearFetch<Issue> | undefined;
/** The ID of target issue that the source issue is related to. the relation type describes how the source issue relates to this issue. */
get relatedIssueId(): string | undefined;
/** Creates a new issue relation. */
create(input: IssueRelationCreateInput, variables?: Omit<CreateIssueRelationMutationVariables, "input">): LinearFetch<IssueRelationPayload>;
/** Deletes an issue relation. */
delete(): LinearFetch<DeletePayload>;
/** Updates an issue relation. */
update(input: IssueRelationUpdateInput): LinearFetch<IssueRelationPayload>;
}
/**
* IssueRelationConnection model
*
* @param request - function to call the graphql client
* @param fetch - function to trigger a refetch of this IssueRelationConnection model
* @param data - IssueRelationConnection response data
*/
declare class IssueRelationConnection extends Connection<IssueRelation> {
constructor(request: LinearRequest, fetch: (connection?: LinearConnectionVariables) => LinearFetch<LinearConnection<IssueRelation> | undefined>, data: IssueRelationConnectionFragment);
}
/**
* Payload describing a change to an issue relation, including which issue was involved and the type of change that occurred.
*
* @param request - function to call the graphql client
* @param data - L.IssueRelationHistoryPayloadFragment response data
*/
declare class IssueRelationHistoryPayload extends Request {
constructor(request: LinearRequest, data: IssueRelationHistoryPayloadFragment);
/** The human-readable identifier of the related issue (e.g., ENG-123). */
identifier: string;
/** The type of relation change that occurred (e.g., relation added or removed). */
type: string;
}
/**
* The result of an issue relation mutation, containing the created or updated issue relation and a success indicator.
*
* @param request - function to call the graphql client
* @param data - L.IssueRelationPayloadFragment response data
*/
declare class IssueRelationPayload extends Request {
private _issueRelation;
constructor(request: LinearRequest, data: IssueRelationPayloadFragment);
/** The identifier of the last sync operation. */
lastSyncId: number;
/** Whether the operation was successful. */
success: boolean;
/** The issue relation that was created or updated. */
get issueRelation(): LinearFetch<IssueRelation> | undefined;
/** The ID of issue relation that was created or updated. */
get issueRelationId(): string | undefined;
}
/**
* IssueSearchPayload model
*
* @param request - function to call the graphql client
* @param data - L.IssueSearchPayloadFragment response data
*/
declare class IssueSearchPayload extends Request {
constructor(request: LinearRequest, data: IssueSearchPayloadFragment);
/** Total number of matching results before pagination is applied. */
totalCount: number;
nodes: IssueSearchResult[];
/** Archived entities matching the search term along with all their dependencies, serialized for the client sync engine. */
archivePayload: ArchiveResponse;
pageInfo: PageInfo;
}
/**
* IssueSearchResult model
*
* @param request - function to call the graphql client
* @param data - L.IssueSearchResultFragment response data
*/
declare class IssueSearchResult extends Request {
private _asksExternalUserRequester?;
private _asksRequester?;
private _assignee?;
private _creator?;
private _cycle?;
private _delegate?;
private _externalUserCreator?;
private _favorite?;
private _lastAppliedTemplate?;
private _parent?;
private _project?;
private _projectMilestone?;
private _recurringIssueTemplate?;
private _snoozedBy?;
private _sourceComment?;
private _state;
private _team;
constructor(request: LinearRequest, data: IssueSearchResultFragment);
/** The time at which the issue was added to a cycle. */
addedToCycleAt?: Date | null;
/** The time at which the issue was added to a project. */
addedToProjectAt?: Date | null;
/** The time at which the issue was added to a team. */
addedToTeamAt?: Date | null;
/** The time at which the entity was archived. Null if the entity has not been archived. */
archivedAt?: Date | null;
/** The time at which the issue was automatically archived by the auto pruning process. */
autoArchivedAt?: Date | null;
/** The time at which the issue was automatically closed by the auto pruning process. */
autoClosedAt?: Date | null;
/** The order of the item in its column on the board. */
boardOrder: number;
/** Suggested branch name for the issue. */
branchName: string;
/** The time at which the issue was moved into canceled state. */
canceledAt?: Date | null;
/** The time at which the issue was moved into completed state. */
completedAt?: Date | null;
/** The time at which the entity was created. */
createdAt: Date;
/** Returns the number of Attachment resources which are created by customer support ticketing systems (e.g. Zendesk). */
customerTicketCount: number;
/** The issue's description in markdown format. */
description?: string | null;
/** The date at which the issue is due. */
dueDate?: Scalars["TimelessDate"] | null;
/** The estimate of the complexity of the issue. The specific scale used depends on the team's estimation configuration (e.g., points, T-shirt sizes). Null if no estimate has been set. */
estimate?: number | null;
/** The unique identifier of the entity. */
id: string;
/** Issue's human readable identifier (e.g. ENG-123). */
identifier: string;
/** Whether this issue inherits shared access from its parent issue. */
inheritsSharedAccess: boolean;
/** Identifiers of the labels associated with this issue. Can be used to query the labels directly. */
labelIds: string[];
/** Metadata related to search result. */
metadata: Scalars["JSONObject"];
/** The issue's unique number, scoped to the issue's team. Together with the team key, this forms the issue's human-readable identifier (e.g., ENG-123). */
number: number;
/** Previous identifiers of the issue if it has been moved between teams. */
previousIdentifiers: string[];
/** The priority of the issue. 0 = No priority, 1 = Urgent, 2 = High, 3 = Medium, 4 = Low. */
priority: number;
/** Label for the priority. */
priorityLabel: string;
/** The order of the item in relation to other items in the workspace, when ordered by priority. */
prioritySortOrder: number;
/** Emoji reaction summary for the issue, grouped by emoji type. Contains the count and reacting user information for each emoji. */
reactionData: Scalars["JSONObject"];
/** The time at which the issue's SLA will breach. */
slaBreachesAt?: Date | null;
/** The time at which the issue's SLA will enter high risk state. */
slaHighRiskAt?: Date | null;
/** The time at which the issue's SLA will enter medium risk state. */
slaMediumRiskAt?: Date | null;
/** The time at which the issue's SLA began. */
slaStartedAt?: Date | null;
/** The type of SLA set on the issue. Calendar days or business days. */
slaType?: string | null;
/** The time until an issue will be snoozed in Triage view. */
snoozedUntilAt?: Date | null;
/** The order of the item in relation to other items in the organization. Used for manual sorting in list views. */
sortOrder: number;
/** The time at which the issue was moved into started state. */
startedAt?: Date | null;
/** The time at which the issue entered triage. */
startedTriageAt?: Date | null;
/** The order of the item in the sub-issue list. Only set if the issue has a parent. */
subIssueSortOrder?: number | null;
/** The issue's title. This is the primary human-readable summary of the work item. */
title: string;
/** A flag that indicates whether the issue is in the trash bin. */
trashed?: boolean | null;
/** The time at which the issue left triage. */
triagedAt?: Date | null;
/**
* The last time at which the entity was meaningfully updated. This is the same as the creation time if the entity hasn't
* been updated after creation.
*/
updatedAt: Date;
/** Issue URL. */
url: string;
/** Reactions associated with the issue. */
reactions: Reaction[];
/** The external services the issue is synced with. */
syncedWith?: ExternalEntityInfo[] | null;
/** The bot that created the issue, if applicable. */
botActor?: ActorBot | null;
/** Shared access metadata for this issue. */
sharedAccess: IssueSharedAccess;
/** Integration type that created this issue, if applicable. */
integrationSourceType?: IntegrationService | null;
/** The external user who requested creation of the Asks issue on behalf of the creator. */
get asksExternalUserRequester(): LinearFetch<ExternalUser> | undefined;
/** The ID of external user who requested creation of the asks issue on behalf of the creator. */
get asksExternalUserRequesterId(): string | undefined;
/** The internal user who requested creation of the Asks issue on behalf of the creator. */
get asksRequester(): LinearFetch<User> | undefined;
/** The ID of internal user who requested creation of the asks issue on behalf of the creator. */
get asksRequesterId(): string | undefined;
/** The user to whom the issue is assigned. Null if the issue is unassigned. */
get assignee(): LinearFetch<User> | undefined;
/** The ID of user to whom the issue is assigned. null if the issue is unassigned. */
get assigneeId(): string | undefined;
/** The user who created the issue. Null if the creator's account has been deleted or if the issue was created by an integration or system process. */
get creator(): LinearFetch<User> | undefined;
/** The ID of user who created the issue. null if the creator's account has been deleted or if the issue was created by an integration or system process. */
get creatorId(): string | undefined;
/** The cycle that the issue is associated with. Null if the issue is not part of any cycle. */
get cycle(): LinearFetch<Cycle> | undefined;
/** The ID of cycle that the issue is associated with. null if the issue is not part of any cycle. */
get cycleId(): string | undefined;
/** The agent user that is delegated to work on this issue. Set when an AI agent has been assigned to perform work on this issue. Null if no agent is working on the issue. */
get delegate(): LinearFetch<User> | undefined;
/** The ID of agent user that is delegated to work on this issue. set when an ai agent has been assigned to perform work on this issue. null if no agent is working on the issue. */
get delegateId(): string | undefined;
/** The external user who created the issue. Set when the issue was created via an integration (e.g., Slack, Intercom) on behalf of a non-Linear user. Null if the issue was created by a Linear user. */
get externalUserCreator(): LinearFetch<ExternalUser> | undefined;
/** The ID of external user who created the issue. set when the issue was created via an integration (e.g., slack, intercom) on behalf of a non-linear user. null if the issue was created by a linear user. */
get externalUserCreatorId(): string | undefined;
/** The users favorite associated with this issue. */
get favorite(): LinearFetch<Favorite> | undefined;
/** The ID of users favorite associated with this issue. */
get favoriteId(): string | undefined;
/** The last template that was applied to this issue. */
get lastAppliedTemplate(): LinearFetch<Template> | undefined;
/** The ID of last template that was applied to this issue. */
get lastAppliedTemplateId(): string | undefined;
/** The parent of the issue. */
get parent(): LinearFetch<Issue> | undefined;
/** The ID of parent of the issue. */
get parentId(): string | undefined;
/** The project that the issue is associated with. Null if the issue is not part of any project. */
get project(): LinearFetch<Project> | undefined;
/** The ID of project that the issue is associated with. null if the issue is not part of any project. */
get projectId(): string | undefined;
/** The project milestone that the issue is associated with. Null if the issue is not assigned to a specific milestone within its project. */
get projectMilestone(): LinearFetch<ProjectMilestone> | undefined;
/** The ID of project milestone that the issue is associated with. null if the issue is not assigned to a specific milestone within its project. */
get projectMilestoneId(): string | undefined;
/** The recurring issue template that created this issue. */
get recurringIssueTemplate(): LinearFetch<Template> | undefined;
/** The ID of recurring issue template that created this issue. */
get recurringIssueTemplateId(): string | undefined;
/** The user who snoozed the issue. */
get snoozedBy(): LinearFetch<User> | undefined;
/** The ID of user who snoozed the issue. */
get snoozedById(): string | undefined;
/** The comment that this issue was created from, when an issue is created from an existing comment. Null if the issue was not created from a comment. */
get sourceComment(): LinearFetch<Comment> | undefined;
/** The ID of comment that this issue was created from, when an issue is created from an existing comment. null if the issue was not created from a comment. */
get sourceCommentId(): string | undefined;
/** The workflow state (issue status) that the issue is currently in. Workflow states represent the issue's progress through the team's workflow, such as Triage, Todo, In Progress, Done, or Canceled. */
get state(): LinearFetch<WorkflowState> | undefined;
/** The ID of workflow state (issue status) that the issue is currently in. workflow states represent the issue's progress through the team's workflow, such as triage, todo, in progress, done, or canceled. */
get stateId(): string | undefined;
/** The team that the issue belongs to. Every issue must belong to exactly one team, which determines the available workflow states, labels, and other team-specific configuration. */
get team(): LinearFetch<Team> | undefined;
/** The ID of team that the issue belongs to. every issue must belong to exactly one team, which determines the available workflow states, labels, and other team-specific configuration. */
get teamId(): string | undefined;
}
/**
* Metadata about an issue's shared access state, including which users the issue is shared with and any field restrictions for shared-only viewers.
*
* @param request - function to call the graphql client
* @param data - L.IssueSharedAccessFragment response data
*/
declare class IssueSharedAccess extends Request {
constructor(request: LinearRequest, data: IssueSharedAccessFragment);
/** Whether this issue has been shared with users outside the team. */
isShared: boolean;
/** The number of users this issue is shared with. */
sharedWithCount: number;
/** Whether the viewer can access this issue only through issue sharing. */
viewerHasOnlySharedAccess: boolean;
/** Issue update fields the viewer cannot modify due to shared-only access. */
disallowedIssueFields: IssueSharedAccessDisallowedField[];
/** Users this issue is shared with. */
sharedWithUsers: User[];
}
/**
* Payload for issue SLA webhook events.
*
* @param data - L.IssueSlaWebhookPayloadFragment response data
*/
declare class IssueSlaWebhookPayload {
constructor(data: IssueSlaWebhookPayloadFragment);
/** The type of action that triggered the webhook. */
action: string;
/** The time the payload was created. */
createdAt: Date;
/** ID of the organization for which the webhook belongs to. */
organizationId: string;
/** The type of resource. */
type: string;
/** URL for the issue. */
url?: string | null;
/** The ID of the webhook that sent this event. */
webhookId: string;
/** Unix timestamp in milliseconds when the webhook was sent. */
webhookTimestamp: number;
/** The issue that the SLA event is about. */
issueData: IssueWebhookPayload;
}
/**
* A continuous period of time during which an issue remained in a specific workflow state.
*
* @param request - function to call the graphql client
* @param data - L.IssueStateSpanFragment response data
*/
declare class IssueStateSpan extends Request {
private _state?;
constructor(request: LinearRequest, data: IssueStateSpanFragment);
/** The timestamp when the issue left this state. Null if the issue is currently in this state. */
endedAt?: Date | null;
/** The unique identifier of the state span. */
id: string;
/** The timestamp when the issue entered this state. */
startedAt: Date;
/** The workflow state identifier for this span. */
stateId: string;
/** The workflow state for this span. */
get state(): LinearFetch<WorkflowState> | undefined;
}
/**
* IssueStateSpanConnection model
*
* @param request - function to call the graphql client
* @param fetch - function to trigger a refetch of this IssueStateSpanConnection model
* @param data - IssueStateSpanConnection response data
*/
declare class IssueStateSpanConnection extends Connection<IssueStateSpan> {
constructor(request: LinearRequest, fetch: (connection?: LinearConnectionVariables) => LinearFetch<LinearConnection<IssueStateSpan> | undefined>, data: IssueStateSpanConnectionFragment);
}
/**
* Payload for a terminal issue status change notification.
*
* @param data - L.IssueStatusChangedNotificationWebhookPayloadFragment response data
*/
declare class IssueStatusChangedNotificationWebhookPayload {
constructor(data: IssueStatusChangedNotificationWebhookPayloadFragment);
/** The ID of the actor who caused the notification. */
actorId?: string | null;
/** The time at which the entity was archived. */
archivedAt?: string | null;
/** The time at which the entity was created. */
createdAt: string;
/** The ID of the external user who caused the notification. */
externalUserActorId?: string | null;
/** The ID of the entity. */
id: string;
/** The ID of the issue this notification belongs to. */
issueId: string;
/** A terminal issue status change notification type. */
type: "issueStatusChanged";
/** The time at which the entity was updated. */
updatedAt: string;
/** The ID of the user who received the notification. */
userId: string;
/** The actor who caused the notification. */
actor?: UserChildWebhookPayload | null;
/** The issue this notification belongs to. */
issue: IssueWithDescriptionChildWebhookPayload;
}
/**
* An entity referenced by a presented issue suggestion reason.
*
* @param request - function to call the graphql client
* @param data - L.IssueSuggestionReasonReferenceFragment response data
*/
declare class IssueSuggestionReasonReference extends Request {
constructor(request: LinearRequest, data: IssueSuggestionReasonReferenceFragment);
/** The referenced entity identifier. */
id: string;
/** The readable label for the referenced entity. */
label?: string | null;
/** The title of the referenced entity, when available. */
title?: string | null;
/** The referenced entity type. */
type: string;
}
/**
* Return type for AI-generated issue title suggestions based on customer request content.
*
* @param request - function to call the graphql client
* @param data - L.IssueTitleSuggestionFromCustomerRequestPayloadFragment response data
*/
declare class IssueTitleSuggestionFromCustomerRequestPayload extends Request {
constructor(request: LinearRequest, data: IssueTitleSuggestionFromCustomerRequestPayloadFragment);
/** The identifier of the last sync operation. */
lastSyncId: number;
/** The AI-suggested issue title based on the customer request content. */
title: string;
}
/**
* A join entity linking an issue to a release for release tracking. Each record represents an association between a single issue and a single release, along with metadata about the source of the link (e.g., which pull requests connected the issue to the release). Creating or deleting these associations automatically records the change in issue history.
*
* @param request - function to call the graphql client
* @param data - L.IssueToReleaseFragment response data
*/
declare class IssueToRelease extends Request {
private _issue;
private _release;
constructor(request: LinearRequest, data: IssueToReleaseFragment);
/** The time at which the entity was archived. Null if the entity has not been archived. */
archivedAt?: Date | null;
/** The time at which the entity was created. */
createdAt: Date;
/** The unique identifier of the entity. */
id: string;
/**
* The last time at which the entity was meaningfully updated. This is the same as the creation time if the entity hasn't
* been updated after creation.
*/
updatedAt: Date;
/** The issue that is linked to the release. */
get issue(): LinearFetch<Issue> | undefined;
/** The ID of issue that is linked to the release. */
get issueId(): string | undefined;
/** The release that the issue is linked to. */
get release(): LinearFetch<Release> | undefined;
/** The ID of release that the issue is linked to. */
get releaseId(): string | undefined;
/** Creates a new association between an issue and a release, linking the issue to the release for tracking purposes. */
create(input: IssueToReleaseCreateInput): LinearFetch<IssueToReleasePayload>;
/** Deletes an issue-to-release association by its identifier, removing the issue from the release. */
delete(): LinearFetch<DeletePayload>;
}
/**
* IssueToReleaseConnection model
*
* @param request - function to call the graphql client
* @param fetch - function to trigger a refetch of this IssueToReleaseConnection model
* @param data - IssueToReleaseConnection response data
*/
declare class IssueToReleaseConnection extends Connection<IssueToRelease> {
constructor(request: LinearRequest, fetch: (connection?: LinearConnectionVariables) => LinearFetch<LinearConnection<IssueToRelease> | undefined>, data: IssueToReleaseConnectionFragment);
}
/**
* The result of an issue-to-release mutation, containing the created or updated association and a success indicator.
*
* @param request - function to call the graphql client
* @param data - L.IssueToReleasePayloadFragment response data
*/
declare class IssueToReleasePayload extends Request {
private _issueToRelease;
constructor(request: LinearRequest, data: IssueToReleasePayloadFragment);
/** The identifier of the last sync operation. */
lastSyncId: number;
/** Whether the operation was successful. */
success: boolean;
/** The issueToRelease that was created or updated. */
get issueToRelease(): LinearFetch<IssueToRelease> | undefined;
/** The ID of issuetorelease that was created or updated. */
get issueToReleaseId(): string | undefined;
}
/**
* Payload for an issue unassignment notification.
*
* @param data - L.IssueUnassignedFromYouNotificationWebhookPayloadFragment response data
*/
declare class IssueUnassignedFromYouNotificationWebhookPayload {
constructor(data: IssueUnassignedFromYouNotificationWebhookPayloadFragment);
/** The ID of the actor who caused the notification. */
actorId?: string | null;
/** The time at which the entity was archived. */
archivedAt?: string | null;
/** The time at which the entity was created. */
createdAt: string;
/** The ID of the external user who caused the notification. */
externalUserActorId?: string | null;
/** The ID of the entity. */
id: string;
/** The ID of the issue this notification belongs to. */
issueId: string;
/** An issue unassignment notification type. */
type: "issueUnassignedFromYou";
/** The time at which the entity was updated. */
updatedAt: string;
/** The ID of the user who received the notification. */
userId: string;
/** The actor who caused the notification. */
actor?: UserChildWebhookPayload | null;
/** The issue this notification belongs to. */
issue: IssueWithDescriptionChildWebhookPayload;
}
/**
* Payload for an issue webhook.
*
* @param data - L.IssueWebhookPayloadFragment response data
*/
declare class IssueWebhookPayload {
constructor(data: IssueWebhookPayloadFragment);
/** The time at which the issue was added to a cycle. */
addedToCycleAt?: string | null;
/** The time at which the issue was added to a project. */
addedToProjectAt?: string | null;
/** The time at which the issue was added to a team. */
addedToTeamAt?: string | null;
/** The time at which the entity was archived. */
archivedAt?: string | null;
/** The ID of the user that is assigned to the issue. */
assigneeId?: string | null;
/** The time at which the issue was auto-archived. */
autoArchivedAt?: string | null;
/** The time at which the issue was auto-closed. */
autoClosedAt?: string | null;
/** The bot actor data for this issue. */
botActor?: string | null;
/** The time at which the issue was canceled. */
canceledAt?: string | null;
/** The time at which the issue was completed. */
completedAt?: string | null;
/** The time at which the entity was created. */
createdAt: string;
/** The ID of the user that created the issue. */
creatorId?: string | null;
/** The ID of the cycle that the issue belongs to. */
cycleId?: string | null;
/** The ID of the agent user that the issue is delegated to. */
delegateId?: string | null;
/** The description of the issue. */
description?: string | null;
/** The description data of the issue. */
descriptionData?: string | null;
/** The due date of the issue. */
dueDate?: string | null;
/** The estimate of the complexity of the issue.. */
estimate?: number | null;
/** The ID of the external user that created the issue. */
externalUserCreatorId?: string | null;
/** The ID of the entity. */
id: string;
/** The identifier of the issue. */
identifier: string;
/** Integration type that created this issue, if applicable. */
integrationSourceType?: string | null;
/** Id of the labels associated with this issue. */
labelIds: string[];
/** The ID of the last template that was applied to the issue. */
lastAppliedTemplateId?: string | null;
/** The issue's unique number. */
number: number;
/** The ID of the parent issue. */
parentId?: string | null;
/** Previous identifiers of the issue if it has been moved between teams. */
previousIdentifiers: string[];
/** The priority of the issue. 0 = No priority, 1 = Urgent, 2 = High, 3 = Medium, 4 = Low. */
priority: number;
/** The label of the issue's priority. */
priorityLabel: string;
/** The order of the item in relation to other items in the organization, when ordered by priority. */
prioritySortOrder: number;
/** The ID of the project that the issue belongs to. */
projectId?: string | null;
/** The ID of the project milestone that the issue belongs to. */
projectMilestoneId?: string | null;
/** The reaction data for this issue. */
reactionData: Scalars["JSONObject"];
/** The ID of the recurring issue template that created the issue. */
recurringIssueTemplateId?: string | null;
/** The time at which the issue would breach its SLA. */
slaBreachesAt?: string | null;
/** The time at which the issue would enter SLA high risk. */
slaHighRiskAt?: string | null;
/** The time at which the issue would enter SLA medium risk. */
slaMediumRiskAt?: string | null;
/** The time at which the issue's SLA started. */
slaStartedAt?: string | null;
/** The type of SLA the issue is under. */
slaType?: string | null;
/** The time until an issue will be snoozed in Triage view. */
snoozedUntilAt?: string | null;
/** The order of the item in relation to other items in the organization. */
sortOrder: number;
/** The ID of the source comment that the issue was created from. */
sourceCommentId?: string | null;
/** The time at which the issue was moved into started state. */
startedAt?: string | null;
/** The time at which the issue entered triage. */
startedTriageAt?: string | null;
/** The ID of the issue's current workflow state. */
stateId: string;
/** The order of the item in the sub-issue list. Only set if the issue has a parent. */
subIssueSortOrder?: number | null;
/** The IDs of the users that are subscribed to the issue. */
subscriberIds: string[];
/** The entity this issue is synced with. */
syncedWith?: Scalars["JSONObject"] | null;
/** The ID of the team that the issue belongs to. */
teamId: string;
/** The issue's title. */
title: string;
/** A flag that indicates whether the issue is in the trash bin. */
trashed?: boolean | null;
/** The time at which the issue was triaged. */
triagedAt?: string | null;
/** The time at which the entity was updated. */
updatedAt: string;
/** The URL of the issue. */
url: string;
/** The labels associated with this issue. */
labels: IssueLabelChildWebhookPayload[];
/** The releases associated with this issue. */
releases: ReleaseChildWebhookPayload[];
/** The user that is assigned to the issue. */
assignee?: UserChildWebhookPayload | null;
/** The user that created the issue. */
creator?: UserChildWebhookPayload | null;
/** The cycle that the issue belongs to. */
cycle?: CycleChildWebhookPayload | null;
/** The agent user that the issue is delegated to. */
delegate?: UserChildWebhookPayload | null;
/** The external user that created the issue. */
externalUserCreator?: ExternalUserChildWebhookPayload | null;
/** The project milestone that the issue belongs to. */
milestone?: ProjectMilestoneChildWebhookPayload | null;
/** The project that the issue belongs to. */
project?: ProjectChildWebhookPayload | null;
/** The project milestone that the issue belongs to. */
projectMilestone?: ProjectMilestoneChildWebhookPayload | null;
/** The issue's current workflow state. */
state: WorkflowStateChildWebhookPayload;
/** The team that the issue belongs to. */
team?: TeamChildWebhookPayload | null;
}
/**
* Certain properties of an issue, including its description.
*
* @param data - L.IssueWithDescriptionChildWebhookPayloadFragment response data
*/
declare class IssueWithDescriptionChildWebhookPayload {
constructor(data: IssueWithDescriptionChildWebhookPayloadFragment);
/** The description of the issue. */
description?: string | null;
/** The ID of the issue. */
id: string;
/** The identifier of the issue. */
identifier: string;
/** The ID of the team that the issue belongs to. */
teamId: string;
/** The title of the issue. */
title: string;
/** The URL of the issue. */
url: string;
/** The ID of the team that the issue belongs to. */
team: TeamChildWebhookPayload;
}
/**
* JiraFetchProjectStatusesPayload model
*
* @param request - function to call the graphql client
* @param data - L.JiraFetchProjectStatusesPayloadFragment response data
*/
declare class JiraFetchProjectStatusesPayload extends Request {
private _integration?;
constructor(request: LinearRequest, data: JiraFetchProjectStatusesPayloadFragment);
/** The fetched Jira issue statuses (non-Epic). */
issueStatuses: string[];
/** The identifier of the last sync operation. */
lastSyncId: number;
/** The fetched Jira project statuses (Epic). */
projectStatuses: string[];
/** Whether the operation was successful. */
success: boolean;
/** GitHub-specific details for the operation. Populated by GitHub-related mutations only. */
gitHub?: GitHubIntegrationConnectDetails | null;
/** The integration that was created or updated. */
get integration(): LinearFetch<Integration> | undefined;
/** The ID of integration that was created or updated. */
get integrationId(): string | undefined;
}
/**
* A notification subscription scoped to a specific issue label. The subscriber receives notifications for events related to issues with this label.
*
* @param request - function to call the graphql client
* @param data - L.LabelNotificationSubscriptionFragment response data
*/
declare class LabelNotificationSubscription extends Request {
private _customView?;
private _customer?;
private _cycle?;
private _initiative?;
private _label;
private _project?;
private _subscriber;
private _team?;
private _user?;
constructor(request: LinearRequest, data: LabelNotificationSubscriptionFragment);
/** Whether the subscription is active. When inactive, no notifications are generated from this subscription even though it still exists. */
active: boolean;
/** The time at which the entity was archived. Null if the entity has not been archived. */
archivedAt?: Date | null;
/** The time at which the entity was created. */
createdAt: Date;
/** The unique identifier of the entity. */
id: string;
/** The notification event types that this subscription will deliver to the subscriber. */
notificationSubscriptionTypes: string[];
/**
* The last time at which the entity was meaningfully updated. This is the same as the creation time if the entity hasn't
* been updated after creation.
*/
updatedAt: Date;
/** The type of contextual view (e.g., active issues, backlog) that further scopes a team notification subscription. Null if the subscription is not associated with a specific view type. */
contextViewType?: ContextViewType | null;
/** The type of user-specific view that further scopes a user notification subscription. Null if the subscription is not associated with a user view type. */
userContextViewType?: UserContextViewType | null;
/** The custom view that this notification subscription is scoped to. Null if the subscription targets a different entity type. */
get customView(): LinearFetch<CustomView> | undefined;
/** The ID of custom view that this notification subscription is scoped to. null if the subscription targets a different entity type. */
get customViewId(): string | undefined;
/** The customer that this notification subscription is scoped to. Null if the subscription targets a different entity type. */
get customer(): LinearFetch<Customer> | undefined;
/** The ID of customer that this notification subscription is scoped to. null if the subscription targets a different entity type. */
get customerId(): string | undefined;
/** The cycle that this notification subscription is scoped to. Null if the subscription targets a different entity type. */
get cycle(): LinearFetch<Cycle> | undefined;
/** The ID of cycle that this notification subscription is scoped to. null if the subscription targets a different entity type. */
get cycleId(): string | undefined;
/** The initiative that this notification subscription is scoped to. Null if the subscription targets a different entity type. */
get initiative(): LinearFetch<Initiative> | undefined;
/** The ID of initiative that this notification subscription is scoped to. null if the subscription targets a different entity type. */
get initiativeId(): string | undefined;
/** The label subscribed to. */
get label(): LinearFetch<IssueLabel> | undefined;
/** The ID of label subscribed to. */
get labelId(): string | undefined;
/** The project that this notification subscription is scoped to. Null if the subscription targets a different entity type. */
get project(): LinearFetch<Project> | undefined;
/** The ID of project that this notification subscription is scoped to. null if the subscription targets a different entity type. */
get projectId(): string | undefined;
/** The user who will receive notifications from this subscription. */
get subscriber(): LinearFetch<User> | undefined;
/** The ID of user who will receive notifications from this subscription. */
get subscriberId(): string | undefined;
/** The team that this notification subscription is scoped to. Null if the subscription targets a different entity type. */
get team(): LinearFetch<Team> | undefined;
/** The ID of team that this notification subscription is scoped to. null if the subscription targets a different entity type. */
get teamId(): string | undefined;
/** The user that this notification subscription is scoped to, for user-specific view subscriptions. Null if the subscription targets a different entity type. */
get user(): LinearFetch<User> | undefined;
/** The ID of user that this notification subscription is scoped to, for user-specific view subscriptions. null if the subscription targets a different entity type. */
get userId(): string | undefined;
}
/**
* LogoutResponse model
*
* @param request - function to call the graphql client
* @param data - L.LogoutResponseFragment response data
*/
declare class LogoutResponse extends Request {
constructor(request: LinearRequest, data: LogoutResponseFragment);
/** Whether the operation was successful. */
success: boolean;
}
/**
* MicrosoftTeamsChannel model
*
* @param request - function to call the graphql client
* @param data - L.MicrosoftTeamsChannelFragment response data
*/
declare class MicrosoftTeamsChannel extends Request {
constructor(request: LinearRequest, data: MicrosoftTeamsChannelFragment);
/** The display name of the channel. */
displayName: string;
/** The Microsoft Teams channel id (e.g. `19:abc@thread.tacv2`). */
id: string;
/** The membership type of the channel: standard, private, or shared. */
membershipType: string;
}
/**
* MicrosoftTeamsChannelsPayload model
*
* @param request - function to call the graphql client
* @param data - L.MicrosoftTeamsChannelsPayloadFragment response data
*/
declare class MicrosoftTeamsChannelsPayload extends Request {
constructor(request: LinearRequest, data: MicrosoftTeamsChannelsPayloadFragment);
/** Whether the operation was successful. */
success: boolean;
/** The teams the user belongs to with their channels. */
teams: MicrosoftTeamsTeam[];
}
/**
* MicrosoftTeamsTeam model
*
* @param request - function to call the graphql client
* @param data - L.MicrosoftTeamsTeamFragment response data
*/
declare class MicrosoftTeamsTeam extends Request {
constructor(request: LinearRequest, data: MicrosoftTeamsTeamFragment);
/** The display name of the team. */
displayName: string;
/** The AAD group id of the team. */
id: string;
/** The channels in the team the user can access. */
channels: MicrosoftTeamsChannel[];
}
/**
* Node model
*
* @param request - function to call the graphql client
* @param data - L.NodeFragment response data
*/
declare class Node extends Request {
constructor(request: LinearRequest, data: NodeFragment);
/** The unique identifier of the entity. */
id: string;
}
/**
* A notification delivered to a user's inbox. Notifications are created in response to activity in the workspace such as issue assignments, comments, mentions, and status changes. Each notification has a specific type that determines the associated entity (issue, project, document, etc.) and the nature of the event. Notifications can be read, snoozed, or archived by the user.
*
* @param request - function to call the graphql client
* @param data - L.NotificationFragment response data
*/
declare class Notification extends Request {
private _actor?;
private _externalUserActor?;
private _user;
constructor(request: LinearRequest, data: NotificationFragment);
/** The time at which the entity was archived. Null if the entity has not been archived. */
archivedAt?: Date | null;
/** The time at which the entity was created. */
createdAt: Date;
/** The time at which an email reminder for this notification was sent to the user. Null if no email reminder has been sent. */
emailedAt?: Date | null;
/** The unique identifier of the entity. */
id: string;
/** The time at which the user marked the notification as read. Null if the notification is unread. */
readAt?: Date | null;
/** The time until which a notification is snoozed. After this time, the notification reappears in the user's inbox. Null if the notification is not currently snoozed. */
snoozedUntilAt?: Date | null;
/** Notification type. Determines the kind of event that triggered this notification and which associated entity fields will be populated. */
type: string;
/** The time at which a notification was unsnoozed. Null if the notification has not been unsnoozed. */
unsnoozedAt?: Date | null;
/**
* The last time at which the entity was meaningfully updated. This is the same as the creation time if the entity hasn't
* been updated after creation.
*/
updatedAt: Date;
/** The bot that caused the notification. */
botActor?: ActorBot | null;
/** The category of the notification. */
category: NotificationCategory;
/** The user that caused the notification. Null if the notification was triggered by a non-user actor such as an integration, external user, or system event. */
get actor(): LinearFetch<User> | undefined;
/** The ID of user that caused the notification. null if the notification was triggered by a non-user actor such as an integration, external user, or system event. */
get actorId(): string | undefined;
/** The external user that caused the notification. Populated when the notification was triggered by an external user (e.g., a commenter from a connected integration like Slack or GitHub) rather than a Linear workspace member. */
get externalUserActor(): LinearFetch<ExternalUser> | undefined;
/** The ID of external user that caused the notification. populated when the notification was triggered by an external user (e.g., a commenter from a connected integration like slack or github) rather than a linear workspace member. */
get externalUserActorId(): string | undefined;
/** The recipient user of this notification. */
get user(): LinearFetch<User> | undefined;
/** The ID of recipient user of this notification. */
get userId(): string | undefined;
/** Archives a notification. */
archive(): LinearFetch<NotificationArchivePayload>;
/** Unarchives a notification. */
unarchive(): LinearFetch<NotificationArchivePayload>;
/** Updates a notification. */
update(input: NotificationUpdateInput): LinearFetch<NotificationPayload>;
}
/**
* A generic payload return from entity archive mutations.
*
* @param request - function to call the graphql client
* @param data - L.NotificationArchivePayloadFragment response data
*/
declare class NotificationArchivePayload extends Request {
constructor(request: LinearRequest, data: NotificationArchivePayloadFragment);
/** The identifier of the last sync operation. */
lastSyncId: number;
/** Whether the operation was successful. */
success: boolean;
}
/**
* Return type for batch notification mutations that operate on multiple notifications at once.
*
* @param request - function to call the graphql client
* @param data - L.NotificationBatchActionPayloadFragment response data
*/
declare class NotificationBatchActionPayload extends Request {
constructor(request: LinearRequest, data: NotificationBatchActionPayloadFragment);
/** The identifier of the last sync operation. */
lastSyncId: number;
/** Whether the operation was successful. */
success: boolean;
/** The notifications that were updated by the batch operation. */
notifications: Notification[];
}
/**
* A user's fully resolved notification category preferences. Each category maps to channel preferences indicating whether mobile, desktop, email, and Slack delivery are enabled.
*
* @param request - function to call the graphql client
* @param data - L.NotificationCategoryPreferencesFragment response data
*/
declare class NotificationCategoryPreferences extends Request {
constructor(request: LinearRequest, data: NotificationCategoryPreferencesFragment);
/** The preferences for notifications about apps and integrations. */
appsAndIntegrations: NotificationChannelPreferences;
/** The preferences for notifications about assignments. */
assignments: NotificationChannelPreferences;
/** The preferences for billing notifications. */
billing: NotificationChannelPreferences;
/** The preferences for notifications about comments and replies. */
commentsAndReplies: NotificationChannelPreferences;
/** The preferences for customer notifications. */
customers: NotificationChannelPreferences;
/** The preferences for notifications about document changes. */
documentChanges: NotificationChannelPreferences;
/** The preferences for feed summary notifications. */
feed: NotificationChannelPreferences;
/** The preferences for notifications about loops. */
loops: NotificationChannelPreferences;
/** The preferences for notifications about mentions. */
mentions: NotificationChannelPreferences;
/** The preferences for notifications about posts and updates. */
postsAndUpdates: NotificationChannelPreferences;
/** The preferences for notifications about reactions. */
reactions: NotificationChannelPreferences;
/** The preferences for notifications about reminders. */
reminders: NotificationChannelPreferences;
/** The preferences for notifications about reviews. */
reviews: NotificationChannelPreferences;
/** The preferences for notifications about status changes. */
statusChanges: NotificationChannelPreferences;
/** The preferences for notifications about subscriptions. */
subscriptions: NotificationChannelPreferences;
/** The preferences for system notifications. */
system: NotificationChannelPreferences;
/** The preferences for triage notifications. */
triage: NotificationChannelPreferences;
}
/**
* A user's resolved notification channel preferences, indicating whether each delivery channel (mobile, desktop, email, Slack) is enabled or disabled.
*
* @param request - function to call the graphql client
* @param data - L.NotificationChannelPreferencesFragment response data
*/
declare class NotificationChannelPreferences extends Request {
constructor(request: LinearRequest, data: NotificationChannelPreferencesFragment);
/** Whether notifications are currently enabled for desktop. */
desktop: boolean;
/** Whether notifications are currently enabled for email. */
email: boolean;
/** Whether notifications are currently enabled for mobile. */
mobile: boolean;
/** Whether notifications are currently enabled for Slack. */
slack: boolean;
}
/**
* NotificationConnection model
*
* @param request - function to call the graphql client
* @param fetch - function to trigger a refetch of this NotificationConnection model
* @param data - NotificationConnection response data
*/
declare class NotificationConnection extends Connection<CustomerNeedNotification | CustomerNotification | DocumentNotification | InitiativeNotification | IssueNotification | OauthClientApprovalNotification | PostNotification | ProductAnnouncementNotification | ProjectNotification | PullRequestNotification | UsageAlertNotification | WelcomeMessageNotification | WorkflowDefinitionNotification | Notification> {
constructor(request: LinearRequest, fetch: (connection?: LinearConnectionVariables) => LinearFetch<LinearConnection<CustomerNeedNotification | CustomerNotification | DocumentNotification | InitiativeNotification | IssueNotification | OauthClientApprovalNotification | PostNotification | ProductAnnouncementNotification | ProjectNotification | PullRequestNotification | UsageAlertNotification | WelcomeMessageNotification | WorkflowDefinitionNotification | Notification> | undefined>, data: NotificationConnectionFragment);
}
/**
* A user's notification delivery preferences across channels. Currently only supports mobile channel delivery scheduling.
*
* @param request - function to call the graphql client
* @param data - L.NotificationDeliveryPreferencesFragment response data
*/
declare class NotificationDeliveryPreferences extends Request {
constructor(request: LinearRequest, data: NotificationDeliveryPreferencesFragment);
/** The delivery preferences for the mobile channel. */
mobile?: NotificationDeliveryPreferencesChannel | null;
}
/**
* Delivery preferences for a specific notification channel, including an optional delivery schedule that restricts when notifications are sent.
*
* @param request - function to call the graphql client
* @param data - L.NotificationDeliveryPreferencesChannelFragment response data
*/
declare class NotificationDeliveryPreferencesChannel extends Request {
constructor(request: LinearRequest, data: NotificationDeliveryPreferencesChannelFragment);
/** [DEPRECATED] Whether notifications are enabled for this channel. Use notificationChannelPreferences instead. */
notificationsDisabled?: boolean | null;
/** The schedule for notifications on this channel. */
schedule?: NotificationDeliveryPreferencesSchedule | null;
}
/**
* A user's notification delivery window for a specific day of the week. Defines the time range during which notifications will be delivered.
*
* @param request - function to call the graphql client
* @param data - L.NotificationDeliveryPreferencesDayFragment response data
*/
declare class NotificationDeliveryPreferencesDay extends Request {
constructor(request: LinearRequest, data: NotificationDeliveryPreferencesDayFragment);
/** The end time of the notification delivery window in HH:MM military time format (e.g., '18:00'). Must be later than 'start'. */
end?: string | null;
/** The start time of the notification delivery window in HH:MM military time format (e.g., '09:00'). Must be earlier than 'end'. */
start?: string | null;
}
/**
* A user's weekly notification delivery schedule, defining delivery windows for each day of the week. Notifications outside these windows are held and delivered when the window opens.
*
* @param request - function to call the graphql client
* @param data - L.NotificationDeliveryPreferencesScheduleFragment response data
*/
declare class NotificationDeliveryPreferencesSchedule extends Request {
constructor(request: LinearRequest, data: NotificationDeliveryPreferencesScheduleFragment);
/** Whether the entire delivery schedule is disabled. When true, notifications are delivered at any time regardless of the per-day settings. */
disabled?: boolean | null;
/** Delivery preferences for Friday. */
friday: NotificationDeliveryPreferencesDay;
/** Delivery preferences for Monday. */
monday: NotificationDeliveryPreferencesDay;
/** Delivery preferences for Saturday. */
saturday: NotificationDeliveryPreferencesDay;
/** Delivery preferences for Sunday. */
sunday: NotificationDeliveryPreferencesDay;
/** Delivery preferences for Thursday. */
thursday: NotificationDeliveryPreferencesDay;
/** Delivery preferences for Tuesday. */
tuesday: NotificationDeliveryPreferencesDay;
/** Delivery preferences for Wednesday. */
wednesday: NotificationDeliveryPreferencesDay;
}
/**
* Return type for notification mutations.
*
* @param request - function to call the graphql client
* @param data - L.NotificationPayloadFragment response data
*/
declare class NotificationPayload extends Request {
constructor(request: LinearRequest, data: NotificationPayloadFragment);
/** The identifier of the last sync operation. */
lastSyncId: number;
/** Whether the operation was successful. */
success: boolean;
}
/**
* A subscription that controls which notifications a user receives for a specific entity such as a team, project, cycle, label, custom view, initiative, or user. This is not a billing subscription -- it determines notification preferences. Each subscription is scoped to exactly one target entity and specifies the notification types the subscriber wants to receive. When active, matching events on the target entity generate notifications for the subscriber.
*
* @param request - function to call the graphql client
* @param data - L.NotificationSubscriptionFragment response data
*/
declare class NotificationSubscription extends Request {
private _customView?;
private _customer?;
private _cycle?;
private _initiative?;
private _label?;
private _project?;
private _subscriber;
private _team?;
private _user?;
constructor(request: LinearRequest, data: NotificationSubscriptionFragment);
/** Whether the subscription is active. When inactive, no notifications are generated from this subscription even though it still exists. */
active: boolean;
/** The time at which the entity was archived. Null if the entity has not been archived. */
archivedAt?: Date | null;
/** The time at which the entity was created. */
createdAt: Date;
/** The unique identifier of the entity. */
id: string;
/**
* The last time at which the entity was meaningfully updated. This is the same as the creation time if the entity hasn't
* been updated after creation.
*/
updatedAt: Date;
/** The type of contextual view (e.g., active issues, backlog) that further scopes a team notification subscription. Null if the subscription is not associated with a specific view type. */
contextViewType?: ContextViewType | null;
/** The type of user-specific view that further scopes a user notification subscription. Null if the subscription is not associated with a user view type. */
userContextViewType?: UserContextViewType | null;
/** The custom view that this notification subscription is scoped to. Null if the subscription targets a different entity type. */
get customView(): LinearFetch<CustomView> | undefined;
/** The ID of custom view that this notification subscription is scoped to. null if the subscription targets a different entity type. */
get customViewId(): string | undefined;
/** The customer that this notification subscription is scoped to. Null if the subscription targets a different entity type. */
get customer(): LinearFetch<Customer> | undefined;
/** The ID of customer that this notification subscription is scoped to. null if the subscription targets a different entity type. */
get customerId(): string | undefined;
/** The cycle that this notification subscription is scoped to. Null if the subscription targets a different entity type. */
get cycle(): LinearFetch<Cycle> | undefined;
/** The ID of cycle that this notification subscription is scoped to. null if the subscription targets a different entity type. */
get cycleId(): string | undefined;
/** The initiative that this notification subscription is scoped to. Null if the subscription targets a different entity type. */
get initiative(): LinearFetch<Initiative> | undefined;
/** The ID of initiative that this notification subscription is scoped to. null if the subscription targets a different entity type. */
get initiativeId(): string | undefined;
/** The issue label that this notification subscription is scoped to. Null if the subscription targets a different entity type. */
get label(): LinearFetch<IssueLabel> | undefined;
/** The ID of issue label that this notification subscription is scoped to. null if the subscription targets a different entity type. */
get labelId(): string | undefined;
/** The project that this notification subscription is scoped to. Null if the subscription targets a different entity type. */
get project(): LinearFetch<Project> | undefined;
/** The ID of project that this notification subscription is scoped to. null if the subscription targets a different entity type. */
get projectId(): string | undefined;
/** The user who will receive notifications from this subscription. */
get subscriber(): LinearFetch<User> | undefined;
/** The ID of user who will receive notifications from this subscription. */
get subscriberId(): string | undefined;
/** The team that this notification subscription is scoped to. Null if the subscription targets a different entity type. */
get team(): LinearFetch<Team> | undefined;
/** The ID of team that this notification subscription is scoped to. null if the subscription targets a different entity type. */
get teamId(): string | undefined;
/** The user that this notification subscription is scoped to, for user-specific view subscriptions. Null if the subscription targets a different entity type. */
get user(): LinearFetch<User> | undefined;
/** The ID of user that this notification subscription is scoped to, for user-specific view subscriptions. null if the subscription targets a different entity type. */
get userId(): string | undefined;
/** Creates a new notification subscription for a specific entity. The subscription determines which notification types the authenticated user will receive for the target entity. Exactly one target entity (customer, custom view, cycle, initiative, label, project, team, or user) must be specified. */
create(input: NotificationSubscriptionCreateInput): LinearFetch<NotificationSubscriptionPayload>;
/** Deletes a notification subscription reference. */
delete(): LinearFetch<DeletePayload>;
/** Updates a notification subscription. */
update(input: NotificationSubscriptionUpdateInput): LinearFetch<NotificationSubscriptionPayload>;
}
/**
* NotificationSubscriptionConnection model
*
* @param request - function to call the graphql client
* @param fetch - function to trigger a refetch of this NotificationSubscriptionConnection model
* @param data - NotificationSubscriptionConnection response data
*/
declare class NotificationSubscriptionConnection extends Connection<CustomViewNotificationSubscription | CustomerNotificationSubscription | CycleNotificationSubscription | InitiativeNotificationSubscription | LabelNotificationSubscription | ProjectNotificationSubscription | TeamNotificationSubscription | UserNotificationSubscription | NotificationSubscription> {
constructor(request: LinearRequest, fetch: (connection?: LinearConnectionVariables) => LinearFetch<LinearConnection<CustomViewNotificationSubscription | CustomerNotificationSubscription | CycleNotificationSubscription | InitiativeNotificationSubscription | LabelNotificationSubscription | ProjectNotificationSubscription | TeamNotificationSubscription | UserNotificationSubscription | NotificationSubscription> | undefined>, data: NotificationSubscriptionConnectionFragment);
}
/**
* The result of a notification subscription mutation.
*
* @param request - function to call the graphql client
* @param data - L.NotificationSubscriptionPayloadFragment response data
*/
declare class NotificationSubscriptionPayload extends Request {
constructor(request: LinearRequest, data: NotificationSubscriptionPayloadFragment);
/** The identifier of the last sync operation. */
lastSyncId: number;
/** Whether the operation was successful. */
success: boolean;
}
/**
* Payload for OAuth app webhook events.
*
* @param data - L.OAuthAppWebhookPayloadFragment response data
*/
declare class OAuthAppWebhookPayload {
constructor(data: OAuthAppWebhookPayloadFragment);
/** The type of action that triggered the webhook. */
action: string;
/** The time the payload was created. */
createdAt: Date;
/** Id of the OAuth client that was revoked. */
oauthClientId: string;
/** ID of the organization for which the webhook belongs to. */
organizationId: string;
/** The type of resource. */
type: string;
/** The ID of the webhook that sent this event. */
webhookId: string;
/** Unix timestamp in milliseconds when the webhook was sent. */
webhookTimestamp: number;
}
/**
* An OAuth application that can be managed by the calling OAuth application.
*
* @param request - function to call the graphql client
* @param data - L.OAuthApplicationFragment response data
*/
declare class OAuthApplication extends Request {
constructor(request: LinearRequest, data: OAuthApplicationFragment);
/** The client ID used during OAuth authorization flows. */
clientId: string;
/** The time at which the OAuth application was created. */
createdAt: Date;
/** User-facing description of the OAuth application. Null if not set. */
description?: string | null;
/** Name of the developer or company that built the OAuth application. */
developer: string;
/** URL of the developer's website, homepage, or documentation. */
developerUrl: string;
/** The unique identifier of the OAuth application. */
id: string;
/** URL of the OAuth application's icon. Null if not set. */
imageUrl?: string | null;
/** The human-readable name of the OAuth application. */
name: string;
/** Allowed redirect URIs for OAuth authorization flows. */
redirectUris: string[];
/** The time at which the OAuth application was last updated. */
updatedAt: Date;
/** Whether webhook delivery is enabled for this OAuth application. */
webhookEnabled: boolean;
/** Webhook URL used for delivering webhook payloads. Null if not set. */
webhookUrl?: string | null;
/** OAuth grant types supported by this application. authorization_code is always included. */
grantTypes: OAuthApplicationGrantType[];
/** Resource types the OAuth application's webhooks subscribe to. */
webhookResourceTypes: WebhookResourceType[];
/** Distribution setting for the OAuth application. Private applications are only installable by the owning workspace. */
distribution: OAuthApplicationDistribution;
}
/**
* The result of archiving an OAuth application.
*
* @param request - function to call the graphql client
* @param data - L.OAuthApplicationArchivePayloadFragment response data
*/
declare class OAuthApplicationArchivePayload extends Request {
constructor(request: LinearRequest, data: OAuthApplicationArchivePayloadFragment);
/** Whether the operation was successful. */
success: boolean;
}
/**
* The result of creating an OAuth application.
*
* @param request - function to call the graphql client
* @param data - L.OAuthApplicationCreatePayloadFragment response data
*/
declare class OAuthApplicationCreatePayload extends Request {
constructor(request: LinearRequest, data: OAuthApplicationCreatePayloadFragment);
/** The client secret. Store this value securely because it cannot be retrieved later. Null when returning an existing OAuth application for an idempotency key. */
clientSecret?: string | null;
/** Whether the operation was successful. */
success: boolean;
/** The webhook signing secret. Null if the OAuth application does not have a webhook configured or an existing OAuth application is returned for an idempotency key. */
webhookSecret?: string | null;
}
/**
* The result of an OAuth application mutation.
*
* @param request - function to call the graphql client
* @param data - L.OAuthApplicationPayloadFragment response data
*/
declare class OAuthApplicationPayload extends Request {
constructor(request: LinearRequest, data: OAuthApplicationPayloadFragment);
/** Whether the operation was successful. */
success: boolean;
}
/**
* The result of rotating an OAuth application's client secret.
*
* @param request - function to call the graphql client
* @param data - L.OAuthApplicationRotateSecretPayloadFragment response data
*/
declare class OAuthApplicationRotateSecretPayload extends Request {
constructor(request: LinearRequest, data: OAuthApplicationRotateSecretPayloadFragment);
/** The new client secret. Store this value securely because it cannot be retrieved later. */
clientSecret: string;
/** Whether the operation was successful. */
success: boolean;
}
/**
* The result of rotating an OAuth application's webhook signing secret.
*
* @param request - function to call the graphql client
* @param data - L.OAuthApplicationRotateWebhookSecretPayloadFragment response data
*/
declare class OAuthApplicationRotateWebhookSecretPayload extends Request {
constructor(request: LinearRequest, data: OAuthApplicationRotateWebhookSecretPayloadFragment);
/** Whether the operation was successful. */
success: boolean;
/** The new webhook signing secret. */
webhookSecret: string;
}
/**
* Payload for OAuth authorization webhook events.
*
* @param data - L.OAuthAuthorizationWebhookPayloadFragment response data
*/
declare class OAuthAuthorizationWebhookPayload {
constructor(data: OAuthAuthorizationWebhookPayloadFragment);
/** The type of action that triggered the webhook. */
action: string;
/** The number of currently active tokens for the user for this client. */
activeTokensForUser: number;
/** The time the payload was created. */
createdAt: Date;
/** ID of the OAuth client the authorization belongs to. */
oauthClientId: string;
/** ID of the organization for which the webhook belongs to. */
organizationId: string;
/** The type of resource. */
type: string;
/** ID of the user that the authorization belongs to. */
userId: string;
/** The ID of the webhook that sent this event. */
webhookId: string;
/** Unix timestamp in milliseconds when the webhook was sent. */
webhookTimestamp: number;
/** Details of the OAuth client the authorization belongs to. */
oauthClient: OauthClientChildWebhookPayload;
/** Details of the user that the authorization belongs to. */
user: UserChildWebhookPayload;
}
/**
* OAuth client actor payload for webhooks.
*
* @param data - L.OauthClientActorWebhookPayloadFragment response data
*/
declare class OauthClientActorWebhookPayload {
constructor(data: OauthClientActorWebhookPayloadFragment);
/** The ID of the OAuth client. */
id: string;
/** The name of the OAuth client. */
name: string;
/** The type of actor. */
type: string;
}
/**
* A request to install an OAuth client application on a workspace, along with the admin's approval or denial response. When a user attempts to install an OAuth application that requires admin approval, an approval record is created. A workspace admin can then approve or deny the request, optionally providing a reason. The record also tracks any newly requested scopes that were added after the initial approval.
*
* @param request - function to call the graphql client
* @param data - L.OauthClientApprovalFragment response data
*/
declare class OauthClientApproval extends Request {
constructor(request: LinearRequest, data: OauthClientApprovalFragment);
/** The time at which the entity was archived. Null if the entity has not been archived. */
archivedAt?: Date | null;
/** The time at which the entity was created. */
createdAt: Date;
/** An optional explanation from the admin for why the installation request was denied. */
denyReason?: string | null;
/** The unique identifier of the entity. */
id: string;
/** Additional OAuth scopes requested after the initial approval. These scopes are not yet approved and require a separate admin decision. Null if no additional scopes have been requested. These scopes will never overlap with the already-approved scopes. */
newlyRequestedScopes?: string[] | null;
/** The identifier of the OAuth client application being requested for installation in this workspace. */
oauthClientId: string;
/** An optional message from the requester explaining why they want to install the OAuth application. */
requestReason?: string | null;
/** The identifier of the user who initiated the request to install the OAuth client application. */
requesterId: string;
/** The identifier of the workspace admin who approved or denied the installation request. Null if the request has not yet been responded to. */
responderId?: string | null;
/** The OAuth scopes that the application has been approved to use within this workspace (e.g., 'read', 'write', 'issues:create'). */
scopes: string[];
/**
* The last time at which the entity was meaningfully updated. This is the same as the creation time if the entity hasn't
* been updated after creation.
*/
updatedAt: Date;
/** The current status of the approval request: requested (pending admin review), approved, or denied. */
status: OAuthClientApprovalStatus;
}
/**
* A notification related to an OAuth client approval request, sent to workspace admins when an application requests access.
*
* @param request - function to call the graphql client
* @param data - L.OauthClientApprovalNotificationFragment response data
*/
declare class OauthClientApprovalNotification extends Request {
private _actor?;
private _externalUserActor?;
private _user;
constructor(request: LinearRequest, data: OauthClientApprovalNotificationFragment);
/** The time at which the entity was archived. Null if the entity has not been archived. */
archivedAt?: Date | null;
/** The time at which the entity was created. */
createdAt: Date;
/** The time at which an email reminder for this notification was sent to the user. Null if no email reminder has been sent. */
emailedAt?: Date | null;
/** The unique identifier of the entity. */
id: string;
/** Related OAuth client approval request ID. */
oauthClientApprovalId: string;
/** The time at which the user marked the notification as read. Null if the notification is unread. */
readAt?: Date | null;
/** The time until which a notification is snoozed. After this time, the notification reappears in the user's inbox. Null if the notification is not currently snoozed. */
snoozedUntilAt?: Date | null;
/** Notification type. Determines the kind of event that triggered this notification and which associated entity fields will be populated. */
type: string;
/** The time at which a notification was unsnoozed. Null if the notification has not been unsnoozed. */
unsnoozedAt?: Date | null;
/**
* The last time at which the entity was meaningfully updated. This is the same as the creation time if the entity hasn't
* been updated after creation.
*/
updatedAt: Date;
/** The bot that caused the notification. */
botActor?: ActorBot | null;
/** The OAuth client approval request related to the notification. */
oauthClientApproval: OauthClientApproval;
/** The category of the notification. */
category: NotificationCategory;
/** The user that caused the notification. Null if the notification was triggered by a non-user actor such as an integration, external user, or system event. */
get actor(): LinearFetch<User> | undefined;
/** The ID of user that caused the notification. null if the notification was triggered by a non-user actor such as an integration, external user, or system event. */
get actorId(): string | undefined;
/** The external user that caused the notification. Populated when the notification was triggered by an external user (e.g., a commenter from a connected integration like Slack or GitHub) rather than a Linear workspace member. */
get externalUserActor(): LinearFetch<ExternalUser> | undefined;
/** The ID of external user that caused the notification. populated when the notification was triggered by an external user (e.g., a commenter from a connected integration like slack or github) rather than a linear workspace member. */
get externalUserActorId(): string | undefined;
/** The recipient user of this notification. */
get user(): LinearFetch<User> | undefined;
/** The ID of recipient user of this notification. */
get userId(): string | undefined;
}
/**
* Certain properties of an OAuth client.
*
* @param data - L.OauthClientChildWebhookPayloadFragment response data
*/
declare class OauthClientChildWebhookPayload {
constructor(data: OauthClientChildWebhookPayloadFragment);
/** The ID of the OAuth client. */
id: string;
/** The name of the OAuth client. */
name: string;
}
/**
* A workspace (referred to as Organization in the API). Workspaces are the root-level container for all teams, users, projects, issues, and settings. Every user belongs to at least one workspace, and all data is scoped within a workspace boundary.
*
* @param request - function to call the graphql client
* @param data - L.OrganizationFragment response data
*/
declare class Organization extends Request {
private _slackProjectChannelIntegration?;
constructor(request: LinearRequest, data: OrganizationFragment);
/** Whether the workspace has enabled AI discussion summaries for issues. */
aiDiscussionSummariesEnabled: boolean;
/** Whether the workspace has enabled resolved thread AI summaries. */
aiThreadSummariesEnabled: boolean;
/** [DEPRECATED] Whether member users are allowed to send invites. */
allowMembersToInvite?: boolean | null;
/** Allowed authentication providers, empty array means all are allowed. */
allowedAuthServices: string[];
/** Allowed file upload content types */
allowedFileUploadContentTypes?: string[] | null;
/** The time at which the entity was archived. Null if the entity has not been archived. */
archivedAt?: Date | null;
/** Authentication settings for the workspace, including allowed auth providers, bypass rules, and organization visibility during signup. */
authSettings: Scalars["JSONObject"];
/** The time at which the entity was created. */
createdAt: Date;
/** Approximate total number of issues created in the workspace, including archived ones. This count is cached and may not reflect the exact real-time count. */
createdIssueCount: number;
/** The number of active (non-archived) customers tracked in the workspace. */
customerCount: number;
/** Configuration settings for the Customers feature, including revenue currency and other customer tracking preferences. */
customersConfiguration: Scalars["JSONObject"];
/** Whether the Customers feature is enabled and accessible for the workspace based on the current plan. */
customersEnabled: boolean;
/** The default home view for members of the workspace who have not chosen their own default. */
defaultHomeView?: string | null;
/** The id of the specific initiative, project, view, dashboard, or page tab used as the default home view. The type of entity is given by defaultHomeView. */
defaultHomeViewTargetId?: string | null;
/** The time at which deletion of the workspace was requested. Null if no deletion has been requested. */
deletionRequestedAt?: Date | null;
/** Whether the activity feed feature is enabled for the workspace. */
feedEnabled: boolean;
/** The zero-indexed month at which the fiscal year starts (0 = January, 11 = December). Defaults to 0 (January). */
fiscalYearStartMonth: number;
/** The template format for Git branch names created from issues. Supports template variables like {issueIdentifier} and {issueTitle}. If null, the default formatting will be used. */
gitBranchFormat?: string | null;
/** Whether issue descriptions should be included in the Git integration linkback messages posted to pull requests. */
gitLinkbackDescriptionsEnabled: boolean;
/** Whether the Git integration linkback messages should be posted as comments on pull requests in private repositories. */
gitLinkbackMessagesEnabled: boolean;
/** Whether the Git integration linkback messages should be posted as comments on pull requests in public repositories. */
gitPublicLinkbackMessagesEnabled: boolean;
/** Whether to hide other organizations for new users signing up with email domains claimed by this organization. */
hideNonPrimaryOrganizations: boolean;
/** Whether HIPAA compliance is enabled for the workspace. When enabled, certain data processing features are restricted to meet compliance requirements. */
hipaaComplianceEnabled: boolean;
/** The unique identifier of the entity. */
id: string;
/** The frequency in weeks at which to prompt for initiative updates. When null, initiative update reminders are disabled. Valid values range from 0 to 8. */
initiativeUpdateReminderFrequencyInWeeks?: number | null;
/** The hour of the day (0-23) at which initiative update reminders are sent. */
initiativeUpdateRemindersHour: number;
/** The URL of the workspace's logo image. Null if no logo has been uploaded. */
logoUrl?: string | null;
/** The workspace's name. */
name: string;
/** Rolling 30-day total file upload volume for the workspace, measured in megabytes. Used for enforcing upload quotas. */
periodUploadVolume: number;
/** Previously used URL keys for the workspace. The last 3 are kept and automatically redirected to the current URL key. */
previousUrlKeys: string[];
/** The frequency in weeks at which to prompt for project updates. When null, project update reminders are disabled. Valid values range from 0 to 8. */
projectUpdateReminderFrequencyInWeeks?: number | null;
/** The hour of the day (0-23) at which project update reminders are sent. */
projectUpdateRemindersHour: number;
/** How Linear suggests and links issues for pull requests that have none linked: 'off', 'suggest', or 'autoOnMerge'. */
pullRequestIssueMode: string;
/** Whether the workspace generates AI Pull Request guides for new pull requests. */
pullRequestTourEnabled: boolean;
/** Whether release management is enabled for the workspace. */
releasesEnabled: boolean;
/** [DEPRECATED] Whether workspace label creation, update, and deletion is restricted to admins. */
restrictLabelManagementToAdmins?: boolean | null;
/** [DEPRECATED] Whether team creation is restricted to admins. */
restrictTeamCreationToAdmins?: boolean | null;
/** Whether the roadmap feature is enabled for the workspace. */
roadmapEnabled: boolean;
/** Whether SAML-based single sign-on authentication is enabled for the workspace. */
samlEnabled: boolean;
/** Whether SCIM provisioning is enabled for the workspace, allowing automated user and team management from an identity provider. */
scimEnabled: boolean;
/** Security settings for the workspace, including role-based restrictions for invitations, team creation, label management, and other sensitive operations. */
securitySettings: Scalars["JSONObject"];
/** The prefix used for auto-created Slack project channels. */
slackProjectChannelPrefix: string;
/** The time at which the current plan trial will end. Null if the workspace is not in a trial period. */
trialEndsAt?: Date | null;
/** The time at which the current plan trial started. Null if the workspace is not in a trial period. */
trialStartsAt?: Date | null;
/**
* The last time at which the entity was meaningfully updated. This is the same as the creation time if the entity hasn't
* been updated after creation.
*/
updatedAt: Date;
/** The workspace's unique URL key, used in URLs to identify the workspace. */
urlKey: string;
/** The number of active (non-deactivated) users in the workspace. */
userCount: number;
/** The workspace's available project statuses, which define the lifecycle stages for projects. */
projectStatuses: ProjectStatus[];
/** The workspace's subscription to a paid plan. */
subscription?: PaidSubscription | null;
/** Default schedule for how often feed summaries are generated. */
defaultFeedSummarySchedule?: FeedSummarySchedule | null;
/** The day of the week on which initiative update reminders are sent. */
initiativeUpdateRemindersDay: Day;
/** The day of the week on which project update reminders are sent. */
projectUpdateRemindersDay: Day;
/** [DEPRECATED] The frequency at which to prompt for project updates. */
projectUpdatesReminderFrequency: ProjectUpdateReminderFrequency;
/** The feature release channel the workspace belongs to, which controls access to pre-release features. */
releaseChannel: ReleaseChannel;
/** [DEPRECATED] Which day count to use for SLA calculations. */
slaDayCount: SLADayCountType;
/** The Slack integration used for auto-creating project channels. */
get slackProjectChannelIntegration(): LinearFetch<Integration> | undefined;
/** The ID of slack integration used for auto-creating project channels. */
get slackProjectChannelIntegrationId(): string | undefined;
/** Third-party integrations configured for the workspace (e.g., GitHub, Slack, Figma). */
integrations(variables?: Organization_IntegrationsQueryVariables): LinearFetch<IntegrationConnection>;
/** Workspace-level issue labels (not associated with any specific team). These labels are available across all teams in the workspace. */
labels(variables?: Organization_LabelsQueryVariables): LinearFetch<IssueLabelConnection>;
/** Project labels available in the workspace for categorizing projects. */
projectLabels(variables?: Organization_ProjectLabelsQueryVariables): LinearFetch<ProjectLabelConnection>;
/** Teams in the workspace. Returns only teams visible to the requesting user (all public teams plus private teams the user is a member of). */
teams(variables?: Organization_TeamsQueryVariables): LinearFetch<TeamConnection>;
/** Workspace-level templates (not associated with any specific team). These templates are available across all teams in the workspace. */
templates(variables?: Organization_TemplatesQueryVariables): LinearFetch<TemplateConnection>;
/** Users belonging to the workspace. By default only returns active users; use the includeDisabled argument to include deactivated users. */
users(variables?: Organization_UsersQueryVariables): LinearFetch<UserConnection>;
/** Permanently deletes the workspace and all its data. Requires a valid deletion code obtained from organizationDeleteChallenge. This action is irreversible. */
delete(input: DeleteOrganizationInput): LinearFetch<OrganizationDeletePayload>;
/** Updates the user's workspace settings. Different settings require different permission levels; most require the workspaceSettings admin permission. */
update(input: OrganizationUpdateInput): LinearFetch<OrganizationPayload>;
}
/**
* OrganizationAcceptedOrExpiredInviteDetailsPayload model
*
* @param request - function to call the graphql client
* @param data - L.OrganizationAcceptedOrExpiredInviteDetailsPayloadFragment response data
*/
declare class OrganizationAcceptedOrExpiredInviteDetailsPayload extends Request {
constructor(request: LinearRequest, data: OrganizationAcceptedOrExpiredInviteDetailsPayloadFragment);
/** The status of the invite. */
status: OrganizationInviteStatus;
}
/**
* Workspace deletion cancellation response.
*
* @param request - function to call the graphql client
* @param data - L.OrganizationCancelDeletePayloadFragment response data
*/
declare class OrganizationCancelDeletePayload extends Request {
constructor(request: LinearRequest, data: OrganizationCancelDeletePayloadFragment);
/** Whether the operation was successful. */
success: boolean;
}
/**
* Workspace deletion operation response.
*
* @param request - function to call the graphql client
* @param data - L.OrganizationDeletePayloadFragment response data
*/
declare class OrganizationDeletePayload extends Request {
constructor(request: LinearRequest, data: OrganizationDeletePayloadFragment);
/** Whether the operation was successful. */
success: boolean;
}
/**
* A verified email domain associated with a workspace. Domains are used for automatic team joining, SSO/SAML authentication, and controlling workspace access. Each domain has an authentication type (general or SAML) and can be verified via email or DNS.
*
* @param request - function to call the graphql client
* @param data - L.OrganizationDomainFragment response data
*/
declare class OrganizationDomain extends Request {
private _creator?;
constructor(request: LinearRequest, data: OrganizationDomainFragment);
/** The time at which the entity was archived. Null if the entity has not been archived. */
archivedAt?: Date | null;
/** Whether the domain was claimed by the workspace through DNS TXT record verification. Claimed domains provide stronger ownership proof than email verification and enable additional features like preventing users from creating new workspaces. */
claimed?: boolean | null;
/** The time at which the entity was created. */
createdAt: Date;
/** Whether users with email addresses from this domain are prevented from creating new workspaces. Can only be set on claimed domains. */
disableOrganizationCreation?: boolean | null;
/** The unique identifier of the entity. */
id: string;
/** The domain name (e.g., 'example.com'). */
name: string;
/**
* The last time at which the entity was meaningfully updated. This is the same as the creation time if the entity hasn't
* been updated after creation.
*/
updatedAt: Date;
/** The email address used to verify this domain. Null if the domain was verified via DNS or has not been verified. */
verificationEmail?: string | null;
/** Whether the domain has been verified via email verification. */
verified: boolean;
/** The identity provider the domain belongs to. */
identityProvider?: IdentityProvider | null;
/** The authentication type this domain is used for. 'general' means standard email-based auth, 'saml' means SAML SSO authentication. */
authType: OrganizationDomainAuthType;
/** The user who added the domain. */
get creator(): LinearFetch<User> | undefined;
/** The ID of user who added the domain. */
get creatorId(): string | undefined;
/** Deletes a domain. */
delete(): LinearFetch<DeletePayload>;
}
/**
* Response for checking whether a workspace exists.
*
* @param request - function to call the graphql client
* @param data - L.OrganizationExistsPayloadFragment response data
*/
declare class OrganizationExistsPayload extends Request {
constructor(request: LinearRequest, data: OrganizationExistsPayloadFragment);
/** Whether the organization exists. */
exists: boolean;
/** Whether the operation was successful. */
success: boolean;
}
/**
* A pending invitation to join the workspace, sent via email. Invites specify the role the invitee will receive and can optionally include team assignments. Invites can expire and must be accepted by the invitee to grant workspace access.
*
* @param request - function to call the graphql client
* @param data - L.OrganizationInviteFragment response data
*/
declare class OrganizationInvite extends Request {
private _invitee?;
private _inviter;
constructor(request: LinearRequest, data: OrganizationInviteFragment);
/** The time at which the invite was accepted by the invitee. Null if the invite is still pending. */
acceptedAt?: Date | null;
/** The time at which the entity was archived. Null if the entity has not been archived. */
archivedAt?: Date | null;
/** The time at which the entity was created. */
createdAt: Date;
/** The email address of the person being invited to the workspace. */
email: string;
/** The time at which the invite will expire and can no longer be accepted. Null if the invite does not have an expiration date. */
expiresAt?: Date | null;
/** Whether the invite was sent to an email address outside the workspace's verified domains. */
external: boolean;
/** The unique identifier of the entity. */
id: string;
/** Extra metadata associated with the invite. */
metadata?: Scalars["JSONObject"] | null;
/**
* The last time at which the entity was meaningfully updated. This is the same as the creation time if the entity hasn't
* been updated after creation.
*/
updatedAt: Date;
/** The workspace role (admin, member, guest, or owner) that the invitee will receive upon accepting the invite. */
role: UserRoleType;
/** The user who has accepted the invite. Null, if the invite hasn't been accepted. */
get invitee(): LinearFetch<User> | undefined;
/** The ID of user who has accepted the invite. null, if the invite hasn't been accepted. */
get inviteeId(): string | undefined;
/** The user who created the invitation. */
get inviter(): LinearFetch<User> | undefined;
/** The ID of user who created the invitation. */
get inviterId(): string | undefined;
/** The workspace that the invite is associated with. */
get organization(): LinearFetch<Organization>;
/** Creates a new workspace invite and sends an invitation email to the specified address. The invite includes a role assignment and optional team memberships. */
create(input: OrganizationInviteCreateInput): LinearFetch<OrganizationInvitePayload>;
/** Deletes (archives) a workspace invite, preventing it from being accepted. */
delete(): LinearFetch<DeletePayload>;
/** Updates an existing workspace invite, such as changing the teams the invitee will be added to. */
update(input: OrganizationInviteUpdateInput): LinearFetch<OrganizationInvitePayload>;
}
/**
* OrganizationInviteConnection model
*
* @param request - function to call the graphql client
* @param fetch - function to trigger a refetch of this OrganizationInviteConnection model
* @param data - OrganizationInviteConnection response data
*/
declare class OrganizationInviteConnection extends Connection<OrganizationInvite> {
constructor(request: LinearRequest, fetch: (connection?: LinearConnectionVariables) => LinearFetch<LinearConnection<OrganizationInvite> | undefined>, data: OrganizationInviteConnectionFragment);
}
/**
* OrganizationInviteFullDetailsPayload model
*
* @param request - function to call the graphql client
* @param data - L.OrganizationInviteFullDetailsPayloadFragment response data
*/
declare class OrganizationInviteFullDetailsPayload extends Request {
constructor(request: LinearRequest, data: OrganizationInviteFullDetailsPayloadFragment);
/** Whether the invite has already been accepted. */
accepted: boolean;
/** Allowed authentication providers, empty array means all are allowed. */
allowedAuthServices: string[];
/** When the invite was created. */
createdAt: Date;
/** The email of the invitee. */
email: string;
/** Whether the invite has expired. */
expired: boolean;
/** The name of the inviter. */
inviter: string;
/** ID of the workspace the invite is for. */
organizationId: string;
/** URL of the workspace logo the invite is for. */
organizationLogoUrl?: string | null;
/** Name of the workspace the invite is for. */
organizationName: string;
/** What user role the invite should grant. */
role: UserRoleType;
/** The status of the invite. */
status: OrganizationInviteStatus;
}
/**
* Workspace invite operation response.
*
* @param request - function to call the graphql client
* @param data - L.OrganizationInvitePayloadFragment response data
*/
declare class OrganizationInvitePayload extends Request {
private _organizationInvite;
constructor(request: LinearRequest, data: OrganizationInvitePayloadFragment);
/** The identifier of the last sync operation. */
lastSyncId: number;
/** Whether the operation was successful. */
success: boolean;
/** The organization invite that was created or updated. */
get organizationInvite(): LinearFetch<OrganizationInvite> | undefined;
/** The ID of organization invite that was created or updated. */
get organizationInviteId(): string | undefined;
}
/**
* Organization origin for guidance rules.
*
* @param data - L.OrganizationOriginWebhookPayloadFragment response data
*/
declare class OrganizationOriginWebhookPayload {
constructor(data: OrganizationOriginWebhookPayloadFragment);
/** The type of origin, always 'Organization'. */
type: string;
}
/**
* Workspace update operation response.
*
* @param request - function to call the graphql client
* @param data - L.OrganizationPayloadFragment response data
*/
declare class OrganizationPayload extends Request {
constructor(request: LinearRequest, data: OrganizationPayloadFragment);
/** The identifier of the last sync operation. */
lastSyncId: number;
/** Whether the operation was successful. */
success: boolean;
/** The workspace that was created or updated. */
get organization(): LinearFetch<Organization>;
}
/**
* Workspace trial start response.
*
* @param request - function to call the graphql client
* @param data - L.OrganizationStartTrialPayloadFragment response data
*/
declare class OrganizationStartTrialPayload extends Request {
constructor(request: LinearRequest, data: OrganizationStartTrialPayloadFragment);
/** Whether the operation was successful. */
success: boolean;
}
/**
* Generic notification payload.
*
* @param data - L.OtherNotificationWebhookPayloadFragment response data
*/
declare class OtherNotificationWebhookPayload {
constructor(data: OtherNotificationWebhookPayloadFragment);
/** The ID of the actor who caused the notification. */
actorId?: string | null;
/** The time at which the entity was archived. */
archivedAt?: string | null;
/** The ID of the comment this notification belongs to. */
commentId?: string | null;
/** The time at which the entity was created. */
createdAt: string;
/** The ID of the document this notification belongs to. */
documentId?: string | null;
/** The ID of the external user who caused the notification. */
externalUserActorId?: string | null;
/** The ID of the entity. */
id: string;
/** The ID of the issue this notification belongs to. */
issueId?: string | null;
/** The ID of the parent comment this notification belongs to. */
parentCommentId?: string | null;
/** The ID of the project this notification belongs to. */
projectId?: string | null;
/** The ID of the project update this notification belongs to. */
projectUpdateId?: string | null;
/** The emoji of the reaction this notification is for. */
reactionEmoji?: string | null;
/** The time at which the entity was updated. */
updatedAt: string;
/** The ID of the user who received the notification. */
userId: string;
/** The actor who caused the notification. */
actor?: UserChildWebhookPayload | null;
/** The comment this notification belongs to. */
comment?: CommentChildWebhookPayload | null;
/** The document this notification belongs to. */
document?: DocumentChildWebhookPayload | null;
/** The issue this notification belongs to. */
issue?: IssueWithDescriptionChildWebhookPayload | null;
/** The parent comment this notification belongs to. */
parentComment?: CommentChildWebhookPayload | null;
/** The project this notification belongs to. */
project?: ProjectChildWebhookPayload | null;
/** The project update this notification belongs to. */
projectUpdate?: ProjectUpdateChildWebhookPayload | null;
/** The type of the notification. */
type: OtherNotificationType;
}
/**
* PageInfo model
*
* @param request - function to call the graphql client
* @param data - L.PageInfoFragment response data
*/
declare class PageInfo extends Request {
constructor(request: LinearRequest, data: PageInfoFragment);
/** Cursor representing the last result in the paginated results. */
endCursor?: string | null;
/** Indicates if there are more results when paginating forward. */
hasNextPage: boolean;
/** Indicates if there are more results when paginating backward. */
hasPreviousPage: boolean;
/** Cursor representing the first result in the paginated results. */
startCursor?: string | null;
}
/**
* The billing subscription of a workspace. Represents an active paid plan (e.g., Basic, Business, Enterprise) backed by a Stripe subscription. If a workspace has no Subscription record, it is on the free plan. Only one active subscription per workspace is expected.
*
* @param request - function to call the graphql client
* @param data - L.PaidSubscriptionFragment response data
*/
declare class PaidSubscription extends Request {
private _creator?;
constructor(request: LinearRequest, data: PaidSubscriptionFragment);
/** The time at which the entity was archived. Null if the entity has not been archived. */
archivedAt?: Date | null;
/** The date the subscription is scheduled to be canceled in the future. Null if no cancellation is scheduled. The subscription remains active until this date. */
cancelAt?: Date | null;
/** The date the subscription was canceled. Null if the subscription has not been canceled. */
canceledAt?: Date | null;
/** The billing collection method for this subscription. 'automatic' means the payment method on file is charged automatically. 'send_invoice' means invoices are sent to the billing email for manual payment. */
collectionMethod: string;
/** The time at which the entity was created. */
createdAt: Date;
/** The unique identifier of the entity. */
id: string;
/** The date the subscription will be billed next. Null if the subscription is canceled or has no upcoming billing date. */
nextBillingAt?: Date | null;
/** The subscription plan type that the workspace is scheduled to change to at the next billing cycle. Null if no plan change is pending. */
pendingChangeType?: string | null;
/** The number of seats (active members) in the subscription. This is the raw count before applying minimum and maximum seat limits. */
seats: number;
/** The maximum number of seats that will be billed in the subscription. The billed seat count will never exceed this value even if actual member count is higher. Null if no maximum is enforced. */
seatsMaximum?: number | null;
/** The minimum number of seats that will be billed in the subscription. The billed seat count will never go below this value even if actual member count is lower. Null if no minimum is enforced. */
seatsMinimum?: number | null;
/** The subscription plan type (e.g., basic, business, enterprise). Determines the feature set and pricing tier for the workspace. */
type: string;
/**
* The last time at which the entity was meaningfully updated. This is the same as the creation time if the entity hasn't
* been updated after creation.
*/
updatedAt: Date;
/** The user who initially created (purchased) the subscription. Null if the creator has been removed from the workspace. */
get creator(): LinearFetch<User> | undefined;
/** The ID of user who initially created (purchased) the subscription. null if the creator has been removed from the workspace. */
get creatorId(): string | undefined;
/** The workspace that the subscription is associated with. */
get organization(): LinearFetch<Organization>;
}
/**
* PasskeyLoginStartResponse model
*
* @param request - function to call the graphql client
* @param data - L.PasskeyLoginStartResponseFragment response data
*/
declare class PasskeyLoginStartResponse extends Request {
constructor(request: LinearRequest, data: PasskeyLoginStartResponseFragment);
/** The passkey authentication options to pass to the WebAuthn API. */
options: Scalars["JSONObject"];
/** Whether the operation was successful. */
success: boolean;
}
/**
* A notification related to a post, such as new comments or reactions.
*
* @param request - function to call the graphql client
* @param data - L.PostNotificationFragment response data
*/
declare class PostNotification extends Request {
private _actor?;
private _externalUserActor?;
private _user;
constructor(request: LinearRequest, data: PostNotificationFragment);
/** The time at which the entity was archived. Null if the entity has not been archived. */
archivedAt?: Date | null;
/** Related comment ID. Null if the notification is not related to a comment. */
commentId?: string | null;
/** The time at which the entity was created. */
createdAt: Date;
/** The time at which an email reminder for this notification was sent to the user. Null if no email reminder has been sent. */
emailedAt?: Date | null;
/** The unique identifier of the entity. */
id: string;
/** Related parent comment ID. Null if the notification is not related to a comment. */
parentCommentId?: string | null;
/** Related post ID. */
postId: string;
/** Name of the reaction emoji related to the notification. */
reactionEmoji?: string | null;
/** The time at which the user marked the notification as read. Null if the notification is unread. */
readAt?: Date | null;
/** The time until which a notification is snoozed. After this time, the notification reappears in the user's inbox. Null if the notification is not currently snoozed. */
snoozedUntilAt?: Date | null;
/** Notification type. Determines the kind of event that triggered this notification and which associated entity fields will be populated. */
type: string;
/** The time at which a notification was unsnoozed. Null if the notification has not been unsnoozed. */
unsnoozedAt?: Date | null;
/**
* The last time at which the entity was meaningfully updated. This is the same as the creation time if the entity hasn't
* been updated after creation.
*/
updatedAt: Date;
/** The bot that caused the notification. */
botActor?: ActorBot | null;
/** The category of the notification. */
category: NotificationCategory;
/** The user that caused the notification. Null if the notification was triggered by a non-user actor such as an integration, external user, or system event. */
get actor(): LinearFetch<User> | undefined;
/** The ID of user that caused the notification. null if the notification was triggered by a non-user actor such as an integration, external user, or system event. */
get actorId(): string | undefined;
/** The external user that caused the notification. Populated when the notification was triggered by an external user (e.g., a commenter from a connected integration like Slack or GitHub) rather than a Linear workspace member. */
get externalUserActor(): LinearFetch<ExternalUser> | undefined;
/** The ID of external user that caused the notification. populated when the notification was triggered by an external user (e.g., a commenter from a connected integration like slack or github) rather than a linear workspace member. */
get externalUserActorId(): string | undefined;
/** The recipient user of this notification. */
get user(): LinearFetch<User> | undefined;
/** The ID of recipient user of this notification. */
get userId(): string | undefined;
}
/**
* A readable issue suggestion reason and its structured entity references.
*
* @param request - function to call the graphql client
* @param data - L.PresentedIssueSuggestionReasonFragment response data
*/
declare class PresentedIssueSuggestionReason extends Request {
constructor(request: LinearRequest, data: PresentedIssueSuggestionReasonFragment);
/** The reason with entity mentions rendered as readable text. */
text: string;
/** Entities referenced by the reason. */
references: IssueSuggestionReasonReference[];
}
/**
* A product announcement shown in targeted workspace inbox notifications. Product announcements store reusable launch copy and are sent to specific recipients through related notifications.
*
* @param request - function to call the graphql client
* @param data - L.ProductAnnouncementFragment response data
*/
declare class ProductAnnouncement extends Request {
constructor(request: LinearRequest, data: ProductAnnouncementFragment);
/** The time at which the entity was archived. Null if the entity has not been archived. */
archivedAt?: Date | null;
/** Stable campaign identifier used to deduplicate product announcement notifications. */
campaignId: string;
/** The time at which the entity was created. */
createdAt: Date;
/** Body copy shown in the product announcement detail view. */
description: string;
/** Headline shown at the top of the product announcement detail view. */
headline: string;
/** The unique identifier of the entity. */
id: string;
/** Renderer identifier for this announcement. Unknown values should fall back to generic title, headline, and description rendering. */
kind: string;
/** Short title shown in the inbox notification list and push notification. */
title: string;
/**
* The last time at which the entity was meaningfully updated. This is the same as the creation time if the entity hasn't
* been updated after creation.
*/
updatedAt: Date;
}
/**
* A notification related to a product announcement sent by Linear.
*
* @param request - function to call the graphql client
* @param data - L.ProductAnnouncementNotificationFragment response data
*/
declare class ProductAnnouncementNotification extends Request {
private _actor?;
private _externalUserActor?;
private _user;
constructor(request: LinearRequest, data: ProductAnnouncementNotificationFragment);
/** The time at which the entity was archived. Null if the entity has not been archived. */
archivedAt?: Date | null;
/** The time at which the entity was created. */
createdAt: Date;
/** The time at which an email reminder for this notification was sent to the user. Null if no email reminder has been sent. */
emailedAt?: Date | null;
/** The unique identifier of the entity. */
id: string;
/** Identifier of the associated product announcement. */
productAnnouncementId: string;
/** The time at which the user marked the notification as read. Null if the notification is unread. */
readAt?: Date | null;
/** The time until which a notification is snoozed. After this time, the notification reappears in the user's inbox. Null if the notification is not currently snoozed. */
snoozedUntilAt?: Date | null;
/** Notification type. Determines the kind of event that triggered this notification and which associated entity fields will be populated. */
type: string;
/** The time at which a notification was unsnoozed. Null if the notification has not been unsnoozed. */
unsnoozedAt?: Date | null;
/**
* The last time at which the entity was meaningfully updated. This is the same as the creation time if the entity hasn't
* been updated after creation.
*/
updatedAt: Date;
/** The bot that caused the notification. */
botActor?: ActorBot | null;
/** The product announcement related to the notification. */
productAnnouncement: ProductAnnouncement;
/** The category of the notification. */
category: NotificationCategory;
/** The user that caused the notification. Null if the notification was triggered by a non-user actor such as an integration, external user, or system event. */
get actor(): LinearFetch<User> | undefined;
/** The ID of user that caused the notification. null if the notification was triggered by a non-user actor such as an integration, external user, or system event. */
get actorId(): string | undefined;
/** The external user that caused the notification. Populated when the notification was triggered by an external user (e.g., a commenter from a connected integration like Slack or GitHub) rather than a Linear workspace member. */
get externalUserActor(): LinearFetch<ExternalUser> | undefined;
/** The ID of external user that caused the notification. populated when the notification was triggered by an external user (e.g., a commenter from a connected integration like slack or github) rather than a linear workspace member. */
get externalUserActorId(): string | undefined;
/** The recipient user of this notification. */
get user(): LinearFetch<User> | undefined;
/** The ID of recipient user of this notification. */
get userId(): string | undefined;
}
/**
* A project is a collection of issues working toward a shared goal. Projects have start and target dates, milestones, status tracking, and progress metrics. They can span multiple teams and be grouped under initiatives.
*
* @param request - function to call the graphql client
* @param data - L.ProjectFragment response data
*/
declare class Project extends Request {
private _convertedFromIssue?;
private _creator?;
private _favorite?;
private _integrationsSettings?;
private _lastAppliedTemplate?;
private _lastUpdate?;
private _lead?;
private _status;
constructor(request: LinearRequest, data: ProjectFragment);
/** The time at which the entity was archived. Null if the entity has not been archived. */
archivedAt?: Date | null;
/** The time at which the project was automatically archived by the auto-pruning process. Null if the project has not been auto-archived. */
autoArchivedAt?: Date | null;
/** The time at which the project was moved into a canceled status. Null if the project has not been canceled. */
canceledAt?: Date | null;
/** The project's color as a HEX string. Used in the UI to visually identify the project. */
color: string;
/** The time at which the project was moved into a completed status. Null if the project has not been completed. */
completedAt?: Date | null;
/** The number of completed issues in the project at the end of each week since project creation. Each entry represents one week. */
completedIssueCountHistory: number[];
/** The number of completed estimation points at the end of each week since project creation. Each entry represents one week. */
completedScopeHistory: number[];
/** The project's content in markdown format. */
content?: string | null;
/** The time at which the entity was created. */
createdAt: Date;
/** The short description of the project. */
description: string;
/** The time at which the project health was last updated, typically when a new project update is posted. Null if health has never been set. */
healthUpdatedAt?: Date | null;
/** The icon of the project. Can be an emoji or a decorative icon type. */
icon?: string | null;
/** The unique identifier of the entity. */
id: string;
/** The number of in-progress estimation points at the end of each week since project creation. Each entry represents one week. */
inProgressScopeHistory: number[];
/** The total number of issues in the project at the end of each week since project creation. Each entry represents one week. */
issueCountHistory: number[];
/** The IDs of the project labels associated with this project. */
labelIds: string[];
/** The ID of the Microsoft Teams channel connected to the project, if any. */
microsoftTeamsChannelId?: string | null;
/** The name of the project. */
name: string;
/** The priority of the project. 0 = No priority, 1 = Urgent, 2 = High, 3 = Medium, 4 = Low. */
priority: number;
/** The priority of the project as a label. */
priorityLabel: string;
/** The sort order for the project within the workspace when ordered by priority. */
prioritySortOrder: number;
/** The overall progress of the project. This is the (completed estimate points + 0.25 * in progress estimate points) / total estimate points. */
progress: number;
/** The time until which project update reminders are paused. When set, no update reminders will be sent for this project until this date passes. Null means reminders are active. */
projectUpdateRemindersPausedUntilAt?: Date | null;
/** The number of resources associated with the project, including documents, external links, and attachments. */
resourceCount: number;
/** The overall scope (total estimate points) of the project. */
scope: number;
/** The total scope (estimation points) of the project at the end of each week since project creation. Each entry represents one week. */
scopeHistory: number[];
/** The ID of the Slack channel connected to the project, if any. */
slackChannelId?: string | null;
/** Whether to send new issue comment notifications to Slack. */
slackIssueComments: boolean;
/** Whether to send new issue status updates to Slack. */
slackIssueStatuses: boolean;
/** Whether to send new issue notifications to Slack. */
slackNewIssue: boolean;
/** The project's unique URL slug, used to construct human-readable URLs. */
slugId: string;
/** The sort order for the project within the workspace. Used for manual ordering in list views. */
sortOrder: number;
/** The estimated start date of the project. Null if no start date is set. */
startDate?: Scalars["TimelessDate"] | null;
/** The time at which the project was moved into a started status. Null if the project has not been started. */
startedAt?: Date | null;
/** [DEPRECATED] The type of the state. */
state: string;
/** The estimated completion date of the project. Null if no target date is set. */
targetDate?: Scalars["TimelessDate"] | null;
/** A flag that indicates whether the project is in the trash bin. */
trashed?: boolean | null;
/** The frequency at which to prompt for updates. When not set, reminders are inherited from workspace. */
updateReminderFrequency?: number | null;
/** The n-weekly frequency at which to prompt for updates. When not set, reminders are inherited from workspace. */
updateReminderFrequencyInWeeks?: number | null;
/** The hour at which to prompt for updates. */
updateRemindersHour?: number | null;
/**
* The last time at which the entity was meaningfully updated. This is the same as the creation time if the entity hasn't
* been updated after creation.
*/
updatedAt: Date;
/** Project URL. */
url: string;
/** The external services the project is synced with. */
syncedWith?: ExternalEntityInfo[] | null;
/** The content of the project description. */
documentContent?: DocumentContent | null;
/** The resolution of the reminder frequency. */
frequencyResolution: FrequencyResolutionType;
/** The overall health of the project, derived from the most recent project update. Possible values are onTrack, atRisk, or offTrack. Null if no health has been reported. */
health?: ProjectUpdateHealthType | null;
/** The resolution of the project's start date, indicating whether it refers to a specific month, quarter, half-year, or year. */
startDateResolution?: DateResolutionType | null;
/** The resolution of the project's estimated completion date, indicating whether it refers to a specific month, quarter, half-year, or year. */
targetDateResolution?: DateResolutionType | null;
/** The day at which to prompt for updates. */
updateRemindersDay?: Day | null;
/** The issue that was converted into this project. Null if the project was not created from an issue. */
get convertedFromIssue(): LinearFetch<Issue> | undefined;
/** The ID of issue that was converted into this project. null if the project was not created from an issue. */
get convertedFromIssueId(): string | undefined;
/** The user who created the project. */
get creator(): LinearFetch<User> | undefined;
/** The ID of user who created the project. */
get creatorId(): string | undefined;
/** The user's favorite associated with this project. */
get favorite(): LinearFetch<Favorite> | undefined;
/** The ID of user's favorite associated with this project. */
get favoriteId(): string | undefined;
/** Settings for all integrations associated with that project. */
get integrationsSettings(): LinearFetch<IntegrationsSettings> | undefined;
/** The ID of settings for all integrations associated with that project. */
get integrationsSettingsId(): string | undefined;
/** The last template that was applied to this project. */
get lastAppliedTemplate(): LinearFetch<Template> | undefined;
/** The ID of last template that was applied to this project. */
get lastAppliedTemplateId(): string | undefined;
/** The most recent status update posted for this project. Null if no updates have been posted. */
get lastUpdate(): LinearFetch<ProjectUpdate> | undefined;
/** The ID of most recent status update posted for this project. null if no updates have been posted. */
get lastUpdateId(): string | undefined;
/** The user who leads the project. The project lead is typically responsible for posting status updates and driving the project to completion. Null if no lead is assigned. */
get lead(): LinearFetch<User> | undefined;
/** The ID of user who leads the project. the project lead is typically responsible for posting status updates and driving the project to completion. null if no lead is assigned. */
get leadId(): string | undefined;
/** The current project status. Defines the project's position in its lifecycle (e.g., backlog, planned, started, paused, completed, canceled). */
get status(): LinearFetch<ProjectStatus> | undefined;
/** The ID of current project status. defines the project's position in its lifecycle (e.g., backlog, planned, started, paused, completed, canceled). */
get statusId(): string | undefined;
/** Attachments associated with the project. */
attachments(variables?: Omit<Project_AttachmentsQueryVariables, "id">): LinearFetch<ProjectAttachmentConnection>;
/** Comments associated with the project overview. */
comments(variables?: Omit<Project_CommentsQueryVariables, "id">): LinearFetch<CommentConnection>;
/** Documents associated with the project. */
documents(variables?: Omit<Project_DocumentsQueryVariables, "id">): LinearFetch<DocumentConnection>;
/** External links associated with the project. */
externalLinks(variables?: Omit<Project_ExternalLinksQueryVariables, "id">): LinearFetch<EntityExternalLinkConnection>;
/** History entries associated with the project. */
history(variables?: Omit<Project_HistoryQueryVariables, "id">): LinearFetch<ProjectHistoryConnection>;
/** Associations of this project to parent initiatives. */
initiativeToProjects(variables?: Omit<Project_InitiativeToProjectsQueryVariables, "id">): LinearFetch<InitiativeToProjectConnection>;
/** Initiatives that this project belongs to. */
initiatives(variables?: Omit<Project_InitiativesQueryVariables, "id">): LinearFetch<InitiativeConnection>;
/** Inverse relations associated with this project. */
inverseRelations(variables?: Omit<Project_InverseRelationsQueryVariables, "id">): LinearFetch<ProjectRelationConnection>;
/** Issues associated with the project. */
issues(variables?: Omit<Project_IssuesQueryVariables, "id">): LinearFetch<IssueConnection>;
/** Labels associated with this project. */
labels(variables?: Omit<Project_LabelsQueryVariables, "id">): LinearFetch<ProjectLabelConnection>;
/** Users that are members of the project. */
members(variables?: Omit<Project_MembersQueryVariables, "id">): LinearFetch<UserConnection>;
/** Customer needs associated with the project. */
needs(variables?: Omit<Project_NeedsQueryVariables, "id">): LinearFetch<CustomerNeedConnection>;
/** Milestones associated with the project. */
projectMilestones(variables?: Omit<Project_ProjectMilestonesQueryVariables, "id">): LinearFetch<ProjectMilestoneConnection>;
/** Project updates associated with the project. */
projectUpdates(variables?: Omit<Project_ProjectUpdatesQueryVariables, "id">): LinearFetch<ProjectUpdateConnection>;
/** Relations associated with this project. */
relations(variables?: Omit<Project_RelationsQueryVariables, "id">): LinearFetch<ProjectRelationConnection>;
/** Teams associated with this project. */
teams(variables?: Omit<Project_TeamsQueryVariables, "id">): LinearFetch<TeamConnection>;
/** Archives a project. */
archive(variables?: Omit<ArchiveProjectMutationVariables, "id">): LinearFetch<ProjectArchivePayload>;
/** Creates a new project. */
create(input: ProjectCreateInput, variables?: Omit<CreateProjectMutationVariables, "input">): LinearFetch<ProjectPayload>;
/** Deletes (trashes) a project. The project can be restored later with projectUnarchive. */
delete(): LinearFetch<ProjectArchivePayload>;
/** Restores a previously trashed or archived project. */
unarchive(): LinearFetch<ProjectArchivePayload>;
/** Updates a project. */
update(variables?: Omit<ProjectUpdateQueryVariables, "id">): LinearFetch<ProjectUpdate>;
}
/**
* A generic payload return from entity archive mutations.
*
* @param request - function to call the graphql client
* @param data - L.ProjectArchivePayloadFragment response data
*/
declare class ProjectArchivePayload extends Request {
private _entity?;
constructor(request: LinearRequest, data: ProjectArchivePayloadFragment);
/** The identifier of the last sync operation. */
lastSyncId: number;
/** Whether the operation was successful. */
success: boolean;
/** The archived/unarchived entity. Null if entity was deleted. */
get entity(): LinearFetch<Project> | undefined;
/** The ID of archived/unarchived entity. null if entity was deleted. */
get entityId(): string | undefined;
}
/**
* An attachment (link, reference, or integration data) associated with a project. Attachments are typically created by integrations and contain metadata for rendering in the client.
*
* @param request - function to call the graphql client
* @param data - L.ProjectAttachmentFragment response data
*/
declare class ProjectAttachment extends Request {
private _creator?;
constructor(request: LinearRequest, data: ProjectAttachmentFragment);
/** The time at which the entity was archived. Null if the entity has not been archived. */
archivedAt?: Date | null;
/** The time at which the entity was created. */
createdAt: Date;
/** The unique identifier of the entity. */
id: string;
/** Custom metadata related to the attachment. Contains user-facing content such as conversation messages or rendered attributes from integrations. */
metadata: Scalars["JSONObject"];
/** Metadata about the external source which created the attachment, including foreign identifiers used for syncing with external services. Null if the attachment was not created by an integration. */
source?: Scalars["JSONObject"] | null;
/** The source type of the attachment, derived from the source metadata. Returns the integration type that created the attachment (e.g., 'slack', 'github'), or null if not set. */
sourceType?: string | null;
/** Optional subtitle of the attachment, providing additional context below the title. */
subtitle?: string | null;
/** Title of the attachment. */
title: string;
/**
* The last time at which the entity was meaningfully updated. This is the same as the creation time if the entity hasn't
* been updated after creation.
*/
updatedAt: Date;
/** URL of the attachment. */
url: string;
/** The creator of the attachment. */
get creator(): LinearFetch<User> | undefined;
/** The ID of creator of the attachment. */
get creatorId(): string | undefined;
}
/**
* ProjectAttachmentConnection model
*
* @param request - function to call the graphql client
* @param fetch - function to trigger a refetch of this ProjectAttachmentConnection model
* @param data - ProjectAttachmentConnection response data
*/
declare class ProjectAttachmentConnection extends Connection<ProjectAttachment> {
constructor(request: LinearRequest, fetch: (connection?: LinearConnectionVariables) => LinearFetch<LinearConnection<ProjectAttachment> | undefined>, data: ProjectAttachmentConnectionFragment);
}
/**
* Certain properties of a project.
*
* @param data - L.ProjectChildWebhookPayloadFragment response data
*/
declare class ProjectChildWebhookPayload {
constructor(data: ProjectChildWebhookPayloadFragment);
/** The ID of the project. */
id: string;
/** The name of the project. */
name: string;
/** The URL of the project. */
url: string;
}
/**
* ProjectConnection model
*
* @param request - function to call the graphql client
* @param fetch - function to trigger a refetch of this ProjectConnection model
* @param data - ProjectConnection response data
*/
declare class ProjectConnection extends Connection<Project> {
constructor(request: LinearRequest, fetch: (connection?: LinearConnectionVariables) => LinearFetch<LinearConnection<Project> | undefined>, data: ProjectConnectionFragment);
}
/**
* The result of a project filter suggestion query.
*
* @param request - function to call the graphql client
* @param data - L.ProjectFilterSuggestionPayloadFragment response data
*/
declare class ProjectFilterSuggestionPayload extends Request {
constructor(request: LinearRequest, data: ProjectFilterSuggestionPayloadFragment);
/** The json filter that is suggested. */
filter?: Scalars["JSONObject"] | null;
/** The log id of the prompt, that created this filter. */
logId?: string | null;
}
/**
* A history record associated with a project. Tracks changes to project properties, status, members, teams, milestones, labels, and relationships over time.
*
* @param request - function to call the graphql client
* @param data - L.ProjectHistoryFragment response data
*/
declare class ProjectHistory extends Request {
private _project;
constructor(request: LinearRequest, data: ProjectHistoryFragment);
/** The time at which the entity was archived. Null if the entity has not been archived. */
archivedAt?: Date | null;
/** The time at which the entity was created. */
createdAt: Date;
/** The events that happened while recording that history. */
entries: Scalars["JSONObject"];
/** The unique identifier of the entity. */
id: string;
/**
* The last time at which the entity was meaningfully updated. This is the same as the creation time if the entity hasn't
* been updated after creation.
*/
updatedAt: Date;
/** The project that this history record belongs to. */
get project(): LinearFetch<Project> | undefined;
/** The ID of project that this history record belongs to. */
get projectId(): string | undefined;
}
/**
* ProjectHistoryConnection model
*
* @param request - function to call the graphql client
* @param fetch - function to trigger a refetch of this ProjectHistoryConnection model
* @param data - ProjectHistoryConnection response data
*/
declare class ProjectHistoryConnection extends Connection<ProjectHistory> {
constructor(request: LinearRequest, fetch: (connection?: LinearConnectionVariables) => LinearFetch<LinearConnection<ProjectHistory> | undefined>, data: ProjectHistoryConnectionFragment);
}
/**
* A label that can be applied to projects for categorization. Project labels are workspace-level and can be organized into groups with a parent-child hierarchy. Only child labels (not group labels) can be directly applied to projects.
*
* @param request - function to call the graphql client
* @param data - L.ProjectLabelFragment response data
*/
declare class ProjectLabel extends Request {
private _creator?;
private _parent?;
private _retiredBy?;
constructor(request: LinearRequest, data: ProjectLabelFragment);
/** The time at which the entity was archived. Null if the entity has not been archived. */
archivedAt?: Date | null;
/** The label's color as a HEX string (e.g., '#EB5757'). Used for visual identification of the label in the UI. */
color: string;
/** The time at which the entity was created. */
createdAt: Date;
/** The label's description. */
description?: string | null;
/** The unique identifier of the entity. */
id: string;
/** Whether the label is a group. When true, this label acts as a container for child labels and cannot be directly applied to issues or projects. When false, the label can be directly applied. */
isGroup: boolean;
/** The date when the label was last applied to an issue, project, or initiative. Null if the label has never been applied. */
lastAppliedAt?: Date | null;
/** The label's name. */
name: string;
/**
* The last time at which the entity was meaningfully updated. This is the same as the creation time if the entity hasn't
* been updated after creation.
*/
updatedAt: Date;
/** The user who created the label. */
get creator(): LinearFetch<User> | undefined;
/** The ID of user who created the label. */
get creatorId(): string | undefined;
/** The workspace that the project label belongs to. */
get organization(): LinearFetch<Organization>;
/** The parent label group. If set, this label is a child within a group. Only one child label from each group can be applied to a project at a time. */
get parent(): LinearFetch<ProjectLabel> | undefined;
/** The ID of parent label group. if set, this label is a child within a group. only one child label from each group can be applied to a project at a time. */
get parentId(): string | undefined;
/** The user who retired the label. Retired labels cannot be applied to new projects but remain on existing ones. Null if the label is active. */
get retiredBy(): LinearFetch<User> | undefined;
/** The ID of user who retired the label. retired labels cannot be applied to new projects but remain on existing ones. null if the label is active. */
get retiredById(): string | undefined;
/** Children of the label. */
children(variables?: Omit<ProjectLabel_ChildrenQueryVariables, "id">): LinearFetch<ProjectLabelConnection>;
/** Projects associated with the label. */
projects(variables?: Omit<ProjectLabel_ProjectsQueryVariables, "id">): LinearFetch<ProjectConnection>;
/** Creates a new project label. */
create(input: ProjectLabelCreateInput, variables?: Omit<CreateProjectLabelMutationVariables, "input">): LinearFetch<ProjectLabelPayload>;
/** Deletes a project label. */
delete(): LinearFetch<DeletePayload>;
/** Updates a project label. */
update(input: ProjectLabelUpdateInput, variables?: Omit<UpdateProjectLabelMutationVariables, "id" | "input">): LinearFetch<ProjectLabelPayload>;
}
/**
* Certain properties of a project label.
*
* @param data - L.ProjectLabelChildWebhookPayloadFragment response data
*/
declare class ProjectLabelChildWebhookPayload {
constructor(data: ProjectLabelChildWebhookPayloadFragment);
/** The color of the project label. */
color: string;
/** The ID of the project label. */
id: string;
/** The name of the project label. */
name: string;
/** The parent ID of the project label. */
parentId?: string | null;
}
/**
* ProjectLabelConnection model
*
* @param request - function to call the graphql client
* @param fetch - function to trigger a refetch of this ProjectLabelConnection model
* @param data - ProjectLabelConnection response data
*/
declare class ProjectLabelConnection extends Connection<ProjectLabel> {
constructor(request: LinearRequest, fetch: (connection?: LinearConnectionVariables) => LinearFetch<LinearConnection<ProjectLabel> | undefined>, data: ProjectLabelConnectionFragment);
}
/**
* The result of a project label mutation.
*
* @param request - function to call the graphql client
* @param data - L.ProjectLabelPayloadFragment response data
*/
declare class ProjectLabelPayload extends Request {
private _projectLabel;
constructor(request: LinearRequest, data: ProjectLabelPayloadFragment);
/** The identifier of the last sync operation. */
lastSyncId: number;
/** Whether the operation was successful. */
success: boolean;
/** The label that was created or updated. */
get projectLabel(): LinearFetch<ProjectLabel> | undefined;
/** The ID of label that was created or updated. */
get projectLabelId(): string | undefined;
}
/**
* Payload for a project label webhook.
*
* @param data - L.ProjectLabelWebhookPayloadFragment response data
*/
declare class ProjectLabelWebhookPayload {
constructor(data: ProjectLabelWebhookPayloadFragment);
/** The time at which the entity was archived. */
archivedAt?: string | null;
/** The color of the project label. */
color: string;
/** The time at which the entity was created. */
createdAt: string;
/** The creator ID of the project label. */
creatorId?: string | null;
/** The label's description. */
description?: string | null;
/** The ID of the entity. */
id: string;
/** Whether the label is a group. */
isGroup: boolean;
/** The name of the project label. */
name: string;
/** The parent ID of the project label. */
parentId?: string | null;
/** The time at which the entity was updated. */
updatedAt: string;
}
/**
* A milestone within a project. Milestones break a project into phases or target checkpoints, each with its own target date and set of issues. Issues can be assigned to a milestone to track progress toward that checkpoint.
*
* @param request - function to call the graphql client
* @param data - L.ProjectMilestoneFragment response data
*/
declare class ProjectMilestone extends Request {
private _project;
constructor(request: LinearRequest, data: ProjectMilestoneFragment);
/** The time at which the entity was archived. Null if the entity has not been archived. */
archivedAt?: Date | null;
/** The time at which the entity was created. */
createdAt: Date;
/** The project milestone's description in markdown format. */
description?: string | null;
/** The unique identifier of the entity. */
id: string;
/** The name of the project milestone. */
name: string;
/** The progress % of the project milestone. */
progress: number;
/** The order of the milestone in relation to other milestones within a project. */
sortOrder: number;
/** The planned completion date of the milestone. Null if no target date is set. */
targetDate?: Scalars["TimelessDate"] | null;
/**
* The last time at which the entity was meaningfully updated. This is the same as the creation time if the entity hasn't
* been updated after creation.
*/
updatedAt: Date;
/** The rich-text content of the milestone description. Null if no description has been set. */
documentContent?: DocumentContent | null;
/** The status of the project milestone. */
status: ProjectMilestoneStatus;
/** The project that this milestone belongs to. */
get project(): LinearFetch<Project> | undefined;
/** The ID of project that this milestone belongs to. */
get projectId(): string | undefined;
/** Issues associated with the project milestone. */
issues(variables?: Omit<ProjectMilestone_IssuesQueryVariables, "id">): LinearFetch<IssueConnection>;
/** Creates a new project milestone. */
create(input: ProjectMilestoneCreateInput): LinearFetch<ProjectMilestonePayload>;
/** Deletes a project milestone. */
delete(): LinearFetch<DeletePayload>;
/** Updates a project milestone. */
update(input: ProjectMilestoneUpdateInput): LinearFetch<ProjectMilestonePayload>;
}
/**
* Certain properties of a project milestone.
*
* @param data - L.ProjectMilestoneChildWebhookPayloadFragment response data
*/
declare class ProjectMilestoneChildWebhookPayload {
constructor(data: ProjectMilestoneChildWebhookPayloadFragment);
/** The ID of the project milestone. */
id: string;
/** The name of the project milestone. */
name: string;
/** The target date of the project milestone. */
targetDate: string;
}
/**
* ProjectMilestoneConnection model
*
* @param request - function to call the graphql client
* @param fetch - function to trigger a refetch of this ProjectMilestoneConnection model
* @param data - ProjectMilestoneConnection response data
*/
declare class ProjectMilestoneConnection extends Connection<ProjectMilestone> {
constructor(request: LinearRequest, fetch: (connection?: LinearConnectionVariables) => LinearFetch<LinearConnection<ProjectMilestone> | undefined>, data: ProjectMilestoneConnectionFragment);
}
/**
* ProjectMilestoneMoveIssueToTeam model
*
* @param request - function to call the graphql client
* @param data - L.ProjectMilestoneMoveIssueToTeamFragment response data
*/
declare class ProjectMilestoneMoveIssueToTeam extends Request {
constructor(request: LinearRequest, data: ProjectMilestoneMoveIssueToTeamFragment);
/** The issue id in this relationship, you can use * as wildcard if all issues are being moved to the same team */
issueId: string;
/** The team id in this relationship */
teamId: string;
}
/**
* ProjectMilestoneMoveProjectTeams model
*
* @param request - function to call the graphql client
* @param data - L.ProjectMilestoneMoveProjectTeamsFragment response data
*/
declare class ProjectMilestoneMoveProjectTeams extends Request {
constructor(request: LinearRequest, data: ProjectMilestoneMoveProjectTeamsFragment);
/** The project id */
projectId: string;
/** The team ids for the project */
teamIds: string[];
}
/**
* The result of a project milestone mutation.
*
* @param request - function to call the graphql client
* @param data - L.ProjectMilestonePayloadFragment response data
*/
declare class ProjectMilestonePayload extends Request {
private _projectMilestone;
constructor(request: LinearRequest, data: ProjectMilestonePayloadFragment);
/** The identifier of the last sync operation. */
lastSyncId: number;
/** Whether the operation was successful. */
success: boolean;
/** The project milestone that was created or updated. */
get projectMilestone(): LinearFetch<ProjectMilestone> | undefined;
/** The ID of project milestone that was created or updated. */
get projectMilestoneId(): string | undefined;
}
/**
* A notification related to a project, such as being added as a member or lead, project updates, comments, or mentions on the project or its milestones.
*
* @param request - function to call the graphql client
* @param data - L.ProjectNotificationFragment response data
*/
declare class ProjectNotification extends Request {
private _actor?;
private _comment?;
private _document?;
private _externalUserActor?;
private _parentComment?;
private _project;
private _projectUpdate?;
private _user;
constructor(request: LinearRequest, data: ProjectNotificationFragment);
/** The time at which the entity was archived. Null if the entity has not been archived. */
archivedAt?: Date | null;
/** Related comment ID. Null if the notification is not related to a comment. */
commentId?: string | null;
/** The time at which the entity was created. */
createdAt: Date;
/** The time at which an email reminder for this notification was sent to the user. Null if no email reminder has been sent. */
emailedAt?: Date | null;
/** The unique identifier of the entity. */
id: string;
/** Related parent comment ID. Null if the notification is not related to a comment. */
parentCommentId?: string | null;
/** Related project ID. */
projectId: string;
/** Related project milestone ID. */
projectMilestoneId?: string | null;
/** Related project update ID. */
projectUpdateId?: string | null;
/** Name of the reaction emoji related to the notification. */
reactionEmoji?: string | null;
/** The time at which the user marked the notification as read. Null if the notification is unread. */
readAt?: Date | null;
/** The time until which a notification is snoozed. After this time, the notification reappears in the user's inbox. Null if the notification is not currently snoozed. */
snoozedUntilAt?: Date | null;
/** Notification type. Determines the kind of event that triggered this notification and which associated entity fields will be populated. */
type: string;
/** The time at which a notification was unsnoozed. Null if the notification has not been unsnoozed. */
unsnoozedAt?: Date | null;
/**
* The last time at which the entity was meaningfully updated. This is the same as the creation time if the entity hasn't
* been updated after creation.
*/
updatedAt: Date;
/** The bot that caused the notification. */
botActor?: ActorBot | null;
/** The category of the notification. */
category: NotificationCategory;
/** The user that caused the notification. Null if the notification was triggered by a non-user actor such as an integration, external user, or system event. */
get actor(): LinearFetch<User> | undefined;
/** The ID of user that caused the notification. null if the notification was triggered by a non-user actor such as an integration, external user, or system event. */
get actorId(): string | undefined;
/** The comment related to the notification. */
get comment(): LinearFetch<Comment> | undefined;
/** The document related to the notification. */
get document(): LinearFetch<Document> | undefined;
/** The ID of document related to the notification. */
get documentId(): string | undefined;
/** The external user that caused the notification. Populated when the notification was triggered by an external user (e.g., a commenter from a connected integration like Slack or GitHub) rather than a Linear workspace member. */
get externalUserActor(): LinearFetch<ExternalUser> | undefined;
/** The ID of external user that caused the notification. populated when the notification was triggered by an external user (e.g., a commenter from a connected integration like slack or github) rather than a linear workspace member. */
get externalUserActorId(): string | undefined;
/** The parent comment related to the notification, if a notification is a reply comment notification. */
get parentComment(): LinearFetch<Comment> | undefined;
/** The project related to the notification. */
get project(): LinearFetch<Project> | undefined;
/** The project update related to the notification. */
get projectUpdate(): LinearFetch<ProjectUpdate> | undefined;
/** The recipient user of this notification. */
get user(): LinearFetch<User> | undefined;
/** The ID of recipient user of this notification. */
get userId(): string | undefined;
}
/**
* A notification subscription scoped to a specific project. The subscriber receives notifications for events related to this project, such as updates, comments, and membership changes.
*
* @param request - function to call the graphql client
* @param data - L.ProjectNotificationSubscriptionFragment response data
*/
declare class ProjectNotificationSubscription extends Request {
private _customView?;
private _customer?;
private _cycle?;
private _initiative?;
private _label?;
private _project;
private _subscriber;
private _team?;
private _user?;
constructor(request: LinearRequest, data: ProjectNotificationSubscriptionFragment);
/** Whether the subscription is active. When inactive, no notifications are generated from this subscription even though it still exists. */
active: boolean;
/** The time at which the entity was archived. Null if the entity has not been archived. */
archivedAt?: Date | null;
/** The time at which the entity was created. */
createdAt: Date;
/** The unique identifier of the entity. */
id: string;
/** The notification event types that this subscription will deliver to the subscriber. */
notificationSubscriptionTypes: string[];
/**
* The last time at which the entity was meaningfully updated. This is the same as the creation time if the entity hasn't
* been updated after creation.
*/
updatedAt: Date;
/** The type of contextual view (e.g., active issues, backlog) that further scopes a team notification subscription. Null if the subscription is not associated with a specific view type. */
contextViewType?: ContextViewType | null;
/** The type of user-specific view that further scopes a user notification subscription. Null if the subscription is not associated with a user view type. */
userContextViewType?: UserContextViewType | null;
/** The custom view that this notification subscription is scoped to. Null if the subscription targets a different entity type. */
get customView(): LinearFetch<CustomView> | undefined;
/** The ID of custom view that this notification subscription is scoped to. null if the subscription targets a different entity type. */
get customViewId(): string | undefined;
/** The customer that this notification subscription is scoped to. Null if the subscription targets a different entity type. */
get customer(): LinearFetch<Customer> | undefined;
/** The ID of customer that this notification subscription is scoped to. null if the subscription targets a different entity type. */
get customerId(): string | undefined;
/** The cycle that this notification subscription is scoped to. Null if the subscription targets a different entity type. */
get cycle(): LinearFetch<Cycle> | undefined;
/** The ID of cycle that this notification subscription is scoped to. null if the subscription targets a different entity type. */
get cycleId(): string | undefined;
/** The initiative that this notification subscription is scoped to. Null if the subscription targets a different entity type. */
get initiative(): LinearFetch<Initiative> | undefined;
/** The ID of initiative that this notification subscription is scoped to. null if the subscription targets a different entity type. */
get initiativeId(): string | undefined;
/** The issue label that this notification subscription is scoped to. Null if the subscription targets a different entity type. */
get label(): LinearFetch<IssueLabel> | undefined;
/** The ID of issue label that this notification subscription is scoped to. null if the subscription targets a different entity type. */
get labelId(): string | undefined;
/** The project subscribed to. */
get project(): LinearFetch<Project> | undefined;
/** The ID of project subscribed to. */
get projectId(): string | undefined;
/** The user who will receive notifications from this subscription. */
get subscriber(): LinearFetch<User> | undefined;
/** The ID of user who will receive notifications from this subscription. */
get subscriberId(): string | undefined;
/** The team that this notification subscription is scoped to. Null if the subscription targets a different entity type. */
get team(): LinearFetch<Team> | undefined;
/** The ID of team that this notification subscription is scoped to. null if the subscription targets a different entity type. */
get teamId(): string | undefined;
/** The user that this notification subscription is scoped to, for user-specific view subscriptions. Null if the subscription targets a different entity type. */
get user(): LinearFetch<User> | undefined;
/** The ID of user that this notification subscription is scoped to, for user-specific view subscriptions. null if the subscription targets a different entity type. */
get userId(): string | undefined;
}
/**
* The result of a project mutation.
*
* @param request - function to call the graphql client
* @param data - L.ProjectPayloadFragment response data
*/
declare class ProjectPayload extends Request {
private _project?;
constructor(request: LinearRequest, data: ProjectPayloadFragment);
/** The identifier of the last sync operation. */
lastSyncId: number;
/** Whether the operation was successful. */
success: boolean;
/** The project that was created or updated. */
get project(): LinearFetch<Project> | undefined;
/** The ID of project that was created or updated. */
get projectId(): string | undefined;
}
/**
* A dependency relation between two projects. Relations can optionally be anchored to specific milestones within each project, allowing fine-grained dependency tracking.
*
* @param request - function to call the graphql client
* @param data - L.ProjectRelationFragment response data
*/
declare class ProjectRelation extends Request {
private _project;
private _projectMilestone?;
private _relatedProject;
private _relatedProjectMilestone?;
private _user?;
constructor(request: LinearRequest, data: ProjectRelationFragment);
/** The type of anchor on the source project end of the relation, indicating whether it is anchored to the project itself or a specific milestone. */
anchorType: string;
/** The time at which the entity was archived. Null if the entity has not been archived. */
archivedAt?: Date | null;
/** The time at which the entity was created. */
createdAt: Date;
/** The unique identifier of the entity. */
id: string;
/** The type of anchor on the target project end of the relation, indicating whether it is anchored to the project itself or a specific milestone. */
relatedAnchorType: string;
/** The type of dependency relationship from the project to the related project (e.g., blocks). */
type: string;
/**
* The last time at which the entity was meaningfully updated. This is the same as the creation time if the entity hasn't
* been updated after creation.
*/
updatedAt: Date;
/** The source project in the dependency relation. */
get project(): LinearFetch<Project> | undefined;
/** The ID of source project in the dependency relation. */
get projectId(): string | undefined;
/** The specific milestone within the source project that the relation is anchored to. Null if the relation applies to the project as a whole. */
get projectMilestone(): LinearFetch<ProjectMilestone> | undefined;
/** The ID of specific milestone within the source project that the relation is anchored to. null if the relation applies to the project as a whole. */
get projectMilestoneId(): string | undefined;
/** The target project in the dependency relation. */
get relatedProject(): LinearFetch<Project> | undefined;
/** The ID of target project in the dependency relation. */
get relatedProjectId(): string | undefined;
/** The specific milestone within the target project that the relation is anchored to. Null if the relation applies to the target project as a whole. */
get relatedProjectMilestone(): LinearFetch<ProjectMilestone> | undefined;
/** The ID of specific milestone within the target project that the relation is anchored to. null if the relation applies to the target project as a whole. */
get relatedProjectMilestoneId(): string | undefined;
/** The user who last created or modified the relation. Null if the user has been deleted. */
get user(): LinearFetch<User> | undefined;
/** The ID of user who last created or modified the relation. null if the user has been deleted. */
get userId(): string | undefined;
/** Creates a new project relation. */
create(input: ProjectRelationCreateInput): LinearFetch<ProjectRelationPayload>;
/** Deletes a project relation. */
delete(): LinearFetch<DeletePayload>;
/** Updates a project relation. */
update(input: ProjectRelationUpdateInput): LinearFetch<ProjectRelationPayload>;
}
/**
* ProjectRelationConnection model
*
* @param request - function to call the graphql client
* @param fetch - function to trigger a refetch of this ProjectRelationConnection model
* @param data - ProjectRelationConnection response data
*/
declare class ProjectRelationConnection extends Connection<ProjectRelation> {
constructor(request: LinearRequest, fetch: (connection?: LinearConnectionVariables) => LinearFetch<LinearConnection<ProjectRelation> | undefined>, data: ProjectRelationConnectionFragment);
}
/**
* The result of a project relation mutation.
*
* @param request - function to call the graphql client
* @param data - L.ProjectRelationPayloadFragment response data
*/
declare class ProjectRelationPayload extends Request {
private _projectRelation;
constructor(request: LinearRequest, data: ProjectRelationPayloadFragment);
/** The identifier of the last sync operation. */
lastSyncId: number;
/** Whether the operation was successful. */
success: boolean;
/** The project relation that was created or updated. */
get projectRelation(): LinearFetch<ProjectRelation> | undefined;
/** The ID of project relation that was created or updated. */
get projectRelationId(): string | undefined;
}
/**
* ProjectSearchPayload model
*
* @param request - function to call the graphql client
* @param data - L.ProjectSearchPayloadFragment response data
*/
declare class ProjectSearchPayload extends Request {
constructor(request: LinearRequest, data: ProjectSearchPayloadFragment);
/** Total number of matching results before pagination is applied. */
totalCount: number;
nodes: ProjectSearchResult[];
/** Archived entities matching the search term along with all their dependencies, serialized for the client sync engine. */
archivePayload: ArchiveResponse;
pageInfo: PageInfo;
}
/**
* ProjectSearchResult model
*
* @param request - function to call the graphql client
* @param data - L.ProjectSearchResultFragment response data
*/
declare class ProjectSearchResult extends Request {
private _convertedFromIssue?;
private _creator?;
private _favorite?;
private _integrationsSettings?;
private _lastAppliedTemplate?;
private _lastUpdate?;
private _lead?;
private _status;
constructor(request: LinearRequest, data: ProjectSearchResultFragment);
/** The time at which the entity was archived. Null if the entity has not been archived. */
archivedAt?: Date | null;
/** The time at which the project was automatically archived by the auto-pruning process. Null if the project has not been auto-archived. */
autoArchivedAt?: Date | null;
/** The time at which the project was moved into a canceled status. Null if the project has not been canceled. */
canceledAt?: Date | null;
/** The project's color as a HEX string. Used in the UI to visually identify the project. */
color: string;
/** The time at which the project was moved into a completed status. Null if the project has not been completed. */
completedAt?: Date | null;
/** The number of completed issues in the project at the end of each week since project creation. Each entry represents one week. */
completedIssueCountHistory: number[];
/** The number of completed estimation points at the end of each week since project creation. Each entry represents one week. */
completedScopeHistory: number[];
/** The project's content in markdown format. */
content?: string | null;
/** The time at which the entity was created. */
createdAt: Date;
/** The short description of the project. */
description: string;
/** The time at which the project health was last updated, typically when a new project update is posted. Null if health has never been set. */
healthUpdatedAt?: Date | null;
/** The icon of the project. Can be an emoji or a decorative icon type. */
icon?: string | null;
/** The unique identifier of the entity. */
id: string;
/** The number of in-progress estimation points at the end of each week since project creation. Each entry represents one week. */
inProgressScopeHistory: number[];
/** The total number of issues in the project at the end of each week since project creation. Each entry represents one week. */
issueCountHistory: number[];
/** The IDs of the project labels associated with this project. */
labelIds: string[];
/** Metadata related to search result. */
metadata: Scalars["JSONObject"];
/** The ID of the Microsoft Teams channel connected to the project, if any. */
microsoftTeamsChannelId?: string | null;
/** The name of the project. */
name: string;
/** The priority of the project. 0 = No priority, 1 = Urgent, 2 = High, 3 = Medium, 4 = Low. */
priority: number;
/** The priority of the project as a label. */
priorityLabel: string;
/** The sort order for the project within the workspace when ordered by priority. */
prioritySortOrder: number;
/** The overall progress of the project. This is the (completed estimate points + 0.25 * in progress estimate points) / total estimate points. */
progress: number;
/** The time until which project update reminders are paused. When set, no update reminders will be sent for this project until this date passes. Null means reminders are active. */
projectUpdateRemindersPausedUntilAt?: Date | null;
/** The number of resources associated with the project, including documents, external links, and attachments. */
resourceCount: number;
/** The overall scope (total estimate points) of the project. */
scope: number;
/** The total scope (estimation points) of the project at the end of each week since project creation. Each entry represents one week. */
scopeHistory: number[];
/** The ID of the Slack channel connected to the project, if any. */
slackChannelId?: string | null;
/** Whether to send new issue comment notifications to Slack. */
slackIssueComments: boolean;
/** Whether to send new issue status updates to Slack. */
slackIssueStatuses: boolean;
/** Whether to send new issue notifications to Slack. */
slackNewIssue: boolean;
/** The project's unique URL slug, used to construct human-readable URLs. */
slugId: string;
/** The sort order for the project within the workspace. Used for manual ordering in list views. */
sortOrder: number;
/** The estimated start date of the project. Null if no start date is set. */
startDate?: Scalars["TimelessDate"] | null;
/** The time at which the project was moved into a started status. Null if the project has not been started. */
startedAt?: Date | null;
/** [DEPRECATED] The type of the state. */
state: string;
/** The estimated completion date of the project. Null if no target date is set. */
targetDate?: Scalars["TimelessDate"] | null;
/** A flag that indicates whether the project is in the trash bin. */
trashed?: boolean | null;
/** The frequency at which to prompt for updates. When not set, reminders are inherited from workspace. */
updateReminderFrequency?: number | null;
/** The n-weekly frequency at which to prompt for updates. When not set, reminders are inherited from workspace. */
updateReminderFrequencyInWeeks?: number | null;
/** The hour at which to prompt for updates. */
updateRemindersHour?: number | null;
/**
* The last time at which the entity was meaningfully updated. This is the same as the creation time if the entity hasn't
* been updated after creation.
*/
updatedAt: Date;
/** Project URL. */
url: string;
/** The external services the project is synced with. */
syncedWith?: ExternalEntityInfo[] | null;
/** The content of the project description. */
documentContent?: DocumentContent | null;
/** The resolution of the reminder frequency. */
frequencyResolution: FrequencyResolutionType;
/** The overall health of the project, derived from the most recent project update. Possible values are onTrack, atRisk, or offTrack. Null if no health has been reported. */
health?: ProjectUpdateHealthType | null;
/** The resolution of the project's start date, indicating whether it refers to a specific month, quarter, half-year, or year. */
startDateResolution?: DateResolutionType | null;
/** The resolution of the project's estimated completion date, indicating whether it refers to a specific month, quarter, half-year, or year. */
targetDateResolution?: DateResolutionType | null;
/** The day at which to prompt for updates. */
updateRemindersDay?: Day | null;
/** The issue that was converted into this project. Null if the project was not created from an issue. */
get convertedFromIssue(): LinearFetch<Issue> | undefined;
/** The ID of issue that was converted into this project. null if the project was not created from an issue. */
get convertedFromIssueId(): string | undefined;
/** The user who created the project. */
get creator(): LinearFetch<User> | undefined;
/** The ID of user who created the project. */
get creatorId(): string | undefined;
/** The user's favorite associated with this project. */
get favorite(): LinearFetch<Favorite> | undefined;
/** The ID of user's favorite associated with this project. */
get favoriteId(): string | undefined;
/** Settings for all integrations associated with that project. */
get integrationsSettings(): LinearFetch<IntegrationsSettings> | undefined;
/** The ID of settings for all integrations associated with that project. */
get integrationsSettingsId(): string | undefined;
/** The last template that was applied to this project. */
get lastAppliedTemplate(): LinearFetch<Template> | undefined;
/** The ID of last template that was applied to this project. */
get lastAppliedTemplateId(): string | undefined;
/** The most recent status update posted for this project. Null if no updates have been posted. */
get lastUpdate(): LinearFetch<ProjectUpdate> | undefined;
/** The ID of most recent status update posted for this project. null if no updates have been posted. */
get lastUpdateId(): string | undefined;
/** The user who leads the project. The project lead is typically responsible for posting status updates and driving the project to completion. Null if no lead is assigned. */
get lead(): LinearFetch<User> | undefined;
/** The ID of user who leads the project. the project lead is typically responsible for posting status updates and driving the project to completion. null if no lead is assigned. */
get leadId(): string | undefined;
/** The current project status. Defines the project's position in its lifecycle (e.g., backlog, planned, started, paused, completed, canceled). */
get status(): LinearFetch<ProjectStatus> | undefined;
/** The ID of current project status. defines the project's position in its lifecycle (e.g., backlog, planned, started, paused, completed, canceled). */
get statusId(): string | undefined;
}
/**
* A custom project status within a workspace. Statuses are grouped by type (backlog, planned, started, paused, completed, canceled) and define the lifecycle stages a project can move through. Each workspace can customize the names and colors of its project statuses.
*
* @param request - function to call the graphql client
* @param data - L.ProjectStatusFragment response data
*/
declare class ProjectStatus extends Request {
constructor(request: LinearRequest, data: ProjectStatusFragment);
/** The time at which the entity was archived. Null if the entity has not been archived. */
archivedAt?: Date | null;
/** The color of the status as a HEX string, used for display in the UI. */
color: string;
/** The time at which the entity was created. */
createdAt: Date;
/** Description of the status. */
description?: string | null;
/** The unique identifier of the entity. */
id: string;
/** Whether a project can remain in this status indefinitely. When false, projects in this status may trigger reminders or auto-archiving after a period of inactivity. */
indefinite: boolean;
/** The name of the status. */
name: string;
/** The position of the status within its type group in the workspace's project flow. Used for ordering statuses of the same type. */
position: number;
/**
* The last time at which the entity was meaningfully updated. This is the same as the creation time if the entity hasn't
* been updated after creation.
*/
updatedAt: Date;
/** The category type of the project status (e.g., backlog, planned, started, paused, completed, canceled). Determines the status's behavior and position in the project lifecycle. */
type: ProjectStatusType;
/** Archives a project status. The status must not have any active projects assigned to it and must not be the last status of its type. */
archive(): LinearFetch<ProjectStatusArchivePayload>;
/** Creates a new project status. */
create(input: ProjectStatusCreateInput): LinearFetch<ProjectStatusPayload>;
/** Unarchives a project status. */
unarchive(): LinearFetch<ProjectStatusArchivePayload>;
/** Updates a project status. */
update(input: ProjectStatusUpdateInput): LinearFetch<ProjectStatusPayload>;
}
/**
* A generic payload return from entity archive mutations.
*
* @param request - function to call the graphql client
* @param data - L.ProjectStatusArchivePayloadFragment response data
*/
declare class ProjectStatusArchivePayload extends Request {
private _entity?;
constructor(request: LinearRequest, data: ProjectStatusArchivePayloadFragment);
/** The identifier of the last sync operation. */
lastSyncId: number;
/** Whether the operation was successful. */
success: boolean;
/** The archived/unarchived entity. Null if entity was deleted. */
get entity(): LinearFetch<ProjectStatus> | undefined;
/** The ID of archived/unarchived entity. null if entity was deleted. */
get entityId(): string | undefined;
}
/**
* Certain properties of a project status.
*
* @param data - L.ProjectStatusChildWebhookPayloadFragment response data
*/
declare class ProjectStatusChildWebhookPayload {
constructor(data: ProjectStatusChildWebhookPayloadFragment);
/** The color of the project status. */
color: string;
/** The ID of the project status. */
id: string;
/** The name of the project status. */
name: string;
/** The type of the project status. */
type: string;
}
/**
* ProjectStatusConnection model
*
* @param request - function to call the graphql client
* @param fetch - function to trigger a refetch of this ProjectStatusConnection model
* @param data - ProjectStatusConnection response data
*/
declare class ProjectStatusConnection extends Connection<ProjectStatus> {
constructor(request: LinearRequest, fetch: (connection?: LinearConnectionVariables) => LinearFetch<LinearConnection<ProjectStatus> | undefined>, data: ProjectStatusConnectionFragment);
}
/**
* The count of projects using a specific project status.
*
* @param request - function to call the graphql client
* @param data - L.ProjectStatusCountPayloadFragment response data
*/
declare class ProjectStatusCountPayload extends Request {
constructor(request: LinearRequest, data: ProjectStatusCountPayloadFragment);
/** Total number of projects using this project status that are not visible to the user because they are in an archived team. */
archivedTeamCount: number;
/** Total number of projects using this project status. */
count: number;
/** Total number of projects using this project status that are not visible to the user because they are in a private team. */
privateCount: number;
}
/**
* The result of a project status mutation.
*
* @param request - function to call the graphql client
* @param data - L.ProjectStatusPayloadFragment response data
*/
declare class ProjectStatusPayload extends Request {
private _status;
constructor(request: LinearRequest, data: ProjectStatusPayloadFragment);
/** The identifier of the last sync operation. */
lastSyncId: number;
/** Whether the operation was successful. */
success: boolean;
/** The project status that was created or updated. */
get status(): LinearFetch<ProjectStatus> | undefined;
/** The ID of project status that was created or updated. */
get statusId(): string | undefined;
}
/**
* A status update posted to a project. Project updates communicate progress, health, and blockers to stakeholders. Each update captures the project's health at the time of writing and includes a rich-text body with the update content.
*
* @param request - function to call the graphql client
* @param data - L.ProjectUpdateFragment response data
*/
declare class ProjectUpdate extends Request {
private _project;
private _user;
constructor(request: LinearRequest, data: ProjectUpdateFragment);
/** The time at which the entity was archived. Null if the entity has not been archived. */
archivedAt?: Date | null;
/** The update content in markdown format. */
body: string;
/** Number of comments associated with the project update. */
commentCount: number;
/** The time at which the entity was created. */
createdAt: Date;
/** The diff between the current update and the previous one. */
diff?: Scalars["JSONObject"] | null;
/** The diff between the current update and the previous one, formatted as markdown. */
diffMarkdown?: string | null;
/** The time the update was edited. */
editedAt?: Date | null;
/** The unique identifier of the entity. */
id: string;
/** Whether the diff between this update and the previous one should be hidden in the UI. */
isDiffHidden: boolean;
/** Whether the project update is stale. */
isStale: boolean;
/** Emoji reaction summary, grouped by emoji type. */
reactionData: Scalars["JSONObject"];
/** The update's unique URL slug. */
slugId: string;
/**
* The last time at which the entity was meaningfully updated. This is the same as the creation time if the entity hasn't
* been updated after creation.
*/
updatedAt: Date;
/** The URL to the project update. */
url: string;
/** Reactions associated with the project update. */
reactions: Reaction[];
/** The health of the project at the time this update was posted. Possible values are onTrack, atRisk, or offTrack. */
health: ProjectUpdateHealthType;
/** The project that this status update was posted to. */
get project(): LinearFetch<Project> | undefined;
/** The ID of project that this status update was posted to. */
get projectId(): string | undefined;
/** The user who wrote the update. */
get user(): LinearFetch<User> | undefined;
/** The ID of user who wrote the update. */
get userId(): string | undefined;
/** Comments associated with the project update. */
comments(variables?: Omit<ProjectUpdate_CommentsQueryVariables, "id">): LinearFetch<CommentConnection>;
/** Archives a project update. */
archive(): LinearFetch<ProjectUpdateArchivePayload>;
/** Creates a new project update. */
create(input: ProjectUpdateCreateInput): LinearFetch<ProjectUpdatePayload>;
/** Deletes a project update. */
delete(): LinearFetch<DeletePayload>;
/** Unarchives a project update. */
unarchive(): LinearFetch<ProjectUpdateArchivePayload>;
/** Updates a project update. */
update(input: ProjectUpdateUpdateInput): LinearFetch<ProjectUpdatePayload>;
}
/**
* A generic payload return from entity archive mutations.
*
* @param request - function to call the graphql client
* @param data - L.ProjectUpdateArchivePayloadFragment response data
*/
declare class ProjectUpdateArchivePayload extends Request {
private _entity?;
constructor(request: LinearRequest, data: ProjectUpdateArchivePayloadFragment);
/** The identifier of the last sync operation. */
lastSyncId: number;
/** Whether the operation was successful. */
success: boolean;
/** The archived/unarchived entity. Null if entity was deleted. */
get entity(): LinearFetch<ProjectUpdate> | undefined;
/** The ID of archived/unarchived entity. null if entity was deleted. */
get entityId(): string | undefined;
}
/**
* Certain properties of a project update.
*
* @param data - L.ProjectUpdateChildWebhookPayloadFragment response data
*/
declare class ProjectUpdateChildWebhookPayload {
constructor(data: ProjectUpdateChildWebhookPayloadFragment);
/** The body of the project update. */
body: string;
/** The ID of the project update. */
id: string;
/** The ID of the user who wrote the project update. */
userId: string;
/** The project that the project update belongs to. */
project: ProjectChildWebhookPayload;
}
/**
* ProjectUpdateConnection model
*
* @param request - function to call the graphql client
* @param fetch - function to trigger a refetch of this ProjectUpdateConnection model
* @param data - ProjectUpdateConnection response data
*/
declare class ProjectUpdateConnection extends Connection<ProjectUpdate> {
constructor(request: LinearRequest, fetch: (connection?: LinearConnectionVariables) => LinearFetch<LinearConnection<ProjectUpdate> | undefined>, data: ProjectUpdateConnectionFragment);
}
/**
* The result of a project update mutation.
*
* @param request - function to call the graphql client
* @param data - L.ProjectUpdatePayloadFragment response data
*/
declare class ProjectUpdatePayload extends Request {
private _projectUpdate;
constructor(request: LinearRequest, data: ProjectUpdatePayloadFragment);
/** The identifier of the last sync operation. */
lastSyncId: number;
/** Whether the operation was successful. */
success: boolean;
/** The project update that was created or updated. */
get projectUpdate(): LinearFetch<ProjectUpdate> | undefined;
/** The ID of project update that was created or updated. */
get projectUpdateId(): string | undefined;
}
/**
* The result of a project update reminder mutation.
*
* @param request - function to call the graphql client
* @param data - L.ProjectUpdateReminderPayloadFragment response data
*/
declare class ProjectUpdateReminderPayload extends Request {
constructor(request: LinearRequest, data: ProjectUpdateReminderPayloadFragment);
/** The identifier of the last sync operation. */
lastSyncId: number;
/** Whether the operation was successful. */
success: boolean;
}
/**
* Payload for a project update webhook.
*
* @param data - L.ProjectUpdateWebhookPayloadFragment response data
*/
declare class ProjectUpdateWebhookPayload {
constructor(data: ProjectUpdateWebhookPayloadFragment);
/** The time at which the entity was archived. */
archivedAt?: string | null;
/** The body of the project update. */
body: string;
/** The body data of the project update. */
bodyData: string;
/** The time at which the entity was created. */
createdAt: string;
/** The diff between the current update and the previous one, formatted as markdown. */
diffMarkdown?: string | null;
/** The edited at timestamp of the project update. */
editedAt: string;
/** The health of the project update. */
health: string;
/** The ID of the entity. */
id: string;
/** The project id of the project update. */
projectId: string;
/** The reaction data for this project update. */
reactionData: Scalars["JSONObject"];
/** The slug id of the project update. */
slugId: string;
/** The time at which the entity was updated. */
updatedAt: string;
/** The URL of the project update. */
url?: string | null;
/** The user id of the project update. */
userId: string;
/** The project that the project update belongs to. */
project: ProjectChildWebhookPayload;
/** The user who wrote the project update. */
user: UserChildWebhookPayload;
}
/**
* Payload for a project webhook.
*
* @param data - L.ProjectWebhookPayloadFragment response data
*/
declare class ProjectWebhookPayload {
constructor(data: ProjectWebhookPayloadFragment);
/** The time at which the entity was archived. */
archivedAt?: string | null;
/** The auto archived at timestamp of the project. */
autoArchivedAt?: string | null;
/** The canceled at timestamp of the project. */
canceledAt?: string | null;
/** The project's color. */
color: string;
/** The completed at timestamp of the project. */
completedAt?: string | null;
/** The number of completed issues in the project after each week. */
completedIssueCountHistory: number[];
/** The number of completed estimation points after each week. */
completedScopeHistory: number[];
/** The content of the project. */
content?: string | null;
/** The ID of the issue that was converted to the project. */
convertedFromIssueId?: string | null;
/** The time at which the entity was created. */
createdAt: string;
/** The ID of the user who created the project. */
creatorId?: string | null;
/** The project's description. */
description: string;
/** The document content ID of the project. */
documentContentId?: string | null;
/** The health of the project. */
health?: string | null;
/** The time at which the project health was updated. */
healthUpdatedAt?: string | null;
/** The icon of the project. */
icon?: string | null;
/** The ID of the entity. */
id: string;
/** The human-readable identifier of the project. */
identifier?: string | null;
/** The number of in progress estimation points after each week. */
inProgressScopeHistory: number[];
/** The total number of issues in the project after each week. */
issueCountHistory: number[];
/** IDs of the labels associated with this project. */
labelIds: string[];
/** The ID of the last template that was applied to the project. */
lastAppliedTemplateId?: string | null;
/** The ID of the last update posted for this project. */
lastUpdateId?: string | null;
/** The ID of the project lead. */
leadId?: string | null;
/** IDs of the members of the project. */
memberIds: string[];
/** The project's name. */
name: string;
/** Previous identifiers of the project. */
previousIdentifiers?: string[] | null;
/** The priority of the project. 0 = No priority, 1 = Urgent, 2 = High, 3 = Medium, 4 = Low. */
priority: number;
/** The sort order for the project within the organization, when ordered by priority. */
prioritySortOrder: number;
/** The time at which the project update reminders were paused until. */
projectUpdateRemindersPausedUntilAt?: string | null;
/** The total number of estimation points after each week. */
scopeHistory: number[];
/** The project's unique URL slug. */
slugId: string;
/** The sort order for the project within the organization. */
sortOrder: number;
/** The estimated start date of the project. */
startDate?: string | null;
/** The resolution of the project's estimated start date. */
startDateResolution?: string | null;
/** The time at which the project was moved into started state. */
startedAt?: string | null;
/** The ID of the project status. */
statusId: string;
/** The external services the project is synced with. */
syncedWith?: Scalars["JSONObject"] | null;
/** The target date of the project. */
targetDate?: string | null;
/** The resolution of the project's target date. */
targetDateResolution?: string | null;
/** IDs of the teams associated with this project. */
teamIds: string[];
/** The trashed status of the project. */
trashed?: boolean | null;
/** The time at which the entity was updated. */
updatedAt: string;
/** The URL of the project. */
url: string;
/** The initiatives associated with the project. */
initiatives?: InitiativeChildWebhookPayload[] | null;
/** The milestones associated with the project. */
milestones?: ProjectMilestoneChildWebhookPayload[] | null;
/** The project lead. */
lead?: UserChildWebhookPayload | null;
/** The project status. */
status?: ProjectStatusChildWebhookPayload | null;
}
/**
* Signature verification metadata for a Git commit associated with a pull request.
*
* @param request - function to call the graphql client
* @param data - L.PullRequestCommitSignatureFragment response data
*/
declare class PullRequestCommitSignature extends Request {
constructor(request: LinearRequest, data: PullRequestCommitSignatureFragment);
/** Whether the hosting provider considers the signature valid and verified. */
isVerified: boolean;
/** The hex-encoded fingerprint of the SSH key that signed this commit. Null for non-SSH signatures. */
keyFingerprint?: string | null;
/** The hex-encoded ID of the GPG key that signed this commit. Null for non-GPG signatures. */
keyId?: string | null;
/** The provider-specific verification state for the signature. */
state: string;
/** The type of signature reported for this commit. */
type: string;
/** Whether the commit was signed with the hosting provider's signing key. */
wasSignedByProvider?: boolean | null;
}
/**
* A notification related to a pull request, such as review requests, approvals, comments, check failures, or merge queue events.
*
* @param request - function to call the graphql client
* @param data - L.PullRequestNotificationFragment response data
*/
declare class PullRequestNotification extends Request {
private _actor?;
private _externalUserActor?;
private _user;
constructor(request: LinearRequest, data: PullRequestNotificationFragment);
/** The time at which the entity was archived. Null if the entity has not been archived. */
archivedAt?: Date | null;
/** The time at which the entity was created. */
createdAt: Date;
/** The time at which an email reminder for this notification was sent to the user. Null if no email reminder has been sent. */
emailedAt?: Date | null;
/** The unique identifier of the entity. */
id: string;
/** Related pull request comment ID. Null if the notification is not related to a pull request comment. */
pullRequestCommentId?: string | null;
/** Related pull request. */
pullRequestId: string;
/** The time at which the user marked the notification as read. Null if the notification is unread. */
readAt?: Date | null;
/** The time until which a notification is snoozed. After this time, the notification reappears in the user's inbox. Null if the notification is not currently snoozed. */
snoozedUntilAt?: Date | null;
/** Notification type. Determines the kind of event that triggered this notification and which associated entity fields will be populated. */
type: string;
/** The time at which a notification was unsnoozed. Null if the notification has not been unsnoozed. */
unsnoozedAt?: Date | null;
/**
* The last time at which the entity was meaningfully updated. This is the same as the creation time if the entity hasn't
* been updated after creation.
*/
updatedAt: Date;
/** The bot that caused the notification. */
botActor?: ActorBot | null;
/** The category of the notification. */
category: NotificationCategory;
/** The user that caused the notification. Null if the notification was triggered by a non-user actor such as an integration, external user, or system event. */
get actor(): LinearFetch<User> | undefined;
/** The ID of user that caused the notification. null if the notification was triggered by a non-user actor such as an integration, external user, or system event. */
get actorId(): string | undefined;
/** The external user that caused the notification. Populated when the notification was triggered by an external user (e.g., a commenter from a connected integration like Slack or GitHub) rather than a Linear workspace member. */
get externalUserActor(): LinearFetch<ExternalUser> | undefined;
/** The ID of external user that caused the notification. populated when the notification was triggered by an external user (e.g., a commenter from a connected integration like slack or github) rather than a linear workspace member. */
get externalUserActorId(): string | undefined;
/** The recipient user of this notification. */
get user(): LinearFetch<User> | undefined;
/** The ID of recipient user of this notification. */
get userId(): string | undefined;
}
/**
* A device registration for receiving push notifications. Each PushSubscription represents a specific browser or mobile device endpoint where a user has opted in to receive real-time push notifications. A user may have multiple push subscriptions across different devices and browsers.
*
* @param request - function to call the graphql client
* @param data - L.PushSubscriptionFragment response data
*/
declare class PushSubscription extends Request {
constructor(request: LinearRequest, data: PushSubscriptionFragment);
/** The time at which the entity was archived. Null if the entity has not been archived. */
archivedAt?: Date | null;
/** The time at which the entity was created. */
createdAt: Date;
/** The unique identifier of the entity. */
id: string;
/**
* The last time at which the entity was meaningfully updated. This is the same as the creation time if the entity hasn't
* been updated after creation.
*/
updatedAt: Date;
/** Creates a push subscription for the authenticated user's current device or browser. If a subscription already exists for the same session, the old one is replaced. */
create(input: PushSubscriptionCreateInput): LinearFetch<PushSubscriptionPayload>;
/** Deletes a push subscription, unregistering the device from receiving push notifications. */
delete(): LinearFetch<PushSubscriptionPayload>;
}
/**
* Return type for push subscription mutations.
*
* @param request - function to call the graphql client
* @param data - L.PushSubscriptionPayloadFragment response data
*/
declare class PushSubscriptionPayload extends Request {
constructor(request: LinearRequest, data: PushSubscriptionPayloadFragment);
/** The identifier of the last sync operation. */
lastSyncId: number;
/** Whether the operation was successful. */
success: boolean;
/** The push subscription that was created or deleted. */
entity: PushSubscription;
}
/**
* Return type for the push subscription test query.
*
* @param request - function to call the graphql client
* @param data - L.PushSubscriptionTestPayloadFragment response data
*/
declare class PushSubscriptionTestPayload extends Request {
constructor(request: LinearRequest, data: PushSubscriptionTestPayloadFragment);
/** Whether the operation was successful. */
success: boolean;
}
/**
* The current rate limit status for the authenticated entity.
*
* @param request - function to call the graphql client
* @param data - L.RateLimitPayloadFragment response data
*/
declare class RateLimitPayload extends Request {
constructor(request: LinearRequest, data: RateLimitPayloadFragment);
/** The identifier being rate limited, typically the API key or user ID. */
identifier?: string | null;
/** The category of rate limit applied to this request, such as API complexity or request count. */
kind: string;
/** The current state of each rate limit type, including remaining quota and reset timing. */
limits: RateLimitResultPayload[];
}
/**
* The state of a specific rate limit type, including remaining quota and reset timing.
*
* @param request - function to call the graphql client
* @param data - L.RateLimitResultPayloadFragment response data
*/
declare class RateLimitResultPayload extends Request {
constructor(request: LinearRequest, data: RateLimitResultPayloadFragment);
/** The total allowed quantity for this type of limit. */
allowedAmount: number;
/** The duration in milliseconds of the rate limit window. After this period elapses, the limit is fully replenished. */
period: number;
/** The remaining quantity for this type of limit after this request. */
remainingAmount: number;
/** The requested quantity for this type of limit. */
requestedAmount: number;
/** The UNIX timestamp (in milliseconds) at which the rate limit will be fully replenished. */
reset: number;
/** The specific type of rate limit being tracked, such as query complexity or mutation count. */
type: string;
}
/**
* An emoji reaction on a comment, issue, project update, initiative update, post, pull request, or pull request comment. Each reaction is associated with exactly one parent entity and is created by either a workspace user or an external user. Reactions are persisted individually but surfaced on their parent entities as aggregated reactionData.
*
* @param request - function to call the graphql client
* @param data - L.ReactionFragment response data
*/
declare class Reaction extends Request {
private _comment?;
private _externalUser?;
private _initiativeUpdate?;
private _issue?;
private _projectUpdate?;
private _user?;
constructor(request: LinearRequest, data: ReactionFragment);
/** The time at which the entity was archived. Null if the entity has not been archived. */
archivedAt?: Date | null;
/** The time at which the entity was created. */
createdAt: Date;
/** The name of the emoji used for this reaction. For custom workspace emojis, this is the custom emoji name; for standard emojis, this is the normalized emoji name. */
emoji: string;
/** The unique identifier of the entity. */
id: string;
/**
* The last time at which the entity was meaningfully updated. This is the same as the creation time if the entity hasn't
* been updated after creation.
*/
updatedAt: Date;
/** The comment that the reaction is associated with. Null if the reaction belongs to a different parent entity type. */
get comment(): LinearFetch<Comment> | undefined;
/** The ID of comment that the reaction is associated with. null if the reaction belongs to a different parent entity type. */
get commentId(): string | undefined;
/** The external user that created the reaction through an integration. Null if the reaction was created by a workspace user. */
get externalUser(): LinearFetch<ExternalUser> | undefined;
/** The ID of external user that created the reaction through an integration. null if the reaction was created by a workspace user. */
get externalUserId(): string | undefined;
/** The initiative update that the reaction is associated with. Null if the reaction belongs to a different parent entity type. */
get initiativeUpdate(): LinearFetch<InitiativeUpdate> | undefined;
/** The ID of initiative update that the reaction is associated with. null if the reaction belongs to a different parent entity type. */
get initiativeUpdateId(): string | undefined;
/** The issue that the reaction is associated with. Null if the reaction belongs to a different parent entity type. */
get issue(): LinearFetch<Issue> | undefined;
/** The ID of issue that the reaction is associated with. null if the reaction belongs to a different parent entity type. */
get issueId(): string | undefined;
/** The project update that the reaction is associated with. Null if the reaction belongs to a different parent entity type. */
get projectUpdate(): LinearFetch<ProjectUpdate> | undefined;
/** The ID of project update that the reaction is associated with. null if the reaction belongs to a different parent entity type. */
get projectUpdateId(): string | undefined;
/** The workspace user that created the reaction. Null if the reaction was created by an external user through an integration. */
get user(): LinearFetch<User> | undefined;
/** The ID of workspace user that created the reaction. null if the reaction was created by an external user through an integration. */
get userId(): string | undefined;
/** Creates a new reaction. */
create(input: ReactionCreateInput): LinearFetch<ReactionPayload>;
/** Deletes a reaction. */
delete(): LinearFetch<DeletePayload>;
}
/**
* The result of a reaction mutation.
*
* @param request - function to call the graphql client
* @param data - L.ReactionPayloadFragment response data
*/
declare class ReactionPayload extends Request {
constructor(request: LinearRequest, data: ReactionPayloadFragment);
/** The identifier of the last sync operation. */
lastSyncId: number;
/** Whether the operation was successful. */
success: boolean;
/** The reaction that was created. */
reaction: Reaction;
}
/**
* Payload for a reaction webhook.
*
* @param data - L.ReactionWebhookPayloadFragment response data
*/
declare class ReactionWebhookPayload {
constructor(data: ReactionWebhookPayloadFragment);
/** The time at which the entity was archived. */
archivedAt?: string | null;
/** The ID of the comment that the reaction is associated with. */
commentId?: string | null;
/** The time at which the entity was created. */
createdAt: string;
/** Name of the reaction's emoji. */
emoji: string;
/** The ID of the external user that created the reaction. */
externalUserId?: string | null;
/** The ID of the entity. */
id: string;
/** The ID of the initiative update that the reaction is associated with. */
initiativeUpdateId?: string | null;
/** The ID of the issue that the reaction is associated with. */
issueId?: string | null;
/** The ID of the post that the reaction is associated with. */
postId?: string | null;
/** The ID of the project update that the reaction is associated with. */
projectUpdateId?: string | null;
/** The time at which the entity was updated. */
updatedAt: string;
/** The ID of the user that created the reaction. */
userId?: string | null;
/** The comment the reaction is associated with. */
comment?: CommentChildWebhookPayload | null;
/** The issue the reaction is associated with. */
issue?: IssueChildWebhookPayload | null;
/** The project update the reaction is associated with. */
projectUpdate?: ProjectUpdateChildWebhookPayload | null;
/** The user that created the reaction. */
user?: UserChildWebhookPayload | null;
}
/**
* A release that bundles issues together for a software deployment or version. Releases belong to a release pipeline and progress through stages (e.g., planned, started, completed, canceled). Issues are associated with releases via the IssueToRelease join entity, and the release tracks lifecycle timestamps such as when it was started, completed, or canceled.
*
* @param request - function to call the graphql client
* @param data - L.ReleaseFragment response data
*/
declare class Release extends Request {
private _creator?;
private _pipeline;
private _stage;
constructor(request: LinearRequest, data: ReleaseFragment);
/** The time at which the entity was archived. Null if the entity has not been archived. */
archivedAt?: Date | null;
/** The time at which the release was automatically archived by the auto pruning process. */
autoArchivedAt?: Date | null;
/** The time at which the release was canceled. Set automatically when the release moves to a canceled stage. Reset to null if the release moves back to a non-canceled stage. */
canceledAt?: Date | null;
/** The Git commit SHA associated with this release. Used for SHA-based idempotency when completing releases and for linking releases to specific points in the repository history. Null if the release was created without a commit reference. */
commitSha?: string | null;
/** The time at which the release was completed. Set automatically when the release moves to a completed stage. Reset to null if the release moves back to a non-completed stage. */
completedAt?: Date | null;
/** The time at which the entity was created. */
createdAt: Date;
/** The current progress summary for the release, including counts of issues by workflow state type (e.g., completed, in progress, unstarted). */
currentProgress: Scalars["JSONObject"];
/** The description of the release in plain text or markdown. Null if no description has been set. */
description?: string | null;
/** The unique identifier of the entity. */
id: string;
/** Number of issues associated with the release. */
issueCount: number;
/** The name of the release. */
name: string;
/** The historical progress snapshots for the release, tracking how issue completion has evolved over time. */
progressHistory: Scalars["JSONObject"];
/** The release's unique URL slug, used to construct human-readable URLs for the release. */
slugId: string;
/** The estimated start date of the release. This is a date-only value without a time component. Automatically set to today when the release moves to a started stage if not already set. Null if no start date has been specified. */
startDate?: Scalars["TimelessDate"] | null;
/** The time at which the release first entered a started stage. Null if the release has not yet been started. */
startedAt?: Date | null;
/** The estimated completion date of the release. This is a date-only value without a time component. Null if no target date has been specified. */
targetDate?: Scalars["TimelessDate"] | null;
/** A flag that indicates whether the release is in the trash bin. Trashed releases are archived and will be permanently deleted after a retention period. Null when the release is not trashed. */
trashed?: boolean | null;
/**
* The last time at which the entity was meaningfully updated. This is the same as the creation time if the entity hasn't
* been updated after creation.
*/
updatedAt: Date;
/** The URL to the release page in the Linear app. */
url: string;
/** The version identifier for this release (e.g., 'v1.2.3' or a short commit hash). Must be unique within the pipeline. Null if no version has been assigned. */
version?: string | null;
/** Release notes for the release. */
releaseNotes: ReleaseNote[];
/** The user who created the release. Null if the release was created by a non-user context such as an access key or automation. */
get creator(): LinearFetch<User> | undefined;
/** The ID of user who created the release. null if the release was created by a non-user context such as an access key or automation. */
get creatorId(): string | undefined;
/** The release pipeline that this release belongs to. A release always belongs to exactly one pipeline. */
get pipeline(): LinearFetch<ReleasePipeline> | undefined;
/** The ID of release pipeline that this release belongs to. a release always belongs to exactly one pipeline. */
get pipelineId(): string | undefined;
/** The current stage of the release within its pipeline (e.g., Planned, In Progress, Completed, Canceled). Changing the stage triggers lifecycle timestamp updates and may move non-closed issues to a new release when completing a scheduled pipeline release. */
get stage(): LinearFetch<ReleaseStage> | undefined;
/** The ID of current stage of the release within its pipeline (e.g., planned, in progress, completed, canceled). changing the stage triggers lifecycle timestamp updates and may move non-closed issues to a new release when completing a scheduled pipeline release. */
get stageId(): string | undefined;
/** Documents associated with the release. */
documents(variables?: Omit<Release_DocumentsQueryVariables, "id">): LinearFetch<DocumentConnection>;
/** History entries associated with the release. */
history(variables?: Omit<Release_HistoryQueryVariables, "id">): LinearFetch<ReleaseHistoryConnection>;
/** Issues associated with the release. */
issues(variables?: Omit<Release_IssuesQueryVariables, "id">): LinearFetch<IssueConnection>;
/** Links associated with the release. */
links(variables?: Omit<Release_LinksQueryVariables, "id">): LinearFetch<EntityExternalLinkConnection>;
/** Archives a release. */
archive(): LinearFetch<ReleaseArchivePayload>;
/** Creates a new release in a pipeline. If no stage is specified, defaults to the first completed stage for continuous pipelines or the first started stage for scheduled pipelines. */
create(input: ReleaseCreateInput): LinearFetch<ReleasePayload>;
/** Moves a release to the trash bin. Trashed releases are archived and will be permanently deleted after a retention period. If the release is already archived, it is marked as trashed with a fresh archive timestamp. */
delete(): LinearFetch<ReleaseArchivePayload>;
/** Unarchives a release. */
unarchive(): LinearFetch<ReleaseArchivePayload>;
/** Updates an existing release by ID. Supports updating name, description, version, commit SHA, pipeline, stage, and dates. */
update(input: ReleaseUpdateInput): LinearFetch<ReleasePayload>;
}
/**
* A generic payload return from entity archive mutations.
*
* @param request - function to call the graphql client
* @param data - L.ReleaseArchivePayloadFragment response data
*/
declare class ReleaseArchivePayload extends Request {
private _entity?;
constructor(request: LinearRequest, data: ReleaseArchivePayloadFragment);
/** The identifier of the last sync operation. */
lastSyncId: number;
/** Whether the operation was successful. */
success: boolean;
/** The archived/unarchived entity. Null if entity was deleted. */
get entity(): LinearFetch<Release> | undefined;
/** The ID of archived/unarchived entity. null if entity was deleted. */
get entityId(): string | undefined;
}
/**
* Certain properties of a release.
*
* @param data - L.ReleaseChildWebhookPayloadFragment response data
*/
declare class ReleaseChildWebhookPayload {
constructor(data: ReleaseChildWebhookPayloadFragment);
/** The time at which the release was completed. */
completedAt?: string | null;
/** The ID of the release. */
id: string;
/** The name of the release. */
name: string;
/** The version of the release. */
version?: string | null;
/** The pipeline this release belongs to. */
pipeline?: ReleasePipelineChildWebhookPayload | null;
/** The current stage of the release. */
stage?: ReleaseStageChildWebhookPayload | null;
}
/**
* ReleaseConnection model
*
* @param request - function to call the graphql client
* @param fetch - function to trigger a refetch of this ReleaseConnection model
* @param data - ReleaseConnection response data
*/
declare class ReleaseConnection extends Connection<Release> {
constructor(request: LinearRequest, fetch: (connection?: LinearConnectionVariables) => LinearFetch<LinearConnection<Release> | undefined>, data: ReleaseConnectionFragment);
}
/**
* A release history record containing a batch of chronologically ordered change events for a release. Each record holds up to 30 entries, and new records are created once the current record is full and a time window has elapsed. Tracks changes to name, description, version, stage, dates, pipeline, and archive status.
*
* @param request - function to call the graphql client
* @param data - L.ReleaseHistoryFragment response data
*/
declare class ReleaseHistory extends Request {
private _release;
constructor(request: LinearRequest, data: ReleaseHistoryFragment);
/** The time at which the entity was archived. Null if the entity has not been archived. */
archivedAt?: Date | null;
/** The time at which the entity was created. */
createdAt: Date;
/** The events that happened while recording that history. */
entries: Scalars["JSONObject"];
/** The unique identifier of the entity. */
id: string;
/**
* The last time at which the entity was meaningfully updated. This is the same as the creation time if the entity hasn't
* been updated after creation.
*/
updatedAt: Date;
/** The release that this history record tracks changes for. */
get release(): LinearFetch<Release> | undefined;
/** The ID of release that this history record tracks changes for. */
get releaseId(): string | undefined;
}
/**
* ReleaseHistoryConnection model
*
* @param request - function to call the graphql client
* @param fetch - function to trigger a refetch of this ReleaseHistoryConnection model
* @param data - ReleaseHistoryConnection response data
*/
declare class ReleaseHistoryConnection extends Connection<ReleaseHistory> {
constructor(request: LinearRequest, fetch: (connection?: LinearConnectionVariables) => LinearFetch<LinearConnection<ReleaseHistory> | undefined>, data: ReleaseHistoryConnectionFragment);
}
/**
* A note documenting one or more releases. The note body is stored in related document content.
*
* @param request - function to call the graphql client
* @param data - L.ReleaseNoteFragment response data
*/
declare class ReleaseNote extends Request {
private _firstRelease?;
private _lastRelease?;
private _pipeline;
constructor(request: LinearRequest, data: ReleaseNoteFragment);
/** The time at which the entity was archived. Null if the entity has not been archived. */
archivedAt?: Date | null;
/** The time at which the entity was created. */
createdAt: Date;
/** The unique identifier of the entity. */
id: string;
/** The number of releases covered by this note. */
releaseCount: number;
/** The release note's unique URL slug, used to construct human-readable URLs for the note. */
slugId: string;
/** User-supplied title for the release note. */
title?: string | null;
/**
* The last time at which the entity was meaningfully updated. This is the same as the creation time if the entity hasn't
* been updated after creation.
*/
updatedAt: Date;
/** The URL to the release note page in the Linear app. */
url: string;
/** Document content backing the release note body. */
documentContent?: DocumentContent | null;
/** Generation status when these release notes are being auto-generated: `pending` while the LLM call is running, `completed` once it lands. `null` means the release notes were written by a user and never went through auto-generation. */
generationStatus?: ReleaseNoteGenerationStatus | null;
/** The earliest release covered by this note. */
get firstRelease(): LinearFetch<Release> | undefined;
/** The ID of earliest release covered by this note. */
get firstReleaseId(): string | undefined;
/** The most recent release covered by this note. */
get lastRelease(): LinearFetch<Release> | undefined;
/** The ID of most recent release covered by this note. */
get lastReleaseId(): string | undefined;
/** The release pipeline that this note belongs to. A note always belongs to exactly one pipeline. */
get pipeline(): LinearFetch<ReleasePipeline> | undefined;
/** The ID of release pipeline that this note belongs to. a note always belongs to exactly one pipeline. */
get pipelineId(): string | undefined;
/** Releases included in the note. */
get releases(): LinearFetch<Release[]>;
/** Creates a release note. */
create(input: ReleaseNoteCreateInput): LinearFetch<ReleaseNotePayload>;
/** Deletes a release note. */
delete(): LinearFetch<DeletePayload>;
/** Updates a release note. */
update(input: ReleaseNoteUpdateInput): LinearFetch<ReleaseNotePayload>;
}
/**
* ReleaseNoteConnection model
*
* @param request - function to call the graphql client
* @param fetch - function to trigger a refetch of this ReleaseNoteConnection model
* @param data - ReleaseNoteConnection response data
*/
declare class ReleaseNoteConnection extends Connection<ReleaseNote> {
constructor(request: LinearRequest, fetch: (connection?: LinearConnectionVariables) => LinearFetch<LinearConnection<ReleaseNote> | undefined>, data: ReleaseNoteConnectionFragment);
}
/**
* The result of a release note mutation.
*
* @param request - function to call the graphql client
* @param data - L.ReleaseNotePayloadFragment response data
*/
declare class ReleaseNotePayload extends Request {
private _releaseNote;
constructor(request: LinearRequest, data: ReleaseNotePayloadFragment);
/** The identifier of the last sync operation. */
lastSyncId: number;
/** Whether the operation was successful. */
success: boolean;
/** The release note that was created or updated. */
get releaseNote(): LinearFetch<ReleaseNote> | undefined;
/** The ID of release note that was created or updated. */
get releaseNoteId(): string | undefined;
}
/**
* Payload for a release note webhook.
*
* @param data - L.ReleaseNoteWebhookPayloadFragment response data
*/
declare class ReleaseNoteWebhookPayload {
constructor(data: ReleaseNoteWebhookPayloadFragment);
/** The time at which the entity was archived. */
archivedAt?: string | null;
/** The release note's body as markdown. */
content?: string | null;
/** The time at which the entity was created. */
createdAt: string;
/** The ID of the user who created the release note. */
creatorId?: string | null;
/** The ID of the entity. */
id: string;
/** The ID of the most recent release covered by this note. */
lastReleaseId?: string | null;
/** The ID of the pipeline this release note belongs to. */
pipelineId: string;
/** IDs of the releases included in the note. */
releaseIds: string[];
/** The release note's unique URL slug. */
slugId: string;
/** User-supplied title for the release note. */
title?: string | null;
/** The time at which the entity was updated. */
updatedAt: string;
/** The URL of the release note. */
url: string;
/** The pipeline this release note belongs to. */
pipeline?: ReleasePipelineChildWebhookPayload | null;
}
/**
* The result of a release mutation, containing the release that was created or updated and a success indicator.
*
* @param request - function to call the graphql client
* @param data - L.ReleasePayloadFragment response data
*/
declare class ReleasePayload extends Request {
private _release;
constructor(request: LinearRequest, data: ReleasePayloadFragment);
/** The identifier of the last sync operation. */
lastSyncId: number;
/** Whether the operation was successful. */
success: boolean;
/** The release that was created or updated. */
get release(): LinearFetch<Release> | undefined;
/** The ID of release that was created or updated. */
get releaseId(): string | undefined;
}
/**
* A release pipeline that defines a release workflow with ordered stages. Pipelines can be continuous (each sync creates a completed release) or scheduled (issues accumulate in a started release that is explicitly completed). Pipelines are associated with teams and can filter commits by file path patterns.
*
* @param request - function to call the graphql client
* @param data - L.ReleasePipelineFragment response data
*/
declare class ReleasePipeline extends Request {
private _latestReleaseNote?;
private _releaseNoteTemplate?;
constructor(request: LinearRequest, data: ReleasePipelineFragment);
/** The approximate number of non-archived releases in this pipeline. This is a denormalized count that is updated when releases are created or archived, and may not reflect the exact count at all times. */
approximateReleaseCount: number;
/** The time at which the entity was archived. Null if the entity has not been archived. */
archivedAt?: Date | null;
/** Whether to automatically generate a release note when a release is completed. */
autoGenerateReleaseNotesOnCompletion: boolean;
/** The time at which the entity was created. */
createdAt: Date;
/** The unique identifier of the entity. */
id: string;
/** Glob patterns to filter commits by file path. When non-empty, only commits that modify files matching at least one pattern will be included in release syncs. An empty array means all commits are included regardless of file paths. */
includePathPatterns: string[];
/** Whether this pipeline targets a production environment. Defaults to true. Used to distinguish production pipelines from staging or development pipelines. */
isProduction: boolean;
/** The name of the pipeline. */
name: string;
/** Whether completing a scheduled release moves its open issues to the next release. When false, open issues remain on the completed release. */
rolloverIssuesOnCompletion: boolean;
/** The pipeline's unique slug identifier, used in URLs and for lookup by human-readable identifier instead of UUID. */
slugId: string;
/** A flag that indicates whether the pipeline is in the trash bin. Trashed pipelines are archived and will be permanently deleted after a retention period. Null when the pipeline is not trashed. */
trashed?: boolean | null;
/**
* The last time at which the entity was meaningfully updated. This is the same as the creation time if the entity hasn't
* been updated after creation.
*/
updatedAt: Date;
/** The URL to the release pipeline's releases list in the Linear app. */
url: string;
/** The type of the pipeline, which determines how releases are created and managed. Continuous pipelines create a completed release per sync, while scheduled pipelines accumulate issues in a started release. */
type: ReleasePipelineType;
/** The release note in this pipeline whose covered range ends with the most recent release. */
get latestReleaseNote(): LinearFetch<ReleaseNote> | undefined;
/** The ID of release note in this pipeline whose covered range ends with the most recent release. */
get latestReleaseNoteId(): string | undefined;
/** The document template used to define the release notes format for this pipeline. AI-generated release notes follow the structure and tone of this template. Null if no template has been configured. */
get releaseNoteTemplate(): LinearFetch<Template> | undefined;
/** The ID of document template used to define the release notes format for this pipeline. ai-generated release notes follow the structure and tone of this template. null if no template has been configured. */
get releaseNoteTemplateId(): string | undefined;
/** Releases associated with this pipeline. */
releases(variables?: Omit<ReleasePipeline_ReleasesQueryVariables, "id">): LinearFetch<ReleaseConnection>;
/** Stages associated with this pipeline. */
stages(variables?: Omit<ReleasePipeline_StagesQueryVariables, "id">): LinearFetch<ReleaseStageConnection>;
/** Teams associated with this pipeline. */
teams(variables?: Omit<ReleasePipeline_TeamsQueryVariables, "id">): LinearFetch<TeamConnection>;
/** Archives a release pipeline. */
archive(): LinearFetch<ReleasePipelineArchivePayload>;
/** Creates a new release pipeline with default stages. Subject to plan entitlement and quota limits. */
create(input: ReleasePipelineCreateInput): LinearFetch<ReleasePipelinePayload>;
/** Moves a release pipeline to the trash bin. Trashed pipelines are archived and will be permanently deleted after a retention period, along with all their releases. If the pipeline is already archived, it is marked as trashed with a fresh archive timestamp. */
delete(): LinearFetch<ReleasePipelineArchivePayload>;
/** Unarchives a release pipeline. */
unarchive(): LinearFetch<ReleasePipelineArchivePayload>;
/** Updates an existing release pipeline. Supports updating name, slug, type, production flag, path patterns, and team associations. Private teams that the current user cannot access are preserved in the team list. */
update(input: ReleasePipelineUpdateInput): LinearFetch<ReleasePipelinePayload>;
}
/**
* A generic payload return from entity archive mutations.
*
* @param request - function to call the graphql client
* @param data - L.ReleasePipelineArchivePayloadFragment response data
*/
declare class ReleasePipelineArchivePayload extends Request {
private _entity?;
constructor(request: LinearRequest, data: ReleasePipelineArchivePayloadFragment);
/** The identifier of the last sync operation. */
lastSyncId: number;
/** Whether the operation was successful. */
success: boolean;
/** The archived/unarchived entity. Null if entity was deleted. */
get entity(): LinearFetch<ReleasePipeline> | undefined;
/** The ID of archived/unarchived entity. null if entity was deleted. */
get entityId(): string | undefined;
}
/**
* Certain properties of a release pipeline.
*
* @param data - L.ReleasePipelineChildWebhookPayloadFragment response data
*/
declare class ReleasePipelineChildWebhookPayload {
constructor(data: ReleasePipelineChildWebhookPayloadFragment);
/** The ID of the release pipeline. */
id: string;
/** The name of the release pipeline. */
name: string;
/** The pipeline's unique slug identifier. */
slugId: string;
/** The type of the release pipeline. */
type: string;
/** The URL of the release pipeline. */
url: string;
}
/**
* ReleasePipelineConnection model
*
* @param request - function to call the graphql client
* @param fetch - function to trigger a refetch of this ReleasePipelineConnection model
* @param data - ReleasePipelineConnection response data
*/
declare class ReleasePipelineConnection extends Connection<ReleasePipeline> {
constructor(request: LinearRequest, fetch: (connection?: LinearConnectionVariables) => LinearFetch<LinearConnection<ReleasePipeline> | undefined>, data: ReleasePipelineConnectionFragment);
}
/**
* The result of a release pipeline mutation.
*
* @param request - function to call the graphql client
* @param data - L.ReleasePipelinePayloadFragment response data
*/
declare class ReleasePipelinePayload extends Request {
private _releasePipeline;
constructor(request: LinearRequest, data: ReleasePipelinePayloadFragment);
/** The identifier of the last sync operation. */
lastSyncId: number;
/** Whether the operation was successful. */
success: boolean;
/** The release pipeline that was created or updated. */
get releasePipeline(): LinearFetch<ReleasePipeline> | undefined;
/** The ID of release pipeline that was created or updated. */
get releasePipelineId(): string | undefined;
}
/**
* A stage within a release pipeline that represents a phase in the release lifecycle (e.g., Planned, In Progress, Completed, Canceled). Releases progress through stages as they move toward production. Started-type stages can be frozen to prevent new issues from being automatically synced into releases at that stage.
*
* @param request - function to call the graphql client
* @param data - L.ReleaseStageFragment response data
*/
declare class ReleaseStage extends Request {
private _pipeline;
constructor(request: LinearRequest, data: ReleaseStageFragment);
/** The time at which the entity was archived. Null if the entity has not been archived. */
archivedAt?: Date | null;
/** The display color of the stage as a HEX string (e.g., '#0f783c'), used for visual representation in the UI. */
color: string;
/** The time at which the entity was created. */
createdAt: Date;
/** Whether this stage is frozen. Only applicable to started-type stages. When a stage is frozen, automated release syncs will not target releases in this stage, and new issues will not be automatically added. At least one started stage in the pipeline must remain non-frozen. */
frozen: boolean;
/** The unique identifier of the entity. */
id: string;
/** The name of the stage. */
name: string;
/** The position of the stage within its pipeline, used for ordering stages in the UI. Lower values appear first. */
position: number;
/**
* The last time at which the entity was meaningfully updated. This is the same as the creation time if the entity hasn't
* been updated after creation.
*/
updatedAt: Date;
/** The lifecycle type of the stage (planned, started, completed, or canceled). The type determines what lifecycle timestamps are set on a release when it enters this stage. */
type: ReleaseStageType;
/** The release pipeline that this stage belongs to. A stage always belongs to exactly one pipeline. */
get pipeline(): LinearFetch<ReleasePipeline> | undefined;
/** The ID of release pipeline that this stage belongs to. a stage always belongs to exactly one pipeline. */
get pipelineId(): string | undefined;
/** Releases associated with this stage. */
releases(variables?: Omit<ReleaseStage_ReleasesQueryVariables, "id">): LinearFetch<ReleaseConnection>;
/** Archives a release stage. Only started-type stages can be archived, and only if they have no active releases and at least one other stage of the same type remains. Cannot archive the last non-frozen started stage. */
archive(): LinearFetch<ReleaseStageArchivePayload>;
/** Creates a new release stage in a pipeline. Non-started stages must use default names and colors and are unique by type; creating a canonical duplicate returns the existing stage. Started stages can optionally be frozen, but at least one non-frozen started stage must remain. */
create(input: ReleaseStageCreateInput): LinearFetch<ReleaseStagePayload>;
/** Unarchives a release stage. */
unarchive(): LinearFetch<ReleaseStageArchivePayload>;
/** Updates an existing release stage. Only started-type stages can be edited. Supports updating name, color, position, and frozen status. */
update(input: ReleaseStageUpdateInput): LinearFetch<ReleaseStagePayload>;
}
/**
* A generic payload return from entity archive mutations.
*
* @param request - function to call the graphql client
* @param data - L.ReleaseStageArchivePayloadFragment response data
*/
declare class ReleaseStageArchivePayload extends Request {
private _entity?;
constructor(request: LinearRequest, data: ReleaseStageArchivePayloadFragment);
/** The identifier of the last sync operation. */
lastSyncId: number;
/** Whether the operation was successful. */
success: boolean;
/** The archived/unarchived entity. Null if entity was deleted. */
get entity(): LinearFetch<ReleaseStage> | undefined;
/** The ID of archived/unarchived entity. null if entity was deleted. */
get entityId(): string | undefined;
}
/**
* Certain properties of a release stage.
*
* @param data - L.ReleaseStageChildWebhookPayloadFragment response data
*/
declare class ReleaseStageChildWebhookPayload {
constructor(data: ReleaseStageChildWebhookPayloadFragment);
/** The UI color of the stage as a HEX string. */
color: string;
/** The ID of the release stage. */
id: string;
/** The name of the stage. */
name: string;
/** The position of the stage. */
position: number;
/** The type of the stage. */
type: string;
}
/**
* ReleaseStageConnection model
*
* @param request - function to call the graphql client
* @param fetch - function to trigger a refetch of this ReleaseStageConnection model
* @param data - ReleaseStageConnection response data
*/
declare class ReleaseStageConnection extends Connection<ReleaseStage> {
constructor(request: LinearRequest, fetch: (connection?: LinearConnectionVariables) => LinearFetch<LinearConnection<ReleaseStage> | undefined>, data: ReleaseStageConnectionFragment);
}
/**
* The result of a release stage mutation.
*
* @param request - function to call the graphql client
* @param data - L.ReleaseStagePayloadFragment response data
*/
declare class ReleaseStagePayload extends Request {
private _releaseStage;
constructor(request: LinearRequest, data: ReleaseStagePayloadFragment);
/** The identifier of the last sync operation. */
lastSyncId: number;
/** Whether the operation was successful. */
success: boolean;
/** The release stage that was created or updated. */
get releaseStage(): LinearFetch<ReleaseStage> | undefined;
/** The ID of release stage that was created or updated. */
get releaseStageId(): string | undefined;
}
/**
* Payload for a release webhook.
*
* @param data - L.ReleaseWebhookPayloadFragment response data
*/
declare class ReleaseWebhookPayload {
constructor(data: ReleaseWebhookPayloadFragment);
/** The time at which the entity was archived. */
archivedAt?: string | null;
/** The time at which the release was canceled. */
canceledAt?: string | null;
/** The commit SHA associated with this release. */
commitSha?: string | null;
/** The time at which the release was completed. */
completedAt?: string | null;
/** The time at which the entity was created. */
createdAt: string;
/** The ID of the user who created the release. */
creatorId?: string | null;
/** The release's description. */
description?: string | null;
/** The ID of the entity. */
id: string;
/** The name of the release. */
name: string;
/** The ID of the pipeline this release belongs to. */
pipelineId: string;
/** The release's unique URL slug. */
slugId: string;
/** The ID of the current stage of the release. */
stageId: string;
/** The estimated start date of the release. */
startDate?: string | null;
/** The time at which the release was started. */
startedAt?: string | null;
/** The estimated completion date of the release. */
targetDate?: string | null;
/** Whether the release is in the trash bin. */
trashed?: boolean | null;
/** The time at which the entity was updated. */
updatedAt: string;
/** The URL of the release. */
url: string;
/** The version of the release. */
version?: string | null;
/** The issues associated with the release. */
issues?: IssueChildWebhookPayload[] | null;
/** The pipeline this release belongs to. */
pipeline?: ReleasePipelineChildWebhookPayload | null;
/** The current stage of the release. */
stage?: ReleaseStageChildWebhookPayload | null;
}
/**
* A suggested code repository that may be relevant for implementing an issue.
*
* @param request - function to call the graphql client
* @param data - L.RepositorySuggestionFragment response data
*/
declare class RepositorySuggestion extends Request {
constructor(request: LinearRequest, data: RepositorySuggestionFragment);
/** Confidence score from 0.0 to 1.0. */
confidence: number;
/** Hostname of the Git service (e.g., 'github.com', 'github.company.com'). */
hostname?: string | null;
/** The full name of the repository in owner/name format (e.g., 'acme/backend'). */
repositoryFullName: string;
}
/**
* The result of a repository suggestions query, containing the list of suggested repositories.
*
* @param request - function to call the graphql client
* @param data - L.RepositorySuggestionsPayloadFragment response data
*/
declare class RepositorySuggestionsPayload extends Request {
constructor(request: LinearRequest, data: RepositorySuggestionsPayloadFragment);
/** The suggested repositories. */
suggestions: RepositorySuggestion[];
}
/**
* [Deprecated] A roadmap for grouping projects. Use Initiative instead, which supersedes this entity and provides richer hierarchy and tracking capabilities.
*
* @param request - function to call the graphql client
* @param data - L.RoadmapFragment response data
*/
declare class Roadmap extends Request {
private _creator;
private _owner?;
constructor(request: LinearRequest, data: RoadmapFragment);
/** The time at which the entity was archived. Null if the entity has not been archived. */
archivedAt?: Date | null;
/** The roadmap's color. */
color?: string | null;
/** The time at which the entity was created. */
createdAt: Date;
/** The description of the roadmap. */
description?: string | null;
/** The unique identifier of the entity. */
id: string;
/** The name of the roadmap. */
name: string;
/** The roadmap's unique URL slug. */
slugId: string;
/** The sort order of the roadmap within the workspace. */
sortOrder: number;
/**
* The last time at which the entity was meaningfully updated. This is the same as the creation time if the entity hasn't
* been updated after creation.
*/
updatedAt: Date;
/** The canonical url for the roadmap. */
url: string;
/** The user who created the roadmap. */
get creator(): LinearFetch<User> | undefined;
/** The ID of user who created the roadmap. */
get creatorId(): string | undefined;
/** The workspace of the roadmap. */
get organization(): LinearFetch<Organization>;
/** The user who owns the roadmap. */
get owner(): LinearFetch<User> | undefined;
/** The ID of user who owns the roadmap. */
get ownerId(): string | undefined;
/** Projects associated with the roadmap. */
projects(variables?: Omit<Roadmap_ProjectsQueryVariables, "id">): LinearFetch<ProjectConnection>;
/** Archives a roadmap. */
archive(): LinearFetch<RoadmapArchivePayload>;
/** Creates a new roadmap. */
create(input: RoadmapCreateInput): LinearFetch<RoadmapPayload>;
/** Deletes a roadmap. */
delete(): LinearFetch<DeletePayload>;
/** Unarchives a roadmap. */
unarchive(): LinearFetch<RoadmapArchivePayload>;
/** Updates a roadmap. */
update(input: RoadmapUpdateInput): LinearFetch<RoadmapPayload>;
}
/**
* A generic payload return from entity archive mutations.
*
* @param request - function to call the graphql client
* @param data - L.RoadmapArchivePayloadFragment response data
*/
declare class RoadmapArchivePayload extends Request {
private _entity?;
constructor(request: LinearRequest, data: RoadmapArchivePayloadFragment);
/** The identifier of the last sync operation. */
lastSyncId: number;
/** Whether the operation was successful. */
success: boolean;
/** The archived/unarchived entity. Null if entity was deleted. */
get entity(): LinearFetch<Roadmap> | undefined;
/** The ID of archived/unarchived entity. null if entity was deleted. */
get entityId(): string | undefined;
}
/**
* RoadmapConnection model
*
* @param request - function to call the graphql client
* @param fetch - function to trigger a refetch of this RoadmapConnection model
* @param data - RoadmapConnection response data
*/
declare class RoadmapConnection extends Connection<Roadmap> {
constructor(request: LinearRequest, fetch: (connection?: LinearConnectionVariables) => LinearFetch<LinearConnection<Roadmap> | undefined>, data: RoadmapConnectionFragment);
}
/**
* The result of a roadmap mutation.
*
* @param request - function to call the graphql client
* @param data - L.RoadmapPayloadFragment response data
*/
declare class RoadmapPayload extends Request {
private _roadmap;
constructor(request: LinearRequest, data: RoadmapPayloadFragment);
/** The identifier of the last sync operation. */
lastSyncId: number;
/** Whether the operation was successful. */
success: boolean;
/** The roadmap that was created or updated. */
get roadmap(): LinearFetch<Roadmap> | undefined;
/** The ID of roadmap that was created or updated. */
get roadmapId(): string | undefined;
}
/**
* [Deprecated] The join entity linking a project to a roadmap. Use InitiativeToProject instead, which supersedes this entity.
*
* @param request - function to call the graphql client
* @param data - L.RoadmapToProjectFragment response data
*/
declare class RoadmapToProject extends Request {
private _project;
private _roadmap;
constructor(request: LinearRequest, data: RoadmapToProjectFragment);
/** The time at which the entity was archived. Null if the entity has not been archived. */
archivedAt?: Date | null;
/** The time at which the entity was created. */
createdAt: Date;
/** The unique identifier of the entity. */
id: string;
/** The sort order of the project within the roadmap. */
sortOrder: string;
/**
* The last time at which the entity was meaningfully updated. This is the same as the creation time if the entity hasn't
* been updated after creation.
*/
updatedAt: Date;
/** The project that the roadmap is associated with. */
get project(): LinearFetch<Project> | undefined;
/** The ID of project that the roadmap is associated with. */
get projectId(): string | undefined;
/** The roadmap that the project is associated with. */
get roadmap(): LinearFetch<Roadmap> | undefined;
/** The ID of roadmap that the project is associated with. */
get roadmapId(): string | undefined;
/** [Deprecated] Creates a new roadmap-to-project association. Use InitiativeToProject instead. */
create(input: RoadmapToProjectCreateInput): LinearFetch<RoadmapToProjectPayload>;
/** [Deprecated] Deletes a roadmap-to-project association. Use InitiativeToProject instead. */
delete(): LinearFetch<DeletePayload>;
/** [Deprecated] Updates a roadmap-to-project association. Use InitiativeToProject instead. */
update(input: RoadmapToProjectUpdateInput): LinearFetch<RoadmapToProjectPayload>;
}
/**
* RoadmapToProjectConnection model
*
* @param request - function to call the graphql client
* @param fetch - function to trigger a refetch of this RoadmapToProjectConnection model
* @param data - RoadmapToProjectConnection response data
*/
declare class RoadmapToProjectConnection extends Connection<RoadmapToProject> {
constructor(request: LinearRequest, fetch: (connection?: LinearConnectionVariables) => LinearFetch<LinearConnection<RoadmapToProject> | undefined>, data: RoadmapToProjectConnectionFragment);
}
/**
* The result of a roadmap-to-project mutation.
*
* @param request - function to call the graphql client
* @param data - L.RoadmapToProjectPayloadFragment response data
*/
declare class RoadmapToProjectPayload extends Request {
private _roadmapToProject;
constructor(request: LinearRequest, data: RoadmapToProjectPayloadFragment);
/** The identifier of the last sync operation. */
lastSyncId: number;
/** Whether the operation was successful. */
success: boolean;
/** The roadmapToProject that was created or updated. */
get roadmapToProject(): LinearFetch<RoadmapToProject> | undefined;
/** The ID of roadmaptoproject that was created or updated. */
get roadmapToProjectId(): string | undefined;
}
/**
* The payload returned by the semantic search query, containing the list of matching results.
*
* @param request - function to call the graphql client
* @param data - L.SemanticSearchPayloadFragment response data
*/
declare class SemanticSearchPayload extends Request {
constructor(request: LinearRequest, data: SemanticSearchPayloadFragment);
/** Whether the semantic search is enabled. */
enabled: boolean;
/** The list of matching search results, ordered by relevance score. */
results: SemanticSearchResult[];
}
/**
* A reference to an entity returned by semantic search, containing its type and ID. Resolve the specific entity using the type-specific field resolvers (issue, project, initiative, document).
*
* @param request - function to call the graphql client
* @param data - L.SemanticSearchResultFragment response data
*/
declare class SemanticSearchResult extends Request {
private _document?;
private _initiative?;
private _issue?;
private _project?;
constructor(request: LinearRequest, data: SemanticSearchResultFragment);
/** The unique identifier of the entity. */
id: string;
/** The type of the semantic search result. */
type: SemanticSearchResultType;
/** The document entity, if this search result is of type Document. Null for other result types. */
get document(): LinearFetch<Document> | undefined;
/** The ID of document entity, if this search result is of type document. null for other result types. */
get documentId(): string | undefined;
/** The initiative entity, if this search result is of type Initiative. Null for other result types. */
get initiative(): LinearFetch<Initiative> | undefined;
/** The ID of initiative entity, if this search result is of type initiative. null for other result types. */
get initiativeId(): string | undefined;
/** The issue entity, if this search result is of type Issue. Null for other result types. */
get issue(): LinearFetch<Issue> | undefined;
/** The ID of issue entity, if this search result is of type issue. null for other result types. */
get issueId(): string | undefined;
/** The project entity, if this search result is of type Project. Null for other result types. */
get project(): LinearFetch<Project> | undefined;
/** The ID of project entity, if this search result is of type project. null for other result types. */
get projectId(): string | undefined;
}
/**
* A verified Amazon SES domain identity that enables sending emails from a custom domain. Organizations configure SES domain identities to send issue notification replies and Asks auto-replies from their own domain instead of the default Linear domain. Full verification requires DKIM signing, a custom MAIL FROM domain, and organization ownership confirmation. Multiple organizations sharing the same domain each have their own SesDomainIdentity record but share the underlying SES identity.
*
* @param request - function to call the graphql client
* @param data - L.SesDomainIdentityFragment response data
*/
declare class SesDomainIdentity extends Request {
private _creator?;
constructor(request: LinearRequest, data: SesDomainIdentityFragment);
/** The time at which the entity was archived. Null if the entity has not been archived. */
archivedAt?: Date | null;
/** Whether the domain is fully verified and can be used for sending emails. */
canSendFromCustomDomain: boolean;
/** The time at which the entity was created. */
createdAt: Date;
/** The domain of the SES domain identity. */
domain: string;
/** The unique identifier of the entity. */
id: string;
/** The AWS region of the SES domain identity. */
region: string;
/**
* The last time at which the entity was meaningfully updated. This is the same as the creation time if the entity hasn't
* been updated after creation.
*/
updatedAt: Date;
/** The DNS records for the SES domain identity. */
dnsRecords: SesDomainIdentityDnsRecord[];
/** The user who created the SES domain identity. */
get creator(): LinearFetch<User> | undefined;
/** The ID of user who created the ses domain identity. */
get creatorId(): string | undefined;
/** The workspace of the SES domain identity. */
get organization(): LinearFetch<Organization>;
}
/**
* A DNS record for a SES domain identity.
*
* @param request - function to call the graphql client
* @param data - L.SesDomainIdentityDnsRecordFragment response data
*/
declare class SesDomainIdentityDnsRecord extends Request {
constructor(request: LinearRequest, data: SesDomainIdentityDnsRecordFragment);
/** The content of the DNS record. */
content: string;
/** Whether the DNS record is verified in the domain's DNS configuration. */
isVerified: boolean;
/** The name of the DNS record. */
name: string;
/** The type of the DNS record. */
type: string;
}
/**
* An active SLA rule that can apply to a team.
*
* @param request - function to call the graphql client
* @param data - L.SlaConfigurationFragment response data
*/
declare class SlaConfiguration extends Request {
constructor(request: LinearRequest, data: SlaConfigurationFragment);
/** The workflow conditions that determine when this SLA rule applies. */
conditions: Scalars["JSONObject"];
/** The identifier of the SLA rule. */
id: string;
/** The name of the SLA rule. */
name: string;
/** Whether the rule removes an SLA instead of setting one. */
removesSla: boolean;
/** The SLA value configured by the rule, expressed in milliseconds or business days depending on the day-count type. */
sla?: number | null;
/** The SLA type used when the rule sets an SLA. */
slaType?: SLADayCountType | null;
}
/**
* Configuration for a Linear team within a Slack Asks channel mapping. Controls whether the default Asks template is enabled for the team in a given Slack channel.
*
* @param request - function to call the graphql client
* @param data - L.SlackAsksTeamSettingsFragment response data
*/
declare class SlackAsksTeamSettings extends Request {
constructor(request: LinearRequest, data: SlackAsksTeamSettingsFragment);
/** Whether the default Asks template is enabled in the given channel for this team. */
hasDefaultAsk: boolean;
/** The Linear team ID. */
id: string;
}
/**
* SlackChannelConnectPayload model
*
* @param request - function to call the graphql client
* @param data - L.SlackChannelConnectPayloadFragment response data
*/
declare class SlackChannelConnectPayload extends Request {
private _integration?;
constructor(request: LinearRequest, data: SlackChannelConnectPayloadFragment);
/** Whether the bot needs to be manually added to the channel. */
addBot: boolean;
/** The identifier of the last sync operation. */
lastSyncId: number;
/** Whether it's recommended to connect main Slack integration. */
nudgeToConnectMainSlackIntegration?: boolean | null;
/** Whether it's recommended to update main Slack integration. */
nudgeToUpdateMainSlackIntegration?: boolean | null;
/** Whether the operation was successful. */
success: boolean;
/** GitHub-specific details for the operation. Populated by GitHub-related mutations only. */
gitHub?: GitHubIntegrationConnectDetails | null;
/** The integration that was created or updated. */
get integration(): LinearFetch<Integration> | undefined;
/** The ID of integration that was created or updated. */
get integrationId(): string | undefined;
}
/**
* Configuration for a Slack channel connected to Linear via Slack Asks. Maps the Slack channel ID and name to team assignments and auto-creation settings that control how issues are created from Slack messages in this channel.
*
* @param request - function to call the graphql client
* @param data - L.SlackChannelNameMappingFragment response data
*/
declare class SlackChannelNameMapping extends Request {
constructor(request: LinearRequest, data: SlackChannelNameMappingFragment);
/** Whether or not to use AI to generate titles for Asks created in this channel. */
aiTitles?: boolean | null;
/** Whether or not @-mentioning the bot should automatically create an Ask with the message. */
autoCreateOnBotMention?: boolean | null;
/** Whether or not using the :ticket: emoji in this channel should automatically create Asks. */
autoCreateOnEmoji?: boolean | null;
/** Whether or not top-level messages in this channel should automatically create Asks. */
autoCreateOnMessage?: boolean | null;
/** The optional template ID to use for Asks auto-created in this channel. If not set, auto-created Asks won't use any template. */
autoCreateTemplateId?: string | null;
/** Whether or not the Linear Asks bot has been added to this Slack channel. */
botAdded?: boolean | null;
/** The Slack channel ID. */
id: string;
/** Whether or not the Slack channel is private. */
isPrivate?: boolean | null;
/** Whether or not the Slack channel is shared with an external org. */
isShared?: boolean | null;
/** The Slack channel name. */
name: string;
/** Whether or not synced Slack threads should be updated with a message when their Ask is accepted from triage. */
postAcceptedFromTriageUpdates?: boolean | null;
/** Whether or not synced Slack threads should be updated with a message and emoji when their Ask is canceled. */
postCancellationUpdates?: boolean | null;
/** Whether or not synced Slack threads should be updated with a message and emoji when their Ask is completed. */
postCompletionUpdates?: boolean | null;
/** Which teams are connected to the channel and settings for those teams. */
teams: SlackAsksTeamSettings[];
}
/**
* SsoUrlFromEmailResponse model
*
* @param request - function to call the graphql client
* @param data - L.SsoUrlFromEmailResponseFragment response data
*/
declare class SsoUrlFromEmailResponse extends Request {
constructor(request: LinearRequest, data: SsoUrlFromEmailResponseFragment);
/** SAML SSO sign-in URL. */
samlSsoUrl: string;
/** Whether the operation was successful. */
success: boolean;
}
/**
* Subscription model
*
* @param request - function to call the graphql client
* @param data - L.SubscriptionFragment response data
*/
declare class Subscription extends Request {
private _agentActivityArchived;
private _agentActivityCreated;
private _agentActivityUpdated;
private _agentSessionCreated;
private _agentSessionUpdated;
private _commentArchived;
private _commentCreated;
private _commentDeleted;
private _commentUnarchived;
private _commentUpdated;
private _cycleArchived;
private _cycleCreated;
private _cycleUpdated;
private _documentArchived;
private _documentCreated;
private _documentUnarchived;
private _documentUpdated;
private _favoriteCreated;
private _favoriteDeleted;
private _favoriteUpdated;
private _initiativeCreated;
private _initiativeDeleted;
private _initiativeUpdated;
private _issueArchived;
private _issueCreated;
private _issueLabelCreated;
private _issueLabelDeleted;
private _issueLabelUpdated;
private _issueRelationCreated;
private _issueRelationDeleted;
private _issueRelationUpdated;
private _issueUnarchived;
private _issueUpdated;
private _projectArchived;
private _projectCreated;
private _projectUnarchived;
private _projectUpdateArchived;
private _projectUpdateCreated;
private _projectUpdateDeleted;
private _projectUpdateUpdated;
private _projectUpdated;
private _roadmapCreated;
private _roadmapDeleted;
private _roadmapUpdated;
private _teamCreated;
private _teamDeleted;
private _teamMembershipCreated;
private _teamMembershipDeleted;
private _teamMembershipUpdated;
private _teamUpdated;
private _userCreated;
private _userUpdated;
private _workflowStateArchived;
private _workflowStateCreated;
private _workflowStateUpdated;
constructor(request: LinearRequest, data: SubscriptionFragment);
/** Triggered when a document content is created */
documentContentCreated: DocumentContent;
/** Triggered when a document content draft is created */
documentContentDraftCreated: DocumentContentDraft;
/** Triggered when a document content draft is deleted */
documentContentDraftDeleted: DocumentContentDraft;
/** Triggered when a document content draft is updated */
documentContentDraftUpdated: DocumentContentDraft;
/** Triggered when a document content revision is created */
documentContentRevisionCreated: DocumentContentRevision;
/** Triggered when a document content revision is deleted */
documentContentRevisionDeleted: DocumentContentRevision;
/** Triggered when a document content revision is updated */
documentContentRevisionUpdated: DocumentContentRevision;
/** Triggered when a document content is updated */
documentContentUpdated: DocumentContent;
/** Triggered when a draft is created */
draftCreated: Draft;
/** Triggered when a draft is deleted */
draftDeleted: Draft;
/** Triggered when a draft is updated */
draftUpdated: Draft;
/** Triggered when an issue history is created */
issueHistoryCreated: IssueHistory;
/** Triggered when an issue history is updated */
issueHistoryUpdated: IssueHistory;
/** Triggered when an agent activity is archived */
get agentActivityArchived(): LinearFetch<AgentActivity> | undefined;
/** The ID of triggered when an agent activity is archived */
get agentActivityArchivedId(): string | undefined;
/** Triggered when an agent activity is created */
get agentActivityCreated(): LinearFetch<AgentActivity> | undefined;
/** The ID of triggered when an agent activity is created */
get agentActivityCreatedId(): string | undefined;
/** Triggered when an agent activity is updated */
get agentActivityUpdated(): LinearFetch<AgentActivity> | undefined;
/** The ID of triggered when an agent activity is updated */
get agentActivityUpdatedId(): string | undefined;
/** Triggered when an agent session is created */
get agentSessionCreated(): LinearFetch<AgentSession> | undefined;
/** The ID of triggered when an agent session is created */
get agentSessionCreatedId(): string | undefined;
/** Triggered when an agent session is updated */
get agentSessionUpdated(): LinearFetch<AgentSession> | undefined;
/** The ID of triggered when an agent session is updated */
get agentSessionUpdatedId(): string | undefined;
/** Triggered when a comment is archived */
get commentArchived(): LinearFetch<Comment> | undefined;
/** The ID of triggered when a comment is archived */
get commentArchivedId(): string | undefined;
/** Triggered when a comment is created */
get commentCreated(): LinearFetch<Comment> | undefined;
/** The ID of triggered when a comment is created */
get commentCreatedId(): string | undefined;
/** Triggered when a comment is deleted */
get commentDeleted(): LinearFetch<Comment> | undefined;
/** The ID of triggered when a comment is deleted */
get commentDeletedId(): string | undefined;
/** Triggered when a a comment is unarchived */
get commentUnarchived(): LinearFetch<Comment> | undefined;
/** The ID of triggered when a a comment is unarchived */
get commentUnarchivedId(): string | undefined;
/** Triggered when a comment is updated */
get commentUpdated(): LinearFetch<Comment> | undefined;
/** The ID of triggered when a comment is updated */
get commentUpdatedId(): string | undefined;
/** Triggered when a cycle is archived */
get cycleArchived(): LinearFetch<Cycle> | undefined;
/** The ID of triggered when a cycle is archived */
get cycleArchivedId(): string | undefined;
/** Triggered when a cycle is created */
get cycleCreated(): LinearFetch<Cycle> | undefined;
/** The ID of triggered when a cycle is created */
get cycleCreatedId(): string | undefined;
/** Triggered when a cycle is updated */
get cycleUpdated(): LinearFetch<Cycle> | undefined;
/** The ID of triggered when a cycle is updated */
get cycleUpdatedId(): string | undefined;
/** Triggered when a document is archived */
get documentArchived(): LinearFetch<Document> | undefined;
/** The ID of triggered when a document is archived */
get documentArchivedId(): string | undefined;
/** Triggered when a document is created */
get documentCreated(): LinearFetch<Document> | undefined;
/** The ID of triggered when a document is created */
get documentCreatedId(): string | undefined;
/** Triggered when a a document is unarchived */
get documentUnarchived(): LinearFetch<Document> | undefined;
/** The ID of triggered when a a document is unarchived */
get documentUnarchivedId(): string | undefined;
/** Triggered when a document is updated */
get documentUpdated(): LinearFetch<Document> | undefined;
/** The ID of triggered when a document is updated */
get documentUpdatedId(): string | undefined;
/** Triggered when a favorite is created */
get favoriteCreated(): LinearFetch<Favorite> | undefined;
/** The ID of triggered when a favorite is created */
get favoriteCreatedId(): string | undefined;
/** Triggered when a favorite is deleted */
get favoriteDeleted(): LinearFetch<Favorite> | undefined;
/** The ID of triggered when a favorite is deleted */
get favoriteDeletedId(): string | undefined;
/** Triggered when a favorite is updated */
get favoriteUpdated(): LinearFetch<Favorite> | undefined;
/** The ID of triggered when a favorite is updated */
get favoriteUpdatedId(): string | undefined;
/** Triggered when an initiative is created */
get initiativeCreated(): LinearFetch<Initiative> | undefined;
/** The ID of triggered when an initiative is created */
get initiativeCreatedId(): string | undefined;
/** Triggered when an initiative is deleted */
get initiativeDeleted(): LinearFetch<Initiative> | undefined;
/** The ID of triggered when an initiative is deleted */
get initiativeDeletedId(): string | undefined;
/** Triggered when an initiative is updated */
get initiativeUpdated(): LinearFetch<Initiative> | undefined;
/** The ID of triggered when an initiative is updated */
get initiativeUpdatedId(): string | undefined;
/** Triggered when an issue is archived */
get issueArchived(): LinearFetch<Issue> | undefined;
/** The ID of triggered when an issue is archived */
get issueArchivedId(): string | undefined;
/** Triggered when an issue is created */
get issueCreated(): LinearFetch<Issue> | undefined;
/** The ID of triggered when an issue is created */
get issueCreatedId(): string | undefined;
/** Triggered when an issue label is created */
get issueLabelCreated(): LinearFetch<IssueLabel> | undefined;
/** The ID of triggered when an issue label is created */
get issueLabelCreatedId(): string | undefined;
/** Triggered when an issue label is deleted */
get issueLabelDeleted(): LinearFetch<IssueLabel> | undefined;
/** The ID of triggered when an issue label is deleted */
get issueLabelDeletedId(): string | undefined;
/** Triggered when an issue label is updated */
get issueLabelUpdated(): LinearFetch<IssueLabel> | undefined;
/** The ID of triggered when an issue label is updated */
get issueLabelUpdatedId(): string | undefined;
/** Triggered when an issue relation is created */
get issueRelationCreated(): LinearFetch<IssueRelation> | undefined;
/** The ID of triggered when an issue relation is created */
get issueRelationCreatedId(): string | undefined;
/** Triggered when an issue relation is deleted */
get issueRelationDeleted(): LinearFetch<IssueRelation> | undefined;
/** The ID of triggered when an issue relation is deleted */
get issueRelationDeletedId(): string | undefined;
/** Triggered when an issue relation is updated */
get issueRelationUpdated(): LinearFetch<IssueRelation> | undefined;
/** The ID of triggered when an issue relation is updated */
get issueRelationUpdatedId(): string | undefined;
/** Triggered when a an issue is unarchived */
get issueUnarchived(): LinearFetch<Issue> | undefined;
/** The ID of triggered when a an issue is unarchived */
get issueUnarchivedId(): string | undefined;
/** Triggered when an issue is updated */
get issueUpdated(): LinearFetch<Issue> | undefined;
/** The ID of triggered when an issue is updated */
get issueUpdatedId(): string | undefined;
/** Triggered when an organization is updated */
get organizationUpdated(): LinearFetch<Organization>;
/** Triggered when a project is archived */
get projectArchived(): LinearFetch<Project> | undefined;
/** The ID of triggered when a project is archived */
get projectArchivedId(): string | undefined;
/** Triggered when a project is created */
get projectCreated(): LinearFetch<Project> | undefined;
/** The ID of triggered when a project is created */
get projectCreatedId(): string | undefined;
/** Triggered when a a project is unarchived */
get projectUnarchived(): LinearFetch<Project> | undefined;
/** The ID of triggered when a a project is unarchived */
get projectUnarchivedId(): string | undefined;
/** Triggered when a project update is archived */
get projectUpdateArchived(): LinearFetch<ProjectUpdate> | undefined;
/** The ID of triggered when a project update is archived */
get projectUpdateArchivedId(): string | undefined;
/** Triggered when a project update is created */
get projectUpdateCreated(): LinearFetch<ProjectUpdate> | undefined;
/** The ID of triggered when a project update is created */
get projectUpdateCreatedId(): string | undefined;
/** Triggered when a project update is deleted */
get projectUpdateDeleted(): LinearFetch<ProjectUpdate> | undefined;
/** The ID of triggered when a project update is deleted */
get projectUpdateDeletedId(): string | undefined;
/** Triggered when a project update is updated */
get projectUpdateUpdated(): LinearFetch<ProjectUpdate> | undefined;
/** The ID of triggered when a project update is updated */
get projectUpdateUpdatedId(): string | undefined;
/** Triggered when a project is updated */
get projectUpdated(): LinearFetch<Project> | undefined;
/** The ID of triggered when a project is updated */
get projectUpdatedId(): string | undefined;
/** Triggered when a roadmap is created */
get roadmapCreated(): LinearFetch<Roadmap> | undefined;
/** The ID of triggered when a roadmap is created */
get roadmapCreatedId(): string | undefined;
/** Triggered when a roadmap is deleted */
get roadmapDeleted(): LinearFetch<Roadmap> | undefined;
/** The ID of triggered when a roadmap is deleted */
get roadmapDeletedId(): string | undefined;
/** Triggered when a roadmap is updated */
get roadmapUpdated(): LinearFetch<Roadmap> | undefined;
/** The ID of triggered when a roadmap is updated */
get roadmapUpdatedId(): string | undefined;
/** Triggered when a team is created */
get teamCreated(): LinearFetch<Team> | undefined;
/** The ID of triggered when a team is created */
get teamCreatedId(): string | undefined;
/** Triggered when a team is deleted */
get teamDeleted(): LinearFetch<Team> | undefined;
/** The ID of triggered when a team is deleted */
get teamDeletedId(): string | undefined;
/** Triggered when a team membership is created */
get teamMembershipCreated(): LinearFetch<TeamMembership> | undefined;
/** The ID of triggered when a team membership is created */
get teamMembershipCreatedId(): string | undefined;
/** Triggered when a team membership is deleted */
get teamMembershipDeleted(): LinearFetch<TeamMembership> | undefined;
/** The ID of triggered when a team membership is deleted */
get teamMembershipDeletedId(): string | undefined;
/** Triggered when a team membership is updated */
get teamMembershipUpdated(): LinearFetch<TeamMembership> | undefined;
/** The ID of triggered when a team membership is updated */
get teamMembershipUpdatedId(): string | undefined;
/** Triggered when a team is updated */
get teamUpdated(): LinearFetch<Team> | undefined;
/** The ID of triggered when a team is updated */
get teamUpdatedId(): string | undefined;
/** Triggered when an user is created */
get userCreated(): LinearFetch<User> | undefined;
/** The ID of triggered when an user is created */
get userCreatedId(): string | undefined;
/** Triggered when an user settings is updated */
get userSettingsUpdated(): LinearFetch<UserSettings>;
/** Triggered when an user is updated */
get userUpdated(): LinearFetch<User> | undefined;
/** The ID of triggered when an user is updated */
get userUpdatedId(): string | undefined;
/** Triggered when a workflow state is archived */
get workflowStateArchived(): LinearFetch<WorkflowState> | undefined;
/** The ID of triggered when a workflow state is archived */
get workflowStateArchivedId(): string | undefined;
/** Triggered when a workflow state is created */
get workflowStateCreated(): LinearFetch<WorkflowState> | undefined;
/** The ID of triggered when a workflow state is created */
get workflowStateCreatedId(): string | undefined;
/** Triggered when a workflow state is updated */
get workflowStateUpdated(): LinearFetch<WorkflowState> | undefined;
/** The ID of triggered when a workflow state is updated */
get workflowStateUpdatedId(): string | undefined;
}
/**
* SuccessPayload model
*
* @param request - function to call the graphql client
* @param data - L.SuccessPayloadFragment response data
*/
declare class SuccessPayload extends Request {
constructor(request: LinearRequest, data: SuccessPayloadFragment);
/** The identifier of the last sync operation. */
lastSyncId: number;
/** Whether the operation was successful. */
success: boolean;
}
/**
* An AI-generated summary of an issue. Each issue can have at most one summary. The summary content is stored as ProseMirror data and tracks its generation status and timing.
*
* @param request - function to call the graphql client
* @param data - L.SummaryFragment response data
*/
declare class Summary extends Request {
private _issue;
constructor(request: LinearRequest, data: SummaryFragment);
/** The time at which the entity was archived. Null if the entity has not been archived. */
archivedAt?: Date | null;
/** The summary content as a ProseMirror document containing the AI-generated summary text. */
content: Scalars["JSONObject"];
/** The time at which the entity was created. */
createdAt: Date;
/** The evaluation log ID for this summary generation, used for tracking and debugging AI output quality. Null if not available. */
evalLogId?: string | null;
/** The time at which the summary content was generated or last regenerated. */
generatedAt: Date;
/** The unique identifier of the entity. */
id: string;
/**
* The last time at which the entity was meaningfully updated. This is the same as the creation time if the entity hasn't
* been updated after creation.
*/
updatedAt: Date;
/** The current generation status of the summary, indicating whether generation is in progress, completed, or failed. */
generationStatus: SummaryGenerationStatus;
/** The issue that this summary was generated for. */
get issue(): LinearFetch<Issue> | undefined;
/** The ID of issue that this summary was generated for. */
get issueId(): string | undefined;
}
/**
* A comment thread that is synced with an external source such as Slack, Jira, GitHub, Salesforce, or email. Provides information about the external thread's origin, its current sync status, and whether the user has the necessary personal integration connected to participate in the thread.
*
* @param request - function to call the graphql client
* @param data - L.SyncedExternalThreadFragment response data
*/
declare class SyncedExternalThread extends Request {
constructor(request: LinearRequest, data: SyncedExternalThreadFragment);
/** A human-readable display name for the thread, derived from the external source. For Slack threads this is the channel name, for Jira it's the issue key, for email it's the sender name and count of other participants. */
displayName?: string | null;
/** The unique identifier of this synced external thread. Auto-generated if not provided. */
id?: string | null;
/** Whether this thread is currently syncing comments bidirectionally with the external service. False if the external entity relation has been removed or if the thread was explicitly unsynced. */
isConnected: boolean;
/** Whether the current user has a working personal integration connected for the external service. For example, whether they have connected their personal Jira, GitHub, or Slack account. A connected personal integration may still return false if it has an authentication error. */
isPersonalIntegrationConnected: boolean;
/** Whether a connected personal integration is required to post comments in this synced thread. True for Jira and GitHub threads, where comments must be attributed to a specific user in the external system. False for Slack and other services where the workspace integration can post on behalf of users. */
isPersonalIntegrationRequired: boolean;
/** A human-readable display name for the external source (e.g., 'Slack', 'Jira', 'GitHub'). */
name?: string | null;
/** The specific integration service for the external source (e.g., 'slack', 'jira', 'github', 'salesforce'). Null if the source type does not have a sub-type. */
subType?: string | null;
/** The category of the external source (e.g., 'integration' for service integrations, 'email' for email-based threads). */
type: string;
/** A URL linking to the thread in the external service. For example, a Slack message permalink, a Jira issue URL, or a GitHub issue URL. */
url?: string | null;
}
/**
* A team is the primary organizational unit in Linear. Issues belong to teams, and each team has its own workflow states, cycles, labels, and settings. Teams can be public (visible to all workspace members), private (visible only to team members), or restricted (visible only within an enclosing private-team boundary). Teams can also have sub-teams that inherit settings from their parent.
*
* @param request - function to call the graphql client
* @param data - L.TeamFragment response data
*/
declare class Team extends Request {
private _activeCycle?;
private _defaultIssueState?;
private _defaultProjectTemplate?;
private _defaultTemplateForMembers?;
private _defaultTemplateForNonMembers?;
private _draftWorkflowState?;
private _integrationsSettings?;
private _markedAsDuplicateWorkflowState?;
private _mergeWorkflowState?;
private _mergeableWorkflowState?;
private _parent?;
private _reviewWorkflowState?;
private _startWorkflowState?;
private _triageIssueState?;
private _triageResponsibility?;
constructor(request: LinearRequest, data: TeamFragment);
/** Whether to enable AI discussion summaries for issues in this team. */
aiDiscussionSummariesEnabled: boolean;
/** Whether to enable resolved thread AI summaries. */
aiThreadSummariesEnabled: boolean;
/** Whether all members in the workspace can join the team. Only used for public teams. */
allMembersCanJoin?: boolean | null;
/** The time at which the entity was archived. Null if the entity has not been archived. */
archivedAt?: Date | null;
/** Period after which automatically closed, completed, and duplicate issues are automatically archived in months. */
autoArchivePeriod: number;
/** Whether child issues should automatically close when their parent issue is closed */
autoCloseChildIssues?: boolean | null;
/** Whether parent issues should automatically close when all child issues are closed */
autoCloseParentIssues?: boolean | null;
/** Period after which issues are automatically closed in months. Null/undefined means disabled. */
autoClosePeriod?: number | null;
/** The canceled workflow state which auto closed issues will be set to. Defaults to the first canceled state. */
autoCloseStateId?: string | null;
/** The team's color. */
color?: string | null;
/** The time at which the entity was created. */
createdAt: Date;
/** Calendar feed URL (iCal) for cycles. */
cycleCalenderUrl: string;
/** The cooldown time after each cycle in weeks. */
cycleCooldownTime: number;
/** The duration of each cycle in weeks. */
cycleDuration: number;
/** Auto assign completed issues to current cycle. */
cycleIssueAutoAssignCompleted: boolean;
/** Auto assign started issues to current cycle. */
cycleIssueAutoAssignStarted: boolean;
/** Auto assign issues to current cycle if in active status. */
cycleLockToActive: boolean;
/** The day of the week that a new cycle starts (0 = Sunday, 1 = Monday, ..., 6 = Saturday). */
cycleStartDay: number;
/** Whether the team uses cycles for sprint-style issue management. */
cyclesEnabled: boolean;
/** What to use as a default estimate for unestimated issues. */
defaultIssueEstimate: number;
/** The id of the default template to use for new issues created by members of the team. */
defaultTemplateForMembersId?: string | null;
/** The id of the default template to use for new issues created by non-members of the team. */
defaultTemplateForNonMembersId?: string | null;
/** The team's description. */
description?: string | null;
/** The name of the team including its parent team name if it has one. */
displayName: string;
/** Whether to group recent issue history entries. */
groupIssueHistory: boolean;
/** The icon of the team. */
icon?: string | null;
/** The unique identifier of the entity. */
id: string;
/** Whether the team should inherit its estimation settings from its parent. Only applies to sub-teams. */
inheritIssueEstimation: boolean;
/** Whether the team should inherit its workflow statuses from its parent. Only applies to sub-teams. */
inheritWorkflowStatuses: boolean;
/** [DEPRECATED] Unique hash for the team to be used in invite URLs. */
inviteHash: string;
/** The total number of issues in the team. By default excludes archived issues; use the includeArchived argument to include them. */
issueCount: number;
/** Whether to allow zeros in issues estimates. */
issueEstimationAllowZero: boolean;
/** Whether to add additional points to the estimate scale. */
issueEstimationExtended: boolean;
/** The issue estimation type to use. Must be one of "notUsed", "exponential", "fibonacci", "linear", "tShirt". */
issueEstimationType: string;
/** [DEPRECATED] Whether issues without priority should be sorted first. */
issueOrderingNoPriorityFirst: boolean;
/** [DEPRECATED] Whether to move issues to bottom of the column when changing state. */
issueSortOrderDefaultToBottom: boolean;
/** The team's unique key, used as a prefix in issue identifiers (e.g., 'ENG' in 'ENG-123') and in URLs. */
key: string;
/** The number of initiatives led by this team that would be deleted along with it. Counts every led initiative, including ones not otherwise visible to the caller, to mirror what deleting the team cascades. */
ledInitiativeCount: number;
/** The team's name. */
name: string;
/** Whether the team is private. Private teams are only visible to their members and require an explicit invitation to join. */
private: boolean;
/** Whether an issue needs to have a priority set before leaving triage. */
requirePriorityToLeaveTriage: boolean;
/** The time at which the team was retired. Retired teams no longer accept new issues or members. Null if the team has not been retired. */
retiredAt?: Date | null;
/** The SCIM group name for the team. */
scimGroupName?: string | null;
/** Whether the team is managed by a SCIM integration. SCIM-managed teams have their membership controlled by the identity provider. */
scimManaged: boolean;
/** Security settings for the team, including role-based restrictions for issue sharing, label management, member management, template management, and agent skills. */
securitySettings: Scalars["JSONObject"];
/** Where to move issues when changing state. */
setIssueSortOrderOnStateChange: string;
/** Whether to send new issue comment notifications to Slack. */
slackIssueComments: boolean;
/** Whether to send new issue status updates to Slack. */
slackIssueStatuses: boolean;
/** Whether to send new issue notifications to Slack. */
slackNewIssue: boolean;
/** The timezone of the team. Defaults to "America/Los_Angeles" */
timezone: string;
/** Whether triage mode is enabled for the team. When enabled, issues created by non-members or integrations are routed to a triage state for review before entering the normal workflow. */
triageEnabled: boolean;
/** How many upcoming cycles to create. */
upcomingCycleCount: number;
/**
* The last time at which the entity was meaningfully updated. This is the same as the creation time if the entity hasn't
* been updated after creation.
*/
updatedAt: Date;
/** The visibility of the team. Returns public for teams visible to all workspace members, private for teams visible only to members, and restricted for non-private teams inside a private-team boundary. */
visibility: TeamVisibility;
/** Team's currently active cycle. */
get activeCycle(): LinearFetch<Cycle> | undefined;
/** The ID of team's currently active cycle. */
get activeCycleId(): string | undefined;
/** The default workflow state into which issues are set when they are opened by team members. */
get defaultIssueState(): LinearFetch<WorkflowState> | undefined;
/** The ID of default workflow state into which issues are set when they are opened by team members. */
get defaultIssueStateId(): string | undefined;
/** The default template to use for new projects created for the team. */
get defaultProjectTemplate(): LinearFetch<Template> | undefined;
/** The ID of default template to use for new projects created for the team. */
get defaultProjectTemplateId(): string | undefined;
/** The default template to use for new issues created by members of the team. */
get defaultTemplateForMembers(): LinearFetch<Template> | undefined;
/** The default template to use for new issues created by non-members of the team. */
get defaultTemplateForNonMembers(): LinearFetch<Template> | undefined;
/** The workflow state into which issues are moved when a PR has been opened as draft. */
get draftWorkflowState(): LinearFetch<WorkflowState> | undefined;
/** The ID of workflow state into which issues are moved when a pr has been opened as draft. */
get draftWorkflowStateId(): string | undefined;
/** Settings for all integrations associated with that team. */
get integrationsSettings(): LinearFetch<IntegrationsSettings> | undefined;
/** The ID of settings for all integrations associated with that team. */
get integrationsSettingsId(): string | undefined;
/** [DEPRECATED] No longer in use. Duplicates are now system-managed via the native duplicate state. */
get markedAsDuplicateWorkflowState(): LinearFetch<WorkflowState> | undefined;
/** The ID of [deprecated] no longer in use. duplicates are now system-managed via the native duplicate state. */
get markedAsDuplicateWorkflowStateId(): string | undefined;
/** The workflow state into which issues are moved when a PR has been merged. */
get mergeWorkflowState(): LinearFetch<WorkflowState> | undefined;
/** The ID of workflow state into which issues are moved when a pr has been merged. */
get mergeWorkflowStateId(): string | undefined;
/** The workflow state into which issues are moved when a PR is ready to be merged. */
get mergeableWorkflowState(): LinearFetch<WorkflowState> | undefined;
/** The ID of workflow state into which issues are moved when a pr is ready to be merged. */
get mergeableWorkflowStateId(): string | undefined;
/** The workspace that the team belongs to. */
get organization(): LinearFetch<Organization>;
/** The team's parent team. */
get parent(): LinearFetch<Team> | undefined;
/** The ID of team's parent team. */
get parentId(): string | undefined;
/** The workflow state into which issues are moved when a review has been requested for the PR. */
get reviewWorkflowState(): LinearFetch<WorkflowState> | undefined;
/** The ID of workflow state into which issues are moved when a review has been requested for the pr. */
get reviewWorkflowStateId(): string | undefined;
/** The workflow state into which issues are moved when a PR has been opened. */
get startWorkflowState(): LinearFetch<WorkflowState> | undefined;
/** The ID of workflow state into which issues are moved when a pr has been opened. */
get startWorkflowStateId(): string | undefined;
/** The workflow state into which issues are set when they are opened by non-team members or integrations if triage is enabled. */
get triageIssueState(): LinearFetch<WorkflowState> | undefined;
/** The ID of workflow state into which issues are set when they are opened by non-team members or integrations if triage is enabled. */
get triageIssueStateId(): string | undefined;
/** Team's triage responsibility. */
get triageResponsibility(): LinearFetch<TriageResponsibility> | undefined;
/** The ID of team's triage responsibility. */
get triageResponsibilityId(): string | undefined;
/** Cycles associated with the team. */
cycles(variables?: Omit<Team_CyclesQueryVariables, "id">): LinearFetch<CycleConnection>;
/** The Git automation states for the team. */
gitAutomationStates(variables?: Omit<Team_GitAutomationStatesQueryVariables, "id">): LinearFetch<GitAutomationStateConnection>;
/** Issues belonging to the team. Supports filtering and optional inclusion of sub-team issues. */
issues(variables?: Omit<Team_IssuesQueryVariables, "id">): LinearFetch<IssueConnection>;
/** Labels associated with the team. */
labels(variables?: Omit<Team_LabelsQueryVariables, "id">): LinearFetch<IssueLabelConnection>;
/** Users who are members of this team. Supports filtering and pagination. */
members(variables?: Omit<Team_MembersQueryVariables, "id">): LinearFetch<UserConnection>;
/** Memberships associated with the team. For easier access of the same data, use `members` query. */
memberships(variables?: Omit<Team_MembershipsQueryVariables, "id">): LinearFetch<TeamMembershipConnection>;
/** Projects associated with the team. */
projects(variables?: Omit<Team_ProjectsQueryVariables, "id">): LinearFetch<ProjectConnection>;
/** Release pipelines associated with the team. */
releasePipelines(variables?: Omit<Team_ReleasePipelinesQueryVariables, "id">): LinearFetch<ReleasePipelineConnection>;
/** The states that define the workflow associated with the team. */
states(variables?: Omit<Team_StatesQueryVariables, "id">): LinearFetch<WorkflowStateConnection>;
/** Templates associated with the team. */
templates(variables?: Omit<Team_TemplatesQueryVariables, "id">): LinearFetch<TemplateConnection>;
/** Webhooks associated with the team. */
webhooks(variables?: Omit<Team_WebhooksQueryVariables, "id">): LinearFetch<WebhookConnection>;
/** Creates a new team. The user who creates the team will automatically be added as a member and owner of the newly created team. Default workflow states, labels, and other team resources are created alongside the team. */
create(input: TeamCreateInput, variables?: Omit<CreateTeamMutationVariables, "input">): LinearFetch<TeamPayload>;
/** Archives a team and schedules its data for deletion. Requires team owner or workspace admin permissions. */
delete(): LinearFetch<DeletePayload>;
/** Unarchives a team and cancels deletion. */
unarchive(): LinearFetch<TeamArchivePayload>;
/** Updates a team's settings, properties, or configuration. Requires team owner or workspace admin permissions for most changes. */
update(input: TeamUpdateInput, variables?: Omit<UpdateTeamMutationVariables, "id" | "input">): LinearFetch<TeamPayload>;
}
/**
* A generic payload return from entity archive mutations.
*
* @param request - function to call the graphql client
* @param data - L.TeamArchivePayloadFragment response data
*/
declare class TeamArchivePayload extends Request {
private _entity?;
constructor(request: LinearRequest, data: TeamArchivePayloadFragment);
/** The identifier of the last sync operation. */
lastSyncId: number;
/** Whether the operation was successful. */
success: boolean;
/** The archived/unarchived entity. Null if entity was deleted. */
get entity(): LinearFetch<Team> | undefined;
/** The ID of archived/unarchived entity. null if entity was deleted. */
get entityId(): string | undefined;
}
/**
* Certain properties of a team.
*
* @param data - L.TeamChildWebhookPayloadFragment response data
*/
declare class TeamChildWebhookPayload {
constructor(data: TeamChildWebhookPayloadFragment);
/** The ID of the team. */
id: string;
/** The key of the team. */
key: string;
/** The name of the team. */
name: string;
}
/**
* TeamConnection model
*
* @param request - function to call the graphql client
* @param fetch - function to trigger a refetch of this TeamConnection model
* @param data - TeamConnection response data
*/
declare class TeamConnection extends Connection<Team> {
constructor(request: LinearRequest, fetch: (connection?: LinearConnectionVariables) => LinearFetch<LinearConnection<Team> | undefined>, data: TeamConnectionFragment);
}
/**
* A join entity that defines a user's membership in a team. Each membership record links a user to a team and tracks whether the user is a team owner. Users can be members of multiple teams, and their memberships determine which teams' issues and resources they can access.
*
* @param request - function to call the graphql client
* @param data - L.TeamMembershipFragment response data
*/
declare class TeamMembership extends Request {
private _team;
private _user;
constructor(request: LinearRequest, data: TeamMembershipFragment);
/** The time at which the entity was archived. Null if the entity has not been archived. */
archivedAt?: Date | null;
/** The time at which the entity was created. */
createdAt: Date;
/** The unique identifier of the entity. */
id: string;
/** Whether the user is an owner of the team. Team owners have elevated permissions for managing team settings, members, and resources. */
owner: boolean;
/** The sort order of this team in the user's personal team list. Lower values appear first. */
sortOrder: number;
/**
* The last time at which the entity was meaningfully updated. This is the same as the creation time if the entity hasn't
* been updated after creation.
*/
updatedAt: Date;
/** The team that the membership is associated with. */
get team(): LinearFetch<Team> | undefined;
/** The ID of team that the membership is associated with. */
get teamId(): string | undefined;
/** The user that the membership is associated with. */
get user(): LinearFetch<User> | undefined;
/** The ID of user that the membership is associated with. */
get userId(): string | undefined;
/** Creates a new team membership, adding a user to a team. Validates that the user is not already a member, the team is not archived or retired, and the requesting user has permission to add members. */
create(input: TeamMembershipCreateInput): LinearFetch<TeamMembershipPayload>;
/** Deletes a team membership, removing the user from the team. Users can remove their own membership, or team owners and workspace admins can remove other members. */
delete(variables?: Omit<DeleteTeamMembershipMutationVariables, "id">): LinearFetch<DeletePayload>;
/** Updates a team membership, such as changing ownership status or sort order. */
update(input: TeamMembershipUpdateInput): LinearFetch<TeamMembershipPayload>;
}
/**
* TeamMembershipConnection model
*
* @param request - function to call the graphql client
* @param fetch - function to trigger a refetch of this TeamMembershipConnection model
* @param data - TeamMembershipConnection response data
*/
declare class TeamMembershipConnection extends Connection<TeamMembership> {
constructor(request: LinearRequest, fetch: (connection?: LinearConnectionVariables) => LinearFetch<LinearConnection<TeamMembership> | undefined>, data: TeamMembershipConnectionFragment);
}
/**
* Team membership operation response.
*
* @param request - function to call the graphql client
* @param data - L.TeamMembershipPayloadFragment response data
*/
declare class TeamMembershipPayload extends Request {
private _teamMembership?;
constructor(request: LinearRequest, data: TeamMembershipPayloadFragment);
/** The identifier of the last sync operation. */
lastSyncId: number;
/** Whether the operation was successful. */
success: boolean;
/** The team membership that was created or updated. */
get teamMembership(): LinearFetch<TeamMembership> | undefined;
/** The ID of team membership that was created or updated. */
get teamMembershipId(): string | undefined;
}
/**
* A notification subscription scoped to a specific team. The subscriber receives notifications for events related to issues and activity in this team.
*
* @param request - function to call the graphql client
* @param data - L.TeamNotificationSubscriptionFragment response data
*/
declare class TeamNotificationSubscription extends Request {
private _customView?;
private _customer?;
private _cycle?;
private _initiative?;
private _label?;
private _project?;
private _subscriber;
private _team;
private _user?;
constructor(request: LinearRequest, data: TeamNotificationSubscriptionFragment);
/** Whether the subscription is active. When inactive, no notifications are generated from this subscription even though it still exists. */
active: boolean;
/** The time at which the entity was archived. Null if the entity has not been archived. */
archivedAt?: Date | null;
/** The time at which the entity was created. */
createdAt: Date;
/** The unique identifier of the entity. */
id: string;
/** The notification event types that this subscription will deliver to the subscriber. */
notificationSubscriptionTypes: string[];
/**
* The last time at which the entity was meaningfully updated. This is the same as the creation time if the entity hasn't
* been updated after creation.
*/
updatedAt: Date;
/** The type of contextual view (e.g., active issues, backlog) that further scopes a team notification subscription. Null if the subscription is not associated with a specific view type. */
contextViewType?: ContextViewType | null;
/** The type of user-specific view that further scopes a user notification subscription. Null if the subscription is not associated with a user view type. */
userContextViewType?: UserContextViewType | null;
/** The custom view that this notification subscription is scoped to. Null if the subscription targets a different entity type. */
get customView(): LinearFetch<CustomView> | undefined;
/** The ID of custom view that this notification subscription is scoped to. null if the subscription targets a different entity type. */
get customViewId(): string | undefined;
/** The customer that this notification subscription is scoped to. Null if the subscription targets a different entity type. */
get customer(): LinearFetch<Customer> | undefined;
/** The ID of customer that this notification subscription is scoped to. null if the subscription targets a different entity type. */
get customerId(): string | undefined;
/** The cycle that this notification subscription is scoped to. Null if the subscription targets a different entity type. */
get cycle(): LinearFetch<Cycle> | undefined;
/** The ID of cycle that this notification subscription is scoped to. null if the subscription targets a different entity type. */
get cycleId(): string | undefined;
/** The initiative that this notification subscription is scoped to. Null if the subscription targets a different entity type. */
get initiative(): LinearFetch<Initiative> | undefined;
/** The ID of initiative that this notification subscription is scoped to. null if the subscription targets a different entity type. */
get initiativeId(): string | undefined;
/** The issue label that this notification subscription is scoped to. Null if the subscription targets a different entity type. */
get label(): LinearFetch<IssueLabel> | undefined;
/** The ID of issue label that this notification subscription is scoped to. null if the subscription targets a different entity type. */
get labelId(): string | undefined;
/** The project that this notification subscription is scoped to. Null if the subscription targets a different entity type. */
get project(): LinearFetch<Project> | undefined;
/** The ID of project that this notification subscription is scoped to. null if the subscription targets a different entity type. */
get projectId(): string | undefined;
/** The user who will receive notifications from this subscription. */
get subscriber(): LinearFetch<User> | undefined;
/** The ID of user who will receive notifications from this subscription. */
get subscriberId(): string | undefined;
/** The team subscribed to. */
get team(): LinearFetch<Team> | undefined;
/** The ID of team subscribed to. */
get teamId(): string | undefined;
/** The user that this notification subscription is scoped to, for user-specific view subscriptions. Null if the subscription targets a different entity type. */
get user(): LinearFetch<User> | undefined;
/** The ID of user that this notification subscription is scoped to, for user-specific view subscriptions. null if the subscription targets a different entity type. */
get userId(): string | undefined;
}
/**
* Team origin for guidance rules.
*
* @param data - L.TeamOriginWebhookPayloadFragment response data
*/
declare class TeamOriginWebhookPayload {
constructor(data: TeamOriginWebhookPayloadFragment);
/** The type of origin, always 'Team'. */
type: string;
/** The team that the guidance was defined in. */
team: TeamWithParentWebhookPayload;
}
/**
* Team operation response.
*
* @param request - function to call the graphql client
* @param data - L.TeamPayloadFragment response data
*/
declare class TeamPayload extends Request {
private _team?;
constructor(request: LinearRequest, data: TeamPayloadFragment);
/** The identifier of the last sync operation. */
lastSyncId: number;
/** Whether the operation was successful. */
success: boolean;
/** The team that was created or updated. */
get team(): LinearFetch<Team> | undefined;
/** The ID of team that was created or updated. */
get teamId(): string | undefined;
}
/**
* References a document or external link pinned to a team home for quick access. Pinning does not move the underlying resource; the same resource may be pinned on multiple teams.
*
* @param request - function to call the graphql client
* @param data - L.TeamPinnedResourceFragment response data
*/
declare class TeamPinnedResource extends Request {
private _creator?;
private _document?;
private _entityExternalLink?;
private _team;
private _updatedBy?;
constructor(request: LinearRequest, data: TeamPinnedResourceFragment);
/** The time at which the entity was archived. Null if the entity has not been archived. */
archivedAt?: Date | null;
/** The time at which the entity was created. */
createdAt: Date;
/** The unique identifier of the entity. */
id: string;
/** Sort order of this pin among pins with the same team and section (including pins without a section). */
sortOrder: number;
/**
* The last time at which the entity was meaningfully updated. This is the same as the creation time if the entity hasn't
* been updated after creation.
*/
updatedAt: Date;
/** The section this pin is grouped under on the team home. Null if the pin is not inside a section. */
section?: TeamResourceSection | null;
/** The user who created the pin. Null if the user was deleted. */
get creator(): LinearFetch<User> | undefined;
/** The ID of user who created the pin. null if the user was deleted. */
get creatorId(): string | undefined;
/** The pinned document, when the pin targets a document. */
get document(): LinearFetch<Document> | undefined;
/** The ID of pinned document, when the pin targets a document. */
get documentId(): string | undefined;
/** The pinned external link, when the pin targets a link. */
get entityExternalLink(): LinearFetch<EntityExternalLink> | undefined;
/** The ID of pinned external link, when the pin targets a link. */
get entityExternalLinkId(): string | undefined;
/** The team home where this pin appears. */
get team(): LinearFetch<Team> | undefined;
/** The ID of team home where this pin appears. */
get teamId(): string | undefined;
/** The user who last updated the pin. Null if the user was deleted. */
get updatedBy(): LinearFetch<User> | undefined;
/** The ID of user who last updated the pin. null if the user was deleted. */
get updatedById(): string | undefined;
}
/**
* A titled section on a team home that groups pinned resources (documents and external links). Sections are specific to the team home and do not change where resources live in their source team or project.
*
* @param request - function to call the graphql client
* @param data - L.TeamResourceSectionFragment response data
*/
declare class TeamResourceSection extends Request {
private _creator?;
private _team;
private _updatedBy?;
constructor(request: LinearRequest, data: TeamResourceSectionFragment);
/** The time at which the entity was archived. Null if the entity has not been archived. */
archivedAt?: Date | null;
/** The time at which the entity was created. */
createdAt: Date;
/** The unique identifier of the entity. */
id: string;
/** Sort order of this section among other sections on the same team home. */
sortOrder: number;
/** The section title shown on the team home. */
title: string;
/**
* The last time at which the entity was meaningfully updated. This is the same as the creation time if the entity hasn't
* been updated after creation.
*/
updatedAt: Date;
/** The user who created the section. Null if the creator was deleted. */
get creator(): LinearFetch<User> | undefined;
/** The ID of user who created the section. null if the creator was deleted. */
get creatorId(): string | undefined;
/** The team whose home page owns this section. */
get team(): LinearFetch<Team> | undefined;
/** The ID of team whose home page owns this section. */
get teamId(): string | undefined;
/** The user who last updated the section. Null if the user was deleted. */
get updatedBy(): LinearFetch<User> | undefined;
/** The ID of user who last updated the section. null if the user was deleted. */
get updatedById(): string | undefined;
}
/**
* Team properties including parent information for guidance rules.
*
* @param data - L.TeamWithParentWebhookPayloadFragment response data
*/
declare class TeamWithParentWebhookPayload {
constructor(data: TeamWithParentWebhookPayloadFragment);
/** The team's display name including parent team names if applicable. */
displayName: string;
/** The ID of the team. */
id: string;
/** The key of the team. */
key: string;
/** The name of the team. */
name: string;
/** The parent team's unique identifier, if any. */
parentId?: string | null;
}
/**
* A reusable template for creating issues, projects, or documents. Templates store pre-filled field values and content as JSON data. They can be scoped to a specific team or shared across the entire workspace. Team-scoped templates may be inherited from parent teams.
*
* @param request - function to call the graphql client
* @param data - L.TemplateFragment response data
*/
declare class Template extends Request {
private _creator?;
private _inheritedFrom?;
private _lastUpdatedBy?;
private _pipeline?;
private _team?;
constructor(request: LinearRequest, data: TemplateFragment);
/** The time at which the entity was archived. Null if the entity has not been archived. */
archivedAt?: Date | null;
/** The hex color of the template icon. Null if no custom color has been set. */
color?: string | null;
/** The time at which the entity was created. */
createdAt: Date;
/** A description of what the template is used for. */
description?: string | null;
/** The icon of the template, either a decorative icon type or an emoji string. Null if no icon has been set. */
icon?: string | null;
/** The unique identifier of the entity. */
id: string;
/** The date when the template was last applied to create or update an entity. Null if the template has never been applied. */
lastAppliedAt?: Date | null;
/** The name of the template. */
name: string;
/** The sort order of the template within the templates list. */
sortOrder: number;
/** The template data as a JSON-encoded string containing the pre-filled attributes for the entity type (e.g., issue fields, project configuration, or document content). */
templateData: Record<string, unknown>;
/** The entity type this template is for, such as 'issue', 'project', or 'document'. */
type: string;
/**
* The last time at which the entity was meaningfully updated. This is the same as the creation time if the entity hasn't
* been updated after creation.
*/
updatedAt: Date;
/** The user who created the template. Null if the creator's account has been deleted. */
get creator(): LinearFetch<User> | undefined;
/** The ID of user who created the template. null if the creator's account has been deleted. */
get creatorId(): string | undefined;
/** The parent team template this template was inherited from. Null for original (non-inherited) templates. */
get inheritedFrom(): LinearFetch<Template> | undefined;
/** The ID of parent team template this template was inherited from. null for original (non-inherited) templates. */
get inheritedFromId(): string | undefined;
/** The user who last updated the template. Null if the user's account has been deleted. */
get lastUpdatedBy(): LinearFetch<User> | undefined;
/** The ID of user who last updated the template. null if the user's account has been deleted. */
get lastUpdatedById(): string | undefined;
/** The workspace that owns this template. */
get organization(): LinearFetch<Organization>;
/** The release pipeline this template is bound to. Required when the template type is 'releaseNote' and forbidden otherwise. The pipeline owns at most one release note template, which defines the format AI follows when generating release notes. */
get pipeline(): LinearFetch<ReleasePipeline> | undefined;
/** The ID of release pipeline this template is bound to. required when the template type is 'releasenote' and forbidden otherwise. the pipeline owns at most one release note template, which defines the format ai follows when generating release notes. */
get pipelineId(): string | undefined;
/** The team that the template is associated with. If null, the template is global to the workspace. */
get team(): LinearFetch<Team> | undefined;
/** The ID of team that the template is associated with. if null, the template is global to the workspace. */
get teamId(): string | undefined;
/** Creates a new template. */
create(input: TemplateCreateInput): LinearFetch<TemplatePayload>;
/** Deletes a template. */
delete(): LinearFetch<DeletePayload>;
/** Updates an existing template. */
update(input: TemplateUpdateInput): LinearFetch<TemplatePayload>;
}
/**
* TemplateConnection model
*
* @param request - function to call the graphql client
* @param fetch - function to trigger a refetch of this TemplateConnection model
* @param data - TemplateConnection response data
*/
declare class TemplateConnection extends Connection<Template> {
constructor(request: LinearRequest, fetch: (connection?: LinearConnectionVariables) => LinearFetch<LinearConnection<Template> | undefined>, data: TemplateConnectionFragment);
}
/**
* The result of a template mutation.
*
* @param request - function to call the graphql client
* @param data - L.TemplatePayloadFragment response data
*/
declare class TemplatePayload extends Request {
private _template;
constructor(request: LinearRequest, data: TemplatePayloadFragment);
/** The identifier of the last sync operation. */
lastSyncId: number;
/** Whether the operation was successful. */
success: boolean;
/** The template that was created or updated. */
get template(): LinearFetch<Template> | undefined;
/** The ID of template that was created or updated. */
get templateId(): string | undefined;
}
/**
* A time-based schedule defining on-call rotations or availability windows. Schedules contain a series of time entries, each specifying a user and their active period. They can be synced from external services (such as PagerDuty or Opsgenie) via integrations, or created manually. Schedules are used by triage responsibilities to determine who should be assigned or notified when issues enter triage.
*
* @param request - function to call the graphql client
* @param data - L.TimeScheduleFragment response data
*/
declare class TimeSchedule extends Request {
private _integration?;
constructor(request: LinearRequest, data: TimeScheduleFragment);
/** The time at which the entity was archived. Null if the entity has not been archived. */
archivedAt?: Date | null;
/** The time at which the entity was created. */
createdAt: Date;
/** The identifier of the external schedule. */
externalId?: string | null;
/** The URL to the external schedule. */
externalUrl?: string | null;
/** The unique identifier of the entity. */
id: string;
/** The name of the schedule. */
name: string;
/**
* The last time at which the entity was meaningfully updated. This is the same as the creation time if the entity hasn't
* been updated after creation.
*/
updatedAt: Date;
/** The schedule entries. */
entries?: TimeScheduleEntry[] | null;
/** The identifier of the Linear integration populating the schedule. */
get integration(): LinearFetch<Integration> | undefined;
/** The ID of identifier of the linear integration populating the schedule. */
get integrationId(): string | undefined;
/** The workspace of the schedule. */
get organization(): LinearFetch<Organization>;
/** Creates a new time schedule. */
create(input: TimeScheduleCreateInput): LinearFetch<TimeSchedulePayload>;
/** Deletes a time schedule. */
delete(): LinearFetch<DeletePayload>;
/** Updates a time schedule. */
update(input: TimeScheduleUpdateInput): LinearFetch<TimeSchedulePayload>;
}
/**
* TimeScheduleConnection model
*
* @param request - function to call the graphql client
* @param fetch - function to trigger a refetch of this TimeScheduleConnection model
* @param data - TimeScheduleConnection response data
*/
declare class TimeScheduleConnection extends Connection<TimeSchedule> {
constructor(request: LinearRequest, fetch: (connection?: LinearConnectionVariables) => LinearFetch<LinearConnection<TimeSchedule> | undefined>, data: TimeScheduleConnectionFragment);
}
/**
* A single entry in a time schedule, defining a time range and the user responsible during that period.
*
* @param request - function to call the graphql client
* @param data - L.TimeScheduleEntryFragment response data
*/
declare class TimeScheduleEntry extends Request {
constructor(request: LinearRequest, data: TimeScheduleEntryFragment);
/** The end time of the schedule entry in ISO 8601 date-time format. */
endsAt: Date;
/** The start time of the schedule entry in ISO 8601 date-time format. */
startsAt: Date;
/** The email, name or reference to the user on schedule. This is used in case the external user could not be mapped to a Linear user id. */
userEmail?: string | null;
/** The Linear user id of the user on schedule. If the user cannot be mapped to a Linear user then `userEmail` can be used as a reference. */
userId?: string | null;
}
/**
* The result of a time schedule mutation.
*
* @param request - function to call the graphql client
* @param data - L.TimeSchedulePayloadFragment response data
*/
declare class TimeSchedulePayload extends Request {
private _timeSchedule;
constructor(request: LinearRequest, data: TimeSchedulePayloadFragment);
/** The identifier of the last sync operation. */
lastSyncId: number;
/** Whether the operation was successful. */
success: boolean;
/** The time schedule that was created or updated. */
get timeSchedule(): LinearFetch<TimeSchedule> | undefined;
/** The ID of time schedule that was created or updated. */
get timeScheduleId(): string | undefined;
}
/**
* A team's triage responsibility configuration that defines how issues entering triage are handled. Each team can have one triage responsibility, which specifies the action to take (notify or assign) and the responsible users, determined either by a manual selection of specific users or by an on-call time schedule.
*
* @param request - function to call the graphql client
* @param data - L.TriageResponsibilityFragment response data
*/
declare class TriageResponsibility extends Request {
private _currentUser?;
private _team;
private _timeSchedule?;
constructor(request: LinearRequest, data: TriageResponsibilityFragment);
/** The time at which the entity was archived. Null if the entity has not been archived. */
archivedAt?: Date | null;
/** The time at which the entity was created. */
createdAt: Date;
/** The unique identifier of the entity. */
id: string;
/**
* The last time at which the entity was meaningfully updated. This is the same as the creation time if the entity hasn't
* been updated after creation.
*/
updatedAt: Date;
/** Set of users used for triage responsibility. */
manualSelection?: TriageResponsibilityManualSelection | null;
/** The action to take when an issue is added to triage. */
action: TriageResponsibilityAction;
/** The user currently responsible for triage. */
get currentUser(): LinearFetch<User> | undefined;
/** The ID of user currently responsible for triage. */
get currentUserId(): string | undefined;
/** The team to which the triage responsibility belongs to. */
get team(): LinearFetch<Team> | undefined;
/** The ID of team to which the triage responsibility belongs to. */
get teamId(): string | undefined;
/** The time schedule used for scheduling. */
get timeSchedule(): LinearFetch<TimeSchedule> | undefined;
/** The ID of time schedule used for scheduling. */
get timeScheduleId(): string | undefined;
/** Creates a new triage responsibility. */
create(input: TriageResponsibilityCreateInput): LinearFetch<TriageResponsibilityPayload>;
/** Deletes a triage responsibility. */
delete(): LinearFetch<DeletePayload>;
/** Updates an existing triage responsibility. */
update(input: TriageResponsibilityUpdateInput): LinearFetch<TriageResponsibilityPayload>;
}
/**
* TriageResponsibilityConnection model
*
* @param request - function to call the graphql client
* @param fetch - function to trigger a refetch of this TriageResponsibilityConnection model
* @param data - TriageResponsibilityConnection response data
*/
declare class TriageResponsibilityConnection extends Connection<TriageResponsibility> {
constructor(request: LinearRequest, fetch: (connection?: LinearConnectionVariables) => LinearFetch<LinearConnection<TriageResponsibility> | undefined>, data: TriageResponsibilityConnectionFragment);
}
/**
* Manual triage responsibility configuration specifying a set of users to assign triaged issues to, with optional round-robin rotation.
*
* @param request - function to call the graphql client
* @param data - L.TriageResponsibilityManualSelectionFragment response data
*/
declare class TriageResponsibilityManualSelection extends Request {
constructor(request: LinearRequest, data: TriageResponsibilityManualSelectionFragment);
/** The set of users responsible for triage. */
userIds: string[];
}
/**
* The result of a triage responsibility mutation.
*
* @param request - function to call the graphql client
* @param data - L.TriageResponsibilityPayloadFragment response data
*/
declare class TriageResponsibilityPayload extends Request {
private _triageResponsibility;
constructor(request: LinearRequest, data: TriageResponsibilityPayloadFragment);
/** The identifier of the last sync operation. */
lastSyncId: number;
/** Whether the operation was successful. */
success: boolean;
/** The triage responsibility that was created or updated. */
get triageResponsibility(): LinearFetch<TriageResponsibility> | undefined;
/** The ID of triage responsibility that was created or updated. */
get triageResponsibilityId(): string | undefined;
}
/**
* Represents a file upload destination with a pre-signed upload URL, asset URL, and required request headers for uploading to cloud storage.
*
* @param request - function to call the graphql client
* @param data - L.UploadFileFragment response data
*/
declare class UploadFile extends Request {
constructor(request: LinearRequest, data: UploadFileFragment);
/** The permanent asset URL where the file will be accessible after upload. */
assetUrl: string;
/** The content type. */
contentType: string;
/** The filename. */
filename: string;
/** Optional metadata associated with the upload, such as the related issue or comment ID. */
metaData?: Scalars["JSONObject"] | null;
/** The size of the uploaded file. */
size: number;
/** The pre-signed URL to which the file should be uploaded via a PUT request. */
uploadUrl: string;
/** HTTP headers that must be included in the PUT request to the upload URL. */
headers: UploadFileHeader[];
}
/**
* UploadFileHeader model
*
* @param request - function to call the graphql client
* @param data - L.UploadFileHeaderFragment response data
*/
declare class UploadFileHeader extends Request {
constructor(request: LinearRequest, data: UploadFileHeaderFragment);
/** Upload file header key. */
key: string;
/** Upload file header value. */
value: string;
}
/**
* UploadPayload model
*
* @param request - function to call the graphql client
* @param data - L.UploadPayloadFragment response data
*/
declare class UploadPayload extends Request {
constructor(request: LinearRequest, data: UploadPayloadFragment);
/** The identifier of the last sync operation. */
lastSyncId: number;
/** Whether the operation was successful. */
success: boolean;
/** The upload file details including signed URL, asset URL, and required headers. Null if the upload could not be prepared. */
uploadFile?: UploadFile | null;
}
/**
* A usage alert triggered when a workspace crosses a billing or consumption threshold.
*
* @param request - function to call the graphql client
* @param data - L.UsageAlertFragment response data
*/
declare class UsageAlert extends Request {
constructor(request: LinearRequest, data: UsageAlertFragment);
/** The time at which the entity was archived. Null if the entity has not been archived. */
archivedAt?: Date | null;
/** The time at which the entity was created. */
createdAt: Date;
/** The unique identifier of the entity. */
id: string;
/** Type-specific metadata captured when the alert was triggered. */
metadata: Scalars["JSONObject"];
/** The kind of usage alert that was triggered. */
type: string;
/**
* The last time at which the entity was meaningfully updated. This is the same as the creation time if the entity hasn't
* been updated after creation.
*/
updatedAt: Date;
}
/**
* A notification related to a usage alert, sent to workspace billing admins.
*
* @param request - function to call the graphql client
* @param data - L.UsageAlertNotificationFragment response data
*/
declare class UsageAlertNotification extends Request {
private _actor?;
private _externalUserActor?;
private _user;
constructor(request: LinearRequest, data: UsageAlertNotificationFragment);
/** The time at which the entity was archived. Null if the entity has not been archived. */
archivedAt?: Date | null;
/** The time at which the entity was created. */
createdAt: Date;
/** The time at which an email reminder for this notification was sent to the user. Null if no email reminder has been sent. */
emailedAt?: Date | null;
/** The unique identifier of the entity. */
id: string;
/** The time at which the user marked the notification as read. Null if the notification is unread. */
readAt?: Date | null;
/** The time until which a notification is snoozed. After this time, the notification reappears in the user's inbox. Null if the notification is not currently snoozed. */
snoozedUntilAt?: Date | null;
/** Notification type. Determines the kind of event that triggered this notification and which associated entity fields will be populated. */
type: string;
/** The time at which a notification was unsnoozed. Null if the notification has not been unsnoozed. */
unsnoozedAt?: Date | null;
/**
* The last time at which the entity was meaningfully updated. This is the same as the creation time if the entity hasn't
* been updated after creation.
*/
updatedAt: Date;
/** Related usage alert. */
usageAlertId: string;
/** The bot that caused the notification. */
botActor?: ActorBot | null;
/** The usage alert related to the notification. */
usageAlert: UsageAlert;
/** The category of the notification. */
category: NotificationCategory;
/** The user that caused the notification. Null if the notification was triggered by a non-user actor such as an integration, external user, or system event. */
get actor(): LinearFetch<User> | undefined;
/** The ID of user that caused the notification. null if the notification was triggered by a non-user actor such as an integration, external user, or system event. */
get actorId(): string | undefined;
/** The external user that caused the notification. Populated when the notification was triggered by an external user (e.g., a commenter from a connected integration like Slack or GitHub) rather than a Linear workspace member. */
get externalUserActor(): LinearFetch<ExternalUser> | undefined;
/** The ID of external user that caused the notification. populated when the notification was triggered by an external user (e.g., a commenter from a connected integration like slack or github) rather than a linear workspace member. */
get externalUserActorId(): string | undefined;
/** The recipient user of this notification. */
get user(): LinearFetch<User> | undefined;
/** The ID of recipient user of this notification. */
get userId(): string | undefined;
}
/**
* A user that belongs to a workspace. Users can have different roles (admin, member, guest, or app) that determine their level of access. Users can be members of multiple teams, and can be active or deactivated. Guest users have limited access scoped to specific teams they are invited to.
*
* @param request - function to call the graphql client
* @param data - L.UserFragment response data
*/
declare class User extends Request {
constructor(request: LinearRequest, data: UserFragment);
/** Whether the user account is active or disabled (suspended). */
active: boolean;
/** Whether the user is a workspace administrator. On Free plans, all members are treated as admins. */
admin: boolean;
/** Whether the user is an app. */
app: boolean;
/** The time at which the entity was archived. Null if the entity has not been archived. */
archivedAt?: Date | null;
/** The background color of the avatar for users without set avatar. */
avatarBackgroundColor: string;
/** An URL to the user's avatar image. */
avatarUrl?: string | null;
/** [DEPRECATED] Hash for the user to be used in calendar URLs. */
calendarHash?: string | null;
/** Whether this user can access any public team in the workspace. True for non-guest members and app users with public team access. */
canAccessAnyPublicTeam: boolean;
/** The time at which the entity was created. */
createdAt: Date;
/** Number of issues created. */
createdIssueCount: number;
/** A short description of the user, such as their title or a brief bio. */
description?: string | null;
/** The reason why the user account is disabled. Null if the user is active. Possible values include admin suspension, downgrade, voluntary departure, or pending invite. */
disableReason?: string | null;
/** The user's display (nick) name. Must be unique within the workspace. */
displayName: string;
/** The user's email address. */
email: string;
/** The user's GitHub user ID. */
gitHubUserId?: string | null;
/** Whether the user is a guest in the workspace and limited to accessing a subset of teams. */
guest: boolean;
/** The unique identifier of the entity. */
id: string;
/** The initials of the user. */
initials: string;
/** [DEPRECATED] Unique hash for the user to be used in invite URLs. */
inviteHash: string;
/** Whether the user can be assigned to issues. Regular users are always assignable; app users are assignable only if they have the app:assignable scope. The Linear agent also requires coding sessions to be enabled. */
isAssignable: boolean;
/** Whether the user is the currently authenticated user. */
isMe: boolean;
/** Whether the user is mentionable. */
isMentionable: boolean;
/** The last time the user was seen online. Updated based on user activity. Null if the user has never been seen. */
lastSeen?: Date | null;
/** The user's full name. */
name: string;
/** Whether the user is a workspace owner, which is the highest permission level. */
owner: boolean;
/** The emoji representing the user's current status. Null if no status is set. */
statusEmoji?: string | null;
/** The text label of the user's current status. Null if no status is set. */
statusLabel?: string | null;
/** The date and time at which the user's current status should be automatically cleared. Null if the status has no expiration. */
statusUntilAt?: Date | null;
/** Whether this agent user supports agent sessions. */
supportsAgentSessions: boolean;
/** The local timezone of the user. */
timezone?: string | null;
/** The user's job title. */
title?: string | null;
/**
* The last time at which the entity was meaningfully updated. This is the same as the creation time if the entity hasn't
* been updated after creation.
*/
updatedAt: Date;
/** User's profile URL. */
url: string;
/** The workspace that the user belongs to. */
get organization(): LinearFetch<Organization>;
/** Issues assigned to the user. */
assignedIssues(variables?: Omit<User_AssignedIssuesQueryVariables, "id">): LinearFetch<IssueConnection>;
/** Issues created by the user. */
createdIssues(variables?: Omit<User_CreatedIssuesQueryVariables, "id">): LinearFetch<IssueConnection>;
/** Issues delegated to this user. */
delegatedIssues(variables?: Omit<User_DelegatedIssuesQueryVariables, "id">): LinearFetch<IssueConnection>;
/** The user's saved drafts. */
drafts(variables?: Omit<User_DraftsQueryVariables, "id">): LinearFetch<DraftConnection>;
/** Memberships associated with the user. For easier access of the same data, use `teams` query. */
teamMemberships(variables?: Omit<User_TeamMembershipsQueryVariables, "id">): LinearFetch<TeamMembershipConnection>;
/** Teams the user is a member of. Supports filtering by team properties. */
teams(variables?: Omit<User_TeamsQueryVariables, "id">): LinearFetch<TeamConnection>;
/** Suspends a user, deactivating their account and revoking access to the workspace. The suspended user's sessions are invalidated. Can only be called by a workspace admin or owner. */
suspend(variables?: Omit<SuspendUserMutationVariables, "id">): LinearFetch<UserAdminPayload>;
/** Re-activates a suspended user, restoring their access to the workspace. Can only be called by a workspace admin or owner. */
unsuspend(variables?: Omit<UnsuspendUserMutationVariables, "id">): LinearFetch<UserAdminPayload>;
/** Updates a user's profile information. Users can update their own profile; workspace admins can update any user's profile. SCIM-managed users may have restricted name changes. */
update(input: UserUpdateInput): LinearFetch<UserPayload>;
}
/**
* User actor payload for webhooks.
*
* @param data - L.UserActorWebhookPayloadFragment response data
*/
declare class UserActorWebhookPayload {
constructor(data: UserActorWebhookPayloadFragment);
/** The avatar URL of the user. */
avatarUrl?: string | null;
/** The email of the user. */
email: string;
/** The ID of the user. */
id: string;
/** The name of the user. */
name: string;
/** The type of actor. */
type: string;
/** The URL of the user. */
url: string;
}
/**
* User admin operation response.
*
* @param request - function to call the graphql client
* @param data - L.UserAdminPayloadFragment response data
*/
declare class UserAdminPayload extends Request {
constructor(request: LinearRequest, data: UserAdminPayloadFragment);
/** Whether the operation was successful. */
success: boolean;
}
/**
* Certain properties of a user.
*
* @param data - L.UserChildWebhookPayloadFragment response data
*/
declare class UserChildWebhookPayload {
constructor(data: UserChildWebhookPayloadFragment);
/** The avatar URL of the user. */
avatarUrl?: string | null;
/** The email of the user. */
email: string;
/** The ID of the user. */
id: string;
/** The name of the user. */
name: string;
/** The URL of the user. */
url: string;
}
/**
* UserConnection model
*
* @param request - function to call the graphql client
* @param fetch - function to trigger a refetch of this UserConnection model
* @param data - UserConnection response data
*/
declare class UserConnection extends Connection<User> {
constructor(request: LinearRequest, fetch: (connection?: LinearConnectionVariables) => LinearFetch<LinearConnection<User> | undefined>, data: UserConnectionFragment);
}
/**
* A notification subscription scoped to a specific user view. The subscriber receives notifications for events in the context of a particular user's activity view.
*
* @param request - function to call the graphql client
* @param data - L.UserNotificationSubscriptionFragment response data
*/
declare class UserNotificationSubscription extends Request {
private _customView?;
private _customer?;
private _cycle?;
private _initiative?;
private _label?;
private _project?;
private _subscriber;
private _team?;
private _user;
constructor(request: LinearRequest, data: UserNotificationSubscriptionFragment);
/** Whether the subscription is active. When inactive, no notifications are generated from this subscription even though it still exists. */
active: boolean;
/** The time at which the entity was archived. Null if the entity has not been archived. */
archivedAt?: Date | null;
/** The time at which the entity was created. */
createdAt: Date;
/** The unique identifier of the entity. */
id: string;
/** The notification event types that this subscription will deliver to the subscriber. */
notificationSubscriptionTypes: string[];
/**
* The last time at which the entity was meaningfully updated. This is the same as the creation time if the entity hasn't
* been updated after creation.
*/
updatedAt: Date;
/** The type of contextual view (e.g., active issues, backlog) that further scopes a team notification subscription. Null if the subscription is not associated with a specific view type. */
contextViewType?: ContextViewType | null;
/** The type of user-specific view that further scopes a user notification subscription. Null if the subscription is not associated with a user view type. */
userContextViewType?: UserContextViewType | null;
/** The custom view that this notification subscription is scoped to. Null if the subscription targets a different entity type. */
get customView(): LinearFetch<CustomView> | undefined;
/** The ID of custom view that this notification subscription is scoped to. null if the subscription targets a different entity type. */
get customViewId(): string | undefined;
/** The customer that this notification subscription is scoped to. Null if the subscription targets a different entity type. */
get customer(): LinearFetch<Customer> | undefined;
/** The ID of customer that this notification subscription is scoped to. null if the subscription targets a different entity type. */
get customerId(): string | undefined;
/** The cycle that this notification subscription is scoped to. Null if the subscription targets a different entity type. */
get cycle(): LinearFetch<Cycle> | undefined;
/** The ID of cycle that this notification subscription is scoped to. null if the subscription targets a different entity type. */
get cycleId(): string | undefined;
/** The initiative that this notification subscription is scoped to. Null if the subscription targets a different entity type. */
get initiative(): LinearFetch<Initiative> | undefined;
/** The ID of initiative that this notification subscription is scoped to. null if the subscription targets a different entity type. */
get initiativeId(): string | undefined;
/** The issue label that this notification subscription is scoped to. Null if the subscription targets a different entity type. */
get label(): LinearFetch<IssueLabel> | undefined;
/** The ID of issue label that this notification subscription is scoped to. null if the subscription targets a different entity type. */
get labelId(): string | undefined;
/** The project that this notification subscription is scoped to. Null if the subscription targets a different entity type. */
get project(): LinearFetch<Project> | undefined;
/** The ID of project that this notification subscription is scoped to. null if the subscription targets a different entity type. */
get projectId(): string | undefined;
/** The user who will receive notifications from this subscription. */
get subscriber(): LinearFetch<User> | undefined;
/** The ID of user who will receive notifications from this subscription. */
get subscriberId(): string | undefined;
/** The team that this notification subscription is scoped to. Null if the subscription targets a different entity type. */
get team(): LinearFetch<Team> | undefined;
/** The ID of team that this notification subscription is scoped to. null if the subscription targets a different entity type. */
get teamId(): string | undefined;
/** The user subscribed to. */
get user(): LinearFetch<User> | undefined;
/** The ID of user subscribed to. */
get userId(): string | undefined;
}
/**
* User operation response.
*
* @param request - function to call the graphql client
* @param data - L.UserPayloadFragment response data
*/
declare class UserPayload extends Request {
private _user?;
constructor(request: LinearRequest, data: UserPayloadFragment);
/** The identifier of the last sync operation. */
lastSyncId: number;
/** Whether the operation was successful. */
success: boolean;
/** The user that was created or updated. */
get user(): LinearFetch<User> | undefined;
/** The ID of user that was created or updated. */
get userId(): string | undefined;
}
/**
* Per-user settings and preferences for a workspace member. Includes notification delivery preferences, email subscription settings, notification category and channel preferences, theme configuration, and various UI preferences. Each user has exactly one UserSettings record per workspace.
*
* @param request - function to call the graphql client
* @param data - L.UserSettingsFragment response data
*/
declare class UserSettings extends Request {
private _user;
constructor(request: LinearRequest, data: UserSettingsFragment);
/** The time at which the entity was archived. Null if the entity has not been archived. */
archivedAt?: Date | null;
/** Whether to auto-assign newly created issues to the current user by default. */
autoAssignToSelf: boolean;
/** A unique hash for the user, used to construct secure calendar subscription URLs. */
calendarHash?: string | null;
/** The time at which the entity was created. */
createdAt: Date;
/** The user's last seen time for the pulse feed. */
feedLastSeenTime?: Date | null;
/** The unique identifier of the entity. */
id: string;
/** Whether to show full user names instead of display names. */
showFullUserNames: boolean;
/** Whether this user is subscribed to receive changelog emails about Linear product updates. */
subscribedToChangelog: boolean;
/** Whether this user is subscribed to receive Data Processing Agreement (DPA) related emails. */
subscribedToDPA: boolean;
/** Whether this user is subscribed to receive email notifications when their workspace invitations are accepted. */
subscribedToInviteAccepted: boolean;
/** Whether this user is subscribed to receive emails about privacy policy and legal updates. */
subscribedToPrivacyLegalUpdates: boolean;
/** The email types the user has unsubscribed from. */
unsubscribedFrom: string[];
/**
* The last time at which the entity was meaningfully updated. This is the same as the creation time if the entity hasn't
* been updated after creation.
*/
updatedAt: Date;
/** The user's notification category preferences, indicating which notification categories are enabled or disabled per notification channel. */
notificationCategoryPreferences: NotificationCategoryPreferences;
/** The user's notification channel preferences, indicating which notification delivery channels (email, in-app, mobile push, Slack) are enabled. */
notificationChannelPreferences: NotificationChannelPreferences;
/** The notification delivery preferences for the user. Note: notificationDisabled field is deprecated in favor of notificationChannelPreferences. */
notificationDeliveryPreferences: NotificationDeliveryPreferences;
/** The user's theme configuration for the specified color mode (light/dark) and device type (desktop/mobile). Returns null if no valid theme preset is configured. */
theme?: UserSettingsTheme | null;
/** The user's preferred schedule for receiving feed summary digests. Null if the user has not set a preference and will use the workspace default. */
feedSummarySchedule?: FeedSummarySchedule | null;
/** The user that these settings belong to. */
get user(): LinearFetch<User> | undefined;
/** The ID of user that these settings belong to. */
get userId(): string | undefined;
/** Updates the authenticated user's settings, including notification preferences, email subscriptions, theme, and other UI preferences. */
update(input: UserSettingsUpdateInput): LinearFetch<UserSettingsPayload>;
}
/**
* Custom sidebar theme definition with accent, base colors and contrast.
*
* @param request - function to call the graphql client
* @param data - L.UserSettingsCustomSidebarThemeFragment response data
*/
declare class UserSettingsCustomSidebarTheme extends Request {
constructor(request: LinearRequest, data: UserSettingsCustomSidebarThemeFragment);
/** The accent color in LCH format. */
accent: number[];
/** The base color in LCH format. */
base: number[];
/** The contrast value. */
contrast: number;
}
/**
* Custom theme definition with accent, base colors, contrast, and optional sidebar theme.
*
* @param request - function to call the graphql client
* @param data - L.UserSettingsCustomThemeFragment response data
*/
declare class UserSettingsCustomTheme extends Request {
constructor(request: LinearRequest, data: UserSettingsCustomThemeFragment);
/** The accent color in LCH format. */
accent: number[];
/** The base color in LCH format. */
base: number[];
/** The contrast value. */
contrast: number;
/** Optional sidebar theme colors. */
sidebar?: UserSettingsCustomSidebarTheme | null;
}
/**
* User settings flag update response.
*
* @param request - function to call the graphql client
* @param data - L.UserSettingsFlagPayloadFragment response data
*/
declare class UserSettingsFlagPayload extends Request {
constructor(request: LinearRequest, data: UserSettingsFlagPayloadFragment);
/** The flag key which was updated. */
flag?: string | null;
/** The identifier of the last sync operation. */
lastSyncId: number;
/** Whether the operation was successful. */
success: boolean;
/** The flag value after update. */
value?: number | null;
}
/**
* User settings flags reset response.
*
* @param request - function to call the graphql client
* @param data - L.UserSettingsFlagsResetPayloadFragment response data
*/
declare class UserSettingsFlagsResetPayload extends Request {
constructor(request: LinearRequest, data: UserSettingsFlagsResetPayloadFragment);
/** The identifier of the last sync operation. */
lastSyncId: number;
/** Whether the operation was successful. */
success: boolean;
}
/**
* User settings operation response.
*
* @param request - function to call the graphql client
* @param data - L.UserSettingsPayloadFragment response data
*/
declare class UserSettingsPayload extends Request {
constructor(request: LinearRequest, data: UserSettingsPayloadFragment);
/** The identifier of the last sync operation. */
lastSyncId: number;
/** Whether the operation was successful. */
success: boolean;
/** The user's settings. */
get userSettings(): LinearFetch<UserSettings>;
}
/**
* The user's resolved theme configuration for a specific color mode and device type.
*
* @param request - function to call the graphql client
* @param data - L.UserSettingsThemeFragment response data
*/
declare class UserSettingsTheme extends Request {
constructor(request: LinearRequest, data: UserSettingsThemeFragment);
/** The custom theme definition, only present when preset is 'custom'. */
custom?: UserSettingsCustomTheme | null;
/** The theme preset. */
preset: UserSettingsThemePreset;
}
/**
* Payload for a user webhook.
*
* @param data - L.UserWebhookPayloadFragment response data
*/
declare class UserWebhookPayload {
constructor(data: UserWebhookPayloadFragment);
/** Whether the user is active. */
active: boolean;
/** Whether the user is an admin. */
admin: boolean;
/** Whether the user is an app. */
app: boolean;
/** The time at which the entity was archived. */
archivedAt?: string | null;
/** The avatar URL of the user. */
avatarUrl?: string | null;
/** The time at which the entity was created. */
createdAt: string;
/** The description of the user. */
description?: string | null;
/** The reason the user is disabled. */
disableReason?: string | null;
/** The display name of the user. */
displayName: string;
/** The email of the user. */
email: string;
/** Whether the user is a guest. */
guest: boolean;
/** The ID of the entity. */
id: string;
/** The name of the user. */
name: string;
/** Whether the user is an owner. */
owner?: boolean | null;
/** The local timezone of the user. */
timezone?: string | null;
/** The time at which the entity was updated. */
updatedAt: string;
/** The URL of the user. */
url: string;
}
/**
* The display preferences for a view, controlling layout mode (list, board, spreadsheet), grouping, sorting, column visibility, and other visual settings. View preferences exist at two levels: organization-wide defaults and per-user overrides. The effective preferences are computed by merging both layers, with user preferences taking priority.
*
* @param request - function to call the graphql client
* @param data - L.ViewPreferencesFragment response data
*/
declare class ViewPreferences extends Request {
constructor(request: LinearRequest, data: ViewPreferencesFragment);
/** The time at which the entity was archived. Null if the entity has not been archived. */
archivedAt?: Date | null;
/** The time at which the entity was created. */
createdAt: Date;
/** The unique identifier of the entity. */
id: string;
/** The type of view preferences: "organization" for workspace-wide defaults or "user" for personal overrides. */
type: string;
/**
* The last time at which the entity was meaningfully updated. This is the same as the creation time if the entity hasn't
* been updated after creation.
*/
updatedAt: Date;
/** The type of view these preferences apply to, such as board, cycle, project, customView, myIssues, etc. */
viewType: string;
/** The view preferences values, containing layout, grouping, sorting, and field visibility settings. */
preferences: ViewPreferencesValues;
/** Creates a new view preferences object. If conflicting preferences already exist for the same view type and scope, the existing preferences are replaced. */
create(input: ViewPreferencesCreateInput): LinearFetch<ViewPreferencesPayload>;
/** Deletes a view preferences object. If the preferences do not exist, the operation is treated as a successful idempotent deletion. */
delete(): LinearFetch<DeletePayload>;
/** Updates an existing view preferences object. For user-type preferences, only the owning user can update them. */
update(input: ViewPreferencesUpdateInput): LinearFetch<ViewPreferencesPayload>;
}
/**
* A label group column configuration for the initiative list view.
*
* @param request - function to call the graphql client
* @param data - L.ViewPreferencesInitiativeLabelGroupColumnFragment response data
*/
declare class ViewPreferencesInitiativeLabelGroupColumn extends Request {
constructor(request: LinearRequest, data: ViewPreferencesInitiativeLabelGroupColumnFragment);
/** Whether the label group column is active. */
active: boolean;
/** The identifier of the label group. */
id: string;
}
/**
* The result of a view preferences mutation.
*
* @param request - function to call the graphql client
* @param data - L.ViewPreferencesPayloadFragment response data
*/
declare class ViewPreferencesPayload extends Request {
constructor(request: LinearRequest, data: ViewPreferencesPayloadFragment);
/** The identifier of the last sync operation. */
lastSyncId: number;
/** Whether the operation was successful. */
success: boolean;
/** The view preferences entity being mutated. */
viewPreferences: ViewPreferences;
}
/**
* A label group column configuration for the project list view.
*
* @param request - function to call the graphql client
* @param data - L.ViewPreferencesProjectLabelGroupColumnFragment response data
*/
declare class ViewPreferencesProjectLabelGroupColumn extends Request {
constructor(request: LinearRequest, data: ViewPreferencesProjectLabelGroupColumnFragment);
/** Whether the label group column is active. */
active: boolean;
/** The identifier of the label group. */
id: string;
}
/**
* The computed view preferences values for a view, containing all display settings such as layout mode, grouping, sorting, field visibility, and other visual configuration. These values represent the merged result of organization defaults and user overrides.
*
* @param request - function to call the graphql client
* @param data - L.ViewPreferencesValuesFragment response data
*/
declare class ViewPreferencesValues extends Request {
constructor(request: LinearRequest, data: ViewPreferencesValuesFragment);
/** Whether to show the loop last executed field. */
automationFieldLastExecuted?: boolean | null;
/** Whether to show the loop status field. */
automationFieldStats?: boolean | null;
/** Whether to show the loop team field. */
automationFieldTeam?: boolean | null;
/** Whether to show the loop trigger field. */
automationFieldTrigger?: boolean | null;
/** The loop grouping. */
automationGrouping?: string | null;
/** The loop ordering. */
automationOrdering?: string | null;
/** Whether to show sub-team loops. */
automationShowDescendants?: boolean | null;
/** Whether to show disabled loops. */
automationShowDisabled?: boolean | null;
/** The loop stats period. */
automationStatsPeriod?: string | null;
/** Whether issues in closed columns should be ordered by recency. */
closedIssuesOrderedByRecency?: boolean | null;
/** Custom ordering of groups on the board layout. */
columnOrderBoard?: string[] | null;
/** Custom ordering of groups on the list layout. */
columnOrderList?: string[] | null;
/** Whether to show the release date field for continuous pipeline releases. */
continuousPipelineReleaseFieldReleaseDate?: boolean | null;
/** Whether to show the release-note field for continuous pipeline releases. */
continuousPipelineReleaseFieldReleaseNote?: boolean | null;
/** Whether to show the version field for continuous pipeline releases. */
continuousPipelineReleaseFieldVersion?: boolean | null;
/** The continuous pipeline releases view grouping. */
continuousPipelineReleasesViewGrouping?: string | null;
/** Whether to show the custom view creation date field. */
customViewFieldDateCreated?: boolean | null;
/** Whether to show the custom view updated date field. */
customViewFieldDateUpdated?: boolean | null;
/** Whether to show the custom view owner field. */
customViewFieldOwner?: boolean | null;
/** Whether to show the custom view visibility field. */
customViewFieldVisibility?: boolean | null;
/** The custom views ordering. */
customViewsOrdering?: string | null;
/** Whether to show the customer domains field. */
customerFieldDomains?: boolean | null;
/** Whether to show the customer owner field. */
customerFieldOwner?: boolean | null;
/** Whether to show the customer request count field. */
customerFieldRequestCount?: boolean | null;
/** Whether to show the customer revenue field. */
customerFieldRevenue?: boolean | null;
/** Whether to show the customer size field. */
customerFieldSize?: boolean | null;
/** Whether to show the customer source field. */
customerFieldSource?: boolean | null;
/** Whether to show the customer status field. */
customerFieldStatus?: boolean | null;
/** Whether to show the customer tier field. */
customerFieldTier?: boolean | null;
/** Whether to show the issue identifier field in the customer page. */
customerPageNeedsFieldIssueIdentifier?: boolean | null;
/** Whether to show the issue priority field in the customer page. */
customerPageNeedsFieldIssuePriority?: boolean | null;
/** Whether to show the issue status field in the customer page. */
customerPageNeedsFieldIssueStatus?: boolean | null;
/** Whether to show the issue due date field in the customer page. */
customerPageNeedsFieldIssueTargetDueDate?: boolean | null;
/** Whether to show completed issues and projects in the customer page. */
customerPageNeedsShowCompletedIssuesAndProjects?: string | null;
/** Whether to show important customer needs first. */
customerPageNeedsShowImportantFirst?: boolean | null;
/** The customer page needs view grouping. */
customerPageNeedsViewGrouping?: string | null;
/** The customer page needs view ordering. */
customerPageNeedsViewOrdering?: string | null;
/** The customers view ordering. */
customersViewOrdering?: string | null;
/** Whether to show the dashboard creation date field. */
dashboardFieldDateCreated?: boolean | null;
/** Whether to show the dashboard updated date field. */
dashboardFieldDateUpdated?: boolean | null;
/** Whether to show the dashboard owner field. */
dashboardFieldOwner?: boolean | null;
/** The dashboards ordering. */
dashboardsOrdering?: string | null;
/** Whether to show important embedded customer needs first. */
embeddedCustomerNeedsShowImportantFirst?: boolean | null;
/** The embedded customer needs view ordering. */
embeddedCustomerNeedsViewOrdering?: string | null;
/** Whether to show the issue assignee field. */
fieldAssignee?: boolean | null;
/** Whether to show the customer request count field. */
fieldCustomerCount?: boolean | null;
/** Whether to show the customer revenue field. */
fieldCustomerRevenue?: boolean | null;
/** Whether to show the cycle field. */
fieldCycle?: boolean | null;
/** Whether to show the issue archived date field. */
fieldDateArchived?: boolean | null;
/** Whether to show the issue creation date field. */
fieldDateCreated?: boolean | null;
/** Whether to show the issue last activity date field. */
fieldDateMyActivity?: boolean | null;
/** Whether to show the issue updated date field. */
fieldDateUpdated?: boolean | null;
/** Whether to show the due date field. */
fieldDueDate?: boolean | null;
/** Whether to show the issue estimate field. */
fieldEstimate?: boolean | null;
/** Whether to show the issue identifier field. */
fieldId?: boolean | null;
/** Whether to show the labels field. */
fieldLabels?: boolean | null;
/** Whether to show the link count field. */
fieldLinkCount?: boolean | null;
/** Whether to show the milestone field. */
fieldMilestone?: boolean | null;
/** Whether to show preview links. */
fieldPreviewLinks?: boolean | null;
/** Whether to show the issue priority field. */
fieldPriority?: boolean | null;
/** Whether to show the project field. */
fieldProject?: boolean | null;
/** Whether to show the pull requests field. */
fieldPullRequests?: boolean | null;
/** Whether to show the release field. */
fieldRelease?: boolean | null;
/** Whether to show the Sentry issues field. */
fieldSentryIssues?: boolean | null;
/** Whether to show the SLA field. */
fieldSla?: boolean | null;
/** Whether to show the issue status field. */
fieldStatus?: boolean | null;
/** Whether to show the time in current status field. */
fieldTimeInCurrentStatus?: boolean | null;
/** The focus view grouping. */
focusViewGrouping?: string | null;
/** The focus view ordering. */
focusViewOrdering?: string | null;
/** The focus view ordering direction. */
focusViewOrderingDirection?: string | null;
/** The ordering mode for groups. Supersedes projectGroupOrdering. */
groupOrderingMode?: string | null;
/** List of column model IDs which should be hidden on a board. */
hiddenColumns?: string[] | null;
/** List of group model IDs which should be hidden on a list. */
hiddenGroupsList?: string[] | null;
/** List of row model IDs which should be hidden on a board. */
hiddenRows?: string[] | null;
/** The inbox view grouping. */
inboxViewGrouping?: string | null;
/** The inbox view ordering. */
inboxViewOrdering?: string | null;
/** Whether to show the initiative activity field. */
initiativeFieldActivity?: boolean | null;
/** Whether to show the initiative completed date field. */
initiativeFieldDateCompleted?: boolean | null;
/** Whether to show the initiative created date field. */
initiativeFieldDateCreated?: boolean | null;
/** Whether to show the initiative updated date field. */
initiativeFieldDateUpdated?: boolean | null;
/** Whether to show the initiative description field. */
initiativeFieldDescription?: boolean | null;
/** Whether to show the initiative active projects health field. */
initiativeFieldHealth?: boolean | null;
/** Whether to show the initiative identifier field. */
initiativeFieldId?: boolean | null;
/** Whether to show the initiative health field. */
initiativeFieldInitiativeHealth?: boolean | null;
/** Whether to show the initiative labels field. */
initiativeFieldLabels?: boolean | null;
/** Whether to show the initiative lead team field. */
initiativeFieldLeadTeam?: boolean | null;
/** Whether to show the initiative owner field. */
initiativeFieldOwner?: boolean | null;
/** Whether to show the initiative priority field. */
initiativeFieldPriority?: boolean | null;
/** Whether to show the initiative projects field. */
initiativeFieldProjects?: boolean | null;
/** Whether to show the initiative start date field. */
initiativeFieldStartDate?: boolean | null;
/** Whether to show the initiative status field. */
initiativeFieldStatus?: boolean | null;
/** Whether to show the initiative target date field. */
initiativeFieldTargetDate?: boolean | null;
/** Whether to show the initiative teams field. */
initiativeFieldTeams?: boolean | null;
/** The initiative grouping. */
initiativeGrouping?: string | null;
/** The label group ID used for initiative grouping. */
initiativeGroupingLabelGroupId?: string | null;
/** The initiative ordering. */
initiativesViewOrdering?: string | null;
/** The issue grouping. */
issueGrouping?: string | null;
/** The label group ID used for issue grouping. */
issueGroupingLabelGroupId?: string | null;
/** How sub-issues should be nested and displayed. */
issueNesting?: string | null;
/** The issue sub-grouping. */
issueSubGrouping?: string | null;
/** The label group ID used for issue sub-grouping. */
issueSubGroupingLabelGroupId?: string | null;
/** The issue layout type. */
layout?: string | null;
/** Whether to show the member joined date field. */
memberFieldJoined?: boolean | null;
/** Whether to show the member status field. */
memberFieldStatus?: boolean | null;
/** Whether to show the member teams field. */
memberFieldTeams?: boolean | null;
/** Whether to show completed issues last in project customer needs. */
projectCustomerNeedsShowCompletedIssuesLast?: boolean | null;
/** Whether to show important project customer needs first. */
projectCustomerNeedsShowImportantFirst?: boolean | null;
/** The project customer needs view grouping. */
projectCustomerNeedsViewGrouping?: string | null;
/** The project customer needs view ordering. */
projectCustomerNeedsViewOrdering?: string | null;
/** Whether to show the project activity field. */
projectFieldActivity?: boolean | null;
/** Whether to show the project customer count field. */
projectFieldCustomerCount?: boolean | null;
/** Whether to show the project customer revenue field. */
projectFieldCustomerRevenue?: boolean | null;
/** Whether to show the project completion date field. */
projectFieldDateCompleted?: boolean | null;
/** Whether to show the project creation date field. */
projectFieldDateCreated?: boolean | null;
/** Whether to show the project updated date field. */
projectFieldDateUpdated?: boolean | null;
/** Whether to show the project description field. */
projectFieldDescription?: boolean | null;
/** Whether to show the project description field on the board. */
projectFieldDescriptionBoard?: boolean | null;
/** Whether to show the project health field. */
projectFieldHealth?: boolean | null;
/** Whether to show the project health field on the timeline. */
projectFieldHealthTimeline?: boolean | null;
/** Whether to show the project identifier field. */
projectFieldId?: boolean | null;
/** Whether to show the project initiatives field. */
projectFieldInitiatives?: boolean | null;
/** Whether to show the project issue count field. */
projectFieldIssues?: boolean | null;
/** Whether to show the project labels field. */
projectFieldLabels?: boolean | null;
/** Whether to show the project lead field. */
projectFieldLead?: boolean | null;
/** Whether to show the project lead field on the timeline. */
projectFieldLeadTimeline?: boolean | null;
/** Whether to show the project members field. */
projectFieldMembers?: boolean | null;
/** Whether to show the project members field on the board. */
projectFieldMembersBoard?: boolean | null;
/** Whether to show the project members field on the list. */
projectFieldMembersList?: boolean | null;
/** Whether to show the project members field on the timeline. */
projectFieldMembersTimeline?: boolean | null;
/** Whether to show the project milestone field. */
projectFieldMilestone?: boolean | null;
/** Whether to show the project milestone field on the timeline. */
projectFieldMilestoneTimeline?: boolean | null;
/** Whether to show the project predictions field. */
projectFieldPredictions?: boolean | null;
/** Whether to show the project predictions field on the timeline. */
projectFieldPredictionsTimeline?: boolean | null;
/** Whether to show the project priority field. */
projectFieldPriority?: boolean | null;
/** Whether to show the project relations field. */
projectFieldRelations?: boolean | null;
/** Whether to show the project relations field on the timeline. */
projectFieldRelationsTimeline?: boolean | null;
/** Whether to show the project roadmaps field. */
projectFieldRoadmaps?: boolean | null;
/** Whether to show the project roadmaps field on the board. */
projectFieldRoadmapsBoard?: boolean | null;
/** Whether to show the project roadmaps field on the list. */
projectFieldRoadmapsList?: boolean | null;
/** Whether to show the project roadmaps field on the timeline. */
projectFieldRoadmapsTimeline?: boolean | null;
/** Whether to show the project rollout stage field. */
projectFieldRolloutStage?: boolean | null;
/** Whether to show the project start date field. */
projectFieldStartDate?: boolean | null;
/** Whether to show the project status field. */
projectFieldStatus?: boolean | null;
/** Whether to show the project status field on the timeline. */
projectFieldStatusTimeline?: boolean | null;
/** Whether to show the project target date field. */
projectFieldTargetDate?: boolean | null;
/** Whether to show the project teams field. */
projectFieldTeams?: boolean | null;
/** Whether to show the project teams field on the board. */
projectFieldTeamsBoard?: boolean | null;
/** Whether to show the project teams field on the list. */
projectFieldTeamsList?: boolean | null;
/** Whether to show the project teams field on the timeline. */
projectFieldTeamsTimeline?: boolean | null;
/** The ordering of project groups. */
projectGroupOrdering?: string | null;
/** The project grouping. */
projectGrouping?: string | null;
/** The date resolution when grouping projects by date. */
projectGroupingDateResolution?: string | null;
/** The label group ID used for project grouping. */
projectGroupingLabelGroupId?: string | null;
/** The project layout type. */
projectLayout?: string | null;
/** How to show empty project groups. */
projectShowEmptyGroups?: string | null;
/** How to show empty project groups on the board layout. */
projectShowEmptyGroupsBoard?: string | null;
/** How to show empty project groups on the list layout. */
projectShowEmptyGroupsList?: string | null;
/** How to show empty project groups on the timeline layout. */
projectShowEmptyGroupsTimeline?: string | null;
/** How to show empty project sub-groups. */
projectShowEmptySubGroups?: string | null;
/** How to show empty project sub-groups on the board layout. */
projectShowEmptySubGroupsBoard?: string | null;
/** How to show empty project sub-groups on the list layout. */
projectShowEmptySubGroupsList?: string | null;
/** How to show empty project sub-groups on the timeline layout. */
projectShowEmptySubGroupsTimeline?: string | null;
/** The project sub-grouping. */
projectSubGrouping?: string | null;
/** The label group ID used for project sub-grouping. */
projectSubGroupingLabelGroupId?: string | null;
/** The project ordering. */
projectViewOrdering?: string | null;
/** The zoom level for the timeline view. */
projectZoomLevel?: string | null;
/** Whether to show the latest release field for release pipelines. */
releasePipelineFieldLatestRelease?: boolean | null;
/** Whether to show the releases field for release pipelines. */
releasePipelineFieldReleases?: boolean | null;
/** Whether to show the teams field for release pipelines. */
releasePipelineFieldTeams?: boolean | null;
/** Whether to show the type field for release pipelines. */
releasePipelineFieldType?: boolean | null;
/** The release pipeline grouping. */
releasePipelineGrouping?: string | null;
/** The release pipelines view ordering. */
releasePipelinesViewOrdering?: string | null;
/** Whether to show the review avatar field. */
reviewFieldAvatar?: boolean | null;
/** No longer used. Previously controlled the review checks field. */
reviewFieldChecks?: boolean | null;
/** Whether to show the review GitHub team field. */
reviewFieldGithubTeam?: boolean | null;
/** Whether to show the review identifier field. */
reviewFieldIdentifier?: boolean | null;
/** Whether to show the pull request opened timestamp. */
reviewFieldOpenedAt?: boolean | null;
/** No longer used. Previously controlled the review preview links field. */
reviewFieldPreviewLinks?: boolean | null;
/** Whether to show the quick-to-review badge on review list items. Null if the preference is unset. */
reviewFieldQuickToReview?: boolean | null;
/** Whether to show the review repository field. */
reviewFieldRepository?: boolean | null;
/** Whether to show review status details on a second line. */
reviewFieldStatusDetails?: boolean | null;
/** The review grouping. */
reviewGrouping?: string | null;
/** The review view ordering. */
reviewViewOrdering?: string | null;
/** Whether to show the completion field for scheduled pipeline releases. */
scheduledPipelineReleaseFieldCompletion?: boolean | null;
/** Whether to show the description field for scheduled pipeline releases. */
scheduledPipelineReleaseFieldDescription?: boolean | null;
/** Whether to show the release date field for scheduled pipeline releases. */
scheduledPipelineReleaseFieldReleaseDate?: boolean | null;
/** Whether to show the release-note field for scheduled pipeline releases. */
scheduledPipelineReleaseFieldReleaseNote?: boolean | null;
/** Whether to show the version field for scheduled pipeline releases. */
scheduledPipelineReleaseFieldVersion?: boolean | null;
/** The scheduled pipeline releases view grouping. */
scheduledPipelineReleasesViewGrouping?: string | null;
/** The scheduled pipeline releases view ordering. */
scheduledPipelineReleasesViewOrdering?: string | null;
/** The search result type filter. */
searchResultType?: string | null;
/** The search view ordering. */
searchViewOrdering?: string | null;
/** Whether to show archived items. */
showArchivedItems?: boolean | null;
/** Whether completed agent sessions are shown and for how long. */
showCompletedAgentSessions?: string | null;
/** Whether completed issues are shown and for how long. */
showCompletedIssues?: string | null;
/** Whether completed projects are shown and for how long. */
showCompletedProjects?: string | null;
/** Whether completed reviews are shown and for how long. */
showCompletedReviews?: string | null;
/** Whether to show draft reviews. */
showDraftReviews?: boolean | null;
/** Whether to show empty groups. */
showEmptyGroups?: boolean | null;
/** Whether to show empty groups on the board layout. */
showEmptyGroupsBoard?: boolean | null;
/** Whether to show empty groups on the list layout. */
showEmptyGroupsList?: boolean | null;
/** Whether to show empty sub-groups. */
showEmptySubGroups?: boolean | null;
/** Whether to show empty sub-groups on the board layout. */
showEmptySubGroupsBoard?: boolean | null;
/** Whether to show empty sub-groups on the list layout. */
showEmptySubGroupsList?: boolean | null;
/** Whether to show sub-initiatives nested. */
showNestedInitiatives?: boolean | null;
/** Whether to show only snoozed items. */
showOnlySnoozedItems?: boolean | null;
/** Whether to show parent issues for sub-issues. */
showParents?: boolean | null;
/** Whether to show read items. */
showReadItems?: boolean | null;
/** Whether to show snoozed items. */
showSnoozedItems?: boolean | null;
/** Whether to show sub-initiative projects. */
showSubInitiativeProjects?: boolean | null;
/** Whether to show sub-issues. */
showSubIssues?: boolean | null;
/** Whether to show sub-team issues. */
showSubTeamIssues?: boolean | null;
/** Whether to show sub-team projects. */
showSubTeamProjects?: boolean | null;
/** Whether to show supervised issues. */
showSupervisedIssues?: boolean | null;
/** Whether team reviews are shown in the reviews list. */
showTeamReviews?: boolean | null;
/** Whether to show triage issues. */
showTriageIssues?: boolean | null;
/** Whether to show unread items first. */
showUnreadItemsFirst?: boolean | null;
/** Whether to show the team cycle field. */
teamFieldCycle?: boolean | null;
/** Whether to show the team creation date field. */
teamFieldDateCreated?: boolean | null;
/** Whether to show the team updated date field. */
teamFieldDateUpdated?: boolean | null;
/** Whether to show the team identifier field. */
teamFieldIdentifier?: boolean | null;
/** Whether to show the team members field. */
teamFieldMembers?: boolean | null;
/** Whether to show the team membership field. */
teamFieldMembership?: boolean | null;
/** Whether to show the team owner field. */
teamFieldOwner?: boolean | null;
/** Whether to show the team projects field. */
teamFieldProjects?: boolean | null;
/** The team view ordering. */
teamViewOrdering?: string | null;
/** Selected team IDs to show cycles for in timeline chronology bar. */
timelineChronologyShowCycleTeamIds?: string[] | null;
/** Whether to show week numbers in timeline chronology bar. */
timelineChronologyShowWeekNumbers?: boolean | null;
/** Whether to show the projects aside panel on the timeline. */
timelineShowProjectsAside?: boolean | null;
/** The zoom scale for the timeline view. */
timelineZoomScale?: number | null;
/** The triage view ordering. */
triageViewOrdering?: string | null;
/** The issue ordering. */
viewOrdering?: string | null;
/** The direction of the issue ordering. */
viewOrderingDirection?: string | null;
/** The workspace members view ordering. */
workspaceMembersViewOrdering?: string | null;
/** The initiative label group columns configuration. */
initiativeLabelGroupColumns?: ViewPreferencesInitiativeLabelGroupColumn[] | null;
/** The project label group columns configuration. */
projectLabelGroupColumns?: ViewPreferencesProjectLabelGroupColumn[] | null;
}
/**
* A webhook subscription that sends HTTP POST callbacks to an external URL when events occur in Linear. Webhooks can be scoped to a specific team, multiple teams, or all public teams in the organization. They support filtering by resource type (e.g., Issue, Comment, Project) and can be created either manually by users or automatically by OAuth applications. Each webhook has a signing secret for verifying payload authenticity on the recipient side.
*
* @param request - function to call the graphql client
* @param data - L.WebhookFragment response data
*/
declare class Webhook extends Request {
private _creator?;
private _team?;
constructor(request: LinearRequest, data: WebhookFragment);
/** Whether the webhook receives events from all public (non-private) teams in the organization, including teams created after the webhook was set up. When true, the webhook automatically covers new public teams without requiring reconfiguration. */
allPublicTeams: boolean;
/** The time at which the entity was archived. Null if the entity has not been archived. */
archivedAt?: Date | null;
/** The time at which the entity was created. */
createdAt: Date;
/** Whether the webhook is enabled. When disabled, no payloads will be delivered even if matching events occur. */
enabled: boolean;
/** The unique identifier of the entity. */
id: string;
/** A human-readable label for the webhook, used for identification in the UI. Null if no label has been set. */
label?: string | null;
/** The resource types this webhook is subscribed to (e.g., 'Issue', 'Comment', 'Project', 'Cycle'). The webhook will only receive payloads for events affecting these resource types. */
resourceTypes: string[];
/** A secret token used to sign webhook payloads with HMAC-SHA256, allowing the recipient to verify that the payload originated from Linear and was not tampered with. Automatically generated if not provided during creation. */
secret?: string | null;
/**
* The last time at which the entity was meaningfully updated. This is the same as the creation time if the entity hasn't
* been updated after creation.
*/
updatedAt: Date;
/** The destination URL where webhook payloads will be sent via HTTP POST. Null for OAuth application webhooks, which use the webhook URL configured on the OAuth client instead. */
url?: string | null;
/** The user who created the webhook. */
get creator(): LinearFetch<User> | undefined;
/** The ID of user who created the webhook. */
get creatorId(): string | undefined;
/** The single team that the webhook is scoped to. When null, the webhook either targets all public teams (if allPublicTeams is true), multiple specific teams (if teamIds is set), or organization-wide events. */
get team(): LinearFetch<Team> | undefined;
/** The ID of single team that the webhook is scoped to. when null, the webhook either targets all public teams (if allpublicteams is true), multiple specific teams (if teamids is set), or organization-wide events. */
get teamId(): string | undefined;
/** Creates a new webhook subscription for the workspace. Requires specifying a URL, resource types to subscribe to, and either a specific team or all public teams. */
create(input: WebhookCreateInput): LinearFetch<WebhookPayload>;
/** Deletes a Webhook. */
delete(): LinearFetch<DeletePayload>;
/** Rotates the signing secret for a webhook, generating a new HMAC-SHA256 key and returning it. The old secret is immediately invalidated. */
rotateSecret(): LinearFetch<WebhookRotateSecretPayload>;
/** Updates an existing Webhook. */
update(input: WebhookUpdateInput): LinearFetch<WebhookPayload>;
}
/**
* WebhookConnection model
*
* @param request - function to call the graphql client
* @param fetch - function to trigger a refetch of this WebhookConnection model
* @param data - WebhookConnection response data
*/
declare class WebhookConnection extends Connection<Webhook> {
constructor(request: LinearRequest, fetch: (connection?: LinearConnectionVariables) => LinearFetch<LinearConnection<Webhook> | undefined>, data: WebhookConnectionFragment);
}
/**
* A record of a failed webhook delivery attempt. Created when a webhook payload could not be successfully delivered to the destination URL, either due to an HTTP error response or a network failure. Each failure event captures the HTTP status code (if available), the response body or error message, and a stable execution ID that is shared across retries of the same delivery.
*
* @param request - function to call the graphql client
* @param data - L.WebhookFailureEventFragment response data
*/
declare class WebhookFailureEvent extends Request {
private _webhook;
constructor(request: LinearRequest, data: WebhookFailureEventFragment);
/** The time at which the entity was created. */
createdAt: Date;
/** A stable identifier for the webhook delivery attempt. This ID remains the same across retries of the same payload, making it useful for correlating multiple failure events that belong to the same logical delivery. */
executionId: string;
/** The HTTP status code returned by the webhook recipient. Null if the request failed before receiving a response (e.g., DNS resolution failure, connection timeout). */
httpStatus?: number | null;
/** The unique identifier of the entity. */
id: string;
/** The HTTP response body returned by the recipient, or the error message if the request failed before receiving a response. Truncated to 1000 characters. */
responseOrError?: string | null;
/** The URL that the webhook was trying to push to. */
url: string;
/** The webhook that this failure event is associated with. */
get webhook(): LinearFetch<Webhook> | undefined;
/** The ID of webhook that this failure event is associated with. */
get webhookId(): string | undefined;
}
/**
* The result of a webhook mutation.
*
* @param request - function to call the graphql client
* @param data - L.WebhookPayloadFragment response data
*/
declare class WebhookPayload extends Request {
private _webhook;
constructor(request: LinearRequest, data: WebhookPayloadFragment);
/** The identifier of the last sync operation. */
lastSyncId: number;
/** Whether the operation was successful. */
success: boolean;
/** The webhook entity being mutated. */
get webhook(): LinearFetch<Webhook> | undefined;
/** The ID of webhook entity being mutated. */
get webhookId(): string | undefined;
}
/**
* The result of a webhook secret rotation mutation.
*
* @param request - function to call the graphql client
* @param data - L.WebhookRotateSecretPayloadFragment response data
*/
declare class WebhookRotateSecretPayload extends Request {
constructor(request: LinearRequest, data: WebhookRotateSecretPayloadFragment);
/** The identifier of the last sync operation. */
lastSyncId: number;
/** The new webhook signing secret. */
secret: string;
/** Whether the operation was successful. */
success: boolean;
}
/**
* A welcome message configuration for the workspace. When enabled, new users joining the workspace receive a notification with this message in their inbox. Each workspace has at most one welcome message. The message body is stored in a related DocumentContent entity.
*
* @param request - function to call the graphql client
* @param data - L.WelcomeMessageFragment response data
*/
declare class WelcomeMessage extends Request {
private _updatedBy?;
constructor(request: LinearRequest, data: WelcomeMessageFragment);
/** The time at which the entity was archived. Null if the entity has not been archived. */
archivedAt?: Date | null;
/** The time at which the entity was created. */
createdAt: Date;
/** Whether the welcome message is enabled and should be sent to new users joining the workspace. */
enabled: boolean;
/** The unique identifier of the entity. */
id: string;
/** The title of the welcome message notification. Null defaults to 'Welcome to {workspace name}'. */
title?: string | null;
/**
* The last time at which the entity was meaningfully updated. This is the same as the creation time if the entity hasn't
* been updated after creation.
*/
updatedAt: Date;
/** The user who last updated the welcome message configuration. Null if the user's account has been deleted. */
get updatedBy(): LinearFetch<User> | undefined;
/** The ID of user who last updated the welcome message configuration. null if the user's account has been deleted. */
get updatedById(): string | undefined;
}
/**
* A notification containing a workspace welcome message, sent to newly joined users.
*
* @param request - function to call the graphql client
* @param data - L.WelcomeMessageNotificationFragment response data
*/
declare class WelcomeMessageNotification extends Request {
private _actor?;
private _externalUserActor?;
private _user;
constructor(request: LinearRequest, data: WelcomeMessageNotificationFragment);
/** The time at which the entity was archived. Null if the entity has not been archived. */
archivedAt?: Date | null;
/** The time at which the entity was created. */
createdAt: Date;
/** The time at which an email reminder for this notification was sent to the user. Null if no email reminder has been sent. */
emailedAt?: Date | null;
/** The unique identifier of the entity. */
id: string;
/** The time at which the user marked the notification as read. Null if the notification is unread. */
readAt?: Date | null;
/** The time until which a notification is snoozed. After this time, the notification reappears in the user's inbox. Null if the notification is not currently snoozed. */
snoozedUntilAt?: Date | null;
/** Notification type. Determines the kind of event that triggered this notification and which associated entity fields will be populated. */
type: string;
/** The time at which a notification was unsnoozed. Null if the notification has not been unsnoozed. */
unsnoozedAt?: Date | null;
/**
* The last time at which the entity was meaningfully updated. This is the same as the creation time if the entity hasn't
* been updated after creation.
*/
updatedAt: Date;
/** Related welcome message. */
welcomeMessageId: string;
/** The bot that caused the notification. */
botActor?: ActorBot | null;
/** The category of the notification. */
category: NotificationCategory;
/** The user that caused the notification. Null if the notification was triggered by a non-user actor such as an integration, external user, or system event. */
get actor(): LinearFetch<User> | undefined;
/** The ID of user that caused the notification. null if the notification was triggered by a non-user actor such as an integration, external user, or system event. */
get actorId(): string | undefined;
/** The external user that caused the notification. Populated when the notification was triggered by an external user (e.g., a commenter from a connected integration like Slack or GitHub) rather than a Linear workspace member. */
get externalUserActor(): LinearFetch<ExternalUser> | undefined;
/** The ID of external user that caused the notification. populated when the notification was triggered by an external user (e.g., a commenter from a connected integration like slack or github) rather than a linear workspace member. */
get externalUserActorId(): string | undefined;
/** The recipient user of this notification. */
get user(): LinearFetch<User> | undefined;
/** The ID of recipient user of this notification. */
get userId(): string | undefined;
}
/**
* A time-triggered automation workflow definition that executes on a recurring schedule. Cron job definitions are scoped to a team and contain a set of activities (actions) that run automatically according to the configured cron schedule, such as periodically assigning issues or sending notifications.
*
* @param request - function to call the graphql client
* @param data - L.WorkflowCronJobDefinitionFragment response data
*/
declare class WorkflowCronJobDefinition extends Request {
private _creator;
private _team?;
constructor(request: LinearRequest, data: WorkflowCronJobDefinitionFragment);
/** An array of activities that will be executed as part of the workflow cron job. */
activities: Scalars["JSONObject"];
/** The time at which the entity was archived. Null if the entity has not been archived. */
archivedAt?: Date | null;
/** The time at which the entity was created. */
createdAt: Date;
/** The description of the workflow cron job. */
description?: string | null;
/** Whether the workflow cron job is enabled and will execute on its schedule. */
enabled: boolean;
/** The unique identifier of the entity. */
id: string;
/** The name of the workflow cron job. */
name: string;
/** Recurring schedule which is used to execute the workflow cron job. */
schedule: Scalars["JSONObject"];
/** The sort order of the workflow cron job definition within its siblings. */
sortOrder: string;
/**
* The last time at which the entity was meaningfully updated. This is the same as the creation time if the entity hasn't
* been updated after creation.
*/
updatedAt: Date;
/** The user who created the workflow cron job. */
get creator(): LinearFetch<User> | undefined;
/** The ID of user who created the workflow cron job. */
get creatorId(): string | undefined;
/** The team associated with the workflow cron job. */
get team(): LinearFetch<Team> | undefined;
/** The ID of team associated with the workflow cron job. */
get teamId(): string | undefined;
}
/**
* An automation workflow definition that executes a set of activities when triggered by specific events. Workflows can be scoped to a team, project, cycle, label, custom view, initiative, or user context. They are triggered by entity changes (e.g., issue status change, new comment) and can include conditions that filter which events actually execute the workflow. Activities define the actions taken, such as updating issue properties, sending notifications, or posting to Slack.
*
* @param request - function to call the graphql client
* @param data - L.WorkflowDefinitionFragment response data
*/
declare class WorkflowDefinition extends Request {
private _creator;
private _customView?;
private _cycle?;
private _initiative?;
private _label?;
private _lastUpdatedBy?;
private _owner?;
private _project?;
private _team?;
private _user?;
constructor(request: LinearRequest, data: WorkflowDefinitionFragment);
/** The ordered list of activities (actions) that are executed when the workflow triggers, such as updating issue properties, sending notifications, or calling webhooks. */
activities: Scalars["JSONObject"];
/** Whether the workflow should apply to sub teams. */
applyToSubTeams: boolean;
/** The time at which the entity was archived. Null if the entity has not been archived. */
archivedAt?: Date | null;
/** The color of the workflow as a HEX string. Used in the UI to visually identify the workflow. */
color?: string | null;
/** The filter conditions that must match for the workflow to execute. When null, the workflow triggers on all matching events. */
conditions?: Scalars["JSONObject"] | null;
/** The time at which the entity was created. */
createdAt: Date;
/** The description of the workflow. */
description?: string | null;
/** Whether the workflow is enabled and will execute when its trigger conditions are met. */
enabled: boolean;
/** The name of the group that the workflow belongs to. */
groupName?: string | null;
/** The icon of the workflow. Can be an emoji or a decorative icon type. */
icon?: string | null;
/** The unique identifier of the entity. */
id: string;
/** The date and time when the workflow was last triggered and executed. Null if the workflow has never been executed. */
lastExecutedAt?: Date | null;
/** The name of the workflow. */
name: string;
/** Whether the workflow should only execute once per entity. When true, the workflow is excluded from matching automations for an entity if it has already been executed for that entity. */
runOnce: boolean;
/** Recurring schedule which is used to execute the workflow. */
schedule?: Scalars["JSONObject"] | null;
/** The workflow definition's unique URL slug. */
slugId: string;
/** The sort order of the workflow definition within its siblings. */
sortOrder: string;
/** Aggregated usage stats for this automation workflow definition. */
stats?: Scalars["JSONObject"] | null;
/**
* The last time at which the entity was meaningfully updated. This is the same as the creation time if the entity hasn't
* been updated after creation.
*/
updatedAt: Date;
/** The type of view to which this workflow's context is associated with. */
contextViewType?: ContextViewType | null;
/** The event that triggers the workflow, such as entity creation, update, or a specific state change. */
trigger: WorkflowTrigger;
/** The entity type that triggers this workflow, such as Issue, Project, or Release. */
triggerType: WorkflowTriggerType;
/** The type of the workflow, such as custom automation, SLA, or auto-close. */
type: WorkflowType;
/** The type of user view to which this workflow's context is associated with. */
userContextViewType?: UserContextViewType | null;
/** The user who created the workflow. */
get creator(): LinearFetch<User> | undefined;
/** The ID of user who created the workflow. */
get creatorId(): string | undefined;
/** The context custom view associated with the workflow. */
get customView(): LinearFetch<CustomView> | undefined;
/** The ID of context custom view associated with the workflow. */
get customViewId(): string | undefined;
/** The contextual cycle view associated with the workflow. */
get cycle(): LinearFetch<Cycle> | undefined;
/** The ID of contextual cycle view associated with the workflow. */
get cycleId(): string | undefined;
/** The contextual initiative view associated with the workflow. */
get initiative(): LinearFetch<Initiative> | undefined;
/** The ID of contextual initiative view associated with the workflow. */
get initiativeId(): string | undefined;
/** The contextual label view associated with the workflow. */
get label(): LinearFetch<IssueLabel> | undefined;
/** The ID of contextual label view associated with the workflow. */
get labelId(): string | undefined;
/** The user who last updated the workflow. */
get lastUpdatedBy(): LinearFetch<User> | undefined;
/** The ID of user who last updated the workflow. */
get lastUpdatedById(): string | undefined;
/** The user who owns the workflow. If not defined, it means the creator should be considered as the owner. */
get owner(): LinearFetch<User> | undefined;
/** The ID of user who owns the workflow. if not defined, it means the creator should be considered as the owner. */
get ownerId(): string | undefined;
/** The contextual project view associated with the workflow. */
get project(): LinearFetch<Project> | undefined;
/** The ID of contextual project view associated with the workflow. */
get projectId(): string | undefined;
/** The team associated with the workflow. If not set, the workflow is associated with the entire workspace. */
get team(): LinearFetch<Team> | undefined;
/** The ID of team associated with the workflow. if not set, the workflow is associated with the entire workspace. */
get teamId(): string | undefined;
/** The contextual user view associated with the workflow. */
get user(): LinearFetch<User> | undefined;
/** The ID of contextual user view associated with the workflow. */
get userId(): string | undefined;
}
/**
* A notification related to an automation workflow definition (loop), such as runs that failed to start.
*
* @param request - function to call the graphql client
* @param data - L.WorkflowDefinitionNotificationFragment response data
*/
declare class WorkflowDefinitionNotification extends Request {
private _actor?;
private _externalUserActor?;
private _user;
constructor(request: LinearRequest, data: WorkflowDefinitionNotificationFragment);
/** The time at which the entity was archived. Null if the entity has not been archived. */
archivedAt?: Date | null;
/** The time at which the entity was created. */
createdAt: Date;
/** The time at which an email reminder for this notification was sent to the user. Null if no email reminder has been sent. */
emailedAt?: Date | null;
/** The unique identifier of the entity. */
id: string;
/** The time at which the user marked the notification as read. Null if the notification is unread. */
readAt?: Date | null;
/** The time until which a notification is snoozed. After this time, the notification reappears in the user's inbox. Null if the notification is not currently snoozed. */
snoozedUntilAt?: Date | null;
/** Notification type. Determines the kind of event that triggered this notification and which associated entity fields will be populated. */
type: string;
/** The time at which a notification was unsnoozed. Null if the notification has not been unsnoozed. */
unsnoozedAt?: Date | null;
/**
* The last time at which the entity was meaningfully updated. This is the same as the creation time if the entity hasn't
* been updated after creation.
*/
updatedAt: Date;
/** Identifier of the associated workflow definition (loop). */
workflowDefinitionId: string;
/** The bot that caused the notification. */
botActor?: ActorBot | null;
/** The workflow definition (loop) related to the notification. */
workflowDefinition: WorkflowDefinition;
/** The category of the notification. */
category: NotificationCategory;
/** The user that caused the notification. Null if the notification was triggered by a non-user actor such as an integration, external user, or system event. */
get actor(): LinearFetch<User> | undefined;
/** The ID of user that caused the notification. null if the notification was triggered by a non-user actor such as an integration, external user, or system event. */
get actorId(): string | undefined;
/** The external user that caused the notification. Populated when the notification was triggered by an external user (e.g., a commenter from a connected integration like Slack or GitHub) rather than a Linear workspace member. */
get externalUserActor(): LinearFetch<ExternalUser> | undefined;
/** The ID of external user that caused the notification. populated when the notification was triggered by an external user (e.g., a commenter from a connected integration like slack or github) rather than a linear workspace member. */
get externalUserActorId(): string | undefined;
/** The recipient user of this notification. */
get user(): LinearFetch<User> | undefined;
/** The ID of recipient user of this notification. */
get userId(): string | undefined;
}
/**
* A state in a team's workflow, representing an issue status such as Triage, Backlog, Todo, In Progress, In Review, Done, or Canceled. Each team has its own set of workflow states that define the progression of issues through the team's process. Workflow states have a type that categorizes them (triage, backlog, unstarted, started, completed, canceled), a position that determines their display order, and a color for visual identification. States can be inherited from parent teams to sub-teams.
*
* @param request - function to call the graphql client
* @param data - L.WorkflowStateFragment response data
*/
declare class WorkflowState extends Request {
private _inheritedFrom?;
private _team;
constructor(request: LinearRequest, data: WorkflowStateFragment);
/** The time at which the entity was archived. Null if the entity has not been archived. */
archivedAt?: Date | null;
/** The state's UI color as a HEX string. */
color: string;
/** The time at which the entity was created. */
createdAt: Date;
/** Description of the state. */
description?: string | null;
/** The unique identifier of the entity. */
id: string;
/** The state's human-readable name (e.g., 'In Progress', 'Done', 'Backlog'). */
name: string;
/** The position of the state in the team's workflow. States are displayed in ascending order of position within their type group. */
position: number;
/** The type of the state. One of "triage", "backlog", "unstarted", "started", "completed", "canceled", "duplicate". */
type: string;
/**
* The last time at which the entity was meaningfully updated. This is the same as the creation time if the entity hasn't
* been updated after creation.
*/
updatedAt: Date;
/** The parent team's workflow state that this state was inherited from. Null if the state is not inherited from a parent team. */
get inheritedFrom(): LinearFetch<WorkflowState> | undefined;
/** The ID of parent team's workflow state that this state was inherited from. null if the state is not inherited from a parent team. */
get inheritedFromId(): string | undefined;
/** The team that this workflow state belongs to. Each team has its own set of workflow states. */
get team(): LinearFetch<Team> | undefined;
/** The ID of team that this workflow state belongs to. each team has its own set of workflow states. */
get teamId(): string | undefined;
/** Issues that currently have this workflow state. Returns a paginated and filterable list of issues. */
issues(variables?: Omit<WorkflowState_IssuesQueryVariables, "id">): LinearFetch<IssueConnection>;
/** Archives a state. Only states with issues that have all been archived can be archived. */
archive(): LinearFetch<WorkflowStateArchivePayload>;
/** Creates a new state, adding it to the workflow of a team. */
create(input: WorkflowStateCreateInput): LinearFetch<WorkflowStatePayload>;
/** Updates a state. */
update(input: WorkflowStateUpdateInput): LinearFetch<WorkflowStatePayload>;
}
/**
* A generic payload return from entity archive mutations.
*
* @param request - function to call the graphql client
* @param data - L.WorkflowStateArchivePayloadFragment response data
*/
declare class WorkflowStateArchivePayload extends Request {
private _entity?;
constructor(request: LinearRequest, data: WorkflowStateArchivePayloadFragment);
/** The identifier of the last sync operation. */
lastSyncId: number;
/** Whether the operation was successful. */
success: boolean;
/** The archived/unarchived entity. Null if entity was deleted. */
get entity(): LinearFetch<WorkflowState> | undefined;
/** The ID of archived/unarchived entity. null if entity was deleted. */
get entityId(): string | undefined;
}
/**
* Certain properties of a workflow state.
*
* @param data - L.WorkflowStateChildWebhookPayloadFragment response data
*/
declare class WorkflowStateChildWebhookPayload {
constructor(data: WorkflowStateChildWebhookPayloadFragment);
/** The color of the workflow state. */
color: string;
/** The ID of the workflow state. */
id: string;
/** The name of the workflow state. */
name: string;
/** The type of the workflow state. */
type: string;
}
/**
* WorkflowStateConnection model
*
* @param request - function to call the graphql client
* @param fetch - function to trigger a refetch of this WorkflowStateConnection model
* @param data - WorkflowStateConnection response data
*/
declare class WorkflowStateConnection extends Connection<WorkflowState> {
constructor(request: LinearRequest, fetch: (connection?: LinearConnectionVariables) => LinearFetch<LinearConnection<WorkflowState> | undefined>, data: WorkflowStateConnectionFragment);
}
/**
* The result of a workflow state mutation, containing the created or updated state and a success indicator.
*
* @param request - function to call the graphql client
* @param data - L.WorkflowStatePayloadFragment response data
*/
declare class WorkflowStatePayload extends Request {
private _workflowState;
constructor(request: LinearRequest, data: WorkflowStatePayloadFragment);
/** The identifier of the last sync operation. */
lastSyncId: number;
/** Whether the operation was successful. */
success: boolean;
/** The state that was created or updated. */
get workflowState(): LinearFetch<WorkflowState> | undefined;
/** The ID of state that was created or updated. */
get workflowStateId(): string | undefined;
}
/**
* A fetchable AdministrableTeams Query
*
* @param request - function to call the graphql client
*/
declare class AdministrableTeamsQuery extends Request {
constructor(request: LinearRequest);
/**
* Call the AdministrableTeams query and return a TeamConnection
*
* @param variables - variables to pass into the AdministrableTeamsQuery
* @returns parsed response from AdministrableTeamsQuery
*/
fetch(variables?: AdministrableTeamsQueryVariables): LinearFetch<TeamConnection>;
}
/**
* A fetchable AgentActivities Query
*
* @param request - function to call the graphql client
*/
declare class AgentActivitiesQuery extends Request {
constructor(request: LinearRequest);
/**
* Call the AgentActivities query and return a AgentActivityConnection
*
* @param variables - variables to pass into the AgentActivitiesQuery
* @returns parsed response from AgentActivitiesQuery
*/
fetch(variables?: AgentActivitiesQueryVariables): LinearFetch<AgentActivityConnection>;
}
/**
* A fetchable AgentActivity Query
*
* @param request - function to call the graphql client
*/
declare class AgentActivityQuery extends Request {
constructor(request: LinearRequest);
/**
* Call the AgentActivity query and return a AgentActivity
*
* @param id - required id to pass to agentActivity
* @returns parsed response from AgentActivityQuery
*/
fetch(id: string): LinearFetch<AgentActivity>;
}
/**
* A fetchable AgentSession Query
*
* @param request - function to call the graphql client
*/
declare class AgentSessionQuery extends Request {
constructor(request: LinearRequest);
/**
* Call the AgentSession query and return a AgentSession
*
* @param id - required id to pass to agentSession
* @returns parsed response from AgentSessionQuery
*/
fetch(id: string): LinearFetch<AgentSession>;
}
/**
* A fetchable AgentSessions Query
*
* @param request - function to call the graphql client
*/
declare class AgentSessionsQuery extends Request {
constructor(request: LinearRequest);
/**
* Call the AgentSessions query and return a AgentSessionConnection
*
* @param variables - variables to pass into the AgentSessionsQuery
* @returns parsed response from AgentSessionsQuery
*/
fetch(variables?: AgentSessionsQueryVariables): LinearFetch<AgentSessionConnection>;
}
/**
* A fetchable AgentSkill Query
*
* @param request - function to call the graphql client
*/
declare class AgentSkillQuery extends Request {
constructor(request: LinearRequest);
/**
* Call the AgentSkill query and return a AgentSkill
*
* @param id - required id to pass to agentSkill
* @returns parsed response from AgentSkillQuery
*/
fetch(id: string): LinearFetch<AgentSkill>;
}
/**
* A fetchable AgentSkills Query
*
* @param request - function to call the graphql client
*/
declare class AgentSkillsQuery extends Request {
constructor(request: LinearRequest);
/**
* Call the AgentSkills query and return a AgentSkillConnection
*
* @param variables - variables to pass into the AgentSkillsQuery
* @returns parsed response from AgentSkillsQuery
*/
fetch(variables?: AgentSkillsQueryVariables): LinearFetch<AgentSkillConnection>;
}
/**
* A fetchable ApplicationInfo Query
*
* @param request - function to call the graphql client
*/
declare class ApplicationInfoQuery extends Request {
constructor(request: LinearRequest);
/**
* Call the ApplicationInfo query and return a Application
*
* @param clientId - required clientId to pass to applicationInfo
* @returns parsed response from ApplicationInfoQuery
*/
fetch(clientId: string): LinearFetch<Application>;
}
/**
* A fetchable ArchivedIntegrations Query
*
* @param request - function to call the graphql client
*/
declare class ArchivedIntegrationsQuery extends Request {
constructor(request: LinearRequest);
/**
* Call the ArchivedIntegrations query and return a ArchivedIntegrationPayload list
*
* @returns parsed response from ArchivedIntegrationsQuery
*/
fetch(): LinearFetch<ArchivedIntegrationPayload[]>;
}
/**
* A fetchable Attachment Query
*
* @param request - function to call the graphql client
*/
declare class AttachmentQuery extends Request {
constructor(request: LinearRequest);
/**
* Call the Attachment query and return a Attachment
*
* @param id - required id to pass to attachment
* @returns parsed response from AttachmentQuery
*/
fetch(id: string): LinearFetch<Attachment>;
}
/**
* A fetchable AttachmentIssue Query
*
* @param request - function to call the graphql client
*/
declare class AttachmentIssueQuery extends Request {
constructor(request: LinearRequest);
/**
* Call the AttachmentIssue query and return a Issue
*
* @param id - required id to pass to attachmentIssue
* @returns parsed response from AttachmentIssueQuery
*/
fetch(id: string): LinearFetch<Issue>;
}
/**
* A fetchable Attachments Query
*
* @param request - function to call the graphql client
*/
declare class AttachmentsQuery extends Request {
constructor(request: LinearRequest);
/**
* Call the Attachments query and return a AttachmentConnection
*
* @param variables - variables to pass into the AttachmentsQuery
* @returns parsed response from AttachmentsQuery
*/
fetch(variables?: AttachmentsQueryVariables): LinearFetch<AttachmentConnection>;
}
/**
* A fetchable AttachmentsForUrl Query
*
* @param request - function to call the graphql client
*/
declare class AttachmentsForUrlQuery extends Request {
constructor(request: LinearRequest);
/**
* Call the AttachmentsForUrl query and return a AttachmentConnection
*
* @param url - required url to pass to attachmentsForURL
* @param variables - variables without 'url' to pass into the AttachmentsForUrlQuery
* @returns parsed response from AttachmentsForUrlQuery
*/
fetch(url: string, variables?: Omit<AttachmentsForUrlQueryVariables, "url">): LinearFetch<AttachmentConnection>;
}
/**
* A fetchable AuditEntries Query
*
* @param request - function to call the graphql client
*/
declare class AuditEntriesQuery extends Request {
constructor(request: LinearRequest);
/**
* Call the AuditEntries query and return a AuditEntryConnection
*
* @param variables - variables to pass into the AuditEntriesQuery
* @returns parsed response from AuditEntriesQuery
*/
fetch(variables?: AuditEntriesQueryVariables): LinearFetch<AuditEntryConnection>;
}
/**
* A fetchable AuditEntryTypes Query
*
* @param request - function to call the graphql client
*/
declare class AuditEntryTypesQuery extends Request {
constructor(request: LinearRequest);
/**
* Call the AuditEntryTypes query and return a AuditEntryType list
*
* @returns parsed response from AuditEntryTypesQuery
*/
fetch(): LinearFetch<AuditEntryType[]>;
}
/**
* A fetchable AuthenticationSessions Query
*
* @param request - function to call the graphql client
*/
declare class AuthenticationSessionsQuery extends Request {
constructor(request: LinearRequest);
/**
* Call the AuthenticationSessions query and return a AuthenticationSessionResponse list
*
* @returns parsed response from AuthenticationSessionsQuery
*/
fetch(): LinearFetch<AuthenticationSessionResponse[]>;
}
/**
* A fetchable AvailableUsers Query
*
* @param request - function to call the graphql client
*/
declare class AvailableUsersQuery extends Request {
constructor(request: LinearRequest);
/**
* Call the AvailableUsers query and return a AuthResolverResponse
*
* @returns parsed response from AvailableUsersQuery
*/
fetch(): LinearFetch<AuthResolverResponse>;
}
/**
* A fetchable Comment Query
*
* @param request - function to call the graphql client
*/
declare class CommentQuery extends Request {
constructor(request: LinearRequest);
/**
* Call the Comment query and return a Comment
*
* @param variables - variables to pass into the CommentQuery
* @returns parsed response from CommentQuery
*/
fetch(variables?: CommentQueryVariables): LinearFetch<Comment>;
}
/**
* A fetchable Comments Query
*
* @param request - function to call the graphql client
*/
declare class CommentsQuery extends Request {
constructor(request: LinearRequest);
/**
* Call the Comments query and return a CommentConnection
*
* @param variables - variables to pass into the CommentsQuery
* @returns parsed response from CommentsQuery
*/
fetch(variables?: CommentsQueryVariables): LinearFetch<CommentConnection>;
}
/**
* A fetchable CustomView Query
*
* @param request - function to call the graphql client
*/
declare class CustomViewQuery extends Request {
constructor(request: LinearRequest);
/**
* Call the CustomView query and return a CustomView
*
* @param id - required id to pass to customView
* @returns parsed response from CustomViewQuery
*/
fetch(id: string): LinearFetch<CustomView>;
}
/**
* A fetchable CustomViewHasSubscribers Query
*
* @param request - function to call the graphql client
*/
declare class CustomViewHasSubscribersQuery extends Request {
constructor(request: LinearRequest);
/**
* Call the CustomViewHasSubscribers query and return a CustomViewHasSubscribersPayload
*
* @param id - required id to pass to customViewHasSubscribers
* @returns parsed response from CustomViewHasSubscribersQuery
*/
fetch(id: string): LinearFetch<CustomViewHasSubscribersPayload>;
}
/**
* A fetchable CustomViews Query
*
* @param request - function to call the graphql client
*/
declare class CustomViewsQuery extends Request {
constructor(request: LinearRequest);
/**
* Call the CustomViews query and return a CustomViewConnection
*
* @param variables - variables to pass into the CustomViewsQuery
* @returns parsed response from CustomViewsQuery
*/
fetch(variables?: CustomViewsQueryVariables): LinearFetch<CustomViewConnection>;
}
/**
* A fetchable Customer Query
*
* @param request - function to call the graphql client
*/
declare class CustomerQuery extends Request {
constructor(request: LinearRequest);
/**
* Call the Customer query and return a Customer
*
* @param id - required id to pass to customer
* @returns parsed response from CustomerQuery
*/
fetch(id: string): LinearFetch<Customer>;
}
/**
* A fetchable CustomerNeed Query
*
* @param request - function to call the graphql client
*/
declare class CustomerNeedQuery extends Request {
constructor(request: LinearRequest);
/**
* Call the CustomerNeed query and return a CustomerNeed
*
* @param variables - variables to pass into the CustomerNeedQuery
* @returns parsed response from CustomerNeedQuery
*/
fetch(variables?: CustomerNeedQueryVariables): LinearFetch<CustomerNeed>;
}
/**
* A fetchable CustomerNeeds Query
*
* @param request - function to call the graphql client
*/
declare class CustomerNeedsQuery extends Request {
constructor(request: LinearRequest);
/**
* Call the CustomerNeeds query and return a CustomerNeedConnection
*
* @param variables - variables to pass into the CustomerNeedsQuery
* @returns parsed response from CustomerNeedsQuery
*/
fetch(variables?: CustomerNeedsQueryVariables): LinearFetch<CustomerNeedConnection>;
}
/**
* A fetchable CustomerStatus Query
*
* @param request - function to call the graphql client
*/
declare class CustomerStatusQuery extends Request {
constructor(request: LinearRequest);
/**
* Call the CustomerStatus query and return a CustomerStatus
*
* @param id - required id to pass to customerStatus
* @returns parsed response from CustomerStatusQuery
*/
fetch(id: string): LinearFetch<CustomerStatus>;
}
/**
* A fetchable CustomerStatuses Query
*
* @param request - function to call the graphql client
*/
declare class CustomerStatusesQuery extends Request {
constructor(request: LinearRequest);
/**
* Call the CustomerStatuses query and return a CustomerStatusConnection
*
* @param variables - variables to pass into the CustomerStatusesQuery
* @returns parsed response from CustomerStatusesQuery
*/
fetch(variables?: CustomerStatusesQueryVariables): LinearFetch<CustomerStatusConnection>;
}
/**
* A fetchable CustomerTier Query
*
* @param request - function to call the graphql client
*/
declare class CustomerTierQuery extends Request {
constructor(request: LinearRequest);
/**
* Call the CustomerTier query and return a CustomerTier
*
* @param id - required id to pass to customerTier
* @returns parsed response from CustomerTierQuery
*/
fetch(id: string): LinearFetch<CustomerTier>;
}
/**
* A fetchable CustomerTiers Query
*
* @param request - function to call the graphql client
*/
declare class CustomerTiersQuery extends Request {
constructor(request: LinearRequest);
/**
* Call the CustomerTiers query and return a CustomerTierConnection
*
* @param variables - variables to pass into the CustomerTiersQuery
* @returns parsed response from CustomerTiersQuery
*/
fetch(variables?: CustomerTiersQueryVariables): LinearFetch<CustomerTierConnection>;
}
/**
* A fetchable Customers Query
*
* @param request - function to call the graphql client
*/
declare class CustomersQuery extends Request {
constructor(request: LinearRequest);
/**
* Call the Customers query and return a CustomerConnection
*
* @param variables - variables to pass into the CustomersQuery
* @returns parsed response from CustomersQuery
*/
fetch(variables?: CustomersQueryVariables): LinearFetch<CustomerConnection>;
}
/**
* A fetchable Cycle Query
*
* @param request - function to call the graphql client
*/
declare class CycleQuery extends Request {
constructor(request: LinearRequest);
/**
* Call the Cycle query and return a Cycle
*
* @param id - required id to pass to cycle
* @returns parsed response from CycleQuery
*/
fetch(id: string): LinearFetch<Cycle>;
}
/**
* A fetchable Cycles Query
*
* @param request - function to call the graphql client
*/
declare class CyclesQuery extends Request {
constructor(request: LinearRequest);
/**
* Call the Cycles query and return a CycleConnection
*
* @param variables - variables to pass into the CyclesQuery
* @returns parsed response from CyclesQuery
*/
fetch(variables?: CyclesQueryVariables): LinearFetch<CycleConnection>;
}
/**
* A fetchable Document Query
*
* @param request - function to call the graphql client
*/
declare class DocumentQuery extends Request {
constructor(request: LinearRequest);
/**
* Call the Document query and return a Document
*
* @param id - required id to pass to document
* @returns parsed response from DocumentQuery
*/
fetch(id: string): LinearFetch<Document>;
}
/**
* A fetchable DocumentContentHistory Query
*
* @param request - function to call the graphql client
*/
declare class DocumentContentHistoryQuery extends Request {
constructor(request: LinearRequest);
/**
* Call the DocumentContentHistory query and return a DocumentContentHistoryPayload
*
* @param id - required id to pass to documentContentHistory
* @returns parsed response from DocumentContentHistoryQuery
*/
fetch(id: string): LinearFetch<DocumentContentHistoryPayload>;
}
/**
* A fetchable Documents Query
*
* @param request - function to call the graphql client
*/
declare class DocumentsQuery extends Request {
constructor(request: LinearRequest);
/**
* Call the Documents query and return a DocumentConnection
*
* @param variables - variables to pass into the DocumentsQuery
* @returns parsed response from DocumentsQuery
*/
fetch(variables?: DocumentsQueryVariables): LinearFetch<DocumentConnection>;
}
/**
* A fetchable EmailIntakeAddress Query
*
* @param request - function to call the graphql client
*/
declare class EmailIntakeAddressQuery extends Request {
constructor(request: LinearRequest);
/**
* Call the EmailIntakeAddress query and return a EmailIntakeAddress
*
* @param id - required id to pass to emailIntakeAddress
* @returns parsed response from EmailIntakeAddressQuery
*/
fetch(id: string): LinearFetch<EmailIntakeAddress>;
}
/**
* A fetchable Emoji Query
*
* @param request - function to call the graphql client
*/
declare class EmojiQuery extends Request {
constructor(request: LinearRequest);
/**
* Call the Emoji query and return a Emoji
*
* @param id - required id to pass to emoji
* @returns parsed response from EmojiQuery
*/
fetch(id: string): LinearFetch<Emoji>;
}
/**
* A fetchable Emojis Query
*
* @param request - function to call the graphql client
*/
declare class EmojisQuery extends Request {
constructor(request: LinearRequest);
/**
* Call the Emojis query and return a EmojiConnection
*
* @param variables - variables to pass into the EmojisQuery
* @returns parsed response from EmojisQuery
*/
fetch(variables?: EmojisQueryVariables): LinearFetch<EmojiConnection>;
}
/**
* A fetchable EntityExternalLink Query
*
* @param request - function to call the graphql client
*/
declare class EntityExternalLinkQuery extends Request {
constructor(request: LinearRequest);
/**
* Call the EntityExternalLink query and return a EntityExternalLink
*
* @param id - required id to pass to entityExternalLink
* @returns parsed response from EntityExternalLinkQuery
*/
fetch(id: string): LinearFetch<EntityExternalLink>;
}
/**
* A fetchable ExternalUser Query
*
* @param request - function to call the graphql client
*/
declare class ExternalUserQuery extends Request {
constructor(request: LinearRequest);
/**
* Call the ExternalUser query and return a ExternalUser
*
* @param id - required id to pass to externalUser
* @returns parsed response from ExternalUserQuery
*/
fetch(id: string): LinearFetch<ExternalUser>;
}
/**
* A fetchable ExternalUsers Query
*
* @param request - function to call the graphql client
*/
declare class ExternalUsersQuery extends Request {
constructor(request: LinearRequest);
/**
* Call the ExternalUsers query and return a ExternalUserConnection
*
* @param variables - variables to pass into the ExternalUsersQuery
* @returns parsed response from ExternalUsersQuery
*/
fetch(variables?: ExternalUsersQueryVariables): LinearFetch<ExternalUserConnection>;
}
/**
* A fetchable Favorite Query
*
* @param request - function to call the graphql client
*/
declare class FavoriteQuery extends Request {
constructor(request: LinearRequest);
/**
* Call the Favorite query and return a Favorite
*
* @param id - required id to pass to favorite
* @returns parsed response from FavoriteQuery
*/
fetch(id: string): LinearFetch<Favorite>;
}
/**
* A fetchable Favorites Query
*
* @param request - function to call the graphql client
*/
declare class FavoritesQuery extends Request {
constructor(request: LinearRequest);
/**
* Call the Favorites query and return a FavoriteConnection
*
* @param variables - variables to pass into the FavoritesQuery
* @returns parsed response from FavoritesQuery
*/
fetch(variables?: FavoritesQueryVariables): LinearFetch<FavoriteConnection>;
}
/**
* A fetchable Initiative Query
*
* @param request - function to call the graphql client
*/
declare class InitiativeQuery extends Request {
constructor(request: LinearRequest);
/**
* Call the Initiative query and return a Initiative
*
* @param id - required id to pass to initiative
* @returns parsed response from InitiativeQuery
*/
fetch(id: string): LinearFetch<Initiative>;
}
/**
* A fetchable InitiativeFilterSuggestion Query
*
* @param request - function to call the graphql client
*/
declare class InitiativeFilterSuggestionQuery extends Request {
constructor(request: LinearRequest);
/**
* Call the InitiativeFilterSuggestion query and return a InitiativeFilterSuggestionPayload
*
* @param prompt - required prompt to pass to initiativeFilterSuggestion
* @param variables - variables without 'prompt' to pass into the InitiativeFilterSuggestionQuery
* @returns parsed response from InitiativeFilterSuggestionQuery
*/
fetch(prompt: string, variables?: Omit<InitiativeFilterSuggestionQueryVariables, "prompt">): LinearFetch<InitiativeFilterSuggestionPayload>;
}
/**
* A fetchable InitiativeLabel Query
*
* @param request - function to call the graphql client
*/
declare class InitiativeLabelQuery extends Request {
constructor(request: LinearRequest);
/**
* Call the InitiativeLabel query and return a InitiativeLabel
*
* @param id - required id to pass to initiativeLabel
* @returns parsed response from InitiativeLabelQuery
*/
fetch(id: string): LinearFetch<InitiativeLabel>;
}
/**
* A fetchable InitiativeLabels Query
*
* @param request - function to call the graphql client
*/
declare class InitiativeLabelsQuery extends Request {
constructor(request: LinearRequest);
/**
* Call the InitiativeLabels query and return a InitiativeLabelConnection
*
* @param variables - variables to pass into the InitiativeLabelsQuery
* @returns parsed response from InitiativeLabelsQuery
*/
fetch(variables?: InitiativeLabelsQueryVariables): LinearFetch<InitiativeLabelConnection>;
}
/**
* A fetchable InitiativeRelation Query
*
* @param request - function to call the graphql client
*/
declare class InitiativeRelationQuery extends Request {
constructor(request: LinearRequest);
/**
* Call the InitiativeRelation query and return a InitiativeRelation
*
* @param id - required id to pass to initiativeRelation
* @returns parsed response from InitiativeRelationQuery
*/
fetch(id: string): LinearFetch<InitiativeRelation>;
}
/**
* A fetchable InitiativeRelations Query
*
* @param request - function to call the graphql client
*/
declare class InitiativeRelationsQuery extends Request {
constructor(request: LinearRequest);
/**
* Call the InitiativeRelations query and return a InitiativeRelationConnection
*
* @param variables - variables to pass into the InitiativeRelationsQuery
* @returns parsed response from InitiativeRelationsQuery
*/
fetch(variables?: InitiativeRelationsQueryVariables): LinearFetch<InitiativeRelationConnection>;
}
/**
* A fetchable InitiativeToProject Query
*
* @param request - function to call the graphql client
*/
declare class InitiativeToProjectQuery extends Request {
constructor(request: LinearRequest);
/**
* Call the InitiativeToProject query and return a InitiativeToProject
*
* @param id - required id to pass to initiativeToProject
* @returns parsed response from InitiativeToProjectQuery
*/
fetch(id: string): LinearFetch<InitiativeToProject>;
}
/**
* A fetchable InitiativeToProjects Query
*
* @param request - function to call the graphql client
*/
declare class InitiativeToProjectsQuery extends Request {
constructor(request: LinearRequest);
/**
* Call the InitiativeToProjects query and return a InitiativeToProjectConnection
*
* @param variables - variables to pass into the InitiativeToProjectsQuery
* @returns parsed response from InitiativeToProjectsQuery
*/
fetch(variables?: InitiativeToProjectsQueryVariables): LinearFetch<InitiativeToProjectConnection>;
}
/**
* A fetchable InitiativeUpdate Query
*
* @param request - function to call the graphql client
*/
declare class InitiativeUpdateQuery extends Request {
constructor(request: LinearRequest);
/**
* Call the InitiativeUpdate query and return a InitiativeUpdate
*
* @param id - required id to pass to initiativeUpdate
* @returns parsed response from InitiativeUpdateQuery
*/
fetch(id: string): LinearFetch<InitiativeUpdate>;
}
/**
* A fetchable InitiativeUpdates Query
*
* @param request - function to call the graphql client
*/
declare class InitiativeUpdatesQuery extends Request {
constructor(request: LinearRequest);
/**
* Call the InitiativeUpdates query and return a InitiativeUpdateConnection
*
* @param variables - variables to pass into the InitiativeUpdatesQuery
* @returns parsed response from InitiativeUpdatesQuery
*/
fetch(variables?: InitiativeUpdatesQueryVariables): LinearFetch<InitiativeUpdateConnection>;
}
/**
* A fetchable Initiatives Query
*
* @param request - function to call the graphql client
*/
declare class InitiativesQuery extends Request {
constructor(request: LinearRequest);
/**
* Call the Initiatives query and return a InitiativeConnection
*
* @param variables - variables to pass into the InitiativesQuery
* @returns parsed response from InitiativesQuery
*/
fetch(variables?: InitiativesQueryVariables): LinearFetch<InitiativeConnection>;
}
/**
* A fetchable Integration Query
*
* @param request - function to call the graphql client
*/
declare class IntegrationQuery extends Request {
constructor(request: LinearRequest);
/**
* Call the Integration query and return a Integration
*
* @param id - required id to pass to integration
* @returns parsed response from IntegrationQuery
*/
fetch(id: string): LinearFetch<Integration>;
}
/**
* A fetchable IntegrationHasScopes Query
*
* @param request - function to call the graphql client
*/
declare class IntegrationHasScopesQuery extends Request {
constructor(request: LinearRequest);
/**
* Call the IntegrationHasScopes query and return a IntegrationHasScopesPayload
*
* @param integrationId - required integrationId to pass to integrationHasScopes
* @param scopes - required scopes to pass to integrationHasScopes
* @returns parsed response from IntegrationHasScopesQuery
*/
fetch(integrationId: string, scopes: string[]): LinearFetch<IntegrationHasScopesPayload>;
}
/**
* A fetchable IntegrationTemplate Query
*
* @param request - function to call the graphql client
*/
declare class IntegrationTemplateQuery extends Request {
constructor(request: LinearRequest);
/**
* Call the IntegrationTemplate query and return a IntegrationTemplate
*
* @param id - required id to pass to integrationTemplate
* @returns parsed response from IntegrationTemplateQuery
*/
fetch(id: string): LinearFetch<IntegrationTemplate>;
}
/**
* A fetchable IntegrationTemplates Query
*
* @param request - function to call the graphql client
*/
declare class IntegrationTemplatesQuery extends Request {
constructor(request: LinearRequest);
/**
* Call the IntegrationTemplates query and return a IntegrationTemplateConnection
*
* @param variables - variables to pass into the IntegrationTemplatesQuery
* @returns parsed response from IntegrationTemplatesQuery
*/
fetch(variables?: IntegrationTemplatesQueryVariables): LinearFetch<IntegrationTemplateConnection>;
}
/**
* A fetchable Integrations Query
*
* @param request - function to call the graphql client
*/
declare class IntegrationsQuery extends Request {
constructor(request: LinearRequest);
/**
* Call the Integrations query and return a IntegrationConnection
*
* @param variables - variables to pass into the IntegrationsQuery
* @returns parsed response from IntegrationsQuery
*/
fetch(variables?: IntegrationsQueryVariables): LinearFetch<IntegrationConnection>;
}
/**
* A fetchable IntegrationsSettings Query
*
* @param request - function to call the graphql client
*/
declare class IntegrationsSettingsQuery extends Request {
constructor(request: LinearRequest);
/**
* Call the IntegrationsSettings query and return a IntegrationsSettings
*
* @param id - required id to pass to integrationsSettings
* @returns parsed response from IntegrationsSettingsQuery
*/
fetch(id: string): LinearFetch<IntegrationsSettings>;
}
/**
* A fetchable Issue Query
*
* @param request - function to call the graphql client
*/
declare class IssueQuery extends Request {
constructor(request: LinearRequest);
/**
* Call the Issue query and return a Issue
*
* @param id - required id to pass to issue
* @returns parsed response from IssueQuery
*/
fetch(id: string): LinearFetch<Issue>;
}
/**
* A fetchable IssueFigmaFileKeySearch Query
*
* @param request - function to call the graphql client
*/
declare class IssueFigmaFileKeySearchQuery extends Request {
constructor(request: LinearRequest);
/**
* Call the IssueFigmaFileKeySearch query and return a IssueConnection
*
* @param fileKey - required fileKey to pass to issueFigmaFileKeySearch
* @param variables - variables without 'fileKey' to pass into the IssueFigmaFileKeySearchQuery
* @returns parsed response from IssueFigmaFileKeySearchQuery
*/
fetch(fileKey: string, variables?: Omit<IssueFigmaFileKeySearchQueryVariables, "fileKey">): LinearFetch<IssueConnection>;
}
/**
* A fetchable IssueFilterSuggestion Query
*
* @param request - function to call the graphql client
*/
declare class IssueFilterSuggestionQuery extends Request {
constructor(request: LinearRequest);
/**
* Call the IssueFilterSuggestion query and return a IssueFilterSuggestionPayload
*
* @param prompt - required prompt to pass to issueFilterSuggestion
* @param variables - variables without 'prompt' to pass into the IssueFilterSuggestionQuery
* @returns parsed response from IssueFilterSuggestionQuery
*/
fetch(prompt: string, variables?: Omit<IssueFilterSuggestionQueryVariables, "prompt">): LinearFetch<IssueFilterSuggestionPayload>;
}
/**
* A fetchable IssueImportCheckCsv Query
*
* @param request - function to call the graphql client
*/
declare class IssueImportCheckCsvQuery extends Request {
constructor(request: LinearRequest);
/**
* Call the IssueImportCheckCsv query and return a IssueImportCheckPayload
*
* @param csvUrl - required csvUrl to pass to issueImportCheckCSV
* @param service - required service to pass to issueImportCheckCSV
* @returns parsed response from IssueImportCheckCsvQuery
*/
fetch(csvUrl: string, service: string): LinearFetch<IssueImportCheckPayload>;
}
/**
* A fetchable IssueImportCheckSync Query
*
* @param request - function to call the graphql client
*/
declare class IssueImportCheckSyncQuery extends Request {
constructor(request: LinearRequest);
/**
* Call the IssueImportCheckSync query and return a IssueImportSyncCheckPayload
*
* @param issueImportId - required issueImportId to pass to issueImportCheckSync
* @returns parsed response from IssueImportCheckSyncQuery
*/
fetch(issueImportId: string): LinearFetch<IssueImportSyncCheckPayload>;
}
/**
* A fetchable IssueImportJqlCheck Query
*
* @param request - function to call the graphql client
*/
declare class IssueImportJqlCheckQuery extends Request {
constructor(request: LinearRequest);
/**
* Call the IssueImportJqlCheck query and return a IssueImportJqlCheckPayload
*
* @param jiraEmail - required jiraEmail to pass to issueImportJqlCheck
* @param jiraHostname - required jiraHostname to pass to issueImportJqlCheck
* @param jiraProject - required jiraProject to pass to issueImportJqlCheck
* @param jiraToken - required jiraToken to pass to issueImportJqlCheck
* @param jql - required jql to pass to issueImportJqlCheck
* @returns parsed response from IssueImportJqlCheckQuery
*/
fetch(jiraEmail: string, jiraHostname: string, jiraProject: string, jiraToken: string, jql: string): LinearFetch<IssueImportJqlCheckPayload>;
}
/**
* A fetchable IssueLabel Query
*
* @param request - function to call the graphql client
*/
declare class IssueLabelQuery extends Request {
constructor(request: LinearRequest);
/**
* Call the IssueLabel query and return a IssueLabel
*
* @param id - required id to pass to issueLabel
* @returns parsed response from IssueLabelQuery
*/
fetch(id: string): LinearFetch<IssueLabel>;
}
/**
* A fetchable IssueLabels Query
*
* @param request - function to call the graphql client
*/
declare class IssueLabelsQuery extends Request {
constructor(request: LinearRequest);
/**
* Call the IssueLabels query and return a IssueLabelConnection
*
* @param variables - variables to pass into the IssueLabelsQuery
* @returns parsed response from IssueLabelsQuery
*/
fetch(variables?: IssueLabelsQueryVariables): LinearFetch<IssueLabelConnection>;
}
/**
* A fetchable IssuePriorityValues Query
*
* @param request - function to call the graphql client
*/
declare class IssuePriorityValuesQuery extends Request {
constructor(request: LinearRequest);
/**
* Call the IssuePriorityValues query and return a IssuePriorityValue list
*
* @returns parsed response from IssuePriorityValuesQuery
*/
fetch(): LinearFetch<IssuePriorityValue[]>;
}
/**
* A fetchable IssueRelation Query
*
* @param request - function to call the graphql client
*/
declare class IssueRelationQuery extends Request {
constructor(request: LinearRequest);
/**
* Call the IssueRelation query and return a IssueRelation
*
* @param id - required id to pass to issueRelation
* @returns parsed response from IssueRelationQuery
*/
fetch(id: string): LinearFetch<IssueRelation>;
}
/**
* A fetchable IssueRelations Query
*
* @param request - function to call the graphql client
*/
declare class IssueRelationsQuery extends Request {
constructor(request: LinearRequest);
/**
* Call the IssueRelations query and return a IssueRelationConnection
*
* @param variables - variables to pass into the IssueRelationsQuery
* @returns parsed response from IssueRelationsQuery
*/
fetch(variables?: IssueRelationsQueryVariables): LinearFetch<IssueRelationConnection>;
}
/**
* A fetchable IssueRepositorySuggestions Query
*
* @param request - function to call the graphql client
*/
declare class IssueRepositorySuggestionsQuery extends Request {
constructor(request: LinearRequest);
/**
* Call the IssueRepositorySuggestions query and return a RepositorySuggestionsPayload
*
* @param candidateRepositories - required candidateRepositories to pass to issueRepositorySuggestions
* @param issueId - required issueId to pass to issueRepositorySuggestions
* @param variables - variables without 'candidateRepositories', 'issueId' to pass into the IssueRepositorySuggestionsQuery
* @returns parsed response from IssueRepositorySuggestionsQuery
*/
fetch(candidateRepositories: CandidateRepository[], issueId: string, variables?: Omit<IssueRepositorySuggestionsQueryVariables, "candidateRepositories" | "issueId">): LinearFetch<RepositorySuggestionsPayload>;
}
/**
* A fetchable IssueSearch Query
*
* @param request - function to call the graphql client
*/
declare class IssueSearchQuery extends Request {
constructor(request: LinearRequest);
/**
* Call the IssueSearch query and return a IssueConnection
*
* @param variables - variables to pass into the IssueSearchQuery
* @returns parsed response from IssueSearchQuery
*/
fetch(variables?: IssueSearchQueryVariables): LinearFetch<IssueConnection>;
}
/**
* A fetchable IssueTitleSuggestionFromCustomerRequest Query
*
* @param request - function to call the graphql client
*/
declare class IssueTitleSuggestionFromCustomerRequestQuery extends Request {
constructor(request: LinearRequest);
/**
* Call the IssueTitleSuggestionFromCustomerRequest query and return a IssueTitleSuggestionFromCustomerRequestPayload
*
* @param request - required request to pass to issueTitleSuggestionFromCustomerRequest
* @returns parsed response from IssueTitleSuggestionFromCustomerRequestQuery
*/
fetch(request: string): LinearFetch<IssueTitleSuggestionFromCustomerRequestPayload>;
}
/**
* A fetchable IssueToRelease Query
*
* @param request - function to call the graphql client
*/
declare class IssueToReleaseQuery extends Request {
constructor(request: LinearRequest);
/**
* Call the IssueToRelease query and return a IssueToRelease
*
* @param id - required id to pass to issueToRelease
* @returns parsed response from IssueToReleaseQuery
*/
fetch(id: string): LinearFetch<IssueToRelease>;
}
/**
* A fetchable IssueToReleases Query
*
* @param request - function to call the graphql client
*/
declare class IssueToReleasesQuery extends Request {
constructor(request: LinearRequest);
/**
* Call the IssueToReleases query and return a IssueToReleaseConnection
*
* @param variables - variables to pass into the IssueToReleasesQuery
* @returns parsed response from IssueToReleasesQuery
*/
fetch(variables?: IssueToReleasesQueryVariables): LinearFetch<IssueToReleaseConnection>;
}
/**
* A fetchable IssueVcsBranchSearch Query
*
* @param request - function to call the graphql client
*/
declare class IssueVcsBranchSearchQuery extends Request {
constructor(request: LinearRequest);
/**
* Call the IssueVcsBranchSearch query and return a Issue
*
* @param branchName - required branchName to pass to issueVcsBranchSearch
* @returns parsed response from IssueVcsBranchSearchQuery
*/
fetch(branchName: string): LinearFetch<Issue | undefined>;
}
/**
* A fetchable Issues Query
*
* @param request - function to call the graphql client
*/
declare class IssuesQuery extends Request {
constructor(request: LinearRequest);
/**
* Call the Issues query and return a IssueConnection
*
* @param variables - variables to pass into the IssuesQuery
* @returns parsed response from IssuesQuery
*/
fetch(variables?: IssuesQueryVariables): LinearFetch<IssueConnection>;
}
/**
* A fetchable LatestReleaseByAccessKey Query
*
* @param request - function to call the graphql client
*/
declare class LatestReleaseByAccessKeyQuery extends Request {
constructor(request: LinearRequest);
/**
* Call the LatestReleaseByAccessKey query and return a AccessKeyRelease
*
* @returns parsed response from LatestReleaseByAccessKeyQuery
*/
fetch(): LinearFetch<AccessKeyRelease | undefined>;
}
/**
* A fetchable Notification Query
*
* @param request - function to call the graphql client
*/
declare class NotificationQuery extends Request {
constructor(request: LinearRequest);
/**
* Call the Notification query and return a Notification
*
* @param id - required id to pass to notification
* @returns parsed response from NotificationQuery
*/
fetch(id: string): LinearFetch<CustomerNeedNotification | CustomerNotification | DocumentNotification | InitiativeNotification | IssueNotification | OauthClientApprovalNotification | PostNotification | ProductAnnouncementNotification | ProjectNotification | PullRequestNotification | UsageAlertNotification | WelcomeMessageNotification | WorkflowDefinitionNotification | Notification>;
}
/**
* A fetchable NotificationSubscription Query
*
* @param request - function to call the graphql client
*/
declare class NotificationSubscriptionQuery extends Request {
constructor(request: LinearRequest);
/**
* Call the NotificationSubscription query and return a NotificationSubscription
*
* @param id - required id to pass to notificationSubscription
* @returns parsed response from NotificationSubscriptionQuery
*/
fetch(id: string): LinearFetch<CustomViewNotificationSubscription | CustomerNotificationSubscription | CycleNotificationSubscription | InitiativeNotificationSubscription | LabelNotificationSubscription | ProjectNotificationSubscription | TeamNotificationSubscription | UserNotificationSubscription | NotificationSubscription>;
}
/**
* A fetchable NotificationSubscriptions Query
*
* @param request - function to call the graphql client
*/
declare class NotificationSubscriptionsQuery extends Request {
constructor(request: LinearRequest);
/**
* Call the NotificationSubscriptions query and return a NotificationSubscriptionConnection
*
* @param variables - variables to pass into the NotificationSubscriptionsQuery
* @returns parsed response from NotificationSubscriptionsQuery
*/
fetch(variables?: NotificationSubscriptionsQueryVariables): LinearFetch<NotificationSubscriptionConnection>;
}
/**
* A fetchable Notifications Query
*
* @param request - function to call the graphql client
*/
declare class NotificationsQuery extends Request {
constructor(request: LinearRequest);
/**
* Call the Notifications query and return a NotificationConnection
*
* @param variables - variables to pass into the NotificationsQuery
* @returns parsed response from NotificationsQuery
*/
fetch(variables?: NotificationsQueryVariables): LinearFetch<NotificationConnection>;
}
/**
* A fetchable Organization Query
*
* @param request - function to call the graphql client
*/
declare class OrganizationQuery extends Request {
constructor(request: LinearRequest);
/**
* Call the Organization query and return a Organization
*
* @returns parsed response from OrganizationQuery
*/
fetch(): LinearFetch<Organization>;
}
/**
* A fetchable OrganizationExists Query
*
* @param request - function to call the graphql client
*/
declare class OrganizationExistsQuery extends Request {
constructor(request: LinearRequest);
/**
* Call the OrganizationExists query and return a OrganizationExistsPayload
*
* @param urlKey - required urlKey to pass to organizationExists
* @returns parsed response from OrganizationExistsQuery
*/
fetch(urlKey: string): LinearFetch<OrganizationExistsPayload>;
}
/**
* A fetchable OrganizationInvite Query
*
* @param request - function to call the graphql client
*/
declare class OrganizationInviteQuery extends Request {
constructor(request: LinearRequest);
/**
* Call the OrganizationInvite query and return a OrganizationInvite
*
* @param id - required id to pass to organizationInvite
* @returns parsed response from OrganizationInviteQuery
*/
fetch(id: string): LinearFetch<OrganizationInvite>;
}
/**
* A fetchable OrganizationInvites Query
*
* @param request - function to call the graphql client
*/
declare class OrganizationInvitesQuery extends Request {
constructor(request: LinearRequest);
/**
* Call the OrganizationInvites query and return a OrganizationInviteConnection
*
* @param variables - variables to pass into the OrganizationInvitesQuery
* @returns parsed response from OrganizationInvitesQuery
*/
fetch(variables?: OrganizationInvitesQueryVariables): LinearFetch<OrganizationInviteConnection>;
}
/**
* A fetchable Project Query
*
* @param request - function to call the graphql client
*/
declare class ProjectQuery extends Request {
constructor(request: LinearRequest);
/**
* Call the Project query and return a Project
*
* @param id - required id to pass to project
* @returns parsed response from ProjectQuery
*/
fetch(id: string): LinearFetch<Project>;
}
/**
* A fetchable ProjectFilterSuggestion Query
*
* @param request - function to call the graphql client
*/
declare class ProjectFilterSuggestionQuery extends Request {
constructor(request: LinearRequest);
/**
* Call the ProjectFilterSuggestion query and return a ProjectFilterSuggestionPayload
*
* @param prompt - required prompt to pass to projectFilterSuggestion
* @param variables - variables without 'prompt' to pass into the ProjectFilterSuggestionQuery
* @returns parsed response from ProjectFilterSuggestionQuery
*/
fetch(prompt: string, variables?: Omit<ProjectFilterSuggestionQueryVariables, "prompt">): LinearFetch<ProjectFilterSuggestionPayload>;
}
/**
* A fetchable ProjectLabel Query
*
* @param request - function to call the graphql client
*/
declare class ProjectLabelQuery extends Request {
constructor(request: LinearRequest);
/**
* Call the ProjectLabel query and return a ProjectLabel
*
* @param id - required id to pass to projectLabel
* @returns parsed response from ProjectLabelQuery
*/
fetch(id: string): LinearFetch<ProjectLabel>;
}
/**
* A fetchable ProjectLabels Query
*
* @param request - function to call the graphql client
*/
declare class ProjectLabelsQuery extends Request {
constructor(request: LinearRequest);
/**
* Call the ProjectLabels query and return a ProjectLabelConnection
*
* @param variables - variables to pass into the ProjectLabelsQuery
* @returns parsed response from ProjectLabelsQuery
*/
fetch(variables?: ProjectLabelsQueryVariables): LinearFetch<ProjectLabelConnection>;
}
/**
* A fetchable ProjectMilestone Query
*
* @param request - function to call the graphql client
*/
declare class ProjectMilestoneQuery extends Request {
constructor(request: LinearRequest);
/**
* Call the ProjectMilestone query and return a ProjectMilestone
*
* @param id - required id to pass to projectMilestone
* @returns parsed response from ProjectMilestoneQuery
*/
fetch(id: string): LinearFetch<ProjectMilestone>;
}
/**
* A fetchable ProjectMilestones Query
*
* @param request - function to call the graphql client
*/
declare class ProjectMilestonesQuery extends Request {
constructor(request: LinearRequest);
/**
* Call the ProjectMilestones query and return a ProjectMilestoneConnection
*
* @param variables - variables to pass into the ProjectMilestonesQuery
* @returns parsed response from ProjectMilestonesQuery
*/
fetch(variables?: ProjectMilestonesQueryVariables): LinearFetch<ProjectMilestoneConnection>;
}
/**
* A fetchable ProjectRelation Query
*
* @param request - function to call the graphql client
*/
declare class ProjectRelationQuery extends Request {
constructor(request: LinearRequest);
/**
* Call the ProjectRelation query and return a ProjectRelation
*
* @param id - required id to pass to projectRelation
* @returns parsed response from ProjectRelationQuery
*/
fetch(id: string): LinearFetch<ProjectRelation>;
}
/**
* A fetchable ProjectRelations Query
*
* @param request - function to call the graphql client
*/
declare class ProjectRelationsQuery extends Request {
constructor(request: LinearRequest);
/**
* Call the ProjectRelations query and return a ProjectRelationConnection
*
* @param variables - variables to pass into the ProjectRelationsQuery
* @returns parsed response from ProjectRelationsQuery
*/
fetch(variables?: ProjectRelationsQueryVariables): LinearFetch<ProjectRelationConnection>;
}
/**
* A fetchable ProjectStatus Query
*
* @param request - function to call the graphql client
*/
declare class ProjectStatusQuery extends Request {
constructor(request: LinearRequest);
/**
* Call the ProjectStatus query and return a ProjectStatus
*
* @param id - required id to pass to projectStatus
* @returns parsed response from ProjectStatusQuery
*/
fetch(id: string): LinearFetch<ProjectStatus>;
}
/**
* A fetchable ProjectStatuses Query
*
* @param request - function to call the graphql client
*/
declare class ProjectStatusesQuery extends Request {
constructor(request: LinearRequest);
/**
* Call the ProjectStatuses query and return a ProjectStatusConnection
*
* @param variables - variables to pass into the ProjectStatusesQuery
* @returns parsed response from ProjectStatusesQuery
*/
fetch(variables?: ProjectStatusesQueryVariables): LinearFetch<ProjectStatusConnection>;
}
/**
* A fetchable ProjectUpdate Query
*
* @param request - function to call the graphql client
*/
declare class ProjectUpdateQuery extends Request {
constructor(request: LinearRequest);
/**
* Call the ProjectUpdate query and return a ProjectUpdate
*
* @param id - required id to pass to projectUpdate
* @param variables - variables without 'id' to pass into the ProjectUpdateQuery
* @returns parsed response from ProjectUpdateQuery
*/
fetch(id: string, variables?: Omit<ProjectUpdateQueryVariables, "id">): LinearFetch<ProjectUpdate>;
}
/**
* A fetchable ProjectUpdates Query
*
* @param request - function to call the graphql client
*/
declare class ProjectUpdatesQuery extends Request {
constructor(request: LinearRequest);
/**
* Call the ProjectUpdates query and return a ProjectUpdateConnection
*
* @param variables - variables to pass into the ProjectUpdatesQuery
* @returns parsed response from ProjectUpdatesQuery
*/
fetch(variables?: ProjectUpdatesQueryVariables): LinearFetch<ProjectUpdateConnection>;
}
/**
* A fetchable Projects Query
*
* @param request - function to call the graphql client
*/
declare class ProjectsQuery extends Request {
constructor(request: LinearRequest);
/**
* Call the Projects query and return a ProjectConnection
*
* @param variables - variables to pass into the ProjectsQuery
* @returns parsed response from ProjectsQuery
*/
fetch(variables?: ProjectsQueryVariables): LinearFetch<ProjectConnection>;
}
/**
* A fetchable PushSubscriptionTest Query
*
* @param request - function to call the graphql client
*/
declare class PushSubscriptionTestQuery extends Request {
constructor(request: LinearRequest);
/**
* Call the PushSubscriptionTest query and return a PushSubscriptionTestPayload
*
* @param variables - variables to pass into the PushSubscriptionTestQuery
* @returns parsed response from PushSubscriptionTestQuery
*/
fetch(variables?: PushSubscriptionTestQueryVariables): LinearFetch<PushSubscriptionTestPayload>;
}
/**
* A fetchable RateLimitStatus Query
*
* @param request - function to call the graphql client
*/
declare class RateLimitStatusQuery extends Request {
constructor(request: LinearRequest);
/**
* Call the RateLimitStatus query and return a RateLimitPayload
*
* @returns parsed response from RateLimitStatusQuery
*/
fetch(): LinearFetch<RateLimitPayload>;
}
/**
* A fetchable RecentReleasesByAccessKey Query
*
* @param request - function to call the graphql client
*/
declare class RecentReleasesByAccessKeyQuery extends Request {
constructor(request: LinearRequest);
/**
* Call the RecentReleasesByAccessKey query and return a AccessKeyRelease list
*
* @param variables - variables to pass into the RecentReleasesByAccessKeyQuery
* @returns parsed response from RecentReleasesByAccessKeyQuery
*/
fetch(variables?: RecentReleasesByAccessKeyQueryVariables): LinearFetch<AccessKeyRelease[]>;
}
/**
* A fetchable Release Query
*
* @param request - function to call the graphql client
*/
declare class ReleaseQuery extends Request {
constructor(request: LinearRequest);
/**
* Call the Release query and return a Release
*
* @param id - required id to pass to release
* @returns parsed response from ReleaseQuery
*/
fetch(id: string): LinearFetch<Release>;
}
/**
* A fetchable ReleaseNote Query
*
* @param request - function to call the graphql client
*/
declare class ReleaseNoteQuery extends Request {
constructor(request: LinearRequest);
/**
* Call the ReleaseNote query and return a ReleaseNote
*
* @param id - required id to pass to releaseNote
* @returns parsed response from ReleaseNoteQuery
*/
fetch(id: string): LinearFetch<ReleaseNote>;
}
/**
* A fetchable ReleaseNotes Query
*
* @param request - function to call the graphql client
*/
declare class ReleaseNotesQuery extends Request {
constructor(request: LinearRequest);
/**
* Call the ReleaseNotes query and return a ReleaseNoteConnection
*
* @param variables - variables to pass into the ReleaseNotesQuery
* @returns parsed response from ReleaseNotesQuery
*/
fetch(variables?: ReleaseNotesQueryVariables): LinearFetch<ReleaseNoteConnection>;
}
/**
* A fetchable ReleasePipeline Query
*
* @param request - function to call the graphql client
*/
declare class ReleasePipelineQuery extends Request {
constructor(request: LinearRequest);
/**
* Call the ReleasePipeline query and return a ReleasePipeline
*
* @param id - required id to pass to releasePipeline
* @returns parsed response from ReleasePipelineQuery
*/
fetch(id: string): LinearFetch<ReleasePipeline>;
}
/**
* A fetchable ReleasePipelineByAccessKey Query
*
* @param request - function to call the graphql client
*/
declare class ReleasePipelineByAccessKeyQuery extends Request {
constructor(request: LinearRequest);
/**
* Call the ReleasePipelineByAccessKey query and return a AccessKeyReleasePipeline
*
* @returns parsed response from ReleasePipelineByAccessKeyQuery
*/
fetch(): LinearFetch<AccessKeyReleasePipeline>;
}
/**
* A fetchable ReleasePipelines Query
*
* @param request - function to call the graphql client
*/
declare class ReleasePipelinesQuery extends Request {
constructor(request: LinearRequest);
/**
* Call the ReleasePipelines query and return a ReleasePipelineConnection
*
* @param variables - variables to pass into the ReleasePipelinesQuery
* @returns parsed response from ReleasePipelinesQuery
*/
fetch(variables?: ReleasePipelinesQueryVariables): LinearFetch<ReleasePipelineConnection>;
}
/**
* A fetchable ReleaseSearch Query
*
* @param request - function to call the graphql client
*/
declare class ReleaseSearchQuery extends Request {
constructor(request: LinearRequest);
/**
* Call the ReleaseSearch query and return a Release list
*
* @param variables - variables to pass into the ReleaseSearchQuery
* @returns parsed response from ReleaseSearchQuery
*/
fetch(variables?: ReleaseSearchQueryVariables): LinearFetch<Release[]>;
}
/**
* A fetchable ReleaseStage Query
*
* @param request - function to call the graphql client
*/
declare class ReleaseStageQuery extends Request {
constructor(request: LinearRequest);
/**
* Call the ReleaseStage query and return a ReleaseStage
*
* @param id - required id to pass to releaseStage
* @returns parsed response from ReleaseStageQuery
*/
fetch(id: string): LinearFetch<ReleaseStage>;
}
/**
* A fetchable ReleaseStages Query
*
* @param request - function to call the graphql client
*/
declare class ReleaseStagesQuery extends Request {
constructor(request: LinearRequest);
/**
* Call the ReleaseStages query and return a ReleaseStageConnection
*
* @param variables - variables to pass into the ReleaseStagesQuery
* @returns parsed response from ReleaseStagesQuery
*/
fetch(variables?: ReleaseStagesQueryVariables): LinearFetch<ReleaseStageConnection>;
}
/**
* A fetchable Releases Query
*
* @param request - function to call the graphql client
*/
declare class ReleasesQuery extends Request {
constructor(request: LinearRequest);
/**
* Call the Releases query and return a ReleaseConnection
*
* @param variables - variables to pass into the ReleasesQuery
* @returns parsed response from ReleasesQuery
*/
fetch(variables?: ReleasesQueryVariables): LinearFetch<ReleaseConnection>;
}
/**
* A fetchable Roadmap Query
*
* @param request - function to call the graphql client
*/
declare class RoadmapQuery extends Request {
constructor(request: LinearRequest);
/**
* Call the Roadmap query and return a Roadmap
*
* @param id - required id to pass to roadmap
* @returns parsed response from RoadmapQuery
*/
fetch(id: string): LinearFetch<Roadmap>;
}
/**
* A fetchable RoadmapToProject Query
*
* @param request - function to call the graphql client
*/
declare class RoadmapToProjectQuery extends Request {
constructor(request: LinearRequest);
/**
* Call the RoadmapToProject query and return a RoadmapToProject
*
* @param id - required id to pass to roadmapToProject
* @returns parsed response from RoadmapToProjectQuery
*/
fetch(id: string): LinearFetch<RoadmapToProject>;
}
/**
* A fetchable RoadmapToProjects Query
*
* @param request - function to call the graphql client
*/
declare class RoadmapToProjectsQuery extends Request {
constructor(request: LinearRequest);
/**
* Call the RoadmapToProjects query and return a RoadmapToProjectConnection
*
* @param variables - variables to pass into the RoadmapToProjectsQuery
* @returns parsed response from RoadmapToProjectsQuery
*/
fetch(variables?: RoadmapToProjectsQueryVariables): LinearFetch<RoadmapToProjectConnection>;
}
/**
* A fetchable Roadmaps Query
*
* @param request - function to call the graphql client
*/
declare class RoadmapsQuery extends Request {
constructor(request: LinearRequest);
/**
* Call the Roadmaps query and return a RoadmapConnection
*
* @param variables - variables to pass into the RoadmapsQuery
* @returns parsed response from RoadmapsQuery
*/
fetch(variables?: RoadmapsQueryVariables): LinearFetch<RoadmapConnection>;
}
/**
* A fetchable SearchDocuments Query
*
* @param request - function to call the graphql client
*/
declare class SearchDocumentsQuery extends Request {
constructor(request: LinearRequest);
/**
* Call the SearchDocuments query and return a DocumentSearchPayload
*
* @param term - required term to pass to searchDocuments
* @param variables - variables without 'term' to pass into the SearchDocumentsQuery
* @returns parsed response from SearchDocumentsQuery
*/
fetch(term: string, variables?: Omit<SearchDocumentsQueryVariables, "term">): LinearFetch<DocumentSearchPayload>;
}
/**
* A fetchable SearchIssues Query
*
* @param request - function to call the graphql client
*/
declare class SearchIssuesQuery extends Request {
constructor(request: LinearRequest);
/**
* Call the SearchIssues query and return a IssueSearchPayload
*
* @param term - required term to pass to searchIssues
* @param variables - variables without 'term' to pass into the SearchIssuesQuery
* @returns parsed response from SearchIssuesQuery
*/
fetch(term: string, variables?: Omit<SearchIssuesQueryVariables, "term">): LinearFetch<IssueSearchPayload>;
}
/**
* A fetchable SearchProjects Query
*
* @param request - function to call the graphql client
*/
declare class SearchProjectsQuery extends Request {
constructor(request: LinearRequest);
/**
* Call the SearchProjects query and return a ProjectSearchPayload
*
* @param term - required term to pass to searchProjects
* @param variables - variables without 'term' to pass into the SearchProjectsQuery
* @returns parsed response from SearchProjectsQuery
*/
fetch(term: string, variables?: Omit<SearchProjectsQueryVariables, "term">): LinearFetch<ProjectSearchPayload>;
}
/**
* A fetchable SemanticSearch Query
*
* @param request - function to call the graphql client
*/
declare class SemanticSearchQuery extends Request {
constructor(request: LinearRequest);
/**
* Call the SemanticSearch query and return a SemanticSearchPayload
*
* @param query - required query to pass to semanticSearch
* @param variables - variables without 'query' to pass into the SemanticSearchQuery
* @returns parsed response from SemanticSearchQuery
*/
fetch(query: string, variables?: Omit<SemanticSearchQueryVariables, "query">): LinearFetch<SemanticSearchPayload>;
}
/**
* A fetchable SlaConfigurations Query
*
* @param request - function to call the graphql client
*/
declare class SlaConfigurationsQuery extends Request {
constructor(request: LinearRequest);
/**
* Call the SlaConfigurations query and return a SlaConfiguration list
*
* @param teamId - required teamId to pass to slaConfigurations
* @returns parsed response from SlaConfigurationsQuery
*/
fetch(teamId: string): LinearFetch<SlaConfiguration[]>;
}
/**
* A fetchable SsoUrlFromEmail Query
*
* @param request - function to call the graphql client
*/
declare class SsoUrlFromEmailQuery extends Request {
constructor(request: LinearRequest);
/**
* Call the SsoUrlFromEmail query and return a SsoUrlFromEmailResponse
*
* @param email - required email to pass to ssoUrlFromEmail
* @param type - required type to pass to ssoUrlFromEmail
* @param variables - variables without 'email', 'type' to pass into the SsoUrlFromEmailQuery
* @returns parsed response from SsoUrlFromEmailQuery
*/
fetch(email: string, type: IdentityProviderType, variables?: Omit<SsoUrlFromEmailQueryVariables, "email" | "type">): LinearFetch<SsoUrlFromEmailResponse>;
}
/**
* A fetchable Team Query
*
* @param request - function to call the graphql client
*/
declare class TeamQuery extends Request {
constructor(request: LinearRequest);
/**
* Call the Team query and return a Team
*
* @param id - required id to pass to team
* @returns parsed response from TeamQuery
*/
fetch(id: string): LinearFetch<Team>;
}
/**
* A fetchable TeamMembership Query
*
* @param request - function to call the graphql client
*/
declare class TeamMembershipQuery extends Request {
constructor(request: LinearRequest);
/**
* Call the TeamMembership query and return a TeamMembership
*
* @param id - required id to pass to teamMembership
* @returns parsed response from TeamMembershipQuery
*/
fetch(id: string): LinearFetch<TeamMembership>;
}
/**
* A fetchable TeamMemberships Query
*
* @param request - function to call the graphql client
*/
declare class TeamMembershipsQuery extends Request {
constructor(request: LinearRequest);
/**
* Call the TeamMemberships query and return a TeamMembershipConnection
*
* @param variables - variables to pass into the TeamMembershipsQuery
* @returns parsed response from TeamMembershipsQuery
*/
fetch(variables?: TeamMembershipsQueryVariables): LinearFetch<TeamMembershipConnection>;
}
/**
* A fetchable Teams Query
*
* @param request - function to call the graphql client
*/
declare class TeamsQuery extends Request {
constructor(request: LinearRequest);
/**
* Call the Teams query and return a TeamConnection
*
* @param variables - variables to pass into the TeamsQuery
* @returns parsed response from TeamsQuery
*/
fetch(variables?: TeamsQueryVariables): LinearFetch<TeamConnection>;
}
/**
* A fetchable Template Query
*
* @param request - function to call the graphql client
*/
declare class TemplateQuery extends Request {
constructor(request: LinearRequest);
/**
* Call the Template query and return a Template
*
* @param id - required id to pass to template
* @returns parsed response from TemplateQuery
*/
fetch(id: string): LinearFetch<Template>;
}
/**
* A fetchable Templates Query
*
* @param request - function to call the graphql client
*/
declare class TemplatesQuery extends Request {
constructor(request: LinearRequest);
/**
* Call the Templates query and return a Template list
*
* @returns parsed response from TemplatesQuery
*/
fetch(): LinearFetch<Template[]>;
}
/**
* A fetchable TemplatesForIntegration Query
*
* @param request - function to call the graphql client
*/
declare class TemplatesForIntegrationQuery extends Request {
constructor(request: LinearRequest);
/**
* Call the TemplatesForIntegration query and return a Template list
*
* @param integrationType - required integrationType to pass to templatesForIntegration
* @returns parsed response from TemplatesForIntegrationQuery
*/
fetch(integrationType: string): LinearFetch<Template[]>;
}
/**
* A fetchable TimeSchedule Query
*
* @param request - function to call the graphql client
*/
declare class TimeScheduleQuery extends Request {
constructor(request: LinearRequest);
/**
* Call the TimeSchedule query and return a TimeSchedule
*
* @param id - required id to pass to timeSchedule
* @returns parsed response from TimeScheduleQuery
*/
fetch(id: string): LinearFetch<TimeSchedule>;
}
/**
* A fetchable TimeSchedules Query
*
* @param request - function to call the graphql client
*/
declare class TimeSchedulesQuery extends Request {
constructor(request: LinearRequest);
/**
* Call the TimeSchedules query and return a TimeScheduleConnection
*
* @param variables - variables to pass into the TimeSchedulesQuery
* @returns parsed response from TimeSchedulesQuery
*/
fetch(variables?: TimeSchedulesQueryVariables): LinearFetch<TimeScheduleConnection>;
}
/**
* A fetchable TriageResponsibilities Query
*
* @param request - function to call the graphql client
*/
declare class TriageResponsibilitiesQuery extends Request {
constructor(request: LinearRequest);
/**
* Call the TriageResponsibilities query and return a TriageResponsibilityConnection
*
* @param variables - variables to pass into the TriageResponsibilitiesQuery
* @returns parsed response from TriageResponsibilitiesQuery
*/
fetch(variables?: TriageResponsibilitiesQueryVariables): LinearFetch<TriageResponsibilityConnection>;
}
/**
* A fetchable TriageResponsibility Query
*
* @param request - function to call the graphql client
*/
declare class TriageResponsibilityQuery extends Request {
constructor(request: LinearRequest);
/**
* Call the TriageResponsibility query and return a TriageResponsibility
*
* @param id - required id to pass to triageResponsibility
* @returns parsed response from TriageResponsibilityQuery
*/
fetch(id: string): LinearFetch<TriageResponsibility>;
}
/**
* A fetchable User Query
*
* @param request - function to call the graphql client
*/
declare class UserQuery extends Request {
constructor(request: LinearRequest);
/**
* Call the User query and return a User
*
* @param id - required id to pass to user
* @returns parsed response from UserQuery
*/
fetch(id: string): LinearFetch<User>;
}
/**
* A fetchable UserSessions Query
*
* @param request - function to call the graphql client
*/
declare class UserSessionsQuery extends Request {
constructor(request: LinearRequest);
/**
* Call the UserSessions query and return a AuthenticationSessionResponse list
*
* @param id - required id to pass to userSessions
* @returns parsed response from UserSessionsQuery
*/
fetch(id: string): LinearFetch<AuthenticationSessionResponse[]>;
}
/**
* A fetchable UserSettings Query
*
* @param request - function to call the graphql client
*/
declare class UserSettingsQuery extends Request {
constructor(request: LinearRequest);
/**
* Call the UserSettings query and return a UserSettings
*
* @returns parsed response from UserSettingsQuery
*/
fetch(): LinearFetch<UserSettings>;
}
/**
* A fetchable Users Query
*
* @param request - function to call the graphql client
*/
declare class UsersQuery extends Request {
constructor(request: LinearRequest);
/**
* Call the Users query and return a UserConnection
*
* @param variables - variables to pass into the UsersQuery
* @returns parsed response from UsersQuery
*/
fetch(variables?: UsersQueryVariables): LinearFetch<UserConnection>;
}
/**
* A fetchable VerifyGitHubEnterpriseServerInstallation Query
*
* @param request - function to call the graphql client
*/
declare class VerifyGitHubEnterpriseServerInstallationQuery extends Request {
constructor(request: LinearRequest);
/**
* Call the VerifyGitHubEnterpriseServerInstallation query and return a GitHubEnterpriseServerInstallVerificationPayload
*
* @param integrationId - required integrationId to pass to verifyGitHubEnterpriseServerInstallation
* @returns parsed response from VerifyGitHubEnterpriseServerInstallationQuery
*/
fetch(integrationId: string): LinearFetch<GitHubEnterpriseServerInstallVerificationPayload>;
}
/**
* A fetchable Viewer Query
*
* @param request - function to call the graphql client
*/
declare class ViewerQuery extends Request {
constructor(request: LinearRequest);
/**
* Call the Viewer query and return a User
*
* @returns parsed response from ViewerQuery
*/
fetch(): LinearFetch<User>;
}
/**
* A fetchable Webhook Query
*
* @param request - function to call the graphql client
*/
declare class WebhookQuery extends Request {
constructor(request: LinearRequest);
/**
* Call the Webhook query and return a Webhook
*
* @param id - required id to pass to webhook
* @returns parsed response from WebhookQuery
*/
fetch(id: string): LinearFetch<Webhook>;
}
/**
* A fetchable Webhooks Query
*
* @param request - function to call the graphql client
*/
declare class WebhooksQuery extends Request {
constructor(request: LinearRequest);
/**
* Call the Webhooks query and return a WebhookConnection
*
* @param variables - variables to pass into the WebhooksQuery
* @returns parsed response from WebhooksQuery
*/
fetch(variables?: WebhooksQueryVariables): LinearFetch<WebhookConnection>;
}
/**
* A fetchable WorkflowState Query
*
* @param request - function to call the graphql client
*/
declare class WorkflowStateQuery extends Request {
constructor(request: LinearRequest);
/**
* Call the WorkflowState query and return a WorkflowState
*
* @param id - required id to pass to workflowState
* @returns parsed response from WorkflowStateQuery
*/
fetch(id: string): LinearFetch<WorkflowState>;
}
/**
* A fetchable WorkflowStates Query
*
* @param request - function to call the graphql client
*/
declare class WorkflowStatesQuery extends Request {
constructor(request: LinearRequest);
/**
* Call the WorkflowStates query and return a WorkflowStateConnection
*
* @param variables - variables to pass into the WorkflowStatesQuery
* @returns parsed response from WorkflowStatesQuery
*/
fetch(variables?: WorkflowStatesQueryVariables): LinearFetch<WorkflowStateConnection>;
}
/**
* A fetchable CreateAgentActivity Mutation
*
* @param request - function to call the graphql client
*/
declare class CreateAgentActivityMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the CreateAgentActivity mutation and return a AgentActivityPayload
*
* @param input - required input to pass to createAgentActivity
* @returns parsed response from CreateAgentActivityMutation
*/
fetch(input: AgentActivityCreateInput): LinearFetch<AgentActivityPayload>;
}
/**
* A fetchable AgentSessionCreateOnComment Mutation
*
* @param request - function to call the graphql client
*/
declare class AgentSessionCreateOnCommentMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the AgentSessionCreateOnComment mutation and return a AgentSessionPayload
*
* @param input - required input to pass to agentSessionCreateOnComment
* @returns parsed response from AgentSessionCreateOnCommentMutation
*/
fetch(input: AgentSessionCreateOnComment): LinearFetch<AgentSessionPayload>;
}
/**
* A fetchable AgentSessionCreateOnIssue Mutation
*
* @param request - function to call the graphql client
*/
declare class AgentSessionCreateOnIssueMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the AgentSessionCreateOnIssue mutation and return a AgentSessionPayload
*
* @param input - required input to pass to agentSessionCreateOnIssue
* @returns parsed response from AgentSessionCreateOnIssueMutation
*/
fetch(input: AgentSessionCreateOnIssue): LinearFetch<AgentSessionPayload>;
}
/**
* A fetchable UpdateAgentSession Mutation
*
* @param request - function to call the graphql client
*/
declare class UpdateAgentSessionMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the UpdateAgentSession mutation and return a AgentSessionPayload
*
* @param id - required id to pass to updateAgentSession
* @param input - required input to pass to updateAgentSession
* @returns parsed response from UpdateAgentSessionMutation
*/
fetch(id: string, input: AgentSessionUpdateInput): LinearFetch<AgentSessionPayload>;
}
/**
* A fetchable AgentSessionUpdateExternalUrl Mutation
*
* @param request - function to call the graphql client
*/
declare class AgentSessionUpdateExternalUrlMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the AgentSessionUpdateExternalUrl mutation and return a AgentSessionPayload
*
* @param id - required id to pass to agentSessionUpdateExternalUrl
* @param input - required input to pass to agentSessionUpdateExternalUrl
* @returns parsed response from AgentSessionUpdateExternalUrlMutation
*/
fetch(id: string, input: AgentSessionUpdateExternalUrlInput): LinearFetch<AgentSessionPayload>;
}
/**
* A fetchable CreateAgentSkill Mutation
*
* @param request - function to call the graphql client
*/
declare class CreateAgentSkillMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the CreateAgentSkill mutation and return a AgentSkillPayload
*
* @param input - required input to pass to createAgentSkill
* @returns parsed response from CreateAgentSkillMutation
*/
fetch(input: AgentSkillCreateInput): LinearFetch<AgentSkillPayload>;
}
/**
* A fetchable DeleteAgentSkill Mutation
*
* @param request - function to call the graphql client
*/
declare class DeleteAgentSkillMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the DeleteAgentSkill mutation and return a DeletePayload
*
* @param id - required id to pass to deleteAgentSkill
* @returns parsed response from DeleteAgentSkillMutation
*/
fetch(id: string): LinearFetch<DeletePayload>;
}
/**
* A fetchable UpdateAgentSkill Mutation
*
* @param request - function to call the graphql client
*/
declare class UpdateAgentSkillMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the UpdateAgentSkill mutation and return a AgentSkillPayload
*
* @param id - required id to pass to updateAgentSkill
* @param input - required input to pass to updateAgentSkill
* @returns parsed response from UpdateAgentSkillMutation
*/
fetch(id: string, input: AgentSkillUpdateInput): LinearFetch<AgentSkillPayload>;
}
/**
* A fetchable AirbyteIntegrationConnect Mutation
*
* @param request - function to call the graphql client
*/
declare class AirbyteIntegrationConnectMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the AirbyteIntegrationConnect mutation and return a IntegrationPayload
*
* @param input - required input to pass to airbyteIntegrationConnect
* @returns parsed response from AirbyteIntegrationConnectMutation
*/
fetch(input: AirbyteConfigurationInput): LinearFetch<IntegrationPayload>;
}
/**
* A fetchable CreateAttachment Mutation
*
* @param request - function to call the graphql client
*/
declare class CreateAttachmentMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the CreateAttachment mutation and return a AttachmentPayload
*
* @param input - required input to pass to createAttachment
* @returns parsed response from CreateAttachmentMutation
*/
fetch(input: AttachmentCreateInput): LinearFetch<AttachmentPayload>;
}
/**
* A fetchable DeleteAttachment Mutation
*
* @param request - function to call the graphql client
*/
declare class DeleteAttachmentMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the DeleteAttachment mutation and return a DeletePayload
*
* @param id - required id to pass to deleteAttachment
* @returns parsed response from DeleteAttachmentMutation
*/
fetch(id: string): LinearFetch<DeletePayload>;
}
/**
* A fetchable AttachmentLinkDiscord Mutation
*
* @param request - function to call the graphql client
*/
declare class AttachmentLinkDiscordMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the AttachmentLinkDiscord mutation and return a AttachmentPayload
*
* @param channelId - required channelId to pass to attachmentLinkDiscord
* @param issueId - required issueId to pass to attachmentLinkDiscord
* @param messageId - required messageId to pass to attachmentLinkDiscord
* @param url - required url to pass to attachmentLinkDiscord
* @param variables - variables without 'channelId', 'issueId', 'messageId', 'url' to pass into the AttachmentLinkDiscordMutation
* @returns parsed response from AttachmentLinkDiscordMutation
*/
fetch(channelId: string, issueId: string, messageId: string, url: string, variables?: Omit<AttachmentLinkDiscordMutationVariables, "channelId" | "issueId" | "messageId" | "url">): LinearFetch<AttachmentPayload>;
}
/**
* A fetchable AttachmentLinkFront Mutation
*
* @param request - function to call the graphql client
*/
declare class AttachmentLinkFrontMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the AttachmentLinkFront mutation and return a FrontAttachmentPayload
*
* @param conversationId - required conversationId to pass to attachmentLinkFront
* @param issueId - required issueId to pass to attachmentLinkFront
* @param variables - variables without 'conversationId', 'issueId' to pass into the AttachmentLinkFrontMutation
* @returns parsed response from AttachmentLinkFrontMutation
*/
fetch(conversationId: string, issueId: string, variables?: Omit<AttachmentLinkFrontMutationVariables, "conversationId" | "issueId">): LinearFetch<FrontAttachmentPayload>;
}
/**
* A fetchable AttachmentLinkGitHubIssue Mutation
*
* @param request - function to call the graphql client
*/
declare class AttachmentLinkGitHubIssueMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the AttachmentLinkGitHubIssue mutation and return a AttachmentPayload
*
* @param issueId - required issueId to pass to attachmentLinkGitHubIssue
* @param url - required url to pass to attachmentLinkGitHubIssue
* @param variables - variables without 'issueId', 'url' to pass into the AttachmentLinkGitHubIssueMutation
* @returns parsed response from AttachmentLinkGitHubIssueMutation
*/
fetch(issueId: string, url: string, variables?: Omit<AttachmentLinkGitHubIssueMutationVariables, "issueId" | "url">): LinearFetch<AttachmentPayload>;
}
/**
* A fetchable AttachmentLinkGitHubPr Mutation
*
* @param request - function to call the graphql client
*/
declare class AttachmentLinkGitHubPrMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the AttachmentLinkGitHubPr mutation and return a AttachmentPayload
*
* @param issueId - required issueId to pass to attachmentLinkGitHubPR
* @param url - required url to pass to attachmentLinkGitHubPR
* @param variables - variables without 'issueId', 'url' to pass into the AttachmentLinkGitHubPrMutation
* @returns parsed response from AttachmentLinkGitHubPrMutation
*/
fetch(issueId: string, url: string, variables?: Omit<AttachmentLinkGitHubPrMutationVariables, "issueId" | "url">): LinearFetch<AttachmentPayload>;
}
/**
* A fetchable AttachmentLinkGitLabMr Mutation
*
* @param request - function to call the graphql client
*/
declare class AttachmentLinkGitLabMrMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the AttachmentLinkGitLabMr mutation and return a AttachmentPayload
*
* @param issueId - required issueId to pass to attachmentLinkGitLabMR
* @param number - required number to pass to attachmentLinkGitLabMR
* @param projectPathWithNamespace - required projectPathWithNamespace to pass to attachmentLinkGitLabMR
* @param url - required url to pass to attachmentLinkGitLabMR
* @param variables - variables without 'issueId', 'number', 'projectPathWithNamespace', 'url' to pass into the AttachmentLinkGitLabMrMutation
* @returns parsed response from AttachmentLinkGitLabMrMutation
*/
fetch(issueId: string, number: number, projectPathWithNamespace: string, url: string, variables?: Omit<AttachmentLinkGitLabMrMutationVariables, "issueId" | "number" | "projectPathWithNamespace" | "url">): LinearFetch<AttachmentPayload>;
}
/**
* A fetchable AttachmentLinkIntercom Mutation
*
* @param request - function to call the graphql client
*/
declare class AttachmentLinkIntercomMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the AttachmentLinkIntercom mutation and return a AttachmentPayload
*
* @param conversationId - required conversationId to pass to attachmentLinkIntercom
* @param issueId - required issueId to pass to attachmentLinkIntercom
* @param variables - variables without 'conversationId', 'issueId' to pass into the AttachmentLinkIntercomMutation
* @returns parsed response from AttachmentLinkIntercomMutation
*/
fetch(conversationId: string, issueId: string, variables?: Omit<AttachmentLinkIntercomMutationVariables, "conversationId" | "issueId">): LinearFetch<AttachmentPayload>;
}
/**
* A fetchable AttachmentLinkJiraIssue Mutation
*
* @param request - function to call the graphql client
*/
declare class AttachmentLinkJiraIssueMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the AttachmentLinkJiraIssue mutation and return a AttachmentPayload
*
* @param issueId - required issueId to pass to attachmentLinkJiraIssue
* @param jiraIssueId - required jiraIssueId to pass to attachmentLinkJiraIssue
* @param variables - variables without 'issueId', 'jiraIssueId' to pass into the AttachmentLinkJiraIssueMutation
* @returns parsed response from AttachmentLinkJiraIssueMutation
*/
fetch(issueId: string, jiraIssueId: string, variables?: Omit<AttachmentLinkJiraIssueMutationVariables, "issueId" | "jiraIssueId">): LinearFetch<AttachmentPayload>;
}
/**
* A fetchable AttachmentLinkSalesforce Mutation
*
* @param request - function to call the graphql client
*/
declare class AttachmentLinkSalesforceMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the AttachmentLinkSalesforce mutation and return a AttachmentPayload
*
* @param issueId - required issueId to pass to attachmentLinkSalesforce
* @param url - required url to pass to attachmentLinkSalesforce
* @param variables - variables without 'issueId', 'url' to pass into the AttachmentLinkSalesforceMutation
* @returns parsed response from AttachmentLinkSalesforceMutation
*/
fetch(issueId: string, url: string, variables?: Omit<AttachmentLinkSalesforceMutationVariables, "issueId" | "url">): LinearFetch<AttachmentPayload>;
}
/**
* A fetchable AttachmentLinkSlack Mutation
*
* @param request - function to call the graphql client
*/
declare class AttachmentLinkSlackMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the AttachmentLinkSlack mutation and return a AttachmentPayload
*
* @param issueId - required issueId to pass to attachmentLinkSlack
* @param url - required url to pass to attachmentLinkSlack
* @param variables - variables without 'issueId', 'url' to pass into the AttachmentLinkSlackMutation
* @returns parsed response from AttachmentLinkSlackMutation
*/
fetch(issueId: string, url: string, variables?: Omit<AttachmentLinkSlackMutationVariables, "issueId" | "url">): LinearFetch<AttachmentPayload>;
}
/**
* A fetchable AttachmentLinkUrl Mutation
*
* @param request - function to call the graphql client
*/
declare class AttachmentLinkUrlMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the AttachmentLinkUrl mutation and return a AttachmentPayload
*
* @param issueId - required issueId to pass to attachmentLinkURL
* @param url - required url to pass to attachmentLinkURL
* @param variables - variables without 'issueId', 'url' to pass into the AttachmentLinkUrlMutation
* @returns parsed response from AttachmentLinkUrlMutation
*/
fetch(issueId: string, url: string, variables?: Omit<AttachmentLinkUrlMutationVariables, "issueId" | "url">): LinearFetch<AttachmentPayload>;
}
/**
* A fetchable AttachmentLinkZendesk Mutation
*
* @param request - function to call the graphql client
*/
declare class AttachmentLinkZendeskMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the AttachmentLinkZendesk mutation and return a AttachmentPayload
*
* @param issueId - required issueId to pass to attachmentLinkZendesk
* @param ticketId - required ticketId to pass to attachmentLinkZendesk
* @param variables - variables without 'issueId', 'ticketId' to pass into the AttachmentLinkZendeskMutation
* @returns parsed response from AttachmentLinkZendeskMutation
*/
fetch(issueId: string, ticketId: string, variables?: Omit<AttachmentLinkZendeskMutationVariables, "issueId" | "ticketId">): LinearFetch<AttachmentPayload>;
}
/**
* A fetchable AttachmentSyncToSlack Mutation
*
* @param request - function to call the graphql client
*/
declare class AttachmentSyncToSlackMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the AttachmentSyncToSlack mutation and return a AttachmentPayload
*
* @param id - required id to pass to attachmentSyncToSlack
* @returns parsed response from AttachmentSyncToSlackMutation
*/
fetch(id: string): LinearFetch<AttachmentPayload>;
}
/**
* A fetchable UpdateAttachment Mutation
*
* @param request - function to call the graphql client
*/
declare class UpdateAttachmentMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the UpdateAttachment mutation and return a AttachmentPayload
*
* @param id - required id to pass to updateAttachment
* @param input - required input to pass to updateAttachment
* @returns parsed response from UpdateAttachmentMutation
*/
fetch(id: string, input: AttachmentUpdateInput): LinearFetch<AttachmentPayload>;
}
/**
* A fetchable CreateComment Mutation
*
* @param request - function to call the graphql client
*/
declare class CreateCommentMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the CreateComment mutation and return a CommentPayload
*
* @param input - required input to pass to createComment
* @returns parsed response from CreateCommentMutation
*/
fetch(input: CommentCreateInput): LinearFetch<CommentPayload>;
}
/**
* A fetchable DeleteComment Mutation
*
* @param request - function to call the graphql client
*/
declare class DeleteCommentMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the DeleteComment mutation and return a DeletePayload
*
* @param id - required id to pass to deleteComment
* @returns parsed response from DeleteCommentMutation
*/
fetch(id: string): LinearFetch<DeletePayload>;
}
/**
* A fetchable CommentResolve Mutation
*
* @param request - function to call the graphql client
*/
declare class CommentResolveMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the CommentResolve mutation and return a CommentPayload
*
* @param id - required id to pass to commentResolve
* @param variables - variables without 'id' to pass into the CommentResolveMutation
* @returns parsed response from CommentResolveMutation
*/
fetch(id: string, variables?: Omit<CommentResolveMutationVariables, "id">): LinearFetch<CommentPayload>;
}
/**
* A fetchable CommentUnresolve Mutation
*
* @param request - function to call the graphql client
*/
declare class CommentUnresolveMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the CommentUnresolve mutation and return a CommentPayload
*
* @param id - required id to pass to commentUnresolve
* @returns parsed response from CommentUnresolveMutation
*/
fetch(id: string): LinearFetch<CommentPayload>;
}
/**
* A fetchable UpdateComment Mutation
*
* @param request - function to call the graphql client
*/
declare class UpdateCommentMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the UpdateComment mutation and return a CommentPayload
*
* @param id - required id to pass to updateComment
* @param input - required input to pass to updateComment
* @param variables - variables without 'id', 'input' to pass into the UpdateCommentMutation
* @returns parsed response from UpdateCommentMutation
*/
fetch(id: string, input: CommentUpdateInput, variables?: Omit<UpdateCommentMutationVariables, "id" | "input">): LinearFetch<CommentPayload>;
}
/**
* A fetchable CreateContact Mutation
*
* @param request - function to call the graphql client
*/
declare class CreateContactMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the CreateContact mutation and return a ContactPayload
*
* @param input - required input to pass to createContact
* @returns parsed response from CreateContactMutation
*/
fetch(input: ContactCreateInput): LinearFetch<ContactPayload>;
}
/**
* A fetchable CreateCsvExportReport Mutation
*
* @param request - function to call the graphql client
*/
declare class CreateCsvExportReportMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the CreateCsvExportReport mutation and return a CreateCsvExportReportPayload
*
* @param variables - variables to pass into the CreateCsvExportReportMutation
* @returns parsed response from CreateCsvExportReportMutation
*/
fetch(variables?: CreateCsvExportReportMutationVariables): LinearFetch<CreateCsvExportReportPayload>;
}
/**
* A fetchable CreateInitiativeUpdateReminder Mutation
*
* @param request - function to call the graphql client
*/
declare class CreateInitiativeUpdateReminderMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the CreateInitiativeUpdateReminder mutation and return a InitiativeUpdateReminderPayload
*
* @param initiativeId - required initiativeId to pass to createInitiativeUpdateReminder
* @param variables - variables without 'initiativeId' to pass into the CreateInitiativeUpdateReminderMutation
* @returns parsed response from CreateInitiativeUpdateReminderMutation
*/
fetch(initiativeId: string, variables?: Omit<CreateInitiativeUpdateReminderMutationVariables, "initiativeId">): LinearFetch<InitiativeUpdateReminderPayload>;
}
/**
* A fetchable CreateProjectUpdateReminder Mutation
*
* @param request - function to call the graphql client
*/
declare class CreateProjectUpdateReminderMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the CreateProjectUpdateReminder mutation and return a ProjectUpdateReminderPayload
*
* @param projectId - required projectId to pass to createProjectUpdateReminder
* @param variables - variables without 'projectId' to pass into the CreateProjectUpdateReminderMutation
* @returns parsed response from CreateProjectUpdateReminderMutation
*/
fetch(projectId: string, variables?: Omit<CreateProjectUpdateReminderMutationVariables, "projectId">): LinearFetch<ProjectUpdateReminderPayload>;
}
/**
* A fetchable CreateCustomView Mutation
*
* @param request - function to call the graphql client
*/
declare class CreateCustomViewMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the CreateCustomView mutation and return a CustomViewPayload
*
* @param input - required input to pass to createCustomView
* @returns parsed response from CreateCustomViewMutation
*/
fetch(input: CustomViewCreateInput): LinearFetch<CustomViewPayload>;
}
/**
* A fetchable DeleteCustomView Mutation
*
* @param request - function to call the graphql client
*/
declare class DeleteCustomViewMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the DeleteCustomView mutation and return a DeletePayload
*
* @param id - required id to pass to deleteCustomView
* @returns parsed response from DeleteCustomViewMutation
*/
fetch(id: string): LinearFetch<DeletePayload>;
}
/**
* A fetchable UpdateCustomView Mutation
*
* @param request - function to call the graphql client
*/
declare class UpdateCustomViewMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the UpdateCustomView mutation and return a CustomViewPayload
*
* @param id - required id to pass to updateCustomView
* @param input - required input to pass to updateCustomView
* @returns parsed response from UpdateCustomViewMutation
*/
fetch(id: string, input: CustomViewUpdateInput): LinearFetch<CustomViewPayload>;
}
/**
* A fetchable CreateCustomer Mutation
*
* @param request - function to call the graphql client
*/
declare class CreateCustomerMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the CreateCustomer mutation and return a CustomerPayload
*
* @param input - required input to pass to createCustomer
* @returns parsed response from CreateCustomerMutation
*/
fetch(input: CustomerCreateInput): LinearFetch<CustomerPayload>;
}
/**
* A fetchable DeleteCustomer Mutation
*
* @param request - function to call the graphql client
*/
declare class DeleteCustomerMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the DeleteCustomer mutation and return a DeletePayload
*
* @param id - required id to pass to deleteCustomer
* @returns parsed response from DeleteCustomerMutation
*/
fetch(id: string): LinearFetch<DeletePayload>;
}
/**
* A fetchable CustomerMerge Mutation
*
* @param request - function to call the graphql client
*/
declare class CustomerMergeMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the CustomerMerge mutation and return a CustomerPayload
*
* @param sourceCustomerId - required sourceCustomerId to pass to customerMerge
* @param targetCustomerId - required targetCustomerId to pass to customerMerge
* @returns parsed response from CustomerMergeMutation
*/
fetch(sourceCustomerId: string, targetCustomerId: string): LinearFetch<CustomerPayload>;
}
/**
* A fetchable ArchiveCustomerNeed Mutation
*
* @param request - function to call the graphql client
*/
declare class ArchiveCustomerNeedMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the ArchiveCustomerNeed mutation and return a CustomerNeedArchivePayload
*
* @param id - required id to pass to archiveCustomerNeed
* @returns parsed response from ArchiveCustomerNeedMutation
*/
fetch(id: string): LinearFetch<CustomerNeedArchivePayload>;
}
/**
* A fetchable CreateCustomerNeed Mutation
*
* @param request - function to call the graphql client
*/
declare class CreateCustomerNeedMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the CreateCustomerNeed mutation and return a CustomerNeedPayload
*
* @param input - required input to pass to createCustomerNeed
* @returns parsed response from CreateCustomerNeedMutation
*/
fetch(input: CustomerNeedCreateInput): LinearFetch<CustomerNeedPayload>;
}
/**
* A fetchable CustomerNeedCreateFromAttachment Mutation
*
* @param request - function to call the graphql client
*/
declare class CustomerNeedCreateFromAttachmentMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the CustomerNeedCreateFromAttachment mutation and return a CustomerNeedPayload
*
* @param input - required input to pass to customerNeedCreateFromAttachment
* @returns parsed response from CustomerNeedCreateFromAttachmentMutation
*/
fetch(input: CustomerNeedCreateFromAttachmentInput): LinearFetch<CustomerNeedPayload>;
}
/**
* A fetchable DeleteCustomerNeed Mutation
*
* @param request - function to call the graphql client
*/
declare class DeleteCustomerNeedMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the DeleteCustomerNeed mutation and return a DeletePayload
*
* @param id - required id to pass to deleteCustomerNeed
* @param variables - variables without 'id' to pass into the DeleteCustomerNeedMutation
* @returns parsed response from DeleteCustomerNeedMutation
*/
fetch(id: string, variables?: Omit<DeleteCustomerNeedMutationVariables, "id">): LinearFetch<DeletePayload>;
}
/**
* A fetchable UnarchiveCustomerNeed Mutation
*
* @param request - function to call the graphql client
*/
declare class UnarchiveCustomerNeedMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the UnarchiveCustomerNeed mutation and return a CustomerNeedArchivePayload
*
* @param id - required id to pass to unarchiveCustomerNeed
* @returns parsed response from UnarchiveCustomerNeedMutation
*/
fetch(id: string): LinearFetch<CustomerNeedArchivePayload>;
}
/**
* A fetchable UpdateCustomerNeed Mutation
*
* @param request - function to call the graphql client
*/
declare class UpdateCustomerNeedMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the UpdateCustomerNeed mutation and return a CustomerNeedUpdatePayload
*
* @param id - required id to pass to updateCustomerNeed
* @param input - required input to pass to updateCustomerNeed
* @param variables - variables without 'id', 'input' to pass into the UpdateCustomerNeedMutation
* @returns parsed response from UpdateCustomerNeedMutation
*/
fetch(id: string, input: CustomerNeedUpdateInput, variables?: Omit<UpdateCustomerNeedMutationVariables, "id" | "input">): LinearFetch<CustomerNeedUpdatePayload>;
}
/**
* A fetchable CreateCustomerStatus Mutation
*
* @param request - function to call the graphql client
*/
declare class CreateCustomerStatusMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the CreateCustomerStatus mutation and return a CustomerStatusPayload
*
* @param input - required input to pass to createCustomerStatus
* @returns parsed response from CreateCustomerStatusMutation
*/
fetch(input: CustomerStatusCreateInput): LinearFetch<CustomerStatusPayload>;
}
/**
* A fetchable DeleteCustomerStatus Mutation
*
* @param request - function to call the graphql client
*/
declare class DeleteCustomerStatusMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the DeleteCustomerStatus mutation and return a DeletePayload
*
* @param id - required id to pass to deleteCustomerStatus
* @returns parsed response from DeleteCustomerStatusMutation
*/
fetch(id: string): LinearFetch<DeletePayload>;
}
/**
* A fetchable UpdateCustomerStatus Mutation
*
* @param request - function to call the graphql client
*/
declare class UpdateCustomerStatusMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the UpdateCustomerStatus mutation and return a CustomerStatusPayload
*
* @param id - required id to pass to updateCustomerStatus
* @param input - required input to pass to updateCustomerStatus
* @returns parsed response from UpdateCustomerStatusMutation
*/
fetch(id: string, input: CustomerStatusUpdateInput): LinearFetch<CustomerStatusPayload>;
}
/**
* A fetchable CreateCustomerTier Mutation
*
* @param request - function to call the graphql client
*/
declare class CreateCustomerTierMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the CreateCustomerTier mutation and return a CustomerTierPayload
*
* @param input - required input to pass to createCustomerTier
* @returns parsed response from CreateCustomerTierMutation
*/
fetch(input: CustomerTierCreateInput): LinearFetch<CustomerTierPayload>;
}
/**
* A fetchable DeleteCustomerTier Mutation
*
* @param request - function to call the graphql client
*/
declare class DeleteCustomerTierMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the DeleteCustomerTier mutation and return a DeletePayload
*
* @param id - required id to pass to deleteCustomerTier
* @returns parsed response from DeleteCustomerTierMutation
*/
fetch(id: string): LinearFetch<DeletePayload>;
}
/**
* A fetchable UpdateCustomerTier Mutation
*
* @param request - function to call the graphql client
*/
declare class UpdateCustomerTierMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the UpdateCustomerTier mutation and return a CustomerTierPayload
*
* @param id - required id to pass to updateCustomerTier
* @param input - required input to pass to updateCustomerTier
* @returns parsed response from UpdateCustomerTierMutation
*/
fetch(id: string, input: CustomerTierUpdateInput): LinearFetch<CustomerTierPayload>;
}
/**
* A fetchable CustomerUnsync Mutation
*
* @param request - function to call the graphql client
*/
declare class CustomerUnsyncMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the CustomerUnsync mutation and return a CustomerPayload
*
* @param id - required id to pass to customerUnsync
* @returns parsed response from CustomerUnsyncMutation
*/
fetch(id: string): LinearFetch<CustomerPayload>;
}
/**
* A fetchable UpdateCustomer Mutation
*
* @param request - function to call the graphql client
*/
declare class UpdateCustomerMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the UpdateCustomer mutation and return a CustomerPayload
*
* @param id - required id to pass to updateCustomer
* @param input - required input to pass to updateCustomer
* @returns parsed response from UpdateCustomerMutation
*/
fetch(id: string, input: CustomerUpdateInput): LinearFetch<CustomerPayload>;
}
/**
* A fetchable CustomerUpsert Mutation
*
* @param request - function to call the graphql client
*/
declare class CustomerUpsertMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the CustomerUpsert mutation and return a CustomerPayload
*
* @param input - required input to pass to customerUpsert
* @returns parsed response from CustomerUpsertMutation
*/
fetch(input: CustomerUpsertInput): LinearFetch<CustomerPayload>;
}
/**
* A fetchable ArchiveCycle Mutation
*
* @param request - function to call the graphql client
*/
declare class ArchiveCycleMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the ArchiveCycle mutation and return a CycleArchivePayload
*
* @param id - required id to pass to archiveCycle
* @returns parsed response from ArchiveCycleMutation
*/
fetch(id: string): LinearFetch<CycleArchivePayload>;
}
/**
* A fetchable CreateCycle Mutation
*
* @param request - function to call the graphql client
*/
declare class CreateCycleMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the CreateCycle mutation and return a CyclePayload
*
* @param input - required input to pass to createCycle
* @returns parsed response from CreateCycleMutation
*/
fetch(input: CycleCreateInput): LinearFetch<CyclePayload>;
}
/**
* A fetchable CycleShiftAll Mutation
*
* @param request - function to call the graphql client
*/
declare class CycleShiftAllMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the CycleShiftAll mutation and return a CyclePayload
*
* @param input - required input to pass to cycleShiftAll
* @returns parsed response from CycleShiftAllMutation
*/
fetch(input: CycleShiftAllInput): LinearFetch<CyclePayload>;
}
/**
* A fetchable CycleStartUpcomingCycleToday Mutation
*
* @param request - function to call the graphql client
*/
declare class CycleStartUpcomingCycleTodayMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the CycleStartUpcomingCycleToday mutation and return a CyclePayload
*
* @param id - required id to pass to cycleStartUpcomingCycleToday
* @returns parsed response from CycleStartUpcomingCycleTodayMutation
*/
fetch(id: string): LinearFetch<CyclePayload>;
}
/**
* A fetchable UpdateCycle Mutation
*
* @param request - function to call the graphql client
*/
declare class UpdateCycleMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the UpdateCycle mutation and return a CyclePayload
*
* @param id - required id to pass to updateCycle
* @param input - required input to pass to updateCycle
* @returns parsed response from UpdateCycleMutation
*/
fetch(id: string, input: CycleUpdateInput): LinearFetch<CyclePayload>;
}
/**
* A fetchable CreateDocument Mutation
*
* @param request - function to call the graphql client
*/
declare class CreateDocumentMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the CreateDocument mutation and return a DocumentPayload
*
* @param input - required input to pass to createDocument
* @returns parsed response from CreateDocumentMutation
*/
fetch(input: DocumentCreateInput): LinearFetch<DocumentPayload>;
}
/**
* A fetchable DeleteDocument Mutation
*
* @param request - function to call the graphql client
*/
declare class DeleteDocumentMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the DeleteDocument mutation and return a DocumentArchivePayload
*
* @param id - required id to pass to deleteDocument
* @returns parsed response from DeleteDocumentMutation
*/
fetch(id: string): LinearFetch<DocumentArchivePayload>;
}
/**
* A fetchable UnarchiveDocument Mutation
*
* @param request - function to call the graphql client
*/
declare class UnarchiveDocumentMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the UnarchiveDocument mutation and return a DocumentArchivePayload
*
* @param id - required id to pass to unarchiveDocument
* @returns parsed response from UnarchiveDocumentMutation
*/
fetch(id: string): LinearFetch<DocumentArchivePayload>;
}
/**
* A fetchable UpdateDocument Mutation
*
* @param request - function to call the graphql client
*/
declare class UpdateDocumentMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the UpdateDocument mutation and return a DocumentPayload
*
* @param id - required id to pass to updateDocument
* @param input - required input to pass to updateDocument
* @returns parsed response from UpdateDocumentMutation
*/
fetch(id: string, input: DocumentUpdateInput): LinearFetch<DocumentPayload>;
}
/**
* A fetchable CreateEmailIntakeAddress Mutation
*
* @param request - function to call the graphql client
*/
declare class CreateEmailIntakeAddressMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the CreateEmailIntakeAddress mutation and return a EmailIntakeAddressPayload
*
* @param input - required input to pass to createEmailIntakeAddress
* @returns parsed response from CreateEmailIntakeAddressMutation
*/
fetch(input: EmailIntakeAddressCreateInput): LinearFetch<EmailIntakeAddressPayload>;
}
/**
* A fetchable DeleteEmailIntakeAddress Mutation
*
* @param request - function to call the graphql client
*/
declare class DeleteEmailIntakeAddressMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the DeleteEmailIntakeAddress mutation and return a DeletePayload
*
* @param id - required id to pass to deleteEmailIntakeAddress
* @returns parsed response from DeleteEmailIntakeAddressMutation
*/
fetch(id: string): LinearFetch<DeletePayload>;
}
/**
* A fetchable EmailIntakeAddressRefreshSesDomainStatus Mutation
*
* @param request - function to call the graphql client
*/
declare class EmailIntakeAddressRefreshSesDomainStatusMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the EmailIntakeAddressRefreshSesDomainStatus mutation and return a EmailIntakeAddressRefreshSesDomainStatusPayload
*
* @param id - required id to pass to emailIntakeAddressRefreshSesDomainStatus
* @returns parsed response from EmailIntakeAddressRefreshSesDomainStatusMutation
*/
fetch(id: string): LinearFetch<EmailIntakeAddressRefreshSesDomainStatusPayload>;
}
/**
* A fetchable EmailIntakeAddressRotate Mutation
*
* @param request - function to call the graphql client
*/
declare class EmailIntakeAddressRotateMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the EmailIntakeAddressRotate mutation and return a EmailIntakeAddressPayload
*
* @param id - required id to pass to emailIntakeAddressRotate
* @returns parsed response from EmailIntakeAddressRotateMutation
*/
fetch(id: string): LinearFetch<EmailIntakeAddressPayload>;
}
/**
* A fetchable UpdateEmailIntakeAddress Mutation
*
* @param request - function to call the graphql client
*/
declare class UpdateEmailIntakeAddressMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the UpdateEmailIntakeAddress mutation and return a EmailIntakeAddressPayload
*
* @param id - required id to pass to updateEmailIntakeAddress
* @param input - required input to pass to updateEmailIntakeAddress
* @returns parsed response from UpdateEmailIntakeAddressMutation
*/
fetch(id: string, input: EmailIntakeAddressUpdateInput): LinearFetch<EmailIntakeAddressPayload>;
}
/**
* A fetchable EmailTokenUserAccountAuth Mutation
*
* @param request - function to call the graphql client
*/
declare class EmailTokenUserAccountAuthMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the EmailTokenUserAccountAuth mutation and return a AuthResolverResponse
*
* @param input - required input to pass to emailTokenUserAccountAuth
* @returns parsed response from EmailTokenUserAccountAuthMutation
*/
fetch(input: TokenUserAccountAuthInput): LinearFetch<AuthResolverResponse>;
}
/**
* A fetchable EmailUnsubscribe Mutation
*
* @param request - function to call the graphql client
*/
declare class EmailUnsubscribeMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the EmailUnsubscribe mutation and return a EmailUnsubscribePayload
*
* @param input - required input to pass to emailUnsubscribe
* @returns parsed response from EmailUnsubscribeMutation
*/
fetch(input: EmailUnsubscribeInput): LinearFetch<EmailUnsubscribePayload>;
}
/**
* A fetchable EmailUserAccountAuthChallenge Mutation
*
* @param request - function to call the graphql client
*/
declare class EmailUserAccountAuthChallengeMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the EmailUserAccountAuthChallenge mutation and return a EmailUserAccountAuthChallengeResponse
*
* @param input - required input to pass to emailUserAccountAuthChallenge
* @returns parsed response from EmailUserAccountAuthChallengeMutation
*/
fetch(input: EmailUserAccountAuthChallengeInput): LinearFetch<EmailUserAccountAuthChallengeResponse>;
}
/**
* A fetchable CreateEmoji Mutation
*
* @param request - function to call the graphql client
*/
declare class CreateEmojiMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the CreateEmoji mutation and return a EmojiPayload
*
* @param input - required input to pass to createEmoji
* @returns parsed response from CreateEmojiMutation
*/
fetch(input: EmojiCreateInput): LinearFetch<EmojiPayload>;
}
/**
* A fetchable DeleteEmoji Mutation
*
* @param request - function to call the graphql client
*/
declare class DeleteEmojiMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the DeleteEmoji mutation and return a DeletePayload
*
* @param id - required id to pass to deleteEmoji
* @returns parsed response from DeleteEmojiMutation
*/
fetch(id: string): LinearFetch<DeletePayload>;
}
/**
* A fetchable CreateEntityExternalLink Mutation
*
* @param request - function to call the graphql client
*/
declare class CreateEntityExternalLinkMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the CreateEntityExternalLink mutation and return a EntityExternalLinkPayload
*
* @param input - required input to pass to createEntityExternalLink
* @returns parsed response from CreateEntityExternalLinkMutation
*/
fetch(input: EntityExternalLinkCreateInput): LinearFetch<EntityExternalLinkPayload>;
}
/**
* A fetchable DeleteEntityExternalLink Mutation
*
* @param request - function to call the graphql client
*/
declare class DeleteEntityExternalLinkMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the DeleteEntityExternalLink mutation and return a DeletePayload
*
* @param id - required id to pass to deleteEntityExternalLink
* @returns parsed response from DeleteEntityExternalLinkMutation
*/
fetch(id: string): LinearFetch<DeletePayload>;
}
/**
* A fetchable UpdateEntityExternalLink Mutation
*
* @param request - function to call the graphql client
*/
declare class UpdateEntityExternalLinkMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the UpdateEntityExternalLink mutation and return a EntityExternalLinkPayload
*
* @param id - required id to pass to updateEntityExternalLink
* @param input - required input to pass to updateEntityExternalLink
* @returns parsed response from UpdateEntityExternalLinkMutation
*/
fetch(id: string, input: EntityExternalLinkUpdateInput): LinearFetch<EntityExternalLinkPayload>;
}
/**
* A fetchable CreateFavorite Mutation
*
* @param request - function to call the graphql client
*/
declare class CreateFavoriteMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the CreateFavorite mutation and return a FavoritePayload
*
* @param input - required input to pass to createFavorite
* @returns parsed response from CreateFavoriteMutation
*/
fetch(input: FavoriteCreateInput): LinearFetch<FavoritePayload>;
}
/**
* A fetchable DeleteFavorite Mutation
*
* @param request - function to call the graphql client
*/
declare class DeleteFavoriteMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the DeleteFavorite mutation and return a DeletePayload
*
* @param id - required id to pass to deleteFavorite
* @returns parsed response from DeleteFavoriteMutation
*/
fetch(id: string): LinearFetch<DeletePayload>;
}
/**
* A fetchable UpdateFavorite Mutation
*
* @param request - function to call the graphql client
*/
declare class UpdateFavoriteMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the UpdateFavorite mutation and return a FavoritePayload
*
* @param id - required id to pass to updateFavorite
* @param input - required input to pass to updateFavorite
* @returns parsed response from UpdateFavoriteMutation
*/
fetch(id: string, input: FavoriteUpdateInput): LinearFetch<FavoritePayload>;
}
/**
* A fetchable FileUpload Mutation
*
* @param request - function to call the graphql client
*/
declare class FileUploadMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the FileUpload mutation and return a UploadPayload
*
* @param contentType - required contentType to pass to fileUpload
* @param filename - required filename to pass to fileUpload
* @param size - required size to pass to fileUpload
* @param variables - variables without 'contentType', 'filename', 'size' to pass into the FileUploadMutation
* @returns parsed response from FileUploadMutation
*/
fetch(contentType: string, filename: string, size: number, variables?: Omit<FileUploadMutationVariables, "contentType" | "filename" | "size">): LinearFetch<UploadPayload>;
}
/**
* A fetchable CreateGitAutomationState Mutation
*
* @param request - function to call the graphql client
*/
declare class CreateGitAutomationStateMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the CreateGitAutomationState mutation and return a GitAutomationStatePayload
*
* @param input - required input to pass to createGitAutomationState
* @returns parsed response from CreateGitAutomationStateMutation
*/
fetch(input: GitAutomationStateCreateInput): LinearFetch<GitAutomationStatePayload>;
}
/**
* A fetchable DeleteGitAutomationState Mutation
*
* @param request - function to call the graphql client
*/
declare class DeleteGitAutomationStateMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the DeleteGitAutomationState mutation and return a DeletePayload
*
* @param id - required id to pass to deleteGitAutomationState
* @returns parsed response from DeleteGitAutomationStateMutation
*/
fetch(id: string): LinearFetch<DeletePayload>;
}
/**
* A fetchable UpdateGitAutomationState Mutation
*
* @param request - function to call the graphql client
*/
declare class UpdateGitAutomationStateMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the UpdateGitAutomationState mutation and return a GitAutomationStatePayload
*
* @param id - required id to pass to updateGitAutomationState
* @param input - required input to pass to updateGitAutomationState
* @returns parsed response from UpdateGitAutomationStateMutation
*/
fetch(id: string, input: GitAutomationStateUpdateInput): LinearFetch<GitAutomationStatePayload>;
}
/**
* A fetchable CreateGitAutomationTargetBranch Mutation
*
* @param request - function to call the graphql client
*/
declare class CreateGitAutomationTargetBranchMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the CreateGitAutomationTargetBranch mutation and return a GitAutomationTargetBranchPayload
*
* @param input - required input to pass to createGitAutomationTargetBranch
* @returns parsed response from CreateGitAutomationTargetBranchMutation
*/
fetch(input: GitAutomationTargetBranchCreateInput): LinearFetch<GitAutomationTargetBranchPayload>;
}
/**
* A fetchable DeleteGitAutomationTargetBranch Mutation
*
* @param request - function to call the graphql client
*/
declare class DeleteGitAutomationTargetBranchMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the DeleteGitAutomationTargetBranch mutation and return a DeletePayload
*
* @param id - required id to pass to deleteGitAutomationTargetBranch
* @returns parsed response from DeleteGitAutomationTargetBranchMutation
*/
fetch(id: string): LinearFetch<DeletePayload>;
}
/**
* A fetchable UpdateGitAutomationTargetBranch Mutation
*
* @param request - function to call the graphql client
*/
declare class UpdateGitAutomationTargetBranchMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the UpdateGitAutomationTargetBranch mutation and return a GitAutomationTargetBranchPayload
*
* @param id - required id to pass to updateGitAutomationTargetBranch
* @param input - required input to pass to updateGitAutomationTargetBranch
* @returns parsed response from UpdateGitAutomationTargetBranchMutation
*/
fetch(id: string, input: GitAutomationTargetBranchUpdateInput): LinearFetch<GitAutomationTargetBranchPayload>;
}
/**
* A fetchable GoogleUserAccountAuth Mutation
*
* @param request - function to call the graphql client
*/
declare class GoogleUserAccountAuthMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the GoogleUserAccountAuth mutation and return a AuthResolverResponse
*
* @param input - required input to pass to googleUserAccountAuth
* @returns parsed response from GoogleUserAccountAuthMutation
*/
fetch(input: GoogleUserAccountAuthInput): LinearFetch<AuthResolverResponse>;
}
/**
* A fetchable ImageUploadFromUrl Mutation
*
* @param request - function to call the graphql client
*/
declare class ImageUploadFromUrlMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the ImageUploadFromUrl mutation and return a ImageUploadFromUrlPayload
*
* @param url - required url to pass to imageUploadFromUrl
* @returns parsed response from ImageUploadFromUrlMutation
*/
fetch(url: string): LinearFetch<ImageUploadFromUrlPayload>;
}
/**
* A fetchable ImportFileUpload Mutation
*
* @param request - function to call the graphql client
*/
declare class ImportFileUploadMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the ImportFileUpload mutation and return a UploadPayload
*
* @param contentType - required contentType to pass to importFileUpload
* @param filename - required filename to pass to importFileUpload
* @param size - required size to pass to importFileUpload
* @param variables - variables without 'contentType', 'filename', 'size' to pass into the ImportFileUploadMutation
* @returns parsed response from ImportFileUploadMutation
*/
fetch(contentType: string, filename: string, size: number, variables?: Omit<ImportFileUploadMutationVariables, "contentType" | "filename" | "size">): LinearFetch<UploadPayload>;
}
/**
* A fetchable InitiativeAddLabel Mutation
*
* @param request - function to call the graphql client
*/
declare class InitiativeAddLabelMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the InitiativeAddLabel mutation and return a InitiativePayload
*
* @param id - required id to pass to initiativeAddLabel
* @param labelId - required labelId to pass to initiativeAddLabel
* @returns parsed response from InitiativeAddLabelMutation
*/
fetch(id: string, labelId: string): LinearFetch<InitiativePayload>;
}
/**
* A fetchable ArchiveInitiative Mutation
*
* @param request - function to call the graphql client
*/
declare class ArchiveInitiativeMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the ArchiveInitiative mutation and return a InitiativeArchivePayload
*
* @param id - required id to pass to archiveInitiative
* @returns parsed response from ArchiveInitiativeMutation
*/
fetch(id: string): LinearFetch<InitiativeArchivePayload>;
}
/**
* A fetchable CreateInitiative Mutation
*
* @param request - function to call the graphql client
*/
declare class CreateInitiativeMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the CreateInitiative mutation and return a InitiativePayload
*
* @param input - required input to pass to createInitiative
* @returns parsed response from CreateInitiativeMutation
*/
fetch(input: InitiativeCreateInput): LinearFetch<InitiativePayload>;
}
/**
* A fetchable DeleteInitiative Mutation
*
* @param request - function to call the graphql client
*/
declare class DeleteInitiativeMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the DeleteInitiative mutation and return a DeletePayload
*
* @param id - required id to pass to deleteInitiative
* @returns parsed response from DeleteInitiativeMutation
*/
fetch(id: string): LinearFetch<DeletePayload>;
}
/**
* A fetchable CreateInitiativeLabel Mutation
*
* @param request - function to call the graphql client
*/
declare class CreateInitiativeLabelMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the CreateInitiativeLabel mutation and return a InitiativeLabelPayload
*
* @param input - required input to pass to createInitiativeLabel
* @returns parsed response from CreateInitiativeLabelMutation
*/
fetch(input: InitiativeLabelCreateInput): LinearFetch<InitiativeLabelPayload>;
}
/**
* A fetchable DeleteInitiativeLabel Mutation
*
* @param request - function to call the graphql client
*/
declare class DeleteInitiativeLabelMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the DeleteInitiativeLabel mutation and return a DeletePayload
*
* @param id - required id to pass to deleteInitiativeLabel
* @returns parsed response from DeleteInitiativeLabelMutation
*/
fetch(id: string): LinearFetch<DeletePayload>;
}
/**
* A fetchable InitiativeLabelRestore Mutation
*
* @param request - function to call the graphql client
*/
declare class InitiativeLabelRestoreMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the InitiativeLabelRestore mutation and return a InitiativeLabelPayload
*
* @param id - required id to pass to initiativeLabelRestore
* @returns parsed response from InitiativeLabelRestoreMutation
*/
fetch(id: string): LinearFetch<InitiativeLabelPayload>;
}
/**
* A fetchable InitiativeLabelRetire Mutation
*
* @param request - function to call the graphql client
*/
declare class InitiativeLabelRetireMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the InitiativeLabelRetire mutation and return a InitiativeLabelPayload
*
* @param id - required id to pass to initiativeLabelRetire
* @returns parsed response from InitiativeLabelRetireMutation
*/
fetch(id: string): LinearFetch<InitiativeLabelPayload>;
}
/**
* A fetchable UpdateInitiativeLabel Mutation
*
* @param request - function to call the graphql client
*/
declare class UpdateInitiativeLabelMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the UpdateInitiativeLabel mutation and return a InitiativeLabelPayload
*
* @param id - required id to pass to updateInitiativeLabel
* @param input - required input to pass to updateInitiativeLabel
* @returns parsed response from UpdateInitiativeLabelMutation
*/
fetch(id: string, input: InitiativeLabelUpdateInput): LinearFetch<InitiativeLabelPayload>;
}
/**
* A fetchable CreateInitiativeRelation Mutation
*
* @param request - function to call the graphql client
*/
declare class CreateInitiativeRelationMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the CreateInitiativeRelation mutation and return a InitiativeRelationPayload
*
* @param input - required input to pass to createInitiativeRelation
* @returns parsed response from CreateInitiativeRelationMutation
*/
fetch(input: InitiativeRelationCreateInput): LinearFetch<InitiativeRelationPayload>;
}
/**
* A fetchable DeleteInitiativeRelation Mutation
*
* @param request - function to call the graphql client
*/
declare class DeleteInitiativeRelationMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the DeleteInitiativeRelation mutation and return a DeletePayload
*
* @param id - required id to pass to deleteInitiativeRelation
* @returns parsed response from DeleteInitiativeRelationMutation
*/
fetch(id: string): LinearFetch<DeletePayload>;
}
/**
* A fetchable UpdateInitiativeRelation Mutation
*
* @param request - function to call the graphql client
*/
declare class UpdateInitiativeRelationMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the UpdateInitiativeRelation mutation and return a InitiativeRelationPayload
*
* @param id - required id to pass to updateInitiativeRelation
* @param input - required input to pass to updateInitiativeRelation
* @returns parsed response from UpdateInitiativeRelationMutation
*/
fetch(id: string, input: InitiativeRelationUpdateInput): LinearFetch<InitiativeRelationPayload>;
}
/**
* A fetchable InitiativeRemoveLabel Mutation
*
* @param request - function to call the graphql client
*/
declare class InitiativeRemoveLabelMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the InitiativeRemoveLabel mutation and return a InitiativePayload
*
* @param id - required id to pass to initiativeRemoveLabel
* @param labelId - required labelId to pass to initiativeRemoveLabel
* @returns parsed response from InitiativeRemoveLabelMutation
*/
fetch(id: string, labelId: string): LinearFetch<InitiativePayload>;
}
/**
* A fetchable CreateInitiativeToProject Mutation
*
* @param request - function to call the graphql client
*/
declare class CreateInitiativeToProjectMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the CreateInitiativeToProject mutation and return a InitiativeToProjectPayload
*
* @param input - required input to pass to createInitiativeToProject
* @returns parsed response from CreateInitiativeToProjectMutation
*/
fetch(input: InitiativeToProjectCreateInput): LinearFetch<InitiativeToProjectPayload>;
}
/**
* A fetchable DeleteInitiativeToProject Mutation
*
* @param request - function to call the graphql client
*/
declare class DeleteInitiativeToProjectMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the DeleteInitiativeToProject mutation and return a DeletePayload
*
* @param id - required id to pass to deleteInitiativeToProject
* @returns parsed response from DeleteInitiativeToProjectMutation
*/
fetch(id: string): LinearFetch<DeletePayload>;
}
/**
* A fetchable UpdateInitiativeToProject Mutation
*
* @param request - function to call the graphql client
*/
declare class UpdateInitiativeToProjectMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the UpdateInitiativeToProject mutation and return a InitiativeToProjectPayload
*
* @param id - required id to pass to updateInitiativeToProject
* @param input - required input to pass to updateInitiativeToProject
* @returns parsed response from UpdateInitiativeToProjectMutation
*/
fetch(id: string, input: InitiativeToProjectUpdateInput): LinearFetch<InitiativeToProjectPayload>;
}
/**
* A fetchable UnarchiveInitiative Mutation
*
* @param request - function to call the graphql client
*/
declare class UnarchiveInitiativeMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the UnarchiveInitiative mutation and return a InitiativeArchivePayload
*
* @param id - required id to pass to unarchiveInitiative
* @returns parsed response from UnarchiveInitiativeMutation
*/
fetch(id: string): LinearFetch<InitiativeArchivePayload>;
}
/**
* A fetchable UpdateInitiative Mutation
*
* @param request - function to call the graphql client
*/
declare class UpdateInitiativeMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the UpdateInitiative mutation and return a InitiativePayload
*
* @param id - required id to pass to updateInitiative
* @param input - required input to pass to updateInitiative
* @returns parsed response from UpdateInitiativeMutation
*/
fetch(id: string, input: InitiativeUpdateInput): LinearFetch<InitiativePayload>;
}
/**
* A fetchable ArchiveInitiativeUpdate Mutation
*
* @param request - function to call the graphql client
*/
declare class ArchiveInitiativeUpdateMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the ArchiveInitiativeUpdate mutation and return a InitiativeUpdateArchivePayload
*
* @param id - required id to pass to archiveInitiativeUpdate
* @returns parsed response from ArchiveInitiativeUpdateMutation
*/
fetch(id: string): LinearFetch<InitiativeUpdateArchivePayload>;
}
/**
* A fetchable CreateInitiativeUpdate Mutation
*
* @param request - function to call the graphql client
*/
declare class CreateInitiativeUpdateMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the CreateInitiativeUpdate mutation and return a InitiativeUpdatePayload
*
* @param input - required input to pass to createInitiativeUpdate
* @returns parsed response from CreateInitiativeUpdateMutation
*/
fetch(input: InitiativeUpdateCreateInput): LinearFetch<InitiativeUpdatePayload>;
}
/**
* A fetchable UnarchiveInitiativeUpdate Mutation
*
* @param request - function to call the graphql client
*/
declare class UnarchiveInitiativeUpdateMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the UnarchiveInitiativeUpdate mutation and return a InitiativeUpdateArchivePayload
*
* @param id - required id to pass to unarchiveInitiativeUpdate
* @returns parsed response from UnarchiveInitiativeUpdateMutation
*/
fetch(id: string): LinearFetch<InitiativeUpdateArchivePayload>;
}
/**
* A fetchable UpdateInitiativeUpdate Mutation
*
* @param request - function to call the graphql client
*/
declare class UpdateInitiativeUpdateMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the UpdateInitiativeUpdate mutation and return a InitiativeUpdatePayload
*
* @param id - required id to pass to updateInitiativeUpdate
* @param input - required input to pass to updateInitiativeUpdate
* @returns parsed response from UpdateInitiativeUpdateMutation
*/
fetch(id: string, input: InitiativeUpdateUpdateInput): LinearFetch<InitiativeUpdatePayload>;
}
/**
* A fetchable ArchiveIntegration Mutation
*
* @param request - function to call the graphql client
*/
declare class ArchiveIntegrationMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the ArchiveIntegration mutation and return a DeletePayload
*
* @param id - required id to pass to archiveIntegration
* @returns parsed response from ArchiveIntegrationMutation
*/
fetch(id: string): LinearFetch<DeletePayload>;
}
/**
* A fetchable IntegrationAsksConnectChannel Mutation
*
* @param request - function to call the graphql client
*/
declare class IntegrationAsksConnectChannelMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the IntegrationAsksConnectChannel mutation and return a AsksChannelConnectPayload
*
* @param code - required code to pass to integrationAsksConnectChannel
* @param redirectUri - required redirectUri to pass to integrationAsksConnectChannel
* @returns parsed response from IntegrationAsksConnectChannelMutation
*/
fetch(code: string, redirectUri: string): LinearFetch<AsksChannelConnectPayload>;
}
/**
* A fetchable DeleteIntegration Mutation
*
* @param request - function to call the graphql client
*/
declare class DeleteIntegrationMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the DeleteIntegration mutation and return a DeletePayload
*
* @param id - required id to pass to deleteIntegration
* @param variables - variables without 'id' to pass into the DeleteIntegrationMutation
* @returns parsed response from DeleteIntegrationMutation
*/
fetch(id: string, variables?: Omit<DeleteIntegrationMutationVariables, "id">): LinearFetch<DeletePayload>;
}
/**
* A fetchable IntegrationDiscord Mutation
*
* @param request - function to call the graphql client
*/
declare class IntegrationDiscordMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the IntegrationDiscord mutation and return a IntegrationPayload
*
* @param code - required code to pass to integrationDiscord
* @param redirectUri - required redirectUri to pass to integrationDiscord
* @returns parsed response from IntegrationDiscordMutation
*/
fetch(code: string, redirectUri: string): LinearFetch<IntegrationPayload>;
}
/**
* A fetchable IntegrationFigma Mutation
*
* @param request - function to call the graphql client
*/
declare class IntegrationFigmaMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the IntegrationFigma mutation and return a IntegrationPayload
*
* @param code - required code to pass to integrationFigma
* @param redirectUri - required redirectUri to pass to integrationFigma
* @returns parsed response from IntegrationFigmaMutation
*/
fetch(code: string, redirectUri: string): LinearFetch<IntegrationPayload>;
}
/**
* A fetchable IntegrationFront Mutation
*
* @param request - function to call the graphql client
*/
declare class IntegrationFrontMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the IntegrationFront mutation and return a IntegrationPayload
*
* @param code - required code to pass to integrationFront
* @param redirectUri - required redirectUri to pass to integrationFront
* @returns parsed response from IntegrationFrontMutation
*/
fetch(code: string, redirectUri: string): LinearFetch<IntegrationPayload>;
}
/**
* A fetchable IntegrationGitHubEnterpriseServerConnect Mutation
*
* @param request - function to call the graphql client
*/
declare class IntegrationGitHubEnterpriseServerConnectMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the IntegrationGitHubEnterpriseServerConnect mutation and return a GitHubEnterpriseServerPayload
*
* @param githubUrl - required githubUrl to pass to integrationGitHubEnterpriseServerConnect
* @param organizationName - required organizationName to pass to integrationGitHubEnterpriseServerConnect
* @returns parsed response from IntegrationGitHubEnterpriseServerConnectMutation
*/
fetch(githubUrl: string, organizationName: string): LinearFetch<GitHubEnterpriseServerPayload>;
}
/**
* A fetchable IntegrationGitHubPersonal Mutation
*
* @param request - function to call the graphql client
*/
declare class IntegrationGitHubPersonalMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the IntegrationGitHubPersonal mutation and return a IntegrationPayload
*
* @param code - required code to pass to integrationGitHubPersonal
* @param variables - variables without 'code' to pass into the IntegrationGitHubPersonalMutation
* @returns parsed response from IntegrationGitHubPersonalMutation
*/
fetch(code: string, variables?: Omit<IntegrationGitHubPersonalMutationVariables, "code">): LinearFetch<IntegrationPayload>;
}
/**
* A fetchable CreateIntegrationGithubCommit Mutation
*
* @param request - function to call the graphql client
*/
declare class CreateIntegrationGithubCommitMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the CreateIntegrationGithubCommit mutation and return a GitHubCommitIntegrationPayload
*
* @returns parsed response from CreateIntegrationGithubCommitMutation
*/
fetch(): LinearFetch<GitHubCommitIntegrationPayload>;
}
/**
* A fetchable IntegrationGithubConnect Mutation
*
* @param request - function to call the graphql client
*/
declare class IntegrationGithubConnectMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the IntegrationGithubConnect mutation and return a IntegrationPayload
*
* @param code - required code to pass to integrationGithubConnect
* @param installationId - required installationId to pass to integrationGithubConnect
* @param variables - variables without 'code', 'installationId' to pass into the IntegrationGithubConnectMutation
* @returns parsed response from IntegrationGithubConnectMutation
*/
fetch(code: string, installationId: string, variables?: Omit<IntegrationGithubConnectMutationVariables, "code" | "installationId">): LinearFetch<IntegrationPayload>;
}
/**
* A fetchable IntegrationGithubImportConnect Mutation
*
* @param request - function to call the graphql client
*/
declare class IntegrationGithubImportConnectMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the IntegrationGithubImportConnect mutation and return a IntegrationPayload
*
* @param code - required code to pass to integrationGithubImportConnect
* @param installationId - required installationId to pass to integrationGithubImportConnect
* @returns parsed response from IntegrationGithubImportConnectMutation
*/
fetch(code: string, installationId: string): LinearFetch<IntegrationPayload>;
}
/**
* A fetchable IntegrationGithubImportRefresh Mutation
*
* @param request - function to call the graphql client
*/
declare class IntegrationGithubImportRefreshMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the IntegrationGithubImportRefresh mutation and return a IntegrationPayload
*
* @param id - required id to pass to integrationGithubImportRefresh
* @returns parsed response from IntegrationGithubImportRefreshMutation
*/
fetch(id: string): LinearFetch<IntegrationPayload>;
}
/**
* A fetchable IntegrationGithubRemoveCodeAccess Mutation
*
* @param request - function to call the graphql client
*/
declare class IntegrationGithubRemoveCodeAccessMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the IntegrationGithubRemoveCodeAccess mutation and return a IntegrationGithubRemoveCodeAccessPayload
*
* @param integrationId - required integrationId to pass to integrationGithubRemoveCodeAccess
* @returns parsed response from IntegrationGithubRemoveCodeAccessMutation
*/
fetch(integrationId: string): LinearFetch<IntegrationGithubRemoveCodeAccessPayload>;
}
/**
* A fetchable IntegrationGitlabConnect Mutation
*
* @param request - function to call the graphql client
*/
declare class IntegrationGitlabConnectMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the IntegrationGitlabConnect mutation and return a GitLabIntegrationCreatePayload
*
* @param accessToken - required accessToken to pass to integrationGitlabConnect
* @param gitlabUrl - required gitlabUrl to pass to integrationGitlabConnect
* @param variables - variables without 'accessToken', 'gitlabUrl' to pass into the IntegrationGitlabConnectMutation
* @returns parsed response from IntegrationGitlabConnectMutation
*/
fetch(accessToken: string, gitlabUrl: string, variables?: Omit<IntegrationGitlabConnectMutationVariables, "accessToken" | "gitlabUrl">): LinearFetch<GitLabIntegrationCreatePayload>;
}
/**
* A fetchable IntegrationGitlabTestConnection Mutation
*
* @param request - function to call the graphql client
*/
declare class IntegrationGitlabTestConnectionMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the IntegrationGitlabTestConnection mutation and return a GitLabTestConnectionPayload
*
* @param integrationId - required integrationId to pass to integrationGitlabTestConnection
* @returns parsed response from IntegrationGitlabTestConnectionMutation
*/
fetch(integrationId: string): LinearFetch<GitLabTestConnectionPayload>;
}
/**
* A fetchable IntegrationGong Mutation
*
* @param request - function to call the graphql client
*/
declare class IntegrationGongMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the IntegrationGong mutation and return a IntegrationPayload
*
* @param code - required code to pass to integrationGong
* @param redirectUri - required redirectUri to pass to integrationGong
* @returns parsed response from IntegrationGongMutation
*/
fetch(code: string, redirectUri: string): LinearFetch<IntegrationPayload>;
}
/**
* A fetchable IntegrationGoogleSheets Mutation
*
* @param request - function to call the graphql client
*/
declare class IntegrationGoogleSheetsMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the IntegrationGoogleSheets mutation and return a IntegrationPayload
*
* @param code - required code to pass to integrationGoogleSheets
* @returns parsed response from IntegrationGoogleSheetsMutation
*/
fetch(code: string): LinearFetch<IntegrationPayload>;
}
/**
* A fetchable IntegrationIntercom Mutation
*
* @param request - function to call the graphql client
*/
declare class IntegrationIntercomMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the IntegrationIntercom mutation and return a IntegrationPayload
*
* @param code - required code to pass to integrationIntercom
* @param redirectUri - required redirectUri to pass to integrationIntercom
* @param variables - variables without 'code', 'redirectUri' to pass into the IntegrationIntercomMutation
* @returns parsed response from IntegrationIntercomMutation
*/
fetch(code: string, redirectUri: string, variables?: Omit<IntegrationIntercomMutationVariables, "code" | "redirectUri">): LinearFetch<IntegrationPayload>;
}
/**
* A fetchable DeleteIntegrationIntercom Mutation
*
* @param request - function to call the graphql client
*/
declare class DeleteIntegrationIntercomMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the DeleteIntegrationIntercom mutation and return a IntegrationPayload
*
* @returns parsed response from DeleteIntegrationIntercomMutation
*/
fetch(): LinearFetch<IntegrationPayload>;
}
/**
* A fetchable UpdateIntegrationIntercomSettings Mutation
*
* @param request - function to call the graphql client
*/
declare class UpdateIntegrationIntercomSettingsMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the UpdateIntegrationIntercomSettings mutation and return a IntegrationPayload
*
* @param input - required input to pass to updateIntegrationIntercomSettings
* @returns parsed response from UpdateIntegrationIntercomSettingsMutation
*/
fetch(input: IntercomSettingsInput): LinearFetch<IntegrationPayload>;
}
/**
* A fetchable IntegrationJiraPersonal Mutation
*
* @param request - function to call the graphql client
*/
declare class IntegrationJiraPersonalMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the IntegrationJiraPersonal mutation and return a IntegrationPayload
*
* @param variables - variables to pass into the IntegrationJiraPersonalMutation
* @returns parsed response from IntegrationJiraPersonalMutation
*/
fetch(variables?: IntegrationJiraPersonalMutationVariables): LinearFetch<IntegrationPayload>;
}
/**
* A fetchable IntegrationLoom Mutation
*
* @param request - function to call the graphql client
*/
declare class IntegrationLoomMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the IntegrationLoom mutation and return a IntegrationPayload
*
* @returns parsed response from IntegrationLoomMutation
*/
fetch(): LinearFetch<IntegrationPayload>;
}
/**
* A fetchable IntegrationMicrosoftPersonalConnect Mutation
*
* @param request - function to call the graphql client
*/
declare class IntegrationMicrosoftPersonalConnectMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the IntegrationMicrosoftPersonalConnect mutation and return a IntegrationPayload
*
* @param code - required code to pass to integrationMicrosoftPersonalConnect
* @param redirectUri - required redirectUri to pass to integrationMicrosoftPersonalConnect
* @returns parsed response from IntegrationMicrosoftPersonalConnectMutation
*/
fetch(code: string, redirectUri: string): LinearFetch<IntegrationPayload>;
}
/**
* A fetchable IntegrationMicrosoftTeams Mutation
*
* @param request - function to call the graphql client
*/
declare class IntegrationMicrosoftTeamsMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the IntegrationMicrosoftTeams mutation and return a IntegrationPayload
*
* @param code - required code to pass to integrationMicrosoftTeams
* @param redirectUri - required redirectUri to pass to integrationMicrosoftTeams
* @returns parsed response from IntegrationMicrosoftTeamsMutation
*/
fetch(code: string, redirectUri: string): LinearFetch<IntegrationPayload>;
}
/**
* A fetchable IntegrationRequest Mutation
*
* @param request - function to call the graphql client
*/
declare class IntegrationRequestMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the IntegrationRequest mutation and return a IntegrationRequestPayload
*
* @param input - required input to pass to integrationRequest
* @returns parsed response from IntegrationRequestMutation
*/
fetch(input: IntegrationRequestInput): LinearFetch<IntegrationRequestPayload>;
}
/**
* A fetchable IntegrationSalesforce Mutation
*
* @param request - function to call the graphql client
*/
declare class IntegrationSalesforceMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the IntegrationSalesforce mutation and return a IntegrationPayload
*
* @param code - required code to pass to integrationSalesforce
* @param codeVerifier - required codeVerifier to pass to integrationSalesforce
* @param redirectUri - required redirectUri to pass to integrationSalesforce
* @param subdomain - required subdomain to pass to integrationSalesforce
* @returns parsed response from IntegrationSalesforceMutation
*/
fetch(code: string, codeVerifier: string, redirectUri: string, subdomain: string): LinearFetch<IntegrationPayload>;
}
/**
* A fetchable IntegrationSentryConnect Mutation
*
* @param request - function to call the graphql client
*/
declare class IntegrationSentryConnectMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the IntegrationSentryConnect mutation and return a IntegrationPayload
*
* @param code - required code to pass to integrationSentryConnect
* @param installationId - required installationId to pass to integrationSentryConnect
* @param organizationSlug - required organizationSlug to pass to integrationSentryConnect
* @returns parsed response from IntegrationSentryConnectMutation
*/
fetch(code: string, installationId: string, organizationSlug: string): LinearFetch<IntegrationPayload>;
}
/**
* A fetchable IntegrationSlack Mutation
*
* @param request - function to call the graphql client
*/
declare class IntegrationSlackMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the IntegrationSlack mutation and return a IntegrationPayload
*
* @param code - required code to pass to integrationSlack
* @param redirectUri - required redirectUri to pass to integrationSlack
* @param variables - variables without 'code', 'redirectUri' to pass into the IntegrationSlackMutation
* @returns parsed response from IntegrationSlackMutation
*/
fetch(code: string, redirectUri: string, variables?: Omit<IntegrationSlackMutationVariables, "code" | "redirectUri">): LinearFetch<IntegrationPayload>;
}
/**
* A fetchable IntegrationSlackAsks Mutation
*
* @param request - function to call the graphql client
*/
declare class IntegrationSlackAsksMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the IntegrationSlackAsks mutation and return a IntegrationPayload
*
* @param code - required code to pass to integrationSlackAsks
* @param redirectUri - required redirectUri to pass to integrationSlackAsks
* @param variables - variables without 'code', 'redirectUri' to pass into the IntegrationSlackAsksMutation
* @returns parsed response from IntegrationSlackAsksMutation
*/
fetch(code: string, redirectUri: string, variables?: Omit<IntegrationSlackAsksMutationVariables, "code" | "redirectUri">): LinearFetch<IntegrationPayload>;
}
/**
* A fetchable IntegrationSlackCustomViewNotifications Mutation
*
* @param request - function to call the graphql client
*/
declare class IntegrationSlackCustomViewNotificationsMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the IntegrationSlackCustomViewNotifications mutation and return a SlackChannelConnectPayload
*
* @param code - required code to pass to integrationSlackCustomViewNotifications
* @param customViewId - required customViewId to pass to integrationSlackCustomViewNotifications
* @param redirectUri - required redirectUri to pass to integrationSlackCustomViewNotifications
* @returns parsed response from IntegrationSlackCustomViewNotificationsMutation
*/
fetch(code: string, customViewId: string, redirectUri: string): LinearFetch<SlackChannelConnectPayload>;
}
/**
* A fetchable IntegrationSlackCustomerChannelLink Mutation
*
* @param request - function to call the graphql client
*/
declare class IntegrationSlackCustomerChannelLinkMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the IntegrationSlackCustomerChannelLink mutation and return a SuccessPayload
*
* @param code - required code to pass to integrationSlackCustomerChannelLink
* @param customerId - required customerId to pass to integrationSlackCustomerChannelLink
* @param redirectUri - required redirectUri to pass to integrationSlackCustomerChannelLink
* @returns parsed response from IntegrationSlackCustomerChannelLinkMutation
*/
fetch(code: string, customerId: string, redirectUri: string): LinearFetch<SuccessPayload>;
}
/**
* A fetchable IntegrationSlackImportEmojis Mutation
*
* @param request - function to call the graphql client
*/
declare class IntegrationSlackImportEmojisMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the IntegrationSlackImportEmojis mutation and return a IntegrationPayload
*
* @param code - required code to pass to integrationSlackImportEmojis
* @param redirectUri - required redirectUri to pass to integrationSlackImportEmojis
* @returns parsed response from IntegrationSlackImportEmojisMutation
*/
fetch(code: string, redirectUri: string): LinearFetch<IntegrationPayload>;
}
/**
* A fetchable IntegrationSlackOrAsksUpdateSlackTeamName Mutation
*
* @param request - function to call the graphql client
*/
declare class IntegrationSlackOrAsksUpdateSlackTeamNameMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the IntegrationSlackOrAsksUpdateSlackTeamName mutation and return a IntegrationSlackWorkspaceNamePayload
*
* @param integrationId - required integrationId to pass to integrationSlackOrAsksUpdateSlackTeamName
* @returns parsed response from IntegrationSlackOrAsksUpdateSlackTeamNameMutation
*/
fetch(integrationId: string): LinearFetch<IntegrationSlackWorkspaceNamePayload>;
}
/**
* A fetchable IntegrationSlackOrgProjectUpdatesPost Mutation
*
* @param request - function to call the graphql client
*/
declare class IntegrationSlackOrgProjectUpdatesPostMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the IntegrationSlackOrgProjectUpdatesPost mutation and return a SlackChannelConnectPayload
*
* @param code - required code to pass to integrationSlackOrgProjectUpdatesPost
* @param redirectUri - required redirectUri to pass to integrationSlackOrgProjectUpdatesPost
* @returns parsed response from IntegrationSlackOrgProjectUpdatesPostMutation
*/
fetch(code: string, redirectUri: string): LinearFetch<SlackChannelConnectPayload>;
}
/**
* A fetchable IntegrationSlackPersonal Mutation
*
* @param request - function to call the graphql client
*/
declare class IntegrationSlackPersonalMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the IntegrationSlackPersonal mutation and return a IntegrationPayload
*
* @param code - required code to pass to integrationSlackPersonal
* @param redirectUri - required redirectUri to pass to integrationSlackPersonal
* @returns parsed response from IntegrationSlackPersonalMutation
*/
fetch(code: string, redirectUri: string): LinearFetch<IntegrationPayload>;
}
/**
* A fetchable IntegrationSlackPost Mutation
*
* @param request - function to call the graphql client
*/
declare class IntegrationSlackPostMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the IntegrationSlackPost mutation and return a SlackChannelConnectPayload
*
* @param code - required code to pass to integrationSlackPost
* @param redirectUri - required redirectUri to pass to integrationSlackPost
* @param teamId - required teamId to pass to integrationSlackPost
* @param variables - variables without 'code', 'redirectUri', 'teamId' to pass into the IntegrationSlackPostMutation
* @returns parsed response from IntegrationSlackPostMutation
*/
fetch(code: string, redirectUri: string, teamId: string, variables?: Omit<IntegrationSlackPostMutationVariables, "code" | "redirectUri" | "teamId">): LinearFetch<SlackChannelConnectPayload>;
}
/**
* A fetchable IntegrationSlackProjectPost Mutation
*
* @param request - function to call the graphql client
*/
declare class IntegrationSlackProjectPostMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the IntegrationSlackProjectPost mutation and return a SlackChannelConnectPayload
*
* @param code - required code to pass to integrationSlackProjectPost
* @param projectId - required projectId to pass to integrationSlackProjectPost
* @param redirectUri - required redirectUri to pass to integrationSlackProjectPost
* @param service - required service to pass to integrationSlackProjectPost
* @returns parsed response from IntegrationSlackProjectPostMutation
*/
fetch(code: string, projectId: string, redirectUri: string, service: string): LinearFetch<SlackChannelConnectPayload>;
}
/**
* A fetchable CreateIntegrationTemplate Mutation
*
* @param request - function to call the graphql client
*/
declare class CreateIntegrationTemplateMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the CreateIntegrationTemplate mutation and return a IntegrationTemplatePayload
*
* @param input - required input to pass to createIntegrationTemplate
* @returns parsed response from CreateIntegrationTemplateMutation
*/
fetch(input: IntegrationTemplateCreateInput): LinearFetch<IntegrationTemplatePayload>;
}
/**
* A fetchable DeleteIntegrationTemplate Mutation
*
* @param request - function to call the graphql client
*/
declare class DeleteIntegrationTemplateMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the DeleteIntegrationTemplate mutation and return a DeletePayload
*
* @param id - required id to pass to deleteIntegrationTemplate
* @returns parsed response from DeleteIntegrationTemplateMutation
*/
fetch(id: string): LinearFetch<DeletePayload>;
}
/**
* A fetchable IntegrationZendesk Mutation
*
* @param request - function to call the graphql client
*/
declare class IntegrationZendeskMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the IntegrationZendesk mutation and return a IntegrationPayload
*
* @param subdomain - required subdomain to pass to integrationZendesk
* @param variables - variables without 'subdomain' to pass into the IntegrationZendeskMutation
* @returns parsed response from IntegrationZendeskMutation
*/
fetch(subdomain: string, variables?: Omit<IntegrationZendeskMutationVariables, "subdomain">): LinearFetch<IntegrationPayload>;
}
/**
* A fetchable CreateIntegrationsSettings Mutation
*
* @param request - function to call the graphql client
*/
declare class CreateIntegrationsSettingsMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the CreateIntegrationsSettings mutation and return a IntegrationsSettingsPayload
*
* @param input - required input to pass to createIntegrationsSettings
* @returns parsed response from CreateIntegrationsSettingsMutation
*/
fetch(input: IntegrationsSettingsCreateInput): LinearFetch<IntegrationsSettingsPayload>;
}
/**
* A fetchable UpdateIntegrationsSettings Mutation
*
* @param request - function to call the graphql client
*/
declare class UpdateIntegrationsSettingsMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the UpdateIntegrationsSettings mutation and return a IntegrationsSettingsPayload
*
* @param id - required id to pass to updateIntegrationsSettings
* @param input - required input to pass to updateIntegrationsSettings
* @returns parsed response from UpdateIntegrationsSettingsMutation
*/
fetch(id: string, input: IntegrationsSettingsUpdateInput): LinearFetch<IntegrationsSettingsPayload>;
}
/**
* A fetchable IssueAddLabel Mutation
*
* @param request - function to call the graphql client
*/
declare class IssueAddLabelMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the IssueAddLabel mutation and return a IssuePayload
*
* @param id - required id to pass to issueAddLabel
* @param labelId - required labelId to pass to issueAddLabel
* @returns parsed response from IssueAddLabelMutation
*/
fetch(id: string, labelId: string): LinearFetch<IssuePayload>;
}
/**
* A fetchable ArchiveIssue Mutation
*
* @param request - function to call the graphql client
*/
declare class ArchiveIssueMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the ArchiveIssue mutation and return a IssueArchivePayload
*
* @param id - required id to pass to archiveIssue
* @param variables - variables without 'id' to pass into the ArchiveIssueMutation
* @returns parsed response from ArchiveIssueMutation
*/
fetch(id: string, variables?: Omit<ArchiveIssueMutationVariables, "id">): LinearFetch<IssueArchivePayload>;
}
/**
* A fetchable CreateIssueBatch Mutation
*
* @param request - function to call the graphql client
*/
declare class CreateIssueBatchMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the CreateIssueBatch mutation and return a IssueBatchPayload
*
* @param input - required input to pass to createIssueBatch
* @returns parsed response from CreateIssueBatchMutation
*/
fetch(input: IssueBatchCreateInput): LinearFetch<IssueBatchPayload>;
}
/**
* A fetchable UpdateIssueBatch Mutation
*
* @param request - function to call the graphql client
*/
declare class UpdateIssueBatchMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the UpdateIssueBatch mutation and return a IssueBatchPayload
*
* @param ids - required ids to pass to updateIssueBatch
* @param input - required input to pass to updateIssueBatch
* @returns parsed response from UpdateIssueBatchMutation
*/
fetch(ids: Scalars["UUID"][], input: IssueUpdateInput): LinearFetch<IssueBatchPayload>;
}
/**
* A fetchable CreateIssue Mutation
*
* @param request - function to call the graphql client
*/
declare class CreateIssueMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the CreateIssue mutation and return a IssuePayload
*
* @param input - required input to pass to createIssue
* @returns parsed response from CreateIssueMutation
*/
fetch(input: IssueCreateInput): LinearFetch<IssuePayload>;
}
/**
* A fetchable DeleteIssue Mutation
*
* @param request - function to call the graphql client
*/
declare class DeleteIssueMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the DeleteIssue mutation and return a IssueArchivePayload
*
* @param id - required id to pass to deleteIssue
* @param variables - variables without 'id' to pass into the DeleteIssueMutation
* @returns parsed response from DeleteIssueMutation
*/
fetch(id: string, variables?: Omit<DeleteIssueMutationVariables, "id">): LinearFetch<IssueArchivePayload>;
}
/**
* A fetchable IssueExternalSyncDisable Mutation
*
* @param request - function to call the graphql client
*/
declare class IssueExternalSyncDisableMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the IssueExternalSyncDisable mutation and return a IssuePayload
*
* @param attachmentId - required attachmentId to pass to issueExternalSyncDisable
* @returns parsed response from IssueExternalSyncDisableMutation
*/
fetch(attachmentId: string): LinearFetch<IssuePayload>;
}
/**
* A fetchable IssueImportCreateAsana Mutation
*
* @param request - function to call the graphql client
*/
declare class IssueImportCreateAsanaMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the IssueImportCreateAsana mutation and return a IssueImportPayload
*
* @param asanaTeamName - required asanaTeamName to pass to issueImportCreateAsana
* @param asanaToken - required asanaToken to pass to issueImportCreateAsana
* @param variables - variables without 'asanaTeamName', 'asanaToken' to pass into the IssueImportCreateAsanaMutation
* @returns parsed response from IssueImportCreateAsanaMutation
*/
fetch(asanaTeamName: string, asanaToken: string, variables?: Omit<IssueImportCreateAsanaMutationVariables, "asanaTeamName" | "asanaToken">): LinearFetch<IssueImportPayload>;
}
/**
* A fetchable IssueImportCreateCsvJira Mutation
*
* @param request - function to call the graphql client
*/
declare class IssueImportCreateCsvJiraMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the IssueImportCreateCsvJira mutation and return a IssueImportPayload
*
* @param csvUrl - required csvUrl to pass to issueImportCreateCSVJira
* @param variables - variables without 'csvUrl' to pass into the IssueImportCreateCsvJiraMutation
* @returns parsed response from IssueImportCreateCsvJiraMutation
*/
fetch(csvUrl: string, variables?: Omit<IssueImportCreateCsvJiraMutationVariables, "csvUrl">): LinearFetch<IssueImportPayload>;
}
/**
* A fetchable IssueImportCreateClubhouse Mutation
*
* @param request - function to call the graphql client
*/
declare class IssueImportCreateClubhouseMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the IssueImportCreateClubhouse mutation and return a IssueImportPayload
*
* @param clubhouseGroupName - required clubhouseGroupName to pass to issueImportCreateClubhouse
* @param clubhouseToken - required clubhouseToken to pass to issueImportCreateClubhouse
* @param variables - variables without 'clubhouseGroupName', 'clubhouseToken' to pass into the IssueImportCreateClubhouseMutation
* @returns parsed response from IssueImportCreateClubhouseMutation
*/
fetch(clubhouseGroupName: string, clubhouseToken: string, variables?: Omit<IssueImportCreateClubhouseMutationVariables, "clubhouseGroupName" | "clubhouseToken">): LinearFetch<IssueImportPayload>;
}
/**
* A fetchable IssueImportCreateGithub Mutation
*
* @param request - function to call the graphql client
*/
declare class IssueImportCreateGithubMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the IssueImportCreateGithub mutation and return a IssueImportPayload
*
* @param variables - variables to pass into the IssueImportCreateGithubMutation
* @returns parsed response from IssueImportCreateGithubMutation
*/
fetch(variables?: IssueImportCreateGithubMutationVariables): LinearFetch<IssueImportPayload>;
}
/**
* A fetchable IssueImportCreateJira Mutation
*
* @param request - function to call the graphql client
*/
declare class IssueImportCreateJiraMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the IssueImportCreateJira mutation and return a IssueImportPayload
*
* @param jiraEmail - required jiraEmail to pass to issueImportCreateJira
* @param jiraHostname - required jiraHostname to pass to issueImportCreateJira
* @param jiraProject - required jiraProject to pass to issueImportCreateJira
* @param jiraToken - required jiraToken to pass to issueImportCreateJira
* @param variables - variables without 'jiraEmail', 'jiraHostname', 'jiraProject', 'jiraToken' to pass into the IssueImportCreateJiraMutation
* @returns parsed response from IssueImportCreateJiraMutation
*/
fetch(jiraEmail: string, jiraHostname: string, jiraProject: string, jiraToken: string, variables?: Omit<IssueImportCreateJiraMutationVariables, "jiraEmail" | "jiraHostname" | "jiraProject" | "jiraToken">): LinearFetch<IssueImportPayload>;
}
/**
* A fetchable DeleteIssueImport Mutation
*
* @param request - function to call the graphql client
*/
declare class DeleteIssueImportMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the DeleteIssueImport mutation and return a IssueImportDeletePayload
*
* @param issueImportId - required issueImportId to pass to deleteIssueImport
* @returns parsed response from DeleteIssueImportMutation
*/
fetch(issueImportId: string): LinearFetch<IssueImportDeletePayload>;
}
/**
* A fetchable IssueImportProcess Mutation
*
* @param request - function to call the graphql client
*/
declare class IssueImportProcessMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the IssueImportProcess mutation and return a IssueImportPayload
*
* @param issueImportId - required issueImportId to pass to issueImportProcess
* @param mapping - required mapping to pass to issueImportProcess
* @returns parsed response from IssueImportProcessMutation
*/
fetch(issueImportId: string, mapping: Scalars["JSONObject"]): LinearFetch<IssueImportPayload>;
}
/**
* A fetchable UpdateIssueImport Mutation
*
* @param request - function to call the graphql client
*/
declare class UpdateIssueImportMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the UpdateIssueImport mutation and return a IssueImportPayload
*
* @param id - required id to pass to updateIssueImport
* @param input - required input to pass to updateIssueImport
* @returns parsed response from UpdateIssueImportMutation
*/
fetch(id: string, input: IssueImportUpdateInput): LinearFetch<IssueImportPayload>;
}
/**
* A fetchable CreateIssueLabel Mutation
*
* @param request - function to call the graphql client
*/
declare class CreateIssueLabelMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the CreateIssueLabel mutation and return a IssueLabelPayload
*
* @param input - required input to pass to createIssueLabel
* @param variables - variables without 'input' to pass into the CreateIssueLabelMutation
* @returns parsed response from CreateIssueLabelMutation
*/
fetch(input: IssueLabelCreateInput, variables?: Omit<CreateIssueLabelMutationVariables, "input">): LinearFetch<IssueLabelPayload>;
}
/**
* A fetchable DeleteIssueLabel Mutation
*
* @param request - function to call the graphql client
*/
declare class DeleteIssueLabelMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the DeleteIssueLabel mutation and return a DeletePayload
*
* @param id - required id to pass to deleteIssueLabel
* @returns parsed response from DeleteIssueLabelMutation
*/
fetch(id: string): LinearFetch<DeletePayload>;
}
/**
* A fetchable IssueLabelRestore Mutation
*
* @param request - function to call the graphql client
*/
declare class IssueLabelRestoreMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the IssueLabelRestore mutation and return a IssueLabelPayload
*
* @param id - required id to pass to issueLabelRestore
* @returns parsed response from IssueLabelRestoreMutation
*/
fetch(id: string): LinearFetch<IssueLabelPayload>;
}
/**
* A fetchable IssueLabelRetire Mutation
*
* @param request - function to call the graphql client
*/
declare class IssueLabelRetireMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the IssueLabelRetire mutation and return a IssueLabelPayload
*
* @param id - required id to pass to issueLabelRetire
* @returns parsed response from IssueLabelRetireMutation
*/
fetch(id: string): LinearFetch<IssueLabelPayload>;
}
/**
* A fetchable UpdateIssueLabel Mutation
*
* @param request - function to call the graphql client
*/
declare class UpdateIssueLabelMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the UpdateIssueLabel mutation and return a IssueLabelPayload
*
* @param id - required id to pass to updateIssueLabel
* @param input - required input to pass to updateIssueLabel
* @param variables - variables without 'id', 'input' to pass into the UpdateIssueLabelMutation
* @returns parsed response from UpdateIssueLabelMutation
*/
fetch(id: string, input: IssueLabelUpdateInput, variables?: Omit<UpdateIssueLabelMutationVariables, "id" | "input">): LinearFetch<IssueLabelPayload>;
}
/**
* A fetchable CreateIssueRelation Mutation
*
* @param request - function to call the graphql client
*/
declare class CreateIssueRelationMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the CreateIssueRelation mutation and return a IssueRelationPayload
*
* @param input - required input to pass to createIssueRelation
* @param variables - variables without 'input' to pass into the CreateIssueRelationMutation
* @returns parsed response from CreateIssueRelationMutation
*/
fetch(input: IssueRelationCreateInput, variables?: Omit<CreateIssueRelationMutationVariables, "input">): LinearFetch<IssueRelationPayload>;
}
/**
* A fetchable DeleteIssueRelation Mutation
*
* @param request - function to call the graphql client
*/
declare class DeleteIssueRelationMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the DeleteIssueRelation mutation and return a DeletePayload
*
* @param id - required id to pass to deleteIssueRelation
* @returns parsed response from DeleteIssueRelationMutation
*/
fetch(id: string): LinearFetch<DeletePayload>;
}
/**
* A fetchable UpdateIssueRelation Mutation
*
* @param request - function to call the graphql client
*/
declare class UpdateIssueRelationMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the UpdateIssueRelation mutation and return a IssueRelationPayload
*
* @param id - required id to pass to updateIssueRelation
* @param input - required input to pass to updateIssueRelation
* @returns parsed response from UpdateIssueRelationMutation
*/
fetch(id: string, input: IssueRelationUpdateInput): LinearFetch<IssueRelationPayload>;
}
/**
* A fetchable IssueReminder Mutation
*
* @param request - function to call the graphql client
*/
declare class IssueReminderMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the IssueReminder mutation and return a IssuePayload
*
* @param id - required id to pass to issueReminder
* @param reminderAt - required reminderAt to pass to issueReminder
* @returns parsed response from IssueReminderMutation
*/
fetch(id: string, reminderAt: Date): LinearFetch<IssuePayload>;
}
/**
* A fetchable IssueRemoveLabel Mutation
*
* @param request - function to call the graphql client
*/
declare class IssueRemoveLabelMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the IssueRemoveLabel mutation and return a IssuePayload
*
* @param id - required id to pass to issueRemoveLabel
* @param labelId - required labelId to pass to issueRemoveLabel
* @returns parsed response from IssueRemoveLabelMutation
*/
fetch(id: string, labelId: string): LinearFetch<IssuePayload>;
}
/**
* A fetchable IssueShare Mutation
*
* @param request - function to call the graphql client
*/
declare class IssueShareMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the IssueShare mutation and return a IssuePayload
*
* @param id - required id to pass to issueShare
* @param userId - required userId to pass to issueShare
* @returns parsed response from IssueShareMutation
*/
fetch(id: string, userId: string): LinearFetch<IssuePayload>;
}
/**
* A fetchable IssueSubscribe Mutation
*
* @param request - function to call the graphql client
*/
declare class IssueSubscribeMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the IssueSubscribe mutation and return a IssuePayload
*
* @param id - required id to pass to issueSubscribe
* @param variables - variables without 'id' to pass into the IssueSubscribeMutation
* @returns parsed response from IssueSubscribeMutation
*/
fetch(id: string, variables?: Omit<IssueSubscribeMutationVariables, "id">): LinearFetch<IssuePayload>;
}
/**
* A fetchable CreateIssueToRelease Mutation
*
* @param request - function to call the graphql client
*/
declare class CreateIssueToReleaseMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the CreateIssueToRelease mutation and return a IssueToReleasePayload
*
* @param input - required input to pass to createIssueToRelease
* @returns parsed response from CreateIssueToReleaseMutation
*/
fetch(input: IssueToReleaseCreateInput): LinearFetch<IssueToReleasePayload>;
}
/**
* A fetchable DeleteIssueToRelease Mutation
*
* @param request - function to call the graphql client
*/
declare class DeleteIssueToReleaseMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the DeleteIssueToRelease mutation and return a DeletePayload
*
* @param id - required id to pass to deleteIssueToRelease
* @returns parsed response from DeleteIssueToReleaseMutation
*/
fetch(id: string): LinearFetch<DeletePayload>;
}
/**
* A fetchable IssueToReleaseDeleteByIssueAndRelease Mutation
*
* @param request - function to call the graphql client
*/
declare class IssueToReleaseDeleteByIssueAndReleaseMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the IssueToReleaseDeleteByIssueAndRelease mutation and return a DeletePayload
*
* @param issueId - required issueId to pass to issueToReleaseDeleteByIssueAndRelease
* @param releaseId - required releaseId to pass to issueToReleaseDeleteByIssueAndRelease
* @returns parsed response from IssueToReleaseDeleteByIssueAndReleaseMutation
*/
fetch(issueId: string, releaseId: string): LinearFetch<DeletePayload>;
}
/**
* A fetchable UnarchiveIssue Mutation
*
* @param request - function to call the graphql client
*/
declare class UnarchiveIssueMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the UnarchiveIssue mutation and return a IssueArchivePayload
*
* @param id - required id to pass to unarchiveIssue
* @returns parsed response from UnarchiveIssueMutation
*/
fetch(id: string): LinearFetch<IssueArchivePayload>;
}
/**
* A fetchable IssueUnshare Mutation
*
* @param request - function to call the graphql client
*/
declare class IssueUnshareMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the IssueUnshare mutation and return a IssuePayload
*
* @param id - required id to pass to issueUnshare
* @param userId - required userId to pass to issueUnshare
* @returns parsed response from IssueUnshareMutation
*/
fetch(id: string, userId: string): LinearFetch<IssuePayload>;
}
/**
* A fetchable IssueUnsubscribe Mutation
*
* @param request - function to call the graphql client
*/
declare class IssueUnsubscribeMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the IssueUnsubscribe mutation and return a IssuePayload
*
* @param id - required id to pass to issueUnsubscribe
* @param variables - variables without 'id' to pass into the IssueUnsubscribeMutation
* @returns parsed response from IssueUnsubscribeMutation
*/
fetch(id: string, variables?: Omit<IssueUnsubscribeMutationVariables, "id">): LinearFetch<IssuePayload>;
}
/**
* A fetchable UpdateIssue Mutation
*
* @param request - function to call the graphql client
*/
declare class UpdateIssueMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the UpdateIssue mutation and return a IssuePayload
*
* @param id - required id to pass to updateIssue
* @param input - required input to pass to updateIssue
* @returns parsed response from UpdateIssueMutation
*/
fetch(id: string, input: IssueUpdateInput): LinearFetch<IssuePayload>;
}
/**
* A fetchable Logout Mutation
*
* @param request - function to call the graphql client
*/
declare class LogoutMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the Logout mutation and return a LogoutResponse
*
* @param variables - variables to pass into the LogoutMutation
* @returns parsed response from LogoutMutation
*/
fetch(variables?: LogoutMutationVariables): LinearFetch<LogoutResponse>;
}
/**
* A fetchable LogoutAllSessions Mutation
*
* @param request - function to call the graphql client
*/
declare class LogoutAllSessionsMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the LogoutAllSessions mutation and return a LogoutResponse
*
* @param variables - variables to pass into the LogoutAllSessionsMutation
* @returns parsed response from LogoutAllSessionsMutation
*/
fetch(variables?: LogoutAllSessionsMutationVariables): LinearFetch<LogoutResponse>;
}
/**
* A fetchable LogoutOtherSessions Mutation
*
* @param request - function to call the graphql client
*/
declare class LogoutOtherSessionsMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the LogoutOtherSessions mutation and return a LogoutResponse
*
* @param variables - variables to pass into the LogoutOtherSessionsMutation
* @returns parsed response from LogoutOtherSessionsMutation
*/
fetch(variables?: LogoutOtherSessionsMutationVariables): LinearFetch<LogoutResponse>;
}
/**
* A fetchable LogoutSession Mutation
*
* @param request - function to call the graphql client
*/
declare class LogoutSessionMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the LogoutSession mutation and return a LogoutResponse
*
* @param sessionId - required sessionId to pass to logoutSession
* @returns parsed response from LogoutSessionMutation
*/
fetch(sessionId: string): LinearFetch<LogoutResponse>;
}
/**
* A fetchable ArchiveNotification Mutation
*
* @param request - function to call the graphql client
*/
declare class ArchiveNotificationMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the ArchiveNotification mutation and return a NotificationArchivePayload
*
* @param id - required id to pass to archiveNotification
* @returns parsed response from ArchiveNotificationMutation
*/
fetch(id: string): LinearFetch<NotificationArchivePayload>;
}
/**
* A fetchable NotificationArchiveAll Mutation
*
* @param request - function to call the graphql client
*/
declare class NotificationArchiveAllMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the NotificationArchiveAll mutation and return a NotificationBatchActionPayload
*
* @param input - required input to pass to notificationArchiveAll
* @returns parsed response from NotificationArchiveAllMutation
*/
fetch(input: NotificationEntityInput): LinearFetch<NotificationBatchActionPayload>;
}
/**
* A fetchable UpdateNotificationCategoryChannelSubscription Mutation
*
* @param request - function to call the graphql client
*/
declare class UpdateNotificationCategoryChannelSubscriptionMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the UpdateNotificationCategoryChannelSubscription mutation and return a UserSettingsPayload
*
* @param category - required category to pass to updateNotificationCategoryChannelSubscription
* @param channel - required channel to pass to updateNotificationCategoryChannelSubscription
* @param subscribe - required subscribe to pass to updateNotificationCategoryChannelSubscription
* @returns parsed response from UpdateNotificationCategoryChannelSubscriptionMutation
*/
fetch(category: NotificationCategory, channel: NotificationChannel, subscribe: boolean): LinearFetch<UserSettingsPayload>;
}
/**
* A fetchable NotificationMarkReadAll Mutation
*
* @param request - function to call the graphql client
*/
declare class NotificationMarkReadAllMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the NotificationMarkReadAll mutation and return a NotificationBatchActionPayload
*
* @param input - required input to pass to notificationMarkReadAll
* @param readAt - required readAt to pass to notificationMarkReadAll
* @returns parsed response from NotificationMarkReadAllMutation
*/
fetch(input: NotificationEntityInput, readAt: Date): LinearFetch<NotificationBatchActionPayload>;
}
/**
* A fetchable NotificationMarkUnreadAll Mutation
*
* @param request - function to call the graphql client
*/
declare class NotificationMarkUnreadAllMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the NotificationMarkUnreadAll mutation and return a NotificationBatchActionPayload
*
* @param input - required input to pass to notificationMarkUnreadAll
* @returns parsed response from NotificationMarkUnreadAllMutation
*/
fetch(input: NotificationEntityInput): LinearFetch<NotificationBatchActionPayload>;
}
/**
* A fetchable NotificationSnoozeAll Mutation
*
* @param request - function to call the graphql client
*/
declare class NotificationSnoozeAllMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the NotificationSnoozeAll mutation and return a NotificationBatchActionPayload
*
* @param input - required input to pass to notificationSnoozeAll
* @param snoozedUntilAt - required snoozedUntilAt to pass to notificationSnoozeAll
* @returns parsed response from NotificationSnoozeAllMutation
*/
fetch(input: NotificationEntityInput, snoozedUntilAt: Date): LinearFetch<NotificationBatchActionPayload>;
}
/**
* A fetchable CreateNotificationSubscription Mutation
*
* @param request - function to call the graphql client
*/
declare class CreateNotificationSubscriptionMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the CreateNotificationSubscription mutation and return a NotificationSubscriptionPayload
*
* @param input - required input to pass to createNotificationSubscription
* @returns parsed response from CreateNotificationSubscriptionMutation
*/
fetch(input: NotificationSubscriptionCreateInput): LinearFetch<NotificationSubscriptionPayload>;
}
/**
* A fetchable DeleteNotificationSubscription Mutation
*
* @param request - function to call the graphql client
*/
declare class DeleteNotificationSubscriptionMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the DeleteNotificationSubscription mutation and return a DeletePayload
*
* @param id - required id to pass to deleteNotificationSubscription
* @returns parsed response from DeleteNotificationSubscriptionMutation
*/
fetch(id: string): LinearFetch<DeletePayload>;
}
/**
* A fetchable UpdateNotificationSubscription Mutation
*
* @param request - function to call the graphql client
*/
declare class UpdateNotificationSubscriptionMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the UpdateNotificationSubscription mutation and return a NotificationSubscriptionPayload
*
* @param id - required id to pass to updateNotificationSubscription
* @param input - required input to pass to updateNotificationSubscription
* @returns parsed response from UpdateNotificationSubscriptionMutation
*/
fetch(id: string, input: NotificationSubscriptionUpdateInput): LinearFetch<NotificationSubscriptionPayload>;
}
/**
* A fetchable UnarchiveNotification Mutation
*
* @param request - function to call the graphql client
*/
declare class UnarchiveNotificationMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the UnarchiveNotification mutation and return a NotificationArchivePayload
*
* @param id - required id to pass to unarchiveNotification
* @returns parsed response from UnarchiveNotificationMutation
*/
fetch(id: string): LinearFetch<NotificationArchivePayload>;
}
/**
* A fetchable NotificationUnsnoozeAll Mutation
*
* @param request - function to call the graphql client
*/
declare class NotificationUnsnoozeAllMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the NotificationUnsnoozeAll mutation and return a NotificationBatchActionPayload
*
* @param input - required input to pass to notificationUnsnoozeAll
* @param unsnoozedAt - required unsnoozedAt to pass to notificationUnsnoozeAll
* @returns parsed response from NotificationUnsnoozeAllMutation
*/
fetch(input: NotificationEntityInput, unsnoozedAt: Date): LinearFetch<NotificationBatchActionPayload>;
}
/**
* A fetchable UpdateNotification Mutation
*
* @param request - function to call the graphql client
*/
declare class UpdateNotificationMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the UpdateNotification mutation and return a NotificationPayload
*
* @param id - required id to pass to updateNotification
* @param input - required input to pass to updateNotification
* @returns parsed response from UpdateNotificationMutation
*/
fetch(id: string, input: NotificationUpdateInput): LinearFetch<NotificationPayload>;
}
/**
* A fetchable DeleteOrganizationCancel Mutation
*
* @param request - function to call the graphql client
*/
declare class DeleteOrganizationCancelMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the DeleteOrganizationCancel mutation and return a OrganizationCancelDeletePayload
*
* @returns parsed response from DeleteOrganizationCancelMutation
*/
fetch(): LinearFetch<OrganizationCancelDeletePayload>;
}
/**
* A fetchable DeleteOrganization Mutation
*
* @param request - function to call the graphql client
*/
declare class DeleteOrganizationMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the DeleteOrganization mutation and return a OrganizationDeletePayload
*
* @param input - required input to pass to deleteOrganization
* @returns parsed response from DeleteOrganizationMutation
*/
fetch(input: DeleteOrganizationInput): LinearFetch<OrganizationDeletePayload>;
}
/**
* A fetchable OrganizationDeleteChallenge Mutation
*
* @param request - function to call the graphql client
*/
declare class OrganizationDeleteChallengeMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the OrganizationDeleteChallenge mutation and return a OrganizationDeletePayload
*
* @returns parsed response from OrganizationDeleteChallengeMutation
*/
fetch(): LinearFetch<OrganizationDeletePayload>;
}
/**
* A fetchable DeleteOrganizationDomain Mutation
*
* @param request - function to call the graphql client
*/
declare class DeleteOrganizationDomainMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the DeleteOrganizationDomain mutation and return a DeletePayload
*
* @param id - required id to pass to deleteOrganizationDomain
* @returns parsed response from DeleteOrganizationDomainMutation
*/
fetch(id: string): LinearFetch<DeletePayload>;
}
/**
* A fetchable CreateOrganizationInvite Mutation
*
* @param request - function to call the graphql client
*/
declare class CreateOrganizationInviteMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the CreateOrganizationInvite mutation and return a OrganizationInvitePayload
*
* @param input - required input to pass to createOrganizationInvite
* @returns parsed response from CreateOrganizationInviteMutation
*/
fetch(input: OrganizationInviteCreateInput): LinearFetch<OrganizationInvitePayload>;
}
/**
* A fetchable DeleteOrganizationInvite Mutation
*
* @param request - function to call the graphql client
*/
declare class DeleteOrganizationInviteMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the DeleteOrganizationInvite mutation and return a DeletePayload
*
* @param id - required id to pass to deleteOrganizationInvite
* @returns parsed response from DeleteOrganizationInviteMutation
*/
fetch(id: string): LinearFetch<DeletePayload>;
}
/**
* A fetchable UpdateOrganizationInvite Mutation
*
* @param request - function to call the graphql client
*/
declare class UpdateOrganizationInviteMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the UpdateOrganizationInvite mutation and return a OrganizationInvitePayload
*
* @param id - required id to pass to updateOrganizationInvite
* @param input - required input to pass to updateOrganizationInvite
* @returns parsed response from UpdateOrganizationInviteMutation
*/
fetch(id: string, input: OrganizationInviteUpdateInput): LinearFetch<OrganizationInvitePayload>;
}
/**
* A fetchable OrganizationStartTrial Mutation
*
* @param request - function to call the graphql client
*/
declare class OrganizationStartTrialMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the OrganizationStartTrial mutation and return a OrganizationStartTrialPayload
*
* @returns parsed response from OrganizationStartTrialMutation
*/
fetch(): LinearFetch<OrganizationStartTrialPayload>;
}
/**
* A fetchable OrganizationStartTrialForPlan Mutation
*
* @param request - function to call the graphql client
*/
declare class OrganizationStartTrialForPlanMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the OrganizationStartTrialForPlan mutation and return a OrganizationStartTrialPayload
*
* @param input - required input to pass to organizationStartTrialForPlan
* @returns parsed response from OrganizationStartTrialForPlanMutation
*/
fetch(input: OrganizationStartTrialInput): LinearFetch<OrganizationStartTrialPayload>;
}
/**
* A fetchable UpdateOrganization Mutation
*
* @param request - function to call the graphql client
*/
declare class UpdateOrganizationMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the UpdateOrganization mutation and return a OrganizationPayload
*
* @param input - required input to pass to updateOrganization
* @returns parsed response from UpdateOrganizationMutation
*/
fetch(input: OrganizationUpdateInput): LinearFetch<OrganizationPayload>;
}
/**
* A fetchable ProjectAddLabel Mutation
*
* @param request - function to call the graphql client
*/
declare class ProjectAddLabelMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the ProjectAddLabel mutation and return a ProjectPayload
*
* @param id - required id to pass to projectAddLabel
* @param labelId - required labelId to pass to projectAddLabel
* @returns parsed response from ProjectAddLabelMutation
*/
fetch(id: string, labelId: string): LinearFetch<ProjectPayload>;
}
/**
* A fetchable ArchiveProject Mutation
*
* @param request - function to call the graphql client
*/
declare class ArchiveProjectMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the ArchiveProject mutation and return a ProjectArchivePayload
*
* @param id - required id to pass to archiveProject
* @param variables - variables without 'id' to pass into the ArchiveProjectMutation
* @returns parsed response from ArchiveProjectMutation
*/
fetch(id: string, variables?: Omit<ArchiveProjectMutationVariables, "id">): LinearFetch<ProjectArchivePayload>;
}
/**
* A fetchable CreateProject Mutation
*
* @param request - function to call the graphql client
*/
declare class CreateProjectMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the CreateProject mutation and return a ProjectPayload
*
* @param input - required input to pass to createProject
* @param variables - variables without 'input' to pass into the CreateProjectMutation
* @returns parsed response from CreateProjectMutation
*/
fetch(input: ProjectCreateInput, variables?: Omit<CreateProjectMutationVariables, "input">): LinearFetch<ProjectPayload>;
}
/**
* A fetchable DeleteProject Mutation
*
* @param request - function to call the graphql client
*/
declare class DeleteProjectMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the DeleteProject mutation and return a ProjectArchivePayload
*
* @param id - required id to pass to deleteProject
* @returns parsed response from DeleteProjectMutation
*/
fetch(id: string): LinearFetch<ProjectArchivePayload>;
}
/**
* A fetchable ProjectExternalSyncDisable Mutation
*
* @param request - function to call the graphql client
*/
declare class ProjectExternalSyncDisableMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the ProjectExternalSyncDisable mutation and return a ProjectPayload
*
* @param projectId - required projectId to pass to projectExternalSyncDisable
* @param syncSource - required syncSource to pass to projectExternalSyncDisable
* @returns parsed response from ProjectExternalSyncDisableMutation
*/
fetch(projectId: string, syncSource: ExternalSyncService): LinearFetch<ProjectPayload>;
}
/**
* A fetchable CreateProjectLabel Mutation
*
* @param request - function to call the graphql client
*/
declare class CreateProjectLabelMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the CreateProjectLabel mutation and return a ProjectLabelPayload
*
* @param input - required input to pass to createProjectLabel
* @param variables - variables without 'input' to pass into the CreateProjectLabelMutation
* @returns parsed response from CreateProjectLabelMutation
*/
fetch(input: ProjectLabelCreateInput, variables?: Omit<CreateProjectLabelMutationVariables, "input">): LinearFetch<ProjectLabelPayload>;
}
/**
* A fetchable DeleteProjectLabel Mutation
*
* @param request - function to call the graphql client
*/
declare class DeleteProjectLabelMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the DeleteProjectLabel mutation and return a DeletePayload
*
* @param id - required id to pass to deleteProjectLabel
* @returns parsed response from DeleteProjectLabelMutation
*/
fetch(id: string): LinearFetch<DeletePayload>;
}
/**
* A fetchable ProjectLabelRestore Mutation
*
* @param request - function to call the graphql client
*/
declare class ProjectLabelRestoreMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the ProjectLabelRestore mutation and return a ProjectLabelPayload
*
* @param id - required id to pass to projectLabelRestore
* @returns parsed response from ProjectLabelRestoreMutation
*/
fetch(id: string): LinearFetch<ProjectLabelPayload>;
}
/**
* A fetchable ProjectLabelRetire Mutation
*
* @param request - function to call the graphql client
*/
declare class ProjectLabelRetireMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the ProjectLabelRetire mutation and return a ProjectLabelPayload
*
* @param id - required id to pass to projectLabelRetire
* @returns parsed response from ProjectLabelRetireMutation
*/
fetch(id: string): LinearFetch<ProjectLabelPayload>;
}
/**
* A fetchable UpdateProjectLabel Mutation
*
* @param request - function to call the graphql client
*/
declare class UpdateProjectLabelMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the UpdateProjectLabel mutation and return a ProjectLabelPayload
*
* @param id - required id to pass to updateProjectLabel
* @param input - required input to pass to updateProjectLabel
* @param variables - variables without 'id', 'input' to pass into the UpdateProjectLabelMutation
* @returns parsed response from UpdateProjectLabelMutation
*/
fetch(id: string, input: ProjectLabelUpdateInput, variables?: Omit<UpdateProjectLabelMutationVariables, "id" | "input">): LinearFetch<ProjectLabelPayload>;
}
/**
* A fetchable CreateProjectMilestone Mutation
*
* @param request - function to call the graphql client
*/
declare class CreateProjectMilestoneMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the CreateProjectMilestone mutation and return a ProjectMilestonePayload
*
* @param input - required input to pass to createProjectMilestone
* @returns parsed response from CreateProjectMilestoneMutation
*/
fetch(input: ProjectMilestoneCreateInput): LinearFetch<ProjectMilestonePayload>;
}
/**
* A fetchable DeleteProjectMilestone Mutation
*
* @param request - function to call the graphql client
*/
declare class DeleteProjectMilestoneMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the DeleteProjectMilestone mutation and return a DeletePayload
*
* @param id - required id to pass to deleteProjectMilestone
* @returns parsed response from DeleteProjectMilestoneMutation
*/
fetch(id: string): LinearFetch<DeletePayload>;
}
/**
* A fetchable UpdateProjectMilestone Mutation
*
* @param request - function to call the graphql client
*/
declare class UpdateProjectMilestoneMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the UpdateProjectMilestone mutation and return a ProjectMilestonePayload
*
* @param id - required id to pass to updateProjectMilestone
* @param input - required input to pass to updateProjectMilestone
* @returns parsed response from UpdateProjectMilestoneMutation
*/
fetch(id: string, input: ProjectMilestoneUpdateInput): LinearFetch<ProjectMilestonePayload>;
}
/**
* A fetchable CreateProjectRelation Mutation
*
* @param request - function to call the graphql client
*/
declare class CreateProjectRelationMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the CreateProjectRelation mutation and return a ProjectRelationPayload
*
* @param input - required input to pass to createProjectRelation
* @returns parsed response from CreateProjectRelationMutation
*/
fetch(input: ProjectRelationCreateInput): LinearFetch<ProjectRelationPayload>;
}
/**
* A fetchable DeleteProjectRelation Mutation
*
* @param request - function to call the graphql client
*/
declare class DeleteProjectRelationMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the DeleteProjectRelation mutation and return a DeletePayload
*
* @param id - required id to pass to deleteProjectRelation
* @returns parsed response from DeleteProjectRelationMutation
*/
fetch(id: string): LinearFetch<DeletePayload>;
}
/**
* A fetchable UpdateProjectRelation Mutation
*
* @param request - function to call the graphql client
*/
declare class UpdateProjectRelationMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the UpdateProjectRelation mutation and return a ProjectRelationPayload
*
* @param id - required id to pass to updateProjectRelation
* @param input - required input to pass to updateProjectRelation
* @returns parsed response from UpdateProjectRelationMutation
*/
fetch(id: string, input: ProjectRelationUpdateInput): LinearFetch<ProjectRelationPayload>;
}
/**
* A fetchable ProjectRemoveLabel Mutation
*
* @param request - function to call the graphql client
*/
declare class ProjectRemoveLabelMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the ProjectRemoveLabel mutation and return a ProjectPayload
*
* @param id - required id to pass to projectRemoveLabel
* @param labelId - required labelId to pass to projectRemoveLabel
* @returns parsed response from ProjectRemoveLabelMutation
*/
fetch(id: string, labelId: string): LinearFetch<ProjectPayload>;
}
/**
* A fetchable ArchiveProjectStatus Mutation
*
* @param request - function to call the graphql client
*/
declare class ArchiveProjectStatusMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the ArchiveProjectStatus mutation and return a ProjectStatusArchivePayload
*
* @param id - required id to pass to archiveProjectStatus
* @returns parsed response from ArchiveProjectStatusMutation
*/
fetch(id: string): LinearFetch<ProjectStatusArchivePayload>;
}
/**
* A fetchable CreateProjectStatus Mutation
*
* @param request - function to call the graphql client
*/
declare class CreateProjectStatusMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the CreateProjectStatus mutation and return a ProjectStatusPayload
*
* @param input - required input to pass to createProjectStatus
* @returns parsed response from CreateProjectStatusMutation
*/
fetch(input: ProjectStatusCreateInput): LinearFetch<ProjectStatusPayload>;
}
/**
* A fetchable UnarchiveProjectStatus Mutation
*
* @param request - function to call the graphql client
*/
declare class UnarchiveProjectStatusMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the UnarchiveProjectStatus mutation and return a ProjectStatusArchivePayload
*
* @param id - required id to pass to unarchiveProjectStatus
* @returns parsed response from UnarchiveProjectStatusMutation
*/
fetch(id: string): LinearFetch<ProjectStatusArchivePayload>;
}
/**
* A fetchable UpdateProjectStatus Mutation
*
* @param request - function to call the graphql client
*/
declare class UpdateProjectStatusMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the UpdateProjectStatus mutation and return a ProjectStatusPayload
*
* @param id - required id to pass to updateProjectStatus
* @param input - required input to pass to updateProjectStatus
* @returns parsed response from UpdateProjectStatusMutation
*/
fetch(id: string, input: ProjectStatusUpdateInput): LinearFetch<ProjectStatusPayload>;
}
/**
* A fetchable UnarchiveProject Mutation
*
* @param request - function to call the graphql client
*/
declare class UnarchiveProjectMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the UnarchiveProject mutation and return a ProjectArchivePayload
*
* @param id - required id to pass to unarchiveProject
* @returns parsed response from UnarchiveProjectMutation
*/
fetch(id: string): LinearFetch<ProjectArchivePayload>;
}
/**
* A fetchable UpdateProject Mutation
*
* @param request - function to call the graphql client
*/
declare class UpdateProjectMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the UpdateProject mutation and return a ProjectPayload
*
* @param id - required id to pass to updateProject
* @param input - required input to pass to updateProject
* @returns parsed response from UpdateProjectMutation
*/
fetch(id: string, input: ProjectUpdateInput): LinearFetch<ProjectPayload>;
}
/**
* A fetchable ArchiveProjectUpdate Mutation
*
* @param request - function to call the graphql client
*/
declare class ArchiveProjectUpdateMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the ArchiveProjectUpdate mutation and return a ProjectUpdateArchivePayload
*
* @param id - required id to pass to archiveProjectUpdate
* @returns parsed response from ArchiveProjectUpdateMutation
*/
fetch(id: string): LinearFetch<ProjectUpdateArchivePayload>;
}
/**
* A fetchable CreateProjectUpdate Mutation
*
* @param request - function to call the graphql client
*/
declare class CreateProjectUpdateMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the CreateProjectUpdate mutation and return a ProjectUpdatePayload
*
* @param input - required input to pass to createProjectUpdate
* @returns parsed response from CreateProjectUpdateMutation
*/
fetch(input: ProjectUpdateCreateInput): LinearFetch<ProjectUpdatePayload>;
}
/**
* A fetchable DeleteProjectUpdate Mutation
*
* @param request - function to call the graphql client
*/
declare class DeleteProjectUpdateMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the DeleteProjectUpdate mutation and return a DeletePayload
*
* @param id - required id to pass to deleteProjectUpdate
* @returns parsed response from DeleteProjectUpdateMutation
*/
fetch(id: string): LinearFetch<DeletePayload>;
}
/**
* A fetchable UnarchiveProjectUpdate Mutation
*
* @param request - function to call the graphql client
*/
declare class UnarchiveProjectUpdateMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the UnarchiveProjectUpdate mutation and return a ProjectUpdateArchivePayload
*
* @param id - required id to pass to unarchiveProjectUpdate
* @returns parsed response from UnarchiveProjectUpdateMutation
*/
fetch(id: string): LinearFetch<ProjectUpdateArchivePayload>;
}
/**
* A fetchable UpdateProjectUpdate Mutation
*
* @param request - function to call the graphql client
*/
declare class UpdateProjectUpdateMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the UpdateProjectUpdate mutation and return a ProjectUpdatePayload
*
* @param id - required id to pass to updateProjectUpdate
* @param input - required input to pass to updateProjectUpdate
* @returns parsed response from UpdateProjectUpdateMutation
*/
fetch(id: string, input: ProjectUpdateUpdateInput): LinearFetch<ProjectUpdatePayload>;
}
/**
* A fetchable CreatePushSubscription Mutation
*
* @param request - function to call the graphql client
*/
declare class CreatePushSubscriptionMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the CreatePushSubscription mutation and return a PushSubscriptionPayload
*
* @param input - required input to pass to createPushSubscription
* @returns parsed response from CreatePushSubscriptionMutation
*/
fetch(input: PushSubscriptionCreateInput): LinearFetch<PushSubscriptionPayload>;
}
/**
* A fetchable DeletePushSubscription Mutation
*
* @param request - function to call the graphql client
*/
declare class DeletePushSubscriptionMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the DeletePushSubscription mutation and return a PushSubscriptionPayload
*
* @param id - required id to pass to deletePushSubscription
* @returns parsed response from DeletePushSubscriptionMutation
*/
fetch(id: string): LinearFetch<PushSubscriptionPayload>;
}
/**
* A fetchable CreateReaction Mutation
*
* @param request - function to call the graphql client
*/
declare class CreateReactionMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the CreateReaction mutation and return a ReactionPayload
*
* @param input - required input to pass to createReaction
* @returns parsed response from CreateReactionMutation
*/
fetch(input: ReactionCreateInput): LinearFetch<ReactionPayload>;
}
/**
* A fetchable DeleteReaction Mutation
*
* @param request - function to call the graphql client
*/
declare class DeleteReactionMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the DeleteReaction mutation and return a DeletePayload
*
* @param id - required id to pass to deleteReaction
* @returns parsed response from DeleteReactionMutation
*/
fetch(id: string): LinearFetch<DeletePayload>;
}
/**
* A fetchable RefreshGoogleSheetsData Mutation
*
* @param request - function to call the graphql client
*/
declare class RefreshGoogleSheetsDataMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the RefreshGoogleSheetsData mutation and return a IntegrationPayload
*
* @param id - required id to pass to refreshGoogleSheetsData
* @param variables - variables without 'id' to pass into the RefreshGoogleSheetsDataMutation
* @returns parsed response from RefreshGoogleSheetsDataMutation
*/
fetch(id: string, variables?: Omit<RefreshGoogleSheetsDataMutationVariables, "id">): LinearFetch<IntegrationPayload>;
}
/**
* A fetchable ArchiveRelease Mutation
*
* @param request - function to call the graphql client
*/
declare class ArchiveReleaseMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the ArchiveRelease mutation and return a ReleaseArchivePayload
*
* @param id - required id to pass to archiveRelease
* @returns parsed response from ArchiveReleaseMutation
*/
fetch(id: string): LinearFetch<ReleaseArchivePayload>;
}
/**
* A fetchable ReleaseComplete Mutation
*
* @param request - function to call the graphql client
*/
declare class ReleaseCompleteMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the ReleaseComplete mutation and return a ReleasePayload
*
* @param input - required input to pass to releaseComplete
* @returns parsed response from ReleaseCompleteMutation
*/
fetch(input: ReleaseCompleteInput): LinearFetch<ReleasePayload>;
}
/**
* A fetchable ReleaseCompleteByAccessKey Mutation
*
* @param request - function to call the graphql client
*/
declare class ReleaseCompleteByAccessKeyMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the ReleaseCompleteByAccessKey mutation and return a AccessKeyReleasePayload
*
* @param input - required input to pass to releaseCompleteByAccessKey
* @returns parsed response from ReleaseCompleteByAccessKeyMutation
*/
fetch(input: ReleaseCompleteInputBase): LinearFetch<AccessKeyReleasePayload>;
}
/**
* A fetchable CreateRelease Mutation
*
* @param request - function to call the graphql client
*/
declare class CreateReleaseMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the CreateRelease mutation and return a ReleasePayload
*
* @param input - required input to pass to createRelease
* @returns parsed response from CreateReleaseMutation
*/
fetch(input: ReleaseCreateInput): LinearFetch<ReleasePayload>;
}
/**
* A fetchable DeleteRelease Mutation
*
* @param request - function to call the graphql client
*/
declare class DeleteReleaseMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the DeleteRelease mutation and return a ReleaseArchivePayload
*
* @param id - required id to pass to deleteRelease
* @returns parsed response from DeleteReleaseMutation
*/
fetch(id: string): LinearFetch<ReleaseArchivePayload>;
}
/**
* A fetchable CreateReleaseNote Mutation
*
* @param request - function to call the graphql client
*/
declare class CreateReleaseNoteMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the CreateReleaseNote mutation and return a ReleaseNotePayload
*
* @param input - required input to pass to createReleaseNote
* @returns parsed response from CreateReleaseNoteMutation
*/
fetch(input: ReleaseNoteCreateInput): LinearFetch<ReleaseNotePayload>;
}
/**
* A fetchable DeleteReleaseNote Mutation
*
* @param request - function to call the graphql client
*/
declare class DeleteReleaseNoteMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the DeleteReleaseNote mutation and return a DeletePayload
*
* @param id - required id to pass to deleteReleaseNote
* @returns parsed response from DeleteReleaseNoteMutation
*/
fetch(id: string): LinearFetch<DeletePayload>;
}
/**
* A fetchable UpdateReleaseNote Mutation
*
* @param request - function to call the graphql client
*/
declare class UpdateReleaseNoteMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the UpdateReleaseNote mutation and return a ReleaseNotePayload
*
* @param id - required id to pass to updateReleaseNote
* @param input - required input to pass to updateReleaseNote
* @returns parsed response from UpdateReleaseNoteMutation
*/
fetch(id: string, input: ReleaseNoteUpdateInput): LinearFetch<ReleaseNotePayload>;
}
/**
* A fetchable ArchiveReleasePipeline Mutation
*
* @param request - function to call the graphql client
*/
declare class ArchiveReleasePipelineMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the ArchiveReleasePipeline mutation and return a ReleasePipelineArchivePayload
*
* @param id - required id to pass to archiveReleasePipeline
* @returns parsed response from ArchiveReleasePipelineMutation
*/
fetch(id: string): LinearFetch<ReleasePipelineArchivePayload>;
}
/**
* A fetchable CreateReleasePipeline Mutation
*
* @param request - function to call the graphql client
*/
declare class CreateReleasePipelineMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the CreateReleasePipeline mutation and return a ReleasePipelinePayload
*
* @param input - required input to pass to createReleasePipeline
* @returns parsed response from CreateReleasePipelineMutation
*/
fetch(input: ReleasePipelineCreateInput): LinearFetch<ReleasePipelinePayload>;
}
/**
* A fetchable DeleteReleasePipeline Mutation
*
* @param request - function to call the graphql client
*/
declare class DeleteReleasePipelineMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the DeleteReleasePipeline mutation and return a ReleasePipelineArchivePayload
*
* @param id - required id to pass to deleteReleasePipeline
* @returns parsed response from DeleteReleasePipelineMutation
*/
fetch(id: string): LinearFetch<ReleasePipelineArchivePayload>;
}
/**
* A fetchable UnarchiveReleasePipeline Mutation
*
* @param request - function to call the graphql client
*/
declare class UnarchiveReleasePipelineMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the UnarchiveReleasePipeline mutation and return a ReleasePipelineArchivePayload
*
* @param id - required id to pass to unarchiveReleasePipeline
* @returns parsed response from UnarchiveReleasePipelineMutation
*/
fetch(id: string): LinearFetch<ReleasePipelineArchivePayload>;
}
/**
* A fetchable UpdateReleasePipeline Mutation
*
* @param request - function to call the graphql client
*/
declare class UpdateReleasePipelineMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the UpdateReleasePipeline mutation and return a ReleasePipelinePayload
*
* @param id - required id to pass to updateReleasePipeline
* @param input - required input to pass to updateReleasePipeline
* @returns parsed response from UpdateReleasePipelineMutation
*/
fetch(id: string, input: ReleasePipelineUpdateInput): LinearFetch<ReleasePipelinePayload>;
}
/**
* A fetchable ArchiveReleaseStage Mutation
*
* @param request - function to call the graphql client
*/
declare class ArchiveReleaseStageMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the ArchiveReleaseStage mutation and return a ReleaseStageArchivePayload
*
* @param id - required id to pass to archiveReleaseStage
* @returns parsed response from ArchiveReleaseStageMutation
*/
fetch(id: string): LinearFetch<ReleaseStageArchivePayload>;
}
/**
* A fetchable CreateReleaseStage Mutation
*
* @param request - function to call the graphql client
*/
declare class CreateReleaseStageMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the CreateReleaseStage mutation and return a ReleaseStagePayload
*
* @param input - required input to pass to createReleaseStage
* @returns parsed response from CreateReleaseStageMutation
*/
fetch(input: ReleaseStageCreateInput): LinearFetch<ReleaseStagePayload>;
}
/**
* A fetchable UnarchiveReleaseStage Mutation
*
* @param request - function to call the graphql client
*/
declare class UnarchiveReleaseStageMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the UnarchiveReleaseStage mutation and return a ReleaseStageArchivePayload
*
* @param id - required id to pass to unarchiveReleaseStage
* @returns parsed response from UnarchiveReleaseStageMutation
*/
fetch(id: string): LinearFetch<ReleaseStageArchivePayload>;
}
/**
* A fetchable UpdateReleaseStage Mutation
*
* @param request - function to call the graphql client
*/
declare class UpdateReleaseStageMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the UpdateReleaseStage mutation and return a ReleaseStagePayload
*
* @param id - required id to pass to updateReleaseStage
* @param input - required input to pass to updateReleaseStage
* @returns parsed response from UpdateReleaseStageMutation
*/
fetch(id: string, input: ReleaseStageUpdateInput): LinearFetch<ReleaseStagePayload>;
}
/**
* A fetchable ReleaseSync Mutation
*
* @param request - function to call the graphql client
*/
declare class ReleaseSyncMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the ReleaseSync mutation and return a ReleasePayload
*
* @param input - required input to pass to releaseSync
* @returns parsed response from ReleaseSyncMutation
*/
fetch(input: ReleaseSyncInput): LinearFetch<ReleasePayload>;
}
/**
* A fetchable ReleaseSyncByAccessKey Mutation
*
* @param request - function to call the graphql client
*/
declare class ReleaseSyncByAccessKeyMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the ReleaseSyncByAccessKey mutation and return a AccessKeyReleasePayload
*
* @param input - required input to pass to releaseSyncByAccessKey
* @returns parsed response from ReleaseSyncByAccessKeyMutation
*/
fetch(input: ReleaseSyncInputBase): LinearFetch<AccessKeyReleasePayload>;
}
/**
* A fetchable UnarchiveRelease Mutation
*
* @param request - function to call the graphql client
*/
declare class UnarchiveReleaseMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the UnarchiveRelease mutation and return a ReleaseArchivePayload
*
* @param id - required id to pass to unarchiveRelease
* @returns parsed response from UnarchiveReleaseMutation
*/
fetch(id: string): LinearFetch<ReleaseArchivePayload>;
}
/**
* A fetchable UpdateRelease Mutation
*
* @param request - function to call the graphql client
*/
declare class UpdateReleaseMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the UpdateRelease mutation and return a ReleasePayload
*
* @param id - required id to pass to updateRelease
* @param input - required input to pass to updateRelease
* @returns parsed response from UpdateReleaseMutation
*/
fetch(id: string, input: ReleaseUpdateInput): LinearFetch<ReleasePayload>;
}
/**
* A fetchable ReleaseUpdateByPipeline Mutation
*
* @param request - function to call the graphql client
*/
declare class ReleaseUpdateByPipelineMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the ReleaseUpdateByPipeline mutation and return a ReleasePayload
*
* @param input - required input to pass to releaseUpdateByPipeline
* @returns parsed response from ReleaseUpdateByPipelineMutation
*/
fetch(input: ReleaseUpdateByPipelineInput): LinearFetch<ReleasePayload>;
}
/**
* A fetchable ReleaseUpdateByPipelineByAccessKey Mutation
*
* @param request - function to call the graphql client
*/
declare class ReleaseUpdateByPipelineByAccessKeyMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the ReleaseUpdateByPipelineByAccessKey mutation and return a AccessKeyReleasePayload
*
* @param input - required input to pass to releaseUpdateByPipelineByAccessKey
* @returns parsed response from ReleaseUpdateByPipelineByAccessKeyMutation
*/
fetch(input: ReleaseUpdateByPipelineInputBase): LinearFetch<AccessKeyReleasePayload>;
}
/**
* A fetchable ResendOrganizationInvite Mutation
*
* @param request - function to call the graphql client
*/
declare class ResendOrganizationInviteMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the ResendOrganizationInvite mutation and return a DeletePayload
*
* @param id - required id to pass to resendOrganizationInvite
* @returns parsed response from ResendOrganizationInviteMutation
*/
fetch(id: string): LinearFetch<DeletePayload>;
}
/**
* A fetchable ResendOrganizationInviteByEmail Mutation
*
* @param request - function to call the graphql client
*/
declare class ResendOrganizationInviteByEmailMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the ResendOrganizationInviteByEmail mutation and return a DeletePayload
*
* @param email - required email to pass to resendOrganizationInviteByEmail
* @returns parsed response from ResendOrganizationInviteByEmailMutation
*/
fetch(email: string): LinearFetch<DeletePayload>;
}
/**
* A fetchable ArchiveRoadmap Mutation
*
* @param request - function to call the graphql client
*/
declare class ArchiveRoadmapMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the ArchiveRoadmap mutation and return a RoadmapArchivePayload
*
* @param id - required id to pass to archiveRoadmap
* @returns parsed response from ArchiveRoadmapMutation
*/
fetch(id: string): LinearFetch<RoadmapArchivePayload>;
}
/**
* A fetchable CreateRoadmap Mutation
*
* @param request - function to call the graphql client
*/
declare class CreateRoadmapMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the CreateRoadmap mutation and return a RoadmapPayload
*
* @param input - required input to pass to createRoadmap
* @returns parsed response from CreateRoadmapMutation
*/
fetch(input: RoadmapCreateInput): LinearFetch<RoadmapPayload>;
}
/**
* A fetchable DeleteRoadmap Mutation
*
* @param request - function to call the graphql client
*/
declare class DeleteRoadmapMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the DeleteRoadmap mutation and return a DeletePayload
*
* @param id - required id to pass to deleteRoadmap
* @returns parsed response from DeleteRoadmapMutation
*/
fetch(id: string): LinearFetch<DeletePayload>;
}
/**
* A fetchable CreateRoadmapToProject Mutation
*
* @param request - function to call the graphql client
*/
declare class CreateRoadmapToProjectMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the CreateRoadmapToProject mutation and return a RoadmapToProjectPayload
*
* @param input - required input to pass to createRoadmapToProject
* @returns parsed response from CreateRoadmapToProjectMutation
*/
fetch(input: RoadmapToProjectCreateInput): LinearFetch<RoadmapToProjectPayload>;
}
/**
* A fetchable DeleteRoadmapToProject Mutation
*
* @param request - function to call the graphql client
*/
declare class DeleteRoadmapToProjectMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the DeleteRoadmapToProject mutation and return a DeletePayload
*
* @param id - required id to pass to deleteRoadmapToProject
* @returns parsed response from DeleteRoadmapToProjectMutation
*/
fetch(id: string): LinearFetch<DeletePayload>;
}
/**
* A fetchable UpdateRoadmapToProject Mutation
*
* @param request - function to call the graphql client
*/
declare class UpdateRoadmapToProjectMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the UpdateRoadmapToProject mutation and return a RoadmapToProjectPayload
*
* @param id - required id to pass to updateRoadmapToProject
* @param input - required input to pass to updateRoadmapToProject
* @returns parsed response from UpdateRoadmapToProjectMutation
*/
fetch(id: string, input: RoadmapToProjectUpdateInput): LinearFetch<RoadmapToProjectPayload>;
}
/**
* A fetchable UnarchiveRoadmap Mutation
*
* @param request - function to call the graphql client
*/
declare class UnarchiveRoadmapMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the UnarchiveRoadmap mutation and return a RoadmapArchivePayload
*
* @param id - required id to pass to unarchiveRoadmap
* @returns parsed response from UnarchiveRoadmapMutation
*/
fetch(id: string): LinearFetch<RoadmapArchivePayload>;
}
/**
* A fetchable UpdateRoadmap Mutation
*
* @param request - function to call the graphql client
*/
declare class UpdateRoadmapMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the UpdateRoadmap mutation and return a RoadmapPayload
*
* @param id - required id to pass to updateRoadmap
* @param input - required input to pass to updateRoadmap
* @returns parsed response from UpdateRoadmapMutation
*/
fetch(id: string, input: RoadmapUpdateInput): LinearFetch<RoadmapPayload>;
}
/**
* A fetchable SamlTokenUserAccountAuth Mutation
*
* @param request - function to call the graphql client
*/
declare class SamlTokenUserAccountAuthMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the SamlTokenUserAccountAuth mutation and return a AuthResolverResponse
*
* @param input - required input to pass to samlTokenUserAccountAuth
* @returns parsed response from SamlTokenUserAccountAuthMutation
*/
fetch(input: TokenUserAccountAuthInput): LinearFetch<AuthResolverResponse>;
}
/**
* A fetchable CreateTeam Mutation
*
* @param request - function to call the graphql client
*/
declare class CreateTeamMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the CreateTeam mutation and return a TeamPayload
*
* @param input - required input to pass to createTeam
* @param variables - variables without 'input' to pass into the CreateTeamMutation
* @returns parsed response from CreateTeamMutation
*/
fetch(input: TeamCreateInput, variables?: Omit<CreateTeamMutationVariables, "input">): LinearFetch<TeamPayload>;
}
/**
* A fetchable DeleteTeamCycles Mutation
*
* @param request - function to call the graphql client
*/
declare class DeleteTeamCyclesMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the DeleteTeamCycles mutation and return a TeamPayload
*
* @param id - required id to pass to deleteTeamCycles
* @returns parsed response from DeleteTeamCyclesMutation
*/
fetch(id: string): LinearFetch<TeamPayload>;
}
/**
* A fetchable DeleteTeam Mutation
*
* @param request - function to call the graphql client
*/
declare class DeleteTeamMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the DeleteTeam mutation and return a DeletePayload
*
* @param id - required id to pass to deleteTeam
* @returns parsed response from DeleteTeamMutation
*/
fetch(id: string): LinearFetch<DeletePayload>;
}
/**
* A fetchable DeleteTeamKey Mutation
*
* @param request - function to call the graphql client
*/
declare class DeleteTeamKeyMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the DeleteTeamKey mutation and return a DeletePayload
*
* @param id - required id to pass to deleteTeamKey
* @returns parsed response from DeleteTeamKeyMutation
*/
fetch(id: string): LinearFetch<DeletePayload>;
}
/**
* A fetchable CreateTeamMembership Mutation
*
* @param request - function to call the graphql client
*/
declare class CreateTeamMembershipMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the CreateTeamMembership mutation and return a TeamMembershipPayload
*
* @param input - required input to pass to createTeamMembership
* @returns parsed response from CreateTeamMembershipMutation
*/
fetch(input: TeamMembershipCreateInput): LinearFetch<TeamMembershipPayload>;
}
/**
* A fetchable DeleteTeamMembership Mutation
*
* @param request - function to call the graphql client
*/
declare class DeleteTeamMembershipMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the DeleteTeamMembership mutation and return a DeletePayload
*
* @param id - required id to pass to deleteTeamMembership
* @param variables - variables without 'id' to pass into the DeleteTeamMembershipMutation
* @returns parsed response from DeleteTeamMembershipMutation
*/
fetch(id: string, variables?: Omit<DeleteTeamMembershipMutationVariables, "id">): LinearFetch<DeletePayload>;
}
/**
* A fetchable UpdateTeamMembership Mutation
*
* @param request - function to call the graphql client
*/
declare class UpdateTeamMembershipMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the UpdateTeamMembership mutation and return a TeamMembershipPayload
*
* @param id - required id to pass to updateTeamMembership
* @param input - required input to pass to updateTeamMembership
* @returns parsed response from UpdateTeamMembershipMutation
*/
fetch(id: string, input: TeamMembershipUpdateInput): LinearFetch<TeamMembershipPayload>;
}
/**
* A fetchable UnarchiveTeam Mutation
*
* @param request - function to call the graphql client
*/
declare class UnarchiveTeamMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the UnarchiveTeam mutation and return a TeamArchivePayload
*
* @param id - required id to pass to unarchiveTeam
* @returns parsed response from UnarchiveTeamMutation
*/
fetch(id: string): LinearFetch<TeamArchivePayload>;
}
/**
* A fetchable UpdateTeam Mutation
*
* @param request - function to call the graphql client
*/
declare class UpdateTeamMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the UpdateTeam mutation and return a TeamPayload
*
* @param id - required id to pass to updateTeam
* @param input - required input to pass to updateTeam
* @param variables - variables without 'id', 'input' to pass into the UpdateTeamMutation
* @returns parsed response from UpdateTeamMutation
*/
fetch(id: string, input: TeamUpdateInput, variables?: Omit<UpdateTeamMutationVariables, "id" | "input">): LinearFetch<TeamPayload>;
}
/**
* A fetchable CreateTemplate Mutation
*
* @param request - function to call the graphql client
*/
declare class CreateTemplateMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the CreateTemplate mutation and return a TemplatePayload
*
* @param input - required input to pass to createTemplate
* @returns parsed response from CreateTemplateMutation
*/
fetch(input: TemplateCreateInput): LinearFetch<TemplatePayload>;
}
/**
* A fetchable DeleteTemplate Mutation
*
* @param request - function to call the graphql client
*/
declare class DeleteTemplateMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the DeleteTemplate mutation and return a DeletePayload
*
* @param id - required id to pass to deleteTemplate
* @returns parsed response from DeleteTemplateMutation
*/
fetch(id: string): LinearFetch<DeletePayload>;
}
/**
* A fetchable UpdateTemplate Mutation
*
* @param request - function to call the graphql client
*/
declare class UpdateTemplateMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the UpdateTemplate mutation and return a TemplatePayload
*
* @param id - required id to pass to updateTemplate
* @param input - required input to pass to updateTemplate
* @returns parsed response from UpdateTemplateMutation
*/
fetch(id: string, input: TemplateUpdateInput): LinearFetch<TemplatePayload>;
}
/**
* A fetchable CreateTimeSchedule Mutation
*
* @param request - function to call the graphql client
*/
declare class CreateTimeScheduleMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the CreateTimeSchedule mutation and return a TimeSchedulePayload
*
* @param input - required input to pass to createTimeSchedule
* @returns parsed response from CreateTimeScheduleMutation
*/
fetch(input: TimeScheduleCreateInput): LinearFetch<TimeSchedulePayload>;
}
/**
* A fetchable DeleteTimeSchedule Mutation
*
* @param request - function to call the graphql client
*/
declare class DeleteTimeScheduleMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the DeleteTimeSchedule mutation and return a DeletePayload
*
* @param id - required id to pass to deleteTimeSchedule
* @returns parsed response from DeleteTimeScheduleMutation
*/
fetch(id: string): LinearFetch<DeletePayload>;
}
/**
* A fetchable TimeScheduleRefreshIntegrationSchedule Mutation
*
* @param request - function to call the graphql client
*/
declare class TimeScheduleRefreshIntegrationScheduleMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the TimeScheduleRefreshIntegrationSchedule mutation and return a TimeSchedulePayload
*
* @param id - required id to pass to timeScheduleRefreshIntegrationSchedule
* @returns parsed response from TimeScheduleRefreshIntegrationScheduleMutation
*/
fetch(id: string): LinearFetch<TimeSchedulePayload>;
}
/**
* A fetchable UpdateTimeSchedule Mutation
*
* @param request - function to call the graphql client
*/
declare class UpdateTimeScheduleMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the UpdateTimeSchedule mutation and return a TimeSchedulePayload
*
* @param id - required id to pass to updateTimeSchedule
* @param input - required input to pass to updateTimeSchedule
* @returns parsed response from UpdateTimeScheduleMutation
*/
fetch(id: string, input: TimeScheduleUpdateInput): LinearFetch<TimeSchedulePayload>;
}
/**
* A fetchable TimeScheduleUpsertExternal Mutation
*
* @param request - function to call the graphql client
*/
declare class TimeScheduleUpsertExternalMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the TimeScheduleUpsertExternal mutation and return a TimeSchedulePayload
*
* @param externalId - required externalId to pass to timeScheduleUpsertExternal
* @param input - required input to pass to timeScheduleUpsertExternal
* @returns parsed response from TimeScheduleUpsertExternalMutation
*/
fetch(externalId: string, input: TimeScheduleUpdateInput): LinearFetch<TimeSchedulePayload>;
}
/**
* A fetchable TrackAnonymousEvent Mutation
*
* @param request - function to call the graphql client
*/
declare class TrackAnonymousEventMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the TrackAnonymousEvent mutation and return a EventTrackingPayload
*
* @param input - required input to pass to trackAnonymousEvent
* @returns parsed response from TrackAnonymousEventMutation
*/
fetch(input: EventTrackingInput): LinearFetch<EventTrackingPayload>;
}
/**
* A fetchable CreateTriageResponsibility Mutation
*
* @param request - function to call the graphql client
*/
declare class CreateTriageResponsibilityMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the CreateTriageResponsibility mutation and return a TriageResponsibilityPayload
*
* @param input - required input to pass to createTriageResponsibility
* @returns parsed response from CreateTriageResponsibilityMutation
*/
fetch(input: TriageResponsibilityCreateInput): LinearFetch<TriageResponsibilityPayload>;
}
/**
* A fetchable DeleteTriageResponsibility Mutation
*
* @param request - function to call the graphql client
*/
declare class DeleteTriageResponsibilityMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the DeleteTriageResponsibility mutation and return a DeletePayload
*
* @param id - required id to pass to deleteTriageResponsibility
* @returns parsed response from DeleteTriageResponsibilityMutation
*/
fetch(id: string): LinearFetch<DeletePayload>;
}
/**
* A fetchable UpdateTriageResponsibility Mutation
*
* @param request - function to call the graphql client
*/
declare class UpdateTriageResponsibilityMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the UpdateTriageResponsibility mutation and return a TriageResponsibilityPayload
*
* @param id - required id to pass to updateTriageResponsibility
* @param input - required input to pass to updateTriageResponsibility
* @returns parsed response from UpdateTriageResponsibilityMutation
*/
fetch(id: string, input: TriageResponsibilityUpdateInput): LinearFetch<TriageResponsibilityPayload>;
}
/**
* A fetchable UserChangeRole Mutation
*
* @param request - function to call the graphql client
*/
declare class UserChangeRoleMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the UserChangeRole mutation and return a UserAdminPayload
*
* @param id - required id to pass to userChangeRole
* @param role - required role to pass to userChangeRole
* @returns parsed response from UserChangeRoleMutation
*/
fetch(id: string, role: UserRoleType): LinearFetch<UserAdminPayload>;
}
/**
* A fetchable UserDiscordConnect Mutation
*
* @param request - function to call the graphql client
*/
declare class UserDiscordConnectMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the UserDiscordConnect mutation and return a UserPayload
*
* @param code - required code to pass to userDiscordConnect
* @param redirectUri - required redirectUri to pass to userDiscordConnect
* @returns parsed response from UserDiscordConnectMutation
*/
fetch(code: string, redirectUri: string): LinearFetch<UserPayload>;
}
/**
* A fetchable UserExternalUserDisconnect Mutation
*
* @param request - function to call the graphql client
*/
declare class UserExternalUserDisconnectMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the UserExternalUserDisconnect mutation and return a UserPayload
*
* @param service - required service to pass to userExternalUserDisconnect
* @returns parsed response from UserExternalUserDisconnectMutation
*/
fetch(service: string): LinearFetch<UserPayload>;
}
/**
* A fetchable UpdateUserFlag Mutation
*
* @param request - function to call the graphql client
*/
declare class UpdateUserFlagMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the UpdateUserFlag mutation and return a UserSettingsFlagPayload
*
* @param flag - required flag to pass to updateUserFlag
* @param operation - required operation to pass to updateUserFlag
* @returns parsed response from UpdateUserFlagMutation
*/
fetch(flag: UserFlagType, operation: UserFlagUpdateOperation): LinearFetch<UserSettingsFlagPayload>;
}
/**
* A fetchable UserRevokeAllSessions Mutation
*
* @param request - function to call the graphql client
*/
declare class UserRevokeAllSessionsMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the UserRevokeAllSessions mutation and return a UserAdminPayload
*
* @param id - required id to pass to userRevokeAllSessions
* @returns parsed response from UserRevokeAllSessionsMutation
*/
fetch(id: string): LinearFetch<UserAdminPayload>;
}
/**
* A fetchable UserRevokeSession Mutation
*
* @param request - function to call the graphql client
*/
declare class UserRevokeSessionMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the UserRevokeSession mutation and return a UserAdminPayload
*
* @param id - required id to pass to userRevokeSession
* @param sessionId - required sessionId to pass to userRevokeSession
* @returns parsed response from UserRevokeSessionMutation
*/
fetch(id: string, sessionId: string): LinearFetch<UserAdminPayload>;
}
/**
* A fetchable UserSettingsFlagsReset Mutation
*
* @param request - function to call the graphql client
*/
declare class UserSettingsFlagsResetMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the UserSettingsFlagsReset mutation and return a UserSettingsFlagsResetPayload
*
* @param variables - variables to pass into the UserSettingsFlagsResetMutation
* @returns parsed response from UserSettingsFlagsResetMutation
*/
fetch(variables?: UserSettingsFlagsResetMutationVariables): LinearFetch<UserSettingsFlagsResetPayload>;
}
/**
* A fetchable UpdateUserSettings Mutation
*
* @param request - function to call the graphql client
*/
declare class UpdateUserSettingsMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the UpdateUserSettings mutation and return a UserSettingsPayload
*
* @param id - required id to pass to updateUserSettings
* @param input - required input to pass to updateUserSettings
* @returns parsed response from UpdateUserSettingsMutation
*/
fetch(id: string, input: UserSettingsUpdateInput): LinearFetch<UserSettingsPayload>;
}
/**
* A fetchable SuspendUser Mutation
*
* @param request - function to call the graphql client
*/
declare class SuspendUserMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the SuspendUser mutation and return a UserAdminPayload
*
* @param id - required id to pass to suspendUser
* @param variables - variables without 'id' to pass into the SuspendUserMutation
* @returns parsed response from SuspendUserMutation
*/
fetch(id: string, variables?: Omit<SuspendUserMutationVariables, "id">): LinearFetch<UserAdminPayload>;
}
/**
* A fetchable UserUnlinkFromIdentityProvider Mutation
*
* @param request - function to call the graphql client
*/
declare class UserUnlinkFromIdentityProviderMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the UserUnlinkFromIdentityProvider mutation and return a UserAdminPayload
*
* @param id - required id to pass to userUnlinkFromIdentityProvider
* @returns parsed response from UserUnlinkFromIdentityProviderMutation
*/
fetch(id: string): LinearFetch<UserAdminPayload>;
}
/**
* A fetchable UnsuspendUser Mutation
*
* @param request - function to call the graphql client
*/
declare class UnsuspendUserMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the UnsuspendUser mutation and return a UserAdminPayload
*
* @param id - required id to pass to unsuspendUser
* @param variables - variables without 'id' to pass into the UnsuspendUserMutation
* @returns parsed response from UnsuspendUserMutation
*/
fetch(id: string, variables?: Omit<UnsuspendUserMutationVariables, "id">): LinearFetch<UserAdminPayload>;
}
/**
* A fetchable UpdateUser Mutation
*
* @param request - function to call the graphql client
*/
declare class UpdateUserMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the UpdateUser mutation and return a UserPayload
*
* @param id - required id to pass to updateUser
* @param input - required input to pass to updateUser
* @returns parsed response from UpdateUserMutation
*/
fetch(id: string, input: UserUpdateInput): LinearFetch<UserPayload>;
}
/**
* A fetchable CreateViewPreferences Mutation
*
* @param request - function to call the graphql client
*/
declare class CreateViewPreferencesMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the CreateViewPreferences mutation and return a ViewPreferencesPayload
*
* @param input - required input to pass to createViewPreferences
* @returns parsed response from CreateViewPreferencesMutation
*/
fetch(input: ViewPreferencesCreateInput): LinearFetch<ViewPreferencesPayload>;
}
/**
* A fetchable DeleteViewPreferences Mutation
*
* @param request - function to call the graphql client
*/
declare class DeleteViewPreferencesMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the DeleteViewPreferences mutation and return a DeletePayload
*
* @param id - required id to pass to deleteViewPreferences
* @returns parsed response from DeleteViewPreferencesMutation
*/
fetch(id: string): LinearFetch<DeletePayload>;
}
/**
* A fetchable UpdateViewPreferences Mutation
*
* @param request - function to call the graphql client
*/
declare class UpdateViewPreferencesMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the UpdateViewPreferences mutation and return a ViewPreferencesPayload
*
* @param id - required id to pass to updateViewPreferences
* @param input - required input to pass to updateViewPreferences
* @returns parsed response from UpdateViewPreferencesMutation
*/
fetch(id: string, input: ViewPreferencesUpdateInput): LinearFetch<ViewPreferencesPayload>;
}
/**
* A fetchable CreateWebhook Mutation
*
* @param request - function to call the graphql client
*/
declare class CreateWebhookMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the CreateWebhook mutation and return a WebhookPayload
*
* @param input - required input to pass to createWebhook
* @returns parsed response from CreateWebhookMutation
*/
fetch(input: WebhookCreateInput): LinearFetch<WebhookPayload>;
}
/**
* A fetchable DeleteWebhook Mutation
*
* @param request - function to call the graphql client
*/
declare class DeleteWebhookMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the DeleteWebhook mutation and return a DeletePayload
*
* @param id - required id to pass to deleteWebhook
* @returns parsed response from DeleteWebhookMutation
*/
fetch(id: string): LinearFetch<DeletePayload>;
}
/**
* A fetchable RotateSecretWebhook Mutation
*
* @param request - function to call the graphql client
*/
declare class RotateSecretWebhookMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the RotateSecretWebhook mutation and return a WebhookRotateSecretPayload
*
* @param id - required id to pass to rotateSecretWebhook
* @returns parsed response from RotateSecretWebhookMutation
*/
fetch(id: string): LinearFetch<WebhookRotateSecretPayload>;
}
/**
* A fetchable UpdateWebhook Mutation
*
* @param request - function to call the graphql client
*/
declare class UpdateWebhookMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the UpdateWebhook mutation and return a WebhookPayload
*
* @param id - required id to pass to updateWebhook
* @param input - required input to pass to updateWebhook
* @returns parsed response from UpdateWebhookMutation
*/
fetch(id: string, input: WebhookUpdateInput): LinearFetch<WebhookPayload>;
}
/**
* A fetchable ArchiveWorkflowState Mutation
*
* @param request - function to call the graphql client
*/
declare class ArchiveWorkflowStateMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the ArchiveWorkflowState mutation and return a WorkflowStateArchivePayload
*
* @param id - required id to pass to archiveWorkflowState
* @returns parsed response from ArchiveWorkflowStateMutation
*/
fetch(id: string): LinearFetch<WorkflowStateArchivePayload>;
}
/**
* A fetchable CreateWorkflowState Mutation
*
* @param request - function to call the graphql client
*/
declare class CreateWorkflowStateMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the CreateWorkflowState mutation and return a WorkflowStatePayload
*
* @param input - required input to pass to createWorkflowState
* @returns parsed response from CreateWorkflowStateMutation
*/
fetch(input: WorkflowStateCreateInput): LinearFetch<WorkflowStatePayload>;
}
/**
* A fetchable UpdateWorkflowState Mutation
*
* @param request - function to call the graphql client
*/
declare class UpdateWorkflowStateMutation extends Request {
constructor(request: LinearRequest);
/**
* Call the UpdateWorkflowState mutation and return a WorkflowStatePayload
*
* @param id - required id to pass to updateWorkflowState
* @param input - required input to pass to updateWorkflowState
* @returns parsed response from UpdateWorkflowStateMutation
*/
fetch(id: string, input: WorkflowStateUpdateInput): LinearFetch<WorkflowStatePayload>;
}
/**
* A fetchable AgentSession_Activities Query
*
* @param request - function to call the graphql client
* @param id - required id to pass to agentSession
* @param variables - variables without 'id' to pass into the AgentSession_ActivitiesQuery
*/
declare class AgentSession_ActivitiesQuery extends Request {
private _id;
private _variables?;
constructor(request: LinearRequest, id: string, variables?: Omit<AgentSession_ActivitiesQueryVariables, "id">);
/**
* Call the AgentSession_Activities query and return a AgentActivityConnection
*
* @param variables - variables without 'id' to pass into the AgentSession_ActivitiesQuery
* @returns parsed response from AgentSession_ActivitiesQuery
*/
fetch(variables?: Omit<AgentSession_ActivitiesQueryVariables, "id">): LinearFetch<AgentActivityConnection>;
}
/**
* A fetchable AttachmentIssue_Attachments Query
*
* @param request - function to call the graphql client
* @param id - required id to pass to attachmentIssue
* @param variables - variables without 'id' to pass into the AttachmentIssue_AttachmentsQuery
*/
declare class AttachmentIssue_AttachmentsQuery extends Request {
private _id;
private _variables?;
constructor(request: LinearRequest, id: string, variables?: Omit<AttachmentIssue_AttachmentsQueryVariables, "id">);
/**
* Call the AttachmentIssue_Attachments query and return a AttachmentConnection
*
* @param variables - variables without 'id' to pass into the AttachmentIssue_AttachmentsQuery
* @returns parsed response from AttachmentIssue_AttachmentsQuery
*/
fetch(variables?: Omit<AttachmentIssue_AttachmentsQueryVariables, "id">): LinearFetch<AttachmentConnection>;
}
/**
* A fetchable AttachmentIssue_BotActor Query
*
* @param request - function to call the graphql client
* @param id - required id to pass to attachmentIssue
*/
declare class AttachmentIssue_BotActorQuery extends Request {
private _id;
constructor(request: LinearRequest, id: string);
/**
* Call the AttachmentIssue_BotActor query and return a ActorBot
*
* @returns parsed response from AttachmentIssue_BotActorQuery
*/
fetch(): LinearFetch<ActorBot | undefined>;
}
/**
* A fetchable AttachmentIssue_Children Query
*
* @param request - function to call the graphql client
* @param id - required id to pass to attachmentIssue
* @param variables - variables without 'id' to pass into the AttachmentIssue_ChildrenQuery
*/
declare class AttachmentIssue_ChildrenQuery extends Request {
private _id;
private _variables?;
constructor(request: LinearRequest, id: string, variables?: Omit<AttachmentIssue_ChildrenQueryVariables, "id">);
/**
* Call the AttachmentIssue_Children query and return a IssueConnection
*
* @param variables - variables without 'id' to pass into the AttachmentIssue_ChildrenQuery
* @returns parsed response from AttachmentIssue_ChildrenQuery
*/
fetch(variables?: Omit<AttachmentIssue_ChildrenQueryVariables, "id">): LinearFetch<IssueConnection>;
}
/**
* A fetchable AttachmentIssue_Comments Query
*
* @param request - function to call the graphql client
* @param id - required id to pass to attachmentIssue
* @param variables - variables without 'id' to pass into the AttachmentIssue_CommentsQuery
*/
declare class AttachmentIssue_CommentsQuery extends Request {
private _id;
private _variables?;
constructor(request: LinearRequest, id: string, variables?: Omit<AttachmentIssue_CommentsQueryVariables, "id">);
/**
* Call the AttachmentIssue_Comments query and return a CommentConnection
*
* @param variables - variables without 'id' to pass into the AttachmentIssue_CommentsQuery
* @returns parsed response from AttachmentIssue_CommentsQuery
*/
fetch(variables?: Omit<AttachmentIssue_CommentsQueryVariables, "id">): LinearFetch<CommentConnection>;
}
/**
* A fetchable AttachmentIssue_Documents Query
*
* @param request - function to call the graphql client
* @param id - required id to pass to attachmentIssue
* @param variables - variables without 'id' to pass into the AttachmentIssue_DocumentsQuery
*/
declare class AttachmentIssue_DocumentsQuery extends Request {
private _id;
private _variables?;
constructor(request: LinearRequest, id: string, variables?: Omit<AttachmentIssue_DocumentsQueryVariables, "id">);
/**
* Call the AttachmentIssue_Documents query and return a DocumentConnection
*
* @param variables - variables without 'id' to pass into the AttachmentIssue_DocumentsQuery
* @returns parsed response from AttachmentIssue_DocumentsQuery
*/
fetch(variables?: Omit<AttachmentIssue_DocumentsQueryVariables, "id">): LinearFetch<DocumentConnection>;
}
/**
* A fetchable AttachmentIssue_FormerAttachments Query
*
* @param request - function to call the graphql client
* @param id - required id to pass to attachmentIssue
* @param variables - variables without 'id' to pass into the AttachmentIssue_FormerAttachmentsQuery
*/
declare class AttachmentIssue_FormerAttachmentsQuery extends Request {
private _id;
private _variables?;
constructor(request: LinearRequest, id: string, variables?: Omit<AttachmentIssue_FormerAttachmentsQueryVariables, "id">);
/**
* Call the AttachmentIssue_FormerAttachments query and return a AttachmentConnection
*
* @param variables - variables without 'id' to pass into the AttachmentIssue_FormerAttachmentsQuery
* @returns parsed response from AttachmentIssue_FormerAttachmentsQuery
*/
fetch(variables?: Omit<AttachmentIssue_FormerAttachmentsQueryVariables, "id">): LinearFetch<AttachmentConnection>;
}
/**
* A fetchable AttachmentIssue_FormerNeeds Query
*
* @param request - function to call the graphql client
* @param id - required id to pass to attachmentIssue
* @param variables - variables without 'id' to pass into the AttachmentIssue_FormerNeedsQuery
*/
declare class AttachmentIssue_FormerNeedsQuery extends Request {
private _id;
private _variables?;
constructor(request: LinearRequest, id: string, variables?: Omit<AttachmentIssue_FormerNeedsQueryVariables, "id">);
/**
* Call the AttachmentIssue_FormerNeeds query and return a CustomerNeedConnection
*
* @param variables - variables without 'id' to pass into the AttachmentIssue_FormerNeedsQuery
* @returns parsed response from AttachmentIssue_FormerNeedsQuery
*/
fetch(variables?: Omit<AttachmentIssue_FormerNeedsQueryVariables, "id">): LinearFetch<CustomerNeedConnection>;
}
/**
* A fetchable AttachmentIssue_History Query
*
* @param request - function to call the graphql client
* @param id - required id to pass to attachmentIssue
* @param variables - variables without 'id' to pass into the AttachmentIssue_HistoryQuery
*/
declare class AttachmentIssue_HistoryQuery extends Request {
private _id;
private _variables?;
constructor(request: LinearRequest, id: string, variables?: Omit<AttachmentIssue_HistoryQueryVariables, "id">);
/**
* Call the AttachmentIssue_History query and return a IssueHistoryConnection
*
* @param variables - variables without 'id' to pass into the AttachmentIssue_HistoryQuery
* @returns parsed response from AttachmentIssue_HistoryQuery
*/
fetch(variables?: Omit<AttachmentIssue_HistoryQueryVariables, "id">): LinearFetch<IssueHistoryConnection>;
}
/**
* A fetchable AttachmentIssue_InverseRelations Query
*
* @param request - function to call the graphql client
* @param id - required id to pass to attachmentIssue
* @param variables - variables without 'id' to pass into the AttachmentIssue_InverseRelationsQuery
*/
declare class AttachmentIssue_InverseRelationsQuery extends Request {
private _id;
private _variables?;
constructor(request: LinearRequest, id: string, variables?: Omit<AttachmentIssue_InverseRelationsQueryVariables, "id">);
/**
* Call the AttachmentIssue_InverseRelations query and return a IssueRelationConnection
*
* @param variables - variables without 'id' to pass into the AttachmentIssue_InverseRelationsQuery
* @returns parsed response from AttachmentIssue_InverseRelationsQuery
*/
fetch(variables?: Omit<AttachmentIssue_InverseRelationsQueryVariables, "id">): LinearFetch<IssueRelationConnection>;
}
/**
* A fetchable AttachmentIssue_Labels Query
*
* @param request - function to call the graphql client
* @param id - required id to pass to attachmentIssue
* @param variables - variables without 'id' to pass into the AttachmentIssue_LabelsQuery
*/
declare class AttachmentIssue_LabelsQuery extends Request {
private _id;
private _variables?;
constructor(request: LinearRequest, id: string, variables?: Omit<AttachmentIssue_LabelsQueryVariables, "id">);
/**
* Call the AttachmentIssue_Labels query and return a IssueLabelConnection
*
* @param variables - variables without 'id' to pass into the AttachmentIssue_LabelsQuery
* @returns parsed response from AttachmentIssue_LabelsQuery
*/
fetch(variables?: Omit<AttachmentIssue_LabelsQueryVariables, "id">): LinearFetch<IssueLabelConnection>;
}
/**
* A fetchable AttachmentIssue_Needs Query
*
* @param request - function to call the graphql client
* @param id - required id to pass to attachmentIssue
* @param variables - variables without 'id' to pass into the AttachmentIssue_NeedsQuery
*/
declare class AttachmentIssue_NeedsQuery extends Request {
private _id;
private _variables?;
constructor(request: LinearRequest, id: string, variables?: Omit<AttachmentIssue_NeedsQueryVariables, "id">);
/**
* Call the AttachmentIssue_Needs query and return a CustomerNeedConnection
*
* @param variables - variables without 'id' to pass into the AttachmentIssue_NeedsQuery
* @returns parsed response from AttachmentIssue_NeedsQuery
*/
fetch(variables?: Omit<AttachmentIssue_NeedsQueryVariables, "id">): LinearFetch<CustomerNeedConnection>;
}
/**
* A fetchable AttachmentIssue_Relations Query
*
* @param request - function to call the graphql client
* @param id - required id to pass to attachmentIssue
* @param variables - variables without 'id' to pass into the AttachmentIssue_RelationsQuery
*/
declare class AttachmentIssue_RelationsQuery extends Request {
private _id;
private _variables?;
constructor(request: LinearRequest, id: string, variables?: Omit<AttachmentIssue_RelationsQueryVariables, "id">);
/**
* Call the AttachmentIssue_Relations query and return a IssueRelationConnection
*
* @param variables - variables without 'id' to pass into the AttachmentIssue_RelationsQuery
* @returns parsed response from AttachmentIssue_RelationsQuery
*/
fetch(variables?: Omit<AttachmentIssue_RelationsQueryVariables, "id">): LinearFetch<IssueRelationConnection>;
}
/**
* A fetchable AttachmentIssue_Releases Query
*
* @param request - function to call the graphql client
* @param id - required id to pass to attachmentIssue
* @param variables - variables without 'id' to pass into the AttachmentIssue_ReleasesQuery
*/
declare class AttachmentIssue_ReleasesQuery extends Request {
private _id;
private _variables?;
constructor(request: LinearRequest, id: string, variables?: Omit<AttachmentIssue_ReleasesQueryVariables, "id">);
/**
* Call the AttachmentIssue_Releases query and return a ReleaseConnection
*
* @param variables - variables without 'id' to pass into the AttachmentIssue_ReleasesQuery
* @returns parsed response from AttachmentIssue_ReleasesQuery
*/
fetch(variables?: Omit<AttachmentIssue_ReleasesQueryVariables, "id">): LinearFetch<ReleaseConnection>;
}
/**
* A fetchable AttachmentIssue_SharedAccess Query
*
* @param request - function to call the graphql client
* @param id - required id to pass to attachmentIssue
*/
declare class AttachmentIssue_SharedAccessQuery extends Request {
private _id;
constructor(request: LinearRequest, id: string);
/**
* Call the AttachmentIssue_SharedAccess query and return a IssueSharedAccess
*
* @returns parsed response from AttachmentIssue_SharedAccessQuery
*/
fetch(): LinearFetch<IssueSharedAccess>;
}
/**
* A fetchable AttachmentIssue_StateHistory Query
*
* @param request - function to call the graphql client
* @param id - required id to pass to attachmentIssue
* @param variables - variables without 'id' to pass into the AttachmentIssue_StateHistoryQuery
*/
declare class AttachmentIssue_StateHistoryQuery extends Request {
private _id;
private _variables?;
constructor(request: LinearRequest, id: string, variables?: Omit<AttachmentIssue_StateHistoryQueryVariables, "id">);
/**
* Call the AttachmentIssue_StateHistory query and return a IssueStateSpanConnection
*
* @param variables - variables without 'id' to pass into the AttachmentIssue_StateHistoryQuery
* @returns parsed response from AttachmentIssue_StateHistoryQuery
*/
fetch(variables?: Omit<AttachmentIssue_StateHistoryQueryVariables, "id">): LinearFetch<IssueStateSpanConnection>;
}
/**
* A fetchable AttachmentIssue_Subscribers Query
*
* @param request - function to call the graphql client
* @param id - required id to pass to attachmentIssue
* @param variables - variables without 'id' to pass into the AttachmentIssue_SubscribersQuery
*/
declare class AttachmentIssue_SubscribersQuery extends Request {
private _id;
private _variables?;
constructor(request: LinearRequest, id: string, variables?: Omit<AttachmentIssue_SubscribersQueryVariables, "id">);
/**
* Call the AttachmentIssue_Subscribers query and return a UserConnection
*
* @param variables - variables without 'id' to pass into the AttachmentIssue_SubscribersQuery
* @returns parsed response from AttachmentIssue_SubscribersQuery
*/
fetch(variables?: Omit<AttachmentIssue_SubscribersQueryVariables, "id">): LinearFetch<UserConnection>;
}
/**
* A fetchable Comment_BotActor Query
*
* @param request - function to call the graphql client
* @param variables - variables to pass into the Comment_BotActorQuery
*/
declare class Comment_BotActorQuery extends Request {
private _variables?;
constructor(request: LinearRequest, variables?: Comment_BotActorQueryVariables);
/**
* Call the Comment_BotActor query and return a ActorBot
*
* @param variables - variables to pass into the Comment_BotActorQuery
* @returns parsed response from Comment_BotActorQuery
*/
fetch(variables?: Comment_BotActorQueryVariables): LinearFetch<ActorBot | undefined>;
}
/**
* A fetchable Comment_Children Query
*
* @param request - function to call the graphql client
* @param variables - variables to pass into the Comment_ChildrenQuery
*/
declare class Comment_ChildrenQuery extends Request {
private _variables?;
constructor(request: LinearRequest, variables?: Comment_ChildrenQueryVariables);
/**
* Call the Comment_Children query and return a CommentConnection
*
* @param variables - variables to pass into the Comment_ChildrenQuery
* @returns parsed response from Comment_ChildrenQuery
*/
fetch(variables?: Comment_ChildrenQueryVariables): LinearFetch<CommentConnection>;
}
/**
* A fetchable Comment_CreatedIssues Query
*
* @param request - function to call the graphql client
* @param variables - variables to pass into the Comment_CreatedIssuesQuery
*/
declare class Comment_CreatedIssuesQuery extends Request {
private _variables?;
constructor(request: LinearRequest, variables?: Comment_CreatedIssuesQueryVariables);
/**
* Call the Comment_CreatedIssues query and return a IssueConnection
*
* @param variables - variables to pass into the Comment_CreatedIssuesQuery
* @returns parsed response from Comment_CreatedIssuesQuery
*/
fetch(variables?: Comment_CreatedIssuesQueryVariables): LinearFetch<IssueConnection>;
}
/**
* A fetchable Comment_DocumentContent Query
*
* @param request - function to call the graphql client
* @param variables - variables to pass into the Comment_DocumentContentQuery
*/
declare class Comment_DocumentContentQuery extends Request {
private _variables?;
constructor(request: LinearRequest, variables?: Comment_DocumentContentQueryVariables);
/**
* Call the Comment_DocumentContent query and return a DocumentContent
*
* @param variables - variables to pass into the Comment_DocumentContentQuery
* @returns parsed response from Comment_DocumentContentQuery
*/
fetch(variables?: Comment_DocumentContentQueryVariables): LinearFetch<DocumentContent | undefined>;
}
/**
* A fetchable Comment_ExternalThread Query
*
* @param request - function to call the graphql client
* @param variables - variables to pass into the Comment_ExternalThreadQuery
*/
declare class Comment_ExternalThreadQuery extends Request {
private _variables?;
constructor(request: LinearRequest, variables?: Comment_ExternalThreadQueryVariables);
/**
* Call the Comment_ExternalThread query and return a SyncedExternalThread
*
* @param variables - variables to pass into the Comment_ExternalThreadQuery
* @returns parsed response from Comment_ExternalThreadQuery
*/
fetch(variables?: Comment_ExternalThreadQueryVariables): LinearFetch<SyncedExternalThread | undefined>;
}
/**
* A fetchable Comment_DocumentContent_AiPromptRules Query
*
* @param request - function to call the graphql client
* @param variables - variables to pass into the Comment_DocumentContent_AiPromptRulesQuery
*/
declare class Comment_DocumentContent_AiPromptRulesQuery extends Request {
private _variables?;
constructor(request: LinearRequest, variables?: Comment_DocumentContent_AiPromptRulesQueryVariables);
/**
* Call the Comment_DocumentContent_AiPromptRules query and return a AiPromptRules
*
* @param variables - variables to pass into the Comment_DocumentContent_AiPromptRulesQuery
* @returns parsed response from Comment_DocumentContent_AiPromptRulesQuery
*/
fetch(variables?: Comment_DocumentContent_AiPromptRulesQueryVariables): LinearFetch<AiPromptRules | undefined>;
}
/**
* A fetchable Comment_DocumentContent_WelcomeMessage Query
*
* @param request - function to call the graphql client
* @param variables - variables to pass into the Comment_DocumentContent_WelcomeMessageQuery
*/
declare class Comment_DocumentContent_WelcomeMessageQuery extends Request {
private _variables?;
constructor(request: LinearRequest, variables?: Comment_DocumentContent_WelcomeMessageQueryVariables);
/**
* Call the Comment_DocumentContent_WelcomeMessage query and return a WelcomeMessage
*
* @param variables - variables to pass into the Comment_DocumentContent_WelcomeMessageQuery
* @returns parsed response from Comment_DocumentContent_WelcomeMessageQuery
*/
fetch(variables?: Comment_DocumentContent_WelcomeMessageQueryVariables): LinearFetch<WelcomeMessage | undefined>;
}
/**
* A fetchable CustomView_Initiatives Query
*
* @param request - function to call the graphql client
* @param id - required id to pass to customView
* @param variables - variables without 'id' to pass into the CustomView_InitiativesQuery
*/
declare class CustomView_InitiativesQuery extends Request {
private _id;
private _variables?;
constructor(request: LinearRequest, id: string, variables?: Omit<CustomView_InitiativesQueryVariables, "id">);
/**
* Call the CustomView_Initiatives query and return a InitiativeConnection
*
* @param variables - variables without 'id' to pass into the CustomView_InitiativesQuery
* @returns parsed response from CustomView_InitiativesQuery
*/
fetch(variables?: Omit<CustomView_InitiativesQueryVariables, "id">): LinearFetch<InitiativeConnection>;
}
/**
* A fetchable CustomView_Issues Query
*
* @param request - function to call the graphql client
* @param id - required id to pass to customView
* @param variables - variables without 'id' to pass into the CustomView_IssuesQuery
*/
declare class CustomView_IssuesQuery extends Request {
private _id;
private _variables?;
constructor(request: LinearRequest, id: string, variables?: Omit<CustomView_IssuesQueryVariables, "id">);
/**
* Call the CustomView_Issues query and return a IssueConnection
*
* @param variables - variables without 'id' to pass into the CustomView_IssuesQuery
* @returns parsed response from CustomView_IssuesQuery
*/
fetch(variables?: Omit<CustomView_IssuesQueryVariables, "id">): LinearFetch<IssueConnection>;
}
/**
* A fetchable CustomView_OrganizationViewPreferences Query
*
* @param request - function to call the graphql client
* @param id - required id to pass to customView
*/
declare class CustomView_OrganizationViewPreferencesQuery extends Request {
private _id;
constructor(request: LinearRequest, id: string);
/**
* Call the CustomView_OrganizationViewPreferences query and return a ViewPreferences
*
* @returns parsed response from CustomView_OrganizationViewPreferencesQuery
*/
fetch(): LinearFetch<ViewPreferences | undefined>;
}
/**
* A fetchable CustomView_Projects Query
*
* @param request - function to call the graphql client
* @param id - required id to pass to customView
* @param variables - variables without 'id' to pass into the CustomView_ProjectsQuery
*/
declare class CustomView_ProjectsQuery extends Request {
private _id;
private _variables?;
constructor(request: LinearRequest, id: string, variables?: Omit<CustomView_ProjectsQueryVariables, "id">);
/**
* Call the CustomView_Projects query and return a ProjectConnection
*
* @param variables - variables without 'id' to pass into the CustomView_ProjectsQuery
* @returns parsed response from CustomView_ProjectsQuery
*/
fetch(variables?: Omit<CustomView_ProjectsQueryVariables, "id">): LinearFetch<ProjectConnection>;
}
/**
* A fetchable CustomView_UserViewPreferences Query
*
* @param request - function to call the graphql client
* @param id - required id to pass to customView
*/
declare class CustomView_UserViewPreferencesQuery extends Request {
private _id;
constructor(request: LinearRequest, id: string);
/**
* Call the CustomView_UserViewPreferences query and return a ViewPreferences
*
* @returns parsed response from CustomView_UserViewPreferencesQuery
*/
fetch(): LinearFetch<ViewPreferences | undefined>;
}
/**
* A fetchable CustomView_ViewPreferencesValues Query
*
* @param request - function to call the graphql client
* @param id - required id to pass to customView
*/
declare class CustomView_ViewPreferencesValuesQuery extends Request {
private _id;
constructor(request: LinearRequest, id: string);
/**
* Call the CustomView_ViewPreferencesValues query and return a ViewPreferencesValues
*
* @returns parsed response from CustomView_ViewPreferencesValuesQuery
*/
fetch(): LinearFetch<ViewPreferencesValues | undefined>;
}
/**
* A fetchable CustomView_OrganizationViewPreferences_Preferences Query
*
* @param request - function to call the graphql client
* @param id - required id to pass to customView_organizationViewPreferences
*/
declare class CustomView_OrganizationViewPreferences_PreferencesQuery extends Request {
private _id;
constructor(request: LinearRequest, id: string);
/**
* Call the CustomView_OrganizationViewPreferences_Preferences query and return a ViewPreferencesValues
*
* @returns parsed response from CustomView_OrganizationViewPreferences_PreferencesQuery
*/
fetch(): LinearFetch<ViewPreferencesValues | undefined>;
}
/**
* A fetchable CustomView_UserViewPreferences_Preferences Query
*
* @param request - function to call the graphql client
* @param id - required id to pass to customView_userViewPreferences
*/
declare class CustomView_UserViewPreferences_PreferencesQuery extends Request {
private _id;
constructor(request: LinearRequest, id: string);
/**
* Call the CustomView_UserViewPreferences_Preferences query and return a ViewPreferencesValues
*
* @returns parsed response from CustomView_UserViewPreferences_PreferencesQuery
*/
fetch(): LinearFetch<ViewPreferencesValues | undefined>;
}
/**
* A fetchable CustomerNeed_ProjectAttachment Query
*
* @param request - function to call the graphql client
* @param variables - variables to pass into the CustomerNeed_ProjectAttachmentQuery
*/
declare class CustomerNeed_ProjectAttachmentQuery extends Request {
private _variables?;
constructor(request: LinearRequest, variables?: CustomerNeed_ProjectAttachmentQueryVariables);
/**
* Call the CustomerNeed_ProjectAttachment query and return a ProjectAttachment
*
* @param variables - variables to pass into the CustomerNeed_ProjectAttachmentQuery
* @returns parsed response from CustomerNeed_ProjectAttachmentQuery
*/
fetch(variables?: CustomerNeed_ProjectAttachmentQueryVariables): LinearFetch<ProjectAttachment | undefined>;
}
/**
* A fetchable Cycle_Issues Query
*
* @param request - function to call the graphql client
* @param id - required id to pass to cycle
* @param variables - variables without 'id' to pass into the Cycle_IssuesQuery
*/
declare class Cycle_IssuesQuery extends Request {
private _id;
private _variables?;
constructor(request: LinearRequest, id: string, variables?: Omit<Cycle_IssuesQueryVariables, "id">);
/**
* Call the Cycle_Issues query and return a IssueConnection
*
* @param variables - variables without 'id' to pass into the Cycle_IssuesQuery
* @returns parsed response from Cycle_IssuesQuery
*/
fetch(variables?: Omit<Cycle_IssuesQueryVariables, "id">): LinearFetch<IssueConnection>;
}
/**
* A fetchable Cycle_UncompletedIssuesUponClose Query
*
* @param request - function to call the graphql client
* @param id - required id to pass to cycle
* @param variables - variables without 'id' to pass into the Cycle_UncompletedIssuesUponCloseQuery
*/
declare class Cycle_UncompletedIssuesUponCloseQuery extends Request {
private _id;
private _variables?;
constructor(request: LinearRequest, id: string, variables?: Omit<Cycle_UncompletedIssuesUponCloseQueryVariables, "id">);
/**
* Call the Cycle_UncompletedIssuesUponClose query and return a IssueConnection
*
* @param variables - variables without 'id' to pass into the Cycle_UncompletedIssuesUponCloseQuery
* @returns parsed response from Cycle_UncompletedIssuesUponCloseQuery
*/
fetch(variables?: Omit<Cycle_UncompletedIssuesUponCloseQueryVariables, "id">): LinearFetch<IssueConnection>;
}
/**
* A fetchable Document_Comments Query
*
* @param request - function to call the graphql client
* @param id - required id to pass to document
* @param variables - variables without 'id' to pass into the Document_CommentsQuery
*/
declare class Document_CommentsQuery extends Request {
private _id;
private _variables?;
constructor(request: LinearRequest, id: string, variables?: Omit<Document_CommentsQueryVariables, "id">);
/**
* Call the Document_Comments query and return a CommentConnection
*
* @param variables - variables without 'id' to pass into the Document_CommentsQuery
* @returns parsed response from Document_CommentsQuery
*/
fetch(variables?: Omit<Document_CommentsQueryVariables, "id">): LinearFetch<CommentConnection>;
}
/**
* A fetchable EmailIntakeAddress_SesDomainIdentity Query
*
* @param request - function to call the graphql client
* @param id - required id to pass to emailIntakeAddress
*/
declare class EmailIntakeAddress_SesDomainIdentityQuery extends Request {
private _id;
constructor(request: LinearRequest, id: string);
/**
* Call the EmailIntakeAddress_SesDomainIdentity query and return a SesDomainIdentity
*
* @returns parsed response from EmailIntakeAddress_SesDomainIdentityQuery
*/
fetch(): LinearFetch<SesDomainIdentity | undefined>;
}
/**
* A fetchable Favorite_Children Query
*
* @param request - function to call the graphql client
* @param id - required id to pass to favorite
* @param variables - variables without 'id' to pass into the Favorite_ChildrenQuery
*/
declare class Favorite_ChildrenQuery extends Request {
private _id;
private _variables?;
constructor(request: LinearRequest, id: string, variables?: Omit<Favorite_ChildrenQueryVariables, "id">);
/**
* Call the Favorite_Children query and return a FavoriteConnection
*
* @param variables - variables without 'id' to pass into the Favorite_ChildrenQuery
* @returns parsed response from Favorite_ChildrenQuery
*/
fetch(variables?: Omit<Favorite_ChildrenQueryVariables, "id">): LinearFetch<FavoriteConnection>;
}
/**
* A fetchable Initiative_DocumentContent Query
*
* @param request - function to call the graphql client
* @param id - required id to pass to initiative
*/
declare class Initiative_DocumentContentQuery extends Request {
private _id;
constructor(request: LinearRequest, id: string);
/**
* Call the Initiative_DocumentContent query and return a DocumentContent
*
* @returns parsed response from Initiative_DocumentContentQuery
*/
fetch(): LinearFetch<DocumentContent | undefined>;
}
/**
* A fetchable Initiative_Documents Query
*
* @param request - function to call the graphql client
* @param id - required id to pass to initiative
* @param variables - variables without 'id' to pass into the Initiative_DocumentsQuery
*/
declare class Initiative_DocumentsQuery extends Request {
private _id;
private _variables?;
constructor(request: LinearRequest, id: string, variables?: Omit<Initiative_DocumentsQueryVariables, "id">);
/**
* Call the Initiative_Documents query and return a DocumentConnection
*
* @param variables - variables without 'id' to pass into the Initiative_DocumentsQuery
* @returns parsed response from Initiative_DocumentsQuery
*/
fetch(variables?: Omit<Initiative_DocumentsQueryVariables, "id">): LinearFetch<DocumentConnection>;
}
/**
* A fetchable Initiative_History Query
*
* @param request - function to call the graphql client
* @param id - required id to pass to initiative
* @param variables - variables without 'id' to pass into the Initiative_HistoryQuery
*/
declare class Initiative_HistoryQuery extends Request {
private _id;
private _variables?;
constructor(request: LinearRequest, id: string, variables?: Omit<Initiative_HistoryQueryVariables, "id">);
/**
* Call the Initiative_History query and return a InitiativeHistoryConnection
*
* @param variables - variables without 'id' to pass into the Initiative_HistoryQuery
* @returns parsed response from Initiative_HistoryQuery
*/
fetch(variables?: Omit<Initiative_HistoryQueryVariables, "id">): LinearFetch<InitiativeHistoryConnection>;
}
/**
* A fetchable Initiative_InitiativeUpdates Query
*
* @param request - function to call the graphql client
* @param id - required id to pass to initiative
* @param variables - variables without 'id' to pass into the Initiative_InitiativeUpdatesQuery
*/
declare class Initiative_InitiativeUpdatesQuery extends Request {
private _id;
private _variables?;
constructor(request: LinearRequest, id: string, variables?: Omit<Initiative_InitiativeUpdatesQueryVariables, "id">);
/**
* Call the Initiative_InitiativeUpdates query and return a InitiativeUpdateConnection
*
* @param variables - variables without 'id' to pass into the Initiative_InitiativeUpdatesQuery
* @returns parsed response from Initiative_InitiativeUpdatesQuery
*/
fetch(variables?: Omit<Initiative_InitiativeUpdatesQueryVariables, "id">): LinearFetch<InitiativeUpdateConnection>;
}
/**
* A fetchable Initiative_Labels Query
*
* @param request - function to call the graphql client
* @param id - required id to pass to initiative
* @param variables - variables without 'id' to pass into the Initiative_LabelsQuery
*/
declare class Initiative_LabelsQuery extends Request {
private _id;
private _variables?;
constructor(request: LinearRequest, id: string, variables?: Omit<Initiative_LabelsQueryVariables, "id">);
/**
* Call the Initiative_Labels query and return a InitiativeLabelConnection
*
* @param variables - variables without 'id' to pass into the Initiative_LabelsQuery
* @returns parsed response from Initiative_LabelsQuery
*/
fetch(variables?: Omit<Initiative_LabelsQueryVariables, "id">): LinearFetch<InitiativeLabelConnection>;
}
/**
* A fetchable Initiative_Links Query
*
* @param request - function to call the graphql client
* @param id - required id to pass to initiative
* @param variables - variables without 'id' to pass into the Initiative_LinksQuery
*/
declare class Initiative_LinksQuery extends Request {
private _id;
private _variables?;
constructor(request: LinearRequest, id: string, variables?: Omit<Initiative_LinksQueryVariables, "id">);
/**
* Call the Initiative_Links query and return a EntityExternalLinkConnection
*
* @param variables - variables without 'id' to pass into the Initiative_LinksQuery
* @returns parsed response from Initiative_LinksQuery
*/
fetch(variables?: Omit<Initiative_LinksQueryVariables, "id">): LinearFetch<EntityExternalLinkConnection>;
}
/**
* A fetchable Initiative_Projects Query
*
* @param request - function to call the graphql client
* @param id - required id to pass to initiative
* @param variables - variables without 'id' to pass into the Initiative_ProjectsQuery
*/
declare class Initiative_ProjectsQuery extends Request {
private _id;
private _variables?;
constructor(request: LinearRequest, id: string, variables?: Omit<Initiative_ProjectsQueryVariables, "id">);
/**
* Call the Initiative_Projects query and return a ProjectConnection
*
* @param variables - variables without 'id' to pass into the Initiative_ProjectsQuery
* @returns parsed response from Initiative_ProjectsQuery
*/
fetch(variables?: Omit<Initiative_ProjectsQueryVariables, "id">): LinearFetch<ProjectConnection>;
}
/**
* A fetchable Initiative_SubInitiatives Query
*
* @param request - function to call the graphql client
* @param id - required id to pass to initiative
* @param variables - variables without 'id' to pass into the Initiative_SubInitiativesQuery
*/
declare class Initiative_SubInitiativesQuery extends Request {
private _id;
private _variables?;
constructor(request: LinearRequest, id: string, variables?: Omit<Initiative_SubInitiativesQueryVariables, "id">);
/**
* Call the Initiative_SubInitiatives query and return a InitiativeConnection
*
* @param variables - variables without 'id' to pass into the Initiative_SubInitiativesQuery
* @returns parsed response from Initiative_SubInitiativesQuery
*/
fetch(variables?: Omit<Initiative_SubInitiativesQueryVariables, "id">): LinearFetch<InitiativeConnection>;
}
/**
* A fetchable Initiative_DocumentContent_AiPromptRules Query
*
* @param request - function to call the graphql client
* @param id - required id to pass to initiative_documentContent
*/
declare class Initiative_DocumentContent_AiPromptRulesQuery extends Request {
private _id;
constructor(request: LinearRequest, id: string);
/**
* Call the Initiative_DocumentContent_AiPromptRules query and return a AiPromptRules
*
* @returns parsed response from Initiative_DocumentContent_AiPromptRulesQuery
*/
fetch(): LinearFetch<AiPromptRules | undefined>;
}
/**
* A fetchable Initiative_DocumentContent_WelcomeMessage Query
*
* @param request - function to call the graphql client
* @param id - required id to pass to initiative_documentContent
*/
declare class Initiative_DocumentContent_WelcomeMessageQuery extends Request {
private _id;
constructor(request: LinearRequest, id: string);
/**
* Call the Initiative_DocumentContent_WelcomeMessage query and return a WelcomeMessage
*
* @returns parsed response from Initiative_DocumentContent_WelcomeMessageQuery
*/
fetch(): LinearFetch<WelcomeMessage | undefined>;
}
/**
* A fetchable InitiativeLabel_Children Query
*
* @param request - function to call the graphql client
* @param id - required id to pass to initiativeLabel
* @param variables - variables without 'id' to pass into the InitiativeLabel_ChildrenQuery
*/
declare class InitiativeLabel_ChildrenQuery extends Request {
private _id;
private _variables?;
constructor(request: LinearRequest, id: string, variables?: Omit<InitiativeLabel_ChildrenQueryVariables, "id">);
/**
* Call the InitiativeLabel_Children query and return a InitiativeLabelConnection
*
* @param variables - variables without 'id' to pass into the InitiativeLabel_ChildrenQuery
* @returns parsed response from InitiativeLabel_ChildrenQuery
*/
fetch(variables?: Omit<InitiativeLabel_ChildrenQueryVariables, "id">): LinearFetch<InitiativeLabelConnection>;
}
/**
* A fetchable InitiativeLabel_Initiatives Query
*
* @param request - function to call the graphql client
* @param id - required id to pass to initiativeLabel
* @param variables - variables without 'id' to pass into the InitiativeLabel_InitiativesQuery
*/
declare class InitiativeLabel_InitiativesQuery extends Request {
private _id;
private _variables?;
constructor(request: LinearRequest, id: string, variables?: Omit<InitiativeLabel_InitiativesQueryVariables, "id">);
/**
* Call the InitiativeLabel_Initiatives query and return a InitiativeConnection
*
* @param variables - variables without 'id' to pass into the InitiativeLabel_InitiativesQuery
* @returns parsed response from InitiativeLabel_InitiativesQuery
*/
fetch(variables?: Omit<InitiativeLabel_InitiativesQueryVariables, "id">): LinearFetch<InitiativeConnection>;
}
/**
* A fetchable InitiativeUpdate_Comments Query
*
* @param request - function to call the graphql client
* @param id - required id to pass to initiativeUpdate
* @param variables - variables without 'id' to pass into the InitiativeUpdate_CommentsQuery
*/
declare class InitiativeUpdate_CommentsQuery extends Request {
private _id;
private _variables?;
constructor(request: LinearRequest, id: string, variables?: Omit<InitiativeUpdate_CommentsQueryVariables, "id">);
/**
* Call the InitiativeUpdate_Comments query and return a CommentConnection
*
* @param variables - variables without 'id' to pass into the InitiativeUpdate_CommentsQuery
* @returns parsed response from InitiativeUpdate_CommentsQuery
*/
fetch(variables?: Omit<InitiativeUpdate_CommentsQueryVariables, "id">): LinearFetch<CommentConnection>;
}
/**
* A fetchable Issue_Attachments Query
*
* @param request - function to call the graphql client
* @param id - required id to pass to issue
* @param variables - variables without 'id' to pass into the Issue_AttachmentsQuery
*/
declare class Issue_AttachmentsQuery extends Request {
private _id;
private _variables?;
constructor(request: LinearRequest, id: string, variables?: Omit<Issue_AttachmentsQueryVariables, "id">);
/**
* Call the Issue_Attachments query and return a AttachmentConnection
*
* @param variables - variables without 'id' to pass into the Issue_AttachmentsQuery
* @returns parsed response from Issue_AttachmentsQuery
*/
fetch(variables?: Omit<Issue_AttachmentsQueryVariables, "id">): LinearFetch<AttachmentConnection>;
}
/**
* A fetchable Issue_BotActor Query
*
* @param request - function to call the graphql client
* @param id - required id to pass to issue
*/
declare class Issue_BotActorQuery extends Request {
private _id;
constructor(request: LinearRequest, id: string);
/**
* Call the Issue_BotActor query and return a ActorBot
*
* @returns parsed response from Issue_BotActorQuery
*/
fetch(): LinearFetch<ActorBot | undefined>;
}
/**
* A fetchable Issue_Children Query
*
* @param request - function to call the graphql client
* @param id - required id to pass to issue
* @param variables - variables without 'id' to pass into the Issue_ChildrenQuery
*/
declare class Issue_ChildrenQuery extends Request {
private _id;
private _variables?;
constructor(request: LinearRequest, id: string, variables?: Omit<Issue_ChildrenQueryVariables, "id">);
/**
* Call the Issue_Children query and return a IssueConnection
*
* @param variables - variables without 'id' to pass into the Issue_ChildrenQuery
* @returns parsed response from Issue_ChildrenQuery
*/
fetch(variables?: Omit<Issue_ChildrenQueryVariables, "id">): LinearFetch<IssueConnection>;
}
/**
* A fetchable Issue_Comments Query
*
* @param request - function to call the graphql client
* @param id - required id to pass to issue
* @param variables - variables without 'id' to pass into the Issue_CommentsQuery
*/
declare class Issue_CommentsQuery extends Request {
private _id;
private _variables?;
constructor(request: LinearRequest, id: string, variables?: Omit<Issue_CommentsQueryVariables, "id">);
/**
* Call the Issue_Comments query and return a CommentConnection
*
* @param variables - variables without 'id' to pass into the Issue_CommentsQuery
* @returns parsed response from Issue_CommentsQuery
*/
fetch(variables?: Omit<Issue_CommentsQueryVariables, "id">): LinearFetch<CommentConnection>;
}
/**
* A fetchable Issue_Documents Query
*
* @param request - function to call the graphql client
* @param id - required id to pass to issue
* @param variables - variables without 'id' to pass into the Issue_DocumentsQuery
*/
declare class Issue_DocumentsQuery extends Request {
private _id;
private _variables?;
constructor(request: LinearRequest, id: string, variables?: Omit<Issue_DocumentsQueryVariables, "id">);
/**
* Call the Issue_Documents query and return a DocumentConnection
*
* @param variables - variables without 'id' to pass into the Issue_DocumentsQuery
* @returns parsed response from Issue_DocumentsQuery
*/
fetch(variables?: Omit<Issue_DocumentsQueryVariables, "id">): LinearFetch<DocumentConnection>;
}
/**
* A fetchable Issue_FormerAttachments Query
*
* @param request - function to call the graphql client
* @param id - required id to pass to issue
* @param variables - variables without 'id' to pass into the Issue_FormerAttachmentsQuery
*/
declare class Issue_FormerAttachmentsQuery extends Request {
private _id;
private _variables?;
constructor(request: LinearRequest, id: string, variables?: Omit<Issue_FormerAttachmentsQueryVariables, "id">);
/**
* Call the Issue_FormerAttachments query and return a AttachmentConnection
*
* @param variables - variables without 'id' to pass into the Issue_FormerAttachmentsQuery
* @returns parsed response from Issue_FormerAttachmentsQuery
*/
fetch(variables?: Omit<Issue_FormerAttachmentsQueryVariables, "id">): LinearFetch<AttachmentConnection>;
}
/**
* A fetchable Issue_FormerNeeds Query
*
* @param request - function to call the graphql client
* @param id - required id to pass to issue
* @param variables - variables without 'id' to pass into the Issue_FormerNeedsQuery
*/
declare class Issue_FormerNeedsQuery extends Request {
private _id;
private _variables?;
constructor(request: LinearRequest, id: string, variables?: Omit<Issue_FormerNeedsQueryVariables, "id">);
/**
* Call the Issue_FormerNeeds query and return a CustomerNeedConnection
*
* @param variables - variables without 'id' to pass into the Issue_FormerNeedsQuery
* @returns parsed response from Issue_FormerNeedsQuery
*/
fetch(variables?: Omit<Issue_FormerNeedsQueryVariables, "id">): LinearFetch<CustomerNeedConnection>;
}
/**
* A fetchable Issue_History Query
*
* @param request - function to call the graphql client
* @param id - required id to pass to issue
* @param variables - variables without 'id' to pass into the Issue_HistoryQuery
*/
declare class Issue_HistoryQuery extends Request {
private _id;
private _variables?;
constructor(request: LinearRequest, id: string, variables?: Omit<Issue_HistoryQueryVariables, "id">);
/**
* Call the Issue_History query and return a IssueHistoryConnection
*
* @param variables - variables without 'id' to pass into the Issue_HistoryQuery
* @returns parsed response from Issue_HistoryQuery
*/
fetch(variables?: Omit<Issue_HistoryQueryVariables, "id">): LinearFetch<IssueHistoryConnection>;
}
/**
* A fetchable Issue_InverseRelations Query
*
* @param request - function to call the graphql client
* @param id - required id to pass to issue
* @param variables - variables without 'id' to pass into the Issue_InverseRelationsQuery
*/
declare class Issue_InverseRelationsQuery extends Request {
private _id;
private _variables?;
constructor(request: LinearRequest, id: string, variables?: Omit<Issue_InverseRelationsQueryVariables, "id">);
/**
* Call the Issue_InverseRelations query and return a IssueRelationConnection
*
* @param variables - variables without 'id' to pass into the Issue_InverseRelationsQuery
* @returns parsed response from Issue_InverseRelationsQuery
*/
fetch(variables?: Omit<Issue_InverseRelationsQueryVariables, "id">): LinearFetch<IssueRelationConnection>;
}
/**
* A fetchable Issue_Labels Query
*
* @param request - function to call the graphql client
* @param id - required id to pass to issue
* @param variables - variables without 'id' to pass into the Issue_LabelsQuery
*/
declare class Issue_LabelsQuery extends Request {
private _id;
private _variables?;
constructor(request: LinearRequest, id: string, variables?: Omit<Issue_LabelsQueryVariables, "id">);
/**
* Call the Issue_Labels query and return a IssueLabelConnection
*
* @param variables - variables without 'id' to pass into the Issue_LabelsQuery
* @returns parsed response from Issue_LabelsQuery
*/
fetch(variables?: Omit<Issue_LabelsQueryVariables, "id">): LinearFetch<IssueLabelConnection>;
}
/**
* A fetchable Issue_Needs Query
*
* @param request - function to call the graphql client
* @param id - required id to pass to issue
* @param variables - variables without 'id' to pass into the Issue_NeedsQuery
*/
declare class Issue_NeedsQuery extends Request {
private _id;
private _variables?;
constructor(request: LinearRequest, id: string, variables?: Omit<Issue_NeedsQueryVariables, "id">);
/**
* Call the Issue_Needs query and return a CustomerNeedConnection
*
* @param variables - variables without 'id' to pass into the Issue_NeedsQuery
* @returns parsed response from Issue_NeedsQuery
*/
fetch(variables?: Omit<Issue_NeedsQueryVariables, "id">): LinearFetch<CustomerNeedConnection>;
}
/**
* A fetchable Issue_Relations Query
*
* @param request - function to call the graphql client
* @param id - required id to pass to issue
* @param variables - variables without 'id' to pass into the Issue_RelationsQuery
*/
declare class Issue_RelationsQuery extends Request {
private _id;
private _variables?;
constructor(request: LinearRequest, id: string, variables?: Omit<Issue_RelationsQueryVariables, "id">);
/**
* Call the Issue_Relations query and return a IssueRelationConnection
*
* @param variables - variables without 'id' to pass into the Issue_RelationsQuery
* @returns parsed response from Issue_RelationsQuery
*/
fetch(variables?: Omit<Issue_RelationsQueryVariables, "id">): LinearFetch<IssueRelationConnection>;
}
/**
* A fetchable Issue_Releases Query
*
* @param request - function to call the graphql client
* @param id - required id to pass to issue
* @param variables - variables without 'id' to pass into the Issue_ReleasesQuery
*/
declare class Issue_ReleasesQuery extends Request {
private _id;
private _variables?;
constructor(request: LinearRequest, id: string, variables?: Omit<Issue_ReleasesQueryVariables, "id">);
/**
* Call the Issue_Releases query and return a ReleaseConnection
*
* @param variables - variables without 'id' to pass into the Issue_ReleasesQuery
* @returns parsed response from Issue_ReleasesQuery
*/
fetch(variables?: Omit<Issue_ReleasesQueryVariables, "id">): LinearFetch<ReleaseConnection>;
}
/**
* A fetchable Issue_SharedAccess Query
*
* @param request - function to call the graphql client
* @param id - required id to pass to issue
*/
declare class Issue_SharedAccessQuery extends Request {
private _id;
constructor(request: LinearRequest, id: string);
/**
* Call the Issue_SharedAccess query and return a IssueSharedAccess
*
* @returns parsed response from Issue_SharedAccessQuery
*/
fetch(): LinearFetch<IssueSharedAccess>;
}
/**
* A fetchable Issue_StateHistory Query
*
* @param request - function to call the graphql client
* @param id - required id to pass to issue
* @param variables - variables without 'id' to pass into the Issue_StateHistoryQuery
*/
declare class Issue_StateHistoryQuery extends Request {
private _id;
private _variables?;
constructor(request: LinearRequest, id: string, variables?: Omit<Issue_StateHistoryQueryVariables, "id">);
/**
* Call the Issue_StateHistory query and return a IssueStateSpanConnection
*
* @param variables - variables without 'id' to pass into the Issue_StateHistoryQuery
* @returns parsed response from Issue_StateHistoryQuery
*/
fetch(variables?: Omit<Issue_StateHistoryQueryVariables, "id">): LinearFetch<IssueStateSpanConnection>;
}
/**
* A fetchable Issue_Subscribers Query
*
* @param request - function to call the graphql client
* @param id - required id to pass to issue
* @param variables - variables without 'id' to pass into the Issue_SubscribersQuery
*/
declare class Issue_SubscribersQuery extends Request {
private _id;
private _variables?;
constructor(request: LinearRequest, id: string, variables?: Omit<Issue_SubscribersQueryVariables, "id">);
/**
* Call the Issue_Subscribers query and return a UserConnection
*
* @param variables - variables without 'id' to pass into the Issue_SubscribersQuery
* @returns parsed response from Issue_SubscribersQuery
*/
fetch(variables?: Omit<Issue_SubscribersQueryVariables, "id">): LinearFetch<UserConnection>;
}
/**
* A fetchable IssueLabel_Children Query
*
* @param request - function to call the graphql client
* @param id - required id to pass to issueLabel
* @param variables - variables without 'id' to pass into the IssueLabel_ChildrenQuery
*/
declare class IssueLabel_ChildrenQuery extends Request {
private _id;
private _variables?;
constructor(request: LinearRequest, id: string, variables?: Omit<IssueLabel_ChildrenQueryVariables, "id">);
/**
* Call the IssueLabel_Children query and return a IssueLabelConnection
*
* @param variables - variables without 'id' to pass into the IssueLabel_ChildrenQuery
* @returns parsed response from IssueLabel_ChildrenQuery
*/
fetch(variables?: Omit<IssueLabel_ChildrenQueryVariables, "id">): LinearFetch<IssueLabelConnection>;
}
/**
* A fetchable IssueLabel_Issues Query
*
* @param request - function to call the graphql client
* @param id - required id to pass to issueLabel
* @param variables - variables without 'id' to pass into the IssueLabel_IssuesQuery
*/
declare class IssueLabel_IssuesQuery extends Request {
private _id;
private _variables?;
constructor(request: LinearRequest, id: string, variables?: Omit<IssueLabel_IssuesQueryVariables, "id">);
/**
* Call the IssueLabel_Issues query and return a IssueConnection
*
* @param variables - variables without 'id' to pass into the IssueLabel_IssuesQuery
* @returns parsed response from IssueLabel_IssuesQuery
*/
fetch(variables?: Omit<IssueLabel_IssuesQueryVariables, "id">): LinearFetch<IssueConnection>;
}
/**
* A fetchable IssueVcsBranchSearch_Attachments Query
*
* @param request - function to call the graphql client
* @param branchName - required branchName to pass to issueVcsBranchSearch
* @param variables - variables without 'branchName' to pass into the IssueVcsBranchSearch_AttachmentsQuery
*/
declare class IssueVcsBranchSearch_AttachmentsQuery extends Request {
private _branchName;
private _variables?;
constructor(request: LinearRequest, branchName: string, variables?: Omit<IssueVcsBranchSearch_AttachmentsQueryVariables, "branchName">);
/**
* Call the IssueVcsBranchSearch_Attachments query and return a AttachmentConnection
*
* @param variables - variables without 'branchName' to pass into the IssueVcsBranchSearch_AttachmentsQuery
* @returns parsed response from IssueVcsBranchSearch_AttachmentsQuery
*/
fetch(variables?: Omit<IssueVcsBranchSearch_AttachmentsQueryVariables, "branchName">): LinearFetch<AttachmentConnection | undefined>;
}
/**
* A fetchable IssueVcsBranchSearch_BotActor Query
*
* @param request - function to call the graphql client
* @param branchName - required branchName to pass to issueVcsBranchSearch
*/
declare class IssueVcsBranchSearch_BotActorQuery extends Request {
private _branchName;
constructor(request: LinearRequest, branchName: string);
/**
* Call the IssueVcsBranchSearch_BotActor query and return a ActorBot
*
* @returns parsed response from IssueVcsBranchSearch_BotActorQuery
*/
fetch(): LinearFetch<ActorBot | undefined>;
}
/**
* A fetchable IssueVcsBranchSearch_Children Query
*
* @param request - function to call the graphql client
* @param branchName - required branchName to pass to issueVcsBranchSearch
* @param variables - variables without 'branchName' to pass into the IssueVcsBranchSearch_ChildrenQuery
*/
declare class IssueVcsBranchSearch_ChildrenQuery extends Request {
private _branchName;
private _variables?;
constructor(request: LinearRequest, branchName: string, variables?: Omit<IssueVcsBranchSearch_ChildrenQueryVariables, "branchName">);
/**
* Call the IssueVcsBranchSearch_Children query and return a IssueConnection
*
* @param variables - variables without 'branchName' to pass into the IssueVcsBranchSearch_ChildrenQuery
* @returns parsed response from IssueVcsBranchSearch_ChildrenQuery
*/
fetch(variables?: Omit<IssueVcsBranchSearch_ChildrenQueryVariables, "branchName">): LinearFetch<IssueConnection | undefined>;
}
/**
* A fetchable IssueVcsBranchSearch_Comments Query
*
* @param request - function to call the graphql client
* @param branchName - required branchName to pass to issueVcsBranchSearch
* @param variables - variables without 'branchName' to pass into the IssueVcsBranchSearch_CommentsQuery
*/
declare class IssueVcsBranchSearch_CommentsQuery extends Request {
private _branchName;
private _variables?;
constructor(request: LinearRequest, branchName: string, variables?: Omit<IssueVcsBranchSearch_CommentsQueryVariables, "branchName">);
/**
* Call the IssueVcsBranchSearch_Comments query and return a CommentConnection
*
* @param variables - variables without 'branchName' to pass into the IssueVcsBranchSearch_CommentsQuery
* @returns parsed response from IssueVcsBranchSearch_CommentsQuery
*/
fetch(variables?: Omit<IssueVcsBranchSearch_CommentsQueryVariables, "branchName">): LinearFetch<CommentConnection | undefined>;
}
/**
* A fetchable IssueVcsBranchSearch_Documents Query
*
* @param request - function to call the graphql client
* @param branchName - required branchName to pass to issueVcsBranchSearch
* @param variables - variables without 'branchName' to pass into the IssueVcsBranchSearch_DocumentsQuery
*/
declare class IssueVcsBranchSearch_DocumentsQuery extends Request {
private _branchName;
private _variables?;
constructor(request: LinearRequest, branchName: string, variables?: Omit<IssueVcsBranchSearch_DocumentsQueryVariables, "branchName">);
/**
* Call the IssueVcsBranchSearch_Documents query and return a DocumentConnection
*
* @param variables - variables without 'branchName' to pass into the IssueVcsBranchSearch_DocumentsQuery
* @returns parsed response from IssueVcsBranchSearch_DocumentsQuery
*/
fetch(variables?: Omit<IssueVcsBranchSearch_DocumentsQueryVariables, "branchName">): LinearFetch<DocumentConnection | undefined>;
}
/**
* A fetchable IssueVcsBranchSearch_FormerAttachments Query
*
* @param request - function to call the graphql client
* @param branchName - required branchName to pass to issueVcsBranchSearch
* @param variables - variables without 'branchName' to pass into the IssueVcsBranchSearch_FormerAttachmentsQuery
*/
declare class IssueVcsBranchSearch_FormerAttachmentsQuery extends Request {
private _branchName;
private _variables?;
constructor(request: LinearRequest, branchName: string, variables?: Omit<IssueVcsBranchSearch_FormerAttachmentsQueryVariables, "branchName">);
/**
* Call the IssueVcsBranchSearch_FormerAttachments query and return a AttachmentConnection
*
* @param variables - variables without 'branchName' to pass into the IssueVcsBranchSearch_FormerAttachmentsQuery
* @returns parsed response from IssueVcsBranchSearch_FormerAttachmentsQuery
*/
fetch(variables?: Omit<IssueVcsBranchSearch_FormerAttachmentsQueryVariables, "branchName">): LinearFetch<AttachmentConnection | undefined>;
}
/**
* A fetchable IssueVcsBranchSearch_FormerNeeds Query
*
* @param request - function to call the graphql client
* @param branchName - required branchName to pass to issueVcsBranchSearch
* @param variables - variables without 'branchName' to pass into the IssueVcsBranchSearch_FormerNeedsQuery
*/
declare class IssueVcsBranchSearch_FormerNeedsQuery extends Request {
private _branchName;
private _variables?;
constructor(request: LinearRequest, branchName: string, variables?: Omit<IssueVcsBranchSearch_FormerNeedsQueryVariables, "branchName">);
/**
* Call the IssueVcsBranchSearch_FormerNeeds query and return a CustomerNeedConnection
*
* @param variables - variables without 'branchName' to pass into the IssueVcsBranchSearch_FormerNeedsQuery
* @returns parsed response from IssueVcsBranchSearch_FormerNeedsQuery
*/
fetch(variables?: Omit<IssueVcsBranchSearch_FormerNeedsQueryVariables, "branchName">): LinearFetch<CustomerNeedConnection | undefined>;
}
/**
* A fetchable IssueVcsBranchSearch_History Query
*
* @param request - function to call the graphql client
* @param branchName - required branchName to pass to issueVcsBranchSearch
* @param variables - variables without 'branchName' to pass into the IssueVcsBranchSearch_HistoryQuery
*/
declare class IssueVcsBranchSearch_HistoryQuery extends Request {
private _branchName;
private _variables?;
constructor(request: LinearRequest, branchName: string, variables?: Omit<IssueVcsBranchSearch_HistoryQueryVariables, "branchName">);
/**
* Call the IssueVcsBranchSearch_History query and return a IssueHistoryConnection
*
* @param variables - variables without 'branchName' to pass into the IssueVcsBranchSearch_HistoryQuery
* @returns parsed response from IssueVcsBranchSearch_HistoryQuery
*/
fetch(variables?: Omit<IssueVcsBranchSearch_HistoryQueryVariables, "branchName">): LinearFetch<IssueHistoryConnection | undefined>;
}
/**
* A fetchable IssueVcsBranchSearch_InverseRelations Query
*
* @param request - function to call the graphql client
* @param branchName - required branchName to pass to issueVcsBranchSearch
* @param variables - variables without 'branchName' to pass into the IssueVcsBranchSearch_InverseRelationsQuery
*/
declare class IssueVcsBranchSearch_InverseRelationsQuery extends Request {
private _branchName;
private _variables?;
constructor(request: LinearRequest, branchName: string, variables?: Omit<IssueVcsBranchSearch_InverseRelationsQueryVariables, "branchName">);
/**
* Call the IssueVcsBranchSearch_InverseRelations query and return a IssueRelationConnection
*
* @param variables - variables without 'branchName' to pass into the IssueVcsBranchSearch_InverseRelationsQuery
* @returns parsed response from IssueVcsBranchSearch_InverseRelationsQuery
*/
fetch(variables?: Omit<IssueVcsBranchSearch_InverseRelationsQueryVariables, "branchName">): LinearFetch<IssueRelationConnection | undefined>;
}
/**
* A fetchable IssueVcsBranchSearch_Labels Query
*
* @param request - function to call the graphql client
* @param branchName - required branchName to pass to issueVcsBranchSearch
* @param variables - variables without 'branchName' to pass into the IssueVcsBranchSearch_LabelsQuery
*/
declare class IssueVcsBranchSearch_LabelsQuery extends Request {
private _branchName;
private _variables?;
constructor(request: LinearRequest, branchName: string, variables?: Omit<IssueVcsBranchSearch_LabelsQueryVariables, "branchName">);
/**
* Call the IssueVcsBranchSearch_Labels query and return a IssueLabelConnection
*
* @param variables - variables without 'branchName' to pass into the IssueVcsBranchSearch_LabelsQuery
* @returns parsed response from IssueVcsBranchSearch_LabelsQuery
*/
fetch(variables?: Omit<IssueVcsBranchSearch_LabelsQueryVariables, "branchName">): LinearFetch<IssueLabelConnection | undefined>;
}
/**
* A fetchable IssueVcsBranchSearch_Needs Query
*
* @param request - function to call the graphql client
* @param branchName - required branchName to pass to issueVcsBranchSearch
* @param variables - variables without 'branchName' to pass into the IssueVcsBranchSearch_NeedsQuery
*/
declare class IssueVcsBranchSearch_NeedsQuery extends Request {
private _branchName;
private _variables?;
constructor(request: LinearRequest, branchName: string, variables?: Omit<IssueVcsBranchSearch_NeedsQueryVariables, "branchName">);
/**
* Call the IssueVcsBranchSearch_Needs query and return a CustomerNeedConnection
*
* @param variables - variables without 'branchName' to pass into the IssueVcsBranchSearch_NeedsQuery
* @returns parsed response from IssueVcsBranchSearch_NeedsQuery
*/
fetch(variables?: Omit<IssueVcsBranchSearch_NeedsQueryVariables, "branchName">): LinearFetch<CustomerNeedConnection | undefined>;
}
/**
* A fetchable IssueVcsBranchSearch_Relations Query
*
* @param request - function to call the graphql client
* @param branchName - required branchName to pass to issueVcsBranchSearch
* @param variables - variables without 'branchName' to pass into the IssueVcsBranchSearch_RelationsQuery
*/
declare class IssueVcsBranchSearch_RelationsQuery extends Request {
private _branchName;
private _variables?;
constructor(request: LinearRequest, branchName: string, variables?: Omit<IssueVcsBranchSearch_RelationsQueryVariables, "branchName">);
/**
* Call the IssueVcsBranchSearch_Relations query and return a IssueRelationConnection
*
* @param variables - variables without 'branchName' to pass into the IssueVcsBranchSearch_RelationsQuery
* @returns parsed response from IssueVcsBranchSearch_RelationsQuery
*/
fetch(variables?: Omit<IssueVcsBranchSearch_RelationsQueryVariables, "branchName">): LinearFetch<IssueRelationConnection | undefined>;
}
/**
* A fetchable IssueVcsBranchSearch_Releases Query
*
* @param request - function to call the graphql client
* @param branchName - required branchName to pass to issueVcsBranchSearch
* @param variables - variables without 'branchName' to pass into the IssueVcsBranchSearch_ReleasesQuery
*/
declare class IssueVcsBranchSearch_ReleasesQuery extends Request {
private _branchName;
private _variables?;
constructor(request: LinearRequest, branchName: string, variables?: Omit<IssueVcsBranchSearch_ReleasesQueryVariables, "branchName">);
/**
* Call the IssueVcsBranchSearch_Releases query and return a ReleaseConnection
*
* @param variables - variables without 'branchName' to pass into the IssueVcsBranchSearch_ReleasesQuery
* @returns parsed response from IssueVcsBranchSearch_ReleasesQuery
*/
fetch(variables?: Omit<IssueVcsBranchSearch_ReleasesQueryVariables, "branchName">): LinearFetch<ReleaseConnection | undefined>;
}
/**
* A fetchable IssueVcsBranchSearch_SharedAccess Query
*
* @param request - function to call the graphql client
* @param branchName - required branchName to pass to issueVcsBranchSearch
*/
declare class IssueVcsBranchSearch_SharedAccessQuery extends Request {
private _branchName;
constructor(request: LinearRequest, branchName: string);
/**
* Call the IssueVcsBranchSearch_SharedAccess query and return a IssueSharedAccess
*
* @returns parsed response from IssueVcsBranchSearch_SharedAccessQuery
*/
fetch(): LinearFetch<IssueSharedAccess | undefined>;
}
/**
* A fetchable IssueVcsBranchSearch_StateHistory Query
*
* @param request - function to call the graphql client
* @param branchName - required branchName to pass to issueVcsBranchSearch
* @param variables - variables without 'branchName' to pass into the IssueVcsBranchSearch_StateHistoryQuery
*/
declare class IssueVcsBranchSearch_StateHistoryQuery extends Request {
private _branchName;
private _variables?;
constructor(request: LinearRequest, branchName: string, variables?: Omit<IssueVcsBranchSearch_StateHistoryQueryVariables, "branchName">);
/**
* Call the IssueVcsBranchSearch_StateHistory query and return a IssueStateSpanConnection
*
* @param variables - variables without 'branchName' to pass into the IssueVcsBranchSearch_StateHistoryQuery
* @returns parsed response from IssueVcsBranchSearch_StateHistoryQuery
*/
fetch(variables?: Omit<IssueVcsBranchSearch_StateHistoryQueryVariables, "branchName">): LinearFetch<IssueStateSpanConnection | undefined>;
}
/**
* A fetchable IssueVcsBranchSearch_Subscribers Query
*
* @param request - function to call the graphql client
* @param branchName - required branchName to pass to issueVcsBranchSearch
* @param variables - variables without 'branchName' to pass into the IssueVcsBranchSearch_SubscribersQuery
*/
declare class IssueVcsBranchSearch_SubscribersQuery extends Request {
private _branchName;
private _variables?;
constructor(request: LinearRequest, branchName: string, variables?: Omit<IssueVcsBranchSearch_SubscribersQueryVariables, "branchName">);
/**
* Call the IssueVcsBranchSearch_Subscribers query and return a UserConnection
*
* @param variables - variables without 'branchName' to pass into the IssueVcsBranchSearch_SubscribersQuery
* @returns parsed response from IssueVcsBranchSearch_SubscribersQuery
*/
fetch(variables?: Omit<IssueVcsBranchSearch_SubscribersQueryVariables, "branchName">): LinearFetch<UserConnection | undefined>;
}
/**
* A fetchable LatestReleaseByAccessKey_Stage Query
*
* @param request - function to call the graphql client
*/
declare class LatestReleaseByAccessKey_StageQuery extends Request {
constructor(request: LinearRequest);
/**
* Call the LatestReleaseByAccessKey_Stage query and return a AccessKeyReleaseStage
*
* @returns parsed response from LatestReleaseByAccessKey_StageQuery
*/
fetch(): LinearFetch<AccessKeyReleaseStage | undefined>;
}
/**
* A fetchable Organization_Integrations Query
*
* @param request - function to call the graphql client
* @param variables - variables to pass into the Organization_IntegrationsQuery
*/
declare class Organization_IntegrationsQuery extends Request {
private _variables?;
constructor(request: LinearRequest, variables?: Organization_IntegrationsQueryVariables);
/**
* Call the Organization_Integrations query and return a IntegrationConnection
*
* @param variables - variables to pass into the Organization_IntegrationsQuery
* @returns parsed response from Organization_IntegrationsQuery
*/
fetch(variables?: Organization_IntegrationsQueryVariables): LinearFetch<IntegrationConnection>;
}
/**
* A fetchable Organization_Labels Query
*
* @param request - function to call the graphql client
* @param variables - variables to pass into the Organization_LabelsQuery
*/
declare class Organization_LabelsQuery extends Request {
private _variables?;
constructor(request: LinearRequest, variables?: Organization_LabelsQueryVariables);
/**
* Call the Organization_Labels query and return a IssueLabelConnection
*
* @param variables - variables to pass into the Organization_LabelsQuery
* @returns parsed response from Organization_LabelsQuery
*/
fetch(variables?: Organization_LabelsQueryVariables): LinearFetch<IssueLabelConnection>;
}
/**
* A fetchable Organization_ProjectLabels Query
*
* @param request - function to call the graphql client
* @param variables - variables to pass into the Organization_ProjectLabelsQuery
*/
declare class Organization_ProjectLabelsQuery extends Request {
private _variables?;
constructor(request: LinearRequest, variables?: Organization_ProjectLabelsQueryVariables);
/**
* Call the Organization_ProjectLabels query and return a ProjectLabelConnection
*
* @param variables - variables to pass into the Organization_ProjectLabelsQuery
* @returns parsed response from Organization_ProjectLabelsQuery
*/
fetch(variables?: Organization_ProjectLabelsQueryVariables): LinearFetch<ProjectLabelConnection>;
}
/**
* A fetchable Organization_Subscription Query
*
* @param request - function to call the graphql client
*/
declare class Organization_SubscriptionQuery extends Request {
constructor(request: LinearRequest);
/**
* Call the Organization_Subscription query and return a PaidSubscription
*
* @returns parsed response from Organization_SubscriptionQuery
*/
fetch(): LinearFetch<PaidSubscription | undefined>;
}
/**
* A fetchable Organization_Teams Query
*
* @param request - function to call the graphql client
* @param variables - variables to pass into the Organization_TeamsQuery
*/
declare class Organization_TeamsQuery extends Request {
private _variables?;
constructor(request: LinearRequest, variables?: Organization_TeamsQueryVariables);
/**
* Call the Organization_Teams query and return a TeamConnection
*
* @param variables - variables to pass into the Organization_TeamsQuery
* @returns parsed response from Organization_TeamsQuery
*/
fetch(variables?: Organization_TeamsQueryVariables): LinearFetch<TeamConnection>;
}
/**
* A fetchable Organization_Templates Query
*
* @param request - function to call the graphql client
* @param variables - variables to pass into the Organization_TemplatesQuery
*/
declare class Organization_TemplatesQuery extends Request {
private _variables?;
constructor(request: LinearRequest, variables?: Organization_TemplatesQueryVariables);
/**
* Call the Organization_Templates query and return a TemplateConnection
*
* @param variables - variables to pass into the Organization_TemplatesQuery
* @returns parsed response from Organization_TemplatesQuery
*/
fetch(variables?: Organization_TemplatesQueryVariables): LinearFetch<TemplateConnection>;
}
/**
* A fetchable Organization_Users Query
*
* @param request - function to call the graphql client
* @param variables - variables to pass into the Organization_UsersQuery
*/
declare class Organization_UsersQuery extends Request {
private _variables?;
constructor(request: LinearRequest, variables?: Organization_UsersQueryVariables);
/**
* Call the Organization_Users query and return a UserConnection
*
* @param variables - variables to pass into the Organization_UsersQuery
* @returns parsed response from Organization_UsersQuery
*/
fetch(variables?: Organization_UsersQueryVariables): LinearFetch<UserConnection>;
}
/**
* A fetchable Project_Attachments Query
*
* @param request - function to call the graphql client
* @param id - required id to pass to project
* @param variables - variables without 'id' to pass into the Project_AttachmentsQuery
*/
declare class Project_AttachmentsQuery extends Request {
private _id;
private _variables?;
constructor(request: LinearRequest, id: string, variables?: Omit<Project_AttachmentsQueryVariables, "id">);
/**
* Call the Project_Attachments query and return a ProjectAttachmentConnection
*
* @param variables - variables without 'id' to pass into the Project_AttachmentsQuery
* @returns parsed response from Project_AttachmentsQuery
*/
fetch(variables?: Omit<Project_AttachmentsQueryVariables, "id">): LinearFetch<ProjectAttachmentConnection>;
}
/**
* A fetchable Project_Comments Query
*
* @param request - function to call the graphql client
* @param id - required id to pass to project
* @param variables - variables without 'id' to pass into the Project_CommentsQuery
*/
declare class Project_CommentsQuery extends Request {
private _id;
private _variables?;
constructor(request: LinearRequest, id: string, variables?: Omit<Project_CommentsQueryVariables, "id">);
/**
* Call the Project_Comments query and return a CommentConnection
*
* @param variables - variables without 'id' to pass into the Project_CommentsQuery
* @returns parsed response from Project_CommentsQuery
*/
fetch(variables?: Omit<Project_CommentsQueryVariables, "id">): LinearFetch<CommentConnection>;
}
/**
* A fetchable Project_DocumentContent Query
*
* @param request - function to call the graphql client
* @param id - required id to pass to project
*/
declare class Project_DocumentContentQuery extends Request {
private _id;
constructor(request: LinearRequest, id: string);
/**
* Call the Project_DocumentContent query and return a DocumentContent
*
* @returns parsed response from Project_DocumentContentQuery
*/
fetch(): LinearFetch<DocumentContent | undefined>;
}
/**
* A fetchable Project_Documents Query
*
* @param request - function to call the graphql client
* @param id - required id to pass to project
* @param variables - variables without 'id' to pass into the Project_DocumentsQuery
*/
declare class Project_DocumentsQuery extends Request {
private _id;
private _variables?;
constructor(request: LinearRequest, id: string, variables?: Omit<Project_DocumentsQueryVariables, "id">);
/**
* Call the Project_Documents query and return a DocumentConnection
*
* @param variables - variables without 'id' to pass into the Project_DocumentsQuery
* @returns parsed response from Project_DocumentsQuery
*/
fetch(variables?: Omit<Project_DocumentsQueryVariables, "id">): LinearFetch<DocumentConnection>;
}
/**
* A fetchable Project_ExternalLinks Query
*
* @param request - function to call the graphql client
* @param id - required id to pass to project
* @param variables - variables without 'id' to pass into the Project_ExternalLinksQuery
*/
declare class Project_ExternalLinksQuery extends Request {
private _id;
private _variables?;
constructor(request: LinearRequest, id: string, variables?: Omit<Project_ExternalLinksQueryVariables, "id">);
/**
* Call the Project_ExternalLinks query and return a EntityExternalLinkConnection
*
* @param variables - variables without 'id' to pass into the Project_ExternalLinksQuery
* @returns parsed response from Project_ExternalLinksQuery
*/
fetch(variables?: Omit<Project_ExternalLinksQueryVariables, "id">): LinearFetch<EntityExternalLinkConnection>;
}
/**
* A fetchable Project_History Query
*
* @param request - function to call the graphql client
* @param id - required id to pass to project
* @param variables - variables without 'id' to pass into the Project_HistoryQuery
*/
declare class Project_HistoryQuery extends Request {
private _id;
private _variables?;
constructor(request: LinearRequest, id: string, variables?: Omit<Project_HistoryQueryVariables, "id">);
/**
* Call the Project_History query and return a ProjectHistoryConnection
*
* @param variables - variables without 'id' to pass into the Project_HistoryQuery
* @returns parsed response from Project_HistoryQuery
*/
fetch(variables?: Omit<Project_HistoryQueryVariables, "id">): LinearFetch<ProjectHistoryConnection>;
}
/**
* A fetchable Project_InitiativeToProjects Query
*
* @param request - function to call the graphql client
* @param id - required id to pass to project
* @param variables - variables without 'id' to pass into the Project_InitiativeToProjectsQuery
*/
declare class Project_InitiativeToProjectsQuery extends Request {
private _id;
private _variables?;
constructor(request: LinearRequest, id: string, variables?: Omit<Project_InitiativeToProjectsQueryVariables, "id">);
/**
* Call the Project_InitiativeToProjects query and return a InitiativeToProjectConnection
*
* @param variables - variables without 'id' to pass into the Project_InitiativeToProjectsQuery
* @returns parsed response from Project_InitiativeToProjectsQuery
*/
fetch(variables?: Omit<Project_InitiativeToProjectsQueryVariables, "id">): LinearFetch<InitiativeToProjectConnection>;
}
/**
* A fetchable Project_Initiatives Query
*
* @param request - function to call the graphql client
* @param id - required id to pass to project
* @param variables - variables without 'id' to pass into the Project_InitiativesQuery
*/
declare class Project_InitiativesQuery extends Request {
private _id;
private _variables?;
constructor(request: LinearRequest, id: string, variables?: Omit<Project_InitiativesQueryVariables, "id">);
/**
* Call the Project_Initiatives query and return a InitiativeConnection
*
* @param variables - variables without 'id' to pass into the Project_InitiativesQuery
* @returns parsed response from Project_InitiativesQuery
*/
fetch(variables?: Omit<Project_InitiativesQueryVariables, "id">): LinearFetch<InitiativeConnection>;
}
/**
* A fetchable Project_InverseRelations Query
*
* @param request - function to call the graphql client
* @param id - required id to pass to project
* @param variables - variables without 'id' to pass into the Project_InverseRelationsQuery
*/
declare class Project_InverseRelationsQuery extends Request {
private _id;
private _variables?;
constructor(request: LinearRequest, id: string, variables?: Omit<Project_InverseRelationsQueryVariables, "id">);
/**
* Call the Project_InverseRelations query and return a ProjectRelationConnection
*
* @param variables - variables without 'id' to pass into the Project_InverseRelationsQuery
* @returns parsed response from Project_InverseRelationsQuery
*/
fetch(variables?: Omit<Project_InverseRelationsQueryVariables, "id">): LinearFetch<ProjectRelationConnection>;
}
/**
* A fetchable Project_Issues Query
*
* @param request - function to call the graphql client
* @param id - required id to pass to project
* @param variables - variables without 'id' to pass into the Project_IssuesQuery
*/
declare class Project_IssuesQuery extends Request {
private _id;
private _variables?;
constructor(request: LinearRequest, id: string, variables?: Omit<Project_IssuesQueryVariables, "id">);
/**
* Call the Project_Issues query and return a IssueConnection
*
* @param variables - variables without 'id' to pass into the Project_IssuesQuery
* @returns parsed response from Project_IssuesQuery
*/
fetch(variables?: Omit<Project_IssuesQueryVariables, "id">): LinearFetch<IssueConnection>;
}
/**
* A fetchable Project_Labels Query
*
* @param request - function to call the graphql client
* @param id - required id to pass to project
* @param variables - variables without 'id' to pass into the Project_LabelsQuery
*/
declare class Project_LabelsQuery extends Request {
private _id;
private _variables?;
constructor(request: LinearRequest, id: string, variables?: Omit<Project_LabelsQueryVariables, "id">);
/**
* Call the Project_Labels query and return a ProjectLabelConnection
*
* @param variables - variables without 'id' to pass into the Project_LabelsQuery
* @returns parsed response from Project_LabelsQuery
*/
fetch(variables?: Omit<Project_LabelsQueryVariables, "id">): LinearFetch<ProjectLabelConnection>;
}
/**
* A fetchable Project_Members Query
*
* @param request - function to call the graphql client
* @param id - required id to pass to project
* @param variables - variables without 'id' to pass into the Project_MembersQuery
*/
declare class Project_MembersQuery extends Request {
private _id;
private _variables?;
constructor(request: LinearRequest, id: string, variables?: Omit<Project_MembersQueryVariables, "id">);
/**
* Call the Project_Members query and return a UserConnection
*
* @param variables - variables without 'id' to pass into the Project_MembersQuery
* @returns parsed response from Project_MembersQuery
*/
fetch(variables?: Omit<Project_MembersQueryVariables, "id">): LinearFetch<UserConnection>;
}
/**
* A fetchable Project_Needs Query
*
* @param request - function to call the graphql client
* @param id - required id to pass to project
* @param variables - variables without 'id' to pass into the Project_NeedsQuery
*/
declare class Project_NeedsQuery extends Request {
private _id;
private _variables?;
constructor(request: LinearRequest, id: string, variables?: Omit<Project_NeedsQueryVariables, "id">);
/**
* Call the Project_Needs query and return a CustomerNeedConnection
*
* @param variables - variables without 'id' to pass into the Project_NeedsQuery
* @returns parsed response from Project_NeedsQuery
*/
fetch(variables?: Omit<Project_NeedsQueryVariables, "id">): LinearFetch<CustomerNeedConnection>;
}
/**
* A fetchable Project_ProjectMilestones Query
*
* @param request - function to call the graphql client
* @param id - required id to pass to project
* @param variables - variables without 'id' to pass into the Project_ProjectMilestonesQuery
*/
declare class Project_ProjectMilestonesQuery extends Request {
private _id;
private _variables?;
constructor(request: LinearRequest, id: string, variables?: Omit<Project_ProjectMilestonesQueryVariables, "id">);
/**
* Call the Project_ProjectMilestones query and return a ProjectMilestoneConnection
*
* @param variables - variables without 'id' to pass into the Project_ProjectMilestonesQuery
* @returns parsed response from Project_ProjectMilestonesQuery
*/
fetch(variables?: Omit<Project_ProjectMilestonesQueryVariables, "id">): LinearFetch<ProjectMilestoneConnection>;
}
/**
* A fetchable Project_ProjectUpdates Query
*
* @param request - function to call the graphql client
* @param id - required id to pass to project
* @param variables - variables without 'id' to pass into the Project_ProjectUpdatesQuery
*/
declare class Project_ProjectUpdatesQuery extends Request {
private _id;
private _variables?;
constructor(request: LinearRequest, id: string, variables?: Omit<Project_ProjectUpdatesQueryVariables, "id">);
/**
* Call the Project_ProjectUpdates query and return a ProjectUpdateConnection
*
* @param variables - variables without 'id' to pass into the Project_ProjectUpdatesQuery
* @returns parsed response from Project_ProjectUpdatesQuery
*/
fetch(variables?: Omit<Project_ProjectUpdatesQueryVariables, "id">): LinearFetch<ProjectUpdateConnection>;
}
/**
* A fetchable Project_Relations Query
*
* @param request - function to call the graphql client
* @param id - required id to pass to project
* @param variables - variables without 'id' to pass into the Project_RelationsQuery
*/
declare class Project_RelationsQuery extends Request {
private _id;
private _variables?;
constructor(request: LinearRequest, id: string, variables?: Omit<Project_RelationsQueryVariables, "id">);
/**
* Call the Project_Relations query and return a ProjectRelationConnection
*
* @param variables - variables without 'id' to pass into the Project_RelationsQuery
* @returns parsed response from Project_RelationsQuery
*/
fetch(variables?: Omit<Project_RelationsQueryVariables, "id">): LinearFetch<ProjectRelationConnection>;
}
/**
* A fetchable Project_Teams Query
*
* @param request - function to call the graphql client
* @param id - required id to pass to project
* @param variables - variables without 'id' to pass into the Project_TeamsQuery
*/
declare class Project_TeamsQuery extends Request {
private _id;
private _variables?;
constructor(request: LinearRequest, id: string, variables?: Omit<Project_TeamsQueryVariables, "id">);
/**
* Call the Project_Teams query and return a TeamConnection
*
* @param variables - variables without 'id' to pass into the Project_TeamsQuery
* @returns parsed response from Project_TeamsQuery
*/
fetch(variables?: Omit<Project_TeamsQueryVariables, "id">): LinearFetch<TeamConnection>;
}
/**
* A fetchable Project_DocumentContent_AiPromptRules Query
*
* @param request - function to call the graphql client
* @param id - required id to pass to project_documentContent
*/
declare class Project_DocumentContent_AiPromptRulesQuery extends Request {
private _id;
constructor(request: LinearRequest, id: string);
/**
* Call the Project_DocumentContent_AiPromptRules query and return a AiPromptRules
*
* @returns parsed response from Project_DocumentContent_AiPromptRulesQuery
*/
fetch(): LinearFetch<AiPromptRules | undefined>;
}
/**
* A fetchable Project_DocumentContent_WelcomeMessage Query
*
* @param request - function to call the graphql client
* @param id - required id to pass to project_documentContent
*/
declare class Project_DocumentContent_WelcomeMessageQuery extends Request {
private _id;
constructor(request: LinearRequest, id: string);
/**
* Call the Project_DocumentContent_WelcomeMessage query and return a WelcomeMessage
*
* @returns parsed response from Project_DocumentContent_WelcomeMessageQuery
*/
fetch(): LinearFetch<WelcomeMessage | undefined>;
}
/**
* A fetchable ProjectLabel_Children Query
*
* @param request - function to call the graphql client
* @param id - required id to pass to projectLabel
* @param variables - variables without 'id' to pass into the ProjectLabel_ChildrenQuery
*/
declare class ProjectLabel_ChildrenQuery extends Request {
private _id;
private _variables?;
constructor(request: LinearRequest, id: string, variables?: Omit<ProjectLabel_ChildrenQueryVariables, "id">);
/**
* Call the ProjectLabel_Children query and return a ProjectLabelConnection
*
* @param variables - variables without 'id' to pass into the ProjectLabel_ChildrenQuery
* @returns parsed response from ProjectLabel_ChildrenQuery
*/
fetch(variables?: Omit<ProjectLabel_ChildrenQueryVariables, "id">): LinearFetch<ProjectLabelConnection>;
}
/**
* A fetchable ProjectLabel_Projects Query
*
* @param request - function to call the graphql client
* @param id - required id to pass to projectLabel
* @param variables - variables without 'id' to pass into the ProjectLabel_ProjectsQuery
*/
declare class ProjectLabel_ProjectsQuery extends Request {
private _id;
private _variables?;
constructor(request: LinearRequest, id: string, variables?: Omit<ProjectLabel_ProjectsQueryVariables, "id">);
/**
* Call the ProjectLabel_Projects query and return a ProjectConnection
*
* @param variables - variables without 'id' to pass into the ProjectLabel_ProjectsQuery
* @returns parsed response from ProjectLabel_ProjectsQuery
*/
fetch(variables?: Omit<ProjectLabel_ProjectsQueryVariables, "id">): LinearFetch<ProjectConnection>;
}
/**
* A fetchable ProjectMilestone_DocumentContent Query
*
* @param request - function to call the graphql client
* @param id - required id to pass to projectMilestone
*/
declare class ProjectMilestone_DocumentContentQuery extends Request {
private _id;
constructor(request: LinearRequest, id: string);
/**
* Call the ProjectMilestone_DocumentContent query and return a DocumentContent
*
* @returns parsed response from ProjectMilestone_DocumentContentQuery
*/
fetch(): LinearFetch<DocumentContent | undefined>;
}
/**
* A fetchable ProjectMilestone_Issues Query
*
* @param request - function to call the graphql client
* @param id - required id to pass to projectMilestone
* @param variables - variables without 'id' to pass into the ProjectMilestone_IssuesQuery
*/
declare class ProjectMilestone_IssuesQuery extends Request {
private _id;
private _variables?;
constructor(request: LinearRequest, id: string, variables?: Omit<ProjectMilestone_IssuesQueryVariables, "id">);
/**
* Call the ProjectMilestone_Issues query and return a IssueConnection
*
* @param variables - variables without 'id' to pass into the ProjectMilestone_IssuesQuery
* @returns parsed response from ProjectMilestone_IssuesQuery
*/
fetch(variables?: Omit<ProjectMilestone_IssuesQueryVariables, "id">): LinearFetch<IssueConnection>;
}
/**
* A fetchable ProjectMilestone_DocumentContent_AiPromptRules Query
*
* @param request - function to call the graphql client
* @param id - required id to pass to projectMilestone_documentContent
*/
declare class ProjectMilestone_DocumentContent_AiPromptRulesQuery extends Request {
private _id;
constructor(request: LinearRequest, id: string);
/**
* Call the ProjectMilestone_DocumentContent_AiPromptRules query and return a AiPromptRules
*
* @returns parsed response from ProjectMilestone_DocumentContent_AiPromptRulesQuery
*/
fetch(): LinearFetch<AiPromptRules | undefined>;
}
/**
* A fetchable ProjectMilestone_DocumentContent_WelcomeMessage Query
*
* @param request - function to call the graphql client
* @param id - required id to pass to projectMilestone_documentContent
*/
declare class ProjectMilestone_DocumentContent_WelcomeMessageQuery extends Request {
private _id;
constructor(request: LinearRequest, id: string);
/**
* Call the ProjectMilestone_DocumentContent_WelcomeMessage query and return a WelcomeMessage
*
* @returns parsed response from ProjectMilestone_DocumentContent_WelcomeMessageQuery
*/
fetch(): LinearFetch<WelcomeMessage | undefined>;
}
/**
* A fetchable ProjectUpdate_Comments Query
*
* @param request - function to call the graphql client
* @param id - required id to pass to projectUpdate
* @param variables - variables without 'id' to pass into the ProjectUpdate_CommentsQuery
*/
declare class ProjectUpdate_CommentsQuery extends Request {
private _id;
private _variables?;
constructor(request: LinearRequest, id: string, variables?: Omit<ProjectUpdate_CommentsQueryVariables, "id">);
/**
* Call the ProjectUpdate_Comments query and return a CommentConnection
*
* @param variables - variables without 'id' to pass into the ProjectUpdate_CommentsQuery
* @returns parsed response from ProjectUpdate_CommentsQuery
*/
fetch(variables?: Omit<ProjectUpdate_CommentsQueryVariables, "id">): LinearFetch<CommentConnection>;
}
/**
* A fetchable Release_Documents Query
*
* @param request - function to call the graphql client
* @param id - required id to pass to release
* @param variables - variables without 'id' to pass into the Release_DocumentsQuery
*/
declare class Release_DocumentsQuery extends Request {
private _id;
private _variables?;
constructor(request: LinearRequest, id: string, variables?: Omit<Release_DocumentsQueryVariables, "id">);
/**
* Call the Release_Documents query and return a DocumentConnection
*
* @param variables - variables without 'id' to pass into the Release_DocumentsQuery
* @returns parsed response from Release_DocumentsQuery
*/
fetch(variables?: Omit<Release_DocumentsQueryVariables, "id">): LinearFetch<DocumentConnection>;
}
/**
* A fetchable Release_History Query
*
* @param request - function to call the graphql client
* @param id - required id to pass to release
* @param variables - variables without 'id' to pass into the Release_HistoryQuery
*/
declare class Release_HistoryQuery extends Request {
private _id;
private _variables?;
constructor(request: LinearRequest, id: string, variables?: Omit<Release_HistoryQueryVariables, "id">);
/**
* Call the Release_History query and return a ReleaseHistoryConnection
*
* @param variables - variables without 'id' to pass into the Release_HistoryQuery
* @returns parsed response from Release_HistoryQuery
*/
fetch(variables?: Omit<Release_HistoryQueryVariables, "id">): LinearFetch<ReleaseHistoryConnection>;
}
/**
* A fetchable Release_Issues Query
*
* @param request - function to call the graphql client
* @param id - required id to pass to release
* @param variables - variables without 'id' to pass into the Release_IssuesQuery
*/
declare class Release_IssuesQuery extends Request {
private _id;
private _variables?;
constructor(request: LinearRequest, id: string, variables?: Omit<Release_IssuesQueryVariables, "id">);
/**
* Call the Release_Issues query and return a IssueConnection
*
* @param variables - variables without 'id' to pass into the Release_IssuesQuery
* @returns parsed response from Release_IssuesQuery
*/
fetch(variables?: Omit<Release_IssuesQueryVariables, "id">): LinearFetch<IssueConnection>;
}
/**
* A fetchable Release_Links Query
*
* @param request - function to call the graphql client
* @param id - required id to pass to release
* @param variables - variables without 'id' to pass into the Release_LinksQuery
*/
declare class Release_LinksQuery extends Request {
private _id;
private _variables?;
constructor(request: LinearRequest, id: string, variables?: Omit<Release_LinksQueryVariables, "id">);
/**
* Call the Release_Links query and return a EntityExternalLinkConnection
*
* @param variables - variables without 'id' to pass into the Release_LinksQuery
* @returns parsed response from Release_LinksQuery
*/
fetch(variables?: Omit<Release_LinksQueryVariables, "id">): LinearFetch<EntityExternalLinkConnection>;
}
/**
* A fetchable ReleaseNote_DocumentContent Query
*
* @param request - function to call the graphql client
* @param id - required id to pass to releaseNote
*/
declare class ReleaseNote_DocumentContentQuery extends Request {
private _id;
constructor(request: LinearRequest, id: string);
/**
* Call the ReleaseNote_DocumentContent query and return a DocumentContent
*
* @returns parsed response from ReleaseNote_DocumentContentQuery
*/
fetch(): LinearFetch<DocumentContent | undefined>;
}
/**
* A fetchable ReleaseNote_DocumentContent_AiPromptRules Query
*
* @param request - function to call the graphql client
* @param id - required id to pass to releaseNote_documentContent
*/
declare class ReleaseNote_DocumentContent_AiPromptRulesQuery extends Request {
private _id;
constructor(request: LinearRequest, id: string);
/**
* Call the ReleaseNote_DocumentContent_AiPromptRules query and return a AiPromptRules
*
* @returns parsed response from ReleaseNote_DocumentContent_AiPromptRulesQuery
*/
fetch(): LinearFetch<AiPromptRules | undefined>;
}
/**
* A fetchable ReleaseNote_DocumentContent_WelcomeMessage Query
*
* @param request - function to call the graphql client
* @param id - required id to pass to releaseNote_documentContent
*/
declare class ReleaseNote_DocumentContent_WelcomeMessageQuery extends Request {
private _id;
constructor(request: LinearRequest, id: string);
/**
* Call the ReleaseNote_DocumentContent_WelcomeMessage query and return a WelcomeMessage
*
* @returns parsed response from ReleaseNote_DocumentContent_WelcomeMessageQuery
*/
fetch(): LinearFetch<WelcomeMessage | undefined>;
}
/**
* A fetchable ReleasePipeline_Releases Query
*
* @param request - function to call the graphql client
* @param id - required id to pass to releasePipeline
* @param variables - variables without 'id' to pass into the ReleasePipeline_ReleasesQuery
*/
declare class ReleasePipeline_ReleasesQuery extends Request {
private _id;
private _variables?;
constructor(request: LinearRequest, id: string, variables?: Omit<ReleasePipeline_ReleasesQueryVariables, "id">);
/**
* Call the ReleasePipeline_Releases query and return a ReleaseConnection
*
* @param variables - variables without 'id' to pass into the ReleasePipeline_ReleasesQuery
* @returns parsed response from ReleasePipeline_ReleasesQuery
*/
fetch(variables?: Omit<ReleasePipeline_ReleasesQueryVariables, "id">): LinearFetch<ReleaseConnection>;
}
/**
* A fetchable ReleasePipeline_Stages Query
*
* @param request - function to call the graphql client
* @param id - required id to pass to releasePipeline
* @param variables - variables without 'id' to pass into the ReleasePipeline_StagesQuery
*/
declare class ReleasePipeline_StagesQuery extends Request {
private _id;
private _variables?;
constructor(request: LinearRequest, id: string, variables?: Omit<ReleasePipeline_StagesQueryVariables, "id">);
/**
* Call the ReleasePipeline_Stages query and return a ReleaseStageConnection
*
* @param variables - variables without 'id' to pass into the ReleasePipeline_StagesQuery
* @returns parsed response from ReleasePipeline_StagesQuery
*/
fetch(variables?: Omit<ReleasePipeline_StagesQueryVariables, "id">): LinearFetch<ReleaseStageConnection>;
}
/**
* A fetchable ReleasePipeline_Teams Query
*
* @param request - function to call the graphql client
* @param id - required id to pass to releasePipeline
* @param variables - variables without 'id' to pass into the ReleasePipeline_TeamsQuery
*/
declare class ReleasePipeline_TeamsQuery extends Request {
private _id;
private _variables?;
constructor(request: LinearRequest, id: string, variables?: Omit<ReleasePipeline_TeamsQueryVariables, "id">);
/**
* Call the ReleasePipeline_Teams query and return a TeamConnection
*
* @param variables - variables without 'id' to pass into the ReleasePipeline_TeamsQuery
* @returns parsed response from ReleasePipeline_TeamsQuery
*/
fetch(variables?: Omit<ReleasePipeline_TeamsQueryVariables, "id">): LinearFetch<TeamConnection>;
}
/**
* A fetchable ReleaseStage_Releases Query
*
* @param request - function to call the graphql client
* @param id - required id to pass to releaseStage
* @param variables - variables without 'id' to pass into the ReleaseStage_ReleasesQuery
*/
declare class ReleaseStage_ReleasesQuery extends Request {
private _id;
private _variables?;
constructor(request: LinearRequest, id: string, variables?: Omit<ReleaseStage_ReleasesQueryVariables, "id">);
/**
* Call the ReleaseStage_Releases query and return a ReleaseConnection
*
* @param variables - variables without 'id' to pass into the ReleaseStage_ReleasesQuery
* @returns parsed response from ReleaseStage_ReleasesQuery
*/
fetch(variables?: Omit<ReleaseStage_ReleasesQueryVariables, "id">): LinearFetch<ReleaseConnection>;
}
/**
* A fetchable Roadmap_Projects Query
*
* @param request - function to call the graphql client
* @param id - required id to pass to roadmap
* @param variables - variables without 'id' to pass into the Roadmap_ProjectsQuery
*/
declare class Roadmap_ProjectsQuery extends Request {
private _id;
private _variables?;
constructor(request: LinearRequest, id: string, variables?: Omit<Roadmap_ProjectsQueryVariables, "id">);
/**
* Call the Roadmap_Projects query and return a ProjectConnection
*
* @param variables - variables without 'id' to pass into the Roadmap_ProjectsQuery
* @returns parsed response from Roadmap_ProjectsQuery
*/
fetch(variables?: Omit<Roadmap_ProjectsQueryVariables, "id">): LinearFetch<ProjectConnection>;
}
/**
* A fetchable SearchDocuments_ArchivePayload Query
*
* @param request - function to call the graphql client
* @param term - required term to pass to searchDocuments
* @param variables - variables without 'term' to pass into the SearchDocuments_ArchivePayloadQuery
*/
declare class SearchDocuments_ArchivePayloadQuery extends Request {
private _term;
private _variables?;
constructor(request: LinearRequest, term: string, variables?: Omit<SearchDocuments_ArchivePayloadQueryVariables, "term">);
/**
* Call the SearchDocuments_ArchivePayload query and return a ArchiveResponse
*
* @param variables - variables without 'term' to pass into the SearchDocuments_ArchivePayloadQuery
* @returns parsed response from SearchDocuments_ArchivePayloadQuery
*/
fetch(variables?: Omit<SearchDocuments_ArchivePayloadQueryVariables, "term">): LinearFetch<ArchiveResponse>;
}
/**
* A fetchable SearchIssues_ArchivePayload Query
*
* @param request - function to call the graphql client
* @param term - required term to pass to searchIssues
* @param variables - variables without 'term' to pass into the SearchIssues_ArchivePayloadQuery
*/
declare class SearchIssues_ArchivePayloadQuery extends Request {
private _term;
private _variables?;
constructor(request: LinearRequest, term: string, variables?: Omit<SearchIssues_ArchivePayloadQueryVariables, "term">);
/**
* Call the SearchIssues_ArchivePayload query and return a ArchiveResponse
*
* @param variables - variables without 'term' to pass into the SearchIssues_ArchivePayloadQuery
* @returns parsed response from SearchIssues_ArchivePayloadQuery
*/
fetch(variables?: Omit<SearchIssues_ArchivePayloadQueryVariables, "term">): LinearFetch<ArchiveResponse>;
}
/**
* A fetchable SearchProjects_ArchivePayload Query
*
* @param request - function to call the graphql client
* @param term - required term to pass to searchProjects
* @param variables - variables without 'term' to pass into the SearchProjects_ArchivePayloadQuery
*/
declare class SearchProjects_ArchivePayloadQuery extends Request {
private _term;
private _variables?;
constructor(request: LinearRequest, term: string, variables?: Omit<SearchProjects_ArchivePayloadQueryVariables, "term">);
/**
* Call the SearchProjects_ArchivePayload query and return a ArchiveResponse
*
* @param variables - variables without 'term' to pass into the SearchProjects_ArchivePayloadQuery
* @returns parsed response from SearchProjects_ArchivePayloadQuery
*/
fetch(variables?: Omit<SearchProjects_ArchivePayloadQueryVariables, "term">): LinearFetch<ArchiveResponse>;
}
/**
* A fetchable Team_Cycles Query
*
* @param request - function to call the graphql client
* @param id - required id to pass to team
* @param variables - variables without 'id' to pass into the Team_CyclesQuery
*/
declare class Team_CyclesQuery extends Request {
private _id;
private _variables?;
constructor(request: LinearRequest, id: string, variables?: Omit<Team_CyclesQueryVariables, "id">);
/**
* Call the Team_Cycles query and return a CycleConnection
*
* @param variables - variables without 'id' to pass into the Team_CyclesQuery
* @returns parsed response from Team_CyclesQuery
*/
fetch(variables?: Omit<Team_CyclesQueryVariables, "id">): LinearFetch<CycleConnection>;
}
/**
* A fetchable Team_GitAutomationStates Query
*
* @param request - function to call the graphql client
* @param id - required id to pass to team
* @param variables - variables without 'id' to pass into the Team_GitAutomationStatesQuery
*/
declare class Team_GitAutomationStatesQuery extends Request {
private _id;
private _variables?;
constructor(request: LinearRequest, id: string, variables?: Omit<Team_GitAutomationStatesQueryVariables, "id">);
/**
* Call the Team_GitAutomationStates query and return a GitAutomationStateConnection
*
* @param variables - variables without 'id' to pass into the Team_GitAutomationStatesQuery
* @returns parsed response from Team_GitAutomationStatesQuery
*/
fetch(variables?: Omit<Team_GitAutomationStatesQueryVariables, "id">): LinearFetch<GitAutomationStateConnection>;
}
/**
* A fetchable Team_Issues Query
*
* @param request - function to call the graphql client
* @param id - required id to pass to team
* @param variables - variables without 'id' to pass into the Team_IssuesQuery
*/
declare class Team_IssuesQuery extends Request {
private _id;
private _variables?;
constructor(request: LinearRequest, id: string, variables?: Omit<Team_IssuesQueryVariables, "id">);
/**
* Call the Team_Issues query and return a IssueConnection
*
* @param variables - variables without 'id' to pass into the Team_IssuesQuery
* @returns parsed response from Team_IssuesQuery
*/
fetch(variables?: Omit<Team_IssuesQueryVariables, "id">): LinearFetch<IssueConnection>;
}
/**
* A fetchable Team_Labels Query
*
* @param request - function to call the graphql client
* @param id - required id to pass to team
* @param variables - variables without 'id' to pass into the Team_LabelsQuery
*/
declare class Team_LabelsQuery extends Request {
private _id;
private _variables?;
constructor(request: LinearRequest, id: string, variables?: Omit<Team_LabelsQueryVariables, "id">);
/**
* Call the Team_Labels query and return a IssueLabelConnection
*
* @param variables - variables without 'id' to pass into the Team_LabelsQuery
* @returns parsed response from Team_LabelsQuery
*/
fetch(variables?: Omit<Team_LabelsQueryVariables, "id">): LinearFetch<IssueLabelConnection>;
}
/**
* A fetchable Team_Members Query
*
* @param request - function to call the graphql client
* @param id - required id to pass to team
* @param variables - variables without 'id' to pass into the Team_MembersQuery
*/
declare class Team_MembersQuery extends Request {
private _id;
private _variables?;
constructor(request: LinearRequest, id: string, variables?: Omit<Team_MembersQueryVariables, "id">);
/**
* Call the Team_Members query and return a UserConnection
*
* @param variables - variables without 'id' to pass into the Team_MembersQuery
* @returns parsed response from Team_MembersQuery
*/
fetch(variables?: Omit<Team_MembersQueryVariables, "id">): LinearFetch<UserConnection>;
}
/**
* A fetchable Team_Memberships Query
*
* @param request - function to call the graphql client
* @param id - required id to pass to team
* @param variables - variables without 'id' to pass into the Team_MembershipsQuery
*/
declare class Team_MembershipsQuery extends Request {
private _id;
private _variables?;
constructor(request: LinearRequest, id: string, variables?: Omit<Team_MembershipsQueryVariables, "id">);
/**
* Call the Team_Memberships query and return a TeamMembershipConnection
*
* @param variables - variables without 'id' to pass into the Team_MembershipsQuery
* @returns parsed response from Team_MembershipsQuery
*/
fetch(variables?: Omit<Team_MembershipsQueryVariables, "id">): LinearFetch<TeamMembershipConnection>;
}
/**
* A fetchable Team_Projects Query
*
* @param request - function to call the graphql client
* @param id - required id to pass to team
* @param variables - variables without 'id' to pass into the Team_ProjectsQuery
*/
declare class Team_ProjectsQuery extends Request {
private _id;
private _variables?;
constructor(request: LinearRequest, id: string, variables?: Omit<Team_ProjectsQueryVariables, "id">);
/**
* Call the Team_Projects query and return a ProjectConnection
*
* @param variables - variables without 'id' to pass into the Team_ProjectsQuery
* @returns parsed response from Team_ProjectsQuery
*/
fetch(variables?: Omit<Team_ProjectsQueryVariables, "id">): LinearFetch<ProjectConnection>;
}
/**
* A fetchable Team_ReleasePipelines Query
*
* @param request - function to call the graphql client
* @param id - required id to pass to team
* @param variables - variables without 'id' to pass into the Team_ReleasePipelinesQuery
*/
declare class Team_ReleasePipelinesQuery extends Request {
private _id;
private _variables?;
constructor(request: LinearRequest, id: string, variables?: Omit<Team_ReleasePipelinesQueryVariables, "id">);
/**
* Call the Team_ReleasePipelines query and return a ReleasePipelineConnection
*
* @param variables - variables without 'id' to pass into the Team_ReleasePipelinesQuery
* @returns parsed response from Team_ReleasePipelinesQuery
*/
fetch(variables?: Omit<Team_ReleasePipelinesQueryVariables, "id">): LinearFetch<ReleasePipelineConnection>;
}
/**
* A fetchable Team_States Query
*
* @param request - function to call the graphql client
* @param id - required id to pass to team
* @param variables - variables without 'id' to pass into the Team_StatesQuery
*/
declare class Team_StatesQuery extends Request {
private _id;
private _variables?;
constructor(request: LinearRequest, id: string, variables?: Omit<Team_StatesQueryVariables, "id">);
/**
* Call the Team_States query and return a WorkflowStateConnection
*
* @param variables - variables without 'id' to pass into the Team_StatesQuery
* @returns parsed response from Team_StatesQuery
*/
fetch(variables?: Omit<Team_StatesQueryVariables, "id">): LinearFetch<WorkflowStateConnection>;
}
/**
* A fetchable Team_Templates Query
*
* @param request - function to call the graphql client
* @param id - required id to pass to team
* @param variables - variables without 'id' to pass into the Team_TemplatesQuery
*/
declare class Team_TemplatesQuery extends Request {
private _id;
private _variables?;
constructor(request: LinearRequest, id: string, variables?: Omit<Team_TemplatesQueryVariables, "id">);
/**
* Call the Team_Templates query and return a TemplateConnection
*
* @param variables - variables without 'id' to pass into the Team_TemplatesQuery
* @returns parsed response from Team_TemplatesQuery
*/
fetch(variables?: Omit<Team_TemplatesQueryVariables, "id">): LinearFetch<TemplateConnection>;
}
/**
* A fetchable Team_Webhooks Query
*
* @param request - function to call the graphql client
* @param id - required id to pass to team
* @param variables - variables without 'id' to pass into the Team_WebhooksQuery
*/
declare class Team_WebhooksQuery extends Request {
private _id;
private _variables?;
constructor(request: LinearRequest, id: string, variables?: Omit<Team_WebhooksQueryVariables, "id">);
/**
* Call the Team_Webhooks query and return a WebhookConnection
*
* @param variables - variables without 'id' to pass into the Team_WebhooksQuery
* @returns parsed response from Team_WebhooksQuery
*/
fetch(variables?: Omit<Team_WebhooksQueryVariables, "id">): LinearFetch<WebhookConnection>;
}
/**
* A fetchable TriageResponsibility_ManualSelection Query
*
* @param request - function to call the graphql client
* @param id - required id to pass to triageResponsibility
*/
declare class TriageResponsibility_ManualSelectionQuery extends Request {
private _id;
constructor(request: LinearRequest, id: string);
/**
* Call the TriageResponsibility_ManualSelection query and return a TriageResponsibilityManualSelection
*
* @returns parsed response from TriageResponsibility_ManualSelectionQuery
*/
fetch(): LinearFetch<TriageResponsibilityManualSelection | undefined>;
}
/**
* A fetchable User_AssignedIssues Query
*
* @param request - function to call the graphql client
* @param id - required id to pass to user
* @param variables - variables without 'id' to pass into the User_AssignedIssuesQuery
*/
declare class User_AssignedIssuesQuery extends Request {
private _id;
private _variables?;
constructor(request: LinearRequest, id: string, variables?: Omit<User_AssignedIssuesQueryVariables, "id">);
/**
* Call the User_AssignedIssues query and return a IssueConnection
*
* @param variables - variables without 'id' to pass into the User_AssignedIssuesQuery
* @returns parsed response from User_AssignedIssuesQuery
*/
fetch(variables?: Omit<User_AssignedIssuesQueryVariables, "id">): LinearFetch<IssueConnection>;
}
/**
* A fetchable User_CreatedIssues Query
*
* @param request - function to call the graphql client
* @param id - required id to pass to user
* @param variables - variables without 'id' to pass into the User_CreatedIssuesQuery
*/
declare class User_CreatedIssuesQuery extends Request {
private _id;
private _variables?;
constructor(request: LinearRequest, id: string, variables?: Omit<User_CreatedIssuesQueryVariables, "id">);
/**
* Call the User_CreatedIssues query and return a IssueConnection
*
* @param variables - variables without 'id' to pass into the User_CreatedIssuesQuery
* @returns parsed response from User_CreatedIssuesQuery
*/
fetch(variables?: Omit<User_CreatedIssuesQueryVariables, "id">): LinearFetch<IssueConnection>;
}
/**
* A fetchable User_DelegatedIssues Query
*
* @param request - function to call the graphql client
* @param id - required id to pass to user
* @param variables - variables without 'id' to pass into the User_DelegatedIssuesQuery
*/
declare class User_DelegatedIssuesQuery extends Request {
private _id;
private _variables?;
constructor(request: LinearRequest, id: string, variables?: Omit<User_DelegatedIssuesQueryVariables, "id">);
/**
* Call the User_DelegatedIssues query and return a IssueConnection
*
* @param variables - variables without 'id' to pass into the User_DelegatedIssuesQuery
* @returns parsed response from User_DelegatedIssuesQuery
*/
fetch(variables?: Omit<User_DelegatedIssuesQueryVariables, "id">): LinearFetch<IssueConnection>;
}
/**
* A fetchable User_Drafts Query
*
* @param request - function to call the graphql client
* @param id - required id to pass to user
* @param variables - variables without 'id' to pass into the User_DraftsQuery
*/
declare class User_DraftsQuery extends Request {
private _id;
private _variables?;
constructor(request: LinearRequest, id: string, variables?: Omit<User_DraftsQueryVariables, "id">);
/**
* Call the User_Drafts query and return a DraftConnection
*
* @param variables - variables without 'id' to pass into the User_DraftsQuery
* @returns parsed response from User_DraftsQuery
*/
fetch(variables?: Omit<User_DraftsQueryVariables, "id">): LinearFetch<DraftConnection>;
}
/**
* A fetchable User_TeamMemberships Query
*
* @param request - function to call the graphql client
* @param id - required id to pass to user
* @param variables - variables without 'id' to pass into the User_TeamMembershipsQuery
*/
declare class User_TeamMembershipsQuery extends Request {
private _id;
private _variables?;
constructor(request: LinearRequest, id: string, variables?: Omit<User_TeamMembershipsQueryVariables, "id">);
/**
* Call the User_TeamMemberships query and return a TeamMembershipConnection
*
* @param variables - variables without 'id' to pass into the User_TeamMembershipsQuery
* @returns parsed response from User_TeamMembershipsQuery
*/
fetch(variables?: Omit<User_TeamMembershipsQueryVariables, "id">): LinearFetch<TeamMembershipConnection>;
}
/**
* A fetchable User_Teams Query
*
* @param request - function to call the graphql client
* @param id - required id to pass to user
* @param variables - variables without 'id' to pass into the User_TeamsQuery
*/
declare class User_TeamsQuery extends Request {
private _id;
private _variables?;
constructor(request: LinearRequest, id: string, variables?: Omit<User_TeamsQueryVariables, "id">);
/**
* Call the User_Teams query and return a TeamConnection
*
* @param variables - variables without 'id' to pass into the User_TeamsQuery
* @returns parsed response from User_TeamsQuery
*/
fetch(variables?: Omit<User_TeamsQueryVariables, "id">): LinearFetch<TeamConnection>;
}
/**
* A fetchable UserSettings_NotificationCategoryPreferences Query
*
* @param request - function to call the graphql client
*/
declare class UserSettings_NotificationCategoryPreferencesQuery extends Request {
constructor(request: LinearRequest);
/**
* Call the UserSettings_NotificationCategoryPreferences query and return a NotificationCategoryPreferences
*
* @returns parsed response from UserSettings_NotificationCategoryPreferencesQuery
*/
fetch(): LinearFetch<NotificationCategoryPreferences>;
}
/**
* A fetchable UserSettings_NotificationChannelPreferences Query
*
* @param request - function to call the graphql client
*/
declare class UserSettings_NotificationChannelPreferencesQuery extends Request {
constructor(request: LinearRequest);
/**
* Call the UserSettings_NotificationChannelPreferences query and return a NotificationChannelPreferences
*
* @returns parsed response from UserSettings_NotificationChannelPreferencesQuery
*/
fetch(): LinearFetch<NotificationChannelPreferences>;
}
/**
* A fetchable UserSettings_NotificationDeliveryPreferences Query
*
* @param request - function to call the graphql client
*/
declare class UserSettings_NotificationDeliveryPreferencesQuery extends Request {
constructor(request: LinearRequest);
/**
* Call the UserSettings_NotificationDeliveryPreferences query and return a NotificationDeliveryPreferences
*
* @returns parsed response from UserSettings_NotificationDeliveryPreferencesQuery
*/
fetch(): LinearFetch<NotificationDeliveryPreferences>;
}
/**
* A fetchable UserSettings_Theme Query
*
* @param request - function to call the graphql client
* @param variables - variables to pass into the UserSettings_ThemeQuery
*/
declare class UserSettings_ThemeQuery extends Request {
private _variables?;
constructor(request: LinearRequest, variables?: UserSettings_ThemeQueryVariables);
/**
* Call the UserSettings_Theme query and return a UserSettingsTheme
*
* @param variables - variables to pass into the UserSettings_ThemeQuery
* @returns parsed response from UserSettings_ThemeQuery
*/
fetch(variables?: UserSettings_ThemeQueryVariables): LinearFetch<UserSettingsTheme | undefined>;
}
/**
* A fetchable UserSettings_NotificationCategoryPreferences_AppsAndIntegrations Query
*
* @param request - function to call the graphql client
*/
declare class UserSettings_NotificationCategoryPreferences_AppsAndIntegrationsQuery extends Request {
constructor(request: LinearRequest);
/**
* Call the UserSettings_NotificationCategoryPreferences_AppsAndIntegrations query and return a NotificationChannelPreferences
*
* @returns parsed response from UserSettings_NotificationCategoryPreferences_AppsAndIntegrationsQuery
*/
fetch(): LinearFetch<NotificationChannelPreferences>;
}
/**
* A fetchable UserSettings_NotificationCategoryPreferences_Assignments Query
*
* @param request - function to call the graphql client
*/
declare class UserSettings_NotificationCategoryPreferences_AssignmentsQuery extends Request {
constructor(request: LinearRequest);
/**
* Call the UserSettings_NotificationCategoryPreferences_Assignments query and return a NotificationChannelPreferences
*
* @returns parsed response from UserSettings_NotificationCategoryPreferences_AssignmentsQuery
*/
fetch(): LinearFetch<NotificationChannelPreferences>;
}
/**
* A fetchable UserSettings_NotificationCategoryPreferences_Billing Query
*
* @param request - function to call the graphql client
*/
declare class UserSettings_NotificationCategoryPreferences_BillingQuery extends Request {
constructor(request: LinearRequest);
/**
* Call the UserSettings_NotificationCategoryPreferences_Billing query and return a NotificationChannelPreferences
*
* @returns parsed response from UserSettings_NotificationCategoryPreferences_BillingQuery
*/
fetch(): LinearFetch<NotificationChannelPreferences>;
}
/**
* A fetchable UserSettings_NotificationCategoryPreferences_CommentsAndReplies Query
*
* @param request - function to call the graphql client
*/
declare class UserSettings_NotificationCategoryPreferences_CommentsAndRepliesQuery extends Request {
constructor(request: LinearRequest);
/**
* Call the UserSettings_NotificationCategoryPreferences_CommentsAndReplies query and return a NotificationChannelPreferences
*
* @returns parsed response from UserSettings_NotificationCategoryPreferences_CommentsAndRepliesQuery
*/
fetch(): LinearFetch<NotificationChannelPreferences>;
}
/**
* A fetchable UserSettings_NotificationCategoryPreferences_Customers Query
*
* @param request - function to call the graphql client
*/
declare class UserSettings_NotificationCategoryPreferences_CustomersQuery extends Request {
constructor(request: LinearRequest);
/**
* Call the UserSettings_NotificationCategoryPreferences_Customers query and return a NotificationChannelPreferences
*
* @returns parsed response from UserSettings_NotificationCategoryPreferences_CustomersQuery
*/
fetch(): LinearFetch<NotificationChannelPreferences>;
}
/**
* A fetchable UserSettings_NotificationCategoryPreferences_DocumentChanges Query
*
* @param request - function to call the graphql client
*/
declare class UserSettings_NotificationCategoryPreferences_DocumentChangesQuery extends Request {
constructor(request: LinearRequest);
/**
* Call the UserSettings_NotificationCategoryPreferences_DocumentChanges query and return a NotificationChannelPreferences
*
* @returns parsed response from UserSettings_NotificationCategoryPreferences_DocumentChangesQuery
*/
fetch(): LinearFetch<NotificationChannelPreferences>;
}
/**
* A fetchable UserSettings_NotificationCategoryPreferences_Feed Query
*
* @param request - function to call the graphql client
*/
declare class UserSettings_NotificationCategoryPreferences_FeedQuery extends Request {
constructor(request: LinearRequest);
/**
* Call the UserSettings_NotificationCategoryPreferences_Feed query and return a NotificationChannelPreferences
*
* @returns parsed response from UserSettings_NotificationCategoryPreferences_FeedQuery
*/
fetch(): LinearFetch<NotificationChannelPreferences>;
}
/**
* A fetchable UserSettings_NotificationCategoryPreferences_Loops Query
*
* @param request - function to call the graphql client
*/
declare class UserSettings_NotificationCategoryPreferences_LoopsQuery extends Request {
constructor(request: LinearRequest);
/**
* Call the UserSettings_NotificationCategoryPreferences_Loops query and return a NotificationChannelPreferences
*
* @returns parsed response from UserSettings_NotificationCategoryPreferences_LoopsQuery
*/
fetch(): LinearFetch<NotificationChannelPreferences>;
}
/**
* A fetchable UserSettings_NotificationCategoryPreferences_Mentions Query
*
* @param request - function to call the graphql client
*/
declare class UserSettings_NotificationCategoryPreferences_MentionsQuery extends Request {
constructor(request: LinearRequest);
/**
* Call the UserSettings_NotificationCategoryPreferences_Mentions query and return a NotificationChannelPreferences
*
* @returns parsed response from UserSettings_NotificationCategoryPreferences_MentionsQuery
*/
fetch(): LinearFetch<NotificationChannelPreferences>;
}
/**
* A fetchable UserSettings_NotificationCategoryPreferences_PostsAndUpdates Query
*
* @param request - function to call the graphql client
*/
declare class UserSettings_NotificationCategoryPreferences_PostsAndUpdatesQuery extends Request {
constructor(request: LinearRequest);
/**
* Call the UserSettings_NotificationCategoryPreferences_PostsAndUpdates query and return a NotificationChannelPreferences
*
* @returns parsed response from UserSettings_NotificationCategoryPreferences_PostsAndUpdatesQuery
*/
fetch(): LinearFetch<NotificationChannelPreferences>;
}
/**
* A fetchable UserSettings_NotificationCategoryPreferences_Reactions Query
*
* @param request - function to call the graphql client
*/
declare class UserSettings_NotificationCategoryPreferences_ReactionsQuery extends Request {
constructor(request: LinearRequest);
/**
* Call the UserSettings_NotificationCategoryPreferences_Reactions query and return a NotificationChannelPreferences
*
* @returns parsed response from UserSettings_NotificationCategoryPreferences_ReactionsQuery
*/
fetch(): LinearFetch<NotificationChannelPreferences>;
}
/**
* A fetchable UserSettings_NotificationCategoryPreferences_Reminders Query
*
* @param request - function to call the graphql client
*/
declare class UserSettings_NotificationCategoryPreferences_RemindersQuery extends Request {
constructor(request: LinearRequest);
/**
* Call the UserSettings_NotificationCategoryPreferences_Reminders query and return a NotificationChannelPreferences
*
* @returns parsed response from UserSettings_NotificationCategoryPreferences_RemindersQuery
*/
fetch(): LinearFetch<NotificationChannelPreferences>;
}
/**
* A fetchable UserSettings_NotificationCategoryPreferences_Reviews Query
*
* @param request - function to call the graphql client
*/
declare class UserSettings_NotificationCategoryPreferences_ReviewsQuery extends Request {
constructor(request: LinearRequest);
/**
* Call the UserSettings_NotificationCategoryPreferences_Reviews query and return a NotificationChannelPreferences
*
* @returns parsed response from UserSettings_NotificationCategoryPreferences_ReviewsQuery
*/
fetch(): LinearFetch<NotificationChannelPreferences>;
}
/**
* A fetchable UserSettings_NotificationCategoryPreferences_StatusChanges Query
*
* @param request - function to call the graphql client
*/
declare class UserSettings_NotificationCategoryPreferences_StatusChangesQuery extends Request {
constructor(request: LinearRequest);
/**
* Call the UserSettings_NotificationCategoryPreferences_StatusChanges query and return a NotificationChannelPreferences
*
* @returns parsed response from UserSettings_NotificationCategoryPreferences_StatusChangesQuery
*/
fetch(): LinearFetch<NotificationChannelPreferences>;
}
/**
* A fetchable UserSettings_NotificationCategoryPreferences_Subscriptions Query
*
* @param request - function to call the graphql client
*/
declare class UserSettings_NotificationCategoryPreferences_SubscriptionsQuery extends Request {
constructor(request: LinearRequest);
/**
* Call the UserSettings_NotificationCategoryPreferences_Subscriptions query and return a NotificationChannelPreferences
*
* @returns parsed response from UserSettings_NotificationCategoryPreferences_SubscriptionsQuery
*/
fetch(): LinearFetch<NotificationChannelPreferences>;
}
/**
* A fetchable UserSettings_NotificationCategoryPreferences_System Query
*
* @param request - function to call the graphql client
*/
declare class UserSettings_NotificationCategoryPreferences_SystemQuery extends Request {
constructor(request: LinearRequest);
/**
* Call the UserSettings_NotificationCategoryPreferences_System query and return a NotificationChannelPreferences
*
* @returns parsed response from UserSettings_NotificationCategoryPreferences_SystemQuery
*/
fetch(): LinearFetch<NotificationChannelPreferences>;
}
/**
* A fetchable UserSettings_NotificationCategoryPreferences_Triage Query
*
* @param request - function to call the graphql client
*/
declare class UserSettings_NotificationCategoryPreferences_TriageQuery extends Request {
constructor(request: LinearRequest);
/**
* Call the UserSettings_NotificationCategoryPreferences_Triage query and return a NotificationChannelPreferences
*
* @returns parsed response from UserSettings_NotificationCategoryPreferences_TriageQuery
*/
fetch(): LinearFetch<NotificationChannelPreferences>;
}
/**
* A fetchable UserSettings_NotificationDeliveryPreferences_Mobile Query
*
* @param request - function to call the graphql client
*/
declare class UserSettings_NotificationDeliveryPreferences_MobileQuery extends Request {
constructor(request: LinearRequest);
/**
* Call the UserSettings_NotificationDeliveryPreferences_Mobile query and return a NotificationDeliveryPreferencesChannel
*
* @returns parsed response from UserSettings_NotificationDeliveryPreferences_MobileQuery
*/
fetch(): LinearFetch<NotificationDeliveryPreferencesChannel | undefined>;
}
/**
* A fetchable UserSettings_NotificationDeliveryPreferences_Mobile_Schedule Query
*
* @param request - function to call the graphql client
*/
declare class UserSettings_NotificationDeliveryPreferences_Mobile_ScheduleQuery extends Request {
constructor(request: LinearRequest);
/**
* Call the UserSettings_NotificationDeliveryPreferences_Mobile_Schedule query and return a NotificationDeliveryPreferencesSchedule
*
* @returns parsed response from UserSettings_NotificationDeliveryPreferences_Mobile_ScheduleQuery
*/
fetch(): LinearFetch<NotificationDeliveryPreferencesSchedule | undefined>;
}
/**
* A fetchable UserSettings_NotificationDeliveryPreferences_Mobile_Schedule_Friday Query
*
* @param request - function to call the graphql client
*/
declare class UserSettings_NotificationDeliveryPreferences_Mobile_Schedule_FridayQuery extends Request {
constructor(request: LinearRequest);
/**
* Call the UserSettings_NotificationDeliveryPreferences_Mobile_Schedule_Friday query and return a NotificationDeliveryPreferencesDay
*
* @returns parsed response from UserSettings_NotificationDeliveryPreferences_Mobile_Schedule_FridayQuery
*/
fetch(): LinearFetch<NotificationDeliveryPreferencesDay | undefined>;
}
/**
* A fetchable UserSettings_NotificationDeliveryPreferences_Mobile_Schedule_Monday Query
*
* @param request - function to call the graphql client
*/
declare class UserSettings_NotificationDeliveryPreferences_Mobile_Schedule_MondayQuery extends Request {
constructor(request: LinearRequest);
/**
* Call the UserSettings_NotificationDeliveryPreferences_Mobile_Schedule_Monday query and return a NotificationDeliveryPreferencesDay
*
* @returns parsed response from UserSettings_NotificationDeliveryPreferences_Mobile_Schedule_MondayQuery
*/
fetch(): LinearFetch<NotificationDeliveryPreferencesDay | undefined>;
}
/**
* A fetchable UserSettings_NotificationDeliveryPreferences_Mobile_Schedule_Saturday Query
*
* @param request - function to call the graphql client
*/
declare class UserSettings_NotificationDeliveryPreferences_Mobile_Schedule_SaturdayQuery extends Request {
constructor(request: LinearRequest);
/**
* Call the UserSettings_NotificationDeliveryPreferences_Mobile_Schedule_Saturday query and return a NotificationDeliveryPreferencesDay
*
* @returns parsed response from UserSettings_NotificationDeliveryPreferences_Mobile_Schedule_SaturdayQuery
*/
fetch(): LinearFetch<NotificationDeliveryPreferencesDay | undefined>;
}
/**
* A fetchable UserSettings_NotificationDeliveryPreferences_Mobile_Schedule_Sunday Query
*
* @param request - function to call the graphql client
*/
declare class UserSettings_NotificationDeliveryPreferences_Mobile_Schedule_SundayQuery extends Request {
constructor(request: LinearRequest);
/**
* Call the UserSettings_NotificationDeliveryPreferences_Mobile_Schedule_Sunday query and return a NotificationDeliveryPreferencesDay
*
* @returns parsed response from UserSettings_NotificationDeliveryPreferences_Mobile_Schedule_SundayQuery
*/
fetch(): LinearFetch<NotificationDeliveryPreferencesDay | undefined>;
}
/**
* A fetchable UserSettings_NotificationDeliveryPreferences_Mobile_Schedule_Thursday Query
*
* @param request - function to call the graphql client
*/
declare class UserSettings_NotificationDeliveryPreferences_Mobile_Schedule_ThursdayQuery extends Request {
constructor(request: LinearRequest);
/**
* Call the UserSettings_NotificationDeliveryPreferences_Mobile_Schedule_Thursday query and return a NotificationDeliveryPreferencesDay
*
* @returns parsed response from UserSettings_NotificationDeliveryPreferences_Mobile_Schedule_ThursdayQuery
*/
fetch(): LinearFetch<NotificationDeliveryPreferencesDay | undefined>;
}
/**
* A fetchable UserSettings_NotificationDeliveryPreferences_Mobile_Schedule_Tuesday Query
*
* @param request - function to call the graphql client
*/
declare class UserSettings_NotificationDeliveryPreferences_Mobile_Schedule_TuesdayQuery extends Request {
constructor(request: LinearRequest);
/**
* Call the UserSettings_NotificationDeliveryPreferences_Mobile_Schedule_Tuesday query and return a NotificationDeliveryPreferencesDay
*
* @returns parsed response from UserSettings_NotificationDeliveryPreferences_Mobile_Schedule_TuesdayQuery
*/
fetch(): LinearFetch<NotificationDeliveryPreferencesDay | undefined>;
}
/**
* A fetchable UserSettings_NotificationDeliveryPreferences_Mobile_Schedule_Wednesday Query
*
* @param request - function to call the graphql client
*/
declare class UserSettings_NotificationDeliveryPreferences_Mobile_Schedule_WednesdayQuery extends Request {
constructor(request: LinearRequest);
/**
* Call the UserSettings_NotificationDeliveryPreferences_Mobile_Schedule_Wednesday query and return a NotificationDeliveryPreferencesDay
*
* @returns parsed response from UserSettings_NotificationDeliveryPreferences_Mobile_Schedule_WednesdayQuery
*/
fetch(): LinearFetch<NotificationDeliveryPreferencesDay | undefined>;
}
/**
* A fetchable UserSettings_Theme_Custom Query
*
* @param request - function to call the graphql client
* @param variables - variables to pass into the UserSettings_Theme_CustomQuery
*/
declare class UserSettings_Theme_CustomQuery extends Request {
private _variables?;
constructor(request: LinearRequest, variables?: UserSettings_Theme_CustomQueryVariables);
/**
* Call the UserSettings_Theme_Custom query and return a UserSettingsCustomTheme
*
* @param variables - variables to pass into the UserSettings_Theme_CustomQuery
* @returns parsed response from UserSettings_Theme_CustomQuery
*/
fetch(variables?: UserSettings_Theme_CustomQueryVariables): LinearFetch<UserSettingsCustomTheme | undefined>;
}
/**
* A fetchable UserSettings_Theme_Custom_Sidebar Query
*
* @param request - function to call the graphql client
* @param variables - variables to pass into the UserSettings_Theme_Custom_SidebarQuery
*/
declare class UserSettings_Theme_Custom_SidebarQuery extends Request {
private _variables?;
constructor(request: LinearRequest, variables?: UserSettings_Theme_Custom_SidebarQueryVariables);
/**
* Call the UserSettings_Theme_Custom_Sidebar query and return a UserSettingsCustomSidebarTheme
*
* @param variables - variables to pass into the UserSettings_Theme_Custom_SidebarQuery
* @returns parsed response from UserSettings_Theme_Custom_SidebarQuery
*/
fetch(variables?: UserSettings_Theme_Custom_SidebarQueryVariables): LinearFetch<UserSettingsCustomSidebarTheme | undefined>;
}
/**
* A fetchable Viewer_AssignedIssues Query
*
* @param request - function to call the graphql client
* @param variables - variables to pass into the Viewer_AssignedIssuesQuery
*/
declare class Viewer_AssignedIssuesQuery extends Request {
private _variables?;
constructor(request: LinearRequest, variables?: Viewer_AssignedIssuesQueryVariables);
/**
* Call the Viewer_AssignedIssues query and return a IssueConnection
*
* @param variables - variables to pass into the Viewer_AssignedIssuesQuery
* @returns parsed response from Viewer_AssignedIssuesQuery
*/
fetch(variables?: Viewer_AssignedIssuesQueryVariables): LinearFetch<IssueConnection>;
}
/**
* A fetchable Viewer_CreatedIssues Query
*
* @param request - function to call the graphql client
* @param variables - variables to pass into the Viewer_CreatedIssuesQuery
*/
declare class Viewer_CreatedIssuesQuery extends Request {
private _variables?;
constructor(request: LinearRequest, variables?: Viewer_CreatedIssuesQueryVariables);
/**
* Call the Viewer_CreatedIssues query and return a IssueConnection
*
* @param variables - variables to pass into the Viewer_CreatedIssuesQuery
* @returns parsed response from Viewer_CreatedIssuesQuery
*/
fetch(variables?: Viewer_CreatedIssuesQueryVariables): LinearFetch<IssueConnection>;
}
/**
* A fetchable Viewer_DelegatedIssues Query
*
* @param request - function to call the graphql client
* @param variables - variables to pass into the Viewer_DelegatedIssuesQuery
*/
declare class Viewer_DelegatedIssuesQuery extends Request {
private _variables?;
constructor(request: LinearRequest, variables?: Viewer_DelegatedIssuesQueryVariables);
/**
* Call the Viewer_DelegatedIssues query and return a IssueConnection
*
* @param variables - variables to pass into the Viewer_DelegatedIssuesQuery
* @returns parsed response from Viewer_DelegatedIssuesQuery
*/
fetch(variables?: Viewer_DelegatedIssuesQueryVariables): LinearFetch<IssueConnection>;
}
/**
* A fetchable Viewer_Drafts Query
*
* @param request - function to call the graphql client
* @param variables - variables to pass into the Viewer_DraftsQuery
*/
declare class Viewer_DraftsQuery extends Request {
private _variables?;
constructor(request: LinearRequest, variables?: Viewer_DraftsQueryVariables);
/**
* Call the Viewer_Drafts query and return a DraftConnection
*
* @param variables - variables to pass into the Viewer_DraftsQuery
* @returns parsed response from Viewer_DraftsQuery
*/
fetch(variables?: Viewer_DraftsQueryVariables): LinearFetch<DraftConnection>;
}
/**
* A fetchable Viewer_TeamMemberships Query
*
* @param request - function to call the graphql client
* @param variables - variables to pass into the Viewer_TeamMembershipsQuery
*/
declare class Viewer_TeamMembershipsQuery extends Request {
private _variables?;
constructor(request: LinearRequest, variables?: Viewer_TeamMembershipsQueryVariables);
/**
* Call the Viewer_TeamMemberships query and return a TeamMembershipConnection
*
* @param variables - variables to pass into the Viewer_TeamMembershipsQuery
* @returns parsed response from Viewer_TeamMembershipsQuery
*/
fetch(variables?: Viewer_TeamMembershipsQueryVariables): LinearFetch<TeamMembershipConnection>;
}
/**
* A fetchable Viewer_Teams Query
*
* @param request - function to call the graphql client
* @param variables - variables to pass into the Viewer_TeamsQuery
*/
declare class Viewer_TeamsQuery extends Request {
private _variables?;
constructor(request: LinearRequest, variables?: Viewer_TeamsQueryVariables);
/**
* Call the Viewer_Teams query and return a TeamConnection
*
* @param variables - variables to pass into the Viewer_TeamsQuery
* @returns parsed response from Viewer_TeamsQuery
*/
fetch(variables?: Viewer_TeamsQueryVariables): LinearFetch<TeamConnection>;
}
/**
* A fetchable WorkflowState_Issues Query
*
* @param request - function to call the graphql client
* @param id - required id to pass to workflowState
* @param variables - variables without 'id' to pass into the WorkflowState_IssuesQuery
*/
declare class WorkflowState_IssuesQuery extends Request {
private _id;
private _variables?;
constructor(request: LinearRequest, id: string, variables?: Omit<WorkflowState_IssuesQueryVariables, "id">);
/**
* Call the WorkflowState_Issues query and return a IssueConnection
*
* @param variables - variables without 'id' to pass into the WorkflowState_IssuesQuery
* @returns parsed response from WorkflowState_IssuesQuery
*/
fetch(variables?: Omit<WorkflowState_IssuesQueryVariables, "id">): LinearFetch<IssueConnection>;
}
/**
* The SDK class containing all root operations
*
* @param request - function to call the graphql client
*/
declare class LinearSdk extends Request {
constructor(request: LinearRequest);
/**
* All teams whose settings the user can administer. This includes teams the user can change settings for, but whose issues they may not have direct access to. This differs from the `teams` query which returns teams based on issue access.
*
* @param variables - variables to pass into the AdministrableTeamsQuery
* @returns TeamConnection
*/
administrableTeams(variables?: AdministrableTeamsQueryVariables): LinearFetch<TeamConnection>;
/**
* All agent activities.
*
* @param variables - variables to pass into the AgentActivitiesQuery
* @returns AgentActivityConnection
*/
agentActivities(variables?: AgentActivitiesQueryVariables): LinearFetch<AgentActivityConnection>;
/**
* A specific agent activity.
*
* @param id - required id to pass to agentActivity
* @returns AgentActivity
*/
agentActivity(id: string): LinearFetch<AgentActivity>;
/**
* A specific agent session.
*
* @param id - required id to pass to agentSession
* @returns AgentSession
*/
agentSession(id: string): LinearFetch<AgentSession>;
/**
* All agent sessions.
*
* @param variables - variables to pass into the AgentSessionsQuery
* @returns AgentSessionConnection
*/
agentSessions(variables?: AgentSessionsQueryVariables): LinearFetch<AgentSessionConnection>;
/**
* A specific agent skill.
*
* @param id - required id to pass to agentSkill
* @returns AgentSkill
*/
agentSkill(id: string): LinearFetch<AgentSkill>;
/**
* All agent skills.
*
* @param variables - variables to pass into the AgentSkillsQuery
* @returns AgentSkillConnection
*/
agentSkills(variables?: AgentSkillsQueryVariables): LinearFetch<AgentSkillConnection>;
/**
* Retrieves public information about an OAuth application by its client ID. Used during the authorization flow to display application details to the user.
*
* @param clientId - required clientId to pass to applicationInfo
* @returns Application
*/
applicationInfo(clientId: string): LinearFetch<Application>;
/**
* Recently archived GitHub integrations. Returns integrations archived within the last 30 days.
*
* @returns ArchivedIntegrationPayload[]
*/
get archivedIntegrations(): LinearFetch<ArchivedIntegrationPayload[]>;
/**
* One specific issue attachment.
* [Deprecated] 'url' can no longer be used as the 'id' parameter. Use 'attachmentsForUrl' instead
*
* @param id - required id to pass to attachment
* @returns Attachment
*/
attachment(id: string): LinearFetch<Attachment>;
/**
* Query an issue by its associated attachment, and its id.
*
* @param id - required id to pass to attachmentIssue
* @returns Issue
*/
attachmentIssue(id: string): LinearFetch<Issue>;
/**
* All issue attachments.
*
* To get attachments for a given URL, use `attachmentsForURL` query.
*
* @param variables - variables to pass into the AttachmentsQuery
* @returns AttachmentConnection
*/
attachments(variables?: AttachmentsQueryVariables): LinearFetch<AttachmentConnection>;
/**
* Returns issue attachments for a given `url`.
*
* @param url - required url to pass to attachmentsForURL
* @param variables - variables without 'url' to pass into the AttachmentsForUrlQuery
* @returns AttachmentConnection
*/
attachmentsForURL(url: string, variables?: Omit<AttachmentsForUrlQueryVariables, "url">): LinearFetch<AttachmentConnection>;
/**
* All audit log entries.
*
* @param variables - variables to pass into the AuditEntriesQuery
* @returns AuditEntryConnection
*/
auditEntries(variables?: AuditEntriesQueryVariables): LinearFetch<AuditEntryConnection>;
/**
* List of audit entry types.
*
* @returns AuditEntryType[]
*/
get auditEntryTypes(): LinearFetch<AuditEntryType[]>;
/**
* User's active sessions.
*
* @returns AuthenticationSessionResponse[]
*/
get authenticationSessions(): LinearFetch<AuthenticationSessionResponse[]>;
/**
* Fetch users belonging to this user account.
*
* @returns AuthResolverResponse
*/
get availableUsers(): LinearFetch<AuthResolverResponse>;
/**
* A specific comment.
*
* @param variables - variables to pass into the CommentQuery
* @returns Comment
*/
comment(variables?: CommentQueryVariables): LinearFetch<Comment>;
/**
* All comments the user has access to in the workspace.
*
* @param variables - variables to pass into the CommentsQuery
* @returns CommentConnection
*/
comments(variables?: CommentsQueryVariables): LinearFetch<CommentConnection>;
/**
* One specific custom view, looked up by ID or slug.
*
* @param id - required id to pass to customView
* @returns CustomView
*/
customView(id: string): LinearFetch<CustomView>;
/**
* Whether a custom view has active notification subscribers other than the current user. Useful for warning before deleting a shared view.
*
* @param id - required id to pass to customViewHasSubscribers
* @returns CustomViewHasSubscribersPayload
*/
customViewHasSubscribers(id: string): LinearFetch<CustomViewHasSubscribersPayload>;
/**
* All custom views accessible to the user, including personal views and shared workspace views. Excludes views scoped to a specific project or initiative.
*
* @param variables - variables to pass into the CustomViewsQuery
* @returns CustomViewConnection
*/
customViews(variables?: CustomViewsQueryVariables): LinearFetch<CustomViewConnection>;
/**
* Retrieves a single customer by ID or slug.
*
* @param id - required id to pass to customer
* @returns Customer
*/
customer(id: string): LinearFetch<Customer>;
/**
* Retrieves a single customer need by ID or hash.
*
* @param variables - variables to pass into the CustomerNeedQuery
* @returns CustomerNeed
*/
customerNeed(variables?: CustomerNeedQueryVariables): LinearFetch<CustomerNeed>;
/**
* All customer needs in the workspace, with optional filtering.
*
* @param variables - variables to pass into the CustomerNeedsQuery
* @returns CustomerNeedConnection
*/
customerNeeds(variables?: CustomerNeedsQueryVariables): LinearFetch<CustomerNeedConnection>;
/**
* One specific customer status.
*
* @param id - required id to pass to customerStatus
* @returns CustomerStatus
*/
customerStatus(id: string): LinearFetch<CustomerStatus>;
/**
* All customer statuses defined in the workspace.
*
* @param variables - variables to pass into the CustomerStatusesQuery
* @returns CustomerStatusConnection
*/
customerStatuses(variables?: CustomerStatusesQueryVariables): LinearFetch<CustomerStatusConnection>;
/**
* One specific customer tier.
*
* @param id - required id to pass to customerTier
* @returns CustomerTier
*/
customerTier(id: string): LinearFetch<CustomerTier>;
/**
* All customer tiers defined in the workspace.
*
* @param variables - variables to pass into the CustomerTiersQuery
* @returns CustomerTierConnection
*/
customerTiers(variables?: CustomerTiersQueryVariables): LinearFetch<CustomerTierConnection>;
/**
* All customers in the workspace, with optional filtering and sorting.
*
* @param variables - variables to pass into the CustomersQuery
* @returns CustomerConnection
*/
customers(variables?: CustomersQueryVariables): LinearFetch<CustomerConnection>;
/**
* One specific cycle, looked up by ID or slug.
*
* @param id - required id to pass to cycle
* @returns Cycle
*/
cycle(id: string): LinearFetch<Cycle>;
/**
* All cycles accessible to the user.
*
* @param variables - variables to pass into the CyclesQuery
* @returns CycleConnection
*/
cycles(variables?: CyclesQueryVariables): LinearFetch<CycleConnection>;
/**
* A specific document by ID or slug.
*
* @param id - required id to pass to document
* @returns Document
*/
document(id: string): LinearFetch<Document>;
/**
* A collection of document content history entries.
*
* @param id - required id to pass to documentContentHistory
* @returns DocumentContentHistoryPayload
*/
documentContentHistory(id: string): LinearFetch<DocumentContentHistoryPayload>;
/**
* All documents the user has access to in the workspace.
*
* @param variables - variables to pass into the DocumentsQuery
* @returns DocumentConnection
*/
documents(variables?: DocumentsQueryVariables): LinearFetch<DocumentConnection>;
/**
* One specific email intake address.
*
* @param id - required id to pass to emailIntakeAddress
* @returns EmailIntakeAddress
*/
emailIntakeAddress(id: string): LinearFetch<EmailIntakeAddress>;
/**
* A specific custom emoji by ID or name.
*
* @param id - required id to pass to emoji
* @returns Emoji
*/
emoji(id: string): LinearFetch<Emoji>;
/**
* All custom emojis in the workspace.
*
* @param variables - variables to pass into the EmojisQuery
* @returns EmojiConnection
*/
emojis(variables?: EmojisQueryVariables): LinearFetch<EmojiConnection>;
/**
* Retrieves a single entity external link by its identifier.
*
* @param id - required id to pass to entityExternalLink
* @returns EntityExternalLink
*/
entityExternalLink(id: string): LinearFetch<EntityExternalLink>;
/**
* Retrieves a single external user by their identifier.
*
* @param id - required id to pass to externalUser
* @returns ExternalUser
*/
externalUser(id: string): LinearFetch<ExternalUser>;
/**
* All external users for the organization. External users are people who interact with Linear through integrated services (Slack, Jira, GitHub, etc.) without having a Linear account.
*
* @param variables - variables to pass into the ExternalUsersQuery
* @returns ExternalUserConnection
*/
externalUsers(variables?: ExternalUsersQueryVariables): LinearFetch<ExternalUserConnection>;
/**
* A specific favorite by ID.
*
* @param id - required id to pass to favorite
* @returns Favorite
*/
favorite(id: string): LinearFetch<Favorite>;
/**
* The authenticated user's favorites. Returns all bookmarked items that appear in the user's sidebar.
*
* @param variables - variables to pass into the FavoritesQuery
* @returns FavoriteConnection
*/
favorites(variables?: FavoritesQueryVariables): LinearFetch<FavoriteConnection>;
/**
* Returns a single initiative by its identifier or URL slug.
*
* @param id - required id to pass to initiative
* @returns Initiative
*/
initiative(id: string): LinearFetch<Initiative>;
/**
* Suggests filters for an initiative view based on a text prompt.
*
* @param prompt - required prompt to pass to initiativeFilterSuggestion
* @param variables - variables without 'prompt' to pass into the InitiativeFilterSuggestionQuery
* @returns InitiativeFilterSuggestionPayload
*/
initiativeFilterSuggestion(prompt: string, variables?: Omit<InitiativeFilterSuggestionQueryVariables, "prompt">): LinearFetch<InitiativeFilterSuggestionPayload>;
/**
* Returns a single initiative label by its identifier.
*
* @param id - required id to pass to initiativeLabel
* @returns InitiativeLabel
*/
initiativeLabel(id: string): LinearFetch<InitiativeLabel>;
/**
* Returns all initiative labels in the workspace, with optional filtering.
*
* @param variables - variables to pass into the InitiativeLabelsQuery
* @returns InitiativeLabelConnection
*/
initiativeLabels(variables?: InitiativeLabelsQueryVariables): LinearFetch<InitiativeLabelConnection>;
/**
* Returns a single initiative relation by its identifier.
*
* @param id - required id to pass to initiativeRelation
* @returns InitiativeRelation
*/
initiativeRelation(id: string): LinearFetch<InitiativeRelation>;
/**
* Returns all initiative parent-child relations in the workspace.
*
* @param variables - variables to pass into the InitiativeRelationsQuery
* @returns InitiativeRelationConnection
*/
initiativeRelations(variables?: InitiativeRelationsQueryVariables): LinearFetch<InitiativeRelationConnection>;
/**
* Returns a single initiative-to-project association by its identifier.
*
* @param id - required id to pass to initiativeToProject
* @returns InitiativeToProject
*/
initiativeToProject(id: string): LinearFetch<InitiativeToProject>;
/**
* Returns all initiative-to-project associations in the workspace.
*
* @param variables - variables to pass into the InitiativeToProjectsQuery
* @returns InitiativeToProjectConnection
*/
initiativeToProjects(variables?: InitiativeToProjectsQueryVariables): LinearFetch<InitiativeToProjectConnection>;
/**
* Returns a single initiative update by its identifier.
*
* @param id - required id to pass to initiativeUpdate
* @returns InitiativeUpdate
*/
initiativeUpdate(id: string): LinearFetch<InitiativeUpdate>;
/**
* Returns all initiative status updates in the workspace, with optional filtering.
*
* @param variables - variables to pass into the InitiativeUpdatesQuery
* @returns InitiativeUpdateConnection
*/
initiativeUpdates(variables?: InitiativeUpdatesQueryVariables): LinearFetch<InitiativeUpdateConnection>;
/**
* Returns all initiatives in the workspace, with optional filtering and sorting.
*
* @param variables - variables to pass into the InitiativesQuery
* @returns InitiativeConnection
*/
initiatives(variables?: InitiativesQueryVariables): LinearFetch<InitiativeConnection>;
/**
* Retrieves a single integration by its identifier.
*
* @param id - required id to pass to integration
* @returns Integration
*/
integration(id: string): LinearFetch<Integration>;
/**
* Checks if the integration has all required scopes.
*
* @param integrationId - required integrationId to pass to integrationHasScopes
* @param scopes - required scopes to pass to integrationHasScopes
* @returns IntegrationHasScopesPayload
*/
integrationHasScopes(integrationId: string, scopes: string[]): LinearFetch<IntegrationHasScopesPayload>;
/**
* Retrieves a single integration template connection by its identifier.
*
* @param id - required id to pass to integrationTemplate
* @returns IntegrationTemplate
*/
integrationTemplate(id: string): LinearFetch<IntegrationTemplate>;
/**
* All integration template connections for the workspace, linking templates to integrations.
*
* @param variables - variables to pass into the IntegrationTemplatesQuery
* @returns IntegrationTemplateConnection
*/
integrationTemplates(variables?: IntegrationTemplatesQueryVariables): LinearFetch<IntegrationTemplateConnection>;
/**
* All integrations for the workspace.
*
* @param variables - variables to pass into the IntegrationsQuery
* @returns IntegrationConnection
*/
integrations(variables?: IntegrationsQueryVariables): LinearFetch<IntegrationConnection>;
/**
* Retrieves a specific integration settings configuration by its identifier.
*
* @param id - required id to pass to integrationsSettings
* @returns IntegrationsSettings
*/
integrationsSettings(id: string): LinearFetch<IntegrationsSettings>;
/**
* One specific issue, looked up by its unique identifier.
*
* @param id - required id to pass to issue
* @returns Issue
*/
issue(id: string): LinearFetch<Issue>;
/**
* Find issues that are related to a given Figma file key.
*
* @param fileKey - required fileKey to pass to issueFigmaFileKeySearch
* @param variables - variables without 'fileKey' to pass into the IssueFigmaFileKeySearchQuery
* @returns IssueConnection
*/
issueFigmaFileKeySearch(fileKey: string, variables?: Omit<IssueFigmaFileKeySearchQueryVariables, "fileKey">): LinearFetch<IssueConnection>;
/**
* Suggests filters for an issue view based on a text prompt.
*
* @param prompt - required prompt to pass to issueFilterSuggestion
* @param variables - variables without 'prompt' to pass into the IssueFilterSuggestionQuery
* @returns IssueFilterSuggestionPayload
*/
issueFilterSuggestion(prompt: string, variables?: Omit<IssueFilterSuggestionQueryVariables, "prompt">): LinearFetch<IssueFilterSuggestionPayload>;
/**
* Checks a CSV file validity against a specific import service.
*
* @param csvUrl - required csvUrl to pass to issueImportCheckCSV
* @param service - required service to pass to issueImportCheckCSV
* @returns IssueImportCheckPayload
*/
issueImportCheckCSV(csvUrl: string, service: string): LinearFetch<IssueImportCheckPayload>;
/**
* Checks whether it will be possible to set up sync for this project or repository at the end of import.
*
* @param issueImportId - required issueImportId to pass to issueImportCheckSync
* @returns IssueImportSyncCheckPayload
*/
issueImportCheckSync(issueImportId: string): LinearFetch<IssueImportSyncCheckPayload>;
/**
* Checks whether a custom JQL query is valid and can be used to filter issues of a Jira import.
*
* @param jiraEmail - required jiraEmail to pass to issueImportJqlCheck
* @param jiraHostname - required jiraHostname to pass to issueImportJqlCheck
* @param jiraProject - required jiraProject to pass to issueImportJqlCheck
* @param jiraToken - required jiraToken to pass to issueImportJqlCheck
* @param jql - required jql to pass to issueImportJqlCheck
* @returns IssueImportJqlCheckPayload
*/
issueImportJqlCheck(jiraEmail: string, jiraHostname: string, jiraProject: string, jiraToken: string, jql: string): LinearFetch<IssueImportJqlCheckPayload>;
/**
* One specific label, looked up by its unique identifier.
*
* @param id - required id to pass to issueLabel
* @returns IssueLabel
*/
issueLabel(id: string): LinearFetch<IssueLabel>;
/**
* All issue labels. Returns a paginated list of labels visible to the authenticated user, including both workspace-level and team-scoped labels.
*
* @param variables - variables to pass into the IssueLabelsQuery
* @returns IssueLabelConnection
*/
issueLabels(variables?: IssueLabelsQueryVariables): LinearFetch<IssueLabelConnection>;
/**
* Issue priority values and corresponding labels.
*
* @returns IssuePriorityValue[]
*/
get issuePriorityValues(): LinearFetch<IssuePriorityValue[]>;
/**
* One specific issue relation, looked up by its unique identifier.
*
* @param id - required id to pass to issueRelation
* @returns IssueRelation
*/
issueRelation(id: string): LinearFetch<IssueRelation>;
/**
* All issue relations. Returns a paginated list of all issue relations (blocks, blocked by, relates to, duplicates) visible to the authenticated user.
*
* @param variables - variables to pass into the IssueRelationsQuery
* @returns IssueRelationConnection
*/
issueRelations(variables?: IssueRelationsQueryVariables): LinearFetch<IssueRelationConnection>;
/**
* Returns code repositories that are most likely to be relevant for implementing an issue.
*
* @param candidateRepositories - required candidateRepositories to pass to issueRepositorySuggestions
* @param issueId - required issueId to pass to issueRepositorySuggestions
* @param variables - variables without 'candidateRepositories', 'issueId' to pass into the IssueRepositorySuggestionsQuery
* @returns RepositorySuggestionsPayload
*/
issueRepositorySuggestions(candidateRepositories: CandidateRepository[], issueId: string, variables?: Omit<IssueRepositorySuggestionsQueryVariables, "candidateRepositories" | "issueId">): LinearFetch<RepositorySuggestionsPayload>;
/**
* [DEPRECATED] Search issues. This endpoint is deprecated and will be removed in the future – use `searchIssues` instead.
*
* @param variables - variables to pass into the IssueSearchQuery
* @returns IssueConnection
*/
issueSearch(variables?: IssueSearchQueryVariables): LinearFetch<IssueConnection>;
/**
* Suggests an issue title based on a customer request message using AI summarization.
*
* @param request - required request to pass to issueTitleSuggestionFromCustomerRequest
* @returns IssueTitleSuggestionFromCustomerRequestPayload
*/
issueTitleSuggestionFromCustomerRequest(request: string): LinearFetch<IssueTitleSuggestionFromCustomerRequestPayload>;
/**
* One specific issue-to-release association, looked up by its unique identifier.
*
* @param id - required id to pass to issueToRelease
* @returns IssueToRelease
*/
issueToRelease(id: string): LinearFetch<IssueToRelease>;
/**
* All issue-to-release associations. Returns a paginated list of all issue-to-release links visible to the authenticated user.
*
* @param variables - variables to pass into the IssueToReleasesQuery
* @returns IssueToReleaseConnection
*/
issueToReleases(variables?: IssueToReleasesQueryVariables): LinearFetch<IssueToReleaseConnection>;
/**
* Find issue based on the VCS branch name.
*
* @param branchName - required branchName to pass to issueVcsBranchSearch
* @returns Issue
*/
issueVcsBranchSearch(branchName: string): LinearFetch<Issue | undefined>;
/**
* All issues. Returns a paginated list of issues visible to the authenticated user. Can be filtered by various criteria including team, assignee, state, labels, project, and cycle.
*
* @param variables - variables to pass into the IssuesQuery
* @returns IssueConnection
*/
issues(variables?: IssuesQueryVariables): LinearFetch<IssueConnection>;
/**
* Returns the latest release for the pipeline associated with the access key.
*
* @returns AccessKeyRelease
*/
get latestReleaseByAccessKey(): LinearFetch<AccessKeyRelease | undefined>;
/**
* A specific notification by ID.
*
* @param id - required id to pass to notification
* @returns Notification
*/
notification(id: string): LinearFetch<CustomerNeedNotification | CustomerNotification | DocumentNotification | InitiativeNotification | IssueNotification | OauthClientApprovalNotification | PostNotification | ProductAnnouncementNotification | ProjectNotification | PullRequestNotification | UsageAlertNotification | WelcomeMessageNotification | WorkflowDefinitionNotification | Notification>;
/**
* A specific notification subscription by ID.
*
* @param id - required id to pass to notificationSubscription
* @returns NotificationSubscription
*/
notificationSubscription(id: string): LinearFetch<CustomViewNotificationSubscription | CustomerNotificationSubscription | CycleNotificationSubscription | InitiativeNotificationSubscription | LabelNotificationSubscription | ProjectNotificationSubscription | TeamNotificationSubscription | UserNotificationSubscription | NotificationSubscription>;
/**
* The authenticated user's notification subscriptions. These subscriptions control which notifications the user receives for specific entities such as teams, projects, cycles, labels, custom views, initiatives, customers, and users.
*
* @param variables - variables to pass into the NotificationSubscriptionsQuery
* @returns NotificationSubscriptionConnection
*/
notificationSubscriptions(variables?: NotificationSubscriptionsQueryVariables): LinearFetch<NotificationSubscriptionConnection>;
/**
* The authenticated user's notifications.
*
* @param variables - variables to pass into the NotificationsQuery
* @returns NotificationConnection
*/
notifications(variables?: NotificationsQueryVariables): LinearFetch<NotificationConnection>;
/**
* The authenticated user's workspace.
*
* @returns Organization
*/
get organization(): LinearFetch<Organization>;
/**
* Checks whether a workspace with the given URL key exists.
*
* @param urlKey - required urlKey to pass to organizationExists
* @returns OrganizationExistsPayload
*/
organizationExists(urlKey: string): LinearFetch<OrganizationExistsPayload>;
/**
* Fetches a specific workspace invite by its ID.
*
* @param id - required id to pass to organizationInvite
* @returns OrganizationInvite
*/
organizationInvite(id: string): LinearFetch<OrganizationInvite>;
/**
* All pending and accepted invites for the workspace.
*
* @param variables - variables to pass into the OrganizationInvitesQuery
* @returns OrganizationInviteConnection
*/
organizationInvites(variables?: OrganizationInvitesQueryVariables): LinearFetch<OrganizationInviteConnection>;
/**
* Returns a single project by its identifier or URL slug.
*
* @param id - required id to pass to project
* @returns Project
*/
project(id: string): LinearFetch<Project>;
/**
* Suggests filters for a project view based on a text prompt.
*
* @param prompt - required prompt to pass to projectFilterSuggestion
* @param variables - variables without 'prompt' to pass into the ProjectFilterSuggestionQuery
* @returns ProjectFilterSuggestionPayload
*/
projectFilterSuggestion(prompt: string, variables?: Omit<ProjectFilterSuggestionQueryVariables, "prompt">): LinearFetch<ProjectFilterSuggestionPayload>;
/**
* Returns a single project label by its identifier.
*
* @param id - required id to pass to projectLabel
* @returns ProjectLabel
*/
projectLabel(id: string): LinearFetch<ProjectLabel>;
/**
* Returns all project labels in the workspace, with optional filtering.
*
* @param variables - variables to pass into the ProjectLabelsQuery
* @returns ProjectLabelConnection
*/
projectLabels(variables?: ProjectLabelsQueryVariables): LinearFetch<ProjectLabelConnection>;
/**
* Returns a single project milestone by its identifier.
*
* @param id - required id to pass to projectMilestone
* @returns ProjectMilestone
*/
projectMilestone(id: string): LinearFetch<ProjectMilestone>;
/**
* Returns all project milestones in the workspace, with optional filtering.
*
* @param variables - variables to pass into the ProjectMilestonesQuery
* @returns ProjectMilestoneConnection
*/
projectMilestones(variables?: ProjectMilestonesQueryVariables): LinearFetch<ProjectMilestoneConnection>;
/**
* Returns a single project relation by its identifier.
*
* @param id - required id to pass to projectRelation
* @returns ProjectRelation
*/
projectRelation(id: string): LinearFetch<ProjectRelation>;
/**
* Returns all project dependency relations in the workspace.
*
* @param variables - variables to pass into the ProjectRelationsQuery
* @returns ProjectRelationConnection
*/
projectRelations(variables?: ProjectRelationsQueryVariables): LinearFetch<ProjectRelationConnection>;
/**
* Returns a single project status by its identifier.
*
* @param id - required id to pass to projectStatus
* @returns ProjectStatus
*/
projectStatus(id: string): LinearFetch<ProjectStatus>;
/**
* Returns all project statuses in the workspace.
*
* @param variables - variables to pass into the ProjectStatusesQuery
* @returns ProjectStatusConnection
*/
projectStatuses(variables?: ProjectStatusesQueryVariables): LinearFetch<ProjectStatusConnection>;
/**
* Returns a single project update by its identifier.
*
* @param id - required id to pass to projectUpdate
* @param variables - variables without 'id' to pass into the ProjectUpdateQuery
* @returns ProjectUpdate
*/
projectUpdate(id: string, variables?: Omit<ProjectUpdateQueryVariables, "id">): LinearFetch<ProjectUpdate>;
/**
* Returns all project status updates in the workspace, with optional filtering.
*
* @param variables - variables to pass into the ProjectUpdatesQuery
* @returns ProjectUpdateConnection
*/
projectUpdates(variables?: ProjectUpdatesQueryVariables): LinearFetch<ProjectUpdateConnection>;
/**
* Returns all projects in the workspace, with optional filtering and sorting.
*
* @param variables - variables to pass into the ProjectsQuery
* @returns ProjectConnection
*/
projects(variables?: ProjectsQueryVariables): LinearFetch<ProjectConnection>;
/**
* Sends a test push notification to the authenticated user's registered devices. Useful for verifying that push notification delivery is working correctly.
*
* @param variables - variables to pass into the PushSubscriptionTestQuery
* @returns PushSubscriptionTestPayload
*/
pushSubscriptionTest(variables?: PushSubscriptionTestQueryVariables): LinearFetch<PushSubscriptionTestPayload>;
/**
* The current rate limit status for the authenticated client, including remaining quota and reset timing for each limit type.
*
* @returns RateLimitPayload
*/
get rateLimitStatus(): LinearFetch<RateLimitPayload>;
/**
* Returns recent releases for the pipeline associated with the access key, ordered with in-progress releases first, followed by the most recently completed releases.
*
* @param variables - variables to pass into the RecentReleasesByAccessKeyQuery
* @returns AccessKeyRelease[]
*/
recentReleasesByAccessKey(variables?: RecentReleasesByAccessKeyQueryVariables): LinearFetch<AccessKeyRelease[]>;
/**
* Fetch a single release by its UUID or slug identifier.
*
* @param id - required id to pass to release
* @returns Release
*/
release(id: string): LinearFetch<Release>;
/**
* Fetch a release note by its UUID or slug identifier.
*
* @param id - required id to pass to releaseNote
* @returns ReleaseNote
*/
releaseNote(id: string): LinearFetch<ReleaseNote>;
/**
* Release notes in the workspace.
*
* @param variables - variables to pass into the ReleaseNotesQuery
* @returns ReleaseNoteConnection
*/
releaseNotes(variables?: ReleaseNotesQueryVariables): LinearFetch<ReleaseNoteConnection>;
/**
* Fetch a single release pipeline by its UUID or slug identifier.
*
* @param id - required id to pass to releasePipeline
* @returns ReleasePipeline
*/
releasePipeline(id: string): LinearFetch<ReleasePipeline>;
/**
* Returns the release pipeline associated with the access key.
*
* @returns AccessKeyReleasePipeline
*/
get releasePipelineByAccessKey(): LinearFetch<AccessKeyReleasePipeline>;
/**
* All release pipelines in the workspace, with optional filtering and sorting.
*
* @param variables - variables to pass into the ReleasePipelinesQuery
* @returns ReleasePipelineConnection
*/
releasePipelines(variables?: ReleasePipelinesQueryVariables): LinearFetch<ReleasePipelineConnection>;
/**
* Search releases with optional text matching against name, version, and pipeline name. When no search term is provided, returns releases ordered by stage priority (started > planned > completed > canceled).
*
* @param variables - variables to pass into the ReleaseSearchQuery
* @returns Release[]
*/
releaseSearch(variables?: ReleaseSearchQueryVariables): LinearFetch<Release[]>;
/**
* Fetch a single release stage by its UUID.
*
* @param id - required id to pass to releaseStage
* @returns ReleaseStage
*/
releaseStage(id: string): LinearFetch<ReleaseStage>;
/**
* All release stages in the workspace, with optional filtering.
*
* @param variables - variables to pass into the ReleaseStagesQuery
* @returns ReleaseStageConnection
*/
releaseStages(variables?: ReleaseStagesQueryVariables): LinearFetch<ReleaseStageConnection>;
/**
* All releases in the workspace, with optional filtering and sorting.
*
* @param variables - variables to pass into the ReleasesQuery
* @returns ReleaseConnection
*/
releases(variables?: ReleasesQueryVariables): LinearFetch<ReleaseConnection>;
/**
* [Deprecated] Returns a single roadmap by its identifier. Use initiatives instead.
*
* @param id - required id to pass to roadmap
* @returns Roadmap
*/
roadmap(id: string): LinearFetch<Roadmap>;
/**
* [Deprecated] Returns a single roadmap-to-project association. Use InitiativeToProject instead.
*
* @param id - required id to pass to roadmapToProject
* @returns RoadmapToProject
*/
roadmapToProject(id: string): LinearFetch<RoadmapToProject>;
/**
* [Deprecated] Returns all roadmap-to-project associations. Use InitiativeToProject instead.
*
* @param variables - variables to pass into the RoadmapToProjectsQuery
* @returns RoadmapToProjectConnection
*/
roadmapToProjects(variables?: RoadmapToProjectsQueryVariables): LinearFetch<RoadmapToProjectConnection>;
/**
* [Deprecated] Returns all roadmaps in the workspace. Use initiatives instead.
*
* @param variables - variables to pass into the RoadmapsQuery
* @returns RoadmapConnection
*/
roadmaps(variables?: RoadmapsQueryVariables): LinearFetch<RoadmapConnection>;
/**
* Search documents by text query using full-text and vector search. Results are ranked by relevance unless an orderBy parameter is specified. Rate-limited to 30 requests per minute.
*
* @param term - required term to pass to searchDocuments
* @param variables - variables without 'term' to pass into the SearchDocumentsQuery
* @returns DocumentSearchPayload
*/
searchDocuments(term: string, variables?: Omit<SearchDocumentsQueryVariables, "term">): LinearFetch<DocumentSearchPayload>;
/**
* Search issues by text query using full-text and vector search. Results are ranked by relevance unless an orderBy parameter is specified. Supports optional issue filters and comment inclusion. Rate-limited to 30 requests per minute.
*
* @param term - required term to pass to searchIssues
* @param variables - variables without 'term' to pass into the SearchIssuesQuery
* @returns IssueSearchPayload
*/
searchIssues(term: string, variables?: Omit<SearchIssuesQueryVariables, "term">): LinearFetch<IssueSearchPayload>;
/**
* Search projects by text query using full-text and vector search. Results are ranked by relevance unless an orderBy parameter is specified. Rate-limited to 30 requests per minute.
*
* @param term - required term to pass to searchProjects
* @param variables - variables without 'term' to pass into the SearchProjectsQuery
* @returns ProjectSearchPayload
*/
searchProjects(term: string, variables?: Omit<SearchProjectsQueryVariables, "term">): LinearFetch<ProjectSearchPayload>;
/**
* Search for issues, projects, initiatives, and documents using natural language. Uses vector-based semantic search with optional full-text search and reranking. Results can be filtered by type and by entity-specific filters. Rate-limited to 30 requests per minute.
*
* @param query - required query to pass to semanticSearch
* @param variables - variables without 'query' to pass into the SemanticSearchQuery
* @returns SemanticSearchPayload
*/
semanticSearch(query: string, variables?: Omit<SemanticSearchQueryVariables, "query">): LinearFetch<SemanticSearchPayload>;
/**
* Active SLA configurations that can apply to the requested team.
*
* @param teamId - required teamId to pass to slaConfigurations
* @returns SlaConfiguration[]
*/
slaConfigurations(teamId: string): LinearFetch<SlaConfiguration[]>;
/**
* Fetch SSO login URL for the email provided.
*
* @param email - required email to pass to ssoUrlFromEmail
* @param type - required type to pass to ssoUrlFromEmail
* @param variables - variables without 'email', 'type' to pass into the SsoUrlFromEmailQuery
* @returns SsoUrlFromEmailResponse
*/
ssoUrlFromEmail(email: string, type: IdentityProviderType, variables?: Omit<SsoUrlFromEmailQueryVariables, "email" | "type">): LinearFetch<SsoUrlFromEmailResponse>;
/**
* Fetches a specific team by its ID.
*
* @param id - required id to pass to team
* @returns Team
*/
team(id: string): LinearFetch<Team>;
/**
* Fetches a specific team membership by its ID.
*
* @param id - required id to pass to teamMembership
* @returns TeamMembership
*/
teamMembership(id: string): LinearFetch<TeamMembership>;
/**
* All team memberships in the workspace.
*
* @param variables - variables to pass into the TeamMembershipsQuery
* @returns TeamMembershipConnection
*/
teamMemberships(variables?: TeamMembershipsQueryVariables): LinearFetch<TeamMembershipConnection>;
/**
* All teams whose issues the user can access. This includes public teams and private teams the user is a member of. This may differ from `administrableTeams`, which returns teams whose settings the user can change but whose issues they don't necessarily have access to.
*
* @param variables - variables to pass into the TeamsQuery
* @returns TeamConnection
*/
teams(variables?: TeamsQueryVariables): LinearFetch<TeamConnection>;
/**
* A specific template.
*
* @param id - required id to pass to template
* @returns Template
*/
template(id: string): LinearFetch<Template>;
/**
* All templates in the workspace, including both team-scoped and workspace-level templates.
*
* @returns Template[]
*/
get templates(): LinearFetch<Template[]>;
/**
* Returns all templates that are associated with the integration type.
*
* @param integrationType - required integrationType to pass to templatesForIntegration
* @returns Template[]
*/
templatesForIntegration(integrationType: string): LinearFetch<Template[]>;
/**
* A specific time schedule.
*
* @param id - required id to pass to timeSchedule
* @returns TimeSchedule
*/
timeSchedule(id: string): LinearFetch<TimeSchedule>;
/**
* All time schedules.
*
* @param variables - variables to pass into the TimeSchedulesQuery
* @returns TimeScheduleConnection
*/
timeSchedules(variables?: TimeSchedulesQueryVariables): LinearFetch<TimeScheduleConnection>;
/**
* All triage responsibilities.
*
* @param variables - variables to pass into the TriageResponsibilitiesQuery
* @returns TriageResponsibilityConnection
*/
triageResponsibilities(variables?: TriageResponsibilitiesQueryVariables): LinearFetch<TriageResponsibilityConnection>;
/**
* A specific triage responsibility.
*
* @param id - required id to pass to triageResponsibility
* @returns TriageResponsibility
*/
triageResponsibility(id: string): LinearFetch<TriageResponsibility>;
/**
* Fetches a specific user by their ID.
*
* @param id - required id to pass to user
* @returns User
*/
user(id: string): LinearFetch<User>;
/**
* Lists all active authentication sessions for a user. Can only be called by a workspace admin or owner.
*
* @param id - required id to pass to userSessions
* @returns AuthenticationSessionResponse[]
*/
userSessions(id: string): LinearFetch<AuthenticationSessionResponse[]>;
/**
* The authenticated user's notification and UI settings.
*
* @returns UserSettings
*/
get userSettings(): LinearFetch<UserSettings>;
/**
* All users in the workspace. Supports filtering, sorting, and pagination.
*
* @param variables - variables to pass into the UsersQuery
* @returns UserConnection
*/
users(variables?: UsersQueryVariables): LinearFetch<UserConnection>;
/**
* Verify that we received the correct response from the GitHub Enterprise Server.
*
* @param integrationId - required integrationId to pass to verifyGitHubEnterpriseServerInstallation
* @returns GitHubEnterpriseServerInstallVerificationPayload
*/
verifyGitHubEnterpriseServerInstallation(integrationId: string): LinearFetch<GitHubEnterpriseServerInstallVerificationPayload>;
/**
* The currently authenticated user making the API request.
*
* @returns User
*/
get viewer(): LinearFetch<User>;
/**
* Retrieves a single webhook by its identifier.
*
* @param id - required id to pass to webhook
* @returns Webhook
*/
webhook(id: string): LinearFetch<Webhook>;
/**
* All webhooks for the current workspace.
*
* @param variables - variables to pass into the WebhooksQuery
* @returns WebhookConnection
*/
webhooks(variables?: WebhooksQueryVariables): LinearFetch<WebhookConnection>;
/**
* One specific workflow state (issue status), looked up by its unique identifier.
*
* @param id - required id to pass to workflowState
* @returns WorkflowState
*/
workflowState(id: string): LinearFetch<WorkflowState>;
/**
* All issue workflow states (issue statuses). Returns a paginated list of workflow states visible to the authenticated user, across all teams they have access to.
*
* @param variables - variables to pass into the WorkflowStatesQuery
* @returns WorkflowStateConnection
*/
workflowStates(variables?: WorkflowStatesQueryVariables): LinearFetch<WorkflowStateConnection>;
/**
* Creates an agent activity.
*
* @param input - required input to pass to createAgentActivity
* @returns AgentActivityPayload
*/
createAgentActivity(input: AgentActivityCreateInput): LinearFetch<AgentActivityPayload>;
/**
* Creates a new agent session on a root comment.
*
* @param input - required input to pass to agentSessionCreateOnComment
* @returns AgentSessionPayload
*/
agentSessionCreateOnComment(input: AgentSessionCreateOnComment): LinearFetch<AgentSessionPayload>;
/**
* Creates a new agent session on an issue.
*
* @param input - required input to pass to agentSessionCreateOnIssue
* @returns AgentSessionPayload
*/
agentSessionCreateOnIssue(input: AgentSessionCreateOnIssue): LinearFetch<AgentSessionPayload>;
/**
* Updates an agent session.
*
* @param id - required id to pass to updateAgentSession
* @param input - required input to pass to updateAgentSession
* @returns AgentSessionPayload
*/
updateAgentSession(id: string, input: AgentSessionUpdateInput): LinearFetch<AgentSessionPayload>;
/**
* Updates the externalUrl of an agent session, which is an agent-hosted page associated with this session.
*
* @param id - required id to pass to agentSessionUpdateExternalUrl
* @param input - required input to pass to agentSessionUpdateExternalUrl
* @returns AgentSessionPayload
*/
agentSessionUpdateExternalUrl(id: string, input: AgentSessionUpdateExternalUrlInput): LinearFetch<AgentSessionPayload>;
/**
* Creates an agent skill.
*
* @param input - required input to pass to createAgentSkill
* @returns AgentSkillPayload
*/
createAgentSkill(input: AgentSkillCreateInput): LinearFetch<AgentSkillPayload>;
/**
* Deletes an agent skill.
*
* @param id - required id to pass to deleteAgentSkill
* @returns DeletePayload
*/
deleteAgentSkill(id: string): LinearFetch<DeletePayload>;
/**
* Updates an agent skill.
*
* @param id - required id to pass to updateAgentSkill
* @param input - required input to pass to updateAgentSkill
* @returns AgentSkillPayload
*/
updateAgentSkill(id: string, input: AgentSkillUpdateInput): LinearFetch<AgentSkillPayload>;
/**
* Creates an integration api key for Airbyte to connect with Linear.
*
* @param input - required input to pass to airbyteIntegrationConnect
* @returns IntegrationPayload
*/
airbyteIntegrationConnect(input: AirbyteConfigurationInput): LinearFetch<IntegrationPayload>;
/**
* Creates a new attachment, or updates existing if the same `url` and `issueId` is used. To create an integration-aware attachment, use the integration-specific mutations such as `attachmentLinkZendesk`, `attachmentLinkSlack`, or `attachmentLinkURL` instead.
*
* @param input - required input to pass to createAttachment
* @returns AttachmentPayload
*/
createAttachment(input: AttachmentCreateInput): LinearFetch<AttachmentPayload>;
/**
* Deletes an issue attachment.
*
* @param id - required id to pass to deleteAttachment
* @returns DeletePayload
*/
deleteAttachment(id: string): LinearFetch<DeletePayload>;
/**
* Link an existing Discord message to an issue. This creates a rich attachment using the workspace's Discord integration.
*
* @param channelId - required channelId to pass to attachmentLinkDiscord
* @param issueId - required issueId to pass to attachmentLinkDiscord
* @param messageId - required messageId to pass to attachmentLinkDiscord
* @param url - required url to pass to attachmentLinkDiscord
* @param variables - variables without 'channelId', 'issueId', 'messageId', 'url' to pass into the AttachmentLinkDiscordMutation
* @returns AttachmentPayload
*/
attachmentLinkDiscord(channelId: string, issueId: string, messageId: string, url: string, variables?: Omit<AttachmentLinkDiscordMutationVariables, "channelId" | "issueId" | "messageId" | "url">): LinearFetch<AttachmentPayload>;
/**
* Link an existing Front conversation to an issue. This creates a rich attachment using the workspace's Front integration, enabling features like automated conversation updates.
*
* @param conversationId - required conversationId to pass to attachmentLinkFront
* @param issueId - required issueId to pass to attachmentLinkFront
* @param variables - variables without 'conversationId', 'issueId' to pass into the AttachmentLinkFrontMutation
* @returns FrontAttachmentPayload
*/
attachmentLinkFront(conversationId: string, issueId: string, variables?: Omit<AttachmentLinkFrontMutationVariables, "conversationId" | "issueId">): LinearFetch<FrontAttachmentPayload>;
/**
* Link a GitHub issue to a Linear issue. This creates a rich attachment using the workspace's GitHub integration, enabling features like automated status syncing.
*
* @param issueId - required issueId to pass to attachmentLinkGitHubIssue
* @param url - required url to pass to attachmentLinkGitHubIssue
* @param variables - variables without 'issueId', 'url' to pass into the AttachmentLinkGitHubIssueMutation
* @returns AttachmentPayload
*/
attachmentLinkGitHubIssue(issueId: string, url: string, variables?: Omit<AttachmentLinkGitHubIssueMutationVariables, "issueId" | "url">): LinearFetch<AttachmentPayload>;
/**
* Link a GitHub pull request to an issue. This creates a rich attachment using the workspace's GitHub integration, enabling features like automated status syncing.
*
* @param issueId - required issueId to pass to attachmentLinkGitHubPR
* @param url - required url to pass to attachmentLinkGitHubPR
* @param variables - variables without 'issueId', 'url' to pass into the AttachmentLinkGitHubPrMutation
* @returns AttachmentPayload
*/
attachmentLinkGitHubPR(issueId: string, url: string, variables?: Omit<AttachmentLinkGitHubPrMutationVariables, "issueId" | "url">): LinearFetch<AttachmentPayload>;
/**
* Link an existing GitLab MR to an issue. This creates a rich attachment using the workspace's GitLab integration, enabling features like automated status syncing.
*
* @param issueId - required issueId to pass to attachmentLinkGitLabMR
* @param number - required number to pass to attachmentLinkGitLabMR
* @param projectPathWithNamespace - required projectPathWithNamespace to pass to attachmentLinkGitLabMR
* @param url - required url to pass to attachmentLinkGitLabMR
* @param variables - variables without 'issueId', 'number', 'projectPathWithNamespace', 'url' to pass into the AttachmentLinkGitLabMrMutation
* @returns AttachmentPayload
*/
attachmentLinkGitLabMR(issueId: string, number: number, projectPathWithNamespace: string, url: string, variables?: Omit<AttachmentLinkGitLabMrMutationVariables, "issueId" | "number" | "projectPathWithNamespace" | "url">): LinearFetch<AttachmentPayload>;
/**
* Link an existing Intercom conversation to an issue. This creates a rich attachment using the workspace's Intercom integration, enabling features like automated conversation updates.
*
* @param conversationId - required conversationId to pass to attachmentLinkIntercom
* @param issueId - required issueId to pass to attachmentLinkIntercom
* @param variables - variables without 'conversationId', 'issueId' to pass into the AttachmentLinkIntercomMutation
* @returns AttachmentPayload
*/
attachmentLinkIntercom(conversationId: string, issueId: string, variables?: Omit<AttachmentLinkIntercomMutationVariables, "conversationId" | "issueId">): LinearFetch<AttachmentPayload>;
/**
* Link an existing Jira issue to an issue. This creates a rich attachment using the workspace's Jira integration, enabling features like automated status syncing.
*
* @param issueId - required issueId to pass to attachmentLinkJiraIssue
* @param jiraIssueId - required jiraIssueId to pass to attachmentLinkJiraIssue
* @param variables - variables without 'issueId', 'jiraIssueId' to pass into the AttachmentLinkJiraIssueMutation
* @returns AttachmentPayload
*/
attachmentLinkJiraIssue(issueId: string, jiraIssueId: string, variables?: Omit<AttachmentLinkJiraIssueMutationVariables, "issueId" | "jiraIssueId">): LinearFetch<AttachmentPayload>;
/**
* Link an existing Salesforce case to an issue. This creates a rich attachment using the workspace's Salesforce integration.
*
* @param issueId - required issueId to pass to attachmentLinkSalesforce
* @param url - required url to pass to attachmentLinkSalesforce
* @param variables - variables without 'issueId', 'url' to pass into the AttachmentLinkSalesforceMutation
* @returns AttachmentPayload
*/
attachmentLinkSalesforce(issueId: string, url: string, variables?: Omit<AttachmentLinkSalesforceMutationVariables, "issueId" | "url">): LinearFetch<AttachmentPayload>;
/**
* Link an existing Slack message to an issue. This creates a rich attachment using the workspace's Slack integration.
*
* @param issueId - required issueId to pass to attachmentLinkSlack
* @param url - required url to pass to attachmentLinkSlack
* @param variables - variables without 'issueId', 'url' to pass into the AttachmentLinkSlackMutation
* @returns AttachmentPayload
*/
attachmentLinkSlack(issueId: string, url: string, variables?: Omit<AttachmentLinkSlackMutationVariables, "issueId" | "url">): LinearFetch<AttachmentPayload>;
/**
* Link any URL to an issue. If the workspace has a matching integration configured and the URL is recognized (e.g., Zendesk, GitHub, Slack), a rich attachment will be created that enables features like automated status updates. Otherwise, a basic attachment is created.
*
* @param issueId - required issueId to pass to attachmentLinkURL
* @param url - required url to pass to attachmentLinkURL
* @param variables - variables without 'issueId', 'url' to pass into the AttachmentLinkUrlMutation
* @returns AttachmentPayload
*/
attachmentLinkURL(issueId: string, url: string, variables?: Omit<AttachmentLinkUrlMutationVariables, "issueId" | "url">): LinearFetch<AttachmentPayload>;
/**
* Link an existing Zendesk ticket to an issue. This creates a rich attachment using the workspace's Zendesk integration, enabling features like automated ticket reopening when the Linear issue is completed.
*
* @param issueId - required issueId to pass to attachmentLinkZendesk
* @param ticketId - required ticketId to pass to attachmentLinkZendesk
* @param variables - variables without 'issueId', 'ticketId' to pass into the AttachmentLinkZendeskMutation
* @returns AttachmentPayload
*/
attachmentLinkZendesk(issueId: string, ticketId: string, variables?: Omit<AttachmentLinkZendeskMutationVariables, "issueId" | "ticketId">): LinearFetch<AttachmentPayload>;
/**
* Begin syncing the thread for an existing Slack message attachment with a comment thread on its issue.
*
* @param id - required id to pass to attachmentSyncToSlack
* @returns AttachmentPayload
*/
attachmentSyncToSlack(id: string): LinearFetch<AttachmentPayload>;
/**
* Updates an existing issue attachment.
*
* @param id - required id to pass to updateAttachment
* @param input - required input to pass to updateAttachment
* @returns AttachmentPayload
*/
updateAttachment(id: string, input: AttachmentUpdateInput): LinearFetch<AttachmentPayload>;
/**
* Creates a new comment.
*
* @param input - required input to pass to createComment
* @returns CommentPayload
*/
createComment(input: CommentCreateInput): LinearFetch<CommentPayload>;
/**
* Deletes a comment.
*
* @param id - required id to pass to deleteComment
* @returns DeletePayload
*/
deleteComment(id: string): LinearFetch<DeletePayload>;
/**
* Resolves a comment thread. Marks the root comment as resolved by the current user.
*
* @param id - required id to pass to commentResolve
* @param variables - variables without 'id' to pass into the CommentResolveMutation
* @returns CommentPayload
*/
commentResolve(id: string, variables?: Omit<CommentResolveMutationVariables, "id">): LinearFetch<CommentPayload>;
/**
* Unresolves a previously resolved comment thread. Clears the resolved state on the root comment.
*
* @param id - required id to pass to commentUnresolve
* @returns CommentPayload
*/
commentUnresolve(id: string): LinearFetch<CommentPayload>;
/**
* Updates a comment.
*
* @param id - required id to pass to updateComment
* @param input - required input to pass to updateComment
* @param variables - variables without 'id', 'input' to pass into the UpdateCommentMutation
* @returns CommentPayload
*/
updateComment(id: string, input: CommentUpdateInput, variables?: Omit<UpdateCommentMutationVariables, "id" | "input">): LinearFetch<CommentPayload>;
/**
* Creates a support contact message from an authenticated user. The message is saved and forwarded to Intercom for support handling.
*
* @param input - required input to pass to createContact
* @returns ContactPayload
*/
createContact(input: ContactCreateInput): LinearFetch<ContactPayload>;
/**
* Creates a CSV export report for the workspace. The report is generated asynchronously and delivered via email. Requires workspace admin export permission.
*
* @param variables - variables to pass into the CreateCsvExportReportMutation
* @returns CreateCsvExportReportPayload
*/
createCsvExportReport(variables?: CreateCsvExportReportMutationVariables): LinearFetch<CreateCsvExportReportPayload>;
/**
* Create a notification to remind a user about an initiative update.
*
* @param initiativeId - required initiativeId to pass to createInitiativeUpdateReminder
* @param variables - variables without 'initiativeId' to pass into the CreateInitiativeUpdateReminderMutation
* @returns InitiativeUpdateReminderPayload
*/
createInitiativeUpdateReminder(initiativeId: string, variables?: Omit<CreateInitiativeUpdateReminderMutationVariables, "initiativeId">): LinearFetch<InitiativeUpdateReminderPayload>;
/**
* Create a notification to remind a user about a project update.
*
* @param projectId - required projectId to pass to createProjectUpdateReminder
* @param variables - variables without 'projectId' to pass into the CreateProjectUpdateReminderMutation
* @returns ProjectUpdateReminderPayload
*/
createProjectUpdateReminder(projectId: string, variables?: Omit<CreateProjectUpdateReminderMutationVariables, "projectId">): LinearFetch<ProjectUpdateReminderPayload>;
/**
* Creates a new custom view.
*
* @param input - required input to pass to createCustomView
* @returns CustomViewPayload
*/
createCustomView(input: CustomViewCreateInput): LinearFetch<CustomViewPayload>;
/**
* Deletes a custom view.
*
* @param id - required id to pass to deleteCustomView
* @returns DeletePayload
*/
deleteCustomView(id: string): LinearFetch<DeletePayload>;
/**
* Updates a custom view.
*
* @param id - required id to pass to updateCustomView
* @param input - required input to pass to updateCustomView
* @returns CustomViewPayload
*/
updateCustomView(id: string, input: CustomViewUpdateInput): LinearFetch<CustomViewPayload>;
/**
* Creates a new customer.
*
* @param input - required input to pass to createCustomer
* @returns CustomerPayload
*/
createCustomer(input: CustomerCreateInput): LinearFetch<CustomerPayload>;
/**
* Deletes a customer.
*
* @param id - required id to pass to deleteCustomer
* @returns DeletePayload
*/
deleteCustomer(id: string): LinearFetch<DeletePayload>;
/**
* Merges two customers by transferring all needs from the source customer to the target customer. The source customer is archived after the merge. Domains, external IDs, and metadata are combined on the target customer.
*
* @param sourceCustomerId - required sourceCustomerId to pass to customerMerge
* @param targetCustomerId - required targetCustomerId to pass to customerMerge
* @returns CustomerPayload
*/
customerMerge(sourceCustomerId: string, targetCustomerId: string): LinearFetch<CustomerPayload>;
/**
* Archives a customer need.
*
* @param id - required id to pass to archiveCustomerNeed
* @returns CustomerNeedArchivePayload
*/
archiveCustomerNeed(id: string): LinearFetch<CustomerNeedArchivePayload>;
/**
* Creates a new customer need.
*
* @param input - required input to pass to createCustomerNeed
* @returns CustomerNeedPayload
*/
createCustomerNeed(input: CustomerNeedCreateInput): LinearFetch<CustomerNeedPayload>;
/**
* Creates a new customer need from an existing issue attachment. If the attachment already has an archived need, it will be unarchived instead of creating a duplicate.
*
* @param input - required input to pass to customerNeedCreateFromAttachment
* @returns CustomerNeedPayload
*/
customerNeedCreateFromAttachment(input: CustomerNeedCreateFromAttachmentInput): LinearFetch<CustomerNeedPayload>;
/**
* Deletes a customer need.
*
* @param id - required id to pass to deleteCustomerNeed
* @param variables - variables without 'id' to pass into the DeleteCustomerNeedMutation
* @returns DeletePayload
*/
deleteCustomerNeed(id: string, variables?: Omit<DeleteCustomerNeedMutationVariables, "id">): LinearFetch<DeletePayload>;
/**
* Unarchives a customer need.
*
* @param id - required id to pass to unarchiveCustomerNeed
* @returns CustomerNeedArchivePayload
*/
unarchiveCustomerNeed(id: string): LinearFetch<CustomerNeedArchivePayload>;
/**
* Updates an existing customer need. Supports moving the need to a different issue or project, changing priority, updating the body content, and managing the attached source URL.
*
* @param id - required id to pass to updateCustomerNeed
* @param input - required input to pass to updateCustomerNeed
* @param variables - variables without 'id', 'input' to pass into the UpdateCustomerNeedMutation
* @returns CustomerNeedUpdatePayload
*/
updateCustomerNeed(id: string, input: CustomerNeedUpdateInput, variables?: Omit<UpdateCustomerNeedMutationVariables, "id" | "input">): LinearFetch<CustomerNeedUpdatePayload>;
/**
* Creates a new customer status.
*
* @param input - required input to pass to createCustomerStatus
* @returns CustomerStatusPayload
*/
createCustomerStatus(input: CustomerStatusCreateInput): LinearFetch<CustomerStatusPayload>;
/**
* Deletes a customer status. Cannot delete the last remaining status in a workspace, and the status must not be in use by any customers.
*
* @param id - required id to pass to deleteCustomerStatus
* @returns DeletePayload
*/
deleteCustomerStatus(id: string): LinearFetch<DeletePayload>;
/**
* Updates a customer status.
*
* @param id - required id to pass to updateCustomerStatus
* @param input - required input to pass to updateCustomerStatus
* @returns CustomerStatusPayload
*/
updateCustomerStatus(id: string, input: CustomerStatusUpdateInput): LinearFetch<CustomerStatusPayload>;
/**
* Creates a new customer tier.
*
* @param input - required input to pass to createCustomerTier
* @returns CustomerTierPayload
*/
createCustomerTier(input: CustomerTierCreateInput): LinearFetch<CustomerTierPayload>;
/**
* Deletes a customer tier. The tier must not be in use by any customers.
*
* @param id - required id to pass to deleteCustomerTier
* @returns DeletePayload
*/
deleteCustomerTier(id: string): LinearFetch<DeletePayload>;
/**
* Updates a customer tier.
*
* @param id - required id to pass to updateCustomerTier
* @param input - required input to pass to updateCustomerTier
* @returns CustomerTierPayload
*/
updateCustomerTier(id: string, input: CustomerTierUpdateInput): LinearFetch<CustomerTierPayload>;
/**
* Unsyncs a managed customer from its current data source integration. External IDs mapping to the external source will be cleared, and the customer will no longer be updated by the integration.
*
* @param id - required id to pass to customerUnsync
* @returns CustomerPayload
*/
customerUnsync(id: string): LinearFetch<CustomerPayload>;
/**
* Updates an existing customer.
*
* @param id - required id to pass to updateCustomer
* @param input - required input to pass to updateCustomer
* @returns CustomerPayload
*/
updateCustomer(id: string, input: CustomerUpdateInput): LinearFetch<CustomerPayload>;
/**
* Upserts a customer, creating it if no match is found, or updating it otherwise. Matches against existing customers using `id`, `externalId`, `slackChannelId`, or `domains`.
*
* @param input - required input to pass to customerUpsert
* @returns CustomerPayload
*/
customerUpsert(input: CustomerUpsertInput): LinearFetch<CustomerPayload>;
/**
* Archives a cycle. All issues currently assigned to the cycle are unlinked from it before archiving.
*
* @param id - required id to pass to archiveCycle
* @returns CycleArchivePayload
*/
archiveCycle(id: string): LinearFetch<CycleArchivePayload>;
/**
* Creates a new cycle.
*
* @param input - required input to pass to createCycle
* @returns CyclePayload
*/
createCycle(input: CycleCreateInput): LinearFetch<CyclePayload>;
/**
* Shifts all cycles starts and ends by a certain number of days, starting from the provided cycle onwards.
*
* @param input - required input to pass to cycleShiftAll
* @returns CyclePayload
*/
cycleShiftAll(input: CycleShiftAllInput): LinearFetch<CyclePayload>;
/**
* Starts the upcoming cycle as of midnight today. Completes the previous cycle if it has not yet ended. Only the next upcoming (not yet started) cycle for the team can be started.
*
* @param id - required id to pass to cycleStartUpcomingCycleToday
* @returns CyclePayload
*/
cycleStartUpcomingCycleToday(id: string): LinearFetch<CyclePayload>;
/**
* Updates a cycle.
*
* @param id - required id to pass to updateCycle
* @param input - required input to pass to updateCycle
* @returns CyclePayload
*/
updateCycle(id: string, input: CycleUpdateInput): LinearFetch<CyclePayload>;
/**
* Creates a new document.
*
* @param input - required input to pass to createDocument
* @returns DocumentPayload
*/
createDocument(input: DocumentCreateInput): LinearFetch<DocumentPayload>;
/**
* Deletes (trashes) a document. The document is marked as trashed and archived, but not permanently removed.
*
* @param id - required id to pass to deleteDocument
* @returns DocumentArchivePayload
*/
deleteDocument(id: string): LinearFetch<DocumentArchivePayload>;
/**
* Restores a previously trashed document by unarchiving it.
*
* @param id - required id to pass to unarchiveDocument
* @returns DocumentArchivePayload
*/
unarchiveDocument(id: string): LinearFetch<DocumentArchivePayload>;
/**
* Updates a document.
*
* @param id - required id to pass to updateDocument
* @param input - required input to pass to updateDocument
* @returns DocumentPayload
*/
updateDocument(id: string, input: DocumentUpdateInput): LinearFetch<DocumentPayload>;
/**
* Creates a new email intake address.
*
* @param input - required input to pass to createEmailIntakeAddress
* @returns EmailIntakeAddressPayload
*/
createEmailIntakeAddress(input: EmailIntakeAddressCreateInput): LinearFetch<EmailIntakeAddressPayload>;
/**
* Deletes an email intake address object.
*
* @param id - required id to pass to deleteEmailIntakeAddress
* @returns DeletePayload
*/
deleteEmailIntakeAddress(id: string): LinearFetch<DeletePayload>;
/**
* Requests an immediate, on-demand SES domain verification status check for an email intake address and keeps it in the frequent (per-minute) check lane for a short window. Use when a user is actively configuring their custom sending domain so authorization converges quickly instead of waiting for the once-a-day lane.
*
* @param id - required id to pass to emailIntakeAddressRefreshSesDomainStatus
* @returns EmailIntakeAddressRefreshSesDomainStatusPayload
*/
emailIntakeAddressRefreshSesDomainStatus(id: string): LinearFetch<EmailIntakeAddressRefreshSesDomainStatusPayload>;
/**
* Rotates an existing email intake address.
*
* @param id - required id to pass to emailIntakeAddressRotate
* @returns EmailIntakeAddressPayload
*/
emailIntakeAddressRotate(id: string): LinearFetch<EmailIntakeAddressPayload>;
/**
* Updates an existing email intake address.
*
* @param id - required id to pass to updateEmailIntakeAddress
* @param input - required input to pass to updateEmailIntakeAddress
* @returns EmailIntakeAddressPayload
*/
updateEmailIntakeAddress(id: string, input: EmailIntakeAddressUpdateInput): LinearFetch<EmailIntakeAddressPayload>;
/**
* Authenticates a user account via email and authentication token.
*
* @param input - required input to pass to emailTokenUserAccountAuth
* @returns AuthResolverResponse
*/
emailTokenUserAccountAuth(input: TokenUserAccountAuthInput): LinearFetch<AuthResolverResponse>;
/**
* Unsubscribes the user from one type of email.
*
* @param input - required input to pass to emailUnsubscribe
* @returns EmailUnsubscribePayload
*/
emailUnsubscribe(input: EmailUnsubscribeInput): LinearFetch<EmailUnsubscribePayload>;
/**
* Finds or creates a new user account by email and sends an email with token.
*
* @param input - required input to pass to emailUserAccountAuthChallenge
* @returns EmailUserAccountAuthChallengeResponse
*/
emailUserAccountAuthChallenge(input: EmailUserAccountAuthChallengeInput): LinearFetch<EmailUserAccountAuthChallengeResponse>;
/**
* Creates a custom emoji.
*
* @param input - required input to pass to createEmoji
* @returns EmojiPayload
*/
createEmoji(input: EmojiCreateInput): LinearFetch<EmojiPayload>;
/**
* Deletes an emoji.
*
* @param id - required id to pass to deleteEmoji
* @returns DeletePayload
*/
deleteEmoji(id: string): LinearFetch<DeletePayload>;
/**
* Creates a new external link on an initiative, project, team, release, or cycle.
*
* @param input - required input to pass to createEntityExternalLink
* @returns EntityExternalLinkPayload
*/
createEntityExternalLink(input: EntityExternalLinkCreateInput): LinearFetch<EntityExternalLinkPayload>;
/**
* Deletes an entity external link.
*
* @param id - required id to pass to deleteEntityExternalLink
* @returns DeletePayload
*/
deleteEntityExternalLink(id: string): LinearFetch<DeletePayload>;
/**
* Updates an existing entity external link's URL, label, or sort order.
*
* @param id - required id to pass to updateEntityExternalLink
* @param input - required input to pass to updateEntityExternalLink
* @returns EntityExternalLinkPayload
*/
updateEntityExternalLink(id: string, input: EntityExternalLinkUpdateInput): LinearFetch<EntityExternalLinkPayload>;
/**
* Creates a new favorite for the authenticated user. Exactly one target entity must be specified. If a favorite for the same entity already exists, the existing favorite is returned (upsert behavior).
*
* @param input - required input to pass to createFavorite
* @returns FavoritePayload
*/
createFavorite(input: FavoriteCreateInput): LinearFetch<FavoritePayload>;
/**
* Deletes a favorite, removing it from the user's sidebar. This is an idempotent operation -- deleting a non-existent favorite succeeds silently.
*
* @param id - required id to pass to deleteFavorite
* @returns DeletePayload
*/
deleteFavorite(id: string): LinearFetch<DeletePayload>;
/**
* Updates a favorite's position, parent folder, or folder name.
*
* @param id - required id to pass to updateFavorite
* @param input - required input to pass to updateFavorite
* @returns FavoritePayload
*/
updateFavorite(id: string, input: FavoriteUpdateInput): LinearFetch<FavoritePayload>;
/**
* XHR request payload to upload an images, video and other attachments directly to Linear's cloud storage.
*
* @param contentType - required contentType to pass to fileUpload
* @param filename - required filename to pass to fileUpload
* @param size - required size to pass to fileUpload
* @param variables - variables without 'contentType', 'filename', 'size' to pass into the FileUploadMutation
* @returns UploadPayload
*/
fileUpload(contentType: string, filename: string, size: number, variables?: Omit<FileUploadMutationVariables, "contentType" | "filename" | "size">): LinearFetch<UploadPayload>;
/**
* Creates a new Git automation rule that maps a Git event to a workflow state transition for a team.
*
* @param input - required input to pass to createGitAutomationState
* @returns GitAutomationStatePayload
*/
createGitAutomationState(input: GitAutomationStateCreateInput): LinearFetch<GitAutomationStatePayload>;
/**
* Deletes a Git automation rule.
*
* @param id - required id to pass to deleteGitAutomationState
* @returns DeletePayload
*/
deleteGitAutomationState(id: string): LinearFetch<DeletePayload>;
/**
* Updates an existing Git automation rule, including its workflow state, target branch, and triggering event.
*
* @param id - required id to pass to updateGitAutomationState
* @param input - required input to pass to updateGitAutomationState
* @returns GitAutomationStatePayload
*/
updateGitAutomationState(id: string, input: GitAutomationStateUpdateInput): LinearFetch<GitAutomationStatePayload>;
/**
* Creates a new Git target branch definition that scopes automation rules to pull requests targeting a specific branch pattern.
*
* @param input - required input to pass to createGitAutomationTargetBranch
* @returns GitAutomationTargetBranchPayload
*/
createGitAutomationTargetBranch(input: GitAutomationTargetBranchCreateInput): LinearFetch<GitAutomationTargetBranchPayload>;
/**
* Deletes a Git target branch definition and its associated automation rules.
*
* @param id - required id to pass to deleteGitAutomationTargetBranch
* @returns DeletePayload
*/
deleteGitAutomationTargetBranch(id: string): LinearFetch<DeletePayload>;
/**
* Updates an existing Git target branch definition, including its branch pattern and regex flag.
*
* @param id - required id to pass to updateGitAutomationTargetBranch
* @param input - required input to pass to updateGitAutomationTargetBranch
* @returns GitAutomationTargetBranchPayload
*/
updateGitAutomationTargetBranch(id: string, input: GitAutomationTargetBranchUpdateInput): LinearFetch<GitAutomationTargetBranchPayload>;
/**
* Authenticate user account through Google OAuth. This is the 2nd step of OAuth flow.
*
* @param input - required input to pass to googleUserAccountAuth
* @returns AuthResolverResponse
*/
googleUserAccountAuth(input: GoogleUserAccountAuthInput): LinearFetch<AuthResolverResponse>;
/**
* Upload an image from an URL to Linear.
*
* @param url - required url to pass to imageUploadFromUrl
* @returns ImageUploadFromUrlPayload
*/
imageUploadFromUrl(url: string): LinearFetch<ImageUploadFromUrlPayload>;
/**
* XHR request payload to upload a file for import, directly to Linear's cloud storage.
*
* @param contentType - required contentType to pass to importFileUpload
* @param filename - required filename to pass to importFileUpload
* @param size - required size to pass to importFileUpload
* @param variables - variables without 'contentType', 'filename', 'size' to pass into the ImportFileUploadMutation
* @returns UploadPayload
*/
importFileUpload(contentType: string, filename: string, size: number, variables?: Omit<ImportFileUploadMutationVariables, "contentType" | "filename" | "size">): LinearFetch<UploadPayload>;
/**
* Adds a label to an initiative.
*
* @param id - required id to pass to initiativeAddLabel
* @param labelId - required labelId to pass to initiativeAddLabel
* @returns InitiativePayload
*/
initiativeAddLabel(id: string, labelId: string): LinearFetch<InitiativePayload>;
/**
* Archives an initiative.
*
* @param id - required id to pass to archiveInitiative
* @returns InitiativeArchivePayload
*/
archiveInitiative(id: string): LinearFetch<InitiativeArchivePayload>;
/**
* Creates a new initiative.
*
* @param input - required input to pass to createInitiative
* @returns InitiativePayload
*/
createInitiative(input: InitiativeCreateInput): LinearFetch<InitiativePayload>;
/**
* Deletes (trashes) an initiative.
*
* @param id - required id to pass to deleteInitiative
* @returns DeletePayload
*/
deleteInitiative(id: string): LinearFetch<DeletePayload>;
/**
* Creates a new initiative label.
*
* @param input - required input to pass to createInitiativeLabel
* @returns InitiativeLabelPayload
*/
createInitiativeLabel(input: InitiativeLabelCreateInput): LinearFetch<InitiativeLabelPayload>;
/**
* Deletes an initiative label.
*
* @param id - required id to pass to deleteInitiativeLabel
* @returns DeletePayload
*/
deleteInitiativeLabel(id: string): LinearFetch<DeletePayload>;
/**
* Restores a previously retired initiative label, making it available for use on new initiatives.
*
* @param id - required id to pass to initiativeLabelRestore
* @returns InitiativeLabelPayload
*/
initiativeLabelRestore(id: string): LinearFetch<InitiativeLabelPayload>;
/**
* Retires an initiative label. Retired labels remain on existing initiatives but cannot be applied to new ones.
*
* @param id - required id to pass to initiativeLabelRetire
* @returns InitiativeLabelPayload
*/
initiativeLabelRetire(id: string): LinearFetch<InitiativeLabelPayload>;
/**
* Updates an initiative label.
*
* @param id - required id to pass to updateInitiativeLabel
* @param input - required input to pass to updateInitiativeLabel
* @returns InitiativeLabelPayload
*/
updateInitiativeLabel(id: string, input: InitiativeLabelUpdateInput): LinearFetch<InitiativeLabelPayload>;
/**
* Creates a new parent-child relation between two initiatives. The relation cannot create cycles or exceed maximum nesting depth.
*
* @param input - required input to pass to createInitiativeRelation
* @returns InitiativeRelationPayload
*/
createInitiativeRelation(input: InitiativeRelationCreateInput): LinearFetch<InitiativeRelationPayload>;
/**
* Deletes an initiative relation.
*
* @param id - required id to pass to deleteInitiativeRelation
* @returns DeletePayload
*/
deleteInitiativeRelation(id: string): LinearFetch<DeletePayload>;
/**
* Updates an initiative relation.
*
* @param id - required id to pass to updateInitiativeRelation
* @param input - required input to pass to updateInitiativeRelation
* @returns InitiativeRelationPayload
*/
updateInitiativeRelation(id: string, input: InitiativeRelationUpdateInput): LinearFetch<InitiativeRelationPayload>;
/**
* Removes a label from an initiative.
*
* @param id - required id to pass to initiativeRemoveLabel
* @param labelId - required labelId to pass to initiativeRemoveLabel
* @returns InitiativePayload
*/
initiativeRemoveLabel(id: string, labelId: string): LinearFetch<InitiativePayload>;
/**
* Associates a project with an initiative. A project can only appear once in an initiative hierarchy.
*
* @param input - required input to pass to createInitiativeToProject
* @returns InitiativeToProjectPayload
*/
createInitiativeToProject(input: InitiativeToProjectCreateInput): LinearFetch<InitiativeToProjectPayload>;
/**
* Removes a project from an initiative.
*
* @param id - required id to pass to deleteInitiativeToProject
* @returns DeletePayload
*/
deleteInitiativeToProject(id: string): LinearFetch<DeletePayload>;
/**
* Updates an initiative-to-project association, such as its sort order.
*
* @param id - required id to pass to updateInitiativeToProject
* @param input - required input to pass to updateInitiativeToProject
* @returns InitiativeToProjectPayload
*/
updateInitiativeToProject(id: string, input: InitiativeToProjectUpdateInput): LinearFetch<InitiativeToProjectPayload>;
/**
* Unarchives an initiative.
*
* @param id - required id to pass to unarchiveInitiative
* @returns InitiativeArchivePayload
*/
unarchiveInitiative(id: string): LinearFetch<InitiativeArchivePayload>;
/**
* Updates an initiative.
*
* @param id - required id to pass to updateInitiative
* @param input - required input to pass to updateInitiative
* @returns InitiativePayload
*/
updateInitiative(id: string, input: InitiativeUpdateInput): LinearFetch<InitiativePayload>;
/**
* Archives an initiative update.
*
* @param id - required id to pass to archiveInitiativeUpdate
* @returns InitiativeUpdateArchivePayload
*/
archiveInitiativeUpdate(id: string): LinearFetch<InitiativeUpdateArchivePayload>;
/**
* Creates an initiative update.
*
* @param input - required input to pass to createInitiativeUpdate
* @returns InitiativeUpdatePayload
*/
createInitiativeUpdate(input: InitiativeUpdateCreateInput): LinearFetch<InitiativeUpdatePayload>;
/**
* Unarchives an initiative update.
*
* @param id - required id to pass to unarchiveInitiativeUpdate
* @returns InitiativeUpdateArchivePayload
*/
unarchiveInitiativeUpdate(id: string): LinearFetch<InitiativeUpdateArchivePayload>;
/**
* Updates an initiative update.
*
* @param id - required id to pass to updateInitiativeUpdate
* @param input - required input to pass to updateInitiativeUpdate
* @returns InitiativeUpdatePayload
*/
updateInitiativeUpdate(id: string, input: InitiativeUpdateUpdateInput): LinearFetch<InitiativeUpdatePayload>;
/**
* Archives an integration.
*
* @param id - required id to pass to archiveIntegration
* @returns DeletePayload
*/
archiveIntegration(id: string): LinearFetch<DeletePayload>;
/**
* Connect a Slack channel to Asks.
*
* @param code - required code to pass to integrationAsksConnectChannel
* @param redirectUri - required redirectUri to pass to integrationAsksConnectChannel
* @returns AsksChannelConnectPayload
*/
integrationAsksConnectChannel(code: string, redirectUri: string): LinearFetch<AsksChannelConnectPayload>;
/**
* Deletes an integration.
*
* @param id - required id to pass to deleteIntegration
* @param variables - variables without 'id' to pass into the DeleteIntegrationMutation
* @returns DeletePayload
*/
deleteIntegration(id: string, variables?: Omit<DeleteIntegrationMutationVariables, "id">): LinearFetch<DeletePayload>;
/**
* Integrates the workspace with Discord.
*
* @param code - required code to pass to integrationDiscord
* @param redirectUri - required redirectUri to pass to integrationDiscord
* @returns IntegrationPayload
*/
integrationDiscord(code: string, redirectUri: string): LinearFetch<IntegrationPayload>;
/**
* Integrates the workspace with Figma.
*
* @param code - required code to pass to integrationFigma
* @param redirectUri - required redirectUri to pass to integrationFigma
* @returns IntegrationPayload
*/
integrationFigma(code: string, redirectUri: string): LinearFetch<IntegrationPayload>;
/**
* Integrates the workspace with Front.
*
* @param code - required code to pass to integrationFront
* @param redirectUri - required redirectUri to pass to integrationFront
* @returns IntegrationPayload
*/
integrationFront(code: string, redirectUri: string): LinearFetch<IntegrationPayload>;
/**
* Connects the workspace with a GitHub Enterprise Server.
*
* @param githubUrl - required githubUrl to pass to integrationGitHubEnterpriseServerConnect
* @param organizationName - required organizationName to pass to integrationGitHubEnterpriseServerConnect
* @returns GitHubEnterpriseServerPayload
*/
integrationGitHubEnterpriseServerConnect(githubUrl: string, organizationName: string): LinearFetch<GitHubEnterpriseServerPayload>;
/**
* Connect your GitHub account to Linear.
*
* @param code - required code to pass to integrationGitHubPersonal
* @param variables - variables without 'code' to pass into the IntegrationGitHubPersonalMutation
* @returns IntegrationPayload
*/
integrationGitHubPersonal(code: string, variables?: Omit<IntegrationGitHubPersonalMutationVariables, "code">): LinearFetch<IntegrationPayload>;
/**
* Generates a webhook for the GitHub commit integration.
*
* @returns GitHubCommitIntegrationPayload
*/
get createIntegrationGithubCommit(): LinearFetch<GitHubCommitIntegrationPayload>;
/**
* Connects the workspace with the GitHub App.
*
* @param code - required code to pass to integrationGithubConnect
* @param installationId - required installationId to pass to integrationGithubConnect
* @param variables - variables without 'code', 'installationId' to pass into the IntegrationGithubConnectMutation
* @returns IntegrationPayload
*/
integrationGithubConnect(code: string, installationId: string, variables?: Omit<IntegrationGithubConnectMutationVariables, "code" | "installationId">): LinearFetch<IntegrationPayload>;
/**
* Connects the workspace with the GitHub Import App.
*
* @param code - required code to pass to integrationGithubImportConnect
* @param installationId - required installationId to pass to integrationGithubImportConnect
* @returns IntegrationPayload
*/
integrationGithubImportConnect(code: string, installationId: string): LinearFetch<IntegrationPayload>;
/**
* Refreshes the data for a GitHub import integration.
*
* @param id - required id to pass to integrationGithubImportRefresh
* @returns IntegrationPayload
*/
integrationGithubImportRefresh(id: string): LinearFetch<IntegrationPayload>;
/**
* Removes code access from a GitHub integration, downgrading to the basic GitHub App.
*
* @param integrationId - required integrationId to pass to integrationGithubRemoveCodeAccess
* @returns IntegrationGithubRemoveCodeAccessPayload
*/
integrationGithubRemoveCodeAccess(integrationId: string): LinearFetch<IntegrationGithubRemoveCodeAccessPayload>;
/**
* Connects the workspace with a GitLab Access Token.
*
* @param accessToken - required accessToken to pass to integrationGitlabConnect
* @param gitlabUrl - required gitlabUrl to pass to integrationGitlabConnect
* @param variables - variables without 'accessToken', 'gitlabUrl' to pass into the IntegrationGitlabConnectMutation
* @returns GitLabIntegrationCreatePayload
*/
integrationGitlabConnect(accessToken: string, gitlabUrl: string, variables?: Omit<IntegrationGitlabConnectMutationVariables, "accessToken" | "gitlabUrl">): LinearFetch<GitLabIntegrationCreatePayload>;
/**
* Tests connectivity to a self-hosted GitLab instance and clears auth errors if successful.
*
* @param integrationId - required integrationId to pass to integrationGitlabTestConnection
* @returns GitLabTestConnectionPayload
*/
integrationGitlabTestConnection(integrationId: string): LinearFetch<GitLabTestConnectionPayload>;
/**
* Integrates the workspace with Gong.
*
* @param code - required code to pass to integrationGong
* @param redirectUri - required redirectUri to pass to integrationGong
* @returns IntegrationPayload
*/
integrationGong(code: string, redirectUri: string): LinearFetch<IntegrationPayload>;
/**
* Integrates the workspace with Google Sheets.
*
* @param code - required code to pass to integrationGoogleSheets
* @returns IntegrationPayload
*/
integrationGoogleSheets(code: string): LinearFetch<IntegrationPayload>;
/**
* Integrates the workspace with Intercom.
*
* @param code - required code to pass to integrationIntercom
* @param redirectUri - required redirectUri to pass to integrationIntercom
* @param variables - variables without 'code', 'redirectUri' to pass into the IntegrationIntercomMutation
* @returns IntegrationPayload
*/
integrationIntercom(code: string, redirectUri: string, variables?: Omit<IntegrationIntercomMutationVariables, "code" | "redirectUri">): LinearFetch<IntegrationPayload>;
/**
* Disconnects the workspace from Intercom.
*
* @returns IntegrationPayload
*/
get deleteIntegrationIntercom(): LinearFetch<IntegrationPayload>;
/**
* [DEPRECATED] Updates settings on the Intercom integration.
*
* @param input - required input to pass to updateIntegrationIntercomSettings
* @returns IntegrationPayload
*/
updateIntegrationIntercomSettings(input: IntercomSettingsInput): LinearFetch<IntegrationPayload>;
/**
* Connect your Jira account to Linear.
*
* @param variables - variables to pass into the IntegrationJiraPersonalMutation
* @returns IntegrationPayload
*/
integrationJiraPersonal(variables?: IntegrationJiraPersonalMutationVariables): LinearFetch<IntegrationPayload>;
/**
* Enables Loom integration for the workspace.
*
* @returns IntegrationPayload
*/
get integrationLoom(): LinearFetch<IntegrationPayload>;
/**
* Connects the user's personal Microsoft account to Linear.
*
* @param code - required code to pass to integrationMicrosoftPersonalConnect
* @param redirectUri - required redirectUri to pass to integrationMicrosoftPersonalConnect
* @returns IntegrationPayload
*/
integrationMicrosoftPersonalConnect(code: string, redirectUri: string): LinearFetch<IntegrationPayload>;
/**
* Integrates the workspace with Microsoft Teams.
*
* @param code - required code to pass to integrationMicrosoftTeams
* @param redirectUri - required redirectUri to pass to integrationMicrosoftTeams
* @returns IntegrationPayload
*/
integrationMicrosoftTeams(code: string, redirectUri: string): LinearFetch<IntegrationPayload>;
/**
* Requests a currently unavailable integration.
*
* @param input - required input to pass to integrationRequest
* @returns IntegrationRequestPayload
*/
integrationRequest(input: IntegrationRequestInput): LinearFetch<IntegrationRequestPayload>;
/**
* Integrates the workspace with Salesforce.
*
* @param code - required code to pass to integrationSalesforce
* @param codeVerifier - required codeVerifier to pass to integrationSalesforce
* @param redirectUri - required redirectUri to pass to integrationSalesforce
* @param subdomain - required subdomain to pass to integrationSalesforce
* @returns IntegrationPayload
*/
integrationSalesforce(code: string, codeVerifier: string, redirectUri: string, subdomain: string): LinearFetch<IntegrationPayload>;
/**
* Integrates the workspace with Sentry.
*
* @param code - required code to pass to integrationSentryConnect
* @param installationId - required installationId to pass to integrationSentryConnect
* @param organizationSlug - required organizationSlug to pass to integrationSentryConnect
* @returns IntegrationPayload
*/
integrationSentryConnect(code: string, installationId: string, organizationSlug: string): LinearFetch<IntegrationPayload>;
/**
* Integrates the workspace with Slack.
*
* @param code - required code to pass to integrationSlack
* @param redirectUri - required redirectUri to pass to integrationSlack
* @param variables - variables without 'code', 'redirectUri' to pass into the IntegrationSlackMutation
* @returns IntegrationPayload
*/
integrationSlack(code: string, redirectUri: string, variables?: Omit<IntegrationSlackMutationVariables, "code" | "redirectUri">): LinearFetch<IntegrationPayload>;
/**
* Integrates the workspace with the Slack Asks app.
*
* @param code - required code to pass to integrationSlackAsks
* @param redirectUri - required redirectUri to pass to integrationSlackAsks
* @param variables - variables without 'code', 'redirectUri' to pass into the IntegrationSlackAsksMutation
* @returns IntegrationPayload
*/
integrationSlackAsks(code: string, redirectUri: string, variables?: Omit<IntegrationSlackAsksMutationVariables, "code" | "redirectUri">): LinearFetch<IntegrationPayload>;
/**
* Slack integration for custom view notifications.
*
* @param code - required code to pass to integrationSlackCustomViewNotifications
* @param customViewId - required customViewId to pass to integrationSlackCustomViewNotifications
* @param redirectUri - required redirectUri to pass to integrationSlackCustomViewNotifications
* @returns SlackChannelConnectPayload
*/
integrationSlackCustomViewNotifications(code: string, customViewId: string, redirectUri: string): LinearFetch<SlackChannelConnectPayload>;
/**
* Integrates a Slack Asks channel with a Customer.
*
* @param code - required code to pass to integrationSlackCustomerChannelLink
* @param customerId - required customerId to pass to integrationSlackCustomerChannelLink
* @param redirectUri - required redirectUri to pass to integrationSlackCustomerChannelLink
* @returns SuccessPayload
*/
integrationSlackCustomerChannelLink(code: string, customerId: string, redirectUri: string): LinearFetch<SuccessPayload>;
/**
* Imports custom emojis from your Slack workspace.
*
* @param code - required code to pass to integrationSlackImportEmojis
* @param redirectUri - required redirectUri to pass to integrationSlackImportEmojis
* @returns IntegrationPayload
*/
integrationSlackImportEmojis(code: string, redirectUri: string): LinearFetch<IntegrationPayload>;
/**
* Updates the Slack team's name in Linear for an existing Slack or Asks integration.
*
* @param integrationId - required integrationId to pass to integrationSlackOrAsksUpdateSlackTeamName
* @returns IntegrationSlackWorkspaceNamePayload
*/
integrationSlackOrAsksUpdateSlackTeamName(integrationId: string): LinearFetch<IntegrationSlackWorkspaceNamePayload>;
/**
* Slack integration for workspace-level project update notifications.
*
* @param code - required code to pass to integrationSlackOrgProjectUpdatesPost
* @param redirectUri - required redirectUri to pass to integrationSlackOrgProjectUpdatesPost
* @returns SlackChannelConnectPayload
*/
integrationSlackOrgProjectUpdatesPost(code: string, redirectUri: string): LinearFetch<SlackChannelConnectPayload>;
/**
* Integrates your personal notifications with Slack.
*
* @param code - required code to pass to integrationSlackPersonal
* @param redirectUri - required redirectUri to pass to integrationSlackPersonal
* @returns IntegrationPayload
*/
integrationSlackPersonal(code: string, redirectUri: string): LinearFetch<IntegrationPayload>;
/**
* Slack integration for team notifications.
*
* @param code - required code to pass to integrationSlackPost
* @param redirectUri - required redirectUri to pass to integrationSlackPost
* @param teamId - required teamId to pass to integrationSlackPost
* @param variables - variables without 'code', 'redirectUri', 'teamId' to pass into the IntegrationSlackPostMutation
* @returns SlackChannelConnectPayload
*/
integrationSlackPost(code: string, redirectUri: string, teamId: string, variables?: Omit<IntegrationSlackPostMutationVariables, "code" | "redirectUri" | "teamId">): LinearFetch<SlackChannelConnectPayload>;
/**
* Slack integration for project notifications.
*
* @param code - required code to pass to integrationSlackProjectPost
* @param projectId - required projectId to pass to integrationSlackProjectPost
* @param redirectUri - required redirectUri to pass to integrationSlackProjectPost
* @param service - required service to pass to integrationSlackProjectPost
* @returns SlackChannelConnectPayload
*/
integrationSlackProjectPost(code: string, projectId: string, redirectUri: string, service: string): LinearFetch<SlackChannelConnectPayload>;
/**
* Creates a new connection between a template and an integration, optionally scoped to a specific external resource such as a Slack channel.
*
* @param input - required input to pass to createIntegrationTemplate
* @returns IntegrationTemplatePayload
*/
createIntegrationTemplate(input: IntegrationTemplateCreateInput): LinearFetch<IntegrationTemplatePayload>;
/**
* Deletes an integration template connection, removing the link between a template and an integration.
*
* @param id - required id to pass to deleteIntegrationTemplate
* @returns DeletePayload
*/
deleteIntegrationTemplate(id: string): LinearFetch<DeletePayload>;
/**
* Integrates the workspace with Zendesk.
*
* @param subdomain - required subdomain to pass to integrationZendesk
* @param variables - variables without 'subdomain' to pass into the IntegrationZendeskMutation
* @returns IntegrationPayload
*/
integrationZendesk(subdomain: string, variables?: Omit<IntegrationZendeskMutationVariables, "subdomain">): LinearFetch<IntegrationPayload>;
/**
* Creates new Slack notification settings for a team, project, initiative, or custom view.
*
* @param input - required input to pass to createIntegrationsSettings
* @returns IntegrationsSettingsPayload
*/
createIntegrationsSettings(input: IntegrationsSettingsCreateInput): LinearFetch<IntegrationsSettingsPayload>;
/**
* Updates Slack notification settings for a team, project, initiative, or custom view.
*
* @param id - required id to pass to updateIntegrationsSettings
* @param input - required input to pass to updateIntegrationsSettings
* @returns IntegrationsSettingsPayload
*/
updateIntegrationsSettings(id: string, input: IntegrationsSettingsUpdateInput): LinearFetch<IntegrationsSettingsPayload>;
/**
* Adds a label to an issue.
*
* @param id - required id to pass to issueAddLabel
* @param labelId - required labelId to pass to issueAddLabel
* @returns IssuePayload
*/
issueAddLabel(id: string, labelId: string): LinearFetch<IssuePayload>;
/**
* Archives an issue.
*
* @param id - required id to pass to archiveIssue
* @param variables - variables without 'id' to pass into the ArchiveIssueMutation
* @returns IssueArchivePayload
*/
archiveIssue(id: string, variables?: Omit<ArchiveIssueMutationVariables, "id">): LinearFetch<IssueArchivePayload>;
/**
* Creates a list of issues in one transaction.
*
* @param input - required input to pass to createIssueBatch
* @returns IssueBatchPayload
*/
createIssueBatch(input: IssueBatchCreateInput): LinearFetch<IssueBatchPayload>;
/**
* Updates multiple issues at once.
*
* @param ids - required ids to pass to updateIssueBatch
* @param input - required input to pass to updateIssueBatch
* @returns IssueBatchPayload
*/
updateIssueBatch(ids: Scalars["UUID"][], input: IssueUpdateInput): LinearFetch<IssueBatchPayload>;
/**
* Creates a new issue.
*
* @param input - required input to pass to createIssue
* @returns IssuePayload
*/
createIssue(input: IssueCreateInput): LinearFetch<IssuePayload>;
/**
* Deletes (trashes) an issue.
*
* @param id - required id to pass to deleteIssue
* @param variables - variables without 'id' to pass into the DeleteIssueMutation
* @returns IssueArchivePayload
*/
deleteIssue(id: string, variables?: Omit<DeleteIssueMutationVariables, "id">): LinearFetch<IssueArchivePayload>;
/**
* Disables external sync on an issue.
*
* @param attachmentId - required attachmentId to pass to issueExternalSyncDisable
* @returns IssuePayload
*/
issueExternalSyncDisable(attachmentId: string): LinearFetch<IssuePayload>;
/**
* Kicks off an Asana import job.
*
* @param asanaTeamName - required asanaTeamName to pass to issueImportCreateAsana
* @param asanaToken - required asanaToken to pass to issueImportCreateAsana
* @param variables - variables without 'asanaTeamName', 'asanaToken' to pass into the IssueImportCreateAsanaMutation
* @returns IssueImportPayload
*/
issueImportCreateAsana(asanaTeamName: string, asanaToken: string, variables?: Omit<IssueImportCreateAsanaMutationVariables, "asanaTeamName" | "asanaToken">): LinearFetch<IssueImportPayload>;
/**
* Kicks off a Jira import job from a CSV.
*
* @param csvUrl - required csvUrl to pass to issueImportCreateCSVJira
* @param variables - variables without 'csvUrl' to pass into the IssueImportCreateCsvJiraMutation
* @returns IssueImportPayload
*/
issueImportCreateCSVJira(csvUrl: string, variables?: Omit<IssueImportCreateCsvJiraMutationVariables, "csvUrl">): LinearFetch<IssueImportPayload>;
/**
* Kicks off a Shortcut (formerly Clubhouse) import job.
*
* @param clubhouseGroupName - required clubhouseGroupName to pass to issueImportCreateClubhouse
* @param clubhouseToken - required clubhouseToken to pass to issueImportCreateClubhouse
* @param variables - variables without 'clubhouseGroupName', 'clubhouseToken' to pass into the IssueImportCreateClubhouseMutation
* @returns IssueImportPayload
*/
issueImportCreateClubhouse(clubhouseGroupName: string, clubhouseToken: string, variables?: Omit<IssueImportCreateClubhouseMutationVariables, "clubhouseGroupName" | "clubhouseToken">): LinearFetch<IssueImportPayload>;
/**
* Kicks off a GitHub import job.
*
* @param variables - variables to pass into the IssueImportCreateGithubMutation
* @returns IssueImportPayload
*/
issueImportCreateGithub(variables?: IssueImportCreateGithubMutationVariables): LinearFetch<IssueImportPayload>;
/**
* Kicks off a Jira import job.
*
* @param jiraEmail - required jiraEmail to pass to issueImportCreateJira
* @param jiraHostname - required jiraHostname to pass to issueImportCreateJira
* @param jiraProject - required jiraProject to pass to issueImportCreateJira
* @param jiraToken - required jiraToken to pass to issueImportCreateJira
* @param variables - variables without 'jiraEmail', 'jiraHostname', 'jiraProject', 'jiraToken' to pass into the IssueImportCreateJiraMutation
* @returns IssueImportPayload
*/
issueImportCreateJira(jiraEmail: string, jiraHostname: string, jiraProject: string, jiraToken: string, variables?: Omit<IssueImportCreateJiraMutationVariables, "jiraEmail" | "jiraHostname" | "jiraProject" | "jiraToken">): LinearFetch<IssueImportPayload>;
/**
* Deletes an import job.
*
* @param issueImportId - required issueImportId to pass to deleteIssueImport
* @returns IssueImportDeletePayload
*/
deleteIssueImport(issueImportId: string): LinearFetch<IssueImportDeletePayload>;
/**
* Kicks off import processing.
*
* @param issueImportId - required issueImportId to pass to issueImportProcess
* @param mapping - required mapping to pass to issueImportProcess
* @returns IssueImportPayload
*/
issueImportProcess(issueImportId: string, mapping: Scalars["JSONObject"]): LinearFetch<IssueImportPayload>;
/**
* Updates the mapping for the issue import.
*
* @param id - required id to pass to updateIssueImport
* @param input - required input to pass to updateIssueImport
* @returns IssueImportPayload
*/
updateIssueImport(id: string, input: IssueImportUpdateInput): LinearFetch<IssueImportPayload>;
/**
* Creates a new label.
*
* @param input - required input to pass to createIssueLabel
* @param variables - variables without 'input' to pass into the CreateIssueLabelMutation
* @returns IssueLabelPayload
*/
createIssueLabel(input: IssueLabelCreateInput, variables?: Omit<CreateIssueLabelMutationVariables, "input">): LinearFetch<IssueLabelPayload>;
/**
* Deletes an issue label.
*
* @param id - required id to pass to deleteIssueLabel
* @returns DeletePayload
*/
deleteIssueLabel(id: string): LinearFetch<DeletePayload>;
/**
* Restores a previously retired label, making it available for use again.
*
* @param id - required id to pass to issueLabelRestore
* @returns IssueLabelPayload
*/
issueLabelRestore(id: string): LinearFetch<IssueLabelPayload>;
/**
* Retires a label. Retired labels are still visible but cannot be applied to new issues. Existing issues with the label are not affected.
*
* @param id - required id to pass to issueLabelRetire
* @returns IssueLabelPayload
*/
issueLabelRetire(id: string): LinearFetch<IssueLabelPayload>;
/**
* Updates a label.
*
* @param id - required id to pass to updateIssueLabel
* @param input - required input to pass to updateIssueLabel
* @param variables - variables without 'id', 'input' to pass into the UpdateIssueLabelMutation
* @returns IssueLabelPayload
*/
updateIssueLabel(id: string, input: IssueLabelUpdateInput, variables?: Omit<UpdateIssueLabelMutationVariables, "id" | "input">): LinearFetch<IssueLabelPayload>;
/**
* Creates a new issue relation.
*
* @param input - required input to pass to createIssueRelation
* @param variables - variables without 'input' to pass into the CreateIssueRelationMutation
* @returns IssueRelationPayload
*/
createIssueRelation(input: IssueRelationCreateInput, variables?: Omit<CreateIssueRelationMutationVariables, "input">): LinearFetch<IssueRelationPayload>;
/**
* Deletes an issue relation.
*
* @param id - required id to pass to deleteIssueRelation
* @returns DeletePayload
*/
deleteIssueRelation(id: string): LinearFetch<DeletePayload>;
/**
* Updates an issue relation.
*
* @param id - required id to pass to updateIssueRelation
* @param input - required input to pass to updateIssueRelation
* @returns IssueRelationPayload
*/
updateIssueRelation(id: string, input: IssueRelationUpdateInput): LinearFetch<IssueRelationPayload>;
/**
* Adds an issue reminder. Will cause a notification to be sent when the issue reminder time is reached.
*
* @param id - required id to pass to issueReminder
* @param reminderAt - required reminderAt to pass to issueReminder
* @returns IssuePayload
*/
issueReminder(id: string, reminderAt: Date): LinearFetch<IssuePayload>;
/**
* Removes a label from an issue.
*
* @param id - required id to pass to issueRemoveLabel
* @param labelId - required labelId to pass to issueRemoveLabel
* @returns IssuePayload
*/
issueRemoveLabel(id: string, labelId: string): LinearFetch<IssuePayload>;
/**
* Shares an issue with a user who would not otherwise be able to access it. The viewer must have native access to the issue's full sub-issue tree and permission to share issues in the issue's team. Issues that inherit sharing from a parent issue cannot be shared directly.
*
* @param id - required id to pass to issueShare
* @param userId - required userId to pass to issueShare
* @returns IssuePayload
*/
issueShare(id: string, userId: string): LinearFetch<IssuePayload>;
/**
* Subscribes a user to an issue.
*
* @param id - required id to pass to issueSubscribe
* @param variables - variables without 'id' to pass into the IssueSubscribeMutation
* @returns IssuePayload
*/
issueSubscribe(id: string, variables?: Omit<IssueSubscribeMutationVariables, "id">): LinearFetch<IssuePayload>;
/**
* Creates a new association between an issue and a release, linking the issue to the release for tracking purposes.
*
* @param input - required input to pass to createIssueToRelease
* @returns IssueToReleasePayload
*/
createIssueToRelease(input: IssueToReleaseCreateInput): LinearFetch<IssueToReleasePayload>;
/**
* Deletes an issue-to-release association by its identifier, removing the issue from the release.
*
* @param id - required id to pass to deleteIssueToRelease
* @returns DeletePayload
*/
deleteIssueToRelease(id: string): LinearFetch<DeletePayload>;
/**
* Deletes an issue-to-release association by looking up the issue and release identifiers, removing the issue from the release.
*
* @param issueId - required issueId to pass to issueToReleaseDeleteByIssueAndRelease
* @param releaseId - required releaseId to pass to issueToReleaseDeleteByIssueAndRelease
* @returns DeletePayload
*/
issueToReleaseDeleteByIssueAndRelease(issueId: string, releaseId: string): LinearFetch<DeletePayload>;
/**
* Unarchives an issue.
*
* @param id - required id to pass to unarchiveIssue
* @returns IssueArchivePayload
*/
unarchiveIssue(id: string): LinearFetch<IssueArchivePayload>;
/**
* Stops sharing an issue with a user. The viewer must have native access to the issue's full sub-issue tree and permission to share issues in the issue's team. Issues that inherit sharing from a parent issue cannot be unshared directly.
*
* @param id - required id to pass to issueUnshare
* @param userId - required userId to pass to issueUnshare
* @returns IssuePayload
*/
issueUnshare(id: string, userId: string): LinearFetch<IssuePayload>;
/**
* Unsubscribes a user from an issue.
*
* @param id - required id to pass to issueUnsubscribe
* @param variables - variables without 'id' to pass into the IssueUnsubscribeMutation
* @returns IssuePayload
*/
issueUnsubscribe(id: string, variables?: Omit<IssueUnsubscribeMutationVariables, "id">): LinearFetch<IssuePayload>;
/**
* Updates an issue.
*
* @param id - required id to pass to updateIssue
* @param input - required input to pass to updateIssue
* @returns IssuePayload
*/
updateIssue(id: string, input: IssueUpdateInput): LinearFetch<IssuePayload>;
/**
* Logout the client.
*
* @param variables - variables to pass into the LogoutMutation
* @returns LogoutResponse
*/
logout(variables?: LogoutMutationVariables): LinearFetch<LogoutResponse>;
/**
* Logout all of user's sessions including the active one.
*
* @param variables - variables to pass into the LogoutAllSessionsMutation
* @returns LogoutResponse
*/
logoutAllSessions(variables?: LogoutAllSessionsMutationVariables): LinearFetch<LogoutResponse>;
/**
* Logout all of user's sessions excluding the current one.
*
* @param variables - variables to pass into the LogoutOtherSessionsMutation
* @returns LogoutResponse
*/
logoutOtherSessions(variables?: LogoutOtherSessionsMutationVariables): LinearFetch<LogoutResponse>;
/**
* Logout an individual session with its ID.
*
* @param sessionId - required sessionId to pass to logoutSession
* @returns LogoutResponse
*/
logoutSession(sessionId: string): LinearFetch<LogoutResponse>;
/**
* Archives a notification.
*
* @param id - required id to pass to archiveNotification
* @returns NotificationArchivePayload
*/
archiveNotification(id: string): LinearFetch<NotificationArchivePayload>;
/**
* Archives a notification and all related notifications.
*
* @param input - required input to pass to notificationArchiveAll
* @returns NotificationBatchActionPayload
*/
notificationArchiveAll(input: NotificationEntityInput): LinearFetch<NotificationBatchActionPayload>;
/**
* Subscribes to or unsubscribes from a specific notification category for a given notification channel. For example, subscribe to 'issueAssignment' notifications via the 'email' channel.
*
* @param category - required category to pass to updateNotificationCategoryChannelSubscription
* @param channel - required channel to pass to updateNotificationCategoryChannelSubscription
* @param subscribe - required subscribe to pass to updateNotificationCategoryChannelSubscription
* @returns UserSettingsPayload
*/
updateNotificationCategoryChannelSubscription(category: NotificationCategory, channel: NotificationChannel, subscribe: boolean): LinearFetch<UserSettingsPayload>;
/**
* Marks notification and all related notifications as read.
*
* @param input - required input to pass to notificationMarkReadAll
* @param readAt - required readAt to pass to notificationMarkReadAll
* @returns NotificationBatchActionPayload
*/
notificationMarkReadAll(input: NotificationEntityInput, readAt: Date): LinearFetch<NotificationBatchActionPayload>;
/**
* Marks notification and all related notifications as unread.
*
* @param input - required input to pass to notificationMarkUnreadAll
* @returns NotificationBatchActionPayload
*/
notificationMarkUnreadAll(input: NotificationEntityInput): LinearFetch<NotificationBatchActionPayload>;
/**
* Snoozes a notification and all related notifications.
*
* @param input - required input to pass to notificationSnoozeAll
* @param snoozedUntilAt - required snoozedUntilAt to pass to notificationSnoozeAll
* @returns NotificationBatchActionPayload
*/
notificationSnoozeAll(input: NotificationEntityInput, snoozedUntilAt: Date): LinearFetch<NotificationBatchActionPayload>;
/**
* Creates a new notification subscription for a specific entity. The subscription determines which notification types the authenticated user will receive for the target entity. Exactly one target entity (customer, custom view, cycle, initiative, label, project, team, or user) must be specified.
*
* @param input - required input to pass to createNotificationSubscription
* @returns NotificationSubscriptionPayload
*/
createNotificationSubscription(input: NotificationSubscriptionCreateInput): LinearFetch<NotificationSubscriptionPayload>;
/**
* Deletes a notification subscription reference.
*
* @param id - required id to pass to deleteNotificationSubscription
* @returns DeletePayload
*/
deleteNotificationSubscription(id: string): LinearFetch<DeletePayload>;
/**
* Updates a notification subscription.
*
* @param id - required id to pass to updateNotificationSubscription
* @param input - required input to pass to updateNotificationSubscription
* @returns NotificationSubscriptionPayload
*/
updateNotificationSubscription(id: string, input: NotificationSubscriptionUpdateInput): LinearFetch<NotificationSubscriptionPayload>;
/**
* Unarchives a notification.
*
* @param id - required id to pass to unarchiveNotification
* @returns NotificationArchivePayload
*/
unarchiveNotification(id: string): LinearFetch<NotificationArchivePayload>;
/**
* Unsnoozes a notification and all related notifications.
*
* @param input - required input to pass to notificationUnsnoozeAll
* @param unsnoozedAt - required unsnoozedAt to pass to notificationUnsnoozeAll
* @returns NotificationBatchActionPayload
*/
notificationUnsnoozeAll(input: NotificationEntityInput, unsnoozedAt: Date): LinearFetch<NotificationBatchActionPayload>;
/**
* Updates a notification.
*
* @param id - required id to pass to updateNotification
* @param input - required input to pass to updateNotification
* @returns NotificationPayload
*/
updateNotification(id: string, input: NotificationUpdateInput): LinearFetch<NotificationPayload>;
/**
* Cancels a previously requested workspace deletion, if the workspace has not yet been fully deleted.
*
* @returns OrganizationCancelDeletePayload
*/
get deleteOrganizationCancel(): LinearFetch<OrganizationCancelDeletePayload>;
/**
* Permanently deletes the workspace and all its data. Requires a valid deletion code obtained from organizationDeleteChallenge. This action is irreversible.
*
* @param input - required input to pass to deleteOrganization
* @returns OrganizationDeletePayload
*/
deleteOrganization(input: DeleteOrganizationInput): LinearFetch<OrganizationDeletePayload>;
/**
* Requests a deletion confirmation code for the workspace. The code is sent to the requesting user's email and must be used with the organizationDelete mutation to confirm deletion.
*
* @returns OrganizationDeletePayload
*/
get organizationDeleteChallenge(): LinearFetch<OrganizationDeletePayload>;
/**
* Deletes a domain.
*
* @param id - required id to pass to deleteOrganizationDomain
* @returns DeletePayload
*/
deleteOrganizationDomain(id: string): LinearFetch<DeletePayload>;
/**
* Creates a new workspace invite and sends an invitation email to the specified address. The invite includes a role assignment and optional team memberships.
*
* @param input - required input to pass to createOrganizationInvite
* @returns OrganizationInvitePayload
*/
createOrganizationInvite(input: OrganizationInviteCreateInput): LinearFetch<OrganizationInvitePayload>;
/**
* Deletes (archives) a workspace invite, preventing it from being accepted.
*
* @param id - required id to pass to deleteOrganizationInvite
* @returns DeletePayload
*/
deleteOrganizationInvite(id: string): LinearFetch<DeletePayload>;
/**
* Updates an existing workspace invite, such as changing the teams the invitee will be added to.
*
* @param id - required id to pass to updateOrganizationInvite
* @param input - required input to pass to updateOrganizationInvite
* @returns OrganizationInvitePayload
*/
updateOrganizationInvite(id: string, input: OrganizationInviteUpdateInput): LinearFetch<OrganizationInvitePayload>;
/**
* [DEPRECATED] Starts a trial for the workspace.
*
* @returns OrganizationStartTrialPayload
*/
get organizationStartTrial(): LinearFetch<OrganizationStartTrialPayload>;
/**
* Starts a trial for the workspace on the specified plan type. The workspace must not already be on a paid plan or in an active trial.
*
* @param input - required input to pass to organizationStartTrialForPlan
* @returns OrganizationStartTrialPayload
*/
organizationStartTrialForPlan(input: OrganizationStartTrialInput): LinearFetch<OrganizationStartTrialPayload>;
/**
* Updates the user's workspace settings. Different settings require different permission levels; most require the workspaceSettings admin permission.
*
* @param input - required input to pass to updateOrganization
* @returns OrganizationPayload
*/
updateOrganization(input: OrganizationUpdateInput): LinearFetch<OrganizationPayload>;
/**
* Adds a label to a project.
*
* @param id - required id to pass to projectAddLabel
* @param labelId - required labelId to pass to projectAddLabel
* @returns ProjectPayload
*/
projectAddLabel(id: string, labelId: string): LinearFetch<ProjectPayload>;
/**
* Archives a project.
*
* @param id - required id to pass to archiveProject
* @param variables - variables without 'id' to pass into the ArchiveProjectMutation
* @returns ProjectArchivePayload
*/
archiveProject(id: string, variables?: Omit<ArchiveProjectMutationVariables, "id">): LinearFetch<ProjectArchivePayload>;
/**
* Creates a new project.
*
* @param input - required input to pass to createProject
* @param variables - variables without 'input' to pass into the CreateProjectMutation
* @returns ProjectPayload
*/
createProject(input: ProjectCreateInput, variables?: Omit<CreateProjectMutationVariables, "input">): LinearFetch<ProjectPayload>;
/**
* Deletes (trashes) a project. The project can be restored later with projectUnarchive.
*
* @param id - required id to pass to deleteProject
* @returns ProjectArchivePayload
*/
deleteProject(id: string): LinearFetch<ProjectArchivePayload>;
/**
* Disables external sync on a project.
*
* @param projectId - required projectId to pass to projectExternalSyncDisable
* @param syncSource - required syncSource to pass to projectExternalSyncDisable
* @returns ProjectPayload
*/
projectExternalSyncDisable(projectId: string, syncSource: ExternalSyncService): LinearFetch<ProjectPayload>;
/**
* Creates a new project label.
*
* @param input - required input to pass to createProjectLabel
* @param variables - variables without 'input' to pass into the CreateProjectLabelMutation
* @returns ProjectLabelPayload
*/
createProjectLabel(input: ProjectLabelCreateInput, variables?: Omit<CreateProjectLabelMutationVariables, "input">): LinearFetch<ProjectLabelPayload>;
/**
* Deletes a project label.
*
* @param id - required id to pass to deleteProjectLabel
* @returns DeletePayload
*/
deleteProjectLabel(id: string): LinearFetch<DeletePayload>;
/**
* Restores a previously retired project label, making it available for use on new projects.
*
* @param id - required id to pass to projectLabelRestore
* @returns ProjectLabelPayload
*/
projectLabelRestore(id: string): LinearFetch<ProjectLabelPayload>;
/**
* Retires a project label. Retired labels remain on existing projects but cannot be applied to new ones.
*
* @param id - required id to pass to projectLabelRetire
* @returns ProjectLabelPayload
*/
projectLabelRetire(id: string): LinearFetch<ProjectLabelPayload>;
/**
* Updates a project label.
*
* @param id - required id to pass to updateProjectLabel
* @param input - required input to pass to updateProjectLabel
* @param variables - variables without 'id', 'input' to pass into the UpdateProjectLabelMutation
* @returns ProjectLabelPayload
*/
updateProjectLabel(id: string, input: ProjectLabelUpdateInput, variables?: Omit<UpdateProjectLabelMutationVariables, "id" | "input">): LinearFetch<ProjectLabelPayload>;
/**
* Creates a new project milestone.
*
* @param input - required input to pass to createProjectMilestone
* @returns ProjectMilestonePayload
*/
createProjectMilestone(input: ProjectMilestoneCreateInput): LinearFetch<ProjectMilestonePayload>;
/**
* Deletes a project milestone.
*
* @param id - required id to pass to deleteProjectMilestone
* @returns DeletePayload
*/
deleteProjectMilestone(id: string): LinearFetch<DeletePayload>;
/**
* Updates a project milestone.
*
* @param id - required id to pass to updateProjectMilestone
* @param input - required input to pass to updateProjectMilestone
* @returns ProjectMilestonePayload
*/
updateProjectMilestone(id: string, input: ProjectMilestoneUpdateInput): LinearFetch<ProjectMilestonePayload>;
/**
* Creates a new project relation.
*
* @param input - required input to pass to createProjectRelation
* @returns ProjectRelationPayload
*/
createProjectRelation(input: ProjectRelationCreateInput): LinearFetch<ProjectRelationPayload>;
/**
* Deletes a project relation.
*
* @param id - required id to pass to deleteProjectRelation
* @returns DeletePayload
*/
deleteProjectRelation(id: string): LinearFetch<DeletePayload>;
/**
* Updates a project relation.
*
* @param id - required id to pass to updateProjectRelation
* @param input - required input to pass to updateProjectRelation
* @returns ProjectRelationPayload
*/
updateProjectRelation(id: string, input: ProjectRelationUpdateInput): LinearFetch<ProjectRelationPayload>;
/**
* Removes a label from a project.
*
* @param id - required id to pass to projectRemoveLabel
* @param labelId - required labelId to pass to projectRemoveLabel
* @returns ProjectPayload
*/
projectRemoveLabel(id: string, labelId: string): LinearFetch<ProjectPayload>;
/**
* Archives a project status. The status must not have any active projects assigned to it and must not be the last status of its type.
*
* @param id - required id to pass to archiveProjectStatus
* @returns ProjectStatusArchivePayload
*/
archiveProjectStatus(id: string): LinearFetch<ProjectStatusArchivePayload>;
/**
* Creates a new project status.
*
* @param input - required input to pass to createProjectStatus
* @returns ProjectStatusPayload
*/
createProjectStatus(input: ProjectStatusCreateInput): LinearFetch<ProjectStatusPayload>;
/**
* Unarchives a project status.
*
* @param id - required id to pass to unarchiveProjectStatus
* @returns ProjectStatusArchivePayload
*/
unarchiveProjectStatus(id: string): LinearFetch<ProjectStatusArchivePayload>;
/**
* Updates a project status.
*
* @param id - required id to pass to updateProjectStatus
* @param input - required input to pass to updateProjectStatus
* @returns ProjectStatusPayload
*/
updateProjectStatus(id: string, input: ProjectStatusUpdateInput): LinearFetch<ProjectStatusPayload>;
/**
* Restores a previously trashed or archived project.
*
* @param id - required id to pass to unarchiveProject
* @returns ProjectArchivePayload
*/
unarchiveProject(id: string): LinearFetch<ProjectArchivePayload>;
/**
* Updates a project.
*
* @param id - required id to pass to updateProject
* @param input - required input to pass to updateProject
* @returns ProjectPayload
*/
updateProject(id: string, input: ProjectUpdateInput): LinearFetch<ProjectPayload>;
/**
* Archives a project update.
*
* @param id - required id to pass to archiveProjectUpdate
* @returns ProjectUpdateArchivePayload
*/
archiveProjectUpdate(id: string): LinearFetch<ProjectUpdateArchivePayload>;
/**
* Creates a new project update.
*
* @param input - required input to pass to createProjectUpdate
* @returns ProjectUpdatePayload
*/
createProjectUpdate(input: ProjectUpdateCreateInput): LinearFetch<ProjectUpdatePayload>;
/**
* Deletes a project update.
*
* @param id - required id to pass to deleteProjectUpdate
* @returns DeletePayload
*/
deleteProjectUpdate(id: string): LinearFetch<DeletePayload>;
/**
* Unarchives a project update.
*
* @param id - required id to pass to unarchiveProjectUpdate
* @returns ProjectUpdateArchivePayload
*/
unarchiveProjectUpdate(id: string): LinearFetch<ProjectUpdateArchivePayload>;
/**
* Updates a project update.
*
* @param id - required id to pass to updateProjectUpdate
* @param input - required input to pass to updateProjectUpdate
* @returns ProjectUpdatePayload
*/
updateProjectUpdate(id: string, input: ProjectUpdateUpdateInput): LinearFetch<ProjectUpdatePayload>;
/**
* Creates a push subscription for the authenticated user's current device or browser. If a subscription already exists for the same session, the old one is replaced.
*
* @param input - required input to pass to createPushSubscription
* @returns PushSubscriptionPayload
*/
createPushSubscription(input: PushSubscriptionCreateInput): LinearFetch<PushSubscriptionPayload>;
/**
* Deletes a push subscription, unregistering the device from receiving push notifications.
*
* @param id - required id to pass to deletePushSubscription
* @returns PushSubscriptionPayload
*/
deletePushSubscription(id: string): LinearFetch<PushSubscriptionPayload>;
/**
* Creates a new reaction.
*
* @param input - required input to pass to createReaction
* @returns ReactionPayload
*/
createReaction(input: ReactionCreateInput): LinearFetch<ReactionPayload>;
/**
* Deletes a reaction.
*
* @param id - required id to pass to deleteReaction
* @returns DeletePayload
*/
deleteReaction(id: string): LinearFetch<DeletePayload>;
/**
* Manually update Google Sheets data.
*
* @param id - required id to pass to refreshGoogleSheetsData
* @param variables - variables without 'id' to pass into the RefreshGoogleSheetsDataMutation
* @returns IntegrationPayload
*/
refreshGoogleSheetsData(id: string, variables?: Omit<RefreshGoogleSheetsDataMutationVariables, "id">): LinearFetch<IntegrationPayload>;
/**
* Archives a release.
*
* @param id - required id to pass to archiveRelease
* @returns ReleaseArchivePayload
*/
archiveRelease(id: string): LinearFetch<ReleaseArchivePayload>;
/**
* Marks a release as completed. If version is provided, completes that specific release; otherwise completes the most recent started release.
*
* @param input - required input to pass to releaseComplete
* @returns ReleasePayload
*/
releaseComplete(input: ReleaseCompleteInput): LinearFetch<ReleasePayload>;
/**
* Marks a release as completed using an access key. If version is provided, completes that specific release; otherwise completes the most recent started release. The pipeline is inferred from the access key.
*
* @param input - required input to pass to releaseCompleteByAccessKey
* @returns AccessKeyReleasePayload
*/
releaseCompleteByAccessKey(input: ReleaseCompleteInputBase): LinearFetch<AccessKeyReleasePayload>;
/**
* Creates a new release in a pipeline. If no stage is specified, defaults to the first completed stage for continuous pipelines or the first started stage for scheduled pipelines.
*
* @param input - required input to pass to createRelease
* @returns ReleasePayload
*/
createRelease(input: ReleaseCreateInput): LinearFetch<ReleasePayload>;
/**
* Moves a release to the trash bin. Trashed releases are archived and will be permanently deleted after a retention period. If the release is already archived, it is marked as trashed with a fresh archive timestamp.
*
* @param id - required id to pass to deleteRelease
* @returns ReleaseArchivePayload
*/
deleteRelease(id: string): LinearFetch<ReleaseArchivePayload>;
/**
* Creates a release note.
*
* @param input - required input to pass to createReleaseNote
* @returns ReleaseNotePayload
*/
createReleaseNote(input: ReleaseNoteCreateInput): LinearFetch<ReleaseNotePayload>;
/**
* Deletes a release note.
*
* @param id - required id to pass to deleteReleaseNote
* @returns DeletePayload
*/
deleteReleaseNote(id: string): LinearFetch<DeletePayload>;
/**
* Updates a release note.
*
* @param id - required id to pass to updateReleaseNote
* @param input - required input to pass to updateReleaseNote
* @returns ReleaseNotePayload
*/
updateReleaseNote(id: string, input: ReleaseNoteUpdateInput): LinearFetch<ReleaseNotePayload>;
/**
* Archives a release pipeline.
*
* @param id - required id to pass to archiveReleasePipeline
* @returns ReleasePipelineArchivePayload
*/
archiveReleasePipeline(id: string): LinearFetch<ReleasePipelineArchivePayload>;
/**
* Creates a new release pipeline with default stages. Subject to plan entitlement and quota limits.
*
* @param input - required input to pass to createReleasePipeline
* @returns ReleasePipelinePayload
*/
createReleasePipeline(input: ReleasePipelineCreateInput): LinearFetch<ReleasePipelinePayload>;
/**
* Moves a release pipeline to the trash bin. Trashed pipelines are archived and will be permanently deleted after a retention period, along with all their releases. If the pipeline is already archived, it is marked as trashed with a fresh archive timestamp.
*
* @param id - required id to pass to deleteReleasePipeline
* @returns ReleasePipelineArchivePayload
*/
deleteReleasePipeline(id: string): LinearFetch<ReleasePipelineArchivePayload>;
/**
* Unarchives a release pipeline.
*
* @param id - required id to pass to unarchiveReleasePipeline
* @returns ReleasePipelineArchivePayload
*/
unarchiveReleasePipeline(id: string): LinearFetch<ReleasePipelineArchivePayload>;
/**
* Updates an existing release pipeline. Supports updating name, slug, type, production flag, path patterns, and team associations. Private teams that the current user cannot access are preserved in the team list.
*
* @param id - required id to pass to updateReleasePipeline
* @param input - required input to pass to updateReleasePipeline
* @returns ReleasePipelinePayload
*/
updateReleasePipeline(id: string, input: ReleasePipelineUpdateInput): LinearFetch<ReleasePipelinePayload>;
/**
* Archives a release stage. Only started-type stages can be archived, and only if they have no active releases and at least one other stage of the same type remains. Cannot archive the last non-frozen started stage.
*
* @param id - required id to pass to archiveReleaseStage
* @returns ReleaseStageArchivePayload
*/
archiveReleaseStage(id: string): LinearFetch<ReleaseStageArchivePayload>;
/**
* Creates a new release stage in a pipeline. Non-started stages must use default names and colors and are unique by type; creating a canonical duplicate returns the existing stage. Started stages can optionally be frozen, but at least one non-frozen started stage must remain.
*
* @param input - required input to pass to createReleaseStage
* @returns ReleaseStagePayload
*/
createReleaseStage(input: ReleaseStageCreateInput): LinearFetch<ReleaseStagePayload>;
/**
* Unarchives a release stage.
*
* @param id - required id to pass to unarchiveReleaseStage
* @returns ReleaseStageArchivePayload
*/
unarchiveReleaseStage(id: string): LinearFetch<ReleaseStageArchivePayload>;
/**
* Updates an existing release stage. Only started-type stages can be edited. Supports updating name, color, position, and frozen status.
*
* @param id - required id to pass to updateReleaseStage
* @param input - required input to pass to updateReleaseStage
* @returns ReleaseStagePayload
*/
updateReleaseStage(id: string, input: ReleaseStageUpdateInput): LinearFetch<ReleaseStagePayload>;
/**
* Syncs release data by resolving issue and pull request references and associating them with a release. For continuous pipelines, creates a new completed release. For scheduled pipelines, finds or creates a started release and accumulates issues into it.
*
* @param input - required input to pass to releaseSync
* @returns ReleasePayload
*/
releaseSync(input: ReleaseSyncInput): LinearFetch<ReleasePayload>;
/**
* Syncs release data using an access key for CI/CD integration. The pipeline is automatically inferred from the access key's configured resources, so no pipeline ID is needed in the input.
*
* @param input - required input to pass to releaseSyncByAccessKey
* @returns AccessKeyReleasePayload
*/
releaseSyncByAccessKey(input: ReleaseSyncInputBase): LinearFetch<AccessKeyReleasePayload>;
/**
* Unarchives a release.
*
* @param id - required id to pass to unarchiveRelease
* @returns ReleaseArchivePayload
*/
unarchiveRelease(id: string): LinearFetch<ReleaseArchivePayload>;
/**
* Updates an existing release by ID. Supports updating name, description, version, commit SHA, pipeline, stage, and dates.
*
* @param id - required id to pass to updateRelease
* @param input - required input to pass to updateRelease
* @returns ReleasePayload
*/
updateRelease(id: string, input: ReleaseUpdateInput): LinearFetch<ReleasePayload>;
/**
* Updates a release by pipeline identifier. Finds the release by version or latest started/planned release, and optionally transitions it to a new stage by name.
*
* @param input - required input to pass to releaseUpdateByPipeline
* @returns ReleasePayload
*/
releaseUpdateByPipeline(input: ReleaseUpdateByPipelineInput): LinearFetch<ReleasePayload>;
/**
* Updates a release by pipeline using an access key.
*
* @param input - required input to pass to releaseUpdateByPipelineByAccessKey
* @returns AccessKeyReleasePayload
*/
releaseUpdateByPipelineByAccessKey(input: ReleaseUpdateByPipelineInputBase): LinearFetch<AccessKeyReleasePayload>;
/**
* Re-sends a workspace invitation email for the specified invite ID.
*
* @param id - required id to pass to resendOrganizationInvite
* @returns DeletePayload
*/
resendOrganizationInvite(id: string): LinearFetch<DeletePayload>;
/**
* Re-sends a workspace invitation email to the specified email address, if an outstanding invite exists for that address.
*
* @param email - required email to pass to resendOrganizationInviteByEmail
* @returns DeletePayload
*/
resendOrganizationInviteByEmail(email: string): LinearFetch<DeletePayload>;
/**
* Archives a roadmap.
*
* @param id - required id to pass to archiveRoadmap
* @returns RoadmapArchivePayload
*/
archiveRoadmap(id: string): LinearFetch<RoadmapArchivePayload>;
/**
* Creates a new roadmap.
*
* @param input - required input to pass to createRoadmap
* @returns RoadmapPayload
*/
createRoadmap(input: RoadmapCreateInput): LinearFetch<RoadmapPayload>;
/**
* Deletes a roadmap.
*
* @param id - required id to pass to deleteRoadmap
* @returns DeletePayload
*/
deleteRoadmap(id: string): LinearFetch<DeletePayload>;
/**
* [Deprecated] Creates a new roadmap-to-project association. Use InitiativeToProject instead.
*
* @param input - required input to pass to createRoadmapToProject
* @returns RoadmapToProjectPayload
*/
createRoadmapToProject(input: RoadmapToProjectCreateInput): LinearFetch<RoadmapToProjectPayload>;
/**
* [Deprecated] Deletes a roadmap-to-project association. Use InitiativeToProject instead.
*
* @param id - required id to pass to deleteRoadmapToProject
* @returns DeletePayload
*/
deleteRoadmapToProject(id: string): LinearFetch<DeletePayload>;
/**
* [Deprecated] Updates a roadmap-to-project association. Use InitiativeToProject instead.
*
* @param id - required id to pass to updateRoadmapToProject
* @param input - required input to pass to updateRoadmapToProject
* @returns RoadmapToProjectPayload
*/
updateRoadmapToProject(id: string, input: RoadmapToProjectUpdateInput): LinearFetch<RoadmapToProjectPayload>;
/**
* Unarchives a roadmap.
*
* @param id - required id to pass to unarchiveRoadmap
* @returns RoadmapArchivePayload
*/
unarchiveRoadmap(id: string): LinearFetch<RoadmapArchivePayload>;
/**
* Updates a roadmap.
*
* @param id - required id to pass to updateRoadmap
* @param input - required input to pass to updateRoadmap
* @returns RoadmapPayload
*/
updateRoadmap(id: string, input: RoadmapUpdateInput): LinearFetch<RoadmapPayload>;
/**
* Authenticates a user account via email and authentication token for SAML.
*
* @param input - required input to pass to samlTokenUserAccountAuth
* @returns AuthResolverResponse
*/
samlTokenUserAccountAuth(input: TokenUserAccountAuthInput): LinearFetch<AuthResolverResponse>;
/**
* Creates a new team. The user who creates the team will automatically be added as a member and owner of the newly created team. Default workflow states, labels, and other team resources are created alongside the team.
*
* @param input - required input to pass to createTeam
* @param variables - variables without 'input' to pass into the CreateTeamMutation
* @returns TeamPayload
*/
createTeam(input: TeamCreateInput, variables?: Omit<CreateTeamMutationVariables, "input">): LinearFetch<TeamPayload>;
/**
* Deletes all cycle data for a team, disabling the cycles feature. This removes all cycles and their issue associations.
*
* @param id - required id to pass to deleteTeamCycles
* @returns TeamPayload
*/
deleteTeamCycles(id: string): LinearFetch<TeamPayload>;
/**
* Archives a team and schedules its data for deletion. Requires team owner or workspace admin permissions.
*
* @param id - required id to pass to deleteTeam
* @returns DeletePayload
*/
deleteTeam(id: string): LinearFetch<DeletePayload>;
/**
* Deletes a previously used team key. The active team key (the team's current key) cannot be deleted.
*
* @param id - required id to pass to deleteTeamKey
* @returns DeletePayload
*/
deleteTeamKey(id: string): LinearFetch<DeletePayload>;
/**
* Creates a new team membership, adding a user to a team. Validates that the user is not already a member, the team is not archived or retired, and the requesting user has permission to add members.
*
* @param input - required input to pass to createTeamMembership
* @returns TeamMembershipPayload
*/
createTeamMembership(input: TeamMembershipCreateInput): LinearFetch<TeamMembershipPayload>;
/**
* Deletes a team membership, removing the user from the team. Users can remove their own membership, or team owners and workspace admins can remove other members.
*
* @param id - required id to pass to deleteTeamMembership
* @param variables - variables without 'id' to pass into the DeleteTeamMembershipMutation
* @returns DeletePayload
*/
deleteTeamMembership(id: string, variables?: Omit<DeleteTeamMembershipMutationVariables, "id">): LinearFetch<DeletePayload>;
/**
* Updates a team membership, such as changing ownership status or sort order.
*
* @param id - required id to pass to updateTeamMembership
* @param input - required input to pass to updateTeamMembership
* @returns TeamMembershipPayload
*/
updateTeamMembership(id: string, input: TeamMembershipUpdateInput): LinearFetch<TeamMembershipPayload>;
/**
* Unarchives a team and cancels deletion.
*
* @param id - required id to pass to unarchiveTeam
* @returns TeamArchivePayload
*/
unarchiveTeam(id: string): LinearFetch<TeamArchivePayload>;
/**
* Updates a team's settings, properties, or configuration. Requires team owner or workspace admin permissions for most changes.
*
* @param id - required id to pass to updateTeam
* @param input - required input to pass to updateTeam
* @param variables - variables without 'id', 'input' to pass into the UpdateTeamMutation
* @returns TeamPayload
*/
updateTeam(id: string, input: TeamUpdateInput, variables?: Omit<UpdateTeamMutationVariables, "id" | "input">): LinearFetch<TeamPayload>;
/**
* Creates a new template.
*
* @param input - required input to pass to createTemplate
* @returns TemplatePayload
*/
createTemplate(input: TemplateCreateInput): LinearFetch<TemplatePayload>;
/**
* Deletes a template.
*
* @param id - required id to pass to deleteTemplate
* @returns DeletePayload
*/
deleteTemplate(id: string): LinearFetch<DeletePayload>;
/**
* Updates an existing template.
*
* @param id - required id to pass to updateTemplate
* @param input - required input to pass to updateTemplate
* @returns TemplatePayload
*/
updateTemplate(id: string, input: TemplateUpdateInput): LinearFetch<TemplatePayload>;
/**
* Creates a new time schedule.
*
* @param input - required input to pass to createTimeSchedule
* @returns TimeSchedulePayload
*/
createTimeSchedule(input: TimeScheduleCreateInput): LinearFetch<TimeSchedulePayload>;
/**
* Deletes a time schedule.
*
* @param id - required id to pass to deleteTimeSchedule
* @returns DeletePayload
*/
deleteTimeSchedule(id: string): LinearFetch<DeletePayload>;
/**
* Refresh the integration schedule information.
*
* @param id - required id to pass to timeScheduleRefreshIntegrationSchedule
* @returns TimeSchedulePayload
*/
timeScheduleRefreshIntegrationSchedule(id: string): LinearFetch<TimeSchedulePayload>;
/**
* Updates a time schedule.
*
* @param id - required id to pass to updateTimeSchedule
* @param input - required input to pass to updateTimeSchedule
* @returns TimeSchedulePayload
*/
updateTimeSchedule(id: string, input: TimeScheduleUpdateInput): LinearFetch<TimeSchedulePayload>;
/**
* Upsert an external time schedule.
*
* @param externalId - required externalId to pass to timeScheduleUpsertExternal
* @param input - required input to pass to timeScheduleUpsertExternal
* @returns TimeSchedulePayload
*/
timeScheduleUpsertExternal(externalId: string, input: TimeScheduleUpdateInput): LinearFetch<TimeSchedulePayload>;
/**
* Track an anonymous analytics event.
*
* @param input - required input to pass to trackAnonymousEvent
* @returns EventTrackingPayload
*/
trackAnonymousEvent(input: EventTrackingInput): LinearFetch<EventTrackingPayload>;
/**
* Creates a new triage responsibility.
*
* @param input - required input to pass to createTriageResponsibility
* @returns TriageResponsibilityPayload
*/
createTriageResponsibility(input: TriageResponsibilityCreateInput): LinearFetch<TriageResponsibilityPayload>;
/**
* Deletes a triage responsibility.
*
* @param id - required id to pass to deleteTriageResponsibility
* @returns DeletePayload
*/
deleteTriageResponsibility(id: string): LinearFetch<DeletePayload>;
/**
* Updates an existing triage responsibility.
*
* @param id - required id to pass to updateTriageResponsibility
* @param input - required input to pass to updateTriageResponsibility
* @returns TriageResponsibilityPayload
*/
updateTriageResponsibility(id: string, input: TriageResponsibilityUpdateInput): LinearFetch<TriageResponsibilityPayload>;
/**
* Changes the workspace role of a user. The requesting user must have a role equal to or higher than the target role. Requires workspace admin permissions.
*
* @param id - required id to pass to userChangeRole
* @param role - required role to pass to userChangeRole
* @returns UserAdminPayload
*/
userChangeRole(id: string, role: UserRoleType): LinearFetch<UserAdminPayload>;
/**
* Connects the Discord user to this Linear account via OAuth2.
*
* @param code - required code to pass to userDiscordConnect
* @param redirectUri - required redirectUri to pass to userDiscordConnect
* @returns UserPayload
*/
userDiscordConnect(code: string, redirectUri: string): LinearFetch<UserPayload>;
/**
* Disconnects the external user from this Linear account.
*
* @param service - required service to pass to userExternalUserDisconnect
* @returns UserPayload
*/
userExternalUserDisconnect(service: string): LinearFetch<UserPayload>;
/**
* Updates a specific user settings flag by performing an operation (e.g., increment or clear) on it.
*
* @param flag - required flag to pass to updateUserFlag
* @param operation - required operation to pass to updateUserFlag
* @returns UserSettingsFlagPayload
*/
updateUserFlag(flag: UserFlagType, operation: UserFlagUpdateOperation): LinearFetch<UserSettingsFlagPayload>;
/**
* Revokes all active sessions for a user, forcing them to re-authenticate. Can only be called by a workspace admin or owner.
*
* @param id - required id to pass to userRevokeAllSessions
* @returns UserAdminPayload
*/
userRevokeAllSessions(id: string): LinearFetch<UserAdminPayload>;
/**
* Revokes a specific authentication session for a user. The admin cannot revoke their own sessions with this mutation. Can only be called by a workspace admin or owner.
*
* @param id - required id to pass to userRevokeSession
* @param sessionId - required sessionId to pass to userRevokeSession
* @returns UserAdminPayload
*/
userRevokeSession(id: string, sessionId: string): LinearFetch<UserAdminPayload>;
/**
* Resets one or more of the user's setting flags. If no specific flags are provided, all flags are reset.
*
* @param variables - variables to pass into the UserSettingsFlagsResetMutation
* @returns UserSettingsFlagsResetPayload
*/
userSettingsFlagsReset(variables?: UserSettingsFlagsResetMutationVariables): LinearFetch<UserSettingsFlagsResetPayload>;
/**
* Updates the authenticated user's settings, including notification preferences, email subscriptions, theme, and other UI preferences.
*
* @param id - required id to pass to updateUserSettings
* @param input - required input to pass to updateUserSettings
* @returns UserSettingsPayload
*/
updateUserSettings(id: string, input: UserSettingsUpdateInput): LinearFetch<UserSettingsPayload>;
/**
* Suspends a user, deactivating their account and revoking access to the workspace. The suspended user's sessions are invalidated. Can only be called by a workspace admin or owner.
*
* @param id - required id to pass to suspendUser
* @param variables - variables without 'id' to pass into the SuspendUserMutation
* @returns UserAdminPayload
*/
suspendUser(id: string, variables?: Omit<SuspendUserMutationVariables, "id">): LinearFetch<UserAdminPayload>;
/**
* Unlinks a guest user from their identity provider. Can only be called by an admin when SCIM is enabled.
*
* @param id - required id to pass to userUnlinkFromIdentityProvider
* @returns UserAdminPayload
*/
userUnlinkFromIdentityProvider(id: string): LinearFetch<UserAdminPayload>;
/**
* Re-activates a suspended user, restoring their access to the workspace. Can only be called by a workspace admin or owner.
*
* @param id - required id to pass to unsuspendUser
* @param variables - variables without 'id' to pass into the UnsuspendUserMutation
* @returns UserAdminPayload
*/
unsuspendUser(id: string, variables?: Omit<UnsuspendUserMutationVariables, "id">): LinearFetch<UserAdminPayload>;
/**
* Updates a user's profile information. Users can update their own profile; workspace admins can update any user's profile. SCIM-managed users may have restricted name changes.
*
* @param id - required id to pass to updateUser
* @param input - required input to pass to updateUser
* @returns UserPayload
*/
updateUser(id: string, input: UserUpdateInput): LinearFetch<UserPayload>;
/**
* Creates a new view preferences object. If conflicting preferences already exist for the same view type and scope, the existing preferences are replaced.
*
* @param input - required input to pass to createViewPreferences
* @returns ViewPreferencesPayload
*/
createViewPreferences(input: ViewPreferencesCreateInput): LinearFetch<ViewPreferencesPayload>;
/**
* Deletes a view preferences object. If the preferences do not exist, the operation is treated as a successful idempotent deletion.
*
* @param id - required id to pass to deleteViewPreferences
* @returns DeletePayload
*/
deleteViewPreferences(id: string): LinearFetch<DeletePayload>;
/**
* Updates an existing view preferences object. For user-type preferences, only the owning user can update them.
*
* @param id - required id to pass to updateViewPreferences
* @param input - required input to pass to updateViewPreferences
* @returns ViewPreferencesPayload
*/
updateViewPreferences(id: string, input: ViewPreferencesUpdateInput): LinearFetch<ViewPreferencesPayload>;
/**
* Creates a new webhook subscription for the workspace. Requires specifying a URL, resource types to subscribe to, and either a specific team or all public teams.
*
* @param input - required input to pass to createWebhook
* @returns WebhookPayload
*/
createWebhook(input: WebhookCreateInput): LinearFetch<WebhookPayload>;
/**
* Deletes a Webhook.
*
* @param id - required id to pass to deleteWebhook
* @returns DeletePayload
*/
deleteWebhook(id: string): LinearFetch<DeletePayload>;
/**
* Rotates the signing secret for a webhook, generating a new HMAC-SHA256 key and returning it. The old secret is immediately invalidated.
*
* @param id - required id to pass to rotateSecretWebhook
* @returns WebhookRotateSecretPayload
*/
rotateSecretWebhook(id: string): LinearFetch<WebhookRotateSecretPayload>;
/**
* Updates an existing Webhook.
*
* @param id - required id to pass to updateWebhook
* @param input - required input to pass to updateWebhook
* @returns WebhookPayload
*/
updateWebhook(id: string, input: WebhookUpdateInput): LinearFetch<WebhookPayload>;
/**
* Archives a state. Only states with issues that have all been archived can be archived.
*
* @param id - required id to pass to archiveWorkflowState
* @returns WorkflowStateArchivePayload
*/
archiveWorkflowState(id: string): LinearFetch<WorkflowStateArchivePayload>;
/**
* Creates a new state, adding it to the workflow of a team.
*
* @param input - required input to pass to createWorkflowState
* @returns WorkflowStatePayload
*/
createWorkflowState(input: WorkflowStateCreateInput): LinearFetch<WorkflowStatePayload>;
/**
* Updates a state.
*
* @param id - required id to pass to updateWorkflowState
* @param input - required input to pass to updateWorkflowState
* @returns WorkflowStatePayload
*/
updateWorkflowState(id: string, input: WorkflowStateUpdateInput): LinearFetch<WorkflowStatePayload>;
}
//#endregion
//#region src/client.d.ts
/**
* Create a Linear API client
*
* @param options request options to pass to the LinearGraphQLClient
*/
declare class LinearClient extends LinearSdk {
options: LinearClientParsedOptions;
client: LinearGraphQLClient;
constructor(options: LinearClientOptions);
}
//#endregion
//#region src/error.d.ts
/**
* One of potentially many graphql errors returned by the Linear API
*
* @error the raw graphql error returned on the error response
*/
declare class LinearGraphQLError {
/** The type of this graphql error */
type: LinearErrorType;
/** A friendly error message */
message: string;
/** If this error is caused by the user input */
userError?: boolean;
/** The path to the graphql node at which the error occured */
path?: string[];
constructor(error?: LinearGraphQLErrorRaw);
}
/**
* An error from the Linear API
*
* @param error a raw error returned from the LinearGraphQLClient
*/
declare class LinearError extends Error {
/** The type of the first error returned by the Linear API */
type?: LinearErrorType;
/** A list of graphql errors returned by the Linear API */
errors?: LinearGraphQLError[];
/** The graphql query that caused this error */
query?: string;
/** The graphql variables that caused this error */
variables?: Record<string, unknown>;
/** Any data returned by this request */
data?: unknown;
/** The http status of this request */
status?: number;
/** The raw LinearGraphQLClient error */
raw?: LinearErrorRaw;
constructor(error?: LinearErrorRaw, errors?: LinearGraphQLError[], type?: LinearErrorType);
}
declare class FeatureNotAccessibleLinearError extends LinearError {
constructor(error?: LinearErrorRaw, errors?: LinearGraphQLError[]);
}
declare class InvalidInputLinearError extends LinearError {
constructor(error?: LinearErrorRaw, errors?: LinearGraphQLError[]);
}
declare class RatelimitedLinearError extends LinearError {
constructor(error?: LinearErrorRaw, errors?: LinearGraphQLError[]);
/** How long, in seconds, the user agent should wait before making a follow-up request. */
retryAfter: number | undefined;
/** The max amount of requests allowed in the duration. */
requestsLimit: number | undefined;
/** The remaining requests before rate limiting kicks in. */
requestsRemaining: number | undefined;
/** Unix timestamp at which the requests will be reset. */
requestsResetAt: number | undefined;
/** The max amount of complexity allowed in the duration. */
complexityLimit: number | undefined;
/** The remaining complexity before rate limiting kicks in. */
complexityRemaining: number | undefined;
/** Unix timestamp at which the complexity will be reset. */
complexityResetAt: number | undefined;
private parseNumber;
}
declare class NetworkLinearError extends LinearError {
constructor(error?: LinearErrorRaw, errors?: LinearGraphQLError[]);
}
declare class AuthenticationLinearError extends LinearError {
constructor(error?: LinearErrorRaw, errors?: LinearGraphQLError[]);
}
declare class ForbiddenLinearError extends LinearError {
constructor(error?: LinearErrorRaw, errors?: LinearGraphQLError[]);
}
declare class BootstrapLinearError extends LinearError {
constructor(error?: LinearErrorRaw, errors?: LinearGraphQLError[]);
}
declare class UnknownLinearError extends LinearError {
constructor(error?: LinearErrorRaw, errors?: LinearGraphQLError[]);
}
declare class InternalLinearError extends LinearError {
constructor(error?: LinearErrorRaw, errors?: LinearGraphQLError[]);
}
declare class OtherLinearError extends LinearError {
constructor(error?: LinearErrorRaw, errors?: LinearGraphQLError[]);
}
declare class UserLinearError extends LinearError {
constructor(error?: LinearErrorRaw, errors?: LinearGraphQLError[]);
}
declare class GraphqlLinearError extends LinearError {
constructor(error?: LinearErrorRaw, errors?: LinearGraphQLError[]);
}
declare class LockTimeoutLinearError extends LinearError {
constructor(error?: LinearErrorRaw, errors?: LinearGraphQLError[]);
}
declare class UsageLimitExceededLinearError extends LinearError {
constructor(error?: LinearErrorRaw, errors?: LinearGraphQLError[]);
}
declare function parseLinearError(error?: LinearErrorRaw | LinearError): LinearError;
//#endregion
//#region src/index.d.ts
/**
* @deprecated LinearWebhooks has been renamed: use LinearWebhookClient from `@linear/sdk/webhooks` instead. This alias will be removed in a future version.
*/
declare const LinearWebhooks: typeof LinearWebhookClient;
//#endregion
export { AccessKeyRelease, AccessKeyReleasePayload, AccessKeyReleasePipeline, AccessKeyReleaseStage, ActorBot, AdministrableTeamsQuery, AgentActivitiesQuery, AgentActivity, AgentActivityActionContent, AgentActivityConnection, AgentActivityElicitationContent, AgentActivityErrorContent, AgentActivityPayload, AgentActivityPromptContent, AgentActivityQuery, AgentActivityResponseContent, AgentActivitySignal, AgentActivityThoughtContent, AgentActivityType, AgentActivityWebhookPayload, AgentAutomationRetryResolution, AgentAutomationRetryResolutionStatus, AgentAutomationUsageLimitScope, AgentSession, AgentSessionConnection, AgentSessionCreateOnCommentMutation, AgentSessionCreateOnIssueMutation, AgentSessionEventWebhookPayload, AgentSessionExternalLink, AgentSessionPayload, AgentSessionQuery, AgentSessionStatus, AgentSessionToPullRequest, AgentSessionToPullRequestConnection, AgentSessionType, AgentSessionUpdateExternalUrlMutation, AgentSessionWebhookPayload, AgentSession_ActivitiesQuery, AgentSessionsQuery, AgentSkill, AgentSkillConnection, AgentSkillPayload, AgentSkillQuery, AgentSkillsQuery, AiConversationAckKind, AiConversationAckPart, AiConversationBasePart, AiConversationBaseToolCall, AiConversationBaseWidget, AiConversationBashToolCall, AiConversationBashToolCallArgs, AiConversationClientPlatform, AiConversationCodeIntelligenceToolCall, AiConversationCodeIntelligenceToolCallArgs, AiConversationCreateEntityToolCall, AiConversationCreateEntityToolCallArgs, AiConversationCreateEntityToolCallResult, AiConversationCreateSandboxToolCall, AiConversationCreateSandboxToolCallArgs, AiConversationDeleteEntityToolCall, AiConversationDeleteEntityToolCallArgs, AiConversationElicitationKind, AiConversationElicitationOption, AiConversationElicitationPart, AiConversationEntityCardWidget, AiConversationEntityCardWidgetArgs, AiConversationEntityCardWidgetArgsAction, AiConversationEntityCardWidgetArgsType, AiConversationEntityListWidget, AiConversationEntityListWidgetArgs, AiConversationEntityListWidgetArgsAction, AiConversationEntityListWidgetArgsEntities, AiConversationEntityListWidgetArgsEntitiesType, AiConversationErrorPart, AiConversationErrorType, AiConversationEventPart, AiConversationGetMicrosoftTeamsConversationHistoryToolCall, AiConversationGetPullRequestCheckLogsToolCall, AiConversationGetPullRequestCheckLogsToolCallArgs, AiConversationGetPullRequestDiffToolCall, AiConversationGetPullRequestDiffToolCallArgs, AiConversationGetPullRequestFileToolCall, AiConversationGetPullRequestFileToolCallArgs, AiConversationGetSlackConversationHistoryToolCall, AiConversationHandoffToCodingSessionToolCall, AiConversationHandoffToCodingSessionToolCallArgs, AiConversationInitialSource, AiConversationInvokeMcpToolToolCall, AiConversationInvokeMcpToolToolCallArgs, AiConversationInvokeMcpToolToolCallArgsServer, AiConversationInvokeMcpToolToolCallArgsTool, AiConversationListCodingSessionsToolCall, AiConversationListCodingSessionsToolCallArgs, AiConversationListCodingSessionsToolCallResult, AiConversationListCodingSessionsToolCallResultAgentSessions, AiConversationNavigateToPageToolCall, AiConversationNavigateToPageToolCallArgs, AiConversationNavigateToPageToolCallArgsEntities, AiConversationNavigateToPageToolCallResult, AiConversationNotifyUsersToolCall, AiConversationNotifyUsersToolCallArgs, AiConversationPartMetadata, AiConversationPartPhase, AiConversationPartType, AiConversationPromptCodingSessionToolCall, AiConversationPromptCodingSessionToolCallArgs, AiConversationPromptCodingSessionToolCallResult, AiConversationPromptPart, AiConversationQueryActivityToolCall, AiConversationQueryActivityToolCallArgs, AiConversationQueryUpdatesToolCall, AiConversationQueryUpdatesToolCallArgs, AiConversationQueryUpdatesToolCallArgsUpdateType, AiConversationQueryViewToolCall, AiConversationQueryViewToolCallArgs, AiConversationQueryViewToolCallArgsMode, AiConversationQueryViewToolCallArgsView, AiConversationReadFileToolCall, AiConversationReadFileToolCallArgs, AiConversationReadFileToolCallArgsMode, AiConversationReadSandboxFileToolCall, AiConversationReadSandboxFileToolCallArgs, AiConversationReasoningPart, AiConversationRemoveSpendLimitToolCall, AiConversationRemoveSpendLimitToolCallArgs, AiConversationResearchToolCall, AiConversationResearchToolCallArgs, AiConversationResearchToolCallResult, AiConversationRestoreEntityToolCall, AiConversationRestoreEntityToolCallArgs, AiConversationRetrieveEntitiesToolCall, AiConversationRetrieveEntitiesToolCallArgs, AiConversationRetryPullRequestCheckToolCall, AiConversationRetryPullRequestCheckToolCallArgs, AiConversationSearchDocumentationToolCall, AiConversationSearchEntitiesToolCall, AiConversationSearchEntitiesToolCallArgs, AiConversationSearchEntitiesToolCallResult, AiConversationSearchEntitiesToolCallResultEntities, AiConversationSetSpendLimitToolCall, AiConversationSetSpendLimitToolCallArgs, AiConversationSpawnSubagentToolCall, AiConversationSpawnSubagentToolCallArgs, AiConversationSpawnSubagentToolCallResult, AiConversationStartCodingSessionToolCall, AiConversationStartCodingSessionToolCallArgs, AiConversationStartCodingSessionToolCallResult, AiConversationStatus, AiConversationSubscribeToEventToolCall, AiConversationSubscribeToEventToolCallArgs, AiConversationSubscribeToEventToolCallArgsKind, AiConversationSubscribeToEventToolCallArgsType, AiConversationSuggestRepositoryToolCall, AiConversationSuggestValuesToolCall, AiConversationSuggestValuesToolCallArgs, AiConversationTextPart, AiConversationTool, AiConversationToolCallPart, AiConversationToolDisplayInfo, AiConversationTranscribeMediaToolCall, AiConversationTranscribeVideoToolCall, AiConversationUnsubscribeFromEventToolCall, AiConversationUnsubscribeFromEventToolCallArgs, AiConversationUpdateEntityToolCall, AiConversationUpdateEntityToolCallArgs, AiConversationUpdateEntityToolCallResult, AiConversationWebSearchToolCall, AiConversationWebSearchToolCallArgs, AiConversationWidgetDisplayInfo, AiConversationWidgetName, AiConversationWidgetPart, AiPromptProgressStatus, AiPromptRules, AiPromptType, AirbyteIntegrationConnectMutation, AppUserNotificationWebhookPayload, type AppUserNotificationWebhookPayloadWithNotification, AppUserTeamAccessChangedWebhookPayload, Application, ApplicationInfoQuery, ArchiveCustomerNeedMutation, ArchiveCycleMutation, ArchiveInitiativeMutation, ArchiveInitiativeUpdateMutation, ArchiveIntegrationMutation, ArchiveIssueMutation, ArchiveNotificationMutation, ArchivePayload, ArchiveProjectMutation, ArchiveProjectStatusMutation, ArchiveProjectUpdateMutation, ArchiveReleaseMutation, ArchiveReleasePipelineMutation, ArchiveReleaseStageMutation, ArchiveResponse, ArchiveRoadmapMutation, ArchiveWorkflowStateMutation, ArchivedIntegrationPayload, ArchivedIntegrationsQuery, AsksChannelConnectPayload, Attachment, AttachmentConnection, AttachmentIssueQuery, AttachmentIssue_AttachmentsQuery, AttachmentIssue_BotActorQuery, AttachmentIssue_ChildrenQuery, AttachmentIssue_CommentsQuery, AttachmentIssue_DocumentsQuery, AttachmentIssue_FormerAttachmentsQuery, AttachmentIssue_FormerNeedsQuery, AttachmentIssue_HistoryQuery, AttachmentIssue_InverseRelationsQuery, AttachmentIssue_LabelsQuery, AttachmentIssue_NeedsQuery, AttachmentIssue_RelationsQuery, AttachmentIssue_ReleasesQuery, AttachmentIssue_SharedAccessQuery, AttachmentIssue_StateHistoryQuery, AttachmentIssue_SubscribersQuery, AttachmentLinkDiscordMutation, AttachmentLinkFrontMutation, AttachmentLinkGitHubIssueMutation, AttachmentLinkGitHubPrMutation, AttachmentLinkGitLabMrMutation, AttachmentLinkIntercomMutation, AttachmentLinkJiraIssueMutation, AttachmentLinkSalesforceMutation, AttachmentLinkSlackMutation, AttachmentLinkUrlMutation, AttachmentLinkZendeskMutation, AttachmentPayload, AttachmentQuery, AttachmentSourcesPayload, AttachmentSyncToSlackMutation, AttachmentWebhookPayload, AttachmentsForUrlQuery, AttachmentsQuery, AuditEntriesQuery, AuditEntry, AuditEntryConnection, AuditEntryType, AuditEntryTypesQuery, AuditEntryWebhookPayload, AuthIdentityProvider, AuthOrganization, AuthResolverResponse, AuthUser, AuthenticationLinearError, AuthenticationSessionResponse, AuthenticationSessionType, AuthenticationSessionsQuery, AvailableUsersQuery, BaseWebhookPayload, BootstrapLinearError, Comment, CommentChildWebhookPayload, CommentConnection, CommentPayload, CommentQuery, CommentResolveMutation, CommentUnresolveMutation, CommentWebhookPayload, Comment_BotActorQuery, Comment_ChildrenQuery, Comment_CreatedIssuesQuery, Comment_DocumentContentQuery, Comment_DocumentContent_AiPromptRulesQuery, Comment_DocumentContent_WelcomeMessageQuery, Comment_ExternalThreadQuery, CommentsQuery, Connection, ContactPayload, ContextViewType, CreateAgentActivityMutation, CreateAgentSkillMutation, CreateAttachmentMutation, CreateCommentMutation, CreateContactMutation, CreateCsvExportReportMutation, CreateCsvExportReportPayload, CreateCustomViewMutation, CreateCustomerMutation, CreateCustomerNeedMutation, CreateCustomerStatusMutation, CreateCustomerTierMutation, CreateCycleMutation, CreateDocumentMutation, CreateEmailIntakeAddressMutation, CreateEmojiMutation, CreateEntityExternalLinkMutation, CreateFavoriteMutation, CreateGitAutomationStateMutation, CreateGitAutomationTargetBranchMutation, CreateInitiativeLabelMutation, CreateInitiativeMutation, CreateInitiativeRelationMutation, CreateInitiativeToProjectMutation, CreateInitiativeUpdateMutation, CreateInitiativeUpdateReminderMutation, CreateIntegrationGithubCommitMutation, CreateIntegrationTemplateMutation, CreateIntegrationsSettingsMutation, CreateIssueBatchMutation, CreateIssueLabelMutation, CreateIssueMutation, CreateIssueRelationMutation, CreateIssueToReleaseMutation, CreateNotificationSubscriptionMutation, CreateOrganizationInviteMutation, CreateProjectLabelMutation, CreateProjectMilestoneMutation, CreateProjectMutation, CreateProjectRelationMutation, CreateProjectStatusMutation, CreateProjectUpdateMutation, CreateProjectUpdateReminderMutation, CreatePushSubscriptionMutation, CreateReactionMutation, CreateReleaseMutation, CreateReleaseNoteMutation, CreateReleasePipelineMutation, CreateReleaseStageMutation, CreateRoadmapMutation, CreateRoadmapToProjectMutation, CreateTeamMembershipMutation, CreateTeamMutation, CreateTemplateMutation, CreateTimeScheduleMutation, CreateTriageResponsibilityMutation, CreateViewPreferencesMutation, CreateWebhookMutation, CreateWorkflowStateMutation, CustomResourceWebhookPayload, CustomView, CustomViewConnection, CustomViewHasSubscribersPayload, CustomViewHasSubscribersQuery, CustomViewNotificationSubscription, CustomViewPayload, CustomViewQuery, CustomViewSuggestionPayload, CustomView_InitiativesQuery, CustomView_IssuesQuery, CustomView_OrganizationViewPreferencesQuery, CustomView_OrganizationViewPreferences_PreferencesQuery, CustomView_ProjectsQuery, CustomView_UserViewPreferencesQuery, CustomView_UserViewPreferences_PreferencesQuery, CustomView_ViewPreferencesValuesQuery, CustomViewsQuery, Customer, CustomerChildWebhookPayload, CustomerConnection, CustomerMergeMutation, CustomerNeed, CustomerNeedArchivePayload, CustomerNeedChildWebhookPayload, CustomerNeedConnection, CustomerNeedCreateFromAttachmentMutation, CustomerNeedNotification, CustomerNeedPayload, CustomerNeedQuery, CustomerNeedUpdatePayload, CustomerNeedWebhookPayload, CustomerNeed_ProjectAttachmentQuery, CustomerNeedsQuery, CustomerNotification, CustomerNotificationSubscription, CustomerPayload, CustomerQuery, CustomerStatus, CustomerStatusChildWebhookPayload, CustomerStatusConnection, CustomerStatusPayload, CustomerStatusQuery, CustomerStatusType, CustomerStatusesQuery, CustomerTier, CustomerTierChildWebhookPayload, CustomerTierConnection, CustomerTierPayload, CustomerTierQuery, CustomerTiersQuery, CustomerUnsyncMutation, CustomerUpsertMutation, CustomerVisibilityMode, CustomerWebhookPayload, CustomersQuery, Cycle, CycleArchivePayload, CycleChildWebhookPayload, CycleConnection, CycleNotificationSubscription, CyclePayload, CyclePeriod, CycleQuery, CycleShiftAllMutation, CycleStartUpcomingCycleTodayMutation, CycleWebhookPayload, Cycle_IssuesQuery, Cycle_UncompletedIssuesUponCloseQuery, CyclesQuery, DateResolutionType, Day, DeleteAgentSkillMutation, DeleteAttachmentMutation, DeleteCommentMutation, DeleteCustomViewMutation, DeleteCustomerMutation, DeleteCustomerNeedMutation, DeleteCustomerStatusMutation, DeleteCustomerTierMutation, DeleteDocumentMutation, DeleteEmailIntakeAddressMutation, DeleteEmojiMutation, DeleteEntityExternalLinkMutation, DeleteFavoriteMutation, DeleteGitAutomationStateMutation, DeleteGitAutomationTargetBranchMutation, DeleteInitiativeLabelMutation, DeleteInitiativeMutation, DeleteInitiativeRelationMutation, DeleteInitiativeToProjectMutation, DeleteIntegrationIntercomMutation, DeleteIntegrationMutation, DeleteIntegrationTemplateMutation, DeleteIssueImportMutation, DeleteIssueLabelMutation, DeleteIssueMutation, DeleteIssueRelationMutation, DeleteIssueToReleaseMutation, DeleteNotificationSubscriptionMutation, DeleteOrganizationCancelMutation, DeleteOrganizationDomainMutation, DeleteOrganizationInviteMutation, DeleteOrganizationMutation, DeletePayload, DeleteProjectLabelMutation, DeleteProjectMilestoneMutation, DeleteProjectMutation, DeleteProjectRelationMutation, DeleteProjectUpdateMutation, DeletePushSubscriptionMutation, DeleteReactionMutation, DeleteReleaseMutation, DeleteReleaseNoteMutation, DeleteReleasePipelineMutation, DeleteRoadmapMutation, DeleteRoadmapToProjectMutation, DeleteTeamCyclesMutation, DeleteTeamKeyMutation, DeleteTeamMembershipMutation, DeleteTeamMutation, DeleteTemplateMutation, DeleteTimeScheduleMutation, DeleteTriageResponsibilityMutation, DeleteViewPreferencesMutation, DeleteWebhookMutation, DiffFileState, Document, DocumentArchivePayload, DocumentChildWebhookPayload, DocumentConnection, DocumentContent, DocumentContentAgentCheckpointMode, DocumentContentChildWebhookPayload, DocumentContentDraft, DocumentContentHistoryPayload, DocumentContentHistoryQuery, DocumentContentHistoryType, DocumentContentRevision, DocumentNotification, DocumentPayload, DocumentQuery, DocumentSearchPayload, DocumentSearchResult, DocumentWebhookPayload, Document_CommentsQuery, DocumentsQuery, Draft, DraftConnection, EmailIntakeAddress, EmailIntakeAddressPayload, EmailIntakeAddressQuery, EmailIntakeAddressRefreshSesDomainStatusMutation, EmailIntakeAddressRefreshSesDomainStatusPayload, EmailIntakeAddressRotateMutation, EmailIntakeAddressType, EmailIntakeAddress_SesDomainIdentityQuery, EmailTokenUserAccountAuthMutation, EmailUnsubscribeMutation, EmailUnsubscribePayload, EmailUserAccountAuthChallengeMutation, EmailUserAccountAuthChallengeResponse, Emoji, EmojiConnection, EmojiPayload, EmojiQuery, EmojisQuery, Entity, EntityExternalLink, EntityExternalLinkConnection, EntityExternalLinkPayload, EntityExternalLinkQuery, EntityWebhookPayload, type EntityWebhookPayloadWithAttachmentData, type EntityWebhookPayloadWithAuditEntryData, type EntityWebhookPayloadWithCommentData, type EntityWebhookPayloadWithCustomerData, type EntityWebhookPayloadWithCustomerNeedData, type EntityWebhookPayloadWithCycleData, type EntityWebhookPayloadWithDocumentData, type EntityWebhookPayloadWithEntityData, type EntityWebhookPayloadWithInitiativeData, type EntityWebhookPayloadWithInitiativeUpdateData, type EntityWebhookPayloadWithIssueData, type EntityWebhookPayloadWithIssueLabelData, type EntityWebhookPayloadWithProjectData, type EntityWebhookPayloadWithProjectUpdateData, type EntityWebhookPayloadWithReactionData, type EntityWebhookPayloadWithUnknownEntityData, type EntityWebhookPayloadWithUserData, EventTrackingPayload, ExternalEntityInfo, ExternalEntityInfoGithubMetadata, ExternalEntityInfoJiraMetadata, ExternalEntitySlackMetadata, ExternalSyncService, ExternalUser, ExternalUserActorWebhookPayload, ExternalUserChildWebhookPayload, ExternalUserConnection, ExternalUserQuery, ExternalUsersQuery, Facet, FacetConnection, FacetPageSource, Favorite, FavoriteConnection, FavoritePayload, FavoriteQuery, Favorite_ChildrenQuery, FavoritesQuery, FeatureNotAccessibleLinearError, FeedSummarySchedule, FetchDataPayload, FileUploadDeletePayload, FileUploadMutation, ForbiddenLinearError, FrequencyResolutionType, FrontAttachmentPayload, GitAutomationState, GitAutomationStateConnection, GitAutomationStatePayload, GitAutomationStates, GitAutomationTargetBranch, GitAutomationTargetBranchPayload, GitHubCommitIntegrationPayload, GitHubEnterpriseServerInstallVerificationPayload, GitHubEnterpriseServerPayload, GitHubIntegrationConnectDetails, GitHubRemoveCodeAccessAction, GitLabIntegrationCreatePayload, GitLabTestConnectionPayload, GitLinkKind, GithubOrgType, GoogleUserAccountAuthMutation, GraphQLClientError, GraphQLRequestContext, GraphqlLinearError, GuidanceRuleWebhookPayload, IdentityProvider, IdentityProviderType, ImageUploadFromUrlMutation, ImageUploadFromUrlPayload, ImportFileUploadMutation, Initiative, InitiativeAddLabelMutation, InitiativeArchivePayload, InitiativeChildWebhookPayload, InitiativeConnection, InitiativeFilterSuggestionPayload, InitiativeFilterSuggestionQuery, InitiativeHistory, InitiativeHistoryConnection, InitiativeLabel, InitiativeLabelChildWebhookPayload, InitiativeLabelConnection, InitiativeLabelPayload, InitiativeLabelQuery, InitiativeLabelRestoreMutation, InitiativeLabelRetireMutation, InitiativeLabelWebhookPayload, InitiativeLabel_ChildrenQuery, InitiativeLabel_InitiativesQuery, InitiativeLabelsQuery, InitiativeLeadTeamChangeMode, InitiativeNotification, InitiativeNotificationSubscription, InitiativePayload, InitiativeQuery, InitiativeRelation, InitiativeRelationConnection, InitiativeRelationPayload, InitiativeRelationQuery, InitiativeRelationsQuery, InitiativeRemoveLabelMutation, InitiativeStatus, InitiativeTab, InitiativeToProject, InitiativeToProjectConnection, InitiativeToProjectPayload, InitiativeToProjectQuery, InitiativeToProjectsQuery, InitiativeUpdate, InitiativeUpdateArchivePayload, InitiativeUpdateChildWebhookPayload, InitiativeUpdateConnection, InitiativeUpdateHealthType, InitiativeUpdatePayload, InitiativeUpdateQuery, InitiativeUpdateReminderPayload, InitiativeUpdateWebhookPayload, InitiativeUpdate_CommentsQuery, InitiativeUpdatesQuery, InitiativeVisibility, InitiativeWebhookPayload, Initiative_DocumentContentQuery, Initiative_DocumentContent_AiPromptRulesQuery, Initiative_DocumentContent_WelcomeMessageQuery, Initiative_DocumentsQuery, Initiative_HistoryQuery, Initiative_InitiativeUpdatesQuery, Initiative_LabelsQuery, Initiative_LinksQuery, Initiative_ProjectsQuery, Initiative_SubInitiativesQuery, InitiativesQuery, Integration, IntegrationActorWebhookPayload, IntegrationAsksConnectChannelMutation, IntegrationChildWebhookPayload, IntegrationConnection, IntegrationDiscordMutation, IntegrationFigmaMutation, IntegrationFrontMutation, IntegrationGitHubEnterpriseServerConnectMutation, IntegrationGitHubPersonalMutation, IntegrationGithubConnectMutation, IntegrationGithubImportConnectMutation, IntegrationGithubImportRefreshMutation, IntegrationGithubRemoveCodeAccessMutation, IntegrationGithubRemoveCodeAccessPayload, IntegrationGitlabConnectMutation, IntegrationGitlabTestConnectionMutation, IntegrationGongMutation, IntegrationGoogleSheetsMutation, IntegrationHasScopesPayload, IntegrationHasScopesQuery, IntegrationIntercomMutation, IntegrationJiraPersonalMutation, IntegrationLoomMutation, IntegrationMicrosoftPersonalConnectMutation, IntegrationMicrosoftTeamsMutation, IntegrationPayload, IntegrationQuery, IntegrationRequestMutation, IntegrationRequestPayload, IntegrationSalesforceMutation, IntegrationSentryConnectMutation, IntegrationService, IntegrationSlackAsksMutation, IntegrationSlackCustomViewNotificationsMutation, IntegrationSlackCustomerChannelLinkMutation, IntegrationSlackImportEmojisMutation, IntegrationSlackMutation, IntegrationSlackOrAsksUpdateSlackTeamNameMutation, IntegrationSlackOrgProjectUpdatesPostMutation, IntegrationSlackPersonalMutation, IntegrationSlackPostMutation, IntegrationSlackProjectPostMutation, IntegrationSlackWorkspaceNamePayload, IntegrationTemplate, IntegrationTemplateConnection, IntegrationTemplatePayload, IntegrationTemplateQuery, IntegrationTemplatesQuery, IntegrationZendeskMutation, IntegrationsQuery, IntegrationsSettings, IntegrationsSettingsPayload, IntegrationsSettingsQuery, InternalLinearError, InvalidInputLinearError, Issue, IssueAddLabelMutation, IssueArchivePayload, IssueAssignedToYouNotificationWebhookPayload, IssueBatchPayload, IssueChildWebhookPayload, IssueCommentMentionNotificationWebhookPayload, IssueCommentReactionNotificationWebhookPayload, IssueConnection, IssueEmojiReactionNotificationWebhookPayload, IssueExternalSyncDisableMutation, IssueFigmaFileKeySearchQuery, IssueFilterSuggestionPayload, IssueFilterSuggestionQuery, IssueHistory, IssueHistoryConnection, IssueHistoryTriageRuleError, IssueHistoryTriageRuleMetadata, IssueHistoryWorkflowMetadata, IssueImport, IssueImportCheckCsvQuery, IssueImportCheckPayload, IssueImportCheckSyncQuery, IssueImportCreateAsanaMutation, IssueImportCreateClubhouseMutation, IssueImportCreateCsvJiraMutation, IssueImportCreateGithubMutation, IssueImportCreateJiraMutation, IssueImportDeletePayload, IssueImportJqlCheckPayload, IssueImportJqlCheckQuery, IssueImportPayload, IssueImportProcessMutation, IssueImportSyncCheckPayload, IssueLabel, IssueLabelChildWebhookPayload, IssueLabelConnection, IssueLabelPayload, IssueLabelQuery, IssueLabelRestoreMutation, IssueLabelRetireMutation, IssueLabelWebhookPayload, IssueLabel_ChildrenQuery, IssueLabel_IssuesQuery, IssueLabelsQuery, IssueMentionNotificationWebhookPayload, IssueNewCommentNotificationWebhookPayload, IssueNotification, IssuePayload, IssuePriorityValue, IssuePriorityValuesQuery, IssueQuery, IssueRelation, IssueRelationConnection, IssueRelationHistoryPayload, IssueRelationPayload, IssueRelationQuery, IssueRelationType, IssueRelationsQuery, IssueReminderMutation, IssueRemoveLabelMutation, IssueRepositorySuggestionsQuery, IssueSearchPayload, IssueSearchQuery, IssueSearchResult, IssueShareMutation, IssueSharedAccess, IssueSharedAccessDisallowedField, IssueSharingPolicy, IssueSlaWebhookPayload, IssueStateSpan, IssueStateSpanConnection, IssueStatusChangedNotificationWebhookPayload, IssueSubscribeMutation, IssueSuggestionReasonReference, IssueSuggestionState, IssueSuggestionType, IssueTitleSuggestionFromCustomerRequestPayload, IssueTitleSuggestionFromCustomerRequestQuery, IssueToRelease, IssueToReleaseConnection, IssueToReleaseDeleteByIssueAndReleaseMutation, IssueToReleasePayload, IssueToReleaseQuery, IssueToReleasesQuery, IssueUnassignedFromYouNotificationWebhookPayload, IssueUnshareMutation, IssueUnsubscribeMutation, IssueVcsBranchSearchQuery, IssueVcsBranchSearch_AttachmentsQuery, IssueVcsBranchSearch_BotActorQuery, IssueVcsBranchSearch_ChildrenQuery, IssueVcsBranchSearch_CommentsQuery, IssueVcsBranchSearch_DocumentsQuery, IssueVcsBranchSearch_FormerAttachmentsQuery, IssueVcsBranchSearch_FormerNeedsQuery, IssueVcsBranchSearch_HistoryQuery, IssueVcsBranchSearch_InverseRelationsQuery, IssueVcsBranchSearch_LabelsQuery, IssueVcsBranchSearch_NeedsQuery, IssueVcsBranchSearch_RelationsQuery, IssueVcsBranchSearch_ReleasesQuery, IssueVcsBranchSearch_SharedAccessQuery, IssueVcsBranchSearch_StateHistoryQuery, IssueVcsBranchSearch_SubscribersQuery, IssueWebhookPayload, IssueWithDescriptionChildWebhookPayload, Issue_AttachmentsQuery, Issue_BotActorQuery, Issue_ChildrenQuery, Issue_CommentsQuery, Issue_DocumentsQuery, Issue_FormerAttachmentsQuery, Issue_FormerNeedsQuery, Issue_HistoryQuery, Issue_InverseRelationsQuery, Issue_LabelsQuery, Issue_NeedsQuery, Issue_RelationsQuery, Issue_ReleasesQuery, Issue_SharedAccessQuery, Issue_StateHistoryQuery, Issue_SubscribersQuery, IssuesQuery, JiraFetchProjectStatusesPayload, LabelNotificationSubscription, LatestReleaseByAccessKeyQuery, LatestReleaseByAccessKey_StageQuery, LinearAgentMcpServersMode, LinearAgentTrustedSourcesMode, LinearClient, LinearClientOptions, LinearClientParsedOptions, LinearConnection, LinearConnectionVariables, _generated_documents_d_exports as LinearDocument, LinearError, LinearErrorRaw, LinearErrorType, LinearFetch, LinearGraphQLClient, LinearGraphQLError, LinearGraphQLErrorRaw, LinearRawResponse, LinearRequest, LinearSdk, LinearWebhooks, LockTimeoutLinearError, LogoutAllSessionsMutation, LogoutMutation, LogoutOtherSessionsMutation, LogoutResponse, LogoutSessionMutation, MicrosoftTeamsChannel, MicrosoftTeamsChannelsPayload, MicrosoftTeamsTeam, NetworkLinearError, Node, Notification, NotificationArchiveAllMutation, NotificationArchivePayload, NotificationBatchActionPayload, NotificationCategory, NotificationCategoryPreferences, NotificationChannel, NotificationChannelPreferences, NotificationConnection, NotificationDeliveryPreferences, NotificationDeliveryPreferencesChannel, NotificationDeliveryPreferencesDay, NotificationDeliveryPreferencesSchedule, NotificationMarkReadAllMutation, NotificationMarkUnreadAllMutation, NotificationPayload, NotificationQuery, NotificationSnoozeAllMutation, NotificationSubscription, NotificationSubscriptionConnection, NotificationSubscriptionPayload, NotificationSubscriptionQuery, NotificationSubscriptionType, NotificationSubscriptionsQuery, NotificationUnsnoozeAllMutation, NotificationsQuery, OAuthAppWebhookPayload, OAuthApplication, OAuthApplicationArchivePayload, OAuthApplicationCreatePayload, OAuthApplicationDistribution, OAuthApplicationGrantType, OAuthApplicationPayload, OAuthApplicationRotateSecretPayload, OAuthApplicationRotateWebhookSecretPayload, OAuthAuthorizationWebhookPayload, OAuthClientApprovalStatus, OauthClientActorWebhookPayload, OauthClientApproval, OauthClientApprovalNotification, OauthClientChildWebhookPayload, Organization, OrganizationAcceptedOrExpiredInviteDetailsPayload, OrganizationCancelDeletePayload, OrganizationDeleteChallengeMutation, OrganizationDeletePayload, OrganizationDomain, OrganizationDomainAuthType, OrganizationExistsPayload, OrganizationExistsQuery, OrganizationInvite, OrganizationInviteConnection, OrganizationInviteFullDetailsPayload, OrganizationInvitePayload, OrganizationInviteQuery, OrganizationInviteStatus, OrganizationInvitesQuery, OrganizationOriginWebhookPayload, OrganizationPayload, OrganizationQuery, OrganizationStartTrialForPlanMutation, OrganizationStartTrialMutation, OrganizationStartTrialPayload, Organization_IntegrationsQuery, Organization_LabelsQuery, Organization_ProjectLabelsQuery, Organization_SubscriptionQuery, Organization_TeamsQuery, Organization_TemplatesQuery, Organization_UsersQuery, OtherLinearError, OtherNotificationType, OtherNotificationWebhookPayload, PageInfo, PaginationNulls, PaginationOrderBy, PaginationSortOrder, PaidSubscription, PartnerDiscountType, PartnerOfferIneligibilityReason, PasskeyLoginStartResponse, PipelineTab, PostNotification, PostType, PresentedIssueSuggestionReason, ProductAnnouncement, ProductAnnouncementNotification, ProductIntelligenceScope, Project, ProjectAddLabelMutation, ProjectArchivePayload, ProjectAttachment, ProjectAttachmentConnection, ProjectChildWebhookPayload, ProjectConnection, ProjectExternalSyncDisableMutation, ProjectFilterSuggestionPayload, ProjectFilterSuggestionQuery, ProjectHistory, ProjectHistoryConnection, ProjectLabel, ProjectLabelChildWebhookPayload, ProjectLabelConnection, ProjectLabelPayload, ProjectLabelQuery, ProjectLabelRestoreMutation, ProjectLabelRetireMutation, ProjectLabelWebhookPayload, ProjectLabel_ChildrenQuery, ProjectLabel_ProjectsQuery, ProjectLabelsQuery, ProjectMilestone, ProjectMilestoneChildWebhookPayload, ProjectMilestoneConnection, ProjectMilestoneMoveIssueToTeam, ProjectMilestoneMoveProjectTeams, ProjectMilestonePayload, ProjectMilestoneQuery, ProjectMilestoneStatus, ProjectMilestone_DocumentContentQuery, ProjectMilestone_DocumentContent_AiPromptRulesQuery, ProjectMilestone_DocumentContent_WelcomeMessageQuery, ProjectMilestone_IssuesQuery, ProjectMilestonesQuery, ProjectNotification, ProjectNotificationSubscription, ProjectPayload, ProjectQuery, ProjectRelation, ProjectRelationConnection, ProjectRelationPayload, ProjectRelationQuery, ProjectRelationsQuery, ProjectRemoveLabelMutation, ProjectSearchPayload, ProjectSearchResult, ProjectStatus, ProjectStatusArchivePayload, ProjectStatusChildWebhookPayload, ProjectStatusConnection, ProjectStatusCountPayload, ProjectStatusPayload, ProjectStatusQuery, ProjectStatusType, ProjectStatusesQuery, ProjectTab, ProjectUpdate, ProjectUpdateArchivePayload, ProjectUpdateChildWebhookPayload, ProjectUpdateConnection, ProjectUpdateHealthType, ProjectUpdatePayload, ProjectUpdateQuery, ProjectUpdateReminderFrequency, ProjectUpdateReminderPayload, ProjectUpdateWebhookPayload, ProjectUpdate_CommentsQuery, ProjectUpdatesQuery, ProjectWebhookPayload, Project_AttachmentsQuery, Project_CommentsQuery, Project_DocumentContentQuery, Project_DocumentContent_AiPromptRulesQuery, Project_DocumentContent_WelcomeMessageQuery, Project_DocumentsQuery, Project_ExternalLinksQuery, Project_HistoryQuery, Project_InitiativeToProjectsQuery, Project_InitiativesQuery, Project_InverseRelationsQuery, Project_IssuesQuery, Project_LabelsQuery, Project_MembersQuery, Project_NeedsQuery, Project_ProjectMilestonesQuery, Project_ProjectUpdatesQuery, Project_RelationsQuery, Project_TeamsQuery, ProjectsQuery, PullRequestCheckPresentation, PullRequestCommitSignature, PullRequestMergeMethod, PullRequestNotification, PullRequestReviewTool, PullRequestStatus, PushSubscription, PushSubscriptionPayload, PushSubscriptionTestPayload, PushSubscriptionTestQuery, PushSubscriptionType, RateLimitPayload, RateLimitResultPayload, RateLimitStatusQuery, RatelimitedLinearError, Reaction, ReactionPayload, ReactionWebhookPayload, RecentReleasesByAccessKeyQuery, RefreshGoogleSheetsDataMutation, Release, ReleaseArchivePayload, ReleaseChannel, ReleaseChildWebhookPayload, ReleaseCompleteByAccessKeyMutation, ReleaseCompleteMutation, ReleaseConnection, ReleaseHistory, ReleaseHistoryConnection, ReleaseNote, ReleaseNoteConnection, ReleaseNoteGenerationStatus, ReleaseNotePayload, ReleaseNoteQuery, ReleaseNoteWebhookPayload, ReleaseNote_DocumentContentQuery, ReleaseNote_DocumentContent_AiPromptRulesQuery, ReleaseNote_DocumentContent_WelcomeMessageQuery, ReleaseNotesQuery, ReleasePayload, ReleasePipeline, ReleasePipelineArchivePayload, ReleasePipelineByAccessKeyQuery, ReleasePipelineChildWebhookPayload, ReleasePipelineConnection, ReleasePipelinePayload, ReleasePipelineQuery, ReleasePipelineType, ReleasePipeline_ReleasesQuery, ReleasePipeline_StagesQuery, ReleasePipeline_TeamsQuery, ReleasePipelinesQuery, ReleaseQuery, ReleaseSearchQuery, ReleaseStage, ReleaseStageArchivePayload, ReleaseStageChildWebhookPayload, ReleaseStageConnection, ReleaseStagePayload, ReleaseStageQuery, ReleaseStageType, ReleaseStage_ReleasesQuery, ReleaseStagesQuery, ReleaseSyncByAccessKeyMutation, ReleaseSyncMutation, ReleaseUpdateByPipelineByAccessKeyMutation, ReleaseUpdateByPipelineMutation, ReleaseWebhookPayload, Release_DocumentsQuery, Release_HistoryQuery, Release_IssuesQuery, Release_LinksQuery, ReleasesQuery, RepositorySuggestion, RepositorySuggestionsPayload, Request, ResendOrganizationInviteByEmailMutation, ResendOrganizationInviteMutation, Roadmap, RoadmapArchivePayload, RoadmapConnection, RoadmapPayload, RoadmapQuery, RoadmapToProject, RoadmapToProjectConnection, RoadmapToProjectPayload, RoadmapToProjectQuery, RoadmapToProjectsQuery, Roadmap_ProjectsQuery, RoadmapsQuery, RotateSecretWebhookMutation, SLADayCountType, SamlTokenUserAccountAuthMutation, SearchDocumentsQuery, SearchDocuments_ArchivePayloadQuery, SearchIssuesQuery, SearchIssues_ArchivePayloadQuery, SearchProjectsQuery, SearchProjects_ArchivePayloadQuery, SemanticSearchPayload, SemanticSearchQuery, SemanticSearchResult, SemanticSearchResultType, SendStrategy, SesDomainIdentity, SesDomainIdentityDnsRecord, SlaConfiguration, SlaConfigurationsQuery, SlaStatus, SlackAsksTeamSettings, SlackChannelConnectPayload, SlackChannelNameMapping, SlackChannelType, SsoUrlFromEmailQuery, SsoUrlFromEmailResponse, Subscription, SuccessPayload, Summary, SummaryGenerationStatus, SuspendUserMutation, SyncedExternalThread, Team, TeamArchivePayload, TeamChildWebhookPayload, TeamConnection, TeamMembership, TeamMembershipConnection, TeamMembershipPayload, TeamMembershipQuery, TeamMembershipsQuery, TeamNotificationSubscription, TeamOriginWebhookPayload, TeamPayload, TeamPinnedResource, TeamQuery, TeamResourceSection, TeamRetirementSubTeamHandling, TeamRoleType, TeamVisibility, TeamWithParentWebhookPayload, Team_CyclesQuery, Team_GitAutomationStatesQuery, Team_IssuesQuery, Team_LabelsQuery, Team_MembersQuery, Team_MembershipsQuery, Team_ProjectsQuery, Team_ReleasePipelinesQuery, Team_StatesQuery, Team_TemplatesQuery, Team_WebhooksQuery, TeamsQuery, Template, TemplateConnection, TemplatePayload, TemplateQuery, TemplatesForIntegrationQuery, TemplatesQuery, TimeSchedule, TimeScheduleConnection, TimeScheduleEntry, TimeSchedulePayload, TimeScheduleQuery, TimeScheduleRefreshIntegrationScheduleMutation, TimeScheduleUpsertExternalMutation, TimeSchedulesQuery, TrackAnonymousEventMutation, TriageResponsibilitiesQuery, TriageResponsibility, TriageResponsibilityAction, TriageResponsibilityConnection, TriageResponsibilityManualSelection, TriageResponsibilityPayload, TriageResponsibilityQuery, TriageResponsibility_ManualSelectionQuery, TriageRuleErrorType, UnarchiveCustomerNeedMutation, UnarchiveDocumentMutation, UnarchiveInitiativeMutation, UnarchiveInitiativeUpdateMutation, UnarchiveIssueMutation, UnarchiveNotificationMutation, UnarchiveProjectMutation, UnarchiveProjectStatusMutation, UnarchiveProjectUpdateMutation, UnarchiveReleaseMutation, UnarchiveReleasePipelineMutation, UnarchiveReleaseStageMutation, UnarchiveRoadmapMutation, UnarchiveTeamMutation, UnknownLinearError, UnsuspendUserMutation, UpdateAgentSessionMutation, UpdateAgentSkillMutation, UpdateAttachmentMutation, UpdateCommentMutation, UpdateCustomViewMutation, UpdateCustomerMutation, UpdateCustomerNeedMutation, UpdateCustomerStatusMutation, UpdateCustomerTierMutation, UpdateCycleMutation, UpdateDocumentMutation, UpdateEmailIntakeAddressMutation, UpdateEntityExternalLinkMutation, UpdateFavoriteMutation, UpdateGitAutomationStateMutation, UpdateGitAutomationTargetBranchMutation, UpdateInitiativeLabelMutation, UpdateInitiativeMutation, UpdateInitiativeRelationMutation, UpdateInitiativeToProjectMutation, UpdateInitiativeUpdateMutation, UpdateIntegrationIntercomSettingsMutation, UpdateIntegrationsSettingsMutation, UpdateIssueBatchMutation, UpdateIssueImportMutation, UpdateIssueLabelMutation, UpdateIssueMutation, UpdateIssueRelationMutation, UpdateNotificationCategoryChannelSubscriptionMutation, UpdateNotificationMutation, UpdateNotificationSubscriptionMutation, UpdateOrganizationInviteMutation, UpdateOrganizationMutation, UpdateProjectLabelMutation, UpdateProjectMilestoneMutation, UpdateProjectMutation, UpdateProjectRelationMutation, UpdateProjectStatusMutation, UpdateProjectUpdateMutation, UpdateReleaseMutation, UpdateReleaseNoteMutation, UpdateReleasePipelineMutation, UpdateReleaseStageMutation, UpdateRoadmapMutation, UpdateRoadmapToProjectMutation, UpdateTeamMembershipMutation, UpdateTeamMutation, UpdateTemplateMutation, UpdateTimeScheduleMutation, UpdateTriageResponsibilityMutation, UpdateUserFlagMutation, UpdateUserMutation, UpdateUserSettingsMutation, UpdateViewPreferencesMutation, UpdateWebhookMutation, UpdateWorkflowStateMutation, UploadFile, UploadFileHeader, UploadPayload, UsageAlert, UsageAlertNotification, UsageLimitExceededLinearError, User, UserActorWebhookPayload, UserAdminPayload, UserChangeRoleMutation, UserChildWebhookPayload, UserConnection, UserContextViewType, UserDiscordConnectMutation, UserExternalUserDisconnectMutation, UserFlagType, UserFlagUpdateOperation, UserLinearError, UserNotificationSubscription, UserPayload, UserQuery, UserRevokeAllSessionsMutation, UserRevokeSessionMutation, UserRoleType, UserSessionsQuery, UserSettings, UserSettingsCustomSidebarTheme, UserSettingsCustomTheme, UserSettingsFlagPayload, UserSettingsFlagsResetMutation, UserSettingsFlagsResetPayload, UserSettingsPayload, UserSettingsQuery, UserSettingsTheme, UserSettingsThemeDeviceType, UserSettingsThemeMode, UserSettingsThemePreset, UserSettings_NotificationCategoryPreferencesQuery, UserSettings_NotificationCategoryPreferences_AppsAndIntegrationsQuery, UserSettings_NotificationCategoryPreferences_AssignmentsQuery, UserSettings_NotificationCategoryPreferences_BillingQuery, UserSettings_NotificationCategoryPreferences_CommentsAndRepliesQuery, UserSettings_NotificationCategoryPreferences_CustomersQuery, UserSettings_NotificationCategoryPreferences_DocumentChangesQuery, UserSettings_NotificationCategoryPreferences_FeedQuery, UserSettings_NotificationCategoryPreferences_LoopsQuery, UserSettings_NotificationCategoryPreferences_MentionsQuery, UserSettings_NotificationCategoryPreferences_PostsAndUpdatesQuery, UserSettings_NotificationCategoryPreferences_ReactionsQuery, UserSettings_NotificationCategoryPreferences_RemindersQuery, UserSettings_NotificationCategoryPreferences_ReviewsQuery, UserSettings_NotificationCategoryPreferences_StatusChangesQuery, UserSettings_NotificationCategoryPreferences_SubscriptionsQuery, UserSettings_NotificationCategoryPreferences_SystemQuery, UserSettings_NotificationCategoryPreferences_TriageQuery, UserSettings_NotificationChannelPreferencesQuery, UserSettings_NotificationDeliveryPreferencesQuery, UserSettings_NotificationDeliveryPreferences_MobileQuery, UserSettings_NotificationDeliveryPreferences_Mobile_ScheduleQuery, UserSettings_NotificationDeliveryPreferences_Mobile_Schedule_FridayQuery, UserSettings_NotificationDeliveryPreferences_Mobile_Schedule_MondayQuery, UserSettings_NotificationDeliveryPreferences_Mobile_Schedule_SaturdayQuery, UserSettings_NotificationDeliveryPreferences_Mobile_Schedule_SundayQuery, UserSettings_NotificationDeliveryPreferences_Mobile_Schedule_ThursdayQuery, UserSettings_NotificationDeliveryPreferences_Mobile_Schedule_TuesdayQuery, UserSettings_NotificationDeliveryPreferences_Mobile_Schedule_WednesdayQuery, UserSettings_ThemeQuery, UserSettings_Theme_CustomQuery, UserSettings_Theme_Custom_SidebarQuery, UserUnlinkFromIdentityProviderMutation, UserWebhookPayload, User_AssignedIssuesQuery, User_CreatedIssuesQuery, User_DelegatedIssuesQuery, User_DraftsQuery, User_TeamMembershipsQuery, User_TeamsQuery, UsersQuery, VerifyGitHubEnterpriseServerInstallationQuery, ViewPreferences, ViewPreferencesInitiativeLabelGroupColumn, ViewPreferencesPayload, ViewPreferencesProjectLabelGroupColumn, ViewPreferencesType, ViewPreferencesValues, ViewType, ViewerQuery, Viewer_AssignedIssuesQuery, Viewer_CreatedIssuesQuery, Viewer_DelegatedIssuesQuery, Viewer_DraftsQuery, Viewer_TeamMembershipsQuery, Viewer_TeamsQuery, Webhook, WebhookConnection, WebhookFailureEvent, WebhookPayload, WebhookQuery, WebhookResourceType, WebhookRotateSecretPayload, WebhooksQuery, WelcomeMessage, WelcomeMessageNotification, WorkflowCronJobDefinition, WorkflowDefinition, WorkflowDefinitionNotification, WorkflowState, WorkflowStateArchivePayload, WorkflowStateChildWebhookPayload, WorkflowStateConnection, WorkflowStatePayload, WorkflowStateQuery, WorkflowState_IssuesQuery, WorkflowStatesQuery, WorkflowTrigger, WorkflowTriggerType, WorkflowType, parseLinearError };
//# sourceMappingURL=index.d.mts.map