cyberdesk 1.11.0 → 2.1.0
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/client/sdk.gen.d.ts +83 -37
- package/dist/client/sdk.gen.js +165 -38
- package/dist/client/types.gen.d.ts +292 -5
- package/dist/index.d.ts +144 -2
- package/dist/index.js +151 -0
- package/package.json +1 -1
package/dist/client/sdk.gen.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
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.rootGet = exports.dummyTestEndpointV1TestPost = exports.powershellSessionV1ComputerMachineIdShellPowershellSessionPost = exports.powershellExecV1ComputerMachineIdShellPowershellExecPost = exports.fsWriteV1ComputerMachineIdFsWritePost = exports.fsReadV1ComputerMachineIdFsReadGet = void 0;
|
|
4
|
+
exports.updateTrajectoryV1TrajectoriesTrajectoryIdPatch = exports.getTrajectoryV1TrajectoriesTrajectoryIdGet = exports.deleteTrajectoryV1TrajectoriesTrajectoryIdDelete = exports.createTrajectoryV1TrajectoriesPost = exports.listTrajectoriesV1TrajectoriesGet = exports.updateRequestLogV1RequestLogsLogIdPatch = exports.getRequestLogV1RequestLogsLogIdGet = exports.deleteRequestLogV1RequestLogsLogIdDelete = exports.createRequestLogV1RequestLogsPost = exports.listRequestLogsV1RequestLogsGet = exports.updateConnectionV1ConnectionsConnectionIdPatch = exports.getConnectionV1ConnectionsConnectionIdGet = exports.deleteConnectionV1ConnectionsConnectionIdDelete = exports.createConnectionV1ConnectionsPost = exports.listConnectionsV1ConnectionsGet = exports.downloadRunAttachmentV1RunAttachmentsAttachmentIdDownloadGet = exports.getRunAttachmentDownloadUrlV1RunAttachmentsAttachmentIdDownloadUrlGet = exports.updateRunAttachmentV1RunAttachmentsAttachmentIdPut = exports.getRunAttachmentV1RunAttachmentsAttachmentIdGet = exports.deleteRunAttachmentV1RunAttachmentsAttachmentIdDelete = exports.createRunAttachmentV1RunAttachmentsPost = exports.listRunAttachmentsV1RunAttachmentsGet = exports.bulkCreateRunsV1RunsBulkPost = exports.updateRunV1RunsRunIdPatch = exports.getRunV1RunsRunIdGet = exports.deleteRunV1RunsRunIdDelete = exports.createRunV1RunsPost = exports.listRunsV1RunsGet = exports.getWorkflowVersionsV1WorkflowsWorkflowIdVersionsGet = exports.updateWorkflowV1WorkflowsWorkflowIdPatch = exports.getWorkflowV1WorkflowsWorkflowIdGet = exports.deleteWorkflowV1WorkflowsWorkflowIdDelete = exports.createWorkflowV1WorkflowsPost = exports.listWorkflowsV1WorkflowsGet = exports.addMachinesToPoolV1PoolsPoolIdMachinesPost = exports.removeMachinesFromPoolV1PoolsPoolIdMachinesDelete = exports.updatePoolV1PoolsPoolIdPatch = exports.getPoolV1PoolsPoolIdGet = exports.deletePoolV1PoolsPoolIdDelete = exports.createPoolV1PoolsPost = exports.listPoolsV1PoolsGet = exports.updateMachinePoolsV1MachinesMachineIdPoolsPut = exports.getMachinePoolsV1MachinesMachineIdPoolsGet = exports.updateMachineV1MachinesMachineIdPatch = exports.getMachineV1MachinesMachineIdGet = exports.deleteMachineV1MachinesMachineIdDelete = exports.createMachineV1MachinesPost = exports.listMachinesV1MachinesGet = exports.databaseHealthCheckV1HealthDbGet = exports.healthCheckV1HealthGet = void 0;
|
|
5
|
+
exports.rootGet = exports.dummyTestEndpointV1TestPost = exports.powershellSessionV1ComputerMachineIdShellPowershellSessionPost = exports.powershellExecV1ComputerMachineIdShellPowershellExecPost = exports.fsWriteV1ComputerMachineIdFsWritePost = exports.fsReadV1ComputerMachineIdFsReadGet = exports.fsListV1ComputerMachineIdFsListGet = exports.mouseClickV1ComputerMachineIdInputMouseClickPost = exports.mouseMoveV1ComputerMachineIdInputMouseMovePost = exports.getMousePositionV1ComputerMachineIdInputMousePositionGet = exports.keyboardKeyV1ComputerMachineIdInputKeyboardKeyPost = exports.keyboardTypeV1ComputerMachineIdInputKeyboardTypePost = exports.getDisplayDimensionsV1ComputerMachineIdDisplayDimensionsGet = exports.getScreenshotV1ComputerMachineIdDisplayScreenshotGet = exports.getLatestTrajectoryForWorkflowV1WorkflowsWorkflowIdLatestTrajectoryGet = void 0;
|
|
6
6
|
const client_gen_1 = require("./client.gen");
|
|
7
7
|
/**
|
|
8
8
|
* Health Check
|
|
@@ -28,7 +28,7 @@ const databaseHealthCheckV1HealthDbGet = (options) => {
|
|
|
28
28
|
exports.databaseHealthCheckV1HealthDbGet = databaseHealthCheckV1HealthDbGet;
|
|
29
29
|
/**
|
|
30
30
|
* List Machines
|
|
31
|
-
* List all machines for the authenticated
|
|
31
|
+
* List all machines for the authenticated organization.
|
|
32
32
|
*
|
|
33
33
|
* Supports pagination and filtering by status.
|
|
34
34
|
*/
|
|
@@ -46,7 +46,7 @@ exports.listMachinesV1MachinesGet = listMachinesV1MachinesGet;
|
|
|
46
46
|
* Create Machine
|
|
47
47
|
* Create a new machine.
|
|
48
48
|
*
|
|
49
|
-
* The machine will be associated with the authenticated
|
|
49
|
+
* The machine will be associated with the authenticated organization.
|
|
50
50
|
*/
|
|
51
51
|
const createMachineV1MachinesPost = (options) => {
|
|
52
52
|
var _a;
|
|
@@ -63,7 +63,7 @@ exports.createMachineV1MachinesPost = createMachineV1MachinesPost;
|
|
|
63
63
|
* Delete a machine.
|
|
64
64
|
*
|
|
65
65
|
* This will also delete all associated connections, request logs, and runs.
|
|
66
|
-
* The machine must belong to the authenticated
|
|
66
|
+
* The machine must belong to the authenticated organization.
|
|
67
67
|
*/
|
|
68
68
|
const deleteMachineV1MachinesMachineIdDelete = (options) => {
|
|
69
69
|
var _a;
|
|
@@ -79,7 +79,7 @@ exports.deleteMachineV1MachinesMachineIdDelete = deleteMachineV1MachinesMachineI
|
|
|
79
79
|
* Get Machine
|
|
80
80
|
* Get a specific machine by ID.
|
|
81
81
|
*
|
|
82
|
-
* The machine must belong to the authenticated
|
|
82
|
+
* The machine must belong to the authenticated organization.
|
|
83
83
|
*/
|
|
84
84
|
const getMachineV1MachinesMachineIdGet = (options) => {
|
|
85
85
|
var _a;
|
|
@@ -96,7 +96,7 @@ exports.getMachineV1MachinesMachineIdGet = getMachineV1MachinesMachineIdGet;
|
|
|
96
96
|
* Update a machine's information.
|
|
97
97
|
*
|
|
98
98
|
* Only the fields provided in the request body will be updated.
|
|
99
|
-
* The machine must belong to the authenticated
|
|
99
|
+
* The machine must belong to the authenticated organization.
|
|
100
100
|
*/
|
|
101
101
|
const updateMachineV1MachinesMachineIdPatch = (options) => {
|
|
102
102
|
var _a;
|
|
@@ -108,9 +108,136 @@ const updateMachineV1MachinesMachineIdPatch = (options) => {
|
|
|
108
108
|
], url: '/v1/machines/{machine_id}' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options === null || options === void 0 ? void 0 : options.headers) }));
|
|
109
109
|
};
|
|
110
110
|
exports.updateMachineV1MachinesMachineIdPatch = updateMachineV1MachinesMachineIdPatch;
|
|
111
|
+
/**
|
|
112
|
+
* Get Machine Pools
|
|
113
|
+
* Get all pools that a machine belongs to.
|
|
114
|
+
*/
|
|
115
|
+
const getMachinePoolsV1MachinesMachineIdPoolsGet = (options) => {
|
|
116
|
+
var _a;
|
|
117
|
+
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get(Object.assign({ security: [
|
|
118
|
+
{
|
|
119
|
+
scheme: 'bearer',
|
|
120
|
+
type: 'http'
|
|
121
|
+
}
|
|
122
|
+
], url: '/v1/machines/{machine_id}/pools' }, options));
|
|
123
|
+
};
|
|
124
|
+
exports.getMachinePoolsV1MachinesMachineIdPoolsGet = getMachinePoolsV1MachinesMachineIdPoolsGet;
|
|
125
|
+
/**
|
|
126
|
+
* Update Machine Pools
|
|
127
|
+
* Update a machine's pool assignments.
|
|
128
|
+
* This replaces all existing pool assignments with the new ones.
|
|
129
|
+
*/
|
|
130
|
+
const updateMachinePoolsV1MachinesMachineIdPoolsPut = (options) => {
|
|
131
|
+
var _a;
|
|
132
|
+
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).put(Object.assign(Object.assign({ security: [
|
|
133
|
+
{
|
|
134
|
+
scheme: 'bearer',
|
|
135
|
+
type: 'http'
|
|
136
|
+
}
|
|
137
|
+
], url: '/v1/machines/{machine_id}/pools' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options === null || options === void 0 ? void 0 : options.headers) }));
|
|
138
|
+
};
|
|
139
|
+
exports.updateMachinePoolsV1MachinesMachineIdPoolsPut = updateMachinePoolsV1MachinesMachineIdPoolsPut;
|
|
140
|
+
/**
|
|
141
|
+
* List Pools
|
|
142
|
+
* List all pools for the organization.
|
|
143
|
+
*/
|
|
144
|
+
const listPoolsV1PoolsGet = (options) => {
|
|
145
|
+
var _a;
|
|
146
|
+
return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get(Object.assign({ security: [
|
|
147
|
+
{
|
|
148
|
+
scheme: 'bearer',
|
|
149
|
+
type: 'http'
|
|
150
|
+
}
|
|
151
|
+
], url: '/v1/pools' }, options));
|
|
152
|
+
};
|
|
153
|
+
exports.listPoolsV1PoolsGet = listPoolsV1PoolsGet;
|
|
154
|
+
/**
|
|
155
|
+
* Create Pool
|
|
156
|
+
* Create a new pool for organizing machines.
|
|
157
|
+
*/
|
|
158
|
+
const createPoolV1PoolsPost = (options) => {
|
|
159
|
+
var _a;
|
|
160
|
+
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post(Object.assign(Object.assign({ security: [
|
|
161
|
+
{
|
|
162
|
+
scheme: 'bearer',
|
|
163
|
+
type: 'http'
|
|
164
|
+
}
|
|
165
|
+
], url: '/v1/pools' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options === null || options === void 0 ? void 0 : options.headers) }));
|
|
166
|
+
};
|
|
167
|
+
exports.createPoolV1PoolsPost = createPoolV1PoolsPost;
|
|
168
|
+
/**
|
|
169
|
+
* Delete Pool
|
|
170
|
+
* Delete a pool. This will not delete the machines in the pool.
|
|
171
|
+
*/
|
|
172
|
+
const deletePoolV1PoolsPoolIdDelete = (options) => {
|
|
173
|
+
var _a;
|
|
174
|
+
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).delete(Object.assign({ security: [
|
|
175
|
+
{
|
|
176
|
+
scheme: 'bearer',
|
|
177
|
+
type: 'http'
|
|
178
|
+
}
|
|
179
|
+
], url: '/v1/pools/{pool_id}' }, options));
|
|
180
|
+
};
|
|
181
|
+
exports.deletePoolV1PoolsPoolIdDelete = deletePoolV1PoolsPoolIdDelete;
|
|
182
|
+
/**
|
|
183
|
+
* Get Pool
|
|
184
|
+
* Get a specific pool by ID.
|
|
185
|
+
*/
|
|
186
|
+
const getPoolV1PoolsPoolIdGet = (options) => {
|
|
187
|
+
var _a;
|
|
188
|
+
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get(Object.assign({ security: [
|
|
189
|
+
{
|
|
190
|
+
scheme: 'bearer',
|
|
191
|
+
type: 'http'
|
|
192
|
+
}
|
|
193
|
+
], url: '/v1/pools/{pool_id}' }, options));
|
|
194
|
+
};
|
|
195
|
+
exports.getPoolV1PoolsPoolIdGet = getPoolV1PoolsPoolIdGet;
|
|
196
|
+
/**
|
|
197
|
+
* Update Pool
|
|
198
|
+
* Update a pool's details.
|
|
199
|
+
*/
|
|
200
|
+
const updatePoolV1PoolsPoolIdPatch = (options) => {
|
|
201
|
+
var _a;
|
|
202
|
+
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).patch(Object.assign(Object.assign({ security: [
|
|
203
|
+
{
|
|
204
|
+
scheme: 'bearer',
|
|
205
|
+
type: 'http'
|
|
206
|
+
}
|
|
207
|
+
], url: '/v1/pools/{pool_id}' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options === null || options === void 0 ? void 0 : options.headers) }));
|
|
208
|
+
};
|
|
209
|
+
exports.updatePoolV1PoolsPoolIdPatch = updatePoolV1PoolsPoolIdPatch;
|
|
210
|
+
/**
|
|
211
|
+
* Remove Machines From Pool
|
|
212
|
+
* Remove machines from a pool.
|
|
213
|
+
*/
|
|
214
|
+
const removeMachinesFromPoolV1PoolsPoolIdMachinesDelete = (options) => {
|
|
215
|
+
var _a;
|
|
216
|
+
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).delete(Object.assign(Object.assign({ security: [
|
|
217
|
+
{
|
|
218
|
+
scheme: 'bearer',
|
|
219
|
+
type: 'http'
|
|
220
|
+
}
|
|
221
|
+
], url: '/v1/pools/{pool_id}/machines' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options === null || options === void 0 ? void 0 : options.headers) }));
|
|
222
|
+
};
|
|
223
|
+
exports.removeMachinesFromPoolV1PoolsPoolIdMachinesDelete = removeMachinesFromPoolV1PoolsPoolIdMachinesDelete;
|
|
224
|
+
/**
|
|
225
|
+
* Add Machines To Pool
|
|
226
|
+
* Add machines to a pool.
|
|
227
|
+
*/
|
|
228
|
+
const addMachinesToPoolV1PoolsPoolIdMachinesPost = (options) => {
|
|
229
|
+
var _a;
|
|
230
|
+
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post(Object.assign(Object.assign({ security: [
|
|
231
|
+
{
|
|
232
|
+
scheme: 'bearer',
|
|
233
|
+
type: 'http'
|
|
234
|
+
}
|
|
235
|
+
], url: '/v1/pools/{pool_id}/machines' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options === null || options === void 0 ? void 0 : options.headers) }));
|
|
236
|
+
};
|
|
237
|
+
exports.addMachinesToPoolV1PoolsPoolIdMachinesPost = addMachinesToPoolV1PoolsPoolIdMachinesPost;
|
|
111
238
|
/**
|
|
112
239
|
* List Workflows
|
|
113
|
-
* List all workflows for the authenticated
|
|
240
|
+
* List all workflows for the authenticated organization.
|
|
114
241
|
*
|
|
115
242
|
* Supports pagination and returns workflows ordered by updated_at descending.
|
|
116
243
|
*/
|
|
@@ -128,7 +255,7 @@ exports.listWorkflowsV1WorkflowsGet = listWorkflowsV1WorkflowsGet;
|
|
|
128
255
|
* Create Workflow
|
|
129
256
|
* Create a new workflow.
|
|
130
257
|
*
|
|
131
|
-
* The workflow will be associated with the authenticated
|
|
258
|
+
* The workflow will be associated with the authenticated organization.
|
|
132
259
|
*/
|
|
133
260
|
const createWorkflowV1WorkflowsPost = (options) => {
|
|
134
261
|
var _a;
|
|
@@ -145,7 +272,7 @@ exports.createWorkflowV1WorkflowsPost = createWorkflowV1WorkflowsPost;
|
|
|
145
272
|
* Delete a workflow.
|
|
146
273
|
*
|
|
147
274
|
* This will also delete all associated runs and trajectories.
|
|
148
|
-
* The workflow must belong to the authenticated
|
|
275
|
+
* The workflow must belong to the authenticated organization.
|
|
149
276
|
*/
|
|
150
277
|
const deleteWorkflowV1WorkflowsWorkflowIdDelete = (options) => {
|
|
151
278
|
var _a;
|
|
@@ -161,7 +288,7 @@ exports.deleteWorkflowV1WorkflowsWorkflowIdDelete = deleteWorkflowV1WorkflowsWor
|
|
|
161
288
|
* Get Workflow
|
|
162
289
|
* Get a specific workflow by ID.
|
|
163
290
|
*
|
|
164
|
-
* The workflow must belong to the authenticated
|
|
291
|
+
* The workflow must belong to the authenticated organization.
|
|
165
292
|
*/
|
|
166
293
|
const getWorkflowV1WorkflowsWorkflowIdGet = (options) => {
|
|
167
294
|
var _a;
|
|
@@ -179,7 +306,7 @@ exports.getWorkflowV1WorkflowsWorkflowIdGet = getWorkflowV1WorkflowsWorkflowIdGe
|
|
|
179
306
|
*
|
|
180
307
|
* The current version will be saved to the version history.
|
|
181
308
|
* Only the fields provided in the request body will be updated.
|
|
182
|
-
* The workflow must belong to the authenticated
|
|
309
|
+
* The workflow must belong to the authenticated organization.
|
|
183
310
|
*/
|
|
184
311
|
const updateWorkflowV1WorkflowsWorkflowIdPatch = (options) => {
|
|
185
312
|
var _a;
|
|
@@ -196,7 +323,7 @@ exports.updateWorkflowV1WorkflowsWorkflowIdPatch = updateWorkflowV1WorkflowsWork
|
|
|
196
323
|
* Get the version history of a workflow.
|
|
197
324
|
*
|
|
198
325
|
* Returns a list of previous versions with their prompts and timestamps.
|
|
199
|
-
* The workflow must belong to the authenticated
|
|
326
|
+
* The workflow must belong to the authenticated organization.
|
|
200
327
|
*/
|
|
201
328
|
const getWorkflowVersionsV1WorkflowsWorkflowIdVersionsGet = (options) => {
|
|
202
329
|
var _a;
|
|
@@ -210,7 +337,7 @@ const getWorkflowVersionsV1WorkflowsWorkflowIdVersionsGet = (options) => {
|
|
|
210
337
|
exports.getWorkflowVersionsV1WorkflowsWorkflowIdVersionsGet = getWorkflowVersionsV1WorkflowsWorkflowIdVersionsGet;
|
|
211
338
|
/**
|
|
212
339
|
* List Runs
|
|
213
|
-
* List all runs for the authenticated
|
|
340
|
+
* List all runs for the authenticated organization.
|
|
214
341
|
*
|
|
215
342
|
* Supports pagination and filtering by workflow, machine, and status.
|
|
216
343
|
* Returns runs with their associated workflow and machine data.
|
|
@@ -229,9 +356,9 @@ exports.listRunsV1RunsGet = listRunsV1RunsGet;
|
|
|
229
356
|
* Create Run
|
|
230
357
|
* Create a new run.
|
|
231
358
|
*
|
|
232
|
-
* The workflow must exist and belong to the authenticated
|
|
359
|
+
* The workflow must exist and belong to the authenticated organization.
|
|
233
360
|
* If machine_id is not provided, an available machine will be automatically selected.
|
|
234
|
-
* The run will be created with SCHEDULING status and a Temporal workflow will be started.
|
|
361
|
+
* The run will be created with SCHEDULING status and a Temporal workflow will be started asynchronously.
|
|
235
362
|
*/
|
|
236
363
|
const createRunV1RunsPost = (options) => {
|
|
237
364
|
var _a;
|
|
@@ -247,7 +374,8 @@ exports.createRunV1RunsPost = createRunV1RunsPost;
|
|
|
247
374
|
* Delete Run
|
|
248
375
|
* Delete a run.
|
|
249
376
|
*
|
|
250
|
-
*
|
|
377
|
+
* This will also delete all associated attachments and their files.
|
|
378
|
+
* The run must belong to the authenticated organization.
|
|
251
379
|
*/
|
|
252
380
|
const deleteRunV1RunsRunIdDelete = (options) => {
|
|
253
381
|
var _a;
|
|
@@ -263,8 +391,8 @@ exports.deleteRunV1RunsRunIdDelete = deleteRunV1RunsRunIdDelete;
|
|
|
263
391
|
* Get Run
|
|
264
392
|
* Get a specific run by ID.
|
|
265
393
|
*
|
|
394
|
+
* The run must belong to the authenticated organization.
|
|
266
395
|
* Returns the run with its associated workflow and machine data.
|
|
267
|
-
* The run must belong to the authenticated user.
|
|
268
396
|
*/
|
|
269
397
|
const getRunV1RunsRunIdGet = (options) => {
|
|
270
398
|
var _a;
|
|
@@ -278,11 +406,10 @@ const getRunV1RunsRunIdGet = (options) => {
|
|
|
278
406
|
exports.getRunV1RunsRunIdGet = getRunV1RunsRunIdGet;
|
|
279
407
|
/**
|
|
280
408
|
* Update Run
|
|
281
|
-
* Update a run's
|
|
409
|
+
* Update a run's data.
|
|
282
410
|
*
|
|
283
|
-
* Can update status, error messages, output data, attachments, and message history.
|
|
284
411
|
* Only the fields provided in the request body will be updated.
|
|
285
|
-
* The run must belong to the authenticated
|
|
412
|
+
* The run must belong to the authenticated organization.
|
|
286
413
|
*/
|
|
287
414
|
const updateRunV1RunsRunIdPatch = (options) => {
|
|
288
415
|
var _a;
|
|
@@ -317,7 +444,7 @@ const bulkCreateRunsV1RunsBulkPost = (options) => {
|
|
|
317
444
|
exports.bulkCreateRunsV1RunsBulkPost = bulkCreateRunsV1RunsBulkPost;
|
|
318
445
|
/**
|
|
319
446
|
* List Run Attachments
|
|
320
|
-
* List all run attachments for the authenticated
|
|
447
|
+
* List all run attachments for the authenticated organization.
|
|
321
448
|
*
|
|
322
449
|
* Supports pagination and filtering by run ID and attachment type.
|
|
323
450
|
*/
|
|
@@ -434,7 +561,7 @@ const downloadRunAttachmentV1RunAttachmentsAttachmentIdDownloadGet = (options) =
|
|
|
434
561
|
exports.downloadRunAttachmentV1RunAttachmentsAttachmentIdDownloadGet = downloadRunAttachmentV1RunAttachmentsAttachmentIdDownloadGet;
|
|
435
562
|
/**
|
|
436
563
|
* List Connections
|
|
437
|
-
* List all connections for the authenticated
|
|
564
|
+
* List all connections for the authenticated organization's machines.
|
|
438
565
|
*
|
|
439
566
|
* Supports pagination and filtering by machine and status.
|
|
440
567
|
* Returns connections with their associated machine data.
|
|
@@ -453,7 +580,7 @@ exports.listConnectionsV1ConnectionsGet = listConnectionsV1ConnectionsGet;
|
|
|
453
580
|
* Create Connection
|
|
454
581
|
* Create a new connection (typically done by the WebSocket handler).
|
|
455
582
|
*
|
|
456
|
-
* The machine must exist and belong to the authenticated
|
|
583
|
+
* The machine must exist and belong to the authenticated organization.
|
|
457
584
|
*/
|
|
458
585
|
const createConnectionV1ConnectionsPost = (options) => {
|
|
459
586
|
var _a;
|
|
@@ -469,7 +596,7 @@ exports.createConnectionV1ConnectionsPost = createConnectionV1ConnectionsPost;
|
|
|
469
596
|
* Delete Connection
|
|
470
597
|
* Delete a connection (not typically used - connections are managed automatically).
|
|
471
598
|
*
|
|
472
|
-
* The connection must belong to a machine owned by the authenticated
|
|
599
|
+
* The connection must belong to a machine owned by the authenticated organization.
|
|
473
600
|
*/
|
|
474
601
|
const deleteConnectionV1ConnectionsConnectionIdDelete = (options) => {
|
|
475
602
|
var _a;
|
|
@@ -485,7 +612,7 @@ exports.deleteConnectionV1ConnectionsConnectionIdDelete = deleteConnectionV1Conn
|
|
|
485
612
|
* Get Connection
|
|
486
613
|
* Get a specific connection by ID.
|
|
487
614
|
*
|
|
488
|
-
* The connection must belong to a machine owned by the authenticated
|
|
615
|
+
* The connection must belong to a machine owned by the authenticated organization.
|
|
489
616
|
*/
|
|
490
617
|
const getConnectionV1ConnectionsConnectionIdGet = (options) => {
|
|
491
618
|
var _a;
|
|
@@ -502,7 +629,7 @@ exports.getConnectionV1ConnectionsConnectionIdGet = getConnectionV1ConnectionsCo
|
|
|
502
629
|
* Update a connection's status or timestamps.
|
|
503
630
|
*
|
|
504
631
|
* Only the fields provided in the request body will be updated.
|
|
505
|
-
* The connection must belong to a machine owned by the authenticated
|
|
632
|
+
* The connection must belong to a machine owned by the authenticated organization.
|
|
506
633
|
*/
|
|
507
634
|
const updateConnectionV1ConnectionsConnectionIdPatch = (options) => {
|
|
508
635
|
var _a;
|
|
@@ -516,7 +643,7 @@ const updateConnectionV1ConnectionsConnectionIdPatch = (options) => {
|
|
|
516
643
|
exports.updateConnectionV1ConnectionsConnectionIdPatch = updateConnectionV1ConnectionsConnectionIdPatch;
|
|
517
644
|
/**
|
|
518
645
|
* List Request Logs
|
|
519
|
-
* List all request logs for the authenticated
|
|
646
|
+
* List all request logs for the authenticated organization's machines.
|
|
520
647
|
*
|
|
521
648
|
* Supports pagination and filtering by machine, HTTP method, and status code.
|
|
522
649
|
*/
|
|
@@ -534,7 +661,7 @@ exports.listRequestLogsV1RequestLogsGet = listRequestLogsV1RequestLogsGet;
|
|
|
534
661
|
* Create Request Log
|
|
535
662
|
* Create a new request log.
|
|
536
663
|
*
|
|
537
|
-
* The machine must exist and belong to the authenticated
|
|
664
|
+
* The machine must exist and belong to the authenticated organization.
|
|
538
665
|
* This is typically called when a request is initiated.
|
|
539
666
|
*/
|
|
540
667
|
const createRequestLogV1RequestLogsPost = (options) => {
|
|
@@ -551,7 +678,7 @@ exports.createRequestLogV1RequestLogsPost = createRequestLogV1RequestLogsPost;
|
|
|
551
678
|
* Delete Request Log
|
|
552
679
|
* Delete a request log (not typically used - logs are kept for analytics).
|
|
553
680
|
*
|
|
554
|
-
* The log must belong to a machine owned by the authenticated
|
|
681
|
+
* The log must belong to a machine owned by the authenticated organization.
|
|
555
682
|
*/
|
|
556
683
|
const deleteRequestLogV1RequestLogsLogIdDelete = (options) => {
|
|
557
684
|
var _a;
|
|
@@ -567,7 +694,7 @@ exports.deleteRequestLogV1RequestLogsLogIdDelete = deleteRequestLogV1RequestLogs
|
|
|
567
694
|
* Get Request Log
|
|
568
695
|
* Get a specific request log by ID.
|
|
569
696
|
*
|
|
570
|
-
* The log must belong to a machine owned by the authenticated
|
|
697
|
+
* The log must belong to a machine owned by the authenticated organization.
|
|
571
698
|
*/
|
|
572
699
|
const getRequestLogV1RequestLogsLogIdGet = (options) => {
|
|
573
700
|
var _a;
|
|
@@ -585,7 +712,7 @@ exports.getRequestLogV1RequestLogsLogIdGet = getRequestLogV1RequestLogsLogIdGet;
|
|
|
585
712
|
*
|
|
586
713
|
* This is typically called when a request completes to add the response details.
|
|
587
714
|
* Only the fields provided in the request body will be updated.
|
|
588
|
-
* The log must belong to a machine owned by the authenticated
|
|
715
|
+
* The log must belong to a machine owned by the authenticated organization.
|
|
589
716
|
*/
|
|
590
717
|
const updateRequestLogV1RequestLogsLogIdPatch = (options) => {
|
|
591
718
|
var _a;
|
|
@@ -599,7 +726,7 @@ const updateRequestLogV1RequestLogsLogIdPatch = (options) => {
|
|
|
599
726
|
exports.updateRequestLogV1RequestLogsLogIdPatch = updateRequestLogV1RequestLogsLogIdPatch;
|
|
600
727
|
/**
|
|
601
728
|
* List Trajectories
|
|
602
|
-
* List all trajectories for the authenticated
|
|
729
|
+
* List all trajectories for the authenticated organization.
|
|
603
730
|
*
|
|
604
731
|
* Supports pagination and filtering by workflow.
|
|
605
732
|
* Returns trajectories with their associated workflow data.
|
|
@@ -618,7 +745,7 @@ exports.listTrajectoriesV1TrajectoriesGet = listTrajectoriesV1TrajectoriesGet;
|
|
|
618
745
|
* Create Trajectory
|
|
619
746
|
* Create a new trajectory for a workflow.
|
|
620
747
|
*
|
|
621
|
-
* The workflow must exist and belong to the authenticated
|
|
748
|
+
* The workflow must exist and belong to the authenticated organization.
|
|
622
749
|
* The trajectory_data must contain at least one item.
|
|
623
750
|
*/
|
|
624
751
|
const createTrajectoryV1TrajectoriesPost = (options) => {
|
|
@@ -635,7 +762,7 @@ exports.createTrajectoryV1TrajectoriesPost = createTrajectoryV1TrajectoriesPost;
|
|
|
635
762
|
* Delete Trajectory
|
|
636
763
|
* Delete a trajectory.
|
|
637
764
|
*
|
|
638
|
-
* The trajectory must belong to the authenticated
|
|
765
|
+
* The trajectory must belong to the authenticated organization.
|
|
639
766
|
*/
|
|
640
767
|
const deleteTrajectoryV1TrajectoriesTrajectoryIdDelete = (options) => {
|
|
641
768
|
var _a;
|
|
@@ -652,7 +779,7 @@ exports.deleteTrajectoryV1TrajectoriesTrajectoryIdDelete = deleteTrajectoryV1Tra
|
|
|
652
779
|
* Get a specific trajectory by ID.
|
|
653
780
|
*
|
|
654
781
|
* Returns the trajectory with its associated workflow data.
|
|
655
|
-
* The trajectory must belong to the authenticated
|
|
782
|
+
* The trajectory must belong to the authenticated organization.
|
|
656
783
|
*/
|
|
657
784
|
const getTrajectoryV1TrajectoriesTrajectoryIdGet = (options) => {
|
|
658
785
|
var _a;
|
|
@@ -669,7 +796,7 @@ exports.getTrajectoryV1TrajectoriesTrajectoryIdGet = getTrajectoryV1Trajectories
|
|
|
669
796
|
* Update a trajectory's data.
|
|
670
797
|
*
|
|
671
798
|
* Only the fields provided in the request body will be updated.
|
|
672
|
-
* The trajectory must belong to the authenticated
|
|
799
|
+
* The trajectory must belong to the authenticated organization.
|
|
673
800
|
*/
|
|
674
801
|
const updateTrajectoryV1TrajectoriesTrajectoryIdPatch = (options) => {
|
|
675
802
|
var _a;
|
|
@@ -686,7 +813,7 @@ exports.updateTrajectoryV1TrajectoriesTrajectoryIdPatch = updateTrajectoryV1Traj
|
|
|
686
813
|
* Get the latest trajectory for a specific workflow.
|
|
687
814
|
*
|
|
688
815
|
* Returns the most recently updated trajectory for the workflow.
|
|
689
|
-
* The workflow must belong to the authenticated
|
|
816
|
+
* The workflow must belong to the authenticated organization.
|
|
690
817
|
*/
|
|
691
818
|
const getLatestTrajectoryForWorkflowV1WorkflowsWorkflowIdLatestTrajectoryGet = (options) => {
|
|
692
819
|
var _a;
|