@linear/sdk 11.0.0 → 13.0.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.
@@ -23,7 +23,7 @@ export declare type Scalars = {
23
23
  /** The `JSON` scalar type represents arbitrary values as *stringified* JSON */
24
24
  JSON: Record<string, unknown>;
25
25
  /** The `JSONObject` scalar type represents arbitrary values as *embedded* JSON */
26
- JSONObject: Record<string, unknown>;
26
+ JSONObject: any;
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
29
  /** A universally unique identifier as specified by RFC 4122. */
@@ -134,7 +134,7 @@ export declare type ArchiveResponse = {
134
134
  };
135
135
  export declare type AsksChannelConnectPayload = {
136
136
  __typename?: "AsksChannelConnectPayload";
137
- /** Whether the bot needs to be added to the channel. */
137
+ /** Whether the bot needs to be manually added to the channel. */
138
138
  addBot: Scalars["Boolean"];
139
139
  /** The integration that was created or updated. */
140
140
  integration?: Maybe<Integration>;
@@ -381,11 +381,6 @@ export declare type AuthApiKeyCreateInput = {
381
381
  /** The API key value. */
382
382
  key: Scalars["String"];
383
383
  };
384
- export declare type AuthApiKeyDeletePayload = {
385
- __typename?: "AuthApiKeyDeletePayload";
386
- /** Whether the operation was successful. */
387
- success: Scalars["Boolean"];
388
- };
389
384
  export declare type AuthApiKeyPayload = {
390
385
  __typename?: "AuthApiKeyPayload";
391
386
  /** The auth API key that was created. */
@@ -393,6 +388,14 @@ export declare type AuthApiKeyPayload = {
393
388
  /** Whether the operation was successful. */
394
389
  success: Scalars["Boolean"];
395
390
  };
391
+ export declare type AuthCreateOrJoinOrganizationResponse = {
392
+ __typename?: "AuthCreateOrJoinOrganizationResponse";
393
+ authOrganization: AuthOrganization;
394
+ authUser: AuthUser;
395
+ grantDomainAccess?: Maybe<Scalars["Boolean"]>;
396
+ organization: AuthOrganization;
397
+ user: AuthUser;
398
+ };
396
399
  export declare type AuthIntegration = {
397
400
  __typename?: "AuthIntegration";
398
401
  /** The unique identifier of the entity. */
@@ -406,6 +409,79 @@ export declare type AuthMembership = {
406
409
  /** The authorizing userId */
407
410
  userId: Scalars["String"];
408
411
  };
412
+ export declare type AuthOauthClient = {
413
+ __typename?: "AuthOauthClient";
414
+ archivedAt?: Maybe<Scalars["DateTime"]>;
415
+ /** OAuth application's client ID. */
416
+ clientId: Scalars["String"];
417
+ /** OAuth application's client secret. */
418
+ clientSecret: Scalars["String"];
419
+ /** The ID of the user who created the OAuth application. */
420
+ creatorId: Scalars["String"];
421
+ /** Information about the application. */
422
+ description?: Maybe<Scalars["String"]>;
423
+ /** Name of the developer. */
424
+ developer: Scalars["String"];
425
+ /** Url of the developer. */
426
+ developerUrl: Scalars["String"];
427
+ /** The unique identifier of the entity. */
428
+ id: Scalars["ID"];
429
+ /** Image of the application. */
430
+ imageUrl?: Maybe<Scalars["String"]>;
431
+ /** OAuth application's client name. */
432
+ name: Scalars["String"];
433
+ /** The ID of the workspace the OAuth application belongs to. */
434
+ organizationId: Scalars["String"];
435
+ /** Whether the OAuth application can be installed in other organizations. */
436
+ publicEnabled: Scalars["Boolean"];
437
+ /** List of allowed redirect URIs for the application. */
438
+ redirectUris: Array<Scalars["String"]>;
439
+ /** Webhook URL */
440
+ webhookUrl?: Maybe<Scalars["String"]>;
441
+ };
442
+ /** AuthOauthClient with token creator IDs and counts (memberships), for use in the GraphQL API. */
443
+ export declare type AuthOauthClientWithMemberships = {
444
+ __typename?: "AuthOauthClientWithMemberships";
445
+ /** OAuth application's ID. */
446
+ appId: Scalars["String"];
447
+ /** OAuth application's client ID. */
448
+ clientId: Scalars["String"];
449
+ /** Image of the application. */
450
+ imageUrl?: Maybe<Scalars["String"]>;
451
+ /** User IDs and membership dates of everyone who has authorized the application with the set of scopes. */
452
+ memberships: Array<AuthMembership>;
453
+ /** Application name. */
454
+ name: Scalars["String"];
455
+ /** Scopes that are authorized for this application for a given user. */
456
+ scope: Array<Scalars["String"]>;
457
+ /** Total number of members that authorized the application. */
458
+ totalMembers: Scalars["Float"];
459
+ /** The application's webhook URL. */
460
+ webhookUrl?: Maybe<Scalars["String"]>;
461
+ };
462
+ /** AuthOauthClient with scope from OauthToken, for use in the GraphQL API. */
463
+ export declare type AuthOauthClientWithScope = {
464
+ __typename?: "AuthOauthClientWithScope";
465
+ /** OAuth application's ID. */
466
+ appId: Scalars["String"];
467
+ /** OAuth application's client ID. */
468
+ clientId: Scalars["String"];
469
+ /** Image of the application. */
470
+ imageUrl?: Maybe<Scalars["String"]>;
471
+ /** Application name. */
472
+ name: Scalars["String"];
473
+ /** Scopes that are authorized for this application for a given user. */
474
+ scope: Array<Scalars["String"]>;
475
+ /** The application's webhook URL. */
476
+ webhookUrl?: Maybe<Scalars["String"]>;
477
+ };
478
+ export declare type AuthOauthClientWithTokens = {
479
+ __typename?: "AuthOauthClientWithTokens";
480
+ /** The auth OAuth client. */
481
+ client: AuthOauthClient;
482
+ /** The token matching the app, scope, and actor. */
483
+ tokens: Array<OauthToken>;
484
+ };
409
485
  /** An organization. Organizations are root-level objects that contain users and teams. */
410
486
  export declare type AuthOrganization = {
411
487
  __typename?: "AuthOrganization";
@@ -413,6 +489,7 @@ export declare type AuthOrganization = {
413
489
  allowedAuthServices: Array<Scalars["String"]>;
414
490
  /** The time at which deletion of the organization was requested. */
415
491
  deletionRequestedAt?: Maybe<Scalars["DateTime"]>;
492
+ /** The unique identifier of the entity. */
416
493
  id: Scalars["ID"];
417
494
  /** The organization's logo URL. */
418
495
  logoUrl?: Maybe<Scalars["String"]>;
@@ -422,10 +499,19 @@ export declare type AuthOrganization = {
422
499
  previousUrlKeys: Array<Scalars["String"]>;
423
500
  /** Whether SAML authentication is enabled for organization. */
424
501
  samlEnabled: Scalars["Boolean"];
502
+ /** [INTERNAL] SAML settings */
503
+ samlSettings?: Maybe<Scalars["JSONObject"]>;
504
+ /** Whether SCIM provisioning is enabled for organization. */
505
+ scimEnabled: Scalars["Boolean"];
425
506
  /** The organization's unique URL key. */
426
507
  urlKey: Scalars["String"];
427
508
  userCount: Scalars["Float"];
428
509
  };
510
+ export declare type AuthOrganizationDomain = {
511
+ __typename?: "AuthOrganizationDomain";
512
+ /** The unique identifier of the entity. */
513
+ id: Scalars["ID"];
514
+ };
429
515
  export declare type AuthResolverResponse = {
430
516
  __typename?: "AuthResolverResponse";
431
517
  /** Should the signup flow allow access for the domain. */
@@ -445,9 +531,16 @@ export declare type AuthResolverResponse = {
445
531
  /** Users belonging to this account. */
446
532
  users: Array<AuthUser>;
447
533
  };
534
+ export declare type AuthSuccessPayload = {
535
+ __typename?: "AuthSuccessPayload";
536
+ /** Whether the operation was successful. */
537
+ success: Scalars["Boolean"];
538
+ };
448
539
  /** A user that has access to the the resources of an organization. */
449
540
  export declare type AuthUser = {
450
541
  __typename?: "AuthUser";
542
+ /** Whether the user is active. */
543
+ active: Scalars["Boolean"];
451
544
  /** An URL to the user's avatar image. */
452
545
  avatarUrl?: Maybe<Scalars["String"]>;
453
546
  /** The user's display (nick) name. Unique within each organization. */
@@ -495,6 +588,7 @@ export declare type AuthenticationSession = {
495
588
  /** Session's user-agent. */
496
589
  userAgent?: Maybe<Scalars["String"]>;
497
590
  };
591
+ /** Authentication session information */
498
592
  export declare type AuthenticationSessionResponse = {
499
593
  __typename?: "AuthenticationSessionResponse";
500
594
  /** Used web browser. */
@@ -553,6 +647,19 @@ export declare type AuthorizedApplication = {
553
647
  /** Whether or not webhooks are enabled for the application. */
554
648
  webhooksEnabled: Scalars["Boolean"];
555
649
  };
650
+ export declare type AuthorizedApplicationBase = {
651
+ __typename?: "AuthorizedApplicationBase";
652
+ /** OAuth application's ID. */
653
+ appId: Scalars["String"];
654
+ /** OAuth application's client ID. */
655
+ clientId: Scalars["String"];
656
+ /** Image of the application. */
657
+ imageUrl?: Maybe<Scalars["String"]>;
658
+ /** Application name. */
659
+ name: Scalars["String"];
660
+ /** Scopes that are authorized for this application for a given user. */
661
+ scope: Array<Scalars["String"]>;
662
+ };
556
663
  /** Comparator for booleans. */
557
664
  export declare type BooleanComparator = {
558
665
  /** Equals constraint. */
@@ -579,16 +686,16 @@ export declare type Comment = Node & {
579
686
  documentContent?: Maybe<DocumentContent>;
580
687
  /** The time user edited the comment. */
581
688
  editedAt?: Maybe<Scalars["DateTime"]>;
582
- /** [ALPHA] The external user who wrote the comment. */
689
+ /** The external user who wrote the comment. */
583
690
  externalUser?: Maybe<ExternalUser>;
584
691
  /** The unique identifier of the entity. */
585
692
  id: Scalars["ID"];
586
693
  /** The issue that the comment is associated with. */
587
- issue: Issue;
694
+ issue?: Maybe<Issue>;
588
695
  /** The parent comment under which the current comment is nested. */
589
696
  parent?: Maybe<Comment>;
590
- /** [ALPHA] The project update that the comment is associated with. */
591
- projectUpdate: ProjectUpdate;
697
+ /** The project update that the comment is associated with. */
698
+ projectUpdate?: Maybe<ProjectUpdate>;
592
699
  /** Emoji reaction summary, grouped by emoji type */
593
700
  reactionData: Scalars["JSONObject"];
594
701
  /** The time the resolvingUser resolved the thread. */
@@ -626,6 +733,8 @@ export declare type CommentCollectionFilter = {
626
733
  body?: Maybe<StringComparator>;
627
734
  /** Comparator for the created at date. */
628
735
  createdAt?: Maybe<DateComparator>;
736
+ /** Filters that the comments document content must satisfy. */
737
+ documentContent?: Maybe<DocumentContentFilter>;
629
738
  /** Filters that needs to be matched by all comments. */
630
739
  every?: Maybe<CommentFilter>;
631
740
  /** Comparator for the identifier. */
@@ -636,6 +745,8 @@ export declare type CommentCollectionFilter = {
636
745
  length?: Maybe<NumberComparator>;
637
746
  /** Compound filters, one of which need to be matched by the comment. */
638
747
  or?: Maybe<Array<CommentCollectionFilter>>;
748
+ /** Filters that the comments project update must satisfy. */
749
+ projectUpdate?: Maybe<ProjectUpdateFilter>;
639
750
  /** Filters that needs to be matched by some comments. */
640
751
  some?: Maybe<CommentFilter>;
641
752
  /** Comparator for the updated at date. */
@@ -689,12 +800,16 @@ export declare type CommentFilter = {
689
800
  body?: Maybe<StringComparator>;
690
801
  /** Comparator for the created at date. */
691
802
  createdAt?: Maybe<DateComparator>;
803
+ /** Filters that the comments document content must satisfy. */
804
+ documentContent?: Maybe<DocumentContentFilter>;
692
805
  /** Comparator for the identifier. */
693
806
  id?: Maybe<IdComparator>;
694
807
  /** Filters that the comments issue must satisfy. */
695
808
  issue?: Maybe<IssueFilter>;
696
809
  /** Compound filters, one of which need to be matched by the comment. */
697
810
  or?: Maybe<Array<CommentFilter>>;
811
+ /** Filters that the comments project update must satisfy. */
812
+ projectUpdate?: Maybe<ProjectUpdateFilter>;
698
813
  /** Comparator for the updated at date. */
699
814
  updatedAt?: Maybe<DateComparator>;
700
815
  /** Filters that the comments creator must satisfy. */
@@ -1185,6 +1300,12 @@ export declare type CyclePayload = {
1185
1300
  /** Whether the operation was successful. */
1186
1301
  success: Scalars["Boolean"];
1187
1302
  };
1303
+ export declare type CycleShiftAllInput = {
1304
+ /** The number of days to shift the cycles by. */
1305
+ daysToShift: Scalars["Float"];
1306
+ /** The cycle id at which to start the shift. */
1307
+ id: Scalars["String"];
1308
+ };
1188
1309
  export declare type CycleUpdateInput = {
1189
1310
  /** The end date of the cycle. */
1190
1311
  completedAt?: Maybe<Scalars["DateTime"]>;
@@ -1216,6 +1337,13 @@ export declare type DateComparator = {
1216
1337
  /** Not-in-array constraint. */
1217
1338
  nin?: Maybe<Array<Scalars["DateTime"]>>;
1218
1339
  };
1340
+ /** [INTERNAL] By which resolution is a date defined. */
1341
+ export declare enum DateResolutionType {
1342
+ HalfYear = "halfYear",
1343
+ Month = "month",
1344
+ Quarter = "quarter",
1345
+ Year = "year"
1346
+ }
1219
1347
  /** The day of the week. */
1220
1348
  export declare enum Day {
1221
1349
  Friday = "Friday",
@@ -1268,6 +1396,8 @@ export declare type Document = Node & {
1268
1396
  project: Project;
1269
1397
  /** The document's unique URL slug. */
1270
1398
  slugId: Scalars["String"];
1399
+ /** The order of the item in the project resources list. */
1400
+ sortOrder: Scalars["Float"];
1271
1401
  /** The document title. */
1272
1402
  title: Scalars["String"];
1273
1403
  /**
@@ -1385,6 +1515,8 @@ export declare type DocumentCreateInput = {
1385
1515
  lastAppliedTemplateId?: Maybe<Scalars["String"]>;
1386
1516
  /** Related project for the document. */
1387
1517
  projectId: Scalars["String"];
1518
+ /** The order of the item in the project resources list. */
1519
+ sortOrder?: Maybe<Scalars["Float"]>;
1388
1520
  /** The title of the document. */
1389
1521
  title: Scalars["String"];
1390
1522
  };
@@ -1442,6 +1574,8 @@ export declare type DocumentSearchResult = Node & {
1442
1574
  project: Project;
1443
1575
  /** The document's unique URL slug. */
1444
1576
  slugId: Scalars["String"];
1577
+ /** The order of the item in the project resources list. */
1578
+ sortOrder: Scalars["Float"];
1445
1579
  /** The document title. */
1446
1580
  title: Scalars["String"];
1447
1581
  /**
@@ -1478,9 +1612,35 @@ export declare type DocumentUpdateInput = {
1478
1612
  lastAppliedTemplateId?: Maybe<Scalars["String"]>;
1479
1613
  /** Related project for the document. */
1480
1614
  projectId?: Maybe<Scalars["String"]>;
1615
+ /** The order of the item in the project resources list. */
1616
+ sortOrder?: Maybe<Scalars["Float"]>;
1481
1617
  /** The title of the document. */
1482
1618
  title?: Maybe<Scalars["String"]>;
1483
1619
  };
1620
+ /** An email address that can be used for submitting issues */
1621
+ export declare type EmailIntakeAddress = Node & {
1622
+ __typename?: "EmailIntakeAddress";
1623
+ /** Unique email address user name (before @) used for incoming email. */
1624
+ address: Scalars["String"];
1625
+ /** The time at which the entity was archived. Null if the entity has not been archived. */
1626
+ archivedAt?: Maybe<Scalars["DateTime"]>;
1627
+ /** The time at which the entity was created. */
1628
+ createdAt: Scalars["DateTime"];
1629
+ /** The user who created the email intake address. */
1630
+ creator?: Maybe<User>;
1631
+ /** Whether the email address is enabled. */
1632
+ enabled: Scalars["Boolean"];
1633
+ /** The unique identifier of the entity. */
1634
+ id: Scalars["ID"];
1635
+ /** The team that the email address is associated with. */
1636
+ team: Team;
1637
+ /**
1638
+ * The last time at which the entity was meaningfully updated, i.e. for all changes of syncable properties except those
1639
+ * for which updates should not produce an update to updatedAt (see skipUpdatedAtKeys). This is the same as the creation time if the entity hasn't
1640
+ * been updated after creation.
1641
+ */
1642
+ updatedAt: Scalars["DateTime"];
1643
+ };
1484
1644
  export declare type EmailSubscribeInput = {
1485
1645
  /** [INTERNAL] Email to subscribe. */
1486
1646
  email: Scalars["String"];
@@ -1690,6 +1850,8 @@ export declare type Favorite = Node & {
1690
1850
  predefinedViewType?: Maybe<Scalars["String"]>;
1691
1851
  /** The favorited project. */
1692
1852
  project?: Maybe<Project>;
1853
+ /** The targeted tab of the project. */
1854
+ projectTab?: Maybe<ProjectTab>;
1693
1855
  /** The favorited team of the project. */
1694
1856
  projectTeam?: Maybe<Team>;
1695
1857
  /** The favorited roadmap. */
@@ -1745,6 +1907,8 @@ export declare type FavoriteCreateInput = {
1745
1907
  predefinedViewType?: Maybe<Scalars["String"]>;
1746
1908
  /** The identifier of the project to favorite. */
1747
1909
  projectId?: Maybe<Scalars["String"]>;
1910
+ /** The tab of the project to favorite. */
1911
+ projectTab?: Maybe<ProjectTab>;
1748
1912
  /** The identifier of the project team to favorite. */
1749
1913
  projectTeamId?: Maybe<Scalars["String"]>;
1750
1914
  /** The identifier of the roadmap to favorite. */
@@ -1810,6 +1974,79 @@ export declare type FrontSettingsInput = {
1810
1974
  /** Whether an internal message should be added when a Linear issue changes status (for status types except completed or canceled). */
1811
1975
  sendNoteOnStatusChange?: Maybe<Scalars["Boolean"]>;
1812
1976
  };
1977
+ /** A trigger that updates the issue status according to Git automations. */
1978
+ export declare type GitAutomationState = Node & {
1979
+ __typename?: "GitAutomationState";
1980
+ /** The time at which the entity was archived. Null if the entity has not been archived. */
1981
+ archivedAt?: Maybe<Scalars["DateTime"]>;
1982
+ /** The target branch, if null, the automation will be triggered on any branch. */
1983
+ branchPattern: Scalars["String"];
1984
+ /** The time at which the entity was created. */
1985
+ createdAt: Scalars["DateTime"];
1986
+ /** The event that triggers the automation. */
1987
+ event: GitAutomationStates;
1988
+ /** The unique identifier of the entity. */
1989
+ id: Scalars["ID"];
1990
+ /** The associated workflow state. */
1991
+ state?: Maybe<WorkflowState>;
1992
+ /** The team to which this automation state belongs. */
1993
+ team: Team;
1994
+ /**
1995
+ * The last time at which the entity was meaningfully updated, i.e. for all changes of syncable properties except those
1996
+ * for which updates should not produce an update to updatedAt (see skipUpdatedAtKeys). This is the same as the creation time if the entity hasn't
1997
+ * been updated after creation.
1998
+ */
1999
+ updatedAt: Scalars["DateTime"];
2000
+ };
2001
+ export declare type GitAutomationStateConnection = {
2002
+ __typename?: "GitAutomationStateConnection";
2003
+ edges: Array<GitAutomationStateEdge>;
2004
+ nodes: Array<GitAutomationState>;
2005
+ pageInfo: PageInfo;
2006
+ };
2007
+ export declare type GitAutomationStateCreateInput = {
2008
+ /** The target branch pattern. If null, all branches are targeted. */
2009
+ branchPattern?: Maybe<Scalars["String"]>;
2010
+ /** The event that triggers the automation. */
2011
+ event: GitAutomationStates;
2012
+ /** The identifier in UUID v4 format. If none is provided, the backend will generate one. */
2013
+ id?: Maybe<Scalars["String"]>;
2014
+ /** The associated workflow state. If null, will override default behaviour and take no action. */
2015
+ stateId?: Maybe<Scalars["String"]>;
2016
+ /** The team associated with the automation state. */
2017
+ teamId: Scalars["String"];
2018
+ };
2019
+ export declare type GitAutomationStateEdge = {
2020
+ __typename?: "GitAutomationStateEdge";
2021
+ /** Used in `before` and `after` args */
2022
+ cursor: Scalars["String"];
2023
+ node: GitAutomationState;
2024
+ };
2025
+ export declare type GitAutomationStatePayload = {
2026
+ __typename?: "GitAutomationStatePayload";
2027
+ /** The automation state that was created or updated. */
2028
+ gitAutomationState: GitAutomationState;
2029
+ /** The identifier of the last sync operation. */
2030
+ lastSyncId: Scalars["Float"];
2031
+ /** Whether the operation was successful. */
2032
+ success: Scalars["Boolean"];
2033
+ };
2034
+ export declare type GitAutomationStateUpdateInput = {
2035
+ /** The target branch pattern. If null, all branches are targeted. */
2036
+ branchPattern?: Maybe<Scalars["String"]>;
2037
+ /** The event that triggers the automation. */
2038
+ event?: Maybe<GitAutomationStates>;
2039
+ /** The associated workflow state. */
2040
+ stateId?: Maybe<Scalars["String"]>;
2041
+ };
2042
+ /** The various states of a pull/merge request. */
2043
+ export declare enum GitAutomationStates {
2044
+ Draft = "draft",
2045
+ Merge = "merge",
2046
+ Mergeable = "mergeable",
2047
+ Review = "review",
2048
+ Start = "start"
2049
+ }
1813
2050
  export declare type GitHubCommitIntegrationPayload = {
1814
2051
  __typename?: "GitHubCommitIntegrationPayload";
1815
2052
  /** The integration that was created or updated. */
@@ -1821,51 +2058,51 @@ export declare type GitHubCommitIntegrationPayload = {
1821
2058
  /** The webhook secret to provide to GitHub. */
1822
2059
  webhookSecret: Scalars["String"];
1823
2060
  };
1824
- /** Metadata and settings for a GitHub integration. */
1825
- export declare type GitHubSettings = {
1826
- __typename?: "GitHubSettings";
1827
- /** The avatar URL for the GitHub organization */
1828
- orgAvatarUrl: Scalars["String"];
1829
- /** The GitHub organization's name */
1830
- orgLogin: Scalars["String"];
1831
- /** The names of the repositories connected for the GitHub integration */
1832
- repositories?: Maybe<Array<Scalars["String"]>>;
2061
+ /** Metadata and settings for a GitHub Personal integration. */
2062
+ export declare type GitHubPersonalSettings = {
2063
+ __typename?: "GitHubPersonalSettings";
2064
+ /** The GitHub user's name */
2065
+ login: Scalars["String"];
1833
2066
  };
1834
- export declare type GitHubSettingsInput = {
1835
- /** The avatar URL for the GitHub organization */
1836
- orgAvatarUrl: Scalars["String"];
1837
- /** The GitHub organization's name */
1838
- orgLogin: Scalars["String"];
1839
- /** The names of the repositories connected for the GitHub integration */
1840
- repositories?: Maybe<Array<Scalars["String"]>>;
2067
+ export declare type GitHubPersonalSettingsInput = {
2068
+ /** The GitHub user's name */
2069
+ login: Scalars["String"];
1841
2070
  };
1842
2071
  /** GitHub repos available to sync. */
1843
- export declare type GitHubSyncRepo = {
1844
- __typename?: "GitHubSyncRepo";
2072
+ export declare type GitHubRepo = {
2073
+ __typename?: "GitHubRepo";
1845
2074
  /** The full name of the repository. */
1846
2075
  fullName: Scalars["String"];
1847
2076
  /** The GitHub repo id. */
1848
2077
  id: Scalars["Float"];
1849
2078
  };
1850
- export declare type GitHubSyncRepoInput = {
2079
+ export declare type GitHubRepoInput = {
1851
2080
  /** The full name of the repository. */
1852
2081
  fullName: Scalars["String"];
1853
2082
  /** The GitHub repo id. */
1854
2083
  id: Scalars["Float"];
1855
2084
  };
1856
- /** Metadata and settings for a GitHub Sync integration. */
1857
- export declare type GitHubSyncSettings = {
1858
- __typename?: "GitHubSyncSettings";
1859
- /** Mapping of team to repository for syncing */
1860
- repoMapping?: Maybe<Array<TeamRepoMapping>>;
2085
+ /** Metadata and settings for a GitHub integration. */
2086
+ export declare type GitHubSettings = {
2087
+ __typename?: "GitHubSettings";
2088
+ /** The avatar URL for the GitHub organization */
2089
+ orgAvatarUrl: Scalars["String"];
2090
+ /** The GitHub organization's name */
2091
+ orgLogin: Scalars["String"];
1861
2092
  /** The names of the repositories connected for the GitHub integration */
1862
- repos?: Maybe<Array<GitHubSyncRepo>>;
1863
- };
1864
- export declare type GitHubSyncSettingsInput = {
2093
+ repositories?: Maybe<Array<GitHubRepo>>;
1865
2094
  /** Mapping of team to repository for syncing */
1866
- repoMapping?: Maybe<Array<TeamRepoMappingInput>>;
2095
+ repositoriesMapping?: Maybe<Array<TeamRepoMapping>>;
2096
+ };
2097
+ export declare type GitHubSettingsInput = {
2098
+ /** The avatar URL for the GitHub organization */
2099
+ orgAvatarUrl: Scalars["String"];
2100
+ /** The GitHub organization's name */
2101
+ orgLogin: Scalars["String"];
1867
2102
  /** The names of the repositories connected for the GitHub integration */
1868
- repos?: Maybe<Array<GitHubSyncRepoInput>>;
2103
+ repositories?: Maybe<Array<GitHubRepoInput>>;
2104
+ /** Mapping of team to repository for syncing */
2105
+ repositoriesMapping?: Maybe<Array<TeamRepoMappingInput>>;
1869
2106
  };
1870
2107
  /** Metadata and settings for a GitLab integration. */
1871
2108
  export declare type GitLabSettings = {
@@ -2026,7 +2263,6 @@ export declare enum IntegrationService {
2026
2263
  Figma = "figma",
2027
2264
  FigmaPlugin = "figmaPlugin",
2028
2265
  Front = "front",
2029
- GitHubSync = "gitHubSync",
2030
2266
  Github = "github",
2031
2267
  GithubCommit = "githubCommit",
2032
2268
  GithubPersonal = "githubPersonal",
@@ -2054,7 +2290,7 @@ export declare type IntegrationSettings = {
2054
2290
  __typename?: "IntegrationSettings";
2055
2291
  front?: Maybe<FrontSettings>;
2056
2292
  gitHub?: Maybe<GitHubSettings>;
2057
- gitHubSync?: Maybe<GitHubSyncSettings>;
2293
+ gitHubPersonal?: Maybe<GitHubPersonalSettings>;
2058
2294
  gitLab?: Maybe<GitLabSettings>;
2059
2295
  googleSheets?: Maybe<GoogleSheetsSettings>;
2060
2296
  intercom?: Maybe<IntercomSettings>;
@@ -2073,7 +2309,7 @@ export declare type IntegrationSettings = {
2073
2309
  export declare type IntegrationSettingsInput = {
2074
2310
  front?: Maybe<FrontSettingsInput>;
2075
2311
  gitHub?: Maybe<GitHubSettingsInput>;
2076
- gitHubSync?: Maybe<GitHubSyncSettingsInput>;
2312
+ gitHubPersonal?: Maybe<GitHubPersonalSettingsInput>;
2077
2313
  gitLab?: Maybe<GitLabSettingsInput>;
2078
2314
  googleSheets?: Maybe<GoogleSheetsSettingsInput>;
2079
2315
  intercom?: Maybe<IntercomSettingsInput>;
@@ -2297,6 +2533,8 @@ export declare type Issue = Node & {
2297
2533
  * @deprecated Will be removed in near future, please use `sortOrder` instead
2298
2534
  */
2299
2535
  boardOrder: Scalars["Float"];
2536
+ /** The bot that created the issue, if applicable. */
2537
+ botActor?: Maybe<ActorBot>;
2300
2538
  /** Suggested branch name for the issue. */
2301
2539
  branchName: Scalars["String"];
2302
2540
  /** The time at which the issue was moved into canceled state. */
@@ -2340,6 +2578,8 @@ export declare type Issue = Node & {
2340
2578
  integrationSourceType?: Maybe<IntegrationService>;
2341
2579
  /** Inverse relations associated with this issue. */
2342
2580
  inverseRelations: IssueRelationConnection;
2581
+ /** Id of the labels associated with this issue. */
2582
+ labelIds: Array<Scalars["String"]>;
2343
2583
  /** Labels associated with this issue. */
2344
2584
  labels: IssueLabelConnection;
2345
2585
  /** The last template that was applied to this issue. */
@@ -3305,6 +3545,8 @@ export declare type IssueSearchResult = Node & {
3305
3545
  * @deprecated Will be removed in near future, please use `sortOrder` instead
3306
3546
  */
3307
3547
  boardOrder: Scalars["Float"];
3548
+ /** The bot that created the issue, if applicable. */
3549
+ botActor?: Maybe<ActorBot>;
3308
3550
  /** Suggested branch name for the issue. */
3309
3551
  branchName: Scalars["String"];
3310
3552
  /** The time at which the issue was moved into canceled state. */
@@ -3348,6 +3590,8 @@ export declare type IssueSearchResult = Node & {
3348
3590
  integrationSourceType?: Maybe<IntegrationService>;
3349
3591
  /** Inverse relations associated with this issue. */
3350
3592
  inverseRelations: IssueRelationConnection;
3593
+ /** Id of the labels associated with this issue. */
3594
+ labelIds: Array<Scalars["String"]>;
3351
3595
  /** Labels associated with this issue. */
3352
3596
  labels: IssueLabelConnection;
3353
3597
  /** The last template that was applied to this issue. */
@@ -3552,12 +3796,20 @@ export declare type JiraConfigurationInput = {
3552
3796
  /** Tuple for mapping Jira projects to Linear teams. */
3553
3797
  export declare type JiraLinearMapping = {
3554
3798
  __typename?: "JiraLinearMapping";
3799
+ /** Whether the sync for this mapping is bidirectional. */
3800
+ bidirectional?: Maybe<Scalars["Boolean"]>;
3801
+ /** Whether this mapping is the default one for issue creation. */
3802
+ default?: Maybe<Scalars["Boolean"]>;
3555
3803
  /** The Jira id for this project. */
3556
3804
  jiraProjectId: Scalars["String"];
3557
3805
  /** The Linear team id to map to the given project. */
3558
3806
  linearTeamId: Scalars["String"];
3559
3807
  };
3560
3808
  export declare type JiraLinearMappingInput = {
3809
+ /** Whether the sync for this mapping is bidirectional. */
3810
+ bidirectional?: Maybe<Scalars["Boolean"]>;
3811
+ /** Whether this mapping is the default one for issue creation. */
3812
+ default?: Maybe<Scalars["Boolean"]>;
3561
3813
  /** The Jira id for this project. */
3562
3814
  jiraProjectId: Scalars["String"];
3563
3815
  /** The Linear team id to map to the given project. */
@@ -3594,17 +3846,27 @@ export declare type JiraProjectDataInput = {
3594
3846
  /** Jira specific settings. */
3595
3847
  export declare type JiraSettings = {
3596
3848
  __typename?: "JiraSettings";
3849
+ /** Whether this integration is for Jira Server or not. */
3850
+ isJiraServer?: Maybe<Scalars["Boolean"]>;
3597
3851
  /** The mapping of Jira project id => Linear team id. */
3598
3852
  projectMapping?: Maybe<Array<JiraLinearMapping>>;
3599
3853
  /** The Jira projects for the organization. */
3600
3854
  projects: Array<JiraProjectData>;
3601
3855
  };
3602
3856
  export declare type JiraSettingsInput = {
3857
+ /** Whether this integration is for Jira Server or not. */
3858
+ isJiraServer?: Maybe<Scalars["Boolean"]>;
3603
3859
  /** The mapping of Jira project id => Linear team id. */
3604
3860
  projectMapping?: Maybe<Array<JiraLinearMappingInput>>;
3605
3861
  /** The Jira projects for the organization. */
3606
3862
  projects: Array<JiraProjectDataInput>;
3607
3863
  };
3864
+ export declare type JiraUpdateInput = {
3865
+ /** The id of the integration to update */
3866
+ id: Scalars["String"];
3867
+ /** Whether to refresh Jira Projects for the integration */
3868
+ updateProjects?: Maybe<Scalars["Boolean"]>;
3869
+ };
3608
3870
  export declare type JoinOrganizationInput = {
3609
3871
  /** An optional invite link for an organization. */
3610
3872
  inviteLink?: Maybe<Scalars["String"]>;
@@ -3675,7 +3937,9 @@ export declare type Mutation = {
3675
3937
  attachmentLinkDiscord: AttachmentPayload;
3676
3938
  /** Link an existing Front conversation to an issue. */
3677
3939
  attachmentLinkFront: FrontAttachmentPayload;
3678
- /** Link an existing GitHub PR to an issue. */
3940
+ /** Link a GitHub issue to a Linear issue. */
3941
+ attachmentLinkGitHubIssue: AttachmentPayload;
3942
+ /** Link a GitHub pull request to an issue. */
3679
3943
  attachmentLinkGitHubPR: AttachmentPayload;
3680
3944
  /** Link an existing GitLab MR to an issue. */
3681
3945
  attachmentLinkGitLabMR: AttachmentPayload;
@@ -3723,6 +3987,8 @@ export declare type Mutation = {
3723
3987
  cycleArchive: CycleArchivePayload;
3724
3988
  /** Creates a new cycle. */
3725
3989
  cycleCreate: CyclePayload;
3990
+ /** Shifts all cycles starts by a certain number of weeks. */
3991
+ cycleShiftAll: CyclePayload;
3726
3992
  /** Updates a cycle. */
3727
3993
  cycleUpdate: CyclePayload;
3728
3994
  /** Creates a new document. */
@@ -3751,6 +4017,12 @@ export declare type Mutation = {
3751
4017
  favoriteUpdate: FavoritePayload;
3752
4018
  /** XHR request payload to upload an images, video and other attachments directly to Linear's cloud storage. */
3753
4019
  fileUpload: UploadPayload;
4020
+ /** Creates a new automation state. */
4021
+ gitAutomationStateCreate: GitAutomationStatePayload;
4022
+ /** Archives an automation state. */
4023
+ gitAutomationStateDelete: DeletePayload;
4024
+ /** Updates an existing state. */
4025
+ gitAutomationStateUpdate: GitAutomationStatePayload;
3754
4026
  /** Authenticate user account through Google OAuth. This is the 2nd step of OAuth flow. */
3755
4027
  googleUserAccountAuth: AuthResolverResponse;
3756
4028
  /** Upload an image from an URL to Linear. */
@@ -3773,8 +4045,6 @@ export declare type Mutation = {
3773
4045
  integrationGithubCommitCreate: GitHubCommitIntegrationPayload;
3774
4046
  /** Connects the organization with the GitHub App. */
3775
4047
  integrationGithubConnect: IntegrationPayload;
3776
- /** Connects the organization with the GitHub Sync App. */
3777
- integrationGithubSyncConnect: IntegrationPayload;
3778
4048
  /** Connects the organization with a GitLab Access Token. */
3779
4049
  integrationGitlabConnect: IntegrationPayload;
3780
4050
  /** [Internal] Connects the Google Calendar to the user to this Linear account via OAuth2. */
@@ -3792,6 +4062,8 @@ export declare type Mutation = {
3792
4062
  integrationIntercomSettingsUpdate: IntegrationPayload;
3793
4063
  /** Connect your Jira account to Linear. */
3794
4064
  integrationJiraPersonal: IntegrationPayload;
4065
+ /** [INTERNAL] Updates a Jira Integration */
4066
+ integrationJiraUpdate: IntegrationPayload;
3795
4067
  /**
3796
4068
  * Enables Loom integration for the organization.
3797
4069
  * @deprecated Not available.
@@ -3814,13 +4086,13 @@ export declare type Mutation = {
3814
4086
  /** Imports custom emojis from your Slack workspace. */
3815
4087
  integrationSlackImportEmojis: IntegrationPayload;
3816
4088
  /** Slack integration for organization level project update notifications. */
3817
- integrationSlackOrgProjectUpdatesPost: IntegrationPayload;
4089
+ integrationSlackOrgProjectUpdatesPost: SlackChannelConnectPayload;
3818
4090
  /** Integrates your personal notifications with Slack. */
3819
4091
  integrationSlackPersonal: IntegrationPayload;
3820
4092
  /** Slack webhook integration. */
3821
- integrationSlackPost: IntegrationPayload;
4093
+ integrationSlackPost: SlackChannelConnectPayload;
3822
4094
  /** Slack integration for project notifications. */
3823
- integrationSlackProjectPost: IntegrationPayload;
4095
+ integrationSlackProjectPost: SlackChannelConnectPayload;
3824
4096
  /** Creates a new integrationTemplate join. */
3825
4097
  integrationTemplateCreate: IntegrationTemplatePayload;
3826
4098
  /** Deletes a integrationTemplate. */
@@ -4027,6 +4299,8 @@ export declare type Mutation = {
4027
4299
  teamMembershipDelete: DeletePayload;
4028
4300
  /** Updates a team membership. */
4029
4301
  teamMembershipUpdate: TeamMembershipPayload;
4302
+ /** Unarchives a team and cancels deletion. */
4303
+ teamUnarchive: TeamArchivePayload;
4030
4304
  /** Updates a team. */
4031
4305
  teamUpdate: TeamPayload;
4032
4306
  /** Creates a new template. */
@@ -4045,16 +4319,6 @@ export declare type Mutation = {
4045
4319
  userExternalUserDisconnect: UserPayload;
4046
4320
  /** Updates a user's settings flag. */
4047
4321
  userFlagUpdate: UserSettingsFlagPayload;
4048
- /**
4049
- * [DEPRECATED] Connects the GitHub user to this Linear account via OAuth2.
4050
- * @deprecated Replaced by integrationGitHubPersonal mutation on Integration resolver.
4051
- */
4052
- userGitHubConnect: UserPayload;
4053
- /**
4054
- * [DEPRECATED] Connects the Jira user to this Linear account via OAuth2.
4055
- * @deprecated Replaced by integrationJiraPersonal mutation on Integration resolver.
4056
- */
4057
- userJiraConnect: UserPayload;
4058
4322
  /** Makes user an admin. Can only be called by an admin. */
4059
4323
  userPromoteAdmin: UserAdminPayload;
4060
4324
  /** Makes user a regular user. Can only be called by an admin. */
@@ -4124,14 +4388,21 @@ export declare type MutationAttachmentLinkFrontArgs = {
4124
4388
  id?: Maybe<Scalars["String"]>;
4125
4389
  issueId: Scalars["String"];
4126
4390
  };
4391
+ export declare type MutationAttachmentLinkGitHubIssueArgs = {
4392
+ createAsUser?: Maybe<Scalars["String"]>;
4393
+ displayIconUrl?: Maybe<Scalars["String"]>;
4394
+ id?: Maybe<Scalars["String"]>;
4395
+ issueId: Scalars["String"];
4396
+ url: Scalars["String"];
4397
+ };
4127
4398
  export declare type MutationAttachmentLinkGitHubPrArgs = {
4128
4399
  createAsUser?: Maybe<Scalars["String"]>;
4129
4400
  displayIconUrl?: Maybe<Scalars["String"]>;
4130
4401
  id?: Maybe<Scalars["String"]>;
4131
4402
  issueId: Scalars["String"];
4132
- number: Scalars["Float"];
4133
- owner: Scalars["String"];
4134
- repo: Scalars["String"];
4403
+ number?: Maybe<Scalars["Float"]>;
4404
+ owner?: Maybe<Scalars["String"]>;
4405
+ repo?: Maybe<Scalars["String"]>;
4135
4406
  url: Scalars["String"];
4136
4407
  };
4137
4408
  export declare type MutationAttachmentLinkGitLabMrArgs = {
@@ -4237,6 +4508,9 @@ export declare type MutationCycleArchiveArgs = {
4237
4508
  export declare type MutationCycleCreateArgs = {
4238
4509
  input: CycleCreateInput;
4239
4510
  };
4511
+ export declare type MutationCycleShiftAllArgs = {
4512
+ input: CycleShiftAllInput;
4513
+ };
4240
4514
  export declare type MutationCycleUpdateArgs = {
4241
4515
  id: Scalars["String"];
4242
4516
  input: CycleUpdateInput;
@@ -4286,6 +4560,16 @@ export declare type MutationFileUploadArgs = {
4286
4560
  metaData?: Maybe<Scalars["JSON"]>;
4287
4561
  size: Scalars["Int"];
4288
4562
  };
4563
+ export declare type MutationGitAutomationStateCreateArgs = {
4564
+ input: GitAutomationStateCreateInput;
4565
+ };
4566
+ export declare type MutationGitAutomationStateDeleteArgs = {
4567
+ id: Scalars["String"];
4568
+ };
4569
+ export declare type MutationGitAutomationStateUpdateArgs = {
4570
+ id: Scalars["String"];
4571
+ input: GitAutomationStateUpdateInput;
4572
+ };
4289
4573
  export declare type MutationGoogleUserAccountAuthArgs = {
4290
4574
  input: GoogleUserAccountAuthInput;
4291
4575
  };
@@ -4323,9 +4607,6 @@ export declare type MutationIntegrationGitHubPersonalArgs = {
4323
4607
  export declare type MutationIntegrationGithubConnectArgs = {
4324
4608
  installationId: Scalars["String"];
4325
4609
  };
4326
- export declare type MutationIntegrationGithubSyncConnectArgs = {
4327
- installationId: Scalars["String"];
4328
- };
4329
4610
  export declare type MutationIntegrationGitlabConnectArgs = {
4330
4611
  accessToken: Scalars["String"];
4331
4612
  gitlabUrl: Scalars["String"];
@@ -4345,7 +4626,11 @@ export declare type MutationIntegrationIntercomSettingsUpdateArgs = {
4345
4626
  input: IntercomSettingsInput;
4346
4627
  };
4347
4628
  export declare type MutationIntegrationJiraPersonalArgs = {
4348
- code: Scalars["String"];
4629
+ accessToken?: Maybe<Scalars["String"]>;
4630
+ code?: Maybe<Scalars["String"]>;
4631
+ };
4632
+ export declare type MutationIntegrationJiraUpdateArgs = {
4633
+ input: JiraUpdateInput;
4349
4634
  };
4350
4635
  export declare type MutationIntegrationPagerDutyConnectArgs = {
4351
4636
  code: Scalars["String"];
@@ -4633,6 +4918,7 @@ export declare type MutationProjectArchiveArgs = {
4633
4918
  trash?: Maybe<Scalars["Boolean"]>;
4634
4919
  };
4635
4920
  export declare type MutationProjectCreateArgs = {
4921
+ connectSlackChannel?: Maybe<Scalars["Boolean"]>;
4636
4922
  input: ProjectCreateInput;
4637
4923
  };
4638
4924
  export declare type MutationProjectDeleteArgs = {
@@ -4751,6 +5037,9 @@ export declare type MutationTeamMembershipUpdateArgs = {
4751
5037
  id: Scalars["String"];
4752
5038
  input: TeamMembershipUpdateInput;
4753
5039
  };
5040
+ export declare type MutationTeamUnarchiveArgs = {
5041
+ id: Scalars["String"];
5042
+ };
4754
5043
  export declare type MutationTeamUpdateArgs = {
4755
5044
  id: Scalars["String"];
4756
5045
  input: TeamUpdateInput;
@@ -4782,12 +5071,6 @@ export declare type MutationUserFlagUpdateArgs = {
4782
5071
  flag: UserFlagType;
4783
5072
  operation: UserFlagUpdateOperation;
4784
5073
  };
4785
- export declare type MutationUserGitHubConnectArgs = {
4786
- code: Scalars["String"];
4787
- };
4788
- export declare type MutationUserJiraConnectArgs = {
4789
- code: Scalars["String"];
4790
- };
4791
5074
  export declare type MutationUserPromoteAdminArgs = {
4792
5075
  id: Scalars["String"];
4793
5076
  };
@@ -5562,6 +5845,11 @@ export declare type OauthClientEdge = {
5562
5845
  cursor: Scalars["String"];
5563
5846
  node: OauthClient;
5564
5847
  };
5848
+ export declare type OauthToken = {
5849
+ __typename?: "OauthToken";
5850
+ createdAt: Scalars["DateTime"];
5851
+ id: Scalars["ID"];
5852
+ };
5565
5853
  export declare type OnboardingCustomerSurvey = {
5566
5854
  companyRole?: Maybe<Scalars["String"]>;
5567
5855
  companySize?: Maybe<Scalars["String"]>;
@@ -5581,6 +5869,8 @@ export declare type Organization = Node & {
5581
5869
  createdIssueCount: Scalars["Int"];
5582
5870
  /** The time at which deletion of the organization was requested. */
5583
5871
  deletionRequestedAt?: Maybe<Scalars["DateTime"]>;
5872
+ /** The month at which the fiscal year starts. Defaults to January (0). */
5873
+ fiscalYearStartMonth: Scalars["Float"];
5584
5874
  /** How git branches are formatted. If null, default formatting will be used. */
5585
5875
  gitBranchFormat?: Maybe<Scalars["String"]>;
5586
5876
  /** Whether the Git integration linkback messages should be sent to private repositories. */
@@ -5903,6 +6193,8 @@ export declare type OrganizationUpdateInput = {
5903
6193
  allowMembersToInvite?: Maybe<Scalars["Boolean"]>;
5904
6194
  /** List of services that are allowed to be used for login. */
5905
6195
  allowedAuthServices?: Maybe<Array<Scalars["String"]>>;
6196
+ /** The month at which the fiscal year starts. */
6197
+ fiscalYearStartMonth?: Maybe<Scalars["Float"]>;
5906
6198
  /** How git branches are formatted. If null, default formatting will be used. */
5907
6199
  gitBranchFormat?: Maybe<Scalars["String"]>;
5908
6200
  /** Whether the Git integration linkback messages should be sent for private repositories. */
@@ -6038,7 +6330,7 @@ export declare type Project = Node & {
6038
6330
  /** The time at which the entity was created. */
6039
6331
  createdAt: Scalars["DateTime"];
6040
6332
  /** The user who created the project. */
6041
- creator: User;
6333
+ creator?: Maybe<User>;
6042
6334
  /** The project's description. */
6043
6335
  description: Scalars["String"];
6044
6336
  /** Documents associated with the project. */
@@ -6089,12 +6381,16 @@ export declare type Project = Node & {
6089
6381
  sortOrder: Scalars["Float"];
6090
6382
  /** The estimated start date of the project. */
6091
6383
  startDate?: Maybe<Scalars["TimelessDate"]>;
6384
+ /** [INTERNAL] The resolution of the project's start date. */
6385
+ startDateResolution?: Maybe<DateResolutionType>;
6092
6386
  /** The time at which the project was moved into started state. */
6093
6387
  startedAt?: Maybe<Scalars["DateTime"]>;
6094
6388
  /** The type of the state. */
6095
6389
  state: Scalars["String"];
6096
6390
  /** The estimated completion date of the project. */
6097
6391
  targetDate?: Maybe<Scalars["TimelessDate"]>;
6392
+ /** [INTERNAL] The resolution of the project's estimated completion date. */
6393
+ targetDateResolution?: Maybe<DateResolutionType>;
6098
6394
  /** Teams associated with this project. */
6099
6395
  teams: TeamConnection;
6100
6396
  /** A flag that indicates whether the project is in the trash bin. */
@@ -6269,10 +6565,14 @@ export declare type ProjectCreateInput = {
6269
6565
  sortOrder?: Maybe<Scalars["Float"]>;
6270
6566
  /** The planned start date of the project. */
6271
6567
  startDate?: Maybe<Scalars["TimelessDate"]>;
6568
+ /** [INTERNAL] The resolution of the project's start date. */
6569
+ startDateResolution?: Maybe<DateResolutionType>;
6272
6570
  /** The state of the project. */
6273
6571
  state?: Maybe<Scalars["String"]>;
6274
6572
  /** The planned target date of the project. */
6275
6573
  targetDate?: Maybe<Scalars["TimelessDate"]>;
6574
+ /** [INTERNAL] The resolution of the project's estimated completion date. */
6575
+ targetDateResolution?: Maybe<DateResolutionType>;
6276
6576
  /** The identifiers of the teams this project is associated with. */
6277
6577
  teamIds: Array<Scalars["String"]>;
6278
6578
  };
@@ -6351,6 +6651,8 @@ export declare type ProjectLink = Node & {
6351
6651
  label: Scalars["String"];
6352
6652
  /** The project that the link is associated with. */
6353
6653
  project: Project;
6654
+ /** The order of the item in the project resources list. */
6655
+ sortOrder: Scalars["Float"];
6354
6656
  /**
6355
6657
  * The last time at which the entity was meaningfully updated, i.e. for all changes of syncable properties except those
6356
6658
  * for which updates should not produce an update to updatedAt (see skipUpdatedAtKeys). This is the same as the creation time if the entity hasn't
@@ -6373,6 +6675,8 @@ export declare type ProjectLinkCreateInput = {
6373
6675
  label: Scalars["String"];
6374
6676
  /** Related project for the link. */
6375
6677
  projectId: Scalars["String"];
6678
+ /** The order of the item in the project resources list. */
6679
+ sortOrder?: Maybe<Scalars["Float"]>;
6376
6680
  /** The URL of the link. */
6377
6681
  url: Scalars["String"];
6378
6682
  };
@@ -6394,6 +6698,8 @@ export declare type ProjectLinkPayload = {
6394
6698
  export declare type ProjectLinkUpdateInput = {
6395
6699
  /** The label for the link. */
6396
6700
  label?: Maybe<Scalars["String"]>;
6701
+ /** The order of the item in the project resources list. */
6702
+ sortOrder?: Maybe<Scalars["Float"]>;
6397
6703
  /** The URL of the link. */
6398
6704
  url?: Maybe<Scalars["String"]>;
6399
6705
  };
@@ -6635,7 +6941,7 @@ export declare type ProjectSearchResult = Node & {
6635
6941
  /** The time at which the entity was created. */
6636
6942
  createdAt: Scalars["DateTime"];
6637
6943
  /** The user who created the project. */
6638
- creator: User;
6944
+ creator?: Maybe<User>;
6639
6945
  /** The project's description. */
6640
6946
  description: Scalars["String"];
6641
6947
  /** Documents associated with the project. */
@@ -6688,12 +6994,16 @@ export declare type ProjectSearchResult = Node & {
6688
6994
  sortOrder: Scalars["Float"];
6689
6995
  /** The estimated start date of the project. */
6690
6996
  startDate?: Maybe<Scalars["TimelessDate"]>;
6997
+ /** [INTERNAL] The resolution of the project's start date. */
6998
+ startDateResolution?: Maybe<DateResolutionType>;
6691
6999
  /** The time at which the project was moved into started state. */
6692
7000
  startedAt?: Maybe<Scalars["DateTime"]>;
6693
7001
  /** The type of the state. */
6694
7002
  state: Scalars["String"];
6695
7003
  /** The estimated completion date of the project. */
6696
7004
  targetDate?: Maybe<Scalars["TimelessDate"]>;
7005
+ /** [INTERNAL] The resolution of the project's estimated completion date. */
7006
+ targetDateResolution?: Maybe<DateResolutionType>;
6697
7007
  /** Teams associated with this project. */
6698
7008
  teams: TeamConnection;
6699
7009
  /** A flag that indicates whether the project is in the trash bin. */
@@ -6779,6 +7089,12 @@ export declare type ProjectSearchResultEdge = {
6779
7089
  cursor: Scalars["String"];
6780
7090
  node: ProjectSearchResult;
6781
7091
  };
7092
+ /** Different tabs available inside a project. */
7093
+ export declare enum ProjectTab {
7094
+ Activity = "activity",
7095
+ Documents = "documents",
7096
+ Issues = "issues"
7097
+ }
6782
7098
  /** A update associated with an project. */
6783
7099
  export declare type ProjectUpdate = Node & {
6784
7100
  __typename?: "ProjectUpdate";
@@ -6897,10 +7213,14 @@ export declare type ProjectUpdateInput = {
6897
7213
  sortOrder?: Maybe<Scalars["Float"]>;
6898
7214
  /** The planned start date of the project. */
6899
7215
  startDate?: Maybe<Scalars["TimelessDate"]>;
7216
+ /** [INTERNAL] The resolution of the project's start date. */
7217
+ startDateResolution?: Maybe<DateResolutionType>;
6900
7218
  /** The state of the project. */
6901
7219
  state?: Maybe<Scalars["String"]>;
6902
7220
  /** The planned target date of the project. */
6903
7221
  targetDate?: Maybe<Scalars["TimelessDate"]>;
7222
+ /** [INTERNAL] The resolution of the project's estimated completion date. */
7223
+ targetDateResolution?: Maybe<DateResolutionType>;
6904
7224
  /** The identifiers of the teams this project is associated with. */
6905
7225
  teamIds?: Maybe<Array<Scalars["String"]>>;
6906
7226
  };
@@ -7080,6 +7400,8 @@ export declare type Query = {
7080
7400
  applicationInfoByIds: Array<Application>;
7081
7401
  /** Get information for an application and whether a user has approved it for the given scopes. */
7082
7402
  applicationWithAuthorization: UserAuthorizedApplication;
7403
+ /** [Internal] All archived teams of the organization. */
7404
+ archivedTeams: Array<Team>;
7083
7405
  /**
7084
7406
  * One specific issue attachment.
7085
7407
  * [Deprecated] 'url' can no longer be used as the 'id' parameter. Use 'attachmentsForUrl' instead
@@ -7636,6 +7958,10 @@ export declare type QueryProjectsArgs = {
7636
7958
  last?: Maybe<Scalars["Int"]>;
7637
7959
  orderBy?: Maybe<PaginationOrderBy>;
7638
7960
  };
7961
+ export declare type QueryPushSubscriptionTestArgs = {
7962
+ sendStrategy?: Maybe<SendStrategy>;
7963
+ targetMobile?: Maybe<Scalars["Boolean"]>;
7964
+ };
7639
7965
  export declare type QueryRoadmapArgs = {
7640
7966
  id: Scalars["String"];
7641
7967
  };
@@ -7790,19 +8116,25 @@ export declare type Reaction = Node & {
7790
8116
  __typename?: "Reaction";
7791
8117
  /** The time at which the entity was archived. Null if the entity has not been archived. */
7792
8118
  archivedAt?: Maybe<Scalars["DateTime"]>;
8119
+ /** The comment that the reaction is associated with. */
8120
+ comment?: Maybe<Comment>;
7793
8121
  /** The time at which the entity was created. */
7794
8122
  createdAt: Scalars["DateTime"];
7795
8123
  /** Name of the reaction's emoji. */
7796
8124
  emoji: Scalars["String"];
7797
8125
  /** The unique identifier of the entity. */
7798
8126
  id: Scalars["ID"];
8127
+ /** The issue that the reaction is associated with. */
8128
+ issue?: Maybe<Issue>;
8129
+ /** The project update that the reaction is associated with. */
8130
+ projectUpdate?: Maybe<ProjectUpdate>;
7799
8131
  /**
7800
8132
  * The last time at which the entity was meaningfully updated, i.e. for all changes of syncable properties except those
7801
8133
  * for which updates should not produce an update to updatedAt (see skipUpdatedAtKeys). This is the same as the creation time if the entity hasn't
7802
8134
  * been updated after creation.
7803
8135
  */
7804
8136
  updatedAt: Scalars["DateTime"];
7805
- /** The user who reacted. */
8137
+ /** The user that created the reaction. */
7806
8138
  user?: Maybe<User>;
7807
8139
  };
7808
8140
  export declare type ReactionConnection = {
@@ -8094,6 +8426,12 @@ export declare type SamlConfigurationPayload = {
8094
8426
  /** The algorithm of the Signing Certificate. Can be one of `sha1`, `sha256` (default), or `sha512`. */
8095
8427
  ssoSignAlgo?: Maybe<Scalars["String"]>;
8096
8428
  };
8429
+ export declare enum SendStrategy {
8430
+ Desktop = "desktop",
8431
+ DesktopAndPush = "desktopAndPush",
8432
+ DesktopThenPush = "desktopThenPush",
8433
+ Push = "push"
8434
+ }
8097
8435
  /** Sentry specific settings. */
8098
8436
  export declare type SentrySettings = {
8099
8437
  __typename?: "SentrySettings";
@@ -8130,13 +8468,13 @@ export declare type SlaStatusComparator = {
8130
8468
  export declare type SlackAsksSettings = {
8131
8469
  __typename?: "SlackAsksSettings";
8132
8470
  /** The user role type that is allowed to manage Asks settings. */
8133
- canAdministrate?: Maybe<UserRoleType>;
8471
+ canAdministrate: UserRoleType;
8134
8472
  /** The mapping of Slack channel ID => Slack channel name for connected channels. */
8135
8473
  slackChannelMapping?: Maybe<Array<SlackChannelNameMapping>>;
8136
8474
  };
8137
8475
  export declare type SlackAsksSettingsInput = {
8138
8476
  /** The user role type that is allowed to manage Asks settings. */
8139
- canAdministrate?: Maybe<UserRoleType>;
8477
+ canAdministrate: UserRoleType;
8140
8478
  /** The mapping of Slack channel ID => Slack channel name for connected channels. */
8141
8479
  slackChannelMapping?: Maybe<Array<SlackChannelNameMappingInput>>;
8142
8480
  };
@@ -8154,6 +8492,21 @@ export declare type SlackAsksTeamSettingsInput = {
8154
8492
  /** The Linear team ID. */
8155
8493
  id: Scalars["String"];
8156
8494
  };
8495
+ export declare type SlackChannelConnectPayload = {
8496
+ __typename?: "SlackChannelConnectPayload";
8497
+ /** Whether the bot needs to be manually added to the channel. */
8498
+ addBot: Scalars["Boolean"];
8499
+ /** The integration that was created or updated. */
8500
+ integration?: Maybe<Integration>;
8501
+ /** The identifier of the last sync operation. */
8502
+ lastSyncId: Scalars["Float"];
8503
+ /** Whether it's recommended to connect main Slack integration. */
8504
+ nudgeToConnectMainSlackIntegration?: Maybe<Scalars["Boolean"]>;
8505
+ /** Whether it's recommended to update main Slack integration. */
8506
+ nudgeToUpdateMainSlackIntegration?: Maybe<Scalars["Boolean"]>;
8507
+ /** Whether the operation was successful. */
8508
+ success: Scalars["Boolean"];
8509
+ };
8157
8510
  /** Object for mapping Slack channel IDs to names and other settings */
8158
8511
  export declare type SlackChannelNameMapping = {
8159
8512
  __typename?: "SlackChannelNameMapping";
@@ -8163,6 +8516,8 @@ export declare type SlackChannelNameMapping = {
8163
8516
  autoCreateOnEmoji?: Maybe<Scalars["Boolean"]>;
8164
8517
  /** Whether or not top-level messages in this channel should automatically create Asks */
8165
8518
  autoCreateOnMessage?: Maybe<Scalars["Boolean"]>;
8519
+ /** The optional template ID to use for Asks auto-created in this channel. If not set, auto-created Asks won't use any template. */
8520
+ autoCreateTemplateId?: Maybe<Scalars["String"]>;
8166
8521
  /** Whether or not we the Linear Asks bot has been added to this Slack channel */
8167
8522
  botAdded?: Maybe<Scalars["Boolean"]>;
8168
8523
  /** The Slack channel ID. */
@@ -8183,6 +8538,8 @@ export declare type SlackChannelNameMappingInput = {
8183
8538
  autoCreateOnEmoji?: Maybe<Scalars["Boolean"]>;
8184
8539
  /** Whether or not top-level messages in this channel should automatically create Asks */
8185
8540
  autoCreateOnMessage?: Maybe<Scalars["Boolean"]>;
8541
+ /** The optional template ID to use for Asks auto-created in this channel. If not set, auto-created Asks won't use any template. */
8542
+ autoCreateTemplateId?: Maybe<Scalars["String"]>;
8186
8543
  /** Whether or not we the Linear Asks bot has been added to this Slack channel */
8187
8544
  botAdded?: Maybe<Scalars["Boolean"]>;
8188
8545
  /** The Slack channel ID. */
@@ -8196,16 +8553,24 @@ export declare type SlackChannelNameMappingInput = {
8196
8553
  /** Which teams are connected to the channel and settings for those teams */
8197
8554
  teams: Array<SlackAsksTeamSettingsInput>;
8198
8555
  };
8556
+ export declare enum SlackChannelType {
8557
+ DirectMessage = "DirectMessage",
8558
+ MultiPersonDirectMessage = "MultiPersonDirectMessage",
8559
+ Private = "Private",
8560
+ Public = "Public"
8561
+ }
8199
8562
  /** Slack notification specific settings. */
8200
8563
  export declare type SlackPostSettings = {
8201
8564
  __typename?: "SlackPostSettings";
8202
8565
  channel: Scalars["String"];
8203
8566
  channelId: Scalars["String"];
8567
+ channelType?: Maybe<SlackChannelType>;
8204
8568
  configurationUrl: Scalars["String"];
8205
8569
  };
8206
8570
  export declare type SlackPostSettingsInput = {
8207
8571
  channel: Scalars["String"];
8208
8572
  channelId: Scalars["String"];
8573
+ channelType?: Maybe<SlackChannelType>;
8209
8574
  configurationUrl: Scalars["String"];
8210
8575
  };
8211
8576
  /** Settings for the regular Slack integration. */
@@ -8319,23 +8684,6 @@ export declare type SubTypeComparator = {
8319
8684
  /** Null constraint. Matches any non-null values if the given value is false, otherwise it matches null values. */
8320
8685
  null?: Maybe<Scalars["Boolean"]>;
8321
8686
  };
8322
- /** Contains either the full serialized state of the application or delta packets that the requester can apply to the local data set in order to be up-to-date. */
8323
- export declare type SyncResponse = {
8324
- __typename?: "SyncResponse";
8325
- /** The version of the remote database. Incremented by 1 for each migration run on the database. */
8326
- databaseVersion: Scalars["Float"];
8327
- /** JSON serialized delta changes that the client can apply to its local state in order to catch up with the state of the world. */
8328
- delta?: Maybe<Scalars["String"]>;
8329
- /** The last sync id covered by the response. */
8330
- lastSyncId: Scalars["Float"];
8331
- /**
8332
- * The full state of the organization as a serialized JSON object.
8333
- * Mutually exclusive with the delta property
8334
- */
8335
- state?: Maybe<Scalars["String"]>;
8336
- /** The sync groups that the user is subscribed to. */
8337
- subscribedSyncGroups: Array<Scalars["String"]>;
8338
- };
8339
8687
  export declare type SynchronizedPayload = {
8340
8688
  __typename?: "SynchronizedPayload";
8341
8689
  /** The identifier of the last sync operation. */
@@ -8354,6 +8702,8 @@ export declare type Team = Node & {
8354
8702
  autoClosePeriod?: Maybe<Scalars["Float"]>;
8355
8703
  /** The canceled workflow state which auto closed issues will be set to. Defaults to the first canceled state. */
8356
8704
  autoCloseStateId?: Maybe<Scalars["String"]>;
8705
+ /** The automation states for the team. */
8706
+ automationStates: GitAutomationStateConnection;
8357
8707
  /** The team's color. */
8358
8708
  color?: Maybe<Scalars["String"]>;
8359
8709
  /** The time at which the entity was created. */
@@ -8420,7 +8770,7 @@ export declare type Team = Node & {
8420
8770
  issueEstimationType: Scalars["String"];
8421
8771
  /** Whether issues without priority should be sorted first. */
8422
8772
  issueOrderingNoPriorityFirst: Scalars["Boolean"];
8423
- /** Whether to move issues to bottom of the column when changing state. */
8773
+ /** [DEPRECATED] Whether to move issues to bottom of the column when changing state. Use setIssueSortOrderOnStateChange instead. */
8424
8774
  issueSortOrderDefaultToBottom: Scalars["Boolean"];
8425
8775
  /** Issues associated with the team. */
8426
8776
  issues: IssueConnection;
@@ -8452,6 +8802,8 @@ export declare type Team = Node & {
8452
8802
  requirePriorityToLeaveTriage: Scalars["Boolean"];
8453
8803
  /** The workflow state into which issues are moved when a review has been requested for the PR. */
8454
8804
  reviewWorkflowState?: Maybe<WorkflowState>;
8805
+ /** Where to move issues when changing state. */
8806
+ setIssueSortOrderOnStateChange: Scalars["String"];
8455
8807
  /** Whether to send new issue comment notifications to Slack. */
8456
8808
  slackIssueComments: Scalars["Boolean"];
8457
8809
  /** Whether to send new issue status updates to Slack. */
@@ -8482,6 +8834,15 @@ export declare type Team = Node & {
8482
8834
  webhooks: WebhookConnection;
8483
8835
  };
8484
8836
  /** An organizational unit that contains issues. */
8837
+ export declare type TeamAutomationStatesArgs = {
8838
+ after?: Maybe<Scalars["String"]>;
8839
+ before?: Maybe<Scalars["String"]>;
8840
+ first?: Maybe<Scalars["Int"]>;
8841
+ includeArchived?: Maybe<Scalars["Boolean"]>;
8842
+ last?: Maybe<Scalars["Int"]>;
8843
+ orderBy?: Maybe<PaginationOrderBy>;
8844
+ };
8845
+ /** An organizational unit that contains issues. */
8485
8846
  export declare type TeamCyclesArgs = {
8486
8847
  after?: Maybe<Scalars["String"]>;
8487
8848
  before?: Maybe<Scalars["String"]>;
@@ -8573,6 +8934,16 @@ export declare type TeamWebhooksArgs = {
8573
8934
  last?: Maybe<Scalars["Int"]>;
8574
8935
  orderBy?: Maybe<PaginationOrderBy>;
8575
8936
  };
8937
+ /** A generic payload return from entity archive mutations. */
8938
+ export declare type TeamArchivePayload = ArchivePayload & {
8939
+ __typename?: "TeamArchivePayload";
8940
+ /** The archived/unarchived entity. Null if entity was deleted. */
8941
+ entity?: Maybe<Team>;
8942
+ /** The identifier of the last sync operation. */
8943
+ lastSyncId: Scalars["Float"];
8944
+ /** Whether the operation was successful. */
8945
+ success: Scalars["Boolean"];
8946
+ };
8576
8947
  /** Roadmap collection filtering options. */
8577
8948
  export declare type TeamCollectionFilter = {
8578
8949
  /** Compound filters, all of which need to be matched by the roadmap. */
@@ -8645,7 +9016,7 @@ export declare type TeamCreateInput = {
8645
9016
  issueEstimationType?: Maybe<Scalars["String"]>;
8646
9017
  /** Whether issues without priority should be sorted first. */
8647
9018
  issueOrderingNoPriorityFirst?: Maybe<Scalars["Boolean"]>;
8648
- /** Whether to move issues to bottom of the column when changing state. */
9019
+ /** [DEPRECATED] Whether to move issues to bottom of the column when changing state. Use setIssueSortOrderOnStateChange instead. */
8649
9020
  issueSortOrderDefaultToBottom?: Maybe<Scalars["Boolean"]>;
8650
9021
  /** The key of the team. If not given, the key will be generated based on the name of the team. */
8651
9022
  key?: Maybe<Scalars["String"]>;
@@ -8659,6 +9030,8 @@ export declare type TeamCreateInput = {
8659
9030
  private?: Maybe<Scalars["Boolean"]>;
8660
9031
  /** Whether an issue needs to have a priority set before leaving triage. */
8661
9032
  requirePriorityToLeaveTriage?: Maybe<Scalars["Boolean"]>;
9033
+ /** Whether to move issues to bottom of the column when changing state. */
9034
+ setIssueSortOrderOnStateChange?: Maybe<Scalars["String"]>;
8662
9035
  /** The timezone of the team. */
8663
9036
  timezone?: Maybe<Scalars["String"]>;
8664
9037
  /** Whether triage mode is enabled for the team. */
@@ -8868,7 +9241,7 @@ export declare type TeamUpdateInput = {
8868
9241
  issueEstimationType?: Maybe<Scalars["String"]>;
8869
9242
  /** Whether issues without priority should be sorted first. */
8870
9243
  issueOrderingNoPriorityFirst?: Maybe<Scalars["Boolean"]>;
8871
- /** Whether to move issues to bottom of the column when changing state. */
9244
+ /** [DEPRECATED] Whether to move issues to bottom of the column when changing state. Use setIssueSortOrderOnStateChange instead. */
8872
9245
  issueSortOrderDefaultToBottom?: Maybe<Scalars["Boolean"]>;
8873
9246
  /** Whether new users should join this team by default. Mutation restricted to workspace admins! */
8874
9247
  joinByDefault?: Maybe<Scalars["Boolean"]>;
@@ -8888,6 +9261,8 @@ export declare type TeamUpdateInput = {
8888
9261
  requirePriorityToLeaveTriage?: Maybe<Scalars["Boolean"]>;
8889
9262
  /** The workflow state into which issues are moved when a review has been requested for the PR. */
8890
9263
  reviewWorkflowStateId?: Maybe<Scalars["String"]>;
9264
+ /** Whether to move issues to bottom of the column when changing state. */
9265
+ setIssueSortOrderOnStateChange?: Maybe<Scalars["String"]>;
8891
9266
  /** Whether to send new issue comment notifications to Slack. */
8892
9267
  slackIssueComments?: Maybe<Scalars["Boolean"]>;
8893
9268
  /** Whether to send issue status update notifications to Slack. */
@@ -9638,6 +10013,7 @@ export declare enum ViewType {
9638
10013
  MyIssuesCreatedByMe = "myIssuesCreatedByMe",
9639
10014
  MyIssuesSubscribedTo = "myIssuesSubscribedTo",
9640
10015
  Project = "project",
10016
+ ProjectDocuments = "projectDocuments",
9641
10017
  Projects = "projects",
9642
10018
  ProjectsAll = "projectsAll",
9643
10019
  ProjectsBacklog = "projectsBacklog",
@@ -10089,12 +10465,15 @@ export declare type CommentFragment = {
10089
10465
  documentContent?: Maybe<{
10090
10466
  __typename?: "DocumentContent";
10091
10467
  } & DocumentContentFragment>;
10092
- issue: {
10468
+ issue?: Maybe<{
10093
10469
  __typename?: "Issue";
10094
- } & Pick<Issue, "id">;
10470
+ } & Pick<Issue, "id">>;
10095
10471
  parent?: Maybe<{
10096
10472
  __typename?: "Comment";
10097
10473
  } & Pick<Comment, "id">>;
10474
+ projectUpdate?: Maybe<{
10475
+ __typename?: "ProjectUpdate";
10476
+ } & Pick<ProjectUpdate, "id">>;
10098
10477
  resolvingUser?: Maybe<{
10099
10478
  __typename?: "User";
10100
10479
  } & Pick<User, "id">>;
@@ -10204,7 +10583,7 @@ export declare type DocumentContentHistoryFragment = {
10204
10583
  };
10205
10584
  export declare type DocumentFragment = {
10206
10585
  __typename: "Document";
10207
- } & Pick<Document, "color" | "title" | "slugId" | "contentData" | "content" | "icon" | "updatedAt" | "archivedAt" | "createdAt" | "id"> & {
10586
+ } & Pick<Document, "color" | "title" | "slugId" | "contentData" | "content" | "icon" | "updatedAt" | "sortOrder" | "archivedAt" | "createdAt" | "id"> & {
10208
10587
  lastAppliedTemplate?: Maybe<{
10209
10588
  __typename?: "Template";
10210
10589
  } & Pick<Template, "id">>;
@@ -10264,6 +10643,13 @@ export declare type RoadmapArchivePayloadFragment = {
10264
10643
  __typename?: "Roadmap";
10265
10644
  } & Pick<Roadmap, "id">>;
10266
10645
  };
10646
+ export declare type TeamArchivePayloadFragment = {
10647
+ __typename: "TeamArchivePayload";
10648
+ } & Pick<TeamArchivePayload, "lastSyncId" | "success"> & {
10649
+ entity?: Maybe<{
10650
+ __typename?: "Team";
10651
+ } & Pick<Team, "id">>;
10652
+ };
10267
10653
  export declare type WorkflowStateArchivePayloadFragment = {
10268
10654
  __typename: "WorkflowStateArchivePayload";
10269
10655
  } & Pick<WorkflowStateArchivePayload, "lastSyncId" | "success"> & {
@@ -10292,10 +10678,13 @@ declare type ArchivePayload_ProjectArchivePayload_Fragment = {
10292
10678
  declare type ArchivePayload_RoadmapArchivePayload_Fragment = {
10293
10679
  __typename: "RoadmapArchivePayload";
10294
10680
  } & Pick<RoadmapArchivePayload, "lastSyncId" | "success"> & RoadmapArchivePayloadFragment;
10681
+ declare type ArchivePayload_TeamArchivePayload_Fragment = {
10682
+ __typename: "TeamArchivePayload";
10683
+ } & Pick<TeamArchivePayload, "lastSyncId" | "success"> & TeamArchivePayloadFragment;
10295
10684
  declare type ArchivePayload_WorkflowStateArchivePayload_Fragment = {
10296
10685
  __typename: "WorkflowStateArchivePayload";
10297
10686
  } & Pick<WorkflowStateArchivePayload, "lastSyncId" | "success"> & WorkflowStateArchivePayloadFragment;
10298
- export declare type ArchivePayloadFragment = ArchivePayload_AttachmentArchivePayload_Fragment | ArchivePayload_CycleArchivePayload_Fragment | ArchivePayload_DeletePayload_Fragment | ArchivePayload_IssueArchivePayload_Fragment | ArchivePayload_NotificationArchivePayload_Fragment | ArchivePayload_ProjectArchivePayload_Fragment | ArchivePayload_RoadmapArchivePayload_Fragment | ArchivePayload_WorkflowStateArchivePayload_Fragment;
10687
+ export declare type ArchivePayloadFragment = ArchivePayload_AttachmentArchivePayload_Fragment | ArchivePayload_CycleArchivePayload_Fragment | ArchivePayload_DeletePayload_Fragment | ArchivePayload_IssueArchivePayload_Fragment | ArchivePayload_NotificationArchivePayload_Fragment | ArchivePayload_ProjectArchivePayload_Fragment | ArchivePayload_RoadmapArchivePayload_Fragment | ArchivePayload_TeamArchivePayload_Fragment | ArchivePayload_WorkflowStateArchivePayload_Fragment;
10299
10688
  export declare type DeletePayloadFragment = {
10300
10689
  __typename: "DeletePayload";
10301
10690
  } & Pick<DeletePayload, "entityId" | "lastSyncId" | "success">;
@@ -10430,13 +10819,22 @@ export declare type ProjectFragment = {
10430
10819
  convertedFromIssue?: Maybe<{
10431
10820
  __typename?: "Issue";
10432
10821
  } & Pick<Issue, "id">>;
10433
- creator: {
10822
+ creator?: Maybe<{
10434
10823
  __typename?: "User";
10435
- } & Pick<User, "id">;
10824
+ } & Pick<User, "id">>;
10436
10825
  };
10437
10826
  export declare type ReactionFragment = {
10438
10827
  __typename: "Reaction";
10439
10828
  } & Pick<Reaction, "emoji" | "updatedAt" | "archivedAt" | "createdAt" | "id"> & {
10829
+ comment?: Maybe<{
10830
+ __typename?: "Comment";
10831
+ } & Pick<Comment, "id">>;
10832
+ issue?: Maybe<{
10833
+ __typename?: "Issue";
10834
+ } & Pick<Issue, "id">>;
10835
+ projectUpdate?: Maybe<{
10836
+ __typename?: "ProjectUpdate";
10837
+ } & Pick<ProjectUpdate, "id">>;
10440
10838
  user?: Maybe<{
10441
10839
  __typename?: "User";
10442
10840
  } & Pick<User, "id">>;
@@ -10590,6 +10988,16 @@ export declare type TemplateFragment = {
10590
10988
  __typename?: "User";
10591
10989
  } & Pick<User, "id">>;
10592
10990
  };
10991
+ export declare type GitAutomationStateFragment = {
10992
+ __typename: "GitAutomationState";
10993
+ } & Pick<GitAutomationState, "updatedAt" | "branchPattern" | "archivedAt" | "createdAt" | "id"> & {
10994
+ state?: Maybe<{
10995
+ __typename?: "WorkflowState";
10996
+ } & Pick<WorkflowState, "id">>;
10997
+ team: {
10998
+ __typename?: "Team";
10999
+ } & Pick<Team, "id">;
11000
+ };
10593
11001
  export declare type ProjectUpdateFragment = {
10594
11002
  __typename: "ProjectUpdate";
10595
11003
  } & Pick<ProjectUpdate, "url" | "diffMarkdown" | "diff" | "updatedAt" | "archivedAt" | "createdAt" | "editedAt" | "id" | "body"> & {
@@ -10630,7 +11038,7 @@ export declare type UserNotificationSubscriptionFragment = {
10630
11038
  };
10631
11039
  export declare type AuthUserFragment = {
10632
11040
  __typename: "AuthUser";
10633
- } & Pick<AuthUser, "avatarUrl" | "displayName" | "email" | "name" | "id"> & {
11041
+ } & Pick<AuthUser, "avatarUrl" | "displayName" | "email" | "name" | "active" | "id"> & {
10634
11042
  organization: {
10635
11043
  __typename?: "AuthOrganization";
10636
11044
  } & AuthOrganizationFragment;
@@ -10654,9 +11062,19 @@ export declare type WebhookFragment = {
10654
11062
  export declare type ApiKeyFragment = {
10655
11063
  __typename: "ApiKey";
10656
11064
  } & Pick<ApiKey, "label" | "updatedAt" | "archivedAt" | "createdAt" | "id">;
11065
+ export declare type EmailIntakeAddressFragment = {
11066
+ __typename: "EmailIntakeAddress";
11067
+ } & Pick<EmailIntakeAddress, "updatedAt" | "archivedAt" | "createdAt" | "id" | "address" | "enabled"> & {
11068
+ team: {
11069
+ __typename?: "Team";
11070
+ } & Pick<Team, "id">;
11071
+ creator?: Maybe<{
11072
+ __typename?: "User";
11073
+ } & Pick<User, "id">>;
11074
+ };
10657
11075
  export declare type ProjectLinkFragment = {
10658
11076
  __typename: "ProjectLink";
10659
- } & Pick<ProjectLink, "updatedAt" | "url" | "label" | "archivedAt" | "createdAt" | "id"> & {
11077
+ } & Pick<ProjectLink, "updatedAt" | "url" | "label" | "sortOrder" | "archivedAt" | "createdAt" | "id"> & {
10660
11078
  project: {
10661
11079
  __typename?: "Project";
10662
11080
  } & Pick<Project, "id">;
@@ -10724,7 +11142,10 @@ export declare type IssueNotificationFragment = {
10724
11142
  };
10725
11143
  export declare type IssueFragment = {
10726
11144
  __typename: "Issue";
10727
- } & Pick<Issue, "trashed" | "url" | "identifier" | "priorityLabel" | "previousIdentifiers" | "customerTicketCount" | "branchName" | "dueDate" | "estimate" | "description" | "title" | "number" | "updatedAt" | "boardOrder" | "sortOrder" | "subIssueSortOrder" | "priority" | "archivedAt" | "createdAt" | "startedTriageAt" | "triagedAt" | "autoArchivedAt" | "autoClosedAt" | "canceledAt" | "completedAt" | "startedAt" | "snoozedUntilAt" | "id"> & {
11145
+ } & Pick<Issue, "trashed" | "labelIds" | "url" | "identifier" | "priorityLabel" | "previousIdentifiers" | "customerTicketCount" | "branchName" | "dueDate" | "estimate" | "description" | "title" | "number" | "updatedAt" | "boardOrder" | "sortOrder" | "subIssueSortOrder" | "priority" | "archivedAt" | "createdAt" | "startedTriageAt" | "triagedAt" | "autoArchivedAt" | "autoClosedAt" | "canceledAt" | "completedAt" | "startedAt" | "snoozedUntilAt" | "id"> & {
11146
+ botActor?: Maybe<{
11147
+ __typename?: "ActorBot";
11148
+ } & ActorBotFragment>;
10728
11149
  cycle?: Maybe<{
10729
11150
  __typename?: "Cycle";
10730
11151
  } & Pick<Cycle, "id">>;
@@ -10777,17 +11198,17 @@ export declare type OauthClientApprovalNotificationFragment = {
10777
11198
  };
10778
11199
  export declare type OrganizationFragment = {
10779
11200
  __typename: "Organization";
10780
- } & Pick<Organization, "allowedAuthServices" | "gitBranchFormat" | "userCount" | "createdIssueCount" | "previousUrlKeys" | "periodUploadVolume" | "projectUpdateRemindersHour" | "updatedAt" | "logoUrl" | "name" | "urlKey" | "deletionRequestedAt" | "archivedAt" | "createdAt" | "trialEndsAt" | "id" | "samlEnabled" | "scimEnabled" | "allowMembersToInvite" | "gitLinkbackMessagesEnabled" | "gitPublicLinkbackMessagesEnabled" | "roadmapEnabled"> & {
11201
+ } & Pick<Organization, "allowedAuthServices" | "gitBranchFormat" | "userCount" | "createdIssueCount" | "previousUrlKeys" | "periodUploadVolume" | "projectUpdateRemindersHour" | "updatedAt" | "fiscalYearStartMonth" | "logoUrl" | "name" | "urlKey" | "deletionRequestedAt" | "archivedAt" | "createdAt" | "trialEndsAt" | "id" | "samlEnabled" | "scimEnabled" | "allowMembersToInvite" | "gitLinkbackMessagesEnabled" | "gitPublicLinkbackMessagesEnabled" | "roadmapEnabled"> & {
10781
11202
  subscription?: Maybe<{
10782
11203
  __typename?: "PaidSubscription";
10783
11204
  } & PaidSubscriptionFragment>;
10784
11205
  };
10785
11206
  export declare type AuthOrganizationFragment = {
10786
11207
  __typename: "AuthOrganization";
10787
- } & Pick<AuthOrganization, "allowedAuthServices" | "previousUrlKeys" | "logoUrl" | "name" | "urlKey" | "deletionRequestedAt" | "samlEnabled" | "id" | "userCount">;
11208
+ } & Pick<AuthOrganization, "allowedAuthServices" | "previousUrlKeys" | "logoUrl" | "name" | "urlKey" | "deletionRequestedAt" | "id" | "samlEnabled" | "scimEnabled" | "userCount">;
10788
11209
  export declare type TeamFragment = {
10789
11210
  __typename: "Team";
10790
- } & Pick<Team, "cycleIssueAutoAssignCompleted" | "cycleLockToActive" | "cycleIssueAutoAssignStarted" | "cycleCalenderUrl" | "upcomingCycleCount" | "issueCount" | "autoArchivePeriod" | "autoClosePeriod" | "autoCloseStateId" | "cycleCooldownTime" | "cycleStartDay" | "cycleDuration" | "icon" | "defaultTemplateForMembersId" | "defaultTemplateForNonMembersId" | "issueEstimationType" | "updatedAt" | "color" | "description" | "name" | "key" | "archivedAt" | "createdAt" | "timezone" | "id" | "inviteHash" | "defaultIssueEstimate" | "requirePriorityToLeaveTriage" | "issueOrderingNoPriorityFirst" | "private" | "cyclesEnabled" | "issueEstimationExtended" | "issueEstimationAllowZero" | "groupIssueHistory" | "issueSortOrderDefaultToBottom" | "slackIssueComments" | "slackNewIssue" | "slackIssueStatuses" | "triageEnabled"> & {
11211
+ } & Pick<Team, "cycleIssueAutoAssignCompleted" | "cycleLockToActive" | "cycleIssueAutoAssignStarted" | "cycleCalenderUrl" | "upcomingCycleCount" | "issueCount" | "autoArchivePeriod" | "autoClosePeriod" | "autoCloseStateId" | "cycleCooldownTime" | "cycleStartDay" | "cycleDuration" | "icon" | "defaultTemplateForMembersId" | "defaultTemplateForNonMembersId" | "issueEstimationType" | "updatedAt" | "color" | "description" | "name" | "key" | "archivedAt" | "createdAt" | "timezone" | "id" | "inviteHash" | "defaultIssueEstimate" | "setIssueSortOrderOnStateChange" | "requirePriorityToLeaveTriage" | "issueOrderingNoPriorityFirst" | "private" | "cyclesEnabled" | "issueEstimationExtended" | "issueEstimationAllowZero" | "groupIssueHistory" | "slackIssueComments" | "slackNewIssue" | "slackIssueStatuses" | "triageEnabled" | "issueSortOrderDefaultToBottom"> & {
10791
11212
  integrationsSettings?: Maybe<{
10792
11213
  __typename?: "IntegrationsSettings";
10793
11214
  } & Pick<IntegrationsSettings, "id">>;
@@ -10828,9 +11249,15 @@ export declare type TeamFragment = {
10828
11249
  __typename?: "WorkflowState";
10829
11250
  } & Pick<WorkflowState, "id">>;
10830
11251
  };
10831
- export declare type SyncResponseFragment = {
10832
- __typename: "SyncResponse";
10833
- } & Pick<SyncResponse, "delta" | "state" | "lastSyncId" | "subscribedSyncGroups" | "databaseVersion">;
11252
+ export declare type AuthOauthClientWithScopeFragment = {
11253
+ __typename: "AuthOauthClientWithScope";
11254
+ } & Pick<AuthOauthClientWithScope, "name" | "imageUrl" | "appId" | "clientId" | "scope" | "webhookUrl">;
11255
+ export declare type AuthOauthClientWithMembershipsFragment = {
11256
+ __typename: "AuthOauthClientWithMemberships";
11257
+ } & Pick<AuthOauthClientWithMemberships, "name" | "imageUrl" | "appId" | "clientId" | "scope" | "webhookUrl" | "totalMembers">;
11258
+ export declare type AuthenticationSessionResponseFragment = {
11259
+ __typename: "AuthenticationSessionResponse";
11260
+ } & Pick<AuthenticationSessionResponse, "client" | "countryCodes" | "createdAt" | "updatedAt" | "location" | "ip" | "isCurrentSession" | "locationCity" | "locationCountryCode" | "locationCountry" | "name" | "operatingSystem" | "userAgent" | "browserType" | "lastActiveAt" | "id">;
10834
11261
  export declare type ArchiveResponseFragment = {
10835
11262
  __typename: "ArchiveResponse";
10836
11263
  } & Pick<ArchiveResponse, "archive" | "totalCount" | "databaseVersion" | "includesDependencies">;
@@ -10861,9 +11288,9 @@ export declare type GithubOAuthTokenPayloadFragment = {
10861
11288
  __typename?: "GithubOrg";
10862
11289
  } & GithubOrgFragment>>;
10863
11290
  };
10864
- export declare type GitHubSyncRepoFragment = {
10865
- __typename: "GitHubSyncRepo";
10866
- } & Pick<GitHubSyncRepo, "id" | "fullName">;
11291
+ export declare type GitHubRepoFragment = {
11292
+ __typename: "GitHubRepo";
11293
+ } & Pick<GitHubRepo, "id" | "fullName">;
10867
11294
  export declare type GoogleSheetsSettingsFragment = {
10868
11295
  __typename: "GoogleSheetsSettings";
10869
11296
  } & Pick<GoogleSheetsSettings, "sheetId" | "spreadsheetId" | "spreadsheetUrl" | "updatedIssuesAt">;
@@ -10898,7 +11325,7 @@ export declare type JiraPersonalSettingsFragment = {
10898
11325
  } & Pick<JiraPersonalSettings, "siteName">;
10899
11326
  export declare type JiraSettingsFragment = {
10900
11327
  __typename: "JiraSettings";
10901
- } & {
11328
+ } & Pick<JiraSettings, "isJiraServer"> & {
10902
11329
  projects: Array<{
10903
11330
  __typename?: "JiraProjectData";
10904
11331
  } & JiraProjectDataFragment>;
@@ -10945,19 +11372,19 @@ export declare type JiraProjectDataFragment = {
10945
11372
  export declare type PagerDutyScheduleInfoFragment = {
10946
11373
  __typename: "PagerDutyScheduleInfo";
10947
11374
  } & Pick<PagerDutyScheduleInfo, "scheduleId" | "scheduleName" | "url">;
10948
- export declare type GitHubSyncSettingsFragment = {
10949
- __typename: "GitHubSyncSettings";
10950
- } & {
10951
- repoMapping?: Maybe<Array<{
11375
+ export declare type GitHubPersonalSettingsFragment = {
11376
+ __typename: "GitHubPersonalSettings";
11377
+ } & Pick<GitHubPersonalSettings, "login">;
11378
+ export declare type GitHubSettingsFragment = {
11379
+ __typename: "GitHubSettings";
11380
+ } & Pick<GitHubSettings, "orgLogin" | "orgAvatarUrl"> & {
11381
+ repositoriesMapping?: Maybe<Array<{
10952
11382
  __typename?: "TeamRepoMapping";
10953
11383
  } & TeamRepoMappingFragment>>;
10954
- repos?: Maybe<Array<{
10955
- __typename?: "GitHubSyncRepo";
10956
- } & GitHubSyncRepoFragment>>;
11384
+ repositories?: Maybe<Array<{
11385
+ __typename?: "GitHubRepo";
11386
+ } & GitHubRepoFragment>>;
10957
11387
  };
10958
- export declare type GitHubSettingsFragment = {
10959
- __typename: "GitHubSettings";
10960
- } & Pick<GitHubSettings, "orgLogin" | "orgAvatarUrl" | "repositories">;
10961
11388
  export declare type GitLabSettingsFragment = {
10962
11389
  __typename: "GitLabSettings";
10963
11390
  } & Pick<GitLabSettings, "expiresAt" | "url" | "readonly">;
@@ -11124,7 +11551,7 @@ export declare type OauthClientFragment = {
11124
11551
  };
11125
11552
  export declare type SlackChannelNameMappingFragment = {
11126
11553
  __typename: "SlackChannelNameMapping";
11127
- } & Pick<SlackChannelNameMapping, "id" | "name" | "autoCreateOnBotMention" | "isPrivate" | "isShared" | "autoCreateOnMessage" | "autoCreateOnEmoji" | "botAdded"> & {
11554
+ } & Pick<SlackChannelNameMapping, "id" | "name" | "autoCreateTemplateId" | "autoCreateOnBotMention" | "isPrivate" | "isShared" | "autoCreateOnMessage" | "autoCreateOnEmoji" | "botAdded"> & {
11128
11555
  teams: Array<{
11129
11556
  __typename?: "SlackAsksTeamSettings";
11130
11557
  } & SlackAsksTeamSettingsFragment>;
@@ -11197,9 +11624,9 @@ export declare type IntegrationSettingsFragment = {
11197
11624
  gitHub?: Maybe<{
11198
11625
  __typename?: "GitHubSettings";
11199
11626
  } & GitHubSettingsFragment>;
11200
- gitHubSync?: Maybe<{
11201
- __typename?: "GitHubSyncSettings";
11202
- } & GitHubSyncSettingsFragment>;
11627
+ gitHubPersonal?: Maybe<{
11628
+ __typename?: "GitHubPersonalSettings";
11629
+ } & GitHubPersonalSettingsFragment>;
11203
11630
  gitLab?: Maybe<{
11204
11631
  __typename?: "GitLabSettings";
11205
11632
  } & GitLabSettingsFragment>;
@@ -11262,7 +11689,7 @@ export declare type UserSettingsFragment = {
11262
11689
  };
11263
11690
  export declare type JiraLinearMappingFragment = {
11264
11691
  __typename: "JiraLinearMapping";
11265
- } & Pick<JiraLinearMapping, "jiraProjectId" | "linearTeamId">;
11692
+ } & Pick<JiraLinearMapping, "jiraProjectId" | "linearTeamId" | "bidirectional" | "default">;
11266
11693
  export declare type TeamRepoMappingFragment = {
11267
11694
  __typename: "TeamRepoMapping";
11268
11695
  } & Pick<TeamRepoMapping, "gitHubRepoId" | "linearTeamId">;
@@ -11388,9 +11815,6 @@ export declare type AuditEntryTypeFragment = {
11388
11815
  export declare type AuthApiKeyFragment = {
11389
11816
  __typename: "AuthApiKey";
11390
11817
  } & Pick<AuthApiKey, "id">;
11391
- export declare type AuthApiKeyDeletePayloadFragment = {
11392
- __typename: "AuthApiKeyDeletePayload";
11393
- } & Pick<AuthApiKeyDeletePayload, "success">;
11394
11818
  export declare type AuthApiKeyPayloadFragment = {
11395
11819
  __typename: "AuthApiKeyPayload";
11396
11820
  } & Pick<AuthApiKeyPayload, "success"> & {
@@ -11398,9 +11822,41 @@ export declare type AuthApiKeyPayloadFragment = {
11398
11822
  __typename?: "AuthApiKey";
11399
11823
  } & AuthApiKeyFragment;
11400
11824
  };
11825
+ export declare type AuthCreateOrJoinOrganizationResponseFragment = {
11826
+ __typename: "AuthCreateOrJoinOrganizationResponse";
11827
+ } & Pick<AuthCreateOrJoinOrganizationResponse, "grantDomainAccess"> & {
11828
+ authOrganization: {
11829
+ __typename?: "AuthOrganization";
11830
+ } & AuthOrganizationFragment;
11831
+ authUser: {
11832
+ __typename?: "AuthUser";
11833
+ } & AuthUserFragment;
11834
+ organization: {
11835
+ __typename?: "AuthOrganization";
11836
+ } & AuthOrganizationFragment;
11837
+ user: {
11838
+ __typename?: "AuthUser";
11839
+ } & AuthUserFragment;
11840
+ };
11401
11841
  export declare type AuthIntegrationFragment = {
11402
11842
  __typename: "AuthIntegration";
11403
11843
  } & Pick<AuthIntegration, "id">;
11844
+ export declare type AuthOauthClientFragment = {
11845
+ __typename: "AuthOauthClient";
11846
+ } & Pick<AuthOauthClient, "imageUrl" | "description" | "redirectUris" | "developer" | "clientId" | "name" | "clientSecret" | "creatorId" | "organizationId" | "id" | "developerUrl" | "webhookUrl" | "publicEnabled" | "archivedAt">;
11847
+ export declare type AuthOauthClientWithTokensFragment = {
11848
+ __typename: "AuthOauthClientWithTokens";
11849
+ } & {
11850
+ client: {
11851
+ __typename?: "AuthOauthClient";
11852
+ } & AuthOauthClientFragment;
11853
+ tokens: Array<{
11854
+ __typename?: "OauthToken";
11855
+ } & OauthTokenFragment>;
11856
+ };
11857
+ export declare type AuthOrganizationDomainFragment = {
11858
+ __typename: "AuthOrganizationDomain";
11859
+ } & Pick<AuthOrganizationDomain, "id">;
11404
11860
  export declare type AuthResolverResponseFragment = {
11405
11861
  __typename: "AuthResolverResponse";
11406
11862
  } & Pick<AuthResolverResponse, "email" | "lastUsedOrganizationId" | "token" | "allowDomainAccess" | "id"> & {
@@ -11414,9 +11870,12 @@ export declare type AuthResolverResponseFragment = {
11414
11870
  __typename?: "AuthUser";
11415
11871
  } & AuthUserFragment>;
11416
11872
  };
11417
- export declare type AuthenticationSessionResponseFragment = {
11418
- __typename: "AuthenticationSessionResponse";
11419
- } & Pick<AuthenticationSessionResponse, "client" | "countryCodes" | "createdAt" | "updatedAt" | "location" | "ip" | "isCurrentSession" | "locationCity" | "locationCountryCode" | "locationCountry" | "name" | "operatingSystem" | "userAgent" | "browserType" | "lastActiveAt" | "id">;
11873
+ export declare type AuthSuccessPayloadFragment = {
11874
+ __typename: "AuthSuccessPayload";
11875
+ } & Pick<AuthSuccessPayload, "success">;
11876
+ export declare type AuthorizedApplicationBaseFragment = {
11877
+ __typename: "AuthorizedApplicationBase";
11878
+ } & Pick<AuthorizedApplicationBase, "name" | "imageUrl" | "appId" | "clientId" | "scope">;
11420
11879
  export declare type CommentConnectionFragment = {
11421
11880
  __typename: "CommentConnection";
11422
11881
  } & {
@@ -11542,7 +12001,7 @@ export declare type DocumentSearchPayloadFragment = {
11542
12001
  };
11543
12002
  export declare type DocumentSearchResultFragment = {
11544
12003
  __typename: "DocumentSearchResult";
11545
- } & Pick<DocumentSearchResult, "metadata" | "color" | "title" | "slugId" | "contentData" | "content" | "icon" | "updatedAt" | "archivedAt" | "createdAt" | "id"> & {
12004
+ } & Pick<DocumentSearchResult, "metadata" | "color" | "title" | "slugId" | "contentData" | "content" | "icon" | "updatedAt" | "sortOrder" | "archivedAt" | "createdAt" | "id"> & {
11546
12005
  lastAppliedTemplate?: Maybe<{
11547
12006
  __typename?: "Template";
11548
12007
  } & Pick<Template, "id">>;
@@ -11609,6 +12068,23 @@ export declare type FavoritePayloadFragment = {
11609
12068
  export declare type FrontAttachmentPayloadFragment = {
11610
12069
  __typename: "FrontAttachmentPayload";
11611
12070
  } & Pick<FrontAttachmentPayload, "lastSyncId" | "success">;
12071
+ export declare type GitAutomationStateConnectionFragment = {
12072
+ __typename: "GitAutomationStateConnection";
12073
+ } & {
12074
+ nodes: Array<{
12075
+ __typename?: "GitAutomationState";
12076
+ } & GitAutomationStateFragment>;
12077
+ pageInfo: {
12078
+ __typename?: "PageInfo";
12079
+ } & PageInfoFragment;
12080
+ };
12081
+ export declare type GitAutomationStatePayloadFragment = {
12082
+ __typename: "GitAutomationStatePayload";
12083
+ } & Pick<GitAutomationStatePayload, "lastSyncId" | "success"> & {
12084
+ gitAutomationState: {
12085
+ __typename?: "GitAutomationState";
12086
+ } & GitAutomationStateFragment;
12087
+ };
11612
12088
  export declare type GitHubCommitIntegrationPayloadFragment = {
11613
12089
  __typename: "GitHubCommitIntegrationPayload";
11614
12090
  } & Pick<GitHubCommitIntegrationPayload, "lastSyncId" | "webhookSecret" | "success"> & {
@@ -11779,7 +12255,10 @@ export declare type IssueSearchPayloadFragment = {
11779
12255
  };
11780
12256
  export declare type IssueSearchResultFragment = {
11781
12257
  __typename: "IssueSearchResult";
11782
- } & Pick<IssueSearchResult, "trashed" | "url" | "identifier" | "priorityLabel" | "metadata" | "previousIdentifiers" | "customerTicketCount" | "branchName" | "dueDate" | "estimate" | "description" | "title" | "number" | "updatedAt" | "boardOrder" | "sortOrder" | "subIssueSortOrder" | "priority" | "archivedAt" | "createdAt" | "startedTriageAt" | "triagedAt" | "autoArchivedAt" | "autoClosedAt" | "canceledAt" | "completedAt" | "startedAt" | "snoozedUntilAt" | "id"> & {
12258
+ } & Pick<IssueSearchResult, "trashed" | "labelIds" | "url" | "identifier" | "priorityLabel" | "metadata" | "previousIdentifiers" | "customerTicketCount" | "branchName" | "dueDate" | "estimate" | "description" | "title" | "number" | "updatedAt" | "boardOrder" | "sortOrder" | "subIssueSortOrder" | "priority" | "archivedAt" | "createdAt" | "startedTriageAt" | "triagedAt" | "autoArchivedAt" | "autoClosedAt" | "canceledAt" | "completedAt" | "startedAt" | "snoozedUntilAt" | "id"> & {
12259
+ botActor?: Maybe<{
12260
+ __typename?: "ActorBot";
12261
+ } & ActorBotFragment>;
11783
12262
  cycle?: Maybe<{
11784
12263
  __typename?: "Cycle";
11785
12264
  } & Pick<Cycle, "id">>;
@@ -11866,6 +12345,9 @@ declare type Node_DocumentContentHistory_Fragment = {
11866
12345
  declare type Node_DocumentSearchResult_Fragment = {
11867
12346
  __typename: "DocumentSearchResult";
11868
12347
  } & Pick<DocumentSearchResult, "id">;
12348
+ declare type Node_EmailIntakeAddress_Fragment = {
12349
+ __typename: "EmailIntakeAddress";
12350
+ } & Pick<EmailIntakeAddress, "id">;
11869
12351
  declare type Node_Emoji_Fragment = {
11870
12352
  __typename: "Emoji";
11871
12353
  } & Pick<Emoji, "id">;
@@ -11875,6 +12357,9 @@ declare type Node_ExternalUser_Fragment = {
11875
12357
  declare type Node_Favorite_Fragment = {
11876
12358
  __typename: "Favorite";
11877
12359
  } & Pick<Favorite, "id">;
12360
+ declare type Node_GitAutomationState_Fragment = {
12361
+ __typename: "GitAutomationState";
12362
+ } & Pick<GitAutomationState, "id">;
11878
12363
  declare type Node_Integration_Fragment = {
11879
12364
  __typename: "Integration";
11880
12365
  } & Pick<Integration, "id">;
@@ -12007,7 +12492,7 @@ declare type Node_WorkflowDefinition_Fragment = {
12007
12492
  declare type Node_WorkflowState_Fragment = {
12008
12493
  __typename: "WorkflowState";
12009
12494
  } & Pick<WorkflowState, "id">;
12010
- export declare type NodeFragment = Node_ApiKey_Fragment | Node_Attachment_Fragment | Node_AuditEntry_Fragment | Node_Comment_Fragment | Node_Company_Fragment | Node_CustomView_Fragment | Node_CustomViewNotificationSubscription_Fragment | Node_Cycle_Fragment | Node_CycleNotificationSubscription_Fragment | Node_Document_Fragment | Node_DocumentContent_Fragment | Node_DocumentContentHistory_Fragment | Node_DocumentSearchResult_Fragment | Node_Emoji_Fragment | Node_ExternalUser_Fragment | Node_Favorite_Fragment | Node_Integration_Fragment | Node_IntegrationTemplate_Fragment | Node_IntegrationsSettings_Fragment | Node_Issue_Fragment | Node_IssueDraft_Fragment | Node_IssueHistory_Fragment | Node_IssueImport_Fragment | Node_IssueLabel_Fragment | Node_IssueNotification_Fragment | Node_IssueRelation_Fragment | Node_IssueSearchResult_Fragment | Node_LabelNotificationSubscription_Fragment | Node_OauthClient_Fragment | Node_OauthClientApproval_Fragment | Node_OauthClientApprovalNotification_Fragment | Node_Organization_Fragment | Node_OrganizationDomain_Fragment | Node_OrganizationInvite_Fragment | Node_PaidSubscription_Fragment | Node_Project_Fragment | Node_ProjectLink_Fragment | Node_ProjectMilestone_Fragment | Node_ProjectNotification_Fragment | Node_ProjectNotificationSubscription_Fragment | Node_ProjectSearchResult_Fragment | Node_ProjectUpdate_Fragment | Node_ProjectUpdateInteraction_Fragment | Node_PushSubscription_Fragment | Node_Reaction_Fragment | Node_Roadmap_Fragment | Node_RoadmapToProject_Fragment | Node_Team_Fragment | Node_TeamMembership_Fragment | Node_TeamNotificationSubscription_Fragment | Node_Template_Fragment | Node_TriageResponsibility_Fragment | Node_User_Fragment | Node_UserNotificationSubscription_Fragment | Node_UserSettings_Fragment | Node_ViewPreferences_Fragment | Node_Webhook_Fragment | Node_WorkflowCronJobDefinition_Fragment | Node_WorkflowDefinition_Fragment | Node_WorkflowState_Fragment;
12495
+ export declare type NodeFragment = Node_ApiKey_Fragment | Node_Attachment_Fragment | Node_AuditEntry_Fragment | Node_Comment_Fragment | Node_Company_Fragment | Node_CustomView_Fragment | Node_CustomViewNotificationSubscription_Fragment | Node_Cycle_Fragment | Node_CycleNotificationSubscription_Fragment | Node_Document_Fragment | Node_DocumentContent_Fragment | Node_DocumentContentHistory_Fragment | Node_DocumentSearchResult_Fragment | Node_EmailIntakeAddress_Fragment | Node_Emoji_Fragment | Node_ExternalUser_Fragment | Node_Favorite_Fragment | Node_GitAutomationState_Fragment | Node_Integration_Fragment | Node_IntegrationTemplate_Fragment | Node_IntegrationsSettings_Fragment | Node_Issue_Fragment | Node_IssueDraft_Fragment | Node_IssueHistory_Fragment | Node_IssueImport_Fragment | Node_IssueLabel_Fragment | Node_IssueNotification_Fragment | Node_IssueRelation_Fragment | Node_IssueSearchResult_Fragment | Node_LabelNotificationSubscription_Fragment | Node_OauthClient_Fragment | Node_OauthClientApproval_Fragment | Node_OauthClientApprovalNotification_Fragment | Node_Organization_Fragment | Node_OrganizationDomain_Fragment | Node_OrganizationInvite_Fragment | Node_PaidSubscription_Fragment | Node_Project_Fragment | Node_ProjectLink_Fragment | Node_ProjectMilestone_Fragment | Node_ProjectNotification_Fragment | Node_ProjectNotificationSubscription_Fragment | Node_ProjectSearchResult_Fragment | Node_ProjectUpdate_Fragment | Node_ProjectUpdateInteraction_Fragment | Node_PushSubscription_Fragment | Node_Reaction_Fragment | Node_Roadmap_Fragment | Node_RoadmapToProject_Fragment | Node_Team_Fragment | Node_TeamMembership_Fragment | Node_TeamNotificationSubscription_Fragment | Node_Template_Fragment | Node_TriageResponsibility_Fragment | Node_User_Fragment | Node_UserNotificationSubscription_Fragment | Node_UserSettings_Fragment | Node_ViewPreferences_Fragment | Node_Webhook_Fragment | Node_WorkflowCronJobDefinition_Fragment | Node_WorkflowDefinition_Fragment | Node_WorkflowState_Fragment;
12011
12496
  export declare type NotificationBatchActionPayloadFragment = {
12012
12497
  __typename: "NotificationBatchActionPayload";
12013
12498
  } & Pick<NotificationBatchActionPayload, "lastSyncId" | "success"> & {
@@ -12091,6 +12576,9 @@ export declare type OauthClientConnectionFragment = {
12091
12576
  __typename?: "PageInfo";
12092
12577
  } & PageInfoFragment;
12093
12578
  };
12579
+ export declare type OauthTokenFragment = {
12580
+ __typename: "OauthToken";
12581
+ } & Pick<OauthToken, "createdAt" | "id">;
12094
12582
  export declare type OrganizationCancelDeletePayloadFragment = {
12095
12583
  __typename: "OrganizationCancelDeletePayload";
12096
12584
  } & Pick<OrganizationCancelDeletePayload, "success">;
@@ -12211,9 +12699,9 @@ export declare type ProjectSearchResultFragment = {
12211
12699
  convertedFromIssue?: Maybe<{
12212
12700
  __typename?: "Issue";
12213
12701
  } & Pick<Issue, "id">>;
12214
- creator: {
12702
+ creator?: Maybe<{
12215
12703
  __typename?: "User";
12216
- } & Pick<User, "id">;
12704
+ } & Pick<User, "id">>;
12217
12705
  };
12218
12706
  export declare type ProjectSearchResultConnectionFragment = {
12219
12707
  __typename: "ProjectSearchResultConnection";
@@ -12356,6 +12844,13 @@ export declare type RoadmapToProjectPayloadFragment = {
12356
12844
  export declare type SamlConfigurationFragment = {
12357
12845
  __typename: "SamlConfiguration";
12358
12846
  } & Pick<SamlConfiguration, "ssoBinding" | "ssoEndpoint" | "ssoSignAlgo" | "issuerEntityId" | "ssoSigningCert">;
12847
+ export declare type SlackChannelConnectPayloadFragment = {
12848
+ __typename: "SlackChannelConnectPayload";
12849
+ } & Pick<SlackChannelConnectPayload, "lastSyncId" | "nudgeToConnectMainSlackIntegration" | "nudgeToUpdateMainSlackIntegration" | "addBot" | "success"> & {
12850
+ integration?: Maybe<{
12851
+ __typename?: "Integration";
12852
+ } & Pick<Integration, "id">>;
12853
+ };
12359
12854
  export declare type SsoUrlFromEmailResponseFragment = {
12360
12855
  __typename: "SsoUrlFromEmailResponse";
12361
12856
  } & Pick<SsoUrlFromEmailResponse, "samlSsoUrl" | "success">;
@@ -12399,6 +12894,9 @@ export declare type TeamPayloadFragment = {
12399
12894
  export declare type TemplateConnectionFragment = {
12400
12895
  __typename: "TemplateConnection";
12401
12896
  } & {
12897
+ nodes: Array<{
12898
+ __typename?: "Template";
12899
+ } & TemplateFragment>;
12402
12900
  pageInfo: {
12403
12901
  __typename?: "PageInfo";
12404
12902
  } & PageInfoFragment;
@@ -12650,6 +13148,20 @@ export declare type AttachmentIssue_AttachmentsQuery = {
12650
13148
  } & AttachmentConnectionFragment;
12651
13149
  };
12652
13150
  };
13151
+ export declare type AttachmentIssue_BotActorQueryVariables = Exact<{
13152
+ id: Scalars["String"];
13153
+ }>;
13154
+ export declare type AttachmentIssue_BotActorQuery = {
13155
+ __typename?: "Query";
13156
+ } & {
13157
+ attachmentIssue: {
13158
+ __typename?: "Issue";
13159
+ } & {
13160
+ botActor?: Maybe<{
13161
+ __typename?: "ActorBot";
13162
+ } & ActorBotFragment>;
13163
+ };
13164
+ };
12653
13165
  export declare type AttachmentIssue_ChildrenQueryVariables = Exact<{
12654
13166
  id: Scalars["String"];
12655
13167
  after?: Maybe<Scalars["String"]>;
@@ -13247,6 +13759,20 @@ export declare type Issue_AttachmentsQuery = {
13247
13759
  } & AttachmentConnectionFragment;
13248
13760
  };
13249
13761
  };
13762
+ export declare type Issue_BotActorQueryVariables = Exact<{
13763
+ id: Scalars["String"];
13764
+ }>;
13765
+ export declare type Issue_BotActorQuery = {
13766
+ __typename?: "Query";
13767
+ } & {
13768
+ issue: {
13769
+ __typename?: "Issue";
13770
+ } & {
13771
+ botActor?: Maybe<{
13772
+ __typename?: "ActorBot";
13773
+ } & ActorBotFragment>;
13774
+ };
13775
+ };
13250
13776
  export declare type Issue_ChildrenQueryVariables = Exact<{
13251
13777
  id: Scalars["String"];
13252
13778
  after?: Maybe<Scalars["String"]>;
@@ -13590,6 +14116,20 @@ export declare type IssueVcsBranchSearch_AttachmentsQuery = {
13590
14116
  } & AttachmentConnectionFragment;
13591
14117
  }>;
13592
14118
  };
14119
+ export declare type IssueVcsBranchSearch_BotActorQueryVariables = Exact<{
14120
+ branchName: Scalars["String"];
14121
+ }>;
14122
+ export declare type IssueVcsBranchSearch_BotActorQuery = {
14123
+ __typename?: "Query";
14124
+ } & {
14125
+ issueVcsBranchSearch?: Maybe<{
14126
+ __typename?: "Issue";
14127
+ } & {
14128
+ botActor?: Maybe<{
14129
+ __typename?: "ActorBot";
14130
+ } & ActorBotFragment>;
14131
+ }>;
14132
+ };
13593
14133
  export declare type IssueVcsBranchSearch_ChildrenQueryVariables = Exact<{
13594
14134
  branchName: Scalars["String"];
13595
14135
  after?: Maybe<Scalars["String"]>;
@@ -14255,7 +14795,8 @@ export declare type ProjectsQuery = {
14255
14795
  } & ProjectConnectionFragment;
14256
14796
  };
14257
14797
  export declare type PushSubscriptionTestQueryVariables = Exact<{
14258
- [key: string]: never;
14798
+ sendStrategy?: Maybe<SendStrategy>;
14799
+ targetMobile?: Maybe<Scalars["Boolean"]>;
14259
14800
  }>;
14260
14801
  export declare type PushSubscriptionTestQuery = {
14261
14802
  __typename?: "Query";
@@ -14488,6 +15029,26 @@ export declare type TeamQuery = {
14488
15029
  __typename?: "Team";
14489
15030
  } & TeamFragment;
14490
15031
  };
15032
+ export declare type Team_AutomationStatesQueryVariables = Exact<{
15033
+ id: Scalars["String"];
15034
+ after?: Maybe<Scalars["String"]>;
15035
+ before?: Maybe<Scalars["String"]>;
15036
+ first?: Maybe<Scalars["Int"]>;
15037
+ includeArchived?: Maybe<Scalars["Boolean"]>;
15038
+ last?: Maybe<Scalars["Int"]>;
15039
+ orderBy?: Maybe<PaginationOrderBy>;
15040
+ }>;
15041
+ export declare type Team_AutomationStatesQuery = {
15042
+ __typename?: "Query";
15043
+ } & {
15044
+ team: {
15045
+ __typename?: "Team";
15046
+ } & {
15047
+ automationStates: {
15048
+ __typename?: "GitAutomationStateConnection";
15049
+ } & GitAutomationStateConnectionFragment;
15050
+ };
15051
+ };
14491
15052
  export declare type Team_CyclesQueryVariables = Exact<{
14492
15053
  id: Scalars["String"];
14493
15054
  after?: Maybe<Scalars["String"]>;
@@ -15117,14 +15678,28 @@ export declare type AttachmentLinkFrontMutation = {
15117
15678
  __typename?: "FrontAttachmentPayload";
15118
15679
  } & FrontAttachmentPayloadFragment;
15119
15680
  };
15681
+ export declare type AttachmentLinkGitHubIssueMutationVariables = Exact<{
15682
+ createAsUser?: Maybe<Scalars["String"]>;
15683
+ displayIconUrl?: Maybe<Scalars["String"]>;
15684
+ id?: Maybe<Scalars["String"]>;
15685
+ issueId: Scalars["String"];
15686
+ url: Scalars["String"];
15687
+ }>;
15688
+ export declare type AttachmentLinkGitHubIssueMutation = {
15689
+ __typename?: "Mutation";
15690
+ } & {
15691
+ attachmentLinkGitHubIssue: {
15692
+ __typename?: "AttachmentPayload";
15693
+ } & AttachmentPayloadFragment;
15694
+ };
15120
15695
  export declare type AttachmentLinkGitHubPrMutationVariables = Exact<{
15121
15696
  createAsUser?: Maybe<Scalars["String"]>;
15122
15697
  displayIconUrl?: Maybe<Scalars["String"]>;
15123
15698
  id?: Maybe<Scalars["String"]>;
15124
15699
  issueId: Scalars["String"];
15125
- number: Scalars["Float"];
15126
- owner: Scalars["String"];
15127
- repo: Scalars["String"];
15700
+ number?: Maybe<Scalars["Float"]>;
15701
+ owner?: Maybe<Scalars["String"]>;
15702
+ repo?: Maybe<Scalars["String"]>;
15128
15703
  url: Scalars["String"];
15129
15704
  }>;
15130
15705
  export declare type AttachmentLinkGitHubPrMutation = {
@@ -15388,6 +15963,16 @@ export declare type CreateCycleMutation = {
15388
15963
  __typename?: "CyclePayload";
15389
15964
  } & CyclePayloadFragment;
15390
15965
  };
15966
+ export declare type CycleShiftAllMutationVariables = Exact<{
15967
+ input: CycleShiftAllInput;
15968
+ }>;
15969
+ export declare type CycleShiftAllMutation = {
15970
+ __typename?: "Mutation";
15971
+ } & {
15972
+ cycleShiftAll: {
15973
+ __typename?: "CyclePayload";
15974
+ } & CyclePayloadFragment;
15975
+ };
15391
15976
  export declare type UpdateCycleMutationVariables = Exact<{
15392
15977
  id: Scalars["String"];
15393
15978
  input: CycleUpdateInput;
@@ -15525,6 +16110,37 @@ export declare type FileUploadMutation = {
15525
16110
  __typename?: "UploadPayload";
15526
16111
  } & UploadPayloadFragment;
15527
16112
  };
16113
+ export declare type CreateGitAutomationStateMutationVariables = Exact<{
16114
+ input: GitAutomationStateCreateInput;
16115
+ }>;
16116
+ export declare type CreateGitAutomationStateMutation = {
16117
+ __typename?: "Mutation";
16118
+ } & {
16119
+ gitAutomationStateCreate: {
16120
+ __typename?: "GitAutomationStatePayload";
16121
+ } & GitAutomationStatePayloadFragment;
16122
+ };
16123
+ export declare type DeleteGitAutomationStateMutationVariables = Exact<{
16124
+ id: Scalars["String"];
16125
+ }>;
16126
+ export declare type DeleteGitAutomationStateMutation = {
16127
+ __typename?: "Mutation";
16128
+ } & {
16129
+ gitAutomationStateDelete: {
16130
+ __typename?: "DeletePayload";
16131
+ } & DeletePayloadFragment;
16132
+ };
16133
+ export declare type UpdateGitAutomationStateMutationVariables = Exact<{
16134
+ id: Scalars["String"];
16135
+ input: GitAutomationStateUpdateInput;
16136
+ }>;
16137
+ export declare type UpdateGitAutomationStateMutation = {
16138
+ __typename?: "Mutation";
16139
+ } & {
16140
+ gitAutomationStateUpdate: {
16141
+ __typename?: "GitAutomationStatePayload";
16142
+ } & GitAutomationStatePayloadFragment;
16143
+ };
15528
16144
  export declare type GoogleUserAccountAuthMutationVariables = Exact<{
15529
16145
  input: GoogleUserAccountAuthInput;
15530
16146
  }>;
@@ -15642,16 +16258,6 @@ export declare type IntegrationGithubConnectMutation = {
15642
16258
  __typename?: "IntegrationPayload";
15643
16259
  } & IntegrationPayloadFragment;
15644
16260
  };
15645
- export declare type IntegrationGithubSyncConnectMutationVariables = Exact<{
15646
- installationId: Scalars["String"];
15647
- }>;
15648
- export declare type IntegrationGithubSyncConnectMutation = {
15649
- __typename?: "Mutation";
15650
- } & {
15651
- integrationGithubSyncConnect: {
15652
- __typename?: "IntegrationPayload";
15653
- } & IntegrationPayloadFragment;
15654
- };
15655
16261
  export declare type IntegrationGitlabConnectMutationVariables = Exact<{
15656
16262
  accessToken: Scalars["String"];
15657
16263
  gitlabUrl: Scalars["String"];
@@ -15706,7 +16312,8 @@ export declare type UpdateIntegrationIntercomSettingsMutation = {
15706
16312
  } & IntegrationPayloadFragment;
15707
16313
  };
15708
16314
  export declare type IntegrationJiraPersonalMutationVariables = Exact<{
15709
- code: Scalars["String"];
16315
+ accessToken?: Maybe<Scalars["String"]>;
16316
+ code?: Maybe<Scalars["String"]>;
15710
16317
  }>;
15711
16318
  export declare type IntegrationJiraPersonalMutation = {
15712
16319
  __typename?: "Mutation";
@@ -15789,8 +16396,8 @@ export declare type IntegrationSlackOrgProjectUpdatesPostMutation = {
15789
16396
  __typename?: "Mutation";
15790
16397
  } & {
15791
16398
  integrationSlackOrgProjectUpdatesPost: {
15792
- __typename?: "IntegrationPayload";
15793
- } & IntegrationPayloadFragment;
16399
+ __typename?: "SlackChannelConnectPayload";
16400
+ } & SlackChannelConnectPayloadFragment;
15794
16401
  };
15795
16402
  export declare type IntegrationSlackPersonalMutationVariables = Exact<{
15796
16403
  code: Scalars["String"];
@@ -15813,8 +16420,8 @@ export declare type IntegrationSlackPostMutation = {
15813
16420
  __typename?: "Mutation";
15814
16421
  } & {
15815
16422
  integrationSlackPost: {
15816
- __typename?: "IntegrationPayload";
15817
- } & IntegrationPayloadFragment;
16423
+ __typename?: "SlackChannelConnectPayload";
16424
+ } & SlackChannelConnectPayloadFragment;
15818
16425
  };
15819
16426
  export declare type IntegrationSlackProjectPostMutationVariables = Exact<{
15820
16427
  code: Scalars["String"];
@@ -15826,8 +16433,8 @@ export declare type IntegrationSlackProjectPostMutation = {
15826
16433
  __typename?: "Mutation";
15827
16434
  } & {
15828
16435
  integrationSlackProjectPost: {
15829
- __typename?: "IntegrationPayload";
15830
- } & IntegrationPayloadFragment;
16436
+ __typename?: "SlackChannelConnectPayload";
16437
+ } & SlackChannelConnectPayloadFragment;
15831
16438
  };
15832
16439
  export declare type CreateIntegrationTemplateMutationVariables = Exact<{
15833
16440
  input: IntegrationTemplateCreateInput;
@@ -16473,6 +17080,7 @@ export declare type ArchiveProjectMutation = {
16473
17080
  } & ProjectArchivePayloadFragment;
16474
17081
  };
16475
17082
  export declare type CreateProjectMutationVariables = Exact<{
17083
+ connectSlackChannel?: Maybe<Scalars["Boolean"]>;
16476
17084
  input: ProjectCreateInput;
16477
17085
  }>;
16478
17086
  export declare type CreateProjectMutation = {
@@ -16850,6 +17458,16 @@ export declare type UpdateTeamMembershipMutation = {
16850
17458
  __typename?: "TeamMembershipPayload";
16851
17459
  } & TeamMembershipPayloadFragment;
16852
17460
  };
17461
+ export declare type UnarchiveTeamMutationVariables = Exact<{
17462
+ id: Scalars["String"];
17463
+ }>;
17464
+ export declare type UnarchiveTeamMutation = {
17465
+ __typename?: "Mutation";
17466
+ } & {
17467
+ teamUnarchive: {
17468
+ __typename?: "TeamArchivePayload";
17469
+ } & TeamArchivePayloadFragment;
17470
+ };
16853
17471
  export declare type UpdateTeamMutationVariables = Exact<{
16854
17472
  id: Scalars["String"];
16855
17473
  input: TeamUpdateInput;
@@ -16944,26 +17562,6 @@ export declare type UpdateUserFlagMutation = {
16944
17562
  __typename?: "UserSettingsFlagPayload";
16945
17563
  } & UserSettingsFlagPayloadFragment;
16946
17564
  };
16947
- export declare type UserGitHubConnectMutationVariables = Exact<{
16948
- code: Scalars["String"];
16949
- }>;
16950
- export declare type UserGitHubConnectMutation = {
16951
- __typename?: "Mutation";
16952
- } & {
16953
- userGitHubConnect: {
16954
- __typename?: "UserPayload";
16955
- } & UserPayloadFragment;
16956
- };
16957
- export declare type UserJiraConnectMutationVariables = Exact<{
16958
- code: Scalars["String"];
16959
- }>;
16960
- export declare type UserJiraConnectMutation = {
16961
- __typename?: "Mutation";
16962
- } & {
16963
- userJiraConnect: {
16964
- __typename?: "UserPayload";
16965
- } & UserPayloadFragment;
16966
- };
16967
17565
  export declare type UserPromoteAdminMutationVariables = Exact<{
16968
17566
  id: Scalars["String"];
16969
17567
  }>;
@@ -17158,17 +17756,20 @@ export declare const NotificationFragmentDoc: DocumentNode<NotificationFragment,
17158
17756
  export declare const NotificationArchivePayloadFragmentDoc: DocumentNode<NotificationArchivePayloadFragment, unknown>;
17159
17757
  export declare const ProjectArchivePayloadFragmentDoc: DocumentNode<ProjectArchivePayloadFragment, unknown>;
17160
17758
  export declare const RoadmapArchivePayloadFragmentDoc: DocumentNode<RoadmapArchivePayloadFragment, unknown>;
17759
+ export declare const TeamArchivePayloadFragmentDoc: DocumentNode<TeamArchivePayloadFragment, unknown>;
17161
17760
  export declare const WorkflowStateArchivePayloadFragmentDoc: DocumentNode<WorkflowStateArchivePayloadFragment, unknown>;
17162
17761
  export declare const ArchivePayloadFragmentDoc: DocumentNode<ArchivePayloadFragment, unknown>;
17163
17762
  export declare const LabelNotificationSubscriptionFragmentDoc: DocumentNode<LabelNotificationSubscriptionFragment, unknown>;
17164
17763
  export declare const ProjectNotificationSubscriptionFragmentDoc: DocumentNode<ProjectNotificationSubscriptionFragment, unknown>;
17165
17764
  export declare const TeamNotificationSubscriptionFragmentDoc: DocumentNode<TeamNotificationSubscriptionFragment, unknown>;
17166
- export declare const TemplateFragmentDoc: DocumentNode<TemplateFragment, unknown>;
17167
17765
  export declare const UserAccountFragmentDoc: DocumentNode<UserAccountFragment, unknown>;
17168
17766
  export declare const UserNotificationSubscriptionFragmentDoc: DocumentNode<UserNotificationSubscriptionFragment, unknown>;
17767
+ export declare const EmailIntakeAddressFragmentDoc: DocumentNode<EmailIntakeAddressFragment, unknown>;
17169
17768
  export declare const PaidSubscriptionFragmentDoc: DocumentNode<PaidSubscriptionFragment, unknown>;
17170
17769
  export declare const OrganizationFragmentDoc: DocumentNode<OrganizationFragment, unknown>;
17171
- export declare const SyncResponseFragmentDoc: DocumentNode<SyncResponseFragment, unknown>;
17770
+ export declare const AuthOauthClientWithScopeFragmentDoc: DocumentNode<AuthOauthClientWithScopeFragment, unknown>;
17771
+ export declare const AuthOauthClientWithMembershipsFragmentDoc: DocumentNode<AuthOauthClientWithMembershipsFragment, unknown>;
17772
+ export declare const AuthenticationSessionResponseFragmentDoc: DocumentNode<AuthenticationSessionResponseFragment, unknown>;
17172
17773
  export declare const OrganizationDomainFragmentDoc: DocumentNode<OrganizationDomainFragment, unknown>;
17173
17774
  export declare const GithubRepoFragmentDoc: DocumentNode<GithubRepoFragment, unknown>;
17174
17775
  export declare const GithubOrgFragmentDoc: DocumentNode<GithubOrgFragment, unknown>;
@@ -17176,10 +17777,10 @@ export declare const GithubOAuthTokenPayloadFragmentDoc: DocumentNode<GithubOAut
17176
17777
  export declare const UserAuthorizedApplicationFragmentDoc: DocumentNode<UserAuthorizedApplicationFragment, unknown>;
17177
17778
  export declare const ApplicationFragmentDoc: DocumentNode<ApplicationFragment, unknown>;
17178
17779
  export declare const FrontSettingsFragmentDoc: DocumentNode<FrontSettingsFragment, unknown>;
17179
- export declare const GitHubSettingsFragmentDoc: DocumentNode<GitHubSettingsFragment, unknown>;
17180
17780
  export declare const TeamRepoMappingFragmentDoc: DocumentNode<TeamRepoMappingFragment, unknown>;
17181
- export declare const GitHubSyncRepoFragmentDoc: DocumentNode<GitHubSyncRepoFragment, unknown>;
17182
- export declare const GitHubSyncSettingsFragmentDoc: DocumentNode<GitHubSyncSettingsFragment, unknown>;
17781
+ export declare const GitHubRepoFragmentDoc: DocumentNode<GitHubRepoFragment, unknown>;
17782
+ export declare const GitHubSettingsFragmentDoc: DocumentNode<GitHubSettingsFragment, unknown>;
17783
+ export declare const GitHubPersonalSettingsFragmentDoc: DocumentNode<GitHubPersonalSettingsFragment, unknown>;
17183
17784
  export declare const GitLabSettingsFragmentDoc: DocumentNode<GitLabSettingsFragment, unknown>;
17184
17785
  export declare const GoogleSheetsSettingsFragmentDoc: DocumentNode<GoogleSheetsSettingsFragment, unknown>;
17185
17786
  export declare const IntercomSettingsFragmentDoc: DocumentNode<IntercomSettingsFragment, unknown>;
@@ -17213,14 +17814,19 @@ export declare const AttachmentSourcesPayloadFragmentDoc: DocumentNode<Attachmen
17213
17814
  export declare const AuditEntryFragmentDoc: DocumentNode<AuditEntryFragment, unknown>;
17214
17815
  export declare const AuditEntryConnectionFragmentDoc: DocumentNode<AuditEntryConnectionFragment, unknown>;
17215
17816
  export declare const AuditEntryTypeFragmentDoc: DocumentNode<AuditEntryTypeFragment, unknown>;
17216
- export declare const AuthApiKeyDeletePayloadFragmentDoc: DocumentNode<AuthApiKeyDeletePayloadFragment, unknown>;
17217
17817
  export declare const AuthApiKeyFragmentDoc: DocumentNode<AuthApiKeyFragment, unknown>;
17218
17818
  export declare const AuthApiKeyPayloadFragmentDoc: DocumentNode<AuthApiKeyPayloadFragment, unknown>;
17219
- export declare const AuthIntegrationFragmentDoc: DocumentNode<AuthIntegrationFragment, unknown>;
17220
17819
  export declare const AuthOrganizationFragmentDoc: DocumentNode<AuthOrganizationFragment, unknown>;
17221
17820
  export declare const AuthUserFragmentDoc: DocumentNode<AuthUserFragment, unknown>;
17821
+ export declare const AuthCreateOrJoinOrganizationResponseFragmentDoc: DocumentNode<AuthCreateOrJoinOrganizationResponseFragment, unknown>;
17822
+ export declare const AuthIntegrationFragmentDoc: DocumentNode<AuthIntegrationFragment, unknown>;
17823
+ export declare const AuthOauthClientFragmentDoc: DocumentNode<AuthOauthClientFragment, unknown>;
17824
+ export declare const OauthTokenFragmentDoc: DocumentNode<OauthTokenFragment, unknown>;
17825
+ export declare const AuthOauthClientWithTokensFragmentDoc: DocumentNode<AuthOauthClientWithTokensFragment, unknown>;
17826
+ export declare const AuthOrganizationDomainFragmentDoc: DocumentNode<AuthOrganizationDomainFragment, unknown>;
17222
17827
  export declare const AuthResolverResponseFragmentDoc: DocumentNode<AuthResolverResponseFragment, unknown>;
17223
- export declare const AuthenticationSessionResponseFragmentDoc: DocumentNode<AuthenticationSessionResponseFragment, unknown>;
17828
+ export declare const AuthSuccessPayloadFragmentDoc: DocumentNode<AuthSuccessPayloadFragment, unknown>;
17829
+ export declare const AuthorizedApplicationBaseFragmentDoc: DocumentNode<AuthorizedApplicationBaseFragment, unknown>;
17224
17830
  export declare const CommentFragmentDoc: DocumentNode<CommentFragment, unknown>;
17225
17831
  export declare const CommentConnectionFragmentDoc: DocumentNode<CommentConnectionFragment, unknown>;
17226
17832
  export declare const CommentPayloadFragmentDoc: DocumentNode<CommentPayloadFragment, unknown>;
@@ -17255,6 +17861,9 @@ export declare const FavoriteFragmentDoc: DocumentNode<FavoriteFragment, unknown
17255
17861
  export declare const FavoriteConnectionFragmentDoc: DocumentNode<FavoriteConnectionFragment, unknown>;
17256
17862
  export declare const FavoritePayloadFragmentDoc: DocumentNode<FavoritePayloadFragment, unknown>;
17257
17863
  export declare const FrontAttachmentPayloadFragmentDoc: DocumentNode<FrontAttachmentPayloadFragment, unknown>;
17864
+ export declare const GitAutomationStateFragmentDoc: DocumentNode<GitAutomationStateFragment, unknown>;
17865
+ export declare const GitAutomationStateConnectionFragmentDoc: DocumentNode<GitAutomationStateConnectionFragment, unknown>;
17866
+ export declare const GitAutomationStatePayloadFragmentDoc: DocumentNode<GitAutomationStatePayloadFragment, unknown>;
17258
17867
  export declare const GitHubCommitIntegrationPayloadFragmentDoc: DocumentNode<GitHubCommitIntegrationPayloadFragment, unknown>;
17259
17868
  export declare const ImageUploadFromUrlPayloadFragmentDoc: DocumentNode<ImageUploadFromUrlPayloadFragment, unknown>;
17260
17869
  export declare const IntegrationFragmentDoc: DocumentNode<IntegrationFragment, unknown>;
@@ -17344,6 +17953,7 @@ export declare const RoadmapToProjectFragmentDoc: DocumentNode<RoadmapToProjectF
17344
17953
  export declare const RoadmapToProjectConnectionFragmentDoc: DocumentNode<RoadmapToProjectConnectionFragment, unknown>;
17345
17954
  export declare const RoadmapToProjectPayloadFragmentDoc: DocumentNode<RoadmapToProjectPayloadFragment, unknown>;
17346
17955
  export declare const SamlConfigurationFragmentDoc: DocumentNode<SamlConfigurationFragment, unknown>;
17956
+ export declare const SlackChannelConnectPayloadFragmentDoc: DocumentNode<SlackChannelConnectPayloadFragment, unknown>;
17347
17957
  export declare const SsoUrlFromEmailResponseFragmentDoc: DocumentNode<SsoUrlFromEmailResponseFragment, unknown>;
17348
17958
  export declare const SynchronizedPayloadFragmentDoc: DocumentNode<SynchronizedPayloadFragment, unknown>;
17349
17959
  export declare const TeamFragmentDoc: DocumentNode<TeamFragment, unknown>;
@@ -17352,6 +17962,7 @@ export declare const TeamMembershipFragmentDoc: DocumentNode<TeamMembershipFragm
17352
17962
  export declare const TeamMembershipConnectionFragmentDoc: DocumentNode<TeamMembershipConnectionFragment, unknown>;
17353
17963
  export declare const TeamMembershipPayloadFragmentDoc: DocumentNode<TeamMembershipPayloadFragment, unknown>;
17354
17964
  export declare const TeamPayloadFragmentDoc: DocumentNode<TeamPayloadFragment, unknown>;
17965
+ export declare const TemplateFragmentDoc: DocumentNode<TemplateFragment, unknown>;
17355
17966
  export declare const TemplateConnectionFragmentDoc: DocumentNode<TemplateConnectionFragment, unknown>;
17356
17967
  export declare const TemplatePayloadFragmentDoc: DocumentNode<TemplatePayloadFragment, unknown>;
17357
17968
  export declare const TriageResponsibilityFragmentDoc: DocumentNode<TriageResponsibilityFragment, unknown>;
@@ -17420,6 +18031,9 @@ export declare const AttachmentIssue_AttachmentsDocument: DocumentNode<Attachmen
17420
18031
  last?: Maybe<number> | undefined;
17421
18032
  orderBy?: Maybe<PaginationOrderBy> | undefined;
17422
18033
  }>>;
18034
+ export declare const AttachmentIssue_BotActorDocument: DocumentNode<AttachmentIssue_BotActorQuery, Exact<{
18035
+ id: Scalars["String"];
18036
+ }>>;
17423
18037
  export declare const AttachmentIssue_ChildrenDocument: DocumentNode<AttachmentIssue_ChildrenQuery, Exact<{
17424
18038
  id: Scalars["String"];
17425
18039
  after?: Maybe<string> | undefined;
@@ -17681,6 +18295,9 @@ export declare const Issue_AttachmentsDocument: DocumentNode<Issue_AttachmentsQu
17681
18295
  last?: Maybe<number> | undefined;
17682
18296
  orderBy?: Maybe<PaginationOrderBy> | undefined;
17683
18297
  }>>;
18298
+ export declare const Issue_BotActorDocument: DocumentNode<Issue_BotActorQuery, Exact<{
18299
+ id: Scalars["String"];
18300
+ }>>;
17684
18301
  export declare const Issue_ChildrenDocument: DocumentNode<Issue_ChildrenQuery, Exact<{
17685
18302
  id: Scalars["String"];
17686
18303
  after?: Maybe<string> | undefined;
@@ -17837,6 +18454,9 @@ export declare const IssueVcsBranchSearch_AttachmentsDocument: DocumentNode<Issu
17837
18454
  last?: Maybe<number> | undefined;
17838
18455
  orderBy?: Maybe<PaginationOrderBy> | undefined;
17839
18456
  }>>;
18457
+ export declare const IssueVcsBranchSearch_BotActorDocument: DocumentNode<IssueVcsBranchSearch_BotActorQuery, Exact<{
18458
+ branchName: Scalars["String"];
18459
+ }>>;
17840
18460
  export declare const IssueVcsBranchSearch_ChildrenDocument: DocumentNode<IssueVcsBranchSearch_ChildrenQuery, Exact<{
17841
18461
  branchName: Scalars["String"];
17842
18462
  after?: Maybe<string> | undefined;
@@ -18128,7 +18748,8 @@ export declare const ProjectsDocument: DocumentNode<ProjectsQuery, Exact<{
18128
18748
  orderBy?: Maybe<PaginationOrderBy> | undefined;
18129
18749
  }>>;
18130
18750
  export declare const PushSubscriptionTestDocument: DocumentNode<PushSubscriptionTestQuery, Exact<{
18131
- [key: string]: never;
18751
+ sendStrategy?: Maybe<SendStrategy> | undefined;
18752
+ targetMobile?: Maybe<boolean> | undefined;
18132
18753
  }>>;
18133
18754
  export declare const RateLimitStatusDocument: DocumentNode<RateLimitStatusQuery, Exact<{
18134
18755
  [key: string]: never;
@@ -18240,6 +18861,15 @@ export declare const SsoUrlFromEmailDocument: DocumentNode<SsoUrlFromEmailQuery,
18240
18861
  export declare const TeamDocument: DocumentNode<TeamQuery, Exact<{
18241
18862
  id: Scalars["String"];
18242
18863
  }>>;
18864
+ export declare const Team_AutomationStatesDocument: DocumentNode<Team_AutomationStatesQuery, Exact<{
18865
+ id: Scalars["String"];
18866
+ after?: Maybe<string> | undefined;
18867
+ before?: Maybe<string> | undefined;
18868
+ first?: Maybe<number> | undefined;
18869
+ includeArchived?: Maybe<boolean> | undefined;
18870
+ last?: Maybe<number> | undefined;
18871
+ orderBy?: Maybe<PaginationOrderBy> | undefined;
18872
+ }>>;
18243
18873
  export declare const Team_CyclesDocument: DocumentNode<Team_CyclesQuery, Exact<{
18244
18874
  id: Scalars["String"];
18245
18875
  after?: Maybe<string> | undefined;
@@ -18517,14 +19147,21 @@ export declare const AttachmentLinkFrontDocument: DocumentNode<AttachmentLinkFro
18517
19147
  id?: Maybe<string> | undefined;
18518
19148
  issueId: Scalars["String"];
18519
19149
  }>>;
19150
+ export declare const AttachmentLinkGitHubIssueDocument: DocumentNode<AttachmentLinkGitHubIssueMutation, Exact<{
19151
+ createAsUser?: Maybe<string> | undefined;
19152
+ displayIconUrl?: Maybe<string> | undefined;
19153
+ id?: Maybe<string> | undefined;
19154
+ issueId: Scalars["String"];
19155
+ url: Scalars["String"];
19156
+ }>>;
18520
19157
  export declare const AttachmentLinkGitHubPrDocument: DocumentNode<AttachmentLinkGitHubPrMutation, Exact<{
18521
19158
  createAsUser?: Maybe<string> | undefined;
18522
19159
  displayIconUrl?: Maybe<string> | undefined;
18523
19160
  id?: Maybe<string> | undefined;
18524
19161
  issueId: Scalars["String"];
18525
- number: Scalars["Float"];
18526
- owner: Scalars["String"];
18527
- repo: Scalars["String"];
19162
+ number?: Maybe<number> | undefined;
19163
+ owner?: Maybe<string> | undefined;
19164
+ repo?: Maybe<string> | undefined;
18528
19165
  url: Scalars["String"];
18529
19166
  }>>;
18530
19167
  export declare const AttachmentLinkGitLabMrDocument: DocumentNode<AttachmentLinkGitLabMrMutation, Exact<{
@@ -18627,6 +19264,9 @@ export declare const ArchiveCycleDocument: DocumentNode<ArchiveCycleMutation, Ex
18627
19264
  export declare const CreateCycleDocument: DocumentNode<CreateCycleMutation, Exact<{
18628
19265
  input: CycleCreateInput;
18629
19266
  }>>;
19267
+ export declare const CycleShiftAllDocument: DocumentNode<CycleShiftAllMutation, Exact<{
19268
+ input: CycleShiftAllInput;
19269
+ }>>;
18630
19270
  export declare const UpdateCycleDocument: DocumentNode<UpdateCycleMutation, Exact<{
18631
19271
  id: Scalars["String"];
18632
19272
  input: CycleUpdateInput;
@@ -18673,6 +19313,16 @@ export declare const FileUploadDocument: DocumentNode<FileUploadMutation, Exact<
18673
19313
  metaData?: Maybe<Record<string, unknown>> | undefined;
18674
19314
  size: Scalars["Int"];
18675
19315
  }>>;
19316
+ export declare const CreateGitAutomationStateDocument: DocumentNode<CreateGitAutomationStateMutation, Exact<{
19317
+ input: GitAutomationStateCreateInput;
19318
+ }>>;
19319
+ export declare const DeleteGitAutomationStateDocument: DocumentNode<DeleteGitAutomationStateMutation, Exact<{
19320
+ id: Scalars["String"];
19321
+ }>>;
19322
+ export declare const UpdateGitAutomationStateDocument: DocumentNode<UpdateGitAutomationStateMutation, Exact<{
19323
+ id: Scalars["String"];
19324
+ input: GitAutomationStateUpdateInput;
19325
+ }>>;
18676
19326
  export declare const GoogleUserAccountAuthDocument: DocumentNode<GoogleUserAccountAuthMutation, Exact<{
18677
19327
  input: GoogleUserAccountAuthInput;
18678
19328
  }>>;
@@ -18713,9 +19363,6 @@ export declare const CreateIntegrationGithubCommitDocument: DocumentNode<CreateI
18713
19363
  export declare const IntegrationGithubConnectDocument: DocumentNode<IntegrationGithubConnectMutation, Exact<{
18714
19364
  installationId: Scalars["String"];
18715
19365
  }>>;
18716
- export declare const IntegrationGithubSyncConnectDocument: DocumentNode<IntegrationGithubSyncConnectMutation, Exact<{
18717
- installationId: Scalars["String"];
18718
- }>>;
18719
19366
  export declare const IntegrationGitlabConnectDocument: DocumentNode<IntegrationGitlabConnectMutation, Exact<{
18720
19367
  accessToken: Scalars["String"];
18721
19368
  gitlabUrl: Scalars["String"];
@@ -18735,7 +19382,8 @@ export declare const UpdateIntegrationIntercomSettingsDocument: DocumentNode<Upd
18735
19382
  input: IntercomSettingsInput;
18736
19383
  }>>;
18737
19384
  export declare const IntegrationJiraPersonalDocument: DocumentNode<IntegrationJiraPersonalMutation, Exact<{
18738
- code: Scalars["String"];
19385
+ accessToken?: Maybe<string> | undefined;
19386
+ code?: Maybe<string> | undefined;
18739
19387
  }>>;
18740
19388
  export declare const IntegrationLoomDocument: DocumentNode<IntegrationLoomMutation, Exact<{
18741
19389
  [key: string]: never;
@@ -19019,6 +19667,7 @@ export declare const ArchiveProjectDocument: DocumentNode<ArchiveProjectMutation
19019
19667
  trash?: Maybe<boolean> | undefined;
19020
19668
  }>>;
19021
19669
  export declare const CreateProjectDocument: DocumentNode<CreateProjectMutation, Exact<{
19670
+ connectSlackChannel?: Maybe<boolean> | undefined;
19022
19671
  input: ProjectCreateInput;
19023
19672
  }>>;
19024
19673
  export declare const DeleteProjectDocument: DocumentNode<DeleteProjectMutation, Exact<{
@@ -19137,6 +19786,9 @@ export declare const UpdateTeamMembershipDocument: DocumentNode<UpdateTeamMember
19137
19786
  id: Scalars["String"];
19138
19787
  input: TeamMembershipUpdateInput;
19139
19788
  }>>;
19789
+ export declare const UnarchiveTeamDocument: DocumentNode<UnarchiveTeamMutation, Exact<{
19790
+ id: Scalars["String"];
19791
+ }>>;
19140
19792
  export declare const UpdateTeamDocument: DocumentNode<UpdateTeamMutation, Exact<{
19141
19793
  id: Scalars["String"];
19142
19794
  input: TeamUpdateInput;
@@ -19168,12 +19820,6 @@ export declare const UpdateUserFlagDocument: DocumentNode<UpdateUserFlagMutation
19168
19820
  flag: UserFlagType;
19169
19821
  operation: UserFlagUpdateOperation;
19170
19822
  }>>;
19171
- export declare const UserGitHubConnectDocument: DocumentNode<UserGitHubConnectMutation, Exact<{
19172
- code: Scalars["String"];
19173
- }>>;
19174
- export declare const UserJiraConnectDocument: DocumentNode<UserJiraConnectMutation, Exact<{
19175
- code: Scalars["String"];
19176
- }>>;
19177
19823
  export declare const UserPromoteAdminDocument: DocumentNode<UserPromoteAdminMutation, Exact<{
19178
19824
  id: Scalars["String"];
19179
19825
  }>>;