@linear/sdk 12.0.0 → 14.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.
@@ -67,7 +67,7 @@ export declare class ActorBot extends Request {
67
67
  constructor(request: LinearRequest, data: L.ActorBotFragment);
68
68
  /** A url pointing to the avatar representing this bot. */
69
69
  avatarUrl?: string;
70
- id: string;
70
+ id?: string;
71
71
  /** The display name of the bot. */
72
72
  name?: string;
73
73
  /** The sub type of the bot. */
@@ -191,7 +191,7 @@ export declare class ArchiveResponse extends Request {
191
191
  export declare class AsksChannelConnectPayload extends Request {
192
192
  private _integration?;
193
193
  constructor(request: LinearRequest, data: L.AsksChannelConnectPayloadFragment);
194
- /** Whether the bot needs to be added to the channel. */
194
+ /** Whether the bot needs to be manually added to the channel. */
195
195
  addBot: boolean;
196
196
  /** The identifier of the last sync operation. */
197
197
  lastSyncId: number;
@@ -210,6 +210,7 @@ export declare class AsksChannelConnectPayload extends Request {
210
210
  */
211
211
  export declare class Attachment extends Request {
212
212
  private _creator?;
213
+ private _externalUserCreator?;
213
214
  private _issue;
214
215
  constructor(request: LinearRequest, data: L.AttachmentFragment);
215
216
  /** The time at which the entity was archived. Null if the entity has not been archived. */
@@ -221,9 +222,9 @@ export declare class Attachment extends Request {
221
222
  /** The unique identifier of the entity. */
222
223
  id: string;
223
224
  /** Custom metadata related to the attachment. */
224
- metadata: Record<string, unknown>;
225
+ metadata: L.Scalars["JSONObject"];
225
226
  /** Information about the source which created the attachment. */
226
- source?: Record<string, unknown>;
227
+ source?: L.Scalars["JSONObject"];
227
228
  /** An accessor helper to source.type, defines the source type of the attachment. */
228
229
  sourceType?: string;
229
230
  /** Content for the subtitle line in the Linear attachment widget. */
@@ -240,6 +241,8 @@ export declare class Attachment extends Request {
240
241
  url: string;
241
242
  /** The creator of the attachment. */
242
243
  get creator(): LinearFetch<User> | undefined;
244
+ /** The non-Linear user who created the attachment. */
245
+ get externalUserCreator(): LinearFetch<ExternalUser> | undefined;
243
246
  /** The issue this attachment belongs to. */
244
247
  get issue(): LinearFetch<Issue> | undefined;
245
248
  /** [DEPRECATED] Archives an issue attachment. */
@@ -301,8 +304,8 @@ export declare class AttachmentPayload extends Request {
301
304
  */
302
305
  export declare class AttachmentSourcesPayload extends Request {
303
306
  constructor(request: LinearRequest, data: L.AttachmentSourcesPayloadFragment);
304
- /** A unique list of all source types used in this workspace */
305
- sources: Record<string, unknown>;
307
+ /** A unique list of all source types used in this workspace. */
308
+ sources: L.Scalars["JSONObject"];
306
309
  }
307
310
  /**
308
311
  * Workspace audit log entry object.
@@ -326,9 +329,9 @@ export declare class AuditEntry extends Request {
326
329
  /** IP from actor when entry was recorded. */
327
330
  ip?: string;
328
331
  /** Additional metadata related to the audit entry. */
329
- metadata?: Record<string, unknown>;
332
+ metadata?: L.Scalars["JSONObject"];
330
333
  /** Additional information related to the request which performed the action. */
331
- requestInformation?: Record<string, unknown>;
334
+ requestInformation?: L.Scalars["JSONObject"];
332
335
  type: string;
333
336
  /**
334
337
  * The last time at which the entity was meaningfully updated, i.e. for all changes of syncable properties except those
@@ -375,17 +378,6 @@ export declare class AuthApiKey extends Request {
375
378
  /** The unique identifier of the entity. */
376
379
  id: string;
377
380
  }
378
- /**
379
- * AuthApiKeyDeletePayload model
380
- *
381
- * @param request - function to call the graphql client
382
- * @param data - L.AuthApiKeyDeletePayloadFragment response data
383
- */
384
- export declare class AuthApiKeyDeletePayload extends Request {
385
- constructor(request: LinearRequest, data: L.AuthApiKeyDeletePayloadFragment);
386
- /** Whether the operation was successful. */
387
- success: boolean;
388
- }
389
381
  /**
390
382
  * AuthApiKeyPayload model
391
383
  *
@@ -418,14 +410,90 @@ export declare class AuthIntegration extends Request {
418
410
  */
419
411
  export declare class AuthOauthClient extends Request {
420
412
  constructor(request: LinearRequest, data: L.AuthOauthClientFragment);
413
+ archivedAt?: Date;
421
414
  /** OAuth application's client ID. */
422
415
  clientId: string;
423
416
  /** OAuth application's client secret. */
424
417
  clientSecret: string;
418
+ /** The ID of the user who created the OAuth application. */
419
+ creatorId: string;
420
+ /** Information about the application. */
421
+ description?: string;
422
+ /** Name of the developer. */
423
+ developer: string;
424
+ /** Url of the developer. */
425
+ developerUrl: string;
425
426
  /** The unique identifier of the entity. */
426
427
  id: string;
428
+ /** Image of the application. */
429
+ imageUrl?: string;
430
+ /** OAuth application's client name. */
431
+ name: string;
432
+ /** The ID of the workspace the OAuth application belongs to. */
433
+ organizationId: string;
434
+ /** Whether the OAuth application can be installed in other organizations. */
435
+ publicEnabled: boolean;
427
436
  /** List of allowed redirect URIs for the application. */
428
437
  redirectUris: string[];
438
+ /** Webhook URL */
439
+ webhookUrl?: string;
440
+ }
441
+ /**
442
+ * AuthOauthClient with token creator IDs and counts (memberships), for use in the GraphQL API.
443
+ *
444
+ * @param request - function to call the graphql client
445
+ * @param data - L.AuthOauthClientWithMembershipsFragment response data
446
+ */
447
+ export declare class AuthOauthClientWithMemberships extends Request {
448
+ constructor(request: LinearRequest, data: L.AuthOauthClientWithMembershipsFragment);
449
+ /** OAuth application's ID. */
450
+ appId: string;
451
+ /** OAuth application's client ID. */
452
+ clientId: string;
453
+ /** Image of the application. */
454
+ imageUrl?: string;
455
+ /** Application name. */
456
+ name: string;
457
+ /** Scopes that are authorized for this application for a given user. */
458
+ scope: string[];
459
+ /** Total number of members that authorized the application. */
460
+ totalMembers: number;
461
+ /** The application's webhook URL. */
462
+ webhookUrl?: string;
463
+ }
464
+ /**
465
+ * AuthOauthClient with scope from OauthToken, for use in the GraphQL API.
466
+ *
467
+ * @param request - function to call the graphql client
468
+ * @param data - L.AuthOauthClientWithScopeFragment response data
469
+ */
470
+ export declare class AuthOauthClientWithScope extends Request {
471
+ constructor(request: LinearRequest, data: L.AuthOauthClientWithScopeFragment);
472
+ /** OAuth application's ID. */
473
+ appId: string;
474
+ /** OAuth application's client ID. */
475
+ clientId: string;
476
+ /** Image of the application. */
477
+ imageUrl?: string;
478
+ /** Application name. */
479
+ name: string;
480
+ /** Scopes that are authorized for this application for a given user. */
481
+ scope: string[];
482
+ /** The application's webhook URL. */
483
+ webhookUrl?: string;
484
+ }
485
+ /**
486
+ * AuthOauthClientWithTokens model
487
+ *
488
+ * @param request - function to call the graphql client
489
+ * @param data - L.AuthOauthClientWithTokensFragment response data
490
+ */
491
+ export declare class AuthOauthClientWithTokens extends Request {
492
+ constructor(request: LinearRequest, data: L.AuthOauthClientWithTokensFragment);
493
+ /** The token matching the app, scope, and actor. */
494
+ tokens: OauthToken[];
495
+ /** The auth OAuth client. */
496
+ client: AuthOauthClient;
429
497
  }
430
498
  /**
431
499
  * An organization. Organizations are root-level objects that contain users and teams.
@@ -439,6 +507,7 @@ export declare class AuthOrganization extends Request {
439
507
  allowedAuthServices: string[];
440
508
  /** The time at which deletion of the organization was requested. */
441
509
  deletionRequestedAt?: Date;
510
+ /** The unique identifier of the entity. */
442
511
  id: string;
443
512
  /** The organization's logo URL. */
444
513
  logoUrl?: string;
@@ -448,10 +517,40 @@ export declare class AuthOrganization extends Request {
448
517
  previousUrlKeys: string[];
449
518
  /** Whether SAML authentication is enabled for organization. */
450
519
  samlEnabled: boolean;
520
+ /** Whether SCIM provisioning is enabled for organization. */
521
+ scimEnabled: boolean;
522
+ /** The email domain or URL key for the organization. */
523
+ serviceId: string;
451
524
  /** The organization's unique URL key. */
452
525
  urlKey: string;
453
526
  userCount: number;
454
527
  }
528
+ /**
529
+ * AuthOrganizationDomain model
530
+ *
531
+ * @param request - function to call the graphql client
532
+ * @param data - L.AuthOrganizationDomainFragment response data
533
+ */
534
+ export declare class AuthOrganizationDomain extends Request {
535
+ constructor(request: LinearRequest, data: L.AuthOrganizationDomainFragment);
536
+ claimed?: boolean;
537
+ /** The unique identifier of the entity. */
538
+ id: string;
539
+ name: string;
540
+ organizationId: string;
541
+ verified: boolean;
542
+ }
543
+ /**
544
+ * An invitation to the organization that has been sent via email.
545
+ *
546
+ * @param request - function to call the graphql client
547
+ * @param data - L.AuthOrganizationInviteFragment response data
548
+ */
549
+ export declare class AuthOrganizationInvite extends Request {
550
+ constructor(request: LinearRequest, data: L.AuthOrganizationInviteFragment);
551
+ /** The unique identifier of the entity. */
552
+ id: string;
553
+ }
455
554
  /**
456
555
  * AuthResolverResponse model
457
556
  *
@@ -463,20 +562,31 @@ export declare class AuthResolverResponse extends Request {
463
562
  /** Should the signup flow allow access for the domain. */
464
563
  allowDomainAccess?: boolean;
465
564
  /** Email for the authenticated account. */
466
- email?: string;
565
+ email: string;
467
566
  /** User account ID. */
468
567
  id: string;
469
568
  /** ID of the organization last accessed by the user. */
470
569
  lastUsedOrganizationId?: string;
471
- /** JWT token for authentication of the account. */
570
+ /** Application token. */
472
571
  token?: string;
473
- /** Organizations this account has access to, but is not yet a member. */
572
+ /** List of organizations allowing this user account to join automatically. */
474
573
  availableOrganizations?: AuthOrganization[];
475
- /** List of organizations this user account is part of but are currently locked because of the current auth service. */
574
+ /** List of organization available to this user account but locked due to the current auth method. */
476
575
  lockedOrganizations?: AuthOrganization[];
477
- /** Users belonging to this account. */
576
+ /** List of active users that belong to the user account. */
478
577
  users: AuthUser[];
479
578
  }
579
+ /**
580
+ * AuthSuccessPayload model
581
+ *
582
+ * @param request - function to call the graphql client
583
+ * @param data - L.AuthSuccessPayloadFragment response data
584
+ */
585
+ export declare class AuthSuccessPayload extends Request {
586
+ constructor(request: LinearRequest, data: L.AuthSuccessPayloadFragment);
587
+ /** Whether the operation was successful. */
588
+ success: boolean;
589
+ }
480
590
  /**
481
591
  * A user that has access to the the resources of an organization.
482
592
  *
@@ -485,6 +595,8 @@ export declare class AuthResolverResponse extends Request {
485
595
  */
486
596
  export declare class AuthUser extends Request {
487
597
  constructor(request: LinearRequest, data: L.AuthUserFragment);
598
+ /** Whether the user is active. */
599
+ active: boolean;
488
600
  /** An URL to the user's avatar image. */
489
601
  avatarUrl?: string;
490
602
  /** The user's display (nick) name. Unique within each organization. */
@@ -494,6 +606,8 @@ export declare class AuthUser extends Request {
494
606
  id: string;
495
607
  /** The user's full name. */
496
608
  name: string;
609
+ /** User account id the user belongs to. */
610
+ userAccountId: string;
497
611
  /** Organization the user belongs to. */
498
612
  organization: AuthOrganization;
499
613
  }
@@ -536,7 +650,7 @@ export declare class AuthenticationSession extends Request {
536
650
  userAgent?: string;
537
651
  }
538
652
  /**
539
- * AuthenticationSessionResponse model
653
+ * Authentication session information.
540
654
  *
541
655
  * @param request - function to call the graphql client
542
656
  * @param data - L.AuthenticationSessionResponseFragment response data
@@ -575,6 +689,25 @@ export declare class AuthenticationSessionResponse extends Request {
575
689
  /** Session's user-agent. */
576
690
  userAgent?: string;
577
691
  }
692
+ /**
693
+ * AuthorizedApplicationBase model
694
+ *
695
+ * @param request - function to call the graphql client
696
+ * @param data - L.AuthorizedApplicationBaseFragment response data
697
+ */
698
+ export declare class AuthorizedApplicationBase extends Request {
699
+ constructor(request: LinearRequest, data: L.AuthorizedApplicationBaseFragment);
700
+ /** OAuth application's ID. */
701
+ appId: string;
702
+ /** OAuth application's client ID. */
703
+ clientId: string;
704
+ /** Image of the application. */
705
+ imageUrl?: string;
706
+ /** Application name. */
707
+ name: string;
708
+ /** Scopes that are authorized for this application for a given user. */
709
+ scope: string[];
710
+ }
578
711
  /**
579
712
  * A comment associated with an issue.
580
713
  *
@@ -582,8 +715,10 @@ export declare class AuthenticationSessionResponse extends Request {
582
715
  * @param data - L.CommentFragment response data
583
716
  */
584
717
  export declare class Comment extends Request {
585
- private _issue;
718
+ private _externalUser?;
719
+ private _issue?;
586
720
  private _parent?;
721
+ private _projectUpdate?;
587
722
  private _resolvingComment?;
588
723
  private _resolvingUser?;
589
724
  private _user?;
@@ -598,8 +733,10 @@ export declare class Comment extends Request {
598
733
  editedAt?: Date;
599
734
  /** The unique identifier of the entity. */
600
735
  id: string;
601
- /** Emoji reaction summary, grouped by emoji type */
602
- reactionData: Record<string, unknown>;
736
+ /** The text that this comment references. Only defined for inline comments. */
737
+ quotedText?: string;
738
+ /** Emoji reaction summary, grouped by emoji type. */
739
+ reactionData: L.Scalars["JSONObject"];
603
740
  /** The time the resolvingUser resolved the thread. */
604
741
  resolvedAt?: Date;
605
742
  /**
@@ -610,14 +747,18 @@ export declare class Comment extends Request {
610
747
  updatedAt: Date;
611
748
  /** Comment's URL. */
612
749
  url: string;
613
- /** The bot that created the comment */
750
+ /** The bot that created the comment. */
614
751
  botActor?: ActorBot;
615
752
  /** The document content that the comment is associated with. */
616
753
  documentContent?: DocumentContent;
754
+ /** The external user who wrote the comment. */
755
+ get externalUser(): LinearFetch<ExternalUser> | undefined;
617
756
  /** The issue that the comment is associated with. */
618
757
  get issue(): LinearFetch<Issue> | undefined;
619
758
  /** The parent comment under which the current comment is nested. */
620
759
  get parent(): LinearFetch<Comment> | undefined;
760
+ /** The project update that the comment is associated with. */
761
+ get projectUpdate(): LinearFetch<ProjectUpdate> | undefined;
621
762
  /** The comment that resolved the thread. */
622
763
  get resolvingComment(): LinearFetch<Comment> | undefined;
623
764
  /** The user that resolved the thread. */
@@ -625,7 +766,7 @@ export declare class Comment extends Request {
625
766
  /** The user who wrote the comment. */
626
767
  get user(): LinearFetch<User> | undefined;
627
768
  /** The children of the comment. */
628
- children(variables?: Omit<L.Comment_ChildrenQueryVariables, "id">): LinearFetch<CommentConnection>;
769
+ children(variables?: L.Comment_ChildrenQueryVariables): LinearFetch<CommentConnection>;
629
770
  /** Creates a new comment. */
630
771
  create(input: L.CommentCreateInput): LinearFetch<CommentPayload>;
631
772
  /** Deletes a comment. */
@@ -671,7 +812,7 @@ export declare class Company extends Request {
671
812
  /** The time at which the entity was archived. Null if the entity has not been archived. */
672
813
  archivedAt?: Date;
673
814
  /** Custom company properties. */
674
- companyProperties: Record<string, unknown>;
815
+ companyProperties: L.Scalars["JSONObject"];
675
816
  /** The time at which the entity was created. */
676
817
  createdAt: Date;
677
818
  /** Company ID in an external system. */
@@ -748,6 +889,7 @@ export declare class CustomView extends Request {
748
889
  private _creator;
749
890
  private _owner;
750
891
  private _team?;
892
+ private _updatedBy;
751
893
  constructor(request: LinearRequest, data: L.CustomViewFragment);
752
894
  /** The time at which the entity was archived. Null if the entity has not been archived. */
753
895
  archivedAt?: Date;
@@ -758,9 +900,9 @@ export declare class CustomView extends Request {
758
900
  /** The description of the custom view. */
759
901
  description?: string;
760
902
  /** The filter applied to issues in the custom view. */
761
- filterData: Record<string, unknown>;
903
+ filterData: L.Scalars["JSONObject"];
762
904
  /** The filters applied to issues in the custom view. */
763
- filters: Record<string, unknown>;
905
+ filters: L.Scalars["JSONObject"];
764
906
  /** The icon of the custom view. */
765
907
  icon?: string;
766
908
  /** The unique identifier of the entity. */
@@ -769,6 +911,8 @@ export declare class CustomView extends Request {
769
911
  modelName: string;
770
912
  /** The name of the custom view. */
771
913
  name: string;
914
+ /** The filter applied to projects in the custom view. */
915
+ projectFilterData?: L.Scalars["JSONObject"];
772
916
  /** Whether the custom view is shared with everyone in the organization. */
773
917
  shared: boolean;
774
918
  /**
@@ -785,6 +929,10 @@ export declare class CustomView extends Request {
785
929
  get owner(): LinearFetch<User> | undefined;
786
930
  /** The team associated with the custom view. */
787
931
  get team(): LinearFetch<Team> | undefined;
932
+ /** The user who last updated the custom view. */
933
+ get updatedBy(): LinearFetch<User> | undefined;
934
+ /** Issues associated with the custom view. */
935
+ issues(variables?: Omit<L.CustomView_IssuesQueryVariables, "id">): LinearFetch<IssueConnection>;
788
936
  /** Creates a new custom view. */
789
937
  create(input: L.CustomViewCreateInput): LinearFetch<CustomViewPayload>;
790
938
  /** Deletes a custom view. */
@@ -828,7 +976,7 @@ export declare class CustomViewNotificationSubscription extends Request {
828
976
  private _team?;
829
977
  private _user?;
830
978
  constructor(request: LinearRequest, data: L.CustomViewNotificationSubscriptionFragment);
831
- /** Whether the subscription is active or not */
979
+ /** Whether the subscription is active or not. */
832
980
  active: boolean;
833
981
  /** The time at which the entity was archived. Null if the entity has not been archived. */
834
982
  archivedAt?: Date;
@@ -991,7 +1139,7 @@ export declare class CycleNotificationSubscription extends Request {
991
1139
  private _team?;
992
1140
  private _user?;
993
1141
  constructor(request: LinearRequest, data: L.CycleNotificationSubscriptionFragment);
994
- /** Whether the subscription is active or not */
1142
+ /** Whether the subscription is active or not. */
995
1143
  active: boolean;
996
1144
  /** The time at which the entity was archived. Null if the entity has not been archived. */
997
1145
  archivedAt?: Date;
@@ -1071,8 +1219,6 @@ export declare class Document extends Request {
1071
1219
  color?: string;
1072
1220
  /** The documents content in markdown format. */
1073
1221
  content?: string;
1074
- /** The documents content as a Prosemirror document. */
1075
- contentData?: Record<string, unknown>;
1076
1222
  /** The time at which the entity was created. */
1077
1223
  createdAt: Date;
1078
1224
  /** The icon of the document. */
@@ -1081,6 +1227,8 @@ export declare class Document extends Request {
1081
1227
  id: string;
1082
1228
  /** The document's unique URL slug. */
1083
1229
  slugId: string;
1230
+ /** The order of the item in the project resources list. */
1231
+ sortOrder: number;
1084
1232
  /** The document title. */
1085
1233
  title: string;
1086
1234
  /**
@@ -1124,6 +1272,7 @@ export declare class DocumentContent extends Request {
1124
1272
  private _document?;
1125
1273
  private _issue?;
1126
1274
  private _project?;
1275
+ private _projectMilestone?;
1127
1276
  constructor(request: LinearRequest, data: L.DocumentContentFragment);
1128
1277
  /** The time at which the entity was archived. Null if the entity has not been archived. */
1129
1278
  archivedAt?: Date;
@@ -1135,7 +1284,7 @@ export declare class DocumentContent extends Request {
1135
1284
  createdAt: Date;
1136
1285
  /** The unique identifier of the entity. */
1137
1286
  id: string;
1138
- /** The time at which the document content was restored from a previous version */
1287
+ /** The time at which the document content was restored from a previous version. */
1139
1288
  restoredAt?: Date;
1140
1289
  /**
1141
1290
  * The last time at which the entity was meaningfully updated, i.e. for all changes of syncable properties except those
@@ -1149,9 +1298,11 @@ export declare class DocumentContent extends Request {
1149
1298
  get issue(): LinearFetch<Issue> | undefined;
1150
1299
  /** The project that the content is associated with. */
1151
1300
  get project(): LinearFetch<Project> | undefined;
1301
+ /** The project milestone that the content is associated with. */
1302
+ get projectMilestone(): LinearFetch<ProjectMilestone> | undefined;
1152
1303
  }
1153
1304
  /**
1154
- * A document content history for a document
1305
+ * A document content history for a document.
1155
1306
  *
1156
1307
  * @param request - function to call the graphql client
1157
1308
  * @param data - L.DocumentContentHistoryFragment response data
@@ -1162,7 +1313,7 @@ export declare class DocumentContentHistory extends Request {
1162
1313
  actorIds: string[];
1163
1314
  /** The time at which the entity was archived. Null if the entity has not been archived. */
1164
1315
  archivedAt?: Date;
1165
- /** The timestamp associated with the DocumentContent when it was originally saved */
1316
+ /** The timestamp associated with the DocumentContent when it was originally saved. */
1166
1317
  contentDataSnapshotAt: Date;
1167
1318
  /** The time at which the entity was created. */
1168
1319
  createdAt: Date;
@@ -1256,18 +1407,18 @@ export declare class DocumentSearchResult extends Request {
1256
1407
  color?: string;
1257
1408
  /** The documents content in markdown format. */
1258
1409
  content?: string;
1259
- /** The documents content as a Prosemirror document. */
1260
- contentData?: Record<string, unknown>;
1261
1410
  /** The time at which the entity was created. */
1262
1411
  createdAt: Date;
1263
1412
  /** The icon of the document. */
1264
1413
  icon?: string;
1265
1414
  /** The unique identifier of the entity. */
1266
1415
  id: string;
1267
- /** Metadata related to search result */
1268
- metadata: Record<string, unknown>;
1416
+ /** Metadata related to search result. */
1417
+ metadata: L.Scalars["JSONObject"];
1269
1418
  /** The document's unique URL slug. */
1270
1419
  slugId: string;
1420
+ /** The order of the item in the project resources list. */
1421
+ sortOrder: number;
1271
1422
  /** The document title. */
1272
1423
  title: string;
1273
1424
  /**
@@ -1295,6 +1446,63 @@ export declare class DocumentSearchResult extends Request {
1295
1446
  export declare class DocumentSearchResultConnection extends Connection<DocumentSearchResult> {
1296
1447
  constructor(request: LinearRequest, fetch: (connection?: LinearConnectionVariables) => LinearFetch<LinearConnection<DocumentSearchResult> | undefined>, data: L.DocumentSearchResultConnectionFragment);
1297
1448
  }
1449
+ /**
1450
+ * An email address that can be used for submitting issues.
1451
+ *
1452
+ * @param request - function to call the graphql client
1453
+ * @param data - L.EmailIntakeAddressFragment response data
1454
+ */
1455
+ export declare class EmailIntakeAddress extends Request {
1456
+ private _creator?;
1457
+ private _team;
1458
+ private _template?;
1459
+ constructor(request: LinearRequest, data: L.EmailIntakeAddressFragment);
1460
+ /** Unique email address user name (before @) used for incoming email. */
1461
+ address: string;
1462
+ /** The time at which the entity was archived. Null if the entity has not been archived. */
1463
+ archivedAt?: Date;
1464
+ /** The time at which the entity was created. */
1465
+ createdAt: Date;
1466
+ /** Whether the email address is enabled. */
1467
+ enabled: boolean;
1468
+ /** The unique identifier of the entity. */
1469
+ id: string;
1470
+ /**
1471
+ * The last time at which the entity was meaningfully updated, i.e. for all changes of syncable properties except those
1472
+ * 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
1473
+ * been updated after creation.
1474
+ */
1475
+ updatedAt: Date;
1476
+ /** The user who created the email intake address. */
1477
+ get creator(): LinearFetch<User> | undefined;
1478
+ /** The organization that the email address is associated with. */
1479
+ get organization(): LinearFetch<Organization>;
1480
+ /** The team that the email address is associated with. */
1481
+ get team(): LinearFetch<Team> | undefined;
1482
+ /** The template that the email address is associated with. */
1483
+ get template(): LinearFetch<Template> | undefined;
1484
+ /** Creates a new email intake address. */
1485
+ create(input: L.EmailIntakeAddressCreateInput): LinearFetch<EmailIntakeAddressPayload>;
1486
+ /** Deletes an email intake address object. */
1487
+ delete(): LinearFetch<DeletePayload>;
1488
+ /** Updates an existing email intake address. */
1489
+ update(input: L.EmailIntakeAddressUpdateInput): LinearFetch<EmailIntakeAddressPayload>;
1490
+ }
1491
+ /**
1492
+ * EmailIntakeAddressPayload model
1493
+ *
1494
+ * @param request - function to call the graphql client
1495
+ * @param data - L.EmailIntakeAddressPayloadFragment response data
1496
+ */
1497
+ export declare class EmailIntakeAddressPayload extends Request {
1498
+ constructor(request: LinearRequest, data: L.EmailIntakeAddressPayloadFragment);
1499
+ /** The identifier of the last sync operation. */
1500
+ lastSyncId: number;
1501
+ /** Whether the operation was successful. */
1502
+ success: boolean;
1503
+ /** The email address that was created or updated. */
1504
+ emailIntakeAddress: EmailIntakeAddress;
1505
+ }
1298
1506
  /**
1299
1507
  * EmailUnsubscribePayload model
1300
1508
  *
@@ -1402,6 +1610,49 @@ export declare class Entity extends Request {
1402
1610
  */
1403
1611
  updatedAt: Date;
1404
1612
  }
1613
+ /**
1614
+ * An external authenticated (e.g., through Slack) user which doesn't have a Linear account, but can create and update entities in Linear from the external system that authenticated them.
1615
+ *
1616
+ * @param request - function to call the graphql client
1617
+ * @param data - L.ExternalUserFragment response data
1618
+ */
1619
+ export declare class ExternalUser extends Request {
1620
+ constructor(request: LinearRequest, data: L.ExternalUserFragment);
1621
+ /** The time at which the entity was archived. Null if the entity has not been archived. */
1622
+ archivedAt?: Date;
1623
+ /** An URL to the external user's avatar image. */
1624
+ avatarUrl?: string;
1625
+ /** The time at which the entity was created. */
1626
+ createdAt: Date;
1627
+ /** The external user's display name. Unique within each organization. Can match the display name of an actual user. */
1628
+ displayName: string;
1629
+ /** The external user's email address. */
1630
+ email?: string;
1631
+ /** The unique identifier of the entity. */
1632
+ id: string;
1633
+ /** The last time the external user was seen interacting with Linear. */
1634
+ lastSeen?: Date;
1635
+ /** The external user's full name. */
1636
+ name: string;
1637
+ /**
1638
+ * The last time at which the entity was meaningfully updated, i.e. for all changes of syncable properties except those
1639
+ * 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
1640
+ * been updated after creation.
1641
+ */
1642
+ updatedAt: Date;
1643
+ /** Organization the external user belongs to. */
1644
+ get organization(): LinearFetch<Organization>;
1645
+ }
1646
+ /**
1647
+ * ExternalUserConnection model
1648
+ *
1649
+ * @param request - function to call the graphql client
1650
+ * @param fetch - function to trigger a refetch of this ExternalUserConnection model
1651
+ * @param data - ExternalUserConnection response data
1652
+ */
1653
+ export declare class ExternalUserConnection extends Connection<ExternalUser> {
1654
+ constructor(request: LinearRequest, fetch: (connection?: LinearConnectionVariables) => LinearFetch<LinearConnection<ExternalUser> | undefined>, data: L.ExternalUserConnectionFragment);
1655
+ }
1405
1656
  /**
1406
1657
  * User favorites presented in the sidebar.
1407
1658
  *
@@ -1533,6 +1784,117 @@ export declare class FrontSettings extends Request {
1533
1784
  /** Whether an internal message should be added when a Linear issue changes status (for status types except completed or canceled). */
1534
1785
  sendNoteOnStatusChange?: boolean;
1535
1786
  }
1787
+ /**
1788
+ * A trigger that updates the issue status according to Git automations.
1789
+ *
1790
+ * @param request - function to call the graphql client
1791
+ * @param data - L.GitAutomationStateFragment response data
1792
+ */
1793
+ export declare class GitAutomationState extends Request {
1794
+ private _state?;
1795
+ private _team;
1796
+ constructor(request: LinearRequest, data: L.GitAutomationStateFragment);
1797
+ /** The time at which the entity was archived. Null if the entity has not been archived. */
1798
+ archivedAt?: Date;
1799
+ /** [DEPRECATED] The target branch, if null, the automation will be triggered on any branch. */
1800
+ branchPattern?: string;
1801
+ /** The time at which the entity was created. */
1802
+ createdAt: Date;
1803
+ /** The unique identifier of the entity. */
1804
+ id: string;
1805
+ /**
1806
+ * The last time at which the entity was meaningfully updated, i.e. for all changes of syncable properties except those
1807
+ * 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
1808
+ * been updated after creation.
1809
+ */
1810
+ updatedAt: Date;
1811
+ /** The target branch associated to this automation state. */
1812
+ targetBranch?: GitAutomationTargetBranch;
1813
+ /** The associated workflow state. */
1814
+ get state(): LinearFetch<WorkflowState> | undefined;
1815
+ /** The team to which this automation state belongs. */
1816
+ get team(): LinearFetch<Team> | undefined;
1817
+ /** Creates a new automation state. */
1818
+ create(input: L.GitAutomationStateCreateInput): LinearFetch<GitAutomationStatePayload>;
1819
+ /** Archives an automation state. */
1820
+ delete(): LinearFetch<DeletePayload>;
1821
+ /** Updates an existing state. */
1822
+ update(input: L.GitAutomationStateUpdateInput): LinearFetch<GitAutomationStatePayload>;
1823
+ }
1824
+ /**
1825
+ * GitAutomationStateConnection model
1826
+ *
1827
+ * @param request - function to call the graphql client
1828
+ * @param fetch - function to trigger a refetch of this GitAutomationStateConnection model
1829
+ * @param data - GitAutomationStateConnection response data
1830
+ */
1831
+ export declare class GitAutomationStateConnection extends Connection<GitAutomationState> {
1832
+ constructor(request: LinearRequest, fetch: (connection?: LinearConnectionVariables) => LinearFetch<LinearConnection<GitAutomationState> | undefined>, data: L.GitAutomationStateConnectionFragment);
1833
+ }
1834
+ /**
1835
+ * GitAutomationStatePayload model
1836
+ *
1837
+ * @param request - function to call the graphql client
1838
+ * @param data - L.GitAutomationStatePayloadFragment response data
1839
+ */
1840
+ export declare class GitAutomationStatePayload extends Request {
1841
+ constructor(request: LinearRequest, data: L.GitAutomationStatePayloadFragment);
1842
+ /** The identifier of the last sync operation. */
1843
+ lastSyncId: number;
1844
+ /** Whether the operation was successful. */
1845
+ success: boolean;
1846
+ /** The automation state that was created or updated. */
1847
+ gitAutomationState: GitAutomationState;
1848
+ }
1849
+ /**
1850
+ * A Git target branch for which there are automations (GitAutomationState).
1851
+ *
1852
+ * @param request - function to call the graphql client
1853
+ * @param data - L.GitAutomationTargetBranchFragment response data
1854
+ */
1855
+ export declare class GitAutomationTargetBranch extends Request {
1856
+ private _team;
1857
+ constructor(request: LinearRequest, data: L.GitAutomationTargetBranchFragment);
1858
+ /** The time at which the entity was archived. Null if the entity has not been archived. */
1859
+ archivedAt?: Date;
1860
+ /** The target branch pattern. */
1861
+ branchPattern: string;
1862
+ /** The time at which the entity was created. */
1863
+ createdAt: Date;
1864
+ /** The unique identifier of the entity. */
1865
+ id: string;
1866
+ /** Whether the branch pattern is a regular expression. */
1867
+ isRegex: boolean;
1868
+ /**
1869
+ * The last time at which the entity was meaningfully updated, i.e. for all changes of syncable properties except those
1870
+ * 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
1871
+ * been updated after creation.
1872
+ */
1873
+ updatedAt: Date;
1874
+ /** The team to which this Git target branch automation belongs. */
1875
+ get team(): LinearFetch<Team> | undefined;
1876
+ /** Creates a Git target branch automation. */
1877
+ create(input: L.GitAutomationTargetBranchCreateInput): LinearFetch<GitAutomationTargetBranchPayload>;
1878
+ /** Archives a Git target branch automation. */
1879
+ delete(): LinearFetch<DeletePayload>;
1880
+ /** Updates an existing Git target branch automation. */
1881
+ update(input: L.GitAutomationTargetBranchUpdateInput): LinearFetch<GitAutomationTargetBranchPayload>;
1882
+ }
1883
+ /**
1884
+ * GitAutomationTargetBranchPayload model
1885
+ *
1886
+ * @param request - function to call the graphql client
1887
+ * @param data - L.GitAutomationTargetBranchPayloadFragment response data
1888
+ */
1889
+ export declare class GitAutomationTargetBranchPayload extends Request {
1890
+ constructor(request: LinearRequest, data: L.GitAutomationTargetBranchPayloadFragment);
1891
+ /** The identifier of the last sync operation. */
1892
+ lastSyncId: number;
1893
+ /** Whether the operation was successful. */
1894
+ success: boolean;
1895
+ /** The Git target branch automation that was created or updated. */
1896
+ targetBranch: GitAutomationTargetBranch;
1897
+ }
1536
1898
  /**
1537
1899
  * GitHubCommitIntegrationPayload model
1538
1900
  *
@@ -1552,45 +1914,45 @@ export declare class GitHubCommitIntegrationPayload extends Request {
1552
1914
  get integration(): LinearFetch<Integration> | undefined;
1553
1915
  }
1554
1916
  /**
1555
- * Metadata and settings for a GitHub integration.
1917
+ * Metadata and settings for a GitHub Personal integration.
1556
1918
  *
1557
1919
  * @param request - function to call the graphql client
1558
- * @param data - L.GitHubSettingsFragment response data
1920
+ * @param data - L.GitHubPersonalSettingsFragment response data
1559
1921
  */
1560
- export declare class GitHubSettings extends Request {
1561
- constructor(request: LinearRequest, data: L.GitHubSettingsFragment);
1562
- /** The avatar URL for the GitHub organization */
1563
- orgAvatarUrl: string;
1564
- /** The GitHub organization's name */
1565
- orgLogin: string;
1566
- /** The names of the repositories connected for the GitHub integration */
1567
- repositories?: string[];
1922
+ export declare class GitHubPersonalSettings extends Request {
1923
+ constructor(request: LinearRequest, data: L.GitHubPersonalSettingsFragment);
1924
+ /** The GitHub user's name. */
1925
+ login: string;
1568
1926
  }
1569
1927
  /**
1570
1928
  * GitHub repos available to sync.
1571
1929
  *
1572
1930
  * @param request - function to call the graphql client
1573
- * @param data - L.GitHubSyncRepoFragment response data
1931
+ * @param data - L.GitHubRepoFragment response data
1574
1932
  */
1575
- export declare class GitHubSyncRepo extends Request {
1576
- constructor(request: LinearRequest, data: L.GitHubSyncRepoFragment);
1933
+ export declare class GitHubRepo extends Request {
1934
+ constructor(request: LinearRequest, data: L.GitHubRepoFragment);
1577
1935
  /** The full name of the repository. */
1578
1936
  fullName: string;
1579
1937
  /** The GitHub repo id. */
1580
1938
  id: number;
1581
1939
  }
1582
1940
  /**
1583
- * Metadata and settings for a GitHub Sync integration.
1941
+ * Metadata and settings for a GitHub integration.
1584
1942
  *
1585
1943
  * @param request - function to call the graphql client
1586
- * @param data - L.GitHubSyncSettingsFragment response data
1944
+ * @param data - L.GitHubSettingsFragment response data
1587
1945
  */
1588
- export declare class GitHubSyncSettings extends Request {
1589
- constructor(request: LinearRequest, data: L.GitHubSyncSettingsFragment);
1590
- /** Mapping of team to repository for syncing */
1591
- repoMapping?: TeamRepoMapping[];
1592
- /** The names of the repositories connected for the GitHub integration */
1593
- repos?: GitHubSyncRepo[];
1946
+ export declare class GitHubSettings extends Request {
1947
+ constructor(request: LinearRequest, data: L.GitHubSettingsFragment);
1948
+ /** The avatar URL for the GitHub organization. */
1949
+ orgAvatarUrl: string;
1950
+ /** The GitHub organization's name. */
1951
+ orgLogin: string;
1952
+ /** The names of the repositories connected for the GitHub integration. */
1953
+ repositories?: GitHubRepo[];
1954
+ /** Mapping of team to repository for syncing. */
1955
+ repositoriesMapping?: TeamRepoMapping[];
1594
1956
  }
1595
1957
  /**
1596
1958
  * Metadata and settings for a GitLab integration.
@@ -1600,11 +1962,11 @@ export declare class GitHubSyncSettings extends Request {
1600
1962
  */
1601
1963
  export declare class GitLabSettings extends Request {
1602
1964
  constructor(request: LinearRequest, data: L.GitLabSettingsFragment);
1603
- /** The ISO timestamp the GitLab access token expires */
1965
+ /** The ISO timestamp the GitLab access token expires. */
1604
1966
  expiresAt?: string;
1605
- /** Whether the token is limited to a read-only scope */
1967
+ /** Whether the token is limited to a read-only scope. */
1606
1968
  readonly?: boolean;
1607
- /** The self-hosted URL of the GitLab instance */
1969
+ /** The self-hosted URL of the GitLab instance. */
1608
1970
  url?: string;
1609
1971
  }
1610
1972
  /**
@@ -1634,8 +1996,6 @@ export declare class GithubOrg extends Request {
1634
1996
  isPersonal?: boolean;
1635
1997
  /** The login for the GitHub organization. */
1636
1998
  login: string;
1637
- /** The name of the GitHub organization. */
1638
- name: string;
1639
1999
  /** Repositories that the organization owns. */
1640
2000
  repositories: GithubRepo[];
1641
2001
  }
@@ -1680,6 +2040,19 @@ export declare class ImageUploadFromUrlPayload extends Request {
1680
2040
  /** The URL containing the image. */
1681
2041
  url?: string;
1682
2042
  }
2043
+ /**
2044
+ * A generic payload return from entity archive mutations.
2045
+ *
2046
+ * @param request - function to call the graphql client
2047
+ * @param data - L.InitiativeArchivePayloadFragment response data
2048
+ */
2049
+ export declare class InitiativeArchivePayload extends Request {
2050
+ constructor(request: LinearRequest, data: L.InitiativeArchivePayloadFragment);
2051
+ /** The identifier of the last sync operation. */
2052
+ lastSyncId: number;
2053
+ /** Whether the operation was successful. */
2054
+ success: boolean;
2055
+ }
1683
2056
  /**
1684
2057
  * An integration with an external service.
1685
2058
  *
@@ -1710,6 +2083,8 @@ export declare class Integration extends Request {
1710
2083
  get organization(): LinearFetch<Organization>;
1711
2084
  /** The team that the integration is associated with. */
1712
2085
  get team(): LinearFetch<Team> | undefined;
2086
+ /** Archives an integration. */
2087
+ archive(): LinearFetch<DeletePayload>;
1713
2088
  /** Deletes an integration. */
1714
2089
  delete(): LinearFetch<DeletePayload>;
1715
2090
  }
@@ -1723,6 +2098,19 @@ export declare class Integration extends Request {
1723
2098
  export declare class IntegrationConnection extends Connection<Integration> {
1724
2099
  constructor(request: LinearRequest, fetch: (connection?: LinearConnectionVariables) => LinearFetch<LinearConnection<Integration> | undefined>, data: L.IntegrationConnectionFragment);
1725
2100
  }
2101
+ /**
2102
+ * IntegrationHasScopesPayload model
2103
+ *
2104
+ * @param request - function to call the graphql client
2105
+ * @param data - L.IntegrationHasScopesPayloadFragment response data
2106
+ */
2107
+ export declare class IntegrationHasScopesPayload extends Request {
2108
+ constructor(request: LinearRequest, data: L.IntegrationHasScopesPayloadFragment);
2109
+ /** Whether the integration has the required scopes. */
2110
+ hasAllScopes: boolean;
2111
+ /** The missing scopes. */
2112
+ missingScopes?: string[];
2113
+ }
1726
2114
  /**
1727
2115
  * IntegrationPayload model
1728
2116
  *
@@ -1751,7 +2139,7 @@ export declare class IntegrationRequestPayload extends Request {
1751
2139
  success: boolean;
1752
2140
  }
1753
2141
  /**
1754
- * The integration resource's settings
2142
+ * The integration resource's settings.
1755
2143
  *
1756
2144
  * @param request - function to call the graphql client
1757
2145
  * @param data - L.IntegrationSettingsFragment response data
@@ -1760,7 +2148,7 @@ export declare class IntegrationSettings extends Request {
1760
2148
  constructor(request: LinearRequest, data: L.IntegrationSettingsFragment);
1761
2149
  front?: FrontSettings;
1762
2150
  gitHub?: GitHubSettings;
1763
- gitHubSync?: GitHubSyncSettings;
2151
+ gitHubPersonal?: GitHubPersonalSettings;
1764
2152
  gitLab?: GitLabSettings;
1765
2153
  googleSheets?: GoogleSheetsSettings;
1766
2154
  intercom?: IntercomSettings;
@@ -1777,7 +2165,7 @@ export declare class IntegrationSettings extends Request {
1777
2165
  zendesk?: ZendeskSettings;
1778
2166
  }
1779
2167
  /**
1780
- * Join table between templates and integrations
2168
+ * Join table between templates and integrations.
1781
2169
  *
1782
2170
  * @param request - function to call the graphql client
1783
2171
  * @param data - L.IntegrationTemplateFragment response data
@@ -1857,9 +2245,9 @@ export declare class IntegrationsSettings extends Request {
1857
2245
  slackIssueCreated?: boolean;
1858
2246
  /** Whether to send a Slack message when a comment is created on any of the project or team's issues. */
1859
2247
  slackIssueNewComment?: boolean;
1860
- /** Whether to send a Slack message when an SLA is breached */
2248
+ /** Whether to send a Slack message when an SLA is breached. */
1861
2249
  slackIssueSlaBreached?: boolean;
1862
- /** Whether to send a Slack message when an SLA is at high risk */
2250
+ /** Whether to send a Slack message when an SLA is at high risk. */
1863
2251
  slackIssueSlaHighRisk?: boolean;
1864
2252
  /** Whether to send a Slack message when any of the project or team's issues has a change in status. */
1865
2253
  slackIssueStatusChangedAll?: boolean;
@@ -1941,10 +2329,12 @@ export declare class Issue extends Request {
1941
2329
  private _assignee?;
1942
2330
  private _creator?;
1943
2331
  private _cycle?;
2332
+ private _externalUserCreator?;
1944
2333
  private _favorite?;
1945
2334
  private _lastAppliedTemplate?;
1946
2335
  private _parent?;
1947
2336
  private _project?;
2337
+ private _projectMilestone?;
1948
2338
  private _snoozedBy?;
1949
2339
  private _state;
1950
2340
  private _team;
@@ -1977,6 +2367,8 @@ export declare class Issue extends Request {
1977
2367
  id: string;
1978
2368
  /** Issue's human readable identifier (e.g. ENG-123). */
1979
2369
  identifier: string;
2370
+ /** Id of the labels associated with this issue. */
2371
+ labelIds: string[];
1980
2372
  /** The issue's unique number. */
1981
2373
  number: number;
1982
2374
  /** Previous identifiers of the issue if it has been moved between teams. */
@@ -2009,12 +2401,16 @@ export declare class Issue extends Request {
2009
2401
  updatedAt: Date;
2010
2402
  /** Issue URL. */
2011
2403
  url: string;
2404
+ /** The bot that created the issue, if applicable. */
2405
+ botActor?: ActorBot;
2012
2406
  /** The user to whom the issue is assigned to. */
2013
2407
  get assignee(): LinearFetch<User> | undefined;
2014
2408
  /** The user who created the issue. */
2015
2409
  get creator(): LinearFetch<User> | undefined;
2016
2410
  /** The cycle that the issue is associated with. */
2017
2411
  get cycle(): LinearFetch<Cycle> | undefined;
2412
+ /** The external user who created the issue. */
2413
+ get externalUserCreator(): LinearFetch<ExternalUser> | undefined;
2018
2414
  /** The users favorite associated with this issue. */
2019
2415
  get favorite(): LinearFetch<Favorite> | undefined;
2020
2416
  /** The last template that was applied to this issue. */
@@ -2023,6 +2419,8 @@ export declare class Issue extends Request {
2023
2419
  get parent(): LinearFetch<Issue> | undefined;
2024
2420
  /** The project that the issue is associated with. */
2025
2421
  get project(): LinearFetch<Project> | undefined;
2422
+ /** The projectMilestone that the issue is associated with. */
2423
+ get projectMilestone(): LinearFetch<ProjectMilestone> | undefined;
2026
2424
  /** The user who snoozed the issue. */
2027
2425
  get snoozedBy(): LinearFetch<User> | undefined;
2028
2426
  /** The workflow state that the issue is associated with. */
@@ -2106,7 +2504,7 @@ export declare class IssueConnection extends Connection<Issue> {
2106
2504
  export declare class IssueFilterSuggestionPayload extends Request {
2107
2505
  constructor(request: LinearRequest, data: L.IssueFilterSuggestionPayloadFragment);
2108
2506
  /** The json filter that is suggested. */
2109
- filter?: Record<string, unknown>;
2507
+ filter?: L.Scalars["JSONObject"];
2110
2508
  }
2111
2509
  /**
2112
2510
  * A record of changes to an issue.
@@ -2152,7 +2550,7 @@ export declare class IssueHistory extends Request {
2152
2550
  fromAssigneeId?: string;
2153
2551
  /** The id of previous cycle of the issue. */
2154
2552
  fromCycleId?: string;
2155
- /** What the due date was changed from */
2553
+ /** What the due date was changed from. */
2156
2554
  fromDueDate?: L.Scalars["TimelessDate"];
2157
2555
  /** What the estimate was changed from. */
2158
2556
  fromEstimate?: number;
@@ -2178,7 +2576,7 @@ export declare class IssueHistory extends Request {
2178
2576
  toConvertedProjectId?: string;
2179
2577
  /** The id of new cycle of the issue. */
2180
2578
  toCycleId?: string;
2181
- /** What the due date was changed to */
2579
+ /** What the due date was changed to. */
2182
2580
  toDueDate?: L.Scalars["TimelessDate"];
2183
2581
  /** What the estimate was changed to. */
2184
2582
  toEstimate?: number;
@@ -2208,7 +2606,7 @@ export declare class IssueHistory extends Request {
2208
2606
  /** Changed issue relationships. */
2209
2607
  relationChanges?: IssueRelationHistoryPayload[];
2210
2608
  removedLabels?: IssueLabel[];
2211
- /** The bot that performed the action */
2609
+ /** The bot that performed the action. */
2212
2610
  botActor?: ActorBot;
2213
2611
  /** The import record. */
2214
2612
  issueImport?: IssueImport;
@@ -2256,7 +2654,7 @@ export declare class IssueHistoryConnection extends Connection<IssueHistory> {
2256
2654
  constructor(request: LinearRequest, fetch: (connection?: LinearConnectionVariables) => LinearFetch<LinearConnection<IssueHistory> | undefined>, data: L.IssueHistoryConnectionFragment);
2257
2655
  }
2258
2656
  /**
2259
- * An import job for data from an external service
2657
+ * An import job for data from an external service.
2260
2658
  *
2261
2659
  * @param request - function to call the graphql client
2262
2660
  * @param data - L.IssueImportFragment response data
@@ -2273,19 +2671,19 @@ export declare class IssueImport extends Request {
2273
2671
  csvFileUrl?: string;
2274
2672
  /** User readable error message, if one has occurred during the import. */
2275
2673
  error?: string;
2276
- /** Error code and metadata, if one has occurred during the import */
2277
- errorMetadata?: Record<string, unknown>;
2674
+ /** Error code and metadata, if one has occurred during the import. */
2675
+ errorMetadata?: L.Scalars["JSONObject"];
2278
2676
  /** The unique identifier of the entity. */
2279
2677
  id: string;
2280
2678
  /** The data mapping configuration for the import job. */
2281
- mapping?: Record<string, unknown>;
2679
+ mapping?: L.Scalars["JSONObject"];
2282
2680
  /** Current step progress in % (0-100). */
2283
2681
  progress?: number;
2284
2682
  /** The service from which data will be imported. */
2285
2683
  service: string;
2286
2684
  /** The status for the import job. */
2287
2685
  status: string;
2288
- /** New team's name in cases when teamId not set */
2686
+ /** New team's name in cases when teamId not set. */
2289
2687
  teamName?: string;
2290
2688
  /**
2291
2689
  * The last time at which the entity was meaningfully updated, i.e. for all changes of syncable properties except those
@@ -2415,7 +2813,7 @@ export declare class IssueLabelPayload extends Request {
2415
2813
  get issueLabel(): LinearFetch<IssueLabel> | undefined;
2416
2814
  }
2417
2815
  /**
2418
- * An issue related notification
2816
+ * An issue related notification.
2419
2817
  *
2420
2818
  * @param request - function to call the graphql client
2421
2819
  * @param data - L.IssueNotificationFragment response data
@@ -2423,6 +2821,7 @@ export declare class IssueLabelPayload extends Request {
2423
2821
  export declare class IssueNotification extends Request {
2424
2822
  private _actor?;
2425
2823
  private _comment?;
2824
+ private _externalUserActor?;
2426
2825
  private _issue;
2427
2826
  private _team;
2428
2827
  private _user;
@@ -2444,7 +2843,7 @@ export declare class IssueNotification extends Request {
2444
2843
  readAt?: Date;
2445
2844
  /** The time until a notification will be snoozed. After that it will appear in the inbox again. */
2446
2845
  snoozedUntilAt?: Date;
2447
- /** Notification type */
2846
+ /** Notification type. */
2448
2847
  type: string;
2449
2848
  /** The time at which a notification was unsnoozed.. */
2450
2849
  unsnoozedAt?: Date;
@@ -2462,9 +2861,11 @@ export declare class IssueNotification extends Request {
2462
2861
  get actor(): LinearFetch<User> | undefined;
2463
2862
  /** The comment related to the notification. */
2464
2863
  get comment(): LinearFetch<Comment> | undefined;
2864
+ /** The external user that caused the notification. */
2865
+ get externalUserActor(): LinearFetch<ExternalUser> | undefined;
2465
2866
  /** The issue related to the notification. */
2466
2867
  get issue(): LinearFetch<Issue> | undefined;
2467
- /** The team related to the notification. */
2868
+ /** The team related to the issue notification. */
2468
2869
  get team(): LinearFetch<Team> | undefined;
2469
2870
  /** The user that received the notification. */
2470
2871
  get user(): LinearFetch<User> | undefined;
@@ -2544,7 +2945,7 @@ export declare class IssueRelationConnection extends Connection<IssueRelation> {
2544
2945
  constructor(request: LinearRequest, fetch: (connection?: LinearConnectionVariables) => LinearFetch<LinearConnection<IssueRelation> | undefined>, data: L.IssueRelationConnectionFragment);
2545
2946
  }
2546
2947
  /**
2547
- * Issue relation history's payload
2948
+ * Issue relation history's payload.
2548
2949
  *
2549
2950
  * @param request - function to call the graphql client
2550
2951
  * @param data - L.IssueRelationHistoryPayloadFragment response data
@@ -2597,10 +2998,12 @@ export declare class IssueSearchResult extends Request {
2597
2998
  private _assignee?;
2598
2999
  private _creator?;
2599
3000
  private _cycle?;
3001
+ private _externalUserCreator?;
2600
3002
  private _favorite?;
2601
3003
  private _lastAppliedTemplate?;
2602
3004
  private _parent?;
2603
3005
  private _project?;
3006
+ private _projectMilestone?;
2604
3007
  private _snoozedBy?;
2605
3008
  private _state;
2606
3009
  private _team;
@@ -2633,8 +3036,10 @@ export declare class IssueSearchResult extends Request {
2633
3036
  id: string;
2634
3037
  /** Issue's human readable identifier (e.g. ENG-123). */
2635
3038
  identifier: string;
2636
- /** Metadata related to search result */
2637
- metadata: Record<string, unknown>;
3039
+ /** Id of the labels associated with this issue. */
3040
+ labelIds: string[];
3041
+ /** Metadata related to search result. */
3042
+ metadata: L.Scalars["JSONObject"];
2638
3043
  /** The issue's unique number. */
2639
3044
  number: number;
2640
3045
  /** Previous identifiers of the issue if it has been moved between teams. */
@@ -2667,12 +3072,16 @@ export declare class IssueSearchResult extends Request {
2667
3072
  updatedAt: Date;
2668
3073
  /** Issue URL. */
2669
3074
  url: string;
3075
+ /** The bot that created the issue, if applicable. */
3076
+ botActor?: ActorBot;
2670
3077
  /** The user to whom the issue is assigned to. */
2671
3078
  get assignee(): LinearFetch<User> | undefined;
2672
3079
  /** The user who created the issue. */
2673
3080
  get creator(): LinearFetch<User> | undefined;
2674
3081
  /** The cycle that the issue is associated with. */
2675
3082
  get cycle(): LinearFetch<Cycle> | undefined;
3083
+ /** The external user who created the issue. */
3084
+ get externalUserCreator(): LinearFetch<ExternalUser> | undefined;
2676
3085
  /** The users favorite associated with this issue. */
2677
3086
  get favorite(): LinearFetch<Favorite> | undefined;
2678
3087
  /** The last template that was applied to this issue. */
@@ -2681,6 +3090,8 @@ export declare class IssueSearchResult extends Request {
2681
3090
  get parent(): LinearFetch<Issue> | undefined;
2682
3091
  /** The project that the issue is associated with. */
2683
3092
  get project(): LinearFetch<Project> | undefined;
3093
+ /** The projectMilestone that the issue is associated with. */
3094
+ get projectMilestone(): LinearFetch<ProjectMilestone> | undefined;
2684
3095
  /** The user who snoozed the issue. */
2685
3096
  get snoozedBy(): LinearFetch<User> | undefined;
2686
3097
  /** The workflow state that the issue is associated with. */
@@ -2708,6 +3119,8 @@ export declare class JiraLinearMapping extends Request {
2708
3119
  constructor(request: LinearRequest, data: L.JiraLinearMappingFragment);
2709
3120
  /** Whether the sync for this mapping is bidirectional. */
2710
3121
  bidirectional?: boolean;
3122
+ /** Whether this mapping is the default one for issue creation. */
3123
+ default?: boolean;
2711
3124
  /** The Jira id for this project. */
2712
3125
  jiraProjectId: string;
2713
3126
  /** The Linear team id to map to the given project. */
@@ -2747,6 +3160,8 @@ export declare class JiraProjectData extends Request {
2747
3160
  */
2748
3161
  export declare class JiraSettings extends Request {
2749
3162
  constructor(request: LinearRequest, data: L.JiraSettingsFragment);
3163
+ /** Whether this integration is for Jira Server or not. */
3164
+ isJiraServer?: boolean;
2750
3165
  /** The mapping of Jira project id => Linear team id. */
2751
3166
  projectMapping?: JiraLinearMapping[];
2752
3167
  /** The Jira projects for the organization. */
@@ -2767,7 +3182,7 @@ export declare class LabelNotificationSubscription extends Request {
2767
3182
  private _team?;
2768
3183
  private _user?;
2769
3184
  constructor(request: LinearRequest, data: L.LabelNotificationSubscriptionFragment);
2770
- /** Whether the subscription is active or not */
3185
+ /** Whether the subscription is active or not. */
2771
3186
  active: boolean;
2772
3187
  /** The time at which the entity was archived. Null if the entity has not been archived. */
2773
3188
  archivedAt?: Date;
@@ -2828,6 +3243,7 @@ export declare class Node extends Request {
2828
3243
  */
2829
3244
  export declare class Notification extends Request {
2830
3245
  private _actor?;
3246
+ private _externalUserActor?;
2831
3247
  private _user;
2832
3248
  constructor(request: LinearRequest, data: L.NotificationFragment);
2833
3249
  /** The time at which the entity was archived. Null if the entity has not been archived. */
@@ -2845,7 +3261,7 @@ export declare class Notification extends Request {
2845
3261
  readAt?: Date;
2846
3262
  /** The time until a notification will be snoozed. After that it will appear in the inbox again. */
2847
3263
  snoozedUntilAt?: Date;
2848
- /** Notification type */
3264
+ /** Notification type. */
2849
3265
  type: string;
2850
3266
  /** The time at which a notification was unsnoozed.. */
2851
3267
  unsnoozedAt?: Date;
@@ -2859,6 +3275,8 @@ export declare class Notification extends Request {
2859
3275
  botActor?: ActorBot;
2860
3276
  /** The user that caused the notification. */
2861
3277
  get actor(): LinearFetch<User> | undefined;
3278
+ /** The external user that caused the notification. */
3279
+ get externalUserActor(): LinearFetch<ExternalUser> | undefined;
2862
3280
  /** The user that received the notification. */
2863
3281
  get user(): LinearFetch<User> | undefined;
2864
3282
  /** Archives a notification. */
@@ -2934,7 +3352,7 @@ export declare class NotificationSubscription extends Request {
2934
3352
  private _team?;
2935
3353
  private _user?;
2936
3354
  constructor(request: LinearRequest, data: L.NotificationSubscriptionFragment);
2937
- /** Whether the subscription is active or not */
3355
+ /** Whether the subscription is active or not. */
2938
3356
  active: boolean;
2939
3357
  /** The time at which the entity was archived. Null if the entity has not been archived. */
2940
3358
  archivedAt?: Date;
@@ -3048,7 +3466,7 @@ export declare class OauthClient extends Request {
3048
3466
  webhookResourceTypes: string[];
3049
3467
  /** Webhook secret token for verifying the origin on the recipient side. */
3050
3468
  webhookSecret?: string;
3051
- /** Webhook URL */
3469
+ /** Webhook URL. */
3052
3470
  webhookUrl?: string;
3053
3471
  /** The user who created the OAuth application. */
3054
3472
  get creator(): LinearFetch<User> | undefined;
@@ -3089,13 +3507,14 @@ export declare class OauthClientApproval extends Request {
3089
3507
  updatedAt: Date;
3090
3508
  }
3091
3509
  /**
3092
- * An oauth client approval related notification
3510
+ * An oauth client approval related notification.
3093
3511
  *
3094
3512
  * @param request - function to call the graphql client
3095
3513
  * @param data - L.OauthClientApprovalNotificationFragment response data
3096
3514
  */
3097
3515
  export declare class OauthClientApprovalNotification extends Request {
3098
3516
  private _actor?;
3517
+ private _externalUserActor?;
3099
3518
  private _user;
3100
3519
  constructor(request: LinearRequest, data: L.OauthClientApprovalNotificationFragment);
3101
3520
  /** The time at which the entity was archived. Null if the entity has not been archived. */
@@ -3113,7 +3532,7 @@ export declare class OauthClientApprovalNotification extends Request {
3113
3532
  readAt?: Date;
3114
3533
  /** The time until a notification will be snoozed. After that it will appear in the inbox again. */
3115
3534
  snoozedUntilAt?: Date;
3116
- /** Notification type */
3535
+ /** Notification type. */
3117
3536
  type: string;
3118
3537
  /** The time at which a notification was unsnoozed.. */
3119
3538
  unsnoozedAt?: Date;
@@ -3129,6 +3548,8 @@ export declare class OauthClientApprovalNotification extends Request {
3129
3548
  oauthClientApproval: OauthClientApproval;
3130
3549
  /** The user that caused the notification. */
3131
3550
  get actor(): LinearFetch<User> | undefined;
3551
+ /** The external user that caused the notification. */
3552
+ get externalUserActor(): LinearFetch<ExternalUser> | undefined;
3132
3553
  /** The user that received the notification. */
3133
3554
  get user(): LinearFetch<User> | undefined;
3134
3555
  }
@@ -3142,6 +3563,25 @@ export declare class OauthClientApprovalNotification extends Request {
3142
3563
  export declare class OauthClientConnection extends Connection<OauthClient> {
3143
3564
  constructor(request: LinearRequest, fetch: (connection?: LinearConnectionVariables) => LinearFetch<LinearConnection<OauthClient> | undefined>, data: L.OauthClientConnectionFragment);
3144
3565
  }
3566
+ /**
3567
+ * OauthToken model
3568
+ *
3569
+ * @param request - function to call the graphql client
3570
+ * @param data - L.OauthTokenFragment response data
3571
+ */
3572
+ export declare class OauthToken extends Request {
3573
+ constructor(request: LinearRequest, data: L.OauthTokenFragment);
3574
+ clientId: string;
3575
+ createdAt: Date;
3576
+ id: number;
3577
+ revokedAt?: Date;
3578
+ /** Id of the user who authorized the OAuth application. */
3579
+ userId: string;
3580
+ /** OAuth2 client for which the access token belongs to. */
3581
+ client: AuthOauthClient;
3582
+ /** Auth user who authorized the OAuth application. */
3583
+ user: AuthUser;
3584
+ }
3145
3585
  /**
3146
3586
  * An organization. Organizations are root-level objects that contain user accounts and teams.
3147
3587
  *
@@ -3150,9 +3590,9 @@ export declare class OauthClientConnection extends Connection<OauthClient> {
3150
3590
  */
3151
3591
  export declare class Organization extends Request {
3152
3592
  constructor(request: LinearRequest, data: L.OrganizationFragment);
3153
- /** Whether member users are allowed to send invites */
3593
+ /** Whether member users are allowed to send invites. */
3154
3594
  allowMembersToInvite?: boolean;
3155
- /** Allowed authentication providers, empty array means all are allowed */
3595
+ /** Allowed authentication providers, empty array means all are allowed. */
3156
3596
  allowedAuthServices: string[];
3157
3597
  /** The time at which the entity was archived. Null if the entity has not been archived. */
3158
3598
  archivedAt?: Date;
@@ -3162,6 +3602,8 @@ export declare class Organization extends Request {
3162
3602
  createdIssueCount: number;
3163
3603
  /** The time at which deletion of the organization was requested. */
3164
3604
  deletionRequestedAt?: Date;
3605
+ /** The month at which the fiscal year starts. Defaults to January (0). */
3606
+ fiscalYearStartMonth: number;
3165
3607
  /** How git branches are formatted. If null, default formatting will be used. */
3166
3608
  gitBranchFormat?: string;
3167
3609
  /** Whether the Git integration linkback messages should be sent to private repositories. */
@@ -3254,7 +3696,7 @@ export declare class OrganizationDomain extends Request {
3254
3696
  createdAt: Date;
3255
3697
  /** The unique identifier of the entity. */
3256
3698
  id: string;
3257
- /** Domain name */
3699
+ /** Domain name. */
3258
3700
  name: string;
3259
3701
  /**
3260
3702
  * The last time at which the entity was meaningfully updated, i.e. for all changes of syncable properties except those
@@ -3262,9 +3704,9 @@ export declare class OrganizationDomain extends Request {
3262
3704
  * been updated after creation.
3263
3705
  */
3264
3706
  updatedAt: Date;
3265
- /** E-mail used to verify this domain */
3707
+ /** E-mail used to verify this domain. */
3266
3708
  verificationEmail?: string;
3267
- /** Is this domain verified */
3709
+ /** Is this domain verified. */
3268
3710
  verified: boolean;
3269
3711
  /** The user who added the domain. */
3270
3712
  get creator(): LinearFetch<User> | undefined;
@@ -3294,7 +3736,7 @@ export declare class OrganizationInvite extends Request {
3294
3736
  private _invitee?;
3295
3737
  private _inviter;
3296
3738
  constructor(request: LinearRequest, data: L.OrganizationInviteFragment);
3297
- /** The time at which the invite was accepted. Null, if the invite hasn't been accepted */
3739
+ /** The time at which the invite was accepted. Null, if the invite hasn't been accepted. */
3298
3740
  acceptedAt?: Date;
3299
3741
  /** The time at which the entity was archived. Null if the entity has not been archived. */
3300
3742
  archivedAt?: Date;
@@ -3302,14 +3744,14 @@ export declare class OrganizationInvite extends Request {
3302
3744
  createdAt: Date;
3303
3745
  /** The invitees email address. */
3304
3746
  email: string;
3305
- /** The time at which the invite will be expiring. Null, if the invite shouldn't expire */
3747
+ /** The time at which the invite will be expiring. Null, if the invite shouldn't expire. */
3306
3748
  expiresAt?: Date;
3307
3749
  /** The invite was sent to external address. */
3308
3750
  external: boolean;
3309
3751
  /** The unique identifier of the entity. */
3310
3752
  id: string;
3311
3753
  /** Extra metadata associated with the organization invite. */
3312
- metadata: Record<string, unknown>;
3754
+ metadata: L.Scalars["JSONObject"];
3313
3755
  /**
3314
3756
  * The last time at which the entity was meaningfully updated, i.e. for all changes of syncable properties except those
3315
3757
  * 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
@@ -3351,11 +3793,11 @@ export declare class OrganizationInviteFullDetailsPayload extends Request {
3351
3793
  accepted: boolean;
3352
3794
  /** When the invite was created. */
3353
3795
  createdAt: Date;
3354
- /** The email of the invitee */
3796
+ /** The email of the invitee. */
3355
3797
  email: string;
3356
3798
  /** Whether the invite has expired. */
3357
3799
  expired: boolean;
3358
- /** The name of the inviter */
3800
+ /** The name of the inviter. */
3359
3801
  inviter: string;
3360
3802
  /** ID of the workspace the invite is for. */
3361
3803
  organizationId: string;
@@ -3499,7 +3941,7 @@ export declare class PaidSubscription extends Request {
3499
3941
  */
3500
3942
  export declare class Project extends Request {
3501
3943
  private _convertedFromIssue?;
3502
- private _creator;
3944
+ private _creator?;
3503
3945
  private _integrationsSettings?;
3504
3946
  private _lastAppliedTemplate?;
3505
3947
  private _lead?;
@@ -3597,7 +4039,7 @@ export declare class Project extends Request {
3597
4039
  /** Archives a project. */
3598
4040
  archive(variables?: Omit<L.ArchiveProjectMutationVariables, "id">): LinearFetch<ProjectArchivePayload>;
3599
4041
  /** Creates a new project. */
3600
- create(input: L.ProjectCreateInput): LinearFetch<ProjectPayload>;
4042
+ create(input: L.ProjectCreateInput, variables?: Omit<L.CreateProjectMutationVariables, "input">): LinearFetch<ProjectPayload>;
3601
4043
  /** Deletes (trashes) a project. */
3602
4044
  delete(): LinearFetch<ProjectArchivePayload>;
3603
4045
  /** Unarchives a project. */
@@ -3640,7 +4082,7 @@ export declare class ProjectConnection extends Connection<Project> {
3640
4082
  export declare class ProjectFilterSuggestionPayload extends Request {
3641
4083
  constructor(request: LinearRequest, data: L.ProjectFilterSuggestionPayloadFragment);
3642
4084
  /** The json filter that is suggested. */
3643
- filter?: Record<string, unknown>;
4085
+ filter?: L.Scalars["JSONObject"];
3644
4086
  }
3645
4087
  /**
3646
4088
  * An external link for a project.
@@ -3660,6 +4102,8 @@ export declare class ProjectLink extends Request {
3660
4102
  id: string;
3661
4103
  /** The link's label. */
3662
4104
  label: string;
4105
+ /** The order of the item in the project resources list. */
4106
+ sortOrder: number;
3663
4107
  /**
3664
4108
  * The last time at which the entity was meaningfully updated, i.e. for all changes of syncable properties except those
3665
4109
  * 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
@@ -3736,6 +4180,8 @@ export declare class ProjectMilestone extends Request {
3736
4180
  updatedAt: Date;
3737
4181
  /** The project of the milestone. */
3738
4182
  get project(): LinearFetch<Project> | undefined;
4183
+ /** Issues associated with the project milestone. */
4184
+ issues(variables?: Omit<L.ProjectMilestone_IssuesQueryVariables, "id">): LinearFetch<IssueConnection>;
3739
4185
  /** Creates a new project milestone. */
3740
4186
  create(input: L.ProjectMilestoneCreateInput): LinearFetch<ProjectMilestonePayload>;
3741
4187
  /** Deletes a project milestone. */
@@ -3760,20 +4206,24 @@ export declare class ProjectMilestoneConnection extends Connection<ProjectMilest
3760
4206
  * @param data - L.ProjectMilestonePayloadFragment response data
3761
4207
  */
3762
4208
  export declare class ProjectMilestonePayload extends Request {
4209
+ private _projectMilestone;
3763
4210
  constructor(request: LinearRequest, data: L.ProjectMilestonePayloadFragment);
3764
4211
  /** The identifier of the last sync operation. */
3765
4212
  lastSyncId: number;
3766
4213
  /** Whether the operation was successful. */
3767
4214
  success: boolean;
4215
+ /** The project milestone that was created or updated. */
4216
+ get projectMilestone(): LinearFetch<ProjectMilestone> | undefined;
3768
4217
  }
3769
4218
  /**
3770
- * A project related notification
4219
+ * A project related notification.
3771
4220
  *
3772
4221
  * @param request - function to call the graphql client
3773
4222
  * @param data - L.ProjectNotificationFragment response data
3774
4223
  */
3775
4224
  export declare class ProjectNotification extends Request {
3776
4225
  private _actor?;
4226
+ private _externalUserActor?;
3777
4227
  private _project;
3778
4228
  private _projectUpdate?;
3779
4229
  private _user;
@@ -3793,7 +4243,7 @@ export declare class ProjectNotification extends Request {
3793
4243
  readAt?: Date;
3794
4244
  /** The time until a notification will be snoozed. After that it will appear in the inbox again. */
3795
4245
  snoozedUntilAt?: Date;
3796
- /** Notification type */
4246
+ /** Notification type. */
3797
4247
  type: string;
3798
4248
  /** The time at which a notification was unsnoozed.. */
3799
4249
  unsnoozedAt?: Date;
@@ -3807,6 +4257,8 @@ export declare class ProjectNotification extends Request {
3807
4257
  botActor?: ActorBot;
3808
4258
  /** The user that caused the notification. */
3809
4259
  get actor(): LinearFetch<User> | undefined;
4260
+ /** The external user that caused the notification. */
4261
+ get externalUserActor(): LinearFetch<ExternalUser> | undefined;
3810
4262
  /** The project related to the notification. */
3811
4263
  get project(): LinearFetch<Project> | undefined;
3812
4264
  /** The project update related to the notification. */
@@ -3829,7 +4281,7 @@ export declare class ProjectNotificationSubscription extends Request {
3829
4281
  private _team?;
3830
4282
  private _user?;
3831
4283
  constructor(request: LinearRequest, data: L.ProjectNotificationSubscriptionFragment);
3832
- /** Whether the subscription is active or not */
4284
+ /** Whether the subscription is active or not. */
3833
4285
  active: boolean;
3834
4286
  /** The time at which the entity was archived. Null if the entity has not been archived. */
3835
4287
  archivedAt?: Date;
@@ -3899,7 +4351,7 @@ export declare class ProjectSearchPayload extends Request {
3899
4351
  */
3900
4352
  export declare class ProjectSearchResult extends Request {
3901
4353
  private _convertedFromIssue?;
3902
- private _creator;
4354
+ private _creator?;
3903
4355
  private _integrationsSettings?;
3904
4356
  private _lastAppliedTemplate?;
3905
4357
  private _lead?;
@@ -3932,8 +4384,8 @@ export declare class ProjectSearchResult extends Request {
3932
4384
  inProgressScopeHistory: number[];
3933
4385
  /** The total number of issues in the project after each week. */
3934
4386
  issueCountHistory: number[];
3935
- /** Metadata related to search result */
3936
- metadata: Record<string, unknown>;
4387
+ /** Metadata related to search result. */
4388
+ metadata: L.Scalars["JSONObject"];
3937
4389
  /** The project's name. */
3938
4390
  name: string;
3939
4391
  /** The overall progress of the project. This is the (completed estimate points + 0.25 * in progress estimate points) / total estimate points. */
@@ -4010,13 +4462,15 @@ export declare class ProjectUpdate extends Request {
4010
4462
  /** The time at which the entity was created. */
4011
4463
  createdAt: Date;
4012
4464
  /** The diff between the current update and the previous one. */
4013
- diff?: Record<string, unknown>;
4465
+ diff?: L.Scalars["JSONObject"];
4014
4466
  /** The diff between the current update and the previous one, formatted as markdown. */
4015
4467
  diffMarkdown?: string;
4016
4468
  /** The time the project update was edited. */
4017
4469
  editedAt?: Date;
4018
4470
  /** The unique identifier of the entity. */
4019
4471
  id: string;
4472
+ /** Whether project update diff should be hidden. */
4473
+ isDiffHidden: boolean;
4020
4474
  /**
4021
4475
  * The last time at which the entity was meaningfully updated, i.e. for all changes of syncable properties except those
4022
4476
  * 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
@@ -4255,6 +4709,9 @@ export declare class RateLimitResultPayload extends Request {
4255
4709
  * @param data - L.ReactionFragment response data
4256
4710
  */
4257
4711
  export declare class Reaction extends Request {
4712
+ private _comment?;
4713
+ private _issue?;
4714
+ private _projectUpdate?;
4258
4715
  private _user?;
4259
4716
  constructor(request: LinearRequest, data: L.ReactionFragment);
4260
4717
  /** The time at which the entity was archived. Null if the entity has not been archived. */
@@ -4271,7 +4728,13 @@ export declare class Reaction extends Request {
4271
4728
  * been updated after creation.
4272
4729
  */
4273
4730
  updatedAt: Date;
4274
- /** The user who reacted. */
4731
+ /** The comment that the reaction is associated with. */
4732
+ get comment(): LinearFetch<Comment> | undefined;
4733
+ /** The issue that the reaction is associated with. */
4734
+ get issue(): LinearFetch<Issue> | undefined;
4735
+ /** The project update that the reaction is associated with. */
4736
+ get projectUpdate(): LinearFetch<ProjectUpdate> | undefined;
4737
+ /** The user that created the reaction. */
4275
4738
  get user(): LinearFetch<User> | undefined;
4276
4739
  /** Creates a new reaction. */
4277
4740
  create(input: L.ReactionCreateInput): LinearFetch<ReactionPayload>;
@@ -4395,7 +4858,7 @@ export declare class RoadmapPayload extends Request {
4395
4858
  get roadmap(): LinearFetch<Roadmap> | undefined;
4396
4859
  }
4397
4860
  /**
4398
- * Join table between projects and roadmaps
4861
+ * Join table between projects and roadmaps.
4399
4862
  *
4400
4863
  * @param request - function to call the graphql client
4401
4864
  * @param data - L.RoadmapToProjectFragment response data
@@ -4455,42 +4918,6 @@ export declare class RoadmapToProjectPayload extends Request {
4455
4918
  /** The roadmapToProject that was created or updated. */
4456
4919
  get roadmapToProject(): LinearFetch<RoadmapToProject> | undefined;
4457
4920
  }
4458
- /**
4459
- * SamlConfiguration model
4460
- *
4461
- * @param request - function to call the graphql client
4462
- * @param data - L.SamlConfigurationFragment response data
4463
- */
4464
- export declare class SamlConfiguration extends Request {
4465
- constructor(request: LinearRequest, data: L.SamlConfigurationFragment);
4466
- /** The issuer's custom entity ID. */
4467
- issuerEntityId?: string;
4468
- /** Binding method for authentication call. Can be either `post` (default) or `redirect`. */
4469
- ssoBinding?: string;
4470
- /** Sign in endpoint URL for the identity provider. */
4471
- ssoEndpoint?: string;
4472
- /** The algorithm of the Signing Certificate. Can be one of `sha1`, `sha256` (default), or `sha512`. */
4473
- ssoSignAlgo?: string;
4474
- /** X.509 Signing Certificate in string form. */
4475
- ssoSigningCert?: string;
4476
- }
4477
- /**
4478
- * The organization's SAML configuration
4479
- *
4480
- * @param request - function to call the graphql client
4481
- * @param data - L.SamlConfigurationPayloadFragment response data
4482
- */
4483
- export declare class SamlConfigurationPayload extends Request {
4484
- constructor(request: LinearRequest, data: L.SamlConfigurationPayloadFragment);
4485
- /** The issuer's custom entity ID. */
4486
- issuerEntityId?: string;
4487
- /** Binding method for authentication call. Can be either `post` (default) or `redirect`. */
4488
- ssoBinding?: string;
4489
- /** Sign in endpoint URL for the identity provider. */
4490
- ssoEndpoint?: string;
4491
- /** The algorithm of the Signing Certificate. Can be one of `sha1`, `sha256` (default), or `sha512`. */
4492
- ssoSignAlgo?: string;
4493
- }
4494
4921
  /**
4495
4922
  * Sentry specific settings.
4496
4923
  *
@@ -4514,43 +4941,67 @@ export declare class SlackAsksSettings extends Request {
4514
4941
  slackChannelMapping?: SlackChannelNameMapping[];
4515
4942
  }
4516
4943
  /**
4517
- * Tuple for mapping Slack channel IDs to names
4944
+ * Tuple for mapping Slack channel IDs to names.
4518
4945
  *
4519
4946
  * @param request - function to call the graphql client
4520
4947
  * @param data - L.SlackAsksTeamSettingsFragment response data
4521
4948
  */
4522
4949
  export declare class SlackAsksTeamSettings extends Request {
4523
4950
  constructor(request: LinearRequest, data: L.SlackAsksTeamSettingsFragment);
4524
- /** Whether the default Asks template is enabled in the given channel for this team */
4951
+ /** Whether the default Asks template is enabled in the given channel for this team. */
4525
4952
  hasDefaultAsk: boolean;
4526
4953
  /** The Linear team ID. */
4527
4954
  id: string;
4528
4955
  }
4529
4956
  /**
4530
- * Object for mapping Slack channel IDs to names and other settings
4957
+ * SlackChannelConnectPayload model
4958
+ *
4959
+ * @param request - function to call the graphql client
4960
+ * @param data - L.SlackChannelConnectPayloadFragment response data
4961
+ */
4962
+ export declare class SlackChannelConnectPayload extends Request {
4963
+ private _integration?;
4964
+ constructor(request: LinearRequest, data: L.SlackChannelConnectPayloadFragment);
4965
+ /** Whether the bot needs to be manually added to the channel. */
4966
+ addBot: boolean;
4967
+ /** The identifier of the last sync operation. */
4968
+ lastSyncId: number;
4969
+ /** Whether it's recommended to connect main Slack integration. */
4970
+ nudgeToConnectMainSlackIntegration?: boolean;
4971
+ /** Whether it's recommended to update main Slack integration. */
4972
+ nudgeToUpdateMainSlackIntegration?: boolean;
4973
+ /** Whether the operation was successful. */
4974
+ success: boolean;
4975
+ /** The integration that was created or updated. */
4976
+ get integration(): LinearFetch<Integration> | undefined;
4977
+ }
4978
+ /**
4979
+ * Object for mapping Slack channel IDs to names and other settings.
4531
4980
  *
4532
4981
  * @param request - function to call the graphql client
4533
4982
  * @param data - L.SlackChannelNameMappingFragment response data
4534
4983
  */
4535
4984
  export declare class SlackChannelNameMapping extends Request {
4536
4985
  constructor(request: LinearRequest, data: L.SlackChannelNameMappingFragment);
4537
- /** Whether or not @-mentioning the bot should automatically create an Ask with the message */
4986
+ /** Whether or not @-mentioning the bot should automatically create an Ask with the message. */
4538
4987
  autoCreateOnBotMention?: boolean;
4539
- /** Whether or not using the :ticket: emoji in this channel should automatically create Asks */
4988
+ /** Whether or not using the :ticket: emoji in this channel should automatically create Asks. */
4540
4989
  autoCreateOnEmoji?: boolean;
4541
- /** Whether or not top-level messages in this channel should automatically create Asks */
4990
+ /** Whether or not top-level messages in this channel should automatically create Asks. */
4542
4991
  autoCreateOnMessage?: boolean;
4543
- /** Whether or not we the Linear Asks bot has been added to this Slack channel */
4992
+ /** The optional template ID to use for Asks auto-created in this channel. If not set, auto-created Asks won't use any template. */
4993
+ autoCreateTemplateId?: string;
4994
+ /** Whether or not we the Linear Asks bot has been added to this Slack channel. */
4544
4995
  botAdded?: boolean;
4545
4996
  /** The Slack channel ID. */
4546
4997
  id: string;
4547
- /** Whether or not the Slack channel is private */
4998
+ /** Whether or not the Slack channel is private. */
4548
4999
  isPrivate?: boolean;
4549
- /** Whether or not the Slack channel is shared with an external org */
5000
+ /** Whether or not the Slack channel is shared with an external org. */
4550
5001
  isShared?: boolean;
4551
5002
  /** The Slack channel name. */
4552
5003
  name: string;
4553
- /** Which teams are connected to the channel and settings for those teams */
5004
+ /** Which teams are connected to the channel and settings for those teams. */
4554
5005
  teams: SlackAsksTeamSettings[];
4555
5006
  }
4556
5007
  /**
@@ -4589,28 +5040,6 @@ export declare class SsoUrlFromEmailResponse extends Request {
4589
5040
  /** Whether the operation was successful. */
4590
5041
  success: boolean;
4591
5042
  }
4592
- /**
4593
- * Contains either the full serialized state of the application or delta packets that the requester can apply to the local data set in order to be up-to-date.
4594
- *
4595
- * @param request - function to call the graphql client
4596
- * @param data - L.SyncResponseFragment response data
4597
- */
4598
- export declare class SyncResponse extends Request {
4599
- constructor(request: LinearRequest, data: L.SyncResponseFragment);
4600
- /** The version of the remote database. Incremented by 1 for each migration run on the database. */
4601
- databaseVersion: number;
4602
- /** JSON serialized delta changes that the client can apply to its local state in order to catch up with the state of the world. */
4603
- delta?: string;
4604
- /** The last sync id covered by the response. */
4605
- lastSyncId: number;
4606
- /**
4607
- * The full state of the organization as a serialized JSON object.
4608
- * Mutually exclusive with the delta property
4609
- */
4610
- state?: string;
4611
- /** The sync groups that the user is subscribed to. */
4612
- subscribedSyncGroups: string[];
4613
- }
4614
5043
  /**
4615
5044
  * SynchronizedPayload model
4616
5045
  *
@@ -4697,7 +5126,7 @@ export declare class Team extends Request {
4697
5126
  issueEstimationType: string;
4698
5127
  /** Whether issues without priority should be sorted first. */
4699
5128
  issueOrderingNoPriorityFirst: boolean;
4700
- /** Whether to move issues to bottom of the column when changing state. */
5129
+ /** [DEPRECATED] Whether to move issues to bottom of the column when changing state. Use setIssueSortOrderOnStateChange instead. */
4701
5130
  issueSortOrderDefaultToBottom: boolean;
4702
5131
  /** The team's unique key. The key is used in URLs. */
4703
5132
  key: string;
@@ -4705,8 +5134,10 @@ export declare class Team extends Request {
4705
5134
  name: string;
4706
5135
  /** Whether the team is private or not. */
4707
5136
  private: boolean;
4708
- /** Whether an issue needs to have a priority set before leaving triage */
5137
+ /** Whether an issue needs to have a priority set before leaving triage. */
4709
5138
  requirePriorityToLeaveTriage: boolean;
5139
+ /** Where to move issues when changing state. */
5140
+ setIssueSortOrderOnStateChange: string;
4710
5141
  /** Whether to send new issue comment notifications to Slack. */
4711
5142
  slackIssueComments: boolean;
4712
5143
  /** Whether to send new issue status updates to Slack. */
@@ -4755,6 +5186,8 @@ export declare class Team extends Request {
4755
5186
  get triageIssueState(): LinearFetch<WorkflowState> | undefined;
4756
5187
  /** Cycles associated with the team. */
4757
5188
  cycles(variables?: Omit<L.Team_CyclesQueryVariables, "id">): LinearFetch<CycleConnection>;
5189
+ /** The Git automation states for the team. */
5190
+ gitAutomationStates(variables?: Omit<L.Team_GitAutomationStatesQueryVariables, "id">): LinearFetch<GitAutomationStateConnection>;
4758
5191
  /** Issues associated with the team. */
4759
5192
  issues(variables?: Omit<L.Team_IssuesQueryVariables, "id">): LinearFetch<IssueConnection>;
4760
5193
  /** Labels associated with the team. */
@@ -4775,9 +5208,27 @@ export declare class Team extends Request {
4775
5208
  create(input: L.TeamCreateInput, variables?: Omit<L.CreateTeamMutationVariables, "input">): LinearFetch<TeamPayload>;
4776
5209
  /** Deletes a team. */
4777
5210
  delete(): LinearFetch<DeletePayload>;
5211
+ /** Unarchives a team and cancels deletion. */
5212
+ unarchive(): LinearFetch<TeamArchivePayload>;
4778
5213
  /** Updates a team. */
4779
5214
  update(input: L.TeamUpdateInput): LinearFetch<TeamPayload>;
4780
5215
  }
5216
+ /**
5217
+ * A generic payload return from entity archive mutations.
5218
+ *
5219
+ * @param request - function to call the graphql client
5220
+ * @param data - L.TeamArchivePayloadFragment response data
5221
+ */
5222
+ export declare class TeamArchivePayload extends Request {
5223
+ private _entity?;
5224
+ constructor(request: LinearRequest, data: L.TeamArchivePayloadFragment);
5225
+ /** The identifier of the last sync operation. */
5226
+ lastSyncId: number;
5227
+ /** Whether the operation was successful. */
5228
+ success: boolean;
5229
+ /** The archived/unarchived entity. Null if entity was deleted. */
5230
+ get entity(): LinearFetch<Team> | undefined;
5231
+ }
4781
5232
  /**
4782
5233
  * TeamConnection model
4783
5234
  *
@@ -4804,7 +5255,7 @@ export declare class TeamMembership extends Request {
4804
5255
  createdAt: Date;
4805
5256
  /** The unique identifier of the entity. */
4806
5257
  id: string;
4807
- /** Whether the user is the owner of the team */
5258
+ /** Whether the user is the owner of the team. */
4808
5259
  owner?: boolean;
4809
5260
  /** The order of the item in the users team list. */
4810
5261
  sortOrder: number;
@@ -4866,7 +5317,7 @@ export declare class TeamNotificationSubscription extends Request {
4866
5317
  private _team;
4867
5318
  private _user?;
4868
5319
  constructor(request: LinearRequest, data: L.TeamNotificationSubscriptionFragment);
4869
- /** Whether the subscription is active or not */
5320
+ /** Whether the subscription is active or not. */
4870
5321
  active: boolean;
4871
5322
  /** The time at which the entity was archived. Null if the entity has not been archived. */
4872
5323
  archivedAt?: Date;
@@ -4914,13 +5365,17 @@ export declare class TeamPayload extends Request {
4914
5365
  get team(): LinearFetch<Team> | undefined;
4915
5366
  }
4916
5367
  /**
4917
- * Tuple for mapping Linear teams to GitHub repos.
5368
+ * Mapping of Linear teams to GitHub repos.
4918
5369
  *
4919
5370
  * @param request - function to call the graphql client
4920
5371
  * @param data - L.TeamRepoMappingFragment response data
4921
5372
  */
4922
5373
  export declare class TeamRepoMapping extends Request {
4923
5374
  constructor(request: LinearRequest, data: L.TeamRepoMappingFragment);
5375
+ /** Whether the sync for this mapping is bidirectional. */
5376
+ bidirectional?: boolean;
5377
+ /** Whether this mapping is the default one for issue creation. */
5378
+ default?: boolean;
4924
5379
  /** The GitHub repo id. */
4925
5380
  gitHubRepoId: number;
4926
5381
  /** The Linear team id to map to the given project. */
@@ -4976,12 +5431,11 @@ export declare class Template extends Request {
4976
5431
  * TemplateConnection model
4977
5432
  *
4978
5433
  * @param request - function to call the graphql client
4979
- * @param data - L.TemplateConnectionFragment response data
5434
+ * @param fetch - function to trigger a refetch of this TemplateConnection model
5435
+ * @param data - TemplateConnection response data
4980
5436
  */
4981
- export declare class TemplateConnection extends Request {
4982
- constructor(request: LinearRequest, data: L.TemplateConnectionFragment);
4983
- pageInfo: PageInfo;
4984
- get nodes(): LinearFetch<Template[]>;
5437
+ export declare class TemplateConnection extends Connection<Template> {
5438
+ constructor(request: LinearRequest, fetch: (connection?: LinearConnectionVariables) => LinearFetch<LinearConnection<Template> | undefined>, data: L.TemplateConnectionFragment);
4985
5439
  }
4986
5440
  /**
4987
5441
  * TemplatePayload model
@@ -4999,6 +5453,82 @@ export declare class TemplatePayload extends Request {
4999
5453
  /** The template that was created or updated. */
5000
5454
  get template(): LinearFetch<Template> | undefined;
5001
5455
  }
5456
+ /**
5457
+ * A time schedule.
5458
+ *
5459
+ * @param request - function to call the graphql client
5460
+ * @param data - L.TimeScheduleFragment response data
5461
+ */
5462
+ export declare class TimeSchedule extends Request {
5463
+ private _integration?;
5464
+ constructor(request: LinearRequest, data: L.TimeScheduleFragment);
5465
+ /** The time at which the entity was archived. Null if the entity has not been archived. */
5466
+ archivedAt?: Date;
5467
+ /** The time at which the entity was created. */
5468
+ createdAt: Date;
5469
+ /** User presentable error message, if an error occurred while updating the schedule. */
5470
+ error?: string;
5471
+ /** The identifier of the external schedule. */
5472
+ externalId?: string;
5473
+ /** The URL to the external schedule. */
5474
+ externalUrl?: string;
5475
+ /** The unique identifier of the entity. */
5476
+ id: string;
5477
+ /** The name of the schedule. */
5478
+ name: string;
5479
+ /**
5480
+ * The last time at which the entity was meaningfully updated, i.e. for all changes of syncable properties except those
5481
+ * 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
5482
+ * been updated after creation.
5483
+ */
5484
+ updatedAt: Date;
5485
+ /** The schedule entries. */
5486
+ entries: TimeScheduleEntry[];
5487
+ /** The identifier of the Linear integration populating the schedule. */
5488
+ get integration(): LinearFetch<Integration> | undefined;
5489
+ /** The organization of the schedule. */
5490
+ get organization(): LinearFetch<Organization>;
5491
+ }
5492
+ /**
5493
+ * TimeScheduleConnection model
5494
+ *
5495
+ * @param request - function to call the graphql client
5496
+ * @param fetch - function to trigger a refetch of this TimeScheduleConnection model
5497
+ * @param data - TimeScheduleConnection response data
5498
+ */
5499
+ export declare class TimeScheduleConnection extends Connection<TimeSchedule> {
5500
+ constructor(request: LinearRequest, fetch: (connection?: LinearConnectionVariables) => LinearFetch<LinearConnection<TimeSchedule> | undefined>, data: L.TimeScheduleConnectionFragment);
5501
+ }
5502
+ /**
5503
+ * TimeScheduleEntry model
5504
+ *
5505
+ * @param request - function to call the graphql client
5506
+ * @param data - L.TimeScheduleEntryFragment response data
5507
+ */
5508
+ export declare class TimeScheduleEntry extends Request {
5509
+ constructor(request: LinearRequest, data: L.TimeScheduleEntryFragment);
5510
+ /** The end date of the schedule in ISO 8601 date-time format. */
5511
+ endsAt: Date;
5512
+ /** The start date of the schedule in ISO 8601 date-time format. */
5513
+ startsAt: Date;
5514
+ /** The email of the user on schedule. This is used in case the external user could not be mapped to a Linear user id. */
5515
+ userEmail?: string;
5516
+ /** The Linear user id of the user on schedule. If the user cannot be mapped to a Linear user then `userEmail` can be used as a reference. */
5517
+ userId?: string;
5518
+ }
5519
+ /**
5520
+ * TimeSchedulePayload model
5521
+ *
5522
+ * @param request - function to call the graphql client
5523
+ * @param data - L.TimeSchedulePayloadFragment response data
5524
+ */
5525
+ export declare class TimeSchedulePayload extends Request {
5526
+ constructor(request: LinearRequest, data: L.TimeSchedulePayloadFragment);
5527
+ /** The identifier of the last sync operation. */
5528
+ lastSyncId: number;
5529
+ /** Whether the operation was successful. */
5530
+ success: boolean;
5531
+ }
5002
5532
  /**
5003
5533
  * A team's triage responsibility.
5004
5534
  *
@@ -5016,9 +5546,9 @@ export declare class TriageResponsibility extends Request {
5016
5546
  /** The unique identifier of the entity. */
5017
5547
  id: string;
5018
5548
  /** Set of users used for triage responsibility. */
5019
- manualSelection?: Record<string, unknown>;
5549
+ manualSelection?: L.Scalars["JSONObject"];
5020
5550
  /** Schedule used for triage responsibility. */
5021
- schedule?: Record<string, unknown>;
5551
+ schedule?: L.Scalars["JSONObject"];
5022
5552
  /**
5023
5553
  * The last time at which the entity was meaningfully updated, i.e. for all changes of syncable properties except those
5024
5554
  * 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
@@ -5048,16 +5578,16 @@ export declare class TriageResponsibilityConnection extends Connection<TriageRes
5048
5578
  */
5049
5579
  export declare class UploadFile extends Request {
5050
5580
  constructor(request: LinearRequest, data: L.UploadFileFragment);
5051
- /** The asset URL for the uploaded file. (assigned automatically) */
5581
+ /** The asset URL for the uploaded file. (assigned automatically). */
5052
5582
  assetUrl: string;
5053
5583
  /** The content type. */
5054
5584
  contentType: string;
5055
5585
  /** The filename. */
5056
5586
  filename: string;
5057
- metaData?: Record<string, unknown>;
5587
+ metaData?: L.Scalars["JSONObject"];
5058
5588
  /** The size of the uploaded file. */
5059
5589
  size: number;
5060
- /** The signed URL the for the uploaded file. (assigned automatically) */
5590
+ /** The signed URL the for the uploaded file. (assigned automatically). */
5061
5591
  uploadUrl: string;
5062
5592
  headers: UploadFileHeader[];
5063
5593
  }
@@ -5174,6 +5704,8 @@ export declare class UserAccount extends Request {
5174
5704
  constructor(request: LinearRequest, data: L.UserAccountFragment);
5175
5705
  /** The time at which the model was archived. */
5176
5706
  archivedAt?: Date;
5707
+ /** Whether not to send email auth links in the email auth emails. */
5708
+ authTokenLinkDisabled: boolean;
5177
5709
  /** The time at which the model was created. */
5178
5710
  createdAt: Date;
5179
5711
  /** The user's email address. */
@@ -5206,7 +5738,7 @@ export declare class UserAdminPayload extends Request {
5206
5738
  */
5207
5739
  export declare class UserAuthorizedApplication extends Request {
5208
5740
  constructor(request: LinearRequest, data: L.UserAuthorizedApplicationFragment);
5209
- /** Error associated with the application needing to be requested for approval in the workspace */
5741
+ /** Error associated with the application needing to be requested for approval in the workspace. */
5210
5742
  approvalErrorCode?: string;
5211
5743
  /** OAuth application's client ID. */
5212
5744
  clientId: string;
@@ -5254,7 +5786,7 @@ export declare class UserNotificationSubscription extends Request {
5254
5786
  private _team?;
5255
5787
  private _user;
5256
5788
  constructor(request: LinearRequest, data: L.UserNotificationSubscriptionFragment);
5257
- /** Whether the subscription is active or not */
5789
+ /** Whether the subscription is active or not. */
5258
5790
  active: boolean;
5259
5791
  /** The time at which the entity was archived. Null if the entity has not been archived. */
5260
5792
  archivedAt?: Date;
@@ -5319,7 +5851,7 @@ export declare class UserSettings extends Request {
5319
5851
  /** The unique identifier of the entity. */
5320
5852
  id: string;
5321
5853
  /** The notification channel settings the user has selected. */
5322
- notificationPreferences: Record<string, unknown>;
5854
+ notificationPreferences: L.Scalars["JSONObject"];
5323
5855
  /** Whether to show full user names instead of display names. */
5324
5856
  showFullUserNames: boolean;
5325
5857
  /** The email types the user has unsubscribed from. */
@@ -5427,7 +5959,7 @@ export declare class ViewPreferencesPayload extends Request {
5427
5959
  viewPreferences: ViewPreferences;
5428
5960
  }
5429
5961
  /**
5430
- * A webhook used to send HTTP notifications over data updates
5962
+ * A webhook used to send HTTP notifications over data updates.
5431
5963
  *
5432
5964
  * @param request - function to call the graphql client
5433
5965
  * @param data - L.WebhookFragment response data
@@ -5446,7 +5978,7 @@ export declare class Webhook extends Request {
5446
5978
  enabled: boolean;
5447
5979
  /** The unique identifier of the entity. */
5448
5980
  id: string;
5449
- /** Webhook label */
5981
+ /** Webhook label. */
5450
5982
  label?: string;
5451
5983
  /** The resource types this webhook is subscribed to. */
5452
5984
  resourceTypes: string[];
@@ -5458,7 +5990,7 @@ export declare class Webhook extends Request {
5458
5990
  * been updated after creation.
5459
5991
  */
5460
5992
  updatedAt: Date;
5461
- /** Webhook URL */
5993
+ /** Webhook URL. */
5462
5994
  url?: string;
5463
5995
  /** The user who created the webhook. */
5464
5996
  get creator(): LinearFetch<User> | undefined;
@@ -5508,7 +6040,7 @@ export declare class WorkflowCronJobDefinition extends Request {
5508
6040
  private _team;
5509
6041
  constructor(request: LinearRequest, data: L.WorkflowCronJobDefinitionFragment);
5510
6042
  /** An array of activities that will be executed as part of the workflow cron job. */
5511
- activities: Record<string, unknown>;
6043
+ activities: L.Scalars["JSONObject"];
5512
6044
  /** The time at which the entity was archived. Null if the entity has not been archived. */
5513
6045
  archivedAt?: Date;
5514
6046
  /** The time at which the entity was created. */
@@ -5521,7 +6053,7 @@ export declare class WorkflowCronJobDefinition extends Request {
5521
6053
  /** The name of the workflow cron job. */
5522
6054
  name: string;
5523
6055
  /** Cron schedule which is used to execute the workflow cron job. */
5524
- schedule: Record<string, unknown>;
6056
+ schedule: L.Scalars["JSONObject"];
5525
6057
  /** The sort order of the workflow cron job definition within its siblings. */
5526
6058
  sortOrder: string;
5527
6059
  /**
@@ -5561,11 +6093,11 @@ export declare class WorkflowDefinition extends Request {
5561
6093
  private _user?;
5562
6094
  constructor(request: LinearRequest, data: L.WorkflowDefinitionFragment);
5563
6095
  /** An array of activities that will be executed as part of the workflow. */
5564
- activities: Record<string, unknown>;
6096
+ activities: L.Scalars["JSONObject"];
5565
6097
  /** The time at which the entity was archived. Null if the entity has not been archived. */
5566
6098
  archivedAt?: Date;
5567
6099
  /** The conditions that need to be match for the workflow to be triggered. */
5568
- conditions: Record<string, unknown>;
6100
+ conditions: L.Scalars["JSONObject"];
5569
6101
  /** The time at which the entity was created. */
5570
6102
  createdAt: Date;
5571
6103
  /** The description of the workflow. */
@@ -5909,10 +6441,10 @@ export declare class CommentQuery extends Request {
5909
6441
  /**
5910
6442
  * Call the Comment query and return a Comment
5911
6443
  *
5912
- * @param id - required id to pass to comment
6444
+ * @param variables - variables to pass into the CommentQuery
5913
6445
  * @returns parsed response from CommentQuery
5914
6446
  */
5915
- fetch(id: string): LinearFetch<Comment>;
6447
+ fetch(variables?: L.CommentQueryVariables): LinearFetch<Comment>;
5916
6448
  }
5917
6449
  /**
5918
6450
  * A fetchable Comments Query
@@ -6079,6 +6611,36 @@ export declare class EmojisQuery extends Request {
6079
6611
  */
6080
6612
  fetch(variables?: L.EmojisQueryVariables): LinearFetch<EmojiConnection>;
6081
6613
  }
6614
+ /**
6615
+ * A fetchable ExternalUser Query
6616
+ *
6617
+ * @param request - function to call the graphql client
6618
+ */
6619
+ export declare class ExternalUserQuery extends Request {
6620
+ constructor(request: LinearRequest);
6621
+ /**
6622
+ * Call the ExternalUser query and return a ExternalUser
6623
+ *
6624
+ * @param id - required id to pass to externalUser
6625
+ * @returns parsed response from ExternalUserQuery
6626
+ */
6627
+ fetch(id: string): LinearFetch<ExternalUser>;
6628
+ }
6629
+ /**
6630
+ * A fetchable ExternalUsers Query
6631
+ *
6632
+ * @param request - function to call the graphql client
6633
+ */
6634
+ export declare class ExternalUsersQuery extends Request {
6635
+ constructor(request: LinearRequest);
6636
+ /**
6637
+ * Call the ExternalUsers query and return a ExternalUserConnection
6638
+ *
6639
+ * @param variables - variables to pass into the ExternalUsersQuery
6640
+ * @returns parsed response from ExternalUsersQuery
6641
+ */
6642
+ fetch(variables?: L.ExternalUsersQueryVariables): LinearFetch<ExternalUserConnection>;
6643
+ }
6082
6644
  /**
6083
6645
  * A fetchable Favorite Query
6084
6646
  *
@@ -6124,6 +6686,22 @@ export declare class IntegrationQuery extends Request {
6124
6686
  */
6125
6687
  fetch(id: string): LinearFetch<Integration>;
6126
6688
  }
6689
+ /**
6690
+ * A fetchable IntegrationHasScopes Query
6691
+ *
6692
+ * @param request - function to call the graphql client
6693
+ */
6694
+ export declare class IntegrationHasScopesQuery extends Request {
6695
+ constructor(request: LinearRequest);
6696
+ /**
6697
+ * Call the IntegrationHasScopes query and return a IntegrationHasScopesPayload
6698
+ *
6699
+ * @param integrationId - required integrationId to pass to integrationHasScopes
6700
+ * @param scopes - required scopes to pass to integrationHasScopes
6701
+ * @returns parsed response from IntegrationHasScopesQuery
6702
+ */
6703
+ fetch(integrationId: string, scopes: string[]): LinearFetch<IntegrationHasScopesPayload>;
6704
+ }
6127
6705
  /**
6128
6706
  * A fetchable IntegrationTemplate Query
6129
6707
  *
@@ -6674,9 +7252,10 @@ export declare class PushSubscriptionTestQuery extends Request {
6674
7252
  /**
6675
7253
  * Call the PushSubscriptionTest query and return a PushSubscriptionTestPayload
6676
7254
  *
7255
+ * @param variables - variables to pass into the PushSubscriptionTestQuery
6677
7256
  * @returns parsed response from PushSubscriptionTestQuery
6678
7257
  */
6679
- fetch(): LinearFetch<PushSubscriptionTestPayload>;
7258
+ fetch(variables?: L.PushSubscriptionTestQueryVariables): LinearFetch<PushSubscriptionTestPayload>;
6680
7259
  }
6681
7260
  /**
6682
7261
  * A fetchable RateLimitStatus Query
@@ -7164,6 +7743,23 @@ export declare class AttachmentLinkFrontMutation extends Request {
7164
7743
  */
7165
7744
  fetch(conversationId: string, issueId: string, variables?: Omit<L.AttachmentLinkFrontMutationVariables, "conversationId" | "issueId">): LinearFetch<FrontAttachmentPayload>;
7166
7745
  }
7746
+ /**
7747
+ * A fetchable AttachmentLinkGitHubIssue Mutation
7748
+ *
7749
+ * @param request - function to call the graphql client
7750
+ */
7751
+ export declare class AttachmentLinkGitHubIssueMutation extends Request {
7752
+ constructor(request: LinearRequest);
7753
+ /**
7754
+ * Call the AttachmentLinkGitHubIssue mutation and return a AttachmentPayload
7755
+ *
7756
+ * @param issueId - required issueId to pass to attachmentLinkGitHubIssue
7757
+ * @param url - required url to pass to attachmentLinkGitHubIssue
7758
+ * @param variables - variables without 'issueId', 'url' to pass into the AttachmentLinkGitHubIssueMutation
7759
+ * @returns parsed response from AttachmentLinkGitHubIssueMutation
7760
+ */
7761
+ fetch(issueId: string, url: string, variables?: Omit<L.AttachmentLinkGitHubIssueMutationVariables, "issueId" | "url">): LinearFetch<AttachmentPayload>;
7762
+ }
7167
7763
  /**
7168
7764
  * A fetchable AttachmentLinkGitHubPr Mutation
7169
7765
  *
@@ -7175,14 +7771,11 @@ export declare class AttachmentLinkGitHubPrMutation extends Request {
7175
7771
  * Call the AttachmentLinkGitHubPr mutation and return a AttachmentPayload
7176
7772
  *
7177
7773
  * @param issueId - required issueId to pass to attachmentLinkGitHubPR
7178
- * @param number - required number to pass to attachmentLinkGitHubPR
7179
- * @param owner - required owner to pass to attachmentLinkGitHubPR
7180
- * @param repo - required repo to pass to attachmentLinkGitHubPR
7181
7774
  * @param url - required url to pass to attachmentLinkGitHubPR
7182
- * @param variables - variables without 'issueId', 'number', 'owner', 'repo', 'url' to pass into the AttachmentLinkGitHubPrMutation
7775
+ * @param variables - variables without 'issueId', 'url' to pass into the AttachmentLinkGitHubPrMutation
7183
7776
  * @returns parsed response from AttachmentLinkGitHubPrMutation
7184
7777
  */
7185
- fetch(issueId: string, number: number, owner: string, repo: string, url: string, variables?: Omit<L.AttachmentLinkGitHubPrMutationVariables, "issueId" | "number" | "owner" | "repo" | "url">): LinearFetch<AttachmentPayload>;
7778
+ fetch(issueId: string, url: string, variables?: Omit<L.AttachmentLinkGitHubPrMutationVariables, "issueId" | "url">): LinearFetch<AttachmentPayload>;
7186
7779
  }
7187
7780
  /**
7188
7781
  * A fetchable AttachmentLinkGitLabMr Mutation
@@ -7535,6 +8128,21 @@ export declare class CreateCycleMutation extends Request {
7535
8128
  */
7536
8129
  fetch(input: L.CycleCreateInput): LinearFetch<CyclePayload>;
7537
8130
  }
8131
+ /**
8132
+ * A fetchable CycleShiftAll Mutation
8133
+ *
8134
+ * @param request - function to call the graphql client
8135
+ */
8136
+ export declare class CycleShiftAllMutation extends Request {
8137
+ constructor(request: LinearRequest);
8138
+ /**
8139
+ * Call the CycleShiftAll mutation and return a CyclePayload
8140
+ *
8141
+ * @param input - required input to pass to cycleShiftAll
8142
+ * @returns parsed response from CycleShiftAllMutation
8143
+ */
8144
+ fetch(input: L.CycleShiftAllInput): LinearFetch<CyclePayload>;
8145
+ }
7538
8146
  /**
7539
8147
  * A fetchable UpdateCycle Mutation
7540
8148
  *
@@ -7589,13 +8197,74 @@ export declare class DeleteDocumentMutation extends Request {
7589
8197
  export declare class UpdateDocumentMutation extends Request {
7590
8198
  constructor(request: LinearRequest);
7591
8199
  /**
7592
- * Call the UpdateDocument mutation and return a DocumentPayload
8200
+ * Call the UpdateDocument mutation and return a DocumentPayload
8201
+ *
8202
+ * @param id - required id to pass to updateDocument
8203
+ * @param input - required input to pass to updateDocument
8204
+ * @returns parsed response from UpdateDocumentMutation
8205
+ */
8206
+ fetch(id: string, input: L.DocumentUpdateInput): LinearFetch<DocumentPayload>;
8207
+ }
8208
+ /**
8209
+ * A fetchable CreateEmailIntakeAddress Mutation
8210
+ *
8211
+ * @param request - function to call the graphql client
8212
+ */
8213
+ export declare class CreateEmailIntakeAddressMutation extends Request {
8214
+ constructor(request: LinearRequest);
8215
+ /**
8216
+ * Call the CreateEmailIntakeAddress mutation and return a EmailIntakeAddressPayload
8217
+ *
8218
+ * @param input - required input to pass to createEmailIntakeAddress
8219
+ * @returns parsed response from CreateEmailIntakeAddressMutation
8220
+ */
8221
+ fetch(input: L.EmailIntakeAddressCreateInput): LinearFetch<EmailIntakeAddressPayload>;
8222
+ }
8223
+ /**
8224
+ * A fetchable DeleteEmailIntakeAddress Mutation
8225
+ *
8226
+ * @param request - function to call the graphql client
8227
+ */
8228
+ export declare class DeleteEmailIntakeAddressMutation extends Request {
8229
+ constructor(request: LinearRequest);
8230
+ /**
8231
+ * Call the DeleteEmailIntakeAddress mutation and return a DeletePayload
8232
+ *
8233
+ * @param id - required id to pass to deleteEmailIntakeAddress
8234
+ * @returns parsed response from DeleteEmailIntakeAddressMutation
8235
+ */
8236
+ fetch(id: string): LinearFetch<DeletePayload>;
8237
+ }
8238
+ /**
8239
+ * A fetchable EmailIntakeAddressRotate Mutation
8240
+ *
8241
+ * @param request - function to call the graphql client
8242
+ */
8243
+ export declare class EmailIntakeAddressRotateMutation extends Request {
8244
+ constructor(request: LinearRequest);
8245
+ /**
8246
+ * Call the EmailIntakeAddressRotate mutation and return a EmailIntakeAddressPayload
8247
+ *
8248
+ * @param id - required id to pass to emailIntakeAddressRotate
8249
+ * @returns parsed response from EmailIntakeAddressRotateMutation
8250
+ */
8251
+ fetch(id: string): LinearFetch<EmailIntakeAddressPayload>;
8252
+ }
8253
+ /**
8254
+ * A fetchable UpdateEmailIntakeAddress Mutation
8255
+ *
8256
+ * @param request - function to call the graphql client
8257
+ */
8258
+ export declare class UpdateEmailIntakeAddressMutation extends Request {
8259
+ constructor(request: LinearRequest);
8260
+ /**
8261
+ * Call the UpdateEmailIntakeAddress mutation and return a EmailIntakeAddressPayload
7593
8262
  *
7594
- * @param id - required id to pass to updateDocument
7595
- * @param input - required input to pass to updateDocument
7596
- * @returns parsed response from UpdateDocumentMutation
8263
+ * @param id - required id to pass to updateEmailIntakeAddress
8264
+ * @param input - required input to pass to updateEmailIntakeAddress
8265
+ * @returns parsed response from UpdateEmailIntakeAddressMutation
7597
8266
  */
7598
- fetch(id: string, input: L.DocumentUpdateInput): LinearFetch<DocumentPayload>;
8267
+ fetch(id: string, input: L.EmailIntakeAddressUpdateInput): LinearFetch<EmailIntakeAddressPayload>;
7599
8268
  }
7600
8269
  /**
7601
8270
  * A fetchable EmailTokenUserAccountAuth Mutation
@@ -7736,6 +8405,98 @@ export declare class FileUploadMutation extends Request {
7736
8405
  */
7737
8406
  fetch(contentType: string, filename: string, size: number, variables?: Omit<L.FileUploadMutationVariables, "contentType" | "filename" | "size">): LinearFetch<UploadPayload>;
7738
8407
  }
8408
+ /**
8409
+ * A fetchable CreateGitAutomationState Mutation
8410
+ *
8411
+ * @param request - function to call the graphql client
8412
+ */
8413
+ export declare class CreateGitAutomationStateMutation extends Request {
8414
+ constructor(request: LinearRequest);
8415
+ /**
8416
+ * Call the CreateGitAutomationState mutation and return a GitAutomationStatePayload
8417
+ *
8418
+ * @param input - required input to pass to createGitAutomationState
8419
+ * @returns parsed response from CreateGitAutomationStateMutation
8420
+ */
8421
+ fetch(input: L.GitAutomationStateCreateInput): LinearFetch<GitAutomationStatePayload>;
8422
+ }
8423
+ /**
8424
+ * A fetchable DeleteGitAutomationState Mutation
8425
+ *
8426
+ * @param request - function to call the graphql client
8427
+ */
8428
+ export declare class DeleteGitAutomationStateMutation extends Request {
8429
+ constructor(request: LinearRequest);
8430
+ /**
8431
+ * Call the DeleteGitAutomationState mutation and return a DeletePayload
8432
+ *
8433
+ * @param id - required id to pass to deleteGitAutomationState
8434
+ * @returns parsed response from DeleteGitAutomationStateMutation
8435
+ */
8436
+ fetch(id: string): LinearFetch<DeletePayload>;
8437
+ }
8438
+ /**
8439
+ * A fetchable UpdateGitAutomationState Mutation
8440
+ *
8441
+ * @param request - function to call the graphql client
8442
+ */
8443
+ export declare class UpdateGitAutomationStateMutation extends Request {
8444
+ constructor(request: LinearRequest);
8445
+ /**
8446
+ * Call the UpdateGitAutomationState mutation and return a GitAutomationStatePayload
8447
+ *
8448
+ * @param id - required id to pass to updateGitAutomationState
8449
+ * @param input - required input to pass to updateGitAutomationState
8450
+ * @returns parsed response from UpdateGitAutomationStateMutation
8451
+ */
8452
+ fetch(id: string, input: L.GitAutomationStateUpdateInput): LinearFetch<GitAutomationStatePayload>;
8453
+ }
8454
+ /**
8455
+ * A fetchable CreateGitAutomationTargetBranch Mutation
8456
+ *
8457
+ * @param request - function to call the graphql client
8458
+ */
8459
+ export declare class CreateGitAutomationTargetBranchMutation extends Request {
8460
+ constructor(request: LinearRequest);
8461
+ /**
8462
+ * Call the CreateGitAutomationTargetBranch mutation and return a GitAutomationTargetBranchPayload
8463
+ *
8464
+ * @param input - required input to pass to createGitAutomationTargetBranch
8465
+ * @returns parsed response from CreateGitAutomationTargetBranchMutation
8466
+ */
8467
+ fetch(input: L.GitAutomationTargetBranchCreateInput): LinearFetch<GitAutomationTargetBranchPayload>;
8468
+ }
8469
+ /**
8470
+ * A fetchable DeleteGitAutomationTargetBranch Mutation
8471
+ *
8472
+ * @param request - function to call the graphql client
8473
+ */
8474
+ export declare class DeleteGitAutomationTargetBranchMutation extends Request {
8475
+ constructor(request: LinearRequest);
8476
+ /**
8477
+ * Call the DeleteGitAutomationTargetBranch mutation and return a DeletePayload
8478
+ *
8479
+ * @param id - required id to pass to deleteGitAutomationTargetBranch
8480
+ * @returns parsed response from DeleteGitAutomationTargetBranchMutation
8481
+ */
8482
+ fetch(id: string): LinearFetch<DeletePayload>;
8483
+ }
8484
+ /**
8485
+ * A fetchable UpdateGitAutomationTargetBranch Mutation
8486
+ *
8487
+ * @param request - function to call the graphql client
8488
+ */
8489
+ export declare class UpdateGitAutomationTargetBranchMutation extends Request {
8490
+ constructor(request: LinearRequest);
8491
+ /**
8492
+ * Call the UpdateGitAutomationTargetBranch mutation and return a GitAutomationTargetBranchPayload
8493
+ *
8494
+ * @param id - required id to pass to updateGitAutomationTargetBranch
8495
+ * @param input - required input to pass to updateGitAutomationTargetBranch
8496
+ * @returns parsed response from UpdateGitAutomationTargetBranchMutation
8497
+ */
8498
+ fetch(id: string, input: L.GitAutomationTargetBranchUpdateInput): LinearFetch<GitAutomationTargetBranchPayload>;
8499
+ }
7739
8500
  /**
7740
8501
  * A fetchable GoogleUserAccountAuth Mutation
7741
8502
  *
@@ -7784,6 +8545,21 @@ export declare class ImportFileUploadMutation extends Request {
7784
8545
  */
7785
8546
  fetch(contentType: string, filename: string, size: number, variables?: Omit<L.ImportFileUploadMutationVariables, "contentType" | "filename" | "size">): LinearFetch<UploadPayload>;
7786
8547
  }
8548
+ /**
8549
+ * A fetchable ArchiveIntegration Mutation
8550
+ *
8551
+ * @param request - function to call the graphql client
8552
+ */
8553
+ export declare class ArchiveIntegrationMutation extends Request {
8554
+ constructor(request: LinearRequest);
8555
+ /**
8556
+ * Call the ArchiveIntegration mutation and return a DeletePayload
8557
+ *
8558
+ * @param id - required id to pass to archiveIntegration
8559
+ * @returns parsed response from ArchiveIntegrationMutation
8560
+ */
8561
+ fetch(id: string): LinearFetch<DeletePayload>;
8562
+ }
7787
8563
  /**
7788
8564
  * A fetchable IntegrationAsksConnectChannel Mutation
7789
8565
  *
@@ -7907,21 +8683,6 @@ export declare class IntegrationGithubConnectMutation extends Request {
7907
8683
  */
7908
8684
  fetch(installationId: string): LinearFetch<IntegrationPayload>;
7909
8685
  }
7910
- /**
7911
- * A fetchable IntegrationGithubSyncConnect Mutation
7912
- *
7913
- * @param request - function to call the graphql client
7914
- */
7915
- export declare class IntegrationGithubSyncConnectMutation extends Request {
7916
- constructor(request: LinearRequest);
7917
- /**
7918
- * Call the IntegrationGithubSyncConnect mutation and return a IntegrationPayload
7919
- *
7920
- * @param installationId - required installationId to pass to integrationGithubSyncConnect
7921
- * @returns parsed response from IntegrationGithubSyncConnectMutation
7922
- */
7923
- fetch(installationId: string): LinearFetch<IntegrationPayload>;
7924
- }
7925
8686
  /**
7926
8687
  * A fetchable IntegrationGitlabConnect Mutation
7927
8688
  *
@@ -8009,10 +8770,10 @@ export declare class IntegrationJiraPersonalMutation extends Request {
8009
8770
  /**
8010
8771
  * Call the IntegrationJiraPersonal mutation and return a IntegrationPayload
8011
8772
  *
8012
- * @param code - required code to pass to integrationJiraPersonal
8773
+ * @param variables - variables to pass into the IntegrationJiraPersonalMutation
8013
8774
  * @returns parsed response from IntegrationJiraPersonalMutation
8014
8775
  */
8015
- fetch(code: string): LinearFetch<IntegrationPayload>;
8776
+ fetch(variables?: L.IntegrationJiraPersonalMutationVariables): LinearFetch<IntegrationPayload>;
8016
8777
  }
8017
8778
  /**
8018
8779
  * A fetchable IntegrationLoom Mutation
@@ -8117,13 +8878,13 @@ export declare class IntegrationSlackImportEmojisMutation extends Request {
8117
8878
  export declare class IntegrationSlackOrgProjectUpdatesPostMutation extends Request {
8118
8879
  constructor(request: LinearRequest);
8119
8880
  /**
8120
- * Call the IntegrationSlackOrgProjectUpdatesPost mutation and return a IntegrationPayload
8881
+ * Call the IntegrationSlackOrgProjectUpdatesPost mutation and return a SlackChannelConnectPayload
8121
8882
  *
8122
8883
  * @param code - required code to pass to integrationSlackOrgProjectUpdatesPost
8123
8884
  * @param redirectUri - required redirectUri to pass to integrationSlackOrgProjectUpdatesPost
8124
8885
  * @returns parsed response from IntegrationSlackOrgProjectUpdatesPostMutation
8125
8886
  */
8126
- fetch(code: string, redirectUri: string): LinearFetch<IntegrationPayload>;
8887
+ fetch(code: string, redirectUri: string): LinearFetch<SlackChannelConnectPayload>;
8127
8888
  }
8128
8889
  /**
8129
8890
  * A fetchable IntegrationSlackPersonal Mutation
@@ -8149,7 +8910,7 @@ export declare class IntegrationSlackPersonalMutation extends Request {
8149
8910
  export declare class IntegrationSlackPostMutation extends Request {
8150
8911
  constructor(request: LinearRequest);
8151
8912
  /**
8152
- * Call the IntegrationSlackPost mutation and return a IntegrationPayload
8913
+ * Call the IntegrationSlackPost mutation and return a SlackChannelConnectPayload
8153
8914
  *
8154
8915
  * @param code - required code to pass to integrationSlackPost
8155
8916
  * @param redirectUri - required redirectUri to pass to integrationSlackPost
@@ -8157,7 +8918,7 @@ export declare class IntegrationSlackPostMutation extends Request {
8157
8918
  * @param variables - variables without 'code', 'redirectUri', 'teamId' to pass into the IntegrationSlackPostMutation
8158
8919
  * @returns parsed response from IntegrationSlackPostMutation
8159
8920
  */
8160
- fetch(code: string, redirectUri: string, teamId: string, variables?: Omit<L.IntegrationSlackPostMutationVariables, "code" | "redirectUri" | "teamId">): LinearFetch<IntegrationPayload>;
8921
+ fetch(code: string, redirectUri: string, teamId: string, variables?: Omit<L.IntegrationSlackPostMutationVariables, "code" | "redirectUri" | "teamId">): LinearFetch<SlackChannelConnectPayload>;
8161
8922
  }
8162
8923
  /**
8163
8924
  * A fetchable IntegrationSlackProjectPost Mutation
@@ -8167,7 +8928,7 @@ export declare class IntegrationSlackPostMutation extends Request {
8167
8928
  export declare class IntegrationSlackProjectPostMutation extends Request {
8168
8929
  constructor(request: LinearRequest);
8169
8930
  /**
8170
- * Call the IntegrationSlackProjectPost mutation and return a IntegrationPayload
8931
+ * Call the IntegrationSlackProjectPost mutation and return a SlackChannelConnectPayload
8171
8932
  *
8172
8933
  * @param code - required code to pass to integrationSlackProjectPost
8173
8934
  * @param projectId - required projectId to pass to integrationSlackProjectPost
@@ -8175,7 +8936,7 @@ export declare class IntegrationSlackProjectPostMutation extends Request {
8175
8936
  * @param service - required service to pass to integrationSlackProjectPost
8176
8937
  * @returns parsed response from IntegrationSlackProjectPostMutation
8177
8938
  */
8178
- fetch(code: string, projectId: string, redirectUri: string, service: string): LinearFetch<IntegrationPayload>;
8939
+ fetch(code: string, projectId: string, redirectUri: string, service: string): LinearFetch<SlackChannelConnectPayload>;
8179
8940
  }
8180
8941
  /**
8181
8942
  * A fetchable CreateIntegrationTemplate Mutation
@@ -8466,7 +9227,7 @@ export declare class IssueImportProcessMutation extends Request {
8466
9227
  * @param mapping - required mapping to pass to issueImportProcess
8467
9228
  * @returns parsed response from IssueImportProcessMutation
8468
9229
  */
8469
- fetch(issueImportId: string, mapping: Record<string, unknown>): LinearFetch<IssueImportPayload>;
9230
+ fetch(issueImportId: string, mapping: L.Scalars["JSONObject"]): LinearFetch<IssueImportPayload>;
8470
9231
  }
8471
9232
  /**
8472
9233
  * A fetchable UpdateIssueImport Mutation
@@ -9089,9 +9850,10 @@ export declare class CreateProjectMutation extends Request {
9089
9850
  * Call the CreateProject mutation and return a ProjectPayload
9090
9851
  *
9091
9852
  * @param input - required input to pass to createProject
9853
+ * @param variables - variables without 'input' to pass into the CreateProjectMutation
9092
9854
  * @returns parsed response from CreateProjectMutation
9093
9855
  */
9094
- fetch(input: L.ProjectCreateInput): LinearFetch<ProjectPayload>;
9856
+ fetch(input: L.ProjectCreateInput, variables?: Omit<L.CreateProjectMutationVariables, "input">): LinearFetch<ProjectPayload>;
9095
9857
  }
9096
9858
  /**
9097
9859
  * A fetchable DeleteProject Mutation
@@ -9641,6 +10403,21 @@ export declare class UpdateTeamMembershipMutation extends Request {
9641
10403
  */
9642
10404
  fetch(id: string, input: L.TeamMembershipUpdateInput): LinearFetch<TeamMembershipPayload>;
9643
10405
  }
10406
+ /**
10407
+ * A fetchable UnarchiveTeam Mutation
10408
+ *
10409
+ * @param request - function to call the graphql client
10410
+ */
10411
+ export declare class UnarchiveTeamMutation extends Request {
10412
+ constructor(request: LinearRequest);
10413
+ /**
10414
+ * Call the UnarchiveTeam mutation and return a TeamArchivePayload
10415
+ *
10416
+ * @param id - required id to pass to unarchiveTeam
10417
+ * @returns parsed response from UnarchiveTeamMutation
10418
+ */
10419
+ fetch(id: string): LinearFetch<TeamArchivePayload>;
10420
+ }
9644
10421
  /**
9645
10422
  * A fetchable UpdateTeam Mutation
9646
10423
  *
@@ -9780,36 +10557,6 @@ export declare class UpdateUserFlagMutation extends Request {
9780
10557
  */
9781
10558
  fetch(flag: L.UserFlagType, operation: L.UserFlagUpdateOperation): LinearFetch<UserSettingsFlagPayload>;
9782
10559
  }
9783
- /**
9784
- * A fetchable UserGitHubConnect Mutation
9785
- *
9786
- * @param request - function to call the graphql client
9787
- */
9788
- export declare class UserGitHubConnectMutation extends Request {
9789
- constructor(request: LinearRequest);
9790
- /**
9791
- * Call the UserGitHubConnect mutation and return a UserPayload
9792
- *
9793
- * @param code - required code to pass to userGitHubConnect
9794
- * @returns parsed response from UserGitHubConnectMutation
9795
- */
9796
- fetch(code: string): LinearFetch<UserPayload>;
9797
- }
9798
- /**
9799
- * A fetchable UserJiraConnect Mutation
9800
- *
9801
- * @param request - function to call the graphql client
9802
- */
9803
- export declare class UserJiraConnectMutation extends Request {
9804
- constructor(request: LinearRequest);
9805
- /**
9806
- * Call the UserJiraConnect mutation and return a UserPayload
9807
- *
9808
- * @param code - required code to pass to userJiraConnect
9809
- * @returns parsed response from UserJiraConnectMutation
9810
- */
9811
- fetch(code: string): LinearFetch<UserPayload>;
9812
- }
9813
10560
  /**
9814
10561
  * A fetchable UserPromoteAdmin Mutation
9815
10562
  *
@@ -10089,6 +10836,22 @@ export declare class AttachmentIssue_AttachmentsQuery extends Request {
10089
10836
  */
10090
10837
  fetch(variables?: Omit<L.AttachmentIssue_AttachmentsQueryVariables, "id">): LinearFetch<AttachmentConnection>;
10091
10838
  }
10839
+ /**
10840
+ * A fetchable AttachmentIssue_BotActor Query
10841
+ *
10842
+ * @param request - function to call the graphql client
10843
+ * @param id - required id to pass to attachmentIssue
10844
+ */
10845
+ export declare class AttachmentIssue_BotActorQuery extends Request {
10846
+ private _id;
10847
+ constructor(request: LinearRequest, id: string);
10848
+ /**
10849
+ * Call the AttachmentIssue_BotActor query and return a ActorBot
10850
+ *
10851
+ * @returns parsed response from AttachmentIssue_BotActorQuery
10852
+ */
10853
+ fetch(): LinearFetch<ActorBot | undefined>;
10854
+ }
10092
10855
  /**
10093
10856
  * A fetchable AttachmentIssue_Children Query
10094
10857
  *
@@ -10226,52 +10989,71 @@ export declare class AttachmentIssue_SubscribersQuery extends Request {
10226
10989
  * A fetchable Comment_BotActor Query
10227
10990
  *
10228
10991
  * @param request - function to call the graphql client
10229
- * @param id - required id to pass to comment
10992
+ * @param variables - variables to pass into the Comment_BotActorQuery
10230
10993
  */
10231
10994
  export declare class Comment_BotActorQuery extends Request {
10232
- private _id;
10233
- constructor(request: LinearRequest, id: string);
10995
+ private _variables?;
10996
+ constructor(request: LinearRequest, variables?: L.Comment_BotActorQueryVariables);
10234
10997
  /**
10235
10998
  * Call the Comment_BotActor query and return a ActorBot
10236
10999
  *
11000
+ * @param variables - variables to pass into the Comment_BotActorQuery
10237
11001
  * @returns parsed response from Comment_BotActorQuery
10238
11002
  */
10239
- fetch(): LinearFetch<ActorBot | undefined>;
11003
+ fetch(variables?: L.Comment_BotActorQueryVariables): LinearFetch<ActorBot | undefined>;
10240
11004
  }
10241
11005
  /**
10242
11006
  * A fetchable Comment_Children Query
10243
11007
  *
10244
11008
  * @param request - function to call the graphql client
10245
- * @param id - required id to pass to comment
10246
- * @param variables - variables without 'id' to pass into the Comment_ChildrenQuery
11009
+ * @param variables - variables to pass into the Comment_ChildrenQuery
10247
11010
  */
10248
11011
  export declare class Comment_ChildrenQuery extends Request {
10249
- private _id;
10250
11012
  private _variables?;
10251
- constructor(request: LinearRequest, id: string, variables?: Omit<L.Comment_ChildrenQueryVariables, "id">);
11013
+ constructor(request: LinearRequest, variables?: L.Comment_ChildrenQueryVariables);
10252
11014
  /**
10253
11015
  * Call the Comment_Children query and return a CommentConnection
10254
11016
  *
10255
- * @param variables - variables without 'id' to pass into the Comment_ChildrenQuery
11017
+ * @param variables - variables to pass into the Comment_ChildrenQuery
10256
11018
  * @returns parsed response from Comment_ChildrenQuery
10257
11019
  */
10258
- fetch(variables?: Omit<L.Comment_ChildrenQueryVariables, "id">): LinearFetch<CommentConnection>;
11020
+ fetch(variables?: L.Comment_ChildrenQueryVariables): LinearFetch<CommentConnection>;
10259
11021
  }
10260
11022
  /**
10261
11023
  * A fetchable Comment_DocumentContent Query
10262
11024
  *
10263
11025
  * @param request - function to call the graphql client
10264
- * @param id - required id to pass to comment
11026
+ * @param variables - variables to pass into the Comment_DocumentContentQuery
10265
11027
  */
10266
11028
  export declare class Comment_DocumentContentQuery extends Request {
10267
- private _id;
10268
- constructor(request: LinearRequest, id: string);
11029
+ private _variables?;
11030
+ constructor(request: LinearRequest, variables?: L.Comment_DocumentContentQueryVariables);
10269
11031
  /**
10270
11032
  * Call the Comment_DocumentContent query and return a DocumentContent
10271
11033
  *
11034
+ * @param variables - variables to pass into the Comment_DocumentContentQuery
10272
11035
  * @returns parsed response from Comment_DocumentContentQuery
10273
11036
  */
10274
- fetch(): LinearFetch<DocumentContent | undefined>;
11037
+ fetch(variables?: L.Comment_DocumentContentQueryVariables): LinearFetch<DocumentContent | undefined>;
11038
+ }
11039
+ /**
11040
+ * A fetchable CustomView_Issues Query
11041
+ *
11042
+ * @param request - function to call the graphql client
11043
+ * @param id - required id to pass to customView
11044
+ * @param variables - variables without 'id' to pass into the CustomView_IssuesQuery
11045
+ */
11046
+ export declare class CustomView_IssuesQuery extends Request {
11047
+ private _id;
11048
+ private _variables?;
11049
+ constructor(request: LinearRequest, id: string, variables?: Omit<L.CustomView_IssuesQueryVariables, "id">);
11050
+ /**
11051
+ * Call the CustomView_Issues query and return a IssueConnection
11052
+ *
11053
+ * @param variables - variables without 'id' to pass into the CustomView_IssuesQuery
11054
+ * @returns parsed response from CustomView_IssuesQuery
11055
+ */
11056
+ fetch(variables?: Omit<L.CustomView_IssuesQueryVariables, "id">): LinearFetch<IssueConnection>;
10275
11057
  }
10276
11058
  /**
10277
11059
  * A fetchable Cycle_Issues Query
@@ -10349,6 +11131,22 @@ export declare class Issue_AttachmentsQuery extends Request {
10349
11131
  */
10350
11132
  fetch(variables?: Omit<L.Issue_AttachmentsQueryVariables, "id">): LinearFetch<AttachmentConnection>;
10351
11133
  }
11134
+ /**
11135
+ * A fetchable Issue_BotActor Query
11136
+ *
11137
+ * @param request - function to call the graphql client
11138
+ * @param id - required id to pass to issue
11139
+ */
11140
+ export declare class Issue_BotActorQuery extends Request {
11141
+ private _id;
11142
+ constructor(request: LinearRequest, id: string);
11143
+ /**
11144
+ * Call the Issue_BotActor query and return a ActorBot
11145
+ *
11146
+ * @returns parsed response from Issue_BotActorQuery
11147
+ */
11148
+ fetch(): LinearFetch<ActorBot | undefined>;
11149
+ }
10352
11150
  /**
10353
11151
  * A fetchable Issue_Children Query
10354
11152
  *
@@ -10539,6 +11337,22 @@ export declare class IssueVcsBranchSearch_AttachmentsQuery extends Request {
10539
11337
  */
10540
11338
  fetch(variables?: Omit<L.IssueVcsBranchSearch_AttachmentsQueryVariables, "branchName">): LinearFetch<AttachmentConnection | undefined>;
10541
11339
  }
11340
+ /**
11341
+ * A fetchable IssueVcsBranchSearch_BotActor Query
11342
+ *
11343
+ * @param request - function to call the graphql client
11344
+ * @param branchName - required branchName to pass to issueVcsBranchSearch
11345
+ */
11346
+ export declare class IssueVcsBranchSearch_BotActorQuery extends Request {
11347
+ private _branchName;
11348
+ constructor(request: LinearRequest, branchName: string);
11349
+ /**
11350
+ * Call the IssueVcsBranchSearch_BotActor query and return a ActorBot
11351
+ *
11352
+ * @returns parsed response from IssueVcsBranchSearch_BotActorQuery
11353
+ */
11354
+ fetch(): LinearFetch<ActorBot | undefined>;
11355
+ }
10542
11356
  /**
10543
11357
  * A fetchable IssueVcsBranchSearch_Children Query
10544
11358
  *
@@ -10904,6 +11718,25 @@ export declare class Project_TeamsQuery extends Request {
10904
11718
  */
10905
11719
  fetch(variables?: Omit<L.Project_TeamsQueryVariables, "id">): LinearFetch<TeamConnection>;
10906
11720
  }
11721
+ /**
11722
+ * A fetchable ProjectMilestone_Issues Query
11723
+ *
11724
+ * @param request - function to call the graphql client
11725
+ * @param id - required id to pass to projectMilestone
11726
+ * @param variables - variables without 'id' to pass into the ProjectMilestone_IssuesQuery
11727
+ */
11728
+ export declare class ProjectMilestone_IssuesQuery extends Request {
11729
+ private _id;
11730
+ private _variables?;
11731
+ constructor(request: LinearRequest, id: string, variables?: Omit<L.ProjectMilestone_IssuesQueryVariables, "id">);
11732
+ /**
11733
+ * Call the ProjectMilestone_Issues query and return a IssueConnection
11734
+ *
11735
+ * @param variables - variables without 'id' to pass into the ProjectMilestone_IssuesQuery
11736
+ * @returns parsed response from ProjectMilestone_IssuesQuery
11737
+ */
11738
+ fetch(variables?: Omit<L.ProjectMilestone_IssuesQueryVariables, "id">): LinearFetch<IssueConnection>;
11739
+ }
10907
11740
  /**
10908
11741
  * A fetchable Roadmap_Projects Query
10909
11742
  *
@@ -10999,6 +11832,25 @@ export declare class Team_CyclesQuery extends Request {
10999
11832
  */
11000
11833
  fetch(variables?: Omit<L.Team_CyclesQueryVariables, "id">): LinearFetch<CycleConnection>;
11001
11834
  }
11835
+ /**
11836
+ * A fetchable Team_GitAutomationStates Query
11837
+ *
11838
+ * @param request - function to call the graphql client
11839
+ * @param id - required id to pass to team
11840
+ * @param variables - variables without 'id' to pass into the Team_GitAutomationStatesQuery
11841
+ */
11842
+ export declare class Team_GitAutomationStatesQuery extends Request {
11843
+ private _id;
11844
+ private _variables?;
11845
+ constructor(request: LinearRequest, id: string, variables?: Omit<L.Team_GitAutomationStatesQueryVariables, "id">);
11846
+ /**
11847
+ * Call the Team_GitAutomationStates query and return a GitAutomationStateConnection
11848
+ *
11849
+ * @param variables - variables without 'id' to pass into the Team_GitAutomationStatesQuery
11850
+ * @returns parsed response from Team_GitAutomationStatesQuery
11851
+ */
11852
+ fetch(variables?: Omit<L.Team_GitAutomationStatesQueryVariables, "id">): LinearFetch<GitAutomationStateConnection>;
11853
+ }
11002
11854
  /**
11003
11855
  * A fetchable Team_Issues Query
11004
11856
  *
@@ -11411,10 +12263,10 @@ export declare class LinearSdk extends Request {
11411
12263
  /**
11412
12264
  * A specific comment.
11413
12265
  *
11414
- * @param id - required id to pass to comment
12266
+ * @param variables - variables to pass into the CommentQuery
11415
12267
  * @returns Comment
11416
12268
  */
11417
- comment(id: string): LinearFetch<Comment>;
12269
+ comment(variables?: L.CommentQueryVariables): LinearFetch<Comment>;
11418
12270
  /**
11419
12271
  * All comments.
11420
12272
  *
@@ -11492,6 +12344,20 @@ export declare class LinearSdk extends Request {
11492
12344
  * @returns EmojiConnection
11493
12345
  */
11494
12346
  emojis(variables?: L.EmojisQueryVariables): LinearFetch<EmojiConnection>;
12347
+ /**
12348
+ * One specific external user.
12349
+ *
12350
+ * @param id - required id to pass to externalUser
12351
+ * @returns ExternalUser
12352
+ */
12353
+ externalUser(id: string): LinearFetch<ExternalUser>;
12354
+ /**
12355
+ * All external users for the organization.
12356
+ *
12357
+ * @param variables - variables to pass into the ExternalUsersQuery
12358
+ * @returns ExternalUserConnection
12359
+ */
12360
+ externalUsers(variables?: L.ExternalUsersQueryVariables): LinearFetch<ExternalUserConnection>;
11495
12361
  /**
11496
12362
  * One specific favorite.
11497
12363
  *
@@ -11513,6 +12379,14 @@ export declare class LinearSdk extends Request {
11513
12379
  * @returns Integration
11514
12380
  */
11515
12381
  integration(id: string): LinearFetch<Integration>;
12382
+ /**
12383
+ * Checks if the integration has all required scopes.
12384
+ *
12385
+ * @param integrationId - required integrationId to pass to integrationHasScopes
12386
+ * @param scopes - required scopes to pass to integrationHasScopes
12387
+ * @returns IntegrationHasScopesPayload
12388
+ */
12389
+ integrationHasScopes(integrationId: string, scopes: string[]): LinearFetch<IntegrationHasScopesPayload>;
11516
12390
  /**
11517
12391
  * One specific integrationTemplate.
11518
12392
  *
@@ -11768,9 +12642,10 @@ export declare class LinearSdk extends Request {
11768
12642
  /**
11769
12643
  * Sends a test push message.
11770
12644
  *
12645
+ * @param variables - variables to pass into the PushSubscriptionTestQuery
11771
12646
  * @returns PushSubscriptionTestPayload
11772
12647
  */
11773
- get pushSubscriptionTest(): LinearFetch<PushSubscriptionTestPayload>;
12648
+ pushSubscriptionTest(variables?: L.PushSubscriptionTestQueryVariables): LinearFetch<PushSubscriptionTestPayload>;
11774
12649
  /**
11775
12650
  * The status of the rate limiter.
11776
12651
  *
@@ -11940,7 +12815,7 @@ export declare class LinearSdk extends Request {
11940
12815
  */
11941
12816
  workflowStates(variables?: L.WorkflowStatesQueryVariables): LinearFetch<WorkflowStateConnection>;
11942
12817
  /**
11943
- * Creates an integration api key for Airbyte to connect with Linear
12818
+ * Creates an integration api key for Airbyte to connect with Linear.
11944
12819
  *
11945
12820
  * @param input - required input to pass to airbyteIntegrationConnect
11946
12821
  * @returns IntegrationPayload
@@ -12002,17 +12877,23 @@ export declare class LinearSdk extends Request {
12002
12877
  */
12003
12878
  attachmentLinkFront(conversationId: string, issueId: string, variables?: Omit<L.AttachmentLinkFrontMutationVariables, "conversationId" | "issueId">): LinearFetch<FrontAttachmentPayload>;
12004
12879
  /**
12005
- * Link an existing GitHub PR to an issue.
12880
+ * Link a GitHub issue to a Linear issue.
12881
+ *
12882
+ * @param issueId - required issueId to pass to attachmentLinkGitHubIssue
12883
+ * @param url - required url to pass to attachmentLinkGitHubIssue
12884
+ * @param variables - variables without 'issueId', 'url' to pass into the AttachmentLinkGitHubIssueMutation
12885
+ * @returns AttachmentPayload
12886
+ */
12887
+ attachmentLinkGitHubIssue(issueId: string, url: string, variables?: Omit<L.AttachmentLinkGitHubIssueMutationVariables, "issueId" | "url">): LinearFetch<AttachmentPayload>;
12888
+ /**
12889
+ * Link a GitHub pull request to an issue.
12006
12890
  *
12007
12891
  * @param issueId - required issueId to pass to attachmentLinkGitHubPR
12008
- * @param number - required number to pass to attachmentLinkGitHubPR
12009
- * @param owner - required owner to pass to attachmentLinkGitHubPR
12010
- * @param repo - required repo to pass to attachmentLinkGitHubPR
12011
12892
  * @param url - required url to pass to attachmentLinkGitHubPR
12012
- * @param variables - variables without 'issueId', 'number', 'owner', 'repo', 'url' to pass into the AttachmentLinkGitHubPrMutation
12893
+ * @param variables - variables without 'issueId', 'url' to pass into the AttachmentLinkGitHubPrMutation
12013
12894
  * @returns AttachmentPayload
12014
12895
  */
12015
- attachmentLinkGitHubPR(issueId: string, number: number, owner: string, repo: string, url: string, variables?: Omit<L.AttachmentLinkGitHubPrMutationVariables, "issueId" | "number" | "owner" | "repo" | "url">): LinearFetch<AttachmentPayload>;
12896
+ attachmentLinkGitHubPR(issueId: string, url: string, variables?: Omit<L.AttachmentLinkGitHubPrMutationVariables, "issueId" | "url">): LinearFetch<AttachmentPayload>;
12016
12897
  /**
12017
12898
  * Link an existing GitLab MR to an issue.
12018
12899
  *
@@ -12188,6 +13069,13 @@ export declare class LinearSdk extends Request {
12188
13069
  * @returns CyclePayload
12189
13070
  */
12190
13071
  createCycle(input: L.CycleCreateInput): LinearFetch<CyclePayload>;
13072
+ /**
13073
+ * [DEPRECATED] Shifts all cycles starts by a certain number of weeks.
13074
+ *
13075
+ * @param input - required input to pass to cycleShiftAll
13076
+ * @returns CyclePayload
13077
+ */
13078
+ cycleShiftAll(input: L.CycleShiftAllInput): LinearFetch<CyclePayload>;
12191
13079
  /**
12192
13080
  * Updates a cycle.
12193
13081
  *
@@ -12218,6 +13106,35 @@ export declare class LinearSdk extends Request {
12218
13106
  * @returns DocumentPayload
12219
13107
  */
12220
13108
  updateDocument(id: string, input: L.DocumentUpdateInput): LinearFetch<DocumentPayload>;
13109
+ /**
13110
+ * Creates a new email intake address.
13111
+ *
13112
+ * @param input - required input to pass to createEmailIntakeAddress
13113
+ * @returns EmailIntakeAddressPayload
13114
+ */
13115
+ createEmailIntakeAddress(input: L.EmailIntakeAddressCreateInput): LinearFetch<EmailIntakeAddressPayload>;
13116
+ /**
13117
+ * Deletes an email intake address object.
13118
+ *
13119
+ * @param id - required id to pass to deleteEmailIntakeAddress
13120
+ * @returns DeletePayload
13121
+ */
13122
+ deleteEmailIntakeAddress(id: string): LinearFetch<DeletePayload>;
13123
+ /**
13124
+ * Rotates an existing email intake address.
13125
+ *
13126
+ * @param id - required id to pass to emailIntakeAddressRotate
13127
+ * @returns EmailIntakeAddressPayload
13128
+ */
13129
+ emailIntakeAddressRotate(id: string): LinearFetch<EmailIntakeAddressPayload>;
13130
+ /**
13131
+ * Updates an existing email intake address.
13132
+ *
13133
+ * @param id - required id to pass to updateEmailIntakeAddress
13134
+ * @param input - required input to pass to updateEmailIntakeAddress
13135
+ * @returns EmailIntakeAddressPayload
13136
+ */
13137
+ updateEmailIntakeAddress(id: string, input: L.EmailIntakeAddressUpdateInput): LinearFetch<EmailIntakeAddressPayload>;
12221
13138
  /**
12222
13139
  * Authenticates a user account via email and authentication token.
12223
13140
  *
@@ -12285,6 +13202,50 @@ export declare class LinearSdk extends Request {
12285
13202
  * @returns UploadPayload
12286
13203
  */
12287
13204
  fileUpload(contentType: string, filename: string, size: number, variables?: Omit<L.FileUploadMutationVariables, "contentType" | "filename" | "size">): LinearFetch<UploadPayload>;
13205
+ /**
13206
+ * Creates a new automation state.
13207
+ *
13208
+ * @param input - required input to pass to createGitAutomationState
13209
+ * @returns GitAutomationStatePayload
13210
+ */
13211
+ createGitAutomationState(input: L.GitAutomationStateCreateInput): LinearFetch<GitAutomationStatePayload>;
13212
+ /**
13213
+ * Archives an automation state.
13214
+ *
13215
+ * @param id - required id to pass to deleteGitAutomationState
13216
+ * @returns DeletePayload
13217
+ */
13218
+ deleteGitAutomationState(id: string): LinearFetch<DeletePayload>;
13219
+ /**
13220
+ * Updates an existing state.
13221
+ *
13222
+ * @param id - required id to pass to updateGitAutomationState
13223
+ * @param input - required input to pass to updateGitAutomationState
13224
+ * @returns GitAutomationStatePayload
13225
+ */
13226
+ updateGitAutomationState(id: string, input: L.GitAutomationStateUpdateInput): LinearFetch<GitAutomationStatePayload>;
13227
+ /**
13228
+ * Creates a Git target branch automation.
13229
+ *
13230
+ * @param input - required input to pass to createGitAutomationTargetBranch
13231
+ * @returns GitAutomationTargetBranchPayload
13232
+ */
13233
+ createGitAutomationTargetBranch(input: L.GitAutomationTargetBranchCreateInput): LinearFetch<GitAutomationTargetBranchPayload>;
13234
+ /**
13235
+ * Archives a Git target branch automation.
13236
+ *
13237
+ * @param id - required id to pass to deleteGitAutomationTargetBranch
13238
+ * @returns DeletePayload
13239
+ */
13240
+ deleteGitAutomationTargetBranch(id: string): LinearFetch<DeletePayload>;
13241
+ /**
13242
+ * Updates an existing Git target branch automation.
13243
+ *
13244
+ * @param id - required id to pass to updateGitAutomationTargetBranch
13245
+ * @param input - required input to pass to updateGitAutomationTargetBranch
13246
+ * @returns GitAutomationTargetBranchPayload
13247
+ */
13248
+ updateGitAutomationTargetBranch(id: string, input: L.GitAutomationTargetBranchUpdateInput): LinearFetch<GitAutomationTargetBranchPayload>;
12288
13249
  /**
12289
13250
  * Authenticate user account through Google OAuth. This is the 2nd step of OAuth flow.
12290
13251
  *
@@ -12309,6 +13270,13 @@ export declare class LinearSdk extends Request {
12309
13270
  * @returns UploadPayload
12310
13271
  */
12311
13272
  importFileUpload(contentType: string, filename: string, size: number, variables?: Omit<L.ImportFileUploadMutationVariables, "contentType" | "filename" | "size">): LinearFetch<UploadPayload>;
13273
+ /**
13274
+ * Archives an integration.
13275
+ *
13276
+ * @param id - required id to pass to archiveIntegration
13277
+ * @returns DeletePayload
13278
+ */
13279
+ archiveIntegration(id: string): LinearFetch<DeletePayload>;
12312
13280
  /**
12313
13281
  * Connect a Slack channel to Asks.
12314
13282
  *
@@ -12368,13 +13336,6 @@ export declare class LinearSdk extends Request {
12368
13336
  * @returns IntegrationPayload
12369
13337
  */
12370
13338
  integrationGithubConnect(installationId: string): LinearFetch<IntegrationPayload>;
12371
- /**
12372
- * Connects the organization with the GitHub Sync App.
12373
- *
12374
- * @param installationId - required installationId to pass to integrationGithubSyncConnect
12375
- * @returns IntegrationPayload
12376
- */
12377
- integrationGithubSyncConnect(installationId: string): LinearFetch<IntegrationPayload>;
12378
13339
  /**
12379
13340
  * Connects the organization with a GitLab Access Token.
12380
13341
  *
@@ -12415,10 +13376,10 @@ export declare class LinearSdk extends Request {
12415
13376
  /**
12416
13377
  * Connect your Jira account to Linear.
12417
13378
  *
12418
- * @param code - required code to pass to integrationJiraPersonal
13379
+ * @param variables - variables to pass into the IntegrationJiraPersonalMutation
12419
13380
  * @returns IntegrationPayload
12420
13381
  */
12421
- integrationJiraPersonal(code: string): LinearFetch<IntegrationPayload>;
13382
+ integrationJiraPersonal(variables?: L.IntegrationJiraPersonalMutationVariables): LinearFetch<IntegrationPayload>;
12422
13383
  /**
12423
13384
  * Enables Loom integration for the organization.
12424
13385
  *
@@ -12451,7 +13412,7 @@ export declare class LinearSdk extends Request {
12451
13412
  */
12452
13413
  integrationSlack(code: string, redirectUri: string, variables?: Omit<L.IntegrationSlackMutationVariables, "code" | "redirectUri">): LinearFetch<IntegrationPayload>;
12453
13414
  /**
12454
- * Integrates the organization with the Slack Asks app
13415
+ * Integrates the organization with the Slack Asks app.
12455
13416
  *
12456
13417
  * @param code - required code to pass to integrationSlackAsks
12457
13418
  * @param redirectUri - required redirectUri to pass to integrationSlackAsks
@@ -12471,9 +13432,9 @@ export declare class LinearSdk extends Request {
12471
13432
  *
12472
13433
  * @param code - required code to pass to integrationSlackOrgProjectUpdatesPost
12473
13434
  * @param redirectUri - required redirectUri to pass to integrationSlackOrgProjectUpdatesPost
12474
- * @returns IntegrationPayload
13435
+ * @returns SlackChannelConnectPayload
12475
13436
  */
12476
- integrationSlackOrgProjectUpdatesPost(code: string, redirectUri: string): LinearFetch<IntegrationPayload>;
13437
+ integrationSlackOrgProjectUpdatesPost(code: string, redirectUri: string): LinearFetch<SlackChannelConnectPayload>;
12477
13438
  /**
12478
13439
  * Integrates your personal notifications with Slack.
12479
13440
  *
@@ -12489,9 +13450,9 @@ export declare class LinearSdk extends Request {
12489
13450
  * @param redirectUri - required redirectUri to pass to integrationSlackPost
12490
13451
  * @param teamId - required teamId to pass to integrationSlackPost
12491
13452
  * @param variables - variables without 'code', 'redirectUri', 'teamId' to pass into the IntegrationSlackPostMutation
12492
- * @returns IntegrationPayload
13453
+ * @returns SlackChannelConnectPayload
12493
13454
  */
12494
- integrationSlackPost(code: string, redirectUri: string, teamId: string, variables?: Omit<L.IntegrationSlackPostMutationVariables, "code" | "redirectUri" | "teamId">): LinearFetch<IntegrationPayload>;
13455
+ integrationSlackPost(code: string, redirectUri: string, teamId: string, variables?: Omit<L.IntegrationSlackPostMutationVariables, "code" | "redirectUri" | "teamId">): LinearFetch<SlackChannelConnectPayload>;
12495
13456
  /**
12496
13457
  * Slack integration for project notifications.
12497
13458
  *
@@ -12499,9 +13460,9 @@ export declare class LinearSdk extends Request {
12499
13460
  * @param projectId - required projectId to pass to integrationSlackProjectPost
12500
13461
  * @param redirectUri - required redirectUri to pass to integrationSlackProjectPost
12501
13462
  * @param service - required service to pass to integrationSlackProjectPost
12502
- * @returns IntegrationPayload
13463
+ * @returns SlackChannelConnectPayload
12503
13464
  */
12504
- integrationSlackProjectPost(code: string, projectId: string, redirectUri: string, service: string): LinearFetch<IntegrationPayload>;
13465
+ integrationSlackProjectPost(code: string, projectId: string, redirectUri: string, service: string): LinearFetch<SlackChannelConnectPayload>;
12505
13466
  /**
12506
13467
  * Creates a new integrationTemplate join.
12507
13468
  *
@@ -12648,7 +13609,7 @@ export declare class LinearSdk extends Request {
12648
13609
  * @param mapping - required mapping to pass to issueImportProcess
12649
13610
  * @returns IssueImportPayload
12650
13611
  */
12651
- issueImportProcess(issueImportId: string, mapping: Record<string, unknown>): LinearFetch<IssueImportPayload>;
13612
+ issueImportProcess(issueImportId: string, mapping: L.Scalars["JSONObject"]): LinearFetch<IssueImportPayload>;
12652
13613
  /**
12653
13614
  * Updates the mapping for the issue import.
12654
13615
  *
@@ -12943,9 +13904,10 @@ export declare class LinearSdk extends Request {
12943
13904
  * Creates a new project.
12944
13905
  *
12945
13906
  * @param input - required input to pass to createProject
13907
+ * @param variables - variables without 'input' to pass into the CreateProjectMutation
12946
13908
  * @returns ProjectPayload
12947
13909
  */
12948
- createProject(input: L.ProjectCreateInput): LinearFetch<ProjectPayload>;
13910
+ createProject(input: L.ProjectCreateInput, variables?: Omit<L.CreateProjectMutationVariables, "input">): LinearFetch<ProjectPayload>;
12949
13911
  /**
12950
13912
  * Deletes (trashes) a project.
12951
13913
  *
@@ -13206,6 +14168,13 @@ export declare class LinearSdk extends Request {
13206
14168
  * @returns TeamMembershipPayload
13207
14169
  */
13208
14170
  updateTeamMembership(id: string, input: L.TeamMembershipUpdateInput): LinearFetch<TeamMembershipPayload>;
14171
+ /**
14172
+ * Unarchives a team and cancels deletion.
14173
+ *
14174
+ * @param id - required id to pass to unarchiveTeam
14175
+ * @returns TeamArchivePayload
14176
+ */
14177
+ unarchiveTeam(id: string): LinearFetch<TeamArchivePayload>;
13209
14178
  /**
13210
14179
  * Updates a team.
13211
14180
  *
@@ -13273,20 +14242,6 @@ export declare class LinearSdk extends Request {
13273
14242
  * @returns UserSettingsFlagPayload
13274
14243
  */
13275
14244
  updateUserFlag(flag: L.UserFlagType, operation: L.UserFlagUpdateOperation): LinearFetch<UserSettingsFlagPayload>;
13276
- /**
13277
- * [DEPRECATED] Connects the GitHub user to this Linear account via OAuth2.
13278
- *
13279
- * @param code - required code to pass to userGitHubConnect
13280
- * @returns UserPayload
13281
- */
13282
- userGitHubConnect(code: string): LinearFetch<UserPayload>;
13283
- /**
13284
- * [DEPRECATED] Connects the Jira user to this Linear account via OAuth2.
13285
- *
13286
- * @param code - required code to pass to userJiraConnect
13287
- * @returns UserPayload
13288
- */
13289
- userJiraConnect(code: string): LinearFetch<UserPayload>;
13290
14245
  /**
13291
14246
  * Makes user an admin. Can only be called by an admin.
13292
14247
  *