@linear/sdk 23.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 +677 -70
- package/dist/_generated_documents.d.ts.map +1 -1
- package/dist/_generated_sdk.d.ts +619 -13
- package/dist/_generated_sdk.d.ts.map +1 -1
- package/dist/index-cjs.js +2381 -254
- 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 +2358 -255
- 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 +2382 -255
- 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
@@ -566,6 +566,8 @@ export declare class AuthOrganizationBucketNamePayload extends Request {
|
|
566
566
|
constructor(request: LinearRequest, data: L.AuthOrganizationBucketNamePayloadFragment);
|
567
567
|
/** The imports bucket name for the organization. */
|
568
568
|
importsBucketName: string;
|
569
|
+
/** The region for the organization. */
|
570
|
+
region: string;
|
569
571
|
/** The uploads bucket name for the organization. */
|
570
572
|
uploadsBucketName: string;
|
571
573
|
}
|
@@ -873,6 +875,19 @@ export declare class Comment extends Request {
|
|
873
875
|
export declare class CommentConnection extends Connection<Comment> {
|
874
876
|
constructor(request: LinearRequest, fetch: (connection?: LinearConnectionVariables) => LinearFetch<LinearConnection<Comment> | undefined>, data: L.CommentConnectionFragment);
|
875
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
|
+
}
|
876
891
|
/**
|
877
892
|
* CommentPayload model
|
878
893
|
*
|
@@ -1459,6 +1474,7 @@ export declare class DocumentConnection extends Connection<Document> {
|
|
1459
1474
|
*/
|
1460
1475
|
export declare class DocumentContent extends Request {
|
1461
1476
|
private _document?;
|
1477
|
+
private _initiative?;
|
1462
1478
|
private _issue?;
|
1463
1479
|
private _project?;
|
1464
1480
|
private _projectMilestone?;
|
@@ -1483,6 +1499,8 @@ export declare class DocumentContent extends Request {
|
|
1483
1499
|
updatedAt: Date;
|
1484
1500
|
/** The document that the content is associated with. */
|
1485
1501
|
get document(): LinearFetch<Document> | undefined;
|
1502
|
+
/** The initiative that the content is associated with. */
|
1503
|
+
get initiative(): LinearFetch<Initiative> | undefined;
|
1486
1504
|
/** The issue that the content is associated with. */
|
1487
1505
|
get issue(): LinearFetch<Issue> | undefined;
|
1488
1506
|
/** The project that the content is associated with. */
|
@@ -1560,6 +1578,8 @@ export declare class DocumentNotification extends Request {
|
|
1560
1578
|
constructor(request: LinearRequest, data: L.DocumentNotificationFragment);
|
1561
1579
|
/** The time at which the entity was archived. Null if the entity has not been archived. */
|
1562
1580
|
archivedAt?: Date;
|
1581
|
+
/** Related comment ID. Null if the notification is not related to a comment. */
|
1582
|
+
commentId?: string;
|
1563
1583
|
/** The time at which the entity was created. */
|
1564
1584
|
createdAt: Date;
|
1565
1585
|
/**
|
@@ -1569,6 +1589,8 @@ export declare class DocumentNotification extends Request {
|
|
1569
1589
|
emailedAt?: Date;
|
1570
1590
|
/** The unique identifier of the entity. */
|
1571
1591
|
id: string;
|
1592
|
+
/** Related parent comment ID. Null if the notification is not related to a comment. */
|
1593
|
+
parentCommentId?: string;
|
1572
1594
|
/** The time at when the user marked the notification as read. Null, if the the user hasn't read the notification */
|
1573
1595
|
readAt?: Date;
|
1574
1596
|
/** The time until a notification will be snoozed. After that it will appear in the inbox again. */
|
@@ -1686,6 +1708,48 @@ export declare class DocumentSearchResult extends Request {
|
|
1686
1708
|
export declare class DocumentSearchResultConnection extends Connection<DocumentSearchResult> {
|
1687
1709
|
constructor(request: LinearRequest, fetch: (connection?: LinearConnectionVariables) => LinearFetch<LinearConnection<DocumentSearchResult> | undefined>, data: L.DocumentSearchResultConnectionFragment);
|
1688
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
|
+
}
|
1689
1753
|
/**
|
1690
1754
|
* An email address that can be used for submitting issues.
|
1691
1755
|
*
|
@@ -1858,6 +1922,7 @@ export declare class Entity extends Request {
|
|
1858
1922
|
*/
|
1859
1923
|
export declare class EntityExternalLink extends Request {
|
1860
1924
|
private _creator;
|
1925
|
+
private _initiative;
|
1861
1926
|
constructor(request: LinearRequest, data: L.EntityExternalLinkFragment);
|
1862
1927
|
/** The time at which the entity was archived. Null if the entity has not been archived. */
|
1863
1928
|
archivedAt?: Date;
|
@@ -1879,6 +1944,8 @@ export declare class EntityExternalLink extends Request {
|
|
1879
1944
|
url: string;
|
1880
1945
|
/** The user who created the link. */
|
1881
1946
|
get creator(): LinearFetch<User> | undefined;
|
1947
|
+
/** The initiative that the link is associated with. */
|
1948
|
+
get initiative(): LinearFetch<Initiative> | undefined;
|
1882
1949
|
/** Creates a new entity link. */
|
1883
1950
|
create(input: L.EntityExternalLinkCreateInput): LinearFetch<EntityExternalLinkPayload>;
|
1884
1951
|
/** Deletes an entity link. */
|
@@ -1962,6 +2029,7 @@ export declare class ExternalUserConnection extends Connection<ExternalUser> {
|
|
1962
2029
|
* @param data - L.FacetFragment response data
|
1963
2030
|
*/
|
1964
2031
|
export declare class Facet extends Request {
|
2032
|
+
private _sourceInitiative?;
|
1965
2033
|
private _sourceProject?;
|
1966
2034
|
private _sourceTeam?;
|
1967
2035
|
private _targetCustomView?;
|
@@ -1982,6 +2050,8 @@ export declare class Facet extends Request {
|
|
1982
2050
|
updatedAt: Date;
|
1983
2051
|
/** The owning page. */
|
1984
2052
|
sourcePage?: L.FacetPageSource;
|
2053
|
+
/** The owning initiative. */
|
2054
|
+
get sourceInitiative(): LinearFetch<Initiative> | undefined;
|
1985
2055
|
/** The owning organization. */
|
1986
2056
|
get sourceOrganization(): LinearFetch<Organization>;
|
1987
2057
|
/** The owning project. */
|
@@ -2041,6 +2111,10 @@ export declare class Favorite extends Request {
|
|
2041
2111
|
* been updated after creation.
|
2042
2112
|
*/
|
2043
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;
|
2044
2118
|
/** The targeted tab of the project. */
|
2045
2119
|
projectTab?: L.ProjectTab;
|
2046
2120
|
/** The favorited custom view. */
|
@@ -2061,7 +2135,7 @@ export declare class Favorite extends Request {
|
|
2061
2135
|
get predefinedViewTeam(): LinearFetch<Team> | undefined;
|
2062
2136
|
/** The favorited project. */
|
2063
2137
|
get project(): LinearFetch<Project> | undefined;
|
2064
|
-
/** The favorited team of the project. */
|
2138
|
+
/** [DEPRECATED] The favorited team of the project. */
|
2065
2139
|
get projectTeam(): LinearFetch<Team> | undefined;
|
2066
2140
|
/** The favorited roadmap. */
|
2067
2141
|
get roadmap(): LinearFetch<Roadmap> | undefined;
|
@@ -2372,6 +2446,26 @@ export declare class GitHubCommitIntegrationPayload extends Request {
|
|
2372
2446
|
/** The integration that was created or updated. */
|
2373
2447
|
get integration(): LinearFetch<Integration> | undefined;
|
2374
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
|
+
}
|
2375
2469
|
/**
|
2376
2470
|
* Metadata and settings for a GitHub import integration.
|
2377
2471
|
*
|
@@ -2422,7 +2516,7 @@ export declare class GitHubRepo extends Request {
|
|
2422
2516
|
export declare class GitHubSettings extends Request {
|
2423
2517
|
constructor(request: LinearRequest, data: L.GitHubSettingsFragment);
|
2424
2518
|
/** The avatar URL for the GitHub organization. */
|
2425
|
-
orgAvatarUrl
|
2519
|
+
orgAvatarUrl?: string;
|
2426
2520
|
/** The GitHub organization's name. */
|
2427
2521
|
orgLogin: string;
|
2428
2522
|
/** The names of the repositories connected for the GitHub integration. */
|
@@ -2475,6 +2569,69 @@ export declare class ImageUploadFromUrlPayload extends Request {
|
|
2475
2569
|
/** The URL containing the image. */
|
2476
2570
|
url?: string;
|
2477
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
|
+
}
|
2478
2635
|
/**
|
2479
2636
|
* A generic payload return from entity archive mutations.
|
2480
2637
|
*
|
@@ -2482,11 +2639,24 @@ export declare class ImageUploadFromUrlPayload extends Request {
|
|
2482
2639
|
* @param data - L.InitiativeArchivePayloadFragment response data
|
2483
2640
|
*/
|
2484
2641
|
export declare class InitiativeArchivePayload extends Request {
|
2642
|
+
private _entity?;
|
2485
2643
|
constructor(request: LinearRequest, data: L.InitiativeArchivePayloadFragment);
|
2486
2644
|
/** The identifier of the last sync operation. */
|
2487
2645
|
lastSyncId: number;
|
2488
2646
|
/** Whether the operation was successful. */
|
2489
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);
|
2490
2660
|
}
|
2491
2661
|
/**
|
2492
2662
|
* An initiative related notification.
|
@@ -2501,6 +2671,8 @@ export declare class InitiativeNotification extends Request {
|
|
2501
2671
|
constructor(request: LinearRequest, data: L.InitiativeNotificationFragment);
|
2502
2672
|
/** The time at which the entity was archived. Null if the entity has not been archived. */
|
2503
2673
|
archivedAt?: Date;
|
2674
|
+
/** Related comment ID. Null if the notification is not related to a comment. */
|
2675
|
+
commentId?: string;
|
2504
2676
|
/** The time at which the entity was created. */
|
2505
2677
|
createdAt: Date;
|
2506
2678
|
/**
|
@@ -2510,6 +2682,8 @@ export declare class InitiativeNotification extends Request {
|
|
2510
2682
|
emailedAt?: Date;
|
2511
2683
|
/** The unique identifier of the entity. */
|
2512
2684
|
id: string;
|
2685
|
+
/** Related parent comment ID. Null if the notification is not related to a comment. */
|
2686
|
+
parentCommentId?: string;
|
2513
2687
|
/** The time at when the user marked the notification as read. Null, if the the user hasn't read the notification */
|
2514
2688
|
readAt?: Date;
|
2515
2689
|
/** The time until a notification will be snoozed. After that it will appear in the inbox again. */
|
@@ -2533,6 +2707,83 @@ export declare class InitiativeNotification extends Request {
|
|
2533
2707
|
/** The user that received the notification. */
|
2534
2708
|
get user(): LinearFetch<User> | undefined;
|
2535
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
|
+
}
|
2536
2787
|
/**
|
2537
2788
|
* An integration with an external service.
|
2538
2789
|
*
|
@@ -2947,7 +3198,7 @@ export declare class Issue extends Request {
|
|
2947
3198
|
/** Creates a new issue. */
|
2948
3199
|
create(input: L.IssueCreateInput): LinearFetch<IssuePayload>;
|
2949
3200
|
/** Deletes (trashes) an issue. */
|
2950
|
-
delete(): LinearFetch<IssueArchivePayload>;
|
3201
|
+
delete(variables?: Omit<L.DeleteIssueMutationVariables, "id">): LinearFetch<IssueArchivePayload>;
|
2951
3202
|
/** Unarchives an issue. */
|
2952
3203
|
unarchive(): LinearFetch<IssueArchivePayload>;
|
2953
3204
|
/** Updates an issue. */
|
@@ -3174,6 +3425,8 @@ export declare class IssueImport extends Request {
|
|
3174
3425
|
creatorId: string;
|
3175
3426
|
/** File URL for the uploaded CSV for the import, if there is one. */
|
3176
3427
|
csvFileUrl?: string;
|
3428
|
+
/** The display name of the import service. */
|
3429
|
+
displayName: string;
|
3177
3430
|
/** User readable error message, if one has occurred during the import. */
|
3178
3431
|
error?: string;
|
3179
3432
|
/** Error code and metadata, if one has occurred during the import. */
|
@@ -3343,11 +3596,14 @@ export declare class IssueNotification extends Request {
|
|
3343
3596
|
private _comment?;
|
3344
3597
|
private _externalUserActor?;
|
3345
3598
|
private _issue;
|
3599
|
+
private _parentComment?;
|
3346
3600
|
private _team;
|
3347
3601
|
private _user;
|
3348
3602
|
constructor(request: LinearRequest, data: L.IssueNotificationFragment);
|
3349
3603
|
/** The time at which the entity was archived. Null if the entity has not been archived. */
|
3350
3604
|
archivedAt?: Date;
|
3605
|
+
/** Related comment ID. Null if the notification is not related to a comment. */
|
3606
|
+
commentId?: string;
|
3351
3607
|
/** The time at which the entity was created. */
|
3352
3608
|
createdAt: Date;
|
3353
3609
|
/**
|
@@ -3357,6 +3613,8 @@ export declare class IssueNotification extends Request {
|
|
3357
3613
|
emailedAt?: Date;
|
3358
3614
|
/** The unique identifier of the entity. */
|
3359
3615
|
id: string;
|
3616
|
+
/** Related parent comment ID. Null if the notification is not related to a comment. */
|
3617
|
+
parentCommentId?: string;
|
3360
3618
|
/** Name of the reaction emoji related to the notification. */
|
3361
3619
|
reactionEmoji?: string;
|
3362
3620
|
/** The time at when the user marked the notification as read. Null, if the the user hasn't read the notification */
|
@@ -3385,6 +3643,8 @@ export declare class IssueNotification extends Request {
|
|
3385
3643
|
get externalUserActor(): LinearFetch<ExternalUser> | undefined;
|
3386
3644
|
/** The issue related to the notification. */
|
3387
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;
|
3388
3648
|
/** The team related to the issue notification. */
|
3389
3649
|
get team(): LinearFetch<Team> | undefined;
|
3390
3650
|
/** The user that received the notification. */
|
@@ -4993,13 +5253,17 @@ export declare class ProjectMilestonePayload extends Request {
|
|
4993
5253
|
*/
|
4994
5254
|
export declare class ProjectNotification extends Request {
|
4995
5255
|
private _actor?;
|
5256
|
+
private _comment?;
|
4996
5257
|
private _externalUserActor?;
|
5258
|
+
private _parentComment?;
|
4997
5259
|
private _project;
|
4998
5260
|
private _projectUpdate?;
|
4999
5261
|
private _user;
|
5000
5262
|
constructor(request: LinearRequest, data: L.ProjectNotificationFragment);
|
5001
5263
|
/** The time at which the entity was archived. Null if the entity has not been archived. */
|
5002
5264
|
archivedAt?: Date;
|
5265
|
+
/** Related comment ID. Null if the notification is not related to a comment. */
|
5266
|
+
commentId?: string;
|
5003
5267
|
/** The time at which the entity was created. */
|
5004
5268
|
createdAt: Date;
|
5005
5269
|
/**
|
@@ -5009,6 +5273,8 @@ export declare class ProjectNotification extends Request {
|
|
5009
5273
|
emailedAt?: Date;
|
5010
5274
|
/** The unique identifier of the entity. */
|
5011
5275
|
id: string;
|
5276
|
+
/** Related parent comment ID. Null if the notification is not related to a comment. */
|
5277
|
+
parentCommentId?: string;
|
5012
5278
|
/** The time at when the user marked the notification as read. Null, if the the user hasn't read the notification */
|
5013
5279
|
readAt?: Date;
|
5014
5280
|
/** The time until a notification will be snoozed. After that it will appear in the inbox again. */
|
@@ -5027,8 +5293,12 @@ export declare class ProjectNotification extends Request {
|
|
5027
5293
|
botActor?: ActorBot;
|
5028
5294
|
/** The user that caused the notification. */
|
5029
5295
|
get actor(): LinearFetch<User> | undefined;
|
5296
|
+
/** The comment related to the notification. */
|
5297
|
+
get comment(): LinearFetch<Comment> | undefined;
|
5030
5298
|
/** The external user that caused the notification. */
|
5031
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;
|
5032
5302
|
/** The project related to the notification. */
|
5033
5303
|
get project(): LinearFetch<Project> | undefined;
|
5034
5304
|
/** The project update related to the notification. */
|
@@ -5501,7 +5771,7 @@ export declare class ProjectUpdateWithInteractionPayload extends Request {
|
|
5501
5771
|
get projectUpdate(): LinearFetch<ProjectUpdate> | undefined;
|
5502
5772
|
}
|
5503
5773
|
/**
|
5504
|
-
* A user's web
|
5774
|
+
* A user's web or mobile push notification subscription.
|
5505
5775
|
*
|
5506
5776
|
* @param request - function to call the graphql client
|
5507
5777
|
* @param data - L.PushSubscriptionFragment response data
|
@@ -6469,7 +6739,7 @@ export declare class TemplatePayload extends Request {
|
|
6469
6739
|
get template(): LinearFetch<Template> | undefined;
|
6470
6740
|
}
|
6471
6741
|
/**
|
6472
|
-
* A text draft, used for comments and project updates.
|
6742
|
+
* [DEPRECATED] A text draft, used for comments and project updates.
|
6473
6743
|
*
|
6474
6744
|
* @param request - function to call the graphql client
|
6475
6745
|
* @param data - L.TextDraftFragment response data
|
@@ -6487,6 +6757,8 @@ export declare class TextDraft extends Request {
|
|
6487
6757
|
bodyData: Record<string, unknown>;
|
6488
6758
|
/** The time at which the entity was created. */
|
6489
6759
|
createdAt: Date;
|
6760
|
+
/** Additional properties for the draft. */
|
6761
|
+
data?: L.Scalars["JSONObject"];
|
6490
6762
|
/** The unique identifier of the entity. */
|
6491
6763
|
id: string;
|
6492
6764
|
/** Whether the draft was autogenerated for the user. */
|
@@ -6729,6 +7001,8 @@ export declare class User extends Request {
|
|
6729
7001
|
admin: boolean;
|
6730
7002
|
/** The time at which the entity was archived. Null if the entity has not been archived. */
|
6731
7003
|
archivedAt?: Date;
|
7004
|
+
/** The background color of the avatar for users without set avatar. */
|
7005
|
+
avatarBackgroundColor: string;
|
6732
7006
|
/** An URL to the user's avatar image. */
|
6733
7007
|
avatarUrl?: string;
|
6734
7008
|
/** [DEPRECATED] Hash for the user to be used in calendar URLs. */
|
@@ -6749,6 +7023,8 @@ export declare class User extends Request {
|
|
6749
7023
|
guest: boolean;
|
6750
7024
|
/** The unique identifier of the entity. */
|
6751
7025
|
id: string;
|
7026
|
+
/** The initials of the user. */
|
7027
|
+
initials: string;
|
6752
7028
|
/** Unique hash for the user to be used in invite URLs. */
|
6753
7029
|
inviteHash: string;
|
6754
7030
|
/** Whether the user is the currently authenticated user. */
|
@@ -7840,6 +8116,66 @@ export declare class FavoritesQuery extends Request {
|
|
7840
8116
|
*/
|
7841
8117
|
fetch(variables?: L.FavoritesQueryVariables): LinearFetch<FavoriteConnection>;
|
7842
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
|
+
}
|
7843
8179
|
/**
|
7844
8180
|
* A fetchable Integration Query
|
7845
8181
|
*
|
@@ -9880,6 +10216,128 @@ export declare class ImportFileUploadMutation extends Request {
|
|
9880
10216
|
*/
|
9881
10217
|
fetch(contentType: string, filename: string, size: number, variables?: Omit<L.ImportFileUploadMutationVariables, "contentType" | "filename" | "size">): LinearFetch<UploadPayload>;
|
9882
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
|
+
}
|
9883
10341
|
/**
|
9884
10342
|
* A fetchable ArchiveIntegration Mutation
|
9885
10343
|
*
|
@@ -9974,6 +10432,22 @@ export declare class IntegrationFrontMutation extends Request {
|
|
9974
10432
|
*/
|
9975
10433
|
fetch(code: string, redirectUri: string): LinearFetch<IntegrationPayload>;
|
9976
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
|
+
}
|
9977
10451
|
/**
|
9978
10452
|
* A fetchable IntegrationGitHubPersonal Mutation
|
9979
10453
|
*
|
@@ -10474,9 +10948,10 @@ export declare class DeleteIssueMutation extends Request {
|
|
10474
10948
|
* Call the DeleteIssue mutation and return a IssueArchivePayload
|
10475
10949
|
*
|
10476
10950
|
* @param id - required id to pass to deleteIssue
|
10951
|
+
* @param variables - variables without 'id' to pass into the DeleteIssueMutation
|
10477
10952
|
* @returns parsed response from DeleteIssueMutation
|
10478
10953
|
*/
|
10479
|
-
fetch(id: string): LinearFetch<IssueArchivePayload>;
|
10954
|
+
fetch(id: string, variables?: Omit<L.DeleteIssueMutationVariables, "id">): LinearFetch<IssueArchivePayload>;
|
10480
10955
|
}
|
10481
10956
|
/**
|
10482
10957
|
* A fetchable IssueImportCreateAsana Mutation
|
@@ -10538,11 +11013,10 @@ export declare class IssueImportCreateGithubMutation extends Request {
|
|
10538
11013
|
/**
|
10539
11014
|
* Call the IssueImportCreateGithub mutation and return a IssueImportPayload
|
10540
11015
|
*
|
10541
|
-
* @param
|
10542
|
-
* @param variables - variables without 'integrationId' to pass into the IssueImportCreateGithubMutation
|
11016
|
+
* @param variables - variables to pass into the IssueImportCreateGithubMutation
|
10543
11017
|
* @returns parsed response from IssueImportCreateGithubMutation
|
10544
11018
|
*/
|
10545
|
-
fetch(
|
11019
|
+
fetch(variables?: L.IssueImportCreateGithubMutationVariables): LinearFetch<IssueImportPayload>;
|
10546
11020
|
}
|
10547
11021
|
/**
|
10548
11022
|
* A fetchable IssueImportCreateJira Mutation
|
@@ -12686,6 +13160,44 @@ export declare class Favorite_ChildrenQuery extends Request {
|
|
12686
13160
|
*/
|
12687
13161
|
fetch(variables?: Omit<L.Favorite_ChildrenQueryVariables, "id">): LinearFetch<FavoriteConnection>;
|
12688
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
|
+
}
|
12689
13201
|
/**
|
12690
13202
|
* A fetchable Issue_Attachments Query
|
12691
13203
|
*
|
@@ -14151,6 +14663,34 @@ export declare class LinearSdk extends Request {
|
|
14151
14663
|
* @returns FavoriteConnection
|
14152
14664
|
*/
|
14153
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>;
|
14154
14694
|
/**
|
14155
14695
|
* One specific integration.
|
14156
14696
|
*
|
@@ -15127,6 +15667,64 @@ export declare class LinearSdk extends Request {
|
|
15127
15667
|
* @returns UploadPayload
|
15128
15668
|
*/
|
15129
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>;
|
15130
15728
|
/**
|
15131
15729
|
* Archives an integration.
|
15132
15730
|
*
|
@@ -15173,6 +15771,14 @@ export declare class LinearSdk extends Request {
|
|
15173
15771
|
* @returns IntegrationPayload
|
15174
15772
|
*/
|
15175
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>;
|
15176
15782
|
/**
|
15177
15783
|
* Connect your GitHub account to Linear.
|
15178
15784
|
*
|
@@ -15418,9 +16024,10 @@ export declare class LinearSdk extends Request {
|
|
15418
16024
|
* Deletes (trashes) an issue.
|
15419
16025
|
*
|
15420
16026
|
* @param id - required id to pass to deleteIssue
|
16027
|
+
* @param variables - variables without 'id' to pass into the DeleteIssueMutation
|
15421
16028
|
* @returns IssueArchivePayload
|
15422
16029
|
*/
|
15423
|
-
deleteIssue(id: string): LinearFetch<IssueArchivePayload>;
|
16030
|
+
deleteIssue(id: string, variables?: Omit<L.DeleteIssueMutationVariables, "id">): LinearFetch<IssueArchivePayload>;
|
15424
16031
|
/**
|
15425
16032
|
* Kicks off an Asana import job.
|
15426
16033
|
*
|
@@ -15450,11 +16057,10 @@ export declare class LinearSdk extends Request {
|
|
15450
16057
|
/**
|
15451
16058
|
* Kicks off a GitHub import job.
|
15452
16059
|
*
|
15453
|
-
* @param
|
15454
|
-
* @param variables - variables without 'integrationId' to pass into the IssueImportCreateGithubMutation
|
16060
|
+
* @param variables - variables to pass into the IssueImportCreateGithubMutation
|
15455
16061
|
* @returns IssueImportPayload
|
15456
16062
|
*/
|
15457
|
-
issueImportCreateGithub(
|
16063
|
+
issueImportCreateGithub(variables?: L.IssueImportCreateGithubMutationVariables): LinearFetch<IssueImportPayload>;
|
15458
16064
|
/**
|
15459
16065
|
* Kicks off a Jira import job.
|
15460
16066
|
*
|