@linear/sdk 19.3.0 → 21.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 +1326 -96
- package/dist/_generated_documents.d.ts.map +1 -1
- package/dist/_generated_sdk.d.ts +1089 -18
- package/dist/_generated_sdk.d.ts.map +1 -1
- package/dist/index-cjs.js +4283 -481
- 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 +4237 -482
- 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 +4284 -482
- 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
@@ -570,6 +570,19 @@ export declare class AuthOrganizationDomain extends Request {
|
|
570
570
|
verified: boolean;
|
571
571
|
authType: L.OrganizationDomainAuthType;
|
572
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;
|
585
|
+
}
|
573
586
|
/**
|
574
587
|
* An invitation to the organization that has been sent via email.
|
575
588
|
*
|
@@ -583,6 +596,19 @@ export declare class AuthOrganizationInvite extends Request {
|
|
583
596
|
/** The unique identifier of the entity. */
|
584
597
|
id: string;
|
585
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
|
+
}
|
586
612
|
/**
|
587
613
|
* AuthResolverResponse model
|
588
614
|
*
|
@@ -672,6 +698,8 @@ export declare class AuthenticationSession extends Request {
|
|
672
698
|
locationCountry?: string;
|
673
699
|
/** Location country code. */
|
674
700
|
locationCountryCode?: string;
|
701
|
+
/** Location region code. */
|
702
|
+
locationRegionCode?: string;
|
675
703
|
/** Name of the session, derived from the client and operating system */
|
676
704
|
name: string;
|
677
705
|
/** Operating system used for the session */
|
@@ -714,6 +742,8 @@ export declare class AuthenticationSessionResponse extends Request {
|
|
714
742
|
locationCountry?: string;
|
715
743
|
/** Location country code. */
|
716
744
|
locationCountryCode?: string;
|
745
|
+
/** Location region code. */
|
746
|
+
locationRegionCode?: string;
|
717
747
|
/** Name of the session, derived from the client and operating system */
|
718
748
|
name: string;
|
719
749
|
/** Operating system used for the session */
|
@@ -957,6 +987,12 @@ export declare class CustomView extends Request {
|
|
957
987
|
* been updated after creation.
|
958
988
|
*/
|
959
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;
|
960
996
|
/** The user who created the custom view. */
|
961
997
|
get creator(): LinearFetch<User> | undefined;
|
962
998
|
/** The organization of the custom view. */
|
@@ -1246,7 +1282,67 @@ export declare class DeletePayload extends Request {
|
|
1246
1282
|
success: boolean;
|
1247
1283
|
}
|
1248
1284
|
/**
|
1249
|
-
* A
|
1285
|
+
* A diary entry
|
1286
|
+
*
|
1287
|
+
* @param request - function to call the graphql client
|
1288
|
+
* @param data - L.DiaryEntryFragment response data
|
1289
|
+
*/
|
1290
|
+
export declare class DiaryEntry extends Request {
|
1291
|
+
private _user;
|
1292
|
+
constructor(request: LinearRequest, data: L.DiaryEntryFragment);
|
1293
|
+
/** The time at which the entity was archived. Null if the entity has not been archived. */
|
1294
|
+
archivedAt?: Date;
|
1295
|
+
/** The time at which the entity was created. */
|
1296
|
+
createdAt: Date;
|
1297
|
+
/** The date for which the entry is created */
|
1298
|
+
date: L.Scalars["TimelessDate"];
|
1299
|
+
/** The unique identifier of the entity. */
|
1300
|
+
id: string;
|
1301
|
+
/**
|
1302
|
+
* The last time at which the entity was meaningfully updated, i.e. for all changes of syncable properties except those
|
1303
|
+
* 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
|
1304
|
+
* been updated after creation.
|
1305
|
+
*/
|
1306
|
+
updatedAt: Date;
|
1307
|
+
/** The canonical url for the DiaryEntry. */
|
1308
|
+
url: string;
|
1309
|
+
/** The user who the diary belongs to. */
|
1310
|
+
get user(): LinearFetch<User> | undefined;
|
1311
|
+
/** Creates a new diary entry. */
|
1312
|
+
create(input: L.DiaryEntryCreateInput): LinearFetch<DiaryEntryPayload>;
|
1313
|
+
/** Deletes a diaryEntry. */
|
1314
|
+
delete(): LinearFetch<DeletePayload>;
|
1315
|
+
/** Updates a diaryEntry. */
|
1316
|
+
update(input: L.DiaryEntryUpdateInput): LinearFetch<DiaryEntryPayload>;
|
1317
|
+
}
|
1318
|
+
/**
|
1319
|
+
* DiaryEntryConnection model
|
1320
|
+
*
|
1321
|
+
* @param request - function to call the graphql client
|
1322
|
+
* @param fetch - function to trigger a refetch of this DiaryEntryConnection model
|
1323
|
+
* @param data - DiaryEntryConnection response data
|
1324
|
+
*/
|
1325
|
+
export declare class DiaryEntryConnection extends Connection<DiaryEntry> {
|
1326
|
+
constructor(request: LinearRequest, fetch: (connection?: LinearConnectionVariables) => LinearFetch<LinearConnection<DiaryEntry> | undefined>, data: L.DiaryEntryConnectionFragment);
|
1327
|
+
}
|
1328
|
+
/**
|
1329
|
+
* DiaryEntryPayload model
|
1330
|
+
*
|
1331
|
+
* @param request - function to call the graphql client
|
1332
|
+
* @param data - L.DiaryEntryPayloadFragment response data
|
1333
|
+
*/
|
1334
|
+
export declare class DiaryEntryPayload extends Request {
|
1335
|
+
private _diaryEntry;
|
1336
|
+
constructor(request: LinearRequest, data: L.DiaryEntryPayloadFragment);
|
1337
|
+
/** The identifier of the last sync operation. */
|
1338
|
+
lastSyncId: number;
|
1339
|
+
/** Whether the operation was successful. */
|
1340
|
+
success: boolean;
|
1341
|
+
/** The diary entry that was created or updated. */
|
1342
|
+
get diaryEntry(): LinearFetch<DiaryEntry> | undefined;
|
1343
|
+
}
|
1344
|
+
/**
|
1345
|
+
* A document that can be attached to different entities.
|
1250
1346
|
*
|
1251
1347
|
* @param request - function to call the graphql client
|
1252
1348
|
* @param data - L.DocumentFragment response data
|
@@ -1254,7 +1350,7 @@ export declare class DeletePayload extends Request {
|
|
1254
1350
|
export declare class Document extends Request {
|
1255
1351
|
private _creator;
|
1256
1352
|
private _lastAppliedTemplate?;
|
1257
|
-
private _project
|
1353
|
+
private _project?;
|
1258
1354
|
private _updatedBy;
|
1259
1355
|
constructor(request: LinearRequest, data: L.DocumentFragment);
|
1260
1356
|
/** The time at which the entity was archived. Null if the entity has not been archived. */
|
@@ -1273,7 +1369,7 @@ export declare class Document extends Request {
|
|
1273
1369
|
id: string;
|
1274
1370
|
/** The document's unique URL slug. */
|
1275
1371
|
slugId: string;
|
1276
|
-
/** The order of the item in the
|
1372
|
+
/** The order of the item in the resources list. */
|
1277
1373
|
sortOrder: number;
|
1278
1374
|
/** The document title. */
|
1279
1375
|
title: string;
|
@@ -1283,6 +1379,8 @@ export declare class Document extends Request {
|
|
1283
1379
|
* been updated after creation.
|
1284
1380
|
*/
|
1285
1381
|
updatedAt: Date;
|
1382
|
+
/** The canonical url for the document. */
|
1383
|
+
url: string;
|
1286
1384
|
/** The user who created the document. */
|
1287
1385
|
get creator(): LinearFetch<User> | undefined;
|
1288
1386
|
/** The last template that was applied to this document. */
|
@@ -1404,6 +1502,51 @@ export declare class DocumentContentHistoryType extends Request {
|
|
1404
1502
|
/** The UUID of the document content history entry. */
|
1405
1503
|
id: string;
|
1406
1504
|
}
|
1505
|
+
/**
|
1506
|
+
* A document related notification.
|
1507
|
+
*
|
1508
|
+
* @param request - function to call the graphql client
|
1509
|
+
* @param data - L.DocumentNotificationFragment response data
|
1510
|
+
*/
|
1511
|
+
export declare class DocumentNotification extends Request {
|
1512
|
+
private _actor?;
|
1513
|
+
private _externalUserActor?;
|
1514
|
+
private _user;
|
1515
|
+
constructor(request: LinearRequest, data: L.DocumentNotificationFragment);
|
1516
|
+
/** The time at which the entity was archived. Null if the entity has not been archived. */
|
1517
|
+
archivedAt?: Date;
|
1518
|
+
/** The time at which the entity was created. */
|
1519
|
+
createdAt: Date;
|
1520
|
+
/**
|
1521
|
+
* The time at when an email reminder for this notification was sent to the user. Null, if no email
|
1522
|
+
* reminder has been sent.
|
1523
|
+
*/
|
1524
|
+
emailedAt?: Date;
|
1525
|
+
/** The unique identifier of the entity. */
|
1526
|
+
id: string;
|
1527
|
+
/** The time at when the user marked the notification as read. Null, if the the user hasn't read the notification */
|
1528
|
+
readAt?: Date;
|
1529
|
+
/** The time until a notification will be snoozed. After that it will appear in the inbox again. */
|
1530
|
+
snoozedUntilAt?: Date;
|
1531
|
+
/** Notification type. */
|
1532
|
+
type: string;
|
1533
|
+
/** The time at which a notification was unsnoozed.. */
|
1534
|
+
unsnoozedAt?: Date;
|
1535
|
+
/**
|
1536
|
+
* The last time at which the entity was meaningfully updated, i.e. for all changes of syncable properties except those
|
1537
|
+
* 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
|
1538
|
+
* been updated after creation.
|
1539
|
+
*/
|
1540
|
+
updatedAt: Date;
|
1541
|
+
/** The bot that caused the notification. */
|
1542
|
+
botActor?: ActorBot;
|
1543
|
+
/** The user that caused the notification. */
|
1544
|
+
get actor(): LinearFetch<User> | undefined;
|
1545
|
+
/** The external user that caused the notification. */
|
1546
|
+
get externalUserActor(): LinearFetch<ExternalUser> | undefined;
|
1547
|
+
/** The user that received the notification. */
|
1548
|
+
get user(): LinearFetch<User> | undefined;
|
1549
|
+
}
|
1407
1550
|
/**
|
1408
1551
|
* DocumentPayload model
|
1409
1552
|
*
|
@@ -1444,7 +1587,7 @@ export declare class DocumentSearchPayload extends Request {
|
|
1444
1587
|
export declare class DocumentSearchResult extends Request {
|
1445
1588
|
private _creator;
|
1446
1589
|
private _lastAppliedTemplate?;
|
1447
|
-
private _project
|
1590
|
+
private _project?;
|
1448
1591
|
private _updatedBy;
|
1449
1592
|
constructor(request: LinearRequest, data: L.DocumentSearchResultFragment);
|
1450
1593
|
/** The time at which the entity was archived. Null if the entity has not been archived. */
|
@@ -1465,7 +1608,7 @@ export declare class DocumentSearchResult extends Request {
|
|
1465
1608
|
metadata: L.Scalars["JSONObject"];
|
1466
1609
|
/** The document's unique URL slug. */
|
1467
1610
|
slugId: string;
|
1468
|
-
/** The order of the item in the
|
1611
|
+
/** The order of the item in the resources list. */
|
1469
1612
|
sortOrder: number;
|
1470
1613
|
/** The document title. */
|
1471
1614
|
title: string;
|
@@ -1475,6 +1618,8 @@ export declare class DocumentSearchResult extends Request {
|
|
1475
1618
|
* been updated after creation.
|
1476
1619
|
*/
|
1477
1620
|
updatedAt: Date;
|
1621
|
+
/** The canonical url for the document. */
|
1622
|
+
url: string;
|
1478
1623
|
/** The user who created the document. */
|
1479
1624
|
get creator(): LinearFetch<User> | undefined;
|
1480
1625
|
/** The last template that was applied to this document. */
|
@@ -1658,6 +1803,68 @@ export declare class Entity extends Request {
|
|
1658
1803
|
*/
|
1659
1804
|
updatedAt: Date;
|
1660
1805
|
}
|
1806
|
+
/**
|
1807
|
+
* An external link for an entity like initiative, etc...
|
1808
|
+
*
|
1809
|
+
* @param request - function to call the graphql client
|
1810
|
+
* @param data - L.EntityExternalLinkFragment response data
|
1811
|
+
*/
|
1812
|
+
export declare class EntityExternalLink extends Request {
|
1813
|
+
private _creator;
|
1814
|
+
constructor(request: LinearRequest, data: L.EntityExternalLinkFragment);
|
1815
|
+
/** The time at which the entity was archived. Null if the entity has not been archived. */
|
1816
|
+
archivedAt?: Date;
|
1817
|
+
/** The time at which the entity was created. */
|
1818
|
+
createdAt: Date;
|
1819
|
+
/** The unique identifier of the entity. */
|
1820
|
+
id: string;
|
1821
|
+
/** The link's label. */
|
1822
|
+
label: string;
|
1823
|
+
/** The order of the item in the resources list. */
|
1824
|
+
sortOrder: number;
|
1825
|
+
/**
|
1826
|
+
* The last time at which the entity was meaningfully updated, i.e. for all changes of syncable properties except those
|
1827
|
+
* 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
|
1828
|
+
* been updated after creation.
|
1829
|
+
*/
|
1830
|
+
updatedAt: Date;
|
1831
|
+
/** The link's URL. */
|
1832
|
+
url: string;
|
1833
|
+
/** The user who created the link. */
|
1834
|
+
get creator(): LinearFetch<User> | undefined;
|
1835
|
+
/** Creates a new entity link. */
|
1836
|
+
create(input: L.EntityExternalLinkCreateInput): LinearFetch<EntityExternalLinkPayload>;
|
1837
|
+
/** Deletes an entity link. */
|
1838
|
+
delete(): LinearFetch<DeletePayload>;
|
1839
|
+
/** Updates an entity link. */
|
1840
|
+
update(input: L.EntityExternalLinkUpdateInput): LinearFetch<EntityExternalLinkPayload>;
|
1841
|
+
}
|
1842
|
+
/**
|
1843
|
+
* EntityExternalLinkConnection model
|
1844
|
+
*
|
1845
|
+
* @param request - function to call the graphql client
|
1846
|
+
* @param fetch - function to trigger a refetch of this EntityExternalLinkConnection model
|
1847
|
+
* @param data - EntityExternalLinkConnection response data
|
1848
|
+
*/
|
1849
|
+
export declare class EntityExternalLinkConnection extends Connection<EntityExternalLink> {
|
1850
|
+
constructor(request: LinearRequest, fetch: (connection?: LinearConnectionVariables) => LinearFetch<LinearConnection<EntityExternalLink> | undefined>, data: L.EntityExternalLinkConnectionFragment);
|
1851
|
+
}
|
1852
|
+
/**
|
1853
|
+
* EntityExternalLinkPayload model
|
1854
|
+
*
|
1855
|
+
* @param request - function to call the graphql client
|
1856
|
+
* @param data - L.EntityExternalLinkPayloadFragment response data
|
1857
|
+
*/
|
1858
|
+
export declare class EntityExternalLinkPayload extends Request {
|
1859
|
+
private _entityExternalLink;
|
1860
|
+
constructor(request: LinearRequest, data: L.EntityExternalLinkPayloadFragment);
|
1861
|
+
/** The identifier of the last sync operation. */
|
1862
|
+
lastSyncId: number;
|
1863
|
+
/** Whether the operation was successful. */
|
1864
|
+
success: boolean;
|
1865
|
+
/** The link that was created or updated. */
|
1866
|
+
get entityExternalLink(): LinearFetch<EntityExternalLink> | undefined;
|
1867
|
+
}
|
1661
1868
|
/**
|
1662
1869
|
* 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.
|
1663
1870
|
*
|
@@ -2431,6 +2638,10 @@ export declare class Issue extends Request {
|
|
2431
2638
|
priority: number;
|
2432
2639
|
/** Label for the priority. */
|
2433
2640
|
priorityLabel: string;
|
2641
|
+
/** The time at which the issue's SLA will breach. */
|
2642
|
+
slaBreachesAt?: Date;
|
2643
|
+
/** The time at which the issue's SLA began. */
|
2644
|
+
slaStartedAt?: Date;
|
2434
2645
|
/** The time until an issue will be snoozed in Triage view. */
|
2435
2646
|
snoozedUntilAt?: Date;
|
2436
2647
|
/** The order of the item in relation to other items in the organization. */
|
@@ -2664,6 +2875,7 @@ export declare class IssueHistory extends Request {
|
|
2664
2875
|
/** Changed issue relationships. */
|
2665
2876
|
relationChanges?: IssueRelationHistoryPayload[];
|
2666
2877
|
removedLabels?: IssueLabel[];
|
2878
|
+
triageResponsibilityNotifiedUsers?: User[];
|
2667
2879
|
/** The bot that performed the action. */
|
2668
2880
|
botActor?: ActorBot;
|
2669
2881
|
/** The import record. */
|
@@ -2842,7 +3054,7 @@ export declare class IssueLabel extends Request {
|
|
2842
3054
|
/** Deletes an issue label. */
|
2843
3055
|
delete(): LinearFetch<DeletePayload>;
|
2844
3056
|
/** Updates an label. */
|
2845
|
-
update(input: L.IssueLabelUpdateInput): LinearFetch<IssueLabelPayload>;
|
3057
|
+
update(input: L.IssueLabelUpdateInput, variables?: Omit<L.UpdateIssueLabelMutationVariables, "id" | "input">): LinearFetch<IssueLabelPayload>;
|
2846
3058
|
}
|
2847
3059
|
/**
|
2848
3060
|
* IssueLabelConnection model
|
@@ -3107,6 +3319,10 @@ export declare class IssueSearchResult extends Request {
|
|
3107
3319
|
priority: number;
|
3108
3320
|
/** Label for the priority. */
|
3109
3321
|
priorityLabel: string;
|
3322
|
+
/** The time at which the issue's SLA will breach. */
|
3323
|
+
slaBreachesAt?: Date;
|
3324
|
+
/** The time at which the issue's SLA began. */
|
3325
|
+
slaStartedAt?: Date;
|
3110
3326
|
/** The time until an issue will be snoozed in Triage view. */
|
3111
3327
|
snoozedUntilAt?: Date;
|
3112
3328
|
/** The order of the item in relation to other items in the organization. */
|
@@ -3388,8 +3604,8 @@ export declare class NotificationBatchActionPayload extends Request {
|
|
3388
3604
|
* @param fetch - function to trigger a refetch of this NotificationConnection model
|
3389
3605
|
* @param data - NotificationConnection response data
|
3390
3606
|
*/
|
3391
|
-
export declare class NotificationConnection extends Connection<IssueNotification | OauthClientApprovalNotification | ProjectNotification | Notification> {
|
3392
|
-
constructor(request: LinearRequest, fetch: (connection?: LinearConnectionVariables) => LinearFetch<LinearConnection<IssueNotification | OauthClientApprovalNotification | ProjectNotification | Notification> | undefined>, data: L.NotificationConnectionFragment);
|
3607
|
+
export declare class NotificationConnection extends Connection<DocumentNotification | IssueNotification | OauthClientApprovalNotification | ProjectNotification | Notification> {
|
3608
|
+
constructor(request: LinearRequest, fetch: (connection?: LinearConnectionVariables) => LinearFetch<LinearConnection<DocumentNotification | IssueNotification | OauthClientApprovalNotification | ProjectNotification | Notification> | undefined>, data: L.NotificationConnectionFragment);
|
3393
3609
|
}
|
3394
3610
|
/**
|
3395
3611
|
* NotificationPayload model
|
@@ -3648,6 +3864,8 @@ export declare class OauthToken extends Request {
|
|
3648
3864
|
createdAt: Date;
|
3649
3865
|
id: number;
|
3650
3866
|
revokedAt?: Date;
|
3867
|
+
/** Scopes associated with the access token. */
|
3868
|
+
scope: string[];
|
3651
3869
|
/** Id of the user who authorized the OAuth application. */
|
3652
3870
|
userId: string;
|
3653
3871
|
/** OAuth2 client for which the access token belongs to. */
|
@@ -3724,6 +3942,8 @@ export declare class Organization extends Request {
|
|
3724
3942
|
urlKey: string;
|
3725
3943
|
/** Number of active users in the organization. */
|
3726
3944
|
userCount: number;
|
3945
|
+
/** The organization's project statuses. */
|
3946
|
+
projectStatuses: ProjectStatus[];
|
3727
3947
|
/** The organization's subscription to a paid plan. */
|
3728
3948
|
subscription?: PaidSubscription;
|
3729
3949
|
/** The day at which to prompt for project updates. */
|
@@ -4145,6 +4365,8 @@ export declare class Project extends Request {
|
|
4145
4365
|
updatedAt: Date;
|
4146
4366
|
/** Project URL. */
|
4147
4367
|
url: string;
|
4368
|
+
/** The status that the project is associated with. */
|
4369
|
+
status: ProjectStatus;
|
4148
4370
|
/** The project was created based on this issue. */
|
4149
4371
|
get convertedFromIssue(): LinearFetch<Issue> | undefined;
|
4150
4372
|
/** The user who created the project. */
|
@@ -4467,6 +4689,71 @@ export declare class ProjectPayload extends Request {
|
|
4467
4689
|
/** The project that was created or updated. */
|
4468
4690
|
get project(): LinearFetch<Project> | undefined;
|
4469
4691
|
}
|
4692
|
+
/**
|
4693
|
+
* A relation between two projects.
|
4694
|
+
*
|
4695
|
+
* @param request - function to call the graphql client
|
4696
|
+
* @param data - L.ProjectRelationFragment response data
|
4697
|
+
*/
|
4698
|
+
export declare class ProjectRelation extends Request {
|
4699
|
+
private _project;
|
4700
|
+
private _projectMilestone?;
|
4701
|
+
private _relatedProject;
|
4702
|
+
private _relatedProjectMilestone?;
|
4703
|
+
constructor(request: LinearRequest, data: L.ProjectRelationFragment);
|
4704
|
+
/** The type of anchor on the project end of the relation. */
|
4705
|
+
anchorType: string;
|
4706
|
+
/** The time at which the entity was archived. Null if the entity has not been archived. */
|
4707
|
+
archivedAt?: Date;
|
4708
|
+
/** The time at which the entity was created. */
|
4709
|
+
createdAt: Date;
|
4710
|
+
/** The unique identifier of the entity. */
|
4711
|
+
id: string;
|
4712
|
+
/** The type of anchor on the relatedProject end of the relation. */
|
4713
|
+
relatedAnchorType: string;
|
4714
|
+
/** The relationship of the project with the related project. */
|
4715
|
+
type: string;
|
4716
|
+
/**
|
4717
|
+
* The last time at which the entity was meaningfully updated, i.e. for all changes of syncable properties except those
|
4718
|
+
* 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
|
4719
|
+
* been updated after creation.
|
4720
|
+
*/
|
4721
|
+
updatedAt: Date;
|
4722
|
+
/** The project whose relationship is being described. */
|
4723
|
+
get project(): LinearFetch<Project> | undefined;
|
4724
|
+
/** The milestone within the project whose relationship is being described. */
|
4725
|
+
get projectMilestone(): LinearFetch<ProjectMilestone> | undefined;
|
4726
|
+
/** The related project. */
|
4727
|
+
get relatedProject(): LinearFetch<Project> | undefined;
|
4728
|
+
/** The milestone within the related project whose relationship is being described. */
|
4729
|
+
get relatedProjectMilestone(): LinearFetch<ProjectMilestone> | undefined;
|
4730
|
+
}
|
4731
|
+
/**
|
4732
|
+
* ProjectRelationConnection model
|
4733
|
+
*
|
4734
|
+
* @param request - function to call the graphql client
|
4735
|
+
* @param fetch - function to trigger a refetch of this ProjectRelationConnection model
|
4736
|
+
* @param data - ProjectRelationConnection response data
|
4737
|
+
*/
|
4738
|
+
export declare class ProjectRelationConnection extends Connection<ProjectRelation> {
|
4739
|
+
constructor(request: LinearRequest, fetch: (connection?: LinearConnectionVariables) => LinearFetch<LinearConnection<ProjectRelation> | undefined>, data: L.ProjectRelationConnectionFragment);
|
4740
|
+
}
|
4741
|
+
/**
|
4742
|
+
* ProjectRelationPayload model
|
4743
|
+
*
|
4744
|
+
* @param request - function to call the graphql client
|
4745
|
+
* @param data - L.ProjectRelationPayloadFragment response data
|
4746
|
+
*/
|
4747
|
+
export declare class ProjectRelationPayload extends Request {
|
4748
|
+
private _projectRelation;
|
4749
|
+
constructor(request: LinearRequest, data: L.ProjectRelationPayloadFragment);
|
4750
|
+
/** The identifier of the last sync operation. */
|
4751
|
+
lastSyncId: number;
|
4752
|
+
/** Whether the operation was successful. */
|
4753
|
+
success: boolean;
|
4754
|
+
/** The project relation that was created or updated. */
|
4755
|
+
get projectRelation(): LinearFetch<ProjectRelation> | undefined;
|
4756
|
+
}
|
4470
4757
|
/**
|
4471
4758
|
* ProjectSearchPayload model
|
4472
4759
|
*
|
@@ -4564,6 +4851,8 @@ export declare class ProjectSearchResult extends Request {
|
|
4564
4851
|
updatedAt: Date;
|
4565
4852
|
/** Project URL. */
|
4566
4853
|
url: string;
|
4854
|
+
/** The status that the project is associated with. */
|
4855
|
+
status: ProjectStatus;
|
4567
4856
|
/** The project was created based on this issue. */
|
4568
4857
|
get convertedFromIssue(): LinearFetch<Issue> | undefined;
|
4569
4858
|
/** The user who created the project. */
|
@@ -4587,6 +4876,49 @@ export declare class ProjectSearchResult extends Request {
|
|
4587
4876
|
export declare class ProjectSearchResultConnection extends Connection<ProjectSearchResult> {
|
4588
4877
|
constructor(request: LinearRequest, fetch: (connection?: LinearConnectionVariables) => LinearFetch<LinearConnection<ProjectSearchResult> | undefined>, data: L.ProjectSearchResultConnectionFragment);
|
4589
4878
|
}
|
4879
|
+
/**
|
4880
|
+
* A project status.
|
4881
|
+
*
|
4882
|
+
* @param request - function to call the graphql client
|
4883
|
+
* @param data - L.ProjectStatusFragment response data
|
4884
|
+
*/
|
4885
|
+
export declare class ProjectStatus extends Request {
|
4886
|
+
constructor(request: LinearRequest, data: L.ProjectStatusFragment);
|
4887
|
+
/** The time at which the entity was archived. Null if the entity has not been archived. */
|
4888
|
+
archivedAt?: Date;
|
4889
|
+
/** The UI color of the status as a HEX string. */
|
4890
|
+
color: string;
|
4891
|
+
/** The time at which the entity was created. */
|
4892
|
+
createdAt: Date;
|
4893
|
+
/** Description of the status. */
|
4894
|
+
description?: string;
|
4895
|
+
/** The unique identifier of the entity. */
|
4896
|
+
id: string;
|
4897
|
+
/** Whether or not a project can be in this status indefinitely. */
|
4898
|
+
indefinite: boolean;
|
4899
|
+
/** The name of the status. */
|
4900
|
+
name: string;
|
4901
|
+
/** The position of the status in the workspace's project flow. */
|
4902
|
+
position: number;
|
4903
|
+
/**
|
4904
|
+
* The last time at which the entity was meaningfully updated, i.e. for all changes of syncable properties except those
|
4905
|
+
* 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
|
4906
|
+
* been updated after creation.
|
4907
|
+
*/
|
4908
|
+
updatedAt: Date;
|
4909
|
+
/** The type of the project status. */
|
4910
|
+
type: L.ProjectStatusType;
|
4911
|
+
}
|
4912
|
+
/**
|
4913
|
+
* ProjectStatusConnection model
|
4914
|
+
*
|
4915
|
+
* @param request - function to call the graphql client
|
4916
|
+
* @param fetch - function to trigger a refetch of this ProjectStatusConnection model
|
4917
|
+
* @param data - ProjectStatusConnection response data
|
4918
|
+
*/
|
4919
|
+
export declare class ProjectStatusConnection extends Connection<ProjectStatus> {
|
4920
|
+
constructor(request: LinearRequest, fetch: (connection?: LinearConnectionVariables) => LinearFetch<LinearConnection<ProjectStatus> | undefined>, data: L.ProjectStatusConnectionFragment);
|
4921
|
+
}
|
4590
4922
|
/**
|
4591
4923
|
* A update associated with an project.
|
4592
4924
|
*
|
@@ -4613,6 +4945,8 @@ export declare class ProjectUpdate extends Request {
|
|
4613
4945
|
id: string;
|
4614
4946
|
/** Whether project update diff should be hidden. */
|
4615
4947
|
isDiffHidden: boolean;
|
4948
|
+
/** Emoji reaction summary, grouped by emoji type. */
|
4949
|
+
reactionData: L.Scalars["JSONObject"];
|
4616
4950
|
/**
|
4617
4951
|
* The last time at which the entity was meaningfully updated, i.e. for all changes of syncable properties except those
|
4618
4952
|
* 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
|
@@ -4627,6 +4961,8 @@ export declare class ProjectUpdate extends Request {
|
|
4627
4961
|
get project(): LinearFetch<Project> | undefined;
|
4628
4962
|
/** The user who wrote the update. */
|
4629
4963
|
get user(): LinearFetch<User> | undefined;
|
4964
|
+
/** Comments associated with the project update. */
|
4965
|
+
comments(variables?: Omit<L.ProjectUpdate_CommentsQueryVariables, "id">): LinearFetch<CommentConnection>;
|
4630
4966
|
/** Creates a new project update. */
|
4631
4967
|
create(input: L.ProjectUpdateCreateInput): LinearFetch<ProjectUpdatePayload>;
|
4632
4968
|
/** Deletes a project update. */
|
@@ -4908,6 +5244,43 @@ export declare class ReactionPayload extends Request {
|
|
4908
5244
|
success: boolean;
|
4909
5245
|
reaction: Reaction;
|
4910
5246
|
}
|
5247
|
+
/**
|
5248
|
+
* A reminder that can be attached to different entities.
|
5249
|
+
*
|
5250
|
+
* @param request - function to call the graphql client
|
5251
|
+
* @param data - L.ReminderFragment response data
|
5252
|
+
*/
|
5253
|
+
export declare class Reminder extends Request {
|
5254
|
+
private _documentId?;
|
5255
|
+
private _issueId?;
|
5256
|
+
private _projectId?;
|
5257
|
+
private _user;
|
5258
|
+
constructor(request: LinearRequest, data: L.ReminderFragment);
|
5259
|
+
/** The time at which the entity was archived. Null if the entity has not been archived. */
|
5260
|
+
archivedAt?: Date;
|
5261
|
+
/** The reminder's comment. */
|
5262
|
+
comment?: string;
|
5263
|
+
/** The time at which the entity was created. */
|
5264
|
+
createdAt: Date;
|
5265
|
+
/** The unique identifier of the entity. */
|
5266
|
+
id: string;
|
5267
|
+
/** The time when a reminder triggers a notification in users inbox. */
|
5268
|
+
remindAt: Date;
|
5269
|
+
/**
|
5270
|
+
* The last time at which the entity was meaningfully updated, i.e. for all changes of syncable properties except those
|
5271
|
+
* 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
|
5272
|
+
* been updated after creation.
|
5273
|
+
*/
|
5274
|
+
updatedAt: Date;
|
5275
|
+
/** The document that the reminder is associated with. */
|
5276
|
+
get documentId(): LinearFetch<Document> | undefined;
|
5277
|
+
/** The issue that the reminder is associated with. */
|
5278
|
+
get issueId(): LinearFetch<Issue> | undefined;
|
5279
|
+
/** The project that the reminder is associated with. */
|
5280
|
+
get projectId(): LinearFetch<Project> | undefined;
|
5281
|
+
/** The user that created a reminder. */
|
5282
|
+
get user(): LinearFetch<User> | undefined;
|
5283
|
+
}
|
4911
5284
|
/**
|
4912
5285
|
* A roadmap for projects.
|
4913
5286
|
*
|
@@ -4940,6 +5313,8 @@ export declare class Roadmap extends Request {
|
|
4940
5313
|
* been updated after creation.
|
4941
5314
|
*/
|
4942
5315
|
updatedAt: Date;
|
5316
|
+
/** The canonical url for the roadmap. */
|
5317
|
+
url: string;
|
4943
5318
|
/** The user who created the roadmap. */
|
4944
5319
|
get creator(): LinearFetch<User> | undefined;
|
4945
5320
|
/** The organization of the roadmap. */
|
@@ -5162,7 +5537,7 @@ export declare class SlackChannelNameMapping extends Request {
|
|
5162
5537
|
autoCreateOnMessage?: boolean;
|
5163
5538
|
/** The optional template ID to use for Asks auto-created in this channel. If not set, auto-created Asks won't use any template. */
|
5164
5539
|
autoCreateTemplateId?: string;
|
5165
|
-
/** Whether or not
|
5540
|
+
/** Whether or not the Linear Asks bot has been added to this Slack channel. */
|
5166
5541
|
botAdded?: boolean;
|
5167
5542
|
/** The Slack channel ID. */
|
5168
5543
|
id: string;
|
@@ -5172,6 +5547,8 @@ export declare class SlackChannelNameMapping extends Request {
|
|
5172
5547
|
isShared?: boolean;
|
5173
5548
|
/** The Slack channel name. */
|
5174
5549
|
name: string;
|
5550
|
+
/** Whether or not synced Slack threads should be updated with a message and emoji when their Ask is canceled. */
|
5551
|
+
postCancellationUpdates?: boolean;
|
5175
5552
|
/** Which teams are connected to the channel and settings for those teams. */
|
5176
5553
|
teams: SlackAsksTeamSettings[];
|
5177
5554
|
}
|
@@ -5262,6 +5639,7 @@ export declare class Team extends Request {
|
|
5262
5639
|
private _reviewWorkflowState?;
|
5263
5640
|
private _startWorkflowState?;
|
5264
5641
|
private _triageIssueState?;
|
5642
|
+
private _triageResponsibility?;
|
5265
5643
|
constructor(request: LinearRequest, data: L.TeamFragment);
|
5266
5644
|
/** The time at which the entity was archived. Null if the entity has not been archived. */
|
5267
5645
|
archivedAt?: Date;
|
@@ -5327,6 +5705,8 @@ export declare class Team extends Request {
|
|
5327
5705
|
private: boolean;
|
5328
5706
|
/** Whether an issue needs to have a priority set before leaving triage. */
|
5329
5707
|
requirePriorityToLeaveTriage: boolean;
|
5708
|
+
/** Whether the team is managed by SCIM integration. */
|
5709
|
+
scimManaged: boolean;
|
5330
5710
|
/** Where to move issues when changing state. */
|
5331
5711
|
setIssueSortOrderOnStateChange: string;
|
5332
5712
|
/** Whether to send new issue comment notifications to Slack. */
|
@@ -5375,6 +5755,8 @@ export declare class Team extends Request {
|
|
5375
5755
|
get startWorkflowState(): LinearFetch<WorkflowState> | undefined;
|
5376
5756
|
/** The workflow state into which issues are set when they are opened by non-team members or integrations if triage is enabled. */
|
5377
5757
|
get triageIssueState(): LinearFetch<WorkflowState> | undefined;
|
5758
|
+
/** Team's triage responsibility. */
|
5759
|
+
get triageResponsibility(): LinearFetch<TriageResponsibility> | undefined;
|
5378
5760
|
/** Cycles associated with the team. */
|
5379
5761
|
cycles(variables?: Omit<L.Team_CyclesQueryVariables, "id">): LinearFetch<CycleConnection>;
|
5380
5762
|
/** The Git automation states for the team. */
|
@@ -5597,6 +5979,8 @@ export declare class Template extends Request {
|
|
5597
5979
|
id: string;
|
5598
5980
|
/** The name of the template. */
|
5599
5981
|
name: string;
|
5982
|
+
/** The sort order of the template. */
|
5983
|
+
sortOrder: number;
|
5600
5984
|
/** Template data. */
|
5601
5985
|
templateData: Record<string, unknown>;
|
5602
5986
|
/** The entity type this template is for. */
|
@@ -5681,6 +6065,12 @@ export declare class TimeSchedule extends Request {
|
|
5681
6065
|
get integration(): LinearFetch<Integration> | undefined;
|
5682
6066
|
/** The organization of the schedule. */
|
5683
6067
|
get organization(): LinearFetch<Organization>;
|
6068
|
+
/** Creates a new time schedule. */
|
6069
|
+
create(input: L.TimeScheduleCreateInput): LinearFetch<TimeSchedulePayload>;
|
6070
|
+
/** Deletes a time schedule. */
|
6071
|
+
delete(): LinearFetch<DeletePayload>;
|
6072
|
+
/** Updates a time schedule. */
|
6073
|
+
update(input: L.TimeScheduleUpdateInput): LinearFetch<TimeSchedulePayload>;
|
5684
6074
|
}
|
5685
6075
|
/**
|
5686
6076
|
* TimeScheduleConnection model
|
@@ -5716,11 +6106,13 @@ export declare class TimeScheduleEntry extends Request {
|
|
5716
6106
|
* @param data - L.TimeSchedulePayloadFragment response data
|
5717
6107
|
*/
|
5718
6108
|
export declare class TimeSchedulePayload extends Request {
|
6109
|
+
private _timeSchedule;
|
5719
6110
|
constructor(request: LinearRequest, data: L.TimeSchedulePayloadFragment);
|
5720
6111
|
/** The identifier of the last sync operation. */
|
5721
6112
|
lastSyncId: number;
|
5722
6113
|
/** Whether the operation was successful. */
|
5723
6114
|
success: boolean;
|
6115
|
+
get timeSchedule(): LinearFetch<TimeSchedule> | undefined;
|
5724
6116
|
}
|
5725
6117
|
/**
|
5726
6118
|
* A team's triage responsibility.
|
@@ -5731,6 +6123,7 @@ export declare class TimeSchedulePayload extends Request {
|
|
5731
6123
|
export declare class TriageResponsibility extends Request {
|
5732
6124
|
private _currentUser?;
|
5733
6125
|
private _team;
|
6126
|
+
private _timeSchedule?;
|
5734
6127
|
constructor(request: LinearRequest, data: L.TriageResponsibilityFragment);
|
5735
6128
|
/** The time at which the entity was archived. Null if the entity has not been archived. */
|
5736
6129
|
archivedAt?: Date;
|
@@ -5752,6 +6145,14 @@ export declare class TriageResponsibility extends Request {
|
|
5752
6145
|
get currentUser(): LinearFetch<User> | undefined;
|
5753
6146
|
/** The team to which the triage responsibility belongs to. */
|
5754
6147
|
get team(): LinearFetch<Team> | undefined;
|
6148
|
+
/** The time schedule used for scheduling. */
|
6149
|
+
get timeSchedule(): LinearFetch<TimeSchedule> | undefined;
|
6150
|
+
/** Creates a new triage responsibility. */
|
6151
|
+
create(input: L.TriageResponsibilityCreateInput): LinearFetch<TriageResponsibilityPayload>;
|
6152
|
+
/** Deletes a triage responsibility. */
|
6153
|
+
delete(): LinearFetch<DeletePayload>;
|
6154
|
+
/** Updates an existing triage responsibility. */
|
6155
|
+
update(input: L.TriageResponsibilityUpdateInput): LinearFetch<TriageResponsibilityPayload>;
|
5755
6156
|
}
|
5756
6157
|
/**
|
5757
6158
|
* TriageResponsibilityConnection model
|
@@ -5781,11 +6182,13 @@ export declare class TriageResponsibilityManualSelection extends Request {
|
|
5781
6182
|
* @param data - L.TriageResponsibilityPayloadFragment response data
|
5782
6183
|
*/
|
5783
6184
|
export declare class TriageResponsibilityPayload extends Request {
|
6185
|
+
private _triageResponsibility;
|
5784
6186
|
constructor(request: LinearRequest, data: L.TriageResponsibilityPayloadFragment);
|
5785
6187
|
/** The identifier of the last sync operation. */
|
5786
6188
|
lastSyncId: number;
|
5787
6189
|
/** Whether the operation was successful. */
|
5788
6190
|
success: boolean;
|
6191
|
+
get triageResponsibility(): LinearFetch<TriageResponsibility> | undefined;
|
5789
6192
|
}
|
5790
6193
|
/**
|
5791
6194
|
* Object representing Google Cloud upload policy, plus additional data.
|
@@ -6167,6 +6570,8 @@ export declare class ViewPreferences extends Request {
|
|
6167
6570
|
updatedAt: Date;
|
6168
6571
|
/** The view type. */
|
6169
6572
|
viewType: string;
|
6573
|
+
/** The view preferences */
|
6574
|
+
preferences: ViewPreferencesValues;
|
6170
6575
|
/** Creates a new ViewPreferences object. */
|
6171
6576
|
create(input: L.ViewPreferencesCreateInput): LinearFetch<ViewPreferencesPayload>;
|
6172
6577
|
/** Deletes a ViewPreferences. */
|
@@ -6189,6 +6594,21 @@ export declare class ViewPreferencesPayload extends Request {
|
|
6189
6594
|
/** The view preferences entity being mutated. */
|
6190
6595
|
viewPreferences: ViewPreferences;
|
6191
6596
|
}
|
6597
|
+
/**
|
6598
|
+
* ViewPreferencesValues model
|
6599
|
+
*
|
6600
|
+
* @param request - function to call the graphql client
|
6601
|
+
* @param data - L.ViewPreferencesValuesFragment response data
|
6602
|
+
*/
|
6603
|
+
export declare class ViewPreferencesValues extends Request {
|
6604
|
+
constructor(request: LinearRequest, data: L.ViewPreferencesValuesFragment);
|
6605
|
+
/** The issue grouping. */
|
6606
|
+
issueGrouping?: string;
|
6607
|
+
/** Whether to show completed issues. */
|
6608
|
+
showCompletedIssues?: string;
|
6609
|
+
/** The issue ordering. */
|
6610
|
+
viewOrdering?: string;
|
6611
|
+
}
|
6192
6612
|
/**
|
6193
6613
|
* A webhook used to send HTTP notifications over data updates.
|
6194
6614
|
*
|
@@ -6777,6 +7197,21 @@ export declare class CyclesQuery extends Request {
|
|
6777
7197
|
*/
|
6778
7198
|
fetch(variables?: L.CyclesQueryVariables): LinearFetch<CycleConnection>;
|
6779
7199
|
}
|
7200
|
+
/**
|
7201
|
+
* A fetchable DiaryEntry Query
|
7202
|
+
*
|
7203
|
+
* @param request - function to call the graphql client
|
7204
|
+
*/
|
7205
|
+
export declare class DiaryEntryQuery extends Request {
|
7206
|
+
constructor(request: LinearRequest);
|
7207
|
+
/**
|
7208
|
+
* Call the DiaryEntry query and return a DiaryEntry
|
7209
|
+
*
|
7210
|
+
* @param id - required id to pass to diaryEntry
|
7211
|
+
* @returns parsed response from DiaryEntryQuery
|
7212
|
+
*/
|
7213
|
+
fetch(id: string): LinearFetch<DiaryEntry>;
|
7214
|
+
}
|
6780
7215
|
/**
|
6781
7216
|
* A fetchable Document Query
|
6782
7217
|
*
|
@@ -6852,6 +7287,21 @@ export declare class EmojisQuery extends Request {
|
|
6852
7287
|
*/
|
6853
7288
|
fetch(variables?: L.EmojisQueryVariables): LinearFetch<EmojiConnection>;
|
6854
7289
|
}
|
7290
|
+
/**
|
7291
|
+
* A fetchable EntityExternalLink Query
|
7292
|
+
*
|
7293
|
+
* @param request - function to call the graphql client
|
7294
|
+
*/
|
7295
|
+
export declare class EntityExternalLinkQuery extends Request {
|
7296
|
+
constructor(request: LinearRequest);
|
7297
|
+
/**
|
7298
|
+
* Call the EntityExternalLink query and return a EntityExternalLink
|
7299
|
+
*
|
7300
|
+
* @param id - required id to pass to entityExternalLink
|
7301
|
+
* @returns parsed response from EntityExternalLinkQuery
|
7302
|
+
*/
|
7303
|
+
fetch(id: string): LinearFetch<EntityExternalLink>;
|
7304
|
+
}
|
6855
7305
|
/**
|
6856
7306
|
* A fetchable ExternalUser Query
|
6857
7307
|
*
|
@@ -7213,7 +7663,7 @@ export declare class NotificationQuery extends Request {
|
|
7213
7663
|
* @param id - required id to pass to notification
|
7214
7664
|
* @returns parsed response from NotificationQuery
|
7215
7665
|
*/
|
7216
|
-
fetch(id: string): LinearFetch<IssueNotification | OauthClientApprovalNotification | ProjectNotification | Notification>;
|
7666
|
+
fetch(id: string): LinearFetch<DocumentNotification | IssueNotification | OauthClientApprovalNotification | ProjectNotification | Notification>;
|
7217
7667
|
}
|
7218
7668
|
/**
|
7219
7669
|
* A fetchable NotificationSubscription Query
|
@@ -7410,17 +7860,47 @@ export declare class ProjectMilestonesQuery extends Request {
|
|
7410
7860
|
fetch(variables?: L.ProjectMilestonesQueryVariables): LinearFetch<ProjectMilestoneConnection>;
|
7411
7861
|
}
|
7412
7862
|
/**
|
7413
|
-
* A fetchable
|
7863
|
+
* A fetchable ProjectRelation Query
|
7414
7864
|
*
|
7415
7865
|
* @param request - function to call the graphql client
|
7416
7866
|
*/
|
7417
|
-
export declare class
|
7867
|
+
export declare class ProjectRelationQuery extends Request {
|
7418
7868
|
constructor(request: LinearRequest);
|
7419
7869
|
/**
|
7420
|
-
* Call the
|
7870
|
+
* Call the ProjectRelation query and return a ProjectRelation
|
7421
7871
|
*
|
7422
|
-
* @param id - required id to pass to
|
7423
|
-
* @returns parsed response from
|
7872
|
+
* @param id - required id to pass to projectRelation
|
7873
|
+
* @returns parsed response from ProjectRelationQuery
|
7874
|
+
*/
|
7875
|
+
fetch(id: string): LinearFetch<ProjectRelation>;
|
7876
|
+
}
|
7877
|
+
/**
|
7878
|
+
* A fetchable ProjectRelations Query
|
7879
|
+
*
|
7880
|
+
* @param request - function to call the graphql client
|
7881
|
+
*/
|
7882
|
+
export declare class ProjectRelationsQuery extends Request {
|
7883
|
+
constructor(request: LinearRequest);
|
7884
|
+
/**
|
7885
|
+
* Call the ProjectRelations query and return a ProjectRelationConnection
|
7886
|
+
*
|
7887
|
+
* @param variables - variables to pass into the ProjectRelationsQuery
|
7888
|
+
* @returns parsed response from ProjectRelationsQuery
|
7889
|
+
*/
|
7890
|
+
fetch(variables?: L.ProjectRelationsQueryVariables): LinearFetch<ProjectRelationConnection>;
|
7891
|
+
}
|
7892
|
+
/**
|
7893
|
+
* A fetchable ProjectUpdate Query
|
7894
|
+
*
|
7895
|
+
* @param request - function to call the graphql client
|
7896
|
+
*/
|
7897
|
+
export declare class ProjectUpdateQuery extends Request {
|
7898
|
+
constructor(request: LinearRequest);
|
7899
|
+
/**
|
7900
|
+
* Call the ProjectUpdate query and return a ProjectUpdate
|
7901
|
+
*
|
7902
|
+
* @param id - required id to pass to projectUpdate
|
7903
|
+
* @returns parsed response from ProjectUpdateQuery
|
7424
7904
|
*/
|
7425
7905
|
fetch(id: string): LinearFetch<ProjectUpdate>;
|
7426
7906
|
}
|
@@ -7741,6 +8221,66 @@ export declare class TemplatesForIntegrationQuery extends Request {
|
|
7741
8221
|
*/
|
7742
8222
|
fetch(integrationType: string): LinearFetch<Template[]>;
|
7743
8223
|
}
|
8224
|
+
/**
|
8225
|
+
* A fetchable TimeSchedule Query
|
8226
|
+
*
|
8227
|
+
* @param request - function to call the graphql client
|
8228
|
+
*/
|
8229
|
+
export declare class TimeScheduleQuery extends Request {
|
8230
|
+
constructor(request: LinearRequest);
|
8231
|
+
/**
|
8232
|
+
* Call the TimeSchedule query and return a TimeSchedule
|
8233
|
+
*
|
8234
|
+
* @param id - required id to pass to timeSchedule
|
8235
|
+
* @returns parsed response from TimeScheduleQuery
|
8236
|
+
*/
|
8237
|
+
fetch(id: string): LinearFetch<TimeSchedule>;
|
8238
|
+
}
|
8239
|
+
/**
|
8240
|
+
* A fetchable TimeSchedules Query
|
8241
|
+
*
|
8242
|
+
* @param request - function to call the graphql client
|
8243
|
+
*/
|
8244
|
+
export declare class TimeSchedulesQuery extends Request {
|
8245
|
+
constructor(request: LinearRequest);
|
8246
|
+
/**
|
8247
|
+
* Call the TimeSchedules query and return a TimeScheduleConnection
|
8248
|
+
*
|
8249
|
+
* @param variables - variables to pass into the TimeSchedulesQuery
|
8250
|
+
* @returns parsed response from TimeSchedulesQuery
|
8251
|
+
*/
|
8252
|
+
fetch(variables?: L.TimeSchedulesQueryVariables): LinearFetch<TimeScheduleConnection>;
|
8253
|
+
}
|
8254
|
+
/**
|
8255
|
+
* A fetchable TriageResponsibilities Query
|
8256
|
+
*
|
8257
|
+
* @param request - function to call the graphql client
|
8258
|
+
*/
|
8259
|
+
export declare class TriageResponsibilitiesQuery extends Request {
|
8260
|
+
constructor(request: LinearRequest);
|
8261
|
+
/**
|
8262
|
+
* Call the TriageResponsibilities query and return a TriageResponsibilityConnection
|
8263
|
+
*
|
8264
|
+
* @param variables - variables to pass into the TriageResponsibilitiesQuery
|
8265
|
+
* @returns parsed response from TriageResponsibilitiesQuery
|
8266
|
+
*/
|
8267
|
+
fetch(variables?: L.TriageResponsibilitiesQueryVariables): LinearFetch<TriageResponsibilityConnection>;
|
8268
|
+
}
|
8269
|
+
/**
|
8270
|
+
* A fetchable TriageResponsibility Query
|
8271
|
+
*
|
8272
|
+
* @param request - function to call the graphql client
|
8273
|
+
*/
|
8274
|
+
export declare class TriageResponsibilityQuery extends Request {
|
8275
|
+
constructor(request: LinearRequest);
|
8276
|
+
/**
|
8277
|
+
* Call the TriageResponsibility query and return a TriageResponsibility
|
8278
|
+
*
|
8279
|
+
* @param id - required id to pass to triageResponsibility
|
8280
|
+
* @returns parsed response from TriageResponsibilityQuery
|
8281
|
+
*/
|
8282
|
+
fetch(id: string): LinearFetch<TriageResponsibility>;
|
8283
|
+
}
|
7744
8284
|
/**
|
7745
8285
|
* A fetchable User Query
|
7746
8286
|
*
|
@@ -8384,6 +8924,52 @@ export declare class UpdateCycleMutation extends Request {
|
|
8384
8924
|
*/
|
8385
8925
|
fetch(id: string, input: L.CycleUpdateInput): LinearFetch<CyclePayload>;
|
8386
8926
|
}
|
8927
|
+
/**
|
8928
|
+
* A fetchable CreateDiaryEntry Mutation
|
8929
|
+
*
|
8930
|
+
* @param request - function to call the graphql client
|
8931
|
+
*/
|
8932
|
+
export declare class CreateDiaryEntryMutation extends Request {
|
8933
|
+
constructor(request: LinearRequest);
|
8934
|
+
/**
|
8935
|
+
* Call the CreateDiaryEntry mutation and return a DiaryEntryPayload
|
8936
|
+
*
|
8937
|
+
* @param input - required input to pass to createDiaryEntry
|
8938
|
+
* @returns parsed response from CreateDiaryEntryMutation
|
8939
|
+
*/
|
8940
|
+
fetch(input: L.DiaryEntryCreateInput): LinearFetch<DiaryEntryPayload>;
|
8941
|
+
}
|
8942
|
+
/**
|
8943
|
+
* A fetchable DeleteDiaryEntry Mutation
|
8944
|
+
*
|
8945
|
+
* @param request - function to call the graphql client
|
8946
|
+
*/
|
8947
|
+
export declare class DeleteDiaryEntryMutation extends Request {
|
8948
|
+
constructor(request: LinearRequest);
|
8949
|
+
/**
|
8950
|
+
* Call the DeleteDiaryEntry mutation and return a DeletePayload
|
8951
|
+
*
|
8952
|
+
* @param id - required id to pass to deleteDiaryEntry
|
8953
|
+
* @returns parsed response from DeleteDiaryEntryMutation
|
8954
|
+
*/
|
8955
|
+
fetch(id: string): LinearFetch<DeletePayload>;
|
8956
|
+
}
|
8957
|
+
/**
|
8958
|
+
* A fetchable UpdateDiaryEntry Mutation
|
8959
|
+
*
|
8960
|
+
* @param request - function to call the graphql client
|
8961
|
+
*/
|
8962
|
+
export declare class UpdateDiaryEntryMutation extends Request {
|
8963
|
+
constructor(request: LinearRequest);
|
8964
|
+
/**
|
8965
|
+
* Call the UpdateDiaryEntry mutation and return a DiaryEntryPayload
|
8966
|
+
*
|
8967
|
+
* @param id - required id to pass to updateDiaryEntry
|
8968
|
+
* @param input - required input to pass to updateDiaryEntry
|
8969
|
+
* @returns parsed response from UpdateDiaryEntryMutation
|
8970
|
+
*/
|
8971
|
+
fetch(id: string, input: L.DiaryEntryUpdateInput): LinearFetch<DiaryEntryPayload>;
|
8972
|
+
}
|
8387
8973
|
/**
|
8388
8974
|
* A fetchable CreateDocument Mutation
|
8389
8975
|
*
|
@@ -8414,6 +9000,22 @@ export declare class DeleteDocumentMutation extends Request {
|
|
8414
9000
|
*/
|
8415
9001
|
fetch(id: string): LinearFetch<DeletePayload>;
|
8416
9002
|
}
|
9003
|
+
/**
|
9004
|
+
* A fetchable DocumentReminder Mutation
|
9005
|
+
*
|
9006
|
+
* @param request - function to call the graphql client
|
9007
|
+
*/
|
9008
|
+
export declare class DocumentReminderMutation extends Request {
|
9009
|
+
constructor(request: LinearRequest);
|
9010
|
+
/**
|
9011
|
+
* Call the DocumentReminder mutation and return a DocumentPayload
|
9012
|
+
*
|
9013
|
+
* @param id - required id to pass to documentReminder
|
9014
|
+
* @param reminderAt - required reminderAt to pass to documentReminder
|
9015
|
+
* @returns parsed response from DocumentReminderMutation
|
9016
|
+
*/
|
9017
|
+
fetch(id: string, reminderAt: Date): LinearFetch<DocumentPayload>;
|
9018
|
+
}
|
8417
9019
|
/**
|
8418
9020
|
* A fetchable UpdateDocument Mutation
|
8419
9021
|
*
|
@@ -8566,6 +9168,52 @@ export declare class DeleteEmojiMutation extends Request {
|
|
8566
9168
|
*/
|
8567
9169
|
fetch(id: string): LinearFetch<DeletePayload>;
|
8568
9170
|
}
|
9171
|
+
/**
|
9172
|
+
* A fetchable CreateEntityExternalLink Mutation
|
9173
|
+
*
|
9174
|
+
* @param request - function to call the graphql client
|
9175
|
+
*/
|
9176
|
+
export declare class CreateEntityExternalLinkMutation extends Request {
|
9177
|
+
constructor(request: LinearRequest);
|
9178
|
+
/**
|
9179
|
+
* Call the CreateEntityExternalLink mutation and return a EntityExternalLinkPayload
|
9180
|
+
*
|
9181
|
+
* @param input - required input to pass to createEntityExternalLink
|
9182
|
+
* @returns parsed response from CreateEntityExternalLinkMutation
|
9183
|
+
*/
|
9184
|
+
fetch(input: L.EntityExternalLinkCreateInput): LinearFetch<EntityExternalLinkPayload>;
|
9185
|
+
}
|
9186
|
+
/**
|
9187
|
+
* A fetchable DeleteEntityExternalLink Mutation
|
9188
|
+
*
|
9189
|
+
* @param request - function to call the graphql client
|
9190
|
+
*/
|
9191
|
+
export declare class DeleteEntityExternalLinkMutation extends Request {
|
9192
|
+
constructor(request: LinearRequest);
|
9193
|
+
/**
|
9194
|
+
* Call the DeleteEntityExternalLink mutation and return a DeletePayload
|
9195
|
+
*
|
9196
|
+
* @param id - required id to pass to deleteEntityExternalLink
|
9197
|
+
* @returns parsed response from DeleteEntityExternalLinkMutation
|
9198
|
+
*/
|
9199
|
+
fetch(id: string): LinearFetch<DeletePayload>;
|
9200
|
+
}
|
9201
|
+
/**
|
9202
|
+
* A fetchable UpdateEntityExternalLink Mutation
|
9203
|
+
*
|
9204
|
+
* @param request - function to call the graphql client
|
9205
|
+
*/
|
9206
|
+
export declare class UpdateEntityExternalLinkMutation extends Request {
|
9207
|
+
constructor(request: LinearRequest);
|
9208
|
+
/**
|
9209
|
+
* Call the UpdateEntityExternalLink mutation and return a EntityExternalLinkPayload
|
9210
|
+
*
|
9211
|
+
* @param id - required id to pass to updateEntityExternalLink
|
9212
|
+
* @param input - required input to pass to updateEntityExternalLink
|
9213
|
+
* @returns parsed response from UpdateEntityExternalLinkMutation
|
9214
|
+
*/
|
9215
|
+
fetch(id: string, input: L.EntityExternalLinkUpdateInput): LinearFetch<EntityExternalLinkPayload>;
|
9216
|
+
}
|
8569
9217
|
/**
|
8570
9218
|
* A fetchable CreateFavorite Mutation
|
8571
9219
|
*
|
@@ -9513,9 +10161,10 @@ export declare class UpdateIssueLabelMutation extends Request {
|
|
9513
10161
|
*
|
9514
10162
|
* @param id - required id to pass to updateIssueLabel
|
9515
10163
|
* @param input - required input to pass to updateIssueLabel
|
10164
|
+
* @param variables - variables without 'id', 'input' to pass into the UpdateIssueLabelMutation
|
9516
10165
|
* @returns parsed response from UpdateIssueLabelMutation
|
9517
10166
|
*/
|
9518
|
-
fetch(id: string, input: L.IssueLabelUpdateInput): LinearFetch<IssueLabelPayload>;
|
10167
|
+
fetch(id: string, input: L.IssueLabelUpdateInput, variables?: Omit<L.UpdateIssueLabelMutationVariables, "id" | "input">): LinearFetch<IssueLabelPayload>;
|
9519
10168
|
}
|
9520
10169
|
/**
|
9521
10170
|
* A fetchable CreateIssueRelation Mutation
|
@@ -10705,6 +11354,129 @@ export declare class UpdateTemplateMutation extends Request {
|
|
10705
11354
|
*/
|
10706
11355
|
fetch(id: string, input: L.TemplateUpdateInput): LinearFetch<TemplatePayload>;
|
10707
11356
|
}
|
11357
|
+
/**
|
11358
|
+
* A fetchable CreateTimeSchedule Mutation
|
11359
|
+
*
|
11360
|
+
* @param request - function to call the graphql client
|
11361
|
+
*/
|
11362
|
+
export declare class CreateTimeScheduleMutation extends Request {
|
11363
|
+
constructor(request: LinearRequest);
|
11364
|
+
/**
|
11365
|
+
* Call the CreateTimeSchedule mutation and return a TimeSchedulePayload
|
11366
|
+
*
|
11367
|
+
* @param input - required input to pass to createTimeSchedule
|
11368
|
+
* @returns parsed response from CreateTimeScheduleMutation
|
11369
|
+
*/
|
11370
|
+
fetch(input: L.TimeScheduleCreateInput): LinearFetch<TimeSchedulePayload>;
|
11371
|
+
}
|
11372
|
+
/**
|
11373
|
+
* A fetchable DeleteTimeSchedule Mutation
|
11374
|
+
*
|
11375
|
+
* @param request - function to call the graphql client
|
11376
|
+
*/
|
11377
|
+
export declare class DeleteTimeScheduleMutation extends Request {
|
11378
|
+
constructor(request: LinearRequest);
|
11379
|
+
/**
|
11380
|
+
* Call the DeleteTimeSchedule mutation and return a DeletePayload
|
11381
|
+
*
|
11382
|
+
* @param id - required id to pass to deleteTimeSchedule
|
11383
|
+
* @returns parsed response from DeleteTimeScheduleMutation
|
11384
|
+
*/
|
11385
|
+
fetch(id: string): LinearFetch<DeletePayload>;
|
11386
|
+
}
|
11387
|
+
/**
|
11388
|
+
* A fetchable TimeScheduleRefreshIntegrationSchedule Mutation
|
11389
|
+
*
|
11390
|
+
* @param request - function to call the graphql client
|
11391
|
+
*/
|
11392
|
+
export declare class TimeScheduleRefreshIntegrationScheduleMutation extends Request {
|
11393
|
+
constructor(request: LinearRequest);
|
11394
|
+
/**
|
11395
|
+
* Call the TimeScheduleRefreshIntegrationSchedule mutation and return a TimeSchedulePayload
|
11396
|
+
*
|
11397
|
+
* @param id - required id to pass to timeScheduleRefreshIntegrationSchedule
|
11398
|
+
* @returns parsed response from TimeScheduleRefreshIntegrationScheduleMutation
|
11399
|
+
*/
|
11400
|
+
fetch(id: string): LinearFetch<TimeSchedulePayload>;
|
11401
|
+
}
|
11402
|
+
/**
|
11403
|
+
* A fetchable UpdateTimeSchedule Mutation
|
11404
|
+
*
|
11405
|
+
* @param request - function to call the graphql client
|
11406
|
+
*/
|
11407
|
+
export declare class UpdateTimeScheduleMutation extends Request {
|
11408
|
+
constructor(request: LinearRequest);
|
11409
|
+
/**
|
11410
|
+
* Call the UpdateTimeSchedule mutation and return a TimeSchedulePayload
|
11411
|
+
*
|
11412
|
+
* @param id - required id to pass to updateTimeSchedule
|
11413
|
+
* @param input - required input to pass to updateTimeSchedule
|
11414
|
+
* @returns parsed response from UpdateTimeScheduleMutation
|
11415
|
+
*/
|
11416
|
+
fetch(id: string, input: L.TimeScheduleUpdateInput): LinearFetch<TimeSchedulePayload>;
|
11417
|
+
}
|
11418
|
+
/**
|
11419
|
+
* A fetchable TimeScheduleUpsertExternal Mutation
|
11420
|
+
*
|
11421
|
+
* @param request - function to call the graphql client
|
11422
|
+
*/
|
11423
|
+
export declare class TimeScheduleUpsertExternalMutation extends Request {
|
11424
|
+
constructor(request: LinearRequest);
|
11425
|
+
/**
|
11426
|
+
* Call the TimeScheduleUpsertExternal mutation and return a TimeSchedulePayload
|
11427
|
+
*
|
11428
|
+
* @param externalId - required externalId to pass to timeScheduleUpsertExternal
|
11429
|
+
* @param input - required input to pass to timeScheduleUpsertExternal
|
11430
|
+
* @returns parsed response from TimeScheduleUpsertExternalMutation
|
11431
|
+
*/
|
11432
|
+
fetch(externalId: string, input: L.TimeScheduleUpdateInput): LinearFetch<TimeSchedulePayload>;
|
11433
|
+
}
|
11434
|
+
/**
|
11435
|
+
* A fetchable CreateTriageResponsibility Mutation
|
11436
|
+
*
|
11437
|
+
* @param request - function to call the graphql client
|
11438
|
+
*/
|
11439
|
+
export declare class CreateTriageResponsibilityMutation extends Request {
|
11440
|
+
constructor(request: LinearRequest);
|
11441
|
+
/**
|
11442
|
+
* Call the CreateTriageResponsibility mutation and return a TriageResponsibilityPayload
|
11443
|
+
*
|
11444
|
+
* @param input - required input to pass to createTriageResponsibility
|
11445
|
+
* @returns parsed response from CreateTriageResponsibilityMutation
|
11446
|
+
*/
|
11447
|
+
fetch(input: L.TriageResponsibilityCreateInput): LinearFetch<TriageResponsibilityPayload>;
|
11448
|
+
}
|
11449
|
+
/**
|
11450
|
+
* A fetchable DeleteTriageResponsibility Mutation
|
11451
|
+
*
|
11452
|
+
* @param request - function to call the graphql client
|
11453
|
+
*/
|
11454
|
+
export declare class DeleteTriageResponsibilityMutation extends Request {
|
11455
|
+
constructor(request: LinearRequest);
|
11456
|
+
/**
|
11457
|
+
* Call the DeleteTriageResponsibility mutation and return a DeletePayload
|
11458
|
+
*
|
11459
|
+
* @param id - required id to pass to deleteTriageResponsibility
|
11460
|
+
* @returns parsed response from DeleteTriageResponsibilityMutation
|
11461
|
+
*/
|
11462
|
+
fetch(id: string): LinearFetch<DeletePayload>;
|
11463
|
+
}
|
11464
|
+
/**
|
11465
|
+
* A fetchable UpdateTriageResponsibility Mutation
|
11466
|
+
*
|
11467
|
+
* @param request - function to call the graphql client
|
11468
|
+
*/
|
11469
|
+
export declare class UpdateTriageResponsibilityMutation extends Request {
|
11470
|
+
constructor(request: LinearRequest);
|
11471
|
+
/**
|
11472
|
+
* Call the UpdateTriageResponsibility mutation and return a TriageResponsibilityPayload
|
11473
|
+
*
|
11474
|
+
* @param id - required id to pass to updateTriageResponsibility
|
11475
|
+
* @param input - required input to pass to updateTriageResponsibility
|
11476
|
+
* @returns parsed response from UpdateTriageResponsibilityMutation
|
11477
|
+
*/
|
11478
|
+
fetch(id: string, input: L.TriageResponsibilityUpdateInput): LinearFetch<TriageResponsibilityPayload>;
|
11479
|
+
}
|
10708
11480
|
/**
|
10709
11481
|
* A fetchable UserDemoteAdmin Mutation
|
10710
11482
|
*
|
@@ -11280,6 +12052,86 @@ export declare class CustomView_IssuesQuery extends Request {
|
|
11280
12052
|
*/
|
11281
12053
|
fetch(variables?: Omit<L.CustomView_IssuesQueryVariables, "id">): LinearFetch<IssueConnection>;
|
11282
12054
|
}
|
12055
|
+
/**
|
12056
|
+
* A fetchable CustomView_OrganizationViewPreferences Query
|
12057
|
+
*
|
12058
|
+
* @param request - function to call the graphql client
|
12059
|
+
* @param id - required id to pass to customView
|
12060
|
+
*/
|
12061
|
+
export declare class CustomView_OrganizationViewPreferencesQuery extends Request {
|
12062
|
+
private _id;
|
12063
|
+
constructor(request: LinearRequest, id: string);
|
12064
|
+
/**
|
12065
|
+
* Call the CustomView_OrganizationViewPreferences query and return a ViewPreferences
|
12066
|
+
*
|
12067
|
+
* @returns parsed response from CustomView_OrganizationViewPreferencesQuery
|
12068
|
+
*/
|
12069
|
+
fetch(): LinearFetch<ViewPreferences | undefined>;
|
12070
|
+
}
|
12071
|
+
/**
|
12072
|
+
* A fetchable CustomView_UserViewPreferences Query
|
12073
|
+
*
|
12074
|
+
* @param request - function to call the graphql client
|
12075
|
+
* @param id - required id to pass to customView
|
12076
|
+
*/
|
12077
|
+
export declare class CustomView_UserViewPreferencesQuery extends Request {
|
12078
|
+
private _id;
|
12079
|
+
constructor(request: LinearRequest, id: string);
|
12080
|
+
/**
|
12081
|
+
* Call the CustomView_UserViewPreferences query and return a ViewPreferences
|
12082
|
+
*
|
12083
|
+
* @returns parsed response from CustomView_UserViewPreferencesQuery
|
12084
|
+
*/
|
12085
|
+
fetch(): LinearFetch<ViewPreferences | undefined>;
|
12086
|
+
}
|
12087
|
+
/**
|
12088
|
+
* A fetchable CustomView_ViewPreferencesValues Query
|
12089
|
+
*
|
12090
|
+
* @param request - function to call the graphql client
|
12091
|
+
* @param id - required id to pass to customView
|
12092
|
+
*/
|
12093
|
+
export declare class CustomView_ViewPreferencesValuesQuery extends Request {
|
12094
|
+
private _id;
|
12095
|
+
constructor(request: LinearRequest, id: string);
|
12096
|
+
/**
|
12097
|
+
* Call the CustomView_ViewPreferencesValues query and return a ViewPreferencesValues
|
12098
|
+
*
|
12099
|
+
* @returns parsed response from CustomView_ViewPreferencesValuesQuery
|
12100
|
+
*/
|
12101
|
+
fetch(): LinearFetch<ViewPreferencesValues | undefined>;
|
12102
|
+
}
|
12103
|
+
/**
|
12104
|
+
* A fetchable CustomView_OrganizationViewPreferences_Preferences Query
|
12105
|
+
*
|
12106
|
+
* @param request - function to call the graphql client
|
12107
|
+
* @param id - required id to pass to customView_organizationViewPreferences
|
12108
|
+
*/
|
12109
|
+
export declare class CustomView_OrganizationViewPreferences_PreferencesQuery extends Request {
|
12110
|
+
private _id;
|
12111
|
+
constructor(request: LinearRequest, id: string);
|
12112
|
+
/**
|
12113
|
+
* Call the CustomView_OrganizationViewPreferences_Preferences query and return a ViewPreferencesValues
|
12114
|
+
*
|
12115
|
+
* @returns parsed response from CustomView_OrganizationViewPreferences_PreferencesQuery
|
12116
|
+
*/
|
12117
|
+
fetch(): LinearFetch<ViewPreferencesValues | undefined>;
|
12118
|
+
}
|
12119
|
+
/**
|
12120
|
+
* A fetchable CustomView_UserViewPreferences_Preferences Query
|
12121
|
+
*
|
12122
|
+
* @param request - function to call the graphql client
|
12123
|
+
* @param id - required id to pass to customView_userViewPreferences
|
12124
|
+
*/
|
12125
|
+
export declare class CustomView_UserViewPreferences_PreferencesQuery extends Request {
|
12126
|
+
private _id;
|
12127
|
+
constructor(request: LinearRequest, id: string);
|
12128
|
+
/**
|
12129
|
+
* Call the CustomView_UserViewPreferences_Preferences query and return a ViewPreferencesValues
|
12130
|
+
*
|
12131
|
+
* @returns parsed response from CustomView_UserViewPreferences_PreferencesQuery
|
12132
|
+
*/
|
12133
|
+
fetch(): LinearFetch<ViewPreferencesValues | undefined>;
|
12134
|
+
}
|
11283
12135
|
/**
|
11284
12136
|
* A fetchable Cycle_Issues Query
|
11285
12137
|
*
|
@@ -11924,6 +12776,22 @@ export declare class Project_ProjectUpdatesQuery extends Request {
|
|
11924
12776
|
*/
|
11925
12777
|
fetch(variables?: Omit<L.Project_ProjectUpdatesQueryVariables, "id">): LinearFetch<ProjectUpdateConnection>;
|
11926
12778
|
}
|
12779
|
+
/**
|
12780
|
+
* A fetchable Project_Status Query
|
12781
|
+
*
|
12782
|
+
* @param request - function to call the graphql client
|
12783
|
+
* @param id - required id to pass to project
|
12784
|
+
*/
|
12785
|
+
export declare class Project_StatusQuery extends Request {
|
12786
|
+
private _id;
|
12787
|
+
constructor(request: LinearRequest, id: string);
|
12788
|
+
/**
|
12789
|
+
* Call the Project_Status query and return a ProjectStatus
|
12790
|
+
*
|
12791
|
+
* @returns parsed response from Project_StatusQuery
|
12792
|
+
*/
|
12793
|
+
fetch(): LinearFetch<ProjectStatus>;
|
12794
|
+
}
|
11927
12795
|
/**
|
11928
12796
|
* A fetchable Project_Teams Query
|
11929
12797
|
*
|
@@ -11962,6 +12830,25 @@ export declare class ProjectMilestone_IssuesQuery extends Request {
|
|
11962
12830
|
*/
|
11963
12831
|
fetch(variables?: Omit<L.ProjectMilestone_IssuesQueryVariables, "id">): LinearFetch<IssueConnection>;
|
11964
12832
|
}
|
12833
|
+
/**
|
12834
|
+
* A fetchable ProjectUpdate_Comments Query
|
12835
|
+
*
|
12836
|
+
* @param request - function to call the graphql client
|
12837
|
+
* @param id - required id to pass to projectUpdate
|
12838
|
+
* @param variables - variables without 'id' to pass into the ProjectUpdate_CommentsQuery
|
12839
|
+
*/
|
12840
|
+
export declare class ProjectUpdate_CommentsQuery extends Request {
|
12841
|
+
private _id;
|
12842
|
+
private _variables?;
|
12843
|
+
constructor(request: LinearRequest, id: string, variables?: Omit<L.ProjectUpdate_CommentsQueryVariables, "id">);
|
12844
|
+
/**
|
12845
|
+
* Call the ProjectUpdate_Comments query and return a CommentConnection
|
12846
|
+
*
|
12847
|
+
* @param variables - variables without 'id' to pass into the ProjectUpdate_CommentsQuery
|
12848
|
+
* @returns parsed response from ProjectUpdate_CommentsQuery
|
12849
|
+
*/
|
12850
|
+
fetch(variables?: Omit<L.ProjectUpdate_CommentsQueryVariables, "id">): LinearFetch<CommentConnection>;
|
12851
|
+
}
|
11965
12852
|
/**
|
11966
12853
|
* A fetchable Roadmap_Projects Query
|
11967
12854
|
*
|
@@ -12228,6 +13115,22 @@ export declare class Team_WebhooksQuery extends Request {
|
|
12228
13115
|
*/
|
12229
13116
|
fetch(variables?: Omit<L.Team_WebhooksQueryVariables, "id">): LinearFetch<WebhookConnection>;
|
12230
13117
|
}
|
13118
|
+
/**
|
13119
|
+
* A fetchable TriageResponsibility_ManualSelection Query
|
13120
|
+
*
|
13121
|
+
* @param request - function to call the graphql client
|
13122
|
+
* @param id - required id to pass to triageResponsibility
|
13123
|
+
*/
|
13124
|
+
export declare class TriageResponsibility_ManualSelectionQuery extends Request {
|
13125
|
+
private _id;
|
13126
|
+
constructor(request: LinearRequest, id: string);
|
13127
|
+
/**
|
13128
|
+
* Call the TriageResponsibility_ManualSelection query and return a TriageResponsibilityManualSelection
|
13129
|
+
*
|
13130
|
+
* @returns parsed response from TriageResponsibility_ManualSelectionQuery
|
13131
|
+
*/
|
13132
|
+
fetch(): LinearFetch<TriageResponsibilityManualSelection | undefined>;
|
13133
|
+
}
|
12231
13134
|
/**
|
12232
13135
|
* A fetchable User_AssignedIssues Query
|
12233
13136
|
*
|
@@ -12534,6 +13437,13 @@ export declare class LinearSdk extends Request {
|
|
12534
13437
|
* @returns CycleConnection
|
12535
13438
|
*/
|
12536
13439
|
cycles(variables?: L.CyclesQueryVariables): LinearFetch<CycleConnection>;
|
13440
|
+
/**
|
13441
|
+
* One specific diary entry.
|
13442
|
+
*
|
13443
|
+
* @param id - required id to pass to diaryEntry
|
13444
|
+
* @returns DiaryEntry
|
13445
|
+
*/
|
13446
|
+
diaryEntry(id: string): LinearFetch<DiaryEntry>;
|
12537
13447
|
/**
|
12538
13448
|
* One specific document.
|
12539
13449
|
*
|
@@ -12569,6 +13479,13 @@ export declare class LinearSdk extends Request {
|
|
12569
13479
|
* @returns EmojiConnection
|
12570
13480
|
*/
|
12571
13481
|
emojis(variables?: L.EmojisQueryVariables): LinearFetch<EmojiConnection>;
|
13482
|
+
/**
|
13483
|
+
* One specific entity link.
|
13484
|
+
*
|
13485
|
+
* @param id - required id to pass to entityExternalLink
|
13486
|
+
* @returns EntityExternalLink
|
13487
|
+
*/
|
13488
|
+
entityExternalLink(id: string): LinearFetch<EntityExternalLink>;
|
12572
13489
|
/**
|
12573
13490
|
* One specific external user.
|
12574
13491
|
*
|
@@ -12739,7 +13656,7 @@ export declare class LinearSdk extends Request {
|
|
12739
13656
|
* @param id - required id to pass to notification
|
12740
13657
|
* @returns Notification
|
12741
13658
|
*/
|
12742
|
-
notification(id: string): LinearFetch<IssueNotification | OauthClientApprovalNotification | ProjectNotification | Notification>;
|
13659
|
+
notification(id: string): LinearFetch<DocumentNotification | IssueNotification | OauthClientApprovalNotification | ProjectNotification | Notification>;
|
12743
13660
|
/**
|
12744
13661
|
* One specific notification subscription.
|
12745
13662
|
*
|
@@ -12830,6 +13747,20 @@ export declare class LinearSdk extends Request {
|
|
12830
13747
|
* @returns ProjectMilestoneConnection
|
12831
13748
|
*/
|
12832
13749
|
projectMilestones(variables?: L.ProjectMilestonesQueryVariables): LinearFetch<ProjectMilestoneConnection>;
|
13750
|
+
/**
|
13751
|
+
* One specific project relation.
|
13752
|
+
*
|
13753
|
+
* @param id - required id to pass to projectRelation
|
13754
|
+
* @returns ProjectRelation
|
13755
|
+
*/
|
13756
|
+
projectRelation(id: string): LinearFetch<ProjectRelation>;
|
13757
|
+
/**
|
13758
|
+
* All project relationships.
|
13759
|
+
*
|
13760
|
+
* @param variables - variables to pass into the ProjectRelationsQuery
|
13761
|
+
* @returns ProjectRelationConnection
|
13762
|
+
*/
|
13763
|
+
projectRelations(variables?: L.ProjectRelationsQueryVariables): LinearFetch<ProjectRelationConnection>;
|
12833
13764
|
/**
|
12834
13765
|
* A specific project update.
|
12835
13766
|
*
|
@@ -12986,6 +13917,34 @@ export declare class LinearSdk extends Request {
|
|
12986
13917
|
* @returns Template[]
|
12987
13918
|
*/
|
12988
13919
|
templatesForIntegration(integrationType: string): LinearFetch<Template[]>;
|
13920
|
+
/**
|
13921
|
+
* A specific time schedule.
|
13922
|
+
*
|
13923
|
+
* @param id - required id to pass to timeSchedule
|
13924
|
+
* @returns TimeSchedule
|
13925
|
+
*/
|
13926
|
+
timeSchedule(id: string): LinearFetch<TimeSchedule>;
|
13927
|
+
/**
|
13928
|
+
* All time schedules.
|
13929
|
+
*
|
13930
|
+
* @param variables - variables to pass into the TimeSchedulesQuery
|
13931
|
+
* @returns TimeScheduleConnection
|
13932
|
+
*/
|
13933
|
+
timeSchedules(variables?: L.TimeSchedulesQueryVariables): LinearFetch<TimeScheduleConnection>;
|
13934
|
+
/**
|
13935
|
+
* All triage responsibilities.
|
13936
|
+
*
|
13937
|
+
* @param variables - variables to pass into the TriageResponsibilitiesQuery
|
13938
|
+
* @returns TriageResponsibilityConnection
|
13939
|
+
*/
|
13940
|
+
triageResponsibilities(variables?: L.TriageResponsibilitiesQueryVariables): LinearFetch<TriageResponsibilityConnection>;
|
13941
|
+
/**
|
13942
|
+
* A specific triage responsibility.
|
13943
|
+
*
|
13944
|
+
* @param id - required id to pass to triageResponsibility
|
13945
|
+
* @returns TriageResponsibility
|
13946
|
+
*/
|
13947
|
+
triageResponsibility(id: string): LinearFetch<TriageResponsibility>;
|
12989
13948
|
/**
|
12990
13949
|
* One specific user.
|
12991
13950
|
*
|
@@ -13301,6 +14260,28 @@ export declare class LinearSdk extends Request {
|
|
13301
14260
|
* @returns CyclePayload
|
13302
14261
|
*/
|
13303
14262
|
updateCycle(id: string, input: L.CycleUpdateInput): LinearFetch<CyclePayload>;
|
14263
|
+
/**
|
14264
|
+
* Creates a new diary entry.
|
14265
|
+
*
|
14266
|
+
* @param input - required input to pass to createDiaryEntry
|
14267
|
+
* @returns DiaryEntryPayload
|
14268
|
+
*/
|
14269
|
+
createDiaryEntry(input: L.DiaryEntryCreateInput): LinearFetch<DiaryEntryPayload>;
|
14270
|
+
/**
|
14271
|
+
* Deletes a diaryEntry.
|
14272
|
+
*
|
14273
|
+
* @param id - required id to pass to deleteDiaryEntry
|
14274
|
+
* @returns DeletePayload
|
14275
|
+
*/
|
14276
|
+
deleteDiaryEntry(id: string): LinearFetch<DeletePayload>;
|
14277
|
+
/**
|
14278
|
+
* Updates a diaryEntry.
|
14279
|
+
*
|
14280
|
+
* @param id - required id to pass to updateDiaryEntry
|
14281
|
+
* @param input - required input to pass to updateDiaryEntry
|
14282
|
+
* @returns DiaryEntryPayload
|
14283
|
+
*/
|
14284
|
+
updateDiaryEntry(id: string, input: L.DiaryEntryUpdateInput): LinearFetch<DiaryEntryPayload>;
|
13304
14285
|
/**
|
13305
14286
|
* Creates a new document.
|
13306
14287
|
*
|
@@ -13315,6 +14296,14 @@ export declare class LinearSdk extends Request {
|
|
13315
14296
|
* @returns DeletePayload
|
13316
14297
|
*/
|
13317
14298
|
deleteDocument(id: string): LinearFetch<DeletePayload>;
|
14299
|
+
/**
|
14300
|
+
* Adds a document reminder. Will cause a notification to be sent when the issue reminder time is reached.
|
14301
|
+
*
|
14302
|
+
* @param id - required id to pass to documentReminder
|
14303
|
+
* @param reminderAt - required reminderAt to pass to documentReminder
|
14304
|
+
* @returns DocumentPayload
|
14305
|
+
*/
|
14306
|
+
documentReminder(id: string, reminderAt: Date): LinearFetch<DocumentPayload>;
|
13318
14307
|
/**
|
13319
14308
|
* Updates a document.
|
13320
14309
|
*
|
@@ -13387,6 +14376,28 @@ export declare class LinearSdk extends Request {
|
|
13387
14376
|
* @returns DeletePayload
|
13388
14377
|
*/
|
13389
14378
|
deleteEmoji(id: string): LinearFetch<DeletePayload>;
|
14379
|
+
/**
|
14380
|
+
* Creates a new entity link.
|
14381
|
+
*
|
14382
|
+
* @param input - required input to pass to createEntityExternalLink
|
14383
|
+
* @returns EntityExternalLinkPayload
|
14384
|
+
*/
|
14385
|
+
createEntityExternalLink(input: L.EntityExternalLinkCreateInput): LinearFetch<EntityExternalLinkPayload>;
|
14386
|
+
/**
|
14387
|
+
* Deletes an entity link.
|
14388
|
+
*
|
14389
|
+
* @param id - required id to pass to deleteEntityExternalLink
|
14390
|
+
* @returns DeletePayload
|
14391
|
+
*/
|
14392
|
+
deleteEntityExternalLink(id: string): LinearFetch<DeletePayload>;
|
14393
|
+
/**
|
14394
|
+
* Updates an entity link.
|
14395
|
+
*
|
14396
|
+
* @param id - required id to pass to updateEntityExternalLink
|
14397
|
+
* @param input - required input to pass to updateEntityExternalLink
|
14398
|
+
* @returns EntityExternalLinkPayload
|
14399
|
+
*/
|
14400
|
+
updateEntityExternalLink(id: string, input: L.EntityExternalLinkUpdateInput): LinearFetch<EntityExternalLinkPayload>;
|
13390
14401
|
/**
|
13391
14402
|
* Creates a new favorite (project, cycle etc).
|
13392
14403
|
*
|
@@ -13855,9 +14866,10 @@ export declare class LinearSdk extends Request {
|
|
13855
14866
|
*
|
13856
14867
|
* @param id - required id to pass to updateIssueLabel
|
13857
14868
|
* @param input - required input to pass to updateIssueLabel
|
14869
|
+
* @param variables - variables without 'id', 'input' to pass into the UpdateIssueLabelMutation
|
13858
14870
|
* @returns IssueLabelPayload
|
13859
14871
|
*/
|
13860
|
-
updateIssueLabel(id: string, input: L.IssueLabelUpdateInput): LinearFetch<IssueLabelPayload>;
|
14872
|
+
updateIssueLabel(id: string, input: L.IssueLabelUpdateInput, variables?: Omit<L.UpdateIssueLabelMutationVariables, "id" | "input">): LinearFetch<IssueLabelPayload>;
|
13861
14873
|
/**
|
13862
14874
|
* Creates a new issue relation.
|
13863
14875
|
*
|
@@ -14422,6 +15434,65 @@ export declare class LinearSdk extends Request {
|
|
14422
15434
|
* @returns TemplatePayload
|
14423
15435
|
*/
|
14424
15436
|
updateTemplate(id: string, input: L.TemplateUpdateInput): LinearFetch<TemplatePayload>;
|
15437
|
+
/**
|
15438
|
+
* Creates a new time schedule.
|
15439
|
+
*
|
15440
|
+
* @param input - required input to pass to createTimeSchedule
|
15441
|
+
* @returns TimeSchedulePayload
|
15442
|
+
*/
|
15443
|
+
createTimeSchedule(input: L.TimeScheduleCreateInput): LinearFetch<TimeSchedulePayload>;
|
15444
|
+
/**
|
15445
|
+
* Deletes a time schedule.
|
15446
|
+
*
|
15447
|
+
* @param id - required id to pass to deleteTimeSchedule
|
15448
|
+
* @returns DeletePayload
|
15449
|
+
*/
|
15450
|
+
deleteTimeSchedule(id: string): LinearFetch<DeletePayload>;
|
15451
|
+
/**
|
15452
|
+
* Refresh the integration schedule information.
|
15453
|
+
*
|
15454
|
+
* @param id - required id to pass to timeScheduleRefreshIntegrationSchedule
|
15455
|
+
* @returns TimeSchedulePayload
|
15456
|
+
*/
|
15457
|
+
timeScheduleRefreshIntegrationSchedule(id: string): LinearFetch<TimeSchedulePayload>;
|
15458
|
+
/**
|
15459
|
+
* Updates a time schedule.
|
15460
|
+
*
|
15461
|
+
* @param id - required id to pass to updateTimeSchedule
|
15462
|
+
* @param input - required input to pass to updateTimeSchedule
|
15463
|
+
* @returns TimeSchedulePayload
|
15464
|
+
*/
|
15465
|
+
updateTimeSchedule(id: string, input: L.TimeScheduleUpdateInput): LinearFetch<TimeSchedulePayload>;
|
15466
|
+
/**
|
15467
|
+
* Upsert an external time schedule.
|
15468
|
+
*
|
15469
|
+
* @param externalId - required externalId to pass to timeScheduleUpsertExternal
|
15470
|
+
* @param input - required input to pass to timeScheduleUpsertExternal
|
15471
|
+
* @returns TimeSchedulePayload
|
15472
|
+
*/
|
15473
|
+
timeScheduleUpsertExternal(externalId: string, input: L.TimeScheduleUpdateInput): LinearFetch<TimeSchedulePayload>;
|
15474
|
+
/**
|
15475
|
+
* Creates a new triage responsibility.
|
15476
|
+
*
|
15477
|
+
* @param input - required input to pass to createTriageResponsibility
|
15478
|
+
* @returns TriageResponsibilityPayload
|
15479
|
+
*/
|
15480
|
+
createTriageResponsibility(input: L.TriageResponsibilityCreateInput): LinearFetch<TriageResponsibilityPayload>;
|
15481
|
+
/**
|
15482
|
+
* Deletes a triage responsibility.
|
15483
|
+
*
|
15484
|
+
* @param id - required id to pass to deleteTriageResponsibility
|
15485
|
+
* @returns DeletePayload
|
15486
|
+
*/
|
15487
|
+
deleteTriageResponsibility(id: string): LinearFetch<DeletePayload>;
|
15488
|
+
/**
|
15489
|
+
* Updates an existing triage responsibility.
|
15490
|
+
*
|
15491
|
+
* @param id - required id to pass to updateTriageResponsibility
|
15492
|
+
* @param input - required input to pass to updateTriageResponsibility
|
15493
|
+
* @returns TriageResponsibilityPayload
|
15494
|
+
*/
|
15495
|
+
updateTriageResponsibility(id: string, input: L.TriageResponsibilityUpdateInput): LinearFetch<TriageResponsibilityPayload>;
|
14425
15496
|
/**
|
14426
15497
|
* Makes user a regular user. Can only be called by an admin.
|
14427
15498
|
*
|