@linear/sdk 3.0.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 +140 -0
- package/dist/_generated_documents.d.ts +1095 -114
- package/dist/_generated_documents.d.ts.map +1 -1
- package/dist/_generated_sdk.d.ts +679 -41
- package/dist/_generated_sdk.d.ts.map +1 -1
- package/dist/index-cjs.js +2653 -434
- 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 +2628 -434
- 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 +2654 -435
- 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
|
*
|
@@ -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. */
|
@@ -495,11 +515,11 @@ export declare class CustomViewPayload extends Request {
|
|
495
515
|
export declare class CustomViewSuggestionPayload extends Request {
|
496
516
|
constructor(request: LinearRequest, data: L.CustomViewSuggestionPayloadFragment);
|
497
517
|
/** The suggested view description. */
|
498
|
-
|
518
|
+
description?: string;
|
499
519
|
/** The suggested view icon. */
|
500
|
-
|
520
|
+
icon?: string;
|
501
521
|
/** The suggested view name. */
|
502
|
-
|
522
|
+
name?: string;
|
503
523
|
}
|
504
524
|
/**
|
505
525
|
* A set of issues to be resolved in a specified amount of time.
|
@@ -645,6 +665,34 @@ export declare class Document extends Request {
|
|
645
665
|
export declare class DocumentConnection extends Connection<Document> {
|
646
666
|
constructor(request: LinearRequest, fetch: (connection?: LinearConnectionVariables) => LinearFetch<LinearConnection<Document> | undefined>, data: L.DocumentConnectionFragment);
|
647
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
|
+
}
|
648
696
|
/**
|
649
697
|
* DocumentPayload model
|
650
698
|
*
|
@@ -661,6 +709,75 @@ export declare class DocumentPayload extends Request {
|
|
661
709
|
/** The document that was created or updated. */
|
662
710
|
get document(): LinearFetch<Document> | undefined;
|
663
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
|
+
}
|
664
781
|
/**
|
665
782
|
* EmailUnsubscribePayload model
|
666
783
|
*
|
@@ -806,7 +923,7 @@ export declare class Favorite extends Request {
|
|
806
923
|
folderName?: string;
|
807
924
|
/** The unique identifier of the entity. */
|
808
925
|
id: string;
|
809
|
-
/** The type of favorited
|
926
|
+
/** The type of favorited predefined view. */
|
810
927
|
predefinedViewType?: string;
|
811
928
|
/** The order of the item in the favorites list. */
|
812
929
|
sortOrder: number;
|
@@ -830,7 +947,7 @@ export declare class Favorite extends Request {
|
|
830
947
|
get label(): LinearFetch<IssueLabel> | undefined;
|
831
948
|
/** The parent folder of the favorite. */
|
832
949
|
get parent(): LinearFetch<Favorite> | undefined;
|
833
|
-
/** The team of the favorited
|
950
|
+
/** The team of the favorited predefined view. */
|
834
951
|
get predefinedViewTeam(): LinearFetch<Team> | undefined;
|
835
952
|
/** The favorited project. */
|
836
953
|
get project(): LinearFetch<Project> | undefined;
|
@@ -1294,6 +1411,7 @@ export declare class Issue extends Request {
|
|
1294
1411
|
private _assignee?;
|
1295
1412
|
private _creator?;
|
1296
1413
|
private _cycle?;
|
1414
|
+
private _favorite?;
|
1297
1415
|
private _parent?;
|
1298
1416
|
private _project?;
|
1299
1417
|
private _projectMilestone?;
|
@@ -1367,6 +1485,8 @@ export declare class Issue extends Request {
|
|
1367
1485
|
get creator(): LinearFetch<User> | undefined;
|
1368
1486
|
/** The cycle that the issue is associated with. */
|
1369
1487
|
get cycle(): LinearFetch<Cycle> | undefined;
|
1488
|
+
/** The users favorite associated with this issue. */
|
1489
|
+
get favorite(): LinearFetch<Favorite> | undefined;
|
1370
1490
|
/** The parent of the issue. */
|
1371
1491
|
get parent(): LinearFetch<Issue> | undefined;
|
1372
1492
|
/** The project that the issue is associated with. */
|
@@ -1431,6 +1551,17 @@ export declare class IssueBatchPayload extends Request {
|
|
1431
1551
|
export declare class IssueConnection extends Connection<Issue> {
|
1432
1552
|
constructor(request: LinearRequest, fetch: (connection?: LinearConnectionVariables) => LinearFetch<LinearConnection<Issue> | undefined>, data: L.IssueConnectionFragment);
|
1433
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
|
+
}
|
1434
1565
|
/**
|
1435
1566
|
* A record of changes to an issue.
|
1436
1567
|
*
|
@@ -1588,8 +1719,12 @@ export declare class IssueImport extends Request {
|
|
1588
1719
|
createdAt: Date;
|
1589
1720
|
/** The id for the user that started the job. */
|
1590
1721
|
creatorId: string;
|
1722
|
+
/** File URL for the uploaded CSV for the import, if there is one. */
|
1723
|
+
csvFileUrl?: string;
|
1591
1724
|
/** User readable error message, if one has occurred during the import. */
|
1592
1725
|
error?: string;
|
1726
|
+
/** Error code and metadata, if one has occurred during the import */
|
1727
|
+
errorMetadata?: Record<string, unknown>;
|
1593
1728
|
/** The unique identifier of the entity. */
|
1594
1729
|
id: string;
|
1595
1730
|
/** The data mapping configuration for the import job. */
|
@@ -1613,6 +1748,17 @@ export declare class IssueImport extends Request {
|
|
1613
1748
|
/** Updates the mapping for the issue import. */
|
1614
1749
|
update(input: L.IssueImportUpdateInput): LinearFetch<IssueImportPayload>;
|
1615
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
|
+
}
|
1616
1762
|
/**
|
1617
1763
|
* IssueImportDeletePayload model
|
1618
1764
|
*
|
@@ -1758,7 +1904,7 @@ export declare class IssueNotification extends Request {
|
|
1758
1904
|
* been updated after creation.
|
1759
1905
|
*/
|
1760
1906
|
updatedAt: Date;
|
1761
|
-
/** The user that caused the notification.
|
1907
|
+
/** The user that caused the notification. */
|
1762
1908
|
get actor(): LinearFetch<User> | undefined;
|
1763
1909
|
/** The comment related to the notification. */
|
1764
1910
|
get comment(): LinearFetch<Comment> | undefined;
|
@@ -1872,6 +2018,132 @@ export declare class IssueRelationPayload extends Request {
|
|
1872
2018
|
/** The issue relation that was created or updated. */
|
1873
2019
|
get issueRelation(): LinearFetch<IssueRelation> | undefined;
|
1874
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
|
+
}
|
1875
2147
|
/**
|
1876
2148
|
* Tuple for mapping Jira projects to Linear teams.
|
1877
2149
|
*
|
@@ -1970,7 +2242,7 @@ export declare class Notification extends Request {
|
|
1970
2242
|
* been updated after creation.
|
1971
2243
|
*/
|
1972
2244
|
updatedAt: Date;
|
1973
|
-
/** The user that caused the notification.
|
2245
|
+
/** The user that caused the notification. */
|
1974
2246
|
get actor(): LinearFetch<User> | undefined;
|
1975
2247
|
/** The user that received the notification. */
|
1976
2248
|
get user(): LinearFetch<User> | undefined;
|
@@ -2198,7 +2470,7 @@ export declare class OauthClientApprovalNotification extends Request {
|
|
2198
2470
|
updatedAt: Date;
|
2199
2471
|
/** The OAuth client approval request related to the notification. */
|
2200
2472
|
oauthClientApproval: OauthClientApproval;
|
2201
|
-
/** The user that caused the notification.
|
2473
|
+
/** The user that caused the notification. */
|
2202
2474
|
get actor(): LinearFetch<User> | undefined;
|
2203
2475
|
/** The user that received the notification. */
|
2204
2476
|
get user(): LinearFetch<User> | undefined;
|
@@ -2530,32 +2802,6 @@ export declare class PaidSubscription extends Request {
|
|
2530
2802
|
/** The organization that the subscription is associated with. */
|
2531
2803
|
get organization(): LinearFetch<Organization>;
|
2532
2804
|
}
|
2533
|
-
/**
|
2534
|
-
* A personal note for a user
|
2535
|
-
*
|
2536
|
-
* @param request - function to call the graphql client
|
2537
|
-
* @param data - L.PersonalNoteFragment response data
|
2538
|
-
*/
|
2539
|
-
export declare class PersonalNote extends Request {
|
2540
|
-
private _user;
|
2541
|
-
constructor(request: LinearRequest, data: L.PersonalNoteFragment);
|
2542
|
-
/** The time at which the entity was archived. Null if the entity has not been archived. */
|
2543
|
-
archivedAt?: Date;
|
2544
|
-
/** The note content as JSON. */
|
2545
|
-
contentData?: Record<string, unknown>;
|
2546
|
-
/** The time at which the entity was created. */
|
2547
|
-
createdAt: Date;
|
2548
|
-
/** The unique identifier of the entity. */
|
2549
|
-
id: string;
|
2550
|
-
/**
|
2551
|
-
* The last time at which the entity was meaningfully updated, i.e. for all changes of syncable properties except those
|
2552
|
-
* 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
|
2553
|
-
* been updated after creation.
|
2554
|
-
*/
|
2555
|
-
updatedAt: Date;
|
2556
|
-
/** The user that owns the note. */
|
2557
|
-
get user(): LinearFetch<User> | undefined;
|
2558
|
-
}
|
2559
2805
|
/**
|
2560
2806
|
* A project.
|
2561
2807
|
*
|
@@ -2671,6 +2917,17 @@ export declare class Project extends Request {
|
|
2671
2917
|
export declare class ProjectConnection extends Connection<Project> {
|
2672
2918
|
constructor(request: LinearRequest, fetch: (connection?: LinearConnectionVariables) => LinearFetch<LinearConnection<Project> | undefined>, data: L.ProjectConnectionFragment);
|
2673
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
|
+
}
|
2674
2931
|
/**
|
2675
2932
|
* An external link for a project.
|
2676
2933
|
*
|
@@ -2835,7 +3092,7 @@ export declare class ProjectNotification extends Request {
|
|
2835
3092
|
* been updated after creation.
|
2836
3093
|
*/
|
2837
3094
|
updatedAt: Date;
|
2838
|
-
/** The user that caused the notification.
|
3095
|
+
/** The user that caused the notification. */
|
2839
3096
|
get actor(): LinearFetch<User> | undefined;
|
2840
3097
|
/** The project related to the notification. */
|
2841
3098
|
get project(): LinearFetch<Project> | undefined;
|
@@ -2892,6 +3149,114 @@ export declare class ProjectPayload extends Request {
|
|
2892
3149
|
/** The project that was created or updated. */
|
2893
3150
|
get project(): LinearFetch<Project> | undefined;
|
2894
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;
|
3249
|
+
}
|
3250
|
+
/**
|
3251
|
+
* ProjectSearchResultConnection model
|
3252
|
+
*
|
3253
|
+
* @param request - function to call the graphql client
|
3254
|
+
* @param fetch - function to trigger a refetch of this ProjectSearchResultConnection model
|
3255
|
+
* @param data - ProjectSearchResultConnection response data
|
3256
|
+
*/
|
3257
|
+
export declare class ProjectSearchResultConnection extends Connection<ProjectSearchResult> {
|
3258
|
+
constructor(request: LinearRequest, fetch: (connection?: LinearConnectionVariables) => LinearFetch<LinearConnection<ProjectSearchResult> | undefined>, data: L.ProjectSearchResultConnectionFragment);
|
3259
|
+
}
|
2895
3260
|
/**
|
2896
3261
|
* A update associated with an project.
|
2897
3262
|
*
|
@@ -4991,6 +5356,24 @@ export declare class ImageUploadFromUrlMutation extends Request {
|
|
4991
5356
|
*/
|
4992
5357
|
fetch(url: string): LinearFetch<ImageUploadFromUrlPayload>;
|
4993
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
|
+
}
|
4994
5377
|
/**
|
4995
5378
|
* A fetchable DeleteIntegration Mutation
|
4996
5379
|
*
|
@@ -5481,6 +5864,22 @@ export declare class IssueImportCreateAsanaMutation extends Request {
|
|
5481
5864
|
*/
|
5482
5865
|
fetch(asanaTeamName: string, asanaToken: string, variables?: Omit<L.IssueImportCreateAsanaMutationVariables, "asanaTeamName" | "asanaToken">): LinearFetch<IssueImportPayload>;
|
5483
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
|
+
}
|
5484
5883
|
/**
|
5485
5884
|
* A fetchable IssueImportCreateClubhouse Mutation
|
5486
5885
|
*
|
@@ -5491,12 +5890,12 @@ export declare class IssueImportCreateClubhouseMutation extends Request {
|
|
5491
5890
|
/**
|
5492
5891
|
* Call the IssueImportCreateClubhouse mutation and return a IssueImportPayload
|
5493
5892
|
*
|
5494
|
-
* @param
|
5893
|
+
* @param clubhouseGroupName - required clubhouseGroupName to pass to issueImportCreateClubhouse
|
5495
5894
|
* @param clubhouseToken - required clubhouseToken to pass to issueImportCreateClubhouse
|
5496
|
-
* @param variables - variables without '
|
5895
|
+
* @param variables - variables without 'clubhouseGroupName', 'clubhouseToken' to pass into the IssueImportCreateClubhouseMutation
|
5497
5896
|
* @returns parsed response from IssueImportCreateClubhouseMutation
|
5498
5897
|
*/
|
5499
|
-
fetch(
|
5898
|
+
fetch(clubhouseGroupName: string, clubhouseToken: string, variables?: Omit<L.IssueImportCreateClubhouseMutationVariables, "clubhouseGroupName" | "clubhouseToken">): LinearFetch<IssueImportPayload>;
|
5500
5899
|
}
|
5501
5900
|
/**
|
5502
5901
|
* A fetchable IssueImportCreateGithub Mutation
|
@@ -7495,6 +7894,53 @@ export declare class IssueQuery extends Request {
|
|
7495
7894
|
*/
|
7496
7895
|
fetch(id: string): LinearFetch<Issue>;
|
7497
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
|
+
}
|
7498
7944
|
/**
|
7499
7945
|
* A fetchable IssueImportFinishGithubOAuth Query
|
7500
7946
|
*
|
@@ -7763,6 +8209,21 @@ export declare class ProjectQuery extends Request {
|
|
7763
8209
|
*/
|
7764
8210
|
fetch(id: string): LinearFetch<Project>;
|
7765
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
|
+
}
|
7766
8227
|
/**
|
7767
8228
|
* A fetchable ProjectLink Query
|
7768
8229
|
*
|
@@ -7956,6 +8417,54 @@ export declare class RoadmapsQuery extends Request {
|
|
7956
8417
|
*/
|
7957
8418
|
fetch(variables?: L.RoadmapsQueryVariables): LinearFetch<RoadmapConnection>;
|
7958
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
|
+
}
|
7959
8468
|
/**
|
7960
8469
|
* A fetchable SsoUrlFromEmail Query
|
7961
8470
|
*
|
@@ -9019,6 +9528,63 @@ export declare class Roadmap_ProjectsQuery extends Request {
|
|
9019
9528
|
*/
|
9020
9529
|
fetch(variables?: Omit<L.Roadmap_ProjectsQueryVariables, "id">): LinearFetch<ProjectConnection>;
|
9021
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
|
+
}
|
9022
9588
|
/**
|
9023
9589
|
* A fetchable Team_Cycles Query
|
9024
9590
|
*
|
@@ -9659,6 +10225,16 @@ export declare class LinearSdk extends Request {
|
|
9659
10225
|
* @returns ImageUploadFromUrlPayload
|
9660
10226
|
*/
|
9661
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>;
|
9662
10238
|
/**
|
9663
10239
|
* Deletes an integration.
|
9664
10240
|
*
|
@@ -9901,15 +10477,23 @@ export declare class LinearSdk extends Request {
|
|
9901
10477
|
* @returns IssueImportPayload
|
9902
10478
|
*/
|
9903
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>;
|
9904
10488
|
/**
|
9905
10489
|
* Kicks off a Shortcut (formerly Clubhouse) import job.
|
9906
10490
|
*
|
9907
|
-
* @param
|
10491
|
+
* @param clubhouseGroupName - required clubhouseGroupName to pass to issueImportCreateClubhouse
|
9908
10492
|
* @param clubhouseToken - required clubhouseToken to pass to issueImportCreateClubhouse
|
9909
|
-
* @param variables - variables without '
|
10493
|
+
* @param variables - variables without 'clubhouseGroupName', 'clubhouseToken' to pass into the IssueImportCreateClubhouseMutation
|
9910
10494
|
* @returns IssueImportPayload
|
9911
10495
|
*/
|
9912
|
-
issueImportCreateClubhouse(
|
10496
|
+
issueImportCreateClubhouse(clubhouseGroupName: string, clubhouseToken: string, variables?: Omit<L.IssueImportCreateClubhouseMutationVariables, "clubhouseGroupName" | "clubhouseToken">): LinearFetch<IssueImportPayload>;
|
9913
10497
|
/**
|
9914
10498
|
* Kicks off a GitHub import job.
|
9915
10499
|
*
|
@@ -10862,6 +11446,29 @@ export declare class LinearSdk extends Request {
|
|
10862
11446
|
* @returns Issue
|
10863
11447
|
*/
|
10864
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>;
|
10865
11472
|
/**
|
10866
11473
|
* Fetches the GitHub token, completing the OAuth flow.
|
10867
11474
|
*
|
@@ -10986,6 +11593,13 @@ export declare class LinearSdk extends Request {
|
|
10986
11593
|
* @returns Project
|
10987
11594
|
*/
|
10988
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>;
|
10989
11603
|
/**
|
10990
11604
|
* One specific project link.
|
10991
11605
|
*
|
@@ -11075,6 +11689,30 @@ export declare class LinearSdk extends Request {
|
|
11075
11689
|
* @returns RoadmapConnection
|
11076
11690
|
*/
|
11077
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>;
|
11078
11716
|
/**
|
11079
11717
|
* Fetch SSO login URL for the email provided.
|
11080
11718
|
*
|