@linear/sdk 4.0.0 → 6.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.
@@ -510,6 +510,48 @@ export declare type CommentUpdateInput = {
510
510
  /** The comment content as a Prosemirror document. */
511
511
  bodyData?: Maybe<Scalars["JSON"]>;
512
512
  };
513
+ /** A company related to issue's origin. */
514
+ export declare type Company = Node & {
515
+ __typename?: "Company";
516
+ /** The time at which the entity was archived. Null if the entity has not been archived. */
517
+ archivedAt?: Maybe<Scalars["DateTime"]>;
518
+ /** Custom company properties. */
519
+ companyProperties: Scalars["JSONObject"];
520
+ /** The time at which the entity was created. */
521
+ createdAt: Scalars["DateTime"];
522
+ /** The user who added the company. */
523
+ creator: User;
524
+ /** Company ID in an external system. */
525
+ externalId: Scalars["String"];
526
+ /** The unique identifier of the entity. */
527
+ id: Scalars["ID"];
528
+ /** Company logo URL. */
529
+ logoUrl?: Maybe<Scalars["String"]>;
530
+ /** Company name. */
531
+ name: Scalars["String"];
532
+ /** The organization of the customer. */
533
+ organization: Organization;
534
+ /**
535
+ * The last time at which the entity was meaningfully updated, i.e. for all changes of syncable properties except those
536
+ * 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
537
+ * been updated after creation.
538
+ */
539
+ updatedAt: Scalars["DateTime"];
540
+ /** Company website URL. */
541
+ websiteUrl?: Maybe<Scalars["String"]>;
542
+ };
543
+ export declare type CompanyConnection = {
544
+ __typename?: "CompanyConnection";
545
+ edges: Array<CompanyEdge>;
546
+ nodes: Array<Company>;
547
+ pageInfo: PageInfo;
548
+ };
549
+ export declare type CompanyEdge = {
550
+ __typename?: "CompanyEdge";
551
+ /** Used in `before` and `after` args */
552
+ cursor: Scalars["String"];
553
+ node: Company;
554
+ };
513
555
  export declare type ContactCreateInput = {
514
556
  /** User's browser information. */
515
557
  browser?: Maybe<Scalars["String"]>;
@@ -597,7 +639,7 @@ export declare type CustomView = Node & {
597
639
  name: Scalars["String"];
598
640
  /** The organization of the custom view. */
599
641
  organization: Organization;
600
- /** The user who owns the custom view. */
642
+ /** [Deprecated] The user who owns the custom view. */
601
643
  owner: User;
602
644
  /** [ALPHA] The filter applied to projects in the custom view. */
603
645
  projectFilterData?: Maybe<Scalars["JSONObject"]>;
@@ -633,8 +675,6 @@ export declare type CustomViewCreateInput = {
633
675
  id?: Maybe<Scalars["String"]>;
634
676
  /** The name of the custom view. */
635
677
  name: Scalars["String"];
636
- /** The owner of the custom view */
637
- ownerId?: Maybe<Scalars["String"]>;
638
678
  /** [ALPHA] The project filter applied to issues in the custom view. */
639
679
  projectFilterData?: Maybe<Scalars["JSONObject"]>;
640
680
  /** Whether the custom view is shared with everyone in the organization. */
@@ -679,8 +719,6 @@ export declare type CustomViewUpdateInput = {
679
719
  icon?: Maybe<Scalars["String"]>;
680
720
  /** The name of the custom view. */
681
721
  name?: Maybe<Scalars["String"]>;
682
- /** The owner of the custom view */
683
- ownerId?: Maybe<Scalars["String"]>;
684
722
  /** [ALPHA] The project filter applied to issues in the custom view. */
685
723
  projectFilterData?: Maybe<Scalars["JSONObject"]>;
686
724
  /** Whether the custom view is shared with everyone in the organization. */
@@ -1202,7 +1240,7 @@ export declare type ExternalUser = Node & {
1202
1240
  /** The external user's display name. Unique within each organization. Can match the display name of an actual user. */
1203
1241
  displayName: Scalars["String"];
1204
1242
  /** The external user's email address. */
1205
- email: Scalars["String"];
1243
+ email?: Maybe<Scalars["String"]>;
1206
1244
  /** The unique identifier of the entity. */
1207
1245
  id: Scalars["ID"];
1208
1246
  /** The last time the external user was seen interacting with Linear. */
@@ -2259,7 +2297,7 @@ export declare type IssueHistory = Node & {
2259
2297
  actorId?: Maybe<Scalars["String"]>;
2260
2298
  /** ID's of labels that were added. */
2261
2299
  addedLabelIds?: Maybe<Array<Scalars["String"]>>;
2262
- /** Whether the issue was archived or un-archived. */
2300
+ /** Whether the issue is archived at the time of this history entry. */
2263
2301
  archived?: Maybe<Scalars["Boolean"]>;
2264
2302
  /** The time at which the entity was archived. Null if the entity has not been archived. */
2265
2303
  archivedAt?: Maybe<Scalars["DateTime"]>;
@@ -2936,6 +2974,8 @@ export declare type IssueUpdateInput = {
2936
2974
  assigneeId?: Maybe<Scalars["String"]>;
2937
2975
  /** The position of the issue in its column on the board view. */
2938
2976
  boardOrder?: Maybe<Scalars["Float"]>;
2977
+ /** The identifiers of the companies associated with this ticket. */
2978
+ companyIds?: Maybe<Array<Scalars["String"]>>;
2939
2979
  /** The cycle associated with the issue. */
2940
2980
  cycleId?: Maybe<Scalars["String"]>;
2941
2981
  /** The issue description in markdown format. */
@@ -3187,6 +3227,8 @@ export declare type Mutation = {
3187
3227
  integrationTemplateCreate: IntegrationTemplatePayload;
3188
3228
  /** Deletes a integrationTemplate. */
3189
3229
  integrationTemplateDelete: ArchivePayload;
3230
+ /** Updates the organization's Slack integration. */
3231
+ integrationUpdateSlack: IntegrationPayload;
3190
3232
  /** Integrates the organization with Zendesk. */
3191
3233
  integrationZendesk: IntegrationPayload;
3192
3234
  /** Creates new settings for one or more integrations. */
@@ -3387,6 +3429,8 @@ export declare type Mutation = {
3387
3429
  userGitHubConnect: UserPayload;
3388
3430
  /** Connects the Google Calendar to the user to this Linear account via OAuth2. */
3389
3431
  userGoogleCalendarConnect: UserPayload;
3432
+ /** Connects the Jira user to this Linear account via OAuth2. */
3433
+ userJiraConnect: UserPayload;
3390
3434
  /** Makes user an admin. Can only be called by an admin. */
3391
3435
  userPromoteAdmin: UserAdminPayload;
3392
3436
  /** Makes user a regular user. Can only be called by an admin. */
@@ -3659,6 +3703,10 @@ export declare type MutationIntegrationTemplateCreateArgs = {
3659
3703
  export declare type MutationIntegrationTemplateDeleteArgs = {
3660
3704
  id: Scalars["String"];
3661
3705
  };
3706
+ export declare type MutationIntegrationUpdateSlackArgs = {
3707
+ code: Scalars["String"];
3708
+ redirectUri: Scalars["String"];
3709
+ };
3662
3710
  export declare type MutationIntegrationZendeskArgs = {
3663
3711
  code: Scalars["String"];
3664
3712
  redirectUri: Scalars["String"];
@@ -4006,6 +4054,9 @@ export declare type MutationUserGitHubConnectArgs = {
4006
4054
  export declare type MutationUserGoogleCalendarConnectArgs = {
4007
4055
  code: Scalars["String"];
4008
4056
  };
4057
+ export declare type MutationUserJiraConnectArgs = {
4058
+ code: Scalars["String"];
4059
+ };
4009
4060
  export declare type MutationUserPromoteAdminArgs = {
4010
4061
  id: Scalars["String"];
4011
4062
  };
@@ -4373,10 +4424,14 @@ export declare type NullableProjectFilter = {
4373
4424
  and?: Maybe<Array<NullableProjectFilter>>;
4374
4425
  /** Comparator for the project completion date. */
4375
4426
  completedAt?: Maybe<NullableDateComparator>;
4427
+ /** Filters that the project's completed milestones must satisfy. */
4428
+ completedProjectMilestones?: Maybe<ProjectMilestoneCollectionFilter>;
4376
4429
  /** Comparator for the created at date. */
4377
4430
  createdAt?: Maybe<DateComparator>;
4378
4431
  /** Filters that the projects creator must satisfy. */
4379
4432
  creator?: Maybe<UserFilter>;
4433
+ /** Comparator for the project health. */
4434
+ health?: Maybe<StringComparator>;
4380
4435
  /** Comparator for the identifier. */
4381
4436
  id?: Maybe<IdComparator>;
4382
4437
  /** Filters that the projects issues must satisfy. */
@@ -4387,10 +4442,14 @@ export declare type NullableProjectFilter = {
4387
4442
  members?: Maybe<UserFilter>;
4388
4443
  /** Comparator for the project name. */
4389
4444
  name?: Maybe<StringComparator>;
4445
+ /** Filters that the project's next milestone must satisfy. */
4446
+ nextProjectMilestone?: Maybe<ProjectMilestoneFilter>;
4390
4447
  /** Filter based on the existence of the relation. */
4391
4448
  null?: Maybe<Scalars["Boolean"]>;
4392
4449
  /** Compound filters, one of which need to be matched by the project. */
4393
4450
  or?: Maybe<Array<NullableProjectFilter>>;
4451
+ /** Filters that the project's milestones must satisfy. */
4452
+ projectMilestones?: Maybe<ProjectMilestoneCollectionFilter>;
4394
4453
  /** Filters that the projects roadmaps must satisfy. */
4395
4454
  roadmaps?: Maybe<RoadmapCollectionFilter>;
4396
4455
  /** [Internal] Comparator for the projects content. */
@@ -4414,10 +4473,14 @@ export declare type NullableProjectMilestoneFilter = {
4414
4473
  createdAt?: Maybe<DateComparator>;
4415
4474
  /** Comparator for the identifier. */
4416
4475
  id?: Maybe<IdComparator>;
4476
+ /** Comparator for the project milestone name. */
4477
+ name?: Maybe<StringComparator>;
4417
4478
  /** Filter based on the existence of the relation. */
4418
4479
  null?: Maybe<Scalars["Boolean"]>;
4419
4480
  /** Compound filters, one of which need to be matched by the project milestone. */
4420
4481
  or?: Maybe<Array<NullableProjectMilestoneFilter>>;
4482
+ /** Comparator for the project milestone target date. */
4483
+ targetDate?: Maybe<NullableDateComparator>;
4421
4484
  /** Comparator for the updated at date. */
4422
4485
  updatedAt?: Maybe<DateComparator>;
4423
4486
  };
@@ -4773,6 +4836,11 @@ export declare type OrganizationUsersArgs = {
4773
4836
  last?: Maybe<Scalars["Int"]>;
4774
4837
  orderBy?: Maybe<PaginationOrderBy>;
4775
4838
  };
4839
+ export declare type OrganizationAcceptedOrExpiredInviteDetailsPayload = {
4840
+ __typename?: "OrganizationAcceptedOrExpiredInviteDetailsPayload";
4841
+ /** The status of the invite */
4842
+ status: OrganizationInviteStatus;
4843
+ };
4776
4844
  export declare type OrganizationCancelDeletePayload = {
4777
4845
  __typename?: "OrganizationCancelDeletePayload";
4778
4846
  /** Whether the operation was successful. */
@@ -4911,8 +4979,15 @@ export declare type OrganizationInviteCreateInput = {
4911
4979
  /** The teams that the user has been invited to. */
4912
4980
  teamIds?: Maybe<Array<Scalars["String"]>>;
4913
4981
  };
4914
- export declare type OrganizationInviteDetailsPayload = {
4915
- __typename?: "OrganizationInviteDetailsPayload";
4982
+ export declare type OrganizationInviteDetailsPayload = OrganizationAcceptedOrExpiredInviteDetailsPayload | OrganizationInviteFullDetailsPayload;
4983
+ export declare type OrganizationInviteEdge = {
4984
+ __typename?: "OrganizationInviteEdge";
4985
+ /** Used in `before` and `after` args */
4986
+ cursor: Scalars["String"];
4987
+ node: OrganizationInvite;
4988
+ };
4989
+ export declare type OrganizationInviteFullDetailsPayload = {
4990
+ __typename?: "OrganizationInviteFullDetailsPayload";
4916
4991
  /** Whether the invite has already been accepted. */
4917
4992
  accepted: Scalars["Boolean"];
4918
4993
  /** When the invite was created. */
@@ -4931,12 +5006,8 @@ export declare type OrganizationInviteDetailsPayload = {
4931
5006
  organizationName: Scalars["String"];
4932
5007
  /** What user role the invite should grant. */
4933
5008
  role: UserRoleType;
4934
- };
4935
- export declare type OrganizationInviteEdge = {
4936
- __typename?: "OrganizationInviteEdge";
4937
- /** Used in `before` and `after` args */
4938
- cursor: Scalars["String"];
4939
- node: OrganizationInvite;
5009
+ /** The status of the invite */
5010
+ status: OrganizationInviteStatus;
4940
5011
  };
4941
5012
  export declare type OrganizationInvitePayload = {
4942
5013
  __typename?: "OrganizationInvitePayload";
@@ -4947,6 +5018,12 @@ export declare type OrganizationInvitePayload = {
4947
5018
  /** Whether the operation was successful. */
4948
5019
  success: Scalars["Boolean"];
4949
5020
  };
5021
+ /** The different statuses possible for an organization invite. */
5022
+ export declare enum OrganizationInviteStatus {
5023
+ Accepted = "accepted",
5024
+ Expired = "expired",
5025
+ Pending = "pending"
5026
+ }
4950
5027
  export declare type OrganizationInviteUpdateInput = {
4951
5028
  /** The teams that the user has been invited to. */
4952
5029
  teamIds: Array<Scalars["String"]>;
@@ -5176,12 +5253,16 @@ export declare type ProjectCollectionFilter = {
5176
5253
  and?: Maybe<Array<ProjectCollectionFilter>>;
5177
5254
  /** Comparator for the project completion date. */
5178
5255
  completedAt?: Maybe<NullableDateComparator>;
5256
+ /** Filters that the project's completed milestones must satisfy. */
5257
+ completedProjectMilestones?: Maybe<ProjectMilestoneCollectionFilter>;
5179
5258
  /** Comparator for the created at date. */
5180
5259
  createdAt?: Maybe<DateComparator>;
5181
5260
  /** Filters that the projects creator must satisfy. */
5182
5261
  creator?: Maybe<UserFilter>;
5183
5262
  /** Filters that needs to be matched by all projects. */
5184
5263
  every?: Maybe<ProjectFilter>;
5264
+ /** Comparator for the project health. */
5265
+ health?: Maybe<StringComparator>;
5185
5266
  /** Comparator for the identifier. */
5186
5267
  id?: Maybe<IdComparator>;
5187
5268
  /** Filters that the projects issues must satisfy. */
@@ -5194,8 +5275,12 @@ export declare type ProjectCollectionFilter = {
5194
5275
  members?: Maybe<UserFilter>;
5195
5276
  /** Comparator for the project name. */
5196
5277
  name?: Maybe<StringComparator>;
5278
+ /** Filters that the project's next milestone must satisfy. */
5279
+ nextProjectMilestone?: Maybe<ProjectMilestoneFilter>;
5197
5280
  /** Compound filters, one of which need to be matched by the project. */
5198
5281
  or?: Maybe<Array<ProjectCollectionFilter>>;
5282
+ /** Filters that the project's milestones must satisfy. */
5283
+ projectMilestones?: Maybe<ProjectMilestoneCollectionFilter>;
5199
5284
  /** Filters that the projects roadmaps must satisfy. */
5200
5285
  roadmaps?: Maybe<RoadmapCollectionFilter>;
5201
5286
  /** [Internal] Comparator for the projects content. */
@@ -5259,10 +5344,14 @@ export declare type ProjectFilter = {
5259
5344
  and?: Maybe<Array<ProjectFilter>>;
5260
5345
  /** Comparator for the project completion date. */
5261
5346
  completedAt?: Maybe<NullableDateComparator>;
5347
+ /** Filters that the project's completed milestones must satisfy. */
5348
+ completedProjectMilestones?: Maybe<ProjectMilestoneCollectionFilter>;
5262
5349
  /** Comparator for the created at date. */
5263
5350
  createdAt?: Maybe<DateComparator>;
5264
5351
  /** Filters that the projects creator must satisfy. */
5265
5352
  creator?: Maybe<UserFilter>;
5353
+ /** Comparator for the project health. */
5354
+ health?: Maybe<StringComparator>;
5266
5355
  /** Comparator for the identifier. */
5267
5356
  id?: Maybe<IdComparator>;
5268
5357
  /** Filters that the projects issues must satisfy. */
@@ -5273,8 +5362,12 @@ export declare type ProjectFilter = {
5273
5362
  members?: Maybe<UserFilter>;
5274
5363
  /** Comparator for the project name. */
5275
5364
  name?: Maybe<StringComparator>;
5365
+ /** Filters that the project's next milestone must satisfy. */
5366
+ nextProjectMilestone?: Maybe<ProjectMilestoneFilter>;
5276
5367
  /** Compound filters, one of which need to be matched by the project. */
5277
5368
  or?: Maybe<Array<ProjectFilter>>;
5369
+ /** Filters that the project's milestones must satisfy. */
5370
+ projectMilestones?: Maybe<ProjectMilestoneCollectionFilter>;
5278
5371
  /** Filters that the projects roadmaps must satisfy. */
5279
5372
  roadmaps?: Maybe<RoadmapCollectionFilter>;
5280
5373
  /** [Internal] Comparator for the projects content. */
@@ -5382,6 +5475,29 @@ export declare type ProjectMilestone = Node & {
5382
5475
  */
5383
5476
  updatedAt: Scalars["DateTime"];
5384
5477
  };
5478
+ /** Milestone collection filtering options. */
5479
+ export declare type ProjectMilestoneCollectionFilter = {
5480
+ /** Compound filters, all of which need to be matched by the milestone. */
5481
+ and?: Maybe<Array<ProjectMilestoneCollectionFilter>>;
5482
+ /** Comparator for the created at date. */
5483
+ createdAt?: Maybe<DateComparator>;
5484
+ /** Filters that needs to be matched by all milestones. */
5485
+ every?: Maybe<ProjectMilestoneFilter>;
5486
+ /** Comparator for the identifier. */
5487
+ id?: Maybe<IdComparator>;
5488
+ /** Comparator for the collection length. */
5489
+ length?: Maybe<NumberComparator>;
5490
+ /** Comparator for the project milestone name. */
5491
+ name?: Maybe<StringComparator>;
5492
+ /** Compound filters, one of which need to be matched by the milestone. */
5493
+ or?: Maybe<Array<ProjectMilestoneCollectionFilter>>;
5494
+ /** Filters that needs to be matched by some milestones. */
5495
+ some?: Maybe<ProjectMilestoneFilter>;
5496
+ /** Comparator for the project milestone target date. */
5497
+ targetDate?: Maybe<NullableDateComparator>;
5498
+ /** Comparator for the updated at date. */
5499
+ updatedAt?: Maybe<DateComparator>;
5500
+ };
5385
5501
  export declare type ProjectMilestoneConnection = {
5386
5502
  __typename?: "ProjectMilestoneConnection";
5387
5503
  edges: Array<ProjectMilestoneEdge>;
@@ -5408,6 +5524,23 @@ export declare type ProjectMilestoneEdge = {
5408
5524
  cursor: Scalars["String"];
5409
5525
  node: ProjectMilestone;
5410
5526
  };
5527
+ /** Project milestone filtering options. */
5528
+ export declare type ProjectMilestoneFilter = {
5529
+ /** Compound filters, all of which need to be matched by the project milestone. */
5530
+ and?: Maybe<Array<ProjectMilestoneFilter>>;
5531
+ /** Comparator for the created at date. */
5532
+ createdAt?: Maybe<DateComparator>;
5533
+ /** Comparator for the identifier. */
5534
+ id?: Maybe<IdComparator>;
5535
+ /** Comparator for the project milestone name. */
5536
+ name?: Maybe<StringComparator>;
5537
+ /** Compound filters, one of which need to be matched by the project milestone. */
5538
+ or?: Maybe<Array<ProjectMilestoneFilter>>;
5539
+ /** Comparator for the project milestone target date. */
5540
+ targetDate?: Maybe<NullableDateComparator>;
5541
+ /** Comparator for the updated at date. */
5542
+ updatedAt?: Maybe<DateComparator>;
5543
+ };
5411
5544
  export declare type ProjectMilestonePayload = {
5412
5545
  __typename?: "ProjectMilestonePayload";
5413
5546
  /** The identifier of the last sync operation. */
@@ -5695,6 +5828,8 @@ export declare type ProjectUpdate = Node & {
5695
5828
  health: ProjectUpdateHealthType;
5696
5829
  /** The unique identifier of the entity. */
5697
5830
  id: Scalars["ID"];
5831
+ /** [Internal] Serialized JSON representing current state of the project properties when posting the project update. */
5832
+ infoSnapshot?: Maybe<Scalars["JSONObject"]>;
5698
5833
  /** The project that the update is associated with. */
5699
5834
  project: Project;
5700
5835
  /**
@@ -6123,6 +6258,7 @@ export declare type QueryProjectMilestoneArgs = {
6123
6258
  export declare type QueryProjectMilestonesArgs = {
6124
6259
  after?: Maybe<Scalars["String"]>;
6125
6260
  before?: Maybe<Scalars["String"]>;
6261
+ filter?: Maybe<ProjectMilestoneFilter>;
6126
6262
  first?: Maybe<Scalars["Int"]>;
6127
6263
  includeArchived?: Maybe<Scalars["Boolean"]>;
6128
6264
  last?: Maybe<Scalars["Int"]>;
@@ -6207,6 +6343,7 @@ export declare type QueryCustomViewArgs = {
6207
6343
  };
6208
6344
  export declare type QueryCustomViewDetailsSuggestionArgs = {
6209
6345
  filter: Scalars["JSONObject"];
6346
+ modelName?: Maybe<Scalars["String"]>;
6210
6347
  };
6211
6348
  export declare type QueryCustomViewsArgs = {
6212
6349
  after?: Maybe<Scalars["String"]>;
@@ -7108,7 +7245,7 @@ export declare type Team = Node & {
7108
7245
  issueEstimationAllowZero: Scalars["Boolean"];
7109
7246
  /** Whether to add additional points to the estimate scale. */
7110
7247
  issueEstimationExtended: Scalars["Boolean"];
7111
- /** The issue estimation type to use. */
7248
+ /** The issue estimation type to use. Must be one of "notUsed", "exponential", "fibonacci", "linear", "tShirt". */
7112
7249
  issueEstimationType: Scalars["String"];
7113
7250
  /** Whether issues without priority should be sorted first. */
7114
7251
  issueOrderingNoPriorityFirst: Scalars["Boolean"];
@@ -7304,7 +7441,7 @@ export declare type TeamCreateInput = {
7304
7441
  issueEstimationAllowZero?: Maybe<Scalars["Boolean"]>;
7305
7442
  /** Whether to add additional points to the estimate scale. */
7306
7443
  issueEstimationExtended?: Maybe<Scalars["Boolean"]>;
7307
- /** The issue estimation type to use. */
7444
+ /** The issue estimation type to use. Must be one of "notUsed", "exponential", "fibonacci", "linear", "tShirt". */
7308
7445
  issueEstimationType?: Maybe<Scalars["String"]>;
7309
7446
  /** Whether issues without priority should be sorted first. */
7310
7447
  issueOrderingNoPriorityFirst?: Maybe<Scalars["Boolean"]>;
@@ -7497,7 +7634,7 @@ export declare type TeamUpdateInput = {
7497
7634
  issueEstimationAllowZero?: Maybe<Scalars["Boolean"]>;
7498
7635
  /** Whether to add additional points to the estimate scale. */
7499
7636
  issueEstimationExtended?: Maybe<Scalars["Boolean"]>;
7500
- /** The issue estimation type to use. */
7637
+ /** The issue estimation type to use. Must be one of "notUsed", "exponential", "fibonacci", "linear", "tShirt". */
7501
7638
  issueEstimationType?: Maybe<Scalars["String"]>;
7502
7639
  /** Whether issues without priority should be sorted first. */
7503
7640
  issueOrderingNoPriorityFirst?: Maybe<Scalars["Boolean"]>;
@@ -8050,6 +8187,8 @@ export declare type UserSettings = Node & {
8050
8187
  id: Scalars["ID"];
8051
8188
  /** The notification channel settings the user has selected. */
8052
8189
  notificationPreferences: Scalars["JSONObject"];
8190
+ /** Whether to show full user names instead of display names. */
8191
+ showFullUserNames: Scalars["Boolean"];
8053
8192
  /** The email types the user has unsubscribed from. */
8054
8193
  unsubscribedFrom: Array<Scalars["String"]>;
8055
8194
  /**
@@ -8592,6 +8731,13 @@ export declare type CommentFragment = {
8592
8731
  __typename?: "User";
8593
8732
  } & Pick<User, "id">>;
8594
8733
  };
8734
+ export declare type CompanyFragment = {
8735
+ __typename: "Company";
8736
+ } & Pick<Company, "externalId" | "logoUrl" | "name" | "websiteUrl" | "companyProperties" | "updatedAt" | "archivedAt" | "createdAt" | "id"> & {
8737
+ creator: {
8738
+ __typename?: "User";
8739
+ } & Pick<User, "id">;
8740
+ };
8595
8741
  export declare type EmojiFragment = {
8596
8742
  __typename: "Emoji";
8597
8743
  } & Pick<Emoji, "url" | "name" | "updatedAt" | "source" | "archivedAt" | "createdAt" | "id"> & {
@@ -9261,7 +9407,7 @@ export declare type PaidSubscriptionFragment = {
9261
9407
  };
9262
9408
  export declare type UserSettingsFragment = {
9263
9409
  __typename: "UserSettings";
9264
- } & Pick<UserSettings, "calendarHash" | "unsubscribedFrom" | "updatedAt" | "notificationPreferences" | "archivedAt" | "createdAt" | "id"> & {
9410
+ } & Pick<UserSettings, "calendarHash" | "unsubscribedFrom" | "updatedAt" | "notificationPreferences" | "archivedAt" | "createdAt" | "id" | "showFullUserNames"> & {
9265
9411
  user: {
9266
9412
  __typename?: "User";
9267
9413
  } & Pick<User, "id">;
@@ -9396,6 +9542,16 @@ export declare type CommentPayloadFragment = {
9396
9542
  __typename?: "Comment";
9397
9543
  } & Pick<Comment, "id">;
9398
9544
  };
9545
+ export declare type CompanyConnectionFragment = {
9546
+ __typename: "CompanyConnection";
9547
+ } & {
9548
+ nodes: Array<{
9549
+ __typename?: "Company";
9550
+ } & CompanyFragment>;
9551
+ pageInfo: {
9552
+ __typename?: "PageInfo";
9553
+ } & PageInfoFragment;
9554
+ };
9399
9555
  export declare type ContactPayloadFragment = {
9400
9556
  __typename: "ContactPayload";
9401
9557
  } & Pick<ContactPayload, "success">;
@@ -9779,6 +9935,9 @@ declare type Node_AuditEntry_Fragment = {
9779
9935
  declare type Node_Comment_Fragment = {
9780
9936
  __typename: "Comment";
9781
9937
  } & Pick<Comment, "id">;
9938
+ declare type Node_Company_Fragment = {
9939
+ __typename: "Company";
9940
+ } & Pick<Company, "id">;
9782
9941
  declare type Node_CustomView_Fragment = {
9783
9942
  __typename: "CustomView";
9784
9943
  } & Pick<CustomView, "id">;
@@ -9926,7 +10085,7 @@ declare type Node_WorkflowDefinition_Fragment = {
9926
10085
  declare type Node_WorkflowState_Fragment = {
9927
10086
  __typename: "WorkflowState";
9928
10087
  } & Pick<WorkflowState, "id">;
9929
- export declare type NodeFragment = Node_ApiKey_Fragment | Node_Attachment_Fragment | Node_AuditEntry_Fragment | Node_Comment_Fragment | Node_CustomView_Fragment | Node_Cycle_Fragment | Node_Document_Fragment | Node_DocumentContent_Fragment | Node_DocumentSearchResult_Fragment | Node_Emoji_Fragment | Node_ExternalUser_Fragment | Node_Favorite_Fragment | Node_Integration_Fragment | Node_IntegrationTemplate_Fragment | Node_IntegrationsSettings_Fragment | Node_Issue_Fragment | Node_IssueDraft_Fragment | Node_IssueHistory_Fragment | Node_IssueImport_Fragment | Node_IssueLabel_Fragment | Node_IssueNotification_Fragment | Node_IssueRelation_Fragment | Node_IssueSearchResult_Fragment | Node_OauthClient_Fragment | Node_OauthClientApproval_Fragment | Node_OauthClientApprovalNotification_Fragment | Node_Organization_Fragment | Node_OrganizationDomain_Fragment | Node_OrganizationInvite_Fragment | Node_PaidSubscription_Fragment | Node_Project_Fragment | Node_ProjectLink_Fragment | Node_ProjectMilestone_Fragment | Node_ProjectNotification_Fragment | Node_ProjectNotificationSubscription_Fragment | Node_ProjectSearchResult_Fragment | Node_ProjectUpdate_Fragment | Node_ProjectUpdateInteraction_Fragment | Node_PushSubscription_Fragment | Node_Reaction_Fragment | Node_Roadmap_Fragment | Node_RoadmapToProject_Fragment | Node_Team_Fragment | Node_TeamMembership_Fragment | Node_TeamNotificationSubscription_Fragment | Node_Template_Fragment | Node_User_Fragment | Node_UserSettings_Fragment | Node_ViewPreferences_Fragment | Node_Webhook_Fragment | Node_WorkflowCronJobDefinition_Fragment | Node_WorkflowDefinition_Fragment | Node_WorkflowState_Fragment;
10088
+ export declare type NodeFragment = Node_ApiKey_Fragment | Node_Attachment_Fragment | Node_AuditEntry_Fragment | Node_Comment_Fragment | Node_Company_Fragment | Node_CustomView_Fragment | Node_Cycle_Fragment | Node_Document_Fragment | Node_DocumentContent_Fragment | Node_DocumentSearchResult_Fragment | Node_Emoji_Fragment | Node_ExternalUser_Fragment | Node_Favorite_Fragment | Node_Integration_Fragment | Node_IntegrationTemplate_Fragment | Node_IntegrationsSettings_Fragment | Node_Issue_Fragment | Node_IssueDraft_Fragment | Node_IssueHistory_Fragment | Node_IssueImport_Fragment | Node_IssueLabel_Fragment | Node_IssueNotification_Fragment | Node_IssueRelation_Fragment | Node_IssueSearchResult_Fragment | Node_OauthClient_Fragment | Node_OauthClientApproval_Fragment | Node_OauthClientApprovalNotification_Fragment | Node_Organization_Fragment | Node_OrganizationDomain_Fragment | Node_OrganizationInvite_Fragment | Node_PaidSubscription_Fragment | Node_Project_Fragment | Node_ProjectLink_Fragment | Node_ProjectMilestone_Fragment | Node_ProjectNotification_Fragment | Node_ProjectNotificationSubscription_Fragment | Node_ProjectSearchResult_Fragment | Node_ProjectUpdate_Fragment | Node_ProjectUpdateInteraction_Fragment | Node_PushSubscription_Fragment | Node_Reaction_Fragment | Node_Roadmap_Fragment | Node_RoadmapToProject_Fragment | Node_Team_Fragment | Node_TeamMembership_Fragment | Node_TeamNotificationSubscription_Fragment | Node_Template_Fragment | Node_User_Fragment | Node_UserSettings_Fragment | Node_ViewPreferences_Fragment | Node_Webhook_Fragment | Node_WorkflowCronJobDefinition_Fragment | Node_WorkflowDefinition_Fragment | Node_WorkflowState_Fragment;
9930
10089
  export declare type NotificationConnectionFragment = {
9931
10090
  __typename: "NotificationConnection";
9932
10091
  } & {
@@ -10002,9 +10161,9 @@ export declare type OrganizationInviteConnectionFragment = {
10002
10161
  __typename?: "PageInfo";
10003
10162
  } & PageInfoFragment;
10004
10163
  };
10005
- export declare type OrganizationInviteDetailsPayloadFragment = {
10006
- __typename: "OrganizationInviteDetailsPayload";
10007
- } & Pick<OrganizationInviteDetailsPayload, "organizationId" | "organizationName" | "email" | "inviter" | "organizationLogoUrl" | "createdAt" | "accepted" | "expired">;
10164
+ export declare type OrganizationInviteFullDetailsPayloadFragment = {
10165
+ __typename: "OrganizationInviteFullDetailsPayload";
10166
+ } & Pick<OrganizationInviteFullDetailsPayload, "organizationId" | "organizationName" | "email" | "inviter" | "organizationLogoUrl" | "createdAt" | "accepted" | "expired">;
10008
10167
  export declare type OrganizationInvitePayloadFragment = {
10009
10168
  __typename: "OrganizationInvitePayload";
10010
10169
  } & Pick<OrganizationInvitePayload, "lastSyncId" | "success"> & {
@@ -11096,6 +11255,17 @@ export declare type DeleteIntegrationTemplateMutation = {
11096
11255
  __typename?: "ArchivePayload";
11097
11256
  } & ArchivePayloadFragment;
11098
11257
  };
11258
+ export declare type IntegrationUpdateSlackMutationVariables = Exact<{
11259
+ code: Scalars["String"];
11260
+ redirectUri: Scalars["String"];
11261
+ }>;
11262
+ export declare type IntegrationUpdateSlackMutation = {
11263
+ __typename?: "Mutation";
11264
+ } & {
11265
+ integrationUpdateSlack: {
11266
+ __typename?: "IntegrationPayload";
11267
+ } & IntegrationPayloadFragment;
11268
+ };
11099
11269
  export declare type IntegrationZendeskMutationVariables = Exact<{
11100
11270
  code: Scalars["String"];
11101
11271
  redirectUri: Scalars["String"];
@@ -12082,6 +12252,16 @@ export declare type UserGoogleCalendarConnectMutation = {
12082
12252
  __typename?: "UserPayload";
12083
12253
  } & UserPayloadFragment;
12084
12254
  };
12255
+ export declare type UserJiraConnectMutationVariables = Exact<{
12256
+ code: Scalars["String"];
12257
+ }>;
12258
+ export declare type UserJiraConnectMutation = {
12259
+ __typename?: "Mutation";
12260
+ } & {
12261
+ userJiraConnect: {
12262
+ __typename?: "UserPayload";
12263
+ } & UserPayloadFragment;
12264
+ };
12085
12265
  export declare type UserPromoteAdminMutationVariables = Exact<{
12086
12266
  id: Scalars["String"];
12087
12267
  }>;
@@ -12270,6 +12450,7 @@ export declare type ProjectMilestoneQuery = {
12270
12450
  export declare type ProjectMilestonesQueryVariables = Exact<{
12271
12451
  after?: Maybe<Scalars["String"]>;
12272
12452
  before?: Maybe<Scalars["String"]>;
12453
+ filter?: Maybe<ProjectMilestoneFilter>;
12273
12454
  first?: Maybe<Scalars["Int"]>;
12274
12455
  includeArchived?: Maybe<Scalars["Boolean"]>;
12275
12456
  last?: Maybe<Scalars["Int"]>;
@@ -13627,16 +13808,6 @@ export declare type OrganizationInviteQuery = {
13627
13808
  __typename?: "OrganizationInvite";
13628
13809
  } & OrganizationInviteFragment;
13629
13810
  };
13630
- export declare type OrganizationInviteDetailsQueryVariables = Exact<{
13631
- id: Scalars["String"];
13632
- }>;
13633
- export declare type OrganizationInviteDetailsQuery = {
13634
- __typename?: "Query";
13635
- } & {
13636
- organizationInviteDetails: {
13637
- __typename?: "OrganizationInviteDetailsPayload";
13638
- } & OrganizationInviteDetailsPayloadFragment;
13639
- };
13640
13811
  export declare type OrganizationInvitesQueryVariables = Exact<{
13641
13812
  after?: Maybe<Scalars["String"]>;
13642
13813
  before?: Maybe<Scalars["String"]>;
@@ -14703,6 +14874,8 @@ export declare const AuthResolverResponseFragmentDoc: DocumentNode<AuthResolverR
14703
14874
  export declare const CommentFragmentDoc: DocumentNode<CommentFragment, unknown>;
14704
14875
  export declare const CommentConnectionFragmentDoc: DocumentNode<CommentConnectionFragment, unknown>;
14705
14876
  export declare const CommentPayloadFragmentDoc: DocumentNode<CommentPayloadFragment, unknown>;
14877
+ export declare const CompanyFragmentDoc: DocumentNode<CompanyFragment, unknown>;
14878
+ export declare const CompanyConnectionFragmentDoc: DocumentNode<CompanyConnectionFragment, unknown>;
14706
14879
  export declare const ContactPayloadFragmentDoc: DocumentNode<ContactPayloadFragment, unknown>;
14707
14880
  export declare const CreateCsvExportReportPayloadFragmentDoc: DocumentNode<CreateCsvExportReportPayloadFragment, unknown>;
14708
14881
  export declare const CreateOrJoinOrganizationResponseFragmentDoc: DocumentNode<CreateOrJoinOrganizationResponseFragment, unknown>;
@@ -14785,7 +14958,7 @@ export declare const OrganizationDeletePayloadFragmentDoc: DocumentNode<Organiza
14785
14958
  export declare const OrganizationExistsPayloadFragmentDoc: DocumentNode<OrganizationExistsPayloadFragment, unknown>;
14786
14959
  export declare const OrganizationInviteFragmentDoc: DocumentNode<OrganizationInviteFragment, unknown>;
14787
14960
  export declare const OrganizationInviteConnectionFragmentDoc: DocumentNode<OrganizationInviteConnectionFragment, unknown>;
14788
- export declare const OrganizationInviteDetailsPayloadFragmentDoc: DocumentNode<OrganizationInviteDetailsPayloadFragment, unknown>;
14961
+ export declare const OrganizationInviteFullDetailsPayloadFragmentDoc: DocumentNode<OrganizationInviteFullDetailsPayloadFragment, unknown>;
14789
14962
  export declare const OrganizationInvitePayloadFragmentDoc: DocumentNode<OrganizationInvitePayloadFragment, unknown>;
14790
14963
  export declare const OrganizationPayloadFragmentDoc: DocumentNode<OrganizationPayloadFragment, unknown>;
14791
14964
  export declare const OrganizationStartPlusTrialPayloadFragmentDoc: DocumentNode<OrganizationStartPlusTrialPayloadFragment, unknown>;
@@ -15092,6 +15265,10 @@ export declare const CreateIntegrationTemplateDocument: DocumentNode<CreateInteg
15092
15265
  export declare const DeleteIntegrationTemplateDocument: DocumentNode<DeleteIntegrationTemplateMutation, Exact<{
15093
15266
  id: Scalars["String"];
15094
15267
  }>>;
15268
+ export declare const IntegrationUpdateSlackDocument: DocumentNode<IntegrationUpdateSlackMutation, Exact<{
15269
+ code: Scalars["String"];
15270
+ redirectUri: Scalars["String"];
15271
+ }>>;
15095
15272
  export declare const IntegrationZendeskDocument: DocumentNode<IntegrationZendeskMutation, Exact<{
15096
15273
  code: Scalars["String"];
15097
15274
  redirectUri: Scalars["String"];
@@ -15434,6 +15611,9 @@ export declare const UserGitHubConnectDocument: DocumentNode<UserGitHubConnectMu
15434
15611
  export declare const UserGoogleCalendarConnectDocument: DocumentNode<UserGoogleCalendarConnectMutation, Exact<{
15435
15612
  code: Scalars["String"];
15436
15613
  }>>;
15614
+ export declare const UserJiraConnectDocument: DocumentNode<UserJiraConnectMutation, Exact<{
15615
+ code: Scalars["String"];
15616
+ }>>;
15437
15617
  export declare const UserPromoteAdminDocument: DocumentNode<UserPromoteAdminMutation, Exact<{
15438
15618
  id: Scalars["String"];
15439
15619
  }>>;
@@ -15496,6 +15676,7 @@ export declare const ProjectMilestoneDocument: DocumentNode<ProjectMilestoneQuer
15496
15676
  export declare const ProjectMilestonesDocument: DocumentNode<ProjectMilestonesQuery, Exact<{
15497
15677
  after?: Maybe<string> | undefined;
15498
15678
  before?: Maybe<string> | undefined;
15679
+ filter?: Maybe<ProjectMilestoneFilter> | undefined;
15499
15680
  first?: Maybe<number> | undefined;
15500
15681
  includeArchived?: Maybe<boolean> | undefined;
15501
15682
  last?: Maybe<number> | undefined;
@@ -16097,9 +16278,6 @@ export declare const OrganizationExistsDocument: DocumentNode<OrganizationExists
16097
16278
  export declare const OrganizationInviteDocument: DocumentNode<OrganizationInviteQuery, Exact<{
16098
16279
  id: Scalars["String"];
16099
16280
  }>>;
16100
- export declare const OrganizationInviteDetailsDocument: DocumentNode<OrganizationInviteDetailsQuery, Exact<{
16101
- id: Scalars["String"];
16102
- }>>;
16103
16281
  export declare const OrganizationInvitesDocument: DocumentNode<OrganizationInvitesQuery, Exact<{
16104
16282
  after?: Maybe<string> | undefined;
16105
16283
  before?: Maybe<string> | undefined;