@kilocode/sdk 7.4.9 → 7.4.13
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/v2/client.d.ts +1 -1
- package/dist/v2/gen/sdk.gen.d.ts +217 -35
- package/dist/v2/gen/sdk.gen.js +323 -45
- package/dist/v2/gen/types.gen.d.ts +988 -376
- package/package.json +1 -1
package/dist/v2/gen/sdk.gen.js
CHANGED
|
@@ -314,17 +314,9 @@ export class ProjectCopy extends HeyApiClient {
|
|
|
314
314
|
{
|
|
315
315
|
args: [
|
|
316
316
|
{ in: "path", key: "projectID" },
|
|
317
|
-
{
|
|
318
|
-
in: "query",
|
|
319
|
-
key: "query_directory",
|
|
320
|
-
map: "directory",
|
|
321
|
-
},
|
|
322
317
|
{ in: "query", key: "workspace" },
|
|
323
|
-
{
|
|
324
|
-
|
|
325
|
-
key: "body_directory",
|
|
326
|
-
map: "directory",
|
|
327
|
-
},
|
|
318
|
+
{ in: "body", key: "directory" },
|
|
319
|
+
{ in: "body", key: "force" },
|
|
328
320
|
],
|
|
329
321
|
},
|
|
330
322
|
]);
|
|
@@ -5308,6 +5300,7 @@ export class Memory extends HeyApiClient {
|
|
|
5308
5300
|
{ in: "query", key: "directory" },
|
|
5309
5301
|
{ in: "query", key: "workspace" },
|
|
5310
5302
|
{ in: "body", key: "autoConsolidate" },
|
|
5303
|
+
{ in: "body", key: "verbose" },
|
|
5311
5304
|
],
|
|
5312
5305
|
},
|
|
5313
5306
|
]);
|
|
@@ -5456,9 +5449,9 @@ export class Memory extends HeyApiClient {
|
|
|
5456
5449
|
}
|
|
5457
5450
|
export class Health extends HeyApiClient {
|
|
5458
5451
|
/**
|
|
5459
|
-
* Check
|
|
5452
|
+
* Check server health
|
|
5460
5453
|
*
|
|
5461
|
-
* Check whether the
|
|
5454
|
+
* Check whether the API server is ready to accept requests.
|
|
5462
5455
|
*/
|
|
5463
5456
|
get(options) {
|
|
5464
5457
|
return (options?.client ?? this.client).get({
|
|
@@ -5467,11 +5460,26 @@ export class Health extends HeyApiClient {
|
|
|
5467
5460
|
});
|
|
5468
5461
|
}
|
|
5469
5462
|
}
|
|
5463
|
+
export class Location extends HeyApiClient {
|
|
5464
|
+
/**
|
|
5465
|
+
* Get location
|
|
5466
|
+
*
|
|
5467
|
+
* Resolve the requested location or the server default location.
|
|
5468
|
+
*/
|
|
5469
|
+
get(parameters, options) {
|
|
5470
|
+
const params = buildClientParams([parameters], [{ args: [{ in: "query", key: "location" }] }]);
|
|
5471
|
+
return (options?.client ?? this.client).get({
|
|
5472
|
+
url: "/api/location",
|
|
5473
|
+
...options,
|
|
5474
|
+
...params,
|
|
5475
|
+
});
|
|
5476
|
+
}
|
|
5477
|
+
}
|
|
5470
5478
|
export class Agent extends HeyApiClient {
|
|
5471
5479
|
/**
|
|
5472
|
-
* List
|
|
5480
|
+
* List agents
|
|
5473
5481
|
*
|
|
5474
|
-
* Retrieve currently registered
|
|
5482
|
+
* Retrieve currently registered agents.
|
|
5475
5483
|
*/
|
|
5476
5484
|
list(parameters, options) {
|
|
5477
5485
|
const params = buildClientParams([parameters], [{ args: [{ in: "query", key: "location" }] }]);
|
|
@@ -5491,7 +5499,7 @@ export class Permission2 extends HeyApiClient {
|
|
|
5491
5499
|
list(parameters, options) {
|
|
5492
5500
|
const params = buildClientParams([parameters], [{ args: [{ in: "path", key: "sessionID" }] }]);
|
|
5493
5501
|
return (options?.client ?? this.client).get({
|
|
5494
|
-
url: "/api/session/{sessionID}/permission
|
|
5502
|
+
url: "/api/session/{sessionID}/permission",
|
|
5495
5503
|
...options,
|
|
5496
5504
|
...params,
|
|
5497
5505
|
});
|
|
@@ -5513,7 +5521,7 @@ export class Permission2 extends HeyApiClient {
|
|
|
5513
5521
|
},
|
|
5514
5522
|
]);
|
|
5515
5523
|
return (options?.client ?? this.client).post({
|
|
5516
|
-
url: "/api/session/{sessionID}/permission/
|
|
5524
|
+
url: "/api/session/{sessionID}/permission/{requestID}/reply",
|
|
5517
5525
|
...options,
|
|
5518
5526
|
...params,
|
|
5519
5527
|
headers: {
|
|
@@ -5525,6 +5533,19 @@ export class Permission2 extends HeyApiClient {
|
|
|
5525
5533
|
}
|
|
5526
5534
|
}
|
|
5527
5535
|
export class Question2 extends HeyApiClient {
|
|
5536
|
+
/**
|
|
5537
|
+
* List session question requests
|
|
5538
|
+
*
|
|
5539
|
+
* Retrieve pending question requests owned by a session.
|
|
5540
|
+
*/
|
|
5541
|
+
list(parameters, options) {
|
|
5542
|
+
const params = buildClientParams([parameters], [{ args: [{ in: "path", key: "sessionID" }] }]);
|
|
5543
|
+
return (options?.client ?? this.client).get({
|
|
5544
|
+
url: "/api/session/{sessionID}/question",
|
|
5545
|
+
...options,
|
|
5546
|
+
...params,
|
|
5547
|
+
});
|
|
5548
|
+
}
|
|
5528
5549
|
/**
|
|
5529
5550
|
* Reply to pending question request
|
|
5530
5551
|
*
|
|
@@ -5541,7 +5562,7 @@ export class Question2 extends HeyApiClient {
|
|
|
5541
5562
|
},
|
|
5542
5563
|
]);
|
|
5543
5564
|
return (options?.client ?? this.client).post({
|
|
5544
|
-
url: "/api/session/{sessionID}/question/
|
|
5565
|
+
url: "/api/session/{sessionID}/question/{requestID}/reply",
|
|
5545
5566
|
...options,
|
|
5546
5567
|
...params,
|
|
5547
5568
|
headers: {
|
|
@@ -5566,7 +5587,7 @@ export class Question2 extends HeyApiClient {
|
|
|
5566
5587
|
},
|
|
5567
5588
|
]);
|
|
5568
5589
|
return (options?.client ?? this.client).post({
|
|
5569
|
-
url: "/api/session/{sessionID}/question/
|
|
5590
|
+
url: "/api/session/{sessionID}/question/{requestID}/reject",
|
|
5570
5591
|
...options,
|
|
5571
5592
|
...params,
|
|
5572
5593
|
});
|
|
@@ -5574,7 +5595,7 @@ export class Question2 extends HeyApiClient {
|
|
|
5574
5595
|
}
|
|
5575
5596
|
export class Session4 extends HeyApiClient {
|
|
5576
5597
|
/**
|
|
5577
|
-
* List
|
|
5598
|
+
* List sessions
|
|
5578
5599
|
*
|
|
5579
5600
|
* Retrieve sessions in the requested order. Items keep that order across pages; use cursor.next or cursor.previous to move through the ordered list.
|
|
5580
5601
|
*/
|
|
@@ -5600,9 +5621,49 @@ export class Session4 extends HeyApiClient {
|
|
|
5600
5621
|
});
|
|
5601
5622
|
}
|
|
5602
5623
|
/**
|
|
5603
|
-
*
|
|
5624
|
+
* Create session
|
|
5625
|
+
*
|
|
5626
|
+
* Create a session at the requested location.
|
|
5627
|
+
*/
|
|
5628
|
+
create(parameters, options) {
|
|
5629
|
+
const params = buildClientParams([parameters], [
|
|
5630
|
+
{
|
|
5631
|
+
args: [
|
|
5632
|
+
{ in: "body", key: "id" },
|
|
5633
|
+
{ in: "body", key: "agent" },
|
|
5634
|
+
{ in: "body", key: "model" },
|
|
5635
|
+
{ in: "body", key: "location" },
|
|
5636
|
+
],
|
|
5637
|
+
},
|
|
5638
|
+
]);
|
|
5639
|
+
return (options?.client ?? this.client).post({
|
|
5640
|
+
url: "/api/session",
|
|
5641
|
+
...options,
|
|
5642
|
+
...params,
|
|
5643
|
+
headers: {
|
|
5644
|
+
"Content-Type": "application/json",
|
|
5645
|
+
...options?.headers,
|
|
5646
|
+
...params.headers,
|
|
5647
|
+
},
|
|
5648
|
+
});
|
|
5649
|
+
}
|
|
5650
|
+
/**
|
|
5651
|
+
* Get session
|
|
5652
|
+
*
|
|
5653
|
+
* Retrieve a session by ID.
|
|
5654
|
+
*/
|
|
5655
|
+
get(parameters, options) {
|
|
5656
|
+
const params = buildClientParams([parameters], [{ args: [{ in: "path", key: "sessionID" }] }]);
|
|
5657
|
+
return (options?.client ?? this.client).get({
|
|
5658
|
+
url: "/api/session/{sessionID}",
|
|
5659
|
+
...options,
|
|
5660
|
+
...params,
|
|
5661
|
+
});
|
|
5662
|
+
}
|
|
5663
|
+
/**
|
|
5664
|
+
* Send message
|
|
5604
5665
|
*
|
|
5605
|
-
* Durably admit one
|
|
5666
|
+
* Durably admit one session input and schedule agent-loop execution unless resume is false.
|
|
5606
5667
|
*/
|
|
5607
5668
|
prompt(parameters, options) {
|
|
5608
5669
|
const params = buildClientParams([parameters], [
|
|
@@ -5628,9 +5689,9 @@ export class Session4 extends HeyApiClient {
|
|
|
5628
5689
|
});
|
|
5629
5690
|
}
|
|
5630
5691
|
/**
|
|
5631
|
-
* Compact
|
|
5692
|
+
* Compact session
|
|
5632
5693
|
*
|
|
5633
|
-
* Compact a
|
|
5694
|
+
* Compact a session conversation.
|
|
5634
5695
|
*/
|
|
5635
5696
|
compact(parameters, options) {
|
|
5636
5697
|
const params = buildClientParams([parameters], [{ args: [{ in: "path", key: "sessionID" }] }]);
|
|
@@ -5641,9 +5702,9 @@ export class Session4 extends HeyApiClient {
|
|
|
5641
5702
|
});
|
|
5642
5703
|
}
|
|
5643
5704
|
/**
|
|
5644
|
-
* Wait for
|
|
5705
|
+
* Wait for session
|
|
5645
5706
|
*
|
|
5646
|
-
* Wait for a
|
|
5707
|
+
* Wait for a session agent loop to become idle.
|
|
5647
5708
|
*/
|
|
5648
5709
|
wait(parameters, options) {
|
|
5649
5710
|
const params = buildClientParams([parameters], [{ args: [{ in: "path", key: "sessionID" }] }]);
|
|
@@ -5654,9 +5715,9 @@ export class Session4 extends HeyApiClient {
|
|
|
5654
5715
|
});
|
|
5655
5716
|
}
|
|
5656
5717
|
/**
|
|
5657
|
-
* Get
|
|
5718
|
+
* Get session context
|
|
5658
5719
|
*
|
|
5659
|
-
* Retrieve the active context messages for a
|
|
5720
|
+
* Retrieve the active context messages for a session (all messages after the last compaction).
|
|
5660
5721
|
*/
|
|
5661
5722
|
context(parameters, options) {
|
|
5662
5723
|
const params = buildClientParams([parameters], [{ args: [{ in: "path", key: "sessionID" }] }]);
|
|
@@ -5667,9 +5728,9 @@ export class Session4 extends HeyApiClient {
|
|
|
5667
5728
|
});
|
|
5668
5729
|
}
|
|
5669
5730
|
/**
|
|
5670
|
-
* Get
|
|
5731
|
+
* Get session messages
|
|
5671
5732
|
*
|
|
5672
|
-
* Retrieve projected
|
|
5733
|
+
* Retrieve projected messages for a session. Items keep the requested order across pages; use cursor.next or cursor.previous to move through the ordered timeline.
|
|
5673
5734
|
*/
|
|
5674
5735
|
messages(parameters, options) {
|
|
5675
5736
|
const params = buildClientParams([parameters], [
|
|
@@ -5699,9 +5760,9 @@ export class Session4 extends HeyApiClient {
|
|
|
5699
5760
|
}
|
|
5700
5761
|
export class Model extends HeyApiClient {
|
|
5701
5762
|
/**
|
|
5702
|
-
* List
|
|
5763
|
+
* List models
|
|
5703
5764
|
*
|
|
5704
|
-
* Retrieve available
|
|
5765
|
+
* Retrieve available models ordered by release date.
|
|
5705
5766
|
*/
|
|
5706
5767
|
list(parameters, options) {
|
|
5707
5768
|
const params = buildClientParams([parameters], [{ args: [{ in: "query", key: "location" }] }]);
|
|
@@ -5714,9 +5775,9 @@ export class Model extends HeyApiClient {
|
|
|
5714
5775
|
}
|
|
5715
5776
|
export class Provider2 extends HeyApiClient {
|
|
5716
5777
|
/**
|
|
5717
|
-
* List
|
|
5778
|
+
* List providers
|
|
5718
5779
|
*
|
|
5719
|
-
* Retrieve active
|
|
5780
|
+
* Retrieve active AI providers so clients can show provider availability and configuration.
|
|
5720
5781
|
*/
|
|
5721
5782
|
list(parameters, options) {
|
|
5722
5783
|
const params = buildClientParams([parameters], [{ args: [{ in: "query", key: "location" }] }]);
|
|
@@ -5727,9 +5788,9 @@ export class Provider2 extends HeyApiClient {
|
|
|
5727
5788
|
});
|
|
5728
5789
|
}
|
|
5729
5790
|
/**
|
|
5730
|
-
* Get
|
|
5791
|
+
* Get provider
|
|
5731
5792
|
*
|
|
5732
|
-
* Retrieve a single
|
|
5793
|
+
* Retrieve a single AI provider so clients can inspect its availability and endpoint settings.
|
|
5733
5794
|
*/
|
|
5734
5795
|
get(parameters, options) {
|
|
5735
5796
|
const params = buildClientParams([parameters], [
|
|
@@ -5747,6 +5808,176 @@ export class Provider2 extends HeyApiClient {
|
|
|
5747
5808
|
});
|
|
5748
5809
|
}
|
|
5749
5810
|
}
|
|
5811
|
+
export class Oauth2 extends HeyApiClient {
|
|
5812
|
+
/**
|
|
5813
|
+
* Begin OAuth connection
|
|
5814
|
+
*
|
|
5815
|
+
* Start an OAuth attempt and return the authorization details.
|
|
5816
|
+
*/
|
|
5817
|
+
begin(parameters, options) {
|
|
5818
|
+
const params = buildClientParams([parameters], [
|
|
5819
|
+
{
|
|
5820
|
+
args: [
|
|
5821
|
+
{ in: "path", key: "connectorID" },
|
|
5822
|
+
{ in: "query", key: "location" },
|
|
5823
|
+
{ in: "body", key: "methodID" },
|
|
5824
|
+
{ in: "body", key: "inputs" },
|
|
5825
|
+
{ in: "body", key: "label" },
|
|
5826
|
+
],
|
|
5827
|
+
},
|
|
5828
|
+
]);
|
|
5829
|
+
return (options?.client ?? this.client).post({
|
|
5830
|
+
url: "/api/connector/{connectorID}/connect/oauth",
|
|
5831
|
+
...options,
|
|
5832
|
+
...params,
|
|
5833
|
+
headers: {
|
|
5834
|
+
"Content-Type": "application/json",
|
|
5835
|
+
...options?.headers,
|
|
5836
|
+
...params.headers,
|
|
5837
|
+
},
|
|
5838
|
+
});
|
|
5839
|
+
}
|
|
5840
|
+
/**
|
|
5841
|
+
* Cancel OAuth connection
|
|
5842
|
+
*
|
|
5843
|
+
* Cancel an OAuth attempt and release its resources.
|
|
5844
|
+
*/
|
|
5845
|
+
cancel(parameters, options) {
|
|
5846
|
+
const params = buildClientParams([parameters], [
|
|
5847
|
+
{
|
|
5848
|
+
args: [
|
|
5849
|
+
{ in: "path", key: "attemptID" },
|
|
5850
|
+
{ in: "query", key: "location" },
|
|
5851
|
+
],
|
|
5852
|
+
},
|
|
5853
|
+
]);
|
|
5854
|
+
return (options?.client ?? this.client).delete({
|
|
5855
|
+
url: "/api/connector/oauth/{attemptID}",
|
|
5856
|
+
...options,
|
|
5857
|
+
...params,
|
|
5858
|
+
});
|
|
5859
|
+
}
|
|
5860
|
+
/**
|
|
5861
|
+
* Get OAuth attempt status
|
|
5862
|
+
*
|
|
5863
|
+
* Poll the current status of an OAuth attempt.
|
|
5864
|
+
*/
|
|
5865
|
+
status(parameters, options) {
|
|
5866
|
+
const params = buildClientParams([parameters], [
|
|
5867
|
+
{
|
|
5868
|
+
args: [
|
|
5869
|
+
{ in: "path", key: "attemptID" },
|
|
5870
|
+
{ in: "query", key: "location" },
|
|
5871
|
+
],
|
|
5872
|
+
},
|
|
5873
|
+
]);
|
|
5874
|
+
return (options?.client ?? this.client).get({
|
|
5875
|
+
url: "/api/connector/oauth/{attemptID}",
|
|
5876
|
+
...options,
|
|
5877
|
+
...params,
|
|
5878
|
+
});
|
|
5879
|
+
}
|
|
5880
|
+
/**
|
|
5881
|
+
* Complete OAuth connection
|
|
5882
|
+
*
|
|
5883
|
+
* Complete a code-based OAuth attempt and store the resulting credential.
|
|
5884
|
+
*/
|
|
5885
|
+
complete(parameters, options) {
|
|
5886
|
+
const params = buildClientParams([parameters], [
|
|
5887
|
+
{
|
|
5888
|
+
args: [
|
|
5889
|
+
{ in: "path", key: "attemptID" },
|
|
5890
|
+
{ in: "query", key: "location" },
|
|
5891
|
+
{ in: "body", key: "code" },
|
|
5892
|
+
],
|
|
5893
|
+
},
|
|
5894
|
+
]);
|
|
5895
|
+
return (options?.client ?? this.client).post({
|
|
5896
|
+
url: "/api/connector/oauth/{attemptID}/complete",
|
|
5897
|
+
...options,
|
|
5898
|
+
...params,
|
|
5899
|
+
headers: {
|
|
5900
|
+
"Content-Type": "application/json",
|
|
5901
|
+
...options?.headers,
|
|
5902
|
+
...params.headers,
|
|
5903
|
+
},
|
|
5904
|
+
});
|
|
5905
|
+
}
|
|
5906
|
+
}
|
|
5907
|
+
export class Connect extends HeyApiClient {
|
|
5908
|
+
/**
|
|
5909
|
+
* Connect with key
|
|
5910
|
+
*
|
|
5911
|
+
* Run a key authentication method and store the resulting credential.
|
|
5912
|
+
*/
|
|
5913
|
+
key(parameters, options) {
|
|
5914
|
+
const params = buildClientParams([parameters], [
|
|
5915
|
+
{
|
|
5916
|
+
args: [
|
|
5917
|
+
{ in: "path", key: "connectorID" },
|
|
5918
|
+
{ in: "query", key: "location" },
|
|
5919
|
+
{ in: "body", key: "methodID" },
|
|
5920
|
+
{ in: "body", key: "key" },
|
|
5921
|
+
{ in: "body", key: "inputs" },
|
|
5922
|
+
{ in: "body", key: "label" },
|
|
5923
|
+
],
|
|
5924
|
+
},
|
|
5925
|
+
]);
|
|
5926
|
+
return (options?.client ?? this.client).post({
|
|
5927
|
+
url: "/api/connector/{connectorID}/connect/key",
|
|
5928
|
+
...options,
|
|
5929
|
+
...params,
|
|
5930
|
+
headers: {
|
|
5931
|
+
"Content-Type": "application/json",
|
|
5932
|
+
...options?.headers,
|
|
5933
|
+
...params.headers,
|
|
5934
|
+
},
|
|
5935
|
+
});
|
|
5936
|
+
}
|
|
5937
|
+
_oauth;
|
|
5938
|
+
get oauth() {
|
|
5939
|
+
return (this._oauth ??= new Oauth2({ client: this.client }));
|
|
5940
|
+
}
|
|
5941
|
+
}
|
|
5942
|
+
export class Connector extends HeyApiClient {
|
|
5943
|
+
/**
|
|
5944
|
+
* List connectors
|
|
5945
|
+
*
|
|
5946
|
+
* Retrieve available connectors and their authentication methods.
|
|
5947
|
+
*/
|
|
5948
|
+
list(parameters, options) {
|
|
5949
|
+
const params = buildClientParams([parameters], [{ args: [{ in: "query", key: "location" }] }]);
|
|
5950
|
+
return (options?.client ?? this.client).get({
|
|
5951
|
+
url: "/api/connector",
|
|
5952
|
+
...options,
|
|
5953
|
+
...params,
|
|
5954
|
+
});
|
|
5955
|
+
}
|
|
5956
|
+
/**
|
|
5957
|
+
* Get connector
|
|
5958
|
+
*
|
|
5959
|
+
* Retrieve one connector and its authentication methods.
|
|
5960
|
+
*/
|
|
5961
|
+
get(parameters, options) {
|
|
5962
|
+
const params = buildClientParams([parameters], [
|
|
5963
|
+
{
|
|
5964
|
+
args: [
|
|
5965
|
+
{ in: "path", key: "connectorID" },
|
|
5966
|
+
{ in: "query", key: "location" },
|
|
5967
|
+
],
|
|
5968
|
+
},
|
|
5969
|
+
]);
|
|
5970
|
+
return (options?.client ?? this.client).get({
|
|
5971
|
+
url: "/api/connector/{connectorID}",
|
|
5972
|
+
...options,
|
|
5973
|
+
...params,
|
|
5974
|
+
});
|
|
5975
|
+
}
|
|
5976
|
+
_connect;
|
|
5977
|
+
get connect() {
|
|
5978
|
+
return (this._connect ??= new Connect({ client: this.client }));
|
|
5979
|
+
}
|
|
5980
|
+
}
|
|
5750
5981
|
export class Request extends HeyApiClient {
|
|
5751
5982
|
/**
|
|
5752
5983
|
* List pending permission requests
|
|
@@ -5804,7 +6035,7 @@ export class Fs extends HeyApiClient {
|
|
|
5804
6035
|
/**
|
|
5805
6036
|
* Read file
|
|
5806
6037
|
*
|
|
5807
|
-
*
|
|
6038
|
+
* Serve one file relative to the requested location.
|
|
5808
6039
|
*/
|
|
5809
6040
|
read(parameters, options) {
|
|
5810
6041
|
const params = buildClientParams([parameters], [
|
|
@@ -5812,12 +6043,11 @@ export class Fs extends HeyApiClient {
|
|
|
5812
6043
|
args: [
|
|
5813
6044
|
{ in: "query", key: "location" },
|
|
5814
6045
|
{ in: "query", key: "path" },
|
|
5815
|
-
{ in: "query", key: "reference" },
|
|
5816
6046
|
],
|
|
5817
6047
|
},
|
|
5818
6048
|
]);
|
|
5819
6049
|
return (options?.client ?? this.client).get({
|
|
5820
|
-
url: "/api/fs/read",
|
|
6050
|
+
url: "/api/fs/read/*",
|
|
5821
6051
|
...options,
|
|
5822
6052
|
...params,
|
|
5823
6053
|
});
|
|
@@ -5833,7 +6063,6 @@ export class Fs extends HeyApiClient {
|
|
|
5833
6063
|
args: [
|
|
5834
6064
|
{ in: "query", key: "location" },
|
|
5835
6065
|
{ in: "query", key: "path" },
|
|
5836
|
-
{ in: "query", key: "reference" },
|
|
5837
6066
|
],
|
|
5838
6067
|
},
|
|
5839
6068
|
]);
|
|
@@ -5843,12 +6072,34 @@ export class Fs extends HeyApiClient {
|
|
|
5843
6072
|
...params,
|
|
5844
6073
|
});
|
|
5845
6074
|
}
|
|
6075
|
+
/**
|
|
6076
|
+
* Find files
|
|
6077
|
+
*
|
|
6078
|
+
* Find recursively ranked filesystem entries relative to the requested location.
|
|
6079
|
+
*/
|
|
6080
|
+
find(parameters, options) {
|
|
6081
|
+
const params = buildClientParams([parameters], [
|
|
6082
|
+
{
|
|
6083
|
+
args: [
|
|
6084
|
+
{ in: "query", key: "location" },
|
|
6085
|
+
{ in: "query", key: "query" },
|
|
6086
|
+
{ in: "query", key: "type" },
|
|
6087
|
+
{ in: "query", key: "limit" },
|
|
6088
|
+
],
|
|
6089
|
+
},
|
|
6090
|
+
]);
|
|
6091
|
+
return (options?.client ?? this.client).get({
|
|
6092
|
+
url: "/api/fs/find",
|
|
6093
|
+
...options,
|
|
6094
|
+
...params,
|
|
6095
|
+
});
|
|
6096
|
+
}
|
|
5846
6097
|
}
|
|
5847
6098
|
export class Command2 extends HeyApiClient {
|
|
5848
6099
|
/**
|
|
5849
|
-
* List
|
|
6100
|
+
* List commands
|
|
5850
6101
|
*
|
|
5851
|
-
* Retrieve currently registered
|
|
6102
|
+
* Retrieve currently registered commands.
|
|
5852
6103
|
*/
|
|
5853
6104
|
list(parameters, options) {
|
|
5854
6105
|
const params = buildClientParams([parameters], [{ args: [{ in: "query", key: "location" }] }]);
|
|
@@ -5861,9 +6112,9 @@ export class Command2 extends HeyApiClient {
|
|
|
5861
6112
|
}
|
|
5862
6113
|
export class Skill extends HeyApiClient {
|
|
5863
6114
|
/**
|
|
5864
|
-
* List
|
|
6115
|
+
* List skills
|
|
5865
6116
|
*
|
|
5866
|
-
* Retrieve currently registered
|
|
6117
|
+
* Retrieve currently registered skills.
|
|
5867
6118
|
*/
|
|
5868
6119
|
list(parameters, options) {
|
|
5869
6120
|
const params = buildClientParams([parameters], [{ args: [{ in: "query", key: "location" }] }]);
|
|
@@ -5876,9 +6127,9 @@ export class Skill extends HeyApiClient {
|
|
|
5876
6127
|
}
|
|
5877
6128
|
export class Event2 extends HeyApiClient {
|
|
5878
6129
|
/**
|
|
5879
|
-
* Subscribe to
|
|
6130
|
+
* Subscribe to events
|
|
5880
6131
|
*
|
|
5881
|
-
* Subscribe to native
|
|
6132
|
+
* Subscribe to native event payloads for a location.
|
|
5882
6133
|
*/
|
|
5883
6134
|
subscribe(parameters, options) {
|
|
5884
6135
|
const params = buildClientParams([parameters], [{ args: [{ in: "query", key: "location" }] }]);
|
|
@@ -5910,11 +6161,30 @@ export class Question3 extends HeyApiClient {
|
|
|
5910
6161
|
return (this._request ??= new Request2({ client: this.client }));
|
|
5911
6162
|
}
|
|
5912
6163
|
}
|
|
6164
|
+
export class Reference extends HeyApiClient {
|
|
6165
|
+
/**
|
|
6166
|
+
* List references
|
|
6167
|
+
*
|
|
6168
|
+
* List references available in the requested location.
|
|
6169
|
+
*/
|
|
6170
|
+
list(parameters, options) {
|
|
6171
|
+
const params = buildClientParams([parameters], [{ args: [{ in: "query", key: "location" }] }]);
|
|
6172
|
+
return (options?.client ?? this.client).get({
|
|
6173
|
+
url: "/api/reference",
|
|
6174
|
+
...options,
|
|
6175
|
+
...params,
|
|
6176
|
+
});
|
|
6177
|
+
}
|
|
6178
|
+
}
|
|
5913
6179
|
export class V2 extends HeyApiClient {
|
|
5914
6180
|
_health;
|
|
5915
6181
|
get health() {
|
|
5916
6182
|
return (this._health ??= new Health({ client: this.client }));
|
|
5917
6183
|
}
|
|
6184
|
+
_location;
|
|
6185
|
+
get location() {
|
|
6186
|
+
return (this._location ??= new Location({ client: this.client }));
|
|
6187
|
+
}
|
|
5918
6188
|
_agent;
|
|
5919
6189
|
get agent() {
|
|
5920
6190
|
return (this._agent ??= new Agent({ client: this.client }));
|
|
@@ -5931,6 +6201,10 @@ export class V2 extends HeyApiClient {
|
|
|
5931
6201
|
get provider() {
|
|
5932
6202
|
return (this._provider ??= new Provider2({ client: this.client }));
|
|
5933
6203
|
}
|
|
6204
|
+
_connector;
|
|
6205
|
+
get connector() {
|
|
6206
|
+
return (this._connector ??= new Connector({ client: this.client }));
|
|
6207
|
+
}
|
|
5934
6208
|
_permission;
|
|
5935
6209
|
get permission() {
|
|
5936
6210
|
return (this._permission ??= new Permission3({ client: this.client }));
|
|
@@ -5955,6 +6229,10 @@ export class V2 extends HeyApiClient {
|
|
|
5955
6229
|
get question() {
|
|
5956
6230
|
return (this._question ??= new Question3({ client: this.client }));
|
|
5957
6231
|
}
|
|
6232
|
+
_reference;
|
|
6233
|
+
get reference() {
|
|
6234
|
+
return (this._reference ??= new Reference({ client: this.client }));
|
|
6235
|
+
}
|
|
5958
6236
|
}
|
|
5959
6237
|
export class KiloClient extends HeyApiClient {
|
|
5960
6238
|
static __registry = new HeyApiRegistry();
|