@linear/sdk 13.0.0 → 15.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.
@@ -67,7 +67,7 @@ export declare class ActorBot extends Request {
67
67
  constructor(request: LinearRequest, data: L.ActorBotFragment);
68
68
  /** A url pointing to the avatar representing this bot. */
69
69
  avatarUrl?: string;
70
- id: string;
70
+ id?: string;
71
71
  /** The display name of the bot. */
72
72
  name?: string;
73
73
  /** The sub type of the bot. */
@@ -210,6 +210,7 @@ export declare class AsksChannelConnectPayload extends Request {
210
210
  */
211
211
  export declare class Attachment extends Request {
212
212
  private _creator?;
213
+ private _externalUserCreator?;
213
214
  private _issue;
214
215
  constructor(request: LinearRequest, data: L.AttachmentFragment);
215
216
  /** The time at which the entity was archived. Null if the entity has not been archived. */
@@ -240,6 +241,8 @@ export declare class Attachment extends Request {
240
241
  url: string;
241
242
  /** The creator of the attachment. */
242
243
  get creator(): LinearFetch<User> | undefined;
244
+ /** The non-Linear user who created the attachment. */
245
+ get externalUserCreator(): LinearFetch<ExternalUser> | undefined;
243
246
  /** The issue this attachment belongs to. */
244
247
  get issue(): LinearFetch<Issue> | undefined;
245
248
  /** [DEPRECATED] Archives an issue attachment. */
@@ -301,7 +304,7 @@ export declare class AttachmentPayload extends Request {
301
304
  */
302
305
  export declare class AttachmentSourcesPayload extends Request {
303
306
  constructor(request: LinearRequest, data: L.AttachmentSourcesPayloadFragment);
304
- /** A unique list of all source types used in this workspace */
307
+ /** A unique list of all source types used in this workspace. */
305
308
  sources: L.Scalars["JSONObject"];
306
309
  }
307
310
  /**
@@ -388,20 +391,6 @@ export declare class AuthApiKeyPayload extends Request {
388
391
  /** The auth API key that was created. */
389
392
  authApiKey: AuthApiKey;
390
393
  }
391
- /**
392
- * AuthCreateOrJoinOrganizationResponse model
393
- *
394
- * @param request - function to call the graphql client
395
- * @param data - L.AuthCreateOrJoinOrganizationResponseFragment response data
396
- */
397
- export declare class AuthCreateOrJoinOrganizationResponse extends Request {
398
- constructor(request: LinearRequest, data: L.AuthCreateOrJoinOrganizationResponseFragment);
399
- grantDomainAccess?: boolean;
400
- authOrganization: AuthOrganization;
401
- authUser: AuthUser;
402
- organization: AuthOrganization;
403
- user: AuthUser;
404
- }
405
394
  /**
406
395
  * AuthIntegration model
407
396
  *
@@ -530,6 +519,8 @@ export declare class AuthOrganization extends Request {
530
519
  samlEnabled: boolean;
531
520
  /** Whether SCIM provisioning is enabled for organization. */
532
521
  scimEnabled: boolean;
522
+ /** The email domain or URL key for the organization. */
523
+ serviceId: string;
533
524
  /** The organization's unique URL key. */
534
525
  urlKey: string;
535
526
  userCount: number;
@@ -542,6 +533,23 @@ export declare class AuthOrganization extends Request {
542
533
  */
543
534
  export declare class AuthOrganizationDomain extends Request {
544
535
  constructor(request: LinearRequest, data: L.AuthOrganizationDomainFragment);
536
+ claimed?: boolean;
537
+ /** The unique identifier of the entity. */
538
+ id: string;
539
+ name: string;
540
+ organizationId: string;
541
+ verified: boolean;
542
+ }
543
+ /**
544
+ * An invitation to the organization that has been sent via email.
545
+ *
546
+ * @param request - function to call the graphql client
547
+ * @param data - L.AuthOrganizationInviteFragment response data
548
+ */
549
+ export declare class AuthOrganizationInvite extends Request {
550
+ constructor(request: LinearRequest, data: L.AuthOrganizationInviteFragment);
551
+ /** The time at which the invite will be expiring. Null, if the invite shouldn't expire. */
552
+ expiresAt?: Date;
545
553
  /** The unique identifier of the entity. */
546
554
  id: string;
547
555
  }
@@ -556,18 +564,18 @@ export declare class AuthResolverResponse extends Request {
556
564
  /** Should the signup flow allow access for the domain. */
557
565
  allowDomainAccess?: boolean;
558
566
  /** Email for the authenticated account. */
559
- email?: string;
567
+ email: string;
560
568
  /** User account ID. */
561
569
  id: string;
562
570
  /** ID of the organization last accessed by the user. */
563
571
  lastUsedOrganizationId?: string;
564
- /** JWT token for authentication of the account. */
572
+ /** Application token. */
565
573
  token?: string;
566
- /** Organizations this account has access to, but is not yet a member. */
574
+ /** List of organizations allowing this user account to join automatically. */
567
575
  availableOrganizations?: AuthOrganization[];
568
- /** List of organizations this user account is part of but are currently locked because of the current auth service. */
576
+ /** List of organization available to this user account but locked due to the current auth method. */
569
577
  lockedOrganizations?: AuthOrganization[];
570
- /** Users belonging to this account. */
578
+ /** List of active users that belong to the user account. */
571
579
  users: AuthUser[];
572
580
  }
573
581
  /**
@@ -600,6 +608,8 @@ export declare class AuthUser extends Request {
600
608
  id: string;
601
609
  /** The user's full name. */
602
610
  name: string;
611
+ /** User account id the user belongs to. */
612
+ userAccountId: string;
603
613
  /** Organization the user belongs to. */
604
614
  organization: AuthOrganization;
605
615
  }
@@ -642,7 +652,7 @@ export declare class AuthenticationSession extends Request {
642
652
  userAgent?: string;
643
653
  }
644
654
  /**
645
- * Authentication session information
655
+ * Authentication session information.
646
656
  *
647
657
  * @param request - function to call the graphql client
648
658
  * @param data - L.AuthenticationSessionResponseFragment response data
@@ -707,6 +717,7 @@ export declare class AuthorizedApplicationBase extends Request {
707
717
  * @param data - L.CommentFragment response data
708
718
  */
709
719
  export declare class Comment extends Request {
720
+ private _externalUser?;
710
721
  private _issue?;
711
722
  private _parent?;
712
723
  private _projectUpdate?;
@@ -724,7 +735,9 @@ export declare class Comment extends Request {
724
735
  editedAt?: Date;
725
736
  /** The unique identifier of the entity. */
726
737
  id: string;
727
- /** Emoji reaction summary, grouped by emoji type */
738
+ /** The text that this comment references. Only defined for inline comments. */
739
+ quotedText?: string;
740
+ /** Emoji reaction summary, grouped by emoji type. */
728
741
  reactionData: L.Scalars["JSONObject"];
729
742
  /** The time the resolvingUser resolved the thread. */
730
743
  resolvedAt?: Date;
@@ -736,10 +749,12 @@ export declare class Comment extends Request {
736
749
  updatedAt: Date;
737
750
  /** Comment's URL. */
738
751
  url: string;
739
- /** The bot that created the comment */
752
+ /** The bot that created the comment. */
740
753
  botActor?: ActorBot;
741
754
  /** The document content that the comment is associated with. */
742
755
  documentContent?: DocumentContent;
756
+ /** The external user who wrote the comment. */
757
+ get externalUser(): LinearFetch<ExternalUser> | undefined;
743
758
  /** The issue that the comment is associated with. */
744
759
  get issue(): LinearFetch<Issue> | undefined;
745
760
  /** The parent comment under which the current comment is nested. */
@@ -753,7 +768,7 @@ export declare class Comment extends Request {
753
768
  /** The user who wrote the comment. */
754
769
  get user(): LinearFetch<User> | undefined;
755
770
  /** The children of the comment. */
756
- children(variables?: Omit<L.Comment_ChildrenQueryVariables, "id">): LinearFetch<CommentConnection>;
771
+ children(variables?: L.Comment_ChildrenQueryVariables): LinearFetch<CommentConnection>;
757
772
  /** Creates a new comment. */
758
773
  create(input: L.CommentCreateInput): LinearFetch<CommentPayload>;
759
774
  /** Deletes a comment. */
@@ -876,6 +891,7 @@ export declare class CustomView extends Request {
876
891
  private _creator;
877
892
  private _owner;
878
893
  private _team?;
894
+ private _updatedBy;
879
895
  constructor(request: LinearRequest, data: L.CustomViewFragment);
880
896
  /** The time at which the entity was archived. Null if the entity has not been archived. */
881
897
  archivedAt?: Date;
@@ -897,6 +913,8 @@ export declare class CustomView extends Request {
897
913
  modelName: string;
898
914
  /** The name of the custom view. */
899
915
  name: string;
916
+ /** The filter applied to projects in the custom view. */
917
+ projectFilterData?: L.Scalars["JSONObject"];
900
918
  /** Whether the custom view is shared with everyone in the organization. */
901
919
  shared: boolean;
902
920
  /**
@@ -913,6 +931,10 @@ export declare class CustomView extends Request {
913
931
  get owner(): LinearFetch<User> | undefined;
914
932
  /** The team associated with the custom view. */
915
933
  get team(): LinearFetch<Team> | undefined;
934
+ /** The user who last updated the custom view. */
935
+ get updatedBy(): LinearFetch<User> | undefined;
936
+ /** Issues associated with the custom view. */
937
+ issues(variables?: Omit<L.CustomView_IssuesQueryVariables, "id">): LinearFetch<IssueConnection>;
916
938
  /** Creates a new custom view. */
917
939
  create(input: L.CustomViewCreateInput): LinearFetch<CustomViewPayload>;
918
940
  /** Deletes a custom view. */
@@ -956,7 +978,7 @@ export declare class CustomViewNotificationSubscription extends Request {
956
978
  private _team?;
957
979
  private _user?;
958
980
  constructor(request: LinearRequest, data: L.CustomViewNotificationSubscriptionFragment);
959
- /** Whether the subscription is active or not */
981
+ /** Whether the subscription is active or not. */
960
982
  active: boolean;
961
983
  /** The time at which the entity was archived. Null if the entity has not been archived. */
962
984
  archivedAt?: Date;
@@ -1119,7 +1141,7 @@ export declare class CycleNotificationSubscription extends Request {
1119
1141
  private _team?;
1120
1142
  private _user?;
1121
1143
  constructor(request: LinearRequest, data: L.CycleNotificationSubscriptionFragment);
1122
- /** Whether the subscription is active or not */
1144
+ /** Whether the subscription is active or not. */
1123
1145
  active: boolean;
1124
1146
  /** The time at which the entity was archived. Null if the entity has not been archived. */
1125
1147
  archivedAt?: Date;
@@ -1199,8 +1221,6 @@ export declare class Document extends Request {
1199
1221
  color?: string;
1200
1222
  /** The documents content in markdown format. */
1201
1223
  content?: string;
1202
- /** The documents content as a Prosemirror document. */
1203
- contentData?: Record<string, unknown>;
1204
1224
  /** The time at which the entity was created. */
1205
1225
  createdAt: Date;
1206
1226
  /** The icon of the document. */
@@ -1254,6 +1274,7 @@ export declare class DocumentContent extends Request {
1254
1274
  private _document?;
1255
1275
  private _issue?;
1256
1276
  private _project?;
1277
+ private _projectMilestone?;
1257
1278
  constructor(request: LinearRequest, data: L.DocumentContentFragment);
1258
1279
  /** The time at which the entity was archived. Null if the entity has not been archived. */
1259
1280
  archivedAt?: Date;
@@ -1265,7 +1286,7 @@ export declare class DocumentContent extends Request {
1265
1286
  createdAt: Date;
1266
1287
  /** The unique identifier of the entity. */
1267
1288
  id: string;
1268
- /** The time at which the document content was restored from a previous version */
1289
+ /** The time at which the document content was restored from a previous version. */
1269
1290
  restoredAt?: Date;
1270
1291
  /**
1271
1292
  * The last time at which the entity was meaningfully updated, i.e. for all changes of syncable properties except those
@@ -1279,9 +1300,11 @@ export declare class DocumentContent extends Request {
1279
1300
  get issue(): LinearFetch<Issue> | undefined;
1280
1301
  /** The project that the content is associated with. */
1281
1302
  get project(): LinearFetch<Project> | undefined;
1303
+ /** The project milestone that the content is associated with. */
1304
+ get projectMilestone(): LinearFetch<ProjectMilestone> | undefined;
1282
1305
  }
1283
1306
  /**
1284
- * A document content history for a document
1307
+ * A document content history for a document.
1285
1308
  *
1286
1309
  * @param request - function to call the graphql client
1287
1310
  * @param data - L.DocumentContentHistoryFragment response data
@@ -1292,7 +1315,7 @@ export declare class DocumentContentHistory extends Request {
1292
1315
  actorIds: string[];
1293
1316
  /** The time at which the entity was archived. Null if the entity has not been archived. */
1294
1317
  archivedAt?: Date;
1295
- /** The timestamp associated with the DocumentContent when it was originally saved */
1318
+ /** The timestamp associated with the DocumentContent when it was originally saved. */
1296
1319
  contentDataSnapshotAt: Date;
1297
1320
  /** The time at which the entity was created. */
1298
1321
  createdAt: Date;
@@ -1386,15 +1409,13 @@ export declare class DocumentSearchResult extends Request {
1386
1409
  color?: string;
1387
1410
  /** The documents content in markdown format. */
1388
1411
  content?: string;
1389
- /** The documents content as a Prosemirror document. */
1390
- contentData?: Record<string, unknown>;
1391
1412
  /** The time at which the entity was created. */
1392
1413
  createdAt: Date;
1393
1414
  /** The icon of the document. */
1394
1415
  icon?: string;
1395
1416
  /** The unique identifier of the entity. */
1396
1417
  id: string;
1397
- /** Metadata related to search result */
1418
+ /** Metadata related to search result. */
1398
1419
  metadata: L.Scalars["JSONObject"];
1399
1420
  /** The document's unique URL slug. */
1400
1421
  slugId: string;
@@ -1428,7 +1449,7 @@ export declare class DocumentSearchResultConnection extends Connection<DocumentS
1428
1449
  constructor(request: LinearRequest, fetch: (connection?: LinearConnectionVariables) => LinearFetch<LinearConnection<DocumentSearchResult> | undefined>, data: L.DocumentSearchResultConnectionFragment);
1429
1450
  }
1430
1451
  /**
1431
- * An email address that can be used for submitting issues
1452
+ * An email address that can be used for submitting issues.
1432
1453
  *
1433
1454
  * @param request - function to call the graphql client
1434
1455
  * @param data - L.EmailIntakeAddressFragment response data
@@ -1436,6 +1457,7 @@ export declare class DocumentSearchResultConnection extends Connection<DocumentS
1436
1457
  export declare class EmailIntakeAddress extends Request {
1437
1458
  private _creator?;
1438
1459
  private _team;
1460
+ private _template?;
1439
1461
  constructor(request: LinearRequest, data: L.EmailIntakeAddressFragment);
1440
1462
  /** Unique email address user name (before @) used for incoming email. */
1441
1463
  address: string;
@@ -1455,8 +1477,33 @@ export declare class EmailIntakeAddress extends Request {
1455
1477
  updatedAt: Date;
1456
1478
  /** The user who created the email intake address. */
1457
1479
  get creator(): LinearFetch<User> | undefined;
1480
+ /** The organization that the email address is associated with. */
1481
+ get organization(): LinearFetch<Organization>;
1458
1482
  /** The team that the email address is associated with. */
1459
1483
  get team(): LinearFetch<Team> | undefined;
1484
+ /** The template that the email address is associated with. */
1485
+ get template(): LinearFetch<Template> | undefined;
1486
+ /** Creates a new email intake address. */
1487
+ create(input: L.EmailIntakeAddressCreateInput): LinearFetch<EmailIntakeAddressPayload>;
1488
+ /** Deletes an email intake address object. */
1489
+ delete(): LinearFetch<DeletePayload>;
1490
+ /** Updates an existing email intake address. */
1491
+ update(input: L.EmailIntakeAddressUpdateInput): LinearFetch<EmailIntakeAddressPayload>;
1492
+ }
1493
+ /**
1494
+ * EmailIntakeAddressPayload model
1495
+ *
1496
+ * @param request - function to call the graphql client
1497
+ * @param data - L.EmailIntakeAddressPayloadFragment response data
1498
+ */
1499
+ export declare class EmailIntakeAddressPayload extends Request {
1500
+ constructor(request: LinearRequest, data: L.EmailIntakeAddressPayloadFragment);
1501
+ /** The identifier of the last sync operation. */
1502
+ lastSyncId: number;
1503
+ /** Whether the operation was successful. */
1504
+ success: boolean;
1505
+ /** The email address that was created or updated. */
1506
+ emailIntakeAddress: EmailIntakeAddress;
1460
1507
  }
1461
1508
  /**
1462
1509
  * EmailUnsubscribePayload model
@@ -1565,6 +1612,49 @@ export declare class Entity extends Request {
1565
1612
  */
1566
1613
  updatedAt: Date;
1567
1614
  }
1615
+ /**
1616
+ * An external authenticated (e.g., through Slack) user which doesn't have a Linear account, but can create and update entities in Linear from the external system that authenticated them.
1617
+ *
1618
+ * @param request - function to call the graphql client
1619
+ * @param data - L.ExternalUserFragment response data
1620
+ */
1621
+ export declare class ExternalUser extends Request {
1622
+ constructor(request: LinearRequest, data: L.ExternalUserFragment);
1623
+ /** The time at which the entity was archived. Null if the entity has not been archived. */
1624
+ archivedAt?: Date;
1625
+ /** An URL to the external user's avatar image. */
1626
+ avatarUrl?: string;
1627
+ /** The time at which the entity was created. */
1628
+ createdAt: Date;
1629
+ /** The external user's display name. Unique within each organization. Can match the display name of an actual user. */
1630
+ displayName: string;
1631
+ /** The external user's email address. */
1632
+ email?: string;
1633
+ /** The unique identifier of the entity. */
1634
+ id: string;
1635
+ /** The last time the external user was seen interacting with Linear. */
1636
+ lastSeen?: Date;
1637
+ /** The external user's full name. */
1638
+ name: string;
1639
+ /**
1640
+ * The last time at which the entity was meaningfully updated, i.e. for all changes of syncable properties except those
1641
+ * 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
1642
+ * been updated after creation.
1643
+ */
1644
+ updatedAt: Date;
1645
+ /** Organization the external user belongs to. */
1646
+ get organization(): LinearFetch<Organization>;
1647
+ }
1648
+ /**
1649
+ * ExternalUserConnection model
1650
+ *
1651
+ * @param request - function to call the graphql client
1652
+ * @param fetch - function to trigger a refetch of this ExternalUserConnection model
1653
+ * @param data - ExternalUserConnection response data
1654
+ */
1655
+ export declare class ExternalUserConnection extends Connection<ExternalUser> {
1656
+ constructor(request: LinearRequest, fetch: (connection?: LinearConnectionVariables) => LinearFetch<LinearConnection<ExternalUser> | undefined>, data: L.ExternalUserConnectionFragment);
1657
+ }
1568
1658
  /**
1569
1659
  * User favorites presented in the sidebar.
1570
1660
  *
@@ -1708,8 +1798,8 @@ export declare class GitAutomationState extends Request {
1708
1798
  constructor(request: LinearRequest, data: L.GitAutomationStateFragment);
1709
1799
  /** The time at which the entity was archived. Null if the entity has not been archived. */
1710
1800
  archivedAt?: Date;
1711
- /** The target branch, if null, the automation will be triggered on any branch. */
1712
- branchPattern: string;
1801
+ /** [DEPRECATED] The target branch, if null, the automation will be triggered on any branch. */
1802
+ branchPattern?: string;
1713
1803
  /** The time at which the entity was created. */
1714
1804
  createdAt: Date;
1715
1805
  /** The unique identifier of the entity. */
@@ -1720,6 +1810,8 @@ export declare class GitAutomationState extends Request {
1720
1810
  * been updated after creation.
1721
1811
  */
1722
1812
  updatedAt: Date;
1813
+ /** The target branch associated to this automation state. */
1814
+ targetBranch?: GitAutomationTargetBranch;
1723
1815
  /** The associated workflow state. */
1724
1816
  get state(): LinearFetch<WorkflowState> | undefined;
1725
1817
  /** The team to which this automation state belongs. */
@@ -1756,6 +1848,55 @@ export declare class GitAutomationStatePayload extends Request {
1756
1848
  /** The automation state that was created or updated. */
1757
1849
  gitAutomationState: GitAutomationState;
1758
1850
  }
1851
+ /**
1852
+ * A Git target branch for which there are automations (GitAutomationState).
1853
+ *
1854
+ * @param request - function to call the graphql client
1855
+ * @param data - L.GitAutomationTargetBranchFragment response data
1856
+ */
1857
+ export declare class GitAutomationTargetBranch extends Request {
1858
+ private _team;
1859
+ constructor(request: LinearRequest, data: L.GitAutomationTargetBranchFragment);
1860
+ /** The time at which the entity was archived. Null if the entity has not been archived. */
1861
+ archivedAt?: Date;
1862
+ /** The target branch pattern. */
1863
+ branchPattern: string;
1864
+ /** The time at which the entity was created. */
1865
+ createdAt: Date;
1866
+ /** The unique identifier of the entity. */
1867
+ id: string;
1868
+ /** Whether the branch pattern is a regular expression. */
1869
+ isRegex: boolean;
1870
+ /**
1871
+ * The last time at which the entity was meaningfully updated, i.e. for all changes of syncable properties except those
1872
+ * 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
1873
+ * been updated after creation.
1874
+ */
1875
+ updatedAt: Date;
1876
+ /** The team to which this Git target branch automation belongs. */
1877
+ get team(): LinearFetch<Team> | undefined;
1878
+ /** Creates a Git target branch automation. */
1879
+ create(input: L.GitAutomationTargetBranchCreateInput): LinearFetch<GitAutomationTargetBranchPayload>;
1880
+ /** Archives a Git target branch automation. */
1881
+ delete(): LinearFetch<DeletePayload>;
1882
+ /** Updates an existing Git target branch automation. */
1883
+ update(input: L.GitAutomationTargetBranchUpdateInput): LinearFetch<GitAutomationTargetBranchPayload>;
1884
+ }
1885
+ /**
1886
+ * GitAutomationTargetBranchPayload model
1887
+ *
1888
+ * @param request - function to call the graphql client
1889
+ * @param data - L.GitAutomationTargetBranchPayloadFragment response data
1890
+ */
1891
+ export declare class GitAutomationTargetBranchPayload extends Request {
1892
+ constructor(request: LinearRequest, data: L.GitAutomationTargetBranchPayloadFragment);
1893
+ /** The identifier of the last sync operation. */
1894
+ lastSyncId: number;
1895
+ /** Whether the operation was successful. */
1896
+ success: boolean;
1897
+ /** The Git target branch automation that was created or updated. */
1898
+ targetBranch: GitAutomationTargetBranch;
1899
+ }
1759
1900
  /**
1760
1901
  * GitHubCommitIntegrationPayload model
1761
1902
  *
@@ -1782,7 +1923,7 @@ export declare class GitHubCommitIntegrationPayload extends Request {
1782
1923
  */
1783
1924
  export declare class GitHubPersonalSettings extends Request {
1784
1925
  constructor(request: LinearRequest, data: L.GitHubPersonalSettingsFragment);
1785
- /** The GitHub user's name */
1926
+ /** The GitHub user's name. */
1786
1927
  login: string;
1787
1928
  }
1788
1929
  /**
@@ -1806,13 +1947,13 @@ export declare class GitHubRepo extends Request {
1806
1947
  */
1807
1948
  export declare class GitHubSettings extends Request {
1808
1949
  constructor(request: LinearRequest, data: L.GitHubSettingsFragment);
1809
- /** The avatar URL for the GitHub organization */
1950
+ /** The avatar URL for the GitHub organization. */
1810
1951
  orgAvatarUrl: string;
1811
- /** The GitHub organization's name */
1952
+ /** The GitHub organization's name. */
1812
1953
  orgLogin: string;
1813
- /** The names of the repositories connected for the GitHub integration */
1954
+ /** The names of the repositories connected for the GitHub integration. */
1814
1955
  repositories?: GitHubRepo[];
1815
- /** Mapping of team to repository for syncing */
1956
+ /** Mapping of team to repository for syncing. */
1816
1957
  repositoriesMapping?: TeamRepoMapping[];
1817
1958
  }
1818
1959
  /**
@@ -1823,11 +1964,11 @@ export declare class GitHubSettings extends Request {
1823
1964
  */
1824
1965
  export declare class GitLabSettings extends Request {
1825
1966
  constructor(request: LinearRequest, data: L.GitLabSettingsFragment);
1826
- /** The ISO timestamp the GitLab access token expires */
1967
+ /** The ISO timestamp the GitLab access token expires. */
1827
1968
  expiresAt?: string;
1828
- /** Whether the token is limited to a read-only scope */
1969
+ /** Whether the token is limited to a read-only scope. */
1829
1970
  readonly?: boolean;
1830
- /** The self-hosted URL of the GitLab instance */
1971
+ /** The self-hosted URL of the GitLab instance. */
1831
1972
  url?: string;
1832
1973
  }
1833
1974
  /**
@@ -1857,8 +1998,6 @@ export declare class GithubOrg extends Request {
1857
1998
  isPersonal?: boolean;
1858
1999
  /** The login for the GitHub organization. */
1859
2000
  login: string;
1860
- /** The name of the GitHub organization. */
1861
- name: string;
1862
2001
  /** Repositories that the organization owns. */
1863
2002
  repositories: GithubRepo[];
1864
2003
  }
@@ -1903,6 +2042,19 @@ export declare class ImageUploadFromUrlPayload extends Request {
1903
2042
  /** The URL containing the image. */
1904
2043
  url?: string;
1905
2044
  }
2045
+ /**
2046
+ * A generic payload return from entity archive mutations.
2047
+ *
2048
+ * @param request - function to call the graphql client
2049
+ * @param data - L.InitiativeArchivePayloadFragment response data
2050
+ */
2051
+ export declare class InitiativeArchivePayload extends Request {
2052
+ constructor(request: LinearRequest, data: L.InitiativeArchivePayloadFragment);
2053
+ /** The identifier of the last sync operation. */
2054
+ lastSyncId: number;
2055
+ /** Whether the operation was successful. */
2056
+ success: boolean;
2057
+ }
1906
2058
  /**
1907
2059
  * An integration with an external service.
1908
2060
  *
@@ -1933,6 +2085,8 @@ export declare class Integration extends Request {
1933
2085
  get organization(): LinearFetch<Organization>;
1934
2086
  /** The team that the integration is associated with. */
1935
2087
  get team(): LinearFetch<Team> | undefined;
2088
+ /** Archives an integration. */
2089
+ archive(): LinearFetch<DeletePayload>;
1936
2090
  /** Deletes an integration. */
1937
2091
  delete(): LinearFetch<DeletePayload>;
1938
2092
  }
@@ -1946,6 +2100,19 @@ export declare class Integration extends Request {
1946
2100
  export declare class IntegrationConnection extends Connection<Integration> {
1947
2101
  constructor(request: LinearRequest, fetch: (connection?: LinearConnectionVariables) => LinearFetch<LinearConnection<Integration> | undefined>, data: L.IntegrationConnectionFragment);
1948
2102
  }
2103
+ /**
2104
+ * IntegrationHasScopesPayload model
2105
+ *
2106
+ * @param request - function to call the graphql client
2107
+ * @param data - L.IntegrationHasScopesPayloadFragment response data
2108
+ */
2109
+ export declare class IntegrationHasScopesPayload extends Request {
2110
+ constructor(request: LinearRequest, data: L.IntegrationHasScopesPayloadFragment);
2111
+ /** Whether the integration has the required scopes. */
2112
+ hasAllScopes: boolean;
2113
+ /** The missing scopes. */
2114
+ missingScopes?: string[];
2115
+ }
1949
2116
  /**
1950
2117
  * IntegrationPayload model
1951
2118
  *
@@ -1974,7 +2141,7 @@ export declare class IntegrationRequestPayload extends Request {
1974
2141
  success: boolean;
1975
2142
  }
1976
2143
  /**
1977
- * The integration resource's settings
2144
+ * The integration resource's settings.
1978
2145
  *
1979
2146
  * @param request - function to call the graphql client
1980
2147
  * @param data - L.IntegrationSettingsFragment response data
@@ -2000,7 +2167,7 @@ export declare class IntegrationSettings extends Request {
2000
2167
  zendesk?: ZendeskSettings;
2001
2168
  }
2002
2169
  /**
2003
- * Join table between templates and integrations
2170
+ * Join table between templates and integrations.
2004
2171
  *
2005
2172
  * @param request - function to call the graphql client
2006
2173
  * @param data - L.IntegrationTemplateFragment response data
@@ -2080,9 +2247,9 @@ export declare class IntegrationsSettings extends Request {
2080
2247
  slackIssueCreated?: boolean;
2081
2248
  /** Whether to send a Slack message when a comment is created on any of the project or team's issues. */
2082
2249
  slackIssueNewComment?: boolean;
2083
- /** Whether to send a Slack message when an SLA is breached */
2250
+ /** Whether to send a Slack message when an SLA is breached. */
2084
2251
  slackIssueSlaBreached?: boolean;
2085
- /** Whether to send a Slack message when an SLA is at high risk */
2252
+ /** Whether to send a Slack message when an SLA is at high risk. */
2086
2253
  slackIssueSlaHighRisk?: boolean;
2087
2254
  /** Whether to send a Slack message when any of the project or team's issues has a change in status. */
2088
2255
  slackIssueStatusChangedAll?: boolean;
@@ -2164,10 +2331,12 @@ export declare class Issue extends Request {
2164
2331
  private _assignee?;
2165
2332
  private _creator?;
2166
2333
  private _cycle?;
2334
+ private _externalUserCreator?;
2167
2335
  private _favorite?;
2168
2336
  private _lastAppliedTemplate?;
2169
2337
  private _parent?;
2170
2338
  private _project?;
2339
+ private _projectMilestone?;
2171
2340
  private _snoozedBy?;
2172
2341
  private _state;
2173
2342
  private _team;
@@ -2242,6 +2411,8 @@ export declare class Issue extends Request {
2242
2411
  get creator(): LinearFetch<User> | undefined;
2243
2412
  /** The cycle that the issue is associated with. */
2244
2413
  get cycle(): LinearFetch<Cycle> | undefined;
2414
+ /** The external user who created the issue. */
2415
+ get externalUserCreator(): LinearFetch<ExternalUser> | undefined;
2245
2416
  /** The users favorite associated with this issue. */
2246
2417
  get favorite(): LinearFetch<Favorite> | undefined;
2247
2418
  /** The last template that was applied to this issue. */
@@ -2250,6 +2421,8 @@ export declare class Issue extends Request {
2250
2421
  get parent(): LinearFetch<Issue> | undefined;
2251
2422
  /** The project that the issue is associated with. */
2252
2423
  get project(): LinearFetch<Project> | undefined;
2424
+ /** The projectMilestone that the issue is associated with. */
2425
+ get projectMilestone(): LinearFetch<ProjectMilestone> | undefined;
2253
2426
  /** The user who snoozed the issue. */
2254
2427
  get snoozedBy(): LinearFetch<User> | undefined;
2255
2428
  /** The workflow state that the issue is associated with. */
@@ -2379,7 +2552,7 @@ export declare class IssueHistory extends Request {
2379
2552
  fromAssigneeId?: string;
2380
2553
  /** The id of previous cycle of the issue. */
2381
2554
  fromCycleId?: string;
2382
- /** What the due date was changed from */
2555
+ /** What the due date was changed from. */
2383
2556
  fromDueDate?: L.Scalars["TimelessDate"];
2384
2557
  /** What the estimate was changed from. */
2385
2558
  fromEstimate?: number;
@@ -2405,7 +2578,7 @@ export declare class IssueHistory extends Request {
2405
2578
  toConvertedProjectId?: string;
2406
2579
  /** The id of new cycle of the issue. */
2407
2580
  toCycleId?: string;
2408
- /** What the due date was changed to */
2581
+ /** What the due date was changed to. */
2409
2582
  toDueDate?: L.Scalars["TimelessDate"];
2410
2583
  /** What the estimate was changed to. */
2411
2584
  toEstimate?: number;
@@ -2435,7 +2608,7 @@ export declare class IssueHistory extends Request {
2435
2608
  /** Changed issue relationships. */
2436
2609
  relationChanges?: IssueRelationHistoryPayload[];
2437
2610
  removedLabels?: IssueLabel[];
2438
- /** The bot that performed the action */
2611
+ /** The bot that performed the action. */
2439
2612
  botActor?: ActorBot;
2440
2613
  /** The import record. */
2441
2614
  issueImport?: IssueImport;
@@ -2483,7 +2656,7 @@ export declare class IssueHistoryConnection extends Connection<IssueHistory> {
2483
2656
  constructor(request: LinearRequest, fetch: (connection?: LinearConnectionVariables) => LinearFetch<LinearConnection<IssueHistory> | undefined>, data: L.IssueHistoryConnectionFragment);
2484
2657
  }
2485
2658
  /**
2486
- * An import job for data from an external service
2659
+ * An import job for data from an external service.
2487
2660
  *
2488
2661
  * @param request - function to call the graphql client
2489
2662
  * @param data - L.IssueImportFragment response data
@@ -2500,7 +2673,7 @@ export declare class IssueImport extends Request {
2500
2673
  csvFileUrl?: string;
2501
2674
  /** User readable error message, if one has occurred during the import. */
2502
2675
  error?: string;
2503
- /** Error code and metadata, if one has occurred during the import */
2676
+ /** Error code and metadata, if one has occurred during the import. */
2504
2677
  errorMetadata?: L.Scalars["JSONObject"];
2505
2678
  /** The unique identifier of the entity. */
2506
2679
  id: string;
@@ -2512,7 +2685,7 @@ export declare class IssueImport extends Request {
2512
2685
  service: string;
2513
2686
  /** The status for the import job. */
2514
2687
  status: string;
2515
- /** New team's name in cases when teamId not set */
2688
+ /** New team's name in cases when teamId not set. */
2516
2689
  teamName?: string;
2517
2690
  /**
2518
2691
  * The last time at which the entity was meaningfully updated, i.e. for all changes of syncable properties except those
@@ -2642,7 +2815,7 @@ export declare class IssueLabelPayload extends Request {
2642
2815
  get issueLabel(): LinearFetch<IssueLabel> | undefined;
2643
2816
  }
2644
2817
  /**
2645
- * An issue related notification
2818
+ * An issue related notification.
2646
2819
  *
2647
2820
  * @param request - function to call the graphql client
2648
2821
  * @param data - L.IssueNotificationFragment response data
@@ -2650,6 +2823,7 @@ export declare class IssueLabelPayload extends Request {
2650
2823
  export declare class IssueNotification extends Request {
2651
2824
  private _actor?;
2652
2825
  private _comment?;
2826
+ private _externalUserActor?;
2653
2827
  private _issue;
2654
2828
  private _team;
2655
2829
  private _user;
@@ -2671,7 +2845,7 @@ export declare class IssueNotification extends Request {
2671
2845
  readAt?: Date;
2672
2846
  /** The time until a notification will be snoozed. After that it will appear in the inbox again. */
2673
2847
  snoozedUntilAt?: Date;
2674
- /** Notification type */
2848
+ /** Notification type. */
2675
2849
  type: string;
2676
2850
  /** The time at which a notification was unsnoozed.. */
2677
2851
  unsnoozedAt?: Date;
@@ -2689,9 +2863,11 @@ export declare class IssueNotification extends Request {
2689
2863
  get actor(): LinearFetch<User> | undefined;
2690
2864
  /** The comment related to the notification. */
2691
2865
  get comment(): LinearFetch<Comment> | undefined;
2866
+ /** The external user that caused the notification. */
2867
+ get externalUserActor(): LinearFetch<ExternalUser> | undefined;
2692
2868
  /** The issue related to the notification. */
2693
2869
  get issue(): LinearFetch<Issue> | undefined;
2694
- /** The team related to the notification. */
2870
+ /** The team related to the issue notification. */
2695
2871
  get team(): LinearFetch<Team> | undefined;
2696
2872
  /** The user that received the notification. */
2697
2873
  get user(): LinearFetch<User> | undefined;
@@ -2771,7 +2947,7 @@ export declare class IssueRelationConnection extends Connection<IssueRelation> {
2771
2947
  constructor(request: LinearRequest, fetch: (connection?: LinearConnectionVariables) => LinearFetch<LinearConnection<IssueRelation> | undefined>, data: L.IssueRelationConnectionFragment);
2772
2948
  }
2773
2949
  /**
2774
- * Issue relation history's payload
2950
+ * Issue relation history's payload.
2775
2951
  *
2776
2952
  * @param request - function to call the graphql client
2777
2953
  * @param data - L.IssueRelationHistoryPayloadFragment response data
@@ -2824,10 +3000,12 @@ export declare class IssueSearchResult extends Request {
2824
3000
  private _assignee?;
2825
3001
  private _creator?;
2826
3002
  private _cycle?;
3003
+ private _externalUserCreator?;
2827
3004
  private _favorite?;
2828
3005
  private _lastAppliedTemplate?;
2829
3006
  private _parent?;
2830
3007
  private _project?;
3008
+ private _projectMilestone?;
2831
3009
  private _snoozedBy?;
2832
3010
  private _state;
2833
3011
  private _team;
@@ -2862,7 +3040,7 @@ export declare class IssueSearchResult extends Request {
2862
3040
  identifier: string;
2863
3041
  /** Id of the labels associated with this issue. */
2864
3042
  labelIds: string[];
2865
- /** Metadata related to search result */
3043
+ /** Metadata related to search result. */
2866
3044
  metadata: L.Scalars["JSONObject"];
2867
3045
  /** The issue's unique number. */
2868
3046
  number: number;
@@ -2904,6 +3082,8 @@ export declare class IssueSearchResult extends Request {
2904
3082
  get creator(): LinearFetch<User> | undefined;
2905
3083
  /** The cycle that the issue is associated with. */
2906
3084
  get cycle(): LinearFetch<Cycle> | undefined;
3085
+ /** The external user who created the issue. */
3086
+ get externalUserCreator(): LinearFetch<ExternalUser> | undefined;
2907
3087
  /** The users favorite associated with this issue. */
2908
3088
  get favorite(): LinearFetch<Favorite> | undefined;
2909
3089
  /** The last template that was applied to this issue. */
@@ -2912,6 +3092,8 @@ export declare class IssueSearchResult extends Request {
2912
3092
  get parent(): LinearFetch<Issue> | undefined;
2913
3093
  /** The project that the issue is associated with. */
2914
3094
  get project(): LinearFetch<Project> | undefined;
3095
+ /** The projectMilestone that the issue is associated with. */
3096
+ get projectMilestone(): LinearFetch<ProjectMilestone> | undefined;
2915
3097
  /** The user who snoozed the issue. */
2916
3098
  get snoozedBy(): LinearFetch<User> | undefined;
2917
3099
  /** The workflow state that the issue is associated with. */
@@ -3002,7 +3184,7 @@ export declare class LabelNotificationSubscription extends Request {
3002
3184
  private _team?;
3003
3185
  private _user?;
3004
3186
  constructor(request: LinearRequest, data: L.LabelNotificationSubscriptionFragment);
3005
- /** Whether the subscription is active or not */
3187
+ /** Whether the subscription is active or not. */
3006
3188
  active: boolean;
3007
3189
  /** The time at which the entity was archived. Null if the entity has not been archived. */
3008
3190
  archivedAt?: Date;
@@ -3063,6 +3245,7 @@ export declare class Node extends Request {
3063
3245
  */
3064
3246
  export declare class Notification extends Request {
3065
3247
  private _actor?;
3248
+ private _externalUserActor?;
3066
3249
  private _user;
3067
3250
  constructor(request: LinearRequest, data: L.NotificationFragment);
3068
3251
  /** The time at which the entity was archived. Null if the entity has not been archived. */
@@ -3080,7 +3263,7 @@ export declare class Notification extends Request {
3080
3263
  readAt?: Date;
3081
3264
  /** The time until a notification will be snoozed. After that it will appear in the inbox again. */
3082
3265
  snoozedUntilAt?: Date;
3083
- /** Notification type */
3266
+ /** Notification type. */
3084
3267
  type: string;
3085
3268
  /** The time at which a notification was unsnoozed.. */
3086
3269
  unsnoozedAt?: Date;
@@ -3094,6 +3277,8 @@ export declare class Notification extends Request {
3094
3277
  botActor?: ActorBot;
3095
3278
  /** The user that caused the notification. */
3096
3279
  get actor(): LinearFetch<User> | undefined;
3280
+ /** The external user that caused the notification. */
3281
+ get externalUserActor(): LinearFetch<ExternalUser> | undefined;
3097
3282
  /** The user that received the notification. */
3098
3283
  get user(): LinearFetch<User> | undefined;
3099
3284
  /** Archives a notification. */
@@ -3169,7 +3354,7 @@ export declare class NotificationSubscription extends Request {
3169
3354
  private _team?;
3170
3355
  private _user?;
3171
3356
  constructor(request: LinearRequest, data: L.NotificationSubscriptionFragment);
3172
- /** Whether the subscription is active or not */
3357
+ /** Whether the subscription is active or not. */
3173
3358
  active: boolean;
3174
3359
  /** The time at which the entity was archived. Null if the entity has not been archived. */
3175
3360
  archivedAt?: Date;
@@ -3283,7 +3468,7 @@ export declare class OauthClient extends Request {
3283
3468
  webhookResourceTypes: string[];
3284
3469
  /** Webhook secret token for verifying the origin on the recipient side. */
3285
3470
  webhookSecret?: string;
3286
- /** Webhook URL */
3471
+ /** Webhook URL. */
3287
3472
  webhookUrl?: string;
3288
3473
  /** The user who created the OAuth application. */
3289
3474
  get creator(): LinearFetch<User> | undefined;
@@ -3324,13 +3509,14 @@ export declare class OauthClientApproval extends Request {
3324
3509
  updatedAt: Date;
3325
3510
  }
3326
3511
  /**
3327
- * An oauth client approval related notification
3512
+ * An oauth client approval related notification.
3328
3513
  *
3329
3514
  * @param request - function to call the graphql client
3330
3515
  * @param data - L.OauthClientApprovalNotificationFragment response data
3331
3516
  */
3332
3517
  export declare class OauthClientApprovalNotification extends Request {
3333
3518
  private _actor?;
3519
+ private _externalUserActor?;
3334
3520
  private _user;
3335
3521
  constructor(request: LinearRequest, data: L.OauthClientApprovalNotificationFragment);
3336
3522
  /** The time at which the entity was archived. Null if the entity has not been archived. */
@@ -3348,7 +3534,7 @@ export declare class OauthClientApprovalNotification extends Request {
3348
3534
  readAt?: Date;
3349
3535
  /** The time until a notification will be snoozed. After that it will appear in the inbox again. */
3350
3536
  snoozedUntilAt?: Date;
3351
- /** Notification type */
3537
+ /** Notification type. */
3352
3538
  type: string;
3353
3539
  /** The time at which a notification was unsnoozed.. */
3354
3540
  unsnoozedAt?: Date;
@@ -3364,6 +3550,8 @@ export declare class OauthClientApprovalNotification extends Request {
3364
3550
  oauthClientApproval: OauthClientApproval;
3365
3551
  /** The user that caused the notification. */
3366
3552
  get actor(): LinearFetch<User> | undefined;
3553
+ /** The external user that caused the notification. */
3554
+ get externalUserActor(): LinearFetch<ExternalUser> | undefined;
3367
3555
  /** The user that received the notification. */
3368
3556
  get user(): LinearFetch<User> | undefined;
3369
3557
  }
@@ -3385,8 +3573,16 @@ export declare class OauthClientConnection extends Connection<OauthClient> {
3385
3573
  */
3386
3574
  export declare class OauthToken extends Request {
3387
3575
  constructor(request: LinearRequest, data: L.OauthTokenFragment);
3576
+ clientId: string;
3388
3577
  createdAt: Date;
3389
- id: string;
3578
+ id: number;
3579
+ revokedAt?: Date;
3580
+ /** Id of the user who authorized the OAuth application. */
3581
+ userId: string;
3582
+ /** OAuth2 client for which the access token belongs to. */
3583
+ client: AuthOauthClient;
3584
+ /** Auth user who authorized the OAuth application. */
3585
+ user: AuthUser;
3390
3586
  }
3391
3587
  /**
3392
3588
  * An organization. Organizations are root-level objects that contain user accounts and teams.
@@ -3396,9 +3592,9 @@ export declare class OauthToken extends Request {
3396
3592
  */
3397
3593
  export declare class Organization extends Request {
3398
3594
  constructor(request: LinearRequest, data: L.OrganizationFragment);
3399
- /** Whether member users are allowed to send invites */
3595
+ /** Whether member users are allowed to send invites. */
3400
3596
  allowMembersToInvite?: boolean;
3401
- /** Allowed authentication providers, empty array means all are allowed */
3597
+ /** Allowed authentication providers, empty array means all are allowed. */
3402
3598
  allowedAuthServices: string[];
3403
3599
  /** The time at which the entity was archived. Null if the entity has not been archived. */
3404
3600
  archivedAt?: Date;
@@ -3502,7 +3698,7 @@ export declare class OrganizationDomain extends Request {
3502
3698
  createdAt: Date;
3503
3699
  /** The unique identifier of the entity. */
3504
3700
  id: string;
3505
- /** Domain name */
3701
+ /** Domain name. */
3506
3702
  name: string;
3507
3703
  /**
3508
3704
  * The last time at which the entity was meaningfully updated, i.e. for all changes of syncable properties except those
@@ -3510,9 +3706,9 @@ export declare class OrganizationDomain extends Request {
3510
3706
  * been updated after creation.
3511
3707
  */
3512
3708
  updatedAt: Date;
3513
- /** E-mail used to verify this domain */
3709
+ /** E-mail used to verify this domain. */
3514
3710
  verificationEmail?: string;
3515
- /** Is this domain verified */
3711
+ /** Is this domain verified. */
3516
3712
  verified: boolean;
3517
3713
  /** The user who added the domain. */
3518
3714
  get creator(): LinearFetch<User> | undefined;
@@ -3542,7 +3738,7 @@ export declare class OrganizationInvite extends Request {
3542
3738
  private _invitee?;
3543
3739
  private _inviter;
3544
3740
  constructor(request: LinearRequest, data: L.OrganizationInviteFragment);
3545
- /** The time at which the invite was accepted. Null, if the invite hasn't been accepted */
3741
+ /** The time at which the invite was accepted. Null, if the invite hasn't been accepted. */
3546
3742
  acceptedAt?: Date;
3547
3743
  /** The time at which the entity was archived. Null if the entity has not been archived. */
3548
3744
  archivedAt?: Date;
@@ -3550,7 +3746,7 @@ export declare class OrganizationInvite extends Request {
3550
3746
  createdAt: Date;
3551
3747
  /** The invitees email address. */
3552
3748
  email: string;
3553
- /** The time at which the invite will be expiring. Null, if the invite shouldn't expire */
3749
+ /** The time at which the invite will be expiring. Null, if the invite shouldn't expire. */
3554
3750
  expiresAt?: Date;
3555
3751
  /** The invite was sent to external address. */
3556
3752
  external: boolean;
@@ -3599,11 +3795,11 @@ export declare class OrganizationInviteFullDetailsPayload extends Request {
3599
3795
  accepted: boolean;
3600
3796
  /** When the invite was created. */
3601
3797
  createdAt: Date;
3602
- /** The email of the invitee */
3798
+ /** The email of the invitee. */
3603
3799
  email: string;
3604
3800
  /** Whether the invite has expired. */
3605
3801
  expired: boolean;
3606
- /** The name of the inviter */
3802
+ /** The name of the inviter. */
3607
3803
  inviter: string;
3608
3804
  /** ID of the workspace the invite is for. */
3609
3805
  organizationId: string;
@@ -3986,6 +4182,8 @@ export declare class ProjectMilestone extends Request {
3986
4182
  updatedAt: Date;
3987
4183
  /** The project of the milestone. */
3988
4184
  get project(): LinearFetch<Project> | undefined;
4185
+ /** Issues associated with the project milestone. */
4186
+ issues(variables?: Omit<L.ProjectMilestone_IssuesQueryVariables, "id">): LinearFetch<IssueConnection>;
3989
4187
  /** Creates a new project milestone. */
3990
4188
  create(input: L.ProjectMilestoneCreateInput): LinearFetch<ProjectMilestonePayload>;
3991
4189
  /** Deletes a project milestone. */
@@ -4010,20 +4208,24 @@ export declare class ProjectMilestoneConnection extends Connection<ProjectMilest
4010
4208
  * @param data - L.ProjectMilestonePayloadFragment response data
4011
4209
  */
4012
4210
  export declare class ProjectMilestonePayload extends Request {
4211
+ private _projectMilestone;
4013
4212
  constructor(request: LinearRequest, data: L.ProjectMilestonePayloadFragment);
4014
4213
  /** The identifier of the last sync operation. */
4015
4214
  lastSyncId: number;
4016
4215
  /** Whether the operation was successful. */
4017
4216
  success: boolean;
4217
+ /** The project milestone that was created or updated. */
4218
+ get projectMilestone(): LinearFetch<ProjectMilestone> | undefined;
4018
4219
  }
4019
4220
  /**
4020
- * A project related notification
4221
+ * A project related notification.
4021
4222
  *
4022
4223
  * @param request - function to call the graphql client
4023
4224
  * @param data - L.ProjectNotificationFragment response data
4024
4225
  */
4025
4226
  export declare class ProjectNotification extends Request {
4026
4227
  private _actor?;
4228
+ private _externalUserActor?;
4027
4229
  private _project;
4028
4230
  private _projectUpdate?;
4029
4231
  private _user;
@@ -4043,7 +4245,7 @@ export declare class ProjectNotification extends Request {
4043
4245
  readAt?: Date;
4044
4246
  /** The time until a notification will be snoozed. After that it will appear in the inbox again. */
4045
4247
  snoozedUntilAt?: Date;
4046
- /** Notification type */
4248
+ /** Notification type. */
4047
4249
  type: string;
4048
4250
  /** The time at which a notification was unsnoozed.. */
4049
4251
  unsnoozedAt?: Date;
@@ -4057,6 +4259,8 @@ export declare class ProjectNotification extends Request {
4057
4259
  botActor?: ActorBot;
4058
4260
  /** The user that caused the notification. */
4059
4261
  get actor(): LinearFetch<User> | undefined;
4262
+ /** The external user that caused the notification. */
4263
+ get externalUserActor(): LinearFetch<ExternalUser> | undefined;
4060
4264
  /** The project related to the notification. */
4061
4265
  get project(): LinearFetch<Project> | undefined;
4062
4266
  /** The project update related to the notification. */
@@ -4079,7 +4283,7 @@ export declare class ProjectNotificationSubscription extends Request {
4079
4283
  private _team?;
4080
4284
  private _user?;
4081
4285
  constructor(request: LinearRequest, data: L.ProjectNotificationSubscriptionFragment);
4082
- /** Whether the subscription is active or not */
4286
+ /** Whether the subscription is active or not. */
4083
4287
  active: boolean;
4084
4288
  /** The time at which the entity was archived. Null if the entity has not been archived. */
4085
4289
  archivedAt?: Date;
@@ -4182,7 +4386,7 @@ export declare class ProjectSearchResult extends Request {
4182
4386
  inProgressScopeHistory: number[];
4183
4387
  /** The total number of issues in the project after each week. */
4184
4388
  issueCountHistory: number[];
4185
- /** Metadata related to search result */
4389
+ /** Metadata related to search result. */
4186
4390
  metadata: L.Scalars["JSONObject"];
4187
4391
  /** The project's name. */
4188
4392
  name: string;
@@ -4260,13 +4464,15 @@ export declare class ProjectUpdate extends Request {
4260
4464
  /** The time at which the entity was created. */
4261
4465
  createdAt: Date;
4262
4466
  /** The diff between the current update and the previous one. */
4263
- diff?: Record<string, unknown>;
4467
+ diff?: L.Scalars["JSONObject"];
4264
4468
  /** The diff between the current update and the previous one, formatted as markdown. */
4265
4469
  diffMarkdown?: string;
4266
4470
  /** The time the project update was edited. */
4267
4471
  editedAt?: Date;
4268
4472
  /** The unique identifier of the entity. */
4269
4473
  id: string;
4474
+ /** Whether project update diff should be hidden. */
4475
+ isDiffHidden: boolean;
4270
4476
  /**
4271
4477
  * The last time at which the entity was meaningfully updated, i.e. for all changes of syncable properties except those
4272
4478
  * 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
@@ -4654,7 +4860,7 @@ export declare class RoadmapPayload extends Request {
4654
4860
  get roadmap(): LinearFetch<Roadmap> | undefined;
4655
4861
  }
4656
4862
  /**
4657
- * Join table between projects and roadmaps
4863
+ * Join table between projects and roadmaps.
4658
4864
  *
4659
4865
  * @param request - function to call the graphql client
4660
4866
  * @param data - L.RoadmapToProjectFragment response data
@@ -4714,42 +4920,6 @@ export declare class RoadmapToProjectPayload extends Request {
4714
4920
  /** The roadmapToProject that was created or updated. */
4715
4921
  get roadmapToProject(): LinearFetch<RoadmapToProject> | undefined;
4716
4922
  }
4717
- /**
4718
- * SamlConfiguration model
4719
- *
4720
- * @param request - function to call the graphql client
4721
- * @param data - L.SamlConfigurationFragment response data
4722
- */
4723
- export declare class SamlConfiguration extends Request {
4724
- constructor(request: LinearRequest, data: L.SamlConfigurationFragment);
4725
- /** The issuer's custom entity ID. */
4726
- issuerEntityId?: string;
4727
- /** Binding method for authentication call. Can be either `post` (default) or `redirect`. */
4728
- ssoBinding?: string;
4729
- /** Sign in endpoint URL for the identity provider. */
4730
- ssoEndpoint?: string;
4731
- /** The algorithm of the Signing Certificate. Can be one of `sha1`, `sha256` (default), or `sha512`. */
4732
- ssoSignAlgo?: string;
4733
- /** X.509 Signing Certificate in string form. */
4734
- ssoSigningCert?: string;
4735
- }
4736
- /**
4737
- * The organization's SAML configuration
4738
- *
4739
- * @param request - function to call the graphql client
4740
- * @param data - L.SamlConfigurationPayloadFragment response data
4741
- */
4742
- export declare class SamlConfigurationPayload extends Request {
4743
- constructor(request: LinearRequest, data: L.SamlConfigurationPayloadFragment);
4744
- /** The issuer's custom entity ID. */
4745
- issuerEntityId?: string;
4746
- /** Binding method for authentication call. Can be either `post` (default) or `redirect`. */
4747
- ssoBinding?: string;
4748
- /** Sign in endpoint URL for the identity provider. */
4749
- ssoEndpoint?: string;
4750
- /** The algorithm of the Signing Certificate. Can be one of `sha1`, `sha256` (default), or `sha512`. */
4751
- ssoSignAlgo?: string;
4752
- }
4753
4923
  /**
4754
4924
  * Sentry specific settings.
4755
4925
  *
@@ -4773,14 +4943,14 @@ export declare class SlackAsksSettings extends Request {
4773
4943
  slackChannelMapping?: SlackChannelNameMapping[];
4774
4944
  }
4775
4945
  /**
4776
- * Tuple for mapping Slack channel IDs to names
4946
+ * Tuple for mapping Slack channel IDs to names.
4777
4947
  *
4778
4948
  * @param request - function to call the graphql client
4779
4949
  * @param data - L.SlackAsksTeamSettingsFragment response data
4780
4950
  */
4781
4951
  export declare class SlackAsksTeamSettings extends Request {
4782
4952
  constructor(request: LinearRequest, data: L.SlackAsksTeamSettingsFragment);
4783
- /** Whether the default Asks template is enabled in the given channel for this team */
4953
+ /** Whether the default Asks template is enabled in the given channel for this team. */
4784
4954
  hasDefaultAsk: boolean;
4785
4955
  /** The Linear team ID. */
4786
4956
  id: string;
@@ -4808,32 +4978,32 @@ export declare class SlackChannelConnectPayload extends Request {
4808
4978
  get integration(): LinearFetch<Integration> | undefined;
4809
4979
  }
4810
4980
  /**
4811
- * Object for mapping Slack channel IDs to names and other settings
4981
+ * Object for mapping Slack channel IDs to names and other settings.
4812
4982
  *
4813
4983
  * @param request - function to call the graphql client
4814
4984
  * @param data - L.SlackChannelNameMappingFragment response data
4815
4985
  */
4816
4986
  export declare class SlackChannelNameMapping extends Request {
4817
4987
  constructor(request: LinearRequest, data: L.SlackChannelNameMappingFragment);
4818
- /** Whether or not @-mentioning the bot should automatically create an Ask with the message */
4988
+ /** Whether or not @-mentioning the bot should automatically create an Ask with the message. */
4819
4989
  autoCreateOnBotMention?: boolean;
4820
- /** Whether or not using the :ticket: emoji in this channel should automatically create Asks */
4990
+ /** Whether or not using the :ticket: emoji in this channel should automatically create Asks. */
4821
4991
  autoCreateOnEmoji?: boolean;
4822
- /** Whether or not top-level messages in this channel should automatically create Asks */
4992
+ /** Whether or not top-level messages in this channel should automatically create Asks. */
4823
4993
  autoCreateOnMessage?: boolean;
4824
4994
  /** The optional template ID to use for Asks auto-created in this channel. If not set, auto-created Asks won't use any template. */
4825
4995
  autoCreateTemplateId?: string;
4826
- /** Whether or not we the Linear Asks bot has been added to this Slack channel */
4996
+ /** Whether or not we the Linear Asks bot has been added to this Slack channel. */
4827
4997
  botAdded?: boolean;
4828
4998
  /** The Slack channel ID. */
4829
4999
  id: string;
4830
- /** Whether or not the Slack channel is private */
5000
+ /** Whether or not the Slack channel is private. */
4831
5001
  isPrivate?: boolean;
4832
- /** Whether or not the Slack channel is shared with an external org */
5002
+ /** Whether or not the Slack channel is shared with an external org. */
4833
5003
  isShared?: boolean;
4834
5004
  /** The Slack channel name. */
4835
5005
  name: string;
4836
- /** Which teams are connected to the channel and settings for those teams */
5006
+ /** Which teams are connected to the channel and settings for those teams. */
4837
5007
  teams: SlackAsksTeamSettings[];
4838
5008
  }
4839
5009
  /**
@@ -4966,7 +5136,7 @@ export declare class Team extends Request {
4966
5136
  name: string;
4967
5137
  /** Whether the team is private or not. */
4968
5138
  private: boolean;
4969
- /** Whether an issue needs to have a priority set before leaving triage */
5139
+ /** Whether an issue needs to have a priority set before leaving triage. */
4970
5140
  requirePriorityToLeaveTriage: boolean;
4971
5141
  /** Where to move issues when changing state. */
4972
5142
  setIssueSortOrderOnStateChange: string;
@@ -5016,10 +5186,10 @@ export declare class Team extends Request {
5016
5186
  get startWorkflowState(): LinearFetch<WorkflowState> | undefined;
5017
5187
  /** The workflow state into which issues are set when they are opened by non-team members or integrations if triage is enabled. */
5018
5188
  get triageIssueState(): LinearFetch<WorkflowState> | undefined;
5019
- /** The automation states for the team. */
5020
- automationStates(variables?: Omit<L.Team_AutomationStatesQueryVariables, "id">): LinearFetch<GitAutomationStateConnection>;
5021
5189
  /** Cycles associated with the team. */
5022
5190
  cycles(variables?: Omit<L.Team_CyclesQueryVariables, "id">): LinearFetch<CycleConnection>;
5191
+ /** The Git automation states for the team. */
5192
+ gitAutomationStates(variables?: Omit<L.Team_GitAutomationStatesQueryVariables, "id">): LinearFetch<GitAutomationStateConnection>;
5023
5193
  /** Issues associated with the team. */
5024
5194
  issues(variables?: Omit<L.Team_IssuesQueryVariables, "id">): LinearFetch<IssueConnection>;
5025
5195
  /** Labels associated with the team. */
@@ -5087,7 +5257,7 @@ export declare class TeamMembership extends Request {
5087
5257
  createdAt: Date;
5088
5258
  /** The unique identifier of the entity. */
5089
5259
  id: string;
5090
- /** Whether the user is the owner of the team */
5260
+ /** Whether the user is the owner of the team. */
5091
5261
  owner?: boolean;
5092
5262
  /** The order of the item in the users team list. */
5093
5263
  sortOrder: number;
@@ -5149,7 +5319,7 @@ export declare class TeamNotificationSubscription extends Request {
5149
5319
  private _team;
5150
5320
  private _user?;
5151
5321
  constructor(request: LinearRequest, data: L.TeamNotificationSubscriptionFragment);
5152
- /** Whether the subscription is active or not */
5322
+ /** Whether the subscription is active or not. */
5153
5323
  active: boolean;
5154
5324
  /** The time at which the entity was archived. Null if the entity has not been archived. */
5155
5325
  archivedAt?: Date;
@@ -5197,13 +5367,17 @@ export declare class TeamPayload extends Request {
5197
5367
  get team(): LinearFetch<Team> | undefined;
5198
5368
  }
5199
5369
  /**
5200
- * Tuple for mapping Linear teams to GitHub repos.
5370
+ * Mapping of Linear teams to GitHub repos.
5201
5371
  *
5202
5372
  * @param request - function to call the graphql client
5203
5373
  * @param data - L.TeamRepoMappingFragment response data
5204
5374
  */
5205
5375
  export declare class TeamRepoMapping extends Request {
5206
5376
  constructor(request: LinearRequest, data: L.TeamRepoMappingFragment);
5377
+ /** Whether the sync for this mapping is bidirectional. */
5378
+ bidirectional?: boolean;
5379
+ /** Whether this mapping is the default one for issue creation. */
5380
+ default?: boolean;
5207
5381
  /** The GitHub repo id. */
5208
5382
  gitHubRepoId: number;
5209
5383
  /** The Linear team id to map to the given project. */
@@ -5281,6 +5455,80 @@ export declare class TemplatePayload extends Request {
5281
5455
  /** The template that was created or updated. */
5282
5456
  get template(): LinearFetch<Template> | undefined;
5283
5457
  }
5458
+ /**
5459
+ * A time schedule.
5460
+ *
5461
+ * @param request - function to call the graphql client
5462
+ * @param data - L.TimeScheduleFragment response data
5463
+ */
5464
+ export declare class TimeSchedule extends Request {
5465
+ private _integration?;
5466
+ constructor(request: LinearRequest, data: L.TimeScheduleFragment);
5467
+ /** The time at which the entity was archived. Null if the entity has not been archived. */
5468
+ archivedAt?: Date;
5469
+ /** The time at which the entity was created. */
5470
+ createdAt: Date;
5471
+ /** The identifier of the external schedule. */
5472
+ externalId?: string;
5473
+ /** The URL to the external schedule. */
5474
+ externalUrl?: string;
5475
+ /** The unique identifier of the entity. */
5476
+ id: string;
5477
+ /** The name of the schedule. */
5478
+ name: string;
5479
+ /**
5480
+ * The last time at which the entity was meaningfully updated, i.e. for all changes of syncable properties except those
5481
+ * 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
5482
+ * been updated after creation.
5483
+ */
5484
+ updatedAt: Date;
5485
+ /** The schedule entries. */
5486
+ entries: TimeScheduleEntry[];
5487
+ /** The identifier of the Linear integration populating the schedule. */
5488
+ get integration(): LinearFetch<Integration> | undefined;
5489
+ /** The organization of the schedule. */
5490
+ get organization(): LinearFetch<Organization>;
5491
+ }
5492
+ /**
5493
+ * TimeScheduleConnection model
5494
+ *
5495
+ * @param request - function to call the graphql client
5496
+ * @param fetch - function to trigger a refetch of this TimeScheduleConnection model
5497
+ * @param data - TimeScheduleConnection response data
5498
+ */
5499
+ export declare class TimeScheduleConnection extends Connection<TimeSchedule> {
5500
+ constructor(request: LinearRequest, fetch: (connection?: LinearConnectionVariables) => LinearFetch<LinearConnection<TimeSchedule> | undefined>, data: L.TimeScheduleConnectionFragment);
5501
+ }
5502
+ /**
5503
+ * TimeScheduleEntry model
5504
+ *
5505
+ * @param request - function to call the graphql client
5506
+ * @param data - L.TimeScheduleEntryFragment response data
5507
+ */
5508
+ export declare class TimeScheduleEntry extends Request {
5509
+ constructor(request: LinearRequest, data: L.TimeScheduleEntryFragment);
5510
+ /** The end date of the schedule in ISO 8601 date-time format. */
5511
+ endsAt: Date;
5512
+ /** The start date of the schedule in ISO 8601 date-time format. */
5513
+ startsAt: Date;
5514
+ /** The email of the user on schedule. This is used in case the external user could not be mapped to a Linear user id. */
5515
+ userEmail?: string;
5516
+ /** The Linear user id of the user on schedule. If the user cannot be mapped to a Linear user then `userEmail` can be used as a reference. */
5517
+ userId?: string;
5518
+ }
5519
+ /**
5520
+ * TimeSchedulePayload model
5521
+ *
5522
+ * @param request - function to call the graphql client
5523
+ * @param data - L.TimeSchedulePayloadFragment response data
5524
+ */
5525
+ export declare class TimeSchedulePayload extends Request {
5526
+ constructor(request: LinearRequest, data: L.TimeSchedulePayloadFragment);
5527
+ /** The identifier of the last sync operation. */
5528
+ lastSyncId: number;
5529
+ /** Whether the operation was successful. */
5530
+ success: boolean;
5531
+ }
5284
5532
  /**
5285
5533
  * A team's triage responsibility.
5286
5534
  *
@@ -5288,7 +5536,7 @@ export declare class TemplatePayload extends Request {
5288
5536
  * @param data - L.TriageResponsibilityFragment response data
5289
5537
  */
5290
5538
  export declare class TriageResponsibility extends Request {
5291
- private _integration;
5539
+ private _currentUser?;
5292
5540
  private _team;
5293
5541
  constructor(request: LinearRequest, data: L.TriageResponsibilityFragment);
5294
5542
  /** The time at which the entity was archived. Null if the entity has not been archived. */
@@ -5297,18 +5545,16 @@ export declare class TriageResponsibility extends Request {
5297
5545
  createdAt: Date;
5298
5546
  /** The unique identifier of the entity. */
5299
5547
  id: string;
5300
- /** Set of users used for triage responsibility. */
5301
- manualSelection?: L.Scalars["JSONObject"];
5302
- /** Schedule used for triage responsibility. */
5303
- schedule?: L.Scalars["JSONObject"];
5304
5548
  /**
5305
5549
  * The last time at which the entity was meaningfully updated, i.e. for all changes of syncable properties except those
5306
5550
  * 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
5307
5551
  * been updated after creation.
5308
5552
  */
5309
5553
  updatedAt: Date;
5310
- /** The integration used for scheduling. */
5311
- get integration(): LinearFetch<Integration> | undefined;
5554
+ /** Set of users used for triage responsibility. */
5555
+ manualSelection?: TriageResponsibilityManualSelection;
5556
+ /** The user currently responsible for triage. */
5557
+ get currentUser(): LinearFetch<User> | undefined;
5312
5558
  /** The team to which the triage responsibility belongs to. */
5313
5559
  get team(): LinearFetch<Team> | undefined;
5314
5560
  }
@@ -5322,6 +5568,30 @@ export declare class TriageResponsibility extends Request {
5322
5568
  export declare class TriageResponsibilityConnection extends Connection<TriageResponsibility> {
5323
5569
  constructor(request: LinearRequest, fetch: (connection?: LinearConnectionVariables) => LinearFetch<LinearConnection<TriageResponsibility> | undefined>, data: L.TriageResponsibilityConnectionFragment);
5324
5570
  }
5571
+ /**
5572
+ * TriageResponsibilityManualSelection model
5573
+ *
5574
+ * @param request - function to call the graphql client
5575
+ * @param data - L.TriageResponsibilityManualSelectionFragment response data
5576
+ */
5577
+ export declare class TriageResponsibilityManualSelection extends Request {
5578
+ constructor(request: LinearRequest, data: L.TriageResponsibilityManualSelectionFragment);
5579
+ /** The set of users responsible for triage. */
5580
+ userIds: string[];
5581
+ }
5582
+ /**
5583
+ * TriageResponsibilityPayload model
5584
+ *
5585
+ * @param request - function to call the graphql client
5586
+ * @param data - L.TriageResponsibilityPayloadFragment response data
5587
+ */
5588
+ export declare class TriageResponsibilityPayload extends Request {
5589
+ constructor(request: LinearRequest, data: L.TriageResponsibilityPayloadFragment);
5590
+ /** The identifier of the last sync operation. */
5591
+ lastSyncId: number;
5592
+ /** Whether the operation was successful. */
5593
+ success: boolean;
5594
+ }
5325
5595
  /**
5326
5596
  * Object representing Google Cloud upload policy, plus additional data.
5327
5597
  *
@@ -5330,7 +5600,7 @@ export declare class TriageResponsibilityConnection extends Connection<TriageRes
5330
5600
  */
5331
5601
  export declare class UploadFile extends Request {
5332
5602
  constructor(request: LinearRequest, data: L.UploadFileFragment);
5333
- /** The asset URL for the uploaded file. (assigned automatically) */
5603
+ /** The asset URL for the uploaded file. (assigned automatically). */
5334
5604
  assetUrl: string;
5335
5605
  /** The content type. */
5336
5606
  contentType: string;
@@ -5339,7 +5609,7 @@ export declare class UploadFile extends Request {
5339
5609
  metaData?: L.Scalars["JSONObject"];
5340
5610
  /** The size of the uploaded file. */
5341
5611
  size: number;
5342
- /** The signed URL the for the uploaded file. (assigned automatically) */
5612
+ /** The signed URL the for the uploaded file. (assigned automatically). */
5343
5613
  uploadUrl: string;
5344
5614
  headers: UploadFileHeader[];
5345
5615
  }
@@ -5456,6 +5726,8 @@ export declare class UserAccount extends Request {
5456
5726
  constructor(request: LinearRequest, data: L.UserAccountFragment);
5457
5727
  /** The time at which the model was archived. */
5458
5728
  archivedAt?: Date;
5729
+ /** Whether not to send email auth links in the email auth emails. */
5730
+ authTokenLinkDisabled: boolean;
5459
5731
  /** The time at which the model was created. */
5460
5732
  createdAt: Date;
5461
5733
  /** The user's email address. */
@@ -5488,7 +5760,7 @@ export declare class UserAdminPayload extends Request {
5488
5760
  */
5489
5761
  export declare class UserAuthorizedApplication extends Request {
5490
5762
  constructor(request: LinearRequest, data: L.UserAuthorizedApplicationFragment);
5491
- /** Error associated with the application needing to be requested for approval in the workspace */
5763
+ /** Error associated with the application needing to be requested for approval in the workspace. */
5492
5764
  approvalErrorCode?: string;
5493
5765
  /** OAuth application's client ID. */
5494
5766
  clientId: string;
@@ -5536,7 +5808,7 @@ export declare class UserNotificationSubscription extends Request {
5536
5808
  private _team?;
5537
5809
  private _user;
5538
5810
  constructor(request: LinearRequest, data: L.UserNotificationSubscriptionFragment);
5539
- /** Whether the subscription is active or not */
5811
+ /** Whether the subscription is active or not. */
5540
5812
  active: boolean;
5541
5813
  /** The time at which the entity was archived. Null if the entity has not been archived. */
5542
5814
  archivedAt?: Date;
@@ -5709,7 +5981,7 @@ export declare class ViewPreferencesPayload extends Request {
5709
5981
  viewPreferences: ViewPreferences;
5710
5982
  }
5711
5983
  /**
5712
- * A webhook used to send HTTP notifications over data updates
5984
+ * A webhook used to send HTTP notifications over data updates.
5713
5985
  *
5714
5986
  * @param request - function to call the graphql client
5715
5987
  * @param data - L.WebhookFragment response data
@@ -5728,7 +6000,7 @@ export declare class Webhook extends Request {
5728
6000
  enabled: boolean;
5729
6001
  /** The unique identifier of the entity. */
5730
6002
  id: string;
5731
- /** Webhook label */
6003
+ /** Webhook label. */
5732
6004
  label?: string;
5733
6005
  /** The resource types this webhook is subscribed to. */
5734
6006
  resourceTypes: string[];
@@ -5740,7 +6012,7 @@ export declare class Webhook extends Request {
5740
6012
  * been updated after creation.
5741
6013
  */
5742
6014
  updatedAt: Date;
5743
- /** Webhook URL */
6015
+ /** Webhook URL. */
5744
6016
  url?: string;
5745
6017
  /** The user who created the webhook. */
5746
6018
  get creator(): LinearFetch<User> | undefined;
@@ -6191,10 +6463,10 @@ export declare class CommentQuery extends Request {
6191
6463
  /**
6192
6464
  * Call the Comment query and return a Comment
6193
6465
  *
6194
- * @param id - required id to pass to comment
6466
+ * @param variables - variables to pass into the CommentQuery
6195
6467
  * @returns parsed response from CommentQuery
6196
6468
  */
6197
- fetch(id: string): LinearFetch<Comment>;
6469
+ fetch(variables?: L.CommentQueryVariables): LinearFetch<Comment>;
6198
6470
  }
6199
6471
  /**
6200
6472
  * A fetchable Comments Query
@@ -6361,6 +6633,36 @@ export declare class EmojisQuery extends Request {
6361
6633
  */
6362
6634
  fetch(variables?: L.EmojisQueryVariables): LinearFetch<EmojiConnection>;
6363
6635
  }
6636
+ /**
6637
+ * A fetchable ExternalUser Query
6638
+ *
6639
+ * @param request - function to call the graphql client
6640
+ */
6641
+ export declare class ExternalUserQuery extends Request {
6642
+ constructor(request: LinearRequest);
6643
+ /**
6644
+ * Call the ExternalUser query and return a ExternalUser
6645
+ *
6646
+ * @param id - required id to pass to externalUser
6647
+ * @returns parsed response from ExternalUserQuery
6648
+ */
6649
+ fetch(id: string): LinearFetch<ExternalUser>;
6650
+ }
6651
+ /**
6652
+ * A fetchable ExternalUsers Query
6653
+ *
6654
+ * @param request - function to call the graphql client
6655
+ */
6656
+ export declare class ExternalUsersQuery extends Request {
6657
+ constructor(request: LinearRequest);
6658
+ /**
6659
+ * Call the ExternalUsers query and return a ExternalUserConnection
6660
+ *
6661
+ * @param variables - variables to pass into the ExternalUsersQuery
6662
+ * @returns parsed response from ExternalUsersQuery
6663
+ */
6664
+ fetch(variables?: L.ExternalUsersQueryVariables): LinearFetch<ExternalUserConnection>;
6665
+ }
6364
6666
  /**
6365
6667
  * A fetchable Favorite Query
6366
6668
  *
@@ -6406,6 +6708,22 @@ export declare class IntegrationQuery extends Request {
6406
6708
  */
6407
6709
  fetch(id: string): LinearFetch<Integration>;
6408
6710
  }
6711
+ /**
6712
+ * A fetchable IntegrationHasScopes Query
6713
+ *
6714
+ * @param request - function to call the graphql client
6715
+ */
6716
+ export declare class IntegrationHasScopesQuery extends Request {
6717
+ constructor(request: LinearRequest);
6718
+ /**
6719
+ * Call the IntegrationHasScopes query and return a IntegrationHasScopesPayload
6720
+ *
6721
+ * @param integrationId - required integrationId to pass to integrationHasScopes
6722
+ * @param scopes - required scopes to pass to integrationHasScopes
6723
+ * @returns parsed response from IntegrationHasScopesQuery
6724
+ */
6725
+ fetch(integrationId: string, scopes: string[]): LinearFetch<IntegrationHasScopesPayload>;
6726
+ }
6409
6727
  /**
6410
6728
  * A fetchable IntegrationTemplate Query
6411
6729
  *
@@ -7909,6 +8227,67 @@ export declare class UpdateDocumentMutation extends Request {
7909
8227
  */
7910
8228
  fetch(id: string, input: L.DocumentUpdateInput): LinearFetch<DocumentPayload>;
7911
8229
  }
8230
+ /**
8231
+ * A fetchable CreateEmailIntakeAddress Mutation
8232
+ *
8233
+ * @param request - function to call the graphql client
8234
+ */
8235
+ export declare class CreateEmailIntakeAddressMutation extends Request {
8236
+ constructor(request: LinearRequest);
8237
+ /**
8238
+ * Call the CreateEmailIntakeAddress mutation and return a EmailIntakeAddressPayload
8239
+ *
8240
+ * @param input - required input to pass to createEmailIntakeAddress
8241
+ * @returns parsed response from CreateEmailIntakeAddressMutation
8242
+ */
8243
+ fetch(input: L.EmailIntakeAddressCreateInput): LinearFetch<EmailIntakeAddressPayload>;
8244
+ }
8245
+ /**
8246
+ * A fetchable DeleteEmailIntakeAddress Mutation
8247
+ *
8248
+ * @param request - function to call the graphql client
8249
+ */
8250
+ export declare class DeleteEmailIntakeAddressMutation extends Request {
8251
+ constructor(request: LinearRequest);
8252
+ /**
8253
+ * Call the DeleteEmailIntakeAddress mutation and return a DeletePayload
8254
+ *
8255
+ * @param id - required id to pass to deleteEmailIntakeAddress
8256
+ * @returns parsed response from DeleteEmailIntakeAddressMutation
8257
+ */
8258
+ fetch(id: string): LinearFetch<DeletePayload>;
8259
+ }
8260
+ /**
8261
+ * A fetchable EmailIntakeAddressRotate Mutation
8262
+ *
8263
+ * @param request - function to call the graphql client
8264
+ */
8265
+ export declare class EmailIntakeAddressRotateMutation extends Request {
8266
+ constructor(request: LinearRequest);
8267
+ /**
8268
+ * Call the EmailIntakeAddressRotate mutation and return a EmailIntakeAddressPayload
8269
+ *
8270
+ * @param id - required id to pass to emailIntakeAddressRotate
8271
+ * @returns parsed response from EmailIntakeAddressRotateMutation
8272
+ */
8273
+ fetch(id: string): LinearFetch<EmailIntakeAddressPayload>;
8274
+ }
8275
+ /**
8276
+ * A fetchable UpdateEmailIntakeAddress Mutation
8277
+ *
8278
+ * @param request - function to call the graphql client
8279
+ */
8280
+ export declare class UpdateEmailIntakeAddressMutation extends Request {
8281
+ constructor(request: LinearRequest);
8282
+ /**
8283
+ * Call the UpdateEmailIntakeAddress mutation and return a EmailIntakeAddressPayload
8284
+ *
8285
+ * @param id - required id to pass to updateEmailIntakeAddress
8286
+ * @param input - required input to pass to updateEmailIntakeAddress
8287
+ * @returns parsed response from UpdateEmailIntakeAddressMutation
8288
+ */
8289
+ fetch(id: string, input: L.EmailIntakeAddressUpdateInput): LinearFetch<EmailIntakeAddressPayload>;
8290
+ }
7912
8291
  /**
7913
8292
  * A fetchable EmailTokenUserAccountAuth Mutation
7914
8293
  *
@@ -8094,6 +8473,52 @@ export declare class UpdateGitAutomationStateMutation extends Request {
8094
8473
  */
8095
8474
  fetch(id: string, input: L.GitAutomationStateUpdateInput): LinearFetch<GitAutomationStatePayload>;
8096
8475
  }
8476
+ /**
8477
+ * A fetchable CreateGitAutomationTargetBranch Mutation
8478
+ *
8479
+ * @param request - function to call the graphql client
8480
+ */
8481
+ export declare class CreateGitAutomationTargetBranchMutation extends Request {
8482
+ constructor(request: LinearRequest);
8483
+ /**
8484
+ * Call the CreateGitAutomationTargetBranch mutation and return a GitAutomationTargetBranchPayload
8485
+ *
8486
+ * @param input - required input to pass to createGitAutomationTargetBranch
8487
+ * @returns parsed response from CreateGitAutomationTargetBranchMutation
8488
+ */
8489
+ fetch(input: L.GitAutomationTargetBranchCreateInput): LinearFetch<GitAutomationTargetBranchPayload>;
8490
+ }
8491
+ /**
8492
+ * A fetchable DeleteGitAutomationTargetBranch Mutation
8493
+ *
8494
+ * @param request - function to call the graphql client
8495
+ */
8496
+ export declare class DeleteGitAutomationTargetBranchMutation extends Request {
8497
+ constructor(request: LinearRequest);
8498
+ /**
8499
+ * Call the DeleteGitAutomationTargetBranch mutation and return a DeletePayload
8500
+ *
8501
+ * @param id - required id to pass to deleteGitAutomationTargetBranch
8502
+ * @returns parsed response from DeleteGitAutomationTargetBranchMutation
8503
+ */
8504
+ fetch(id: string): LinearFetch<DeletePayload>;
8505
+ }
8506
+ /**
8507
+ * A fetchable UpdateGitAutomationTargetBranch Mutation
8508
+ *
8509
+ * @param request - function to call the graphql client
8510
+ */
8511
+ export declare class UpdateGitAutomationTargetBranchMutation extends Request {
8512
+ constructor(request: LinearRequest);
8513
+ /**
8514
+ * Call the UpdateGitAutomationTargetBranch mutation and return a GitAutomationTargetBranchPayload
8515
+ *
8516
+ * @param id - required id to pass to updateGitAutomationTargetBranch
8517
+ * @param input - required input to pass to updateGitAutomationTargetBranch
8518
+ * @returns parsed response from UpdateGitAutomationTargetBranchMutation
8519
+ */
8520
+ fetch(id: string, input: L.GitAutomationTargetBranchUpdateInput): LinearFetch<GitAutomationTargetBranchPayload>;
8521
+ }
8097
8522
  /**
8098
8523
  * A fetchable GoogleUserAccountAuth Mutation
8099
8524
  *
@@ -8142,6 +8567,21 @@ export declare class ImportFileUploadMutation extends Request {
8142
8567
  */
8143
8568
  fetch(contentType: string, filename: string, size: number, variables?: Omit<L.ImportFileUploadMutationVariables, "contentType" | "filename" | "size">): LinearFetch<UploadPayload>;
8144
8569
  }
8570
+ /**
8571
+ * A fetchable ArchiveIntegration Mutation
8572
+ *
8573
+ * @param request - function to call the graphql client
8574
+ */
8575
+ export declare class ArchiveIntegrationMutation extends Request {
8576
+ constructor(request: LinearRequest);
8577
+ /**
8578
+ * Call the ArchiveIntegration mutation and return a DeletePayload
8579
+ *
8580
+ * @param id - required id to pass to archiveIntegration
8581
+ * @returns parsed response from ArchiveIntegrationMutation
8582
+ */
8583
+ fetch(id: string): LinearFetch<DeletePayload>;
8584
+ }
8145
8585
  /**
8146
8586
  * A fetchable IntegrationAsksConnectChannel Mutation
8147
8587
  *
@@ -10571,52 +11011,71 @@ export declare class AttachmentIssue_SubscribersQuery extends Request {
10571
11011
  * A fetchable Comment_BotActor Query
10572
11012
  *
10573
11013
  * @param request - function to call the graphql client
10574
- * @param id - required id to pass to comment
11014
+ * @param variables - variables to pass into the Comment_BotActorQuery
10575
11015
  */
10576
11016
  export declare class Comment_BotActorQuery extends Request {
10577
- private _id;
10578
- constructor(request: LinearRequest, id: string);
11017
+ private _variables?;
11018
+ constructor(request: LinearRequest, variables?: L.Comment_BotActorQueryVariables);
10579
11019
  /**
10580
11020
  * Call the Comment_BotActor query and return a ActorBot
10581
11021
  *
11022
+ * @param variables - variables to pass into the Comment_BotActorQuery
10582
11023
  * @returns parsed response from Comment_BotActorQuery
10583
11024
  */
10584
- fetch(): LinearFetch<ActorBot | undefined>;
11025
+ fetch(variables?: L.Comment_BotActorQueryVariables): LinearFetch<ActorBot | undefined>;
10585
11026
  }
10586
11027
  /**
10587
11028
  * A fetchable Comment_Children Query
10588
11029
  *
10589
11030
  * @param request - function to call the graphql client
10590
- * @param id - required id to pass to comment
10591
- * @param variables - variables without 'id' to pass into the Comment_ChildrenQuery
11031
+ * @param variables - variables to pass into the Comment_ChildrenQuery
10592
11032
  */
10593
11033
  export declare class Comment_ChildrenQuery extends Request {
10594
- private _id;
10595
11034
  private _variables?;
10596
- constructor(request: LinearRequest, id: string, variables?: Omit<L.Comment_ChildrenQueryVariables, "id">);
11035
+ constructor(request: LinearRequest, variables?: L.Comment_ChildrenQueryVariables);
10597
11036
  /**
10598
11037
  * Call the Comment_Children query and return a CommentConnection
10599
11038
  *
10600
- * @param variables - variables without 'id' to pass into the Comment_ChildrenQuery
11039
+ * @param variables - variables to pass into the Comment_ChildrenQuery
10601
11040
  * @returns parsed response from Comment_ChildrenQuery
10602
11041
  */
10603
- fetch(variables?: Omit<L.Comment_ChildrenQueryVariables, "id">): LinearFetch<CommentConnection>;
11042
+ fetch(variables?: L.Comment_ChildrenQueryVariables): LinearFetch<CommentConnection>;
10604
11043
  }
10605
11044
  /**
10606
11045
  * A fetchable Comment_DocumentContent Query
10607
11046
  *
10608
11047
  * @param request - function to call the graphql client
10609
- * @param id - required id to pass to comment
11048
+ * @param variables - variables to pass into the Comment_DocumentContentQuery
10610
11049
  */
10611
11050
  export declare class Comment_DocumentContentQuery extends Request {
10612
- private _id;
10613
- constructor(request: LinearRequest, id: string);
11051
+ private _variables?;
11052
+ constructor(request: LinearRequest, variables?: L.Comment_DocumentContentQueryVariables);
10614
11053
  /**
10615
11054
  * Call the Comment_DocumentContent query and return a DocumentContent
10616
11055
  *
11056
+ * @param variables - variables to pass into the Comment_DocumentContentQuery
10617
11057
  * @returns parsed response from Comment_DocumentContentQuery
10618
11058
  */
10619
- fetch(): LinearFetch<DocumentContent | undefined>;
11059
+ fetch(variables?: L.Comment_DocumentContentQueryVariables): LinearFetch<DocumentContent | undefined>;
11060
+ }
11061
+ /**
11062
+ * A fetchable CustomView_Issues Query
11063
+ *
11064
+ * @param request - function to call the graphql client
11065
+ * @param id - required id to pass to customView
11066
+ * @param variables - variables without 'id' to pass into the CustomView_IssuesQuery
11067
+ */
11068
+ export declare class CustomView_IssuesQuery extends Request {
11069
+ private _id;
11070
+ private _variables?;
11071
+ constructor(request: LinearRequest, id: string, variables?: Omit<L.CustomView_IssuesQueryVariables, "id">);
11072
+ /**
11073
+ * Call the CustomView_Issues query and return a IssueConnection
11074
+ *
11075
+ * @param variables - variables without 'id' to pass into the CustomView_IssuesQuery
11076
+ * @returns parsed response from CustomView_IssuesQuery
11077
+ */
11078
+ fetch(variables?: Omit<L.CustomView_IssuesQueryVariables, "id">): LinearFetch<IssueConnection>;
10620
11079
  }
10621
11080
  /**
10622
11081
  * A fetchable Cycle_Issues Query
@@ -11281,6 +11740,25 @@ export declare class Project_TeamsQuery extends Request {
11281
11740
  */
11282
11741
  fetch(variables?: Omit<L.Project_TeamsQueryVariables, "id">): LinearFetch<TeamConnection>;
11283
11742
  }
11743
+ /**
11744
+ * A fetchable ProjectMilestone_Issues Query
11745
+ *
11746
+ * @param request - function to call the graphql client
11747
+ * @param id - required id to pass to projectMilestone
11748
+ * @param variables - variables without 'id' to pass into the ProjectMilestone_IssuesQuery
11749
+ */
11750
+ export declare class ProjectMilestone_IssuesQuery extends Request {
11751
+ private _id;
11752
+ private _variables?;
11753
+ constructor(request: LinearRequest, id: string, variables?: Omit<L.ProjectMilestone_IssuesQueryVariables, "id">);
11754
+ /**
11755
+ * Call the ProjectMilestone_Issues query and return a IssueConnection
11756
+ *
11757
+ * @param variables - variables without 'id' to pass into the ProjectMilestone_IssuesQuery
11758
+ * @returns parsed response from ProjectMilestone_IssuesQuery
11759
+ */
11760
+ fetch(variables?: Omit<L.ProjectMilestone_IssuesQueryVariables, "id">): LinearFetch<IssueConnection>;
11761
+ }
11284
11762
  /**
11285
11763
  * A fetchable Roadmap_Projects Query
11286
11764
  *
@@ -11358,42 +11836,42 @@ export declare class SearchProjects_ArchivePayloadQuery extends Request {
11358
11836
  fetch(variables?: Omit<L.SearchProjects_ArchivePayloadQueryVariables, "term">): LinearFetch<ArchiveResponse>;
11359
11837
  }
11360
11838
  /**
11361
- * A fetchable Team_AutomationStates Query
11839
+ * A fetchable Team_Cycles Query
11362
11840
  *
11363
11841
  * @param request - function to call the graphql client
11364
11842
  * @param id - required id to pass to team
11365
- * @param variables - variables without 'id' to pass into the Team_AutomationStatesQuery
11843
+ * @param variables - variables without 'id' to pass into the Team_CyclesQuery
11366
11844
  */
11367
- export declare class Team_AutomationStatesQuery extends Request {
11845
+ export declare class Team_CyclesQuery extends Request {
11368
11846
  private _id;
11369
11847
  private _variables?;
11370
- constructor(request: LinearRequest, id: string, variables?: Omit<L.Team_AutomationStatesQueryVariables, "id">);
11848
+ constructor(request: LinearRequest, id: string, variables?: Omit<L.Team_CyclesQueryVariables, "id">);
11371
11849
  /**
11372
- * Call the Team_AutomationStates query and return a GitAutomationStateConnection
11850
+ * Call the Team_Cycles query and return a CycleConnection
11373
11851
  *
11374
- * @param variables - variables without 'id' to pass into the Team_AutomationStatesQuery
11375
- * @returns parsed response from Team_AutomationStatesQuery
11852
+ * @param variables - variables without 'id' to pass into the Team_CyclesQuery
11853
+ * @returns parsed response from Team_CyclesQuery
11376
11854
  */
11377
- fetch(variables?: Omit<L.Team_AutomationStatesQueryVariables, "id">): LinearFetch<GitAutomationStateConnection>;
11855
+ fetch(variables?: Omit<L.Team_CyclesQueryVariables, "id">): LinearFetch<CycleConnection>;
11378
11856
  }
11379
11857
  /**
11380
- * A fetchable Team_Cycles Query
11858
+ * A fetchable Team_GitAutomationStates Query
11381
11859
  *
11382
11860
  * @param request - function to call the graphql client
11383
11861
  * @param id - required id to pass to team
11384
- * @param variables - variables without 'id' to pass into the Team_CyclesQuery
11862
+ * @param variables - variables without 'id' to pass into the Team_GitAutomationStatesQuery
11385
11863
  */
11386
- export declare class Team_CyclesQuery extends Request {
11864
+ export declare class Team_GitAutomationStatesQuery extends Request {
11387
11865
  private _id;
11388
11866
  private _variables?;
11389
- constructor(request: LinearRequest, id: string, variables?: Omit<L.Team_CyclesQueryVariables, "id">);
11867
+ constructor(request: LinearRequest, id: string, variables?: Omit<L.Team_GitAutomationStatesQueryVariables, "id">);
11390
11868
  /**
11391
- * Call the Team_Cycles query and return a CycleConnection
11869
+ * Call the Team_GitAutomationStates query and return a GitAutomationStateConnection
11392
11870
  *
11393
- * @param variables - variables without 'id' to pass into the Team_CyclesQuery
11394
- * @returns parsed response from Team_CyclesQuery
11871
+ * @param variables - variables without 'id' to pass into the Team_GitAutomationStatesQuery
11872
+ * @returns parsed response from Team_GitAutomationStatesQuery
11395
11873
  */
11396
- fetch(variables?: Omit<L.Team_CyclesQueryVariables, "id">): LinearFetch<CycleConnection>;
11874
+ fetch(variables?: Omit<L.Team_GitAutomationStatesQueryVariables, "id">): LinearFetch<GitAutomationStateConnection>;
11397
11875
  }
11398
11876
  /**
11399
11877
  * A fetchable Team_Issues Query
@@ -11807,10 +12285,10 @@ export declare class LinearSdk extends Request {
11807
12285
  /**
11808
12286
  * A specific comment.
11809
12287
  *
11810
- * @param id - required id to pass to comment
12288
+ * @param variables - variables to pass into the CommentQuery
11811
12289
  * @returns Comment
11812
12290
  */
11813
- comment(id: string): LinearFetch<Comment>;
12291
+ comment(variables?: L.CommentQueryVariables): LinearFetch<Comment>;
11814
12292
  /**
11815
12293
  * All comments.
11816
12294
  *
@@ -11888,6 +12366,20 @@ export declare class LinearSdk extends Request {
11888
12366
  * @returns EmojiConnection
11889
12367
  */
11890
12368
  emojis(variables?: L.EmojisQueryVariables): LinearFetch<EmojiConnection>;
12369
+ /**
12370
+ * One specific external user.
12371
+ *
12372
+ * @param id - required id to pass to externalUser
12373
+ * @returns ExternalUser
12374
+ */
12375
+ externalUser(id: string): LinearFetch<ExternalUser>;
12376
+ /**
12377
+ * All external users for the organization.
12378
+ *
12379
+ * @param variables - variables to pass into the ExternalUsersQuery
12380
+ * @returns ExternalUserConnection
12381
+ */
12382
+ externalUsers(variables?: L.ExternalUsersQueryVariables): LinearFetch<ExternalUserConnection>;
11891
12383
  /**
11892
12384
  * One specific favorite.
11893
12385
  *
@@ -11909,6 +12401,14 @@ export declare class LinearSdk extends Request {
11909
12401
  * @returns Integration
11910
12402
  */
11911
12403
  integration(id: string): LinearFetch<Integration>;
12404
+ /**
12405
+ * Checks if the integration has all required scopes.
12406
+ *
12407
+ * @param integrationId - required integrationId to pass to integrationHasScopes
12408
+ * @param scopes - required scopes to pass to integrationHasScopes
12409
+ * @returns IntegrationHasScopesPayload
12410
+ */
12411
+ integrationHasScopes(integrationId: string, scopes: string[]): LinearFetch<IntegrationHasScopesPayload>;
11912
12412
  /**
11913
12413
  * One specific integrationTemplate.
11914
12414
  *
@@ -12337,7 +12837,7 @@ export declare class LinearSdk extends Request {
12337
12837
  */
12338
12838
  workflowStates(variables?: L.WorkflowStatesQueryVariables): LinearFetch<WorkflowStateConnection>;
12339
12839
  /**
12340
- * Creates an integration api key for Airbyte to connect with Linear
12840
+ * Creates an integration api key for Airbyte to connect with Linear.
12341
12841
  *
12342
12842
  * @param input - required input to pass to airbyteIntegrationConnect
12343
12843
  * @returns IntegrationPayload
@@ -12592,7 +13092,7 @@ export declare class LinearSdk extends Request {
12592
13092
  */
12593
13093
  createCycle(input: L.CycleCreateInput): LinearFetch<CyclePayload>;
12594
13094
  /**
12595
- * Shifts all cycles starts by a certain number of weeks.
13095
+ * [DEPRECATED] Shifts all cycles starts by a certain number of weeks.
12596
13096
  *
12597
13097
  * @param input - required input to pass to cycleShiftAll
12598
13098
  * @returns CyclePayload
@@ -12628,6 +13128,35 @@ export declare class LinearSdk extends Request {
12628
13128
  * @returns DocumentPayload
12629
13129
  */
12630
13130
  updateDocument(id: string, input: L.DocumentUpdateInput): LinearFetch<DocumentPayload>;
13131
+ /**
13132
+ * Creates a new email intake address.
13133
+ *
13134
+ * @param input - required input to pass to createEmailIntakeAddress
13135
+ * @returns EmailIntakeAddressPayload
13136
+ */
13137
+ createEmailIntakeAddress(input: L.EmailIntakeAddressCreateInput): LinearFetch<EmailIntakeAddressPayload>;
13138
+ /**
13139
+ * Deletes an email intake address object.
13140
+ *
13141
+ * @param id - required id to pass to deleteEmailIntakeAddress
13142
+ * @returns DeletePayload
13143
+ */
13144
+ deleteEmailIntakeAddress(id: string): LinearFetch<DeletePayload>;
13145
+ /**
13146
+ * Rotates an existing email intake address.
13147
+ *
13148
+ * @param id - required id to pass to emailIntakeAddressRotate
13149
+ * @returns EmailIntakeAddressPayload
13150
+ */
13151
+ emailIntakeAddressRotate(id: string): LinearFetch<EmailIntakeAddressPayload>;
13152
+ /**
13153
+ * Updates an existing email intake address.
13154
+ *
13155
+ * @param id - required id to pass to updateEmailIntakeAddress
13156
+ * @param input - required input to pass to updateEmailIntakeAddress
13157
+ * @returns EmailIntakeAddressPayload
13158
+ */
13159
+ updateEmailIntakeAddress(id: string, input: L.EmailIntakeAddressUpdateInput): LinearFetch<EmailIntakeAddressPayload>;
12631
13160
  /**
12632
13161
  * Authenticates a user account via email and authentication token.
12633
13162
  *
@@ -12717,6 +13246,28 @@ export declare class LinearSdk extends Request {
12717
13246
  * @returns GitAutomationStatePayload
12718
13247
  */
12719
13248
  updateGitAutomationState(id: string, input: L.GitAutomationStateUpdateInput): LinearFetch<GitAutomationStatePayload>;
13249
+ /**
13250
+ * Creates a Git target branch automation.
13251
+ *
13252
+ * @param input - required input to pass to createGitAutomationTargetBranch
13253
+ * @returns GitAutomationTargetBranchPayload
13254
+ */
13255
+ createGitAutomationTargetBranch(input: L.GitAutomationTargetBranchCreateInput): LinearFetch<GitAutomationTargetBranchPayload>;
13256
+ /**
13257
+ * Archives a Git target branch automation.
13258
+ *
13259
+ * @param id - required id to pass to deleteGitAutomationTargetBranch
13260
+ * @returns DeletePayload
13261
+ */
13262
+ deleteGitAutomationTargetBranch(id: string): LinearFetch<DeletePayload>;
13263
+ /**
13264
+ * Updates an existing Git target branch automation.
13265
+ *
13266
+ * @param id - required id to pass to updateGitAutomationTargetBranch
13267
+ * @param input - required input to pass to updateGitAutomationTargetBranch
13268
+ * @returns GitAutomationTargetBranchPayload
13269
+ */
13270
+ updateGitAutomationTargetBranch(id: string, input: L.GitAutomationTargetBranchUpdateInput): LinearFetch<GitAutomationTargetBranchPayload>;
12720
13271
  /**
12721
13272
  * Authenticate user account through Google OAuth. This is the 2nd step of OAuth flow.
12722
13273
  *
@@ -12741,6 +13292,13 @@ export declare class LinearSdk extends Request {
12741
13292
  * @returns UploadPayload
12742
13293
  */
12743
13294
  importFileUpload(contentType: string, filename: string, size: number, variables?: Omit<L.ImportFileUploadMutationVariables, "contentType" | "filename" | "size">): LinearFetch<UploadPayload>;
13295
+ /**
13296
+ * Archives an integration.
13297
+ *
13298
+ * @param id - required id to pass to archiveIntegration
13299
+ * @returns DeletePayload
13300
+ */
13301
+ archiveIntegration(id: string): LinearFetch<DeletePayload>;
12744
13302
  /**
12745
13303
  * Connect a Slack channel to Asks.
12746
13304
  *
@@ -12876,7 +13434,7 @@ export declare class LinearSdk extends Request {
12876
13434
  */
12877
13435
  integrationSlack(code: string, redirectUri: string, variables?: Omit<L.IntegrationSlackMutationVariables, "code" | "redirectUri">): LinearFetch<IntegrationPayload>;
12878
13436
  /**
12879
- * Integrates the organization with the Slack Asks app
13437
+ * Integrates the organization with the Slack Asks app.
12880
13438
  *
12881
13439
  * @param code - required code to pass to integrationSlackAsks
12882
13440
  * @param redirectUri - required redirectUri to pass to integrationSlackAsks