@linear/sdk 71.0.0 → 73.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -1478,6 +1478,7 @@ var _generated_documents_exports = /* @__PURE__ */ require_webhooks.__export({
1478
1478
  AgentSessionCreateOnIssueDocument: () => AgentSessionCreateOnIssueDocument,
1479
1479
  AgentSessionDocument: () => AgentSessionDocument,
1480
1480
  AgentSessionEventWebhookPayloadFragmentDoc: () => AgentSessionEventWebhookPayloadFragmentDoc,
1481
+ AgentSessionExternalLinkFragmentDoc: () => AgentSessionExternalLinkFragmentDoc,
1481
1482
  AgentSessionFragmentDoc: () => AgentSessionFragmentDoc,
1482
1483
  AgentSessionPayloadFragmentDoc: () => AgentSessionPayloadFragmentDoc,
1483
1484
  AgentSessionStatus: () => AgentSessionStatus,
@@ -1509,8 +1510,9 @@ var _generated_documents_exports = /* @__PURE__ */ require_webhooks.__export({
1509
1510
  ArchiveRoadmapDocument: () => ArchiveRoadmapDocument,
1510
1511
  ArchiveWorkflowStateDocument: () => ArchiveWorkflowStateDocument,
1511
1512
  AsksChannelConnectPayloadFragmentDoc: () => AsksChannelConnectPayloadFragmentDoc,
1512
- AsksWebFormsAuthDocument: () => AsksWebFormsAuthDocument,
1513
- AsksWebFormsAuthResponseFragmentDoc: () => AsksWebFormsAuthResponseFragmentDoc,
1513
+ AsksWebSettingDocument: () => AsksWebSettingDocument,
1514
+ AsksWebSetting_IdentityProviderDocument: () => AsksWebSetting_IdentityProviderDocument,
1515
+ AsksWebSettingsFragmentDoc: () => AsksWebSettingsFragmentDoc,
1514
1516
  AttachmentConnectionFragmentDoc: () => AttachmentConnectionFragmentDoc,
1515
1517
  AttachmentDocument: () => AttachmentDocument,
1516
1518
  AttachmentFragmentDoc: () => AttachmentFragmentDoc,
@@ -1527,6 +1529,7 @@ var _generated_documents_exports = /* @__PURE__ */ require_webhooks.__export({
1527
1529
  AttachmentIssue_LabelsDocument: () => AttachmentIssue_LabelsDocument,
1528
1530
  AttachmentIssue_NeedsDocument: () => AttachmentIssue_NeedsDocument,
1529
1531
  AttachmentIssue_RelationsDocument: () => AttachmentIssue_RelationsDocument,
1532
+ AttachmentIssue_StateHistoryDocument: () => AttachmentIssue_StateHistoryDocument,
1530
1533
  AttachmentIssue_SubscribersDocument: () => AttachmentIssue_SubscribersDocument,
1531
1534
  AttachmentLinkDiscordDocument: () => AttachmentLinkDiscordDocument,
1532
1535
  AttachmentLinkFrontDocument: () => AttachmentLinkFrontDocument,
@@ -1827,6 +1830,7 @@ var _generated_documents_exports = /* @__PURE__ */ require_webhooks.__export({
1827
1830
  GitHubEnterpriseServerInstallVerificationPayloadFragmentDoc: () => GitHubEnterpriseServerInstallVerificationPayloadFragmentDoc,
1828
1831
  GitHubEnterpriseServerPayloadFragmentDoc: () => GitHubEnterpriseServerPayloadFragmentDoc,
1829
1832
  GitLabIntegrationCreatePayloadFragmentDoc: () => GitLabIntegrationCreatePayloadFragmentDoc,
1833
+ GitLabTestConnectionPayloadFragmentDoc: () => GitLabTestConnectionPayloadFragmentDoc,
1830
1834
  GitLinkKind: () => GitLinkKind,
1831
1835
  GithubOrgType: () => GithubOrgType,
1832
1836
  GoogleUserAccountAuthDocument: () => GoogleUserAccountAuthDocument,
@@ -1894,6 +1898,7 @@ var _generated_documents_exports = /* @__PURE__ */ require_webhooks.__export({
1894
1898
  IntegrationGithubImportConnectDocument: () => IntegrationGithubImportConnectDocument,
1895
1899
  IntegrationGithubImportRefreshDocument: () => IntegrationGithubImportRefreshDocument,
1896
1900
  IntegrationGitlabConnectDocument: () => IntegrationGitlabConnectDocument,
1901
+ IntegrationGitlabTestConnectionDocument: () => IntegrationGitlabTestConnectionDocument,
1897
1902
  IntegrationGongDocument: () => IntegrationGongDocument,
1898
1903
  IntegrationGoogleSheetsDocument: () => IntegrationGoogleSheetsDocument,
1899
1904
  IntegrationHasScopesDocument: () => IntegrationHasScopesDocument,
@@ -1945,6 +1950,8 @@ var _generated_documents_exports = /* @__PURE__ */ require_webhooks.__export({
1945
1950
  IssueFragmentDoc: () => IssueFragmentDoc,
1946
1951
  IssueHistoryConnectionFragmentDoc: () => IssueHistoryConnectionFragmentDoc,
1947
1952
  IssueHistoryFragmentDoc: () => IssueHistoryFragmentDoc,
1953
+ IssueHistoryTriageRuleErrorFragmentDoc: () => IssueHistoryTriageRuleErrorFragmentDoc,
1954
+ IssueHistoryTriageRuleMetadataFragmentDoc: () => IssueHistoryTriageRuleMetadataFragmentDoc,
1948
1955
  IssueImportCheckCsvDocument: () => IssueImportCheckCsvDocument,
1949
1956
  IssueImportCheckPayloadFragmentDoc: () => IssueImportCheckPayloadFragmentDoc,
1950
1957
  IssueImportCheckSyncDocument: () => IssueImportCheckSyncDocument,
@@ -1986,6 +1993,7 @@ var _generated_documents_exports = /* @__PURE__ */ require_webhooks.__export({
1986
1993
  IssueRelationsDocument: () => IssueRelationsDocument,
1987
1994
  IssueReminderDocument: () => IssueReminderDocument,
1988
1995
  IssueRemoveLabelDocument: () => IssueRemoveLabelDocument,
1996
+ IssueRepositorySuggestionsDocument: () => IssueRepositorySuggestionsDocument,
1989
1997
  IssueSearchDocument: () => IssueSearchDocument,
1990
1998
  IssueSearchPayloadFragmentDoc: () => IssueSearchPayloadFragmentDoc,
1991
1999
  IssueSearchResultFragmentDoc: () => IssueSearchResultFragmentDoc,
@@ -2016,6 +2024,7 @@ var _generated_documents_exports = /* @__PURE__ */ require_webhooks.__export({
2016
2024
  IssueVcsBranchSearch_LabelsDocument: () => IssueVcsBranchSearch_LabelsDocument,
2017
2025
  IssueVcsBranchSearch_NeedsDocument: () => IssueVcsBranchSearch_NeedsDocument,
2018
2026
  IssueVcsBranchSearch_RelationsDocument: () => IssueVcsBranchSearch_RelationsDocument,
2027
+ IssueVcsBranchSearch_StateHistoryDocument: () => IssueVcsBranchSearch_StateHistoryDocument,
2019
2028
  IssueVcsBranchSearch_SubscribersDocument: () => IssueVcsBranchSearch_SubscribersDocument,
2020
2029
  IssueWebhookPayloadFragmentDoc: () => IssueWebhookPayloadFragmentDoc,
2021
2030
  IssueWithDescriptionChildWebhookPayloadFragmentDoc: () => IssueWithDescriptionChildWebhookPayloadFragmentDoc,
@@ -2031,6 +2040,7 @@ var _generated_documents_exports = /* @__PURE__ */ require_webhooks.__export({
2031
2040
  Issue_LabelsDocument: () => Issue_LabelsDocument,
2032
2041
  Issue_NeedsDocument: () => Issue_NeedsDocument,
2033
2042
  Issue_RelationsDocument: () => Issue_RelationsDocument,
2043
+ Issue_StateHistoryDocument: () => Issue_StateHistoryDocument,
2034
2044
  Issue_SubscribersDocument: () => Issue_SubscribersDocument,
2035
2045
  IssuesDocument: () => IssuesDocument,
2036
2046
  JoinOrganizationFromOnboardingDocument: () => JoinOrganizationFromOnboardingDocument,
@@ -2245,6 +2255,7 @@ var _generated_documents_exports = /* @__PURE__ */ require_webhooks.__export({
2245
2255
  RoadmapToProjectsDocument: () => RoadmapToProjectsDocument,
2246
2256
  Roadmap_ProjectsDocument: () => Roadmap_ProjectsDocument,
2247
2257
  RoadmapsDocument: () => RoadmapsDocument,
2258
+ RotateSecretWebhookDocument: () => RotateSecretWebhookDocument,
2248
2259
  SLADayCountType: () => SLADayCountType,
2249
2260
  SamlTokenUserAccountAuthDocument: () => SamlTokenUserAccountAuthDocument,
2250
2261
  SearchDocumentsDocument: () => SearchDocumentsDocument,
@@ -2268,6 +2279,8 @@ var _generated_documents_exports = /* @__PURE__ */ require_webhooks.__export({
2268
2279
  SsoUrlFromEmailDocument: () => SsoUrlFromEmailDocument,
2269
2280
  SsoUrlFromEmailResponseFragmentDoc: () => SsoUrlFromEmailResponseFragmentDoc,
2270
2281
  SuccessPayloadFragmentDoc: () => SuccessPayloadFragmentDoc,
2282
+ SummaryFragmentDoc: () => SummaryFragmentDoc,
2283
+ SummaryGenerationStatus: () => SummaryGenerationStatus,
2271
2284
  SuspendUserDocument: () => SuspendUserDocument,
2272
2285
  SyncedExternalThreadFragmentDoc: () => SyncedExternalThreadFragmentDoc,
2273
2286
  TeamArchivePayloadFragmentDoc: () => TeamArchivePayloadFragmentDoc,
@@ -2319,6 +2332,7 @@ var _generated_documents_exports = /* @__PURE__ */ require_webhooks.__export({
2319
2332
  TriageResponsibilityManualSelectionFragmentDoc: () => TriageResponsibilityManualSelectionFragmentDoc,
2320
2333
  TriageResponsibilityPayloadFragmentDoc: () => TriageResponsibilityPayloadFragmentDoc,
2321
2334
  TriageResponsibility_ManualSelectionDocument: () => TriageResponsibility_ManualSelectionDocument,
2335
+ TriageRuleErrorType: () => TriageRuleErrorType,
2322
2336
  TypedDocumentString: () => TypedDocumentString,
2323
2337
  UnarchiveCustomerNeedDocument: () => UnarchiveCustomerNeedDocument,
2324
2338
  UnarchiveDocumentDocument: () => UnarchiveDocumentDocument,
@@ -2403,7 +2417,10 @@ var _generated_documents_exports = /* @__PURE__ */ require_webhooks.__export({
2403
2417
  UserPayloadFragmentDoc: () => UserPayloadFragmentDoc,
2404
2418
  UserPromoteAdminDocument: () => UserPromoteAdminDocument,
2405
2419
  UserPromoteMemberDocument: () => UserPromoteMemberDocument,
2420
+ UserRevokeAllSessionsDocument: () => UserRevokeAllSessionsDocument,
2421
+ UserRevokeSessionDocument: () => UserRevokeSessionDocument,
2406
2422
  UserRoleType: () => UserRoleType,
2423
+ UserSessionsDocument: () => UserSessionsDocument,
2407
2424
  UserSettingsCustomSidebarThemeFragmentDoc: () => UserSettingsCustomSidebarThemeFragmentDoc,
2408
2425
  UserSettingsCustomThemeFragmentDoc: () => UserSettingsCustomThemeFragmentDoc,
2409
2426
  UserSettingsDocument: () => UserSettingsDocument,
@@ -2473,7 +2490,9 @@ var _generated_documents_exports = /* @__PURE__ */ require_webhooks.__export({
2473
2490
  WebhookFailureEventFragmentDoc: () => WebhookFailureEventFragmentDoc,
2474
2491
  WebhookFragmentDoc: () => WebhookFragmentDoc,
2475
2492
  WebhookPayloadFragmentDoc: () => WebhookPayloadFragmentDoc,
2493
+ WebhookRotateSecretPayloadFragmentDoc: () => WebhookRotateSecretPayloadFragmentDoc,
2476
2494
  WebhooksDocument: () => WebhooksDocument,
2495
+ WorkflowDefinitionFragmentDoc: () => WorkflowDefinitionFragmentDoc,
2477
2496
  WorkflowStateArchivePayloadFragmentDoc: () => WorkflowStateArchivePayloadFragmentDoc,
2478
2497
  WorkflowStateChildWebhookPayloadFragmentDoc: () => WorkflowStateChildWebhookPayloadFragmentDoc,
2479
2498
  WorkflowStateConnectionFragmentDoc: () => WorkflowStateConnectionFragmentDoc,
@@ -2481,7 +2500,10 @@ var _generated_documents_exports = /* @__PURE__ */ require_webhooks.__export({
2481
2500
  WorkflowStateFragmentDoc: () => WorkflowStateFragmentDoc,
2482
2501
  WorkflowStatePayloadFragmentDoc: () => WorkflowStatePayloadFragmentDoc,
2483
2502
  WorkflowState_IssuesDocument: () => WorkflowState_IssuesDocument,
2484
- WorkflowStatesDocument: () => WorkflowStatesDocument
2503
+ WorkflowStatesDocument: () => WorkflowStatesDocument,
2504
+ WorkflowTrigger: () => WorkflowTrigger,
2505
+ WorkflowTriggerType: () => WorkflowTriggerType,
2506
+ WorkflowType: () => WorkflowType
2485
2507
  });
2486
2508
  /** A modifier that provides additional instructions on how the activity should be interpreted. */
2487
2509
  let AgentActivitySignal = /* @__PURE__ */ function(AgentActivitySignal$1) {
@@ -2675,6 +2697,7 @@ let IntegrationService = /* @__PURE__ */ function(IntegrationService$1) {
2675
2697
  IntegrationService$1["Loom"] = "loom";
2676
2698
  IntegrationService$1["McpServer"] = "mcpServer";
2677
2699
  IntegrationService$1["McpServerPersonal"] = "mcpServerPersonal";
2700
+ IntegrationService$1["MicrosoftTeams"] = "microsoftTeams";
2678
2701
  IntegrationService$1["Notion"] = "notion";
2679
2702
  IntegrationService$1["Opsgenie"] = "opsgenie";
2680
2703
  IntegrationService$1["PagerDuty"] = "pagerDuty";
@@ -3019,6 +3042,13 @@ let SlackChannelType = /* @__PURE__ */ function(SlackChannelType$1) {
3019
3042
  SlackChannelType$1["Public"] = "Public";
3020
3043
  return SlackChannelType$1;
3021
3044
  }({});
3045
+ /** The generation status of a summary. */
3046
+ let SummaryGenerationStatus = /* @__PURE__ */ function(SummaryGenerationStatus$1) {
3047
+ SummaryGenerationStatus$1["Completed"] = "completed";
3048
+ SummaryGenerationStatus$1["Failed"] = "failed";
3049
+ SummaryGenerationStatus$1["Pending"] = "pending";
3050
+ return SummaryGenerationStatus$1;
3051
+ }({});
3022
3052
  /** [Internal] How to handle sub-teams when retiring a parent team. */
3023
3053
  let TeamRetirementSubTeamHandling = /* @__PURE__ */ function(TeamRetirementSubTeamHandling$1) {
3024
3054
  TeamRetirementSubTeamHandling$1["Retire"] = "retire";
@@ -3037,6 +3067,13 @@ let TriageResponsibilityAction = /* @__PURE__ */ function(TriageResponsibilityAc
3037
3067
  TriageResponsibilityAction$1["Notify"] = "notify";
3038
3068
  return TriageResponsibilityAction$1;
3039
3069
  }({});
3070
+ /** The type of error that occurred during triage rule execution. */
3071
+ let TriageRuleErrorType = /* @__PURE__ */ function(TriageRuleErrorType$1) {
3072
+ TriageRuleErrorType$1["Cycle"] = "cycle";
3073
+ TriageRuleErrorType$1["Default"] = "default";
3074
+ TriageRuleErrorType$1["LabelGroupConflict"] = "labelGroupConflict";
3075
+ return TriageRuleErrorType$1;
3076
+ }({});
3040
3077
  let UserContextViewType = /* @__PURE__ */ function(UserContextViewType$1) {
3041
3078
  UserContextViewType$1["Assigned"] = "assigned";
3042
3079
  return UserContextViewType$1;
@@ -3185,6 +3222,7 @@ let ViewType = /* @__PURE__ */ function(ViewType$1) {
3185
3222
  ViewType$1["ProjectsClosed"] = "projectsClosed";
3186
3223
  ViewType$1["QuickView"] = "quickView";
3187
3224
  ViewType$1["Release"] = "release";
3225
+ ViewType$1["ReleasePipelines"] = "releasePipelines";
3188
3226
  ViewType$1["Reviews"] = "reviews";
3189
3227
  ViewType$1["Roadmap"] = "roadmap";
3190
3228
  ViewType$1["RoadmapAll"] = "roadmapAll";
@@ -3201,6 +3239,26 @@ let ViewType = /* @__PURE__ */ function(ViewType$1) {
3201
3239
  ViewType$1["WorkspaceMembers"] = "workspaceMembers";
3202
3240
  return ViewType$1;
3203
3241
  }({});
3242
+ let WorkflowTrigger = /* @__PURE__ */ function(WorkflowTrigger$1) {
3243
+ WorkflowTrigger$1["EntityCreated"] = "entityCreated";
3244
+ WorkflowTrigger$1["EntityCreatedOrUpdated"] = "entityCreatedOrUpdated";
3245
+ WorkflowTrigger$1["EntityRemoved"] = "entityRemoved";
3246
+ WorkflowTrigger$1["EntityUnarchived"] = "entityUnarchived";
3247
+ WorkflowTrigger$1["EntityUpdated"] = "entityUpdated";
3248
+ return WorkflowTrigger$1;
3249
+ }({});
3250
+ let WorkflowTriggerType = /* @__PURE__ */ function(WorkflowTriggerType$1) {
3251
+ WorkflowTriggerType$1["Issue"] = "issue";
3252
+ WorkflowTriggerType$1["Project"] = "project";
3253
+ return WorkflowTriggerType$1;
3254
+ }({});
3255
+ let WorkflowType = /* @__PURE__ */ function(WorkflowType$1) {
3256
+ WorkflowType$1["Custom"] = "custom";
3257
+ WorkflowType$1["Sla"] = "sla";
3258
+ WorkflowType$1["Triage"] = "triage";
3259
+ WorkflowType$1["ViewSubscription"] = "viewSubscription";
3260
+ return WorkflowType$1;
3261
+ }({});
3204
3262
  var TypedDocumentString = class extends String {
3205
3263
  __apiType;
3206
3264
  value;
@@ -5644,6 +5702,22 @@ const UserNotificationSubscriptionFragmentDoc = new TypedDocumentString(`
5644
5702
  active
5645
5703
  }
5646
5704
  `, { fragmentName: "UserNotificationSubscription" });
5705
+ const SummaryFragmentDoc = new TypedDocumentString(`
5706
+ fragment Summary on Summary {
5707
+ __typename
5708
+ evalLogId
5709
+ generationStatus
5710
+ issue {
5711
+ id
5712
+ }
5713
+ updatedAt
5714
+ content
5715
+ archivedAt
5716
+ createdAt
5717
+ generatedAt
5718
+ id
5719
+ }
5720
+ `, { fragmentName: "Summary" });
5647
5721
  const SesDomainIdentityDnsRecordFragmentDoc = new TypedDocumentString(`
5648
5722
  fragment SesDomainIdentityDnsRecord on SesDomainIdentityDnsRecord {
5649
5723
  __typename
@@ -5889,6 +5963,7 @@ const OrganizationFragmentDoc = new TypedDocumentString(`
5889
5963
  feedEnabled
5890
5964
  customersEnabled
5891
5965
  roadmapEnabled
5966
+ hideNonPrimaryOrganizations
5892
5967
  projectUpdatesReminderFrequency
5893
5968
  allowMembersToInvite
5894
5969
  restrictTeamCreationToAdmins
@@ -6292,6 +6367,226 @@ const IntegrationActorWebhookPayloadFragmentDoc = new TypedDocumentString(`
6292
6367
  type
6293
6368
  }
6294
6369
  `, { fragmentName: "IntegrationActorWebhookPayload" });
6370
+ const IssueLabelFragmentDoc = new TypedDocumentString(`
6371
+ fragment IssueLabel on IssueLabel {
6372
+ __typename
6373
+ lastAppliedAt
6374
+ color
6375
+ description
6376
+ name
6377
+ updatedAt
6378
+ inheritedFrom {
6379
+ id
6380
+ }
6381
+ parent {
6382
+ id
6383
+ }
6384
+ team {
6385
+ id
6386
+ }
6387
+ archivedAt
6388
+ createdAt
6389
+ id
6390
+ creator {
6391
+ id
6392
+ }
6393
+ retiredBy {
6394
+ id
6395
+ }
6396
+ isGroup
6397
+ }
6398
+ `, { fragmentName: "IssueLabel" });
6399
+ const IssueHistoryTriageRuleErrorFragmentDoc = new TypedDocumentString(`
6400
+ fragment IssueHistoryTriageRuleError on IssueHistoryTriageRuleError {
6401
+ __typename
6402
+ conflictingLabels {
6403
+ ...IssueLabel
6404
+ }
6405
+ property
6406
+ fromTeam {
6407
+ id
6408
+ }
6409
+ toTeam {
6410
+ id
6411
+ }
6412
+ type
6413
+ conflictForSameChildLabel
6414
+ }
6415
+ fragment IssueLabel on IssueLabel {
6416
+ __typename
6417
+ lastAppliedAt
6418
+ color
6419
+ description
6420
+ name
6421
+ updatedAt
6422
+ inheritedFrom {
6423
+ id
6424
+ }
6425
+ parent {
6426
+ id
6427
+ }
6428
+ team {
6429
+ id
6430
+ }
6431
+ archivedAt
6432
+ createdAt
6433
+ id
6434
+ creator {
6435
+ id
6436
+ }
6437
+ retiredBy {
6438
+ id
6439
+ }
6440
+ isGroup
6441
+ }`, { fragmentName: "IssueHistoryTriageRuleError" });
6442
+ const WorkflowDefinitionFragmentDoc = new TypedDocumentString(`
6443
+ fragment WorkflowDefinition on WorkflowDefinition {
6444
+ __typename
6445
+ activities
6446
+ conditions
6447
+ customView {
6448
+ id
6449
+ }
6450
+ cycle {
6451
+ id
6452
+ }
6453
+ initiative {
6454
+ id
6455
+ }
6456
+ label {
6457
+ id
6458
+ }
6459
+ project {
6460
+ id
6461
+ }
6462
+ user {
6463
+ id
6464
+ }
6465
+ lastExecutedAt
6466
+ description
6467
+ updatedAt
6468
+ groupName
6469
+ name
6470
+ triggerType
6471
+ sortOrder
6472
+ team {
6473
+ id
6474
+ }
6475
+ archivedAt
6476
+ createdAt
6477
+ trigger
6478
+ type
6479
+ userContextViewType
6480
+ contextViewType
6481
+ id
6482
+ creator {
6483
+ id
6484
+ }
6485
+ lastUpdatedBy {
6486
+ id
6487
+ }
6488
+ enabled
6489
+ }
6490
+ `, { fragmentName: "WorkflowDefinition" });
6491
+ const IssueHistoryTriageRuleMetadataFragmentDoc = new TypedDocumentString(`
6492
+ fragment IssueHistoryTriageRuleMetadata on IssueHistoryTriageRuleMetadata {
6493
+ __typename
6494
+ triageRuleError {
6495
+ ...IssueHistoryTriageRuleError
6496
+ }
6497
+ updatedByTriageRule {
6498
+ ...WorkflowDefinition
6499
+ }
6500
+ }
6501
+ fragment IssueHistoryTriageRuleError on IssueHistoryTriageRuleError {
6502
+ __typename
6503
+ conflictingLabels {
6504
+ ...IssueLabel
6505
+ }
6506
+ property
6507
+ fromTeam {
6508
+ id
6509
+ }
6510
+ toTeam {
6511
+ id
6512
+ }
6513
+ type
6514
+ conflictForSameChildLabel
6515
+ }
6516
+ fragment IssueLabel on IssueLabel {
6517
+ __typename
6518
+ lastAppliedAt
6519
+ color
6520
+ description
6521
+ name
6522
+ updatedAt
6523
+ inheritedFrom {
6524
+ id
6525
+ }
6526
+ parent {
6527
+ id
6528
+ }
6529
+ team {
6530
+ id
6531
+ }
6532
+ archivedAt
6533
+ createdAt
6534
+ id
6535
+ creator {
6536
+ id
6537
+ }
6538
+ retiredBy {
6539
+ id
6540
+ }
6541
+ isGroup
6542
+ }
6543
+ fragment WorkflowDefinition on WorkflowDefinition {
6544
+ __typename
6545
+ activities
6546
+ conditions
6547
+ customView {
6548
+ id
6549
+ }
6550
+ cycle {
6551
+ id
6552
+ }
6553
+ initiative {
6554
+ id
6555
+ }
6556
+ label {
6557
+ id
6558
+ }
6559
+ project {
6560
+ id
6561
+ }
6562
+ user {
6563
+ id
6564
+ }
6565
+ lastExecutedAt
6566
+ description
6567
+ updatedAt
6568
+ groupName
6569
+ name
6570
+ triggerType
6571
+ sortOrder
6572
+ team {
6573
+ id
6574
+ }
6575
+ archivedAt
6576
+ createdAt
6577
+ trigger
6578
+ type
6579
+ userContextViewType
6580
+ contextViewType
6581
+ id
6582
+ creator {
6583
+ id
6584
+ }
6585
+ lastUpdatedBy {
6586
+ id
6587
+ }
6588
+ enabled
6589
+ }`, { fragmentName: "IssueHistoryTriageRuleMetadata" });
6295
6590
  const OauthClientActorWebhookPayloadFragmentDoc = new TypedDocumentString(`
6296
6591
  fragment OauthClientActorWebhookPayload on OauthClientActorWebhookPayload {
6297
6592
  __typename
@@ -7103,8 +7398,18 @@ const AgentActivityWebhookPayloadFragmentDoc = new TypedDocumentString(`
7103
7398
  archivedAt
7104
7399
  createdAt
7105
7400
  updatedAt
7401
+ user {
7402
+ ...UserChildWebhookPayload
7403
+ }
7106
7404
  }
7107
- `, { fragmentName: "AgentActivityWebhookPayload" });
7405
+ fragment UserChildWebhookPayload on UserChildWebhookPayload {
7406
+ __typename
7407
+ id
7408
+ url
7409
+ avatarUrl
7410
+ email
7411
+ name
7412
+ }`, { fragmentName: "AgentActivityWebhookPayload" });
7108
7413
  const AgentSessionWebhookPayloadFragmentDoc = new TypedDocumentString(`
7109
7414
  fragment AgentSessionWebhookPayload on AgentSessionWebhookPayload {
7110
7415
  __typename
@@ -7248,6 +7553,9 @@ fragment AgentActivityWebhookPayload on AgentActivityWebhookPayload {
7248
7553
  archivedAt
7249
7554
  createdAt
7250
7555
  updatedAt
7556
+ user {
7557
+ ...UserChildWebhookPayload
7558
+ }
7251
7559
  }
7252
7560
  fragment AgentSessionWebhookPayload on AgentSessionWebhookPayload {
7253
7561
  __typename
@@ -8230,6 +8538,43 @@ const ApplicationFragmentDoc = new TypedDocumentString(`
8230
8538
  developerUrl
8231
8539
  }
8232
8540
  `, { fragmentName: "Application" });
8541
+ const AsksWebSettingsFragmentDoc = new TypedDocumentString(`
8542
+ fragment AsksWebSettings on AsksWebSettings {
8543
+ __typename
8544
+ domain
8545
+ emailIntakeAddress {
8546
+ id
8547
+ }
8548
+ identityProvider {
8549
+ ...IdentityProvider
8550
+ }
8551
+ updatedAt
8552
+ archivedAt
8553
+ createdAt
8554
+ id
8555
+ creator {
8556
+ id
8557
+ }
8558
+ }
8559
+ fragment IdentityProvider on IdentityProvider {
8560
+ __typename
8561
+ ssoBinding
8562
+ ssoEndpoint
8563
+ priority
8564
+ ssoSignAlgo
8565
+ issuerEntityId
8566
+ updatedAt
8567
+ spEntityId
8568
+ archivedAt
8569
+ createdAt
8570
+ type
8571
+ id
8572
+ samlEnabled
8573
+ scimEnabled
8574
+ defaultMigrated
8575
+ allowNameChange
8576
+ ssoSigningCert
8577
+ }`, { fragmentName: "AsksWebSettings" });
8233
8578
  const TeamWithParentWebhookPayloadFragmentDoc = new TypedDocumentString(`
8234
8579
  fragment TeamWithParentWebhookPayload on TeamWithParentWebhookPayload {
8235
8580
  __typename
@@ -8943,12 +9288,22 @@ const AgentActivityPayloadFragmentDoc = new TypedDocumentString(`
8943
9288
  success
8944
9289
  }
8945
9290
  `, { fragmentName: "AgentActivityPayload" });
9291
+ const AgentSessionExternalLinkFragmentDoc = new TypedDocumentString(`
9292
+ fragment AgentSessionExternalLink on AgentSessionExternalLink {
9293
+ __typename
9294
+ label
9295
+ url
9296
+ }
9297
+ `, { fragmentName: "AgentSessionExternalLink" });
8946
9298
  const AgentSessionFragmentDoc = new TypedDocumentString(`
8947
9299
  fragment AgentSession on AgentSession {
8948
9300
  __typename
8949
9301
  plan
8950
9302
  summary
8951
9303
  url
9304
+ externalLinks {
9305
+ ...AgentSessionExternalLink
9306
+ }
8952
9307
  sourceMetadata
8953
9308
  context
8954
9309
  externalLink
@@ -8981,7 +9336,11 @@ const AgentSessionFragmentDoc = new TypedDocumentString(`
8981
9336
  externalUrls
8982
9337
  type
8983
9338
  }
8984
- `, { fragmentName: "AgentSession" });
9339
+ fragment AgentSessionExternalLink on AgentSessionExternalLink {
9340
+ __typename
9341
+ label
9342
+ url
9343
+ }`, { fragmentName: "AgentSession" });
8985
9344
  const AgentSessionConnectionFragmentDoc = new TypedDocumentString(`
8986
9345
  fragment AgentSessionConnection on AgentSessionConnection {
8987
9346
  __typename
@@ -8997,6 +9356,9 @@ const AgentSessionConnectionFragmentDoc = new TypedDocumentString(`
8997
9356
  plan
8998
9357
  summary
8999
9358
  url
9359
+ externalLinks {
9360
+ ...AgentSessionExternalLink
9361
+ }
9000
9362
  sourceMetadata
9001
9363
  context
9002
9364
  externalLink
@@ -9029,6 +9391,11 @@ const AgentSessionConnectionFragmentDoc = new TypedDocumentString(`
9029
9391
  externalUrls
9030
9392
  type
9031
9393
  }
9394
+ fragment AgentSessionExternalLink on AgentSessionExternalLink {
9395
+ __typename
9396
+ label
9397
+ url
9398
+ }
9032
9399
  fragment PageInfo on PageInfo {
9033
9400
  __typename
9034
9401
  startCursor
@@ -9154,13 +9521,6 @@ fragment SlackAsksTeamSettings on SlackAsksTeamSettings {
9154
9521
  id
9155
9522
  hasDefaultAsk
9156
9523
  }`, { fragmentName: "AsksChannelConnectPayload" });
9157
- const AsksWebFormsAuthResponseFragmentDoc = new TypedDocumentString(`
9158
- fragment AsksWebFormsAuthResponse on AsksWebFormsAuthResponse {
9159
- __typename
9160
- name
9161
- email
9162
- }
9163
- `, { fragmentName: "AsksWebFormsAuthResponse" });
9164
9524
  const AttachmentFragmentDoc = new TypedDocumentString(`
9165
9525
  fragment Attachment on Attachment {
9166
9526
  __typename
@@ -9325,6 +9685,7 @@ const AuthOrganizationFragmentDoc = new TypedDocumentString(`
9325
9685
  samlEnabled
9326
9686
  scimEnabled
9327
9687
  enabled
9688
+ hideNonPrimaryOrganizations
9328
9689
  userCount
9329
9690
  }
9330
9691
  `, { fragmentName: "AuthOrganization" });
@@ -9360,6 +9721,7 @@ const AuthUserFragmentDoc = new TypedDocumentString(`
9360
9721
  samlEnabled
9361
9722
  scimEnabled
9362
9723
  enabled
9724
+ hideNonPrimaryOrganizations
9363
9725
  userCount
9364
9726
  }`, { fragmentName: "AuthUser" });
9365
9727
  const AuthResolverResponseFragmentDoc = new TypedDocumentString(`
@@ -9381,6 +9743,7 @@ const AuthResolverResponseFragmentDoc = new TypedDocumentString(`
9381
9743
  ...AuthOrganization
9382
9744
  }
9383
9745
  allowDomainAccess
9746
+ service
9384
9747
  id
9385
9748
  }
9386
9749
  fragment AuthUser on AuthUser {
@@ -9414,6 +9777,7 @@ fragment AuthOrganization on AuthOrganization {
9414
9777
  samlEnabled
9415
9778
  scimEnabled
9416
9779
  enabled
9780
+ hideNonPrimaryOrganizations
9417
9781
  userCount
9418
9782
  }`, { fragmentName: "AuthResolverResponse" });
9419
9783
  const ReactionFragmentDoc = new TypedDocumentString(`
@@ -10013,6 +10377,7 @@ fragment AuthOrganization on AuthOrganization {
10013
10377
  samlEnabled
10014
10378
  scimEnabled
10015
10379
  enabled
10380
+ hideNonPrimaryOrganizations
10016
10381
  userCount
10017
10382
  }`, { fragmentName: "CreateOrJoinOrganizationResponse" });
10018
10383
  const ViewPreferencesValuesFragmentDoc = new TypedDocumentString(`
@@ -11635,6 +12000,19 @@ const GitLabIntegrationCreatePayloadFragmentDoc = new TypedDocumentString(`
11635
12000
  success
11636
12001
  }
11637
12002
  `, { fragmentName: "GitLabIntegrationCreatePayload" });
12003
+ const GitLabTestConnectionPayloadFragmentDoc = new TypedDocumentString(`
12004
+ fragment GitLabTestConnectionPayload on GitLabTestConnectionPayload {
12005
+ __typename
12006
+ error
12007
+ errorResponseBody
12008
+ errorResponseHeaders
12009
+ lastSyncId
12010
+ integration {
12011
+ id
12012
+ }
12013
+ success
12014
+ }
12015
+ `, { fragmentName: "GitLabTestConnectionPayload" });
11638
12016
  const ImageUploadFromUrlPayloadFragmentDoc = new TypedDocumentString(`
11639
12017
  fragment ImageUploadFromUrlPayload on ImageUploadFromUrlPayload {
11640
12018
  __typename
@@ -12898,35 +13276,6 @@ const IssueImportFragmentDoc = new TypedDocumentString(`
12898
13276
  error
12899
13277
  }
12900
13278
  `, { fragmentName: "IssueImport" });
12901
- const IssueLabelFragmentDoc = new TypedDocumentString(`
12902
- fragment IssueLabel on IssueLabel {
12903
- __typename
12904
- lastAppliedAt
12905
- color
12906
- description
12907
- name
12908
- updatedAt
12909
- inheritedFrom {
12910
- id
12911
- }
12912
- parent {
12913
- id
12914
- }
12915
- team {
12916
- id
12917
- }
12918
- archivedAt
12919
- createdAt
12920
- id
12921
- creator {
12922
- id
12923
- }
12924
- retiredBy {
12925
- id
12926
- }
12927
- isGroup
12928
- }
12929
- `, { fragmentName: "IssueLabel" });
12930
13279
  const IssueHistoryFragmentDoc = new TypedDocumentString(`
12931
13280
  fragment IssueHistory on IssueHistory {
12932
13281
  __typename
@@ -17784,6 +18133,14 @@ const WebhookPayloadFragmentDoc = new TypedDocumentString(`
17784
18133
  success
17785
18134
  }
17786
18135
  `, { fragmentName: "WebhookPayload" });
18136
+ const WebhookRotateSecretPayloadFragmentDoc = new TypedDocumentString(`
18137
+ fragment WebhookRotateSecretPayload on WebhookRotateSecretPayload {
18138
+ __typename
18139
+ lastSyncId
18140
+ secret
18141
+ success
18142
+ }
18143
+ `, { fragmentName: "WebhookRotateSecretPayload" });
17787
18144
  const WorkflowStateFragmentDoc = new TypedDocumentString(`
17788
18145
  fragment WorkflowState on WorkflowState {
17789
18146
  __typename
@@ -18166,6 +18523,9 @@ const AgentSessionDocument = new TypedDocumentString(`
18166
18523
  plan
18167
18524
  summary
18168
18525
  url
18526
+ externalLinks {
18527
+ ...AgentSessionExternalLink
18528
+ }
18169
18529
  sourceMetadata
18170
18530
  context
18171
18531
  externalLink
@@ -18197,6 +18557,11 @@ const AgentSessionDocument = new TypedDocumentString(`
18197
18557
  }
18198
18558
  externalUrls
18199
18559
  type
18560
+ }
18561
+ fragment AgentSessionExternalLink on AgentSessionExternalLink {
18562
+ __typename
18563
+ label
18564
+ url
18200
18565
  }`);
18201
18566
  const AgentSession_ActivitiesDocument = new TypedDocumentString(`
18202
18567
  query agentSession_activities($id: String!, $after: String, $before: String, $filter: AgentActivityFilter, $first: Int, $includeArchived: Boolean, $last: Int, $orderBy: PaginationOrderBy) {
@@ -18320,6 +18685,9 @@ const AgentSessionsDocument = new TypedDocumentString(`
18320
18685
  plan
18321
18686
  summary
18322
18687
  url
18688
+ externalLinks {
18689
+ ...AgentSessionExternalLink
18690
+ }
18323
18691
  sourceMetadata
18324
18692
  context
18325
18693
  externalLink
@@ -18352,6 +18720,11 @@ const AgentSessionsDocument = new TypedDocumentString(`
18352
18720
  externalUrls
18353
18721
  type
18354
18722
  }
18723
+ fragment AgentSessionExternalLink on AgentSessionExternalLink {
18724
+ __typename
18725
+ label
18726
+ url
18727
+ }
18355
18728
  fragment AgentSessionConnection on AgentSessionConnection {
18356
18729
  __typename
18357
18730
  nodes {
@@ -18384,6 +18757,75 @@ const ApplicationInfoDocument = new TypedDocumentString(`
18384
18757
  clientId
18385
18758
  developerUrl
18386
18759
  }`);
18760
+ const AsksWebSettingDocument = new TypedDocumentString(`
18761
+ query asksWebSetting($id: String!) {
18762
+ asksWebSetting(id: $id) {
18763
+ ...AsksWebSettings
18764
+ }
18765
+ }
18766
+ fragment IdentityProvider on IdentityProvider {
18767
+ __typename
18768
+ ssoBinding
18769
+ ssoEndpoint
18770
+ priority
18771
+ ssoSignAlgo
18772
+ issuerEntityId
18773
+ updatedAt
18774
+ spEntityId
18775
+ archivedAt
18776
+ createdAt
18777
+ type
18778
+ id
18779
+ samlEnabled
18780
+ scimEnabled
18781
+ defaultMigrated
18782
+ allowNameChange
18783
+ ssoSigningCert
18784
+ }
18785
+ fragment AsksWebSettings on AsksWebSettings {
18786
+ __typename
18787
+ domain
18788
+ emailIntakeAddress {
18789
+ id
18790
+ }
18791
+ identityProvider {
18792
+ ...IdentityProvider
18793
+ }
18794
+ updatedAt
18795
+ archivedAt
18796
+ createdAt
18797
+ id
18798
+ creator {
18799
+ id
18800
+ }
18801
+ }`);
18802
+ const AsksWebSetting_IdentityProviderDocument = new TypedDocumentString(`
18803
+ query asksWebSetting_identityProvider($id: String!) {
18804
+ asksWebSetting(id: $id) {
18805
+ identityProvider {
18806
+ ...IdentityProvider
18807
+ }
18808
+ }
18809
+ }
18810
+ fragment IdentityProvider on IdentityProvider {
18811
+ __typename
18812
+ ssoBinding
18813
+ ssoEndpoint
18814
+ priority
18815
+ ssoSignAlgo
18816
+ issuerEntityId
18817
+ updatedAt
18818
+ spEntityId
18819
+ archivedAt
18820
+ createdAt
18821
+ type
18822
+ id
18823
+ samlEnabled
18824
+ scimEnabled
18825
+ defaultMigrated
18826
+ allowNameChange
18827
+ ssoSigningCert
18828
+ }`);
18387
18829
  const AttachmentDocument = new TypedDocumentString(`
18388
18830
  query attachment($id: String!) {
18389
18831
  attachment(id: $id) {
@@ -19771,6 +20213,40 @@ fragment PageInfo on PageInfo {
19771
20213
  hasPreviousPage
19772
20214
  hasNextPage
19773
20215
  }`);
20216
+ const AttachmentIssue_StateHistoryDocument = new TypedDocumentString(`
20217
+ query attachmentIssue_stateHistory($id: String!, $after: String, $before: String, $first: Int, $last: Int) {
20218
+ attachmentIssue(id: $id) {
20219
+ stateHistory(after: $after, before: $before, first: $first, last: $last) {
20220
+ ...IssueStateSpanConnection
20221
+ }
20222
+ }
20223
+ }
20224
+ fragment IssueStateSpan on IssueStateSpan {
20225
+ __typename
20226
+ startedAt
20227
+ endedAt
20228
+ id
20229
+ state {
20230
+ id
20231
+ }
20232
+ stateId
20233
+ }
20234
+ fragment IssueStateSpanConnection on IssueStateSpanConnection {
20235
+ __typename
20236
+ nodes {
20237
+ ...IssueStateSpan
20238
+ }
20239
+ pageInfo {
20240
+ ...PageInfo
20241
+ }
20242
+ }
20243
+ fragment PageInfo on PageInfo {
20244
+ __typename
20245
+ startCursor
20246
+ endCursor
20247
+ hasPreviousPage
20248
+ hasNextPage
20249
+ }`);
19774
20250
  const AttachmentIssue_SubscribersDocument = new TypedDocumentString(`
19775
20251
  query attachmentIssue_subscribers($id: String!, $after: String, $before: String, $filter: UserFilter, $first: Int, $includeArchived: Boolean, $includeDisabled: Boolean, $last: Int, $orderBy: PaginationOrderBy) {
19776
20252
  attachmentIssue(id: $id) {
@@ -20075,6 +20551,7 @@ fragment AuthOrganization on AuthOrganization {
20075
20551
  samlEnabled
20076
20552
  scimEnabled
20077
20553
  enabled
20554
+ hideNonPrimaryOrganizations
20078
20555
  userCount
20079
20556
  }
20080
20557
  fragment AuthResolverResponse on AuthResolverResponse {
@@ -20095,6 +20572,7 @@ fragment AuthResolverResponse on AuthResolverResponse {
20095
20572
  ...AuthOrganization
20096
20573
  }
20097
20574
  allowDomainAccess
20575
+ service
20098
20576
  id
20099
20577
  }`);
20100
20578
  const CommentDocument = new TypedDocumentString(`
@@ -26241,6 +26719,40 @@ fragment PageInfo on PageInfo {
26241
26719
  hasPreviousPage
26242
26720
  hasNextPage
26243
26721
  }`);
26722
+ const Issue_StateHistoryDocument = new TypedDocumentString(`
26723
+ query issue_stateHistory($id: String!, $after: String, $before: String, $first: Int, $last: Int) {
26724
+ issue(id: $id) {
26725
+ stateHistory(after: $after, before: $before, first: $first, last: $last) {
26726
+ ...IssueStateSpanConnection
26727
+ }
26728
+ }
26729
+ }
26730
+ fragment IssueStateSpan on IssueStateSpan {
26731
+ __typename
26732
+ startedAt
26733
+ endedAt
26734
+ id
26735
+ state {
26736
+ id
26737
+ }
26738
+ stateId
26739
+ }
26740
+ fragment IssueStateSpanConnection on IssueStateSpanConnection {
26741
+ __typename
26742
+ nodes {
26743
+ ...IssueStateSpan
26744
+ }
26745
+ pageInfo {
26746
+ ...PageInfo
26747
+ }
26748
+ }
26749
+ fragment PageInfo on PageInfo {
26750
+ __typename
26751
+ startCursor
26752
+ endCursor
26753
+ hasPreviousPage
26754
+ hasNextPage
26755
+ }`);
26244
26756
  const Issue_SubscribersDocument = new TypedDocumentString(`
26245
26757
  query issue_subscribers($id: String!, $after: String, $before: String, $filter: UserFilter, $first: Int, $includeArchived: Boolean, $includeDisabled: Boolean, $last: Int, $orderBy: PaginationOrderBy) {
26246
26758
  issue(id: $id) {
@@ -26990,6 +27502,28 @@ fragment PageInfo on PageInfo {
26990
27502
  hasPreviousPage
26991
27503
  hasNextPage
26992
27504
  }`);
27505
+ const IssueRepositorySuggestionsDocument = new TypedDocumentString(`
27506
+ query issueRepositorySuggestions($agentSessionId: String, $candidateRepositories: [CandidateRepository!]!, $issueId: String!) {
27507
+ issueRepositorySuggestions(
27508
+ agentSessionId: $agentSessionId
27509
+ candidateRepositories: $candidateRepositories
27510
+ issueId: $issueId
27511
+ ) {
27512
+ ...RepositorySuggestionsPayload
27513
+ }
27514
+ }
27515
+ fragment RepositorySuggestion on RepositorySuggestion {
27516
+ __typename
27517
+ confidence
27518
+ hostname
27519
+ repositoryFullName
27520
+ }
27521
+ fragment RepositorySuggestionsPayload on RepositorySuggestionsPayload {
27522
+ __typename
27523
+ suggestions {
27524
+ ...RepositorySuggestion
27525
+ }
27526
+ }`);
26993
27527
  const IssueSearchDocument = new TypedDocumentString(`
26994
27528
  query issueSearch($after: String, $before: String, $filter: IssueFilter, $first: Int, $includeArchived: Boolean, $last: Int, $orderBy: PaginationOrderBy, $query: String) {
26995
27529
  issueSearch(
@@ -28559,6 +29093,40 @@ fragment PageInfo on PageInfo {
28559
29093
  hasPreviousPage
28560
29094
  hasNextPage
28561
29095
  }`);
29096
+ const IssueVcsBranchSearch_StateHistoryDocument = new TypedDocumentString(`
29097
+ query issueVcsBranchSearch_stateHistory($branchName: String!, $after: String, $before: String, $first: Int, $last: Int) {
29098
+ issueVcsBranchSearch(branchName: $branchName) {
29099
+ stateHistory(after: $after, before: $before, first: $first, last: $last) {
29100
+ ...IssueStateSpanConnection
29101
+ }
29102
+ }
29103
+ }
29104
+ fragment IssueStateSpan on IssueStateSpan {
29105
+ __typename
29106
+ startedAt
29107
+ endedAt
29108
+ id
29109
+ state {
29110
+ id
29111
+ }
29112
+ stateId
29113
+ }
29114
+ fragment IssueStateSpanConnection on IssueStateSpanConnection {
29115
+ __typename
29116
+ nodes {
29117
+ ...IssueStateSpan
29118
+ }
29119
+ pageInfo {
29120
+ ...PageInfo
29121
+ }
29122
+ }
29123
+ fragment PageInfo on PageInfo {
29124
+ __typename
29125
+ startCursor
29126
+ endCursor
29127
+ hasPreviousPage
29128
+ hasNextPage
29129
+ }`);
28562
29130
  const IssueVcsBranchSearch_SubscribersDocument = new TypedDocumentString(`
28563
29131
  query issueVcsBranchSearch_subscribers($branchName: String!, $after: String, $before: String, $filter: UserFilter, $first: Int, $includeArchived: Boolean, $includeDisabled: Boolean, $last: Int, $orderBy: PaginationOrderBy) {
28564
29132
  issueVcsBranchSearch(branchName: $branchName) {
@@ -29898,6 +30466,7 @@ fragment Organization on Organization {
29898
30466
  feedEnabled
29899
30467
  customersEnabled
29900
30468
  roadmapEnabled
30469
+ hideNonPrimaryOrganizations
29901
30470
  projectUpdatesReminderFrequency
29902
30471
  allowMembersToInvite
29903
30472
  restrictTeamCreationToAdmins
@@ -36491,6 +37060,34 @@ fragment TeamConnection on TeamConnection {
36491
37060
  ...PageInfo
36492
37061
  }
36493
37062
  }`);
37063
+ const UserSessionsDocument = new TypedDocumentString(`
37064
+ query userSessions($id: String!) {
37065
+ userSessions(id: $id) {
37066
+ ...AuthenticationSessionResponse
37067
+ }
37068
+ }
37069
+ fragment AuthenticationSessionResponse on AuthenticationSessionResponse {
37070
+ __typename
37071
+ client
37072
+ countryCodes
37073
+ updatedAt
37074
+ location
37075
+ ip
37076
+ isCurrentSession
37077
+ locationCity
37078
+ locationCountryCode
37079
+ locationCountry
37080
+ locationRegionCode
37081
+ name
37082
+ operatingSystem
37083
+ service
37084
+ userAgent
37085
+ createdAt
37086
+ type
37087
+ browserType
37088
+ lastActiveAt
37089
+ id
37090
+ }`);
36494
37091
  const UserSettingsDocument = new TypedDocumentString(`
36495
37092
  query userSettings {
36496
37093
  userSettings {
@@ -38737,17 +39334,6 @@ const AirbyteIntegrationConnectDocument = new TypedDocumentString(`
38737
39334
  }
38738
39335
  success
38739
39336
  }`);
38740
- const AsksWebFormsAuthDocument = new TypedDocumentString(`
38741
- mutation asksWebFormsAuth($token: String!) {
38742
- asksWebFormsAuth(token: $token) {
38743
- ...AsksWebFormsAuthResponse
38744
- }
38745
- }
38746
- fragment AsksWebFormsAuthResponse on AsksWebFormsAuthResponse {
38747
- __typename
38748
- name
38749
- email
38750
- }`);
38751
39337
  const CreateAttachmentDocument = new TypedDocumentString(`
38752
39338
  mutation createAttachment($input: AttachmentCreateInput!) {
38753
39339
  attachmentCreate(input: $input) {
@@ -39178,6 +39764,7 @@ fragment AuthOrganization on AuthOrganization {
39178
39764
  samlEnabled
39179
39765
  scimEnabled
39180
39766
  enabled
39767
+ hideNonPrimaryOrganizations
39181
39768
  userCount
39182
39769
  }
39183
39770
  fragment CreateOrJoinOrganizationResponse on CreateOrJoinOrganizationResponse {
@@ -39757,6 +40344,7 @@ fragment AuthOrganization on AuthOrganization {
39757
40344
  samlEnabled
39758
40345
  scimEnabled
39759
40346
  enabled
40347
+ hideNonPrimaryOrganizations
39760
40348
  userCount
39761
40349
  }
39762
40350
  fragment AuthResolverResponse on AuthResolverResponse {
@@ -39777,6 +40365,7 @@ fragment AuthResolverResponse on AuthResolverResponse {
39777
40365
  ...AuthOrganization
39778
40366
  }
39779
40367
  allowDomainAccess
40368
+ service
39780
40369
  id
39781
40370
  }`);
39782
40371
  const EmailUnsubscribeDocument = new TypedDocumentString(`
@@ -40144,6 +40733,7 @@ fragment AuthOrganization on AuthOrganization {
40144
40733
  samlEnabled
40145
40734
  scimEnabled
40146
40735
  enabled
40736
+ hideNonPrimaryOrganizations
40147
40737
  userCount
40148
40738
  }
40149
40739
  fragment AuthResolverResponse on AuthResolverResponse {
@@ -40164,6 +40754,7 @@ fragment AuthResolverResponse on AuthResolverResponse {
40164
40754
  ...AuthOrganization
40165
40755
  }
40166
40756
  allowDomainAccess
40757
+ service
40167
40758
  id
40168
40759
  }`);
40169
40760
  const ImageUploadFromUrlDocument = new TypedDocumentString(`
@@ -40651,6 +41242,23 @@ const IntegrationGitlabConnectDocument = new TypedDocumentString(`
40651
41242
  webhookSecret
40652
41243
  success
40653
41244
  }`);
41245
+ const IntegrationGitlabTestConnectionDocument = new TypedDocumentString(`
41246
+ mutation integrationGitlabTestConnection($integrationId: String!) {
41247
+ integrationGitlabTestConnection(integrationId: $integrationId) {
41248
+ ...GitLabTestConnectionPayload
41249
+ }
41250
+ }
41251
+ fragment GitLabTestConnectionPayload on GitLabTestConnectionPayload {
41252
+ __typename
41253
+ error
41254
+ errorResponseBody
41255
+ errorResponseHeaders
41256
+ lastSyncId
41257
+ integration {
41258
+ id
41259
+ }
41260
+ success
41261
+ }`);
40654
41262
  const IntegrationGongDocument = new TypedDocumentString(`
40655
41263
  mutation integrationGong($code: String!, $redirectUri: String!) {
40656
41264
  integrationGong(code: $code, redirectUri: $redirectUri) {
@@ -42010,6 +42618,7 @@ fragment AuthOrganization on AuthOrganization {
42010
42618
  samlEnabled
42011
42619
  scimEnabled
42012
42620
  enabled
42621
+ hideNonPrimaryOrganizations
42013
42622
  userCount
42014
42623
  }
42015
42624
  fragment CreateOrJoinOrganizationResponse on CreateOrJoinOrganizationResponse {
@@ -42058,6 +42667,7 @@ fragment AuthOrganization on AuthOrganization {
42058
42667
  samlEnabled
42059
42668
  scimEnabled
42060
42669
  enabled
42670
+ hideNonPrimaryOrganizations
42061
42671
  userCount
42062
42672
  }
42063
42673
  fragment CreateOrJoinOrganizationResponse on CreateOrJoinOrganizationResponse {
@@ -46532,6 +47142,7 @@ fragment AuthOrganization on AuthOrganization {
46532
47142
  samlEnabled
46533
47143
  scimEnabled
46534
47144
  enabled
47145
+ hideNonPrimaryOrganizations
46535
47146
  userCount
46536
47147
  }
46537
47148
  fragment AuthResolverResponse on AuthResolverResponse {
@@ -46552,6 +47163,7 @@ fragment AuthResolverResponse on AuthResolverResponse {
46552
47163
  ...AuthOrganization
46553
47164
  }
46554
47165
  allowDomainAccess
47166
+ service
46555
47167
  id
46556
47168
  }`);
46557
47169
  const CreateTeamDocument = new TypedDocumentString(`
@@ -46913,6 +47525,26 @@ const UserPromoteMemberDocument = new TypedDocumentString(`
46913
47525
  __typename
46914
47526
  success
46915
47527
  }`);
47528
+ const UserRevokeAllSessionsDocument = new TypedDocumentString(`
47529
+ mutation userRevokeAllSessions($id: String!) {
47530
+ userRevokeAllSessions(id: $id) {
47531
+ ...UserAdminPayload
47532
+ }
47533
+ }
47534
+ fragment UserAdminPayload on UserAdminPayload {
47535
+ __typename
47536
+ success
47537
+ }`);
47538
+ const UserRevokeSessionDocument = new TypedDocumentString(`
47539
+ mutation userRevokeSession($id: String!, $sessionId: String!) {
47540
+ userRevokeSession(id: $id, sessionId: $sessionId) {
47541
+ ...UserAdminPayload
47542
+ }
47543
+ }
47544
+ fragment UserAdminPayload on UserAdminPayload {
47545
+ __typename
47546
+ success
47547
+ }`);
46916
47548
  const UserSettingsFlagsResetDocument = new TypedDocumentString(`
46917
47549
  mutation userSettingsFlagsReset($flags: [UserFlagType!]) {
46918
47550
  userSettingsFlagsReset(flags: $flags) {
@@ -47083,6 +47715,18 @@ const DeleteWebhookDocument = new TypedDocumentString(`
47083
47715
  lastSyncId
47084
47716
  success
47085
47717
  }`);
47718
+ const RotateSecretWebhookDocument = new TypedDocumentString(`
47719
+ mutation rotateSecretWebhook($id: String!) {
47720
+ webhookRotateSecret(id: $id) {
47721
+ ...WebhookRotateSecretPayload
47722
+ }
47723
+ }
47724
+ fragment WebhookRotateSecretPayload on WebhookRotateSecretPayload {
47725
+ __typename
47726
+ lastSyncId
47727
+ secret
47728
+ success
47729
+ }`);
47086
47730
  const UpdateWebhookDocument = new TypedDocumentString(`
47087
47731
  mutation updateWebhook($id: String!, $input: WebhookUpdateInput!) {
47088
47732
  webhookUpdate(id: $id, input: $input) {
@@ -47549,6 +48193,7 @@ var AgentActivityWebhookPayload = class {
47549
48193
  this.sourceCommentId = data.sourceCommentId ?? void 0;
47550
48194
  this.updatedAt = data.updatedAt;
47551
48195
  this.userId = data.userId;
48196
+ this.user = new UserChildWebhookPayload(data.user);
47552
48197
  }
47553
48198
  /** The ID of the agent session that this activity belongs to. */
47554
48199
  agentSessionId;
@@ -47570,6 +48215,8 @@ var AgentActivityWebhookPayload = class {
47570
48215
  updatedAt;
47571
48216
  /** The ID of the user who created this agent activity. */
47572
48217
  userId;
48218
+ /** The user who created this agent activity. */
48219
+ user;
47573
48220
  };
47574
48221
  /**
47575
48222
  * A session for agent activities and state management.
@@ -47600,6 +48247,7 @@ var AgentSession = class extends Request {
47600
48247
  this.summary = data.summary ?? void 0;
47601
48248
  this.updatedAt = parseDate(data.updatedAt) ?? /* @__PURE__ */ new Date();
47602
48249
  this.url = data.url ?? void 0;
48250
+ this.externalLinks = data.externalLinks.map((node) => new AgentSessionExternalLink(request, node));
47603
48251
  this.status = data.status;
47604
48252
  this.type = data.type ?? void 0;
47605
48253
  this._appUser = data.appUser;
@@ -47640,6 +48288,8 @@ var AgentSession = class extends Request {
47640
48288
  updatedAt;
47641
48289
  /** Agent session URL. */
47642
48290
  url;
48291
+ /** External links associated with this session. */
48292
+ externalLinks;
47643
48293
  /** The current status of the agent session. */
47644
48294
  status;
47645
48295
  /** [DEPRECATED] The type of the agent session. */
@@ -47762,6 +48412,23 @@ var AgentSessionEventWebhookPayload = class {
47762
48412
  agentSession;
47763
48413
  };
47764
48414
  /**
48415
+ * An external link associated with an agent session.
48416
+ *
48417
+ * @param request - function to call the graphql client
48418
+ * @param data - L.AgentSessionExternalLinkFragment response data
48419
+ */
48420
+ var AgentSessionExternalLink = class extends Request {
48421
+ constructor(request, data) {
48422
+ super(request);
48423
+ this.label = data.label;
48424
+ this.url = data.url;
48425
+ }
48426
+ /** Label for the link. */
48427
+ label;
48428
+ /** The URL of the external resource. */
48429
+ url;
48430
+ };
48431
+ /**
47765
48432
  * AgentSessionPayload model
47766
48433
  *
47767
48434
  * @param request - function to call the graphql client
@@ -48122,21 +48789,60 @@ var AsksChannelConnectPayload = class extends Request {
48122
48789
  }
48123
48790
  };
48124
48791
  /**
48125
- * AsksWebFormsAuthResponse model
48792
+ * Settings for an Asks web form.
48126
48793
  *
48127
48794
  * @param request - function to call the graphql client
48128
- * @param data - L.AsksWebFormsAuthResponseFragment response data
48795
+ * @param data - L.AsksWebSettingsFragment response data
48129
48796
  */
48130
- var AsksWebFormsAuthResponse = class extends Request {
48797
+ var AsksWebSettings = class extends Request {
48798
+ _creator;
48799
+ _emailIntakeAddress;
48131
48800
  constructor(request, data) {
48132
48801
  super(request);
48133
- this.email = data.email;
48134
- this.name = data.name;
48802
+ this.archivedAt = parseDate(data.archivedAt) ?? void 0;
48803
+ this.createdAt = parseDate(data.createdAt) ?? /* @__PURE__ */ new Date();
48804
+ this.domain = data.domain ?? void 0;
48805
+ this.id = data.id;
48806
+ this.updatedAt = parseDate(data.updatedAt) ?? /* @__PURE__ */ new Date();
48807
+ this.identityProvider = data.identityProvider ? new IdentityProvider(request, data.identityProvider) : void 0;
48808
+ this._creator = data.creator ?? void 0;
48809
+ this._emailIntakeAddress = data.emailIntakeAddress ?? void 0;
48810
+ }
48811
+ /** The time at which the entity was archived. Null if the entity has not been archived. */
48812
+ archivedAt;
48813
+ /** The time at which the entity was created. */
48814
+ createdAt;
48815
+ /** The custom domain for the Asks web form. If null, the default Linear-hosted domain will be used. */
48816
+ domain;
48817
+ /** The unique identifier of the entity. */
48818
+ id;
48819
+ /**
48820
+ * The last time at which the entity was meaningfully updated. This is the same as the creation time if the entity hasn't
48821
+ * been updated after creation.
48822
+ */
48823
+ updatedAt;
48824
+ /** The identity provider for SAML authentication on this Asks web form. */
48825
+ identityProvider;
48826
+ /** The user who created the Asks web settings. */
48827
+ get creator() {
48828
+ return this._creator?.id ? new UserQuery(this._request).fetch(this._creator?.id) : void 0;
48829
+ }
48830
+ /** The ID of user who created the asks web settings. */
48831
+ get creatorId() {
48832
+ return this._creator?.id;
48833
+ }
48834
+ /** The email intake address associated with these Asks web settings. */
48835
+ get emailIntakeAddress() {
48836
+ return this._emailIntakeAddress?.id ? new EmailIntakeAddressQuery(this._request).fetch(this._emailIntakeAddress?.id) : void 0;
48837
+ }
48838
+ /** The ID of email intake address associated with these asks web settings. */
48839
+ get emailIntakeAddressId() {
48840
+ return this._emailIntakeAddress?.id;
48841
+ }
48842
+ /** The organization that the Asks web settings are associated with. */
48843
+ get organization() {
48844
+ return new OrganizationQuery(this._request).fetch();
48135
48845
  }
48136
- /** User email. */
48137
- email;
48138
- /** User display name. */
48139
- name;
48140
48846
  };
48141
48847
  /**
48142
48848
  * Issue attachment (e.g. support ticket, pull request).
@@ -48534,6 +49240,7 @@ var AuthOrganization = class extends Request {
48534
49240
  this.createdAt = parseDate(data.createdAt) ?? /* @__PURE__ */ new Date();
48535
49241
  this.deletionRequestedAt = parseDate(data.deletionRequestedAt) ?? void 0;
48536
49242
  this.enabled = data.enabled;
49243
+ this.hideNonPrimaryOrganizations = data.hideNonPrimaryOrganizations;
48537
49244
  this.id = data.id;
48538
49245
  this.logoUrl = data.logoUrl ?? void 0;
48539
49246
  this.name = data.name;
@@ -48554,6 +49261,8 @@ var AuthOrganization = class extends Request {
48554
49261
  deletionRequestedAt;
48555
49262
  /** Whether the organization is enabled. Used as a superuser tool to lock down the org. */
48556
49263
  enabled;
49264
+ /** Whether to hide other organizations for new users signing up with email domains claimed by this organization. */
49265
+ hideNonPrimaryOrganizations;
48557
49266
  /** The unique identifier of the entity. */
48558
49267
  id;
48559
49268
  /** The organization's logo URL. */
@@ -48589,6 +49298,7 @@ var AuthResolverResponse = class extends Request {
48589
49298
  this.email = data.email;
48590
49299
  this.id = data.id;
48591
49300
  this.lastUsedOrganizationId = data.lastUsedOrganizationId ?? void 0;
49301
+ this.service = data.service ?? void 0;
48592
49302
  this.token = data.token ?? void 0;
48593
49303
  this.availableOrganizations = data.availableOrganizations ? data.availableOrganizations.map((node) => new AuthOrganization(request, node)) : void 0;
48594
49304
  this.lockedOrganizations = data.lockedOrganizations ? data.lockedOrganizations.map((node) => new AuthOrganization(request, node)) : void 0;
@@ -48603,6 +49313,8 @@ var AuthResolverResponse = class extends Request {
48603
49313
  id;
48604
49314
  /** ID of the organization last accessed by the user. */
48605
49315
  lastUsedOrganizationId;
49316
+ /** The authentication service used for the current session (e.g., google, email, saml). */
49317
+ service;
48606
49318
  /** Application token. */
48607
49319
  token;
48608
49320
  /** List of organizations allowing this user account to join automatically. */
@@ -53112,6 +53824,42 @@ var GitLabIntegrationCreatePayload = class extends Request {
53112
53824
  }
53113
53825
  };
53114
53826
  /**
53827
+ * GitLabTestConnectionPayload model
53828
+ *
53829
+ * @param request - function to call the graphql client
53830
+ * @param data - L.GitLabTestConnectionPayloadFragment response data
53831
+ */
53832
+ var GitLabTestConnectionPayload = class extends Request {
53833
+ _integration;
53834
+ constructor(request, data) {
53835
+ super(request);
53836
+ this.error = data.error ?? void 0;
53837
+ this.errorResponseBody = data.errorResponseBody ?? void 0;
53838
+ this.errorResponseHeaders = data.errorResponseHeaders ?? void 0;
53839
+ this.lastSyncId = data.lastSyncId;
53840
+ this.success = data.success;
53841
+ this._integration = data.integration ?? void 0;
53842
+ }
53843
+ /** Error message if the connection test failed. */
53844
+ error;
53845
+ /** Response body from GitLab for debugging. */
53846
+ errorResponseBody;
53847
+ /** Response headers from GitLab for debugging (JSON stringified). */
53848
+ errorResponseHeaders;
53849
+ /** The identifier of the last sync operation. */
53850
+ lastSyncId;
53851
+ /** Whether the operation was successful. */
53852
+ success;
53853
+ /** The integration that was created or updated. */
53854
+ get integration() {
53855
+ return this._integration?.id ? new IntegrationQuery(this._request).fetch(this._integration?.id) : void 0;
53856
+ }
53857
+ /** The ID of integration that was created or updated. */
53858
+ get integrationId() {
53859
+ return this._integration?.id;
53860
+ }
53861
+ };
53862
+ /**
53115
53863
  * Metadata for guidance that should be provided to an AI agent.
53116
53864
  *
53117
53865
  * @param data - L.GuidanceRuleWebhookPayloadFragment response data
@@ -55124,6 +55872,10 @@ var Issue = class extends Request {
55124
55872
  relations(variables) {
55125
55873
  return new Issue_RelationsQuery(this._request, this.id, variables).fetch(variables);
55126
55874
  }
55875
+ /** The issue's workflow states over time. */
55876
+ stateHistory(variables) {
55877
+ return new Issue_StateHistoryQuery(this._request, this.id, variables).fetch(variables);
55878
+ }
55127
55879
  /** Users who are subscribed to the issue. */
55128
55880
  subscribers(variables) {
55129
55881
  return new Issue_SubscribersQuery(this._request, this.id, variables).fetch(variables);
@@ -55729,6 +56481,66 @@ var IssueHistoryConnection = class extends Connection {
55729
56481
  }
55730
56482
  };
55731
56483
  /**
56484
+ * An error that occurred during triage rule execution.
56485
+ *
56486
+ * @param request - function to call the graphql client
56487
+ * @param data - L.IssueHistoryTriageRuleErrorFragment response data
56488
+ */
56489
+ var IssueHistoryTriageRuleError = class extends Request {
56490
+ _fromTeam;
56491
+ _toTeam;
56492
+ constructor(request, data) {
56493
+ super(request);
56494
+ this.conflictForSameChildLabel = data.conflictForSameChildLabel ?? void 0;
56495
+ this.property = data.property ?? void 0;
56496
+ this.conflictingLabels = data.conflictingLabels ? data.conflictingLabels.map((node) => new IssueLabel(request, node)) : void 0;
56497
+ this.type = data.type;
56498
+ this._fromTeam = data.fromTeam ?? void 0;
56499
+ this._toTeam = data.toTeam ?? void 0;
56500
+ }
56501
+ /** Whether the conflict was for the same child label. */
56502
+ conflictForSameChildLabel;
56503
+ /** The property that caused the error. */
56504
+ property;
56505
+ /** The conflicting labels. */
56506
+ conflictingLabels;
56507
+ /** The type of error that occurred. */
56508
+ type;
56509
+ /** The team the issue was being moved from. */
56510
+ get fromTeam() {
56511
+ return this._fromTeam?.id ? new TeamQuery(this._request).fetch(this._fromTeam?.id) : void 0;
56512
+ }
56513
+ /** The ID of team the issue was being moved from. */
56514
+ get fromTeamId() {
56515
+ return this._fromTeam?.id;
56516
+ }
56517
+ /** The team the issue was being moved to. */
56518
+ get toTeam() {
56519
+ return this._toTeam?.id ? new TeamQuery(this._request).fetch(this._toTeam?.id) : void 0;
56520
+ }
56521
+ /** The ID of team the issue was being moved to. */
56522
+ get toTeamId() {
56523
+ return this._toTeam?.id;
56524
+ }
56525
+ };
56526
+ /**
56527
+ * Metadata about a triage rule that made changes to an issue.
56528
+ *
56529
+ * @param request - function to call the graphql client
56530
+ * @param data - L.IssueHistoryTriageRuleMetadataFragment response data
56531
+ */
56532
+ var IssueHistoryTriageRuleMetadata = class extends Request {
56533
+ constructor(request, data) {
56534
+ super(request);
56535
+ this.triageRuleError = data.triageRuleError ? new IssueHistoryTriageRuleError(request, data.triageRuleError) : void 0;
56536
+ this.updatedByTriageRule = data.updatedByTriageRule ? new WorkflowDefinition(request, data.updatedByTriageRule) : void 0;
56537
+ }
56538
+ /** The error that occurred, if any. */
56539
+ triageRuleError;
56540
+ /** The triage rule that triggered the issue update. */
56541
+ updatedByTriageRule;
56542
+ };
56543
+ /**
55732
56544
  * An import job for data from an external service.
55733
56545
  *
55734
56546
  * @param request - function to call the graphql client
@@ -58282,6 +59094,7 @@ var Organization = class extends Request {
58282
59094
  this.gitLinkbackDescriptionsEnabled = data.gitLinkbackDescriptionsEnabled;
58283
59095
  this.gitLinkbackMessagesEnabled = data.gitLinkbackMessagesEnabled;
58284
59096
  this.gitPublicLinkbackMessagesEnabled = data.gitPublicLinkbackMessagesEnabled;
59097
+ this.hideNonPrimaryOrganizations = data.hideNonPrimaryOrganizations;
58285
59098
  this.hipaaComplianceEnabled = data.hipaaComplianceEnabled;
58286
59099
  this.id = data.id;
58287
59100
  this.initiativeUpdateReminderFrequencyInWeeks = data.initiativeUpdateReminderFrequencyInWeeks ?? void 0;
@@ -58349,6 +59162,8 @@ var Organization = class extends Request {
58349
59162
  gitLinkbackMessagesEnabled;
58350
59163
  /** Whether the Git integration linkback messages should be sent to public repositories. */
58351
59164
  gitPublicLinkbackMessagesEnabled;
59165
+ /** Whether to hide other organizations for new users signing up with email domains claimed by this organization. */
59166
+ hideNonPrimaryOrganizations;
58352
59167
  /** Whether HIPAA compliance is enabled for organization. */
58353
59168
  hipaaComplianceEnabled;
58354
59169
  /** The unique identifier of the entity. */
@@ -62274,6 +63089,54 @@ var SuccessPayload = class extends Request {
62274
63089
  success;
62275
63090
  };
62276
63091
  /**
63092
+ * An AI-generated summary.
63093
+ *
63094
+ * @param request - function to call the graphql client
63095
+ * @param data - L.SummaryFragment response data
63096
+ */
63097
+ var Summary = class extends Request {
63098
+ _issue;
63099
+ constructor(request, data) {
63100
+ super(request);
63101
+ this.archivedAt = parseDate(data.archivedAt) ?? void 0;
63102
+ this.content = data.content;
63103
+ this.createdAt = parseDate(data.createdAt) ?? /* @__PURE__ */ new Date();
63104
+ this.evalLogId = data.evalLogId ?? void 0;
63105
+ this.generatedAt = parseDate(data.generatedAt) ?? /* @__PURE__ */ new Date();
63106
+ this.id = data.id;
63107
+ this.updatedAt = parseDate(data.updatedAt) ?? /* @__PURE__ */ new Date();
63108
+ this.generationStatus = data.generationStatus;
63109
+ this._issue = data.issue;
63110
+ }
63111
+ /** The time at which the entity was archived. Null if the entity has not been archived. */
63112
+ archivedAt;
63113
+ /** The summary content as a Prosemirror document. */
63114
+ content;
63115
+ /** The time at which the entity was created. */
63116
+ createdAt;
63117
+ /** The evaluation log id for this summary generation. */
63118
+ evalLogId;
63119
+ /** The time at which the summary was generated. */
63120
+ generatedAt;
63121
+ /** The unique identifier of the entity. */
63122
+ id;
63123
+ /**
63124
+ * The last time at which the entity was meaningfully updated. This is the same as the creation time if the entity hasn't
63125
+ * been updated after creation.
63126
+ */
63127
+ updatedAt;
63128
+ /** The generation status of the summary. */
63129
+ generationStatus;
63130
+ /** The issue this summary belongs to. */
63131
+ get issue() {
63132
+ return new IssueQuery(this._request).fetch(this._issue.id);
63133
+ }
63134
+ /** The ID of issue this summary belongs to. */
63135
+ get issueId() {
63136
+ return this._issue?.id;
63137
+ }
63138
+ };
63139
+ /**
62277
63140
  * A comment thread that is synced with an external source.
62278
63141
  *
62279
63142
  * @param request - function to call the graphql client
@@ -64286,6 +65149,10 @@ var Webhook = class extends Request {
64286
65149
  delete() {
64287
65150
  return new DeleteWebhookMutation(this._request).fetch(this.id);
64288
65151
  }
65152
+ /** Rotates the signing secret for a Webhook. */
65153
+ rotateSecret() {
65154
+ return new RotateSecretWebhookMutation(this._request).fetch(this.id);
65155
+ }
64289
65156
  /** Updates an existing Webhook. */
64290
65157
  update(input) {
64291
65158
  return new UpdateWebhookMutation(this._request).fetch(this.id, input);
@@ -64370,6 +65237,180 @@ var WebhookPayload = class extends Request {
64370
65237
  }
64371
65238
  };
64372
65239
  /**
65240
+ * WebhookRotateSecretPayload model
65241
+ *
65242
+ * @param request - function to call the graphql client
65243
+ * @param data - L.WebhookRotateSecretPayloadFragment response data
65244
+ */
65245
+ var WebhookRotateSecretPayload = class extends Request {
65246
+ constructor(request, data) {
65247
+ super(request);
65248
+ this.lastSyncId = data.lastSyncId;
65249
+ this.secret = data.secret;
65250
+ this.success = data.success;
65251
+ }
65252
+ /** The identifier of the last sync operation. */
65253
+ lastSyncId;
65254
+ /** The new webhook signing secret. */
65255
+ secret;
65256
+ /** Whether the operation was successful. */
65257
+ success;
65258
+ };
65259
+ /**
65260
+ * WorkflowDefinition model
65261
+ *
65262
+ * @param request - function to call the graphql client
65263
+ * @param data - L.WorkflowDefinitionFragment response data
65264
+ */
65265
+ var WorkflowDefinition = class extends Request {
65266
+ _creator;
65267
+ _customView;
65268
+ _cycle;
65269
+ _initiative;
65270
+ _label;
65271
+ _lastUpdatedBy;
65272
+ _project;
65273
+ _team;
65274
+ _user;
65275
+ constructor(request, data) {
65276
+ super(request);
65277
+ this.activities = data.activities;
65278
+ this.archivedAt = parseDate(data.archivedAt) ?? void 0;
65279
+ this.conditions = data.conditions ?? void 0;
65280
+ this.createdAt = parseDate(data.createdAt) ?? /* @__PURE__ */ new Date();
65281
+ this.description = data.description ?? void 0;
65282
+ this.enabled = data.enabled;
65283
+ this.groupName = data.groupName ?? void 0;
65284
+ this.id = data.id;
65285
+ this.lastExecutedAt = parseDate(data.lastExecutedAt) ?? void 0;
65286
+ this.name = data.name;
65287
+ this.sortOrder = data.sortOrder;
65288
+ this.updatedAt = parseDate(data.updatedAt) ?? /* @__PURE__ */ new Date();
65289
+ this.contextViewType = data.contextViewType ?? void 0;
65290
+ this.trigger = data.trigger;
65291
+ this.triggerType = data.triggerType;
65292
+ this.type = data.type;
65293
+ this.userContextViewType = data.userContextViewType ?? void 0;
65294
+ this._creator = data.creator;
65295
+ this._customView = data.customView ?? void 0;
65296
+ this._cycle = data.cycle ?? void 0;
65297
+ this._initiative = data.initiative ?? void 0;
65298
+ this._label = data.label ?? void 0;
65299
+ this._lastUpdatedBy = data.lastUpdatedBy ?? void 0;
65300
+ this._project = data.project ?? void 0;
65301
+ this._team = data.team ?? void 0;
65302
+ this._user = data.user ?? void 0;
65303
+ }
65304
+ /** An array of activities that will be executed as part of the workflow. */
65305
+ activities;
65306
+ /** The time at which the entity was archived. Null if the entity has not been archived. */
65307
+ archivedAt;
65308
+ /** The conditions that need to be match for the workflow to be triggered. */
65309
+ conditions;
65310
+ /** The time at which the entity was created. */
65311
+ createdAt;
65312
+ /** The description of the workflow. */
65313
+ description;
65314
+ enabled;
65315
+ /** The name of the group that the workflow belongs to. */
65316
+ groupName;
65317
+ /** The unique identifier of the entity. */
65318
+ id;
65319
+ /** The date when the workflow was last executed. */
65320
+ lastExecutedAt;
65321
+ /** The name of the workflow. */
65322
+ name;
65323
+ /** The sort order of the workflow definition within its siblings. */
65324
+ sortOrder;
65325
+ /**
65326
+ * The last time at which the entity was meaningfully updated. This is the same as the creation time if the entity hasn't
65327
+ * been updated after creation.
65328
+ */
65329
+ updatedAt;
65330
+ /** The type of view to which this workflow's context is associated with. */
65331
+ contextViewType;
65332
+ /** The type of the event that triggers off the workflow. */
65333
+ trigger;
65334
+ /** The object type (e.g. Issue) that triggers this workflow. */
65335
+ triggerType;
65336
+ /** The type of the workflow. */
65337
+ type;
65338
+ /** The type of user view to which this workflow's context is associated with. */
65339
+ userContextViewType;
65340
+ /** The user who created the workflow. */
65341
+ get creator() {
65342
+ return new UserQuery(this._request).fetch(this._creator.id);
65343
+ }
65344
+ /** The ID of user who created the workflow. */
65345
+ get creatorId() {
65346
+ return this._creator?.id;
65347
+ }
65348
+ /** The context custom view associated with the workflow. */
65349
+ get customView() {
65350
+ return this._customView?.id ? new CustomViewQuery(this._request).fetch(this._customView?.id) : void 0;
65351
+ }
65352
+ /** The ID of context custom view associated with the workflow. */
65353
+ get customViewId() {
65354
+ return this._customView?.id;
65355
+ }
65356
+ /** The contextual cycle view associated with the workflow. */
65357
+ get cycle() {
65358
+ return this._cycle?.id ? new CycleQuery(this._request).fetch(this._cycle?.id) : void 0;
65359
+ }
65360
+ /** The ID of contextual cycle view associated with the workflow. */
65361
+ get cycleId() {
65362
+ return this._cycle?.id;
65363
+ }
65364
+ /** The contextual initiative view associated with the workflow. */
65365
+ get initiative() {
65366
+ return this._initiative?.id ? new InitiativeQuery(this._request).fetch(this._initiative?.id) : void 0;
65367
+ }
65368
+ /** The ID of contextual initiative view associated with the workflow. */
65369
+ get initiativeId() {
65370
+ return this._initiative?.id;
65371
+ }
65372
+ /** The contextual label view associated with the workflow. */
65373
+ get label() {
65374
+ return this._label?.id ? new IssueLabelQuery(this._request).fetch(this._label?.id) : void 0;
65375
+ }
65376
+ /** The ID of contextual label view associated with the workflow. */
65377
+ get labelId() {
65378
+ return this._label?.id;
65379
+ }
65380
+ /** The user who last updated the workflow. */
65381
+ get lastUpdatedBy() {
65382
+ return this._lastUpdatedBy?.id ? new UserQuery(this._request).fetch(this._lastUpdatedBy?.id) : void 0;
65383
+ }
65384
+ /** The ID of user who last updated the workflow. */
65385
+ get lastUpdatedById() {
65386
+ return this._lastUpdatedBy?.id;
65387
+ }
65388
+ /** The contextual project view associated with the workflow. */
65389
+ get project() {
65390
+ return this._project?.id ? new ProjectQuery(this._request).fetch(this._project?.id) : void 0;
65391
+ }
65392
+ /** The ID of contextual project view associated with the workflow. */
65393
+ get projectId() {
65394
+ return this._project?.id;
65395
+ }
65396
+ /** The team associated with the workflow. If not set, the workflow is associated with the entire organization. */
65397
+ get team() {
65398
+ return this._team?.id ? new TeamQuery(this._request).fetch(this._team?.id) : void 0;
65399
+ }
65400
+ /** The ID of team associated with the workflow. if not set, the workflow is associated with the entire organization. */
65401
+ get teamId() {
65402
+ return this._team?.id;
65403
+ }
65404
+ /** The contextual user view associated with the workflow. */
65405
+ get user() {
65406
+ return this._user?.id ? new UserQuery(this._request).fetch(this._user?.id) : void 0;
65407
+ }
65408
+ /** The ID of contextual user view associated with the workflow. */
65409
+ get userId() {
65410
+ return this._user?.id;
65411
+ }
65412
+ };
65413
+ /**
64373
65414
  * A state in a team workflow.
64374
65415
  *
64375
65416
  * @param request - function to call the graphql client
@@ -64663,6 +65704,26 @@ var ApplicationInfoQuery = class extends Request {
64663
65704
  }
64664
65705
  };
64665
65706
  /**
65707
+ * A fetchable AsksWebSetting Query
65708
+ *
65709
+ * @param request - function to call the graphql client
65710
+ */
65711
+ var AsksWebSettingQuery = class extends Request {
65712
+ constructor(request) {
65713
+ super(request);
65714
+ }
65715
+ /**
65716
+ * Call the AsksWebSetting query and return a AsksWebSettings
65717
+ *
65718
+ * @param id - required id to pass to asksWebSetting
65719
+ * @returns parsed response from AsksWebSettingQuery
65720
+ */
65721
+ async fetch(id) {
65722
+ const data = (await this._request(AsksWebSettingDocument.toString(), { id })).asksWebSetting;
65723
+ return new AsksWebSettings(this._request, data);
65724
+ }
65725
+ };
65726
+ /**
64666
65727
  * A fetchable Attachment Query
64667
65728
  *
64668
65729
  * @param request - function to call the graphql client
@@ -65941,6 +67002,32 @@ var IssueRelationsQuery = class extends Request {
65941
67002
  }
65942
67003
  };
65943
67004
  /**
67005
+ * A fetchable IssueRepositorySuggestions Query
67006
+ *
67007
+ * @param request - function to call the graphql client
67008
+ */
67009
+ var IssueRepositorySuggestionsQuery = class extends Request {
67010
+ constructor(request) {
67011
+ super(request);
67012
+ }
67013
+ /**
67014
+ * Call the IssueRepositorySuggestions query and return a RepositorySuggestionsPayload
67015
+ *
67016
+ * @param candidateRepositories - required candidateRepositories to pass to issueRepositorySuggestions
67017
+ * @param issueId - required issueId to pass to issueRepositorySuggestions
67018
+ * @param variables - variables without 'candidateRepositories', 'issueId' to pass into the IssueRepositorySuggestionsQuery
67019
+ * @returns parsed response from IssueRepositorySuggestionsQuery
67020
+ */
67021
+ async fetch(candidateRepositories, issueId, variables) {
67022
+ const data = (await this._request(IssueRepositorySuggestionsDocument.toString(), {
67023
+ candidateRepositories,
67024
+ issueId,
67025
+ ...variables
67026
+ })).issueRepositorySuggestions;
67027
+ return new RepositorySuggestionsPayload(this._request, data);
67028
+ }
67029
+ };
67030
+ /**
65944
67031
  * A fetchable IssueSearch Query
65945
67032
  *
65946
67033
  * @param request - function to call the graphql client
@@ -66994,6 +68081,27 @@ var UserQuery = class extends Request {
66994
68081
  }
66995
68082
  };
66996
68083
  /**
68084
+ * A fetchable UserSessions Query
68085
+ *
68086
+ * @param request - function to call the graphql client
68087
+ */
68088
+ var UserSessionsQuery = class extends Request {
68089
+ constructor(request) {
68090
+ super(request);
68091
+ }
68092
+ /**
68093
+ * Call the UserSessions query and return a AuthenticationSessionResponse list
68094
+ *
68095
+ * @param id - required id to pass to userSessions
68096
+ * @returns parsed response from UserSessionsQuery
68097
+ */
68098
+ async fetch(id) {
68099
+ return (await this._request(UserSessionsDocument.toString(), { id })).userSessions.map((node) => {
68100
+ return new AuthenticationSessionResponse(this._request, node);
68101
+ });
68102
+ }
68103
+ };
68104
+ /**
66997
68105
  * A fetchable UserSettings Query
66998
68106
  *
66999
68107
  * @param request - function to call the graphql client
@@ -67289,26 +68397,6 @@ var AirbyteIntegrationConnectMutation = class extends Request {
67289
68397
  }
67290
68398
  };
67291
68399
  /**
67292
- * A fetchable AsksWebFormsAuth Mutation
67293
- *
67294
- * @param request - function to call the graphql client
67295
- */
67296
- var AsksWebFormsAuthMutation = class extends Request {
67297
- constructor(request) {
67298
- super(request);
67299
- }
67300
- /**
67301
- * Call the AsksWebFormsAuth mutation and return a AsksWebFormsAuthResponse
67302
- *
67303
- * @param token - required token to pass to asksWebFormsAuth
67304
- * @returns parsed response from AsksWebFormsAuthMutation
67305
- */
67306
- async fetch(token) {
67307
- const data = (await this._request(AsksWebFormsAuthDocument.toString(), { token })).asksWebFormsAuth;
67308
- return new AsksWebFormsAuthResponse(this._request, data);
67309
- }
67310
- };
67311
- /**
67312
68400
  * A fetchable CreateAttachment Mutation
67313
68401
  *
67314
68402
  * @param request - function to call the graphql client
@@ -69698,6 +70786,26 @@ var IntegrationGitlabConnectMutation = class extends Request {
69698
70786
  }
69699
70787
  };
69700
70788
  /**
70789
+ * A fetchable IntegrationGitlabTestConnection Mutation
70790
+ *
70791
+ * @param request - function to call the graphql client
70792
+ */
70793
+ var IntegrationGitlabTestConnectionMutation = class extends Request {
70794
+ constructor(request) {
70795
+ super(request);
70796
+ }
70797
+ /**
70798
+ * Call the IntegrationGitlabTestConnection mutation and return a GitLabTestConnectionPayload
70799
+ *
70800
+ * @param integrationId - required integrationId to pass to integrationGitlabTestConnection
70801
+ * @returns parsed response from IntegrationGitlabTestConnectionMutation
70802
+ */
70803
+ async fetch(integrationId) {
70804
+ const data = (await this._request(IntegrationGitlabTestConnectionDocument.toString(), { integrationId })).integrationGitlabTestConnection;
70805
+ return new GitLabTestConnectionPayload(this._request, data);
70806
+ }
70807
+ };
70808
+ /**
69701
70809
  * A fetchable IntegrationGong Mutation
69702
70810
  *
69703
70811
  * @param request - function to call the graphql client
@@ -73077,6 +74185,50 @@ var UserPromoteMemberMutation = class extends Request {
73077
74185
  }
73078
74186
  };
73079
74187
  /**
74188
+ * A fetchable UserRevokeAllSessions Mutation
74189
+ *
74190
+ * @param request - function to call the graphql client
74191
+ */
74192
+ var UserRevokeAllSessionsMutation = class extends Request {
74193
+ constructor(request) {
74194
+ super(request);
74195
+ }
74196
+ /**
74197
+ * Call the UserRevokeAllSessions mutation and return a UserAdminPayload
74198
+ *
74199
+ * @param id - required id to pass to userRevokeAllSessions
74200
+ * @returns parsed response from UserRevokeAllSessionsMutation
74201
+ */
74202
+ async fetch(id) {
74203
+ const data = (await this._request(UserRevokeAllSessionsDocument.toString(), { id })).userRevokeAllSessions;
74204
+ return new UserAdminPayload(this._request, data);
74205
+ }
74206
+ };
74207
+ /**
74208
+ * A fetchable UserRevokeSession Mutation
74209
+ *
74210
+ * @param request - function to call the graphql client
74211
+ */
74212
+ var UserRevokeSessionMutation = class extends Request {
74213
+ constructor(request) {
74214
+ super(request);
74215
+ }
74216
+ /**
74217
+ * Call the UserRevokeSession mutation and return a UserAdminPayload
74218
+ *
74219
+ * @param id - required id to pass to userRevokeSession
74220
+ * @param sessionId - required sessionId to pass to userRevokeSession
74221
+ * @returns parsed response from UserRevokeSessionMutation
74222
+ */
74223
+ async fetch(id, sessionId) {
74224
+ const data = (await this._request(UserRevokeSessionDocument.toString(), {
74225
+ id,
74226
+ sessionId
74227
+ })).userRevokeSession;
74228
+ return new UserAdminPayload(this._request, data);
74229
+ }
74230
+ };
74231
+ /**
73080
74232
  * A fetchable UserSettingsFlagsReset Mutation
73081
74233
  *
73082
74234
  * @param request - function to call the graphql client
@@ -73309,6 +74461,26 @@ var DeleteWebhookMutation = class extends Request {
73309
74461
  }
73310
74462
  };
73311
74463
  /**
74464
+ * A fetchable RotateSecretWebhook Mutation
74465
+ *
74466
+ * @param request - function to call the graphql client
74467
+ */
74468
+ var RotateSecretWebhookMutation = class extends Request {
74469
+ constructor(request) {
74470
+ super(request);
74471
+ }
74472
+ /**
74473
+ * Call the RotateSecretWebhook mutation and return a WebhookRotateSecretPayload
74474
+ *
74475
+ * @param id - required id to pass to rotateSecretWebhook
74476
+ * @returns parsed response from RotateSecretWebhookMutation
74477
+ */
74478
+ async fetch(id) {
74479
+ const data = (await this._request(RotateSecretWebhookDocument.toString(), { id })).webhookRotateSecret;
74480
+ return new WebhookRotateSecretPayload(this._request, data);
74481
+ }
74482
+ };
74483
+ /**
73312
74484
  * A fetchable UpdateWebhook Mutation
73313
74485
  *
73314
74486
  * @param request - function to call the graphql client
@@ -73431,6 +74603,28 @@ var AgentSession_ActivitiesQuery = class extends Request {
73431
74603
  }
73432
74604
  };
73433
74605
  /**
74606
+ * A fetchable AsksWebSetting_IdentityProvider Query
74607
+ *
74608
+ * @param request - function to call the graphql client
74609
+ * @param id - required id to pass to asksWebSetting
74610
+ */
74611
+ var AsksWebSetting_IdentityProviderQuery = class extends Request {
74612
+ _id;
74613
+ constructor(request, id) {
74614
+ super(request);
74615
+ this._id = id;
74616
+ }
74617
+ /**
74618
+ * Call the AsksWebSetting_IdentityProvider query and return a IdentityProvider
74619
+ *
74620
+ * @returns parsed response from AsksWebSetting_IdentityProviderQuery
74621
+ */
74622
+ async fetch() {
74623
+ const data = (await this._request(AsksWebSetting_IdentityProviderDocument.toString(), { id: this._id })).asksWebSetting.identityProvider;
74624
+ return data ? new IdentityProvider(this._request, data) : void 0;
74625
+ }
74626
+ };
74627
+ /**
73434
74628
  * A fetchable AttachmentIssue_Attachments Query
73435
74629
  *
73436
74630
  * @param request - function to call the graphql client
@@ -73827,6 +75021,40 @@ var AttachmentIssue_RelationsQuery = class extends Request {
73827
75021
  }
73828
75022
  };
73829
75023
  /**
75024
+ * A fetchable AttachmentIssue_StateHistory Query
75025
+ *
75026
+ * @param request - function to call the graphql client
75027
+ * @param id - required id to pass to attachmentIssue
75028
+ * @param variables - variables without 'id' to pass into the AttachmentIssue_StateHistoryQuery
75029
+ */
75030
+ var AttachmentIssue_StateHistoryQuery = class extends Request {
75031
+ _id;
75032
+ _variables;
75033
+ constructor(request, id, variables) {
75034
+ super(request);
75035
+ this._id = id;
75036
+ this._variables = variables;
75037
+ }
75038
+ /**
75039
+ * Call the AttachmentIssue_StateHistory query and return a IssueStateSpanConnection
75040
+ *
75041
+ * @param variables - variables without 'id' to pass into the AttachmentIssue_StateHistoryQuery
75042
+ * @returns parsed response from AttachmentIssue_StateHistoryQuery
75043
+ */
75044
+ async fetch(variables) {
75045
+ const data = (await this._request(AttachmentIssue_StateHistoryDocument.toString(), {
75046
+ id: this._id,
75047
+ ...this._variables,
75048
+ ...variables
75049
+ })).attachmentIssue.stateHistory;
75050
+ return new IssueStateSpanConnection(this._request, (connection) => this.fetch(defaultConnection({
75051
+ ...this._variables,
75052
+ ...variables,
75053
+ ...connection
75054
+ })), data);
75055
+ }
75056
+ };
75057
+ /**
73830
75058
  * A fetchable AttachmentIssue_Subscribers Query
73831
75059
  *
73832
75060
  * @param request - function to call the graphql client
@@ -75078,6 +76306,40 @@ var Issue_RelationsQuery = class extends Request {
75078
76306
  }
75079
76307
  };
75080
76308
  /**
76309
+ * A fetchable Issue_StateHistory Query
76310
+ *
76311
+ * @param request - function to call the graphql client
76312
+ * @param id - required id to pass to issue
76313
+ * @param variables - variables without 'id' to pass into the Issue_StateHistoryQuery
76314
+ */
76315
+ var Issue_StateHistoryQuery = class extends Request {
76316
+ _id;
76317
+ _variables;
76318
+ constructor(request, id, variables) {
76319
+ super(request);
76320
+ this._id = id;
76321
+ this._variables = variables;
76322
+ }
76323
+ /**
76324
+ * Call the Issue_StateHistory query and return a IssueStateSpanConnection
76325
+ *
76326
+ * @param variables - variables without 'id' to pass into the Issue_StateHistoryQuery
76327
+ * @returns parsed response from Issue_StateHistoryQuery
76328
+ */
76329
+ async fetch(variables) {
76330
+ const data = (await this._request(Issue_StateHistoryDocument.toString(), {
76331
+ id: this._id,
76332
+ ...this._variables,
76333
+ ...variables
76334
+ })).issue.stateHistory;
76335
+ return new IssueStateSpanConnection(this._request, (connection) => this.fetch(defaultConnection({
76336
+ ...this._variables,
76337
+ ...variables,
76338
+ ...connection
76339
+ })), data);
76340
+ }
76341
+ };
76342
+ /**
75081
76343
  * A fetchable Issue_Subscribers Query
75082
76344
  *
75083
76345
  * @param request - function to call the graphql client
@@ -75587,6 +76849,41 @@ var IssueVcsBranchSearch_RelationsQuery = class extends Request {
75587
76849
  }
75588
76850
  };
75589
76851
  /**
76852
+ * A fetchable IssueVcsBranchSearch_StateHistory Query
76853
+ *
76854
+ * @param request - function to call the graphql client
76855
+ * @param branchName - required branchName to pass to issueVcsBranchSearch
76856
+ * @param variables - variables without 'branchName' to pass into the IssueVcsBranchSearch_StateHistoryQuery
76857
+ */
76858
+ var IssueVcsBranchSearch_StateHistoryQuery = class extends Request {
76859
+ _branchName;
76860
+ _variables;
76861
+ constructor(request, branchName, variables) {
76862
+ super(request);
76863
+ this._branchName = branchName;
76864
+ this._variables = variables;
76865
+ }
76866
+ /**
76867
+ * Call the IssueVcsBranchSearch_StateHistory query and return a IssueStateSpanConnection
76868
+ *
76869
+ * @param variables - variables without 'branchName' to pass into the IssueVcsBranchSearch_StateHistoryQuery
76870
+ * @returns parsed response from IssueVcsBranchSearch_StateHistoryQuery
76871
+ */
76872
+ async fetch(variables) {
76873
+ const data = (await this._request(IssueVcsBranchSearch_StateHistoryDocument.toString(), {
76874
+ branchName: this._branchName,
76875
+ ...this._variables,
76876
+ ...variables
76877
+ })).issueVcsBranchSearch?.stateHistory;
76878
+ if (data) return new IssueStateSpanConnection(this._request, (connection) => this.fetch(defaultConnection({
76879
+ ...this._variables,
76880
+ ...variables,
76881
+ ...connection
76882
+ })), data);
76883
+ else return;
76884
+ }
76885
+ };
76886
+ /**
75590
76887
  * A fetchable IssueVcsBranchSearch_Subscribers Query
75591
76888
  *
75592
76889
  * @param request - function to call the graphql client
@@ -78068,6 +79365,15 @@ var LinearSdk = class extends Request {
78068
79365
  return new ApplicationInfoQuery(this._request).fetch(clientId);
78069
79366
  }
78070
79367
  /**
79368
+ * Asks web form settings by ID.
79369
+ *
79370
+ * @param id - required id to pass to asksWebSetting
79371
+ * @returns AsksWebSettings
79372
+ */
79373
+ asksWebSetting(id) {
79374
+ return new AsksWebSettingQuery(this._request).fetch(id);
79375
+ }
79376
+ /**
78071
79377
  * One specific issue attachment.
78072
79378
  * [Deprecated] 'url' can no longer be used as the 'id' parameter. Use 'attachmentsForUrl' instead
78073
79379
  *
@@ -78607,6 +79913,17 @@ var LinearSdk = class extends Request {
78607
79913
  return new IssueRelationsQuery(this._request).fetch(variables);
78608
79914
  }
78609
79915
  /**
79916
+ * Returns code repositories that are most likely to be relevant for implementing an issue.
79917
+ *
79918
+ * @param candidateRepositories - required candidateRepositories to pass to issueRepositorySuggestions
79919
+ * @param issueId - required issueId to pass to issueRepositorySuggestions
79920
+ * @param variables - variables without 'candidateRepositories', 'issueId' to pass into the IssueRepositorySuggestionsQuery
79921
+ * @returns RepositorySuggestionsPayload
79922
+ */
79923
+ issueRepositorySuggestions(candidateRepositories, issueId, variables) {
79924
+ return new IssueRepositorySuggestionsQuery(this._request).fetch(candidateRepositories, issueId, variables);
79925
+ }
79926
+ /**
78610
79927
  * [DEPRECATED] Search issues. This endpoint is deprecated and will be removed in the future – use `searchIssues` instead.
78611
79928
  *
78612
79929
  * @param variables - variables to pass into the IssueSearchQuery
@@ -79042,6 +80359,15 @@ var LinearSdk = class extends Request {
79042
80359
  return new UserQuery(this._request).fetch(id);
79043
80360
  }
79044
80361
  /**
80362
+ * Lists the sessions of a user. Can only be called by an admin or owner.
80363
+ *
80364
+ * @param id - required id to pass to userSessions
80365
+ * @returns AuthenticationSessionResponse[]
80366
+ */
80367
+ userSessions(id) {
80368
+ return new UserSessionsQuery(this._request).fetch(id);
80369
+ }
80370
+ /**
79045
80371
  * The user's settings.
79046
80372
  *
79047
80373
  * @returns UserSettings
@@ -79168,15 +80494,6 @@ var LinearSdk = class extends Request {
79168
80494
  return new AirbyteIntegrationConnectMutation(this._request).fetch(input);
79169
80495
  }
79170
80496
  /**
79171
- * Authenticate a user to the Asks web forms app.
79172
- *
79173
- * @param token - required token to pass to asksWebFormsAuth
79174
- * @returns AsksWebFormsAuthResponse
79175
- */
79176
- asksWebFormsAuth(token) {
79177
- return new AsksWebFormsAuthMutation(this._request).fetch(token);
79178
- }
79179
- /**
79180
80497
  * Creates a new attachment, or updates existing if the same `url` and `issueId` is used.
79181
80498
  *
79182
80499
  * @param input - required input to pass to createAttachment
@@ -80216,6 +81533,15 @@ var LinearSdk = class extends Request {
80216
81533
  return new IntegrationGitlabConnectMutation(this._request).fetch(accessToken, gitlabUrl);
80217
81534
  }
80218
81535
  /**
81536
+ * Tests connectivity to a self-hosted GitLab instance and clears auth errors if successful.
81537
+ *
81538
+ * @param integrationId - required integrationId to pass to integrationGitlabTestConnection
81539
+ * @returns GitLabTestConnectionPayload
81540
+ */
81541
+ integrationGitlabTestConnection(integrationId) {
81542
+ return new IntegrationGitlabTestConnectionMutation(this._request).fetch(integrationId);
81543
+ }
81544
+ /**
80219
81545
  * Integrates the organization with Gong.
80220
81546
  *
80221
81547
  * @param code - required code to pass to integrationGong
@@ -81683,6 +83009,25 @@ var LinearSdk = class extends Request {
81683
83009
  return new UserPromoteMemberMutation(this._request).fetch(id);
81684
83010
  }
81685
83011
  /**
83012
+ * Revokes a user's sessions. Can only be called by an admin or owner.
83013
+ *
83014
+ * @param id - required id to pass to userRevokeAllSessions
83015
+ * @returns UserAdminPayload
83016
+ */
83017
+ userRevokeAllSessions(id) {
83018
+ return new UserRevokeAllSessionsMutation(this._request).fetch(id);
83019
+ }
83020
+ /**
83021
+ * Revokes a specific session for a user. Can only be called by an admin or owner.
83022
+ *
83023
+ * @param id - required id to pass to userRevokeSession
83024
+ * @param sessionId - required sessionId to pass to userRevokeSession
83025
+ * @returns UserAdminPayload
83026
+ */
83027
+ userRevokeSession(id, sessionId) {
83028
+ return new UserRevokeSessionMutation(this._request).fetch(id, sessionId);
83029
+ }
83030
+ /**
81686
83031
  * Resets user's setting flags.
81687
83032
  *
81688
83033
  * @param variables - variables to pass into the UserSettingsFlagsResetMutation
@@ -81785,6 +83130,15 @@ var LinearSdk = class extends Request {
81785
83130
  return new DeleteWebhookMutation(this._request).fetch(id);
81786
83131
  }
81787
83132
  /**
83133
+ * Rotates the signing secret for a Webhook.
83134
+ *
83135
+ * @param id - required id to pass to rotateSecretWebhook
83136
+ * @returns WebhookRotateSecretPayload
83137
+ */
83138
+ rotateSecretWebhook(id) {
83139
+ return new RotateSecretWebhookMutation(this._request).fetch(id);
83140
+ }
83141
+ /**
81788
83142
  * Updates an existing Webhook.
81789
83143
  *
81790
83144
  * @param id - required id to pass to updateWebhook
@@ -81893,6 +83247,7 @@ exports.AgentSessionConnection = AgentSessionConnection;
81893
83247
  exports.AgentSessionCreateOnCommentMutation = AgentSessionCreateOnCommentMutation;
81894
83248
  exports.AgentSessionCreateOnIssueMutation = AgentSessionCreateOnIssueMutation;
81895
83249
  exports.AgentSessionEventWebhookPayload = AgentSessionEventWebhookPayload;
83250
+ exports.AgentSessionExternalLink = AgentSessionExternalLink;
81896
83251
  exports.AgentSessionPayload = AgentSessionPayload;
81897
83252
  exports.AgentSessionQuery = AgentSessionQuery;
81898
83253
  exports.AgentSessionStatus = AgentSessionStatus;
@@ -81924,8 +83279,9 @@ exports.ArchiveResponse = ArchiveResponse;
81924
83279
  exports.ArchiveRoadmapMutation = ArchiveRoadmapMutation;
81925
83280
  exports.ArchiveWorkflowStateMutation = ArchiveWorkflowStateMutation;
81926
83281
  exports.AsksChannelConnectPayload = AsksChannelConnectPayload;
81927
- exports.AsksWebFormsAuthMutation = AsksWebFormsAuthMutation;
81928
- exports.AsksWebFormsAuthResponse = AsksWebFormsAuthResponse;
83282
+ exports.AsksWebSettingQuery = AsksWebSettingQuery;
83283
+ exports.AsksWebSetting_IdentityProviderQuery = AsksWebSetting_IdentityProviderQuery;
83284
+ exports.AsksWebSettings = AsksWebSettings;
81929
83285
  exports.Attachment = Attachment;
81930
83286
  exports.AttachmentConnection = AttachmentConnection;
81931
83287
  exports.AttachmentIssueQuery = AttachmentIssueQuery;
@@ -81941,6 +83297,7 @@ exports.AttachmentIssue_InverseRelationsQuery = AttachmentIssue_InverseRelations
81941
83297
  exports.AttachmentIssue_LabelsQuery = AttachmentIssue_LabelsQuery;
81942
83298
  exports.AttachmentIssue_NeedsQuery = AttachmentIssue_NeedsQuery;
81943
83299
  exports.AttachmentIssue_RelationsQuery = AttachmentIssue_RelationsQuery;
83300
+ exports.AttachmentIssue_StateHistoryQuery = AttachmentIssue_StateHistoryQuery;
81944
83301
  exports.AttachmentIssue_SubscribersQuery = AttachmentIssue_SubscribersQuery;
81945
83302
  exports.AttachmentLinkDiscordMutation = AttachmentLinkDiscordMutation;
81946
83303
  exports.AttachmentLinkFrontMutation = AttachmentLinkFrontMutation;
@@ -82247,6 +83604,7 @@ exports.GitHubCommitIntegrationPayload = GitHubCommitIntegrationPayload;
82247
83604
  exports.GitHubEnterpriseServerInstallVerificationPayload = GitHubEnterpriseServerInstallVerificationPayload;
82248
83605
  exports.GitHubEnterpriseServerPayload = GitHubEnterpriseServerPayload;
82249
83606
  exports.GitLabIntegrationCreatePayload = GitLabIntegrationCreatePayload;
83607
+ exports.GitLabTestConnectionPayload = GitLabTestConnectionPayload;
82250
83608
  exports.GitLinkKind = GitLinkKind;
82251
83609
  exports.GithubOrgType = GithubOrgType;
82252
83610
  exports.GoogleUserAccountAuthMutation = GoogleUserAccountAuthMutation;
@@ -82315,6 +83673,7 @@ exports.IntegrationGithubConnectMutation = IntegrationGithubConnectMutation;
82315
83673
  exports.IntegrationGithubImportConnectMutation = IntegrationGithubImportConnectMutation;
82316
83674
  exports.IntegrationGithubImportRefreshMutation = IntegrationGithubImportRefreshMutation;
82317
83675
  exports.IntegrationGitlabConnectMutation = IntegrationGitlabConnectMutation;
83676
+ exports.IntegrationGitlabTestConnectionMutation = IntegrationGitlabTestConnectionMutation;
82318
83677
  exports.IntegrationGongMutation = IntegrationGongMutation;
82319
83678
  exports.IntegrationGoogleSheetsMutation = IntegrationGoogleSheetsMutation;
82320
83679
  exports.IntegrationHasScopesPayload = IntegrationHasScopesPayload;
@@ -82368,6 +83727,8 @@ exports.IssueFilterSuggestionPayload = IssueFilterSuggestionPayload;
82368
83727
  exports.IssueFilterSuggestionQuery = IssueFilterSuggestionQuery;
82369
83728
  exports.IssueHistory = IssueHistory;
82370
83729
  exports.IssueHistoryConnection = IssueHistoryConnection;
83730
+ exports.IssueHistoryTriageRuleError = IssueHistoryTriageRuleError;
83731
+ exports.IssueHistoryTriageRuleMetadata = IssueHistoryTriageRuleMetadata;
82371
83732
  exports.IssueImport = IssueImport;
82372
83733
  exports.IssueImportCheckCsvQuery = IssueImportCheckCsvQuery;
82373
83734
  exports.IssueImportCheckPayload = IssueImportCheckPayload;
@@ -82410,6 +83771,7 @@ exports.IssueRelationType = IssueRelationType;
82410
83771
  exports.IssueRelationsQuery = IssueRelationsQuery;
82411
83772
  exports.IssueReminderMutation = IssueReminderMutation;
82412
83773
  exports.IssueRemoveLabelMutation = IssueRemoveLabelMutation;
83774
+ exports.IssueRepositorySuggestionsQuery = IssueRepositorySuggestionsQuery;
82413
83775
  exports.IssueSearchPayload = IssueSearchPayload;
82414
83776
  exports.IssueSearchQuery = IssueSearchQuery;
82415
83777
  exports.IssueSearchResult = IssueSearchResult;
@@ -82440,6 +83802,7 @@ exports.IssueVcsBranchSearch_InverseRelationsQuery = IssueVcsBranchSearch_Invers
82440
83802
  exports.IssueVcsBranchSearch_LabelsQuery = IssueVcsBranchSearch_LabelsQuery;
82441
83803
  exports.IssueVcsBranchSearch_NeedsQuery = IssueVcsBranchSearch_NeedsQuery;
82442
83804
  exports.IssueVcsBranchSearch_RelationsQuery = IssueVcsBranchSearch_RelationsQuery;
83805
+ exports.IssueVcsBranchSearch_StateHistoryQuery = IssueVcsBranchSearch_StateHistoryQuery;
82443
83806
  exports.IssueVcsBranchSearch_SubscribersQuery = IssueVcsBranchSearch_SubscribersQuery;
82444
83807
  exports.IssueWebhookPayload = IssueWebhookPayload;
82445
83808
  exports.IssueWithDescriptionChildWebhookPayload = IssueWithDescriptionChildWebhookPayload;
@@ -82455,6 +83818,7 @@ exports.Issue_InverseRelationsQuery = Issue_InverseRelationsQuery;
82455
83818
  exports.Issue_LabelsQuery = Issue_LabelsQuery;
82456
83819
  exports.Issue_NeedsQuery = Issue_NeedsQuery;
82457
83820
  exports.Issue_RelationsQuery = Issue_RelationsQuery;
83821
+ exports.Issue_StateHistoryQuery = Issue_StateHistoryQuery;
82458
83822
  exports.Issue_SubscribersQuery = Issue_SubscribersQuery;
82459
83823
  exports.IssuesQuery = IssuesQuery;
82460
83824
  exports.JoinOrganizationFromOnboardingMutation = JoinOrganizationFromOnboardingMutation;
@@ -82688,6 +84052,7 @@ exports.RoadmapToProjectQuery = RoadmapToProjectQuery;
82688
84052
  exports.RoadmapToProjectsQuery = RoadmapToProjectsQuery;
82689
84053
  exports.Roadmap_ProjectsQuery = Roadmap_ProjectsQuery;
82690
84054
  exports.RoadmapsQuery = RoadmapsQuery;
84055
+ exports.RotateSecretWebhookMutation = RotateSecretWebhookMutation;
82691
84056
  exports.SLADayCountType = SLADayCountType;
82692
84057
  exports.SamlTokenUserAccountAuthMutation = SamlTokenUserAccountAuthMutation;
82693
84058
  exports.SearchDocumentsQuery = SearchDocumentsQuery;
@@ -82711,6 +84076,8 @@ exports.SlackChannelType = SlackChannelType;
82711
84076
  exports.SsoUrlFromEmailQuery = SsoUrlFromEmailQuery;
82712
84077
  exports.SsoUrlFromEmailResponse = SsoUrlFromEmailResponse;
82713
84078
  exports.SuccessPayload = SuccessPayload;
84079
+ exports.Summary = Summary;
84080
+ exports.SummaryGenerationStatus = SummaryGenerationStatus;
82714
84081
  exports.SuspendUserMutation = SuspendUserMutation;
82715
84082
  exports.SyncedExternalThread = SyncedExternalThread;
82716
84083
  exports.Team = Team;
@@ -82762,6 +84129,7 @@ exports.TriageResponsibilityManualSelection = TriageResponsibilityManualSelectio
82762
84129
  exports.TriageResponsibilityPayload = TriageResponsibilityPayload;
82763
84130
  exports.TriageResponsibilityQuery = TriageResponsibilityQuery;
82764
84131
  exports.TriageResponsibility_ManualSelectionQuery = TriageResponsibility_ManualSelectionQuery;
84132
+ exports.TriageRuleErrorType = TriageRuleErrorType;
82765
84133
  exports.UnarchiveCustomerNeedMutation = UnarchiveCustomerNeedMutation;
82766
84134
  exports.UnarchiveDocumentMutation = UnarchiveDocumentMutation;
82767
84135
  exports.UnarchiveInitiativeMutation = UnarchiveInitiativeMutation;
@@ -82848,7 +84216,10 @@ exports.UserPayload = UserPayload;
82848
84216
  exports.UserPromoteAdminMutation = UserPromoteAdminMutation;
82849
84217
  exports.UserPromoteMemberMutation = UserPromoteMemberMutation;
82850
84218
  exports.UserQuery = UserQuery;
84219
+ exports.UserRevokeAllSessionsMutation = UserRevokeAllSessionsMutation;
84220
+ exports.UserRevokeSessionMutation = UserRevokeSessionMutation;
82851
84221
  exports.UserRoleType = UserRoleType;
84222
+ exports.UserSessionsQuery = UserSessionsQuery;
82852
84223
  exports.UserSettings = UserSettings;
82853
84224
  exports.UserSettingsCustomSidebarTheme = UserSettingsCustomSidebarTheme;
82854
84225
  exports.UserSettingsCustomTheme = UserSettingsCustomTheme;
@@ -82918,7 +84289,9 @@ exports.WebhookConnection = WebhookConnection;
82918
84289
  exports.WebhookFailureEvent = WebhookFailureEvent;
82919
84290
  exports.WebhookPayload = WebhookPayload;
82920
84291
  exports.WebhookQuery = WebhookQuery;
84292
+ exports.WebhookRotateSecretPayload = WebhookRotateSecretPayload;
82921
84293
  exports.WebhooksQuery = WebhooksQuery;
84294
+ exports.WorkflowDefinition = WorkflowDefinition;
82922
84295
  exports.WorkflowState = WorkflowState;
82923
84296
  exports.WorkflowStateArchivePayload = WorkflowStateArchivePayload;
82924
84297
  exports.WorkflowStateChildWebhookPayload = WorkflowStateChildWebhookPayload;
@@ -82927,4 +84300,7 @@ exports.WorkflowStatePayload = WorkflowStatePayload;
82927
84300
  exports.WorkflowStateQuery = WorkflowStateQuery;
82928
84301
  exports.WorkflowState_IssuesQuery = WorkflowState_IssuesQuery;
82929
84302
  exports.WorkflowStatesQuery = WorkflowStatesQuery;
84303
+ exports.WorkflowTrigger = WorkflowTrigger;
84304
+ exports.WorkflowTriggerType = WorkflowTriggerType;
84305
+ exports.WorkflowType = WorkflowType;
82930
84306
  exports.parseLinearError = parseLinearError;