@linear/sdk 12.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. */
@@ -408,14 +411,76 @@ export declare type AuthMembership = {
408
411
  };
409
412
  export declare type AuthOauthClient = {
410
413
  __typename?: "AuthOauthClient";
414
+ archivedAt?: Maybe<Scalars["DateTime"]>;
411
415
  /** OAuth application's client ID. */
412
416
  clientId: Scalars["String"];
413
417
  /** OAuth application's client secret. */
414
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"];
415
427
  /** The unique identifier of the entity. */
416
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"];
417
437
  /** List of allowed redirect URIs for the application. */
418
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>;
419
484
  };
420
485
  /** An organization. Organizations are root-level objects that contain users and teams. */
421
486
  export declare type AuthOrganization = {
@@ -424,6 +489,7 @@ export declare type AuthOrganization = {
424
489
  allowedAuthServices: Array<Scalars["String"]>;
425
490
  /** The time at which deletion of the organization was requested. */
426
491
  deletionRequestedAt?: Maybe<Scalars["DateTime"]>;
492
+ /** The unique identifier of the entity. */
427
493
  id: Scalars["ID"];
428
494
  /** The organization's logo URL. */
429
495
  logoUrl?: Maybe<Scalars["String"]>;
@@ -433,10 +499,19 @@ export declare type AuthOrganization = {
433
499
  previousUrlKeys: Array<Scalars["String"]>;
434
500
  /** Whether SAML authentication is enabled for organization. */
435
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"];
436
506
  /** The organization's unique URL key. */
437
507
  urlKey: Scalars["String"];
438
508
  userCount: Scalars["Float"];
439
509
  };
510
+ export declare type AuthOrganizationDomain = {
511
+ __typename?: "AuthOrganizationDomain";
512
+ /** The unique identifier of the entity. */
513
+ id: Scalars["ID"];
514
+ };
440
515
  export declare type AuthResolverResponse = {
441
516
  __typename?: "AuthResolverResponse";
442
517
  /** Should the signup flow allow access for the domain. */
@@ -456,9 +531,16 @@ export declare type AuthResolverResponse = {
456
531
  /** Users belonging to this account. */
457
532
  users: Array<AuthUser>;
458
533
  };
534
+ export declare type AuthSuccessPayload = {
535
+ __typename?: "AuthSuccessPayload";
536
+ /** Whether the operation was successful. */
537
+ success: Scalars["Boolean"];
538
+ };
459
539
  /** A user that has access to the the resources of an organization. */
460
540
  export declare type AuthUser = {
461
541
  __typename?: "AuthUser";
542
+ /** Whether the user is active. */
543
+ active: Scalars["Boolean"];
462
544
  /** An URL to the user's avatar image. */
463
545
  avatarUrl?: Maybe<Scalars["String"]>;
464
546
  /** The user's display (nick) name. Unique within each organization. */
@@ -506,6 +588,7 @@ export declare type AuthenticationSession = {
506
588
  /** Session's user-agent. */
507
589
  userAgent?: Maybe<Scalars["String"]>;
508
590
  };
591
+ /** Authentication session information */
509
592
  export declare type AuthenticationSessionResponse = {
510
593
  __typename?: "AuthenticationSessionResponse";
511
594
  /** Used web browser. */
@@ -564,6 +647,19 @@ export declare type AuthorizedApplication = {
564
647
  /** Whether or not webhooks are enabled for the application. */
565
648
  webhooksEnabled: Scalars["Boolean"];
566
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
+ };
567
663
  /** Comparator for booleans. */
568
664
  export declare type BooleanComparator = {
569
665
  /** Equals constraint. */
@@ -590,16 +686,16 @@ export declare type Comment = Node & {
590
686
  documentContent?: Maybe<DocumentContent>;
591
687
  /** The time user edited the comment. */
592
688
  editedAt?: Maybe<Scalars["DateTime"]>;
593
- /** [ALPHA] The external user who wrote the comment. */
689
+ /** The external user who wrote the comment. */
594
690
  externalUser?: Maybe<ExternalUser>;
595
691
  /** The unique identifier of the entity. */
596
692
  id: Scalars["ID"];
597
693
  /** The issue that the comment is associated with. */
598
- issue: Issue;
694
+ issue?: Maybe<Issue>;
599
695
  /** The parent comment under which the current comment is nested. */
600
696
  parent?: Maybe<Comment>;
601
- /** [ALPHA] The project update that the comment is associated with. */
602
- projectUpdate: ProjectUpdate;
697
+ /** The project update that the comment is associated with. */
698
+ projectUpdate?: Maybe<ProjectUpdate>;
603
699
  /** Emoji reaction summary, grouped by emoji type */
604
700
  reactionData: Scalars["JSONObject"];
605
701
  /** The time the resolvingUser resolved the thread. */
@@ -637,6 +733,8 @@ export declare type CommentCollectionFilter = {
637
733
  body?: Maybe<StringComparator>;
638
734
  /** Comparator for the created at date. */
639
735
  createdAt?: Maybe<DateComparator>;
736
+ /** Filters that the comments document content must satisfy. */
737
+ documentContent?: Maybe<DocumentContentFilter>;
640
738
  /** Filters that needs to be matched by all comments. */
641
739
  every?: Maybe<CommentFilter>;
642
740
  /** Comparator for the identifier. */
@@ -647,6 +745,8 @@ export declare type CommentCollectionFilter = {
647
745
  length?: Maybe<NumberComparator>;
648
746
  /** Compound filters, one of which need to be matched by the comment. */
649
747
  or?: Maybe<Array<CommentCollectionFilter>>;
748
+ /** Filters that the comments project update must satisfy. */
749
+ projectUpdate?: Maybe<ProjectUpdateFilter>;
650
750
  /** Filters that needs to be matched by some comments. */
651
751
  some?: Maybe<CommentFilter>;
652
752
  /** Comparator for the updated at date. */
@@ -700,12 +800,16 @@ export declare type CommentFilter = {
700
800
  body?: Maybe<StringComparator>;
701
801
  /** Comparator for the created at date. */
702
802
  createdAt?: Maybe<DateComparator>;
803
+ /** Filters that the comments document content must satisfy. */
804
+ documentContent?: Maybe<DocumentContentFilter>;
703
805
  /** Comparator for the identifier. */
704
806
  id?: Maybe<IdComparator>;
705
807
  /** Filters that the comments issue must satisfy. */
706
808
  issue?: Maybe<IssueFilter>;
707
809
  /** Compound filters, one of which need to be matched by the comment. */
708
810
  or?: Maybe<Array<CommentFilter>>;
811
+ /** Filters that the comments project update must satisfy. */
812
+ projectUpdate?: Maybe<ProjectUpdateFilter>;
709
813
  /** Comparator for the updated at date. */
710
814
  updatedAt?: Maybe<DateComparator>;
711
815
  /** Filters that the comments creator must satisfy. */
@@ -1196,6 +1300,12 @@ export declare type CyclePayload = {
1196
1300
  /** Whether the operation was successful. */
1197
1301
  success: Scalars["Boolean"];
1198
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
+ };
1199
1309
  export declare type CycleUpdateInput = {
1200
1310
  /** The end date of the cycle. */
1201
1311
  completedAt?: Maybe<Scalars["DateTime"]>;
@@ -1227,6 +1337,13 @@ export declare type DateComparator = {
1227
1337
  /** Not-in-array constraint. */
1228
1338
  nin?: Maybe<Array<Scalars["DateTime"]>>;
1229
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
+ }
1230
1347
  /** The day of the week. */
1231
1348
  export declare enum Day {
1232
1349
  Friday = "Friday",
@@ -1279,6 +1396,8 @@ export declare type Document = Node & {
1279
1396
  project: Project;
1280
1397
  /** The document's unique URL slug. */
1281
1398
  slugId: Scalars["String"];
1399
+ /** The order of the item in the project resources list. */
1400
+ sortOrder: Scalars["Float"];
1282
1401
  /** The document title. */
1283
1402
  title: Scalars["String"];
1284
1403
  /**
@@ -1396,6 +1515,8 @@ export declare type DocumentCreateInput = {
1396
1515
  lastAppliedTemplateId?: Maybe<Scalars["String"]>;
1397
1516
  /** Related project for the document. */
1398
1517
  projectId: Scalars["String"];
1518
+ /** The order of the item in the project resources list. */
1519
+ sortOrder?: Maybe<Scalars["Float"]>;
1399
1520
  /** The title of the document. */
1400
1521
  title: Scalars["String"];
1401
1522
  };
@@ -1453,6 +1574,8 @@ export declare type DocumentSearchResult = Node & {
1453
1574
  project: Project;
1454
1575
  /** The document's unique URL slug. */
1455
1576
  slugId: Scalars["String"];
1577
+ /** The order of the item in the project resources list. */
1578
+ sortOrder: Scalars["Float"];
1456
1579
  /** The document title. */
1457
1580
  title: Scalars["String"];
1458
1581
  /**
@@ -1489,9 +1612,35 @@ export declare type DocumentUpdateInput = {
1489
1612
  lastAppliedTemplateId?: Maybe<Scalars["String"]>;
1490
1613
  /** Related project for the document. */
1491
1614
  projectId?: Maybe<Scalars["String"]>;
1615
+ /** The order of the item in the project resources list. */
1616
+ sortOrder?: Maybe<Scalars["Float"]>;
1492
1617
  /** The title of the document. */
1493
1618
  title?: Maybe<Scalars["String"]>;
1494
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
+ };
1495
1644
  export declare type EmailSubscribeInput = {
1496
1645
  /** [INTERNAL] Email to subscribe. */
1497
1646
  email: Scalars["String"];
@@ -1701,6 +1850,8 @@ export declare type Favorite = Node & {
1701
1850
  predefinedViewType?: Maybe<Scalars["String"]>;
1702
1851
  /** The favorited project. */
1703
1852
  project?: Maybe<Project>;
1853
+ /** The targeted tab of the project. */
1854
+ projectTab?: Maybe<ProjectTab>;
1704
1855
  /** The favorited team of the project. */
1705
1856
  projectTeam?: Maybe<Team>;
1706
1857
  /** The favorited roadmap. */
@@ -1756,6 +1907,8 @@ export declare type FavoriteCreateInput = {
1756
1907
  predefinedViewType?: Maybe<Scalars["String"]>;
1757
1908
  /** The identifier of the project to favorite. */
1758
1909
  projectId?: Maybe<Scalars["String"]>;
1910
+ /** The tab of the project to favorite. */
1911
+ projectTab?: Maybe<ProjectTab>;
1759
1912
  /** The identifier of the project team to favorite. */
1760
1913
  projectTeamId?: Maybe<Scalars["String"]>;
1761
1914
  /** The identifier of the roadmap to favorite. */
@@ -1821,6 +1974,79 @@ export declare type FrontSettingsInput = {
1821
1974
  /** Whether an internal message should be added when a Linear issue changes status (for status types except completed or canceled). */
1822
1975
  sendNoteOnStatusChange?: Maybe<Scalars["Boolean"]>;
1823
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
+ }
1824
2050
  export declare type GitHubCommitIntegrationPayload = {
1825
2051
  __typename?: "GitHubCommitIntegrationPayload";
1826
2052
  /** The integration that was created or updated. */
@@ -1832,51 +2058,51 @@ export declare type GitHubCommitIntegrationPayload = {
1832
2058
  /** The webhook secret to provide to GitHub. */
1833
2059
  webhookSecret: Scalars["String"];
1834
2060
  };
1835
- /** Metadata and settings for a GitHub integration. */
1836
- export declare type GitHubSettings = {
1837
- __typename?: "GitHubSettings";
1838
- /** The avatar URL for the GitHub organization */
1839
- orgAvatarUrl: Scalars["String"];
1840
- /** The GitHub organization's name */
1841
- orgLogin: Scalars["String"];
1842
- /** The names of the repositories connected for the GitHub integration */
1843
- 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"];
1844
2066
  };
1845
- export declare type GitHubSettingsInput = {
1846
- /** The avatar URL for the GitHub organization */
1847
- orgAvatarUrl: Scalars["String"];
1848
- /** The GitHub organization's name */
1849
- orgLogin: Scalars["String"];
1850
- /** The names of the repositories connected for the GitHub integration */
1851
- repositories?: Maybe<Array<Scalars["String"]>>;
2067
+ export declare type GitHubPersonalSettingsInput = {
2068
+ /** The GitHub user's name */
2069
+ login: Scalars["String"];
1852
2070
  };
1853
2071
  /** GitHub repos available to sync. */
1854
- export declare type GitHubSyncRepo = {
1855
- __typename?: "GitHubSyncRepo";
2072
+ export declare type GitHubRepo = {
2073
+ __typename?: "GitHubRepo";
1856
2074
  /** The full name of the repository. */
1857
2075
  fullName: Scalars["String"];
1858
2076
  /** The GitHub repo id. */
1859
2077
  id: Scalars["Float"];
1860
2078
  };
1861
- export declare type GitHubSyncRepoInput = {
2079
+ export declare type GitHubRepoInput = {
1862
2080
  /** The full name of the repository. */
1863
2081
  fullName: Scalars["String"];
1864
2082
  /** The GitHub repo id. */
1865
2083
  id: Scalars["Float"];
1866
2084
  };
1867
- /** Metadata and settings for a GitHub Sync integration. */
1868
- export declare type GitHubSyncSettings = {
1869
- __typename?: "GitHubSyncSettings";
1870
- /** Mapping of team to repository for syncing */
1871
- 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"];
1872
2092
  /** The names of the repositories connected for the GitHub integration */
1873
- repos?: Maybe<Array<GitHubSyncRepo>>;
1874
- };
1875
- export declare type GitHubSyncSettingsInput = {
2093
+ repositories?: Maybe<Array<GitHubRepo>>;
1876
2094
  /** Mapping of team to repository for syncing */
1877
- 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"];
1878
2102
  /** The names of the repositories connected for the GitHub integration */
1879
- repos?: Maybe<Array<GitHubSyncRepoInput>>;
2103
+ repositories?: Maybe<Array<GitHubRepoInput>>;
2104
+ /** Mapping of team to repository for syncing */
2105
+ repositoriesMapping?: Maybe<Array<TeamRepoMappingInput>>;
1880
2106
  };
1881
2107
  /** Metadata and settings for a GitLab integration. */
1882
2108
  export declare type GitLabSettings = {
@@ -2037,7 +2263,6 @@ export declare enum IntegrationService {
2037
2263
  Figma = "figma",
2038
2264
  FigmaPlugin = "figmaPlugin",
2039
2265
  Front = "front",
2040
- GitHubSync = "gitHubSync",
2041
2266
  Github = "github",
2042
2267
  GithubCommit = "githubCommit",
2043
2268
  GithubPersonal = "githubPersonal",
@@ -2065,7 +2290,7 @@ export declare type IntegrationSettings = {
2065
2290
  __typename?: "IntegrationSettings";
2066
2291
  front?: Maybe<FrontSettings>;
2067
2292
  gitHub?: Maybe<GitHubSettings>;
2068
- gitHubSync?: Maybe<GitHubSyncSettings>;
2293
+ gitHubPersonal?: Maybe<GitHubPersonalSettings>;
2069
2294
  gitLab?: Maybe<GitLabSettings>;
2070
2295
  googleSheets?: Maybe<GoogleSheetsSettings>;
2071
2296
  intercom?: Maybe<IntercomSettings>;
@@ -2084,7 +2309,7 @@ export declare type IntegrationSettings = {
2084
2309
  export declare type IntegrationSettingsInput = {
2085
2310
  front?: Maybe<FrontSettingsInput>;
2086
2311
  gitHub?: Maybe<GitHubSettingsInput>;
2087
- gitHubSync?: Maybe<GitHubSyncSettingsInput>;
2312
+ gitHubPersonal?: Maybe<GitHubPersonalSettingsInput>;
2088
2313
  gitLab?: Maybe<GitLabSettingsInput>;
2089
2314
  googleSheets?: Maybe<GoogleSheetsSettingsInput>;
2090
2315
  intercom?: Maybe<IntercomSettingsInput>;
@@ -2308,6 +2533,8 @@ export declare type Issue = Node & {
2308
2533
  * @deprecated Will be removed in near future, please use `sortOrder` instead
2309
2534
  */
2310
2535
  boardOrder: Scalars["Float"];
2536
+ /** The bot that created the issue, if applicable. */
2537
+ botActor?: Maybe<ActorBot>;
2311
2538
  /** Suggested branch name for the issue. */
2312
2539
  branchName: Scalars["String"];
2313
2540
  /** The time at which the issue was moved into canceled state. */
@@ -2351,6 +2578,8 @@ export declare type Issue = Node & {
2351
2578
  integrationSourceType?: Maybe<IntegrationService>;
2352
2579
  /** Inverse relations associated with this issue. */
2353
2580
  inverseRelations: IssueRelationConnection;
2581
+ /** Id of the labels associated with this issue. */
2582
+ labelIds: Array<Scalars["String"]>;
2354
2583
  /** Labels associated with this issue. */
2355
2584
  labels: IssueLabelConnection;
2356
2585
  /** The last template that was applied to this issue. */
@@ -3316,6 +3545,8 @@ export declare type IssueSearchResult = Node & {
3316
3545
  * @deprecated Will be removed in near future, please use `sortOrder` instead
3317
3546
  */
3318
3547
  boardOrder: Scalars["Float"];
3548
+ /** The bot that created the issue, if applicable. */
3549
+ botActor?: Maybe<ActorBot>;
3319
3550
  /** Suggested branch name for the issue. */
3320
3551
  branchName: Scalars["String"];
3321
3552
  /** The time at which the issue was moved into canceled state. */
@@ -3359,6 +3590,8 @@ export declare type IssueSearchResult = Node & {
3359
3590
  integrationSourceType?: Maybe<IntegrationService>;
3360
3591
  /** Inverse relations associated with this issue. */
3361
3592
  inverseRelations: IssueRelationConnection;
3593
+ /** Id of the labels associated with this issue. */
3594
+ labelIds: Array<Scalars["String"]>;
3362
3595
  /** Labels associated with this issue. */
3363
3596
  labels: IssueLabelConnection;
3364
3597
  /** The last template that was applied to this issue. */
@@ -3565,6 +3798,8 @@ export declare type JiraLinearMapping = {
3565
3798
  __typename?: "JiraLinearMapping";
3566
3799
  /** Whether the sync for this mapping is bidirectional. */
3567
3800
  bidirectional?: Maybe<Scalars["Boolean"]>;
3801
+ /** Whether this mapping is the default one for issue creation. */
3802
+ default?: Maybe<Scalars["Boolean"]>;
3568
3803
  /** The Jira id for this project. */
3569
3804
  jiraProjectId: Scalars["String"];
3570
3805
  /** The Linear team id to map to the given project. */
@@ -3573,6 +3808,8 @@ export declare type JiraLinearMapping = {
3573
3808
  export declare type JiraLinearMappingInput = {
3574
3809
  /** Whether the sync for this mapping is bidirectional. */
3575
3810
  bidirectional?: Maybe<Scalars["Boolean"]>;
3811
+ /** Whether this mapping is the default one for issue creation. */
3812
+ default?: Maybe<Scalars["Boolean"]>;
3576
3813
  /** The Jira id for this project. */
3577
3814
  jiraProjectId: Scalars["String"];
3578
3815
  /** The Linear team id to map to the given project. */
@@ -3609,17 +3846,27 @@ export declare type JiraProjectDataInput = {
3609
3846
  /** Jira specific settings. */
3610
3847
  export declare type JiraSettings = {
3611
3848
  __typename?: "JiraSettings";
3849
+ /** Whether this integration is for Jira Server or not. */
3850
+ isJiraServer?: Maybe<Scalars["Boolean"]>;
3612
3851
  /** The mapping of Jira project id => Linear team id. */
3613
3852
  projectMapping?: Maybe<Array<JiraLinearMapping>>;
3614
3853
  /** The Jira projects for the organization. */
3615
3854
  projects: Array<JiraProjectData>;
3616
3855
  };
3617
3856
  export declare type JiraSettingsInput = {
3857
+ /** Whether this integration is for Jira Server or not. */
3858
+ isJiraServer?: Maybe<Scalars["Boolean"]>;
3618
3859
  /** The mapping of Jira project id => Linear team id. */
3619
3860
  projectMapping?: Maybe<Array<JiraLinearMappingInput>>;
3620
3861
  /** The Jira projects for the organization. */
3621
3862
  projects: Array<JiraProjectDataInput>;
3622
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
+ };
3623
3870
  export declare type JoinOrganizationInput = {
3624
3871
  /** An optional invite link for an organization. */
3625
3872
  inviteLink?: Maybe<Scalars["String"]>;
@@ -3690,7 +3937,9 @@ export declare type Mutation = {
3690
3937
  attachmentLinkDiscord: AttachmentPayload;
3691
3938
  /** Link an existing Front conversation to an issue. */
3692
3939
  attachmentLinkFront: FrontAttachmentPayload;
3693
- /** 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. */
3694
3943
  attachmentLinkGitHubPR: AttachmentPayload;
3695
3944
  /** Link an existing GitLab MR to an issue. */
3696
3945
  attachmentLinkGitLabMR: AttachmentPayload;
@@ -3738,6 +3987,8 @@ export declare type Mutation = {
3738
3987
  cycleArchive: CycleArchivePayload;
3739
3988
  /** Creates a new cycle. */
3740
3989
  cycleCreate: CyclePayload;
3990
+ /** Shifts all cycles starts by a certain number of weeks. */
3991
+ cycleShiftAll: CyclePayload;
3741
3992
  /** Updates a cycle. */
3742
3993
  cycleUpdate: CyclePayload;
3743
3994
  /** Creates a new document. */
@@ -3766,6 +4017,12 @@ export declare type Mutation = {
3766
4017
  favoriteUpdate: FavoritePayload;
3767
4018
  /** XHR request payload to upload an images, video and other attachments directly to Linear's cloud storage. */
3768
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;
3769
4026
  /** Authenticate user account through Google OAuth. This is the 2nd step of OAuth flow. */
3770
4027
  googleUserAccountAuth: AuthResolverResponse;
3771
4028
  /** Upload an image from an URL to Linear. */
@@ -3788,8 +4045,6 @@ export declare type Mutation = {
3788
4045
  integrationGithubCommitCreate: GitHubCommitIntegrationPayload;
3789
4046
  /** Connects the organization with the GitHub App. */
3790
4047
  integrationGithubConnect: IntegrationPayload;
3791
- /** Connects the organization with the GitHub Sync App. */
3792
- integrationGithubSyncConnect: IntegrationPayload;
3793
4048
  /** Connects the organization with a GitLab Access Token. */
3794
4049
  integrationGitlabConnect: IntegrationPayload;
3795
4050
  /** [Internal] Connects the Google Calendar to the user to this Linear account via OAuth2. */
@@ -3807,6 +4062,8 @@ export declare type Mutation = {
3807
4062
  integrationIntercomSettingsUpdate: IntegrationPayload;
3808
4063
  /** Connect your Jira account to Linear. */
3809
4064
  integrationJiraPersonal: IntegrationPayload;
4065
+ /** [INTERNAL] Updates a Jira Integration */
4066
+ integrationJiraUpdate: IntegrationPayload;
3810
4067
  /**
3811
4068
  * Enables Loom integration for the organization.
3812
4069
  * @deprecated Not available.
@@ -3829,13 +4086,13 @@ export declare type Mutation = {
3829
4086
  /** Imports custom emojis from your Slack workspace. */
3830
4087
  integrationSlackImportEmojis: IntegrationPayload;
3831
4088
  /** Slack integration for organization level project update notifications. */
3832
- integrationSlackOrgProjectUpdatesPost: IntegrationPayload;
4089
+ integrationSlackOrgProjectUpdatesPost: SlackChannelConnectPayload;
3833
4090
  /** Integrates your personal notifications with Slack. */
3834
4091
  integrationSlackPersonal: IntegrationPayload;
3835
4092
  /** Slack webhook integration. */
3836
- integrationSlackPost: IntegrationPayload;
4093
+ integrationSlackPost: SlackChannelConnectPayload;
3837
4094
  /** Slack integration for project notifications. */
3838
- integrationSlackProjectPost: IntegrationPayload;
4095
+ integrationSlackProjectPost: SlackChannelConnectPayload;
3839
4096
  /** Creates a new integrationTemplate join. */
3840
4097
  integrationTemplateCreate: IntegrationTemplatePayload;
3841
4098
  /** Deletes a integrationTemplate. */
@@ -4042,6 +4299,8 @@ export declare type Mutation = {
4042
4299
  teamMembershipDelete: DeletePayload;
4043
4300
  /** Updates a team membership. */
4044
4301
  teamMembershipUpdate: TeamMembershipPayload;
4302
+ /** Unarchives a team and cancels deletion. */
4303
+ teamUnarchive: TeamArchivePayload;
4045
4304
  /** Updates a team. */
4046
4305
  teamUpdate: TeamPayload;
4047
4306
  /** Creates a new template. */
@@ -4060,16 +4319,6 @@ export declare type Mutation = {
4060
4319
  userExternalUserDisconnect: UserPayload;
4061
4320
  /** Updates a user's settings flag. */
4062
4321
  userFlagUpdate: UserSettingsFlagPayload;
4063
- /**
4064
- * [DEPRECATED] Connects the GitHub user to this Linear account via OAuth2.
4065
- * @deprecated Replaced by integrationGitHubPersonal mutation on Integration resolver.
4066
- */
4067
- userGitHubConnect: UserPayload;
4068
- /**
4069
- * [DEPRECATED] Connects the Jira user to this Linear account via OAuth2.
4070
- * @deprecated Replaced by integrationJiraPersonal mutation on Integration resolver.
4071
- */
4072
- userJiraConnect: UserPayload;
4073
4322
  /** Makes user an admin. Can only be called by an admin. */
4074
4323
  userPromoteAdmin: UserAdminPayload;
4075
4324
  /** Makes user a regular user. Can only be called by an admin. */
@@ -4139,14 +4388,21 @@ export declare type MutationAttachmentLinkFrontArgs = {
4139
4388
  id?: Maybe<Scalars["String"]>;
4140
4389
  issueId: Scalars["String"];
4141
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
+ };
4142
4398
  export declare type MutationAttachmentLinkGitHubPrArgs = {
4143
4399
  createAsUser?: Maybe<Scalars["String"]>;
4144
4400
  displayIconUrl?: Maybe<Scalars["String"]>;
4145
4401
  id?: Maybe<Scalars["String"]>;
4146
4402
  issueId: Scalars["String"];
4147
- number: Scalars["Float"];
4148
- owner: Scalars["String"];
4149
- repo: Scalars["String"];
4403
+ number?: Maybe<Scalars["Float"]>;
4404
+ owner?: Maybe<Scalars["String"]>;
4405
+ repo?: Maybe<Scalars["String"]>;
4150
4406
  url: Scalars["String"];
4151
4407
  };
4152
4408
  export declare type MutationAttachmentLinkGitLabMrArgs = {
@@ -4252,6 +4508,9 @@ export declare type MutationCycleArchiveArgs = {
4252
4508
  export declare type MutationCycleCreateArgs = {
4253
4509
  input: CycleCreateInput;
4254
4510
  };
4511
+ export declare type MutationCycleShiftAllArgs = {
4512
+ input: CycleShiftAllInput;
4513
+ };
4255
4514
  export declare type MutationCycleUpdateArgs = {
4256
4515
  id: Scalars["String"];
4257
4516
  input: CycleUpdateInput;
@@ -4301,6 +4560,16 @@ export declare type MutationFileUploadArgs = {
4301
4560
  metaData?: Maybe<Scalars["JSON"]>;
4302
4561
  size: Scalars["Int"];
4303
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
+ };
4304
4573
  export declare type MutationGoogleUserAccountAuthArgs = {
4305
4574
  input: GoogleUserAccountAuthInput;
4306
4575
  };
@@ -4338,9 +4607,6 @@ export declare type MutationIntegrationGitHubPersonalArgs = {
4338
4607
  export declare type MutationIntegrationGithubConnectArgs = {
4339
4608
  installationId: Scalars["String"];
4340
4609
  };
4341
- export declare type MutationIntegrationGithubSyncConnectArgs = {
4342
- installationId: Scalars["String"];
4343
- };
4344
4610
  export declare type MutationIntegrationGitlabConnectArgs = {
4345
4611
  accessToken: Scalars["String"];
4346
4612
  gitlabUrl: Scalars["String"];
@@ -4360,7 +4626,11 @@ export declare type MutationIntegrationIntercomSettingsUpdateArgs = {
4360
4626
  input: IntercomSettingsInput;
4361
4627
  };
4362
4628
  export declare type MutationIntegrationJiraPersonalArgs = {
4363
- code: Scalars["String"];
4629
+ accessToken?: Maybe<Scalars["String"]>;
4630
+ code?: Maybe<Scalars["String"]>;
4631
+ };
4632
+ export declare type MutationIntegrationJiraUpdateArgs = {
4633
+ input: JiraUpdateInput;
4364
4634
  };
4365
4635
  export declare type MutationIntegrationPagerDutyConnectArgs = {
4366
4636
  code: Scalars["String"];
@@ -4648,6 +4918,7 @@ export declare type MutationProjectArchiveArgs = {
4648
4918
  trash?: Maybe<Scalars["Boolean"]>;
4649
4919
  };
4650
4920
  export declare type MutationProjectCreateArgs = {
4921
+ connectSlackChannel?: Maybe<Scalars["Boolean"]>;
4651
4922
  input: ProjectCreateInput;
4652
4923
  };
4653
4924
  export declare type MutationProjectDeleteArgs = {
@@ -4766,6 +5037,9 @@ export declare type MutationTeamMembershipUpdateArgs = {
4766
5037
  id: Scalars["String"];
4767
5038
  input: TeamMembershipUpdateInput;
4768
5039
  };
5040
+ export declare type MutationTeamUnarchiveArgs = {
5041
+ id: Scalars["String"];
5042
+ };
4769
5043
  export declare type MutationTeamUpdateArgs = {
4770
5044
  id: Scalars["String"];
4771
5045
  input: TeamUpdateInput;
@@ -4797,12 +5071,6 @@ export declare type MutationUserFlagUpdateArgs = {
4797
5071
  flag: UserFlagType;
4798
5072
  operation: UserFlagUpdateOperation;
4799
5073
  };
4800
- export declare type MutationUserGitHubConnectArgs = {
4801
- code: Scalars["String"];
4802
- };
4803
- export declare type MutationUserJiraConnectArgs = {
4804
- code: Scalars["String"];
4805
- };
4806
5074
  export declare type MutationUserPromoteAdminArgs = {
4807
5075
  id: Scalars["String"];
4808
5076
  };
@@ -5577,6 +5845,11 @@ export declare type OauthClientEdge = {
5577
5845
  cursor: Scalars["String"];
5578
5846
  node: OauthClient;
5579
5847
  };
5848
+ export declare type OauthToken = {
5849
+ __typename?: "OauthToken";
5850
+ createdAt: Scalars["DateTime"];
5851
+ id: Scalars["ID"];
5852
+ };
5580
5853
  export declare type OnboardingCustomerSurvey = {
5581
5854
  companyRole?: Maybe<Scalars["String"]>;
5582
5855
  companySize?: Maybe<Scalars["String"]>;
@@ -5596,6 +5869,8 @@ export declare type Organization = Node & {
5596
5869
  createdIssueCount: Scalars["Int"];
5597
5870
  /** The time at which deletion of the organization was requested. */
5598
5871
  deletionRequestedAt?: Maybe<Scalars["DateTime"]>;
5872
+ /** The month at which the fiscal year starts. Defaults to January (0). */
5873
+ fiscalYearStartMonth: Scalars["Float"];
5599
5874
  /** How git branches are formatted. If null, default formatting will be used. */
5600
5875
  gitBranchFormat?: Maybe<Scalars["String"]>;
5601
5876
  /** Whether the Git integration linkback messages should be sent to private repositories. */
@@ -5918,6 +6193,8 @@ export declare type OrganizationUpdateInput = {
5918
6193
  allowMembersToInvite?: Maybe<Scalars["Boolean"]>;
5919
6194
  /** List of services that are allowed to be used for login. */
5920
6195
  allowedAuthServices?: Maybe<Array<Scalars["String"]>>;
6196
+ /** The month at which the fiscal year starts. */
6197
+ fiscalYearStartMonth?: Maybe<Scalars["Float"]>;
5921
6198
  /** How git branches are formatted. If null, default formatting will be used. */
5922
6199
  gitBranchFormat?: Maybe<Scalars["String"]>;
5923
6200
  /** Whether the Git integration linkback messages should be sent for private repositories. */
@@ -6053,7 +6330,7 @@ export declare type Project = Node & {
6053
6330
  /** The time at which the entity was created. */
6054
6331
  createdAt: Scalars["DateTime"];
6055
6332
  /** The user who created the project. */
6056
- creator: User;
6333
+ creator?: Maybe<User>;
6057
6334
  /** The project's description. */
6058
6335
  description: Scalars["String"];
6059
6336
  /** Documents associated with the project. */
@@ -6104,12 +6381,16 @@ export declare type Project = Node & {
6104
6381
  sortOrder: Scalars["Float"];
6105
6382
  /** The estimated start date of the project. */
6106
6383
  startDate?: Maybe<Scalars["TimelessDate"]>;
6384
+ /** [INTERNAL] The resolution of the project's start date. */
6385
+ startDateResolution?: Maybe<DateResolutionType>;
6107
6386
  /** The time at which the project was moved into started state. */
6108
6387
  startedAt?: Maybe<Scalars["DateTime"]>;
6109
6388
  /** The type of the state. */
6110
6389
  state: Scalars["String"];
6111
6390
  /** The estimated completion date of the project. */
6112
6391
  targetDate?: Maybe<Scalars["TimelessDate"]>;
6392
+ /** [INTERNAL] The resolution of the project's estimated completion date. */
6393
+ targetDateResolution?: Maybe<DateResolutionType>;
6113
6394
  /** Teams associated with this project. */
6114
6395
  teams: TeamConnection;
6115
6396
  /** A flag that indicates whether the project is in the trash bin. */
@@ -6284,10 +6565,14 @@ export declare type ProjectCreateInput = {
6284
6565
  sortOrder?: Maybe<Scalars["Float"]>;
6285
6566
  /** The planned start date of the project. */
6286
6567
  startDate?: Maybe<Scalars["TimelessDate"]>;
6568
+ /** [INTERNAL] The resolution of the project's start date. */
6569
+ startDateResolution?: Maybe<DateResolutionType>;
6287
6570
  /** The state of the project. */
6288
6571
  state?: Maybe<Scalars["String"]>;
6289
6572
  /** The planned target date of the project. */
6290
6573
  targetDate?: Maybe<Scalars["TimelessDate"]>;
6574
+ /** [INTERNAL] The resolution of the project's estimated completion date. */
6575
+ targetDateResolution?: Maybe<DateResolutionType>;
6291
6576
  /** The identifiers of the teams this project is associated with. */
6292
6577
  teamIds: Array<Scalars["String"]>;
6293
6578
  };
@@ -6366,6 +6651,8 @@ export declare type ProjectLink = Node & {
6366
6651
  label: Scalars["String"];
6367
6652
  /** The project that the link is associated with. */
6368
6653
  project: Project;
6654
+ /** The order of the item in the project resources list. */
6655
+ sortOrder: Scalars["Float"];
6369
6656
  /**
6370
6657
  * The last time at which the entity was meaningfully updated, i.e. for all changes of syncable properties except those
6371
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
@@ -6388,6 +6675,8 @@ export declare type ProjectLinkCreateInput = {
6388
6675
  label: Scalars["String"];
6389
6676
  /** Related project for the link. */
6390
6677
  projectId: Scalars["String"];
6678
+ /** The order of the item in the project resources list. */
6679
+ sortOrder?: Maybe<Scalars["Float"]>;
6391
6680
  /** The URL of the link. */
6392
6681
  url: Scalars["String"];
6393
6682
  };
@@ -6409,6 +6698,8 @@ export declare type ProjectLinkPayload = {
6409
6698
  export declare type ProjectLinkUpdateInput = {
6410
6699
  /** The label for the link. */
6411
6700
  label?: Maybe<Scalars["String"]>;
6701
+ /** The order of the item in the project resources list. */
6702
+ sortOrder?: Maybe<Scalars["Float"]>;
6412
6703
  /** The URL of the link. */
6413
6704
  url?: Maybe<Scalars["String"]>;
6414
6705
  };
@@ -6650,7 +6941,7 @@ export declare type ProjectSearchResult = Node & {
6650
6941
  /** The time at which the entity was created. */
6651
6942
  createdAt: Scalars["DateTime"];
6652
6943
  /** The user who created the project. */
6653
- creator: User;
6944
+ creator?: Maybe<User>;
6654
6945
  /** The project's description. */
6655
6946
  description: Scalars["String"];
6656
6947
  /** Documents associated with the project. */
@@ -6703,12 +6994,16 @@ export declare type ProjectSearchResult = Node & {
6703
6994
  sortOrder: Scalars["Float"];
6704
6995
  /** The estimated start date of the project. */
6705
6996
  startDate?: Maybe<Scalars["TimelessDate"]>;
6997
+ /** [INTERNAL] The resolution of the project's start date. */
6998
+ startDateResolution?: Maybe<DateResolutionType>;
6706
6999
  /** The time at which the project was moved into started state. */
6707
7000
  startedAt?: Maybe<Scalars["DateTime"]>;
6708
7001
  /** The type of the state. */
6709
7002
  state: Scalars["String"];
6710
7003
  /** The estimated completion date of the project. */
6711
7004
  targetDate?: Maybe<Scalars["TimelessDate"]>;
7005
+ /** [INTERNAL] The resolution of the project's estimated completion date. */
7006
+ targetDateResolution?: Maybe<DateResolutionType>;
6712
7007
  /** Teams associated with this project. */
6713
7008
  teams: TeamConnection;
6714
7009
  /** A flag that indicates whether the project is in the trash bin. */
@@ -6794,6 +7089,12 @@ export declare type ProjectSearchResultEdge = {
6794
7089
  cursor: Scalars["String"];
6795
7090
  node: ProjectSearchResult;
6796
7091
  };
7092
+ /** Different tabs available inside a project. */
7093
+ export declare enum ProjectTab {
7094
+ Activity = "activity",
7095
+ Documents = "documents",
7096
+ Issues = "issues"
7097
+ }
6797
7098
  /** A update associated with an project. */
6798
7099
  export declare type ProjectUpdate = Node & {
6799
7100
  __typename?: "ProjectUpdate";
@@ -6912,10 +7213,14 @@ export declare type ProjectUpdateInput = {
6912
7213
  sortOrder?: Maybe<Scalars["Float"]>;
6913
7214
  /** The planned start date of the project. */
6914
7215
  startDate?: Maybe<Scalars["TimelessDate"]>;
7216
+ /** [INTERNAL] The resolution of the project's start date. */
7217
+ startDateResolution?: Maybe<DateResolutionType>;
6915
7218
  /** The state of the project. */
6916
7219
  state?: Maybe<Scalars["String"]>;
6917
7220
  /** The planned target date of the project. */
6918
7221
  targetDate?: Maybe<Scalars["TimelessDate"]>;
7222
+ /** [INTERNAL] The resolution of the project's estimated completion date. */
7223
+ targetDateResolution?: Maybe<DateResolutionType>;
6919
7224
  /** The identifiers of the teams this project is associated with. */
6920
7225
  teamIds?: Maybe<Array<Scalars["String"]>>;
6921
7226
  };
@@ -7095,6 +7400,8 @@ export declare type Query = {
7095
7400
  applicationInfoByIds: Array<Application>;
7096
7401
  /** Get information for an application and whether a user has approved it for the given scopes. */
7097
7402
  applicationWithAuthorization: UserAuthorizedApplication;
7403
+ /** [Internal] All archived teams of the organization. */
7404
+ archivedTeams: Array<Team>;
7098
7405
  /**
7099
7406
  * One specific issue attachment.
7100
7407
  * [Deprecated] 'url' can no longer be used as the 'id' parameter. Use 'attachmentsForUrl' instead
@@ -7651,6 +7958,10 @@ export declare type QueryProjectsArgs = {
7651
7958
  last?: Maybe<Scalars["Int"]>;
7652
7959
  orderBy?: Maybe<PaginationOrderBy>;
7653
7960
  };
7961
+ export declare type QueryPushSubscriptionTestArgs = {
7962
+ sendStrategy?: Maybe<SendStrategy>;
7963
+ targetMobile?: Maybe<Scalars["Boolean"]>;
7964
+ };
7654
7965
  export declare type QueryRoadmapArgs = {
7655
7966
  id: Scalars["String"];
7656
7967
  };
@@ -7805,19 +8116,25 @@ export declare type Reaction = Node & {
7805
8116
  __typename?: "Reaction";
7806
8117
  /** The time at which the entity was archived. Null if the entity has not been archived. */
7807
8118
  archivedAt?: Maybe<Scalars["DateTime"]>;
8119
+ /** The comment that the reaction is associated with. */
8120
+ comment?: Maybe<Comment>;
7808
8121
  /** The time at which the entity was created. */
7809
8122
  createdAt: Scalars["DateTime"];
7810
8123
  /** Name of the reaction's emoji. */
7811
8124
  emoji: Scalars["String"];
7812
8125
  /** The unique identifier of the entity. */
7813
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>;
7814
8131
  /**
7815
8132
  * The last time at which the entity was meaningfully updated, i.e. for all changes of syncable properties except those
7816
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
7817
8134
  * been updated after creation.
7818
8135
  */
7819
8136
  updatedAt: Scalars["DateTime"];
7820
- /** The user who reacted. */
8137
+ /** The user that created the reaction. */
7821
8138
  user?: Maybe<User>;
7822
8139
  };
7823
8140
  export declare type ReactionConnection = {
@@ -8109,6 +8426,12 @@ export declare type SamlConfigurationPayload = {
8109
8426
  /** The algorithm of the Signing Certificate. Can be one of `sha1`, `sha256` (default), or `sha512`. */
8110
8427
  ssoSignAlgo?: Maybe<Scalars["String"]>;
8111
8428
  };
8429
+ export declare enum SendStrategy {
8430
+ Desktop = "desktop",
8431
+ DesktopAndPush = "desktopAndPush",
8432
+ DesktopThenPush = "desktopThenPush",
8433
+ Push = "push"
8434
+ }
8112
8435
  /** Sentry specific settings. */
8113
8436
  export declare type SentrySettings = {
8114
8437
  __typename?: "SentrySettings";
@@ -8169,6 +8492,21 @@ export declare type SlackAsksTeamSettingsInput = {
8169
8492
  /** The Linear team ID. */
8170
8493
  id: Scalars["String"];
8171
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
+ };
8172
8510
  /** Object for mapping Slack channel IDs to names and other settings */
8173
8511
  export declare type SlackChannelNameMapping = {
8174
8512
  __typename?: "SlackChannelNameMapping";
@@ -8178,6 +8516,8 @@ export declare type SlackChannelNameMapping = {
8178
8516
  autoCreateOnEmoji?: Maybe<Scalars["Boolean"]>;
8179
8517
  /** Whether or not top-level messages in this channel should automatically create Asks */
8180
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"]>;
8181
8521
  /** Whether or not we the Linear Asks bot has been added to this Slack channel */
8182
8522
  botAdded?: Maybe<Scalars["Boolean"]>;
8183
8523
  /** The Slack channel ID. */
@@ -8198,6 +8538,8 @@ export declare type SlackChannelNameMappingInput = {
8198
8538
  autoCreateOnEmoji?: Maybe<Scalars["Boolean"]>;
8199
8539
  /** Whether or not top-level messages in this channel should automatically create Asks */
8200
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"]>;
8201
8543
  /** Whether or not we the Linear Asks bot has been added to this Slack channel */
8202
8544
  botAdded?: Maybe<Scalars["Boolean"]>;
8203
8545
  /** The Slack channel ID. */
@@ -8211,16 +8553,24 @@ export declare type SlackChannelNameMappingInput = {
8211
8553
  /** Which teams are connected to the channel and settings for those teams */
8212
8554
  teams: Array<SlackAsksTeamSettingsInput>;
8213
8555
  };
8556
+ export declare enum SlackChannelType {
8557
+ DirectMessage = "DirectMessage",
8558
+ MultiPersonDirectMessage = "MultiPersonDirectMessage",
8559
+ Private = "Private",
8560
+ Public = "Public"
8561
+ }
8214
8562
  /** Slack notification specific settings. */
8215
8563
  export declare type SlackPostSettings = {
8216
8564
  __typename?: "SlackPostSettings";
8217
8565
  channel: Scalars["String"];
8218
8566
  channelId: Scalars["String"];
8567
+ channelType?: Maybe<SlackChannelType>;
8219
8568
  configurationUrl: Scalars["String"];
8220
8569
  };
8221
8570
  export declare type SlackPostSettingsInput = {
8222
8571
  channel: Scalars["String"];
8223
8572
  channelId: Scalars["String"];
8573
+ channelType?: Maybe<SlackChannelType>;
8224
8574
  configurationUrl: Scalars["String"];
8225
8575
  };
8226
8576
  /** Settings for the regular Slack integration. */
@@ -8334,23 +8684,6 @@ export declare type SubTypeComparator = {
8334
8684
  /** Null constraint. Matches any non-null values if the given value is false, otherwise it matches null values. */
8335
8685
  null?: Maybe<Scalars["Boolean"]>;
8336
8686
  };
8337
- /** 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. */
8338
- export declare type SyncResponse = {
8339
- __typename?: "SyncResponse";
8340
- /** The version of the remote database. Incremented by 1 for each migration run on the database. */
8341
- databaseVersion: Scalars["Float"];
8342
- /** JSON serialized delta changes that the client can apply to its local state in order to catch up with the state of the world. */
8343
- delta?: Maybe<Scalars["String"]>;
8344
- /** The last sync id covered by the response. */
8345
- lastSyncId: Scalars["Float"];
8346
- /**
8347
- * The full state of the organization as a serialized JSON object.
8348
- * Mutually exclusive with the delta property
8349
- */
8350
- state?: Maybe<Scalars["String"]>;
8351
- /** The sync groups that the user is subscribed to. */
8352
- subscribedSyncGroups: Array<Scalars["String"]>;
8353
- };
8354
8687
  export declare type SynchronizedPayload = {
8355
8688
  __typename?: "SynchronizedPayload";
8356
8689
  /** The identifier of the last sync operation. */
@@ -8369,6 +8702,8 @@ export declare type Team = Node & {
8369
8702
  autoClosePeriod?: Maybe<Scalars["Float"]>;
8370
8703
  /** The canceled workflow state which auto closed issues will be set to. Defaults to the first canceled state. */
8371
8704
  autoCloseStateId?: Maybe<Scalars["String"]>;
8705
+ /** The automation states for the team. */
8706
+ automationStates: GitAutomationStateConnection;
8372
8707
  /** The team's color. */
8373
8708
  color?: Maybe<Scalars["String"]>;
8374
8709
  /** The time at which the entity was created. */
@@ -8435,7 +8770,7 @@ export declare type Team = Node & {
8435
8770
  issueEstimationType: Scalars["String"];
8436
8771
  /** Whether issues without priority should be sorted first. */
8437
8772
  issueOrderingNoPriorityFirst: Scalars["Boolean"];
8438
- /** 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. */
8439
8774
  issueSortOrderDefaultToBottom: Scalars["Boolean"];
8440
8775
  /** Issues associated with the team. */
8441
8776
  issues: IssueConnection;
@@ -8467,6 +8802,8 @@ export declare type Team = Node & {
8467
8802
  requirePriorityToLeaveTriage: Scalars["Boolean"];
8468
8803
  /** The workflow state into which issues are moved when a review has been requested for the PR. */
8469
8804
  reviewWorkflowState?: Maybe<WorkflowState>;
8805
+ /** Where to move issues when changing state. */
8806
+ setIssueSortOrderOnStateChange: Scalars["String"];
8470
8807
  /** Whether to send new issue comment notifications to Slack. */
8471
8808
  slackIssueComments: Scalars["Boolean"];
8472
8809
  /** Whether to send new issue status updates to Slack. */
@@ -8497,6 +8834,15 @@ export declare type Team = Node & {
8497
8834
  webhooks: WebhookConnection;
8498
8835
  };
8499
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. */
8500
8846
  export declare type TeamCyclesArgs = {
8501
8847
  after?: Maybe<Scalars["String"]>;
8502
8848
  before?: Maybe<Scalars["String"]>;
@@ -8588,6 +8934,16 @@ export declare type TeamWebhooksArgs = {
8588
8934
  last?: Maybe<Scalars["Int"]>;
8589
8935
  orderBy?: Maybe<PaginationOrderBy>;
8590
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
+ };
8591
8947
  /** Roadmap collection filtering options. */
8592
8948
  export declare type TeamCollectionFilter = {
8593
8949
  /** Compound filters, all of which need to be matched by the roadmap. */
@@ -8660,7 +9016,7 @@ export declare type TeamCreateInput = {
8660
9016
  issueEstimationType?: Maybe<Scalars["String"]>;
8661
9017
  /** Whether issues without priority should be sorted first. */
8662
9018
  issueOrderingNoPriorityFirst?: Maybe<Scalars["Boolean"]>;
8663
- /** 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. */
8664
9020
  issueSortOrderDefaultToBottom?: Maybe<Scalars["Boolean"]>;
8665
9021
  /** The key of the team. If not given, the key will be generated based on the name of the team. */
8666
9022
  key?: Maybe<Scalars["String"]>;
@@ -8674,6 +9030,8 @@ export declare type TeamCreateInput = {
8674
9030
  private?: Maybe<Scalars["Boolean"]>;
8675
9031
  /** Whether an issue needs to have a priority set before leaving triage. */
8676
9032
  requirePriorityToLeaveTriage?: Maybe<Scalars["Boolean"]>;
9033
+ /** Whether to move issues to bottom of the column when changing state. */
9034
+ setIssueSortOrderOnStateChange?: Maybe<Scalars["String"]>;
8677
9035
  /** The timezone of the team. */
8678
9036
  timezone?: Maybe<Scalars["String"]>;
8679
9037
  /** Whether triage mode is enabled for the team. */
@@ -8883,7 +9241,7 @@ export declare type TeamUpdateInput = {
8883
9241
  issueEstimationType?: Maybe<Scalars["String"]>;
8884
9242
  /** Whether issues without priority should be sorted first. */
8885
9243
  issueOrderingNoPriorityFirst?: Maybe<Scalars["Boolean"]>;
8886
- /** 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. */
8887
9245
  issueSortOrderDefaultToBottom?: Maybe<Scalars["Boolean"]>;
8888
9246
  /** Whether new users should join this team by default. Mutation restricted to workspace admins! */
8889
9247
  joinByDefault?: Maybe<Scalars["Boolean"]>;
@@ -8903,6 +9261,8 @@ export declare type TeamUpdateInput = {
8903
9261
  requirePriorityToLeaveTriage?: Maybe<Scalars["Boolean"]>;
8904
9262
  /** The workflow state into which issues are moved when a review has been requested for the PR. */
8905
9263
  reviewWorkflowStateId?: Maybe<Scalars["String"]>;
9264
+ /** Whether to move issues to bottom of the column when changing state. */
9265
+ setIssueSortOrderOnStateChange?: Maybe<Scalars["String"]>;
8906
9266
  /** Whether to send new issue comment notifications to Slack. */
8907
9267
  slackIssueComments?: Maybe<Scalars["Boolean"]>;
8908
9268
  /** Whether to send issue status update notifications to Slack. */
@@ -9653,6 +10013,7 @@ export declare enum ViewType {
9653
10013
  MyIssuesCreatedByMe = "myIssuesCreatedByMe",
9654
10014
  MyIssuesSubscribedTo = "myIssuesSubscribedTo",
9655
10015
  Project = "project",
10016
+ ProjectDocuments = "projectDocuments",
9656
10017
  Projects = "projects",
9657
10018
  ProjectsAll = "projectsAll",
9658
10019
  ProjectsBacklog = "projectsBacklog",
@@ -10104,12 +10465,15 @@ export declare type CommentFragment = {
10104
10465
  documentContent?: Maybe<{
10105
10466
  __typename?: "DocumentContent";
10106
10467
  } & DocumentContentFragment>;
10107
- issue: {
10468
+ issue?: Maybe<{
10108
10469
  __typename?: "Issue";
10109
- } & Pick<Issue, "id">;
10470
+ } & Pick<Issue, "id">>;
10110
10471
  parent?: Maybe<{
10111
10472
  __typename?: "Comment";
10112
10473
  } & Pick<Comment, "id">>;
10474
+ projectUpdate?: Maybe<{
10475
+ __typename?: "ProjectUpdate";
10476
+ } & Pick<ProjectUpdate, "id">>;
10113
10477
  resolvingUser?: Maybe<{
10114
10478
  __typename?: "User";
10115
10479
  } & Pick<User, "id">>;
@@ -10219,7 +10583,7 @@ export declare type DocumentContentHistoryFragment = {
10219
10583
  };
10220
10584
  export declare type DocumentFragment = {
10221
10585
  __typename: "Document";
10222
- } & 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"> & {
10223
10587
  lastAppliedTemplate?: Maybe<{
10224
10588
  __typename?: "Template";
10225
10589
  } & Pick<Template, "id">>;
@@ -10279,6 +10643,13 @@ export declare type RoadmapArchivePayloadFragment = {
10279
10643
  __typename?: "Roadmap";
10280
10644
  } & Pick<Roadmap, "id">>;
10281
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
+ };
10282
10653
  export declare type WorkflowStateArchivePayloadFragment = {
10283
10654
  __typename: "WorkflowStateArchivePayload";
10284
10655
  } & Pick<WorkflowStateArchivePayload, "lastSyncId" | "success"> & {
@@ -10307,10 +10678,13 @@ declare type ArchivePayload_ProjectArchivePayload_Fragment = {
10307
10678
  declare type ArchivePayload_RoadmapArchivePayload_Fragment = {
10308
10679
  __typename: "RoadmapArchivePayload";
10309
10680
  } & Pick<RoadmapArchivePayload, "lastSyncId" | "success"> & RoadmapArchivePayloadFragment;
10681
+ declare type ArchivePayload_TeamArchivePayload_Fragment = {
10682
+ __typename: "TeamArchivePayload";
10683
+ } & Pick<TeamArchivePayload, "lastSyncId" | "success"> & TeamArchivePayloadFragment;
10310
10684
  declare type ArchivePayload_WorkflowStateArchivePayload_Fragment = {
10311
10685
  __typename: "WorkflowStateArchivePayload";
10312
10686
  } & Pick<WorkflowStateArchivePayload, "lastSyncId" | "success"> & WorkflowStateArchivePayloadFragment;
10313
- 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;
10314
10688
  export declare type DeletePayloadFragment = {
10315
10689
  __typename: "DeletePayload";
10316
10690
  } & Pick<DeletePayload, "entityId" | "lastSyncId" | "success">;
@@ -10445,13 +10819,22 @@ export declare type ProjectFragment = {
10445
10819
  convertedFromIssue?: Maybe<{
10446
10820
  __typename?: "Issue";
10447
10821
  } & Pick<Issue, "id">>;
10448
- creator: {
10822
+ creator?: Maybe<{
10449
10823
  __typename?: "User";
10450
- } & Pick<User, "id">;
10824
+ } & Pick<User, "id">>;
10451
10825
  };
10452
10826
  export declare type ReactionFragment = {
10453
10827
  __typename: "Reaction";
10454
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">>;
10455
10838
  user?: Maybe<{
10456
10839
  __typename?: "User";
10457
10840
  } & Pick<User, "id">>;
@@ -10605,6 +10988,16 @@ export declare type TemplateFragment = {
10605
10988
  __typename?: "User";
10606
10989
  } & Pick<User, "id">>;
10607
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
+ };
10608
11001
  export declare type ProjectUpdateFragment = {
10609
11002
  __typename: "ProjectUpdate";
10610
11003
  } & Pick<ProjectUpdate, "url" | "diffMarkdown" | "diff" | "updatedAt" | "archivedAt" | "createdAt" | "editedAt" | "id" | "body"> & {
@@ -10645,7 +11038,7 @@ export declare type UserNotificationSubscriptionFragment = {
10645
11038
  };
10646
11039
  export declare type AuthUserFragment = {
10647
11040
  __typename: "AuthUser";
10648
- } & Pick<AuthUser, "avatarUrl" | "displayName" | "email" | "name" | "id"> & {
11041
+ } & Pick<AuthUser, "avatarUrl" | "displayName" | "email" | "name" | "active" | "id"> & {
10649
11042
  organization: {
10650
11043
  __typename?: "AuthOrganization";
10651
11044
  } & AuthOrganizationFragment;
@@ -10669,9 +11062,19 @@ export declare type WebhookFragment = {
10669
11062
  export declare type ApiKeyFragment = {
10670
11063
  __typename: "ApiKey";
10671
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
+ };
10672
11075
  export declare type ProjectLinkFragment = {
10673
11076
  __typename: "ProjectLink";
10674
- } & Pick<ProjectLink, "updatedAt" | "url" | "label" | "archivedAt" | "createdAt" | "id"> & {
11077
+ } & Pick<ProjectLink, "updatedAt" | "url" | "label" | "sortOrder" | "archivedAt" | "createdAt" | "id"> & {
10675
11078
  project: {
10676
11079
  __typename?: "Project";
10677
11080
  } & Pick<Project, "id">;
@@ -10739,7 +11142,10 @@ export declare type IssueNotificationFragment = {
10739
11142
  };
10740
11143
  export declare type IssueFragment = {
10741
11144
  __typename: "Issue";
10742
- } & 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>;
10743
11149
  cycle?: Maybe<{
10744
11150
  __typename?: "Cycle";
10745
11151
  } & Pick<Cycle, "id">>;
@@ -10792,17 +11198,17 @@ export declare type OauthClientApprovalNotificationFragment = {
10792
11198
  };
10793
11199
  export declare type OrganizationFragment = {
10794
11200
  __typename: "Organization";
10795
- } & 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"> & {
10796
11202
  subscription?: Maybe<{
10797
11203
  __typename?: "PaidSubscription";
10798
11204
  } & PaidSubscriptionFragment>;
10799
11205
  };
10800
11206
  export declare type AuthOrganizationFragment = {
10801
11207
  __typename: "AuthOrganization";
10802
- } & Pick<AuthOrganization, "allowedAuthServices" | "previousUrlKeys" | "logoUrl" | "name" | "urlKey" | "deletionRequestedAt" | "samlEnabled" | "id" | "userCount">;
11208
+ } & Pick<AuthOrganization, "allowedAuthServices" | "previousUrlKeys" | "logoUrl" | "name" | "urlKey" | "deletionRequestedAt" | "id" | "samlEnabled" | "scimEnabled" | "userCount">;
10803
11209
  export declare type TeamFragment = {
10804
11210
  __typename: "Team";
10805
- } & 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"> & {
10806
11212
  integrationsSettings?: Maybe<{
10807
11213
  __typename?: "IntegrationsSettings";
10808
11214
  } & Pick<IntegrationsSettings, "id">>;
@@ -10843,9 +11249,15 @@ export declare type TeamFragment = {
10843
11249
  __typename?: "WorkflowState";
10844
11250
  } & Pick<WorkflowState, "id">>;
10845
11251
  };
10846
- export declare type SyncResponseFragment = {
10847
- __typename: "SyncResponse";
10848
- } & 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">;
10849
11261
  export declare type ArchiveResponseFragment = {
10850
11262
  __typename: "ArchiveResponse";
10851
11263
  } & Pick<ArchiveResponse, "archive" | "totalCount" | "databaseVersion" | "includesDependencies">;
@@ -10876,9 +11288,9 @@ export declare type GithubOAuthTokenPayloadFragment = {
10876
11288
  __typename?: "GithubOrg";
10877
11289
  } & GithubOrgFragment>>;
10878
11290
  };
10879
- export declare type GitHubSyncRepoFragment = {
10880
- __typename: "GitHubSyncRepo";
10881
- } & Pick<GitHubSyncRepo, "id" | "fullName">;
11291
+ export declare type GitHubRepoFragment = {
11292
+ __typename: "GitHubRepo";
11293
+ } & Pick<GitHubRepo, "id" | "fullName">;
10882
11294
  export declare type GoogleSheetsSettingsFragment = {
10883
11295
  __typename: "GoogleSheetsSettings";
10884
11296
  } & Pick<GoogleSheetsSettings, "sheetId" | "spreadsheetId" | "spreadsheetUrl" | "updatedIssuesAt">;
@@ -10913,7 +11325,7 @@ export declare type JiraPersonalSettingsFragment = {
10913
11325
  } & Pick<JiraPersonalSettings, "siteName">;
10914
11326
  export declare type JiraSettingsFragment = {
10915
11327
  __typename: "JiraSettings";
10916
- } & {
11328
+ } & Pick<JiraSettings, "isJiraServer"> & {
10917
11329
  projects: Array<{
10918
11330
  __typename?: "JiraProjectData";
10919
11331
  } & JiraProjectDataFragment>;
@@ -10960,19 +11372,19 @@ export declare type JiraProjectDataFragment = {
10960
11372
  export declare type PagerDutyScheduleInfoFragment = {
10961
11373
  __typename: "PagerDutyScheduleInfo";
10962
11374
  } & Pick<PagerDutyScheduleInfo, "scheduleId" | "scheduleName" | "url">;
10963
- export declare type GitHubSyncSettingsFragment = {
10964
- __typename: "GitHubSyncSettings";
10965
- } & {
10966
- 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<{
10967
11382
  __typename?: "TeamRepoMapping";
10968
11383
  } & TeamRepoMappingFragment>>;
10969
- repos?: Maybe<Array<{
10970
- __typename?: "GitHubSyncRepo";
10971
- } & GitHubSyncRepoFragment>>;
11384
+ repositories?: Maybe<Array<{
11385
+ __typename?: "GitHubRepo";
11386
+ } & GitHubRepoFragment>>;
10972
11387
  };
10973
- export declare type GitHubSettingsFragment = {
10974
- __typename: "GitHubSettings";
10975
- } & Pick<GitHubSettings, "orgLogin" | "orgAvatarUrl" | "repositories">;
10976
11388
  export declare type GitLabSettingsFragment = {
10977
11389
  __typename: "GitLabSettings";
10978
11390
  } & Pick<GitLabSettings, "expiresAt" | "url" | "readonly">;
@@ -11139,7 +11551,7 @@ export declare type OauthClientFragment = {
11139
11551
  };
11140
11552
  export declare type SlackChannelNameMappingFragment = {
11141
11553
  __typename: "SlackChannelNameMapping";
11142
- } & Pick<SlackChannelNameMapping, "id" | "name" | "autoCreateOnBotMention" | "isPrivate" | "isShared" | "autoCreateOnMessage" | "autoCreateOnEmoji" | "botAdded"> & {
11554
+ } & Pick<SlackChannelNameMapping, "id" | "name" | "autoCreateTemplateId" | "autoCreateOnBotMention" | "isPrivate" | "isShared" | "autoCreateOnMessage" | "autoCreateOnEmoji" | "botAdded"> & {
11143
11555
  teams: Array<{
11144
11556
  __typename?: "SlackAsksTeamSettings";
11145
11557
  } & SlackAsksTeamSettingsFragment>;
@@ -11212,9 +11624,9 @@ export declare type IntegrationSettingsFragment = {
11212
11624
  gitHub?: Maybe<{
11213
11625
  __typename?: "GitHubSettings";
11214
11626
  } & GitHubSettingsFragment>;
11215
- gitHubSync?: Maybe<{
11216
- __typename?: "GitHubSyncSettings";
11217
- } & GitHubSyncSettingsFragment>;
11627
+ gitHubPersonal?: Maybe<{
11628
+ __typename?: "GitHubPersonalSettings";
11629
+ } & GitHubPersonalSettingsFragment>;
11218
11630
  gitLab?: Maybe<{
11219
11631
  __typename?: "GitLabSettings";
11220
11632
  } & GitLabSettingsFragment>;
@@ -11277,7 +11689,7 @@ export declare type UserSettingsFragment = {
11277
11689
  };
11278
11690
  export declare type JiraLinearMappingFragment = {
11279
11691
  __typename: "JiraLinearMapping";
11280
- } & Pick<JiraLinearMapping, "jiraProjectId" | "linearTeamId" | "bidirectional">;
11692
+ } & Pick<JiraLinearMapping, "jiraProjectId" | "linearTeamId" | "bidirectional" | "default">;
11281
11693
  export declare type TeamRepoMappingFragment = {
11282
11694
  __typename: "TeamRepoMapping";
11283
11695
  } & Pick<TeamRepoMapping, "gitHubRepoId" | "linearTeamId">;
@@ -11403,9 +11815,6 @@ export declare type AuditEntryTypeFragment = {
11403
11815
  export declare type AuthApiKeyFragment = {
11404
11816
  __typename: "AuthApiKey";
11405
11817
  } & Pick<AuthApiKey, "id">;
11406
- export declare type AuthApiKeyDeletePayloadFragment = {
11407
- __typename: "AuthApiKeyDeletePayload";
11408
- } & Pick<AuthApiKeyDeletePayload, "success">;
11409
11818
  export declare type AuthApiKeyPayloadFragment = {
11410
11819
  __typename: "AuthApiKeyPayload";
11411
11820
  } & Pick<AuthApiKeyPayload, "success"> & {
@@ -11413,12 +11822,41 @@ export declare type AuthApiKeyPayloadFragment = {
11413
11822
  __typename?: "AuthApiKey";
11414
11823
  } & AuthApiKeyFragment;
11415
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
+ };
11416
11841
  export declare type AuthIntegrationFragment = {
11417
11842
  __typename: "AuthIntegration";
11418
11843
  } & Pick<AuthIntegration, "id">;
11419
11844
  export declare type AuthOauthClientFragment = {
11420
11845
  __typename: "AuthOauthClient";
11421
- } & Pick<AuthOauthClient, "redirectUris" | "clientId" | "clientSecret" | "id">;
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">;
11422
11860
  export declare type AuthResolverResponseFragment = {
11423
11861
  __typename: "AuthResolverResponse";
11424
11862
  } & Pick<AuthResolverResponse, "email" | "lastUsedOrganizationId" | "token" | "allowDomainAccess" | "id"> & {
@@ -11432,9 +11870,12 @@ export declare type AuthResolverResponseFragment = {
11432
11870
  __typename?: "AuthUser";
11433
11871
  } & AuthUserFragment>;
11434
11872
  };
11435
- export declare type AuthenticationSessionResponseFragment = {
11436
- __typename: "AuthenticationSessionResponse";
11437
- } & 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">;
11438
11879
  export declare type CommentConnectionFragment = {
11439
11880
  __typename: "CommentConnection";
11440
11881
  } & {
@@ -11560,7 +12001,7 @@ export declare type DocumentSearchPayloadFragment = {
11560
12001
  };
11561
12002
  export declare type DocumentSearchResultFragment = {
11562
12003
  __typename: "DocumentSearchResult";
11563
- } & 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"> & {
11564
12005
  lastAppliedTemplate?: Maybe<{
11565
12006
  __typename?: "Template";
11566
12007
  } & Pick<Template, "id">>;
@@ -11627,6 +12068,23 @@ export declare type FavoritePayloadFragment = {
11627
12068
  export declare type FrontAttachmentPayloadFragment = {
11628
12069
  __typename: "FrontAttachmentPayload";
11629
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
+ };
11630
12088
  export declare type GitHubCommitIntegrationPayloadFragment = {
11631
12089
  __typename: "GitHubCommitIntegrationPayload";
11632
12090
  } & Pick<GitHubCommitIntegrationPayload, "lastSyncId" | "webhookSecret" | "success"> & {
@@ -11797,7 +12255,10 @@ export declare type IssueSearchPayloadFragment = {
11797
12255
  };
11798
12256
  export declare type IssueSearchResultFragment = {
11799
12257
  __typename: "IssueSearchResult";
11800
- } & 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>;
11801
12262
  cycle?: Maybe<{
11802
12263
  __typename?: "Cycle";
11803
12264
  } & Pick<Cycle, "id">>;
@@ -11884,6 +12345,9 @@ declare type Node_DocumentContentHistory_Fragment = {
11884
12345
  declare type Node_DocumentSearchResult_Fragment = {
11885
12346
  __typename: "DocumentSearchResult";
11886
12347
  } & Pick<DocumentSearchResult, "id">;
12348
+ declare type Node_EmailIntakeAddress_Fragment = {
12349
+ __typename: "EmailIntakeAddress";
12350
+ } & Pick<EmailIntakeAddress, "id">;
11887
12351
  declare type Node_Emoji_Fragment = {
11888
12352
  __typename: "Emoji";
11889
12353
  } & Pick<Emoji, "id">;
@@ -11893,6 +12357,9 @@ declare type Node_ExternalUser_Fragment = {
11893
12357
  declare type Node_Favorite_Fragment = {
11894
12358
  __typename: "Favorite";
11895
12359
  } & Pick<Favorite, "id">;
12360
+ declare type Node_GitAutomationState_Fragment = {
12361
+ __typename: "GitAutomationState";
12362
+ } & Pick<GitAutomationState, "id">;
11896
12363
  declare type Node_Integration_Fragment = {
11897
12364
  __typename: "Integration";
11898
12365
  } & Pick<Integration, "id">;
@@ -12025,7 +12492,7 @@ declare type Node_WorkflowDefinition_Fragment = {
12025
12492
  declare type Node_WorkflowState_Fragment = {
12026
12493
  __typename: "WorkflowState";
12027
12494
  } & Pick<WorkflowState, "id">;
12028
- 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;
12029
12496
  export declare type NotificationBatchActionPayloadFragment = {
12030
12497
  __typename: "NotificationBatchActionPayload";
12031
12498
  } & Pick<NotificationBatchActionPayload, "lastSyncId" | "success"> & {
@@ -12109,6 +12576,9 @@ export declare type OauthClientConnectionFragment = {
12109
12576
  __typename?: "PageInfo";
12110
12577
  } & PageInfoFragment;
12111
12578
  };
12579
+ export declare type OauthTokenFragment = {
12580
+ __typename: "OauthToken";
12581
+ } & Pick<OauthToken, "createdAt" | "id">;
12112
12582
  export declare type OrganizationCancelDeletePayloadFragment = {
12113
12583
  __typename: "OrganizationCancelDeletePayload";
12114
12584
  } & Pick<OrganizationCancelDeletePayload, "success">;
@@ -12229,9 +12699,9 @@ export declare type ProjectSearchResultFragment = {
12229
12699
  convertedFromIssue?: Maybe<{
12230
12700
  __typename?: "Issue";
12231
12701
  } & Pick<Issue, "id">>;
12232
- creator: {
12702
+ creator?: Maybe<{
12233
12703
  __typename?: "User";
12234
- } & Pick<User, "id">;
12704
+ } & Pick<User, "id">>;
12235
12705
  };
12236
12706
  export declare type ProjectSearchResultConnectionFragment = {
12237
12707
  __typename: "ProjectSearchResultConnection";
@@ -12374,6 +12844,13 @@ export declare type RoadmapToProjectPayloadFragment = {
12374
12844
  export declare type SamlConfigurationFragment = {
12375
12845
  __typename: "SamlConfiguration";
12376
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
+ };
12377
12854
  export declare type SsoUrlFromEmailResponseFragment = {
12378
12855
  __typename: "SsoUrlFromEmailResponse";
12379
12856
  } & Pick<SsoUrlFromEmailResponse, "samlSsoUrl" | "success">;
@@ -12417,6 +12894,9 @@ export declare type TeamPayloadFragment = {
12417
12894
  export declare type TemplateConnectionFragment = {
12418
12895
  __typename: "TemplateConnection";
12419
12896
  } & {
12897
+ nodes: Array<{
12898
+ __typename?: "Template";
12899
+ } & TemplateFragment>;
12420
12900
  pageInfo: {
12421
12901
  __typename?: "PageInfo";
12422
12902
  } & PageInfoFragment;
@@ -12668,6 +13148,20 @@ export declare type AttachmentIssue_AttachmentsQuery = {
12668
13148
  } & AttachmentConnectionFragment;
12669
13149
  };
12670
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
+ };
12671
13165
  export declare type AttachmentIssue_ChildrenQueryVariables = Exact<{
12672
13166
  id: Scalars["String"];
12673
13167
  after?: Maybe<Scalars["String"]>;
@@ -13265,6 +13759,20 @@ export declare type Issue_AttachmentsQuery = {
13265
13759
  } & AttachmentConnectionFragment;
13266
13760
  };
13267
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
+ };
13268
13776
  export declare type Issue_ChildrenQueryVariables = Exact<{
13269
13777
  id: Scalars["String"];
13270
13778
  after?: Maybe<Scalars["String"]>;
@@ -13608,6 +14116,20 @@ export declare type IssueVcsBranchSearch_AttachmentsQuery = {
13608
14116
  } & AttachmentConnectionFragment;
13609
14117
  }>;
13610
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
+ };
13611
14133
  export declare type IssueVcsBranchSearch_ChildrenQueryVariables = Exact<{
13612
14134
  branchName: Scalars["String"];
13613
14135
  after?: Maybe<Scalars["String"]>;
@@ -14273,7 +14795,8 @@ export declare type ProjectsQuery = {
14273
14795
  } & ProjectConnectionFragment;
14274
14796
  };
14275
14797
  export declare type PushSubscriptionTestQueryVariables = Exact<{
14276
- [key: string]: never;
14798
+ sendStrategy?: Maybe<SendStrategy>;
14799
+ targetMobile?: Maybe<Scalars["Boolean"]>;
14277
14800
  }>;
14278
14801
  export declare type PushSubscriptionTestQuery = {
14279
14802
  __typename?: "Query";
@@ -14506,6 +15029,26 @@ export declare type TeamQuery = {
14506
15029
  __typename?: "Team";
14507
15030
  } & TeamFragment;
14508
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
+ };
14509
15052
  export declare type Team_CyclesQueryVariables = Exact<{
14510
15053
  id: Scalars["String"];
14511
15054
  after?: Maybe<Scalars["String"]>;
@@ -15135,14 +15678,28 @@ export declare type AttachmentLinkFrontMutation = {
15135
15678
  __typename?: "FrontAttachmentPayload";
15136
15679
  } & FrontAttachmentPayloadFragment;
15137
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
+ };
15138
15695
  export declare type AttachmentLinkGitHubPrMutationVariables = Exact<{
15139
15696
  createAsUser?: Maybe<Scalars["String"]>;
15140
15697
  displayIconUrl?: Maybe<Scalars["String"]>;
15141
15698
  id?: Maybe<Scalars["String"]>;
15142
15699
  issueId: Scalars["String"];
15143
- number: Scalars["Float"];
15144
- owner: Scalars["String"];
15145
- repo: Scalars["String"];
15700
+ number?: Maybe<Scalars["Float"]>;
15701
+ owner?: Maybe<Scalars["String"]>;
15702
+ repo?: Maybe<Scalars["String"]>;
15146
15703
  url: Scalars["String"];
15147
15704
  }>;
15148
15705
  export declare type AttachmentLinkGitHubPrMutation = {
@@ -15406,6 +15963,16 @@ export declare type CreateCycleMutation = {
15406
15963
  __typename?: "CyclePayload";
15407
15964
  } & CyclePayloadFragment;
15408
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
+ };
15409
15976
  export declare type UpdateCycleMutationVariables = Exact<{
15410
15977
  id: Scalars["String"];
15411
15978
  input: CycleUpdateInput;
@@ -15543,6 +16110,37 @@ export declare type FileUploadMutation = {
15543
16110
  __typename?: "UploadPayload";
15544
16111
  } & UploadPayloadFragment;
15545
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
+ };
15546
16144
  export declare type GoogleUserAccountAuthMutationVariables = Exact<{
15547
16145
  input: GoogleUserAccountAuthInput;
15548
16146
  }>;
@@ -15660,16 +16258,6 @@ export declare type IntegrationGithubConnectMutation = {
15660
16258
  __typename?: "IntegrationPayload";
15661
16259
  } & IntegrationPayloadFragment;
15662
16260
  };
15663
- export declare type IntegrationGithubSyncConnectMutationVariables = Exact<{
15664
- installationId: Scalars["String"];
15665
- }>;
15666
- export declare type IntegrationGithubSyncConnectMutation = {
15667
- __typename?: "Mutation";
15668
- } & {
15669
- integrationGithubSyncConnect: {
15670
- __typename?: "IntegrationPayload";
15671
- } & IntegrationPayloadFragment;
15672
- };
15673
16261
  export declare type IntegrationGitlabConnectMutationVariables = Exact<{
15674
16262
  accessToken: Scalars["String"];
15675
16263
  gitlabUrl: Scalars["String"];
@@ -15724,7 +16312,8 @@ export declare type UpdateIntegrationIntercomSettingsMutation = {
15724
16312
  } & IntegrationPayloadFragment;
15725
16313
  };
15726
16314
  export declare type IntegrationJiraPersonalMutationVariables = Exact<{
15727
- code: Scalars["String"];
16315
+ accessToken?: Maybe<Scalars["String"]>;
16316
+ code?: Maybe<Scalars["String"]>;
15728
16317
  }>;
15729
16318
  export declare type IntegrationJiraPersonalMutation = {
15730
16319
  __typename?: "Mutation";
@@ -15807,8 +16396,8 @@ export declare type IntegrationSlackOrgProjectUpdatesPostMutation = {
15807
16396
  __typename?: "Mutation";
15808
16397
  } & {
15809
16398
  integrationSlackOrgProjectUpdatesPost: {
15810
- __typename?: "IntegrationPayload";
15811
- } & IntegrationPayloadFragment;
16399
+ __typename?: "SlackChannelConnectPayload";
16400
+ } & SlackChannelConnectPayloadFragment;
15812
16401
  };
15813
16402
  export declare type IntegrationSlackPersonalMutationVariables = Exact<{
15814
16403
  code: Scalars["String"];
@@ -15831,8 +16420,8 @@ export declare type IntegrationSlackPostMutation = {
15831
16420
  __typename?: "Mutation";
15832
16421
  } & {
15833
16422
  integrationSlackPost: {
15834
- __typename?: "IntegrationPayload";
15835
- } & IntegrationPayloadFragment;
16423
+ __typename?: "SlackChannelConnectPayload";
16424
+ } & SlackChannelConnectPayloadFragment;
15836
16425
  };
15837
16426
  export declare type IntegrationSlackProjectPostMutationVariables = Exact<{
15838
16427
  code: Scalars["String"];
@@ -15844,8 +16433,8 @@ export declare type IntegrationSlackProjectPostMutation = {
15844
16433
  __typename?: "Mutation";
15845
16434
  } & {
15846
16435
  integrationSlackProjectPost: {
15847
- __typename?: "IntegrationPayload";
15848
- } & IntegrationPayloadFragment;
16436
+ __typename?: "SlackChannelConnectPayload";
16437
+ } & SlackChannelConnectPayloadFragment;
15849
16438
  };
15850
16439
  export declare type CreateIntegrationTemplateMutationVariables = Exact<{
15851
16440
  input: IntegrationTemplateCreateInput;
@@ -16491,6 +17080,7 @@ export declare type ArchiveProjectMutation = {
16491
17080
  } & ProjectArchivePayloadFragment;
16492
17081
  };
16493
17082
  export declare type CreateProjectMutationVariables = Exact<{
17083
+ connectSlackChannel?: Maybe<Scalars["Boolean"]>;
16494
17084
  input: ProjectCreateInput;
16495
17085
  }>;
16496
17086
  export declare type CreateProjectMutation = {
@@ -16868,6 +17458,16 @@ export declare type UpdateTeamMembershipMutation = {
16868
17458
  __typename?: "TeamMembershipPayload";
16869
17459
  } & TeamMembershipPayloadFragment;
16870
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
+ };
16871
17471
  export declare type UpdateTeamMutationVariables = Exact<{
16872
17472
  id: Scalars["String"];
16873
17473
  input: TeamUpdateInput;
@@ -16962,26 +17562,6 @@ export declare type UpdateUserFlagMutation = {
16962
17562
  __typename?: "UserSettingsFlagPayload";
16963
17563
  } & UserSettingsFlagPayloadFragment;
16964
17564
  };
16965
- export declare type UserGitHubConnectMutationVariables = Exact<{
16966
- code: Scalars["String"];
16967
- }>;
16968
- export declare type UserGitHubConnectMutation = {
16969
- __typename?: "Mutation";
16970
- } & {
16971
- userGitHubConnect: {
16972
- __typename?: "UserPayload";
16973
- } & UserPayloadFragment;
16974
- };
16975
- export declare type UserJiraConnectMutationVariables = Exact<{
16976
- code: Scalars["String"];
16977
- }>;
16978
- export declare type UserJiraConnectMutation = {
16979
- __typename?: "Mutation";
16980
- } & {
16981
- userJiraConnect: {
16982
- __typename?: "UserPayload";
16983
- } & UserPayloadFragment;
16984
- };
16985
17565
  export declare type UserPromoteAdminMutationVariables = Exact<{
16986
17566
  id: Scalars["String"];
16987
17567
  }>;
@@ -17176,17 +17756,20 @@ export declare const NotificationFragmentDoc: DocumentNode<NotificationFragment,
17176
17756
  export declare const NotificationArchivePayloadFragmentDoc: DocumentNode<NotificationArchivePayloadFragment, unknown>;
17177
17757
  export declare const ProjectArchivePayloadFragmentDoc: DocumentNode<ProjectArchivePayloadFragment, unknown>;
17178
17758
  export declare const RoadmapArchivePayloadFragmentDoc: DocumentNode<RoadmapArchivePayloadFragment, unknown>;
17759
+ export declare const TeamArchivePayloadFragmentDoc: DocumentNode<TeamArchivePayloadFragment, unknown>;
17179
17760
  export declare const WorkflowStateArchivePayloadFragmentDoc: DocumentNode<WorkflowStateArchivePayloadFragment, unknown>;
17180
17761
  export declare const ArchivePayloadFragmentDoc: DocumentNode<ArchivePayloadFragment, unknown>;
17181
17762
  export declare const LabelNotificationSubscriptionFragmentDoc: DocumentNode<LabelNotificationSubscriptionFragment, unknown>;
17182
17763
  export declare const ProjectNotificationSubscriptionFragmentDoc: DocumentNode<ProjectNotificationSubscriptionFragment, unknown>;
17183
17764
  export declare const TeamNotificationSubscriptionFragmentDoc: DocumentNode<TeamNotificationSubscriptionFragment, unknown>;
17184
- export declare const TemplateFragmentDoc: DocumentNode<TemplateFragment, unknown>;
17185
17765
  export declare const UserAccountFragmentDoc: DocumentNode<UserAccountFragment, unknown>;
17186
17766
  export declare const UserNotificationSubscriptionFragmentDoc: DocumentNode<UserNotificationSubscriptionFragment, unknown>;
17767
+ export declare const EmailIntakeAddressFragmentDoc: DocumentNode<EmailIntakeAddressFragment, unknown>;
17187
17768
  export declare const PaidSubscriptionFragmentDoc: DocumentNode<PaidSubscriptionFragment, unknown>;
17188
17769
  export declare const OrganizationFragmentDoc: DocumentNode<OrganizationFragment, unknown>;
17189
- 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>;
17190
17773
  export declare const OrganizationDomainFragmentDoc: DocumentNode<OrganizationDomainFragment, unknown>;
17191
17774
  export declare const GithubRepoFragmentDoc: DocumentNode<GithubRepoFragment, unknown>;
17192
17775
  export declare const GithubOrgFragmentDoc: DocumentNode<GithubOrgFragment, unknown>;
@@ -17194,10 +17777,10 @@ export declare const GithubOAuthTokenPayloadFragmentDoc: DocumentNode<GithubOAut
17194
17777
  export declare const UserAuthorizedApplicationFragmentDoc: DocumentNode<UserAuthorizedApplicationFragment, unknown>;
17195
17778
  export declare const ApplicationFragmentDoc: DocumentNode<ApplicationFragment, unknown>;
17196
17779
  export declare const FrontSettingsFragmentDoc: DocumentNode<FrontSettingsFragment, unknown>;
17197
- export declare const GitHubSettingsFragmentDoc: DocumentNode<GitHubSettingsFragment, unknown>;
17198
17780
  export declare const TeamRepoMappingFragmentDoc: DocumentNode<TeamRepoMappingFragment, unknown>;
17199
- export declare const GitHubSyncRepoFragmentDoc: DocumentNode<GitHubSyncRepoFragment, unknown>;
17200
- 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>;
17201
17784
  export declare const GitLabSettingsFragmentDoc: DocumentNode<GitLabSettingsFragment, unknown>;
17202
17785
  export declare const GoogleSheetsSettingsFragmentDoc: DocumentNode<GoogleSheetsSettingsFragment, unknown>;
17203
17786
  export declare const IntercomSettingsFragmentDoc: DocumentNode<IntercomSettingsFragment, unknown>;
@@ -17231,15 +17814,19 @@ export declare const AttachmentSourcesPayloadFragmentDoc: DocumentNode<Attachmen
17231
17814
  export declare const AuditEntryFragmentDoc: DocumentNode<AuditEntryFragment, unknown>;
17232
17815
  export declare const AuditEntryConnectionFragmentDoc: DocumentNode<AuditEntryConnectionFragment, unknown>;
17233
17816
  export declare const AuditEntryTypeFragmentDoc: DocumentNode<AuditEntryTypeFragment, unknown>;
17234
- export declare const AuthApiKeyDeletePayloadFragmentDoc: DocumentNode<AuthApiKeyDeletePayloadFragment, unknown>;
17235
17817
  export declare const AuthApiKeyFragmentDoc: DocumentNode<AuthApiKeyFragment, unknown>;
17236
17818
  export declare const AuthApiKeyPayloadFragmentDoc: DocumentNode<AuthApiKeyPayloadFragment, unknown>;
17237
- export declare const AuthIntegrationFragmentDoc: DocumentNode<AuthIntegrationFragment, unknown>;
17238
- export declare const AuthOauthClientFragmentDoc: DocumentNode<AuthOauthClientFragment, unknown>;
17239
17819
  export declare const AuthOrganizationFragmentDoc: DocumentNode<AuthOrganizationFragment, unknown>;
17240
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>;
17241
17827
  export declare const AuthResolverResponseFragmentDoc: DocumentNode<AuthResolverResponseFragment, unknown>;
17242
- export declare const AuthenticationSessionResponseFragmentDoc: DocumentNode<AuthenticationSessionResponseFragment, unknown>;
17828
+ export declare const AuthSuccessPayloadFragmentDoc: DocumentNode<AuthSuccessPayloadFragment, unknown>;
17829
+ export declare const AuthorizedApplicationBaseFragmentDoc: DocumentNode<AuthorizedApplicationBaseFragment, unknown>;
17243
17830
  export declare const CommentFragmentDoc: DocumentNode<CommentFragment, unknown>;
17244
17831
  export declare const CommentConnectionFragmentDoc: DocumentNode<CommentConnectionFragment, unknown>;
17245
17832
  export declare const CommentPayloadFragmentDoc: DocumentNode<CommentPayloadFragment, unknown>;
@@ -17274,6 +17861,9 @@ export declare const FavoriteFragmentDoc: DocumentNode<FavoriteFragment, unknown
17274
17861
  export declare const FavoriteConnectionFragmentDoc: DocumentNode<FavoriteConnectionFragment, unknown>;
17275
17862
  export declare const FavoritePayloadFragmentDoc: DocumentNode<FavoritePayloadFragment, unknown>;
17276
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>;
17277
17867
  export declare const GitHubCommitIntegrationPayloadFragmentDoc: DocumentNode<GitHubCommitIntegrationPayloadFragment, unknown>;
17278
17868
  export declare const ImageUploadFromUrlPayloadFragmentDoc: DocumentNode<ImageUploadFromUrlPayloadFragment, unknown>;
17279
17869
  export declare const IntegrationFragmentDoc: DocumentNode<IntegrationFragment, unknown>;
@@ -17363,6 +17953,7 @@ export declare const RoadmapToProjectFragmentDoc: DocumentNode<RoadmapToProjectF
17363
17953
  export declare const RoadmapToProjectConnectionFragmentDoc: DocumentNode<RoadmapToProjectConnectionFragment, unknown>;
17364
17954
  export declare const RoadmapToProjectPayloadFragmentDoc: DocumentNode<RoadmapToProjectPayloadFragment, unknown>;
17365
17955
  export declare const SamlConfigurationFragmentDoc: DocumentNode<SamlConfigurationFragment, unknown>;
17956
+ export declare const SlackChannelConnectPayloadFragmentDoc: DocumentNode<SlackChannelConnectPayloadFragment, unknown>;
17366
17957
  export declare const SsoUrlFromEmailResponseFragmentDoc: DocumentNode<SsoUrlFromEmailResponseFragment, unknown>;
17367
17958
  export declare const SynchronizedPayloadFragmentDoc: DocumentNode<SynchronizedPayloadFragment, unknown>;
17368
17959
  export declare const TeamFragmentDoc: DocumentNode<TeamFragment, unknown>;
@@ -17371,6 +17962,7 @@ export declare const TeamMembershipFragmentDoc: DocumentNode<TeamMembershipFragm
17371
17962
  export declare const TeamMembershipConnectionFragmentDoc: DocumentNode<TeamMembershipConnectionFragment, unknown>;
17372
17963
  export declare const TeamMembershipPayloadFragmentDoc: DocumentNode<TeamMembershipPayloadFragment, unknown>;
17373
17964
  export declare const TeamPayloadFragmentDoc: DocumentNode<TeamPayloadFragment, unknown>;
17965
+ export declare const TemplateFragmentDoc: DocumentNode<TemplateFragment, unknown>;
17374
17966
  export declare const TemplateConnectionFragmentDoc: DocumentNode<TemplateConnectionFragment, unknown>;
17375
17967
  export declare const TemplatePayloadFragmentDoc: DocumentNode<TemplatePayloadFragment, unknown>;
17376
17968
  export declare const TriageResponsibilityFragmentDoc: DocumentNode<TriageResponsibilityFragment, unknown>;
@@ -17439,6 +18031,9 @@ export declare const AttachmentIssue_AttachmentsDocument: DocumentNode<Attachmen
17439
18031
  last?: Maybe<number> | undefined;
17440
18032
  orderBy?: Maybe<PaginationOrderBy> | undefined;
17441
18033
  }>>;
18034
+ export declare const AttachmentIssue_BotActorDocument: DocumentNode<AttachmentIssue_BotActorQuery, Exact<{
18035
+ id: Scalars["String"];
18036
+ }>>;
17442
18037
  export declare const AttachmentIssue_ChildrenDocument: DocumentNode<AttachmentIssue_ChildrenQuery, Exact<{
17443
18038
  id: Scalars["String"];
17444
18039
  after?: Maybe<string> | undefined;
@@ -17700,6 +18295,9 @@ export declare const Issue_AttachmentsDocument: DocumentNode<Issue_AttachmentsQu
17700
18295
  last?: Maybe<number> | undefined;
17701
18296
  orderBy?: Maybe<PaginationOrderBy> | undefined;
17702
18297
  }>>;
18298
+ export declare const Issue_BotActorDocument: DocumentNode<Issue_BotActorQuery, Exact<{
18299
+ id: Scalars["String"];
18300
+ }>>;
17703
18301
  export declare const Issue_ChildrenDocument: DocumentNode<Issue_ChildrenQuery, Exact<{
17704
18302
  id: Scalars["String"];
17705
18303
  after?: Maybe<string> | undefined;
@@ -17856,6 +18454,9 @@ export declare const IssueVcsBranchSearch_AttachmentsDocument: DocumentNode<Issu
17856
18454
  last?: Maybe<number> | undefined;
17857
18455
  orderBy?: Maybe<PaginationOrderBy> | undefined;
17858
18456
  }>>;
18457
+ export declare const IssueVcsBranchSearch_BotActorDocument: DocumentNode<IssueVcsBranchSearch_BotActorQuery, Exact<{
18458
+ branchName: Scalars["String"];
18459
+ }>>;
17859
18460
  export declare const IssueVcsBranchSearch_ChildrenDocument: DocumentNode<IssueVcsBranchSearch_ChildrenQuery, Exact<{
17860
18461
  branchName: Scalars["String"];
17861
18462
  after?: Maybe<string> | undefined;
@@ -18147,7 +18748,8 @@ export declare const ProjectsDocument: DocumentNode<ProjectsQuery, Exact<{
18147
18748
  orderBy?: Maybe<PaginationOrderBy> | undefined;
18148
18749
  }>>;
18149
18750
  export declare const PushSubscriptionTestDocument: DocumentNode<PushSubscriptionTestQuery, Exact<{
18150
- [key: string]: never;
18751
+ sendStrategy?: Maybe<SendStrategy> | undefined;
18752
+ targetMobile?: Maybe<boolean> | undefined;
18151
18753
  }>>;
18152
18754
  export declare const RateLimitStatusDocument: DocumentNode<RateLimitStatusQuery, Exact<{
18153
18755
  [key: string]: never;
@@ -18259,6 +18861,15 @@ export declare const SsoUrlFromEmailDocument: DocumentNode<SsoUrlFromEmailQuery,
18259
18861
  export declare const TeamDocument: DocumentNode<TeamQuery, Exact<{
18260
18862
  id: Scalars["String"];
18261
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
+ }>>;
18262
18873
  export declare const Team_CyclesDocument: DocumentNode<Team_CyclesQuery, Exact<{
18263
18874
  id: Scalars["String"];
18264
18875
  after?: Maybe<string> | undefined;
@@ -18536,14 +19147,21 @@ export declare const AttachmentLinkFrontDocument: DocumentNode<AttachmentLinkFro
18536
19147
  id?: Maybe<string> | undefined;
18537
19148
  issueId: Scalars["String"];
18538
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
+ }>>;
18539
19157
  export declare const AttachmentLinkGitHubPrDocument: DocumentNode<AttachmentLinkGitHubPrMutation, Exact<{
18540
19158
  createAsUser?: Maybe<string> | undefined;
18541
19159
  displayIconUrl?: Maybe<string> | undefined;
18542
19160
  id?: Maybe<string> | undefined;
18543
19161
  issueId: Scalars["String"];
18544
- number: Scalars["Float"];
18545
- owner: Scalars["String"];
18546
- repo: Scalars["String"];
19162
+ number?: Maybe<number> | undefined;
19163
+ owner?: Maybe<string> | undefined;
19164
+ repo?: Maybe<string> | undefined;
18547
19165
  url: Scalars["String"];
18548
19166
  }>>;
18549
19167
  export declare const AttachmentLinkGitLabMrDocument: DocumentNode<AttachmentLinkGitLabMrMutation, Exact<{
@@ -18646,6 +19264,9 @@ export declare const ArchiveCycleDocument: DocumentNode<ArchiveCycleMutation, Ex
18646
19264
  export declare const CreateCycleDocument: DocumentNode<CreateCycleMutation, Exact<{
18647
19265
  input: CycleCreateInput;
18648
19266
  }>>;
19267
+ export declare const CycleShiftAllDocument: DocumentNode<CycleShiftAllMutation, Exact<{
19268
+ input: CycleShiftAllInput;
19269
+ }>>;
18649
19270
  export declare const UpdateCycleDocument: DocumentNode<UpdateCycleMutation, Exact<{
18650
19271
  id: Scalars["String"];
18651
19272
  input: CycleUpdateInput;
@@ -18692,6 +19313,16 @@ export declare const FileUploadDocument: DocumentNode<FileUploadMutation, Exact<
18692
19313
  metaData?: Maybe<Record<string, unknown>> | undefined;
18693
19314
  size: Scalars["Int"];
18694
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
+ }>>;
18695
19326
  export declare const GoogleUserAccountAuthDocument: DocumentNode<GoogleUserAccountAuthMutation, Exact<{
18696
19327
  input: GoogleUserAccountAuthInput;
18697
19328
  }>>;
@@ -18732,9 +19363,6 @@ export declare const CreateIntegrationGithubCommitDocument: DocumentNode<CreateI
18732
19363
  export declare const IntegrationGithubConnectDocument: DocumentNode<IntegrationGithubConnectMutation, Exact<{
18733
19364
  installationId: Scalars["String"];
18734
19365
  }>>;
18735
- export declare const IntegrationGithubSyncConnectDocument: DocumentNode<IntegrationGithubSyncConnectMutation, Exact<{
18736
- installationId: Scalars["String"];
18737
- }>>;
18738
19366
  export declare const IntegrationGitlabConnectDocument: DocumentNode<IntegrationGitlabConnectMutation, Exact<{
18739
19367
  accessToken: Scalars["String"];
18740
19368
  gitlabUrl: Scalars["String"];
@@ -18754,7 +19382,8 @@ export declare const UpdateIntegrationIntercomSettingsDocument: DocumentNode<Upd
18754
19382
  input: IntercomSettingsInput;
18755
19383
  }>>;
18756
19384
  export declare const IntegrationJiraPersonalDocument: DocumentNode<IntegrationJiraPersonalMutation, Exact<{
18757
- code: Scalars["String"];
19385
+ accessToken?: Maybe<string> | undefined;
19386
+ code?: Maybe<string> | undefined;
18758
19387
  }>>;
18759
19388
  export declare const IntegrationLoomDocument: DocumentNode<IntegrationLoomMutation, Exact<{
18760
19389
  [key: string]: never;
@@ -19038,6 +19667,7 @@ export declare const ArchiveProjectDocument: DocumentNode<ArchiveProjectMutation
19038
19667
  trash?: Maybe<boolean> | undefined;
19039
19668
  }>>;
19040
19669
  export declare const CreateProjectDocument: DocumentNode<CreateProjectMutation, Exact<{
19670
+ connectSlackChannel?: Maybe<boolean> | undefined;
19041
19671
  input: ProjectCreateInput;
19042
19672
  }>>;
19043
19673
  export declare const DeleteProjectDocument: DocumentNode<DeleteProjectMutation, Exact<{
@@ -19156,6 +19786,9 @@ export declare const UpdateTeamMembershipDocument: DocumentNode<UpdateTeamMember
19156
19786
  id: Scalars["String"];
19157
19787
  input: TeamMembershipUpdateInput;
19158
19788
  }>>;
19789
+ export declare const UnarchiveTeamDocument: DocumentNode<UnarchiveTeamMutation, Exact<{
19790
+ id: Scalars["String"];
19791
+ }>>;
19159
19792
  export declare const UpdateTeamDocument: DocumentNode<UpdateTeamMutation, Exact<{
19160
19793
  id: Scalars["String"];
19161
19794
  input: TeamUpdateInput;
@@ -19187,12 +19820,6 @@ export declare const UpdateUserFlagDocument: DocumentNode<UpdateUserFlagMutation
19187
19820
  flag: UserFlagType;
19188
19821
  operation: UserFlagUpdateOperation;
19189
19822
  }>>;
19190
- export declare const UserGitHubConnectDocument: DocumentNode<UserGitHubConnectMutation, Exact<{
19191
- code: Scalars["String"];
19192
- }>>;
19193
- export declare const UserJiraConnectDocument: DocumentNode<UserJiraConnectMutation, Exact<{
19194
- code: Scalars["String"];
19195
- }>>;
19196
19823
  export declare const UserPromoteAdminDocument: DocumentNode<UserPromoteAdminMutation, Exact<{
19197
19824
  id: Scalars["String"];
19198
19825
  }>>;