@linear/sdk 77.0.0 → 78.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
@@ -1518,6 +1518,7 @@ var _generated_documents_exports = /* @__PURE__ */ require_webhooks.__export({
1518
1518
  AiConversationInvokeMcpToolToolCallArgsToolFragmentDoc: () => AiConversationInvokeMcpToolToolCallArgsToolFragmentDoc,
1519
1519
  AiConversationInvokeMcpToolToolCallFragmentDoc: () => AiConversationInvokeMcpToolToolCallFragmentDoc,
1520
1520
  AiConversationPartMetadataFragmentDoc: () => AiConversationPartMetadataFragmentDoc,
1521
+ AiConversationPartPhase: () => AiConversationPartPhase,
1521
1522
  AiConversationPartType: () => AiConversationPartType,
1522
1523
  AiConversationPromptPartFragmentDoc: () => AiConversationPromptPartFragmentDoc,
1523
1524
  AiConversationQueryActivityToolCallArgsFragmentDoc: () => AiConversationQueryActivityToolCallArgsFragmentDoc,
@@ -1533,6 +1534,8 @@ var _generated_documents_exports = /* @__PURE__ */ require_webhooks.__export({
1533
1534
  AiConversationResearchToolCallArgsFragmentDoc: () => AiConversationResearchToolCallArgsFragmentDoc,
1534
1535
  AiConversationResearchToolCallFragmentDoc: () => AiConversationResearchToolCallFragmentDoc,
1535
1536
  AiConversationResearchToolCallResultFragmentDoc: () => AiConversationResearchToolCallResultFragmentDoc,
1537
+ AiConversationRestoreEntityToolCallArgsFragmentDoc: () => AiConversationRestoreEntityToolCallArgsFragmentDoc,
1538
+ AiConversationRestoreEntityToolCallFragmentDoc: () => AiConversationRestoreEntityToolCallFragmentDoc,
1536
1539
  AiConversationRetrieveEntitiesToolCallArgsFragmentDoc: () => AiConversationRetrieveEntitiesToolCallArgsFragmentDoc,
1537
1540
  AiConversationRetrieveEntitiesToolCallFragmentDoc: () => AiConversationRetrieveEntitiesToolCallFragmentDoc,
1538
1541
  AiConversationSearchDocumentationToolCallFragmentDoc: () => AiConversationSearchDocumentationToolCallFragmentDoc,
@@ -2666,6 +2669,12 @@ let AiConversationEntityListWidgetArgsEntitiesType = /* @__PURE__ */ function(Ai
2666
2669
  AiConversationEntityListWidgetArgsEntitiesType$1["Template"] = "Template";
2667
2670
  return AiConversationEntityListWidgetArgsEntitiesType$1;
2668
2671
  }({});
2672
+ /** The phase during which a conversation part was generated. */
2673
+ let AiConversationPartPhase = /* @__PURE__ */ function(AiConversationPartPhase$1) {
2674
+ AiConversationPartPhase$1["Answer"] = "answer";
2675
+ AiConversationPartPhase$1["Commentary"] = "commentary";
2676
+ return AiConversationPartPhase$1;
2677
+ }({});
2669
2678
  /** The type of a part in an AI conversation. */
2670
2679
  let AiConversationPartType = /* @__PURE__ */ function(AiConversationPartType$1) {
2671
2680
  AiConversationPartType$1["Prompt"] = "prompt";
@@ -2709,6 +2718,7 @@ let AiConversationTool = /* @__PURE__ */ function(AiConversationTool$1) {
2709
2718
  AiConversationTool$1["QueryUpdates"] = "QueryUpdates";
2710
2719
  AiConversationTool$1["QueryView"] = "QueryView";
2711
2720
  AiConversationTool$1["Research"] = "Research";
2721
+ AiConversationTool$1["RestoreEntity"] = "RestoreEntity";
2712
2722
  AiConversationTool$1["RetrieveEntities"] = "RetrieveEntities";
2713
2723
  AiConversationTool$1["SearchDocumentation"] = "SearchDocumentation";
2714
2724
  AiConversationTool$1["SearchEntities"] = "SearchEntities";
@@ -3322,6 +3332,8 @@ let UserFlagType = /* @__PURE__ */ function(UserFlagType$1) {
3322
3332
  UserFlagType$1["TeamsPageIntroductionDismissed"] = "teamsPageIntroductionDismissed";
3323
3333
  UserFlagType$1["ThreadedCommentsNudgeIsSeen"] = "threadedCommentsNudgeIsSeen";
3324
3334
  UserFlagType$1["TriageWelcomeDismissed"] = "triageWelcomeDismissed";
3335
+ UserFlagType$1["TryCodexDismissed"] = "tryCodexDismissed";
3336
+ UserFlagType$1["TryCursorDismissed"] = "tryCursorDismissed";
3325
3337
  UserFlagType$1["TryCyclesDismissed"] = "tryCyclesDismissed";
3326
3338
  UserFlagType$1["TryGithubDismissed"] = "tryGithubDismissed";
3327
3339
  UserFlagType$1["TryInvitePeopleDismissed"] = "tryInvitePeopleDismissed";
@@ -3398,6 +3410,7 @@ let ViewType = /* @__PURE__ */ function(ViewType$1) {
3398
3410
  ViewType$1["FeedCreated"] = "feedCreated";
3399
3411
  ViewType$1["FeedFollowing"] = "feedFollowing";
3400
3412
  ViewType$1["FeedPopular"] = "feedPopular";
3413
+ ViewType$1["Focus"] = "focus";
3401
3414
  ViewType$1["Inbox"] = "inbox";
3402
3415
  ViewType$1["Initiative"] = "initiative";
3403
3416
  ViewType$1["InitiativeOverview"] = "initiativeOverview";
@@ -3478,7 +3491,10 @@ const AiConversationPartMetadataFragmentDoc = new TypedDocumentString(`
3478
3491
  fragment AiConversationPartMetadata on AiConversationPartMetadata {
3479
3492
  __typename
3480
3493
  feedback
3494
+ endedAt
3481
3495
  evalLogId
3496
+ phase
3497
+ startedAt
3482
3498
  turnId
3483
3499
  }
3484
3500
  `, { fragmentName: "AiConversationPartMetadata" });
@@ -3499,7 +3515,10 @@ const AiConversationPromptPartFragmentDoc = new TypedDocumentString(`
3499
3515
  fragment AiConversationPartMetadata on AiConversationPartMetadata {
3500
3516
  __typename
3501
3517
  feedback
3518
+ endedAt
3502
3519
  evalLogId
3520
+ phase
3521
+ startedAt
3503
3522
  turnId
3504
3523
  }`, { fragmentName: "AiConversationPromptPart" });
3505
3524
  const AiConversationReasoningPartFragmentDoc = new TypedDocumentString(`
@@ -3517,7 +3536,10 @@ const AiConversationReasoningPartFragmentDoc = new TypedDocumentString(`
3517
3536
  fragment AiConversationPartMetadata on AiConversationPartMetadata {
3518
3537
  __typename
3519
3538
  feedback
3539
+ endedAt
3520
3540
  evalLogId
3541
+ phase
3542
+ startedAt
3521
3543
  turnId
3522
3544
  }`, { fragmentName: "AiConversationReasoningPart" });
3523
3545
  const AiConversationTextPartFragmentDoc = new TypedDocumentString(`
@@ -3534,7 +3556,10 @@ const AiConversationTextPartFragmentDoc = new TypedDocumentString(`
3534
3556
  fragment AiConversationPartMetadata on AiConversationPartMetadata {
3535
3557
  __typename
3536
3558
  feedback
3559
+ endedAt
3537
3560
  evalLogId
3561
+ phase
3562
+ startedAt
3538
3563
  turnId
3539
3564
  }`, { fragmentName: "AiConversationTextPart" });
3540
3565
  const AiConversationCodeIntelligenceToolCallArgsFragmentDoc = new TypedDocumentString(`
@@ -4094,6 +4119,50 @@ fragment AiConversationToolDisplayInfo on AiConversationToolDisplayInfo {
4094
4119
  inactiveLabel
4095
4120
  result
4096
4121
  }`, { fragmentName: "AiConversationResearchToolCall" });
4122
+ const AiConversationRestoreEntityToolCallArgsFragmentDoc = new TypedDocumentString(`
4123
+ fragment AiConversationRestoreEntityToolCallArgs on AiConversationRestoreEntityToolCallArgs {
4124
+ __typename
4125
+ entity {
4126
+ ...AiConversationSearchEntitiesToolCallResultEntities
4127
+ }
4128
+ }
4129
+ fragment AiConversationSearchEntitiesToolCallResultEntities on AiConversationSearchEntitiesToolCallResultEntities {
4130
+ __typename
4131
+ id
4132
+ type
4133
+ }`, { fragmentName: "AiConversationRestoreEntityToolCallArgs" });
4134
+ const AiConversationRestoreEntityToolCallFragmentDoc = new TypedDocumentString(`
4135
+ fragment AiConversationRestoreEntityToolCall on AiConversationRestoreEntityToolCall {
4136
+ __typename
4137
+ rawArgs
4138
+ args {
4139
+ ...AiConversationRestoreEntityToolCallArgs
4140
+ }
4141
+ name
4142
+ rawResult
4143
+ displayInfo {
4144
+ ...AiConversationToolDisplayInfo
4145
+ }
4146
+ }
4147
+ fragment AiConversationRestoreEntityToolCallArgs on AiConversationRestoreEntityToolCallArgs {
4148
+ __typename
4149
+ entity {
4150
+ ...AiConversationSearchEntitiesToolCallResultEntities
4151
+ }
4152
+ }
4153
+ fragment AiConversationSearchEntitiesToolCallResultEntities on AiConversationSearchEntitiesToolCallResultEntities {
4154
+ __typename
4155
+ id
4156
+ type
4157
+ }
4158
+ fragment AiConversationToolDisplayInfo on AiConversationToolDisplayInfo {
4159
+ __typename
4160
+ activeLabel
4161
+ detail
4162
+ icon
4163
+ inactiveLabel
4164
+ result
4165
+ }`, { fragmentName: "AiConversationRestoreEntityToolCall" });
4097
4166
  const AiConversationRetrieveEntitiesToolCallArgsFragmentDoc = new TypedDocumentString(`
4098
4167
  fragment AiConversationRetrieveEntitiesToolCallArgs on AiConversationRetrieveEntitiesToolCallArgs {
4099
4168
  __typename
@@ -4287,6 +4356,9 @@ const AiConversationTranscribeVideoToolCallFragmentDoc = new TypedDocumentString
4287
4356
  const AiConversationUpdateEntityToolCallArgsFragmentDoc = new TypedDocumentString(`
4288
4357
  fragment AiConversationUpdateEntityToolCallArgs on AiConversationUpdateEntityToolCallArgs {
4289
4358
  __typename
4359
+ entities {
4360
+ ...AiConversationSearchEntitiesToolCallResultEntities
4361
+ }
4290
4362
  entity {
4291
4363
  ...AiConversationSearchEntitiesToolCallResultEntities
4292
4364
  }
@@ -4324,6 +4396,9 @@ fragment AiConversationToolDisplayInfo on AiConversationToolDisplayInfo {
4324
4396
  }
4325
4397
  fragment AiConversationUpdateEntityToolCallArgs on AiConversationUpdateEntityToolCallArgs {
4326
4398
  __typename
4399
+ entities {
4400
+ ...AiConversationSearchEntitiesToolCallResultEntities
4401
+ }
4327
4402
  entity {
4328
4403
  ...AiConversationSearchEntitiesToolCallResultEntities
4329
4404
  }
@@ -4405,6 +4480,9 @@ const AiConversationToolCallPartFragmentDoc = new TypedDocumentString(`
4405
4480
  ... on AiConversationResearchToolCall {
4406
4481
  ...AiConversationResearchToolCall
4407
4482
  }
4483
+ ... on AiConversationRestoreEntityToolCall {
4484
+ ...AiConversationRestoreEntityToolCall
4485
+ }
4408
4486
  ... on AiConversationRetrieveEntitiesToolCall {
4409
4487
  ...AiConversationRetrieveEntitiesToolCall
4410
4488
  }
@@ -4435,7 +4513,10 @@ const AiConversationToolCallPartFragmentDoc = new TypedDocumentString(`
4435
4513
  fragment AiConversationPartMetadata on AiConversationPartMetadata {
4436
4514
  __typename
4437
4515
  feedback
4516
+ endedAt
4438
4517
  evalLogId
4518
+ phase
4519
+ startedAt
4439
4520
  turnId
4440
4521
  }
4441
4522
  fragment AiConversationCodeIntelligenceToolCall on AiConversationCodeIntelligenceToolCall {
@@ -4668,6 +4749,24 @@ fragment AiConversationResearchToolCallResult on AiConversationResearchToolCallR
4668
4749
  __typename
4669
4750
  progressId
4670
4751
  }
4752
+ fragment AiConversationRestoreEntityToolCall on AiConversationRestoreEntityToolCall {
4753
+ __typename
4754
+ rawArgs
4755
+ args {
4756
+ ...AiConversationRestoreEntityToolCallArgs
4757
+ }
4758
+ name
4759
+ rawResult
4760
+ displayInfo {
4761
+ ...AiConversationToolDisplayInfo
4762
+ }
4763
+ }
4764
+ fragment AiConversationRestoreEntityToolCallArgs on AiConversationRestoreEntityToolCallArgs {
4765
+ __typename
4766
+ entity {
4767
+ ...AiConversationSearchEntitiesToolCallResultEntities
4768
+ }
4769
+ }
4671
4770
  fragment AiConversationRetrieveEntitiesToolCall on AiConversationRetrieveEntitiesToolCall {
4672
4771
  __typename
4673
4772
  rawArgs
@@ -4783,6 +4882,9 @@ fragment AiConversationUpdateEntityToolCall on AiConversationUpdateEntityToolCal
4783
4882
  }
4784
4883
  fragment AiConversationUpdateEntityToolCallArgs on AiConversationUpdateEntityToolCallArgs {
4785
4884
  __typename
4885
+ entities {
4886
+ ...AiConversationSearchEntitiesToolCallResultEntities
4887
+ }
4786
4888
  entity {
4787
4889
  ...AiConversationSearchEntitiesToolCallResultEntities
4788
4890
  }
@@ -4913,7 +5015,10 @@ const AiConversationWidgetPartFragmentDoc = new TypedDocumentString(`
4913
5015
  fragment AiConversationPartMetadata on AiConversationPartMetadata {
4914
5016
  __typename
4915
5017
  feedback
5018
+ endedAt
4916
5019
  evalLogId
5020
+ phase
5021
+ startedAt
4917
5022
  turnId
4918
5023
  }
4919
5024
  fragment AiConversationEntityCardWidget on AiConversationEntityCardWidget {
@@ -5063,6 +5168,9 @@ fragment AiConversationToolCallPart on AiConversationToolCallPart {
5063
5168
  ... on AiConversationResearchToolCall {
5064
5169
  ...AiConversationResearchToolCall
5065
5170
  }
5171
+ ... on AiConversationRestoreEntityToolCall {
5172
+ ...AiConversationRestoreEntityToolCall
5173
+ }
5066
5174
  ... on AiConversationRetrieveEntitiesToolCall {
5067
5175
  ...AiConversationRetrieveEntitiesToolCall
5068
5176
  }
@@ -5109,7 +5217,10 @@ fragment AiConversationWidgetPart on AiConversationWidgetPart {
5109
5217
  fragment AiConversationPartMetadata on AiConversationPartMetadata {
5110
5218
  __typename
5111
5219
  feedback
5220
+ endedAt
5112
5221
  evalLogId
5222
+ phase
5223
+ startedAt
5113
5224
  turnId
5114
5225
  }
5115
5226
  fragment AiConversationCodeIntelligenceToolCall on AiConversationCodeIntelligenceToolCall {
@@ -5383,6 +5494,24 @@ fragment AiConversationResearchToolCallResult on AiConversationResearchToolCallR
5383
5494
  __typename
5384
5495
  progressId
5385
5496
  }
5497
+ fragment AiConversationRestoreEntityToolCall on AiConversationRestoreEntityToolCall {
5498
+ __typename
5499
+ rawArgs
5500
+ args {
5501
+ ...AiConversationRestoreEntityToolCallArgs
5502
+ }
5503
+ name
5504
+ rawResult
5505
+ displayInfo {
5506
+ ...AiConversationToolDisplayInfo
5507
+ }
5508
+ }
5509
+ fragment AiConversationRestoreEntityToolCallArgs on AiConversationRestoreEntityToolCallArgs {
5510
+ __typename
5511
+ entity {
5512
+ ...AiConversationSearchEntitiesToolCallResultEntities
5513
+ }
5514
+ }
5386
5515
  fragment AiConversationRetrieveEntitiesToolCall on AiConversationRetrieveEntitiesToolCall {
5387
5516
  __typename
5388
5517
  rawArgs
@@ -5498,6 +5627,9 @@ fragment AiConversationUpdateEntityToolCall on AiConversationUpdateEntityToolCal
5498
5627
  }
5499
5628
  fragment AiConversationUpdateEntityToolCallArgs on AiConversationUpdateEntityToolCallArgs {
5500
5629
  __typename
5630
+ entities {
5631
+ ...AiConversationSearchEntitiesToolCallResultEntities
5632
+ }
5501
5633
  entity {
5502
5634
  ...AiConversationSearchEntitiesToolCallResultEntities
5503
5635
  }
@@ -8293,6 +8425,7 @@ const OrganizationFragmentDoc = new TypedDocumentString(`
8293
8425
  allowedAuthServices
8294
8426
  allowedFileUploadContentTypes
8295
8427
  createdIssueCount
8428
+ authSettings
8296
8429
  customersConfiguration
8297
8430
  defaultFeedSummarySchedule
8298
8431
  gitBranchFormat
@@ -8865,6 +8998,7 @@ const WorkflowDefinitionFragmentDoc = new TypedDocumentString(`
8865
8998
  lastUpdatedBy {
8866
8999
  id
8867
9000
  }
9001
+ slugId
8868
9002
  enabled
8869
9003
  }
8870
9004
  `, { fragmentName: "WorkflowDefinition" });
@@ -8965,6 +9099,7 @@ fragment WorkflowDefinition on WorkflowDefinition {
8965
9099
  lastUpdatedBy {
8966
9100
  id
8967
9101
  }
9102
+ slugId
8968
9103
  enabled
8969
9104
  }`, { fragmentName: "IssueHistoryTriageRuleMetadata" });
8970
9105
  const IssueHistoryWorkflowMetadataFragmentDoc = new TypedDocumentString(`
@@ -9019,6 +9154,7 @@ const IssueHistoryWorkflowMetadataFragmentDoc = new TypedDocumentString(`
9019
9154
  lastUpdatedBy {
9020
9155
  id
9021
9156
  }
9157
+ slugId
9022
9158
  enabled
9023
9159
  }`, { fragmentName: "IssueHistoryWorkflowMetadata" });
9024
9160
  const OauthClientActorWebhookPayloadFragmentDoc = new TypedDocumentString(`
@@ -11900,6 +12036,9 @@ const AiConversationBaseToolCallFragmentDoc = new TypedDocumentString(`
11900
12036
  ... on AiConversationResearchToolCall {
11901
12037
  ...AiConversationResearchToolCall
11902
12038
  }
12039
+ ... on AiConversationRestoreEntityToolCall {
12040
+ ...AiConversationRestoreEntityToolCall
12041
+ }
11903
12042
  ... on AiConversationRetrieveEntitiesToolCall {
11904
12043
  ...AiConversationRetrieveEntitiesToolCall
11905
12044
  }
@@ -12155,6 +12294,24 @@ fragment AiConversationResearchToolCallResult on AiConversationResearchToolCallR
12155
12294
  __typename
12156
12295
  progressId
12157
12296
  }
12297
+ fragment AiConversationRestoreEntityToolCall on AiConversationRestoreEntityToolCall {
12298
+ __typename
12299
+ rawArgs
12300
+ args {
12301
+ ...AiConversationRestoreEntityToolCallArgs
12302
+ }
12303
+ name
12304
+ rawResult
12305
+ displayInfo {
12306
+ ...AiConversationToolDisplayInfo
12307
+ }
12308
+ }
12309
+ fragment AiConversationRestoreEntityToolCallArgs on AiConversationRestoreEntityToolCallArgs {
12310
+ __typename
12311
+ entity {
12312
+ ...AiConversationSearchEntitiesToolCallResultEntities
12313
+ }
12314
+ }
12158
12315
  fragment AiConversationRetrieveEntitiesToolCall on AiConversationRetrieveEntitiesToolCall {
12159
12316
  __typename
12160
12317
  rawArgs
@@ -12270,6 +12427,9 @@ fragment AiConversationUpdateEntityToolCall on AiConversationUpdateEntityToolCal
12270
12427
  }
12271
12428
  fragment AiConversationUpdateEntityToolCallArgs on AiConversationUpdateEntityToolCallArgs {
12272
12429
  __typename
12430
+ entities {
12431
+ ...AiConversationSearchEntitiesToolCallResultEntities
12432
+ }
12273
12433
  entity {
12274
12434
  ...AiConversationSearchEntitiesToolCallResultEntities
12275
12435
  }
@@ -12573,6 +12733,7 @@ const AuthOrganizationFragmentDoc = new TypedDocumentString(`
12573
12733
  __typename
12574
12734
  allowedAuthServices
12575
12735
  approximateUserCount
12736
+ authSettings
12576
12737
  previousUrlKeys
12577
12738
  serviceId
12578
12739
  releaseChannel
@@ -12610,6 +12771,7 @@ const AuthUserFragmentDoc = new TypedDocumentString(`
12610
12771
  __typename
12611
12772
  allowedAuthServices
12612
12773
  approximateUserCount
12774
+ authSettings
12613
12775
  previousUrlKeys
12614
12776
  serviceId
12615
12777
  releaseChannel
@@ -12667,6 +12829,7 @@ fragment AuthOrganization on AuthOrganization {
12667
12829
  __typename
12668
12830
  allowedAuthServices
12669
12831
  approximateUserCount
12832
+ authSettings
12670
12833
  previousUrlKeys
12671
12834
  serviceId
12672
12835
  releaseChannel
@@ -13327,6 +13490,7 @@ fragment AuthOrganization on AuthOrganization {
13327
13490
  __typename
13328
13491
  allowedAuthServices
13329
13492
  approximateUserCount
13493
+ authSettings
13330
13494
  previousUrlKeys
13331
13495
  serviceId
13332
13496
  releaseChannel
@@ -13373,6 +13537,9 @@ const ViewPreferencesValuesFragmentDoc = new TypedDocumentString(`
13373
13537
  projectGroupingDateResolution
13374
13538
  viewOrderingDirection
13375
13539
  embeddedCustomerNeedsViewOrdering
13540
+ focusViewGrouping
13541
+ focusViewOrderingDirection
13542
+ focusViewOrdering
13376
13543
  inboxViewOrdering
13377
13544
  initiativeGrouping
13378
13545
  initiativesViewOrdering
@@ -13595,6 +13762,9 @@ fragment ViewPreferencesValues on ViewPreferencesValues {
13595
13762
  projectGroupingDateResolution
13596
13763
  viewOrderingDirection
13597
13764
  embeddedCustomerNeedsViewOrdering
13765
+ focusViewGrouping
13766
+ focusViewOrderingDirection
13767
+ focusViewOrdering
13598
13768
  inboxViewOrdering
13599
13769
  initiativeGrouping
13600
13770
  initiativesViewOrdering
@@ -13852,6 +14022,9 @@ fragment ViewPreferencesValues on ViewPreferencesValues {
13852
14022
  projectGroupingDateResolution
13853
14023
  viewOrderingDirection
13854
14024
  embeddedCustomerNeedsViewOrdering
14025
+ focusViewGrouping
14026
+ focusViewOrderingDirection
14027
+ focusViewOrdering
13855
14028
  inboxViewOrdering
13856
14029
  initiativeGrouping
13857
14030
  initiativesViewOrdering
@@ -14125,6 +14298,9 @@ fragment ViewPreferencesValues on ViewPreferencesValues {
14125
14298
  projectGroupingDateResolution
14126
14299
  viewOrderingDirection
14127
14300
  embeddedCustomerNeedsViewOrdering
14301
+ focusViewGrouping
14302
+ focusViewOrderingDirection
14303
+ focusViewOrdering
14128
14304
  inboxViewOrdering
14129
14305
  initiativeGrouping
14130
14306
  initiativesViewOrdering
@@ -22689,6 +22865,9 @@ fragment ViewPreferencesValues on ViewPreferencesValues {
22689
22865
  projectGroupingDateResolution
22690
22866
  viewOrderingDirection
22691
22867
  embeddedCustomerNeedsViewOrdering
22868
+ focusViewGrouping
22869
+ focusViewOrderingDirection
22870
+ focusViewOrdering
22692
22871
  inboxViewOrdering
22693
22872
  initiativeGrouping
22694
22873
  initiativesViewOrdering
@@ -25452,6 +25631,7 @@ fragment AuthOrganization on AuthOrganization {
25452
25631
  __typename
25453
25632
  allowedAuthServices
25454
25633
  approximateUserCount
25634
+ authSettings
25455
25635
  previousUrlKeys
25456
25636
  serviceId
25457
25637
  releaseChannel
@@ -26623,6 +26803,9 @@ fragment ViewPreferencesValues on ViewPreferencesValues {
26623
26803
  projectGroupingDateResolution
26624
26804
  viewOrderingDirection
26625
26805
  embeddedCustomerNeedsViewOrdering
26806
+ focusViewGrouping
26807
+ focusViewOrderingDirection
26808
+ focusViewOrdering
26626
26809
  inboxViewOrdering
26627
26810
  initiativeGrouping
26628
26811
  initiativesViewOrdering
@@ -27233,6 +27416,9 @@ fragment ViewPreferencesValues on ViewPreferencesValues {
27233
27416
  projectGroupingDateResolution
27234
27417
  viewOrderingDirection
27235
27418
  embeddedCustomerNeedsViewOrdering
27419
+ focusViewGrouping
27420
+ focusViewOrderingDirection
27421
+ focusViewOrdering
27236
27422
  inboxViewOrdering
27237
27423
  initiativeGrouping
27238
27424
  initiativesViewOrdering
@@ -27447,6 +27633,9 @@ fragment ViewPreferencesValues on ViewPreferencesValues {
27447
27633
  projectGroupingDateResolution
27448
27634
  viewOrderingDirection
27449
27635
  embeddedCustomerNeedsViewOrdering
27636
+ focusViewGrouping
27637
+ focusViewOrderingDirection
27638
+ focusViewOrdering
27450
27639
  inboxViewOrdering
27451
27640
  initiativeGrouping
27452
27641
  initiativesViewOrdering
@@ -27870,6 +28059,9 @@ fragment ViewPreferencesValues on ViewPreferencesValues {
27870
28059
  projectGroupingDateResolution
27871
28060
  viewOrderingDirection
27872
28061
  embeddedCustomerNeedsViewOrdering
28062
+ focusViewGrouping
28063
+ focusViewOrderingDirection
28064
+ focusViewOrdering
27873
28065
  inboxViewOrdering
27874
28066
  initiativeGrouping
27875
28067
  initiativesViewOrdering
@@ -28084,6 +28276,9 @@ fragment ViewPreferencesValues on ViewPreferencesValues {
28084
28276
  projectGroupingDateResolution
28085
28277
  viewOrderingDirection
28086
28278
  embeddedCustomerNeedsViewOrdering
28279
+ focusViewGrouping
28280
+ focusViewOrderingDirection
28281
+ focusViewOrdering
28087
28282
  inboxViewOrdering
28088
28283
  initiativeGrouping
28089
28284
  initiativesViewOrdering
@@ -28296,6 +28491,9 @@ fragment ViewPreferencesValues on ViewPreferencesValues {
28296
28491
  projectGroupingDateResolution
28297
28492
  viewOrderingDirection
28298
28493
  embeddedCustomerNeedsViewOrdering
28494
+ focusViewGrouping
28495
+ focusViewOrderingDirection
28496
+ focusViewOrdering
28299
28497
  inboxViewOrdering
28300
28498
  initiativeGrouping
28301
28499
  initiativesViewOrdering
@@ -28593,6 +28791,9 @@ fragment ViewPreferencesValues on ViewPreferencesValues {
28593
28791
  projectGroupingDateResolution
28594
28792
  viewOrderingDirection
28595
28793
  embeddedCustomerNeedsViewOrdering
28794
+ focusViewGrouping
28795
+ focusViewOrderingDirection
28796
+ focusViewOrdering
28596
28797
  inboxViewOrdering
28597
28798
  initiativeGrouping
28598
28799
  initiativesViewOrdering
@@ -37940,6 +38141,7 @@ fragment Organization on Organization {
37940
38141
  allowedAuthServices
37941
38142
  allowedFileUploadContentTypes
37942
38143
  createdIssueCount
38144
+ authSettings
37943
38145
  customersConfiguration
37944
38146
  defaultFeedSummarySchedule
37945
38147
  gitBranchFormat
@@ -48353,6 +48555,7 @@ fragment AuthOrganization on AuthOrganization {
48353
48555
  __typename
48354
48556
  allowedAuthServices
48355
48557
  approximateUserCount
48558
+ authSettings
48356
48559
  previousUrlKeys
48357
48560
  serviceId
48358
48561
  releaseChannel
@@ -48541,8 +48744,8 @@ const UnarchiveCustomerNeedDocument = new TypedDocumentString(`
48541
48744
  success
48542
48745
  }`);
48543
48746
  const UpdateCustomerNeedDocument = new TypedDocumentString(`
48544
- mutation updateCustomerNeed($id: String!, $input: CustomerNeedUpdateInput!) {
48545
- customerNeedUpdate(id: $id, input: $input) {
48747
+ mutation updateCustomerNeed($clearAttachment: Boolean, $id: String!, $input: CustomerNeedUpdateInput!) {
48748
+ customerNeedUpdate(clearAttachment: $clearAttachment, id: $id, input: $input) {
48546
48749
  ...CustomerNeedUpdatePayload
48547
48750
  }
48548
48751
  }
@@ -48934,6 +49137,7 @@ fragment AuthOrganization on AuthOrganization {
48934
49137
  __typename
48935
49138
  allowedAuthServices
48936
49139
  approximateUserCount
49140
+ authSettings
48937
49141
  previousUrlKeys
48938
49142
  serviceId
48939
49143
  releaseChannel
@@ -49324,6 +49528,7 @@ fragment AuthOrganization on AuthOrganization {
49324
49528
  __typename
49325
49529
  allowedAuthServices
49326
49530
  approximateUserCount
49531
+ authSettings
49327
49532
  previousUrlKeys
49328
49533
  serviceId
49329
49534
  releaseChannel
@@ -51310,6 +51515,7 @@ fragment AuthOrganization on AuthOrganization {
51310
51515
  __typename
51311
51516
  allowedAuthServices
51312
51517
  approximateUserCount
51518
+ authSettings
51313
51519
  previousUrlKeys
51314
51520
  serviceId
51315
51521
  releaseChannel
@@ -51360,6 +51566,7 @@ fragment AuthOrganization on AuthOrganization {
51360
51566
  __typename
51361
51567
  allowedAuthServices
51362
51568
  approximateUserCount
51569
+ authSettings
51363
51570
  previousUrlKeys
51364
51571
  serviceId
51365
51572
  releaseChannel
@@ -56068,6 +56275,7 @@ fragment AuthOrganization on AuthOrganization {
56068
56275
  __typename
56069
56276
  allowedAuthServices
56070
56277
  approximateUserCount
56278
+ authSettings
56071
56279
  previousUrlKeys
56072
56280
  serviceId
56073
56281
  releaseChannel
@@ -56576,6 +56784,9 @@ fragment ViewPreferencesValues on ViewPreferencesValues {
56576
56784
  projectGroupingDateResolution
56577
56785
  viewOrderingDirection
56578
56786
  embeddedCustomerNeedsViewOrdering
56787
+ focusViewGrouping
56788
+ focusViewOrderingDirection
56789
+ focusViewOrdering
56579
56790
  inboxViewOrdering
56580
56791
  initiativeGrouping
56581
56792
  initiativesViewOrdering
@@ -56818,6 +57029,9 @@ fragment ViewPreferencesValues on ViewPreferencesValues {
56818
57029
  projectGroupingDateResolution
56819
57030
  viewOrderingDirection
56820
57031
  embeddedCustomerNeedsViewOrdering
57032
+ focusViewGrouping
57033
+ focusViewOrderingDirection
57034
+ focusViewOrdering
56821
57035
  inboxViewOrdering
56822
57036
  initiativeGrouping
56823
57037
  initiativesViewOrdering
@@ -58361,16 +58575,25 @@ var AiConversationInvokeMcpToolToolCallArgsTool = class extends Request {
58361
58575
  var AiConversationPartMetadata = class extends Request {
58362
58576
  constructor(request, data) {
58363
58577
  super(request);
58578
+ this.endedAt = data.endedAt ?? void 0;
58364
58579
  this.evalLogId = data.evalLogId ?? void 0;
58365
58580
  this.feedback = data.feedback ?? void 0;
58581
+ this.startedAt = data.startedAt ?? void 0;
58366
58582
  this.turnId = data.turnId;
58583
+ this.phase = data.phase ?? void 0;
58367
58584
  }
58585
+ /** The ended timestamp of the part. */
58586
+ endedAt;
58368
58587
  /** The eval log ID of the part. */
58369
58588
  evalLogId;
58370
58589
  /** AI feedback state for this part. */
58371
58590
  feedback;
58591
+ /** The started timestamp of the part. */
58592
+ startedAt;
58372
58593
  /** The turn ID of the part. */
58373
58594
  turnId;
58595
+ /** The phase during which the part was generated. */
58596
+ phase;
58374
58597
  };
58375
58598
  /**
58376
58599
  * A prompt part in an AI conversation.
@@ -58633,6 +58856,44 @@ var AiConversationResearchToolCallResult = class extends Request {
58633
58856
  progressId;
58634
58857
  };
58635
58858
  /**
58859
+ * AiConversationRestoreEntityToolCall model
58860
+ *
58861
+ * @param request - function to call the graphql client
58862
+ * @param data - L.AiConversationRestoreEntityToolCallFragment response data
58863
+ */
58864
+ var AiConversationRestoreEntityToolCall = class extends Request {
58865
+ constructor(request, data) {
58866
+ super(request);
58867
+ this.rawArgs = parseJson(data.rawArgs) ?? void 0;
58868
+ this.rawResult = parseJson(data.rawResult) ?? void 0;
58869
+ this.args = data.args ? new AiConversationRestoreEntityToolCallArgs(request, data.args) : void 0;
58870
+ this.displayInfo = new AiConversationToolDisplayInfo(request, data.displayInfo);
58871
+ this.name = data.name;
58872
+ }
58873
+ /** The arguments of the tool call. */
58874
+ rawArgs;
58875
+ /** The result of the tool call. */
58876
+ rawResult;
58877
+ /** The arguments to the tool call. */
58878
+ args;
58879
+ displayInfo;
58880
+ /** The name of the tool that was called. */
58881
+ name;
58882
+ };
58883
+ /**
58884
+ * AiConversationRestoreEntityToolCallArgs model
58885
+ *
58886
+ * @param request - function to call the graphql client
58887
+ * @param data - L.AiConversationRestoreEntityToolCallArgsFragment response data
58888
+ */
58889
+ var AiConversationRestoreEntityToolCallArgs = class extends Request {
58890
+ constructor(request, data) {
58891
+ super(request);
58892
+ this.entity = new AiConversationSearchEntitiesToolCallResultEntities(request, data.entity);
58893
+ }
58894
+ entity;
58895
+ };
58896
+ /**
58636
58897
  * AiConversationRetrieveEntitiesToolCall model
58637
58898
  *
58638
58899
  * @param request - function to call the graphql client
@@ -58951,8 +59212,10 @@ var AiConversationUpdateEntityToolCall = class extends Request {
58951
59212
  var AiConversationUpdateEntityToolCallArgs = class extends Request {
58952
59213
  constructor(request, data) {
58953
59214
  super(request);
58954
- this.entity = new AiConversationSearchEntitiesToolCallResultEntities(request, data.entity);
59215
+ this.entity = data.entity ? new AiConversationSearchEntitiesToolCallResultEntities(request, data.entity) : void 0;
59216
+ this.entities = data.entities ? data.entities.map((node) => new AiConversationSearchEntitiesToolCallResultEntities(request, node)) : void 0;
58955
59217
  }
59218
+ entities;
58956
59219
  entity;
58957
59220
  };
58958
59221
  /**
@@ -59645,6 +59908,7 @@ var AuthOrganization = class extends Request {
59645
59908
  super(request);
59646
59909
  this.allowedAuthServices = data.allowedAuthServices;
59647
59910
  this.approximateUserCount = data.approximateUserCount;
59911
+ this.authSettings = data.authSettings;
59648
59912
  this.createdAt = parseDate(data.createdAt) ?? /* @__PURE__ */ new Date();
59649
59913
  this.deletionRequestedAt = parseDate(data.deletionRequestedAt) ?? void 0;
59650
59914
  this.enabled = data.enabled;
@@ -59665,6 +59929,8 @@ var AuthOrganization = class extends Request {
59665
59929
  allowedAuthServices;
59666
59930
  /** An approximate count of users, updated once per day. */
59667
59931
  approximateUserCount;
59932
+ /** Authentication settings for the organization. */
59933
+ authSettings;
59668
59934
  /** The time at which the entity was created. */
59669
59935
  createdAt;
59670
59936
  /** The time at which deletion of the organization was requested. */
@@ -59865,7 +60131,7 @@ var BaseWebhookPayload = class {
59865
60131
  webhookTimestamp;
59866
60132
  };
59867
60133
  /**
59868
- * A comment associated with an issue.
60134
+ * A comment associated with an entity.
59869
60135
  *
59870
60136
  * @param request - function to call the graphql client
59871
60137
  * @param data - L.CommentFragment response data
@@ -60874,8 +61140,8 @@ var CustomerNeed = class extends Request {
60874
61140
  return new UnarchiveCustomerNeedMutation(this._request).fetch(this.id);
60875
61141
  }
60876
61142
  /** Updates a customer need */
60877
- update(input) {
60878
- return new UpdateCustomerNeedMutation(this._request).fetch(this.id, input);
61143
+ update(input, variables) {
61144
+ return new UpdateCustomerNeedMutation(this._request).fetch(this.id, input, variables);
60879
61145
  }
60880
61146
  };
60881
61147
  /**
@@ -69668,6 +69934,7 @@ var Organization = class extends Request {
69668
69934
  this.allowedAuthServices = data.allowedAuthServices;
69669
69935
  this.allowedFileUploadContentTypes = data.allowedFileUploadContentTypes ?? void 0;
69670
69936
  this.archivedAt = parseDate(data.archivedAt) ?? void 0;
69937
+ this.authSettings = data.authSettings;
69671
69938
  this.createdAt = parseDate(data.createdAt) ?? /* @__PURE__ */ new Date();
69672
69939
  this.createdIssueCount = data.createdIssueCount;
69673
69940
  this.customerCount = data.customerCount;
@@ -69726,6 +69993,8 @@ var Organization = class extends Request {
69726
69993
  allowedFileUploadContentTypes;
69727
69994
  /** The time at which the entity was archived. Null if the entity has not been archived. */
69728
69995
  archivedAt;
69996
+ /** Authentication settings for the organization. */
69997
+ authSettings;
69729
69998
  /** The time at which the entity was created. */
69730
69999
  createdAt;
69731
70000
  /** Aproximate number of issues in the organization, including archived ones. */
@@ -75768,6 +76037,9 @@ var ViewPreferencesValues = class extends Request {
75768
76037
  this.fieldSla = data.fieldSla ?? void 0;
75769
76038
  this.fieldStatus = data.fieldStatus ?? void 0;
75770
76039
  this.fieldTimeInCurrentStatus = data.fieldTimeInCurrentStatus ?? void 0;
76040
+ this.focusViewGrouping = data.focusViewGrouping ?? void 0;
76041
+ this.focusViewOrdering = data.focusViewOrdering ?? void 0;
76042
+ this.focusViewOrderingDirection = data.focusViewOrderingDirection ?? void 0;
75771
76043
  this.hiddenColumns = data.hiddenColumns ?? void 0;
75772
76044
  this.hiddenRows = data.hiddenRows ?? void 0;
75773
76045
  this.inboxViewOrdering = data.inboxViewOrdering ?? void 0;
@@ -76015,6 +76287,12 @@ var ViewPreferencesValues = class extends Request {
76015
76287
  fieldStatus;
76016
76288
  /** Whether to show the time in current status field. */
76017
76289
  fieldTimeInCurrentStatus;
76290
+ /** The focus view grouping. */
76291
+ focusViewGrouping;
76292
+ /** The focus view ordering. */
76293
+ focusViewOrdering;
76294
+ /** The focus view ordering direction. */
76295
+ focusViewOrderingDirection;
76018
76296
  /** List of column model IDs which should be hidden on a board. */
76019
76297
  hiddenColumns;
76020
76298
  /** List of row model IDs which should be hidden on a board. */
@@ -76631,6 +76909,7 @@ var WorkflowDefinition = class extends Request {
76631
76909
  this.id = data.id;
76632
76910
  this.lastExecutedAt = parseDate(data.lastExecutedAt) ?? void 0;
76633
76911
  this.name = data.name;
76912
+ this.slugId = data.slugId;
76634
76913
  this.sortOrder = data.sortOrder;
76635
76914
  this.updatedAt = parseDate(data.updatedAt) ?? /* @__PURE__ */ new Date();
76636
76915
  this.contextViewType = data.contextViewType ?? void 0;
@@ -76667,6 +76946,8 @@ var WorkflowDefinition = class extends Request {
76667
76946
  lastExecutedAt;
76668
76947
  /** The name of the workflow. */
76669
76948
  name;
76949
+ /** The workflow definition's unique URL slug. */
76950
+ slugId;
76670
76951
  /** The sort order of the workflow definition within its siblings. */
76671
76952
  sortOrder;
76672
76953
  /**
@@ -80574,12 +80855,14 @@ var UpdateCustomerNeedMutation = class extends Request {
80574
80855
  *
80575
80856
  * @param id - required id to pass to updateCustomerNeed
80576
80857
  * @param input - required input to pass to updateCustomerNeed
80858
+ * @param variables - variables without 'id', 'input' to pass into the UpdateCustomerNeedMutation
80577
80859
  * @returns parsed response from UpdateCustomerNeedMutation
80578
80860
  */
80579
- async fetch(id, input) {
80861
+ async fetch(id, input, variables) {
80580
80862
  const data = (await this._request(UpdateCustomerNeedDocument.toString(), {
80581
80863
  id,
80582
- input
80864
+ input,
80865
+ ...variables
80583
80866
  })).customerNeedUpdate;
80584
80867
  return new CustomerNeedUpdatePayload(this._request, data);
80585
80868
  }
@@ -92297,10 +92580,11 @@ var LinearSdk = class extends Request {
92297
92580
  *
92298
92581
  * @param id - required id to pass to updateCustomerNeed
92299
92582
  * @param input - required input to pass to updateCustomerNeed
92583
+ * @param variables - variables without 'id', 'input' to pass into the UpdateCustomerNeedMutation
92300
92584
  * @returns CustomerNeedUpdatePayload
92301
92585
  */
92302
- updateCustomerNeed(id, input) {
92303
- return new UpdateCustomerNeedMutation(this._request).fetch(id, input);
92586
+ updateCustomerNeed(id, input, variables) {
92587
+ return new UpdateCustomerNeedMutation(this._request).fetch(id, input, variables);
92304
92588
  }
92305
92589
  /**
92306
92590
  * Creates a new customer status.
@@ -94701,6 +94985,7 @@ exports.AiConversationInvokeMcpToolToolCallArgs = AiConversationInvokeMcpToolToo
94701
94985
  exports.AiConversationInvokeMcpToolToolCallArgsServer = AiConversationInvokeMcpToolToolCallArgsServer;
94702
94986
  exports.AiConversationInvokeMcpToolToolCallArgsTool = AiConversationInvokeMcpToolToolCallArgsTool;
94703
94987
  exports.AiConversationPartMetadata = AiConversationPartMetadata;
94988
+ exports.AiConversationPartPhase = AiConversationPartPhase;
94704
94989
  exports.AiConversationPartType = AiConversationPartType;
94705
94990
  exports.AiConversationPromptPart = AiConversationPromptPart;
94706
94991
  exports.AiConversationQueryActivityToolCall = AiConversationQueryActivityToolCall;
@@ -94716,6 +95001,8 @@ exports.AiConversationReasoningPart = AiConversationReasoningPart;
94716
95001
  exports.AiConversationResearchToolCall = AiConversationResearchToolCall;
94717
95002
  exports.AiConversationResearchToolCallArgs = AiConversationResearchToolCallArgs;
94718
95003
  exports.AiConversationResearchToolCallResult = AiConversationResearchToolCallResult;
95004
+ exports.AiConversationRestoreEntityToolCall = AiConversationRestoreEntityToolCall;
95005
+ exports.AiConversationRestoreEntityToolCallArgs = AiConversationRestoreEntityToolCallArgs;
94719
95006
  exports.AiConversationRetrieveEntitiesToolCall = AiConversationRetrieveEntitiesToolCall;
94720
95007
  exports.AiConversationRetrieveEntitiesToolCallArgs = AiConversationRetrieveEntitiesToolCallArgs;
94721
95008
  exports.AiConversationSearchDocumentationToolCall = AiConversationSearchDocumentationToolCall;