@blaxel/core 0.2.92-preview.187 → 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
|
@@ -1,22 +1,17 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// This file is auto-generated by @hey-api/openapi-ts
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.
|
|
5
|
-
exports.
|
|
6
|
-
exports.checkWorkspaceAvailability = exports.leaveWorkspace = exports.acceptWorkspaceInvitation = exports.declineWorkspaceInvitation = exports.updateWorkspace = exports.getWorkspace = exports.deleteWorkspace = exports.createWorkspace = exports.listWorkspaces = exports.getEgressIp = exports.deleteEgressIp = exports.createEgressIp = exports.listEgressIps = exports.getEgressGateway = exports.deleteEgressGateway = exports.createEgressGateway = exports.listEgressGateways = exports.getVpc = exports.deleteVpc = exports.createVpc = exports.listVpcs = exports.updateVolume = exports.getVolume = exports.deleteVolume = exports.createVolume = exports.listVolumes = exports.deleteVolumeTemplateVersion = exports.updateVolumeTemplate = exports.getVolumeTemplate = exports.deleteVolumeTemplate = exports.createVolumeTemplate = exports.listVolumeTemplates = exports.updateWorkspaceUserRole = exports.removeWorkspaceUser = void 0;
|
|
4
|
+
exports.listJobs = exports.getIntegrationConnectionModel = exports.listIntegrationConnectionModels = exports.getIntegrationConnectionModelEndpointConfigurations = exports.updateIntegrationConnection = exports.getIntegrationConnection = exports.deleteIntegrationConnection = exports.createIntegrationConnection = exports.listIntegrationConnections = exports.getIntegration = exports.deleteImageTag = exports.unshareImage = exports.shareImage = exports.listImageShares = exports.getImage = exports.deleteImage = exports.createImage = exports.listImages = exports.cleanupImages = exports.listFunctionRevisions = exports.updateFunction = exports.getFunction = exports.deleteFunction = exports.createFunction = exports.listFunctions = exports.testFeatureFlag = exports.getWorkspaceFeatures = exports.listAllEgressIps = exports.getEgressGatewayUsage = exports.listAllEgressGateways = exports.getDriveJwks = exports.createDriveAccessToken = exports.updateDrive = exports.getDrive = exports.deleteDrive = exports.createDrive = exports.listDrives = exports.verifyCustomDomain = exports.updateCustomDomain = exports.getCustomDomain = exports.deleteCustomDomain = exports.createCustomDomain = exports.listCustomDomains = exports.getConfiguration = exports.listAgentRevisions = exports.updateAgent = exports.getAgent = exports.deleteAgent = exports.createAgent = exports.listAgents = void 0;
|
|
5
|
+
exports.deleteApiKeyForServiceAccount = exports.createApiKeyForServiceAccount = exports.listApiKeysForServiceAccount = exports.updateWorkspaceServiceAccount = exports.deleteWorkspaceServiceAccount = exports.createWorkspaceServiceAccount = exports.getWorkspaceServiceAccounts = exports.getSandboxByExternalId = exports.deleteSandboxPreviewToken = exports.createSandboxPreviewToken = exports.listSandboxPreviewTokens = exports.updateSandboxPreview = exports.getSandboxPreview = exports.deleteSandboxPreview = exports.createSandboxPreview = exports.listSandboxPreviews = exports.updateSandbox = exports.getSandbox = exports.deleteSandbox = exports.createSandbox = exports.listSandboxes = exports.listSandboxHubDefinitions = exports.listPublicIps = exports.getPolicyUsages = exports.updatePolicy = exports.getPolicy = exports.deletePolicy = exports.createPolicy = exports.listPolicies = exports.declineImageShare = exports.acceptImageShare = exports.listPendingImageShares = exports.listModelRevisions = exports.updateModel = exports.getModel = exports.deleteModel = exports.createModel = exports.listModels = exports.listMcpHubDefinitions = exports.listLocations = exports.listJobRevisions = exports.listJobExecutionTasks = exports.getJobExecution = exports.deleteJobExecution = exports.createJobExecution = exports.listJobExecutions = exports.updateJob = exports.getJob = exports.deleteJob = exports.createJob = void 0;
|
|
6
|
+
exports.checkWorkspaceAvailability = exports.leaveWorkspace = exports.acceptWorkspaceInvitation = exports.declineWorkspaceInvitation = exports.updateWorkspace = exports.getWorkspace = exports.deleteWorkspace = exports.createWorkspace = exports.listWorkspaces = exports.getEgressIp = exports.deleteEgressIp = exports.createEgressIp = exports.listEgressIps = exports.getEgressGateway = exports.deleteEgressGateway = exports.createEgressGateway = exports.listEgressGateways = exports.getVpc = exports.deleteVpc = exports.createVpc = exports.listVpcs = exports.updateVolume = exports.getVolume = exports.deleteVolume = exports.createVolume = exports.listVolumes = exports.deleteVolumeTemplateVersion = exports.updateVolumeTemplate = exports.getVolumeTemplate = exports.deleteVolumeTemplate = exports.createVolumeTemplate = exports.listVolumeTemplates = exports.updateWorkspaceUserRole = exports.removeWorkspaceUser = exports.inviteWorkspaceUser = exports.listWorkspaceUsers = exports.getTemplate = exports.listTemplates = void 0;
|
|
7
7
|
const client_gen_1 = require("./client.gen");
|
|
8
8
|
/**
|
|
9
9
|
* List all agents
|
|
10
|
-
* Returns
|
|
10
|
+
* 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.
|
|
11
11
|
*/
|
|
12
12
|
const listAgents = (options) => {
|
|
13
13
|
return (options?.client ?? client_gen_1.client).get({
|
|
14
|
-
security: [
|
|
15
|
-
{
|
|
16
|
-
scheme: 'bearer',
|
|
17
|
-
type: 'http'
|
|
18
|
-
}
|
|
19
|
-
],
|
|
14
|
+
security: [],
|
|
20
15
|
url: '/agents',
|
|
21
16
|
...options
|
|
22
17
|
});
|
|
@@ -28,12 +23,7 @@ exports.listAgents = listAgents;
|
|
|
28
23
|
*/
|
|
29
24
|
const createAgent = (options) => {
|
|
30
25
|
return (options.client ?? client_gen_1.client).post({
|
|
31
|
-
security: [
|
|
32
|
-
{
|
|
33
|
-
scheme: 'bearer',
|
|
34
|
-
type: 'http'
|
|
35
|
-
}
|
|
36
|
-
],
|
|
26
|
+
security: [],
|
|
37
27
|
url: '/agents',
|
|
38
28
|
...options,
|
|
39
29
|
headers: {
|
|
@@ -49,12 +39,7 @@ exports.createAgent = createAgent;
|
|
|
49
39
|
*/
|
|
50
40
|
const deleteAgent = (options) => {
|
|
51
41
|
return (options.client ?? client_gen_1.client).delete({
|
|
52
|
-
security: [
|
|
53
|
-
{
|
|
54
|
-
scheme: 'bearer',
|
|
55
|
-
type: 'http'
|
|
56
|
-
}
|
|
57
|
-
],
|
|
42
|
+
security: [],
|
|
58
43
|
url: '/agents/{agentName}',
|
|
59
44
|
...options
|
|
60
45
|
});
|
|
@@ -66,12 +51,7 @@ exports.deleteAgent = deleteAgent;
|
|
|
66
51
|
*/
|
|
67
52
|
const getAgent = (options) => {
|
|
68
53
|
return (options.client ?? client_gen_1.client).get({
|
|
69
|
-
security: [
|
|
70
|
-
{
|
|
71
|
-
scheme: 'bearer',
|
|
72
|
-
type: 'http'
|
|
73
|
-
}
|
|
74
|
-
],
|
|
54
|
+
security: [],
|
|
75
55
|
url: '/agents/{agentName}',
|
|
76
56
|
...options
|
|
77
57
|
});
|
|
@@ -83,12 +63,7 @@ exports.getAgent = getAgent;
|
|
|
83
63
|
*/
|
|
84
64
|
const updateAgent = (options) => {
|
|
85
65
|
return (options.client ?? client_gen_1.client).put({
|
|
86
|
-
security: [
|
|
87
|
-
{
|
|
88
|
-
scheme: 'bearer',
|
|
89
|
-
type: 'http'
|
|
90
|
-
}
|
|
91
|
-
],
|
|
66
|
+
security: [],
|
|
92
67
|
url: '/agents/{agentName}',
|
|
93
68
|
...options,
|
|
94
69
|
headers: {
|
|
@@ -103,12 +78,7 @@ exports.updateAgent = updateAgent;
|
|
|
103
78
|
*/
|
|
104
79
|
const listAgentRevisions = (options) => {
|
|
105
80
|
return (options.client ?? client_gen_1.client).get({
|
|
106
|
-
security: [
|
|
107
|
-
{
|
|
108
|
-
scheme: 'bearer',
|
|
109
|
-
type: 'http'
|
|
110
|
-
}
|
|
111
|
-
],
|
|
81
|
+
security: [],
|
|
112
82
|
url: '/agents/{agentName}/revisions',
|
|
113
83
|
...options
|
|
114
84
|
});
|
|
@@ -120,12 +90,7 @@ exports.listAgentRevisions = listAgentRevisions;
|
|
|
120
90
|
*/
|
|
121
91
|
const getConfiguration = (options) => {
|
|
122
92
|
return (options?.client ?? client_gen_1.client).get({
|
|
123
|
-
security: [
|
|
124
|
-
{
|
|
125
|
-
scheme: 'bearer',
|
|
126
|
-
type: 'http'
|
|
127
|
-
}
|
|
128
|
-
],
|
|
93
|
+
security: [],
|
|
129
94
|
url: '/configuration',
|
|
130
95
|
...options
|
|
131
96
|
});
|
|
@@ -137,12 +102,7 @@ exports.getConfiguration = getConfiguration;
|
|
|
137
102
|
*/
|
|
138
103
|
const listCustomDomains = (options) => {
|
|
139
104
|
return (options?.client ?? client_gen_1.client).get({
|
|
140
|
-
security: [
|
|
141
|
-
{
|
|
142
|
-
scheme: 'bearer',
|
|
143
|
-
type: 'http'
|
|
144
|
-
}
|
|
145
|
-
],
|
|
105
|
+
security: [],
|
|
146
106
|
url: '/customdomains',
|
|
147
107
|
...options
|
|
148
108
|
});
|
|
@@ -154,12 +114,7 @@ exports.listCustomDomains = listCustomDomains;
|
|
|
154
114
|
*/
|
|
155
115
|
const createCustomDomain = (options) => {
|
|
156
116
|
return (options.client ?? client_gen_1.client).post({
|
|
157
|
-
security: [
|
|
158
|
-
{
|
|
159
|
-
scheme: 'bearer',
|
|
160
|
-
type: 'http'
|
|
161
|
-
}
|
|
162
|
-
],
|
|
117
|
+
security: [],
|
|
163
118
|
url: '/customdomains',
|
|
164
119
|
...options,
|
|
165
120
|
headers: {
|
|
@@ -174,12 +129,7 @@ exports.createCustomDomain = createCustomDomain;
|
|
|
174
129
|
*/
|
|
175
130
|
const deleteCustomDomain = (options) => {
|
|
176
131
|
return (options.client ?? client_gen_1.client).delete({
|
|
177
|
-
security: [
|
|
178
|
-
{
|
|
179
|
-
scheme: 'bearer',
|
|
180
|
-
type: 'http'
|
|
181
|
-
}
|
|
182
|
-
],
|
|
132
|
+
security: [],
|
|
183
133
|
url: '/customdomains/{domainName}',
|
|
184
134
|
...options
|
|
185
135
|
});
|
|
@@ -190,12 +140,7 @@ exports.deleteCustomDomain = deleteCustomDomain;
|
|
|
190
140
|
*/
|
|
191
141
|
const getCustomDomain = (options) => {
|
|
192
142
|
return (options.client ?? client_gen_1.client).get({
|
|
193
|
-
security: [
|
|
194
|
-
{
|
|
195
|
-
scheme: 'bearer',
|
|
196
|
-
type: 'http'
|
|
197
|
-
}
|
|
198
|
-
],
|
|
143
|
+
security: [],
|
|
199
144
|
url: '/customdomains/{domainName}',
|
|
200
145
|
...options
|
|
201
146
|
});
|
|
@@ -206,12 +151,7 @@ exports.getCustomDomain = getCustomDomain;
|
|
|
206
151
|
*/
|
|
207
152
|
const updateCustomDomain = (options) => {
|
|
208
153
|
return (options.client ?? client_gen_1.client).put({
|
|
209
|
-
security: [
|
|
210
|
-
{
|
|
211
|
-
scheme: 'bearer',
|
|
212
|
-
type: 'http'
|
|
213
|
-
}
|
|
214
|
-
],
|
|
154
|
+
security: [],
|
|
215
155
|
url: '/customdomains/{domainName}',
|
|
216
156
|
...options,
|
|
217
157
|
headers: {
|
|
@@ -226,12 +166,7 @@ exports.updateCustomDomain = updateCustomDomain;
|
|
|
226
166
|
*/
|
|
227
167
|
const verifyCustomDomain = (options) => {
|
|
228
168
|
return (options.client ?? client_gen_1.client).post({
|
|
229
|
-
security: [
|
|
230
|
-
{
|
|
231
|
-
scheme: 'bearer',
|
|
232
|
-
type: 'http'
|
|
233
|
-
}
|
|
234
|
-
],
|
|
169
|
+
security: [],
|
|
235
170
|
url: '/customdomains/{domainName}/verify',
|
|
236
171
|
...options
|
|
237
172
|
});
|
|
@@ -239,16 +174,11 @@ const verifyCustomDomain = (options) => {
|
|
|
239
174
|
exports.verifyCustomDomain = verifyCustomDomain;
|
|
240
175
|
/**
|
|
241
176
|
* List drives
|
|
242
|
-
* Returns all drives in the workspace. Drives provide persistent storage that can be attached to agents, functions, and sandboxes.
|
|
177
|
+
* 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.
|
|
243
178
|
*/
|
|
244
179
|
const listDrives = (options) => {
|
|
245
180
|
return (options?.client ?? client_gen_1.client).get({
|
|
246
|
-
security: [
|
|
247
|
-
{
|
|
248
|
-
scheme: 'bearer',
|
|
249
|
-
type: 'http'
|
|
250
|
-
}
|
|
251
|
-
],
|
|
181
|
+
security: [],
|
|
252
182
|
url: '/drives',
|
|
253
183
|
...options
|
|
254
184
|
});
|
|
@@ -260,12 +190,7 @@ exports.listDrives = listDrives;
|
|
|
260
190
|
*/
|
|
261
191
|
const createDrive = (options) => {
|
|
262
192
|
return (options.client ?? client_gen_1.client).post({
|
|
263
|
-
security: [
|
|
264
|
-
{
|
|
265
|
-
scheme: 'bearer',
|
|
266
|
-
type: 'http'
|
|
267
|
-
}
|
|
268
|
-
],
|
|
193
|
+
security: [],
|
|
269
194
|
url: '/drives',
|
|
270
195
|
...options,
|
|
271
196
|
headers: {
|
|
@@ -281,12 +206,7 @@ exports.createDrive = createDrive;
|
|
|
281
206
|
*/
|
|
282
207
|
const deleteDrive = (options) => {
|
|
283
208
|
return (options.client ?? client_gen_1.client).delete({
|
|
284
|
-
security: [
|
|
285
|
-
{
|
|
286
|
-
scheme: 'bearer',
|
|
287
|
-
type: 'http'
|
|
288
|
-
}
|
|
289
|
-
],
|
|
209
|
+
security: [],
|
|
290
210
|
url: '/drives/{driveName}',
|
|
291
211
|
...options
|
|
292
212
|
});
|
|
@@ -298,12 +218,7 @@ exports.deleteDrive = deleteDrive;
|
|
|
298
218
|
*/
|
|
299
219
|
const getDrive = (options) => {
|
|
300
220
|
return (options.client ?? client_gen_1.client).get({
|
|
301
|
-
security: [
|
|
302
|
-
{
|
|
303
|
-
scheme: 'bearer',
|
|
304
|
-
type: 'http'
|
|
305
|
-
}
|
|
306
|
-
],
|
|
221
|
+
security: [],
|
|
307
222
|
url: '/drives/{driveName}',
|
|
308
223
|
...options
|
|
309
224
|
});
|
|
@@ -315,12 +230,7 @@ exports.getDrive = getDrive;
|
|
|
315
230
|
*/
|
|
316
231
|
const updateDrive = (options) => {
|
|
317
232
|
return (options.client ?? client_gen_1.client).put({
|
|
318
|
-
security: [
|
|
319
|
-
{
|
|
320
|
-
scheme: 'bearer',
|
|
321
|
-
type: 'http'
|
|
322
|
-
}
|
|
323
|
-
],
|
|
233
|
+
security: [],
|
|
324
234
|
url: '/drives/{driveName}',
|
|
325
235
|
...options,
|
|
326
236
|
headers: {
|
|
@@ -336,12 +246,7 @@ exports.updateDrive = updateDrive;
|
|
|
336
246
|
*/
|
|
337
247
|
const createDriveAccessToken = (options) => {
|
|
338
248
|
return (options.client ?? client_gen_1.client).post({
|
|
339
|
-
security: [
|
|
340
|
-
{
|
|
341
|
-
scheme: 'bearer',
|
|
342
|
-
type: 'http'
|
|
343
|
-
}
|
|
344
|
-
],
|
|
249
|
+
security: [],
|
|
345
250
|
url: '/drives/{driveName}/access-token',
|
|
346
251
|
...options
|
|
347
252
|
});
|
|
@@ -363,28 +268,30 @@ exports.getDriveJwks = getDriveJwks;
|
|
|
363
268
|
*/
|
|
364
269
|
const listAllEgressGateways = (options) => {
|
|
365
270
|
return (options?.client ?? client_gen_1.client).get({
|
|
366
|
-
security: [
|
|
367
|
-
{
|
|
368
|
-
scheme: 'bearer',
|
|
369
|
-
type: 'http'
|
|
370
|
-
}
|
|
371
|
-
],
|
|
271
|
+
security: [],
|
|
372
272
|
url: '/egressgateways',
|
|
373
273
|
...options
|
|
374
274
|
});
|
|
375
275
|
};
|
|
376
276
|
exports.listAllEgressGateways = listAllEgressGateways;
|
|
277
|
+
/**
|
|
278
|
+
* Egress gateway sandbox attachments
|
|
279
|
+
* 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.
|
|
280
|
+
*/
|
|
281
|
+
const getEgressGatewayUsage = (options) => {
|
|
282
|
+
return (options?.client ?? client_gen_1.client).get({
|
|
283
|
+
security: [],
|
|
284
|
+
url: '/egressgateways/usage',
|
|
285
|
+
...options
|
|
286
|
+
});
|
|
287
|
+
};
|
|
288
|
+
exports.getEgressGatewayUsage = getEgressGatewayUsage;
|
|
377
289
|
/**
|
|
378
290
|
* List all egress IPs across all VPCs and gateways in the workspace
|
|
379
291
|
*/
|
|
380
292
|
const listAllEgressIps = (options) => {
|
|
381
293
|
return (options?.client ?? client_gen_1.client).get({
|
|
382
|
-
security: [
|
|
383
|
-
{
|
|
384
|
-
scheme: 'bearer',
|
|
385
|
-
type: 'http'
|
|
386
|
-
}
|
|
387
|
-
],
|
|
294
|
+
security: [],
|
|
388
295
|
url: '/egressips',
|
|
389
296
|
...options
|
|
390
297
|
});
|
|
@@ -396,12 +303,7 @@ exports.listAllEgressIps = listAllEgressIps;
|
|
|
396
303
|
*/
|
|
397
304
|
const getWorkspaceFeatures = (options) => {
|
|
398
305
|
return (options?.client ?? client_gen_1.client).get({
|
|
399
|
-
security: [
|
|
400
|
-
{
|
|
401
|
-
scheme: 'bearer',
|
|
402
|
-
type: 'http'
|
|
403
|
-
}
|
|
404
|
-
],
|
|
306
|
+
security: [],
|
|
405
307
|
url: '/features',
|
|
406
308
|
...options
|
|
407
309
|
});
|
|
@@ -413,12 +315,7 @@ exports.getWorkspaceFeatures = getWorkspaceFeatures;
|
|
|
413
315
|
*/
|
|
414
316
|
const testFeatureFlag = (options) => {
|
|
415
317
|
return (options.client ?? client_gen_1.client).get({
|
|
416
|
-
security: [
|
|
417
|
-
{
|
|
418
|
-
scheme: 'bearer',
|
|
419
|
-
type: 'http'
|
|
420
|
-
}
|
|
421
|
-
],
|
|
318
|
+
security: [],
|
|
422
319
|
url: '/features/{featureKey}',
|
|
423
320
|
...options
|
|
424
321
|
});
|
|
@@ -426,16 +323,11 @@ const testFeatureFlag = (options) => {
|
|
|
426
323
|
exports.testFeatureFlag = testFeatureFlag;
|
|
427
324
|
/**
|
|
428
325
|
* List all MCP servers
|
|
429
|
-
* Returns
|
|
326
|
+
* 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.
|
|
430
327
|
*/
|
|
431
328
|
const listFunctions = (options) => {
|
|
432
329
|
return (options?.client ?? client_gen_1.client).get({
|
|
433
|
-
security: [
|
|
434
|
-
{
|
|
435
|
-
scheme: 'bearer',
|
|
436
|
-
type: 'http'
|
|
437
|
-
}
|
|
438
|
-
],
|
|
330
|
+
security: [],
|
|
439
331
|
url: '/functions',
|
|
440
332
|
...options
|
|
441
333
|
});
|
|
@@ -447,12 +339,7 @@ exports.listFunctions = listFunctions;
|
|
|
447
339
|
*/
|
|
448
340
|
const createFunction = (options) => {
|
|
449
341
|
return (options.client ?? client_gen_1.client).post({
|
|
450
|
-
security: [
|
|
451
|
-
{
|
|
452
|
-
scheme: 'bearer',
|
|
453
|
-
type: 'http'
|
|
454
|
-
}
|
|
455
|
-
],
|
|
342
|
+
security: [],
|
|
456
343
|
url: '/functions',
|
|
457
344
|
...options,
|
|
458
345
|
headers: {
|
|
@@ -468,12 +355,7 @@ exports.createFunction = createFunction;
|
|
|
468
355
|
*/
|
|
469
356
|
const deleteFunction = (options) => {
|
|
470
357
|
return (options.client ?? client_gen_1.client).delete({
|
|
471
|
-
security: [
|
|
472
|
-
{
|
|
473
|
-
scheme: 'bearer',
|
|
474
|
-
type: 'http'
|
|
475
|
-
}
|
|
476
|
-
],
|
|
358
|
+
security: [],
|
|
477
359
|
url: '/functions/{functionName}',
|
|
478
360
|
...options
|
|
479
361
|
});
|
|
@@ -485,12 +367,7 @@ exports.deleteFunction = deleteFunction;
|
|
|
485
367
|
*/
|
|
486
368
|
const getFunction = (options) => {
|
|
487
369
|
return (options.client ?? client_gen_1.client).get({
|
|
488
|
-
security: [
|
|
489
|
-
{
|
|
490
|
-
scheme: 'bearer',
|
|
491
|
-
type: 'http'
|
|
492
|
-
}
|
|
493
|
-
],
|
|
370
|
+
security: [],
|
|
494
371
|
url: '/functions/{functionName}',
|
|
495
372
|
...options
|
|
496
373
|
});
|
|
@@ -502,12 +379,7 @@ exports.getFunction = getFunction;
|
|
|
502
379
|
*/
|
|
503
380
|
const updateFunction = (options) => {
|
|
504
381
|
return (options.client ?? client_gen_1.client).put({
|
|
505
|
-
security: [
|
|
506
|
-
{
|
|
507
|
-
scheme: 'bearer',
|
|
508
|
-
type: 'http'
|
|
509
|
-
}
|
|
510
|
-
],
|
|
382
|
+
security: [],
|
|
511
383
|
url: '/functions/{functionName}',
|
|
512
384
|
...options,
|
|
513
385
|
headers: {
|
|
@@ -523,12 +395,7 @@ exports.updateFunction = updateFunction;
|
|
|
523
395
|
*/
|
|
524
396
|
const listFunctionRevisions = (options) => {
|
|
525
397
|
return (options.client ?? client_gen_1.client).get({
|
|
526
|
-
security: [
|
|
527
|
-
{
|
|
528
|
-
scheme: 'bearer',
|
|
529
|
-
type: 'http'
|
|
530
|
-
}
|
|
531
|
-
],
|
|
398
|
+
security: [],
|
|
532
399
|
url: '/functions/{functionName}/revisions',
|
|
533
400
|
...options
|
|
534
401
|
});
|
|
@@ -540,12 +407,7 @@ exports.listFunctionRevisions = listFunctionRevisions;
|
|
|
540
407
|
*/
|
|
541
408
|
const cleanupImages = (options) => {
|
|
542
409
|
return (options?.client ?? client_gen_1.client).delete({
|
|
543
|
-
security: [
|
|
544
|
-
{
|
|
545
|
-
scheme: 'bearer',
|
|
546
|
-
type: 'http'
|
|
547
|
-
}
|
|
548
|
-
],
|
|
410
|
+
security: [],
|
|
549
411
|
url: '/images',
|
|
550
412
|
...options
|
|
551
413
|
});
|
|
@@ -557,12 +419,7 @@ exports.cleanupImages = cleanupImages;
|
|
|
557
419
|
*/
|
|
558
420
|
const listImages = (options) => {
|
|
559
421
|
return (options?.client ?? client_gen_1.client).get({
|
|
560
|
-
security: [
|
|
561
|
-
{
|
|
562
|
-
scheme: 'bearer',
|
|
563
|
-
type: 'http'
|
|
564
|
-
}
|
|
565
|
-
],
|
|
422
|
+
security: [],
|
|
566
423
|
url: '/images',
|
|
567
424
|
...options
|
|
568
425
|
});
|
|
@@ -574,12 +431,7 @@ exports.listImages = listImages;
|
|
|
574
431
|
*/
|
|
575
432
|
const createImage = (options) => {
|
|
576
433
|
return (options.client ?? client_gen_1.client).post({
|
|
577
|
-
security: [
|
|
578
|
-
{
|
|
579
|
-
scheme: 'bearer',
|
|
580
|
-
type: 'http'
|
|
581
|
-
}
|
|
582
|
-
],
|
|
434
|
+
security: [],
|
|
583
435
|
url: '/images',
|
|
584
436
|
...options,
|
|
585
437
|
headers: {
|
|
@@ -595,12 +447,7 @@ exports.createImage = createImage;
|
|
|
595
447
|
*/
|
|
596
448
|
const deleteImage = (options) => {
|
|
597
449
|
return (options.client ?? client_gen_1.client).delete({
|
|
598
|
-
security: [
|
|
599
|
-
{
|
|
600
|
-
scheme: 'bearer',
|
|
601
|
-
type: 'http'
|
|
602
|
-
}
|
|
603
|
-
],
|
|
450
|
+
security: [],
|
|
604
451
|
url: '/images/{resourceType}/{imageName}',
|
|
605
452
|
...options
|
|
606
453
|
});
|
|
@@ -612,12 +459,7 @@ exports.deleteImage = deleteImage;
|
|
|
612
459
|
*/
|
|
613
460
|
const getImage = (options) => {
|
|
614
461
|
return (options.client ?? client_gen_1.client).get({
|
|
615
|
-
security: [
|
|
616
|
-
{
|
|
617
|
-
scheme: 'bearer',
|
|
618
|
-
type: 'http'
|
|
619
|
-
}
|
|
620
|
-
],
|
|
462
|
+
security: [],
|
|
621
463
|
url: '/images/{resourceType}/{imageName}',
|
|
622
464
|
...options
|
|
623
465
|
});
|
|
@@ -629,12 +471,7 @@ exports.getImage = getImage;
|
|
|
629
471
|
*/
|
|
630
472
|
const listImageShares = (options) => {
|
|
631
473
|
return (options.client ?? client_gen_1.client).get({
|
|
632
|
-
security: [
|
|
633
|
-
{
|
|
634
|
-
scheme: 'bearer',
|
|
635
|
-
type: 'http'
|
|
636
|
-
}
|
|
637
|
-
],
|
|
474
|
+
security: [],
|
|
638
475
|
url: '/images/{resourceType}/{imageName}/share',
|
|
639
476
|
...options
|
|
640
477
|
});
|
|
@@ -646,12 +483,7 @@ exports.listImageShares = listImageShares;
|
|
|
646
483
|
*/
|
|
647
484
|
const shareImage = (options) => {
|
|
648
485
|
return (options.client ?? client_gen_1.client).post({
|
|
649
|
-
security: [
|
|
650
|
-
{
|
|
651
|
-
scheme: 'bearer',
|
|
652
|
-
type: 'http'
|
|
653
|
-
}
|
|
654
|
-
],
|
|
486
|
+
security: [],
|
|
655
487
|
url: '/images/{resourceType}/{imageName}/share',
|
|
656
488
|
...options,
|
|
657
489
|
headers: {
|
|
@@ -667,12 +499,7 @@ exports.shareImage = shareImage;
|
|
|
667
499
|
*/
|
|
668
500
|
const unshareImage = (options) => {
|
|
669
501
|
return (options.client ?? client_gen_1.client).delete({
|
|
670
|
-
security: [
|
|
671
|
-
{
|
|
672
|
-
scheme: 'bearer',
|
|
673
|
-
type: 'http'
|
|
674
|
-
}
|
|
675
|
-
],
|
|
502
|
+
security: [],
|
|
676
503
|
url: '/images/{resourceType}/{imageName}/share/{targetWorkspace}',
|
|
677
504
|
...options
|
|
678
505
|
});
|
|
@@ -684,12 +511,7 @@ exports.unshareImage = unshareImage;
|
|
|
684
511
|
*/
|
|
685
512
|
const deleteImageTag = (options) => {
|
|
686
513
|
return (options.client ?? client_gen_1.client).delete({
|
|
687
|
-
security: [
|
|
688
|
-
{
|
|
689
|
-
scheme: 'bearer',
|
|
690
|
-
type: 'http'
|
|
691
|
-
}
|
|
692
|
-
],
|
|
514
|
+
security: [],
|
|
693
515
|
url: '/images/{resourceType}/{imageName}/tags/{tagName}',
|
|
694
516
|
...options
|
|
695
517
|
});
|
|
@@ -701,12 +523,7 @@ exports.deleteImageTag = deleteImageTag;
|
|
|
701
523
|
*/
|
|
702
524
|
const getIntegration = (options) => {
|
|
703
525
|
return (options.client ?? client_gen_1.client).get({
|
|
704
|
-
security: [
|
|
705
|
-
{
|
|
706
|
-
scheme: 'bearer',
|
|
707
|
-
type: 'http'
|
|
708
|
-
}
|
|
709
|
-
],
|
|
526
|
+
security: [],
|
|
710
527
|
url: '/integrations/{integrationName}',
|
|
711
528
|
...options
|
|
712
529
|
});
|
|
@@ -718,12 +535,7 @@ exports.getIntegration = getIntegration;
|
|
|
718
535
|
*/
|
|
719
536
|
const listIntegrationConnections = (options) => {
|
|
720
537
|
return (options?.client ?? client_gen_1.client).get({
|
|
721
|
-
security: [
|
|
722
|
-
{
|
|
723
|
-
scheme: 'bearer',
|
|
724
|
-
type: 'http'
|
|
725
|
-
}
|
|
726
|
-
],
|
|
538
|
+
security: [],
|
|
727
539
|
url: '/integrations/connections',
|
|
728
540
|
...options
|
|
729
541
|
});
|
|
@@ -735,12 +547,7 @@ exports.listIntegrationConnections = listIntegrationConnections;
|
|
|
735
547
|
*/
|
|
736
548
|
const createIntegrationConnection = (options) => {
|
|
737
549
|
return (options.client ?? client_gen_1.client).post({
|
|
738
|
-
security: [
|
|
739
|
-
{
|
|
740
|
-
scheme: 'bearer',
|
|
741
|
-
type: 'http'
|
|
742
|
-
}
|
|
743
|
-
],
|
|
550
|
+
security: [],
|
|
744
551
|
url: '/integrations/connections',
|
|
745
552
|
...options,
|
|
746
553
|
headers: {
|
|
@@ -756,12 +563,7 @@ exports.createIntegrationConnection = createIntegrationConnection;
|
|
|
756
563
|
*/
|
|
757
564
|
const deleteIntegrationConnection = (options) => {
|
|
758
565
|
return (options.client ?? client_gen_1.client).delete({
|
|
759
|
-
security: [
|
|
760
|
-
{
|
|
761
|
-
scheme: 'bearer',
|
|
762
|
-
type: 'http'
|
|
763
|
-
}
|
|
764
|
-
],
|
|
566
|
+
security: [],
|
|
765
567
|
url: '/integrations/connections/{connectionName}',
|
|
766
568
|
...options
|
|
767
569
|
});
|
|
@@ -773,12 +575,7 @@ exports.deleteIntegrationConnection = deleteIntegrationConnection;
|
|
|
773
575
|
*/
|
|
774
576
|
const getIntegrationConnection = (options) => {
|
|
775
577
|
return (options.client ?? client_gen_1.client).get({
|
|
776
|
-
security: [
|
|
777
|
-
{
|
|
778
|
-
scheme: 'bearer',
|
|
779
|
-
type: 'http'
|
|
780
|
-
}
|
|
781
|
-
],
|
|
578
|
+
security: [],
|
|
782
579
|
url: '/integrations/connections/{connectionName}',
|
|
783
580
|
...options
|
|
784
581
|
});
|
|
@@ -790,12 +587,7 @@ exports.getIntegrationConnection = getIntegrationConnection;
|
|
|
790
587
|
*/
|
|
791
588
|
const updateIntegrationConnection = (options) => {
|
|
792
589
|
return (options.client ?? client_gen_1.client).put({
|
|
793
|
-
security: [
|
|
794
|
-
{
|
|
795
|
-
scheme: 'bearer',
|
|
796
|
-
type: 'http'
|
|
797
|
-
}
|
|
798
|
-
],
|
|
590
|
+
security: [],
|
|
799
591
|
url: '/integrations/connections/{connectionName}',
|
|
800
592
|
...options,
|
|
801
593
|
headers: {
|
|
@@ -811,12 +603,7 @@ exports.updateIntegrationConnection = updateIntegrationConnection;
|
|
|
811
603
|
*/
|
|
812
604
|
const getIntegrationConnectionModelEndpointConfigurations = (options) => {
|
|
813
605
|
return (options.client ?? client_gen_1.client).get({
|
|
814
|
-
security: [
|
|
815
|
-
{
|
|
816
|
-
scheme: 'bearer',
|
|
817
|
-
type: 'http'
|
|
818
|
-
}
|
|
819
|
-
],
|
|
606
|
+
security: [],
|
|
820
607
|
url: '/integrations/connections/{connectionName}/endpointConfigurations',
|
|
821
608
|
...options
|
|
822
609
|
});
|
|
@@ -828,12 +615,7 @@ exports.getIntegrationConnectionModelEndpointConfigurations = getIntegrationConn
|
|
|
828
615
|
*/
|
|
829
616
|
const listIntegrationConnectionModels = (options) => {
|
|
830
617
|
return (options.client ?? client_gen_1.client).get({
|
|
831
|
-
security: [
|
|
832
|
-
{
|
|
833
|
-
scheme: 'bearer',
|
|
834
|
-
type: 'http'
|
|
835
|
-
}
|
|
836
|
-
],
|
|
618
|
+
security: [],
|
|
837
619
|
url: '/integrations/connections/{connectionName}/models',
|
|
838
620
|
...options
|
|
839
621
|
});
|
|
@@ -845,12 +627,7 @@ exports.listIntegrationConnectionModels = listIntegrationConnectionModels;
|
|
|
845
627
|
*/
|
|
846
628
|
const getIntegrationConnectionModel = (options) => {
|
|
847
629
|
return (options.client ?? client_gen_1.client).get({
|
|
848
|
-
security: [
|
|
849
|
-
{
|
|
850
|
-
scheme: 'bearer',
|
|
851
|
-
type: 'http'
|
|
852
|
-
}
|
|
853
|
-
],
|
|
630
|
+
security: [],
|
|
854
631
|
url: '/integrations/connections/{connectionName}/models/{modelId}',
|
|
855
632
|
...options
|
|
856
633
|
});
|
|
@@ -858,16 +635,11 @@ const getIntegrationConnectionModel = (options) => {
|
|
|
858
635
|
exports.getIntegrationConnectionModel = getIntegrationConnectionModel;
|
|
859
636
|
/**
|
|
860
637
|
* List batch jobs
|
|
861
|
-
* Returns
|
|
638
|
+
* 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.
|
|
862
639
|
*/
|
|
863
640
|
const listJobs = (options) => {
|
|
864
641
|
return (options?.client ?? client_gen_1.client).get({
|
|
865
|
-
security: [
|
|
866
|
-
{
|
|
867
|
-
scheme: 'bearer',
|
|
868
|
-
type: 'http'
|
|
869
|
-
}
|
|
870
|
-
],
|
|
642
|
+
security: [],
|
|
871
643
|
url: '/jobs',
|
|
872
644
|
...options
|
|
873
645
|
});
|
|
@@ -879,12 +651,7 @@ exports.listJobs = listJobs;
|
|
|
879
651
|
*/
|
|
880
652
|
const createJob = (options) => {
|
|
881
653
|
return (options.client ?? client_gen_1.client).post({
|
|
882
|
-
security: [
|
|
883
|
-
{
|
|
884
|
-
scheme: 'bearer',
|
|
885
|
-
type: 'http'
|
|
886
|
-
}
|
|
887
|
-
],
|
|
654
|
+
security: [],
|
|
888
655
|
url: '/jobs',
|
|
889
656
|
...options,
|
|
890
657
|
headers: {
|
|
@@ -900,12 +667,7 @@ exports.createJob = createJob;
|
|
|
900
667
|
*/
|
|
901
668
|
const deleteJob = (options) => {
|
|
902
669
|
return (options.client ?? client_gen_1.client).delete({
|
|
903
|
-
security: [
|
|
904
|
-
{
|
|
905
|
-
scheme: 'bearer',
|
|
906
|
-
type: 'http'
|
|
907
|
-
}
|
|
908
|
-
],
|
|
670
|
+
security: [],
|
|
909
671
|
url: '/jobs/{jobId}',
|
|
910
672
|
...options
|
|
911
673
|
});
|
|
@@ -917,12 +679,7 @@ exports.deleteJob = deleteJob;
|
|
|
917
679
|
*/
|
|
918
680
|
const getJob = (options) => {
|
|
919
681
|
return (options.client ?? client_gen_1.client).get({
|
|
920
|
-
security: [
|
|
921
|
-
{
|
|
922
|
-
scheme: 'bearer',
|
|
923
|
-
type: 'http'
|
|
924
|
-
}
|
|
925
|
-
],
|
|
682
|
+
security: [],
|
|
926
683
|
url: '/jobs/{jobId}',
|
|
927
684
|
...options
|
|
928
685
|
});
|
|
@@ -934,12 +691,7 @@ exports.getJob = getJob;
|
|
|
934
691
|
*/
|
|
935
692
|
const updateJob = (options) => {
|
|
936
693
|
return (options.client ?? client_gen_1.client).put({
|
|
937
|
-
security: [
|
|
938
|
-
{
|
|
939
|
-
scheme: 'bearer',
|
|
940
|
-
type: 'http'
|
|
941
|
-
}
|
|
942
|
-
],
|
|
694
|
+
security: [],
|
|
943
695
|
url: '/jobs/{jobId}',
|
|
944
696
|
...options,
|
|
945
697
|
headers: {
|
|
@@ -951,16 +703,11 @@ const updateJob = (options) => {
|
|
|
951
703
|
exports.updateJob = updateJob;
|
|
952
704
|
/**
|
|
953
705
|
* List job executions
|
|
954
|
-
* Returns
|
|
706
|
+
* 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.
|
|
955
707
|
*/
|
|
956
708
|
const listJobExecutions = (options) => {
|
|
957
709
|
return (options.client ?? client_gen_1.client).get({
|
|
958
|
-
security: [
|
|
959
|
-
{
|
|
960
|
-
scheme: 'bearer',
|
|
961
|
-
type: 'http'
|
|
962
|
-
}
|
|
963
|
-
],
|
|
710
|
+
security: [],
|
|
964
711
|
url: '/jobs/{jobId}/executions',
|
|
965
712
|
...options
|
|
966
713
|
});
|
|
@@ -972,12 +719,7 @@ exports.listJobExecutions = listJobExecutions;
|
|
|
972
719
|
*/
|
|
973
720
|
const createJobExecution = (options) => {
|
|
974
721
|
return (options.client ?? client_gen_1.client).post({
|
|
975
|
-
security: [
|
|
976
|
-
{
|
|
977
|
-
scheme: 'bearer',
|
|
978
|
-
type: 'http'
|
|
979
|
-
}
|
|
980
|
-
],
|
|
722
|
+
security: [],
|
|
981
723
|
url: '/jobs/{jobId}/executions',
|
|
982
724
|
...options,
|
|
983
725
|
headers: {
|
|
@@ -993,12 +735,7 @@ exports.createJobExecution = createJobExecution;
|
|
|
993
735
|
*/
|
|
994
736
|
const deleteJobExecution = (options) => {
|
|
995
737
|
return (options.client ?? client_gen_1.client).delete({
|
|
996
|
-
security: [
|
|
997
|
-
{
|
|
998
|
-
scheme: 'bearer',
|
|
999
|
-
type: 'http'
|
|
1000
|
-
}
|
|
1001
|
-
],
|
|
738
|
+
security: [],
|
|
1002
739
|
url: '/jobs/{jobId}/executions/{executionId}',
|
|
1003
740
|
...options
|
|
1004
741
|
});
|
|
@@ -1010,29 +747,31 @@ exports.deleteJobExecution = deleteJobExecution;
|
|
|
1010
747
|
*/
|
|
1011
748
|
const getJobExecution = (options) => {
|
|
1012
749
|
return (options.client ?? client_gen_1.client).get({
|
|
1013
|
-
security: [
|
|
1014
|
-
{
|
|
1015
|
-
scheme: 'bearer',
|
|
1016
|
-
type: 'http'
|
|
1017
|
-
}
|
|
1018
|
-
],
|
|
750
|
+
security: [],
|
|
1019
751
|
url: '/jobs/{jobId}/executions/{executionId}',
|
|
1020
752
|
...options
|
|
1021
753
|
});
|
|
1022
754
|
};
|
|
1023
755
|
exports.getJobExecution = getJobExecution;
|
|
756
|
+
/**
|
|
757
|
+
* List execution tasks
|
|
758
|
+
* 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.
|
|
759
|
+
*/
|
|
760
|
+
const listJobExecutionTasks = (options) => {
|
|
761
|
+
return (options.client ?? client_gen_1.client).get({
|
|
762
|
+
security: [],
|
|
763
|
+
url: '/jobs/{jobId}/executions/{executionId}/tasks',
|
|
764
|
+
...options
|
|
765
|
+
});
|
|
766
|
+
};
|
|
767
|
+
exports.listJobExecutionTasks = listJobExecutionTasks;
|
|
1024
768
|
/**
|
|
1025
769
|
* List job revisions
|
|
1026
770
|
* Returns revisions for a job by name.
|
|
1027
771
|
*/
|
|
1028
772
|
const listJobRevisions = (options) => {
|
|
1029
773
|
return (options.client ?? client_gen_1.client).get({
|
|
1030
|
-
security: [
|
|
1031
|
-
{
|
|
1032
|
-
scheme: 'bearer',
|
|
1033
|
-
type: 'http'
|
|
1034
|
-
}
|
|
1035
|
-
],
|
|
774
|
+
security: [],
|
|
1036
775
|
url: '/jobs/{jobId}/revisions',
|
|
1037
776
|
...options
|
|
1038
777
|
});
|
|
@@ -1044,12 +783,7 @@ exports.listJobRevisions = listJobRevisions;
|
|
|
1044
783
|
*/
|
|
1045
784
|
const listLocations = (options) => {
|
|
1046
785
|
return (options?.client ?? client_gen_1.client).get({
|
|
1047
|
-
security: [
|
|
1048
|
-
{
|
|
1049
|
-
scheme: 'bearer',
|
|
1050
|
-
type: 'http'
|
|
1051
|
-
}
|
|
1052
|
-
],
|
|
786
|
+
security: [],
|
|
1053
787
|
url: '/locations',
|
|
1054
788
|
...options
|
|
1055
789
|
});
|
|
@@ -1061,12 +795,7 @@ exports.listLocations = listLocations;
|
|
|
1061
795
|
*/
|
|
1062
796
|
const listMcpHubDefinitions = (options) => {
|
|
1063
797
|
return (options?.client ?? client_gen_1.client).get({
|
|
1064
|
-
security: [
|
|
1065
|
-
{
|
|
1066
|
-
scheme: 'bearer',
|
|
1067
|
-
type: 'http'
|
|
1068
|
-
}
|
|
1069
|
-
],
|
|
798
|
+
security: [],
|
|
1070
799
|
url: '/mcp/hub',
|
|
1071
800
|
...options
|
|
1072
801
|
});
|
|
@@ -1074,16 +803,11 @@ const listMcpHubDefinitions = (options) => {
|
|
|
1074
803
|
exports.listMcpHubDefinitions = listMcpHubDefinitions;
|
|
1075
804
|
/**
|
|
1076
805
|
* List model endpoints
|
|
1077
|
-
* Returns
|
|
806
|
+
* 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.
|
|
1078
807
|
*/
|
|
1079
808
|
const listModels = (options) => {
|
|
1080
809
|
return (options?.client ?? client_gen_1.client).get({
|
|
1081
|
-
security: [
|
|
1082
|
-
{
|
|
1083
|
-
scheme: 'bearer',
|
|
1084
|
-
type: 'http'
|
|
1085
|
-
}
|
|
1086
|
-
],
|
|
810
|
+
security: [],
|
|
1087
811
|
url: '/models',
|
|
1088
812
|
...options
|
|
1089
813
|
});
|
|
@@ -1095,12 +819,7 @@ exports.listModels = listModels;
|
|
|
1095
819
|
*/
|
|
1096
820
|
const createModel = (options) => {
|
|
1097
821
|
return (options.client ?? client_gen_1.client).post({
|
|
1098
|
-
security: [
|
|
1099
|
-
{
|
|
1100
|
-
scheme: 'bearer',
|
|
1101
|
-
type: 'http'
|
|
1102
|
-
}
|
|
1103
|
-
],
|
|
822
|
+
security: [],
|
|
1104
823
|
url: '/models',
|
|
1105
824
|
...options,
|
|
1106
825
|
headers: {
|
|
@@ -1116,12 +835,7 @@ exports.createModel = createModel;
|
|
|
1116
835
|
*/
|
|
1117
836
|
const deleteModel = (options) => {
|
|
1118
837
|
return (options.client ?? client_gen_1.client).delete({
|
|
1119
|
-
security: [
|
|
1120
|
-
{
|
|
1121
|
-
scheme: 'bearer',
|
|
1122
|
-
type: 'http'
|
|
1123
|
-
}
|
|
1124
|
-
],
|
|
838
|
+
security: [],
|
|
1125
839
|
url: '/models/{modelName}',
|
|
1126
840
|
...options
|
|
1127
841
|
});
|
|
@@ -1133,12 +847,7 @@ exports.deleteModel = deleteModel;
|
|
|
1133
847
|
*/
|
|
1134
848
|
const getModel = (options) => {
|
|
1135
849
|
return (options.client ?? client_gen_1.client).get({
|
|
1136
|
-
security: [
|
|
1137
|
-
{
|
|
1138
|
-
scheme: 'bearer',
|
|
1139
|
-
type: 'http'
|
|
1140
|
-
}
|
|
1141
|
-
],
|
|
850
|
+
security: [],
|
|
1142
851
|
url: '/models/{modelName}',
|
|
1143
852
|
...options
|
|
1144
853
|
});
|
|
@@ -1150,12 +859,7 @@ exports.getModel = getModel;
|
|
|
1150
859
|
*/
|
|
1151
860
|
const updateModel = (options) => {
|
|
1152
861
|
return (options.client ?? client_gen_1.client).put({
|
|
1153
|
-
security: [
|
|
1154
|
-
{
|
|
1155
|
-
scheme: 'bearer',
|
|
1156
|
-
type: 'http'
|
|
1157
|
-
}
|
|
1158
|
-
],
|
|
862
|
+
security: [],
|
|
1159
863
|
url: '/models/{modelName}',
|
|
1160
864
|
...options,
|
|
1161
865
|
headers: {
|
|
@@ -1171,12 +875,7 @@ exports.updateModel = updateModel;
|
|
|
1171
875
|
*/
|
|
1172
876
|
const listModelRevisions = (options) => {
|
|
1173
877
|
return (options.client ?? client_gen_1.client).get({
|
|
1174
|
-
security: [
|
|
1175
|
-
{
|
|
1176
|
-
scheme: 'bearer',
|
|
1177
|
-
type: 'http'
|
|
1178
|
-
}
|
|
1179
|
-
],
|
|
878
|
+
security: [],
|
|
1180
879
|
url: '/models/{modelName}/revisions',
|
|
1181
880
|
...options
|
|
1182
881
|
});
|
|
@@ -1188,12 +887,7 @@ exports.listModelRevisions = listModelRevisions;
|
|
|
1188
887
|
*/
|
|
1189
888
|
const listPendingImageShares = (options) => {
|
|
1190
889
|
return (options?.client ?? client_gen_1.client).get({
|
|
1191
|
-
security: [
|
|
1192
|
-
{
|
|
1193
|
-
scheme: 'bearer',
|
|
1194
|
-
type: 'http'
|
|
1195
|
-
}
|
|
1196
|
-
],
|
|
890
|
+
security: [],
|
|
1197
891
|
url: '/pending-image-shares',
|
|
1198
892
|
...options
|
|
1199
893
|
});
|
|
@@ -1205,12 +899,7 @@ exports.listPendingImageShares = listPendingImageShares;
|
|
|
1205
899
|
*/
|
|
1206
900
|
const acceptImageShare = (options) => {
|
|
1207
901
|
return (options.client ?? client_gen_1.client).post({
|
|
1208
|
-
security: [
|
|
1209
|
-
{
|
|
1210
|
-
scheme: 'bearer',
|
|
1211
|
-
type: 'http'
|
|
1212
|
-
}
|
|
1213
|
-
],
|
|
902
|
+
security: [],
|
|
1214
903
|
url: '/pending-image-shares/{pendingShareId}/accept',
|
|
1215
904
|
...options
|
|
1216
905
|
});
|
|
@@ -1222,12 +911,7 @@ exports.acceptImageShare = acceptImageShare;
|
|
|
1222
911
|
*/
|
|
1223
912
|
const declineImageShare = (options) => {
|
|
1224
913
|
return (options.client ?? client_gen_1.client).post({
|
|
1225
|
-
security: [
|
|
1226
|
-
{
|
|
1227
|
-
scheme: 'bearer',
|
|
1228
|
-
type: 'http'
|
|
1229
|
-
}
|
|
1230
|
-
],
|
|
914
|
+
security: [],
|
|
1231
915
|
url: '/pending-image-shares/{pendingShareId}/decline',
|
|
1232
916
|
...options
|
|
1233
917
|
});
|
|
@@ -1235,16 +919,11 @@ const declineImageShare = (options) => {
|
|
|
1235
919
|
exports.declineImageShare = declineImageShare;
|
|
1236
920
|
/**
|
|
1237
921
|
* List governance policies
|
|
1238
|
-
* Returns
|
|
922
|
+
* 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.
|
|
1239
923
|
*/
|
|
1240
924
|
const listPolicies = (options) => {
|
|
1241
925
|
return (options?.client ?? client_gen_1.client).get({
|
|
1242
|
-
security: [
|
|
1243
|
-
{
|
|
1244
|
-
scheme: 'bearer',
|
|
1245
|
-
type: 'http'
|
|
1246
|
-
}
|
|
1247
|
-
],
|
|
926
|
+
security: [],
|
|
1248
927
|
url: '/policies',
|
|
1249
928
|
...options
|
|
1250
929
|
});
|
|
@@ -1256,12 +935,7 @@ exports.listPolicies = listPolicies;
|
|
|
1256
935
|
*/
|
|
1257
936
|
const createPolicy = (options) => {
|
|
1258
937
|
return (options.client ?? client_gen_1.client).post({
|
|
1259
|
-
security: [
|
|
1260
|
-
{
|
|
1261
|
-
scheme: 'bearer',
|
|
1262
|
-
type: 'http'
|
|
1263
|
-
}
|
|
1264
|
-
],
|
|
938
|
+
security: [],
|
|
1265
939
|
url: '/policies',
|
|
1266
940
|
...options,
|
|
1267
941
|
headers: {
|
|
@@ -1277,12 +951,7 @@ exports.createPolicy = createPolicy;
|
|
|
1277
951
|
*/
|
|
1278
952
|
const deletePolicy = (options) => {
|
|
1279
953
|
return (options.client ?? client_gen_1.client).delete({
|
|
1280
|
-
security: [
|
|
1281
|
-
{
|
|
1282
|
-
scheme: 'bearer',
|
|
1283
|
-
type: 'http'
|
|
1284
|
-
}
|
|
1285
|
-
],
|
|
954
|
+
security: [],
|
|
1286
955
|
url: '/policies/{policyName}',
|
|
1287
956
|
...options
|
|
1288
957
|
});
|
|
@@ -1294,12 +963,7 @@ exports.deletePolicy = deletePolicy;
|
|
|
1294
963
|
*/
|
|
1295
964
|
const getPolicy = (options) => {
|
|
1296
965
|
return (options.client ?? client_gen_1.client).get({
|
|
1297
|
-
security: [
|
|
1298
|
-
{
|
|
1299
|
-
scheme: 'bearer',
|
|
1300
|
-
type: 'http'
|
|
1301
|
-
}
|
|
1302
|
-
],
|
|
966
|
+
security: [],
|
|
1303
967
|
url: '/policies/{policyName}',
|
|
1304
968
|
...options
|
|
1305
969
|
});
|
|
@@ -1311,12 +975,7 @@ exports.getPolicy = getPolicy;
|
|
|
1311
975
|
*/
|
|
1312
976
|
const updatePolicy = (options) => {
|
|
1313
977
|
return (options.client ?? client_gen_1.client).put({
|
|
1314
|
-
security: [
|
|
1315
|
-
{
|
|
1316
|
-
scheme: 'bearer',
|
|
1317
|
-
type: 'http'
|
|
1318
|
-
}
|
|
1319
|
-
],
|
|
978
|
+
security: [],
|
|
1320
979
|
url: '/policies/{policyName}',
|
|
1321
980
|
...options,
|
|
1322
981
|
headers: {
|
|
@@ -1326,18 +985,25 @@ const updatePolicy = (options) => {
|
|
|
1326
985
|
});
|
|
1327
986
|
};
|
|
1328
987
|
exports.updatePolicy = updatePolicy;
|
|
988
|
+
/**
|
|
989
|
+
* List resources using a policy
|
|
990
|
+
* 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.
|
|
991
|
+
*/
|
|
992
|
+
const getPolicyUsages = (options) => {
|
|
993
|
+
return (options.client ?? client_gen_1.client).get({
|
|
994
|
+
security: [],
|
|
995
|
+
url: '/policies/{policyName}/usages',
|
|
996
|
+
...options
|
|
997
|
+
});
|
|
998
|
+
};
|
|
999
|
+
exports.getPolicyUsages = getPolicyUsages;
|
|
1329
1000
|
/**
|
|
1330
1001
|
* List public ips
|
|
1331
1002
|
* Returns a list of all public ips used in Blaxel..
|
|
1332
1003
|
*/
|
|
1333
1004
|
const listPublicIps = (options) => {
|
|
1334
1005
|
return (options?.client ?? client_gen_1.client).get({
|
|
1335
|
-
security: [
|
|
1336
|
-
{
|
|
1337
|
-
scheme: 'bearer',
|
|
1338
|
-
type: 'http'
|
|
1339
|
-
}
|
|
1340
|
-
],
|
|
1006
|
+
security: [],
|
|
1341
1007
|
url: '/publicIps',
|
|
1342
1008
|
...options
|
|
1343
1009
|
});
|
|
@@ -1349,12 +1015,7 @@ exports.listPublicIps = listPublicIps;
|
|
|
1349
1015
|
*/
|
|
1350
1016
|
const listSandboxHubDefinitions = (options) => {
|
|
1351
1017
|
return (options?.client ?? client_gen_1.client).get({
|
|
1352
|
-
security: [
|
|
1353
|
-
{
|
|
1354
|
-
scheme: 'bearer',
|
|
1355
|
-
type: 'http'
|
|
1356
|
-
}
|
|
1357
|
-
],
|
|
1018
|
+
security: [],
|
|
1358
1019
|
url: '/sandbox/hub',
|
|
1359
1020
|
...options
|
|
1360
1021
|
});
|
|
@@ -1362,16 +1023,11 @@ const listSandboxHubDefinitions = (options) => {
|
|
|
1362
1023
|
exports.listSandboxHubDefinitions = listSandboxHubDefinitions;
|
|
1363
1024
|
/**
|
|
1364
1025
|
* List sandboxes
|
|
1365
|
-
* Returns
|
|
1026
|
+
* 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.
|
|
1366
1027
|
*/
|
|
1367
1028
|
const listSandboxes = (options) => {
|
|
1368
1029
|
return (options?.client ?? client_gen_1.client).get({
|
|
1369
|
-
security: [
|
|
1370
|
-
{
|
|
1371
|
-
scheme: 'bearer',
|
|
1372
|
-
type: 'http'
|
|
1373
|
-
}
|
|
1374
|
-
],
|
|
1030
|
+
security: [],
|
|
1375
1031
|
url: '/sandboxes',
|
|
1376
1032
|
...options
|
|
1377
1033
|
});
|
|
@@ -1383,12 +1039,7 @@ exports.listSandboxes = listSandboxes;
|
|
|
1383
1039
|
*/
|
|
1384
1040
|
const createSandbox = (options) => {
|
|
1385
1041
|
return (options.client ?? client_gen_1.client).post({
|
|
1386
|
-
security: [
|
|
1387
|
-
{
|
|
1388
|
-
scheme: 'bearer',
|
|
1389
|
-
type: 'http'
|
|
1390
|
-
}
|
|
1391
|
-
],
|
|
1042
|
+
security: [],
|
|
1392
1043
|
url: '/sandboxes',
|
|
1393
1044
|
...options,
|
|
1394
1045
|
headers: {
|
|
@@ -1404,12 +1055,7 @@ exports.createSandbox = createSandbox;
|
|
|
1404
1055
|
*/
|
|
1405
1056
|
const deleteSandbox = (options) => {
|
|
1406
1057
|
return (options.client ?? client_gen_1.client).delete({
|
|
1407
|
-
security: [
|
|
1408
|
-
{
|
|
1409
|
-
scheme: 'bearer',
|
|
1410
|
-
type: 'http'
|
|
1411
|
-
}
|
|
1412
|
-
],
|
|
1058
|
+
security: [],
|
|
1413
1059
|
url: '/sandboxes/{sandboxName}',
|
|
1414
1060
|
...options
|
|
1415
1061
|
});
|
|
@@ -1421,12 +1067,7 @@ exports.deleteSandbox = deleteSandbox;
|
|
|
1421
1067
|
*/
|
|
1422
1068
|
const getSandbox = (options) => {
|
|
1423
1069
|
return (options.client ?? client_gen_1.client).get({
|
|
1424
|
-
security: [
|
|
1425
|
-
{
|
|
1426
|
-
scheme: 'bearer',
|
|
1427
|
-
type: 'http'
|
|
1428
|
-
}
|
|
1429
|
-
],
|
|
1070
|
+
security: [],
|
|
1430
1071
|
url: '/sandboxes/{sandboxName}',
|
|
1431
1072
|
...options
|
|
1432
1073
|
});
|
|
@@ -1438,12 +1079,7 @@ exports.getSandbox = getSandbox;
|
|
|
1438
1079
|
*/
|
|
1439
1080
|
const updateSandbox = (options) => {
|
|
1440
1081
|
return (options.client ?? client_gen_1.client).put({
|
|
1441
|
-
security: [
|
|
1442
|
-
{
|
|
1443
|
-
scheme: 'bearer',
|
|
1444
|
-
type: 'http'
|
|
1445
|
-
}
|
|
1446
|
-
],
|
|
1082
|
+
security: [],
|
|
1447
1083
|
url: '/sandboxes/{sandboxName}',
|
|
1448
1084
|
...options,
|
|
1449
1085
|
headers: {
|
|
@@ -1454,17 +1090,12 @@ const updateSandbox = (options) => {
|
|
|
1454
1090
|
};
|
|
1455
1091
|
exports.updateSandbox = updateSandbox;
|
|
1456
1092
|
/**
|
|
1457
|
-
* List
|
|
1093
|
+
* List Sandbox Previews
|
|
1458
1094
|
* Returns a list of Sandbox Previews in the workspace.
|
|
1459
1095
|
*/
|
|
1460
1096
|
const listSandboxPreviews = (options) => {
|
|
1461
1097
|
return (options.client ?? client_gen_1.client).get({
|
|
1462
|
-
security: [
|
|
1463
|
-
{
|
|
1464
|
-
scheme: 'bearer',
|
|
1465
|
-
type: 'http'
|
|
1466
|
-
}
|
|
1467
|
-
],
|
|
1098
|
+
security: [],
|
|
1468
1099
|
url: '/sandboxes/{sandboxName}/previews',
|
|
1469
1100
|
...options
|
|
1470
1101
|
});
|
|
@@ -1476,12 +1107,7 @@ exports.listSandboxPreviews = listSandboxPreviews;
|
|
|
1476
1107
|
*/
|
|
1477
1108
|
const createSandboxPreview = (options) => {
|
|
1478
1109
|
return (options.client ?? client_gen_1.client).post({
|
|
1479
|
-
security: [
|
|
1480
|
-
{
|
|
1481
|
-
scheme: 'bearer',
|
|
1482
|
-
type: 'http'
|
|
1483
|
-
}
|
|
1484
|
-
],
|
|
1110
|
+
security: [],
|
|
1485
1111
|
url: '/sandboxes/{sandboxName}/previews',
|
|
1486
1112
|
...options,
|
|
1487
1113
|
headers: {
|
|
@@ -1497,12 +1123,7 @@ exports.createSandboxPreview = createSandboxPreview;
|
|
|
1497
1123
|
*/
|
|
1498
1124
|
const deleteSandboxPreview = (options) => {
|
|
1499
1125
|
return (options.client ?? client_gen_1.client).delete({
|
|
1500
|
-
security: [
|
|
1501
|
-
{
|
|
1502
|
-
scheme: 'bearer',
|
|
1503
|
-
type: 'http'
|
|
1504
|
-
}
|
|
1505
|
-
],
|
|
1126
|
+
security: [],
|
|
1506
1127
|
url: '/sandboxes/{sandboxName}/previews/{previewName}',
|
|
1507
1128
|
...options
|
|
1508
1129
|
});
|
|
@@ -1514,12 +1135,7 @@ exports.deleteSandboxPreview = deleteSandboxPreview;
|
|
|
1514
1135
|
*/
|
|
1515
1136
|
const getSandboxPreview = (options) => {
|
|
1516
1137
|
return (options.client ?? client_gen_1.client).get({
|
|
1517
|
-
security: [
|
|
1518
|
-
{
|
|
1519
|
-
scheme: 'bearer',
|
|
1520
|
-
type: 'http'
|
|
1521
|
-
}
|
|
1522
|
-
],
|
|
1138
|
+
security: [],
|
|
1523
1139
|
url: '/sandboxes/{sandboxName}/previews/{previewName}',
|
|
1524
1140
|
...options
|
|
1525
1141
|
});
|
|
@@ -1531,12 +1147,7 @@ exports.getSandboxPreview = getSandboxPreview;
|
|
|
1531
1147
|
*/
|
|
1532
1148
|
const updateSandboxPreview = (options) => {
|
|
1533
1149
|
return (options.client ?? client_gen_1.client).put({
|
|
1534
|
-
security: [
|
|
1535
|
-
{
|
|
1536
|
-
scheme: 'bearer',
|
|
1537
|
-
type: 'http'
|
|
1538
|
-
}
|
|
1539
|
-
],
|
|
1150
|
+
security: [],
|
|
1540
1151
|
url: '/sandboxes/{sandboxName}/previews/{previewName}',
|
|
1541
1152
|
...options,
|
|
1542
1153
|
headers: {
|
|
@@ -1552,12 +1163,7 @@ exports.updateSandboxPreview = updateSandboxPreview;
|
|
|
1552
1163
|
*/
|
|
1553
1164
|
const listSandboxPreviewTokens = (options) => {
|
|
1554
1165
|
return (options.client ?? client_gen_1.client).get({
|
|
1555
|
-
security: [
|
|
1556
|
-
{
|
|
1557
|
-
scheme: 'bearer',
|
|
1558
|
-
type: 'http'
|
|
1559
|
-
}
|
|
1560
|
-
],
|
|
1166
|
+
security: [],
|
|
1561
1167
|
url: '/sandboxes/{sandboxName}/previews/{previewName}/tokens',
|
|
1562
1168
|
...options
|
|
1563
1169
|
});
|
|
@@ -1569,12 +1175,7 @@ exports.listSandboxPreviewTokens = listSandboxPreviewTokens;
|
|
|
1569
1175
|
*/
|
|
1570
1176
|
const createSandboxPreviewToken = (options) => {
|
|
1571
1177
|
return (options.client ?? client_gen_1.client).post({
|
|
1572
|
-
security: [
|
|
1573
|
-
{
|
|
1574
|
-
scheme: 'bearer',
|
|
1575
|
-
type: 'http'
|
|
1576
|
-
}
|
|
1577
|
-
],
|
|
1178
|
+
security: [],
|
|
1578
1179
|
url: '/sandboxes/{sandboxName}/previews/{previewName}/tokens',
|
|
1579
1180
|
...options,
|
|
1580
1181
|
headers: {
|
|
@@ -1590,29 +1191,31 @@ exports.createSandboxPreviewToken = createSandboxPreviewToken;
|
|
|
1590
1191
|
*/
|
|
1591
1192
|
const deleteSandboxPreviewToken = (options) => {
|
|
1592
1193
|
return (options.client ?? client_gen_1.client).delete({
|
|
1593
|
-
security: [
|
|
1594
|
-
{
|
|
1595
|
-
scheme: 'bearer',
|
|
1596
|
-
type: 'http'
|
|
1597
|
-
}
|
|
1598
|
-
],
|
|
1194
|
+
security: [],
|
|
1599
1195
|
url: '/sandboxes/{sandboxName}/previews/{previewName}/tokens/{tokenName}',
|
|
1600
1196
|
...options
|
|
1601
1197
|
});
|
|
1602
1198
|
};
|
|
1603
1199
|
exports.deleteSandboxPreviewToken = deleteSandboxPreviewToken;
|
|
1200
|
+
/**
|
|
1201
|
+
* Get sandbox by external ID
|
|
1202
|
+
* Returns the most recent non-terminated sandbox matching the given external ID. If no active sandbox is found, returns 404.
|
|
1203
|
+
*/
|
|
1204
|
+
const getSandboxByExternalId = (options) => {
|
|
1205
|
+
return (options.client ?? client_gen_1.client).get({
|
|
1206
|
+
security: [],
|
|
1207
|
+
url: '/sandboxes/by-external-id/{externalId}',
|
|
1208
|
+
...options
|
|
1209
|
+
});
|
|
1210
|
+
};
|
|
1211
|
+
exports.getSandboxByExternalId = getSandboxByExternalId;
|
|
1604
1212
|
/**
|
|
1605
1213
|
* List service accounts
|
|
1606
1214
|
* Returns all service accounts in the workspace. Service accounts are machine identities for external systems to authenticate with Blaxel via OAuth or API keys.
|
|
1607
1215
|
*/
|
|
1608
1216
|
const getWorkspaceServiceAccounts = (options) => {
|
|
1609
1217
|
return (options?.client ?? client_gen_1.client).get({
|
|
1610
|
-
security: [
|
|
1611
|
-
{
|
|
1612
|
-
scheme: 'bearer',
|
|
1613
|
-
type: 'http'
|
|
1614
|
-
}
|
|
1615
|
-
],
|
|
1218
|
+
security: [],
|
|
1616
1219
|
url: '/service_accounts',
|
|
1617
1220
|
...options
|
|
1618
1221
|
});
|
|
@@ -1624,12 +1227,7 @@ exports.getWorkspaceServiceAccounts = getWorkspaceServiceAccounts;
|
|
|
1624
1227
|
*/
|
|
1625
1228
|
const createWorkspaceServiceAccount = (options) => {
|
|
1626
1229
|
return (options.client ?? client_gen_1.client).post({
|
|
1627
|
-
security: [
|
|
1628
|
-
{
|
|
1629
|
-
scheme: 'bearer',
|
|
1630
|
-
type: 'http'
|
|
1631
|
-
}
|
|
1632
|
-
],
|
|
1230
|
+
security: [],
|
|
1633
1231
|
url: '/service_accounts',
|
|
1634
1232
|
...options,
|
|
1635
1233
|
headers: {
|
|
@@ -1645,12 +1243,7 @@ exports.createWorkspaceServiceAccount = createWorkspaceServiceAccount;
|
|
|
1645
1243
|
*/
|
|
1646
1244
|
const deleteWorkspaceServiceAccount = (options) => {
|
|
1647
1245
|
return (options.client ?? client_gen_1.client).delete({
|
|
1648
|
-
security: [
|
|
1649
|
-
{
|
|
1650
|
-
scheme: 'bearer',
|
|
1651
|
-
type: 'http'
|
|
1652
|
-
}
|
|
1653
|
-
],
|
|
1246
|
+
security: [],
|
|
1654
1247
|
url: '/service_accounts/{clientId}',
|
|
1655
1248
|
...options
|
|
1656
1249
|
});
|
|
@@ -1662,12 +1255,7 @@ exports.deleteWorkspaceServiceAccount = deleteWorkspaceServiceAccount;
|
|
|
1662
1255
|
*/
|
|
1663
1256
|
const updateWorkspaceServiceAccount = (options) => {
|
|
1664
1257
|
return (options.client ?? client_gen_1.client).put({
|
|
1665
|
-
security: [
|
|
1666
|
-
{
|
|
1667
|
-
scheme: 'bearer',
|
|
1668
|
-
type: 'http'
|
|
1669
|
-
}
|
|
1670
|
-
],
|
|
1258
|
+
security: [],
|
|
1671
1259
|
url: '/service_accounts/{clientId}',
|
|
1672
1260
|
...options,
|
|
1673
1261
|
headers: {
|
|
@@ -1683,12 +1271,7 @@ exports.updateWorkspaceServiceAccount = updateWorkspaceServiceAccount;
|
|
|
1683
1271
|
*/
|
|
1684
1272
|
const listApiKeysForServiceAccount = (options) => {
|
|
1685
1273
|
return (options.client ?? client_gen_1.client).get({
|
|
1686
|
-
security: [
|
|
1687
|
-
{
|
|
1688
|
-
scheme: 'bearer',
|
|
1689
|
-
type: 'http'
|
|
1690
|
-
}
|
|
1691
|
-
],
|
|
1274
|
+
security: [],
|
|
1692
1275
|
url: '/service_accounts/{clientId}/api_keys',
|
|
1693
1276
|
...options
|
|
1694
1277
|
});
|
|
@@ -1700,12 +1283,7 @@ exports.listApiKeysForServiceAccount = listApiKeysForServiceAccount;
|
|
|
1700
1283
|
*/
|
|
1701
1284
|
const createApiKeyForServiceAccount = (options) => {
|
|
1702
1285
|
return (options.client ?? client_gen_1.client).post({
|
|
1703
|
-
security: [
|
|
1704
|
-
{
|
|
1705
|
-
scheme: 'bearer',
|
|
1706
|
-
type: 'http'
|
|
1707
|
-
}
|
|
1708
|
-
],
|
|
1286
|
+
security: [],
|
|
1709
1287
|
url: '/service_accounts/{clientId}/api_keys',
|
|
1710
1288
|
...options,
|
|
1711
1289
|
headers: {
|
|
@@ -1721,12 +1299,7 @@ exports.createApiKeyForServiceAccount = createApiKeyForServiceAccount;
|
|
|
1721
1299
|
*/
|
|
1722
1300
|
const deleteApiKeyForServiceAccount = (options) => {
|
|
1723
1301
|
return (options.client ?? client_gen_1.client).delete({
|
|
1724
|
-
security: [
|
|
1725
|
-
{
|
|
1726
|
-
scheme: 'bearer',
|
|
1727
|
-
type: 'http'
|
|
1728
|
-
}
|
|
1729
|
-
],
|
|
1302
|
+
security: [],
|
|
1730
1303
|
url: '/service_accounts/{clientId}/api_keys/{apiKeyId}',
|
|
1731
1304
|
...options
|
|
1732
1305
|
});
|
|
@@ -1738,12 +1311,7 @@ exports.deleteApiKeyForServiceAccount = deleteApiKeyForServiceAccount;
|
|
|
1738
1311
|
*/
|
|
1739
1312
|
const listTemplates = (options) => {
|
|
1740
1313
|
return (options?.client ?? client_gen_1.client).get({
|
|
1741
|
-
security: [
|
|
1742
|
-
{
|
|
1743
|
-
scheme: 'bearer',
|
|
1744
|
-
type: 'http'
|
|
1745
|
-
}
|
|
1746
|
-
],
|
|
1314
|
+
security: [],
|
|
1747
1315
|
url: '/templates',
|
|
1748
1316
|
...options
|
|
1749
1317
|
});
|
|
@@ -1755,12 +1323,7 @@ exports.listTemplates = listTemplates;
|
|
|
1755
1323
|
*/
|
|
1756
1324
|
const getTemplate = (options) => {
|
|
1757
1325
|
return (options.client ?? client_gen_1.client).get({
|
|
1758
|
-
security: [
|
|
1759
|
-
{
|
|
1760
|
-
scheme: 'bearer',
|
|
1761
|
-
type: 'http'
|
|
1762
|
-
}
|
|
1763
|
-
],
|
|
1326
|
+
security: [],
|
|
1764
1327
|
url: '/templates/{templateName}',
|
|
1765
1328
|
...options
|
|
1766
1329
|
});
|
|
@@ -1772,12 +1335,7 @@ exports.getTemplate = getTemplate;
|
|
|
1772
1335
|
*/
|
|
1773
1336
|
const listWorkspaceUsers = (options) => {
|
|
1774
1337
|
return (options?.client ?? client_gen_1.client).get({
|
|
1775
|
-
security: [
|
|
1776
|
-
{
|
|
1777
|
-
scheme: 'bearer',
|
|
1778
|
-
type: 'http'
|
|
1779
|
-
}
|
|
1780
|
-
],
|
|
1338
|
+
security: [],
|
|
1781
1339
|
url: '/users',
|
|
1782
1340
|
...options
|
|
1783
1341
|
});
|
|
@@ -1789,12 +1347,7 @@ exports.listWorkspaceUsers = listWorkspaceUsers;
|
|
|
1789
1347
|
*/
|
|
1790
1348
|
const inviteWorkspaceUser = (options) => {
|
|
1791
1349
|
return (options.client ?? client_gen_1.client).post({
|
|
1792
|
-
security: [
|
|
1793
|
-
{
|
|
1794
|
-
scheme: 'bearer',
|
|
1795
|
-
type: 'http'
|
|
1796
|
-
}
|
|
1797
|
-
],
|
|
1350
|
+
security: [],
|
|
1798
1351
|
url: '/users',
|
|
1799
1352
|
...options,
|
|
1800
1353
|
headers: {
|
|
@@ -1810,12 +1363,7 @@ exports.inviteWorkspaceUser = inviteWorkspaceUser;
|
|
|
1810
1363
|
*/
|
|
1811
1364
|
const removeWorkspaceUser = (options) => {
|
|
1812
1365
|
return (options.client ?? client_gen_1.client).delete({
|
|
1813
|
-
security: [
|
|
1814
|
-
{
|
|
1815
|
-
scheme: 'bearer',
|
|
1816
|
-
type: 'http'
|
|
1817
|
-
}
|
|
1818
|
-
],
|
|
1366
|
+
security: [],
|
|
1819
1367
|
url: '/users/{subOrEmail}',
|
|
1820
1368
|
...options
|
|
1821
1369
|
});
|
|
@@ -1827,12 +1375,7 @@ exports.removeWorkspaceUser = removeWorkspaceUser;
|
|
|
1827
1375
|
*/
|
|
1828
1376
|
const updateWorkspaceUserRole = (options) => {
|
|
1829
1377
|
return (options.client ?? client_gen_1.client).put({
|
|
1830
|
-
security: [
|
|
1831
|
-
{
|
|
1832
|
-
scheme: 'bearer',
|
|
1833
|
-
type: 'http'
|
|
1834
|
-
}
|
|
1835
|
-
],
|
|
1378
|
+
security: [],
|
|
1836
1379
|
url: '/users/{subOrEmail}',
|
|
1837
1380
|
...options,
|
|
1838
1381
|
headers: {
|
|
@@ -1848,12 +1391,7 @@ exports.updateWorkspaceUserRole = updateWorkspaceUserRole;
|
|
|
1848
1391
|
*/
|
|
1849
1392
|
const listVolumeTemplates = (options) => {
|
|
1850
1393
|
return (options?.client ?? client_gen_1.client).get({
|
|
1851
|
-
security: [
|
|
1852
|
-
{
|
|
1853
|
-
scheme: 'bearer',
|
|
1854
|
-
type: 'http'
|
|
1855
|
-
}
|
|
1856
|
-
],
|
|
1394
|
+
security: [],
|
|
1857
1395
|
url: '/volume_templates',
|
|
1858
1396
|
...options
|
|
1859
1397
|
});
|
|
@@ -1865,12 +1403,7 @@ exports.listVolumeTemplates = listVolumeTemplates;
|
|
|
1865
1403
|
*/
|
|
1866
1404
|
const createVolumeTemplate = (options) => {
|
|
1867
1405
|
return (options.client ?? client_gen_1.client).post({
|
|
1868
|
-
security: [
|
|
1869
|
-
{
|
|
1870
|
-
scheme: 'bearer',
|
|
1871
|
-
type: 'http'
|
|
1872
|
-
}
|
|
1873
|
-
],
|
|
1406
|
+
security: [],
|
|
1874
1407
|
url: '/volume_templates',
|
|
1875
1408
|
...options,
|
|
1876
1409
|
headers: {
|
|
@@ -1886,12 +1419,7 @@ exports.createVolumeTemplate = createVolumeTemplate;
|
|
|
1886
1419
|
*/
|
|
1887
1420
|
const deleteVolumeTemplate = (options) => {
|
|
1888
1421
|
return (options.client ?? client_gen_1.client).delete({
|
|
1889
|
-
security: [
|
|
1890
|
-
{
|
|
1891
|
-
scheme: 'bearer',
|
|
1892
|
-
type: 'http'
|
|
1893
|
-
}
|
|
1894
|
-
],
|
|
1422
|
+
security: [],
|
|
1895
1423
|
url: '/volume_templates/{volumeTemplateName}',
|
|
1896
1424
|
...options
|
|
1897
1425
|
});
|
|
@@ -1903,12 +1431,7 @@ exports.deleteVolumeTemplate = deleteVolumeTemplate;
|
|
|
1903
1431
|
*/
|
|
1904
1432
|
const getVolumeTemplate = (options) => {
|
|
1905
1433
|
return (options.client ?? client_gen_1.client).get({
|
|
1906
|
-
security: [
|
|
1907
|
-
{
|
|
1908
|
-
scheme: 'bearer',
|
|
1909
|
-
type: 'http'
|
|
1910
|
-
}
|
|
1911
|
-
],
|
|
1434
|
+
security: [],
|
|
1912
1435
|
url: '/volume_templates/{volumeTemplateName}',
|
|
1913
1436
|
...options
|
|
1914
1437
|
});
|
|
@@ -1920,12 +1443,7 @@ exports.getVolumeTemplate = getVolumeTemplate;
|
|
|
1920
1443
|
*/
|
|
1921
1444
|
const updateVolumeTemplate = (options) => {
|
|
1922
1445
|
return (options.client ?? client_gen_1.client).put({
|
|
1923
|
-
security: [
|
|
1924
|
-
{
|
|
1925
|
-
scheme: 'bearer',
|
|
1926
|
-
type: 'http'
|
|
1927
|
-
}
|
|
1928
|
-
],
|
|
1446
|
+
security: [],
|
|
1929
1447
|
url: '/volume_templates/{volumeTemplateName}',
|
|
1930
1448
|
...options,
|
|
1931
1449
|
headers: {
|
|
@@ -1941,12 +1459,7 @@ exports.updateVolumeTemplate = updateVolumeTemplate;
|
|
|
1941
1459
|
*/
|
|
1942
1460
|
const deleteVolumeTemplateVersion = (options) => {
|
|
1943
1461
|
return (options.client ?? client_gen_1.client).delete({
|
|
1944
|
-
security: [
|
|
1945
|
-
{
|
|
1946
|
-
scheme: 'bearer',
|
|
1947
|
-
type: 'http'
|
|
1948
|
-
}
|
|
1949
|
-
],
|
|
1462
|
+
security: [],
|
|
1950
1463
|
url: '/volume_templates/{volumeTemplateName}/versions/{versionName}',
|
|
1951
1464
|
...options
|
|
1952
1465
|
});
|
|
@@ -1954,16 +1467,11 @@ const deleteVolumeTemplateVersion = (options) => {
|
|
|
1954
1467
|
exports.deleteVolumeTemplateVersion = deleteVolumeTemplateVersion;
|
|
1955
1468
|
/**
|
|
1956
1469
|
* List persistent volumes
|
|
1957
|
-
* Returns
|
|
1470
|
+
* 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.
|
|
1958
1471
|
*/
|
|
1959
1472
|
const listVolumes = (options) => {
|
|
1960
1473
|
return (options?.client ?? client_gen_1.client).get({
|
|
1961
|
-
security: [
|
|
1962
|
-
{
|
|
1963
|
-
scheme: 'bearer',
|
|
1964
|
-
type: 'http'
|
|
1965
|
-
}
|
|
1966
|
-
],
|
|
1474
|
+
security: [],
|
|
1967
1475
|
url: '/volumes',
|
|
1968
1476
|
...options
|
|
1969
1477
|
});
|
|
@@ -1975,12 +1483,7 @@ exports.listVolumes = listVolumes;
|
|
|
1975
1483
|
*/
|
|
1976
1484
|
const createVolume = (options) => {
|
|
1977
1485
|
return (options.client ?? client_gen_1.client).post({
|
|
1978
|
-
security: [
|
|
1979
|
-
{
|
|
1980
|
-
scheme: 'bearer',
|
|
1981
|
-
type: 'http'
|
|
1982
|
-
}
|
|
1983
|
-
],
|
|
1486
|
+
security: [],
|
|
1984
1487
|
url: '/volumes',
|
|
1985
1488
|
...options,
|
|
1986
1489
|
headers: {
|
|
@@ -1996,12 +1499,7 @@ exports.createVolume = createVolume;
|
|
|
1996
1499
|
*/
|
|
1997
1500
|
const deleteVolume = (options) => {
|
|
1998
1501
|
return (options.client ?? client_gen_1.client).delete({
|
|
1999
|
-
security: [
|
|
2000
|
-
{
|
|
2001
|
-
scheme: 'bearer',
|
|
2002
|
-
type: 'http'
|
|
2003
|
-
}
|
|
2004
|
-
],
|
|
1502
|
+
security: [],
|
|
2005
1503
|
url: '/volumes/{volumeName}',
|
|
2006
1504
|
...options
|
|
2007
1505
|
});
|
|
@@ -2013,12 +1511,7 @@ exports.deleteVolume = deleteVolume;
|
|
|
2013
1511
|
*/
|
|
2014
1512
|
const getVolume = (options) => {
|
|
2015
1513
|
return (options.client ?? client_gen_1.client).get({
|
|
2016
|
-
security: [
|
|
2017
|
-
{
|
|
2018
|
-
scheme: 'bearer',
|
|
2019
|
-
type: 'http'
|
|
2020
|
-
}
|
|
2021
|
-
],
|
|
1514
|
+
security: [],
|
|
2022
1515
|
url: '/volumes/{volumeName}',
|
|
2023
1516
|
...options
|
|
2024
1517
|
});
|
|
@@ -2030,12 +1523,7 @@ exports.getVolume = getVolume;
|
|
|
2030
1523
|
*/
|
|
2031
1524
|
const updateVolume = (options) => {
|
|
2032
1525
|
return (options.client ?? client_gen_1.client).put({
|
|
2033
|
-
security: [
|
|
2034
|
-
{
|
|
2035
|
-
scheme: 'bearer',
|
|
2036
|
-
type: 'http'
|
|
2037
|
-
}
|
|
2038
|
-
],
|
|
1526
|
+
security: [],
|
|
2039
1527
|
url: '/volumes/{volumeName}',
|
|
2040
1528
|
...options,
|
|
2041
1529
|
headers: {
|
|
@@ -2050,12 +1538,7 @@ exports.updateVolume = updateVolume;
|
|
|
2050
1538
|
*/
|
|
2051
1539
|
const listVpcs = (options) => {
|
|
2052
1540
|
return (options?.client ?? client_gen_1.client).get({
|
|
2053
|
-
security: [
|
|
2054
|
-
{
|
|
2055
|
-
scheme: 'bearer',
|
|
2056
|
-
type: 'http'
|
|
2057
|
-
}
|
|
2058
|
-
],
|
|
1541
|
+
security: [],
|
|
2059
1542
|
url: '/vpcs',
|
|
2060
1543
|
...options
|
|
2061
1544
|
});
|
|
@@ -2066,12 +1549,7 @@ exports.listVpcs = listVpcs;
|
|
|
2066
1549
|
*/
|
|
2067
1550
|
const createVpc = (options) => {
|
|
2068
1551
|
return (options.client ?? client_gen_1.client).post({
|
|
2069
|
-
security: [
|
|
2070
|
-
{
|
|
2071
|
-
scheme: 'bearer',
|
|
2072
|
-
type: 'http'
|
|
2073
|
-
}
|
|
2074
|
-
],
|
|
1552
|
+
security: [],
|
|
2075
1553
|
url: '/vpcs',
|
|
2076
1554
|
...options,
|
|
2077
1555
|
headers: {
|
|
@@ -2086,12 +1564,7 @@ exports.createVpc = createVpc;
|
|
|
2086
1564
|
*/
|
|
2087
1565
|
const deleteVpc = (options) => {
|
|
2088
1566
|
return (options.client ?? client_gen_1.client).delete({
|
|
2089
|
-
security: [
|
|
2090
|
-
{
|
|
2091
|
-
scheme: 'bearer',
|
|
2092
|
-
type: 'http'
|
|
2093
|
-
}
|
|
2094
|
-
],
|
|
1567
|
+
security: [],
|
|
2095
1568
|
url: '/vpcs/{vpcName}',
|
|
2096
1569
|
...options
|
|
2097
1570
|
});
|
|
@@ -2102,12 +1575,7 @@ exports.deleteVpc = deleteVpc;
|
|
|
2102
1575
|
*/
|
|
2103
1576
|
const getVpc = (options) => {
|
|
2104
1577
|
return (options.client ?? client_gen_1.client).get({
|
|
2105
|
-
security: [
|
|
2106
|
-
{
|
|
2107
|
-
scheme: 'bearer',
|
|
2108
|
-
type: 'http'
|
|
2109
|
-
}
|
|
2110
|
-
],
|
|
1578
|
+
security: [],
|
|
2111
1579
|
url: '/vpcs/{vpcName}',
|
|
2112
1580
|
...options
|
|
2113
1581
|
});
|
|
@@ -2118,12 +1586,7 @@ exports.getVpc = getVpc;
|
|
|
2118
1586
|
*/
|
|
2119
1587
|
const listEgressGateways = (options) => {
|
|
2120
1588
|
return (options.client ?? client_gen_1.client).get({
|
|
2121
|
-
security: [
|
|
2122
|
-
{
|
|
2123
|
-
scheme: 'bearer',
|
|
2124
|
-
type: 'http'
|
|
2125
|
-
}
|
|
2126
|
-
],
|
|
1589
|
+
security: [],
|
|
2127
1590
|
url: '/vpcs/{vpcName}/egressgateways',
|
|
2128
1591
|
...options
|
|
2129
1592
|
});
|
|
@@ -2134,12 +1597,7 @@ exports.listEgressGateways = listEgressGateways;
|
|
|
2134
1597
|
*/
|
|
2135
1598
|
const createEgressGateway = (options) => {
|
|
2136
1599
|
return (options.client ?? client_gen_1.client).post({
|
|
2137
|
-
security: [
|
|
2138
|
-
{
|
|
2139
|
-
scheme: 'bearer',
|
|
2140
|
-
type: 'http'
|
|
2141
|
-
}
|
|
2142
|
-
],
|
|
1600
|
+
security: [],
|
|
2143
1601
|
url: '/vpcs/{vpcName}/egressgateways',
|
|
2144
1602
|
...options,
|
|
2145
1603
|
headers: {
|
|
@@ -2154,12 +1612,7 @@ exports.createEgressGateway = createEgressGateway;
|
|
|
2154
1612
|
*/
|
|
2155
1613
|
const deleteEgressGateway = (options) => {
|
|
2156
1614
|
return (options.client ?? client_gen_1.client).delete({
|
|
2157
|
-
security: [
|
|
2158
|
-
{
|
|
2159
|
-
scheme: 'bearer',
|
|
2160
|
-
type: 'http'
|
|
2161
|
-
}
|
|
2162
|
-
],
|
|
1615
|
+
security: [],
|
|
2163
1616
|
url: '/vpcs/{vpcName}/egressgateways/{gatewayName}',
|
|
2164
1617
|
...options
|
|
2165
1618
|
});
|
|
@@ -2170,12 +1623,7 @@ exports.deleteEgressGateway = deleteEgressGateway;
|
|
|
2170
1623
|
*/
|
|
2171
1624
|
const getEgressGateway = (options) => {
|
|
2172
1625
|
return (options.client ?? client_gen_1.client).get({
|
|
2173
|
-
security: [
|
|
2174
|
-
{
|
|
2175
|
-
scheme: 'bearer',
|
|
2176
|
-
type: 'http'
|
|
2177
|
-
}
|
|
2178
|
-
],
|
|
1626
|
+
security: [],
|
|
2179
1627
|
url: '/vpcs/{vpcName}/egressgateways/{gatewayName}',
|
|
2180
1628
|
...options
|
|
2181
1629
|
});
|
|
@@ -2186,12 +1634,7 @@ exports.getEgressGateway = getEgressGateway;
|
|
|
2186
1634
|
*/
|
|
2187
1635
|
const listEgressIps = (options) => {
|
|
2188
1636
|
return (options.client ?? client_gen_1.client).get({
|
|
2189
|
-
security: [
|
|
2190
|
-
{
|
|
2191
|
-
scheme: 'bearer',
|
|
2192
|
-
type: 'http'
|
|
2193
|
-
}
|
|
2194
|
-
],
|
|
1637
|
+
security: [],
|
|
2195
1638
|
url: '/vpcs/{vpcName}/egressgateways/{gatewayName}/ips',
|
|
2196
1639
|
...options
|
|
2197
1640
|
});
|
|
@@ -2202,12 +1645,7 @@ exports.listEgressIps = listEgressIps;
|
|
|
2202
1645
|
*/
|
|
2203
1646
|
const createEgressIp = (options) => {
|
|
2204
1647
|
return (options.client ?? client_gen_1.client).post({
|
|
2205
|
-
security: [
|
|
2206
|
-
{
|
|
2207
|
-
scheme: 'bearer',
|
|
2208
|
-
type: 'http'
|
|
2209
|
-
}
|
|
2210
|
-
],
|
|
1648
|
+
security: [],
|
|
2211
1649
|
url: '/vpcs/{vpcName}/egressgateways/{gatewayName}/ips',
|
|
2212
1650
|
...options,
|
|
2213
1651
|
headers: {
|
|
@@ -2222,12 +1660,7 @@ exports.createEgressIp = createEgressIp;
|
|
|
2222
1660
|
*/
|
|
2223
1661
|
const deleteEgressIp = (options) => {
|
|
2224
1662
|
return (options.client ?? client_gen_1.client).delete({
|
|
2225
|
-
security: [
|
|
2226
|
-
{
|
|
2227
|
-
scheme: 'bearer',
|
|
2228
|
-
type: 'http'
|
|
2229
|
-
}
|
|
2230
|
-
],
|
|
1663
|
+
security: [],
|
|
2231
1664
|
url: '/vpcs/{vpcName}/egressgateways/{gatewayName}/ips/{ipName}',
|
|
2232
1665
|
...options
|
|
2233
1666
|
});
|
|
@@ -2238,12 +1671,7 @@ exports.deleteEgressIp = deleteEgressIp;
|
|
|
2238
1671
|
*/
|
|
2239
1672
|
const getEgressIp = (options) => {
|
|
2240
1673
|
return (options.client ?? client_gen_1.client).get({
|
|
2241
|
-
security: [
|
|
2242
|
-
{
|
|
2243
|
-
scheme: 'bearer',
|
|
2244
|
-
type: 'http'
|
|
2245
|
-
}
|
|
2246
|
-
],
|
|
1674
|
+
security: [],
|
|
2247
1675
|
url: '/vpcs/{vpcName}/egressgateways/{gatewayName}/ips/{ipName}',
|
|
2248
1676
|
...options
|
|
2249
1677
|
});
|
|
@@ -2255,12 +1683,7 @@ exports.getEgressIp = getEgressIp;
|
|
|
2255
1683
|
*/
|
|
2256
1684
|
const listWorkspaces = (options) => {
|
|
2257
1685
|
return (options?.client ?? client_gen_1.client).get({
|
|
2258
|
-
security: [
|
|
2259
|
-
{
|
|
2260
|
-
scheme: 'bearer',
|
|
2261
|
-
type: 'http'
|
|
2262
|
-
}
|
|
2263
|
-
],
|
|
1686
|
+
security: [],
|
|
2264
1687
|
url: '/workspaces',
|
|
2265
1688
|
...options
|
|
2266
1689
|
});
|
|
@@ -2272,12 +1695,7 @@ exports.listWorkspaces = listWorkspaces;
|
|
|
2272
1695
|
*/
|
|
2273
1696
|
const createWorkspace = (options) => {
|
|
2274
1697
|
return (options.client ?? client_gen_1.client).post({
|
|
2275
|
-
security: [
|
|
2276
|
-
{
|
|
2277
|
-
scheme: 'bearer',
|
|
2278
|
-
type: 'http'
|
|
2279
|
-
}
|
|
2280
|
-
],
|
|
1698
|
+
security: [],
|
|
2281
1699
|
url: '/workspaces',
|
|
2282
1700
|
...options,
|
|
2283
1701
|
headers: {
|
|
@@ -2293,12 +1711,7 @@ exports.createWorkspace = createWorkspace;
|
|
|
2293
1711
|
*/
|
|
2294
1712
|
const deleteWorkspace = (options) => {
|
|
2295
1713
|
return (options.client ?? client_gen_1.client).delete({
|
|
2296
|
-
security: [
|
|
2297
|
-
{
|
|
2298
|
-
scheme: 'bearer',
|
|
2299
|
-
type: 'http'
|
|
2300
|
-
}
|
|
2301
|
-
],
|
|
1714
|
+
security: [],
|
|
2302
1715
|
url: '/workspaces/{workspaceName}',
|
|
2303
1716
|
...options
|
|
2304
1717
|
});
|
|
@@ -2310,12 +1723,7 @@ exports.deleteWorkspace = deleteWorkspace;
|
|
|
2310
1723
|
*/
|
|
2311
1724
|
const getWorkspace = (options) => {
|
|
2312
1725
|
return (options.client ?? client_gen_1.client).get({
|
|
2313
|
-
security: [
|
|
2314
|
-
{
|
|
2315
|
-
scheme: 'bearer',
|
|
2316
|
-
type: 'http'
|
|
2317
|
-
}
|
|
2318
|
-
],
|
|
1726
|
+
security: [],
|
|
2319
1727
|
url: '/workspaces/{workspaceName}',
|
|
2320
1728
|
...options
|
|
2321
1729
|
});
|
|
@@ -2327,12 +1735,7 @@ exports.getWorkspace = getWorkspace;
|
|
|
2327
1735
|
*/
|
|
2328
1736
|
const updateWorkspace = (options) => {
|
|
2329
1737
|
return (options.client ?? client_gen_1.client).put({
|
|
2330
|
-
security: [
|
|
2331
|
-
{
|
|
2332
|
-
scheme: 'bearer',
|
|
2333
|
-
type: 'http'
|
|
2334
|
-
}
|
|
2335
|
-
],
|
|
1738
|
+
security: [],
|
|
2336
1739
|
url: '/workspaces/{workspaceName}',
|
|
2337
1740
|
...options,
|
|
2338
1741
|
headers: {
|
|
@@ -2348,12 +1751,7 @@ exports.updateWorkspace = updateWorkspace;
|
|
|
2348
1751
|
*/
|
|
2349
1752
|
const declineWorkspaceInvitation = (options) => {
|
|
2350
1753
|
return (options.client ?? client_gen_1.client).post({
|
|
2351
|
-
security: [
|
|
2352
|
-
{
|
|
2353
|
-
scheme: 'bearer',
|
|
2354
|
-
type: 'http'
|
|
2355
|
-
}
|
|
2356
|
-
],
|
|
1754
|
+
security: [],
|
|
2357
1755
|
url: '/workspaces/{workspaceName}/decline',
|
|
2358
1756
|
...options
|
|
2359
1757
|
});
|
|
@@ -2365,12 +1763,7 @@ exports.declineWorkspaceInvitation = declineWorkspaceInvitation;
|
|
|
2365
1763
|
*/
|
|
2366
1764
|
const acceptWorkspaceInvitation = (options) => {
|
|
2367
1765
|
return (options.client ?? client_gen_1.client).post({
|
|
2368
|
-
security: [
|
|
2369
|
-
{
|
|
2370
|
-
scheme: 'bearer',
|
|
2371
|
-
type: 'http'
|
|
2372
|
-
}
|
|
2373
|
-
],
|
|
1766
|
+
security: [],
|
|
2374
1767
|
url: '/workspaces/{workspaceName}/join',
|
|
2375
1768
|
...options
|
|
2376
1769
|
});
|
|
@@ -2382,12 +1775,7 @@ exports.acceptWorkspaceInvitation = acceptWorkspaceInvitation;
|
|
|
2382
1775
|
*/
|
|
2383
1776
|
const leaveWorkspace = (options) => {
|
|
2384
1777
|
return (options.client ?? client_gen_1.client).delete({
|
|
2385
|
-
security: [
|
|
2386
|
-
{
|
|
2387
|
-
scheme: 'bearer',
|
|
2388
|
-
type: 'http'
|
|
2389
|
-
}
|
|
2390
|
-
],
|
|
1778
|
+
security: [],
|
|
2391
1779
|
url: '/workspaces/{workspaceName}/leave',
|
|
2392
1780
|
...options
|
|
2393
1781
|
});
|
|
@@ -2399,12 +1787,7 @@ exports.leaveWorkspace = leaveWorkspace;
|
|
|
2399
1787
|
*/
|
|
2400
1788
|
const checkWorkspaceAvailability = (options) => {
|
|
2401
1789
|
return (options.client ?? client_gen_1.client).post({
|
|
2402
|
-
security: [
|
|
2403
|
-
{
|
|
2404
|
-
scheme: 'bearer',
|
|
2405
|
-
type: 'http'
|
|
2406
|
-
}
|
|
2407
|
-
],
|
|
1790
|
+
security: [],
|
|
2408
1791
|
url: '/workspaces/availability',
|
|
2409
1792
|
...options,
|
|
2410
1793
|
headers: {
|