@blaxel/core 0.2.92-preview.188 → 0.2.92-preview.189
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/cjs/.tsbuildinfo +1 -1
- package/dist/cjs/client/sdk.gen.js +194 -811
- package/dist/cjs/common/settings.js +2 -2
- package/dist/cjs/drive/index.js +2 -1
- package/dist/cjs/jobs/jobs.js +2 -1
- package/dist/cjs/sandbox/sandbox.js +3 -2
- package/dist/cjs/types/client/sdk.gen.d.ts +40 -20
- package/dist/cjs/types/client/types.gen.d.ts +806 -24
- package/dist/cjs/volume/index.js +2 -1
- package/dist/cjs-browser/.tsbuildinfo +1 -1
- package/dist/cjs-browser/client/sdk.gen.js +194 -811
- package/dist/cjs-browser/common/settings.js +2 -2
- package/dist/cjs-browser/drive/index.js +2 -1
- package/dist/cjs-browser/jobs/jobs.js +2 -1
- package/dist/cjs-browser/sandbox/sandbox.js +3 -2
- package/dist/cjs-browser/types/client/sdk.gen.d.ts +40 -20
- package/dist/cjs-browser/types/client/types.gen.d.ts +806 -24
- package/dist/cjs-browser/volume/index.js +2 -1
- package/dist/esm/.tsbuildinfo +1 -1
- package/dist/esm/client/sdk.gen.js +187 -808
- package/dist/esm/common/settings.js +2 -2
- package/dist/esm/drive/index.js +2 -1
- package/dist/esm/jobs/jobs.js +2 -1
- package/dist/esm/sandbox/sandbox.js +3 -2
- package/dist/esm/volume/index.js +2 -1
- package/dist/esm-browser/.tsbuildinfo +1 -1
- package/dist/esm-browser/client/sdk.gen.js +187 -808
- package/dist/esm-browser/common/settings.js +2 -2
- package/dist/esm-browser/drive/index.js +2 -1
- package/dist/esm-browser/jobs/jobs.js +2 -1
- package/dist/esm-browser/sandbox/sandbox.js +3 -2
- package/dist/esm-browser/volume/index.js +2 -1
- package/package.json +1 -1
|
@@ -2,16 +2,11 @@
|
|
|
2
2
|
import { client as _heyApiClient } from "./client.gen.js";
|
|
3
3
|
/**
|
|
4
4
|
* List all agents
|
|
5
|
-
* Returns
|
|
5
|
+
* Returns AI agents deployed in the workspace. Each agent includes its deployment status, runtime configuration, and global inference endpoint URL. Starting with API version 2026-04-28 the response is wrapped in `{data, meta}` and supports cursor pagination via the `cursor` and `limit` query parameters; older versions keep returning a bare array with all agents.
|
|
6
6
|
*/
|
|
7
7
|
export const listAgents = (options) => {
|
|
8
8
|
return (options?.client ?? _heyApiClient).get({
|
|
9
|
-
security: [
|
|
10
|
-
{
|
|
11
|
-
scheme: 'bearer',
|
|
12
|
-
type: 'http'
|
|
13
|
-
}
|
|
14
|
-
],
|
|
9
|
+
security: [],
|
|
15
10
|
url: '/agents',
|
|
16
11
|
...options
|
|
17
12
|
});
|
|
@@ -22,12 +17,7 @@ export const listAgents = (options) => {
|
|
|
22
17
|
*/
|
|
23
18
|
export const createAgent = (options) => {
|
|
24
19
|
return (options.client ?? _heyApiClient).post({
|
|
25
|
-
security: [
|
|
26
|
-
{
|
|
27
|
-
scheme: 'bearer',
|
|
28
|
-
type: 'http'
|
|
29
|
-
}
|
|
30
|
-
],
|
|
20
|
+
security: [],
|
|
31
21
|
url: '/agents',
|
|
32
22
|
...options,
|
|
33
23
|
headers: {
|
|
@@ -42,12 +32,7 @@ export const createAgent = (options) => {
|
|
|
42
32
|
*/
|
|
43
33
|
export const deleteAgent = (options) => {
|
|
44
34
|
return (options.client ?? _heyApiClient).delete({
|
|
45
|
-
security: [
|
|
46
|
-
{
|
|
47
|
-
scheme: 'bearer',
|
|
48
|
-
type: 'http'
|
|
49
|
-
}
|
|
50
|
-
],
|
|
35
|
+
security: [],
|
|
51
36
|
url: '/agents/{agentName}',
|
|
52
37
|
...options
|
|
53
38
|
});
|
|
@@ -58,12 +43,7 @@ export const deleteAgent = (options) => {
|
|
|
58
43
|
*/
|
|
59
44
|
export const getAgent = (options) => {
|
|
60
45
|
return (options.client ?? _heyApiClient).get({
|
|
61
|
-
security: [
|
|
62
|
-
{
|
|
63
|
-
scheme: 'bearer',
|
|
64
|
-
type: 'http'
|
|
65
|
-
}
|
|
66
|
-
],
|
|
46
|
+
security: [],
|
|
67
47
|
url: '/agents/{agentName}',
|
|
68
48
|
...options
|
|
69
49
|
});
|
|
@@ -74,12 +54,7 @@ export const getAgent = (options) => {
|
|
|
74
54
|
*/
|
|
75
55
|
export const updateAgent = (options) => {
|
|
76
56
|
return (options.client ?? _heyApiClient).put({
|
|
77
|
-
security: [
|
|
78
|
-
{
|
|
79
|
-
scheme: 'bearer',
|
|
80
|
-
type: 'http'
|
|
81
|
-
}
|
|
82
|
-
],
|
|
57
|
+
security: [],
|
|
83
58
|
url: '/agents/{agentName}',
|
|
84
59
|
...options,
|
|
85
60
|
headers: {
|
|
@@ -93,12 +68,7 @@ export const updateAgent = (options) => {
|
|
|
93
68
|
*/
|
|
94
69
|
export const listAgentRevisions = (options) => {
|
|
95
70
|
return (options.client ?? _heyApiClient).get({
|
|
96
|
-
security: [
|
|
97
|
-
{
|
|
98
|
-
scheme: 'bearer',
|
|
99
|
-
type: 'http'
|
|
100
|
-
}
|
|
101
|
-
],
|
|
71
|
+
security: [],
|
|
102
72
|
url: '/agents/{agentName}/revisions',
|
|
103
73
|
...options
|
|
104
74
|
});
|
|
@@ -109,12 +79,7 @@ export const listAgentRevisions = (options) => {
|
|
|
109
79
|
*/
|
|
110
80
|
export const getConfiguration = (options) => {
|
|
111
81
|
return (options?.client ?? _heyApiClient).get({
|
|
112
|
-
security: [
|
|
113
|
-
{
|
|
114
|
-
scheme: 'bearer',
|
|
115
|
-
type: 'http'
|
|
116
|
-
}
|
|
117
|
-
],
|
|
82
|
+
security: [],
|
|
118
83
|
url: '/configuration',
|
|
119
84
|
...options
|
|
120
85
|
});
|
|
@@ -125,12 +90,7 @@ export const getConfiguration = (options) => {
|
|
|
125
90
|
*/
|
|
126
91
|
export const listCustomDomains = (options) => {
|
|
127
92
|
return (options?.client ?? _heyApiClient).get({
|
|
128
|
-
security: [
|
|
129
|
-
{
|
|
130
|
-
scheme: 'bearer',
|
|
131
|
-
type: 'http'
|
|
132
|
-
}
|
|
133
|
-
],
|
|
93
|
+
security: [],
|
|
134
94
|
url: '/customdomains',
|
|
135
95
|
...options
|
|
136
96
|
});
|
|
@@ -141,12 +101,7 @@ export const listCustomDomains = (options) => {
|
|
|
141
101
|
*/
|
|
142
102
|
export const createCustomDomain = (options) => {
|
|
143
103
|
return (options.client ?? _heyApiClient).post({
|
|
144
|
-
security: [
|
|
145
|
-
{
|
|
146
|
-
scheme: 'bearer',
|
|
147
|
-
type: 'http'
|
|
148
|
-
}
|
|
149
|
-
],
|
|
104
|
+
security: [],
|
|
150
105
|
url: '/customdomains',
|
|
151
106
|
...options,
|
|
152
107
|
headers: {
|
|
@@ -160,12 +115,7 @@ export const createCustomDomain = (options) => {
|
|
|
160
115
|
*/
|
|
161
116
|
export const deleteCustomDomain = (options) => {
|
|
162
117
|
return (options.client ?? _heyApiClient).delete({
|
|
163
|
-
security: [
|
|
164
|
-
{
|
|
165
|
-
scheme: 'bearer',
|
|
166
|
-
type: 'http'
|
|
167
|
-
}
|
|
168
|
-
],
|
|
118
|
+
security: [],
|
|
169
119
|
url: '/customdomains/{domainName}',
|
|
170
120
|
...options
|
|
171
121
|
});
|
|
@@ -175,12 +125,7 @@ export const deleteCustomDomain = (options) => {
|
|
|
175
125
|
*/
|
|
176
126
|
export const getCustomDomain = (options) => {
|
|
177
127
|
return (options.client ?? _heyApiClient).get({
|
|
178
|
-
security: [
|
|
179
|
-
{
|
|
180
|
-
scheme: 'bearer',
|
|
181
|
-
type: 'http'
|
|
182
|
-
}
|
|
183
|
-
],
|
|
128
|
+
security: [],
|
|
184
129
|
url: '/customdomains/{domainName}',
|
|
185
130
|
...options
|
|
186
131
|
});
|
|
@@ -190,12 +135,7 @@ export const getCustomDomain = (options) => {
|
|
|
190
135
|
*/
|
|
191
136
|
export const updateCustomDomain = (options) => {
|
|
192
137
|
return (options.client ?? _heyApiClient).put({
|
|
193
|
-
security: [
|
|
194
|
-
{
|
|
195
|
-
scheme: 'bearer',
|
|
196
|
-
type: 'http'
|
|
197
|
-
}
|
|
198
|
-
],
|
|
138
|
+
security: [],
|
|
199
139
|
url: '/customdomains/{domainName}',
|
|
200
140
|
...options,
|
|
201
141
|
headers: {
|
|
@@ -209,28 +149,18 @@ export const updateCustomDomain = (options) => {
|
|
|
209
149
|
*/
|
|
210
150
|
export const verifyCustomDomain = (options) => {
|
|
211
151
|
return (options.client ?? _heyApiClient).post({
|
|
212
|
-
security: [
|
|
213
|
-
{
|
|
214
|
-
scheme: 'bearer',
|
|
215
|
-
type: 'http'
|
|
216
|
-
}
|
|
217
|
-
],
|
|
152
|
+
security: [],
|
|
218
153
|
url: '/customdomains/{domainName}/verify',
|
|
219
154
|
...options
|
|
220
155
|
});
|
|
221
156
|
};
|
|
222
157
|
/**
|
|
223
158
|
* List drives
|
|
224
|
-
* Returns all drives in the workspace. Drives provide persistent storage that can be attached to agents, functions, and sandboxes.
|
|
159
|
+
* Returns all drives in the workspace. Drives provide persistent storage that can be attached to agents, functions, and sandboxes. Starting with API version 2026-04-28, the response wraps items in `{data, meta}` and supports cursor pagination via the `cursor` and `limit` query parameters; older versions keep returning a bare array with all drives.
|
|
225
160
|
*/
|
|
226
161
|
export const listDrives = (options) => {
|
|
227
162
|
return (options?.client ?? _heyApiClient).get({
|
|
228
|
-
security: [
|
|
229
|
-
{
|
|
230
|
-
scheme: 'bearer',
|
|
231
|
-
type: 'http'
|
|
232
|
-
}
|
|
233
|
-
],
|
|
163
|
+
security: [],
|
|
234
164
|
url: '/drives',
|
|
235
165
|
...options
|
|
236
166
|
});
|
|
@@ -241,12 +171,7 @@ export const listDrives = (options) => {
|
|
|
241
171
|
*/
|
|
242
172
|
export const createDrive = (options) => {
|
|
243
173
|
return (options.client ?? _heyApiClient).post({
|
|
244
|
-
security: [
|
|
245
|
-
{
|
|
246
|
-
scheme: 'bearer',
|
|
247
|
-
type: 'http'
|
|
248
|
-
}
|
|
249
|
-
],
|
|
174
|
+
security: [],
|
|
250
175
|
url: '/drives',
|
|
251
176
|
...options,
|
|
252
177
|
headers: {
|
|
@@ -261,12 +186,7 @@ export const createDrive = (options) => {
|
|
|
261
186
|
*/
|
|
262
187
|
export const deleteDrive = (options) => {
|
|
263
188
|
return (options.client ?? _heyApiClient).delete({
|
|
264
|
-
security: [
|
|
265
|
-
{
|
|
266
|
-
scheme: 'bearer',
|
|
267
|
-
type: 'http'
|
|
268
|
-
}
|
|
269
|
-
],
|
|
189
|
+
security: [],
|
|
270
190
|
url: '/drives/{driveName}',
|
|
271
191
|
...options
|
|
272
192
|
});
|
|
@@ -277,12 +197,7 @@ export const deleteDrive = (options) => {
|
|
|
277
197
|
*/
|
|
278
198
|
export const getDrive = (options) => {
|
|
279
199
|
return (options.client ?? _heyApiClient).get({
|
|
280
|
-
security: [
|
|
281
|
-
{
|
|
282
|
-
scheme: 'bearer',
|
|
283
|
-
type: 'http'
|
|
284
|
-
}
|
|
285
|
-
],
|
|
200
|
+
security: [],
|
|
286
201
|
url: '/drives/{driveName}',
|
|
287
202
|
...options
|
|
288
203
|
});
|
|
@@ -293,12 +208,7 @@ export const getDrive = (options) => {
|
|
|
293
208
|
*/
|
|
294
209
|
export const updateDrive = (options) => {
|
|
295
210
|
return (options.client ?? _heyApiClient).put({
|
|
296
|
-
security: [
|
|
297
|
-
{
|
|
298
|
-
scheme: 'bearer',
|
|
299
|
-
type: 'http'
|
|
300
|
-
}
|
|
301
|
-
],
|
|
211
|
+
security: [],
|
|
302
212
|
url: '/drives/{driveName}',
|
|
303
213
|
...options,
|
|
304
214
|
headers: {
|
|
@@ -313,12 +223,7 @@ export const updateDrive = (options) => {
|
|
|
313
223
|
*/
|
|
314
224
|
export const createDriveAccessToken = (options) => {
|
|
315
225
|
return (options.client ?? _heyApiClient).post({
|
|
316
|
-
security: [
|
|
317
|
-
{
|
|
318
|
-
scheme: 'bearer',
|
|
319
|
-
type: 'http'
|
|
320
|
-
}
|
|
321
|
-
],
|
|
226
|
+
security: [],
|
|
322
227
|
url: '/drives/{driveName}/access-token',
|
|
323
228
|
...options
|
|
324
229
|
});
|
|
@@ -338,27 +243,28 @@ export const getDriveJwks = (options) => {
|
|
|
338
243
|
*/
|
|
339
244
|
export const listAllEgressGateways = (options) => {
|
|
340
245
|
return (options?.client ?? _heyApiClient).get({
|
|
341
|
-
security: [
|
|
342
|
-
{
|
|
343
|
-
scheme: 'bearer',
|
|
344
|
-
type: 'http'
|
|
345
|
-
}
|
|
346
|
-
],
|
|
246
|
+
security: [],
|
|
347
247
|
url: '/egressgateways',
|
|
348
248
|
...options
|
|
349
249
|
});
|
|
350
250
|
};
|
|
251
|
+
/**
|
|
252
|
+
* Egress gateway sandbox attachments
|
|
253
|
+
* Returns the inverse map (gateway → sandbox names) for the workspace. Used by the egress-IPs UI to render attachment counts without fetching the sandboxes listing full client-side.
|
|
254
|
+
*/
|
|
255
|
+
export const getEgressGatewayUsage = (options) => {
|
|
256
|
+
return (options?.client ?? _heyApiClient).get({
|
|
257
|
+
security: [],
|
|
258
|
+
url: '/egressgateways/usage',
|
|
259
|
+
...options
|
|
260
|
+
});
|
|
261
|
+
};
|
|
351
262
|
/**
|
|
352
263
|
* List all egress IPs across all VPCs and gateways in the workspace
|
|
353
264
|
*/
|
|
354
265
|
export const listAllEgressIps = (options) => {
|
|
355
266
|
return (options?.client ?? _heyApiClient).get({
|
|
356
|
-
security: [
|
|
357
|
-
{
|
|
358
|
-
scheme: 'bearer',
|
|
359
|
-
type: 'http'
|
|
360
|
-
}
|
|
361
|
-
],
|
|
267
|
+
security: [],
|
|
362
268
|
url: '/egressips',
|
|
363
269
|
...options
|
|
364
270
|
});
|
|
@@ -369,12 +275,7 @@ export const listAllEgressIps = (options) => {
|
|
|
369
275
|
*/
|
|
370
276
|
export const getWorkspaceFeatures = (options) => {
|
|
371
277
|
return (options?.client ?? _heyApiClient).get({
|
|
372
|
-
security: [
|
|
373
|
-
{
|
|
374
|
-
scheme: 'bearer',
|
|
375
|
-
type: 'http'
|
|
376
|
-
}
|
|
377
|
-
],
|
|
278
|
+
security: [],
|
|
378
279
|
url: '/features',
|
|
379
280
|
...options
|
|
380
281
|
});
|
|
@@ -385,28 +286,18 @@ export const getWorkspaceFeatures = (options) => {
|
|
|
385
286
|
*/
|
|
386
287
|
export const testFeatureFlag = (options) => {
|
|
387
288
|
return (options.client ?? _heyApiClient).get({
|
|
388
|
-
security: [
|
|
389
|
-
{
|
|
390
|
-
scheme: 'bearer',
|
|
391
|
-
type: 'http'
|
|
392
|
-
}
|
|
393
|
-
],
|
|
289
|
+
security: [],
|
|
394
290
|
url: '/features/{featureKey}',
|
|
395
291
|
...options
|
|
396
292
|
});
|
|
397
293
|
};
|
|
398
294
|
/**
|
|
399
295
|
* List all MCP servers
|
|
400
|
-
* Returns
|
|
296
|
+
* Returns MCP server functions deployed in the workspace. Each function includes its deployment status, transport protocol (websocket or http-stream), and endpoint URL. Starting with API version 2026-04-28 the response is wrapped in `{data, meta}` and supports cursor pagination via the `cursor` and `limit` query parameters; older versions keep returning a bare array with all functions.
|
|
401
297
|
*/
|
|
402
298
|
export const listFunctions = (options) => {
|
|
403
299
|
return (options?.client ?? _heyApiClient).get({
|
|
404
|
-
security: [
|
|
405
|
-
{
|
|
406
|
-
scheme: 'bearer',
|
|
407
|
-
type: 'http'
|
|
408
|
-
}
|
|
409
|
-
],
|
|
300
|
+
security: [],
|
|
410
301
|
url: '/functions',
|
|
411
302
|
...options
|
|
412
303
|
});
|
|
@@ -417,12 +308,7 @@ export const listFunctions = (options) => {
|
|
|
417
308
|
*/
|
|
418
309
|
export const createFunction = (options) => {
|
|
419
310
|
return (options.client ?? _heyApiClient).post({
|
|
420
|
-
security: [
|
|
421
|
-
{
|
|
422
|
-
scheme: 'bearer',
|
|
423
|
-
type: 'http'
|
|
424
|
-
}
|
|
425
|
-
],
|
|
311
|
+
security: [],
|
|
426
312
|
url: '/functions',
|
|
427
313
|
...options,
|
|
428
314
|
headers: {
|
|
@@ -437,12 +323,7 @@ export const createFunction = (options) => {
|
|
|
437
323
|
*/
|
|
438
324
|
export const deleteFunction = (options) => {
|
|
439
325
|
return (options.client ?? _heyApiClient).delete({
|
|
440
|
-
security: [
|
|
441
|
-
{
|
|
442
|
-
scheme: 'bearer',
|
|
443
|
-
type: 'http'
|
|
444
|
-
}
|
|
445
|
-
],
|
|
326
|
+
security: [],
|
|
446
327
|
url: '/functions/{functionName}',
|
|
447
328
|
...options
|
|
448
329
|
});
|
|
@@ -453,12 +334,7 @@ export const deleteFunction = (options) => {
|
|
|
453
334
|
*/
|
|
454
335
|
export const getFunction = (options) => {
|
|
455
336
|
return (options.client ?? _heyApiClient).get({
|
|
456
|
-
security: [
|
|
457
|
-
{
|
|
458
|
-
scheme: 'bearer',
|
|
459
|
-
type: 'http'
|
|
460
|
-
}
|
|
461
|
-
],
|
|
337
|
+
security: [],
|
|
462
338
|
url: '/functions/{functionName}',
|
|
463
339
|
...options
|
|
464
340
|
});
|
|
@@ -469,12 +345,7 @@ export const getFunction = (options) => {
|
|
|
469
345
|
*/
|
|
470
346
|
export const updateFunction = (options) => {
|
|
471
347
|
return (options.client ?? _heyApiClient).put({
|
|
472
|
-
security: [
|
|
473
|
-
{
|
|
474
|
-
scheme: 'bearer',
|
|
475
|
-
type: 'http'
|
|
476
|
-
}
|
|
477
|
-
],
|
|
348
|
+
security: [],
|
|
478
349
|
url: '/functions/{functionName}',
|
|
479
350
|
...options,
|
|
480
351
|
headers: {
|
|
@@ -489,12 +360,7 @@ export const updateFunction = (options) => {
|
|
|
489
360
|
*/
|
|
490
361
|
export const listFunctionRevisions = (options) => {
|
|
491
362
|
return (options.client ?? _heyApiClient).get({
|
|
492
|
-
security: [
|
|
493
|
-
{
|
|
494
|
-
scheme: 'bearer',
|
|
495
|
-
type: 'http'
|
|
496
|
-
}
|
|
497
|
-
],
|
|
363
|
+
security: [],
|
|
498
364
|
url: '/functions/{functionName}/revisions',
|
|
499
365
|
...options
|
|
500
366
|
});
|
|
@@ -505,12 +371,7 @@ export const listFunctionRevisions = (options) => {
|
|
|
505
371
|
*/
|
|
506
372
|
export const cleanupImages = (options) => {
|
|
507
373
|
return (options?.client ?? _heyApiClient).delete({
|
|
508
|
-
security: [
|
|
509
|
-
{
|
|
510
|
-
scheme: 'bearer',
|
|
511
|
-
type: 'http'
|
|
512
|
-
}
|
|
513
|
-
],
|
|
374
|
+
security: [],
|
|
514
375
|
url: '/images',
|
|
515
376
|
...options
|
|
516
377
|
});
|
|
@@ -521,12 +382,7 @@ export const cleanupImages = (options) => {
|
|
|
521
382
|
*/
|
|
522
383
|
export const listImages = (options) => {
|
|
523
384
|
return (options?.client ?? _heyApiClient).get({
|
|
524
|
-
security: [
|
|
525
|
-
{
|
|
526
|
-
scheme: 'bearer',
|
|
527
|
-
type: 'http'
|
|
528
|
-
}
|
|
529
|
-
],
|
|
385
|
+
security: [],
|
|
530
386
|
url: '/images',
|
|
531
387
|
...options
|
|
532
388
|
});
|
|
@@ -537,12 +393,7 @@ export const listImages = (options) => {
|
|
|
537
393
|
*/
|
|
538
394
|
export const createImage = (options) => {
|
|
539
395
|
return (options.client ?? _heyApiClient).post({
|
|
540
|
-
security: [
|
|
541
|
-
{
|
|
542
|
-
scheme: 'bearer',
|
|
543
|
-
type: 'http'
|
|
544
|
-
}
|
|
545
|
-
],
|
|
396
|
+
security: [],
|
|
546
397
|
url: '/images',
|
|
547
398
|
...options,
|
|
548
399
|
headers: {
|
|
@@ -557,12 +408,7 @@ export const createImage = (options) => {
|
|
|
557
408
|
*/
|
|
558
409
|
export const deleteImage = (options) => {
|
|
559
410
|
return (options.client ?? _heyApiClient).delete({
|
|
560
|
-
security: [
|
|
561
|
-
{
|
|
562
|
-
scheme: 'bearer',
|
|
563
|
-
type: 'http'
|
|
564
|
-
}
|
|
565
|
-
],
|
|
411
|
+
security: [],
|
|
566
412
|
url: '/images/{resourceType}/{imageName}',
|
|
567
413
|
...options
|
|
568
414
|
});
|
|
@@ -573,12 +419,7 @@ export const deleteImage = (options) => {
|
|
|
573
419
|
*/
|
|
574
420
|
export const getImage = (options) => {
|
|
575
421
|
return (options.client ?? _heyApiClient).get({
|
|
576
|
-
security: [
|
|
577
|
-
{
|
|
578
|
-
scheme: 'bearer',
|
|
579
|
-
type: 'http'
|
|
580
|
-
}
|
|
581
|
-
],
|
|
422
|
+
security: [],
|
|
582
423
|
url: '/images/{resourceType}/{imageName}',
|
|
583
424
|
...options
|
|
584
425
|
});
|
|
@@ -589,12 +430,7 @@ export const getImage = (options) => {
|
|
|
589
430
|
*/
|
|
590
431
|
export const listImageShares = (options) => {
|
|
591
432
|
return (options.client ?? _heyApiClient).get({
|
|
592
|
-
security: [
|
|
593
|
-
{
|
|
594
|
-
scheme: 'bearer',
|
|
595
|
-
type: 'http'
|
|
596
|
-
}
|
|
597
|
-
],
|
|
433
|
+
security: [],
|
|
598
434
|
url: '/images/{resourceType}/{imageName}/share',
|
|
599
435
|
...options
|
|
600
436
|
});
|
|
@@ -605,12 +441,7 @@ export const listImageShares = (options) => {
|
|
|
605
441
|
*/
|
|
606
442
|
export const shareImage = (options) => {
|
|
607
443
|
return (options.client ?? _heyApiClient).post({
|
|
608
|
-
security: [
|
|
609
|
-
{
|
|
610
|
-
scheme: 'bearer',
|
|
611
|
-
type: 'http'
|
|
612
|
-
}
|
|
613
|
-
],
|
|
444
|
+
security: [],
|
|
614
445
|
url: '/images/{resourceType}/{imageName}/share',
|
|
615
446
|
...options,
|
|
616
447
|
headers: {
|
|
@@ -625,12 +456,7 @@ export const shareImage = (options) => {
|
|
|
625
456
|
*/
|
|
626
457
|
export const unshareImage = (options) => {
|
|
627
458
|
return (options.client ?? _heyApiClient).delete({
|
|
628
|
-
security: [
|
|
629
|
-
{
|
|
630
|
-
scheme: 'bearer',
|
|
631
|
-
type: 'http'
|
|
632
|
-
}
|
|
633
|
-
],
|
|
459
|
+
security: [],
|
|
634
460
|
url: '/images/{resourceType}/{imageName}/share/{targetWorkspace}',
|
|
635
461
|
...options
|
|
636
462
|
});
|
|
@@ -641,12 +467,7 @@ export const unshareImage = (options) => {
|
|
|
641
467
|
*/
|
|
642
468
|
export const deleteImageTag = (options) => {
|
|
643
469
|
return (options.client ?? _heyApiClient).delete({
|
|
644
|
-
security: [
|
|
645
|
-
{
|
|
646
|
-
scheme: 'bearer',
|
|
647
|
-
type: 'http'
|
|
648
|
-
}
|
|
649
|
-
],
|
|
470
|
+
security: [],
|
|
650
471
|
url: '/images/{resourceType}/{imageName}/tags/{tagName}',
|
|
651
472
|
...options
|
|
652
473
|
});
|
|
@@ -657,12 +478,7 @@ export const deleteImageTag = (options) => {
|
|
|
657
478
|
*/
|
|
658
479
|
export const getIntegration = (options) => {
|
|
659
480
|
return (options.client ?? _heyApiClient).get({
|
|
660
|
-
security: [
|
|
661
|
-
{
|
|
662
|
-
scheme: 'bearer',
|
|
663
|
-
type: 'http'
|
|
664
|
-
}
|
|
665
|
-
],
|
|
481
|
+
security: [],
|
|
666
482
|
url: '/integrations/{integrationName}',
|
|
667
483
|
...options
|
|
668
484
|
});
|
|
@@ -673,12 +489,7 @@ export const getIntegration = (options) => {
|
|
|
673
489
|
*/
|
|
674
490
|
export const listIntegrationConnections = (options) => {
|
|
675
491
|
return (options?.client ?? _heyApiClient).get({
|
|
676
|
-
security: [
|
|
677
|
-
{
|
|
678
|
-
scheme: 'bearer',
|
|
679
|
-
type: 'http'
|
|
680
|
-
}
|
|
681
|
-
],
|
|
492
|
+
security: [],
|
|
682
493
|
url: '/integrations/connections',
|
|
683
494
|
...options
|
|
684
495
|
});
|
|
@@ -689,12 +500,7 @@ export const listIntegrationConnections = (options) => {
|
|
|
689
500
|
*/
|
|
690
501
|
export const createIntegrationConnection = (options) => {
|
|
691
502
|
return (options.client ?? _heyApiClient).post({
|
|
692
|
-
security: [
|
|
693
|
-
{
|
|
694
|
-
scheme: 'bearer',
|
|
695
|
-
type: 'http'
|
|
696
|
-
}
|
|
697
|
-
],
|
|
503
|
+
security: [],
|
|
698
504
|
url: '/integrations/connections',
|
|
699
505
|
...options,
|
|
700
506
|
headers: {
|
|
@@ -709,12 +515,7 @@ export const createIntegrationConnection = (options) => {
|
|
|
709
515
|
*/
|
|
710
516
|
export const deleteIntegrationConnection = (options) => {
|
|
711
517
|
return (options.client ?? _heyApiClient).delete({
|
|
712
|
-
security: [
|
|
713
|
-
{
|
|
714
|
-
scheme: 'bearer',
|
|
715
|
-
type: 'http'
|
|
716
|
-
}
|
|
717
|
-
],
|
|
518
|
+
security: [],
|
|
718
519
|
url: '/integrations/connections/{connectionName}',
|
|
719
520
|
...options
|
|
720
521
|
});
|
|
@@ -725,12 +526,7 @@ export const deleteIntegrationConnection = (options) => {
|
|
|
725
526
|
*/
|
|
726
527
|
export const getIntegrationConnection = (options) => {
|
|
727
528
|
return (options.client ?? _heyApiClient).get({
|
|
728
|
-
security: [
|
|
729
|
-
{
|
|
730
|
-
scheme: 'bearer',
|
|
731
|
-
type: 'http'
|
|
732
|
-
}
|
|
733
|
-
],
|
|
529
|
+
security: [],
|
|
734
530
|
url: '/integrations/connections/{connectionName}',
|
|
735
531
|
...options
|
|
736
532
|
});
|
|
@@ -741,12 +537,7 @@ export const getIntegrationConnection = (options) => {
|
|
|
741
537
|
*/
|
|
742
538
|
export const updateIntegrationConnection = (options) => {
|
|
743
539
|
return (options.client ?? _heyApiClient).put({
|
|
744
|
-
security: [
|
|
745
|
-
{
|
|
746
|
-
scheme: 'bearer',
|
|
747
|
-
type: 'http'
|
|
748
|
-
}
|
|
749
|
-
],
|
|
540
|
+
security: [],
|
|
750
541
|
url: '/integrations/connections/{connectionName}',
|
|
751
542
|
...options,
|
|
752
543
|
headers: {
|
|
@@ -761,12 +552,7 @@ export const updateIntegrationConnection = (options) => {
|
|
|
761
552
|
*/
|
|
762
553
|
export const getIntegrationConnectionModelEndpointConfigurations = (options) => {
|
|
763
554
|
return (options.client ?? _heyApiClient).get({
|
|
764
|
-
security: [
|
|
765
|
-
{
|
|
766
|
-
scheme: 'bearer',
|
|
767
|
-
type: 'http'
|
|
768
|
-
}
|
|
769
|
-
],
|
|
555
|
+
security: [],
|
|
770
556
|
url: '/integrations/connections/{connectionName}/endpointConfigurations',
|
|
771
557
|
...options
|
|
772
558
|
});
|
|
@@ -777,12 +563,7 @@ export const getIntegrationConnectionModelEndpointConfigurations = (options) =>
|
|
|
777
563
|
*/
|
|
778
564
|
export const listIntegrationConnectionModels = (options) => {
|
|
779
565
|
return (options.client ?? _heyApiClient).get({
|
|
780
|
-
security: [
|
|
781
|
-
{
|
|
782
|
-
scheme: 'bearer',
|
|
783
|
-
type: 'http'
|
|
784
|
-
}
|
|
785
|
-
],
|
|
566
|
+
security: [],
|
|
786
567
|
url: '/integrations/connections/{connectionName}/models',
|
|
787
568
|
...options
|
|
788
569
|
});
|
|
@@ -793,28 +574,18 @@ export const listIntegrationConnectionModels = (options) => {
|
|
|
793
574
|
*/
|
|
794
575
|
export const getIntegrationConnectionModel = (options) => {
|
|
795
576
|
return (options.client ?? _heyApiClient).get({
|
|
796
|
-
security: [
|
|
797
|
-
{
|
|
798
|
-
scheme: 'bearer',
|
|
799
|
-
type: 'http'
|
|
800
|
-
}
|
|
801
|
-
],
|
|
577
|
+
security: [],
|
|
802
578
|
url: '/integrations/connections/{connectionName}/models/{modelId}',
|
|
803
579
|
...options
|
|
804
580
|
});
|
|
805
581
|
};
|
|
806
582
|
/**
|
|
807
583
|
* List batch jobs
|
|
808
|
-
* Returns
|
|
584
|
+
* Returns batch job definitions in the workspace. Each job can be triggered to run multiple parallel tasks with configurable concurrency and retry settings. Starting with API version 2026-04-28 the response is wrapped in `{data, meta}` and supports cursor pagination via the `cursor` and `limit` query parameters; older versions keep returning a bare array with all jobs.
|
|
809
585
|
*/
|
|
810
586
|
export const listJobs = (options) => {
|
|
811
587
|
return (options?.client ?? _heyApiClient).get({
|
|
812
|
-
security: [
|
|
813
|
-
{
|
|
814
|
-
scheme: 'bearer',
|
|
815
|
-
type: 'http'
|
|
816
|
-
}
|
|
817
|
-
],
|
|
588
|
+
security: [],
|
|
818
589
|
url: '/jobs',
|
|
819
590
|
...options
|
|
820
591
|
});
|
|
@@ -825,12 +596,7 @@ export const listJobs = (options) => {
|
|
|
825
596
|
*/
|
|
826
597
|
export const createJob = (options) => {
|
|
827
598
|
return (options.client ?? _heyApiClient).post({
|
|
828
|
-
security: [
|
|
829
|
-
{
|
|
830
|
-
scheme: 'bearer',
|
|
831
|
-
type: 'http'
|
|
832
|
-
}
|
|
833
|
-
],
|
|
599
|
+
security: [],
|
|
834
600
|
url: '/jobs',
|
|
835
601
|
...options,
|
|
836
602
|
headers: {
|
|
@@ -845,12 +611,7 @@ export const createJob = (options) => {
|
|
|
845
611
|
*/
|
|
846
612
|
export const deleteJob = (options) => {
|
|
847
613
|
return (options.client ?? _heyApiClient).delete({
|
|
848
|
-
security: [
|
|
849
|
-
{
|
|
850
|
-
scheme: 'bearer',
|
|
851
|
-
type: 'http'
|
|
852
|
-
}
|
|
853
|
-
],
|
|
614
|
+
security: [],
|
|
854
615
|
url: '/jobs/{jobId}',
|
|
855
616
|
...options
|
|
856
617
|
});
|
|
@@ -861,12 +622,7 @@ export const deleteJob = (options) => {
|
|
|
861
622
|
*/
|
|
862
623
|
export const getJob = (options) => {
|
|
863
624
|
return (options.client ?? _heyApiClient).get({
|
|
864
|
-
security: [
|
|
865
|
-
{
|
|
866
|
-
scheme: 'bearer',
|
|
867
|
-
type: 'http'
|
|
868
|
-
}
|
|
869
|
-
],
|
|
625
|
+
security: [],
|
|
870
626
|
url: '/jobs/{jobId}',
|
|
871
627
|
...options
|
|
872
628
|
});
|
|
@@ -877,12 +633,7 @@ export const getJob = (options) => {
|
|
|
877
633
|
*/
|
|
878
634
|
export const updateJob = (options) => {
|
|
879
635
|
return (options.client ?? _heyApiClient).put({
|
|
880
|
-
security: [
|
|
881
|
-
{
|
|
882
|
-
scheme: 'bearer',
|
|
883
|
-
type: 'http'
|
|
884
|
-
}
|
|
885
|
-
],
|
|
636
|
+
security: [],
|
|
886
637
|
url: '/jobs/{jobId}',
|
|
887
638
|
...options,
|
|
888
639
|
headers: {
|
|
@@ -893,16 +644,11 @@ export const updateJob = (options) => {
|
|
|
893
644
|
};
|
|
894
645
|
/**
|
|
895
646
|
* List job executions
|
|
896
|
-
* Returns
|
|
647
|
+
* Returns executions for a batch job. Starting with API version 2026-04-28 the response is wrapped in `{data, meta}` and supports cursor pagination via the `cursor` and `limit` query parameters; older versions keep the legacy offset/limit contract and return a bare array.
|
|
897
648
|
*/
|
|
898
649
|
export const listJobExecutions = (options) => {
|
|
899
650
|
return (options.client ?? _heyApiClient).get({
|
|
900
|
-
security: [
|
|
901
|
-
{
|
|
902
|
-
scheme: 'bearer',
|
|
903
|
-
type: 'http'
|
|
904
|
-
}
|
|
905
|
-
],
|
|
651
|
+
security: [],
|
|
906
652
|
url: '/jobs/{jobId}/executions',
|
|
907
653
|
...options
|
|
908
654
|
});
|
|
@@ -913,12 +659,7 @@ export const listJobExecutions = (options) => {
|
|
|
913
659
|
*/
|
|
914
660
|
export const createJobExecution = (options) => {
|
|
915
661
|
return (options.client ?? _heyApiClient).post({
|
|
916
|
-
security: [
|
|
917
|
-
{
|
|
918
|
-
scheme: 'bearer',
|
|
919
|
-
type: 'http'
|
|
920
|
-
}
|
|
921
|
-
],
|
|
662
|
+
security: [],
|
|
922
663
|
url: '/jobs/{jobId}/executions',
|
|
923
664
|
...options,
|
|
924
665
|
headers: {
|
|
@@ -933,12 +674,7 @@ export const createJobExecution = (options) => {
|
|
|
933
674
|
*/
|
|
934
675
|
export const deleteJobExecution = (options) => {
|
|
935
676
|
return (options.client ?? _heyApiClient).delete({
|
|
936
|
-
security: [
|
|
937
|
-
{
|
|
938
|
-
scheme: 'bearer',
|
|
939
|
-
type: 'http'
|
|
940
|
-
}
|
|
941
|
-
],
|
|
677
|
+
security: [],
|
|
942
678
|
url: '/jobs/{jobId}/executions/{executionId}',
|
|
943
679
|
...options
|
|
944
680
|
});
|
|
@@ -949,28 +685,29 @@ export const deleteJobExecution = (options) => {
|
|
|
949
685
|
*/
|
|
950
686
|
export const getJobExecution = (options) => {
|
|
951
687
|
return (options.client ?? _heyApiClient).get({
|
|
952
|
-
security: [
|
|
953
|
-
{
|
|
954
|
-
scheme: 'bearer',
|
|
955
|
-
type: 'http'
|
|
956
|
-
}
|
|
957
|
-
],
|
|
688
|
+
security: [],
|
|
958
689
|
url: '/jobs/{jobId}/executions/{executionId}',
|
|
959
690
|
...options
|
|
960
691
|
});
|
|
961
692
|
};
|
|
693
|
+
/**
|
|
694
|
+
* List execution tasks
|
|
695
|
+
* Returns one cursor-paginated page of an execution's tasks. Tasks are derived from event history each request; only the in-memory slicing is paginated, the events scan still fetches the whole event log behind the scenes. Available starting with API version 2026-04-28.
|
|
696
|
+
*/
|
|
697
|
+
export const listJobExecutionTasks = (options) => {
|
|
698
|
+
return (options.client ?? _heyApiClient).get({
|
|
699
|
+
security: [],
|
|
700
|
+
url: '/jobs/{jobId}/executions/{executionId}/tasks',
|
|
701
|
+
...options
|
|
702
|
+
});
|
|
703
|
+
};
|
|
962
704
|
/**
|
|
963
705
|
* List job revisions
|
|
964
706
|
* Returns revisions for a job by name.
|
|
965
707
|
*/
|
|
966
708
|
export const listJobRevisions = (options) => {
|
|
967
709
|
return (options.client ?? _heyApiClient).get({
|
|
968
|
-
security: [
|
|
969
|
-
{
|
|
970
|
-
scheme: 'bearer',
|
|
971
|
-
type: 'http'
|
|
972
|
-
}
|
|
973
|
-
],
|
|
710
|
+
security: [],
|
|
974
711
|
url: '/jobs/{jobId}/revisions',
|
|
975
712
|
...options
|
|
976
713
|
});
|
|
@@ -981,12 +718,7 @@ export const listJobRevisions = (options) => {
|
|
|
981
718
|
*/
|
|
982
719
|
export const listLocations = (options) => {
|
|
983
720
|
return (options?.client ?? _heyApiClient).get({
|
|
984
|
-
security: [
|
|
985
|
-
{
|
|
986
|
-
scheme: 'bearer',
|
|
987
|
-
type: 'http'
|
|
988
|
-
}
|
|
989
|
-
],
|
|
721
|
+
security: [],
|
|
990
722
|
url: '/locations',
|
|
991
723
|
...options
|
|
992
724
|
});
|
|
@@ -997,28 +729,18 @@ export const listLocations = (options) => {
|
|
|
997
729
|
*/
|
|
998
730
|
export const listMcpHubDefinitions = (options) => {
|
|
999
731
|
return (options?.client ?? _heyApiClient).get({
|
|
1000
|
-
security: [
|
|
1001
|
-
{
|
|
1002
|
-
scheme: 'bearer',
|
|
1003
|
-
type: 'http'
|
|
1004
|
-
}
|
|
1005
|
-
],
|
|
732
|
+
security: [],
|
|
1006
733
|
url: '/mcp/hub',
|
|
1007
734
|
...options
|
|
1008
735
|
});
|
|
1009
736
|
};
|
|
1010
737
|
/**
|
|
1011
738
|
* List model endpoints
|
|
1012
|
-
* Returns
|
|
739
|
+
* Returns model gateway endpoints configured in the workspace. Each model represents a proxy to an external LLM provider (OpenAI, Anthropic, etc.) with unified access control. Starting with API version 2026-04-28 the response is wrapped in `{data, meta}` and supports cursor pagination via the `cursor` and `limit` query parameters; older versions keep returning a bare array with all models.
|
|
1013
740
|
*/
|
|
1014
741
|
export const listModels = (options) => {
|
|
1015
742
|
return (options?.client ?? _heyApiClient).get({
|
|
1016
|
-
security: [
|
|
1017
|
-
{
|
|
1018
|
-
scheme: 'bearer',
|
|
1019
|
-
type: 'http'
|
|
1020
|
-
}
|
|
1021
|
-
],
|
|
743
|
+
security: [],
|
|
1022
744
|
url: '/models',
|
|
1023
745
|
...options
|
|
1024
746
|
});
|
|
@@ -1029,12 +751,7 @@ export const listModels = (options) => {
|
|
|
1029
751
|
*/
|
|
1030
752
|
export const createModel = (options) => {
|
|
1031
753
|
return (options.client ?? _heyApiClient).post({
|
|
1032
|
-
security: [
|
|
1033
|
-
{
|
|
1034
|
-
scheme: 'bearer',
|
|
1035
|
-
type: 'http'
|
|
1036
|
-
}
|
|
1037
|
-
],
|
|
754
|
+
security: [],
|
|
1038
755
|
url: '/models',
|
|
1039
756
|
...options,
|
|
1040
757
|
headers: {
|
|
@@ -1049,12 +766,7 @@ export const createModel = (options) => {
|
|
|
1049
766
|
*/
|
|
1050
767
|
export const deleteModel = (options) => {
|
|
1051
768
|
return (options.client ?? _heyApiClient).delete({
|
|
1052
|
-
security: [
|
|
1053
|
-
{
|
|
1054
|
-
scheme: 'bearer',
|
|
1055
|
-
type: 'http'
|
|
1056
|
-
}
|
|
1057
|
-
],
|
|
769
|
+
security: [],
|
|
1058
770
|
url: '/models/{modelName}',
|
|
1059
771
|
...options
|
|
1060
772
|
});
|
|
@@ -1065,12 +777,7 @@ export const deleteModel = (options) => {
|
|
|
1065
777
|
*/
|
|
1066
778
|
export const getModel = (options) => {
|
|
1067
779
|
return (options.client ?? _heyApiClient).get({
|
|
1068
|
-
security: [
|
|
1069
|
-
{
|
|
1070
|
-
scheme: 'bearer',
|
|
1071
|
-
type: 'http'
|
|
1072
|
-
}
|
|
1073
|
-
],
|
|
780
|
+
security: [],
|
|
1074
781
|
url: '/models/{modelName}',
|
|
1075
782
|
...options
|
|
1076
783
|
});
|
|
@@ -1081,12 +788,7 @@ export const getModel = (options) => {
|
|
|
1081
788
|
*/
|
|
1082
789
|
export const updateModel = (options) => {
|
|
1083
790
|
return (options.client ?? _heyApiClient).put({
|
|
1084
|
-
security: [
|
|
1085
|
-
{
|
|
1086
|
-
scheme: 'bearer',
|
|
1087
|
-
type: 'http'
|
|
1088
|
-
}
|
|
1089
|
-
],
|
|
791
|
+
security: [],
|
|
1090
792
|
url: '/models/{modelName}',
|
|
1091
793
|
...options,
|
|
1092
794
|
headers: {
|
|
@@ -1101,12 +803,7 @@ export const updateModel = (options) => {
|
|
|
1101
803
|
*/
|
|
1102
804
|
export const listModelRevisions = (options) => {
|
|
1103
805
|
return (options.client ?? _heyApiClient).get({
|
|
1104
|
-
security: [
|
|
1105
|
-
{
|
|
1106
|
-
scheme: 'bearer',
|
|
1107
|
-
type: 'http'
|
|
1108
|
-
}
|
|
1109
|
-
],
|
|
806
|
+
security: [],
|
|
1110
807
|
url: '/models/{modelName}/revisions',
|
|
1111
808
|
...options
|
|
1112
809
|
});
|
|
@@ -1117,12 +814,7 @@ export const listModelRevisions = (options) => {
|
|
|
1117
814
|
*/
|
|
1118
815
|
export const listPendingImageShares = (options) => {
|
|
1119
816
|
return (options?.client ?? _heyApiClient).get({
|
|
1120
|
-
security: [
|
|
1121
|
-
{
|
|
1122
|
-
scheme: 'bearer',
|
|
1123
|
-
type: 'http'
|
|
1124
|
-
}
|
|
1125
|
-
],
|
|
817
|
+
security: [],
|
|
1126
818
|
url: '/pending-image-shares',
|
|
1127
819
|
...options
|
|
1128
820
|
});
|
|
@@ -1133,12 +825,7 @@ export const listPendingImageShares = (options) => {
|
|
|
1133
825
|
*/
|
|
1134
826
|
export const acceptImageShare = (options) => {
|
|
1135
827
|
return (options.client ?? _heyApiClient).post({
|
|
1136
|
-
security: [
|
|
1137
|
-
{
|
|
1138
|
-
scheme: 'bearer',
|
|
1139
|
-
type: 'http'
|
|
1140
|
-
}
|
|
1141
|
-
],
|
|
828
|
+
security: [],
|
|
1142
829
|
url: '/pending-image-shares/{pendingShareId}/accept',
|
|
1143
830
|
...options
|
|
1144
831
|
});
|
|
@@ -1149,28 +836,18 @@ export const acceptImageShare = (options) => {
|
|
|
1149
836
|
*/
|
|
1150
837
|
export const declineImageShare = (options) => {
|
|
1151
838
|
return (options.client ?? _heyApiClient).post({
|
|
1152
|
-
security: [
|
|
1153
|
-
{
|
|
1154
|
-
scheme: 'bearer',
|
|
1155
|
-
type: 'http'
|
|
1156
|
-
}
|
|
1157
|
-
],
|
|
839
|
+
security: [],
|
|
1158
840
|
url: '/pending-image-shares/{pendingShareId}/decline',
|
|
1159
841
|
...options
|
|
1160
842
|
});
|
|
1161
843
|
};
|
|
1162
844
|
/**
|
|
1163
845
|
* List governance policies
|
|
1164
|
-
* Returns
|
|
846
|
+
* Returns governance policies in the workspace. Policies control deployment locations, hardware flavors, and token limits for agents, functions, and models. Starting with API version 2026-04-28 the response is wrapped in `{data, meta}` and supports cursor pagination via the `cursor` and `limit` query parameters; older versions keep returning a bare array with all policies.
|
|
1165
847
|
*/
|
|
1166
848
|
export const listPolicies = (options) => {
|
|
1167
849
|
return (options?.client ?? _heyApiClient).get({
|
|
1168
|
-
security: [
|
|
1169
|
-
{
|
|
1170
|
-
scheme: 'bearer',
|
|
1171
|
-
type: 'http'
|
|
1172
|
-
}
|
|
1173
|
-
],
|
|
850
|
+
security: [],
|
|
1174
851
|
url: '/policies',
|
|
1175
852
|
...options
|
|
1176
853
|
});
|
|
@@ -1181,12 +858,7 @@ export const listPolicies = (options) => {
|
|
|
1181
858
|
*/
|
|
1182
859
|
export const createPolicy = (options) => {
|
|
1183
860
|
return (options.client ?? _heyApiClient).post({
|
|
1184
|
-
security: [
|
|
1185
|
-
{
|
|
1186
|
-
scheme: 'bearer',
|
|
1187
|
-
type: 'http'
|
|
1188
|
-
}
|
|
1189
|
-
],
|
|
861
|
+
security: [],
|
|
1190
862
|
url: '/policies',
|
|
1191
863
|
...options,
|
|
1192
864
|
headers: {
|
|
@@ -1201,12 +873,7 @@ export const createPolicy = (options) => {
|
|
|
1201
873
|
*/
|
|
1202
874
|
export const deletePolicy = (options) => {
|
|
1203
875
|
return (options.client ?? _heyApiClient).delete({
|
|
1204
|
-
security: [
|
|
1205
|
-
{
|
|
1206
|
-
scheme: 'bearer',
|
|
1207
|
-
type: 'http'
|
|
1208
|
-
}
|
|
1209
|
-
],
|
|
876
|
+
security: [],
|
|
1210
877
|
url: '/policies/{policyName}',
|
|
1211
878
|
...options
|
|
1212
879
|
});
|
|
@@ -1217,12 +884,7 @@ export const deletePolicy = (options) => {
|
|
|
1217
884
|
*/
|
|
1218
885
|
export const getPolicy = (options) => {
|
|
1219
886
|
return (options.client ?? _heyApiClient).get({
|
|
1220
|
-
security: [
|
|
1221
|
-
{
|
|
1222
|
-
scheme: 'bearer',
|
|
1223
|
-
type: 'http'
|
|
1224
|
-
}
|
|
1225
|
-
],
|
|
887
|
+
security: [],
|
|
1226
888
|
url: '/policies/{policyName}',
|
|
1227
889
|
...options
|
|
1228
890
|
});
|
|
@@ -1233,12 +895,7 @@ export const getPolicy = (options) => {
|
|
|
1233
895
|
*/
|
|
1234
896
|
export const updatePolicy = (options) => {
|
|
1235
897
|
return (options.client ?? _heyApiClient).put({
|
|
1236
|
-
security: [
|
|
1237
|
-
{
|
|
1238
|
-
scheme: 'bearer',
|
|
1239
|
-
type: 'http'
|
|
1240
|
-
}
|
|
1241
|
-
],
|
|
898
|
+
security: [],
|
|
1242
899
|
url: '/policies/{policyName}',
|
|
1243
900
|
...options,
|
|
1244
901
|
headers: {
|
|
@@ -1247,18 +904,24 @@ export const updatePolicy = (options) => {
|
|
|
1247
904
|
}
|
|
1248
905
|
});
|
|
1249
906
|
};
|
|
907
|
+
/**
|
|
908
|
+
* List resources using a policy
|
|
909
|
+
* Returns the names of every resource (agent, function, model, sandbox, job) currently referencing the given policy. Replaces the client-side fan-out the policies UI used to do over the listings.
|
|
910
|
+
*/
|
|
911
|
+
export const getPolicyUsages = (options) => {
|
|
912
|
+
return (options.client ?? _heyApiClient).get({
|
|
913
|
+
security: [],
|
|
914
|
+
url: '/policies/{policyName}/usages',
|
|
915
|
+
...options
|
|
916
|
+
});
|
|
917
|
+
};
|
|
1250
918
|
/**
|
|
1251
919
|
* List public ips
|
|
1252
920
|
* Returns a list of all public ips used in Blaxel..
|
|
1253
921
|
*/
|
|
1254
922
|
export const listPublicIps = (options) => {
|
|
1255
923
|
return (options?.client ?? _heyApiClient).get({
|
|
1256
|
-
security: [
|
|
1257
|
-
{
|
|
1258
|
-
scheme: 'bearer',
|
|
1259
|
-
type: 'http'
|
|
1260
|
-
}
|
|
1261
|
-
],
|
|
924
|
+
security: [],
|
|
1262
925
|
url: '/publicIps',
|
|
1263
926
|
...options
|
|
1264
927
|
});
|
|
@@ -1269,28 +932,18 @@ export const listPublicIps = (options) => {
|
|
|
1269
932
|
*/
|
|
1270
933
|
export const listSandboxHubDefinitions = (options) => {
|
|
1271
934
|
return (options?.client ?? _heyApiClient).get({
|
|
1272
|
-
security: [
|
|
1273
|
-
{
|
|
1274
|
-
scheme: 'bearer',
|
|
1275
|
-
type: 'http'
|
|
1276
|
-
}
|
|
1277
|
-
],
|
|
935
|
+
security: [],
|
|
1278
936
|
url: '/sandbox/hub',
|
|
1279
937
|
...options
|
|
1280
938
|
});
|
|
1281
939
|
};
|
|
1282
940
|
/**
|
|
1283
941
|
* List sandboxes
|
|
1284
|
-
* Returns
|
|
942
|
+
* Returns sandboxes in the workspace. Each sandbox includes its configuration, status, and endpoint URL. Terminated sandboxes are hidden by default; pass `showTerminated=true` to include them. Starting with API version 2026-04-28 the response is wrapped in `{data, meta}` and supports cursor pagination via the `cursor` and `limit` query parameters; older versions keep returning a bare array of all sandboxes.
|
|
1285
943
|
*/
|
|
1286
944
|
export const listSandboxes = (options) => {
|
|
1287
945
|
return (options?.client ?? _heyApiClient).get({
|
|
1288
|
-
security: [
|
|
1289
|
-
{
|
|
1290
|
-
scheme: 'bearer',
|
|
1291
|
-
type: 'http'
|
|
1292
|
-
}
|
|
1293
|
-
],
|
|
946
|
+
security: [],
|
|
1294
947
|
url: '/sandboxes',
|
|
1295
948
|
...options
|
|
1296
949
|
});
|
|
@@ -1301,12 +954,7 @@ export const listSandboxes = (options) => {
|
|
|
1301
954
|
*/
|
|
1302
955
|
export const createSandbox = (options) => {
|
|
1303
956
|
return (options.client ?? _heyApiClient).post({
|
|
1304
|
-
security: [
|
|
1305
|
-
{
|
|
1306
|
-
scheme: 'bearer',
|
|
1307
|
-
type: 'http'
|
|
1308
|
-
}
|
|
1309
|
-
],
|
|
957
|
+
security: [],
|
|
1310
958
|
url: '/sandboxes',
|
|
1311
959
|
...options,
|
|
1312
960
|
headers: {
|
|
@@ -1321,12 +969,7 @@ export const createSandbox = (options) => {
|
|
|
1321
969
|
*/
|
|
1322
970
|
export const deleteSandbox = (options) => {
|
|
1323
971
|
return (options.client ?? _heyApiClient).delete({
|
|
1324
|
-
security: [
|
|
1325
|
-
{
|
|
1326
|
-
scheme: 'bearer',
|
|
1327
|
-
type: 'http'
|
|
1328
|
-
}
|
|
1329
|
-
],
|
|
972
|
+
security: [],
|
|
1330
973
|
url: '/sandboxes/{sandboxName}',
|
|
1331
974
|
...options
|
|
1332
975
|
});
|
|
@@ -1337,12 +980,7 @@ export const deleteSandbox = (options) => {
|
|
|
1337
980
|
*/
|
|
1338
981
|
export const getSandbox = (options) => {
|
|
1339
982
|
return (options.client ?? _heyApiClient).get({
|
|
1340
|
-
security: [
|
|
1341
|
-
{
|
|
1342
|
-
scheme: 'bearer',
|
|
1343
|
-
type: 'http'
|
|
1344
|
-
}
|
|
1345
|
-
],
|
|
983
|
+
security: [],
|
|
1346
984
|
url: '/sandboxes/{sandboxName}',
|
|
1347
985
|
...options
|
|
1348
986
|
});
|
|
@@ -1353,12 +991,7 @@ export const getSandbox = (options) => {
|
|
|
1353
991
|
*/
|
|
1354
992
|
export const updateSandbox = (options) => {
|
|
1355
993
|
return (options.client ?? _heyApiClient).put({
|
|
1356
|
-
security: [
|
|
1357
|
-
{
|
|
1358
|
-
scheme: 'bearer',
|
|
1359
|
-
type: 'http'
|
|
1360
|
-
}
|
|
1361
|
-
],
|
|
994
|
+
security: [],
|
|
1362
995
|
url: '/sandboxes/{sandboxName}',
|
|
1363
996
|
...options,
|
|
1364
997
|
headers: {
|
|
@@ -1368,17 +1001,12 @@ export const updateSandbox = (options) => {
|
|
|
1368
1001
|
});
|
|
1369
1002
|
};
|
|
1370
1003
|
/**
|
|
1371
|
-
* List
|
|
1004
|
+
* List Sandbox Previews
|
|
1372
1005
|
* Returns a list of Sandbox Previews in the workspace.
|
|
1373
1006
|
*/
|
|
1374
1007
|
export const listSandboxPreviews = (options) => {
|
|
1375
1008
|
return (options.client ?? _heyApiClient).get({
|
|
1376
|
-
security: [
|
|
1377
|
-
{
|
|
1378
|
-
scheme: 'bearer',
|
|
1379
|
-
type: 'http'
|
|
1380
|
-
}
|
|
1381
|
-
],
|
|
1009
|
+
security: [],
|
|
1382
1010
|
url: '/sandboxes/{sandboxName}/previews',
|
|
1383
1011
|
...options
|
|
1384
1012
|
});
|
|
@@ -1389,12 +1017,7 @@ export const listSandboxPreviews = (options) => {
|
|
|
1389
1017
|
*/
|
|
1390
1018
|
export const createSandboxPreview = (options) => {
|
|
1391
1019
|
return (options.client ?? _heyApiClient).post({
|
|
1392
|
-
security: [
|
|
1393
|
-
{
|
|
1394
|
-
scheme: 'bearer',
|
|
1395
|
-
type: 'http'
|
|
1396
|
-
}
|
|
1397
|
-
],
|
|
1020
|
+
security: [],
|
|
1398
1021
|
url: '/sandboxes/{sandboxName}/previews',
|
|
1399
1022
|
...options,
|
|
1400
1023
|
headers: {
|
|
@@ -1409,12 +1032,7 @@ export const createSandboxPreview = (options) => {
|
|
|
1409
1032
|
*/
|
|
1410
1033
|
export const deleteSandboxPreview = (options) => {
|
|
1411
1034
|
return (options.client ?? _heyApiClient).delete({
|
|
1412
|
-
security: [
|
|
1413
|
-
{
|
|
1414
|
-
scheme: 'bearer',
|
|
1415
|
-
type: 'http'
|
|
1416
|
-
}
|
|
1417
|
-
],
|
|
1035
|
+
security: [],
|
|
1418
1036
|
url: '/sandboxes/{sandboxName}/previews/{previewName}',
|
|
1419
1037
|
...options
|
|
1420
1038
|
});
|
|
@@ -1425,12 +1043,7 @@ export const deleteSandboxPreview = (options) => {
|
|
|
1425
1043
|
*/
|
|
1426
1044
|
export const getSandboxPreview = (options) => {
|
|
1427
1045
|
return (options.client ?? _heyApiClient).get({
|
|
1428
|
-
security: [
|
|
1429
|
-
{
|
|
1430
|
-
scheme: 'bearer',
|
|
1431
|
-
type: 'http'
|
|
1432
|
-
}
|
|
1433
|
-
],
|
|
1046
|
+
security: [],
|
|
1434
1047
|
url: '/sandboxes/{sandboxName}/previews/{previewName}',
|
|
1435
1048
|
...options
|
|
1436
1049
|
});
|
|
@@ -1441,12 +1054,7 @@ export const getSandboxPreview = (options) => {
|
|
|
1441
1054
|
*/
|
|
1442
1055
|
export const updateSandboxPreview = (options) => {
|
|
1443
1056
|
return (options.client ?? _heyApiClient).put({
|
|
1444
|
-
security: [
|
|
1445
|
-
{
|
|
1446
|
-
scheme: 'bearer',
|
|
1447
|
-
type: 'http'
|
|
1448
|
-
}
|
|
1449
|
-
],
|
|
1057
|
+
security: [],
|
|
1450
1058
|
url: '/sandboxes/{sandboxName}/previews/{previewName}',
|
|
1451
1059
|
...options,
|
|
1452
1060
|
headers: {
|
|
@@ -1461,12 +1069,7 @@ export const updateSandboxPreview = (options) => {
|
|
|
1461
1069
|
*/
|
|
1462
1070
|
export const listSandboxPreviewTokens = (options) => {
|
|
1463
1071
|
return (options.client ?? _heyApiClient).get({
|
|
1464
|
-
security: [
|
|
1465
|
-
{
|
|
1466
|
-
scheme: 'bearer',
|
|
1467
|
-
type: 'http'
|
|
1468
|
-
}
|
|
1469
|
-
],
|
|
1072
|
+
security: [],
|
|
1470
1073
|
url: '/sandboxes/{sandboxName}/previews/{previewName}/tokens',
|
|
1471
1074
|
...options
|
|
1472
1075
|
});
|
|
@@ -1477,12 +1080,7 @@ export const listSandboxPreviewTokens = (options) => {
|
|
|
1477
1080
|
*/
|
|
1478
1081
|
export const createSandboxPreviewToken = (options) => {
|
|
1479
1082
|
return (options.client ?? _heyApiClient).post({
|
|
1480
|
-
security: [
|
|
1481
|
-
{
|
|
1482
|
-
scheme: 'bearer',
|
|
1483
|
-
type: 'http'
|
|
1484
|
-
}
|
|
1485
|
-
],
|
|
1083
|
+
security: [],
|
|
1486
1084
|
url: '/sandboxes/{sandboxName}/previews/{previewName}/tokens',
|
|
1487
1085
|
...options,
|
|
1488
1086
|
headers: {
|
|
@@ -1497,28 +1095,29 @@ export const createSandboxPreviewToken = (options) => {
|
|
|
1497
1095
|
*/
|
|
1498
1096
|
export const deleteSandboxPreviewToken = (options) => {
|
|
1499
1097
|
return (options.client ?? _heyApiClient).delete({
|
|
1500
|
-
security: [
|
|
1501
|
-
{
|
|
1502
|
-
scheme: 'bearer',
|
|
1503
|
-
type: 'http'
|
|
1504
|
-
}
|
|
1505
|
-
],
|
|
1098
|
+
security: [],
|
|
1506
1099
|
url: '/sandboxes/{sandboxName}/previews/{previewName}/tokens/{tokenName}',
|
|
1507
1100
|
...options
|
|
1508
1101
|
});
|
|
1509
1102
|
};
|
|
1103
|
+
/**
|
|
1104
|
+
* Get sandbox by external ID
|
|
1105
|
+
* Returns the most recent non-terminated sandbox matching the given external ID. If no active sandbox is found, returns 404.
|
|
1106
|
+
*/
|
|
1107
|
+
export const getSandboxByExternalId = (options) => {
|
|
1108
|
+
return (options.client ?? _heyApiClient).get({
|
|
1109
|
+
security: [],
|
|
1110
|
+
url: '/sandboxes/by-external-id/{externalId}',
|
|
1111
|
+
...options
|
|
1112
|
+
});
|
|
1113
|
+
};
|
|
1510
1114
|
/**
|
|
1511
1115
|
* List service accounts
|
|
1512
1116
|
* Returns all service accounts in the workspace. Service accounts are machine identities for external systems to authenticate with Blaxel via OAuth or API keys.
|
|
1513
1117
|
*/
|
|
1514
1118
|
export const getWorkspaceServiceAccounts = (options) => {
|
|
1515
1119
|
return (options?.client ?? _heyApiClient).get({
|
|
1516
|
-
security: [
|
|
1517
|
-
{
|
|
1518
|
-
scheme: 'bearer',
|
|
1519
|
-
type: 'http'
|
|
1520
|
-
}
|
|
1521
|
-
],
|
|
1120
|
+
security: [],
|
|
1522
1121
|
url: '/service_accounts',
|
|
1523
1122
|
...options
|
|
1524
1123
|
});
|
|
@@ -1529,12 +1128,7 @@ export const getWorkspaceServiceAccounts = (options) => {
|
|
|
1529
1128
|
*/
|
|
1530
1129
|
export const createWorkspaceServiceAccount = (options) => {
|
|
1531
1130
|
return (options.client ?? _heyApiClient).post({
|
|
1532
|
-
security: [
|
|
1533
|
-
{
|
|
1534
|
-
scheme: 'bearer',
|
|
1535
|
-
type: 'http'
|
|
1536
|
-
}
|
|
1537
|
-
],
|
|
1131
|
+
security: [],
|
|
1538
1132
|
url: '/service_accounts',
|
|
1539
1133
|
...options,
|
|
1540
1134
|
headers: {
|
|
@@ -1549,12 +1143,7 @@ export const createWorkspaceServiceAccount = (options) => {
|
|
|
1549
1143
|
*/
|
|
1550
1144
|
export const deleteWorkspaceServiceAccount = (options) => {
|
|
1551
1145
|
return (options.client ?? _heyApiClient).delete({
|
|
1552
|
-
security: [
|
|
1553
|
-
{
|
|
1554
|
-
scheme: 'bearer',
|
|
1555
|
-
type: 'http'
|
|
1556
|
-
}
|
|
1557
|
-
],
|
|
1146
|
+
security: [],
|
|
1558
1147
|
url: '/service_accounts/{clientId}',
|
|
1559
1148
|
...options
|
|
1560
1149
|
});
|
|
@@ -1565,12 +1154,7 @@ export const deleteWorkspaceServiceAccount = (options) => {
|
|
|
1565
1154
|
*/
|
|
1566
1155
|
export const updateWorkspaceServiceAccount = (options) => {
|
|
1567
1156
|
return (options.client ?? _heyApiClient).put({
|
|
1568
|
-
security: [
|
|
1569
|
-
{
|
|
1570
|
-
scheme: 'bearer',
|
|
1571
|
-
type: 'http'
|
|
1572
|
-
}
|
|
1573
|
-
],
|
|
1157
|
+
security: [],
|
|
1574
1158
|
url: '/service_accounts/{clientId}',
|
|
1575
1159
|
...options,
|
|
1576
1160
|
headers: {
|
|
@@ -1585,12 +1169,7 @@ export const updateWorkspaceServiceAccount = (options) => {
|
|
|
1585
1169
|
*/
|
|
1586
1170
|
export const listApiKeysForServiceAccount = (options) => {
|
|
1587
1171
|
return (options.client ?? _heyApiClient).get({
|
|
1588
|
-
security: [
|
|
1589
|
-
{
|
|
1590
|
-
scheme: 'bearer',
|
|
1591
|
-
type: 'http'
|
|
1592
|
-
}
|
|
1593
|
-
],
|
|
1172
|
+
security: [],
|
|
1594
1173
|
url: '/service_accounts/{clientId}/api_keys',
|
|
1595
1174
|
...options
|
|
1596
1175
|
});
|
|
@@ -1601,12 +1180,7 @@ export const listApiKeysForServiceAccount = (options) => {
|
|
|
1601
1180
|
*/
|
|
1602
1181
|
export const createApiKeyForServiceAccount = (options) => {
|
|
1603
1182
|
return (options.client ?? _heyApiClient).post({
|
|
1604
|
-
security: [
|
|
1605
|
-
{
|
|
1606
|
-
scheme: 'bearer',
|
|
1607
|
-
type: 'http'
|
|
1608
|
-
}
|
|
1609
|
-
],
|
|
1183
|
+
security: [],
|
|
1610
1184
|
url: '/service_accounts/{clientId}/api_keys',
|
|
1611
1185
|
...options,
|
|
1612
1186
|
headers: {
|
|
@@ -1621,12 +1195,7 @@ export const createApiKeyForServiceAccount = (options) => {
|
|
|
1621
1195
|
*/
|
|
1622
1196
|
export const deleteApiKeyForServiceAccount = (options) => {
|
|
1623
1197
|
return (options.client ?? _heyApiClient).delete({
|
|
1624
|
-
security: [
|
|
1625
|
-
{
|
|
1626
|
-
scheme: 'bearer',
|
|
1627
|
-
type: 'http'
|
|
1628
|
-
}
|
|
1629
|
-
],
|
|
1198
|
+
security: [],
|
|
1630
1199
|
url: '/service_accounts/{clientId}/api_keys/{apiKeyId}',
|
|
1631
1200
|
...options
|
|
1632
1201
|
});
|
|
@@ -1637,12 +1206,7 @@ export const deleteApiKeyForServiceAccount = (options) => {
|
|
|
1637
1206
|
*/
|
|
1638
1207
|
export const listTemplates = (options) => {
|
|
1639
1208
|
return (options?.client ?? _heyApiClient).get({
|
|
1640
|
-
security: [
|
|
1641
|
-
{
|
|
1642
|
-
scheme: 'bearer',
|
|
1643
|
-
type: 'http'
|
|
1644
|
-
}
|
|
1645
|
-
],
|
|
1209
|
+
security: [],
|
|
1646
1210
|
url: '/templates',
|
|
1647
1211
|
...options
|
|
1648
1212
|
});
|
|
@@ -1653,12 +1217,7 @@ export const listTemplates = (options) => {
|
|
|
1653
1217
|
*/
|
|
1654
1218
|
export const getTemplate = (options) => {
|
|
1655
1219
|
return (options.client ?? _heyApiClient).get({
|
|
1656
|
-
security: [
|
|
1657
|
-
{
|
|
1658
|
-
scheme: 'bearer',
|
|
1659
|
-
type: 'http'
|
|
1660
|
-
}
|
|
1661
|
-
],
|
|
1220
|
+
security: [],
|
|
1662
1221
|
url: '/templates/{templateName}',
|
|
1663
1222
|
...options
|
|
1664
1223
|
});
|
|
@@ -1669,12 +1228,7 @@ export const getTemplate = (options) => {
|
|
|
1669
1228
|
*/
|
|
1670
1229
|
export const listWorkspaceUsers = (options) => {
|
|
1671
1230
|
return (options?.client ?? _heyApiClient).get({
|
|
1672
|
-
security: [
|
|
1673
|
-
{
|
|
1674
|
-
scheme: 'bearer',
|
|
1675
|
-
type: 'http'
|
|
1676
|
-
}
|
|
1677
|
-
],
|
|
1231
|
+
security: [],
|
|
1678
1232
|
url: '/users',
|
|
1679
1233
|
...options
|
|
1680
1234
|
});
|
|
@@ -1685,12 +1239,7 @@ export const listWorkspaceUsers = (options) => {
|
|
|
1685
1239
|
*/
|
|
1686
1240
|
export const inviteWorkspaceUser = (options) => {
|
|
1687
1241
|
return (options.client ?? _heyApiClient).post({
|
|
1688
|
-
security: [
|
|
1689
|
-
{
|
|
1690
|
-
scheme: 'bearer',
|
|
1691
|
-
type: 'http'
|
|
1692
|
-
}
|
|
1693
|
-
],
|
|
1242
|
+
security: [],
|
|
1694
1243
|
url: '/users',
|
|
1695
1244
|
...options,
|
|
1696
1245
|
headers: {
|
|
@@ -1705,12 +1254,7 @@ export const inviteWorkspaceUser = (options) => {
|
|
|
1705
1254
|
*/
|
|
1706
1255
|
export const removeWorkspaceUser = (options) => {
|
|
1707
1256
|
return (options.client ?? _heyApiClient).delete({
|
|
1708
|
-
security: [
|
|
1709
|
-
{
|
|
1710
|
-
scheme: 'bearer',
|
|
1711
|
-
type: 'http'
|
|
1712
|
-
}
|
|
1713
|
-
],
|
|
1257
|
+
security: [],
|
|
1714
1258
|
url: '/users/{subOrEmail}',
|
|
1715
1259
|
...options
|
|
1716
1260
|
});
|
|
@@ -1721,12 +1265,7 @@ export const removeWorkspaceUser = (options) => {
|
|
|
1721
1265
|
*/
|
|
1722
1266
|
export const updateWorkspaceUserRole = (options) => {
|
|
1723
1267
|
return (options.client ?? _heyApiClient).put({
|
|
1724
|
-
security: [
|
|
1725
|
-
{
|
|
1726
|
-
scheme: 'bearer',
|
|
1727
|
-
type: 'http'
|
|
1728
|
-
}
|
|
1729
|
-
],
|
|
1268
|
+
security: [],
|
|
1730
1269
|
url: '/users/{subOrEmail}',
|
|
1731
1270
|
...options,
|
|
1732
1271
|
headers: {
|
|
@@ -1741,12 +1280,7 @@ export const updateWorkspaceUserRole = (options) => {
|
|
|
1741
1280
|
*/
|
|
1742
1281
|
export const listVolumeTemplates = (options) => {
|
|
1743
1282
|
return (options?.client ?? _heyApiClient).get({
|
|
1744
|
-
security: [
|
|
1745
|
-
{
|
|
1746
|
-
scheme: 'bearer',
|
|
1747
|
-
type: 'http'
|
|
1748
|
-
}
|
|
1749
|
-
],
|
|
1283
|
+
security: [],
|
|
1750
1284
|
url: '/volume_templates',
|
|
1751
1285
|
...options
|
|
1752
1286
|
});
|
|
@@ -1757,12 +1291,7 @@ export const listVolumeTemplates = (options) => {
|
|
|
1757
1291
|
*/
|
|
1758
1292
|
export const createVolumeTemplate = (options) => {
|
|
1759
1293
|
return (options.client ?? _heyApiClient).post({
|
|
1760
|
-
security: [
|
|
1761
|
-
{
|
|
1762
|
-
scheme: 'bearer',
|
|
1763
|
-
type: 'http'
|
|
1764
|
-
}
|
|
1765
|
-
],
|
|
1294
|
+
security: [],
|
|
1766
1295
|
url: '/volume_templates',
|
|
1767
1296
|
...options,
|
|
1768
1297
|
headers: {
|
|
@@ -1777,12 +1306,7 @@ export const createVolumeTemplate = (options) => {
|
|
|
1777
1306
|
*/
|
|
1778
1307
|
export const deleteVolumeTemplate = (options) => {
|
|
1779
1308
|
return (options.client ?? _heyApiClient).delete({
|
|
1780
|
-
security: [
|
|
1781
|
-
{
|
|
1782
|
-
scheme: 'bearer',
|
|
1783
|
-
type: 'http'
|
|
1784
|
-
}
|
|
1785
|
-
],
|
|
1309
|
+
security: [],
|
|
1786
1310
|
url: '/volume_templates/{volumeTemplateName}',
|
|
1787
1311
|
...options
|
|
1788
1312
|
});
|
|
@@ -1793,12 +1317,7 @@ export const deleteVolumeTemplate = (options) => {
|
|
|
1793
1317
|
*/
|
|
1794
1318
|
export const getVolumeTemplate = (options) => {
|
|
1795
1319
|
return (options.client ?? _heyApiClient).get({
|
|
1796
|
-
security: [
|
|
1797
|
-
{
|
|
1798
|
-
scheme: 'bearer',
|
|
1799
|
-
type: 'http'
|
|
1800
|
-
}
|
|
1801
|
-
],
|
|
1320
|
+
security: [],
|
|
1802
1321
|
url: '/volume_templates/{volumeTemplateName}',
|
|
1803
1322
|
...options
|
|
1804
1323
|
});
|
|
@@ -1809,12 +1328,7 @@ export const getVolumeTemplate = (options) => {
|
|
|
1809
1328
|
*/
|
|
1810
1329
|
export const updateVolumeTemplate = (options) => {
|
|
1811
1330
|
return (options.client ?? _heyApiClient).put({
|
|
1812
|
-
security: [
|
|
1813
|
-
{
|
|
1814
|
-
scheme: 'bearer',
|
|
1815
|
-
type: 'http'
|
|
1816
|
-
}
|
|
1817
|
-
],
|
|
1331
|
+
security: [],
|
|
1818
1332
|
url: '/volume_templates/{volumeTemplateName}',
|
|
1819
1333
|
...options,
|
|
1820
1334
|
headers: {
|
|
@@ -1829,28 +1343,18 @@ export const updateVolumeTemplate = (options) => {
|
|
|
1829
1343
|
*/
|
|
1830
1344
|
export const deleteVolumeTemplateVersion = (options) => {
|
|
1831
1345
|
return (options.client ?? _heyApiClient).delete({
|
|
1832
|
-
security: [
|
|
1833
|
-
{
|
|
1834
|
-
scheme: 'bearer',
|
|
1835
|
-
type: 'http'
|
|
1836
|
-
}
|
|
1837
|
-
],
|
|
1346
|
+
security: [],
|
|
1838
1347
|
url: '/volume_templates/{volumeTemplateName}/versions/{versionName}',
|
|
1839
1348
|
...options
|
|
1840
1349
|
});
|
|
1841
1350
|
};
|
|
1842
1351
|
/**
|
|
1843
1352
|
* List persistent volumes
|
|
1844
|
-
* Returns
|
|
1353
|
+
* Returns persistent storage volumes in the workspace. Volumes can be attached to sandboxes for durable file storage that persists across sessions and sandbox deletions. Starting with API version 2026-04-28 the response is wrapped in `{data, meta}` and supports cursor pagination via the `cursor` and `limit` query parameters; older versions keep returning a bare array of volumes.
|
|
1845
1354
|
*/
|
|
1846
1355
|
export const listVolumes = (options) => {
|
|
1847
1356
|
return (options?.client ?? _heyApiClient).get({
|
|
1848
|
-
security: [
|
|
1849
|
-
{
|
|
1850
|
-
scheme: 'bearer',
|
|
1851
|
-
type: 'http'
|
|
1852
|
-
}
|
|
1853
|
-
],
|
|
1357
|
+
security: [],
|
|
1854
1358
|
url: '/volumes',
|
|
1855
1359
|
...options
|
|
1856
1360
|
});
|
|
@@ -1861,12 +1365,7 @@ export const listVolumes = (options) => {
|
|
|
1861
1365
|
*/
|
|
1862
1366
|
export const createVolume = (options) => {
|
|
1863
1367
|
return (options.client ?? _heyApiClient).post({
|
|
1864
|
-
security: [
|
|
1865
|
-
{
|
|
1866
|
-
scheme: 'bearer',
|
|
1867
|
-
type: 'http'
|
|
1868
|
-
}
|
|
1869
|
-
],
|
|
1368
|
+
security: [],
|
|
1870
1369
|
url: '/volumes',
|
|
1871
1370
|
...options,
|
|
1872
1371
|
headers: {
|
|
@@ -1881,12 +1380,7 @@ export const createVolume = (options) => {
|
|
|
1881
1380
|
*/
|
|
1882
1381
|
export const deleteVolume = (options) => {
|
|
1883
1382
|
return (options.client ?? _heyApiClient).delete({
|
|
1884
|
-
security: [
|
|
1885
|
-
{
|
|
1886
|
-
scheme: 'bearer',
|
|
1887
|
-
type: 'http'
|
|
1888
|
-
}
|
|
1889
|
-
],
|
|
1383
|
+
security: [],
|
|
1890
1384
|
url: '/volumes/{volumeName}',
|
|
1891
1385
|
...options
|
|
1892
1386
|
});
|
|
@@ -1897,12 +1391,7 @@ export const deleteVolume = (options) => {
|
|
|
1897
1391
|
*/
|
|
1898
1392
|
export const getVolume = (options) => {
|
|
1899
1393
|
return (options.client ?? _heyApiClient).get({
|
|
1900
|
-
security: [
|
|
1901
|
-
{
|
|
1902
|
-
scheme: 'bearer',
|
|
1903
|
-
type: 'http'
|
|
1904
|
-
}
|
|
1905
|
-
],
|
|
1394
|
+
security: [],
|
|
1906
1395
|
url: '/volumes/{volumeName}',
|
|
1907
1396
|
...options
|
|
1908
1397
|
});
|
|
@@ -1913,12 +1402,7 @@ export const getVolume = (options) => {
|
|
|
1913
1402
|
*/
|
|
1914
1403
|
export const updateVolume = (options) => {
|
|
1915
1404
|
return (options.client ?? _heyApiClient).put({
|
|
1916
|
-
security: [
|
|
1917
|
-
{
|
|
1918
|
-
scheme: 'bearer',
|
|
1919
|
-
type: 'http'
|
|
1920
|
-
}
|
|
1921
|
-
],
|
|
1405
|
+
security: [],
|
|
1922
1406
|
url: '/volumes/{volumeName}',
|
|
1923
1407
|
...options,
|
|
1924
1408
|
headers: {
|
|
@@ -1932,12 +1416,7 @@ export const updateVolume = (options) => {
|
|
|
1932
1416
|
*/
|
|
1933
1417
|
export const listVpcs = (options) => {
|
|
1934
1418
|
return (options?.client ?? _heyApiClient).get({
|
|
1935
|
-
security: [
|
|
1936
|
-
{
|
|
1937
|
-
scheme: 'bearer',
|
|
1938
|
-
type: 'http'
|
|
1939
|
-
}
|
|
1940
|
-
],
|
|
1419
|
+
security: [],
|
|
1941
1420
|
url: '/vpcs',
|
|
1942
1421
|
...options
|
|
1943
1422
|
});
|
|
@@ -1947,12 +1426,7 @@ export const listVpcs = (options) => {
|
|
|
1947
1426
|
*/
|
|
1948
1427
|
export const createVpc = (options) => {
|
|
1949
1428
|
return (options.client ?? _heyApiClient).post({
|
|
1950
|
-
security: [
|
|
1951
|
-
{
|
|
1952
|
-
scheme: 'bearer',
|
|
1953
|
-
type: 'http'
|
|
1954
|
-
}
|
|
1955
|
-
],
|
|
1429
|
+
security: [],
|
|
1956
1430
|
url: '/vpcs',
|
|
1957
1431
|
...options,
|
|
1958
1432
|
headers: {
|
|
@@ -1966,12 +1440,7 @@ export const createVpc = (options) => {
|
|
|
1966
1440
|
*/
|
|
1967
1441
|
export const deleteVpc = (options) => {
|
|
1968
1442
|
return (options.client ?? _heyApiClient).delete({
|
|
1969
|
-
security: [
|
|
1970
|
-
{
|
|
1971
|
-
scheme: 'bearer',
|
|
1972
|
-
type: 'http'
|
|
1973
|
-
}
|
|
1974
|
-
],
|
|
1443
|
+
security: [],
|
|
1975
1444
|
url: '/vpcs/{vpcName}',
|
|
1976
1445
|
...options
|
|
1977
1446
|
});
|
|
@@ -1981,12 +1450,7 @@ export const deleteVpc = (options) => {
|
|
|
1981
1450
|
*/
|
|
1982
1451
|
export const getVpc = (options) => {
|
|
1983
1452
|
return (options.client ?? _heyApiClient).get({
|
|
1984
|
-
security: [
|
|
1985
|
-
{
|
|
1986
|
-
scheme: 'bearer',
|
|
1987
|
-
type: 'http'
|
|
1988
|
-
}
|
|
1989
|
-
],
|
|
1453
|
+
security: [],
|
|
1990
1454
|
url: '/vpcs/{vpcName}',
|
|
1991
1455
|
...options
|
|
1992
1456
|
});
|
|
@@ -1996,12 +1460,7 @@ export const getVpc = (options) => {
|
|
|
1996
1460
|
*/
|
|
1997
1461
|
export const listEgressGateways = (options) => {
|
|
1998
1462
|
return (options.client ?? _heyApiClient).get({
|
|
1999
|
-
security: [
|
|
2000
|
-
{
|
|
2001
|
-
scheme: 'bearer',
|
|
2002
|
-
type: 'http'
|
|
2003
|
-
}
|
|
2004
|
-
],
|
|
1463
|
+
security: [],
|
|
2005
1464
|
url: '/vpcs/{vpcName}/egressgateways',
|
|
2006
1465
|
...options
|
|
2007
1466
|
});
|
|
@@ -2011,12 +1470,7 @@ export const listEgressGateways = (options) => {
|
|
|
2011
1470
|
*/
|
|
2012
1471
|
export const createEgressGateway = (options) => {
|
|
2013
1472
|
return (options.client ?? _heyApiClient).post({
|
|
2014
|
-
security: [
|
|
2015
|
-
{
|
|
2016
|
-
scheme: 'bearer',
|
|
2017
|
-
type: 'http'
|
|
2018
|
-
}
|
|
2019
|
-
],
|
|
1473
|
+
security: [],
|
|
2020
1474
|
url: '/vpcs/{vpcName}/egressgateways',
|
|
2021
1475
|
...options,
|
|
2022
1476
|
headers: {
|
|
@@ -2030,12 +1484,7 @@ export const createEgressGateway = (options) => {
|
|
|
2030
1484
|
*/
|
|
2031
1485
|
export const deleteEgressGateway = (options) => {
|
|
2032
1486
|
return (options.client ?? _heyApiClient).delete({
|
|
2033
|
-
security: [
|
|
2034
|
-
{
|
|
2035
|
-
scheme: 'bearer',
|
|
2036
|
-
type: 'http'
|
|
2037
|
-
}
|
|
2038
|
-
],
|
|
1487
|
+
security: [],
|
|
2039
1488
|
url: '/vpcs/{vpcName}/egressgateways/{gatewayName}',
|
|
2040
1489
|
...options
|
|
2041
1490
|
});
|
|
@@ -2045,12 +1494,7 @@ export const deleteEgressGateway = (options) => {
|
|
|
2045
1494
|
*/
|
|
2046
1495
|
export const getEgressGateway = (options) => {
|
|
2047
1496
|
return (options.client ?? _heyApiClient).get({
|
|
2048
|
-
security: [
|
|
2049
|
-
{
|
|
2050
|
-
scheme: 'bearer',
|
|
2051
|
-
type: 'http'
|
|
2052
|
-
}
|
|
2053
|
-
],
|
|
1497
|
+
security: [],
|
|
2054
1498
|
url: '/vpcs/{vpcName}/egressgateways/{gatewayName}',
|
|
2055
1499
|
...options
|
|
2056
1500
|
});
|
|
@@ -2060,12 +1504,7 @@ export const getEgressGateway = (options) => {
|
|
|
2060
1504
|
*/
|
|
2061
1505
|
export const listEgressIps = (options) => {
|
|
2062
1506
|
return (options.client ?? _heyApiClient).get({
|
|
2063
|
-
security: [
|
|
2064
|
-
{
|
|
2065
|
-
scheme: 'bearer',
|
|
2066
|
-
type: 'http'
|
|
2067
|
-
}
|
|
2068
|
-
],
|
|
1507
|
+
security: [],
|
|
2069
1508
|
url: '/vpcs/{vpcName}/egressgateways/{gatewayName}/ips',
|
|
2070
1509
|
...options
|
|
2071
1510
|
});
|
|
@@ -2075,12 +1514,7 @@ export const listEgressIps = (options) => {
|
|
|
2075
1514
|
*/
|
|
2076
1515
|
export const createEgressIp = (options) => {
|
|
2077
1516
|
return (options.client ?? _heyApiClient).post({
|
|
2078
|
-
security: [
|
|
2079
|
-
{
|
|
2080
|
-
scheme: 'bearer',
|
|
2081
|
-
type: 'http'
|
|
2082
|
-
}
|
|
2083
|
-
],
|
|
1517
|
+
security: [],
|
|
2084
1518
|
url: '/vpcs/{vpcName}/egressgateways/{gatewayName}/ips',
|
|
2085
1519
|
...options,
|
|
2086
1520
|
headers: {
|
|
@@ -2094,12 +1528,7 @@ export const createEgressIp = (options) => {
|
|
|
2094
1528
|
*/
|
|
2095
1529
|
export const deleteEgressIp = (options) => {
|
|
2096
1530
|
return (options.client ?? _heyApiClient).delete({
|
|
2097
|
-
security: [
|
|
2098
|
-
{
|
|
2099
|
-
scheme: 'bearer',
|
|
2100
|
-
type: 'http'
|
|
2101
|
-
}
|
|
2102
|
-
],
|
|
1531
|
+
security: [],
|
|
2103
1532
|
url: '/vpcs/{vpcName}/egressgateways/{gatewayName}/ips/{ipName}',
|
|
2104
1533
|
...options
|
|
2105
1534
|
});
|
|
@@ -2109,12 +1538,7 @@ export const deleteEgressIp = (options) => {
|
|
|
2109
1538
|
*/
|
|
2110
1539
|
export const getEgressIp = (options) => {
|
|
2111
1540
|
return (options.client ?? _heyApiClient).get({
|
|
2112
|
-
security: [
|
|
2113
|
-
{
|
|
2114
|
-
scheme: 'bearer',
|
|
2115
|
-
type: 'http'
|
|
2116
|
-
}
|
|
2117
|
-
],
|
|
1541
|
+
security: [],
|
|
2118
1542
|
url: '/vpcs/{vpcName}/egressgateways/{gatewayName}/ips/{ipName}',
|
|
2119
1543
|
...options
|
|
2120
1544
|
});
|
|
@@ -2125,12 +1549,7 @@ export const getEgressIp = (options) => {
|
|
|
2125
1549
|
*/
|
|
2126
1550
|
export const listWorkspaces = (options) => {
|
|
2127
1551
|
return (options?.client ?? _heyApiClient).get({
|
|
2128
|
-
security: [
|
|
2129
|
-
{
|
|
2130
|
-
scheme: 'bearer',
|
|
2131
|
-
type: 'http'
|
|
2132
|
-
}
|
|
2133
|
-
],
|
|
1552
|
+
security: [],
|
|
2134
1553
|
url: '/workspaces',
|
|
2135
1554
|
...options
|
|
2136
1555
|
});
|
|
@@ -2141,12 +1560,7 @@ export const listWorkspaces = (options) => {
|
|
|
2141
1560
|
*/
|
|
2142
1561
|
export const createWorkspace = (options) => {
|
|
2143
1562
|
return (options.client ?? _heyApiClient).post({
|
|
2144
|
-
security: [
|
|
2145
|
-
{
|
|
2146
|
-
scheme: 'bearer',
|
|
2147
|
-
type: 'http'
|
|
2148
|
-
}
|
|
2149
|
-
],
|
|
1563
|
+
security: [],
|
|
2150
1564
|
url: '/workspaces',
|
|
2151
1565
|
...options,
|
|
2152
1566
|
headers: {
|
|
@@ -2161,12 +1575,7 @@ export const createWorkspace = (options) => {
|
|
|
2161
1575
|
*/
|
|
2162
1576
|
export const deleteWorkspace = (options) => {
|
|
2163
1577
|
return (options.client ?? _heyApiClient).delete({
|
|
2164
|
-
security: [
|
|
2165
|
-
{
|
|
2166
|
-
scheme: 'bearer',
|
|
2167
|
-
type: 'http'
|
|
2168
|
-
}
|
|
2169
|
-
],
|
|
1578
|
+
security: [],
|
|
2170
1579
|
url: '/workspaces/{workspaceName}',
|
|
2171
1580
|
...options
|
|
2172
1581
|
});
|
|
@@ -2177,12 +1586,7 @@ export const deleteWorkspace = (options) => {
|
|
|
2177
1586
|
*/
|
|
2178
1587
|
export const getWorkspace = (options) => {
|
|
2179
1588
|
return (options.client ?? _heyApiClient).get({
|
|
2180
|
-
security: [
|
|
2181
|
-
{
|
|
2182
|
-
scheme: 'bearer',
|
|
2183
|
-
type: 'http'
|
|
2184
|
-
}
|
|
2185
|
-
],
|
|
1589
|
+
security: [],
|
|
2186
1590
|
url: '/workspaces/{workspaceName}',
|
|
2187
1591
|
...options
|
|
2188
1592
|
});
|
|
@@ -2193,12 +1597,7 @@ export const getWorkspace = (options) => {
|
|
|
2193
1597
|
*/
|
|
2194
1598
|
export const updateWorkspace = (options) => {
|
|
2195
1599
|
return (options.client ?? _heyApiClient).put({
|
|
2196
|
-
security: [
|
|
2197
|
-
{
|
|
2198
|
-
scheme: 'bearer',
|
|
2199
|
-
type: 'http'
|
|
2200
|
-
}
|
|
2201
|
-
],
|
|
1600
|
+
security: [],
|
|
2202
1601
|
url: '/workspaces/{workspaceName}',
|
|
2203
1602
|
...options,
|
|
2204
1603
|
headers: {
|
|
@@ -2213,12 +1612,7 @@ export const updateWorkspace = (options) => {
|
|
|
2213
1612
|
*/
|
|
2214
1613
|
export const declineWorkspaceInvitation = (options) => {
|
|
2215
1614
|
return (options.client ?? _heyApiClient).post({
|
|
2216
|
-
security: [
|
|
2217
|
-
{
|
|
2218
|
-
scheme: 'bearer',
|
|
2219
|
-
type: 'http'
|
|
2220
|
-
}
|
|
2221
|
-
],
|
|
1615
|
+
security: [],
|
|
2222
1616
|
url: '/workspaces/{workspaceName}/decline',
|
|
2223
1617
|
...options
|
|
2224
1618
|
});
|
|
@@ -2229,12 +1623,7 @@ export const declineWorkspaceInvitation = (options) => {
|
|
|
2229
1623
|
*/
|
|
2230
1624
|
export const acceptWorkspaceInvitation = (options) => {
|
|
2231
1625
|
return (options.client ?? _heyApiClient).post({
|
|
2232
|
-
security: [
|
|
2233
|
-
{
|
|
2234
|
-
scheme: 'bearer',
|
|
2235
|
-
type: 'http'
|
|
2236
|
-
}
|
|
2237
|
-
],
|
|
1626
|
+
security: [],
|
|
2238
1627
|
url: '/workspaces/{workspaceName}/join',
|
|
2239
1628
|
...options
|
|
2240
1629
|
});
|
|
@@ -2245,12 +1634,7 @@ export const acceptWorkspaceInvitation = (options) => {
|
|
|
2245
1634
|
*/
|
|
2246
1635
|
export const leaveWorkspace = (options) => {
|
|
2247
1636
|
return (options.client ?? _heyApiClient).delete({
|
|
2248
|
-
security: [
|
|
2249
|
-
{
|
|
2250
|
-
scheme: 'bearer',
|
|
2251
|
-
type: 'http'
|
|
2252
|
-
}
|
|
2253
|
-
],
|
|
1637
|
+
security: [],
|
|
2254
1638
|
url: '/workspaces/{workspaceName}/leave',
|
|
2255
1639
|
...options
|
|
2256
1640
|
});
|
|
@@ -2261,12 +1645,7 @@ export const leaveWorkspace = (options) => {
|
|
|
2261
1645
|
*/
|
|
2262
1646
|
export const checkWorkspaceAvailability = (options) => {
|
|
2263
1647
|
return (options.client ?? _heyApiClient).post({
|
|
2264
|
-
security: [
|
|
2265
|
-
{
|
|
2266
|
-
scheme: 'bearer',
|
|
2267
|
-
type: 'http'
|
|
2268
|
-
}
|
|
2269
|
-
],
|
|
1648
|
+
security: [],
|
|
2270
1649
|
url: '/workspaces/availability',
|
|
2271
1650
|
...options,
|
|
2272
1651
|
headers: {
|