@linear/sdk 8.0.0 → 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 +1169 -395
- package/dist/_generated_documents.d.ts.map +1 -1
- package/dist/_generated_sdk.d.ts +791 -255
- package/dist/_generated_sdk.d.ts.map +1 -1
- package/dist/index-cjs.js +2926 -1076
- 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 +2891 -1065
- 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 +2925 -1072
- package/dist/index-umd.js.map +1 -1
- package/dist/index-umd.min.js +1 -1
- package/dist/index-umd.min.js.br +0 -0
- package/dist/index-umd.min.js.gz +0 -0
- package/dist/index-umd.min.js.map +1 -1
- package/package.json +1 -1
- package/CHANGELOG.md +0 -6096
package/dist/_generated_sdk.d.ts
CHANGED
@@ -362,6 +362,77 @@ export declare class AuditEntryType extends Request {
|
|
362
362
|
/** The audit entry type. */
|
363
363
|
type: string;
|
364
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
|
+
}
|
365
436
|
/**
|
366
437
|
* AuthResolverResponse model
|
367
438
|
*
|
@@ -381,9 +452,105 @@ export declare class AuthResolverResponse extends Request {
|
|
381
452
|
/** JWT token for authentication of the account. */
|
382
453
|
token?: string;
|
383
454
|
/** Organizations this account has access to, but is not yet a member. */
|
384
|
-
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[];
|
385
458
|
/** Users belonging to this account. */
|
386
|
-
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;
|
387
554
|
}
|
388
555
|
/**
|
389
556
|
* A comment associated with an issue.
|
@@ -394,6 +561,8 @@ export declare class AuthResolverResponse extends Request {
|
|
394
561
|
export declare class Comment extends Request {
|
395
562
|
private _issue;
|
396
563
|
private _parent?;
|
564
|
+
private _resolvingComment?;
|
565
|
+
private _resolvingUser?;
|
397
566
|
private _user?;
|
398
567
|
constructor(request: LinearRequest, data: L.CommentFragment);
|
399
568
|
/** The time at which the entity was archived. Null if the entity has not been archived. */
|
@@ -410,6 +579,8 @@ export declare class Comment extends Request {
|
|
410
579
|
id: string;
|
411
580
|
/** Emoji reaction summary, grouped by emoji type */
|
412
581
|
reactionData: Record<string, unknown>;
|
582
|
+
/** The time the resolvingUser resolved the thread. */
|
583
|
+
resolvedAt?: Date;
|
413
584
|
/**
|
414
585
|
* The last time at which the entity was meaningfully updated, i.e. for all changes of syncable properties except those
|
415
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
|
@@ -420,10 +591,16 @@ export declare class Comment extends Request {
|
|
420
591
|
url: string;
|
421
592
|
/** The bot that created the comment */
|
422
593
|
botActor?: ActorBot;
|
594
|
+
/** The document content that the comment is associated with. */
|
595
|
+
documentContent: DocumentContent;
|
423
596
|
/** The issue that the comment is associated with. */
|
424
597
|
get issue(): LinearFetch<Issue> | undefined;
|
425
598
|
/** The parent comment under which the current comment is nested. */
|
426
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;
|
427
604
|
/** The user who wrote the comment. */
|
428
605
|
get user(): LinearFetch<User> | undefined;
|
429
606
|
/** The children of the comment. */
|
@@ -536,10 +713,9 @@ export declare class CreateCsvExportReportPayload extends Request {
|
|
536
713
|
* @param data - L.CreateOrJoinOrganizationResponseFragment response data
|
537
714
|
*/
|
538
715
|
export declare class CreateOrJoinOrganizationResponse extends Request {
|
539
|
-
private _user;
|
540
716
|
constructor(request: LinearRequest, data: L.CreateOrJoinOrganizationResponseFragment);
|
541
|
-
|
542
|
-
|
717
|
+
organization: AuthOrganization;
|
718
|
+
user: AuthUser;
|
543
719
|
}
|
544
720
|
/**
|
545
721
|
* A custom view that has been saved by a user.
|
@@ -603,6 +779,17 @@ export declare class CustomView extends Request {
|
|
603
779
|
export declare class CustomViewConnection extends Connection<CustomView> {
|
604
780
|
constructor(request: LinearRequest, fetch: (connection?: LinearConnectionVariables) => LinearFetch<LinearConnection<CustomView> | undefined>, data: L.CustomViewConnectionFragment);
|
605
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
|
+
}
|
606
793
|
/**
|
607
794
|
* A custom view notification subscription.
|
608
795
|
*
|
@@ -851,6 +1038,7 @@ export declare class DeletePayload extends Request {
|
|
851
1038
|
*/
|
852
1039
|
export declare class Document extends Request {
|
853
1040
|
private _creator;
|
1041
|
+
private _lastAppliedTemplate?;
|
854
1042
|
private _project;
|
855
1043
|
private _updatedBy;
|
856
1044
|
constructor(request: LinearRequest, data: L.DocumentFragment);
|
@@ -858,9 +1046,9 @@ export declare class Document extends Request {
|
|
858
1046
|
archivedAt?: Date;
|
859
1047
|
/** The color of the icon. */
|
860
1048
|
color?: string;
|
861
|
-
/** The
|
1049
|
+
/** The documents content in markdown format. */
|
862
1050
|
content?: string;
|
863
|
-
/** The
|
1051
|
+
/** The documents content as a Prosemirror document. */
|
864
1052
|
contentData?: Record<string, unknown>;
|
865
1053
|
/** The time at which the entity was created. */
|
866
1054
|
createdAt: Date;
|
@@ -880,6 +1068,8 @@ export declare class Document extends Request {
|
|
880
1068
|
updatedAt: Date;
|
881
1069
|
/** The user who created the document. */
|
882
1070
|
get creator(): LinearFetch<User> | undefined;
|
1071
|
+
/** The last template that was applied to this document. */
|
1072
|
+
get lastAppliedTemplate(): LinearFetch<Template> | undefined;
|
883
1073
|
/** The project that the document is associated with. */
|
884
1074
|
get project(): LinearFetch<Project> | undefined;
|
885
1075
|
/** The user who last updated the document. */
|
@@ -908,8 +1098,10 @@ export declare class DocumentConnection extends Connection<Document> {
|
|
908
1098
|
* @param data - L.DocumentContentFragment response data
|
909
1099
|
*/
|
910
1100
|
export declare class DocumentContent extends Request {
|
1101
|
+
private _document?;
|
911
1102
|
private _issue?;
|
912
1103
|
private _project?;
|
1104
|
+
private _projectMilestone?;
|
913
1105
|
constructor(request: LinearRequest, data: L.DocumentContentFragment);
|
914
1106
|
/** The time at which the entity was archived. Null if the entity has not been archived. */
|
915
1107
|
archivedAt?: Date;
|
@@ -918,7 +1110,7 @@ export declare class DocumentContent extends Request {
|
|
918
1110
|
/** The document content as JSON. */
|
919
1111
|
contentData?: Record<string, unknown>;
|
920
1112
|
/** The document content state as a base64 encoded string. */
|
921
|
-
contentState?:
|
1113
|
+
contentState?: string;
|
922
1114
|
/** The time at which the entity was created. */
|
923
1115
|
createdAt: Date;
|
924
1116
|
/** The unique identifier of the entity. */
|
@@ -929,10 +1121,75 @@ export declare class DocumentContent extends Request {
|
|
929
1121
|
* been updated after creation.
|
930
1122
|
*/
|
931
1123
|
updatedAt: Date;
|
932
|
-
/** 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. */
|
933
1127
|
get issue(): LinearFetch<Issue> | undefined;
|
934
|
-
/** The project that the
|
1128
|
+
/** The project that the content is associated with. */
|
935
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;
|
936
1193
|
}
|
937
1194
|
/**
|
938
1195
|
* DocumentPayload model
|
@@ -973,6 +1230,7 @@ export declare class DocumentSearchPayload extends Request {
|
|
973
1230
|
*/
|
974
1231
|
export declare class DocumentSearchResult extends Request {
|
975
1232
|
private _creator;
|
1233
|
+
private _lastAppliedTemplate?;
|
976
1234
|
private _project;
|
977
1235
|
private _updatedBy;
|
978
1236
|
constructor(request: LinearRequest, data: L.DocumentSearchResultFragment);
|
@@ -980,9 +1238,9 @@ export declare class DocumentSearchResult extends Request {
|
|
980
1238
|
archivedAt?: Date;
|
981
1239
|
/** The color of the icon. */
|
982
1240
|
color?: string;
|
983
|
-
/** The
|
1241
|
+
/** The documents content in markdown format. */
|
984
1242
|
content?: string;
|
985
|
-
/** The
|
1243
|
+
/** The documents content as a Prosemirror document. */
|
986
1244
|
contentData?: Record<string, unknown>;
|
987
1245
|
/** The time at which the entity was created. */
|
988
1246
|
createdAt: Date;
|
@@ -1004,6 +1262,8 @@ export declare class DocumentSearchResult extends Request {
|
|
1004
1262
|
updatedAt: Date;
|
1005
1263
|
/** The user who created the document. */
|
1006
1264
|
get creator(): LinearFetch<User> | undefined;
|
1265
|
+
/** The last template that was applied to this document. */
|
1266
|
+
get lastAppliedTemplate(): LinearFetch<Template> | undefined;
|
1007
1267
|
/** The project that the document is associated with. */
|
1008
1268
|
get project(): LinearFetch<Project> | undefined;
|
1009
1269
|
/** The user who last updated the document. */
|
@@ -1043,52 +1303,6 @@ export declare class EmailUserAccountAuthChallengeResponse extends Request {
|
|
1043
1303
|
/** Whether the operation was successful. */
|
1044
1304
|
success: boolean;
|
1045
1305
|
}
|
1046
|
-
/**
|
1047
|
-
* Information for creating embedded content for the provided URL
|
1048
|
-
*
|
1049
|
-
* @param request - function to call the graphql client
|
1050
|
-
* @param data - L.EmbedFragment response data
|
1051
|
-
*/
|
1052
|
-
export declare class Embed extends Request {
|
1053
|
-
constructor(request: LinearRequest, data: L.EmbedFragment);
|
1054
|
-
/** The name of the author/owner of the resource */
|
1055
|
-
authorName?: string;
|
1056
|
-
/** The description of the content */
|
1057
|
-
description?: string;
|
1058
|
-
/** The height of embedded content (photo, video, rich) */
|
1059
|
-
height?: number;
|
1060
|
-
/** The HTML (video, rich) */
|
1061
|
-
html?: string;
|
1062
|
-
/** The name of the provider */
|
1063
|
-
providerName?: string;
|
1064
|
-
/** The height of the thumbnail preview image */
|
1065
|
-
thumbnailHeight?: number;
|
1066
|
-
/** The URL of the thumbnail preview image */
|
1067
|
-
thumbnailUrl?: string;
|
1068
|
-
/** The width of the thumbnail preview image */
|
1069
|
-
thumbnailWidth?: number;
|
1070
|
-
/** Title for the returned embed view */
|
1071
|
-
title?: string;
|
1072
|
-
/** The type of embed */
|
1073
|
-
type: string;
|
1074
|
-
/** The asset URL (photo) */
|
1075
|
-
url?: string;
|
1076
|
-
/** The width of embedded content (photo, video, rich) */
|
1077
|
-
width?: number;
|
1078
|
-
}
|
1079
|
-
/**
|
1080
|
-
* EmbedPayload model
|
1081
|
-
*
|
1082
|
-
* @param request - function to call the graphql client
|
1083
|
-
* @param data - L.EmbedPayloadFragment response data
|
1084
|
-
*/
|
1085
|
-
export declare class EmbedPayload extends Request {
|
1086
|
-
constructor(request: LinearRequest, data: L.EmbedPayloadFragment);
|
1087
|
-
/** Whether the query was successful */
|
1088
|
-
success: boolean;
|
1089
|
-
/** Embed information */
|
1090
|
-
embed?: Embed;
|
1091
|
-
}
|
1092
1306
|
/**
|
1093
1307
|
* A custom emoji.
|
1094
1308
|
*
|
@@ -1271,75 +1485,6 @@ export declare class FavoritePayload extends Request {
|
|
1271
1485
|
/** The object that was added as a favorite. */
|
1272
1486
|
get favorite(): LinearFetch<Favorite> | undefined;
|
1273
1487
|
}
|
1274
|
-
/**
|
1275
|
-
* Object representing Figma preview information.
|
1276
|
-
*
|
1277
|
-
* @param request - function to call the graphql client
|
1278
|
-
* @param data - L.FigmaEmbedFragment response data
|
1279
|
-
*/
|
1280
|
-
export declare class FigmaEmbed extends Request {
|
1281
|
-
constructor(request: LinearRequest, data: L.FigmaEmbedFragment);
|
1282
|
-
/** Date when the file was updated at the time of embedding. */
|
1283
|
-
lastModified: Date;
|
1284
|
-
/** Figma file name. */
|
1285
|
-
name: string;
|
1286
|
-
/** Node name. */
|
1287
|
-
nodeName?: string;
|
1288
|
-
/** Figma screenshot URL. */
|
1289
|
-
url?: string;
|
1290
|
-
}
|
1291
|
-
/**
|
1292
|
-
* FigmaEmbedPayload model
|
1293
|
-
*
|
1294
|
-
* @param request - function to call the graphql client
|
1295
|
-
* @param data - L.FigmaEmbedPayloadFragment response data
|
1296
|
-
*/
|
1297
|
-
export declare class FigmaEmbedPayload extends Request {
|
1298
|
-
constructor(request: LinearRequest, data: L.FigmaEmbedPayloadFragment);
|
1299
|
-
/** Whether the operation was successful. */
|
1300
|
-
success: boolean;
|
1301
|
-
/** Figma embed information. */
|
1302
|
-
figmaEmbed?: FigmaEmbed;
|
1303
|
-
}
|
1304
|
-
/**
|
1305
|
-
* A schedule for a team's first responder.
|
1306
|
-
*
|
1307
|
-
* @param request - function to call the graphql client
|
1308
|
-
* @param data - L.FirstResponderScheduleFragment response data
|
1309
|
-
*/
|
1310
|
-
export declare class FirstResponderSchedule extends Request {
|
1311
|
-
private _integration;
|
1312
|
-
private _team;
|
1313
|
-
constructor(request: LinearRequest, data: L.FirstResponderScheduleFragment);
|
1314
|
-
/** The time at which the entity was archived. Null if the entity has not been archived. */
|
1315
|
-
archivedAt?: Date;
|
1316
|
-
/** The time at which the entity was created. */
|
1317
|
-
createdAt: Date;
|
1318
|
-
/** The unique identifier of the entity. */
|
1319
|
-
id: string;
|
1320
|
-
/** The schedule information. */
|
1321
|
-
scheduleData?: Record<string, unknown>;
|
1322
|
-
/**
|
1323
|
-
* The last time at which the entity was meaningfully updated, i.e. for all changes of syncable properties except those
|
1324
|
-
* 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
|
1325
|
-
* been updated after creation.
|
1326
|
-
*/
|
1327
|
-
updatedAt: Date;
|
1328
|
-
/** The integration used for time scheduling. */
|
1329
|
-
get integration(): LinearFetch<Integration> | undefined;
|
1330
|
-
/** The team to which the schedule belongs to. */
|
1331
|
-
get team(): LinearFetch<Team> | undefined;
|
1332
|
-
}
|
1333
|
-
/**
|
1334
|
-
* FirstResponderScheduleConnection model
|
1335
|
-
*
|
1336
|
-
* @param request - function to call the graphql client
|
1337
|
-
* @param fetch - function to trigger a refetch of this FirstResponderScheduleConnection model
|
1338
|
-
* @param data - FirstResponderScheduleConnection response data
|
1339
|
-
*/
|
1340
|
-
export declare class FirstResponderScheduleConnection extends Connection<FirstResponderSchedule> {
|
1341
|
-
constructor(request: LinearRequest, fetch: (connection?: LinearConnectionVariables) => LinearFetch<LinearConnection<FirstResponderSchedule> | undefined>, data: L.FirstResponderScheduleConnectionFragment);
|
1342
|
-
}
|
1343
1488
|
/**
|
1344
1489
|
* FrontAttachmentPayload model
|
1345
1490
|
*
|
@@ -1405,6 +1550,43 @@ export declare class GitHubSettings extends Request {
|
|
1405
1550
|
/** The names of the repositories connected for the GitHub integration */
|
1406
1551
|
repositories?: string[];
|
1407
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;
|
1589
|
+
}
|
1408
1590
|
/**
|
1409
1591
|
* GitHub OAuth token, plus information about the organizations the user is a member of.
|
1410
1592
|
*
|
@@ -1558,6 +1740,8 @@ export declare class IntegrationSettings extends Request {
|
|
1558
1740
|
constructor(request: LinearRequest, data: L.IntegrationSettingsFragment);
|
1559
1741
|
front?: FrontSettings;
|
1560
1742
|
gitHub?: GitHubSettings;
|
1743
|
+
gitHubSync?: GitHubSyncSettings;
|
1744
|
+
gitLab?: GitLabSettings;
|
1561
1745
|
googleSheets?: GoogleSheetsSettings;
|
1562
1746
|
intercom?: IntercomSettings;
|
1563
1747
|
jira?: JiraSettings;
|
@@ -1736,6 +1920,7 @@ export declare class Issue extends Request {
|
|
1736
1920
|
private _creator?;
|
1737
1921
|
private _cycle?;
|
1738
1922
|
private _favorite?;
|
1923
|
+
private _lastAppliedTemplate?;
|
1739
1924
|
private _parent?;
|
1740
1925
|
private _project?;
|
1741
1926
|
private _projectMilestone?;
|
@@ -1811,6 +1996,8 @@ export declare class Issue extends Request {
|
|
1811
1996
|
get cycle(): LinearFetch<Cycle> | undefined;
|
1812
1997
|
/** The users favorite associated with this issue. */
|
1813
1998
|
get favorite(): LinearFetch<Favorite> | undefined;
|
1999
|
+
/** The last template that was applied to this issue. */
|
2000
|
+
get lastAppliedTemplate(): LinearFetch<Template> | undefined;
|
1814
2001
|
/** The parent of the issue. */
|
1815
2002
|
get parent(): LinearFetch<Issue> | undefined;
|
1816
2003
|
/** The project that the issue is associated with. */
|
@@ -1998,8 +2185,10 @@ export declare class IssueHistory extends Request {
|
|
1998
2185
|
updatedAt: Date;
|
1999
2186
|
/** Whether the issue's description was updated. */
|
2000
2187
|
updatedDescription?: boolean;
|
2188
|
+
addedLabels?: IssueLabel[];
|
2001
2189
|
/** Changed issue relationships. */
|
2002
2190
|
relationChanges?: IssueRelationHistoryPayload[];
|
2191
|
+
removedLabels?: IssueLabel[];
|
2003
2192
|
/** The bot that performed the action */
|
2004
2193
|
botActor?: ActorBot;
|
2005
2194
|
/** The import record. */
|
@@ -2246,6 +2435,8 @@ export declare class IssueNotification extends Request {
|
|
2246
2435
|
* been updated after creation.
|
2247
2436
|
*/
|
2248
2437
|
updatedAt: Date;
|
2438
|
+
/** The subscriptions related to the notification. */
|
2439
|
+
subscriptions?: NotificationSubscription[];
|
2249
2440
|
/** The bot that caused the notification. */
|
2250
2441
|
botActor?: ActorBot;
|
2251
2442
|
/** The user that caused the notification. */
|
@@ -2388,6 +2579,7 @@ export declare class IssueSearchResult extends Request {
|
|
2388
2579
|
private _creator?;
|
2389
2580
|
private _cycle?;
|
2390
2581
|
private _favorite?;
|
2582
|
+
private _lastAppliedTemplate?;
|
2391
2583
|
private _parent?;
|
2392
2584
|
private _project?;
|
2393
2585
|
private _projectMilestone?;
|
@@ -2465,6 +2657,8 @@ export declare class IssueSearchResult extends Request {
|
|
2465
2657
|
get cycle(): LinearFetch<Cycle> | undefined;
|
2466
2658
|
/** The users favorite associated with this issue. */
|
2467
2659
|
get favorite(): LinearFetch<Favorite> | undefined;
|
2660
|
+
/** The last template that was applied to this issue. */
|
2661
|
+
get lastAppliedTemplate(): LinearFetch<Template> | undefined;
|
2468
2662
|
/** The parent of the issue. */
|
2469
2663
|
get parent(): LinearFetch<Issue> | undefined;
|
2470
2664
|
/** The project that the issue is associated with. */
|
@@ -2811,7 +3005,7 @@ export declare class OauthClient extends Request {
|
|
2811
3005
|
imageUrl?: string;
|
2812
3006
|
/** OAuth application's client name. */
|
2813
3007
|
name: string;
|
2814
|
-
/** Whether the OAuth application
|
3008
|
+
/** Whether the OAuth application can be installed in other organizations. */
|
2815
3009
|
publicEnabled: boolean;
|
2816
3010
|
/** List of allowed redirect URIs for the application. */
|
2817
3011
|
redirectUris: string[];
|
@@ -2827,9 +3021,9 @@ export declare class OauthClient extends Request {
|
|
2827
3021
|
webhookSecret?: string;
|
2828
3022
|
/** Webhook URL */
|
2829
3023
|
webhookUrl?: string;
|
2830
|
-
/** The user who created the
|
3024
|
+
/** The user who created the OAuth application. */
|
2831
3025
|
get creator(): LinearFetch<User> | undefined;
|
2832
|
-
/** The organization that the
|
3026
|
+
/** The organization that the OAuth application is associated with. */
|
2833
3027
|
get organization(): LinearFetch<Organization>;
|
2834
3028
|
}
|
2835
3029
|
/**
|
@@ -2927,6 +3121,8 @@ export declare class OauthClientConnection extends Connection<OauthClient> {
|
|
2927
3121
|
*/
|
2928
3122
|
export declare class Organization extends Request {
|
2929
3123
|
constructor(request: LinearRequest, data: L.OrganizationFragment);
|
3124
|
+
/** Whether member users are allowed to send invites */
|
3125
|
+
allowMembersToInvite?: boolean;
|
2930
3126
|
/** Allowed authentication providers, empty array means all are allowed */
|
2931
3127
|
allowedAuthServices: string[];
|
2932
3128
|
/** The time at which the entity was archived. Null if the entity has not been archived. */
|
@@ -2988,7 +3184,7 @@ export declare class Organization extends Request {
|
|
2988
3184
|
/** Delete's an organization. Administrator privileges required. */
|
2989
3185
|
delete(input: L.DeleteOrganizationInput): LinearFetch<OrganizationDeletePayload>;
|
2990
3186
|
/** Updates the user's organization. */
|
2991
|
-
update(input: L.
|
3187
|
+
update(input: L.OrganizationUpdateInput): LinearFetch<OrganizationPayload>;
|
2992
3188
|
}
|
2993
3189
|
/**
|
2994
3190
|
* OrganizationCancelDeletePayload model
|
@@ -3199,17 +3395,19 @@ export declare class PageInfo extends Request {
|
|
3199
3395
|
startCursor?: string;
|
3200
3396
|
}
|
3201
3397
|
/**
|
3202
|
-
*
|
3398
|
+
* Metadata about a PagerDuty schedule.
|
3203
3399
|
*
|
3204
3400
|
* @param request - function to call the graphql client
|
3205
|
-
* @param data - L.
|
3401
|
+
* @param data - L.PagerDutyScheduleInfoFragment response data
|
3206
3402
|
*/
|
3207
|
-
export declare class
|
3208
|
-
constructor(request: LinearRequest, data: L.
|
3403
|
+
export declare class PagerDutyScheduleInfo extends Request {
|
3404
|
+
constructor(request: LinearRequest, data: L.PagerDutyScheduleInfoFragment);
|
3209
3405
|
/** The PagerDuty schedule id. */
|
3210
3406
|
scheduleId: string;
|
3211
3407
|
/** The PagerDuty schedule name. */
|
3212
3408
|
scheduleName: string;
|
3409
|
+
/** The URL of the schedule in PagerDuty's web app. */
|
3410
|
+
url: string;
|
3213
3411
|
}
|
3214
3412
|
/**
|
3215
3413
|
* PagerDuty specific settings.
|
@@ -3219,8 +3417,8 @@ export declare class PagerDutyScheduleMapping extends Request {
|
|
3219
3417
|
*/
|
3220
3418
|
export declare class PagerDutySettings extends Request {
|
3221
3419
|
constructor(request: LinearRequest, data: L.PagerDutySettingsFragment);
|
3222
|
-
/**
|
3223
|
-
scheduleMapping:
|
3420
|
+
/** Metadata about a PagerDuty schedule. */
|
3421
|
+
scheduleMapping: PagerDutyScheduleInfo[];
|
3224
3422
|
}
|
3225
3423
|
/**
|
3226
3424
|
* The paid subscription of an organization.
|
@@ -3235,6 +3433,8 @@ export declare class PaidSubscription extends Request {
|
|
3235
3433
|
archivedAt?: Date;
|
3236
3434
|
/** The date the subscription was canceled, if any. */
|
3237
3435
|
canceledAt?: Date;
|
3436
|
+
/** The collection method for this subscription, either automatically charged or invoiced. */
|
3437
|
+
collectionMethod?: string;
|
3238
3438
|
/** The time at which the entity was created. */
|
3239
3439
|
createdAt: Date;
|
3240
3440
|
/** The unique identifier of the entity. */
|
@@ -3272,6 +3472,7 @@ export declare class Project extends Request {
|
|
3272
3472
|
private _convertedFromIssue?;
|
3273
3473
|
private _creator;
|
3274
3474
|
private _integrationsSettings?;
|
3475
|
+
private _lastAppliedTemplate?;
|
3275
3476
|
private _lead?;
|
3276
3477
|
constructor(request: LinearRequest, data: L.ProjectFragment);
|
3277
3478
|
/** The time at which the entity was archived. Null if the entity has not been archived. */
|
@@ -3346,6 +3547,8 @@ export declare class Project extends Request {
|
|
3346
3547
|
get creator(): LinearFetch<User> | undefined;
|
3347
3548
|
/** Settings for all integrations associated with that project. */
|
3348
3549
|
get integrationsSettings(): LinearFetch<IntegrationsSettings> | undefined;
|
3550
|
+
/** The last template that was applied to this project. */
|
3551
|
+
get lastAppliedTemplate(): LinearFetch<Template> | undefined;
|
3349
3552
|
/** The project lead. */
|
3350
3553
|
get lead(): LinearFetch<User> | undefined;
|
3351
3554
|
/** Documents associated with the project. */
|
@@ -3486,7 +3689,7 @@ export declare class ProjectMilestone extends Request {
|
|
3486
3689
|
archivedAt?: Date;
|
3487
3690
|
/** The time at which the entity was created. */
|
3488
3691
|
createdAt: Date;
|
3489
|
-
/** The description
|
3692
|
+
/** The project milestone's description in markdown format. */
|
3490
3693
|
description?: string;
|
3491
3694
|
/** The unique identifier of the entity. */
|
3492
3695
|
id: string;
|
@@ -3672,6 +3875,7 @@ export declare class ProjectSearchResult extends Request {
|
|
3672
3875
|
private _convertedFromIssue?;
|
3673
3876
|
private _creator;
|
3674
3877
|
private _integrationsSettings?;
|
3878
|
+
private _lastAppliedTemplate?;
|
3675
3879
|
private _lead?;
|
3676
3880
|
constructor(request: LinearRequest, data: L.ProjectSearchResultFragment);
|
3677
3881
|
/** The time at which the entity was archived. Null if the entity has not been archived. */
|
@@ -3748,6 +3952,8 @@ export declare class ProjectSearchResult extends Request {
|
|
3748
3952
|
get creator(): LinearFetch<User> | undefined;
|
3749
3953
|
/** Settings for all integrations associated with that project. */
|
3750
3954
|
get integrationsSettings(): LinearFetch<IntegrationsSettings> | undefined;
|
3955
|
+
/** The last template that was applied to this project. */
|
3956
|
+
get lastAppliedTemplate(): LinearFetch<Template> | undefined;
|
3751
3957
|
/** The project lead. */
|
3752
3958
|
get lead(): LinearFetch<User> | undefined;
|
3753
3959
|
}
|
@@ -3779,6 +3985,8 @@ export declare class ProjectUpdate extends Request {
|
|
3779
3985
|
createdAt: Date;
|
3780
3986
|
/** The diff between the current update and the previous one. */
|
3781
3987
|
diff?: Record<string, unknown>;
|
3988
|
+
/** The diff between the current update and the previous one, formatted as markdown. */
|
3989
|
+
diffMarkdown?: string;
|
3782
3990
|
/** The time the project update was edited. */
|
3783
3991
|
editedAt?: Date;
|
3784
3992
|
/** The unique identifier of the entity. */
|
@@ -3885,6 +4093,19 @@ export declare class ProjectUpdatePayload extends Request {
|
|
3885
4093
|
/** The project update that was created or updated. */
|
3886
4094
|
get projectUpdate(): LinearFetch<ProjectUpdate> | undefined;
|
3887
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
|
+
}
|
3888
4109
|
/**
|
3889
4110
|
* ProjectUpdateWithInteractionPayload model
|
3890
4111
|
*
|
@@ -3951,6 +4172,8 @@ export declare class PushSubscriptionPayload extends Request {
|
|
3951
4172
|
lastSyncId: number;
|
3952
4173
|
/** Whether the operation was successful. */
|
3953
4174
|
success: boolean;
|
4175
|
+
/** The push subscription that was created or updated. */
|
4176
|
+
entity: PushSubscription;
|
3954
4177
|
}
|
3955
4178
|
/**
|
3956
4179
|
* PushSubscriptionTestPayload model
|
@@ -4268,16 +4491,35 @@ export declare class SlackAsksSettings extends Request {
|
|
4268
4491
|
* Tuple for mapping Slack channel IDs to names
|
4269
4492
|
*
|
4270
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
|
4271
4507
|
* @param data - L.SlackChannelNameMappingFragment response data
|
4272
4508
|
*/
|
4273
4509
|
export declare class SlackChannelNameMapping extends Request {
|
4274
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;
|
4275
4515
|
/** The Slack channel ID. */
|
4276
4516
|
id: string;
|
4277
4517
|
/** Whether or not the Slack channel is private */
|
4278
4518
|
isPrivate?: boolean;
|
4279
4519
|
/** The Slack channel name. */
|
4280
4520
|
name: string;
|
4521
|
+
/** Which teams are connected to the channel and settings for those teams */
|
4522
|
+
teams: SlackAsksTeamSettings[];
|
4281
4523
|
}
|
4282
4524
|
/**
|
4283
4525
|
* Slack notification specific settings.
|
@@ -4305,8 +4547,7 @@ export declare class SsoUrlFromEmailResponse extends Request {
|
|
4305
4547
|
success: boolean;
|
4306
4548
|
}
|
4307
4549
|
/**
|
4308
|
-
* Contains either the full serialized state of the application or delta packets that the requester can
|
4309
|
-
* 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.
|
4310
4551
|
*
|
4311
4552
|
* @param request - function to call the graphql client
|
4312
4553
|
* @param data - L.SyncResponseFragment response data
|
@@ -4315,10 +4556,7 @@ export declare class SyncResponse extends Request {
|
|
4315
4556
|
constructor(request: LinearRequest, data: L.SyncResponseFragment);
|
4316
4557
|
/** The version of the remote database. Incremented by 1 for each migration run on the database. */
|
4317
4558
|
databaseVersion: number;
|
4318
|
-
/**
|
4319
|
-
* JSON serialized delta changes that the client can apply to its local state
|
4320
|
-
* in order to catch up with the state of the world.
|
4321
|
-
*/
|
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. */
|
4322
4560
|
delta?: string;
|
4323
4561
|
/** The last sync id covered by the response. */
|
4324
4562
|
lastSyncId: number;
|
@@ -4350,6 +4588,7 @@ export declare class SynchronizedPayload extends Request {
|
|
4350
4588
|
export declare class Team extends Request {
|
4351
4589
|
private _activeCycle?;
|
4352
4590
|
private _defaultIssueState?;
|
4591
|
+
private _defaultProjectTemplate?;
|
4353
4592
|
private _defaultTemplateForMembers?;
|
4354
4593
|
private _defaultTemplateForNonMembers?;
|
4355
4594
|
private _draftWorkflowState?;
|
@@ -4383,7 +4622,7 @@ export declare class Team extends Request {
|
|
4383
4622
|
cycleIssueAutoAssignCompleted: boolean;
|
4384
4623
|
/** Auto assign started issues to current cycle. */
|
4385
4624
|
cycleIssueAutoAssignStarted: boolean;
|
4386
|
-
/**
|
4625
|
+
/** Auto assign issues to current cycle if in active status. */
|
4387
4626
|
cycleLockToActive: boolean;
|
4388
4627
|
/** The day of the week that a new cycle starts. */
|
4389
4628
|
cycleStartDay: number;
|
@@ -4447,6 +4686,8 @@ export declare class Team extends Request {
|
|
4447
4686
|
get activeCycle(): LinearFetch<Cycle> | undefined;
|
4448
4687
|
/** The default workflow state into which issues are set when they are opened by team members. */
|
4449
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;
|
4450
4691
|
/** The default template to use for new issues created by members of the team. */
|
4451
4692
|
get defaultTemplateForMembers(): LinearFetch<Template> | undefined;
|
4452
4693
|
/** The default template to use for new issues created by non-members of the team. */
|
@@ -4629,6 +4870,19 @@ export declare class TeamPayload extends Request {
|
|
4629
4870
|
/** The team that was created or updated. */
|
4630
4871
|
get team(): LinearFetch<Team> | undefined;
|
4631
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
|
+
}
|
4632
4886
|
/**
|
4633
4887
|
* A template object used for creating entities faster.
|
4634
4888
|
*
|
@@ -4702,6 +4956,45 @@ export declare class TemplatePayload extends Request {
|
|
4702
4956
|
/** The template that was created or updated. */
|
4703
4957
|
get template(): LinearFetch<Template> | undefined;
|
4704
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
|
+
}
|
4705
4998
|
/**
|
4706
4999
|
* Object representing Google Cloud upload policy, plus additional data.
|
4707
5000
|
*
|
@@ -4824,7 +5117,7 @@ export declare class User extends Request {
|
|
4824
5117
|
/** Un-suspends a user. Can only be called by an admin. */
|
4825
5118
|
unsuspend(): LinearFetch<UserAdminPayload>;
|
4826
5119
|
/** Updates a user. Only available to organization admins and the user themselves. */
|
4827
|
-
update(input: L.
|
5120
|
+
update(input: L.UserUpdateInput): LinearFetch<UserPayload>;
|
4828
5121
|
}
|
4829
5122
|
/**
|
4830
5123
|
* A user account.
|
@@ -4848,8 +5141,6 @@ export declare class UserAccount extends Request {
|
|
4848
5141
|
service: string;
|
4849
5142
|
/** The time at which the model was updated. */
|
4850
5143
|
updatedAt: Date;
|
4851
|
-
/** Users belonging to the account. */
|
4852
|
-
users: User[];
|
4853
5144
|
}
|
4854
5145
|
/**
|
4855
5146
|
* UserAdminPayload model
|
@@ -5297,7 +5588,7 @@ export declare class WorkflowState extends Request {
|
|
5297
5588
|
name: string;
|
5298
5589
|
/** The position of the state in the team flow. */
|
5299
5590
|
position: number;
|
5300
|
-
/** The type of the state. */
|
5591
|
+
/** The type of the state. One of "triage", "backlog", "unstarted", "started", "completed", "canceled". */
|
5301
5592
|
type: string;
|
5302
5593
|
/**
|
5303
5594
|
* The last time at which the entity was meaningfully updated, i.e. for all changes of syncable properties except those
|
@@ -5509,6 +5800,46 @@ export declare class AttachmentLinkFrontMutation extends Request {
|
|
5509
5800
|
*/
|
5510
5801
|
fetch(conversationId: string, issueId: string, variables?: Omit<L.AttachmentLinkFrontMutationVariables, "conversationId" | "issueId">): LinearFetch<FrontAttachmentPayload>;
|
5511
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>;
|
5822
|
+
}
|
5823
|
+
/**
|
5824
|
+
* A fetchable AttachmentLinkGitLabMr Mutation
|
5825
|
+
*
|
5826
|
+
* @param request - function to call the graphql client
|
5827
|
+
*/
|
5828
|
+
export declare class AttachmentLinkGitLabMrMutation extends Request {
|
5829
|
+
constructor(request: LinearRequest);
|
5830
|
+
/**
|
5831
|
+
* Call the AttachmentLinkGitLabMr mutation and return a AttachmentPayload
|
5832
|
+
*
|
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
|
5840
|
+
*/
|
5841
|
+
fetch(issueId: string, number: number, owner: string, repo: string, url: string, variables?: Omit<L.AttachmentLinkGitLabMrMutationVariables, "issueId" | "number" | "owner" | "repo" | "url">): LinearFetch<AttachmentPayload>;
|
5842
|
+
}
|
5512
5843
|
/**
|
5513
5844
|
* A fetchable AttachmentLinkIntercom Mutation
|
5514
5845
|
*
|
@@ -5718,6 +6049,22 @@ export declare class CreateOrganizationFromOnboardingMutation extends Request {
|
|
5718
6049
|
*/
|
5719
6050
|
fetch(input: L.CreateOrganizationInput, variables?: Omit<L.CreateOrganizationFromOnboardingMutationVariables, "input">): LinearFetch<CreateOrJoinOrganizationResponse>;
|
5720
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
|
+
}
|
5721
6068
|
/**
|
5722
6069
|
* A fetchable CreateCustomView Mutation
|
5723
6070
|
*
|
@@ -6151,6 +6498,21 @@ export declare class IntegrationGithubConnectMutation extends Request {
|
|
6151
6498
|
*/
|
6152
6499
|
fetch(installationId: string): LinearFetch<IntegrationPayload>;
|
6153
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
|
+
}
|
6154
6516
|
/**
|
6155
6517
|
* A fetchable IntegrationGitlabConnect Mutation
|
6156
6518
|
*
|
@@ -6486,6 +6848,22 @@ export declare class UpdateIntegrationsSettingsMutation extends Request {
|
|
6486
6848
|
*/
|
6487
6849
|
fetch(id: string, input: L.IntegrationsSettingsUpdateInput): LinearFetch<IntegrationsSettingsPayload>;
|
6488
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
|
+
}
|
6489
6867
|
/**
|
6490
6868
|
* A fetchable ArchiveIssue Mutation
|
6491
6869
|
*
|
@@ -6791,6 +7169,38 @@ export declare class IssueReminderMutation extends Request {
|
|
6791
7169
|
*/
|
6792
7170
|
fetch(id: string, reminderAt: Date): LinearFetch<IssuePayload>;
|
6793
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
|
+
}
|
6794
7204
|
/**
|
6795
7205
|
* A fetchable UnarchiveIssue Mutation
|
6796
7206
|
*
|
@@ -6806,6 +7216,22 @@ export declare class UnarchiveIssueMutation extends Request {
|
|
6806
7216
|
*/
|
6807
7217
|
fetch(id: string): LinearFetch<IssueArchivePayload>;
|
6808
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
|
+
}
|
6809
7235
|
/**
|
6810
7236
|
* A fetchable UpdateIssue Mutation
|
6811
7237
|
*
|
@@ -6866,6 +7292,49 @@ export declare class LogoutMutation extends Request {
|
|
6866
7292
|
*/
|
6867
7293
|
fetch(): LinearFetch<LogoutResponse>;
|
6868
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
|
+
}
|
6869
7338
|
/**
|
6870
7339
|
* A fetchable ArchiveNotification Mutation
|
6871
7340
|
*
|
@@ -7167,7 +7636,7 @@ export declare class UpdateOrganizationMutation extends Request {
|
|
7167
7636
|
* @param input - required input to pass to updateOrganization
|
7168
7637
|
* @returns parsed response from UpdateOrganizationMutation
|
7169
7638
|
*/
|
7170
|
-
fetch(input: L.
|
7639
|
+
fetch(input: L.OrganizationUpdateInput): LinearFetch<OrganizationPayload>;
|
7171
7640
|
}
|
7172
7641
|
/**
|
7173
7642
|
* A fetchable ArchiveProject Mutation
|
@@ -7902,21 +8371,6 @@ export declare class UserGitHubConnectMutation extends Request {
|
|
7902
8371
|
*/
|
7903
8372
|
fetch(code: string): LinearFetch<UserPayload>;
|
7904
8373
|
}
|
7905
|
-
/**
|
7906
|
-
* A fetchable UserGoogleCalendarConnect Mutation
|
7907
|
-
*
|
7908
|
-
* @param request - function to call the graphql client
|
7909
|
-
*/
|
7910
|
-
export declare class UserGoogleCalendarConnectMutation extends Request {
|
7911
|
-
constructor(request: LinearRequest);
|
7912
|
-
/**
|
7913
|
-
* Call the UserGoogleCalendarConnect mutation and return a UserPayload
|
7914
|
-
*
|
7915
|
-
* @param code - required code to pass to userGoogleCalendarConnect
|
7916
|
-
* @returns parsed response from UserGoogleCalendarConnectMutation
|
7917
|
-
*/
|
7918
|
-
fetch(code: string): LinearFetch<UserPayload>;
|
7919
|
-
}
|
7920
8374
|
/**
|
7921
8375
|
* A fetchable UserJiraConnect Mutation
|
7922
8376
|
*
|
@@ -8052,7 +8506,7 @@ export declare class UpdateUserMutation extends Request {
|
|
8052
8506
|
* @param input - required input to pass to updateUser
|
8053
8507
|
* @returns parsed response from UpdateUserMutation
|
8054
8508
|
*/
|
8055
|
-
fetch(id: string, input: L.
|
8509
|
+
fetch(id: string, input: L.UserUpdateInput): LinearFetch<UserPayload>;
|
8056
8510
|
}
|
8057
8511
|
/**
|
8058
8512
|
* A fetchable CreateViewPreferences Mutation
|
@@ -8374,6 +8828,20 @@ export declare class AuditEntryTypesQuery extends Request {
|
|
8374
8828
|
*/
|
8375
8829
|
fetch(): LinearFetch<AuditEntryType[]>;
|
8376
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
|
+
}
|
8377
8845
|
/**
|
8378
8846
|
* A fetchable AvailableUsers Query
|
8379
8847
|
*
|
@@ -8433,6 +8901,21 @@ export declare class CustomViewQuery extends Request {
|
|
8433
8901
|
*/
|
8434
8902
|
fetch(id: string): LinearFetch<CustomView>;
|
8435
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
|
+
}
|
8436
8919
|
/**
|
8437
8920
|
* A fetchable CustomViews Query
|
8438
8921
|
*
|
@@ -8494,34 +8977,34 @@ export declare class DocumentQuery extends Request {
|
|
8494
8977
|
fetch(id: string): LinearFetch<Document>;
|
8495
8978
|
}
|
8496
8979
|
/**
|
8497
|
-
* A fetchable
|
8980
|
+
* A fetchable DocumentContentHistory Query
|
8498
8981
|
*
|
8499
8982
|
* @param request - function to call the graphql client
|
8500
8983
|
*/
|
8501
|
-
export declare class
|
8984
|
+
export declare class DocumentContentHistoryQuery extends Request {
|
8502
8985
|
constructor(request: LinearRequest);
|
8503
8986
|
/**
|
8504
|
-
* Call the
|
8987
|
+
* Call the DocumentContentHistory query and return a DocumentContentHistoryPayload
|
8505
8988
|
*
|
8506
|
-
* @param
|
8507
|
-
* @returns parsed response from
|
8989
|
+
* @param id - required id to pass to documentContentHistory
|
8990
|
+
* @returns parsed response from DocumentContentHistoryQuery
|
8508
8991
|
*/
|
8509
|
-
fetch(
|
8992
|
+
fetch(id: string): LinearFetch<DocumentContentHistoryPayload>;
|
8510
8993
|
}
|
8511
8994
|
/**
|
8512
|
-
* A fetchable
|
8995
|
+
* A fetchable Documents Query
|
8513
8996
|
*
|
8514
8997
|
* @param request - function to call the graphql client
|
8515
8998
|
*/
|
8516
|
-
export declare class
|
8999
|
+
export declare class DocumentsQuery extends Request {
|
8517
9000
|
constructor(request: LinearRequest);
|
8518
9001
|
/**
|
8519
|
-
* Call the
|
9002
|
+
* Call the Documents query and return a DocumentConnection
|
8520
9003
|
*
|
8521
|
-
* @param
|
8522
|
-
* @returns parsed response from
|
9004
|
+
* @param variables - variables to pass into the DocumentsQuery
|
9005
|
+
* @returns parsed response from DocumentsQuery
|
8523
9006
|
*/
|
8524
|
-
fetch(
|
9007
|
+
fetch(variables?: L.DocumentsQueryVariables): LinearFetch<DocumentConnection>;
|
8525
9008
|
}
|
8526
9009
|
/**
|
8527
9010
|
* A fetchable Emoji Query
|
@@ -8583,22 +9066,6 @@ export declare class FavoritesQuery extends Request {
|
|
8583
9066
|
*/
|
8584
9067
|
fetch(variables?: L.FavoritesQueryVariables): LinearFetch<FavoriteConnection>;
|
8585
9068
|
}
|
8586
|
-
/**
|
8587
|
-
* A fetchable FigmaEmbedInfo Query
|
8588
|
-
*
|
8589
|
-
* @param request - function to call the graphql client
|
8590
|
-
*/
|
8591
|
-
export declare class FigmaEmbedInfoQuery extends Request {
|
8592
|
-
constructor(request: LinearRequest);
|
8593
|
-
/**
|
8594
|
-
* Call the FigmaEmbedInfo query and return a FigmaEmbedPayload
|
8595
|
-
*
|
8596
|
-
* @param fileId - required fileId to pass to figmaEmbedInfo
|
8597
|
-
* @param variables - variables without 'fileId' to pass into the FigmaEmbedInfoQuery
|
8598
|
-
* @returns parsed response from FigmaEmbedInfoQuery
|
8599
|
-
*/
|
8600
|
-
fetch(fileId: string, variables?: Omit<L.FigmaEmbedInfoQueryVariables, "fileId">): LinearFetch<FigmaEmbedPayload>;
|
8601
|
-
}
|
8602
9069
|
/**
|
8603
9070
|
* A fetchable Integration Query
|
8604
9071
|
*
|
@@ -9685,6 +10152,22 @@ export declare class Comment_ChildrenQuery extends Request {
|
|
9685
10152
|
*/
|
9686
10153
|
fetch(variables?: Omit<L.Comment_ChildrenQueryVariables, "id">): LinearFetch<CommentConnection>;
|
9687
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
|
+
}
|
9688
10171
|
/**
|
9689
10172
|
* A fetchable Cycle_Issues Query
|
9690
10173
|
*
|
@@ -9723,22 +10206,6 @@ export declare class Cycle_UncompletedIssuesUponCloseQuery extends Request {
|
|
9723
10206
|
*/
|
9724
10207
|
fetch(variables?: Omit<L.Cycle_UncompletedIssuesUponCloseQueryVariables, "id">): LinearFetch<IssueConnection>;
|
9725
10208
|
}
|
9726
|
-
/**
|
9727
|
-
* A fetchable EmbedInfo_Embed Query
|
9728
|
-
*
|
9729
|
-
* @param request - function to call the graphql client
|
9730
|
-
* @param url - required url to pass to embedInfo
|
9731
|
-
*/
|
9732
|
-
export declare class EmbedInfo_EmbedQuery extends Request {
|
9733
|
-
private _url;
|
9734
|
-
constructor(request: LinearRequest, url: string);
|
9735
|
-
/**
|
9736
|
-
* Call the EmbedInfo_Embed query and return a Embed
|
9737
|
-
*
|
9738
|
-
* @returns parsed response from EmbedInfo_EmbedQuery
|
9739
|
-
*/
|
9740
|
-
fetch(): LinearFetch<Embed | undefined>;
|
9741
|
-
}
|
9742
10209
|
/**
|
9743
10210
|
* A fetchable Favorite_Children Query
|
9744
10211
|
*
|
@@ -9758,25 +10225,6 @@ export declare class Favorite_ChildrenQuery extends Request {
|
|
9758
10225
|
*/
|
9759
10226
|
fetch(variables?: Omit<L.Favorite_ChildrenQueryVariables, "id">): LinearFetch<FavoriteConnection>;
|
9760
10227
|
}
|
9761
|
-
/**
|
9762
|
-
* A fetchable FigmaEmbedInfo_FigmaEmbed Query
|
9763
|
-
*
|
9764
|
-
* @param request - function to call the graphql client
|
9765
|
-
* @param fileId - required fileId to pass to figmaEmbedInfo
|
9766
|
-
* @param variables - variables without 'fileId' to pass into the FigmaEmbedInfo_FigmaEmbedQuery
|
9767
|
-
*/
|
9768
|
-
export declare class FigmaEmbedInfo_FigmaEmbedQuery extends Request {
|
9769
|
-
private _fileId;
|
9770
|
-
private _variables?;
|
9771
|
-
constructor(request: LinearRequest, fileId: string, variables?: Omit<L.FigmaEmbedInfo_FigmaEmbedQueryVariables, "fileId">);
|
9772
|
-
/**
|
9773
|
-
* Call the FigmaEmbedInfo_FigmaEmbed query and return a FigmaEmbed
|
9774
|
-
*
|
9775
|
-
* @param variables - variables without 'fileId' to pass into the FigmaEmbedInfo_FigmaEmbedQuery
|
9776
|
-
* @returns parsed response from FigmaEmbedInfo_FigmaEmbedQuery
|
9777
|
-
*/
|
9778
|
-
fetch(variables?: Omit<L.FigmaEmbedInfo_FigmaEmbedQueryVariables, "fileId">): LinearFetch<FigmaEmbed | undefined>;
|
9779
|
-
}
|
9780
10228
|
/**
|
9781
10229
|
* A fetchable Issue_Attachments Query
|
9782
10230
|
*
|
@@ -10830,6 +11278,30 @@ export declare class LinearSdk extends Request {
|
|
10830
11278
|
* @returns FrontAttachmentPayload
|
10831
11279
|
*/
|
10832
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>;
|
10833
11305
|
/**
|
10834
11306
|
* Link an existing Intercom conversation to an issue.
|
10835
11307
|
*
|
@@ -10935,6 +11407,14 @@ export declare class LinearSdk extends Request {
|
|
10935
11407
|
* @returns CreateOrJoinOrganizationResponse
|
10936
11408
|
*/
|
10937
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>;
|
10938
11418
|
/**
|
10939
11419
|
* Creates a new custom view.
|
10940
11420
|
*
|
@@ -11144,6 +11624,13 @@ export declare class LinearSdk extends Request {
|
|
11144
11624
|
* @returns IntegrationPayload
|
11145
11625
|
*/
|
11146
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>;
|
11147
11634
|
/**
|
11148
11635
|
* Connects the organization with a GitLab Access Token.
|
11149
11636
|
*
|
@@ -11311,6 +11798,14 @@ export declare class LinearSdk extends Request {
|
|
11311
11798
|
* @returns IntegrationsSettingsPayload
|
11312
11799
|
*/
|
11313
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>;
|
11314
11809
|
/**
|
11315
11810
|
* Archives an issue.
|
11316
11811
|
*
|
@@ -11464,6 +11959,22 @@ export declare class LinearSdk extends Request {
|
|
11464
11959
|
* @returns IssuePayload
|
11465
11960
|
*/
|
11466
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>;
|
11467
11978
|
/**
|
11468
11979
|
* Unarchives an issue.
|
11469
11980
|
*
|
@@ -11471,6 +11982,14 @@ export declare class LinearSdk extends Request {
|
|
11471
11982
|
* @returns IssueArchivePayload
|
11472
11983
|
*/
|
11473
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>;
|
11474
11993
|
/**
|
11475
11994
|
* Updates an issue.
|
11476
11995
|
*
|
@@ -11494,11 +12013,30 @@ export declare class LinearSdk extends Request {
|
|
11494
12013
|
*/
|
11495
12014
|
leaveOrganization(organizationId: string): LinearFetch<CreateOrJoinOrganizationResponse>;
|
11496
12015
|
/**
|
11497
|
-
* Logout
|
12016
|
+
* Logout the client.
|
11498
12017
|
*
|
11499
12018
|
* @returns LogoutResponse
|
11500
12019
|
*/
|
11501
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>;
|
11502
12040
|
/**
|
11503
12041
|
* Archives a notification.
|
11504
12042
|
*
|
@@ -11641,7 +12179,7 @@ export declare class LinearSdk extends Request {
|
|
11641
12179
|
* @param input - required input to pass to updateOrganization
|
11642
12180
|
* @returns OrganizationPayload
|
11643
12181
|
*/
|
11644
|
-
updateOrganization(input: L.
|
12182
|
+
updateOrganization(input: L.OrganizationUpdateInput): LinearFetch<OrganizationPayload>;
|
11645
12183
|
/**
|
11646
12184
|
* Archives a project.
|
11647
12185
|
*
|
@@ -11991,13 +12529,6 @@ export declare class LinearSdk extends Request {
|
|
11991
12529
|
* @returns UserPayload
|
11992
12530
|
*/
|
11993
12531
|
userGitHubConnect(code: string): LinearFetch<UserPayload>;
|
11994
|
-
/**
|
11995
|
-
* Connects the Google Calendar to the user to this Linear account via OAuth2.
|
11996
|
-
*
|
11997
|
-
* @param code - required code to pass to userGoogleCalendarConnect
|
11998
|
-
* @returns UserPayload
|
11999
|
-
*/
|
12000
|
-
userGoogleCalendarConnect(code: string): LinearFetch<UserPayload>;
|
12001
12532
|
/**
|
12002
12533
|
* Connects the Jira user to this Linear account via OAuth2.
|
12003
12534
|
*
|
@@ -12062,7 +12593,7 @@ export declare class LinearSdk extends Request {
|
|
12062
12593
|
* @param input - required input to pass to updateUser
|
12063
12594
|
* @returns UserPayload
|
12064
12595
|
*/
|
12065
|
-
updateUser(id: string, input: L.
|
12596
|
+
updateUser(id: string, input: L.UserUpdateInput): LinearFetch<UserPayload>;
|
12066
12597
|
/**
|
12067
12598
|
* Creates a new ViewPreferences object.
|
12068
12599
|
*
|
@@ -12218,6 +12749,12 @@ export declare class LinearSdk extends Request {
|
|
12218
12749
|
* @returns AuditEntryType[]
|
12219
12750
|
*/
|
12220
12751
|
get auditEntryTypes(): LinearFetch<AuditEntryType[]>;
|
12752
|
+
/**
|
12753
|
+
* User's active sessions.
|
12754
|
+
*
|
12755
|
+
* @returns AuthenticationSessionResponse[]
|
12756
|
+
*/
|
12757
|
+
get authenticationSessions(): LinearFetch<AuthenticationSessionResponse[]>;
|
12221
12758
|
/**
|
12222
12759
|
* Fetch users belonging to this user account.
|
12223
12760
|
*
|
@@ -12245,6 +12782,13 @@ export declare class LinearSdk extends Request {
|
|
12245
12782
|
* @returns CustomView
|
12246
12783
|
*/
|
12247
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>;
|
12248
12792
|
/**
|
12249
12793
|
* Custom views for the user.
|
12250
12794
|
*
|
@@ -12274,19 +12818,19 @@ export declare class LinearSdk extends Request {
|
|
12274
12818
|
*/
|
12275
12819
|
document(id: string): LinearFetch<Document>;
|
12276
12820
|
/**
|
12277
|
-
*
|
12821
|
+
* A collection of document content history entries.
|
12278
12822
|
*
|
12279
|
-
* @param
|
12280
|
-
* @returns
|
12823
|
+
* @param id - required id to pass to documentContentHistory
|
12824
|
+
* @returns DocumentContentHistoryPayload
|
12281
12825
|
*/
|
12282
|
-
|
12826
|
+
documentContentHistory(id: string): LinearFetch<DocumentContentHistoryPayload>;
|
12283
12827
|
/**
|
12284
|
-
*
|
12828
|
+
* All documents in the workspace.
|
12285
12829
|
*
|
12286
|
-
* @param
|
12287
|
-
* @returns
|
12830
|
+
* @param variables - variables to pass into the DocumentsQuery
|
12831
|
+
* @returns DocumentConnection
|
12288
12832
|
*/
|
12289
|
-
|
12833
|
+
documents(variables?: L.DocumentsQueryVariables): LinearFetch<DocumentConnection>;
|
12290
12834
|
/**
|
12291
12835
|
* A specific emoji.
|
12292
12836
|
*
|
@@ -12315,14 +12859,6 @@ export declare class LinearSdk extends Request {
|
|
12315
12859
|
* @returns FavoriteConnection
|
12316
12860
|
*/
|
12317
12861
|
favorites(variables?: L.FavoritesQueryVariables): LinearFetch<FavoriteConnection>;
|
12318
|
-
/**
|
12319
|
-
* Fetch Figma screenshot and other information with file and node identifiers.
|
12320
|
-
*
|
12321
|
-
* @param fileId - required fileId to pass to figmaEmbedInfo
|
12322
|
-
* @param variables - variables without 'fileId' to pass into the FigmaEmbedInfoQuery
|
12323
|
-
* @returns FigmaEmbedPayload
|
12324
|
-
*/
|
12325
|
-
figmaEmbedInfo(fileId: string, variables?: Omit<L.FigmaEmbedInfoQueryVariables, "fileId">): LinearFetch<FigmaEmbedPayload>;
|
12326
12862
|
/**
|
12327
12863
|
* One specific integration.
|
12328
12864
|
*
|