@linear/sdk 1.18.0 → 1.22.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.
@@ -18,8 +18,10 @@ export declare type LinearFetch<Response> = Promise<Response>;
18
18
  * Follows the Relay spec
19
19
  */
20
20
  export declare type LinearConnectionVariables = {
21
- after?: string;
22
- before?: string;
21
+ after?: string | null;
22
+ before?: string | null;
23
+ first?: number | null;
24
+ last?: number | null;
23
25
  };
24
26
  /**
25
27
  * Connection models containing a list of nodes and pagination information
@@ -158,6 +160,7 @@ export declare class ArchiveResponse extends Request {
158
160
  * @param data - L.AttachmentFragment response data
159
161
  */
160
162
  export declare class Attachment extends Request {
163
+ private _creator?;
161
164
  private _issue;
162
165
  constructor(request: LinearRequest, data: L.AttachmentFragment);
163
166
  /** The time at which the entity was archived. Null if the entity has not been archived. */
@@ -172,6 +175,8 @@ export declare class Attachment extends Request {
172
175
  metadata: Record<string, unknown>;
173
176
  /** Information about the source which created the attachment. */
174
177
  source?: Record<string, unknown>;
178
+ /** An accessor helper to source.type, defines the source type of the attachment. */
179
+ sourceType?: Record<string, unknown>;
175
180
  /** Content for the subtitle line in the Linear attachment widget. */
176
181
  subtitle?: string;
177
182
  /** Content for the title line in the Linear attachment widget. */
@@ -183,6 +188,8 @@ export declare class Attachment extends Request {
183
188
  updatedAt: Date;
184
189
  /** Location of the attachment which is also used as an identifier. */
185
190
  url: string;
191
+ /** The creator of the attachment. */
192
+ get creator(): LinearFetch<User> | undefined;
186
193
  /** The issue this attachment belongs to. */
187
194
  get issue(): LinearFetch<Issue> | undefined;
188
195
  /** [DEPRECATED] Archives an issue attachment. */
@@ -218,6 +225,61 @@ export declare class AttachmentPayload extends Request {
218
225
  /** The issue attachment that was created. */
219
226
  get attachment(): LinearFetch<Attachment> | undefined;
220
227
  }
228
+ /**
229
+ * Workspace audit log entry object.
230
+ *
231
+ * @param request - function to call the graphql client
232
+ * @param data - L.AuditEntryFragment response data
233
+ */
234
+ export declare class AuditEntry extends Request {
235
+ private _actor?;
236
+ constructor(request: LinearRequest, data: L.AuditEntryFragment);
237
+ /** The ID of the user that caused the audit entry to be created. */
238
+ actorId?: string;
239
+ /** The time at which the entity was archived. Null if the entity has not been archived. */
240
+ archivedAt?: Date;
241
+ /** Country code of request resulting to audit entry. */
242
+ countryCode?: string;
243
+ /** The time at which the entity was created. */
244
+ createdAt: Date;
245
+ /** The unique identifier of the entity. */
246
+ id: string;
247
+ /** IP from actor when entry was recorded. */
248
+ ip?: string;
249
+ /** Additional metadata related to the audit entry. */
250
+ metadata?: Record<string, unknown>;
251
+ type: string;
252
+ /**
253
+ * The last time at which the entity was updated. This is the same as the creation time if the
254
+ * entity hasn't been update after creation.
255
+ */
256
+ updatedAt: Date;
257
+ /** The user that caused the audit entry to be created. */
258
+ get actor(): LinearFetch<User> | undefined;
259
+ }
260
+ /**
261
+ * AuditEntryConnection model
262
+ *
263
+ * @param request - function to call the graphql client
264
+ * @param fetch - function to trigger a refetch of this AuditEntryConnection model
265
+ * @param data - AuditEntryConnection response data
266
+ */
267
+ export declare class AuditEntryConnection extends Connection<AuditEntry> {
268
+ constructor(request: LinearRequest, fetch: (connection?: LinearConnectionVariables) => LinearFetch<LinearConnection<AuditEntry> | undefined>, data: L.AuditEntryConnectionFragment);
269
+ }
270
+ /**
271
+ * AuditEntryType model
272
+ *
273
+ * @param request - function to call the graphql client
274
+ * @param data - L.AuditEntryTypeFragment response data
275
+ */
276
+ export declare class AuditEntryType extends Request {
277
+ constructor(request: LinearRequest, data: L.AuditEntryTypeFragment);
278
+ /** Description of the audit entry type. */
279
+ description: string;
280
+ /** The audit entry type. */
281
+ type: string;
282
+ }
221
283
  /**
222
284
  * AuthResolverResponse model
223
285
  *
@@ -265,6 +327,8 @@ export declare class AuthorizedApplication extends Request {
265
327
  name: string;
266
328
  /** Scopes that are authorized for this application for a given user. */
267
329
  scope: string[];
330
+ /** Whether or not webhooks are enabled for the application. */
331
+ webhooksEnabled: boolean;
268
332
  }
269
333
  /**
270
334
  * BillingDetailsPayload model
@@ -452,6 +516,8 @@ export declare class CustomView extends Request {
452
516
  createdAt: Date;
453
517
  /** The description of the custom view. */
454
518
  description?: string;
519
+ /** [Alpha] The filter applied to issues in the custom view. */
520
+ filterData: Record<string, unknown>;
455
521
  /** The filters applied to issues in the custom view. */
456
522
  filters: Record<string, unknown>;
457
523
  /** The icon of the custom view. */
@@ -602,9 +668,80 @@ export declare class DebugPayload extends Request {
602
668
  */
603
669
  export declare class DependencyResponse extends Request {
604
670
  constructor(request: LinearRequest, data: L.DependencyResponseFragment);
605
- /** A JSON serialized collection of model objects loaded from the archive */
671
+ /** A JSON serialized collection of dependencies. */
606
672
  dependencies: string;
607
673
  }
674
+ /**
675
+ * A document for a project.
676
+ *
677
+ * @param request - function to call the graphql client
678
+ * @param data - L.DocumentFragment response data
679
+ */
680
+ export declare class Document extends Request {
681
+ private _creator;
682
+ private _project;
683
+ private _updatedBy;
684
+ constructor(request: LinearRequest, data: L.DocumentFragment);
685
+ /** The time at which the entity was archived. Null if the entity has not been archived. */
686
+ archivedAt?: Date;
687
+ /** The color of the icon. */
688
+ color?: string;
689
+ /** The document content in markdown format. */
690
+ content?: string;
691
+ /** The document content as JSON. */
692
+ contentData?: Record<string, unknown>;
693
+ /** The time at which the entity was created. */
694
+ createdAt: Date;
695
+ /** The icon of the document. */
696
+ icon?: string;
697
+ /** The unique identifier of the entity. */
698
+ id: string;
699
+ /** The document's unique URL slug. */
700
+ slugId: string;
701
+ /** The document title. */
702
+ title: string;
703
+ /**
704
+ * The last time at which the entity was updated. This is the same as the creation time if the
705
+ * entity hasn't been update after creation.
706
+ */
707
+ updatedAt: Date;
708
+ /** The user who created the document. */
709
+ get creator(): LinearFetch<User> | undefined;
710
+ /** The project that the document is associated with. */
711
+ get project(): LinearFetch<Project> | undefined;
712
+ /** The user who last updated the document. */
713
+ get updatedBy(): LinearFetch<User> | undefined;
714
+ /** Deletes a document. */
715
+ delete(): LinearFetch<ArchivePayload>;
716
+ /** Updates a document. */
717
+ update(input: L.DocumentUpdateInput): LinearFetch<DocumentPayload>;
718
+ }
719
+ /**
720
+ * DocumentConnection model
721
+ *
722
+ * @param request - function to call the graphql client
723
+ * @param fetch - function to trigger a refetch of this DocumentConnection model
724
+ * @param data - DocumentConnection response data
725
+ */
726
+ export declare class DocumentConnection extends Connection<Document> {
727
+ constructor(request: LinearRequest, fetch: (connection?: LinearConnectionVariables) => LinearFetch<LinearConnection<Document> | undefined>, data: L.DocumentConnectionFragment);
728
+ }
729
+ /**
730
+ * DocumentPayload model
731
+ *
732
+ * @param request - function to call the graphql client
733
+ * @param data - L.DocumentPayloadFragment response data
734
+ */
735
+ export declare class DocumentPayload extends Request {
736
+ private _document;
737
+ constructor(request: LinearRequest, data: L.DocumentPayloadFragment);
738
+ /** The identifier of the last sync operation. */
739
+ lastSyncId: number;
740
+ /** Whether the operation was successful. */
741
+ success: boolean;
742
+ /** The document that was created or updated. */
743
+ get document(): LinearFetch<Document> | undefined;
744
+ }
608
745
  /**
609
746
  * Collaborative editing steps for documents.
610
747
  *
@@ -631,6 +768,59 @@ export declare class DocumentStep extends Request {
631
768
  /** Step version. */
632
769
  version: number;
633
770
  }
771
+ /**
772
+ * A version of a document.
773
+ *
774
+ * @param request - function to call the graphql client
775
+ * @param data - L.DocumentVersionFragment response data
776
+ */
777
+ export declare class DocumentVersion extends Request {
778
+ private _creator;
779
+ private _project;
780
+ constructor(request: LinearRequest, data: L.DocumentVersionFragment);
781
+ /** The time at which the entity was archived. Null if the entity has not been archived. */
782
+ archivedAt?: Date;
783
+ /** The document's content in markdown format. */
784
+ content?: string;
785
+ /** The time at which the entity was created. */
786
+ createdAt: Date;
787
+ /** The unique identifier of the entity. */
788
+ id: string;
789
+ /** The version revision number. */
790
+ revision: number;
791
+ /** The document's title. */
792
+ title: string;
793
+ /**
794
+ * The last time at which the entity was updated. This is the same as the creation time if the
795
+ * entity hasn't been update after creation.
796
+ */
797
+ updatedAt: Date;
798
+ /** The user who created the version. */
799
+ get creator(): LinearFetch<User> | undefined;
800
+ /** The project that the document is associated with. */
801
+ get project(): LinearFetch<Project> | undefined;
802
+ }
803
+ /**
804
+ * DocumentVersionConnection model
805
+ *
806
+ * @param request - function to call the graphql client
807
+ * @param fetch - function to trigger a refetch of this DocumentVersionConnection model
808
+ * @param data - DocumentVersionConnection response data
809
+ */
810
+ export declare class DocumentVersionConnection extends Connection<DocumentVersion> {
811
+ constructor(request: LinearRequest, fetch: (connection?: LinearConnectionVariables) => LinearFetch<LinearConnection<DocumentVersion> | undefined>, data: L.DocumentVersionConnectionFragment);
812
+ }
813
+ /**
814
+ * EmailSubscribePayload model
815
+ *
816
+ * @param request - function to call the graphql client
817
+ * @param data - L.EmailSubscribePayloadFragment response data
818
+ */
819
+ export declare class EmailSubscribePayload extends Request {
820
+ constructor(request: LinearRequest, data: L.EmailSubscribePayloadFragment);
821
+ /** Whether the operation was successful. */
822
+ success: boolean;
823
+ }
634
824
  /**
635
825
  * EmailUnsubscribePayload model
636
826
  *
@@ -732,9 +922,12 @@ export declare class EventPayload extends Request {
732
922
  * @param data - L.FavoriteFragment response data
733
923
  */
734
924
  export declare class Favorite extends Request {
925
+ private _customView?;
735
926
  private _cycle?;
927
+ private _document?;
736
928
  private _issue?;
737
929
  private _label?;
930
+ private _parent?;
738
931
  private _project?;
739
932
  private _projectTeam?;
740
933
  private _user;
@@ -743,6 +936,8 @@ export declare class Favorite extends Request {
743
936
  archivedAt?: Date;
744
937
  /** The time at which the entity was created. */
745
938
  createdAt: Date;
939
+ /** The name of the folder. Only applies to favorites of type folder. */
940
+ folderName?: string;
746
941
  /** The unique identifier of the entity. */
747
942
  id: string;
748
943
  /** The order of the item in the favorites list. */
@@ -754,18 +949,26 @@ export declare class Favorite extends Request {
754
949
  * entity hasn't been update after creation.
755
950
  */
756
951
  updatedAt: Date;
757
- /** Favorited cycle. */
952
+ /** The favorited custom view. */
953
+ get customView(): LinearFetch<CustomView> | undefined;
954
+ /** The favorited cycle. */
758
955
  get cycle(): LinearFetch<Cycle> | undefined;
759
- /** Favorited issue. */
956
+ /** The favorited document. */
957
+ get document(): LinearFetch<Document> | undefined;
958
+ /** The favorited issue. */
760
959
  get issue(): LinearFetch<Issue> | undefined;
761
- /** Favorited issue label. */
960
+ /** The favorited label. */
762
961
  get label(): LinearFetch<IssueLabel> | undefined;
763
- /** Favorited project. */
962
+ /** The parent folder of the favorite. */
963
+ get parent(): LinearFetch<Favorite> | undefined;
964
+ /** The favorited project. */
764
965
  get project(): LinearFetch<Project> | undefined;
765
- /** Favorited project team. */
766
- get projectTeam(): LinearFetch<Project> | undefined;
966
+ /** The favorited team of the project. */
967
+ get projectTeam(): LinearFetch<Team> | undefined;
767
968
  /** The owner of the favorite. */
768
969
  get user(): LinearFetch<User> | undefined;
970
+ /** Children of the favorite. Only applies to favorites of type folder. */
971
+ children(variables?: Omit<L.Favorite_ChildrenQueryVariables, "id">): LinearFetch<FavoriteConnection>;
769
972
  /** Deletes a favorite reference. */
770
973
  delete(): LinearFetch<ArchivePayload>;
771
974
  /** Updates a favorite. */
@@ -838,6 +1041,37 @@ export declare class FigmaEmbedPayload extends Request {
838
1041
  /** Figma embed information. */
839
1042
  figmaEmbed?: FigmaEmbed;
840
1043
  }
1044
+ /**
1045
+ * FrontAttachmentPayload model
1046
+ *
1047
+ * @param request - function to call the graphql client
1048
+ * @param data - L.FrontAttachmentPayloadFragment response data
1049
+ */
1050
+ export declare class FrontAttachmentPayload extends Request {
1051
+ constructor(request: LinearRequest, data: L.FrontAttachmentPayloadFragment);
1052
+ /** The identifier of the last sync operation. */
1053
+ lastSyncId: number;
1054
+ /** Whether the operation was successful. */
1055
+ success: boolean;
1056
+ }
1057
+ /**
1058
+ * GitHubCommitIntegrationPayload model
1059
+ *
1060
+ * @param request - function to call the graphql client
1061
+ * @param data - L.GitHubCommitIntegrationPayloadFragment response data
1062
+ */
1063
+ export declare class GitHubCommitIntegrationPayload extends Request {
1064
+ private _integration?;
1065
+ constructor(request: LinearRequest, data: L.GitHubCommitIntegrationPayloadFragment);
1066
+ /** The identifier of the last sync operation. */
1067
+ lastSyncId: number;
1068
+ /** Whether the operation was successful. */
1069
+ success: boolean;
1070
+ /** The webhook secret to provide to GitHub. */
1071
+ webhookSecret: string;
1072
+ /** The integration that was created or updated. */
1073
+ get integration(): LinearFetch<Integration> | undefined;
1074
+ }
841
1075
  /**
842
1076
  * GitHub OAuth token, plus information about the organizations the user is a member of.
843
1077
  *
@@ -942,6 +1176,8 @@ export declare class Integration extends Request {
942
1176
  delete(): LinearFetch<ArchivePayload>;
943
1177
  /** Archives an integration resource. */
944
1178
  resourceArchive(): LinearFetch<ArchivePayload>;
1179
+ /** [INTERNAL] Updates the integration. */
1180
+ settingsUpdate(input: L.IntegrationSettingsInput): LinearFetch<IntegrationPayload>;
945
1181
  }
946
1182
  /**
947
1183
  * IntegrationConnection model
@@ -1042,10 +1278,13 @@ export declare class IntegrationSettings extends Request {
1042
1278
  constructor(request: LinearRequest, data: L.IntegrationSettingsFragment);
1043
1279
  googleSheets?: GoogleSheetsSettings;
1044
1280
  intercom?: IntercomSettings;
1281
+ jira?: JiraSettings;
1045
1282
  sentry?: SentrySettings;
1046
1283
  slackPost?: SlackPostSettings;
1047
1284
  slackProjectPost?: SlackPostSettings;
1048
1285
  zendesk?: ZendeskSettings;
1286
+ /** [INTERNAL] Updates the integration. */
1287
+ update(id: string, input: L.IntegrationSettingsInput): LinearFetch<IntegrationPayload>;
1049
1288
  }
1050
1289
  /**
1051
1290
  * Intercom specific settings.
@@ -1060,44 +1299,6 @@ export declare class IntercomSettings extends Request {
1060
1299
  /** Whether an internal message should be added when a Linear issue changes status (for status types except completed or canceled). */
1061
1300
  sendNoteOnStatusChange?: boolean;
1062
1301
  }
1063
- /**
1064
- * InviteData model
1065
- *
1066
- * @param request - function to call the graphql client
1067
- * @param data - L.InviteDataFragment response data
1068
- */
1069
- export declare class InviteData extends Request {
1070
- constructor(request: LinearRequest, data: L.InviteDataFragment);
1071
- /** Avatar URLs for the invitees. */
1072
- avatarURLs: string[];
1073
- /** The name of the inviter. */
1074
- inviterName: string;
1075
- /** The domain of the organization the users were invited to. */
1076
- organizationDomain: string;
1077
- /** The logo of the organization the users were invited to. */
1078
- organizationLogoUrl?: string;
1079
- /** The name of the organization the users were invited to. */
1080
- organizationName: string;
1081
- /** Team identifiers for the invitees. */
1082
- teamIds: string[];
1083
- /** Team names for the invitees. */
1084
- teamNames: string[];
1085
- /** The user count of the organization. */
1086
- userCount: number;
1087
- }
1088
- /**
1089
- * InvitePagePayload model
1090
- *
1091
- * @param request - function to call the graphql client
1092
- * @param data - L.InvitePagePayloadFragment response data
1093
- */
1094
- export declare class InvitePagePayload extends Request {
1095
- constructor(request: LinearRequest, data: L.InvitePagePayloadFragment);
1096
- /** Whether the operation was successful. */
1097
- success: boolean;
1098
- /** Invite data. */
1099
- inviteData?: InviteData;
1100
- }
1101
1302
  /**
1102
1303
  * Invoice model
1103
1304
  *
@@ -1109,7 +1310,7 @@ export declare class Invoice extends Request {
1109
1310
  /** The creation date of the invoice. */
1110
1311
  created: Date;
1111
1312
  /** The due date of the invoice. */
1112
- dueDate?: string;
1313
+ dueDate?: L.Scalars["TimelessDate"];
1113
1314
  /** The status of the invoice. */
1114
1315
  status: string;
1115
1316
  /** The invoice total, in cents. */
@@ -1154,7 +1355,7 @@ export declare class Issue extends Request {
1154
1355
  /** The issue's description in markdown format. */
1155
1356
  description?: string;
1156
1357
  /** The date at which the issue is due. */
1157
- dueDate?: string;
1358
+ dueDate?: L.Scalars["TimelessDate"];
1158
1359
  /** The estimate of the complexity of the issue.. */
1159
1360
  estimate?: number;
1160
1361
  /** The unique identifier of the entity. */
@@ -1171,6 +1372,8 @@ export declare class Issue extends Request {
1171
1372
  priorityLabel: string;
1172
1373
  /** The time until an issue will be snoozed in Triage view. */
1173
1374
  snoozedUntilAt?: Date;
1375
+ /** The order of the item in relation to other items in the organization. */
1376
+ sortOrder: number;
1174
1377
  /** The time at which the issue was moved into started state. */
1175
1378
  startedAt?: Date;
1176
1379
  /** The order of the item in the sub-issue list. Only set if the issue has a parent. */
@@ -1227,6 +1430,21 @@ export declare class Issue extends Request {
1227
1430
  /** Updates an issue. */
1228
1431
  update(input: L.IssueUpdateInput): LinearFetch<IssuePayload>;
1229
1432
  }
1433
+ /**
1434
+ * IssueBatchPayload model
1435
+ *
1436
+ * @param request - function to call the graphql client
1437
+ * @param data - L.IssueBatchPayloadFragment response data
1438
+ */
1439
+ export declare class IssueBatchPayload extends Request {
1440
+ constructor(request: LinearRequest, data: L.IssueBatchPayloadFragment);
1441
+ /** The identifier of the last sync operation. */
1442
+ lastSyncId: number;
1443
+ /** Whether the operation was successful. */
1444
+ success: boolean;
1445
+ /** The issues that were updated. */
1446
+ issues: Issue[];
1447
+ }
1230
1448
  /**
1231
1449
  * IssueConnection model
1232
1450
  *
@@ -1302,7 +1520,7 @@ export declare class IssueHistory extends Request {
1302
1520
  /** The time at which the entity was created. */
1303
1521
  createdAt: Date;
1304
1522
  /** What the due date was changed from */
1305
- fromDueDate?: string;
1523
+ fromDueDate?: L.Scalars["TimelessDate"];
1306
1524
  /** What the estimate was changed from. */
1307
1525
  fromEstimate?: number;
1308
1526
  /** What the priority was changed from. */
@@ -1316,7 +1534,7 @@ export declare class IssueHistory extends Request {
1316
1534
  /** Information about the integration or application which created this history entry. */
1317
1535
  source?: Record<string, unknown>;
1318
1536
  /** What the due date was changed to */
1319
- toDueDate?: string;
1537
+ toDueDate?: L.Scalars["TimelessDate"];
1320
1538
  /** What the estimate was changed to. */
1321
1539
  toEstimate?: number;
1322
1540
  /** What the priority was changed to. */
@@ -1406,6 +1624,8 @@ export declare class IssueImport extends Request {
1406
1624
  updatedAt: Date;
1407
1625
  /** Deletes an import job. */
1408
1626
  delete(issueImportId: string): LinearFetch<IssueImportDeletePayload>;
1627
+ /** Updates the mapping for the issue import. */
1628
+ update(input: L.IssueImportUpdateInput): LinearFetch<IssueImportPayload>;
1409
1629
  }
1410
1630
  /**
1411
1631
  * IssueImportDeletePayload model
@@ -1445,7 +1665,7 @@ export declare class IssueImportPayload extends Request {
1445
1665
  */
1446
1666
  export declare class IssueLabel extends Request {
1447
1667
  private _creator?;
1448
- private _team;
1668
+ private _team?;
1449
1669
  constructor(request: LinearRequest, data: L.IssueLabelFragment);
1450
1670
  /** The time at which the entity was archived. Null if the entity has not been archived. */
1451
1671
  archivedAt?: Date;
@@ -1466,7 +1686,8 @@ export declare class IssueLabel extends Request {
1466
1686
  updatedAt: Date;
1467
1687
  /** The user who created the label. */
1468
1688
  get creator(): LinearFetch<User> | undefined;
1469
- /** The team to which the label belongs to. */
1689
+ get organization(): LinearFetch<Organization>;
1690
+ /** The team that the label is associated with. If null, the label is associated with the global workspace.. */
1470
1691
  get team(): LinearFetch<Team> | undefined;
1471
1692
  /** Issues associated with the label. */
1472
1693
  issues(variables?: Omit<L.IssueLabel_IssuesQueryVariables, "id">): LinearFetch<IssueConnection>;
@@ -1601,6 +1822,47 @@ export declare class IssueRelationPayload extends Request {
1601
1822
  /** The issue relation that was created or updated. */
1602
1823
  get issueRelation(): LinearFetch<IssueRelation> | undefined;
1603
1824
  }
1825
+ /**
1826
+ * Tuple for mapping Jira projects to Linear teams.
1827
+ *
1828
+ * @param request - function to call the graphql client
1829
+ * @param data - L.JiraLinearMappingFragment response data
1830
+ */
1831
+ export declare class JiraLinearMapping extends Request {
1832
+ constructor(request: LinearRequest, data: L.JiraLinearMappingFragment);
1833
+ /** The Jira id for this project. */
1834
+ jiraProjectId: string;
1835
+ /** The Linear team id to map to the given project. */
1836
+ linearTeamId: string;
1837
+ }
1838
+ /**
1839
+ * Metadata about a Jira project.
1840
+ *
1841
+ * @param request - function to call the graphql client
1842
+ * @param data - L.JiraProjectDataFragment response data
1843
+ */
1844
+ export declare class JiraProjectData extends Request {
1845
+ constructor(request: LinearRequest, data: L.JiraProjectDataFragment);
1846
+ /** The Jira id for this project. */
1847
+ id: string;
1848
+ /** The Jira key for this project, such as ENG. */
1849
+ key: string;
1850
+ /** The Jira name for this project, such as Engineering. */
1851
+ name: string;
1852
+ }
1853
+ /**
1854
+ * Jira specific settings.
1855
+ *
1856
+ * @param request - function to call the graphql client
1857
+ * @param data - L.JiraSettingsFragment response data
1858
+ */
1859
+ export declare class JiraSettings extends Request {
1860
+ constructor(request: LinearRequest, data: L.JiraSettingsFragment);
1861
+ /** The mapping of Jira project id => Linear team id. */
1862
+ projectMapping?: JiraLinearMapping[];
1863
+ /** The Jira projects for the organization. */
1864
+ projects: JiraProjectData[];
1865
+ }
1604
1866
  /**
1605
1867
  * A milestone that contains projects.
1606
1868
  *
@@ -1869,6 +2131,10 @@ export declare class OauthClient extends Request {
1869
2131
  * entity hasn't been update after creation.
1870
2132
  */
1871
2133
  updatedAt: Date;
2134
+ /** The resource types to request when creating new webhooks. */
2135
+ webhookResourceTypes: string[];
2136
+ /** Webhook URL */
2137
+ webhookUrl?: string;
1872
2138
  /** Archives an OAuth client. */
1873
2139
  archive(): LinearFetch<ArchivePayload>;
1874
2140
  /** Updates an OAuth client. */
@@ -1951,10 +2217,14 @@ export declare class Organization extends Request {
1951
2217
  get subscription(): LinearFetch<Subscription | undefined>;
1952
2218
  /** Integrations associated with the organization. */
1953
2219
  integrations(variables?: L.Organization_IntegrationsQueryVariables): LinearFetch<IntegrationConnection>;
2220
+ /** Labels associated with the organization. */
2221
+ labels(variables?: L.Organization_LabelsQueryVariables): LinearFetch<IssueLabelConnection>;
1954
2222
  /** Milestones associated with the organization. */
1955
2223
  milestones(variables?: L.Organization_MilestonesQueryVariables): LinearFetch<MilestoneConnection>;
1956
2224
  /** Teams associated with the organization. */
1957
2225
  teams(variables?: L.Organization_TeamsQueryVariables): LinearFetch<TeamConnection>;
2226
+ /** Templates associated with the organization. */
2227
+ templates(variables?: L.Organization_TemplatesQueryVariables): LinearFetch<TemplateConnection>;
1958
2228
  /** Users associated with the organization. */
1959
2229
  users(variables?: L.Organization_UsersQueryVariables): LinearFetch<UserConnection>;
1960
2230
  /** Delete's an organization. Administrator privileges required. */
@@ -2089,8 +2359,6 @@ export declare class OrganizationInvite extends Request {
2089
2359
  get inviter(): LinearFetch<User> | undefined;
2090
2360
  /** The organization that the invite is associated with. */
2091
2361
  get organization(): LinearFetch<Organization>;
2092
- /** undefined */
2093
- issues(variables?: Omit<L.OrganizationInvite_IssuesQueryVariables, "id">): LinearFetch<IssueConnection> | undefined;
2094
2362
  /** Deletes an organization invite. */
2095
2363
  delete(): LinearFetch<ArchivePayload>;
2096
2364
  }
@@ -2104,6 +2372,31 @@ export declare class OrganizationInvite extends Request {
2104
2372
  export declare class OrganizationInviteConnection extends Connection<OrganizationInvite> {
2105
2373
  constructor(request: LinearRequest, fetch: (connection?: LinearConnectionVariables) => LinearFetch<LinearConnection<OrganizationInvite> | undefined>, data: L.OrganizationInviteConnectionFragment);
2106
2374
  }
2375
+ /**
2376
+ * OrganizationInviteDetailsPayload model
2377
+ *
2378
+ * @param request - function to call the graphql client
2379
+ * @param data - L.OrganizationInviteDetailsPayloadFragment response data
2380
+ */
2381
+ export declare class OrganizationInviteDetailsPayload extends Request {
2382
+ constructor(request: LinearRequest, data: L.OrganizationInviteDetailsPayloadFragment);
2383
+ /** Whether the invite has already been accepted. */
2384
+ accepted: boolean;
2385
+ /** When the invite was created. */
2386
+ createdAt: Date;
2387
+ /** The email of the invitee */
2388
+ email: string;
2389
+ /** Whether the invite has expired. */
2390
+ expired: boolean;
2391
+ /** The name of the inviter */
2392
+ inviter: string;
2393
+ /** ID of the workspace the invite is for. */
2394
+ organizationId: string;
2395
+ /** URL of the workspace logo the invite is for. */
2396
+ organizationLogoUrl?: string;
2397
+ /** Name of the workspace the invite is for. */
2398
+ organizationName: string;
2399
+ }
2107
2400
  /**
2108
2401
  * OrganizationInvitePayload model
2109
2402
  *
@@ -2111,13 +2404,14 @@ export declare class OrganizationInviteConnection extends Connection<Organizatio
2111
2404
  * @param data - L.OrganizationInvitePayloadFragment response data
2112
2405
  */
2113
2406
  export declare class OrganizationInvitePayload extends Request {
2407
+ private _organizationInvite;
2114
2408
  constructor(request: LinearRequest, data: L.OrganizationInvitePayloadFragment);
2115
2409
  /** The identifier of the last sync operation. */
2116
2410
  lastSyncId: number;
2117
2411
  /** Whether the operation was successful. */
2118
2412
  success: boolean;
2119
2413
  /** The organization invite that was created or updated. */
2120
- organizationInvite: OrganizationInvite;
2414
+ get organizationInvite(): LinearFetch<OrganizationInvite> | undefined;
2121
2415
  }
2122
2416
  /**
2123
2417
  * OrganizationPayload model
@@ -2207,7 +2501,7 @@ export declare class Project extends Request {
2207
2501
  /** The type of the state. */
2208
2502
  state: string;
2209
2503
  /** The estimated completion date of the project. */
2210
- targetDate?: string;
2504
+ targetDate?: L.Scalars["TimelessDate"];
2211
2505
  /**
2212
2506
  * The last time at which the entity was updated. This is the same as the creation time if the
2213
2507
  * entity hasn't been update after creation.
@@ -2221,6 +2515,8 @@ export declare class Project extends Request {
2221
2515
  get lead(): LinearFetch<User> | undefined;
2222
2516
  /** The milestone that this project is associated with. */
2223
2517
  get milestone(): LinearFetch<Milestone> | undefined;
2518
+ /** Documents associated with the project. */
2519
+ documents(variables?: Omit<L.Project_DocumentsQueryVariables, "id">): LinearFetch<DocumentConnection>;
2224
2520
  /** Issues associated with the project. */
2225
2521
  issues(variables?: Omit<L.Project_IssuesQueryVariables, "id">): LinearFetch<IssueConnection>;
2226
2522
  /** Links associated with the project. */
@@ -2277,6 +2573,8 @@ export declare class ProjectLink extends Request {
2277
2573
  get project(): LinearFetch<Project> | undefined;
2278
2574
  /** Deletes a project link. */
2279
2575
  delete(): LinearFetch<ArchivePayload>;
2576
+ /** Updates a project link. */
2577
+ update(input: L.ProjectLinkUpdateInput): LinearFetch<ProjectLinkPayload>;
2280
2578
  }
2281
2579
  /**
2282
2580
  * ProjectLinkConnection model
@@ -2477,6 +2775,8 @@ export declare class SamlConfiguration extends Request {
2477
2775
  constructor(request: LinearRequest, data: L.SamlConfigurationFragment);
2478
2776
  /** List of allowed email domains for SAML authentication. */
2479
2777
  allowedDomains?: string[];
2778
+ /** The issuer's custom entity ID. */
2779
+ issuerEntityId?: string;
2480
2780
  /** Binding method for authentication call. Can be either `post` (default) or `redirect`. */
2481
2781
  ssoBinding?: string;
2482
2782
  /** Sign in endpoint URL for the identity provider. */
@@ -2486,21 +2786,6 @@ export declare class SamlConfiguration extends Request {
2486
2786
  /** X.509 Signing Certificate in string form. */
2487
2787
  ssoSigningCert?: string;
2488
2788
  }
2489
- /**
2490
- * SearchResultPayload model
2491
- *
2492
- * @param request - function to call the graphql client
2493
- * @param data - L.SearchResultPayloadFragment response data
2494
- */
2495
- export declare class SearchResultPayload extends Request {
2496
- constructor(request: LinearRequest, data: L.SearchResultPayloadFragment);
2497
- /** Active issue IDs returned matching the search term. */
2498
- issueIds: string[];
2499
- /** Total number of search results. */
2500
- totalCount: number;
2501
- /** Archived issues matching the search term along with all their dependencies. */
2502
- archivePayload: ArchiveResponse;
2503
- }
2504
2789
  /**
2505
2790
  * Sentry issue data
2506
2791
  *
@@ -2617,12 +2902,6 @@ export declare class Subscription extends Request {
2617
2902
  get creator(): LinearFetch<User> | undefined;
2618
2903
  /** The organization that the subscription is associated with. */
2619
2904
  get organization(): LinearFetch<Organization>;
2620
- /** Archives a subscription. */
2621
- archive(): LinearFetch<ArchivePayload>;
2622
- /** Updates a subscription. */
2623
- update(input: L.SubscriptionUpdateInput): LinearFetch<SubscriptionPayload>;
2624
- /** Upgrades a subscription plan. */
2625
- upgrade(): LinearFetch<SubscriptionPayload>;
2626
2905
  }
2627
2906
  /**
2628
2907
  * SubscriptionPayload model
@@ -2652,6 +2931,17 @@ export declare class SubscriptionSessionPayload extends Request {
2652
2931
  /** The subscription session that was created or updated. */
2653
2932
  session?: string;
2654
2933
  }
2934
+ /**
2935
+ * Contains the requested relations.
2936
+ *
2937
+ * @param request - function to call the graphql client
2938
+ * @param data - L.SyncBatchResponseFragment response data
2939
+ */
2940
+ export declare class SyncBatchResponse extends Request {
2941
+ constructor(request: LinearRequest, data: L.SyncBatchResponseFragment);
2942
+ /** A JSON serialized collection of relations model object. */
2943
+ models: string;
2944
+ }
2655
2945
  /**
2656
2946
  * Contains a delta sync.
2657
2947
  *
@@ -2713,6 +3003,8 @@ export declare class SynchronizedPayload extends Request {
2713
3003
  export declare class Team extends Request {
2714
3004
  private _activeCycle?;
2715
3005
  private _defaultIssueState?;
3006
+ private _defaultTemplateForMembers?;
3007
+ private _defaultTemplateForNonMembers?;
2716
3008
  private _draftWorkflowState?;
2717
3009
  private _markedAsDuplicateWorkflowState?;
2718
3010
  private _mergeWorkflowState?;
@@ -2722,15 +3014,17 @@ export declare class Team extends Request {
2722
3014
  constructor(request: LinearRequest, data: L.TeamFragment);
2723
3015
  /** The time at which the entity was archived. Null if the entity has not been archived. */
2724
3016
  archivedAt?: Date;
2725
- /** Period after which automatically closed and completed issues are automatically archived in months. Null/undefined means disabled. */
2726
- autoArchivePeriod?: number;
3017
+ /** Period after which automatically closed and completed issues are automatically archived in months. */
3018
+ autoArchivePeriod: number;
2727
3019
  /** Period after which issues are automatically closed in months. Null/undefined means disabled. */
2728
3020
  autoClosePeriod?: number;
2729
3021
  /** The canceled workflow state which auto closed issues will be set to. Defaults to the first canceled state. */
2730
3022
  autoCloseStateId?: string;
3023
+ /** The team's color. */
3024
+ color?: string;
2731
3025
  /** The time at which the entity was created. */
2732
3026
  createdAt: Date;
2733
- /** Calender feed (iCal) for cycles. */
3027
+ /** Calendar feed URL (iCal) for cycles. */
2734
3028
  cycleCalenderUrl: string;
2735
3029
  /** The cooldown time after each cycle in weeks. */
2736
3030
  cycleCooldownTime: number;
@@ -2748,14 +3042,16 @@ export declare class Team extends Request {
2748
3042
  cyclesEnabled: boolean;
2749
3043
  /** What to use as an default estimate for unestimated issues. */
2750
3044
  defaultIssueEstimate: number;
2751
- /** The default template to use for new issues created by members of the team. */
3045
+ /** The id of the default template to use for new issues created by members of the team. */
2752
3046
  defaultTemplateForMembersId?: string;
2753
- /** The default template to use for new issues created by non-members of the team. */
3047
+ /** The id of the default template to use for new issues created by non-members of the team. */
2754
3048
  defaultTemplateForNonMembersId?: string;
2755
3049
  /** The team's description. */
2756
3050
  description?: string;
2757
3051
  /** Whether to group recent issue history entries. */
2758
3052
  groupIssueHistory: boolean;
3053
+ /** The icon of the team. */
3054
+ icon?: string;
2759
3055
  /** The unique identifier of the entity. */
2760
3056
  id: string;
2761
3057
  /** Unique hash for the team to be used in invite URLs. */
@@ -2795,6 +3091,10 @@ export declare class Team extends Request {
2795
3091
  get activeCycle(): LinearFetch<Cycle> | undefined;
2796
3092
  /** The default workflow state into which issues are set when they are opened by team members. */
2797
3093
  get defaultIssueState(): LinearFetch<WorkflowState> | undefined;
3094
+ /** The default template to use for new issues created by members of the team. */
3095
+ get defaultTemplateForMembers(): LinearFetch<Template> | undefined;
3096
+ /** The default template to use for new issues created by non-members of the team. */
3097
+ get defaultTemplateForNonMembers(): LinearFetch<Template> | undefined;
2798
3098
  /** The workflow state into which issues are moved when a PR has been opened as draft. */
2799
3099
  get draftWorkflowState(): LinearFetch<WorkflowState> | undefined;
2800
3100
  /** The workflow state into which issues are moved when they are marked as a duplicate of another issue. Defaults to the first canceled state. */
@@ -2917,14 +3217,14 @@ export declare class TeamPayload extends Request {
2917
3217
  get team(): LinearFetch<Team> | undefined;
2918
3218
  }
2919
3219
  /**
2920
- * A template object used for creating new issues faster.
3220
+ * A template object used for creating entities faster.
2921
3221
  *
2922
3222
  * @param request - function to call the graphql client
2923
3223
  * @param data - L.TemplateFragment response data
2924
3224
  */
2925
3225
  export declare class Template extends Request {
2926
3226
  private _creator?;
2927
- private _team;
3227
+ private _team?;
2928
3228
  constructor(request: LinearRequest, data: L.TemplateFragment);
2929
3229
  /** The time at which the entity was archived. Null if the entity has not been archived. */
2930
3230
  archivedAt?: Date;
@@ -2947,7 +3247,9 @@ export declare class Template extends Request {
2947
3247
  updatedAt: Date;
2948
3248
  /** The user who created the template. */
2949
3249
  get creator(): LinearFetch<User> | undefined;
2950
- /** The team that the template is associated with. */
3250
+ /** The organization that the template is associated with. If null, the template is associated with a particular team. */
3251
+ get organization(): LinearFetch<Organization>;
3252
+ /** The team that the template is associated with. If null, the template is global to the workspace. */
2951
3253
  get team(): LinearFetch<Team> | undefined;
2952
3254
  /** Deletes a template. */
2953
3255
  delete(): LinearFetch<ArchivePayload>;
@@ -3050,6 +3352,8 @@ export declare class User extends Request {
3050
3352
  createdAt: Date;
3051
3353
  /** Number of issues created. */
3052
3354
  createdIssueCount: number;
3355
+ /** A short description of the user, either its title or bio. */
3356
+ description?: string;
3053
3357
  /** Reason why is the account disabled. */
3054
3358
  disableReason?: string;
3055
3359
  /** The user's display (nick) name. Unique within each organization. */
@@ -3060,10 +3364,20 @@ export declare class User extends Request {
3060
3364
  id: string;
3061
3365
  /** Unique hash for the user to be used in invite URLs. */
3062
3366
  inviteHash: string;
3367
+ /** Whether the user is the currently authenticated user. */
3368
+ isMe: boolean;
3063
3369
  /** The last time the user was seen online. If null, the user is currently online. */
3064
3370
  lastSeen?: Date;
3065
3371
  /** The user's full name. */
3066
3372
  name: string;
3373
+ /** The emoji to represent the user current status. */
3374
+ statusEmoji?: string;
3375
+ /** The label of the user current status. */
3376
+ statusLabel?: string;
3377
+ /** A date at which the user current status should be cleared. */
3378
+ statusUntilAt?: Date;
3379
+ /** The local timezone of the user. */
3380
+ timezone?: string;
3067
3381
  /**
3068
3382
  * The last time at which the entity was updated. This is the same as the creation time if the
3069
3383
  * entity hasn't been update after creation.
@@ -3071,7 +3385,7 @@ export declare class User extends Request {
3071
3385
  updatedAt: Date;
3072
3386
  /** User's profile URL. */
3073
3387
  url: string;
3074
- /** Organization in which the user belongs to. */
3388
+ /** Organization the user belongs to. */
3075
3389
  get organization(): LinearFetch<Organization>;
3076
3390
  /** Issues assigned to the user. */
3077
3391
  assignedIssues(variables?: Omit<L.User_AssignedIssuesQueryVariables, "id">): LinearFetch<IssueConnection>;
@@ -3136,7 +3450,7 @@ export declare class UserAuthorizedApplication extends Request {
3136
3450
  constructor(request: LinearRequest, data: L.UserAuthorizedApplicationFragment);
3137
3451
  /** OAuth application's client ID. */
3138
3452
  clientId: string;
3139
- /** Whether the application was created by Linear */
3453
+ /** Whether the application was created by Linear. */
3140
3454
  createdByLinear: boolean;
3141
3455
  /** Information about the application. */
3142
3456
  description?: string;
@@ -3150,6 +3464,8 @@ export declare class UserAuthorizedApplication extends Request {
3150
3464
  isAuthorized: boolean;
3151
3465
  /** Application name. */
3152
3466
  name: string;
3467
+ /** Whether or not webhooks are enabled for the application. */
3468
+ webhooksEnabled: boolean;
3153
3469
  }
3154
3470
  /**
3155
3471
  * UserConnection model
@@ -3339,7 +3655,7 @@ export declare class Webhook extends Request {
3339
3655
  */
3340
3656
  updatedAt: Date;
3341
3657
  /** Webhook URL */
3342
- url: string;
3658
+ url?: string;
3343
3659
  /** The user who created the webhook. */
3344
3660
  get creator(): LinearFetch<User> | undefined;
3345
3661
  /** The team that the webhook is associated with. */
@@ -3455,6 +3771,21 @@ export declare class ZendeskSettings extends Request {
3455
3771
  /** The URL of the connected Zendesk organization. */
3456
3772
  url: string;
3457
3773
  }
3774
+ /**
3775
+ * A fetchable AdministrableTeams Query
3776
+ *
3777
+ * @param request - function to call the graphql client
3778
+ */
3779
+ export declare class AdministrableTeamsQuery extends Request {
3780
+ constructor(request: LinearRequest);
3781
+ /**
3782
+ * Call the AdministrableTeams query and return a TeamConnection
3783
+ *
3784
+ * @param variables - variables to pass into the AdministrableTeamsQuery
3785
+ * @returns parsed response from AdministrableTeamsQuery
3786
+ */
3787
+ fetch(variables?: L.AdministrableTeamsQueryVariables): LinearFetch<TeamConnection>;
3788
+ }
3458
3789
  /**
3459
3790
  * A fetchable ApplicationWithAuthorization Query
3460
3791
  *
@@ -3533,6 +3864,35 @@ export declare class AttachmentsForUrlQuery extends Request {
3533
3864
  */
3534
3865
  fetch(url: string, variables?: Omit<L.AttachmentsForUrlQueryVariables, "url">): LinearFetch<AttachmentConnection>;
3535
3866
  }
3867
+ /**
3868
+ * A fetchable AuditEntries Query
3869
+ *
3870
+ * @param request - function to call the graphql client
3871
+ */
3872
+ export declare class AuditEntriesQuery extends Request {
3873
+ constructor(request: LinearRequest);
3874
+ /**
3875
+ * Call the AuditEntries query and return a AuditEntryConnection
3876
+ *
3877
+ * @param variables - variables to pass into the AuditEntriesQuery
3878
+ * @returns parsed response from AuditEntriesQuery
3879
+ */
3880
+ fetch(variables?: L.AuditEntriesQueryVariables): LinearFetch<AuditEntryConnection>;
3881
+ }
3882
+ /**
3883
+ * A fetchable AuditEntryTypes Query
3884
+ *
3885
+ * @param request - function to call the graphql client
3886
+ */
3887
+ export declare class AuditEntryTypesQuery extends Request {
3888
+ constructor(request: LinearRequest);
3889
+ /**
3890
+ * Call the AuditEntryTypes query and return a AuditEntryType list
3891
+ *
3892
+ * @returns parsed response from AuditEntryTypesQuery
3893
+ */
3894
+ fetch(): LinearFetch<AuditEntryType[]>;
3895
+ }
3536
3896
  /**
3537
3897
  * A fetchable AuthorizedApplications Query
3538
3898
  *
@@ -3682,6 +4042,36 @@ export declare class CyclesQuery extends Request {
3682
4042
  */
3683
4043
  fetch(variables?: L.CyclesQueryVariables): LinearFetch<CycleConnection>;
3684
4044
  }
4045
+ /**
4046
+ * A fetchable Document Query
4047
+ *
4048
+ * @param request - function to call the graphql client
4049
+ */
4050
+ export declare class DocumentQuery extends Request {
4051
+ constructor(request: LinearRequest);
4052
+ /**
4053
+ * Call the Document query and return a Document
4054
+ *
4055
+ * @param id - required id to pass to document
4056
+ * @returns parsed response from DocumentQuery
4057
+ */
4058
+ fetch(id: string): LinearFetch<Document>;
4059
+ }
4060
+ /**
4061
+ * A fetchable Documents Query
4062
+ *
4063
+ * @param request - function to call the graphql client
4064
+ */
4065
+ export declare class DocumentsQuery extends Request {
4066
+ constructor(request: LinearRequest);
4067
+ /**
4068
+ * Call the Documents query and return a DocumentConnection
4069
+ *
4070
+ * @param variables - variables to pass into the DocumentsQuery
4071
+ * @returns parsed response from DocumentsQuery
4072
+ */
4073
+ fetch(variables?: L.DocumentsQueryVariables): LinearFetch<DocumentConnection>;
4074
+ }
3685
4075
  /**
3686
4076
  * A fetchable Emoji Query
3687
4077
  *
@@ -3788,22 +4178,6 @@ export declare class IntegrationsQuery extends Request {
3788
4178
  */
3789
4179
  fetch(variables?: L.IntegrationsQueryVariables): LinearFetch<IntegrationConnection>;
3790
4180
  }
3791
- /**
3792
- * A fetchable InviteInfo Query
3793
- *
3794
- * @param request - function to call the graphql client
3795
- */
3796
- export declare class InviteInfoQuery extends Request {
3797
- constructor(request: LinearRequest);
3798
- /**
3799
- * Call the InviteInfo query and return a InvitePagePayload
3800
- *
3801
- * @param userHash - required userHash to pass to inviteInfo
3802
- * @param variables - variables without 'userHash' to pass into the InviteInfoQuery
3803
- * @returns parsed response from InviteInfoQuery
3804
- */
3805
- fetch(userHash: string, variables?: Omit<L.InviteInfoQueryVariables, "userHash">): LinearFetch<InvitePagePayload>;
3806
- }
3807
4181
  /**
3808
4182
  * A fetchable Issue Query
3809
4183
  *
@@ -4066,12 +4440,27 @@ export declare class OrganizationExistsQuery extends Request {
4066
4440
  export declare class OrganizationInviteQuery extends Request {
4067
4441
  constructor(request: LinearRequest);
4068
4442
  /**
4069
- * Call the OrganizationInvite query and return a IssueLabel
4443
+ * Call the OrganizationInvite query and return a OrganizationInvite
4070
4444
  *
4071
4445
  * @param id - required id to pass to organizationInvite
4072
4446
  * @returns parsed response from OrganizationInviteQuery
4073
4447
  */
4074
- fetch(id: string): LinearFetch<IssueLabel>;
4448
+ fetch(id: string): LinearFetch<OrganizationInvite>;
4449
+ }
4450
+ /**
4451
+ * A fetchable OrganizationInviteDetails Query
4452
+ *
4453
+ * @param request - function to call the graphql client
4454
+ */
4455
+ export declare class OrganizationInviteDetailsQuery extends Request {
4456
+ constructor(request: LinearRequest);
4457
+ /**
4458
+ * Call the OrganizationInviteDetails query and return a OrganizationInviteDetailsPayload
4459
+ *
4460
+ * @param id - required id to pass to organizationInviteDetails
4461
+ * @returns parsed response from OrganizationInviteDetailsQuery
4462
+ */
4463
+ fetch(id: string): LinearFetch<OrganizationInviteDetailsPayload>;
4075
4464
  }
4076
4465
  /**
4077
4466
  * A fetchable OrganizationInvites Query
@@ -4482,13 +4871,13 @@ export declare class AttachmentDeleteMutation extends Request {
4482
4871
  export declare class AttachmentLinkFrontMutation extends Request {
4483
4872
  constructor(request: LinearRequest);
4484
4873
  /**
4485
- * Call the AttachmentLinkFront mutation and return a AttachmentPayload
4874
+ * Call the AttachmentLinkFront mutation and return a FrontAttachmentPayload
4486
4875
  *
4487
4876
  * @param conversationId - required conversationId to pass to attachmentLinkFront
4488
4877
  * @param issueId - required issueId to pass to attachmentLinkFront
4489
4878
  * @returns parsed response from AttachmentLinkFrontMutation
4490
4879
  */
4491
- fetch(conversationId: string, issueId: string): LinearFetch<AttachmentPayload>;
4880
+ fetch(conversationId: string, issueId: string): LinearFetch<FrontAttachmentPayload>;
4492
4881
  }
4493
4882
  /**
4494
4883
  * A fetchable AttachmentLinkIntercom Mutation
@@ -4506,6 +4895,22 @@ export declare class AttachmentLinkIntercomMutation extends Request {
4506
4895
  */
4507
4896
  fetch(conversationId: string, issueId: string): LinearFetch<AttachmentPayload>;
4508
4897
  }
4898
+ /**
4899
+ * A fetchable AttachmentLinkJiraIssue Mutation
4900
+ *
4901
+ * @param request - function to call the graphql client
4902
+ */
4903
+ export declare class AttachmentLinkJiraIssueMutation extends Request {
4904
+ constructor(request: LinearRequest);
4905
+ /**
4906
+ * Call the AttachmentLinkJiraIssue mutation and return a AttachmentPayload
4907
+ *
4908
+ * @param issueId - required issueId to pass to attachmentLinkJiraIssue
4909
+ * @param jiraIssueId - required jiraIssueId to pass to attachmentLinkJiraIssue
4910
+ * @returns parsed response from AttachmentLinkJiraIssueMutation
4911
+ */
4912
+ fetch(issueId: string, jiraIssueId: string): LinearFetch<AttachmentPayload>;
4913
+ }
4509
4914
  /**
4510
4915
  * A fetchable AttachmentLinkUrl Mutation
4511
4916
  *
@@ -4770,46 +5175,79 @@ export declare class CycleUpdateMutation extends Request {
4770
5175
  fetch(id: string, input: L.CycleUpdateInput): LinearFetch<CyclePayload>;
4771
5176
  }
4772
5177
  /**
4773
- * A fetchable DebugCreateSamlOrg Mutation
5178
+ * A fetchable DebugFailWithInternalError Mutation
4774
5179
  *
4775
5180
  * @param request - function to call the graphql client
4776
5181
  */
4777
- export declare class DebugCreateSamlOrgMutation extends Request {
5182
+ export declare class DebugFailWithInternalErrorMutation extends Request {
4778
5183
  constructor(request: LinearRequest);
4779
5184
  /**
4780
- * Call the DebugCreateSamlOrg mutation and return a DebugPayload
5185
+ * Call the DebugFailWithInternalError mutation and return a DebugPayload
4781
5186
  *
4782
- * @returns parsed response from DebugCreateSamlOrgMutation
5187
+ * @returns parsed response from DebugFailWithInternalErrorMutation
4783
5188
  */
4784
5189
  fetch(): LinearFetch<DebugPayload>;
4785
5190
  }
4786
5191
  /**
4787
- * A fetchable DebugFailWithInternalError Mutation
5192
+ * A fetchable DocumentCreate Mutation
4788
5193
  *
4789
5194
  * @param request - function to call the graphql client
4790
5195
  */
4791
- export declare class DebugFailWithInternalErrorMutation extends Request {
5196
+ export declare class DocumentCreateMutation extends Request {
4792
5197
  constructor(request: LinearRequest);
4793
5198
  /**
4794
- * Call the DebugFailWithInternalError mutation and return a DebugPayload
5199
+ * Call the DocumentCreate mutation and return a DocumentPayload
4795
5200
  *
4796
- * @returns parsed response from DebugFailWithInternalErrorMutation
5201
+ * @param input - required input to pass to documentCreate
5202
+ * @returns parsed response from DocumentCreateMutation
4797
5203
  */
4798
- fetch(): LinearFetch<DebugPayload>;
5204
+ fetch(input: L.DocumentCreateInput): LinearFetch<DocumentPayload>;
4799
5205
  }
4800
5206
  /**
4801
- * A fetchable DebugFailWithWarning Mutation
5207
+ * A fetchable DocumentDelete Mutation
4802
5208
  *
4803
5209
  * @param request - function to call the graphql client
4804
5210
  */
4805
- export declare class DebugFailWithWarningMutation extends Request {
5211
+ export declare class DocumentDeleteMutation extends Request {
4806
5212
  constructor(request: LinearRequest);
4807
5213
  /**
4808
- * Call the DebugFailWithWarning mutation and return a DebugPayload
5214
+ * Call the DocumentDelete mutation and return a ArchivePayload
4809
5215
  *
4810
- * @returns parsed response from DebugFailWithWarningMutation
5216
+ * @param id - required id to pass to documentDelete
5217
+ * @returns parsed response from DocumentDeleteMutation
4811
5218
  */
4812
- fetch(): LinearFetch<DebugPayload>;
5219
+ fetch(id: string): LinearFetch<ArchivePayload>;
5220
+ }
5221
+ /**
5222
+ * A fetchable DocumentUpdate Mutation
5223
+ *
5224
+ * @param request - function to call the graphql client
5225
+ */
5226
+ export declare class DocumentUpdateMutation extends Request {
5227
+ constructor(request: LinearRequest);
5228
+ /**
5229
+ * Call the DocumentUpdate mutation and return a DocumentPayload
5230
+ *
5231
+ * @param id - required id to pass to documentUpdate
5232
+ * @param input - required input to pass to documentUpdate
5233
+ * @returns parsed response from DocumentUpdateMutation
5234
+ */
5235
+ fetch(id: string, input: L.DocumentUpdateInput): LinearFetch<DocumentPayload>;
5236
+ }
5237
+ /**
5238
+ * A fetchable EmailSubscribe Mutation
5239
+ *
5240
+ * @param request - function to call the graphql client
5241
+ */
5242
+ export declare class EmailSubscribeMutation extends Request {
5243
+ constructor(request: LinearRequest);
5244
+ /**
5245
+ * Call the EmailSubscribe mutation and return a EmailSubscribePayload
5246
+ *
5247
+ * @param input - required input to pass to emailSubscribe
5248
+ * @returns parsed response from EmailSubscribeMutation
5249
+ */
5250
+ fetch(input: L.EmailSubscribeInput): LinearFetch<EmailSubscribePayload>;
4813
5251
  }
4814
5252
  /**
4815
5253
  * A fetchable EmailTokenUserAccountAuth Mutation
@@ -5057,6 +5495,20 @@ export declare class IntegrationFrontMutation extends Request {
5057
5495
  */
5058
5496
  fetch(code: string, redirectUri: string): LinearFetch<IntegrationPayload>;
5059
5497
  }
5498
+ /**
5499
+ * A fetchable IntegrationGithubCommitCreate Mutation
5500
+ *
5501
+ * @param request - function to call the graphql client
5502
+ */
5503
+ export declare class IntegrationGithubCommitCreateMutation extends Request {
5504
+ constructor(request: LinearRequest);
5505
+ /**
5506
+ * Call the IntegrationGithubCommitCreate mutation and return a GitHubCommitIntegrationPayload
5507
+ *
5508
+ * @returns parsed response from IntegrationGithubCommitCreateMutation
5509
+ */
5510
+ fetch(): LinearFetch<GitHubCommitIntegrationPayload>;
5511
+ }
5060
5512
  /**
5061
5513
  * A fetchable IntegrationGithubConnect Mutation
5062
5514
  *
@@ -5194,6 +5646,22 @@ export declare class IntegrationSentryConnectMutation extends Request {
5194
5646
  */
5195
5647
  fetch(code: string, installationId: string, organizationSlug: string): LinearFetch<IntegrationPayload>;
5196
5648
  }
5649
+ /**
5650
+ * A fetchable IntegrationSettingsUpdate Mutation
5651
+ *
5652
+ * @param request - function to call the graphql client
5653
+ */
5654
+ export declare class IntegrationSettingsUpdateMutation extends Request {
5655
+ constructor(request: LinearRequest);
5656
+ /**
5657
+ * Call the IntegrationSettingsUpdate mutation and return a IntegrationPayload
5658
+ *
5659
+ * @param id - required id to pass to integrationSettingsUpdate
5660
+ * @param input - required input to pass to integrationSettingsUpdate
5661
+ * @returns parsed response from IntegrationSettingsUpdateMutation
5662
+ */
5663
+ fetch(id: string, input: L.IntegrationSettingsInput): LinearFetch<IntegrationPayload>;
5664
+ }
5197
5665
  /**
5198
5666
  * A fetchable IntegrationSlack Mutation
5199
5667
  *
@@ -5312,6 +5780,22 @@ export declare class IssueArchiveMutation extends Request {
5312
5780
  */
5313
5781
  fetch(id: string, variables?: Omit<L.IssueArchiveMutationVariables, "id">): LinearFetch<ArchivePayload>;
5314
5782
  }
5783
+ /**
5784
+ * A fetchable IssueBatchUpdate Mutation
5785
+ *
5786
+ * @param request - function to call the graphql client
5787
+ */
5788
+ export declare class IssueBatchUpdateMutation extends Request {
5789
+ constructor(request: LinearRequest);
5790
+ /**
5791
+ * Call the IssueBatchUpdate mutation and return a IssueBatchPayload
5792
+ *
5793
+ * @param ids - required ids to pass to issueBatchUpdate
5794
+ * @param input - required input to pass to issueBatchUpdate
5795
+ * @returns parsed response from IssueBatchUpdateMutation
5796
+ */
5797
+ fetch(ids: L.Scalars["UUID"][], input: L.IssueUpdateInput): LinearFetch<IssueBatchPayload>;
5798
+ }
5315
5799
  /**
5316
5800
  * A fetchable IssueCreate Mutation
5317
5801
  *
@@ -5448,6 +5932,22 @@ export declare class IssueImportProcessMutation extends Request {
5448
5932
  */
5449
5933
  fetch(issueImportId: string, mapping: Record<string, unknown>): LinearFetch<IssueImportPayload>;
5450
5934
  }
5935
+ /**
5936
+ * A fetchable IssueImportUpdate Mutation
5937
+ *
5938
+ * @param request - function to call the graphql client
5939
+ */
5940
+ export declare class IssueImportUpdateMutation extends Request {
5941
+ constructor(request: LinearRequest);
5942
+ /**
5943
+ * Call the IssueImportUpdate mutation and return a IssueImportPayload
5944
+ *
5945
+ * @param id - required id to pass to issueImportUpdate
5946
+ * @param input - required input to pass to issueImportUpdate
5947
+ * @returns parsed response from IssueImportUpdateMutation
5948
+ */
5949
+ fetch(id: string, input: L.IssueImportUpdateInput): LinearFetch<IssueImportPayload>;
5950
+ }
5451
5951
  /**
5452
5952
  * A fetchable IssueLabelArchive Mutation
5453
5953
  *
@@ -5474,9 +5974,10 @@ export declare class IssueLabelCreateMutation extends Request {
5474
5974
  * Call the IssueLabelCreate mutation and return a IssueLabelPayload
5475
5975
  *
5476
5976
  * @param input - required input to pass to issueLabelCreate
5977
+ * @param variables - variables without 'input' to pass into the IssueLabelCreateMutation
5477
5978
  * @returns parsed response from IssueLabelCreateMutation
5478
5979
  */
5479
- fetch(input: L.IssueLabelCreateInput): LinearFetch<IssueLabelPayload>;
5980
+ fetch(input: L.IssueLabelCreateInput, variables?: Omit<L.IssueLabelCreateMutationVariables, "input">): LinearFetch<IssueLabelPayload>;
5480
5981
  }
5481
5982
  /**
5482
5983
  * A fetchable IssueLabelUpdate Mutation
@@ -5571,6 +6072,21 @@ export declare class IssueUpdateMutation extends Request {
5571
6072
  */
5572
6073
  fetch(id: string, input: L.IssueUpdateInput): LinearFetch<IssuePayload>;
5573
6074
  }
6075
+ /**
6076
+ * A fetchable JiraIntegrationConnect Mutation
6077
+ *
6078
+ * @param request - function to call the graphql client
6079
+ */
6080
+ export declare class JiraIntegrationConnectMutation extends Request {
6081
+ constructor(request: LinearRequest);
6082
+ /**
6083
+ * Call the JiraIntegrationConnect mutation and return a IntegrationPayload
6084
+ *
6085
+ * @param input - required input to pass to jiraIntegrationConnect
6086
+ * @returns parsed response from JiraIntegrationConnectMutation
6087
+ */
6088
+ fetch(input: L.JiraConfigurationInput): LinearFetch<IntegrationPayload>;
6089
+ }
5574
6090
  /**
5575
6091
  * A fetchable JoinOrganizationFromOnboarding Mutation
5576
6092
  *
@@ -6009,6 +6525,22 @@ export declare class ProjectLinkDeleteMutation extends Request {
6009
6525
  */
6010
6526
  fetch(id: string): LinearFetch<ArchivePayload>;
6011
6527
  }
6528
+ /**
6529
+ * A fetchable ProjectLinkUpdate Mutation
6530
+ *
6531
+ * @param request - function to call the graphql client
6532
+ */
6533
+ export declare class ProjectLinkUpdateMutation extends Request {
6534
+ constructor(request: LinearRequest);
6535
+ /**
6536
+ * Call the ProjectLinkUpdate mutation and return a ProjectLinkPayload
6537
+ *
6538
+ * @param id - required id to pass to projectLinkUpdate
6539
+ * @param input - required input to pass to projectLinkUpdate
6540
+ * @returns parsed response from ProjectLinkUpdateMutation
6541
+ */
6542
+ fetch(id: string, input: L.ProjectLinkUpdateInput): LinearFetch<ProjectLinkPayload>;
6543
+ }
6012
6544
  /**
6013
6545
  * A fetchable ProjectUnarchive Mutation
6014
6546
  *
@@ -6116,17 +6648,17 @@ export declare class RefreshGoogleSheetsDataMutation extends Request {
6116
6648
  fetch(id: string): LinearFetch<IntegrationPayload>;
6117
6649
  }
6118
6650
  /**
6119
- * A fetchable ResentOrganizationInvite Mutation
6651
+ * A fetchable ResendOrganizationInvite Mutation
6120
6652
  *
6121
6653
  * @param request - function to call the graphql client
6122
6654
  */
6123
- export declare class ResentOrganizationInviteMutation extends Request {
6655
+ export declare class ResendOrganizationInviteMutation extends Request {
6124
6656
  constructor(request: LinearRequest);
6125
6657
  /**
6126
- * Call the ResentOrganizationInvite mutation and return a ArchivePayload
6658
+ * Call the ResendOrganizationInvite mutation and return a ArchivePayload
6127
6659
  *
6128
- * @param id - required id to pass to resentOrganizationInvite
6129
- * @returns parsed response from ResentOrganizationInviteMutation
6660
+ * @param id - required id to pass to resendOrganizationInvite
6661
+ * @returns parsed response from ResendOrganizationInviteMutation
6130
6662
  */
6131
6663
  fetch(id: string): LinearFetch<ArchivePayload>;
6132
6664
  }
@@ -6145,82 +6677,6 @@ export declare class SamlTokenUserAccountAuthMutation extends Request {
6145
6677
  */
6146
6678
  fetch(input: L.TokenUserAccountAuthInput): LinearFetch<AuthResolverResponse>;
6147
6679
  }
6148
- /**
6149
- * A fetchable SubscriptionArchive Mutation
6150
- *
6151
- * @param request - function to call the graphql client
6152
- */
6153
- export declare class SubscriptionArchiveMutation extends Request {
6154
- constructor(request: LinearRequest);
6155
- /**
6156
- * Call the SubscriptionArchive mutation and return a ArchivePayload
6157
- *
6158
- * @param id - required id to pass to subscriptionArchive
6159
- * @returns parsed response from SubscriptionArchiveMutation
6160
- */
6161
- fetch(id: string): LinearFetch<ArchivePayload>;
6162
- }
6163
- /**
6164
- * A fetchable SubscriptionSessionCreate Mutation
6165
- *
6166
- * @param request - function to call the graphql client
6167
- */
6168
- export declare class SubscriptionSessionCreateMutation extends Request {
6169
- constructor(request: LinearRequest);
6170
- /**
6171
- * Call the SubscriptionSessionCreate mutation and return a SubscriptionSessionPayload
6172
- *
6173
- * @param plan - required plan to pass to subscriptionSessionCreate
6174
- * @returns parsed response from SubscriptionSessionCreateMutation
6175
- */
6176
- fetch(plan: string): LinearFetch<SubscriptionSessionPayload>;
6177
- }
6178
- /**
6179
- * A fetchable SubscriptionUpdate Mutation
6180
- *
6181
- * @param request - function to call the graphql client
6182
- */
6183
- export declare class SubscriptionUpdateMutation extends Request {
6184
- constructor(request: LinearRequest);
6185
- /**
6186
- * Call the SubscriptionUpdate mutation and return a SubscriptionPayload
6187
- *
6188
- * @param id - required id to pass to subscriptionUpdate
6189
- * @param input - required input to pass to subscriptionUpdate
6190
- * @returns parsed response from SubscriptionUpdateMutation
6191
- */
6192
- fetch(id: string, input: L.SubscriptionUpdateInput): LinearFetch<SubscriptionPayload>;
6193
- }
6194
- /**
6195
- * A fetchable SubscriptionUpdateSessionCreate Mutation
6196
- *
6197
- * @param request - function to call the graphql client
6198
- */
6199
- export declare class SubscriptionUpdateSessionCreateMutation extends Request {
6200
- constructor(request: LinearRequest);
6201
- /**
6202
- * Call the SubscriptionUpdateSessionCreate mutation and return a SubscriptionSessionPayload
6203
- *
6204
- * @returns parsed response from SubscriptionUpdateSessionCreateMutation
6205
- */
6206
- fetch(): LinearFetch<SubscriptionSessionPayload>;
6207
- }
6208
- /**
6209
- * A fetchable SubscriptionUpgrade Mutation
6210
- *
6211
- * @param request - function to call the graphql client
6212
- */
6213
- export declare class SubscriptionUpgradeMutation extends Request {
6214
- constructor(request: LinearRequest);
6215
- /**
6216
- * Call the SubscriptionUpgrade mutation and return a SubscriptionPayload
6217
- *
6218
- * @param id - required id to pass to subscriptionUpgrade
6219
- * @param type - required type to pass to subscriptionUpgrade
6220
- * @returns parsed response from SubscriptionUpgradeMutation
6221
- */
6222
- fetch(id: string, type: string): LinearFetch<SubscriptionPayload>;
6223
- }
6224
6680
  /**
6225
6681
  * A fetchable TeamCreate Mutation
6226
6682
  *
@@ -6888,6 +7344,25 @@ export declare class Cycle_UncompletedIssuesUponCloseQuery extends Request {
6888
7344
  */
6889
7345
  fetch(variables?: Omit<L.Cycle_UncompletedIssuesUponCloseQueryVariables, "id">): LinearFetch<IssueConnection>;
6890
7346
  }
7347
+ /**
7348
+ * A fetchable Favorite_Children Query
7349
+ *
7350
+ * @param request - function to call the graphql client
7351
+ * @param id - required id to pass to favorite
7352
+ * @param variables - variables without 'id' to pass into the Favorite_ChildrenQuery
7353
+ */
7354
+ export declare class Favorite_ChildrenQuery extends Request {
7355
+ private _id;
7356
+ private _variables?;
7357
+ constructor(request: LinearRequest, id: string, variables?: Omit<L.Favorite_ChildrenQueryVariables, "id">);
7358
+ /**
7359
+ * Call the Favorite_Children query and return a FavoriteConnection
7360
+ *
7361
+ * @param variables - variables without 'id' to pass into the Favorite_ChildrenQuery
7362
+ * @returns parsed response from Favorite_ChildrenQuery
7363
+ */
7364
+ fetch(variables?: Omit<L.Favorite_ChildrenQueryVariables, "id">): LinearFetch<FavoriteConnection>;
7365
+ }
6891
7366
  /**
6892
7367
  * A fetchable FigmaEmbedInfo_FigmaEmbed Query
6893
7368
  *
@@ -6907,25 +7382,6 @@ export declare class FigmaEmbedInfo_FigmaEmbedQuery extends Request {
6907
7382
  */
6908
7383
  fetch(variables?: Omit<L.FigmaEmbedInfo_FigmaEmbedQueryVariables, "fileId">): LinearFetch<FigmaEmbed | undefined>;
6909
7384
  }
6910
- /**
6911
- * A fetchable InviteInfo_InviteData Query
6912
- *
6913
- * @param request - function to call the graphql client
6914
- * @param userHash - required userHash to pass to inviteInfo
6915
- * @param variables - variables without 'userHash' to pass into the InviteInfo_InviteDataQuery
6916
- */
6917
- export declare class InviteInfo_InviteDataQuery extends Request {
6918
- private _userHash;
6919
- private _variables?;
6920
- constructor(request: LinearRequest, userHash: string, variables?: Omit<L.InviteInfo_InviteDataQueryVariables, "userHash">);
6921
- /**
6922
- * Call the InviteInfo_InviteData query and return a InviteData
6923
- *
6924
- * @param variables - variables without 'userHash' to pass into the InviteInfo_InviteDataQuery
6925
- * @returns parsed response from InviteInfo_InviteDataQuery
6926
- */
6927
- fetch(variables?: Omit<L.InviteInfo_InviteDataQueryVariables, "userHash">): LinearFetch<InviteData | undefined>;
6928
- }
6929
7385
  /**
6930
7386
  * A fetchable Issue_Attachments Query
6931
7387
  *
@@ -7133,6 +7589,23 @@ export declare class Organization_IntegrationsQuery extends Request {
7133
7589
  */
7134
7590
  fetch(variables?: L.Organization_IntegrationsQueryVariables): LinearFetch<IntegrationConnection>;
7135
7591
  }
7592
+ /**
7593
+ * A fetchable Organization_Labels Query
7594
+ *
7595
+ * @param request - function to call the graphql client
7596
+ * @param variables - variables to pass into the Organization_LabelsQuery
7597
+ */
7598
+ export declare class Organization_LabelsQuery extends Request {
7599
+ private _variables?;
7600
+ constructor(request: LinearRequest, variables?: L.Organization_LabelsQueryVariables);
7601
+ /**
7602
+ * Call the Organization_Labels query and return a IssueLabelConnection
7603
+ *
7604
+ * @param variables - variables to pass into the Organization_LabelsQuery
7605
+ * @returns parsed response from Organization_LabelsQuery
7606
+ */
7607
+ fetch(variables?: L.Organization_LabelsQueryVariables): LinearFetch<IssueLabelConnection>;
7608
+ }
7136
7609
  /**
7137
7610
  * A fetchable Organization_Milestones Query
7138
7611
  *
@@ -7167,6 +7640,23 @@ export declare class Organization_TeamsQuery extends Request {
7167
7640
  */
7168
7641
  fetch(variables?: L.Organization_TeamsQueryVariables): LinearFetch<TeamConnection>;
7169
7642
  }
7643
+ /**
7644
+ * A fetchable Organization_Templates Query
7645
+ *
7646
+ * @param request - function to call the graphql client
7647
+ * @param variables - variables to pass into the Organization_TemplatesQuery
7648
+ */
7649
+ export declare class Organization_TemplatesQuery extends Request {
7650
+ private _variables?;
7651
+ constructor(request: LinearRequest, variables?: L.Organization_TemplatesQueryVariables);
7652
+ /**
7653
+ * Call the Organization_Templates query and return a TemplateConnection
7654
+ *
7655
+ * @param variables - variables to pass into the Organization_TemplatesQuery
7656
+ * @returns parsed response from Organization_TemplatesQuery
7657
+ */
7658
+ fetch(variables?: L.Organization_TemplatesQueryVariables): LinearFetch<TemplateConnection>;
7659
+ }
7170
7660
  /**
7171
7661
  * A fetchable Organization_Users Query
7172
7662
  *
@@ -7185,23 +7675,23 @@ export declare class Organization_UsersQuery extends Request {
7185
7675
  fetch(variables?: L.Organization_UsersQueryVariables): LinearFetch<UserConnection>;
7186
7676
  }
7187
7677
  /**
7188
- * A fetchable OrganizationInvite_Issues Query
7678
+ * A fetchable Project_Documents Query
7189
7679
  *
7190
7680
  * @param request - function to call the graphql client
7191
- * @param id - required id to pass to organizationInvite
7192
- * @param variables - variables without 'id' to pass into the OrganizationInvite_IssuesQuery
7681
+ * @param id - required id to pass to project
7682
+ * @param variables - variables without 'id' to pass into the Project_DocumentsQuery
7193
7683
  */
7194
- export declare class OrganizationInvite_IssuesQuery extends Request {
7684
+ export declare class Project_DocumentsQuery extends Request {
7195
7685
  private _id;
7196
7686
  private _variables?;
7197
- constructor(request: LinearRequest, id: string, variables?: Omit<L.OrganizationInvite_IssuesQueryVariables, "id">);
7687
+ constructor(request: LinearRequest, id: string, variables?: Omit<L.Project_DocumentsQueryVariables, "id">);
7198
7688
  /**
7199
- * Call the OrganizationInvite_Issues query and return a IssueConnection
7689
+ * Call the Project_Documents query and return a DocumentConnection
7200
7690
  *
7201
- * @param variables - variables without 'id' to pass into the OrganizationInvite_IssuesQuery
7202
- * @returns parsed response from OrganizationInvite_IssuesQuery
7691
+ * @param variables - variables without 'id' to pass into the Project_DocumentsQuery
7692
+ * @returns parsed response from Project_DocumentsQuery
7203
7693
  */
7204
- fetch(variables?: Omit<L.OrganizationInvite_IssuesQueryVariables, "id">): LinearFetch<IssueConnection>;
7694
+ fetch(variables?: Omit<L.Project_DocumentsQueryVariables, "id">): LinearFetch<DocumentConnection>;
7205
7695
  }
7206
7696
  /**
7207
7697
  * A fetchable Project_Issues Query
@@ -7620,6 +8110,13 @@ export declare class WorkflowState_IssuesQuery extends Request {
7620
8110
  */
7621
8111
  export declare class LinearSdk extends Request {
7622
8112
  constructor(request: LinearRequest);
8113
+ /**
8114
+ * All teams you the user can administrate. Administrable teams are teams whose settings the user can change, but to whose issues the user doesn't necessarily have access to.
8115
+ *
8116
+ * @param variables - variables to pass into the AdministrableTeamsQuery
8117
+ * @returns TeamConnection
8118
+ */
8119
+ administrableTeams(variables?: L.AdministrableTeamsQueryVariables): LinearFetch<TeamConnection>;
7623
8120
  /**
7624
8121
  * Get information for an application and whether a user has approved it for the given scopes.
7625
8122
  *
@@ -7661,6 +8158,19 @@ export declare class LinearSdk extends Request {
7661
8158
  * @returns AttachmentConnection
7662
8159
  */
7663
8160
  attachmentsForURL(url: string, variables?: Omit<L.AttachmentsForUrlQueryVariables, "url">): LinearFetch<AttachmentConnection>;
8161
+ /**
8162
+ * All audit log entries.
8163
+ *
8164
+ * @param variables - variables to pass into the AuditEntriesQuery
8165
+ * @returns AuditEntryConnection
8166
+ */
8167
+ auditEntries(variables?: L.AuditEntriesQueryVariables): LinearFetch<AuditEntryConnection>;
8168
+ /**
8169
+ * List of audit entry types.
8170
+ *
8171
+ * @returns AuditEntryType[]
8172
+ */
8173
+ get auditEntryTypes(): LinearFetch<AuditEntryType[]>;
7664
8174
  /**
7665
8175
  * Get all authorized applications for a user
7666
8176
  *
@@ -7730,6 +8240,20 @@ export declare class LinearSdk extends Request {
7730
8240
  * @returns CycleConnection
7731
8241
  */
7732
8242
  cycles(variables?: L.CyclesQueryVariables): LinearFetch<CycleConnection>;
8243
+ /**
8244
+ * One specific document.
8245
+ *
8246
+ * @param id - required id to pass to document
8247
+ * @returns Document
8248
+ */
8249
+ document(id: string): LinearFetch<Document>;
8250
+ /**
8251
+ * All documents for the project.
8252
+ *
8253
+ * @param variables - variables to pass into the DocumentsQuery
8254
+ * @returns DocumentConnection
8255
+ */
8256
+ documents(variables?: L.DocumentsQueryVariables): LinearFetch<DocumentConnection>;
7733
8257
  /**
7734
8258
  * A specific emoji.
7735
8259
  *
@@ -7780,14 +8304,6 @@ export declare class LinearSdk extends Request {
7780
8304
  * @returns IntegrationConnection
7781
8305
  */
7782
8306
  integrations(variables?: L.IntegrationsQueryVariables): LinearFetch<IntegrationConnection>;
7783
- /**
7784
- * Retrieves information for the public invite page.
7785
- *
7786
- * @param userHash - required userHash to pass to inviteInfo
7787
- * @param variables - variables without 'userHash' to pass into the InviteInfoQuery
7788
- * @returns InvitePagePayload
7789
- */
7790
- inviteInfo(userHash: string, variables?: Omit<L.InviteInfoQueryVariables, "userHash">): LinearFetch<InvitePagePayload>;
7791
8307
  /**
7792
8308
  * One specific issue.
7793
8309
  *
@@ -7910,9 +8426,16 @@ export declare class LinearSdk extends Request {
7910
8426
  * One specific organization invite.
7911
8427
  *
7912
8428
  * @param id - required id to pass to organizationInvite
7913
- * @returns IssueLabel
8429
+ * @returns OrganizationInvite
8430
+ */
8431
+ organizationInvite(id: string): LinearFetch<OrganizationInvite>;
8432
+ /**
8433
+ * One specific organization invite.
8434
+ *
8435
+ * @param id - required id to pass to organizationInviteDetails
8436
+ * @returns OrganizationInviteDetailsPayload
7914
8437
  */
7915
- organizationInvite(id: string): LinearFetch<IssueLabel>;
8438
+ organizationInviteDetails(id: string): LinearFetch<OrganizationInviteDetailsPayload>;
7916
8439
  /**
7917
8440
  * All invites for the organization.
7918
8441
  *
@@ -8004,7 +8527,7 @@ export declare class LinearSdk extends Request {
8004
8527
  */
8005
8528
  teamMemberships(variables?: L.TeamMembershipsQueryVariables): LinearFetch<TeamMembershipConnection>;
8006
8529
  /**
8007
- * All teams.
8530
+ * All teams whose issues can be accessed by the user. This might be different from `administrableTeams`, which also includes teams whose settings can be changed by the user.
8008
8531
  *
8009
8532
  * @param variables - variables to pass into the TeamsQuery
8010
8533
  * @returns TeamConnection
@@ -8103,9 +8626,9 @@ export declare class LinearSdk extends Request {
8103
8626
  *
8104
8627
  * @param conversationId - required conversationId to pass to attachmentLinkFront
8105
8628
  * @param issueId - required issueId to pass to attachmentLinkFront
8106
- * @returns AttachmentPayload
8629
+ * @returns FrontAttachmentPayload
8107
8630
  */
8108
- attachmentLinkFront(conversationId: string, issueId: string): LinearFetch<AttachmentPayload>;
8631
+ attachmentLinkFront(conversationId: string, issueId: string): LinearFetch<FrontAttachmentPayload>;
8109
8632
  /**
8110
8633
  * Link an existing Intercom conversation to an issue.
8111
8634
  *
@@ -8114,6 +8637,14 @@ export declare class LinearSdk extends Request {
8114
8637
  * @returns AttachmentPayload
8115
8638
  */
8116
8639
  attachmentLinkIntercom(conversationId: string, issueId: string): LinearFetch<AttachmentPayload>;
8640
+ /**
8641
+ * Link an existing Jira issue to an issue.
8642
+ *
8643
+ * @param issueId - required issueId to pass to attachmentLinkJiraIssue
8644
+ * @param jiraIssueId - required jiraIssueId to pass to attachmentLinkJiraIssue
8645
+ * @returns AttachmentPayload
8646
+ */
8647
+ attachmentLinkJiraIssue(issueId: string, jiraIssueId: string): LinearFetch<AttachmentPayload>;
8117
8648
  /**
8118
8649
  * Link any url to an issue.
8119
8650
  *
@@ -8242,23 +8773,40 @@ export declare class LinearSdk extends Request {
8242
8773
  */
8243
8774
  cycleUpdate(id: string, input: L.CycleUpdateInput): LinearFetch<CyclePayload>;
8244
8775
  /**
8245
- * Create the SAML test organization in development.
8776
+ * Always fails with internal error. Used to debug logging.
8246
8777
  *
8247
8778
  * @returns DebugPayload
8248
8779
  */
8249
- get debugCreateSAMLOrg(): LinearFetch<DebugPayload>;
8780
+ get debugFailWithInternalError(): LinearFetch<DebugPayload>;
8250
8781
  /**
8251
- * Always fails with internal error. Used to debug logging.
8782
+ * Creates a new document.
8252
8783
  *
8253
- * @returns DebugPayload
8784
+ * @param input - required input to pass to documentCreate
8785
+ * @returns DocumentPayload
8254
8786
  */
8255
- get debugFailWithInternalError(): LinearFetch<DebugPayload>;
8787
+ documentCreate(input: L.DocumentCreateInput): LinearFetch<DocumentPayload>;
8256
8788
  /**
8257
- * Always logs an error to Sentry as warning. Used to debug logging.
8789
+ * Deletes a document.
8258
8790
  *
8259
- * @returns DebugPayload
8791
+ * @param id - required id to pass to documentDelete
8792
+ * @returns ArchivePayload
8793
+ */
8794
+ documentDelete(id: string): LinearFetch<ArchivePayload>;
8795
+ /**
8796
+ * Updates a document.
8797
+ *
8798
+ * @param id - required id to pass to documentUpdate
8799
+ * @param input - required input to pass to documentUpdate
8800
+ * @returns DocumentPayload
8801
+ */
8802
+ documentUpdate(id: string, input: L.DocumentUpdateInput): LinearFetch<DocumentPayload>;
8803
+ /**
8804
+ * Subscribes the email to the newsletter.
8805
+ *
8806
+ * @param input - required input to pass to emailSubscribe
8807
+ * @returns EmailSubscribePayload
8260
8808
  */
8261
- get debugFailWithWarning(): LinearFetch<DebugPayload>;
8809
+ emailSubscribe(input: L.EmailSubscribeInput): LinearFetch<EmailSubscribePayload>;
8262
8810
  /**
8263
8811
  * Authenticates a user account via email and authentication token.
8264
8812
  *
@@ -8377,6 +8925,12 @@ export declare class LinearSdk extends Request {
8377
8925
  * @returns IntegrationPayload
8378
8926
  */
8379
8927
  integrationFront(code: string, redirectUri: string): LinearFetch<IntegrationPayload>;
8928
+ /**
8929
+ * Generates a webhook for the GitHub commit integration.
8930
+ *
8931
+ * @returns GitHubCommitIntegrationPayload
8932
+ */
8933
+ get integrationGithubCommitCreate(): LinearFetch<GitHubCommitIntegrationPayload>;
8380
8934
  /**
8381
8935
  * Connects the organization with the GitHub App.
8382
8936
  *
@@ -8414,7 +8968,7 @@ export declare class LinearSdk extends Request {
8414
8968
  */
8415
8969
  get integrationIntercomDelete(): LinearFetch<IntegrationPayload>;
8416
8970
  /**
8417
- * Updates settings on the Intercom integration.
8971
+ * [DEPRECATED] Updates settings on the Intercom integration.
8418
8972
  *
8419
8973
  * @param input - required input to pass to integrationIntercomSettingsUpdate
8420
8974
  * @returns IntegrationPayload
@@ -8442,6 +8996,14 @@ export declare class LinearSdk extends Request {
8442
8996
  * @returns IntegrationPayload
8443
8997
  */
8444
8998
  integrationSentryConnect(code: string, installationId: string, organizationSlug: string): LinearFetch<IntegrationPayload>;
8999
+ /**
9000
+ * [INTERNAL] Updates the integration.
9001
+ *
9002
+ * @param id - required id to pass to integrationSettingsUpdate
9003
+ * @param input - required input to pass to integrationSettingsUpdate
9004
+ * @returns IntegrationPayload
9005
+ */
9006
+ integrationSettingsUpdate(id: string, input: L.IntegrationSettingsInput): LinearFetch<IntegrationPayload>;
8445
9007
  /**
8446
9008
  * Integrates the organization with Slack.
8447
9009
  *
@@ -8504,6 +9066,14 @@ export declare class LinearSdk extends Request {
8504
9066
  * @returns ArchivePayload
8505
9067
  */
8506
9068
  issueArchive(id: string, variables?: Omit<L.IssueArchiveMutationVariables, "id">): LinearFetch<ArchivePayload>;
9069
+ /**
9070
+ * Updates multiple issues at once.
9071
+ *
9072
+ * @param ids - required ids to pass to issueBatchUpdate
9073
+ * @param input - required input to pass to issueBatchUpdate
9074
+ * @returns IssueBatchPayload
9075
+ */
9076
+ issueBatchUpdate(ids: L.Scalars["UUID"][], input: L.IssueUpdateInput): LinearFetch<IssueBatchPayload>;
8507
9077
  /**
8508
9078
  * Creates a new issue.
8509
9079
  *
@@ -8576,6 +9146,14 @@ export declare class LinearSdk extends Request {
8576
9146
  * @returns IssueImportPayload
8577
9147
  */
8578
9148
  issueImportProcess(issueImportId: string, mapping: Record<string, unknown>): LinearFetch<IssueImportPayload>;
9149
+ /**
9150
+ * Updates the mapping for the issue import.
9151
+ *
9152
+ * @param id - required id to pass to issueImportUpdate
9153
+ * @param input - required input to pass to issueImportUpdate
9154
+ * @returns IssueImportPayload
9155
+ */
9156
+ issueImportUpdate(id: string, input: L.IssueImportUpdateInput): LinearFetch<IssueImportPayload>;
8579
9157
  /**
8580
9158
  * Archives an issue label.
8581
9159
  *
@@ -8587,9 +9165,10 @@ export declare class LinearSdk extends Request {
8587
9165
  * Creates a new label.
8588
9166
  *
8589
9167
  * @param input - required input to pass to issueLabelCreate
9168
+ * @param variables - variables without 'input' to pass into the IssueLabelCreateMutation
8590
9169
  * @returns IssueLabelPayload
8591
9170
  */
8592
- issueLabelCreate(input: L.IssueLabelCreateInput): LinearFetch<IssueLabelPayload>;
9171
+ issueLabelCreate(input: L.IssueLabelCreateInput, variables?: Omit<L.IssueLabelCreateMutationVariables, "input">): LinearFetch<IssueLabelPayload>;
8593
9172
  /**
8594
9173
  * Updates an label.
8595
9174
  *
@@ -8635,6 +9214,13 @@ export declare class LinearSdk extends Request {
8635
9214
  * @returns IssuePayload
8636
9215
  */
8637
9216
  issueUpdate(id: string, input: L.IssueUpdateInput): LinearFetch<IssuePayload>;
9217
+ /**
9218
+ * [INTERNAL] Connects the organization with a Jira Personal Access Token.
9219
+ *
9220
+ * @param input - required input to pass to jiraIntegrationConnect
9221
+ * @returns IntegrationPayload
9222
+ */
9223
+ jiraIntegrationConnect(input: L.JiraConfigurationInput): LinearFetch<IntegrationPayload>;
8638
9224
  /**
8639
9225
  * Join an organization from onboarding.
8640
9226
  *
@@ -8841,6 +9427,14 @@ export declare class LinearSdk extends Request {
8841
9427
  * @returns ArchivePayload
8842
9428
  */
8843
9429
  projectLinkDelete(id: string): LinearFetch<ArchivePayload>;
9430
+ /**
9431
+ * Updates a project link.
9432
+ *
9433
+ * @param id - required id to pass to projectLinkUpdate
9434
+ * @param input - required input to pass to projectLinkUpdate
9435
+ * @returns ProjectLinkPayload
9436
+ */
9437
+ projectLinkUpdate(id: string, input: L.ProjectLinkUpdateInput): LinearFetch<ProjectLinkPayload>;
8844
9438
  /**
8845
9439
  * Unarchives a project.
8846
9440
  *
@@ -8894,10 +9488,10 @@ export declare class LinearSdk extends Request {
8894
9488
  /**
8895
9489
  * Re-send an organization invite.
8896
9490
  *
8897
- * @param id - required id to pass to resentOrganizationInvite
9491
+ * @param id - required id to pass to resendOrganizationInvite
8898
9492
  * @returns ArchivePayload
8899
9493
  */
8900
- resentOrganizationInvite(id: string): LinearFetch<ArchivePayload>;
9494
+ resendOrganizationInvite(id: string): LinearFetch<ArchivePayload>;
8901
9495
  /**
8902
9496
  * Authenticates a user account via email and authentication token for SAML.
8903
9497
  *
@@ -8905,42 +9499,6 @@ export declare class LinearSdk extends Request {
8905
9499
  * @returns AuthResolverResponse
8906
9500
  */
8907
9501
  samlTokenUserAccountAuth(input: L.TokenUserAccountAuthInput): LinearFetch<AuthResolverResponse>;
8908
- /**
8909
- * Archives a subscription.
8910
- *
8911
- * @param id - required id to pass to subscriptionArchive
8912
- * @returns ArchivePayload
8913
- */
8914
- subscriptionArchive(id: string): LinearFetch<ArchivePayload>;
8915
- /**
8916
- * Creates a subscription session. Used internally to integrate with Stripe.
8917
- *
8918
- * @param plan - required plan to pass to subscriptionSessionCreate
8919
- * @returns SubscriptionSessionPayload
8920
- */
8921
- subscriptionSessionCreate(plan: string): LinearFetch<SubscriptionSessionPayload>;
8922
- /**
8923
- * Updates a subscription.
8924
- *
8925
- * @param id - required id to pass to subscriptionUpdate
8926
- * @param input - required input to pass to subscriptionUpdate
8927
- * @returns SubscriptionPayload
8928
- */
8929
- subscriptionUpdate(id: string, input: L.SubscriptionUpdateInput): LinearFetch<SubscriptionPayload>;
8930
- /**
8931
- * Creates a subscription update session. Used internally to integrate with Stripe.
8932
- *
8933
- * @returns SubscriptionSessionPayload
8934
- */
8935
- get subscriptionUpdateSessionCreate(): LinearFetch<SubscriptionSessionPayload>;
8936
- /**
8937
- * Upgrades a subscription plan.
8938
- *
8939
- * @param id - required id to pass to subscriptionUpgrade
8940
- * @param type - required type to pass to subscriptionUpgrade
8941
- * @returns SubscriptionPayload
8942
- */
8943
- subscriptionUpgrade(id: string, type: string): LinearFetch<SubscriptionPayload>;
8944
9502
  /**
8945
9503
  * Creates a new team. The user who creates the team will automatically be added as a member to the newly created team.
8946
9504
  *