@linear/sdk 5.0.0 → 7.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +386 -0
- package/dist/_generated_documents.d.ts +1481 -272
- package/dist/_generated_documents.d.ts.map +1 -1
- package/dist/_generated_sdk.d.ts +1049 -304
- package/dist/_generated_sdk.d.ts.map +1 -1
- package/dist/index-cjs.js +3385 -765
- 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 +3352 -762
- 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 +3382 -765
- 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
|
*
|
@@ -364,7 +380,7 @@ export declare class Comment extends Request {
|
|
364
380
|
/** Creates a new comment. */
|
365
381
|
create(input: L.CommentCreateInput): LinearFetch<CommentPayload>;
|
366
382
|
/** Deletes a comment. */
|
367
|
-
delete(): LinearFetch<
|
383
|
+
delete(): LinearFetch<DeletePayload>;
|
368
384
|
/** Updates a comment. */
|
369
385
|
update(input: L.CommentUpdateInput): LinearFetch<CommentPayload>;
|
370
386
|
}
|
@@ -394,6 +410,52 @@ export declare class CommentPayload extends Request {
|
|
394
410
|
/** The comment that was created or updated. */
|
395
411
|
get comment(): LinearFetch<Comment> | undefined;
|
396
412
|
}
|
413
|
+
/**
|
414
|
+
* A company related to issue's origin.
|
415
|
+
*
|
416
|
+
* @param request - function to call the graphql client
|
417
|
+
* @param data - L.CompanyFragment response data
|
418
|
+
*/
|
419
|
+
export declare class Company extends Request {
|
420
|
+
private _creator;
|
421
|
+
constructor(request: LinearRequest, data: L.CompanyFragment);
|
422
|
+
/** The time at which the entity was archived. Null if the entity has not been archived. */
|
423
|
+
archivedAt?: Date;
|
424
|
+
/** Custom company properties. */
|
425
|
+
companyProperties: Record<string, unknown>;
|
426
|
+
/** The time at which the entity was created. */
|
427
|
+
createdAt: Date;
|
428
|
+
/** Company ID in an external system. */
|
429
|
+
externalId: string;
|
430
|
+
/** The unique identifier of the entity. */
|
431
|
+
id: string;
|
432
|
+
/** Company logo URL. */
|
433
|
+
logoUrl?: string;
|
434
|
+
/** Company name. */
|
435
|
+
name: string;
|
436
|
+
/**
|
437
|
+
* The last time at which the entity was meaningfully updated, i.e. for all changes of syncable properties except those
|
438
|
+
* 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
|
439
|
+
* been updated after creation.
|
440
|
+
*/
|
441
|
+
updatedAt: Date;
|
442
|
+
/** Company website URL. */
|
443
|
+
websiteUrl?: string;
|
444
|
+
/** The user who added the company. */
|
445
|
+
get creator(): LinearFetch<User> | undefined;
|
446
|
+
/** The organization of the customer. */
|
447
|
+
get organization(): LinearFetch<Organization>;
|
448
|
+
}
|
449
|
+
/**
|
450
|
+
* CompanyConnection model
|
451
|
+
*
|
452
|
+
* @param request - function to call the graphql client
|
453
|
+
* @param fetch - function to trigger a refetch of this CompanyConnection model
|
454
|
+
* @param data - CompanyConnection response data
|
455
|
+
*/
|
456
|
+
export declare class CompanyConnection extends Connection<Company> {
|
457
|
+
constructor(request: LinearRequest, fetch: (connection?: LinearConnectionVariables) => LinearFetch<LinearConnection<Company> | undefined>, data: L.CompanyConnectionFragment);
|
458
|
+
}
|
397
459
|
/**
|
398
460
|
* ContactPayload model
|
399
461
|
*
|
@@ -436,7 +498,6 @@ export declare class CreateOrJoinOrganizationResponse extends Request {
|
|
436
498
|
*/
|
437
499
|
export declare class CustomView extends Request {
|
438
500
|
private _creator;
|
439
|
-
private _owner;
|
440
501
|
private _team?;
|
441
502
|
constructor(request: LinearRequest, data: L.CustomViewFragment);
|
442
503
|
/** The time at which the entity was archived. Null if the entity has not been archived. */
|
@@ -469,14 +530,12 @@ export declare class CustomView extends Request {
|
|
469
530
|
get creator(): LinearFetch<User> | undefined;
|
470
531
|
/** The organization of the custom view. */
|
471
532
|
get organization(): LinearFetch<Organization>;
|
472
|
-
/** The user who owns the custom view. */
|
473
|
-
get owner(): LinearFetch<User> | undefined;
|
474
533
|
/** The team associated with the custom view. */
|
475
534
|
get team(): LinearFetch<Team> | undefined;
|
476
535
|
/** Creates a new custom view. */
|
477
536
|
create(input: L.CustomViewCreateInput): LinearFetch<CustomViewPayload>;
|
478
537
|
/** Deletes a custom view. */
|
479
|
-
delete(): LinearFetch<
|
538
|
+
delete(): LinearFetch<DeletePayload>;
|
480
539
|
/** Updates a custom view. */
|
481
540
|
update(input: L.CustomViewUpdateInput): LinearFetch<CustomViewPayload>;
|
482
541
|
}
|
@@ -490,6 +549,50 @@ export declare class CustomView extends Request {
|
|
490
549
|
export declare class CustomViewConnection extends Connection<CustomView> {
|
491
550
|
constructor(request: LinearRequest, fetch: (connection?: LinearConnectionVariables) => LinearFetch<LinearConnection<CustomView> | undefined>, data: L.CustomViewConnectionFragment);
|
492
551
|
}
|
552
|
+
/**
|
553
|
+
* A custom view notification subscription.
|
554
|
+
*
|
555
|
+
* @param request - function to call the graphql client
|
556
|
+
* @param data - L.CustomViewNotificationSubscriptionFragment response data
|
557
|
+
*/
|
558
|
+
export declare class CustomViewNotificationSubscription extends Request {
|
559
|
+
private _customView;
|
560
|
+
private _cycle?;
|
561
|
+
private _label?;
|
562
|
+
private _project?;
|
563
|
+
private _subscriber;
|
564
|
+
private _team?;
|
565
|
+
private _user?;
|
566
|
+
constructor(request: LinearRequest, data: L.CustomViewNotificationSubscriptionFragment);
|
567
|
+
/** The time at which the entity was archived. Null if the entity has not been archived. */
|
568
|
+
archivedAt?: Date;
|
569
|
+
/** The time at which the entity was created. */
|
570
|
+
createdAt: Date;
|
571
|
+
/** The unique identifier of the entity. */
|
572
|
+
id: string;
|
573
|
+
/** The type of subscription. */
|
574
|
+
notificationSubscriptionTypes: string[];
|
575
|
+
/**
|
576
|
+
* The last time at which the entity was meaningfully updated, i.e. for all changes of syncable properties except those
|
577
|
+
* for which updates should not produce an update to updatedAt (see skipUpdatedAtKeys). This is the same as the creation time if the entity hasn't
|
578
|
+
* been updated after creation.
|
579
|
+
*/
|
580
|
+
updatedAt: Date;
|
581
|
+
/** The custom view subscribed to. */
|
582
|
+
get customView(): LinearFetch<CustomView> | undefined;
|
583
|
+
/** The contextual cycle view associated with the notification subscription. */
|
584
|
+
get cycle(): LinearFetch<Cycle> | undefined;
|
585
|
+
/** The contextual label view associated with the notification subscription. */
|
586
|
+
get label(): LinearFetch<IssueLabel> | undefined;
|
587
|
+
/** The contextual project view associated with the notification subscription. */
|
588
|
+
get project(): LinearFetch<Project> | undefined;
|
589
|
+
/** The user that subscribed to receive notifications. */
|
590
|
+
get subscriber(): LinearFetch<User> | undefined;
|
591
|
+
/** The team associated with the notification subscription. */
|
592
|
+
get team(): LinearFetch<Team> | undefined;
|
593
|
+
/** The user view associated with the notification subscription. */
|
594
|
+
get user(): LinearFetch<User> | undefined;
|
595
|
+
}
|
493
596
|
/**
|
494
597
|
* CustomViewPayload model
|
495
598
|
*
|
@@ -575,12 +678,28 @@ export declare class Cycle extends Request {
|
|
575
678
|
/** Issues that weren't completed when the cycle was closed. */
|
576
679
|
uncompletedIssuesUponClose(variables?: Omit<L.Cycle_UncompletedIssuesUponCloseQueryVariables, "id">): LinearFetch<IssueConnection>;
|
577
680
|
/** Archives a cycle. */
|
578
|
-
archive(): LinearFetch<
|
681
|
+
archive(): LinearFetch<CycleArchivePayload>;
|
579
682
|
/** Creates a new cycle. */
|
580
683
|
create(input: L.CycleCreateInput): LinearFetch<CyclePayload>;
|
581
684
|
/** Updates a cycle. */
|
582
685
|
update(input: L.CycleUpdateInput): LinearFetch<CyclePayload>;
|
583
686
|
}
|
687
|
+
/**
|
688
|
+
* A generic payload return from entity archive mutations.
|
689
|
+
*
|
690
|
+
* @param request - function to call the graphql client
|
691
|
+
* @param data - L.CycleArchivePayloadFragment response data
|
692
|
+
*/
|
693
|
+
export declare class CycleArchivePayload extends Request {
|
694
|
+
private _entity?;
|
695
|
+
constructor(request: LinearRequest, data: L.CycleArchivePayloadFragment);
|
696
|
+
/** The identifier of the last sync operation. */
|
697
|
+
lastSyncId: number;
|
698
|
+
/** Whether the operation was successful. */
|
699
|
+
success: boolean;
|
700
|
+
/** The archived/unarchived entity. Null if entity was deleted. */
|
701
|
+
get entity(): LinearFetch<Cycle> | undefined;
|
702
|
+
}
|
584
703
|
/**
|
585
704
|
* CycleConnection model
|
586
705
|
*
|
@@ -591,6 +710,50 @@ export declare class Cycle extends Request {
|
|
591
710
|
export declare class CycleConnection extends Connection<Cycle> {
|
592
711
|
constructor(request: LinearRequest, fetch: (connection?: LinearConnectionVariables) => LinearFetch<LinearConnection<Cycle> | undefined>, data: L.CycleConnectionFragment);
|
593
712
|
}
|
713
|
+
/**
|
714
|
+
* A cycle notification subscription.
|
715
|
+
*
|
716
|
+
* @param request - function to call the graphql client
|
717
|
+
* @param data - L.CycleNotificationSubscriptionFragment response data
|
718
|
+
*/
|
719
|
+
export declare class CycleNotificationSubscription extends Request {
|
720
|
+
private _customView?;
|
721
|
+
private _cycle;
|
722
|
+
private _label?;
|
723
|
+
private _project?;
|
724
|
+
private _subscriber;
|
725
|
+
private _team?;
|
726
|
+
private _user?;
|
727
|
+
constructor(request: LinearRequest, data: L.CycleNotificationSubscriptionFragment);
|
728
|
+
/** The time at which the entity was archived. Null if the entity has not been archived. */
|
729
|
+
archivedAt?: Date;
|
730
|
+
/** The time at which the entity was created. */
|
731
|
+
createdAt: Date;
|
732
|
+
/** The unique identifier of the entity. */
|
733
|
+
id: string;
|
734
|
+
/** The type of subscription. */
|
735
|
+
notificationSubscriptionTypes: string[];
|
736
|
+
/**
|
737
|
+
* The last time at which the entity was meaningfully updated, i.e. for all changes of syncable properties except those
|
738
|
+
* for which updates should not produce an update to updatedAt (see skipUpdatedAtKeys). This is the same as the creation time if the entity hasn't
|
739
|
+
* been updated after creation.
|
740
|
+
*/
|
741
|
+
updatedAt: Date;
|
742
|
+
/** The contextual custom view associated with the notification subscription. */
|
743
|
+
get customView(): LinearFetch<CustomView> | undefined;
|
744
|
+
/** The cycle subscribed to. */
|
745
|
+
get cycle(): LinearFetch<Cycle> | undefined;
|
746
|
+
/** The contextual label view associated with the notification subscription. */
|
747
|
+
get label(): LinearFetch<IssueLabel> | undefined;
|
748
|
+
/** The contextual project view associated with the notification subscription. */
|
749
|
+
get project(): LinearFetch<Project> | undefined;
|
750
|
+
/** The user that subscribed to receive notifications. */
|
751
|
+
get subscriber(): LinearFetch<User> | undefined;
|
752
|
+
/** The team associated with the notification subscription. */
|
753
|
+
get team(): LinearFetch<Team> | undefined;
|
754
|
+
/** The user view associated with the notification subscription. */
|
755
|
+
get user(): LinearFetch<User> | undefined;
|
756
|
+
}
|
594
757
|
/**
|
595
758
|
* CyclePayload model
|
596
759
|
*
|
@@ -607,6 +770,21 @@ export declare class CyclePayload extends Request {
|
|
607
770
|
/** The Cycle that was created or updated. */
|
608
771
|
get cycle(): LinearFetch<Cycle> | undefined;
|
609
772
|
}
|
773
|
+
/**
|
774
|
+
* A generic payload return from entity deletion mutations.
|
775
|
+
*
|
776
|
+
* @param request - function to call the graphql client
|
777
|
+
* @param data - L.DeletePayloadFragment response data
|
778
|
+
*/
|
779
|
+
export declare class DeletePayload extends Request {
|
780
|
+
constructor(request: LinearRequest, data: L.DeletePayloadFragment);
|
781
|
+
/** The identifier of the deleted entity. */
|
782
|
+
entityId: string;
|
783
|
+
/** The identifier of the last sync operation. */
|
784
|
+
lastSyncId: number;
|
785
|
+
/** Whether the operation was successful. */
|
786
|
+
success: boolean;
|
787
|
+
}
|
610
788
|
/**
|
611
789
|
* A document for a project.
|
612
790
|
*
|
@@ -651,7 +829,7 @@ export declare class Document extends Request {
|
|
651
829
|
/** Creates a new document. */
|
652
830
|
create(input: L.DocumentCreateInput): LinearFetch<DocumentPayload>;
|
653
831
|
/** Deletes a document. */
|
654
|
-
delete(): LinearFetch<
|
832
|
+
delete(): LinearFetch<DeletePayload>;
|
655
833
|
/** Updates a document. */
|
656
834
|
update(input: L.DocumentUpdateInput): LinearFetch<DocumentPayload>;
|
657
835
|
}
|
@@ -802,6 +980,52 @@ export declare class EmailUserAccountAuthChallengeResponse extends Request {
|
|
802
980
|
/** Whether the operation was successful. */
|
803
981
|
success: boolean;
|
804
982
|
}
|
983
|
+
/**
|
984
|
+
* Information for creating embedded content for the provided URL
|
985
|
+
*
|
986
|
+
* @param request - function to call the graphql client
|
987
|
+
* @param data - L.EmbedFragment response data
|
988
|
+
*/
|
989
|
+
export declare class Embed extends Request {
|
990
|
+
constructor(request: LinearRequest, data: L.EmbedFragment);
|
991
|
+
/** The name of the author/owner of the resource */
|
992
|
+
authorName?: string;
|
993
|
+
/** The description of the content */
|
994
|
+
description?: string;
|
995
|
+
/** The height of embedded content (photo, video, rich) */
|
996
|
+
height?: number;
|
997
|
+
/** The HTML (video, rich) */
|
998
|
+
html?: string;
|
999
|
+
/** The name of the provider */
|
1000
|
+
providerName?: string;
|
1001
|
+
/** The height of the thumbnail preview image */
|
1002
|
+
thumbnailHeight?: number;
|
1003
|
+
/** The URL of the thumbnail preview image */
|
1004
|
+
thumbnailUrl?: string;
|
1005
|
+
/** The width of the thumbnail preview image */
|
1006
|
+
thumbnailWidth?: number;
|
1007
|
+
/** Title for the returned embed view */
|
1008
|
+
title?: string;
|
1009
|
+
/** The type of embed */
|
1010
|
+
type: string;
|
1011
|
+
/** The asset URL (photo) */
|
1012
|
+
url?: string;
|
1013
|
+
/** The width of embedded content (photo, video, rich) */
|
1014
|
+
width?: number;
|
1015
|
+
}
|
1016
|
+
/**
|
1017
|
+
* EmbedPayload model
|
1018
|
+
*
|
1019
|
+
* @param request - function to call the graphql client
|
1020
|
+
* @param data - L.EmbedPayloadFragment response data
|
1021
|
+
*/
|
1022
|
+
export declare class EmbedPayload extends Request {
|
1023
|
+
constructor(request: LinearRequest, data: L.EmbedPayloadFragment);
|
1024
|
+
/** Whether the query was successful */
|
1025
|
+
success: boolean;
|
1026
|
+
/** Embed information */
|
1027
|
+
embed?: Embed;
|
1028
|
+
}
|
805
1029
|
/**
|
806
1030
|
* A custom emoji.
|
807
1031
|
*
|
@@ -836,7 +1060,7 @@ export declare class Emoji extends Request {
|
|
836
1060
|
/** Creates a custom emoji. */
|
837
1061
|
create(input: L.EmojiCreateInput): LinearFetch<EmojiPayload>;
|
838
1062
|
/** Deletes an emoji. */
|
839
|
-
delete(): LinearFetch<
|
1063
|
+
delete(): LinearFetch<DeletePayload>;
|
840
1064
|
}
|
841
1065
|
/**
|
842
1066
|
* EmojiConnection model
|
@@ -885,17 +1109,6 @@ export declare class Entity extends Request {
|
|
885
1109
|
*/
|
886
1110
|
updatedAt: Date;
|
887
1111
|
}
|
888
|
-
/**
|
889
|
-
* EventPayload model
|
890
|
-
*
|
891
|
-
* @param request - function to call the graphql client
|
892
|
-
* @param data - L.EventPayloadFragment response data
|
893
|
-
*/
|
894
|
-
export declare class EventPayload extends Request {
|
895
|
-
constructor(request: LinearRequest, data: L.EventPayloadFragment);
|
896
|
-
/** Whether the operation was successful. */
|
897
|
-
success: boolean;
|
898
|
-
}
|
899
1112
|
/**
|
900
1113
|
* User favorites presented in the sidebar.
|
901
1114
|
*
|
@@ -908,12 +1121,13 @@ export declare class Favorite extends Request {
|
|
908
1121
|
private _document?;
|
909
1122
|
private _issue?;
|
910
1123
|
private _label?;
|
1124
|
+
private _owner;
|
911
1125
|
private _parent?;
|
912
1126
|
private _predefinedViewTeam?;
|
913
1127
|
private _project?;
|
914
1128
|
private _projectTeam?;
|
915
1129
|
private _roadmap?;
|
916
|
-
private _user
|
1130
|
+
private _user?;
|
917
1131
|
constructor(request: LinearRequest, data: L.FavoriteFragment);
|
918
1132
|
/** The time at which the entity was archived. Null if the entity has not been archived. */
|
919
1133
|
archivedAt?: Date;
|
@@ -945,6 +1159,8 @@ export declare class Favorite extends Request {
|
|
945
1159
|
get issue(): LinearFetch<Issue> | undefined;
|
946
1160
|
/** The favorited label. */
|
947
1161
|
get label(): LinearFetch<IssueLabel> | undefined;
|
1162
|
+
/** The owner of the favorite. */
|
1163
|
+
get owner(): LinearFetch<User> | undefined;
|
948
1164
|
/** The parent folder of the favorite. */
|
949
1165
|
get parent(): LinearFetch<Favorite> | undefined;
|
950
1166
|
/** The team of the favorited predefined view. */
|
@@ -955,14 +1171,14 @@ export declare class Favorite extends Request {
|
|
955
1171
|
get projectTeam(): LinearFetch<Team> | undefined;
|
956
1172
|
/** The favorited roadmap. */
|
957
1173
|
get roadmap(): LinearFetch<Roadmap> | undefined;
|
958
|
-
/** The
|
1174
|
+
/** The favorited user. */
|
959
1175
|
get user(): LinearFetch<User> | undefined;
|
960
1176
|
/** Children of the favorite. Only applies to favorites of type folder. */
|
961
1177
|
children(variables?: Omit<L.Favorite_ChildrenQueryVariables, "id">): LinearFetch<FavoriteConnection>;
|
962
1178
|
/** Creates a new favorite (project, cycle etc). */
|
963
1179
|
create(input: L.FavoriteCreateInput): LinearFetch<FavoritePayload>;
|
964
1180
|
/** Deletes a favorite reference. */
|
965
|
-
delete(): LinearFetch<
|
1181
|
+
delete(): LinearFetch<DeletePayload>;
|
966
1182
|
/** Updates a favorite. */
|
967
1183
|
update(input: L.FavoriteUpdateInput): LinearFetch<FavoritePayload>;
|
968
1184
|
}
|
@@ -1022,6 +1238,47 @@ export declare class FigmaEmbedPayload extends Request {
|
|
1022
1238
|
/** Figma embed information. */
|
1023
1239
|
figmaEmbed?: FigmaEmbed;
|
1024
1240
|
}
|
1241
|
+
/**
|
1242
|
+
* A schedule for a team's first responder.
|
1243
|
+
*
|
1244
|
+
* @param request - function to call the graphql client
|
1245
|
+
* @param data - L.FirstResponderScheduleFragment response data
|
1246
|
+
*/
|
1247
|
+
export declare class FirstResponderSchedule extends Request {
|
1248
|
+
private _integration;
|
1249
|
+
private _team;
|
1250
|
+
constructor(request: LinearRequest, data: L.FirstResponderScheduleFragment);
|
1251
|
+
/** The time at which the entity was archived. Null if the entity has not been archived. */
|
1252
|
+
archivedAt?: Date;
|
1253
|
+
/** The time at which the entity was created. */
|
1254
|
+
createdAt: Date;
|
1255
|
+
/** The unique identifier of the entity. */
|
1256
|
+
id: string;
|
1257
|
+
/** The id of the integration schedule used for scheduling. */
|
1258
|
+
integrationScheduleId?: string;
|
1259
|
+
/** The current schedule and available schedules. */
|
1260
|
+
scheduleData: Record<string, unknown>;
|
1261
|
+
/**
|
1262
|
+
* The last time at which the entity was meaningfully updated, i.e. for all changes of syncable properties except those
|
1263
|
+
* for which updates should not produce an update to updatedAt (see skipUpdatedAtKeys). This is the same as the creation time if the entity hasn't
|
1264
|
+
* been updated after creation.
|
1265
|
+
*/
|
1266
|
+
updatedAt: Date;
|
1267
|
+
/** The integration used for scheduling. */
|
1268
|
+
get integration(): LinearFetch<Integration> | undefined;
|
1269
|
+
/** The team to which the schedule belongs to. */
|
1270
|
+
get team(): LinearFetch<Team> | undefined;
|
1271
|
+
}
|
1272
|
+
/**
|
1273
|
+
* FirstResponderScheduleConnection model
|
1274
|
+
*
|
1275
|
+
* @param request - function to call the graphql client
|
1276
|
+
* @param fetch - function to trigger a refetch of this FirstResponderScheduleConnection model
|
1277
|
+
* @param data - FirstResponderScheduleConnection response data
|
1278
|
+
*/
|
1279
|
+
export declare class FirstResponderScheduleConnection extends Connection<FirstResponderSchedule> {
|
1280
|
+
constructor(request: LinearRequest, fetch: (connection?: LinearConnectionVariables) => LinearFetch<LinearConnection<FirstResponderSchedule> | undefined>, data: L.FirstResponderScheduleConnectionFragment);
|
1281
|
+
}
|
1025
1282
|
/**
|
1026
1283
|
* FrontAttachmentPayload model
|
1027
1284
|
*
|
@@ -1189,7 +1446,7 @@ export declare class Integration extends Request {
|
|
1189
1446
|
/** The team that the integration is associated with. */
|
1190
1447
|
get team(): LinearFetch<Team> | undefined;
|
1191
1448
|
/** Deletes an integration. */
|
1192
|
-
delete(): LinearFetch<
|
1449
|
+
delete(): LinearFetch<DeletePayload>;
|
1193
1450
|
}
|
1194
1451
|
/**
|
1195
1452
|
* IntegrationConnection model
|
@@ -1242,6 +1499,7 @@ export declare class IntegrationSettings extends Request {
|
|
1242
1499
|
intercom?: IntercomSettings;
|
1243
1500
|
jira?: JiraSettings;
|
1244
1501
|
notion?: NotionSettings;
|
1502
|
+
pagerDuty?: PagerDutySettings;
|
1245
1503
|
sentry?: SentrySettings;
|
1246
1504
|
slackOrgProjectUpdatesPost?: SlackPostSettings;
|
1247
1505
|
slackPost?: SlackPostSettings;
|
@@ -1277,7 +1535,7 @@ export declare class IntegrationTemplate extends Request {
|
|
1277
1535
|
/** Creates a new integrationTemplate join. */
|
1278
1536
|
create(input: L.IntegrationTemplateCreateInput): LinearFetch<IntegrationTemplatePayload>;
|
1279
1537
|
/** Deletes a integrationTemplate. */
|
1280
|
-
delete(): LinearFetch<
|
1538
|
+
delete(): LinearFetch<DeletePayload>;
|
1281
1539
|
}
|
1282
1540
|
/**
|
1283
1541
|
* IntegrationTemplateConnection model
|
@@ -1516,16 +1774,32 @@ export declare class Issue extends Request {
|
|
1516
1774
|
/** Users who are subscribed to the issue. */
|
1517
1775
|
subscribers(variables?: Omit<L.Issue_SubscribersQueryVariables, "id">): LinearFetch<UserConnection>;
|
1518
1776
|
/** Archives an issue. */
|
1519
|
-
archive(variables?: Omit<L.ArchiveIssueMutationVariables, "id">): LinearFetch<
|
1777
|
+
archive(variables?: Omit<L.ArchiveIssueMutationVariables, "id">): LinearFetch<IssueArchivePayload>;
|
1520
1778
|
/** Creates a new issue. */
|
1521
1779
|
create(input: L.IssueCreateInput): LinearFetch<IssuePayload>;
|
1522
1780
|
/** Deletes (trashes) an issue. */
|
1523
|
-
delete(): LinearFetch<
|
1781
|
+
delete(): LinearFetch<IssueArchivePayload>;
|
1524
1782
|
/** Unarchives an issue. */
|
1525
|
-
unarchive(): LinearFetch<
|
1783
|
+
unarchive(): LinearFetch<IssueArchivePayload>;
|
1526
1784
|
/** Updates an issue. */
|
1527
1785
|
update(input: L.IssueUpdateInput): LinearFetch<IssuePayload>;
|
1528
1786
|
}
|
1787
|
+
/**
|
1788
|
+
* A generic payload return from entity archive mutations.
|
1789
|
+
*
|
1790
|
+
* @param request - function to call the graphql client
|
1791
|
+
* @param data - L.IssueArchivePayloadFragment response data
|
1792
|
+
*/
|
1793
|
+
export declare class IssueArchivePayload extends Request {
|
1794
|
+
private _entity?;
|
1795
|
+
constructor(request: LinearRequest, data: L.IssueArchivePayloadFragment);
|
1796
|
+
/** The identifier of the last sync operation. */
|
1797
|
+
lastSyncId: number;
|
1798
|
+
/** Whether the operation was successful. */
|
1799
|
+
success: boolean;
|
1800
|
+
/** The archived/unarchived entity. Null if entity was deleted. */
|
1801
|
+
get entity(): LinearFetch<Issue> | undefined;
|
1802
|
+
}
|
1529
1803
|
/**
|
1530
1804
|
* IssueBatchPayload model
|
1531
1805
|
*
|
@@ -1590,7 +1864,7 @@ export declare class IssueHistory extends Request {
|
|
1590
1864
|
actorId?: string;
|
1591
1865
|
/** ID's of labels that were added. */
|
1592
1866
|
addedLabelIds?: string[];
|
1593
|
-
/** Whether the issue
|
1867
|
+
/** Whether the issue is archived at the time of this history entry. */
|
1594
1868
|
archived?: boolean;
|
1595
1869
|
/** The time at which the entity was archived. Null if the entity has not been archived. */
|
1596
1870
|
archivedAt?: Date;
|
@@ -1829,12 +2103,10 @@ export declare class IssueLabel extends Request {
|
|
1829
2103
|
children(variables?: Omit<L.IssueLabel_ChildrenQueryVariables, "id">): LinearFetch<IssueLabelConnection>;
|
1830
2104
|
/** Issues associated with the label. */
|
1831
2105
|
issues(variables?: Omit<L.IssueLabel_IssuesQueryVariables, "id">): LinearFetch<IssueConnection>;
|
1832
|
-
/** Deletes an issue label. */
|
1833
|
-
archive(): LinearFetch<ArchivePayload>;
|
1834
2106
|
/** Creates a new label. */
|
1835
2107
|
create(input: L.IssueLabelCreateInput, variables?: Omit<L.CreateIssueLabelMutationVariables, "input">): LinearFetch<IssueLabelPayload>;
|
1836
2108
|
/** Deletes an issue label. */
|
1837
|
-
delete(): LinearFetch<
|
2109
|
+
delete(): LinearFetch<DeletePayload>;
|
1838
2110
|
/** Updates an label. */
|
1839
2111
|
update(input: L.IssueLabelUpdateInput): LinearFetch<IssueLabelPayload>;
|
1840
2112
|
}
|
@@ -1975,7 +2247,7 @@ export declare class IssueRelation extends Request {
|
|
1975
2247
|
/** Creates a new issue relation. */
|
1976
2248
|
create(input: L.IssueRelationCreateInput): LinearFetch<IssueRelationPayload>;
|
1977
2249
|
/** Deletes an issue relation. */
|
1978
|
-
delete(): LinearFetch<
|
2250
|
+
delete(): LinearFetch<DeletePayload>;
|
1979
2251
|
/** Updates an issue relation. */
|
1980
2252
|
update(input: L.IssueRelationUpdateInput): LinearFetch<IssueRelationPayload>;
|
1981
2253
|
}
|
@@ -2185,6 +2457,50 @@ export declare class JiraSettings extends Request {
|
|
2185
2457
|
/** The Jira projects for the organization. */
|
2186
2458
|
projects: JiraProjectData[];
|
2187
2459
|
}
|
2460
|
+
/**
|
2461
|
+
* A label notification subscription.
|
2462
|
+
*
|
2463
|
+
* @param request - function to call the graphql client
|
2464
|
+
* @param data - L.LabelNotificationSubscriptionFragment response data
|
2465
|
+
*/
|
2466
|
+
export declare class LabelNotificationSubscription extends Request {
|
2467
|
+
private _customView?;
|
2468
|
+
private _cycle?;
|
2469
|
+
private _label;
|
2470
|
+
private _project?;
|
2471
|
+
private _subscriber;
|
2472
|
+
private _team?;
|
2473
|
+
private _user?;
|
2474
|
+
constructor(request: LinearRequest, data: L.LabelNotificationSubscriptionFragment);
|
2475
|
+
/** The time at which the entity was archived. Null if the entity has not been archived. */
|
2476
|
+
archivedAt?: Date;
|
2477
|
+
/** The time at which the entity was created. */
|
2478
|
+
createdAt: Date;
|
2479
|
+
/** The unique identifier of the entity. */
|
2480
|
+
id: string;
|
2481
|
+
/** The type of subscription. */
|
2482
|
+
notificationSubscriptionTypes: string[];
|
2483
|
+
/**
|
2484
|
+
* The last time at which the entity was meaningfully updated, i.e. for all changes of syncable properties except those
|
2485
|
+
* for which updates should not produce an update to updatedAt (see skipUpdatedAtKeys). This is the same as the creation time if the entity hasn't
|
2486
|
+
* been updated after creation.
|
2487
|
+
*/
|
2488
|
+
updatedAt: Date;
|
2489
|
+
/** The contextual custom view associated with the notification subscription. */
|
2490
|
+
get customView(): LinearFetch<CustomView> | undefined;
|
2491
|
+
/** The contextual cycle view associated with the notification subscription. */
|
2492
|
+
get cycle(): LinearFetch<Cycle> | undefined;
|
2493
|
+
/** The label subscribed to. */
|
2494
|
+
get label(): LinearFetch<IssueLabel> | undefined;
|
2495
|
+
/** The contextual project view associated with the notification subscription. */
|
2496
|
+
get project(): LinearFetch<Project> | undefined;
|
2497
|
+
/** The user that subscribed to receive notifications. */
|
2498
|
+
get subscriber(): LinearFetch<User> | undefined;
|
2499
|
+
/** The team associated with the notification subscription. */
|
2500
|
+
get team(): LinearFetch<Team> | undefined;
|
2501
|
+
/** The user view associated with the notification subscription. */
|
2502
|
+
get user(): LinearFetch<User> | undefined;
|
2503
|
+
}
|
2188
2504
|
/**
|
2189
2505
|
* LogoutResponse model
|
2190
2506
|
*
|
@@ -2247,12 +2563,40 @@ export declare class Notification extends Request {
|
|
2247
2563
|
/** The user that received the notification. */
|
2248
2564
|
get user(): LinearFetch<User> | undefined;
|
2249
2565
|
/** Archives a notification. */
|
2250
|
-
archive(): LinearFetch<
|
2566
|
+
archive(): LinearFetch<NotificationArchivePayload>;
|
2251
2567
|
/** Unarchives a notification. */
|
2252
|
-
unarchive(): LinearFetch<
|
2568
|
+
unarchive(): LinearFetch<NotificationArchivePayload>;
|
2253
2569
|
/** Updates a notification. */
|
2254
2570
|
update(input: L.NotificationUpdateInput): LinearFetch<NotificationPayload>;
|
2255
2571
|
}
|
2572
|
+
/**
|
2573
|
+
* A generic payload return from entity archive mutations.
|
2574
|
+
*
|
2575
|
+
* @param request - function to call the graphql client
|
2576
|
+
* @param data - L.NotificationArchivePayloadFragment response data
|
2577
|
+
*/
|
2578
|
+
export declare class NotificationArchivePayload extends Request {
|
2579
|
+
constructor(request: LinearRequest, data: L.NotificationArchivePayloadFragment);
|
2580
|
+
/** The identifier of the last sync operation. */
|
2581
|
+
lastSyncId: number;
|
2582
|
+
/** Whether the operation was successful. */
|
2583
|
+
success: boolean;
|
2584
|
+
}
|
2585
|
+
/**
|
2586
|
+
* NotificationBatchActionPayload model
|
2587
|
+
*
|
2588
|
+
* @param request - function to call the graphql client
|
2589
|
+
* @param data - L.NotificationBatchActionPayloadFragment response data
|
2590
|
+
*/
|
2591
|
+
export declare class NotificationBatchActionPayload extends Request {
|
2592
|
+
constructor(request: LinearRequest, data: L.NotificationBatchActionPayloadFragment);
|
2593
|
+
/** The identifier of the last sync operation. */
|
2594
|
+
lastSyncId: number;
|
2595
|
+
/** Whether the operation was successful. */
|
2596
|
+
success: boolean;
|
2597
|
+
/** The notifications that were updated. */
|
2598
|
+
notifications: Notification[];
|
2599
|
+
}
|
2256
2600
|
/**
|
2257
2601
|
* NotificationConnection model
|
2258
2602
|
*
|
@@ -2283,9 +2627,13 @@ export declare class NotificationPayload extends Request {
|
|
2283
2627
|
* @param data - L.NotificationSubscriptionFragment response data
|
2284
2628
|
*/
|
2285
2629
|
export declare class NotificationSubscription extends Request {
|
2630
|
+
private _customView?;
|
2631
|
+
private _cycle?;
|
2632
|
+
private _label?;
|
2286
2633
|
private _project?;
|
2634
|
+
private _subscriber;
|
2287
2635
|
private _team?;
|
2288
|
-
private _user
|
2636
|
+
private _user?;
|
2289
2637
|
constructor(request: LinearRequest, data: L.NotificationSubscriptionFragment);
|
2290
2638
|
/** The time at which the entity was archived. Null if the entity has not been archived. */
|
2291
2639
|
archivedAt?: Date;
|
@@ -2293,24 +2641,30 @@ export declare class NotificationSubscription extends Request {
|
|
2293
2641
|
createdAt: Date;
|
2294
2642
|
/** The unique identifier of the entity. */
|
2295
2643
|
id: string;
|
2296
|
-
/** The type of the subscription. */
|
2297
|
-
type: string;
|
2298
2644
|
/**
|
2299
2645
|
* The last time at which the entity was meaningfully updated, i.e. for all changes of syncable properties except those
|
2300
2646
|
* for which updates should not produce an update to updatedAt (see skipUpdatedAtKeys). This is the same as the creation time if the entity hasn't
|
2301
2647
|
* been updated after creation.
|
2302
2648
|
*/
|
2303
2649
|
updatedAt: Date;
|
2304
|
-
/**
|
2650
|
+
/** The contextual custom view associated with the notification subscription. */
|
2651
|
+
get customView(): LinearFetch<CustomView> | undefined;
|
2652
|
+
/** The contextual cycle view associated with the notification subscription. */
|
2653
|
+
get cycle(): LinearFetch<Cycle> | undefined;
|
2654
|
+
/** The contextual label view associated with the notification subscription. */
|
2655
|
+
get label(): LinearFetch<IssueLabel> | undefined;
|
2656
|
+
/** The contextual project view associated with the notification subscription. */
|
2305
2657
|
get project(): LinearFetch<Project> | undefined;
|
2306
|
-
/**
|
2658
|
+
/** The user that subscribed to receive notifications. */
|
2659
|
+
get subscriber(): LinearFetch<User> | undefined;
|
2660
|
+
/** The team associated with the notification subscription. */
|
2307
2661
|
get team(): LinearFetch<Team> | undefined;
|
2308
|
-
/** The user associated with notification
|
2662
|
+
/** The user view associated with the notification subscription. */
|
2309
2663
|
get user(): LinearFetch<User> | undefined;
|
2310
|
-
/** Creates a new notification subscription for a
|
2664
|
+
/** Creates a new notification subscription for a cycle, custom view, label, project or team. */
|
2311
2665
|
create(input: L.NotificationSubscriptionCreateInput): LinearFetch<NotificationSubscriptionPayload>;
|
2312
2666
|
/** Deletes a notification subscription reference. */
|
2313
|
-
delete(): LinearFetch<
|
2667
|
+
delete(): LinearFetch<DeletePayload>;
|
2314
2668
|
/** Updates a notification subscription. */
|
2315
2669
|
update(input: L.NotificationSubscriptionUpdateInput): LinearFetch<NotificationSubscriptionPayload>;
|
2316
2670
|
}
|
@@ -2321,8 +2675,8 @@ export declare class NotificationSubscription extends Request {
|
|
2321
2675
|
* @param fetch - function to trigger a refetch of this NotificationSubscriptionConnection model
|
2322
2676
|
* @param data - NotificationSubscriptionConnection response data
|
2323
2677
|
*/
|
2324
|
-
export declare class NotificationSubscriptionConnection extends Connection<ProjectNotificationSubscription | TeamNotificationSubscription | NotificationSubscription> {
|
2325
|
-
constructor(request: LinearRequest, fetch: (connection?: LinearConnectionVariables) => LinearFetch<LinearConnection<ProjectNotificationSubscription | TeamNotificationSubscription | NotificationSubscription> | undefined>, data: L.NotificationSubscriptionConnectionFragment);
|
2678
|
+
export declare class NotificationSubscriptionConnection extends Connection<CustomViewNotificationSubscription | CycleNotificationSubscription | LabelNotificationSubscription | ProjectNotificationSubscription | TeamNotificationSubscription | UserNotificationSubscription | NotificationSubscription> {
|
2679
|
+
constructor(request: LinearRequest, fetch: (connection?: LinearConnectionVariables) => LinearFetch<LinearConnection<CustomViewNotificationSubscription | CycleNotificationSubscription | LabelNotificationSubscription | ProjectNotificationSubscription | TeamNotificationSubscription | UserNotificationSubscription | NotificationSubscription> | undefined>, data: L.NotificationSubscriptionConnectionFragment);
|
2326
2680
|
}
|
2327
2681
|
/**
|
2328
2682
|
* NotificationSubscriptionPayload model
|
@@ -2610,7 +2964,7 @@ export declare class OrganizationDomain extends Request {
|
|
2610
2964
|
/** The user who added the domain. */
|
2611
2965
|
get creator(): LinearFetch<User> | undefined;
|
2612
2966
|
/** Deletes a domain. */
|
2613
|
-
delete(): LinearFetch<
|
2967
|
+
delete(): LinearFetch<DeletePayload>;
|
2614
2968
|
}
|
2615
2969
|
/**
|
2616
2970
|
* OrganizationExistsPayload model
|
@@ -2664,7 +3018,7 @@ export declare class OrganizationInvite extends Request {
|
|
2664
3018
|
/** Creates a new organization invite. */
|
2665
3019
|
create(input: L.OrganizationInviteCreateInput): LinearFetch<OrganizationInvitePayload>;
|
2666
3020
|
/** Deletes an organization invite. */
|
2667
|
-
delete(): LinearFetch<
|
3021
|
+
delete(): LinearFetch<DeletePayload>;
|
2668
3022
|
/** Updates an organization invite. */
|
2669
3023
|
update(input: L.OrganizationInviteUpdateInput): LinearFetch<OrganizationInvitePayload>;
|
2670
3024
|
}
|
@@ -2762,6 +3116,30 @@ export declare class PageInfo extends Request {
|
|
2762
3116
|
/** Cursor representing the first result in the paginated results. */
|
2763
3117
|
startCursor?: string;
|
2764
3118
|
}
|
3119
|
+
/**
|
3120
|
+
* Tuple for mapping PagerDuty schedule id to names.
|
3121
|
+
*
|
3122
|
+
* @param request - function to call the graphql client
|
3123
|
+
* @param data - L.PagerDutyScheduleMappingFragment response data
|
3124
|
+
*/
|
3125
|
+
export declare class PagerDutyScheduleMapping extends Request {
|
3126
|
+
constructor(request: LinearRequest, data: L.PagerDutyScheduleMappingFragment);
|
3127
|
+
/** The PagerDuty schedule id. */
|
3128
|
+
scheduleId: string;
|
3129
|
+
/** The PagerDuty schedule name. */
|
3130
|
+
scheduleName: string;
|
3131
|
+
}
|
3132
|
+
/**
|
3133
|
+
* PagerDuty specific settings.
|
3134
|
+
*
|
3135
|
+
* @param request - function to call the graphql client
|
3136
|
+
* @param data - L.PagerDutySettingsFragment response data
|
3137
|
+
*/
|
3138
|
+
export declare class PagerDutySettings extends Request {
|
3139
|
+
constructor(request: LinearRequest, data: L.PagerDutySettingsFragment);
|
3140
|
+
/** The mapping of PagerDuty schedule id to names. */
|
3141
|
+
scheduleMapping: PagerDutyScheduleMapping[];
|
3142
|
+
}
|
2765
3143
|
/**
|
2766
3144
|
* The paid subscription of an organization.
|
2767
3145
|
*
|
@@ -2860,6 +3238,8 @@ export declare class Project extends Request {
|
|
2860
3238
|
slugId: string;
|
2861
3239
|
/** The sort order for the project within the organization. */
|
2862
3240
|
sortOrder: number;
|
3241
|
+
/** The estimated start date of the project. */
|
3242
|
+
startDate?: L.Scalars["TimelessDate"];
|
2863
3243
|
/** The time at which the project was moved into started state. */
|
2864
3244
|
startedAt?: Date;
|
2865
3245
|
/** The type of the state. */
|
@@ -2897,16 +3277,32 @@ export declare class Project extends Request {
|
|
2897
3277
|
/** Teams associated with this project. */
|
2898
3278
|
teams(variables?: Omit<L.Project_TeamsQueryVariables, "id">): LinearFetch<TeamConnection>;
|
2899
3279
|
/** Archives a project. */
|
2900
|
-
archive(): LinearFetch<
|
3280
|
+
archive(): LinearFetch<ProjectArchivePayload>;
|
2901
3281
|
/** Creates a new project. */
|
2902
3282
|
create(input: L.ProjectCreateInput): LinearFetch<ProjectPayload>;
|
2903
3283
|
/** Deletes a project. All issues will be disassociated from the deleted project. */
|
2904
|
-
delete(): LinearFetch<
|
3284
|
+
delete(): LinearFetch<DeletePayload>;
|
2905
3285
|
/** Unarchives a project. */
|
2906
|
-
unarchive(): LinearFetch<
|
3286
|
+
unarchive(): LinearFetch<ProjectArchivePayload>;
|
2907
3287
|
/** Updates a project. */
|
2908
3288
|
update(input: L.ProjectUpdateInput): LinearFetch<ProjectPayload>;
|
2909
3289
|
}
|
3290
|
+
/**
|
3291
|
+
* A generic payload return from entity archive mutations.
|
3292
|
+
*
|
3293
|
+
* @param request - function to call the graphql client
|
3294
|
+
* @param data - L.ProjectArchivePayloadFragment response data
|
3295
|
+
*/
|
3296
|
+
export declare class ProjectArchivePayload extends Request {
|
3297
|
+
private _entity?;
|
3298
|
+
constructor(request: LinearRequest, data: L.ProjectArchivePayloadFragment);
|
3299
|
+
/** The identifier of the last sync operation. */
|
3300
|
+
lastSyncId: number;
|
3301
|
+
/** Whether the operation was successful. */
|
3302
|
+
success: boolean;
|
3303
|
+
/** The archived/unarchived entity. Null if entity was deleted. */
|
3304
|
+
get entity(): LinearFetch<Project> | undefined;
|
3305
|
+
}
|
2910
3306
|
/**
|
2911
3307
|
* ProjectConnection model
|
2912
3308
|
*
|
@@ -2961,7 +3357,7 @@ export declare class ProjectLink extends Request {
|
|
2961
3357
|
/** Creates a new project link. */
|
2962
3358
|
create(input: L.ProjectLinkCreateInput): LinearFetch<ProjectLinkPayload>;
|
2963
3359
|
/** Deletes a project link. */
|
2964
|
-
delete(): LinearFetch<
|
3360
|
+
delete(): LinearFetch<DeletePayload>;
|
2965
3361
|
/** Updates a project link. */
|
2966
3362
|
update(input: L.ProjectLinkUpdateInput): LinearFetch<ProjectLinkPayload>;
|
2967
3363
|
}
|
@@ -3025,7 +3421,7 @@ export declare class ProjectMilestone extends Request {
|
|
3025
3421
|
/** Creates a new project milestone. */
|
3026
3422
|
create(input: L.ProjectMilestoneCreateInput): LinearFetch<ProjectMilestonePayload>;
|
3027
3423
|
/** Deletes a project milestone. */
|
3028
|
-
delete(): LinearFetch<
|
3424
|
+
delete(): LinearFetch<DeletePayload>;
|
3029
3425
|
/** Updates a project milestone. */
|
3030
3426
|
update(input: L.ProjectMilestoneUpdateInput): LinearFetch<ProjectMilestonePayload>;
|
3031
3427
|
}
|
@@ -3108,9 +3504,13 @@ export declare class ProjectNotification extends Request {
|
|
3108
3504
|
* @param data - L.ProjectNotificationSubscriptionFragment response data
|
3109
3505
|
*/
|
3110
3506
|
export declare class ProjectNotificationSubscription extends Request {
|
3507
|
+
private _customView?;
|
3508
|
+
private _cycle?;
|
3509
|
+
private _label?;
|
3111
3510
|
private _project;
|
3511
|
+
private _subscriber;
|
3112
3512
|
private _team?;
|
3113
|
-
private _user
|
3513
|
+
private _user?;
|
3114
3514
|
constructor(request: LinearRequest, data: L.ProjectNotificationSubscriptionFragment);
|
3115
3515
|
/** The time at which the entity was archived. Null if the entity has not been archived. */
|
3116
3516
|
archivedAt?: Date;
|
@@ -3118,19 +3518,27 @@ export declare class ProjectNotificationSubscription extends Request {
|
|
3118
3518
|
createdAt: Date;
|
3119
3519
|
/** The unique identifier of the entity. */
|
3120
3520
|
id: string;
|
3121
|
-
/** The type of
|
3122
|
-
|
3521
|
+
/** The type of subscription. */
|
3522
|
+
notificationSubscriptionTypes: string[];
|
3123
3523
|
/**
|
3124
3524
|
* The last time at which the entity was meaningfully updated, i.e. for all changes of syncable properties except those
|
3125
3525
|
* for which updates should not produce an update to updatedAt (see skipUpdatedAtKeys). This is the same as the creation time if the entity hasn't
|
3126
3526
|
* been updated after creation.
|
3127
3527
|
*/
|
3128
3528
|
updatedAt: Date;
|
3529
|
+
/** The contextual custom view associated with the notification subscription. */
|
3530
|
+
get customView(): LinearFetch<CustomView> | undefined;
|
3531
|
+
/** The contextual cycle view associated with the notification subscription. */
|
3532
|
+
get cycle(): LinearFetch<Cycle> | undefined;
|
3533
|
+
/** The contextual label view associated with the notification subscription. */
|
3534
|
+
get label(): LinearFetch<IssueLabel> | undefined;
|
3129
3535
|
/** The project subscribed to. */
|
3130
3536
|
get project(): LinearFetch<Project> | undefined;
|
3131
|
-
/**
|
3537
|
+
/** The user that subscribed to receive notifications. */
|
3538
|
+
get subscriber(): LinearFetch<User> | undefined;
|
3539
|
+
/** The team associated with the notification subscription. */
|
3132
3540
|
get team(): LinearFetch<Team> | undefined;
|
3133
|
-
/** The user associated with notification
|
3541
|
+
/** The user view associated with the notification subscription. */
|
3134
3542
|
get user(): LinearFetch<User> | undefined;
|
3135
3543
|
}
|
3136
3544
|
/**
|
@@ -3224,6 +3632,8 @@ export declare class ProjectSearchResult extends Request {
|
|
3224
3632
|
slugId: string;
|
3225
3633
|
/** The sort order for the project within the organization. */
|
3226
3634
|
sortOrder: number;
|
3635
|
+
/** The estimated start date of the project. */
|
3636
|
+
startDate?: L.Scalars["TimelessDate"];
|
3227
3637
|
/** The time at which the project was moved into started state. */
|
3228
3638
|
startedAt?: Date;
|
3229
3639
|
/** The type of the state. */
|
@@ -3292,7 +3702,7 @@ export declare class ProjectUpdate extends Request {
|
|
3292
3702
|
/** Creates a new project update. */
|
3293
3703
|
create(input: L.ProjectUpdateCreateInput): LinearFetch<ProjectUpdatePayload>;
|
3294
3704
|
/** Deletes a project update. */
|
3295
|
-
delete(): LinearFetch<
|
3705
|
+
delete(): LinearFetch<DeletePayload>;
|
3296
3706
|
/** Updates a project update. */
|
3297
3707
|
update(input: L.ProjectUpdateUpdateInput): LinearFetch<ProjectUpdatePayload>;
|
3298
3708
|
}
|
@@ -3521,7 +3931,7 @@ export declare class Reaction extends Request {
|
|
3521
3931
|
/** Creates a new reaction. */
|
3522
3932
|
create(input: L.ReactionCreateInput): LinearFetch<ReactionPayload>;
|
3523
3933
|
/** Deletes a reaction. */
|
3524
|
-
delete(): LinearFetch<
|
3934
|
+
delete(): LinearFetch<DeletePayload>;
|
3525
3935
|
}
|
3526
3936
|
/**
|
3527
3937
|
* ReactionConnection model
|
@@ -3587,16 +3997,32 @@ export declare class Roadmap extends Request {
|
|
3587
3997
|
/** Projects associated with the roadmap. */
|
3588
3998
|
projects(variables?: Omit<L.Roadmap_ProjectsQueryVariables, "id">): LinearFetch<ProjectConnection>;
|
3589
3999
|
/** Archives a roadmap. */
|
3590
|
-
archive(): LinearFetch<
|
4000
|
+
archive(): LinearFetch<RoadmapArchivePayload>;
|
3591
4001
|
/** Creates a new roadmap. */
|
3592
4002
|
create(input: L.RoadmapCreateInput): LinearFetch<RoadmapPayload>;
|
3593
4003
|
/** Deletes a roadmap. */
|
3594
|
-
delete(): LinearFetch<
|
4004
|
+
delete(): LinearFetch<DeletePayload>;
|
3595
4005
|
/** Unarchives a roadmap. */
|
3596
|
-
unarchive(): LinearFetch<
|
4006
|
+
unarchive(): LinearFetch<RoadmapArchivePayload>;
|
3597
4007
|
/** Updates a roadmap. */
|
3598
4008
|
update(input: L.RoadmapUpdateInput): LinearFetch<RoadmapPayload>;
|
3599
4009
|
}
|
4010
|
+
/**
|
4011
|
+
* A generic payload return from entity archive mutations.
|
4012
|
+
*
|
4013
|
+
* @param request - function to call the graphql client
|
4014
|
+
* @param data - L.RoadmapArchivePayloadFragment response data
|
4015
|
+
*/
|
4016
|
+
export declare class RoadmapArchivePayload extends Request {
|
4017
|
+
private _entity?;
|
4018
|
+
constructor(request: LinearRequest, data: L.RoadmapArchivePayloadFragment);
|
4019
|
+
/** The identifier of the last sync operation. */
|
4020
|
+
lastSyncId: number;
|
4021
|
+
/** Whether the operation was successful. */
|
4022
|
+
success: boolean;
|
4023
|
+
/** The archived/unarchived entity. Null if entity was deleted. */
|
4024
|
+
get entity(): LinearFetch<Roadmap> | undefined;
|
4025
|
+
}
|
3600
4026
|
/**
|
3601
4027
|
* RoadmapConnection model
|
3602
4028
|
*
|
@@ -3654,7 +4080,7 @@ export declare class RoadmapToProject extends Request {
|
|
3654
4080
|
/** Creates a new roadmapToProject join. */
|
3655
4081
|
create(input: L.RoadmapToProjectCreateInput): LinearFetch<RoadmapToProjectPayload>;
|
3656
4082
|
/** Deletes a roadmapToProject. */
|
3657
|
-
delete(): LinearFetch<
|
4083
|
+
delete(): LinearFetch<DeletePayload>;
|
3658
4084
|
/** Updates a roadmapToProject. */
|
3659
4085
|
update(input: L.RoadmapToProjectUpdateInput): LinearFetch<RoadmapToProjectPayload>;
|
3660
4086
|
}
|
@@ -3856,6 +4282,8 @@ export declare class Team extends Request {
|
|
3856
4282
|
id: string;
|
3857
4283
|
/** Unique hash for the team to be used in invite URLs. */
|
3858
4284
|
inviteHash: string;
|
4285
|
+
/** Number of issues in the team. */
|
4286
|
+
issueCount: number;
|
3859
4287
|
/** Whether to allow zeros in issues estimates. */
|
3860
4288
|
issueEstimationAllowZero: boolean;
|
3861
4289
|
/** Whether to add additional points to the estimate scale. */
|
@@ -3937,7 +4365,7 @@ export declare class Team extends Request {
|
|
3937
4365
|
/** Creates a new team. The user who creates the team will automatically be added as a member to the newly created team. */
|
3938
4366
|
create(input: L.TeamCreateInput, variables?: Omit<L.CreateTeamMutationVariables, "input">): LinearFetch<TeamPayload>;
|
3939
4367
|
/** Deletes a team. */
|
3940
|
-
delete(): LinearFetch<
|
4368
|
+
delete(): LinearFetch<DeletePayload>;
|
3941
4369
|
/** Updates a team. */
|
3942
4370
|
update(input: L.TeamUpdateInput): LinearFetch<TeamPayload>;
|
3943
4371
|
}
|
@@ -3984,7 +4412,7 @@ export declare class TeamMembership extends Request {
|
|
3984
4412
|
/** Creates a new team membership. */
|
3985
4413
|
create(input: L.TeamMembershipCreateInput): LinearFetch<TeamMembershipPayload>;
|
3986
4414
|
/** Deletes a team membership. */
|
3987
|
-
delete(): LinearFetch<
|
4415
|
+
delete(): LinearFetch<DeletePayload>;
|
3988
4416
|
/** Updates a team membership. */
|
3989
4417
|
update(input: L.TeamMembershipUpdateInput): LinearFetch<TeamMembershipPayload>;
|
3990
4418
|
}
|
@@ -4021,9 +4449,13 @@ export declare class TeamMembershipPayload extends Request {
|
|
4021
4449
|
* @param data - L.TeamNotificationSubscriptionFragment response data
|
4022
4450
|
*/
|
4023
4451
|
export declare class TeamNotificationSubscription extends Request {
|
4452
|
+
private _customView?;
|
4453
|
+
private _cycle?;
|
4454
|
+
private _label?;
|
4024
4455
|
private _project?;
|
4456
|
+
private _subscriber;
|
4025
4457
|
private _team;
|
4026
|
-
private _user
|
4458
|
+
private _user?;
|
4027
4459
|
constructor(request: LinearRequest, data: L.TeamNotificationSubscriptionFragment);
|
4028
4460
|
/** The time at which the entity was archived. Null if the entity has not been archived. */
|
4029
4461
|
archivedAt?: Date;
|
@@ -4031,19 +4463,27 @@ export declare class TeamNotificationSubscription extends Request {
|
|
4031
4463
|
createdAt: Date;
|
4032
4464
|
/** The unique identifier of the entity. */
|
4033
4465
|
id: string;
|
4034
|
-
/** The type of
|
4035
|
-
|
4466
|
+
/** The type of subscription. */
|
4467
|
+
notificationSubscriptionTypes: string[];
|
4036
4468
|
/**
|
4037
4469
|
* The last time at which the entity was meaningfully updated, i.e. for all changes of syncable properties except those
|
4038
4470
|
* for which updates should not produce an update to updatedAt (see skipUpdatedAtKeys). This is the same as the creation time if the entity hasn't
|
4039
4471
|
* been updated after creation.
|
4040
4472
|
*/
|
4041
4473
|
updatedAt: Date;
|
4042
|
-
/**
|
4474
|
+
/** The contextual custom view associated with the notification subscription. */
|
4475
|
+
get customView(): LinearFetch<CustomView> | undefined;
|
4476
|
+
/** The contextual cycle view associated with the notification subscription. */
|
4477
|
+
get cycle(): LinearFetch<Cycle> | undefined;
|
4478
|
+
/** The contextual label view associated with the notification subscription. */
|
4479
|
+
get label(): LinearFetch<IssueLabel> | undefined;
|
4480
|
+
/** The contextual project view associated with the notification subscription. */
|
4043
4481
|
get project(): LinearFetch<Project> | undefined;
|
4482
|
+
/** The user that subscribed to receive notifications. */
|
4483
|
+
get subscriber(): LinearFetch<User> | undefined;
|
4044
4484
|
/** The team subscribed to. */
|
4045
4485
|
get team(): LinearFetch<Team> | undefined;
|
4046
|
-
/** The user associated with notification
|
4486
|
+
/** The user view associated with the notification subscription. */
|
4047
4487
|
get user(): LinearFetch<User> | undefined;
|
4048
4488
|
}
|
4049
4489
|
/**
|
@@ -4104,7 +4544,7 @@ export declare class Template extends Request {
|
|
4104
4544
|
/** Creates a new template. */
|
4105
4545
|
create(input: L.TemplateCreateInput): LinearFetch<TemplatePayload>;
|
4106
4546
|
/** Deletes a template. */
|
4107
|
-
delete(): LinearFetch<
|
4547
|
+
delete(): LinearFetch<DeletePayload>;
|
4108
4548
|
/** Updates an existing template. */
|
4109
4549
|
update(input: L.TemplateUpdateInput): LinearFetch<TemplatePayload>;
|
4110
4550
|
}
|
@@ -4336,6 +4776,50 @@ export declare class UserAuthorizedApplication extends Request {
|
|
4336
4776
|
export declare class UserConnection extends Connection<User> {
|
4337
4777
|
constructor(request: LinearRequest, fetch: (connection?: LinearConnectionVariables) => LinearFetch<LinearConnection<User> | undefined>, data: L.UserConnectionFragment);
|
4338
4778
|
}
|
4779
|
+
/**
|
4780
|
+
* A user notification subscription.
|
4781
|
+
*
|
4782
|
+
* @param request - function to call the graphql client
|
4783
|
+
* @param data - L.UserNotificationSubscriptionFragment response data
|
4784
|
+
*/
|
4785
|
+
export declare class UserNotificationSubscription extends Request {
|
4786
|
+
private _customView?;
|
4787
|
+
private _cycle?;
|
4788
|
+
private _label?;
|
4789
|
+
private _project?;
|
4790
|
+
private _subscriber;
|
4791
|
+
private _team?;
|
4792
|
+
private _user;
|
4793
|
+
constructor(request: LinearRequest, data: L.UserNotificationSubscriptionFragment);
|
4794
|
+
/** The time at which the entity was archived. Null if the entity has not been archived. */
|
4795
|
+
archivedAt?: Date;
|
4796
|
+
/** The time at which the entity was created. */
|
4797
|
+
createdAt: Date;
|
4798
|
+
/** The unique identifier of the entity. */
|
4799
|
+
id: string;
|
4800
|
+
/** The type of subscription. */
|
4801
|
+
notificationSubscriptionTypes: string[];
|
4802
|
+
/**
|
4803
|
+
* The last time at which the entity was meaningfully updated, i.e. for all changes of syncable properties except those
|
4804
|
+
* for which updates should not produce an update to updatedAt (see skipUpdatedAtKeys). This is the same as the creation time if the entity hasn't
|
4805
|
+
* been updated after creation.
|
4806
|
+
*/
|
4807
|
+
updatedAt: Date;
|
4808
|
+
/** The contextual custom view associated with the notification subscription. */
|
4809
|
+
get customView(): LinearFetch<CustomView> | undefined;
|
4810
|
+
/** The contextual cycle view associated with the notification subscription. */
|
4811
|
+
get cycle(): LinearFetch<Cycle> | undefined;
|
4812
|
+
/** The contextual label view associated with the notification subscription. */
|
4813
|
+
get label(): LinearFetch<IssueLabel> | undefined;
|
4814
|
+
/** The contextual project view associated with the notification subscription. */
|
4815
|
+
get project(): LinearFetch<Project> | undefined;
|
4816
|
+
/** The user that subscribed to receive notifications. */
|
4817
|
+
get subscriber(): LinearFetch<User> | undefined;
|
4818
|
+
/** The team associated with the notification subscription. */
|
4819
|
+
get team(): LinearFetch<Team> | undefined;
|
4820
|
+
/** The user subscribed to. */
|
4821
|
+
get user(): LinearFetch<User> | undefined;
|
4822
|
+
}
|
4339
4823
|
/**
|
4340
4824
|
* UserPayload model
|
4341
4825
|
*
|
@@ -4458,7 +4942,7 @@ export declare class ViewPreferences extends Request {
|
|
4458
4942
|
/** Creates a new ViewPreferences object. */
|
4459
4943
|
create(input: L.ViewPreferencesCreateInput): LinearFetch<ViewPreferencesPayload>;
|
4460
4944
|
/** Deletes a ViewPreferences. */
|
4461
|
-
delete(): LinearFetch<
|
4945
|
+
delete(): LinearFetch<DeletePayload>;
|
4462
4946
|
/** Updates an existing ViewPreferences object. */
|
4463
4947
|
update(input: L.ViewPreferencesUpdateInput): LinearFetch<ViewPreferencesPayload>;
|
4464
4948
|
}
|
@@ -4518,7 +5002,7 @@ export declare class Webhook extends Request {
|
|
4518
5002
|
/** Creates a new webhook. */
|
4519
5003
|
create(input: L.WebhookCreateInput): LinearFetch<WebhookPayload>;
|
4520
5004
|
/** Deletes a Webhook. */
|
4521
|
-
delete(): LinearFetch<
|
5005
|
+
delete(): LinearFetch<DeletePayload>;
|
4522
5006
|
/** Updates an existing Webhook. */
|
4523
5007
|
update(input: L.WebhookUpdateInput): LinearFetch<WebhookPayload>;
|
4524
5008
|
}
|
@@ -4604,7 +5088,12 @@ export declare class WorkflowCronJobDefinitionConnection extends Connection<Work
|
|
4604
5088
|
*/
|
4605
5089
|
export declare class WorkflowDefinition extends Request {
|
4606
5090
|
private _creator;
|
5091
|
+
private _customView?;
|
5092
|
+
private _cycle?;
|
5093
|
+
private _label?;
|
5094
|
+
private _project?;
|
4607
5095
|
private _team?;
|
5096
|
+
private _user?;
|
4608
5097
|
constructor(request: LinearRequest, data: L.WorkflowDefinitionFragment);
|
4609
5098
|
/** An array of activities that will be executed as part of the workflow. */
|
4610
5099
|
activities: Record<string, unknown>;
|
@@ -4633,8 +5122,18 @@ export declare class WorkflowDefinition extends Request {
|
|
4633
5122
|
updatedAt: Date;
|
4634
5123
|
/** The user who created the workflow. */
|
4635
5124
|
get creator(): LinearFetch<User> | undefined;
|
5125
|
+
/** The context custom view associated with the workflow. */
|
5126
|
+
get customView(): LinearFetch<CustomView> | undefined;
|
5127
|
+
/** The contextual cycle view associated with the workflow. */
|
5128
|
+
get cycle(): LinearFetch<Cycle> | undefined;
|
5129
|
+
/** The contextual label view associated with the workflow. */
|
5130
|
+
get label(): LinearFetch<IssueLabel> | undefined;
|
5131
|
+
/** The contextual project view associated with the workflow. */
|
5132
|
+
get project(): LinearFetch<Project> | undefined;
|
4636
5133
|
/** The team associated with the workflow. If not set, the workflow is associated with the entire organization. */
|
4637
5134
|
get team(): LinearFetch<Team> | undefined;
|
5135
|
+
/** The contextual user view associated with the workflow. */
|
5136
|
+
get user(): LinearFetch<User> | undefined;
|
4638
5137
|
}
|
4639
5138
|
/**
|
4640
5139
|
* WorkflowDefinitionConnection model
|
@@ -4682,12 +5181,28 @@ export declare class WorkflowState extends Request {
|
|
4682
5181
|
/** Issues belonging in this state. */
|
4683
5182
|
issues(variables?: Omit<L.WorkflowState_IssuesQueryVariables, "id">): LinearFetch<IssueConnection>;
|
4684
5183
|
/** Archives a state. Only states with issues that have all been archived can be archived. */
|
4685
|
-
archive(): LinearFetch<
|
5184
|
+
archive(): LinearFetch<WorkflowStateArchivePayload>;
|
4686
5185
|
/** Creates a new state, adding it to the workflow of a team. */
|
4687
5186
|
create(input: L.WorkflowStateCreateInput): LinearFetch<WorkflowStatePayload>;
|
4688
5187
|
/** Updates a state. */
|
4689
5188
|
update(input: L.WorkflowStateUpdateInput): LinearFetch<WorkflowStatePayload>;
|
4690
5189
|
}
|
5190
|
+
/**
|
5191
|
+
* A generic payload return from entity archive mutations.
|
5192
|
+
*
|
5193
|
+
* @param request - function to call the graphql client
|
5194
|
+
* @param data - L.WorkflowStateArchivePayloadFragment response data
|
5195
|
+
*/
|
5196
|
+
export declare class WorkflowStateArchivePayload extends Request {
|
5197
|
+
private _entity?;
|
5198
|
+
constructor(request: LinearRequest, data: L.WorkflowStateArchivePayloadFragment);
|
5199
|
+
/** The identifier of the last sync operation. */
|
5200
|
+
lastSyncId: number;
|
5201
|
+
/** Whether the operation was successful. */
|
5202
|
+
success: boolean;
|
5203
|
+
/** The archived/unarchived entity. Null if entity was deleted. */
|
5204
|
+
get entity(): LinearFetch<WorkflowState> | undefined;
|
5205
|
+
}
|
4691
5206
|
/**
|
4692
5207
|
* WorkflowStateConnection model
|
4693
5208
|
*
|
@@ -4777,12 +5292,12 @@ export declare class CreateApiKeyMutation extends Request {
|
|
4777
5292
|
export declare class DeleteApiKeyMutation extends Request {
|
4778
5293
|
constructor(request: LinearRequest);
|
4779
5294
|
/**
|
4780
|
-
* Call the DeleteApiKey mutation and return a
|
5295
|
+
* Call the DeleteApiKey mutation and return a DeletePayload
|
4781
5296
|
*
|
4782
5297
|
* @param id - required id to pass to deleteApiKey
|
4783
5298
|
* @returns parsed response from DeleteApiKeyMutation
|
4784
5299
|
*/
|
4785
|
-
fetch(id: string): LinearFetch<
|
5300
|
+
fetch(id: string): LinearFetch<DeletePayload>;
|
4786
5301
|
}
|
4787
5302
|
/**
|
4788
5303
|
* A fetchable ArchiveAttachment Mutation
|
@@ -4792,12 +5307,12 @@ export declare class DeleteApiKeyMutation extends Request {
|
|
4792
5307
|
export declare class ArchiveAttachmentMutation extends Request {
|
4793
5308
|
constructor(request: LinearRequest);
|
4794
5309
|
/**
|
4795
|
-
* Call the ArchiveAttachment mutation and return a
|
5310
|
+
* Call the ArchiveAttachment mutation and return a AttachmentArchivePayload
|
4796
5311
|
*
|
4797
5312
|
* @param id - required id to pass to archiveAttachment
|
4798
5313
|
* @returns parsed response from ArchiveAttachmentMutation
|
4799
5314
|
*/
|
4800
|
-
fetch(id: string): LinearFetch<
|
5315
|
+
fetch(id: string): LinearFetch<AttachmentArchivePayload>;
|
4801
5316
|
}
|
4802
5317
|
/**
|
4803
5318
|
* A fetchable CreateAttachment Mutation
|
@@ -4822,12 +5337,12 @@ export declare class CreateAttachmentMutation extends Request {
|
|
4822
5337
|
export declare class DeleteAttachmentMutation extends Request {
|
4823
5338
|
constructor(request: LinearRequest);
|
4824
5339
|
/**
|
4825
|
-
* Call the DeleteAttachment mutation and return a
|
5340
|
+
* Call the DeleteAttachment mutation and return a DeletePayload
|
4826
5341
|
*
|
4827
5342
|
* @param id - required id to pass to deleteAttachment
|
4828
5343
|
* @returns parsed response from DeleteAttachmentMutation
|
4829
5344
|
*/
|
4830
|
-
fetch(id: string): LinearFetch<
|
5345
|
+
fetch(id: string): LinearFetch<DeletePayload>;
|
4831
5346
|
}
|
4832
5347
|
/**
|
4833
5348
|
* A fetchable AttachmentLinkDiscord Mutation
|
@@ -4895,6 +5410,25 @@ export declare class AttachmentLinkJiraIssueMutation extends Request {
|
|
4895
5410
|
*/
|
4896
5411
|
fetch(issueId: string, jiraIssueId: string): LinearFetch<AttachmentPayload>;
|
4897
5412
|
}
|
5413
|
+
/**
|
5414
|
+
* A fetchable AttachmentLinkSlack Mutation
|
5415
|
+
*
|
5416
|
+
* @param request - function to call the graphql client
|
5417
|
+
*/
|
5418
|
+
export declare class AttachmentLinkSlackMutation extends Request {
|
5419
|
+
constructor(request: LinearRequest);
|
5420
|
+
/**
|
5421
|
+
* Call the AttachmentLinkSlack mutation and return a AttachmentPayload
|
5422
|
+
*
|
5423
|
+
* @param channel - required channel to pass to attachmentLinkSlack
|
5424
|
+
* @param issueId - required issueId to pass to attachmentLinkSlack
|
5425
|
+
* @param latest - required latest to pass to attachmentLinkSlack
|
5426
|
+
* @param url - required url to pass to attachmentLinkSlack
|
5427
|
+
* @param variables - variables without 'channel', 'issueId', 'latest', 'url' to pass into the AttachmentLinkSlackMutation
|
5428
|
+
* @returns parsed response from AttachmentLinkSlackMutation
|
5429
|
+
*/
|
5430
|
+
fetch(channel: string, issueId: string, latest: string, url: string, variables?: Omit<L.AttachmentLinkSlackMutationVariables, "channel" | "issueId" | "latest" | "url">): LinearFetch<AttachmentPayload>;
|
5431
|
+
}
|
4898
5432
|
/**
|
4899
5433
|
* A fetchable AttachmentLinkUrl Mutation
|
4900
5434
|
*
|
@@ -4928,6 +5462,21 @@ export declare class AttachmentLinkZendeskMutation extends Request {
|
|
4928
5462
|
*/
|
4929
5463
|
fetch(issueId: string, ticketId: string): LinearFetch<AttachmentPayload>;
|
4930
5464
|
}
|
5465
|
+
/**
|
5466
|
+
* A fetchable AttachmentUnsyncSlack Mutation
|
5467
|
+
*
|
5468
|
+
* @param request - function to call the graphql client
|
5469
|
+
*/
|
5470
|
+
export declare class AttachmentUnsyncSlackMutation extends Request {
|
5471
|
+
constructor(request: LinearRequest);
|
5472
|
+
/**
|
5473
|
+
* Call the AttachmentUnsyncSlack mutation and return a AttachmentPayload
|
5474
|
+
*
|
5475
|
+
* @param id - required id to pass to attachmentUnsyncSlack
|
5476
|
+
* @returns parsed response from AttachmentUnsyncSlackMutation
|
5477
|
+
*/
|
5478
|
+
fetch(id: string): LinearFetch<AttachmentPayload>;
|
5479
|
+
}
|
4931
5480
|
/**
|
4932
5481
|
* A fetchable UpdateAttachment Mutation
|
4933
5482
|
*
|
@@ -4967,12 +5516,12 @@ export declare class CreateCommentMutation extends Request {
|
|
4967
5516
|
export declare class DeleteCommentMutation extends Request {
|
4968
5517
|
constructor(request: LinearRequest);
|
4969
5518
|
/**
|
4970
|
-
* Call the DeleteComment mutation and return a
|
5519
|
+
* Call the DeleteComment mutation and return a DeletePayload
|
4971
5520
|
*
|
4972
5521
|
* @param id - required id to pass to deleteComment
|
4973
5522
|
* @returns parsed response from DeleteCommentMutation
|
4974
5523
|
*/
|
4975
|
-
fetch(id: string): LinearFetch<
|
5524
|
+
fetch(id: string): LinearFetch<DeletePayload>;
|
4976
5525
|
}
|
4977
5526
|
/**
|
4978
5527
|
* A fetchable UpdateComment Mutation
|
@@ -5059,12 +5608,12 @@ export declare class CreateCustomViewMutation extends Request {
|
|
5059
5608
|
export declare class DeleteCustomViewMutation extends Request {
|
5060
5609
|
constructor(request: LinearRequest);
|
5061
5610
|
/**
|
5062
|
-
* Call the DeleteCustomView mutation and return a
|
5611
|
+
* Call the DeleteCustomView mutation and return a DeletePayload
|
5063
5612
|
*
|
5064
5613
|
* @param id - required id to pass to deleteCustomView
|
5065
5614
|
* @returns parsed response from DeleteCustomViewMutation
|
5066
5615
|
*/
|
5067
|
-
fetch(id: string): LinearFetch<
|
5616
|
+
fetch(id: string): LinearFetch<DeletePayload>;
|
5068
5617
|
}
|
5069
5618
|
/**
|
5070
5619
|
* A fetchable UpdateCustomView Mutation
|
@@ -5090,12 +5639,12 @@ export declare class UpdateCustomViewMutation extends Request {
|
|
5090
5639
|
export declare class ArchiveCycleMutation extends Request {
|
5091
5640
|
constructor(request: LinearRequest);
|
5092
5641
|
/**
|
5093
|
-
* Call the ArchiveCycle mutation and return a
|
5642
|
+
* Call the ArchiveCycle mutation and return a CycleArchivePayload
|
5094
5643
|
*
|
5095
5644
|
* @param id - required id to pass to archiveCycle
|
5096
5645
|
* @returns parsed response from ArchiveCycleMutation
|
5097
5646
|
*/
|
5098
|
-
fetch(id: string): LinearFetch<
|
5647
|
+
fetch(id: string): LinearFetch<CycleArchivePayload>;
|
5099
5648
|
}
|
5100
5649
|
/**
|
5101
5650
|
* A fetchable CreateCycle Mutation
|
@@ -5151,12 +5700,12 @@ export declare class CreateDocumentMutation extends Request {
|
|
5151
5700
|
export declare class DeleteDocumentMutation extends Request {
|
5152
5701
|
constructor(request: LinearRequest);
|
5153
5702
|
/**
|
5154
|
-
* Call the DeleteDocument mutation and return a
|
5703
|
+
* Call the DeleteDocument mutation and return a DeletePayload
|
5155
5704
|
*
|
5156
5705
|
* @param id - required id to pass to deleteDocument
|
5157
5706
|
* @returns parsed response from DeleteDocumentMutation
|
5158
5707
|
*/
|
5159
|
-
fetch(id: string): LinearFetch<
|
5708
|
+
fetch(id: string): LinearFetch<DeletePayload>;
|
5160
5709
|
}
|
5161
5710
|
/**
|
5162
5711
|
* A fetchable UpdateDocument Mutation
|
@@ -5242,27 +5791,12 @@ export declare class CreateEmojiMutation extends Request {
|
|
5242
5791
|
export declare class DeleteEmojiMutation extends Request {
|
5243
5792
|
constructor(request: LinearRequest);
|
5244
5793
|
/**
|
5245
|
-
* Call the DeleteEmoji mutation and return a
|
5794
|
+
* Call the DeleteEmoji mutation and return a DeletePayload
|
5246
5795
|
*
|
5247
5796
|
* @param id - required id to pass to deleteEmoji
|
5248
5797
|
* @returns parsed response from DeleteEmojiMutation
|
5249
5798
|
*/
|
5250
|
-
fetch(id: string): LinearFetch<
|
5251
|
-
}
|
5252
|
-
/**
|
5253
|
-
* A fetchable CreateEvent Mutation
|
5254
|
-
*
|
5255
|
-
* @param request - function to call the graphql client
|
5256
|
-
*/
|
5257
|
-
export declare class CreateEventMutation extends Request {
|
5258
|
-
constructor(request: LinearRequest);
|
5259
|
-
/**
|
5260
|
-
* Call the CreateEvent mutation and return a EventPayload
|
5261
|
-
*
|
5262
|
-
* @param input - required input to pass to createEvent
|
5263
|
-
* @returns parsed response from CreateEventMutation
|
5264
|
-
*/
|
5265
|
-
fetch(input: L.EventCreateInput): LinearFetch<EventPayload>;
|
5799
|
+
fetch(id: string): LinearFetch<DeletePayload>;
|
5266
5800
|
}
|
5267
5801
|
/**
|
5268
5802
|
* A fetchable CreateFavorite Mutation
|
@@ -5287,12 +5821,12 @@ export declare class CreateFavoriteMutation extends Request {
|
|
5287
5821
|
export declare class DeleteFavoriteMutation extends Request {
|
5288
5822
|
constructor(request: LinearRequest);
|
5289
5823
|
/**
|
5290
|
-
* Call the DeleteFavorite mutation and return a
|
5824
|
+
* Call the DeleteFavorite mutation and return a DeletePayload
|
5291
5825
|
*
|
5292
5826
|
* @param id - required id to pass to deleteFavorite
|
5293
5827
|
* @returns parsed response from DeleteFavoriteMutation
|
5294
5828
|
*/
|
5295
|
-
fetch(id: string): LinearFetch<
|
5829
|
+
fetch(id: string): LinearFetch<DeletePayload>;
|
5296
5830
|
}
|
5297
5831
|
/**
|
5298
5832
|
* A fetchable UpdateFavorite Mutation
|
@@ -5384,12 +5918,12 @@ export declare class ImportFileUploadMutation extends Request {
|
|
5384
5918
|
export declare class DeleteIntegrationMutation extends Request {
|
5385
5919
|
constructor(request: LinearRequest);
|
5386
5920
|
/**
|
5387
|
-
* Call the DeleteIntegration mutation and return a
|
5921
|
+
* Call the DeleteIntegration mutation and return a DeletePayload
|
5388
5922
|
*
|
5389
5923
|
* @param id - required id to pass to deleteIntegration
|
5390
5924
|
* @returns parsed response from DeleteIntegrationMutation
|
5391
5925
|
*/
|
5392
|
-
fetch(id: string): LinearFetch<
|
5926
|
+
fetch(id: string): LinearFetch<DeletePayload>;
|
5393
5927
|
}
|
5394
5928
|
/**
|
5395
5929
|
* A fetchable IntegrationDiscord Mutation
|
@@ -5609,34 +6143,34 @@ export declare class IntegrationSlackMutation extends Request {
|
|
5609
6143
|
fetch(code: string, redirectUri: string, variables?: Omit<L.IntegrationSlackMutationVariables, "code" | "redirectUri">): LinearFetch<IntegrationPayload>;
|
5610
6144
|
}
|
5611
6145
|
/**
|
5612
|
-
* A fetchable
|
6146
|
+
* A fetchable IntegrationSlackAsks Mutation
|
5613
6147
|
*
|
5614
6148
|
* @param request - function to call the graphql client
|
5615
6149
|
*/
|
5616
|
-
export declare class
|
6150
|
+
export declare class IntegrationSlackAsksMutation extends Request {
|
5617
6151
|
constructor(request: LinearRequest);
|
5618
6152
|
/**
|
5619
|
-
* Call the
|
6153
|
+
* Call the IntegrationSlackAsks mutation and return a IntegrationPayload
|
5620
6154
|
*
|
5621
|
-
* @param code - required code to pass to
|
5622
|
-
* @param redirectUri - required redirectUri to pass to
|
5623
|
-
* @returns parsed response from
|
6155
|
+
* @param code - required code to pass to integrationSlackAsks
|
6156
|
+
* @param redirectUri - required redirectUri to pass to integrationSlackAsks
|
6157
|
+
* @returns parsed response from IntegrationSlackAsksMutation
|
5624
6158
|
*/
|
5625
6159
|
fetch(code: string, redirectUri: string): LinearFetch<IntegrationPayload>;
|
5626
6160
|
}
|
5627
6161
|
/**
|
5628
|
-
* A fetchable
|
6162
|
+
* A fetchable IntegrationSlackImportEmojis Mutation
|
5629
6163
|
*
|
5630
6164
|
* @param request - function to call the graphql client
|
5631
6165
|
*/
|
5632
|
-
export declare class
|
6166
|
+
export declare class IntegrationSlackImportEmojisMutation extends Request {
|
5633
6167
|
constructor(request: LinearRequest);
|
5634
6168
|
/**
|
5635
|
-
* Call the
|
6169
|
+
* Call the IntegrationSlackImportEmojis mutation and return a IntegrationPayload
|
5636
6170
|
*
|
5637
|
-
* @param code - required code to pass to
|
5638
|
-
* @param redirectUri - required redirectUri to pass to
|
5639
|
-
* @returns parsed response from
|
6171
|
+
* @param code - required code to pass to integrationSlackImportEmojis
|
6172
|
+
* @param redirectUri - required redirectUri to pass to integrationSlackImportEmojis
|
6173
|
+
* @returns parsed response from IntegrationSlackImportEmojisMutation
|
5640
6174
|
*/
|
5641
6175
|
fetch(code: string, redirectUri: string): LinearFetch<IntegrationPayload>;
|
5642
6176
|
}
|
@@ -5731,12 +6265,28 @@ export declare class CreateIntegrationTemplateMutation extends Request {
|
|
5731
6265
|
export declare class DeleteIntegrationTemplateMutation extends Request {
|
5732
6266
|
constructor(request: LinearRequest);
|
5733
6267
|
/**
|
5734
|
-
* Call the DeleteIntegrationTemplate mutation and return a
|
6268
|
+
* Call the DeleteIntegrationTemplate mutation and return a DeletePayload
|
5735
6269
|
*
|
5736
6270
|
* @param id - required id to pass to deleteIntegrationTemplate
|
5737
6271
|
* @returns parsed response from DeleteIntegrationTemplateMutation
|
5738
6272
|
*/
|
5739
|
-
fetch(id: string): LinearFetch<
|
6273
|
+
fetch(id: string): LinearFetch<DeletePayload>;
|
6274
|
+
}
|
6275
|
+
/**
|
6276
|
+
* A fetchable IntegrationUpdateSlack Mutation
|
6277
|
+
*
|
6278
|
+
* @param request - function to call the graphql client
|
6279
|
+
*/
|
6280
|
+
export declare class IntegrationUpdateSlackMutation extends Request {
|
6281
|
+
constructor(request: LinearRequest);
|
6282
|
+
/**
|
6283
|
+
* Call the IntegrationUpdateSlack mutation and return a IntegrationPayload
|
6284
|
+
*
|
6285
|
+
* @param code - required code to pass to integrationUpdateSlack
|
6286
|
+
* @param redirectUri - required redirectUri to pass to integrationUpdateSlack
|
6287
|
+
* @returns parsed response from IntegrationUpdateSlackMutation
|
6288
|
+
*/
|
6289
|
+
fetch(code: string, redirectUri: string): LinearFetch<IntegrationPayload>;
|
5740
6290
|
}
|
5741
6291
|
/**
|
5742
6292
|
* A fetchable IntegrationZendesk Mutation
|
@@ -5795,13 +6345,13 @@ export declare class UpdateIntegrationsSettingsMutation extends Request {
|
|
5795
6345
|
export declare class ArchiveIssueMutation extends Request {
|
5796
6346
|
constructor(request: LinearRequest);
|
5797
6347
|
/**
|
5798
|
-
* Call the ArchiveIssue mutation and return a
|
6348
|
+
* Call the ArchiveIssue mutation and return a IssueArchivePayload
|
5799
6349
|
*
|
5800
6350
|
* @param id - required id to pass to archiveIssue
|
5801
6351
|
* @param variables - variables without 'id' to pass into the ArchiveIssueMutation
|
5802
6352
|
* @returns parsed response from ArchiveIssueMutation
|
5803
6353
|
*/
|
5804
|
-
fetch(id: string, variables?: Omit<L.ArchiveIssueMutationVariables, "id">): LinearFetch<
|
6354
|
+
fetch(id: string, variables?: Omit<L.ArchiveIssueMutationVariables, "id">): LinearFetch<IssueArchivePayload>;
|
5805
6355
|
}
|
5806
6356
|
/**
|
5807
6357
|
* A fetchable UpdateIssueBatch Mutation
|
@@ -5842,12 +6392,12 @@ export declare class CreateIssueMutation extends Request {
|
|
5842
6392
|
export declare class DeleteIssueMutation extends Request {
|
5843
6393
|
constructor(request: LinearRequest);
|
5844
6394
|
/**
|
5845
|
-
* Call the DeleteIssue mutation and return a
|
6395
|
+
* Call the DeleteIssue mutation and return a IssueArchivePayload
|
5846
6396
|
*
|
5847
6397
|
* @param id - required id to pass to deleteIssue
|
5848
6398
|
* @returns parsed response from DeleteIssueMutation
|
5849
6399
|
*/
|
5850
|
-
fetch(id: string): LinearFetch<
|
6400
|
+
fetch(id: string): LinearFetch<IssueArchivePayload>;
|
5851
6401
|
}
|
5852
6402
|
/**
|
5853
6403
|
* A fetchable IssueImportCreateAsana Mutation
|
@@ -5983,21 +6533,6 @@ export declare class UpdateIssueImportMutation extends Request {
|
|
5983
6533
|
*/
|
5984
6534
|
fetch(id: string, input: L.IssueImportUpdateInput): LinearFetch<IssueImportPayload>;
|
5985
6535
|
}
|
5986
|
-
/**
|
5987
|
-
* A fetchable ArchiveIssueLabel Mutation
|
5988
|
-
*
|
5989
|
-
* @param request - function to call the graphql client
|
5990
|
-
*/
|
5991
|
-
export declare class ArchiveIssueLabelMutation extends Request {
|
5992
|
-
constructor(request: LinearRequest);
|
5993
|
-
/**
|
5994
|
-
* Call the ArchiveIssueLabel mutation and return a ArchivePayload
|
5995
|
-
*
|
5996
|
-
* @param id - required id to pass to archiveIssueLabel
|
5997
|
-
* @returns parsed response from ArchiveIssueLabelMutation
|
5998
|
-
*/
|
5999
|
-
fetch(id: string): LinearFetch<ArchivePayload>;
|
6000
|
-
}
|
6001
6536
|
/**
|
6002
6537
|
* A fetchable CreateIssueLabel Mutation
|
6003
6538
|
*
|
@@ -6022,12 +6557,12 @@ export declare class CreateIssueLabelMutation extends Request {
|
|
6022
6557
|
export declare class DeleteIssueLabelMutation extends Request {
|
6023
6558
|
constructor(request: LinearRequest);
|
6024
6559
|
/**
|
6025
|
-
* Call the DeleteIssueLabel mutation and return a
|
6560
|
+
* Call the DeleteIssueLabel mutation and return a DeletePayload
|
6026
6561
|
*
|
6027
6562
|
* @param id - required id to pass to deleteIssueLabel
|
6028
6563
|
* @returns parsed response from DeleteIssueLabelMutation
|
6029
6564
|
*/
|
6030
|
-
fetch(id: string): LinearFetch<
|
6565
|
+
fetch(id: string): LinearFetch<DeletePayload>;
|
6031
6566
|
}
|
6032
6567
|
/**
|
6033
6568
|
* A fetchable UpdateIssueLabel Mutation
|
@@ -6068,12 +6603,12 @@ export declare class CreateIssueRelationMutation extends Request {
|
|
6068
6603
|
export declare class DeleteIssueRelationMutation extends Request {
|
6069
6604
|
constructor(request: LinearRequest);
|
6070
6605
|
/**
|
6071
|
-
* Call the DeleteIssueRelation mutation and return a
|
6606
|
+
* Call the DeleteIssueRelation mutation and return a DeletePayload
|
6072
6607
|
*
|
6073
6608
|
* @param id - required id to pass to deleteIssueRelation
|
6074
6609
|
* @returns parsed response from DeleteIssueRelationMutation
|
6075
6610
|
*/
|
6076
|
-
fetch(id: string): LinearFetch<
|
6611
|
+
fetch(id: string): LinearFetch<DeletePayload>;
|
6077
6612
|
}
|
6078
6613
|
/**
|
6079
6614
|
* A fetchable UpdateIssueRelation Mutation
|
@@ -6115,12 +6650,12 @@ export declare class IssueReminderMutation extends Request {
|
|
6115
6650
|
export declare class UnarchiveIssueMutation extends Request {
|
6116
6651
|
constructor(request: LinearRequest);
|
6117
6652
|
/**
|
6118
|
-
* Call the UnarchiveIssue mutation and return a
|
6653
|
+
* Call the UnarchiveIssue mutation and return a IssueArchivePayload
|
6119
6654
|
*
|
6120
6655
|
* @param id - required id to pass to unarchiveIssue
|
6121
6656
|
* @returns parsed response from UnarchiveIssueMutation
|
6122
6657
|
*/
|
6123
|
-
fetch(id: string): LinearFetch<
|
6658
|
+
fetch(id: string): LinearFetch<IssueArchivePayload>;
|
6124
6659
|
}
|
6125
6660
|
/**
|
6126
6661
|
* A fetchable UpdateIssue Mutation
|
@@ -6190,12 +6725,74 @@ export declare class LogoutMutation extends Request {
|
|
6190
6725
|
export declare class ArchiveNotificationMutation extends Request {
|
6191
6726
|
constructor(request: LinearRequest);
|
6192
6727
|
/**
|
6193
|
-
* Call the ArchiveNotification mutation and return a
|
6728
|
+
* Call the ArchiveNotification mutation and return a NotificationArchivePayload
|
6194
6729
|
*
|
6195
6730
|
* @param id - required id to pass to archiveNotification
|
6196
6731
|
* @returns parsed response from ArchiveNotificationMutation
|
6197
6732
|
*/
|
6198
|
-
fetch(id: string): LinearFetch<
|
6733
|
+
fetch(id: string): LinearFetch<NotificationArchivePayload>;
|
6734
|
+
}
|
6735
|
+
/**
|
6736
|
+
* A fetchable NotificationArchiveAll Mutation
|
6737
|
+
*
|
6738
|
+
* @param request - function to call the graphql client
|
6739
|
+
*/
|
6740
|
+
export declare class NotificationArchiveAllMutation extends Request {
|
6741
|
+
constructor(request: LinearRequest);
|
6742
|
+
/**
|
6743
|
+
* Call the NotificationArchiveAll mutation and return a NotificationBatchActionPayload
|
6744
|
+
*
|
6745
|
+
* @param input - required input to pass to notificationArchiveAll
|
6746
|
+
* @returns parsed response from NotificationArchiveAllMutation
|
6747
|
+
*/
|
6748
|
+
fetch(input: L.NotificationEntityInput): LinearFetch<NotificationBatchActionPayload>;
|
6749
|
+
}
|
6750
|
+
/**
|
6751
|
+
* A fetchable NotificationMarkReadAll Mutation
|
6752
|
+
*
|
6753
|
+
* @param request - function to call the graphql client
|
6754
|
+
*/
|
6755
|
+
export declare class NotificationMarkReadAllMutation extends Request {
|
6756
|
+
constructor(request: LinearRequest);
|
6757
|
+
/**
|
6758
|
+
* Call the NotificationMarkReadAll mutation and return a NotificationBatchActionPayload
|
6759
|
+
*
|
6760
|
+
* @param input - required input to pass to notificationMarkReadAll
|
6761
|
+
* @param readAt - required readAt to pass to notificationMarkReadAll
|
6762
|
+
* @returns parsed response from NotificationMarkReadAllMutation
|
6763
|
+
*/
|
6764
|
+
fetch(input: L.NotificationEntityInput, readAt: Date): LinearFetch<NotificationBatchActionPayload>;
|
6765
|
+
}
|
6766
|
+
/**
|
6767
|
+
* A fetchable NotificationMarkUnreadAll Mutation
|
6768
|
+
*
|
6769
|
+
* @param request - function to call the graphql client
|
6770
|
+
*/
|
6771
|
+
export declare class NotificationMarkUnreadAllMutation extends Request {
|
6772
|
+
constructor(request: LinearRequest);
|
6773
|
+
/**
|
6774
|
+
* Call the NotificationMarkUnreadAll mutation and return a NotificationBatchActionPayload
|
6775
|
+
*
|
6776
|
+
* @param input - required input to pass to notificationMarkUnreadAll
|
6777
|
+
* @returns parsed response from NotificationMarkUnreadAllMutation
|
6778
|
+
*/
|
6779
|
+
fetch(input: L.NotificationEntityInput): LinearFetch<NotificationBatchActionPayload>;
|
6780
|
+
}
|
6781
|
+
/**
|
6782
|
+
* A fetchable NotificationSnoozeAll Mutation
|
6783
|
+
*
|
6784
|
+
* @param request - function to call the graphql client
|
6785
|
+
*/
|
6786
|
+
export declare class NotificationSnoozeAllMutation extends Request {
|
6787
|
+
constructor(request: LinearRequest);
|
6788
|
+
/**
|
6789
|
+
* Call the NotificationSnoozeAll mutation and return a NotificationBatchActionPayload
|
6790
|
+
*
|
6791
|
+
* @param input - required input to pass to notificationSnoozeAll
|
6792
|
+
* @param snoozedUntilAt - required snoozedUntilAt to pass to notificationSnoozeAll
|
6793
|
+
* @returns parsed response from NotificationSnoozeAllMutation
|
6794
|
+
*/
|
6795
|
+
fetch(input: L.NotificationEntityInput, snoozedUntilAt: Date): LinearFetch<NotificationBatchActionPayload>;
|
6199
6796
|
}
|
6200
6797
|
/**
|
6201
6798
|
* A fetchable CreateNotificationSubscription Mutation
|
@@ -6220,12 +6817,12 @@ export declare class CreateNotificationSubscriptionMutation extends Request {
|
|
6220
6817
|
export declare class DeleteNotificationSubscriptionMutation extends Request {
|
6221
6818
|
constructor(request: LinearRequest);
|
6222
6819
|
/**
|
6223
|
-
* Call the DeleteNotificationSubscription mutation and return a
|
6820
|
+
* Call the DeleteNotificationSubscription mutation and return a DeletePayload
|
6224
6821
|
*
|
6225
6822
|
* @param id - required id to pass to deleteNotificationSubscription
|
6226
6823
|
* @returns parsed response from DeleteNotificationSubscriptionMutation
|
6227
6824
|
*/
|
6228
|
-
fetch(id: string): LinearFetch<
|
6825
|
+
fetch(id: string): LinearFetch<DeletePayload>;
|
6229
6826
|
}
|
6230
6827
|
/**
|
6231
6828
|
* A fetchable UpdateNotificationSubscription Mutation
|
@@ -6251,12 +6848,28 @@ export declare class UpdateNotificationSubscriptionMutation extends Request {
|
|
6251
6848
|
export declare class UnarchiveNotificationMutation extends Request {
|
6252
6849
|
constructor(request: LinearRequest);
|
6253
6850
|
/**
|
6254
|
-
* Call the UnarchiveNotification mutation and return a
|
6851
|
+
* Call the UnarchiveNotification mutation and return a NotificationArchivePayload
|
6255
6852
|
*
|
6256
6853
|
* @param id - required id to pass to unarchiveNotification
|
6257
6854
|
* @returns parsed response from UnarchiveNotificationMutation
|
6258
6855
|
*/
|
6259
|
-
fetch(id: string): LinearFetch<
|
6856
|
+
fetch(id: string): LinearFetch<NotificationArchivePayload>;
|
6857
|
+
}
|
6858
|
+
/**
|
6859
|
+
* A fetchable NotificationUnsnoozeAll Mutation
|
6860
|
+
*
|
6861
|
+
* @param request - function to call the graphql client
|
6862
|
+
*/
|
6863
|
+
export declare class NotificationUnsnoozeAllMutation extends Request {
|
6864
|
+
constructor(request: LinearRequest);
|
6865
|
+
/**
|
6866
|
+
* Call the NotificationUnsnoozeAll mutation and return a NotificationBatchActionPayload
|
6867
|
+
*
|
6868
|
+
* @param input - required input to pass to notificationUnsnoozeAll
|
6869
|
+
* @param unsnoozedAt - required unsnoozedAt to pass to notificationUnsnoozeAll
|
6870
|
+
* @returns parsed response from NotificationUnsnoozeAllMutation
|
6871
|
+
*/
|
6872
|
+
fetch(input: L.NotificationEntityInput, unsnoozedAt: Date): LinearFetch<NotificationBatchActionPayload>;
|
6260
6873
|
}
|
6261
6874
|
/**
|
6262
6875
|
* A fetchable UpdateNotification Mutation
|
@@ -6325,12 +6938,12 @@ export declare class OrganizationDeleteChallengeMutation extends Request {
|
|
6325
6938
|
export declare class DeleteOrganizationDomainMutation extends Request {
|
6326
6939
|
constructor(request: LinearRequest);
|
6327
6940
|
/**
|
6328
|
-
* Call the DeleteOrganizationDomain mutation and return a
|
6941
|
+
* Call the DeleteOrganizationDomain mutation and return a DeletePayload
|
6329
6942
|
*
|
6330
6943
|
* @param id - required id to pass to deleteOrganizationDomain
|
6331
6944
|
* @returns parsed response from DeleteOrganizationDomainMutation
|
6332
6945
|
*/
|
6333
|
-
fetch(id: string): LinearFetch<
|
6946
|
+
fetch(id: string): LinearFetch<DeletePayload>;
|
6334
6947
|
}
|
6335
6948
|
/**
|
6336
6949
|
* A fetchable CreateOrganizationInvite Mutation
|
@@ -6355,12 +6968,12 @@ export declare class CreateOrganizationInviteMutation extends Request {
|
|
6355
6968
|
export declare class DeleteOrganizationInviteMutation extends Request {
|
6356
6969
|
constructor(request: LinearRequest);
|
6357
6970
|
/**
|
6358
|
-
* Call the DeleteOrganizationInvite mutation and return a
|
6971
|
+
* Call the DeleteOrganizationInvite mutation and return a DeletePayload
|
6359
6972
|
*
|
6360
6973
|
* @param id - required id to pass to deleteOrganizationInvite
|
6361
6974
|
* @returns parsed response from DeleteOrganizationInviteMutation
|
6362
6975
|
*/
|
6363
|
-
fetch(id: string): LinearFetch<
|
6976
|
+
fetch(id: string): LinearFetch<DeletePayload>;
|
6364
6977
|
}
|
6365
6978
|
/**
|
6366
6979
|
* A fetchable UpdateOrganizationInvite Mutation
|
@@ -6415,12 +7028,12 @@ export declare class UpdateOrganizationMutation extends Request {
|
|
6415
7028
|
export declare class ArchiveProjectMutation extends Request {
|
6416
7029
|
constructor(request: LinearRequest);
|
6417
7030
|
/**
|
6418
|
-
* Call the ArchiveProject mutation and return a
|
7031
|
+
* Call the ArchiveProject mutation and return a ProjectArchivePayload
|
6419
7032
|
*
|
6420
7033
|
* @param id - required id to pass to archiveProject
|
6421
7034
|
* @returns parsed response from ArchiveProjectMutation
|
6422
7035
|
*/
|
6423
|
-
fetch(id: string): LinearFetch<
|
7036
|
+
fetch(id: string): LinearFetch<ProjectArchivePayload>;
|
6424
7037
|
}
|
6425
7038
|
/**
|
6426
7039
|
* A fetchable CreateProject Mutation
|
@@ -6445,12 +7058,12 @@ export declare class CreateProjectMutation extends Request {
|
|
6445
7058
|
export declare class DeleteProjectMutation extends Request {
|
6446
7059
|
constructor(request: LinearRequest);
|
6447
7060
|
/**
|
6448
|
-
* Call the DeleteProject mutation and return a
|
7061
|
+
* Call the DeleteProject mutation and return a DeletePayload
|
6449
7062
|
*
|
6450
7063
|
* @param id - required id to pass to deleteProject
|
6451
7064
|
* @returns parsed response from DeleteProjectMutation
|
6452
7065
|
*/
|
6453
|
-
fetch(id: string): LinearFetch<
|
7066
|
+
fetch(id: string): LinearFetch<DeletePayload>;
|
6454
7067
|
}
|
6455
7068
|
/**
|
6456
7069
|
* A fetchable CreateProjectLink Mutation
|
@@ -6475,12 +7088,12 @@ export declare class CreateProjectLinkMutation extends Request {
|
|
6475
7088
|
export declare class DeleteProjectLinkMutation extends Request {
|
6476
7089
|
constructor(request: LinearRequest);
|
6477
7090
|
/**
|
6478
|
-
* Call the DeleteProjectLink mutation and return a
|
7091
|
+
* Call the DeleteProjectLink mutation and return a DeletePayload
|
6479
7092
|
*
|
6480
7093
|
* @param id - required id to pass to deleteProjectLink
|
6481
7094
|
* @returns parsed response from DeleteProjectLinkMutation
|
6482
7095
|
*/
|
6483
|
-
fetch(id: string): LinearFetch<
|
7096
|
+
fetch(id: string): LinearFetch<DeletePayload>;
|
6484
7097
|
}
|
6485
7098
|
/**
|
6486
7099
|
* A fetchable UpdateProjectLink Mutation
|
@@ -6521,12 +7134,12 @@ export declare class CreateProjectMilestoneMutation extends Request {
|
|
6521
7134
|
export declare class DeleteProjectMilestoneMutation extends Request {
|
6522
7135
|
constructor(request: LinearRequest);
|
6523
7136
|
/**
|
6524
|
-
* Call the DeleteProjectMilestone mutation and return a
|
7137
|
+
* Call the DeleteProjectMilestone mutation and return a DeletePayload
|
6525
7138
|
*
|
6526
7139
|
* @param id - required id to pass to deleteProjectMilestone
|
6527
7140
|
* @returns parsed response from DeleteProjectMilestoneMutation
|
6528
7141
|
*/
|
6529
|
-
fetch(id: string): LinearFetch<
|
7142
|
+
fetch(id: string): LinearFetch<DeletePayload>;
|
6530
7143
|
}
|
6531
7144
|
/**
|
6532
7145
|
* A fetchable UpdateProjectMilestone Mutation
|
@@ -6552,12 +7165,12 @@ export declare class UpdateProjectMilestoneMutation extends Request {
|
|
6552
7165
|
export declare class UnarchiveProjectMutation extends Request {
|
6553
7166
|
constructor(request: LinearRequest);
|
6554
7167
|
/**
|
6555
|
-
* Call the UnarchiveProject mutation and return a
|
7168
|
+
* Call the UnarchiveProject mutation and return a ProjectArchivePayload
|
6556
7169
|
*
|
6557
7170
|
* @param id - required id to pass to unarchiveProject
|
6558
7171
|
* @returns parsed response from UnarchiveProjectMutation
|
6559
7172
|
*/
|
6560
|
-
fetch(id: string): LinearFetch<
|
7173
|
+
fetch(id: string): LinearFetch<ProjectArchivePayload>;
|
6561
7174
|
}
|
6562
7175
|
/**
|
6563
7176
|
* A fetchable UpdateProject Mutation
|
@@ -6598,12 +7211,12 @@ export declare class CreateProjectUpdateMutation extends Request {
|
|
6598
7211
|
export declare class DeleteProjectUpdateMutation extends Request {
|
6599
7212
|
constructor(request: LinearRequest);
|
6600
7213
|
/**
|
6601
|
-
* Call the DeleteProjectUpdate mutation and return a
|
7214
|
+
* Call the DeleteProjectUpdate mutation and return a DeletePayload
|
6602
7215
|
*
|
6603
7216
|
* @param id - required id to pass to deleteProjectUpdate
|
6604
7217
|
* @returns parsed response from DeleteProjectUpdateMutation
|
6605
7218
|
*/
|
6606
|
-
fetch(id: string): LinearFetch<
|
7219
|
+
fetch(id: string): LinearFetch<DeletePayload>;
|
6607
7220
|
}
|
6608
7221
|
/**
|
6609
7222
|
* A fetchable CreateProjectUpdateInteraction Mutation
|
@@ -6704,12 +7317,12 @@ export declare class CreateReactionMutation extends Request {
|
|
6704
7317
|
export declare class DeleteReactionMutation extends Request {
|
6705
7318
|
constructor(request: LinearRequest);
|
6706
7319
|
/**
|
6707
|
-
* Call the DeleteReaction mutation and return a
|
7320
|
+
* Call the DeleteReaction mutation and return a DeletePayload
|
6708
7321
|
*
|
6709
7322
|
* @param id - required id to pass to deleteReaction
|
6710
7323
|
* @returns parsed response from DeleteReactionMutation
|
6711
7324
|
*/
|
6712
|
-
fetch(id: string): LinearFetch<
|
7325
|
+
fetch(id: string): LinearFetch<DeletePayload>;
|
6713
7326
|
}
|
6714
7327
|
/**
|
6715
7328
|
* A fetchable RefreshGoogleSheetsData Mutation
|
@@ -6734,12 +7347,12 @@ export declare class RefreshGoogleSheetsDataMutation extends Request {
|
|
6734
7347
|
export declare class ResendOrganizationInviteMutation extends Request {
|
6735
7348
|
constructor(request: LinearRequest);
|
6736
7349
|
/**
|
6737
|
-
* Call the ResendOrganizationInvite mutation and return a
|
7350
|
+
* Call the ResendOrganizationInvite mutation and return a DeletePayload
|
6738
7351
|
*
|
6739
7352
|
* @param id - required id to pass to resendOrganizationInvite
|
6740
7353
|
* @returns parsed response from ResendOrganizationInviteMutation
|
6741
7354
|
*/
|
6742
|
-
fetch(id: string): LinearFetch<
|
7355
|
+
fetch(id: string): LinearFetch<DeletePayload>;
|
6743
7356
|
}
|
6744
7357
|
/**
|
6745
7358
|
* A fetchable ArchiveRoadmap Mutation
|
@@ -6749,12 +7362,12 @@ export declare class ResendOrganizationInviteMutation extends Request {
|
|
6749
7362
|
export declare class ArchiveRoadmapMutation extends Request {
|
6750
7363
|
constructor(request: LinearRequest);
|
6751
7364
|
/**
|
6752
|
-
* Call the ArchiveRoadmap mutation and return a
|
7365
|
+
* Call the ArchiveRoadmap mutation and return a RoadmapArchivePayload
|
6753
7366
|
*
|
6754
7367
|
* @param id - required id to pass to archiveRoadmap
|
6755
7368
|
* @returns parsed response from ArchiveRoadmapMutation
|
6756
7369
|
*/
|
6757
|
-
fetch(id: string): LinearFetch<
|
7370
|
+
fetch(id: string): LinearFetch<RoadmapArchivePayload>;
|
6758
7371
|
}
|
6759
7372
|
/**
|
6760
7373
|
* A fetchable CreateRoadmap Mutation
|
@@ -6779,12 +7392,12 @@ export declare class CreateRoadmapMutation extends Request {
|
|
6779
7392
|
export declare class DeleteRoadmapMutation extends Request {
|
6780
7393
|
constructor(request: LinearRequest);
|
6781
7394
|
/**
|
6782
|
-
* Call the DeleteRoadmap mutation and return a
|
7395
|
+
* Call the DeleteRoadmap mutation and return a DeletePayload
|
6783
7396
|
*
|
6784
7397
|
* @param id - required id to pass to deleteRoadmap
|
6785
7398
|
* @returns parsed response from DeleteRoadmapMutation
|
6786
7399
|
*/
|
6787
|
-
fetch(id: string): LinearFetch<
|
7400
|
+
fetch(id: string): LinearFetch<DeletePayload>;
|
6788
7401
|
}
|
6789
7402
|
/**
|
6790
7403
|
* A fetchable CreateRoadmapToProject Mutation
|
@@ -6809,12 +7422,12 @@ export declare class CreateRoadmapToProjectMutation extends Request {
|
|
6809
7422
|
export declare class DeleteRoadmapToProjectMutation extends Request {
|
6810
7423
|
constructor(request: LinearRequest);
|
6811
7424
|
/**
|
6812
|
-
* Call the DeleteRoadmapToProject mutation and return a
|
7425
|
+
* Call the DeleteRoadmapToProject mutation and return a DeletePayload
|
6813
7426
|
*
|
6814
7427
|
* @param id - required id to pass to deleteRoadmapToProject
|
6815
7428
|
* @returns parsed response from DeleteRoadmapToProjectMutation
|
6816
7429
|
*/
|
6817
|
-
fetch(id: string): LinearFetch<
|
7430
|
+
fetch(id: string): LinearFetch<DeletePayload>;
|
6818
7431
|
}
|
6819
7432
|
/**
|
6820
7433
|
* A fetchable UpdateRoadmapToProject Mutation
|
@@ -6840,12 +7453,12 @@ export declare class UpdateRoadmapToProjectMutation extends Request {
|
|
6840
7453
|
export declare class UnarchiveRoadmapMutation extends Request {
|
6841
7454
|
constructor(request: LinearRequest);
|
6842
7455
|
/**
|
6843
|
-
* Call the UnarchiveRoadmap mutation and return a
|
7456
|
+
* Call the UnarchiveRoadmap mutation and return a RoadmapArchivePayload
|
6844
7457
|
*
|
6845
7458
|
* @param id - required id to pass to unarchiveRoadmap
|
6846
7459
|
* @returns parsed response from UnarchiveRoadmapMutation
|
6847
7460
|
*/
|
6848
|
-
fetch(id: string): LinearFetch<
|
7461
|
+
fetch(id: string): LinearFetch<RoadmapArchivePayload>;
|
6849
7462
|
}
|
6850
7463
|
/**
|
6851
7464
|
* A fetchable UpdateRoadmap Mutation
|
@@ -6917,12 +7530,12 @@ export declare class DeleteTeamCyclesMutation extends Request {
|
|
6917
7530
|
export declare class DeleteTeamMutation extends Request {
|
6918
7531
|
constructor(request: LinearRequest);
|
6919
7532
|
/**
|
6920
|
-
* Call the DeleteTeam mutation and return a
|
7533
|
+
* Call the DeleteTeam mutation and return a DeletePayload
|
6921
7534
|
*
|
6922
7535
|
* @param id - required id to pass to deleteTeam
|
6923
7536
|
* @returns parsed response from DeleteTeamMutation
|
6924
7537
|
*/
|
6925
|
-
fetch(id: string): LinearFetch<
|
7538
|
+
fetch(id: string): LinearFetch<DeletePayload>;
|
6926
7539
|
}
|
6927
7540
|
/**
|
6928
7541
|
* A fetchable DeleteTeamKey Mutation
|
@@ -6932,12 +7545,12 @@ export declare class DeleteTeamMutation extends Request {
|
|
6932
7545
|
export declare class DeleteTeamKeyMutation extends Request {
|
6933
7546
|
constructor(request: LinearRequest);
|
6934
7547
|
/**
|
6935
|
-
* Call the DeleteTeamKey mutation and return a
|
7548
|
+
* Call the DeleteTeamKey mutation and return a DeletePayload
|
6936
7549
|
*
|
6937
7550
|
* @param id - required id to pass to deleteTeamKey
|
6938
7551
|
* @returns parsed response from DeleteTeamKeyMutation
|
6939
7552
|
*/
|
6940
|
-
fetch(id: string): LinearFetch<
|
7553
|
+
fetch(id: string): LinearFetch<DeletePayload>;
|
6941
7554
|
}
|
6942
7555
|
/**
|
6943
7556
|
* A fetchable CreateTeamMembership Mutation
|
@@ -6962,12 +7575,12 @@ export declare class CreateTeamMembershipMutation extends Request {
|
|
6962
7575
|
export declare class DeleteTeamMembershipMutation extends Request {
|
6963
7576
|
constructor(request: LinearRequest);
|
6964
7577
|
/**
|
6965
|
-
* Call the DeleteTeamMembership mutation and return a
|
7578
|
+
* Call the DeleteTeamMembership mutation and return a DeletePayload
|
6966
7579
|
*
|
6967
7580
|
* @param id - required id to pass to deleteTeamMembership
|
6968
7581
|
* @returns parsed response from DeleteTeamMembershipMutation
|
6969
7582
|
*/
|
6970
|
-
fetch(id: string): LinearFetch<
|
7583
|
+
fetch(id: string): LinearFetch<DeletePayload>;
|
6971
7584
|
}
|
6972
7585
|
/**
|
6973
7586
|
* A fetchable UpdateTeamMembership Mutation
|
@@ -7024,12 +7637,12 @@ export declare class CreateTemplateMutation extends Request {
|
|
7024
7637
|
export declare class DeleteTemplateMutation extends Request {
|
7025
7638
|
constructor(request: LinearRequest);
|
7026
7639
|
/**
|
7027
|
-
* Call the DeleteTemplate mutation and return a
|
7640
|
+
* Call the DeleteTemplate mutation and return a DeletePayload
|
7028
7641
|
*
|
7029
7642
|
* @param id - required id to pass to deleteTemplate
|
7030
7643
|
* @returns parsed response from DeleteTemplateMutation
|
7031
7644
|
*/
|
7032
|
-
fetch(id: string): LinearFetch<
|
7645
|
+
fetch(id: string): LinearFetch<DeletePayload>;
|
7033
7646
|
}
|
7034
7647
|
/**
|
7035
7648
|
* A fetchable UpdateTemplate Mutation
|
@@ -7314,12 +7927,12 @@ export declare class CreateViewPreferencesMutation extends Request {
|
|
7314
7927
|
export declare class DeleteViewPreferencesMutation extends Request {
|
7315
7928
|
constructor(request: LinearRequest);
|
7316
7929
|
/**
|
7317
|
-
* Call the DeleteViewPreferences mutation and return a
|
7930
|
+
* Call the DeleteViewPreferences mutation and return a DeletePayload
|
7318
7931
|
*
|
7319
7932
|
* @param id - required id to pass to deleteViewPreferences
|
7320
7933
|
* @returns parsed response from DeleteViewPreferencesMutation
|
7321
7934
|
*/
|
7322
|
-
fetch(id: string): LinearFetch<
|
7935
|
+
fetch(id: string): LinearFetch<DeletePayload>;
|
7323
7936
|
}
|
7324
7937
|
/**
|
7325
7938
|
* A fetchable UpdateViewPreferences Mutation
|
@@ -7360,12 +7973,12 @@ export declare class CreateWebhookMutation extends Request {
|
|
7360
7973
|
export declare class DeleteWebhookMutation extends Request {
|
7361
7974
|
constructor(request: LinearRequest);
|
7362
7975
|
/**
|
7363
|
-
* Call the DeleteWebhook mutation and return a
|
7976
|
+
* Call the DeleteWebhook mutation and return a DeletePayload
|
7364
7977
|
*
|
7365
7978
|
* @param id - required id to pass to deleteWebhook
|
7366
7979
|
* @returns parsed response from DeleteWebhookMutation
|
7367
7980
|
*/
|
7368
|
-
fetch(id: string): LinearFetch<
|
7981
|
+
fetch(id: string): LinearFetch<DeletePayload>;
|
7369
7982
|
}
|
7370
7983
|
/**
|
7371
7984
|
* A fetchable UpdateWebhook Mutation
|
@@ -7391,12 +8004,12 @@ export declare class UpdateWebhookMutation extends Request {
|
|
7391
8004
|
export declare class ArchiveWorkflowStateMutation extends Request {
|
7392
8005
|
constructor(request: LinearRequest);
|
7393
8006
|
/**
|
7394
|
-
* Call the ArchiveWorkflowState mutation and return a
|
8007
|
+
* Call the ArchiveWorkflowState mutation and return a WorkflowStateArchivePayload
|
7395
8008
|
*
|
7396
8009
|
* @param id - required id to pass to archiveWorkflowState
|
7397
8010
|
* @returns parsed response from ArchiveWorkflowStateMutation
|
7398
8011
|
*/
|
7399
|
-
fetch(id: string): LinearFetch<
|
8012
|
+
fetch(id: string): LinearFetch<WorkflowStateArchivePayload>;
|
7400
8013
|
}
|
7401
8014
|
/**
|
7402
8015
|
* A fetchable CreateWorkflowState Mutation
|
@@ -7745,6 +8358,21 @@ export declare class DocumentsQuery extends Request {
|
|
7745
8358
|
*/
|
7746
8359
|
fetch(variables?: L.DocumentsQueryVariables): LinearFetch<DocumentConnection>;
|
7747
8360
|
}
|
8361
|
+
/**
|
8362
|
+
* A fetchable EmbedInfo Query
|
8363
|
+
*
|
8364
|
+
* @param request - function to call the graphql client
|
8365
|
+
*/
|
8366
|
+
export declare class EmbedInfoQuery extends Request {
|
8367
|
+
constructor(request: LinearRequest);
|
8368
|
+
/**
|
8369
|
+
* Call the EmbedInfo query and return a EmbedPayload
|
8370
|
+
*
|
8371
|
+
* @param url - required url to pass to embedInfo
|
8372
|
+
* @returns parsed response from EmbedInfoQuery
|
8373
|
+
*/
|
8374
|
+
fetch(url: string): LinearFetch<EmbedPayload>;
|
8375
|
+
}
|
7748
8376
|
/**
|
7749
8377
|
* A fetchable Emoji Query
|
7750
8378
|
*
|
@@ -8047,6 +8675,21 @@ export declare class IssueRelationsQuery extends Request {
|
|
8047
8675
|
*/
|
8048
8676
|
fetch(variables?: L.IssueRelationsQueryVariables): LinearFetch<IssueRelationConnection>;
|
8049
8677
|
}
|
8678
|
+
/**
|
8679
|
+
* A fetchable IssueSearch Query
|
8680
|
+
*
|
8681
|
+
* @param request - function to call the graphql client
|
8682
|
+
*/
|
8683
|
+
export declare class IssueSearchQuery extends Request {
|
8684
|
+
constructor(request: LinearRequest);
|
8685
|
+
/**
|
8686
|
+
* Call the IssueSearch query and return a IssueConnection
|
8687
|
+
*
|
8688
|
+
* @param variables - variables to pass into the IssueSearchQuery
|
8689
|
+
* @returns parsed response from IssueSearchQuery
|
8690
|
+
*/
|
8691
|
+
fetch(variables?: L.IssueSearchQueryVariables): LinearFetch<IssueConnection>;
|
8692
|
+
}
|
8050
8693
|
/**
|
8051
8694
|
* A fetchable IssueVcsBranchSearch Query
|
8052
8695
|
*
|
@@ -8105,7 +8748,7 @@ export declare class NotificationSubscriptionQuery extends Request {
|
|
8105
8748
|
* @param id - required id to pass to notificationSubscription
|
8106
8749
|
* @returns parsed response from NotificationSubscriptionQuery
|
8107
8750
|
*/
|
8108
|
-
fetch(id: string): LinearFetch<ProjectNotificationSubscription | TeamNotificationSubscription | NotificationSubscription>;
|
8751
|
+
fetch(id: string): LinearFetch<CustomViewNotificationSubscription | CycleNotificationSubscription | LabelNotificationSubscription | ProjectNotificationSubscription | TeamNotificationSubscription | UserNotificationSubscription | NotificationSubscription>;
|
8109
8752
|
}
|
8110
8753
|
/**
|
8111
8754
|
* A fetchable NotificationSubscriptions Query
|
@@ -8572,6 +9215,21 @@ export declare class TemplatesQuery extends Request {
|
|
8572
9215
|
*/
|
8573
9216
|
fetch(): LinearFetch<Template[]>;
|
8574
9217
|
}
|
9218
|
+
/**
|
9219
|
+
* A fetchable TemplatesForIntegration Query
|
9220
|
+
*
|
9221
|
+
* @param request - function to call the graphql client
|
9222
|
+
*/
|
9223
|
+
export declare class TemplatesForIntegrationQuery extends Request {
|
9224
|
+
constructor(request: LinearRequest);
|
9225
|
+
/**
|
9226
|
+
* Call the TemplatesForIntegration query and return a Template list
|
9227
|
+
*
|
9228
|
+
* @param integrationType - required integrationType to pass to templatesForIntegration
|
9229
|
+
* @returns parsed response from TemplatesForIntegrationQuery
|
9230
|
+
*/
|
9231
|
+
fetch(integrationType: string): LinearFetch<Template[]>;
|
9232
|
+
}
|
8575
9233
|
/**
|
8576
9234
|
* A fetchable User Query
|
8577
9235
|
*
|
@@ -8899,6 +9557,22 @@ export declare class Cycle_UncompletedIssuesUponCloseQuery extends Request {
|
|
8899
9557
|
*/
|
8900
9558
|
fetch(variables?: Omit<L.Cycle_UncompletedIssuesUponCloseQueryVariables, "id">): LinearFetch<IssueConnection>;
|
8901
9559
|
}
|
9560
|
+
/**
|
9561
|
+
* A fetchable EmbedInfo_Embed Query
|
9562
|
+
*
|
9563
|
+
* @param request - function to call the graphql client
|
9564
|
+
* @param url - required url to pass to embedInfo
|
9565
|
+
*/
|
9566
|
+
export declare class EmbedInfo_EmbedQuery extends Request {
|
9567
|
+
private _url;
|
9568
|
+
constructor(request: LinearRequest, url: string);
|
9569
|
+
/**
|
9570
|
+
* Call the EmbedInfo_Embed query and return a Embed
|
9571
|
+
*
|
9572
|
+
* @returns parsed response from EmbedInfo_EmbedQuery
|
9573
|
+
*/
|
9574
|
+
fetch(): LinearFetch<Embed | undefined>;
|
9575
|
+
}
|
8902
9576
|
/**
|
8903
9577
|
* A fetchable Favorite_Children Query
|
8904
9578
|
*
|
@@ -9946,16 +10620,16 @@ export declare class LinearSdk extends Request {
|
|
9946
10620
|
* Deletes an API key.
|
9947
10621
|
*
|
9948
10622
|
* @param id - required id to pass to deleteApiKey
|
9949
|
-
* @returns
|
10623
|
+
* @returns DeletePayload
|
9950
10624
|
*/
|
9951
|
-
deleteApiKey(id: string): LinearFetch<
|
10625
|
+
deleteApiKey(id: string): LinearFetch<DeletePayload>;
|
9952
10626
|
/**
|
9953
10627
|
* [DEPRECATED] Archives an issue attachment.
|
9954
10628
|
*
|
9955
10629
|
* @param id - required id to pass to archiveAttachment
|
9956
|
-
* @returns
|
10630
|
+
* @returns AttachmentArchivePayload
|
9957
10631
|
*/
|
9958
|
-
archiveAttachment(id: string): LinearFetch<
|
10632
|
+
archiveAttachment(id: string): LinearFetch<AttachmentArchivePayload>;
|
9959
10633
|
/**
|
9960
10634
|
* Creates a new attachment, or updates existing if the same `url` and `issueId` is used.
|
9961
10635
|
*
|
@@ -9967,9 +10641,9 @@ export declare class LinearSdk extends Request {
|
|
9967
10641
|
* Deletes an issue attachment.
|
9968
10642
|
*
|
9969
10643
|
* @param id - required id to pass to deleteAttachment
|
9970
|
-
* @returns
|
10644
|
+
* @returns DeletePayload
|
9971
10645
|
*/
|
9972
|
-
deleteAttachment(id: string): LinearFetch<
|
10646
|
+
deleteAttachment(id: string): LinearFetch<DeletePayload>;
|
9973
10647
|
/**
|
9974
10648
|
* Link an existing Discord message to an issue.
|
9975
10649
|
*
|
@@ -10004,6 +10678,17 @@ export declare class LinearSdk extends Request {
|
|
10004
10678
|
* @returns AttachmentPayload
|
10005
10679
|
*/
|
10006
10680
|
attachmentLinkJiraIssue(issueId: string, jiraIssueId: string): LinearFetch<AttachmentPayload>;
|
10681
|
+
/**
|
10682
|
+
* Link an existing Slack message to an issue.
|
10683
|
+
*
|
10684
|
+
* @param channel - required channel to pass to attachmentLinkSlack
|
10685
|
+
* @param issueId - required issueId to pass to attachmentLinkSlack
|
10686
|
+
* @param latest - required latest to pass to attachmentLinkSlack
|
10687
|
+
* @param url - required url to pass to attachmentLinkSlack
|
10688
|
+
* @param variables - variables without 'channel', 'issueId', 'latest', 'url' to pass into the AttachmentLinkSlackMutation
|
10689
|
+
* @returns AttachmentPayload
|
10690
|
+
*/
|
10691
|
+
attachmentLinkSlack(channel: string, issueId: string, latest: string, url: string, variables?: Omit<L.AttachmentLinkSlackMutationVariables, "channel" | "issueId" | "latest" | "url">): LinearFetch<AttachmentPayload>;
|
10007
10692
|
/**
|
10008
10693
|
* Link any url to an issue.
|
10009
10694
|
*
|
@@ -10021,6 +10706,13 @@ export declare class LinearSdk extends Request {
|
|
10021
10706
|
* @returns AttachmentPayload
|
10022
10707
|
*/
|
10023
10708
|
attachmentLinkZendesk(issueId: string, ticketId: string): LinearFetch<AttachmentPayload>;
|
10709
|
+
/**
|
10710
|
+
* Unsyncs an existing synced Slack attachment.
|
10711
|
+
*
|
10712
|
+
* @param id - required id to pass to attachmentUnsyncSlack
|
10713
|
+
* @returns AttachmentPayload
|
10714
|
+
*/
|
10715
|
+
attachmentUnsyncSlack(id: string): LinearFetch<AttachmentPayload>;
|
10024
10716
|
/**
|
10025
10717
|
* Updates an existing issue attachment.
|
10026
10718
|
*
|
@@ -10040,9 +10732,9 @@ export declare class LinearSdk extends Request {
|
|
10040
10732
|
* Deletes a comment.
|
10041
10733
|
*
|
10042
10734
|
* @param id - required id to pass to deleteComment
|
10043
|
-
* @returns
|
10735
|
+
* @returns DeletePayload
|
10044
10736
|
*/
|
10045
|
-
deleteComment(id: string): LinearFetch<
|
10737
|
+
deleteComment(id: string): LinearFetch<DeletePayload>;
|
10046
10738
|
/**
|
10047
10739
|
* Updates a comment.
|
10048
10740
|
*
|
@@ -10084,9 +10776,9 @@ export declare class LinearSdk extends Request {
|
|
10084
10776
|
* Deletes a custom view.
|
10085
10777
|
*
|
10086
10778
|
* @param id - required id to pass to deleteCustomView
|
10087
|
-
* @returns
|
10779
|
+
* @returns DeletePayload
|
10088
10780
|
*/
|
10089
|
-
deleteCustomView(id: string): LinearFetch<
|
10781
|
+
deleteCustomView(id: string): LinearFetch<DeletePayload>;
|
10090
10782
|
/**
|
10091
10783
|
* Updates a custom view.
|
10092
10784
|
*
|
@@ -10099,9 +10791,9 @@ export declare class LinearSdk extends Request {
|
|
10099
10791
|
* Archives a cycle.
|
10100
10792
|
*
|
10101
10793
|
* @param id - required id to pass to archiveCycle
|
10102
|
-
* @returns
|
10794
|
+
* @returns CycleArchivePayload
|
10103
10795
|
*/
|
10104
|
-
archiveCycle(id: string): LinearFetch<
|
10796
|
+
archiveCycle(id: string): LinearFetch<CycleArchivePayload>;
|
10105
10797
|
/**
|
10106
10798
|
* Creates a new cycle.
|
10107
10799
|
*
|
@@ -10128,9 +10820,9 @@ export declare class LinearSdk extends Request {
|
|
10128
10820
|
* Deletes a document.
|
10129
10821
|
*
|
10130
10822
|
* @param id - required id to pass to deleteDocument
|
10131
|
-
* @returns
|
10823
|
+
* @returns DeletePayload
|
10132
10824
|
*/
|
10133
|
-
deleteDocument(id: string): LinearFetch<
|
10825
|
+
deleteDocument(id: string): LinearFetch<DeletePayload>;
|
10134
10826
|
/**
|
10135
10827
|
* Updates a document.
|
10136
10828
|
*
|
@@ -10171,16 +10863,9 @@ export declare class LinearSdk extends Request {
|
|
10171
10863
|
* Deletes an emoji.
|
10172
10864
|
*
|
10173
10865
|
* @param id - required id to pass to deleteEmoji
|
10174
|
-
* @returns
|
10175
|
-
*/
|
10176
|
-
deleteEmoji(id: string): LinearFetch<ArchivePayload>;
|
10177
|
-
/**
|
10178
|
-
* [Deprecated] Creates a new event.
|
10179
|
-
*
|
10180
|
-
* @param input - required input to pass to createEvent
|
10181
|
-
* @returns EventPayload
|
10866
|
+
* @returns DeletePayload
|
10182
10867
|
*/
|
10183
|
-
|
10868
|
+
deleteEmoji(id: string): LinearFetch<DeletePayload>;
|
10184
10869
|
/**
|
10185
10870
|
* Creates a new favorite (project, cycle etc).
|
10186
10871
|
*
|
@@ -10192,9 +10877,9 @@ export declare class LinearSdk extends Request {
|
|
10192
10877
|
* Deletes a favorite reference.
|
10193
10878
|
*
|
10194
10879
|
* @param id - required id to pass to deleteFavorite
|
10195
|
-
* @returns
|
10880
|
+
* @returns DeletePayload
|
10196
10881
|
*/
|
10197
|
-
deleteFavorite(id: string): LinearFetch<
|
10882
|
+
deleteFavorite(id: string): LinearFetch<DeletePayload>;
|
10198
10883
|
/**
|
10199
10884
|
* Updates a favorite.
|
10200
10885
|
*
|
@@ -10241,9 +10926,9 @@ export declare class LinearSdk extends Request {
|
|
10241
10926
|
* Deletes an integration.
|
10242
10927
|
*
|
10243
10928
|
* @param id - required id to pass to deleteIntegration
|
10244
|
-
* @returns
|
10929
|
+
* @returns DeletePayload
|
10245
10930
|
*/
|
10246
|
-
deleteIntegration(id: string): LinearFetch<
|
10931
|
+
deleteIntegration(id: string): LinearFetch<DeletePayload>;
|
10247
10932
|
/**
|
10248
10933
|
* Integrates the organization with Discord.
|
10249
10934
|
*
|
@@ -10350,21 +11035,21 @@ export declare class LinearSdk extends Request {
|
|
10350
11035
|
*/
|
10351
11036
|
integrationSlack(code: string, redirectUri: string, variables?: Omit<L.IntegrationSlackMutationVariables, "code" | "redirectUri">): LinearFetch<IntegrationPayload>;
|
10352
11037
|
/**
|
10353
|
-
*
|
11038
|
+
* Integrates the organization with the Slack Asks app
|
10354
11039
|
*
|
10355
|
-
* @param code - required code to pass to
|
10356
|
-
* @param redirectUri - required redirectUri to pass to
|
11040
|
+
* @param code - required code to pass to integrationSlackAsks
|
11041
|
+
* @param redirectUri - required redirectUri to pass to integrationSlackAsks
|
10357
11042
|
* @returns IntegrationPayload
|
10358
11043
|
*/
|
10359
|
-
|
11044
|
+
integrationSlackAsks(code: string, redirectUri: string): LinearFetch<IntegrationPayload>;
|
10360
11045
|
/**
|
10361
|
-
*
|
11046
|
+
* Imports custom emojis from your Slack workspace.
|
10362
11047
|
*
|
10363
|
-
* @param code - required code to pass to
|
10364
|
-
* @param redirectUri - required redirectUri to pass to
|
11048
|
+
* @param code - required code to pass to integrationSlackImportEmojis
|
11049
|
+
* @param redirectUri - required redirectUri to pass to integrationSlackImportEmojis
|
10365
11050
|
* @returns IntegrationPayload
|
10366
11051
|
*/
|
10367
|
-
|
11052
|
+
integrationSlackImportEmojis(code: string, redirectUri: string): LinearFetch<IntegrationPayload>;
|
10368
11053
|
/**
|
10369
11054
|
* Slack integration for organization level project update notifications.
|
10370
11055
|
*
|
@@ -10412,9 +11097,17 @@ export declare class LinearSdk extends Request {
|
|
10412
11097
|
* Deletes a integrationTemplate.
|
10413
11098
|
*
|
10414
11099
|
* @param id - required id to pass to deleteIntegrationTemplate
|
10415
|
-
* @returns
|
11100
|
+
* @returns DeletePayload
|
11101
|
+
*/
|
11102
|
+
deleteIntegrationTemplate(id: string): LinearFetch<DeletePayload>;
|
11103
|
+
/**
|
11104
|
+
* Updates the organization's Slack integration.
|
11105
|
+
*
|
11106
|
+
* @param code - required code to pass to integrationUpdateSlack
|
11107
|
+
* @param redirectUri - required redirectUri to pass to integrationUpdateSlack
|
11108
|
+
* @returns IntegrationPayload
|
10416
11109
|
*/
|
10417
|
-
|
11110
|
+
integrationUpdateSlack(code: string, redirectUri: string): LinearFetch<IntegrationPayload>;
|
10418
11111
|
/**
|
10419
11112
|
* Integrates the organization with Zendesk.
|
10420
11113
|
*
|
@@ -10445,9 +11138,9 @@ export declare class LinearSdk extends Request {
|
|
10445
11138
|
*
|
10446
11139
|
* @param id - required id to pass to archiveIssue
|
10447
11140
|
* @param variables - variables without 'id' to pass into the ArchiveIssueMutation
|
10448
|
-
* @returns
|
11141
|
+
* @returns IssueArchivePayload
|
10449
11142
|
*/
|
10450
|
-
archiveIssue(id: string, variables?: Omit<L.ArchiveIssueMutationVariables, "id">): LinearFetch<
|
11143
|
+
archiveIssue(id: string, variables?: Omit<L.ArchiveIssueMutationVariables, "id">): LinearFetch<IssueArchivePayload>;
|
10451
11144
|
/**
|
10452
11145
|
* Updates multiple issues at once.
|
10453
11146
|
*
|
@@ -10467,9 +11160,9 @@ export declare class LinearSdk extends Request {
|
|
10467
11160
|
* Deletes (trashes) an issue.
|
10468
11161
|
*
|
10469
11162
|
* @param id - required id to pass to deleteIssue
|
10470
|
-
* @returns
|
11163
|
+
* @returns IssueArchivePayload
|
10471
11164
|
*/
|
10472
|
-
deleteIssue(id: string): LinearFetch<
|
11165
|
+
deleteIssue(id: string): LinearFetch<IssueArchivePayload>;
|
10473
11166
|
/**
|
10474
11167
|
* Kicks off an Asana import job.
|
10475
11168
|
*
|
@@ -10540,13 +11233,6 @@ export declare class LinearSdk extends Request {
|
|
10540
11233
|
* @returns IssueImportPayload
|
10541
11234
|
*/
|
10542
11235
|
updateIssueImport(id: string, input: L.IssueImportUpdateInput): LinearFetch<IssueImportPayload>;
|
10543
|
-
/**
|
10544
|
-
* Deletes an issue label.
|
10545
|
-
*
|
10546
|
-
* @param id - required id to pass to archiveIssueLabel
|
10547
|
-
* @returns ArchivePayload
|
10548
|
-
*/
|
10549
|
-
archiveIssueLabel(id: string): LinearFetch<ArchivePayload>;
|
10550
11236
|
/**
|
10551
11237
|
* Creates a new label.
|
10552
11238
|
*
|
@@ -10559,9 +11245,9 @@ export declare class LinearSdk extends Request {
|
|
10559
11245
|
* Deletes an issue label.
|
10560
11246
|
*
|
10561
11247
|
* @param id - required id to pass to deleteIssueLabel
|
10562
|
-
* @returns
|
11248
|
+
* @returns DeletePayload
|
10563
11249
|
*/
|
10564
|
-
deleteIssueLabel(id: string): LinearFetch<
|
11250
|
+
deleteIssueLabel(id: string): LinearFetch<DeletePayload>;
|
10565
11251
|
/**
|
10566
11252
|
* Updates an label.
|
10567
11253
|
*
|
@@ -10581,9 +11267,9 @@ export declare class LinearSdk extends Request {
|
|
10581
11267
|
* Deletes an issue relation.
|
10582
11268
|
*
|
10583
11269
|
* @param id - required id to pass to deleteIssueRelation
|
10584
|
-
* @returns
|
11270
|
+
* @returns DeletePayload
|
10585
11271
|
*/
|
10586
|
-
deleteIssueRelation(id: string): LinearFetch<
|
11272
|
+
deleteIssueRelation(id: string): LinearFetch<DeletePayload>;
|
10587
11273
|
/**
|
10588
11274
|
* Updates an issue relation.
|
10589
11275
|
*
|
@@ -10604,9 +11290,9 @@ export declare class LinearSdk extends Request {
|
|
10604
11290
|
* Unarchives an issue.
|
10605
11291
|
*
|
10606
11292
|
* @param id - required id to pass to unarchiveIssue
|
10607
|
-
* @returns
|
11293
|
+
* @returns IssueArchivePayload
|
10608
11294
|
*/
|
10609
|
-
unarchiveIssue(id: string): LinearFetch<
|
11295
|
+
unarchiveIssue(id: string): LinearFetch<IssueArchivePayload>;
|
10610
11296
|
/**
|
10611
11297
|
* Updates an issue.
|
10612
11298
|
*
|
@@ -10639,11 +11325,41 @@ export declare class LinearSdk extends Request {
|
|
10639
11325
|
* Archives a notification.
|
10640
11326
|
*
|
10641
11327
|
* @param id - required id to pass to archiveNotification
|
10642
|
-
* @returns
|
11328
|
+
* @returns NotificationArchivePayload
|
11329
|
+
*/
|
11330
|
+
archiveNotification(id: string): LinearFetch<NotificationArchivePayload>;
|
11331
|
+
/**
|
11332
|
+
* Archives all of the user's past notifications for the associated entity.
|
11333
|
+
*
|
11334
|
+
* @param input - required input to pass to notificationArchiveAll
|
11335
|
+
* @returns NotificationBatchActionPayload
|
11336
|
+
*/
|
11337
|
+
notificationArchiveAll(input: L.NotificationEntityInput): LinearFetch<NotificationBatchActionPayload>;
|
11338
|
+
/**
|
11339
|
+
* Marks all past notifications for the associated entity as read.
|
11340
|
+
*
|
11341
|
+
* @param input - required input to pass to notificationMarkReadAll
|
11342
|
+
* @param readAt - required readAt to pass to notificationMarkReadAll
|
11343
|
+
* @returns NotificationBatchActionPayload
|
11344
|
+
*/
|
11345
|
+
notificationMarkReadAll(input: L.NotificationEntityInput, readAt: Date): LinearFetch<NotificationBatchActionPayload>;
|
11346
|
+
/**
|
11347
|
+
* Marks all past notifications for the associated entity as unread.
|
11348
|
+
*
|
11349
|
+
* @param input - required input to pass to notificationMarkUnreadAll
|
11350
|
+
* @returns NotificationBatchActionPayload
|
11351
|
+
*/
|
11352
|
+
notificationMarkUnreadAll(input: L.NotificationEntityInput): LinearFetch<NotificationBatchActionPayload>;
|
11353
|
+
/**
|
11354
|
+
* Snoozes a notification and all past notifications for the associated entity.
|
11355
|
+
*
|
11356
|
+
* @param input - required input to pass to notificationSnoozeAll
|
11357
|
+
* @param snoozedUntilAt - required snoozedUntilAt to pass to notificationSnoozeAll
|
11358
|
+
* @returns NotificationBatchActionPayload
|
10643
11359
|
*/
|
10644
|
-
|
11360
|
+
notificationSnoozeAll(input: L.NotificationEntityInput, snoozedUntilAt: Date): LinearFetch<NotificationBatchActionPayload>;
|
10645
11361
|
/**
|
10646
|
-
* Creates a new notification subscription for a
|
11362
|
+
* Creates a new notification subscription for a cycle, custom view, label, project or team.
|
10647
11363
|
*
|
10648
11364
|
* @param input - required input to pass to createNotificationSubscription
|
10649
11365
|
* @returns NotificationSubscriptionPayload
|
@@ -10653,9 +11369,9 @@ export declare class LinearSdk extends Request {
|
|
10653
11369
|
* Deletes a notification subscription reference.
|
10654
11370
|
*
|
10655
11371
|
* @param id - required id to pass to deleteNotificationSubscription
|
10656
|
-
* @returns
|
11372
|
+
* @returns DeletePayload
|
10657
11373
|
*/
|
10658
|
-
deleteNotificationSubscription(id: string): LinearFetch<
|
11374
|
+
deleteNotificationSubscription(id: string): LinearFetch<DeletePayload>;
|
10659
11375
|
/**
|
10660
11376
|
* Updates a notification subscription.
|
10661
11377
|
*
|
@@ -10668,9 +11384,17 @@ export declare class LinearSdk extends Request {
|
|
10668
11384
|
* Unarchives a notification.
|
10669
11385
|
*
|
10670
11386
|
* @param id - required id to pass to unarchiveNotification
|
10671
|
-
* @returns
|
11387
|
+
* @returns NotificationArchivePayload
|
11388
|
+
*/
|
11389
|
+
unarchiveNotification(id: string): LinearFetch<NotificationArchivePayload>;
|
11390
|
+
/**
|
11391
|
+
* Unsnoozes a notification and all past notifications for the associated entity.
|
11392
|
+
*
|
11393
|
+
* @param input - required input to pass to notificationUnsnoozeAll
|
11394
|
+
* @param unsnoozedAt - required unsnoozedAt to pass to notificationUnsnoozeAll
|
11395
|
+
* @returns NotificationBatchActionPayload
|
10672
11396
|
*/
|
10673
|
-
|
11397
|
+
notificationUnsnoozeAll(input: L.NotificationEntityInput, unsnoozedAt: Date): LinearFetch<NotificationBatchActionPayload>;
|
10674
11398
|
/**
|
10675
11399
|
* Updates a notification.
|
10676
11400
|
*
|
@@ -10702,9 +11426,9 @@ export declare class LinearSdk extends Request {
|
|
10702
11426
|
* Deletes a domain.
|
10703
11427
|
*
|
10704
11428
|
* @param id - required id to pass to deleteOrganizationDomain
|
10705
|
-
* @returns
|
11429
|
+
* @returns DeletePayload
|
10706
11430
|
*/
|
10707
|
-
deleteOrganizationDomain(id: string): LinearFetch<
|
11431
|
+
deleteOrganizationDomain(id: string): LinearFetch<DeletePayload>;
|
10708
11432
|
/**
|
10709
11433
|
* Creates a new organization invite.
|
10710
11434
|
*
|
@@ -10716,9 +11440,9 @@ export declare class LinearSdk extends Request {
|
|
10716
11440
|
* Deletes an organization invite.
|
10717
11441
|
*
|
10718
11442
|
* @param id - required id to pass to deleteOrganizationInvite
|
10719
|
-
* @returns
|
11443
|
+
* @returns DeletePayload
|
10720
11444
|
*/
|
10721
|
-
deleteOrganizationInvite(id: string): LinearFetch<
|
11445
|
+
deleteOrganizationInvite(id: string): LinearFetch<DeletePayload>;
|
10722
11446
|
/**
|
10723
11447
|
* Updates an organization invite.
|
10724
11448
|
*
|
@@ -10744,9 +11468,9 @@ export declare class LinearSdk extends Request {
|
|
10744
11468
|
* Archives a project.
|
10745
11469
|
*
|
10746
11470
|
* @param id - required id to pass to archiveProject
|
10747
|
-
* @returns
|
11471
|
+
* @returns ProjectArchivePayload
|
10748
11472
|
*/
|
10749
|
-
archiveProject(id: string): LinearFetch<
|
11473
|
+
archiveProject(id: string): LinearFetch<ProjectArchivePayload>;
|
10750
11474
|
/**
|
10751
11475
|
* Creates a new project.
|
10752
11476
|
*
|
@@ -10758,9 +11482,9 @@ export declare class LinearSdk extends Request {
|
|
10758
11482
|
* Deletes a project. All issues will be disassociated from the deleted project.
|
10759
11483
|
*
|
10760
11484
|
* @param id - required id to pass to deleteProject
|
10761
|
-
* @returns
|
11485
|
+
* @returns DeletePayload
|
10762
11486
|
*/
|
10763
|
-
deleteProject(id: string): LinearFetch<
|
11487
|
+
deleteProject(id: string): LinearFetch<DeletePayload>;
|
10764
11488
|
/**
|
10765
11489
|
* Creates a new project link.
|
10766
11490
|
*
|
@@ -10772,9 +11496,9 @@ export declare class LinearSdk extends Request {
|
|
10772
11496
|
* Deletes a project link.
|
10773
11497
|
*
|
10774
11498
|
* @param id - required id to pass to deleteProjectLink
|
10775
|
-
* @returns
|
11499
|
+
* @returns DeletePayload
|
10776
11500
|
*/
|
10777
|
-
deleteProjectLink(id: string): LinearFetch<
|
11501
|
+
deleteProjectLink(id: string): LinearFetch<DeletePayload>;
|
10778
11502
|
/**
|
10779
11503
|
* Updates a project link.
|
10780
11504
|
*
|
@@ -10794,9 +11518,9 @@ export declare class LinearSdk extends Request {
|
|
10794
11518
|
* Deletes a project milestone.
|
10795
11519
|
*
|
10796
11520
|
* @param id - required id to pass to deleteProjectMilestone
|
10797
|
-
* @returns
|
11521
|
+
* @returns DeletePayload
|
10798
11522
|
*/
|
10799
|
-
deleteProjectMilestone(id: string): LinearFetch<
|
11523
|
+
deleteProjectMilestone(id: string): LinearFetch<DeletePayload>;
|
10800
11524
|
/**
|
10801
11525
|
* Updates a project milestone.
|
10802
11526
|
*
|
@@ -10809,9 +11533,9 @@ export declare class LinearSdk extends Request {
|
|
10809
11533
|
* Unarchives a project.
|
10810
11534
|
*
|
10811
11535
|
* @param id - required id to pass to unarchiveProject
|
10812
|
-
* @returns
|
11536
|
+
* @returns ProjectArchivePayload
|
10813
11537
|
*/
|
10814
|
-
unarchiveProject(id: string): LinearFetch<
|
11538
|
+
unarchiveProject(id: string): LinearFetch<ProjectArchivePayload>;
|
10815
11539
|
/**
|
10816
11540
|
* Updates a project.
|
10817
11541
|
*
|
@@ -10831,9 +11555,9 @@ export declare class LinearSdk extends Request {
|
|
10831
11555
|
* Deletes a project update.
|
10832
11556
|
*
|
10833
11557
|
* @param id - required id to pass to deleteProjectUpdate
|
10834
|
-
* @returns
|
11558
|
+
* @returns DeletePayload
|
10835
11559
|
*/
|
10836
|
-
deleteProjectUpdate(id: string): LinearFetch<
|
11560
|
+
deleteProjectUpdate(id: string): LinearFetch<DeletePayload>;
|
10837
11561
|
/**
|
10838
11562
|
* Creates a new interaction on a project update.
|
10839
11563
|
*
|
@@ -10881,9 +11605,9 @@ export declare class LinearSdk extends Request {
|
|
10881
11605
|
* Deletes a reaction.
|
10882
11606
|
*
|
10883
11607
|
* @param id - required id to pass to deleteReaction
|
10884
|
-
* @returns
|
11608
|
+
* @returns DeletePayload
|
10885
11609
|
*/
|
10886
|
-
deleteReaction(id: string): LinearFetch<
|
11610
|
+
deleteReaction(id: string): LinearFetch<DeletePayload>;
|
10887
11611
|
/**
|
10888
11612
|
* Manually update Google Sheets data.
|
10889
11613
|
*
|
@@ -10895,16 +11619,16 @@ export declare class LinearSdk extends Request {
|
|
10895
11619
|
* Re-send an organization invite.
|
10896
11620
|
*
|
10897
11621
|
* @param id - required id to pass to resendOrganizationInvite
|
10898
|
-
* @returns
|
11622
|
+
* @returns DeletePayload
|
10899
11623
|
*/
|
10900
|
-
resendOrganizationInvite(id: string): LinearFetch<
|
11624
|
+
resendOrganizationInvite(id: string): LinearFetch<DeletePayload>;
|
10901
11625
|
/**
|
10902
11626
|
* Archives a roadmap.
|
10903
11627
|
*
|
10904
11628
|
* @param id - required id to pass to archiveRoadmap
|
10905
|
-
* @returns
|
11629
|
+
* @returns RoadmapArchivePayload
|
10906
11630
|
*/
|
10907
|
-
archiveRoadmap(id: string): LinearFetch<
|
11631
|
+
archiveRoadmap(id: string): LinearFetch<RoadmapArchivePayload>;
|
10908
11632
|
/**
|
10909
11633
|
* Creates a new roadmap.
|
10910
11634
|
*
|
@@ -10916,9 +11640,9 @@ export declare class LinearSdk extends Request {
|
|
10916
11640
|
* Deletes a roadmap.
|
10917
11641
|
*
|
10918
11642
|
* @param id - required id to pass to deleteRoadmap
|
10919
|
-
* @returns
|
11643
|
+
* @returns DeletePayload
|
10920
11644
|
*/
|
10921
|
-
deleteRoadmap(id: string): LinearFetch<
|
11645
|
+
deleteRoadmap(id: string): LinearFetch<DeletePayload>;
|
10922
11646
|
/**
|
10923
11647
|
* Creates a new roadmapToProject join.
|
10924
11648
|
*
|
@@ -10930,9 +11654,9 @@ export declare class LinearSdk extends Request {
|
|
10930
11654
|
* Deletes a roadmapToProject.
|
10931
11655
|
*
|
10932
11656
|
* @param id - required id to pass to deleteRoadmapToProject
|
10933
|
-
* @returns
|
11657
|
+
* @returns DeletePayload
|
10934
11658
|
*/
|
10935
|
-
deleteRoadmapToProject(id: string): LinearFetch<
|
11659
|
+
deleteRoadmapToProject(id: string): LinearFetch<DeletePayload>;
|
10936
11660
|
/**
|
10937
11661
|
* Updates a roadmapToProject.
|
10938
11662
|
*
|
@@ -10945,9 +11669,9 @@ export declare class LinearSdk extends Request {
|
|
10945
11669
|
* Unarchives a roadmap.
|
10946
11670
|
*
|
10947
11671
|
* @param id - required id to pass to unarchiveRoadmap
|
10948
|
-
* @returns
|
11672
|
+
* @returns RoadmapArchivePayload
|
10949
11673
|
*/
|
10950
|
-
unarchiveRoadmap(id: string): LinearFetch<
|
11674
|
+
unarchiveRoadmap(id: string): LinearFetch<RoadmapArchivePayload>;
|
10951
11675
|
/**
|
10952
11676
|
* Updates a roadmap.
|
10953
11677
|
*
|
@@ -10982,16 +11706,16 @@ export declare class LinearSdk extends Request {
|
|
10982
11706
|
* Deletes a team.
|
10983
11707
|
*
|
10984
11708
|
* @param id - required id to pass to deleteTeam
|
10985
|
-
* @returns
|
11709
|
+
* @returns DeletePayload
|
10986
11710
|
*/
|
10987
|
-
deleteTeam(id: string): LinearFetch<
|
11711
|
+
deleteTeam(id: string): LinearFetch<DeletePayload>;
|
10988
11712
|
/**
|
10989
11713
|
* Deletes a previously used team key.
|
10990
11714
|
*
|
10991
11715
|
* @param id - required id to pass to deleteTeamKey
|
10992
|
-
* @returns
|
11716
|
+
* @returns DeletePayload
|
10993
11717
|
*/
|
10994
|
-
deleteTeamKey(id: string): LinearFetch<
|
11718
|
+
deleteTeamKey(id: string): LinearFetch<DeletePayload>;
|
10995
11719
|
/**
|
10996
11720
|
* Creates a new team membership.
|
10997
11721
|
*
|
@@ -11003,9 +11727,9 @@ export declare class LinearSdk extends Request {
|
|
11003
11727
|
* Deletes a team membership.
|
11004
11728
|
*
|
11005
11729
|
* @param id - required id to pass to deleteTeamMembership
|
11006
|
-
* @returns
|
11730
|
+
* @returns DeletePayload
|
11007
11731
|
*/
|
11008
|
-
deleteTeamMembership(id: string): LinearFetch<
|
11732
|
+
deleteTeamMembership(id: string): LinearFetch<DeletePayload>;
|
11009
11733
|
/**
|
11010
11734
|
* Updates a team membership.
|
11011
11735
|
*
|
@@ -11033,9 +11757,9 @@ export declare class LinearSdk extends Request {
|
|
11033
11757
|
* Deletes a template.
|
11034
11758
|
*
|
11035
11759
|
* @param id - required id to pass to deleteTemplate
|
11036
|
-
* @returns
|
11760
|
+
* @returns DeletePayload
|
11037
11761
|
*/
|
11038
|
-
deleteTemplate(id: string): LinearFetch<
|
11762
|
+
deleteTemplate(id: string): LinearFetch<DeletePayload>;
|
11039
11763
|
/**
|
11040
11764
|
* Updates an existing template.
|
11041
11765
|
*
|
@@ -11171,9 +11895,9 @@ export declare class LinearSdk extends Request {
|
|
11171
11895
|
* Deletes a ViewPreferences.
|
11172
11896
|
*
|
11173
11897
|
* @param id - required id to pass to deleteViewPreferences
|
11174
|
-
* @returns
|
11898
|
+
* @returns DeletePayload
|
11175
11899
|
*/
|
11176
|
-
deleteViewPreferences(id: string): LinearFetch<
|
11900
|
+
deleteViewPreferences(id: string): LinearFetch<DeletePayload>;
|
11177
11901
|
/**
|
11178
11902
|
* Updates an existing ViewPreferences object.
|
11179
11903
|
*
|
@@ -11193,9 +11917,9 @@ export declare class LinearSdk extends Request {
|
|
11193
11917
|
* Deletes a Webhook.
|
11194
11918
|
*
|
11195
11919
|
* @param id - required id to pass to deleteWebhook
|
11196
|
-
* @returns
|
11920
|
+
* @returns DeletePayload
|
11197
11921
|
*/
|
11198
|
-
deleteWebhook(id: string): LinearFetch<
|
11922
|
+
deleteWebhook(id: string): LinearFetch<DeletePayload>;
|
11199
11923
|
/**
|
11200
11924
|
* Updates an existing Webhook.
|
11201
11925
|
*
|
@@ -11208,9 +11932,9 @@ export declare class LinearSdk extends Request {
|
|
11208
11932
|
* Archives a state. Only states with issues that have all been archived can be archived.
|
11209
11933
|
*
|
11210
11934
|
* @param id - required id to pass to archiveWorkflowState
|
11211
|
-
* @returns
|
11935
|
+
* @returns WorkflowStateArchivePayload
|
11212
11936
|
*/
|
11213
|
-
archiveWorkflowState(id: string): LinearFetch<
|
11937
|
+
archiveWorkflowState(id: string): LinearFetch<WorkflowStateArchivePayload>;
|
11214
11938
|
/**
|
11215
11939
|
* Creates a new state, adding it to the workflow of a team.
|
11216
11940
|
*
|
@@ -11377,6 +12101,13 @@ export declare class LinearSdk extends Request {
|
|
11377
12101
|
* @returns DocumentConnection
|
11378
12102
|
*/
|
11379
12103
|
documents(variables?: L.DocumentsQueryVariables): LinearFetch<DocumentConnection>;
|
12104
|
+
/**
|
12105
|
+
* Returns embed info for any url
|
12106
|
+
*
|
12107
|
+
* @param url - required url to pass to embedInfo
|
12108
|
+
* @returns EmbedPayload
|
12109
|
+
*/
|
12110
|
+
embedInfo(url: string): LinearFetch<EmbedPayload>;
|
11380
12111
|
/**
|
11381
12112
|
* A specific emoji.
|
11382
12113
|
*
|
@@ -11519,6 +12250,13 @@ export declare class LinearSdk extends Request {
|
|
11519
12250
|
* @returns IssueRelationConnection
|
11520
12251
|
*/
|
11521
12252
|
issueRelations(variables?: L.IssueRelationsQueryVariables): LinearFetch<IssueRelationConnection>;
|
12253
|
+
/**
|
12254
|
+
* [DEPRECATED] Search issues. This endpoint is deprecated and will be removed in the future – use `searchIssues` instead.
|
12255
|
+
*
|
12256
|
+
* @param variables - variables to pass into the IssueSearchQuery
|
12257
|
+
* @returns IssueConnection
|
12258
|
+
*/
|
12259
|
+
issueSearch(variables?: L.IssueSearchQueryVariables): LinearFetch<IssueConnection>;
|
11522
12260
|
/**
|
11523
12261
|
* Find issue based on the VCS branch name.
|
11524
12262
|
*
|
@@ -11546,7 +12284,7 @@ export declare class LinearSdk extends Request {
|
|
11546
12284
|
* @param id - required id to pass to notificationSubscription
|
11547
12285
|
* @returns NotificationSubscription
|
11548
12286
|
*/
|
11549
|
-
notificationSubscription(id: string): LinearFetch<ProjectNotificationSubscription | TeamNotificationSubscription | NotificationSubscription>;
|
12287
|
+
notificationSubscription(id: string): LinearFetch<CustomViewNotificationSubscription | CycleNotificationSubscription | LabelNotificationSubscription | ProjectNotificationSubscription | TeamNotificationSubscription | UserNotificationSubscription | NotificationSubscription>;
|
11550
12288
|
/**
|
11551
12289
|
* The user's notification subscriptions.
|
11552
12290
|
*
|
@@ -11764,6 +12502,13 @@ export declare class LinearSdk extends Request {
|
|
11764
12502
|
* @returns Template[]
|
11765
12503
|
*/
|
11766
12504
|
get templates(): LinearFetch<Template[]>;
|
12505
|
+
/**
|
12506
|
+
* Returns all templates that are associated with the integration type.
|
12507
|
+
*
|
12508
|
+
* @param integrationType - required integrationType to pass to templatesForIntegration
|
12509
|
+
* @returns Template[]
|
12510
|
+
*/
|
12511
|
+
templatesForIntegration(integrationType: string): LinearFetch<Template[]>;
|
11767
12512
|
/**
|
11768
12513
|
* One specific user.
|
11769
12514
|
*
|