@linear/sdk 19.3.0 → 20.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.
@@ -570,6 +570,19 @@ export declare class AuthOrganizationDomain extends Request {
570
570
  verified: boolean;
571
571
  authType: L.OrganizationDomainAuthType;
572
572
  }
573
+ /**
574
+ * AuthOrganizationExistsPayload model
575
+ *
576
+ * @param request - function to call the graphql client
577
+ * @param data - L.AuthOrganizationExistsPayloadFragment response data
578
+ */
579
+ export declare class AuthOrganizationExistsPayload extends Request {
580
+ constructor(request: LinearRequest, data: L.AuthOrganizationExistsPayloadFragment);
581
+ /** Whether the organization exists. */
582
+ exists: boolean;
583
+ /** Whether the operation was successful. */
584
+ success: boolean;
585
+ }
573
586
  /**
574
587
  * An invitation to the organization that has been sent via email.
575
588
  *
@@ -583,6 +596,19 @@ export declare class AuthOrganizationInvite extends Request {
583
596
  /** The unique identifier of the entity. */
584
597
  id: string;
585
598
  }
599
+ /**
600
+ * AuthOrganizationPayload model
601
+ *
602
+ * @param request - function to call the graphql client
603
+ * @param data - L.AuthOrganizationPayloadFragment response data
604
+ */
605
+ export declare class AuthOrganizationPayload extends Request {
606
+ constructor(request: LinearRequest, data: L.AuthOrganizationPayloadFragment);
607
+ /** Whether the operation was successful. */
608
+ success: boolean;
609
+ /** The auth organization that was updated. */
610
+ authOrganization: AuthOrganization;
611
+ }
586
612
  /**
587
613
  * AuthResolverResponse model
588
614
  *
@@ -672,6 +698,8 @@ export declare class AuthenticationSession extends Request {
672
698
  locationCountry?: string;
673
699
  /** Location country code. */
674
700
  locationCountryCode?: string;
701
+ /** Location region code. */
702
+ locationRegionCode?: string;
675
703
  /** Name of the session, derived from the client and operating system */
676
704
  name: string;
677
705
  /** Operating system used for the session */
@@ -714,6 +742,8 @@ export declare class AuthenticationSessionResponse extends Request {
714
742
  locationCountry?: string;
715
743
  /** Location country code. */
716
744
  locationCountryCode?: string;
745
+ /** Location region code. */
746
+ locationRegionCode?: string;
717
747
  /** Name of the session, derived from the client and operating system */
718
748
  name: string;
719
749
  /** Operating system used for the session */
@@ -957,6 +987,12 @@ export declare class CustomView extends Request {
957
987
  * been updated after creation.
958
988
  */
959
989
  updatedAt: Date;
990
+ /** The organizations default view preferences for this custom view. */
991
+ organizationViewPreferences?: ViewPreferences;
992
+ /** The current users view preferences for this custom view. */
993
+ userViewPreferences?: ViewPreferences;
994
+ /** The calculated view preferences values for this custom view. */
995
+ viewPreferencesValues?: ViewPreferencesValues;
960
996
  /** The user who created the custom view. */
961
997
  get creator(): LinearFetch<User> | undefined;
962
998
  /** The organization of the custom view. */
@@ -1246,7 +1282,7 @@ export declare class DeletePayload extends Request {
1246
1282
  success: boolean;
1247
1283
  }
1248
1284
  /**
1249
- * A document for a project.
1285
+ * A document that can be attached to different entities.
1250
1286
  *
1251
1287
  * @param request - function to call the graphql client
1252
1288
  * @param data - L.DocumentFragment response data
@@ -1254,7 +1290,7 @@ export declare class DeletePayload extends Request {
1254
1290
  export declare class Document extends Request {
1255
1291
  private _creator;
1256
1292
  private _lastAppliedTemplate?;
1257
- private _project;
1293
+ private _project?;
1258
1294
  private _updatedBy;
1259
1295
  constructor(request: LinearRequest, data: L.DocumentFragment);
1260
1296
  /** The time at which the entity was archived. Null if the entity has not been archived. */
@@ -1273,7 +1309,7 @@ export declare class Document extends Request {
1273
1309
  id: string;
1274
1310
  /** The document's unique URL slug. */
1275
1311
  slugId: string;
1276
- /** The order of the item in the project resources list. */
1312
+ /** The order of the item in the resources list. */
1277
1313
  sortOrder: number;
1278
1314
  /** The document title. */
1279
1315
  title: string;
@@ -1283,6 +1319,8 @@ export declare class Document extends Request {
1283
1319
  * been updated after creation.
1284
1320
  */
1285
1321
  updatedAt: Date;
1322
+ /** The canonical url for the document. */
1323
+ url: string;
1286
1324
  /** The user who created the document. */
1287
1325
  get creator(): LinearFetch<User> | undefined;
1288
1326
  /** The last template that was applied to this document. */
@@ -1404,6 +1442,51 @@ export declare class DocumentContentHistoryType extends Request {
1404
1442
  /** The UUID of the document content history entry. */
1405
1443
  id: string;
1406
1444
  }
1445
+ /**
1446
+ * A document related notification.
1447
+ *
1448
+ * @param request - function to call the graphql client
1449
+ * @param data - L.DocumentNotificationFragment response data
1450
+ */
1451
+ export declare class DocumentNotification extends Request {
1452
+ private _actor?;
1453
+ private _externalUserActor?;
1454
+ private _user;
1455
+ constructor(request: LinearRequest, data: L.DocumentNotificationFragment);
1456
+ /** The time at which the entity was archived. Null if the entity has not been archived. */
1457
+ archivedAt?: Date;
1458
+ /** The time at which the entity was created. */
1459
+ createdAt: Date;
1460
+ /**
1461
+ * The time at when an email reminder for this notification was sent to the user. Null, if no email
1462
+ * reminder has been sent.
1463
+ */
1464
+ emailedAt?: Date;
1465
+ /** The unique identifier of the entity. */
1466
+ id: string;
1467
+ /** The time at when the user marked the notification as read. Null, if the the user hasn't read the notification */
1468
+ readAt?: Date;
1469
+ /** The time until a notification will be snoozed. After that it will appear in the inbox again. */
1470
+ snoozedUntilAt?: Date;
1471
+ /** Notification type. */
1472
+ type: string;
1473
+ /** The time at which a notification was unsnoozed.. */
1474
+ unsnoozedAt?: Date;
1475
+ /**
1476
+ * The last time at which the entity was meaningfully updated, i.e. for all changes of syncable properties except those
1477
+ * 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
1478
+ * been updated after creation.
1479
+ */
1480
+ updatedAt: Date;
1481
+ /** The bot that caused the notification. */
1482
+ botActor?: ActorBot;
1483
+ /** The user that caused the notification. */
1484
+ get actor(): LinearFetch<User> | undefined;
1485
+ /** The external user that caused the notification. */
1486
+ get externalUserActor(): LinearFetch<ExternalUser> | undefined;
1487
+ /** The user that received the notification. */
1488
+ get user(): LinearFetch<User> | undefined;
1489
+ }
1407
1490
  /**
1408
1491
  * DocumentPayload model
1409
1492
  *
@@ -1444,7 +1527,7 @@ export declare class DocumentSearchPayload extends Request {
1444
1527
  export declare class DocumentSearchResult extends Request {
1445
1528
  private _creator;
1446
1529
  private _lastAppliedTemplate?;
1447
- private _project;
1530
+ private _project?;
1448
1531
  private _updatedBy;
1449
1532
  constructor(request: LinearRequest, data: L.DocumentSearchResultFragment);
1450
1533
  /** The time at which the entity was archived. Null if the entity has not been archived. */
@@ -1465,7 +1548,7 @@ export declare class DocumentSearchResult extends Request {
1465
1548
  metadata: L.Scalars["JSONObject"];
1466
1549
  /** The document's unique URL slug. */
1467
1550
  slugId: string;
1468
- /** The order of the item in the project resources list. */
1551
+ /** The order of the item in the resources list. */
1469
1552
  sortOrder: number;
1470
1553
  /** The document title. */
1471
1554
  title: string;
@@ -1475,6 +1558,8 @@ export declare class DocumentSearchResult extends Request {
1475
1558
  * been updated after creation.
1476
1559
  */
1477
1560
  updatedAt: Date;
1561
+ /** The canonical url for the document. */
1562
+ url: string;
1478
1563
  /** The user who created the document. */
1479
1564
  get creator(): LinearFetch<User> | undefined;
1480
1565
  /** The last template that was applied to this document. */
@@ -1658,6 +1743,68 @@ export declare class Entity extends Request {
1658
1743
  */
1659
1744
  updatedAt: Date;
1660
1745
  }
1746
+ /**
1747
+ * An external link for an entity like initiative, etc...
1748
+ *
1749
+ * @param request - function to call the graphql client
1750
+ * @param data - L.EntityExternalLinkFragment response data
1751
+ */
1752
+ export declare class EntityExternalLink extends Request {
1753
+ private _creator;
1754
+ constructor(request: LinearRequest, data: L.EntityExternalLinkFragment);
1755
+ /** The time at which the entity was archived. Null if the entity has not been archived. */
1756
+ archivedAt?: Date;
1757
+ /** The time at which the entity was created. */
1758
+ createdAt: Date;
1759
+ /** The unique identifier of the entity. */
1760
+ id: string;
1761
+ /** The link's label. */
1762
+ label: string;
1763
+ /** The order of the item in the resources list. */
1764
+ sortOrder: number;
1765
+ /**
1766
+ * The last time at which the entity was meaningfully updated, i.e. for all changes of syncable properties except those
1767
+ * 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
1768
+ * been updated after creation.
1769
+ */
1770
+ updatedAt: Date;
1771
+ /** The link's URL. */
1772
+ url: string;
1773
+ /** The user who created the link. */
1774
+ get creator(): LinearFetch<User> | undefined;
1775
+ /** Creates a new entity link. */
1776
+ create(input: L.EntityExternalLinkCreateInput): LinearFetch<EntityExternalLinkPayload>;
1777
+ /** Deletes an entity link. */
1778
+ delete(): LinearFetch<DeletePayload>;
1779
+ /** Updates an entity link. */
1780
+ update(input: L.EntityExternalLinkUpdateInput): LinearFetch<EntityExternalLinkPayload>;
1781
+ }
1782
+ /**
1783
+ * EntityExternalLinkConnection model
1784
+ *
1785
+ * @param request - function to call the graphql client
1786
+ * @param fetch - function to trigger a refetch of this EntityExternalLinkConnection model
1787
+ * @param data - EntityExternalLinkConnection response data
1788
+ */
1789
+ export declare class EntityExternalLinkConnection extends Connection<EntityExternalLink> {
1790
+ constructor(request: LinearRequest, fetch: (connection?: LinearConnectionVariables) => LinearFetch<LinearConnection<EntityExternalLink> | undefined>, data: L.EntityExternalLinkConnectionFragment);
1791
+ }
1792
+ /**
1793
+ * EntityExternalLinkPayload model
1794
+ *
1795
+ * @param request - function to call the graphql client
1796
+ * @param data - L.EntityExternalLinkPayloadFragment response data
1797
+ */
1798
+ export declare class EntityExternalLinkPayload extends Request {
1799
+ private _entityExternalLink;
1800
+ constructor(request: LinearRequest, data: L.EntityExternalLinkPayloadFragment);
1801
+ /** The identifier of the last sync operation. */
1802
+ lastSyncId: number;
1803
+ /** Whether the operation was successful. */
1804
+ success: boolean;
1805
+ /** The link that was created or updated. */
1806
+ get entityExternalLink(): LinearFetch<EntityExternalLink> | undefined;
1807
+ }
1661
1808
  /**
1662
1809
  * 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.
1663
1810
  *
@@ -2431,6 +2578,10 @@ export declare class Issue extends Request {
2431
2578
  priority: number;
2432
2579
  /** Label for the priority. */
2433
2580
  priorityLabel: string;
2581
+ /** The time at which the issue's SLA will breach. */
2582
+ slaBreachesAt?: Date;
2583
+ /** The time at which the issue's SLA began. */
2584
+ slaStartedAt?: Date;
2434
2585
  /** The time until an issue will be snoozed in Triage view. */
2435
2586
  snoozedUntilAt?: Date;
2436
2587
  /** The order of the item in relation to other items in the organization. */
@@ -2664,6 +2815,7 @@ export declare class IssueHistory extends Request {
2664
2815
  /** Changed issue relationships. */
2665
2816
  relationChanges?: IssueRelationHistoryPayload[];
2666
2817
  removedLabels?: IssueLabel[];
2818
+ triageResponsibilityNotifiedUsers?: User[];
2667
2819
  /** The bot that performed the action. */
2668
2820
  botActor?: ActorBot;
2669
2821
  /** The import record. */
@@ -2842,7 +2994,7 @@ export declare class IssueLabel extends Request {
2842
2994
  /** Deletes an issue label. */
2843
2995
  delete(): LinearFetch<DeletePayload>;
2844
2996
  /** Updates an label. */
2845
- update(input: L.IssueLabelUpdateInput): LinearFetch<IssueLabelPayload>;
2997
+ update(input: L.IssueLabelUpdateInput, variables?: Omit<L.UpdateIssueLabelMutationVariables, "id" | "input">): LinearFetch<IssueLabelPayload>;
2846
2998
  }
2847
2999
  /**
2848
3000
  * IssueLabelConnection model
@@ -3107,6 +3259,10 @@ export declare class IssueSearchResult extends Request {
3107
3259
  priority: number;
3108
3260
  /** Label for the priority. */
3109
3261
  priorityLabel: string;
3262
+ /** The time at which the issue's SLA will breach. */
3263
+ slaBreachesAt?: Date;
3264
+ /** The time at which the issue's SLA began. */
3265
+ slaStartedAt?: Date;
3110
3266
  /** The time until an issue will be snoozed in Triage view. */
3111
3267
  snoozedUntilAt?: Date;
3112
3268
  /** The order of the item in relation to other items in the organization. */
@@ -3388,8 +3544,8 @@ export declare class NotificationBatchActionPayload extends Request {
3388
3544
  * @param fetch - function to trigger a refetch of this NotificationConnection model
3389
3545
  * @param data - NotificationConnection response data
3390
3546
  */
3391
- export declare class NotificationConnection extends Connection<IssueNotification | OauthClientApprovalNotification | ProjectNotification | Notification> {
3392
- constructor(request: LinearRequest, fetch: (connection?: LinearConnectionVariables) => LinearFetch<LinearConnection<IssueNotification | OauthClientApprovalNotification | ProjectNotification | Notification> | undefined>, data: L.NotificationConnectionFragment);
3547
+ export declare class NotificationConnection extends Connection<DocumentNotification | IssueNotification | OauthClientApprovalNotification | ProjectNotification | Notification> {
3548
+ constructor(request: LinearRequest, fetch: (connection?: LinearConnectionVariables) => LinearFetch<LinearConnection<DocumentNotification | IssueNotification | OauthClientApprovalNotification | ProjectNotification | Notification> | undefined>, data: L.NotificationConnectionFragment);
3393
3549
  }
3394
3550
  /**
3395
3551
  * NotificationPayload model
@@ -3648,6 +3804,8 @@ export declare class OauthToken extends Request {
3648
3804
  createdAt: Date;
3649
3805
  id: number;
3650
3806
  revokedAt?: Date;
3807
+ /** Scopes associated with the access token. */
3808
+ scope: string[];
3651
3809
  /** Id of the user who authorized the OAuth application. */
3652
3810
  userId: string;
3653
3811
  /** OAuth2 client for which the access token belongs to. */
@@ -3724,6 +3882,8 @@ export declare class Organization extends Request {
3724
3882
  urlKey: string;
3725
3883
  /** Number of active users in the organization. */
3726
3884
  userCount: number;
3885
+ /** The organization's project statuses. */
3886
+ projectStatuses: ProjectStatus[];
3727
3887
  /** The organization's subscription to a paid plan. */
3728
3888
  subscription?: PaidSubscription;
3729
3889
  /** The day at which to prompt for project updates. */
@@ -4145,6 +4305,8 @@ export declare class Project extends Request {
4145
4305
  updatedAt: Date;
4146
4306
  /** Project URL. */
4147
4307
  url: string;
4308
+ /** The status that the project is associated with. */
4309
+ status: ProjectStatus;
4148
4310
  /** The project was created based on this issue. */
4149
4311
  get convertedFromIssue(): LinearFetch<Issue> | undefined;
4150
4312
  /** The user who created the project. */
@@ -4467,6 +4629,71 @@ export declare class ProjectPayload extends Request {
4467
4629
  /** The project that was created or updated. */
4468
4630
  get project(): LinearFetch<Project> | undefined;
4469
4631
  }
4632
+ /**
4633
+ * A relation between two projects.
4634
+ *
4635
+ * @param request - function to call the graphql client
4636
+ * @param data - L.ProjectRelationFragment response data
4637
+ */
4638
+ export declare class ProjectRelation extends Request {
4639
+ private _project;
4640
+ private _projectMilestone?;
4641
+ private _relatedProject;
4642
+ private _relatedProjectMilestone?;
4643
+ constructor(request: LinearRequest, data: L.ProjectRelationFragment);
4644
+ /** The type of anchor on the project end of the relation. */
4645
+ anchorType: string;
4646
+ /** The time at which the entity was archived. Null if the entity has not been archived. */
4647
+ archivedAt?: Date;
4648
+ /** The time at which the entity was created. */
4649
+ createdAt: Date;
4650
+ /** The unique identifier of the entity. */
4651
+ id: string;
4652
+ /** The type of anchor on the relatedProject end of the relation. */
4653
+ relatedAnchorType: string;
4654
+ /** The relationship of the project with the related project. */
4655
+ type: string;
4656
+ /**
4657
+ * The last time at which the entity was meaningfully updated, i.e. for all changes of syncable properties except those
4658
+ * 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
4659
+ * been updated after creation.
4660
+ */
4661
+ updatedAt: Date;
4662
+ /** The project whose relationship is being described. */
4663
+ get project(): LinearFetch<Project> | undefined;
4664
+ /** The milestone within the project whose relationship is being described. */
4665
+ get projectMilestone(): LinearFetch<ProjectMilestone> | undefined;
4666
+ /** The related project. */
4667
+ get relatedProject(): LinearFetch<Project> | undefined;
4668
+ /** The milestone within the related project whose relationship is being described. */
4669
+ get relatedProjectMilestone(): LinearFetch<ProjectMilestone> | undefined;
4670
+ }
4671
+ /**
4672
+ * ProjectRelationConnection model
4673
+ *
4674
+ * @param request - function to call the graphql client
4675
+ * @param fetch - function to trigger a refetch of this ProjectRelationConnection model
4676
+ * @param data - ProjectRelationConnection response data
4677
+ */
4678
+ export declare class ProjectRelationConnection extends Connection<ProjectRelation> {
4679
+ constructor(request: LinearRequest, fetch: (connection?: LinearConnectionVariables) => LinearFetch<LinearConnection<ProjectRelation> | undefined>, data: L.ProjectRelationConnectionFragment);
4680
+ }
4681
+ /**
4682
+ * ProjectRelationPayload model
4683
+ *
4684
+ * @param request - function to call the graphql client
4685
+ * @param data - L.ProjectRelationPayloadFragment response data
4686
+ */
4687
+ export declare class ProjectRelationPayload extends Request {
4688
+ private _projectRelation;
4689
+ constructor(request: LinearRequest, data: L.ProjectRelationPayloadFragment);
4690
+ /** The identifier of the last sync operation. */
4691
+ lastSyncId: number;
4692
+ /** Whether the operation was successful. */
4693
+ success: boolean;
4694
+ /** The project relation that was created or updated. */
4695
+ get projectRelation(): LinearFetch<ProjectRelation> | undefined;
4696
+ }
4470
4697
  /**
4471
4698
  * ProjectSearchPayload model
4472
4699
  *
@@ -4564,6 +4791,8 @@ export declare class ProjectSearchResult extends Request {
4564
4791
  updatedAt: Date;
4565
4792
  /** Project URL. */
4566
4793
  url: string;
4794
+ /** The status that the project is associated with. */
4795
+ status: ProjectStatus;
4567
4796
  /** The project was created based on this issue. */
4568
4797
  get convertedFromIssue(): LinearFetch<Issue> | undefined;
4569
4798
  /** The user who created the project. */
@@ -4587,6 +4816,49 @@ export declare class ProjectSearchResult extends Request {
4587
4816
  export declare class ProjectSearchResultConnection extends Connection<ProjectSearchResult> {
4588
4817
  constructor(request: LinearRequest, fetch: (connection?: LinearConnectionVariables) => LinearFetch<LinearConnection<ProjectSearchResult> | undefined>, data: L.ProjectSearchResultConnectionFragment);
4589
4818
  }
4819
+ /**
4820
+ * A project status.
4821
+ *
4822
+ * @param request - function to call the graphql client
4823
+ * @param data - L.ProjectStatusFragment response data
4824
+ */
4825
+ export declare class ProjectStatus extends Request {
4826
+ constructor(request: LinearRequest, data: L.ProjectStatusFragment);
4827
+ /** The time at which the entity was archived. Null if the entity has not been archived. */
4828
+ archivedAt?: Date;
4829
+ /** The UI color of the status as a HEX string. */
4830
+ color: string;
4831
+ /** The time at which the entity was created. */
4832
+ createdAt: Date;
4833
+ /** Description of the status. */
4834
+ description?: string;
4835
+ /** The unique identifier of the entity. */
4836
+ id: string;
4837
+ /** Whether or not a project can be in this status indefinitely. */
4838
+ indefinite: boolean;
4839
+ /** The name of the status. */
4840
+ name: string;
4841
+ /** The position of the status in the workspace's project flow. */
4842
+ position: number;
4843
+ /**
4844
+ * The last time at which the entity was meaningfully updated, i.e. for all changes of syncable properties except those
4845
+ * 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
4846
+ * been updated after creation.
4847
+ */
4848
+ updatedAt: Date;
4849
+ /** The type of the project status. */
4850
+ type: L.ProjectStatusType;
4851
+ }
4852
+ /**
4853
+ * ProjectStatusConnection model
4854
+ *
4855
+ * @param request - function to call the graphql client
4856
+ * @param fetch - function to trigger a refetch of this ProjectStatusConnection model
4857
+ * @param data - ProjectStatusConnection response data
4858
+ */
4859
+ export declare class ProjectStatusConnection extends Connection<ProjectStatus> {
4860
+ constructor(request: LinearRequest, fetch: (connection?: LinearConnectionVariables) => LinearFetch<LinearConnection<ProjectStatus> | undefined>, data: L.ProjectStatusConnectionFragment);
4861
+ }
4590
4862
  /**
4591
4863
  * A update associated with an project.
4592
4864
  *
@@ -4613,6 +4885,8 @@ export declare class ProjectUpdate extends Request {
4613
4885
  id: string;
4614
4886
  /** Whether project update diff should be hidden. */
4615
4887
  isDiffHidden: boolean;
4888
+ /** Emoji reaction summary, grouped by emoji type. */
4889
+ reactionData: L.Scalars["JSONObject"];
4616
4890
  /**
4617
4891
  * The last time at which the entity was meaningfully updated, i.e. for all changes of syncable properties except those
4618
4892
  * 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
@@ -4627,6 +4901,8 @@ export declare class ProjectUpdate extends Request {
4627
4901
  get project(): LinearFetch<Project> | undefined;
4628
4902
  /** The user who wrote the update. */
4629
4903
  get user(): LinearFetch<User> | undefined;
4904
+ /** Comments associated with the project update. */
4905
+ comments(variables?: Omit<L.ProjectUpdate_CommentsQueryVariables, "id">): LinearFetch<CommentConnection>;
4630
4906
  /** Creates a new project update. */
4631
4907
  create(input: L.ProjectUpdateCreateInput): LinearFetch<ProjectUpdatePayload>;
4632
4908
  /** Deletes a project update. */
@@ -4940,6 +5216,8 @@ export declare class Roadmap extends Request {
4940
5216
  * been updated after creation.
4941
5217
  */
4942
5218
  updatedAt: Date;
5219
+ /** The canonical url for the roadmap. */
5220
+ url: string;
4943
5221
  /** The user who created the roadmap. */
4944
5222
  get creator(): LinearFetch<User> | undefined;
4945
5223
  /** The organization of the roadmap. */
@@ -5162,7 +5440,7 @@ export declare class SlackChannelNameMapping extends Request {
5162
5440
  autoCreateOnMessage?: boolean;
5163
5441
  /** The optional template ID to use for Asks auto-created in this channel. If not set, auto-created Asks won't use any template. */
5164
5442
  autoCreateTemplateId?: string;
5165
- /** Whether or not we the Linear Asks bot has been added to this Slack channel. */
5443
+ /** Whether or not the Linear Asks bot has been added to this Slack channel. */
5166
5444
  botAdded?: boolean;
5167
5445
  /** The Slack channel ID. */
5168
5446
  id: string;
@@ -5172,6 +5450,8 @@ export declare class SlackChannelNameMapping extends Request {
5172
5450
  isShared?: boolean;
5173
5451
  /** The Slack channel name. */
5174
5452
  name: string;
5453
+ /** Whether or not synced Slack threads should be updated with a message and emoji when their Ask is canceled. */
5454
+ postCancellationUpdates?: boolean;
5175
5455
  /** Which teams are connected to the channel and settings for those teams. */
5176
5456
  teams: SlackAsksTeamSettings[];
5177
5457
  }
@@ -5327,6 +5607,8 @@ export declare class Team extends Request {
5327
5607
  private: boolean;
5328
5608
  /** Whether an issue needs to have a priority set before leaving triage. */
5329
5609
  requirePriorityToLeaveTriage: boolean;
5610
+ /** Whether the team is managed by SCIM. */
5611
+ scimManaged: boolean;
5330
5612
  /** Where to move issues when changing state. */
5331
5613
  setIssueSortOrderOnStateChange: string;
5332
5614
  /** Whether to send new issue comment notifications to Slack. */
@@ -6167,6 +6449,8 @@ export declare class ViewPreferences extends Request {
6167
6449
  updatedAt: Date;
6168
6450
  /** The view type. */
6169
6451
  viewType: string;
6452
+ /** The view preferences */
6453
+ preferences: ViewPreferencesValues;
6170
6454
  /** Creates a new ViewPreferences object. */
6171
6455
  create(input: L.ViewPreferencesCreateInput): LinearFetch<ViewPreferencesPayload>;
6172
6456
  /** Deletes a ViewPreferences. */
@@ -6189,6 +6473,21 @@ export declare class ViewPreferencesPayload extends Request {
6189
6473
  /** The view preferences entity being mutated. */
6190
6474
  viewPreferences: ViewPreferences;
6191
6475
  }
6476
+ /**
6477
+ * ViewPreferencesValues model
6478
+ *
6479
+ * @param request - function to call the graphql client
6480
+ * @param data - L.ViewPreferencesValuesFragment response data
6481
+ */
6482
+ export declare class ViewPreferencesValues extends Request {
6483
+ constructor(request: LinearRequest, data: L.ViewPreferencesValuesFragment);
6484
+ /** The issue grouping. */
6485
+ issueGrouping?: string;
6486
+ /** Whether to show completed issues. */
6487
+ showCompletedIssues?: string;
6488
+ /** The issue ordering. */
6489
+ viewOrdering?: string;
6490
+ }
6192
6491
  /**
6193
6492
  * A webhook used to send HTTP notifications over data updates.
6194
6493
  *
@@ -6852,6 +7151,21 @@ export declare class EmojisQuery extends Request {
6852
7151
  */
6853
7152
  fetch(variables?: L.EmojisQueryVariables): LinearFetch<EmojiConnection>;
6854
7153
  }
7154
+ /**
7155
+ * A fetchable EntityExternalLink Query
7156
+ *
7157
+ * @param request - function to call the graphql client
7158
+ */
7159
+ export declare class EntityExternalLinkQuery extends Request {
7160
+ constructor(request: LinearRequest);
7161
+ /**
7162
+ * Call the EntityExternalLink query and return a EntityExternalLink
7163
+ *
7164
+ * @param id - required id to pass to entityExternalLink
7165
+ * @returns parsed response from EntityExternalLinkQuery
7166
+ */
7167
+ fetch(id: string): LinearFetch<EntityExternalLink>;
7168
+ }
6855
7169
  /**
6856
7170
  * A fetchable ExternalUser Query
6857
7171
  *
@@ -7213,7 +7527,7 @@ export declare class NotificationQuery extends Request {
7213
7527
  * @param id - required id to pass to notification
7214
7528
  * @returns parsed response from NotificationQuery
7215
7529
  */
7216
- fetch(id: string): LinearFetch<IssueNotification | OauthClientApprovalNotification | ProjectNotification | Notification>;
7530
+ fetch(id: string): LinearFetch<DocumentNotification | IssueNotification | OauthClientApprovalNotification | ProjectNotification | Notification>;
7217
7531
  }
7218
7532
  /**
7219
7533
  * A fetchable NotificationSubscription Query
@@ -7409,6 +7723,36 @@ export declare class ProjectMilestonesQuery extends Request {
7409
7723
  */
7410
7724
  fetch(variables?: L.ProjectMilestonesQueryVariables): LinearFetch<ProjectMilestoneConnection>;
7411
7725
  }
7726
+ /**
7727
+ * A fetchable ProjectRelation Query
7728
+ *
7729
+ * @param request - function to call the graphql client
7730
+ */
7731
+ export declare class ProjectRelationQuery extends Request {
7732
+ constructor(request: LinearRequest);
7733
+ /**
7734
+ * Call the ProjectRelation query and return a ProjectRelation
7735
+ *
7736
+ * @param id - required id to pass to projectRelation
7737
+ * @returns parsed response from ProjectRelationQuery
7738
+ */
7739
+ fetch(id: string): LinearFetch<ProjectRelation>;
7740
+ }
7741
+ /**
7742
+ * A fetchable ProjectRelations Query
7743
+ *
7744
+ * @param request - function to call the graphql client
7745
+ */
7746
+ export declare class ProjectRelationsQuery extends Request {
7747
+ constructor(request: LinearRequest);
7748
+ /**
7749
+ * Call the ProjectRelations query and return a ProjectRelationConnection
7750
+ *
7751
+ * @param variables - variables to pass into the ProjectRelationsQuery
7752
+ * @returns parsed response from ProjectRelationsQuery
7753
+ */
7754
+ fetch(variables?: L.ProjectRelationsQueryVariables): LinearFetch<ProjectRelationConnection>;
7755
+ }
7412
7756
  /**
7413
7757
  * A fetchable ProjectUpdate Query
7414
7758
  *
@@ -8566,6 +8910,52 @@ export declare class DeleteEmojiMutation extends Request {
8566
8910
  */
8567
8911
  fetch(id: string): LinearFetch<DeletePayload>;
8568
8912
  }
8913
+ /**
8914
+ * A fetchable CreateEntityExternalLink Mutation
8915
+ *
8916
+ * @param request - function to call the graphql client
8917
+ */
8918
+ export declare class CreateEntityExternalLinkMutation extends Request {
8919
+ constructor(request: LinearRequest);
8920
+ /**
8921
+ * Call the CreateEntityExternalLink mutation and return a EntityExternalLinkPayload
8922
+ *
8923
+ * @param input - required input to pass to createEntityExternalLink
8924
+ * @returns parsed response from CreateEntityExternalLinkMutation
8925
+ */
8926
+ fetch(input: L.EntityExternalLinkCreateInput): LinearFetch<EntityExternalLinkPayload>;
8927
+ }
8928
+ /**
8929
+ * A fetchable DeleteEntityExternalLink Mutation
8930
+ *
8931
+ * @param request - function to call the graphql client
8932
+ */
8933
+ export declare class DeleteEntityExternalLinkMutation extends Request {
8934
+ constructor(request: LinearRequest);
8935
+ /**
8936
+ * Call the DeleteEntityExternalLink mutation and return a DeletePayload
8937
+ *
8938
+ * @param id - required id to pass to deleteEntityExternalLink
8939
+ * @returns parsed response from DeleteEntityExternalLinkMutation
8940
+ */
8941
+ fetch(id: string): LinearFetch<DeletePayload>;
8942
+ }
8943
+ /**
8944
+ * A fetchable UpdateEntityExternalLink Mutation
8945
+ *
8946
+ * @param request - function to call the graphql client
8947
+ */
8948
+ export declare class UpdateEntityExternalLinkMutation extends Request {
8949
+ constructor(request: LinearRequest);
8950
+ /**
8951
+ * Call the UpdateEntityExternalLink mutation and return a EntityExternalLinkPayload
8952
+ *
8953
+ * @param id - required id to pass to updateEntityExternalLink
8954
+ * @param input - required input to pass to updateEntityExternalLink
8955
+ * @returns parsed response from UpdateEntityExternalLinkMutation
8956
+ */
8957
+ fetch(id: string, input: L.EntityExternalLinkUpdateInput): LinearFetch<EntityExternalLinkPayload>;
8958
+ }
8569
8959
  /**
8570
8960
  * A fetchable CreateFavorite Mutation
8571
8961
  *
@@ -9513,9 +9903,10 @@ export declare class UpdateIssueLabelMutation extends Request {
9513
9903
  *
9514
9904
  * @param id - required id to pass to updateIssueLabel
9515
9905
  * @param input - required input to pass to updateIssueLabel
9906
+ * @param variables - variables without 'id', 'input' to pass into the UpdateIssueLabelMutation
9516
9907
  * @returns parsed response from UpdateIssueLabelMutation
9517
9908
  */
9518
- fetch(id: string, input: L.IssueLabelUpdateInput): LinearFetch<IssueLabelPayload>;
9909
+ fetch(id: string, input: L.IssueLabelUpdateInput, variables?: Omit<L.UpdateIssueLabelMutationVariables, "id" | "input">): LinearFetch<IssueLabelPayload>;
9519
9910
  }
9520
9911
  /**
9521
9912
  * A fetchable CreateIssueRelation Mutation
@@ -11280,6 +11671,86 @@ export declare class CustomView_IssuesQuery extends Request {
11280
11671
  */
11281
11672
  fetch(variables?: Omit<L.CustomView_IssuesQueryVariables, "id">): LinearFetch<IssueConnection>;
11282
11673
  }
11674
+ /**
11675
+ * A fetchable CustomView_OrganizationViewPreferences Query
11676
+ *
11677
+ * @param request - function to call the graphql client
11678
+ * @param id - required id to pass to customView
11679
+ */
11680
+ export declare class CustomView_OrganizationViewPreferencesQuery extends Request {
11681
+ private _id;
11682
+ constructor(request: LinearRequest, id: string);
11683
+ /**
11684
+ * Call the CustomView_OrganizationViewPreferences query and return a ViewPreferences
11685
+ *
11686
+ * @returns parsed response from CustomView_OrganizationViewPreferencesQuery
11687
+ */
11688
+ fetch(): LinearFetch<ViewPreferences | undefined>;
11689
+ }
11690
+ /**
11691
+ * A fetchable CustomView_UserViewPreferences Query
11692
+ *
11693
+ * @param request - function to call the graphql client
11694
+ * @param id - required id to pass to customView
11695
+ */
11696
+ export declare class CustomView_UserViewPreferencesQuery extends Request {
11697
+ private _id;
11698
+ constructor(request: LinearRequest, id: string);
11699
+ /**
11700
+ * Call the CustomView_UserViewPreferences query and return a ViewPreferences
11701
+ *
11702
+ * @returns parsed response from CustomView_UserViewPreferencesQuery
11703
+ */
11704
+ fetch(): LinearFetch<ViewPreferences | undefined>;
11705
+ }
11706
+ /**
11707
+ * A fetchable CustomView_ViewPreferencesValues Query
11708
+ *
11709
+ * @param request - function to call the graphql client
11710
+ * @param id - required id to pass to customView
11711
+ */
11712
+ export declare class CustomView_ViewPreferencesValuesQuery extends Request {
11713
+ private _id;
11714
+ constructor(request: LinearRequest, id: string);
11715
+ /**
11716
+ * Call the CustomView_ViewPreferencesValues query and return a ViewPreferencesValues
11717
+ *
11718
+ * @returns parsed response from CustomView_ViewPreferencesValuesQuery
11719
+ */
11720
+ fetch(): LinearFetch<ViewPreferencesValues | undefined>;
11721
+ }
11722
+ /**
11723
+ * A fetchable CustomView_OrganizationViewPreferences_Preferences Query
11724
+ *
11725
+ * @param request - function to call the graphql client
11726
+ * @param id - required id to pass to customView_organizationViewPreferences
11727
+ */
11728
+ export declare class CustomView_OrganizationViewPreferences_PreferencesQuery extends Request {
11729
+ private _id;
11730
+ constructor(request: LinearRequest, id: string);
11731
+ /**
11732
+ * Call the CustomView_OrganizationViewPreferences_Preferences query and return a ViewPreferencesValues
11733
+ *
11734
+ * @returns parsed response from CustomView_OrganizationViewPreferences_PreferencesQuery
11735
+ */
11736
+ fetch(): LinearFetch<ViewPreferencesValues | undefined>;
11737
+ }
11738
+ /**
11739
+ * A fetchable CustomView_UserViewPreferences_Preferences Query
11740
+ *
11741
+ * @param request - function to call the graphql client
11742
+ * @param id - required id to pass to customView_userViewPreferences
11743
+ */
11744
+ export declare class CustomView_UserViewPreferences_PreferencesQuery extends Request {
11745
+ private _id;
11746
+ constructor(request: LinearRequest, id: string);
11747
+ /**
11748
+ * Call the CustomView_UserViewPreferences_Preferences query and return a ViewPreferencesValues
11749
+ *
11750
+ * @returns parsed response from CustomView_UserViewPreferences_PreferencesQuery
11751
+ */
11752
+ fetch(): LinearFetch<ViewPreferencesValues | undefined>;
11753
+ }
11283
11754
  /**
11284
11755
  * A fetchable Cycle_Issues Query
11285
11756
  *
@@ -11924,6 +12395,22 @@ export declare class Project_ProjectUpdatesQuery extends Request {
11924
12395
  */
11925
12396
  fetch(variables?: Omit<L.Project_ProjectUpdatesQueryVariables, "id">): LinearFetch<ProjectUpdateConnection>;
11926
12397
  }
12398
+ /**
12399
+ * A fetchable Project_Status Query
12400
+ *
12401
+ * @param request - function to call the graphql client
12402
+ * @param id - required id to pass to project
12403
+ */
12404
+ export declare class Project_StatusQuery extends Request {
12405
+ private _id;
12406
+ constructor(request: LinearRequest, id: string);
12407
+ /**
12408
+ * Call the Project_Status query and return a ProjectStatus
12409
+ *
12410
+ * @returns parsed response from Project_StatusQuery
12411
+ */
12412
+ fetch(): LinearFetch<ProjectStatus>;
12413
+ }
11927
12414
  /**
11928
12415
  * A fetchable Project_Teams Query
11929
12416
  *
@@ -11962,6 +12449,25 @@ export declare class ProjectMilestone_IssuesQuery extends Request {
11962
12449
  */
11963
12450
  fetch(variables?: Omit<L.ProjectMilestone_IssuesQueryVariables, "id">): LinearFetch<IssueConnection>;
11964
12451
  }
12452
+ /**
12453
+ * A fetchable ProjectUpdate_Comments Query
12454
+ *
12455
+ * @param request - function to call the graphql client
12456
+ * @param id - required id to pass to projectUpdate
12457
+ * @param variables - variables without 'id' to pass into the ProjectUpdate_CommentsQuery
12458
+ */
12459
+ export declare class ProjectUpdate_CommentsQuery extends Request {
12460
+ private _id;
12461
+ private _variables?;
12462
+ constructor(request: LinearRequest, id: string, variables?: Omit<L.ProjectUpdate_CommentsQueryVariables, "id">);
12463
+ /**
12464
+ * Call the ProjectUpdate_Comments query and return a CommentConnection
12465
+ *
12466
+ * @param variables - variables without 'id' to pass into the ProjectUpdate_CommentsQuery
12467
+ * @returns parsed response from ProjectUpdate_CommentsQuery
12468
+ */
12469
+ fetch(variables?: Omit<L.ProjectUpdate_CommentsQueryVariables, "id">): LinearFetch<CommentConnection>;
12470
+ }
11965
12471
  /**
11966
12472
  * A fetchable Roadmap_Projects Query
11967
12473
  *
@@ -12569,6 +13075,13 @@ export declare class LinearSdk extends Request {
12569
13075
  * @returns EmojiConnection
12570
13076
  */
12571
13077
  emojis(variables?: L.EmojisQueryVariables): LinearFetch<EmojiConnection>;
13078
+ /**
13079
+ * One specific entity link.
13080
+ *
13081
+ * @param id - required id to pass to entityExternalLink
13082
+ * @returns EntityExternalLink
13083
+ */
13084
+ entityExternalLink(id: string): LinearFetch<EntityExternalLink>;
12572
13085
  /**
12573
13086
  * One specific external user.
12574
13087
  *
@@ -12739,7 +13252,7 @@ export declare class LinearSdk extends Request {
12739
13252
  * @param id - required id to pass to notification
12740
13253
  * @returns Notification
12741
13254
  */
12742
- notification(id: string): LinearFetch<IssueNotification | OauthClientApprovalNotification | ProjectNotification | Notification>;
13255
+ notification(id: string): LinearFetch<DocumentNotification | IssueNotification | OauthClientApprovalNotification | ProjectNotification | Notification>;
12743
13256
  /**
12744
13257
  * One specific notification subscription.
12745
13258
  *
@@ -12830,6 +13343,20 @@ export declare class LinearSdk extends Request {
12830
13343
  * @returns ProjectMilestoneConnection
12831
13344
  */
12832
13345
  projectMilestones(variables?: L.ProjectMilestonesQueryVariables): LinearFetch<ProjectMilestoneConnection>;
13346
+ /**
13347
+ * One specific project relation.
13348
+ *
13349
+ * @param id - required id to pass to projectRelation
13350
+ * @returns ProjectRelation
13351
+ */
13352
+ projectRelation(id: string): LinearFetch<ProjectRelation>;
13353
+ /**
13354
+ * All project relationships.
13355
+ *
13356
+ * @param variables - variables to pass into the ProjectRelationsQuery
13357
+ * @returns ProjectRelationConnection
13358
+ */
13359
+ projectRelations(variables?: L.ProjectRelationsQueryVariables): LinearFetch<ProjectRelationConnection>;
12833
13360
  /**
12834
13361
  * A specific project update.
12835
13362
  *
@@ -13387,6 +13914,28 @@ export declare class LinearSdk extends Request {
13387
13914
  * @returns DeletePayload
13388
13915
  */
13389
13916
  deleteEmoji(id: string): LinearFetch<DeletePayload>;
13917
+ /**
13918
+ * Creates a new entity link.
13919
+ *
13920
+ * @param input - required input to pass to createEntityExternalLink
13921
+ * @returns EntityExternalLinkPayload
13922
+ */
13923
+ createEntityExternalLink(input: L.EntityExternalLinkCreateInput): LinearFetch<EntityExternalLinkPayload>;
13924
+ /**
13925
+ * Deletes an entity link.
13926
+ *
13927
+ * @param id - required id to pass to deleteEntityExternalLink
13928
+ * @returns DeletePayload
13929
+ */
13930
+ deleteEntityExternalLink(id: string): LinearFetch<DeletePayload>;
13931
+ /**
13932
+ * Updates an entity link.
13933
+ *
13934
+ * @param id - required id to pass to updateEntityExternalLink
13935
+ * @param input - required input to pass to updateEntityExternalLink
13936
+ * @returns EntityExternalLinkPayload
13937
+ */
13938
+ updateEntityExternalLink(id: string, input: L.EntityExternalLinkUpdateInput): LinearFetch<EntityExternalLinkPayload>;
13390
13939
  /**
13391
13940
  * Creates a new favorite (project, cycle etc).
13392
13941
  *
@@ -13855,9 +14404,10 @@ export declare class LinearSdk extends Request {
13855
14404
  *
13856
14405
  * @param id - required id to pass to updateIssueLabel
13857
14406
  * @param input - required input to pass to updateIssueLabel
14407
+ * @param variables - variables without 'id', 'input' to pass into the UpdateIssueLabelMutation
13858
14408
  * @returns IssueLabelPayload
13859
14409
  */
13860
- updateIssueLabel(id: string, input: L.IssueLabelUpdateInput): LinearFetch<IssueLabelPayload>;
14410
+ updateIssueLabel(id: string, input: L.IssueLabelUpdateInput, variables?: Omit<L.UpdateIssueLabelMutationVariables, "id" | "input">): LinearFetch<IssueLabelPayload>;
13861
14411
  /**
13862
14412
  * Creates a new issue relation.
13863
14413
  *