@linear/sdk 6.0.0 → 7.0.1
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.
- package/CHANGELOG.md +363 -0
- package/dist/_generated_documents.d.ts +1418 -283
- package/dist/_generated_documents.d.ts.map +1 -1
- package/dist/_generated_sdk.d.ts +991 -303
- package/dist/_generated_sdk.d.ts.map +1 -1
- package/dist/index-cjs.js +3310 -856
- package/dist/index-cjs.js.map +1 -1
- package/dist/index-cjs.min.js +1 -1
- package/dist/index-cjs.min.js.br +0 -0
- package/dist/index-cjs.min.js.gz +0 -0
- package/dist/index-cjs.min.js.map +1 -1
- package/dist/index-es.js +3279 -853
- package/dist/index-es.js.map +1 -1
- package/dist/index-es.min.js +1 -1
- package/dist/index-es.min.js.br +0 -0
- package/dist/index-es.min.js.gz +0 -0
- package/dist/index-es.min.js.map +1 -1
- package/dist/index-umd.js +3307 -856
- package/dist/index-umd.js.map +1 -1
- package/dist/index-umd.min.js +1 -1
- package/dist/index-umd.min.js.br +0 -0
- package/dist/index-umd.min.js.gz +0 -0
- package/dist/index-umd.min.js.map +1 -1
- package/package.json +1 -1
package/dist/_generated_sdk.d.ts
CHANGED
@@ -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<
|
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
|
-
*
|
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<
|
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<
|
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
|
*
|
@@ -237,6 +253,17 @@ export declare class AttachmentPayload extends Request {
|
|
237
253
|
/** The issue attachment that was created. */
|
238
254
|
get attachment(): LinearFetch<Attachment> | undefined;
|
239
255
|
}
|
256
|
+
/**
|
257
|
+
* AttachmentSourcesPayload model
|
258
|
+
*
|
259
|
+
* @param request - function to call the graphql client
|
260
|
+
* @param data - L.AttachmentSourcesPayloadFragment response data
|
261
|
+
*/
|
262
|
+
export declare class AttachmentSourcesPayload extends Request {
|
263
|
+
constructor(request: LinearRequest, data: L.AttachmentSourcesPayloadFragment);
|
264
|
+
/** A unique list of all source types used in this workspace */
|
265
|
+
sources: Record<string, unknown>;
|
266
|
+
}
|
240
267
|
/**
|
241
268
|
* Workspace audit log entry object.
|
242
269
|
*
|
@@ -364,7 +391,7 @@ export declare class Comment extends Request {
|
|
364
391
|
/** Creates a new comment. */
|
365
392
|
create(input: L.CommentCreateInput): LinearFetch<CommentPayload>;
|
366
393
|
/** Deletes a comment. */
|
367
|
-
delete(): LinearFetch<
|
394
|
+
delete(): LinearFetch<DeletePayload>;
|
368
395
|
/** Updates a comment. */
|
369
396
|
update(input: L.CommentUpdateInput): LinearFetch<CommentPayload>;
|
370
397
|
}
|
@@ -482,7 +509,6 @@ export declare class CreateOrJoinOrganizationResponse extends Request {
|
|
482
509
|
*/
|
483
510
|
export declare class CustomView extends Request {
|
484
511
|
private _creator;
|
485
|
-
private _owner;
|
486
512
|
private _team?;
|
487
513
|
constructor(request: LinearRequest, data: L.CustomViewFragment);
|
488
514
|
/** The time at which the entity was archived. Null if the entity has not been archived. */
|
@@ -515,14 +541,12 @@ export declare class CustomView extends Request {
|
|
515
541
|
get creator(): LinearFetch<User> | undefined;
|
516
542
|
/** The organization of the custom view. */
|
517
543
|
get organization(): LinearFetch<Organization>;
|
518
|
-
/** [Deprecated] The user who owns the custom view. */
|
519
|
-
get owner(): LinearFetch<User> | undefined;
|
520
544
|
/** The team associated with the custom view. */
|
521
545
|
get team(): LinearFetch<Team> | undefined;
|
522
546
|
/** Creates a new custom view. */
|
523
547
|
create(input: L.CustomViewCreateInput): LinearFetch<CustomViewPayload>;
|
524
548
|
/** Deletes a custom view. */
|
525
|
-
delete(): LinearFetch<
|
549
|
+
delete(): LinearFetch<DeletePayload>;
|
526
550
|
/** Updates a custom view. */
|
527
551
|
update(input: L.CustomViewUpdateInput): LinearFetch<CustomViewPayload>;
|
528
552
|
}
|
@@ -536,6 +560,50 @@ export declare class CustomView extends Request {
|
|
536
560
|
export declare class CustomViewConnection extends Connection<CustomView> {
|
537
561
|
constructor(request: LinearRequest, fetch: (connection?: LinearConnectionVariables) => LinearFetch<LinearConnection<CustomView> | undefined>, data: L.CustomViewConnectionFragment);
|
538
562
|
}
|
563
|
+
/**
|
564
|
+
* A custom view notification subscription.
|
565
|
+
*
|
566
|
+
* @param request - function to call the graphql client
|
567
|
+
* @param data - L.CustomViewNotificationSubscriptionFragment response data
|
568
|
+
*/
|
569
|
+
export declare class CustomViewNotificationSubscription extends Request {
|
570
|
+
private _customView;
|
571
|
+
private _cycle?;
|
572
|
+
private _label?;
|
573
|
+
private _project?;
|
574
|
+
private _subscriber;
|
575
|
+
private _team?;
|
576
|
+
private _user?;
|
577
|
+
constructor(request: LinearRequest, data: L.CustomViewNotificationSubscriptionFragment);
|
578
|
+
/** The time at which the entity was archived. Null if the entity has not been archived. */
|
579
|
+
archivedAt?: Date;
|
580
|
+
/** The time at which the entity was created. */
|
581
|
+
createdAt: Date;
|
582
|
+
/** The unique identifier of the entity. */
|
583
|
+
id: string;
|
584
|
+
/** The type of subscription. */
|
585
|
+
notificationSubscriptionTypes: string[];
|
586
|
+
/**
|
587
|
+
* The last time at which the entity was meaningfully updated, i.e. for all changes of syncable properties except those
|
588
|
+
* 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
|
589
|
+
* been updated after creation.
|
590
|
+
*/
|
591
|
+
updatedAt: Date;
|
592
|
+
/** The custom view subscribed to. */
|
593
|
+
get customView(): LinearFetch<CustomView> | undefined;
|
594
|
+
/** The contextual cycle view associated with the notification subscription. */
|
595
|
+
get cycle(): LinearFetch<Cycle> | undefined;
|
596
|
+
/** The contextual label view associated with the notification subscription. */
|
597
|
+
get label(): LinearFetch<IssueLabel> | undefined;
|
598
|
+
/** The contextual project view associated with the notification subscription. */
|
599
|
+
get project(): LinearFetch<Project> | undefined;
|
600
|
+
/** The user that subscribed to receive notifications. */
|
601
|
+
get subscriber(): LinearFetch<User> | undefined;
|
602
|
+
/** The team associated with the notification subscription. */
|
603
|
+
get team(): LinearFetch<Team> | undefined;
|
604
|
+
/** The user view associated with the notification subscription. */
|
605
|
+
get user(): LinearFetch<User> | undefined;
|
606
|
+
}
|
539
607
|
/**
|
540
608
|
* CustomViewPayload model
|
541
609
|
*
|
@@ -621,12 +689,28 @@ export declare class Cycle extends Request {
|
|
621
689
|
/** Issues that weren't completed when the cycle was closed. */
|
622
690
|
uncompletedIssuesUponClose(variables?: Omit<L.Cycle_UncompletedIssuesUponCloseQueryVariables, "id">): LinearFetch<IssueConnection>;
|
623
691
|
/** Archives a cycle. */
|
624
|
-
archive(): LinearFetch<
|
692
|
+
archive(): LinearFetch<CycleArchivePayload>;
|
625
693
|
/** Creates a new cycle. */
|
626
694
|
create(input: L.CycleCreateInput): LinearFetch<CyclePayload>;
|
627
695
|
/** Updates a cycle. */
|
628
696
|
update(input: L.CycleUpdateInput): LinearFetch<CyclePayload>;
|
629
697
|
}
|
698
|
+
/**
|
699
|
+
* A generic payload return from entity archive mutations.
|
700
|
+
*
|
701
|
+
* @param request - function to call the graphql client
|
702
|
+
* @param data - L.CycleArchivePayloadFragment response data
|
703
|
+
*/
|
704
|
+
export declare class CycleArchivePayload extends Request {
|
705
|
+
private _entity?;
|
706
|
+
constructor(request: LinearRequest, data: L.CycleArchivePayloadFragment);
|
707
|
+
/** The identifier of the last sync operation. */
|
708
|
+
lastSyncId: number;
|
709
|
+
/** Whether the operation was successful. */
|
710
|
+
success: boolean;
|
711
|
+
/** The archived/unarchived entity. Null if entity was deleted. */
|
712
|
+
get entity(): LinearFetch<Cycle> | undefined;
|
713
|
+
}
|
630
714
|
/**
|
631
715
|
* CycleConnection model
|
632
716
|
*
|
@@ -637,6 +721,50 @@ export declare class Cycle extends Request {
|
|
637
721
|
export declare class CycleConnection extends Connection<Cycle> {
|
638
722
|
constructor(request: LinearRequest, fetch: (connection?: LinearConnectionVariables) => LinearFetch<LinearConnection<Cycle> | undefined>, data: L.CycleConnectionFragment);
|
639
723
|
}
|
724
|
+
/**
|
725
|
+
* A cycle notification subscription.
|
726
|
+
*
|
727
|
+
* @param request - function to call the graphql client
|
728
|
+
* @param data - L.CycleNotificationSubscriptionFragment response data
|
729
|
+
*/
|
730
|
+
export declare class CycleNotificationSubscription extends Request {
|
731
|
+
private _customView?;
|
732
|
+
private _cycle;
|
733
|
+
private _label?;
|
734
|
+
private _project?;
|
735
|
+
private _subscriber;
|
736
|
+
private _team?;
|
737
|
+
private _user?;
|
738
|
+
constructor(request: LinearRequest, data: L.CycleNotificationSubscriptionFragment);
|
739
|
+
/** The time at which the entity was archived. Null if the entity has not been archived. */
|
740
|
+
archivedAt?: Date;
|
741
|
+
/** The time at which the entity was created. */
|
742
|
+
createdAt: Date;
|
743
|
+
/** The unique identifier of the entity. */
|
744
|
+
id: string;
|
745
|
+
/** The type of subscription. */
|
746
|
+
notificationSubscriptionTypes: string[];
|
747
|
+
/**
|
748
|
+
* The last time at which the entity was meaningfully updated, i.e. for all changes of syncable properties except those
|
749
|
+
* 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
|
750
|
+
* been updated after creation.
|
751
|
+
*/
|
752
|
+
updatedAt: Date;
|
753
|
+
/** The contextual custom view associated with the notification subscription. */
|
754
|
+
get customView(): LinearFetch<CustomView> | undefined;
|
755
|
+
/** The cycle subscribed to. */
|
756
|
+
get cycle(): LinearFetch<Cycle> | undefined;
|
757
|
+
/** The contextual label view associated with the notification subscription. */
|
758
|
+
get label(): LinearFetch<IssueLabel> | undefined;
|
759
|
+
/** The contextual project view associated with the notification subscription. */
|
760
|
+
get project(): LinearFetch<Project> | undefined;
|
761
|
+
/** The user that subscribed to receive notifications. */
|
762
|
+
get subscriber(): LinearFetch<User> | undefined;
|
763
|
+
/** The team associated with the notification subscription. */
|
764
|
+
get team(): LinearFetch<Team> | undefined;
|
765
|
+
/** The user view associated with the notification subscription. */
|
766
|
+
get user(): LinearFetch<User> | undefined;
|
767
|
+
}
|
640
768
|
/**
|
641
769
|
* CyclePayload model
|
642
770
|
*
|
@@ -653,6 +781,21 @@ export declare class CyclePayload extends Request {
|
|
653
781
|
/** The Cycle that was created or updated. */
|
654
782
|
get cycle(): LinearFetch<Cycle> | undefined;
|
655
783
|
}
|
784
|
+
/**
|
785
|
+
* A generic payload return from entity deletion mutations.
|
786
|
+
*
|
787
|
+
* @param request - function to call the graphql client
|
788
|
+
* @param data - L.DeletePayloadFragment response data
|
789
|
+
*/
|
790
|
+
export declare class DeletePayload extends Request {
|
791
|
+
constructor(request: LinearRequest, data: L.DeletePayloadFragment);
|
792
|
+
/** The identifier of the deleted entity. */
|
793
|
+
entityId: string;
|
794
|
+
/** The identifier of the last sync operation. */
|
795
|
+
lastSyncId: number;
|
796
|
+
/** Whether the operation was successful. */
|
797
|
+
success: boolean;
|
798
|
+
}
|
656
799
|
/**
|
657
800
|
* A document for a project.
|
658
801
|
*
|
@@ -697,7 +840,7 @@ export declare class Document extends Request {
|
|
697
840
|
/** Creates a new document. */
|
698
841
|
create(input: L.DocumentCreateInput): LinearFetch<DocumentPayload>;
|
699
842
|
/** Deletes a document. */
|
700
|
-
delete(): LinearFetch<
|
843
|
+
delete(): LinearFetch<DeletePayload>;
|
701
844
|
/** Updates a document. */
|
702
845
|
update(input: L.DocumentUpdateInput): LinearFetch<DocumentPayload>;
|
703
846
|
}
|
@@ -848,6 +991,52 @@ export declare class EmailUserAccountAuthChallengeResponse extends Request {
|
|
848
991
|
/** Whether the operation was successful. */
|
849
992
|
success: boolean;
|
850
993
|
}
|
994
|
+
/**
|
995
|
+
* Information for creating embedded content for the provided URL
|
996
|
+
*
|
997
|
+
* @param request - function to call the graphql client
|
998
|
+
* @param data - L.EmbedFragment response data
|
999
|
+
*/
|
1000
|
+
export declare class Embed extends Request {
|
1001
|
+
constructor(request: LinearRequest, data: L.EmbedFragment);
|
1002
|
+
/** The name of the author/owner of the resource */
|
1003
|
+
authorName?: string;
|
1004
|
+
/** The description of the content */
|
1005
|
+
description?: string;
|
1006
|
+
/** The height of embedded content (photo, video, rich) */
|
1007
|
+
height?: number;
|
1008
|
+
/** The HTML (video, rich) */
|
1009
|
+
html?: string;
|
1010
|
+
/** The name of the provider */
|
1011
|
+
providerName?: string;
|
1012
|
+
/** The height of the thumbnail preview image */
|
1013
|
+
thumbnailHeight?: number;
|
1014
|
+
/** The URL of the thumbnail preview image */
|
1015
|
+
thumbnailUrl?: string;
|
1016
|
+
/** The width of the thumbnail preview image */
|
1017
|
+
thumbnailWidth?: number;
|
1018
|
+
/** Title for the returned embed view */
|
1019
|
+
title?: string;
|
1020
|
+
/** The type of embed */
|
1021
|
+
type: string;
|
1022
|
+
/** The asset URL (photo) */
|
1023
|
+
url?: string;
|
1024
|
+
/** The width of embedded content (photo, video, rich) */
|
1025
|
+
width?: number;
|
1026
|
+
}
|
1027
|
+
/**
|
1028
|
+
* EmbedPayload model
|
1029
|
+
*
|
1030
|
+
* @param request - function to call the graphql client
|
1031
|
+
* @param data - L.EmbedPayloadFragment response data
|
1032
|
+
*/
|
1033
|
+
export declare class EmbedPayload extends Request {
|
1034
|
+
constructor(request: LinearRequest, data: L.EmbedPayloadFragment);
|
1035
|
+
/** Whether the query was successful */
|
1036
|
+
success: boolean;
|
1037
|
+
/** Embed information */
|
1038
|
+
embed?: Embed;
|
1039
|
+
}
|
851
1040
|
/**
|
852
1041
|
* A custom emoji.
|
853
1042
|
*
|
@@ -882,7 +1071,7 @@ export declare class Emoji extends Request {
|
|
882
1071
|
/** Creates a custom emoji. */
|
883
1072
|
create(input: L.EmojiCreateInput): LinearFetch<EmojiPayload>;
|
884
1073
|
/** Deletes an emoji. */
|
885
|
-
delete(): LinearFetch<
|
1074
|
+
delete(): LinearFetch<DeletePayload>;
|
886
1075
|
}
|
887
1076
|
/**
|
888
1077
|
* EmojiConnection model
|
@@ -931,17 +1120,6 @@ export declare class Entity extends Request {
|
|
931
1120
|
*/
|
932
1121
|
updatedAt: Date;
|
933
1122
|
}
|
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
1123
|
/**
|
946
1124
|
* User favorites presented in the sidebar.
|
947
1125
|
*
|
@@ -954,12 +1132,13 @@ export declare class Favorite extends Request {
|
|
954
1132
|
private _document?;
|
955
1133
|
private _issue?;
|
956
1134
|
private _label?;
|
1135
|
+
private _owner;
|
957
1136
|
private _parent?;
|
958
1137
|
private _predefinedViewTeam?;
|
959
1138
|
private _project?;
|
960
1139
|
private _projectTeam?;
|
961
1140
|
private _roadmap?;
|
962
|
-
private _user
|
1141
|
+
private _user?;
|
963
1142
|
constructor(request: LinearRequest, data: L.FavoriteFragment);
|
964
1143
|
/** The time at which the entity was archived. Null if the entity has not been archived. */
|
965
1144
|
archivedAt?: Date;
|
@@ -991,6 +1170,8 @@ export declare class Favorite extends Request {
|
|
991
1170
|
get issue(): LinearFetch<Issue> | undefined;
|
992
1171
|
/** The favorited label. */
|
993
1172
|
get label(): LinearFetch<IssueLabel> | undefined;
|
1173
|
+
/** The owner of the favorite. */
|
1174
|
+
get owner(): LinearFetch<User> | undefined;
|
994
1175
|
/** The parent folder of the favorite. */
|
995
1176
|
get parent(): LinearFetch<Favorite> | undefined;
|
996
1177
|
/** The team of the favorited predefined view. */
|
@@ -1001,14 +1182,14 @@ export declare class Favorite extends Request {
|
|
1001
1182
|
get projectTeam(): LinearFetch<Team> | undefined;
|
1002
1183
|
/** The favorited roadmap. */
|
1003
1184
|
get roadmap(): LinearFetch<Roadmap> | undefined;
|
1004
|
-
/** The
|
1185
|
+
/** The favorited user. */
|
1005
1186
|
get user(): LinearFetch<User> | undefined;
|
1006
1187
|
/** Children of the favorite. Only applies to favorites of type folder. */
|
1007
1188
|
children(variables?: Omit<L.Favorite_ChildrenQueryVariables, "id">): LinearFetch<FavoriteConnection>;
|
1008
1189
|
/** Creates a new favorite (project, cycle etc). */
|
1009
1190
|
create(input: L.FavoriteCreateInput): LinearFetch<FavoritePayload>;
|
1010
1191
|
/** Deletes a favorite reference. */
|
1011
|
-
delete(): LinearFetch<
|
1192
|
+
delete(): LinearFetch<DeletePayload>;
|
1012
1193
|
/** Updates a favorite. */
|
1013
1194
|
update(input: L.FavoriteUpdateInput): LinearFetch<FavoritePayload>;
|
1014
1195
|
}
|
@@ -1068,6 +1249,47 @@ export declare class FigmaEmbedPayload extends Request {
|
|
1068
1249
|
/** Figma embed information. */
|
1069
1250
|
figmaEmbed?: FigmaEmbed;
|
1070
1251
|
}
|
1252
|
+
/**
|
1253
|
+
* A schedule for a team's first responder.
|
1254
|
+
*
|
1255
|
+
* @param request - function to call the graphql client
|
1256
|
+
* @param data - L.FirstResponderScheduleFragment response data
|
1257
|
+
*/
|
1258
|
+
export declare class FirstResponderSchedule extends Request {
|
1259
|
+
private _integration;
|
1260
|
+
private _team;
|
1261
|
+
constructor(request: LinearRequest, data: L.FirstResponderScheduleFragment);
|
1262
|
+
/** The time at which the entity was archived. Null if the entity has not been archived. */
|
1263
|
+
archivedAt?: Date;
|
1264
|
+
/** The time at which the entity was created. */
|
1265
|
+
createdAt: Date;
|
1266
|
+
/** The unique identifier of the entity. */
|
1267
|
+
id: string;
|
1268
|
+
/** The id of the integration schedule used for scheduling. */
|
1269
|
+
integrationScheduleId?: string;
|
1270
|
+
/** The current schedule and available schedules. */
|
1271
|
+
scheduleData: Record<string, unknown>;
|
1272
|
+
/**
|
1273
|
+
* The last time at which the entity was meaningfully updated, i.e. for all changes of syncable properties except those
|
1274
|
+
* 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
|
1275
|
+
* been updated after creation.
|
1276
|
+
*/
|
1277
|
+
updatedAt: Date;
|
1278
|
+
/** The integration used for scheduling. */
|
1279
|
+
get integration(): LinearFetch<Integration> | undefined;
|
1280
|
+
/** The team to which the schedule belongs to. */
|
1281
|
+
get team(): LinearFetch<Team> | undefined;
|
1282
|
+
}
|
1283
|
+
/**
|
1284
|
+
* FirstResponderScheduleConnection model
|
1285
|
+
*
|
1286
|
+
* @param request - function to call the graphql client
|
1287
|
+
* @param fetch - function to trigger a refetch of this FirstResponderScheduleConnection model
|
1288
|
+
* @param data - FirstResponderScheduleConnection response data
|
1289
|
+
*/
|
1290
|
+
export declare class FirstResponderScheduleConnection extends Connection<FirstResponderSchedule> {
|
1291
|
+
constructor(request: LinearRequest, fetch: (connection?: LinearConnectionVariables) => LinearFetch<LinearConnection<FirstResponderSchedule> | undefined>, data: L.FirstResponderScheduleConnectionFragment);
|
1292
|
+
}
|
1071
1293
|
/**
|
1072
1294
|
* FrontAttachmentPayload model
|
1073
1295
|
*
|
@@ -1235,7 +1457,7 @@ export declare class Integration extends Request {
|
|
1235
1457
|
/** The team that the integration is associated with. */
|
1236
1458
|
get team(): LinearFetch<Team> | undefined;
|
1237
1459
|
/** Deletes an integration. */
|
1238
|
-
delete(): LinearFetch<
|
1460
|
+
delete(): LinearFetch<DeletePayload>;
|
1239
1461
|
}
|
1240
1462
|
/**
|
1241
1463
|
* IntegrationConnection model
|
@@ -1288,6 +1510,7 @@ export declare class IntegrationSettings extends Request {
|
|
1288
1510
|
intercom?: IntercomSettings;
|
1289
1511
|
jira?: JiraSettings;
|
1290
1512
|
notion?: NotionSettings;
|
1513
|
+
pagerDuty?: PagerDutySettings;
|
1291
1514
|
sentry?: SentrySettings;
|
1292
1515
|
slackOrgProjectUpdatesPost?: SlackPostSettings;
|
1293
1516
|
slackPost?: SlackPostSettings;
|
@@ -1323,7 +1546,7 @@ export declare class IntegrationTemplate extends Request {
|
|
1323
1546
|
/** Creates a new integrationTemplate join. */
|
1324
1547
|
create(input: L.IntegrationTemplateCreateInput): LinearFetch<IntegrationTemplatePayload>;
|
1325
1548
|
/** Deletes a integrationTemplate. */
|
1326
|
-
delete(): LinearFetch<
|
1549
|
+
delete(): LinearFetch<DeletePayload>;
|
1327
1550
|
}
|
1328
1551
|
/**
|
1329
1552
|
* IntegrationTemplateConnection model
|
@@ -1562,16 +1785,32 @@ export declare class Issue extends Request {
|
|
1562
1785
|
/** Users who are subscribed to the issue. */
|
1563
1786
|
subscribers(variables?: Omit<L.Issue_SubscribersQueryVariables, "id">): LinearFetch<UserConnection>;
|
1564
1787
|
/** Archives an issue. */
|
1565
|
-
archive(variables?: Omit<L.ArchiveIssueMutationVariables, "id">): LinearFetch<
|
1788
|
+
archive(variables?: Omit<L.ArchiveIssueMutationVariables, "id">): LinearFetch<IssueArchivePayload>;
|
1566
1789
|
/** Creates a new issue. */
|
1567
1790
|
create(input: L.IssueCreateInput): LinearFetch<IssuePayload>;
|
1568
1791
|
/** Deletes (trashes) an issue. */
|
1569
|
-
delete(): LinearFetch<
|
1792
|
+
delete(): LinearFetch<IssueArchivePayload>;
|
1570
1793
|
/** Unarchives an issue. */
|
1571
|
-
unarchive(): LinearFetch<
|
1794
|
+
unarchive(): LinearFetch<IssueArchivePayload>;
|
1572
1795
|
/** Updates an issue. */
|
1573
1796
|
update(input: L.IssueUpdateInput): LinearFetch<IssuePayload>;
|
1574
1797
|
}
|
1798
|
+
/**
|
1799
|
+
* A generic payload return from entity archive mutations.
|
1800
|
+
*
|
1801
|
+
* @param request - function to call the graphql client
|
1802
|
+
* @param data - L.IssueArchivePayloadFragment response data
|
1803
|
+
*/
|
1804
|
+
export declare class IssueArchivePayload extends Request {
|
1805
|
+
private _entity?;
|
1806
|
+
constructor(request: LinearRequest, data: L.IssueArchivePayloadFragment);
|
1807
|
+
/** The identifier of the last sync operation. */
|
1808
|
+
lastSyncId: number;
|
1809
|
+
/** Whether the operation was successful. */
|
1810
|
+
success: boolean;
|
1811
|
+
/** The archived/unarchived entity. Null if entity was deleted. */
|
1812
|
+
get entity(): LinearFetch<Issue> | undefined;
|
1813
|
+
}
|
1575
1814
|
/**
|
1576
1815
|
* IssueBatchPayload model
|
1577
1816
|
*
|
@@ -1856,6 +2095,8 @@ export declare class IssueLabel extends Request {
|
|
1856
2095
|
description?: string;
|
1857
2096
|
/** The unique identifier of the entity. */
|
1858
2097
|
id: string;
|
2098
|
+
/** Whether this label is considered to be a group. */
|
2099
|
+
isGroup: boolean;
|
1859
2100
|
/** The label's name. */
|
1860
2101
|
name: string;
|
1861
2102
|
/**
|
@@ -1875,12 +2116,10 @@ export declare class IssueLabel extends Request {
|
|
1875
2116
|
children(variables?: Omit<L.IssueLabel_ChildrenQueryVariables, "id">): LinearFetch<IssueLabelConnection>;
|
1876
2117
|
/** Issues associated with the label. */
|
1877
2118
|
issues(variables?: Omit<L.IssueLabel_IssuesQueryVariables, "id">): LinearFetch<IssueConnection>;
|
1878
|
-
/** Deletes an issue label. */
|
1879
|
-
archive(): LinearFetch<ArchivePayload>;
|
1880
2119
|
/** Creates a new label. */
|
1881
2120
|
create(input: L.IssueLabelCreateInput, variables?: Omit<L.CreateIssueLabelMutationVariables, "input">): LinearFetch<IssueLabelPayload>;
|
1882
2121
|
/** Deletes an issue label. */
|
1883
|
-
delete(): LinearFetch<
|
2122
|
+
delete(): LinearFetch<DeletePayload>;
|
1884
2123
|
/** Updates an label. */
|
1885
2124
|
update(input: L.IssueLabelUpdateInput): LinearFetch<IssueLabelPayload>;
|
1886
2125
|
}
|
@@ -2021,7 +2260,7 @@ export declare class IssueRelation extends Request {
|
|
2021
2260
|
/** Creates a new issue relation. */
|
2022
2261
|
create(input: L.IssueRelationCreateInput): LinearFetch<IssueRelationPayload>;
|
2023
2262
|
/** Deletes an issue relation. */
|
2024
|
-
delete(): LinearFetch<
|
2263
|
+
delete(): LinearFetch<DeletePayload>;
|
2025
2264
|
/** Updates an issue relation. */
|
2026
2265
|
update(input: L.IssueRelationUpdateInput): LinearFetch<IssueRelationPayload>;
|
2027
2266
|
}
|
@@ -2231,6 +2470,50 @@ export declare class JiraSettings extends Request {
|
|
2231
2470
|
/** The Jira projects for the organization. */
|
2232
2471
|
projects: JiraProjectData[];
|
2233
2472
|
}
|
2473
|
+
/**
|
2474
|
+
* A label notification subscription.
|
2475
|
+
*
|
2476
|
+
* @param request - function to call the graphql client
|
2477
|
+
* @param data - L.LabelNotificationSubscriptionFragment response data
|
2478
|
+
*/
|
2479
|
+
export declare class LabelNotificationSubscription extends Request {
|
2480
|
+
private _customView?;
|
2481
|
+
private _cycle?;
|
2482
|
+
private _label;
|
2483
|
+
private _project?;
|
2484
|
+
private _subscriber;
|
2485
|
+
private _team?;
|
2486
|
+
private _user?;
|
2487
|
+
constructor(request: LinearRequest, data: L.LabelNotificationSubscriptionFragment);
|
2488
|
+
/** The time at which the entity was archived. Null if the entity has not been archived. */
|
2489
|
+
archivedAt?: Date;
|
2490
|
+
/** The time at which the entity was created. */
|
2491
|
+
createdAt: Date;
|
2492
|
+
/** The unique identifier of the entity. */
|
2493
|
+
id: string;
|
2494
|
+
/** The type of subscription. */
|
2495
|
+
notificationSubscriptionTypes: string[];
|
2496
|
+
/**
|
2497
|
+
* The last time at which the entity was meaningfully updated, i.e. for all changes of syncable properties except those
|
2498
|
+
* 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
|
2499
|
+
* been updated after creation.
|
2500
|
+
*/
|
2501
|
+
updatedAt: Date;
|
2502
|
+
/** The contextual custom view associated with the notification subscription. */
|
2503
|
+
get customView(): LinearFetch<CustomView> | undefined;
|
2504
|
+
/** The contextual cycle view associated with the notification subscription. */
|
2505
|
+
get cycle(): LinearFetch<Cycle> | undefined;
|
2506
|
+
/** The label subscribed to. */
|
2507
|
+
get label(): LinearFetch<IssueLabel> | undefined;
|
2508
|
+
/** The contextual project view associated with the notification subscription. */
|
2509
|
+
get project(): LinearFetch<Project> | undefined;
|
2510
|
+
/** The user that subscribed to receive notifications. */
|
2511
|
+
get subscriber(): LinearFetch<User> | undefined;
|
2512
|
+
/** The team associated with the notification subscription. */
|
2513
|
+
get team(): LinearFetch<Team> | undefined;
|
2514
|
+
/** The user view associated with the notification subscription. */
|
2515
|
+
get user(): LinearFetch<User> | undefined;
|
2516
|
+
}
|
2234
2517
|
/**
|
2235
2518
|
* LogoutResponse model
|
2236
2519
|
*
|
@@ -2293,12 +2576,40 @@ export declare class Notification extends Request {
|
|
2293
2576
|
/** The user that received the notification. */
|
2294
2577
|
get user(): LinearFetch<User> | undefined;
|
2295
2578
|
/** Archives a notification. */
|
2296
|
-
archive(): LinearFetch<
|
2579
|
+
archive(): LinearFetch<NotificationArchivePayload>;
|
2297
2580
|
/** Unarchives a notification. */
|
2298
|
-
unarchive(): LinearFetch<
|
2581
|
+
unarchive(): LinearFetch<NotificationArchivePayload>;
|
2299
2582
|
/** Updates a notification. */
|
2300
2583
|
update(input: L.NotificationUpdateInput): LinearFetch<NotificationPayload>;
|
2301
2584
|
}
|
2585
|
+
/**
|
2586
|
+
* A generic payload return from entity archive mutations.
|
2587
|
+
*
|
2588
|
+
* @param request - function to call the graphql client
|
2589
|
+
* @param data - L.NotificationArchivePayloadFragment response data
|
2590
|
+
*/
|
2591
|
+
export declare class NotificationArchivePayload extends Request {
|
2592
|
+
constructor(request: LinearRequest, data: L.NotificationArchivePayloadFragment);
|
2593
|
+
/** The identifier of the last sync operation. */
|
2594
|
+
lastSyncId: number;
|
2595
|
+
/** Whether the operation was successful. */
|
2596
|
+
success: boolean;
|
2597
|
+
}
|
2598
|
+
/**
|
2599
|
+
* NotificationBatchActionPayload model
|
2600
|
+
*
|
2601
|
+
* @param request - function to call the graphql client
|
2602
|
+
* @param data - L.NotificationBatchActionPayloadFragment response data
|
2603
|
+
*/
|
2604
|
+
export declare class NotificationBatchActionPayload extends Request {
|
2605
|
+
constructor(request: LinearRequest, data: L.NotificationBatchActionPayloadFragment);
|
2606
|
+
/** The identifier of the last sync operation. */
|
2607
|
+
lastSyncId: number;
|
2608
|
+
/** Whether the operation was successful. */
|
2609
|
+
success: boolean;
|
2610
|
+
/** The notifications that were updated. */
|
2611
|
+
notifications: Notification[];
|
2612
|
+
}
|
2302
2613
|
/**
|
2303
2614
|
* NotificationConnection model
|
2304
2615
|
*
|
@@ -2329,9 +2640,13 @@ export declare class NotificationPayload extends Request {
|
|
2329
2640
|
* @param data - L.NotificationSubscriptionFragment response data
|
2330
2641
|
*/
|
2331
2642
|
export declare class NotificationSubscription extends Request {
|
2643
|
+
private _customView?;
|
2644
|
+
private _cycle?;
|
2645
|
+
private _label?;
|
2332
2646
|
private _project?;
|
2647
|
+
private _subscriber;
|
2333
2648
|
private _team?;
|
2334
|
-
private _user
|
2649
|
+
private _user?;
|
2335
2650
|
constructor(request: LinearRequest, data: L.NotificationSubscriptionFragment);
|
2336
2651
|
/** The time at which the entity was archived. Null if the entity has not been archived. */
|
2337
2652
|
archivedAt?: Date;
|
@@ -2339,24 +2654,30 @@ export declare class NotificationSubscription extends Request {
|
|
2339
2654
|
createdAt: Date;
|
2340
2655
|
/** The unique identifier of the entity. */
|
2341
2656
|
id: string;
|
2342
|
-
/** The type of the subscription. */
|
2343
|
-
type: string;
|
2344
2657
|
/**
|
2345
2658
|
* The last time at which the entity was meaningfully updated, i.e. for all changes of syncable properties except those
|
2346
2659
|
* 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
2660
|
* been updated after creation.
|
2348
2661
|
*/
|
2349
2662
|
updatedAt: Date;
|
2350
|
-
/**
|
2663
|
+
/** The contextual custom view associated with the notification subscription. */
|
2664
|
+
get customView(): LinearFetch<CustomView> | undefined;
|
2665
|
+
/** The contextual cycle view associated with the notification subscription. */
|
2666
|
+
get cycle(): LinearFetch<Cycle> | undefined;
|
2667
|
+
/** The contextual label view associated with the notification subscription. */
|
2668
|
+
get label(): LinearFetch<IssueLabel> | undefined;
|
2669
|
+
/** The contextual project view associated with the notification subscription. */
|
2351
2670
|
get project(): LinearFetch<Project> | undefined;
|
2352
|
-
/**
|
2671
|
+
/** The user that subscribed to receive notifications. */
|
2672
|
+
get subscriber(): LinearFetch<User> | undefined;
|
2673
|
+
/** The team associated with the notification subscription. */
|
2353
2674
|
get team(): LinearFetch<Team> | undefined;
|
2354
|
-
/** The user associated with notification
|
2675
|
+
/** The user view associated with the notification subscription. */
|
2355
2676
|
get user(): LinearFetch<User> | undefined;
|
2356
|
-
/** Creates a new notification subscription for a
|
2677
|
+
/** Creates a new notification subscription for a cycle, custom view, label, project or team. */
|
2357
2678
|
create(input: L.NotificationSubscriptionCreateInput): LinearFetch<NotificationSubscriptionPayload>;
|
2358
2679
|
/** Deletes a notification subscription reference. */
|
2359
|
-
delete(): LinearFetch<
|
2680
|
+
delete(): LinearFetch<DeletePayload>;
|
2360
2681
|
/** Updates a notification subscription. */
|
2361
2682
|
update(input: L.NotificationSubscriptionUpdateInput): LinearFetch<NotificationSubscriptionPayload>;
|
2362
2683
|
}
|
@@ -2367,8 +2688,8 @@ export declare class NotificationSubscription extends Request {
|
|
2367
2688
|
* @param fetch - function to trigger a refetch of this NotificationSubscriptionConnection model
|
2368
2689
|
* @param data - NotificationSubscriptionConnection response data
|
2369
2690
|
*/
|
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);
|
2691
|
+
export declare class NotificationSubscriptionConnection extends Connection<CustomViewNotificationSubscription | CycleNotificationSubscription | LabelNotificationSubscription | ProjectNotificationSubscription | TeamNotificationSubscription | UserNotificationSubscription | NotificationSubscription> {
|
2692
|
+
constructor(request: LinearRequest, fetch: (connection?: LinearConnectionVariables) => LinearFetch<LinearConnection<CustomViewNotificationSubscription | CycleNotificationSubscription | LabelNotificationSubscription | ProjectNotificationSubscription | TeamNotificationSubscription | UserNotificationSubscription | NotificationSubscription> | undefined>, data: L.NotificationSubscriptionConnectionFragment);
|
2372
2693
|
}
|
2373
2694
|
/**
|
2374
2695
|
* NotificationSubscriptionPayload model
|
@@ -2656,7 +2977,7 @@ export declare class OrganizationDomain extends Request {
|
|
2656
2977
|
/** The user who added the domain. */
|
2657
2978
|
get creator(): LinearFetch<User> | undefined;
|
2658
2979
|
/** Deletes a domain. */
|
2659
|
-
delete(): LinearFetch<
|
2980
|
+
delete(): LinearFetch<DeletePayload>;
|
2660
2981
|
}
|
2661
2982
|
/**
|
2662
2983
|
* OrganizationExistsPayload model
|
@@ -2710,7 +3031,7 @@ export declare class OrganizationInvite extends Request {
|
|
2710
3031
|
/** Creates a new organization invite. */
|
2711
3032
|
create(input: L.OrganizationInviteCreateInput): LinearFetch<OrganizationInvitePayload>;
|
2712
3033
|
/** Deletes an organization invite. */
|
2713
|
-
delete(): LinearFetch<
|
3034
|
+
delete(): LinearFetch<DeletePayload>;
|
2714
3035
|
/** Updates an organization invite. */
|
2715
3036
|
update(input: L.OrganizationInviteUpdateInput): LinearFetch<OrganizationInvitePayload>;
|
2716
3037
|
}
|
@@ -2808,6 +3129,30 @@ export declare class PageInfo extends Request {
|
|
2808
3129
|
/** Cursor representing the first result in the paginated results. */
|
2809
3130
|
startCursor?: string;
|
2810
3131
|
}
|
3132
|
+
/**
|
3133
|
+
* Tuple for mapping PagerDuty schedule id to names.
|
3134
|
+
*
|
3135
|
+
* @param request - function to call the graphql client
|
3136
|
+
* @param data - L.PagerDutyScheduleMappingFragment response data
|
3137
|
+
*/
|
3138
|
+
export declare class PagerDutyScheduleMapping extends Request {
|
3139
|
+
constructor(request: LinearRequest, data: L.PagerDutyScheduleMappingFragment);
|
3140
|
+
/** The PagerDuty schedule id. */
|
3141
|
+
scheduleId: string;
|
3142
|
+
/** The PagerDuty schedule name. */
|
3143
|
+
scheduleName: string;
|
3144
|
+
}
|
3145
|
+
/**
|
3146
|
+
* PagerDuty specific settings.
|
3147
|
+
*
|
3148
|
+
* @param request - function to call the graphql client
|
3149
|
+
* @param data - L.PagerDutySettingsFragment response data
|
3150
|
+
*/
|
3151
|
+
export declare class PagerDutySettings extends Request {
|
3152
|
+
constructor(request: LinearRequest, data: L.PagerDutySettingsFragment);
|
3153
|
+
/** The mapping of PagerDuty schedule id to names. */
|
3154
|
+
scheduleMapping: PagerDutyScheduleMapping[];
|
3155
|
+
}
|
2811
3156
|
/**
|
2812
3157
|
* The paid subscription of an organization.
|
2813
3158
|
*
|
@@ -2906,6 +3251,8 @@ export declare class Project extends Request {
|
|
2906
3251
|
slugId: string;
|
2907
3252
|
/** The sort order for the project within the organization. */
|
2908
3253
|
sortOrder: number;
|
3254
|
+
/** The estimated start date of the project. */
|
3255
|
+
startDate?: L.Scalars["TimelessDate"];
|
2909
3256
|
/** The time at which the project was moved into started state. */
|
2910
3257
|
startedAt?: Date;
|
2911
3258
|
/** The type of the state. */
|
@@ -2943,16 +3290,32 @@ export declare class Project extends Request {
|
|
2943
3290
|
/** Teams associated with this project. */
|
2944
3291
|
teams(variables?: Omit<L.Project_TeamsQueryVariables, "id">): LinearFetch<TeamConnection>;
|
2945
3292
|
/** Archives a project. */
|
2946
|
-
archive(): LinearFetch<
|
3293
|
+
archive(): LinearFetch<ProjectArchivePayload>;
|
2947
3294
|
/** Creates a new project. */
|
2948
3295
|
create(input: L.ProjectCreateInput): LinearFetch<ProjectPayload>;
|
2949
3296
|
/** Deletes a project. All issues will be disassociated from the deleted project. */
|
2950
|
-
delete(): LinearFetch<
|
3297
|
+
delete(): LinearFetch<DeletePayload>;
|
2951
3298
|
/** Unarchives a project. */
|
2952
|
-
unarchive(): LinearFetch<
|
3299
|
+
unarchive(): LinearFetch<ProjectArchivePayload>;
|
2953
3300
|
/** Updates a project. */
|
2954
3301
|
update(input: L.ProjectUpdateInput): LinearFetch<ProjectPayload>;
|
2955
3302
|
}
|
3303
|
+
/**
|
3304
|
+
* A generic payload return from entity archive mutations.
|
3305
|
+
*
|
3306
|
+
* @param request - function to call the graphql client
|
3307
|
+
* @param data - L.ProjectArchivePayloadFragment response data
|
3308
|
+
*/
|
3309
|
+
export declare class ProjectArchivePayload extends Request {
|
3310
|
+
private _entity?;
|
3311
|
+
constructor(request: LinearRequest, data: L.ProjectArchivePayloadFragment);
|
3312
|
+
/** The identifier of the last sync operation. */
|
3313
|
+
lastSyncId: number;
|
3314
|
+
/** Whether the operation was successful. */
|
3315
|
+
success: boolean;
|
3316
|
+
/** The archived/unarchived entity. Null if entity was deleted. */
|
3317
|
+
get entity(): LinearFetch<Project> | undefined;
|
3318
|
+
}
|
2956
3319
|
/**
|
2957
3320
|
* ProjectConnection model
|
2958
3321
|
*
|
@@ -3007,7 +3370,7 @@ export declare class ProjectLink extends Request {
|
|
3007
3370
|
/** Creates a new project link. */
|
3008
3371
|
create(input: L.ProjectLinkCreateInput): LinearFetch<ProjectLinkPayload>;
|
3009
3372
|
/** Deletes a project link. */
|
3010
|
-
delete(): LinearFetch<
|
3373
|
+
delete(): LinearFetch<DeletePayload>;
|
3011
3374
|
/** Updates a project link. */
|
3012
3375
|
update(input: L.ProjectLinkUpdateInput): LinearFetch<ProjectLinkPayload>;
|
3013
3376
|
}
|
@@ -3071,7 +3434,7 @@ export declare class ProjectMilestone extends Request {
|
|
3071
3434
|
/** Creates a new project milestone. */
|
3072
3435
|
create(input: L.ProjectMilestoneCreateInput): LinearFetch<ProjectMilestonePayload>;
|
3073
3436
|
/** Deletes a project milestone. */
|
3074
|
-
delete(): LinearFetch<
|
3437
|
+
delete(): LinearFetch<DeletePayload>;
|
3075
3438
|
/** Updates a project milestone. */
|
3076
3439
|
update(input: L.ProjectMilestoneUpdateInput): LinearFetch<ProjectMilestonePayload>;
|
3077
3440
|
}
|
@@ -3154,9 +3517,13 @@ export declare class ProjectNotification extends Request {
|
|
3154
3517
|
* @param data - L.ProjectNotificationSubscriptionFragment response data
|
3155
3518
|
*/
|
3156
3519
|
export declare class ProjectNotificationSubscription extends Request {
|
3520
|
+
private _customView?;
|
3521
|
+
private _cycle?;
|
3522
|
+
private _label?;
|
3157
3523
|
private _project;
|
3524
|
+
private _subscriber;
|
3158
3525
|
private _team?;
|
3159
|
-
private _user
|
3526
|
+
private _user?;
|
3160
3527
|
constructor(request: LinearRequest, data: L.ProjectNotificationSubscriptionFragment);
|
3161
3528
|
/** The time at which the entity was archived. Null if the entity has not been archived. */
|
3162
3529
|
archivedAt?: Date;
|
@@ -3164,19 +3531,27 @@ export declare class ProjectNotificationSubscription extends Request {
|
|
3164
3531
|
createdAt: Date;
|
3165
3532
|
/** The unique identifier of the entity. */
|
3166
3533
|
id: string;
|
3167
|
-
/** The type of
|
3168
|
-
|
3534
|
+
/** The type of subscription. */
|
3535
|
+
notificationSubscriptionTypes: string[];
|
3169
3536
|
/**
|
3170
3537
|
* The last time at which the entity was meaningfully updated, i.e. for all changes of syncable properties except those
|
3171
3538
|
* 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
3539
|
* been updated after creation.
|
3173
3540
|
*/
|
3174
3541
|
updatedAt: Date;
|
3542
|
+
/** The contextual custom view associated with the notification subscription. */
|
3543
|
+
get customView(): LinearFetch<CustomView> | undefined;
|
3544
|
+
/** The contextual cycle view associated with the notification subscription. */
|
3545
|
+
get cycle(): LinearFetch<Cycle> | undefined;
|
3546
|
+
/** The contextual label view associated with the notification subscription. */
|
3547
|
+
get label(): LinearFetch<IssueLabel> | undefined;
|
3175
3548
|
/** The project subscribed to. */
|
3176
3549
|
get project(): LinearFetch<Project> | undefined;
|
3177
|
-
/**
|
3550
|
+
/** The user that subscribed to receive notifications. */
|
3551
|
+
get subscriber(): LinearFetch<User> | undefined;
|
3552
|
+
/** The team associated with the notification subscription. */
|
3178
3553
|
get team(): LinearFetch<Team> | undefined;
|
3179
|
-
/** The user associated with notification
|
3554
|
+
/** The user view associated with the notification subscription. */
|
3180
3555
|
get user(): LinearFetch<User> | undefined;
|
3181
3556
|
}
|
3182
3557
|
/**
|
@@ -3270,6 +3645,8 @@ export declare class ProjectSearchResult extends Request {
|
|
3270
3645
|
slugId: string;
|
3271
3646
|
/** The sort order for the project within the organization. */
|
3272
3647
|
sortOrder: number;
|
3648
|
+
/** The estimated start date of the project. */
|
3649
|
+
startDate?: L.Scalars["TimelessDate"];
|
3273
3650
|
/** The time at which the project was moved into started state. */
|
3274
3651
|
startedAt?: Date;
|
3275
3652
|
/** The type of the state. */
|
@@ -3338,7 +3715,7 @@ export declare class ProjectUpdate extends Request {
|
|
3338
3715
|
/** Creates a new project update. */
|
3339
3716
|
create(input: L.ProjectUpdateCreateInput): LinearFetch<ProjectUpdatePayload>;
|
3340
3717
|
/** Deletes a project update. */
|
3341
|
-
delete(): LinearFetch<
|
3718
|
+
delete(): LinearFetch<DeletePayload>;
|
3342
3719
|
/** Updates a project update. */
|
3343
3720
|
update(input: L.ProjectUpdateUpdateInput): LinearFetch<ProjectUpdatePayload>;
|
3344
3721
|
}
|
@@ -3567,7 +3944,7 @@ export declare class Reaction extends Request {
|
|
3567
3944
|
/** Creates a new reaction. */
|
3568
3945
|
create(input: L.ReactionCreateInput): LinearFetch<ReactionPayload>;
|
3569
3946
|
/** Deletes a reaction. */
|
3570
|
-
delete(): LinearFetch<
|
3947
|
+
delete(): LinearFetch<DeletePayload>;
|
3571
3948
|
}
|
3572
3949
|
/**
|
3573
3950
|
* ReactionConnection model
|
@@ -3633,16 +4010,32 @@ export declare class Roadmap extends Request {
|
|
3633
4010
|
/** Projects associated with the roadmap. */
|
3634
4011
|
projects(variables?: Omit<L.Roadmap_ProjectsQueryVariables, "id">): LinearFetch<ProjectConnection>;
|
3635
4012
|
/** Archives a roadmap. */
|
3636
|
-
archive(): LinearFetch<
|
4013
|
+
archive(): LinearFetch<RoadmapArchivePayload>;
|
3637
4014
|
/** Creates a new roadmap. */
|
3638
4015
|
create(input: L.RoadmapCreateInput): LinearFetch<RoadmapPayload>;
|
3639
4016
|
/** Deletes a roadmap. */
|
3640
|
-
delete(): LinearFetch<
|
4017
|
+
delete(): LinearFetch<DeletePayload>;
|
3641
4018
|
/** Unarchives a roadmap. */
|
3642
|
-
unarchive(): LinearFetch<
|
4019
|
+
unarchive(): LinearFetch<RoadmapArchivePayload>;
|
3643
4020
|
/** Updates a roadmap. */
|
3644
4021
|
update(input: L.RoadmapUpdateInput): LinearFetch<RoadmapPayload>;
|
3645
4022
|
}
|
4023
|
+
/**
|
4024
|
+
* A generic payload return from entity archive mutations.
|
4025
|
+
*
|
4026
|
+
* @param request - function to call the graphql client
|
4027
|
+
* @param data - L.RoadmapArchivePayloadFragment response data
|
4028
|
+
*/
|
4029
|
+
export declare class RoadmapArchivePayload extends Request {
|
4030
|
+
private _entity?;
|
4031
|
+
constructor(request: LinearRequest, data: L.RoadmapArchivePayloadFragment);
|
4032
|
+
/** The identifier of the last sync operation. */
|
4033
|
+
lastSyncId: number;
|
4034
|
+
/** Whether the operation was successful. */
|
4035
|
+
success: boolean;
|
4036
|
+
/** The archived/unarchived entity. Null if entity was deleted. */
|
4037
|
+
get entity(): LinearFetch<Roadmap> | undefined;
|
4038
|
+
}
|
3646
4039
|
/**
|
3647
4040
|
* RoadmapConnection model
|
3648
4041
|
*
|
@@ -3700,7 +4093,7 @@ export declare class RoadmapToProject extends Request {
|
|
3700
4093
|
/** Creates a new roadmapToProject join. */
|
3701
4094
|
create(input: L.RoadmapToProjectCreateInput): LinearFetch<RoadmapToProjectPayload>;
|
3702
4095
|
/** Deletes a roadmapToProject. */
|
3703
|
-
delete(): LinearFetch<
|
4096
|
+
delete(): LinearFetch<DeletePayload>;
|
3704
4097
|
/** Updates a roadmapToProject. */
|
3705
4098
|
update(input: L.RoadmapToProjectUpdateInput): LinearFetch<RoadmapToProjectPayload>;
|
3706
4099
|
}
|
@@ -3902,6 +4295,8 @@ export declare class Team extends Request {
|
|
3902
4295
|
id: string;
|
3903
4296
|
/** Unique hash for the team to be used in invite URLs. */
|
3904
4297
|
inviteHash: string;
|
4298
|
+
/** Number of issues in the team. */
|
4299
|
+
issueCount: number;
|
3905
4300
|
/** Whether to allow zeros in issues estimates. */
|
3906
4301
|
issueEstimationAllowZero: boolean;
|
3907
4302
|
/** Whether to add additional points to the estimate scale. */
|
@@ -3983,7 +4378,7 @@ export declare class Team extends Request {
|
|
3983
4378
|
/** Creates a new team. The user who creates the team will automatically be added as a member to the newly created team. */
|
3984
4379
|
create(input: L.TeamCreateInput, variables?: Omit<L.CreateTeamMutationVariables, "input">): LinearFetch<TeamPayload>;
|
3985
4380
|
/** Deletes a team. */
|
3986
|
-
delete(): LinearFetch<
|
4381
|
+
delete(): LinearFetch<DeletePayload>;
|
3987
4382
|
/** Updates a team. */
|
3988
4383
|
update(input: L.TeamUpdateInput): LinearFetch<TeamPayload>;
|
3989
4384
|
}
|
@@ -4030,7 +4425,7 @@ export declare class TeamMembership extends Request {
|
|
4030
4425
|
/** Creates a new team membership. */
|
4031
4426
|
create(input: L.TeamMembershipCreateInput): LinearFetch<TeamMembershipPayload>;
|
4032
4427
|
/** Deletes a team membership. */
|
4033
|
-
delete(): LinearFetch<
|
4428
|
+
delete(): LinearFetch<DeletePayload>;
|
4034
4429
|
/** Updates a team membership. */
|
4035
4430
|
update(input: L.TeamMembershipUpdateInput): LinearFetch<TeamMembershipPayload>;
|
4036
4431
|
}
|
@@ -4067,9 +4462,13 @@ export declare class TeamMembershipPayload extends Request {
|
|
4067
4462
|
* @param data - L.TeamNotificationSubscriptionFragment response data
|
4068
4463
|
*/
|
4069
4464
|
export declare class TeamNotificationSubscription extends Request {
|
4465
|
+
private _customView?;
|
4466
|
+
private _cycle?;
|
4467
|
+
private _label?;
|
4070
4468
|
private _project?;
|
4469
|
+
private _subscriber;
|
4071
4470
|
private _team;
|
4072
|
-
private _user
|
4471
|
+
private _user?;
|
4073
4472
|
constructor(request: LinearRequest, data: L.TeamNotificationSubscriptionFragment);
|
4074
4473
|
/** The time at which the entity was archived. Null if the entity has not been archived. */
|
4075
4474
|
archivedAt?: Date;
|
@@ -4077,19 +4476,27 @@ export declare class TeamNotificationSubscription extends Request {
|
|
4077
4476
|
createdAt: Date;
|
4078
4477
|
/** The unique identifier of the entity. */
|
4079
4478
|
id: string;
|
4080
|
-
/** The type of
|
4081
|
-
|
4479
|
+
/** The type of subscription. */
|
4480
|
+
notificationSubscriptionTypes: string[];
|
4082
4481
|
/**
|
4083
4482
|
* The last time at which the entity was meaningfully updated, i.e. for all changes of syncable properties except those
|
4084
4483
|
* 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
4484
|
* been updated after creation.
|
4086
4485
|
*/
|
4087
4486
|
updatedAt: Date;
|
4088
|
-
/**
|
4487
|
+
/** The contextual custom view associated with the notification subscription. */
|
4488
|
+
get customView(): LinearFetch<CustomView> | undefined;
|
4489
|
+
/** The contextual cycle view associated with the notification subscription. */
|
4490
|
+
get cycle(): LinearFetch<Cycle> | undefined;
|
4491
|
+
/** The contextual label view associated with the notification subscription. */
|
4492
|
+
get label(): LinearFetch<IssueLabel> | undefined;
|
4493
|
+
/** The contextual project view associated with the notification subscription. */
|
4089
4494
|
get project(): LinearFetch<Project> | undefined;
|
4495
|
+
/** The user that subscribed to receive notifications. */
|
4496
|
+
get subscriber(): LinearFetch<User> | undefined;
|
4090
4497
|
/** The team subscribed to. */
|
4091
4498
|
get team(): LinearFetch<Team> | undefined;
|
4092
|
-
/** The user associated with notification
|
4499
|
+
/** The user view associated with the notification subscription. */
|
4093
4500
|
get user(): LinearFetch<User> | undefined;
|
4094
4501
|
}
|
4095
4502
|
/**
|
@@ -4150,7 +4557,7 @@ export declare class Template extends Request {
|
|
4150
4557
|
/** Creates a new template. */
|
4151
4558
|
create(input: L.TemplateCreateInput): LinearFetch<TemplatePayload>;
|
4152
4559
|
/** Deletes a template. */
|
4153
|
-
delete(): LinearFetch<
|
4560
|
+
delete(): LinearFetch<DeletePayload>;
|
4154
4561
|
/** Updates an existing template. */
|
4155
4562
|
update(input: L.TemplateUpdateInput): LinearFetch<TemplatePayload>;
|
4156
4563
|
}
|
@@ -4382,6 +4789,50 @@ export declare class UserAuthorizedApplication extends Request {
|
|
4382
4789
|
export declare class UserConnection extends Connection<User> {
|
4383
4790
|
constructor(request: LinearRequest, fetch: (connection?: LinearConnectionVariables) => LinearFetch<LinearConnection<User> | undefined>, data: L.UserConnectionFragment);
|
4384
4791
|
}
|
4792
|
+
/**
|
4793
|
+
* A user notification subscription.
|
4794
|
+
*
|
4795
|
+
* @param request - function to call the graphql client
|
4796
|
+
* @param data - L.UserNotificationSubscriptionFragment response data
|
4797
|
+
*/
|
4798
|
+
export declare class UserNotificationSubscription extends Request {
|
4799
|
+
private _customView?;
|
4800
|
+
private _cycle?;
|
4801
|
+
private _label?;
|
4802
|
+
private _project?;
|
4803
|
+
private _subscriber;
|
4804
|
+
private _team?;
|
4805
|
+
private _user;
|
4806
|
+
constructor(request: LinearRequest, data: L.UserNotificationSubscriptionFragment);
|
4807
|
+
/** The time at which the entity was archived. Null if the entity has not been archived. */
|
4808
|
+
archivedAt?: Date;
|
4809
|
+
/** The time at which the entity was created. */
|
4810
|
+
createdAt: Date;
|
4811
|
+
/** The unique identifier of the entity. */
|
4812
|
+
id: string;
|
4813
|
+
/** The type of subscription. */
|
4814
|
+
notificationSubscriptionTypes: string[];
|
4815
|
+
/**
|
4816
|
+
* The last time at which the entity was meaningfully updated, i.e. for all changes of syncable properties except those
|
4817
|
+
* 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
|
4818
|
+
* been updated after creation.
|
4819
|
+
*/
|
4820
|
+
updatedAt: Date;
|
4821
|
+
/** The contextual custom view associated with the notification subscription. */
|
4822
|
+
get customView(): LinearFetch<CustomView> | undefined;
|
4823
|
+
/** The contextual cycle view associated with the notification subscription. */
|
4824
|
+
get cycle(): LinearFetch<Cycle> | undefined;
|
4825
|
+
/** The contextual label view associated with the notification subscription. */
|
4826
|
+
get label(): LinearFetch<IssueLabel> | undefined;
|
4827
|
+
/** The contextual project view associated with the notification subscription. */
|
4828
|
+
get project(): LinearFetch<Project> | undefined;
|
4829
|
+
/** The user that subscribed to receive notifications. */
|
4830
|
+
get subscriber(): LinearFetch<User> | undefined;
|
4831
|
+
/** The team associated with the notification subscription. */
|
4832
|
+
get team(): LinearFetch<Team> | undefined;
|
4833
|
+
/** The user subscribed to. */
|
4834
|
+
get user(): LinearFetch<User> | undefined;
|
4835
|
+
}
|
4385
4836
|
/**
|
4386
4837
|
* UserPayload model
|
4387
4838
|
*
|
@@ -4504,7 +4955,7 @@ export declare class ViewPreferences extends Request {
|
|
4504
4955
|
/** Creates a new ViewPreferences object. */
|
4505
4956
|
create(input: L.ViewPreferencesCreateInput): LinearFetch<ViewPreferencesPayload>;
|
4506
4957
|
/** Deletes a ViewPreferences. */
|
4507
|
-
delete(): LinearFetch<
|
4958
|
+
delete(): LinearFetch<DeletePayload>;
|
4508
4959
|
/** Updates an existing ViewPreferences object. */
|
4509
4960
|
update(input: L.ViewPreferencesUpdateInput): LinearFetch<ViewPreferencesPayload>;
|
4510
4961
|
}
|
@@ -4564,7 +5015,7 @@ export declare class Webhook extends Request {
|
|
4564
5015
|
/** Creates a new webhook. */
|
4565
5016
|
create(input: L.WebhookCreateInput): LinearFetch<WebhookPayload>;
|
4566
5017
|
/** Deletes a Webhook. */
|
4567
|
-
delete(): LinearFetch<
|
5018
|
+
delete(): LinearFetch<DeletePayload>;
|
4568
5019
|
/** Updates an existing Webhook. */
|
4569
5020
|
update(input: L.WebhookUpdateInput): LinearFetch<WebhookPayload>;
|
4570
5021
|
}
|
@@ -4650,7 +5101,12 @@ export declare class WorkflowCronJobDefinitionConnection extends Connection<Work
|
|
4650
5101
|
*/
|
4651
5102
|
export declare class WorkflowDefinition extends Request {
|
4652
5103
|
private _creator;
|
5104
|
+
private _customView?;
|
5105
|
+
private _cycle?;
|
5106
|
+
private _label?;
|
5107
|
+
private _project?;
|
4653
5108
|
private _team?;
|
5109
|
+
private _user?;
|
4654
5110
|
constructor(request: LinearRequest, data: L.WorkflowDefinitionFragment);
|
4655
5111
|
/** An array of activities that will be executed as part of the workflow. */
|
4656
5112
|
activities: Record<string, unknown>;
|
@@ -4679,8 +5135,18 @@ export declare class WorkflowDefinition extends Request {
|
|
4679
5135
|
updatedAt: Date;
|
4680
5136
|
/** The user who created the workflow. */
|
4681
5137
|
get creator(): LinearFetch<User> | undefined;
|
5138
|
+
/** The context custom view associated with the workflow. */
|
5139
|
+
get customView(): LinearFetch<CustomView> | undefined;
|
5140
|
+
/** The contextual cycle view associated with the workflow. */
|
5141
|
+
get cycle(): LinearFetch<Cycle> | undefined;
|
5142
|
+
/** The contextual label view associated with the workflow. */
|
5143
|
+
get label(): LinearFetch<IssueLabel> | undefined;
|
5144
|
+
/** The contextual project view associated with the workflow. */
|
5145
|
+
get project(): LinearFetch<Project> | undefined;
|
4682
5146
|
/** The team associated with the workflow. If not set, the workflow is associated with the entire organization. */
|
4683
5147
|
get team(): LinearFetch<Team> | undefined;
|
5148
|
+
/** The contextual user view associated with the workflow. */
|
5149
|
+
get user(): LinearFetch<User> | undefined;
|
4684
5150
|
}
|
4685
5151
|
/**
|
4686
5152
|
* WorkflowDefinitionConnection model
|
@@ -4728,12 +5194,28 @@ export declare class WorkflowState extends Request {
|
|
4728
5194
|
/** Issues belonging in this state. */
|
4729
5195
|
issues(variables?: Omit<L.WorkflowState_IssuesQueryVariables, "id">): LinearFetch<IssueConnection>;
|
4730
5196
|
/** Archives a state. Only states with issues that have all been archived can be archived. */
|
4731
|
-
archive(): LinearFetch<
|
5197
|
+
archive(): LinearFetch<WorkflowStateArchivePayload>;
|
4732
5198
|
/** Creates a new state, adding it to the workflow of a team. */
|
4733
5199
|
create(input: L.WorkflowStateCreateInput): LinearFetch<WorkflowStatePayload>;
|
4734
5200
|
/** Updates a state. */
|
4735
5201
|
update(input: L.WorkflowStateUpdateInput): LinearFetch<WorkflowStatePayload>;
|
4736
5202
|
}
|
5203
|
+
/**
|
5204
|
+
* A generic payload return from entity archive mutations.
|
5205
|
+
*
|
5206
|
+
* @param request - function to call the graphql client
|
5207
|
+
* @param data - L.WorkflowStateArchivePayloadFragment response data
|
5208
|
+
*/
|
5209
|
+
export declare class WorkflowStateArchivePayload extends Request {
|
5210
|
+
private _entity?;
|
5211
|
+
constructor(request: LinearRequest, data: L.WorkflowStateArchivePayloadFragment);
|
5212
|
+
/** The identifier of the last sync operation. */
|
5213
|
+
lastSyncId: number;
|
5214
|
+
/** Whether the operation was successful. */
|
5215
|
+
success: boolean;
|
5216
|
+
/** The archived/unarchived entity. Null if entity was deleted. */
|
5217
|
+
get entity(): LinearFetch<WorkflowState> | undefined;
|
5218
|
+
}
|
4737
5219
|
/**
|
4738
5220
|
* WorkflowStateConnection model
|
4739
5221
|
*
|
@@ -4823,12 +5305,12 @@ export declare class CreateApiKeyMutation extends Request {
|
|
4823
5305
|
export declare class DeleteApiKeyMutation extends Request {
|
4824
5306
|
constructor(request: LinearRequest);
|
4825
5307
|
/**
|
4826
|
-
* Call the DeleteApiKey mutation and return a
|
5308
|
+
* Call the DeleteApiKey mutation and return a DeletePayload
|
4827
5309
|
*
|
4828
5310
|
* @param id - required id to pass to deleteApiKey
|
4829
5311
|
* @returns parsed response from DeleteApiKeyMutation
|
4830
5312
|
*/
|
4831
|
-
fetch(id: string): LinearFetch<
|
5313
|
+
fetch(id: string): LinearFetch<DeletePayload>;
|
4832
5314
|
}
|
4833
5315
|
/**
|
4834
5316
|
* A fetchable ArchiveAttachment Mutation
|
@@ -4838,12 +5320,12 @@ export declare class DeleteApiKeyMutation extends Request {
|
|
4838
5320
|
export declare class ArchiveAttachmentMutation extends Request {
|
4839
5321
|
constructor(request: LinearRequest);
|
4840
5322
|
/**
|
4841
|
-
* Call the ArchiveAttachment mutation and return a
|
5323
|
+
* Call the ArchiveAttachment mutation and return a AttachmentArchivePayload
|
4842
5324
|
*
|
4843
5325
|
* @param id - required id to pass to archiveAttachment
|
4844
5326
|
* @returns parsed response from ArchiveAttachmentMutation
|
4845
5327
|
*/
|
4846
|
-
fetch(id: string): LinearFetch<
|
5328
|
+
fetch(id: string): LinearFetch<AttachmentArchivePayload>;
|
4847
5329
|
}
|
4848
5330
|
/**
|
4849
5331
|
* A fetchable CreateAttachment Mutation
|
@@ -4868,12 +5350,12 @@ export declare class CreateAttachmentMutation extends Request {
|
|
4868
5350
|
export declare class DeleteAttachmentMutation extends Request {
|
4869
5351
|
constructor(request: LinearRequest);
|
4870
5352
|
/**
|
4871
|
-
* Call the DeleteAttachment mutation and return a
|
5353
|
+
* Call the DeleteAttachment mutation and return a DeletePayload
|
4872
5354
|
*
|
4873
5355
|
* @param id - required id to pass to deleteAttachment
|
4874
5356
|
* @returns parsed response from DeleteAttachmentMutation
|
4875
5357
|
*/
|
4876
|
-
fetch(id: string): LinearFetch<
|
5358
|
+
fetch(id: string): LinearFetch<DeletePayload>;
|
4877
5359
|
}
|
4878
5360
|
/**
|
4879
5361
|
* A fetchable AttachmentLinkDiscord Mutation
|
@@ -4941,6 +5423,25 @@ export declare class AttachmentLinkJiraIssueMutation extends Request {
|
|
4941
5423
|
*/
|
4942
5424
|
fetch(issueId: string, jiraIssueId: string): LinearFetch<AttachmentPayload>;
|
4943
5425
|
}
|
5426
|
+
/**
|
5427
|
+
* A fetchable AttachmentLinkSlack Mutation
|
5428
|
+
*
|
5429
|
+
* @param request - function to call the graphql client
|
5430
|
+
*/
|
5431
|
+
export declare class AttachmentLinkSlackMutation extends Request {
|
5432
|
+
constructor(request: LinearRequest);
|
5433
|
+
/**
|
5434
|
+
* Call the AttachmentLinkSlack mutation and return a AttachmentPayload
|
5435
|
+
*
|
5436
|
+
* @param channel - required channel to pass to attachmentLinkSlack
|
5437
|
+
* @param issueId - required issueId to pass to attachmentLinkSlack
|
5438
|
+
* @param latest - required latest to pass to attachmentLinkSlack
|
5439
|
+
* @param url - required url to pass to attachmentLinkSlack
|
5440
|
+
* @param variables - variables without 'channel', 'issueId', 'latest', 'url' to pass into the AttachmentLinkSlackMutation
|
5441
|
+
* @returns parsed response from AttachmentLinkSlackMutation
|
5442
|
+
*/
|
5443
|
+
fetch(channel: string, issueId: string, latest: string, url: string, variables?: Omit<L.AttachmentLinkSlackMutationVariables, "channel" | "issueId" | "latest" | "url">): LinearFetch<AttachmentPayload>;
|
5444
|
+
}
|
4944
5445
|
/**
|
4945
5446
|
* A fetchable AttachmentLinkUrl Mutation
|
4946
5447
|
*
|
@@ -4974,6 +5475,21 @@ export declare class AttachmentLinkZendeskMutation extends Request {
|
|
4974
5475
|
*/
|
4975
5476
|
fetch(issueId: string, ticketId: string): LinearFetch<AttachmentPayload>;
|
4976
5477
|
}
|
5478
|
+
/**
|
5479
|
+
* A fetchable AttachmentUnsyncSlack Mutation
|
5480
|
+
*
|
5481
|
+
* @param request - function to call the graphql client
|
5482
|
+
*/
|
5483
|
+
export declare class AttachmentUnsyncSlackMutation extends Request {
|
5484
|
+
constructor(request: LinearRequest);
|
5485
|
+
/**
|
5486
|
+
* Call the AttachmentUnsyncSlack mutation and return a AttachmentPayload
|
5487
|
+
*
|
5488
|
+
* @param id - required id to pass to attachmentUnsyncSlack
|
5489
|
+
* @returns parsed response from AttachmentUnsyncSlackMutation
|
5490
|
+
*/
|
5491
|
+
fetch(id: string): LinearFetch<AttachmentPayload>;
|
5492
|
+
}
|
4977
5493
|
/**
|
4978
5494
|
* A fetchable UpdateAttachment Mutation
|
4979
5495
|
*
|
@@ -5013,12 +5529,12 @@ export declare class CreateCommentMutation extends Request {
|
|
5013
5529
|
export declare class DeleteCommentMutation extends Request {
|
5014
5530
|
constructor(request: LinearRequest);
|
5015
5531
|
/**
|
5016
|
-
* Call the DeleteComment mutation and return a
|
5532
|
+
* Call the DeleteComment mutation and return a DeletePayload
|
5017
5533
|
*
|
5018
5534
|
* @param id - required id to pass to deleteComment
|
5019
5535
|
* @returns parsed response from DeleteCommentMutation
|
5020
5536
|
*/
|
5021
|
-
fetch(id: string): LinearFetch<
|
5537
|
+
fetch(id: string): LinearFetch<DeletePayload>;
|
5022
5538
|
}
|
5023
5539
|
/**
|
5024
5540
|
* A fetchable UpdateComment Mutation
|
@@ -5105,12 +5621,12 @@ export declare class CreateCustomViewMutation extends Request {
|
|
5105
5621
|
export declare class DeleteCustomViewMutation extends Request {
|
5106
5622
|
constructor(request: LinearRequest);
|
5107
5623
|
/**
|
5108
|
-
* Call the DeleteCustomView mutation and return a
|
5624
|
+
* Call the DeleteCustomView mutation and return a DeletePayload
|
5109
5625
|
*
|
5110
5626
|
* @param id - required id to pass to deleteCustomView
|
5111
5627
|
* @returns parsed response from DeleteCustomViewMutation
|
5112
5628
|
*/
|
5113
|
-
fetch(id: string): LinearFetch<
|
5629
|
+
fetch(id: string): LinearFetch<DeletePayload>;
|
5114
5630
|
}
|
5115
5631
|
/**
|
5116
5632
|
* A fetchable UpdateCustomView Mutation
|
@@ -5136,12 +5652,12 @@ export declare class UpdateCustomViewMutation extends Request {
|
|
5136
5652
|
export declare class ArchiveCycleMutation extends Request {
|
5137
5653
|
constructor(request: LinearRequest);
|
5138
5654
|
/**
|
5139
|
-
* Call the ArchiveCycle mutation and return a
|
5655
|
+
* Call the ArchiveCycle mutation and return a CycleArchivePayload
|
5140
5656
|
*
|
5141
5657
|
* @param id - required id to pass to archiveCycle
|
5142
5658
|
* @returns parsed response from ArchiveCycleMutation
|
5143
5659
|
*/
|
5144
|
-
fetch(id: string): LinearFetch<
|
5660
|
+
fetch(id: string): LinearFetch<CycleArchivePayload>;
|
5145
5661
|
}
|
5146
5662
|
/**
|
5147
5663
|
* A fetchable CreateCycle Mutation
|
@@ -5197,12 +5713,12 @@ export declare class CreateDocumentMutation extends Request {
|
|
5197
5713
|
export declare class DeleteDocumentMutation extends Request {
|
5198
5714
|
constructor(request: LinearRequest);
|
5199
5715
|
/**
|
5200
|
-
* Call the DeleteDocument mutation and return a
|
5716
|
+
* Call the DeleteDocument mutation and return a DeletePayload
|
5201
5717
|
*
|
5202
5718
|
* @param id - required id to pass to deleteDocument
|
5203
5719
|
* @returns parsed response from DeleteDocumentMutation
|
5204
5720
|
*/
|
5205
|
-
fetch(id: string): LinearFetch<
|
5721
|
+
fetch(id: string): LinearFetch<DeletePayload>;
|
5206
5722
|
}
|
5207
5723
|
/**
|
5208
5724
|
* A fetchable UpdateDocument Mutation
|
@@ -5288,27 +5804,12 @@ export declare class CreateEmojiMutation extends Request {
|
|
5288
5804
|
export declare class DeleteEmojiMutation extends Request {
|
5289
5805
|
constructor(request: LinearRequest);
|
5290
5806
|
/**
|
5291
|
-
* Call the DeleteEmoji mutation and return a
|
5807
|
+
* Call the DeleteEmoji mutation and return a DeletePayload
|
5292
5808
|
*
|
5293
5809
|
* @param id - required id to pass to deleteEmoji
|
5294
5810
|
* @returns parsed response from DeleteEmojiMutation
|
5295
5811
|
*/
|
5296
|
-
fetch(id: string): LinearFetch<
|
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>;
|
5812
|
+
fetch(id: string): LinearFetch<DeletePayload>;
|
5312
5813
|
}
|
5313
5814
|
/**
|
5314
5815
|
* A fetchable CreateFavorite Mutation
|
@@ -5333,12 +5834,12 @@ export declare class CreateFavoriteMutation extends Request {
|
|
5333
5834
|
export declare class DeleteFavoriteMutation extends Request {
|
5334
5835
|
constructor(request: LinearRequest);
|
5335
5836
|
/**
|
5336
|
-
* Call the DeleteFavorite mutation and return a
|
5837
|
+
* Call the DeleteFavorite mutation and return a DeletePayload
|
5337
5838
|
*
|
5338
5839
|
* @param id - required id to pass to deleteFavorite
|
5339
5840
|
* @returns parsed response from DeleteFavoriteMutation
|
5340
5841
|
*/
|
5341
|
-
fetch(id: string): LinearFetch<
|
5842
|
+
fetch(id: string): LinearFetch<DeletePayload>;
|
5342
5843
|
}
|
5343
5844
|
/**
|
5344
5845
|
* A fetchable UpdateFavorite Mutation
|
@@ -5430,12 +5931,12 @@ export declare class ImportFileUploadMutation extends Request {
|
|
5430
5931
|
export declare class DeleteIntegrationMutation extends Request {
|
5431
5932
|
constructor(request: LinearRequest);
|
5432
5933
|
/**
|
5433
|
-
* Call the DeleteIntegration mutation and return a
|
5934
|
+
* Call the DeleteIntegration mutation and return a DeletePayload
|
5434
5935
|
*
|
5435
5936
|
* @param id - required id to pass to deleteIntegration
|
5436
5937
|
* @returns parsed response from DeleteIntegrationMutation
|
5437
5938
|
*/
|
5438
|
-
fetch(id: string): LinearFetch<
|
5939
|
+
fetch(id: string): LinearFetch<DeletePayload>;
|
5439
5940
|
}
|
5440
5941
|
/**
|
5441
5942
|
* A fetchable IntegrationDiscord Mutation
|
@@ -5655,34 +6156,34 @@ export declare class IntegrationSlackMutation extends Request {
|
|
5655
6156
|
fetch(code: string, redirectUri: string, variables?: Omit<L.IntegrationSlackMutationVariables, "code" | "redirectUri">): LinearFetch<IntegrationPayload>;
|
5656
6157
|
}
|
5657
6158
|
/**
|
5658
|
-
* A fetchable
|
6159
|
+
* A fetchable IntegrationSlackAsks Mutation
|
5659
6160
|
*
|
5660
6161
|
* @param request - function to call the graphql client
|
5661
6162
|
*/
|
5662
|
-
export declare class
|
6163
|
+
export declare class IntegrationSlackAsksMutation extends Request {
|
5663
6164
|
constructor(request: LinearRequest);
|
5664
6165
|
/**
|
5665
|
-
* Call the
|
6166
|
+
* Call the IntegrationSlackAsks mutation and return a IntegrationPayload
|
5666
6167
|
*
|
5667
|
-
* @param code - required code to pass to
|
5668
|
-
* @param redirectUri - required redirectUri to pass to
|
5669
|
-
* @returns parsed response from
|
6168
|
+
* @param code - required code to pass to integrationSlackAsks
|
6169
|
+
* @param redirectUri - required redirectUri to pass to integrationSlackAsks
|
6170
|
+
* @returns parsed response from IntegrationSlackAsksMutation
|
5670
6171
|
*/
|
5671
6172
|
fetch(code: string, redirectUri: string): LinearFetch<IntegrationPayload>;
|
5672
6173
|
}
|
5673
6174
|
/**
|
5674
|
-
* A fetchable
|
6175
|
+
* A fetchable IntegrationSlackImportEmojis Mutation
|
5675
6176
|
*
|
5676
6177
|
* @param request - function to call the graphql client
|
5677
6178
|
*/
|
5678
|
-
export declare class
|
6179
|
+
export declare class IntegrationSlackImportEmojisMutation extends Request {
|
5679
6180
|
constructor(request: LinearRequest);
|
5680
6181
|
/**
|
5681
|
-
* Call the
|
6182
|
+
* Call the IntegrationSlackImportEmojis mutation and return a IntegrationPayload
|
5682
6183
|
*
|
5683
|
-
* @param code - required code to pass to
|
5684
|
-
* @param redirectUri - required redirectUri to pass to
|
5685
|
-
* @returns parsed response from
|
6184
|
+
* @param code - required code to pass to integrationSlackImportEmojis
|
6185
|
+
* @param redirectUri - required redirectUri to pass to integrationSlackImportEmojis
|
6186
|
+
* @returns parsed response from IntegrationSlackImportEmojisMutation
|
5686
6187
|
*/
|
5687
6188
|
fetch(code: string, redirectUri: string): LinearFetch<IntegrationPayload>;
|
5688
6189
|
}
|
@@ -5777,12 +6278,12 @@ export declare class CreateIntegrationTemplateMutation extends Request {
|
|
5777
6278
|
export declare class DeleteIntegrationTemplateMutation extends Request {
|
5778
6279
|
constructor(request: LinearRequest);
|
5779
6280
|
/**
|
5780
|
-
* Call the DeleteIntegrationTemplate mutation and return a
|
6281
|
+
* Call the DeleteIntegrationTemplate mutation and return a DeletePayload
|
5781
6282
|
*
|
5782
6283
|
* @param id - required id to pass to deleteIntegrationTemplate
|
5783
6284
|
* @returns parsed response from DeleteIntegrationTemplateMutation
|
5784
6285
|
*/
|
5785
|
-
fetch(id: string): LinearFetch<
|
6286
|
+
fetch(id: string): LinearFetch<DeletePayload>;
|
5786
6287
|
}
|
5787
6288
|
/**
|
5788
6289
|
* A fetchable IntegrationUpdateSlack Mutation
|
@@ -5857,13 +6358,13 @@ export declare class UpdateIntegrationsSettingsMutation extends Request {
|
|
5857
6358
|
export declare class ArchiveIssueMutation extends Request {
|
5858
6359
|
constructor(request: LinearRequest);
|
5859
6360
|
/**
|
5860
|
-
* Call the ArchiveIssue mutation and return a
|
6361
|
+
* Call the ArchiveIssue mutation and return a IssueArchivePayload
|
5861
6362
|
*
|
5862
6363
|
* @param id - required id to pass to archiveIssue
|
5863
6364
|
* @param variables - variables without 'id' to pass into the ArchiveIssueMutation
|
5864
6365
|
* @returns parsed response from ArchiveIssueMutation
|
5865
6366
|
*/
|
5866
|
-
fetch(id: string, variables?: Omit<L.ArchiveIssueMutationVariables, "id">): LinearFetch<
|
6367
|
+
fetch(id: string, variables?: Omit<L.ArchiveIssueMutationVariables, "id">): LinearFetch<IssueArchivePayload>;
|
5867
6368
|
}
|
5868
6369
|
/**
|
5869
6370
|
* A fetchable UpdateIssueBatch Mutation
|
@@ -5904,12 +6405,12 @@ export declare class CreateIssueMutation extends Request {
|
|
5904
6405
|
export declare class DeleteIssueMutation extends Request {
|
5905
6406
|
constructor(request: LinearRequest);
|
5906
6407
|
/**
|
5907
|
-
* Call the DeleteIssue mutation and return a
|
6408
|
+
* Call the DeleteIssue mutation and return a IssueArchivePayload
|
5908
6409
|
*
|
5909
6410
|
* @param id - required id to pass to deleteIssue
|
5910
6411
|
* @returns parsed response from DeleteIssueMutation
|
5911
6412
|
*/
|
5912
|
-
fetch(id: string): LinearFetch<
|
6413
|
+
fetch(id: string): LinearFetch<IssueArchivePayload>;
|
5913
6414
|
}
|
5914
6415
|
/**
|
5915
6416
|
* A fetchable IssueImportCreateAsana Mutation
|
@@ -6045,21 +6546,6 @@ export declare class UpdateIssueImportMutation extends Request {
|
|
6045
6546
|
*/
|
6046
6547
|
fetch(id: string, input: L.IssueImportUpdateInput): LinearFetch<IssueImportPayload>;
|
6047
6548
|
}
|
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
6549
|
/**
|
6064
6550
|
* A fetchable CreateIssueLabel Mutation
|
6065
6551
|
*
|
@@ -6084,12 +6570,12 @@ export declare class CreateIssueLabelMutation extends Request {
|
|
6084
6570
|
export declare class DeleteIssueLabelMutation extends Request {
|
6085
6571
|
constructor(request: LinearRequest);
|
6086
6572
|
/**
|
6087
|
-
* Call the DeleteIssueLabel mutation and return a
|
6573
|
+
* Call the DeleteIssueLabel mutation and return a DeletePayload
|
6088
6574
|
*
|
6089
6575
|
* @param id - required id to pass to deleteIssueLabel
|
6090
6576
|
* @returns parsed response from DeleteIssueLabelMutation
|
6091
6577
|
*/
|
6092
|
-
fetch(id: string): LinearFetch<
|
6578
|
+
fetch(id: string): LinearFetch<DeletePayload>;
|
6093
6579
|
}
|
6094
6580
|
/**
|
6095
6581
|
* A fetchable UpdateIssueLabel Mutation
|
@@ -6130,12 +6616,12 @@ export declare class CreateIssueRelationMutation extends Request {
|
|
6130
6616
|
export declare class DeleteIssueRelationMutation extends Request {
|
6131
6617
|
constructor(request: LinearRequest);
|
6132
6618
|
/**
|
6133
|
-
* Call the DeleteIssueRelation mutation and return a
|
6619
|
+
* Call the DeleteIssueRelation mutation and return a DeletePayload
|
6134
6620
|
*
|
6135
6621
|
* @param id - required id to pass to deleteIssueRelation
|
6136
6622
|
* @returns parsed response from DeleteIssueRelationMutation
|
6137
6623
|
*/
|
6138
|
-
fetch(id: string): LinearFetch<
|
6624
|
+
fetch(id: string): LinearFetch<DeletePayload>;
|
6139
6625
|
}
|
6140
6626
|
/**
|
6141
6627
|
* A fetchable UpdateIssueRelation Mutation
|
@@ -6177,12 +6663,12 @@ export declare class IssueReminderMutation extends Request {
|
|
6177
6663
|
export declare class UnarchiveIssueMutation extends Request {
|
6178
6664
|
constructor(request: LinearRequest);
|
6179
6665
|
/**
|
6180
|
-
* Call the UnarchiveIssue mutation and return a
|
6666
|
+
* Call the UnarchiveIssue mutation and return a IssueArchivePayload
|
6181
6667
|
*
|
6182
6668
|
* @param id - required id to pass to unarchiveIssue
|
6183
6669
|
* @returns parsed response from UnarchiveIssueMutation
|
6184
6670
|
*/
|
6185
|
-
fetch(id: string): LinearFetch<
|
6671
|
+
fetch(id: string): LinearFetch<IssueArchivePayload>;
|
6186
6672
|
}
|
6187
6673
|
/**
|
6188
6674
|
* A fetchable UpdateIssue Mutation
|
@@ -6252,12 +6738,74 @@ export declare class LogoutMutation extends Request {
|
|
6252
6738
|
export declare class ArchiveNotificationMutation extends Request {
|
6253
6739
|
constructor(request: LinearRequest);
|
6254
6740
|
/**
|
6255
|
-
* Call the ArchiveNotification mutation and return a
|
6741
|
+
* Call the ArchiveNotification mutation and return a NotificationArchivePayload
|
6256
6742
|
*
|
6257
6743
|
* @param id - required id to pass to archiveNotification
|
6258
6744
|
* @returns parsed response from ArchiveNotificationMutation
|
6259
6745
|
*/
|
6260
|
-
fetch(id: string): LinearFetch<
|
6746
|
+
fetch(id: string): LinearFetch<NotificationArchivePayload>;
|
6747
|
+
}
|
6748
|
+
/**
|
6749
|
+
* A fetchable NotificationArchiveAll Mutation
|
6750
|
+
*
|
6751
|
+
* @param request - function to call the graphql client
|
6752
|
+
*/
|
6753
|
+
export declare class NotificationArchiveAllMutation extends Request {
|
6754
|
+
constructor(request: LinearRequest);
|
6755
|
+
/**
|
6756
|
+
* Call the NotificationArchiveAll mutation and return a NotificationBatchActionPayload
|
6757
|
+
*
|
6758
|
+
* @param input - required input to pass to notificationArchiveAll
|
6759
|
+
* @returns parsed response from NotificationArchiveAllMutation
|
6760
|
+
*/
|
6761
|
+
fetch(input: L.NotificationEntityInput): LinearFetch<NotificationBatchActionPayload>;
|
6762
|
+
}
|
6763
|
+
/**
|
6764
|
+
* A fetchable NotificationMarkReadAll Mutation
|
6765
|
+
*
|
6766
|
+
* @param request - function to call the graphql client
|
6767
|
+
*/
|
6768
|
+
export declare class NotificationMarkReadAllMutation extends Request {
|
6769
|
+
constructor(request: LinearRequest);
|
6770
|
+
/**
|
6771
|
+
* Call the NotificationMarkReadAll mutation and return a NotificationBatchActionPayload
|
6772
|
+
*
|
6773
|
+
* @param input - required input to pass to notificationMarkReadAll
|
6774
|
+
* @param readAt - required readAt to pass to notificationMarkReadAll
|
6775
|
+
* @returns parsed response from NotificationMarkReadAllMutation
|
6776
|
+
*/
|
6777
|
+
fetch(input: L.NotificationEntityInput, readAt: Date): LinearFetch<NotificationBatchActionPayload>;
|
6778
|
+
}
|
6779
|
+
/**
|
6780
|
+
* A fetchable NotificationMarkUnreadAll Mutation
|
6781
|
+
*
|
6782
|
+
* @param request - function to call the graphql client
|
6783
|
+
*/
|
6784
|
+
export declare class NotificationMarkUnreadAllMutation extends Request {
|
6785
|
+
constructor(request: LinearRequest);
|
6786
|
+
/**
|
6787
|
+
* Call the NotificationMarkUnreadAll mutation and return a NotificationBatchActionPayload
|
6788
|
+
*
|
6789
|
+
* @param input - required input to pass to notificationMarkUnreadAll
|
6790
|
+
* @returns parsed response from NotificationMarkUnreadAllMutation
|
6791
|
+
*/
|
6792
|
+
fetch(input: L.NotificationEntityInput): LinearFetch<NotificationBatchActionPayload>;
|
6793
|
+
}
|
6794
|
+
/**
|
6795
|
+
* A fetchable NotificationSnoozeAll Mutation
|
6796
|
+
*
|
6797
|
+
* @param request - function to call the graphql client
|
6798
|
+
*/
|
6799
|
+
export declare class NotificationSnoozeAllMutation extends Request {
|
6800
|
+
constructor(request: LinearRequest);
|
6801
|
+
/**
|
6802
|
+
* Call the NotificationSnoozeAll mutation and return a NotificationBatchActionPayload
|
6803
|
+
*
|
6804
|
+
* @param input - required input to pass to notificationSnoozeAll
|
6805
|
+
* @param snoozedUntilAt - required snoozedUntilAt to pass to notificationSnoozeAll
|
6806
|
+
* @returns parsed response from NotificationSnoozeAllMutation
|
6807
|
+
*/
|
6808
|
+
fetch(input: L.NotificationEntityInput, snoozedUntilAt: Date): LinearFetch<NotificationBatchActionPayload>;
|
6261
6809
|
}
|
6262
6810
|
/**
|
6263
6811
|
* A fetchable CreateNotificationSubscription Mutation
|
@@ -6282,12 +6830,12 @@ export declare class CreateNotificationSubscriptionMutation extends Request {
|
|
6282
6830
|
export declare class DeleteNotificationSubscriptionMutation extends Request {
|
6283
6831
|
constructor(request: LinearRequest);
|
6284
6832
|
/**
|
6285
|
-
* Call the DeleteNotificationSubscription mutation and return a
|
6833
|
+
* Call the DeleteNotificationSubscription mutation and return a DeletePayload
|
6286
6834
|
*
|
6287
6835
|
* @param id - required id to pass to deleteNotificationSubscription
|
6288
6836
|
* @returns parsed response from DeleteNotificationSubscriptionMutation
|
6289
6837
|
*/
|
6290
|
-
fetch(id: string): LinearFetch<
|
6838
|
+
fetch(id: string): LinearFetch<DeletePayload>;
|
6291
6839
|
}
|
6292
6840
|
/**
|
6293
6841
|
* A fetchable UpdateNotificationSubscription Mutation
|
@@ -6313,12 +6861,28 @@ export declare class UpdateNotificationSubscriptionMutation extends Request {
|
|
6313
6861
|
export declare class UnarchiveNotificationMutation extends Request {
|
6314
6862
|
constructor(request: LinearRequest);
|
6315
6863
|
/**
|
6316
|
-
* Call the UnarchiveNotification mutation and return a
|
6864
|
+
* Call the UnarchiveNotification mutation and return a NotificationArchivePayload
|
6317
6865
|
*
|
6318
6866
|
* @param id - required id to pass to unarchiveNotification
|
6319
6867
|
* @returns parsed response from UnarchiveNotificationMutation
|
6320
6868
|
*/
|
6321
|
-
fetch(id: string): LinearFetch<
|
6869
|
+
fetch(id: string): LinearFetch<NotificationArchivePayload>;
|
6870
|
+
}
|
6871
|
+
/**
|
6872
|
+
* A fetchable NotificationUnsnoozeAll Mutation
|
6873
|
+
*
|
6874
|
+
* @param request - function to call the graphql client
|
6875
|
+
*/
|
6876
|
+
export declare class NotificationUnsnoozeAllMutation extends Request {
|
6877
|
+
constructor(request: LinearRequest);
|
6878
|
+
/**
|
6879
|
+
* Call the NotificationUnsnoozeAll mutation and return a NotificationBatchActionPayload
|
6880
|
+
*
|
6881
|
+
* @param input - required input to pass to notificationUnsnoozeAll
|
6882
|
+
* @param unsnoozedAt - required unsnoozedAt to pass to notificationUnsnoozeAll
|
6883
|
+
* @returns parsed response from NotificationUnsnoozeAllMutation
|
6884
|
+
*/
|
6885
|
+
fetch(input: L.NotificationEntityInput, unsnoozedAt: Date): LinearFetch<NotificationBatchActionPayload>;
|
6322
6886
|
}
|
6323
6887
|
/**
|
6324
6888
|
* A fetchable UpdateNotification Mutation
|
@@ -6387,12 +6951,12 @@ export declare class OrganizationDeleteChallengeMutation extends Request {
|
|
6387
6951
|
export declare class DeleteOrganizationDomainMutation extends Request {
|
6388
6952
|
constructor(request: LinearRequest);
|
6389
6953
|
/**
|
6390
|
-
* Call the DeleteOrganizationDomain mutation and return a
|
6954
|
+
* Call the DeleteOrganizationDomain mutation and return a DeletePayload
|
6391
6955
|
*
|
6392
6956
|
* @param id - required id to pass to deleteOrganizationDomain
|
6393
6957
|
* @returns parsed response from DeleteOrganizationDomainMutation
|
6394
6958
|
*/
|
6395
|
-
fetch(id: string): LinearFetch<
|
6959
|
+
fetch(id: string): LinearFetch<DeletePayload>;
|
6396
6960
|
}
|
6397
6961
|
/**
|
6398
6962
|
* A fetchable CreateOrganizationInvite Mutation
|
@@ -6417,12 +6981,12 @@ export declare class CreateOrganizationInviteMutation extends Request {
|
|
6417
6981
|
export declare class DeleteOrganizationInviteMutation extends Request {
|
6418
6982
|
constructor(request: LinearRequest);
|
6419
6983
|
/**
|
6420
|
-
* Call the DeleteOrganizationInvite mutation and return a
|
6984
|
+
* Call the DeleteOrganizationInvite mutation and return a DeletePayload
|
6421
6985
|
*
|
6422
6986
|
* @param id - required id to pass to deleteOrganizationInvite
|
6423
6987
|
* @returns parsed response from DeleteOrganizationInviteMutation
|
6424
6988
|
*/
|
6425
|
-
fetch(id: string): LinearFetch<
|
6989
|
+
fetch(id: string): LinearFetch<DeletePayload>;
|
6426
6990
|
}
|
6427
6991
|
/**
|
6428
6992
|
* A fetchable UpdateOrganizationInvite Mutation
|
@@ -6477,12 +7041,12 @@ export declare class UpdateOrganizationMutation extends Request {
|
|
6477
7041
|
export declare class ArchiveProjectMutation extends Request {
|
6478
7042
|
constructor(request: LinearRequest);
|
6479
7043
|
/**
|
6480
|
-
* Call the ArchiveProject mutation and return a
|
7044
|
+
* Call the ArchiveProject mutation and return a ProjectArchivePayload
|
6481
7045
|
*
|
6482
7046
|
* @param id - required id to pass to archiveProject
|
6483
7047
|
* @returns parsed response from ArchiveProjectMutation
|
6484
7048
|
*/
|
6485
|
-
fetch(id: string): LinearFetch<
|
7049
|
+
fetch(id: string): LinearFetch<ProjectArchivePayload>;
|
6486
7050
|
}
|
6487
7051
|
/**
|
6488
7052
|
* A fetchable CreateProject Mutation
|
@@ -6507,12 +7071,12 @@ export declare class CreateProjectMutation extends Request {
|
|
6507
7071
|
export declare class DeleteProjectMutation extends Request {
|
6508
7072
|
constructor(request: LinearRequest);
|
6509
7073
|
/**
|
6510
|
-
* Call the DeleteProject mutation and return a
|
7074
|
+
* Call the DeleteProject mutation and return a DeletePayload
|
6511
7075
|
*
|
6512
7076
|
* @param id - required id to pass to deleteProject
|
6513
7077
|
* @returns parsed response from DeleteProjectMutation
|
6514
7078
|
*/
|
6515
|
-
fetch(id: string): LinearFetch<
|
7079
|
+
fetch(id: string): LinearFetch<DeletePayload>;
|
6516
7080
|
}
|
6517
7081
|
/**
|
6518
7082
|
* A fetchable CreateProjectLink Mutation
|
@@ -6537,12 +7101,12 @@ export declare class CreateProjectLinkMutation extends Request {
|
|
6537
7101
|
export declare class DeleteProjectLinkMutation extends Request {
|
6538
7102
|
constructor(request: LinearRequest);
|
6539
7103
|
/**
|
6540
|
-
* Call the DeleteProjectLink mutation and return a
|
7104
|
+
* Call the DeleteProjectLink mutation and return a DeletePayload
|
6541
7105
|
*
|
6542
7106
|
* @param id - required id to pass to deleteProjectLink
|
6543
7107
|
* @returns parsed response from DeleteProjectLinkMutation
|
6544
7108
|
*/
|
6545
|
-
fetch(id: string): LinearFetch<
|
7109
|
+
fetch(id: string): LinearFetch<DeletePayload>;
|
6546
7110
|
}
|
6547
7111
|
/**
|
6548
7112
|
* A fetchable UpdateProjectLink Mutation
|
@@ -6583,12 +7147,12 @@ export declare class CreateProjectMilestoneMutation extends Request {
|
|
6583
7147
|
export declare class DeleteProjectMilestoneMutation extends Request {
|
6584
7148
|
constructor(request: LinearRequest);
|
6585
7149
|
/**
|
6586
|
-
* Call the DeleteProjectMilestone mutation and return a
|
7150
|
+
* Call the DeleteProjectMilestone mutation and return a DeletePayload
|
6587
7151
|
*
|
6588
7152
|
* @param id - required id to pass to deleteProjectMilestone
|
6589
7153
|
* @returns parsed response from DeleteProjectMilestoneMutation
|
6590
7154
|
*/
|
6591
|
-
fetch(id: string): LinearFetch<
|
7155
|
+
fetch(id: string): LinearFetch<DeletePayload>;
|
6592
7156
|
}
|
6593
7157
|
/**
|
6594
7158
|
* A fetchable UpdateProjectMilestone Mutation
|
@@ -6614,12 +7178,12 @@ export declare class UpdateProjectMilestoneMutation extends Request {
|
|
6614
7178
|
export declare class UnarchiveProjectMutation extends Request {
|
6615
7179
|
constructor(request: LinearRequest);
|
6616
7180
|
/**
|
6617
|
-
* Call the UnarchiveProject mutation and return a
|
7181
|
+
* Call the UnarchiveProject mutation and return a ProjectArchivePayload
|
6618
7182
|
*
|
6619
7183
|
* @param id - required id to pass to unarchiveProject
|
6620
7184
|
* @returns parsed response from UnarchiveProjectMutation
|
6621
7185
|
*/
|
6622
|
-
fetch(id: string): LinearFetch<
|
7186
|
+
fetch(id: string): LinearFetch<ProjectArchivePayload>;
|
6623
7187
|
}
|
6624
7188
|
/**
|
6625
7189
|
* A fetchable UpdateProject Mutation
|
@@ -6660,12 +7224,12 @@ export declare class CreateProjectUpdateMutation extends Request {
|
|
6660
7224
|
export declare class DeleteProjectUpdateMutation extends Request {
|
6661
7225
|
constructor(request: LinearRequest);
|
6662
7226
|
/**
|
6663
|
-
* Call the DeleteProjectUpdate mutation and return a
|
7227
|
+
* Call the DeleteProjectUpdate mutation and return a DeletePayload
|
6664
7228
|
*
|
6665
7229
|
* @param id - required id to pass to deleteProjectUpdate
|
6666
7230
|
* @returns parsed response from DeleteProjectUpdateMutation
|
6667
7231
|
*/
|
6668
|
-
fetch(id: string): LinearFetch<
|
7232
|
+
fetch(id: string): LinearFetch<DeletePayload>;
|
6669
7233
|
}
|
6670
7234
|
/**
|
6671
7235
|
* A fetchable CreateProjectUpdateInteraction Mutation
|
@@ -6766,12 +7330,12 @@ export declare class CreateReactionMutation extends Request {
|
|
6766
7330
|
export declare class DeleteReactionMutation extends Request {
|
6767
7331
|
constructor(request: LinearRequest);
|
6768
7332
|
/**
|
6769
|
-
* Call the DeleteReaction mutation and return a
|
7333
|
+
* Call the DeleteReaction mutation and return a DeletePayload
|
6770
7334
|
*
|
6771
7335
|
* @param id - required id to pass to deleteReaction
|
6772
7336
|
* @returns parsed response from DeleteReactionMutation
|
6773
7337
|
*/
|
6774
|
-
fetch(id: string): LinearFetch<
|
7338
|
+
fetch(id: string): LinearFetch<DeletePayload>;
|
6775
7339
|
}
|
6776
7340
|
/**
|
6777
7341
|
* A fetchable RefreshGoogleSheetsData Mutation
|
@@ -6796,12 +7360,12 @@ export declare class RefreshGoogleSheetsDataMutation extends Request {
|
|
6796
7360
|
export declare class ResendOrganizationInviteMutation extends Request {
|
6797
7361
|
constructor(request: LinearRequest);
|
6798
7362
|
/**
|
6799
|
-
* Call the ResendOrganizationInvite mutation and return a
|
7363
|
+
* Call the ResendOrganizationInvite mutation and return a DeletePayload
|
6800
7364
|
*
|
6801
7365
|
* @param id - required id to pass to resendOrganizationInvite
|
6802
7366
|
* @returns parsed response from ResendOrganizationInviteMutation
|
6803
7367
|
*/
|
6804
|
-
fetch(id: string): LinearFetch<
|
7368
|
+
fetch(id: string): LinearFetch<DeletePayload>;
|
6805
7369
|
}
|
6806
7370
|
/**
|
6807
7371
|
* A fetchable ArchiveRoadmap Mutation
|
@@ -6811,12 +7375,12 @@ export declare class ResendOrganizationInviteMutation extends Request {
|
|
6811
7375
|
export declare class ArchiveRoadmapMutation extends Request {
|
6812
7376
|
constructor(request: LinearRequest);
|
6813
7377
|
/**
|
6814
|
-
* Call the ArchiveRoadmap mutation and return a
|
7378
|
+
* Call the ArchiveRoadmap mutation and return a RoadmapArchivePayload
|
6815
7379
|
*
|
6816
7380
|
* @param id - required id to pass to archiveRoadmap
|
6817
7381
|
* @returns parsed response from ArchiveRoadmapMutation
|
6818
7382
|
*/
|
6819
|
-
fetch(id: string): LinearFetch<
|
7383
|
+
fetch(id: string): LinearFetch<RoadmapArchivePayload>;
|
6820
7384
|
}
|
6821
7385
|
/**
|
6822
7386
|
* A fetchable CreateRoadmap Mutation
|
@@ -6841,12 +7405,12 @@ export declare class CreateRoadmapMutation extends Request {
|
|
6841
7405
|
export declare class DeleteRoadmapMutation extends Request {
|
6842
7406
|
constructor(request: LinearRequest);
|
6843
7407
|
/**
|
6844
|
-
* Call the DeleteRoadmap mutation and return a
|
7408
|
+
* Call the DeleteRoadmap mutation and return a DeletePayload
|
6845
7409
|
*
|
6846
7410
|
* @param id - required id to pass to deleteRoadmap
|
6847
7411
|
* @returns parsed response from DeleteRoadmapMutation
|
6848
7412
|
*/
|
6849
|
-
fetch(id: string): LinearFetch<
|
7413
|
+
fetch(id: string): LinearFetch<DeletePayload>;
|
6850
7414
|
}
|
6851
7415
|
/**
|
6852
7416
|
* A fetchable CreateRoadmapToProject Mutation
|
@@ -6871,12 +7435,12 @@ export declare class CreateRoadmapToProjectMutation extends Request {
|
|
6871
7435
|
export declare class DeleteRoadmapToProjectMutation extends Request {
|
6872
7436
|
constructor(request: LinearRequest);
|
6873
7437
|
/**
|
6874
|
-
* Call the DeleteRoadmapToProject mutation and return a
|
7438
|
+
* Call the DeleteRoadmapToProject mutation and return a DeletePayload
|
6875
7439
|
*
|
6876
7440
|
* @param id - required id to pass to deleteRoadmapToProject
|
6877
7441
|
* @returns parsed response from DeleteRoadmapToProjectMutation
|
6878
7442
|
*/
|
6879
|
-
fetch(id: string): LinearFetch<
|
7443
|
+
fetch(id: string): LinearFetch<DeletePayload>;
|
6880
7444
|
}
|
6881
7445
|
/**
|
6882
7446
|
* A fetchable UpdateRoadmapToProject Mutation
|
@@ -6902,12 +7466,12 @@ export declare class UpdateRoadmapToProjectMutation extends Request {
|
|
6902
7466
|
export declare class UnarchiveRoadmapMutation extends Request {
|
6903
7467
|
constructor(request: LinearRequest);
|
6904
7468
|
/**
|
6905
|
-
* Call the UnarchiveRoadmap mutation and return a
|
7469
|
+
* Call the UnarchiveRoadmap mutation and return a RoadmapArchivePayload
|
6906
7470
|
*
|
6907
7471
|
* @param id - required id to pass to unarchiveRoadmap
|
6908
7472
|
* @returns parsed response from UnarchiveRoadmapMutation
|
6909
7473
|
*/
|
6910
|
-
fetch(id: string): LinearFetch<
|
7474
|
+
fetch(id: string): LinearFetch<RoadmapArchivePayload>;
|
6911
7475
|
}
|
6912
7476
|
/**
|
6913
7477
|
* A fetchable UpdateRoadmap Mutation
|
@@ -6979,12 +7543,12 @@ export declare class DeleteTeamCyclesMutation extends Request {
|
|
6979
7543
|
export declare class DeleteTeamMutation extends Request {
|
6980
7544
|
constructor(request: LinearRequest);
|
6981
7545
|
/**
|
6982
|
-
* Call the DeleteTeam mutation and return a
|
7546
|
+
* Call the DeleteTeam mutation and return a DeletePayload
|
6983
7547
|
*
|
6984
7548
|
* @param id - required id to pass to deleteTeam
|
6985
7549
|
* @returns parsed response from DeleteTeamMutation
|
6986
7550
|
*/
|
6987
|
-
fetch(id: string): LinearFetch<
|
7551
|
+
fetch(id: string): LinearFetch<DeletePayload>;
|
6988
7552
|
}
|
6989
7553
|
/**
|
6990
7554
|
* A fetchable DeleteTeamKey Mutation
|
@@ -6994,12 +7558,12 @@ export declare class DeleteTeamMutation extends Request {
|
|
6994
7558
|
export declare class DeleteTeamKeyMutation extends Request {
|
6995
7559
|
constructor(request: LinearRequest);
|
6996
7560
|
/**
|
6997
|
-
* Call the DeleteTeamKey mutation and return a
|
7561
|
+
* Call the DeleteTeamKey mutation and return a DeletePayload
|
6998
7562
|
*
|
6999
7563
|
* @param id - required id to pass to deleteTeamKey
|
7000
7564
|
* @returns parsed response from DeleteTeamKeyMutation
|
7001
7565
|
*/
|
7002
|
-
fetch(id: string): LinearFetch<
|
7566
|
+
fetch(id: string): LinearFetch<DeletePayload>;
|
7003
7567
|
}
|
7004
7568
|
/**
|
7005
7569
|
* A fetchable CreateTeamMembership Mutation
|
@@ -7024,12 +7588,12 @@ export declare class CreateTeamMembershipMutation extends Request {
|
|
7024
7588
|
export declare class DeleteTeamMembershipMutation extends Request {
|
7025
7589
|
constructor(request: LinearRequest);
|
7026
7590
|
/**
|
7027
|
-
* Call the DeleteTeamMembership mutation and return a
|
7591
|
+
* Call the DeleteTeamMembership mutation and return a DeletePayload
|
7028
7592
|
*
|
7029
7593
|
* @param id - required id to pass to deleteTeamMembership
|
7030
7594
|
* @returns parsed response from DeleteTeamMembershipMutation
|
7031
7595
|
*/
|
7032
|
-
fetch(id: string): LinearFetch<
|
7596
|
+
fetch(id: string): LinearFetch<DeletePayload>;
|
7033
7597
|
}
|
7034
7598
|
/**
|
7035
7599
|
* A fetchable UpdateTeamMembership Mutation
|
@@ -7086,12 +7650,12 @@ export declare class CreateTemplateMutation extends Request {
|
|
7086
7650
|
export declare class DeleteTemplateMutation extends Request {
|
7087
7651
|
constructor(request: LinearRequest);
|
7088
7652
|
/**
|
7089
|
-
* Call the DeleteTemplate mutation and return a
|
7653
|
+
* Call the DeleteTemplate mutation and return a DeletePayload
|
7090
7654
|
*
|
7091
7655
|
* @param id - required id to pass to deleteTemplate
|
7092
7656
|
* @returns parsed response from DeleteTemplateMutation
|
7093
7657
|
*/
|
7094
|
-
fetch(id: string): LinearFetch<
|
7658
|
+
fetch(id: string): LinearFetch<DeletePayload>;
|
7095
7659
|
}
|
7096
7660
|
/**
|
7097
7661
|
* A fetchable UpdateTemplate Mutation
|
@@ -7376,12 +7940,12 @@ export declare class CreateViewPreferencesMutation extends Request {
|
|
7376
7940
|
export declare class DeleteViewPreferencesMutation extends Request {
|
7377
7941
|
constructor(request: LinearRequest);
|
7378
7942
|
/**
|
7379
|
-
* Call the DeleteViewPreferences mutation and return a
|
7943
|
+
* Call the DeleteViewPreferences mutation and return a DeletePayload
|
7380
7944
|
*
|
7381
7945
|
* @param id - required id to pass to deleteViewPreferences
|
7382
7946
|
* @returns parsed response from DeleteViewPreferencesMutation
|
7383
7947
|
*/
|
7384
|
-
fetch(id: string): LinearFetch<
|
7948
|
+
fetch(id: string): LinearFetch<DeletePayload>;
|
7385
7949
|
}
|
7386
7950
|
/**
|
7387
7951
|
* A fetchable UpdateViewPreferences Mutation
|
@@ -7422,12 +7986,12 @@ export declare class CreateWebhookMutation extends Request {
|
|
7422
7986
|
export declare class DeleteWebhookMutation extends Request {
|
7423
7987
|
constructor(request: LinearRequest);
|
7424
7988
|
/**
|
7425
|
-
* Call the DeleteWebhook mutation and return a
|
7989
|
+
* Call the DeleteWebhook mutation and return a DeletePayload
|
7426
7990
|
*
|
7427
7991
|
* @param id - required id to pass to deleteWebhook
|
7428
7992
|
* @returns parsed response from DeleteWebhookMutation
|
7429
7993
|
*/
|
7430
|
-
fetch(id: string): LinearFetch<
|
7994
|
+
fetch(id: string): LinearFetch<DeletePayload>;
|
7431
7995
|
}
|
7432
7996
|
/**
|
7433
7997
|
* A fetchable UpdateWebhook Mutation
|
@@ -7453,12 +8017,12 @@ export declare class UpdateWebhookMutation extends Request {
|
|
7453
8017
|
export declare class ArchiveWorkflowStateMutation extends Request {
|
7454
8018
|
constructor(request: LinearRequest);
|
7455
8019
|
/**
|
7456
|
-
* Call the ArchiveWorkflowState mutation and return a
|
8020
|
+
* Call the ArchiveWorkflowState mutation and return a WorkflowStateArchivePayload
|
7457
8021
|
*
|
7458
8022
|
* @param id - required id to pass to archiveWorkflowState
|
7459
8023
|
* @returns parsed response from ArchiveWorkflowStateMutation
|
7460
8024
|
*/
|
7461
|
-
fetch(id: string): LinearFetch<
|
8025
|
+
fetch(id: string): LinearFetch<WorkflowStateArchivePayload>;
|
7462
8026
|
}
|
7463
8027
|
/**
|
7464
8028
|
* A fetchable CreateWorkflowState Mutation
|
@@ -7807,6 +8371,21 @@ export declare class DocumentsQuery extends Request {
|
|
7807
8371
|
*/
|
7808
8372
|
fetch(variables?: L.DocumentsQueryVariables): LinearFetch<DocumentConnection>;
|
7809
8373
|
}
|
8374
|
+
/**
|
8375
|
+
* A fetchable EmbedInfo Query
|
8376
|
+
*
|
8377
|
+
* @param request - function to call the graphql client
|
8378
|
+
*/
|
8379
|
+
export declare class EmbedInfoQuery extends Request {
|
8380
|
+
constructor(request: LinearRequest);
|
8381
|
+
/**
|
8382
|
+
* Call the EmbedInfo query and return a EmbedPayload
|
8383
|
+
*
|
8384
|
+
* @param url - required url to pass to embedInfo
|
8385
|
+
* @returns parsed response from EmbedInfoQuery
|
8386
|
+
*/
|
8387
|
+
fetch(url: string): LinearFetch<EmbedPayload>;
|
8388
|
+
}
|
7810
8389
|
/**
|
7811
8390
|
* A fetchable Emoji Query
|
7812
8391
|
*
|
@@ -8109,6 +8688,21 @@ export declare class IssueRelationsQuery extends Request {
|
|
8109
8688
|
*/
|
8110
8689
|
fetch(variables?: L.IssueRelationsQueryVariables): LinearFetch<IssueRelationConnection>;
|
8111
8690
|
}
|
8691
|
+
/**
|
8692
|
+
* A fetchable IssueSearch Query
|
8693
|
+
*
|
8694
|
+
* @param request - function to call the graphql client
|
8695
|
+
*/
|
8696
|
+
export declare class IssueSearchQuery extends Request {
|
8697
|
+
constructor(request: LinearRequest);
|
8698
|
+
/**
|
8699
|
+
* Call the IssueSearch query and return a IssueConnection
|
8700
|
+
*
|
8701
|
+
* @param variables - variables to pass into the IssueSearchQuery
|
8702
|
+
* @returns parsed response from IssueSearchQuery
|
8703
|
+
*/
|
8704
|
+
fetch(variables?: L.IssueSearchQueryVariables): LinearFetch<IssueConnection>;
|
8705
|
+
}
|
8112
8706
|
/**
|
8113
8707
|
* A fetchable IssueVcsBranchSearch Query
|
8114
8708
|
*
|
@@ -8167,7 +8761,7 @@ export declare class NotificationSubscriptionQuery extends Request {
|
|
8167
8761
|
* @param id - required id to pass to notificationSubscription
|
8168
8762
|
* @returns parsed response from NotificationSubscriptionQuery
|
8169
8763
|
*/
|
8170
|
-
fetch(id: string): LinearFetch<ProjectNotificationSubscription | TeamNotificationSubscription | NotificationSubscription>;
|
8764
|
+
fetch(id: string): LinearFetch<CustomViewNotificationSubscription | CycleNotificationSubscription | LabelNotificationSubscription | ProjectNotificationSubscription | TeamNotificationSubscription | UserNotificationSubscription | NotificationSubscription>;
|
8171
8765
|
}
|
8172
8766
|
/**
|
8173
8767
|
* A fetchable NotificationSubscriptions Query
|
@@ -8634,6 +9228,21 @@ export declare class TemplatesQuery extends Request {
|
|
8634
9228
|
*/
|
8635
9229
|
fetch(): LinearFetch<Template[]>;
|
8636
9230
|
}
|
9231
|
+
/**
|
9232
|
+
* A fetchable TemplatesForIntegration Query
|
9233
|
+
*
|
9234
|
+
* @param request - function to call the graphql client
|
9235
|
+
*/
|
9236
|
+
export declare class TemplatesForIntegrationQuery extends Request {
|
9237
|
+
constructor(request: LinearRequest);
|
9238
|
+
/**
|
9239
|
+
* Call the TemplatesForIntegration query and return a Template list
|
9240
|
+
*
|
9241
|
+
* @param integrationType - required integrationType to pass to templatesForIntegration
|
9242
|
+
* @returns parsed response from TemplatesForIntegrationQuery
|
9243
|
+
*/
|
9244
|
+
fetch(integrationType: string): LinearFetch<Template[]>;
|
9245
|
+
}
|
8637
9246
|
/**
|
8638
9247
|
* A fetchable User Query
|
8639
9248
|
*
|
@@ -8961,6 +9570,22 @@ export declare class Cycle_UncompletedIssuesUponCloseQuery extends Request {
|
|
8961
9570
|
*/
|
8962
9571
|
fetch(variables?: Omit<L.Cycle_UncompletedIssuesUponCloseQueryVariables, "id">): LinearFetch<IssueConnection>;
|
8963
9572
|
}
|
9573
|
+
/**
|
9574
|
+
* A fetchable EmbedInfo_Embed Query
|
9575
|
+
*
|
9576
|
+
* @param request - function to call the graphql client
|
9577
|
+
* @param url - required url to pass to embedInfo
|
9578
|
+
*/
|
9579
|
+
export declare class EmbedInfo_EmbedQuery extends Request {
|
9580
|
+
private _url;
|
9581
|
+
constructor(request: LinearRequest, url: string);
|
9582
|
+
/**
|
9583
|
+
* Call the EmbedInfo_Embed query and return a Embed
|
9584
|
+
*
|
9585
|
+
* @returns parsed response from EmbedInfo_EmbedQuery
|
9586
|
+
*/
|
9587
|
+
fetch(): LinearFetch<Embed | undefined>;
|
9588
|
+
}
|
8964
9589
|
/**
|
8965
9590
|
* A fetchable Favorite_Children Query
|
8966
9591
|
*
|
@@ -10008,16 +10633,16 @@ export declare class LinearSdk extends Request {
|
|
10008
10633
|
* Deletes an API key.
|
10009
10634
|
*
|
10010
10635
|
* @param id - required id to pass to deleteApiKey
|
10011
|
-
* @returns
|
10636
|
+
* @returns DeletePayload
|
10012
10637
|
*/
|
10013
|
-
deleteApiKey(id: string): LinearFetch<
|
10638
|
+
deleteApiKey(id: string): LinearFetch<DeletePayload>;
|
10014
10639
|
/**
|
10015
10640
|
* [DEPRECATED] Archives an issue attachment.
|
10016
10641
|
*
|
10017
10642
|
* @param id - required id to pass to archiveAttachment
|
10018
|
-
* @returns
|
10643
|
+
* @returns AttachmentArchivePayload
|
10019
10644
|
*/
|
10020
|
-
archiveAttachment(id: string): LinearFetch<
|
10645
|
+
archiveAttachment(id: string): LinearFetch<AttachmentArchivePayload>;
|
10021
10646
|
/**
|
10022
10647
|
* Creates a new attachment, or updates existing if the same `url` and `issueId` is used.
|
10023
10648
|
*
|
@@ -10029,9 +10654,9 @@ export declare class LinearSdk extends Request {
|
|
10029
10654
|
* Deletes an issue attachment.
|
10030
10655
|
*
|
10031
10656
|
* @param id - required id to pass to deleteAttachment
|
10032
|
-
* @returns
|
10657
|
+
* @returns DeletePayload
|
10033
10658
|
*/
|
10034
|
-
deleteAttachment(id: string): LinearFetch<
|
10659
|
+
deleteAttachment(id: string): LinearFetch<DeletePayload>;
|
10035
10660
|
/**
|
10036
10661
|
* Link an existing Discord message to an issue.
|
10037
10662
|
*
|
@@ -10066,6 +10691,17 @@ export declare class LinearSdk extends Request {
|
|
10066
10691
|
* @returns AttachmentPayload
|
10067
10692
|
*/
|
10068
10693
|
attachmentLinkJiraIssue(issueId: string, jiraIssueId: string): LinearFetch<AttachmentPayload>;
|
10694
|
+
/**
|
10695
|
+
* Link an existing Slack message to an issue.
|
10696
|
+
*
|
10697
|
+
* @param channel - required channel to pass to attachmentLinkSlack
|
10698
|
+
* @param issueId - required issueId to pass to attachmentLinkSlack
|
10699
|
+
* @param latest - required latest to pass to attachmentLinkSlack
|
10700
|
+
* @param url - required url to pass to attachmentLinkSlack
|
10701
|
+
* @param variables - variables without 'channel', 'issueId', 'latest', 'url' to pass into the AttachmentLinkSlackMutation
|
10702
|
+
* @returns AttachmentPayload
|
10703
|
+
*/
|
10704
|
+
attachmentLinkSlack(channel: string, issueId: string, latest: string, url: string, variables?: Omit<L.AttachmentLinkSlackMutationVariables, "channel" | "issueId" | "latest" | "url">): LinearFetch<AttachmentPayload>;
|
10069
10705
|
/**
|
10070
10706
|
* Link any url to an issue.
|
10071
10707
|
*
|
@@ -10083,6 +10719,13 @@ export declare class LinearSdk extends Request {
|
|
10083
10719
|
* @returns AttachmentPayload
|
10084
10720
|
*/
|
10085
10721
|
attachmentLinkZendesk(issueId: string, ticketId: string): LinearFetch<AttachmentPayload>;
|
10722
|
+
/**
|
10723
|
+
* Unsyncs an existing synced Slack attachment.
|
10724
|
+
*
|
10725
|
+
* @param id - required id to pass to attachmentUnsyncSlack
|
10726
|
+
* @returns AttachmentPayload
|
10727
|
+
*/
|
10728
|
+
attachmentUnsyncSlack(id: string): LinearFetch<AttachmentPayload>;
|
10086
10729
|
/**
|
10087
10730
|
* Updates an existing issue attachment.
|
10088
10731
|
*
|
@@ -10102,9 +10745,9 @@ export declare class LinearSdk extends Request {
|
|
10102
10745
|
* Deletes a comment.
|
10103
10746
|
*
|
10104
10747
|
* @param id - required id to pass to deleteComment
|
10105
|
-
* @returns
|
10748
|
+
* @returns DeletePayload
|
10106
10749
|
*/
|
10107
|
-
deleteComment(id: string): LinearFetch<
|
10750
|
+
deleteComment(id: string): LinearFetch<DeletePayload>;
|
10108
10751
|
/**
|
10109
10752
|
* Updates a comment.
|
10110
10753
|
*
|
@@ -10146,9 +10789,9 @@ export declare class LinearSdk extends Request {
|
|
10146
10789
|
* Deletes a custom view.
|
10147
10790
|
*
|
10148
10791
|
* @param id - required id to pass to deleteCustomView
|
10149
|
-
* @returns
|
10792
|
+
* @returns DeletePayload
|
10150
10793
|
*/
|
10151
|
-
deleteCustomView(id: string): LinearFetch<
|
10794
|
+
deleteCustomView(id: string): LinearFetch<DeletePayload>;
|
10152
10795
|
/**
|
10153
10796
|
* Updates a custom view.
|
10154
10797
|
*
|
@@ -10161,9 +10804,9 @@ export declare class LinearSdk extends Request {
|
|
10161
10804
|
* Archives a cycle.
|
10162
10805
|
*
|
10163
10806
|
* @param id - required id to pass to archiveCycle
|
10164
|
-
* @returns
|
10807
|
+
* @returns CycleArchivePayload
|
10165
10808
|
*/
|
10166
|
-
archiveCycle(id: string): LinearFetch<
|
10809
|
+
archiveCycle(id: string): LinearFetch<CycleArchivePayload>;
|
10167
10810
|
/**
|
10168
10811
|
* Creates a new cycle.
|
10169
10812
|
*
|
@@ -10190,9 +10833,9 @@ export declare class LinearSdk extends Request {
|
|
10190
10833
|
* Deletes a document.
|
10191
10834
|
*
|
10192
10835
|
* @param id - required id to pass to deleteDocument
|
10193
|
-
* @returns
|
10836
|
+
* @returns DeletePayload
|
10194
10837
|
*/
|
10195
|
-
deleteDocument(id: string): LinearFetch<
|
10838
|
+
deleteDocument(id: string): LinearFetch<DeletePayload>;
|
10196
10839
|
/**
|
10197
10840
|
* Updates a document.
|
10198
10841
|
*
|
@@ -10233,16 +10876,9 @@ export declare class LinearSdk extends Request {
|
|
10233
10876
|
* Deletes an emoji.
|
10234
10877
|
*
|
10235
10878
|
* @param id - required id to pass to deleteEmoji
|
10236
|
-
* @returns
|
10879
|
+
* @returns DeletePayload
|
10237
10880
|
*/
|
10238
|
-
deleteEmoji(id: string): LinearFetch<
|
10239
|
-
/**
|
10240
|
-
* [Deprecated] Creates a new event.
|
10241
|
-
*
|
10242
|
-
* @param input - required input to pass to createEvent
|
10243
|
-
* @returns EventPayload
|
10244
|
-
*/
|
10245
|
-
createEvent(input: L.EventCreateInput): LinearFetch<EventPayload>;
|
10881
|
+
deleteEmoji(id: string): LinearFetch<DeletePayload>;
|
10246
10882
|
/**
|
10247
10883
|
* Creates a new favorite (project, cycle etc).
|
10248
10884
|
*
|
@@ -10254,9 +10890,9 @@ export declare class LinearSdk extends Request {
|
|
10254
10890
|
* Deletes a favorite reference.
|
10255
10891
|
*
|
10256
10892
|
* @param id - required id to pass to deleteFavorite
|
10257
|
-
* @returns
|
10893
|
+
* @returns DeletePayload
|
10258
10894
|
*/
|
10259
|
-
deleteFavorite(id: string): LinearFetch<
|
10895
|
+
deleteFavorite(id: string): LinearFetch<DeletePayload>;
|
10260
10896
|
/**
|
10261
10897
|
* Updates a favorite.
|
10262
10898
|
*
|
@@ -10303,9 +10939,9 @@ export declare class LinearSdk extends Request {
|
|
10303
10939
|
* Deletes an integration.
|
10304
10940
|
*
|
10305
10941
|
* @param id - required id to pass to deleteIntegration
|
10306
|
-
* @returns
|
10942
|
+
* @returns DeletePayload
|
10307
10943
|
*/
|
10308
|
-
deleteIntegration(id: string): LinearFetch<
|
10944
|
+
deleteIntegration(id: string): LinearFetch<DeletePayload>;
|
10309
10945
|
/**
|
10310
10946
|
* Integrates the organization with Discord.
|
10311
10947
|
*
|
@@ -10412,21 +11048,21 @@ export declare class LinearSdk extends Request {
|
|
10412
11048
|
*/
|
10413
11049
|
integrationSlack(code: string, redirectUri: string, variables?: Omit<L.IntegrationSlackMutationVariables, "code" | "redirectUri">): LinearFetch<IntegrationPayload>;
|
10414
11050
|
/**
|
10415
|
-
*
|
11051
|
+
* Integrates the organization with the Slack Asks app
|
10416
11052
|
*
|
10417
|
-
* @param code - required code to pass to
|
10418
|
-
* @param redirectUri - required redirectUri to pass to
|
11053
|
+
* @param code - required code to pass to integrationSlackAsks
|
11054
|
+
* @param redirectUri - required redirectUri to pass to integrationSlackAsks
|
10419
11055
|
* @returns IntegrationPayload
|
10420
11056
|
*/
|
10421
|
-
|
11057
|
+
integrationSlackAsks(code: string, redirectUri: string): LinearFetch<IntegrationPayload>;
|
10422
11058
|
/**
|
10423
|
-
*
|
11059
|
+
* Imports custom emojis from your Slack workspace.
|
10424
11060
|
*
|
10425
|
-
* @param code - required code to pass to
|
10426
|
-
* @param redirectUri - required redirectUri to pass to
|
11061
|
+
* @param code - required code to pass to integrationSlackImportEmojis
|
11062
|
+
* @param redirectUri - required redirectUri to pass to integrationSlackImportEmojis
|
10427
11063
|
* @returns IntegrationPayload
|
10428
11064
|
*/
|
10429
|
-
|
11065
|
+
integrationSlackImportEmojis(code: string, redirectUri: string): LinearFetch<IntegrationPayload>;
|
10430
11066
|
/**
|
10431
11067
|
* Slack integration for organization level project update notifications.
|
10432
11068
|
*
|
@@ -10474,9 +11110,9 @@ export declare class LinearSdk extends Request {
|
|
10474
11110
|
* Deletes a integrationTemplate.
|
10475
11111
|
*
|
10476
11112
|
* @param id - required id to pass to deleteIntegrationTemplate
|
10477
|
-
* @returns
|
11113
|
+
* @returns DeletePayload
|
10478
11114
|
*/
|
10479
|
-
deleteIntegrationTemplate(id: string): LinearFetch<
|
11115
|
+
deleteIntegrationTemplate(id: string): LinearFetch<DeletePayload>;
|
10480
11116
|
/**
|
10481
11117
|
* Updates the organization's Slack integration.
|
10482
11118
|
*
|
@@ -10515,9 +11151,9 @@ export declare class LinearSdk extends Request {
|
|
10515
11151
|
*
|
10516
11152
|
* @param id - required id to pass to archiveIssue
|
10517
11153
|
* @param variables - variables without 'id' to pass into the ArchiveIssueMutation
|
10518
|
-
* @returns
|
11154
|
+
* @returns IssueArchivePayload
|
10519
11155
|
*/
|
10520
|
-
archiveIssue(id: string, variables?: Omit<L.ArchiveIssueMutationVariables, "id">): LinearFetch<
|
11156
|
+
archiveIssue(id: string, variables?: Omit<L.ArchiveIssueMutationVariables, "id">): LinearFetch<IssueArchivePayload>;
|
10521
11157
|
/**
|
10522
11158
|
* Updates multiple issues at once.
|
10523
11159
|
*
|
@@ -10537,9 +11173,9 @@ export declare class LinearSdk extends Request {
|
|
10537
11173
|
* Deletes (trashes) an issue.
|
10538
11174
|
*
|
10539
11175
|
* @param id - required id to pass to deleteIssue
|
10540
|
-
* @returns
|
11176
|
+
* @returns IssueArchivePayload
|
10541
11177
|
*/
|
10542
|
-
deleteIssue(id: string): LinearFetch<
|
11178
|
+
deleteIssue(id: string): LinearFetch<IssueArchivePayload>;
|
10543
11179
|
/**
|
10544
11180
|
* Kicks off an Asana import job.
|
10545
11181
|
*
|
@@ -10610,13 +11246,6 @@ export declare class LinearSdk extends Request {
|
|
10610
11246
|
* @returns IssueImportPayload
|
10611
11247
|
*/
|
10612
11248
|
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
11249
|
/**
|
10621
11250
|
* Creates a new label.
|
10622
11251
|
*
|
@@ -10629,9 +11258,9 @@ export declare class LinearSdk extends Request {
|
|
10629
11258
|
* Deletes an issue label.
|
10630
11259
|
*
|
10631
11260
|
* @param id - required id to pass to deleteIssueLabel
|
10632
|
-
* @returns
|
11261
|
+
* @returns DeletePayload
|
10633
11262
|
*/
|
10634
|
-
deleteIssueLabel(id: string): LinearFetch<
|
11263
|
+
deleteIssueLabel(id: string): LinearFetch<DeletePayload>;
|
10635
11264
|
/**
|
10636
11265
|
* Updates an label.
|
10637
11266
|
*
|
@@ -10651,9 +11280,9 @@ export declare class LinearSdk extends Request {
|
|
10651
11280
|
* Deletes an issue relation.
|
10652
11281
|
*
|
10653
11282
|
* @param id - required id to pass to deleteIssueRelation
|
10654
|
-
* @returns
|
11283
|
+
* @returns DeletePayload
|
10655
11284
|
*/
|
10656
|
-
deleteIssueRelation(id: string): LinearFetch<
|
11285
|
+
deleteIssueRelation(id: string): LinearFetch<DeletePayload>;
|
10657
11286
|
/**
|
10658
11287
|
* Updates an issue relation.
|
10659
11288
|
*
|
@@ -10674,9 +11303,9 @@ export declare class LinearSdk extends Request {
|
|
10674
11303
|
* Unarchives an issue.
|
10675
11304
|
*
|
10676
11305
|
* @param id - required id to pass to unarchiveIssue
|
10677
|
-
* @returns
|
11306
|
+
* @returns IssueArchivePayload
|
10678
11307
|
*/
|
10679
|
-
unarchiveIssue(id: string): LinearFetch<
|
11308
|
+
unarchiveIssue(id: string): LinearFetch<IssueArchivePayload>;
|
10680
11309
|
/**
|
10681
11310
|
* Updates an issue.
|
10682
11311
|
*
|
@@ -10709,11 +11338,41 @@ export declare class LinearSdk extends Request {
|
|
10709
11338
|
* Archives a notification.
|
10710
11339
|
*
|
10711
11340
|
* @param id - required id to pass to archiveNotification
|
10712
|
-
* @returns
|
11341
|
+
* @returns NotificationArchivePayload
|
11342
|
+
*/
|
11343
|
+
archiveNotification(id: string): LinearFetch<NotificationArchivePayload>;
|
11344
|
+
/**
|
11345
|
+
* Archives all of the user's past notifications for the associated entity.
|
11346
|
+
*
|
11347
|
+
* @param input - required input to pass to notificationArchiveAll
|
11348
|
+
* @returns NotificationBatchActionPayload
|
11349
|
+
*/
|
11350
|
+
notificationArchiveAll(input: L.NotificationEntityInput): LinearFetch<NotificationBatchActionPayload>;
|
11351
|
+
/**
|
11352
|
+
* Marks all past notifications for the associated entity as read.
|
11353
|
+
*
|
11354
|
+
* @param input - required input to pass to notificationMarkReadAll
|
11355
|
+
* @param readAt - required readAt to pass to notificationMarkReadAll
|
11356
|
+
* @returns NotificationBatchActionPayload
|
11357
|
+
*/
|
11358
|
+
notificationMarkReadAll(input: L.NotificationEntityInput, readAt: Date): LinearFetch<NotificationBatchActionPayload>;
|
11359
|
+
/**
|
11360
|
+
* Marks all past notifications for the associated entity as unread.
|
11361
|
+
*
|
11362
|
+
* @param input - required input to pass to notificationMarkUnreadAll
|
11363
|
+
* @returns NotificationBatchActionPayload
|
11364
|
+
*/
|
11365
|
+
notificationMarkUnreadAll(input: L.NotificationEntityInput): LinearFetch<NotificationBatchActionPayload>;
|
11366
|
+
/**
|
11367
|
+
* Snoozes a notification and all past notifications for the associated entity.
|
11368
|
+
*
|
11369
|
+
* @param input - required input to pass to notificationSnoozeAll
|
11370
|
+
* @param snoozedUntilAt - required snoozedUntilAt to pass to notificationSnoozeAll
|
11371
|
+
* @returns NotificationBatchActionPayload
|
10713
11372
|
*/
|
10714
|
-
|
11373
|
+
notificationSnoozeAll(input: L.NotificationEntityInput, snoozedUntilAt: Date): LinearFetch<NotificationBatchActionPayload>;
|
10715
11374
|
/**
|
10716
|
-
* Creates a new notification subscription for a
|
11375
|
+
* Creates a new notification subscription for a cycle, custom view, label, project or team.
|
10717
11376
|
*
|
10718
11377
|
* @param input - required input to pass to createNotificationSubscription
|
10719
11378
|
* @returns NotificationSubscriptionPayload
|
@@ -10723,9 +11382,9 @@ export declare class LinearSdk extends Request {
|
|
10723
11382
|
* Deletes a notification subscription reference.
|
10724
11383
|
*
|
10725
11384
|
* @param id - required id to pass to deleteNotificationSubscription
|
10726
|
-
* @returns
|
11385
|
+
* @returns DeletePayload
|
10727
11386
|
*/
|
10728
|
-
deleteNotificationSubscription(id: string): LinearFetch<
|
11387
|
+
deleteNotificationSubscription(id: string): LinearFetch<DeletePayload>;
|
10729
11388
|
/**
|
10730
11389
|
* Updates a notification subscription.
|
10731
11390
|
*
|
@@ -10738,9 +11397,17 @@ export declare class LinearSdk extends Request {
|
|
10738
11397
|
* Unarchives a notification.
|
10739
11398
|
*
|
10740
11399
|
* @param id - required id to pass to unarchiveNotification
|
10741
|
-
* @returns
|
11400
|
+
* @returns NotificationArchivePayload
|
11401
|
+
*/
|
11402
|
+
unarchiveNotification(id: string): LinearFetch<NotificationArchivePayload>;
|
11403
|
+
/**
|
11404
|
+
* Unsnoozes a notification and all past notifications for the associated entity.
|
11405
|
+
*
|
11406
|
+
* @param input - required input to pass to notificationUnsnoozeAll
|
11407
|
+
* @param unsnoozedAt - required unsnoozedAt to pass to notificationUnsnoozeAll
|
11408
|
+
* @returns NotificationBatchActionPayload
|
10742
11409
|
*/
|
10743
|
-
|
11410
|
+
notificationUnsnoozeAll(input: L.NotificationEntityInput, unsnoozedAt: Date): LinearFetch<NotificationBatchActionPayload>;
|
10744
11411
|
/**
|
10745
11412
|
* Updates a notification.
|
10746
11413
|
*
|
@@ -10772,9 +11439,9 @@ export declare class LinearSdk extends Request {
|
|
10772
11439
|
* Deletes a domain.
|
10773
11440
|
*
|
10774
11441
|
* @param id - required id to pass to deleteOrganizationDomain
|
10775
|
-
* @returns
|
11442
|
+
* @returns DeletePayload
|
10776
11443
|
*/
|
10777
|
-
deleteOrganizationDomain(id: string): LinearFetch<
|
11444
|
+
deleteOrganizationDomain(id: string): LinearFetch<DeletePayload>;
|
10778
11445
|
/**
|
10779
11446
|
* Creates a new organization invite.
|
10780
11447
|
*
|
@@ -10786,9 +11453,9 @@ export declare class LinearSdk extends Request {
|
|
10786
11453
|
* Deletes an organization invite.
|
10787
11454
|
*
|
10788
11455
|
* @param id - required id to pass to deleteOrganizationInvite
|
10789
|
-
* @returns
|
11456
|
+
* @returns DeletePayload
|
10790
11457
|
*/
|
10791
|
-
deleteOrganizationInvite(id: string): LinearFetch<
|
11458
|
+
deleteOrganizationInvite(id: string): LinearFetch<DeletePayload>;
|
10792
11459
|
/**
|
10793
11460
|
* Updates an organization invite.
|
10794
11461
|
*
|
@@ -10814,9 +11481,9 @@ export declare class LinearSdk extends Request {
|
|
10814
11481
|
* Archives a project.
|
10815
11482
|
*
|
10816
11483
|
* @param id - required id to pass to archiveProject
|
10817
|
-
* @returns
|
11484
|
+
* @returns ProjectArchivePayload
|
10818
11485
|
*/
|
10819
|
-
archiveProject(id: string): LinearFetch<
|
11486
|
+
archiveProject(id: string): LinearFetch<ProjectArchivePayload>;
|
10820
11487
|
/**
|
10821
11488
|
* Creates a new project.
|
10822
11489
|
*
|
@@ -10828,9 +11495,9 @@ export declare class LinearSdk extends Request {
|
|
10828
11495
|
* Deletes a project. All issues will be disassociated from the deleted project.
|
10829
11496
|
*
|
10830
11497
|
* @param id - required id to pass to deleteProject
|
10831
|
-
* @returns
|
11498
|
+
* @returns DeletePayload
|
10832
11499
|
*/
|
10833
|
-
deleteProject(id: string): LinearFetch<
|
11500
|
+
deleteProject(id: string): LinearFetch<DeletePayload>;
|
10834
11501
|
/**
|
10835
11502
|
* Creates a new project link.
|
10836
11503
|
*
|
@@ -10842,9 +11509,9 @@ export declare class LinearSdk extends Request {
|
|
10842
11509
|
* Deletes a project link.
|
10843
11510
|
*
|
10844
11511
|
* @param id - required id to pass to deleteProjectLink
|
10845
|
-
* @returns
|
11512
|
+
* @returns DeletePayload
|
10846
11513
|
*/
|
10847
|
-
deleteProjectLink(id: string): LinearFetch<
|
11514
|
+
deleteProjectLink(id: string): LinearFetch<DeletePayload>;
|
10848
11515
|
/**
|
10849
11516
|
* Updates a project link.
|
10850
11517
|
*
|
@@ -10864,9 +11531,9 @@ export declare class LinearSdk extends Request {
|
|
10864
11531
|
* Deletes a project milestone.
|
10865
11532
|
*
|
10866
11533
|
* @param id - required id to pass to deleteProjectMilestone
|
10867
|
-
* @returns
|
11534
|
+
* @returns DeletePayload
|
10868
11535
|
*/
|
10869
|
-
deleteProjectMilestone(id: string): LinearFetch<
|
11536
|
+
deleteProjectMilestone(id: string): LinearFetch<DeletePayload>;
|
10870
11537
|
/**
|
10871
11538
|
* Updates a project milestone.
|
10872
11539
|
*
|
@@ -10879,9 +11546,9 @@ export declare class LinearSdk extends Request {
|
|
10879
11546
|
* Unarchives a project.
|
10880
11547
|
*
|
10881
11548
|
* @param id - required id to pass to unarchiveProject
|
10882
|
-
* @returns
|
11549
|
+
* @returns ProjectArchivePayload
|
10883
11550
|
*/
|
10884
|
-
unarchiveProject(id: string): LinearFetch<
|
11551
|
+
unarchiveProject(id: string): LinearFetch<ProjectArchivePayload>;
|
10885
11552
|
/**
|
10886
11553
|
* Updates a project.
|
10887
11554
|
*
|
@@ -10901,9 +11568,9 @@ export declare class LinearSdk extends Request {
|
|
10901
11568
|
* Deletes a project update.
|
10902
11569
|
*
|
10903
11570
|
* @param id - required id to pass to deleteProjectUpdate
|
10904
|
-
* @returns
|
11571
|
+
* @returns DeletePayload
|
10905
11572
|
*/
|
10906
|
-
deleteProjectUpdate(id: string): LinearFetch<
|
11573
|
+
deleteProjectUpdate(id: string): LinearFetch<DeletePayload>;
|
10907
11574
|
/**
|
10908
11575
|
* Creates a new interaction on a project update.
|
10909
11576
|
*
|
@@ -10951,9 +11618,9 @@ export declare class LinearSdk extends Request {
|
|
10951
11618
|
* Deletes a reaction.
|
10952
11619
|
*
|
10953
11620
|
* @param id - required id to pass to deleteReaction
|
10954
|
-
* @returns
|
11621
|
+
* @returns DeletePayload
|
10955
11622
|
*/
|
10956
|
-
deleteReaction(id: string): LinearFetch<
|
11623
|
+
deleteReaction(id: string): LinearFetch<DeletePayload>;
|
10957
11624
|
/**
|
10958
11625
|
* Manually update Google Sheets data.
|
10959
11626
|
*
|
@@ -10965,16 +11632,16 @@ export declare class LinearSdk extends Request {
|
|
10965
11632
|
* Re-send an organization invite.
|
10966
11633
|
*
|
10967
11634
|
* @param id - required id to pass to resendOrganizationInvite
|
10968
|
-
* @returns
|
11635
|
+
* @returns DeletePayload
|
10969
11636
|
*/
|
10970
|
-
resendOrganizationInvite(id: string): LinearFetch<
|
11637
|
+
resendOrganizationInvite(id: string): LinearFetch<DeletePayload>;
|
10971
11638
|
/**
|
10972
11639
|
* Archives a roadmap.
|
10973
11640
|
*
|
10974
11641
|
* @param id - required id to pass to archiveRoadmap
|
10975
|
-
* @returns
|
11642
|
+
* @returns RoadmapArchivePayload
|
10976
11643
|
*/
|
10977
|
-
archiveRoadmap(id: string): LinearFetch<
|
11644
|
+
archiveRoadmap(id: string): LinearFetch<RoadmapArchivePayload>;
|
10978
11645
|
/**
|
10979
11646
|
* Creates a new roadmap.
|
10980
11647
|
*
|
@@ -10986,9 +11653,9 @@ export declare class LinearSdk extends Request {
|
|
10986
11653
|
* Deletes a roadmap.
|
10987
11654
|
*
|
10988
11655
|
* @param id - required id to pass to deleteRoadmap
|
10989
|
-
* @returns
|
11656
|
+
* @returns DeletePayload
|
10990
11657
|
*/
|
10991
|
-
deleteRoadmap(id: string): LinearFetch<
|
11658
|
+
deleteRoadmap(id: string): LinearFetch<DeletePayload>;
|
10992
11659
|
/**
|
10993
11660
|
* Creates a new roadmapToProject join.
|
10994
11661
|
*
|
@@ -11000,9 +11667,9 @@ export declare class LinearSdk extends Request {
|
|
11000
11667
|
* Deletes a roadmapToProject.
|
11001
11668
|
*
|
11002
11669
|
* @param id - required id to pass to deleteRoadmapToProject
|
11003
|
-
* @returns
|
11670
|
+
* @returns DeletePayload
|
11004
11671
|
*/
|
11005
|
-
deleteRoadmapToProject(id: string): LinearFetch<
|
11672
|
+
deleteRoadmapToProject(id: string): LinearFetch<DeletePayload>;
|
11006
11673
|
/**
|
11007
11674
|
* Updates a roadmapToProject.
|
11008
11675
|
*
|
@@ -11015,9 +11682,9 @@ export declare class LinearSdk extends Request {
|
|
11015
11682
|
* Unarchives a roadmap.
|
11016
11683
|
*
|
11017
11684
|
* @param id - required id to pass to unarchiveRoadmap
|
11018
|
-
* @returns
|
11685
|
+
* @returns RoadmapArchivePayload
|
11019
11686
|
*/
|
11020
|
-
unarchiveRoadmap(id: string): LinearFetch<
|
11687
|
+
unarchiveRoadmap(id: string): LinearFetch<RoadmapArchivePayload>;
|
11021
11688
|
/**
|
11022
11689
|
* Updates a roadmap.
|
11023
11690
|
*
|
@@ -11052,16 +11719,16 @@ export declare class LinearSdk extends Request {
|
|
11052
11719
|
* Deletes a team.
|
11053
11720
|
*
|
11054
11721
|
* @param id - required id to pass to deleteTeam
|
11055
|
-
* @returns
|
11722
|
+
* @returns DeletePayload
|
11056
11723
|
*/
|
11057
|
-
deleteTeam(id: string): LinearFetch<
|
11724
|
+
deleteTeam(id: string): LinearFetch<DeletePayload>;
|
11058
11725
|
/**
|
11059
11726
|
* Deletes a previously used team key.
|
11060
11727
|
*
|
11061
11728
|
* @param id - required id to pass to deleteTeamKey
|
11062
|
-
* @returns
|
11729
|
+
* @returns DeletePayload
|
11063
11730
|
*/
|
11064
|
-
deleteTeamKey(id: string): LinearFetch<
|
11731
|
+
deleteTeamKey(id: string): LinearFetch<DeletePayload>;
|
11065
11732
|
/**
|
11066
11733
|
* Creates a new team membership.
|
11067
11734
|
*
|
@@ -11073,9 +11740,9 @@ export declare class LinearSdk extends Request {
|
|
11073
11740
|
* Deletes a team membership.
|
11074
11741
|
*
|
11075
11742
|
* @param id - required id to pass to deleteTeamMembership
|
11076
|
-
* @returns
|
11743
|
+
* @returns DeletePayload
|
11077
11744
|
*/
|
11078
|
-
deleteTeamMembership(id: string): LinearFetch<
|
11745
|
+
deleteTeamMembership(id: string): LinearFetch<DeletePayload>;
|
11079
11746
|
/**
|
11080
11747
|
* Updates a team membership.
|
11081
11748
|
*
|
@@ -11103,9 +11770,9 @@ export declare class LinearSdk extends Request {
|
|
11103
11770
|
* Deletes a template.
|
11104
11771
|
*
|
11105
11772
|
* @param id - required id to pass to deleteTemplate
|
11106
|
-
* @returns
|
11773
|
+
* @returns DeletePayload
|
11107
11774
|
*/
|
11108
|
-
deleteTemplate(id: string): LinearFetch<
|
11775
|
+
deleteTemplate(id: string): LinearFetch<DeletePayload>;
|
11109
11776
|
/**
|
11110
11777
|
* Updates an existing template.
|
11111
11778
|
*
|
@@ -11241,9 +11908,9 @@ export declare class LinearSdk extends Request {
|
|
11241
11908
|
* Deletes a ViewPreferences.
|
11242
11909
|
*
|
11243
11910
|
* @param id - required id to pass to deleteViewPreferences
|
11244
|
-
* @returns
|
11911
|
+
* @returns DeletePayload
|
11245
11912
|
*/
|
11246
|
-
deleteViewPreferences(id: string): LinearFetch<
|
11913
|
+
deleteViewPreferences(id: string): LinearFetch<DeletePayload>;
|
11247
11914
|
/**
|
11248
11915
|
* Updates an existing ViewPreferences object.
|
11249
11916
|
*
|
@@ -11263,9 +11930,9 @@ export declare class LinearSdk extends Request {
|
|
11263
11930
|
* Deletes a Webhook.
|
11264
11931
|
*
|
11265
11932
|
* @param id - required id to pass to deleteWebhook
|
11266
|
-
* @returns
|
11933
|
+
* @returns DeletePayload
|
11267
11934
|
*/
|
11268
|
-
deleteWebhook(id: string): LinearFetch<
|
11935
|
+
deleteWebhook(id: string): LinearFetch<DeletePayload>;
|
11269
11936
|
/**
|
11270
11937
|
* Updates an existing Webhook.
|
11271
11938
|
*
|
@@ -11278,9 +11945,9 @@ export declare class LinearSdk extends Request {
|
|
11278
11945
|
* Archives a state. Only states with issues that have all been archived can be archived.
|
11279
11946
|
*
|
11280
11947
|
* @param id - required id to pass to archiveWorkflowState
|
11281
|
-
* @returns
|
11948
|
+
* @returns WorkflowStateArchivePayload
|
11282
11949
|
*/
|
11283
|
-
archiveWorkflowState(id: string): LinearFetch<
|
11950
|
+
archiveWorkflowState(id: string): LinearFetch<WorkflowStateArchivePayload>;
|
11284
11951
|
/**
|
11285
11952
|
* Creates a new state, adding it to the workflow of a team.
|
11286
11953
|
*
|
@@ -11447,6 +12114,13 @@ export declare class LinearSdk extends Request {
|
|
11447
12114
|
* @returns DocumentConnection
|
11448
12115
|
*/
|
11449
12116
|
documents(variables?: L.DocumentsQueryVariables): LinearFetch<DocumentConnection>;
|
12117
|
+
/**
|
12118
|
+
* Returns embed info for any url
|
12119
|
+
*
|
12120
|
+
* @param url - required url to pass to embedInfo
|
12121
|
+
* @returns EmbedPayload
|
12122
|
+
*/
|
12123
|
+
embedInfo(url: string): LinearFetch<EmbedPayload>;
|
11450
12124
|
/**
|
11451
12125
|
* A specific emoji.
|
11452
12126
|
*
|
@@ -11589,6 +12263,13 @@ export declare class LinearSdk extends Request {
|
|
11589
12263
|
* @returns IssueRelationConnection
|
11590
12264
|
*/
|
11591
12265
|
issueRelations(variables?: L.IssueRelationsQueryVariables): LinearFetch<IssueRelationConnection>;
|
12266
|
+
/**
|
12267
|
+
* [DEPRECATED] Search issues. This endpoint is deprecated and will be removed in the future – use `searchIssues` instead.
|
12268
|
+
*
|
12269
|
+
* @param variables - variables to pass into the IssueSearchQuery
|
12270
|
+
* @returns IssueConnection
|
12271
|
+
*/
|
12272
|
+
issueSearch(variables?: L.IssueSearchQueryVariables): LinearFetch<IssueConnection>;
|
11592
12273
|
/**
|
11593
12274
|
* Find issue based on the VCS branch name.
|
11594
12275
|
*
|
@@ -11616,7 +12297,7 @@ export declare class LinearSdk extends Request {
|
|
11616
12297
|
* @param id - required id to pass to notificationSubscription
|
11617
12298
|
* @returns NotificationSubscription
|
11618
12299
|
*/
|
11619
|
-
notificationSubscription(id: string): LinearFetch<ProjectNotificationSubscription | TeamNotificationSubscription | NotificationSubscription>;
|
12300
|
+
notificationSubscription(id: string): LinearFetch<CustomViewNotificationSubscription | CycleNotificationSubscription | LabelNotificationSubscription | ProjectNotificationSubscription | TeamNotificationSubscription | UserNotificationSubscription | NotificationSubscription>;
|
11620
12301
|
/**
|
11621
12302
|
* The user's notification subscriptions.
|
11622
12303
|
*
|
@@ -11834,6 +12515,13 @@ export declare class LinearSdk extends Request {
|
|
11834
12515
|
* @returns Template[]
|
11835
12516
|
*/
|
11836
12517
|
get templates(): LinearFetch<Template[]>;
|
12518
|
+
/**
|
12519
|
+
* Returns all templates that are associated with the integration type.
|
12520
|
+
*
|
12521
|
+
* @param integrationType - required integrationType to pass to templatesForIntegration
|
12522
|
+
* @returns Template[]
|
12523
|
+
*/
|
12524
|
+
templatesForIntegration(integrationType: string): LinearFetch<Template[]>;
|
11837
12525
|
/**
|
11838
12526
|
* One specific user.
|
11839
12527
|
*
|