@linear/sdk 71.0.0 → 72.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
@@ -1509,8 +1509,9 @@ var _generated_documents_exports = /* @__PURE__ */ require_webhooks.__export({
1509
1509
  ArchiveRoadmapDocument: () => ArchiveRoadmapDocument,
1510
1510
  ArchiveWorkflowStateDocument: () => ArchiveWorkflowStateDocument,
1511
1511
  AsksChannelConnectPayloadFragmentDoc: () => AsksChannelConnectPayloadFragmentDoc,
1512
- AsksWebFormsAuthDocument: () => AsksWebFormsAuthDocument,
1513
- AsksWebFormsAuthResponseFragmentDoc: () => AsksWebFormsAuthResponseFragmentDoc,
1512
+ AsksWebSettingDocument: () => AsksWebSettingDocument,
1513
+ AsksWebSetting_IdentityProviderDocument: () => AsksWebSetting_IdentityProviderDocument,
1514
+ AsksWebSettingsFragmentDoc: () => AsksWebSettingsFragmentDoc,
1514
1515
  AttachmentConnectionFragmentDoc: () => AttachmentConnectionFragmentDoc,
1515
1516
  AttachmentDocument: () => AttachmentDocument,
1516
1517
  AttachmentFragmentDoc: () => AttachmentFragmentDoc,
@@ -1827,6 +1828,7 @@ var _generated_documents_exports = /* @__PURE__ */ require_webhooks.__export({
1827
1828
  GitHubEnterpriseServerInstallVerificationPayloadFragmentDoc: () => GitHubEnterpriseServerInstallVerificationPayloadFragmentDoc,
1828
1829
  GitHubEnterpriseServerPayloadFragmentDoc: () => GitHubEnterpriseServerPayloadFragmentDoc,
1829
1830
  GitLabIntegrationCreatePayloadFragmentDoc: () => GitLabIntegrationCreatePayloadFragmentDoc,
1831
+ GitLabTestConnectionPayloadFragmentDoc: () => GitLabTestConnectionPayloadFragmentDoc,
1830
1832
  GitLinkKind: () => GitLinkKind,
1831
1833
  GithubOrgType: () => GithubOrgType,
1832
1834
  GoogleUserAccountAuthDocument: () => GoogleUserAccountAuthDocument,
@@ -1894,6 +1896,7 @@ var _generated_documents_exports = /* @__PURE__ */ require_webhooks.__export({
1894
1896
  IntegrationGithubImportConnectDocument: () => IntegrationGithubImportConnectDocument,
1895
1897
  IntegrationGithubImportRefreshDocument: () => IntegrationGithubImportRefreshDocument,
1896
1898
  IntegrationGitlabConnectDocument: () => IntegrationGitlabConnectDocument,
1899
+ IntegrationGitlabTestConnectionDocument: () => IntegrationGitlabTestConnectionDocument,
1897
1900
  IntegrationGongDocument: () => IntegrationGongDocument,
1898
1901
  IntegrationGoogleSheetsDocument: () => IntegrationGoogleSheetsDocument,
1899
1902
  IntegrationHasScopesDocument: () => IntegrationHasScopesDocument,
@@ -1945,6 +1948,8 @@ var _generated_documents_exports = /* @__PURE__ */ require_webhooks.__export({
1945
1948
  IssueFragmentDoc: () => IssueFragmentDoc,
1946
1949
  IssueHistoryConnectionFragmentDoc: () => IssueHistoryConnectionFragmentDoc,
1947
1950
  IssueHistoryFragmentDoc: () => IssueHistoryFragmentDoc,
1951
+ IssueHistoryTriageRuleErrorFragmentDoc: () => IssueHistoryTriageRuleErrorFragmentDoc,
1952
+ IssueHistoryTriageRuleMetadataFragmentDoc: () => IssueHistoryTriageRuleMetadataFragmentDoc,
1948
1953
  IssueImportCheckCsvDocument: () => IssueImportCheckCsvDocument,
1949
1954
  IssueImportCheckPayloadFragmentDoc: () => IssueImportCheckPayloadFragmentDoc,
1950
1955
  IssueImportCheckSyncDocument: () => IssueImportCheckSyncDocument,
@@ -1986,6 +1991,7 @@ var _generated_documents_exports = /* @__PURE__ */ require_webhooks.__export({
1986
1991
  IssueRelationsDocument: () => IssueRelationsDocument,
1987
1992
  IssueReminderDocument: () => IssueReminderDocument,
1988
1993
  IssueRemoveLabelDocument: () => IssueRemoveLabelDocument,
1994
+ IssueRepositorySuggestionsDocument: () => IssueRepositorySuggestionsDocument,
1989
1995
  IssueSearchDocument: () => IssueSearchDocument,
1990
1996
  IssueSearchPayloadFragmentDoc: () => IssueSearchPayloadFragmentDoc,
1991
1997
  IssueSearchResultFragmentDoc: () => IssueSearchResultFragmentDoc,
@@ -2245,6 +2251,7 @@ var _generated_documents_exports = /* @__PURE__ */ require_webhooks.__export({
2245
2251
  RoadmapToProjectsDocument: () => RoadmapToProjectsDocument,
2246
2252
  Roadmap_ProjectsDocument: () => Roadmap_ProjectsDocument,
2247
2253
  RoadmapsDocument: () => RoadmapsDocument,
2254
+ RotateSecretWebhookDocument: () => RotateSecretWebhookDocument,
2248
2255
  SLADayCountType: () => SLADayCountType,
2249
2256
  SamlTokenUserAccountAuthDocument: () => SamlTokenUserAccountAuthDocument,
2250
2257
  SearchDocumentsDocument: () => SearchDocumentsDocument,
@@ -2319,6 +2326,7 @@ var _generated_documents_exports = /* @__PURE__ */ require_webhooks.__export({
2319
2326
  TriageResponsibilityManualSelectionFragmentDoc: () => TriageResponsibilityManualSelectionFragmentDoc,
2320
2327
  TriageResponsibilityPayloadFragmentDoc: () => TriageResponsibilityPayloadFragmentDoc,
2321
2328
  TriageResponsibility_ManualSelectionDocument: () => TriageResponsibility_ManualSelectionDocument,
2329
+ TriageRuleErrorType: () => TriageRuleErrorType,
2322
2330
  TypedDocumentString: () => TypedDocumentString,
2323
2331
  UnarchiveCustomerNeedDocument: () => UnarchiveCustomerNeedDocument,
2324
2332
  UnarchiveDocumentDocument: () => UnarchiveDocumentDocument,
@@ -2403,7 +2411,10 @@ var _generated_documents_exports = /* @__PURE__ */ require_webhooks.__export({
2403
2411
  UserPayloadFragmentDoc: () => UserPayloadFragmentDoc,
2404
2412
  UserPromoteAdminDocument: () => UserPromoteAdminDocument,
2405
2413
  UserPromoteMemberDocument: () => UserPromoteMemberDocument,
2414
+ UserRevokeAllSessionsDocument: () => UserRevokeAllSessionsDocument,
2415
+ UserRevokeSessionDocument: () => UserRevokeSessionDocument,
2406
2416
  UserRoleType: () => UserRoleType,
2417
+ UserSessionsDocument: () => UserSessionsDocument,
2407
2418
  UserSettingsCustomSidebarThemeFragmentDoc: () => UserSettingsCustomSidebarThemeFragmentDoc,
2408
2419
  UserSettingsCustomThemeFragmentDoc: () => UserSettingsCustomThemeFragmentDoc,
2409
2420
  UserSettingsDocument: () => UserSettingsDocument,
@@ -2473,7 +2484,9 @@ var _generated_documents_exports = /* @__PURE__ */ require_webhooks.__export({
2473
2484
  WebhookFailureEventFragmentDoc: () => WebhookFailureEventFragmentDoc,
2474
2485
  WebhookFragmentDoc: () => WebhookFragmentDoc,
2475
2486
  WebhookPayloadFragmentDoc: () => WebhookPayloadFragmentDoc,
2487
+ WebhookRotateSecretPayloadFragmentDoc: () => WebhookRotateSecretPayloadFragmentDoc,
2476
2488
  WebhooksDocument: () => WebhooksDocument,
2489
+ WorkflowDefinitionFragmentDoc: () => WorkflowDefinitionFragmentDoc,
2477
2490
  WorkflowStateArchivePayloadFragmentDoc: () => WorkflowStateArchivePayloadFragmentDoc,
2478
2491
  WorkflowStateChildWebhookPayloadFragmentDoc: () => WorkflowStateChildWebhookPayloadFragmentDoc,
2479
2492
  WorkflowStateConnectionFragmentDoc: () => WorkflowStateConnectionFragmentDoc,
@@ -2481,7 +2494,10 @@ var _generated_documents_exports = /* @__PURE__ */ require_webhooks.__export({
2481
2494
  WorkflowStateFragmentDoc: () => WorkflowStateFragmentDoc,
2482
2495
  WorkflowStatePayloadFragmentDoc: () => WorkflowStatePayloadFragmentDoc,
2483
2496
  WorkflowState_IssuesDocument: () => WorkflowState_IssuesDocument,
2484
- WorkflowStatesDocument: () => WorkflowStatesDocument
2497
+ WorkflowStatesDocument: () => WorkflowStatesDocument,
2498
+ WorkflowTrigger: () => WorkflowTrigger,
2499
+ WorkflowTriggerType: () => WorkflowTriggerType,
2500
+ WorkflowType: () => WorkflowType
2485
2501
  });
2486
2502
  /** A modifier that provides additional instructions on how the activity should be interpreted. */
2487
2503
  let AgentActivitySignal = /* @__PURE__ */ function(AgentActivitySignal$1) {
@@ -3037,6 +3053,13 @@ let TriageResponsibilityAction = /* @__PURE__ */ function(TriageResponsibilityAc
3037
3053
  TriageResponsibilityAction$1["Notify"] = "notify";
3038
3054
  return TriageResponsibilityAction$1;
3039
3055
  }({});
3056
+ /** The type of error that occurred during triage rule execution. */
3057
+ let TriageRuleErrorType = /* @__PURE__ */ function(TriageRuleErrorType$1) {
3058
+ TriageRuleErrorType$1["Cycle"] = "cycle";
3059
+ TriageRuleErrorType$1["Default"] = "default";
3060
+ TriageRuleErrorType$1["LabelGroupConflict"] = "labelGroupConflict";
3061
+ return TriageRuleErrorType$1;
3062
+ }({});
3040
3063
  let UserContextViewType = /* @__PURE__ */ function(UserContextViewType$1) {
3041
3064
  UserContextViewType$1["Assigned"] = "assigned";
3042
3065
  return UserContextViewType$1;
@@ -3201,6 +3224,26 @@ let ViewType = /* @__PURE__ */ function(ViewType$1) {
3201
3224
  ViewType$1["WorkspaceMembers"] = "workspaceMembers";
3202
3225
  return ViewType$1;
3203
3226
  }({});
3227
+ let WorkflowTrigger = /* @__PURE__ */ function(WorkflowTrigger$1) {
3228
+ WorkflowTrigger$1["EntityCreated"] = "entityCreated";
3229
+ WorkflowTrigger$1["EntityCreatedOrUpdated"] = "entityCreatedOrUpdated";
3230
+ WorkflowTrigger$1["EntityRemoved"] = "entityRemoved";
3231
+ WorkflowTrigger$1["EntityUnarchived"] = "entityUnarchived";
3232
+ WorkflowTrigger$1["EntityUpdated"] = "entityUpdated";
3233
+ return WorkflowTrigger$1;
3234
+ }({});
3235
+ let WorkflowTriggerType = /* @__PURE__ */ function(WorkflowTriggerType$1) {
3236
+ WorkflowTriggerType$1["Issue"] = "issue";
3237
+ WorkflowTriggerType$1["Project"] = "project";
3238
+ return WorkflowTriggerType$1;
3239
+ }({});
3240
+ let WorkflowType = /* @__PURE__ */ function(WorkflowType$1) {
3241
+ WorkflowType$1["Custom"] = "custom";
3242
+ WorkflowType$1["Sla"] = "sla";
3243
+ WorkflowType$1["Triage"] = "triage";
3244
+ WorkflowType$1["ViewSubscription"] = "viewSubscription";
3245
+ return WorkflowType$1;
3246
+ }({});
3204
3247
  var TypedDocumentString = class extends String {
3205
3248
  __apiType;
3206
3249
  value;
@@ -5889,6 +5932,7 @@ const OrganizationFragmentDoc = new TypedDocumentString(`
5889
5932
  feedEnabled
5890
5933
  customersEnabled
5891
5934
  roadmapEnabled
5935
+ hideNonPrimaryOrganizations
5892
5936
  projectUpdatesReminderFrequency
5893
5937
  allowMembersToInvite
5894
5938
  restrictTeamCreationToAdmins
@@ -6292,6 +6336,226 @@ const IntegrationActorWebhookPayloadFragmentDoc = new TypedDocumentString(`
6292
6336
  type
6293
6337
  }
6294
6338
  `, { fragmentName: "IntegrationActorWebhookPayload" });
6339
+ const IssueLabelFragmentDoc = new TypedDocumentString(`
6340
+ fragment IssueLabel on IssueLabel {
6341
+ __typename
6342
+ lastAppliedAt
6343
+ color
6344
+ description
6345
+ name
6346
+ updatedAt
6347
+ inheritedFrom {
6348
+ id
6349
+ }
6350
+ parent {
6351
+ id
6352
+ }
6353
+ team {
6354
+ id
6355
+ }
6356
+ archivedAt
6357
+ createdAt
6358
+ id
6359
+ creator {
6360
+ id
6361
+ }
6362
+ retiredBy {
6363
+ id
6364
+ }
6365
+ isGroup
6366
+ }
6367
+ `, { fragmentName: "IssueLabel" });
6368
+ const IssueHistoryTriageRuleErrorFragmentDoc = new TypedDocumentString(`
6369
+ fragment IssueHistoryTriageRuleError on IssueHistoryTriageRuleError {
6370
+ __typename
6371
+ conflictingLabels {
6372
+ ...IssueLabel
6373
+ }
6374
+ property
6375
+ fromTeam {
6376
+ id
6377
+ }
6378
+ toTeam {
6379
+ id
6380
+ }
6381
+ type
6382
+ conflictForSameChildLabel
6383
+ }
6384
+ fragment IssueLabel on IssueLabel {
6385
+ __typename
6386
+ lastAppliedAt
6387
+ color
6388
+ description
6389
+ name
6390
+ updatedAt
6391
+ inheritedFrom {
6392
+ id
6393
+ }
6394
+ parent {
6395
+ id
6396
+ }
6397
+ team {
6398
+ id
6399
+ }
6400
+ archivedAt
6401
+ createdAt
6402
+ id
6403
+ creator {
6404
+ id
6405
+ }
6406
+ retiredBy {
6407
+ id
6408
+ }
6409
+ isGroup
6410
+ }`, { fragmentName: "IssueHistoryTriageRuleError" });
6411
+ const WorkflowDefinitionFragmentDoc = new TypedDocumentString(`
6412
+ fragment WorkflowDefinition on WorkflowDefinition {
6413
+ __typename
6414
+ activities
6415
+ conditions
6416
+ customView {
6417
+ id
6418
+ }
6419
+ cycle {
6420
+ id
6421
+ }
6422
+ initiative {
6423
+ id
6424
+ }
6425
+ label {
6426
+ id
6427
+ }
6428
+ project {
6429
+ id
6430
+ }
6431
+ user {
6432
+ id
6433
+ }
6434
+ lastExecutedAt
6435
+ description
6436
+ updatedAt
6437
+ groupName
6438
+ name
6439
+ triggerType
6440
+ sortOrder
6441
+ team {
6442
+ id
6443
+ }
6444
+ archivedAt
6445
+ createdAt
6446
+ trigger
6447
+ type
6448
+ userContextViewType
6449
+ contextViewType
6450
+ id
6451
+ creator {
6452
+ id
6453
+ }
6454
+ lastUpdatedBy {
6455
+ id
6456
+ }
6457
+ enabled
6458
+ }
6459
+ `, { fragmentName: "WorkflowDefinition" });
6460
+ const IssueHistoryTriageRuleMetadataFragmentDoc = new TypedDocumentString(`
6461
+ fragment IssueHistoryTriageRuleMetadata on IssueHistoryTriageRuleMetadata {
6462
+ __typename
6463
+ triageRuleError {
6464
+ ...IssueHistoryTriageRuleError
6465
+ }
6466
+ updatedByTriageRule {
6467
+ ...WorkflowDefinition
6468
+ }
6469
+ }
6470
+ fragment IssueHistoryTriageRuleError on IssueHistoryTriageRuleError {
6471
+ __typename
6472
+ conflictingLabels {
6473
+ ...IssueLabel
6474
+ }
6475
+ property
6476
+ fromTeam {
6477
+ id
6478
+ }
6479
+ toTeam {
6480
+ id
6481
+ }
6482
+ type
6483
+ conflictForSameChildLabel
6484
+ }
6485
+ fragment IssueLabel on IssueLabel {
6486
+ __typename
6487
+ lastAppliedAt
6488
+ color
6489
+ description
6490
+ name
6491
+ updatedAt
6492
+ inheritedFrom {
6493
+ id
6494
+ }
6495
+ parent {
6496
+ id
6497
+ }
6498
+ team {
6499
+ id
6500
+ }
6501
+ archivedAt
6502
+ createdAt
6503
+ id
6504
+ creator {
6505
+ id
6506
+ }
6507
+ retiredBy {
6508
+ id
6509
+ }
6510
+ isGroup
6511
+ }
6512
+ fragment WorkflowDefinition on WorkflowDefinition {
6513
+ __typename
6514
+ activities
6515
+ conditions
6516
+ customView {
6517
+ id
6518
+ }
6519
+ cycle {
6520
+ id
6521
+ }
6522
+ initiative {
6523
+ id
6524
+ }
6525
+ label {
6526
+ id
6527
+ }
6528
+ project {
6529
+ id
6530
+ }
6531
+ user {
6532
+ id
6533
+ }
6534
+ lastExecutedAt
6535
+ description
6536
+ updatedAt
6537
+ groupName
6538
+ name
6539
+ triggerType
6540
+ sortOrder
6541
+ team {
6542
+ id
6543
+ }
6544
+ archivedAt
6545
+ createdAt
6546
+ trigger
6547
+ type
6548
+ userContextViewType
6549
+ contextViewType
6550
+ id
6551
+ creator {
6552
+ id
6553
+ }
6554
+ lastUpdatedBy {
6555
+ id
6556
+ }
6557
+ enabled
6558
+ }`, { fragmentName: "IssueHistoryTriageRuleMetadata" });
6295
6559
  const OauthClientActorWebhookPayloadFragmentDoc = new TypedDocumentString(`
6296
6560
  fragment OauthClientActorWebhookPayload on OauthClientActorWebhookPayload {
6297
6561
  __typename
@@ -7103,8 +7367,18 @@ const AgentActivityWebhookPayloadFragmentDoc = new TypedDocumentString(`
7103
7367
  archivedAt
7104
7368
  createdAt
7105
7369
  updatedAt
7370
+ user {
7371
+ ...UserChildWebhookPayload
7372
+ }
7106
7373
  }
7107
- `, { fragmentName: "AgentActivityWebhookPayload" });
7374
+ fragment UserChildWebhookPayload on UserChildWebhookPayload {
7375
+ __typename
7376
+ id
7377
+ url
7378
+ avatarUrl
7379
+ email
7380
+ name
7381
+ }`, { fragmentName: "AgentActivityWebhookPayload" });
7108
7382
  const AgentSessionWebhookPayloadFragmentDoc = new TypedDocumentString(`
7109
7383
  fragment AgentSessionWebhookPayload on AgentSessionWebhookPayload {
7110
7384
  __typename
@@ -7248,6 +7522,9 @@ fragment AgentActivityWebhookPayload on AgentActivityWebhookPayload {
7248
7522
  archivedAt
7249
7523
  createdAt
7250
7524
  updatedAt
7525
+ user {
7526
+ ...UserChildWebhookPayload
7527
+ }
7251
7528
  }
7252
7529
  fragment AgentSessionWebhookPayload on AgentSessionWebhookPayload {
7253
7530
  __typename
@@ -8230,6 +8507,43 @@ const ApplicationFragmentDoc = new TypedDocumentString(`
8230
8507
  developerUrl
8231
8508
  }
8232
8509
  `, { fragmentName: "Application" });
8510
+ const AsksWebSettingsFragmentDoc = new TypedDocumentString(`
8511
+ fragment AsksWebSettings on AsksWebSettings {
8512
+ __typename
8513
+ domain
8514
+ emailIntakeAddress {
8515
+ id
8516
+ }
8517
+ identityProvider {
8518
+ ...IdentityProvider
8519
+ }
8520
+ updatedAt
8521
+ archivedAt
8522
+ createdAt
8523
+ id
8524
+ creator {
8525
+ id
8526
+ }
8527
+ }
8528
+ fragment IdentityProvider on IdentityProvider {
8529
+ __typename
8530
+ ssoBinding
8531
+ ssoEndpoint
8532
+ priority
8533
+ ssoSignAlgo
8534
+ issuerEntityId
8535
+ updatedAt
8536
+ spEntityId
8537
+ archivedAt
8538
+ createdAt
8539
+ type
8540
+ id
8541
+ samlEnabled
8542
+ scimEnabled
8543
+ defaultMigrated
8544
+ allowNameChange
8545
+ ssoSigningCert
8546
+ }`, { fragmentName: "AsksWebSettings" });
8233
8547
  const TeamWithParentWebhookPayloadFragmentDoc = new TypedDocumentString(`
8234
8548
  fragment TeamWithParentWebhookPayload on TeamWithParentWebhookPayload {
8235
8549
  __typename
@@ -9154,51 +9468,44 @@ fragment SlackAsksTeamSettings on SlackAsksTeamSettings {
9154
9468
  id
9155
9469
  hasDefaultAsk
9156
9470
  }`, { fragmentName: "AsksChannelConnectPayload" });
9157
- const AsksWebFormsAuthResponseFragmentDoc = new TypedDocumentString(`
9158
- fragment AsksWebFormsAuthResponse on AsksWebFormsAuthResponse {
9471
+ const AttachmentFragmentDoc = new TypedDocumentString(`
9472
+ fragment Attachment on Attachment {
9159
9473
  __typename
9160
- name
9161
- email
9162
- }
9163
- `, { fragmentName: "AsksWebFormsAuthResponse" });
9164
- const AttachmentFragmentDoc = new TypedDocumentString(`
9165
- fragment Attachment on Attachment {
9166
- __typename
9167
- sourceType
9168
- subtitle
9169
- title
9170
- metadata
9171
- groupBySource
9172
- source
9173
- url
9174
- bodyData
9175
- creator {
9176
- id
9177
- }
9178
- issue {
9179
- id
9180
- }
9181
- originalIssue {
9182
- id
9183
- }
9184
- updatedAt
9185
- externalUserCreator {
9186
- id
9187
- }
9188
- archivedAt
9189
- createdAt
9190
- id
9191
- }
9192
- `, { fragmentName: "Attachment" });
9193
- const AttachmentConnectionFragmentDoc = new TypedDocumentString(`
9194
- fragment AttachmentConnection on AttachmentConnection {
9195
- __typename
9196
- nodes {
9197
- ...Attachment
9198
- }
9199
- pageInfo {
9200
- ...PageInfo
9201
- }
9474
+ sourceType
9475
+ subtitle
9476
+ title
9477
+ metadata
9478
+ groupBySource
9479
+ source
9480
+ url
9481
+ bodyData
9482
+ creator {
9483
+ id
9484
+ }
9485
+ issue {
9486
+ id
9487
+ }
9488
+ originalIssue {
9489
+ id
9490
+ }
9491
+ updatedAt
9492
+ externalUserCreator {
9493
+ id
9494
+ }
9495
+ archivedAt
9496
+ createdAt
9497
+ id
9498
+ }
9499
+ `, { fragmentName: "Attachment" });
9500
+ const AttachmentConnectionFragmentDoc = new TypedDocumentString(`
9501
+ fragment AttachmentConnection on AttachmentConnection {
9502
+ __typename
9503
+ nodes {
9504
+ ...Attachment
9505
+ }
9506
+ pageInfo {
9507
+ ...PageInfo
9508
+ }
9202
9509
  }
9203
9510
  fragment Attachment on Attachment {
9204
9511
  __typename
@@ -9325,6 +9632,7 @@ const AuthOrganizationFragmentDoc = new TypedDocumentString(`
9325
9632
  samlEnabled
9326
9633
  scimEnabled
9327
9634
  enabled
9635
+ hideNonPrimaryOrganizations
9328
9636
  userCount
9329
9637
  }
9330
9638
  `, { fragmentName: "AuthOrganization" });
@@ -9360,6 +9668,7 @@ const AuthUserFragmentDoc = new TypedDocumentString(`
9360
9668
  samlEnabled
9361
9669
  scimEnabled
9362
9670
  enabled
9671
+ hideNonPrimaryOrganizations
9363
9672
  userCount
9364
9673
  }`, { fragmentName: "AuthUser" });
9365
9674
  const AuthResolverResponseFragmentDoc = new TypedDocumentString(`
@@ -9414,6 +9723,7 @@ fragment AuthOrganization on AuthOrganization {
9414
9723
  samlEnabled
9415
9724
  scimEnabled
9416
9725
  enabled
9726
+ hideNonPrimaryOrganizations
9417
9727
  userCount
9418
9728
  }`, { fragmentName: "AuthResolverResponse" });
9419
9729
  const ReactionFragmentDoc = new TypedDocumentString(`
@@ -10013,6 +10323,7 @@ fragment AuthOrganization on AuthOrganization {
10013
10323
  samlEnabled
10014
10324
  scimEnabled
10015
10325
  enabled
10326
+ hideNonPrimaryOrganizations
10016
10327
  userCount
10017
10328
  }`, { fragmentName: "CreateOrJoinOrganizationResponse" });
10018
10329
  const ViewPreferencesValuesFragmentDoc = new TypedDocumentString(`
@@ -11635,6 +11946,19 @@ const GitLabIntegrationCreatePayloadFragmentDoc = new TypedDocumentString(`
11635
11946
  success
11636
11947
  }
11637
11948
  `, { fragmentName: "GitLabIntegrationCreatePayload" });
11949
+ const GitLabTestConnectionPayloadFragmentDoc = new TypedDocumentString(`
11950
+ fragment GitLabTestConnectionPayload on GitLabTestConnectionPayload {
11951
+ __typename
11952
+ error
11953
+ errorResponseBody
11954
+ errorResponseHeaders
11955
+ lastSyncId
11956
+ integration {
11957
+ id
11958
+ }
11959
+ success
11960
+ }
11961
+ `, { fragmentName: "GitLabTestConnectionPayload" });
11638
11962
  const ImageUploadFromUrlPayloadFragmentDoc = new TypedDocumentString(`
11639
11963
  fragment ImageUploadFromUrlPayload on ImageUploadFromUrlPayload {
11640
11964
  __typename
@@ -12898,8 +13222,192 @@ const IssueImportFragmentDoc = new TypedDocumentString(`
12898
13222
  error
12899
13223
  }
12900
13224
  `, { fragmentName: "IssueImport" });
12901
- const IssueLabelFragmentDoc = new TypedDocumentString(`
12902
- fragment IssueLabel on IssueLabel {
13225
+ const IssueHistoryFragmentDoc = new TypedDocumentString(`
13226
+ fragment IssueHistory on IssueHistory {
13227
+ __typename
13228
+ triageResponsibilityAutoAssigned
13229
+ relationChanges {
13230
+ ...IssueRelationHistoryPayload
13231
+ }
13232
+ addedLabelIds
13233
+ removedLabelIds
13234
+ actor {
13235
+ id
13236
+ }
13237
+ descriptionUpdatedBy {
13238
+ ...User
13239
+ }
13240
+ actors {
13241
+ ...User
13242
+ }
13243
+ fromDelegate {
13244
+ id
13245
+ }
13246
+ toDelegate {
13247
+ id
13248
+ }
13249
+ botActor {
13250
+ ...ActorBot
13251
+ }
13252
+ fromCycle {
13253
+ id
13254
+ }
13255
+ toCycle {
13256
+ id
13257
+ }
13258
+ attachmentId
13259
+ customerNeedId
13260
+ toCycleId
13261
+ toParentId
13262
+ toConvertedProjectId
13263
+ toProjectId
13264
+ toStateId
13265
+ fromCycleId
13266
+ fromParentId
13267
+ fromProjectId
13268
+ fromStateId
13269
+ fromTeamId
13270
+ toTeamId
13271
+ fromAssigneeId
13272
+ toAssigneeId
13273
+ actorId
13274
+ issueImport {
13275
+ ...IssueImport
13276
+ }
13277
+ issue {
13278
+ id
13279
+ }
13280
+ addedLabels {
13281
+ ...IssueLabel
13282
+ }
13283
+ removedLabels {
13284
+ ...IssueLabel
13285
+ }
13286
+ updatedAt
13287
+ attachment {
13288
+ id
13289
+ }
13290
+ toConvertedProject {
13291
+ id
13292
+ }
13293
+ fromParent {
13294
+ id
13295
+ }
13296
+ toParent {
13297
+ id
13298
+ }
13299
+ fromProject {
13300
+ id
13301
+ }
13302
+ toProject {
13303
+ id
13304
+ }
13305
+ fromState {
13306
+ id
13307
+ }
13308
+ toState {
13309
+ id
13310
+ }
13311
+ fromTeam {
13312
+ id
13313
+ }
13314
+ toTeam {
13315
+ id
13316
+ }
13317
+ archivedAt
13318
+ createdAt
13319
+ id
13320
+ toAssignee {
13321
+ id
13322
+ }
13323
+ fromAssignee {
13324
+ id
13325
+ }
13326
+ triageResponsibilityNotifiedUsers {
13327
+ ...User
13328
+ }
13329
+ fromDueDate
13330
+ toDueDate
13331
+ fromEstimate
13332
+ toEstimate
13333
+ fromPriority
13334
+ toPriority
13335
+ fromTitle
13336
+ toTitle
13337
+ archived
13338
+ autoArchived
13339
+ autoClosed
13340
+ trashed
13341
+ updatedDescription
13342
+ }
13343
+ fragment ActorBot on ActorBot {
13344
+ __typename
13345
+ avatarUrl
13346
+ name
13347
+ userDisplayName
13348
+ subType
13349
+ type
13350
+ id
13351
+ }
13352
+ fragment User on User {
13353
+ __typename
13354
+ statusUntilAt
13355
+ description
13356
+ avatarUrl
13357
+ createdIssueCount
13358
+ disableReason
13359
+ avatarBackgroundColor
13360
+ statusEmoji
13361
+ initials
13362
+ statusLabel
13363
+ updatedAt
13364
+ lastSeen
13365
+ timezone
13366
+ archivedAt
13367
+ createdAt
13368
+ id
13369
+ gitHubUserId
13370
+ displayName
13371
+ email
13372
+ name
13373
+ url
13374
+ active
13375
+ guest
13376
+ app
13377
+ admin
13378
+ owner
13379
+ isAssignable
13380
+ isMentionable
13381
+ isMe
13382
+ supportsAgentSessions
13383
+ canAccessAnyPublicTeam
13384
+ calendarHash
13385
+ inviteHash
13386
+ }
13387
+ fragment IssueImport on IssueImport {
13388
+ __typename
13389
+ progress
13390
+ errorMetadata
13391
+ csvFileUrl
13392
+ serviceMetadata
13393
+ teamName
13394
+ mapping
13395
+ displayName
13396
+ creatorId
13397
+ updatedAt
13398
+ service
13399
+ status
13400
+ archivedAt
13401
+ createdAt
13402
+ id
13403
+ error
13404
+ }
13405
+ fragment IssueRelationHistoryPayload on IssueRelationHistoryPayload {
13406
+ __typename
13407
+ identifier
13408
+ type
13409
+ }
13410
+ fragment IssueLabel on IssueLabel {
12903
13411
  __typename
12904
13412
  lastAppliedAt
12905
13413
  color
@@ -12925,240 +13433,27 @@ const IssueLabelFragmentDoc = new TypedDocumentString(`
12925
13433
  id
12926
13434
  }
12927
13435
  isGroup
13436
+ }`, { fragmentName: "IssueHistory" });
13437
+ const IssueHistoryConnectionFragmentDoc = new TypedDocumentString(`
13438
+ fragment IssueHistoryConnection on IssueHistoryConnection {
13439
+ __typename
13440
+ nodes {
13441
+ ...IssueHistory
13442
+ }
13443
+ pageInfo {
13444
+ ...PageInfo
13445
+ }
12928
13446
  }
12929
- `, { fragmentName: "IssueLabel" });
12930
- const IssueHistoryFragmentDoc = new TypedDocumentString(`
12931
- fragment IssueHistory on IssueHistory {
12932
- __typename
12933
- triageResponsibilityAutoAssigned
12934
- relationChanges {
12935
- ...IssueRelationHistoryPayload
12936
- }
12937
- addedLabelIds
12938
- removedLabelIds
12939
- actor {
12940
- id
12941
- }
12942
- descriptionUpdatedBy {
12943
- ...User
12944
- }
12945
- actors {
12946
- ...User
12947
- }
12948
- fromDelegate {
12949
- id
12950
- }
12951
- toDelegate {
12952
- id
12953
- }
12954
- botActor {
12955
- ...ActorBot
12956
- }
12957
- fromCycle {
12958
- id
12959
- }
12960
- toCycle {
12961
- id
12962
- }
12963
- attachmentId
12964
- customerNeedId
12965
- toCycleId
12966
- toParentId
12967
- toConvertedProjectId
12968
- toProjectId
12969
- toStateId
12970
- fromCycleId
12971
- fromParentId
12972
- fromProjectId
12973
- fromStateId
12974
- fromTeamId
12975
- toTeamId
12976
- fromAssigneeId
12977
- toAssigneeId
12978
- actorId
12979
- issueImport {
12980
- ...IssueImport
12981
- }
12982
- issue {
12983
- id
12984
- }
12985
- addedLabels {
12986
- ...IssueLabel
12987
- }
12988
- removedLabels {
12989
- ...IssueLabel
12990
- }
12991
- updatedAt
12992
- attachment {
12993
- id
12994
- }
12995
- toConvertedProject {
12996
- id
12997
- }
12998
- fromParent {
12999
- id
13000
- }
13001
- toParent {
13002
- id
13003
- }
13004
- fromProject {
13005
- id
13006
- }
13007
- toProject {
13008
- id
13009
- }
13010
- fromState {
13011
- id
13012
- }
13013
- toState {
13014
- id
13015
- }
13016
- fromTeam {
13017
- id
13018
- }
13019
- toTeam {
13020
- id
13021
- }
13022
- archivedAt
13023
- createdAt
13024
- id
13025
- toAssignee {
13026
- id
13027
- }
13028
- fromAssignee {
13029
- id
13030
- }
13031
- triageResponsibilityNotifiedUsers {
13032
- ...User
13033
- }
13034
- fromDueDate
13035
- toDueDate
13036
- fromEstimate
13037
- toEstimate
13038
- fromPriority
13039
- toPriority
13040
- fromTitle
13041
- toTitle
13042
- archived
13043
- autoArchived
13044
- autoClosed
13045
- trashed
13046
- updatedDescription
13047
- }
13048
- fragment ActorBot on ActorBot {
13049
- __typename
13050
- avatarUrl
13051
- name
13052
- userDisplayName
13053
- subType
13054
- type
13055
- id
13056
- }
13057
- fragment User on User {
13058
- __typename
13059
- statusUntilAt
13060
- description
13061
- avatarUrl
13062
- createdIssueCount
13063
- disableReason
13064
- avatarBackgroundColor
13065
- statusEmoji
13066
- initials
13067
- statusLabel
13068
- updatedAt
13069
- lastSeen
13070
- timezone
13071
- archivedAt
13072
- createdAt
13073
- id
13074
- gitHubUserId
13075
- displayName
13076
- email
13077
- name
13078
- url
13079
- active
13080
- guest
13081
- app
13082
- admin
13083
- owner
13084
- isAssignable
13085
- isMentionable
13086
- isMe
13087
- supportsAgentSessions
13088
- canAccessAnyPublicTeam
13089
- calendarHash
13090
- inviteHash
13091
- }
13092
- fragment IssueImport on IssueImport {
13093
- __typename
13094
- progress
13095
- errorMetadata
13096
- csvFileUrl
13097
- serviceMetadata
13098
- teamName
13099
- mapping
13100
- displayName
13101
- creatorId
13102
- updatedAt
13103
- service
13104
- status
13105
- archivedAt
13106
- createdAt
13107
- id
13108
- error
13109
- }
13110
- fragment IssueRelationHistoryPayload on IssueRelationHistoryPayload {
13111
- __typename
13112
- identifier
13113
- type
13114
- }
13115
- fragment IssueLabel on IssueLabel {
13116
- __typename
13117
- lastAppliedAt
13118
- color
13119
- description
13120
- name
13121
- updatedAt
13122
- inheritedFrom {
13123
- id
13124
- }
13125
- parent {
13126
- id
13127
- }
13128
- team {
13129
- id
13130
- }
13131
- archivedAt
13132
- createdAt
13133
- id
13134
- creator {
13135
- id
13136
- }
13137
- retiredBy {
13138
- id
13139
- }
13140
- isGroup
13141
- }`, { fragmentName: "IssueHistory" });
13142
- const IssueHistoryConnectionFragmentDoc = new TypedDocumentString(`
13143
- fragment IssueHistoryConnection on IssueHistoryConnection {
13144
- __typename
13145
- nodes {
13146
- ...IssueHistory
13147
- }
13148
- pageInfo {
13149
- ...PageInfo
13150
- }
13151
- }
13152
- fragment ActorBot on ActorBot {
13153
- __typename
13154
- avatarUrl
13155
- name
13156
- userDisplayName
13157
- subType
13158
- type
13159
- id
13160
- }
13161
- fragment IssueHistory on IssueHistory {
13447
+ fragment ActorBot on ActorBot {
13448
+ __typename
13449
+ avatarUrl
13450
+ name
13451
+ userDisplayName
13452
+ subType
13453
+ type
13454
+ id
13455
+ }
13456
+ fragment IssueHistory on IssueHistory {
13162
13457
  __typename
13163
13458
  triageResponsibilityAutoAssigned
13164
13459
  relationChanges {
@@ -17784,6 +18079,14 @@ const WebhookPayloadFragmentDoc = new TypedDocumentString(`
17784
18079
  success
17785
18080
  }
17786
18081
  `, { fragmentName: "WebhookPayload" });
18082
+ const WebhookRotateSecretPayloadFragmentDoc = new TypedDocumentString(`
18083
+ fragment WebhookRotateSecretPayload on WebhookRotateSecretPayload {
18084
+ __typename
18085
+ lastSyncId
18086
+ secret
18087
+ success
18088
+ }
18089
+ `, { fragmentName: "WebhookRotateSecretPayload" });
17787
18090
  const WorkflowStateFragmentDoc = new TypedDocumentString(`
17788
18091
  fragment WorkflowState on WorkflowState {
17789
18092
  __typename
@@ -18384,6 +18687,75 @@ const ApplicationInfoDocument = new TypedDocumentString(`
18384
18687
  clientId
18385
18688
  developerUrl
18386
18689
  }`);
18690
+ const AsksWebSettingDocument = new TypedDocumentString(`
18691
+ query asksWebSetting($id: String!) {
18692
+ asksWebSetting(id: $id) {
18693
+ ...AsksWebSettings
18694
+ }
18695
+ }
18696
+ fragment IdentityProvider on IdentityProvider {
18697
+ __typename
18698
+ ssoBinding
18699
+ ssoEndpoint
18700
+ priority
18701
+ ssoSignAlgo
18702
+ issuerEntityId
18703
+ updatedAt
18704
+ spEntityId
18705
+ archivedAt
18706
+ createdAt
18707
+ type
18708
+ id
18709
+ samlEnabled
18710
+ scimEnabled
18711
+ defaultMigrated
18712
+ allowNameChange
18713
+ ssoSigningCert
18714
+ }
18715
+ fragment AsksWebSettings on AsksWebSettings {
18716
+ __typename
18717
+ domain
18718
+ emailIntakeAddress {
18719
+ id
18720
+ }
18721
+ identityProvider {
18722
+ ...IdentityProvider
18723
+ }
18724
+ updatedAt
18725
+ archivedAt
18726
+ createdAt
18727
+ id
18728
+ creator {
18729
+ id
18730
+ }
18731
+ }`);
18732
+ const AsksWebSetting_IdentityProviderDocument = new TypedDocumentString(`
18733
+ query asksWebSetting_identityProvider($id: String!) {
18734
+ asksWebSetting(id: $id) {
18735
+ identityProvider {
18736
+ ...IdentityProvider
18737
+ }
18738
+ }
18739
+ }
18740
+ fragment IdentityProvider on IdentityProvider {
18741
+ __typename
18742
+ ssoBinding
18743
+ ssoEndpoint
18744
+ priority
18745
+ ssoSignAlgo
18746
+ issuerEntityId
18747
+ updatedAt
18748
+ spEntityId
18749
+ archivedAt
18750
+ createdAt
18751
+ type
18752
+ id
18753
+ samlEnabled
18754
+ scimEnabled
18755
+ defaultMigrated
18756
+ allowNameChange
18757
+ ssoSigningCert
18758
+ }`);
18387
18759
  const AttachmentDocument = new TypedDocumentString(`
18388
18760
  query attachment($id: String!) {
18389
18761
  attachment(id: $id) {
@@ -20075,6 +20447,7 @@ fragment AuthOrganization on AuthOrganization {
20075
20447
  samlEnabled
20076
20448
  scimEnabled
20077
20449
  enabled
20450
+ hideNonPrimaryOrganizations
20078
20451
  userCount
20079
20452
  }
20080
20453
  fragment AuthResolverResponse on AuthResolverResponse {
@@ -26990,6 +27363,28 @@ fragment PageInfo on PageInfo {
26990
27363
  hasPreviousPage
26991
27364
  hasNextPage
26992
27365
  }`);
27366
+ const IssueRepositorySuggestionsDocument = new TypedDocumentString(`
27367
+ query issueRepositorySuggestions($agentSessionId: String, $candidateRepositories: [CandidateRepository!]!, $issueId: String!) {
27368
+ issueRepositorySuggestions(
27369
+ agentSessionId: $agentSessionId
27370
+ candidateRepositories: $candidateRepositories
27371
+ issueId: $issueId
27372
+ ) {
27373
+ ...RepositorySuggestionsPayload
27374
+ }
27375
+ }
27376
+ fragment RepositorySuggestion on RepositorySuggestion {
27377
+ __typename
27378
+ confidence
27379
+ hostname
27380
+ repositoryFullName
27381
+ }
27382
+ fragment RepositorySuggestionsPayload on RepositorySuggestionsPayload {
27383
+ __typename
27384
+ suggestions {
27385
+ ...RepositorySuggestion
27386
+ }
27387
+ }`);
26993
27388
  const IssueSearchDocument = new TypedDocumentString(`
26994
27389
  query issueSearch($after: String, $before: String, $filter: IssueFilter, $first: Int, $includeArchived: Boolean, $last: Int, $orderBy: PaginationOrderBy, $query: String) {
26995
27390
  issueSearch(
@@ -29898,6 +30293,7 @@ fragment Organization on Organization {
29898
30293
  feedEnabled
29899
30294
  customersEnabled
29900
30295
  roadmapEnabled
30296
+ hideNonPrimaryOrganizations
29901
30297
  projectUpdatesReminderFrequency
29902
30298
  allowMembersToInvite
29903
30299
  restrictTeamCreationToAdmins
@@ -36491,6 +36887,34 @@ fragment TeamConnection on TeamConnection {
36491
36887
  ...PageInfo
36492
36888
  }
36493
36889
  }`);
36890
+ const UserSessionsDocument = new TypedDocumentString(`
36891
+ query userSessions($id: String!) {
36892
+ userSessions(id: $id) {
36893
+ ...AuthenticationSessionResponse
36894
+ }
36895
+ }
36896
+ fragment AuthenticationSessionResponse on AuthenticationSessionResponse {
36897
+ __typename
36898
+ client
36899
+ countryCodes
36900
+ updatedAt
36901
+ location
36902
+ ip
36903
+ isCurrentSession
36904
+ locationCity
36905
+ locationCountryCode
36906
+ locationCountry
36907
+ locationRegionCode
36908
+ name
36909
+ operatingSystem
36910
+ service
36911
+ userAgent
36912
+ createdAt
36913
+ type
36914
+ browserType
36915
+ lastActiveAt
36916
+ id
36917
+ }`);
36494
36918
  const UserSettingsDocument = new TypedDocumentString(`
36495
36919
  query userSettings {
36496
36920
  userSettings {
@@ -38737,17 +39161,6 @@ const AirbyteIntegrationConnectDocument = new TypedDocumentString(`
38737
39161
  }
38738
39162
  success
38739
39163
  }`);
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
39164
  const CreateAttachmentDocument = new TypedDocumentString(`
38752
39165
  mutation createAttachment($input: AttachmentCreateInput!) {
38753
39166
  attachmentCreate(input: $input) {
@@ -39178,6 +39591,7 @@ fragment AuthOrganization on AuthOrganization {
39178
39591
  samlEnabled
39179
39592
  scimEnabled
39180
39593
  enabled
39594
+ hideNonPrimaryOrganizations
39181
39595
  userCount
39182
39596
  }
39183
39597
  fragment CreateOrJoinOrganizationResponse on CreateOrJoinOrganizationResponse {
@@ -39757,6 +40171,7 @@ fragment AuthOrganization on AuthOrganization {
39757
40171
  samlEnabled
39758
40172
  scimEnabled
39759
40173
  enabled
40174
+ hideNonPrimaryOrganizations
39760
40175
  userCount
39761
40176
  }
39762
40177
  fragment AuthResolverResponse on AuthResolverResponse {
@@ -40144,6 +40559,7 @@ fragment AuthOrganization on AuthOrganization {
40144
40559
  samlEnabled
40145
40560
  scimEnabled
40146
40561
  enabled
40562
+ hideNonPrimaryOrganizations
40147
40563
  userCount
40148
40564
  }
40149
40565
  fragment AuthResolverResponse on AuthResolverResponse {
@@ -40651,6 +41067,23 @@ const IntegrationGitlabConnectDocument = new TypedDocumentString(`
40651
41067
  webhookSecret
40652
41068
  success
40653
41069
  }`);
41070
+ const IntegrationGitlabTestConnectionDocument = new TypedDocumentString(`
41071
+ mutation integrationGitlabTestConnection($integrationId: String!) {
41072
+ integrationGitlabTestConnection(integrationId: $integrationId) {
41073
+ ...GitLabTestConnectionPayload
41074
+ }
41075
+ }
41076
+ fragment GitLabTestConnectionPayload on GitLabTestConnectionPayload {
41077
+ __typename
41078
+ error
41079
+ errorResponseBody
41080
+ errorResponseHeaders
41081
+ lastSyncId
41082
+ integration {
41083
+ id
41084
+ }
41085
+ success
41086
+ }`);
40654
41087
  const IntegrationGongDocument = new TypedDocumentString(`
40655
41088
  mutation integrationGong($code: String!, $redirectUri: String!) {
40656
41089
  integrationGong(code: $code, redirectUri: $redirectUri) {
@@ -42010,6 +42443,7 @@ fragment AuthOrganization on AuthOrganization {
42010
42443
  samlEnabled
42011
42444
  scimEnabled
42012
42445
  enabled
42446
+ hideNonPrimaryOrganizations
42013
42447
  userCount
42014
42448
  }
42015
42449
  fragment CreateOrJoinOrganizationResponse on CreateOrJoinOrganizationResponse {
@@ -42058,6 +42492,7 @@ fragment AuthOrganization on AuthOrganization {
42058
42492
  samlEnabled
42059
42493
  scimEnabled
42060
42494
  enabled
42495
+ hideNonPrimaryOrganizations
42061
42496
  userCount
42062
42497
  }
42063
42498
  fragment CreateOrJoinOrganizationResponse on CreateOrJoinOrganizationResponse {
@@ -46532,6 +46967,7 @@ fragment AuthOrganization on AuthOrganization {
46532
46967
  samlEnabled
46533
46968
  scimEnabled
46534
46969
  enabled
46970
+ hideNonPrimaryOrganizations
46535
46971
  userCount
46536
46972
  }
46537
46973
  fragment AuthResolverResponse on AuthResolverResponse {
@@ -46913,6 +47349,26 @@ const UserPromoteMemberDocument = new TypedDocumentString(`
46913
47349
  __typename
46914
47350
  success
46915
47351
  }`);
47352
+ const UserRevokeAllSessionsDocument = new TypedDocumentString(`
47353
+ mutation userRevokeAllSessions($id: String!) {
47354
+ userRevokeAllSessions(id: $id) {
47355
+ ...UserAdminPayload
47356
+ }
47357
+ }
47358
+ fragment UserAdminPayload on UserAdminPayload {
47359
+ __typename
47360
+ success
47361
+ }`);
47362
+ const UserRevokeSessionDocument = new TypedDocumentString(`
47363
+ mutation userRevokeSession($id: String!, $sessionId: String!) {
47364
+ userRevokeSession(id: $id, sessionId: $sessionId) {
47365
+ ...UserAdminPayload
47366
+ }
47367
+ }
47368
+ fragment UserAdminPayload on UserAdminPayload {
47369
+ __typename
47370
+ success
47371
+ }`);
46916
47372
  const UserSettingsFlagsResetDocument = new TypedDocumentString(`
46917
47373
  mutation userSettingsFlagsReset($flags: [UserFlagType!]) {
46918
47374
  userSettingsFlagsReset(flags: $flags) {
@@ -47083,6 +47539,18 @@ const DeleteWebhookDocument = new TypedDocumentString(`
47083
47539
  lastSyncId
47084
47540
  success
47085
47541
  }`);
47542
+ const RotateSecretWebhookDocument = new TypedDocumentString(`
47543
+ mutation rotateSecretWebhook($id: String!) {
47544
+ webhookRotateSecret(id: $id) {
47545
+ ...WebhookRotateSecretPayload
47546
+ }
47547
+ }
47548
+ fragment WebhookRotateSecretPayload on WebhookRotateSecretPayload {
47549
+ __typename
47550
+ lastSyncId
47551
+ secret
47552
+ success
47553
+ }`);
47086
47554
  const UpdateWebhookDocument = new TypedDocumentString(`
47087
47555
  mutation updateWebhook($id: String!, $input: WebhookUpdateInput!) {
47088
47556
  webhookUpdate(id: $id, input: $input) {
@@ -47549,6 +48017,7 @@ var AgentActivityWebhookPayload = class {
47549
48017
  this.sourceCommentId = data.sourceCommentId ?? void 0;
47550
48018
  this.updatedAt = data.updatedAt;
47551
48019
  this.userId = data.userId;
48020
+ this.user = new UserChildWebhookPayload(data.user);
47552
48021
  }
47553
48022
  /** The ID of the agent session that this activity belongs to. */
47554
48023
  agentSessionId;
@@ -47570,6 +48039,8 @@ var AgentActivityWebhookPayload = class {
47570
48039
  updatedAt;
47571
48040
  /** The ID of the user who created this agent activity. */
47572
48041
  userId;
48042
+ /** The user who created this agent activity. */
48043
+ user;
47573
48044
  };
47574
48045
  /**
47575
48046
  * A session for agent activities and state management.
@@ -48122,21 +48593,60 @@ var AsksChannelConnectPayload = class extends Request {
48122
48593
  }
48123
48594
  };
48124
48595
  /**
48125
- * AsksWebFormsAuthResponse model
48596
+ * Settings for an Asks web form.
48126
48597
  *
48127
48598
  * @param request - function to call the graphql client
48128
- * @param data - L.AsksWebFormsAuthResponseFragment response data
48599
+ * @param data - L.AsksWebSettingsFragment response data
48129
48600
  */
48130
- var AsksWebFormsAuthResponse = class extends Request {
48601
+ var AsksWebSettings = class extends Request {
48602
+ _creator;
48603
+ _emailIntakeAddress;
48131
48604
  constructor(request, data) {
48132
48605
  super(request);
48133
- this.email = data.email;
48134
- this.name = data.name;
48606
+ this.archivedAt = parseDate(data.archivedAt) ?? void 0;
48607
+ this.createdAt = parseDate(data.createdAt) ?? /* @__PURE__ */ new Date();
48608
+ this.domain = data.domain ?? void 0;
48609
+ this.id = data.id;
48610
+ this.updatedAt = parseDate(data.updatedAt) ?? /* @__PURE__ */ new Date();
48611
+ this.identityProvider = data.identityProvider ? new IdentityProvider(request, data.identityProvider) : void 0;
48612
+ this._creator = data.creator ?? void 0;
48613
+ this._emailIntakeAddress = data.emailIntakeAddress ?? void 0;
48614
+ }
48615
+ /** The time at which the entity was archived. Null if the entity has not been archived. */
48616
+ archivedAt;
48617
+ /** The time at which the entity was created. */
48618
+ createdAt;
48619
+ /** The custom domain for the Asks web form. If null, the default Linear-hosted domain will be used. */
48620
+ domain;
48621
+ /** The unique identifier of the entity. */
48622
+ id;
48623
+ /**
48624
+ * The last time at which the entity was meaningfully updated. This is the same as the creation time if the entity hasn't
48625
+ * been updated after creation.
48626
+ */
48627
+ updatedAt;
48628
+ /** The identity provider for SAML authentication on this Asks web form. */
48629
+ identityProvider;
48630
+ /** The user who created the Asks web settings. */
48631
+ get creator() {
48632
+ return this._creator?.id ? new UserQuery(this._request).fetch(this._creator?.id) : void 0;
48633
+ }
48634
+ /** The ID of user who created the asks web settings. */
48635
+ get creatorId() {
48636
+ return this._creator?.id;
48637
+ }
48638
+ /** The email intake address associated with these Asks web settings. */
48639
+ get emailIntakeAddress() {
48640
+ return this._emailIntakeAddress?.id ? new EmailIntakeAddressQuery(this._request).fetch(this._emailIntakeAddress?.id) : void 0;
48641
+ }
48642
+ /** The ID of email intake address associated with these asks web settings. */
48643
+ get emailIntakeAddressId() {
48644
+ return this._emailIntakeAddress?.id;
48645
+ }
48646
+ /** The organization that the Asks web settings are associated with. */
48647
+ get organization() {
48648
+ return new OrganizationQuery(this._request).fetch();
48135
48649
  }
48136
- /** User email. */
48137
- email;
48138
- /** User display name. */
48139
- name;
48140
48650
  };
48141
48651
  /**
48142
48652
  * Issue attachment (e.g. support ticket, pull request).
@@ -48534,6 +49044,7 @@ var AuthOrganization = class extends Request {
48534
49044
  this.createdAt = parseDate(data.createdAt) ?? /* @__PURE__ */ new Date();
48535
49045
  this.deletionRequestedAt = parseDate(data.deletionRequestedAt) ?? void 0;
48536
49046
  this.enabled = data.enabled;
49047
+ this.hideNonPrimaryOrganizations = data.hideNonPrimaryOrganizations;
48537
49048
  this.id = data.id;
48538
49049
  this.logoUrl = data.logoUrl ?? void 0;
48539
49050
  this.name = data.name;
@@ -48554,6 +49065,8 @@ var AuthOrganization = class extends Request {
48554
49065
  deletionRequestedAt;
48555
49066
  /** Whether the organization is enabled. Used as a superuser tool to lock down the org. */
48556
49067
  enabled;
49068
+ /** Whether to hide other organizations for new users signing up with email domains claimed by this organization. */
49069
+ hideNonPrimaryOrganizations;
48557
49070
  /** The unique identifier of the entity. */
48558
49071
  id;
48559
49072
  /** The organization's logo URL. */
@@ -53112,6 +53625,42 @@ var GitLabIntegrationCreatePayload = class extends Request {
53112
53625
  }
53113
53626
  };
53114
53627
  /**
53628
+ * GitLabTestConnectionPayload model
53629
+ *
53630
+ * @param request - function to call the graphql client
53631
+ * @param data - L.GitLabTestConnectionPayloadFragment response data
53632
+ */
53633
+ var GitLabTestConnectionPayload = class extends Request {
53634
+ _integration;
53635
+ constructor(request, data) {
53636
+ super(request);
53637
+ this.error = data.error ?? void 0;
53638
+ this.errorResponseBody = data.errorResponseBody ?? void 0;
53639
+ this.errorResponseHeaders = data.errorResponseHeaders ?? void 0;
53640
+ this.lastSyncId = data.lastSyncId;
53641
+ this.success = data.success;
53642
+ this._integration = data.integration ?? void 0;
53643
+ }
53644
+ /** Error message if the connection test failed. */
53645
+ error;
53646
+ /** Response body from GitLab for debugging. */
53647
+ errorResponseBody;
53648
+ /** Response headers from GitLab for debugging (JSON stringified). */
53649
+ errorResponseHeaders;
53650
+ /** The identifier of the last sync operation. */
53651
+ lastSyncId;
53652
+ /** Whether the operation was successful. */
53653
+ success;
53654
+ /** The integration that was created or updated. */
53655
+ get integration() {
53656
+ return this._integration?.id ? new IntegrationQuery(this._request).fetch(this._integration?.id) : void 0;
53657
+ }
53658
+ /** The ID of integration that was created or updated. */
53659
+ get integrationId() {
53660
+ return this._integration?.id;
53661
+ }
53662
+ };
53663
+ /**
53115
53664
  * Metadata for guidance that should be provided to an AI agent.
53116
53665
  *
53117
53666
  * @param data - L.GuidanceRuleWebhookPayloadFragment response data
@@ -55729,6 +56278,66 @@ var IssueHistoryConnection = class extends Connection {
55729
56278
  }
55730
56279
  };
55731
56280
  /**
56281
+ * An error that occurred during triage rule execution.
56282
+ *
56283
+ * @param request - function to call the graphql client
56284
+ * @param data - L.IssueHistoryTriageRuleErrorFragment response data
56285
+ */
56286
+ var IssueHistoryTriageRuleError = class extends Request {
56287
+ _fromTeam;
56288
+ _toTeam;
56289
+ constructor(request, data) {
56290
+ super(request);
56291
+ this.conflictForSameChildLabel = data.conflictForSameChildLabel ?? void 0;
56292
+ this.property = data.property ?? void 0;
56293
+ this.conflictingLabels = data.conflictingLabels ? data.conflictingLabels.map((node) => new IssueLabel(request, node)) : void 0;
56294
+ this.type = data.type;
56295
+ this._fromTeam = data.fromTeam ?? void 0;
56296
+ this._toTeam = data.toTeam ?? void 0;
56297
+ }
56298
+ /** Whether the conflict was for the same child label. */
56299
+ conflictForSameChildLabel;
56300
+ /** The property that caused the error. */
56301
+ property;
56302
+ /** The conflicting labels. */
56303
+ conflictingLabels;
56304
+ /** The type of error that occurred. */
56305
+ type;
56306
+ /** The team the issue was being moved from. */
56307
+ get fromTeam() {
56308
+ return this._fromTeam?.id ? new TeamQuery(this._request).fetch(this._fromTeam?.id) : void 0;
56309
+ }
56310
+ /** The ID of team the issue was being moved from. */
56311
+ get fromTeamId() {
56312
+ return this._fromTeam?.id;
56313
+ }
56314
+ /** The team the issue was being moved to. */
56315
+ get toTeam() {
56316
+ return this._toTeam?.id ? new TeamQuery(this._request).fetch(this._toTeam?.id) : void 0;
56317
+ }
56318
+ /** The ID of team the issue was being moved to. */
56319
+ get toTeamId() {
56320
+ return this._toTeam?.id;
56321
+ }
56322
+ };
56323
+ /**
56324
+ * Metadata about a triage rule that made changes to an issue.
56325
+ *
56326
+ * @param request - function to call the graphql client
56327
+ * @param data - L.IssueHistoryTriageRuleMetadataFragment response data
56328
+ */
56329
+ var IssueHistoryTriageRuleMetadata = class extends Request {
56330
+ constructor(request, data) {
56331
+ super(request);
56332
+ this.triageRuleError = data.triageRuleError ? new IssueHistoryTriageRuleError(request, data.triageRuleError) : void 0;
56333
+ this.updatedByTriageRule = data.updatedByTriageRule ? new WorkflowDefinition(request, data.updatedByTriageRule) : void 0;
56334
+ }
56335
+ /** The error that occurred, if any. */
56336
+ triageRuleError;
56337
+ /** The triage rule that triggered the issue update. */
56338
+ updatedByTriageRule;
56339
+ };
56340
+ /**
55732
56341
  * An import job for data from an external service.
55733
56342
  *
55734
56343
  * @param request - function to call the graphql client
@@ -58282,6 +58891,7 @@ var Organization = class extends Request {
58282
58891
  this.gitLinkbackDescriptionsEnabled = data.gitLinkbackDescriptionsEnabled;
58283
58892
  this.gitLinkbackMessagesEnabled = data.gitLinkbackMessagesEnabled;
58284
58893
  this.gitPublicLinkbackMessagesEnabled = data.gitPublicLinkbackMessagesEnabled;
58894
+ this.hideNonPrimaryOrganizations = data.hideNonPrimaryOrganizations;
58285
58895
  this.hipaaComplianceEnabled = data.hipaaComplianceEnabled;
58286
58896
  this.id = data.id;
58287
58897
  this.initiativeUpdateReminderFrequencyInWeeks = data.initiativeUpdateReminderFrequencyInWeeks ?? void 0;
@@ -58349,6 +58959,8 @@ var Organization = class extends Request {
58349
58959
  gitLinkbackMessagesEnabled;
58350
58960
  /** Whether the Git integration linkback messages should be sent to public repositories. */
58351
58961
  gitPublicLinkbackMessagesEnabled;
58962
+ /** Whether to hide other organizations for new users signing up with email domains claimed by this organization. */
58963
+ hideNonPrimaryOrganizations;
58352
58964
  /** Whether HIPAA compliance is enabled for organization. */
58353
58965
  hipaaComplianceEnabled;
58354
58966
  /** The unique identifier of the entity. */
@@ -64286,6 +64898,10 @@ var Webhook = class extends Request {
64286
64898
  delete() {
64287
64899
  return new DeleteWebhookMutation(this._request).fetch(this.id);
64288
64900
  }
64901
+ /** Rotates the signing secret for a Webhook. */
64902
+ rotateSecret() {
64903
+ return new RotateSecretWebhookMutation(this._request).fetch(this.id);
64904
+ }
64289
64905
  /** Updates an existing Webhook. */
64290
64906
  update(input) {
64291
64907
  return new UpdateWebhookMutation(this._request).fetch(this.id, input);
@@ -64370,6 +64986,180 @@ var WebhookPayload = class extends Request {
64370
64986
  }
64371
64987
  };
64372
64988
  /**
64989
+ * WebhookRotateSecretPayload model
64990
+ *
64991
+ * @param request - function to call the graphql client
64992
+ * @param data - L.WebhookRotateSecretPayloadFragment response data
64993
+ */
64994
+ var WebhookRotateSecretPayload = class extends Request {
64995
+ constructor(request, data) {
64996
+ super(request);
64997
+ this.lastSyncId = data.lastSyncId;
64998
+ this.secret = data.secret;
64999
+ this.success = data.success;
65000
+ }
65001
+ /** The identifier of the last sync operation. */
65002
+ lastSyncId;
65003
+ /** The new webhook signing secret. */
65004
+ secret;
65005
+ /** Whether the operation was successful. */
65006
+ success;
65007
+ };
65008
+ /**
65009
+ * WorkflowDefinition model
65010
+ *
65011
+ * @param request - function to call the graphql client
65012
+ * @param data - L.WorkflowDefinitionFragment response data
65013
+ */
65014
+ var WorkflowDefinition = class extends Request {
65015
+ _creator;
65016
+ _customView;
65017
+ _cycle;
65018
+ _initiative;
65019
+ _label;
65020
+ _lastUpdatedBy;
65021
+ _project;
65022
+ _team;
65023
+ _user;
65024
+ constructor(request, data) {
65025
+ super(request);
65026
+ this.activities = data.activities;
65027
+ this.archivedAt = parseDate(data.archivedAt) ?? void 0;
65028
+ this.conditions = data.conditions ?? void 0;
65029
+ this.createdAt = parseDate(data.createdAt) ?? /* @__PURE__ */ new Date();
65030
+ this.description = data.description ?? void 0;
65031
+ this.enabled = data.enabled;
65032
+ this.groupName = data.groupName ?? void 0;
65033
+ this.id = data.id;
65034
+ this.lastExecutedAt = parseDate(data.lastExecutedAt) ?? void 0;
65035
+ this.name = data.name;
65036
+ this.sortOrder = data.sortOrder;
65037
+ this.updatedAt = parseDate(data.updatedAt) ?? /* @__PURE__ */ new Date();
65038
+ this.contextViewType = data.contextViewType ?? void 0;
65039
+ this.trigger = data.trigger;
65040
+ this.triggerType = data.triggerType;
65041
+ this.type = data.type;
65042
+ this.userContextViewType = data.userContextViewType ?? void 0;
65043
+ this._creator = data.creator;
65044
+ this._customView = data.customView ?? void 0;
65045
+ this._cycle = data.cycle ?? void 0;
65046
+ this._initiative = data.initiative ?? void 0;
65047
+ this._label = data.label ?? void 0;
65048
+ this._lastUpdatedBy = data.lastUpdatedBy ?? void 0;
65049
+ this._project = data.project ?? void 0;
65050
+ this._team = data.team ?? void 0;
65051
+ this._user = data.user ?? void 0;
65052
+ }
65053
+ /** An array of activities that will be executed as part of the workflow. */
65054
+ activities;
65055
+ /** The time at which the entity was archived. Null if the entity has not been archived. */
65056
+ archivedAt;
65057
+ /** The conditions that need to be match for the workflow to be triggered. */
65058
+ conditions;
65059
+ /** The time at which the entity was created. */
65060
+ createdAt;
65061
+ /** The description of the workflow. */
65062
+ description;
65063
+ enabled;
65064
+ /** The name of the group that the workflow belongs to. */
65065
+ groupName;
65066
+ /** The unique identifier of the entity. */
65067
+ id;
65068
+ /** The date when the workflow was last executed. */
65069
+ lastExecutedAt;
65070
+ /** The name of the workflow. */
65071
+ name;
65072
+ /** The sort order of the workflow definition within its siblings. */
65073
+ sortOrder;
65074
+ /**
65075
+ * The last time at which the entity was meaningfully updated. This is the same as the creation time if the entity hasn't
65076
+ * been updated after creation.
65077
+ */
65078
+ updatedAt;
65079
+ /** The type of view to which this workflow's context is associated with. */
65080
+ contextViewType;
65081
+ /** The type of the event that triggers off the workflow. */
65082
+ trigger;
65083
+ /** The object type (e.g. Issue) that triggers this workflow. */
65084
+ triggerType;
65085
+ /** The type of the workflow. */
65086
+ type;
65087
+ /** The type of user view to which this workflow's context is associated with. */
65088
+ userContextViewType;
65089
+ /** The user who created the workflow. */
65090
+ get creator() {
65091
+ return new UserQuery(this._request).fetch(this._creator.id);
65092
+ }
65093
+ /** The ID of user who created the workflow. */
65094
+ get creatorId() {
65095
+ return this._creator?.id;
65096
+ }
65097
+ /** The context custom view associated with the workflow. */
65098
+ get customView() {
65099
+ return this._customView?.id ? new CustomViewQuery(this._request).fetch(this._customView?.id) : void 0;
65100
+ }
65101
+ /** The ID of context custom view associated with the workflow. */
65102
+ get customViewId() {
65103
+ return this._customView?.id;
65104
+ }
65105
+ /** The contextual cycle view associated with the workflow. */
65106
+ get cycle() {
65107
+ return this._cycle?.id ? new CycleQuery(this._request).fetch(this._cycle?.id) : void 0;
65108
+ }
65109
+ /** The ID of contextual cycle view associated with the workflow. */
65110
+ get cycleId() {
65111
+ return this._cycle?.id;
65112
+ }
65113
+ /** The contextual initiative view associated with the workflow. */
65114
+ get initiative() {
65115
+ return this._initiative?.id ? new InitiativeQuery(this._request).fetch(this._initiative?.id) : void 0;
65116
+ }
65117
+ /** The ID of contextual initiative view associated with the workflow. */
65118
+ get initiativeId() {
65119
+ return this._initiative?.id;
65120
+ }
65121
+ /** The contextual label view associated with the workflow. */
65122
+ get label() {
65123
+ return this._label?.id ? new IssueLabelQuery(this._request).fetch(this._label?.id) : void 0;
65124
+ }
65125
+ /** The ID of contextual label view associated with the workflow. */
65126
+ get labelId() {
65127
+ return this._label?.id;
65128
+ }
65129
+ /** The user who last updated the workflow. */
65130
+ get lastUpdatedBy() {
65131
+ return this._lastUpdatedBy?.id ? new UserQuery(this._request).fetch(this._lastUpdatedBy?.id) : void 0;
65132
+ }
65133
+ /** The ID of user who last updated the workflow. */
65134
+ get lastUpdatedById() {
65135
+ return this._lastUpdatedBy?.id;
65136
+ }
65137
+ /** The contextual project view associated with the workflow. */
65138
+ get project() {
65139
+ return this._project?.id ? new ProjectQuery(this._request).fetch(this._project?.id) : void 0;
65140
+ }
65141
+ /** The ID of contextual project view associated with the workflow. */
65142
+ get projectId() {
65143
+ return this._project?.id;
65144
+ }
65145
+ /** The team associated with the workflow. If not set, the workflow is associated with the entire organization. */
65146
+ get team() {
65147
+ return this._team?.id ? new TeamQuery(this._request).fetch(this._team?.id) : void 0;
65148
+ }
65149
+ /** The ID of team associated with the workflow. if not set, the workflow is associated with the entire organization. */
65150
+ get teamId() {
65151
+ return this._team?.id;
65152
+ }
65153
+ /** The contextual user view associated with the workflow. */
65154
+ get user() {
65155
+ return this._user?.id ? new UserQuery(this._request).fetch(this._user?.id) : void 0;
65156
+ }
65157
+ /** The ID of contextual user view associated with the workflow. */
65158
+ get userId() {
65159
+ return this._user?.id;
65160
+ }
65161
+ };
65162
+ /**
64373
65163
  * A state in a team workflow.
64374
65164
  *
64375
65165
  * @param request - function to call the graphql client
@@ -64663,6 +65453,26 @@ var ApplicationInfoQuery = class extends Request {
64663
65453
  }
64664
65454
  };
64665
65455
  /**
65456
+ * A fetchable AsksWebSetting Query
65457
+ *
65458
+ * @param request - function to call the graphql client
65459
+ */
65460
+ var AsksWebSettingQuery = class extends Request {
65461
+ constructor(request) {
65462
+ super(request);
65463
+ }
65464
+ /**
65465
+ * Call the AsksWebSetting query and return a AsksWebSettings
65466
+ *
65467
+ * @param id - required id to pass to asksWebSetting
65468
+ * @returns parsed response from AsksWebSettingQuery
65469
+ */
65470
+ async fetch(id) {
65471
+ const data = (await this._request(AsksWebSettingDocument.toString(), { id })).asksWebSetting;
65472
+ return new AsksWebSettings(this._request, data);
65473
+ }
65474
+ };
65475
+ /**
64666
65476
  * A fetchable Attachment Query
64667
65477
  *
64668
65478
  * @param request - function to call the graphql client
@@ -65941,6 +66751,32 @@ var IssueRelationsQuery = class extends Request {
65941
66751
  }
65942
66752
  };
65943
66753
  /**
66754
+ * A fetchable IssueRepositorySuggestions Query
66755
+ *
66756
+ * @param request - function to call the graphql client
66757
+ */
66758
+ var IssueRepositorySuggestionsQuery = class extends Request {
66759
+ constructor(request) {
66760
+ super(request);
66761
+ }
66762
+ /**
66763
+ * Call the IssueRepositorySuggestions query and return a RepositorySuggestionsPayload
66764
+ *
66765
+ * @param candidateRepositories - required candidateRepositories to pass to issueRepositorySuggestions
66766
+ * @param issueId - required issueId to pass to issueRepositorySuggestions
66767
+ * @param variables - variables without 'candidateRepositories', 'issueId' to pass into the IssueRepositorySuggestionsQuery
66768
+ * @returns parsed response from IssueRepositorySuggestionsQuery
66769
+ */
66770
+ async fetch(candidateRepositories, issueId, variables) {
66771
+ const data = (await this._request(IssueRepositorySuggestionsDocument.toString(), {
66772
+ candidateRepositories,
66773
+ issueId,
66774
+ ...variables
66775
+ })).issueRepositorySuggestions;
66776
+ return new RepositorySuggestionsPayload(this._request, data);
66777
+ }
66778
+ };
66779
+ /**
65944
66780
  * A fetchable IssueSearch Query
65945
66781
  *
65946
66782
  * @param request - function to call the graphql client
@@ -66994,6 +67830,27 @@ var UserQuery = class extends Request {
66994
67830
  }
66995
67831
  };
66996
67832
  /**
67833
+ * A fetchable UserSessions Query
67834
+ *
67835
+ * @param request - function to call the graphql client
67836
+ */
67837
+ var UserSessionsQuery = class extends Request {
67838
+ constructor(request) {
67839
+ super(request);
67840
+ }
67841
+ /**
67842
+ * Call the UserSessions query and return a AuthenticationSessionResponse list
67843
+ *
67844
+ * @param id - required id to pass to userSessions
67845
+ * @returns parsed response from UserSessionsQuery
67846
+ */
67847
+ async fetch(id) {
67848
+ return (await this._request(UserSessionsDocument.toString(), { id })).userSessions.map((node) => {
67849
+ return new AuthenticationSessionResponse(this._request, node);
67850
+ });
67851
+ }
67852
+ };
67853
+ /**
66997
67854
  * A fetchable UserSettings Query
66998
67855
  *
66999
67856
  * @param request - function to call the graphql client
@@ -67289,26 +68146,6 @@ var AirbyteIntegrationConnectMutation = class extends Request {
67289
68146
  }
67290
68147
  };
67291
68148
  /**
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
68149
  * A fetchable CreateAttachment Mutation
67313
68150
  *
67314
68151
  * @param request - function to call the graphql client
@@ -69698,6 +70535,26 @@ var IntegrationGitlabConnectMutation = class extends Request {
69698
70535
  }
69699
70536
  };
69700
70537
  /**
70538
+ * A fetchable IntegrationGitlabTestConnection Mutation
70539
+ *
70540
+ * @param request - function to call the graphql client
70541
+ */
70542
+ var IntegrationGitlabTestConnectionMutation = class extends Request {
70543
+ constructor(request) {
70544
+ super(request);
70545
+ }
70546
+ /**
70547
+ * Call the IntegrationGitlabTestConnection mutation and return a GitLabTestConnectionPayload
70548
+ *
70549
+ * @param integrationId - required integrationId to pass to integrationGitlabTestConnection
70550
+ * @returns parsed response from IntegrationGitlabTestConnectionMutation
70551
+ */
70552
+ async fetch(integrationId) {
70553
+ const data = (await this._request(IntegrationGitlabTestConnectionDocument.toString(), { integrationId })).integrationGitlabTestConnection;
70554
+ return new GitLabTestConnectionPayload(this._request, data);
70555
+ }
70556
+ };
70557
+ /**
69701
70558
  * A fetchable IntegrationGong Mutation
69702
70559
  *
69703
70560
  * @param request - function to call the graphql client
@@ -73077,6 +73934,50 @@ var UserPromoteMemberMutation = class extends Request {
73077
73934
  }
73078
73935
  };
73079
73936
  /**
73937
+ * A fetchable UserRevokeAllSessions Mutation
73938
+ *
73939
+ * @param request - function to call the graphql client
73940
+ */
73941
+ var UserRevokeAllSessionsMutation = class extends Request {
73942
+ constructor(request) {
73943
+ super(request);
73944
+ }
73945
+ /**
73946
+ * Call the UserRevokeAllSessions mutation and return a UserAdminPayload
73947
+ *
73948
+ * @param id - required id to pass to userRevokeAllSessions
73949
+ * @returns parsed response from UserRevokeAllSessionsMutation
73950
+ */
73951
+ async fetch(id) {
73952
+ const data = (await this._request(UserRevokeAllSessionsDocument.toString(), { id })).userRevokeAllSessions;
73953
+ return new UserAdminPayload(this._request, data);
73954
+ }
73955
+ };
73956
+ /**
73957
+ * A fetchable UserRevokeSession Mutation
73958
+ *
73959
+ * @param request - function to call the graphql client
73960
+ */
73961
+ var UserRevokeSessionMutation = class extends Request {
73962
+ constructor(request) {
73963
+ super(request);
73964
+ }
73965
+ /**
73966
+ * Call the UserRevokeSession mutation and return a UserAdminPayload
73967
+ *
73968
+ * @param id - required id to pass to userRevokeSession
73969
+ * @param sessionId - required sessionId to pass to userRevokeSession
73970
+ * @returns parsed response from UserRevokeSessionMutation
73971
+ */
73972
+ async fetch(id, sessionId) {
73973
+ const data = (await this._request(UserRevokeSessionDocument.toString(), {
73974
+ id,
73975
+ sessionId
73976
+ })).userRevokeSession;
73977
+ return new UserAdminPayload(this._request, data);
73978
+ }
73979
+ };
73980
+ /**
73080
73981
  * A fetchable UserSettingsFlagsReset Mutation
73081
73982
  *
73082
73983
  * @param request - function to call the graphql client
@@ -73309,6 +74210,26 @@ var DeleteWebhookMutation = class extends Request {
73309
74210
  }
73310
74211
  };
73311
74212
  /**
74213
+ * A fetchable RotateSecretWebhook Mutation
74214
+ *
74215
+ * @param request - function to call the graphql client
74216
+ */
74217
+ var RotateSecretWebhookMutation = class extends Request {
74218
+ constructor(request) {
74219
+ super(request);
74220
+ }
74221
+ /**
74222
+ * Call the RotateSecretWebhook mutation and return a WebhookRotateSecretPayload
74223
+ *
74224
+ * @param id - required id to pass to rotateSecretWebhook
74225
+ * @returns parsed response from RotateSecretWebhookMutation
74226
+ */
74227
+ async fetch(id) {
74228
+ const data = (await this._request(RotateSecretWebhookDocument.toString(), { id })).webhookRotateSecret;
74229
+ return new WebhookRotateSecretPayload(this._request, data);
74230
+ }
74231
+ };
74232
+ /**
73312
74233
  * A fetchable UpdateWebhook Mutation
73313
74234
  *
73314
74235
  * @param request - function to call the graphql client
@@ -73431,6 +74352,28 @@ var AgentSession_ActivitiesQuery = class extends Request {
73431
74352
  }
73432
74353
  };
73433
74354
  /**
74355
+ * A fetchable AsksWebSetting_IdentityProvider Query
74356
+ *
74357
+ * @param request - function to call the graphql client
74358
+ * @param id - required id to pass to asksWebSetting
74359
+ */
74360
+ var AsksWebSetting_IdentityProviderQuery = class extends Request {
74361
+ _id;
74362
+ constructor(request, id) {
74363
+ super(request);
74364
+ this._id = id;
74365
+ }
74366
+ /**
74367
+ * Call the AsksWebSetting_IdentityProvider query and return a IdentityProvider
74368
+ *
74369
+ * @returns parsed response from AsksWebSetting_IdentityProviderQuery
74370
+ */
74371
+ async fetch() {
74372
+ const data = (await this._request(AsksWebSetting_IdentityProviderDocument.toString(), { id: this._id })).asksWebSetting.identityProvider;
74373
+ return data ? new IdentityProvider(this._request, data) : void 0;
74374
+ }
74375
+ };
74376
+ /**
73434
74377
  * A fetchable AttachmentIssue_Attachments Query
73435
74378
  *
73436
74379
  * @param request - function to call the graphql client
@@ -78068,6 +79011,15 @@ var LinearSdk = class extends Request {
78068
79011
  return new ApplicationInfoQuery(this._request).fetch(clientId);
78069
79012
  }
78070
79013
  /**
79014
+ * Asks web form settings by ID.
79015
+ *
79016
+ * @param id - required id to pass to asksWebSetting
79017
+ * @returns AsksWebSettings
79018
+ */
79019
+ asksWebSetting(id) {
79020
+ return new AsksWebSettingQuery(this._request).fetch(id);
79021
+ }
79022
+ /**
78071
79023
  * One specific issue attachment.
78072
79024
  * [Deprecated] 'url' can no longer be used as the 'id' parameter. Use 'attachmentsForUrl' instead
78073
79025
  *
@@ -78607,6 +79559,17 @@ var LinearSdk = class extends Request {
78607
79559
  return new IssueRelationsQuery(this._request).fetch(variables);
78608
79560
  }
78609
79561
  /**
79562
+ * Returns code repositories that are most likely to be relevant for implementing an issue.
79563
+ *
79564
+ * @param candidateRepositories - required candidateRepositories to pass to issueRepositorySuggestions
79565
+ * @param issueId - required issueId to pass to issueRepositorySuggestions
79566
+ * @param variables - variables without 'candidateRepositories', 'issueId' to pass into the IssueRepositorySuggestionsQuery
79567
+ * @returns RepositorySuggestionsPayload
79568
+ */
79569
+ issueRepositorySuggestions(candidateRepositories, issueId, variables) {
79570
+ return new IssueRepositorySuggestionsQuery(this._request).fetch(candidateRepositories, issueId, variables);
79571
+ }
79572
+ /**
78610
79573
  * [DEPRECATED] Search issues. This endpoint is deprecated and will be removed in the future – use `searchIssues` instead.
78611
79574
  *
78612
79575
  * @param variables - variables to pass into the IssueSearchQuery
@@ -79042,6 +80005,15 @@ var LinearSdk = class extends Request {
79042
80005
  return new UserQuery(this._request).fetch(id);
79043
80006
  }
79044
80007
  /**
80008
+ * Lists the sessions of a user. Can only be called by an admin or owner.
80009
+ *
80010
+ * @param id - required id to pass to userSessions
80011
+ * @returns AuthenticationSessionResponse[]
80012
+ */
80013
+ userSessions(id) {
80014
+ return new UserSessionsQuery(this._request).fetch(id);
80015
+ }
80016
+ /**
79045
80017
  * The user's settings.
79046
80018
  *
79047
80019
  * @returns UserSettings
@@ -79168,15 +80140,6 @@ var LinearSdk = class extends Request {
79168
80140
  return new AirbyteIntegrationConnectMutation(this._request).fetch(input);
79169
80141
  }
79170
80142
  /**
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
80143
  * Creates a new attachment, or updates existing if the same `url` and `issueId` is used.
79181
80144
  *
79182
80145
  * @param input - required input to pass to createAttachment
@@ -80216,6 +81179,15 @@ var LinearSdk = class extends Request {
80216
81179
  return new IntegrationGitlabConnectMutation(this._request).fetch(accessToken, gitlabUrl);
80217
81180
  }
80218
81181
  /**
81182
+ * Tests connectivity to a self-hosted GitLab instance and clears auth errors if successful.
81183
+ *
81184
+ * @param integrationId - required integrationId to pass to integrationGitlabTestConnection
81185
+ * @returns GitLabTestConnectionPayload
81186
+ */
81187
+ integrationGitlabTestConnection(integrationId) {
81188
+ return new IntegrationGitlabTestConnectionMutation(this._request).fetch(integrationId);
81189
+ }
81190
+ /**
80219
81191
  * Integrates the organization with Gong.
80220
81192
  *
80221
81193
  * @param code - required code to pass to integrationGong
@@ -81683,6 +82655,25 @@ var LinearSdk = class extends Request {
81683
82655
  return new UserPromoteMemberMutation(this._request).fetch(id);
81684
82656
  }
81685
82657
  /**
82658
+ * Revokes a user's sessions. Can only be called by an admin or owner.
82659
+ *
82660
+ * @param id - required id to pass to userRevokeAllSessions
82661
+ * @returns UserAdminPayload
82662
+ */
82663
+ userRevokeAllSessions(id) {
82664
+ return new UserRevokeAllSessionsMutation(this._request).fetch(id);
82665
+ }
82666
+ /**
82667
+ * Revokes a specific session for a user. Can only be called by an admin or owner.
82668
+ *
82669
+ * @param id - required id to pass to userRevokeSession
82670
+ * @param sessionId - required sessionId to pass to userRevokeSession
82671
+ * @returns UserAdminPayload
82672
+ */
82673
+ userRevokeSession(id, sessionId) {
82674
+ return new UserRevokeSessionMutation(this._request).fetch(id, sessionId);
82675
+ }
82676
+ /**
81686
82677
  * Resets user's setting flags.
81687
82678
  *
81688
82679
  * @param variables - variables to pass into the UserSettingsFlagsResetMutation
@@ -81785,6 +82776,15 @@ var LinearSdk = class extends Request {
81785
82776
  return new DeleteWebhookMutation(this._request).fetch(id);
81786
82777
  }
81787
82778
  /**
82779
+ * Rotates the signing secret for a Webhook.
82780
+ *
82781
+ * @param id - required id to pass to rotateSecretWebhook
82782
+ * @returns WebhookRotateSecretPayload
82783
+ */
82784
+ rotateSecretWebhook(id) {
82785
+ return new RotateSecretWebhookMutation(this._request).fetch(id);
82786
+ }
82787
+ /**
81788
82788
  * Updates an existing Webhook.
81789
82789
  *
81790
82790
  * @param id - required id to pass to updateWebhook
@@ -81924,8 +82924,9 @@ exports.ArchiveResponse = ArchiveResponse;
81924
82924
  exports.ArchiveRoadmapMutation = ArchiveRoadmapMutation;
81925
82925
  exports.ArchiveWorkflowStateMutation = ArchiveWorkflowStateMutation;
81926
82926
  exports.AsksChannelConnectPayload = AsksChannelConnectPayload;
81927
- exports.AsksWebFormsAuthMutation = AsksWebFormsAuthMutation;
81928
- exports.AsksWebFormsAuthResponse = AsksWebFormsAuthResponse;
82927
+ exports.AsksWebSettingQuery = AsksWebSettingQuery;
82928
+ exports.AsksWebSetting_IdentityProviderQuery = AsksWebSetting_IdentityProviderQuery;
82929
+ exports.AsksWebSettings = AsksWebSettings;
81929
82930
  exports.Attachment = Attachment;
81930
82931
  exports.AttachmentConnection = AttachmentConnection;
81931
82932
  exports.AttachmentIssueQuery = AttachmentIssueQuery;
@@ -82247,6 +83248,7 @@ exports.GitHubCommitIntegrationPayload = GitHubCommitIntegrationPayload;
82247
83248
  exports.GitHubEnterpriseServerInstallVerificationPayload = GitHubEnterpriseServerInstallVerificationPayload;
82248
83249
  exports.GitHubEnterpriseServerPayload = GitHubEnterpriseServerPayload;
82249
83250
  exports.GitLabIntegrationCreatePayload = GitLabIntegrationCreatePayload;
83251
+ exports.GitLabTestConnectionPayload = GitLabTestConnectionPayload;
82250
83252
  exports.GitLinkKind = GitLinkKind;
82251
83253
  exports.GithubOrgType = GithubOrgType;
82252
83254
  exports.GoogleUserAccountAuthMutation = GoogleUserAccountAuthMutation;
@@ -82315,6 +83317,7 @@ exports.IntegrationGithubConnectMutation = IntegrationGithubConnectMutation;
82315
83317
  exports.IntegrationGithubImportConnectMutation = IntegrationGithubImportConnectMutation;
82316
83318
  exports.IntegrationGithubImportRefreshMutation = IntegrationGithubImportRefreshMutation;
82317
83319
  exports.IntegrationGitlabConnectMutation = IntegrationGitlabConnectMutation;
83320
+ exports.IntegrationGitlabTestConnectionMutation = IntegrationGitlabTestConnectionMutation;
82318
83321
  exports.IntegrationGongMutation = IntegrationGongMutation;
82319
83322
  exports.IntegrationGoogleSheetsMutation = IntegrationGoogleSheetsMutation;
82320
83323
  exports.IntegrationHasScopesPayload = IntegrationHasScopesPayload;
@@ -82368,6 +83371,8 @@ exports.IssueFilterSuggestionPayload = IssueFilterSuggestionPayload;
82368
83371
  exports.IssueFilterSuggestionQuery = IssueFilterSuggestionQuery;
82369
83372
  exports.IssueHistory = IssueHistory;
82370
83373
  exports.IssueHistoryConnection = IssueHistoryConnection;
83374
+ exports.IssueHistoryTriageRuleError = IssueHistoryTriageRuleError;
83375
+ exports.IssueHistoryTriageRuleMetadata = IssueHistoryTriageRuleMetadata;
82371
83376
  exports.IssueImport = IssueImport;
82372
83377
  exports.IssueImportCheckCsvQuery = IssueImportCheckCsvQuery;
82373
83378
  exports.IssueImportCheckPayload = IssueImportCheckPayload;
@@ -82410,6 +83415,7 @@ exports.IssueRelationType = IssueRelationType;
82410
83415
  exports.IssueRelationsQuery = IssueRelationsQuery;
82411
83416
  exports.IssueReminderMutation = IssueReminderMutation;
82412
83417
  exports.IssueRemoveLabelMutation = IssueRemoveLabelMutation;
83418
+ exports.IssueRepositorySuggestionsQuery = IssueRepositorySuggestionsQuery;
82413
83419
  exports.IssueSearchPayload = IssueSearchPayload;
82414
83420
  exports.IssueSearchQuery = IssueSearchQuery;
82415
83421
  exports.IssueSearchResult = IssueSearchResult;
@@ -82688,6 +83694,7 @@ exports.RoadmapToProjectQuery = RoadmapToProjectQuery;
82688
83694
  exports.RoadmapToProjectsQuery = RoadmapToProjectsQuery;
82689
83695
  exports.Roadmap_ProjectsQuery = Roadmap_ProjectsQuery;
82690
83696
  exports.RoadmapsQuery = RoadmapsQuery;
83697
+ exports.RotateSecretWebhookMutation = RotateSecretWebhookMutation;
82691
83698
  exports.SLADayCountType = SLADayCountType;
82692
83699
  exports.SamlTokenUserAccountAuthMutation = SamlTokenUserAccountAuthMutation;
82693
83700
  exports.SearchDocumentsQuery = SearchDocumentsQuery;
@@ -82762,6 +83769,7 @@ exports.TriageResponsibilityManualSelection = TriageResponsibilityManualSelectio
82762
83769
  exports.TriageResponsibilityPayload = TriageResponsibilityPayload;
82763
83770
  exports.TriageResponsibilityQuery = TriageResponsibilityQuery;
82764
83771
  exports.TriageResponsibility_ManualSelectionQuery = TriageResponsibility_ManualSelectionQuery;
83772
+ exports.TriageRuleErrorType = TriageRuleErrorType;
82765
83773
  exports.UnarchiveCustomerNeedMutation = UnarchiveCustomerNeedMutation;
82766
83774
  exports.UnarchiveDocumentMutation = UnarchiveDocumentMutation;
82767
83775
  exports.UnarchiveInitiativeMutation = UnarchiveInitiativeMutation;
@@ -82848,7 +83856,10 @@ exports.UserPayload = UserPayload;
82848
83856
  exports.UserPromoteAdminMutation = UserPromoteAdminMutation;
82849
83857
  exports.UserPromoteMemberMutation = UserPromoteMemberMutation;
82850
83858
  exports.UserQuery = UserQuery;
83859
+ exports.UserRevokeAllSessionsMutation = UserRevokeAllSessionsMutation;
83860
+ exports.UserRevokeSessionMutation = UserRevokeSessionMutation;
82851
83861
  exports.UserRoleType = UserRoleType;
83862
+ exports.UserSessionsQuery = UserSessionsQuery;
82852
83863
  exports.UserSettings = UserSettings;
82853
83864
  exports.UserSettingsCustomSidebarTheme = UserSettingsCustomSidebarTheme;
82854
83865
  exports.UserSettingsCustomTheme = UserSettingsCustomTheme;
@@ -82918,7 +83929,9 @@ exports.WebhookConnection = WebhookConnection;
82918
83929
  exports.WebhookFailureEvent = WebhookFailureEvent;
82919
83930
  exports.WebhookPayload = WebhookPayload;
82920
83931
  exports.WebhookQuery = WebhookQuery;
83932
+ exports.WebhookRotateSecretPayload = WebhookRotateSecretPayload;
82921
83933
  exports.WebhooksQuery = WebhooksQuery;
83934
+ exports.WorkflowDefinition = WorkflowDefinition;
82922
83935
  exports.WorkflowState = WorkflowState;
82923
83936
  exports.WorkflowStateArchivePayload = WorkflowStateArchivePayload;
82924
83937
  exports.WorkflowStateChildWebhookPayload = WorkflowStateChildWebhookPayload;
@@ -82927,4 +83940,7 @@ exports.WorkflowStatePayload = WorkflowStatePayload;
82927
83940
  exports.WorkflowStateQuery = WorkflowStateQuery;
82928
83941
  exports.WorkflowState_IssuesQuery = WorkflowState_IssuesQuery;
82929
83942
  exports.WorkflowStatesQuery = WorkflowStatesQuery;
83943
+ exports.WorkflowTrigger = WorkflowTrigger;
83944
+ exports.WorkflowTriggerType = WorkflowTriggerType;
83945
+ exports.WorkflowType = WorkflowType;
82930
83946
  exports.parseLinearError = parseLinearError;