@linear/sdk 19.2.0 → 20.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 +858 -73
- package/dist/_generated_documents.d.ts.map +1 -1
- package/dist/_generated_sdk.d.ts +652 -13
- package/dist/_generated_sdk.d.ts.map +1 -1
- package/dist/index-cjs.js +2439 -351
- 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 +2414 -352
- 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 +2440 -352
- 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
@@ -551,6 +551,8 @@ export declare class AuthOrganization extends Request {
|
|
551
551
|
/** The organization's unique URL key. */
|
552
552
|
urlKey: string;
|
553
553
|
userCount: number;
|
554
|
+
/** The feature release channel the organization belongs to. */
|
555
|
+
releaseChannel: L.ReleaseChannel;
|
554
556
|
}
|
555
557
|
/**
|
556
558
|
* AuthOrganizationDomain model
|
@@ -566,6 +568,20 @@ export declare class AuthOrganizationDomain extends Request {
|
|
566
568
|
name: string;
|
567
569
|
organizationId: string;
|
568
570
|
verified: boolean;
|
571
|
+
authType: L.OrganizationDomainAuthType;
|
572
|
+
}
|
573
|
+
/**
|
574
|
+
* AuthOrganizationExistsPayload model
|
575
|
+
*
|
576
|
+
* @param request - function to call the graphql client
|
577
|
+
* @param data - L.AuthOrganizationExistsPayloadFragment response data
|
578
|
+
*/
|
579
|
+
export declare class AuthOrganizationExistsPayload extends Request {
|
580
|
+
constructor(request: LinearRequest, data: L.AuthOrganizationExistsPayloadFragment);
|
581
|
+
/** Whether the organization exists. */
|
582
|
+
exists: boolean;
|
583
|
+
/** Whether the operation was successful. */
|
584
|
+
success: boolean;
|
569
585
|
}
|
570
586
|
/**
|
571
587
|
* An invitation to the organization that has been sent via email.
|
@@ -580,6 +596,19 @@ export declare class AuthOrganizationInvite extends Request {
|
|
580
596
|
/** The unique identifier of the entity. */
|
581
597
|
id: string;
|
582
598
|
}
|
599
|
+
/**
|
600
|
+
* AuthOrganizationPayload model
|
601
|
+
*
|
602
|
+
* @param request - function to call the graphql client
|
603
|
+
* @param data - L.AuthOrganizationPayloadFragment response data
|
604
|
+
*/
|
605
|
+
export declare class AuthOrganizationPayload extends Request {
|
606
|
+
constructor(request: LinearRequest, data: L.AuthOrganizationPayloadFragment);
|
607
|
+
/** Whether the operation was successful. */
|
608
|
+
success: boolean;
|
609
|
+
/** The auth organization that was updated. */
|
610
|
+
authOrganization: AuthOrganization;
|
611
|
+
}
|
583
612
|
/**
|
584
613
|
* AuthResolverResponse model
|
585
614
|
*
|
@@ -669,6 +698,8 @@ export declare class AuthenticationSession extends Request {
|
|
669
698
|
locationCountry?: string;
|
670
699
|
/** Location country code. */
|
671
700
|
locationCountryCode?: string;
|
701
|
+
/** Location region code. */
|
702
|
+
locationRegionCode?: string;
|
672
703
|
/** Name of the session, derived from the client and operating system */
|
673
704
|
name: string;
|
674
705
|
/** Operating system used for the session */
|
@@ -677,6 +708,8 @@ export declare class AuthenticationSession extends Request {
|
|
677
708
|
updatedAt: Date;
|
678
709
|
/** Session's user-agent. */
|
679
710
|
userAgent?: string;
|
711
|
+
/** Type of application used to authenticate. */
|
712
|
+
type: L.AuthenticationSessionType;
|
680
713
|
}
|
681
714
|
/**
|
682
715
|
* Authentication session information.
|
@@ -709,6 +742,8 @@ export declare class AuthenticationSessionResponse extends Request {
|
|
709
742
|
locationCountry?: string;
|
710
743
|
/** Location country code. */
|
711
744
|
locationCountryCode?: string;
|
745
|
+
/** Location region code. */
|
746
|
+
locationRegionCode?: string;
|
712
747
|
/** Name of the session, derived from the client and operating system */
|
713
748
|
name: string;
|
714
749
|
/** Operating system used for the session */
|
@@ -717,6 +752,8 @@ export declare class AuthenticationSessionResponse extends Request {
|
|
717
752
|
updatedAt: Date;
|
718
753
|
/** Session's user-agent. */
|
719
754
|
userAgent?: string;
|
755
|
+
/** Type of application used to authenticate. */
|
756
|
+
type: L.AuthenticationSessionType;
|
720
757
|
}
|
721
758
|
/**
|
722
759
|
* AuthorizedApplicationBase model
|
@@ -950,6 +987,12 @@ export declare class CustomView extends Request {
|
|
950
987
|
* been updated after creation.
|
951
988
|
*/
|
952
989
|
updatedAt: Date;
|
990
|
+
/** The organizations default view preferences for this custom view. */
|
991
|
+
organizationViewPreferences?: ViewPreferences;
|
992
|
+
/** The current users view preferences for this custom view. */
|
993
|
+
userViewPreferences?: ViewPreferences;
|
994
|
+
/** The calculated view preferences values for this custom view. */
|
995
|
+
viewPreferencesValues?: ViewPreferencesValues;
|
953
996
|
/** The user who created the custom view. */
|
954
997
|
get creator(): LinearFetch<User> | undefined;
|
955
998
|
/** The organization of the custom view. */
|
@@ -1021,6 +1064,10 @@ export declare class CustomViewNotificationSubscription extends Request {
|
|
1021
1064
|
* been updated after creation.
|
1022
1065
|
*/
|
1023
1066
|
updatedAt: Date;
|
1067
|
+
/** The type of view to which the notification subscription context is associated with. */
|
1068
|
+
contextViewType?: L.ContextViewType;
|
1069
|
+
/** The type of user view to which the notification subscription context is associated with. */
|
1070
|
+
userContextViewType?: L.UserContextViewType;
|
1024
1071
|
/** The custom view subscribed to. */
|
1025
1072
|
get customView(): LinearFetch<CustomView> | undefined;
|
1026
1073
|
/** The contextual cycle view associated with the notification subscription. */
|
@@ -1184,6 +1231,10 @@ export declare class CycleNotificationSubscription extends Request {
|
|
1184
1231
|
* been updated after creation.
|
1185
1232
|
*/
|
1186
1233
|
updatedAt: Date;
|
1234
|
+
/** The type of view to which the notification subscription context is associated with. */
|
1235
|
+
contextViewType?: L.ContextViewType;
|
1236
|
+
/** The type of user view to which the notification subscription context is associated with. */
|
1237
|
+
userContextViewType?: L.UserContextViewType;
|
1187
1238
|
/** The contextual custom view associated with the notification subscription. */
|
1188
1239
|
get customView(): LinearFetch<CustomView> | undefined;
|
1189
1240
|
/** The cycle subscribed to. */
|
@@ -1231,7 +1282,7 @@ export declare class DeletePayload extends Request {
|
|
1231
1282
|
success: boolean;
|
1232
1283
|
}
|
1233
1284
|
/**
|
1234
|
-
* A document
|
1285
|
+
* A document that can be attached to different entities.
|
1235
1286
|
*
|
1236
1287
|
* @param request - function to call the graphql client
|
1237
1288
|
* @param data - L.DocumentFragment response data
|
@@ -1239,7 +1290,7 @@ export declare class DeletePayload extends Request {
|
|
1239
1290
|
export declare class Document extends Request {
|
1240
1291
|
private _creator;
|
1241
1292
|
private _lastAppliedTemplate?;
|
1242
|
-
private _project
|
1293
|
+
private _project?;
|
1243
1294
|
private _updatedBy;
|
1244
1295
|
constructor(request: LinearRequest, data: L.DocumentFragment);
|
1245
1296
|
/** The time at which the entity was archived. Null if the entity has not been archived. */
|
@@ -1258,7 +1309,7 @@ export declare class Document extends Request {
|
|
1258
1309
|
id: string;
|
1259
1310
|
/** The document's unique URL slug. */
|
1260
1311
|
slugId: string;
|
1261
|
-
/** The order of the item in the
|
1312
|
+
/** The order of the item in the resources list. */
|
1262
1313
|
sortOrder: number;
|
1263
1314
|
/** The document title. */
|
1264
1315
|
title: string;
|
@@ -1268,6 +1319,8 @@ export declare class Document extends Request {
|
|
1268
1319
|
* been updated after creation.
|
1269
1320
|
*/
|
1270
1321
|
updatedAt: Date;
|
1322
|
+
/** The canonical url for the document. */
|
1323
|
+
url: string;
|
1271
1324
|
/** The user who created the document. */
|
1272
1325
|
get creator(): LinearFetch<User> | undefined;
|
1273
1326
|
/** The last template that was applied to this document. */
|
@@ -1389,6 +1442,51 @@ export declare class DocumentContentHistoryType extends Request {
|
|
1389
1442
|
/** The UUID of the document content history entry. */
|
1390
1443
|
id: string;
|
1391
1444
|
}
|
1445
|
+
/**
|
1446
|
+
* A document related notification.
|
1447
|
+
*
|
1448
|
+
* @param request - function to call the graphql client
|
1449
|
+
* @param data - L.DocumentNotificationFragment response data
|
1450
|
+
*/
|
1451
|
+
export declare class DocumentNotification extends Request {
|
1452
|
+
private _actor?;
|
1453
|
+
private _externalUserActor?;
|
1454
|
+
private _user;
|
1455
|
+
constructor(request: LinearRequest, data: L.DocumentNotificationFragment);
|
1456
|
+
/** The time at which the entity was archived. Null if the entity has not been archived. */
|
1457
|
+
archivedAt?: Date;
|
1458
|
+
/** The time at which the entity was created. */
|
1459
|
+
createdAt: Date;
|
1460
|
+
/**
|
1461
|
+
* The time at when an email reminder for this notification was sent to the user. Null, if no email
|
1462
|
+
* reminder has been sent.
|
1463
|
+
*/
|
1464
|
+
emailedAt?: Date;
|
1465
|
+
/** The unique identifier of the entity. */
|
1466
|
+
id: string;
|
1467
|
+
/** The time at when the user marked the notification as read. Null, if the the user hasn't read the notification */
|
1468
|
+
readAt?: Date;
|
1469
|
+
/** The time until a notification will be snoozed. After that it will appear in the inbox again. */
|
1470
|
+
snoozedUntilAt?: Date;
|
1471
|
+
/** Notification type. */
|
1472
|
+
type: string;
|
1473
|
+
/** The time at which a notification was unsnoozed.. */
|
1474
|
+
unsnoozedAt?: Date;
|
1475
|
+
/**
|
1476
|
+
* The last time at which the entity was meaningfully updated, i.e. for all changes of syncable properties except those
|
1477
|
+
* 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
|
1478
|
+
* been updated after creation.
|
1479
|
+
*/
|
1480
|
+
updatedAt: Date;
|
1481
|
+
/** The bot that caused the notification. */
|
1482
|
+
botActor?: ActorBot;
|
1483
|
+
/** The user that caused the notification. */
|
1484
|
+
get actor(): LinearFetch<User> | undefined;
|
1485
|
+
/** The external user that caused the notification. */
|
1486
|
+
get externalUserActor(): LinearFetch<ExternalUser> | undefined;
|
1487
|
+
/** The user that received the notification. */
|
1488
|
+
get user(): LinearFetch<User> | undefined;
|
1489
|
+
}
|
1392
1490
|
/**
|
1393
1491
|
* DocumentPayload model
|
1394
1492
|
*
|
@@ -1429,7 +1527,7 @@ export declare class DocumentSearchPayload extends Request {
|
|
1429
1527
|
export declare class DocumentSearchResult extends Request {
|
1430
1528
|
private _creator;
|
1431
1529
|
private _lastAppliedTemplate?;
|
1432
|
-
private _project
|
1530
|
+
private _project?;
|
1433
1531
|
private _updatedBy;
|
1434
1532
|
constructor(request: LinearRequest, data: L.DocumentSearchResultFragment);
|
1435
1533
|
/** The time at which the entity was archived. Null if the entity has not been archived. */
|
@@ -1450,7 +1548,7 @@ export declare class DocumentSearchResult extends Request {
|
|
1450
1548
|
metadata: L.Scalars["JSONObject"];
|
1451
1549
|
/** The document's unique URL slug. */
|
1452
1550
|
slugId: string;
|
1453
|
-
/** The order of the item in the
|
1551
|
+
/** The order of the item in the resources list. */
|
1454
1552
|
sortOrder: number;
|
1455
1553
|
/** The document title. */
|
1456
1554
|
title: string;
|
@@ -1460,6 +1558,8 @@ export declare class DocumentSearchResult extends Request {
|
|
1460
1558
|
* been updated after creation.
|
1461
1559
|
*/
|
1462
1560
|
updatedAt: Date;
|
1561
|
+
/** The canonical url for the document. */
|
1562
|
+
url: string;
|
1463
1563
|
/** The user who created the document. */
|
1464
1564
|
get creator(): LinearFetch<User> | undefined;
|
1465
1565
|
/** The last template that was applied to this document. */
|
@@ -1643,6 +1743,68 @@ export declare class Entity extends Request {
|
|
1643
1743
|
*/
|
1644
1744
|
updatedAt: Date;
|
1645
1745
|
}
|
1746
|
+
/**
|
1747
|
+
* An external link for an entity like initiative, etc...
|
1748
|
+
*
|
1749
|
+
* @param request - function to call the graphql client
|
1750
|
+
* @param data - L.EntityExternalLinkFragment response data
|
1751
|
+
*/
|
1752
|
+
export declare class EntityExternalLink extends Request {
|
1753
|
+
private _creator;
|
1754
|
+
constructor(request: LinearRequest, data: L.EntityExternalLinkFragment);
|
1755
|
+
/** The time at which the entity was archived. Null if the entity has not been archived. */
|
1756
|
+
archivedAt?: Date;
|
1757
|
+
/** The time at which the entity was created. */
|
1758
|
+
createdAt: Date;
|
1759
|
+
/** The unique identifier of the entity. */
|
1760
|
+
id: string;
|
1761
|
+
/** The link's label. */
|
1762
|
+
label: string;
|
1763
|
+
/** The order of the item in the resources list. */
|
1764
|
+
sortOrder: number;
|
1765
|
+
/**
|
1766
|
+
* The last time at which the entity was meaningfully updated, i.e. for all changes of syncable properties except those
|
1767
|
+
* 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
|
1768
|
+
* been updated after creation.
|
1769
|
+
*/
|
1770
|
+
updatedAt: Date;
|
1771
|
+
/** The link's URL. */
|
1772
|
+
url: string;
|
1773
|
+
/** The user who created the link. */
|
1774
|
+
get creator(): LinearFetch<User> | undefined;
|
1775
|
+
/** Creates a new entity link. */
|
1776
|
+
create(input: L.EntityExternalLinkCreateInput): LinearFetch<EntityExternalLinkPayload>;
|
1777
|
+
/** Deletes an entity link. */
|
1778
|
+
delete(): LinearFetch<DeletePayload>;
|
1779
|
+
/** Updates an entity link. */
|
1780
|
+
update(input: L.EntityExternalLinkUpdateInput): LinearFetch<EntityExternalLinkPayload>;
|
1781
|
+
}
|
1782
|
+
/**
|
1783
|
+
* EntityExternalLinkConnection model
|
1784
|
+
*
|
1785
|
+
* @param request - function to call the graphql client
|
1786
|
+
* @param fetch - function to trigger a refetch of this EntityExternalLinkConnection model
|
1787
|
+
* @param data - EntityExternalLinkConnection response data
|
1788
|
+
*/
|
1789
|
+
export declare class EntityExternalLinkConnection extends Connection<EntityExternalLink> {
|
1790
|
+
constructor(request: LinearRequest, fetch: (connection?: LinearConnectionVariables) => LinearFetch<LinearConnection<EntityExternalLink> | undefined>, data: L.EntityExternalLinkConnectionFragment);
|
1791
|
+
}
|
1792
|
+
/**
|
1793
|
+
* EntityExternalLinkPayload model
|
1794
|
+
*
|
1795
|
+
* @param request - function to call the graphql client
|
1796
|
+
* @param data - L.EntityExternalLinkPayloadFragment response data
|
1797
|
+
*/
|
1798
|
+
export declare class EntityExternalLinkPayload extends Request {
|
1799
|
+
private _entityExternalLink;
|
1800
|
+
constructor(request: LinearRequest, data: L.EntityExternalLinkPayloadFragment);
|
1801
|
+
/** The identifier of the last sync operation. */
|
1802
|
+
lastSyncId: number;
|
1803
|
+
/** Whether the operation was successful. */
|
1804
|
+
success: boolean;
|
1805
|
+
/** The link that was created or updated. */
|
1806
|
+
get entityExternalLink(): LinearFetch<EntityExternalLink> | undefined;
|
1807
|
+
}
|
1646
1808
|
/**
|
1647
1809
|
* 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.
|
1648
1810
|
*
|
@@ -1726,6 +1888,8 @@ export declare class Favorite extends Request {
|
|
1726
1888
|
* been updated after creation.
|
1727
1889
|
*/
|
1728
1890
|
updatedAt: Date;
|
1891
|
+
/** The targeted tab of the project. */
|
1892
|
+
projectTab?: L.ProjectTab;
|
1729
1893
|
/** The favorited custom view. */
|
1730
1894
|
get customView(): LinearFetch<CustomView> | undefined;
|
1731
1895
|
/** The favorited cycle. */
|
@@ -1843,6 +2007,8 @@ export declare class GitAutomationState extends Request {
|
|
1843
2007
|
updatedAt: Date;
|
1844
2008
|
/** The target branch associated to this automation state. */
|
1845
2009
|
targetBranch?: GitAutomationTargetBranch;
|
2010
|
+
/** The event that triggers the automation. */
|
2011
|
+
event: L.GitAutomationStates;
|
1846
2012
|
/** The associated workflow state. */
|
1847
2013
|
get state(): LinearFetch<WorkflowState> | undefined;
|
1848
2014
|
/** The team to which this automation state belongs. */
|
@@ -2412,6 +2578,10 @@ export declare class Issue extends Request {
|
|
2412
2578
|
priority: number;
|
2413
2579
|
/** Label for the priority. */
|
2414
2580
|
priorityLabel: string;
|
2581
|
+
/** The time at which the issue's SLA will breach. */
|
2582
|
+
slaBreachesAt?: Date;
|
2583
|
+
/** The time at which the issue's SLA began. */
|
2584
|
+
slaStartedAt?: Date;
|
2415
2585
|
/** The time until an issue will be snoozed in Triage view. */
|
2416
2586
|
snoozedUntilAt?: Date;
|
2417
2587
|
/** The order of the item in relation to other items in the organization. */
|
@@ -2438,6 +2608,8 @@ export declare class Issue extends Request {
|
|
2438
2608
|
url: string;
|
2439
2609
|
/** The bot that created the issue, if applicable. */
|
2440
2610
|
botActor?: ActorBot;
|
2611
|
+
/** Integration type that created this issue, if applicable. */
|
2612
|
+
integrationSourceType?: L.IntegrationService;
|
2441
2613
|
/** The user to whom the issue is assigned to. */
|
2442
2614
|
get assignee(): LinearFetch<User> | undefined;
|
2443
2615
|
/** The user who created the issue. */
|
@@ -2643,6 +2815,7 @@ export declare class IssueHistory extends Request {
|
|
2643
2815
|
/** Changed issue relationships. */
|
2644
2816
|
relationChanges?: IssueRelationHistoryPayload[];
|
2645
2817
|
removedLabels?: IssueLabel[];
|
2818
|
+
triageResponsibilityNotifiedUsers?: User[];
|
2646
2819
|
/** The bot that performed the action. */
|
2647
2820
|
botActor?: ActorBot;
|
2648
2821
|
/** The import record. */
|
@@ -2821,7 +2994,7 @@ export declare class IssueLabel extends Request {
|
|
2821
2994
|
/** Deletes an issue label. */
|
2822
2995
|
delete(): LinearFetch<DeletePayload>;
|
2823
2996
|
/** Updates an label. */
|
2824
|
-
update(input: L.IssueLabelUpdateInput): LinearFetch<IssueLabelPayload>;
|
2997
|
+
update(input: L.IssueLabelUpdateInput, variables?: Omit<L.UpdateIssueLabelMutationVariables, "id" | "input">): LinearFetch<IssueLabelPayload>;
|
2825
2998
|
}
|
2826
2999
|
/**
|
2827
3000
|
* IssueLabelConnection model
|
@@ -3086,6 +3259,10 @@ export declare class IssueSearchResult extends Request {
|
|
3086
3259
|
priority: number;
|
3087
3260
|
/** Label for the priority. */
|
3088
3261
|
priorityLabel: string;
|
3262
|
+
/** The time at which the issue's SLA will breach. */
|
3263
|
+
slaBreachesAt?: Date;
|
3264
|
+
/** The time at which the issue's SLA began. */
|
3265
|
+
slaStartedAt?: Date;
|
3089
3266
|
/** The time until an issue will be snoozed in Triage view. */
|
3090
3267
|
snoozedUntilAt?: Date;
|
3091
3268
|
/** The order of the item in relation to other items in the organization. */
|
@@ -3112,6 +3289,8 @@ export declare class IssueSearchResult extends Request {
|
|
3112
3289
|
url: string;
|
3113
3290
|
/** The bot that created the issue, if applicable. */
|
3114
3291
|
botActor?: ActorBot;
|
3292
|
+
/** Integration type that created this issue, if applicable. */
|
3293
|
+
integrationSourceType?: L.IntegrationService;
|
3115
3294
|
/** The user to whom the issue is assigned to. */
|
3116
3295
|
get assignee(): LinearFetch<User> | undefined;
|
3117
3296
|
/** The user who created the issue. */
|
@@ -3238,6 +3417,10 @@ export declare class LabelNotificationSubscription extends Request {
|
|
3238
3417
|
* been updated after creation.
|
3239
3418
|
*/
|
3240
3419
|
updatedAt: Date;
|
3420
|
+
/** The type of view to which the notification subscription context is associated with. */
|
3421
|
+
contextViewType?: L.ContextViewType;
|
3422
|
+
/** The type of user view to which the notification subscription context is associated with. */
|
3423
|
+
userContextViewType?: L.UserContextViewType;
|
3241
3424
|
/** The contextual custom view associated with the notification subscription. */
|
3242
3425
|
get customView(): LinearFetch<CustomView> | undefined;
|
3243
3426
|
/** The contextual cycle view associated with the notification subscription. */
|
@@ -3361,8 +3544,8 @@ export declare class NotificationBatchActionPayload extends Request {
|
|
3361
3544
|
* @param fetch - function to trigger a refetch of this NotificationConnection model
|
3362
3545
|
* @param data - NotificationConnection response data
|
3363
3546
|
*/
|
3364
|
-
export declare class NotificationConnection extends Connection<IssueNotification | OauthClientApprovalNotification | ProjectNotification | Notification> {
|
3365
|
-
constructor(request: LinearRequest, fetch: (connection?: LinearConnectionVariables) => LinearFetch<LinearConnection<IssueNotification | OauthClientApprovalNotification | ProjectNotification | Notification> | undefined>, data: L.NotificationConnectionFragment);
|
3547
|
+
export declare class NotificationConnection extends Connection<DocumentNotification | IssueNotification | OauthClientApprovalNotification | ProjectNotification | Notification> {
|
3548
|
+
constructor(request: LinearRequest, fetch: (connection?: LinearConnectionVariables) => LinearFetch<LinearConnection<DocumentNotification | IssueNotification | OauthClientApprovalNotification | ProjectNotification | Notification> | undefined>, data: L.NotificationConnectionFragment);
|
3366
3549
|
}
|
3367
3550
|
/**
|
3368
3551
|
* NotificationPayload model
|
@@ -3406,6 +3589,10 @@ export declare class NotificationSubscription extends Request {
|
|
3406
3589
|
* been updated after creation.
|
3407
3590
|
*/
|
3408
3591
|
updatedAt: Date;
|
3592
|
+
/** The type of view to which the notification subscription context is associated with. */
|
3593
|
+
contextViewType?: L.ContextViewType;
|
3594
|
+
/** The type of user view to which the notification subscription context is associated with. */
|
3595
|
+
userContextViewType?: L.UserContextViewType;
|
3409
3596
|
/** The contextual custom view associated with the notification subscription. */
|
3410
3597
|
get customView(): LinearFetch<CustomView> | undefined;
|
3411
3598
|
/** The contextual cycle view associated with the notification subscription. */
|
@@ -3545,6 +3732,8 @@ export declare class OauthClientApproval extends Request {
|
|
3545
3732
|
* been updated after creation.
|
3546
3733
|
*/
|
3547
3734
|
updatedAt: Date;
|
3735
|
+
/** The status for the OAuth client approval request. */
|
3736
|
+
status: L.OAuthClientApprovalStatus;
|
3548
3737
|
}
|
3549
3738
|
/**
|
3550
3739
|
* An oauth client approval related notification.
|
@@ -3615,6 +3804,8 @@ export declare class OauthToken extends Request {
|
|
3615
3804
|
createdAt: Date;
|
3616
3805
|
id: number;
|
3617
3806
|
revokedAt?: Date;
|
3807
|
+
/** Scopes associated with the access token. */
|
3808
|
+
scope: string[];
|
3618
3809
|
/** Id of the user who authorized the OAuth application. */
|
3619
3810
|
userId: string;
|
3620
3811
|
/** OAuth2 client for which the access token belongs to. */
|
@@ -3691,8 +3882,18 @@ export declare class Organization extends Request {
|
|
3691
3882
|
urlKey: string;
|
3692
3883
|
/** Number of active users in the organization. */
|
3693
3884
|
userCount: number;
|
3885
|
+
/** The organization's project statuses. */
|
3886
|
+
projectStatuses: ProjectStatus[];
|
3694
3887
|
/** The organization's subscription to a paid plan. */
|
3695
3888
|
subscription?: PaidSubscription;
|
3889
|
+
/** The day at which to prompt for project updates. */
|
3890
|
+
projectUpdateRemindersDay: L.Day;
|
3891
|
+
/** The frequency at which to prompt for project updates. */
|
3892
|
+
projectUpdatesReminderFrequency: L.ProjectUpdateReminderFrequency;
|
3893
|
+
/** The feature release channel the organization belongs to. */
|
3894
|
+
releaseChannel: L.ReleaseChannel;
|
3895
|
+
/** Which day count to use for SLA calculations. */
|
3896
|
+
slaDayCount: L.SLADayCountType;
|
3696
3897
|
/** Integrations associated with the organization. */
|
3697
3898
|
integrations(variables?: L.Organization_IntegrationsQueryVariables): LinearFetch<IntegrationConnection>;
|
3698
3899
|
/** Labels associated with the organization. */
|
@@ -3708,6 +3909,17 @@ export declare class Organization extends Request {
|
|
3708
3909
|
/** Updates the user's organization. */
|
3709
3910
|
update(input: L.OrganizationUpdateInput): LinearFetch<OrganizationPayload>;
|
3710
3911
|
}
|
3912
|
+
/**
|
3913
|
+
* OrganizationAcceptedOrExpiredInviteDetailsPayload model
|
3914
|
+
*
|
3915
|
+
* @param request - function to call the graphql client
|
3916
|
+
* @param data - L.OrganizationAcceptedOrExpiredInviteDetailsPayloadFragment response data
|
3917
|
+
*/
|
3918
|
+
export declare class OrganizationAcceptedOrExpiredInviteDetailsPayload extends Request {
|
3919
|
+
constructor(request: LinearRequest, data: L.OrganizationAcceptedOrExpiredInviteDetailsPayloadFragment);
|
3920
|
+
/** The status of the invite. */
|
3921
|
+
status: L.OrganizationInviteStatus;
|
3922
|
+
}
|
3711
3923
|
/**
|
3712
3924
|
* OrganizationCancelDeletePayload model
|
3713
3925
|
*
|
@@ -3759,6 +3971,8 @@ export declare class OrganizationDomain extends Request {
|
|
3759
3971
|
verificationEmail?: string;
|
3760
3972
|
/** Is this domain verified. */
|
3761
3973
|
verified: boolean;
|
3974
|
+
/** What type of auth is the domain used for. */
|
3975
|
+
authType: L.OrganizationDomainAuthType;
|
3762
3976
|
/** The user who added the domain. */
|
3763
3977
|
get creator(): LinearFetch<User> | undefined;
|
3764
3978
|
/** Deletes a domain. */
|
@@ -3809,6 +4023,8 @@ export declare class OrganizationInvite extends Request {
|
|
3809
4023
|
* been updated after creation.
|
3810
4024
|
*/
|
3811
4025
|
updatedAt: Date;
|
4026
|
+
/** The user role that the invitee will receive upon accepting the invite. */
|
4027
|
+
role: L.UserRoleType;
|
3812
4028
|
/** The user who has accepted the invite. Null, if the invite hasn't been accepted. */
|
3813
4029
|
get invitee(): LinearFetch<User> | undefined;
|
3814
4030
|
/** The user who created the invitation. */
|
@@ -3858,6 +4074,10 @@ export declare class OrganizationInviteFullDetailsPayload extends Request {
|
|
3858
4074
|
organizationLogoUrl?: string;
|
3859
4075
|
/** Name of the workspace the invite is for. */
|
3860
4076
|
organizationName: string;
|
4077
|
+
/** What user role the invite should grant. */
|
4078
|
+
role: L.UserRoleType;
|
4079
|
+
/** The status of the invite. */
|
4080
|
+
status: L.OrganizationInviteStatus;
|
3861
4081
|
}
|
3862
4082
|
/**
|
3863
4083
|
* OrganizationInviteLinkDetailsPayload model
|
@@ -4085,6 +4305,8 @@ export declare class Project extends Request {
|
|
4085
4305
|
updatedAt: Date;
|
4086
4306
|
/** Project URL. */
|
4087
4307
|
url: string;
|
4308
|
+
/** The status that the project is associated with. */
|
4309
|
+
status: ProjectStatus;
|
4088
4310
|
/** The project was created based on this issue. */
|
4089
4311
|
get convertedFromIssue(): LinearFetch<Issue> | undefined;
|
4090
4312
|
/** The user who created the project. */
|
@@ -4372,6 +4594,10 @@ export declare class ProjectNotificationSubscription extends Request {
|
|
4372
4594
|
* been updated after creation.
|
4373
4595
|
*/
|
4374
4596
|
updatedAt: Date;
|
4597
|
+
/** The type of view to which the notification subscription context is associated with. */
|
4598
|
+
contextViewType?: L.ContextViewType;
|
4599
|
+
/** The type of user view to which the notification subscription context is associated with. */
|
4600
|
+
userContextViewType?: L.UserContextViewType;
|
4375
4601
|
/** The contextual custom view associated with the notification subscription. */
|
4376
4602
|
get customView(): LinearFetch<CustomView> | undefined;
|
4377
4603
|
/** The contextual cycle view associated with the notification subscription. */
|
@@ -4403,6 +4629,71 @@ export declare class ProjectPayload extends Request {
|
|
4403
4629
|
/** The project that was created or updated. */
|
4404
4630
|
get project(): LinearFetch<Project> | undefined;
|
4405
4631
|
}
|
4632
|
+
/**
|
4633
|
+
* A relation between two projects.
|
4634
|
+
*
|
4635
|
+
* @param request - function to call the graphql client
|
4636
|
+
* @param data - L.ProjectRelationFragment response data
|
4637
|
+
*/
|
4638
|
+
export declare class ProjectRelation extends Request {
|
4639
|
+
private _project;
|
4640
|
+
private _projectMilestone?;
|
4641
|
+
private _relatedProject;
|
4642
|
+
private _relatedProjectMilestone?;
|
4643
|
+
constructor(request: LinearRequest, data: L.ProjectRelationFragment);
|
4644
|
+
/** The type of anchor on the project end of the relation. */
|
4645
|
+
anchorType: string;
|
4646
|
+
/** The time at which the entity was archived. Null if the entity has not been archived. */
|
4647
|
+
archivedAt?: Date;
|
4648
|
+
/** The time at which the entity was created. */
|
4649
|
+
createdAt: Date;
|
4650
|
+
/** The unique identifier of the entity. */
|
4651
|
+
id: string;
|
4652
|
+
/** The type of anchor on the relatedProject end of the relation. */
|
4653
|
+
relatedAnchorType: string;
|
4654
|
+
/** The relationship of the project with the related project. */
|
4655
|
+
type: string;
|
4656
|
+
/**
|
4657
|
+
* The last time at which the entity was meaningfully updated, i.e. for all changes of syncable properties except those
|
4658
|
+
* 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
|
4659
|
+
* been updated after creation.
|
4660
|
+
*/
|
4661
|
+
updatedAt: Date;
|
4662
|
+
/** The project whose relationship is being described. */
|
4663
|
+
get project(): LinearFetch<Project> | undefined;
|
4664
|
+
/** The milestone within the project whose relationship is being described. */
|
4665
|
+
get projectMilestone(): LinearFetch<ProjectMilestone> | undefined;
|
4666
|
+
/** The related project. */
|
4667
|
+
get relatedProject(): LinearFetch<Project> | undefined;
|
4668
|
+
/** The milestone within the related project whose relationship is being described. */
|
4669
|
+
get relatedProjectMilestone(): LinearFetch<ProjectMilestone> | undefined;
|
4670
|
+
}
|
4671
|
+
/**
|
4672
|
+
* ProjectRelationConnection model
|
4673
|
+
*
|
4674
|
+
* @param request - function to call the graphql client
|
4675
|
+
* @param fetch - function to trigger a refetch of this ProjectRelationConnection model
|
4676
|
+
* @param data - ProjectRelationConnection response data
|
4677
|
+
*/
|
4678
|
+
export declare class ProjectRelationConnection extends Connection<ProjectRelation> {
|
4679
|
+
constructor(request: LinearRequest, fetch: (connection?: LinearConnectionVariables) => LinearFetch<LinearConnection<ProjectRelation> | undefined>, data: L.ProjectRelationConnectionFragment);
|
4680
|
+
}
|
4681
|
+
/**
|
4682
|
+
* ProjectRelationPayload model
|
4683
|
+
*
|
4684
|
+
* @param request - function to call the graphql client
|
4685
|
+
* @param data - L.ProjectRelationPayloadFragment response data
|
4686
|
+
*/
|
4687
|
+
export declare class ProjectRelationPayload extends Request {
|
4688
|
+
private _projectRelation;
|
4689
|
+
constructor(request: LinearRequest, data: L.ProjectRelationPayloadFragment);
|
4690
|
+
/** The identifier of the last sync operation. */
|
4691
|
+
lastSyncId: number;
|
4692
|
+
/** Whether the operation was successful. */
|
4693
|
+
success: boolean;
|
4694
|
+
/** The project relation that was created or updated. */
|
4695
|
+
get projectRelation(): LinearFetch<ProjectRelation> | undefined;
|
4696
|
+
}
|
4406
4697
|
/**
|
4407
4698
|
* ProjectSearchPayload model
|
4408
4699
|
*
|
@@ -4500,6 +4791,8 @@ export declare class ProjectSearchResult extends Request {
|
|
4500
4791
|
updatedAt: Date;
|
4501
4792
|
/** Project URL. */
|
4502
4793
|
url: string;
|
4794
|
+
/** The status that the project is associated with. */
|
4795
|
+
status: ProjectStatus;
|
4503
4796
|
/** The project was created based on this issue. */
|
4504
4797
|
get convertedFromIssue(): LinearFetch<Issue> | undefined;
|
4505
4798
|
/** The user who created the project. */
|
@@ -4523,6 +4816,49 @@ export declare class ProjectSearchResult extends Request {
|
|
4523
4816
|
export declare class ProjectSearchResultConnection extends Connection<ProjectSearchResult> {
|
4524
4817
|
constructor(request: LinearRequest, fetch: (connection?: LinearConnectionVariables) => LinearFetch<LinearConnection<ProjectSearchResult> | undefined>, data: L.ProjectSearchResultConnectionFragment);
|
4525
4818
|
}
|
4819
|
+
/**
|
4820
|
+
* A project status.
|
4821
|
+
*
|
4822
|
+
* @param request - function to call the graphql client
|
4823
|
+
* @param data - L.ProjectStatusFragment response data
|
4824
|
+
*/
|
4825
|
+
export declare class ProjectStatus extends Request {
|
4826
|
+
constructor(request: LinearRequest, data: L.ProjectStatusFragment);
|
4827
|
+
/** The time at which the entity was archived. Null if the entity has not been archived. */
|
4828
|
+
archivedAt?: Date;
|
4829
|
+
/** The UI color of the status as a HEX string. */
|
4830
|
+
color: string;
|
4831
|
+
/** The time at which the entity was created. */
|
4832
|
+
createdAt: Date;
|
4833
|
+
/** Description of the status. */
|
4834
|
+
description?: string;
|
4835
|
+
/** The unique identifier of the entity. */
|
4836
|
+
id: string;
|
4837
|
+
/** Whether or not a project can be in this status indefinitely. */
|
4838
|
+
indefinite: boolean;
|
4839
|
+
/** The name of the status. */
|
4840
|
+
name: string;
|
4841
|
+
/** The position of the status in the workspace's project flow. */
|
4842
|
+
position: number;
|
4843
|
+
/**
|
4844
|
+
* The last time at which the entity was meaningfully updated, i.e. for all changes of syncable properties except those
|
4845
|
+
* 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
|
4846
|
+
* been updated after creation.
|
4847
|
+
*/
|
4848
|
+
updatedAt: Date;
|
4849
|
+
/** The type of the project status. */
|
4850
|
+
type: L.ProjectStatusType;
|
4851
|
+
}
|
4852
|
+
/**
|
4853
|
+
* ProjectStatusConnection model
|
4854
|
+
*
|
4855
|
+
* @param request - function to call the graphql client
|
4856
|
+
* @param fetch - function to trigger a refetch of this ProjectStatusConnection model
|
4857
|
+
* @param data - ProjectStatusConnection response data
|
4858
|
+
*/
|
4859
|
+
export declare class ProjectStatusConnection extends Connection<ProjectStatus> {
|
4860
|
+
constructor(request: LinearRequest, fetch: (connection?: LinearConnectionVariables) => LinearFetch<LinearConnection<ProjectStatus> | undefined>, data: L.ProjectStatusConnectionFragment);
|
4861
|
+
}
|
4526
4862
|
/**
|
4527
4863
|
* A update associated with an project.
|
4528
4864
|
*
|
@@ -4549,6 +4885,8 @@ export declare class ProjectUpdate extends Request {
|
|
4549
4885
|
id: string;
|
4550
4886
|
/** Whether project update diff should be hidden. */
|
4551
4887
|
isDiffHidden: boolean;
|
4888
|
+
/** Emoji reaction summary, grouped by emoji type. */
|
4889
|
+
reactionData: L.Scalars["JSONObject"];
|
4552
4890
|
/**
|
4553
4891
|
* The last time at which the entity was meaningfully updated, i.e. for all changes of syncable properties except those
|
4554
4892
|
* 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
|
@@ -4557,10 +4895,14 @@ export declare class ProjectUpdate extends Request {
|
|
4557
4895
|
updatedAt: Date;
|
4558
4896
|
/** The URL to the project update. */
|
4559
4897
|
url: string;
|
4898
|
+
/** The health of the project at the time of the update. */
|
4899
|
+
health: L.ProjectUpdateHealthType;
|
4560
4900
|
/** The project that the update is associated with. */
|
4561
4901
|
get project(): LinearFetch<Project> | undefined;
|
4562
4902
|
/** The user who wrote the update. */
|
4563
4903
|
get user(): LinearFetch<User> | undefined;
|
4904
|
+
/** Comments associated with the project update. */
|
4905
|
+
comments(variables?: Omit<L.ProjectUpdate_CommentsQueryVariables, "id">): LinearFetch<CommentConnection>;
|
4564
4906
|
/** Creates a new project update. */
|
4565
4907
|
create(input: L.ProjectUpdateCreateInput): LinearFetch<ProjectUpdatePayload>;
|
4566
4908
|
/** Deletes a project update. */
|
@@ -4874,6 +5216,8 @@ export declare class Roadmap extends Request {
|
|
4874
5216
|
* been updated after creation.
|
4875
5217
|
*/
|
4876
5218
|
updatedAt: Date;
|
5219
|
+
/** The canonical url for the roadmap. */
|
5220
|
+
url: string;
|
4877
5221
|
/** The user who created the roadmap. */
|
4878
5222
|
get creator(): LinearFetch<User> | undefined;
|
4879
5223
|
/** The organization of the roadmap. */
|
@@ -5042,6 +5386,8 @@ export declare class SlackAsksSettings extends Request {
|
|
5042
5386
|
teamName?: string;
|
5043
5387
|
/** The mapping of Slack channel ID => Slack channel name for connected channels. */
|
5044
5388
|
slackChannelMapping?: SlackChannelNameMapping[];
|
5389
|
+
/** The user role type that is allowed to manage Asks settings. */
|
5390
|
+
canAdministrate: L.UserRoleType;
|
5045
5391
|
}
|
5046
5392
|
/**
|
5047
5393
|
* Tuple for mapping Slack channel IDs to names.
|
@@ -5094,7 +5440,7 @@ export declare class SlackChannelNameMapping extends Request {
|
|
5094
5440
|
autoCreateOnMessage?: boolean;
|
5095
5441
|
/** The optional template ID to use for Asks auto-created in this channel. If not set, auto-created Asks won't use any template. */
|
5096
5442
|
autoCreateTemplateId?: string;
|
5097
|
-
/** Whether or not
|
5443
|
+
/** Whether or not the Linear Asks bot has been added to this Slack channel. */
|
5098
5444
|
botAdded?: boolean;
|
5099
5445
|
/** The Slack channel ID. */
|
5100
5446
|
id: string;
|
@@ -5104,6 +5450,8 @@ export declare class SlackChannelNameMapping extends Request {
|
|
5104
5450
|
isShared?: boolean;
|
5105
5451
|
/** The Slack channel name. */
|
5106
5452
|
name: string;
|
5453
|
+
/** Whether or not synced Slack threads should be updated with a message and emoji when their Ask is canceled. */
|
5454
|
+
postCancellationUpdates?: boolean;
|
5107
5455
|
/** Which teams are connected to the channel and settings for those teams. */
|
5108
5456
|
teams: SlackAsksTeamSettings[];
|
5109
5457
|
}
|
@@ -5118,6 +5466,7 @@ export declare class SlackPostSettings extends Request {
|
|
5118
5466
|
channel: string;
|
5119
5467
|
channelId: string;
|
5120
5468
|
configurationUrl: string;
|
5469
|
+
channelType?: L.SlackChannelType;
|
5121
5470
|
}
|
5122
5471
|
/**
|
5123
5472
|
* Settings for the regular Slack integration.
|
@@ -5258,6 +5607,8 @@ export declare class Team extends Request {
|
|
5258
5607
|
private: boolean;
|
5259
5608
|
/** Whether an issue needs to have a priority set before leaving triage. */
|
5260
5609
|
requirePriorityToLeaveTriage: boolean;
|
5610
|
+
/** Whether the team is managed by SCIM. */
|
5611
|
+
scimManaged: boolean;
|
5261
5612
|
/** Where to move issues when changing state. */
|
5262
5613
|
setIssueSortOrderOnStateChange: string;
|
5263
5614
|
/** Whether to send new issue comment notifications to Slack. */
|
@@ -5455,6 +5806,10 @@ export declare class TeamNotificationSubscription extends Request {
|
|
5455
5806
|
* been updated after creation.
|
5456
5807
|
*/
|
5457
5808
|
updatedAt: Date;
|
5809
|
+
/** The type of view to which the notification subscription context is associated with. */
|
5810
|
+
contextViewType?: L.ContextViewType;
|
5811
|
+
/** The type of user view to which the notification subscription context is associated with. */
|
5812
|
+
userContextViewType?: L.UserContextViewType;
|
5458
5813
|
/** The contextual custom view associated with the notification subscription. */
|
5459
5814
|
get customView(): LinearFetch<CustomView> | undefined;
|
5460
5815
|
/** The contextual cycle view associated with the notification subscription. */
|
@@ -5673,6 +6028,8 @@ export declare class TriageResponsibility extends Request {
|
|
5673
6028
|
updatedAt: Date;
|
5674
6029
|
/** Set of users used for triage responsibility. */
|
5675
6030
|
manualSelection?: TriageResponsibilityManualSelection;
|
6031
|
+
/** The action to take when an issue is added to triage. */
|
6032
|
+
action: L.TriageResponsibilityAction;
|
5676
6033
|
/** The user currently responsible for triage. */
|
5677
6034
|
get currentUser(): LinearFetch<User> | undefined;
|
5678
6035
|
/** The team to which the triage responsibility belongs to. */
|
@@ -5944,6 +6301,10 @@ export declare class UserNotificationSubscription extends Request {
|
|
5944
6301
|
* been updated after creation.
|
5945
6302
|
*/
|
5946
6303
|
updatedAt: Date;
|
6304
|
+
/** The type of view to which the notification subscription context is associated with. */
|
6305
|
+
contextViewType?: L.ContextViewType;
|
6306
|
+
/** The type of user view to which the notification subscription context is associated with. */
|
6307
|
+
userContextViewType?: L.UserContextViewType;
|
5947
6308
|
/** The contextual custom view associated with the notification subscription. */
|
5948
6309
|
get customView(): LinearFetch<CustomView> | undefined;
|
5949
6310
|
/** The contextual cycle view associated with the notification subscription. */
|
@@ -6088,6 +6449,8 @@ export declare class ViewPreferences extends Request {
|
|
6088
6449
|
updatedAt: Date;
|
6089
6450
|
/** The view type. */
|
6090
6451
|
viewType: string;
|
6452
|
+
/** The view preferences */
|
6453
|
+
preferences: ViewPreferencesValues;
|
6091
6454
|
/** Creates a new ViewPreferences object. */
|
6092
6455
|
create(input: L.ViewPreferencesCreateInput): LinearFetch<ViewPreferencesPayload>;
|
6093
6456
|
/** Deletes a ViewPreferences. */
|
@@ -6110,6 +6473,21 @@ export declare class ViewPreferencesPayload extends Request {
|
|
6110
6473
|
/** The view preferences entity being mutated. */
|
6111
6474
|
viewPreferences: ViewPreferences;
|
6112
6475
|
}
|
6476
|
+
/**
|
6477
|
+
* ViewPreferencesValues model
|
6478
|
+
*
|
6479
|
+
* @param request - function to call the graphql client
|
6480
|
+
* @param data - L.ViewPreferencesValuesFragment response data
|
6481
|
+
*/
|
6482
|
+
export declare class ViewPreferencesValues extends Request {
|
6483
|
+
constructor(request: LinearRequest, data: L.ViewPreferencesValuesFragment);
|
6484
|
+
/** The issue grouping. */
|
6485
|
+
issueGrouping?: string;
|
6486
|
+
/** Whether to show completed issues. */
|
6487
|
+
showCompletedIssues?: string;
|
6488
|
+
/** The issue ordering. */
|
6489
|
+
viewOrdering?: string;
|
6490
|
+
}
|
6113
6491
|
/**
|
6114
6492
|
* A webhook used to send HTTP notifications over data updates.
|
6115
6493
|
*
|
@@ -6269,6 +6647,16 @@ export declare class WorkflowDefinition extends Request {
|
|
6269
6647
|
* been updated after creation.
|
6270
6648
|
*/
|
6271
6649
|
updatedAt: Date;
|
6650
|
+
/** The type of view to which this workflow's context is associated with. */
|
6651
|
+
contextViewType?: L.ContextViewType;
|
6652
|
+
/** The type of the event that triggers off the workflow. */
|
6653
|
+
trigger: L.WorkflowTrigger;
|
6654
|
+
/** The object type (e.g. Issue) that triggers this workflow. */
|
6655
|
+
triggerType: L.WorkflowTriggerType;
|
6656
|
+
/** The type of the workflow. */
|
6657
|
+
type: L.WorkflowType;
|
6658
|
+
/** The type of user view to which this workflow's context is associated with. */
|
6659
|
+
userContextViewType?: L.UserContextViewType;
|
6272
6660
|
/** The user who created the workflow. */
|
6273
6661
|
get creator(): LinearFetch<User> | undefined;
|
6274
6662
|
/** The context custom view associated with the workflow. */
|
@@ -6763,6 +7151,21 @@ export declare class EmojisQuery extends Request {
|
|
6763
7151
|
*/
|
6764
7152
|
fetch(variables?: L.EmojisQueryVariables): LinearFetch<EmojiConnection>;
|
6765
7153
|
}
|
7154
|
+
/**
|
7155
|
+
* A fetchable EntityExternalLink Query
|
7156
|
+
*
|
7157
|
+
* @param request - function to call the graphql client
|
7158
|
+
*/
|
7159
|
+
export declare class EntityExternalLinkQuery extends Request {
|
7160
|
+
constructor(request: LinearRequest);
|
7161
|
+
/**
|
7162
|
+
* Call the EntityExternalLink query and return a EntityExternalLink
|
7163
|
+
*
|
7164
|
+
* @param id - required id to pass to entityExternalLink
|
7165
|
+
* @returns parsed response from EntityExternalLinkQuery
|
7166
|
+
*/
|
7167
|
+
fetch(id: string): LinearFetch<EntityExternalLink>;
|
7168
|
+
}
|
6766
7169
|
/**
|
6767
7170
|
* A fetchable ExternalUser Query
|
6768
7171
|
*
|
@@ -7124,7 +7527,7 @@ export declare class NotificationQuery extends Request {
|
|
7124
7527
|
* @param id - required id to pass to notification
|
7125
7528
|
* @returns parsed response from NotificationQuery
|
7126
7529
|
*/
|
7127
|
-
fetch(id: string): LinearFetch<IssueNotification | OauthClientApprovalNotification | ProjectNotification | Notification>;
|
7530
|
+
fetch(id: string): LinearFetch<DocumentNotification | IssueNotification | OauthClientApprovalNotification | ProjectNotification | Notification>;
|
7128
7531
|
}
|
7129
7532
|
/**
|
7130
7533
|
* A fetchable NotificationSubscription Query
|
@@ -7320,6 +7723,36 @@ export declare class ProjectMilestonesQuery extends Request {
|
|
7320
7723
|
*/
|
7321
7724
|
fetch(variables?: L.ProjectMilestonesQueryVariables): LinearFetch<ProjectMilestoneConnection>;
|
7322
7725
|
}
|
7726
|
+
/**
|
7727
|
+
* A fetchable ProjectRelation Query
|
7728
|
+
*
|
7729
|
+
* @param request - function to call the graphql client
|
7730
|
+
*/
|
7731
|
+
export declare class ProjectRelationQuery extends Request {
|
7732
|
+
constructor(request: LinearRequest);
|
7733
|
+
/**
|
7734
|
+
* Call the ProjectRelation query and return a ProjectRelation
|
7735
|
+
*
|
7736
|
+
* @param id - required id to pass to projectRelation
|
7737
|
+
* @returns parsed response from ProjectRelationQuery
|
7738
|
+
*/
|
7739
|
+
fetch(id: string): LinearFetch<ProjectRelation>;
|
7740
|
+
}
|
7741
|
+
/**
|
7742
|
+
* A fetchable ProjectRelations Query
|
7743
|
+
*
|
7744
|
+
* @param request - function to call the graphql client
|
7745
|
+
*/
|
7746
|
+
export declare class ProjectRelationsQuery extends Request {
|
7747
|
+
constructor(request: LinearRequest);
|
7748
|
+
/**
|
7749
|
+
* Call the ProjectRelations query and return a ProjectRelationConnection
|
7750
|
+
*
|
7751
|
+
* @param variables - variables to pass into the ProjectRelationsQuery
|
7752
|
+
* @returns parsed response from ProjectRelationsQuery
|
7753
|
+
*/
|
7754
|
+
fetch(variables?: L.ProjectRelationsQueryVariables): LinearFetch<ProjectRelationConnection>;
|
7755
|
+
}
|
7323
7756
|
/**
|
7324
7757
|
* A fetchable ProjectUpdate Query
|
7325
7758
|
*
|
@@ -8477,6 +8910,52 @@ export declare class DeleteEmojiMutation extends Request {
|
|
8477
8910
|
*/
|
8478
8911
|
fetch(id: string): LinearFetch<DeletePayload>;
|
8479
8912
|
}
|
8913
|
+
/**
|
8914
|
+
* A fetchable CreateEntityExternalLink Mutation
|
8915
|
+
*
|
8916
|
+
* @param request - function to call the graphql client
|
8917
|
+
*/
|
8918
|
+
export declare class CreateEntityExternalLinkMutation extends Request {
|
8919
|
+
constructor(request: LinearRequest);
|
8920
|
+
/**
|
8921
|
+
* Call the CreateEntityExternalLink mutation and return a EntityExternalLinkPayload
|
8922
|
+
*
|
8923
|
+
* @param input - required input to pass to createEntityExternalLink
|
8924
|
+
* @returns parsed response from CreateEntityExternalLinkMutation
|
8925
|
+
*/
|
8926
|
+
fetch(input: L.EntityExternalLinkCreateInput): LinearFetch<EntityExternalLinkPayload>;
|
8927
|
+
}
|
8928
|
+
/**
|
8929
|
+
* A fetchable DeleteEntityExternalLink Mutation
|
8930
|
+
*
|
8931
|
+
* @param request - function to call the graphql client
|
8932
|
+
*/
|
8933
|
+
export declare class DeleteEntityExternalLinkMutation extends Request {
|
8934
|
+
constructor(request: LinearRequest);
|
8935
|
+
/**
|
8936
|
+
* Call the DeleteEntityExternalLink mutation and return a DeletePayload
|
8937
|
+
*
|
8938
|
+
* @param id - required id to pass to deleteEntityExternalLink
|
8939
|
+
* @returns parsed response from DeleteEntityExternalLinkMutation
|
8940
|
+
*/
|
8941
|
+
fetch(id: string): LinearFetch<DeletePayload>;
|
8942
|
+
}
|
8943
|
+
/**
|
8944
|
+
* A fetchable UpdateEntityExternalLink Mutation
|
8945
|
+
*
|
8946
|
+
* @param request - function to call the graphql client
|
8947
|
+
*/
|
8948
|
+
export declare class UpdateEntityExternalLinkMutation extends Request {
|
8949
|
+
constructor(request: LinearRequest);
|
8950
|
+
/**
|
8951
|
+
* Call the UpdateEntityExternalLink mutation and return a EntityExternalLinkPayload
|
8952
|
+
*
|
8953
|
+
* @param id - required id to pass to updateEntityExternalLink
|
8954
|
+
* @param input - required input to pass to updateEntityExternalLink
|
8955
|
+
* @returns parsed response from UpdateEntityExternalLinkMutation
|
8956
|
+
*/
|
8957
|
+
fetch(id: string, input: L.EntityExternalLinkUpdateInput): LinearFetch<EntityExternalLinkPayload>;
|
8958
|
+
}
|
8480
8959
|
/**
|
8481
8960
|
* A fetchable CreateFavorite Mutation
|
8482
8961
|
*
|
@@ -9424,9 +9903,10 @@ export declare class UpdateIssueLabelMutation extends Request {
|
|
9424
9903
|
*
|
9425
9904
|
* @param id - required id to pass to updateIssueLabel
|
9426
9905
|
* @param input - required input to pass to updateIssueLabel
|
9906
|
+
* @param variables - variables without 'id', 'input' to pass into the UpdateIssueLabelMutation
|
9427
9907
|
* @returns parsed response from UpdateIssueLabelMutation
|
9428
9908
|
*/
|
9429
|
-
fetch(id: string, input: L.IssueLabelUpdateInput): LinearFetch<IssueLabelPayload>;
|
9909
|
+
fetch(id: string, input: L.IssueLabelUpdateInput, variables?: Omit<L.UpdateIssueLabelMutationVariables, "id" | "input">): LinearFetch<IssueLabelPayload>;
|
9430
9910
|
}
|
9431
9911
|
/**
|
9432
9912
|
* A fetchable CreateIssueRelation Mutation
|
@@ -11191,6 +11671,86 @@ export declare class CustomView_IssuesQuery extends Request {
|
|
11191
11671
|
*/
|
11192
11672
|
fetch(variables?: Omit<L.CustomView_IssuesQueryVariables, "id">): LinearFetch<IssueConnection>;
|
11193
11673
|
}
|
11674
|
+
/**
|
11675
|
+
* A fetchable CustomView_OrganizationViewPreferences Query
|
11676
|
+
*
|
11677
|
+
* @param request - function to call the graphql client
|
11678
|
+
* @param id - required id to pass to customView
|
11679
|
+
*/
|
11680
|
+
export declare class CustomView_OrganizationViewPreferencesQuery extends Request {
|
11681
|
+
private _id;
|
11682
|
+
constructor(request: LinearRequest, id: string);
|
11683
|
+
/**
|
11684
|
+
* Call the CustomView_OrganizationViewPreferences query and return a ViewPreferences
|
11685
|
+
*
|
11686
|
+
* @returns parsed response from CustomView_OrganizationViewPreferencesQuery
|
11687
|
+
*/
|
11688
|
+
fetch(): LinearFetch<ViewPreferences | undefined>;
|
11689
|
+
}
|
11690
|
+
/**
|
11691
|
+
* A fetchable CustomView_UserViewPreferences Query
|
11692
|
+
*
|
11693
|
+
* @param request - function to call the graphql client
|
11694
|
+
* @param id - required id to pass to customView
|
11695
|
+
*/
|
11696
|
+
export declare class CustomView_UserViewPreferencesQuery extends Request {
|
11697
|
+
private _id;
|
11698
|
+
constructor(request: LinearRequest, id: string);
|
11699
|
+
/**
|
11700
|
+
* Call the CustomView_UserViewPreferences query and return a ViewPreferences
|
11701
|
+
*
|
11702
|
+
* @returns parsed response from CustomView_UserViewPreferencesQuery
|
11703
|
+
*/
|
11704
|
+
fetch(): LinearFetch<ViewPreferences | undefined>;
|
11705
|
+
}
|
11706
|
+
/**
|
11707
|
+
* A fetchable CustomView_ViewPreferencesValues Query
|
11708
|
+
*
|
11709
|
+
* @param request - function to call the graphql client
|
11710
|
+
* @param id - required id to pass to customView
|
11711
|
+
*/
|
11712
|
+
export declare class CustomView_ViewPreferencesValuesQuery extends Request {
|
11713
|
+
private _id;
|
11714
|
+
constructor(request: LinearRequest, id: string);
|
11715
|
+
/**
|
11716
|
+
* Call the CustomView_ViewPreferencesValues query and return a ViewPreferencesValues
|
11717
|
+
*
|
11718
|
+
* @returns parsed response from CustomView_ViewPreferencesValuesQuery
|
11719
|
+
*/
|
11720
|
+
fetch(): LinearFetch<ViewPreferencesValues | undefined>;
|
11721
|
+
}
|
11722
|
+
/**
|
11723
|
+
* A fetchable CustomView_OrganizationViewPreferences_Preferences Query
|
11724
|
+
*
|
11725
|
+
* @param request - function to call the graphql client
|
11726
|
+
* @param id - required id to pass to customView_organizationViewPreferences
|
11727
|
+
*/
|
11728
|
+
export declare class CustomView_OrganizationViewPreferences_PreferencesQuery extends Request {
|
11729
|
+
private _id;
|
11730
|
+
constructor(request: LinearRequest, id: string);
|
11731
|
+
/**
|
11732
|
+
* Call the CustomView_OrganizationViewPreferences_Preferences query and return a ViewPreferencesValues
|
11733
|
+
*
|
11734
|
+
* @returns parsed response from CustomView_OrganizationViewPreferences_PreferencesQuery
|
11735
|
+
*/
|
11736
|
+
fetch(): LinearFetch<ViewPreferencesValues | undefined>;
|
11737
|
+
}
|
11738
|
+
/**
|
11739
|
+
* A fetchable CustomView_UserViewPreferences_Preferences Query
|
11740
|
+
*
|
11741
|
+
* @param request - function to call the graphql client
|
11742
|
+
* @param id - required id to pass to customView_userViewPreferences
|
11743
|
+
*/
|
11744
|
+
export declare class CustomView_UserViewPreferences_PreferencesQuery extends Request {
|
11745
|
+
private _id;
|
11746
|
+
constructor(request: LinearRequest, id: string);
|
11747
|
+
/**
|
11748
|
+
* Call the CustomView_UserViewPreferences_Preferences query and return a ViewPreferencesValues
|
11749
|
+
*
|
11750
|
+
* @returns parsed response from CustomView_UserViewPreferences_PreferencesQuery
|
11751
|
+
*/
|
11752
|
+
fetch(): LinearFetch<ViewPreferencesValues | undefined>;
|
11753
|
+
}
|
11194
11754
|
/**
|
11195
11755
|
* A fetchable Cycle_Issues Query
|
11196
11756
|
*
|
@@ -11835,6 +12395,22 @@ export declare class Project_ProjectUpdatesQuery extends Request {
|
|
11835
12395
|
*/
|
11836
12396
|
fetch(variables?: Omit<L.Project_ProjectUpdatesQueryVariables, "id">): LinearFetch<ProjectUpdateConnection>;
|
11837
12397
|
}
|
12398
|
+
/**
|
12399
|
+
* A fetchable Project_Status Query
|
12400
|
+
*
|
12401
|
+
* @param request - function to call the graphql client
|
12402
|
+
* @param id - required id to pass to project
|
12403
|
+
*/
|
12404
|
+
export declare class Project_StatusQuery extends Request {
|
12405
|
+
private _id;
|
12406
|
+
constructor(request: LinearRequest, id: string);
|
12407
|
+
/**
|
12408
|
+
* Call the Project_Status query and return a ProjectStatus
|
12409
|
+
*
|
12410
|
+
* @returns parsed response from Project_StatusQuery
|
12411
|
+
*/
|
12412
|
+
fetch(): LinearFetch<ProjectStatus>;
|
12413
|
+
}
|
11838
12414
|
/**
|
11839
12415
|
* A fetchable Project_Teams Query
|
11840
12416
|
*
|
@@ -11873,6 +12449,25 @@ export declare class ProjectMilestone_IssuesQuery extends Request {
|
|
11873
12449
|
*/
|
11874
12450
|
fetch(variables?: Omit<L.ProjectMilestone_IssuesQueryVariables, "id">): LinearFetch<IssueConnection>;
|
11875
12451
|
}
|
12452
|
+
/**
|
12453
|
+
* A fetchable ProjectUpdate_Comments Query
|
12454
|
+
*
|
12455
|
+
* @param request - function to call the graphql client
|
12456
|
+
* @param id - required id to pass to projectUpdate
|
12457
|
+
* @param variables - variables without 'id' to pass into the ProjectUpdate_CommentsQuery
|
12458
|
+
*/
|
12459
|
+
export declare class ProjectUpdate_CommentsQuery extends Request {
|
12460
|
+
private _id;
|
12461
|
+
private _variables?;
|
12462
|
+
constructor(request: LinearRequest, id: string, variables?: Omit<L.ProjectUpdate_CommentsQueryVariables, "id">);
|
12463
|
+
/**
|
12464
|
+
* Call the ProjectUpdate_Comments query and return a CommentConnection
|
12465
|
+
*
|
12466
|
+
* @param variables - variables without 'id' to pass into the ProjectUpdate_CommentsQuery
|
12467
|
+
* @returns parsed response from ProjectUpdate_CommentsQuery
|
12468
|
+
*/
|
12469
|
+
fetch(variables?: Omit<L.ProjectUpdate_CommentsQueryVariables, "id">): LinearFetch<CommentConnection>;
|
12470
|
+
}
|
11876
12471
|
/**
|
11877
12472
|
* A fetchable Roadmap_Projects Query
|
11878
12473
|
*
|
@@ -12480,6 +13075,13 @@ export declare class LinearSdk extends Request {
|
|
12480
13075
|
* @returns EmojiConnection
|
12481
13076
|
*/
|
12482
13077
|
emojis(variables?: L.EmojisQueryVariables): LinearFetch<EmojiConnection>;
|
13078
|
+
/**
|
13079
|
+
* One specific entity link.
|
13080
|
+
*
|
13081
|
+
* @param id - required id to pass to entityExternalLink
|
13082
|
+
* @returns EntityExternalLink
|
13083
|
+
*/
|
13084
|
+
entityExternalLink(id: string): LinearFetch<EntityExternalLink>;
|
12483
13085
|
/**
|
12484
13086
|
* One specific external user.
|
12485
13087
|
*
|
@@ -12650,7 +13252,7 @@ export declare class LinearSdk extends Request {
|
|
12650
13252
|
* @param id - required id to pass to notification
|
12651
13253
|
* @returns Notification
|
12652
13254
|
*/
|
12653
|
-
notification(id: string): LinearFetch<IssueNotification | OauthClientApprovalNotification | ProjectNotification | Notification>;
|
13255
|
+
notification(id: string): LinearFetch<DocumentNotification | IssueNotification | OauthClientApprovalNotification | ProjectNotification | Notification>;
|
12654
13256
|
/**
|
12655
13257
|
* One specific notification subscription.
|
12656
13258
|
*
|
@@ -12741,6 +13343,20 @@ export declare class LinearSdk extends Request {
|
|
12741
13343
|
* @returns ProjectMilestoneConnection
|
12742
13344
|
*/
|
12743
13345
|
projectMilestones(variables?: L.ProjectMilestonesQueryVariables): LinearFetch<ProjectMilestoneConnection>;
|
13346
|
+
/**
|
13347
|
+
* One specific project relation.
|
13348
|
+
*
|
13349
|
+
* @param id - required id to pass to projectRelation
|
13350
|
+
* @returns ProjectRelation
|
13351
|
+
*/
|
13352
|
+
projectRelation(id: string): LinearFetch<ProjectRelation>;
|
13353
|
+
/**
|
13354
|
+
* All project relationships.
|
13355
|
+
*
|
13356
|
+
* @param variables - variables to pass into the ProjectRelationsQuery
|
13357
|
+
* @returns ProjectRelationConnection
|
13358
|
+
*/
|
13359
|
+
projectRelations(variables?: L.ProjectRelationsQueryVariables): LinearFetch<ProjectRelationConnection>;
|
12744
13360
|
/**
|
12745
13361
|
* A specific project update.
|
12746
13362
|
*
|
@@ -13298,6 +13914,28 @@ export declare class LinearSdk extends Request {
|
|
13298
13914
|
* @returns DeletePayload
|
13299
13915
|
*/
|
13300
13916
|
deleteEmoji(id: string): LinearFetch<DeletePayload>;
|
13917
|
+
/**
|
13918
|
+
* Creates a new entity link.
|
13919
|
+
*
|
13920
|
+
* @param input - required input to pass to createEntityExternalLink
|
13921
|
+
* @returns EntityExternalLinkPayload
|
13922
|
+
*/
|
13923
|
+
createEntityExternalLink(input: L.EntityExternalLinkCreateInput): LinearFetch<EntityExternalLinkPayload>;
|
13924
|
+
/**
|
13925
|
+
* Deletes an entity link.
|
13926
|
+
*
|
13927
|
+
* @param id - required id to pass to deleteEntityExternalLink
|
13928
|
+
* @returns DeletePayload
|
13929
|
+
*/
|
13930
|
+
deleteEntityExternalLink(id: string): LinearFetch<DeletePayload>;
|
13931
|
+
/**
|
13932
|
+
* Updates an entity link.
|
13933
|
+
*
|
13934
|
+
* @param id - required id to pass to updateEntityExternalLink
|
13935
|
+
* @param input - required input to pass to updateEntityExternalLink
|
13936
|
+
* @returns EntityExternalLinkPayload
|
13937
|
+
*/
|
13938
|
+
updateEntityExternalLink(id: string, input: L.EntityExternalLinkUpdateInput): LinearFetch<EntityExternalLinkPayload>;
|
13301
13939
|
/**
|
13302
13940
|
* Creates a new favorite (project, cycle etc).
|
13303
13941
|
*
|
@@ -13766,9 +14404,10 @@ export declare class LinearSdk extends Request {
|
|
13766
14404
|
*
|
13767
14405
|
* @param id - required id to pass to updateIssueLabel
|
13768
14406
|
* @param input - required input to pass to updateIssueLabel
|
14407
|
+
* @param variables - variables without 'id', 'input' to pass into the UpdateIssueLabelMutation
|
13769
14408
|
* @returns IssueLabelPayload
|
13770
14409
|
*/
|
13771
|
-
updateIssueLabel(id: string, input: L.IssueLabelUpdateInput): LinearFetch<IssueLabelPayload>;
|
14410
|
+
updateIssueLabel(id: string, input: L.IssueLabelUpdateInput, variables?: Omit<L.UpdateIssueLabelMutationVariables, "id" | "input">): LinearFetch<IssueLabelPayload>;
|
13772
14411
|
/**
|
13773
14412
|
* Creates a new issue relation.
|
13774
14413
|
*
|