@linear/sdk 7.0.1 → 9.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_generated_documents.d.ts +1534 -421
- package/dist/_generated_documents.d.ts.map +1 -1
- package/dist/_generated_sdk.d.ts +981 -279
- package/dist/_generated_sdk.d.ts.map +1 -1
- package/dist/index-cjs.js +4228 -1533
- 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 +4187 -1522
- 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 +4227 -1529
- 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 +2 -2
- package/CHANGELOG.md +0 -5904
package/dist/_generated_sdk.d.ts
CHANGED
@@ -57,6 +57,26 @@ export declare class Connection<Node> extends LinearConnection<Node> {
|
|
57
57
|
/** Fetch the previous page of results and prepend to nodes */
|
58
58
|
fetchPrevious(): Promise<this>;
|
59
59
|
}
|
60
|
+
/**
|
61
|
+
* A bot actor is an actor that is not a user, but an application or integration.
|
62
|
+
*
|
63
|
+
* @param request - function to call the graphql client
|
64
|
+
* @param data - L.ActorBotFragment response data
|
65
|
+
*/
|
66
|
+
export declare class ActorBot extends Request {
|
67
|
+
constructor(request: LinearRequest, data: L.ActorBotFragment);
|
68
|
+
/** A url pointing to the avatar representing this bot. */
|
69
|
+
avatarUrl?: string;
|
70
|
+
id: string;
|
71
|
+
/** The display name of the bot. */
|
72
|
+
name?: string;
|
73
|
+
/** The sub type of the bot. */
|
74
|
+
subType?: string;
|
75
|
+
/** The type of bot. */
|
76
|
+
type: string;
|
77
|
+
/** The display name of the external user on behalf of which the bot acted. */
|
78
|
+
userDisplayName?: string;
|
79
|
+
}
|
60
80
|
/**
|
61
81
|
* An API key. Grants access to the user's resources.
|
62
82
|
*
|
@@ -162,6 +182,24 @@ export declare class ArchiveResponse extends Request {
|
|
162
182
|
/** The total number of entities in the archive. */
|
163
183
|
totalCount: number;
|
164
184
|
}
|
185
|
+
/**
|
186
|
+
* AsksChannelConnectPayload model
|
187
|
+
*
|
188
|
+
* @param request - function to call the graphql client
|
189
|
+
* @param data - L.AsksChannelConnectPayloadFragment response data
|
190
|
+
*/
|
191
|
+
export declare class AsksChannelConnectPayload extends Request {
|
192
|
+
private _integration?;
|
193
|
+
constructor(request: LinearRequest, data: L.AsksChannelConnectPayloadFragment);
|
194
|
+
/** The identifier of the last sync operation. */
|
195
|
+
lastSyncId: number;
|
196
|
+
/** Whether the operation was successful. */
|
197
|
+
success: boolean;
|
198
|
+
/** The new Asks Slack channel mapping for the connected channel. */
|
199
|
+
mapping: SlackChannelNameMapping;
|
200
|
+
/** The integration that was created or updated. */
|
201
|
+
get integration(): LinearFetch<Integration> | undefined;
|
202
|
+
}
|
165
203
|
/**
|
166
204
|
* Issue attachment (e.g. support ticket, pull request).
|
167
205
|
*
|
@@ -324,6 +362,77 @@ export declare class AuditEntryType extends Request {
|
|
324
362
|
/** The audit entry type. */
|
325
363
|
type: string;
|
326
364
|
}
|
365
|
+
/**
|
366
|
+
* AuthApiKey model
|
367
|
+
*
|
368
|
+
* @param request - function to call the graphql client
|
369
|
+
* @param data - L.AuthApiKeyFragment response data
|
370
|
+
*/
|
371
|
+
export declare class AuthApiKey extends Request {
|
372
|
+
constructor(request: LinearRequest, data: L.AuthApiKeyFragment);
|
373
|
+
/** The unique identifier of the entity. */
|
374
|
+
id: string;
|
375
|
+
}
|
376
|
+
/**
|
377
|
+
* AuthApiKeyDeletePayload model
|
378
|
+
*
|
379
|
+
* @param request - function to call the graphql client
|
380
|
+
* @param data - L.AuthApiKeyDeletePayloadFragment response data
|
381
|
+
*/
|
382
|
+
export declare class AuthApiKeyDeletePayload extends Request {
|
383
|
+
constructor(request: LinearRequest, data: L.AuthApiKeyDeletePayloadFragment);
|
384
|
+
/** Whether the operation was successful. */
|
385
|
+
success: boolean;
|
386
|
+
}
|
387
|
+
/**
|
388
|
+
* AuthApiKeyPayload model
|
389
|
+
*
|
390
|
+
* @param request - function to call the graphql client
|
391
|
+
* @param data - L.AuthApiKeyPayloadFragment response data
|
392
|
+
*/
|
393
|
+
export declare class AuthApiKeyPayload extends Request {
|
394
|
+
constructor(request: LinearRequest, data: L.AuthApiKeyPayloadFragment);
|
395
|
+
/** Whether the operation was successful. */
|
396
|
+
success: boolean;
|
397
|
+
/** The auth API key that was created. */
|
398
|
+
authApiKey: AuthApiKey;
|
399
|
+
}
|
400
|
+
/**
|
401
|
+
* AuthIntegration model
|
402
|
+
*
|
403
|
+
* @param request - function to call the graphql client
|
404
|
+
* @param data - L.AuthIntegrationFragment response data
|
405
|
+
*/
|
406
|
+
export declare class AuthIntegration extends Request {
|
407
|
+
constructor(request: LinearRequest, data: L.AuthIntegrationFragment);
|
408
|
+
/** The unique identifier of the entity. */
|
409
|
+
id: string;
|
410
|
+
}
|
411
|
+
/**
|
412
|
+
* An organization. Organizations are root-level objects that contain users and teams.
|
413
|
+
*
|
414
|
+
* @param request - function to call the graphql client
|
415
|
+
* @param data - L.AuthOrganizationFragment response data
|
416
|
+
*/
|
417
|
+
export declare class AuthOrganization extends Request {
|
418
|
+
constructor(request: LinearRequest, data: L.AuthOrganizationFragment);
|
419
|
+
/** Allowed authentication providers, empty array means all are allowed */
|
420
|
+
allowedAuthServices: string[];
|
421
|
+
/** The time at which deletion of the organization was requested. */
|
422
|
+
deletionRequestedAt?: Date;
|
423
|
+
id: string;
|
424
|
+
/** The organization's logo URL. */
|
425
|
+
logoUrl?: string;
|
426
|
+
/** The organization's name. */
|
427
|
+
name: string;
|
428
|
+
/** Previously used URL keys for the organization (last 3 are kept and redirected). */
|
429
|
+
previousUrlKeys: string[];
|
430
|
+
/** Whether SAML authentication is enabled for organization. */
|
431
|
+
samlEnabled: boolean;
|
432
|
+
/** The organization's unique URL key. */
|
433
|
+
urlKey: string;
|
434
|
+
userCount: number;
|
435
|
+
}
|
327
436
|
/**
|
328
437
|
* AuthResolverResponse model
|
329
438
|
*
|
@@ -343,9 +452,105 @@ export declare class AuthResolverResponse extends Request {
|
|
343
452
|
/** JWT token for authentication of the account. */
|
344
453
|
token?: string;
|
345
454
|
/** Organizations this account has access to, but is not yet a member. */
|
346
|
-
availableOrganizations?:
|
455
|
+
availableOrganizations?: AuthOrganization[];
|
456
|
+
/** List of organizations this user account is part of but are currently locked because of the current auth service. */
|
457
|
+
lockedOrganizations?: AuthOrganization[];
|
347
458
|
/** Users belonging to this account. */
|
348
|
-
users:
|
459
|
+
users: AuthUser[];
|
460
|
+
}
|
461
|
+
/**
|
462
|
+
* A user that has access to the the resources of an organization.
|
463
|
+
*
|
464
|
+
* @param request - function to call the graphql client
|
465
|
+
* @param data - L.AuthUserFragment response data
|
466
|
+
*/
|
467
|
+
export declare class AuthUser extends Request {
|
468
|
+
constructor(request: LinearRequest, data: L.AuthUserFragment);
|
469
|
+
/** An URL to the user's avatar image. */
|
470
|
+
avatarUrl?: string;
|
471
|
+
/** The user's display (nick) name. Unique within each organization. */
|
472
|
+
displayName: string;
|
473
|
+
/** The user's email address. */
|
474
|
+
email: string;
|
475
|
+
id: string;
|
476
|
+
/** The user's full name. */
|
477
|
+
name: string;
|
478
|
+
/** Organization the user belongs to. */
|
479
|
+
organization: AuthOrganization;
|
480
|
+
}
|
481
|
+
/**
|
482
|
+
* User authentication session.
|
483
|
+
*
|
484
|
+
* @param request - function to call the graphql client
|
485
|
+
* @param data - L.AuthenticationSessionFragment response data
|
486
|
+
*/
|
487
|
+
export declare class AuthenticationSession extends Request {
|
488
|
+
constructor(request: LinearRequest, data: L.AuthenticationSessionFragment);
|
489
|
+
/** Client used for the session */
|
490
|
+
client?: string;
|
491
|
+
/** Country codes of all seen locations. */
|
492
|
+
countryCodes: string[];
|
493
|
+
/** Date when the session was created. */
|
494
|
+
createdAt: Date;
|
495
|
+
id: string;
|
496
|
+
/** IP address. */
|
497
|
+
ip?: string;
|
498
|
+
/** When was the session last seen */
|
499
|
+
lastActiveAt?: Date;
|
500
|
+
/** Human readable location */
|
501
|
+
location?: string;
|
502
|
+
/** Location city name. */
|
503
|
+
locationCity?: string;
|
504
|
+
/** Location country name. */
|
505
|
+
locationCountry?: string;
|
506
|
+
/** Location country code. */
|
507
|
+
locationCountryCode?: string;
|
508
|
+
/** Name of the session, derived from the client and operating system */
|
509
|
+
name: string;
|
510
|
+
/** Operating system used for the session */
|
511
|
+
operatingSystem?: string;
|
512
|
+
/** Date when the session was last updated. */
|
513
|
+
updatedAt: Date;
|
514
|
+
/** Session's user-agent. */
|
515
|
+
userAgent?: string;
|
516
|
+
}
|
517
|
+
/**
|
518
|
+
* AuthenticationSessionResponse model
|
519
|
+
*
|
520
|
+
* @param request - function to call the graphql client
|
521
|
+
* @param data - L.AuthenticationSessionResponseFragment response data
|
522
|
+
*/
|
523
|
+
export declare class AuthenticationSessionResponse extends Request {
|
524
|
+
constructor(request: LinearRequest, data: L.AuthenticationSessionResponseFragment);
|
525
|
+
/** Client used for the session */
|
526
|
+
client?: string;
|
527
|
+
/** Country codes of all seen locations. */
|
528
|
+
countryCodes: string[];
|
529
|
+
/** Date when the session was created. */
|
530
|
+
createdAt: Date;
|
531
|
+
id: string;
|
532
|
+
/** IP address. */
|
533
|
+
ip?: string;
|
534
|
+
/** Identifies the session used to make the request. */
|
535
|
+
isCurrentSession: boolean;
|
536
|
+
/** When was the session last seen */
|
537
|
+
lastActiveAt?: Date;
|
538
|
+
/** Human readable location */
|
539
|
+
location?: string;
|
540
|
+
/** Location city name. */
|
541
|
+
locationCity?: string;
|
542
|
+
/** Location country name. */
|
543
|
+
locationCountry?: string;
|
544
|
+
/** Location country code. */
|
545
|
+
locationCountryCode?: string;
|
546
|
+
/** Name of the session, derived from the client and operating system */
|
547
|
+
name: string;
|
548
|
+
/** Operating system used for the session */
|
549
|
+
operatingSystem?: string;
|
550
|
+
/** Date when the session was last updated. */
|
551
|
+
updatedAt: Date;
|
552
|
+
/** Session's user-agent. */
|
553
|
+
userAgent?: string;
|
349
554
|
}
|
350
555
|
/**
|
351
556
|
* A comment associated with an issue.
|
@@ -356,6 +561,8 @@ export declare class AuthResolverResponse extends Request {
|
|
356
561
|
export declare class Comment extends Request {
|
357
562
|
private _issue;
|
358
563
|
private _parent?;
|
564
|
+
private _resolvingComment?;
|
565
|
+
private _resolvingUser?;
|
359
566
|
private _user?;
|
360
567
|
constructor(request: LinearRequest, data: L.CommentFragment);
|
361
568
|
/** The time at which the entity was archived. Null if the entity has not been archived. */
|
@@ -372,6 +579,8 @@ export declare class Comment extends Request {
|
|
372
579
|
id: string;
|
373
580
|
/** Emoji reaction summary, grouped by emoji type */
|
374
581
|
reactionData: Record<string, unknown>;
|
582
|
+
/** The time the resolvingUser resolved the thread. */
|
583
|
+
resolvedAt?: Date;
|
375
584
|
/**
|
376
585
|
* The last time at which the entity was meaningfully updated, i.e. for all changes of syncable properties except those
|
377
586
|
* 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
|
@@ -380,10 +589,18 @@ export declare class Comment extends Request {
|
|
380
589
|
updatedAt: Date;
|
381
590
|
/** Comment's URL. */
|
382
591
|
url: string;
|
592
|
+
/** The bot that created the comment */
|
593
|
+
botActor?: ActorBot;
|
594
|
+
/** The document content that the comment is associated with. */
|
595
|
+
documentContent: DocumentContent;
|
383
596
|
/** The issue that the comment is associated with. */
|
384
597
|
get issue(): LinearFetch<Issue> | undefined;
|
385
598
|
/** The parent comment under which the current comment is nested. */
|
386
599
|
get parent(): LinearFetch<Comment> | undefined;
|
600
|
+
/** The comment that resolved the thread. */
|
601
|
+
get resolvingComment(): LinearFetch<Comment> | undefined;
|
602
|
+
/** The user that resolved the thread. */
|
603
|
+
get resolvingUser(): LinearFetch<User> | undefined;
|
387
604
|
/** The user who wrote the comment. */
|
388
605
|
get user(): LinearFetch<User> | undefined;
|
389
606
|
/** The children of the comment. */
|
@@ -496,10 +713,9 @@ export declare class CreateCsvExportReportPayload extends Request {
|
|
496
713
|
* @param data - L.CreateOrJoinOrganizationResponseFragment response data
|
497
714
|
*/
|
498
715
|
export declare class CreateOrJoinOrganizationResponse extends Request {
|
499
|
-
private _user;
|
500
716
|
constructor(request: LinearRequest, data: L.CreateOrJoinOrganizationResponseFragment);
|
501
|
-
|
502
|
-
|
717
|
+
organization: AuthOrganization;
|
718
|
+
user: AuthUser;
|
503
719
|
}
|
504
720
|
/**
|
505
721
|
* A custom view that has been saved by a user.
|
@@ -509,6 +725,7 @@ export declare class CreateOrJoinOrganizationResponse extends Request {
|
|
509
725
|
*/
|
510
726
|
export declare class CustomView extends Request {
|
511
727
|
private _creator;
|
728
|
+
private _owner;
|
512
729
|
private _team?;
|
513
730
|
constructor(request: LinearRequest, data: L.CustomViewFragment);
|
514
731
|
/** The time at which the entity was archived. Null if the entity has not been archived. */
|
@@ -541,6 +758,8 @@ export declare class CustomView extends Request {
|
|
541
758
|
get creator(): LinearFetch<User> | undefined;
|
542
759
|
/** The organization of the custom view. */
|
543
760
|
get organization(): LinearFetch<Organization>;
|
761
|
+
/** The user who owns the custom view. */
|
762
|
+
get owner(): LinearFetch<User> | undefined;
|
544
763
|
/** The team associated with the custom view. */
|
545
764
|
get team(): LinearFetch<Team> | undefined;
|
546
765
|
/** Creates a new custom view. */
|
@@ -560,6 +779,17 @@ export declare class CustomView extends Request {
|
|
560
779
|
export declare class CustomViewConnection extends Connection<CustomView> {
|
561
780
|
constructor(request: LinearRequest, fetch: (connection?: LinearConnectionVariables) => LinearFetch<LinearConnection<CustomView> | undefined>, data: L.CustomViewConnectionFragment);
|
562
781
|
}
|
782
|
+
/**
|
783
|
+
* CustomViewHasSubscribersPayload model
|
784
|
+
*
|
785
|
+
* @param request - function to call the graphql client
|
786
|
+
* @param data - L.CustomViewHasSubscribersPayloadFragment response data
|
787
|
+
*/
|
788
|
+
export declare class CustomViewHasSubscribersPayload extends Request {
|
789
|
+
constructor(request: LinearRequest, data: L.CustomViewHasSubscribersPayloadFragment);
|
790
|
+
/** Whether the custom view has subscribers. */
|
791
|
+
hasSubscribers: boolean;
|
792
|
+
}
|
563
793
|
/**
|
564
794
|
* A custom view notification subscription.
|
565
795
|
*
|
@@ -575,6 +805,8 @@ export declare class CustomViewNotificationSubscription extends Request {
|
|
575
805
|
private _team?;
|
576
806
|
private _user?;
|
577
807
|
constructor(request: LinearRequest, data: L.CustomViewNotificationSubscriptionFragment);
|
808
|
+
/** Whether the subscription is active or not */
|
809
|
+
active: boolean;
|
578
810
|
/** The time at which the entity was archived. Null if the entity has not been archived. */
|
579
811
|
archivedAt?: Date;
|
580
812
|
/** The time at which the entity was created. */
|
@@ -736,6 +968,8 @@ export declare class CycleNotificationSubscription extends Request {
|
|
736
968
|
private _team?;
|
737
969
|
private _user?;
|
738
970
|
constructor(request: LinearRequest, data: L.CycleNotificationSubscriptionFragment);
|
971
|
+
/** Whether the subscription is active or not */
|
972
|
+
active: boolean;
|
739
973
|
/** The time at which the entity was archived. Null if the entity has not been archived. */
|
740
974
|
archivedAt?: Date;
|
741
975
|
/** The time at which the entity was created. */
|
@@ -804,6 +1038,7 @@ export declare class DeletePayload extends Request {
|
|
804
1038
|
*/
|
805
1039
|
export declare class Document extends Request {
|
806
1040
|
private _creator;
|
1041
|
+
private _lastAppliedTemplate?;
|
807
1042
|
private _project;
|
808
1043
|
private _updatedBy;
|
809
1044
|
constructor(request: LinearRequest, data: L.DocumentFragment);
|
@@ -811,9 +1046,9 @@ export declare class Document extends Request {
|
|
811
1046
|
archivedAt?: Date;
|
812
1047
|
/** The color of the icon. */
|
813
1048
|
color?: string;
|
814
|
-
/** The
|
1049
|
+
/** The documents content in markdown format. */
|
815
1050
|
content?: string;
|
816
|
-
/** The
|
1051
|
+
/** The documents content as a Prosemirror document. */
|
817
1052
|
contentData?: Record<string, unknown>;
|
818
1053
|
/** The time at which the entity was created. */
|
819
1054
|
createdAt: Date;
|
@@ -833,6 +1068,8 @@ export declare class Document extends Request {
|
|
833
1068
|
updatedAt: Date;
|
834
1069
|
/** The user who created the document. */
|
835
1070
|
get creator(): LinearFetch<User> | undefined;
|
1071
|
+
/** The last template that was applied to this document. */
|
1072
|
+
get lastAppliedTemplate(): LinearFetch<Template> | undefined;
|
836
1073
|
/** The project that the document is associated with. */
|
837
1074
|
get project(): LinearFetch<Project> | undefined;
|
838
1075
|
/** The user who last updated the document. */
|
@@ -861,7 +1098,10 @@ export declare class DocumentConnection extends Connection<Document> {
|
|
861
1098
|
* @param data - L.DocumentContentFragment response data
|
862
1099
|
*/
|
863
1100
|
export declare class DocumentContent extends Request {
|
1101
|
+
private _document?;
|
864
1102
|
private _issue?;
|
1103
|
+
private _project?;
|
1104
|
+
private _projectMilestone?;
|
865
1105
|
constructor(request: LinearRequest, data: L.DocumentContentFragment);
|
866
1106
|
/** The time at which the entity was archived. Null if the entity has not been archived. */
|
867
1107
|
archivedAt?: Date;
|
@@ -869,6 +1109,8 @@ export declare class DocumentContent extends Request {
|
|
869
1109
|
content?: string;
|
870
1110
|
/** The document content as JSON. */
|
871
1111
|
contentData?: Record<string, unknown>;
|
1112
|
+
/** The document content state as a base64 encoded string. */
|
1113
|
+
contentState?: string;
|
872
1114
|
/** The time at which the entity was created. */
|
873
1115
|
createdAt: Date;
|
874
1116
|
/** The unique identifier of the entity. */
|
@@ -879,8 +1121,75 @@ export declare class DocumentContent extends Request {
|
|
879
1121
|
* been updated after creation.
|
880
1122
|
*/
|
881
1123
|
updatedAt: Date;
|
882
|
-
/** The
|
1124
|
+
/** The document that the content is associated with. */
|
1125
|
+
get document(): LinearFetch<Document> | undefined;
|
1126
|
+
/** The issue that the content is associated with. */
|
883
1127
|
get issue(): LinearFetch<Issue> | undefined;
|
1128
|
+
/** The project that the content is associated with. */
|
1129
|
+
get project(): LinearFetch<Project> | undefined;
|
1130
|
+
/** The project milestone that the content is associated with. */
|
1131
|
+
get projectMilestone(): LinearFetch<ProjectMilestone> | undefined;
|
1132
|
+
}
|
1133
|
+
/**
|
1134
|
+
* A document content history for a document
|
1135
|
+
*
|
1136
|
+
* @param request - function to call the graphql client
|
1137
|
+
* @param data - L.DocumentContentHistoryFragment response data
|
1138
|
+
*/
|
1139
|
+
export declare class DocumentContentHistory extends Request {
|
1140
|
+
constructor(request: LinearRequest, data: L.DocumentContentHistoryFragment);
|
1141
|
+
/** IDs of actors whose edits went into this history item. */
|
1142
|
+
actorIds: string[];
|
1143
|
+
/** The time at which the entity was archived. Null if the entity has not been archived. */
|
1144
|
+
archivedAt?: Date;
|
1145
|
+
/** The document content as JSON. */
|
1146
|
+
contentData?: Record<string, unknown>;
|
1147
|
+
/** The timestamp associated with the DocumentContent when it was originally saved */
|
1148
|
+
contentDataSnapshotAt: Date;
|
1149
|
+
/** The time at which the entity was created. */
|
1150
|
+
createdAt: Date;
|
1151
|
+
/** The unique identifier of the entity. */
|
1152
|
+
id: string;
|
1153
|
+
/**
|
1154
|
+
* The last time at which the entity was meaningfully updated, i.e. for all changes of syncable properties except those
|
1155
|
+
* 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
|
1156
|
+
* been updated after creation.
|
1157
|
+
*/
|
1158
|
+
updatedAt: Date;
|
1159
|
+
/** The document content that this history item is associated with. */
|
1160
|
+
documentContent: DocumentContent;
|
1161
|
+
}
|
1162
|
+
/**
|
1163
|
+
* DocumentContentHistoryPayload model
|
1164
|
+
*
|
1165
|
+
* @param request - function to call the graphql client
|
1166
|
+
* @param data - L.DocumentContentHistoryPayloadFragment response data
|
1167
|
+
*/
|
1168
|
+
export declare class DocumentContentHistoryPayload extends Request {
|
1169
|
+
constructor(request: LinearRequest, data: L.DocumentContentHistoryPayloadFragment);
|
1170
|
+
/** Whether the operation was successful. */
|
1171
|
+
success: boolean;
|
1172
|
+
/** The document content history entries. */
|
1173
|
+
history?: DocumentContentHistoryType[];
|
1174
|
+
}
|
1175
|
+
/**
|
1176
|
+
* DocumentContentHistoryType model
|
1177
|
+
*
|
1178
|
+
* @param request - function to call the graphql client
|
1179
|
+
* @param data - L.DocumentContentHistoryTypeFragment response data
|
1180
|
+
*/
|
1181
|
+
export declare class DocumentContentHistoryType extends Request {
|
1182
|
+
constructor(request: LinearRequest, data: L.DocumentContentHistoryTypeFragment);
|
1183
|
+
/** The ID of the author of the change. */
|
1184
|
+
actorIds?: string[];
|
1185
|
+
/** The document content as Prosemirror document. */
|
1186
|
+
contentData: Record<string, unknown>;
|
1187
|
+
/** The date when the document content history snapshot was taken. This can be different than createdAt since the content is captured from its state at the previously known updatedAt timestamp in the case of an update. On document create, these timestamps can be the same. */
|
1188
|
+
contentDataSnapshotAt: Date;
|
1189
|
+
/** The date when the document content history entry was created. */
|
1190
|
+
createdAt: Date;
|
1191
|
+
/** The UUID of the document content history entry. */
|
1192
|
+
id: string;
|
884
1193
|
}
|
885
1194
|
/**
|
886
1195
|
* DocumentPayload model
|
@@ -921,6 +1230,7 @@ export declare class DocumentSearchPayload extends Request {
|
|
921
1230
|
*/
|
922
1231
|
export declare class DocumentSearchResult extends Request {
|
923
1232
|
private _creator;
|
1233
|
+
private _lastAppliedTemplate?;
|
924
1234
|
private _project;
|
925
1235
|
private _updatedBy;
|
926
1236
|
constructor(request: LinearRequest, data: L.DocumentSearchResultFragment);
|
@@ -928,9 +1238,9 @@ export declare class DocumentSearchResult extends Request {
|
|
928
1238
|
archivedAt?: Date;
|
929
1239
|
/** The color of the icon. */
|
930
1240
|
color?: string;
|
931
|
-
/** The
|
1241
|
+
/** The documents content in markdown format. */
|
932
1242
|
content?: string;
|
933
|
-
/** The
|
1243
|
+
/** The documents content as a Prosemirror document. */
|
934
1244
|
contentData?: Record<string, unknown>;
|
935
1245
|
/** The time at which the entity was created. */
|
936
1246
|
createdAt: Date;
|
@@ -952,6 +1262,8 @@ export declare class DocumentSearchResult extends Request {
|
|
952
1262
|
updatedAt: Date;
|
953
1263
|
/** The user who created the document. */
|
954
1264
|
get creator(): LinearFetch<User> | undefined;
|
1265
|
+
/** The last template that was applied to this document. */
|
1266
|
+
get lastAppliedTemplate(): LinearFetch<Template> | undefined;
|
955
1267
|
/** The project that the document is associated with. */
|
956
1268
|
get project(): LinearFetch<Project> | undefined;
|
957
1269
|
/** The user who last updated the document. */
|
@@ -991,52 +1303,6 @@ export declare class EmailUserAccountAuthChallengeResponse extends Request {
|
|
991
1303
|
/** Whether the operation was successful. */
|
992
1304
|
success: boolean;
|
993
1305
|
}
|
994
|
-
/**
|
995
|
-
* Information for creating embedded content for the provided URL
|
996
|
-
*
|
997
|
-
* @param request - function to call the graphql client
|
998
|
-
* @param data - L.EmbedFragment response data
|
999
|
-
*/
|
1000
|
-
export declare class Embed extends Request {
|
1001
|
-
constructor(request: LinearRequest, data: L.EmbedFragment);
|
1002
|
-
/** The name of the author/owner of the resource */
|
1003
|
-
authorName?: string;
|
1004
|
-
/** The description of the content */
|
1005
|
-
description?: string;
|
1006
|
-
/** The height of embedded content (photo, video, rich) */
|
1007
|
-
height?: number;
|
1008
|
-
/** The HTML (video, rich) */
|
1009
|
-
html?: string;
|
1010
|
-
/** The name of the provider */
|
1011
|
-
providerName?: string;
|
1012
|
-
/** The height of the thumbnail preview image */
|
1013
|
-
thumbnailHeight?: number;
|
1014
|
-
/** The URL of the thumbnail preview image */
|
1015
|
-
thumbnailUrl?: string;
|
1016
|
-
/** The width of the thumbnail preview image */
|
1017
|
-
thumbnailWidth?: number;
|
1018
|
-
/** Title for the returned embed view */
|
1019
|
-
title?: string;
|
1020
|
-
/** The type of embed */
|
1021
|
-
type: string;
|
1022
|
-
/** The asset URL (photo) */
|
1023
|
-
url?: string;
|
1024
|
-
/** The width of embedded content (photo, video, rich) */
|
1025
|
-
width?: number;
|
1026
|
-
}
|
1027
|
-
/**
|
1028
|
-
* EmbedPayload model
|
1029
|
-
*
|
1030
|
-
* @param request - function to call the graphql client
|
1031
|
-
* @param data - L.EmbedPayloadFragment response data
|
1032
|
-
*/
|
1033
|
-
export declare class EmbedPayload extends Request {
|
1034
|
-
constructor(request: LinearRequest, data: L.EmbedPayloadFragment);
|
1035
|
-
/** Whether the query was successful */
|
1036
|
-
success: boolean;
|
1037
|
-
/** Embed information */
|
1038
|
-
embed?: Embed;
|
1039
|
-
}
|
1040
1306
|
/**
|
1041
1307
|
* A custom emoji.
|
1042
1308
|
*
|
@@ -1219,77 +1485,6 @@ export declare class FavoritePayload extends Request {
|
|
1219
1485
|
/** The object that was added as a favorite. */
|
1220
1486
|
get favorite(): LinearFetch<Favorite> | undefined;
|
1221
1487
|
}
|
1222
|
-
/**
|
1223
|
-
* Object representing Figma preview information.
|
1224
|
-
*
|
1225
|
-
* @param request - function to call the graphql client
|
1226
|
-
* @param data - L.FigmaEmbedFragment response data
|
1227
|
-
*/
|
1228
|
-
export declare class FigmaEmbed extends Request {
|
1229
|
-
constructor(request: LinearRequest, data: L.FigmaEmbedFragment);
|
1230
|
-
/** Date when the file was updated at the time of embedding. */
|
1231
|
-
lastModified: Date;
|
1232
|
-
/** Figma file name. */
|
1233
|
-
name: string;
|
1234
|
-
/** Node name. */
|
1235
|
-
nodeName?: string;
|
1236
|
-
/** Figma screenshot URL. */
|
1237
|
-
url?: string;
|
1238
|
-
}
|
1239
|
-
/**
|
1240
|
-
* FigmaEmbedPayload model
|
1241
|
-
*
|
1242
|
-
* @param request - function to call the graphql client
|
1243
|
-
* @param data - L.FigmaEmbedPayloadFragment response data
|
1244
|
-
*/
|
1245
|
-
export declare class FigmaEmbedPayload extends Request {
|
1246
|
-
constructor(request: LinearRequest, data: L.FigmaEmbedPayloadFragment);
|
1247
|
-
/** Whether the operation was successful. */
|
1248
|
-
success: boolean;
|
1249
|
-
/** Figma embed information. */
|
1250
|
-
figmaEmbed?: FigmaEmbed;
|
1251
|
-
}
|
1252
|
-
/**
|
1253
|
-
* A schedule for a team's first responder.
|
1254
|
-
*
|
1255
|
-
* @param request - function to call the graphql client
|
1256
|
-
* @param data - L.FirstResponderScheduleFragment response data
|
1257
|
-
*/
|
1258
|
-
export declare class FirstResponderSchedule extends Request {
|
1259
|
-
private _integration;
|
1260
|
-
private _team;
|
1261
|
-
constructor(request: LinearRequest, data: L.FirstResponderScheduleFragment);
|
1262
|
-
/** The time at which the entity was archived. Null if the entity has not been archived. */
|
1263
|
-
archivedAt?: Date;
|
1264
|
-
/** The time at which the entity was created. */
|
1265
|
-
createdAt: Date;
|
1266
|
-
/** The unique identifier of the entity. */
|
1267
|
-
id: string;
|
1268
|
-
/** The id of the integration schedule used for scheduling. */
|
1269
|
-
integrationScheduleId?: string;
|
1270
|
-
/** The current schedule and available schedules. */
|
1271
|
-
scheduleData: Record<string, unknown>;
|
1272
|
-
/**
|
1273
|
-
* The last time at which the entity was meaningfully updated, i.e. for all changes of syncable properties except those
|
1274
|
-
* for which updates should not produce an update to updatedAt (see skipUpdatedAtKeys). This is the same as the creation time if the entity hasn't
|
1275
|
-
* been updated after creation.
|
1276
|
-
*/
|
1277
|
-
updatedAt: Date;
|
1278
|
-
/** The integration used for scheduling. */
|
1279
|
-
get integration(): LinearFetch<Integration> | undefined;
|
1280
|
-
/** The team to which the schedule belongs to. */
|
1281
|
-
get team(): LinearFetch<Team> | undefined;
|
1282
|
-
}
|
1283
|
-
/**
|
1284
|
-
* FirstResponderScheduleConnection model
|
1285
|
-
*
|
1286
|
-
* @param request - function to call the graphql client
|
1287
|
-
* @param fetch - function to trigger a refetch of this FirstResponderScheduleConnection model
|
1288
|
-
* @param data - FirstResponderScheduleConnection response data
|
1289
|
-
*/
|
1290
|
-
export declare class FirstResponderScheduleConnection extends Connection<FirstResponderSchedule> {
|
1291
|
-
constructor(request: LinearRequest, fetch: (connection?: LinearConnectionVariables) => LinearFetch<LinearConnection<FirstResponderSchedule> | undefined>, data: L.FirstResponderScheduleConnectionFragment);
|
1292
|
-
}
|
1293
1488
|
/**
|
1294
1489
|
* FrontAttachmentPayload model
|
1295
1490
|
*
|
@@ -1352,6 +1547,45 @@ export declare class GitHubSettings extends Request {
|
|
1352
1547
|
orgAvatarUrl: string;
|
1353
1548
|
/** The GitHub organization's name */
|
1354
1549
|
orgLogin: string;
|
1550
|
+
/** The names of the repositories connected for the GitHub integration */
|
1551
|
+
repositories?: string[];
|
1552
|
+
}
|
1553
|
+
/**
|
1554
|
+
* GitHub repos available to sync.
|
1555
|
+
*
|
1556
|
+
* @param request - function to call the graphql client
|
1557
|
+
* @param data - L.GitHubSyncRepoFragment response data
|
1558
|
+
*/
|
1559
|
+
export declare class GitHubSyncRepo extends Request {
|
1560
|
+
constructor(request: LinearRequest, data: L.GitHubSyncRepoFragment);
|
1561
|
+
/** The full name of the repository. */
|
1562
|
+
fullName: string;
|
1563
|
+
/** The GitHub repo id. */
|
1564
|
+
id: number;
|
1565
|
+
}
|
1566
|
+
/**
|
1567
|
+
* Metadata and settings for a GitHub Sync integration.
|
1568
|
+
*
|
1569
|
+
* @param request - function to call the graphql client
|
1570
|
+
* @param data - L.GitHubSyncSettingsFragment response data
|
1571
|
+
*/
|
1572
|
+
export declare class GitHubSyncSettings extends Request {
|
1573
|
+
constructor(request: LinearRequest, data: L.GitHubSyncSettingsFragment);
|
1574
|
+
/** The names of the repositories connected for the GitHub integration */
|
1575
|
+
repositories?: GitHubSyncRepo[];
|
1576
|
+
/** Mapping of team to repository for syncing */
|
1577
|
+
teamRepoMap?: TeamRepoMapping[];
|
1578
|
+
}
|
1579
|
+
/**
|
1580
|
+
* Metadata and settings for a GitLab integration.
|
1581
|
+
*
|
1582
|
+
* @param request - function to call the graphql client
|
1583
|
+
* @param data - L.GitLabSettingsFragment response data
|
1584
|
+
*/
|
1585
|
+
export declare class GitLabSettings extends Request {
|
1586
|
+
constructor(request: LinearRequest, data: L.GitLabSettingsFragment);
|
1587
|
+
/** The self-hosted URL of the GitLab instance */
|
1588
|
+
url?: string;
|
1355
1589
|
}
|
1356
1590
|
/**
|
1357
1591
|
* GitHub OAuth token, plus information about the organizations the user is a member of.
|
@@ -1506,12 +1740,15 @@ export declare class IntegrationSettings extends Request {
|
|
1506
1740
|
constructor(request: LinearRequest, data: L.IntegrationSettingsFragment);
|
1507
1741
|
front?: FrontSettings;
|
1508
1742
|
gitHub?: GitHubSettings;
|
1743
|
+
gitHubSync?: GitHubSyncSettings;
|
1744
|
+
gitLab?: GitLabSettings;
|
1509
1745
|
googleSheets?: GoogleSheetsSettings;
|
1510
1746
|
intercom?: IntercomSettings;
|
1511
1747
|
jira?: JiraSettings;
|
1512
1748
|
notion?: NotionSettings;
|
1513
1749
|
pagerDuty?: PagerDutySettings;
|
1514
1750
|
sentry?: SentrySettings;
|
1751
|
+
slackAsks?: SlackAsksSettings;
|
1515
1752
|
slackOrgProjectUpdatesPost?: SlackPostSettings;
|
1516
1753
|
slackPost?: SlackPostSettings;
|
1517
1754
|
slackProjectPost?: SlackPostSettings;
|
@@ -1531,6 +1768,8 @@ export declare class IntegrationTemplate extends Request {
|
|
1531
1768
|
archivedAt?: Date;
|
1532
1769
|
/** The time at which the entity was created. */
|
1533
1770
|
createdAt: Date;
|
1771
|
+
/** ID of the foreign entity in the external integration this template is for, e.g., Slack channel ID. */
|
1772
|
+
foreignEntityId?: string;
|
1534
1773
|
/** The unique identifier of the entity. */
|
1535
1774
|
id: string;
|
1536
1775
|
/**
|
@@ -1681,6 +1920,7 @@ export declare class Issue extends Request {
|
|
1681
1920
|
private _creator?;
|
1682
1921
|
private _cycle?;
|
1683
1922
|
private _favorite?;
|
1923
|
+
private _lastAppliedTemplate?;
|
1684
1924
|
private _parent?;
|
1685
1925
|
private _project?;
|
1686
1926
|
private _projectMilestone?;
|
@@ -1756,6 +1996,8 @@ export declare class Issue extends Request {
|
|
1756
1996
|
get cycle(): LinearFetch<Cycle> | undefined;
|
1757
1997
|
/** The users favorite associated with this issue. */
|
1758
1998
|
get favorite(): LinearFetch<Favorite> | undefined;
|
1999
|
+
/** The last template that was applied to this issue. */
|
2000
|
+
get lastAppliedTemplate(): LinearFetch<Template> | undefined;
|
1759
2001
|
/** The parent of the issue. */
|
1760
2002
|
get parent(): LinearFetch<Issue> | undefined;
|
1761
2003
|
/** The project that the issue is associated with. */
|
@@ -1943,8 +2185,12 @@ export declare class IssueHistory extends Request {
|
|
1943
2185
|
updatedAt: Date;
|
1944
2186
|
/** Whether the issue's description was updated. */
|
1945
2187
|
updatedDescription?: boolean;
|
2188
|
+
addedLabels?: IssueLabel[];
|
1946
2189
|
/** Changed issue relationships. */
|
1947
2190
|
relationChanges?: IssueRelationHistoryPayload[];
|
2191
|
+
removedLabels?: IssueLabel[];
|
2192
|
+
/** The bot that performed the action */
|
2193
|
+
botActor?: ActorBot;
|
1948
2194
|
/** The import record. */
|
1949
2195
|
issueImport?: IssueImport;
|
1950
2196
|
/** The user who made these changes. If null, possibly means that the change made by an integration. */
|
@@ -2189,6 +2435,10 @@ export declare class IssueNotification extends Request {
|
|
2189
2435
|
* been updated after creation.
|
2190
2436
|
*/
|
2191
2437
|
updatedAt: Date;
|
2438
|
+
/** The subscriptions related to the notification. */
|
2439
|
+
subscriptions?: NotificationSubscription[];
|
2440
|
+
/** The bot that caused the notification. */
|
2441
|
+
botActor?: ActorBot;
|
2192
2442
|
/** The user that caused the notification. */
|
2193
2443
|
get actor(): LinearFetch<User> | undefined;
|
2194
2444
|
/** The comment related to the notification. */
|
@@ -2329,6 +2579,7 @@ export declare class IssueSearchResult extends Request {
|
|
2329
2579
|
private _creator?;
|
2330
2580
|
private _cycle?;
|
2331
2581
|
private _favorite?;
|
2582
|
+
private _lastAppliedTemplate?;
|
2332
2583
|
private _parent?;
|
2333
2584
|
private _project?;
|
2334
2585
|
private _projectMilestone?;
|
@@ -2406,6 +2657,8 @@ export declare class IssueSearchResult extends Request {
|
|
2406
2657
|
get cycle(): LinearFetch<Cycle> | undefined;
|
2407
2658
|
/** The users favorite associated with this issue. */
|
2408
2659
|
get favorite(): LinearFetch<Favorite> | undefined;
|
2660
|
+
/** The last template that was applied to this issue. */
|
2661
|
+
get lastAppliedTemplate(): LinearFetch<Template> | undefined;
|
2409
2662
|
/** The parent of the issue. */
|
2410
2663
|
get parent(): LinearFetch<Issue> | undefined;
|
2411
2664
|
/** The project that the issue is associated with. */
|
@@ -2485,6 +2738,8 @@ export declare class LabelNotificationSubscription extends Request {
|
|
2485
2738
|
private _team?;
|
2486
2739
|
private _user?;
|
2487
2740
|
constructor(request: LinearRequest, data: L.LabelNotificationSubscriptionFragment);
|
2741
|
+
/** Whether the subscription is active or not */
|
2742
|
+
active: boolean;
|
2488
2743
|
/** The time at which the entity was archived. Null if the entity has not been archived. */
|
2489
2744
|
archivedAt?: Date;
|
2490
2745
|
/** The time at which the entity was created. */
|
@@ -2571,6 +2826,8 @@ export declare class Notification extends Request {
|
|
2571
2826
|
* been updated after creation.
|
2572
2827
|
*/
|
2573
2828
|
updatedAt: Date;
|
2829
|
+
/** The bot that caused the notification. */
|
2830
|
+
botActor?: ActorBot;
|
2574
2831
|
/** The user that caused the notification. */
|
2575
2832
|
get actor(): LinearFetch<User> | undefined;
|
2576
2833
|
/** The user that received the notification. */
|
@@ -2648,6 +2905,8 @@ export declare class NotificationSubscription extends Request {
|
|
2648
2905
|
private _team?;
|
2649
2906
|
private _user?;
|
2650
2907
|
constructor(request: LinearRequest, data: L.NotificationSubscriptionFragment);
|
2908
|
+
/** Whether the subscription is active or not */
|
2909
|
+
active: boolean;
|
2651
2910
|
/** The time at which the entity was archived. Null if the entity has not been archived. */
|
2652
2911
|
archivedAt?: Date;
|
2653
2912
|
/** The time at which the entity was created. */
|
@@ -2746,7 +3005,7 @@ export declare class OauthClient extends Request {
|
|
2746
3005
|
imageUrl?: string;
|
2747
3006
|
/** OAuth application's client name. */
|
2748
3007
|
name: string;
|
2749
|
-
/** Whether the OAuth application
|
3008
|
+
/** Whether the OAuth application can be installed in other organizations. */
|
2750
3009
|
publicEnabled: boolean;
|
2751
3010
|
/** List of allowed redirect URIs for the application. */
|
2752
3011
|
redirectUris: string[];
|
@@ -2762,9 +3021,9 @@ export declare class OauthClient extends Request {
|
|
2762
3021
|
webhookSecret?: string;
|
2763
3022
|
/** Webhook URL */
|
2764
3023
|
webhookUrl?: string;
|
2765
|
-
/** The user who created the
|
3024
|
+
/** The user who created the OAuth application. */
|
2766
3025
|
get creator(): LinearFetch<User> | undefined;
|
2767
|
-
/** The organization that the
|
3026
|
+
/** The organization that the OAuth application is associated with. */
|
2768
3027
|
get organization(): LinearFetch<Organization>;
|
2769
3028
|
}
|
2770
3029
|
/**
|
@@ -2835,6 +3094,8 @@ export declare class OauthClientApprovalNotification extends Request {
|
|
2835
3094
|
* been updated after creation.
|
2836
3095
|
*/
|
2837
3096
|
updatedAt: Date;
|
3097
|
+
/** The bot that caused the notification. */
|
3098
|
+
botActor?: ActorBot;
|
2838
3099
|
/** The OAuth client approval request related to the notification. */
|
2839
3100
|
oauthClientApproval: OauthClientApproval;
|
2840
3101
|
/** The user that caused the notification. */
|
@@ -2860,6 +3121,8 @@ export declare class OauthClientConnection extends Connection<OauthClient> {
|
|
2860
3121
|
*/
|
2861
3122
|
export declare class Organization extends Request {
|
2862
3123
|
constructor(request: LinearRequest, data: L.OrganizationFragment);
|
3124
|
+
/** Whether member users are allowed to send invites */
|
3125
|
+
allowMembersToInvite?: boolean;
|
2863
3126
|
/** Allowed authentication providers, empty array means all are allowed */
|
2864
3127
|
allowedAuthServices: string[];
|
2865
3128
|
/** The time at which the entity was archived. Null if the entity has not been archived. */
|
@@ -2921,7 +3184,7 @@ export declare class Organization extends Request {
|
|
2921
3184
|
/** Delete's an organization. Administrator privileges required. */
|
2922
3185
|
delete(input: L.DeleteOrganizationInput): LinearFetch<OrganizationDeletePayload>;
|
2923
3186
|
/** Updates the user's organization. */
|
2924
|
-
update(input: L.
|
3187
|
+
update(input: L.OrganizationUpdateInput): LinearFetch<OrganizationPayload>;
|
2925
3188
|
}
|
2926
3189
|
/**
|
2927
3190
|
* OrganizationCancelDeletePayload model
|
@@ -3016,6 +3279,8 @@ export declare class OrganizationInvite extends Request {
|
|
3016
3279
|
external: boolean;
|
3017
3280
|
/** The unique identifier of the entity. */
|
3018
3281
|
id: string;
|
3282
|
+
/** Extra metadata associated with the organization invite. */
|
3283
|
+
metadata: Record<string, unknown>;
|
3019
3284
|
/**
|
3020
3285
|
* The last time at which the entity was meaningfully updated, i.e. for all changes of syncable properties except those
|
3021
3286
|
* 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
|
@@ -3130,17 +3395,19 @@ export declare class PageInfo extends Request {
|
|
3130
3395
|
startCursor?: string;
|
3131
3396
|
}
|
3132
3397
|
/**
|
3133
|
-
*
|
3398
|
+
* Metadata about a PagerDuty schedule.
|
3134
3399
|
*
|
3135
3400
|
* @param request - function to call the graphql client
|
3136
|
-
* @param data - L.
|
3401
|
+
* @param data - L.PagerDutyScheduleInfoFragment response data
|
3137
3402
|
*/
|
3138
|
-
export declare class
|
3139
|
-
constructor(request: LinearRequest, data: L.
|
3403
|
+
export declare class PagerDutyScheduleInfo extends Request {
|
3404
|
+
constructor(request: LinearRequest, data: L.PagerDutyScheduleInfoFragment);
|
3140
3405
|
/** The PagerDuty schedule id. */
|
3141
3406
|
scheduleId: string;
|
3142
3407
|
/** The PagerDuty schedule name. */
|
3143
3408
|
scheduleName: string;
|
3409
|
+
/** The URL of the schedule in PagerDuty's web app. */
|
3410
|
+
url: string;
|
3144
3411
|
}
|
3145
3412
|
/**
|
3146
3413
|
* PagerDuty specific settings.
|
@@ -3150,8 +3417,8 @@ export declare class PagerDutyScheduleMapping extends Request {
|
|
3150
3417
|
*/
|
3151
3418
|
export declare class PagerDutySettings extends Request {
|
3152
3419
|
constructor(request: LinearRequest, data: L.PagerDutySettingsFragment);
|
3153
|
-
/**
|
3154
|
-
scheduleMapping:
|
3420
|
+
/** Metadata about a PagerDuty schedule. */
|
3421
|
+
scheduleMapping: PagerDutyScheduleInfo[];
|
3155
3422
|
}
|
3156
3423
|
/**
|
3157
3424
|
* The paid subscription of an organization.
|
@@ -3166,6 +3433,8 @@ export declare class PaidSubscription extends Request {
|
|
3166
3433
|
archivedAt?: Date;
|
3167
3434
|
/** The date the subscription was canceled, if any. */
|
3168
3435
|
canceledAt?: Date;
|
3436
|
+
/** The collection method for this subscription, either automatically charged or invoiced. */
|
3437
|
+
collectionMethod?: string;
|
3169
3438
|
/** The time at which the entity was created. */
|
3170
3439
|
createdAt: Date;
|
3171
3440
|
/** The unique identifier of the entity. */
|
@@ -3203,6 +3472,7 @@ export declare class Project extends Request {
|
|
3203
3472
|
private _convertedFromIssue?;
|
3204
3473
|
private _creator;
|
3205
3474
|
private _integrationsSettings?;
|
3475
|
+
private _lastAppliedTemplate?;
|
3206
3476
|
private _lead?;
|
3207
3477
|
constructor(request: LinearRequest, data: L.ProjectFragment);
|
3208
3478
|
/** The time at which the entity was archived. Null if the entity has not been archived. */
|
@@ -3219,6 +3489,8 @@ export declare class Project extends Request {
|
|
3219
3489
|
completedIssueCountHistory: number[];
|
3220
3490
|
/** The number of completed estimation points after each week. */
|
3221
3491
|
completedScopeHistory: number[];
|
3492
|
+
/** The project's content in markdown format. */
|
3493
|
+
content?: string;
|
3222
3494
|
/** The time at which the entity was created. */
|
3223
3495
|
createdAt: Date;
|
3224
3496
|
/** The project's description. */
|
@@ -3259,6 +3531,8 @@ export declare class Project extends Request {
|
|
3259
3531
|
state: string;
|
3260
3532
|
/** The estimated completion date of the project. */
|
3261
3533
|
targetDate?: L.Scalars["TimelessDate"];
|
3534
|
+
/** A flag that indicates whether the project is in the trash bin. */
|
3535
|
+
trashed?: boolean;
|
3262
3536
|
/**
|
3263
3537
|
* The last time at which the entity was meaningfully updated, i.e. for all changes of syncable properties except those
|
3264
3538
|
* for which updates should not produce an update to updatedAt (see skipUpdatedAtKeys). This is the same as the creation time if the entity hasn't
|
@@ -3273,6 +3547,8 @@ export declare class Project extends Request {
|
|
3273
3547
|
get creator(): LinearFetch<User> | undefined;
|
3274
3548
|
/** Settings for all integrations associated with that project. */
|
3275
3549
|
get integrationsSettings(): LinearFetch<IntegrationsSettings> | undefined;
|
3550
|
+
/** The last template that was applied to this project. */
|
3551
|
+
get lastAppliedTemplate(): LinearFetch<Template> | undefined;
|
3276
3552
|
/** The project lead. */
|
3277
3553
|
get lead(): LinearFetch<User> | undefined;
|
3278
3554
|
/** Documents associated with the project. */
|
@@ -3290,11 +3566,11 @@ export declare class Project extends Request {
|
|
3290
3566
|
/** Teams associated with this project. */
|
3291
3567
|
teams(variables?: Omit<L.Project_TeamsQueryVariables, "id">): LinearFetch<TeamConnection>;
|
3292
3568
|
/** Archives a project. */
|
3293
|
-
archive(): LinearFetch<ProjectArchivePayload>;
|
3569
|
+
archive(variables?: Omit<L.ArchiveProjectMutationVariables, "id">): LinearFetch<ProjectArchivePayload>;
|
3294
3570
|
/** Creates a new project. */
|
3295
3571
|
create(input: L.ProjectCreateInput): LinearFetch<ProjectPayload>;
|
3296
|
-
/** Deletes a project.
|
3297
|
-
delete(): LinearFetch<
|
3572
|
+
/** Deletes (trashes) a project. */
|
3573
|
+
delete(): LinearFetch<ProjectArchivePayload>;
|
3298
3574
|
/** Unarchives a project. */
|
3299
3575
|
unarchive(): LinearFetch<ProjectArchivePayload>;
|
3300
3576
|
/** Updates a project. */
|
@@ -3413,7 +3689,7 @@ export declare class ProjectMilestone extends Request {
|
|
3413
3689
|
archivedAt?: Date;
|
3414
3690
|
/** The time at which the entity was created. */
|
3415
3691
|
createdAt: Date;
|
3416
|
-
/** The description
|
3692
|
+
/** The project milestone's description in markdown format. */
|
3417
3693
|
description?: string;
|
3418
3694
|
/** The unique identifier of the entity. */
|
3419
3695
|
id: string;
|
@@ -3501,6 +3777,8 @@ export declare class ProjectNotification extends Request {
|
|
3501
3777
|
* been updated after creation.
|
3502
3778
|
*/
|
3503
3779
|
updatedAt: Date;
|
3780
|
+
/** The bot that caused the notification. */
|
3781
|
+
botActor?: ActorBot;
|
3504
3782
|
/** The user that caused the notification. */
|
3505
3783
|
get actor(): LinearFetch<User> | undefined;
|
3506
3784
|
/** The project related to the notification. */
|
@@ -3525,6 +3803,8 @@ export declare class ProjectNotificationSubscription extends Request {
|
|
3525
3803
|
private _team?;
|
3526
3804
|
private _user?;
|
3527
3805
|
constructor(request: LinearRequest, data: L.ProjectNotificationSubscriptionFragment);
|
3806
|
+
/** Whether the subscription is active or not */
|
3807
|
+
active: boolean;
|
3528
3808
|
/** The time at which the entity was archived. Null if the entity has not been archived. */
|
3529
3809
|
archivedAt?: Date;
|
3530
3810
|
/** The time at which the entity was created. */
|
@@ -3595,6 +3875,7 @@ export declare class ProjectSearchResult extends Request {
|
|
3595
3875
|
private _convertedFromIssue?;
|
3596
3876
|
private _creator;
|
3597
3877
|
private _integrationsSettings?;
|
3878
|
+
private _lastAppliedTemplate?;
|
3598
3879
|
private _lead?;
|
3599
3880
|
constructor(request: LinearRequest, data: L.ProjectSearchResultFragment);
|
3600
3881
|
/** The time at which the entity was archived. Null if the entity has not been archived. */
|
@@ -3611,6 +3892,8 @@ export declare class ProjectSearchResult extends Request {
|
|
3611
3892
|
completedIssueCountHistory: number[];
|
3612
3893
|
/** The number of completed estimation points after each week. */
|
3613
3894
|
completedScopeHistory: number[];
|
3895
|
+
/** The project's content in markdown format. */
|
3896
|
+
content?: string;
|
3614
3897
|
/** The time at which the entity was created. */
|
3615
3898
|
createdAt: Date;
|
3616
3899
|
/** The project's description. */
|
@@ -3653,6 +3936,8 @@ export declare class ProjectSearchResult extends Request {
|
|
3653
3936
|
state: string;
|
3654
3937
|
/** The estimated completion date of the project. */
|
3655
3938
|
targetDate?: L.Scalars["TimelessDate"];
|
3939
|
+
/** A flag that indicates whether the project is in the trash bin. */
|
3940
|
+
trashed?: boolean;
|
3656
3941
|
/**
|
3657
3942
|
* The last time at which the entity was meaningfully updated, i.e. for all changes of syncable properties except those
|
3658
3943
|
* 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
|
@@ -3667,6 +3952,8 @@ export declare class ProjectSearchResult extends Request {
|
|
3667
3952
|
get creator(): LinearFetch<User> | undefined;
|
3668
3953
|
/** Settings for all integrations associated with that project. */
|
3669
3954
|
get integrationsSettings(): LinearFetch<IntegrationsSettings> | undefined;
|
3955
|
+
/** The last template that was applied to this project. */
|
3956
|
+
get lastAppliedTemplate(): LinearFetch<Template> | undefined;
|
3670
3957
|
/** The project lead. */
|
3671
3958
|
get lead(): LinearFetch<User> | undefined;
|
3672
3959
|
}
|
@@ -3696,6 +3983,10 @@ export declare class ProjectUpdate extends Request {
|
|
3696
3983
|
body: string;
|
3697
3984
|
/** The time at which the entity was created. */
|
3698
3985
|
createdAt: Date;
|
3986
|
+
/** The diff between the current update and the previous one. */
|
3987
|
+
diff?: Record<string, unknown>;
|
3988
|
+
/** The diff between the current update and the previous one, formatted as markdown. */
|
3989
|
+
diffMarkdown?: string;
|
3699
3990
|
/** The time the project update was edited. */
|
3700
3991
|
editedAt?: Date;
|
3701
3992
|
/** The unique identifier of the entity. */
|
@@ -3802,6 +4093,19 @@ export declare class ProjectUpdatePayload extends Request {
|
|
3802
4093
|
/** The project update that was created or updated. */
|
3803
4094
|
get projectUpdate(): LinearFetch<ProjectUpdate> | undefined;
|
3804
4095
|
}
|
4096
|
+
/**
|
4097
|
+
* ProjectUpdateReminderPayload model
|
4098
|
+
*
|
4099
|
+
* @param request - function to call the graphql client
|
4100
|
+
* @param data - L.ProjectUpdateReminderPayloadFragment response data
|
4101
|
+
*/
|
4102
|
+
export declare class ProjectUpdateReminderPayload extends Request {
|
4103
|
+
constructor(request: LinearRequest, data: L.ProjectUpdateReminderPayloadFragment);
|
4104
|
+
/** The identifier of the last sync operation. */
|
4105
|
+
lastSyncId: number;
|
4106
|
+
/** Whether the operation was successful. */
|
4107
|
+
success: boolean;
|
4108
|
+
}
|
3805
4109
|
/**
|
3806
4110
|
* ProjectUpdateWithInteractionPayload model
|
3807
4111
|
*
|
@@ -3868,6 +4172,8 @@ export declare class PushSubscriptionPayload extends Request {
|
|
3868
4172
|
lastSyncId: number;
|
3869
4173
|
/** Whether the operation was successful. */
|
3870
4174
|
success: boolean;
|
4175
|
+
/** The push subscription that was created or updated. */
|
4176
|
+
entity: PushSubscription;
|
3871
4177
|
}
|
3872
4178
|
/**
|
3873
4179
|
* PushSubscriptionTestPayload model
|
@@ -4170,6 +4476,51 @@ export declare class SentrySettings extends Request {
|
|
4170
4476
|
/** The slug of the Sentry organization being connected. */
|
4171
4477
|
organizationSlug: string;
|
4172
4478
|
}
|
4479
|
+
/**
|
4480
|
+
* Slack Asks specific settings.
|
4481
|
+
*
|
4482
|
+
* @param request - function to call the graphql client
|
4483
|
+
* @param data - L.SlackAsksSettingsFragment response data
|
4484
|
+
*/
|
4485
|
+
export declare class SlackAsksSettings extends Request {
|
4486
|
+
constructor(request: LinearRequest, data: L.SlackAsksSettingsFragment);
|
4487
|
+
/** The mapping of Slack channel ID => Slack channel name for connected channels. */
|
4488
|
+
slackChannelMapping?: SlackChannelNameMapping[];
|
4489
|
+
}
|
4490
|
+
/**
|
4491
|
+
* Tuple for mapping Slack channel IDs to names
|
4492
|
+
*
|
4493
|
+
* @param request - function to call the graphql client
|
4494
|
+
* @param data - L.SlackAsksTeamSettingsFragment response data
|
4495
|
+
*/
|
4496
|
+
export declare class SlackAsksTeamSettings extends Request {
|
4497
|
+
constructor(request: LinearRequest, data: L.SlackAsksTeamSettingsFragment);
|
4498
|
+
/** Whether the default Asks template is enabled in the given channel for this team */
|
4499
|
+
hasDefaultAsk: boolean;
|
4500
|
+
/** The Linear team ID. */
|
4501
|
+
id: string;
|
4502
|
+
}
|
4503
|
+
/**
|
4504
|
+
* Object for mapping Slack channel IDs to names and other settings
|
4505
|
+
*
|
4506
|
+
* @param request - function to call the graphql client
|
4507
|
+
* @param data - L.SlackChannelNameMappingFragment response data
|
4508
|
+
*/
|
4509
|
+
export declare class SlackChannelNameMapping extends Request {
|
4510
|
+
constructor(request: LinearRequest, data: L.SlackChannelNameMappingFragment);
|
4511
|
+
/** Whether or not using the :ticket: emoji in this channel should automatically create Asks */
|
4512
|
+
autoCreateOnEmoji?: boolean;
|
4513
|
+
/** Whether or not top-level messages in this channel should automatically create Asks */
|
4514
|
+
autoCreateOnMessage?: boolean;
|
4515
|
+
/** The Slack channel ID. */
|
4516
|
+
id: string;
|
4517
|
+
/** Whether or not the Slack channel is private */
|
4518
|
+
isPrivate?: boolean;
|
4519
|
+
/** The Slack channel name. */
|
4520
|
+
name: string;
|
4521
|
+
/** Which teams are connected to the channel and settings for those teams */
|
4522
|
+
teams: SlackAsksTeamSettings[];
|
4523
|
+
}
|
4173
4524
|
/**
|
4174
4525
|
* Slack notification specific settings.
|
4175
4526
|
*
|
@@ -4196,8 +4547,7 @@ export declare class SsoUrlFromEmailResponse extends Request {
|
|
4196
4547
|
success: boolean;
|
4197
4548
|
}
|
4198
4549
|
/**
|
4199
|
-
* Contains either the full serialized state of the application or delta packets that the requester can
|
4200
|
-
* apply to the local data set in order to be up-to-date.
|
4550
|
+
* Contains either the full serialized state of the application or delta packets that the requester can apply to the local data set in order to be up-to-date.
|
4201
4551
|
*
|
4202
4552
|
* @param request - function to call the graphql client
|
4203
4553
|
* @param data - L.SyncResponseFragment response data
|
@@ -4206,10 +4556,7 @@ export declare class SyncResponse extends Request {
|
|
4206
4556
|
constructor(request: LinearRequest, data: L.SyncResponseFragment);
|
4207
4557
|
/** The version of the remote database. Incremented by 1 for each migration run on the database. */
|
4208
4558
|
databaseVersion: number;
|
4209
|
-
/**
|
4210
|
-
* JSON serialized delta changes that the client can apply to its local state
|
4211
|
-
* in order to catch up with the state of the world.
|
4212
|
-
*/
|
4559
|
+
/** JSON serialized delta changes that the client can apply to its local state in order to catch up with the state of the world. */
|
4213
4560
|
delta?: string;
|
4214
4561
|
/** The last sync id covered by the response. */
|
4215
4562
|
lastSyncId: number;
|
@@ -4241,12 +4588,14 @@ export declare class SynchronizedPayload extends Request {
|
|
4241
4588
|
export declare class Team extends Request {
|
4242
4589
|
private _activeCycle?;
|
4243
4590
|
private _defaultIssueState?;
|
4591
|
+
private _defaultProjectTemplate?;
|
4244
4592
|
private _defaultTemplateForMembers?;
|
4245
4593
|
private _defaultTemplateForNonMembers?;
|
4246
4594
|
private _draftWorkflowState?;
|
4247
4595
|
private _integrationsSettings?;
|
4248
4596
|
private _markedAsDuplicateWorkflowState?;
|
4249
4597
|
private _mergeWorkflowState?;
|
4598
|
+
private _mergeableWorkflowState?;
|
4250
4599
|
private _reviewWorkflowState?;
|
4251
4600
|
private _startWorkflowState?;
|
4252
4601
|
private _triageIssueState?;
|
@@ -4273,7 +4622,7 @@ export declare class Team extends Request {
|
|
4273
4622
|
cycleIssueAutoAssignCompleted: boolean;
|
4274
4623
|
/** Auto assign started issues to current cycle. */
|
4275
4624
|
cycleIssueAutoAssignStarted: boolean;
|
4276
|
-
/**
|
4625
|
+
/** Auto assign issues to current cycle if in active status. */
|
4277
4626
|
cycleLockToActive: boolean;
|
4278
4627
|
/** The day of the week that a new cycle starts. */
|
4279
4628
|
cycleStartDay: number;
|
@@ -4337,6 +4686,8 @@ export declare class Team extends Request {
|
|
4337
4686
|
get activeCycle(): LinearFetch<Cycle> | undefined;
|
4338
4687
|
/** The default workflow state into which issues are set when they are opened by team members. */
|
4339
4688
|
get defaultIssueState(): LinearFetch<WorkflowState> | undefined;
|
4689
|
+
/** The default template to use for new projects created for the team. */
|
4690
|
+
get defaultProjectTemplate(): LinearFetch<Template> | undefined;
|
4340
4691
|
/** The default template to use for new issues created by members of the team. */
|
4341
4692
|
get defaultTemplateForMembers(): LinearFetch<Template> | undefined;
|
4342
4693
|
/** The default template to use for new issues created by non-members of the team. */
|
@@ -4349,6 +4700,8 @@ export declare class Team extends Request {
|
|
4349
4700
|
get markedAsDuplicateWorkflowState(): LinearFetch<WorkflowState> | undefined;
|
4350
4701
|
/** The workflow state into which issues are moved when a PR has been merged. */
|
4351
4702
|
get mergeWorkflowState(): LinearFetch<WorkflowState> | undefined;
|
4703
|
+
/** The workflow state into which issues are moved when a PR is ready to be merged. */
|
4704
|
+
get mergeableWorkflowState(): LinearFetch<WorkflowState> | undefined;
|
4352
4705
|
/** The organization that the team is associated with. */
|
4353
4706
|
get organization(): LinearFetch<Organization>;
|
4354
4707
|
/** The workflow state into which issues are moved when a review has been requested for the PR. */
|
@@ -4470,6 +4823,8 @@ export declare class TeamNotificationSubscription extends Request {
|
|
4470
4823
|
private _team;
|
4471
4824
|
private _user?;
|
4472
4825
|
constructor(request: LinearRequest, data: L.TeamNotificationSubscriptionFragment);
|
4826
|
+
/** Whether the subscription is active or not */
|
4827
|
+
active: boolean;
|
4473
4828
|
/** The time at which the entity was archived. Null if the entity has not been archived. */
|
4474
4829
|
archivedAt?: Date;
|
4475
4830
|
/** The time at which the entity was created. */
|
@@ -4515,6 +4870,19 @@ export declare class TeamPayload extends Request {
|
|
4515
4870
|
/** The team that was created or updated. */
|
4516
4871
|
get team(): LinearFetch<Team> | undefined;
|
4517
4872
|
}
|
4873
|
+
/**
|
4874
|
+
* Tuple for mapping Linear teams to GitHub repos.
|
4875
|
+
*
|
4876
|
+
* @param request - function to call the graphql client
|
4877
|
+
* @param data - L.TeamRepoMappingFragment response data
|
4878
|
+
*/
|
4879
|
+
export declare class TeamRepoMapping extends Request {
|
4880
|
+
constructor(request: LinearRequest, data: L.TeamRepoMappingFragment);
|
4881
|
+
/** The GitHub repo id. */
|
4882
|
+
gitHubRepoId: number;
|
4883
|
+
/** The Linear team id to map to the given project. */
|
4884
|
+
linearTeamId: string;
|
4885
|
+
}
|
4518
4886
|
/**
|
4519
4887
|
* A template object used for creating entities faster.
|
4520
4888
|
*
|
@@ -4588,6 +4956,45 @@ export declare class TemplatePayload extends Request {
|
|
4588
4956
|
/** The template that was created or updated. */
|
4589
4957
|
get template(): LinearFetch<Template> | undefined;
|
4590
4958
|
}
|
4959
|
+
/**
|
4960
|
+
* A team's triage responsibility.
|
4961
|
+
*
|
4962
|
+
* @param request - function to call the graphql client
|
4963
|
+
* @param data - L.TriageResponsibilityFragment response data
|
4964
|
+
*/
|
4965
|
+
export declare class TriageResponsibility extends Request {
|
4966
|
+
private _integration;
|
4967
|
+
private _team;
|
4968
|
+
constructor(request: LinearRequest, data: L.TriageResponsibilityFragment);
|
4969
|
+
/** The time at which the entity was archived. Null if the entity has not been archived. */
|
4970
|
+
archivedAt?: Date;
|
4971
|
+
/** The responsibility configuration. */
|
4972
|
+
config?: Record<string, unknown>;
|
4973
|
+
/** The time at which the entity was created. */
|
4974
|
+
createdAt: Date;
|
4975
|
+
/** The unique identifier of the entity. */
|
4976
|
+
id: string;
|
4977
|
+
/**
|
4978
|
+
* The last time at which the entity was meaningfully updated, i.e. for all changes of syncable properties except those
|
4979
|
+
* 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
|
4980
|
+
* been updated after creation.
|
4981
|
+
*/
|
4982
|
+
updatedAt: Date;
|
4983
|
+
/** The integration used for scheduling when using the 'integrationSchedule' configuration. */
|
4984
|
+
get integration(): LinearFetch<Integration> | undefined;
|
4985
|
+
/** The team to which the triage responsibility belongs to. */
|
4986
|
+
get team(): LinearFetch<Team> | undefined;
|
4987
|
+
}
|
4988
|
+
/**
|
4989
|
+
* TriageResponsibilityConnection model
|
4990
|
+
*
|
4991
|
+
* @param request - function to call the graphql client
|
4992
|
+
* @param fetch - function to trigger a refetch of this TriageResponsibilityConnection model
|
4993
|
+
* @param data - TriageResponsibilityConnection response data
|
4994
|
+
*/
|
4995
|
+
export declare class TriageResponsibilityConnection extends Connection<TriageResponsibility> {
|
4996
|
+
constructor(request: LinearRequest, fetch: (connection?: LinearConnectionVariables) => LinearFetch<LinearConnection<TriageResponsibility> | undefined>, data: L.TriageResponsibilityConnectionFragment);
|
4997
|
+
}
|
4591
4998
|
/**
|
4592
4999
|
* Object representing Google Cloud upload policy, plus additional data.
|
4593
5000
|
*
|
@@ -4710,7 +5117,7 @@ export declare class User extends Request {
|
|
4710
5117
|
/** Un-suspends a user. Can only be called by an admin. */
|
4711
5118
|
unsuspend(): LinearFetch<UserAdminPayload>;
|
4712
5119
|
/** Updates a user. Only available to organization admins and the user themselves. */
|
4713
|
-
update(input: L.
|
5120
|
+
update(input: L.UserUpdateInput): LinearFetch<UserPayload>;
|
4714
5121
|
}
|
4715
5122
|
/**
|
4716
5123
|
* A user account.
|
@@ -4734,8 +5141,6 @@ export declare class UserAccount extends Request {
|
|
4734
5141
|
service: string;
|
4735
5142
|
/** The time at which the model was updated. */
|
4736
5143
|
updatedAt: Date;
|
4737
|
-
/** Users belonging to the account. */
|
4738
|
-
users: User[];
|
4739
5144
|
}
|
4740
5145
|
/**
|
4741
5146
|
* UserAdminPayload model
|
@@ -4804,6 +5209,8 @@ export declare class UserNotificationSubscription extends Request {
|
|
4804
5209
|
private _team?;
|
4805
5210
|
private _user;
|
4806
5211
|
constructor(request: LinearRequest, data: L.UserNotificationSubscriptionFragment);
|
5212
|
+
/** Whether the subscription is active or not */
|
5213
|
+
active: boolean;
|
4807
5214
|
/** The time at which the entity was archived. Null if the entity has not been archived. */
|
4808
5215
|
archivedAt?: Date;
|
4809
5216
|
/** The time at which the entity was created. */
|
@@ -5181,7 +5588,7 @@ export declare class WorkflowState extends Request {
|
|
5181
5588
|
name: string;
|
5182
5589
|
/** The position of the state in the team flow. */
|
5183
5590
|
position: number;
|
5184
|
-
/** The type of the state. */
|
5591
|
+
/** The type of the state. One of "triage", "backlog", "unstarted", "started", "completed", "canceled". */
|
5185
5592
|
type: string;
|
5186
5593
|
/**
|
5187
5594
|
* The last time at which the entity was meaningfully updated, i.e. for all changes of syncable properties except those
|
@@ -5371,25 +5778,67 @@ export declare class AttachmentLinkDiscordMutation extends Request {
|
|
5371
5778
|
* @param issueId - required issueId to pass to attachmentLinkDiscord
|
5372
5779
|
* @param messageId - required messageId to pass to attachmentLinkDiscord
|
5373
5780
|
* @param url - required url to pass to attachmentLinkDiscord
|
5781
|
+
* @param variables - variables without 'channelId', 'issueId', 'messageId', 'url' to pass into the AttachmentLinkDiscordMutation
|
5374
5782
|
* @returns parsed response from AttachmentLinkDiscordMutation
|
5375
5783
|
*/
|
5376
|
-
fetch(channelId: string, issueId: string, messageId: string, url: string): LinearFetch<AttachmentPayload>;
|
5784
|
+
fetch(channelId: string, issueId: string, messageId: string, url: string, variables?: Omit<L.AttachmentLinkDiscordMutationVariables, "channelId" | "issueId" | "messageId" | "url">): LinearFetch<AttachmentPayload>;
|
5785
|
+
}
|
5786
|
+
/**
|
5787
|
+
* A fetchable AttachmentLinkFront Mutation
|
5788
|
+
*
|
5789
|
+
* @param request - function to call the graphql client
|
5790
|
+
*/
|
5791
|
+
export declare class AttachmentLinkFrontMutation extends Request {
|
5792
|
+
constructor(request: LinearRequest);
|
5793
|
+
/**
|
5794
|
+
* Call the AttachmentLinkFront mutation and return a FrontAttachmentPayload
|
5795
|
+
*
|
5796
|
+
* @param conversationId - required conversationId to pass to attachmentLinkFront
|
5797
|
+
* @param issueId - required issueId to pass to attachmentLinkFront
|
5798
|
+
* @param variables - variables without 'conversationId', 'issueId' to pass into the AttachmentLinkFrontMutation
|
5799
|
+
* @returns parsed response from AttachmentLinkFrontMutation
|
5800
|
+
*/
|
5801
|
+
fetch(conversationId: string, issueId: string, variables?: Omit<L.AttachmentLinkFrontMutationVariables, "conversationId" | "issueId">): LinearFetch<FrontAttachmentPayload>;
|
5802
|
+
}
|
5803
|
+
/**
|
5804
|
+
* A fetchable AttachmentLinkGitHubPr Mutation
|
5805
|
+
*
|
5806
|
+
* @param request - function to call the graphql client
|
5807
|
+
*/
|
5808
|
+
export declare class AttachmentLinkGitHubPrMutation extends Request {
|
5809
|
+
constructor(request: LinearRequest);
|
5810
|
+
/**
|
5811
|
+
* Call the AttachmentLinkGitHubPr mutation and return a AttachmentPayload
|
5812
|
+
*
|
5813
|
+
* @param issueId - required issueId to pass to attachmentLinkGitHubPR
|
5814
|
+
* @param number - required number to pass to attachmentLinkGitHubPR
|
5815
|
+
* @param owner - required owner to pass to attachmentLinkGitHubPR
|
5816
|
+
* @param repo - required repo to pass to attachmentLinkGitHubPR
|
5817
|
+
* @param url - required url to pass to attachmentLinkGitHubPR
|
5818
|
+
* @param variables - variables without 'issueId', 'number', 'owner', 'repo', 'url' to pass into the AttachmentLinkGitHubPrMutation
|
5819
|
+
* @returns parsed response from AttachmentLinkGitHubPrMutation
|
5820
|
+
*/
|
5821
|
+
fetch(issueId: string, number: number, owner: string, repo: string, url: string, variables?: Omit<L.AttachmentLinkGitHubPrMutationVariables, "issueId" | "number" | "owner" | "repo" | "url">): LinearFetch<AttachmentPayload>;
|
5377
5822
|
}
|
5378
5823
|
/**
|
5379
|
-
* A fetchable
|
5824
|
+
* A fetchable AttachmentLinkGitLabMr Mutation
|
5380
5825
|
*
|
5381
5826
|
* @param request - function to call the graphql client
|
5382
5827
|
*/
|
5383
|
-
export declare class
|
5828
|
+
export declare class AttachmentLinkGitLabMrMutation extends Request {
|
5384
5829
|
constructor(request: LinearRequest);
|
5385
5830
|
/**
|
5386
|
-
* Call the
|
5831
|
+
* Call the AttachmentLinkGitLabMr mutation and return a AttachmentPayload
|
5387
5832
|
*
|
5388
|
-
* @param
|
5389
|
-
* @param
|
5390
|
-
* @
|
5833
|
+
* @param issueId - required issueId to pass to attachmentLinkGitLabMR
|
5834
|
+
* @param number - required number to pass to attachmentLinkGitLabMR
|
5835
|
+
* @param owner - required owner to pass to attachmentLinkGitLabMR
|
5836
|
+
* @param repo - required repo to pass to attachmentLinkGitLabMR
|
5837
|
+
* @param url - required url to pass to attachmentLinkGitLabMR
|
5838
|
+
* @param variables - variables without 'issueId', 'number', 'owner', 'repo', 'url' to pass into the AttachmentLinkGitLabMrMutation
|
5839
|
+
* @returns parsed response from AttachmentLinkGitLabMrMutation
|
5391
5840
|
*/
|
5392
|
-
fetch(
|
5841
|
+
fetch(issueId: string, number: number, owner: string, repo: string, url: string, variables?: Omit<L.AttachmentLinkGitLabMrMutationVariables, "issueId" | "number" | "owner" | "repo" | "url">): LinearFetch<AttachmentPayload>;
|
5393
5842
|
}
|
5394
5843
|
/**
|
5395
5844
|
* A fetchable AttachmentLinkIntercom Mutation
|
@@ -5403,9 +5852,10 @@ export declare class AttachmentLinkIntercomMutation extends Request {
|
|
5403
5852
|
*
|
5404
5853
|
* @param conversationId - required conversationId to pass to attachmentLinkIntercom
|
5405
5854
|
* @param issueId - required issueId to pass to attachmentLinkIntercom
|
5855
|
+
* @param variables - variables without 'conversationId', 'issueId' to pass into the AttachmentLinkIntercomMutation
|
5406
5856
|
* @returns parsed response from AttachmentLinkIntercomMutation
|
5407
5857
|
*/
|
5408
|
-
fetch(conversationId: string, issueId: string): LinearFetch<AttachmentPayload>;
|
5858
|
+
fetch(conversationId: string, issueId: string, variables?: Omit<L.AttachmentLinkIntercomMutationVariables, "conversationId" | "issueId">): LinearFetch<AttachmentPayload>;
|
5409
5859
|
}
|
5410
5860
|
/**
|
5411
5861
|
* A fetchable AttachmentLinkJiraIssue Mutation
|
@@ -5471,9 +5921,10 @@ export declare class AttachmentLinkZendeskMutation extends Request {
|
|
5471
5921
|
*
|
5472
5922
|
* @param issueId - required issueId to pass to attachmentLinkZendesk
|
5473
5923
|
* @param ticketId - required ticketId to pass to attachmentLinkZendesk
|
5924
|
+
* @param variables - variables without 'issueId', 'ticketId' to pass into the AttachmentLinkZendeskMutation
|
5474
5925
|
* @returns parsed response from AttachmentLinkZendeskMutation
|
5475
5926
|
*/
|
5476
|
-
fetch(issueId: string, ticketId: string): LinearFetch<AttachmentPayload>;
|
5927
|
+
fetch(issueId: string, ticketId: string, variables?: Omit<L.AttachmentLinkZendeskMutationVariables, "issueId" | "ticketId">): LinearFetch<AttachmentPayload>;
|
5477
5928
|
}
|
5478
5929
|
/**
|
5479
5930
|
* A fetchable AttachmentUnsyncSlack Mutation
|
@@ -5598,6 +6049,22 @@ export declare class CreateOrganizationFromOnboardingMutation extends Request {
|
|
5598
6049
|
*/
|
5599
6050
|
fetch(input: L.CreateOrganizationInput, variables?: Omit<L.CreateOrganizationFromOnboardingMutationVariables, "input">): LinearFetch<CreateOrJoinOrganizationResponse>;
|
5600
6051
|
}
|
6052
|
+
/**
|
6053
|
+
* A fetchable CreateProjectUpdateReminder Mutation
|
6054
|
+
*
|
6055
|
+
* @param request - function to call the graphql client
|
6056
|
+
*/
|
6057
|
+
export declare class CreateProjectUpdateReminderMutation extends Request {
|
6058
|
+
constructor(request: LinearRequest);
|
6059
|
+
/**
|
6060
|
+
* Call the CreateProjectUpdateReminder mutation and return a ProjectUpdateReminderPayload
|
6061
|
+
*
|
6062
|
+
* @param projectId - required projectId to pass to createProjectUpdateReminder
|
6063
|
+
* @param variables - variables without 'projectId' to pass into the CreateProjectUpdateReminderMutation
|
6064
|
+
* @returns parsed response from CreateProjectUpdateReminderMutation
|
6065
|
+
*/
|
6066
|
+
fetch(projectId: string, variables?: Omit<L.CreateProjectUpdateReminderMutationVariables, "projectId">): LinearFetch<ProjectUpdateReminderPayload>;
|
6067
|
+
}
|
5601
6068
|
/**
|
5602
6069
|
* A fetchable CreateCustomView Mutation
|
5603
6070
|
*
|
@@ -5923,6 +6390,22 @@ export declare class ImportFileUploadMutation extends Request {
|
|
5923
6390
|
*/
|
5924
6391
|
fetch(contentType: string, filename: string, size: number, variables?: Omit<L.ImportFileUploadMutationVariables, "contentType" | "filename" | "size">): LinearFetch<UploadPayload>;
|
5925
6392
|
}
|
6393
|
+
/**
|
6394
|
+
* A fetchable IntegrationAsksConnectChannel Mutation
|
6395
|
+
*
|
6396
|
+
* @param request - function to call the graphql client
|
6397
|
+
*/
|
6398
|
+
export declare class IntegrationAsksConnectChannelMutation extends Request {
|
6399
|
+
constructor(request: LinearRequest);
|
6400
|
+
/**
|
6401
|
+
* Call the IntegrationAsksConnectChannel mutation and return a AsksChannelConnectPayload
|
6402
|
+
*
|
6403
|
+
* @param code - required code to pass to integrationAsksConnectChannel
|
6404
|
+
* @param redirectUri - required redirectUri to pass to integrationAsksConnectChannel
|
6405
|
+
* @returns parsed response from IntegrationAsksConnectChannelMutation
|
6406
|
+
*/
|
6407
|
+
fetch(code: string, redirectUri: string): LinearFetch<AsksChannelConnectPayload>;
|
6408
|
+
}
|
5926
6409
|
/**
|
5927
6410
|
* A fetchable DeleteIntegration Mutation
|
5928
6411
|
*
|
@@ -6015,6 +6498,21 @@ export declare class IntegrationGithubConnectMutation extends Request {
|
|
6015
6498
|
*/
|
6016
6499
|
fetch(installationId: string): LinearFetch<IntegrationPayload>;
|
6017
6500
|
}
|
6501
|
+
/**
|
6502
|
+
* A fetchable IntegrationGithubSync Mutation
|
6503
|
+
*
|
6504
|
+
* @param request - function to call the graphql client
|
6505
|
+
*/
|
6506
|
+
export declare class IntegrationGithubSyncMutation extends Request {
|
6507
|
+
constructor(request: LinearRequest);
|
6508
|
+
/**
|
6509
|
+
* Call the IntegrationGithubSync mutation and return a IntegrationPayload
|
6510
|
+
*
|
6511
|
+
* @param installationId - required installationId to pass to integrationGithubSync
|
6512
|
+
* @returns parsed response from IntegrationGithubSyncMutation
|
6513
|
+
*/
|
6514
|
+
fetch(installationId: string): LinearFetch<IntegrationPayload>;
|
6515
|
+
}
|
6018
6516
|
/**
|
6019
6517
|
* A fetchable IntegrationGitlabConnect Mutation
|
6020
6518
|
*
|
@@ -6350,6 +6848,22 @@ export declare class UpdateIntegrationsSettingsMutation extends Request {
|
|
6350
6848
|
*/
|
6351
6849
|
fetch(id: string, input: L.IntegrationsSettingsUpdateInput): LinearFetch<IntegrationsSettingsPayload>;
|
6352
6850
|
}
|
6851
|
+
/**
|
6852
|
+
* A fetchable IssueAddLabel Mutation
|
6853
|
+
*
|
6854
|
+
* @param request - function to call the graphql client
|
6855
|
+
*/
|
6856
|
+
export declare class IssueAddLabelMutation extends Request {
|
6857
|
+
constructor(request: LinearRequest);
|
6858
|
+
/**
|
6859
|
+
* Call the IssueAddLabel mutation and return a IssuePayload
|
6860
|
+
*
|
6861
|
+
* @param id - required id to pass to issueAddLabel
|
6862
|
+
* @param labelId - required labelId to pass to issueAddLabel
|
6863
|
+
* @returns parsed response from IssueAddLabelMutation
|
6864
|
+
*/
|
6865
|
+
fetch(id: string, labelId: string): LinearFetch<IssuePayload>;
|
6866
|
+
}
|
6353
6867
|
/**
|
6354
6868
|
* A fetchable ArchiveIssue Mutation
|
6355
6869
|
*
|
@@ -6655,6 +7169,38 @@ export declare class IssueReminderMutation extends Request {
|
|
6655
7169
|
*/
|
6656
7170
|
fetch(id: string, reminderAt: Date): LinearFetch<IssuePayload>;
|
6657
7171
|
}
|
7172
|
+
/**
|
7173
|
+
* A fetchable IssueRemoveLabel Mutation
|
7174
|
+
*
|
7175
|
+
* @param request - function to call the graphql client
|
7176
|
+
*/
|
7177
|
+
export declare class IssueRemoveLabelMutation extends Request {
|
7178
|
+
constructor(request: LinearRequest);
|
7179
|
+
/**
|
7180
|
+
* Call the IssueRemoveLabel mutation and return a IssuePayload
|
7181
|
+
*
|
7182
|
+
* @param id - required id to pass to issueRemoveLabel
|
7183
|
+
* @param labelId - required labelId to pass to issueRemoveLabel
|
7184
|
+
* @returns parsed response from IssueRemoveLabelMutation
|
7185
|
+
*/
|
7186
|
+
fetch(id: string, labelId: string): LinearFetch<IssuePayload>;
|
7187
|
+
}
|
7188
|
+
/**
|
7189
|
+
* A fetchable IssueSubscribe Mutation
|
7190
|
+
*
|
7191
|
+
* @param request - function to call the graphql client
|
7192
|
+
*/
|
7193
|
+
export declare class IssueSubscribeMutation extends Request {
|
7194
|
+
constructor(request: LinearRequest);
|
7195
|
+
/**
|
7196
|
+
* Call the IssueSubscribe mutation and return a IssuePayload
|
7197
|
+
*
|
7198
|
+
* @param id - required id to pass to issueSubscribe
|
7199
|
+
* @param variables - variables without 'id' to pass into the IssueSubscribeMutation
|
7200
|
+
* @returns parsed response from IssueSubscribeMutation
|
7201
|
+
*/
|
7202
|
+
fetch(id: string, variables?: Omit<L.IssueSubscribeMutationVariables, "id">): LinearFetch<IssuePayload>;
|
7203
|
+
}
|
6658
7204
|
/**
|
6659
7205
|
* A fetchable UnarchiveIssue Mutation
|
6660
7206
|
*
|
@@ -6670,6 +7216,22 @@ export declare class UnarchiveIssueMutation extends Request {
|
|
6670
7216
|
*/
|
6671
7217
|
fetch(id: string): LinearFetch<IssueArchivePayload>;
|
6672
7218
|
}
|
7219
|
+
/**
|
7220
|
+
* A fetchable IssueUnsubscribe Mutation
|
7221
|
+
*
|
7222
|
+
* @param request - function to call the graphql client
|
7223
|
+
*/
|
7224
|
+
export declare class IssueUnsubscribeMutation extends Request {
|
7225
|
+
constructor(request: LinearRequest);
|
7226
|
+
/**
|
7227
|
+
* Call the IssueUnsubscribe mutation and return a IssuePayload
|
7228
|
+
*
|
7229
|
+
* @param id - required id to pass to issueUnsubscribe
|
7230
|
+
* @param variables - variables without 'id' to pass into the IssueUnsubscribeMutation
|
7231
|
+
* @returns parsed response from IssueUnsubscribeMutation
|
7232
|
+
*/
|
7233
|
+
fetch(id: string, variables?: Omit<L.IssueUnsubscribeMutationVariables, "id">): LinearFetch<IssuePayload>;
|
7234
|
+
}
|
6673
7235
|
/**
|
6674
7236
|
* A fetchable UpdateIssue Mutation
|
6675
7237
|
*
|
@@ -6730,6 +7292,49 @@ export declare class LogoutMutation extends Request {
|
|
6730
7292
|
*/
|
6731
7293
|
fetch(): LinearFetch<LogoutResponse>;
|
6732
7294
|
}
|
7295
|
+
/**
|
7296
|
+
* A fetchable LogoutAllSessions Mutation
|
7297
|
+
*
|
7298
|
+
* @param request - function to call the graphql client
|
7299
|
+
*/
|
7300
|
+
export declare class LogoutAllSessionsMutation extends Request {
|
7301
|
+
constructor(request: LinearRequest);
|
7302
|
+
/**
|
7303
|
+
* Call the LogoutAllSessions mutation and return a LogoutResponse
|
7304
|
+
*
|
7305
|
+
* @returns parsed response from LogoutAllSessionsMutation
|
7306
|
+
*/
|
7307
|
+
fetch(): LinearFetch<LogoutResponse>;
|
7308
|
+
}
|
7309
|
+
/**
|
7310
|
+
* A fetchable LogoutOtherSessions Mutation
|
7311
|
+
*
|
7312
|
+
* @param request - function to call the graphql client
|
7313
|
+
*/
|
7314
|
+
export declare class LogoutOtherSessionsMutation extends Request {
|
7315
|
+
constructor(request: LinearRequest);
|
7316
|
+
/**
|
7317
|
+
* Call the LogoutOtherSessions mutation and return a LogoutResponse
|
7318
|
+
*
|
7319
|
+
* @returns parsed response from LogoutOtherSessionsMutation
|
7320
|
+
*/
|
7321
|
+
fetch(): LinearFetch<LogoutResponse>;
|
7322
|
+
}
|
7323
|
+
/**
|
7324
|
+
* A fetchable LogoutSession Mutation
|
7325
|
+
*
|
7326
|
+
* @param request - function to call the graphql client
|
7327
|
+
*/
|
7328
|
+
export declare class LogoutSessionMutation extends Request {
|
7329
|
+
constructor(request: LinearRequest);
|
7330
|
+
/**
|
7331
|
+
* Call the LogoutSession mutation and return a LogoutResponse
|
7332
|
+
*
|
7333
|
+
* @param sessionId - required sessionId to pass to logoutSession
|
7334
|
+
* @returns parsed response from LogoutSessionMutation
|
7335
|
+
*/
|
7336
|
+
fetch(sessionId: string): LinearFetch<LogoutResponse>;
|
7337
|
+
}
|
6733
7338
|
/**
|
6734
7339
|
* A fetchable ArchiveNotification Mutation
|
6735
7340
|
*
|
@@ -7031,7 +7636,7 @@ export declare class UpdateOrganizationMutation extends Request {
|
|
7031
7636
|
* @param input - required input to pass to updateOrganization
|
7032
7637
|
* @returns parsed response from UpdateOrganizationMutation
|
7033
7638
|
*/
|
7034
|
-
fetch(input: L.
|
7639
|
+
fetch(input: L.OrganizationUpdateInput): LinearFetch<OrganizationPayload>;
|
7035
7640
|
}
|
7036
7641
|
/**
|
7037
7642
|
* A fetchable ArchiveProject Mutation
|
@@ -7044,9 +7649,10 @@ export declare class ArchiveProjectMutation extends Request {
|
|
7044
7649
|
* Call the ArchiveProject mutation and return a ProjectArchivePayload
|
7045
7650
|
*
|
7046
7651
|
* @param id - required id to pass to archiveProject
|
7652
|
+
* @param variables - variables without 'id' to pass into the ArchiveProjectMutation
|
7047
7653
|
* @returns parsed response from ArchiveProjectMutation
|
7048
7654
|
*/
|
7049
|
-
fetch(id: string): LinearFetch<ProjectArchivePayload>;
|
7655
|
+
fetch(id: string, variables?: Omit<L.ArchiveProjectMutationVariables, "id">): LinearFetch<ProjectArchivePayload>;
|
7050
7656
|
}
|
7051
7657
|
/**
|
7052
7658
|
* A fetchable CreateProject Mutation
|
@@ -7071,12 +7677,12 @@ export declare class CreateProjectMutation extends Request {
|
|
7071
7677
|
export declare class DeleteProjectMutation extends Request {
|
7072
7678
|
constructor(request: LinearRequest);
|
7073
7679
|
/**
|
7074
|
-
* Call the DeleteProject mutation and return a
|
7680
|
+
* Call the DeleteProject mutation and return a ProjectArchivePayload
|
7075
7681
|
*
|
7076
7682
|
* @param id - required id to pass to deleteProject
|
7077
7683
|
* @returns parsed response from DeleteProjectMutation
|
7078
7684
|
*/
|
7079
|
-
fetch(id: string): LinearFetch<
|
7685
|
+
fetch(id: string): LinearFetch<ProjectArchivePayload>;
|
7080
7686
|
}
|
7081
7687
|
/**
|
7082
7688
|
* A fetchable CreateProjectLink Mutation
|
@@ -7765,21 +8371,6 @@ export declare class UserGitHubConnectMutation extends Request {
|
|
7765
8371
|
*/
|
7766
8372
|
fetch(code: string): LinearFetch<UserPayload>;
|
7767
8373
|
}
|
7768
|
-
/**
|
7769
|
-
* A fetchable UserGoogleCalendarConnect Mutation
|
7770
|
-
*
|
7771
|
-
* @param request - function to call the graphql client
|
7772
|
-
*/
|
7773
|
-
export declare class UserGoogleCalendarConnectMutation extends Request {
|
7774
|
-
constructor(request: LinearRequest);
|
7775
|
-
/**
|
7776
|
-
* Call the UserGoogleCalendarConnect mutation and return a UserPayload
|
7777
|
-
*
|
7778
|
-
* @param code - required code to pass to userGoogleCalendarConnect
|
7779
|
-
* @returns parsed response from UserGoogleCalendarConnectMutation
|
7780
|
-
*/
|
7781
|
-
fetch(code: string): LinearFetch<UserPayload>;
|
7782
|
-
}
|
7783
8374
|
/**
|
7784
8375
|
* A fetchable UserJiraConnect Mutation
|
7785
8376
|
*
|
@@ -7915,7 +8506,7 @@ export declare class UpdateUserMutation extends Request {
|
|
7915
8506
|
* @param input - required input to pass to updateUser
|
7916
8507
|
* @returns parsed response from UpdateUserMutation
|
7917
8508
|
*/
|
7918
|
-
fetch(id: string, input: L.
|
8509
|
+
fetch(id: string, input: L.UserUpdateInput): LinearFetch<UserPayload>;
|
7919
8510
|
}
|
7920
8511
|
/**
|
7921
8512
|
* A fetchable CreateViewPreferences Mutation
|
@@ -8237,6 +8828,20 @@ export declare class AuditEntryTypesQuery extends Request {
|
|
8237
8828
|
*/
|
8238
8829
|
fetch(): LinearFetch<AuditEntryType[]>;
|
8239
8830
|
}
|
8831
|
+
/**
|
8832
|
+
* A fetchable AuthenticationSessions Query
|
8833
|
+
*
|
8834
|
+
* @param request - function to call the graphql client
|
8835
|
+
*/
|
8836
|
+
export declare class AuthenticationSessionsQuery extends Request {
|
8837
|
+
constructor(request: LinearRequest);
|
8838
|
+
/**
|
8839
|
+
* Call the AuthenticationSessions query and return a AuthenticationSessionResponse list
|
8840
|
+
*
|
8841
|
+
* @returns parsed response from AuthenticationSessionsQuery
|
8842
|
+
*/
|
8843
|
+
fetch(): LinearFetch<AuthenticationSessionResponse[]>;
|
8844
|
+
}
|
8240
8845
|
/**
|
8241
8846
|
* A fetchable AvailableUsers Query
|
8242
8847
|
*
|
@@ -8296,6 +8901,21 @@ export declare class CustomViewQuery extends Request {
|
|
8296
8901
|
*/
|
8297
8902
|
fetch(id: string): LinearFetch<CustomView>;
|
8298
8903
|
}
|
8904
|
+
/**
|
8905
|
+
* A fetchable CustomViewHasSubscribers Query
|
8906
|
+
*
|
8907
|
+
* @param request - function to call the graphql client
|
8908
|
+
*/
|
8909
|
+
export declare class CustomViewHasSubscribersQuery extends Request {
|
8910
|
+
constructor(request: LinearRequest);
|
8911
|
+
/**
|
8912
|
+
* Call the CustomViewHasSubscribers query and return a CustomViewHasSubscribersPayload
|
8913
|
+
*
|
8914
|
+
* @param id - required id to pass to customViewHasSubscribers
|
8915
|
+
* @returns parsed response from CustomViewHasSubscribersQuery
|
8916
|
+
*/
|
8917
|
+
fetch(id: string): LinearFetch<CustomViewHasSubscribersPayload>;
|
8918
|
+
}
|
8299
8919
|
/**
|
8300
8920
|
* A fetchable CustomViews Query
|
8301
8921
|
*
|
@@ -8357,34 +8977,34 @@ export declare class DocumentQuery extends Request {
|
|
8357
8977
|
fetch(id: string): LinearFetch<Document>;
|
8358
8978
|
}
|
8359
8979
|
/**
|
8360
|
-
* A fetchable
|
8980
|
+
* A fetchable DocumentContentHistory Query
|
8361
8981
|
*
|
8362
8982
|
* @param request - function to call the graphql client
|
8363
8983
|
*/
|
8364
|
-
export declare class
|
8984
|
+
export declare class DocumentContentHistoryQuery extends Request {
|
8365
8985
|
constructor(request: LinearRequest);
|
8366
8986
|
/**
|
8367
|
-
* Call the
|
8987
|
+
* Call the DocumentContentHistory query and return a DocumentContentHistoryPayload
|
8368
8988
|
*
|
8369
|
-
* @param
|
8370
|
-
* @returns parsed response from
|
8989
|
+
* @param id - required id to pass to documentContentHistory
|
8990
|
+
* @returns parsed response from DocumentContentHistoryQuery
|
8371
8991
|
*/
|
8372
|
-
fetch(
|
8992
|
+
fetch(id: string): LinearFetch<DocumentContentHistoryPayload>;
|
8373
8993
|
}
|
8374
8994
|
/**
|
8375
|
-
* A fetchable
|
8995
|
+
* A fetchable Documents Query
|
8376
8996
|
*
|
8377
8997
|
* @param request - function to call the graphql client
|
8378
8998
|
*/
|
8379
|
-
export declare class
|
8999
|
+
export declare class DocumentsQuery extends Request {
|
8380
9000
|
constructor(request: LinearRequest);
|
8381
9001
|
/**
|
8382
|
-
* Call the
|
9002
|
+
* Call the Documents query and return a DocumentConnection
|
8383
9003
|
*
|
8384
|
-
* @param
|
8385
|
-
* @returns parsed response from
|
9004
|
+
* @param variables - variables to pass into the DocumentsQuery
|
9005
|
+
* @returns parsed response from DocumentsQuery
|
8386
9006
|
*/
|
8387
|
-
fetch(
|
9007
|
+
fetch(variables?: L.DocumentsQueryVariables): LinearFetch<DocumentConnection>;
|
8388
9008
|
}
|
8389
9009
|
/**
|
8390
9010
|
* A fetchable Emoji Query
|
@@ -8446,22 +9066,6 @@ export declare class FavoritesQuery extends Request {
|
|
8446
9066
|
*/
|
8447
9067
|
fetch(variables?: L.FavoritesQueryVariables): LinearFetch<FavoriteConnection>;
|
8448
9068
|
}
|
8449
|
-
/**
|
8450
|
-
* A fetchable FigmaEmbedInfo Query
|
8451
|
-
*
|
8452
|
-
* @param request - function to call the graphql client
|
8453
|
-
*/
|
8454
|
-
export declare class FigmaEmbedInfoQuery extends Request {
|
8455
|
-
constructor(request: LinearRequest);
|
8456
|
-
/**
|
8457
|
-
* Call the FigmaEmbedInfo query and return a FigmaEmbedPayload
|
8458
|
-
*
|
8459
|
-
* @param fileId - required fileId to pass to figmaEmbedInfo
|
8460
|
-
* @param variables - variables without 'fileId' to pass into the FigmaEmbedInfoQuery
|
8461
|
-
* @returns parsed response from FigmaEmbedInfoQuery
|
8462
|
-
*/
|
8463
|
-
fetch(fileId: string, variables?: Omit<L.FigmaEmbedInfoQueryVariables, "fileId">): LinearFetch<FigmaEmbedPayload>;
|
8464
|
-
}
|
8465
9069
|
/**
|
8466
9070
|
* A fetchable Integration Query
|
8467
9071
|
*
|
@@ -9513,6 +10117,22 @@ export declare class AttachmentIssue_SubscribersQuery extends Request {
|
|
9513
10117
|
*/
|
9514
10118
|
fetch(variables?: Omit<L.AttachmentIssue_SubscribersQueryVariables, "id">): LinearFetch<UserConnection>;
|
9515
10119
|
}
|
10120
|
+
/**
|
10121
|
+
* A fetchable Comment_BotActor Query
|
10122
|
+
*
|
10123
|
+
* @param request - function to call the graphql client
|
10124
|
+
* @param id - required id to pass to comment
|
10125
|
+
*/
|
10126
|
+
export declare class Comment_BotActorQuery extends Request {
|
10127
|
+
private _id;
|
10128
|
+
constructor(request: LinearRequest, id: string);
|
10129
|
+
/**
|
10130
|
+
* Call the Comment_BotActor query and return a ActorBot
|
10131
|
+
*
|
10132
|
+
* @returns parsed response from Comment_BotActorQuery
|
10133
|
+
*/
|
10134
|
+
fetch(): LinearFetch<ActorBot | undefined>;
|
10135
|
+
}
|
9516
10136
|
/**
|
9517
10137
|
* A fetchable Comment_Children Query
|
9518
10138
|
*
|
@@ -9532,6 +10152,22 @@ export declare class Comment_ChildrenQuery extends Request {
|
|
9532
10152
|
*/
|
9533
10153
|
fetch(variables?: Omit<L.Comment_ChildrenQueryVariables, "id">): LinearFetch<CommentConnection>;
|
9534
10154
|
}
|
10155
|
+
/**
|
10156
|
+
* A fetchable Comment_DocumentContent Query
|
10157
|
+
*
|
10158
|
+
* @param request - function to call the graphql client
|
10159
|
+
* @param id - required id to pass to comment
|
10160
|
+
*/
|
10161
|
+
export declare class Comment_DocumentContentQuery extends Request {
|
10162
|
+
private _id;
|
10163
|
+
constructor(request: LinearRequest, id: string);
|
10164
|
+
/**
|
10165
|
+
* Call the Comment_DocumentContent query and return a DocumentContent
|
10166
|
+
*
|
10167
|
+
* @returns parsed response from Comment_DocumentContentQuery
|
10168
|
+
*/
|
10169
|
+
fetch(): LinearFetch<DocumentContent>;
|
10170
|
+
}
|
9535
10171
|
/**
|
9536
10172
|
* A fetchable Cycle_Issues Query
|
9537
10173
|
*
|
@@ -9570,22 +10206,6 @@ export declare class Cycle_UncompletedIssuesUponCloseQuery extends Request {
|
|
9570
10206
|
*/
|
9571
10207
|
fetch(variables?: Omit<L.Cycle_UncompletedIssuesUponCloseQueryVariables, "id">): LinearFetch<IssueConnection>;
|
9572
10208
|
}
|
9573
|
-
/**
|
9574
|
-
* A fetchable EmbedInfo_Embed Query
|
9575
|
-
*
|
9576
|
-
* @param request - function to call the graphql client
|
9577
|
-
* @param url - required url to pass to embedInfo
|
9578
|
-
*/
|
9579
|
-
export declare class EmbedInfo_EmbedQuery extends Request {
|
9580
|
-
private _url;
|
9581
|
-
constructor(request: LinearRequest, url: string);
|
9582
|
-
/**
|
9583
|
-
* Call the EmbedInfo_Embed query and return a Embed
|
9584
|
-
*
|
9585
|
-
* @returns parsed response from EmbedInfo_EmbedQuery
|
9586
|
-
*/
|
9587
|
-
fetch(): LinearFetch<Embed | undefined>;
|
9588
|
-
}
|
9589
10209
|
/**
|
9590
10210
|
* A fetchable Favorite_Children Query
|
9591
10211
|
*
|
@@ -9605,25 +10225,6 @@ export declare class Favorite_ChildrenQuery extends Request {
|
|
9605
10225
|
*/
|
9606
10226
|
fetch(variables?: Omit<L.Favorite_ChildrenQueryVariables, "id">): LinearFetch<FavoriteConnection>;
|
9607
10227
|
}
|
9608
|
-
/**
|
9609
|
-
* A fetchable FigmaEmbedInfo_FigmaEmbed Query
|
9610
|
-
*
|
9611
|
-
* @param request - function to call the graphql client
|
9612
|
-
* @param fileId - required fileId to pass to figmaEmbedInfo
|
9613
|
-
* @param variables - variables without 'fileId' to pass into the FigmaEmbedInfo_FigmaEmbedQuery
|
9614
|
-
*/
|
9615
|
-
export declare class FigmaEmbedInfo_FigmaEmbedQuery extends Request {
|
9616
|
-
private _fileId;
|
9617
|
-
private _variables?;
|
9618
|
-
constructor(request: LinearRequest, fileId: string, variables?: Omit<L.FigmaEmbedInfo_FigmaEmbedQueryVariables, "fileId">);
|
9619
|
-
/**
|
9620
|
-
* Call the FigmaEmbedInfo_FigmaEmbed query and return a FigmaEmbed
|
9621
|
-
*
|
9622
|
-
* @param variables - variables without 'fileId' to pass into the FigmaEmbedInfo_FigmaEmbedQuery
|
9623
|
-
* @returns parsed response from FigmaEmbedInfo_FigmaEmbedQuery
|
9624
|
-
*/
|
9625
|
-
fetch(variables?: Omit<L.FigmaEmbedInfo_FigmaEmbedQueryVariables, "fileId">): LinearFetch<FigmaEmbed | undefined>;
|
9626
|
-
}
|
9627
10228
|
/**
|
9628
10229
|
* A fetchable Issue_Attachments Query
|
9629
10230
|
*
|
@@ -10664,25 +11265,52 @@ export declare class LinearSdk extends Request {
|
|
10664
11265
|
* @param issueId - required issueId to pass to attachmentLinkDiscord
|
10665
11266
|
* @param messageId - required messageId to pass to attachmentLinkDiscord
|
10666
11267
|
* @param url - required url to pass to attachmentLinkDiscord
|
11268
|
+
* @param variables - variables without 'channelId', 'issueId', 'messageId', 'url' to pass into the AttachmentLinkDiscordMutation
|
10667
11269
|
* @returns AttachmentPayload
|
10668
11270
|
*/
|
10669
|
-
attachmentLinkDiscord(channelId: string, issueId: string, messageId: string, url: string): LinearFetch<AttachmentPayload>;
|
11271
|
+
attachmentLinkDiscord(channelId: string, issueId: string, messageId: string, url: string, variables?: Omit<L.AttachmentLinkDiscordMutationVariables, "channelId" | "issueId" | "messageId" | "url">): LinearFetch<AttachmentPayload>;
|
10670
11272
|
/**
|
10671
11273
|
* Link an existing Front conversation to an issue.
|
10672
11274
|
*
|
10673
11275
|
* @param conversationId - required conversationId to pass to attachmentLinkFront
|
10674
11276
|
* @param issueId - required issueId to pass to attachmentLinkFront
|
11277
|
+
* @param variables - variables without 'conversationId', 'issueId' to pass into the AttachmentLinkFrontMutation
|
10675
11278
|
* @returns FrontAttachmentPayload
|
10676
11279
|
*/
|
10677
|
-
attachmentLinkFront(conversationId: string, issueId: string): LinearFetch<FrontAttachmentPayload>;
|
11280
|
+
attachmentLinkFront(conversationId: string, issueId: string, variables?: Omit<L.AttachmentLinkFrontMutationVariables, "conversationId" | "issueId">): LinearFetch<FrontAttachmentPayload>;
|
11281
|
+
/**
|
11282
|
+
* Link an existing GitHub PR to an issue.
|
11283
|
+
*
|
11284
|
+
* @param issueId - required issueId to pass to attachmentLinkGitHubPR
|
11285
|
+
* @param number - required number to pass to attachmentLinkGitHubPR
|
11286
|
+
* @param owner - required owner to pass to attachmentLinkGitHubPR
|
11287
|
+
* @param repo - required repo to pass to attachmentLinkGitHubPR
|
11288
|
+
* @param url - required url to pass to attachmentLinkGitHubPR
|
11289
|
+
* @param variables - variables without 'issueId', 'number', 'owner', 'repo', 'url' to pass into the AttachmentLinkGitHubPrMutation
|
11290
|
+
* @returns AttachmentPayload
|
11291
|
+
*/
|
11292
|
+
attachmentLinkGitHubPR(issueId: string, number: number, owner: string, repo: string, url: string, variables?: Omit<L.AttachmentLinkGitHubPrMutationVariables, "issueId" | "number" | "owner" | "repo" | "url">): LinearFetch<AttachmentPayload>;
|
11293
|
+
/**
|
11294
|
+
* Link an existing GitLab MR to an issue.
|
11295
|
+
*
|
11296
|
+
* @param issueId - required issueId to pass to attachmentLinkGitLabMR
|
11297
|
+
* @param number - required number to pass to attachmentLinkGitLabMR
|
11298
|
+
* @param owner - required owner to pass to attachmentLinkGitLabMR
|
11299
|
+
* @param repo - required repo to pass to attachmentLinkGitLabMR
|
11300
|
+
* @param url - required url to pass to attachmentLinkGitLabMR
|
11301
|
+
* @param variables - variables without 'issueId', 'number', 'owner', 'repo', 'url' to pass into the AttachmentLinkGitLabMrMutation
|
11302
|
+
* @returns AttachmentPayload
|
11303
|
+
*/
|
11304
|
+
attachmentLinkGitLabMR(issueId: string, number: number, owner: string, repo: string, url: string, variables?: Omit<L.AttachmentLinkGitLabMrMutationVariables, "issueId" | "number" | "owner" | "repo" | "url">): LinearFetch<AttachmentPayload>;
|
10678
11305
|
/**
|
10679
11306
|
* Link an existing Intercom conversation to an issue.
|
10680
11307
|
*
|
10681
11308
|
* @param conversationId - required conversationId to pass to attachmentLinkIntercom
|
10682
11309
|
* @param issueId - required issueId to pass to attachmentLinkIntercom
|
11310
|
+
* @param variables - variables without 'conversationId', 'issueId' to pass into the AttachmentLinkIntercomMutation
|
10683
11311
|
* @returns AttachmentPayload
|
10684
11312
|
*/
|
10685
|
-
attachmentLinkIntercom(conversationId: string, issueId: string): LinearFetch<AttachmentPayload>;
|
11313
|
+
attachmentLinkIntercom(conversationId: string, issueId: string, variables?: Omit<L.AttachmentLinkIntercomMutationVariables, "conversationId" | "issueId">): LinearFetch<AttachmentPayload>;
|
10686
11314
|
/**
|
10687
11315
|
* Link an existing Jira issue to an issue.
|
10688
11316
|
*
|
@@ -10716,9 +11344,10 @@ export declare class LinearSdk extends Request {
|
|
10716
11344
|
*
|
10717
11345
|
* @param issueId - required issueId to pass to attachmentLinkZendesk
|
10718
11346
|
* @param ticketId - required ticketId to pass to attachmentLinkZendesk
|
11347
|
+
* @param variables - variables without 'issueId', 'ticketId' to pass into the AttachmentLinkZendeskMutation
|
10719
11348
|
* @returns AttachmentPayload
|
10720
11349
|
*/
|
10721
|
-
attachmentLinkZendesk(issueId: string, ticketId: string): LinearFetch<AttachmentPayload>;
|
11350
|
+
attachmentLinkZendesk(issueId: string, ticketId: string, variables?: Omit<L.AttachmentLinkZendeskMutationVariables, "issueId" | "ticketId">): LinearFetch<AttachmentPayload>;
|
10722
11351
|
/**
|
10723
11352
|
* Unsyncs an existing synced Slack attachment.
|
10724
11353
|
*
|
@@ -10778,6 +11407,14 @@ export declare class LinearSdk extends Request {
|
|
10778
11407
|
* @returns CreateOrJoinOrganizationResponse
|
10779
11408
|
*/
|
10780
11409
|
createOrganizationFromOnboarding(input: L.CreateOrganizationInput, variables?: Omit<L.CreateOrganizationFromOnboardingMutationVariables, "input">): LinearFetch<CreateOrJoinOrganizationResponse>;
|
11410
|
+
/**
|
11411
|
+
* Create a notification to remind a user about a project update.
|
11412
|
+
*
|
11413
|
+
* @param projectId - required projectId to pass to createProjectUpdateReminder
|
11414
|
+
* @param variables - variables without 'projectId' to pass into the CreateProjectUpdateReminderMutation
|
11415
|
+
* @returns ProjectUpdateReminderPayload
|
11416
|
+
*/
|
11417
|
+
createProjectUpdateReminder(projectId: string, variables?: Omit<L.CreateProjectUpdateReminderMutationVariables, "projectId">): LinearFetch<ProjectUpdateReminderPayload>;
|
10781
11418
|
/**
|
10782
11419
|
* Creates a new custom view.
|
10783
11420
|
*
|
@@ -10935,6 +11572,14 @@ export declare class LinearSdk extends Request {
|
|
10935
11572
|
* @returns UploadPayload
|
10936
11573
|
*/
|
10937
11574
|
importFileUpload(contentType: string, filename: string, size: number, variables?: Omit<L.ImportFileUploadMutationVariables, "contentType" | "filename" | "size">): LinearFetch<UploadPayload>;
|
11575
|
+
/**
|
11576
|
+
* Connect a Slack channel to Asks.
|
11577
|
+
*
|
11578
|
+
* @param code - required code to pass to integrationAsksConnectChannel
|
11579
|
+
* @param redirectUri - required redirectUri to pass to integrationAsksConnectChannel
|
11580
|
+
* @returns AsksChannelConnectPayload
|
11581
|
+
*/
|
11582
|
+
integrationAsksConnectChannel(code: string, redirectUri: string): LinearFetch<AsksChannelConnectPayload>;
|
10938
11583
|
/**
|
10939
11584
|
* Deletes an integration.
|
10940
11585
|
*
|
@@ -10979,6 +11624,13 @@ export declare class LinearSdk extends Request {
|
|
10979
11624
|
* @returns IntegrationPayload
|
10980
11625
|
*/
|
10981
11626
|
integrationGithubConnect(installationId: string): LinearFetch<IntegrationPayload>;
|
11627
|
+
/**
|
11628
|
+
* Connects the organization with the GitHub Sync App.
|
11629
|
+
*
|
11630
|
+
* @param installationId - required installationId to pass to integrationGithubSync
|
11631
|
+
* @returns IntegrationPayload
|
11632
|
+
*/
|
11633
|
+
integrationGithubSync(installationId: string): LinearFetch<IntegrationPayload>;
|
10982
11634
|
/**
|
10983
11635
|
* Connects the organization with a GitLab Access Token.
|
10984
11636
|
*
|
@@ -11146,6 +11798,14 @@ export declare class LinearSdk extends Request {
|
|
11146
11798
|
* @returns IntegrationsSettingsPayload
|
11147
11799
|
*/
|
11148
11800
|
updateIntegrationsSettings(id: string, input: L.IntegrationsSettingsUpdateInput): LinearFetch<IntegrationsSettingsPayload>;
|
11801
|
+
/**
|
11802
|
+
* Adds a label to an issue.
|
11803
|
+
*
|
11804
|
+
* @param id - required id to pass to issueAddLabel
|
11805
|
+
* @param labelId - required labelId to pass to issueAddLabel
|
11806
|
+
* @returns IssuePayload
|
11807
|
+
*/
|
11808
|
+
issueAddLabel(id: string, labelId: string): LinearFetch<IssuePayload>;
|
11149
11809
|
/**
|
11150
11810
|
* Archives an issue.
|
11151
11811
|
*
|
@@ -11299,6 +11959,22 @@ export declare class LinearSdk extends Request {
|
|
11299
11959
|
* @returns IssuePayload
|
11300
11960
|
*/
|
11301
11961
|
issueReminder(id: string, reminderAt: Date): LinearFetch<IssuePayload>;
|
11962
|
+
/**
|
11963
|
+
* Removes a label from an issue.
|
11964
|
+
*
|
11965
|
+
* @param id - required id to pass to issueRemoveLabel
|
11966
|
+
* @param labelId - required labelId to pass to issueRemoveLabel
|
11967
|
+
* @returns IssuePayload
|
11968
|
+
*/
|
11969
|
+
issueRemoveLabel(id: string, labelId: string): LinearFetch<IssuePayload>;
|
11970
|
+
/**
|
11971
|
+
* Subscribes a user to an issue.
|
11972
|
+
*
|
11973
|
+
* @param id - required id to pass to issueSubscribe
|
11974
|
+
* @param variables - variables without 'id' to pass into the IssueSubscribeMutation
|
11975
|
+
* @returns IssuePayload
|
11976
|
+
*/
|
11977
|
+
issueSubscribe(id: string, variables?: Omit<L.IssueSubscribeMutationVariables, "id">): LinearFetch<IssuePayload>;
|
11302
11978
|
/**
|
11303
11979
|
* Unarchives an issue.
|
11304
11980
|
*
|
@@ -11306,6 +11982,14 @@ export declare class LinearSdk extends Request {
|
|
11306
11982
|
* @returns IssueArchivePayload
|
11307
11983
|
*/
|
11308
11984
|
unarchiveIssue(id: string): LinearFetch<IssueArchivePayload>;
|
11985
|
+
/**
|
11986
|
+
* Unsubscribes a user from an issue.
|
11987
|
+
*
|
11988
|
+
* @param id - required id to pass to issueUnsubscribe
|
11989
|
+
* @param variables - variables without 'id' to pass into the IssueUnsubscribeMutation
|
11990
|
+
* @returns IssuePayload
|
11991
|
+
*/
|
11992
|
+
issueUnsubscribe(id: string, variables?: Omit<L.IssueUnsubscribeMutationVariables, "id">): LinearFetch<IssuePayload>;
|
11309
11993
|
/**
|
11310
11994
|
* Updates an issue.
|
11311
11995
|
*
|
@@ -11329,11 +12013,30 @@ export declare class LinearSdk extends Request {
|
|
11329
12013
|
*/
|
11330
12014
|
leaveOrganization(organizationId: string): LinearFetch<CreateOrJoinOrganizationResponse>;
|
11331
12015
|
/**
|
11332
|
-
* Logout
|
12016
|
+
* Logout the client.
|
11333
12017
|
*
|
11334
12018
|
* @returns LogoutResponse
|
11335
12019
|
*/
|
11336
12020
|
get logout(): LinearFetch<LogoutResponse>;
|
12021
|
+
/**
|
12022
|
+
* Logout all of user's sessions including the active one.
|
12023
|
+
*
|
12024
|
+
* @returns LogoutResponse
|
12025
|
+
*/
|
12026
|
+
get logoutAllSessions(): LinearFetch<LogoutResponse>;
|
12027
|
+
/**
|
12028
|
+
* Logout all of user's sessions excluding the current one.
|
12029
|
+
*
|
12030
|
+
* @returns LogoutResponse
|
12031
|
+
*/
|
12032
|
+
get logoutOtherSessions(): LinearFetch<LogoutResponse>;
|
12033
|
+
/**
|
12034
|
+
* Logout an individual session with its ID.
|
12035
|
+
*
|
12036
|
+
* @param sessionId - required sessionId to pass to logoutSession
|
12037
|
+
* @returns LogoutResponse
|
12038
|
+
*/
|
12039
|
+
logoutSession(sessionId: string): LinearFetch<LogoutResponse>;
|
11337
12040
|
/**
|
11338
12041
|
* Archives a notification.
|
11339
12042
|
*
|
@@ -11476,14 +12179,15 @@ export declare class LinearSdk extends Request {
|
|
11476
12179
|
* @param input - required input to pass to updateOrganization
|
11477
12180
|
* @returns OrganizationPayload
|
11478
12181
|
*/
|
11479
|
-
updateOrganization(input: L.
|
12182
|
+
updateOrganization(input: L.OrganizationUpdateInput): LinearFetch<OrganizationPayload>;
|
11480
12183
|
/**
|
11481
12184
|
* Archives a project.
|
11482
12185
|
*
|
11483
12186
|
* @param id - required id to pass to archiveProject
|
12187
|
+
* @param variables - variables without 'id' to pass into the ArchiveProjectMutation
|
11484
12188
|
* @returns ProjectArchivePayload
|
11485
12189
|
*/
|
11486
|
-
archiveProject(id: string): LinearFetch<ProjectArchivePayload>;
|
12190
|
+
archiveProject(id: string, variables?: Omit<L.ArchiveProjectMutationVariables, "id">): LinearFetch<ProjectArchivePayload>;
|
11487
12191
|
/**
|
11488
12192
|
* Creates a new project.
|
11489
12193
|
*
|
@@ -11492,12 +12196,12 @@ export declare class LinearSdk extends Request {
|
|
11492
12196
|
*/
|
11493
12197
|
createProject(input: L.ProjectCreateInput): LinearFetch<ProjectPayload>;
|
11494
12198
|
/**
|
11495
|
-
* Deletes a project.
|
12199
|
+
* Deletes (trashes) a project.
|
11496
12200
|
*
|
11497
12201
|
* @param id - required id to pass to deleteProject
|
11498
|
-
* @returns
|
12202
|
+
* @returns ProjectArchivePayload
|
11499
12203
|
*/
|
11500
|
-
deleteProject(id: string): LinearFetch<
|
12204
|
+
deleteProject(id: string): LinearFetch<ProjectArchivePayload>;
|
11501
12205
|
/**
|
11502
12206
|
* Creates a new project link.
|
11503
12207
|
*
|
@@ -11825,13 +12529,6 @@ export declare class LinearSdk extends Request {
|
|
11825
12529
|
* @returns UserPayload
|
11826
12530
|
*/
|
11827
12531
|
userGitHubConnect(code: string): LinearFetch<UserPayload>;
|
11828
|
-
/**
|
11829
|
-
* Connects the Google Calendar to the user to this Linear account via OAuth2.
|
11830
|
-
*
|
11831
|
-
* @param code - required code to pass to userGoogleCalendarConnect
|
11832
|
-
* @returns UserPayload
|
11833
|
-
*/
|
11834
|
-
userGoogleCalendarConnect(code: string): LinearFetch<UserPayload>;
|
11835
12532
|
/**
|
11836
12533
|
* Connects the Jira user to this Linear account via OAuth2.
|
11837
12534
|
*
|
@@ -11896,7 +12593,7 @@ export declare class LinearSdk extends Request {
|
|
11896
12593
|
* @param input - required input to pass to updateUser
|
11897
12594
|
* @returns UserPayload
|
11898
12595
|
*/
|
11899
|
-
updateUser(id: string, input: L.
|
12596
|
+
updateUser(id: string, input: L.UserUpdateInput): LinearFetch<UserPayload>;
|
11900
12597
|
/**
|
11901
12598
|
* Creates a new ViewPreferences object.
|
11902
12599
|
*
|
@@ -12052,6 +12749,12 @@ export declare class LinearSdk extends Request {
|
|
12052
12749
|
* @returns AuditEntryType[]
|
12053
12750
|
*/
|
12054
12751
|
get auditEntryTypes(): LinearFetch<AuditEntryType[]>;
|
12752
|
+
/**
|
12753
|
+
* User's active sessions.
|
12754
|
+
*
|
12755
|
+
* @returns AuthenticationSessionResponse[]
|
12756
|
+
*/
|
12757
|
+
get authenticationSessions(): LinearFetch<AuthenticationSessionResponse[]>;
|
12055
12758
|
/**
|
12056
12759
|
* Fetch users belonging to this user account.
|
12057
12760
|
*
|
@@ -12079,6 +12782,13 @@ export declare class LinearSdk extends Request {
|
|
12079
12782
|
* @returns CustomView
|
12080
12783
|
*/
|
12081
12784
|
customView(id: string): LinearFetch<CustomView>;
|
12785
|
+
/**
|
12786
|
+
* Whether a custom view has other subscribers than the current user in the organization.
|
12787
|
+
*
|
12788
|
+
* @param id - required id to pass to customViewHasSubscribers
|
12789
|
+
* @returns CustomViewHasSubscribersPayload
|
12790
|
+
*/
|
12791
|
+
customViewHasSubscribers(id: string): LinearFetch<CustomViewHasSubscribersPayload>;
|
12082
12792
|
/**
|
12083
12793
|
* Custom views for the user.
|
12084
12794
|
*
|
@@ -12108,19 +12818,19 @@ export declare class LinearSdk extends Request {
|
|
12108
12818
|
*/
|
12109
12819
|
document(id: string): LinearFetch<Document>;
|
12110
12820
|
/**
|
12111
|
-
*
|
12821
|
+
* A collection of document content history entries.
|
12112
12822
|
*
|
12113
|
-
* @param
|
12114
|
-
* @returns
|
12823
|
+
* @param id - required id to pass to documentContentHistory
|
12824
|
+
* @returns DocumentContentHistoryPayload
|
12115
12825
|
*/
|
12116
|
-
|
12826
|
+
documentContentHistory(id: string): LinearFetch<DocumentContentHistoryPayload>;
|
12117
12827
|
/**
|
12118
|
-
*
|
12828
|
+
* All documents in the workspace.
|
12119
12829
|
*
|
12120
|
-
* @param
|
12121
|
-
* @returns
|
12830
|
+
* @param variables - variables to pass into the DocumentsQuery
|
12831
|
+
* @returns DocumentConnection
|
12122
12832
|
*/
|
12123
|
-
|
12833
|
+
documents(variables?: L.DocumentsQueryVariables): LinearFetch<DocumentConnection>;
|
12124
12834
|
/**
|
12125
12835
|
* A specific emoji.
|
12126
12836
|
*
|
@@ -12149,14 +12859,6 @@ export declare class LinearSdk extends Request {
|
|
12149
12859
|
* @returns FavoriteConnection
|
12150
12860
|
*/
|
12151
12861
|
favorites(variables?: L.FavoritesQueryVariables): LinearFetch<FavoriteConnection>;
|
12152
|
-
/**
|
12153
|
-
* Fetch Figma screenshot and other information with file and node identifiers.
|
12154
|
-
*
|
12155
|
-
* @param fileId - required fileId to pass to figmaEmbedInfo
|
12156
|
-
* @param variables - variables without 'fileId' to pass into the FigmaEmbedInfoQuery
|
12157
|
-
* @returns FigmaEmbedPayload
|
12158
|
-
*/
|
12159
|
-
figmaEmbedInfo(fileId: string, variables?: Omit<L.FigmaEmbedInfoQueryVariables, "fileId">): LinearFetch<FigmaEmbedPayload>;
|
12160
12862
|
/**
|
12161
12863
|
* One specific integration.
|
12162
12864
|
*
|