@linear/sdk 1.21.0 → 1.22.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -26,6 +26,8 @@ export declare type Scalars = {
26
26
  JSONObject: Record<string, unknown>;
27
27
  /** Represents a date in ISO 8601 format. Accepts shortcuts like `2021` to represent midnight Fri Jan 01 2021. Also accepts ISO 8601 durations strings which are added to the current date to create the represented date (e.g '-P2W1D' represents the date that was two weeks and 1 day ago) */
28
28
  TimelessDate: any;
29
+ /** A universally unique identifier as specified by RFC 4122. */
30
+ UUID: any;
29
31
  };
30
32
  /** An API key. Grants access to the user's resources. */
31
33
  export declare type ApiKey = Node & {
@@ -146,6 +148,10 @@ export declare type AttachmentConnection = {
146
148
  pageInfo: PageInfo;
147
149
  };
148
150
  export declare type AttachmentCreateInput = {
151
+ /** Create a linked comment with markdown body. */
152
+ commentBody?: Maybe<Scalars["String"]>;
153
+ /** [Internal] Create a linked comment with Prosemirror body. Please use `commentBody` instead */
154
+ commentBodyData?: Maybe<Scalars["JSONObject"]>;
149
155
  /** Indicates if attachments for the same source application should be grouped in the Linear UI. */
150
156
  groupBySource?: Maybe<Scalars["Boolean"]>;
151
157
  /** An icon url to display with the attachment. Should be of jpg or png format. Maximum of 1MB in size. Dimensions should be 20x20px for optimal display quality. */
@@ -207,6 +213,68 @@ export declare type AttachmentUpdateInput = {
207
213
  /** The attachment title. */
208
214
  title: Scalars["String"];
209
215
  };
216
+ /** Workspace audit log entry object. */
217
+ export declare type AuditEntry = Node & {
218
+ __typename?: "AuditEntry";
219
+ /** The user that caused the audit entry to be created. */
220
+ actor?: Maybe<User>;
221
+ /** The ID of the user that caused the audit entry to be created. */
222
+ actorId?: Maybe<Scalars["String"]>;
223
+ /** The time at which the entity was archived. Null if the entity has not been archived. */
224
+ archivedAt?: Maybe<Scalars["DateTime"]>;
225
+ /** Country code of request resulting to audit entry. */
226
+ countryCode?: Maybe<Scalars["String"]>;
227
+ /** The time at which the entity was created. */
228
+ createdAt: Scalars["DateTime"];
229
+ /** The unique identifier of the entity. */
230
+ id: Scalars["ID"];
231
+ /** IP from actor when entry was recorded. */
232
+ ip?: Maybe<Scalars["String"]>;
233
+ /** Additional metadata related to the audit entry. */
234
+ metadata?: Maybe<Scalars["JSONObject"]>;
235
+ type: Scalars["String"];
236
+ /**
237
+ * The last time at which the entity was updated. This is the same as the creation time if the
238
+ * entity hasn't been update after creation.
239
+ */
240
+ updatedAt: Scalars["DateTime"];
241
+ };
242
+ export declare type AuditEntryConnection = {
243
+ __typename?: "AuditEntryConnection";
244
+ edges: Array<AuditEntryEdge>;
245
+ nodes: Array<AuditEntry>;
246
+ pageInfo: PageInfo;
247
+ };
248
+ export declare type AuditEntryEdge = {
249
+ __typename?: "AuditEntryEdge";
250
+ /** Used in `before` and `after` args */
251
+ cursor: Scalars["String"];
252
+ node: AuditEntry;
253
+ };
254
+ /** [Alpha] Audit entry filtering options. */
255
+ export declare type AuditEntryFilter = {
256
+ /** Filters that the audit entry actor must satisfy. */
257
+ actor?: Maybe<NullableUserFilter>;
258
+ /** Comparator for the country code. */
259
+ countryCode?: Maybe<StringComparator>;
260
+ /** Comparator for the created at date. */
261
+ createdAt?: Maybe<DateComparator>;
262
+ /** Comparator for the identifier. */
263
+ id?: Maybe<IdComparator>;
264
+ /** Comparator for the IP address. */
265
+ ip?: Maybe<StringComparator>;
266
+ /** Comparator for the type. */
267
+ type?: Maybe<StringComparator>;
268
+ /** Comparator for the updated at date. */
269
+ updatedAt?: Maybe<DateComparator>;
270
+ };
271
+ export declare type AuditEntryType = {
272
+ __typename?: "AuditEntryType";
273
+ /** Description of the audit entry type. */
274
+ description: Scalars["String"];
275
+ /** The audit entry type. */
276
+ type: Scalars["String"];
277
+ };
210
278
  export declare type AuthResolverResponse = {
211
279
  __typename?: "AuthResolverResponse";
212
280
  /** Should the signup flow allow access for the domain. */
@@ -243,6 +311,17 @@ export declare type AuthorizedApplication = {
243
311
  name: Scalars["String"];
244
312
  /** Scopes that are authorized for this application for a given user. */
245
313
  scope: Array<Scalars["String"]>;
314
+ /** Whether or not webhooks are enabled for the application. */
315
+ webhooksEnabled: Scalars["Boolean"];
316
+ };
317
+ /** Relation load request. */
318
+ export declare type BatchRequest = {
319
+ /** The indexed key to load models for. */
320
+ indexedKey: Scalars["String"];
321
+ /** The value of the indexed key to load models for. */
322
+ keyValue: Scalars["String"];
323
+ /** The class name of the model to load. */
324
+ modelClass: Scalars["String"];
246
325
  };
247
326
  export declare type BillingDetailsPayload = {
248
327
  __typename?: "BillingDetailsPayload";
@@ -464,7 +543,12 @@ export declare type CustomView = Node & {
464
543
  creator: User;
465
544
  /** The description of the custom view. */
466
545
  description?: Maybe<Scalars["String"]>;
467
- /** The filters applied to issues in the custom view. */
546
+ /** [Alpha] The filter applied to issues in the custom view. */
547
+ filterData: Scalars["JSONObject"];
548
+ /**
549
+ * The filters applied to issues in the custom view.
550
+ * @deprecated Will be replaced by `filterData` in a future update
551
+ */
468
552
  filters: Scalars["JSONObject"];
469
553
  /** The icon of the custom view. */
470
554
  icon?: Maybe<Scalars["String"]>;
@@ -495,6 +579,8 @@ export declare type CustomViewCreateInput = {
495
579
  color?: Maybe<Scalars["String"]>;
496
580
  /** The description of the custom view. */
497
581
  description?: Maybe<Scalars["String"]>;
582
+ /** The filter applied to issues in the custom view. */
583
+ filterData?: Maybe<Scalars["JSONObject"]>;
498
584
  /** The filters applied to issues in the custom view. */
499
585
  filters?: Maybe<Scalars["JSONObject"]>;
500
586
  /** The icon of the custom view. */
@@ -528,6 +614,8 @@ export declare type CustomViewUpdateInput = {
528
614
  color?: Maybe<Scalars["String"]>;
529
615
  /** The description of the custom view. */
530
616
  description?: Maybe<Scalars["String"]>;
617
+ /** The filter applied to issues in the custom view. */
618
+ filterData?: Maybe<Scalars["JSONObject"]>;
531
619
  /** The filters applied to issues in the custom view. */
532
620
  filters?: Maybe<Scalars["JSONObject"]>;
533
621
  /** The icon of the custom view. */
@@ -705,9 +793,79 @@ export declare type DeleteOrganizationInput = {
705
793
  /** Contains the requested dependencies. */
706
794
  export declare type DependencyResponse = {
707
795
  __typename?: "DependencyResponse";
708
- /** A JSON serialized collection of model objects loaded from the archive */
796
+ /** A JSON serialized collection of dependencies. */
709
797
  dependencies: Scalars["String"];
710
798
  };
799
+ /** A document for a project. */
800
+ export declare type Document = Node & {
801
+ __typename?: "Document";
802
+ /** The time at which the entity was archived. Null if the entity has not been archived. */
803
+ archivedAt?: Maybe<Scalars["DateTime"]>;
804
+ /** The color of the icon. */
805
+ color?: Maybe<Scalars["String"]>;
806
+ /** The document content in markdown format. */
807
+ content?: Maybe<Scalars["String"]>;
808
+ /** The document content as JSON. */
809
+ contentData?: Maybe<Scalars["JSONObject"]>;
810
+ /** The time at which the entity was created. */
811
+ createdAt: Scalars["DateTime"];
812
+ /** The user who created the document. */
813
+ creator: User;
814
+ /** The icon of the document. */
815
+ icon?: Maybe<Scalars["String"]>;
816
+ /** The unique identifier of the entity. */
817
+ id: Scalars["ID"];
818
+ /** The project that the document is associated with. */
819
+ project: Project;
820
+ /** The document's unique URL slug. */
821
+ slugId: Scalars["String"];
822
+ /** The document title. */
823
+ title: Scalars["String"];
824
+ /**
825
+ * The last time at which the entity was updated. This is the same as the creation time if the
826
+ * entity hasn't been update after creation.
827
+ */
828
+ updatedAt: Scalars["DateTime"];
829
+ /** The user who last updated the document. */
830
+ updatedBy: User;
831
+ };
832
+ export declare type DocumentConnection = {
833
+ __typename?: "DocumentConnection";
834
+ edges: Array<DocumentEdge>;
835
+ nodes: Array<Document>;
836
+ pageInfo: PageInfo;
837
+ };
838
+ export declare type DocumentCreateInput = {
839
+ /** The color of the icon. */
840
+ color?: Maybe<Scalars["String"]>;
841
+ /** The document content as markdown. */
842
+ content?: Maybe<Scalars["String"]>;
843
+ /** [Internal] The document content as a Prosemirror document. */
844
+ contentData?: Maybe<Scalars["JSONObject"]>;
845
+ /** The icon of the document. */
846
+ icon?: Maybe<Scalars["String"]>;
847
+ /** The identifier. If none is provided, the backend will generate one. */
848
+ id?: Maybe<Scalars["String"]>;
849
+ /** Related project for the document. */
850
+ projectId: Scalars["String"];
851
+ /** The title of the document. */
852
+ title: Scalars["String"];
853
+ };
854
+ export declare type DocumentEdge = {
855
+ __typename?: "DocumentEdge";
856
+ /** Used in `before` and `after` args */
857
+ cursor: Scalars["String"];
858
+ node: Document;
859
+ };
860
+ export declare type DocumentPayload = {
861
+ __typename?: "DocumentPayload";
862
+ /** The document that was created or updated. */
863
+ document: Document;
864
+ /** The identifier of the last sync operation. */
865
+ lastSyncId: Scalars["Float"];
866
+ /** Whether the operation was successful. */
867
+ success: Scalars["Boolean"];
868
+ };
711
869
  /** Collaborative editing steps for documents. */
712
870
  export declare type DocumentStep = Node & {
713
871
  __typename?: "DocumentStep";
@@ -729,6 +887,57 @@ export declare type DocumentStep = Node & {
729
887
  /** Step version. */
730
888
  version: Scalars["Float"];
731
889
  };
890
+ export declare type DocumentUpdateInput = {
891
+ /** The color of the icon. */
892
+ color?: Maybe<Scalars["String"]>;
893
+ /** The document content as markdown. */
894
+ content?: Maybe<Scalars["String"]>;
895
+ /** [Internal] The document content as a Prosemirror document. */
896
+ contentData?: Maybe<Scalars["JSONObject"]>;
897
+ /** The icon of the document. */
898
+ icon?: Maybe<Scalars["String"]>;
899
+ /** Related project for the document. */
900
+ projectId?: Maybe<Scalars["String"]>;
901
+ /** The title of the document. */
902
+ title?: Maybe<Scalars["String"]>;
903
+ };
904
+ /** A version of a document. */
905
+ export declare type DocumentVersion = Node & {
906
+ __typename?: "DocumentVersion";
907
+ /** The time at which the entity was archived. Null if the entity has not been archived. */
908
+ archivedAt?: Maybe<Scalars["DateTime"]>;
909
+ /** The document's content in markdown format. */
910
+ content?: Maybe<Scalars["String"]>;
911
+ /** The time at which the entity was created. */
912
+ createdAt: Scalars["DateTime"];
913
+ /** The user who created the version. */
914
+ creator: User;
915
+ /** The unique identifier of the entity. */
916
+ id: Scalars["ID"];
917
+ /** The project that the document is associated with. */
918
+ project: Project;
919
+ /** The version revision number. */
920
+ revision: Scalars["Float"];
921
+ /** The document's title. */
922
+ title: Scalars["String"];
923
+ /**
924
+ * The last time at which the entity was updated. This is the same as the creation time if the
925
+ * entity hasn't been update after creation.
926
+ */
927
+ updatedAt: Scalars["DateTime"];
928
+ };
929
+ export declare type DocumentVersionConnection = {
930
+ __typename?: "DocumentVersionConnection";
931
+ edges: Array<DocumentVersionEdge>;
932
+ nodes: Array<DocumentVersion>;
933
+ pageInfo: PageInfo;
934
+ };
935
+ export declare type DocumentVersionEdge = {
936
+ __typename?: "DocumentVersionEdge";
937
+ /** Used in `before` and `after` args */
938
+ cursor: Scalars["String"];
939
+ node: DocumentVersion;
940
+ };
732
941
  export declare type EmailSubscribeInput = {
733
942
  /** Email to subscribe. */
734
943
  email: Scalars["String"];
@@ -852,6 +1061,8 @@ export declare type Favorite = Node & {
852
1061
  customView?: Maybe<CustomView>;
853
1062
  /** The favorited cycle. */
854
1063
  cycle?: Maybe<Cycle>;
1064
+ /** The favorited document. */
1065
+ document?: Maybe<Document>;
855
1066
  /** The name of the folder. Only applies to favorites of type folder. */
856
1067
  folderName?: Maybe<Scalars["String"]>;
857
1068
  /** The unique identifier of the entity. */
@@ -898,6 +1109,8 @@ export declare type FavoriteCreateInput = {
898
1109
  customViewId?: Maybe<Scalars["String"]>;
899
1110
  /** The identifier of the cycle to favorite. */
900
1111
  cycleId?: Maybe<Scalars["String"]>;
1112
+ /** The identifier of the document to favorite. */
1113
+ documentId?: Maybe<Scalars["String"]>;
901
1114
  /** The name of the favorite folder. */
902
1115
  folderName?: Maybe<Scalars["String"]>;
903
1116
  /** The identifier. If none is provided, the backend will generate one. */
@@ -966,6 +1179,24 @@ export declare type FigmaEmbedPayload = {
966
1179
  /** Whether the operation was successful. */
967
1180
  success: Scalars["Boolean"];
968
1181
  };
1182
+ export declare type FrontAttachmentPayload = {
1183
+ __typename?: "FrontAttachmentPayload";
1184
+ /** The identifier of the last sync operation. */
1185
+ lastSyncId: Scalars["Float"];
1186
+ /** Whether the operation was successful. */
1187
+ success: Scalars["Boolean"];
1188
+ };
1189
+ export declare type GitHubCommitIntegrationPayload = {
1190
+ __typename?: "GitHubCommitIntegrationPayload";
1191
+ /** The integration that was created or updated. */
1192
+ integration?: Maybe<Integration>;
1193
+ /** The identifier of the last sync operation. */
1194
+ lastSyncId: Scalars["Float"];
1195
+ /** Whether the operation was successful. */
1196
+ success: Scalars["Boolean"];
1197
+ /** The webhook secret to provide to GitHub. */
1198
+ webhookSecret: Scalars["String"];
1199
+ };
969
1200
  /** GitHub OAuth token, plus information about the organizations the user is a member of. */
970
1201
  export declare type GithubOAuthTokenPayload = {
971
1202
  __typename?: "GithubOAuthTokenPayload";
@@ -1002,6 +1233,12 @@ export declare type GoogleSheetsSettings = {
1002
1233
  spreadsheetUrl: Scalars["String"];
1003
1234
  updatedIssuesAt: Scalars["DateTime"];
1004
1235
  };
1236
+ export declare type GoogleSheetsSettingsInput = {
1237
+ sheetId: Scalars["Float"];
1238
+ spreadsheetId: Scalars["String"];
1239
+ spreadsheetUrl: Scalars["String"];
1240
+ updatedIssuesAt: Scalars["DateTime"];
1241
+ };
1005
1242
  export declare type GoogleUserAccountAuthInput = {
1006
1243
  /** Code returned from Google's OAuth flow. */
1007
1244
  code: Scalars["String"];
@@ -1134,11 +1371,21 @@ export declare type IntegrationSettings = {
1134
1371
  __typename?: "IntegrationSettings";
1135
1372
  googleSheets?: Maybe<GoogleSheetsSettings>;
1136
1373
  intercom?: Maybe<IntercomSettings>;
1374
+ jira?: Maybe<JiraSettings>;
1137
1375
  sentry?: Maybe<SentrySettings>;
1138
1376
  slackPost?: Maybe<SlackPostSettings>;
1139
1377
  slackProjectPost?: Maybe<SlackPostSettings>;
1140
1378
  zendesk?: Maybe<ZendeskSettings>;
1141
1379
  };
1380
+ export declare type IntegrationSettingsInput = {
1381
+ googleSheets?: Maybe<GoogleSheetsSettingsInput>;
1382
+ intercom?: Maybe<IntercomSettingsInput>;
1383
+ jira?: Maybe<JiraSettingsInput>;
1384
+ sentry?: Maybe<SentrySettingsInput>;
1385
+ slackPost?: Maybe<SlackPostSettingsInput>;
1386
+ slackProjectPost?: Maybe<SlackPostSettingsInput>;
1387
+ zendesk?: Maybe<ZendeskSettingsInput>;
1388
+ };
1142
1389
  /** Intercom specific settings. */
1143
1390
  export declare type IntercomSettings = {
1144
1391
  __typename?: "IntercomSettings";
@@ -1349,6 +1596,15 @@ export declare type IssueSubscribersArgs = {
1349
1596
  last?: Maybe<Scalars["Int"]>;
1350
1597
  orderBy?: Maybe<PaginationOrderBy>;
1351
1598
  };
1599
+ export declare type IssueBatchPayload = {
1600
+ __typename?: "IssueBatchPayload";
1601
+ /** The issues that were updated. */
1602
+ issues: Array<Issue>;
1603
+ /** The identifier of the last sync operation. */
1604
+ lastSyncId: Scalars["Float"];
1605
+ /** Whether the operation was successful. */
1606
+ success: Scalars["Boolean"];
1607
+ };
1352
1608
  /** [Alpha] Issue filtering options. */
1353
1609
  export declare type IssueCollectionFilter = {
1354
1610
  /** Compound filters, all of which need to be matched by the issue. */
@@ -1707,8 +1963,10 @@ export declare type IssueLabel = Node & {
1707
1963
  issues: IssueConnection;
1708
1964
  /** The label's name. */
1709
1965
  name: Scalars["String"];
1710
- /** The team to which the label belongs to. */
1711
- team: Team;
1966
+ /** @deprecated Workspace labels are identified by their team being null. */
1967
+ organization?: Maybe<Organization>;
1968
+ /** The team that the label is associated with. If null, the label is associated with the global workspace.. */
1969
+ team?: Maybe<Team>;
1712
1970
  /**
1713
1971
  * The last time at which the entity was updated. This is the same as the creation time if the
1714
1972
  * entity hasn't been update after creation.
@@ -1763,8 +2021,8 @@ export declare type IssueLabelCreateInput = {
1763
2021
  id?: Maybe<Scalars["String"]>;
1764
2022
  /** The name of the label. */
1765
2023
  name: Scalars["String"];
1766
- /** The team associated with the label. */
1767
- teamId: Scalars["String"];
2024
+ /** The team associated with the label. If not given, the label will be associated with the entire workspace. */
2025
+ teamId?: Maybe<Scalars["String"]>;
1768
2026
  };
1769
2027
  export declare type IssueLabelEdge = {
1770
2028
  __typename?: "IssueLabelEdge";
@@ -1942,6 +2200,62 @@ export declare type IssueUpdateInput = {
1942
2200
  /** Wether the issue has been trashed. */
1943
2201
  trashed?: Maybe<Scalars["Boolean"]>;
1944
2202
  };
2203
+ export declare type JiraConfigurationInput = {
2204
+ /** The Jira personal access token. */
2205
+ accessToken: Scalars["String"];
2206
+ /** The Jira user's email address. */
2207
+ email: Scalars["String"];
2208
+ /** The Jira installation hostname. */
2209
+ hostname: Scalars["String"];
2210
+ /** The Jira project keys to scope the integration to. */
2211
+ project?: Maybe<Scalars["String"]>;
2212
+ };
2213
+ /** Tuple for mapping Jira projects to Linear teams. */
2214
+ export declare type JiraLinearMapping = {
2215
+ __typename?: "JiraLinearMapping";
2216
+ /** The Jira id for this project. */
2217
+ jiraProjectId: Scalars["String"];
2218
+ /** The Linear team id to map to the given project. */
2219
+ linearTeamId: Scalars["String"];
2220
+ };
2221
+ export declare type JiraLinearMappingInput = {
2222
+ /** The Jira id for this project. */
2223
+ jiraProjectId: Scalars["String"];
2224
+ /** The Linear team id to map to the given project. */
2225
+ linearTeamId: Scalars["String"];
2226
+ };
2227
+ /** Metadata about a Jira project. */
2228
+ export declare type JiraProjectData = {
2229
+ __typename?: "JiraProjectData";
2230
+ /** The Jira id for this project. */
2231
+ id: Scalars["String"];
2232
+ /** The Jira key for this project, such as ENG. */
2233
+ key: Scalars["String"];
2234
+ /** The Jira name for this project, such as Engineering. */
2235
+ name: Scalars["String"];
2236
+ };
2237
+ export declare type JiraProjectDataInput = {
2238
+ /** The Jira id for this project. */
2239
+ id: Scalars["String"];
2240
+ /** The Jira key for this project, such as ENG. */
2241
+ key: Scalars["String"];
2242
+ /** The Jira name for this project, such as Engineering. */
2243
+ name: Scalars["String"];
2244
+ };
2245
+ /** Jira specific settings. */
2246
+ export declare type JiraSettings = {
2247
+ __typename?: "JiraSettings";
2248
+ /** The mapping of Jira project id => Linear team id. */
2249
+ projectMapping?: Maybe<Array<JiraLinearMapping>>;
2250
+ /** The Jira projects for the organization. */
2251
+ projects: Array<JiraProjectData>;
2252
+ };
2253
+ export declare type JiraSettingsInput = {
2254
+ /** The mapping of Jira project id => Linear team id. */
2255
+ projectMapping?: Maybe<Array<JiraLinearMappingInput>>;
2256
+ /** The Jira projects for the organization. */
2257
+ projects: Array<JiraProjectDataInput>;
2258
+ };
1945
2259
  export declare type JoinOrganizationInput = {
1946
2260
  /** The identifier of the organization. */
1947
2261
  organizationId: Scalars["String"];
@@ -2049,9 +2363,11 @@ export declare type Mutation = {
2049
2363
  /** [Alpha] Deletes an issue attachment. */
2050
2364
  attachmentDelete: ArchivePayload;
2051
2365
  /** Link an existing Front conversation to an issue. */
2052
- attachmentLinkFront: AttachmentPayload;
2366
+ attachmentLinkFront: FrontAttachmentPayload;
2053
2367
  /** Link an existing Intercom conversation to an issue. */
2054
2368
  attachmentLinkIntercom: AttachmentPayload;
2369
+ /** Link an existing Jira issue to an issue. */
2370
+ attachmentLinkJiraIssue: AttachmentPayload;
2055
2371
  /** Link any url to an issue. */
2056
2372
  attachmentLinkURL: AttachmentPayload;
2057
2373
  /** Link an existing Zendesk ticket to an issue. */
@@ -2086,14 +2402,22 @@ export declare type Mutation = {
2086
2402
  cycleCreate: CyclePayload;
2087
2403
  /** Updates a cycle. */
2088
2404
  cycleUpdate: CyclePayload;
2089
- /** Create the OAuth test applications in development. */
2405
+ /** [Internal] Create the OAuth test applications in development. */
2090
2406
  debugCreateOAuthApps: DebugPayload;
2091
- /** Create the SAML test organization in development. */
2407
+ /** [Internal] Create the SAML test organization in development. */
2092
2408
  debugCreateSAMLOrg: DebugPayload;
2409
+ /** [Internal] Create test subscription in development. */
2410
+ debugCreateSubscription: DebugPayload;
2093
2411
  /** Always fails with internal error. Used to debug logging. */
2094
2412
  debugFailWithInternalError: DebugPayload;
2095
- /** Always logs an error to Sentry as warning. Used to debug logging. */
2413
+ /** [Internal] Always logs an error to Sentry as warning. Used to debug logging. */
2096
2414
  debugFailWithWarning: DebugPayload;
2415
+ /** Creates a new document. */
2416
+ documentCreate: DocumentPayload;
2417
+ /** Deletes a document. */
2418
+ documentDelete: ArchivePayload;
2419
+ /** Updates a document. */
2420
+ documentUpdate: DocumentPayload;
2097
2421
  /** Subscribes the email to the newsletter. */
2098
2422
  emailSubscribe: EmailSubscribePayload;
2099
2423
  /** Authenticates a user account via email and authentication token. */
@@ -2128,6 +2452,8 @@ export declare type Mutation = {
2128
2452
  integrationFigma: IntegrationPayload;
2129
2453
  /** Integrates the organization with Front. */
2130
2454
  integrationFront: IntegrationPayload;
2455
+ /** Generates a webhook for the GitHub commit integration. */
2456
+ integrationGithubCommitCreate: GitHubCommitIntegrationPayload;
2131
2457
  /** Connects the organization with the GitHub App. */
2132
2458
  integrationGithubConnect: IntegrationPayload;
2133
2459
  /** Connects the organization with a GitLab Access Token. */
@@ -2138,7 +2464,10 @@ export declare type Mutation = {
2138
2464
  integrationIntercom: IntegrationPayload;
2139
2465
  /** Disconnects the organization from Intercom. */
2140
2466
  integrationIntercomDelete: IntegrationPayload;
2141
- /** Updates settings on the Intercom integration. */
2467
+ /**
2468
+ * [DEPRECATED] Updates settings on the Intercom integration.
2469
+ * @deprecated This mutation is deprecated, please use `integrationSettingsUpdate` instead
2470
+ */
2142
2471
  integrationIntercomSettingsUpdate: IntegrationPayload;
2143
2472
  /** Enables Loom integration for the organization. */
2144
2473
  integrationLoom: IntegrationPayload;
@@ -2146,6 +2475,8 @@ export declare type Mutation = {
2146
2475
  integrationResourceArchive: ArchivePayload;
2147
2476
  /** Integrates the organization with Sentry. */
2148
2477
  integrationSentryConnect: IntegrationPayload;
2478
+ /** [INTERNAL] Updates the integration. */
2479
+ integrationSettingsUpdate: IntegrationPayload;
2149
2480
  /** Integrates the organization with Slack. */
2150
2481
  integrationSlack: IntegrationPayload;
2151
2482
  /** Imports custom emojis from your Slack workspace. */
@@ -2160,6 +2491,8 @@ export declare type Mutation = {
2160
2491
  integrationZendesk: IntegrationPayload;
2161
2492
  /** Archives an issue. */
2162
2493
  issueArchive: ArchivePayload;
2494
+ /** Updates multiple issues at once. */
2495
+ issueBatchUpdate: IssueBatchPayload;
2163
2496
  /** Creates a new issue. */
2164
2497
  issueCreate: IssuePayload;
2165
2498
  /** Deletes (trashes) an issue. */
@@ -2194,6 +2527,8 @@ export declare type Mutation = {
2194
2527
  issueUnarchive: ArchivePayload;
2195
2528
  /** Updates an issue. */
2196
2529
  issueUpdate: IssuePayload;
2530
+ /** [INTERNAL] Connects the organization with a Jira Personal Access Token. */
2531
+ jiraIntegrationConnect: IntegrationPayload;
2197
2532
  /** Join an organization from onboarding. */
2198
2533
  joinOrganizationFromOnboarding: CreateOrJoinOrganizationResponse;
2199
2534
  /** Leave an organization. */
@@ -2258,6 +2593,8 @@ export declare type Mutation = {
2258
2593
  projectLinkCreate: ProjectLinkPayload;
2259
2594
  /** Deletes a project link. */
2260
2595
  projectLinkDelete: ArchivePayload;
2596
+ /** Updates a project link. */
2597
+ projectLinkUpdate: ProjectLinkPayload;
2261
2598
  /** Unarchives a project. */
2262
2599
  projectUnarchive: ArchivePayload;
2263
2600
  /** Updates a project. */
@@ -2276,15 +2613,15 @@ export declare type Mutation = {
2276
2613
  resendOrganizationInvite: ArchivePayload;
2277
2614
  /** Authenticates a user account via email and authentication token for SAML. */
2278
2615
  samlTokenUserAccountAuth: AuthResolverResponse;
2279
- /** Archives a subscription. */
2616
+ /** [Internal] Archives a subscription. */
2280
2617
  subscriptionArchive: ArchivePayload;
2281
- /** Creates a subscription session. Used internally to integrate with Stripe. */
2618
+ /** [Internal] Creates a subscription session. Used internally to integrate with Stripe. */
2282
2619
  subscriptionSessionCreate: SubscriptionSessionPayload;
2283
- /** Updates a subscription. */
2620
+ /** [Internal] Updates a subscription. */
2284
2621
  subscriptionUpdate: SubscriptionPayload;
2285
- /** Creates a subscription update session. Used internally to integrate with Stripe. */
2622
+ /** [Internal] Creates a subscription update session. Used internally to integrate with Stripe. */
2286
2623
  subscriptionUpdateSessionCreate: SubscriptionSessionPayload;
2287
- /** Upgrades a subscription plan. */
2624
+ /** [Internal] Upgrades a subscription plan. */
2288
2625
  subscriptionUpgrade: SubscriptionPayload;
2289
2626
  /** Creates a new team. The user who creates the team will automatically be added as a member to the newly created team. */
2290
2627
  teamCreate: TeamPayload;
@@ -2368,6 +2705,10 @@ export declare type MutationAttachmentLinkIntercomArgs = {
2368
2705
  conversationId: Scalars["String"];
2369
2706
  issueId: Scalars["String"];
2370
2707
  };
2708
+ export declare type MutationAttachmentLinkJiraIssueArgs = {
2709
+ issueId: Scalars["String"];
2710
+ jiraIssueId: Scalars["String"];
2711
+ };
2371
2712
  export declare type MutationAttachmentLinkUrlArgs = {
2372
2713
  issueId: Scalars["String"];
2373
2714
  title?: Maybe<Scalars["String"]>;
@@ -2427,6 +2768,19 @@ export declare type MutationCycleUpdateArgs = {
2427
2768
  id: Scalars["String"];
2428
2769
  input: CycleUpdateInput;
2429
2770
  };
2771
+ export declare type MutationDebugCreateSubscriptionArgs = {
2772
+ subscriptionType: Scalars["String"];
2773
+ };
2774
+ export declare type MutationDocumentCreateArgs = {
2775
+ input: DocumentCreateInput;
2776
+ };
2777
+ export declare type MutationDocumentDeleteArgs = {
2778
+ id: Scalars["String"];
2779
+ };
2780
+ export declare type MutationDocumentUpdateArgs = {
2781
+ id: Scalars["String"];
2782
+ input: DocumentUpdateInput;
2783
+ };
2430
2784
  export declare type MutationEmailSubscribeArgs = {
2431
2785
  input: EmailSubscribeInput;
2432
2786
  };
@@ -2509,6 +2863,10 @@ export declare type MutationIntegrationSentryConnectArgs = {
2509
2863
  installationId: Scalars["String"];
2510
2864
  organizationSlug: Scalars["String"];
2511
2865
  };
2866
+ export declare type MutationIntegrationSettingsUpdateArgs = {
2867
+ id: Scalars["String"];
2868
+ input: IntegrationSettingsInput;
2869
+ };
2512
2870
  export declare type MutationIntegrationSlackArgs = {
2513
2871
  code: Scalars["String"];
2514
2872
  redirectUri: Scalars["String"];
@@ -2543,6 +2901,10 @@ export declare type MutationIssueArchiveArgs = {
2543
2901
  id: Scalars["String"];
2544
2902
  trash?: Maybe<Scalars["Boolean"]>;
2545
2903
  };
2904
+ export declare type MutationIssueBatchUpdateArgs = {
2905
+ ids: Array<Scalars["UUID"]>;
2906
+ input: IssueUpdateInput;
2907
+ };
2546
2908
  export declare type MutationIssueCreateArgs = {
2547
2909
  input: IssueCreateInput;
2548
2910
  };
@@ -2553,6 +2915,7 @@ export declare type MutationIssueImportCreateAsanaArgs = {
2553
2915
  asanaTeamName: Scalars["String"];
2554
2916
  asanaToken: Scalars["String"];
2555
2917
  id?: Maybe<Scalars["String"]>;
2918
+ includeClosedIssues?: Maybe<Scalars["Boolean"]>;
2556
2919
  instantProcess?: Maybe<Scalars["Boolean"]>;
2557
2920
  teamId: Scalars["String"];
2558
2921
  };
@@ -2560,6 +2923,7 @@ export declare type MutationIssueImportCreateClubhouseArgs = {
2560
2923
  clubhouseTeamName: Scalars["String"];
2561
2924
  clubhouseToken: Scalars["String"];
2562
2925
  id?: Maybe<Scalars["String"]>;
2926
+ includeClosedIssues?: Maybe<Scalars["Boolean"]>;
2563
2927
  instantProcess?: Maybe<Scalars["Boolean"]>;
2564
2928
  teamId: Scalars["String"];
2565
2929
  };
@@ -2569,11 +2933,13 @@ export declare type MutationIssueImportCreateGithubArgs = {
2569
2933
  githubShouldImportOrgProjects?: Maybe<Scalars["Boolean"]>;
2570
2934
  githubToken: Scalars["String"];
2571
2935
  id?: Maybe<Scalars["String"]>;
2936
+ includeClosedIssues?: Maybe<Scalars["Boolean"]>;
2572
2937
  instantProcess?: Maybe<Scalars["Boolean"]>;
2573
2938
  teamId: Scalars["String"];
2574
2939
  };
2575
2940
  export declare type MutationIssueImportCreateJiraArgs = {
2576
2941
  id?: Maybe<Scalars["String"]>;
2942
+ includeClosedIssues?: Maybe<Scalars["Boolean"]>;
2577
2943
  instantProcess?: Maybe<Scalars["Boolean"]>;
2578
2944
  jiraEmail: Scalars["String"];
2579
2945
  jiraHostname: Scalars["String"];
@@ -2597,6 +2963,7 @@ export declare type MutationIssueLabelArchiveArgs = {
2597
2963
  };
2598
2964
  export declare type MutationIssueLabelCreateArgs = {
2599
2965
  input: IssueLabelCreateInput;
2966
+ replaceTeamLabels?: Maybe<Scalars["Boolean"]>;
2600
2967
  };
2601
2968
  export declare type MutationIssueLabelUpdateArgs = {
2602
2969
  id: Scalars["String"];
@@ -2619,6 +2986,9 @@ export declare type MutationIssueUpdateArgs = {
2619
2986
  id: Scalars["String"];
2620
2987
  input: IssueUpdateInput;
2621
2988
  };
2989
+ export declare type MutationJiraIntegrationConnectArgs = {
2990
+ input: JiraConfigurationInput;
2991
+ };
2622
2992
  export declare type MutationJoinOrganizationFromOnboardingArgs = {
2623
2993
  input: JoinOrganizationInput;
2624
2994
  };
@@ -2717,6 +3087,10 @@ export declare type MutationProjectLinkCreateArgs = {
2717
3087
  export declare type MutationProjectLinkDeleteArgs = {
2718
3088
  id: Scalars["String"];
2719
3089
  };
3090
+ export declare type MutationProjectLinkUpdateArgs = {
3091
+ id: Scalars["String"];
3092
+ input: ProjectLinkUpdateInput;
3093
+ };
2720
3094
  export declare type MutationProjectUnarchiveArgs = {
2721
3095
  id: Scalars["String"];
2722
3096
  };
@@ -2855,18 +3229,26 @@ export declare type MutationWorkflowStateUpdateArgs = {
2855
3229
  export declare type NestedStringComparator = {
2856
3230
  /** Contains constraint. Matches any values that contain the given string. */
2857
3231
  contains?: Maybe<Scalars["String"]>;
3232
+ /** Contains case insensitive constraint. Matches any values that contain the given string case insensitive. */
3233
+ containsIgnoreCase?: Maybe<Scalars["String"]>;
2858
3234
  /** Ends with constraint. Matches any values that end with the given string. */
2859
3235
  endsWith?: Maybe<Scalars["String"]>;
2860
3236
  /** Equals constraint. */
2861
3237
  eq?: Maybe<Scalars["String"]>;
3238
+ /** Equals case insensitive. Matches any values that matches the given string case insensitive. */
3239
+ eqIgnoreCase?: Maybe<Scalars["String"]>;
2862
3240
  /** In-array constraint. */
2863
3241
  in?: Maybe<Array<Scalars["String"]>>;
2864
3242
  /** Not-equals constraint. */
2865
3243
  neq?: Maybe<Scalars["String"]>;
3244
+ /** Not-equals case insensitive. Matches any values that don't match the given string case insensitive. */
3245
+ neqIgnoreCase?: Maybe<Scalars["String"]>;
2866
3246
  /** Not-in-array constraint. */
2867
3247
  nin?: Maybe<Array<Scalars["String"]>>;
2868
3248
  /** Doesn't contain constraint. Matches any values that don't contain the given string. */
2869
3249
  notContains?: Maybe<Scalars["String"]>;
3250
+ /** Doesn't contain case insensitive constraint. Matches any values that don't contain the given string case insensitive. */
3251
+ notContainsIgnoreCase?: Maybe<Scalars["String"]>;
2870
3252
  /** Doesn't end with constraint. Matches any values that don't end with the given string. */
2871
3253
  notEndsWith?: Maybe<Scalars["String"]>;
2872
3254
  /** Doesn't start with constraint. Matches any values that don't start with the given string. */
@@ -3122,18 +3504,26 @@ export declare type NullableProjectFilter = {
3122
3504
  export declare type NullableStringComparator = {
3123
3505
  /** Contains constraint. Matches any values that contain the given string. */
3124
3506
  contains?: Maybe<Scalars["String"]>;
3507
+ /** Contains case insensitive constraint. Matches any values that contain the given string case insensitive. */
3508
+ containsIgnoreCase?: Maybe<Scalars["String"]>;
3125
3509
  /** Ends with constraint. Matches any values that end with the given string. */
3126
3510
  endsWith?: Maybe<Scalars["String"]>;
3127
3511
  /** Equals constraint. */
3128
3512
  eq?: Maybe<Scalars["String"]>;
3513
+ /** Equals case insensitive. Matches any values that matches the given string case insensitive. */
3514
+ eqIgnoreCase?: Maybe<Scalars["String"]>;
3129
3515
  /** In-array constraint. */
3130
3516
  in?: Maybe<Array<Scalars["String"]>>;
3131
3517
  /** Not-equals constraint. */
3132
3518
  neq?: Maybe<Scalars["String"]>;
3519
+ /** Not-equals case insensitive. Matches any values that don't match the given string case insensitive. */
3520
+ neqIgnoreCase?: Maybe<Scalars["String"]>;
3133
3521
  /** Not-in-array constraint. */
3134
3522
  nin?: Maybe<Array<Scalars["String"]>>;
3135
3523
  /** Doesn't contain constraint. Matches any values that don't contain the given string. */
3136
3524
  notContains?: Maybe<Scalars["String"]>;
3525
+ /** Doesn't contain case insensitive constraint. Matches any values that don't contain the given string case insensitive. */
3526
+ notContainsIgnoreCase?: Maybe<Scalars["String"]>;
3137
3527
  /** Doesn't end with constraint. Matches any values that don't end with the given string. */
3138
3528
  notEndsWith?: Maybe<Scalars["String"]>;
3139
3529
  /** Doesn't start with constraint. Matches any values that don't start with the given string. */
@@ -3177,6 +3567,8 @@ export declare type NullableUserFilter = {
3177
3567
  email?: Maybe<StringComparator>;
3178
3568
  /** Comparator for the identifier. */
3179
3569
  id?: Maybe<IdComparator>;
3570
+ /** Filter based on the currently authenticated user. Set to true to filter for the authenticated user, false for any other user. */
3571
+ isMe?: Maybe<BooleanComparator>;
3180
3572
  /** Comparator for the users name. */
3181
3573
  name?: Maybe<StringComparator>;
3182
3574
  /** Filter based on the existence of the relation. */
@@ -3344,6 +3736,8 @@ export declare type Organization = Node & {
3344
3736
  id: Scalars["ID"];
3345
3737
  /** Integrations associated with the organization. */
3346
3738
  integrations: IntegrationConnection;
3739
+ /** Labels associated with the organization. */
3740
+ labels: IssueLabelConnection;
3347
3741
  /** The organization's logo URL. */
3348
3742
  logoUrl?: Maybe<Scalars["String"]>;
3349
3743
  /** Milestones associated with the organization. */
@@ -3360,6 +3754,8 @@ export declare type Organization = Node & {
3360
3754
  subscription?: Maybe<Subscription>;
3361
3755
  /** Teams associated with the organization. */
3362
3756
  teams: TeamConnection;
3757
+ /** Templates associated with the organization. */
3758
+ templates: TemplateConnection;
3363
3759
  /**
3364
3760
  * The last time at which the entity was updated. This is the same as the creation time if the
3365
3761
  * entity hasn't been update after creation.
@@ -3382,6 +3778,16 @@ export declare type OrganizationIntegrationsArgs = {
3382
3778
  orderBy?: Maybe<PaginationOrderBy>;
3383
3779
  };
3384
3780
  /** An organization. Organizations are root-level objects that contain user accounts and teams. */
3781
+ export declare type OrganizationLabelsArgs = {
3782
+ after?: Maybe<Scalars["String"]>;
3783
+ before?: Maybe<Scalars["String"]>;
3784
+ filter?: Maybe<IssueLabelFilter>;
3785
+ first?: Maybe<Scalars["Int"]>;
3786
+ includeArchived?: Maybe<Scalars["Boolean"]>;
3787
+ last?: Maybe<Scalars["Int"]>;
3788
+ orderBy?: Maybe<PaginationOrderBy>;
3789
+ };
3790
+ /** An organization. Organizations are root-level objects that contain user accounts and teams. */
3385
3791
  export declare type OrganizationMilestonesArgs = {
3386
3792
  after?: Maybe<Scalars["String"]>;
3387
3793
  before?: Maybe<Scalars["String"]>;
@@ -3402,6 +3808,15 @@ export declare type OrganizationTeamsArgs = {
3402
3808
  orderBy?: Maybe<PaginationOrderBy>;
3403
3809
  };
3404
3810
  /** An organization. Organizations are root-level objects that contain user accounts and teams. */
3811
+ export declare type OrganizationTemplatesArgs = {
3812
+ after?: Maybe<Scalars["String"]>;
3813
+ before?: Maybe<Scalars["String"]>;
3814
+ first?: Maybe<Scalars["Int"]>;
3815
+ includeArchived?: Maybe<Scalars["Boolean"]>;
3816
+ last?: Maybe<Scalars["Int"]>;
3817
+ orderBy?: Maybe<PaginationOrderBy>;
3818
+ };
3819
+ /** An organization. Organizations are root-level objects that contain user accounts and teams. */
3405
3820
  export declare type OrganizationUsersArgs = {
3406
3821
  after?: Maybe<Scalars["String"]>;
3407
3822
  before?: Maybe<Scalars["String"]>;
@@ -3606,6 +4021,8 @@ export declare type Project = Node & {
3606
4021
  creator: User;
3607
4022
  /** The project's description. */
3608
4023
  description: Scalars["String"];
4024
+ /** Documents associated with the project. */
4025
+ documents: DocumentConnection;
3609
4026
  /** The icon of the project. */
3610
4027
  icon?: Maybe<Scalars["String"]>;
3611
4028
  /** The unique identifier of the entity. */
@@ -3657,6 +4074,15 @@ export declare type Project = Node & {
3657
4074
  url: Scalars["String"];
3658
4075
  };
3659
4076
  /** A project. */
4077
+ export declare type ProjectDocumentsArgs = {
4078
+ after?: Maybe<Scalars["String"]>;
4079
+ before?: Maybe<Scalars["String"]>;
4080
+ first?: Maybe<Scalars["Int"]>;
4081
+ includeArchived?: Maybe<Scalars["Boolean"]>;
4082
+ last?: Maybe<Scalars["Int"]>;
4083
+ orderBy?: Maybe<PaginationOrderBy>;
4084
+ };
4085
+ /** A project. */
3660
4086
  export declare type ProjectIssuesArgs = {
3661
4087
  after?: Maybe<Scalars["String"]>;
3662
4088
  before?: Maybe<Scalars["String"]>;
@@ -3856,6 +4282,12 @@ export declare type ProjectLinkPayload = {
3856
4282
  /** Whether the operation was successful. */
3857
4283
  success: Scalars["Boolean"];
3858
4284
  };
4285
+ export declare type ProjectLinkUpdateInput = {
4286
+ /** The label for the link. */
4287
+ label?: Maybe<Scalars["String"]>;
4288
+ /** The URL of the link. */
4289
+ url?: Maybe<Scalars["String"]>;
4290
+ };
3859
4291
  export declare type ProjectPayload = {
3860
4292
  __typename?: "ProjectPayload";
3861
4293
  /** The identifier of the last sync operation. */
@@ -3969,6 +4401,8 @@ export declare type PushSubscriptionTestPayload = {
3969
4401
  };
3970
4402
  export declare type Query = {
3971
4403
  __typename?: "Query";
4404
+ /** All teams you the user can administrate. Administrable teams are teams whose settings the user can change, but to whose issues the user doesn't necessarily have access to. */
4405
+ administrableTeams: TeamConnection;
3972
4406
  /** [Internal] All API keys for the user. */
3973
4407
  apiKeys: ApiKeyConnection;
3974
4408
  /** Get information for an application and whether a user has approved it for the given scopes. */
@@ -3995,6 +4429,10 @@ export declare type Query = {
3995
4429
  attachments: AttachmentConnection;
3996
4430
  /** [Alpha] Returns issue attachments for a given `url`. */
3997
4431
  attachmentsForURL: AttachmentConnection;
4432
+ /** All audit log entries. */
4433
+ auditEntries: AuditEntryConnection;
4434
+ /** List of audit entry types. */
4435
+ auditEntryTypes: Array<AuditEntryType>;
3998
4436
  /** Get all authorized applications for a user */
3999
4437
  authorizedApplications: Array<AuthorizedApplication>;
4000
4438
  /** Fetch users belonging to this user account. */
@@ -4017,6 +4455,10 @@ export declare type Query = {
4017
4455
  cycles: CycleConnection;
4018
4456
  /** [Internal] Fetches the dependencies of a model. */
4019
4457
  dependentModelSync: DependencyResponse;
4458
+ /** One specific document. */
4459
+ document: Document;
4460
+ /** All documents for the project. */
4461
+ documents: DocumentConnection;
4020
4462
  /** A specific emoji. */
4021
4463
  emoji: Emoji;
4022
4464
  /** All custom emojis. */
@@ -4091,12 +4533,12 @@ export declare type Query = {
4091
4533
  reaction: Reaction;
4092
4534
  /** All comment emoji reactions. */
4093
4535
  reactions: ReactionConnection;
4094
- /** [Internal] Search in Linear. This query is for internal purposes only and is subject to change without notice. */
4095
- search: SearchResultPayload;
4096
4536
  /** Fetch SSO login URL for the email provided. */
4097
4537
  ssoUrlFromEmail: SsoUrlFromEmailResponse;
4098
4538
  /** The organization's subscription. */
4099
4539
  subscription?: Maybe<Subscription>;
4540
+ /** [Internal] Syncs a batch of models. */
4541
+ syncBatch: SyncBatchResponse;
4100
4542
  /** [Internal] Fetch data to catch up the client to the state of the world. */
4101
4543
  syncBootstrap: SyncResponse;
4102
4544
  /** [Internal] Fetches delta sync packets. */
@@ -4107,7 +4549,7 @@ export declare type Query = {
4107
4549
  teamMembership: TeamMembership;
4108
4550
  /** All team memberships. */
4109
4551
  teamMemberships: TeamMembershipConnection;
4110
- /** All teams. */
4552
+ /** All teams whose issues can be accessed by the user. This might be different from `administrableTeams`, which also includes teams whose settings can be changed by the user. */
4111
4553
  teams: TeamConnection;
4112
4554
  /** A specific template. */
4113
4555
  template: Template;
@@ -4130,6 +4572,15 @@ export declare type Query = {
4130
4572
  /** All issue workflow states. */
4131
4573
  workflowStates: WorkflowStateConnection;
4132
4574
  };
4575
+ export declare type QueryAdministrableTeamsArgs = {
4576
+ after?: Maybe<Scalars["String"]>;
4577
+ before?: Maybe<Scalars["String"]>;
4578
+ filter?: Maybe<TeamFilter>;
4579
+ first?: Maybe<Scalars["Int"]>;
4580
+ includeArchived?: Maybe<Scalars["Boolean"]>;
4581
+ last?: Maybe<Scalars["Int"]>;
4582
+ orderBy?: Maybe<PaginationOrderBy>;
4583
+ };
4133
4584
  export declare type QueryApiKeysArgs = {
4134
4585
  after?: Maybe<Scalars["String"]>;
4135
4586
  before?: Maybe<Scalars["String"]>;
@@ -4178,6 +4629,15 @@ export declare type QueryAttachmentsForUrlArgs = {
4178
4629
  orderBy?: Maybe<PaginationOrderBy>;
4179
4630
  url: Scalars["String"];
4180
4631
  };
4632
+ export declare type QueryAuditEntriesArgs = {
4633
+ after?: Maybe<Scalars["String"]>;
4634
+ before?: Maybe<Scalars["String"]>;
4635
+ filter?: Maybe<AuditEntryFilter>;
4636
+ first?: Maybe<Scalars["Int"]>;
4637
+ includeArchived?: Maybe<Scalars["Boolean"]>;
4638
+ last?: Maybe<Scalars["Int"]>;
4639
+ orderBy?: Maybe<PaginationOrderBy>;
4640
+ };
4181
4641
  export declare type QueryCollaborativeDocumentJoinArgs = {
4182
4642
  clientId: Scalars["String"];
4183
4643
  issueId: Scalars["String"];
@@ -4222,6 +4682,17 @@ export declare type QueryDependentModelSyncArgs = {
4222
4682
  identifier: Scalars["String"];
4223
4683
  modelClass: Scalars["String"];
4224
4684
  };
4685
+ export declare type QueryDocumentArgs = {
4686
+ id: Scalars["String"];
4687
+ };
4688
+ export declare type QueryDocumentsArgs = {
4689
+ after?: Maybe<Scalars["String"]>;
4690
+ before?: Maybe<Scalars["String"]>;
4691
+ first?: Maybe<Scalars["Int"]>;
4692
+ includeArchived?: Maybe<Scalars["Boolean"]>;
4693
+ last?: Maybe<Scalars["Int"]>;
4694
+ orderBy?: Maybe<PaginationOrderBy>;
4695
+ };
4225
4696
  export declare type QueryEmojiArgs = {
4226
4697
  id: Scalars["String"];
4227
4698
  };
@@ -4406,14 +4877,13 @@ export declare type QueryReactionsArgs = {
4406
4877
  last?: Maybe<Scalars["Int"]>;
4407
4878
  orderBy?: Maybe<PaginationOrderBy>;
4408
4879
  };
4409
- export declare type QuerySearchArgs = {
4410
- from?: Maybe<Scalars["Int"]>;
4411
- term: Scalars["String"];
4412
- };
4413
4880
  export declare type QuerySsoUrlFromEmailArgs = {
4414
4881
  email: Scalars["String"];
4415
4882
  isDesktop?: Maybe<Scalars["Boolean"]>;
4416
4883
  };
4884
+ export declare type QuerySyncBatchArgs = {
4885
+ requests: Array<BatchRequest>;
4886
+ };
4417
4887
  export declare type QuerySyncBootstrapArgs = {
4418
4888
  newVersion?: Maybe<Scalars["Boolean"]>;
4419
4889
  onlyModels?: Maybe<Array<Scalars["String"]>>;
@@ -4571,15 +5041,6 @@ export declare type SamlConfigurationInput = {
4571
5041
  /** X.509 Signing Certificate in string form. */
4572
5042
  ssoSigningCert?: Maybe<Scalars["String"]>;
4573
5043
  };
4574
- export declare type SearchResultPayload = {
4575
- __typename?: "SearchResultPayload";
4576
- /** Archived issues matching the search term along with all their dependencies. */
4577
- archivePayload: ArchiveResponse;
4578
- /** Active issue IDs returned matching the search term. */
4579
- issueIds: Array<Scalars["String"]>;
4580
- /** Total number of search results. */
4581
- totalCount: Scalars["Int"];
4582
- };
4583
5044
  /** Sentry issue data */
4584
5045
  export declare type SentryIssuePayload = {
4585
5046
  __typename?: "SentryIssuePayload";
@@ -4612,6 +5073,10 @@ export declare type SentrySettings = {
4612
5073
  /** The slug of the Sentry organization being connected. */
4613
5074
  organizationSlug: Scalars["String"];
4614
5075
  };
5076
+ export declare type SentrySettingsInput = {
5077
+ /** The slug of the Sentry organization being connected. */
5078
+ organizationSlug: Scalars["String"];
5079
+ };
4615
5080
  /** Slack notification specific settings. */
4616
5081
  export declare type SlackPostSettings = {
4617
5082
  __typename?: "SlackPostSettings";
@@ -4619,6 +5084,11 @@ export declare type SlackPostSettings = {
4619
5084
  channelId: Scalars["String"];
4620
5085
  configurationUrl: Scalars["String"];
4621
5086
  };
5087
+ export declare type SlackPostSettingsInput = {
5088
+ channel: Scalars["String"];
5089
+ channelId: Scalars["String"];
5090
+ configurationUrl: Scalars["String"];
5091
+ };
4622
5092
  export declare type SsoUrlFromEmailResponse = {
4623
5093
  __typename?: "SsoUrlFromEmailResponse";
4624
5094
  /** SAML SSO sign-in URL. */
@@ -4639,18 +5109,26 @@ export declare type StepsResponse = {
4639
5109
  export declare type StringComparator = {
4640
5110
  /** Contains constraint. Matches any values that contain the given string. */
4641
5111
  contains?: Maybe<Scalars["String"]>;
5112
+ /** Contains case insensitive constraint. Matches any values that contain the given string case insensitive. */
5113
+ containsIgnoreCase?: Maybe<Scalars["String"]>;
4642
5114
  /** Ends with constraint. Matches any values that end with the given string. */
4643
5115
  endsWith?: Maybe<Scalars["String"]>;
4644
5116
  /** Equals constraint. */
4645
5117
  eq?: Maybe<Scalars["String"]>;
5118
+ /** Equals case insensitive. Matches any values that matches the given string case insensitive. */
5119
+ eqIgnoreCase?: Maybe<Scalars["String"]>;
4646
5120
  /** In-array constraint. */
4647
5121
  in?: Maybe<Array<Scalars["String"]>>;
4648
5122
  /** Not-equals constraint. */
4649
5123
  neq?: Maybe<Scalars["String"]>;
5124
+ /** Not-equals case insensitive. Matches any values that don't match the given string case insensitive. */
5125
+ neqIgnoreCase?: Maybe<Scalars["String"]>;
4650
5126
  /** Not-in-array constraint. */
4651
5127
  nin?: Maybe<Array<Scalars["String"]>>;
4652
5128
  /** Doesn't contain constraint. Matches any values that don't contain the given string. */
4653
5129
  notContains?: Maybe<Scalars["String"]>;
5130
+ /** Doesn't contain case insensitive constraint. Matches any values that don't contain the given string case insensitive. */
5131
+ notContainsIgnoreCase?: Maybe<Scalars["String"]>;
4654
5132
  /** Doesn't end with constraint. Matches any values that don't end with the given string. */
4655
5133
  notEndsWith?: Maybe<Scalars["String"]>;
4656
5134
  /** Doesn't start with constraint. Matches any values that don't start with the given string. */
@@ -4709,6 +5187,12 @@ export declare type SubscriptionUpdateInput = {
4709
5187
  /** The subscription type of a pending change. Null if no change pending. */
4710
5188
  pendingChangeType?: Maybe<Scalars["String"]>;
4711
5189
  };
5190
+ /** Contains the requested relations. */
5191
+ export declare type SyncBatchResponse = {
5192
+ __typename?: "SyncBatchResponse";
5193
+ /** A JSON serialized collection of relations model object. */
5194
+ models: Scalars["String"];
5195
+ };
4712
5196
  /** Contains a delta sync. */
4713
5197
  export declare type SyncDeltaResponse = {
4714
5198
  __typename?: "SyncDeltaResponse";
@@ -4760,9 +5244,11 @@ export declare type Team = Node & {
4760
5244
  autoClosePeriod?: Maybe<Scalars["Float"]>;
4761
5245
  /** The canceled workflow state which auto closed issues will be set to. Defaults to the first canceled state. */
4762
5246
  autoCloseStateId?: Maybe<Scalars["String"]>;
5247
+ /** The team's color. */
5248
+ color?: Maybe<Scalars["String"]>;
4763
5249
  /** The time at which the entity was created. */
4764
5250
  createdAt: Scalars["DateTime"];
4765
- /** Calender feed (iCal) for cycles. */
5251
+ /** Calendar feed URL (iCal) for cycles. */
4766
5252
  cycleCalenderUrl: Scalars["String"];
4767
5253
  /** The cooldown time after each cycle in weeks. */
4768
5254
  cycleCooldownTime: Scalars["Float"];
@@ -4785,8 +5271,18 @@ export declare type Team = Node & {
4785
5271
  /** The default workflow state into which issues are set when they are opened by team members. */
4786
5272
  defaultIssueState?: Maybe<WorkflowState>;
4787
5273
  /** The default template to use for new issues created by members of the team. */
5274
+ defaultTemplateForMembers?: Maybe<Template>;
5275
+ /**
5276
+ * The id of the default template to use for new issues created by members of the team.
5277
+ * @deprecated Use defaultTemplateForMembers instead
5278
+ */
4788
5279
  defaultTemplateForMembersId?: Maybe<Scalars["String"]>;
4789
5280
  /** The default template to use for new issues created by non-members of the team. */
5281
+ defaultTemplateForNonMembers?: Maybe<Template>;
5282
+ /**
5283
+ * The id of the default template to use for new issues created by non-members of the team.
5284
+ * @deprecated Use defaultTemplateForNonMembers instead
5285
+ */
4790
5286
  defaultTemplateForNonMembersId?: Maybe<Scalars["String"]>;
4791
5287
  /** The team's description. */
4792
5288
  description?: Maybe<Scalars["String"]>;
@@ -4794,6 +5290,8 @@ export declare type Team = Node & {
4794
5290
  draftWorkflowState?: Maybe<WorkflowState>;
4795
5291
  /** Whether to group recent issue history entries. */
4796
5292
  groupIssueHistory: Scalars["Boolean"];
5293
+ /** The icon of the team. */
5294
+ icon?: Maybe<Scalars["String"]>;
4797
5295
  /** The unique identifier of the entity. */
4798
5296
  id: Scalars["ID"];
4799
5297
  /** Unique hash for the team to be used in invite URLs. */
@@ -4959,6 +5457,8 @@ export declare type TeamCreateInput = {
4959
5457
  autoClosePeriod?: Maybe<Scalars["Float"]>;
4960
5458
  /** The canceled workflow state which auto closed issues will be set to. */
4961
5459
  autoCloseStateId?: Maybe<Scalars["String"]>;
5460
+ /** The color of the team. */
5461
+ color?: Maybe<Scalars["String"]>;
4962
5462
  /** The cooldown time after each cycle in weeks. */
4963
5463
  cycleCooldownTime?: Maybe<Scalars["Int"]>;
4964
5464
  /** The duration of each cycle in weeks. */
@@ -4983,6 +5483,8 @@ export declare type TeamCreateInput = {
4983
5483
  description?: Maybe<Scalars["String"]>;
4984
5484
  /** Whether to group recent issue history entries. */
4985
5485
  groupIssueHistory?: Maybe<Scalars["Boolean"]>;
5486
+ /** The icon of the team. */
5487
+ icon?: Maybe<Scalars["String"]>;
4986
5488
  /** The identifier. If none is provided, the backend will generate one. */
4987
5489
  id?: Maybe<Scalars["String"]>;
4988
5490
  /** Whether to allow zeros in issues estimates. */
@@ -5109,10 +5611,14 @@ export declare type TeamUpdateInput = {
5109
5611
  autoClosePeriod?: Maybe<Scalars["Float"]>;
5110
5612
  /** The canceled workflow state which auto closed issues will be set to. */
5111
5613
  autoCloseStateId?: Maybe<Scalars["String"]>;
5614
+ /** The color of the team. */
5615
+ color?: Maybe<Scalars["String"]>;
5112
5616
  /** The cooldown time after each cycle in weeks. */
5113
5617
  cycleCooldownTime?: Maybe<Scalars["Int"]>;
5114
5618
  /** The duration of each cycle in weeks. */
5115
5619
  cycleDuration?: Maybe<Scalars["Int"]>;
5620
+ /** Whether the first cycle should start in the current or the next week. */
5621
+ cycleEnabledStartWeek?: Maybe<Scalars["String"]>;
5116
5622
  /** Auto assign completed issues to current active cycle setting. */
5117
5623
  cycleIssueAutoAssignCompleted?: Maybe<Scalars["Boolean"]>;
5118
5624
  /** Auto assign started issues to current active cycle setting. */
@@ -5137,6 +5643,8 @@ export declare type TeamUpdateInput = {
5137
5643
  draftWorkflowStateId?: Maybe<Scalars["String"]>;
5138
5644
  /** Whether to group recent issue history entries. */
5139
5645
  groupIssueHistory?: Maybe<Scalars["Boolean"]>;
5646
+ /** The icon of the team. */
5647
+ icon?: Maybe<Scalars["String"]>;
5140
5648
  /** Whether to allow zeros in issues estimates. */
5141
5649
  issueEstimationAllowZero?: Maybe<Scalars["Boolean"]>;
5142
5650
  /** Whether to add additional points to the estimate scale. */
@@ -5172,7 +5680,7 @@ export declare type TeamUpdateInput = {
5172
5680
  /** How many upcoming cycles to create. */
5173
5681
  upcomingCycleCount?: Maybe<Scalars["Float"]>;
5174
5682
  };
5175
- /** A template object used for creating new issues faster. */
5683
+ /** A template object used for creating entities faster. */
5176
5684
  export declare type Template = Node & {
5177
5685
  __typename?: "Template";
5178
5686
  /** The time at which the entity was archived. Null if the entity has not been archived. */
@@ -5187,8 +5695,10 @@ export declare type Template = Node & {
5187
5695
  id: Scalars["ID"];
5188
5696
  /** The name of the template. */
5189
5697
  name: Scalars["String"];
5190
- /** The team that the template is associated with. */
5191
- team: Team;
5698
+ /** The organization that the template is associated with. If null, the template is associated with a particular team. */
5699
+ organization?: Maybe<Organization>;
5700
+ /** The team that the template is associated with. If null, the template is global to the workspace. */
5701
+ team?: Maybe<Team>;
5192
5702
  /** Template data. */
5193
5703
  templateData: Scalars["JSON"];
5194
5704
  /** The entity type this template is for. */
@@ -5212,8 +5722,8 @@ export declare type TemplateCreateInput = {
5212
5722
  id?: Maybe<Scalars["String"]>;
5213
5723
  /** The template name. */
5214
5724
  name: Scalars["String"];
5215
- /** The identifier or key of the team associated with the template. */
5216
- teamId: Scalars["String"];
5725
+ /** The identifier or key of the team associated with the template. If not given, the template will be shared across all teams. */
5726
+ teamId?: Maybe<Scalars["String"]>;
5217
5727
  /** The template data as JSON encoded attributes of the type of entity, such as an issue. */
5218
5728
  templateData: Scalars["JSON"];
5219
5729
  /** The template type, e.g. 'issue'. */
@@ -5239,6 +5749,8 @@ export declare type TemplateUpdateInput = {
5239
5749
  description?: Maybe<Scalars["String"]>;
5240
5750
  /** The template name. */
5241
5751
  name?: Maybe<Scalars["String"]>;
5752
+ /** The identifier or key of the team associated with the template. If set to null, the template will be shared across all teams. */
5753
+ teamId?: Maybe<Scalars["String"]>;
5242
5754
  /** The template data as JSON encoded attributes of the type of entity, such as an issue. */
5243
5755
  templateData?: Maybe<Scalars["JSON"]>;
5244
5756
  };
@@ -5293,6 +5805,8 @@ export declare type UpdateOrganizationInput = {
5293
5805
  /** The name of the organization. */
5294
5806
  name?: Maybe<Scalars["String"]>;
5295
5807
  /** Whether the organization is using project milestones. */
5808
+ reducedPersonalInformation?: Maybe<Scalars["Boolean"]>;
5809
+ /** Whether the organization is using project milestones. */
5296
5810
  roadmapEnabled?: Maybe<Scalars["Boolean"]>;
5297
5811
  /** The URL key of the organization. */
5298
5812
  urlKey?: Maybe<Scalars["String"]>;
@@ -5304,12 +5818,22 @@ export declare type UpdateUserInput = {
5304
5818
  admin?: Maybe<Scalars["Boolean"]>;
5305
5819
  /** The avatar image URL of the user. */
5306
5820
  avatarUrl?: Maybe<Scalars["String"]>;
5821
+ /** The user description or a short bio. */
5822
+ description?: Maybe<Scalars["String"]>;
5307
5823
  /** Reason for deactivation. */
5308
5824
  disableReason?: Maybe<Scalars["String"]>;
5309
5825
  /** The display name of the user. */
5310
5826
  displayName?: Maybe<Scalars["String"]>;
5311
5827
  /** The name of the user. */
5312
5828
  name?: Maybe<Scalars["String"]>;
5829
+ /** The emoji part of the user status. */
5830
+ statusEmoji?: Maybe<Scalars["String"]>;
5831
+ /** The label part of the user status. */
5832
+ statusLabel?: Maybe<Scalars["String"]>;
5833
+ /** When the user status should be cleared. */
5834
+ statusUntilAt?: Maybe<Scalars["DateTime"]>;
5835
+ /** The local timezone of the user. */
5836
+ timezone?: Maybe<Scalars["String"]>;
5313
5837
  };
5314
5838
  /** Object representing Google Cloud upload policy, plus additional data. */
5315
5839
  export declare type UploadFile = {
@@ -5362,6 +5886,8 @@ export declare type User = Node & {
5362
5886
  createdIssueCount: Scalars["Int"];
5363
5887
  /** Issues created by the user. */
5364
5888
  createdIssues: IssueConnection;
5889
+ /** A short description of the user, either its title or bio. */
5890
+ description?: Maybe<Scalars["String"]>;
5365
5891
  /** Reason why is the account disabled. */
5366
5892
  disableReason?: Maybe<Scalars["String"]>;
5367
5893
  /** The user's display (nick) name. Unique within each organization. */
@@ -5372,16 +5898,26 @@ export declare type User = Node & {
5372
5898
  id: Scalars["ID"];
5373
5899
  /** Unique hash for the user to be used in invite URLs. */
5374
5900
  inviteHash: Scalars["String"];
5901
+ /** Whether the user is the currently authenticated user. */
5902
+ isMe: Scalars["Boolean"];
5375
5903
  /** The last time the user was seen online. If null, the user is currently online. */
5376
5904
  lastSeen?: Maybe<Scalars["DateTime"]>;
5377
5905
  /** The user's full name. */
5378
5906
  name: Scalars["String"];
5379
- /** Organization in which the user belongs to. */
5907
+ /** Organization the user belongs to. */
5380
5908
  organization: Organization;
5909
+ /** The emoji to represent the user current status. */
5910
+ statusEmoji?: Maybe<Scalars["String"]>;
5911
+ /** The label of the user current status. */
5912
+ statusLabel?: Maybe<Scalars["String"]>;
5913
+ /** A date at which the user current status should be cleared. */
5914
+ statusUntilAt?: Maybe<Scalars["DateTime"]>;
5381
5915
  /** Memberships associated with the user. For easier access of the same data, use `teams` query. */
5382
5916
  teamMemberships: TeamMembershipConnection;
5383
5917
  /** Teams the user is part of. */
5384
5918
  teams: TeamConnection;
5919
+ /** The local timezone of the user. */
5920
+ timezone?: Maybe<Scalars["String"]>;
5385
5921
  /**
5386
5922
  * The last time at which the entity was updated. This is the same as the creation time if the
5387
5923
  * entity hasn't been update after creation.
@@ -5502,6 +6038,8 @@ export declare type UserFilter = {
5502
6038
  email?: Maybe<StringComparator>;
5503
6039
  /** Comparator for the identifier. */
5504
6040
  id?: Maybe<IdComparator>;
6041
+ /** Filter based on the currently authenticated user. Set to true to filter for the authenticated user, false for any other user. */
6042
+ isMe?: Maybe<BooleanComparator>;
5505
6043
  /** Comparator for the users name. */
5506
6044
  name?: Maybe<StringComparator>;
5507
6045
  /** Compound filters, one of which need to be matched by the user. */
@@ -5513,6 +6051,7 @@ export declare type UserFilter = {
5513
6051
  export declare enum UserFlagType {
5514
6052
  AnalyticsWelcomeDismissed = "analyticsWelcomeDismissed",
5515
6053
  CanPlaySnake = "canPlaySnake",
6054
+ CanPlayTetris = "canPlayTetris",
5516
6055
  CompletedOnboarding = "completedOnboarding",
5517
6056
  CycleWelcomeDismissed = "cycleWelcomeDismissed",
5518
6057
  DesktopDownloadToastDismissed = "desktopDownloadToastDismissed",
@@ -5528,6 +6067,7 @@ export declare enum UserFlagType {
5528
6067
  ListSelectionTip = "listSelectionTip",
5529
6068
  MigrateThemePreference = "migrateThemePreference",
5530
6069
  ProjectWelcomeDismissed = "projectWelcomeDismissed",
6070
+ SlackCommentReactionTipShown = "slackCommentReactionTipShown",
5531
6071
  TriageWelcomeDismissed = "triageWelcomeDismissed"
5532
6072
  }
5533
6073
  /** Operations that can be applied to UserFlagType */
@@ -5718,7 +6258,7 @@ export declare type Webhook = Node & {
5718
6258
  */
5719
6259
  updatedAt: Scalars["DateTime"];
5720
6260
  /** Webhook URL */
5721
- url: Scalars["String"];
6261
+ url?: Maybe<Scalars["String"]>;
5722
6262
  };
5723
6263
  export declare type WebhookConnection = {
5724
6264
  __typename?: "WebhookConnection";
@@ -5892,6 +6432,14 @@ export declare type ZendeskSettings = {
5892
6432
  /** The URL of the connected Zendesk organization. */
5893
6433
  url: Scalars["String"];
5894
6434
  };
6435
+ export declare type ZendeskSettingsInput = {
6436
+ /** The ID of the Linear bot user. */
6437
+ botUserId: Scalars["String"];
6438
+ /** The subdomain of the Zendesk organization being connected. */
6439
+ subdomain: Scalars["String"];
6440
+ /** The URL of the connected Zendesk organization. */
6441
+ url: Scalars["String"];
6442
+ };
5895
6443
  export declare type CommentFragment = {
5896
6444
  __typename?: "Comment";
5897
6445
  } & Pick<Comment, "url" | "body" | "updatedAt" | "archivedAt" | "createdAt" | "editedAt" | "id"> & {
@@ -5911,7 +6459,7 @@ export declare type EmojiFragment = {
5911
6459
  };
5912
6460
  export declare type CustomViewFragment = {
5913
6461
  __typename?: "CustomView";
5914
- } & Pick<CustomView, "color" | "description" | "filters" | "icon" | "updatedAt" | "name" | "archivedAt" | "createdAt" | "id" | "shared"> & {
6462
+ } & Pick<CustomView, "color" | "description" | "filters" | "icon" | "updatedAt" | "name" | "archivedAt" | "createdAt" | "id" | "shared" | "filterData"> & {
5915
6463
  team?: Maybe<{
5916
6464
  __typename?: "Team";
5917
6465
  } & Pick<Team, "id">>;
@@ -5919,10 +6467,23 @@ export declare type CustomViewFragment = {
5919
6467
  __typename?: "User";
5920
6468
  } & Pick<User, "id">;
5921
6469
  };
5922
- export declare type MilestoneFragment = {
5923
- __typename?: "Milestone";
5924
- } & Pick<Milestone, "updatedAt" | "name" | "sortOrder" | "archivedAt" | "createdAt" | "id">;
5925
- export declare type NotificationFragment = {
6470
+ export declare type DocumentFragment = {
6471
+ __typename?: "Document";
6472
+ } & Pick<Document, "color" | "contentData" | "content" | "title" | "slugId" | "icon" | "updatedAt" | "archivedAt" | "createdAt" | "id"> & {
6473
+ project: {
6474
+ __typename?: "Project";
6475
+ } & Pick<Project, "id">;
6476
+ creator: {
6477
+ __typename?: "User";
6478
+ } & Pick<User, "id">;
6479
+ updatedBy: {
6480
+ __typename?: "User";
6481
+ } & Pick<User, "id">;
6482
+ };
6483
+ export declare type MilestoneFragment = {
6484
+ __typename?: "Milestone";
6485
+ } & Pick<Milestone, "updatedAt" | "name" | "sortOrder" | "archivedAt" | "createdAt" | "id">;
6486
+ export declare type NotificationFragment = {
5926
6487
  __typename?: "Notification";
5927
6488
  } & Pick<Notification, "reactionEmoji" | "type" | "updatedAt" | "emailedAt" | "readAt" | "archivedAt" | "createdAt" | "snoozedUntilAt" | "id"> & {
5928
6489
  comment?: Maybe<{
@@ -6040,9 +6601,9 @@ export declare type WorkflowStateFragment = {
6040
6601
  export declare type TemplateFragment = {
6041
6602
  __typename?: "Template";
6042
6603
  } & Pick<Template, "templateData" | "description" | "type" | "updatedAt" | "name" | "archivedAt" | "createdAt" | "id"> & {
6043
- team: {
6604
+ team?: Maybe<{
6044
6605
  __typename?: "Team";
6045
- } & Pick<Team, "id">;
6606
+ } & Pick<Team, "id">>;
6046
6607
  creator?: Maybe<{
6047
6608
  __typename?: "User";
6048
6609
  } & Pick<User, "id">>;
@@ -6056,10 +6617,20 @@ export declare type UserAccountFragment = {
6056
6617
  };
6057
6618
  export declare type UserFragment = {
6058
6619
  __typename?: "User";
6059
- } & Pick<User, "avatarUrl" | "createdIssueCount" | "disableReason" | "updatedAt" | "lastSeen" | "archivedAt" | "createdAt" | "id" | "displayName" | "email" | "name" | "inviteHash" | "url" | "active" | "admin">;
6620
+ } & Pick<User, "statusUntilAt" | "description" | "avatarUrl" | "createdIssueCount" | "disableReason" | "statusEmoji" | "statusLabel" | "updatedAt" | "lastSeen" | "timezone" | "archivedAt" | "createdAt" | "id" | "displayName" | "email" | "name" | "inviteHash" | "url" | "active" | "admin" | "isMe">;
6060
6621
  export declare type PushSubscriptionFragment = {
6061
6622
  __typename?: "PushSubscription";
6062
6623
  } & Pick<PushSubscription, "updatedAt" | "archivedAt" | "createdAt" | "id">;
6624
+ export declare type DocumentVersionFragment = {
6625
+ __typename?: "DocumentVersion";
6626
+ } & Pick<DocumentVersion, "content" | "title" | "updatedAt" | "archivedAt" | "createdAt" | "id" | "revision"> & {
6627
+ project: {
6628
+ __typename?: "Project";
6629
+ } & Pick<Project, "id">;
6630
+ creator: {
6631
+ __typename?: "User";
6632
+ } & Pick<User, "id">;
6633
+ };
6063
6634
  export declare type WebhookFragment = {
6064
6635
  __typename?: "Webhook";
6065
6636
  } & Pick<Webhook, "secret" | "teamIds" | "updatedAt" | "resourceTypes" | "archivedAt" | "createdAt" | "id" | "url" | "label" | "allPublicTeams" | "enabled"> & {
@@ -6155,10 +6726,16 @@ export declare type OrganizationFragment = {
6155
6726
  } & Pick<Organization, "allowedAuthServices" | "gitBranchFormat" | "userCount" | "createdIssueCount" | "periodUploadVolume" | "updatedAt" | "logoUrl" | "name" | "urlKey" | "deletionRequestedAt" | "archivedAt" | "createdAt" | "id" | "samlEnabled" | "gitLinkbackMessagesEnabled" | "gitPublicLinkbackMessagesEnabled" | "roadmapEnabled">;
6156
6727
  export declare type TeamFragment = {
6157
6728
  __typename?: "Team";
6158
- } & Pick<Team, "cycleIssueAutoAssignCompleted" | "cycleIssueAutoAssignStarted" | "cycleCalenderUrl" | "upcomingCycleCount" | "cycleLockToActive" | "autoArchivePeriod" | "autoClosePeriod" | "autoCloseStateId" | "cycleCooldownTime" | "cycleStartDay" | "defaultTemplateForMembersId" | "defaultTemplateForNonMembersId" | "cycleDuration" | "issueEstimationType" | "updatedAt" | "description" | "name" | "key" | "archivedAt" | "createdAt" | "timezone" | "id" | "inviteHash" | "defaultIssueEstimate" | "issueOrderingNoPriorityFirst" | "private" | "cyclesEnabled" | "issueEstimationExtended" | "issueEstimationAllowZero" | "groupIssueHistory" | "slackIssueComments" | "slackNewIssue" | "slackIssueStatuses" | "triageEnabled"> & {
6729
+ } & Pick<Team, "cycleIssueAutoAssignCompleted" | "cycleIssueAutoAssignStarted" | "cycleCalenderUrl" | "upcomingCycleCount" | "cycleLockToActive" | "autoArchivePeriod" | "autoClosePeriod" | "autoCloseStateId" | "cycleCooldownTime" | "cycleStartDay" | "cycleDuration" | "icon" | "defaultTemplateForMembersId" | "defaultTemplateForNonMembersId" | "issueEstimationType" | "updatedAt" | "color" | "description" | "name" | "key" | "archivedAt" | "createdAt" | "timezone" | "id" | "inviteHash" | "defaultIssueEstimate" | "issueOrderingNoPriorityFirst" | "private" | "cyclesEnabled" | "issueEstimationExtended" | "issueEstimationAllowZero" | "groupIssueHistory" | "slackIssueComments" | "slackNewIssue" | "slackIssueStatuses" | "triageEnabled"> & {
6159
6730
  activeCycle?: Maybe<{
6160
6731
  __typename?: "Cycle";
6161
6732
  } & Pick<Cycle, "id">>;
6733
+ defaultTemplateForMembers?: Maybe<{
6734
+ __typename?: "Template";
6735
+ } & Pick<Template, "id">>;
6736
+ defaultTemplateForNonMembers?: Maybe<{
6737
+ __typename?: "Template";
6738
+ } & Pick<Template, "id">>;
6162
6739
  defaultIssueState?: Maybe<{
6163
6740
  __typename?: "WorkflowState";
6164
6741
  } & Pick<WorkflowState, "id">>;
@@ -6196,6 +6773,9 @@ export declare type ArchiveResponseFragment = {
6196
6773
  export declare type DependencyResponseFragment = {
6197
6774
  __typename?: "DependencyResponse";
6198
6775
  } & Pick<DependencyResponse, "dependencies">;
6776
+ export declare type SyncBatchResponseFragment = {
6777
+ __typename?: "SyncBatchResponse";
6778
+ } & Pick<SyncBatchResponse, "models">;
6199
6779
  export declare type TeamMembershipFragment = {
6200
6780
  __typename?: "TeamMembership";
6201
6781
  } & Pick<TeamMembership, "updatedAt" | "archivedAt" | "createdAt" | "id" | "owner"> & {
@@ -6248,16 +6828,29 @@ export declare type IntercomSettingsFragment = {
6248
6828
  export declare type IssueRelationHistoryPayloadFragment = {
6249
6829
  __typename?: "IssueRelationHistoryPayload";
6250
6830
  } & Pick<IssueRelationHistoryPayload, "identifier" | "type">;
6831
+ export declare type JiraSettingsFragment = {
6832
+ __typename?: "JiraSettings";
6833
+ } & {
6834
+ projects: Array<{
6835
+ __typename?: "JiraProjectData";
6836
+ } & JiraProjectDataFragment>;
6837
+ projectMapping?: Maybe<Array<{
6838
+ __typename?: "JiraLinearMapping";
6839
+ } & JiraLinearMappingFragment>>;
6840
+ };
6251
6841
  export declare type IssueLabelFragment = {
6252
6842
  __typename?: "IssueLabel";
6253
6843
  } & Pick<IssueLabel, "color" | "description" | "name" | "updatedAt" | "archivedAt" | "createdAt" | "id"> & {
6254
- team: {
6844
+ team?: Maybe<{
6255
6845
  __typename?: "Team";
6256
- } & Pick<Team, "id">;
6846
+ } & Pick<Team, "id">>;
6257
6847
  creator?: Maybe<{
6258
6848
  __typename?: "User";
6259
6849
  } & Pick<User, "id">>;
6260
6850
  };
6851
+ export declare type JiraProjectDataFragment = {
6852
+ __typename?: "JiraProjectData";
6853
+ } & Pick<JiraProjectData, "id" | "key" | "name">;
6261
6854
  export declare type NotificationSubscriptionFragment = {
6262
6855
  __typename?: "NotificationSubscription";
6263
6856
  } & Pick<NotificationSubscription, "updatedAt" | "archivedAt" | "createdAt" | "type" | "id"> & {
@@ -6286,7 +6879,7 @@ export declare type UploadFileFragment = {
6286
6879
  };
6287
6880
  export declare type AuthorizedApplicationFragment = {
6288
6881
  __typename?: "AuthorizedApplication";
6289
- } & Pick<AuthorizedApplication, "name" | "imageUrl" | "description" | "developer" | "appId" | "clientId" | "scope" | "developerUrl">;
6882
+ } & Pick<AuthorizedApplication, "name" | "imageUrl" | "description" | "developer" | "appId" | "clientId" | "scope" | "developerUrl" | "webhooksEnabled">;
6290
6883
  export declare type UserAuthorizedApplicationFragment = {
6291
6884
  __typename?: "UserAuthorizedApplication";
6292
6885
  } & Pick<UserAuthorizedApplication, "name" | "imageUrl" | "description" | "developer" | "clientId" | "developerUrl" | "webhooksEnabled" | "createdByLinear" | "isAuthorized">;
@@ -6324,6 +6917,9 @@ export declare type IntegrationSettingsFragment = {
6324
6917
  intercom?: Maybe<{
6325
6918
  __typename?: "IntercomSettings";
6326
6919
  } & IntercomSettingsFragment>;
6920
+ jira?: Maybe<{
6921
+ __typename?: "JiraSettings";
6922
+ } & JiraSettingsFragment>;
6327
6923
  sentry?: Maybe<{
6328
6924
  __typename?: "SentrySettings";
6329
6925
  } & SentrySettingsFragment>;
@@ -6354,6 +6950,9 @@ export declare type SubscriptionFragment = {
6354
6950
  __typename?: "User";
6355
6951
  } & Pick<User, "id">>;
6356
6952
  };
6953
+ export declare type JiraLinearMappingFragment = {
6954
+ __typename?: "JiraLinearMapping";
6955
+ } & Pick<JiraLinearMapping, "jiraProjectId" | "linearTeamId">;
6357
6956
  export declare type FavoriteFragment = {
6358
6957
  __typename?: "Favorite";
6359
6958
  } & Pick<Favorite, "updatedAt" | "folderName" | "sortOrder" | "archivedAt" | "createdAt" | "type" | "id"> & {
@@ -6363,6 +6962,9 @@ export declare type FavoriteFragment = {
6363
6962
  cycle?: Maybe<{
6364
6963
  __typename?: "Cycle";
6365
6964
  } & Pick<Cycle, "id">>;
6965
+ document?: Maybe<{
6966
+ __typename?: "Document";
6967
+ } & Pick<Document, "id">>;
6366
6968
  issue?: Maybe<{
6367
6969
  __typename?: "Issue";
6368
6970
  } & Pick<Issue, "id">>;
@@ -6385,6 +6987,13 @@ export declare type FavoriteFragment = {
6385
6987
  export declare type ViewPreferencesFragment = {
6386
6988
  __typename?: "ViewPreferences";
6387
6989
  } & Pick<ViewPreferences, "updatedAt" | "archivedAt" | "createdAt" | "id" | "type" | "viewType">;
6990
+ export declare type AuditEntryFragment = {
6991
+ __typename?: "AuditEntry";
6992
+ } & Pick<AuditEntry, "metadata" | "countryCode" | "ip" | "actorId" | "updatedAt" | "archivedAt" | "createdAt" | "id" | "type"> & {
6993
+ actor?: Maybe<{
6994
+ __typename?: "User";
6995
+ } & Pick<User, "id">>;
6996
+ };
6388
6997
  export declare type ZendeskSettingsFragment = {
6389
6998
  __typename?: "ZendeskSettings";
6390
6999
  } & Pick<ZendeskSettings, "botUserId" | "url" | "subdomain">;
@@ -6435,6 +7044,19 @@ export declare type AttachmentPayloadFragment = {
6435
7044
  __typename?: "Attachment";
6436
7045
  } & Pick<Attachment, "id">;
6437
7046
  };
7047
+ export declare type AuditEntryConnectionFragment = {
7048
+ __typename?: "AuditEntryConnection";
7049
+ } & {
7050
+ nodes: Array<{
7051
+ __typename?: "AuditEntry";
7052
+ } & AuditEntryFragment>;
7053
+ pageInfo: {
7054
+ __typename?: "PageInfo";
7055
+ } & PageInfoFragment;
7056
+ };
7057
+ export declare type AuditEntryTypeFragment = {
7058
+ __typename?: "AuditEntryType";
7059
+ } & Pick<AuditEntryType, "description" | "type">;
6438
7060
  export declare type AuthResolverResponseFragment = {
6439
7061
  __typename?: "AuthResolverResponse";
6440
7062
  } & Pick<AuthResolverResponse, "email" | "lastUsedOrganizationId" | "token" | "allowDomainAccess" | "id"> & {
@@ -6535,6 +7157,33 @@ export declare type CyclePayloadFragment = {
6535
7157
  export declare type DebugPayloadFragment = {
6536
7158
  __typename?: "DebugPayload";
6537
7159
  } & Pick<DebugPayload, "success">;
7160
+ export declare type DocumentConnectionFragment = {
7161
+ __typename?: "DocumentConnection";
7162
+ } & {
7163
+ nodes: Array<{
7164
+ __typename?: "Document";
7165
+ } & DocumentFragment>;
7166
+ pageInfo: {
7167
+ __typename?: "PageInfo";
7168
+ } & PageInfoFragment;
7169
+ };
7170
+ export declare type DocumentPayloadFragment = {
7171
+ __typename?: "DocumentPayload";
7172
+ } & Pick<DocumentPayload, "lastSyncId" | "success"> & {
7173
+ document: {
7174
+ __typename?: "Document";
7175
+ } & Pick<Document, "id">;
7176
+ };
7177
+ export declare type DocumentVersionConnectionFragment = {
7178
+ __typename?: "DocumentVersionConnection";
7179
+ } & {
7180
+ nodes: Array<{
7181
+ __typename?: "DocumentVersion";
7182
+ } & DocumentVersionFragment>;
7183
+ pageInfo: {
7184
+ __typename?: "PageInfo";
7185
+ } & PageInfoFragment;
7186
+ };
6538
7187
  export declare type EmailSubscribePayloadFragment = {
6539
7188
  __typename?: "EmailSubscribePayload";
6540
7189
  } & Pick<EmailSubscribePayload, "success">;
@@ -6591,6 +7240,16 @@ export declare type FigmaEmbedPayloadFragment = {
6591
7240
  __typename?: "FigmaEmbed";
6592
7241
  } & FigmaEmbedFragment>;
6593
7242
  };
7243
+ export declare type FrontAttachmentPayloadFragment = {
7244
+ __typename?: "FrontAttachmentPayload";
7245
+ } & Pick<FrontAttachmentPayload, "lastSyncId" | "success">;
7246
+ export declare type GitHubCommitIntegrationPayloadFragment = {
7247
+ __typename?: "GitHubCommitIntegrationPayload";
7248
+ } & Pick<GitHubCommitIntegrationPayload, "lastSyncId" | "webhookSecret" | "success"> & {
7249
+ integration?: Maybe<{
7250
+ __typename?: "Integration";
7251
+ } & Pick<Integration, "id">>;
7252
+ };
6594
7253
  export declare type ImageUploadFromUrlPayloadFragment = {
6595
7254
  __typename?: "ImageUploadFromUrlPayload";
6596
7255
  } & Pick<ImageUploadFromUrlPayload, "url" | "lastSyncId" | "success">;
@@ -6624,6 +7283,13 @@ export declare type IntegrationResourceConnectionFragment = {
6624
7283
  export declare type InvoiceFragment = {
6625
7284
  __typename?: "Invoice";
6626
7285
  } & Pick<Invoice, "url" | "created" | "dueDate" | "total" | "status">;
7286
+ export declare type IssueBatchPayloadFragment = {
7287
+ __typename?: "IssueBatchPayload";
7288
+ } & Pick<IssueBatchPayload, "lastSyncId" | "success"> & {
7289
+ issues: Array<{
7290
+ __typename?: "Issue";
7291
+ } & IssueFragment>;
7292
+ };
6627
7293
  export declare type IssueConnectionFragment = {
6628
7294
  __typename?: "IssueConnection";
6629
7295
  } & {
@@ -6897,13 +7563,6 @@ export declare type ReactionPayloadFragment = {
6897
7563
  export declare type RotateSecretPayloadFragment = {
6898
7564
  __typename?: "RotateSecretPayload";
6899
7565
  } & Pick<RotateSecretPayload, "lastSyncId" | "success">;
6900
- export declare type SearchResultPayloadFragment = {
6901
- __typename?: "SearchResultPayload";
6902
- } & Pick<SearchResultPayload, "issueIds" | "totalCount"> & {
6903
- archivePayload: {
6904
- __typename?: "ArchiveResponse";
6905
- } & ArchiveResponseFragment;
6906
- };
6907
7566
  export declare type SsoUrlFromEmailResponseFragment = {
6908
7567
  __typename?: "SsoUrlFromEmailResponse";
6909
7568
  } & Pick<SsoUrlFromEmailResponse, "samlSsoUrl" | "success">;
@@ -7050,6 +7709,22 @@ export declare type WorkflowStatePayloadFragment = {
7050
7709
  __typename?: "WorkflowState";
7051
7710
  } & Pick<WorkflowState, "id">;
7052
7711
  };
7712
+ export declare type AdministrableTeamsQueryVariables = Exact<{
7713
+ after?: Maybe<Scalars["String"]>;
7714
+ before?: Maybe<Scalars["String"]>;
7715
+ filter?: Maybe<TeamFilter>;
7716
+ first?: Maybe<Scalars["Int"]>;
7717
+ includeArchived?: Maybe<Scalars["Boolean"]>;
7718
+ last?: Maybe<Scalars["Int"]>;
7719
+ orderBy?: Maybe<PaginationOrderBy>;
7720
+ }>;
7721
+ export declare type AdministrableTeamsQuery = {
7722
+ __typename?: "Query";
7723
+ } & {
7724
+ administrableTeams: {
7725
+ __typename?: "TeamConnection";
7726
+ } & TeamConnectionFragment;
7727
+ };
7053
7728
  export declare type ApplicationWithAuthorizationQueryVariables = Exact<{
7054
7729
  clientId: Scalars["String"];
7055
7730
  redirectUri?: Maybe<Scalars["String"]>;
@@ -7280,6 +7955,32 @@ export declare type AttachmentsForUrlQuery = {
7280
7955
  __typename?: "AttachmentConnection";
7281
7956
  } & AttachmentConnectionFragment;
7282
7957
  };
7958
+ export declare type AuditEntriesQueryVariables = Exact<{
7959
+ after?: Maybe<Scalars["String"]>;
7960
+ before?: Maybe<Scalars["String"]>;
7961
+ filter?: Maybe<AuditEntryFilter>;
7962
+ first?: Maybe<Scalars["Int"]>;
7963
+ includeArchived?: Maybe<Scalars["Boolean"]>;
7964
+ last?: Maybe<Scalars["Int"]>;
7965
+ orderBy?: Maybe<PaginationOrderBy>;
7966
+ }>;
7967
+ export declare type AuditEntriesQuery = {
7968
+ __typename?: "Query";
7969
+ } & {
7970
+ auditEntries: {
7971
+ __typename?: "AuditEntryConnection";
7972
+ } & AuditEntryConnectionFragment;
7973
+ };
7974
+ export declare type AuditEntryTypesQueryVariables = Exact<{
7975
+ [key: string]: never;
7976
+ }>;
7977
+ export declare type AuditEntryTypesQuery = {
7978
+ __typename?: "Query";
7979
+ } & {
7980
+ auditEntryTypes: Array<{
7981
+ __typename?: "AuditEntryType";
7982
+ } & AuditEntryTypeFragment>;
7983
+ };
7283
7984
  export declare type AuthorizedApplicationsQueryVariables = Exact<{
7284
7985
  [key: string]: never;
7285
7986
  }>;
@@ -7471,6 +8172,31 @@ export declare type CyclesQuery = {
7471
8172
  __typename?: "CycleConnection";
7472
8173
  } & CycleConnectionFragment;
7473
8174
  };
8175
+ export declare type DocumentQueryVariables = Exact<{
8176
+ id: Scalars["String"];
8177
+ }>;
8178
+ export declare type DocumentQuery = {
8179
+ __typename?: "Query";
8180
+ } & {
8181
+ document: {
8182
+ __typename?: "Document";
8183
+ } & DocumentFragment;
8184
+ };
8185
+ export declare type DocumentsQueryVariables = Exact<{
8186
+ after?: Maybe<Scalars["String"]>;
8187
+ before?: Maybe<Scalars["String"]>;
8188
+ first?: Maybe<Scalars["Int"]>;
8189
+ includeArchived?: Maybe<Scalars["Boolean"]>;
8190
+ last?: Maybe<Scalars["Int"]>;
8191
+ orderBy?: Maybe<PaginationOrderBy>;
8192
+ }>;
8193
+ export declare type DocumentsQuery = {
8194
+ __typename?: "Query";
8195
+ } & {
8196
+ documents: {
8197
+ __typename?: "DocumentConnection";
8198
+ } & DocumentConnectionFragment;
8199
+ };
7474
8200
  export declare type EmojiQueryVariables = Exact<{
7475
8201
  id: Scalars["String"];
7476
8202
  }>;
@@ -8019,6 +8745,26 @@ export declare type Organization_IntegrationsQuery = {
8019
8745
  } & IntegrationConnectionFragment;
8020
8746
  };
8021
8747
  };
8748
+ export declare type Organization_LabelsQueryVariables = Exact<{
8749
+ after?: Maybe<Scalars["String"]>;
8750
+ before?: Maybe<Scalars["String"]>;
8751
+ filter?: Maybe<IssueLabelFilter>;
8752
+ first?: Maybe<Scalars["Int"]>;
8753
+ includeArchived?: Maybe<Scalars["Boolean"]>;
8754
+ last?: Maybe<Scalars["Int"]>;
8755
+ orderBy?: Maybe<PaginationOrderBy>;
8756
+ }>;
8757
+ export declare type Organization_LabelsQuery = {
8758
+ __typename?: "Query";
8759
+ } & {
8760
+ organization: {
8761
+ __typename?: "Organization";
8762
+ } & {
8763
+ labels: {
8764
+ __typename?: "IssueLabelConnection";
8765
+ } & IssueLabelConnectionFragment;
8766
+ };
8767
+ };
8022
8768
  export declare type Organization_MilestonesQueryVariables = Exact<{
8023
8769
  after?: Maybe<Scalars["String"]>;
8024
8770
  before?: Maybe<Scalars["String"]>;
@@ -8059,6 +8805,25 @@ export declare type Organization_TeamsQuery = {
8059
8805
  } & TeamConnectionFragment;
8060
8806
  };
8061
8807
  };
8808
+ export declare type Organization_TemplatesQueryVariables = Exact<{
8809
+ after?: Maybe<Scalars["String"]>;
8810
+ before?: Maybe<Scalars["String"]>;
8811
+ first?: Maybe<Scalars["Int"]>;
8812
+ includeArchived?: Maybe<Scalars["Boolean"]>;
8813
+ last?: Maybe<Scalars["Int"]>;
8814
+ orderBy?: Maybe<PaginationOrderBy>;
8815
+ }>;
8816
+ export declare type Organization_TemplatesQuery = {
8817
+ __typename?: "Query";
8818
+ } & {
8819
+ organization: {
8820
+ __typename?: "Organization";
8821
+ } & {
8822
+ templates: {
8823
+ __typename?: "TemplateConnection";
8824
+ } & TemplateConnectionFragment;
8825
+ };
8826
+ };
8062
8827
  export declare type Organization_UsersQueryVariables = Exact<{
8063
8828
  after?: Maybe<Scalars["String"]>;
8064
8829
  before?: Maybe<Scalars["String"]>;
@@ -8134,6 +8899,26 @@ export declare type ProjectQuery = {
8134
8899
  __typename?: "Project";
8135
8900
  } & ProjectFragment;
8136
8901
  };
8902
+ export declare type Project_DocumentsQueryVariables = Exact<{
8903
+ id: Scalars["String"];
8904
+ after?: Maybe<Scalars["String"]>;
8905
+ before?: Maybe<Scalars["String"]>;
8906
+ first?: Maybe<Scalars["Int"]>;
8907
+ includeArchived?: Maybe<Scalars["Boolean"]>;
8908
+ last?: Maybe<Scalars["Int"]>;
8909
+ orderBy?: Maybe<PaginationOrderBy>;
8910
+ }>;
8911
+ export declare type Project_DocumentsQuery = {
8912
+ __typename?: "Query";
8913
+ } & {
8914
+ project: {
8915
+ __typename?: "Project";
8916
+ } & {
8917
+ documents: {
8918
+ __typename?: "DocumentConnection";
8919
+ } & DocumentConnectionFragment;
8920
+ };
8921
+ };
8137
8922
  export declare type Project_IssuesQueryVariables = Exact<{
8138
8923
  id: Scalars["String"];
8139
8924
  after?: Maybe<Scalars["String"]>;
@@ -8892,8 +9677,8 @@ export declare type AttachmentLinkFrontMutation = {
8892
9677
  __typename?: "Mutation";
8893
9678
  } & {
8894
9679
  attachmentLinkFront: {
8895
- __typename?: "AttachmentPayload";
8896
- } & AttachmentPayloadFragment;
9680
+ __typename?: "FrontAttachmentPayload";
9681
+ } & FrontAttachmentPayloadFragment;
8897
9682
  };
8898
9683
  export declare type AttachmentLinkIntercomMutationVariables = Exact<{
8899
9684
  conversationId: Scalars["String"];
@@ -8906,6 +9691,17 @@ export declare type AttachmentLinkIntercomMutation = {
8906
9691
  __typename?: "AttachmentPayload";
8907
9692
  } & AttachmentPayloadFragment;
8908
9693
  };
9694
+ export declare type AttachmentLinkJiraIssueMutationVariables = Exact<{
9695
+ issueId: Scalars["String"];
9696
+ jiraIssueId: Scalars["String"];
9697
+ }>;
9698
+ export declare type AttachmentLinkJiraIssueMutation = {
9699
+ __typename?: "Mutation";
9700
+ } & {
9701
+ attachmentLinkJiraIssue: {
9702
+ __typename?: "AttachmentPayload";
9703
+ } & AttachmentPayloadFragment;
9704
+ };
8909
9705
  export declare type AttachmentLinkUrlMutationVariables = Exact<{
8910
9706
  issueId: Scalars["String"];
8911
9707
  title?: Maybe<Scalars["String"]>;
@@ -9084,45 +9880,46 @@ export declare type CycleUpdateMutation = {
9084
9880
  __typename?: "CyclePayload";
9085
9881
  } & CyclePayloadFragment;
9086
9882
  };
9087
- export declare type DebugCreateOAuthAppsMutationVariables = Exact<{
9883
+ export declare type DebugFailWithInternalErrorMutationVariables = Exact<{
9088
9884
  [key: string]: never;
9089
9885
  }>;
9090
- export declare type DebugCreateOAuthAppsMutation = {
9886
+ export declare type DebugFailWithInternalErrorMutation = {
9091
9887
  __typename?: "Mutation";
9092
9888
  } & {
9093
- debugCreateOAuthApps: {
9889
+ debugFailWithInternalError: {
9094
9890
  __typename?: "DebugPayload";
9095
9891
  } & DebugPayloadFragment;
9096
9892
  };
9097
- export declare type DebugCreateSamlOrgMutationVariables = Exact<{
9098
- [key: string]: never;
9893
+ export declare type DocumentCreateMutationVariables = Exact<{
9894
+ input: DocumentCreateInput;
9099
9895
  }>;
9100
- export declare type DebugCreateSamlOrgMutation = {
9896
+ export declare type DocumentCreateMutation = {
9101
9897
  __typename?: "Mutation";
9102
9898
  } & {
9103
- debugCreateSAMLOrg: {
9104
- __typename?: "DebugPayload";
9105
- } & DebugPayloadFragment;
9899
+ documentCreate: {
9900
+ __typename?: "DocumentPayload";
9901
+ } & DocumentPayloadFragment;
9106
9902
  };
9107
- export declare type DebugFailWithInternalErrorMutationVariables = Exact<{
9108
- [key: string]: never;
9903
+ export declare type DocumentDeleteMutationVariables = Exact<{
9904
+ id: Scalars["String"];
9109
9905
  }>;
9110
- export declare type DebugFailWithInternalErrorMutation = {
9906
+ export declare type DocumentDeleteMutation = {
9111
9907
  __typename?: "Mutation";
9112
9908
  } & {
9113
- debugFailWithInternalError: {
9114
- __typename?: "DebugPayload";
9115
- } & DebugPayloadFragment;
9909
+ documentDelete: {
9910
+ __typename?: "ArchivePayload";
9911
+ } & ArchivePayloadFragment;
9116
9912
  };
9117
- export declare type DebugFailWithWarningMutationVariables = Exact<{
9118
- [key: string]: never;
9913
+ export declare type DocumentUpdateMutationVariables = Exact<{
9914
+ id: Scalars["String"];
9915
+ input: DocumentUpdateInput;
9119
9916
  }>;
9120
- export declare type DebugFailWithWarningMutation = {
9917
+ export declare type DocumentUpdateMutation = {
9121
9918
  __typename?: "Mutation";
9122
9919
  } & {
9123
- debugFailWithWarning: {
9124
- __typename?: "DebugPayload";
9125
- } & DebugPayloadFragment;
9920
+ documentUpdate: {
9921
+ __typename?: "DocumentPayload";
9922
+ } & DocumentPayloadFragment;
9126
9923
  };
9127
9924
  export declare type EmailSubscribeMutationVariables = Exact<{
9128
9925
  input: EmailSubscribeInput;
@@ -9300,6 +10097,16 @@ export declare type IntegrationFrontMutation = {
9300
10097
  __typename?: "IntegrationPayload";
9301
10098
  } & IntegrationPayloadFragment;
9302
10099
  };
10100
+ export declare type IntegrationGithubCommitCreateMutationVariables = Exact<{
10101
+ [key: string]: never;
10102
+ }>;
10103
+ export declare type IntegrationGithubCommitCreateMutation = {
10104
+ __typename?: "Mutation";
10105
+ } & {
10106
+ integrationGithubCommitCreate: {
10107
+ __typename?: "GitHubCommitIntegrationPayload";
10108
+ } & GitHubCommitIntegrationPayloadFragment;
10109
+ };
9303
10110
  export declare type IntegrationGithubConnectMutationVariables = Exact<{
9304
10111
  installationId: Scalars["String"];
9305
10112
  }>;
@@ -9394,6 +10201,17 @@ export declare type IntegrationSentryConnectMutation = {
9394
10201
  __typename?: "IntegrationPayload";
9395
10202
  } & IntegrationPayloadFragment;
9396
10203
  };
10204
+ export declare type IntegrationSettingsUpdateMutationVariables = Exact<{
10205
+ id: Scalars["String"];
10206
+ input: IntegrationSettingsInput;
10207
+ }>;
10208
+ export declare type IntegrationSettingsUpdateMutation = {
10209
+ __typename?: "Mutation";
10210
+ } & {
10211
+ integrationSettingsUpdate: {
10212
+ __typename?: "IntegrationPayload";
10213
+ } & IntegrationPayloadFragment;
10214
+ };
9397
10215
  export declare type IntegrationSlackMutationVariables = Exact<{
9398
10216
  code: Scalars["String"];
9399
10217
  redirectUri: Scalars["String"];
@@ -9477,6 +10295,17 @@ export declare type IssueArchiveMutation = {
9477
10295
  __typename?: "ArchivePayload";
9478
10296
  } & ArchivePayloadFragment;
9479
10297
  };
10298
+ export declare type IssueBatchUpdateMutationVariables = Exact<{
10299
+ ids: Array<Scalars["UUID"]> | Scalars["UUID"];
10300
+ input: IssueUpdateInput;
10301
+ }>;
10302
+ export declare type IssueBatchUpdateMutation = {
10303
+ __typename?: "Mutation";
10304
+ } & {
10305
+ issueBatchUpdate: {
10306
+ __typename?: "IssueBatchPayload";
10307
+ } & IssueBatchPayloadFragment;
10308
+ };
9480
10309
  export declare type IssueCreateMutationVariables = Exact<{
9481
10310
  input: IssueCreateInput;
9482
10311
  }>;
@@ -9501,6 +10330,7 @@ export declare type IssueImportCreateAsanaMutationVariables = Exact<{
9501
10330
  asanaTeamName: Scalars["String"];
9502
10331
  asanaToken: Scalars["String"];
9503
10332
  id?: Maybe<Scalars["String"]>;
10333
+ includeClosedIssues?: Maybe<Scalars["Boolean"]>;
9504
10334
  instantProcess?: Maybe<Scalars["Boolean"]>;
9505
10335
  teamId: Scalars["String"];
9506
10336
  }>;
@@ -9515,6 +10345,7 @@ export declare type IssueImportCreateClubhouseMutationVariables = Exact<{
9515
10345
  clubhouseTeamName: Scalars["String"];
9516
10346
  clubhouseToken: Scalars["String"];
9517
10347
  id?: Maybe<Scalars["String"]>;
10348
+ includeClosedIssues?: Maybe<Scalars["Boolean"]>;
9518
10349
  instantProcess?: Maybe<Scalars["Boolean"]>;
9519
10350
  teamId: Scalars["String"];
9520
10351
  }>;
@@ -9531,6 +10362,7 @@ export declare type IssueImportCreateGithubMutationVariables = Exact<{
9531
10362
  githubShouldImportOrgProjects?: Maybe<Scalars["Boolean"]>;
9532
10363
  githubToken: Scalars["String"];
9533
10364
  id?: Maybe<Scalars["String"]>;
10365
+ includeClosedIssues?: Maybe<Scalars["Boolean"]>;
9534
10366
  instantProcess?: Maybe<Scalars["Boolean"]>;
9535
10367
  teamId: Scalars["String"];
9536
10368
  }>;
@@ -9543,6 +10375,7 @@ export declare type IssueImportCreateGithubMutation = {
9543
10375
  };
9544
10376
  export declare type IssueImportCreateJiraMutationVariables = Exact<{
9545
10377
  id?: Maybe<Scalars["String"]>;
10378
+ includeClosedIssues?: Maybe<Scalars["Boolean"]>;
9546
10379
  instantProcess?: Maybe<Scalars["Boolean"]>;
9547
10380
  jiraEmail: Scalars["String"];
9548
10381
  jiraHostname: Scalars["String"];
@@ -9601,6 +10434,7 @@ export declare type IssueLabelArchiveMutation = {
9601
10434
  };
9602
10435
  export declare type IssueLabelCreateMutationVariables = Exact<{
9603
10436
  input: IssueLabelCreateInput;
10437
+ replaceTeamLabels?: Maybe<Scalars["Boolean"]>;
9604
10438
  }>;
9605
10439
  export declare type IssueLabelCreateMutation = {
9606
10440
  __typename?: "Mutation";
@@ -9672,6 +10506,16 @@ export declare type IssueUpdateMutation = {
9672
10506
  __typename?: "IssuePayload";
9673
10507
  } & IssuePayloadFragment;
9674
10508
  };
10509
+ export declare type JiraIntegrationConnectMutationVariables = Exact<{
10510
+ input: JiraConfigurationInput;
10511
+ }>;
10512
+ export declare type JiraIntegrationConnectMutation = {
10513
+ __typename?: "Mutation";
10514
+ } & {
10515
+ jiraIntegrationConnect: {
10516
+ __typename?: "IntegrationPayload";
10517
+ } & IntegrationPayloadFragment;
10518
+ };
9675
10519
  export declare type JoinOrganizationFromOnboardingMutationVariables = Exact<{
9676
10520
  input: JoinOrganizationInput;
9677
10521
  }>;
@@ -9967,6 +10811,17 @@ export declare type ProjectLinkDeleteMutation = {
9967
10811
  __typename?: "ArchivePayload";
9968
10812
  } & ArchivePayloadFragment;
9969
10813
  };
10814
+ export declare type ProjectLinkUpdateMutationVariables = Exact<{
10815
+ id: Scalars["String"];
10816
+ input: ProjectLinkUpdateInput;
10817
+ }>;
10818
+ export declare type ProjectLinkUpdateMutation = {
10819
+ __typename?: "Mutation";
10820
+ } & {
10821
+ projectLinkUpdate: {
10822
+ __typename?: "ProjectLinkPayload";
10823
+ } & ProjectLinkPayloadFragment;
10824
+ };
9970
10825
  export declare type ProjectUnarchiveMutationVariables = Exact<{
9971
10826
  id: Scalars["String"];
9972
10827
  }>;
@@ -10058,59 +10913,6 @@ export declare type SamlTokenUserAccountAuthMutation = {
10058
10913
  __typename?: "AuthResolverResponse";
10059
10914
  } & AuthResolverResponseFragment;
10060
10915
  };
10061
- export declare type SubscriptionArchiveMutationVariables = Exact<{
10062
- id: Scalars["String"];
10063
- }>;
10064
- export declare type SubscriptionArchiveMutation = {
10065
- __typename?: "Mutation";
10066
- } & {
10067
- subscriptionArchive: {
10068
- __typename?: "ArchivePayload";
10069
- } & ArchivePayloadFragment;
10070
- };
10071
- export declare type SubscriptionSessionCreateMutationVariables = Exact<{
10072
- coupon?: Maybe<Scalars["String"]>;
10073
- plan: Scalars["String"];
10074
- }>;
10075
- export declare type SubscriptionSessionCreateMutation = {
10076
- __typename?: "Mutation";
10077
- } & {
10078
- subscriptionSessionCreate: {
10079
- __typename?: "SubscriptionSessionPayload";
10080
- } & SubscriptionSessionPayloadFragment;
10081
- };
10082
- export declare type SubscriptionUpdateMutationVariables = Exact<{
10083
- id: Scalars["String"];
10084
- input: SubscriptionUpdateInput;
10085
- }>;
10086
- export declare type SubscriptionUpdateMutation = {
10087
- __typename?: "Mutation";
10088
- } & {
10089
- subscriptionUpdate: {
10090
- __typename?: "SubscriptionPayload";
10091
- } & SubscriptionPayloadFragment;
10092
- };
10093
- export declare type SubscriptionUpdateSessionCreateMutationVariables = Exact<{
10094
- [key: string]: never;
10095
- }>;
10096
- export declare type SubscriptionUpdateSessionCreateMutation = {
10097
- __typename?: "Mutation";
10098
- } & {
10099
- subscriptionUpdateSessionCreate: {
10100
- __typename?: "SubscriptionSessionPayload";
10101
- } & SubscriptionSessionPayloadFragment;
10102
- };
10103
- export declare type SubscriptionUpgradeMutationVariables = Exact<{
10104
- id: Scalars["String"];
10105
- type: Scalars["String"];
10106
- }>;
10107
- export declare type SubscriptionUpgradeMutation = {
10108
- __typename?: "Mutation";
10109
- } & {
10110
- subscriptionUpgrade: {
10111
- __typename?: "SubscriptionPayload";
10112
- } & SubscriptionPayloadFragment;
10113
- };
10114
10916
  export declare type TeamCreateMutationVariables = Exact<{
10115
10917
  copySettingsFromTeamId?: Maybe<Scalars["String"]>;
10116
10918
  input: TeamCreateInput;
@@ -10417,7 +11219,9 @@ export declare const UserAccountFragmentDoc: DocumentNode<UserAccountFragment, u
10417
11219
  export declare const DocumentStepFragmentDoc: DocumentNode<DocumentStepFragment, unknown>;
10418
11220
  export declare const SyncDeltaResponseFragmentDoc: DocumentNode<SyncDeltaResponseFragment, unknown>;
10419
11221
  export declare const SyncResponseFragmentDoc: DocumentNode<SyncResponseFragment, unknown>;
11222
+ export declare const ArchiveResponseFragmentDoc: DocumentNode<ArchiveResponseFragment, unknown>;
10420
11223
  export declare const DependencyResponseFragmentDoc: DocumentNode<DependencyResponseFragment, unknown>;
11224
+ export declare const SyncBatchResponseFragmentDoc: DocumentNode<SyncBatchResponseFragment, unknown>;
10421
11225
  export declare const GithubRepoFragmentDoc: DocumentNode<GithubRepoFragment, unknown>;
10422
11226
  export declare const GithubOrgFragmentDoc: DocumentNode<GithubOrgFragment, unknown>;
10423
11227
  export declare const GithubOAuthTokenPayloadFragmentDoc: DocumentNode<GithubOAuthTokenPayloadFragment, unknown>;
@@ -10426,6 +11230,9 @@ export declare const UserAuthorizedApplicationFragmentDoc: DocumentNode<UserAuth
10426
11230
  export declare const ApplicationFragmentDoc: DocumentNode<ApplicationFragment, unknown>;
10427
11231
  export declare const GoogleSheetsSettingsFragmentDoc: DocumentNode<GoogleSheetsSettingsFragment, unknown>;
10428
11232
  export declare const IntercomSettingsFragmentDoc: DocumentNode<IntercomSettingsFragment, unknown>;
11233
+ export declare const JiraProjectDataFragmentDoc: DocumentNode<JiraProjectDataFragment, unknown>;
11234
+ export declare const JiraLinearMappingFragmentDoc: DocumentNode<JiraLinearMappingFragment, unknown>;
11235
+ export declare const JiraSettingsFragmentDoc: DocumentNode<JiraSettingsFragment, unknown>;
10429
11236
  export declare const SentrySettingsFragmentDoc: DocumentNode<SentrySettingsFragment, unknown>;
10430
11237
  export declare const SlackPostSettingsFragmentDoc: DocumentNode<SlackPostSettingsFragment, unknown>;
10431
11238
  export declare const ZendeskSettingsFragmentDoc: DocumentNode<ZendeskSettingsFragment, unknown>;
@@ -10441,6 +11248,9 @@ export declare const ArchivePayloadFragmentDoc: DocumentNode<ArchivePayloadFragm
10441
11248
  export declare const AttachmentFragmentDoc: DocumentNode<AttachmentFragment, unknown>;
10442
11249
  export declare const AttachmentConnectionFragmentDoc: DocumentNode<AttachmentConnectionFragment, unknown>;
10443
11250
  export declare const AttachmentPayloadFragmentDoc: DocumentNode<AttachmentPayloadFragment, unknown>;
11251
+ export declare const AuditEntryFragmentDoc: DocumentNode<AuditEntryFragment, unknown>;
11252
+ export declare const AuditEntryConnectionFragmentDoc: DocumentNode<AuditEntryConnectionFragment, unknown>;
11253
+ export declare const AuditEntryTypeFragmentDoc: DocumentNode<AuditEntryTypeFragment, unknown>;
10444
11254
  export declare const OrganizationFragmentDoc: DocumentNode<OrganizationFragment, unknown>;
10445
11255
  export declare const AuthResolverResponseFragmentDoc: DocumentNode<AuthResolverResponseFragment, unknown>;
10446
11256
  export declare const InvoiceFragmentDoc: DocumentNode<InvoiceFragment, unknown>;
@@ -10462,6 +11272,11 @@ export declare const CycleFragmentDoc: DocumentNode<CycleFragment, unknown>;
10462
11272
  export declare const CycleConnectionFragmentDoc: DocumentNode<CycleConnectionFragment, unknown>;
10463
11273
  export declare const CyclePayloadFragmentDoc: DocumentNode<CyclePayloadFragment, unknown>;
10464
11274
  export declare const DebugPayloadFragmentDoc: DocumentNode<DebugPayloadFragment, unknown>;
11275
+ export declare const DocumentFragmentDoc: DocumentNode<DocumentFragment, unknown>;
11276
+ export declare const DocumentConnectionFragmentDoc: DocumentNode<DocumentConnectionFragment, unknown>;
11277
+ export declare const DocumentPayloadFragmentDoc: DocumentNode<DocumentPayloadFragment, unknown>;
11278
+ export declare const DocumentVersionFragmentDoc: DocumentNode<DocumentVersionFragment, unknown>;
11279
+ export declare const DocumentVersionConnectionFragmentDoc: DocumentNode<DocumentVersionConnectionFragment, unknown>;
10465
11280
  export declare const EmailSubscribePayloadFragmentDoc: DocumentNode<EmailSubscribePayloadFragment, unknown>;
10466
11281
  export declare const EmailUnsubscribePayloadFragmentDoc: DocumentNode<EmailUnsubscribePayloadFragment, unknown>;
10467
11282
  export declare const EmailUserAccountAuthChallengeResponseFragmentDoc: DocumentNode<EmailUserAccountAuthChallengeResponseFragment, unknown>;
@@ -10475,6 +11290,8 @@ export declare const FavoritePayloadFragmentDoc: DocumentNode<FavoritePayloadFra
10475
11290
  export declare const FeedbackPayloadFragmentDoc: DocumentNode<FeedbackPayloadFragment, unknown>;
10476
11291
  export declare const FigmaEmbedFragmentDoc: DocumentNode<FigmaEmbedFragment, unknown>;
10477
11292
  export declare const FigmaEmbedPayloadFragmentDoc: DocumentNode<FigmaEmbedPayloadFragment, unknown>;
11293
+ export declare const FrontAttachmentPayloadFragmentDoc: DocumentNode<FrontAttachmentPayloadFragment, unknown>;
11294
+ export declare const GitHubCommitIntegrationPayloadFragmentDoc: DocumentNode<GitHubCommitIntegrationPayloadFragment, unknown>;
10478
11295
  export declare const ImageUploadFromUrlPayloadFragmentDoc: DocumentNode<ImageUploadFromUrlPayloadFragment, unknown>;
10479
11296
  export declare const IntegrationFragmentDoc: DocumentNode<IntegrationFragment, unknown>;
10480
11297
  export declare const IntegrationConnectionFragmentDoc: DocumentNode<IntegrationConnectionFragment, unknown>;
@@ -10486,6 +11303,7 @@ export declare const IntegrationResourceDataFragmentDoc: DocumentNode<Integratio
10486
11303
  export declare const IntegrationResourceFragmentDoc: DocumentNode<IntegrationResourceFragment, unknown>;
10487
11304
  export declare const IntegrationResourceConnectionFragmentDoc: DocumentNode<IntegrationResourceConnectionFragment, unknown>;
10488
11305
  export declare const IssueFragmentDoc: DocumentNode<IssueFragment, unknown>;
11306
+ export declare const IssueBatchPayloadFragmentDoc: DocumentNode<IssueBatchPayloadFragment, unknown>;
10489
11307
  export declare const IssueConnectionFragmentDoc: DocumentNode<IssueConnectionFragment, unknown>;
10490
11308
  export declare const IssueDescriptionHistoryFragmentDoc: DocumentNode<IssueDescriptionHistoryFragment, unknown>;
10491
11309
  export declare const IssueDescriptionHistoryPayloadFragmentDoc: DocumentNode<IssueDescriptionHistoryPayloadFragment, unknown>;
@@ -10543,8 +11361,6 @@ export declare const ReactionFragmentDoc: DocumentNode<ReactionFragment, unknown
10543
11361
  export declare const ReactionConnectionFragmentDoc: DocumentNode<ReactionConnectionFragment, unknown>;
10544
11362
  export declare const ReactionPayloadFragmentDoc: DocumentNode<ReactionPayloadFragment, unknown>;
10545
11363
  export declare const RotateSecretPayloadFragmentDoc: DocumentNode<RotateSecretPayloadFragment, unknown>;
10546
- export declare const ArchiveResponseFragmentDoc: DocumentNode<ArchiveResponseFragment, unknown>;
10547
- export declare const SearchResultPayloadFragmentDoc: DocumentNode<SearchResultPayloadFragment, unknown>;
10548
11364
  export declare const SsoUrlFromEmailResponseFragmentDoc: DocumentNode<SsoUrlFromEmailResponseFragment, unknown>;
10549
11365
  export declare const SubscriptionPayloadFragmentDoc: DocumentNode<SubscriptionPayloadFragment, unknown>;
10550
11366
  export declare const SubscriptionSessionPayloadFragmentDoc: DocumentNode<SubscriptionSessionPayloadFragment, unknown>;
@@ -10575,6 +11391,15 @@ export declare const WebhookPayloadFragmentDoc: DocumentNode<WebhookPayloadFragm
10575
11391
  export declare const WorkflowStateFragmentDoc: DocumentNode<WorkflowStateFragment, unknown>;
10576
11392
  export declare const WorkflowStateConnectionFragmentDoc: DocumentNode<WorkflowStateConnectionFragment, unknown>;
10577
11393
  export declare const WorkflowStatePayloadFragmentDoc: DocumentNode<WorkflowStatePayloadFragment, unknown>;
11394
+ export declare const AdministrableTeamsDocument: DocumentNode<AdministrableTeamsQuery, Exact<{
11395
+ after?: Maybe<string> | undefined;
11396
+ before?: Maybe<string> | undefined;
11397
+ filter?: Maybe<TeamFilter> | undefined;
11398
+ first?: Maybe<number> | undefined;
11399
+ includeArchived?: Maybe<boolean> | undefined;
11400
+ last?: Maybe<number> | undefined;
11401
+ orderBy?: Maybe<PaginationOrderBy> | undefined;
11402
+ }>>;
10578
11403
  export declare const ApplicationWithAuthorizationDocument: DocumentNode<ApplicationWithAuthorizationQuery, Exact<{
10579
11404
  clientId: Scalars["String"];
10580
11405
  redirectUri?: Maybe<string> | undefined;
@@ -10682,6 +11507,18 @@ export declare const AttachmentsForUrlDocument: DocumentNode<AttachmentsForUrlQu
10682
11507
  orderBy?: Maybe<PaginationOrderBy> | undefined;
10683
11508
  url: Scalars["String"];
10684
11509
  }>>;
11510
+ export declare const AuditEntriesDocument: DocumentNode<AuditEntriesQuery, Exact<{
11511
+ after?: Maybe<string> | undefined;
11512
+ before?: Maybe<string> | undefined;
11513
+ filter?: Maybe<AuditEntryFilter> | undefined;
11514
+ first?: Maybe<number> | undefined;
11515
+ includeArchived?: Maybe<boolean> | undefined;
11516
+ last?: Maybe<number> | undefined;
11517
+ orderBy?: Maybe<PaginationOrderBy> | undefined;
11518
+ }>>;
11519
+ export declare const AuditEntryTypesDocument: DocumentNode<AuditEntryTypesQuery, Exact<{
11520
+ [key: string]: never;
11521
+ }>>;
10685
11522
  export declare const AuthorizedApplicationsDocument: DocumentNode<AuthorizedApplicationsQuery, Exact<{
10686
11523
  [key: string]: never;
10687
11524
  }>>;
@@ -10759,6 +11596,17 @@ export declare const CyclesDocument: DocumentNode<CyclesQuery, Exact<{
10759
11596
  last?: Maybe<number> | undefined;
10760
11597
  orderBy?: Maybe<PaginationOrderBy> | undefined;
10761
11598
  }>>;
11599
+ export declare const DocumentDocument: DocumentNode<DocumentQuery, Exact<{
11600
+ id: Scalars["String"];
11601
+ }>>;
11602
+ export declare const DocumentsDocument: DocumentNode<DocumentsQuery, Exact<{
11603
+ after?: Maybe<string> | undefined;
11604
+ before?: Maybe<string> | undefined;
11605
+ first?: Maybe<number> | undefined;
11606
+ includeArchived?: Maybe<boolean> | undefined;
11607
+ last?: Maybe<number> | undefined;
11608
+ orderBy?: Maybe<PaginationOrderBy> | undefined;
11609
+ }>>;
10762
11610
  export declare const EmojiDocument: DocumentNode<EmojiQuery, Exact<{
10763
11611
  id: Scalars["String"];
10764
11612
  }>>;
@@ -11003,6 +11851,15 @@ export declare const Organization_IntegrationsDocument: DocumentNode<Organizatio
11003
11851
  last?: Maybe<number> | undefined;
11004
11852
  orderBy?: Maybe<PaginationOrderBy> | undefined;
11005
11853
  }>>;
11854
+ export declare const Organization_LabelsDocument: DocumentNode<Organization_LabelsQuery, Exact<{
11855
+ after?: Maybe<string> | undefined;
11856
+ before?: Maybe<string> | undefined;
11857
+ filter?: Maybe<IssueLabelFilter> | undefined;
11858
+ first?: Maybe<number> | undefined;
11859
+ includeArchived?: Maybe<boolean> | undefined;
11860
+ last?: Maybe<number> | undefined;
11861
+ orderBy?: Maybe<PaginationOrderBy> | undefined;
11862
+ }>>;
11006
11863
  export declare const Organization_MilestonesDocument: DocumentNode<Organization_MilestonesQuery, Exact<{
11007
11864
  after?: Maybe<string> | undefined;
11008
11865
  before?: Maybe<string> | undefined;
@@ -11021,6 +11878,14 @@ export declare const Organization_TeamsDocument: DocumentNode<Organization_Teams
11021
11878
  last?: Maybe<number> | undefined;
11022
11879
  orderBy?: Maybe<PaginationOrderBy> | undefined;
11023
11880
  }>>;
11881
+ export declare const Organization_TemplatesDocument: DocumentNode<Organization_TemplatesQuery, Exact<{
11882
+ after?: Maybe<string> | undefined;
11883
+ before?: Maybe<string> | undefined;
11884
+ first?: Maybe<number> | undefined;
11885
+ includeArchived?: Maybe<boolean> | undefined;
11886
+ last?: Maybe<number> | undefined;
11887
+ orderBy?: Maybe<PaginationOrderBy> | undefined;
11888
+ }>>;
11024
11889
  export declare const Organization_UsersDocument: DocumentNode<Organization_UsersQuery, Exact<{
11025
11890
  after?: Maybe<string> | undefined;
11026
11891
  before?: Maybe<string> | undefined;
@@ -11050,6 +11915,15 @@ export declare const OrganizationInvitesDocument: DocumentNode<OrganizationInvit
11050
11915
  export declare const ProjectDocument: DocumentNode<ProjectQuery, Exact<{
11051
11916
  id: Scalars["String"];
11052
11917
  }>>;
11918
+ export declare const Project_DocumentsDocument: DocumentNode<Project_DocumentsQuery, Exact<{
11919
+ id: Scalars["String"];
11920
+ after?: Maybe<string> | undefined;
11921
+ before?: Maybe<string> | undefined;
11922
+ first?: Maybe<number> | undefined;
11923
+ includeArchived?: Maybe<boolean> | undefined;
11924
+ last?: Maybe<number> | undefined;
11925
+ orderBy?: Maybe<PaginationOrderBy> | undefined;
11926
+ }>>;
11053
11927
  export declare const Project_IssuesDocument: DocumentNode<Project_IssuesQuery, Exact<{
11054
11928
  id: Scalars["String"];
11055
11929
  after?: Maybe<string> | undefined;
@@ -11391,6 +12265,10 @@ export declare const AttachmentLinkIntercomDocument: DocumentNode<AttachmentLink
11391
12265
  conversationId: Scalars["String"];
11392
12266
  issueId: Scalars["String"];
11393
12267
  }>>;
12268
+ export declare const AttachmentLinkJiraIssueDocument: DocumentNode<AttachmentLinkJiraIssueMutation, Exact<{
12269
+ issueId: Scalars["String"];
12270
+ jiraIssueId: Scalars["String"];
12271
+ }>>;
11394
12272
  export declare const AttachmentLinkUrlDocument: DocumentNode<AttachmentLinkUrlMutation, Exact<{
11395
12273
  issueId: Scalars["String"];
11396
12274
  title?: Maybe<string> | undefined;
@@ -11450,17 +12328,18 @@ export declare const CycleUpdateDocument: DocumentNode<CycleUpdateMutation, Exac
11450
12328
  id: Scalars["String"];
11451
12329
  input: CycleUpdateInput;
11452
12330
  }>>;
11453
- export declare const DebugCreateOAuthAppsDocument: DocumentNode<DebugCreateOAuthAppsMutation, Exact<{
12331
+ export declare const DebugFailWithInternalErrorDocument: DocumentNode<DebugFailWithInternalErrorMutation, Exact<{
11454
12332
  [key: string]: never;
11455
12333
  }>>;
11456
- export declare const DebugCreateSamlOrgDocument: DocumentNode<DebugCreateSamlOrgMutation, Exact<{
11457
- [key: string]: never;
12334
+ export declare const DocumentCreateDocument: DocumentNode<DocumentCreateMutation, Exact<{
12335
+ input: DocumentCreateInput;
11458
12336
  }>>;
11459
- export declare const DebugFailWithInternalErrorDocument: DocumentNode<DebugFailWithInternalErrorMutation, Exact<{
11460
- [key: string]: never;
12337
+ export declare const DocumentDeleteDocument: DocumentNode<DocumentDeleteMutation, Exact<{
12338
+ id: Scalars["String"];
11461
12339
  }>>;
11462
- export declare const DebugFailWithWarningDocument: DocumentNode<DebugFailWithWarningMutation, Exact<{
11463
- [key: string]: never;
12340
+ export declare const DocumentUpdateDocument: DocumentNode<DocumentUpdateMutation, Exact<{
12341
+ id: Scalars["String"];
12342
+ input: DocumentUpdateInput;
11464
12343
  }>>;
11465
12344
  export declare const EmailSubscribeDocument: DocumentNode<EmailSubscribeMutation, Exact<{
11466
12345
  input: EmailSubscribeInput;
@@ -11519,6 +12398,9 @@ export declare const IntegrationFrontDocument: DocumentNode<IntegrationFrontMuta
11519
12398
  code: Scalars["String"];
11520
12399
  redirectUri: Scalars["String"];
11521
12400
  }>>;
12401
+ export declare const IntegrationGithubCommitCreateDocument: DocumentNode<IntegrationGithubCommitCreateMutation, Exact<{
12402
+ [key: string]: never;
12403
+ }>>;
11522
12404
  export declare const IntegrationGithubConnectDocument: DocumentNode<IntegrationGithubConnectMutation, Exact<{
11523
12405
  installationId: Scalars["String"];
11524
12406
  }>>;
@@ -11550,6 +12432,10 @@ export declare const IntegrationSentryConnectDocument: DocumentNode<IntegrationS
11550
12432
  installationId: Scalars["String"];
11551
12433
  organizationSlug: Scalars["String"];
11552
12434
  }>>;
12435
+ export declare const IntegrationSettingsUpdateDocument: DocumentNode<IntegrationSettingsUpdateMutation, Exact<{
12436
+ id: Scalars["String"];
12437
+ input: IntegrationSettingsInput;
12438
+ }>>;
11553
12439
  export declare const IntegrationSlackDocument: DocumentNode<IntegrationSlackMutation, Exact<{
11554
12440
  code: Scalars["String"];
11555
12441
  redirectUri: Scalars["String"];
@@ -11584,6 +12470,10 @@ export declare const IssueArchiveDocument: DocumentNode<IssueArchiveMutation, Ex
11584
12470
  id: Scalars["String"];
11585
12471
  trash?: Maybe<boolean> | undefined;
11586
12472
  }>>;
12473
+ export declare const IssueBatchUpdateDocument: DocumentNode<IssueBatchUpdateMutation, Exact<{
12474
+ ids: Array<Scalars["UUID"]> | Scalars["UUID"];
12475
+ input: IssueUpdateInput;
12476
+ }>>;
11587
12477
  export declare const IssueCreateDocument: DocumentNode<IssueCreateMutation, Exact<{
11588
12478
  input: IssueCreateInput;
11589
12479
  }>>;
@@ -11594,6 +12484,7 @@ export declare const IssueImportCreateAsanaDocument: DocumentNode<IssueImportCre
11594
12484
  asanaTeamName: Scalars["String"];
11595
12485
  asanaToken: Scalars["String"];
11596
12486
  id?: Maybe<string> | undefined;
12487
+ includeClosedIssues?: Maybe<boolean> | undefined;
11597
12488
  instantProcess?: Maybe<boolean> | undefined;
11598
12489
  teamId: Scalars["String"];
11599
12490
  }>>;
@@ -11601,6 +12492,7 @@ export declare const IssueImportCreateClubhouseDocument: DocumentNode<IssueImpor
11601
12492
  clubhouseTeamName: Scalars["String"];
11602
12493
  clubhouseToken: Scalars["String"];
11603
12494
  id?: Maybe<string> | undefined;
12495
+ includeClosedIssues?: Maybe<boolean> | undefined;
11604
12496
  instantProcess?: Maybe<boolean> | undefined;
11605
12497
  teamId: Scalars["String"];
11606
12498
  }>>;
@@ -11610,11 +12502,13 @@ export declare const IssueImportCreateGithubDocument: DocumentNode<IssueImportCr
11610
12502
  githubShouldImportOrgProjects?: Maybe<boolean> | undefined;
11611
12503
  githubToken: Scalars["String"];
11612
12504
  id?: Maybe<string> | undefined;
12505
+ includeClosedIssues?: Maybe<boolean> | undefined;
11613
12506
  instantProcess?: Maybe<boolean> | undefined;
11614
12507
  teamId: Scalars["String"];
11615
12508
  }>>;
11616
12509
  export declare const IssueImportCreateJiraDocument: DocumentNode<IssueImportCreateJiraMutation, Exact<{
11617
12510
  id?: Maybe<string> | undefined;
12511
+ includeClosedIssues?: Maybe<boolean> | undefined;
11618
12512
  instantProcess?: Maybe<boolean> | undefined;
11619
12513
  jiraEmail: Scalars["String"];
11620
12514
  jiraHostname: Scalars["String"];
@@ -11638,6 +12532,7 @@ export declare const IssueLabelArchiveDocument: DocumentNode<IssueLabelArchiveMu
11638
12532
  }>>;
11639
12533
  export declare const IssueLabelCreateDocument: DocumentNode<IssueLabelCreateMutation, Exact<{
11640
12534
  input: IssueLabelCreateInput;
12535
+ replaceTeamLabels?: Maybe<boolean> | undefined;
11641
12536
  }>>;
11642
12537
  export declare const IssueLabelUpdateDocument: DocumentNode<IssueLabelUpdateMutation, Exact<{
11643
12538
  id: Scalars["String"];
@@ -11660,6 +12555,9 @@ export declare const IssueUpdateDocument: DocumentNode<IssueUpdateMutation, Exac
11660
12555
  id: Scalars["String"];
11661
12556
  input: IssueUpdateInput;
11662
12557
  }>>;
12558
+ export declare const JiraIntegrationConnectDocument: DocumentNode<JiraIntegrationConnectMutation, Exact<{
12559
+ input: JiraConfigurationInput;
12560
+ }>>;
11663
12561
  export declare const JoinOrganizationFromOnboardingDocument: DocumentNode<JoinOrganizationFromOnboardingMutation, Exact<{
11664
12562
  input: JoinOrganizationInput;
11665
12563
  }>>;
@@ -11752,6 +12650,10 @@ export declare const ProjectLinkCreateDocument: DocumentNode<ProjectLinkCreateMu
11752
12650
  export declare const ProjectLinkDeleteDocument: DocumentNode<ProjectLinkDeleteMutation, Exact<{
11753
12651
  id: Scalars["String"];
11754
12652
  }>>;
12653
+ export declare const ProjectLinkUpdateDocument: DocumentNode<ProjectLinkUpdateMutation, Exact<{
12654
+ id: Scalars["String"];
12655
+ input: ProjectLinkUpdateInput;
12656
+ }>>;
11755
12657
  export declare const ProjectUnarchiveDocument: DocumentNode<ProjectUnarchiveMutation, Exact<{
11756
12658
  id: Scalars["String"];
11757
12659
  }>>;
@@ -11780,24 +12682,6 @@ export declare const ResendOrganizationInviteDocument: DocumentNode<ResendOrgani
11780
12682
  export declare const SamlTokenUserAccountAuthDocument: DocumentNode<SamlTokenUserAccountAuthMutation, Exact<{
11781
12683
  input: TokenUserAccountAuthInput;
11782
12684
  }>>;
11783
- export declare const SubscriptionArchiveDocument: DocumentNode<SubscriptionArchiveMutation, Exact<{
11784
- id: Scalars["String"];
11785
- }>>;
11786
- export declare const SubscriptionSessionCreateDocument: DocumentNode<SubscriptionSessionCreateMutation, Exact<{
11787
- coupon?: Maybe<string> | undefined;
11788
- plan: Scalars["String"];
11789
- }>>;
11790
- export declare const SubscriptionUpdateDocument: DocumentNode<SubscriptionUpdateMutation, Exact<{
11791
- id: Scalars["String"];
11792
- input: SubscriptionUpdateInput;
11793
- }>>;
11794
- export declare const SubscriptionUpdateSessionCreateDocument: DocumentNode<SubscriptionUpdateSessionCreateMutation, Exact<{
11795
- [key: string]: never;
11796
- }>>;
11797
- export declare const SubscriptionUpgradeDocument: DocumentNode<SubscriptionUpgradeMutation, Exact<{
11798
- id: Scalars["String"];
11799
- type: Scalars["String"];
11800
- }>>;
11801
12685
  export declare const TeamCreateDocument: DocumentNode<TeamCreateMutation, Exact<{
11802
12686
  copySettingsFromTeamId?: Maybe<string> | undefined;
11803
12687
  input: TeamCreateInput;