@kilocode/sdk 7.4.15 → 7.4.17
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/gen/sdk.gen.d.ts +206 -62
- package/dist/v2/gen/sdk.gen.js +352 -101
- package/dist/v2/gen/types.gen.d.ts +732 -450
- package/package.json +1 -1
package/dist/v2/gen/sdk.gen.js
CHANGED
|
@@ -160,6 +160,28 @@ export class ControlPlane extends HeyApiClient {
|
|
|
160
160
|
});
|
|
161
161
|
}
|
|
162
162
|
}
|
|
163
|
+
export class Capabilities extends HeyApiClient {
|
|
164
|
+
/**
|
|
165
|
+
* Get experimental capabilities
|
|
166
|
+
*
|
|
167
|
+
* Get experimental features enabled on the Kilo server.
|
|
168
|
+
*/
|
|
169
|
+
get(parameters, options) {
|
|
170
|
+
const params = buildClientParams([parameters], [
|
|
171
|
+
{
|
|
172
|
+
args: [
|
|
173
|
+
{ in: "query", key: "directory" },
|
|
174
|
+
{ in: "query", key: "workspace" },
|
|
175
|
+
],
|
|
176
|
+
},
|
|
177
|
+
]);
|
|
178
|
+
return (options?.client ?? this.client).get({
|
|
179
|
+
url: "/experimental/capabilities",
|
|
180
|
+
...options,
|
|
181
|
+
...params,
|
|
182
|
+
});
|
|
183
|
+
}
|
|
184
|
+
}
|
|
163
185
|
export class Console extends HeyApiClient {
|
|
164
186
|
/**
|
|
165
187
|
* Get active Console provider metadata
|
|
@@ -305,52 +327,23 @@ export class Resource extends HeyApiClient {
|
|
|
305
327
|
}
|
|
306
328
|
export class ProjectCopy extends HeyApiClient {
|
|
307
329
|
/**
|
|
308
|
-
*
|
|
330
|
+
* Generate project copy name
|
|
309
331
|
*
|
|
310
|
-
*
|
|
332
|
+
* Generate a short name for a project copy from task context.
|
|
311
333
|
*/
|
|
312
|
-
|
|
313
|
-
const params = buildClientParams([parameters], [
|
|
314
|
-
{
|
|
315
|
-
args: [
|
|
316
|
-
{ in: "path", key: "projectID" },
|
|
317
|
-
{ in: "query", key: "workspace" },
|
|
318
|
-
{ in: "body", key: "directory" },
|
|
319
|
-
{ in: "body", key: "force" },
|
|
320
|
-
],
|
|
321
|
-
},
|
|
322
|
-
]);
|
|
323
|
-
return (options?.client ?? this.client).delete({
|
|
324
|
-
url: "/experimental/project/{projectID}/copy",
|
|
325
|
-
...options,
|
|
326
|
-
...params,
|
|
327
|
-
headers: {
|
|
328
|
-
"Content-Type": "application/json",
|
|
329
|
-
...options?.headers,
|
|
330
|
-
...params.headers,
|
|
331
|
-
},
|
|
332
|
-
});
|
|
333
|
-
}
|
|
334
|
-
/**
|
|
335
|
-
* Create project copy
|
|
336
|
-
*
|
|
337
|
-
* Create a local physical copy of a project using the selected strategy.
|
|
338
|
-
*/
|
|
339
|
-
create(parameters, options) {
|
|
334
|
+
generateName(parameters, options) {
|
|
340
335
|
const params = buildClientParams([parameters], [
|
|
341
336
|
{
|
|
342
337
|
args: [
|
|
343
338
|
{ in: "path", key: "projectID" },
|
|
339
|
+
{ in: "query", key: "directory" },
|
|
344
340
|
{ in: "query", key: "workspace" },
|
|
345
|
-
{ in: "body", key: "strategy" },
|
|
346
|
-
{ in: "body", key: "directory" },
|
|
347
|
-
{ in: "body", key: "name" },
|
|
348
341
|
{ in: "body", key: "context" },
|
|
349
342
|
],
|
|
350
343
|
},
|
|
351
344
|
]);
|
|
352
345
|
return (options?.client ?? this.client).post({
|
|
353
|
-
url: "/experimental/project/{projectID}/copy",
|
|
346
|
+
url: "/experimental/project/{projectID}/copy/generate-name",
|
|
354
347
|
...options,
|
|
355
348
|
...params,
|
|
356
349
|
headers: {
|
|
@@ -360,27 +353,6 @@ export class ProjectCopy extends HeyApiClient {
|
|
|
360
353
|
},
|
|
361
354
|
});
|
|
362
355
|
}
|
|
363
|
-
/**
|
|
364
|
-
* Refresh project copies
|
|
365
|
-
*
|
|
366
|
-
* Discover local project copies using one or all configured strategies.
|
|
367
|
-
*/
|
|
368
|
-
refresh(parameters, options) {
|
|
369
|
-
const params = buildClientParams([parameters], [
|
|
370
|
-
{
|
|
371
|
-
args: [
|
|
372
|
-
{ in: "path", key: "projectID" },
|
|
373
|
-
{ in: "query", key: "directory" },
|
|
374
|
-
{ in: "query", key: "workspace" },
|
|
375
|
-
],
|
|
376
|
-
},
|
|
377
|
-
]);
|
|
378
|
-
return (options?.client ?? this.client).post({
|
|
379
|
-
url: "/experimental/project/{projectID}/copy/refresh",
|
|
380
|
-
...options,
|
|
381
|
-
...params,
|
|
382
|
-
});
|
|
383
|
-
}
|
|
384
356
|
}
|
|
385
357
|
export class Adapter extends HeyApiClient {
|
|
386
358
|
/**
|
|
@@ -553,6 +525,10 @@ export class Experimental extends HeyApiClient {
|
|
|
553
525
|
get controlPlane() {
|
|
554
526
|
return (this._controlPlane ??= new ControlPlane({ client: this.client }));
|
|
555
527
|
}
|
|
528
|
+
_capabilities;
|
|
529
|
+
get capabilities() {
|
|
530
|
+
return (this._capabilities ??= new Capabilities({ client: this.client }));
|
|
531
|
+
}
|
|
556
532
|
_console;
|
|
557
533
|
get console() {
|
|
558
534
|
return (this._console ??= new Console({ client: this.client }));
|
|
@@ -5808,17 +5784,44 @@ export class Provider2 extends HeyApiClient {
|
|
|
5808
5784
|
});
|
|
5809
5785
|
}
|
|
5810
5786
|
}
|
|
5811
|
-
export class
|
|
5787
|
+
export class Connect extends HeyApiClient {
|
|
5788
|
+
/**
|
|
5789
|
+
* Connect with key
|
|
5790
|
+
*
|
|
5791
|
+
* Run a key authentication method and store the resulting credential.
|
|
5792
|
+
*/
|
|
5793
|
+
key(parameters, options) {
|
|
5794
|
+
const params = buildClientParams([parameters], [
|
|
5795
|
+
{
|
|
5796
|
+
args: [
|
|
5797
|
+
{ in: "path", key: "integrationID" },
|
|
5798
|
+
{ in: "query", key: "location" },
|
|
5799
|
+
{ in: "body", key: "key" },
|
|
5800
|
+
{ in: "body", key: "label" },
|
|
5801
|
+
],
|
|
5802
|
+
},
|
|
5803
|
+
]);
|
|
5804
|
+
return (options?.client ?? this.client).post({
|
|
5805
|
+
url: "/api/integration/{integrationID}/connect/key",
|
|
5806
|
+
...options,
|
|
5807
|
+
...params,
|
|
5808
|
+
headers: {
|
|
5809
|
+
"Content-Type": "application/json",
|
|
5810
|
+
...options?.headers,
|
|
5811
|
+
...params.headers,
|
|
5812
|
+
},
|
|
5813
|
+
});
|
|
5814
|
+
}
|
|
5812
5815
|
/**
|
|
5813
5816
|
* Begin OAuth connection
|
|
5814
5817
|
*
|
|
5815
5818
|
* Start an OAuth attempt and return the authorization details.
|
|
5816
5819
|
*/
|
|
5817
|
-
|
|
5820
|
+
oauth(parameters, options) {
|
|
5818
5821
|
const params = buildClientParams([parameters], [
|
|
5819
5822
|
{
|
|
5820
5823
|
args: [
|
|
5821
|
-
{ in: "path", key: "
|
|
5824
|
+
{ in: "path", key: "integrationID" },
|
|
5822
5825
|
{ in: "query", key: "location" },
|
|
5823
5826
|
{ in: "body", key: "methodID" },
|
|
5824
5827
|
{ in: "body", key: "inputs" },
|
|
@@ -5827,7 +5830,7 @@ export class Oauth2 extends HeyApiClient {
|
|
|
5827
5830
|
},
|
|
5828
5831
|
]);
|
|
5829
5832
|
return (options?.client ?? this.client).post({
|
|
5830
|
-
url: "/api/
|
|
5833
|
+
url: "/api/integration/{integrationID}/connect/oauth",
|
|
5831
5834
|
...options,
|
|
5832
5835
|
...params,
|
|
5833
5836
|
headers: {
|
|
@@ -5837,6 +5840,8 @@ export class Oauth2 extends HeyApiClient {
|
|
|
5837
5840
|
},
|
|
5838
5841
|
});
|
|
5839
5842
|
}
|
|
5843
|
+
}
|
|
5844
|
+
export class Attempt extends HeyApiClient {
|
|
5840
5845
|
/**
|
|
5841
5846
|
* Cancel OAuth connection
|
|
5842
5847
|
*
|
|
@@ -5852,7 +5857,7 @@ export class Oauth2 extends HeyApiClient {
|
|
|
5852
5857
|
},
|
|
5853
5858
|
]);
|
|
5854
5859
|
return (options?.client ?? this.client).delete({
|
|
5855
|
-
url: "/api/
|
|
5860
|
+
url: "/api/integration/attempt/{attemptID}",
|
|
5856
5861
|
...options,
|
|
5857
5862
|
...params,
|
|
5858
5863
|
});
|
|
@@ -5872,7 +5877,7 @@ export class Oauth2 extends HeyApiClient {
|
|
|
5872
5877
|
},
|
|
5873
5878
|
]);
|
|
5874
5879
|
return (options?.client ?? this.client).get({
|
|
5875
|
-
url: "/api/
|
|
5880
|
+
url: "/api/integration/attempt/{attemptID}",
|
|
5876
5881
|
...options,
|
|
5877
5882
|
...params,
|
|
5878
5883
|
});
|
|
@@ -5893,7 +5898,7 @@ export class Oauth2 extends HeyApiClient {
|
|
|
5893
5898
|
},
|
|
5894
5899
|
]);
|
|
5895
5900
|
return (options?.client ?? this.client).post({
|
|
5896
|
-
url: "/api/
|
|
5901
|
+
url: "/api/integration/attempt/{attemptID}/complete",
|
|
5897
5902
|
...options,
|
|
5898
5903
|
...params,
|
|
5899
5904
|
headers: {
|
|
@@ -5904,79 +5909,96 @@ export class Oauth2 extends HeyApiClient {
|
|
|
5904
5909
|
});
|
|
5905
5910
|
}
|
|
5906
5911
|
}
|
|
5907
|
-
export class
|
|
5912
|
+
export class Integration extends HeyApiClient {
|
|
5908
5913
|
/**
|
|
5909
|
-
*
|
|
5914
|
+
* List integrations
|
|
5910
5915
|
*
|
|
5911
|
-
*
|
|
5916
|
+
* Retrieve available integrations and their authentication methods.
|
|
5912
5917
|
*/
|
|
5913
|
-
|
|
5918
|
+
list(parameters, options) {
|
|
5919
|
+
const params = buildClientParams([parameters], [{ args: [{ in: "query", key: "location" }] }]);
|
|
5920
|
+
return (options?.client ?? this.client).get({
|
|
5921
|
+
url: "/api/integration",
|
|
5922
|
+
...options,
|
|
5923
|
+
...params,
|
|
5924
|
+
});
|
|
5925
|
+
}
|
|
5926
|
+
/**
|
|
5927
|
+
* Get integration
|
|
5928
|
+
*
|
|
5929
|
+
* Retrieve one integration and its authentication methods.
|
|
5930
|
+
*/
|
|
5931
|
+
get(parameters, options) {
|
|
5914
5932
|
const params = buildClientParams([parameters], [
|
|
5915
5933
|
{
|
|
5916
5934
|
args: [
|
|
5917
|
-
{ in: "path", key: "
|
|
5935
|
+
{ in: "path", key: "integrationID" },
|
|
5918
5936
|
{ 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
5937
|
],
|
|
5924
5938
|
},
|
|
5925
5939
|
]);
|
|
5926
|
-
return (options?.client ?? this.client).
|
|
5927
|
-
url: "/api/
|
|
5940
|
+
return (options?.client ?? this.client).get({
|
|
5941
|
+
url: "/api/integration/{integrationID}",
|
|
5928
5942
|
...options,
|
|
5929
5943
|
...params,
|
|
5930
|
-
headers: {
|
|
5931
|
-
"Content-Type": "application/json",
|
|
5932
|
-
...options?.headers,
|
|
5933
|
-
...params.headers,
|
|
5934
|
-
},
|
|
5935
5944
|
});
|
|
5936
5945
|
}
|
|
5937
|
-
|
|
5938
|
-
get
|
|
5939
|
-
return (this.
|
|
5946
|
+
_connect;
|
|
5947
|
+
get connect() {
|
|
5948
|
+
return (this._connect ??= new Connect({ client: this.client }));
|
|
5949
|
+
}
|
|
5950
|
+
_attempt;
|
|
5951
|
+
get attempt() {
|
|
5952
|
+
return (this._attempt ??= new Attempt({ client: this.client }));
|
|
5940
5953
|
}
|
|
5941
5954
|
}
|
|
5942
|
-
export class
|
|
5955
|
+
export class Credential extends HeyApiClient {
|
|
5943
5956
|
/**
|
|
5944
|
-
*
|
|
5957
|
+
* Remove credential
|
|
5945
5958
|
*
|
|
5946
|
-
*
|
|
5959
|
+
* Remove a stored integration credential.
|
|
5947
5960
|
*/
|
|
5948
|
-
|
|
5949
|
-
const params = buildClientParams([parameters], [
|
|
5950
|
-
|
|
5951
|
-
|
|
5961
|
+
remove(parameters, options) {
|
|
5962
|
+
const params = buildClientParams([parameters], [
|
|
5963
|
+
{
|
|
5964
|
+
args: [
|
|
5965
|
+
{ in: "path", key: "credentialID" },
|
|
5966
|
+
{ in: "query", key: "location" },
|
|
5967
|
+
],
|
|
5968
|
+
},
|
|
5969
|
+
]);
|
|
5970
|
+
return (options?.client ?? this.client).delete({
|
|
5971
|
+
url: "/api/credential/{credentialID}",
|
|
5952
5972
|
...options,
|
|
5953
5973
|
...params,
|
|
5954
5974
|
});
|
|
5955
5975
|
}
|
|
5956
5976
|
/**
|
|
5957
|
-
*
|
|
5977
|
+
* Update credential
|
|
5958
5978
|
*
|
|
5959
|
-
*
|
|
5979
|
+
* Update a stored credential label.
|
|
5960
5980
|
*/
|
|
5961
|
-
|
|
5981
|
+
update(parameters, options) {
|
|
5962
5982
|
const params = buildClientParams([parameters], [
|
|
5963
5983
|
{
|
|
5964
5984
|
args: [
|
|
5965
|
-
{ in: "path", key: "
|
|
5985
|
+
{ in: "path", key: "credentialID" },
|
|
5966
5986
|
{ in: "query", key: "location" },
|
|
5987
|
+
{ in: "body", key: "label" },
|
|
5967
5988
|
],
|
|
5968
5989
|
},
|
|
5969
5990
|
]);
|
|
5970
|
-
return (options?.client ?? this.client).
|
|
5971
|
-
url: "/api/
|
|
5991
|
+
return (options?.client ?? this.client).patch({
|
|
5992
|
+
url: "/api/credential/{credentialID}",
|
|
5972
5993
|
...options,
|
|
5973
5994
|
...params,
|
|
5995
|
+
headers: {
|
|
5996
|
+
"Content-Type": "application/json",
|
|
5997
|
+
...options?.headers,
|
|
5998
|
+
...params.headers,
|
|
5999
|
+
},
|
|
5974
6000
|
});
|
|
5975
6001
|
}
|
|
5976
|
-
_connect;
|
|
5977
|
-
get connect() {
|
|
5978
|
-
return (this._connect ??= new Connect({ client: this.client }));
|
|
5979
|
-
}
|
|
5980
6002
|
}
|
|
5981
6003
|
export class Request extends HeyApiClient {
|
|
5982
6004
|
/**
|
|
@@ -6140,6 +6162,161 @@ export class Event2 extends HeyApiClient {
|
|
|
6140
6162
|
});
|
|
6141
6163
|
}
|
|
6142
6164
|
}
|
|
6165
|
+
export class Pty2 extends HeyApiClient {
|
|
6166
|
+
/**
|
|
6167
|
+
* List PTY sessions
|
|
6168
|
+
*
|
|
6169
|
+
* List PTY sessions for a location, including exited sessions retained until removal.
|
|
6170
|
+
*/
|
|
6171
|
+
list(parameters, options) {
|
|
6172
|
+
const params = buildClientParams([parameters], [{ args: [{ in: "query", key: "location" }] }]);
|
|
6173
|
+
return (options?.client ?? this.client).get({
|
|
6174
|
+
url: "/api/pty",
|
|
6175
|
+
...options,
|
|
6176
|
+
...params,
|
|
6177
|
+
});
|
|
6178
|
+
}
|
|
6179
|
+
/**
|
|
6180
|
+
* Create PTY session
|
|
6181
|
+
*
|
|
6182
|
+
* Create a pseudo-terminal session for a location.
|
|
6183
|
+
*/
|
|
6184
|
+
create(parameters, options) {
|
|
6185
|
+
const params = buildClientParams([parameters], [
|
|
6186
|
+
{
|
|
6187
|
+
args: [
|
|
6188
|
+
{ in: "query", key: "location" },
|
|
6189
|
+
{ in: "body", key: "command" },
|
|
6190
|
+
{ in: "body", key: "args" },
|
|
6191
|
+
{ in: "body", key: "cwd" },
|
|
6192
|
+
{ in: "body", key: "title" },
|
|
6193
|
+
{ in: "body", key: "env" },
|
|
6194
|
+
],
|
|
6195
|
+
},
|
|
6196
|
+
]);
|
|
6197
|
+
return (options?.client ?? this.client).post({
|
|
6198
|
+
url: "/api/pty",
|
|
6199
|
+
...options,
|
|
6200
|
+
...params,
|
|
6201
|
+
headers: {
|
|
6202
|
+
"Content-Type": "application/json",
|
|
6203
|
+
...options?.headers,
|
|
6204
|
+
...params.headers,
|
|
6205
|
+
},
|
|
6206
|
+
});
|
|
6207
|
+
}
|
|
6208
|
+
/**
|
|
6209
|
+
* Remove PTY session
|
|
6210
|
+
*
|
|
6211
|
+
* Terminate and remove one PTY session.
|
|
6212
|
+
*/
|
|
6213
|
+
remove(parameters, options) {
|
|
6214
|
+
const params = buildClientParams([parameters], [
|
|
6215
|
+
{
|
|
6216
|
+
args: [
|
|
6217
|
+
{ in: "path", key: "ptyID" },
|
|
6218
|
+
{ in: "query", key: "location" },
|
|
6219
|
+
],
|
|
6220
|
+
},
|
|
6221
|
+
]);
|
|
6222
|
+
return (options?.client ?? this.client).delete({
|
|
6223
|
+
url: "/api/pty/{ptyID}",
|
|
6224
|
+
...options,
|
|
6225
|
+
...params,
|
|
6226
|
+
});
|
|
6227
|
+
}
|
|
6228
|
+
/**
|
|
6229
|
+
* Get PTY session
|
|
6230
|
+
*
|
|
6231
|
+
* Get one PTY session, including its exit code once exited.
|
|
6232
|
+
*/
|
|
6233
|
+
get(parameters, options) {
|
|
6234
|
+
const params = buildClientParams([parameters], [
|
|
6235
|
+
{
|
|
6236
|
+
args: [
|
|
6237
|
+
{ in: "path", key: "ptyID" },
|
|
6238
|
+
{ in: "query", key: "location" },
|
|
6239
|
+
],
|
|
6240
|
+
},
|
|
6241
|
+
]);
|
|
6242
|
+
return (options?.client ?? this.client).get({
|
|
6243
|
+
url: "/api/pty/{ptyID}",
|
|
6244
|
+
...options,
|
|
6245
|
+
...params,
|
|
6246
|
+
});
|
|
6247
|
+
}
|
|
6248
|
+
/**
|
|
6249
|
+
* Update PTY session
|
|
6250
|
+
*
|
|
6251
|
+
* Update the title or viewport size of one PTY session.
|
|
6252
|
+
*/
|
|
6253
|
+
update(parameters, options) {
|
|
6254
|
+
const params = buildClientParams([parameters], [
|
|
6255
|
+
{
|
|
6256
|
+
args: [
|
|
6257
|
+
{ in: "path", key: "ptyID" },
|
|
6258
|
+
{ in: "query", key: "location" },
|
|
6259
|
+
{ in: "body", key: "title" },
|
|
6260
|
+
{ in: "body", key: "sessionID" },
|
|
6261
|
+
{ in: "body", key: "size" },
|
|
6262
|
+
],
|
|
6263
|
+
},
|
|
6264
|
+
]);
|
|
6265
|
+
return (options?.client ?? this.client).put({
|
|
6266
|
+
url: "/api/pty/{ptyID}",
|
|
6267
|
+
...options,
|
|
6268
|
+
...params,
|
|
6269
|
+
headers: {
|
|
6270
|
+
"Content-Type": "application/json",
|
|
6271
|
+
...options?.headers,
|
|
6272
|
+
...params.headers,
|
|
6273
|
+
},
|
|
6274
|
+
});
|
|
6275
|
+
}
|
|
6276
|
+
/**
|
|
6277
|
+
* Create PTY WebSocket token
|
|
6278
|
+
*
|
|
6279
|
+
* Create a short-lived single-use ticket for opening a PTY WebSocket connection.
|
|
6280
|
+
*/
|
|
6281
|
+
connectToken(parameters, options) {
|
|
6282
|
+
const params = buildClientParams([parameters], [
|
|
6283
|
+
{
|
|
6284
|
+
args: [
|
|
6285
|
+
{ in: "path", key: "ptyID" },
|
|
6286
|
+
{ in: "query", key: "location" },
|
|
6287
|
+
],
|
|
6288
|
+
},
|
|
6289
|
+
]);
|
|
6290
|
+
return (options?.client ?? this.client).post({
|
|
6291
|
+
url: "/api/pty/{ptyID}/connect-token",
|
|
6292
|
+
...options,
|
|
6293
|
+
...params,
|
|
6294
|
+
});
|
|
6295
|
+
}
|
|
6296
|
+
/**
|
|
6297
|
+
* Connect to PTY session
|
|
6298
|
+
*
|
|
6299
|
+
* Establish a WebSocket connection streaming PTY output and accepting terminal input.
|
|
6300
|
+
*/
|
|
6301
|
+
connect(parameters, options) {
|
|
6302
|
+
const params = buildClientParams([parameters], [
|
|
6303
|
+
{
|
|
6304
|
+
args: [
|
|
6305
|
+
{ in: "path", key: "ptyID" },
|
|
6306
|
+
{ in: "query", key: "location[directory]" },
|
|
6307
|
+
{ in: "query", key: "location[workspace]" },
|
|
6308
|
+
{ in: "query", key: "cursor" },
|
|
6309
|
+
{ in: "query", key: "ticket" },
|
|
6310
|
+
],
|
|
6311
|
+
},
|
|
6312
|
+
]);
|
|
6313
|
+
return (options?.client ?? this.client).get({
|
|
6314
|
+
url: "/api/pty/{ptyID}/connect",
|
|
6315
|
+
...options,
|
|
6316
|
+
...params,
|
|
6317
|
+
});
|
|
6318
|
+
}
|
|
6319
|
+
}
|
|
6143
6320
|
export class Request2 extends HeyApiClient {
|
|
6144
6321
|
/**
|
|
6145
6322
|
* List pending question requests
|
|
@@ -6176,6 +6353,68 @@ export class Reference extends HeyApiClient {
|
|
|
6176
6353
|
});
|
|
6177
6354
|
}
|
|
6178
6355
|
}
|
|
6356
|
+
export class ProjectCopy2 extends HeyApiClient {
|
|
6357
|
+
remove(parameters, options) {
|
|
6358
|
+
const params = buildClientParams([parameters], [
|
|
6359
|
+
{
|
|
6360
|
+
args: [
|
|
6361
|
+
{ in: "path", key: "projectID" },
|
|
6362
|
+
{ in: "query", key: "location" },
|
|
6363
|
+
{ in: "body", key: "directory" },
|
|
6364
|
+
{ in: "body", key: "force" },
|
|
6365
|
+
],
|
|
6366
|
+
},
|
|
6367
|
+
]);
|
|
6368
|
+
return (options?.client ?? this.client).delete({
|
|
6369
|
+
url: "/experimental/project/{projectID}/copy",
|
|
6370
|
+
...options,
|
|
6371
|
+
...params,
|
|
6372
|
+
headers: {
|
|
6373
|
+
"Content-Type": "application/json",
|
|
6374
|
+
...options?.headers,
|
|
6375
|
+
...params.headers,
|
|
6376
|
+
},
|
|
6377
|
+
});
|
|
6378
|
+
}
|
|
6379
|
+
create(parameters, options) {
|
|
6380
|
+
const params = buildClientParams([parameters], [
|
|
6381
|
+
{
|
|
6382
|
+
args: [
|
|
6383
|
+
{ in: "path", key: "projectID" },
|
|
6384
|
+
{ in: "query", key: "location" },
|
|
6385
|
+
{ in: "body", key: "strategy" },
|
|
6386
|
+
{ in: "body", key: "directory" },
|
|
6387
|
+
{ in: "body", key: "name" },
|
|
6388
|
+
],
|
|
6389
|
+
},
|
|
6390
|
+
]);
|
|
6391
|
+
return (options?.client ?? this.client).post({
|
|
6392
|
+
url: "/experimental/project/{projectID}/copy",
|
|
6393
|
+
...options,
|
|
6394
|
+
...params,
|
|
6395
|
+
headers: {
|
|
6396
|
+
"Content-Type": "application/json",
|
|
6397
|
+
...options?.headers,
|
|
6398
|
+
...params.headers,
|
|
6399
|
+
},
|
|
6400
|
+
});
|
|
6401
|
+
}
|
|
6402
|
+
refresh(parameters, options) {
|
|
6403
|
+
const params = buildClientParams([parameters], [
|
|
6404
|
+
{
|
|
6405
|
+
args: [
|
|
6406
|
+
{ in: "path", key: "projectID" },
|
|
6407
|
+
{ in: "query", key: "location" },
|
|
6408
|
+
],
|
|
6409
|
+
},
|
|
6410
|
+
]);
|
|
6411
|
+
return (options?.client ?? this.client).post({
|
|
6412
|
+
url: "/experimental/project/{projectID}/copy/refresh",
|
|
6413
|
+
...options,
|
|
6414
|
+
...params,
|
|
6415
|
+
});
|
|
6416
|
+
}
|
|
6417
|
+
}
|
|
6179
6418
|
export class V2 extends HeyApiClient {
|
|
6180
6419
|
_health;
|
|
6181
6420
|
get health() {
|
|
@@ -6201,9 +6440,13 @@ export class V2 extends HeyApiClient {
|
|
|
6201
6440
|
get provider() {
|
|
6202
6441
|
return (this._provider ??= new Provider2({ client: this.client }));
|
|
6203
6442
|
}
|
|
6204
|
-
|
|
6205
|
-
get
|
|
6206
|
-
return (this.
|
|
6443
|
+
_integration;
|
|
6444
|
+
get integration() {
|
|
6445
|
+
return (this._integration ??= new Integration({ client: this.client }));
|
|
6446
|
+
}
|
|
6447
|
+
_credential;
|
|
6448
|
+
get credential() {
|
|
6449
|
+
return (this._credential ??= new Credential({ client: this.client }));
|
|
6207
6450
|
}
|
|
6208
6451
|
_permission;
|
|
6209
6452
|
get permission() {
|
|
@@ -6225,6 +6468,10 @@ export class V2 extends HeyApiClient {
|
|
|
6225
6468
|
get event() {
|
|
6226
6469
|
return (this._event ??= new Event2({ client: this.client }));
|
|
6227
6470
|
}
|
|
6471
|
+
_pty;
|
|
6472
|
+
get pty() {
|
|
6473
|
+
return (this._pty ??= new Pty2({ client: this.client }));
|
|
6474
|
+
}
|
|
6228
6475
|
_question;
|
|
6229
6476
|
get question() {
|
|
6230
6477
|
return (this._question ??= new Question3({ client: this.client }));
|
|
@@ -6233,6 +6480,10 @@ export class V2 extends HeyApiClient {
|
|
|
6233
6480
|
get reference() {
|
|
6234
6481
|
return (this._reference ??= new Reference({ client: this.client }));
|
|
6235
6482
|
}
|
|
6483
|
+
_projectCopy;
|
|
6484
|
+
get projectCopy() {
|
|
6485
|
+
return (this._projectCopy ??= new ProjectCopy2({ client: this.client }));
|
|
6486
|
+
}
|
|
6236
6487
|
}
|
|
6237
6488
|
export class KiloClient extends HeyApiClient {
|
|
6238
6489
|
static __registry = new HeyApiRegistry();
|