@linear/sdk 6.0.0 → 7.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.
@@ -82,7 +82,7 @@ export declare class ApiKey extends Request {
82
82
  /** Creates a new API key. */
83
83
  create(input: L.ApiKeyCreateInput): LinearFetch<ApiKeyPayload>;
84
84
  /** Deletes an API key. */
85
- delete(): LinearFetch<ArchivePayload>;
85
+ delete(): LinearFetch<DeletePayload>;
86
86
  }
87
87
  /**
88
88
  * ApiKeyConnection model
@@ -133,7 +133,7 @@ export declare class Application extends Request {
133
133
  name: string;
134
134
  }
135
135
  /**
136
- * ArchivePayload model
136
+ * A generic payload return from entity archive or deletion mutations.
137
137
  *
138
138
  * @param request - function to call the graphql client
139
139
  * @param data - L.ArchivePayloadFragment response data
@@ -203,14 +203,30 @@ export declare class Attachment extends Request {
203
203
  /** The issue this attachment belongs to. */
204
204
  get issue(): LinearFetch<Issue> | undefined;
205
205
  /** [DEPRECATED] Archives an issue attachment. */
206
- archive(): LinearFetch<ArchivePayload>;
206
+ archive(): LinearFetch<AttachmentArchivePayload>;
207
207
  /** Creates a new attachment, or updates existing if the same `url` and `issueId` is used. */
208
208
  create(input: L.AttachmentCreateInput): LinearFetch<AttachmentPayload>;
209
209
  /** Deletes an issue attachment. */
210
- delete(): LinearFetch<ArchivePayload>;
210
+ delete(): LinearFetch<DeletePayload>;
211
211
  /** Updates an existing issue attachment. */
212
212
  update(input: L.AttachmentUpdateInput): LinearFetch<AttachmentPayload>;
213
213
  }
214
+ /**
215
+ * A generic payload return from entity archive mutations.
216
+ *
217
+ * @param request - function to call the graphql client
218
+ * @param data - L.AttachmentArchivePayloadFragment response data
219
+ */
220
+ export declare class AttachmentArchivePayload extends Request {
221
+ private _entity?;
222
+ constructor(request: LinearRequest, data: L.AttachmentArchivePayloadFragment);
223
+ /** The identifier of the last sync operation. */
224
+ lastSyncId: number;
225
+ /** Whether the operation was successful. */
226
+ success: boolean;
227
+ /** The archived/unarchived entity. Null if entity was deleted. */
228
+ get entity(): LinearFetch<Attachment> | undefined;
229
+ }
214
230
  /**
215
231
  * AttachmentConnection model
216
232
  *
@@ -364,7 +380,7 @@ export declare class Comment extends Request {
364
380
  /** Creates a new comment. */
365
381
  create(input: L.CommentCreateInput): LinearFetch<CommentPayload>;
366
382
  /** Deletes a comment. */
367
- delete(): LinearFetch<ArchivePayload>;
383
+ delete(): LinearFetch<DeletePayload>;
368
384
  /** Updates a comment. */
369
385
  update(input: L.CommentUpdateInput): LinearFetch<CommentPayload>;
370
386
  }
@@ -482,7 +498,6 @@ export declare class CreateOrJoinOrganizationResponse extends Request {
482
498
  */
483
499
  export declare class CustomView extends Request {
484
500
  private _creator;
485
- private _owner;
486
501
  private _team?;
487
502
  constructor(request: LinearRequest, data: L.CustomViewFragment);
488
503
  /** The time at which the entity was archived. Null if the entity has not been archived. */
@@ -515,14 +530,12 @@ export declare class CustomView extends Request {
515
530
  get creator(): LinearFetch<User> | undefined;
516
531
  /** The organization of the custom view. */
517
532
  get organization(): LinearFetch<Organization>;
518
- /** [Deprecated] The user who owns the custom view. */
519
- get owner(): LinearFetch<User> | undefined;
520
533
  /** The team associated with the custom view. */
521
534
  get team(): LinearFetch<Team> | undefined;
522
535
  /** Creates a new custom view. */
523
536
  create(input: L.CustomViewCreateInput): LinearFetch<CustomViewPayload>;
524
537
  /** Deletes a custom view. */
525
- delete(): LinearFetch<ArchivePayload>;
538
+ delete(): LinearFetch<DeletePayload>;
526
539
  /** Updates a custom view. */
527
540
  update(input: L.CustomViewUpdateInput): LinearFetch<CustomViewPayload>;
528
541
  }
@@ -536,6 +549,50 @@ export declare class CustomView extends Request {
536
549
  export declare class CustomViewConnection extends Connection<CustomView> {
537
550
  constructor(request: LinearRequest, fetch: (connection?: LinearConnectionVariables) => LinearFetch<LinearConnection<CustomView> | undefined>, data: L.CustomViewConnectionFragment);
538
551
  }
552
+ /**
553
+ * A custom view notification subscription.
554
+ *
555
+ * @param request - function to call the graphql client
556
+ * @param data - L.CustomViewNotificationSubscriptionFragment response data
557
+ */
558
+ export declare class CustomViewNotificationSubscription extends Request {
559
+ private _customView;
560
+ private _cycle?;
561
+ private _label?;
562
+ private _project?;
563
+ private _subscriber;
564
+ private _team?;
565
+ private _user?;
566
+ constructor(request: LinearRequest, data: L.CustomViewNotificationSubscriptionFragment);
567
+ /** The time at which the entity was archived. Null if the entity has not been archived. */
568
+ archivedAt?: Date;
569
+ /** The time at which the entity was created. */
570
+ createdAt: Date;
571
+ /** The unique identifier of the entity. */
572
+ id: string;
573
+ /** The type of subscription. */
574
+ notificationSubscriptionTypes: string[];
575
+ /**
576
+ * The last time at which the entity was meaningfully updated, i.e. for all changes of syncable properties except those
577
+ * 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
578
+ * been updated after creation.
579
+ */
580
+ updatedAt: Date;
581
+ /** The custom view subscribed to. */
582
+ get customView(): LinearFetch<CustomView> | undefined;
583
+ /** The contextual cycle view associated with the notification subscription. */
584
+ get cycle(): LinearFetch<Cycle> | undefined;
585
+ /** The contextual label view associated with the notification subscription. */
586
+ get label(): LinearFetch<IssueLabel> | undefined;
587
+ /** The contextual project view associated with the notification subscription. */
588
+ get project(): LinearFetch<Project> | undefined;
589
+ /** The user that subscribed to receive notifications. */
590
+ get subscriber(): LinearFetch<User> | undefined;
591
+ /** The team associated with the notification subscription. */
592
+ get team(): LinearFetch<Team> | undefined;
593
+ /** The user view associated with the notification subscription. */
594
+ get user(): LinearFetch<User> | undefined;
595
+ }
539
596
  /**
540
597
  * CustomViewPayload model
541
598
  *
@@ -621,12 +678,28 @@ export declare class Cycle extends Request {
621
678
  /** Issues that weren't completed when the cycle was closed. */
622
679
  uncompletedIssuesUponClose(variables?: Omit<L.Cycle_UncompletedIssuesUponCloseQueryVariables, "id">): LinearFetch<IssueConnection>;
623
680
  /** Archives a cycle. */
624
- archive(): LinearFetch<ArchivePayload>;
681
+ archive(): LinearFetch<CycleArchivePayload>;
625
682
  /** Creates a new cycle. */
626
683
  create(input: L.CycleCreateInput): LinearFetch<CyclePayload>;
627
684
  /** Updates a cycle. */
628
685
  update(input: L.CycleUpdateInput): LinearFetch<CyclePayload>;
629
686
  }
687
+ /**
688
+ * A generic payload return from entity archive mutations.
689
+ *
690
+ * @param request - function to call the graphql client
691
+ * @param data - L.CycleArchivePayloadFragment response data
692
+ */
693
+ export declare class CycleArchivePayload extends Request {
694
+ private _entity?;
695
+ constructor(request: LinearRequest, data: L.CycleArchivePayloadFragment);
696
+ /** The identifier of the last sync operation. */
697
+ lastSyncId: number;
698
+ /** Whether the operation was successful. */
699
+ success: boolean;
700
+ /** The archived/unarchived entity. Null if entity was deleted. */
701
+ get entity(): LinearFetch<Cycle> | undefined;
702
+ }
630
703
  /**
631
704
  * CycleConnection model
632
705
  *
@@ -637,6 +710,50 @@ export declare class Cycle extends Request {
637
710
  export declare class CycleConnection extends Connection<Cycle> {
638
711
  constructor(request: LinearRequest, fetch: (connection?: LinearConnectionVariables) => LinearFetch<LinearConnection<Cycle> | undefined>, data: L.CycleConnectionFragment);
639
712
  }
713
+ /**
714
+ * A cycle notification subscription.
715
+ *
716
+ * @param request - function to call the graphql client
717
+ * @param data - L.CycleNotificationSubscriptionFragment response data
718
+ */
719
+ export declare class CycleNotificationSubscription extends Request {
720
+ private _customView?;
721
+ private _cycle;
722
+ private _label?;
723
+ private _project?;
724
+ private _subscriber;
725
+ private _team?;
726
+ private _user?;
727
+ constructor(request: LinearRequest, data: L.CycleNotificationSubscriptionFragment);
728
+ /** The time at which the entity was archived. Null if the entity has not been archived. */
729
+ archivedAt?: Date;
730
+ /** The time at which the entity was created. */
731
+ createdAt: Date;
732
+ /** The unique identifier of the entity. */
733
+ id: string;
734
+ /** The type of subscription. */
735
+ notificationSubscriptionTypes: string[];
736
+ /**
737
+ * The last time at which the entity was meaningfully updated, i.e. for all changes of syncable properties except those
738
+ * 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
739
+ * been updated after creation.
740
+ */
741
+ updatedAt: Date;
742
+ /** The contextual custom view associated with the notification subscription. */
743
+ get customView(): LinearFetch<CustomView> | undefined;
744
+ /** The cycle subscribed to. */
745
+ get cycle(): LinearFetch<Cycle> | undefined;
746
+ /** The contextual label view associated with the notification subscription. */
747
+ get label(): LinearFetch<IssueLabel> | undefined;
748
+ /** The contextual project view associated with the notification subscription. */
749
+ get project(): LinearFetch<Project> | undefined;
750
+ /** The user that subscribed to receive notifications. */
751
+ get subscriber(): LinearFetch<User> | undefined;
752
+ /** The team associated with the notification subscription. */
753
+ get team(): LinearFetch<Team> | undefined;
754
+ /** The user view associated with the notification subscription. */
755
+ get user(): LinearFetch<User> | undefined;
756
+ }
640
757
  /**
641
758
  * CyclePayload model
642
759
  *
@@ -653,6 +770,21 @@ export declare class CyclePayload extends Request {
653
770
  /** The Cycle that was created or updated. */
654
771
  get cycle(): LinearFetch<Cycle> | undefined;
655
772
  }
773
+ /**
774
+ * A generic payload return from entity deletion mutations.
775
+ *
776
+ * @param request - function to call the graphql client
777
+ * @param data - L.DeletePayloadFragment response data
778
+ */
779
+ export declare class DeletePayload extends Request {
780
+ constructor(request: LinearRequest, data: L.DeletePayloadFragment);
781
+ /** The identifier of the deleted entity. */
782
+ entityId: string;
783
+ /** The identifier of the last sync operation. */
784
+ lastSyncId: number;
785
+ /** Whether the operation was successful. */
786
+ success: boolean;
787
+ }
656
788
  /**
657
789
  * A document for a project.
658
790
  *
@@ -697,7 +829,7 @@ export declare class Document extends Request {
697
829
  /** Creates a new document. */
698
830
  create(input: L.DocumentCreateInput): LinearFetch<DocumentPayload>;
699
831
  /** Deletes a document. */
700
- delete(): LinearFetch<ArchivePayload>;
832
+ delete(): LinearFetch<DeletePayload>;
701
833
  /** Updates a document. */
702
834
  update(input: L.DocumentUpdateInput): LinearFetch<DocumentPayload>;
703
835
  }
@@ -848,6 +980,52 @@ export declare class EmailUserAccountAuthChallengeResponse extends Request {
848
980
  /** Whether the operation was successful. */
849
981
  success: boolean;
850
982
  }
983
+ /**
984
+ * Information for creating embedded content for the provided URL
985
+ *
986
+ * @param request - function to call the graphql client
987
+ * @param data - L.EmbedFragment response data
988
+ */
989
+ export declare class Embed extends Request {
990
+ constructor(request: LinearRequest, data: L.EmbedFragment);
991
+ /** The name of the author/owner of the resource */
992
+ authorName?: string;
993
+ /** The description of the content */
994
+ description?: string;
995
+ /** The height of embedded content (photo, video, rich) */
996
+ height?: number;
997
+ /** The HTML (video, rich) */
998
+ html?: string;
999
+ /** The name of the provider */
1000
+ providerName?: string;
1001
+ /** The height of the thumbnail preview image */
1002
+ thumbnailHeight?: number;
1003
+ /** The URL of the thumbnail preview image */
1004
+ thumbnailUrl?: string;
1005
+ /** The width of the thumbnail preview image */
1006
+ thumbnailWidth?: number;
1007
+ /** Title for the returned embed view */
1008
+ title?: string;
1009
+ /** The type of embed */
1010
+ type: string;
1011
+ /** The asset URL (photo) */
1012
+ url?: string;
1013
+ /** The width of embedded content (photo, video, rich) */
1014
+ width?: number;
1015
+ }
1016
+ /**
1017
+ * EmbedPayload model
1018
+ *
1019
+ * @param request - function to call the graphql client
1020
+ * @param data - L.EmbedPayloadFragment response data
1021
+ */
1022
+ export declare class EmbedPayload extends Request {
1023
+ constructor(request: LinearRequest, data: L.EmbedPayloadFragment);
1024
+ /** Whether the query was successful */
1025
+ success: boolean;
1026
+ /** Embed information */
1027
+ embed?: Embed;
1028
+ }
851
1029
  /**
852
1030
  * A custom emoji.
853
1031
  *
@@ -882,7 +1060,7 @@ export declare class Emoji extends Request {
882
1060
  /** Creates a custom emoji. */
883
1061
  create(input: L.EmojiCreateInput): LinearFetch<EmojiPayload>;
884
1062
  /** Deletes an emoji. */
885
- delete(): LinearFetch<ArchivePayload>;
1063
+ delete(): LinearFetch<DeletePayload>;
886
1064
  }
887
1065
  /**
888
1066
  * EmojiConnection model
@@ -931,17 +1109,6 @@ export declare class Entity extends Request {
931
1109
  */
932
1110
  updatedAt: Date;
933
1111
  }
934
- /**
935
- * EventPayload model
936
- *
937
- * @param request - function to call the graphql client
938
- * @param data - L.EventPayloadFragment response data
939
- */
940
- export declare class EventPayload extends Request {
941
- constructor(request: LinearRequest, data: L.EventPayloadFragment);
942
- /** Whether the operation was successful. */
943
- success: boolean;
944
- }
945
1112
  /**
946
1113
  * User favorites presented in the sidebar.
947
1114
  *
@@ -954,12 +1121,13 @@ export declare class Favorite extends Request {
954
1121
  private _document?;
955
1122
  private _issue?;
956
1123
  private _label?;
1124
+ private _owner;
957
1125
  private _parent?;
958
1126
  private _predefinedViewTeam?;
959
1127
  private _project?;
960
1128
  private _projectTeam?;
961
1129
  private _roadmap?;
962
- private _user;
1130
+ private _user?;
963
1131
  constructor(request: LinearRequest, data: L.FavoriteFragment);
964
1132
  /** The time at which the entity was archived. Null if the entity has not been archived. */
965
1133
  archivedAt?: Date;
@@ -991,6 +1159,8 @@ export declare class Favorite extends Request {
991
1159
  get issue(): LinearFetch<Issue> | undefined;
992
1160
  /** The favorited label. */
993
1161
  get label(): LinearFetch<IssueLabel> | undefined;
1162
+ /** The owner of the favorite. */
1163
+ get owner(): LinearFetch<User> | undefined;
994
1164
  /** The parent folder of the favorite. */
995
1165
  get parent(): LinearFetch<Favorite> | undefined;
996
1166
  /** The team of the favorited predefined view. */
@@ -1001,14 +1171,14 @@ export declare class Favorite extends Request {
1001
1171
  get projectTeam(): LinearFetch<Team> | undefined;
1002
1172
  /** The favorited roadmap. */
1003
1173
  get roadmap(): LinearFetch<Roadmap> | undefined;
1004
- /** The owner of the favorite. */
1174
+ /** The favorited user. */
1005
1175
  get user(): LinearFetch<User> | undefined;
1006
1176
  /** Children of the favorite. Only applies to favorites of type folder. */
1007
1177
  children(variables?: Omit<L.Favorite_ChildrenQueryVariables, "id">): LinearFetch<FavoriteConnection>;
1008
1178
  /** Creates a new favorite (project, cycle etc). */
1009
1179
  create(input: L.FavoriteCreateInput): LinearFetch<FavoritePayload>;
1010
1180
  /** Deletes a favorite reference. */
1011
- delete(): LinearFetch<ArchivePayload>;
1181
+ delete(): LinearFetch<DeletePayload>;
1012
1182
  /** Updates a favorite. */
1013
1183
  update(input: L.FavoriteUpdateInput): LinearFetch<FavoritePayload>;
1014
1184
  }
@@ -1068,6 +1238,47 @@ export declare class FigmaEmbedPayload extends Request {
1068
1238
  /** Figma embed information. */
1069
1239
  figmaEmbed?: FigmaEmbed;
1070
1240
  }
1241
+ /**
1242
+ * A schedule for a team's first responder.
1243
+ *
1244
+ * @param request - function to call the graphql client
1245
+ * @param data - L.FirstResponderScheduleFragment response data
1246
+ */
1247
+ export declare class FirstResponderSchedule extends Request {
1248
+ private _integration;
1249
+ private _team;
1250
+ constructor(request: LinearRequest, data: L.FirstResponderScheduleFragment);
1251
+ /** The time at which the entity was archived. Null if the entity has not been archived. */
1252
+ archivedAt?: Date;
1253
+ /** The time at which the entity was created. */
1254
+ createdAt: Date;
1255
+ /** The unique identifier of the entity. */
1256
+ id: string;
1257
+ /** The id of the integration schedule used for scheduling. */
1258
+ integrationScheduleId?: string;
1259
+ /** The current schedule and available schedules. */
1260
+ scheduleData: Record<string, unknown>;
1261
+ /**
1262
+ * The last time at which the entity was meaningfully updated, i.e. for all changes of syncable properties except those
1263
+ * 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
1264
+ * been updated after creation.
1265
+ */
1266
+ updatedAt: Date;
1267
+ /** The integration used for scheduling. */
1268
+ get integration(): LinearFetch<Integration> | undefined;
1269
+ /** The team to which the schedule belongs to. */
1270
+ get team(): LinearFetch<Team> | undefined;
1271
+ }
1272
+ /**
1273
+ * FirstResponderScheduleConnection model
1274
+ *
1275
+ * @param request - function to call the graphql client
1276
+ * @param fetch - function to trigger a refetch of this FirstResponderScheduleConnection model
1277
+ * @param data - FirstResponderScheduleConnection response data
1278
+ */
1279
+ export declare class FirstResponderScheduleConnection extends Connection<FirstResponderSchedule> {
1280
+ constructor(request: LinearRequest, fetch: (connection?: LinearConnectionVariables) => LinearFetch<LinearConnection<FirstResponderSchedule> | undefined>, data: L.FirstResponderScheduleConnectionFragment);
1281
+ }
1071
1282
  /**
1072
1283
  * FrontAttachmentPayload model
1073
1284
  *
@@ -1235,7 +1446,7 @@ export declare class Integration extends Request {
1235
1446
  /** The team that the integration is associated with. */
1236
1447
  get team(): LinearFetch<Team> | undefined;
1237
1448
  /** Deletes an integration. */
1238
- delete(): LinearFetch<ArchivePayload>;
1449
+ delete(): LinearFetch<DeletePayload>;
1239
1450
  }
1240
1451
  /**
1241
1452
  * IntegrationConnection model
@@ -1288,6 +1499,7 @@ export declare class IntegrationSettings extends Request {
1288
1499
  intercom?: IntercomSettings;
1289
1500
  jira?: JiraSettings;
1290
1501
  notion?: NotionSettings;
1502
+ pagerDuty?: PagerDutySettings;
1291
1503
  sentry?: SentrySettings;
1292
1504
  slackOrgProjectUpdatesPost?: SlackPostSettings;
1293
1505
  slackPost?: SlackPostSettings;
@@ -1323,7 +1535,7 @@ export declare class IntegrationTemplate extends Request {
1323
1535
  /** Creates a new integrationTemplate join. */
1324
1536
  create(input: L.IntegrationTemplateCreateInput): LinearFetch<IntegrationTemplatePayload>;
1325
1537
  /** Deletes a integrationTemplate. */
1326
- delete(): LinearFetch<ArchivePayload>;
1538
+ delete(): LinearFetch<DeletePayload>;
1327
1539
  }
1328
1540
  /**
1329
1541
  * IntegrationTemplateConnection model
@@ -1562,16 +1774,32 @@ export declare class Issue extends Request {
1562
1774
  /** Users who are subscribed to the issue. */
1563
1775
  subscribers(variables?: Omit<L.Issue_SubscribersQueryVariables, "id">): LinearFetch<UserConnection>;
1564
1776
  /** Archives an issue. */
1565
- archive(variables?: Omit<L.ArchiveIssueMutationVariables, "id">): LinearFetch<ArchivePayload>;
1777
+ archive(variables?: Omit<L.ArchiveIssueMutationVariables, "id">): LinearFetch<IssueArchivePayload>;
1566
1778
  /** Creates a new issue. */
1567
1779
  create(input: L.IssueCreateInput): LinearFetch<IssuePayload>;
1568
1780
  /** Deletes (trashes) an issue. */
1569
- delete(): LinearFetch<ArchivePayload>;
1781
+ delete(): LinearFetch<IssueArchivePayload>;
1570
1782
  /** Unarchives an issue. */
1571
- unarchive(): LinearFetch<ArchivePayload>;
1783
+ unarchive(): LinearFetch<IssueArchivePayload>;
1572
1784
  /** Updates an issue. */
1573
1785
  update(input: L.IssueUpdateInput): LinearFetch<IssuePayload>;
1574
1786
  }
1787
+ /**
1788
+ * A generic payload return from entity archive mutations.
1789
+ *
1790
+ * @param request - function to call the graphql client
1791
+ * @param data - L.IssueArchivePayloadFragment response data
1792
+ */
1793
+ export declare class IssueArchivePayload extends Request {
1794
+ private _entity?;
1795
+ constructor(request: LinearRequest, data: L.IssueArchivePayloadFragment);
1796
+ /** The identifier of the last sync operation. */
1797
+ lastSyncId: number;
1798
+ /** Whether the operation was successful. */
1799
+ success: boolean;
1800
+ /** The archived/unarchived entity. Null if entity was deleted. */
1801
+ get entity(): LinearFetch<Issue> | undefined;
1802
+ }
1575
1803
  /**
1576
1804
  * IssueBatchPayload model
1577
1805
  *
@@ -1875,12 +2103,10 @@ export declare class IssueLabel extends Request {
1875
2103
  children(variables?: Omit<L.IssueLabel_ChildrenQueryVariables, "id">): LinearFetch<IssueLabelConnection>;
1876
2104
  /** Issues associated with the label. */
1877
2105
  issues(variables?: Omit<L.IssueLabel_IssuesQueryVariables, "id">): LinearFetch<IssueConnection>;
1878
- /** Deletes an issue label. */
1879
- archive(): LinearFetch<ArchivePayload>;
1880
2106
  /** Creates a new label. */
1881
2107
  create(input: L.IssueLabelCreateInput, variables?: Omit<L.CreateIssueLabelMutationVariables, "input">): LinearFetch<IssueLabelPayload>;
1882
2108
  /** Deletes an issue label. */
1883
- delete(): LinearFetch<ArchivePayload>;
2109
+ delete(): LinearFetch<DeletePayload>;
1884
2110
  /** Updates an label. */
1885
2111
  update(input: L.IssueLabelUpdateInput): LinearFetch<IssueLabelPayload>;
1886
2112
  }
@@ -2021,7 +2247,7 @@ export declare class IssueRelation extends Request {
2021
2247
  /** Creates a new issue relation. */
2022
2248
  create(input: L.IssueRelationCreateInput): LinearFetch<IssueRelationPayload>;
2023
2249
  /** Deletes an issue relation. */
2024
- delete(): LinearFetch<ArchivePayload>;
2250
+ delete(): LinearFetch<DeletePayload>;
2025
2251
  /** Updates an issue relation. */
2026
2252
  update(input: L.IssueRelationUpdateInput): LinearFetch<IssueRelationPayload>;
2027
2253
  }
@@ -2231,6 +2457,50 @@ export declare class JiraSettings extends Request {
2231
2457
  /** The Jira projects for the organization. */
2232
2458
  projects: JiraProjectData[];
2233
2459
  }
2460
+ /**
2461
+ * A label notification subscription.
2462
+ *
2463
+ * @param request - function to call the graphql client
2464
+ * @param data - L.LabelNotificationSubscriptionFragment response data
2465
+ */
2466
+ export declare class LabelNotificationSubscription extends Request {
2467
+ private _customView?;
2468
+ private _cycle?;
2469
+ private _label;
2470
+ private _project?;
2471
+ private _subscriber;
2472
+ private _team?;
2473
+ private _user?;
2474
+ constructor(request: LinearRequest, data: L.LabelNotificationSubscriptionFragment);
2475
+ /** The time at which the entity was archived. Null if the entity has not been archived. */
2476
+ archivedAt?: Date;
2477
+ /** The time at which the entity was created. */
2478
+ createdAt: Date;
2479
+ /** The unique identifier of the entity. */
2480
+ id: string;
2481
+ /** The type of subscription. */
2482
+ notificationSubscriptionTypes: string[];
2483
+ /**
2484
+ * The last time at which the entity was meaningfully updated, i.e. for all changes of syncable properties except those
2485
+ * 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
2486
+ * been updated after creation.
2487
+ */
2488
+ updatedAt: Date;
2489
+ /** The contextual custom view associated with the notification subscription. */
2490
+ get customView(): LinearFetch<CustomView> | undefined;
2491
+ /** The contextual cycle view associated with the notification subscription. */
2492
+ get cycle(): LinearFetch<Cycle> | undefined;
2493
+ /** The label subscribed to. */
2494
+ get label(): LinearFetch<IssueLabel> | undefined;
2495
+ /** The contextual project view associated with the notification subscription. */
2496
+ get project(): LinearFetch<Project> | undefined;
2497
+ /** The user that subscribed to receive notifications. */
2498
+ get subscriber(): LinearFetch<User> | undefined;
2499
+ /** The team associated with the notification subscription. */
2500
+ get team(): LinearFetch<Team> | undefined;
2501
+ /** The user view associated with the notification subscription. */
2502
+ get user(): LinearFetch<User> | undefined;
2503
+ }
2234
2504
  /**
2235
2505
  * LogoutResponse model
2236
2506
  *
@@ -2293,12 +2563,40 @@ export declare class Notification extends Request {
2293
2563
  /** The user that received the notification. */
2294
2564
  get user(): LinearFetch<User> | undefined;
2295
2565
  /** Archives a notification. */
2296
- archive(): LinearFetch<ArchivePayload>;
2566
+ archive(): LinearFetch<NotificationArchivePayload>;
2297
2567
  /** Unarchives a notification. */
2298
- unarchive(): LinearFetch<ArchivePayload>;
2568
+ unarchive(): LinearFetch<NotificationArchivePayload>;
2299
2569
  /** Updates a notification. */
2300
2570
  update(input: L.NotificationUpdateInput): LinearFetch<NotificationPayload>;
2301
2571
  }
2572
+ /**
2573
+ * A generic payload return from entity archive mutations.
2574
+ *
2575
+ * @param request - function to call the graphql client
2576
+ * @param data - L.NotificationArchivePayloadFragment response data
2577
+ */
2578
+ export declare class NotificationArchivePayload extends Request {
2579
+ constructor(request: LinearRequest, data: L.NotificationArchivePayloadFragment);
2580
+ /** The identifier of the last sync operation. */
2581
+ lastSyncId: number;
2582
+ /** Whether the operation was successful. */
2583
+ success: boolean;
2584
+ }
2585
+ /**
2586
+ * NotificationBatchActionPayload model
2587
+ *
2588
+ * @param request - function to call the graphql client
2589
+ * @param data - L.NotificationBatchActionPayloadFragment response data
2590
+ */
2591
+ export declare class NotificationBatchActionPayload extends Request {
2592
+ constructor(request: LinearRequest, data: L.NotificationBatchActionPayloadFragment);
2593
+ /** The identifier of the last sync operation. */
2594
+ lastSyncId: number;
2595
+ /** Whether the operation was successful. */
2596
+ success: boolean;
2597
+ /** The notifications that were updated. */
2598
+ notifications: Notification[];
2599
+ }
2302
2600
  /**
2303
2601
  * NotificationConnection model
2304
2602
  *
@@ -2329,9 +2627,13 @@ export declare class NotificationPayload extends Request {
2329
2627
  * @param data - L.NotificationSubscriptionFragment response data
2330
2628
  */
2331
2629
  export declare class NotificationSubscription extends Request {
2630
+ private _customView?;
2631
+ private _cycle?;
2632
+ private _label?;
2332
2633
  private _project?;
2634
+ private _subscriber;
2333
2635
  private _team?;
2334
- private _user;
2636
+ private _user?;
2335
2637
  constructor(request: LinearRequest, data: L.NotificationSubscriptionFragment);
2336
2638
  /** The time at which the entity was archived. Null if the entity has not been archived. */
2337
2639
  archivedAt?: Date;
@@ -2339,24 +2641,30 @@ export declare class NotificationSubscription extends Request {
2339
2641
  createdAt: Date;
2340
2642
  /** The unique identifier of the entity. */
2341
2643
  id: string;
2342
- /** The type of the subscription. */
2343
- type: string;
2344
2644
  /**
2345
2645
  * The last time at which the entity was meaningfully updated, i.e. for all changes of syncable properties except those
2346
2646
  * 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
2347
2647
  * been updated after creation.
2348
2648
  */
2349
2649
  updatedAt: Date;
2350
- /** Subscribed project. */
2650
+ /** The contextual custom view associated with the notification subscription. */
2651
+ get customView(): LinearFetch<CustomView> | undefined;
2652
+ /** The contextual cycle view associated with the notification subscription. */
2653
+ get cycle(): LinearFetch<Cycle> | undefined;
2654
+ /** The contextual label view associated with the notification subscription. */
2655
+ get label(): LinearFetch<IssueLabel> | undefined;
2656
+ /** The contextual project view associated with the notification subscription. */
2351
2657
  get project(): LinearFetch<Project> | undefined;
2352
- /** Subscribed team. */
2658
+ /** The user that subscribed to receive notifications. */
2659
+ get subscriber(): LinearFetch<User> | undefined;
2660
+ /** The team associated with the notification subscription. */
2353
2661
  get team(): LinearFetch<Team> | undefined;
2354
- /** The user associated with notification subscriptions. */
2662
+ /** The user view associated with the notification subscription. */
2355
2663
  get user(): LinearFetch<User> | undefined;
2356
- /** Creates a new notification subscription for a team or a project. */
2664
+ /** Creates a new notification subscription for a cycle, custom view, label, project or team. */
2357
2665
  create(input: L.NotificationSubscriptionCreateInput): LinearFetch<NotificationSubscriptionPayload>;
2358
2666
  /** Deletes a notification subscription reference. */
2359
- delete(): LinearFetch<ArchivePayload>;
2667
+ delete(): LinearFetch<DeletePayload>;
2360
2668
  /** Updates a notification subscription. */
2361
2669
  update(input: L.NotificationSubscriptionUpdateInput): LinearFetch<NotificationSubscriptionPayload>;
2362
2670
  }
@@ -2367,8 +2675,8 @@ export declare class NotificationSubscription extends Request {
2367
2675
  * @param fetch - function to trigger a refetch of this NotificationSubscriptionConnection model
2368
2676
  * @param data - NotificationSubscriptionConnection response data
2369
2677
  */
2370
- export declare class NotificationSubscriptionConnection extends Connection<ProjectNotificationSubscription | TeamNotificationSubscription | NotificationSubscription> {
2371
- constructor(request: LinearRequest, fetch: (connection?: LinearConnectionVariables) => LinearFetch<LinearConnection<ProjectNotificationSubscription | TeamNotificationSubscription | NotificationSubscription> | undefined>, data: L.NotificationSubscriptionConnectionFragment);
2678
+ export declare class NotificationSubscriptionConnection extends Connection<CustomViewNotificationSubscription | CycleNotificationSubscription | LabelNotificationSubscription | ProjectNotificationSubscription | TeamNotificationSubscription | UserNotificationSubscription | NotificationSubscription> {
2679
+ constructor(request: LinearRequest, fetch: (connection?: LinearConnectionVariables) => LinearFetch<LinearConnection<CustomViewNotificationSubscription | CycleNotificationSubscription | LabelNotificationSubscription | ProjectNotificationSubscription | TeamNotificationSubscription | UserNotificationSubscription | NotificationSubscription> | undefined>, data: L.NotificationSubscriptionConnectionFragment);
2372
2680
  }
2373
2681
  /**
2374
2682
  * NotificationSubscriptionPayload model
@@ -2656,7 +2964,7 @@ export declare class OrganizationDomain extends Request {
2656
2964
  /** The user who added the domain. */
2657
2965
  get creator(): LinearFetch<User> | undefined;
2658
2966
  /** Deletes a domain. */
2659
- delete(): LinearFetch<ArchivePayload>;
2967
+ delete(): LinearFetch<DeletePayload>;
2660
2968
  }
2661
2969
  /**
2662
2970
  * OrganizationExistsPayload model
@@ -2710,7 +3018,7 @@ export declare class OrganizationInvite extends Request {
2710
3018
  /** Creates a new organization invite. */
2711
3019
  create(input: L.OrganizationInviteCreateInput): LinearFetch<OrganizationInvitePayload>;
2712
3020
  /** Deletes an organization invite. */
2713
- delete(): LinearFetch<ArchivePayload>;
3021
+ delete(): LinearFetch<DeletePayload>;
2714
3022
  /** Updates an organization invite. */
2715
3023
  update(input: L.OrganizationInviteUpdateInput): LinearFetch<OrganizationInvitePayload>;
2716
3024
  }
@@ -2808,6 +3116,30 @@ export declare class PageInfo extends Request {
2808
3116
  /** Cursor representing the first result in the paginated results. */
2809
3117
  startCursor?: string;
2810
3118
  }
3119
+ /**
3120
+ * Tuple for mapping PagerDuty schedule id to names.
3121
+ *
3122
+ * @param request - function to call the graphql client
3123
+ * @param data - L.PagerDutyScheduleMappingFragment response data
3124
+ */
3125
+ export declare class PagerDutyScheduleMapping extends Request {
3126
+ constructor(request: LinearRequest, data: L.PagerDutyScheduleMappingFragment);
3127
+ /** The PagerDuty schedule id. */
3128
+ scheduleId: string;
3129
+ /** The PagerDuty schedule name. */
3130
+ scheduleName: string;
3131
+ }
3132
+ /**
3133
+ * PagerDuty specific settings.
3134
+ *
3135
+ * @param request - function to call the graphql client
3136
+ * @param data - L.PagerDutySettingsFragment response data
3137
+ */
3138
+ export declare class PagerDutySettings extends Request {
3139
+ constructor(request: LinearRequest, data: L.PagerDutySettingsFragment);
3140
+ /** The mapping of PagerDuty schedule id to names. */
3141
+ scheduleMapping: PagerDutyScheduleMapping[];
3142
+ }
2811
3143
  /**
2812
3144
  * The paid subscription of an organization.
2813
3145
  *
@@ -2906,6 +3238,8 @@ export declare class Project extends Request {
2906
3238
  slugId: string;
2907
3239
  /** The sort order for the project within the organization. */
2908
3240
  sortOrder: number;
3241
+ /** The estimated start date of the project. */
3242
+ startDate?: L.Scalars["TimelessDate"];
2909
3243
  /** The time at which the project was moved into started state. */
2910
3244
  startedAt?: Date;
2911
3245
  /** The type of the state. */
@@ -2943,16 +3277,32 @@ export declare class Project extends Request {
2943
3277
  /** Teams associated with this project. */
2944
3278
  teams(variables?: Omit<L.Project_TeamsQueryVariables, "id">): LinearFetch<TeamConnection>;
2945
3279
  /** Archives a project. */
2946
- archive(): LinearFetch<ArchivePayload>;
3280
+ archive(): LinearFetch<ProjectArchivePayload>;
2947
3281
  /** Creates a new project. */
2948
3282
  create(input: L.ProjectCreateInput): LinearFetch<ProjectPayload>;
2949
3283
  /** Deletes a project. All issues will be disassociated from the deleted project. */
2950
- delete(): LinearFetch<ArchivePayload>;
3284
+ delete(): LinearFetch<DeletePayload>;
2951
3285
  /** Unarchives a project. */
2952
- unarchive(): LinearFetch<ArchivePayload>;
3286
+ unarchive(): LinearFetch<ProjectArchivePayload>;
2953
3287
  /** Updates a project. */
2954
3288
  update(input: L.ProjectUpdateInput): LinearFetch<ProjectPayload>;
2955
3289
  }
3290
+ /**
3291
+ * A generic payload return from entity archive mutations.
3292
+ *
3293
+ * @param request - function to call the graphql client
3294
+ * @param data - L.ProjectArchivePayloadFragment response data
3295
+ */
3296
+ export declare class ProjectArchivePayload extends Request {
3297
+ private _entity?;
3298
+ constructor(request: LinearRequest, data: L.ProjectArchivePayloadFragment);
3299
+ /** The identifier of the last sync operation. */
3300
+ lastSyncId: number;
3301
+ /** Whether the operation was successful. */
3302
+ success: boolean;
3303
+ /** The archived/unarchived entity. Null if entity was deleted. */
3304
+ get entity(): LinearFetch<Project> | undefined;
3305
+ }
2956
3306
  /**
2957
3307
  * ProjectConnection model
2958
3308
  *
@@ -3007,7 +3357,7 @@ export declare class ProjectLink extends Request {
3007
3357
  /** Creates a new project link. */
3008
3358
  create(input: L.ProjectLinkCreateInput): LinearFetch<ProjectLinkPayload>;
3009
3359
  /** Deletes a project link. */
3010
- delete(): LinearFetch<ArchivePayload>;
3360
+ delete(): LinearFetch<DeletePayload>;
3011
3361
  /** Updates a project link. */
3012
3362
  update(input: L.ProjectLinkUpdateInput): LinearFetch<ProjectLinkPayload>;
3013
3363
  }
@@ -3071,7 +3421,7 @@ export declare class ProjectMilestone extends Request {
3071
3421
  /** Creates a new project milestone. */
3072
3422
  create(input: L.ProjectMilestoneCreateInput): LinearFetch<ProjectMilestonePayload>;
3073
3423
  /** Deletes a project milestone. */
3074
- delete(): LinearFetch<ArchivePayload>;
3424
+ delete(): LinearFetch<DeletePayload>;
3075
3425
  /** Updates a project milestone. */
3076
3426
  update(input: L.ProjectMilestoneUpdateInput): LinearFetch<ProjectMilestonePayload>;
3077
3427
  }
@@ -3154,9 +3504,13 @@ export declare class ProjectNotification extends Request {
3154
3504
  * @param data - L.ProjectNotificationSubscriptionFragment response data
3155
3505
  */
3156
3506
  export declare class ProjectNotificationSubscription extends Request {
3507
+ private _customView?;
3508
+ private _cycle?;
3509
+ private _label?;
3157
3510
  private _project;
3511
+ private _subscriber;
3158
3512
  private _team?;
3159
- private _user;
3513
+ private _user?;
3160
3514
  constructor(request: LinearRequest, data: L.ProjectNotificationSubscriptionFragment);
3161
3515
  /** The time at which the entity was archived. Null if the entity has not been archived. */
3162
3516
  archivedAt?: Date;
@@ -3164,19 +3518,27 @@ export declare class ProjectNotificationSubscription extends Request {
3164
3518
  createdAt: Date;
3165
3519
  /** The unique identifier of the entity. */
3166
3520
  id: string;
3167
- /** The type of the subscription. */
3168
- type: string;
3521
+ /** The type of subscription. */
3522
+ notificationSubscriptionTypes: string[];
3169
3523
  /**
3170
3524
  * The last time at which the entity was meaningfully updated, i.e. for all changes of syncable properties except those
3171
3525
  * 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
3172
3526
  * been updated after creation.
3173
3527
  */
3174
3528
  updatedAt: Date;
3529
+ /** The contextual custom view associated with the notification subscription. */
3530
+ get customView(): LinearFetch<CustomView> | undefined;
3531
+ /** The contextual cycle view associated with the notification subscription. */
3532
+ get cycle(): LinearFetch<Cycle> | undefined;
3533
+ /** The contextual label view associated with the notification subscription. */
3534
+ get label(): LinearFetch<IssueLabel> | undefined;
3175
3535
  /** The project subscribed to. */
3176
3536
  get project(): LinearFetch<Project> | undefined;
3177
- /** Subscribed team. */
3537
+ /** The user that subscribed to receive notifications. */
3538
+ get subscriber(): LinearFetch<User> | undefined;
3539
+ /** The team associated with the notification subscription. */
3178
3540
  get team(): LinearFetch<Team> | undefined;
3179
- /** The user associated with notification subscriptions. */
3541
+ /** The user view associated with the notification subscription. */
3180
3542
  get user(): LinearFetch<User> | undefined;
3181
3543
  }
3182
3544
  /**
@@ -3270,6 +3632,8 @@ export declare class ProjectSearchResult extends Request {
3270
3632
  slugId: string;
3271
3633
  /** The sort order for the project within the organization. */
3272
3634
  sortOrder: number;
3635
+ /** The estimated start date of the project. */
3636
+ startDate?: L.Scalars["TimelessDate"];
3273
3637
  /** The time at which the project was moved into started state. */
3274
3638
  startedAt?: Date;
3275
3639
  /** The type of the state. */
@@ -3338,7 +3702,7 @@ export declare class ProjectUpdate extends Request {
3338
3702
  /** Creates a new project update. */
3339
3703
  create(input: L.ProjectUpdateCreateInput): LinearFetch<ProjectUpdatePayload>;
3340
3704
  /** Deletes a project update. */
3341
- delete(): LinearFetch<ArchivePayload>;
3705
+ delete(): LinearFetch<DeletePayload>;
3342
3706
  /** Updates a project update. */
3343
3707
  update(input: L.ProjectUpdateUpdateInput): LinearFetch<ProjectUpdatePayload>;
3344
3708
  }
@@ -3567,7 +3931,7 @@ export declare class Reaction extends Request {
3567
3931
  /** Creates a new reaction. */
3568
3932
  create(input: L.ReactionCreateInput): LinearFetch<ReactionPayload>;
3569
3933
  /** Deletes a reaction. */
3570
- delete(): LinearFetch<ArchivePayload>;
3934
+ delete(): LinearFetch<DeletePayload>;
3571
3935
  }
3572
3936
  /**
3573
3937
  * ReactionConnection model
@@ -3633,16 +3997,32 @@ export declare class Roadmap extends Request {
3633
3997
  /** Projects associated with the roadmap. */
3634
3998
  projects(variables?: Omit<L.Roadmap_ProjectsQueryVariables, "id">): LinearFetch<ProjectConnection>;
3635
3999
  /** Archives a roadmap. */
3636
- archive(): LinearFetch<ArchivePayload>;
4000
+ archive(): LinearFetch<RoadmapArchivePayload>;
3637
4001
  /** Creates a new roadmap. */
3638
4002
  create(input: L.RoadmapCreateInput): LinearFetch<RoadmapPayload>;
3639
4003
  /** Deletes a roadmap. */
3640
- delete(): LinearFetch<ArchivePayload>;
4004
+ delete(): LinearFetch<DeletePayload>;
3641
4005
  /** Unarchives a roadmap. */
3642
- unarchive(): LinearFetch<ArchivePayload>;
4006
+ unarchive(): LinearFetch<RoadmapArchivePayload>;
3643
4007
  /** Updates a roadmap. */
3644
4008
  update(input: L.RoadmapUpdateInput): LinearFetch<RoadmapPayload>;
3645
4009
  }
4010
+ /**
4011
+ * A generic payload return from entity archive mutations.
4012
+ *
4013
+ * @param request - function to call the graphql client
4014
+ * @param data - L.RoadmapArchivePayloadFragment response data
4015
+ */
4016
+ export declare class RoadmapArchivePayload extends Request {
4017
+ private _entity?;
4018
+ constructor(request: LinearRequest, data: L.RoadmapArchivePayloadFragment);
4019
+ /** The identifier of the last sync operation. */
4020
+ lastSyncId: number;
4021
+ /** Whether the operation was successful. */
4022
+ success: boolean;
4023
+ /** The archived/unarchived entity. Null if entity was deleted. */
4024
+ get entity(): LinearFetch<Roadmap> | undefined;
4025
+ }
3646
4026
  /**
3647
4027
  * RoadmapConnection model
3648
4028
  *
@@ -3700,7 +4080,7 @@ export declare class RoadmapToProject extends Request {
3700
4080
  /** Creates a new roadmapToProject join. */
3701
4081
  create(input: L.RoadmapToProjectCreateInput): LinearFetch<RoadmapToProjectPayload>;
3702
4082
  /** Deletes a roadmapToProject. */
3703
- delete(): LinearFetch<ArchivePayload>;
4083
+ delete(): LinearFetch<DeletePayload>;
3704
4084
  /** Updates a roadmapToProject. */
3705
4085
  update(input: L.RoadmapToProjectUpdateInput): LinearFetch<RoadmapToProjectPayload>;
3706
4086
  }
@@ -3902,6 +4282,8 @@ export declare class Team extends Request {
3902
4282
  id: string;
3903
4283
  /** Unique hash for the team to be used in invite URLs. */
3904
4284
  inviteHash: string;
4285
+ /** Number of issues in the team. */
4286
+ issueCount: number;
3905
4287
  /** Whether to allow zeros in issues estimates. */
3906
4288
  issueEstimationAllowZero: boolean;
3907
4289
  /** Whether to add additional points to the estimate scale. */
@@ -3983,7 +4365,7 @@ export declare class Team extends Request {
3983
4365
  /** Creates a new team. The user who creates the team will automatically be added as a member to the newly created team. */
3984
4366
  create(input: L.TeamCreateInput, variables?: Omit<L.CreateTeamMutationVariables, "input">): LinearFetch<TeamPayload>;
3985
4367
  /** Deletes a team. */
3986
- delete(): LinearFetch<ArchivePayload>;
4368
+ delete(): LinearFetch<DeletePayload>;
3987
4369
  /** Updates a team. */
3988
4370
  update(input: L.TeamUpdateInput): LinearFetch<TeamPayload>;
3989
4371
  }
@@ -4030,7 +4412,7 @@ export declare class TeamMembership extends Request {
4030
4412
  /** Creates a new team membership. */
4031
4413
  create(input: L.TeamMembershipCreateInput): LinearFetch<TeamMembershipPayload>;
4032
4414
  /** Deletes a team membership. */
4033
- delete(): LinearFetch<ArchivePayload>;
4415
+ delete(): LinearFetch<DeletePayload>;
4034
4416
  /** Updates a team membership. */
4035
4417
  update(input: L.TeamMembershipUpdateInput): LinearFetch<TeamMembershipPayload>;
4036
4418
  }
@@ -4067,9 +4449,13 @@ export declare class TeamMembershipPayload extends Request {
4067
4449
  * @param data - L.TeamNotificationSubscriptionFragment response data
4068
4450
  */
4069
4451
  export declare class TeamNotificationSubscription extends Request {
4452
+ private _customView?;
4453
+ private _cycle?;
4454
+ private _label?;
4070
4455
  private _project?;
4456
+ private _subscriber;
4071
4457
  private _team;
4072
- private _user;
4458
+ private _user?;
4073
4459
  constructor(request: LinearRequest, data: L.TeamNotificationSubscriptionFragment);
4074
4460
  /** The time at which the entity was archived. Null if the entity has not been archived. */
4075
4461
  archivedAt?: Date;
@@ -4077,19 +4463,27 @@ export declare class TeamNotificationSubscription extends Request {
4077
4463
  createdAt: Date;
4078
4464
  /** The unique identifier of the entity. */
4079
4465
  id: string;
4080
- /** The type of the subscription. */
4081
- type: string;
4466
+ /** The type of subscription. */
4467
+ notificationSubscriptionTypes: string[];
4082
4468
  /**
4083
4469
  * The last time at which the entity was meaningfully updated, i.e. for all changes of syncable properties except those
4084
4470
  * 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
4085
4471
  * been updated after creation.
4086
4472
  */
4087
4473
  updatedAt: Date;
4088
- /** Subscribed project. */
4474
+ /** The contextual custom view associated with the notification subscription. */
4475
+ get customView(): LinearFetch<CustomView> | undefined;
4476
+ /** The contextual cycle view associated with the notification subscription. */
4477
+ get cycle(): LinearFetch<Cycle> | undefined;
4478
+ /** The contextual label view associated with the notification subscription. */
4479
+ get label(): LinearFetch<IssueLabel> | undefined;
4480
+ /** The contextual project view associated with the notification subscription. */
4089
4481
  get project(): LinearFetch<Project> | undefined;
4482
+ /** The user that subscribed to receive notifications. */
4483
+ get subscriber(): LinearFetch<User> | undefined;
4090
4484
  /** The team subscribed to. */
4091
4485
  get team(): LinearFetch<Team> | undefined;
4092
- /** The user associated with notification subscriptions. */
4486
+ /** The user view associated with the notification subscription. */
4093
4487
  get user(): LinearFetch<User> | undefined;
4094
4488
  }
4095
4489
  /**
@@ -4150,7 +4544,7 @@ export declare class Template extends Request {
4150
4544
  /** Creates a new template. */
4151
4545
  create(input: L.TemplateCreateInput): LinearFetch<TemplatePayload>;
4152
4546
  /** Deletes a template. */
4153
- delete(): LinearFetch<ArchivePayload>;
4547
+ delete(): LinearFetch<DeletePayload>;
4154
4548
  /** Updates an existing template. */
4155
4549
  update(input: L.TemplateUpdateInput): LinearFetch<TemplatePayload>;
4156
4550
  }
@@ -4382,6 +4776,50 @@ export declare class UserAuthorizedApplication extends Request {
4382
4776
  export declare class UserConnection extends Connection<User> {
4383
4777
  constructor(request: LinearRequest, fetch: (connection?: LinearConnectionVariables) => LinearFetch<LinearConnection<User> | undefined>, data: L.UserConnectionFragment);
4384
4778
  }
4779
+ /**
4780
+ * A user notification subscription.
4781
+ *
4782
+ * @param request - function to call the graphql client
4783
+ * @param data - L.UserNotificationSubscriptionFragment response data
4784
+ */
4785
+ export declare class UserNotificationSubscription extends Request {
4786
+ private _customView?;
4787
+ private _cycle?;
4788
+ private _label?;
4789
+ private _project?;
4790
+ private _subscriber;
4791
+ private _team?;
4792
+ private _user;
4793
+ constructor(request: LinearRequest, data: L.UserNotificationSubscriptionFragment);
4794
+ /** The time at which the entity was archived. Null if the entity has not been archived. */
4795
+ archivedAt?: Date;
4796
+ /** The time at which the entity was created. */
4797
+ createdAt: Date;
4798
+ /** The unique identifier of the entity. */
4799
+ id: string;
4800
+ /** The type of subscription. */
4801
+ notificationSubscriptionTypes: string[];
4802
+ /**
4803
+ * The last time at which the entity was meaningfully updated, i.e. for all changes of syncable properties except those
4804
+ * 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
4805
+ * been updated after creation.
4806
+ */
4807
+ updatedAt: Date;
4808
+ /** The contextual custom view associated with the notification subscription. */
4809
+ get customView(): LinearFetch<CustomView> | undefined;
4810
+ /** The contextual cycle view associated with the notification subscription. */
4811
+ get cycle(): LinearFetch<Cycle> | undefined;
4812
+ /** The contextual label view associated with the notification subscription. */
4813
+ get label(): LinearFetch<IssueLabel> | undefined;
4814
+ /** The contextual project view associated with the notification subscription. */
4815
+ get project(): LinearFetch<Project> | undefined;
4816
+ /** The user that subscribed to receive notifications. */
4817
+ get subscriber(): LinearFetch<User> | undefined;
4818
+ /** The team associated with the notification subscription. */
4819
+ get team(): LinearFetch<Team> | undefined;
4820
+ /** The user subscribed to. */
4821
+ get user(): LinearFetch<User> | undefined;
4822
+ }
4385
4823
  /**
4386
4824
  * UserPayload model
4387
4825
  *
@@ -4504,7 +4942,7 @@ export declare class ViewPreferences extends Request {
4504
4942
  /** Creates a new ViewPreferences object. */
4505
4943
  create(input: L.ViewPreferencesCreateInput): LinearFetch<ViewPreferencesPayload>;
4506
4944
  /** Deletes a ViewPreferences. */
4507
- delete(): LinearFetch<ArchivePayload>;
4945
+ delete(): LinearFetch<DeletePayload>;
4508
4946
  /** Updates an existing ViewPreferences object. */
4509
4947
  update(input: L.ViewPreferencesUpdateInput): LinearFetch<ViewPreferencesPayload>;
4510
4948
  }
@@ -4564,7 +5002,7 @@ export declare class Webhook extends Request {
4564
5002
  /** Creates a new webhook. */
4565
5003
  create(input: L.WebhookCreateInput): LinearFetch<WebhookPayload>;
4566
5004
  /** Deletes a Webhook. */
4567
- delete(): LinearFetch<ArchivePayload>;
5005
+ delete(): LinearFetch<DeletePayload>;
4568
5006
  /** Updates an existing Webhook. */
4569
5007
  update(input: L.WebhookUpdateInput): LinearFetch<WebhookPayload>;
4570
5008
  }
@@ -4650,7 +5088,12 @@ export declare class WorkflowCronJobDefinitionConnection extends Connection<Work
4650
5088
  */
4651
5089
  export declare class WorkflowDefinition extends Request {
4652
5090
  private _creator;
5091
+ private _customView?;
5092
+ private _cycle?;
5093
+ private _label?;
5094
+ private _project?;
4653
5095
  private _team?;
5096
+ private _user?;
4654
5097
  constructor(request: LinearRequest, data: L.WorkflowDefinitionFragment);
4655
5098
  /** An array of activities that will be executed as part of the workflow. */
4656
5099
  activities: Record<string, unknown>;
@@ -4679,8 +5122,18 @@ export declare class WorkflowDefinition extends Request {
4679
5122
  updatedAt: Date;
4680
5123
  /** The user who created the workflow. */
4681
5124
  get creator(): LinearFetch<User> | undefined;
5125
+ /** The context custom view associated with the workflow. */
5126
+ get customView(): LinearFetch<CustomView> | undefined;
5127
+ /** The contextual cycle view associated with the workflow. */
5128
+ get cycle(): LinearFetch<Cycle> | undefined;
5129
+ /** The contextual label view associated with the workflow. */
5130
+ get label(): LinearFetch<IssueLabel> | undefined;
5131
+ /** The contextual project view associated with the workflow. */
5132
+ get project(): LinearFetch<Project> | undefined;
4682
5133
  /** The team associated with the workflow. If not set, the workflow is associated with the entire organization. */
4683
5134
  get team(): LinearFetch<Team> | undefined;
5135
+ /** The contextual user view associated with the workflow. */
5136
+ get user(): LinearFetch<User> | undefined;
4684
5137
  }
4685
5138
  /**
4686
5139
  * WorkflowDefinitionConnection model
@@ -4728,12 +5181,28 @@ export declare class WorkflowState extends Request {
4728
5181
  /** Issues belonging in this state. */
4729
5182
  issues(variables?: Omit<L.WorkflowState_IssuesQueryVariables, "id">): LinearFetch<IssueConnection>;
4730
5183
  /** Archives a state. Only states with issues that have all been archived can be archived. */
4731
- archive(): LinearFetch<ArchivePayload>;
5184
+ archive(): LinearFetch<WorkflowStateArchivePayload>;
4732
5185
  /** Creates a new state, adding it to the workflow of a team. */
4733
5186
  create(input: L.WorkflowStateCreateInput): LinearFetch<WorkflowStatePayload>;
4734
5187
  /** Updates a state. */
4735
5188
  update(input: L.WorkflowStateUpdateInput): LinearFetch<WorkflowStatePayload>;
4736
5189
  }
5190
+ /**
5191
+ * A generic payload return from entity archive mutations.
5192
+ *
5193
+ * @param request - function to call the graphql client
5194
+ * @param data - L.WorkflowStateArchivePayloadFragment response data
5195
+ */
5196
+ export declare class WorkflowStateArchivePayload extends Request {
5197
+ private _entity?;
5198
+ constructor(request: LinearRequest, data: L.WorkflowStateArchivePayloadFragment);
5199
+ /** The identifier of the last sync operation. */
5200
+ lastSyncId: number;
5201
+ /** Whether the operation was successful. */
5202
+ success: boolean;
5203
+ /** The archived/unarchived entity. Null if entity was deleted. */
5204
+ get entity(): LinearFetch<WorkflowState> | undefined;
5205
+ }
4737
5206
  /**
4738
5207
  * WorkflowStateConnection model
4739
5208
  *
@@ -4823,12 +5292,12 @@ export declare class CreateApiKeyMutation extends Request {
4823
5292
  export declare class DeleteApiKeyMutation extends Request {
4824
5293
  constructor(request: LinearRequest);
4825
5294
  /**
4826
- * Call the DeleteApiKey mutation and return a ArchivePayload
5295
+ * Call the DeleteApiKey mutation and return a DeletePayload
4827
5296
  *
4828
5297
  * @param id - required id to pass to deleteApiKey
4829
5298
  * @returns parsed response from DeleteApiKeyMutation
4830
5299
  */
4831
- fetch(id: string): LinearFetch<ArchivePayload>;
5300
+ fetch(id: string): LinearFetch<DeletePayload>;
4832
5301
  }
4833
5302
  /**
4834
5303
  * A fetchable ArchiveAttachment Mutation
@@ -4838,12 +5307,12 @@ export declare class DeleteApiKeyMutation extends Request {
4838
5307
  export declare class ArchiveAttachmentMutation extends Request {
4839
5308
  constructor(request: LinearRequest);
4840
5309
  /**
4841
- * Call the ArchiveAttachment mutation and return a ArchivePayload
5310
+ * Call the ArchiveAttachment mutation and return a AttachmentArchivePayload
4842
5311
  *
4843
5312
  * @param id - required id to pass to archiveAttachment
4844
5313
  * @returns parsed response from ArchiveAttachmentMutation
4845
5314
  */
4846
- fetch(id: string): LinearFetch<ArchivePayload>;
5315
+ fetch(id: string): LinearFetch<AttachmentArchivePayload>;
4847
5316
  }
4848
5317
  /**
4849
5318
  * A fetchable CreateAttachment Mutation
@@ -4868,12 +5337,12 @@ export declare class CreateAttachmentMutation extends Request {
4868
5337
  export declare class DeleteAttachmentMutation extends Request {
4869
5338
  constructor(request: LinearRequest);
4870
5339
  /**
4871
- * Call the DeleteAttachment mutation and return a ArchivePayload
5340
+ * Call the DeleteAttachment mutation and return a DeletePayload
4872
5341
  *
4873
5342
  * @param id - required id to pass to deleteAttachment
4874
5343
  * @returns parsed response from DeleteAttachmentMutation
4875
5344
  */
4876
- fetch(id: string): LinearFetch<ArchivePayload>;
5345
+ fetch(id: string): LinearFetch<DeletePayload>;
4877
5346
  }
4878
5347
  /**
4879
5348
  * A fetchable AttachmentLinkDiscord Mutation
@@ -4941,6 +5410,25 @@ export declare class AttachmentLinkJiraIssueMutation extends Request {
4941
5410
  */
4942
5411
  fetch(issueId: string, jiraIssueId: string): LinearFetch<AttachmentPayload>;
4943
5412
  }
5413
+ /**
5414
+ * A fetchable AttachmentLinkSlack Mutation
5415
+ *
5416
+ * @param request - function to call the graphql client
5417
+ */
5418
+ export declare class AttachmentLinkSlackMutation extends Request {
5419
+ constructor(request: LinearRequest);
5420
+ /**
5421
+ * Call the AttachmentLinkSlack mutation and return a AttachmentPayload
5422
+ *
5423
+ * @param channel - required channel to pass to attachmentLinkSlack
5424
+ * @param issueId - required issueId to pass to attachmentLinkSlack
5425
+ * @param latest - required latest to pass to attachmentLinkSlack
5426
+ * @param url - required url to pass to attachmentLinkSlack
5427
+ * @param variables - variables without 'channel', 'issueId', 'latest', 'url' to pass into the AttachmentLinkSlackMutation
5428
+ * @returns parsed response from AttachmentLinkSlackMutation
5429
+ */
5430
+ fetch(channel: string, issueId: string, latest: string, url: string, variables?: Omit<L.AttachmentLinkSlackMutationVariables, "channel" | "issueId" | "latest" | "url">): LinearFetch<AttachmentPayload>;
5431
+ }
4944
5432
  /**
4945
5433
  * A fetchable AttachmentLinkUrl Mutation
4946
5434
  *
@@ -4974,6 +5462,21 @@ export declare class AttachmentLinkZendeskMutation extends Request {
4974
5462
  */
4975
5463
  fetch(issueId: string, ticketId: string): LinearFetch<AttachmentPayload>;
4976
5464
  }
5465
+ /**
5466
+ * A fetchable AttachmentUnsyncSlack Mutation
5467
+ *
5468
+ * @param request - function to call the graphql client
5469
+ */
5470
+ export declare class AttachmentUnsyncSlackMutation extends Request {
5471
+ constructor(request: LinearRequest);
5472
+ /**
5473
+ * Call the AttachmentUnsyncSlack mutation and return a AttachmentPayload
5474
+ *
5475
+ * @param id - required id to pass to attachmentUnsyncSlack
5476
+ * @returns parsed response from AttachmentUnsyncSlackMutation
5477
+ */
5478
+ fetch(id: string): LinearFetch<AttachmentPayload>;
5479
+ }
4977
5480
  /**
4978
5481
  * A fetchable UpdateAttachment Mutation
4979
5482
  *
@@ -5013,12 +5516,12 @@ export declare class CreateCommentMutation extends Request {
5013
5516
  export declare class DeleteCommentMutation extends Request {
5014
5517
  constructor(request: LinearRequest);
5015
5518
  /**
5016
- * Call the DeleteComment mutation and return a ArchivePayload
5519
+ * Call the DeleteComment mutation and return a DeletePayload
5017
5520
  *
5018
5521
  * @param id - required id to pass to deleteComment
5019
5522
  * @returns parsed response from DeleteCommentMutation
5020
5523
  */
5021
- fetch(id: string): LinearFetch<ArchivePayload>;
5524
+ fetch(id: string): LinearFetch<DeletePayload>;
5022
5525
  }
5023
5526
  /**
5024
5527
  * A fetchable UpdateComment Mutation
@@ -5105,12 +5608,12 @@ export declare class CreateCustomViewMutation extends Request {
5105
5608
  export declare class DeleteCustomViewMutation extends Request {
5106
5609
  constructor(request: LinearRequest);
5107
5610
  /**
5108
- * Call the DeleteCustomView mutation and return a ArchivePayload
5611
+ * Call the DeleteCustomView mutation and return a DeletePayload
5109
5612
  *
5110
5613
  * @param id - required id to pass to deleteCustomView
5111
5614
  * @returns parsed response from DeleteCustomViewMutation
5112
5615
  */
5113
- fetch(id: string): LinearFetch<ArchivePayload>;
5616
+ fetch(id: string): LinearFetch<DeletePayload>;
5114
5617
  }
5115
5618
  /**
5116
5619
  * A fetchable UpdateCustomView Mutation
@@ -5136,12 +5639,12 @@ export declare class UpdateCustomViewMutation extends Request {
5136
5639
  export declare class ArchiveCycleMutation extends Request {
5137
5640
  constructor(request: LinearRequest);
5138
5641
  /**
5139
- * Call the ArchiveCycle mutation and return a ArchivePayload
5642
+ * Call the ArchiveCycle mutation and return a CycleArchivePayload
5140
5643
  *
5141
5644
  * @param id - required id to pass to archiveCycle
5142
5645
  * @returns parsed response from ArchiveCycleMutation
5143
5646
  */
5144
- fetch(id: string): LinearFetch<ArchivePayload>;
5647
+ fetch(id: string): LinearFetch<CycleArchivePayload>;
5145
5648
  }
5146
5649
  /**
5147
5650
  * A fetchable CreateCycle Mutation
@@ -5197,12 +5700,12 @@ export declare class CreateDocumentMutation extends Request {
5197
5700
  export declare class DeleteDocumentMutation extends Request {
5198
5701
  constructor(request: LinearRequest);
5199
5702
  /**
5200
- * Call the DeleteDocument mutation and return a ArchivePayload
5703
+ * Call the DeleteDocument mutation and return a DeletePayload
5201
5704
  *
5202
5705
  * @param id - required id to pass to deleteDocument
5203
5706
  * @returns parsed response from DeleteDocumentMutation
5204
5707
  */
5205
- fetch(id: string): LinearFetch<ArchivePayload>;
5708
+ fetch(id: string): LinearFetch<DeletePayload>;
5206
5709
  }
5207
5710
  /**
5208
5711
  * A fetchable UpdateDocument Mutation
@@ -5288,27 +5791,12 @@ export declare class CreateEmojiMutation extends Request {
5288
5791
  export declare class DeleteEmojiMutation extends Request {
5289
5792
  constructor(request: LinearRequest);
5290
5793
  /**
5291
- * Call the DeleteEmoji mutation and return a ArchivePayload
5794
+ * Call the DeleteEmoji mutation and return a DeletePayload
5292
5795
  *
5293
5796
  * @param id - required id to pass to deleteEmoji
5294
5797
  * @returns parsed response from DeleteEmojiMutation
5295
5798
  */
5296
- fetch(id: string): LinearFetch<ArchivePayload>;
5297
- }
5298
- /**
5299
- * A fetchable CreateEvent Mutation
5300
- *
5301
- * @param request - function to call the graphql client
5302
- */
5303
- export declare class CreateEventMutation extends Request {
5304
- constructor(request: LinearRequest);
5305
- /**
5306
- * Call the CreateEvent mutation and return a EventPayload
5307
- *
5308
- * @param input - required input to pass to createEvent
5309
- * @returns parsed response from CreateEventMutation
5310
- */
5311
- fetch(input: L.EventCreateInput): LinearFetch<EventPayload>;
5799
+ fetch(id: string): LinearFetch<DeletePayload>;
5312
5800
  }
5313
5801
  /**
5314
5802
  * A fetchable CreateFavorite Mutation
@@ -5333,12 +5821,12 @@ export declare class CreateFavoriteMutation extends Request {
5333
5821
  export declare class DeleteFavoriteMutation extends Request {
5334
5822
  constructor(request: LinearRequest);
5335
5823
  /**
5336
- * Call the DeleteFavorite mutation and return a ArchivePayload
5824
+ * Call the DeleteFavorite mutation and return a DeletePayload
5337
5825
  *
5338
5826
  * @param id - required id to pass to deleteFavorite
5339
5827
  * @returns parsed response from DeleteFavoriteMutation
5340
5828
  */
5341
- fetch(id: string): LinearFetch<ArchivePayload>;
5829
+ fetch(id: string): LinearFetch<DeletePayload>;
5342
5830
  }
5343
5831
  /**
5344
5832
  * A fetchable UpdateFavorite Mutation
@@ -5430,12 +5918,12 @@ export declare class ImportFileUploadMutation extends Request {
5430
5918
  export declare class DeleteIntegrationMutation extends Request {
5431
5919
  constructor(request: LinearRequest);
5432
5920
  /**
5433
- * Call the DeleteIntegration mutation and return a ArchivePayload
5921
+ * Call the DeleteIntegration mutation and return a DeletePayload
5434
5922
  *
5435
5923
  * @param id - required id to pass to deleteIntegration
5436
5924
  * @returns parsed response from DeleteIntegrationMutation
5437
5925
  */
5438
- fetch(id: string): LinearFetch<ArchivePayload>;
5926
+ fetch(id: string): LinearFetch<DeletePayload>;
5439
5927
  }
5440
5928
  /**
5441
5929
  * A fetchable IntegrationDiscord Mutation
@@ -5655,34 +6143,34 @@ export declare class IntegrationSlackMutation extends Request {
5655
6143
  fetch(code: string, redirectUri: string, variables?: Omit<L.IntegrationSlackMutationVariables, "code" | "redirectUri">): LinearFetch<IntegrationPayload>;
5656
6144
  }
5657
6145
  /**
5658
- * A fetchable IntegrationSlackImportEmojis Mutation
6146
+ * A fetchable IntegrationSlackAsks Mutation
5659
6147
  *
5660
6148
  * @param request - function to call the graphql client
5661
6149
  */
5662
- export declare class IntegrationSlackImportEmojisMutation extends Request {
6150
+ export declare class IntegrationSlackAsksMutation extends Request {
5663
6151
  constructor(request: LinearRequest);
5664
6152
  /**
5665
- * Call the IntegrationSlackImportEmojis mutation and return a IntegrationPayload
6153
+ * Call the IntegrationSlackAsks mutation and return a IntegrationPayload
5666
6154
  *
5667
- * @param code - required code to pass to integrationSlackImportEmojis
5668
- * @param redirectUri - required redirectUri to pass to integrationSlackImportEmojis
5669
- * @returns parsed response from IntegrationSlackImportEmojisMutation
6155
+ * @param code - required code to pass to integrationSlackAsks
6156
+ * @param redirectUri - required redirectUri to pass to integrationSlackAsks
6157
+ * @returns parsed response from IntegrationSlackAsksMutation
5670
6158
  */
5671
6159
  fetch(code: string, redirectUri: string): LinearFetch<IntegrationPayload>;
5672
6160
  }
5673
6161
  /**
5674
- * A fetchable IntegrationSlackIntake Mutation
6162
+ * A fetchable IntegrationSlackImportEmojis Mutation
5675
6163
  *
5676
6164
  * @param request - function to call the graphql client
5677
6165
  */
5678
- export declare class IntegrationSlackIntakeMutation extends Request {
6166
+ export declare class IntegrationSlackImportEmojisMutation extends Request {
5679
6167
  constructor(request: LinearRequest);
5680
6168
  /**
5681
- * Call the IntegrationSlackIntake mutation and return a IntegrationPayload
6169
+ * Call the IntegrationSlackImportEmojis mutation and return a IntegrationPayload
5682
6170
  *
5683
- * @param code - required code to pass to integrationSlackIntake
5684
- * @param redirectUri - required redirectUri to pass to integrationSlackIntake
5685
- * @returns parsed response from IntegrationSlackIntakeMutation
6171
+ * @param code - required code to pass to integrationSlackImportEmojis
6172
+ * @param redirectUri - required redirectUri to pass to integrationSlackImportEmojis
6173
+ * @returns parsed response from IntegrationSlackImportEmojisMutation
5686
6174
  */
5687
6175
  fetch(code: string, redirectUri: string): LinearFetch<IntegrationPayload>;
5688
6176
  }
@@ -5777,12 +6265,12 @@ export declare class CreateIntegrationTemplateMutation extends Request {
5777
6265
  export declare class DeleteIntegrationTemplateMutation extends Request {
5778
6266
  constructor(request: LinearRequest);
5779
6267
  /**
5780
- * Call the DeleteIntegrationTemplate mutation and return a ArchivePayload
6268
+ * Call the DeleteIntegrationTemplate mutation and return a DeletePayload
5781
6269
  *
5782
6270
  * @param id - required id to pass to deleteIntegrationTemplate
5783
6271
  * @returns parsed response from DeleteIntegrationTemplateMutation
5784
6272
  */
5785
- fetch(id: string): LinearFetch<ArchivePayload>;
6273
+ fetch(id: string): LinearFetch<DeletePayload>;
5786
6274
  }
5787
6275
  /**
5788
6276
  * A fetchable IntegrationUpdateSlack Mutation
@@ -5857,13 +6345,13 @@ export declare class UpdateIntegrationsSettingsMutation extends Request {
5857
6345
  export declare class ArchiveIssueMutation extends Request {
5858
6346
  constructor(request: LinearRequest);
5859
6347
  /**
5860
- * Call the ArchiveIssue mutation and return a ArchivePayload
6348
+ * Call the ArchiveIssue mutation and return a IssueArchivePayload
5861
6349
  *
5862
6350
  * @param id - required id to pass to archiveIssue
5863
6351
  * @param variables - variables without 'id' to pass into the ArchiveIssueMutation
5864
6352
  * @returns parsed response from ArchiveIssueMutation
5865
6353
  */
5866
- fetch(id: string, variables?: Omit<L.ArchiveIssueMutationVariables, "id">): LinearFetch<ArchivePayload>;
6354
+ fetch(id: string, variables?: Omit<L.ArchiveIssueMutationVariables, "id">): LinearFetch<IssueArchivePayload>;
5867
6355
  }
5868
6356
  /**
5869
6357
  * A fetchable UpdateIssueBatch Mutation
@@ -5904,12 +6392,12 @@ export declare class CreateIssueMutation extends Request {
5904
6392
  export declare class DeleteIssueMutation extends Request {
5905
6393
  constructor(request: LinearRequest);
5906
6394
  /**
5907
- * Call the DeleteIssue mutation and return a ArchivePayload
6395
+ * Call the DeleteIssue mutation and return a IssueArchivePayload
5908
6396
  *
5909
6397
  * @param id - required id to pass to deleteIssue
5910
6398
  * @returns parsed response from DeleteIssueMutation
5911
6399
  */
5912
- fetch(id: string): LinearFetch<ArchivePayload>;
6400
+ fetch(id: string): LinearFetch<IssueArchivePayload>;
5913
6401
  }
5914
6402
  /**
5915
6403
  * A fetchable IssueImportCreateAsana Mutation
@@ -6045,21 +6533,6 @@ export declare class UpdateIssueImportMutation extends Request {
6045
6533
  */
6046
6534
  fetch(id: string, input: L.IssueImportUpdateInput): LinearFetch<IssueImportPayload>;
6047
6535
  }
6048
- /**
6049
- * A fetchable ArchiveIssueLabel Mutation
6050
- *
6051
- * @param request - function to call the graphql client
6052
- */
6053
- export declare class ArchiveIssueLabelMutation extends Request {
6054
- constructor(request: LinearRequest);
6055
- /**
6056
- * Call the ArchiveIssueLabel mutation and return a ArchivePayload
6057
- *
6058
- * @param id - required id to pass to archiveIssueLabel
6059
- * @returns parsed response from ArchiveIssueLabelMutation
6060
- */
6061
- fetch(id: string): LinearFetch<ArchivePayload>;
6062
- }
6063
6536
  /**
6064
6537
  * A fetchable CreateIssueLabel Mutation
6065
6538
  *
@@ -6084,12 +6557,12 @@ export declare class CreateIssueLabelMutation extends Request {
6084
6557
  export declare class DeleteIssueLabelMutation extends Request {
6085
6558
  constructor(request: LinearRequest);
6086
6559
  /**
6087
- * Call the DeleteIssueLabel mutation and return a ArchivePayload
6560
+ * Call the DeleteIssueLabel mutation and return a DeletePayload
6088
6561
  *
6089
6562
  * @param id - required id to pass to deleteIssueLabel
6090
6563
  * @returns parsed response from DeleteIssueLabelMutation
6091
6564
  */
6092
- fetch(id: string): LinearFetch<ArchivePayload>;
6565
+ fetch(id: string): LinearFetch<DeletePayload>;
6093
6566
  }
6094
6567
  /**
6095
6568
  * A fetchable UpdateIssueLabel Mutation
@@ -6130,12 +6603,12 @@ export declare class CreateIssueRelationMutation extends Request {
6130
6603
  export declare class DeleteIssueRelationMutation extends Request {
6131
6604
  constructor(request: LinearRequest);
6132
6605
  /**
6133
- * Call the DeleteIssueRelation mutation and return a ArchivePayload
6606
+ * Call the DeleteIssueRelation mutation and return a DeletePayload
6134
6607
  *
6135
6608
  * @param id - required id to pass to deleteIssueRelation
6136
6609
  * @returns parsed response from DeleteIssueRelationMutation
6137
6610
  */
6138
- fetch(id: string): LinearFetch<ArchivePayload>;
6611
+ fetch(id: string): LinearFetch<DeletePayload>;
6139
6612
  }
6140
6613
  /**
6141
6614
  * A fetchable UpdateIssueRelation Mutation
@@ -6177,12 +6650,12 @@ export declare class IssueReminderMutation extends Request {
6177
6650
  export declare class UnarchiveIssueMutation extends Request {
6178
6651
  constructor(request: LinearRequest);
6179
6652
  /**
6180
- * Call the UnarchiveIssue mutation and return a ArchivePayload
6653
+ * Call the UnarchiveIssue mutation and return a IssueArchivePayload
6181
6654
  *
6182
6655
  * @param id - required id to pass to unarchiveIssue
6183
6656
  * @returns parsed response from UnarchiveIssueMutation
6184
6657
  */
6185
- fetch(id: string): LinearFetch<ArchivePayload>;
6658
+ fetch(id: string): LinearFetch<IssueArchivePayload>;
6186
6659
  }
6187
6660
  /**
6188
6661
  * A fetchable UpdateIssue Mutation
@@ -6252,12 +6725,74 @@ export declare class LogoutMutation extends Request {
6252
6725
  export declare class ArchiveNotificationMutation extends Request {
6253
6726
  constructor(request: LinearRequest);
6254
6727
  /**
6255
- * Call the ArchiveNotification mutation and return a ArchivePayload
6728
+ * Call the ArchiveNotification mutation and return a NotificationArchivePayload
6256
6729
  *
6257
6730
  * @param id - required id to pass to archiveNotification
6258
6731
  * @returns parsed response from ArchiveNotificationMutation
6259
6732
  */
6260
- fetch(id: string): LinearFetch<ArchivePayload>;
6733
+ fetch(id: string): LinearFetch<NotificationArchivePayload>;
6734
+ }
6735
+ /**
6736
+ * A fetchable NotificationArchiveAll Mutation
6737
+ *
6738
+ * @param request - function to call the graphql client
6739
+ */
6740
+ export declare class NotificationArchiveAllMutation extends Request {
6741
+ constructor(request: LinearRequest);
6742
+ /**
6743
+ * Call the NotificationArchiveAll mutation and return a NotificationBatchActionPayload
6744
+ *
6745
+ * @param input - required input to pass to notificationArchiveAll
6746
+ * @returns parsed response from NotificationArchiveAllMutation
6747
+ */
6748
+ fetch(input: L.NotificationEntityInput): LinearFetch<NotificationBatchActionPayload>;
6749
+ }
6750
+ /**
6751
+ * A fetchable NotificationMarkReadAll Mutation
6752
+ *
6753
+ * @param request - function to call the graphql client
6754
+ */
6755
+ export declare class NotificationMarkReadAllMutation extends Request {
6756
+ constructor(request: LinearRequest);
6757
+ /**
6758
+ * Call the NotificationMarkReadAll mutation and return a NotificationBatchActionPayload
6759
+ *
6760
+ * @param input - required input to pass to notificationMarkReadAll
6761
+ * @param readAt - required readAt to pass to notificationMarkReadAll
6762
+ * @returns parsed response from NotificationMarkReadAllMutation
6763
+ */
6764
+ fetch(input: L.NotificationEntityInput, readAt: Date): LinearFetch<NotificationBatchActionPayload>;
6765
+ }
6766
+ /**
6767
+ * A fetchable NotificationMarkUnreadAll Mutation
6768
+ *
6769
+ * @param request - function to call the graphql client
6770
+ */
6771
+ export declare class NotificationMarkUnreadAllMutation extends Request {
6772
+ constructor(request: LinearRequest);
6773
+ /**
6774
+ * Call the NotificationMarkUnreadAll mutation and return a NotificationBatchActionPayload
6775
+ *
6776
+ * @param input - required input to pass to notificationMarkUnreadAll
6777
+ * @returns parsed response from NotificationMarkUnreadAllMutation
6778
+ */
6779
+ fetch(input: L.NotificationEntityInput): LinearFetch<NotificationBatchActionPayload>;
6780
+ }
6781
+ /**
6782
+ * A fetchable NotificationSnoozeAll Mutation
6783
+ *
6784
+ * @param request - function to call the graphql client
6785
+ */
6786
+ export declare class NotificationSnoozeAllMutation extends Request {
6787
+ constructor(request: LinearRequest);
6788
+ /**
6789
+ * Call the NotificationSnoozeAll mutation and return a NotificationBatchActionPayload
6790
+ *
6791
+ * @param input - required input to pass to notificationSnoozeAll
6792
+ * @param snoozedUntilAt - required snoozedUntilAt to pass to notificationSnoozeAll
6793
+ * @returns parsed response from NotificationSnoozeAllMutation
6794
+ */
6795
+ fetch(input: L.NotificationEntityInput, snoozedUntilAt: Date): LinearFetch<NotificationBatchActionPayload>;
6261
6796
  }
6262
6797
  /**
6263
6798
  * A fetchable CreateNotificationSubscription Mutation
@@ -6282,12 +6817,12 @@ export declare class CreateNotificationSubscriptionMutation extends Request {
6282
6817
  export declare class DeleteNotificationSubscriptionMutation extends Request {
6283
6818
  constructor(request: LinearRequest);
6284
6819
  /**
6285
- * Call the DeleteNotificationSubscription mutation and return a ArchivePayload
6820
+ * Call the DeleteNotificationSubscription mutation and return a DeletePayload
6286
6821
  *
6287
6822
  * @param id - required id to pass to deleteNotificationSubscription
6288
6823
  * @returns parsed response from DeleteNotificationSubscriptionMutation
6289
6824
  */
6290
- fetch(id: string): LinearFetch<ArchivePayload>;
6825
+ fetch(id: string): LinearFetch<DeletePayload>;
6291
6826
  }
6292
6827
  /**
6293
6828
  * A fetchable UpdateNotificationSubscription Mutation
@@ -6313,12 +6848,28 @@ export declare class UpdateNotificationSubscriptionMutation extends Request {
6313
6848
  export declare class UnarchiveNotificationMutation extends Request {
6314
6849
  constructor(request: LinearRequest);
6315
6850
  /**
6316
- * Call the UnarchiveNotification mutation and return a ArchivePayload
6851
+ * Call the UnarchiveNotification mutation and return a NotificationArchivePayload
6317
6852
  *
6318
6853
  * @param id - required id to pass to unarchiveNotification
6319
6854
  * @returns parsed response from UnarchiveNotificationMutation
6320
6855
  */
6321
- fetch(id: string): LinearFetch<ArchivePayload>;
6856
+ fetch(id: string): LinearFetch<NotificationArchivePayload>;
6857
+ }
6858
+ /**
6859
+ * A fetchable NotificationUnsnoozeAll Mutation
6860
+ *
6861
+ * @param request - function to call the graphql client
6862
+ */
6863
+ export declare class NotificationUnsnoozeAllMutation extends Request {
6864
+ constructor(request: LinearRequest);
6865
+ /**
6866
+ * Call the NotificationUnsnoozeAll mutation and return a NotificationBatchActionPayload
6867
+ *
6868
+ * @param input - required input to pass to notificationUnsnoozeAll
6869
+ * @param unsnoozedAt - required unsnoozedAt to pass to notificationUnsnoozeAll
6870
+ * @returns parsed response from NotificationUnsnoozeAllMutation
6871
+ */
6872
+ fetch(input: L.NotificationEntityInput, unsnoozedAt: Date): LinearFetch<NotificationBatchActionPayload>;
6322
6873
  }
6323
6874
  /**
6324
6875
  * A fetchable UpdateNotification Mutation
@@ -6387,12 +6938,12 @@ export declare class OrganizationDeleteChallengeMutation extends Request {
6387
6938
  export declare class DeleteOrganizationDomainMutation extends Request {
6388
6939
  constructor(request: LinearRequest);
6389
6940
  /**
6390
- * Call the DeleteOrganizationDomain mutation and return a ArchivePayload
6941
+ * Call the DeleteOrganizationDomain mutation and return a DeletePayload
6391
6942
  *
6392
6943
  * @param id - required id to pass to deleteOrganizationDomain
6393
6944
  * @returns parsed response from DeleteOrganizationDomainMutation
6394
6945
  */
6395
- fetch(id: string): LinearFetch<ArchivePayload>;
6946
+ fetch(id: string): LinearFetch<DeletePayload>;
6396
6947
  }
6397
6948
  /**
6398
6949
  * A fetchable CreateOrganizationInvite Mutation
@@ -6417,12 +6968,12 @@ export declare class CreateOrganizationInviteMutation extends Request {
6417
6968
  export declare class DeleteOrganizationInviteMutation extends Request {
6418
6969
  constructor(request: LinearRequest);
6419
6970
  /**
6420
- * Call the DeleteOrganizationInvite mutation and return a ArchivePayload
6971
+ * Call the DeleteOrganizationInvite mutation and return a DeletePayload
6421
6972
  *
6422
6973
  * @param id - required id to pass to deleteOrganizationInvite
6423
6974
  * @returns parsed response from DeleteOrganizationInviteMutation
6424
6975
  */
6425
- fetch(id: string): LinearFetch<ArchivePayload>;
6976
+ fetch(id: string): LinearFetch<DeletePayload>;
6426
6977
  }
6427
6978
  /**
6428
6979
  * A fetchable UpdateOrganizationInvite Mutation
@@ -6477,12 +7028,12 @@ export declare class UpdateOrganizationMutation extends Request {
6477
7028
  export declare class ArchiveProjectMutation extends Request {
6478
7029
  constructor(request: LinearRequest);
6479
7030
  /**
6480
- * Call the ArchiveProject mutation and return a ArchivePayload
7031
+ * Call the ArchiveProject mutation and return a ProjectArchivePayload
6481
7032
  *
6482
7033
  * @param id - required id to pass to archiveProject
6483
7034
  * @returns parsed response from ArchiveProjectMutation
6484
7035
  */
6485
- fetch(id: string): LinearFetch<ArchivePayload>;
7036
+ fetch(id: string): LinearFetch<ProjectArchivePayload>;
6486
7037
  }
6487
7038
  /**
6488
7039
  * A fetchable CreateProject Mutation
@@ -6507,12 +7058,12 @@ export declare class CreateProjectMutation extends Request {
6507
7058
  export declare class DeleteProjectMutation extends Request {
6508
7059
  constructor(request: LinearRequest);
6509
7060
  /**
6510
- * Call the DeleteProject mutation and return a ArchivePayload
7061
+ * Call the DeleteProject mutation and return a DeletePayload
6511
7062
  *
6512
7063
  * @param id - required id to pass to deleteProject
6513
7064
  * @returns parsed response from DeleteProjectMutation
6514
7065
  */
6515
- fetch(id: string): LinearFetch<ArchivePayload>;
7066
+ fetch(id: string): LinearFetch<DeletePayload>;
6516
7067
  }
6517
7068
  /**
6518
7069
  * A fetchable CreateProjectLink Mutation
@@ -6537,12 +7088,12 @@ export declare class CreateProjectLinkMutation extends Request {
6537
7088
  export declare class DeleteProjectLinkMutation extends Request {
6538
7089
  constructor(request: LinearRequest);
6539
7090
  /**
6540
- * Call the DeleteProjectLink mutation and return a ArchivePayload
7091
+ * Call the DeleteProjectLink mutation and return a DeletePayload
6541
7092
  *
6542
7093
  * @param id - required id to pass to deleteProjectLink
6543
7094
  * @returns parsed response from DeleteProjectLinkMutation
6544
7095
  */
6545
- fetch(id: string): LinearFetch<ArchivePayload>;
7096
+ fetch(id: string): LinearFetch<DeletePayload>;
6546
7097
  }
6547
7098
  /**
6548
7099
  * A fetchable UpdateProjectLink Mutation
@@ -6583,12 +7134,12 @@ export declare class CreateProjectMilestoneMutation extends Request {
6583
7134
  export declare class DeleteProjectMilestoneMutation extends Request {
6584
7135
  constructor(request: LinearRequest);
6585
7136
  /**
6586
- * Call the DeleteProjectMilestone mutation and return a ArchivePayload
7137
+ * Call the DeleteProjectMilestone mutation and return a DeletePayload
6587
7138
  *
6588
7139
  * @param id - required id to pass to deleteProjectMilestone
6589
7140
  * @returns parsed response from DeleteProjectMilestoneMutation
6590
7141
  */
6591
- fetch(id: string): LinearFetch<ArchivePayload>;
7142
+ fetch(id: string): LinearFetch<DeletePayload>;
6592
7143
  }
6593
7144
  /**
6594
7145
  * A fetchable UpdateProjectMilestone Mutation
@@ -6614,12 +7165,12 @@ export declare class UpdateProjectMilestoneMutation extends Request {
6614
7165
  export declare class UnarchiveProjectMutation extends Request {
6615
7166
  constructor(request: LinearRequest);
6616
7167
  /**
6617
- * Call the UnarchiveProject mutation and return a ArchivePayload
7168
+ * Call the UnarchiveProject mutation and return a ProjectArchivePayload
6618
7169
  *
6619
7170
  * @param id - required id to pass to unarchiveProject
6620
7171
  * @returns parsed response from UnarchiveProjectMutation
6621
7172
  */
6622
- fetch(id: string): LinearFetch<ArchivePayload>;
7173
+ fetch(id: string): LinearFetch<ProjectArchivePayload>;
6623
7174
  }
6624
7175
  /**
6625
7176
  * A fetchable UpdateProject Mutation
@@ -6660,12 +7211,12 @@ export declare class CreateProjectUpdateMutation extends Request {
6660
7211
  export declare class DeleteProjectUpdateMutation extends Request {
6661
7212
  constructor(request: LinearRequest);
6662
7213
  /**
6663
- * Call the DeleteProjectUpdate mutation and return a ArchivePayload
7214
+ * Call the DeleteProjectUpdate mutation and return a DeletePayload
6664
7215
  *
6665
7216
  * @param id - required id to pass to deleteProjectUpdate
6666
7217
  * @returns parsed response from DeleteProjectUpdateMutation
6667
7218
  */
6668
- fetch(id: string): LinearFetch<ArchivePayload>;
7219
+ fetch(id: string): LinearFetch<DeletePayload>;
6669
7220
  }
6670
7221
  /**
6671
7222
  * A fetchable CreateProjectUpdateInteraction Mutation
@@ -6766,12 +7317,12 @@ export declare class CreateReactionMutation extends Request {
6766
7317
  export declare class DeleteReactionMutation extends Request {
6767
7318
  constructor(request: LinearRequest);
6768
7319
  /**
6769
- * Call the DeleteReaction mutation and return a ArchivePayload
7320
+ * Call the DeleteReaction mutation and return a DeletePayload
6770
7321
  *
6771
7322
  * @param id - required id to pass to deleteReaction
6772
7323
  * @returns parsed response from DeleteReactionMutation
6773
7324
  */
6774
- fetch(id: string): LinearFetch<ArchivePayload>;
7325
+ fetch(id: string): LinearFetch<DeletePayload>;
6775
7326
  }
6776
7327
  /**
6777
7328
  * A fetchable RefreshGoogleSheetsData Mutation
@@ -6796,12 +7347,12 @@ export declare class RefreshGoogleSheetsDataMutation extends Request {
6796
7347
  export declare class ResendOrganizationInviteMutation extends Request {
6797
7348
  constructor(request: LinearRequest);
6798
7349
  /**
6799
- * Call the ResendOrganizationInvite mutation and return a ArchivePayload
7350
+ * Call the ResendOrganizationInvite mutation and return a DeletePayload
6800
7351
  *
6801
7352
  * @param id - required id to pass to resendOrganizationInvite
6802
7353
  * @returns parsed response from ResendOrganizationInviteMutation
6803
7354
  */
6804
- fetch(id: string): LinearFetch<ArchivePayload>;
7355
+ fetch(id: string): LinearFetch<DeletePayload>;
6805
7356
  }
6806
7357
  /**
6807
7358
  * A fetchable ArchiveRoadmap Mutation
@@ -6811,12 +7362,12 @@ export declare class ResendOrganizationInviteMutation extends Request {
6811
7362
  export declare class ArchiveRoadmapMutation extends Request {
6812
7363
  constructor(request: LinearRequest);
6813
7364
  /**
6814
- * Call the ArchiveRoadmap mutation and return a ArchivePayload
7365
+ * Call the ArchiveRoadmap mutation and return a RoadmapArchivePayload
6815
7366
  *
6816
7367
  * @param id - required id to pass to archiveRoadmap
6817
7368
  * @returns parsed response from ArchiveRoadmapMutation
6818
7369
  */
6819
- fetch(id: string): LinearFetch<ArchivePayload>;
7370
+ fetch(id: string): LinearFetch<RoadmapArchivePayload>;
6820
7371
  }
6821
7372
  /**
6822
7373
  * A fetchable CreateRoadmap Mutation
@@ -6841,12 +7392,12 @@ export declare class CreateRoadmapMutation extends Request {
6841
7392
  export declare class DeleteRoadmapMutation extends Request {
6842
7393
  constructor(request: LinearRequest);
6843
7394
  /**
6844
- * Call the DeleteRoadmap mutation and return a ArchivePayload
7395
+ * Call the DeleteRoadmap mutation and return a DeletePayload
6845
7396
  *
6846
7397
  * @param id - required id to pass to deleteRoadmap
6847
7398
  * @returns parsed response from DeleteRoadmapMutation
6848
7399
  */
6849
- fetch(id: string): LinearFetch<ArchivePayload>;
7400
+ fetch(id: string): LinearFetch<DeletePayload>;
6850
7401
  }
6851
7402
  /**
6852
7403
  * A fetchable CreateRoadmapToProject Mutation
@@ -6871,12 +7422,12 @@ export declare class CreateRoadmapToProjectMutation extends Request {
6871
7422
  export declare class DeleteRoadmapToProjectMutation extends Request {
6872
7423
  constructor(request: LinearRequest);
6873
7424
  /**
6874
- * Call the DeleteRoadmapToProject mutation and return a ArchivePayload
7425
+ * Call the DeleteRoadmapToProject mutation and return a DeletePayload
6875
7426
  *
6876
7427
  * @param id - required id to pass to deleteRoadmapToProject
6877
7428
  * @returns parsed response from DeleteRoadmapToProjectMutation
6878
7429
  */
6879
- fetch(id: string): LinearFetch<ArchivePayload>;
7430
+ fetch(id: string): LinearFetch<DeletePayload>;
6880
7431
  }
6881
7432
  /**
6882
7433
  * A fetchable UpdateRoadmapToProject Mutation
@@ -6902,12 +7453,12 @@ export declare class UpdateRoadmapToProjectMutation extends Request {
6902
7453
  export declare class UnarchiveRoadmapMutation extends Request {
6903
7454
  constructor(request: LinearRequest);
6904
7455
  /**
6905
- * Call the UnarchiveRoadmap mutation and return a ArchivePayload
7456
+ * Call the UnarchiveRoadmap mutation and return a RoadmapArchivePayload
6906
7457
  *
6907
7458
  * @param id - required id to pass to unarchiveRoadmap
6908
7459
  * @returns parsed response from UnarchiveRoadmapMutation
6909
7460
  */
6910
- fetch(id: string): LinearFetch<ArchivePayload>;
7461
+ fetch(id: string): LinearFetch<RoadmapArchivePayload>;
6911
7462
  }
6912
7463
  /**
6913
7464
  * A fetchable UpdateRoadmap Mutation
@@ -6979,12 +7530,12 @@ export declare class DeleteTeamCyclesMutation extends Request {
6979
7530
  export declare class DeleteTeamMutation extends Request {
6980
7531
  constructor(request: LinearRequest);
6981
7532
  /**
6982
- * Call the DeleteTeam mutation and return a ArchivePayload
7533
+ * Call the DeleteTeam mutation and return a DeletePayload
6983
7534
  *
6984
7535
  * @param id - required id to pass to deleteTeam
6985
7536
  * @returns parsed response from DeleteTeamMutation
6986
7537
  */
6987
- fetch(id: string): LinearFetch<ArchivePayload>;
7538
+ fetch(id: string): LinearFetch<DeletePayload>;
6988
7539
  }
6989
7540
  /**
6990
7541
  * A fetchable DeleteTeamKey Mutation
@@ -6994,12 +7545,12 @@ export declare class DeleteTeamMutation extends Request {
6994
7545
  export declare class DeleteTeamKeyMutation extends Request {
6995
7546
  constructor(request: LinearRequest);
6996
7547
  /**
6997
- * Call the DeleteTeamKey mutation and return a ArchivePayload
7548
+ * Call the DeleteTeamKey mutation and return a DeletePayload
6998
7549
  *
6999
7550
  * @param id - required id to pass to deleteTeamKey
7000
7551
  * @returns parsed response from DeleteTeamKeyMutation
7001
7552
  */
7002
- fetch(id: string): LinearFetch<ArchivePayload>;
7553
+ fetch(id: string): LinearFetch<DeletePayload>;
7003
7554
  }
7004
7555
  /**
7005
7556
  * A fetchable CreateTeamMembership Mutation
@@ -7024,12 +7575,12 @@ export declare class CreateTeamMembershipMutation extends Request {
7024
7575
  export declare class DeleteTeamMembershipMutation extends Request {
7025
7576
  constructor(request: LinearRequest);
7026
7577
  /**
7027
- * Call the DeleteTeamMembership mutation and return a ArchivePayload
7578
+ * Call the DeleteTeamMembership mutation and return a DeletePayload
7028
7579
  *
7029
7580
  * @param id - required id to pass to deleteTeamMembership
7030
7581
  * @returns parsed response from DeleteTeamMembershipMutation
7031
7582
  */
7032
- fetch(id: string): LinearFetch<ArchivePayload>;
7583
+ fetch(id: string): LinearFetch<DeletePayload>;
7033
7584
  }
7034
7585
  /**
7035
7586
  * A fetchable UpdateTeamMembership Mutation
@@ -7086,12 +7637,12 @@ export declare class CreateTemplateMutation extends Request {
7086
7637
  export declare class DeleteTemplateMutation extends Request {
7087
7638
  constructor(request: LinearRequest);
7088
7639
  /**
7089
- * Call the DeleteTemplate mutation and return a ArchivePayload
7640
+ * Call the DeleteTemplate mutation and return a DeletePayload
7090
7641
  *
7091
7642
  * @param id - required id to pass to deleteTemplate
7092
7643
  * @returns parsed response from DeleteTemplateMutation
7093
7644
  */
7094
- fetch(id: string): LinearFetch<ArchivePayload>;
7645
+ fetch(id: string): LinearFetch<DeletePayload>;
7095
7646
  }
7096
7647
  /**
7097
7648
  * A fetchable UpdateTemplate Mutation
@@ -7376,12 +7927,12 @@ export declare class CreateViewPreferencesMutation extends Request {
7376
7927
  export declare class DeleteViewPreferencesMutation extends Request {
7377
7928
  constructor(request: LinearRequest);
7378
7929
  /**
7379
- * Call the DeleteViewPreferences mutation and return a ArchivePayload
7930
+ * Call the DeleteViewPreferences mutation and return a DeletePayload
7380
7931
  *
7381
7932
  * @param id - required id to pass to deleteViewPreferences
7382
7933
  * @returns parsed response from DeleteViewPreferencesMutation
7383
7934
  */
7384
- fetch(id: string): LinearFetch<ArchivePayload>;
7935
+ fetch(id: string): LinearFetch<DeletePayload>;
7385
7936
  }
7386
7937
  /**
7387
7938
  * A fetchable UpdateViewPreferences Mutation
@@ -7422,12 +7973,12 @@ export declare class CreateWebhookMutation extends Request {
7422
7973
  export declare class DeleteWebhookMutation extends Request {
7423
7974
  constructor(request: LinearRequest);
7424
7975
  /**
7425
- * Call the DeleteWebhook mutation and return a ArchivePayload
7976
+ * Call the DeleteWebhook mutation and return a DeletePayload
7426
7977
  *
7427
7978
  * @param id - required id to pass to deleteWebhook
7428
7979
  * @returns parsed response from DeleteWebhookMutation
7429
7980
  */
7430
- fetch(id: string): LinearFetch<ArchivePayload>;
7981
+ fetch(id: string): LinearFetch<DeletePayload>;
7431
7982
  }
7432
7983
  /**
7433
7984
  * A fetchable UpdateWebhook Mutation
@@ -7453,12 +8004,12 @@ export declare class UpdateWebhookMutation extends Request {
7453
8004
  export declare class ArchiveWorkflowStateMutation extends Request {
7454
8005
  constructor(request: LinearRequest);
7455
8006
  /**
7456
- * Call the ArchiveWorkflowState mutation and return a ArchivePayload
8007
+ * Call the ArchiveWorkflowState mutation and return a WorkflowStateArchivePayload
7457
8008
  *
7458
8009
  * @param id - required id to pass to archiveWorkflowState
7459
8010
  * @returns parsed response from ArchiveWorkflowStateMutation
7460
8011
  */
7461
- fetch(id: string): LinearFetch<ArchivePayload>;
8012
+ fetch(id: string): LinearFetch<WorkflowStateArchivePayload>;
7462
8013
  }
7463
8014
  /**
7464
8015
  * A fetchable CreateWorkflowState Mutation
@@ -7807,6 +8358,21 @@ export declare class DocumentsQuery extends Request {
7807
8358
  */
7808
8359
  fetch(variables?: L.DocumentsQueryVariables): LinearFetch<DocumentConnection>;
7809
8360
  }
8361
+ /**
8362
+ * A fetchable EmbedInfo Query
8363
+ *
8364
+ * @param request - function to call the graphql client
8365
+ */
8366
+ export declare class EmbedInfoQuery extends Request {
8367
+ constructor(request: LinearRequest);
8368
+ /**
8369
+ * Call the EmbedInfo query and return a EmbedPayload
8370
+ *
8371
+ * @param url - required url to pass to embedInfo
8372
+ * @returns parsed response from EmbedInfoQuery
8373
+ */
8374
+ fetch(url: string): LinearFetch<EmbedPayload>;
8375
+ }
7810
8376
  /**
7811
8377
  * A fetchable Emoji Query
7812
8378
  *
@@ -8109,6 +8675,21 @@ export declare class IssueRelationsQuery extends Request {
8109
8675
  */
8110
8676
  fetch(variables?: L.IssueRelationsQueryVariables): LinearFetch<IssueRelationConnection>;
8111
8677
  }
8678
+ /**
8679
+ * A fetchable IssueSearch Query
8680
+ *
8681
+ * @param request - function to call the graphql client
8682
+ */
8683
+ export declare class IssueSearchQuery extends Request {
8684
+ constructor(request: LinearRequest);
8685
+ /**
8686
+ * Call the IssueSearch query and return a IssueConnection
8687
+ *
8688
+ * @param variables - variables to pass into the IssueSearchQuery
8689
+ * @returns parsed response from IssueSearchQuery
8690
+ */
8691
+ fetch(variables?: L.IssueSearchQueryVariables): LinearFetch<IssueConnection>;
8692
+ }
8112
8693
  /**
8113
8694
  * A fetchable IssueVcsBranchSearch Query
8114
8695
  *
@@ -8167,7 +8748,7 @@ export declare class NotificationSubscriptionQuery extends Request {
8167
8748
  * @param id - required id to pass to notificationSubscription
8168
8749
  * @returns parsed response from NotificationSubscriptionQuery
8169
8750
  */
8170
- fetch(id: string): LinearFetch<ProjectNotificationSubscription | TeamNotificationSubscription | NotificationSubscription>;
8751
+ fetch(id: string): LinearFetch<CustomViewNotificationSubscription | CycleNotificationSubscription | LabelNotificationSubscription | ProjectNotificationSubscription | TeamNotificationSubscription | UserNotificationSubscription | NotificationSubscription>;
8171
8752
  }
8172
8753
  /**
8173
8754
  * A fetchable NotificationSubscriptions Query
@@ -8634,6 +9215,21 @@ export declare class TemplatesQuery extends Request {
8634
9215
  */
8635
9216
  fetch(): LinearFetch<Template[]>;
8636
9217
  }
9218
+ /**
9219
+ * A fetchable TemplatesForIntegration Query
9220
+ *
9221
+ * @param request - function to call the graphql client
9222
+ */
9223
+ export declare class TemplatesForIntegrationQuery extends Request {
9224
+ constructor(request: LinearRequest);
9225
+ /**
9226
+ * Call the TemplatesForIntegration query and return a Template list
9227
+ *
9228
+ * @param integrationType - required integrationType to pass to templatesForIntegration
9229
+ * @returns parsed response from TemplatesForIntegrationQuery
9230
+ */
9231
+ fetch(integrationType: string): LinearFetch<Template[]>;
9232
+ }
8637
9233
  /**
8638
9234
  * A fetchable User Query
8639
9235
  *
@@ -8961,6 +9557,22 @@ export declare class Cycle_UncompletedIssuesUponCloseQuery extends Request {
8961
9557
  */
8962
9558
  fetch(variables?: Omit<L.Cycle_UncompletedIssuesUponCloseQueryVariables, "id">): LinearFetch<IssueConnection>;
8963
9559
  }
9560
+ /**
9561
+ * A fetchable EmbedInfo_Embed Query
9562
+ *
9563
+ * @param request - function to call the graphql client
9564
+ * @param url - required url to pass to embedInfo
9565
+ */
9566
+ export declare class EmbedInfo_EmbedQuery extends Request {
9567
+ private _url;
9568
+ constructor(request: LinearRequest, url: string);
9569
+ /**
9570
+ * Call the EmbedInfo_Embed query and return a Embed
9571
+ *
9572
+ * @returns parsed response from EmbedInfo_EmbedQuery
9573
+ */
9574
+ fetch(): LinearFetch<Embed | undefined>;
9575
+ }
8964
9576
  /**
8965
9577
  * A fetchable Favorite_Children Query
8966
9578
  *
@@ -10008,16 +10620,16 @@ export declare class LinearSdk extends Request {
10008
10620
  * Deletes an API key.
10009
10621
  *
10010
10622
  * @param id - required id to pass to deleteApiKey
10011
- * @returns ArchivePayload
10623
+ * @returns DeletePayload
10012
10624
  */
10013
- deleteApiKey(id: string): LinearFetch<ArchivePayload>;
10625
+ deleteApiKey(id: string): LinearFetch<DeletePayload>;
10014
10626
  /**
10015
10627
  * [DEPRECATED] Archives an issue attachment.
10016
10628
  *
10017
10629
  * @param id - required id to pass to archiveAttachment
10018
- * @returns ArchivePayload
10630
+ * @returns AttachmentArchivePayload
10019
10631
  */
10020
- archiveAttachment(id: string): LinearFetch<ArchivePayload>;
10632
+ archiveAttachment(id: string): LinearFetch<AttachmentArchivePayload>;
10021
10633
  /**
10022
10634
  * Creates a new attachment, or updates existing if the same `url` and `issueId` is used.
10023
10635
  *
@@ -10029,9 +10641,9 @@ export declare class LinearSdk extends Request {
10029
10641
  * Deletes an issue attachment.
10030
10642
  *
10031
10643
  * @param id - required id to pass to deleteAttachment
10032
- * @returns ArchivePayload
10644
+ * @returns DeletePayload
10033
10645
  */
10034
- deleteAttachment(id: string): LinearFetch<ArchivePayload>;
10646
+ deleteAttachment(id: string): LinearFetch<DeletePayload>;
10035
10647
  /**
10036
10648
  * Link an existing Discord message to an issue.
10037
10649
  *
@@ -10066,6 +10678,17 @@ export declare class LinearSdk extends Request {
10066
10678
  * @returns AttachmentPayload
10067
10679
  */
10068
10680
  attachmentLinkJiraIssue(issueId: string, jiraIssueId: string): LinearFetch<AttachmentPayload>;
10681
+ /**
10682
+ * Link an existing Slack message to an issue.
10683
+ *
10684
+ * @param channel - required channel to pass to attachmentLinkSlack
10685
+ * @param issueId - required issueId to pass to attachmentLinkSlack
10686
+ * @param latest - required latest to pass to attachmentLinkSlack
10687
+ * @param url - required url to pass to attachmentLinkSlack
10688
+ * @param variables - variables without 'channel', 'issueId', 'latest', 'url' to pass into the AttachmentLinkSlackMutation
10689
+ * @returns AttachmentPayload
10690
+ */
10691
+ attachmentLinkSlack(channel: string, issueId: string, latest: string, url: string, variables?: Omit<L.AttachmentLinkSlackMutationVariables, "channel" | "issueId" | "latest" | "url">): LinearFetch<AttachmentPayload>;
10069
10692
  /**
10070
10693
  * Link any url to an issue.
10071
10694
  *
@@ -10083,6 +10706,13 @@ export declare class LinearSdk extends Request {
10083
10706
  * @returns AttachmentPayload
10084
10707
  */
10085
10708
  attachmentLinkZendesk(issueId: string, ticketId: string): LinearFetch<AttachmentPayload>;
10709
+ /**
10710
+ * Unsyncs an existing synced Slack attachment.
10711
+ *
10712
+ * @param id - required id to pass to attachmentUnsyncSlack
10713
+ * @returns AttachmentPayload
10714
+ */
10715
+ attachmentUnsyncSlack(id: string): LinearFetch<AttachmentPayload>;
10086
10716
  /**
10087
10717
  * Updates an existing issue attachment.
10088
10718
  *
@@ -10102,9 +10732,9 @@ export declare class LinearSdk extends Request {
10102
10732
  * Deletes a comment.
10103
10733
  *
10104
10734
  * @param id - required id to pass to deleteComment
10105
- * @returns ArchivePayload
10735
+ * @returns DeletePayload
10106
10736
  */
10107
- deleteComment(id: string): LinearFetch<ArchivePayload>;
10737
+ deleteComment(id: string): LinearFetch<DeletePayload>;
10108
10738
  /**
10109
10739
  * Updates a comment.
10110
10740
  *
@@ -10146,9 +10776,9 @@ export declare class LinearSdk extends Request {
10146
10776
  * Deletes a custom view.
10147
10777
  *
10148
10778
  * @param id - required id to pass to deleteCustomView
10149
- * @returns ArchivePayload
10779
+ * @returns DeletePayload
10150
10780
  */
10151
- deleteCustomView(id: string): LinearFetch<ArchivePayload>;
10781
+ deleteCustomView(id: string): LinearFetch<DeletePayload>;
10152
10782
  /**
10153
10783
  * Updates a custom view.
10154
10784
  *
@@ -10161,9 +10791,9 @@ export declare class LinearSdk extends Request {
10161
10791
  * Archives a cycle.
10162
10792
  *
10163
10793
  * @param id - required id to pass to archiveCycle
10164
- * @returns ArchivePayload
10794
+ * @returns CycleArchivePayload
10165
10795
  */
10166
- archiveCycle(id: string): LinearFetch<ArchivePayload>;
10796
+ archiveCycle(id: string): LinearFetch<CycleArchivePayload>;
10167
10797
  /**
10168
10798
  * Creates a new cycle.
10169
10799
  *
@@ -10190,9 +10820,9 @@ export declare class LinearSdk extends Request {
10190
10820
  * Deletes a document.
10191
10821
  *
10192
10822
  * @param id - required id to pass to deleteDocument
10193
- * @returns ArchivePayload
10823
+ * @returns DeletePayload
10194
10824
  */
10195
- deleteDocument(id: string): LinearFetch<ArchivePayload>;
10825
+ deleteDocument(id: string): LinearFetch<DeletePayload>;
10196
10826
  /**
10197
10827
  * Updates a document.
10198
10828
  *
@@ -10233,16 +10863,9 @@ export declare class LinearSdk extends Request {
10233
10863
  * Deletes an emoji.
10234
10864
  *
10235
10865
  * @param id - required id to pass to deleteEmoji
10236
- * @returns ArchivePayload
10237
- */
10238
- deleteEmoji(id: string): LinearFetch<ArchivePayload>;
10239
- /**
10240
- * [Deprecated] Creates a new event.
10241
- *
10242
- * @param input - required input to pass to createEvent
10243
- * @returns EventPayload
10866
+ * @returns DeletePayload
10244
10867
  */
10245
- createEvent(input: L.EventCreateInput): LinearFetch<EventPayload>;
10868
+ deleteEmoji(id: string): LinearFetch<DeletePayload>;
10246
10869
  /**
10247
10870
  * Creates a new favorite (project, cycle etc).
10248
10871
  *
@@ -10254,9 +10877,9 @@ export declare class LinearSdk extends Request {
10254
10877
  * Deletes a favorite reference.
10255
10878
  *
10256
10879
  * @param id - required id to pass to deleteFavorite
10257
- * @returns ArchivePayload
10880
+ * @returns DeletePayload
10258
10881
  */
10259
- deleteFavorite(id: string): LinearFetch<ArchivePayload>;
10882
+ deleteFavorite(id: string): LinearFetch<DeletePayload>;
10260
10883
  /**
10261
10884
  * Updates a favorite.
10262
10885
  *
@@ -10303,9 +10926,9 @@ export declare class LinearSdk extends Request {
10303
10926
  * Deletes an integration.
10304
10927
  *
10305
10928
  * @param id - required id to pass to deleteIntegration
10306
- * @returns ArchivePayload
10929
+ * @returns DeletePayload
10307
10930
  */
10308
- deleteIntegration(id: string): LinearFetch<ArchivePayload>;
10931
+ deleteIntegration(id: string): LinearFetch<DeletePayload>;
10309
10932
  /**
10310
10933
  * Integrates the organization with Discord.
10311
10934
  *
@@ -10412,21 +11035,21 @@ export declare class LinearSdk extends Request {
10412
11035
  */
10413
11036
  integrationSlack(code: string, redirectUri: string, variables?: Omit<L.IntegrationSlackMutationVariables, "code" | "redirectUri">): LinearFetch<IntegrationPayload>;
10414
11037
  /**
10415
- * Imports custom emojis from your Slack workspace.
11038
+ * Integrates the organization with the Slack Asks app
10416
11039
  *
10417
- * @param code - required code to pass to integrationSlackImportEmojis
10418
- * @param redirectUri - required redirectUri to pass to integrationSlackImportEmojis
11040
+ * @param code - required code to pass to integrationSlackAsks
11041
+ * @param redirectUri - required redirectUri to pass to integrationSlackAsks
10419
11042
  * @returns IntegrationPayload
10420
11043
  */
10421
- integrationSlackImportEmojis(code: string, redirectUri: string): LinearFetch<IntegrationPayload>;
11044
+ integrationSlackAsks(code: string, redirectUri: string): LinearFetch<IntegrationPayload>;
10422
11045
  /**
10423
- * Integrates the organization with Slack for issue intake.
11046
+ * Imports custom emojis from your Slack workspace.
10424
11047
  *
10425
- * @param code - required code to pass to integrationSlackIntake
10426
- * @param redirectUri - required redirectUri to pass to integrationSlackIntake
11048
+ * @param code - required code to pass to integrationSlackImportEmojis
11049
+ * @param redirectUri - required redirectUri to pass to integrationSlackImportEmojis
10427
11050
  * @returns IntegrationPayload
10428
11051
  */
10429
- integrationSlackIntake(code: string, redirectUri: string): LinearFetch<IntegrationPayload>;
11052
+ integrationSlackImportEmojis(code: string, redirectUri: string): LinearFetch<IntegrationPayload>;
10430
11053
  /**
10431
11054
  * Slack integration for organization level project update notifications.
10432
11055
  *
@@ -10474,9 +11097,9 @@ export declare class LinearSdk extends Request {
10474
11097
  * Deletes a integrationTemplate.
10475
11098
  *
10476
11099
  * @param id - required id to pass to deleteIntegrationTemplate
10477
- * @returns ArchivePayload
11100
+ * @returns DeletePayload
10478
11101
  */
10479
- deleteIntegrationTemplate(id: string): LinearFetch<ArchivePayload>;
11102
+ deleteIntegrationTemplate(id: string): LinearFetch<DeletePayload>;
10480
11103
  /**
10481
11104
  * Updates the organization's Slack integration.
10482
11105
  *
@@ -10515,9 +11138,9 @@ export declare class LinearSdk extends Request {
10515
11138
  *
10516
11139
  * @param id - required id to pass to archiveIssue
10517
11140
  * @param variables - variables without 'id' to pass into the ArchiveIssueMutation
10518
- * @returns ArchivePayload
11141
+ * @returns IssueArchivePayload
10519
11142
  */
10520
- archiveIssue(id: string, variables?: Omit<L.ArchiveIssueMutationVariables, "id">): LinearFetch<ArchivePayload>;
11143
+ archiveIssue(id: string, variables?: Omit<L.ArchiveIssueMutationVariables, "id">): LinearFetch<IssueArchivePayload>;
10521
11144
  /**
10522
11145
  * Updates multiple issues at once.
10523
11146
  *
@@ -10537,9 +11160,9 @@ export declare class LinearSdk extends Request {
10537
11160
  * Deletes (trashes) an issue.
10538
11161
  *
10539
11162
  * @param id - required id to pass to deleteIssue
10540
- * @returns ArchivePayload
11163
+ * @returns IssueArchivePayload
10541
11164
  */
10542
- deleteIssue(id: string): LinearFetch<ArchivePayload>;
11165
+ deleteIssue(id: string): LinearFetch<IssueArchivePayload>;
10543
11166
  /**
10544
11167
  * Kicks off an Asana import job.
10545
11168
  *
@@ -10610,13 +11233,6 @@ export declare class LinearSdk extends Request {
10610
11233
  * @returns IssueImportPayload
10611
11234
  */
10612
11235
  updateIssueImport(id: string, input: L.IssueImportUpdateInput): LinearFetch<IssueImportPayload>;
10613
- /**
10614
- * Deletes an issue label.
10615
- *
10616
- * @param id - required id to pass to archiveIssueLabel
10617
- * @returns ArchivePayload
10618
- */
10619
- archiveIssueLabel(id: string): LinearFetch<ArchivePayload>;
10620
11236
  /**
10621
11237
  * Creates a new label.
10622
11238
  *
@@ -10629,9 +11245,9 @@ export declare class LinearSdk extends Request {
10629
11245
  * Deletes an issue label.
10630
11246
  *
10631
11247
  * @param id - required id to pass to deleteIssueLabel
10632
- * @returns ArchivePayload
11248
+ * @returns DeletePayload
10633
11249
  */
10634
- deleteIssueLabel(id: string): LinearFetch<ArchivePayload>;
11250
+ deleteIssueLabel(id: string): LinearFetch<DeletePayload>;
10635
11251
  /**
10636
11252
  * Updates an label.
10637
11253
  *
@@ -10651,9 +11267,9 @@ export declare class LinearSdk extends Request {
10651
11267
  * Deletes an issue relation.
10652
11268
  *
10653
11269
  * @param id - required id to pass to deleteIssueRelation
10654
- * @returns ArchivePayload
11270
+ * @returns DeletePayload
10655
11271
  */
10656
- deleteIssueRelation(id: string): LinearFetch<ArchivePayload>;
11272
+ deleteIssueRelation(id: string): LinearFetch<DeletePayload>;
10657
11273
  /**
10658
11274
  * Updates an issue relation.
10659
11275
  *
@@ -10674,9 +11290,9 @@ export declare class LinearSdk extends Request {
10674
11290
  * Unarchives an issue.
10675
11291
  *
10676
11292
  * @param id - required id to pass to unarchiveIssue
10677
- * @returns ArchivePayload
11293
+ * @returns IssueArchivePayload
10678
11294
  */
10679
- unarchiveIssue(id: string): LinearFetch<ArchivePayload>;
11295
+ unarchiveIssue(id: string): LinearFetch<IssueArchivePayload>;
10680
11296
  /**
10681
11297
  * Updates an issue.
10682
11298
  *
@@ -10709,11 +11325,41 @@ export declare class LinearSdk extends Request {
10709
11325
  * Archives a notification.
10710
11326
  *
10711
11327
  * @param id - required id to pass to archiveNotification
10712
- * @returns ArchivePayload
11328
+ * @returns NotificationArchivePayload
11329
+ */
11330
+ archiveNotification(id: string): LinearFetch<NotificationArchivePayload>;
11331
+ /**
11332
+ * Archives all of the user's past notifications for the associated entity.
11333
+ *
11334
+ * @param input - required input to pass to notificationArchiveAll
11335
+ * @returns NotificationBatchActionPayload
11336
+ */
11337
+ notificationArchiveAll(input: L.NotificationEntityInput): LinearFetch<NotificationBatchActionPayload>;
11338
+ /**
11339
+ * Marks all past notifications for the associated entity as read.
11340
+ *
11341
+ * @param input - required input to pass to notificationMarkReadAll
11342
+ * @param readAt - required readAt to pass to notificationMarkReadAll
11343
+ * @returns NotificationBatchActionPayload
11344
+ */
11345
+ notificationMarkReadAll(input: L.NotificationEntityInput, readAt: Date): LinearFetch<NotificationBatchActionPayload>;
11346
+ /**
11347
+ * Marks all past notifications for the associated entity as unread.
11348
+ *
11349
+ * @param input - required input to pass to notificationMarkUnreadAll
11350
+ * @returns NotificationBatchActionPayload
11351
+ */
11352
+ notificationMarkUnreadAll(input: L.NotificationEntityInput): LinearFetch<NotificationBatchActionPayload>;
11353
+ /**
11354
+ * Snoozes a notification and all past notifications for the associated entity.
11355
+ *
11356
+ * @param input - required input to pass to notificationSnoozeAll
11357
+ * @param snoozedUntilAt - required snoozedUntilAt to pass to notificationSnoozeAll
11358
+ * @returns NotificationBatchActionPayload
10713
11359
  */
10714
- archiveNotification(id: string): LinearFetch<ArchivePayload>;
11360
+ notificationSnoozeAll(input: L.NotificationEntityInput, snoozedUntilAt: Date): LinearFetch<NotificationBatchActionPayload>;
10715
11361
  /**
10716
- * Creates a new notification subscription for a team or a project.
11362
+ * Creates a new notification subscription for a cycle, custom view, label, project or team.
10717
11363
  *
10718
11364
  * @param input - required input to pass to createNotificationSubscription
10719
11365
  * @returns NotificationSubscriptionPayload
@@ -10723,9 +11369,9 @@ export declare class LinearSdk extends Request {
10723
11369
  * Deletes a notification subscription reference.
10724
11370
  *
10725
11371
  * @param id - required id to pass to deleteNotificationSubscription
10726
- * @returns ArchivePayload
11372
+ * @returns DeletePayload
10727
11373
  */
10728
- deleteNotificationSubscription(id: string): LinearFetch<ArchivePayload>;
11374
+ deleteNotificationSubscription(id: string): LinearFetch<DeletePayload>;
10729
11375
  /**
10730
11376
  * Updates a notification subscription.
10731
11377
  *
@@ -10738,9 +11384,17 @@ export declare class LinearSdk extends Request {
10738
11384
  * Unarchives a notification.
10739
11385
  *
10740
11386
  * @param id - required id to pass to unarchiveNotification
10741
- * @returns ArchivePayload
11387
+ * @returns NotificationArchivePayload
10742
11388
  */
10743
- unarchiveNotification(id: string): LinearFetch<ArchivePayload>;
11389
+ unarchiveNotification(id: string): LinearFetch<NotificationArchivePayload>;
11390
+ /**
11391
+ * Unsnoozes a notification and all past notifications for the associated entity.
11392
+ *
11393
+ * @param input - required input to pass to notificationUnsnoozeAll
11394
+ * @param unsnoozedAt - required unsnoozedAt to pass to notificationUnsnoozeAll
11395
+ * @returns NotificationBatchActionPayload
11396
+ */
11397
+ notificationUnsnoozeAll(input: L.NotificationEntityInput, unsnoozedAt: Date): LinearFetch<NotificationBatchActionPayload>;
10744
11398
  /**
10745
11399
  * Updates a notification.
10746
11400
  *
@@ -10772,9 +11426,9 @@ export declare class LinearSdk extends Request {
10772
11426
  * Deletes a domain.
10773
11427
  *
10774
11428
  * @param id - required id to pass to deleteOrganizationDomain
10775
- * @returns ArchivePayload
11429
+ * @returns DeletePayload
10776
11430
  */
10777
- deleteOrganizationDomain(id: string): LinearFetch<ArchivePayload>;
11431
+ deleteOrganizationDomain(id: string): LinearFetch<DeletePayload>;
10778
11432
  /**
10779
11433
  * Creates a new organization invite.
10780
11434
  *
@@ -10786,9 +11440,9 @@ export declare class LinearSdk extends Request {
10786
11440
  * Deletes an organization invite.
10787
11441
  *
10788
11442
  * @param id - required id to pass to deleteOrganizationInvite
10789
- * @returns ArchivePayload
11443
+ * @returns DeletePayload
10790
11444
  */
10791
- deleteOrganizationInvite(id: string): LinearFetch<ArchivePayload>;
11445
+ deleteOrganizationInvite(id: string): LinearFetch<DeletePayload>;
10792
11446
  /**
10793
11447
  * Updates an organization invite.
10794
11448
  *
@@ -10814,9 +11468,9 @@ export declare class LinearSdk extends Request {
10814
11468
  * Archives a project.
10815
11469
  *
10816
11470
  * @param id - required id to pass to archiveProject
10817
- * @returns ArchivePayload
11471
+ * @returns ProjectArchivePayload
10818
11472
  */
10819
- archiveProject(id: string): LinearFetch<ArchivePayload>;
11473
+ archiveProject(id: string): LinearFetch<ProjectArchivePayload>;
10820
11474
  /**
10821
11475
  * Creates a new project.
10822
11476
  *
@@ -10828,9 +11482,9 @@ export declare class LinearSdk extends Request {
10828
11482
  * Deletes a project. All issues will be disassociated from the deleted project.
10829
11483
  *
10830
11484
  * @param id - required id to pass to deleteProject
10831
- * @returns ArchivePayload
11485
+ * @returns DeletePayload
10832
11486
  */
10833
- deleteProject(id: string): LinearFetch<ArchivePayload>;
11487
+ deleteProject(id: string): LinearFetch<DeletePayload>;
10834
11488
  /**
10835
11489
  * Creates a new project link.
10836
11490
  *
@@ -10842,9 +11496,9 @@ export declare class LinearSdk extends Request {
10842
11496
  * Deletes a project link.
10843
11497
  *
10844
11498
  * @param id - required id to pass to deleteProjectLink
10845
- * @returns ArchivePayload
11499
+ * @returns DeletePayload
10846
11500
  */
10847
- deleteProjectLink(id: string): LinearFetch<ArchivePayload>;
11501
+ deleteProjectLink(id: string): LinearFetch<DeletePayload>;
10848
11502
  /**
10849
11503
  * Updates a project link.
10850
11504
  *
@@ -10864,9 +11518,9 @@ export declare class LinearSdk extends Request {
10864
11518
  * Deletes a project milestone.
10865
11519
  *
10866
11520
  * @param id - required id to pass to deleteProjectMilestone
10867
- * @returns ArchivePayload
11521
+ * @returns DeletePayload
10868
11522
  */
10869
- deleteProjectMilestone(id: string): LinearFetch<ArchivePayload>;
11523
+ deleteProjectMilestone(id: string): LinearFetch<DeletePayload>;
10870
11524
  /**
10871
11525
  * Updates a project milestone.
10872
11526
  *
@@ -10879,9 +11533,9 @@ export declare class LinearSdk extends Request {
10879
11533
  * Unarchives a project.
10880
11534
  *
10881
11535
  * @param id - required id to pass to unarchiveProject
10882
- * @returns ArchivePayload
11536
+ * @returns ProjectArchivePayload
10883
11537
  */
10884
- unarchiveProject(id: string): LinearFetch<ArchivePayload>;
11538
+ unarchiveProject(id: string): LinearFetch<ProjectArchivePayload>;
10885
11539
  /**
10886
11540
  * Updates a project.
10887
11541
  *
@@ -10901,9 +11555,9 @@ export declare class LinearSdk extends Request {
10901
11555
  * Deletes a project update.
10902
11556
  *
10903
11557
  * @param id - required id to pass to deleteProjectUpdate
10904
- * @returns ArchivePayload
11558
+ * @returns DeletePayload
10905
11559
  */
10906
- deleteProjectUpdate(id: string): LinearFetch<ArchivePayload>;
11560
+ deleteProjectUpdate(id: string): LinearFetch<DeletePayload>;
10907
11561
  /**
10908
11562
  * Creates a new interaction on a project update.
10909
11563
  *
@@ -10951,9 +11605,9 @@ export declare class LinearSdk extends Request {
10951
11605
  * Deletes a reaction.
10952
11606
  *
10953
11607
  * @param id - required id to pass to deleteReaction
10954
- * @returns ArchivePayload
11608
+ * @returns DeletePayload
10955
11609
  */
10956
- deleteReaction(id: string): LinearFetch<ArchivePayload>;
11610
+ deleteReaction(id: string): LinearFetch<DeletePayload>;
10957
11611
  /**
10958
11612
  * Manually update Google Sheets data.
10959
11613
  *
@@ -10965,16 +11619,16 @@ export declare class LinearSdk extends Request {
10965
11619
  * Re-send an organization invite.
10966
11620
  *
10967
11621
  * @param id - required id to pass to resendOrganizationInvite
10968
- * @returns ArchivePayload
11622
+ * @returns DeletePayload
10969
11623
  */
10970
- resendOrganizationInvite(id: string): LinearFetch<ArchivePayload>;
11624
+ resendOrganizationInvite(id: string): LinearFetch<DeletePayload>;
10971
11625
  /**
10972
11626
  * Archives a roadmap.
10973
11627
  *
10974
11628
  * @param id - required id to pass to archiveRoadmap
10975
- * @returns ArchivePayload
11629
+ * @returns RoadmapArchivePayload
10976
11630
  */
10977
- archiveRoadmap(id: string): LinearFetch<ArchivePayload>;
11631
+ archiveRoadmap(id: string): LinearFetch<RoadmapArchivePayload>;
10978
11632
  /**
10979
11633
  * Creates a new roadmap.
10980
11634
  *
@@ -10986,9 +11640,9 @@ export declare class LinearSdk extends Request {
10986
11640
  * Deletes a roadmap.
10987
11641
  *
10988
11642
  * @param id - required id to pass to deleteRoadmap
10989
- * @returns ArchivePayload
11643
+ * @returns DeletePayload
10990
11644
  */
10991
- deleteRoadmap(id: string): LinearFetch<ArchivePayload>;
11645
+ deleteRoadmap(id: string): LinearFetch<DeletePayload>;
10992
11646
  /**
10993
11647
  * Creates a new roadmapToProject join.
10994
11648
  *
@@ -11000,9 +11654,9 @@ export declare class LinearSdk extends Request {
11000
11654
  * Deletes a roadmapToProject.
11001
11655
  *
11002
11656
  * @param id - required id to pass to deleteRoadmapToProject
11003
- * @returns ArchivePayload
11657
+ * @returns DeletePayload
11004
11658
  */
11005
- deleteRoadmapToProject(id: string): LinearFetch<ArchivePayload>;
11659
+ deleteRoadmapToProject(id: string): LinearFetch<DeletePayload>;
11006
11660
  /**
11007
11661
  * Updates a roadmapToProject.
11008
11662
  *
@@ -11015,9 +11669,9 @@ export declare class LinearSdk extends Request {
11015
11669
  * Unarchives a roadmap.
11016
11670
  *
11017
11671
  * @param id - required id to pass to unarchiveRoadmap
11018
- * @returns ArchivePayload
11672
+ * @returns RoadmapArchivePayload
11019
11673
  */
11020
- unarchiveRoadmap(id: string): LinearFetch<ArchivePayload>;
11674
+ unarchiveRoadmap(id: string): LinearFetch<RoadmapArchivePayload>;
11021
11675
  /**
11022
11676
  * Updates a roadmap.
11023
11677
  *
@@ -11052,16 +11706,16 @@ export declare class LinearSdk extends Request {
11052
11706
  * Deletes a team.
11053
11707
  *
11054
11708
  * @param id - required id to pass to deleteTeam
11055
- * @returns ArchivePayload
11709
+ * @returns DeletePayload
11056
11710
  */
11057
- deleteTeam(id: string): LinearFetch<ArchivePayload>;
11711
+ deleteTeam(id: string): LinearFetch<DeletePayload>;
11058
11712
  /**
11059
11713
  * Deletes a previously used team key.
11060
11714
  *
11061
11715
  * @param id - required id to pass to deleteTeamKey
11062
- * @returns ArchivePayload
11716
+ * @returns DeletePayload
11063
11717
  */
11064
- deleteTeamKey(id: string): LinearFetch<ArchivePayload>;
11718
+ deleteTeamKey(id: string): LinearFetch<DeletePayload>;
11065
11719
  /**
11066
11720
  * Creates a new team membership.
11067
11721
  *
@@ -11073,9 +11727,9 @@ export declare class LinearSdk extends Request {
11073
11727
  * Deletes a team membership.
11074
11728
  *
11075
11729
  * @param id - required id to pass to deleteTeamMembership
11076
- * @returns ArchivePayload
11730
+ * @returns DeletePayload
11077
11731
  */
11078
- deleteTeamMembership(id: string): LinearFetch<ArchivePayload>;
11732
+ deleteTeamMembership(id: string): LinearFetch<DeletePayload>;
11079
11733
  /**
11080
11734
  * Updates a team membership.
11081
11735
  *
@@ -11103,9 +11757,9 @@ export declare class LinearSdk extends Request {
11103
11757
  * Deletes a template.
11104
11758
  *
11105
11759
  * @param id - required id to pass to deleteTemplate
11106
- * @returns ArchivePayload
11760
+ * @returns DeletePayload
11107
11761
  */
11108
- deleteTemplate(id: string): LinearFetch<ArchivePayload>;
11762
+ deleteTemplate(id: string): LinearFetch<DeletePayload>;
11109
11763
  /**
11110
11764
  * Updates an existing template.
11111
11765
  *
@@ -11241,9 +11895,9 @@ export declare class LinearSdk extends Request {
11241
11895
  * Deletes a ViewPreferences.
11242
11896
  *
11243
11897
  * @param id - required id to pass to deleteViewPreferences
11244
- * @returns ArchivePayload
11898
+ * @returns DeletePayload
11245
11899
  */
11246
- deleteViewPreferences(id: string): LinearFetch<ArchivePayload>;
11900
+ deleteViewPreferences(id: string): LinearFetch<DeletePayload>;
11247
11901
  /**
11248
11902
  * Updates an existing ViewPreferences object.
11249
11903
  *
@@ -11263,9 +11917,9 @@ export declare class LinearSdk extends Request {
11263
11917
  * Deletes a Webhook.
11264
11918
  *
11265
11919
  * @param id - required id to pass to deleteWebhook
11266
- * @returns ArchivePayload
11920
+ * @returns DeletePayload
11267
11921
  */
11268
- deleteWebhook(id: string): LinearFetch<ArchivePayload>;
11922
+ deleteWebhook(id: string): LinearFetch<DeletePayload>;
11269
11923
  /**
11270
11924
  * Updates an existing Webhook.
11271
11925
  *
@@ -11278,9 +11932,9 @@ export declare class LinearSdk extends Request {
11278
11932
  * Archives a state. Only states with issues that have all been archived can be archived.
11279
11933
  *
11280
11934
  * @param id - required id to pass to archiveWorkflowState
11281
- * @returns ArchivePayload
11935
+ * @returns WorkflowStateArchivePayload
11282
11936
  */
11283
- archiveWorkflowState(id: string): LinearFetch<ArchivePayload>;
11937
+ archiveWorkflowState(id: string): LinearFetch<WorkflowStateArchivePayload>;
11284
11938
  /**
11285
11939
  * Creates a new state, adding it to the workflow of a team.
11286
11940
  *
@@ -11447,6 +12101,13 @@ export declare class LinearSdk extends Request {
11447
12101
  * @returns DocumentConnection
11448
12102
  */
11449
12103
  documents(variables?: L.DocumentsQueryVariables): LinearFetch<DocumentConnection>;
12104
+ /**
12105
+ * Returns embed info for any url
12106
+ *
12107
+ * @param url - required url to pass to embedInfo
12108
+ * @returns EmbedPayload
12109
+ */
12110
+ embedInfo(url: string): LinearFetch<EmbedPayload>;
11450
12111
  /**
11451
12112
  * A specific emoji.
11452
12113
  *
@@ -11589,6 +12250,13 @@ export declare class LinearSdk extends Request {
11589
12250
  * @returns IssueRelationConnection
11590
12251
  */
11591
12252
  issueRelations(variables?: L.IssueRelationsQueryVariables): LinearFetch<IssueRelationConnection>;
12253
+ /**
12254
+ * [DEPRECATED] Search issues. This endpoint is deprecated and will be removed in the future – use `searchIssues` instead.
12255
+ *
12256
+ * @param variables - variables to pass into the IssueSearchQuery
12257
+ * @returns IssueConnection
12258
+ */
12259
+ issueSearch(variables?: L.IssueSearchQueryVariables): LinearFetch<IssueConnection>;
11592
12260
  /**
11593
12261
  * Find issue based on the VCS branch name.
11594
12262
  *
@@ -11616,7 +12284,7 @@ export declare class LinearSdk extends Request {
11616
12284
  * @param id - required id to pass to notificationSubscription
11617
12285
  * @returns NotificationSubscription
11618
12286
  */
11619
- notificationSubscription(id: string): LinearFetch<ProjectNotificationSubscription | TeamNotificationSubscription | NotificationSubscription>;
12287
+ notificationSubscription(id: string): LinearFetch<CustomViewNotificationSubscription | CycleNotificationSubscription | LabelNotificationSubscription | ProjectNotificationSubscription | TeamNotificationSubscription | UserNotificationSubscription | NotificationSubscription>;
11620
12288
  /**
11621
12289
  * The user's notification subscriptions.
11622
12290
  *
@@ -11834,6 +12502,13 @@ export declare class LinearSdk extends Request {
11834
12502
  * @returns Template[]
11835
12503
  */
11836
12504
  get templates(): LinearFetch<Template[]>;
12505
+ /**
12506
+ * Returns all templates that are associated with the integration type.
12507
+ *
12508
+ * @param integrationType - required integrationType to pass to templatesForIntegration
12509
+ * @returns Template[]
12510
+ */
12511
+ templatesForIntegration(integrationType: string): LinearFetch<Template[]>;
11837
12512
  /**
11838
12513
  * One specific user.
11839
12514
  *