@linear/sdk 68.0.0 → 68.1.1

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
@@ -456,6 +456,8 @@ var _generated_documents_exports = /* @__PURE__ */ require_webhooks.__export({
456
456
  AgentSessionFragmentDoc: () => AgentSessionFragmentDoc,
457
457
  AgentSessionPayloadFragmentDoc: () => AgentSessionPayloadFragmentDoc,
458
458
  AgentSessionStatus: () => AgentSessionStatus,
459
+ AgentSessionToPullRequestConnectionFragmentDoc: () => AgentSessionToPullRequestConnectionFragmentDoc,
460
+ AgentSessionToPullRequestFragmentDoc: () => AgentSessionToPullRequestFragmentDoc,
459
461
  AgentSessionType: () => AgentSessionType,
460
462
  AgentSessionUpdateExternalUrlDocument: () => AgentSessionUpdateExternalUrlDocument,
461
463
  AgentSessionWebhookPayloadFragmentDoc: () => AgentSessionWebhookPayloadFragmentDoc,
@@ -482,6 +484,8 @@ var _generated_documents_exports = /* @__PURE__ */ require_webhooks.__export({
482
484
  ArchiveRoadmapDocument: () => ArchiveRoadmapDocument,
483
485
  ArchiveWorkflowStateDocument: () => ArchiveWorkflowStateDocument,
484
486
  AsksChannelConnectPayloadFragmentDoc: () => AsksChannelConnectPayloadFragmentDoc,
487
+ AsksWebFormsAuthDocument: () => AsksWebFormsAuthDocument,
488
+ AsksWebFormsAuthResponseFragmentDoc: () => AsksWebFormsAuthResponseFragmentDoc,
485
489
  AttachmentConnectionFragmentDoc: () => AttachmentConnectionFragmentDoc,
486
490
  AttachmentDocument: () => AttachmentDocument,
487
491
  AttachmentFragmentDoc: () => AttachmentFragmentDoc,
@@ -1163,6 +1167,7 @@ var _generated_documents_exports = /* @__PURE__ */ require_webhooks.__export({
1163
1167
  Project_DocumentsDocument: () => Project_DocumentsDocument,
1164
1168
  Project_ExternalLinksDocument: () => Project_ExternalLinksDocument,
1165
1169
  Project_HistoryDocument: () => Project_HistoryDocument,
1170
+ Project_InitiativeToProjectsDocument: () => Project_InitiativeToProjectsDocument,
1166
1171
  Project_InitiativesDocument: () => Project_InitiativesDocument,
1167
1172
  Project_InverseRelationsDocument: () => Project_InverseRelationsDocument,
1168
1173
  Project_IssuesDocument: () => Project_IssuesDocument,
@@ -8238,6 +8243,27 @@ const EmailIntakeAddressFragmentDoc = {
8238
8243
  }]
8239
8244
  }
8240
8245
  },
8246
+ {
8247
+ kind: "Field",
8248
+ name: {
8249
+ kind: "Name",
8250
+ value: "issueCanceledAutoReplyData"
8251
+ }
8252
+ },
8253
+ {
8254
+ kind: "Field",
8255
+ name: {
8256
+ kind: "Name",
8257
+ value: "issueCompletedAutoReplyData"
8258
+ }
8259
+ },
8260
+ {
8261
+ kind: "Field",
8262
+ name: {
8263
+ kind: "Name",
8264
+ value: "issueCreatedAutoReplyData"
8265
+ }
8266
+ },
8241
8267
  {
8242
8268
  kind: "Field",
8243
8269
  name: {
@@ -20384,6 +20410,13 @@ const AgentSessionFragmentDoc = {
20384
20410
  }
20385
20411
  }]
20386
20412
  }
20413
+ },
20414
+ {
20415
+ kind: "Field",
20416
+ name: {
20417
+ kind: "Name",
20418
+ value: "externalUrls"
20419
+ }
20387
20420
  }
20388
20421
  ]
20389
20422
  }
@@ -20512,6 +20545,143 @@ const AgentSessionPayloadFragmentDoc = {
20512
20545
  }
20513
20546
  }]
20514
20547
  };
20548
+ const AgentSessionToPullRequestFragmentDoc = {
20549
+ kind: "Document",
20550
+ definitions: [{
20551
+ kind: "FragmentDefinition",
20552
+ name: {
20553
+ kind: "Name",
20554
+ value: "AgentSessionToPullRequest"
20555
+ },
20556
+ typeCondition: {
20557
+ kind: "NamedType",
20558
+ name: {
20559
+ kind: "Name",
20560
+ value: "AgentSessionToPullRequest"
20561
+ }
20562
+ },
20563
+ selectionSet: {
20564
+ kind: "SelectionSet",
20565
+ selections: [
20566
+ {
20567
+ kind: "Field",
20568
+ name: {
20569
+ kind: "Name",
20570
+ value: "__typename"
20571
+ }
20572
+ },
20573
+ {
20574
+ kind: "Field",
20575
+ name: {
20576
+ kind: "Name",
20577
+ value: "agentSession"
20578
+ },
20579
+ selectionSet: {
20580
+ kind: "SelectionSet",
20581
+ selections: [{
20582
+ kind: "Field",
20583
+ name: {
20584
+ kind: "Name",
20585
+ value: "id"
20586
+ }
20587
+ }]
20588
+ }
20589
+ },
20590
+ {
20591
+ kind: "Field",
20592
+ name: {
20593
+ kind: "Name",
20594
+ value: "updatedAt"
20595
+ }
20596
+ },
20597
+ {
20598
+ kind: "Field",
20599
+ name: {
20600
+ kind: "Name",
20601
+ value: "archivedAt"
20602
+ }
20603
+ },
20604
+ {
20605
+ kind: "Field",
20606
+ name: {
20607
+ kind: "Name",
20608
+ value: "createdAt"
20609
+ }
20610
+ },
20611
+ {
20612
+ kind: "Field",
20613
+ name: {
20614
+ kind: "Name",
20615
+ value: "id"
20616
+ }
20617
+ }
20618
+ ]
20619
+ }
20620
+ }]
20621
+ };
20622
+ const AgentSessionToPullRequestConnectionFragmentDoc = {
20623
+ kind: "Document",
20624
+ definitions: [{
20625
+ kind: "FragmentDefinition",
20626
+ name: {
20627
+ kind: "Name",
20628
+ value: "AgentSessionToPullRequestConnection"
20629
+ },
20630
+ typeCondition: {
20631
+ kind: "NamedType",
20632
+ name: {
20633
+ kind: "Name",
20634
+ value: "AgentSessionToPullRequestConnection"
20635
+ }
20636
+ },
20637
+ selectionSet: {
20638
+ kind: "SelectionSet",
20639
+ selections: [
20640
+ {
20641
+ kind: "Field",
20642
+ name: {
20643
+ kind: "Name",
20644
+ value: "__typename"
20645
+ }
20646
+ },
20647
+ {
20648
+ kind: "Field",
20649
+ name: {
20650
+ kind: "Name",
20651
+ value: "nodes"
20652
+ },
20653
+ selectionSet: {
20654
+ kind: "SelectionSet",
20655
+ selections: [{
20656
+ kind: "FragmentSpread",
20657
+ name: {
20658
+ kind: "Name",
20659
+ value: "AgentSessionToPullRequest"
20660
+ }
20661
+ }]
20662
+ }
20663
+ },
20664
+ {
20665
+ kind: "Field",
20666
+ name: {
20667
+ kind: "Name",
20668
+ value: "pageInfo"
20669
+ },
20670
+ selectionSet: {
20671
+ kind: "SelectionSet",
20672
+ selections: [{
20673
+ kind: "FragmentSpread",
20674
+ name: {
20675
+ kind: "Name",
20676
+ value: "PageInfo"
20677
+ }
20678
+ }]
20679
+ }
20680
+ }
20681
+ ]
20682
+ }
20683
+ }]
20684
+ };
20515
20685
  const SlackAsksTeamSettingsFragmentDoc = {
20516
20686
  kind: "Document",
20517
20687
  definitions: [{
@@ -20776,6 +20946,49 @@ const AsksChannelConnectPayloadFragmentDoc = {
20776
20946
  }
20777
20947
  }]
20778
20948
  };
20949
+ const AsksWebFormsAuthResponseFragmentDoc = {
20950
+ kind: "Document",
20951
+ definitions: [{
20952
+ kind: "FragmentDefinition",
20953
+ name: {
20954
+ kind: "Name",
20955
+ value: "AsksWebFormsAuthResponse"
20956
+ },
20957
+ typeCondition: {
20958
+ kind: "NamedType",
20959
+ name: {
20960
+ kind: "Name",
20961
+ value: "AsksWebFormsAuthResponse"
20962
+ }
20963
+ },
20964
+ selectionSet: {
20965
+ kind: "SelectionSet",
20966
+ selections: [
20967
+ {
20968
+ kind: "Field",
20969
+ name: {
20970
+ kind: "Name",
20971
+ value: "__typename"
20972
+ }
20973
+ },
20974
+ {
20975
+ kind: "Field",
20976
+ name: {
20977
+ kind: "Name",
20978
+ value: "name"
20979
+ }
20980
+ },
20981
+ {
20982
+ kind: "Field",
20983
+ name: {
20984
+ kind: "Name",
20985
+ value: "email"
20986
+ }
20987
+ }
20988
+ ]
20989
+ }
20990
+ }]
20991
+ };
20779
20992
  const AttachmentFragmentDoc = {
20780
20993
  kind: "Document",
20781
20994
  definitions: [{
@@ -23164,6 +23377,13 @@ const ViewPreferencesValuesFragmentDoc = {
23164
23377
  value: "viewOrdering"
23165
23378
  }
23166
23379
  },
23380
+ {
23381
+ kind: "Field",
23382
+ name: {
23383
+ kind: "Name",
23384
+ value: "issueSubGrouping"
23385
+ }
23386
+ },
23167
23387
  {
23168
23388
  kind: "Field",
23169
23389
  name: {
@@ -74874,7 +75094,7 @@ const Project_HistoryDocument = {
74874
75094
  ...PageInfoFragmentDoc.definitions
74875
75095
  ]
74876
75096
  };
74877
- const Project_InitiativesDocument = {
75097
+ const Project_InitiativeToProjectsDocument = {
74878
75098
  kind: "Document",
74879
75099
  definitions: [
74880
75100
  {
@@ -74882,7 +75102,7 @@ const Project_InitiativesDocument = {
74882
75102
  operation: "query",
74883
75103
  name: {
74884
75104
  kind: "Name",
74885
- value: "project_initiatives"
75105
+ value: "project_initiativeToProjects"
74886
75106
  },
74887
75107
  variableDefinitions: [
74888
75108
  {
@@ -75036,7 +75256,7 @@ const Project_InitiativesDocument = {
75036
75256
  kind: "Field",
75037
75257
  name: {
75038
75258
  kind: "Name",
75039
- value: "initiatives"
75259
+ value: "initiativeToProjects"
75040
75260
  },
75041
75261
  arguments: [
75042
75262
  {
@@ -75130,7 +75350,7 @@ const Project_InitiativesDocument = {
75130
75350
  kind: "FragmentSpread",
75131
75351
  name: {
75132
75352
  kind: "Name",
75133
- value: "InitiativeConnection"
75353
+ value: "InitiativeToProjectConnection"
75134
75354
  }
75135
75355
  }]
75136
75356
  }
@@ -75139,14 +75359,12 @@ const Project_InitiativesDocument = {
75139
75359
  }]
75140
75360
  }
75141
75361
  },
75142
- ...InitiativeConnectionFragmentDoc.definitions,
75143
- ...InitiativeFragmentDoc.definitions,
75144
- ...DocumentContentFragmentDoc.definitions,
75145
- ...AiPromptRulesFragmentDoc.definitions,
75362
+ ...InitiativeToProjectConnectionFragmentDoc.definitions,
75363
+ ...InitiativeToProjectFragmentDoc.definitions,
75146
75364
  ...PageInfoFragmentDoc.definitions
75147
75365
  ]
75148
75366
  };
75149
- const Project_InverseRelationsDocument = {
75367
+ const Project_InitiativesDocument = {
75150
75368
  kind: "Document",
75151
75369
  definitions: [
75152
75370
  {
@@ -75154,7 +75372,7 @@ const Project_InverseRelationsDocument = {
75154
75372
  operation: "query",
75155
75373
  name: {
75156
75374
  kind: "Name",
75157
- value: "project_inverseRelations"
75375
+ value: "project_initiatives"
75158
75376
  },
75159
75377
  variableDefinitions: [
75160
75378
  {
@@ -75308,7 +75526,7 @@ const Project_InverseRelationsDocument = {
75308
75526
  kind: "Field",
75309
75527
  name: {
75310
75528
  kind: "Name",
75311
- value: "inverseRelations"
75529
+ value: "initiatives"
75312
75530
  },
75313
75531
  arguments: [
75314
75532
  {
@@ -75402,7 +75620,7 @@ const Project_InverseRelationsDocument = {
75402
75620
  kind: "FragmentSpread",
75403
75621
  name: {
75404
75622
  kind: "Name",
75405
- value: "ProjectRelationConnection"
75623
+ value: "InitiativeConnection"
75406
75624
  }
75407
75625
  }]
75408
75626
  }
@@ -75411,12 +75629,14 @@ const Project_InverseRelationsDocument = {
75411
75629
  }]
75412
75630
  }
75413
75631
  },
75414
- ...ProjectRelationConnectionFragmentDoc.definitions,
75415
- ...ProjectRelationFragmentDoc.definitions,
75632
+ ...InitiativeConnectionFragmentDoc.definitions,
75633
+ ...InitiativeFragmentDoc.definitions,
75634
+ ...DocumentContentFragmentDoc.definitions,
75635
+ ...AiPromptRulesFragmentDoc.definitions,
75416
75636
  ...PageInfoFragmentDoc.definitions
75417
75637
  ]
75418
75638
  };
75419
- const Project_IssuesDocument = {
75639
+ const Project_InverseRelationsDocument = {
75420
75640
  kind: "Document",
75421
75641
  definitions: [
75422
75642
  {
@@ -75424,7 +75644,7 @@ const Project_IssuesDocument = {
75424
75644
  operation: "query",
75425
75645
  name: {
75426
75646
  kind: "Name",
75427
- value: "project_issues"
75647
+ value: "project_inverseRelations"
75428
75648
  },
75429
75649
  variableDefinitions: [
75430
75650
  {
@@ -75481,23 +75701,6 @@ const Project_IssuesDocument = {
75481
75701
  }
75482
75702
  }
75483
75703
  },
75484
- {
75485
- kind: "VariableDefinition",
75486
- variable: {
75487
- kind: "Variable",
75488
- name: {
75489
- kind: "Name",
75490
- value: "filter"
75491
- }
75492
- },
75493
- type: {
75494
- kind: "NamedType",
75495
- name: {
75496
- kind: "Name",
75497
- value: "IssueFilter"
75498
- }
75499
- }
75500
- },
75501
75704
  {
75502
75705
  kind: "VariableDefinition",
75503
75706
  variable: {
@@ -75595,7 +75798,7 @@ const Project_IssuesDocument = {
75595
75798
  kind: "Field",
75596
75799
  name: {
75597
75800
  kind: "Name",
75598
- value: "issues"
75801
+ value: "inverseRelations"
75599
75802
  },
75600
75803
  arguments: [
75601
75804
  {
@@ -75626,20 +75829,307 @@ const Project_IssuesDocument = {
75626
75829
  }
75627
75830
  }
75628
75831
  },
75629
- {
75630
- kind: "Argument",
75631
- name: {
75632
- kind: "Name",
75633
- value: "filter"
75634
- },
75635
- value: {
75636
- kind: "Variable",
75637
- name: {
75638
- kind: "Name",
75639
- value: "filter"
75640
- }
75641
- }
75642
- },
75832
+ {
75833
+ kind: "Argument",
75834
+ name: {
75835
+ kind: "Name",
75836
+ value: "first"
75837
+ },
75838
+ value: {
75839
+ kind: "Variable",
75840
+ name: {
75841
+ kind: "Name",
75842
+ value: "first"
75843
+ }
75844
+ }
75845
+ },
75846
+ {
75847
+ kind: "Argument",
75848
+ name: {
75849
+ kind: "Name",
75850
+ value: "includeArchived"
75851
+ },
75852
+ value: {
75853
+ kind: "Variable",
75854
+ name: {
75855
+ kind: "Name",
75856
+ value: "includeArchived"
75857
+ }
75858
+ }
75859
+ },
75860
+ {
75861
+ kind: "Argument",
75862
+ name: {
75863
+ kind: "Name",
75864
+ value: "last"
75865
+ },
75866
+ value: {
75867
+ kind: "Variable",
75868
+ name: {
75869
+ kind: "Name",
75870
+ value: "last"
75871
+ }
75872
+ }
75873
+ },
75874
+ {
75875
+ kind: "Argument",
75876
+ name: {
75877
+ kind: "Name",
75878
+ value: "orderBy"
75879
+ },
75880
+ value: {
75881
+ kind: "Variable",
75882
+ name: {
75883
+ kind: "Name",
75884
+ value: "orderBy"
75885
+ }
75886
+ }
75887
+ }
75888
+ ],
75889
+ selectionSet: {
75890
+ kind: "SelectionSet",
75891
+ selections: [{
75892
+ kind: "FragmentSpread",
75893
+ name: {
75894
+ kind: "Name",
75895
+ value: "ProjectRelationConnection"
75896
+ }
75897
+ }]
75898
+ }
75899
+ }]
75900
+ }
75901
+ }]
75902
+ }
75903
+ },
75904
+ ...ProjectRelationConnectionFragmentDoc.definitions,
75905
+ ...ProjectRelationFragmentDoc.definitions,
75906
+ ...PageInfoFragmentDoc.definitions
75907
+ ]
75908
+ };
75909
+ const Project_IssuesDocument = {
75910
+ kind: "Document",
75911
+ definitions: [
75912
+ {
75913
+ kind: "OperationDefinition",
75914
+ operation: "query",
75915
+ name: {
75916
+ kind: "Name",
75917
+ value: "project_issues"
75918
+ },
75919
+ variableDefinitions: [
75920
+ {
75921
+ kind: "VariableDefinition",
75922
+ variable: {
75923
+ kind: "Variable",
75924
+ name: {
75925
+ kind: "Name",
75926
+ value: "id"
75927
+ }
75928
+ },
75929
+ type: {
75930
+ kind: "NonNullType",
75931
+ type: {
75932
+ kind: "NamedType",
75933
+ name: {
75934
+ kind: "Name",
75935
+ value: "String"
75936
+ }
75937
+ }
75938
+ }
75939
+ },
75940
+ {
75941
+ kind: "VariableDefinition",
75942
+ variable: {
75943
+ kind: "Variable",
75944
+ name: {
75945
+ kind: "Name",
75946
+ value: "after"
75947
+ }
75948
+ },
75949
+ type: {
75950
+ kind: "NamedType",
75951
+ name: {
75952
+ kind: "Name",
75953
+ value: "String"
75954
+ }
75955
+ }
75956
+ },
75957
+ {
75958
+ kind: "VariableDefinition",
75959
+ variable: {
75960
+ kind: "Variable",
75961
+ name: {
75962
+ kind: "Name",
75963
+ value: "before"
75964
+ }
75965
+ },
75966
+ type: {
75967
+ kind: "NamedType",
75968
+ name: {
75969
+ kind: "Name",
75970
+ value: "String"
75971
+ }
75972
+ }
75973
+ },
75974
+ {
75975
+ kind: "VariableDefinition",
75976
+ variable: {
75977
+ kind: "Variable",
75978
+ name: {
75979
+ kind: "Name",
75980
+ value: "filter"
75981
+ }
75982
+ },
75983
+ type: {
75984
+ kind: "NamedType",
75985
+ name: {
75986
+ kind: "Name",
75987
+ value: "IssueFilter"
75988
+ }
75989
+ }
75990
+ },
75991
+ {
75992
+ kind: "VariableDefinition",
75993
+ variable: {
75994
+ kind: "Variable",
75995
+ name: {
75996
+ kind: "Name",
75997
+ value: "first"
75998
+ }
75999
+ },
76000
+ type: {
76001
+ kind: "NamedType",
76002
+ name: {
76003
+ kind: "Name",
76004
+ value: "Int"
76005
+ }
76006
+ }
76007
+ },
76008
+ {
76009
+ kind: "VariableDefinition",
76010
+ variable: {
76011
+ kind: "Variable",
76012
+ name: {
76013
+ kind: "Name",
76014
+ value: "includeArchived"
76015
+ }
76016
+ },
76017
+ type: {
76018
+ kind: "NamedType",
76019
+ name: {
76020
+ kind: "Name",
76021
+ value: "Boolean"
76022
+ }
76023
+ }
76024
+ },
76025
+ {
76026
+ kind: "VariableDefinition",
76027
+ variable: {
76028
+ kind: "Variable",
76029
+ name: {
76030
+ kind: "Name",
76031
+ value: "last"
76032
+ }
76033
+ },
76034
+ type: {
76035
+ kind: "NamedType",
76036
+ name: {
76037
+ kind: "Name",
76038
+ value: "Int"
76039
+ }
76040
+ }
76041
+ },
76042
+ {
76043
+ kind: "VariableDefinition",
76044
+ variable: {
76045
+ kind: "Variable",
76046
+ name: {
76047
+ kind: "Name",
76048
+ value: "orderBy"
76049
+ }
76050
+ },
76051
+ type: {
76052
+ kind: "NamedType",
76053
+ name: {
76054
+ kind: "Name",
76055
+ value: "PaginationOrderBy"
76056
+ }
76057
+ }
76058
+ }
76059
+ ],
76060
+ selectionSet: {
76061
+ kind: "SelectionSet",
76062
+ selections: [{
76063
+ kind: "Field",
76064
+ name: {
76065
+ kind: "Name",
76066
+ value: "project"
76067
+ },
76068
+ arguments: [{
76069
+ kind: "Argument",
76070
+ name: {
76071
+ kind: "Name",
76072
+ value: "id"
76073
+ },
76074
+ value: {
76075
+ kind: "Variable",
76076
+ name: {
76077
+ kind: "Name",
76078
+ value: "id"
76079
+ }
76080
+ }
76081
+ }],
76082
+ selectionSet: {
76083
+ kind: "SelectionSet",
76084
+ selections: [{
76085
+ kind: "Field",
76086
+ name: {
76087
+ kind: "Name",
76088
+ value: "issues"
76089
+ },
76090
+ arguments: [
76091
+ {
76092
+ kind: "Argument",
76093
+ name: {
76094
+ kind: "Name",
76095
+ value: "after"
76096
+ },
76097
+ value: {
76098
+ kind: "Variable",
76099
+ name: {
76100
+ kind: "Name",
76101
+ value: "after"
76102
+ }
76103
+ }
76104
+ },
76105
+ {
76106
+ kind: "Argument",
76107
+ name: {
76108
+ kind: "Name",
76109
+ value: "before"
76110
+ },
76111
+ value: {
76112
+ kind: "Variable",
76113
+ name: {
76114
+ kind: "Name",
76115
+ value: "before"
76116
+ }
76117
+ }
76118
+ },
76119
+ {
76120
+ kind: "Argument",
76121
+ name: {
76122
+ kind: "Name",
76123
+ value: "filter"
76124
+ },
76125
+ value: {
76126
+ kind: "Variable",
76127
+ name: {
76128
+ kind: "Name",
76129
+ value: "filter"
76130
+ }
76131
+ }
76132
+ },
75643
76133
  {
75644
76134
  kind: "Argument",
75645
76135
  name: {
@@ -96092,6 +96582,71 @@ const AirbyteIntegrationConnectDocument = {
96092
96582
  }
96093
96583
  }, ...IntegrationPayloadFragmentDoc.definitions]
96094
96584
  };
96585
+ const AsksWebFormsAuthDocument = {
96586
+ kind: "Document",
96587
+ definitions: [{
96588
+ kind: "OperationDefinition",
96589
+ operation: "mutation",
96590
+ name: {
96591
+ kind: "Name",
96592
+ value: "asksWebFormsAuth"
96593
+ },
96594
+ variableDefinitions: [{
96595
+ kind: "VariableDefinition",
96596
+ variable: {
96597
+ kind: "Variable",
96598
+ name: {
96599
+ kind: "Name",
96600
+ value: "token"
96601
+ }
96602
+ },
96603
+ type: {
96604
+ kind: "NonNullType",
96605
+ type: {
96606
+ kind: "NamedType",
96607
+ name: {
96608
+ kind: "Name",
96609
+ value: "String"
96610
+ }
96611
+ }
96612
+ }
96613
+ }],
96614
+ selectionSet: {
96615
+ kind: "SelectionSet",
96616
+ selections: [{
96617
+ kind: "Field",
96618
+ name: {
96619
+ kind: "Name",
96620
+ value: "asksWebFormsAuth"
96621
+ },
96622
+ arguments: [{
96623
+ kind: "Argument",
96624
+ name: {
96625
+ kind: "Name",
96626
+ value: "token"
96627
+ },
96628
+ value: {
96629
+ kind: "Variable",
96630
+ name: {
96631
+ kind: "Name",
96632
+ value: "token"
96633
+ }
96634
+ }
96635
+ }],
96636
+ selectionSet: {
96637
+ kind: "SelectionSet",
96638
+ selections: [{
96639
+ kind: "FragmentSpread",
96640
+ name: {
96641
+ kind: "Name",
96642
+ value: "AsksWebFormsAuthResponse"
96643
+ }
96644
+ }]
96645
+ }
96646
+ }]
96647
+ }
96648
+ }, ...AsksWebFormsAuthResponseFragmentDoc.definitions]
96649
+ };
96095
96650
  const CreateAttachmentDocument = {
96096
96651
  kind: "Document",
96097
96652
  definitions: [{
@@ -121864,6 +122419,7 @@ var AgentSession = class extends Request {
121864
122419
  this.dismissedAt = parseDate(data.dismissedAt) ?? void 0;
121865
122420
  this.endedAt = parseDate(data.endedAt) ?? void 0;
121866
122421
  this.externalLink = data.externalLink ?? void 0;
122422
+ this.externalUrls = parseJson(data.externalUrls) ?? {};
121867
122423
  this.id = data.id;
121868
122424
  this.plan = parseJson(data.plan) ?? void 0;
121869
122425
  this.sourceMetadata = parseJson(data.sourceMetadata) ?? void 0;
@@ -121889,6 +122445,8 @@ var AgentSession = class extends Request {
121889
122445
  endedAt;
121890
122446
  /** The URL of an external agent-hosted page associated with this session. */
121891
122447
  externalLink;
122448
+ /** URLs of external resources associated with this session. */
122449
+ externalUrls;
121892
122450
  /** The unique identifier of the entity. */
121893
122451
  id;
121894
122452
  /** A dynamically updated list of the agent's execution strategy. */
@@ -122053,6 +122611,54 @@ var AgentSessionPayload = class extends Request {
122053
122611
  }
122054
122612
  };
122055
122613
  /**
122614
+ * Join table between agent sessions and pull requests.
122615
+ *
122616
+ * @param request - function to call the graphql client
122617
+ * @param data - L.AgentSessionToPullRequestFragment response data
122618
+ */
122619
+ var AgentSessionToPullRequest = class extends Request {
122620
+ _agentSession;
122621
+ constructor(request, data) {
122622
+ super(request);
122623
+ this.archivedAt = parseDate(data.archivedAt) ?? void 0;
122624
+ this.createdAt = parseDate(data.createdAt) ?? /* @__PURE__ */ new Date();
122625
+ this.id = data.id;
122626
+ this.updatedAt = parseDate(data.updatedAt) ?? /* @__PURE__ */ new Date();
122627
+ this._agentSession = data.agentSession;
122628
+ }
122629
+ /** The time at which the entity was archived. Null if the entity has not been archived. */
122630
+ archivedAt;
122631
+ /** The time at which the entity was created. */
122632
+ createdAt;
122633
+ /** The unique identifier of the entity. */
122634
+ id;
122635
+ /**
122636
+ * The last time at which the entity was meaningfully updated. This is the same as the creation time if the entity hasn't
122637
+ * been updated after creation.
122638
+ */
122639
+ updatedAt;
122640
+ /** The agent session that the pull request is associated with. */
122641
+ get agentSession() {
122642
+ return new AgentSessionQuery(this._request).fetch(this._agentSession.id);
122643
+ }
122644
+ /** The ID of agent session that the pull request is associated with. */
122645
+ get agentSessionId() {
122646
+ return this._agentSession?.id;
122647
+ }
122648
+ };
122649
+ /**
122650
+ * AgentSessionToPullRequestConnection model
122651
+ *
122652
+ * @param request - function to call the graphql client
122653
+ * @param fetch - function to trigger a refetch of this AgentSessionToPullRequestConnection model
122654
+ * @param data - AgentSessionToPullRequestConnection response data
122655
+ */
122656
+ var AgentSessionToPullRequestConnection = class extends Connection {
122657
+ constructor(request, fetch$1, data) {
122658
+ super(request, fetch$1, data.nodes.map((node) => new AgentSessionToPullRequest(request, node)), new PageInfo(request, data.pageInfo));
122659
+ }
122660
+ };
122661
+ /**
122056
122662
  * Payload for an agent session webhook.
122057
122663
  *
122058
122664
  * @param data - L.AgentSessionWebhookPayloadFragment response data
@@ -122335,6 +122941,23 @@ var AsksChannelConnectPayload = class extends Request {
122335
122941
  }
122336
122942
  };
122337
122943
  /**
122944
+ * AsksWebFormsAuthResponse model
122945
+ *
122946
+ * @param request - function to call the graphql client
122947
+ * @param data - L.AsksWebFormsAuthResponseFragment response data
122948
+ */
122949
+ var AsksWebFormsAuthResponse = class extends Request {
122950
+ constructor(request, data) {
122951
+ super(request);
122952
+ this.email = data.email;
122953
+ this.name = data.name;
122954
+ }
122955
+ /** User email. */
122956
+ email;
122957
+ /** User display name. */
122958
+ name;
122959
+ };
122960
+ /**
122338
122961
  * Issue attachment (e.g. support ticket, pull request).
122339
122962
  *
122340
122963
  * @param request - function to call the graphql client
@@ -126046,10 +126669,13 @@ var EmailIntakeAddress = class extends Request {
126046
126669
  this.forwardingEmailAddress = data.forwardingEmailAddress ?? void 0;
126047
126670
  this.id = data.id;
126048
126671
  this.issueCanceledAutoReply = data.issueCanceledAutoReply ?? void 0;
126672
+ this.issueCanceledAutoReplyData = data.issueCanceledAutoReplyData ?? void 0;
126049
126673
  this.issueCanceledAutoReplyEnabled = data.issueCanceledAutoReplyEnabled;
126050
126674
  this.issueCompletedAutoReply = data.issueCompletedAutoReply ?? void 0;
126675
+ this.issueCompletedAutoReplyData = data.issueCompletedAutoReplyData ?? void 0;
126051
126676
  this.issueCompletedAutoReplyEnabled = data.issueCompletedAutoReplyEnabled;
126052
126677
  this.issueCreatedAutoReply = data.issueCreatedAutoReply ?? void 0;
126678
+ this.issueCreatedAutoReplyData = data.issueCreatedAutoReplyData ?? void 0;
126053
126679
  this.issueCreatedAutoReplyEnabled = data.issueCreatedAutoReplyEnabled;
126054
126680
  this.repliesEnabled = data.repliesEnabled;
126055
126681
  this.senderName = data.senderName ?? void 0;
@@ -126077,14 +126703,20 @@ var EmailIntakeAddress = class extends Request {
126077
126703
  id;
126078
126704
  /** The auto-reply message for issue canceled. If not set, the default reply will be used. */
126079
126705
  issueCanceledAutoReply;
126706
+ /** The auto-reply ProseMirror JSON for issue canceled. If not set, the default reply will be used. */
126707
+ issueCanceledAutoReplyData;
126080
126708
  /** Whether the auto-reply for issue canceled is enabled. */
126081
126709
  issueCanceledAutoReplyEnabled;
126082
126710
  /** The auto-reply message for issue completed. If not set, the default reply will be used. */
126083
126711
  issueCompletedAutoReply;
126712
+ /** The auto-reply ProseMirror JSON for issue completed. If not set, the default reply will be used. */
126713
+ issueCompletedAutoReplyData;
126084
126714
  /** Whether the auto-reply for issue completed is enabled. */
126085
126715
  issueCompletedAutoReplyEnabled;
126086
126716
  /** The auto-reply message for issue created. If not set, the default reply will be used. */
126087
126717
  issueCreatedAutoReply;
126718
+ /** The auto-reply ProseMirror JSON for issue created. If not set, the default reply will be used. */
126719
+ issueCreatedAutoReplyData;
126088
126720
  /** Whether the auto-reply for issue created is enabled. */
126089
126721
  issueCreatedAutoReplyEnabled;
126090
126722
  /** Whether email replies are enabled. */
@@ -133527,6 +134159,10 @@ var Project = class extends Request {
133527
134159
  history(variables) {
133528
134160
  return new Project_HistoryQuery(this._request, this.id, variables).fetch(variables);
133529
134161
  }
134162
+ /** Associations of this project to parent initiatives. */
134163
+ initiativeToProjects(variables) {
134164
+ return new Project_InitiativeToProjectsQuery(this._request, this.id, variables).fetch(variables);
134165
+ }
133530
134166
  /** Initiatives that this project belongs to. */
133531
134167
  initiatives(variables) {
133532
134168
  return new Project_InitiativesQuery(this._request, this.id, variables).fetch(variables);
@@ -138394,11 +139030,14 @@ var ViewPreferencesValues = class extends Request {
138394
139030
  constructor(request, data) {
138395
139031
  super(request);
138396
139032
  this.issueGrouping = data.issueGrouping ?? void 0;
139033
+ this.issueSubGrouping = data.issueSubGrouping ?? void 0;
138397
139034
  this.showCompletedIssues = data.showCompletedIssues ?? void 0;
138398
139035
  this.viewOrdering = data.viewOrdering ?? void 0;
138399
139036
  }
138400
139037
  /** The issue grouping. */
138401
139038
  issueGrouping;
139039
+ /** The issue sub grouping. */
139040
+ issueSubGrouping;
138402
139041
  /** Whether to show completed issues. */
138403
139042
  showCompletedIssues;
138404
139043
  /** The issue ordering. */
@@ -141478,6 +142117,26 @@ var AirbyteIntegrationConnectMutation = class extends Request {
141478
142117
  }
141479
142118
  };
141480
142119
  /**
142120
+ * A fetchable AsksWebFormsAuth Mutation
142121
+ *
142122
+ * @param request - function to call the graphql client
142123
+ */
142124
+ var AsksWebFormsAuthMutation = class extends Request {
142125
+ constructor(request) {
142126
+ super(request);
142127
+ }
142128
+ /**
142129
+ * Call the AsksWebFormsAuth mutation and return a AsksWebFormsAuthResponse
142130
+ *
142131
+ * @param token - required token to pass to asksWebFormsAuth
142132
+ * @returns parsed response from AsksWebFormsAuthMutation
142133
+ */
142134
+ async fetch(token) {
142135
+ const data = (await this._request(AsksWebFormsAuthDocument, { token })).asksWebFormsAuth;
142136
+ return new AsksWebFormsAuthResponse(this._request, data);
142137
+ }
142138
+ };
142139
+ /**
141481
142140
  * A fetchable CreateAttachment Mutation
141482
142141
  *
141483
142142
  * @param request - function to call the graphql client
@@ -150130,6 +150789,40 @@ var Project_HistoryQuery = class extends Request {
150130
150789
  }
150131
150790
  };
150132
150791
  /**
150792
+ * A fetchable Project_InitiativeToProjects Query
150793
+ *
150794
+ * @param request - function to call the graphql client
150795
+ * @param id - required id to pass to project
150796
+ * @param variables - variables without 'id' to pass into the Project_InitiativeToProjectsQuery
150797
+ */
150798
+ var Project_InitiativeToProjectsQuery = class extends Request {
150799
+ _id;
150800
+ _variables;
150801
+ constructor(request, id, variables) {
150802
+ super(request);
150803
+ this._id = id;
150804
+ this._variables = variables;
150805
+ }
150806
+ /**
150807
+ * Call the Project_InitiativeToProjects query and return a InitiativeToProjectConnection
150808
+ *
150809
+ * @param variables - variables without 'id' to pass into the Project_InitiativeToProjectsQuery
150810
+ * @returns parsed response from Project_InitiativeToProjectsQuery
150811
+ */
150812
+ async fetch(variables) {
150813
+ const data = (await this._request(Project_InitiativeToProjectsDocument, {
150814
+ id: this._id,
150815
+ ...this._variables,
150816
+ ...variables
150817
+ })).project.initiativeToProjects;
150818
+ return new InitiativeToProjectConnection(this._request, (connection) => this.fetch(defaultConnection({
150819
+ ...this._variables,
150820
+ ...variables,
150821
+ ...connection
150822
+ })), data);
150823
+ }
150824
+ };
150825
+ /**
150133
150826
  * A fetchable Project_Initiatives Query
150134
150827
  *
150135
150828
  * @param request - function to call the graphql client
@@ -153303,6 +153996,15 @@ var LinearSdk = class extends Request {
153303
153996
  return new AirbyteIntegrationConnectMutation(this._request).fetch(input);
153304
153997
  }
153305
153998
  /**
153999
+ * Authenticate a user to the Asks web forms app.
154000
+ *
154001
+ * @param token - required token to pass to asksWebFormsAuth
154002
+ * @returns AsksWebFormsAuthResponse
154003
+ */
154004
+ asksWebFormsAuth(token) {
154005
+ return new AsksWebFormsAuthMutation(this._request).fetch(token);
154006
+ }
154007
+ /**
153306
154008
  * Creates a new attachment, or updates existing if the same `url` and `issueId` is used.
153307
154009
  *
153308
154010
  * @param input - required input to pass to createAttachment
@@ -156022,6 +156724,8 @@ exports.AgentSessionEventWebhookPayload = AgentSessionEventWebhookPayload;
156022
156724
  exports.AgentSessionPayload = AgentSessionPayload;
156023
156725
  exports.AgentSessionQuery = AgentSessionQuery;
156024
156726
  exports.AgentSessionStatus = AgentSessionStatus;
156727
+ exports.AgentSessionToPullRequest = AgentSessionToPullRequest;
156728
+ exports.AgentSessionToPullRequestConnection = AgentSessionToPullRequestConnection;
156025
156729
  exports.AgentSessionType = AgentSessionType;
156026
156730
  exports.AgentSessionUpdateExternalUrlMutation = AgentSessionUpdateExternalUrlMutation;
156027
156731
  exports.AgentSessionWebhookPayload = AgentSessionWebhookPayload;
@@ -156048,6 +156752,8 @@ exports.ArchiveResponse = ArchiveResponse;
156048
156752
  exports.ArchiveRoadmapMutation = ArchiveRoadmapMutation;
156049
156753
  exports.ArchiveWorkflowStateMutation = ArchiveWorkflowStateMutation;
156050
156754
  exports.AsksChannelConnectPayload = AsksChannelConnectPayload;
156755
+ exports.AsksWebFormsAuthMutation = AsksWebFormsAuthMutation;
156756
+ exports.AsksWebFormsAuthResponse = AsksWebFormsAuthResponse;
156051
156757
  exports.Attachment = Attachment;
156052
156758
  exports.AttachmentConnection = AttachmentConnection;
156053
156759
  exports.AttachmentIssueQuery = AttachmentIssueQuery;
@@ -156755,6 +157461,7 @@ exports.Project_DocumentContent_AiPromptRulesQuery = Project_DocumentContent_AiP
156755
157461
  exports.Project_DocumentsQuery = Project_DocumentsQuery;
156756
157462
  exports.Project_ExternalLinksQuery = Project_ExternalLinksQuery;
156757
157463
  exports.Project_HistoryQuery = Project_HistoryQuery;
157464
+ exports.Project_InitiativeToProjectsQuery = Project_InitiativeToProjectsQuery;
156758
157465
  exports.Project_InitiativesQuery = Project_InitiativesQuery;
156759
157466
  exports.Project_InverseRelationsQuery = Project_InverseRelationsQuery;
156760
157467
  exports.Project_IssuesQuery = Project_IssuesQuery;