@linear/sdk 22.0.0 → 24.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 +1290 -220
- package/dist/_generated_documents.d.ts.map +1 -1
- package/dist/_generated_sdk.d.ts +875 -80
- package/dist/_generated_sdk.d.ts.map +1 -1
- package/dist/index-cjs.js +3361 -655
- 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 +3329 -654
- 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 +3362 -656
- 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
@@ -556,6 +556,21 @@ export declare class AuthOrganization extends Request {
|
|
556
556
|
/** The feature release channel the organization belongs to. */
|
557
557
|
releaseChannel: L.ReleaseChannel;
|
558
558
|
}
|
559
|
+
/**
|
560
|
+
* AuthOrganizationBucketNamePayload model
|
561
|
+
*
|
562
|
+
* @param request - function to call the graphql client
|
563
|
+
* @param data - L.AuthOrganizationBucketNamePayloadFragment response data
|
564
|
+
*/
|
565
|
+
export declare class AuthOrganizationBucketNamePayload extends Request {
|
566
|
+
constructor(request: LinearRequest, data: L.AuthOrganizationBucketNamePayloadFragment);
|
567
|
+
/** The imports bucket name for the organization. */
|
568
|
+
importsBucketName: string;
|
569
|
+
/** The region for the organization. */
|
570
|
+
region: string;
|
571
|
+
/** The uploads bucket name for the organization. */
|
572
|
+
uploadsBucketName: string;
|
573
|
+
}
|
559
574
|
/**
|
560
575
|
* AuthOrganizationDomain model
|
561
576
|
*
|
@@ -821,6 +836,8 @@ export declare class Comment extends Request {
|
|
821
836
|
updatedAt: Date;
|
822
837
|
/** Comment's URL. */
|
823
838
|
url: string;
|
839
|
+
/** Reactions associated with the comment. */
|
840
|
+
reactions: Reaction[];
|
824
841
|
/** The bot that created the comment. */
|
825
842
|
botActor?: ActorBot;
|
826
843
|
/** The document content that the comment is associated with. */
|
@@ -858,6 +875,19 @@ export declare class Comment extends Request {
|
|
858
875
|
export declare class CommentConnection extends Connection<Comment> {
|
859
876
|
constructor(request: LinearRequest, fetch: (connection?: LinearConnectionVariables) => LinearFetch<LinearConnection<Comment> | undefined>, data: L.CommentConnectionFragment);
|
860
877
|
}
|
878
|
+
/**
|
879
|
+
* A comment related notification.
|
880
|
+
*
|
881
|
+
* @param request - function to call the graphql client
|
882
|
+
* @param data - L.CommentNotificationFragment response data
|
883
|
+
*/
|
884
|
+
export declare class CommentNotification extends Request {
|
885
|
+
constructor(request: LinearRequest, data: L.CommentNotificationFragment);
|
886
|
+
/** Related comment ID. Null if the notification is not related to a comment. */
|
887
|
+
commentId?: string;
|
888
|
+
/** Related parent comment ID. Null if the notification is not related to a comment. */
|
889
|
+
parentCommentId?: string;
|
890
|
+
}
|
861
891
|
/**
|
862
892
|
* CommentPayload model
|
863
893
|
*
|
@@ -1383,6 +1413,8 @@ export declare class Document extends Request {
|
|
1383
1413
|
sortOrder: number;
|
1384
1414
|
/** The document title. */
|
1385
1415
|
title: string;
|
1416
|
+
/** A flag that indicates whether the document is in the trash bin. */
|
1417
|
+
trashed?: boolean;
|
1386
1418
|
/**
|
1387
1419
|
* The last time at which the entity was meaningfully updated, i.e. for all changes of syncable properties except those
|
1388
1420
|
* 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
|
@@ -1401,11 +1433,29 @@ export declare class Document extends Request {
|
|
1401
1433
|
get updatedBy(): LinearFetch<User> | undefined;
|
1402
1434
|
/** Creates a new document. */
|
1403
1435
|
create(input: L.DocumentCreateInput): LinearFetch<DocumentPayload>;
|
1404
|
-
/** Deletes a document. */
|
1405
|
-
delete(): LinearFetch<
|
1436
|
+
/** Deletes (trashes) a document. */
|
1437
|
+
delete(): LinearFetch<DocumentArchivePayload>;
|
1438
|
+
/** Restores a document. */
|
1439
|
+
unarchive(): LinearFetch<DocumentArchivePayload>;
|
1406
1440
|
/** Updates a document. */
|
1407
1441
|
update(input: L.DocumentUpdateInput): LinearFetch<DocumentPayload>;
|
1408
1442
|
}
|
1443
|
+
/**
|
1444
|
+
* A generic payload return from entity archive mutations.
|
1445
|
+
*
|
1446
|
+
* @param request - function to call the graphql client
|
1447
|
+
* @param data - L.DocumentArchivePayloadFragment response data
|
1448
|
+
*/
|
1449
|
+
export declare class DocumentArchivePayload extends Request {
|
1450
|
+
private _entity?;
|
1451
|
+
constructor(request: LinearRequest, data: L.DocumentArchivePayloadFragment);
|
1452
|
+
/** The identifier of the last sync operation. */
|
1453
|
+
lastSyncId: number;
|
1454
|
+
/** Whether the operation was successful. */
|
1455
|
+
success: boolean;
|
1456
|
+
/** The archived/unarchived entity. Null if entity was deleted. */
|
1457
|
+
get entity(): LinearFetch<Document> | undefined;
|
1458
|
+
}
|
1409
1459
|
/**
|
1410
1460
|
* DocumentConnection model
|
1411
1461
|
*
|
@@ -1424,6 +1474,7 @@ export declare class DocumentConnection extends Connection<Document> {
|
|
1424
1474
|
*/
|
1425
1475
|
export declare class DocumentContent extends Request {
|
1426
1476
|
private _document?;
|
1477
|
+
private _initiative?;
|
1427
1478
|
private _issue?;
|
1428
1479
|
private _project?;
|
1429
1480
|
private _projectMilestone?;
|
@@ -1448,6 +1499,8 @@ export declare class DocumentContent extends Request {
|
|
1448
1499
|
updatedAt: Date;
|
1449
1500
|
/** The document that the content is associated with. */
|
1450
1501
|
get document(): LinearFetch<Document> | undefined;
|
1502
|
+
/** The initiative that the content is associated with. */
|
1503
|
+
get initiative(): LinearFetch<Initiative> | undefined;
|
1451
1504
|
/** The issue that the content is associated with. */
|
1452
1505
|
get issue(): LinearFetch<Issue> | undefined;
|
1453
1506
|
/** The project that the content is associated with. */
|
@@ -1493,7 +1546,7 @@ export declare class DocumentContentHistoryPayload extends Request {
|
|
1493
1546
|
/** Whether the operation was successful. */
|
1494
1547
|
success: boolean;
|
1495
1548
|
/** The document content history entries. */
|
1496
|
-
history
|
1549
|
+
history: DocumentContentHistoryType[];
|
1497
1550
|
}
|
1498
1551
|
/**
|
1499
1552
|
* DocumentContentHistoryType model
|
@@ -1525,6 +1578,8 @@ export declare class DocumentNotification extends Request {
|
|
1525
1578
|
constructor(request: LinearRequest, data: L.DocumentNotificationFragment);
|
1526
1579
|
/** The time at which the entity was archived. Null if the entity has not been archived. */
|
1527
1580
|
archivedAt?: Date;
|
1581
|
+
/** Related comment ID. Null if the notification is not related to a comment. */
|
1582
|
+
commentId?: string;
|
1528
1583
|
/** The time at which the entity was created. */
|
1529
1584
|
createdAt: Date;
|
1530
1585
|
/**
|
@@ -1534,6 +1589,8 @@ export declare class DocumentNotification extends Request {
|
|
1534
1589
|
emailedAt?: Date;
|
1535
1590
|
/** The unique identifier of the entity. */
|
1536
1591
|
id: string;
|
1592
|
+
/** Related parent comment ID. Null if the notification is not related to a comment. */
|
1593
|
+
parentCommentId?: string;
|
1537
1594
|
/** The time at when the user marked the notification as read. Null, if the the user hasn't read the notification */
|
1538
1595
|
readAt?: Date;
|
1539
1596
|
/** The time until a notification will be snoozed. After that it will appear in the inbox again. */
|
@@ -1622,6 +1679,8 @@ export declare class DocumentSearchResult extends Request {
|
|
1622
1679
|
sortOrder: number;
|
1623
1680
|
/** The document title. */
|
1624
1681
|
title: string;
|
1682
|
+
/** A flag that indicates whether the document is in the trash bin. */
|
1683
|
+
trashed?: boolean;
|
1625
1684
|
/**
|
1626
1685
|
* The last time at which the entity was meaningfully updated, i.e. for all changes of syncable properties except those
|
1627
1686
|
* 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
|
@@ -1649,6 +1708,48 @@ export declare class DocumentSearchResult extends Request {
|
|
1649
1708
|
export declare class DocumentSearchResultConnection extends Connection<DocumentSearchResult> {
|
1650
1709
|
constructor(request: LinearRequest, fetch: (connection?: LinearConnectionVariables) => LinearFetch<LinearConnection<DocumentSearchResult> | undefined>, data: L.DocumentSearchResultConnectionFragment);
|
1651
1710
|
}
|
1711
|
+
/**
|
1712
|
+
* A general purpose draft. Used for comments, project updates, etc.
|
1713
|
+
*
|
1714
|
+
* @param request - function to call the graphql client
|
1715
|
+
* @param data - L.DraftFragment response data
|
1716
|
+
*/
|
1717
|
+
export declare class Draft extends Request {
|
1718
|
+
private _issue?;
|
1719
|
+
private _parentComment?;
|
1720
|
+
private _project?;
|
1721
|
+
private _projectUpdate?;
|
1722
|
+
private _user;
|
1723
|
+
constructor(request: LinearRequest, data: L.DraftFragment);
|
1724
|
+
/** The time at which the entity was archived. Null if the entity has not been archived. */
|
1725
|
+
archivedAt?: Date;
|
1726
|
+
/** The text content as a Prosemirror document. */
|
1727
|
+
bodyData: Record<string, unknown>;
|
1728
|
+
/** The time at which the entity was created. */
|
1729
|
+
createdAt: Date;
|
1730
|
+
/** Additional properties for the draft. */
|
1731
|
+
data?: L.Scalars["JSONObject"];
|
1732
|
+
/** The unique identifier of the entity. */
|
1733
|
+
id: string;
|
1734
|
+
/** Whether the draft was autogenerated for the user. */
|
1735
|
+
isAutogenerated: boolean;
|
1736
|
+
/**
|
1737
|
+
* The last time at which the entity was meaningfully updated, i.e. for all changes of syncable properties except those
|
1738
|
+
* 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
|
1739
|
+
* been updated after creation.
|
1740
|
+
*/
|
1741
|
+
updatedAt: Date;
|
1742
|
+
/** The issue for which this is a draft comment. */
|
1743
|
+
get issue(): LinearFetch<Issue> | undefined;
|
1744
|
+
/** The comment for which this is a draft comment reply. */
|
1745
|
+
get parentComment(): LinearFetch<Comment> | undefined;
|
1746
|
+
/** The project for which this is a draft project update. */
|
1747
|
+
get project(): LinearFetch<Project> | undefined;
|
1748
|
+
/** The project update for which this is a draft comment. */
|
1749
|
+
get projectUpdate(): LinearFetch<ProjectUpdate> | undefined;
|
1750
|
+
/** The user who created the draft. */
|
1751
|
+
get user(): LinearFetch<User> | undefined;
|
1752
|
+
}
|
1652
1753
|
/**
|
1653
1754
|
* An email address that can be used for submitting issues.
|
1654
1755
|
*
|
@@ -1821,6 +1922,7 @@ export declare class Entity extends Request {
|
|
1821
1922
|
*/
|
1822
1923
|
export declare class EntityExternalLink extends Request {
|
1823
1924
|
private _creator;
|
1925
|
+
private _initiative;
|
1824
1926
|
constructor(request: LinearRequest, data: L.EntityExternalLinkFragment);
|
1825
1927
|
/** The time at which the entity was archived. Null if the entity has not been archived. */
|
1826
1928
|
archivedAt?: Date;
|
@@ -1842,6 +1944,8 @@ export declare class EntityExternalLink extends Request {
|
|
1842
1944
|
url: string;
|
1843
1945
|
/** The user who created the link. */
|
1844
1946
|
get creator(): LinearFetch<User> | undefined;
|
1947
|
+
/** The initiative that the link is associated with. */
|
1948
|
+
get initiative(): LinearFetch<Initiative> | undefined;
|
1845
1949
|
/** Creates a new entity link. */
|
1846
1950
|
create(input: L.EntityExternalLinkCreateInput): LinearFetch<EntityExternalLinkPayload>;
|
1847
1951
|
/** Deletes an entity link. */
|
@@ -1925,6 +2029,10 @@ export declare class ExternalUserConnection extends Connection<ExternalUser> {
|
|
1925
2029
|
* @param data - L.FacetFragment response data
|
1926
2030
|
*/
|
1927
2031
|
export declare class Facet extends Request {
|
2032
|
+
private _sourceInitiative?;
|
2033
|
+
private _sourceProject?;
|
2034
|
+
private _sourceTeam?;
|
2035
|
+
private _targetCustomView?;
|
1928
2036
|
constructor(request: LinearRequest, data: L.FacetFragment);
|
1929
2037
|
/** The time at which the entity was archived. Null if the entity has not been archived. */
|
1930
2038
|
archivedAt?: Date;
|
@@ -1940,6 +2048,18 @@ export declare class Facet extends Request {
|
|
1940
2048
|
* been updated after creation.
|
1941
2049
|
*/
|
1942
2050
|
updatedAt: Date;
|
2051
|
+
/** The owning page. */
|
2052
|
+
sourcePage?: L.FacetPageSource;
|
2053
|
+
/** The owning initiative. */
|
2054
|
+
get sourceInitiative(): LinearFetch<Initiative> | undefined;
|
2055
|
+
/** The owning organization. */
|
2056
|
+
get sourceOrganization(): LinearFetch<Organization>;
|
2057
|
+
/** The owning project. */
|
2058
|
+
get sourceProject(): LinearFetch<Project> | undefined;
|
2059
|
+
/** The owning team. */
|
2060
|
+
get sourceTeam(): LinearFetch<Team> | undefined;
|
2061
|
+
/** The targeted custom view. */
|
2062
|
+
get targetCustomView(): LinearFetch<CustomView> | undefined;
|
1943
2063
|
}
|
1944
2064
|
/**
|
1945
2065
|
* FacetConnection model
|
@@ -1991,6 +2111,10 @@ export declare class Favorite extends Request {
|
|
1991
2111
|
* been updated after creation.
|
1992
2112
|
*/
|
1993
2113
|
updatedAt: Date;
|
2114
|
+
/** URL of the favorited entity. Folders return 'null' value. */
|
2115
|
+
url?: string;
|
2116
|
+
/** The targeted tab of the initiative. */
|
2117
|
+
initiativeTab?: L.InitiativeTab;
|
1994
2118
|
/** The targeted tab of the project. */
|
1995
2119
|
projectTab?: L.ProjectTab;
|
1996
2120
|
/** The favorited custom view. */
|
@@ -2011,7 +2135,7 @@ export declare class Favorite extends Request {
|
|
2011
2135
|
get predefinedViewTeam(): LinearFetch<Team> | undefined;
|
2012
2136
|
/** The favorited project. */
|
2013
2137
|
get project(): LinearFetch<Project> | undefined;
|
2014
|
-
/** The favorited team of the project. */
|
2138
|
+
/** [DEPRECATED] The favorited team of the project. */
|
2015
2139
|
get projectTeam(): LinearFetch<Team> | undefined;
|
2016
2140
|
/** The favorited roadmap. */
|
2017
2141
|
get roadmap(): LinearFetch<Roadmap> | undefined;
|
@@ -2052,6 +2176,113 @@ export declare class FavoritePayload extends Request {
|
|
2052
2176
|
/** The object that was added as a favorite. */
|
2053
2177
|
get favorite(): LinearFetch<Favorite> | undefined;
|
2054
2178
|
}
|
2179
|
+
/**
|
2180
|
+
* A feature flag for a project.
|
2181
|
+
*
|
2182
|
+
* @param request - function to call the graphql client
|
2183
|
+
* @param data - L.FeatureFlagFragment response data
|
2184
|
+
*/
|
2185
|
+
export declare class FeatureFlag extends Request {
|
2186
|
+
private _creator?;
|
2187
|
+
private _integration;
|
2188
|
+
private _lastStageUpdatedBy?;
|
2189
|
+
private _project?;
|
2190
|
+
constructor(request: LinearRequest, data: L.FeatureFlagFragment);
|
2191
|
+
/** The time at which the entity was archived. Null if the entity has not been archived. */
|
2192
|
+
archivedAt?: Date;
|
2193
|
+
/** The time at which the entity was created. */
|
2194
|
+
createdAt: Date;
|
2195
|
+
/** The description of the feature flag. */
|
2196
|
+
description?: string;
|
2197
|
+
/** Url to the feature flag provider's page about the feature flag. */
|
2198
|
+
externalUrl: string;
|
2199
|
+
/** The unique identifier of the entity. */
|
2200
|
+
id: string;
|
2201
|
+
/** Whether the feature flag is enabled. */
|
2202
|
+
isEnabled: boolean;
|
2203
|
+
/** The unique key as defined by the feature flag provider. */
|
2204
|
+
key: string;
|
2205
|
+
/** The description of the feature flag. */
|
2206
|
+
lastStageUpdatedAt?: Date;
|
2207
|
+
/** The status of the feature flag. */
|
2208
|
+
status: string;
|
2209
|
+
/**
|
2210
|
+
* The last time at which the entity was meaningfully updated, i.e. for all changes of syncable properties except those
|
2211
|
+
* 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
|
2212
|
+
* been updated after creation.
|
2213
|
+
*/
|
2214
|
+
updatedAt: Date;
|
2215
|
+
/** The pending rollout stage for the feature flag. */
|
2216
|
+
pendingRolloutStage?: FeatureFlagRolloutStage;
|
2217
|
+
/** The rollout stage of the feature flag, should be defined for all feature flags in use. */
|
2218
|
+
rolloutStage: FeatureFlagRolloutStage;
|
2219
|
+
/** The user who created the feature flag. */
|
2220
|
+
get creator(): LinearFetch<User> | undefined;
|
2221
|
+
/** The integration providing the feature flag. */
|
2222
|
+
get integration(): LinearFetch<Integration> | undefined;
|
2223
|
+
/** The user who last changed the stage of the feature flag. */
|
2224
|
+
get lastStageUpdatedBy(): LinearFetch<User> | undefined;
|
2225
|
+
/** The organization of the feature flag. */
|
2226
|
+
get organization(): LinearFetch<Organization>;
|
2227
|
+
/** The project the feature flag is associated with. */
|
2228
|
+
get project(): LinearFetch<Project> | undefined;
|
2229
|
+
}
|
2230
|
+
/**
|
2231
|
+
* FeatureFlagConnection model
|
2232
|
+
*
|
2233
|
+
* @param request - function to call the graphql client
|
2234
|
+
* @param fetch - function to trigger a refetch of this FeatureFlagConnection model
|
2235
|
+
* @param data - FeatureFlagConnection response data
|
2236
|
+
*/
|
2237
|
+
export declare class FeatureFlagConnection extends Connection<FeatureFlag> {
|
2238
|
+
constructor(request: LinearRequest, fetch: (connection?: LinearConnectionVariables) => LinearFetch<LinearConnection<FeatureFlag> | undefined>, data: L.FeatureFlagConnectionFragment);
|
2239
|
+
}
|
2240
|
+
/**
|
2241
|
+
* A rollout stage for a feature flag.
|
2242
|
+
*
|
2243
|
+
* @param request - function to call the graphql client
|
2244
|
+
* @param data - L.FeatureFlagRolloutStageFragment response data
|
2245
|
+
*/
|
2246
|
+
export declare class FeatureFlagRolloutStage extends Request {
|
2247
|
+
private _integration;
|
2248
|
+
constructor(request: LinearRequest, data: L.FeatureFlagRolloutStageFragment);
|
2249
|
+
/** The time at which the entity was archived. Null if the entity has not been archived. */
|
2250
|
+
archivedAt?: Date;
|
2251
|
+
/** The time at which the entity was created. */
|
2252
|
+
createdAt: Date;
|
2253
|
+
/** The description of the rollout stage. */
|
2254
|
+
description?: string;
|
2255
|
+
/** The unique identifier of the entity. */
|
2256
|
+
id: string;
|
2257
|
+
/** The name of the rollout stage. */
|
2258
|
+
name: string;
|
2259
|
+
/** Which feature flag provider segments this rollout stage is associated with. */
|
2260
|
+
segmentKeys: string[];
|
2261
|
+
/** The order of the rollout stages within an organization. */
|
2262
|
+
sortOrder: number;
|
2263
|
+
/**
|
2264
|
+
* The last time at which the entity was meaningfully updated, i.e. for all changes of syncable properties except those
|
2265
|
+
* 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
|
2266
|
+
* been updated after creation.
|
2267
|
+
*/
|
2268
|
+
updatedAt: Date;
|
2269
|
+
/** The type of the feature flag rollout stage. */
|
2270
|
+
type: L.FeatureFlagRolloutStageType;
|
2271
|
+
/** The integration providing the feature flag. */
|
2272
|
+
get integration(): LinearFetch<Integration> | undefined;
|
2273
|
+
/** The organization of the feature flag rollout stage. */
|
2274
|
+
get organization(): LinearFetch<Organization>;
|
2275
|
+
}
|
2276
|
+
/**
|
2277
|
+
* FeatureFlagRolloutStageConnection model
|
2278
|
+
*
|
2279
|
+
* @param request - function to call the graphql client
|
2280
|
+
* @param fetch - function to trigger a refetch of this FeatureFlagRolloutStageConnection model
|
2281
|
+
* @param data - FeatureFlagRolloutStageConnection response data
|
2282
|
+
*/
|
2283
|
+
export declare class FeatureFlagRolloutStageConnection extends Connection<FeatureFlagRolloutStage> {
|
2284
|
+
constructor(request: LinearRequest, fetch: (connection?: LinearConnectionVariables) => LinearFetch<LinearConnection<FeatureFlagRolloutStage> | undefined>, data: L.FeatureFlagRolloutStageConnectionFragment);
|
2285
|
+
}
|
2055
2286
|
/**
|
2056
2287
|
* FrontAttachmentPayload model
|
2057
2288
|
*
|
@@ -2215,6 +2446,26 @@ export declare class GitHubCommitIntegrationPayload extends Request {
|
|
2215
2446
|
/** The integration that was created or updated. */
|
2216
2447
|
get integration(): LinearFetch<Integration> | undefined;
|
2217
2448
|
}
|
2449
|
+
/**
|
2450
|
+
* GitHubEnterpriseServerPayload model
|
2451
|
+
*
|
2452
|
+
* @param request - function to call the graphql client
|
2453
|
+
* @param data - L.GitHubEnterpriseServerPayloadFragment response data
|
2454
|
+
*/
|
2455
|
+
export declare class GitHubEnterpriseServerPayload extends Request {
|
2456
|
+
private _integration?;
|
2457
|
+
constructor(request: LinearRequest, data: L.GitHubEnterpriseServerPayloadFragment);
|
2458
|
+
/** The identifier of the last sync operation. */
|
2459
|
+
lastSyncId: number;
|
2460
|
+
/** The setup address. */
|
2461
|
+
setupUrl: string;
|
2462
|
+
/** Whether the operation was successful. */
|
2463
|
+
success: boolean;
|
2464
|
+
/** The webhook secret to provide to GitHub. */
|
2465
|
+
webhookSecret: string;
|
2466
|
+
/** The integration that was created or updated. */
|
2467
|
+
get integration(): LinearFetch<Integration> | undefined;
|
2468
|
+
}
|
2218
2469
|
/**
|
2219
2470
|
* Metadata and settings for a GitHub import integration.
|
2220
2471
|
*
|
@@ -2265,7 +2516,7 @@ export declare class GitHubRepo extends Request {
|
|
2265
2516
|
export declare class GitHubSettings extends Request {
|
2266
2517
|
constructor(request: LinearRequest, data: L.GitHubSettingsFragment);
|
2267
2518
|
/** The avatar URL for the GitHub organization. */
|
2268
|
-
orgAvatarUrl
|
2519
|
+
orgAvatarUrl?: string;
|
2269
2520
|
/** The GitHub organization's name. */
|
2270
2521
|
orgLogin: string;
|
2271
2522
|
/** The names of the repositories connected for the GitHub integration. */
|
@@ -2301,7 +2552,7 @@ export declare class GoogleSheetsSettings extends Request {
|
|
2301
2552
|
sheetId: number;
|
2302
2553
|
spreadsheetId: string;
|
2303
2554
|
spreadsheetUrl: string;
|
2304
|
-
updatedIssuesAt
|
2555
|
+
updatedIssuesAt?: Date;
|
2305
2556
|
}
|
2306
2557
|
/**
|
2307
2558
|
* ImageUploadFromUrlPayload model
|
@@ -2318,6 +2569,69 @@ export declare class ImageUploadFromUrlPayload extends Request {
|
|
2318
2569
|
/** The URL containing the image. */
|
2319
2570
|
url?: string;
|
2320
2571
|
}
|
2572
|
+
/**
|
2573
|
+
* An initiative to group projects.
|
2574
|
+
*
|
2575
|
+
* @param request - function to call the graphql client
|
2576
|
+
* @param data - L.InitiativeFragment response data
|
2577
|
+
*/
|
2578
|
+
export declare class Initiative extends Request {
|
2579
|
+
private _creator;
|
2580
|
+
private _owner;
|
2581
|
+
constructor(request: LinearRequest, data: L.InitiativeFragment);
|
2582
|
+
/** The time at which the entity was archived. Null if the entity has not been archived. */
|
2583
|
+
archivedAt?: Date;
|
2584
|
+
/** The initiative's color. */
|
2585
|
+
color?: string;
|
2586
|
+
/** The time at which the entity was created. */
|
2587
|
+
createdAt: Date;
|
2588
|
+
/** The description of the initiative. */
|
2589
|
+
description?: string;
|
2590
|
+
/** The icon of the initiative. */
|
2591
|
+
icon?: string;
|
2592
|
+
/** The unique identifier of the entity. */
|
2593
|
+
id: string;
|
2594
|
+
/** The name of the initiative. */
|
2595
|
+
name: string;
|
2596
|
+
/** The initiative's unique URL slug. */
|
2597
|
+
slugId: string;
|
2598
|
+
/** The sort order of the initiative within the organization. */
|
2599
|
+
sortOrder: number;
|
2600
|
+
/** The estimated completion date of the initiative. */
|
2601
|
+
targetDate?: L.Scalars["TimelessDate"];
|
2602
|
+
/** A flag that indicates whether the initiative is in the trash bin. */
|
2603
|
+
trashed?: boolean;
|
2604
|
+
/**
|
2605
|
+
* The last time at which the entity was meaningfully updated, i.e. for all changes of syncable properties except those
|
2606
|
+
* 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
|
2607
|
+
* been updated after creation.
|
2608
|
+
*/
|
2609
|
+
updatedAt: Date;
|
2610
|
+
/** The status of the initiative. One of Planned, Active, Completed */
|
2611
|
+
status: L.InitiativeStatus;
|
2612
|
+
/** The resolution of the initiative's estimated completion date. */
|
2613
|
+
targetDateResolution?: L.DateResolutionType;
|
2614
|
+
/** The user who created the initiative. */
|
2615
|
+
get creator(): LinearFetch<User> | undefined;
|
2616
|
+
/** The organization of the initiative. */
|
2617
|
+
get organization(): LinearFetch<Organization>;
|
2618
|
+
/** The user who owns the initiative. */
|
2619
|
+
get owner(): LinearFetch<User> | undefined;
|
2620
|
+
/** Links associated with the initiative. */
|
2621
|
+
links(variables?: Omit<L.Initiative_LinksQueryVariables, "id">): LinearFetch<EntityExternalLinkConnection>;
|
2622
|
+
/** Projects associated with the initiative. */
|
2623
|
+
projects(variables?: Omit<L.Initiative_ProjectsQueryVariables, "id">): LinearFetch<ProjectConnection>;
|
2624
|
+
/** Archives a initiative. */
|
2625
|
+
archive(): LinearFetch<InitiativeArchivePayload>;
|
2626
|
+
/** Creates a new initiative. */
|
2627
|
+
create(input: L.InitiativeCreateInput): LinearFetch<InitiativePayload>;
|
2628
|
+
/** Deletes (trashes) an initiative. */
|
2629
|
+
delete(): LinearFetch<DeletePayload>;
|
2630
|
+
/** Unarchives a initiative. */
|
2631
|
+
unarchive(): LinearFetch<InitiativeArchivePayload>;
|
2632
|
+
/** Updates a initiative. */
|
2633
|
+
update(input: L.InitiativeUpdateInput): LinearFetch<InitiativePayload>;
|
2634
|
+
}
|
2321
2635
|
/**
|
2322
2636
|
* A generic payload return from entity archive mutations.
|
2323
2637
|
*
|
@@ -2325,11 +2639,24 @@ export declare class ImageUploadFromUrlPayload extends Request {
|
|
2325
2639
|
* @param data - L.InitiativeArchivePayloadFragment response data
|
2326
2640
|
*/
|
2327
2641
|
export declare class InitiativeArchivePayload extends Request {
|
2642
|
+
private _entity?;
|
2328
2643
|
constructor(request: LinearRequest, data: L.InitiativeArchivePayloadFragment);
|
2329
2644
|
/** The identifier of the last sync operation. */
|
2330
2645
|
lastSyncId: number;
|
2331
2646
|
/** Whether the operation was successful. */
|
2332
2647
|
success: boolean;
|
2648
|
+
/** The archived/unarchived entity. Null if entity was deleted. */
|
2649
|
+
get entity(): LinearFetch<Initiative> | undefined;
|
2650
|
+
}
|
2651
|
+
/**
|
2652
|
+
* InitiativeConnection model
|
2653
|
+
*
|
2654
|
+
* @param request - function to call the graphql client
|
2655
|
+
* @param fetch - function to trigger a refetch of this InitiativeConnection model
|
2656
|
+
* @param data - InitiativeConnection response data
|
2657
|
+
*/
|
2658
|
+
export declare class InitiativeConnection extends Connection<Initiative> {
|
2659
|
+
constructor(request: LinearRequest, fetch: (connection?: LinearConnectionVariables) => LinearFetch<LinearConnection<Initiative> | undefined>, data: L.InitiativeConnectionFragment);
|
2333
2660
|
}
|
2334
2661
|
/**
|
2335
2662
|
* An initiative related notification.
|
@@ -2344,6 +2671,8 @@ export declare class InitiativeNotification extends Request {
|
|
2344
2671
|
constructor(request: LinearRequest, data: L.InitiativeNotificationFragment);
|
2345
2672
|
/** The time at which the entity was archived. Null if the entity has not been archived. */
|
2346
2673
|
archivedAt?: Date;
|
2674
|
+
/** Related comment ID. Null if the notification is not related to a comment. */
|
2675
|
+
commentId?: string;
|
2347
2676
|
/** The time at which the entity was created. */
|
2348
2677
|
createdAt: Date;
|
2349
2678
|
/**
|
@@ -2353,6 +2682,8 @@ export declare class InitiativeNotification extends Request {
|
|
2353
2682
|
emailedAt?: Date;
|
2354
2683
|
/** The unique identifier of the entity. */
|
2355
2684
|
id: string;
|
2685
|
+
/** Related parent comment ID. Null if the notification is not related to a comment. */
|
2686
|
+
parentCommentId?: string;
|
2356
2687
|
/** The time at when the user marked the notification as read. Null, if the the user hasn't read the notification */
|
2357
2688
|
readAt?: Date;
|
2358
2689
|
/** The time until a notification will be snoozed. After that it will appear in the inbox again. */
|
@@ -2376,6 +2707,83 @@ export declare class InitiativeNotification extends Request {
|
|
2376
2707
|
/** The user that received the notification. */
|
2377
2708
|
get user(): LinearFetch<User> | undefined;
|
2378
2709
|
}
|
2710
|
+
/**
|
2711
|
+
* The payload returned by the initiative mutations.
|
2712
|
+
*
|
2713
|
+
* @param request - function to call the graphql client
|
2714
|
+
* @param data - L.InitiativePayloadFragment response data
|
2715
|
+
*/
|
2716
|
+
export declare class InitiativePayload extends Request {
|
2717
|
+
private _initiative;
|
2718
|
+
constructor(request: LinearRequest, data: L.InitiativePayloadFragment);
|
2719
|
+
/** The identifier of the last sync operation. */
|
2720
|
+
lastSyncId: number;
|
2721
|
+
/** Whether the operation was successful. */
|
2722
|
+
success: boolean;
|
2723
|
+
/** The initiative that was created or updated. */
|
2724
|
+
get initiative(): LinearFetch<Initiative> | undefined;
|
2725
|
+
}
|
2726
|
+
/**
|
2727
|
+
* Join table between projects and initiatives.
|
2728
|
+
*
|
2729
|
+
* @param request - function to call the graphql client
|
2730
|
+
* @param data - L.InitiativeToProjectFragment response data
|
2731
|
+
*/
|
2732
|
+
export declare class InitiativeToProject extends Request {
|
2733
|
+
private _initiative;
|
2734
|
+
private _project;
|
2735
|
+
constructor(request: LinearRequest, data: L.InitiativeToProjectFragment);
|
2736
|
+
/** The time at which the entity was archived. Null if the entity has not been archived. */
|
2737
|
+
archivedAt?: Date;
|
2738
|
+
/** The time at which the entity was created. */
|
2739
|
+
createdAt: Date;
|
2740
|
+
/** The unique identifier of the entity. */
|
2741
|
+
id: string;
|
2742
|
+
/** The sort order of the project within the initiative. */
|
2743
|
+
sortOrder: string;
|
2744
|
+
/**
|
2745
|
+
* The last time at which the entity was meaningfully updated, i.e. for all changes of syncable properties except those
|
2746
|
+
* 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
|
2747
|
+
* been updated after creation.
|
2748
|
+
*/
|
2749
|
+
updatedAt: Date;
|
2750
|
+
/** The initiative that the project is associated with. */
|
2751
|
+
get initiative(): LinearFetch<Initiative> | undefined;
|
2752
|
+
/** The project that the initiative is associated with. */
|
2753
|
+
get project(): LinearFetch<Project> | undefined;
|
2754
|
+
/** Creates a new initiativeToProject join. */
|
2755
|
+
create(input: L.InitiativeToProjectCreateInput): LinearFetch<InitiativeToProjectPayload>;
|
2756
|
+
/** Deletes a initiativeToProject. */
|
2757
|
+
delete(): LinearFetch<DeletePayload>;
|
2758
|
+
/** Updates a initiativeToProject. */
|
2759
|
+
update(input: L.InitiativeToProjectUpdateInput): LinearFetch<InitiativeToProjectPayload>;
|
2760
|
+
}
|
2761
|
+
/**
|
2762
|
+
* InitiativeToProjectConnection model
|
2763
|
+
*
|
2764
|
+
* @param request - function to call the graphql client
|
2765
|
+
* @param fetch - function to trigger a refetch of this InitiativeToProjectConnection model
|
2766
|
+
* @param data - InitiativeToProjectConnection response data
|
2767
|
+
*/
|
2768
|
+
export declare class InitiativeToProjectConnection extends Connection<InitiativeToProject> {
|
2769
|
+
constructor(request: LinearRequest, fetch: (connection?: LinearConnectionVariables) => LinearFetch<LinearConnection<InitiativeToProject> | undefined>, data: L.InitiativeToProjectConnectionFragment);
|
2770
|
+
}
|
2771
|
+
/**
|
2772
|
+
* The result of a initiativeToProject mutation.
|
2773
|
+
*
|
2774
|
+
* @param request - function to call the graphql client
|
2775
|
+
* @param data - L.InitiativeToProjectPayloadFragment response data
|
2776
|
+
*/
|
2777
|
+
export declare class InitiativeToProjectPayload extends Request {
|
2778
|
+
private _initiativeToProject;
|
2779
|
+
constructor(request: LinearRequest, data: L.InitiativeToProjectPayloadFragment);
|
2780
|
+
/** The identifier of the last sync operation. */
|
2781
|
+
lastSyncId: number;
|
2782
|
+
/** Whether the operation was successful. */
|
2783
|
+
success: boolean;
|
2784
|
+
/** The initiativeToProject that was created or updated. */
|
2785
|
+
get initiativeToProject(): LinearFetch<InitiativeToProject> | undefined;
|
2786
|
+
}
|
2379
2787
|
/**
|
2380
2788
|
* An integration with an external service.
|
2381
2789
|
*
|
@@ -2478,6 +2886,7 @@ export declare class IntegrationSettings extends Request {
|
|
2478
2886
|
intercom?: IntercomSettings;
|
2479
2887
|
jira?: JiraSettings;
|
2480
2888
|
jiraPersonal?: JiraPersonalSettings;
|
2889
|
+
launchDarkly?: LaunchDarklySettings;
|
2481
2890
|
notion?: NotionSettings;
|
2482
2891
|
opsgenie?: OpsgenieSettings;
|
2483
2892
|
pagerDuty?: PagerDutySettings;
|
@@ -2567,6 +2976,8 @@ export declare class IntegrationsSettings extends Request {
|
|
2567
2976
|
id: string;
|
2568
2977
|
/** Whether to send a Slack message when a new issue is added to triage. */
|
2569
2978
|
slackIssueAddedToTriage?: boolean;
|
2979
|
+
/** Whether to send a Slack message when an issue is added to the custom view. */
|
2980
|
+
slackIssueAddedToView?: boolean;
|
2570
2981
|
/** Whether to send a Slack message when a new issue is created for the project or the team. */
|
2571
2982
|
slackIssueCreated?: boolean;
|
2572
2983
|
/** Whether to send a Slack message when a comment is created on any of the project or team's issues. */
|
@@ -2704,6 +3115,8 @@ export declare class Issue extends Request {
|
|
2704
3115
|
priority: number;
|
2705
3116
|
/** Label for the priority. */
|
2706
3117
|
priorityLabel: string;
|
3118
|
+
/** Emoji reaction summary, grouped by emoji type. */
|
3119
|
+
reactionData: L.Scalars["JSONObject"];
|
2707
3120
|
/** The time at which the issue's SLA will breach. */
|
2708
3121
|
slaBreachesAt?: Date;
|
2709
3122
|
/** The time at which the issue's SLA began. */
|
@@ -2732,6 +3145,8 @@ export declare class Issue extends Request {
|
|
2732
3145
|
updatedAt: Date;
|
2733
3146
|
/** Issue URL. */
|
2734
3147
|
url: string;
|
3148
|
+
/** Reactions associated with the issue. */
|
3149
|
+
reactions: Reaction[];
|
2735
3150
|
/** The bot that created the issue, if applicable. */
|
2736
3151
|
botActor?: ActorBot;
|
2737
3152
|
/** Integration type that created this issue, if applicable. */
|
@@ -2783,7 +3198,7 @@ export declare class Issue extends Request {
|
|
2783
3198
|
/** Creates a new issue. */
|
2784
3199
|
create(input: L.IssueCreateInput): LinearFetch<IssuePayload>;
|
2785
3200
|
/** Deletes (trashes) an issue. */
|
2786
|
-
delete(): LinearFetch<IssueArchivePayload>;
|
3201
|
+
delete(variables?: Omit<L.DeleteIssueMutationVariables, "id">): LinearFetch<IssueArchivePayload>;
|
2787
3202
|
/** Unarchives an issue. */
|
2788
3203
|
unarchive(): LinearFetch<IssueArchivePayload>;
|
2789
3204
|
/** Updates an issue. */
|
@@ -2951,37 +3366,37 @@ export declare class IssueHistory extends Request {
|
|
2951
3366
|
botActor?: ActorBot;
|
2952
3367
|
/** The import record. */
|
2953
3368
|
issueImport?: IssueImport;
|
2954
|
-
/** The
|
3369
|
+
/** The actor that performed the actions. This field may be empty in the case of integrations or automations. */
|
2955
3370
|
get actor(): LinearFetch<User> | undefined;
|
2956
3371
|
/** The linked attachment. */
|
2957
3372
|
get attachment(): LinearFetch<Attachment> | undefined;
|
2958
|
-
/** The user from
|
3373
|
+
/** The user that was unassigned from the issue. */
|
2959
3374
|
get fromAssignee(): LinearFetch<User> | undefined;
|
2960
|
-
/** The
|
3375
|
+
/** The cycle that the issue was moved from. */
|
2961
3376
|
get fromCycle(): LinearFetch<Cycle> | undefined;
|
2962
|
-
/** The
|
3377
|
+
/** The parent issue that the issue was moved from. */
|
2963
3378
|
get fromParent(): LinearFetch<Issue> | undefined;
|
2964
|
-
/** The
|
3379
|
+
/** The project that the issue was moved from. */
|
2965
3380
|
get fromProject(): LinearFetch<Project> | undefined;
|
2966
|
-
/** The
|
3381
|
+
/** The state that the issue was moved from. */
|
2967
3382
|
get fromState(): LinearFetch<WorkflowState> | undefined;
|
2968
|
-
/** The team
|
3383
|
+
/** The team that the issue was moved from. */
|
2969
3384
|
get fromTeam(): LinearFetch<Team> | undefined;
|
2970
3385
|
/** The issue that was changed. */
|
2971
3386
|
get issue(): LinearFetch<Issue> | undefined;
|
2972
|
-
/** The user
|
3387
|
+
/** The user that was assigned to the issue. */
|
2973
3388
|
get toAssignee(): LinearFetch<User> | undefined;
|
2974
3389
|
/** The new project created from the issue. */
|
2975
3390
|
get toConvertedProject(): LinearFetch<Project> | undefined;
|
2976
|
-
/** The
|
3391
|
+
/** The cycle that the issue was moved to. */
|
2977
3392
|
get toCycle(): LinearFetch<Cycle> | undefined;
|
2978
|
-
/** The
|
3393
|
+
/** The parent issue that the issue was moved to. */
|
2979
3394
|
get toParent(): LinearFetch<Issue> | undefined;
|
2980
|
-
/** The
|
3395
|
+
/** The project that the issue was moved to. */
|
2981
3396
|
get toProject(): LinearFetch<Project> | undefined;
|
2982
|
-
/** The
|
3397
|
+
/** The state that the issue was moved to. */
|
2983
3398
|
get toState(): LinearFetch<WorkflowState> | undefined;
|
2984
|
-
/** The team
|
3399
|
+
/** The team that the issue was moved to. */
|
2985
3400
|
get toTeam(): LinearFetch<Team> | undefined;
|
2986
3401
|
}
|
2987
3402
|
/**
|
@@ -3010,6 +3425,8 @@ export declare class IssueImport extends Request {
|
|
3010
3425
|
creatorId: string;
|
3011
3426
|
/** File URL for the uploaded CSV for the import, if there is one. */
|
3012
3427
|
csvFileUrl?: string;
|
3428
|
+
/** The display name of the import service. */
|
3429
|
+
displayName: string;
|
3013
3430
|
/** User readable error message, if one has occurred during the import. */
|
3014
3431
|
error?: string;
|
3015
3432
|
/** Error code and metadata, if one has occurred during the import. */
|
@@ -3179,11 +3596,14 @@ export declare class IssueNotification extends Request {
|
|
3179
3596
|
private _comment?;
|
3180
3597
|
private _externalUserActor?;
|
3181
3598
|
private _issue;
|
3599
|
+
private _parentComment?;
|
3182
3600
|
private _team;
|
3183
3601
|
private _user;
|
3184
3602
|
constructor(request: LinearRequest, data: L.IssueNotificationFragment);
|
3185
3603
|
/** The time at which the entity was archived. Null if the entity has not been archived. */
|
3186
3604
|
archivedAt?: Date;
|
3605
|
+
/** Related comment ID. Null if the notification is not related to a comment. */
|
3606
|
+
commentId?: string;
|
3187
3607
|
/** The time at which the entity was created. */
|
3188
3608
|
createdAt: Date;
|
3189
3609
|
/**
|
@@ -3193,6 +3613,8 @@ export declare class IssueNotification extends Request {
|
|
3193
3613
|
emailedAt?: Date;
|
3194
3614
|
/** The unique identifier of the entity. */
|
3195
3615
|
id: string;
|
3616
|
+
/** Related parent comment ID. Null if the notification is not related to a comment. */
|
3617
|
+
parentCommentId?: string;
|
3196
3618
|
/** Name of the reaction emoji related to the notification. */
|
3197
3619
|
reactionEmoji?: string;
|
3198
3620
|
/** The time at when the user marked the notification as read. Null, if the the user hasn't read the notification */
|
@@ -3221,6 +3643,8 @@ export declare class IssueNotification extends Request {
|
|
3221
3643
|
get externalUserActor(): LinearFetch<ExternalUser> | undefined;
|
3222
3644
|
/** The issue related to the notification. */
|
3223
3645
|
get issue(): LinearFetch<Issue> | undefined;
|
3646
|
+
/** The parent comment related to the notification, if a notification is a reply comment notification. */
|
3647
|
+
get parentComment(): LinearFetch<Comment> | undefined;
|
3224
3648
|
/** The team related to the issue notification. */
|
3225
3649
|
get team(): LinearFetch<Team> | undefined;
|
3226
3650
|
/** The user that received the notification. */
|
@@ -3405,6 +3829,8 @@ export declare class IssueSearchResult extends Request {
|
|
3405
3829
|
priority: number;
|
3406
3830
|
/** Label for the priority. */
|
3407
3831
|
priorityLabel: string;
|
3832
|
+
/** Emoji reaction summary, grouped by emoji type. */
|
3833
|
+
reactionData: L.Scalars["JSONObject"];
|
3408
3834
|
/** The time at which the issue's SLA will breach. */
|
3409
3835
|
slaBreachesAt?: Date;
|
3410
3836
|
/** The time at which the issue's SLA began. */
|
@@ -3433,6 +3859,8 @@ export declare class IssueSearchResult extends Request {
|
|
3433
3859
|
updatedAt: Date;
|
3434
3860
|
/** Issue URL. */
|
3435
3861
|
url: string;
|
3862
|
+
/** Reactions associated with the issue. */
|
3863
|
+
reactions: Reaction[];
|
3436
3864
|
/** The bot that created the issue, if applicable. */
|
3437
3865
|
botActor?: ActorBot;
|
3438
3866
|
/** Integration type that created this issue, if applicable. */
|
@@ -3586,6 +4014,19 @@ export declare class LabelNotificationSubscription extends Request {
|
|
3586
4014
|
/** The user view associated with the notification subscription. */
|
3587
4015
|
get user(): LinearFetch<User> | undefined;
|
3588
4016
|
}
|
4017
|
+
/**
|
4018
|
+
* LaunchDarkly specific settings.
|
4019
|
+
*
|
4020
|
+
* @param request - function to call the graphql client
|
4021
|
+
* @param data - L.LaunchDarklySettingsFragment response data
|
4022
|
+
*/
|
4023
|
+
export declare class LaunchDarklySettings extends Request {
|
4024
|
+
constructor(request: LinearRequest, data: L.LaunchDarklySettingsFragment);
|
4025
|
+
/** The environment of the LaunchDarkly integration. */
|
4026
|
+
environment: string;
|
4027
|
+
/** The project key of the LaunchDarkly integration. */
|
4028
|
+
projectKey: string;
|
4029
|
+
}
|
3589
4030
|
/**
|
3590
4031
|
* LogoutResponse model
|
3591
4032
|
*
|
@@ -3719,7 +4160,7 @@ export declare class NotificationDeliveryPreferencesChannel extends Request {
|
|
3719
4160
|
/** Whether notifications are enabled for this channel. */
|
3720
4161
|
notificationsDisabled?: boolean;
|
3721
4162
|
/** The schedule for notifications on this channel. */
|
3722
|
-
schedule
|
4163
|
+
schedule?: NotificationDeliveryPreferencesSchedule;
|
3723
4164
|
}
|
3724
4165
|
/**
|
3725
4166
|
* A user's notification delivery schedule for a particular day.
|
@@ -4034,7 +4475,7 @@ export declare class OauthToken extends Request {
|
|
4034
4475
|
export declare class OpsgenieSettings extends Request {
|
4035
4476
|
constructor(request: LinearRequest, data: L.OpsgenieSettingsFragment);
|
4036
4477
|
/** The date when the Opsgenie API failed with an unauthorized error. */
|
4037
|
-
apiFailedWithUnauthorizedErrorAt
|
4478
|
+
apiFailedWithUnauthorizedErrorAt?: Date;
|
4038
4479
|
}
|
4039
4480
|
/**
|
4040
4481
|
* An organization. Organizations are root-level objects that contain user accounts and teams.
|
@@ -4094,6 +4535,8 @@ export declare class Organization extends Request {
|
|
4094
4535
|
urlKey: string;
|
4095
4536
|
/** Number of active users in the organization. */
|
4096
4537
|
userCount: number;
|
4538
|
+
/** IP restriction configurations. */
|
4539
|
+
ipRestrictions?: OrganizationIpRestriction[];
|
4097
4540
|
/** The organization's project statuses. */
|
4098
4541
|
projectStatuses: ProjectStatus[];
|
4099
4542
|
/** The organization's subscription to a paid plan. */
|
@@ -4230,7 +4673,7 @@ export declare class OrganizationInvite extends Request {
|
|
4230
4673
|
/** The unique identifier of the entity. */
|
4231
4674
|
id: string;
|
4232
4675
|
/** Extra metadata associated with the organization invite. */
|
4233
|
-
metadata
|
4676
|
+
metadata?: L.Scalars["JSONObject"];
|
4234
4677
|
/**
|
4235
4678
|
* The last time at which the entity was meaningfully updated, i.e. for all changes of syncable properties except those
|
4236
4679
|
* 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
|
@@ -4330,6 +4773,23 @@ export declare class OrganizationInvitePayload extends Request {
|
|
4330
4773
|
/** The organization invite that was created or updated. */
|
4331
4774
|
get organizationInvite(): LinearFetch<OrganizationInvite> | undefined;
|
4332
4775
|
}
|
4776
|
+
/**
|
4777
|
+
* OrganizationIpRestriction model
|
4778
|
+
*
|
4779
|
+
* @param request - function to call the graphql client
|
4780
|
+
* @param data - L.OrganizationIpRestrictionFragment response data
|
4781
|
+
*/
|
4782
|
+
export declare class OrganizationIpRestriction extends Request {
|
4783
|
+
constructor(request: LinearRequest, data: L.OrganizationIpRestrictionFragment);
|
4784
|
+
/** Optional restriction description. */
|
4785
|
+
description?: string;
|
4786
|
+
/** Whether the restriction is enabled. */
|
4787
|
+
enabled: boolean;
|
4788
|
+
/** IP range in CIDR format. */
|
4789
|
+
range: string;
|
4790
|
+
/** Restriction type. */
|
4791
|
+
type: string;
|
4792
|
+
}
|
4333
4793
|
/**
|
4334
4794
|
* OrganizationMeta model
|
4335
4795
|
*
|
@@ -4408,7 +4868,7 @@ export declare class PageInfo extends Request {
|
|
4408
4868
|
export declare class PagerDutySettings extends Request {
|
4409
4869
|
constructor(request: LinearRequest, data: L.PagerDutySettingsFragment);
|
4410
4870
|
/** The date when the PagerDuty API failed with an unauthorized error. */
|
4411
|
-
apiFailedWithUnauthorizedErrorAt
|
4871
|
+
apiFailedWithUnauthorizedErrorAt?: Date;
|
4412
4872
|
}
|
4413
4873
|
/**
|
4414
4874
|
* The paid subscription of an organization.
|
@@ -4424,7 +4884,7 @@ export declare class PaidSubscription extends Request {
|
|
4424
4884
|
/** The date the subscription was canceled, if any. */
|
4425
4885
|
canceledAt?: Date;
|
4426
4886
|
/** The collection method for this subscription, either automatically charged or invoiced. */
|
4427
|
-
collectionMethod
|
4887
|
+
collectionMethod: string;
|
4428
4888
|
/** The time at which the entity was created. */
|
4429
4889
|
createdAt: Date;
|
4430
4890
|
/** The unique identifier of the entity. */
|
@@ -4643,19 +5103,6 @@ export declare class ProjectArchivePayload extends Request {
|
|
4643
5103
|
export declare class ProjectConnection extends Connection<Project> {
|
4644
5104
|
constructor(request: LinearRequest, fetch: (connection?: LinearConnectionVariables) => LinearFetch<LinearConnection<Project> | undefined>, data: L.ProjectConnectionFragment);
|
4645
5105
|
}
|
4646
|
-
/**
|
4647
|
-
* ProjectDetailSuggestionPayload model
|
4648
|
-
*
|
4649
|
-
* @param request - function to call the graphql client
|
4650
|
-
* @param data - L.ProjectDetailSuggestionPayloadFragment response data
|
4651
|
-
*/
|
4652
|
-
export declare class ProjectDetailSuggestionPayload extends Request {
|
4653
|
-
constructor(request: LinearRequest, data: L.ProjectDetailSuggestionPayloadFragment);
|
4654
|
-
/** The suggested project color. */
|
4655
|
-
color?: string;
|
4656
|
-
/** The suggested view icon. */
|
4657
|
-
icon?: string;
|
4658
|
-
}
|
4659
5106
|
/**
|
4660
5107
|
* ProjectFilterSuggestionPayload model
|
4661
5108
|
*
|
@@ -4806,13 +5253,17 @@ export declare class ProjectMilestonePayload extends Request {
|
|
4806
5253
|
*/
|
4807
5254
|
export declare class ProjectNotification extends Request {
|
4808
5255
|
private _actor?;
|
5256
|
+
private _comment?;
|
4809
5257
|
private _externalUserActor?;
|
5258
|
+
private _parentComment?;
|
4810
5259
|
private _project;
|
4811
5260
|
private _projectUpdate?;
|
4812
5261
|
private _user;
|
4813
5262
|
constructor(request: LinearRequest, data: L.ProjectNotificationFragment);
|
4814
5263
|
/** The time at which the entity was archived. Null if the entity has not been archived. */
|
4815
5264
|
archivedAt?: Date;
|
5265
|
+
/** Related comment ID. Null if the notification is not related to a comment. */
|
5266
|
+
commentId?: string;
|
4816
5267
|
/** The time at which the entity was created. */
|
4817
5268
|
createdAt: Date;
|
4818
5269
|
/**
|
@@ -4822,6 +5273,8 @@ export declare class ProjectNotification extends Request {
|
|
4822
5273
|
emailedAt?: Date;
|
4823
5274
|
/** The unique identifier of the entity. */
|
4824
5275
|
id: string;
|
5276
|
+
/** Related parent comment ID. Null if the notification is not related to a comment. */
|
5277
|
+
parentCommentId?: string;
|
4825
5278
|
/** The time at when the user marked the notification as read. Null, if the the user hasn't read the notification */
|
4826
5279
|
readAt?: Date;
|
4827
5280
|
/** The time until a notification will be snoozed. After that it will appear in the inbox again. */
|
@@ -4840,8 +5293,12 @@ export declare class ProjectNotification extends Request {
|
|
4840
5293
|
botActor?: ActorBot;
|
4841
5294
|
/** The user that caused the notification. */
|
4842
5295
|
get actor(): LinearFetch<User> | undefined;
|
5296
|
+
/** The comment related to the notification. */
|
5297
|
+
get comment(): LinearFetch<Comment> | undefined;
|
4843
5298
|
/** The external user that caused the notification. */
|
4844
5299
|
get externalUserActor(): LinearFetch<ExternalUser> | undefined;
|
5300
|
+
/** The parent comment related to the notification, if a notification is a reply comment notification. */
|
5301
|
+
get parentComment(): LinearFetch<Comment> | undefined;
|
4845
5302
|
/** The project related to the notification. */
|
4846
5303
|
get project(): LinearFetch<Project> | undefined;
|
4847
5304
|
/** The project update related to the notification. */
|
@@ -5181,6 +5638,8 @@ export declare class ProjectUpdate extends Request {
|
|
5181
5638
|
updatedAt: Date;
|
5182
5639
|
/** The URL to the project update. */
|
5183
5640
|
url: string;
|
5641
|
+
/** Reactions associated with the project update. */
|
5642
|
+
reactions: Reaction[];
|
5184
5643
|
/** The health of the project at the time of the update. */
|
5185
5644
|
health: L.ProjectUpdateHealthType;
|
5186
5645
|
/** The project that the update is associated with. */
|
@@ -5312,7 +5771,7 @@ export declare class ProjectUpdateWithInteractionPayload extends Request {
|
|
5312
5771
|
get projectUpdate(): LinearFetch<ProjectUpdate> | undefined;
|
5313
5772
|
}
|
5314
5773
|
/**
|
5315
|
-
* A user's web
|
5774
|
+
* A user's web or mobile push notification subscription.
|
5316
5775
|
*
|
5317
5776
|
* @param request - function to call the graphql client
|
5318
5777
|
* @param data - L.PushSubscriptionFragment response data
|
@@ -6076,7 +6535,7 @@ export declare class TeamMembership extends Request {
|
|
6076
6535
|
/** The unique identifier of the entity. */
|
6077
6536
|
id: string;
|
6078
6537
|
/** Whether the user is the owner of the team. */
|
6079
|
-
owner
|
6538
|
+
owner: boolean;
|
6080
6539
|
/** The order of the item in the users team list. */
|
6081
6540
|
sortOrder: number;
|
6082
6541
|
/**
|
@@ -6280,7 +6739,7 @@ export declare class TemplatePayload extends Request {
|
|
6280
6739
|
get template(): LinearFetch<Template> | undefined;
|
6281
6740
|
}
|
6282
6741
|
/**
|
6283
|
-
* A text draft, used for comments and project updates.
|
6742
|
+
* [DEPRECATED] A text draft, used for comments and project updates.
|
6284
6743
|
*
|
6285
6744
|
* @param request - function to call the graphql client
|
6286
6745
|
* @param data - L.TextDraftFragment response data
|
@@ -6298,6 +6757,8 @@ export declare class TextDraft extends Request {
|
|
6298
6757
|
bodyData: Record<string, unknown>;
|
6299
6758
|
/** The time at which the entity was created. */
|
6300
6759
|
createdAt: Date;
|
6760
|
+
/** Additional properties for the draft. */
|
6761
|
+
data?: L.Scalars["JSONObject"];
|
6301
6762
|
/** The unique identifier of the entity. */
|
6302
6763
|
id: string;
|
6303
6764
|
/** Whether the draft was autogenerated for the user. */
|
@@ -6347,7 +6808,7 @@ export declare class TimeSchedule extends Request {
|
|
6347
6808
|
*/
|
6348
6809
|
updatedAt: Date;
|
6349
6810
|
/** The schedule entries. */
|
6350
|
-
entries
|
6811
|
+
entries?: TimeScheduleEntry[];
|
6351
6812
|
/** The identifier of the Linear integration populating the schedule. */
|
6352
6813
|
get integration(): LinearFetch<Integration> | undefined;
|
6353
6814
|
/** The organization of the schedule. */
|
@@ -6540,6 +7001,8 @@ export declare class User extends Request {
|
|
6540
7001
|
admin: boolean;
|
6541
7002
|
/** The time at which the entity was archived. Null if the entity has not been archived. */
|
6542
7003
|
archivedAt?: Date;
|
7004
|
+
/** The background color of the avatar for users without set avatar. */
|
7005
|
+
avatarBackgroundColor: string;
|
6543
7006
|
/** An URL to the user's avatar image. */
|
6544
7007
|
avatarUrl?: string;
|
6545
7008
|
/** [DEPRECATED] Hash for the user to be used in calendar URLs. */
|
@@ -6560,6 +7023,8 @@ export declare class User extends Request {
|
|
6560
7023
|
guest: boolean;
|
6561
7024
|
/** The unique identifier of the entity. */
|
6562
7025
|
id: string;
|
7026
|
+
/** The initials of the user. */
|
7027
|
+
initials: string;
|
6563
7028
|
/** Unique hash for the user to be used in invite URLs. */
|
6564
7029
|
inviteHash: string;
|
6565
7030
|
/** Whether the user is the currently authenticated user. */
|
@@ -6799,13 +7264,13 @@ export declare class UserSettings extends Request {
|
|
6799
7264
|
export declare class UserSettingsFlagPayload extends Request {
|
6800
7265
|
constructor(request: LinearRequest, data: L.UserSettingsFlagPayloadFragment);
|
6801
7266
|
/** The flag key which was updated. */
|
6802
|
-
flag
|
7267
|
+
flag?: string;
|
6803
7268
|
/** The identifier of the last sync operation. */
|
6804
7269
|
lastSyncId: number;
|
6805
7270
|
/** Whether the operation was successful. */
|
6806
7271
|
success: boolean;
|
6807
7272
|
/** The flag value after update. */
|
6808
|
-
value
|
7273
|
+
value?: number;
|
6809
7274
|
}
|
6810
7275
|
/**
|
6811
7276
|
* UserSettingsFlagsResetPayload model
|
@@ -7037,7 +7502,7 @@ export declare class WorkflowDefinition extends Request {
|
|
7037
7502
|
/** The time at which the entity was archived. Null if the entity has not been archived. */
|
7038
7503
|
archivedAt?: Date;
|
7039
7504
|
/** The conditions that need to be match for the workflow to be triggered. */
|
7040
|
-
conditions
|
7505
|
+
conditions?: L.Scalars["JSONObject"];
|
7041
7506
|
/** The time at which the entity was created. */
|
7042
7507
|
createdAt: Date;
|
7043
7508
|
/** The description of the workflow. */
|
@@ -7651,6 +8116,66 @@ export declare class FavoritesQuery extends Request {
|
|
7651
8116
|
*/
|
7652
8117
|
fetch(variables?: L.FavoritesQueryVariables): LinearFetch<FavoriteConnection>;
|
7653
8118
|
}
|
8119
|
+
/**
|
8120
|
+
* A fetchable Initiative Query
|
8121
|
+
*
|
8122
|
+
* @param request - function to call the graphql client
|
8123
|
+
*/
|
8124
|
+
export declare class InitiativeQuery extends Request {
|
8125
|
+
constructor(request: LinearRequest);
|
8126
|
+
/**
|
8127
|
+
* Call the Initiative query and return a Initiative
|
8128
|
+
*
|
8129
|
+
* @param id - required id to pass to initiative
|
8130
|
+
* @returns parsed response from InitiativeQuery
|
8131
|
+
*/
|
8132
|
+
fetch(id: string): LinearFetch<Initiative>;
|
8133
|
+
}
|
8134
|
+
/**
|
8135
|
+
* A fetchable InitiativeToProject Query
|
8136
|
+
*
|
8137
|
+
* @param request - function to call the graphql client
|
8138
|
+
*/
|
8139
|
+
export declare class InitiativeToProjectQuery extends Request {
|
8140
|
+
constructor(request: LinearRequest);
|
8141
|
+
/**
|
8142
|
+
* Call the InitiativeToProject query and return a InitiativeToProject
|
8143
|
+
*
|
8144
|
+
* @param id - required id to pass to initiativeToProject
|
8145
|
+
* @returns parsed response from InitiativeToProjectQuery
|
8146
|
+
*/
|
8147
|
+
fetch(id: string): LinearFetch<InitiativeToProject>;
|
8148
|
+
}
|
8149
|
+
/**
|
8150
|
+
* A fetchable InitiativeToProjects Query
|
8151
|
+
*
|
8152
|
+
* @param request - function to call the graphql client
|
8153
|
+
*/
|
8154
|
+
export declare class InitiativeToProjectsQuery extends Request {
|
8155
|
+
constructor(request: LinearRequest);
|
8156
|
+
/**
|
8157
|
+
* Call the InitiativeToProjects query and return a InitiativeToProjectConnection
|
8158
|
+
*
|
8159
|
+
* @param variables - variables to pass into the InitiativeToProjectsQuery
|
8160
|
+
* @returns parsed response from InitiativeToProjectsQuery
|
8161
|
+
*/
|
8162
|
+
fetch(variables?: L.InitiativeToProjectsQueryVariables): LinearFetch<InitiativeToProjectConnection>;
|
8163
|
+
}
|
8164
|
+
/**
|
8165
|
+
* A fetchable Initiatives Query
|
8166
|
+
*
|
8167
|
+
* @param request - function to call the graphql client
|
8168
|
+
*/
|
8169
|
+
export declare class InitiativesQuery extends Request {
|
8170
|
+
constructor(request: LinearRequest);
|
8171
|
+
/**
|
8172
|
+
* Call the Initiatives query and return a InitiativeConnection
|
8173
|
+
*
|
8174
|
+
* @param variables - variables to pass into the InitiativesQuery
|
8175
|
+
* @returns parsed response from InitiativesQuery
|
8176
|
+
*/
|
8177
|
+
fetch(variables?: L.InitiativesQueryVariables): LinearFetch<InitiativeConnection>;
|
8178
|
+
}
|
7654
8179
|
/**
|
7655
8180
|
* A fetchable Integration Query
|
7656
8181
|
*
|
@@ -9267,12 +9792,27 @@ export declare class CreateDocumentMutation extends Request {
|
|
9267
9792
|
export declare class DeleteDocumentMutation extends Request {
|
9268
9793
|
constructor(request: LinearRequest);
|
9269
9794
|
/**
|
9270
|
-
* Call the DeleteDocument mutation and return a
|
9795
|
+
* Call the DeleteDocument mutation and return a DocumentArchivePayload
|
9271
9796
|
*
|
9272
9797
|
* @param id - required id to pass to deleteDocument
|
9273
9798
|
* @returns parsed response from DeleteDocumentMutation
|
9274
9799
|
*/
|
9275
|
-
fetch(id: string): LinearFetch<
|
9800
|
+
fetch(id: string): LinearFetch<DocumentArchivePayload>;
|
9801
|
+
}
|
9802
|
+
/**
|
9803
|
+
* A fetchable UnarchiveDocument Mutation
|
9804
|
+
*
|
9805
|
+
* @param request - function to call the graphql client
|
9806
|
+
*/
|
9807
|
+
export declare class UnarchiveDocumentMutation extends Request {
|
9808
|
+
constructor(request: LinearRequest);
|
9809
|
+
/**
|
9810
|
+
* Call the UnarchiveDocument mutation and return a DocumentArchivePayload
|
9811
|
+
*
|
9812
|
+
* @param id - required id to pass to unarchiveDocument
|
9813
|
+
* @returns parsed response from UnarchiveDocumentMutation
|
9814
|
+
*/
|
9815
|
+
fetch(id: string): LinearFetch<DocumentArchivePayload>;
|
9276
9816
|
}
|
9277
9817
|
/**
|
9278
9818
|
* A fetchable UpdateDocument Mutation
|
@@ -9676,6 +10216,128 @@ export declare class ImportFileUploadMutation extends Request {
|
|
9676
10216
|
*/
|
9677
10217
|
fetch(contentType: string, filename: string, size: number, variables?: Omit<L.ImportFileUploadMutationVariables, "contentType" | "filename" | "size">): LinearFetch<UploadPayload>;
|
9678
10218
|
}
|
10219
|
+
/**
|
10220
|
+
* A fetchable ArchiveInitiative Mutation
|
10221
|
+
*
|
10222
|
+
* @param request - function to call the graphql client
|
10223
|
+
*/
|
10224
|
+
export declare class ArchiveInitiativeMutation extends Request {
|
10225
|
+
constructor(request: LinearRequest);
|
10226
|
+
/**
|
10227
|
+
* Call the ArchiveInitiative mutation and return a InitiativeArchivePayload
|
10228
|
+
*
|
10229
|
+
* @param id - required id to pass to archiveInitiative
|
10230
|
+
* @returns parsed response from ArchiveInitiativeMutation
|
10231
|
+
*/
|
10232
|
+
fetch(id: string): LinearFetch<InitiativeArchivePayload>;
|
10233
|
+
}
|
10234
|
+
/**
|
10235
|
+
* A fetchable CreateInitiative Mutation
|
10236
|
+
*
|
10237
|
+
* @param request - function to call the graphql client
|
10238
|
+
*/
|
10239
|
+
export declare class CreateInitiativeMutation extends Request {
|
10240
|
+
constructor(request: LinearRequest);
|
10241
|
+
/**
|
10242
|
+
* Call the CreateInitiative mutation and return a InitiativePayload
|
10243
|
+
*
|
10244
|
+
* @param input - required input to pass to createInitiative
|
10245
|
+
* @returns parsed response from CreateInitiativeMutation
|
10246
|
+
*/
|
10247
|
+
fetch(input: L.InitiativeCreateInput): LinearFetch<InitiativePayload>;
|
10248
|
+
}
|
10249
|
+
/**
|
10250
|
+
* A fetchable DeleteInitiative Mutation
|
10251
|
+
*
|
10252
|
+
* @param request - function to call the graphql client
|
10253
|
+
*/
|
10254
|
+
export declare class DeleteInitiativeMutation extends Request {
|
10255
|
+
constructor(request: LinearRequest);
|
10256
|
+
/**
|
10257
|
+
* Call the DeleteInitiative mutation and return a DeletePayload
|
10258
|
+
*
|
10259
|
+
* @param id - required id to pass to deleteInitiative
|
10260
|
+
* @returns parsed response from DeleteInitiativeMutation
|
10261
|
+
*/
|
10262
|
+
fetch(id: string): LinearFetch<DeletePayload>;
|
10263
|
+
}
|
10264
|
+
/**
|
10265
|
+
* A fetchable CreateInitiativeToProject Mutation
|
10266
|
+
*
|
10267
|
+
* @param request - function to call the graphql client
|
10268
|
+
*/
|
10269
|
+
export declare class CreateInitiativeToProjectMutation extends Request {
|
10270
|
+
constructor(request: LinearRequest);
|
10271
|
+
/**
|
10272
|
+
* Call the CreateInitiativeToProject mutation and return a InitiativeToProjectPayload
|
10273
|
+
*
|
10274
|
+
* @param input - required input to pass to createInitiativeToProject
|
10275
|
+
* @returns parsed response from CreateInitiativeToProjectMutation
|
10276
|
+
*/
|
10277
|
+
fetch(input: L.InitiativeToProjectCreateInput): LinearFetch<InitiativeToProjectPayload>;
|
10278
|
+
}
|
10279
|
+
/**
|
10280
|
+
* A fetchable DeleteInitiativeToProject Mutation
|
10281
|
+
*
|
10282
|
+
* @param request - function to call the graphql client
|
10283
|
+
*/
|
10284
|
+
export declare class DeleteInitiativeToProjectMutation extends Request {
|
10285
|
+
constructor(request: LinearRequest);
|
10286
|
+
/**
|
10287
|
+
* Call the DeleteInitiativeToProject mutation and return a DeletePayload
|
10288
|
+
*
|
10289
|
+
* @param id - required id to pass to deleteInitiativeToProject
|
10290
|
+
* @returns parsed response from DeleteInitiativeToProjectMutation
|
10291
|
+
*/
|
10292
|
+
fetch(id: string): LinearFetch<DeletePayload>;
|
10293
|
+
}
|
10294
|
+
/**
|
10295
|
+
* A fetchable UpdateInitiativeToProject Mutation
|
10296
|
+
*
|
10297
|
+
* @param request - function to call the graphql client
|
10298
|
+
*/
|
10299
|
+
export declare class UpdateInitiativeToProjectMutation extends Request {
|
10300
|
+
constructor(request: LinearRequest);
|
10301
|
+
/**
|
10302
|
+
* Call the UpdateInitiativeToProject mutation and return a InitiativeToProjectPayload
|
10303
|
+
*
|
10304
|
+
* @param id - required id to pass to updateInitiativeToProject
|
10305
|
+
* @param input - required input to pass to updateInitiativeToProject
|
10306
|
+
* @returns parsed response from UpdateInitiativeToProjectMutation
|
10307
|
+
*/
|
10308
|
+
fetch(id: string, input: L.InitiativeToProjectUpdateInput): LinearFetch<InitiativeToProjectPayload>;
|
10309
|
+
}
|
10310
|
+
/**
|
10311
|
+
* A fetchable UnarchiveInitiative Mutation
|
10312
|
+
*
|
10313
|
+
* @param request - function to call the graphql client
|
10314
|
+
*/
|
10315
|
+
export declare class UnarchiveInitiativeMutation extends Request {
|
10316
|
+
constructor(request: LinearRequest);
|
10317
|
+
/**
|
10318
|
+
* Call the UnarchiveInitiative mutation and return a InitiativeArchivePayload
|
10319
|
+
*
|
10320
|
+
* @param id - required id to pass to unarchiveInitiative
|
10321
|
+
* @returns parsed response from UnarchiveInitiativeMutation
|
10322
|
+
*/
|
10323
|
+
fetch(id: string): LinearFetch<InitiativeArchivePayload>;
|
10324
|
+
}
|
10325
|
+
/**
|
10326
|
+
* A fetchable UpdateInitiative Mutation
|
10327
|
+
*
|
10328
|
+
* @param request - function to call the graphql client
|
10329
|
+
*/
|
10330
|
+
export declare class UpdateInitiativeMutation extends Request {
|
10331
|
+
constructor(request: LinearRequest);
|
10332
|
+
/**
|
10333
|
+
* Call the UpdateInitiative mutation and return a InitiativePayload
|
10334
|
+
*
|
10335
|
+
* @param id - required id to pass to updateInitiative
|
10336
|
+
* @param input - required input to pass to updateInitiative
|
10337
|
+
* @returns parsed response from UpdateInitiativeMutation
|
10338
|
+
*/
|
10339
|
+
fetch(id: string, input: L.InitiativeUpdateInput): LinearFetch<InitiativePayload>;
|
10340
|
+
}
|
9679
10341
|
/**
|
9680
10342
|
* A fetchable ArchiveIntegration Mutation
|
9681
10343
|
*
|
@@ -9770,6 +10432,22 @@ export declare class IntegrationFrontMutation extends Request {
|
|
9770
10432
|
*/
|
9771
10433
|
fetch(code: string, redirectUri: string): LinearFetch<IntegrationPayload>;
|
9772
10434
|
}
|
10435
|
+
/**
|
10436
|
+
* A fetchable IntegrationGitHubEnterpriseServerConnect Mutation
|
10437
|
+
*
|
10438
|
+
* @param request - function to call the graphql client
|
10439
|
+
*/
|
10440
|
+
export declare class IntegrationGitHubEnterpriseServerConnectMutation extends Request {
|
10441
|
+
constructor(request: LinearRequest);
|
10442
|
+
/**
|
10443
|
+
* Call the IntegrationGitHubEnterpriseServerConnect mutation and return a GitHubEnterpriseServerPayload
|
10444
|
+
*
|
10445
|
+
* @param githubUrl - required githubUrl to pass to integrationGitHubEnterpriseServerConnect
|
10446
|
+
* @param variables - variables without 'githubUrl' to pass into the IntegrationGitHubEnterpriseServerConnectMutation
|
10447
|
+
* @returns parsed response from IntegrationGitHubEnterpriseServerConnectMutation
|
10448
|
+
*/
|
10449
|
+
fetch(githubUrl: string, variables?: Omit<L.IntegrationGitHubEnterpriseServerConnectMutationVariables, "githubUrl">): LinearFetch<GitHubEnterpriseServerPayload>;
|
10450
|
+
}
|
9773
10451
|
/**
|
9774
10452
|
* A fetchable IntegrationGitHubPersonal Mutation
|
9775
10453
|
*
|
@@ -10270,9 +10948,10 @@ export declare class DeleteIssueMutation extends Request {
|
|
10270
10948
|
* Call the DeleteIssue mutation and return a IssueArchivePayload
|
10271
10949
|
*
|
10272
10950
|
* @param id - required id to pass to deleteIssue
|
10951
|
+
* @param variables - variables without 'id' to pass into the DeleteIssueMutation
|
10273
10952
|
* @returns parsed response from DeleteIssueMutation
|
10274
10953
|
*/
|
10275
|
-
fetch(id: string): LinearFetch<IssueArchivePayload>;
|
10954
|
+
fetch(id: string, variables?: Omit<L.DeleteIssueMutationVariables, "id">): LinearFetch<IssueArchivePayload>;
|
10276
10955
|
}
|
10277
10956
|
/**
|
10278
10957
|
* A fetchable IssueImportCreateAsana Mutation
|
@@ -10334,11 +11013,10 @@ export declare class IssueImportCreateGithubMutation extends Request {
|
|
10334
11013
|
/**
|
10335
11014
|
* Call the IssueImportCreateGithub mutation and return a IssueImportPayload
|
10336
11015
|
*
|
10337
|
-
* @param
|
10338
|
-
* @param variables - variables without 'integrationId' to pass into the IssueImportCreateGithubMutation
|
11016
|
+
* @param variables - variables to pass into the IssueImportCreateGithubMutation
|
10339
11017
|
* @returns parsed response from IssueImportCreateGithubMutation
|
10340
11018
|
*/
|
10341
|
-
fetch(
|
11019
|
+
fetch(variables?: L.IssueImportCreateGithubMutationVariables): LinearFetch<IssueImportPayload>;
|
10342
11020
|
}
|
10343
11021
|
/**
|
10344
11022
|
* A fetchable IssueImportCreateJira Mutation
|
@@ -11873,21 +12551,6 @@ export declare class UserPromoteMemberMutation extends Request {
|
|
11873
12551
|
*/
|
11874
12552
|
fetch(id: string): LinearFetch<UserAdminPayload>;
|
11875
12553
|
}
|
11876
|
-
/**
|
11877
|
-
* A fetchable UserSettingsFlagIncrement Mutation
|
11878
|
-
*
|
11879
|
-
* @param request - function to call the graphql client
|
11880
|
-
*/
|
11881
|
-
export declare class UserSettingsFlagIncrementMutation extends Request {
|
11882
|
-
constructor(request: LinearRequest);
|
11883
|
-
/**
|
11884
|
-
* Call the UserSettingsFlagIncrement mutation and return a UserSettingsFlagPayload
|
11885
|
-
*
|
11886
|
-
* @param flag - required flag to pass to userSettingsFlagIncrement
|
11887
|
-
* @returns parsed response from UserSettingsFlagIncrementMutation
|
11888
|
-
*/
|
11889
|
-
fetch(flag: string): LinearFetch<UserSettingsFlagPayload>;
|
11890
|
-
}
|
11891
12554
|
/**
|
11892
12555
|
* A fetchable UserSettingsFlagsReset Mutation
|
11893
12556
|
*
|
@@ -12497,6 +13160,44 @@ export declare class Favorite_ChildrenQuery extends Request {
|
|
12497
13160
|
*/
|
12498
13161
|
fetch(variables?: Omit<L.Favorite_ChildrenQueryVariables, "id">): LinearFetch<FavoriteConnection>;
|
12499
13162
|
}
|
13163
|
+
/**
|
13164
|
+
* A fetchable Initiative_Links Query
|
13165
|
+
*
|
13166
|
+
* @param request - function to call the graphql client
|
13167
|
+
* @param id - required id to pass to initiative
|
13168
|
+
* @param variables - variables without 'id' to pass into the Initiative_LinksQuery
|
13169
|
+
*/
|
13170
|
+
export declare class Initiative_LinksQuery extends Request {
|
13171
|
+
private _id;
|
13172
|
+
private _variables?;
|
13173
|
+
constructor(request: LinearRequest, id: string, variables?: Omit<L.Initiative_LinksQueryVariables, "id">);
|
13174
|
+
/**
|
13175
|
+
* Call the Initiative_Links query and return a EntityExternalLinkConnection
|
13176
|
+
*
|
13177
|
+
* @param variables - variables without 'id' to pass into the Initiative_LinksQuery
|
13178
|
+
* @returns parsed response from Initiative_LinksQuery
|
13179
|
+
*/
|
13180
|
+
fetch(variables?: Omit<L.Initiative_LinksQueryVariables, "id">): LinearFetch<EntityExternalLinkConnection>;
|
13181
|
+
}
|
13182
|
+
/**
|
13183
|
+
* A fetchable Initiative_Projects Query
|
13184
|
+
*
|
13185
|
+
* @param request - function to call the graphql client
|
13186
|
+
* @param id - required id to pass to initiative
|
13187
|
+
* @param variables - variables without 'id' to pass into the Initiative_ProjectsQuery
|
13188
|
+
*/
|
13189
|
+
export declare class Initiative_ProjectsQuery extends Request {
|
13190
|
+
private _id;
|
13191
|
+
private _variables?;
|
13192
|
+
constructor(request: LinearRequest, id: string, variables?: Omit<L.Initiative_ProjectsQueryVariables, "id">);
|
13193
|
+
/**
|
13194
|
+
* Call the Initiative_Projects query and return a ProjectConnection
|
13195
|
+
*
|
13196
|
+
* @param variables - variables without 'id' to pass into the Initiative_ProjectsQuery
|
13197
|
+
* @returns parsed response from Initiative_ProjectsQuery
|
13198
|
+
*/
|
13199
|
+
fetch(variables?: Omit<L.Initiative_ProjectsQueryVariables, "id">): LinearFetch<ProjectConnection>;
|
13200
|
+
}
|
12500
13201
|
/**
|
12501
13202
|
* A fetchable Issue_Attachments Query
|
12502
13203
|
*
|
@@ -13962,6 +14663,34 @@ export declare class LinearSdk extends Request {
|
|
13962
14663
|
* @returns FavoriteConnection
|
13963
14664
|
*/
|
13964
14665
|
favorites(variables?: L.FavoritesQueryVariables): LinearFetch<FavoriteConnection>;
|
14666
|
+
/**
|
14667
|
+
* One specific initiative.
|
14668
|
+
*
|
14669
|
+
* @param id - required id to pass to initiative
|
14670
|
+
* @returns Initiative
|
14671
|
+
*/
|
14672
|
+
initiative(id: string): LinearFetch<Initiative>;
|
14673
|
+
/**
|
14674
|
+
* One specific initiativeToProject.
|
14675
|
+
*
|
14676
|
+
* @param id - required id to pass to initiativeToProject
|
14677
|
+
* @returns InitiativeToProject
|
14678
|
+
*/
|
14679
|
+
initiativeToProject(id: string): LinearFetch<InitiativeToProject>;
|
14680
|
+
/**
|
14681
|
+
* returns a list of initiative to project entities.
|
14682
|
+
*
|
14683
|
+
* @param variables - variables to pass into the InitiativeToProjectsQuery
|
14684
|
+
* @returns InitiativeToProjectConnection
|
14685
|
+
*/
|
14686
|
+
initiativeToProjects(variables?: L.InitiativeToProjectsQueryVariables): LinearFetch<InitiativeToProjectConnection>;
|
14687
|
+
/**
|
14688
|
+
* All initiatives in the workspace.
|
14689
|
+
*
|
14690
|
+
* @param variables - variables to pass into the InitiativesQuery
|
14691
|
+
* @returns InitiativeConnection
|
14692
|
+
*/
|
14693
|
+
initiatives(variables?: L.InitiativesQueryVariables): LinearFetch<InitiativeConnection>;
|
13965
14694
|
/**
|
13966
14695
|
* One specific integration.
|
13967
14696
|
*
|
@@ -14731,12 +15460,19 @@ export declare class LinearSdk extends Request {
|
|
14731
15460
|
*/
|
14732
15461
|
createDocument(input: L.DocumentCreateInput): LinearFetch<DocumentPayload>;
|
14733
15462
|
/**
|
14734
|
-
* Deletes a document.
|
15463
|
+
* Deletes (trashes) a document.
|
14735
15464
|
*
|
14736
15465
|
* @param id - required id to pass to deleteDocument
|
14737
|
-
* @returns
|
15466
|
+
* @returns DocumentArchivePayload
|
14738
15467
|
*/
|
14739
|
-
deleteDocument(id: string): LinearFetch<
|
15468
|
+
deleteDocument(id: string): LinearFetch<DocumentArchivePayload>;
|
15469
|
+
/**
|
15470
|
+
* Restores a document.
|
15471
|
+
*
|
15472
|
+
* @param id - required id to pass to unarchiveDocument
|
15473
|
+
* @returns DocumentArchivePayload
|
15474
|
+
*/
|
15475
|
+
unarchiveDocument(id: string): LinearFetch<DocumentArchivePayload>;
|
14740
15476
|
/**
|
14741
15477
|
* Updates a document.
|
14742
15478
|
*
|
@@ -14931,6 +15667,64 @@ export declare class LinearSdk extends Request {
|
|
14931
15667
|
* @returns UploadPayload
|
14932
15668
|
*/
|
14933
15669
|
importFileUpload(contentType: string, filename: string, size: number, variables?: Omit<L.ImportFileUploadMutationVariables, "contentType" | "filename" | "size">): LinearFetch<UploadPayload>;
|
15670
|
+
/**
|
15671
|
+
* Archives a initiative.
|
15672
|
+
*
|
15673
|
+
* @param id - required id to pass to archiveInitiative
|
15674
|
+
* @returns InitiativeArchivePayload
|
15675
|
+
*/
|
15676
|
+
archiveInitiative(id: string): LinearFetch<InitiativeArchivePayload>;
|
15677
|
+
/**
|
15678
|
+
* Creates a new initiative.
|
15679
|
+
*
|
15680
|
+
* @param input - required input to pass to createInitiative
|
15681
|
+
* @returns InitiativePayload
|
15682
|
+
*/
|
15683
|
+
createInitiative(input: L.InitiativeCreateInput): LinearFetch<InitiativePayload>;
|
15684
|
+
/**
|
15685
|
+
* Deletes (trashes) an initiative.
|
15686
|
+
*
|
15687
|
+
* @param id - required id to pass to deleteInitiative
|
15688
|
+
* @returns DeletePayload
|
15689
|
+
*/
|
15690
|
+
deleteInitiative(id: string): LinearFetch<DeletePayload>;
|
15691
|
+
/**
|
15692
|
+
* Creates a new initiativeToProject join.
|
15693
|
+
*
|
15694
|
+
* @param input - required input to pass to createInitiativeToProject
|
15695
|
+
* @returns InitiativeToProjectPayload
|
15696
|
+
*/
|
15697
|
+
createInitiativeToProject(input: L.InitiativeToProjectCreateInput): LinearFetch<InitiativeToProjectPayload>;
|
15698
|
+
/**
|
15699
|
+
* Deletes a initiativeToProject.
|
15700
|
+
*
|
15701
|
+
* @param id - required id to pass to deleteInitiativeToProject
|
15702
|
+
* @returns DeletePayload
|
15703
|
+
*/
|
15704
|
+
deleteInitiativeToProject(id: string): LinearFetch<DeletePayload>;
|
15705
|
+
/**
|
15706
|
+
* Updates a initiativeToProject.
|
15707
|
+
*
|
15708
|
+
* @param id - required id to pass to updateInitiativeToProject
|
15709
|
+
* @param input - required input to pass to updateInitiativeToProject
|
15710
|
+
* @returns InitiativeToProjectPayload
|
15711
|
+
*/
|
15712
|
+
updateInitiativeToProject(id: string, input: L.InitiativeToProjectUpdateInput): LinearFetch<InitiativeToProjectPayload>;
|
15713
|
+
/**
|
15714
|
+
* Unarchives a initiative.
|
15715
|
+
*
|
15716
|
+
* @param id - required id to pass to unarchiveInitiative
|
15717
|
+
* @returns InitiativeArchivePayload
|
15718
|
+
*/
|
15719
|
+
unarchiveInitiative(id: string): LinearFetch<InitiativeArchivePayload>;
|
15720
|
+
/**
|
15721
|
+
* Updates a initiative.
|
15722
|
+
*
|
15723
|
+
* @param id - required id to pass to updateInitiative
|
15724
|
+
* @param input - required input to pass to updateInitiative
|
15725
|
+
* @returns InitiativePayload
|
15726
|
+
*/
|
15727
|
+
updateInitiative(id: string, input: L.InitiativeUpdateInput): LinearFetch<InitiativePayload>;
|
14934
15728
|
/**
|
14935
15729
|
* Archives an integration.
|
14936
15730
|
*
|
@@ -14977,6 +15771,14 @@ export declare class LinearSdk extends Request {
|
|
14977
15771
|
* @returns IntegrationPayload
|
14978
15772
|
*/
|
14979
15773
|
integrationFront(code: string, redirectUri: string): LinearFetch<IntegrationPayload>;
|
15774
|
+
/**
|
15775
|
+
* Connects the organization with a GitHub Enterprise Server.
|
15776
|
+
*
|
15777
|
+
* @param githubUrl - required githubUrl to pass to integrationGitHubEnterpriseServerConnect
|
15778
|
+
* @param variables - variables without 'githubUrl' to pass into the IntegrationGitHubEnterpriseServerConnectMutation
|
15779
|
+
* @returns GitHubEnterpriseServerPayload
|
15780
|
+
*/
|
15781
|
+
integrationGitHubEnterpriseServerConnect(githubUrl: string, variables?: Omit<L.IntegrationGitHubEnterpriseServerConnectMutationVariables, "githubUrl">): LinearFetch<GitHubEnterpriseServerPayload>;
|
14980
15782
|
/**
|
14981
15783
|
* Connect your GitHub account to Linear.
|
14982
15784
|
*
|
@@ -15222,9 +16024,10 @@ export declare class LinearSdk extends Request {
|
|
15222
16024
|
* Deletes (trashes) an issue.
|
15223
16025
|
*
|
15224
16026
|
* @param id - required id to pass to deleteIssue
|
16027
|
+
* @param variables - variables without 'id' to pass into the DeleteIssueMutation
|
15225
16028
|
* @returns IssueArchivePayload
|
15226
16029
|
*/
|
15227
|
-
deleteIssue(id: string): LinearFetch<IssueArchivePayload>;
|
16030
|
+
deleteIssue(id: string, variables?: Omit<L.DeleteIssueMutationVariables, "id">): LinearFetch<IssueArchivePayload>;
|
15228
16031
|
/**
|
15229
16032
|
* Kicks off an Asana import job.
|
15230
16033
|
*
|
@@ -15254,11 +16057,10 @@ export declare class LinearSdk extends Request {
|
|
15254
16057
|
/**
|
15255
16058
|
* Kicks off a GitHub import job.
|
15256
16059
|
*
|
15257
|
-
* @param
|
15258
|
-
* @param variables - variables without 'integrationId' to pass into the IssueImportCreateGithubMutation
|
16060
|
+
* @param variables - variables to pass into the IssueImportCreateGithubMutation
|
15259
16061
|
* @returns IssueImportPayload
|
15260
16062
|
*/
|
15261
|
-
issueImportCreateGithub(
|
16063
|
+
issueImportCreateGithub(variables?: L.IssueImportCreateGithubMutationVariables): LinearFetch<IssueImportPayload>;
|
15262
16064
|
/**
|
15263
16065
|
* Kicks off a Jira import job.
|
15264
16066
|
*
|
@@ -15992,13 +16794,6 @@ export declare class LinearSdk extends Request {
|
|
15992
16794
|
* @returns UserAdminPayload
|
15993
16795
|
*/
|
15994
16796
|
userPromoteMember(id: string): LinearFetch<UserAdminPayload>;
|
15995
|
-
/**
|
15996
|
-
* [Deprecated] Updates a user's settings flag.
|
15997
|
-
*
|
15998
|
-
* @param flag - required flag to pass to userSettingsFlagIncrement
|
15999
|
-
* @returns UserSettingsFlagPayload
|
16000
|
-
*/
|
16001
|
-
userSettingsFlagIncrement(flag: string): LinearFetch<UserSettingsFlagPayload>;
|
16002
16797
|
/**
|
16003
16798
|
* Resets user's setting flags.
|
16004
16799
|
*
|