@linear/sdk 13.0.0 → 14.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_generated_documents.d.ts +1557 -310
- package/dist/_generated_documents.d.ts.map +1 -1
- package/dist/_generated_sdk.d.ts +717 -181
- package/dist/_generated_sdk.d.ts.map +1 -1
- package/dist/index-cjs.js +2978 -815
- 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 +2953 -812
- 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 +2979 -816
- package/dist/index-umd.js.map +1 -1
- package/dist/index-umd.min.js +1 -1
- package/dist/index-umd.min.js.br +0 -0
- package/dist/index-umd.min.js.gz +0 -0
- package/dist/index-umd.min.js.map +1 -1
- package/package.json +1 -1
package/dist/_generated_sdk.d.ts
CHANGED
@@ -67,7 +67,7 @@ export declare class ActorBot extends Request {
|
|
67
67
|
constructor(request: LinearRequest, data: L.ActorBotFragment);
|
68
68
|
/** A url pointing to the avatar representing this bot. */
|
69
69
|
avatarUrl?: string;
|
70
|
-
id
|
70
|
+
id?: string;
|
71
71
|
/** The display name of the bot. */
|
72
72
|
name?: string;
|
73
73
|
/** The sub type of the bot. */
|
@@ -210,6 +210,7 @@ export declare class AsksChannelConnectPayload extends Request {
|
|
210
210
|
*/
|
211
211
|
export declare class Attachment extends Request {
|
212
212
|
private _creator?;
|
213
|
+
private _externalUserCreator?;
|
213
214
|
private _issue;
|
214
215
|
constructor(request: LinearRequest, data: L.AttachmentFragment);
|
215
216
|
/** The time at which the entity was archived. Null if the entity has not been archived. */
|
@@ -240,6 +241,8 @@ export declare class Attachment extends Request {
|
|
240
241
|
url: string;
|
241
242
|
/** The creator of the attachment. */
|
242
243
|
get creator(): LinearFetch<User> | undefined;
|
244
|
+
/** The non-Linear user who created the attachment. */
|
245
|
+
get externalUserCreator(): LinearFetch<ExternalUser> | undefined;
|
243
246
|
/** The issue this attachment belongs to. */
|
244
247
|
get issue(): LinearFetch<Issue> | undefined;
|
245
248
|
/** [DEPRECATED] Archives an issue attachment. */
|
@@ -301,7 +304,7 @@ export declare class AttachmentPayload extends Request {
|
|
301
304
|
*/
|
302
305
|
export declare class AttachmentSourcesPayload extends Request {
|
303
306
|
constructor(request: LinearRequest, data: L.AttachmentSourcesPayloadFragment);
|
304
|
-
/** A unique list of all source types used in this workspace */
|
307
|
+
/** A unique list of all source types used in this workspace. */
|
305
308
|
sources: L.Scalars["JSONObject"];
|
306
309
|
}
|
307
310
|
/**
|
@@ -388,20 +391,6 @@ export declare class AuthApiKeyPayload extends Request {
|
|
388
391
|
/** The auth API key that was created. */
|
389
392
|
authApiKey: AuthApiKey;
|
390
393
|
}
|
391
|
-
/**
|
392
|
-
* AuthCreateOrJoinOrganizationResponse model
|
393
|
-
*
|
394
|
-
* @param request - function to call the graphql client
|
395
|
-
* @param data - L.AuthCreateOrJoinOrganizationResponseFragment response data
|
396
|
-
*/
|
397
|
-
export declare class AuthCreateOrJoinOrganizationResponse extends Request {
|
398
|
-
constructor(request: LinearRequest, data: L.AuthCreateOrJoinOrganizationResponseFragment);
|
399
|
-
grantDomainAccess?: boolean;
|
400
|
-
authOrganization: AuthOrganization;
|
401
|
-
authUser: AuthUser;
|
402
|
-
organization: AuthOrganization;
|
403
|
-
user: AuthUser;
|
404
|
-
}
|
405
394
|
/**
|
406
395
|
* AuthIntegration model
|
407
396
|
*
|
@@ -530,6 +519,8 @@ export declare class AuthOrganization extends Request {
|
|
530
519
|
samlEnabled: boolean;
|
531
520
|
/** Whether SCIM provisioning is enabled for organization. */
|
532
521
|
scimEnabled: boolean;
|
522
|
+
/** The email domain or URL key for the organization. */
|
523
|
+
serviceId: string;
|
533
524
|
/** The organization's unique URL key. */
|
534
525
|
urlKey: string;
|
535
526
|
userCount: number;
|
@@ -542,6 +533,21 @@ export declare class AuthOrganization extends Request {
|
|
542
533
|
*/
|
543
534
|
export declare class AuthOrganizationDomain extends Request {
|
544
535
|
constructor(request: LinearRequest, data: L.AuthOrganizationDomainFragment);
|
536
|
+
claimed?: boolean;
|
537
|
+
/** The unique identifier of the entity. */
|
538
|
+
id: string;
|
539
|
+
name: string;
|
540
|
+
organizationId: string;
|
541
|
+
verified: boolean;
|
542
|
+
}
|
543
|
+
/**
|
544
|
+
* An invitation to the organization that has been sent via email.
|
545
|
+
*
|
546
|
+
* @param request - function to call the graphql client
|
547
|
+
* @param data - L.AuthOrganizationInviteFragment response data
|
548
|
+
*/
|
549
|
+
export declare class AuthOrganizationInvite extends Request {
|
550
|
+
constructor(request: LinearRequest, data: L.AuthOrganizationInviteFragment);
|
545
551
|
/** The unique identifier of the entity. */
|
546
552
|
id: string;
|
547
553
|
}
|
@@ -556,18 +562,18 @@ export declare class AuthResolverResponse extends Request {
|
|
556
562
|
/** Should the signup flow allow access for the domain. */
|
557
563
|
allowDomainAccess?: boolean;
|
558
564
|
/** Email for the authenticated account. */
|
559
|
-
email
|
565
|
+
email: string;
|
560
566
|
/** User account ID. */
|
561
567
|
id: string;
|
562
568
|
/** ID of the organization last accessed by the user. */
|
563
569
|
lastUsedOrganizationId?: string;
|
564
|
-
/**
|
570
|
+
/** Application token. */
|
565
571
|
token?: string;
|
566
|
-
/**
|
572
|
+
/** List of organizations allowing this user account to join automatically. */
|
567
573
|
availableOrganizations?: AuthOrganization[];
|
568
|
-
/** List of
|
574
|
+
/** List of organization available to this user account but locked due to the current auth method. */
|
569
575
|
lockedOrganizations?: AuthOrganization[];
|
570
|
-
/**
|
576
|
+
/** List of active users that belong to the user account. */
|
571
577
|
users: AuthUser[];
|
572
578
|
}
|
573
579
|
/**
|
@@ -600,6 +606,8 @@ export declare class AuthUser extends Request {
|
|
600
606
|
id: string;
|
601
607
|
/** The user's full name. */
|
602
608
|
name: string;
|
609
|
+
/** User account id the user belongs to. */
|
610
|
+
userAccountId: string;
|
603
611
|
/** Organization the user belongs to. */
|
604
612
|
organization: AuthOrganization;
|
605
613
|
}
|
@@ -642,7 +650,7 @@ export declare class AuthenticationSession extends Request {
|
|
642
650
|
userAgent?: string;
|
643
651
|
}
|
644
652
|
/**
|
645
|
-
* Authentication session information
|
653
|
+
* Authentication session information.
|
646
654
|
*
|
647
655
|
* @param request - function to call the graphql client
|
648
656
|
* @param data - L.AuthenticationSessionResponseFragment response data
|
@@ -707,6 +715,7 @@ export declare class AuthorizedApplicationBase extends Request {
|
|
707
715
|
* @param data - L.CommentFragment response data
|
708
716
|
*/
|
709
717
|
export declare class Comment extends Request {
|
718
|
+
private _externalUser?;
|
710
719
|
private _issue?;
|
711
720
|
private _parent?;
|
712
721
|
private _projectUpdate?;
|
@@ -724,7 +733,9 @@ export declare class Comment extends Request {
|
|
724
733
|
editedAt?: Date;
|
725
734
|
/** The unique identifier of the entity. */
|
726
735
|
id: string;
|
727
|
-
/**
|
736
|
+
/** The text that this comment references. Only defined for inline comments. */
|
737
|
+
quotedText?: string;
|
738
|
+
/** Emoji reaction summary, grouped by emoji type. */
|
728
739
|
reactionData: L.Scalars["JSONObject"];
|
729
740
|
/** The time the resolvingUser resolved the thread. */
|
730
741
|
resolvedAt?: Date;
|
@@ -736,10 +747,12 @@ export declare class Comment extends Request {
|
|
736
747
|
updatedAt: Date;
|
737
748
|
/** Comment's URL. */
|
738
749
|
url: string;
|
739
|
-
/** The bot that created the comment */
|
750
|
+
/** The bot that created the comment. */
|
740
751
|
botActor?: ActorBot;
|
741
752
|
/** The document content that the comment is associated with. */
|
742
753
|
documentContent?: DocumentContent;
|
754
|
+
/** The external user who wrote the comment. */
|
755
|
+
get externalUser(): LinearFetch<ExternalUser> | undefined;
|
743
756
|
/** The issue that the comment is associated with. */
|
744
757
|
get issue(): LinearFetch<Issue> | undefined;
|
745
758
|
/** The parent comment under which the current comment is nested. */
|
@@ -753,7 +766,7 @@ export declare class Comment extends Request {
|
|
753
766
|
/** The user who wrote the comment. */
|
754
767
|
get user(): LinearFetch<User> | undefined;
|
755
768
|
/** The children of the comment. */
|
756
|
-
children(variables?:
|
769
|
+
children(variables?: L.Comment_ChildrenQueryVariables): LinearFetch<CommentConnection>;
|
757
770
|
/** Creates a new comment. */
|
758
771
|
create(input: L.CommentCreateInput): LinearFetch<CommentPayload>;
|
759
772
|
/** Deletes a comment. */
|
@@ -876,6 +889,7 @@ export declare class CustomView extends Request {
|
|
876
889
|
private _creator;
|
877
890
|
private _owner;
|
878
891
|
private _team?;
|
892
|
+
private _updatedBy;
|
879
893
|
constructor(request: LinearRequest, data: L.CustomViewFragment);
|
880
894
|
/** The time at which the entity was archived. Null if the entity has not been archived. */
|
881
895
|
archivedAt?: Date;
|
@@ -897,6 +911,8 @@ export declare class CustomView extends Request {
|
|
897
911
|
modelName: string;
|
898
912
|
/** The name of the custom view. */
|
899
913
|
name: string;
|
914
|
+
/** The filter applied to projects in the custom view. */
|
915
|
+
projectFilterData?: L.Scalars["JSONObject"];
|
900
916
|
/** Whether the custom view is shared with everyone in the organization. */
|
901
917
|
shared: boolean;
|
902
918
|
/**
|
@@ -913,6 +929,10 @@ export declare class CustomView extends Request {
|
|
913
929
|
get owner(): LinearFetch<User> | undefined;
|
914
930
|
/** The team associated with the custom view. */
|
915
931
|
get team(): LinearFetch<Team> | undefined;
|
932
|
+
/** The user who last updated the custom view. */
|
933
|
+
get updatedBy(): LinearFetch<User> | undefined;
|
934
|
+
/** Issues associated with the custom view. */
|
935
|
+
issues(variables?: Omit<L.CustomView_IssuesQueryVariables, "id">): LinearFetch<IssueConnection>;
|
916
936
|
/** Creates a new custom view. */
|
917
937
|
create(input: L.CustomViewCreateInput): LinearFetch<CustomViewPayload>;
|
918
938
|
/** Deletes a custom view. */
|
@@ -956,7 +976,7 @@ export declare class CustomViewNotificationSubscription extends Request {
|
|
956
976
|
private _team?;
|
957
977
|
private _user?;
|
958
978
|
constructor(request: LinearRequest, data: L.CustomViewNotificationSubscriptionFragment);
|
959
|
-
/** Whether the subscription is active or not */
|
979
|
+
/** Whether the subscription is active or not. */
|
960
980
|
active: boolean;
|
961
981
|
/** The time at which the entity was archived. Null if the entity has not been archived. */
|
962
982
|
archivedAt?: Date;
|
@@ -1119,7 +1139,7 @@ export declare class CycleNotificationSubscription extends Request {
|
|
1119
1139
|
private _team?;
|
1120
1140
|
private _user?;
|
1121
1141
|
constructor(request: LinearRequest, data: L.CycleNotificationSubscriptionFragment);
|
1122
|
-
/** Whether the subscription is active or not */
|
1142
|
+
/** Whether the subscription is active or not. */
|
1123
1143
|
active: boolean;
|
1124
1144
|
/** The time at which the entity was archived. Null if the entity has not been archived. */
|
1125
1145
|
archivedAt?: Date;
|
@@ -1199,8 +1219,6 @@ export declare class Document extends Request {
|
|
1199
1219
|
color?: string;
|
1200
1220
|
/** The documents content in markdown format. */
|
1201
1221
|
content?: string;
|
1202
|
-
/** The documents content as a Prosemirror document. */
|
1203
|
-
contentData?: Record<string, unknown>;
|
1204
1222
|
/** The time at which the entity was created. */
|
1205
1223
|
createdAt: Date;
|
1206
1224
|
/** The icon of the document. */
|
@@ -1254,6 +1272,7 @@ export declare class DocumentContent extends Request {
|
|
1254
1272
|
private _document?;
|
1255
1273
|
private _issue?;
|
1256
1274
|
private _project?;
|
1275
|
+
private _projectMilestone?;
|
1257
1276
|
constructor(request: LinearRequest, data: L.DocumentContentFragment);
|
1258
1277
|
/** The time at which the entity was archived. Null if the entity has not been archived. */
|
1259
1278
|
archivedAt?: Date;
|
@@ -1265,7 +1284,7 @@ export declare class DocumentContent extends Request {
|
|
1265
1284
|
createdAt: Date;
|
1266
1285
|
/** The unique identifier of the entity. */
|
1267
1286
|
id: string;
|
1268
|
-
/** The time at which the document content was restored from a previous version */
|
1287
|
+
/** The time at which the document content was restored from a previous version. */
|
1269
1288
|
restoredAt?: Date;
|
1270
1289
|
/**
|
1271
1290
|
* The last time at which the entity was meaningfully updated, i.e. for all changes of syncable properties except those
|
@@ -1279,9 +1298,11 @@ export declare class DocumentContent extends Request {
|
|
1279
1298
|
get issue(): LinearFetch<Issue> | undefined;
|
1280
1299
|
/** The project that the content is associated with. */
|
1281
1300
|
get project(): LinearFetch<Project> | undefined;
|
1301
|
+
/** The project milestone that the content is associated with. */
|
1302
|
+
get projectMilestone(): LinearFetch<ProjectMilestone> | undefined;
|
1282
1303
|
}
|
1283
1304
|
/**
|
1284
|
-
* A document content history for a document
|
1305
|
+
* A document content history for a document.
|
1285
1306
|
*
|
1286
1307
|
* @param request - function to call the graphql client
|
1287
1308
|
* @param data - L.DocumentContentHistoryFragment response data
|
@@ -1292,7 +1313,7 @@ export declare class DocumentContentHistory extends Request {
|
|
1292
1313
|
actorIds: string[];
|
1293
1314
|
/** The time at which the entity was archived. Null if the entity has not been archived. */
|
1294
1315
|
archivedAt?: Date;
|
1295
|
-
/** The timestamp associated with the DocumentContent when it was originally saved */
|
1316
|
+
/** The timestamp associated with the DocumentContent when it was originally saved. */
|
1296
1317
|
contentDataSnapshotAt: Date;
|
1297
1318
|
/** The time at which the entity was created. */
|
1298
1319
|
createdAt: Date;
|
@@ -1386,15 +1407,13 @@ export declare class DocumentSearchResult extends Request {
|
|
1386
1407
|
color?: string;
|
1387
1408
|
/** The documents content in markdown format. */
|
1388
1409
|
content?: string;
|
1389
|
-
/** The documents content as a Prosemirror document. */
|
1390
|
-
contentData?: Record<string, unknown>;
|
1391
1410
|
/** The time at which the entity was created. */
|
1392
1411
|
createdAt: Date;
|
1393
1412
|
/** The icon of the document. */
|
1394
1413
|
icon?: string;
|
1395
1414
|
/** The unique identifier of the entity. */
|
1396
1415
|
id: string;
|
1397
|
-
/** Metadata related to search result */
|
1416
|
+
/** Metadata related to search result. */
|
1398
1417
|
metadata: L.Scalars["JSONObject"];
|
1399
1418
|
/** The document's unique URL slug. */
|
1400
1419
|
slugId: string;
|
@@ -1428,7 +1447,7 @@ export declare class DocumentSearchResultConnection extends Connection<DocumentS
|
|
1428
1447
|
constructor(request: LinearRequest, fetch: (connection?: LinearConnectionVariables) => LinearFetch<LinearConnection<DocumentSearchResult> | undefined>, data: L.DocumentSearchResultConnectionFragment);
|
1429
1448
|
}
|
1430
1449
|
/**
|
1431
|
-
* An email address that can be used for submitting issues
|
1450
|
+
* An email address that can be used for submitting issues.
|
1432
1451
|
*
|
1433
1452
|
* @param request - function to call the graphql client
|
1434
1453
|
* @param data - L.EmailIntakeAddressFragment response data
|
@@ -1436,6 +1455,7 @@ export declare class DocumentSearchResultConnection extends Connection<DocumentS
|
|
1436
1455
|
export declare class EmailIntakeAddress extends Request {
|
1437
1456
|
private _creator?;
|
1438
1457
|
private _team;
|
1458
|
+
private _template?;
|
1439
1459
|
constructor(request: LinearRequest, data: L.EmailIntakeAddressFragment);
|
1440
1460
|
/** Unique email address user name (before @) used for incoming email. */
|
1441
1461
|
address: string;
|
@@ -1455,8 +1475,33 @@ export declare class EmailIntakeAddress extends Request {
|
|
1455
1475
|
updatedAt: Date;
|
1456
1476
|
/** The user who created the email intake address. */
|
1457
1477
|
get creator(): LinearFetch<User> | undefined;
|
1478
|
+
/** The organization that the email address is associated with. */
|
1479
|
+
get organization(): LinearFetch<Organization>;
|
1458
1480
|
/** The team that the email address is associated with. */
|
1459
1481
|
get team(): LinearFetch<Team> | undefined;
|
1482
|
+
/** The template that the email address is associated with. */
|
1483
|
+
get template(): LinearFetch<Template> | undefined;
|
1484
|
+
/** Creates a new email intake address. */
|
1485
|
+
create(input: L.EmailIntakeAddressCreateInput): LinearFetch<EmailIntakeAddressPayload>;
|
1486
|
+
/** Deletes an email intake address object. */
|
1487
|
+
delete(): LinearFetch<DeletePayload>;
|
1488
|
+
/** Updates an existing email intake address. */
|
1489
|
+
update(input: L.EmailIntakeAddressUpdateInput): LinearFetch<EmailIntakeAddressPayload>;
|
1490
|
+
}
|
1491
|
+
/**
|
1492
|
+
* EmailIntakeAddressPayload model
|
1493
|
+
*
|
1494
|
+
* @param request - function to call the graphql client
|
1495
|
+
* @param data - L.EmailIntakeAddressPayloadFragment response data
|
1496
|
+
*/
|
1497
|
+
export declare class EmailIntakeAddressPayload extends Request {
|
1498
|
+
constructor(request: LinearRequest, data: L.EmailIntakeAddressPayloadFragment);
|
1499
|
+
/** The identifier of the last sync operation. */
|
1500
|
+
lastSyncId: number;
|
1501
|
+
/** Whether the operation was successful. */
|
1502
|
+
success: boolean;
|
1503
|
+
/** The email address that was created or updated. */
|
1504
|
+
emailIntakeAddress: EmailIntakeAddress;
|
1460
1505
|
}
|
1461
1506
|
/**
|
1462
1507
|
* EmailUnsubscribePayload model
|
@@ -1565,6 +1610,49 @@ export declare class Entity extends Request {
|
|
1565
1610
|
*/
|
1566
1611
|
updatedAt: Date;
|
1567
1612
|
}
|
1613
|
+
/**
|
1614
|
+
* An external authenticated (e.g., through Slack) user which doesn't have a Linear account, but can create and update entities in Linear from the external system that authenticated them.
|
1615
|
+
*
|
1616
|
+
* @param request - function to call the graphql client
|
1617
|
+
* @param data - L.ExternalUserFragment response data
|
1618
|
+
*/
|
1619
|
+
export declare class ExternalUser extends Request {
|
1620
|
+
constructor(request: LinearRequest, data: L.ExternalUserFragment);
|
1621
|
+
/** The time at which the entity was archived. Null if the entity has not been archived. */
|
1622
|
+
archivedAt?: Date;
|
1623
|
+
/** An URL to the external user's avatar image. */
|
1624
|
+
avatarUrl?: string;
|
1625
|
+
/** The time at which the entity was created. */
|
1626
|
+
createdAt: Date;
|
1627
|
+
/** The external user's display name. Unique within each organization. Can match the display name of an actual user. */
|
1628
|
+
displayName: string;
|
1629
|
+
/** The external user's email address. */
|
1630
|
+
email?: string;
|
1631
|
+
/** The unique identifier of the entity. */
|
1632
|
+
id: string;
|
1633
|
+
/** The last time the external user was seen interacting with Linear. */
|
1634
|
+
lastSeen?: Date;
|
1635
|
+
/** The external user's full name. */
|
1636
|
+
name: string;
|
1637
|
+
/**
|
1638
|
+
* The last time at which the entity was meaningfully updated, i.e. for all changes of syncable properties except those
|
1639
|
+
* 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
|
1640
|
+
* been updated after creation.
|
1641
|
+
*/
|
1642
|
+
updatedAt: Date;
|
1643
|
+
/** Organization the external user belongs to. */
|
1644
|
+
get organization(): LinearFetch<Organization>;
|
1645
|
+
}
|
1646
|
+
/**
|
1647
|
+
* ExternalUserConnection model
|
1648
|
+
*
|
1649
|
+
* @param request - function to call the graphql client
|
1650
|
+
* @param fetch - function to trigger a refetch of this ExternalUserConnection model
|
1651
|
+
* @param data - ExternalUserConnection response data
|
1652
|
+
*/
|
1653
|
+
export declare class ExternalUserConnection extends Connection<ExternalUser> {
|
1654
|
+
constructor(request: LinearRequest, fetch: (connection?: LinearConnectionVariables) => LinearFetch<LinearConnection<ExternalUser> | undefined>, data: L.ExternalUserConnectionFragment);
|
1655
|
+
}
|
1568
1656
|
/**
|
1569
1657
|
* User favorites presented in the sidebar.
|
1570
1658
|
*
|
@@ -1708,8 +1796,8 @@ export declare class GitAutomationState extends Request {
|
|
1708
1796
|
constructor(request: LinearRequest, data: L.GitAutomationStateFragment);
|
1709
1797
|
/** The time at which the entity was archived. Null if the entity has not been archived. */
|
1710
1798
|
archivedAt?: Date;
|
1711
|
-
/** The target branch, if null, the automation will be triggered on any branch. */
|
1712
|
-
branchPattern
|
1799
|
+
/** [DEPRECATED] The target branch, if null, the automation will be triggered on any branch. */
|
1800
|
+
branchPattern?: string;
|
1713
1801
|
/** The time at which the entity was created. */
|
1714
1802
|
createdAt: Date;
|
1715
1803
|
/** The unique identifier of the entity. */
|
@@ -1720,6 +1808,8 @@ export declare class GitAutomationState extends Request {
|
|
1720
1808
|
* been updated after creation.
|
1721
1809
|
*/
|
1722
1810
|
updatedAt: Date;
|
1811
|
+
/** The target branch associated to this automation state. */
|
1812
|
+
targetBranch?: GitAutomationTargetBranch;
|
1723
1813
|
/** The associated workflow state. */
|
1724
1814
|
get state(): LinearFetch<WorkflowState> | undefined;
|
1725
1815
|
/** The team to which this automation state belongs. */
|
@@ -1756,6 +1846,55 @@ export declare class GitAutomationStatePayload extends Request {
|
|
1756
1846
|
/** The automation state that was created or updated. */
|
1757
1847
|
gitAutomationState: GitAutomationState;
|
1758
1848
|
}
|
1849
|
+
/**
|
1850
|
+
* A Git target branch for which there are automations (GitAutomationState).
|
1851
|
+
*
|
1852
|
+
* @param request - function to call the graphql client
|
1853
|
+
* @param data - L.GitAutomationTargetBranchFragment response data
|
1854
|
+
*/
|
1855
|
+
export declare class GitAutomationTargetBranch extends Request {
|
1856
|
+
private _team;
|
1857
|
+
constructor(request: LinearRequest, data: L.GitAutomationTargetBranchFragment);
|
1858
|
+
/** The time at which the entity was archived. Null if the entity has not been archived. */
|
1859
|
+
archivedAt?: Date;
|
1860
|
+
/** The target branch pattern. */
|
1861
|
+
branchPattern: string;
|
1862
|
+
/** The time at which the entity was created. */
|
1863
|
+
createdAt: Date;
|
1864
|
+
/** The unique identifier of the entity. */
|
1865
|
+
id: string;
|
1866
|
+
/** Whether the branch pattern is a regular expression. */
|
1867
|
+
isRegex: boolean;
|
1868
|
+
/**
|
1869
|
+
* The last time at which the entity was meaningfully updated, i.e. for all changes of syncable properties except those
|
1870
|
+
* 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
|
1871
|
+
* been updated after creation.
|
1872
|
+
*/
|
1873
|
+
updatedAt: Date;
|
1874
|
+
/** The team to which this Git target branch automation belongs. */
|
1875
|
+
get team(): LinearFetch<Team> | undefined;
|
1876
|
+
/** Creates a Git target branch automation. */
|
1877
|
+
create(input: L.GitAutomationTargetBranchCreateInput): LinearFetch<GitAutomationTargetBranchPayload>;
|
1878
|
+
/** Archives a Git target branch automation. */
|
1879
|
+
delete(): LinearFetch<DeletePayload>;
|
1880
|
+
/** Updates an existing Git target branch automation. */
|
1881
|
+
update(input: L.GitAutomationTargetBranchUpdateInput): LinearFetch<GitAutomationTargetBranchPayload>;
|
1882
|
+
}
|
1883
|
+
/**
|
1884
|
+
* GitAutomationTargetBranchPayload model
|
1885
|
+
*
|
1886
|
+
* @param request - function to call the graphql client
|
1887
|
+
* @param data - L.GitAutomationTargetBranchPayloadFragment response data
|
1888
|
+
*/
|
1889
|
+
export declare class GitAutomationTargetBranchPayload extends Request {
|
1890
|
+
constructor(request: LinearRequest, data: L.GitAutomationTargetBranchPayloadFragment);
|
1891
|
+
/** The identifier of the last sync operation. */
|
1892
|
+
lastSyncId: number;
|
1893
|
+
/** Whether the operation was successful. */
|
1894
|
+
success: boolean;
|
1895
|
+
/** The Git target branch automation that was created or updated. */
|
1896
|
+
targetBranch: GitAutomationTargetBranch;
|
1897
|
+
}
|
1759
1898
|
/**
|
1760
1899
|
* GitHubCommitIntegrationPayload model
|
1761
1900
|
*
|
@@ -1782,7 +1921,7 @@ export declare class GitHubCommitIntegrationPayload extends Request {
|
|
1782
1921
|
*/
|
1783
1922
|
export declare class GitHubPersonalSettings extends Request {
|
1784
1923
|
constructor(request: LinearRequest, data: L.GitHubPersonalSettingsFragment);
|
1785
|
-
/** The GitHub user's name */
|
1924
|
+
/** The GitHub user's name. */
|
1786
1925
|
login: string;
|
1787
1926
|
}
|
1788
1927
|
/**
|
@@ -1806,13 +1945,13 @@ export declare class GitHubRepo extends Request {
|
|
1806
1945
|
*/
|
1807
1946
|
export declare class GitHubSettings extends Request {
|
1808
1947
|
constructor(request: LinearRequest, data: L.GitHubSettingsFragment);
|
1809
|
-
/** The avatar URL for the GitHub organization */
|
1948
|
+
/** The avatar URL for the GitHub organization. */
|
1810
1949
|
orgAvatarUrl: string;
|
1811
|
-
/** The GitHub organization's name */
|
1950
|
+
/** The GitHub organization's name. */
|
1812
1951
|
orgLogin: string;
|
1813
|
-
/** The names of the repositories connected for the GitHub integration */
|
1952
|
+
/** The names of the repositories connected for the GitHub integration. */
|
1814
1953
|
repositories?: GitHubRepo[];
|
1815
|
-
/** Mapping of team to repository for syncing */
|
1954
|
+
/** Mapping of team to repository for syncing. */
|
1816
1955
|
repositoriesMapping?: TeamRepoMapping[];
|
1817
1956
|
}
|
1818
1957
|
/**
|
@@ -1823,11 +1962,11 @@ export declare class GitHubSettings extends Request {
|
|
1823
1962
|
*/
|
1824
1963
|
export declare class GitLabSettings extends Request {
|
1825
1964
|
constructor(request: LinearRequest, data: L.GitLabSettingsFragment);
|
1826
|
-
/** The ISO timestamp the GitLab access token expires */
|
1965
|
+
/** The ISO timestamp the GitLab access token expires. */
|
1827
1966
|
expiresAt?: string;
|
1828
|
-
/** Whether the token is limited to a read-only scope */
|
1967
|
+
/** Whether the token is limited to a read-only scope. */
|
1829
1968
|
readonly?: boolean;
|
1830
|
-
/** The self-hosted URL of the GitLab instance */
|
1969
|
+
/** The self-hosted URL of the GitLab instance. */
|
1831
1970
|
url?: string;
|
1832
1971
|
}
|
1833
1972
|
/**
|
@@ -1857,8 +1996,6 @@ export declare class GithubOrg extends Request {
|
|
1857
1996
|
isPersonal?: boolean;
|
1858
1997
|
/** The login for the GitHub organization. */
|
1859
1998
|
login: string;
|
1860
|
-
/** The name of the GitHub organization. */
|
1861
|
-
name: string;
|
1862
1999
|
/** Repositories that the organization owns. */
|
1863
2000
|
repositories: GithubRepo[];
|
1864
2001
|
}
|
@@ -1903,6 +2040,19 @@ export declare class ImageUploadFromUrlPayload extends Request {
|
|
1903
2040
|
/** The URL containing the image. */
|
1904
2041
|
url?: string;
|
1905
2042
|
}
|
2043
|
+
/**
|
2044
|
+
* A generic payload return from entity archive mutations.
|
2045
|
+
*
|
2046
|
+
* @param request - function to call the graphql client
|
2047
|
+
* @param data - L.InitiativeArchivePayloadFragment response data
|
2048
|
+
*/
|
2049
|
+
export declare class InitiativeArchivePayload extends Request {
|
2050
|
+
constructor(request: LinearRequest, data: L.InitiativeArchivePayloadFragment);
|
2051
|
+
/** The identifier of the last sync operation. */
|
2052
|
+
lastSyncId: number;
|
2053
|
+
/** Whether the operation was successful. */
|
2054
|
+
success: boolean;
|
2055
|
+
}
|
1906
2056
|
/**
|
1907
2057
|
* An integration with an external service.
|
1908
2058
|
*
|
@@ -1933,6 +2083,8 @@ export declare class Integration extends Request {
|
|
1933
2083
|
get organization(): LinearFetch<Organization>;
|
1934
2084
|
/** The team that the integration is associated with. */
|
1935
2085
|
get team(): LinearFetch<Team> | undefined;
|
2086
|
+
/** Archives an integration. */
|
2087
|
+
archive(): LinearFetch<DeletePayload>;
|
1936
2088
|
/** Deletes an integration. */
|
1937
2089
|
delete(): LinearFetch<DeletePayload>;
|
1938
2090
|
}
|
@@ -1946,6 +2098,19 @@ export declare class Integration extends Request {
|
|
1946
2098
|
export declare class IntegrationConnection extends Connection<Integration> {
|
1947
2099
|
constructor(request: LinearRequest, fetch: (connection?: LinearConnectionVariables) => LinearFetch<LinearConnection<Integration> | undefined>, data: L.IntegrationConnectionFragment);
|
1948
2100
|
}
|
2101
|
+
/**
|
2102
|
+
* IntegrationHasScopesPayload model
|
2103
|
+
*
|
2104
|
+
* @param request - function to call the graphql client
|
2105
|
+
* @param data - L.IntegrationHasScopesPayloadFragment response data
|
2106
|
+
*/
|
2107
|
+
export declare class IntegrationHasScopesPayload extends Request {
|
2108
|
+
constructor(request: LinearRequest, data: L.IntegrationHasScopesPayloadFragment);
|
2109
|
+
/** Whether the integration has the required scopes. */
|
2110
|
+
hasAllScopes: boolean;
|
2111
|
+
/** The missing scopes. */
|
2112
|
+
missingScopes?: string[];
|
2113
|
+
}
|
1949
2114
|
/**
|
1950
2115
|
* IntegrationPayload model
|
1951
2116
|
*
|
@@ -1974,7 +2139,7 @@ export declare class IntegrationRequestPayload extends Request {
|
|
1974
2139
|
success: boolean;
|
1975
2140
|
}
|
1976
2141
|
/**
|
1977
|
-
* The integration resource's settings
|
2142
|
+
* The integration resource's settings.
|
1978
2143
|
*
|
1979
2144
|
* @param request - function to call the graphql client
|
1980
2145
|
* @param data - L.IntegrationSettingsFragment response data
|
@@ -2000,7 +2165,7 @@ export declare class IntegrationSettings extends Request {
|
|
2000
2165
|
zendesk?: ZendeskSettings;
|
2001
2166
|
}
|
2002
2167
|
/**
|
2003
|
-
* Join table between templates and integrations
|
2168
|
+
* Join table between templates and integrations.
|
2004
2169
|
*
|
2005
2170
|
* @param request - function to call the graphql client
|
2006
2171
|
* @param data - L.IntegrationTemplateFragment response data
|
@@ -2080,9 +2245,9 @@ export declare class IntegrationsSettings extends Request {
|
|
2080
2245
|
slackIssueCreated?: boolean;
|
2081
2246
|
/** Whether to send a Slack message when a comment is created on any of the project or team's issues. */
|
2082
2247
|
slackIssueNewComment?: boolean;
|
2083
|
-
/** Whether to send a Slack message when an SLA is breached */
|
2248
|
+
/** Whether to send a Slack message when an SLA is breached. */
|
2084
2249
|
slackIssueSlaBreached?: boolean;
|
2085
|
-
/** Whether to send a Slack message when an SLA is at high risk */
|
2250
|
+
/** Whether to send a Slack message when an SLA is at high risk. */
|
2086
2251
|
slackIssueSlaHighRisk?: boolean;
|
2087
2252
|
/** Whether to send a Slack message when any of the project or team's issues has a change in status. */
|
2088
2253
|
slackIssueStatusChangedAll?: boolean;
|
@@ -2164,10 +2329,12 @@ export declare class Issue extends Request {
|
|
2164
2329
|
private _assignee?;
|
2165
2330
|
private _creator?;
|
2166
2331
|
private _cycle?;
|
2332
|
+
private _externalUserCreator?;
|
2167
2333
|
private _favorite?;
|
2168
2334
|
private _lastAppliedTemplate?;
|
2169
2335
|
private _parent?;
|
2170
2336
|
private _project?;
|
2337
|
+
private _projectMilestone?;
|
2171
2338
|
private _snoozedBy?;
|
2172
2339
|
private _state;
|
2173
2340
|
private _team;
|
@@ -2242,6 +2409,8 @@ export declare class Issue extends Request {
|
|
2242
2409
|
get creator(): LinearFetch<User> | undefined;
|
2243
2410
|
/** The cycle that the issue is associated with. */
|
2244
2411
|
get cycle(): LinearFetch<Cycle> | undefined;
|
2412
|
+
/** The external user who created the issue. */
|
2413
|
+
get externalUserCreator(): LinearFetch<ExternalUser> | undefined;
|
2245
2414
|
/** The users favorite associated with this issue. */
|
2246
2415
|
get favorite(): LinearFetch<Favorite> | undefined;
|
2247
2416
|
/** The last template that was applied to this issue. */
|
@@ -2250,6 +2419,8 @@ export declare class Issue extends Request {
|
|
2250
2419
|
get parent(): LinearFetch<Issue> | undefined;
|
2251
2420
|
/** The project that the issue is associated with. */
|
2252
2421
|
get project(): LinearFetch<Project> | undefined;
|
2422
|
+
/** The projectMilestone that the issue is associated with. */
|
2423
|
+
get projectMilestone(): LinearFetch<ProjectMilestone> | undefined;
|
2253
2424
|
/** The user who snoozed the issue. */
|
2254
2425
|
get snoozedBy(): LinearFetch<User> | undefined;
|
2255
2426
|
/** The workflow state that the issue is associated with. */
|
@@ -2379,7 +2550,7 @@ export declare class IssueHistory extends Request {
|
|
2379
2550
|
fromAssigneeId?: string;
|
2380
2551
|
/** The id of previous cycle of the issue. */
|
2381
2552
|
fromCycleId?: string;
|
2382
|
-
/** What the due date was changed from */
|
2553
|
+
/** What the due date was changed from. */
|
2383
2554
|
fromDueDate?: L.Scalars["TimelessDate"];
|
2384
2555
|
/** What the estimate was changed from. */
|
2385
2556
|
fromEstimate?: number;
|
@@ -2405,7 +2576,7 @@ export declare class IssueHistory extends Request {
|
|
2405
2576
|
toConvertedProjectId?: string;
|
2406
2577
|
/** The id of new cycle of the issue. */
|
2407
2578
|
toCycleId?: string;
|
2408
|
-
/** What the due date was changed to */
|
2579
|
+
/** What the due date was changed to. */
|
2409
2580
|
toDueDate?: L.Scalars["TimelessDate"];
|
2410
2581
|
/** What the estimate was changed to. */
|
2411
2582
|
toEstimate?: number;
|
@@ -2435,7 +2606,7 @@ export declare class IssueHistory extends Request {
|
|
2435
2606
|
/** Changed issue relationships. */
|
2436
2607
|
relationChanges?: IssueRelationHistoryPayload[];
|
2437
2608
|
removedLabels?: IssueLabel[];
|
2438
|
-
/** The bot that performed the action */
|
2609
|
+
/** The bot that performed the action. */
|
2439
2610
|
botActor?: ActorBot;
|
2440
2611
|
/** The import record. */
|
2441
2612
|
issueImport?: IssueImport;
|
@@ -2483,7 +2654,7 @@ export declare class IssueHistoryConnection extends Connection<IssueHistory> {
|
|
2483
2654
|
constructor(request: LinearRequest, fetch: (connection?: LinearConnectionVariables) => LinearFetch<LinearConnection<IssueHistory> | undefined>, data: L.IssueHistoryConnectionFragment);
|
2484
2655
|
}
|
2485
2656
|
/**
|
2486
|
-
* An import job for data from an external service
|
2657
|
+
* An import job for data from an external service.
|
2487
2658
|
*
|
2488
2659
|
* @param request - function to call the graphql client
|
2489
2660
|
* @param data - L.IssueImportFragment response data
|
@@ -2500,7 +2671,7 @@ export declare class IssueImport extends Request {
|
|
2500
2671
|
csvFileUrl?: string;
|
2501
2672
|
/** User readable error message, if one has occurred during the import. */
|
2502
2673
|
error?: string;
|
2503
|
-
/** Error code and metadata, if one has occurred during the import */
|
2674
|
+
/** Error code and metadata, if one has occurred during the import. */
|
2504
2675
|
errorMetadata?: L.Scalars["JSONObject"];
|
2505
2676
|
/** The unique identifier of the entity. */
|
2506
2677
|
id: string;
|
@@ -2512,7 +2683,7 @@ export declare class IssueImport extends Request {
|
|
2512
2683
|
service: string;
|
2513
2684
|
/** The status for the import job. */
|
2514
2685
|
status: string;
|
2515
|
-
/** New team's name in cases when teamId not set */
|
2686
|
+
/** New team's name in cases when teamId not set. */
|
2516
2687
|
teamName?: string;
|
2517
2688
|
/**
|
2518
2689
|
* The last time at which the entity was meaningfully updated, i.e. for all changes of syncable properties except those
|
@@ -2642,7 +2813,7 @@ export declare class IssueLabelPayload extends Request {
|
|
2642
2813
|
get issueLabel(): LinearFetch<IssueLabel> | undefined;
|
2643
2814
|
}
|
2644
2815
|
/**
|
2645
|
-
* An issue related notification
|
2816
|
+
* An issue related notification.
|
2646
2817
|
*
|
2647
2818
|
* @param request - function to call the graphql client
|
2648
2819
|
* @param data - L.IssueNotificationFragment response data
|
@@ -2650,6 +2821,7 @@ export declare class IssueLabelPayload extends Request {
|
|
2650
2821
|
export declare class IssueNotification extends Request {
|
2651
2822
|
private _actor?;
|
2652
2823
|
private _comment?;
|
2824
|
+
private _externalUserActor?;
|
2653
2825
|
private _issue;
|
2654
2826
|
private _team;
|
2655
2827
|
private _user;
|
@@ -2671,7 +2843,7 @@ export declare class IssueNotification extends Request {
|
|
2671
2843
|
readAt?: Date;
|
2672
2844
|
/** The time until a notification will be snoozed. After that it will appear in the inbox again. */
|
2673
2845
|
snoozedUntilAt?: Date;
|
2674
|
-
/** Notification type */
|
2846
|
+
/** Notification type. */
|
2675
2847
|
type: string;
|
2676
2848
|
/** The time at which a notification was unsnoozed.. */
|
2677
2849
|
unsnoozedAt?: Date;
|
@@ -2689,9 +2861,11 @@ export declare class IssueNotification extends Request {
|
|
2689
2861
|
get actor(): LinearFetch<User> | undefined;
|
2690
2862
|
/** The comment related to the notification. */
|
2691
2863
|
get comment(): LinearFetch<Comment> | undefined;
|
2864
|
+
/** The external user that caused the notification. */
|
2865
|
+
get externalUserActor(): LinearFetch<ExternalUser> | undefined;
|
2692
2866
|
/** The issue related to the notification. */
|
2693
2867
|
get issue(): LinearFetch<Issue> | undefined;
|
2694
|
-
/** The team related to the notification. */
|
2868
|
+
/** The team related to the issue notification. */
|
2695
2869
|
get team(): LinearFetch<Team> | undefined;
|
2696
2870
|
/** The user that received the notification. */
|
2697
2871
|
get user(): LinearFetch<User> | undefined;
|
@@ -2771,7 +2945,7 @@ export declare class IssueRelationConnection extends Connection<IssueRelation> {
|
|
2771
2945
|
constructor(request: LinearRequest, fetch: (connection?: LinearConnectionVariables) => LinearFetch<LinearConnection<IssueRelation> | undefined>, data: L.IssueRelationConnectionFragment);
|
2772
2946
|
}
|
2773
2947
|
/**
|
2774
|
-
* Issue relation history's payload
|
2948
|
+
* Issue relation history's payload.
|
2775
2949
|
*
|
2776
2950
|
* @param request - function to call the graphql client
|
2777
2951
|
* @param data - L.IssueRelationHistoryPayloadFragment response data
|
@@ -2824,10 +2998,12 @@ export declare class IssueSearchResult extends Request {
|
|
2824
2998
|
private _assignee?;
|
2825
2999
|
private _creator?;
|
2826
3000
|
private _cycle?;
|
3001
|
+
private _externalUserCreator?;
|
2827
3002
|
private _favorite?;
|
2828
3003
|
private _lastAppliedTemplate?;
|
2829
3004
|
private _parent?;
|
2830
3005
|
private _project?;
|
3006
|
+
private _projectMilestone?;
|
2831
3007
|
private _snoozedBy?;
|
2832
3008
|
private _state;
|
2833
3009
|
private _team;
|
@@ -2862,7 +3038,7 @@ export declare class IssueSearchResult extends Request {
|
|
2862
3038
|
identifier: string;
|
2863
3039
|
/** Id of the labels associated with this issue. */
|
2864
3040
|
labelIds: string[];
|
2865
|
-
/** Metadata related to search result */
|
3041
|
+
/** Metadata related to search result. */
|
2866
3042
|
metadata: L.Scalars["JSONObject"];
|
2867
3043
|
/** The issue's unique number. */
|
2868
3044
|
number: number;
|
@@ -2904,6 +3080,8 @@ export declare class IssueSearchResult extends Request {
|
|
2904
3080
|
get creator(): LinearFetch<User> | undefined;
|
2905
3081
|
/** The cycle that the issue is associated with. */
|
2906
3082
|
get cycle(): LinearFetch<Cycle> | undefined;
|
3083
|
+
/** The external user who created the issue. */
|
3084
|
+
get externalUserCreator(): LinearFetch<ExternalUser> | undefined;
|
2907
3085
|
/** The users favorite associated with this issue. */
|
2908
3086
|
get favorite(): LinearFetch<Favorite> | undefined;
|
2909
3087
|
/** The last template that was applied to this issue. */
|
@@ -2912,6 +3090,8 @@ export declare class IssueSearchResult extends Request {
|
|
2912
3090
|
get parent(): LinearFetch<Issue> | undefined;
|
2913
3091
|
/** The project that the issue is associated with. */
|
2914
3092
|
get project(): LinearFetch<Project> | undefined;
|
3093
|
+
/** The projectMilestone that the issue is associated with. */
|
3094
|
+
get projectMilestone(): LinearFetch<ProjectMilestone> | undefined;
|
2915
3095
|
/** The user who snoozed the issue. */
|
2916
3096
|
get snoozedBy(): LinearFetch<User> | undefined;
|
2917
3097
|
/** The workflow state that the issue is associated with. */
|
@@ -3002,7 +3182,7 @@ export declare class LabelNotificationSubscription extends Request {
|
|
3002
3182
|
private _team?;
|
3003
3183
|
private _user?;
|
3004
3184
|
constructor(request: LinearRequest, data: L.LabelNotificationSubscriptionFragment);
|
3005
|
-
/** Whether the subscription is active or not */
|
3185
|
+
/** Whether the subscription is active or not. */
|
3006
3186
|
active: boolean;
|
3007
3187
|
/** The time at which the entity was archived. Null if the entity has not been archived. */
|
3008
3188
|
archivedAt?: Date;
|
@@ -3063,6 +3243,7 @@ export declare class Node extends Request {
|
|
3063
3243
|
*/
|
3064
3244
|
export declare class Notification extends Request {
|
3065
3245
|
private _actor?;
|
3246
|
+
private _externalUserActor?;
|
3066
3247
|
private _user;
|
3067
3248
|
constructor(request: LinearRequest, data: L.NotificationFragment);
|
3068
3249
|
/** The time at which the entity was archived. Null if the entity has not been archived. */
|
@@ -3080,7 +3261,7 @@ export declare class Notification extends Request {
|
|
3080
3261
|
readAt?: Date;
|
3081
3262
|
/** The time until a notification will be snoozed. After that it will appear in the inbox again. */
|
3082
3263
|
snoozedUntilAt?: Date;
|
3083
|
-
/** Notification type */
|
3264
|
+
/** Notification type. */
|
3084
3265
|
type: string;
|
3085
3266
|
/** The time at which a notification was unsnoozed.. */
|
3086
3267
|
unsnoozedAt?: Date;
|
@@ -3094,6 +3275,8 @@ export declare class Notification extends Request {
|
|
3094
3275
|
botActor?: ActorBot;
|
3095
3276
|
/** The user that caused the notification. */
|
3096
3277
|
get actor(): LinearFetch<User> | undefined;
|
3278
|
+
/** The external user that caused the notification. */
|
3279
|
+
get externalUserActor(): LinearFetch<ExternalUser> | undefined;
|
3097
3280
|
/** The user that received the notification. */
|
3098
3281
|
get user(): LinearFetch<User> | undefined;
|
3099
3282
|
/** Archives a notification. */
|
@@ -3169,7 +3352,7 @@ export declare class NotificationSubscription extends Request {
|
|
3169
3352
|
private _team?;
|
3170
3353
|
private _user?;
|
3171
3354
|
constructor(request: LinearRequest, data: L.NotificationSubscriptionFragment);
|
3172
|
-
/** Whether the subscription is active or not */
|
3355
|
+
/** Whether the subscription is active or not. */
|
3173
3356
|
active: boolean;
|
3174
3357
|
/** The time at which the entity was archived. Null if the entity has not been archived. */
|
3175
3358
|
archivedAt?: Date;
|
@@ -3283,7 +3466,7 @@ export declare class OauthClient extends Request {
|
|
3283
3466
|
webhookResourceTypes: string[];
|
3284
3467
|
/** Webhook secret token for verifying the origin on the recipient side. */
|
3285
3468
|
webhookSecret?: string;
|
3286
|
-
/** Webhook URL */
|
3469
|
+
/** Webhook URL. */
|
3287
3470
|
webhookUrl?: string;
|
3288
3471
|
/** The user who created the OAuth application. */
|
3289
3472
|
get creator(): LinearFetch<User> | undefined;
|
@@ -3324,13 +3507,14 @@ export declare class OauthClientApproval extends Request {
|
|
3324
3507
|
updatedAt: Date;
|
3325
3508
|
}
|
3326
3509
|
/**
|
3327
|
-
* An oauth client approval related notification
|
3510
|
+
* An oauth client approval related notification.
|
3328
3511
|
*
|
3329
3512
|
* @param request - function to call the graphql client
|
3330
3513
|
* @param data - L.OauthClientApprovalNotificationFragment response data
|
3331
3514
|
*/
|
3332
3515
|
export declare class OauthClientApprovalNotification extends Request {
|
3333
3516
|
private _actor?;
|
3517
|
+
private _externalUserActor?;
|
3334
3518
|
private _user;
|
3335
3519
|
constructor(request: LinearRequest, data: L.OauthClientApprovalNotificationFragment);
|
3336
3520
|
/** The time at which the entity was archived. Null if the entity has not been archived. */
|
@@ -3348,7 +3532,7 @@ export declare class OauthClientApprovalNotification extends Request {
|
|
3348
3532
|
readAt?: Date;
|
3349
3533
|
/** The time until a notification will be snoozed. After that it will appear in the inbox again. */
|
3350
3534
|
snoozedUntilAt?: Date;
|
3351
|
-
/** Notification type */
|
3535
|
+
/** Notification type. */
|
3352
3536
|
type: string;
|
3353
3537
|
/** The time at which a notification was unsnoozed.. */
|
3354
3538
|
unsnoozedAt?: Date;
|
@@ -3364,6 +3548,8 @@ export declare class OauthClientApprovalNotification extends Request {
|
|
3364
3548
|
oauthClientApproval: OauthClientApproval;
|
3365
3549
|
/** The user that caused the notification. */
|
3366
3550
|
get actor(): LinearFetch<User> | undefined;
|
3551
|
+
/** The external user that caused the notification. */
|
3552
|
+
get externalUserActor(): LinearFetch<ExternalUser> | undefined;
|
3367
3553
|
/** The user that received the notification. */
|
3368
3554
|
get user(): LinearFetch<User> | undefined;
|
3369
3555
|
}
|
@@ -3385,8 +3571,16 @@ export declare class OauthClientConnection extends Connection<OauthClient> {
|
|
3385
3571
|
*/
|
3386
3572
|
export declare class OauthToken extends Request {
|
3387
3573
|
constructor(request: LinearRequest, data: L.OauthTokenFragment);
|
3574
|
+
clientId: string;
|
3388
3575
|
createdAt: Date;
|
3389
|
-
id:
|
3576
|
+
id: number;
|
3577
|
+
revokedAt?: Date;
|
3578
|
+
/** Id of the user who authorized the OAuth application. */
|
3579
|
+
userId: string;
|
3580
|
+
/** OAuth2 client for which the access token belongs to. */
|
3581
|
+
client: AuthOauthClient;
|
3582
|
+
/** Auth user who authorized the OAuth application. */
|
3583
|
+
user: AuthUser;
|
3390
3584
|
}
|
3391
3585
|
/**
|
3392
3586
|
* An organization. Organizations are root-level objects that contain user accounts and teams.
|
@@ -3396,9 +3590,9 @@ export declare class OauthToken extends Request {
|
|
3396
3590
|
*/
|
3397
3591
|
export declare class Organization extends Request {
|
3398
3592
|
constructor(request: LinearRequest, data: L.OrganizationFragment);
|
3399
|
-
/** Whether member users are allowed to send invites */
|
3593
|
+
/** Whether member users are allowed to send invites. */
|
3400
3594
|
allowMembersToInvite?: boolean;
|
3401
|
-
/** Allowed authentication providers, empty array means all are allowed */
|
3595
|
+
/** Allowed authentication providers, empty array means all are allowed. */
|
3402
3596
|
allowedAuthServices: string[];
|
3403
3597
|
/** The time at which the entity was archived. Null if the entity has not been archived. */
|
3404
3598
|
archivedAt?: Date;
|
@@ -3502,7 +3696,7 @@ export declare class OrganizationDomain extends Request {
|
|
3502
3696
|
createdAt: Date;
|
3503
3697
|
/** The unique identifier of the entity. */
|
3504
3698
|
id: string;
|
3505
|
-
/** Domain name */
|
3699
|
+
/** Domain name. */
|
3506
3700
|
name: string;
|
3507
3701
|
/**
|
3508
3702
|
* The last time at which the entity was meaningfully updated, i.e. for all changes of syncable properties except those
|
@@ -3510,9 +3704,9 @@ export declare class OrganizationDomain extends Request {
|
|
3510
3704
|
* been updated after creation.
|
3511
3705
|
*/
|
3512
3706
|
updatedAt: Date;
|
3513
|
-
/** E-mail used to verify this domain */
|
3707
|
+
/** E-mail used to verify this domain. */
|
3514
3708
|
verificationEmail?: string;
|
3515
|
-
/** Is this domain verified */
|
3709
|
+
/** Is this domain verified. */
|
3516
3710
|
verified: boolean;
|
3517
3711
|
/** The user who added the domain. */
|
3518
3712
|
get creator(): LinearFetch<User> | undefined;
|
@@ -3542,7 +3736,7 @@ export declare class OrganizationInvite extends Request {
|
|
3542
3736
|
private _invitee?;
|
3543
3737
|
private _inviter;
|
3544
3738
|
constructor(request: LinearRequest, data: L.OrganizationInviteFragment);
|
3545
|
-
/** The time at which the invite was accepted. Null, if the invite hasn't been accepted */
|
3739
|
+
/** The time at which the invite was accepted. Null, if the invite hasn't been accepted. */
|
3546
3740
|
acceptedAt?: Date;
|
3547
3741
|
/** The time at which the entity was archived. Null if the entity has not been archived. */
|
3548
3742
|
archivedAt?: Date;
|
@@ -3550,7 +3744,7 @@ export declare class OrganizationInvite extends Request {
|
|
3550
3744
|
createdAt: Date;
|
3551
3745
|
/** The invitees email address. */
|
3552
3746
|
email: string;
|
3553
|
-
/** The time at which the invite will be expiring. Null, if the invite shouldn't expire */
|
3747
|
+
/** The time at which the invite will be expiring. Null, if the invite shouldn't expire. */
|
3554
3748
|
expiresAt?: Date;
|
3555
3749
|
/** The invite was sent to external address. */
|
3556
3750
|
external: boolean;
|
@@ -3599,11 +3793,11 @@ export declare class OrganizationInviteFullDetailsPayload extends Request {
|
|
3599
3793
|
accepted: boolean;
|
3600
3794
|
/** When the invite was created. */
|
3601
3795
|
createdAt: Date;
|
3602
|
-
/** The email of the invitee */
|
3796
|
+
/** The email of the invitee. */
|
3603
3797
|
email: string;
|
3604
3798
|
/** Whether the invite has expired. */
|
3605
3799
|
expired: boolean;
|
3606
|
-
/** The name of the inviter */
|
3800
|
+
/** The name of the inviter. */
|
3607
3801
|
inviter: string;
|
3608
3802
|
/** ID of the workspace the invite is for. */
|
3609
3803
|
organizationId: string;
|
@@ -3986,6 +4180,8 @@ export declare class ProjectMilestone extends Request {
|
|
3986
4180
|
updatedAt: Date;
|
3987
4181
|
/** The project of the milestone. */
|
3988
4182
|
get project(): LinearFetch<Project> | undefined;
|
4183
|
+
/** Issues associated with the project milestone. */
|
4184
|
+
issues(variables?: Omit<L.ProjectMilestone_IssuesQueryVariables, "id">): LinearFetch<IssueConnection>;
|
3989
4185
|
/** Creates a new project milestone. */
|
3990
4186
|
create(input: L.ProjectMilestoneCreateInput): LinearFetch<ProjectMilestonePayload>;
|
3991
4187
|
/** Deletes a project milestone. */
|
@@ -4010,20 +4206,24 @@ export declare class ProjectMilestoneConnection extends Connection<ProjectMilest
|
|
4010
4206
|
* @param data - L.ProjectMilestonePayloadFragment response data
|
4011
4207
|
*/
|
4012
4208
|
export declare class ProjectMilestonePayload extends Request {
|
4209
|
+
private _projectMilestone;
|
4013
4210
|
constructor(request: LinearRequest, data: L.ProjectMilestonePayloadFragment);
|
4014
4211
|
/** The identifier of the last sync operation. */
|
4015
4212
|
lastSyncId: number;
|
4016
4213
|
/** Whether the operation was successful. */
|
4017
4214
|
success: boolean;
|
4215
|
+
/** The project milestone that was created or updated. */
|
4216
|
+
get projectMilestone(): LinearFetch<ProjectMilestone> | undefined;
|
4018
4217
|
}
|
4019
4218
|
/**
|
4020
|
-
* A project related notification
|
4219
|
+
* A project related notification.
|
4021
4220
|
*
|
4022
4221
|
* @param request - function to call the graphql client
|
4023
4222
|
* @param data - L.ProjectNotificationFragment response data
|
4024
4223
|
*/
|
4025
4224
|
export declare class ProjectNotification extends Request {
|
4026
4225
|
private _actor?;
|
4226
|
+
private _externalUserActor?;
|
4027
4227
|
private _project;
|
4028
4228
|
private _projectUpdate?;
|
4029
4229
|
private _user;
|
@@ -4043,7 +4243,7 @@ export declare class ProjectNotification extends Request {
|
|
4043
4243
|
readAt?: Date;
|
4044
4244
|
/** The time until a notification will be snoozed. After that it will appear in the inbox again. */
|
4045
4245
|
snoozedUntilAt?: Date;
|
4046
|
-
/** Notification type */
|
4246
|
+
/** Notification type. */
|
4047
4247
|
type: string;
|
4048
4248
|
/** The time at which a notification was unsnoozed.. */
|
4049
4249
|
unsnoozedAt?: Date;
|
@@ -4057,6 +4257,8 @@ export declare class ProjectNotification extends Request {
|
|
4057
4257
|
botActor?: ActorBot;
|
4058
4258
|
/** The user that caused the notification. */
|
4059
4259
|
get actor(): LinearFetch<User> | undefined;
|
4260
|
+
/** The external user that caused the notification. */
|
4261
|
+
get externalUserActor(): LinearFetch<ExternalUser> | undefined;
|
4060
4262
|
/** The project related to the notification. */
|
4061
4263
|
get project(): LinearFetch<Project> | undefined;
|
4062
4264
|
/** The project update related to the notification. */
|
@@ -4079,7 +4281,7 @@ export declare class ProjectNotificationSubscription extends Request {
|
|
4079
4281
|
private _team?;
|
4080
4282
|
private _user?;
|
4081
4283
|
constructor(request: LinearRequest, data: L.ProjectNotificationSubscriptionFragment);
|
4082
|
-
/** Whether the subscription is active or not */
|
4284
|
+
/** Whether the subscription is active or not. */
|
4083
4285
|
active: boolean;
|
4084
4286
|
/** The time at which the entity was archived. Null if the entity has not been archived. */
|
4085
4287
|
archivedAt?: Date;
|
@@ -4182,7 +4384,7 @@ export declare class ProjectSearchResult extends Request {
|
|
4182
4384
|
inProgressScopeHistory: number[];
|
4183
4385
|
/** The total number of issues in the project after each week. */
|
4184
4386
|
issueCountHistory: number[];
|
4185
|
-
/** Metadata related to search result */
|
4387
|
+
/** Metadata related to search result. */
|
4186
4388
|
metadata: L.Scalars["JSONObject"];
|
4187
4389
|
/** The project's name. */
|
4188
4390
|
name: string;
|
@@ -4260,13 +4462,15 @@ export declare class ProjectUpdate extends Request {
|
|
4260
4462
|
/** The time at which the entity was created. */
|
4261
4463
|
createdAt: Date;
|
4262
4464
|
/** The diff between the current update and the previous one. */
|
4263
|
-
diff?:
|
4465
|
+
diff?: L.Scalars["JSONObject"];
|
4264
4466
|
/** The diff between the current update and the previous one, formatted as markdown. */
|
4265
4467
|
diffMarkdown?: string;
|
4266
4468
|
/** The time the project update was edited. */
|
4267
4469
|
editedAt?: Date;
|
4268
4470
|
/** The unique identifier of the entity. */
|
4269
4471
|
id: string;
|
4472
|
+
/** Whether project update diff should be hidden. */
|
4473
|
+
isDiffHidden: boolean;
|
4270
4474
|
/**
|
4271
4475
|
* The last time at which the entity was meaningfully updated, i.e. for all changes of syncable properties except those
|
4272
4476
|
* 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
|
@@ -4654,7 +4858,7 @@ export declare class RoadmapPayload extends Request {
|
|
4654
4858
|
get roadmap(): LinearFetch<Roadmap> | undefined;
|
4655
4859
|
}
|
4656
4860
|
/**
|
4657
|
-
* Join table between projects and roadmaps
|
4861
|
+
* Join table between projects and roadmaps.
|
4658
4862
|
*
|
4659
4863
|
* @param request - function to call the graphql client
|
4660
4864
|
* @param data - L.RoadmapToProjectFragment response data
|
@@ -4714,42 +4918,6 @@ export declare class RoadmapToProjectPayload extends Request {
|
|
4714
4918
|
/** The roadmapToProject that was created or updated. */
|
4715
4919
|
get roadmapToProject(): LinearFetch<RoadmapToProject> | undefined;
|
4716
4920
|
}
|
4717
|
-
/**
|
4718
|
-
* SamlConfiguration model
|
4719
|
-
*
|
4720
|
-
* @param request - function to call the graphql client
|
4721
|
-
* @param data - L.SamlConfigurationFragment response data
|
4722
|
-
*/
|
4723
|
-
export declare class SamlConfiguration extends Request {
|
4724
|
-
constructor(request: LinearRequest, data: L.SamlConfigurationFragment);
|
4725
|
-
/** The issuer's custom entity ID. */
|
4726
|
-
issuerEntityId?: string;
|
4727
|
-
/** Binding method for authentication call. Can be either `post` (default) or `redirect`. */
|
4728
|
-
ssoBinding?: string;
|
4729
|
-
/** Sign in endpoint URL for the identity provider. */
|
4730
|
-
ssoEndpoint?: string;
|
4731
|
-
/** The algorithm of the Signing Certificate. Can be one of `sha1`, `sha256` (default), or `sha512`. */
|
4732
|
-
ssoSignAlgo?: string;
|
4733
|
-
/** X.509 Signing Certificate in string form. */
|
4734
|
-
ssoSigningCert?: string;
|
4735
|
-
}
|
4736
|
-
/**
|
4737
|
-
* The organization's SAML configuration
|
4738
|
-
*
|
4739
|
-
* @param request - function to call the graphql client
|
4740
|
-
* @param data - L.SamlConfigurationPayloadFragment response data
|
4741
|
-
*/
|
4742
|
-
export declare class SamlConfigurationPayload extends Request {
|
4743
|
-
constructor(request: LinearRequest, data: L.SamlConfigurationPayloadFragment);
|
4744
|
-
/** The issuer's custom entity ID. */
|
4745
|
-
issuerEntityId?: string;
|
4746
|
-
/** Binding method for authentication call. Can be either `post` (default) or `redirect`. */
|
4747
|
-
ssoBinding?: string;
|
4748
|
-
/** Sign in endpoint URL for the identity provider. */
|
4749
|
-
ssoEndpoint?: string;
|
4750
|
-
/** The algorithm of the Signing Certificate. Can be one of `sha1`, `sha256` (default), or `sha512`. */
|
4751
|
-
ssoSignAlgo?: string;
|
4752
|
-
}
|
4753
4921
|
/**
|
4754
4922
|
* Sentry specific settings.
|
4755
4923
|
*
|
@@ -4773,14 +4941,14 @@ export declare class SlackAsksSettings extends Request {
|
|
4773
4941
|
slackChannelMapping?: SlackChannelNameMapping[];
|
4774
4942
|
}
|
4775
4943
|
/**
|
4776
|
-
* Tuple for mapping Slack channel IDs to names
|
4944
|
+
* Tuple for mapping Slack channel IDs to names.
|
4777
4945
|
*
|
4778
4946
|
* @param request - function to call the graphql client
|
4779
4947
|
* @param data - L.SlackAsksTeamSettingsFragment response data
|
4780
4948
|
*/
|
4781
4949
|
export declare class SlackAsksTeamSettings extends Request {
|
4782
4950
|
constructor(request: LinearRequest, data: L.SlackAsksTeamSettingsFragment);
|
4783
|
-
/** Whether the default Asks template is enabled in the given channel for this team */
|
4951
|
+
/** Whether the default Asks template is enabled in the given channel for this team. */
|
4784
4952
|
hasDefaultAsk: boolean;
|
4785
4953
|
/** The Linear team ID. */
|
4786
4954
|
id: string;
|
@@ -4808,32 +4976,32 @@ export declare class SlackChannelConnectPayload extends Request {
|
|
4808
4976
|
get integration(): LinearFetch<Integration> | undefined;
|
4809
4977
|
}
|
4810
4978
|
/**
|
4811
|
-
* Object for mapping Slack channel IDs to names and other settings
|
4979
|
+
* Object for mapping Slack channel IDs to names and other settings.
|
4812
4980
|
*
|
4813
4981
|
* @param request - function to call the graphql client
|
4814
4982
|
* @param data - L.SlackChannelNameMappingFragment response data
|
4815
4983
|
*/
|
4816
4984
|
export declare class SlackChannelNameMapping extends Request {
|
4817
4985
|
constructor(request: LinearRequest, data: L.SlackChannelNameMappingFragment);
|
4818
|
-
/** Whether or not @-mentioning the bot should automatically create an Ask with the message */
|
4986
|
+
/** Whether or not @-mentioning the bot should automatically create an Ask with the message. */
|
4819
4987
|
autoCreateOnBotMention?: boolean;
|
4820
|
-
/** Whether or not using the :ticket: emoji in this channel should automatically create Asks */
|
4988
|
+
/** Whether or not using the :ticket: emoji in this channel should automatically create Asks. */
|
4821
4989
|
autoCreateOnEmoji?: boolean;
|
4822
|
-
/** Whether or not top-level messages in this channel should automatically create Asks */
|
4990
|
+
/** Whether or not top-level messages in this channel should automatically create Asks. */
|
4823
4991
|
autoCreateOnMessage?: boolean;
|
4824
4992
|
/** The optional template ID to use for Asks auto-created in this channel. If not set, auto-created Asks won't use any template. */
|
4825
4993
|
autoCreateTemplateId?: string;
|
4826
|
-
/** Whether or not we the Linear Asks bot has been added to this Slack channel */
|
4994
|
+
/** Whether or not we the Linear Asks bot has been added to this Slack channel. */
|
4827
4995
|
botAdded?: boolean;
|
4828
4996
|
/** The Slack channel ID. */
|
4829
4997
|
id: string;
|
4830
|
-
/** Whether or not the Slack channel is private */
|
4998
|
+
/** Whether or not the Slack channel is private. */
|
4831
4999
|
isPrivate?: boolean;
|
4832
|
-
/** Whether or not the Slack channel is shared with an external org */
|
5000
|
+
/** Whether or not the Slack channel is shared with an external org. */
|
4833
5001
|
isShared?: boolean;
|
4834
5002
|
/** The Slack channel name. */
|
4835
5003
|
name: string;
|
4836
|
-
/** Which teams are connected to the channel and settings for those teams */
|
5004
|
+
/** Which teams are connected to the channel and settings for those teams. */
|
4837
5005
|
teams: SlackAsksTeamSettings[];
|
4838
5006
|
}
|
4839
5007
|
/**
|
@@ -4966,7 +5134,7 @@ export declare class Team extends Request {
|
|
4966
5134
|
name: string;
|
4967
5135
|
/** Whether the team is private or not. */
|
4968
5136
|
private: boolean;
|
4969
|
-
/** Whether an issue needs to have a priority set before leaving triage */
|
5137
|
+
/** Whether an issue needs to have a priority set before leaving triage. */
|
4970
5138
|
requirePriorityToLeaveTriage: boolean;
|
4971
5139
|
/** Where to move issues when changing state. */
|
4972
5140
|
setIssueSortOrderOnStateChange: string;
|
@@ -5016,10 +5184,10 @@ export declare class Team extends Request {
|
|
5016
5184
|
get startWorkflowState(): LinearFetch<WorkflowState> | undefined;
|
5017
5185
|
/** The workflow state into which issues are set when they are opened by non-team members or integrations if triage is enabled. */
|
5018
5186
|
get triageIssueState(): LinearFetch<WorkflowState> | undefined;
|
5019
|
-
/** The automation states for the team. */
|
5020
|
-
automationStates(variables?: Omit<L.Team_AutomationStatesQueryVariables, "id">): LinearFetch<GitAutomationStateConnection>;
|
5021
5187
|
/** Cycles associated with the team. */
|
5022
5188
|
cycles(variables?: Omit<L.Team_CyclesQueryVariables, "id">): LinearFetch<CycleConnection>;
|
5189
|
+
/** The Git automation states for the team. */
|
5190
|
+
gitAutomationStates(variables?: Omit<L.Team_GitAutomationStatesQueryVariables, "id">): LinearFetch<GitAutomationStateConnection>;
|
5023
5191
|
/** Issues associated with the team. */
|
5024
5192
|
issues(variables?: Omit<L.Team_IssuesQueryVariables, "id">): LinearFetch<IssueConnection>;
|
5025
5193
|
/** Labels associated with the team. */
|
@@ -5087,7 +5255,7 @@ export declare class TeamMembership extends Request {
|
|
5087
5255
|
createdAt: Date;
|
5088
5256
|
/** The unique identifier of the entity. */
|
5089
5257
|
id: string;
|
5090
|
-
/** Whether the user is the owner of the team */
|
5258
|
+
/** Whether the user is the owner of the team. */
|
5091
5259
|
owner?: boolean;
|
5092
5260
|
/** The order of the item in the users team list. */
|
5093
5261
|
sortOrder: number;
|
@@ -5149,7 +5317,7 @@ export declare class TeamNotificationSubscription extends Request {
|
|
5149
5317
|
private _team;
|
5150
5318
|
private _user?;
|
5151
5319
|
constructor(request: LinearRequest, data: L.TeamNotificationSubscriptionFragment);
|
5152
|
-
/** Whether the subscription is active or not */
|
5320
|
+
/** Whether the subscription is active or not. */
|
5153
5321
|
active: boolean;
|
5154
5322
|
/** The time at which the entity was archived. Null if the entity has not been archived. */
|
5155
5323
|
archivedAt?: Date;
|
@@ -5197,13 +5365,17 @@ export declare class TeamPayload extends Request {
|
|
5197
5365
|
get team(): LinearFetch<Team> | undefined;
|
5198
5366
|
}
|
5199
5367
|
/**
|
5200
|
-
*
|
5368
|
+
* Mapping of Linear teams to GitHub repos.
|
5201
5369
|
*
|
5202
5370
|
* @param request - function to call the graphql client
|
5203
5371
|
* @param data - L.TeamRepoMappingFragment response data
|
5204
5372
|
*/
|
5205
5373
|
export declare class TeamRepoMapping extends Request {
|
5206
5374
|
constructor(request: LinearRequest, data: L.TeamRepoMappingFragment);
|
5375
|
+
/** Whether the sync for this mapping is bidirectional. */
|
5376
|
+
bidirectional?: boolean;
|
5377
|
+
/** Whether this mapping is the default one for issue creation. */
|
5378
|
+
default?: boolean;
|
5207
5379
|
/** The GitHub repo id. */
|
5208
5380
|
gitHubRepoId: number;
|
5209
5381
|
/** The Linear team id to map to the given project. */
|
@@ -5281,6 +5453,82 @@ export declare class TemplatePayload extends Request {
|
|
5281
5453
|
/** The template that was created or updated. */
|
5282
5454
|
get template(): LinearFetch<Template> | undefined;
|
5283
5455
|
}
|
5456
|
+
/**
|
5457
|
+
* A time schedule.
|
5458
|
+
*
|
5459
|
+
* @param request - function to call the graphql client
|
5460
|
+
* @param data - L.TimeScheduleFragment response data
|
5461
|
+
*/
|
5462
|
+
export declare class TimeSchedule extends Request {
|
5463
|
+
private _integration?;
|
5464
|
+
constructor(request: LinearRequest, data: L.TimeScheduleFragment);
|
5465
|
+
/** The time at which the entity was archived. Null if the entity has not been archived. */
|
5466
|
+
archivedAt?: Date;
|
5467
|
+
/** The time at which the entity was created. */
|
5468
|
+
createdAt: Date;
|
5469
|
+
/** User presentable error message, if an error occurred while updating the schedule. */
|
5470
|
+
error?: string;
|
5471
|
+
/** The identifier of the external schedule. */
|
5472
|
+
externalId?: string;
|
5473
|
+
/** The URL to the external schedule. */
|
5474
|
+
externalUrl?: string;
|
5475
|
+
/** The unique identifier of the entity. */
|
5476
|
+
id: string;
|
5477
|
+
/** The name of the schedule. */
|
5478
|
+
name: string;
|
5479
|
+
/**
|
5480
|
+
* The last time at which the entity was meaningfully updated, i.e. for all changes of syncable properties except those
|
5481
|
+
* 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
|
5482
|
+
* been updated after creation.
|
5483
|
+
*/
|
5484
|
+
updatedAt: Date;
|
5485
|
+
/** The schedule entries. */
|
5486
|
+
entries: TimeScheduleEntry[];
|
5487
|
+
/** The identifier of the Linear integration populating the schedule. */
|
5488
|
+
get integration(): LinearFetch<Integration> | undefined;
|
5489
|
+
/** The organization of the schedule. */
|
5490
|
+
get organization(): LinearFetch<Organization>;
|
5491
|
+
}
|
5492
|
+
/**
|
5493
|
+
* TimeScheduleConnection model
|
5494
|
+
*
|
5495
|
+
* @param request - function to call the graphql client
|
5496
|
+
* @param fetch - function to trigger a refetch of this TimeScheduleConnection model
|
5497
|
+
* @param data - TimeScheduleConnection response data
|
5498
|
+
*/
|
5499
|
+
export declare class TimeScheduleConnection extends Connection<TimeSchedule> {
|
5500
|
+
constructor(request: LinearRequest, fetch: (connection?: LinearConnectionVariables) => LinearFetch<LinearConnection<TimeSchedule> | undefined>, data: L.TimeScheduleConnectionFragment);
|
5501
|
+
}
|
5502
|
+
/**
|
5503
|
+
* TimeScheduleEntry model
|
5504
|
+
*
|
5505
|
+
* @param request - function to call the graphql client
|
5506
|
+
* @param data - L.TimeScheduleEntryFragment response data
|
5507
|
+
*/
|
5508
|
+
export declare class TimeScheduleEntry extends Request {
|
5509
|
+
constructor(request: LinearRequest, data: L.TimeScheduleEntryFragment);
|
5510
|
+
/** The end date of the schedule in ISO 8601 date-time format. */
|
5511
|
+
endsAt: Date;
|
5512
|
+
/** The start date of the schedule in ISO 8601 date-time format. */
|
5513
|
+
startsAt: Date;
|
5514
|
+
/** The email of the user on schedule. This is used in case the external user could not be mapped to a Linear user id. */
|
5515
|
+
userEmail?: string;
|
5516
|
+
/** The Linear user id of the user on schedule. If the user cannot be mapped to a Linear user then `userEmail` can be used as a reference. */
|
5517
|
+
userId?: string;
|
5518
|
+
}
|
5519
|
+
/**
|
5520
|
+
* TimeSchedulePayload model
|
5521
|
+
*
|
5522
|
+
* @param request - function to call the graphql client
|
5523
|
+
* @param data - L.TimeSchedulePayloadFragment response data
|
5524
|
+
*/
|
5525
|
+
export declare class TimeSchedulePayload extends Request {
|
5526
|
+
constructor(request: LinearRequest, data: L.TimeSchedulePayloadFragment);
|
5527
|
+
/** The identifier of the last sync operation. */
|
5528
|
+
lastSyncId: number;
|
5529
|
+
/** Whether the operation was successful. */
|
5530
|
+
success: boolean;
|
5531
|
+
}
|
5284
5532
|
/**
|
5285
5533
|
* A team's triage responsibility.
|
5286
5534
|
*
|
@@ -5330,7 +5578,7 @@ export declare class TriageResponsibilityConnection extends Connection<TriageRes
|
|
5330
5578
|
*/
|
5331
5579
|
export declare class UploadFile extends Request {
|
5332
5580
|
constructor(request: LinearRequest, data: L.UploadFileFragment);
|
5333
|
-
/** The asset URL for the uploaded file. (assigned automatically) */
|
5581
|
+
/** The asset URL for the uploaded file. (assigned automatically). */
|
5334
5582
|
assetUrl: string;
|
5335
5583
|
/** The content type. */
|
5336
5584
|
contentType: string;
|
@@ -5339,7 +5587,7 @@ export declare class UploadFile extends Request {
|
|
5339
5587
|
metaData?: L.Scalars["JSONObject"];
|
5340
5588
|
/** The size of the uploaded file. */
|
5341
5589
|
size: number;
|
5342
|
-
/** The signed URL the for the uploaded file. (assigned automatically) */
|
5590
|
+
/** The signed URL the for the uploaded file. (assigned automatically). */
|
5343
5591
|
uploadUrl: string;
|
5344
5592
|
headers: UploadFileHeader[];
|
5345
5593
|
}
|
@@ -5456,6 +5704,8 @@ export declare class UserAccount extends Request {
|
|
5456
5704
|
constructor(request: LinearRequest, data: L.UserAccountFragment);
|
5457
5705
|
/** The time at which the model was archived. */
|
5458
5706
|
archivedAt?: Date;
|
5707
|
+
/** Whether not to send email auth links in the email auth emails. */
|
5708
|
+
authTokenLinkDisabled: boolean;
|
5459
5709
|
/** The time at which the model was created. */
|
5460
5710
|
createdAt: Date;
|
5461
5711
|
/** The user's email address. */
|
@@ -5488,7 +5738,7 @@ export declare class UserAdminPayload extends Request {
|
|
5488
5738
|
*/
|
5489
5739
|
export declare class UserAuthorizedApplication extends Request {
|
5490
5740
|
constructor(request: LinearRequest, data: L.UserAuthorizedApplicationFragment);
|
5491
|
-
/** Error associated with the application needing to be requested for approval in the workspace */
|
5741
|
+
/** Error associated with the application needing to be requested for approval in the workspace. */
|
5492
5742
|
approvalErrorCode?: string;
|
5493
5743
|
/** OAuth application's client ID. */
|
5494
5744
|
clientId: string;
|
@@ -5536,7 +5786,7 @@ export declare class UserNotificationSubscription extends Request {
|
|
5536
5786
|
private _team?;
|
5537
5787
|
private _user;
|
5538
5788
|
constructor(request: LinearRequest, data: L.UserNotificationSubscriptionFragment);
|
5539
|
-
/** Whether the subscription is active or not */
|
5789
|
+
/** Whether the subscription is active or not. */
|
5540
5790
|
active: boolean;
|
5541
5791
|
/** The time at which the entity was archived. Null if the entity has not been archived. */
|
5542
5792
|
archivedAt?: Date;
|
@@ -5709,7 +5959,7 @@ export declare class ViewPreferencesPayload extends Request {
|
|
5709
5959
|
viewPreferences: ViewPreferences;
|
5710
5960
|
}
|
5711
5961
|
/**
|
5712
|
-
* A webhook used to send HTTP notifications over data updates
|
5962
|
+
* A webhook used to send HTTP notifications over data updates.
|
5713
5963
|
*
|
5714
5964
|
* @param request - function to call the graphql client
|
5715
5965
|
* @param data - L.WebhookFragment response data
|
@@ -5728,7 +5978,7 @@ export declare class Webhook extends Request {
|
|
5728
5978
|
enabled: boolean;
|
5729
5979
|
/** The unique identifier of the entity. */
|
5730
5980
|
id: string;
|
5731
|
-
/** Webhook label */
|
5981
|
+
/** Webhook label. */
|
5732
5982
|
label?: string;
|
5733
5983
|
/** The resource types this webhook is subscribed to. */
|
5734
5984
|
resourceTypes: string[];
|
@@ -5740,7 +5990,7 @@ export declare class Webhook extends Request {
|
|
5740
5990
|
* been updated after creation.
|
5741
5991
|
*/
|
5742
5992
|
updatedAt: Date;
|
5743
|
-
/** Webhook URL */
|
5993
|
+
/** Webhook URL. */
|
5744
5994
|
url?: string;
|
5745
5995
|
/** The user who created the webhook. */
|
5746
5996
|
get creator(): LinearFetch<User> | undefined;
|
@@ -6191,10 +6441,10 @@ export declare class CommentQuery extends Request {
|
|
6191
6441
|
/**
|
6192
6442
|
* Call the Comment query and return a Comment
|
6193
6443
|
*
|
6194
|
-
* @param
|
6444
|
+
* @param variables - variables to pass into the CommentQuery
|
6195
6445
|
* @returns parsed response from CommentQuery
|
6196
6446
|
*/
|
6197
|
-
fetch(
|
6447
|
+
fetch(variables?: L.CommentQueryVariables): LinearFetch<Comment>;
|
6198
6448
|
}
|
6199
6449
|
/**
|
6200
6450
|
* A fetchable Comments Query
|
@@ -6361,6 +6611,36 @@ export declare class EmojisQuery extends Request {
|
|
6361
6611
|
*/
|
6362
6612
|
fetch(variables?: L.EmojisQueryVariables): LinearFetch<EmojiConnection>;
|
6363
6613
|
}
|
6614
|
+
/**
|
6615
|
+
* A fetchable ExternalUser Query
|
6616
|
+
*
|
6617
|
+
* @param request - function to call the graphql client
|
6618
|
+
*/
|
6619
|
+
export declare class ExternalUserQuery extends Request {
|
6620
|
+
constructor(request: LinearRequest);
|
6621
|
+
/**
|
6622
|
+
* Call the ExternalUser query and return a ExternalUser
|
6623
|
+
*
|
6624
|
+
* @param id - required id to pass to externalUser
|
6625
|
+
* @returns parsed response from ExternalUserQuery
|
6626
|
+
*/
|
6627
|
+
fetch(id: string): LinearFetch<ExternalUser>;
|
6628
|
+
}
|
6629
|
+
/**
|
6630
|
+
* A fetchable ExternalUsers Query
|
6631
|
+
*
|
6632
|
+
* @param request - function to call the graphql client
|
6633
|
+
*/
|
6634
|
+
export declare class ExternalUsersQuery extends Request {
|
6635
|
+
constructor(request: LinearRequest);
|
6636
|
+
/**
|
6637
|
+
* Call the ExternalUsers query and return a ExternalUserConnection
|
6638
|
+
*
|
6639
|
+
* @param variables - variables to pass into the ExternalUsersQuery
|
6640
|
+
* @returns parsed response from ExternalUsersQuery
|
6641
|
+
*/
|
6642
|
+
fetch(variables?: L.ExternalUsersQueryVariables): LinearFetch<ExternalUserConnection>;
|
6643
|
+
}
|
6364
6644
|
/**
|
6365
6645
|
* A fetchable Favorite Query
|
6366
6646
|
*
|
@@ -6406,6 +6686,22 @@ export declare class IntegrationQuery extends Request {
|
|
6406
6686
|
*/
|
6407
6687
|
fetch(id: string): LinearFetch<Integration>;
|
6408
6688
|
}
|
6689
|
+
/**
|
6690
|
+
* A fetchable IntegrationHasScopes Query
|
6691
|
+
*
|
6692
|
+
* @param request - function to call the graphql client
|
6693
|
+
*/
|
6694
|
+
export declare class IntegrationHasScopesQuery extends Request {
|
6695
|
+
constructor(request: LinearRequest);
|
6696
|
+
/**
|
6697
|
+
* Call the IntegrationHasScopes query and return a IntegrationHasScopesPayload
|
6698
|
+
*
|
6699
|
+
* @param integrationId - required integrationId to pass to integrationHasScopes
|
6700
|
+
* @param scopes - required scopes to pass to integrationHasScopes
|
6701
|
+
* @returns parsed response from IntegrationHasScopesQuery
|
6702
|
+
*/
|
6703
|
+
fetch(integrationId: string, scopes: string[]): LinearFetch<IntegrationHasScopesPayload>;
|
6704
|
+
}
|
6409
6705
|
/**
|
6410
6706
|
* A fetchable IntegrationTemplate Query
|
6411
6707
|
*
|
@@ -7909,6 +8205,67 @@ export declare class UpdateDocumentMutation extends Request {
|
|
7909
8205
|
*/
|
7910
8206
|
fetch(id: string, input: L.DocumentUpdateInput): LinearFetch<DocumentPayload>;
|
7911
8207
|
}
|
8208
|
+
/**
|
8209
|
+
* A fetchable CreateEmailIntakeAddress Mutation
|
8210
|
+
*
|
8211
|
+
* @param request - function to call the graphql client
|
8212
|
+
*/
|
8213
|
+
export declare class CreateEmailIntakeAddressMutation extends Request {
|
8214
|
+
constructor(request: LinearRequest);
|
8215
|
+
/**
|
8216
|
+
* Call the CreateEmailIntakeAddress mutation and return a EmailIntakeAddressPayload
|
8217
|
+
*
|
8218
|
+
* @param input - required input to pass to createEmailIntakeAddress
|
8219
|
+
* @returns parsed response from CreateEmailIntakeAddressMutation
|
8220
|
+
*/
|
8221
|
+
fetch(input: L.EmailIntakeAddressCreateInput): LinearFetch<EmailIntakeAddressPayload>;
|
8222
|
+
}
|
8223
|
+
/**
|
8224
|
+
* A fetchable DeleteEmailIntakeAddress Mutation
|
8225
|
+
*
|
8226
|
+
* @param request - function to call the graphql client
|
8227
|
+
*/
|
8228
|
+
export declare class DeleteEmailIntakeAddressMutation extends Request {
|
8229
|
+
constructor(request: LinearRequest);
|
8230
|
+
/**
|
8231
|
+
* Call the DeleteEmailIntakeAddress mutation and return a DeletePayload
|
8232
|
+
*
|
8233
|
+
* @param id - required id to pass to deleteEmailIntakeAddress
|
8234
|
+
* @returns parsed response from DeleteEmailIntakeAddressMutation
|
8235
|
+
*/
|
8236
|
+
fetch(id: string): LinearFetch<DeletePayload>;
|
8237
|
+
}
|
8238
|
+
/**
|
8239
|
+
* A fetchable EmailIntakeAddressRotate Mutation
|
8240
|
+
*
|
8241
|
+
* @param request - function to call the graphql client
|
8242
|
+
*/
|
8243
|
+
export declare class EmailIntakeAddressRotateMutation extends Request {
|
8244
|
+
constructor(request: LinearRequest);
|
8245
|
+
/**
|
8246
|
+
* Call the EmailIntakeAddressRotate mutation and return a EmailIntakeAddressPayload
|
8247
|
+
*
|
8248
|
+
* @param id - required id to pass to emailIntakeAddressRotate
|
8249
|
+
* @returns parsed response from EmailIntakeAddressRotateMutation
|
8250
|
+
*/
|
8251
|
+
fetch(id: string): LinearFetch<EmailIntakeAddressPayload>;
|
8252
|
+
}
|
8253
|
+
/**
|
8254
|
+
* A fetchable UpdateEmailIntakeAddress Mutation
|
8255
|
+
*
|
8256
|
+
* @param request - function to call the graphql client
|
8257
|
+
*/
|
8258
|
+
export declare class UpdateEmailIntakeAddressMutation extends Request {
|
8259
|
+
constructor(request: LinearRequest);
|
8260
|
+
/**
|
8261
|
+
* Call the UpdateEmailIntakeAddress mutation and return a EmailIntakeAddressPayload
|
8262
|
+
*
|
8263
|
+
* @param id - required id to pass to updateEmailIntakeAddress
|
8264
|
+
* @param input - required input to pass to updateEmailIntakeAddress
|
8265
|
+
* @returns parsed response from UpdateEmailIntakeAddressMutation
|
8266
|
+
*/
|
8267
|
+
fetch(id: string, input: L.EmailIntakeAddressUpdateInput): LinearFetch<EmailIntakeAddressPayload>;
|
8268
|
+
}
|
7912
8269
|
/**
|
7913
8270
|
* A fetchable EmailTokenUserAccountAuth Mutation
|
7914
8271
|
*
|
@@ -8094,6 +8451,52 @@ export declare class UpdateGitAutomationStateMutation extends Request {
|
|
8094
8451
|
*/
|
8095
8452
|
fetch(id: string, input: L.GitAutomationStateUpdateInput): LinearFetch<GitAutomationStatePayload>;
|
8096
8453
|
}
|
8454
|
+
/**
|
8455
|
+
* A fetchable CreateGitAutomationTargetBranch Mutation
|
8456
|
+
*
|
8457
|
+
* @param request - function to call the graphql client
|
8458
|
+
*/
|
8459
|
+
export declare class CreateGitAutomationTargetBranchMutation extends Request {
|
8460
|
+
constructor(request: LinearRequest);
|
8461
|
+
/**
|
8462
|
+
* Call the CreateGitAutomationTargetBranch mutation and return a GitAutomationTargetBranchPayload
|
8463
|
+
*
|
8464
|
+
* @param input - required input to pass to createGitAutomationTargetBranch
|
8465
|
+
* @returns parsed response from CreateGitAutomationTargetBranchMutation
|
8466
|
+
*/
|
8467
|
+
fetch(input: L.GitAutomationTargetBranchCreateInput): LinearFetch<GitAutomationTargetBranchPayload>;
|
8468
|
+
}
|
8469
|
+
/**
|
8470
|
+
* A fetchable DeleteGitAutomationTargetBranch Mutation
|
8471
|
+
*
|
8472
|
+
* @param request - function to call the graphql client
|
8473
|
+
*/
|
8474
|
+
export declare class DeleteGitAutomationTargetBranchMutation extends Request {
|
8475
|
+
constructor(request: LinearRequest);
|
8476
|
+
/**
|
8477
|
+
* Call the DeleteGitAutomationTargetBranch mutation and return a DeletePayload
|
8478
|
+
*
|
8479
|
+
* @param id - required id to pass to deleteGitAutomationTargetBranch
|
8480
|
+
* @returns parsed response from DeleteGitAutomationTargetBranchMutation
|
8481
|
+
*/
|
8482
|
+
fetch(id: string): LinearFetch<DeletePayload>;
|
8483
|
+
}
|
8484
|
+
/**
|
8485
|
+
* A fetchable UpdateGitAutomationTargetBranch Mutation
|
8486
|
+
*
|
8487
|
+
* @param request - function to call the graphql client
|
8488
|
+
*/
|
8489
|
+
export declare class UpdateGitAutomationTargetBranchMutation extends Request {
|
8490
|
+
constructor(request: LinearRequest);
|
8491
|
+
/**
|
8492
|
+
* Call the UpdateGitAutomationTargetBranch mutation and return a GitAutomationTargetBranchPayload
|
8493
|
+
*
|
8494
|
+
* @param id - required id to pass to updateGitAutomationTargetBranch
|
8495
|
+
* @param input - required input to pass to updateGitAutomationTargetBranch
|
8496
|
+
* @returns parsed response from UpdateGitAutomationTargetBranchMutation
|
8497
|
+
*/
|
8498
|
+
fetch(id: string, input: L.GitAutomationTargetBranchUpdateInput): LinearFetch<GitAutomationTargetBranchPayload>;
|
8499
|
+
}
|
8097
8500
|
/**
|
8098
8501
|
* A fetchable GoogleUserAccountAuth Mutation
|
8099
8502
|
*
|
@@ -8142,6 +8545,21 @@ export declare class ImportFileUploadMutation extends Request {
|
|
8142
8545
|
*/
|
8143
8546
|
fetch(contentType: string, filename: string, size: number, variables?: Omit<L.ImportFileUploadMutationVariables, "contentType" | "filename" | "size">): LinearFetch<UploadPayload>;
|
8144
8547
|
}
|
8548
|
+
/**
|
8549
|
+
* A fetchable ArchiveIntegration Mutation
|
8550
|
+
*
|
8551
|
+
* @param request - function to call the graphql client
|
8552
|
+
*/
|
8553
|
+
export declare class ArchiveIntegrationMutation extends Request {
|
8554
|
+
constructor(request: LinearRequest);
|
8555
|
+
/**
|
8556
|
+
* Call the ArchiveIntegration mutation and return a DeletePayload
|
8557
|
+
*
|
8558
|
+
* @param id - required id to pass to archiveIntegration
|
8559
|
+
* @returns parsed response from ArchiveIntegrationMutation
|
8560
|
+
*/
|
8561
|
+
fetch(id: string): LinearFetch<DeletePayload>;
|
8562
|
+
}
|
8145
8563
|
/**
|
8146
8564
|
* A fetchable IntegrationAsksConnectChannel Mutation
|
8147
8565
|
*
|
@@ -10571,52 +10989,71 @@ export declare class AttachmentIssue_SubscribersQuery extends Request {
|
|
10571
10989
|
* A fetchable Comment_BotActor Query
|
10572
10990
|
*
|
10573
10991
|
* @param request - function to call the graphql client
|
10574
|
-
* @param
|
10992
|
+
* @param variables - variables to pass into the Comment_BotActorQuery
|
10575
10993
|
*/
|
10576
10994
|
export declare class Comment_BotActorQuery extends Request {
|
10577
|
-
private
|
10578
|
-
constructor(request: LinearRequest,
|
10995
|
+
private _variables?;
|
10996
|
+
constructor(request: LinearRequest, variables?: L.Comment_BotActorQueryVariables);
|
10579
10997
|
/**
|
10580
10998
|
* Call the Comment_BotActor query and return a ActorBot
|
10581
10999
|
*
|
11000
|
+
* @param variables - variables to pass into the Comment_BotActorQuery
|
10582
11001
|
* @returns parsed response from Comment_BotActorQuery
|
10583
11002
|
*/
|
10584
|
-
fetch(): LinearFetch<ActorBot | undefined>;
|
11003
|
+
fetch(variables?: L.Comment_BotActorQueryVariables): LinearFetch<ActorBot | undefined>;
|
10585
11004
|
}
|
10586
11005
|
/**
|
10587
11006
|
* A fetchable Comment_Children Query
|
10588
11007
|
*
|
10589
11008
|
* @param request - function to call the graphql client
|
10590
|
-
* @param
|
10591
|
-
* @param variables - variables without 'id' to pass into the Comment_ChildrenQuery
|
11009
|
+
* @param variables - variables to pass into the Comment_ChildrenQuery
|
10592
11010
|
*/
|
10593
11011
|
export declare class Comment_ChildrenQuery extends Request {
|
10594
|
-
private _id;
|
10595
11012
|
private _variables?;
|
10596
|
-
constructor(request: LinearRequest,
|
11013
|
+
constructor(request: LinearRequest, variables?: L.Comment_ChildrenQueryVariables);
|
10597
11014
|
/**
|
10598
11015
|
* Call the Comment_Children query and return a CommentConnection
|
10599
11016
|
*
|
10600
|
-
* @param variables - variables
|
11017
|
+
* @param variables - variables to pass into the Comment_ChildrenQuery
|
10601
11018
|
* @returns parsed response from Comment_ChildrenQuery
|
10602
11019
|
*/
|
10603
|
-
fetch(variables?:
|
11020
|
+
fetch(variables?: L.Comment_ChildrenQueryVariables): LinearFetch<CommentConnection>;
|
10604
11021
|
}
|
10605
11022
|
/**
|
10606
11023
|
* A fetchable Comment_DocumentContent Query
|
10607
11024
|
*
|
10608
11025
|
* @param request - function to call the graphql client
|
10609
|
-
* @param
|
11026
|
+
* @param variables - variables to pass into the Comment_DocumentContentQuery
|
10610
11027
|
*/
|
10611
11028
|
export declare class Comment_DocumentContentQuery extends Request {
|
10612
|
-
private
|
10613
|
-
constructor(request: LinearRequest,
|
11029
|
+
private _variables?;
|
11030
|
+
constructor(request: LinearRequest, variables?: L.Comment_DocumentContentQueryVariables);
|
10614
11031
|
/**
|
10615
11032
|
* Call the Comment_DocumentContent query and return a DocumentContent
|
10616
11033
|
*
|
11034
|
+
* @param variables - variables to pass into the Comment_DocumentContentQuery
|
10617
11035
|
* @returns parsed response from Comment_DocumentContentQuery
|
10618
11036
|
*/
|
10619
|
-
fetch(): LinearFetch<DocumentContent | undefined>;
|
11037
|
+
fetch(variables?: L.Comment_DocumentContentQueryVariables): LinearFetch<DocumentContent | undefined>;
|
11038
|
+
}
|
11039
|
+
/**
|
11040
|
+
* A fetchable CustomView_Issues Query
|
11041
|
+
*
|
11042
|
+
* @param request - function to call the graphql client
|
11043
|
+
* @param id - required id to pass to customView
|
11044
|
+
* @param variables - variables without 'id' to pass into the CustomView_IssuesQuery
|
11045
|
+
*/
|
11046
|
+
export declare class CustomView_IssuesQuery extends Request {
|
11047
|
+
private _id;
|
11048
|
+
private _variables?;
|
11049
|
+
constructor(request: LinearRequest, id: string, variables?: Omit<L.CustomView_IssuesQueryVariables, "id">);
|
11050
|
+
/**
|
11051
|
+
* Call the CustomView_Issues query and return a IssueConnection
|
11052
|
+
*
|
11053
|
+
* @param variables - variables without 'id' to pass into the CustomView_IssuesQuery
|
11054
|
+
* @returns parsed response from CustomView_IssuesQuery
|
11055
|
+
*/
|
11056
|
+
fetch(variables?: Omit<L.CustomView_IssuesQueryVariables, "id">): LinearFetch<IssueConnection>;
|
10620
11057
|
}
|
10621
11058
|
/**
|
10622
11059
|
* A fetchable Cycle_Issues Query
|
@@ -11281,6 +11718,25 @@ export declare class Project_TeamsQuery extends Request {
|
|
11281
11718
|
*/
|
11282
11719
|
fetch(variables?: Omit<L.Project_TeamsQueryVariables, "id">): LinearFetch<TeamConnection>;
|
11283
11720
|
}
|
11721
|
+
/**
|
11722
|
+
* A fetchable ProjectMilestone_Issues Query
|
11723
|
+
*
|
11724
|
+
* @param request - function to call the graphql client
|
11725
|
+
* @param id - required id to pass to projectMilestone
|
11726
|
+
* @param variables - variables without 'id' to pass into the ProjectMilestone_IssuesQuery
|
11727
|
+
*/
|
11728
|
+
export declare class ProjectMilestone_IssuesQuery extends Request {
|
11729
|
+
private _id;
|
11730
|
+
private _variables?;
|
11731
|
+
constructor(request: LinearRequest, id: string, variables?: Omit<L.ProjectMilestone_IssuesQueryVariables, "id">);
|
11732
|
+
/**
|
11733
|
+
* Call the ProjectMilestone_Issues query and return a IssueConnection
|
11734
|
+
*
|
11735
|
+
* @param variables - variables without 'id' to pass into the ProjectMilestone_IssuesQuery
|
11736
|
+
* @returns parsed response from ProjectMilestone_IssuesQuery
|
11737
|
+
*/
|
11738
|
+
fetch(variables?: Omit<L.ProjectMilestone_IssuesQueryVariables, "id">): LinearFetch<IssueConnection>;
|
11739
|
+
}
|
11284
11740
|
/**
|
11285
11741
|
* A fetchable Roadmap_Projects Query
|
11286
11742
|
*
|
@@ -11358,42 +11814,42 @@ export declare class SearchProjects_ArchivePayloadQuery extends Request {
|
|
11358
11814
|
fetch(variables?: Omit<L.SearchProjects_ArchivePayloadQueryVariables, "term">): LinearFetch<ArchiveResponse>;
|
11359
11815
|
}
|
11360
11816
|
/**
|
11361
|
-
* A fetchable
|
11817
|
+
* A fetchable Team_Cycles Query
|
11362
11818
|
*
|
11363
11819
|
* @param request - function to call the graphql client
|
11364
11820
|
* @param id - required id to pass to team
|
11365
|
-
* @param variables - variables without 'id' to pass into the
|
11821
|
+
* @param variables - variables without 'id' to pass into the Team_CyclesQuery
|
11366
11822
|
*/
|
11367
|
-
export declare class
|
11823
|
+
export declare class Team_CyclesQuery extends Request {
|
11368
11824
|
private _id;
|
11369
11825
|
private _variables?;
|
11370
|
-
constructor(request: LinearRequest, id: string, variables?: Omit<L.
|
11826
|
+
constructor(request: LinearRequest, id: string, variables?: Omit<L.Team_CyclesQueryVariables, "id">);
|
11371
11827
|
/**
|
11372
|
-
* Call the
|
11828
|
+
* Call the Team_Cycles query and return a CycleConnection
|
11373
11829
|
*
|
11374
|
-
* @param variables - variables without 'id' to pass into the
|
11375
|
-
* @returns parsed response from
|
11830
|
+
* @param variables - variables without 'id' to pass into the Team_CyclesQuery
|
11831
|
+
* @returns parsed response from Team_CyclesQuery
|
11376
11832
|
*/
|
11377
|
-
fetch(variables?: Omit<L.
|
11833
|
+
fetch(variables?: Omit<L.Team_CyclesQueryVariables, "id">): LinearFetch<CycleConnection>;
|
11378
11834
|
}
|
11379
11835
|
/**
|
11380
|
-
* A fetchable
|
11836
|
+
* A fetchable Team_GitAutomationStates Query
|
11381
11837
|
*
|
11382
11838
|
* @param request - function to call the graphql client
|
11383
11839
|
* @param id - required id to pass to team
|
11384
|
-
* @param variables - variables without 'id' to pass into the
|
11840
|
+
* @param variables - variables without 'id' to pass into the Team_GitAutomationStatesQuery
|
11385
11841
|
*/
|
11386
|
-
export declare class
|
11842
|
+
export declare class Team_GitAutomationStatesQuery extends Request {
|
11387
11843
|
private _id;
|
11388
11844
|
private _variables?;
|
11389
|
-
constructor(request: LinearRequest, id: string, variables?: Omit<L.
|
11845
|
+
constructor(request: LinearRequest, id: string, variables?: Omit<L.Team_GitAutomationStatesQueryVariables, "id">);
|
11390
11846
|
/**
|
11391
|
-
* Call the
|
11847
|
+
* Call the Team_GitAutomationStates query and return a GitAutomationStateConnection
|
11392
11848
|
*
|
11393
|
-
* @param variables - variables without 'id' to pass into the
|
11394
|
-
* @returns parsed response from
|
11849
|
+
* @param variables - variables without 'id' to pass into the Team_GitAutomationStatesQuery
|
11850
|
+
* @returns parsed response from Team_GitAutomationStatesQuery
|
11395
11851
|
*/
|
11396
|
-
fetch(variables?: Omit<L.
|
11852
|
+
fetch(variables?: Omit<L.Team_GitAutomationStatesQueryVariables, "id">): LinearFetch<GitAutomationStateConnection>;
|
11397
11853
|
}
|
11398
11854
|
/**
|
11399
11855
|
* A fetchable Team_Issues Query
|
@@ -11807,10 +12263,10 @@ export declare class LinearSdk extends Request {
|
|
11807
12263
|
/**
|
11808
12264
|
* A specific comment.
|
11809
12265
|
*
|
11810
|
-
* @param
|
12266
|
+
* @param variables - variables to pass into the CommentQuery
|
11811
12267
|
* @returns Comment
|
11812
12268
|
*/
|
11813
|
-
comment(
|
12269
|
+
comment(variables?: L.CommentQueryVariables): LinearFetch<Comment>;
|
11814
12270
|
/**
|
11815
12271
|
* All comments.
|
11816
12272
|
*
|
@@ -11888,6 +12344,20 @@ export declare class LinearSdk extends Request {
|
|
11888
12344
|
* @returns EmojiConnection
|
11889
12345
|
*/
|
11890
12346
|
emojis(variables?: L.EmojisQueryVariables): LinearFetch<EmojiConnection>;
|
12347
|
+
/**
|
12348
|
+
* One specific external user.
|
12349
|
+
*
|
12350
|
+
* @param id - required id to pass to externalUser
|
12351
|
+
* @returns ExternalUser
|
12352
|
+
*/
|
12353
|
+
externalUser(id: string): LinearFetch<ExternalUser>;
|
12354
|
+
/**
|
12355
|
+
* All external users for the organization.
|
12356
|
+
*
|
12357
|
+
* @param variables - variables to pass into the ExternalUsersQuery
|
12358
|
+
* @returns ExternalUserConnection
|
12359
|
+
*/
|
12360
|
+
externalUsers(variables?: L.ExternalUsersQueryVariables): LinearFetch<ExternalUserConnection>;
|
11891
12361
|
/**
|
11892
12362
|
* One specific favorite.
|
11893
12363
|
*
|
@@ -11909,6 +12379,14 @@ export declare class LinearSdk extends Request {
|
|
11909
12379
|
* @returns Integration
|
11910
12380
|
*/
|
11911
12381
|
integration(id: string): LinearFetch<Integration>;
|
12382
|
+
/**
|
12383
|
+
* Checks if the integration has all required scopes.
|
12384
|
+
*
|
12385
|
+
* @param integrationId - required integrationId to pass to integrationHasScopes
|
12386
|
+
* @param scopes - required scopes to pass to integrationHasScopes
|
12387
|
+
* @returns IntegrationHasScopesPayload
|
12388
|
+
*/
|
12389
|
+
integrationHasScopes(integrationId: string, scopes: string[]): LinearFetch<IntegrationHasScopesPayload>;
|
11912
12390
|
/**
|
11913
12391
|
* One specific integrationTemplate.
|
11914
12392
|
*
|
@@ -12337,7 +12815,7 @@ export declare class LinearSdk extends Request {
|
|
12337
12815
|
*/
|
12338
12816
|
workflowStates(variables?: L.WorkflowStatesQueryVariables): LinearFetch<WorkflowStateConnection>;
|
12339
12817
|
/**
|
12340
|
-
* Creates an integration api key for Airbyte to connect with Linear
|
12818
|
+
* Creates an integration api key for Airbyte to connect with Linear.
|
12341
12819
|
*
|
12342
12820
|
* @param input - required input to pass to airbyteIntegrationConnect
|
12343
12821
|
* @returns IntegrationPayload
|
@@ -12592,7 +13070,7 @@ export declare class LinearSdk extends Request {
|
|
12592
13070
|
*/
|
12593
13071
|
createCycle(input: L.CycleCreateInput): LinearFetch<CyclePayload>;
|
12594
13072
|
/**
|
12595
|
-
* Shifts all cycles starts by a certain number of weeks.
|
13073
|
+
* [DEPRECATED] Shifts all cycles starts by a certain number of weeks.
|
12596
13074
|
*
|
12597
13075
|
* @param input - required input to pass to cycleShiftAll
|
12598
13076
|
* @returns CyclePayload
|
@@ -12628,6 +13106,35 @@ export declare class LinearSdk extends Request {
|
|
12628
13106
|
* @returns DocumentPayload
|
12629
13107
|
*/
|
12630
13108
|
updateDocument(id: string, input: L.DocumentUpdateInput): LinearFetch<DocumentPayload>;
|
13109
|
+
/**
|
13110
|
+
* Creates a new email intake address.
|
13111
|
+
*
|
13112
|
+
* @param input - required input to pass to createEmailIntakeAddress
|
13113
|
+
* @returns EmailIntakeAddressPayload
|
13114
|
+
*/
|
13115
|
+
createEmailIntakeAddress(input: L.EmailIntakeAddressCreateInput): LinearFetch<EmailIntakeAddressPayload>;
|
13116
|
+
/**
|
13117
|
+
* Deletes an email intake address object.
|
13118
|
+
*
|
13119
|
+
* @param id - required id to pass to deleteEmailIntakeAddress
|
13120
|
+
* @returns DeletePayload
|
13121
|
+
*/
|
13122
|
+
deleteEmailIntakeAddress(id: string): LinearFetch<DeletePayload>;
|
13123
|
+
/**
|
13124
|
+
* Rotates an existing email intake address.
|
13125
|
+
*
|
13126
|
+
* @param id - required id to pass to emailIntakeAddressRotate
|
13127
|
+
* @returns EmailIntakeAddressPayload
|
13128
|
+
*/
|
13129
|
+
emailIntakeAddressRotate(id: string): LinearFetch<EmailIntakeAddressPayload>;
|
13130
|
+
/**
|
13131
|
+
* Updates an existing email intake address.
|
13132
|
+
*
|
13133
|
+
* @param id - required id to pass to updateEmailIntakeAddress
|
13134
|
+
* @param input - required input to pass to updateEmailIntakeAddress
|
13135
|
+
* @returns EmailIntakeAddressPayload
|
13136
|
+
*/
|
13137
|
+
updateEmailIntakeAddress(id: string, input: L.EmailIntakeAddressUpdateInput): LinearFetch<EmailIntakeAddressPayload>;
|
12631
13138
|
/**
|
12632
13139
|
* Authenticates a user account via email and authentication token.
|
12633
13140
|
*
|
@@ -12717,6 +13224,28 @@ export declare class LinearSdk extends Request {
|
|
12717
13224
|
* @returns GitAutomationStatePayload
|
12718
13225
|
*/
|
12719
13226
|
updateGitAutomationState(id: string, input: L.GitAutomationStateUpdateInput): LinearFetch<GitAutomationStatePayload>;
|
13227
|
+
/**
|
13228
|
+
* Creates a Git target branch automation.
|
13229
|
+
*
|
13230
|
+
* @param input - required input to pass to createGitAutomationTargetBranch
|
13231
|
+
* @returns GitAutomationTargetBranchPayload
|
13232
|
+
*/
|
13233
|
+
createGitAutomationTargetBranch(input: L.GitAutomationTargetBranchCreateInput): LinearFetch<GitAutomationTargetBranchPayload>;
|
13234
|
+
/**
|
13235
|
+
* Archives a Git target branch automation.
|
13236
|
+
*
|
13237
|
+
* @param id - required id to pass to deleteGitAutomationTargetBranch
|
13238
|
+
* @returns DeletePayload
|
13239
|
+
*/
|
13240
|
+
deleteGitAutomationTargetBranch(id: string): LinearFetch<DeletePayload>;
|
13241
|
+
/**
|
13242
|
+
* Updates an existing Git target branch automation.
|
13243
|
+
*
|
13244
|
+
* @param id - required id to pass to updateGitAutomationTargetBranch
|
13245
|
+
* @param input - required input to pass to updateGitAutomationTargetBranch
|
13246
|
+
* @returns GitAutomationTargetBranchPayload
|
13247
|
+
*/
|
13248
|
+
updateGitAutomationTargetBranch(id: string, input: L.GitAutomationTargetBranchUpdateInput): LinearFetch<GitAutomationTargetBranchPayload>;
|
12720
13249
|
/**
|
12721
13250
|
* Authenticate user account through Google OAuth. This is the 2nd step of OAuth flow.
|
12722
13251
|
*
|
@@ -12741,6 +13270,13 @@ export declare class LinearSdk extends Request {
|
|
12741
13270
|
* @returns UploadPayload
|
12742
13271
|
*/
|
12743
13272
|
importFileUpload(contentType: string, filename: string, size: number, variables?: Omit<L.ImportFileUploadMutationVariables, "contentType" | "filename" | "size">): LinearFetch<UploadPayload>;
|
13273
|
+
/**
|
13274
|
+
* Archives an integration.
|
13275
|
+
*
|
13276
|
+
* @param id - required id to pass to archiveIntegration
|
13277
|
+
* @returns DeletePayload
|
13278
|
+
*/
|
13279
|
+
archiveIntegration(id: string): LinearFetch<DeletePayload>;
|
12744
13280
|
/**
|
12745
13281
|
* Connect a Slack channel to Asks.
|
12746
13282
|
*
|
@@ -12876,7 +13412,7 @@ export declare class LinearSdk extends Request {
|
|
12876
13412
|
*/
|
12877
13413
|
integrationSlack(code: string, redirectUri: string, variables?: Omit<L.IntegrationSlackMutationVariables, "code" | "redirectUri">): LinearFetch<IntegrationPayload>;
|
12878
13414
|
/**
|
12879
|
-
* Integrates the organization with the Slack Asks app
|
13415
|
+
* Integrates the organization with the Slack Asks app.
|
12880
13416
|
*
|
12881
13417
|
* @param code - required code to pass to integrationSlackAsks
|
12882
13418
|
* @param redirectUri - required redirectUri to pass to integrationSlackAsks
|