@linear/sdk 2.6.0 → 4.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/CHANGELOG.md +244 -0
- package/dist/_generated_documents.d.ts +1348 -111
- package/dist/_generated_documents.d.ts.map +1 -1
- package/dist/_generated_sdk.d.ts +822 -60
- package/dist/_generated_sdk.d.ts.map +1 -1
- package/dist/index-cjs.js +3337 -483
- 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 +3306 -483
- 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 +3338 -484
- 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
@@ -145,6 +145,23 @@ export declare class ArchivePayload extends Request {
|
|
145
145
|
/** Whether the operation was successful. */
|
146
146
|
success: boolean;
|
147
147
|
}
|
148
|
+
/**
|
149
|
+
* Contains requested archived model objects.
|
150
|
+
*
|
151
|
+
* @param request - function to call the graphql client
|
152
|
+
* @param data - L.ArchiveResponseFragment response data
|
153
|
+
*/
|
154
|
+
export declare class ArchiveResponse extends Request {
|
155
|
+
constructor(request: LinearRequest, data: L.ArchiveResponseFragment);
|
156
|
+
/** A JSON serialized collection of model objects loaded from the archive */
|
157
|
+
archive: string;
|
158
|
+
/** The version of the remote database. Incremented by 1 for each migration run on the database. */
|
159
|
+
databaseVersion: number;
|
160
|
+
/** Whether the dependencies for the model objects are included in the archive. */
|
161
|
+
includesDependencies: boolean;
|
162
|
+
/** The total number of entities in the archive. */
|
163
|
+
totalCount: number;
|
164
|
+
}
|
148
165
|
/**
|
149
166
|
* Issue attachment (e.g. support ticket, pull request).
|
150
167
|
*
|
@@ -168,7 +185,7 @@ export declare class Attachment extends Request {
|
|
168
185
|
/** Information about the source which created the attachment. */
|
169
186
|
source?: Record<string, unknown>;
|
170
187
|
/** An accessor helper to source.type, defines the source type of the attachment. */
|
171
|
-
sourceType?:
|
188
|
+
sourceType?: string;
|
172
189
|
/** Content for the subtitle line in the Linear attachment widget. */
|
173
190
|
subtitle?: string;
|
174
191
|
/** Content for the title line in the Linear attachment widget. */
|
@@ -419,6 +436,7 @@ export declare class CreateOrJoinOrganizationResponse extends Request {
|
|
419
436
|
*/
|
420
437
|
export declare class CustomView extends Request {
|
421
438
|
private _creator;
|
439
|
+
private _owner;
|
422
440
|
private _team?;
|
423
441
|
constructor(request: LinearRequest, data: L.CustomViewFragment);
|
424
442
|
/** The time at which the entity was archived. Null if the entity has not been archived. */
|
@@ -451,6 +469,8 @@ export declare class CustomView extends Request {
|
|
451
469
|
get creator(): LinearFetch<User> | undefined;
|
452
470
|
/** The organization of the custom view. */
|
453
471
|
get organization(): LinearFetch<Organization>;
|
472
|
+
/** The user who owns the custom view. */
|
473
|
+
get owner(): LinearFetch<User> | undefined;
|
454
474
|
/** The team associated with the custom view. */
|
455
475
|
get team(): LinearFetch<Team> | undefined;
|
456
476
|
/** Creates a new custom view. */
|
@@ -486,6 +506,21 @@ export declare class CustomViewPayload extends Request {
|
|
486
506
|
/** The custom view that was created or updated. */
|
487
507
|
get customView(): LinearFetch<CustomView> | undefined;
|
488
508
|
}
|
509
|
+
/**
|
510
|
+
* CustomViewSuggestionPayload model
|
511
|
+
*
|
512
|
+
* @param request - function to call the graphql client
|
513
|
+
* @param data - L.CustomViewSuggestionPayloadFragment response data
|
514
|
+
*/
|
515
|
+
export declare class CustomViewSuggestionPayload extends Request {
|
516
|
+
constructor(request: LinearRequest, data: L.CustomViewSuggestionPayloadFragment);
|
517
|
+
/** The suggested view description. */
|
518
|
+
description?: string;
|
519
|
+
/** The suggested view icon. */
|
520
|
+
icon?: string;
|
521
|
+
/** The suggested view name. */
|
522
|
+
name?: string;
|
523
|
+
}
|
489
524
|
/**
|
490
525
|
* A set of issues to be resolved in a specified amount of time.
|
491
526
|
*
|
@@ -630,6 +665,34 @@ export declare class Document extends Request {
|
|
630
665
|
export declare class DocumentConnection extends Connection<Document> {
|
631
666
|
constructor(request: LinearRequest, fetch: (connection?: LinearConnectionVariables) => LinearFetch<LinearConnection<Document> | undefined>, data: L.DocumentConnectionFragment);
|
632
667
|
}
|
668
|
+
/**
|
669
|
+
* A document content for a project.
|
670
|
+
*
|
671
|
+
* @param request - function to call the graphql client
|
672
|
+
* @param data - L.DocumentContentFragment response data
|
673
|
+
*/
|
674
|
+
export declare class DocumentContent extends Request {
|
675
|
+
private _issue?;
|
676
|
+
constructor(request: LinearRequest, data: L.DocumentContentFragment);
|
677
|
+
/** The time at which the entity was archived. Null if the entity has not been archived. */
|
678
|
+
archivedAt?: Date;
|
679
|
+
/** The document content in markdown format. */
|
680
|
+
content?: string;
|
681
|
+
/** The document content as JSON. */
|
682
|
+
contentData?: Record<string, unknown>;
|
683
|
+
/** The time at which the entity was created. */
|
684
|
+
createdAt: Date;
|
685
|
+
/** The unique identifier of the entity. */
|
686
|
+
id: string;
|
687
|
+
/**
|
688
|
+
* The last time at which the entity was meaningfully updated, i.e. for all changes of syncable properties except those
|
689
|
+
* 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
|
690
|
+
* been updated after creation.
|
691
|
+
*/
|
692
|
+
updatedAt: Date;
|
693
|
+
/** The issue that the document is associated with. */
|
694
|
+
get issue(): LinearFetch<Issue> | undefined;
|
695
|
+
}
|
633
696
|
/**
|
634
697
|
* DocumentPayload model
|
635
698
|
*
|
@@ -646,6 +709,75 @@ export declare class DocumentPayload extends Request {
|
|
646
709
|
/** The document that was created or updated. */
|
647
710
|
get document(): LinearFetch<Document> | undefined;
|
648
711
|
}
|
712
|
+
/**
|
713
|
+
* DocumentSearchPayload model
|
714
|
+
*
|
715
|
+
* @param request - function to call the graphql client
|
716
|
+
* @param data - L.DocumentSearchPayloadFragment response data
|
717
|
+
*/
|
718
|
+
export declare class DocumentSearchPayload extends Request {
|
719
|
+
constructor(request: LinearRequest, data: L.DocumentSearchPayloadFragment);
|
720
|
+
/** Total number of results for query without filters applied. */
|
721
|
+
totalCount: number;
|
722
|
+
nodes: DocumentSearchResult[];
|
723
|
+
/** Archived entities matching the search term along with all their dependencies. */
|
724
|
+
archivePayload: ArchiveResponse;
|
725
|
+
pageInfo: PageInfo;
|
726
|
+
}
|
727
|
+
/**
|
728
|
+
* DocumentSearchResult model
|
729
|
+
*
|
730
|
+
* @param request - function to call the graphql client
|
731
|
+
* @param data - L.DocumentSearchResultFragment response data
|
732
|
+
*/
|
733
|
+
export declare class DocumentSearchResult extends Request {
|
734
|
+
private _creator;
|
735
|
+
private _project;
|
736
|
+
private _updatedBy;
|
737
|
+
constructor(request: LinearRequest, data: L.DocumentSearchResultFragment);
|
738
|
+
/** The time at which the entity was archived. Null if the entity has not been archived. */
|
739
|
+
archivedAt?: Date;
|
740
|
+
/** The color of the icon. */
|
741
|
+
color?: string;
|
742
|
+
/** The document content in markdown format. */
|
743
|
+
content?: string;
|
744
|
+
/** The document content as JSON. */
|
745
|
+
contentData?: Record<string, unknown>;
|
746
|
+
/** The time at which the entity was created. */
|
747
|
+
createdAt: Date;
|
748
|
+
/** The icon of the document. */
|
749
|
+
icon?: string;
|
750
|
+
/** The unique identifier of the entity. */
|
751
|
+
id: string;
|
752
|
+
/** Metadata related to search result */
|
753
|
+
metadata: Record<string, unknown>;
|
754
|
+
/** The document's unique URL slug. */
|
755
|
+
slugId: string;
|
756
|
+
/** The document title. */
|
757
|
+
title: string;
|
758
|
+
/**
|
759
|
+
* The last time at which the entity was meaningfully updated, i.e. for all changes of syncable properties except those
|
760
|
+
* 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
|
761
|
+
* been updated after creation.
|
762
|
+
*/
|
763
|
+
updatedAt: Date;
|
764
|
+
/** The user who created the document. */
|
765
|
+
get creator(): LinearFetch<User> | undefined;
|
766
|
+
/** The project that the document is associated with. */
|
767
|
+
get project(): LinearFetch<Project> | undefined;
|
768
|
+
/** The user who last updated the document. */
|
769
|
+
get updatedBy(): LinearFetch<User> | undefined;
|
770
|
+
}
|
771
|
+
/**
|
772
|
+
* DocumentSearchResultConnection model
|
773
|
+
*
|
774
|
+
* @param request - function to call the graphql client
|
775
|
+
* @param fetch - function to trigger a refetch of this DocumentSearchResultConnection model
|
776
|
+
* @param data - DocumentSearchResultConnection response data
|
777
|
+
*/
|
778
|
+
export declare class DocumentSearchResultConnection extends Connection<DocumentSearchResult> {
|
779
|
+
constructor(request: LinearRequest, fetch: (connection?: LinearConnectionVariables) => LinearFetch<LinearConnection<DocumentSearchResult> | undefined>, data: L.DocumentSearchResultConnectionFragment);
|
780
|
+
}
|
649
781
|
/**
|
650
782
|
* EmailUnsubscribePayload model
|
651
783
|
*
|
@@ -791,7 +923,7 @@ export declare class Favorite extends Request {
|
|
791
923
|
folderName?: string;
|
792
924
|
/** The unique identifier of the entity. */
|
793
925
|
id: string;
|
794
|
-
/** The type of favorited
|
926
|
+
/** The type of favorited predefined view. */
|
795
927
|
predefinedViewType?: string;
|
796
928
|
/** The order of the item in the favorites list. */
|
797
929
|
sortOrder: number;
|
@@ -815,7 +947,7 @@ export declare class Favorite extends Request {
|
|
815
947
|
get label(): LinearFetch<IssueLabel> | undefined;
|
816
948
|
/** The parent folder of the favorite. */
|
817
949
|
get parent(): LinearFetch<Favorite> | undefined;
|
818
|
-
/** The team of the favorited
|
950
|
+
/** The team of the favorited predefined view. */
|
819
951
|
get predefinedViewTeam(): LinearFetch<Team> | undefined;
|
820
952
|
/** The favorited project. */
|
821
953
|
get project(): LinearFetch<Project> | undefined;
|
@@ -1279,8 +1411,10 @@ export declare class Issue extends Request {
|
|
1279
1411
|
private _assignee?;
|
1280
1412
|
private _creator?;
|
1281
1413
|
private _cycle?;
|
1414
|
+
private _favorite?;
|
1282
1415
|
private _parent?;
|
1283
1416
|
private _project?;
|
1417
|
+
private _projectMilestone?;
|
1284
1418
|
private _snoozedBy?;
|
1285
1419
|
private _state;
|
1286
1420
|
private _team;
|
@@ -1317,7 +1451,7 @@ export declare class Issue extends Request {
|
|
1317
1451
|
number: number;
|
1318
1452
|
/** Previous identifiers of the issue if it has been moved between teams. */
|
1319
1453
|
previousIdentifiers: string[];
|
1320
|
-
/** The priority of the issue. */
|
1454
|
+
/** The priority of the issue. 0 = No priority, 1 = Urgent, 2 = High, 3 = Normal, 4 = Low. */
|
1321
1455
|
priority: number;
|
1322
1456
|
/** Label for the priority. */
|
1323
1457
|
priorityLabel: string;
|
@@ -1351,10 +1485,14 @@ export declare class Issue extends Request {
|
|
1351
1485
|
get creator(): LinearFetch<User> | undefined;
|
1352
1486
|
/** The cycle that the issue is associated with. */
|
1353
1487
|
get cycle(): LinearFetch<Cycle> | undefined;
|
1488
|
+
/** The users favorite associated with this issue. */
|
1489
|
+
get favorite(): LinearFetch<Favorite> | undefined;
|
1354
1490
|
/** The parent of the issue. */
|
1355
1491
|
get parent(): LinearFetch<Issue> | undefined;
|
1356
1492
|
/** The project that the issue is associated with. */
|
1357
1493
|
get project(): LinearFetch<Project> | undefined;
|
1494
|
+
/** The projectMilestone that the issue is associated with. */
|
1495
|
+
get projectMilestone(): LinearFetch<ProjectMilestone> | undefined;
|
1358
1496
|
/** The user who snoozed the issue. */
|
1359
1497
|
get snoozedBy(): LinearFetch<User> | undefined;
|
1360
1498
|
/** The workflow state that the issue is associated with. */
|
@@ -1413,6 +1551,17 @@ export declare class IssueBatchPayload extends Request {
|
|
1413
1551
|
export declare class IssueConnection extends Connection<Issue> {
|
1414
1552
|
constructor(request: LinearRequest, fetch: (connection?: LinearConnectionVariables) => LinearFetch<LinearConnection<Issue> | undefined>, data: L.IssueConnectionFragment);
|
1415
1553
|
}
|
1554
|
+
/**
|
1555
|
+
* IssueFilterSuggestionPayload model
|
1556
|
+
*
|
1557
|
+
* @param request - function to call the graphql client
|
1558
|
+
* @param data - L.IssueFilterSuggestionPayloadFragment response data
|
1559
|
+
*/
|
1560
|
+
export declare class IssueFilterSuggestionPayload extends Request {
|
1561
|
+
constructor(request: LinearRequest, data: L.IssueFilterSuggestionPayloadFragment);
|
1562
|
+
/** The json filter that is suggested. */
|
1563
|
+
filter?: Record<string, unknown>;
|
1564
|
+
}
|
1416
1565
|
/**
|
1417
1566
|
* A record of changes to an issue.
|
1418
1567
|
*
|
@@ -1570,8 +1719,12 @@ export declare class IssueImport extends Request {
|
|
1570
1719
|
createdAt: Date;
|
1571
1720
|
/** The id for the user that started the job. */
|
1572
1721
|
creatorId: string;
|
1722
|
+
/** File URL for the uploaded CSV for the import, if there is one. */
|
1723
|
+
csvFileUrl?: string;
|
1573
1724
|
/** User readable error message, if one has occurred during the import. */
|
1574
1725
|
error?: string;
|
1726
|
+
/** Error code and metadata, if one has occurred during the import */
|
1727
|
+
errorMetadata?: Record<string, unknown>;
|
1575
1728
|
/** The unique identifier of the entity. */
|
1576
1729
|
id: string;
|
1577
1730
|
/** The data mapping configuration for the import job. */
|
@@ -1595,6 +1748,17 @@ export declare class IssueImport extends Request {
|
|
1595
1748
|
/** Updates the mapping for the issue import. */
|
1596
1749
|
update(input: L.IssueImportUpdateInput): LinearFetch<IssueImportPayload>;
|
1597
1750
|
}
|
1751
|
+
/**
|
1752
|
+
* IssueImportCheckPayload model
|
1753
|
+
*
|
1754
|
+
* @param request - function to call the graphql client
|
1755
|
+
* @param data - L.IssueImportCheckPayloadFragment response data
|
1756
|
+
*/
|
1757
|
+
export declare class IssueImportCheckPayload extends Request {
|
1758
|
+
constructor(request: LinearRequest, data: L.IssueImportCheckPayloadFragment);
|
1759
|
+
/** Whether the operation was successful. */
|
1760
|
+
success: boolean;
|
1761
|
+
}
|
1598
1762
|
/**
|
1599
1763
|
* IssueImportDeletePayload model
|
1600
1764
|
*
|
@@ -1740,7 +1904,7 @@ export declare class IssueNotification extends Request {
|
|
1740
1904
|
* been updated after creation.
|
1741
1905
|
*/
|
1742
1906
|
updatedAt: Date;
|
1743
|
-
/** The user that caused the notification.
|
1907
|
+
/** The user that caused the notification. */
|
1744
1908
|
get actor(): LinearFetch<User> | undefined;
|
1745
1909
|
/** The comment related to the notification. */
|
1746
1910
|
get comment(): LinearFetch<Comment> | undefined;
|
@@ -1854,6 +2018,132 @@ export declare class IssueRelationPayload extends Request {
|
|
1854
2018
|
/** The issue relation that was created or updated. */
|
1855
2019
|
get issueRelation(): LinearFetch<IssueRelation> | undefined;
|
1856
2020
|
}
|
2021
|
+
/**
|
2022
|
+
* IssueSearchPayload model
|
2023
|
+
*
|
2024
|
+
* @param request - function to call the graphql client
|
2025
|
+
* @param data - L.IssueSearchPayloadFragment response data
|
2026
|
+
*/
|
2027
|
+
export declare class IssueSearchPayload extends Request {
|
2028
|
+
constructor(request: LinearRequest, data: L.IssueSearchPayloadFragment);
|
2029
|
+
/** Total number of results for query without filters applied. */
|
2030
|
+
totalCount: number;
|
2031
|
+
nodes: IssueSearchResult[];
|
2032
|
+
/** Archived entities matching the search term along with all their dependencies. */
|
2033
|
+
archivePayload: ArchiveResponse;
|
2034
|
+
pageInfo: PageInfo;
|
2035
|
+
}
|
2036
|
+
/**
|
2037
|
+
* IssueSearchResult model
|
2038
|
+
*
|
2039
|
+
* @param request - function to call the graphql client
|
2040
|
+
* @param data - L.IssueSearchResultFragment response data
|
2041
|
+
*/
|
2042
|
+
export declare class IssueSearchResult extends Request {
|
2043
|
+
private _assignee?;
|
2044
|
+
private _creator?;
|
2045
|
+
private _cycle?;
|
2046
|
+
private _favorite?;
|
2047
|
+
private _parent?;
|
2048
|
+
private _project?;
|
2049
|
+
private _projectMilestone?;
|
2050
|
+
private _snoozedBy?;
|
2051
|
+
private _state;
|
2052
|
+
private _team;
|
2053
|
+
constructor(request: LinearRequest, data: L.IssueSearchResultFragment);
|
2054
|
+
/** The time at which the entity was archived. Null if the entity has not been archived. */
|
2055
|
+
archivedAt?: Date;
|
2056
|
+
/** The time at which the issue was automatically archived by the auto pruning process. */
|
2057
|
+
autoArchivedAt?: Date;
|
2058
|
+
/** The time at which the issue was automatically closed by the auto pruning process. */
|
2059
|
+
autoClosedAt?: Date;
|
2060
|
+
/** The order of the item in its column on the board. */
|
2061
|
+
boardOrder: number;
|
2062
|
+
/** Suggested branch name for the issue. */
|
2063
|
+
branchName: string;
|
2064
|
+
/** The time at which the issue was moved into canceled state. */
|
2065
|
+
canceledAt?: Date;
|
2066
|
+
/** The time at which the issue was moved into completed state. */
|
2067
|
+
completedAt?: Date;
|
2068
|
+
/** The time at which the entity was created. */
|
2069
|
+
createdAt: Date;
|
2070
|
+
/** Returns the number of Attachment resources which are created by customer support ticketing systems (e.g. Zendesk). */
|
2071
|
+
customerTicketCount: number;
|
2072
|
+
/** The issue's description in markdown format. */
|
2073
|
+
description?: string;
|
2074
|
+
/** The date at which the issue is due. */
|
2075
|
+
dueDate?: L.Scalars["TimelessDate"];
|
2076
|
+
/** The estimate of the complexity of the issue.. */
|
2077
|
+
estimate?: number;
|
2078
|
+
/** The unique identifier of the entity. */
|
2079
|
+
id: string;
|
2080
|
+
/** Issue's human readable identifier (e.g. ENG-123). */
|
2081
|
+
identifier: string;
|
2082
|
+
/** Metadata related to search result */
|
2083
|
+
metadata: Record<string, unknown>;
|
2084
|
+
/** The issue's unique number. */
|
2085
|
+
number: number;
|
2086
|
+
/** Previous identifiers of the issue if it has been moved between teams. */
|
2087
|
+
previousIdentifiers: string[];
|
2088
|
+
/** The priority of the issue. 0 = No priority, 1 = Urgent, 2 = High, 3 = Normal, 4 = Low. */
|
2089
|
+
priority: number;
|
2090
|
+
/** Label for the priority. */
|
2091
|
+
priorityLabel: string;
|
2092
|
+
/** The time until an issue will be snoozed in Triage view. */
|
2093
|
+
snoozedUntilAt?: Date;
|
2094
|
+
/** The order of the item in relation to other items in the organization. */
|
2095
|
+
sortOrder: number;
|
2096
|
+
/** The time at which the issue was moved into started state. */
|
2097
|
+
startedAt?: Date;
|
2098
|
+
/** The time at which the issue entered triage. */
|
2099
|
+
startedTriageAt?: Date;
|
2100
|
+
/** The order of the item in the sub-issue list. Only set if the issue has a parent. */
|
2101
|
+
subIssueSortOrder?: number;
|
2102
|
+
/** The issue's title. */
|
2103
|
+
title: string;
|
2104
|
+
/** A flag that indicates whether the issue is in the trash bin. */
|
2105
|
+
trashed?: boolean;
|
2106
|
+
/** The time at which the issue left triage. */
|
2107
|
+
triagedAt?: Date;
|
2108
|
+
/**
|
2109
|
+
* The last time at which the entity was meaningfully updated, i.e. for all changes of syncable properties except those
|
2110
|
+
* 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
|
2111
|
+
* been updated after creation.
|
2112
|
+
*/
|
2113
|
+
updatedAt: Date;
|
2114
|
+
/** Issue URL. */
|
2115
|
+
url: string;
|
2116
|
+
/** The user to whom the issue is assigned to. */
|
2117
|
+
get assignee(): LinearFetch<User> | undefined;
|
2118
|
+
/** The user who created the issue. */
|
2119
|
+
get creator(): LinearFetch<User> | undefined;
|
2120
|
+
/** The cycle that the issue is associated with. */
|
2121
|
+
get cycle(): LinearFetch<Cycle> | undefined;
|
2122
|
+
/** The users favorite associated with this issue. */
|
2123
|
+
get favorite(): LinearFetch<Favorite> | undefined;
|
2124
|
+
/** The parent of the issue. */
|
2125
|
+
get parent(): LinearFetch<Issue> | undefined;
|
2126
|
+
/** The project that the issue is associated with. */
|
2127
|
+
get project(): LinearFetch<Project> | undefined;
|
2128
|
+
/** The projectMilestone that the issue is associated with. */
|
2129
|
+
get projectMilestone(): LinearFetch<ProjectMilestone> | undefined;
|
2130
|
+
/** The user who snoozed the issue. */
|
2131
|
+
get snoozedBy(): LinearFetch<User> | undefined;
|
2132
|
+
/** The workflow state that the issue is associated with. */
|
2133
|
+
get state(): LinearFetch<WorkflowState> | undefined;
|
2134
|
+
/** The team that the issue is associated with. */
|
2135
|
+
get team(): LinearFetch<Team> | undefined;
|
2136
|
+
}
|
2137
|
+
/**
|
2138
|
+
* IssueSearchResultConnection model
|
2139
|
+
*
|
2140
|
+
* @param request - function to call the graphql client
|
2141
|
+
* @param fetch - function to trigger a refetch of this IssueSearchResultConnection model
|
2142
|
+
* @param data - IssueSearchResultConnection response data
|
2143
|
+
*/
|
2144
|
+
export declare class IssueSearchResultConnection extends Connection<IssueSearchResult> {
|
2145
|
+
constructor(request: LinearRequest, fetch: (connection?: LinearConnectionVariables) => LinearFetch<LinearConnection<IssueSearchResult> | undefined>, data: L.IssueSearchResultConnectionFragment);
|
2146
|
+
}
|
1857
2147
|
/**
|
1858
2148
|
* Tuple for mapping Jira projects to Linear teams.
|
1859
2149
|
*
|
@@ -1952,7 +2242,7 @@ export declare class Notification extends Request {
|
|
1952
2242
|
* been updated after creation.
|
1953
2243
|
*/
|
1954
2244
|
updatedAt: Date;
|
1955
|
-
/** The user that caused the notification.
|
2245
|
+
/** The user that caused the notification. */
|
1956
2246
|
get actor(): LinearFetch<User> | undefined;
|
1957
2247
|
/** The user that received the notification. */
|
1958
2248
|
get user(): LinearFetch<User> | undefined;
|
@@ -2180,7 +2470,7 @@ export declare class OauthClientApprovalNotification extends Request {
|
|
2180
2470
|
updatedAt: Date;
|
2181
2471
|
/** The OAuth client approval request related to the notification. */
|
2182
2472
|
oauthClientApproval: OauthClientApproval;
|
2183
|
-
/** The user that caused the notification.
|
2473
|
+
/** The user that caused the notification. */
|
2184
2474
|
get actor(): LinearFetch<User> | undefined;
|
2185
2475
|
/** The user that received the notification. */
|
2186
2476
|
get user(): LinearFetch<User> | undefined;
|
@@ -2444,6 +2734,17 @@ export declare class OrganizationPayload extends Request {
|
|
2444
2734
|
/** The organization that was created or updated. */
|
2445
2735
|
get organization(): LinearFetch<Organization>;
|
2446
2736
|
}
|
2737
|
+
/**
|
2738
|
+
* OrganizationStartPlusTrialPayload model
|
2739
|
+
*
|
2740
|
+
* @param request - function to call the graphql client
|
2741
|
+
* @param data - L.OrganizationStartPlusTrialPayloadFragment response data
|
2742
|
+
*/
|
2743
|
+
export declare class OrganizationStartPlusTrialPayload extends Request {
|
2744
|
+
constructor(request: LinearRequest, data: L.OrganizationStartPlusTrialPayloadFragment);
|
2745
|
+
/** Whether the operation was successful. */
|
2746
|
+
success: boolean;
|
2747
|
+
}
|
2447
2748
|
/**
|
2448
2749
|
* PageInfo model
|
2449
2750
|
*
|
@@ -2501,32 +2802,6 @@ export declare class PaidSubscription extends Request {
|
|
2501
2802
|
/** The organization that the subscription is associated with. */
|
2502
2803
|
get organization(): LinearFetch<Organization>;
|
2503
2804
|
}
|
2504
|
-
/**
|
2505
|
-
* A personal note for a user
|
2506
|
-
*
|
2507
|
-
* @param request - function to call the graphql client
|
2508
|
-
* @param data - L.PersonalNoteFragment response data
|
2509
|
-
*/
|
2510
|
-
export declare class PersonalNote extends Request {
|
2511
|
-
private _user;
|
2512
|
-
constructor(request: LinearRequest, data: L.PersonalNoteFragment);
|
2513
|
-
/** The time at which the entity was archived. Null if the entity has not been archived. */
|
2514
|
-
archivedAt?: Date;
|
2515
|
-
/** The note content as JSON. */
|
2516
|
-
contentData?: Record<string, unknown>;
|
2517
|
-
/** The time at which the entity was created. */
|
2518
|
-
createdAt: Date;
|
2519
|
-
/** The unique identifier of the entity. */
|
2520
|
-
id: string;
|
2521
|
-
/**
|
2522
|
-
* The last time at which the entity was meaningfully updated, i.e. for all changes of syncable properties except those
|
2523
|
-
* 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
|
2524
|
-
* been updated after creation.
|
2525
|
-
*/
|
2526
|
-
updatedAt: Date;
|
2527
|
-
/** The user that owns the note. */
|
2528
|
-
get user(): LinearFetch<User> | undefined;
|
2529
|
-
}
|
2530
2805
|
/**
|
2531
2806
|
* A project.
|
2532
2807
|
*
|
@@ -2583,7 +2858,7 @@ export declare class Project extends Request {
|
|
2583
2858
|
slackNewIssue: boolean;
|
2584
2859
|
/** The project's unique URL slug. */
|
2585
2860
|
slugId: string;
|
2586
|
-
/** The sort order for the project within the
|
2861
|
+
/** The sort order for the project within the organization. */
|
2587
2862
|
sortOrder: number;
|
2588
2863
|
/** The time at which the project was moved into started state. */
|
2589
2864
|
startedAt?: Date;
|
@@ -2615,6 +2890,8 @@ export declare class Project extends Request {
|
|
2615
2890
|
links(variables?: Omit<L.Project_LinksQueryVariables, "id">): LinearFetch<ProjectLinkConnection>;
|
2616
2891
|
/** Users that are members of the project. */
|
2617
2892
|
members(variables?: Omit<L.Project_MembersQueryVariables, "id">): LinearFetch<UserConnection>;
|
2893
|
+
/** Milestones associated with the project. */
|
2894
|
+
projectMilestones(variables?: Omit<L.Project_ProjectMilestonesQueryVariables, "id">): LinearFetch<ProjectMilestoneConnection>;
|
2618
2895
|
/** Project updates associated with the project. */
|
2619
2896
|
projectUpdates(variables?: Omit<L.Project_ProjectUpdatesQueryVariables, "id">): LinearFetch<ProjectUpdateConnection>;
|
2620
2897
|
/** Teams associated with this project. */
|
@@ -2640,6 +2917,17 @@ export declare class Project extends Request {
|
|
2640
2917
|
export declare class ProjectConnection extends Connection<Project> {
|
2641
2918
|
constructor(request: LinearRequest, fetch: (connection?: LinearConnectionVariables) => LinearFetch<LinearConnection<Project> | undefined>, data: L.ProjectConnectionFragment);
|
2642
2919
|
}
|
2920
|
+
/**
|
2921
|
+
* ProjectFilterSuggestionPayload model
|
2922
|
+
*
|
2923
|
+
* @param request - function to call the graphql client
|
2924
|
+
* @param data - L.ProjectFilterSuggestionPayloadFragment response data
|
2925
|
+
*/
|
2926
|
+
export declare class ProjectFilterSuggestionPayload extends Request {
|
2927
|
+
constructor(request: LinearRequest, data: L.ProjectFilterSuggestionPayloadFragment);
|
2928
|
+
/** The json filter that is suggested. */
|
2929
|
+
filter?: Record<string, unknown>;
|
2930
|
+
}
|
2643
2931
|
/**
|
2644
2932
|
* An external link for a project.
|
2645
2933
|
*
|
@@ -2804,7 +3092,7 @@ export declare class ProjectNotification extends Request {
|
|
2804
3092
|
* been updated after creation.
|
2805
3093
|
*/
|
2806
3094
|
updatedAt: Date;
|
2807
|
-
/** The user that caused the notification.
|
3095
|
+
/** The user that caused the notification. */
|
2808
3096
|
get actor(): LinearFetch<User> | undefined;
|
2809
3097
|
/** The project related to the notification. */
|
2810
3098
|
get project(): LinearFetch<Project> | undefined;
|
@@ -2838,28 +3126,136 @@ export declare class ProjectNotificationSubscription extends Request {
|
|
2838
3126
|
* been updated after creation.
|
2839
3127
|
*/
|
2840
3128
|
updatedAt: Date;
|
2841
|
-
/** The project subscribed to. */
|
2842
|
-
get project(): LinearFetch<Project> | undefined;
|
2843
|
-
/** Subscribed team. */
|
2844
|
-
get team(): LinearFetch<Team> | undefined;
|
2845
|
-
/** The user associated with notification subscriptions. */
|
2846
|
-
get user(): LinearFetch<User> | undefined;
|
3129
|
+
/** The project subscribed to. */
|
3130
|
+
get project(): LinearFetch<Project> | undefined;
|
3131
|
+
/** Subscribed team. */
|
3132
|
+
get team(): LinearFetch<Team> | undefined;
|
3133
|
+
/** The user associated with notification subscriptions. */
|
3134
|
+
get user(): LinearFetch<User> | undefined;
|
3135
|
+
}
|
3136
|
+
/**
|
3137
|
+
* ProjectPayload model
|
3138
|
+
*
|
3139
|
+
* @param request - function to call the graphql client
|
3140
|
+
* @param data - L.ProjectPayloadFragment response data
|
3141
|
+
*/
|
3142
|
+
export declare class ProjectPayload extends Request {
|
3143
|
+
private _project?;
|
3144
|
+
constructor(request: LinearRequest, data: L.ProjectPayloadFragment);
|
3145
|
+
/** The identifier of the last sync operation. */
|
3146
|
+
lastSyncId: number;
|
3147
|
+
/** Whether the operation was successful. */
|
3148
|
+
success: boolean;
|
3149
|
+
/** The project that was created or updated. */
|
3150
|
+
get project(): LinearFetch<Project> | undefined;
|
3151
|
+
}
|
3152
|
+
/**
|
3153
|
+
* ProjectSearchPayload model
|
3154
|
+
*
|
3155
|
+
* @param request - function to call the graphql client
|
3156
|
+
* @param data - L.ProjectSearchPayloadFragment response data
|
3157
|
+
*/
|
3158
|
+
export declare class ProjectSearchPayload extends Request {
|
3159
|
+
constructor(request: LinearRequest, data: L.ProjectSearchPayloadFragment);
|
3160
|
+
/** Total number of results for query without filters applied. */
|
3161
|
+
totalCount: number;
|
3162
|
+
nodes: ProjectSearchResult[];
|
3163
|
+
/** Archived entities matching the search term along with all their dependencies. */
|
3164
|
+
archivePayload: ArchiveResponse;
|
3165
|
+
pageInfo: PageInfo;
|
3166
|
+
}
|
3167
|
+
/**
|
3168
|
+
* ProjectSearchResult model
|
3169
|
+
*
|
3170
|
+
* @param request - function to call the graphql client
|
3171
|
+
* @param data - L.ProjectSearchResultFragment response data
|
3172
|
+
*/
|
3173
|
+
export declare class ProjectSearchResult extends Request {
|
3174
|
+
private _convertedFromIssue?;
|
3175
|
+
private _creator;
|
3176
|
+
private _integrationsSettings?;
|
3177
|
+
private _lead?;
|
3178
|
+
constructor(request: LinearRequest, data: L.ProjectSearchResultFragment);
|
3179
|
+
/** The time at which the entity was archived. Null if the entity has not been archived. */
|
3180
|
+
archivedAt?: Date;
|
3181
|
+
/** The time at which the project was automatically archived by the auto pruning process. */
|
3182
|
+
autoArchivedAt?: Date;
|
3183
|
+
/** The time at which the project was moved into canceled state. */
|
3184
|
+
canceledAt?: Date;
|
3185
|
+
/** The project's color. */
|
3186
|
+
color: string;
|
3187
|
+
/** The time at which the project was moved into completed state. */
|
3188
|
+
completedAt?: Date;
|
3189
|
+
/** The number of completed issues in the project after each week. */
|
3190
|
+
completedIssueCountHistory: number[];
|
3191
|
+
/** The number of completed estimation points after each week. */
|
3192
|
+
completedScopeHistory: number[];
|
3193
|
+
/** The time at which the entity was created. */
|
3194
|
+
createdAt: Date;
|
3195
|
+
/** The project's description. */
|
3196
|
+
description: string;
|
3197
|
+
/** The icon of the project. */
|
3198
|
+
icon?: string;
|
3199
|
+
/** The unique identifier of the entity. */
|
3200
|
+
id: string;
|
3201
|
+
/** The number of in progress estimation points after each week. */
|
3202
|
+
inProgressScopeHistory: number[];
|
3203
|
+
/** The total number of issues in the project after each week. */
|
3204
|
+
issueCountHistory: number[];
|
3205
|
+
/** Metadata related to search result */
|
3206
|
+
metadata: Record<string, unknown>;
|
3207
|
+
/** The project's name. */
|
3208
|
+
name: string;
|
3209
|
+
/** The overall progress of the project. This is the (completed estimate points + 0.25 * in progress estimate points) / total estimate points. */
|
3210
|
+
progress: number;
|
3211
|
+
/** The time until which project update reminders are paused. */
|
3212
|
+
projectUpdateRemindersPausedUntilAt?: Date;
|
3213
|
+
/** The overall scope (total estimate points) of the project. */
|
3214
|
+
scope: number;
|
3215
|
+
/** The total number of estimation points after each week. */
|
3216
|
+
scopeHistory: number[];
|
3217
|
+
/** Whether to send new issue comment notifications to Slack. */
|
3218
|
+
slackIssueComments: boolean;
|
3219
|
+
/** Whether to send new issue status updates to Slack. */
|
3220
|
+
slackIssueStatuses: boolean;
|
3221
|
+
/** Whether to send new issue notifications to Slack. */
|
3222
|
+
slackNewIssue: boolean;
|
3223
|
+
/** The project's unique URL slug. */
|
3224
|
+
slugId: string;
|
3225
|
+
/** The sort order for the project within the organization. */
|
3226
|
+
sortOrder: number;
|
3227
|
+
/** The time at which the project was moved into started state. */
|
3228
|
+
startedAt?: Date;
|
3229
|
+
/** The type of the state. */
|
3230
|
+
state: string;
|
3231
|
+
/** The estimated completion date of the project. */
|
3232
|
+
targetDate?: L.Scalars["TimelessDate"];
|
3233
|
+
/**
|
3234
|
+
* The last time at which the entity was meaningfully updated, i.e. for all changes of syncable properties except those
|
3235
|
+
* 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
|
3236
|
+
* been updated after creation.
|
3237
|
+
*/
|
3238
|
+
updatedAt: Date;
|
3239
|
+
/** Project URL. */
|
3240
|
+
url: string;
|
3241
|
+
/** The project was created based on this issue. */
|
3242
|
+
get convertedFromIssue(): LinearFetch<Issue> | undefined;
|
3243
|
+
/** The user who created the project. */
|
3244
|
+
get creator(): LinearFetch<User> | undefined;
|
3245
|
+
/** Settings for all integrations associated with that project. */
|
3246
|
+
get integrationsSettings(): LinearFetch<IntegrationsSettings> | undefined;
|
3247
|
+
/** The project lead. */
|
3248
|
+
get lead(): LinearFetch<User> | undefined;
|
2847
3249
|
}
|
2848
3250
|
/**
|
2849
|
-
*
|
3251
|
+
* ProjectSearchResultConnection model
|
2850
3252
|
*
|
2851
3253
|
* @param request - function to call the graphql client
|
2852
|
-
* @param
|
3254
|
+
* @param fetch - function to trigger a refetch of this ProjectSearchResultConnection model
|
3255
|
+
* @param data - ProjectSearchResultConnection response data
|
2853
3256
|
*/
|
2854
|
-
export declare class
|
2855
|
-
|
2856
|
-
constructor(request: LinearRequest, data: L.ProjectPayloadFragment);
|
2857
|
-
/** The identifier of the last sync operation. */
|
2858
|
-
lastSyncId: number;
|
2859
|
-
/** Whether the operation was successful. */
|
2860
|
-
success: boolean;
|
2861
|
-
/** The project that was created or updated. */
|
2862
|
-
get project(): LinearFetch<Project> | undefined;
|
3257
|
+
export declare class ProjectSearchResultConnection extends Connection<ProjectSearchResult> {
|
3258
|
+
constructor(request: LinearRequest, fetch: (connection?: LinearConnectionVariables) => LinearFetch<LinearConnection<ProjectSearchResult> | undefined>, data: L.ProjectSearchResultConnectionFragment);
|
2863
3259
|
}
|
2864
3260
|
/**
|
2865
3261
|
* A update associated with an project.
|
@@ -3104,7 +3500,7 @@ export declare class RateLimitResultPayload extends Request {
|
|
3104
3500
|
* @param data - L.ReactionFragment response data
|
3105
3501
|
*/
|
3106
3502
|
export declare class Reaction extends Request {
|
3107
|
-
private _user
|
3503
|
+
private _user?;
|
3108
3504
|
constructor(request: LinearRequest, data: L.ReactionFragment);
|
3109
3505
|
/** The time at which the entity was archived. Null if the entity has not been archived. */
|
3110
3506
|
archivedAt?: Date;
|
@@ -3162,6 +3558,8 @@ export declare class Roadmap extends Request {
|
|
3162
3558
|
constructor(request: LinearRequest, data: L.RoadmapFragment);
|
3163
3559
|
/** The time at which the entity was archived. Null if the entity has not been archived. */
|
3164
3560
|
archivedAt?: Date;
|
3561
|
+
/** The roadmap's color. */
|
3562
|
+
color?: string;
|
3165
3563
|
/** The time at which the entity was created. */
|
3166
3564
|
createdAt: Date;
|
3167
3565
|
/** The description of the roadmap. */
|
@@ -3172,6 +3570,8 @@ export declare class Roadmap extends Request {
|
|
3172
3570
|
name: string;
|
3173
3571
|
/** The roadmap's unique URL slug. */
|
3174
3572
|
slugId: string;
|
3573
|
+
/** The sort order of the roadmap within the organization. */
|
3574
|
+
sortOrder: number;
|
3175
3575
|
/**
|
3176
3576
|
* The last time at which the entity was meaningfully updated, i.e. for all changes of syncable properties except those
|
3177
3577
|
* 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
|
@@ -3186,10 +3586,14 @@ export declare class Roadmap extends Request {
|
|
3186
3586
|
get owner(): LinearFetch<User> | undefined;
|
3187
3587
|
/** Projects associated with the roadmap. */
|
3188
3588
|
projects(variables?: Omit<L.Roadmap_ProjectsQueryVariables, "id">): LinearFetch<ProjectConnection>;
|
3589
|
+
/** Archives a roadmap. */
|
3590
|
+
archive(): LinearFetch<ArchivePayload>;
|
3189
3591
|
/** Creates a new roadmap. */
|
3190
3592
|
create(input: L.RoadmapCreateInput): LinearFetch<RoadmapPayload>;
|
3191
3593
|
/** Deletes a roadmap. */
|
3192
3594
|
delete(): LinearFetch<ArchivePayload>;
|
3595
|
+
/** Unarchives a roadmap. */
|
3596
|
+
unarchive(): LinearFetch<ArchivePayload>;
|
3193
3597
|
/** Updates a roadmap. */
|
3194
3598
|
update(input: L.RoadmapUpdateInput): LinearFetch<RoadmapPayload>;
|
3195
3599
|
}
|
@@ -3796,7 +4200,7 @@ export declare class User extends Request {
|
|
3796
4200
|
archivedAt?: Date;
|
3797
4201
|
/** An URL to the user's avatar image. */
|
3798
4202
|
avatarUrl?: string;
|
3799
|
-
/** Hash for the user to be used in calendar URLs. */
|
4203
|
+
/** [DEPRECATED] Hash for the user to be used in calendar URLs. */
|
3800
4204
|
calendarHash?: string;
|
3801
4205
|
/** The time at which the entity was created. */
|
3802
4206
|
createdAt: Date;
|
@@ -3959,6 +4363,8 @@ export declare class UserSettings extends Request {
|
|
3959
4363
|
constructor(request: LinearRequest, data: L.UserSettingsFragment);
|
3960
4364
|
/** The time at which the entity was archived. Null if the entity has not been archived. */
|
3961
4365
|
archivedAt?: Date;
|
4366
|
+
/** Hash for the user to be used in calendar URLs. */
|
4367
|
+
calendarHash?: string;
|
3962
4368
|
/** The time at which the entity was created. */
|
3963
4369
|
createdAt: Date;
|
3964
4370
|
/** The unique identifier of the entity. */
|
@@ -4950,6 +5356,24 @@ export declare class ImageUploadFromUrlMutation extends Request {
|
|
4950
5356
|
*/
|
4951
5357
|
fetch(url: string): LinearFetch<ImageUploadFromUrlPayload>;
|
4952
5358
|
}
|
5359
|
+
/**
|
5360
|
+
* A fetchable ImportFileUpload Mutation
|
5361
|
+
*
|
5362
|
+
* @param request - function to call the graphql client
|
5363
|
+
*/
|
5364
|
+
export declare class ImportFileUploadMutation extends Request {
|
5365
|
+
constructor(request: LinearRequest);
|
5366
|
+
/**
|
5367
|
+
* Call the ImportFileUpload mutation and return a UploadPayload
|
5368
|
+
*
|
5369
|
+
* @param contentType - required contentType to pass to importFileUpload
|
5370
|
+
* @param filename - required filename to pass to importFileUpload
|
5371
|
+
* @param size - required size to pass to importFileUpload
|
5372
|
+
* @param variables - variables without 'contentType', 'filename', 'size' to pass into the ImportFileUploadMutation
|
5373
|
+
* @returns parsed response from ImportFileUploadMutation
|
5374
|
+
*/
|
5375
|
+
fetch(contentType: string, filename: string, size: number, variables?: Omit<L.ImportFileUploadMutationVariables, "contentType" | "filename" | "size">): LinearFetch<UploadPayload>;
|
5376
|
+
}
|
4953
5377
|
/**
|
4954
5378
|
* A fetchable DeleteIntegration Mutation
|
4955
5379
|
*
|
@@ -5440,6 +5864,22 @@ export declare class IssueImportCreateAsanaMutation extends Request {
|
|
5440
5864
|
*/
|
5441
5865
|
fetch(asanaTeamName: string, asanaToken: string, variables?: Omit<L.IssueImportCreateAsanaMutationVariables, "asanaTeamName" | "asanaToken">): LinearFetch<IssueImportPayload>;
|
5442
5866
|
}
|
5867
|
+
/**
|
5868
|
+
* A fetchable IssueImportCreateCsvJira Mutation
|
5869
|
+
*
|
5870
|
+
* @param request - function to call the graphql client
|
5871
|
+
*/
|
5872
|
+
export declare class IssueImportCreateCsvJiraMutation extends Request {
|
5873
|
+
constructor(request: LinearRequest);
|
5874
|
+
/**
|
5875
|
+
* Call the IssueImportCreateCsvJira mutation and return a IssueImportPayload
|
5876
|
+
*
|
5877
|
+
* @param csvUrl - required csvUrl to pass to issueImportCreateCSVJira
|
5878
|
+
* @param variables - variables without 'csvUrl' to pass into the IssueImportCreateCsvJiraMutation
|
5879
|
+
* @returns parsed response from IssueImportCreateCsvJiraMutation
|
5880
|
+
*/
|
5881
|
+
fetch(csvUrl: string, variables?: Omit<L.IssueImportCreateCsvJiraMutationVariables, "csvUrl">): LinearFetch<IssueImportPayload>;
|
5882
|
+
}
|
5443
5883
|
/**
|
5444
5884
|
* A fetchable IssueImportCreateClubhouse Mutation
|
5445
5885
|
*
|
@@ -5450,12 +5890,12 @@ export declare class IssueImportCreateClubhouseMutation extends Request {
|
|
5450
5890
|
/**
|
5451
5891
|
* Call the IssueImportCreateClubhouse mutation and return a IssueImportPayload
|
5452
5892
|
*
|
5453
|
-
* @param
|
5893
|
+
* @param clubhouseGroupName - required clubhouseGroupName to pass to issueImportCreateClubhouse
|
5454
5894
|
* @param clubhouseToken - required clubhouseToken to pass to issueImportCreateClubhouse
|
5455
|
-
* @param variables - variables without '
|
5895
|
+
* @param variables - variables without 'clubhouseGroupName', 'clubhouseToken' to pass into the IssueImportCreateClubhouseMutation
|
5456
5896
|
* @returns parsed response from IssueImportCreateClubhouseMutation
|
5457
5897
|
*/
|
5458
|
-
fetch(
|
5898
|
+
fetch(clubhouseGroupName: string, clubhouseToken: string, variables?: Omit<L.IssueImportCreateClubhouseMutationVariables, "clubhouseGroupName" | "clubhouseToken">): LinearFetch<IssueImportPayload>;
|
5459
5899
|
}
|
5460
5900
|
/**
|
5461
5901
|
* A fetchable IssueImportCreateGithub Mutation
|
@@ -5936,6 +6376,20 @@ export declare class UpdateOrganizationInviteMutation extends Request {
|
|
5936
6376
|
*/
|
5937
6377
|
fetch(id: string, input: L.OrganizationInviteUpdateInput): LinearFetch<OrganizationInvitePayload>;
|
5938
6378
|
}
|
6379
|
+
/**
|
6380
|
+
* A fetchable OrganizationStartPlusTrial Mutation
|
6381
|
+
*
|
6382
|
+
* @param request - function to call the graphql client
|
6383
|
+
*/
|
6384
|
+
export declare class OrganizationStartPlusTrialMutation extends Request {
|
6385
|
+
constructor(request: LinearRequest);
|
6386
|
+
/**
|
6387
|
+
* Call the OrganizationStartPlusTrial mutation and return a OrganizationStartPlusTrialPayload
|
6388
|
+
*
|
6389
|
+
* @returns parsed response from OrganizationStartPlusTrialMutation
|
6390
|
+
*/
|
6391
|
+
fetch(): LinearFetch<OrganizationStartPlusTrialPayload>;
|
6392
|
+
}
|
5939
6393
|
/**
|
5940
6394
|
* A fetchable UpdateOrganization Mutation
|
5941
6395
|
*
|
@@ -6285,6 +6739,21 @@ export declare class ResendOrganizationInviteMutation extends Request {
|
|
6285
6739
|
*/
|
6286
6740
|
fetch(id: string): LinearFetch<ArchivePayload>;
|
6287
6741
|
}
|
6742
|
+
/**
|
6743
|
+
* A fetchable ArchiveRoadmap Mutation
|
6744
|
+
*
|
6745
|
+
* @param request - function to call the graphql client
|
6746
|
+
*/
|
6747
|
+
export declare class ArchiveRoadmapMutation extends Request {
|
6748
|
+
constructor(request: LinearRequest);
|
6749
|
+
/**
|
6750
|
+
* Call the ArchiveRoadmap mutation and return a ArchivePayload
|
6751
|
+
*
|
6752
|
+
* @param id - required id to pass to archiveRoadmap
|
6753
|
+
* @returns parsed response from ArchiveRoadmapMutation
|
6754
|
+
*/
|
6755
|
+
fetch(id: string): LinearFetch<ArchivePayload>;
|
6756
|
+
}
|
6288
6757
|
/**
|
6289
6758
|
* A fetchable CreateRoadmap Mutation
|
6290
6759
|
*
|
@@ -6361,6 +6830,21 @@ export declare class UpdateRoadmapToProjectMutation extends Request {
|
|
6361
6830
|
*/
|
6362
6831
|
fetch(id: string, input: L.RoadmapToProjectUpdateInput): LinearFetch<RoadmapToProjectPayload>;
|
6363
6832
|
}
|
6833
|
+
/**
|
6834
|
+
* A fetchable UnarchiveRoadmap Mutation
|
6835
|
+
*
|
6836
|
+
* @param request - function to call the graphql client
|
6837
|
+
*/
|
6838
|
+
export declare class UnarchiveRoadmapMutation extends Request {
|
6839
|
+
constructor(request: LinearRequest);
|
6840
|
+
/**
|
6841
|
+
* Call the UnarchiveRoadmap mutation and return a ArchivePayload
|
6842
|
+
*
|
6843
|
+
* @param id - required id to pass to unarchiveRoadmap
|
6844
|
+
* @returns parsed response from UnarchiveRoadmapMutation
|
6845
|
+
*/
|
6846
|
+
fetch(id: string): LinearFetch<ArchivePayload>;
|
6847
|
+
}
|
6364
6848
|
/**
|
6365
6849
|
* A fetchable UpdateRoadmap Mutation
|
6366
6850
|
*
|
@@ -7410,6 +7894,53 @@ export declare class IssueQuery extends Request {
|
|
7410
7894
|
*/
|
7411
7895
|
fetch(id: string): LinearFetch<Issue>;
|
7412
7896
|
}
|
7897
|
+
/**
|
7898
|
+
* A fetchable IssueFigmaFileKeySearch Query
|
7899
|
+
*
|
7900
|
+
* @param request - function to call the graphql client
|
7901
|
+
*/
|
7902
|
+
export declare class IssueFigmaFileKeySearchQuery extends Request {
|
7903
|
+
constructor(request: LinearRequest);
|
7904
|
+
/**
|
7905
|
+
* Call the IssueFigmaFileKeySearch query and return a IssueConnection
|
7906
|
+
*
|
7907
|
+
* @param fileKey - required fileKey to pass to issueFigmaFileKeySearch
|
7908
|
+
* @param variables - variables without 'fileKey' to pass into the IssueFigmaFileKeySearchQuery
|
7909
|
+
* @returns parsed response from IssueFigmaFileKeySearchQuery
|
7910
|
+
*/
|
7911
|
+
fetch(fileKey: string, variables?: Omit<L.IssueFigmaFileKeySearchQueryVariables, "fileKey">): LinearFetch<IssueConnection>;
|
7912
|
+
}
|
7913
|
+
/**
|
7914
|
+
* A fetchable IssueFilterSuggestion Query
|
7915
|
+
*
|
7916
|
+
* @param request - function to call the graphql client
|
7917
|
+
*/
|
7918
|
+
export declare class IssueFilterSuggestionQuery extends Request {
|
7919
|
+
constructor(request: LinearRequest);
|
7920
|
+
/**
|
7921
|
+
* Call the IssueFilterSuggestion query and return a IssueFilterSuggestionPayload
|
7922
|
+
*
|
7923
|
+
* @param prompt - required prompt to pass to issueFilterSuggestion
|
7924
|
+
* @returns parsed response from IssueFilterSuggestionQuery
|
7925
|
+
*/
|
7926
|
+
fetch(prompt: string): LinearFetch<IssueFilterSuggestionPayload>;
|
7927
|
+
}
|
7928
|
+
/**
|
7929
|
+
* A fetchable IssueImportCheckCsv Query
|
7930
|
+
*
|
7931
|
+
* @param request - function to call the graphql client
|
7932
|
+
*/
|
7933
|
+
export declare class IssueImportCheckCsvQuery extends Request {
|
7934
|
+
constructor(request: LinearRequest);
|
7935
|
+
/**
|
7936
|
+
* Call the IssueImportCheckCsv query and return a IssueImportCheckPayload
|
7937
|
+
*
|
7938
|
+
* @param csvUrl - required csvUrl to pass to issueImportCheckCSV
|
7939
|
+
* @param service - required service to pass to issueImportCheckCSV
|
7940
|
+
* @returns parsed response from IssueImportCheckCsvQuery
|
7941
|
+
*/
|
7942
|
+
fetch(csvUrl: string, service: string): LinearFetch<IssueImportCheckPayload>;
|
7943
|
+
}
|
7413
7944
|
/**
|
7414
7945
|
* A fetchable IssueImportFinishGithubOAuth Query
|
7415
7946
|
*
|
@@ -7678,6 +8209,21 @@ export declare class ProjectQuery extends Request {
|
|
7678
8209
|
*/
|
7679
8210
|
fetch(id: string): LinearFetch<Project>;
|
7680
8211
|
}
|
8212
|
+
/**
|
8213
|
+
* A fetchable ProjectFilterSuggestion Query
|
8214
|
+
*
|
8215
|
+
* @param request - function to call the graphql client
|
8216
|
+
*/
|
8217
|
+
export declare class ProjectFilterSuggestionQuery extends Request {
|
8218
|
+
constructor(request: LinearRequest);
|
8219
|
+
/**
|
8220
|
+
* Call the ProjectFilterSuggestion query and return a ProjectFilterSuggestionPayload
|
8221
|
+
*
|
8222
|
+
* @param prompt - required prompt to pass to projectFilterSuggestion
|
8223
|
+
* @returns parsed response from ProjectFilterSuggestionQuery
|
8224
|
+
*/
|
8225
|
+
fetch(prompt: string): LinearFetch<ProjectFilterSuggestionPayload>;
|
8226
|
+
}
|
7681
8227
|
/**
|
7682
8228
|
* A fetchable ProjectLink Query
|
7683
8229
|
*
|
@@ -7871,6 +8417,54 @@ export declare class RoadmapsQuery extends Request {
|
|
7871
8417
|
*/
|
7872
8418
|
fetch(variables?: L.RoadmapsQueryVariables): LinearFetch<RoadmapConnection>;
|
7873
8419
|
}
|
8420
|
+
/**
|
8421
|
+
* A fetchable SearchDocuments Query
|
8422
|
+
*
|
8423
|
+
* @param request - function to call the graphql client
|
8424
|
+
*/
|
8425
|
+
export declare class SearchDocumentsQuery extends Request {
|
8426
|
+
constructor(request: LinearRequest);
|
8427
|
+
/**
|
8428
|
+
* Call the SearchDocuments query and return a DocumentSearchPayload
|
8429
|
+
*
|
8430
|
+
* @param term - required term to pass to searchDocuments
|
8431
|
+
* @param variables - variables without 'term' to pass into the SearchDocumentsQuery
|
8432
|
+
* @returns parsed response from SearchDocumentsQuery
|
8433
|
+
*/
|
8434
|
+
fetch(term: string, variables?: Omit<L.SearchDocumentsQueryVariables, "term">): LinearFetch<DocumentSearchPayload>;
|
8435
|
+
}
|
8436
|
+
/**
|
8437
|
+
* A fetchable SearchIssues Query
|
8438
|
+
*
|
8439
|
+
* @param request - function to call the graphql client
|
8440
|
+
*/
|
8441
|
+
export declare class SearchIssuesQuery extends Request {
|
8442
|
+
constructor(request: LinearRequest);
|
8443
|
+
/**
|
8444
|
+
* Call the SearchIssues query and return a IssueSearchPayload
|
8445
|
+
*
|
8446
|
+
* @param term - required term to pass to searchIssues
|
8447
|
+
* @param variables - variables without 'term' to pass into the SearchIssuesQuery
|
8448
|
+
* @returns parsed response from SearchIssuesQuery
|
8449
|
+
*/
|
8450
|
+
fetch(term: string, variables?: Omit<L.SearchIssuesQueryVariables, "term">): LinearFetch<IssueSearchPayload>;
|
8451
|
+
}
|
8452
|
+
/**
|
8453
|
+
* A fetchable SearchProjects Query
|
8454
|
+
*
|
8455
|
+
* @param request - function to call the graphql client
|
8456
|
+
*/
|
8457
|
+
export declare class SearchProjectsQuery extends Request {
|
8458
|
+
constructor(request: LinearRequest);
|
8459
|
+
/**
|
8460
|
+
* Call the SearchProjects query and return a ProjectSearchPayload
|
8461
|
+
*
|
8462
|
+
* @param term - required term to pass to searchProjects
|
8463
|
+
* @param variables - variables without 'term' to pass into the SearchProjectsQuery
|
8464
|
+
* @returns parsed response from SearchProjectsQuery
|
8465
|
+
*/
|
8466
|
+
fetch(term: string, variables?: Omit<L.SearchProjectsQueryVariables, "term">): LinearFetch<ProjectSearchPayload>;
|
8467
|
+
}
|
7874
8468
|
/**
|
7875
8469
|
* A fetchable SsoUrlFromEmail Query
|
7876
8470
|
*
|
@@ -8858,6 +9452,25 @@ export declare class Project_MembersQuery extends Request {
|
|
8858
9452
|
*/
|
8859
9453
|
fetch(variables?: Omit<L.Project_MembersQueryVariables, "id">): LinearFetch<UserConnection>;
|
8860
9454
|
}
|
9455
|
+
/**
|
9456
|
+
* A fetchable Project_ProjectMilestones Query
|
9457
|
+
*
|
9458
|
+
* @param request - function to call the graphql client
|
9459
|
+
* @param id - required id to pass to project
|
9460
|
+
* @param variables - variables without 'id' to pass into the Project_ProjectMilestonesQuery
|
9461
|
+
*/
|
9462
|
+
export declare class Project_ProjectMilestonesQuery extends Request {
|
9463
|
+
private _id;
|
9464
|
+
private _variables?;
|
9465
|
+
constructor(request: LinearRequest, id: string, variables?: Omit<L.Project_ProjectMilestonesQueryVariables, "id">);
|
9466
|
+
/**
|
9467
|
+
* Call the Project_ProjectMilestones query and return a ProjectMilestoneConnection
|
9468
|
+
*
|
9469
|
+
* @param variables - variables without 'id' to pass into the Project_ProjectMilestonesQuery
|
9470
|
+
* @returns parsed response from Project_ProjectMilestonesQuery
|
9471
|
+
*/
|
9472
|
+
fetch(variables?: Omit<L.Project_ProjectMilestonesQueryVariables, "id">): LinearFetch<ProjectMilestoneConnection>;
|
9473
|
+
}
|
8861
9474
|
/**
|
8862
9475
|
* A fetchable Project_ProjectUpdates Query
|
8863
9476
|
*
|
@@ -8915,6 +9528,63 @@ export declare class Roadmap_ProjectsQuery extends Request {
|
|
8915
9528
|
*/
|
8916
9529
|
fetch(variables?: Omit<L.Roadmap_ProjectsQueryVariables, "id">): LinearFetch<ProjectConnection>;
|
8917
9530
|
}
|
9531
|
+
/**
|
9532
|
+
* A fetchable SearchDocuments_ArchivePayload Query
|
9533
|
+
*
|
9534
|
+
* @param request - function to call the graphql client
|
9535
|
+
* @param term - required term to pass to searchDocuments
|
9536
|
+
* @param variables - variables without 'term' to pass into the SearchDocuments_ArchivePayloadQuery
|
9537
|
+
*/
|
9538
|
+
export declare class SearchDocuments_ArchivePayloadQuery extends Request {
|
9539
|
+
private _term;
|
9540
|
+
private _variables?;
|
9541
|
+
constructor(request: LinearRequest, term: string, variables?: Omit<L.SearchDocuments_ArchivePayloadQueryVariables, "term">);
|
9542
|
+
/**
|
9543
|
+
* Call the SearchDocuments_ArchivePayload query and return a ArchiveResponse
|
9544
|
+
*
|
9545
|
+
* @param variables - variables without 'term' to pass into the SearchDocuments_ArchivePayloadQuery
|
9546
|
+
* @returns parsed response from SearchDocuments_ArchivePayloadQuery
|
9547
|
+
*/
|
9548
|
+
fetch(variables?: Omit<L.SearchDocuments_ArchivePayloadQueryVariables, "term">): LinearFetch<ArchiveResponse>;
|
9549
|
+
}
|
9550
|
+
/**
|
9551
|
+
* A fetchable SearchIssues_ArchivePayload Query
|
9552
|
+
*
|
9553
|
+
* @param request - function to call the graphql client
|
9554
|
+
* @param term - required term to pass to searchIssues
|
9555
|
+
* @param variables - variables without 'term' to pass into the SearchIssues_ArchivePayloadQuery
|
9556
|
+
*/
|
9557
|
+
export declare class SearchIssues_ArchivePayloadQuery extends Request {
|
9558
|
+
private _term;
|
9559
|
+
private _variables?;
|
9560
|
+
constructor(request: LinearRequest, term: string, variables?: Omit<L.SearchIssues_ArchivePayloadQueryVariables, "term">);
|
9561
|
+
/**
|
9562
|
+
* Call the SearchIssues_ArchivePayload query and return a ArchiveResponse
|
9563
|
+
*
|
9564
|
+
* @param variables - variables without 'term' to pass into the SearchIssues_ArchivePayloadQuery
|
9565
|
+
* @returns parsed response from SearchIssues_ArchivePayloadQuery
|
9566
|
+
*/
|
9567
|
+
fetch(variables?: Omit<L.SearchIssues_ArchivePayloadQueryVariables, "term">): LinearFetch<ArchiveResponse>;
|
9568
|
+
}
|
9569
|
+
/**
|
9570
|
+
* A fetchable SearchProjects_ArchivePayload Query
|
9571
|
+
*
|
9572
|
+
* @param request - function to call the graphql client
|
9573
|
+
* @param term - required term to pass to searchProjects
|
9574
|
+
* @param variables - variables without 'term' to pass into the SearchProjects_ArchivePayloadQuery
|
9575
|
+
*/
|
9576
|
+
export declare class SearchProjects_ArchivePayloadQuery extends Request {
|
9577
|
+
private _term;
|
9578
|
+
private _variables?;
|
9579
|
+
constructor(request: LinearRequest, term: string, variables?: Omit<L.SearchProjects_ArchivePayloadQueryVariables, "term">);
|
9580
|
+
/**
|
9581
|
+
* Call the SearchProjects_ArchivePayload query and return a ArchiveResponse
|
9582
|
+
*
|
9583
|
+
* @param variables - variables without 'term' to pass into the SearchProjects_ArchivePayloadQuery
|
9584
|
+
* @returns parsed response from SearchProjects_ArchivePayloadQuery
|
9585
|
+
*/
|
9586
|
+
fetch(variables?: Omit<L.SearchProjects_ArchivePayloadQueryVariables, "term">): LinearFetch<ArchiveResponse>;
|
9587
|
+
}
|
8918
9588
|
/**
|
8919
9589
|
* A fetchable Team_Cycles Query
|
8920
9590
|
*
|
@@ -9555,6 +10225,16 @@ export declare class LinearSdk extends Request {
|
|
9555
10225
|
* @returns ImageUploadFromUrlPayload
|
9556
10226
|
*/
|
9557
10227
|
imageUploadFromUrl(url: string): LinearFetch<ImageUploadFromUrlPayload>;
|
10228
|
+
/**
|
10229
|
+
* XHR request payload to upload a file for import, directly to Linear's cloud storage.
|
10230
|
+
*
|
10231
|
+
* @param contentType - required contentType to pass to importFileUpload
|
10232
|
+
* @param filename - required filename to pass to importFileUpload
|
10233
|
+
* @param size - required size to pass to importFileUpload
|
10234
|
+
* @param variables - variables without 'contentType', 'filename', 'size' to pass into the ImportFileUploadMutation
|
10235
|
+
* @returns UploadPayload
|
10236
|
+
*/
|
10237
|
+
importFileUpload(contentType: string, filename: string, size: number, variables?: Omit<L.ImportFileUploadMutationVariables, "contentType" | "filename" | "size">): LinearFetch<UploadPayload>;
|
9558
10238
|
/**
|
9559
10239
|
* Deletes an integration.
|
9560
10240
|
*
|
@@ -9797,15 +10477,23 @@ export declare class LinearSdk extends Request {
|
|
9797
10477
|
* @returns IssueImportPayload
|
9798
10478
|
*/
|
9799
10479
|
issueImportCreateAsana(asanaTeamName: string, asanaToken: string, variables?: Omit<L.IssueImportCreateAsanaMutationVariables, "asanaTeamName" | "asanaToken">): LinearFetch<IssueImportPayload>;
|
10480
|
+
/**
|
10481
|
+
* Kicks off a Jira import job from a CSV.
|
10482
|
+
*
|
10483
|
+
* @param csvUrl - required csvUrl to pass to issueImportCreateCSVJira
|
10484
|
+
* @param variables - variables without 'csvUrl' to pass into the IssueImportCreateCsvJiraMutation
|
10485
|
+
* @returns IssueImportPayload
|
10486
|
+
*/
|
10487
|
+
issueImportCreateCSVJira(csvUrl: string, variables?: Omit<L.IssueImportCreateCsvJiraMutationVariables, "csvUrl">): LinearFetch<IssueImportPayload>;
|
9800
10488
|
/**
|
9801
10489
|
* Kicks off a Shortcut (formerly Clubhouse) import job.
|
9802
10490
|
*
|
9803
|
-
* @param
|
10491
|
+
* @param clubhouseGroupName - required clubhouseGroupName to pass to issueImportCreateClubhouse
|
9804
10492
|
* @param clubhouseToken - required clubhouseToken to pass to issueImportCreateClubhouse
|
9805
|
-
* @param variables - variables without '
|
10493
|
+
* @param variables - variables without 'clubhouseGroupName', 'clubhouseToken' to pass into the IssueImportCreateClubhouseMutation
|
9806
10494
|
* @returns IssueImportPayload
|
9807
10495
|
*/
|
9808
|
-
issueImportCreateClubhouse(
|
10496
|
+
issueImportCreateClubhouse(clubhouseGroupName: string, clubhouseToken: string, variables?: Omit<L.IssueImportCreateClubhouseMutationVariables, "clubhouseGroupName" | "clubhouseToken">): LinearFetch<IssueImportPayload>;
|
9809
10497
|
/**
|
9810
10498
|
* Kicks off a GitHub import job.
|
9811
10499
|
*
|
@@ -10037,6 +10725,12 @@ export declare class LinearSdk extends Request {
|
|
10037
10725
|
* @returns OrganizationInvitePayload
|
10038
10726
|
*/
|
10039
10727
|
updateOrganizationInvite(id: string, input: L.OrganizationInviteUpdateInput): LinearFetch<OrganizationInvitePayload>;
|
10728
|
+
/**
|
10729
|
+
* Starts a plus trial for the organization. Administrator privileges required.
|
10730
|
+
*
|
10731
|
+
* @returns OrganizationStartPlusTrialPayload
|
10732
|
+
*/
|
10733
|
+
get organizationStartPlusTrial(): LinearFetch<OrganizationStartPlusTrialPayload>;
|
10040
10734
|
/**
|
10041
10735
|
* Updates the user's organization.
|
10042
10736
|
*
|
@@ -10202,6 +10896,13 @@ export declare class LinearSdk extends Request {
|
|
10202
10896
|
* @returns ArchivePayload
|
10203
10897
|
*/
|
10204
10898
|
resendOrganizationInvite(id: string): LinearFetch<ArchivePayload>;
|
10899
|
+
/**
|
10900
|
+
* Archives a roadmap.
|
10901
|
+
*
|
10902
|
+
* @param id - required id to pass to archiveRoadmap
|
10903
|
+
* @returns ArchivePayload
|
10904
|
+
*/
|
10905
|
+
archiveRoadmap(id: string): LinearFetch<ArchivePayload>;
|
10205
10906
|
/**
|
10206
10907
|
* Creates a new roadmap.
|
10207
10908
|
*
|
@@ -10238,6 +10939,13 @@ export declare class LinearSdk extends Request {
|
|
10238
10939
|
* @returns RoadmapToProjectPayload
|
10239
10940
|
*/
|
10240
10941
|
updateRoadmapToProject(id: string, input: L.RoadmapToProjectUpdateInput): LinearFetch<RoadmapToProjectPayload>;
|
10942
|
+
/**
|
10943
|
+
* Unarchives a roadmap.
|
10944
|
+
*
|
10945
|
+
* @param id - required id to pass to unarchiveRoadmap
|
10946
|
+
* @returns ArchivePayload
|
10947
|
+
*/
|
10948
|
+
unarchiveRoadmap(id: string): LinearFetch<ArchivePayload>;
|
10241
10949
|
/**
|
10242
10950
|
* Updates a roadmap.
|
10243
10951
|
*
|
@@ -10738,6 +11446,29 @@ export declare class LinearSdk extends Request {
|
|
10738
11446
|
* @returns Issue
|
10739
11447
|
*/
|
10740
11448
|
issue(id: string): LinearFetch<Issue>;
|
11449
|
+
/**
|
11450
|
+
* Find issues that are related to a given Figma file key.
|
11451
|
+
*
|
11452
|
+
* @param fileKey - required fileKey to pass to issueFigmaFileKeySearch
|
11453
|
+
* @param variables - variables without 'fileKey' to pass into the IssueFigmaFileKeySearchQuery
|
11454
|
+
* @returns IssueConnection
|
11455
|
+
*/
|
11456
|
+
issueFigmaFileKeySearch(fileKey: string, variables?: Omit<L.IssueFigmaFileKeySearchQueryVariables, "fileKey">): LinearFetch<IssueConnection>;
|
11457
|
+
/**
|
11458
|
+
* Suggests filters for an issue view based on a text prompt.
|
11459
|
+
*
|
11460
|
+
* @param prompt - required prompt to pass to issueFilterSuggestion
|
11461
|
+
* @returns IssueFilterSuggestionPayload
|
11462
|
+
*/
|
11463
|
+
issueFilterSuggestion(prompt: string): LinearFetch<IssueFilterSuggestionPayload>;
|
11464
|
+
/**
|
11465
|
+
* Checks a CSV file validity against a specific import service.
|
11466
|
+
*
|
11467
|
+
* @param csvUrl - required csvUrl to pass to issueImportCheckCSV
|
11468
|
+
* @param service - required service to pass to issueImportCheckCSV
|
11469
|
+
* @returns IssueImportCheckPayload
|
11470
|
+
*/
|
11471
|
+
issueImportCheckCSV(csvUrl: string, service: string): LinearFetch<IssueImportCheckPayload>;
|
10741
11472
|
/**
|
10742
11473
|
* Fetches the GitHub token, completing the OAuth flow.
|
10743
11474
|
*
|
@@ -10862,6 +11593,13 @@ export declare class LinearSdk extends Request {
|
|
10862
11593
|
* @returns Project
|
10863
11594
|
*/
|
10864
11595
|
project(id: string): LinearFetch<Project>;
|
11596
|
+
/**
|
11597
|
+
* Suggests filters for a project view based on a text prompt.
|
11598
|
+
*
|
11599
|
+
* @param prompt - required prompt to pass to projectFilterSuggestion
|
11600
|
+
* @returns ProjectFilterSuggestionPayload
|
11601
|
+
*/
|
11602
|
+
projectFilterSuggestion(prompt: string): LinearFetch<ProjectFilterSuggestionPayload>;
|
10865
11603
|
/**
|
10866
11604
|
* One specific project link.
|
10867
11605
|
*
|
@@ -10951,6 +11689,30 @@ export declare class LinearSdk extends Request {
|
|
10951
11689
|
* @returns RoadmapConnection
|
10952
11690
|
*/
|
10953
11691
|
roadmaps(variables?: L.RoadmapsQueryVariables): LinearFetch<RoadmapConnection>;
|
11692
|
+
/**
|
11693
|
+
* Search documents.
|
11694
|
+
*
|
11695
|
+
* @param term - required term to pass to searchDocuments
|
11696
|
+
* @param variables - variables without 'term' to pass into the SearchDocumentsQuery
|
11697
|
+
* @returns DocumentSearchPayload
|
11698
|
+
*/
|
11699
|
+
searchDocuments(term: string, variables?: Omit<L.SearchDocumentsQueryVariables, "term">): LinearFetch<DocumentSearchPayload>;
|
11700
|
+
/**
|
11701
|
+
* Search issues.
|
11702
|
+
*
|
11703
|
+
* @param term - required term to pass to searchIssues
|
11704
|
+
* @param variables - variables without 'term' to pass into the SearchIssuesQuery
|
11705
|
+
* @returns IssueSearchPayload
|
11706
|
+
*/
|
11707
|
+
searchIssues(term: string, variables?: Omit<L.SearchIssuesQueryVariables, "term">): LinearFetch<IssueSearchPayload>;
|
11708
|
+
/**
|
11709
|
+
* Search projects.
|
11710
|
+
*
|
11711
|
+
* @param term - required term to pass to searchProjects
|
11712
|
+
* @param variables - variables without 'term' to pass into the SearchProjectsQuery
|
11713
|
+
* @returns ProjectSearchPayload
|
11714
|
+
*/
|
11715
|
+
searchProjects(term: string, variables?: Omit<L.SearchProjectsQueryVariables, "term">): LinearFetch<ProjectSearchPayload>;
|
10954
11716
|
/**
|
10955
11717
|
* Fetch SSO login URL for the email provided.
|
10956
11718
|
*
|