@linear/sdk 3.0.0 → 5.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.
@@ -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
- suggestedDescription?: string;
518
+ description?: string;
499
519
  /** The suggested view icon. */
500
- suggestedIcon?: string;
520
+ icon?: string;
501
521
  /** The suggested view name. */
502
- suggestedName?: string;
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 predefiend view. */
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 predefiend view. */
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. If empty it's Linear itself. */
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. If empty it's Linear itself. */
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. If empty it's Linear itself. */
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;
@@ -2407,13 +2679,13 @@ export declare class OrganizationInviteConnection extends Connection<Organizatio
2407
2679
  constructor(request: LinearRequest, fetch: (connection?: LinearConnectionVariables) => LinearFetch<LinearConnection<OrganizationInvite> | undefined>, data: L.OrganizationInviteConnectionFragment);
2408
2680
  }
2409
2681
  /**
2410
- * OrganizationInviteDetailsPayload model
2682
+ * OrganizationInviteFullDetailsPayload model
2411
2683
  *
2412
2684
  * @param request - function to call the graphql client
2413
- * @param data - L.OrganizationInviteDetailsPayloadFragment response data
2685
+ * @param data - L.OrganizationInviteFullDetailsPayloadFragment response data
2414
2686
  */
2415
- export declare class OrganizationInviteDetailsPayload extends Request {
2416
- constructor(request: LinearRequest, data: L.OrganizationInviteDetailsPayloadFragment);
2687
+ export declare class OrganizationInviteFullDetailsPayload extends Request {
2688
+ constructor(request: LinearRequest, data: L.OrganizationInviteFullDetailsPayloadFragment);
2417
2689
  /** Whether the invite has already been accepted. */
2418
2690
  accepted: boolean;
2419
2691
  /** When the invite was created. */
@@ -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. If empty it's Linear itself. */
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
  *
@@ -3495,7 +3860,7 @@ export declare class Team extends Request {
3495
3860
  issueEstimationAllowZero: boolean;
3496
3861
  /** Whether to add additional points to the estimate scale. */
3497
3862
  issueEstimationExtended: boolean;
3498
- /** The issue estimation type to use. */
3863
+ /** The issue estimation type to use. Must be one of "notUsed", "exponential", "fibonacci", "linear", "tShirt". */
3499
3864
  issueEstimationType: string;
3500
3865
  /** Whether issues without priority should be sorted first. */
3501
3866
  issueOrderingNoPriorityFirst: boolean;
@@ -4006,6 +4371,8 @@ export declare class UserSettings extends Request {
4006
4371
  id: string;
4007
4372
  /** The notification channel settings the user has selected. */
4008
4373
  notificationPreferences: Record<string, unknown>;
4374
+ /** Whether to show full user names instead of display names. */
4375
+ showFullUserNames: boolean;
4009
4376
  /** The email types the user has unsubscribed from. */
4010
4377
  unsubscribedFrom: string[];
4011
4378
  /**
@@ -4991,6 +5358,24 @@ export declare class ImageUploadFromUrlMutation extends Request {
4991
5358
  */
4992
5359
  fetch(url: string): LinearFetch<ImageUploadFromUrlPayload>;
4993
5360
  }
5361
+ /**
5362
+ * A fetchable ImportFileUpload Mutation
5363
+ *
5364
+ * @param request - function to call the graphql client
5365
+ */
5366
+ export declare class ImportFileUploadMutation extends Request {
5367
+ constructor(request: LinearRequest);
5368
+ /**
5369
+ * Call the ImportFileUpload mutation and return a UploadPayload
5370
+ *
5371
+ * @param contentType - required contentType to pass to importFileUpload
5372
+ * @param filename - required filename to pass to importFileUpload
5373
+ * @param size - required size to pass to importFileUpload
5374
+ * @param variables - variables without 'contentType', 'filename', 'size' to pass into the ImportFileUploadMutation
5375
+ * @returns parsed response from ImportFileUploadMutation
5376
+ */
5377
+ fetch(contentType: string, filename: string, size: number, variables?: Omit<L.ImportFileUploadMutationVariables, "contentType" | "filename" | "size">): LinearFetch<UploadPayload>;
5378
+ }
4994
5379
  /**
4995
5380
  * A fetchable DeleteIntegration Mutation
4996
5381
  *
@@ -5481,6 +5866,22 @@ export declare class IssueImportCreateAsanaMutation extends Request {
5481
5866
  */
5482
5867
  fetch(asanaTeamName: string, asanaToken: string, variables?: Omit<L.IssueImportCreateAsanaMutationVariables, "asanaTeamName" | "asanaToken">): LinearFetch<IssueImportPayload>;
5483
5868
  }
5869
+ /**
5870
+ * A fetchable IssueImportCreateCsvJira Mutation
5871
+ *
5872
+ * @param request - function to call the graphql client
5873
+ */
5874
+ export declare class IssueImportCreateCsvJiraMutation extends Request {
5875
+ constructor(request: LinearRequest);
5876
+ /**
5877
+ * Call the IssueImportCreateCsvJira mutation and return a IssueImportPayload
5878
+ *
5879
+ * @param csvUrl - required csvUrl to pass to issueImportCreateCSVJira
5880
+ * @param variables - variables without 'csvUrl' to pass into the IssueImportCreateCsvJiraMutation
5881
+ * @returns parsed response from IssueImportCreateCsvJiraMutation
5882
+ */
5883
+ fetch(csvUrl: string, variables?: Omit<L.IssueImportCreateCsvJiraMutationVariables, "csvUrl">): LinearFetch<IssueImportPayload>;
5884
+ }
5484
5885
  /**
5485
5886
  * A fetchable IssueImportCreateClubhouse Mutation
5486
5887
  *
@@ -5491,12 +5892,12 @@ export declare class IssueImportCreateClubhouseMutation extends Request {
5491
5892
  /**
5492
5893
  * Call the IssueImportCreateClubhouse mutation and return a IssueImportPayload
5493
5894
  *
5494
- * @param clubhouseTeamName - required clubhouseTeamName to pass to issueImportCreateClubhouse
5895
+ * @param clubhouseGroupName - required clubhouseGroupName to pass to issueImportCreateClubhouse
5495
5896
  * @param clubhouseToken - required clubhouseToken to pass to issueImportCreateClubhouse
5496
- * @param variables - variables without 'clubhouseTeamName', 'clubhouseToken' to pass into the IssueImportCreateClubhouseMutation
5897
+ * @param variables - variables without 'clubhouseGroupName', 'clubhouseToken' to pass into the IssueImportCreateClubhouseMutation
5497
5898
  * @returns parsed response from IssueImportCreateClubhouseMutation
5498
5899
  */
5499
- fetch(clubhouseTeamName: string, clubhouseToken: string, variables?: Omit<L.IssueImportCreateClubhouseMutationVariables, "clubhouseTeamName" | "clubhouseToken">): LinearFetch<IssueImportPayload>;
5900
+ fetch(clubhouseGroupName: string, clubhouseToken: string, variables?: Omit<L.IssueImportCreateClubhouseMutationVariables, "clubhouseGroupName" | "clubhouseToken">): LinearFetch<IssueImportPayload>;
5500
5901
  }
5501
5902
  /**
5502
5903
  * A fetchable IssueImportCreateGithub Mutation
@@ -6753,6 +7154,21 @@ export declare class UserGoogleCalendarConnectMutation extends Request {
6753
7154
  */
6754
7155
  fetch(code: string): LinearFetch<UserPayload>;
6755
7156
  }
7157
+ /**
7158
+ * A fetchable UserJiraConnect Mutation
7159
+ *
7160
+ * @param request - function to call the graphql client
7161
+ */
7162
+ export declare class UserJiraConnectMutation extends Request {
7163
+ constructor(request: LinearRequest);
7164
+ /**
7165
+ * Call the UserJiraConnect mutation and return a UserPayload
7166
+ *
7167
+ * @param code - required code to pass to userJiraConnect
7168
+ * @returns parsed response from UserJiraConnectMutation
7169
+ */
7170
+ fetch(code: string): LinearFetch<UserPayload>;
7171
+ }
6756
7172
  /**
6757
7173
  * A fetchable UserPromoteAdmin Mutation
6758
7174
  *
@@ -7495,6 +7911,53 @@ export declare class IssueQuery extends Request {
7495
7911
  */
7496
7912
  fetch(id: string): LinearFetch<Issue>;
7497
7913
  }
7914
+ /**
7915
+ * A fetchable IssueFigmaFileKeySearch Query
7916
+ *
7917
+ * @param request - function to call the graphql client
7918
+ */
7919
+ export declare class IssueFigmaFileKeySearchQuery extends Request {
7920
+ constructor(request: LinearRequest);
7921
+ /**
7922
+ * Call the IssueFigmaFileKeySearch query and return a IssueConnection
7923
+ *
7924
+ * @param fileKey - required fileKey to pass to issueFigmaFileKeySearch
7925
+ * @param variables - variables without 'fileKey' to pass into the IssueFigmaFileKeySearchQuery
7926
+ * @returns parsed response from IssueFigmaFileKeySearchQuery
7927
+ */
7928
+ fetch(fileKey: string, variables?: Omit<L.IssueFigmaFileKeySearchQueryVariables, "fileKey">): LinearFetch<IssueConnection>;
7929
+ }
7930
+ /**
7931
+ * A fetchable IssueFilterSuggestion Query
7932
+ *
7933
+ * @param request - function to call the graphql client
7934
+ */
7935
+ export declare class IssueFilterSuggestionQuery extends Request {
7936
+ constructor(request: LinearRequest);
7937
+ /**
7938
+ * Call the IssueFilterSuggestion query and return a IssueFilterSuggestionPayload
7939
+ *
7940
+ * @param prompt - required prompt to pass to issueFilterSuggestion
7941
+ * @returns parsed response from IssueFilterSuggestionQuery
7942
+ */
7943
+ fetch(prompt: string): LinearFetch<IssueFilterSuggestionPayload>;
7944
+ }
7945
+ /**
7946
+ * A fetchable IssueImportCheckCsv Query
7947
+ *
7948
+ * @param request - function to call the graphql client
7949
+ */
7950
+ export declare class IssueImportCheckCsvQuery extends Request {
7951
+ constructor(request: LinearRequest);
7952
+ /**
7953
+ * Call the IssueImportCheckCsv query and return a IssueImportCheckPayload
7954
+ *
7955
+ * @param csvUrl - required csvUrl to pass to issueImportCheckCSV
7956
+ * @param service - required service to pass to issueImportCheckCSV
7957
+ * @returns parsed response from IssueImportCheckCsvQuery
7958
+ */
7959
+ fetch(csvUrl: string, service: string): LinearFetch<IssueImportCheckPayload>;
7960
+ }
7498
7961
  /**
7499
7962
  * A fetchable IssueImportFinishGithubOAuth Query
7500
7963
  *
@@ -7718,21 +8181,6 @@ export declare class OrganizationInviteQuery extends Request {
7718
8181
  */
7719
8182
  fetch(id: string): LinearFetch<OrganizationInvite>;
7720
8183
  }
7721
- /**
7722
- * A fetchable OrganizationInviteDetails Query
7723
- *
7724
- * @param request - function to call the graphql client
7725
- */
7726
- export declare class OrganizationInviteDetailsQuery extends Request {
7727
- constructor(request: LinearRequest);
7728
- /**
7729
- * Call the OrganizationInviteDetails query and return a OrganizationInviteDetailsPayload
7730
- *
7731
- * @param id - required id to pass to organizationInviteDetails
7732
- * @returns parsed response from OrganizationInviteDetailsQuery
7733
- */
7734
- fetch(id: string): LinearFetch<OrganizationInviteDetailsPayload>;
7735
- }
7736
8184
  /**
7737
8185
  * A fetchable OrganizationInvites Query
7738
8186
  *
@@ -7763,6 +8211,21 @@ export declare class ProjectQuery extends Request {
7763
8211
  */
7764
8212
  fetch(id: string): LinearFetch<Project>;
7765
8213
  }
8214
+ /**
8215
+ * A fetchable ProjectFilterSuggestion Query
8216
+ *
8217
+ * @param request - function to call the graphql client
8218
+ */
8219
+ export declare class ProjectFilterSuggestionQuery extends Request {
8220
+ constructor(request: LinearRequest);
8221
+ /**
8222
+ * Call the ProjectFilterSuggestion query and return a ProjectFilterSuggestionPayload
8223
+ *
8224
+ * @param prompt - required prompt to pass to projectFilterSuggestion
8225
+ * @returns parsed response from ProjectFilterSuggestionQuery
8226
+ */
8227
+ fetch(prompt: string): LinearFetch<ProjectFilterSuggestionPayload>;
8228
+ }
7766
8229
  /**
7767
8230
  * A fetchable ProjectLink Query
7768
8231
  *
@@ -7956,6 +8419,54 @@ export declare class RoadmapsQuery extends Request {
7956
8419
  */
7957
8420
  fetch(variables?: L.RoadmapsQueryVariables): LinearFetch<RoadmapConnection>;
7958
8421
  }
8422
+ /**
8423
+ * A fetchable SearchDocuments Query
8424
+ *
8425
+ * @param request - function to call the graphql client
8426
+ */
8427
+ export declare class SearchDocumentsQuery extends Request {
8428
+ constructor(request: LinearRequest);
8429
+ /**
8430
+ * Call the SearchDocuments query and return a DocumentSearchPayload
8431
+ *
8432
+ * @param term - required term to pass to searchDocuments
8433
+ * @param variables - variables without 'term' to pass into the SearchDocumentsQuery
8434
+ * @returns parsed response from SearchDocumentsQuery
8435
+ */
8436
+ fetch(term: string, variables?: Omit<L.SearchDocumentsQueryVariables, "term">): LinearFetch<DocumentSearchPayload>;
8437
+ }
8438
+ /**
8439
+ * A fetchable SearchIssues Query
8440
+ *
8441
+ * @param request - function to call the graphql client
8442
+ */
8443
+ export declare class SearchIssuesQuery extends Request {
8444
+ constructor(request: LinearRequest);
8445
+ /**
8446
+ * Call the SearchIssues query and return a IssueSearchPayload
8447
+ *
8448
+ * @param term - required term to pass to searchIssues
8449
+ * @param variables - variables without 'term' to pass into the SearchIssuesQuery
8450
+ * @returns parsed response from SearchIssuesQuery
8451
+ */
8452
+ fetch(term: string, variables?: Omit<L.SearchIssuesQueryVariables, "term">): LinearFetch<IssueSearchPayload>;
8453
+ }
8454
+ /**
8455
+ * A fetchable SearchProjects Query
8456
+ *
8457
+ * @param request - function to call the graphql client
8458
+ */
8459
+ export declare class SearchProjectsQuery extends Request {
8460
+ constructor(request: LinearRequest);
8461
+ /**
8462
+ * Call the SearchProjects query and return a ProjectSearchPayload
8463
+ *
8464
+ * @param term - required term to pass to searchProjects
8465
+ * @param variables - variables without 'term' to pass into the SearchProjectsQuery
8466
+ * @returns parsed response from SearchProjectsQuery
8467
+ */
8468
+ fetch(term: string, variables?: Omit<L.SearchProjectsQueryVariables, "term">): LinearFetch<ProjectSearchPayload>;
8469
+ }
7959
8470
  /**
7960
8471
  * A fetchable SsoUrlFromEmail Query
7961
8472
  *
@@ -9019,6 +9530,63 @@ export declare class Roadmap_ProjectsQuery extends Request {
9019
9530
  */
9020
9531
  fetch(variables?: Omit<L.Roadmap_ProjectsQueryVariables, "id">): LinearFetch<ProjectConnection>;
9021
9532
  }
9533
+ /**
9534
+ * A fetchable SearchDocuments_ArchivePayload Query
9535
+ *
9536
+ * @param request - function to call the graphql client
9537
+ * @param term - required term to pass to searchDocuments
9538
+ * @param variables - variables without 'term' to pass into the SearchDocuments_ArchivePayloadQuery
9539
+ */
9540
+ export declare class SearchDocuments_ArchivePayloadQuery extends Request {
9541
+ private _term;
9542
+ private _variables?;
9543
+ constructor(request: LinearRequest, term: string, variables?: Omit<L.SearchDocuments_ArchivePayloadQueryVariables, "term">);
9544
+ /**
9545
+ * Call the SearchDocuments_ArchivePayload query and return a ArchiveResponse
9546
+ *
9547
+ * @param variables - variables without 'term' to pass into the SearchDocuments_ArchivePayloadQuery
9548
+ * @returns parsed response from SearchDocuments_ArchivePayloadQuery
9549
+ */
9550
+ fetch(variables?: Omit<L.SearchDocuments_ArchivePayloadQueryVariables, "term">): LinearFetch<ArchiveResponse>;
9551
+ }
9552
+ /**
9553
+ * A fetchable SearchIssues_ArchivePayload Query
9554
+ *
9555
+ * @param request - function to call the graphql client
9556
+ * @param term - required term to pass to searchIssues
9557
+ * @param variables - variables without 'term' to pass into the SearchIssues_ArchivePayloadQuery
9558
+ */
9559
+ export declare class SearchIssues_ArchivePayloadQuery extends Request {
9560
+ private _term;
9561
+ private _variables?;
9562
+ constructor(request: LinearRequest, term: string, variables?: Omit<L.SearchIssues_ArchivePayloadQueryVariables, "term">);
9563
+ /**
9564
+ * Call the SearchIssues_ArchivePayload query and return a ArchiveResponse
9565
+ *
9566
+ * @param variables - variables without 'term' to pass into the SearchIssues_ArchivePayloadQuery
9567
+ * @returns parsed response from SearchIssues_ArchivePayloadQuery
9568
+ */
9569
+ fetch(variables?: Omit<L.SearchIssues_ArchivePayloadQueryVariables, "term">): LinearFetch<ArchiveResponse>;
9570
+ }
9571
+ /**
9572
+ * A fetchable SearchProjects_ArchivePayload Query
9573
+ *
9574
+ * @param request - function to call the graphql client
9575
+ * @param term - required term to pass to searchProjects
9576
+ * @param variables - variables without 'term' to pass into the SearchProjects_ArchivePayloadQuery
9577
+ */
9578
+ export declare class SearchProjects_ArchivePayloadQuery extends Request {
9579
+ private _term;
9580
+ private _variables?;
9581
+ constructor(request: LinearRequest, term: string, variables?: Omit<L.SearchProjects_ArchivePayloadQueryVariables, "term">);
9582
+ /**
9583
+ * Call the SearchProjects_ArchivePayload query and return a ArchiveResponse
9584
+ *
9585
+ * @param variables - variables without 'term' to pass into the SearchProjects_ArchivePayloadQuery
9586
+ * @returns parsed response from SearchProjects_ArchivePayloadQuery
9587
+ */
9588
+ fetch(variables?: Omit<L.SearchProjects_ArchivePayloadQueryVariables, "term">): LinearFetch<ArchiveResponse>;
9589
+ }
9022
9590
  /**
9023
9591
  * A fetchable Team_Cycles Query
9024
9592
  *
@@ -9659,6 +10227,16 @@ export declare class LinearSdk extends Request {
9659
10227
  * @returns ImageUploadFromUrlPayload
9660
10228
  */
9661
10229
  imageUploadFromUrl(url: string): LinearFetch<ImageUploadFromUrlPayload>;
10230
+ /**
10231
+ * XHR request payload to upload a file for import, directly to Linear's cloud storage.
10232
+ *
10233
+ * @param contentType - required contentType to pass to importFileUpload
10234
+ * @param filename - required filename to pass to importFileUpload
10235
+ * @param size - required size to pass to importFileUpload
10236
+ * @param variables - variables without 'contentType', 'filename', 'size' to pass into the ImportFileUploadMutation
10237
+ * @returns UploadPayload
10238
+ */
10239
+ importFileUpload(contentType: string, filename: string, size: number, variables?: Omit<L.ImportFileUploadMutationVariables, "contentType" | "filename" | "size">): LinearFetch<UploadPayload>;
9662
10240
  /**
9663
10241
  * Deletes an integration.
9664
10242
  *
@@ -9901,15 +10479,23 @@ export declare class LinearSdk extends Request {
9901
10479
  * @returns IssueImportPayload
9902
10480
  */
9903
10481
  issueImportCreateAsana(asanaTeamName: string, asanaToken: string, variables?: Omit<L.IssueImportCreateAsanaMutationVariables, "asanaTeamName" | "asanaToken">): LinearFetch<IssueImportPayload>;
10482
+ /**
10483
+ * Kicks off a Jira import job from a CSV.
10484
+ *
10485
+ * @param csvUrl - required csvUrl to pass to issueImportCreateCSVJira
10486
+ * @param variables - variables without 'csvUrl' to pass into the IssueImportCreateCsvJiraMutation
10487
+ * @returns IssueImportPayload
10488
+ */
10489
+ issueImportCreateCSVJira(csvUrl: string, variables?: Omit<L.IssueImportCreateCsvJiraMutationVariables, "csvUrl">): LinearFetch<IssueImportPayload>;
9904
10490
  /**
9905
10491
  * Kicks off a Shortcut (formerly Clubhouse) import job.
9906
10492
  *
9907
- * @param clubhouseTeamName - required clubhouseTeamName to pass to issueImportCreateClubhouse
10493
+ * @param clubhouseGroupName - required clubhouseGroupName to pass to issueImportCreateClubhouse
9908
10494
  * @param clubhouseToken - required clubhouseToken to pass to issueImportCreateClubhouse
9909
- * @param variables - variables without 'clubhouseTeamName', 'clubhouseToken' to pass into the IssueImportCreateClubhouseMutation
10495
+ * @param variables - variables without 'clubhouseGroupName', 'clubhouseToken' to pass into the IssueImportCreateClubhouseMutation
9910
10496
  * @returns IssueImportPayload
9911
10497
  */
9912
- issueImportCreateClubhouse(clubhouseTeamName: string, clubhouseToken: string, variables?: Omit<L.IssueImportCreateClubhouseMutationVariables, "clubhouseTeamName" | "clubhouseToken">): LinearFetch<IssueImportPayload>;
10498
+ issueImportCreateClubhouse(clubhouseGroupName: string, clubhouseToken: string, variables?: Omit<L.IssueImportCreateClubhouseMutationVariables, "clubhouseGroupName" | "clubhouseToken">): LinearFetch<IssueImportPayload>;
9913
10499
  /**
9914
10500
  * Kicks off a GitHub import job.
9915
10501
  *
@@ -10509,6 +11095,13 @@ export declare class LinearSdk extends Request {
10509
11095
  * @returns UserPayload
10510
11096
  */
10511
11097
  userGoogleCalendarConnect(code: string): LinearFetch<UserPayload>;
11098
+ /**
11099
+ * Connects the Jira user to this Linear account via OAuth2.
11100
+ *
11101
+ * @param code - required code to pass to userJiraConnect
11102
+ * @returns UserPayload
11103
+ */
11104
+ userJiraConnect(code: string): LinearFetch<UserPayload>;
10512
11105
  /**
10513
11106
  * Makes user an admin. Can only be called by an admin.
10514
11107
  *
@@ -10862,6 +11455,29 @@ export declare class LinearSdk extends Request {
10862
11455
  * @returns Issue
10863
11456
  */
10864
11457
  issue(id: string): LinearFetch<Issue>;
11458
+ /**
11459
+ * Find issues that are related to a given Figma file key.
11460
+ *
11461
+ * @param fileKey - required fileKey to pass to issueFigmaFileKeySearch
11462
+ * @param variables - variables without 'fileKey' to pass into the IssueFigmaFileKeySearchQuery
11463
+ * @returns IssueConnection
11464
+ */
11465
+ issueFigmaFileKeySearch(fileKey: string, variables?: Omit<L.IssueFigmaFileKeySearchQueryVariables, "fileKey">): LinearFetch<IssueConnection>;
11466
+ /**
11467
+ * Suggests filters for an issue view based on a text prompt.
11468
+ *
11469
+ * @param prompt - required prompt to pass to issueFilterSuggestion
11470
+ * @returns IssueFilterSuggestionPayload
11471
+ */
11472
+ issueFilterSuggestion(prompt: string): LinearFetch<IssueFilterSuggestionPayload>;
11473
+ /**
11474
+ * Checks a CSV file validity against a specific import service.
11475
+ *
11476
+ * @param csvUrl - required csvUrl to pass to issueImportCheckCSV
11477
+ * @param service - required service to pass to issueImportCheckCSV
11478
+ * @returns IssueImportCheckPayload
11479
+ */
11480
+ issueImportCheckCSV(csvUrl: string, service: string): LinearFetch<IssueImportCheckPayload>;
10865
11481
  /**
10866
11482
  * Fetches the GitHub token, completing the OAuth flow.
10867
11483
  *
@@ -10965,13 +11581,6 @@ export declare class LinearSdk extends Request {
10965
11581
  * @returns OrganizationInvite
10966
11582
  */
10967
11583
  organizationInvite(id: string): LinearFetch<OrganizationInvite>;
10968
- /**
10969
- * One specific organization invite.
10970
- *
10971
- * @param id - required id to pass to organizationInviteDetails
10972
- * @returns OrganizationInviteDetailsPayload
10973
- */
10974
- organizationInviteDetails(id: string): LinearFetch<OrganizationInviteDetailsPayload>;
10975
11584
  /**
10976
11585
  * All invites for the organization.
10977
11586
  *
@@ -10986,6 +11595,13 @@ export declare class LinearSdk extends Request {
10986
11595
  * @returns Project
10987
11596
  */
10988
11597
  project(id: string): LinearFetch<Project>;
11598
+ /**
11599
+ * Suggests filters for a project view based on a text prompt.
11600
+ *
11601
+ * @param prompt - required prompt to pass to projectFilterSuggestion
11602
+ * @returns ProjectFilterSuggestionPayload
11603
+ */
11604
+ projectFilterSuggestion(prompt: string): LinearFetch<ProjectFilterSuggestionPayload>;
10989
11605
  /**
10990
11606
  * One specific project link.
10991
11607
  *
@@ -11075,6 +11691,30 @@ export declare class LinearSdk extends Request {
11075
11691
  * @returns RoadmapConnection
11076
11692
  */
11077
11693
  roadmaps(variables?: L.RoadmapsQueryVariables): LinearFetch<RoadmapConnection>;
11694
+ /**
11695
+ * Search documents.
11696
+ *
11697
+ * @param term - required term to pass to searchDocuments
11698
+ * @param variables - variables without 'term' to pass into the SearchDocumentsQuery
11699
+ * @returns DocumentSearchPayload
11700
+ */
11701
+ searchDocuments(term: string, variables?: Omit<L.SearchDocumentsQueryVariables, "term">): LinearFetch<DocumentSearchPayload>;
11702
+ /**
11703
+ * Search issues.
11704
+ *
11705
+ * @param term - required term to pass to searchIssues
11706
+ * @param variables - variables without 'term' to pass into the SearchIssuesQuery
11707
+ * @returns IssueSearchPayload
11708
+ */
11709
+ searchIssues(term: string, variables?: Omit<L.SearchIssuesQueryVariables, "term">): LinearFetch<IssueSearchPayload>;
11710
+ /**
11711
+ * Search projects.
11712
+ *
11713
+ * @param term - required term to pass to searchProjects
11714
+ * @param variables - variables without 'term' to pass into the SearchProjectsQuery
11715
+ * @returns ProjectSearchPayload
11716
+ */
11717
+ searchProjects(term: string, variables?: Omit<L.SearchProjectsQueryVariables, "term">): LinearFetch<ProjectSearchPayload>;
11078
11718
  /**
11079
11719
  * Fetch SSO login URL for the email provided.
11080
11720
  *