cyberdesk 2.2.37 → 2.2.39

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.
Files changed (34) hide show
  1. package/dist/client/client/client.gen.d.ts +2 -0
  2. package/dist/client/client/client.gen.js +217 -0
  3. package/dist/client/client/index.d.ts +8 -0
  4. package/dist/client/client/index.js +17 -0
  5. package/dist/client/client/types.gen.d.ts +117 -0
  6. package/dist/client/client/types.gen.js +3 -0
  7. package/dist/client/client/utils.gen.d.ts +33 -0
  8. package/dist/client/client/utils.gen.js +247 -0
  9. package/dist/client/client.gen.d.ts +4 -4
  10. package/dist/client/client.gen.js +2 -4
  11. package/dist/client/core/auth.gen.d.ts +18 -0
  12. package/dist/client/core/auth.gen.js +27 -0
  13. package/dist/client/core/bodySerializer.gen.d.ts +25 -0
  14. package/dist/client/core/bodySerializer.gen.js +60 -0
  15. package/dist/client/core/params.gen.d.ts +43 -0
  16. package/dist/client/core/params.gen.js +104 -0
  17. package/dist/client/core/pathSerializer.gen.d.ts +33 -0
  18. package/dist/client/core/pathSerializer.gen.js +115 -0
  19. package/dist/client/core/queryKeySerializer.gen.d.ts +18 -0
  20. package/dist/client/core/queryKeySerializer.gen.js +98 -0
  21. package/dist/client/core/serverSentEvents.gen.d.ts +71 -0
  22. package/dist/client/core/serverSentEvents.gen.js +160 -0
  23. package/dist/client/core/types.gen.d.ts +78 -0
  24. package/dist/client/core/types.gen.js +3 -0
  25. package/dist/client/core/utils.gen.d.ts +19 -0
  26. package/dist/client/core/utils.gen.js +93 -0
  27. package/dist/client/index.d.ts +2 -2
  28. package/dist/client/index.js +113 -17
  29. package/dist/client/sdk.gen.d.ts +214 -129
  30. package/dist/client/sdk.gen.js +212 -635
  31. package/dist/client/types.gen.d.ts +2329 -5
  32. package/dist/index.d.ts +207 -207
  33. package/dist/index.js +2 -2
  34. package/package.json +1 -1
@@ -4,32 +4,29 @@ Object.defineProperty(exports, "__esModule", { value: true });
4
4
  exports.getModelConfigurationV1ModelConfigurationsModelConfigurationIdGet = exports.deleteModelConfigurationV1ModelConfigurationsModelConfigurationIdDelete = exports.createModelConfigurationV1ModelConfigurationsPost = exports.listModelConfigurationsV1ModelConfigurationsGet = exports.reorderTagGroupsV1WorkflowTagGroupsReorderPut = exports.updateTagGroupV1WorkflowTagGroupsGroupIdPatch = exports.getTagGroupV1WorkflowTagGroupsGroupIdGet = exports.deleteTagGroupV1WorkflowTagGroupsGroupIdDelete = exports.createTagGroupV1WorkflowTagGroupsPost = exports.listTagGroupsV1WorkflowTagGroupsGet = exports.reorderTagsV1WorkflowTagsReorderPut = exports.unarchiveTagV1WorkflowTagsTagIdUnarchivePost = exports.archiveTagV1WorkflowTagsTagIdArchivePost = exports.updateTagV1WorkflowTagsTagIdPatch = exports.getTagV1WorkflowTagsTagIdGet = exports.deleteTagV1WorkflowTagsTagIdDelete = exports.createTagV1WorkflowTagsPost = exports.listTagsV1WorkflowTagsGet = exports.removeTagFromWorkflowV1WorkflowsWorkflowIdTagsTagIdDelete = exports.addTagsToWorkflowV1WorkflowsWorkflowIdTagsPost = exports.getWorkflowTagsV1WorkflowsWorkflowIdTagsGet = exports.getWorkflowPromptImageSignedUrlV1WorkflowsPromptImageSignedUrlGet = exports.listWorkflowPromptImagesV1WorkflowsPromptImagesGet = exports.uploadWorkflowPromptImageV1WorkflowsPromptImagePost = exports.deleteWorkflowPromptImageV1WorkflowsPromptImageDelete = exports.getWorkflowVersionsV1WorkflowsWorkflowIdVersionsGet = exports.mergeWorkflowV1WorkflowsWorkflowIdMergePost = exports.duplicateWorkflowV1WorkflowsWorkflowIdDuplicatePost = exports.updateWorkflowV1WorkflowsWorkflowIdPatch = exports.getWorkflowV1WorkflowsWorkflowIdGet = exports.deleteWorkflowV1WorkflowsWorkflowIdDelete = exports.bulkAddTagsToWorkflowsV1WorkflowsBulkTagsPost = 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
5
  exports.powershellSessionV1ComputerMachineIdShellPowershellSessionPost = exports.powershellExecV1ComputerMachineIdShellPowershellExecPost = exports.fsWriteV1ComputerMachineIdFsWritePost = exports.fsReadV1ComputerMachineIdFsReadGet = exports.fsListV1ComputerMachineIdFsListGet = exports.mouseDragV1ComputerMachineIdInputMouseDragPost = exports.mouseScrollV1ComputerMachineIdInputMouseScrollPost = exports.mouseClickV1ComputerMachineIdInputMouseClickPost = exports.mouseMoveV1ComputerMachineIdInputMouseMovePost = exports.getMousePositionV1ComputerMachineIdInputMousePositionGet = exports.copyToClipboardV1ComputerMachineIdCopyToClipboardPost = exports.keyboardKeyV1ComputerMachineIdInputKeyboardKeyPost = exports.keyboardTypeV1ComputerMachineIdInputKeyboardTypePost = exports.getDisplayDimensionsV1ComputerMachineIdDisplayDimensionsGet = exports.getScreenshotV1ComputerMachineIdDisplayScreenshotGet = exports.getLatestTrajectoryForWorkflowV1WorkflowsWorkflowIdLatestTrajectoryGet = exports.duplicateTrajectoryV1TrajectoriesTrajectoryIdDuplicatePost = 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.retryRunV1RunsRunIdRetryPost = exports.bulkCreateRunsV1RunsBulkPost = exports.createRunChainV1RunsChainPost = exports.generateRunTrajectoryV1RunsRunIdGenerateTrajectoryPost = exports.getRunTrajectoryV1RunsRunIdTrajectoryGet = exports.updateRunV1RunsRunIdPatch = exports.getRunV1RunsRunIdGet = exports.deleteRunV1RunsRunIdDelete = exports.createRunV1RunsPost = exports.listRunsV1RunsGet = exports.updateModelConfigurationV1ModelConfigurationsModelConfigurationIdPatch = void 0;
6
6
  exports.healthMachinesV1HealthMachinesGet = exports.healthDbHealthDbGet = exports.healthHealthGet = exports.healthReadyHealthReadyGet = exports.healthLiveHealthLiveGet = exports.rootGet = exports.getUsageAggregateV1UsageAggregateGet = exports.cyberdriverShutdownV1MachinesMachineIdCyberdriverShutdownPost = void 0;
7
- const client_fetch_1 = require("@hey-api/client-fetch");
7
+ const client_1 = require("./client");
8
8
  const client_gen_1 = require("./client.gen");
9
9
  /**
10
10
  * Health Check
11
+ *
11
12
  * Basic health check endpoint.
12
13
  *
13
14
  * Returns the service status without authentication.
14
15
  */
15
- const healthCheckV1HealthGet = (options) => {
16
- var _a;
17
- return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get(Object.assign({ url: '/v1/health' }, options));
18
- };
16
+ const healthCheckV1HealthGet = (options) => { var _a; return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get(Object.assign({ url: '/v1/health' }, options)); };
19
17
  exports.healthCheckV1HealthGet = healthCheckV1HealthGet;
20
18
  /**
21
19
  * Database Health Check
20
+ *
22
21
  * Database health check endpoint.
23
22
  *
24
23
  * Verifies database connectivity without authentication.
25
24
  */
26
- const databaseHealthCheckV1HealthDbGet = (options) => {
27
- var _a;
28
- return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get(Object.assign({ url: '/v1/health/db' }, options));
29
- };
25
+ const databaseHealthCheckV1HealthDbGet = (options) => { var _a; return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get(Object.assign({ url: '/v1/health/db' }, options)); };
30
26
  exports.databaseHealthCheckV1HealthDbGet = databaseHealthCheckV1HealthDbGet;
31
27
  /**
32
28
  * List Machines
29
+ *
33
30
  * List all machines for the authenticated organization.
34
31
  *
35
32
  * Supports pagination and filtering by status.
@@ -39,32 +36,24 @@ exports.databaseHealthCheckV1HealthDbGet = databaseHealthCheckV1HealthDbGet;
39
36
  */
40
37
  const listMachinesV1MachinesGet = (options) => {
41
38
  var _a;
42
- return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get(Object.assign({ security: [
43
- {
44
- scheme: 'bearer',
45
- type: 'http'
46
- }
47
- ], url: '/v1/machines' }, options));
39
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get(Object.assign({ security: [{ scheme: 'bearer', type: 'http' }], url: '/v1/machines' }, options));
48
40
  };
49
41
  exports.listMachinesV1MachinesGet = listMachinesV1MachinesGet;
50
42
  /**
51
43
  * Create Machine
44
+ *
52
45
  * Create a new machine.
53
46
  *
54
47
  * The machine will be associated with the authenticated organization.
55
48
  */
56
49
  const createMachineV1MachinesPost = (options) => {
57
50
  var _a;
58
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post(Object.assign(Object.assign({ security: [
59
- {
60
- scheme: 'bearer',
61
- type: 'http'
62
- }
63
- ], url: '/v1/machines' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options === null || options === void 0 ? void 0 : options.headers) }));
51
+ return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post(Object.assign(Object.assign({ security: [{ scheme: 'bearer', type: 'http' }], url: '/v1/machines' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options.headers) }));
64
52
  };
65
53
  exports.createMachineV1MachinesPost = createMachineV1MachinesPost;
66
54
  /**
67
55
  * Delete Machine
56
+ *
68
57
  * Delete a machine.
69
58
  *
70
59
  * Associated runs are PRESERVED with machine_id set to NULL.
@@ -75,16 +64,12 @@ exports.createMachineV1MachinesPost = createMachineV1MachinesPost;
75
64
  */
76
65
  const deleteMachineV1MachinesMachineIdDelete = (options) => {
77
66
  var _a;
78
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).delete(Object.assign({ security: [
79
- {
80
- scheme: 'bearer',
81
- type: 'http'
82
- }
83
- ], url: '/v1/machines/{machine_id}' }, options));
67
+ return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).delete(Object.assign({ security: [{ scheme: 'bearer', type: 'http' }], url: '/v1/machines/{machine_id}' }, options));
84
68
  };
85
69
  exports.deleteMachineV1MachinesMachineIdDelete = deleteMachineV1MachinesMachineIdDelete;
86
70
  /**
87
71
  * Get Machine
72
+ *
88
73
  * Get a specific machine by ID.
89
74
  *
90
75
  * The machine must belong to the authenticated organization.
@@ -94,16 +79,12 @@ exports.deleteMachineV1MachinesMachineIdDelete = deleteMachineV1MachinesMachineI
94
79
  */
95
80
  const getMachineV1MachinesMachineIdGet = (options) => {
96
81
  var _a;
97
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get(Object.assign({ security: [
98
- {
99
- scheme: 'bearer',
100
- type: 'http'
101
- }
102
- ], url: '/v1/machines/{machine_id}' }, options));
82
+ return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get(Object.assign({ security: [{ scheme: 'bearer', type: 'http' }], url: '/v1/machines/{machine_id}' }, options));
103
83
  };
104
84
  exports.getMachineV1MachinesMachineIdGet = getMachineV1MachinesMachineIdGet;
105
85
  /**
106
86
  * Update Machine
87
+ *
107
88
  * Update a machine's information.
108
89
  *
109
90
  * Only the fields provided in the request body will be updated.
@@ -114,45 +95,33 @@ exports.getMachineV1MachinesMachineIdGet = getMachineV1MachinesMachineIdGet;
114
95
  */
115
96
  const updateMachineV1MachinesMachineIdPatch = (options) => {
116
97
  var _a;
117
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).patch(Object.assign(Object.assign({ security: [
118
- {
119
- scheme: 'bearer',
120
- type: 'http'
121
- }
122
- ], url: '/v1/machines/{machine_id}' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options === null || options === void 0 ? void 0 : options.headers) }));
98
+ return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).patch(Object.assign(Object.assign({ security: [{ scheme: 'bearer', type: 'http' }], url: '/v1/machines/{machine_id}' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options.headers) }));
123
99
  };
124
100
  exports.updateMachineV1MachinesMachineIdPatch = updateMachineV1MachinesMachineIdPatch;
125
101
  /**
126
102
  * Get Machine Pools
103
+ *
127
104
  * Get all pools that a machine belongs to.
128
105
  */
129
106
  const getMachinePoolsV1MachinesMachineIdPoolsGet = (options) => {
130
107
  var _a;
131
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get(Object.assign({ security: [
132
- {
133
- scheme: 'bearer',
134
- type: 'http'
135
- }
136
- ], url: '/v1/machines/{machine_id}/pools' }, options));
108
+ return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get(Object.assign({ security: [{ scheme: 'bearer', type: 'http' }], url: '/v1/machines/{machine_id}/pools' }, options));
137
109
  };
138
110
  exports.getMachinePoolsV1MachinesMachineIdPoolsGet = getMachinePoolsV1MachinesMachineIdPoolsGet;
139
111
  /**
140
112
  * Update Machine Pools
113
+ *
141
114
  * Update a machine's pool assignments.
142
115
  * This replaces all existing pool assignments with the new ones.
143
116
  */
144
117
  const updateMachinePoolsV1MachinesMachineIdPoolsPut = (options) => {
145
118
  var _a;
146
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).put(Object.assign(Object.assign({ security: [
147
- {
148
- scheme: 'bearer',
149
- type: 'http'
150
- }
151
- ], url: '/v1/machines/{machine_id}/pools' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options === null || options === void 0 ? void 0 : options.headers) }));
119
+ return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).put(Object.assign(Object.assign({ security: [{ scheme: 'bearer', type: 'http' }], url: '/v1/machines/{machine_id}/pools' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options.headers) }));
152
120
  };
153
121
  exports.updateMachinePoolsV1MachinesMachineIdPoolsPut = updateMachinePoolsV1MachinesMachineIdPoolsPut;
154
122
  /**
155
123
  * List Pools
124
+ *
156
125
  * List all pools for the organization.
157
126
  *
158
127
  * Use the `include` parameter to fetch related resources in the response.
@@ -160,44 +129,32 @@ exports.updateMachinePoolsV1MachinesMachineIdPoolsPut = updateMachinePoolsV1Mach
160
129
  */
161
130
  const listPoolsV1PoolsGet = (options) => {
162
131
  var _a;
163
- return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get(Object.assign({ security: [
164
- {
165
- scheme: 'bearer',
166
- type: 'http'
167
- }
168
- ], url: '/v1/pools' }, options));
132
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get(Object.assign({ security: [{ scheme: 'bearer', type: 'http' }], url: '/v1/pools' }, options));
169
133
  };
170
134
  exports.listPoolsV1PoolsGet = listPoolsV1PoolsGet;
171
135
  /**
172
136
  * Create Pool
137
+ *
173
138
  * Create a new pool for organizing machines.
174
139
  */
175
140
  const createPoolV1PoolsPost = (options) => {
176
141
  var _a;
177
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post(Object.assign(Object.assign({ security: [
178
- {
179
- scheme: 'bearer',
180
- type: 'http'
181
- }
182
- ], url: '/v1/pools' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options === null || options === void 0 ? void 0 : options.headers) }));
142
+ return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post(Object.assign(Object.assign({ security: [{ scheme: 'bearer', type: 'http' }], url: '/v1/pools' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options.headers) }));
183
143
  };
184
144
  exports.createPoolV1PoolsPost = createPoolV1PoolsPost;
185
145
  /**
186
146
  * Delete Pool
147
+ *
187
148
  * Delete a pool. This will not delete the machines in the pool.
188
149
  */
189
150
  const deletePoolV1PoolsPoolIdDelete = (options) => {
190
151
  var _a;
191
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).delete(Object.assign({ security: [
192
- {
193
- scheme: 'bearer',
194
- type: 'http'
195
- }
196
- ], url: '/v1/pools/{pool_id}' }, options));
152
+ return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).delete(Object.assign({ security: [{ scheme: 'bearer', type: 'http' }], url: '/v1/pools/{pool_id}' }, options));
197
153
  };
198
154
  exports.deletePoolV1PoolsPoolIdDelete = deletePoolV1PoolsPoolIdDelete;
199
155
  /**
200
156
  * Get Pool
157
+ *
201
158
  * Get a specific pool by ID.
202
159
  *
203
160
  * Use the `include` parameter to fetch related resources in the response.
@@ -207,58 +164,42 @@ exports.deletePoolV1PoolsPoolIdDelete = deletePoolV1PoolsPoolIdDelete;
207
164
  */
208
165
  const getPoolV1PoolsPoolIdGet = (options) => {
209
166
  var _a;
210
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get(Object.assign({ security: [
211
- {
212
- scheme: 'bearer',
213
- type: 'http'
214
- }
215
- ], url: '/v1/pools/{pool_id}' }, options));
167
+ return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get(Object.assign({ security: [{ scheme: 'bearer', type: 'http' }], url: '/v1/pools/{pool_id}' }, options));
216
168
  };
217
169
  exports.getPoolV1PoolsPoolIdGet = getPoolV1PoolsPoolIdGet;
218
170
  /**
219
171
  * Update Pool
172
+ *
220
173
  * Update a pool's details.
221
174
  */
222
175
  const updatePoolV1PoolsPoolIdPatch = (options) => {
223
176
  var _a;
224
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).patch(Object.assign(Object.assign({ security: [
225
- {
226
- scheme: 'bearer',
227
- type: 'http'
228
- }
229
- ], url: '/v1/pools/{pool_id}' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options === null || options === void 0 ? void 0 : options.headers) }));
177
+ return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).patch(Object.assign(Object.assign({ security: [{ scheme: 'bearer', type: 'http' }], url: '/v1/pools/{pool_id}' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options.headers) }));
230
178
  };
231
179
  exports.updatePoolV1PoolsPoolIdPatch = updatePoolV1PoolsPoolIdPatch;
232
180
  /**
233
181
  * Remove Machines From Pool
182
+ *
234
183
  * Remove machines from a pool.
235
184
  */
236
185
  const removeMachinesFromPoolV1PoolsPoolIdMachinesDelete = (options) => {
237
186
  var _a;
238
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).delete(Object.assign(Object.assign({ security: [
239
- {
240
- scheme: 'bearer',
241
- type: 'http'
242
- }
243
- ], url: '/v1/pools/{pool_id}/machines' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options === null || options === void 0 ? void 0 : options.headers) }));
187
+ return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).delete(Object.assign(Object.assign({ security: [{ scheme: 'bearer', type: 'http' }], url: '/v1/pools/{pool_id}/machines' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options.headers) }));
244
188
  };
245
189
  exports.removeMachinesFromPoolV1PoolsPoolIdMachinesDelete = removeMachinesFromPoolV1PoolsPoolIdMachinesDelete;
246
190
  /**
247
191
  * Add Machines To Pool
192
+ *
248
193
  * Add machines to a pool.
249
194
  */
250
195
  const addMachinesToPoolV1PoolsPoolIdMachinesPost = (options) => {
251
196
  var _a;
252
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post(Object.assign(Object.assign({ security: [
253
- {
254
- scheme: 'bearer',
255
- type: 'http'
256
- }
257
- ], url: '/v1/pools/{pool_id}/machines' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options === null || options === void 0 ? void 0 : options.headers) }));
197
+ return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post(Object.assign(Object.assign({ security: [{ scheme: 'bearer', type: 'http' }], url: '/v1/pools/{pool_id}/machines' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options.headers) }));
258
198
  };
259
199
  exports.addMachinesToPoolV1PoolsPoolIdMachinesPost = addMachinesToPoolV1PoolsPoolIdMachinesPost;
260
200
  /**
261
201
  * List Workflows
202
+ *
262
203
  * List all workflows for the authenticated organization.
263
204
  *
264
205
  * Supports pagination and returns workflows ordered by updated_at descending.
@@ -269,32 +210,24 @@ exports.addMachinesToPoolV1PoolsPoolIdMachinesPost = addMachinesToPoolV1PoolsPoo
269
210
  */
270
211
  const listWorkflowsV1WorkflowsGet = (options) => {
271
212
  var _a;
272
- return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get(Object.assign({ security: [
273
- {
274
- scheme: 'bearer',
275
- type: 'http'
276
- }
277
- ], url: '/v1/workflows' }, options));
213
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get(Object.assign({ security: [{ scheme: 'bearer', type: 'http' }], url: '/v1/workflows' }, options));
278
214
  };
279
215
  exports.listWorkflowsV1WorkflowsGet = listWorkflowsV1WorkflowsGet;
280
216
  /**
281
217
  * Create Workflow
218
+ *
282
219
  * Create a new workflow.
283
220
  *
284
221
  * The workflow will be associated with the authenticated organization.
285
222
  */
286
223
  const createWorkflowV1WorkflowsPost = (options) => {
287
224
  var _a;
288
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post(Object.assign(Object.assign({ security: [
289
- {
290
- scheme: 'bearer',
291
- type: 'http'
292
- }
293
- ], url: '/v1/workflows' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options === null || options === void 0 ? void 0 : options.headers) }));
225
+ return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post(Object.assign(Object.assign({ security: [{ scheme: 'bearer', type: 'http' }], url: '/v1/workflows' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options.headers) }));
294
226
  };
295
227
  exports.createWorkflowV1WorkflowsPost = createWorkflowV1WorkflowsPost;
296
228
  /**
297
229
  * Bulk add tags to multiple workflows
230
+ *
298
231
  * Add tags to multiple workflows at once.
299
232
  *
300
233
  * For each workflow, mutual exclusivity is enforced: if a tag belongs to a group
@@ -302,16 +235,12 @@ exports.createWorkflowV1WorkflowsPost = createWorkflowV1WorkflowsPost;
302
235
  */
303
236
  const bulkAddTagsToWorkflowsV1WorkflowsBulkTagsPost = (options) => {
304
237
  var _a;
305
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post(Object.assign(Object.assign({ security: [
306
- {
307
- scheme: 'bearer',
308
- type: 'http'
309
- }
310
- ], url: '/v1/workflows/bulk/tags' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options === null || options === void 0 ? void 0 : options.headers) }));
238
+ return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post(Object.assign(Object.assign({ security: [{ scheme: 'bearer', type: 'http' }], url: '/v1/workflows/bulk/tags' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options.headers) }));
311
239
  };
312
240
  exports.bulkAddTagsToWorkflowsV1WorkflowsBulkTagsPost = bulkAddTagsToWorkflowsV1WorkflowsBulkTagsPost;
313
241
  /**
314
242
  * Delete Workflow
243
+ *
315
244
  * Delete a workflow.
316
245
  *
317
246
  * This will also delete all associated runs and trajectories.
@@ -319,32 +248,24 @@ exports.bulkAddTagsToWorkflowsV1WorkflowsBulkTagsPost = bulkAddTagsToWorkflowsV1
319
248
  */
320
249
  const deleteWorkflowV1WorkflowsWorkflowIdDelete = (options) => {
321
250
  var _a;
322
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).delete(Object.assign({ security: [
323
- {
324
- scheme: 'bearer',
325
- type: 'http'
326
- }
327
- ], url: '/v1/workflows/{workflow_id}' }, options));
251
+ return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).delete(Object.assign({ security: [{ scheme: 'bearer', type: 'http' }], url: '/v1/workflows/{workflow_id}' }, options));
328
252
  };
329
253
  exports.deleteWorkflowV1WorkflowsWorkflowIdDelete = deleteWorkflowV1WorkflowsWorkflowIdDelete;
330
254
  /**
331
255
  * Get Workflow
256
+ *
332
257
  * Get a specific workflow by ID.
333
258
  *
334
259
  * The workflow must belong to the authenticated organization.
335
260
  */
336
261
  const getWorkflowV1WorkflowsWorkflowIdGet = (options) => {
337
262
  var _a;
338
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get(Object.assign({ security: [
339
- {
340
- scheme: 'bearer',
341
- type: 'http'
342
- }
343
- ], url: '/v1/workflows/{workflow_id}' }, options));
263
+ return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get(Object.assign({ security: [{ scheme: 'bearer', type: 'http' }], url: '/v1/workflows/{workflow_id}' }, options));
344
264
  };
345
265
  exports.getWorkflowV1WorkflowsWorkflowIdGet = getWorkflowV1WorkflowsWorkflowIdGet;
346
266
  /**
347
267
  * Update Workflow
268
+ *
348
269
  * Update a workflow's prompts.
349
270
  *
350
271
  * The current version will be saved to the version history.
@@ -353,32 +274,24 @@ exports.getWorkflowV1WorkflowsWorkflowIdGet = getWorkflowV1WorkflowsWorkflowIdGe
353
274
  */
354
275
  const updateWorkflowV1WorkflowsWorkflowIdPatch = (options) => {
355
276
  var _a;
356
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).patch(Object.assign(Object.assign({ security: [
357
- {
358
- scheme: 'bearer',
359
- type: 'http'
360
- }
361
- ], url: '/v1/workflows/{workflow_id}' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options === null || options === void 0 ? void 0 : options.headers) }));
277
+ return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).patch(Object.assign(Object.assign({ security: [{ scheme: 'bearer', type: 'http' }], url: '/v1/workflows/{workflow_id}' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options.headers) }));
362
278
  };
363
279
  exports.updateWorkflowV1WorkflowsWorkflowIdPatch = updateWorkflowV1WorkflowsWorkflowIdPatch;
364
280
  /**
365
281
  * Duplicate Workflow
282
+ *
366
283
  * Duplicate a workflow, including prompt images and optional generated trajectories.
367
284
  *
368
285
  * Copies everything except version history, and prefixes the name with "(Copy)".
369
286
  */
370
287
  const duplicateWorkflowV1WorkflowsWorkflowIdDuplicatePost = (options) => {
371
288
  var _a;
372
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post(Object.assign(Object.assign({ security: [
373
- {
374
- scheme: 'bearer',
375
- type: 'http'
376
- }
377
- ], url: '/v1/workflows/{workflow_id}/duplicate' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options === null || options === void 0 ? void 0 : options.headers) }));
289
+ return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post(Object.assign(Object.assign({ security: [{ scheme: 'bearer', type: 'http' }], url: '/v1/workflows/{workflow_id}/duplicate' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options.headers) }));
378
290
  };
379
291
  exports.duplicateWorkflowV1WorkflowsWorkflowIdDuplicatePost = duplicateWorkflowV1WorkflowsWorkflowIdDuplicatePost;
380
292
  /**
381
293
  * Merge Workflow
294
+ *
382
295
  * Merge the current workflow into another workflow.
383
296
  *
384
297
  * Updates the target workflow with all data from the source workflow (except version history),
@@ -386,16 +299,12 @@ exports.duplicateWorkflowV1WorkflowsWorkflowIdDuplicatePost = duplicateWorkflowV
386
299
  */
387
300
  const mergeWorkflowV1WorkflowsWorkflowIdMergePost = (options) => {
388
301
  var _a;
389
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post(Object.assign(Object.assign({ security: [
390
- {
391
- scheme: 'bearer',
392
- type: 'http'
393
- }
394
- ], url: '/v1/workflows/{workflow_id}/merge' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options === null || options === void 0 ? void 0 : options.headers) }));
302
+ return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post(Object.assign(Object.assign({ security: [{ scheme: 'bearer', type: 'http' }], url: '/v1/workflows/{workflow_id}/merge' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options.headers) }));
395
303
  };
396
304
  exports.mergeWorkflowV1WorkflowsWorkflowIdMergePost = mergeWorkflowV1WorkflowsWorkflowIdMergePost;
397
305
  /**
398
306
  * Get Workflow Versions
307
+ *
399
308
  * Get the version history of a workflow.
400
309
  *
401
310
  * Returns a list of previous versions with their prompts and timestamps.
@@ -403,30 +312,22 @@ exports.mergeWorkflowV1WorkflowsWorkflowIdMergePost = mergeWorkflowV1WorkflowsWo
403
312
  */
404
313
  const getWorkflowVersionsV1WorkflowsWorkflowIdVersionsGet = (options) => {
405
314
  var _a;
406
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get(Object.assign({ security: [
407
- {
408
- scheme: 'bearer',
409
- type: 'http'
410
- }
411
- ], url: '/v1/workflows/{workflow_id}/versions' }, options));
315
+ return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get(Object.assign({ security: [{ scheme: 'bearer', type: 'http' }], url: '/v1/workflows/{workflow_id}/versions' }, options));
412
316
  };
413
317
  exports.getWorkflowVersionsV1WorkflowsWorkflowIdVersionsGet = getWorkflowVersionsV1WorkflowsWorkflowIdVersionsGet;
414
318
  /**
415
319
  * Delete a workflow prompt image
320
+ *
416
321
  * Delete a workflow prompt image from storage.
417
322
  */
418
323
  const deleteWorkflowPromptImageV1WorkflowsPromptImageDelete = (options) => {
419
324
  var _a;
420
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).delete(Object.assign({ security: [
421
- {
422
- scheme: 'bearer',
423
- type: 'http'
424
- }
425
- ], url: '/v1/workflows/prompt-image' }, options));
325
+ return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).delete(Object.assign({ security: [{ scheme: 'bearer', type: 'http' }], url: '/v1/workflows/prompt-image' }, options));
426
326
  };
427
327
  exports.deleteWorkflowPromptImageV1WorkflowsPromptImageDelete = deleteWorkflowPromptImageV1WorkflowsPromptImageDelete;
428
328
  /**
429
329
  * Upload a workflow prompt image
330
+ *
430
331
  * Upload an image to use in workflow prompts.
431
332
  *
432
333
  * The returned `supabase_url` can be embedded directly in workflow prompt HTML:
@@ -442,58 +343,42 @@ exports.deleteWorkflowPromptImageV1WorkflowsPromptImageDelete = deleteWorkflowPr
442
343
  */
443
344
  const uploadWorkflowPromptImageV1WorkflowsPromptImagePost = (options) => {
444
345
  var _a;
445
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post(Object.assign(Object.assign(Object.assign(Object.assign({}, client_fetch_1.formDataBodySerializer), { security: [
446
- {
447
- scheme: 'bearer',
448
- type: 'http'
449
- }
450
- ], url: '/v1/workflows/prompt-image' }), options), { headers: Object.assign({ 'Content-Type': null }, options === null || options === void 0 ? void 0 : options.headers) }));
346
+ return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post(Object.assign(Object.assign(Object.assign(Object.assign({}, client_1.formDataBodySerializer), { security: [{ scheme: 'bearer', type: 'http' }], url: '/v1/workflows/prompt-image' }), options), { headers: Object.assign({ 'Content-Type': null }, options.headers) }));
451
347
  };
452
348
  exports.uploadWorkflowPromptImageV1WorkflowsPromptImagePost = uploadWorkflowPromptImageV1WorkflowsPromptImagePost;
453
349
  /**
454
350
  * List workflow prompt images
351
+ *
455
352
  * List all prompt images uploaded for the organization.
456
353
  */
457
354
  const listWorkflowPromptImagesV1WorkflowsPromptImagesGet = (options) => {
458
355
  var _a;
459
- return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get(Object.assign({ security: [
460
- {
461
- scheme: 'bearer',
462
- type: 'http'
463
- }
464
- ], url: '/v1/workflows/prompt-images' }, options));
356
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get(Object.assign({ security: [{ scheme: 'bearer', type: 'http' }], url: '/v1/workflows/prompt-images' }, options));
465
357
  };
466
358
  exports.listWorkflowPromptImagesV1WorkflowsPromptImagesGet = listWorkflowPromptImagesV1WorkflowsPromptImagesGet;
467
359
  /**
468
360
  * Get signed URL for a prompt image
361
+ *
469
362
  * Get a fresh signed URL for an existing workflow prompt image.
470
363
  */
471
364
  const getWorkflowPromptImageSignedUrlV1WorkflowsPromptImageSignedUrlGet = (options) => {
472
365
  var _a;
473
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get(Object.assign({ security: [
474
- {
475
- scheme: 'bearer',
476
- type: 'http'
477
- }
478
- ], url: '/v1/workflows/prompt-image/signed-url' }, options));
366
+ return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get(Object.assign({ security: [{ scheme: 'bearer', type: 'http' }], url: '/v1/workflows/prompt-image/signed-url' }, options));
479
367
  };
480
368
  exports.getWorkflowPromptImageSignedUrlV1WorkflowsPromptImageSignedUrlGet = getWorkflowPromptImageSignedUrlV1WorkflowsPromptImageSignedUrlGet;
481
369
  /**
482
370
  * Get tags for a workflow
371
+ *
483
372
  * Get all tags assigned to a workflow.
484
373
  */
485
374
  const getWorkflowTagsV1WorkflowsWorkflowIdTagsGet = (options) => {
486
375
  var _a;
487
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get(Object.assign({ security: [
488
- {
489
- scheme: 'bearer',
490
- type: 'http'
491
- }
492
- ], url: '/v1/workflows/{workflow_id}/tags' }, options));
376
+ return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get(Object.assign({ security: [{ scheme: 'bearer', type: 'http' }], url: '/v1/workflows/{workflow_id}/tags' }, options));
493
377
  };
494
378
  exports.getWorkflowTagsV1WorkflowsWorkflowIdTagsGet = getWorkflowTagsV1WorkflowsWorkflowIdTagsGet;
495
379
  /**
496
380
  * Add tags to a workflow
381
+ *
497
382
  * Add one or more tags to a workflow.
498
383
  *
499
384
  * For tags that belong to a group (mutual exclusivity), adding a new tag from that group
@@ -501,30 +386,22 @@ exports.getWorkflowTagsV1WorkflowsWorkflowIdTagsGet = getWorkflowTagsV1Workflows
501
386
  */
502
387
  const addTagsToWorkflowV1WorkflowsWorkflowIdTagsPost = (options) => {
503
388
  var _a;
504
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post(Object.assign(Object.assign({ security: [
505
- {
506
- scheme: 'bearer',
507
- type: 'http'
508
- }
509
- ], url: '/v1/workflows/{workflow_id}/tags' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options === null || options === void 0 ? void 0 : options.headers) }));
389
+ return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post(Object.assign(Object.assign({ security: [{ scheme: 'bearer', type: 'http' }], url: '/v1/workflows/{workflow_id}/tags' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options.headers) }));
510
390
  };
511
391
  exports.addTagsToWorkflowV1WorkflowsWorkflowIdTagsPost = addTagsToWorkflowV1WorkflowsWorkflowIdTagsPost;
512
392
  /**
513
393
  * Remove a tag from a workflow
394
+ *
514
395
  * Remove a tag from a workflow.
515
396
  */
516
397
  const removeTagFromWorkflowV1WorkflowsWorkflowIdTagsTagIdDelete = (options) => {
517
398
  var _a;
518
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).delete(Object.assign({ security: [
519
- {
520
- scheme: 'bearer',
521
- type: 'http'
522
- }
523
- ], url: '/v1/workflows/{workflow_id}/tags/{tag_id}' }, options));
399
+ return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).delete(Object.assign({ security: [{ scheme: 'bearer', type: 'http' }], url: '/v1/workflows/{workflow_id}/tags/{tag_id}' }, options));
524
400
  };
525
401
  exports.removeTagFromWorkflowV1WorkflowsWorkflowIdTagsTagIdDelete = removeTagFromWorkflowV1WorkflowsWorkflowIdTagsTagIdDelete;
526
402
  /**
527
403
  * List Tags
404
+ *
528
405
  * List all workflow tags for the organization.
529
406
  *
530
407
  * Tags are returned ordered by their group (ungrouped first), then by order within group.
@@ -532,32 +409,24 @@ exports.removeTagFromWorkflowV1WorkflowsWorkflowIdTagsTagIdDelete = removeTagFro
532
409
  */
533
410
  const listTagsV1WorkflowTagsGet = (options) => {
534
411
  var _a;
535
- return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get(Object.assign({ security: [
536
- {
537
- scheme: 'bearer',
538
- type: 'http'
539
- }
540
- ], url: '/v1/workflow-tags' }, options));
412
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get(Object.assign({ security: [{ scheme: 'bearer', type: 'http' }], url: '/v1/workflow-tags' }, options));
541
413
  };
542
414
  exports.listTagsV1WorkflowTagsGet = listTagsV1WorkflowTagsGet;
543
415
  /**
544
416
  * Create Tag
417
+ *
545
418
  * Create a new workflow tag.
546
419
  *
547
420
  * Tags can optionally belong to a group for mutual exclusivity.
548
421
  */
549
422
  const createTagV1WorkflowTagsPost = (options) => {
550
423
  var _a;
551
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post(Object.assign(Object.assign({ security: [
552
- {
553
- scheme: 'bearer',
554
- type: 'http'
555
- }
556
- ], url: '/v1/workflow-tags' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options === null || options === void 0 ? void 0 : options.headers) }));
424
+ return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post(Object.assign(Object.assign({ security: [{ scheme: 'bearer', type: 'http' }], url: '/v1/workflow-tags' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options.headers) }));
557
425
  };
558
426
  exports.createTagV1WorkflowTagsPost = createTagV1WorkflowTagsPost;
559
427
  /**
560
428
  * Delete Tag
429
+ *
561
430
  * Delete a workflow tag.
562
431
  *
563
432
  * This is a hard delete - the tag is permanently removed and will be unassigned
@@ -566,44 +435,32 @@ exports.createTagV1WorkflowTagsPost = createTagV1WorkflowTagsPost;
566
435
  */
567
436
  const deleteTagV1WorkflowTagsTagIdDelete = (options) => {
568
437
  var _a;
569
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).delete(Object.assign({ security: [
570
- {
571
- scheme: 'bearer',
572
- type: 'http'
573
- }
574
- ], url: '/v1/workflow-tags/{tag_id}' }, options));
438
+ return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).delete(Object.assign({ security: [{ scheme: 'bearer', type: 'http' }], url: '/v1/workflow-tags/{tag_id}' }, options));
575
439
  };
576
440
  exports.deleteTagV1WorkflowTagsTagIdDelete = deleteTagV1WorkflowTagsTagIdDelete;
577
441
  /**
578
442
  * Get Tag
443
+ *
579
444
  * Get a specific workflow tag by ID.
580
445
  */
581
446
  const getTagV1WorkflowTagsTagIdGet = (options) => {
582
447
  var _a;
583
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get(Object.assign({ security: [
584
- {
585
- scheme: 'bearer',
586
- type: 'http'
587
- }
588
- ], url: '/v1/workflow-tags/{tag_id}' }, options));
448
+ return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get(Object.assign({ security: [{ scheme: 'bearer', type: 'http' }], url: '/v1/workflow-tags/{tag_id}' }, options));
589
449
  };
590
450
  exports.getTagV1WorkflowTagsTagIdGet = getTagV1WorkflowTagsTagIdGet;
591
451
  /**
592
452
  * Update Tag
453
+ *
593
454
  * Update a workflow tag.
594
455
  */
595
456
  const updateTagV1WorkflowTagsTagIdPatch = (options) => {
596
457
  var _a;
597
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).patch(Object.assign(Object.assign({ security: [
598
- {
599
- scheme: 'bearer',
600
- type: 'http'
601
- }
602
- ], url: '/v1/workflow-tags/{tag_id}' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options === null || options === void 0 ? void 0 : options.headers) }));
458
+ return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).patch(Object.assign(Object.assign({ security: [{ scheme: 'bearer', type: 'http' }], url: '/v1/workflow-tags/{tag_id}' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options.headers) }));
603
459
  };
604
460
  exports.updateTagV1WorkflowTagsTagIdPatch = updateTagV1WorkflowTagsTagIdPatch;
605
461
  /**
606
462
  * Archive Tag
463
+ *
607
464
  * Archive a workflow tag.
608
465
  *
609
466
  * Archived tags cannot be assigned to new workflows but remain on existing workflows.
@@ -611,32 +468,24 @@ exports.updateTagV1WorkflowTagsTagIdPatch = updateTagV1WorkflowTagsTagIdPatch;
611
468
  */
612
469
  const archiveTagV1WorkflowTagsTagIdArchivePost = (options) => {
613
470
  var _a;
614
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post(Object.assign({ security: [
615
- {
616
- scheme: 'bearer',
617
- type: 'http'
618
- }
619
- ], url: '/v1/workflow-tags/{tag_id}/archive' }, options));
471
+ return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post(Object.assign({ security: [{ scheme: 'bearer', type: 'http' }], url: '/v1/workflow-tags/{tag_id}/archive' }, options));
620
472
  };
621
473
  exports.archiveTagV1WorkflowTagsTagIdArchivePost = archiveTagV1WorkflowTagsTagIdArchivePost;
622
474
  /**
623
475
  * Unarchive Tag
476
+ *
624
477
  * Unarchive a workflow tag.
625
478
  *
626
479
  * Restores an archived tag so it can be assigned to workflows again.
627
480
  */
628
481
  const unarchiveTagV1WorkflowTagsTagIdUnarchivePost = (options) => {
629
482
  var _a;
630
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post(Object.assign({ security: [
631
- {
632
- scheme: 'bearer',
633
- type: 'http'
634
- }
635
- ], url: '/v1/workflow-tags/{tag_id}/unarchive' }, options));
483
+ return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post(Object.assign({ security: [{ scheme: 'bearer', type: 'http' }], url: '/v1/workflow-tags/{tag_id}/unarchive' }, options));
636
484
  };
637
485
  exports.unarchiveTagV1WorkflowTagsTagIdUnarchivePost = unarchiveTagV1WorkflowTagsTagIdUnarchivePost;
638
486
  /**
639
487
  * Reorder Tags
488
+ *
640
489
  * Reorder workflow tags.
641
490
  *
642
491
  * Provide a list of tag IDs in the desired order. The order field of each
@@ -646,16 +495,12 @@ exports.unarchiveTagV1WorkflowTagsTagIdUnarchivePost = unarchiveTagV1WorkflowTag
646
495
  */
647
496
  const reorderTagsV1WorkflowTagsReorderPut = (options) => {
648
497
  var _a;
649
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).put(Object.assign(Object.assign({ security: [
650
- {
651
- scheme: 'bearer',
652
- type: 'http'
653
- }
654
- ], url: '/v1/workflow-tags/reorder' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options === null || options === void 0 ? void 0 : options.headers) }));
498
+ return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).put(Object.assign(Object.assign({ security: [{ scheme: 'bearer', type: 'http' }], url: '/v1/workflow-tags/reorder' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options.headers) }));
655
499
  };
656
500
  exports.reorderTagsV1WorkflowTagsReorderPut = reorderTagsV1WorkflowTagsReorderPut;
657
501
  /**
658
502
  * List Tag Groups
503
+ *
659
504
  * List all workflow tag groups for the organization.
660
505
  *
661
506
  * Groups are returned ordered by their `order` field for consistent display.
@@ -663,16 +508,12 @@ exports.reorderTagsV1WorkflowTagsReorderPut = reorderTagsV1WorkflowTagsReorderPu
663
508
  */
664
509
  const listTagGroupsV1WorkflowTagGroupsGet = (options) => {
665
510
  var _a;
666
- return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get(Object.assign({ security: [
667
- {
668
- scheme: 'bearer',
669
- type: 'http'
670
- }
671
- ], url: '/v1/workflow-tag-groups' }, options));
511
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get(Object.assign({ security: [{ scheme: 'bearer', type: 'http' }], url: '/v1/workflow-tag-groups' }, options));
672
512
  };
673
513
  exports.listTagGroupsV1WorkflowTagGroupsGet = listTagGroupsV1WorkflowTagGroupsGet;
674
514
  /**
675
515
  * Create Tag Group
516
+ *
676
517
  * Create a new workflow tag group.
677
518
  *
678
519
  * Tag groups enable mutual exclusivity - when a workflow has a tag from a group,
@@ -680,16 +521,12 @@ exports.listTagGroupsV1WorkflowTagGroupsGet = listTagGroupsV1WorkflowTagGroupsGe
680
521
  */
681
522
  const createTagGroupV1WorkflowTagGroupsPost = (options) => {
682
523
  var _a;
683
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post(Object.assign(Object.assign({ security: [
684
- {
685
- scheme: 'bearer',
686
- type: 'http'
687
- }
688
- ], url: '/v1/workflow-tag-groups' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options === null || options === void 0 ? void 0 : options.headers) }));
524
+ return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post(Object.assign(Object.assign({ security: [{ scheme: 'bearer', type: 'http' }], url: '/v1/workflow-tag-groups' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options.headers) }));
689
525
  };
690
526
  exports.createTagGroupV1WorkflowTagGroupsPost = createTagGroupV1WorkflowTagGroupsPost;
691
527
  /**
692
528
  * Delete Tag Group
529
+ *
693
530
  * Delete a workflow tag group.
694
531
  *
695
532
  * Tags that belong to this group will become ungrouped (group_id set to null).
@@ -697,44 +534,32 @@ exports.createTagGroupV1WorkflowTagGroupsPost = createTagGroupV1WorkflowTagGroup
697
534
  */
698
535
  const deleteTagGroupV1WorkflowTagGroupsGroupIdDelete = (options) => {
699
536
  var _a;
700
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).delete(Object.assign({ security: [
701
- {
702
- scheme: 'bearer',
703
- type: 'http'
704
- }
705
- ], url: '/v1/workflow-tag-groups/{group_id}' }, options));
537
+ return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).delete(Object.assign({ security: [{ scheme: 'bearer', type: 'http' }], url: '/v1/workflow-tag-groups/{group_id}' }, options));
706
538
  };
707
539
  exports.deleteTagGroupV1WorkflowTagGroupsGroupIdDelete = deleteTagGroupV1WorkflowTagGroupsGroupIdDelete;
708
540
  /**
709
541
  * Get Tag Group
542
+ *
710
543
  * Get a specific workflow tag group by ID.
711
544
  */
712
545
  const getTagGroupV1WorkflowTagGroupsGroupIdGet = (options) => {
713
546
  var _a;
714
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get(Object.assign({ security: [
715
- {
716
- scheme: 'bearer',
717
- type: 'http'
718
- }
719
- ], url: '/v1/workflow-tag-groups/{group_id}' }, options));
547
+ return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get(Object.assign({ security: [{ scheme: 'bearer', type: 'http' }], url: '/v1/workflow-tag-groups/{group_id}' }, options));
720
548
  };
721
549
  exports.getTagGroupV1WorkflowTagGroupsGroupIdGet = getTagGroupV1WorkflowTagGroupsGroupIdGet;
722
550
  /**
723
551
  * Update Tag Group
552
+ *
724
553
  * Update a workflow tag group.
725
554
  */
726
555
  const updateTagGroupV1WorkflowTagGroupsGroupIdPatch = (options) => {
727
556
  var _a;
728
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).patch(Object.assign(Object.assign({ security: [
729
- {
730
- scheme: 'bearer',
731
- type: 'http'
732
- }
733
- ], url: '/v1/workflow-tag-groups/{group_id}' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options === null || options === void 0 ? void 0 : options.headers) }));
557
+ return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).patch(Object.assign(Object.assign({ security: [{ scheme: 'bearer', type: 'http' }], url: '/v1/workflow-tag-groups/{group_id}' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options.headers) }));
734
558
  };
735
559
  exports.updateTagGroupV1WorkflowTagGroupsGroupIdPatch = updateTagGroupV1WorkflowTagGroupsGroupIdPatch;
736
560
  /**
737
561
  * Reorder Tag Groups
562
+ *
738
563
  * Reorder workflow tag groups.
739
564
  *
740
565
  * Provide a list of group IDs in the desired order. The order field of each
@@ -742,12 +567,7 @@ exports.updateTagGroupV1WorkflowTagGroupsGroupIdPatch = updateTagGroupV1Workflow
742
567
  */
743
568
  const reorderTagGroupsV1WorkflowTagGroupsReorderPut = (options) => {
744
569
  var _a;
745
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).put(Object.assign(Object.assign({ security: [
746
- {
747
- scheme: 'bearer',
748
- type: 'http'
749
- }
750
- ], url: '/v1/workflow-tag-groups/reorder' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options === null || options === void 0 ? void 0 : options.headers) }));
570
+ return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).put(Object.assign(Object.assign({ security: [{ scheme: 'bearer', type: 'http' }], url: '/v1/workflow-tag-groups/reorder' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options.headers) }));
751
571
  };
752
572
  exports.reorderTagGroupsV1WorkflowTagGroupsReorderPut = reorderTagGroupsV1WorkflowTagGroupsReorderPut;
753
573
  /**
@@ -755,12 +575,7 @@ exports.reorderTagGroupsV1WorkflowTagGroupsReorderPut = reorderTagGroupsV1Workfl
755
575
  */
756
576
  const listModelConfigurationsV1ModelConfigurationsGet = (options) => {
757
577
  var _a;
758
- return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get(Object.assign({ security: [
759
- {
760
- scheme: 'bearer',
761
- type: 'http'
762
- }
763
- ], url: '/v1/model-configurations' }, options));
578
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get(Object.assign({ security: [{ scheme: 'bearer', type: 'http' }], url: '/v1/model-configurations' }, options));
764
579
  };
765
580
  exports.listModelConfigurationsV1ModelConfigurationsGet = listModelConfigurationsV1ModelConfigurationsGet;
766
581
  /**
@@ -768,12 +583,7 @@ exports.listModelConfigurationsV1ModelConfigurationsGet = listModelConfiguration
768
583
  */
769
584
  const createModelConfigurationV1ModelConfigurationsPost = (options) => {
770
585
  var _a;
771
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post(Object.assign(Object.assign({ security: [
772
- {
773
- scheme: 'bearer',
774
- type: 'http'
775
- }
776
- ], url: '/v1/model-configurations' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options === null || options === void 0 ? void 0 : options.headers) }));
586
+ return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post(Object.assign(Object.assign({ security: [{ scheme: 'bearer', type: 'http' }], url: '/v1/model-configurations' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options.headers) }));
777
587
  };
778
588
  exports.createModelConfigurationV1ModelConfigurationsPost = createModelConfigurationV1ModelConfigurationsPost;
779
589
  /**
@@ -781,12 +591,7 @@ exports.createModelConfigurationV1ModelConfigurationsPost = createModelConfigura
781
591
  */
782
592
  const deleteModelConfigurationV1ModelConfigurationsModelConfigurationIdDelete = (options) => {
783
593
  var _a;
784
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).delete(Object.assign({ security: [
785
- {
786
- scheme: 'bearer',
787
- type: 'http'
788
- }
789
- ], url: '/v1/model-configurations/{model_configuration_id}' }, options));
594
+ return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).delete(Object.assign({ security: [{ scheme: 'bearer', type: 'http' }], url: '/v1/model-configurations/{model_configuration_id}' }, options));
790
595
  };
791
596
  exports.deleteModelConfigurationV1ModelConfigurationsModelConfigurationIdDelete = deleteModelConfigurationV1ModelConfigurationsModelConfigurationIdDelete;
792
597
  /**
@@ -794,12 +599,7 @@ exports.deleteModelConfigurationV1ModelConfigurationsModelConfigurationIdDelete
794
599
  */
795
600
  const getModelConfigurationV1ModelConfigurationsModelConfigurationIdGet = (options) => {
796
601
  var _a;
797
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get(Object.assign({ security: [
798
- {
799
- scheme: 'bearer',
800
- type: 'http'
801
- }
802
- ], url: '/v1/model-configurations/{model_configuration_id}' }, options));
602
+ return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get(Object.assign({ security: [{ scheme: 'bearer', type: 'http' }], url: '/v1/model-configurations/{model_configuration_id}' }, options));
803
603
  };
804
604
  exports.getModelConfigurationV1ModelConfigurationsModelConfigurationIdGet = getModelConfigurationV1ModelConfigurationsModelConfigurationIdGet;
805
605
  /**
@@ -807,16 +607,12 @@ exports.getModelConfigurationV1ModelConfigurationsModelConfigurationIdGet = getM
807
607
  */
808
608
  const updateModelConfigurationV1ModelConfigurationsModelConfigurationIdPatch = (options) => {
809
609
  var _a;
810
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).patch(Object.assign(Object.assign({ security: [
811
- {
812
- scheme: 'bearer',
813
- type: 'http'
814
- }
815
- ], url: '/v1/model-configurations/{model_configuration_id}' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options === null || options === void 0 ? void 0 : options.headers) }));
610
+ return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).patch(Object.assign(Object.assign({ security: [{ scheme: 'bearer', type: 'http' }], url: '/v1/model-configurations/{model_configuration_id}' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options.headers) }));
816
611
  };
817
612
  exports.updateModelConfigurationV1ModelConfigurationsModelConfigurationIdPatch = updateModelConfigurationV1ModelConfigurationsModelConfigurationIdPatch;
818
613
  /**
819
614
  * List Runs
615
+ *
820
616
  * List all runs for the authenticated organization.
821
617
  *
822
618
  * Supports pagination and filtering by workflow, machine, and status.
@@ -828,16 +624,12 @@ exports.updateModelConfigurationV1ModelConfigurationsModelConfigurationIdPatch =
828
624
  */
829
625
  const listRunsV1RunsGet = (options) => {
830
626
  var _a;
831
- return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get(Object.assign({ security: [
832
- {
833
- scheme: 'bearer',
834
- type: 'http'
835
- }
836
- ], url: '/v1/runs' }, options));
627
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get(Object.assign({ security: [{ scheme: 'bearer', type: 'http' }], url: '/v1/runs' }, options));
837
628
  };
838
629
  exports.listRunsV1RunsGet = listRunsV1RunsGet;
839
630
  /**
840
631
  * Create Run
632
+ *
841
633
  * Create a new run.
842
634
  *
843
635
  * The workflow must exist and belong to the authenticated organization.
@@ -846,16 +638,12 @@ exports.listRunsV1RunsGet = listRunsV1RunsGet;
846
638
  */
847
639
  const createRunV1RunsPost = (options) => {
848
640
  var _a;
849
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post(Object.assign(Object.assign({ security: [
850
- {
851
- scheme: 'bearer',
852
- type: 'http'
853
- }
854
- ], url: '/v1/runs' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options === null || options === void 0 ? void 0 : options.headers) }));
641
+ return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post(Object.assign(Object.assign({ security: [{ scheme: 'bearer', type: 'http' }], url: '/v1/runs' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options.headers) }));
855
642
  };
856
643
  exports.createRunV1RunsPost = createRunV1RunsPost;
857
644
  /**
858
645
  * Delete Run
646
+ *
859
647
  * Delete a run.
860
648
  *
861
649
  * This will also delete all associated attachments and their files.
@@ -863,16 +651,12 @@ exports.createRunV1RunsPost = createRunV1RunsPost;
863
651
  */
864
652
  const deleteRunV1RunsRunIdDelete = (options) => {
865
653
  var _a;
866
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).delete(Object.assign({ security: [
867
- {
868
- scheme: 'bearer',
869
- type: 'http'
870
- }
871
- ], url: '/v1/runs/{run_id}' }, options));
654
+ return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).delete(Object.assign({ security: [{ scheme: 'bearer', type: 'http' }], url: '/v1/runs/{run_id}' }, options));
872
655
  };
873
656
  exports.deleteRunV1RunsRunIdDelete = deleteRunV1RunsRunIdDelete;
874
657
  /**
875
658
  * Get Run
659
+ *
876
660
  * Get a specific run by ID.
877
661
  *
878
662
  * The run must belong to the authenticated organization.
@@ -883,16 +667,12 @@ exports.deleteRunV1RunsRunIdDelete = deleteRunV1RunsRunIdDelete;
883
667
  */
884
668
  const getRunV1RunsRunIdGet = (options) => {
885
669
  var _a;
886
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get(Object.assign({ security: [
887
- {
888
- scheme: 'bearer',
889
- type: 'http'
890
- }
891
- ], url: '/v1/runs/{run_id}' }, options));
670
+ return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get(Object.assign({ security: [{ scheme: 'bearer', type: 'http' }], url: '/v1/runs/{run_id}' }, options));
892
671
  };
893
672
  exports.getRunV1RunsRunIdGet = getRunV1RunsRunIdGet;
894
673
  /**
895
674
  * Update Run
675
+ *
896
676
  * Update a run's data.
897
677
  *
898
678
  * Only the fields provided in the request body will be updated.
@@ -900,16 +680,12 @@ exports.getRunV1RunsRunIdGet = getRunV1RunsRunIdGet;
900
680
  */
901
681
  const updateRunV1RunsRunIdPatch = (options) => {
902
682
  var _a;
903
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).patch(Object.assign(Object.assign({ security: [
904
- {
905
- scheme: 'bearer',
906
- type: 'http'
907
- }
908
- ], url: '/v1/runs/{run_id}' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options === null || options === void 0 ? void 0 : options.headers) }));
683
+ return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).patch(Object.assign(Object.assign({ security: [{ scheme: 'bearer', type: 'http' }], url: '/v1/runs/{run_id}' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options.headers) }));
909
684
  };
910
685
  exports.updateRunV1RunsRunIdPatch = updateRunV1RunsRunIdPatch;
911
686
  /**
912
687
  * Get Run Trajectory
688
+ *
913
689
  * Get the latest trajectory associated with a run.
914
690
  *
915
691
  * Returns generated and non-generated trajectories so run details can expose
@@ -921,16 +697,12 @@ exports.updateRunV1RunsRunIdPatch = updateRunV1RunsRunIdPatch;
921
697
  */
922
698
  const getRunTrajectoryV1RunsRunIdTrajectoryGet = (options) => {
923
699
  var _a;
924
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get(Object.assign({ security: [
925
- {
926
- scheme: 'bearer',
927
- type: 'http'
928
- }
929
- ], url: '/v1/runs/{run_id}/trajectory' }, options));
700
+ return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get(Object.assign({ security: [{ scheme: 'bearer', type: 'http' }], url: '/v1/runs/{run_id}/trajectory' }, options));
930
701
  };
931
702
  exports.getRunTrajectoryV1RunsRunIdTrajectoryGet = getRunTrajectoryV1RunsRunIdTrajectoryGet;
932
703
  /**
933
704
  * Generate Run Trajectory
705
+ *
934
706
  * Mark the latest trajectory for a run as generated.
935
707
  *
936
708
  * This promotes whichever trajectory is currently latest by `updated_at`.
@@ -939,16 +711,12 @@ exports.getRunTrajectoryV1RunsRunIdTrajectoryGet = getRunTrajectoryV1RunsRunIdTr
939
711
  */
940
712
  const generateRunTrajectoryV1RunsRunIdGenerateTrajectoryPost = (options) => {
941
713
  var _a;
942
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post(Object.assign({ security: [
943
- {
944
- scheme: 'bearer',
945
- type: 'http'
946
- }
947
- ], url: '/v1/runs/{run_id}/generate-trajectory' }, options));
714
+ return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post(Object.assign({ security: [{ scheme: 'bearer', type: 'http' }], url: '/v1/runs/{run_id}/generate-trajectory' }, options));
948
715
  };
949
716
  exports.generateRunTrajectoryV1RunsRunIdGenerateTrajectoryPost = generateRunTrajectoryV1RunsRunIdGenerateTrajectoryPost;
950
717
  /**
951
718
  * Create Run Chain
719
+ *
952
720
  * Create a multi-step chain that runs on a single reserved session/machine.
953
721
  *
954
722
  * - Starts a new session unless session_id is provided (then runs on existing session).
@@ -960,16 +728,12 @@ exports.generateRunTrajectoryV1RunsRunIdGenerateTrajectoryPost = generateRunTraj
960
728
  */
961
729
  const createRunChainV1RunsChainPost = (options) => {
962
730
  var _a;
963
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post(Object.assign(Object.assign({ security: [
964
- {
965
- scheme: 'bearer',
966
- type: 'http'
967
- }
968
- ], url: '/v1/runs/chain' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options === null || options === void 0 ? void 0 : options.headers) }));
731
+ return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post(Object.assign(Object.assign({ security: [{ scheme: 'bearer', type: 'http' }], url: '/v1/runs/chain' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options.headers) }));
969
732
  };
970
733
  exports.createRunChainV1RunsChainPost = createRunChainV1RunsChainPost;
971
734
  /**
972
735
  * Bulk Create Runs
736
+ *
973
737
  * Create multiple runs with the same configuration.
974
738
  *
975
739
  * This endpoint creates multiple runs efficiently:
@@ -981,16 +745,12 @@ exports.createRunChainV1RunsChainPost = createRunChainV1RunsChainPost;
981
745
  */
982
746
  const bulkCreateRunsV1RunsBulkPost = (options) => {
983
747
  var _a;
984
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post(Object.assign(Object.assign({ security: [
985
- {
986
- scheme: 'bearer',
987
- type: 'http'
988
- }
989
- ], url: '/v1/runs/bulk' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options === null || options === void 0 ? void 0 : options.headers) }));
748
+ return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post(Object.assign(Object.assign({ security: [{ scheme: 'bearer', type: 'http' }], url: '/v1/runs/bulk' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options.headers) }));
990
749
  };
991
750
  exports.bulkCreateRunsV1RunsBulkPost = bulkCreateRunsV1RunsBulkPost;
992
751
  /**
993
752
  * Retry Run
753
+ *
994
754
  * Retry an existing run in-place (same run_id).
995
755
  *
996
756
  * - Rejects if run is active (scheduling or running).
@@ -1001,32 +761,24 @@ exports.bulkCreateRunsV1RunsBulkPost = bulkCreateRunsV1RunsBulkPost;
1001
761
  */
1002
762
  const retryRunV1RunsRunIdRetryPost = (options) => {
1003
763
  var _a;
1004
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post(Object.assign(Object.assign({ security: [
1005
- {
1006
- scheme: 'bearer',
1007
- type: 'http'
1008
- }
1009
- ], url: '/v1/runs/{run_id}/retry' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options === null || options === void 0 ? void 0 : options.headers) }));
764
+ return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post(Object.assign(Object.assign({ security: [{ scheme: 'bearer', type: 'http' }], url: '/v1/runs/{run_id}/retry' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options.headers) }));
1010
765
  };
1011
766
  exports.retryRunV1RunsRunIdRetryPost = retryRunV1RunsRunIdRetryPost;
1012
767
  /**
1013
768
  * List Run Attachments
769
+ *
1014
770
  * List all run attachments for the authenticated organization.
1015
771
  *
1016
772
  * Supports pagination and filtering by run ID and attachment type.
1017
773
  */
1018
774
  const listRunAttachmentsV1RunAttachmentsGet = (options) => {
1019
775
  var _a;
1020
- return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get(Object.assign({ security: [
1021
- {
1022
- scheme: 'bearer',
1023
- type: 'http'
1024
- }
1025
- ], url: '/v1/run-attachments' }, options));
776
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get(Object.assign({ security: [{ scheme: 'bearer', type: 'http' }], url: '/v1/run-attachments' }, options));
1026
777
  };
1027
778
  exports.listRunAttachmentsV1RunAttachmentsGet = listRunAttachmentsV1RunAttachmentsGet;
1028
779
  /**
1029
780
  * Create Run Attachment
781
+ *
1030
782
  * Create a new run attachment.
1031
783
  *
1032
784
  * This endpoint is primarily for internal use. File uploads typically happen
@@ -1034,64 +786,48 @@ exports.listRunAttachmentsV1RunAttachmentsGet = listRunAttachmentsV1RunAttachmen
1034
786
  */
1035
787
  const createRunAttachmentV1RunAttachmentsPost = (options) => {
1036
788
  var _a;
1037
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post(Object.assign(Object.assign({ security: [
1038
- {
1039
- scheme: 'bearer',
1040
- type: 'http'
1041
- }
1042
- ], url: '/v1/run-attachments' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options === null || options === void 0 ? void 0 : options.headers) }));
789
+ return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post(Object.assign(Object.assign({ security: [{ scheme: 'bearer', type: 'http' }], url: '/v1/run-attachments' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options.headers) }));
1043
790
  };
1044
791
  exports.createRunAttachmentV1RunAttachmentsPost = createRunAttachmentV1RunAttachmentsPost;
1045
792
  /**
1046
793
  * Delete Run Attachment
794
+ *
1047
795
  * Delete a run attachment.
1048
796
  *
1049
797
  * This will remove both the database record and the file from Supabase storage.
1050
798
  */
1051
799
  const deleteRunAttachmentV1RunAttachmentsAttachmentIdDelete = (options) => {
1052
800
  var _a;
1053
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).delete(Object.assign({ security: [
1054
- {
1055
- scheme: 'bearer',
1056
- type: 'http'
1057
- }
1058
- ], url: '/v1/run-attachments/{attachment_id}' }, options));
801
+ return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).delete(Object.assign({ security: [{ scheme: 'bearer', type: 'http' }], url: '/v1/run-attachments/{attachment_id}' }, options));
1059
802
  };
1060
803
  exports.deleteRunAttachmentV1RunAttachmentsAttachmentIdDelete = deleteRunAttachmentV1RunAttachmentsAttachmentIdDelete;
1061
804
  /**
1062
805
  * Get Run Attachment
806
+ *
1063
807
  * Get a specific run attachment by ID.
1064
808
  *
1065
809
  * Returns attachment metadata only. Use the download endpoint to get file content.
1066
810
  */
1067
811
  const getRunAttachmentV1RunAttachmentsAttachmentIdGet = (options) => {
1068
812
  var _a;
1069
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get(Object.assign({ security: [
1070
- {
1071
- scheme: 'bearer',
1072
- type: 'http'
1073
- }
1074
- ], url: '/v1/run-attachments/{attachment_id}' }, options));
813
+ return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get(Object.assign({ security: [{ scheme: 'bearer', type: 'http' }], url: '/v1/run-attachments/{attachment_id}' }, options));
1075
814
  };
1076
815
  exports.getRunAttachmentV1RunAttachmentsAttachmentIdGet = getRunAttachmentV1RunAttachmentsAttachmentIdGet;
1077
816
  /**
1078
817
  * Update Run Attachment
818
+ *
1079
819
  * Update a run attachment.
1080
820
  *
1081
821
  * Currently only supports updating the expiration date.
1082
822
  */
1083
823
  const updateRunAttachmentV1RunAttachmentsAttachmentIdPut = (options) => {
1084
824
  var _a;
1085
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).put(Object.assign(Object.assign({ security: [
1086
- {
1087
- scheme: 'bearer',
1088
- type: 'http'
1089
- }
1090
- ], url: '/v1/run-attachments/{attachment_id}' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options === null || options === void 0 ? void 0 : options.headers) }));
825
+ return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).put(Object.assign(Object.assign({ security: [{ scheme: 'bearer', type: 'http' }], url: '/v1/run-attachments/{attachment_id}' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options.headers) }));
1091
826
  };
1092
827
  exports.updateRunAttachmentV1RunAttachmentsAttachmentIdPut = updateRunAttachmentV1RunAttachmentsAttachmentIdPut;
1093
828
  /**
1094
829
  * Get Run Attachment Download Url
830
+ *
1095
831
  * Get a signed download URL for a run attachment file.
1096
832
  *
1097
833
  * Returns a signed URL that triggers automatic download when accessed.
@@ -1102,32 +838,24 @@ exports.updateRunAttachmentV1RunAttachmentsAttachmentIdPut = updateRunAttachment
1102
838
  */
1103
839
  const getRunAttachmentDownloadUrlV1RunAttachmentsAttachmentIdDownloadUrlGet = (options) => {
1104
840
  var _a;
1105
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get(Object.assign({ security: [
1106
- {
1107
- scheme: 'bearer',
1108
- type: 'http'
1109
- }
1110
- ], url: '/v1/run-attachments/{attachment_id}/download-url' }, options));
841
+ return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get(Object.assign({ security: [{ scheme: 'bearer', type: 'http' }], url: '/v1/run-attachments/{attachment_id}/download-url' }, options));
1111
842
  };
1112
843
  exports.getRunAttachmentDownloadUrlV1RunAttachmentsAttachmentIdDownloadUrlGet = getRunAttachmentDownloadUrlV1RunAttachmentsAttachmentIdDownloadUrlGet;
1113
844
  /**
1114
845
  * Download Run Attachment
846
+ *
1115
847
  * Download a run attachment file.
1116
848
  *
1117
849
  * Returns the raw file content as a streaming response.
1118
850
  */
1119
851
  const downloadRunAttachmentV1RunAttachmentsAttachmentIdDownloadGet = (options) => {
1120
852
  var _a;
1121
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get(Object.assign({ security: [
1122
- {
1123
- scheme: 'bearer',
1124
- type: 'http'
1125
- }
1126
- ], url: '/v1/run-attachments/{attachment_id}/download' }, options));
853
+ return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get(Object.assign({ security: [{ scheme: 'bearer', type: 'http' }], url: '/v1/run-attachments/{attachment_id}/download' }, options));
1127
854
  };
1128
855
  exports.downloadRunAttachmentV1RunAttachmentsAttachmentIdDownloadGet = downloadRunAttachmentV1RunAttachmentsAttachmentIdDownloadGet;
1129
856
  /**
1130
857
  * List Connections
858
+ *
1131
859
  * List all connections for the authenticated organization's machines.
1132
860
  *
1133
861
  * Supports pagination and filtering by machine and status.
@@ -1135,64 +863,48 @@ exports.downloadRunAttachmentV1RunAttachmentsAttachmentIdDownloadGet = downloadR
1135
863
  */
1136
864
  const listConnectionsV1ConnectionsGet = (options) => {
1137
865
  var _a;
1138
- return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get(Object.assign({ security: [
1139
- {
1140
- scheme: 'bearer',
1141
- type: 'http'
1142
- }
1143
- ], url: '/v1/connections' }, options));
866
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get(Object.assign({ security: [{ scheme: 'bearer', type: 'http' }], url: '/v1/connections' }, options));
1144
867
  };
1145
868
  exports.listConnectionsV1ConnectionsGet = listConnectionsV1ConnectionsGet;
1146
869
  /**
1147
870
  * Create Connection
871
+ *
1148
872
  * Create a new connection (typically done by the WebSocket handler).
1149
873
  *
1150
874
  * The machine must exist and belong to the authenticated organization.
1151
875
  */
1152
876
  const createConnectionV1ConnectionsPost = (options) => {
1153
877
  var _a;
1154
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post(Object.assign(Object.assign({ security: [
1155
- {
1156
- scheme: 'bearer',
1157
- type: 'http'
1158
- }
1159
- ], url: '/v1/connections' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options === null || options === void 0 ? void 0 : options.headers) }));
878
+ return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post(Object.assign(Object.assign({ security: [{ scheme: 'bearer', type: 'http' }], url: '/v1/connections' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options.headers) }));
1160
879
  };
1161
880
  exports.createConnectionV1ConnectionsPost = createConnectionV1ConnectionsPost;
1162
881
  /**
1163
882
  * Delete Connection
883
+ *
1164
884
  * Delete a connection (not typically used - connections are managed automatically).
1165
885
  *
1166
886
  * The connection must belong to a machine owned by the authenticated organization.
1167
887
  */
1168
888
  const deleteConnectionV1ConnectionsConnectionIdDelete = (options) => {
1169
889
  var _a;
1170
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).delete(Object.assign({ security: [
1171
- {
1172
- scheme: 'bearer',
1173
- type: 'http'
1174
- }
1175
- ], url: '/v1/connections/{connection_id}' }, options));
890
+ return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).delete(Object.assign({ security: [{ scheme: 'bearer', type: 'http' }], url: '/v1/connections/{connection_id}' }, options));
1176
891
  };
1177
892
  exports.deleteConnectionV1ConnectionsConnectionIdDelete = deleteConnectionV1ConnectionsConnectionIdDelete;
1178
893
  /**
1179
894
  * Get Connection
895
+ *
1180
896
  * Get a specific connection by ID.
1181
897
  *
1182
898
  * The connection must belong to a machine owned by the authenticated organization.
1183
899
  */
1184
900
  const getConnectionV1ConnectionsConnectionIdGet = (options) => {
1185
901
  var _a;
1186
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get(Object.assign({ security: [
1187
- {
1188
- scheme: 'bearer',
1189
- type: 'http'
1190
- }
1191
- ], url: '/v1/connections/{connection_id}' }, options));
902
+ return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get(Object.assign({ security: [{ scheme: 'bearer', type: 'http' }], url: '/v1/connections/{connection_id}' }, options));
1192
903
  };
1193
904
  exports.getConnectionV1ConnectionsConnectionIdGet = getConnectionV1ConnectionsConnectionIdGet;
1194
905
  /**
1195
906
  * Update Connection
907
+ *
1196
908
  * Update a connection's status or timestamps.
1197
909
  *
1198
910
  * Only the fields provided in the request body will be updated.
@@ -1200,32 +912,24 @@ exports.getConnectionV1ConnectionsConnectionIdGet = getConnectionV1ConnectionsCo
1200
912
  */
1201
913
  const updateConnectionV1ConnectionsConnectionIdPatch = (options) => {
1202
914
  var _a;
1203
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).patch(Object.assign(Object.assign({ security: [
1204
- {
1205
- scheme: 'bearer',
1206
- type: 'http'
1207
- }
1208
- ], url: '/v1/connections/{connection_id}' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options === null || options === void 0 ? void 0 : options.headers) }));
915
+ return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).patch(Object.assign(Object.assign({ security: [{ scheme: 'bearer', type: 'http' }], url: '/v1/connections/{connection_id}' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options.headers) }));
1209
916
  };
1210
917
  exports.updateConnectionV1ConnectionsConnectionIdPatch = updateConnectionV1ConnectionsConnectionIdPatch;
1211
918
  /**
1212
919
  * List Request Logs
920
+ *
1213
921
  * List all request logs for the authenticated organization's machines.
1214
922
  *
1215
923
  * Supports pagination and filtering by machine, HTTP method, and status code.
1216
924
  */
1217
925
  const listRequestLogsV1RequestLogsGet = (options) => {
1218
926
  var _a;
1219
- return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get(Object.assign({ security: [
1220
- {
1221
- scheme: 'bearer',
1222
- type: 'http'
1223
- }
1224
- ], url: '/v1/request-logs' }, options));
927
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get(Object.assign({ security: [{ scheme: 'bearer', type: 'http' }], url: '/v1/request-logs' }, options));
1225
928
  };
1226
929
  exports.listRequestLogsV1RequestLogsGet = listRequestLogsV1RequestLogsGet;
1227
930
  /**
1228
931
  * Create Request Log
932
+ *
1229
933
  * Create a new request log.
1230
934
  *
1231
935
  * The machine must exist and belong to the authenticated organization.
@@ -1233,48 +937,36 @@ exports.listRequestLogsV1RequestLogsGet = listRequestLogsV1RequestLogsGet;
1233
937
  */
1234
938
  const createRequestLogV1RequestLogsPost = (options) => {
1235
939
  var _a;
1236
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post(Object.assign(Object.assign({ security: [
1237
- {
1238
- scheme: 'bearer',
1239
- type: 'http'
1240
- }
1241
- ], url: '/v1/request-logs' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options === null || options === void 0 ? void 0 : options.headers) }));
940
+ return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post(Object.assign(Object.assign({ security: [{ scheme: 'bearer', type: 'http' }], url: '/v1/request-logs' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options.headers) }));
1242
941
  };
1243
942
  exports.createRequestLogV1RequestLogsPost = createRequestLogV1RequestLogsPost;
1244
943
  /**
1245
944
  * Delete Request Log
945
+ *
1246
946
  * Delete a request log (not typically used - logs are kept for analytics).
1247
947
  *
1248
948
  * The log must belong to a machine owned by the authenticated organization.
1249
949
  */
1250
950
  const deleteRequestLogV1RequestLogsLogIdDelete = (options) => {
1251
951
  var _a;
1252
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).delete(Object.assign({ security: [
1253
- {
1254
- scheme: 'bearer',
1255
- type: 'http'
1256
- }
1257
- ], url: '/v1/request-logs/{log_id}' }, options));
952
+ return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).delete(Object.assign({ security: [{ scheme: 'bearer', type: 'http' }], url: '/v1/request-logs/{log_id}' }, options));
1258
953
  };
1259
954
  exports.deleteRequestLogV1RequestLogsLogIdDelete = deleteRequestLogV1RequestLogsLogIdDelete;
1260
955
  /**
1261
956
  * Get Request Log
957
+ *
1262
958
  * Get a specific request log by ID.
1263
959
  *
1264
960
  * The log must belong to a machine owned by the authenticated organization.
1265
961
  */
1266
962
  const getRequestLogV1RequestLogsLogIdGet = (options) => {
1267
963
  var _a;
1268
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get(Object.assign({ security: [
1269
- {
1270
- scheme: 'bearer',
1271
- type: 'http'
1272
- }
1273
- ], url: '/v1/request-logs/{log_id}' }, options));
964
+ return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get(Object.assign({ security: [{ scheme: 'bearer', type: 'http' }], url: '/v1/request-logs/{log_id}' }, options));
1274
965
  };
1275
966
  exports.getRequestLogV1RequestLogsLogIdGet = getRequestLogV1RequestLogsLogIdGet;
1276
967
  /**
1277
968
  * Update Request Log
969
+ *
1278
970
  * Update a request log with response data.
1279
971
  *
1280
972
  * This is typically called when a request completes to add the response details.
@@ -1283,16 +975,12 @@ exports.getRequestLogV1RequestLogsLogIdGet = getRequestLogV1RequestLogsLogIdGet;
1283
975
  */
1284
976
  const updateRequestLogV1RequestLogsLogIdPatch = (options) => {
1285
977
  var _a;
1286
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).patch(Object.assign(Object.assign({ security: [
1287
- {
1288
- scheme: 'bearer',
1289
- type: 'http'
1290
- }
1291
- ], url: '/v1/request-logs/{log_id}' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options === null || options === void 0 ? void 0 : options.headers) }));
978
+ return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).patch(Object.assign(Object.assign({ security: [{ scheme: 'bearer', type: 'http' }], url: '/v1/request-logs/{log_id}' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options.headers) }));
1292
979
  };
1293
980
  exports.updateRequestLogV1RequestLogsLogIdPatch = updateRequestLogV1RequestLogsLogIdPatch;
1294
981
  /**
1295
982
  * List Trajectories
983
+ *
1296
984
  * List all trajectories for the authenticated organization.
1297
985
  *
1298
986
  * Supports pagination and filtering by workflow, run, approval, and generated status.
@@ -1304,16 +992,12 @@ exports.updateRequestLogV1RequestLogsLogIdPatch = updateRequestLogV1RequestLogsL
1304
992
  */
1305
993
  const listTrajectoriesV1TrajectoriesGet = (options) => {
1306
994
  var _a;
1307
- return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get(Object.assign({ security: [
1308
- {
1309
- scheme: 'bearer',
1310
- type: 'http'
1311
- }
1312
- ], url: '/v1/trajectories' }, options));
995
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get(Object.assign({ security: [{ scheme: 'bearer', type: 'http' }], url: '/v1/trajectories' }, options));
1313
996
  };
1314
997
  exports.listTrajectoriesV1TrajectoriesGet = listTrajectoriesV1TrajectoriesGet;
1315
998
  /**
1316
999
  * Create Trajectory
1000
+ *
1317
1001
  * Create a new trajectory for a workflow.
1318
1002
  *
1319
1003
  * The workflow must exist and belong to the authenticated organization.
@@ -1321,32 +1005,24 @@ exports.listTrajectoriesV1TrajectoriesGet = listTrajectoriesV1TrajectoriesGet;
1321
1005
  */
1322
1006
  const createTrajectoryV1TrajectoriesPost = (options) => {
1323
1007
  var _a;
1324
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post(Object.assign(Object.assign({ security: [
1325
- {
1326
- scheme: 'bearer',
1327
- type: 'http'
1328
- }
1329
- ], url: '/v1/trajectories' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options === null || options === void 0 ? void 0 : options.headers) }));
1008
+ return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post(Object.assign(Object.assign({ security: [{ scheme: 'bearer', type: 'http' }], url: '/v1/trajectories' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options.headers) }));
1330
1009
  };
1331
1010
  exports.createTrajectoryV1TrajectoriesPost = createTrajectoryV1TrajectoriesPost;
1332
1011
  /**
1333
1012
  * Delete Trajectory
1013
+ *
1334
1014
  * Delete a trajectory.
1335
1015
  *
1336
1016
  * The trajectory must belong to the authenticated organization.
1337
1017
  */
1338
1018
  const deleteTrajectoryV1TrajectoriesTrajectoryIdDelete = (options) => {
1339
1019
  var _a;
1340
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).delete(Object.assign({ security: [
1341
- {
1342
- scheme: 'bearer',
1343
- type: 'http'
1344
- }
1345
- ], url: '/v1/trajectories/{trajectory_id}' }, options));
1020
+ return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).delete(Object.assign({ security: [{ scheme: 'bearer', type: 'http' }], url: '/v1/trajectories/{trajectory_id}' }, options));
1346
1021
  };
1347
1022
  exports.deleteTrajectoryV1TrajectoriesTrajectoryIdDelete = deleteTrajectoryV1TrajectoriesTrajectoryIdDelete;
1348
1023
  /**
1349
1024
  * Get Trajectory
1025
+ *
1350
1026
  * Get a specific trajectory by ID.
1351
1027
  *
1352
1028
  * The trajectory must belong to the authenticated organization.
@@ -1358,16 +1034,12 @@ exports.deleteTrajectoryV1TrajectoriesTrajectoryIdDelete = deleteTrajectoryV1Tra
1358
1034
  */
1359
1035
  const getTrajectoryV1TrajectoriesTrajectoryIdGet = (options) => {
1360
1036
  var _a;
1361
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get(Object.assign({ security: [
1362
- {
1363
- scheme: 'bearer',
1364
- type: 'http'
1365
- }
1366
- ], url: '/v1/trajectories/{trajectory_id}' }, options));
1037
+ return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get(Object.assign({ security: [{ scheme: 'bearer', type: 'http' }], url: '/v1/trajectories/{trajectory_id}' }, options));
1367
1038
  };
1368
1039
  exports.getTrajectoryV1TrajectoriesTrajectoryIdGet = getTrajectoryV1TrajectoriesTrajectoryIdGet;
1369
1040
  /**
1370
1041
  * Update Trajectory
1042
+ *
1371
1043
  * Update a trajectory's data.
1372
1044
  *
1373
1045
  * Only the fields provided in the request body will be updated.
@@ -1375,16 +1047,12 @@ exports.getTrajectoryV1TrajectoriesTrajectoryIdGet = getTrajectoryV1Trajectories
1375
1047
  */
1376
1048
  const updateTrajectoryV1TrajectoriesTrajectoryIdPatch = (options) => {
1377
1049
  var _a;
1378
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).patch(Object.assign(Object.assign({ security: [
1379
- {
1380
- scheme: 'bearer',
1381
- type: 'http'
1382
- }
1383
- ], url: '/v1/trajectories/{trajectory_id}' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options === null || options === void 0 ? void 0 : options.headers) }));
1050
+ return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).patch(Object.assign(Object.assign({ security: [{ scheme: 'bearer', type: 'http' }], url: '/v1/trajectories/{trajectory_id}' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options.headers) }));
1384
1051
  };
1385
1052
  exports.updateTrajectoryV1TrajectoriesTrajectoryIdPatch = updateTrajectoryV1TrajectoriesTrajectoryIdPatch;
1386
1053
  /**
1387
1054
  * Duplicate Trajectory
1055
+ *
1388
1056
  * Duplicate a trajectory with fresh copies of all images.
1389
1057
  *
1390
1058
  * Creates a new trajectory with the same data as the source, but with
@@ -1393,16 +1061,12 @@ exports.updateTrajectoryV1TrajectoriesTrajectoryIdPatch = updateTrajectoryV1Traj
1393
1061
  */
1394
1062
  const duplicateTrajectoryV1TrajectoriesTrajectoryIdDuplicatePost = (options) => {
1395
1063
  var _a;
1396
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post(Object.assign({ security: [
1397
- {
1398
- scheme: 'bearer',
1399
- type: 'http'
1400
- }
1401
- ], url: '/v1/trajectories/{trajectory_id}/duplicate' }, options));
1064
+ return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post(Object.assign({ security: [{ scheme: 'bearer', type: 'http' }], url: '/v1/trajectories/{trajectory_id}/duplicate' }, options));
1402
1065
  };
1403
1066
  exports.duplicateTrajectoryV1TrajectoriesTrajectoryIdDuplicatePost = duplicateTrajectoryV1TrajectoriesTrajectoryIdDuplicatePost;
1404
1067
  /**
1405
1068
  * Get Latest Trajectory For Workflow
1069
+ *
1406
1070
  * Get the latest trajectory for a specific workflow.
1407
1071
  *
1408
1072
  * Returns the most recently updated trajectory for the workflow.
@@ -1410,242 +1074,174 @@ exports.duplicateTrajectoryV1TrajectoriesTrajectoryIdDuplicatePost = duplicateTr
1410
1074
  */
1411
1075
  const getLatestTrajectoryForWorkflowV1WorkflowsWorkflowIdLatestTrajectoryGet = (options) => {
1412
1076
  var _a;
1413
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get(Object.assign({ security: [
1414
- {
1415
- scheme: 'bearer',
1416
- type: 'http'
1417
- }
1418
- ], url: '/v1/workflows/{workflow_id}/latest-trajectory' }, options));
1077
+ return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get(Object.assign({ security: [{ scheme: 'bearer', type: 'http' }], url: '/v1/workflows/{workflow_id}/latest-trajectory' }, options));
1419
1078
  };
1420
1079
  exports.getLatestTrajectoryForWorkflowV1WorkflowsWorkflowIdLatestTrajectoryGet = getLatestTrajectoryForWorkflowV1WorkflowsWorkflowIdLatestTrajectoryGet;
1421
1080
  /**
1422
1081
  * Take a screenshot
1082
+ *
1423
1083
  * Take a screenshot of the machine's display.
1424
1084
  */
1425
1085
  const getScreenshotV1ComputerMachineIdDisplayScreenshotGet = (options) => {
1426
1086
  var _a;
1427
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get(Object.assign({ security: [
1428
- {
1429
- scheme: 'bearer',
1430
- type: 'http'
1431
- }
1432
- ], url: '/v1/computer/{machine_id}/display/screenshot' }, options));
1087
+ return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get(Object.assign({ security: [{ scheme: 'bearer', type: 'http' }], url: '/v1/computer/{machine_id}/display/screenshot' }, options));
1433
1088
  };
1434
1089
  exports.getScreenshotV1ComputerMachineIdDisplayScreenshotGet = getScreenshotV1ComputerMachineIdDisplayScreenshotGet;
1435
1090
  /**
1436
1091
  * Get display dimensions
1092
+ *
1437
1093
  * Get the display dimensions of the machine.
1438
1094
  */
1439
1095
  const getDisplayDimensionsV1ComputerMachineIdDisplayDimensionsGet = (options) => {
1440
1096
  var _a;
1441
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get(Object.assign({ security: [
1442
- {
1443
- scheme: 'bearer',
1444
- type: 'http'
1445
- }
1446
- ], url: '/v1/computer/{machine_id}/display/dimensions' }, options));
1097
+ return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get(Object.assign({ security: [{ scheme: 'bearer', type: 'http' }], url: '/v1/computer/{machine_id}/display/dimensions' }, options));
1447
1098
  };
1448
1099
  exports.getDisplayDimensionsV1ComputerMachineIdDisplayDimensionsGet = getDisplayDimensionsV1ComputerMachineIdDisplayDimensionsGet;
1449
1100
  /**
1450
1101
  * Type text
1102
+ *
1451
1103
  * Type text on the machine's keyboard.
1452
1104
  */
1453
1105
  const keyboardTypeV1ComputerMachineIdInputKeyboardTypePost = (options) => {
1454
1106
  var _a;
1455
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post(Object.assign(Object.assign({ security: [
1456
- {
1457
- scheme: 'bearer',
1458
- type: 'http'
1459
- }
1460
- ], url: '/v1/computer/{machine_id}/input/keyboard/type' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options === null || options === void 0 ? void 0 : options.headers) }));
1107
+ return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post(Object.assign(Object.assign({ security: [{ scheme: 'bearer', type: 'http' }], url: '/v1/computer/{machine_id}/input/keyboard/type' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options.headers) }));
1461
1108
  };
1462
1109
  exports.keyboardTypeV1ComputerMachineIdInputKeyboardTypePost = keyboardTypeV1ComputerMachineIdInputKeyboardTypePost;
1463
1110
  /**
1464
1111
  * Send key combination
1112
+ *
1465
1113
  * Send a key combination (e.g., 'ctrl+a', 'alt+tab').
1466
1114
  */
1467
1115
  const keyboardKeyV1ComputerMachineIdInputKeyboardKeyPost = (options) => {
1468
1116
  var _a;
1469
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post(Object.assign(Object.assign({ security: [
1470
- {
1471
- scheme: 'bearer',
1472
- type: 'http'
1473
- }
1474
- ], url: '/v1/computer/{machine_id}/input/keyboard/key' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options === null || options === void 0 ? void 0 : options.headers) }));
1117
+ return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post(Object.assign(Object.assign({ security: [{ scheme: 'bearer', type: 'http' }], url: '/v1/computer/{machine_id}/input/keyboard/key' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options.headers) }));
1475
1118
  };
1476
1119
  exports.keyboardKeyV1ComputerMachineIdInputKeyboardKeyPost = keyboardKeyV1ComputerMachineIdInputKeyboardKeyPost;
1477
1120
  /**
1478
1121
  * Copy to clipboard via Ctrl+C
1122
+ *
1479
1123
  * Execute Ctrl+C and return clipboard contents with the specified key name.
1480
1124
  */
1481
1125
  const copyToClipboardV1ComputerMachineIdCopyToClipboardPost = (options) => {
1482
1126
  var _a;
1483
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post(Object.assign(Object.assign({ security: [
1484
- {
1485
- scheme: 'bearer',
1486
- type: 'http'
1487
- }
1488
- ], url: '/v1/computer/{machine_id}/copy_to_clipboard' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options === null || options === void 0 ? void 0 : options.headers) }));
1127
+ return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post(Object.assign(Object.assign({ security: [{ scheme: 'bearer', type: 'http' }], url: '/v1/computer/{machine_id}/copy_to_clipboard' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options.headers) }));
1489
1128
  };
1490
1129
  exports.copyToClipboardV1ComputerMachineIdCopyToClipboardPost = copyToClipboardV1ComputerMachineIdCopyToClipboardPost;
1491
1130
  /**
1492
1131
  * Get mouse position
1132
+ *
1493
1133
  * Get the current mouse cursor position.
1494
1134
  */
1495
1135
  const getMousePositionV1ComputerMachineIdInputMousePositionGet = (options) => {
1496
1136
  var _a;
1497
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get(Object.assign({ security: [
1498
- {
1499
- scheme: 'bearer',
1500
- type: 'http'
1501
- }
1502
- ], url: '/v1/computer/{machine_id}/input/mouse/position' }, options));
1137
+ return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get(Object.assign({ security: [{ scheme: 'bearer', type: 'http' }], url: '/v1/computer/{machine_id}/input/mouse/position' }, options));
1503
1138
  };
1504
1139
  exports.getMousePositionV1ComputerMachineIdInputMousePositionGet = getMousePositionV1ComputerMachineIdInputMousePositionGet;
1505
1140
  /**
1506
1141
  * Move mouse cursor
1142
+ *
1507
1143
  * Move the mouse cursor to specified coordinates.
1508
1144
  */
1509
1145
  const mouseMoveV1ComputerMachineIdInputMouseMovePost = (options) => {
1510
1146
  var _a;
1511
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post(Object.assign(Object.assign({ security: [
1512
- {
1513
- scheme: 'bearer',
1514
- type: 'http'
1515
- }
1516
- ], url: '/v1/computer/{machine_id}/input/mouse/move' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options === null || options === void 0 ? void 0 : options.headers) }));
1147
+ return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post(Object.assign(Object.assign({ security: [{ scheme: 'bearer', type: 'http' }], url: '/v1/computer/{machine_id}/input/mouse/move' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options.headers) }));
1517
1148
  };
1518
1149
  exports.mouseMoveV1ComputerMachineIdInputMouseMovePost = mouseMoveV1ComputerMachineIdInputMouseMovePost;
1519
1150
  /**
1520
1151
  * Click mouse button
1152
+ *
1521
1153
  * Click the mouse button at specified coordinates.
1522
1154
  * If coordinates are not provided, clicks at current position.
1523
1155
  */
1524
1156
  const mouseClickV1ComputerMachineIdInputMouseClickPost = (options) => {
1525
1157
  var _a;
1526
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post(Object.assign(Object.assign({ security: [
1527
- {
1528
- scheme: 'bearer',
1529
- type: 'http'
1530
- }
1531
- ], url: '/v1/computer/{machine_id}/input/mouse/click' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options === null || options === void 0 ? void 0 : options.headers) }));
1158
+ return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post(Object.assign(Object.assign({ security: [{ scheme: 'bearer', type: 'http' }], url: '/v1/computer/{machine_id}/input/mouse/click' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options.headers) }));
1532
1159
  };
1533
1160
  exports.mouseClickV1ComputerMachineIdInputMouseClickPost = mouseClickV1ComputerMachineIdInputMouseClickPost;
1534
1161
  /**
1535
1162
  * Scroll mouse wheel
1163
+ *
1536
1164
  * Scroll the mouse wheel in the specified direction by a number of steps.
1537
1165
  * Optionally moves to (x, y) before scrolling.
1538
1166
  */
1539
1167
  const mouseScrollV1ComputerMachineIdInputMouseScrollPost = (options) => {
1540
1168
  var _a;
1541
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post(Object.assign(Object.assign({ security: [
1542
- {
1543
- scheme: 'bearer',
1544
- type: 'http'
1545
- }
1546
- ], url: '/v1/computer/{machine_id}/input/mouse/scroll' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options === null || options === void 0 ? void 0 : options.headers) }));
1169
+ return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post(Object.assign(Object.assign({ security: [{ scheme: 'bearer', type: 'http' }], url: '/v1/computer/{machine_id}/input/mouse/scroll' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options.headers) }));
1547
1170
  };
1548
1171
  exports.mouseScrollV1ComputerMachineIdInputMouseScrollPost = mouseScrollV1ComputerMachineIdInputMouseScrollPost;
1549
1172
  /**
1550
1173
  * Drag mouse (native)
1174
+ *
1551
1175
  * Perform a drag operation using absolute coordinates with required start and optional duration.
1552
1176
  */
1553
1177
  const mouseDragV1ComputerMachineIdInputMouseDragPost = (options) => {
1554
1178
  var _a;
1555
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post(Object.assign(Object.assign({ security: [
1556
- {
1557
- scheme: 'bearer',
1558
- type: 'http'
1559
- }
1560
- ], url: '/v1/computer/{machine_id}/input/mouse/drag' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options === null || options === void 0 ? void 0 : options.headers) }));
1179
+ return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post(Object.assign(Object.assign({ security: [{ scheme: 'bearer', type: 'http' }], url: '/v1/computer/{machine_id}/input/mouse/drag' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options.headers) }));
1561
1180
  };
1562
1181
  exports.mouseDragV1ComputerMachineIdInputMouseDragPost = mouseDragV1ComputerMachineIdInputMouseDragPost;
1563
1182
  /**
1564
1183
  * List directory contents
1184
+ *
1565
1185
  * List directory contents on the machine.
1566
1186
  */
1567
1187
  const fsListV1ComputerMachineIdFsListGet = (options) => {
1568
1188
  var _a;
1569
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get(Object.assign({ security: [
1570
- {
1571
- scheme: 'bearer',
1572
- type: 'http'
1573
- }
1574
- ], url: '/v1/computer/{machine_id}/fs/list' }, options));
1189
+ return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get(Object.assign({ security: [{ scheme: 'bearer', type: 'http' }], url: '/v1/computer/{machine_id}/fs/list' }, options));
1575
1190
  };
1576
1191
  exports.fsListV1ComputerMachineIdFsListGet = fsListV1ComputerMachineIdFsListGet;
1577
1192
  /**
1578
1193
  * Read file contents
1194
+ *
1579
1195
  * Read file contents from the machine (base64 encoded).
1580
1196
  */
1581
1197
  const fsReadV1ComputerMachineIdFsReadGet = (options) => {
1582
1198
  var _a;
1583
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get(Object.assign({ security: [
1584
- {
1585
- scheme: 'bearer',
1586
- type: 'http'
1587
- }
1588
- ], url: '/v1/computer/{machine_id}/fs/read' }, options));
1199
+ return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get(Object.assign({ security: [{ scheme: 'bearer', type: 'http' }], url: '/v1/computer/{machine_id}/fs/read' }, options));
1589
1200
  };
1590
1201
  exports.fsReadV1ComputerMachineIdFsReadGet = fsReadV1ComputerMachineIdFsReadGet;
1591
1202
  /**
1592
1203
  * Write file contents
1204
+ *
1593
1205
  * Write file contents to the machine.
1594
1206
  */
1595
1207
  const fsWriteV1ComputerMachineIdFsWritePost = (options) => {
1596
1208
  var _a;
1597
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post(Object.assign(Object.assign({ security: [
1598
- {
1599
- scheme: 'bearer',
1600
- type: 'http'
1601
- }
1602
- ], url: '/v1/computer/{machine_id}/fs/write' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options === null || options === void 0 ? void 0 : options.headers) }));
1209
+ return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post(Object.assign(Object.assign({ security: [{ scheme: 'bearer', type: 'http' }], url: '/v1/computer/{machine_id}/fs/write' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options.headers) }));
1603
1210
  };
1604
1211
  exports.fsWriteV1ComputerMachineIdFsWritePost = fsWriteV1ComputerMachineIdFsWritePost;
1605
1212
  /**
1606
1213
  * Execute PowerShell command
1214
+ *
1607
1215
  * Execute PowerShell command on the machine.
1608
1216
  */
1609
1217
  const powershellExecV1ComputerMachineIdShellPowershellExecPost = (options) => {
1610
1218
  var _a;
1611
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post(Object.assign(Object.assign({ security: [
1612
- {
1613
- scheme: 'bearer',
1614
- type: 'http'
1615
- }
1616
- ], url: '/v1/computer/{machine_id}/shell/powershell/exec' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options === null || options === void 0 ? void 0 : options.headers) }));
1219
+ return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post(Object.assign(Object.assign({ security: [{ scheme: 'bearer', type: 'http' }], url: '/v1/computer/{machine_id}/shell/powershell/exec' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options.headers) }));
1617
1220
  };
1618
1221
  exports.powershellExecV1ComputerMachineIdShellPowershellExecPost = powershellExecV1ComputerMachineIdShellPowershellExecPost;
1619
1222
  /**
1620
1223
  * Manage PowerShell session
1224
+ *
1621
1225
  * Create or destroy PowerShell sessions on the machine.
1622
1226
  */
1623
1227
  const powershellSessionV1ComputerMachineIdShellPowershellSessionPost = (options) => {
1624
1228
  var _a;
1625
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post(Object.assign(Object.assign({ security: [
1626
- {
1627
- scheme: 'bearer',
1628
- type: 'http'
1629
- }
1630
- ], url: '/v1/computer/{machine_id}/shell/powershell/session' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options === null || options === void 0 ? void 0 : options.headers) }));
1229
+ return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post(Object.assign(Object.assign({ security: [{ scheme: 'bearer', type: 'http' }], url: '/v1/computer/{machine_id}/shell/powershell/session' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options.headers) }));
1631
1230
  };
1632
1231
  exports.powershellSessionV1ComputerMachineIdShellPowershellSessionPost = powershellSessionV1ComputerMachineIdShellPowershellSessionPost;
1633
1232
  /**
1634
1233
  * Shutdown Cyberdriver via tunnel
1234
+ *
1635
1235
  * Request CyberDriver process shutdown through the existing tunnel proxy path.
1636
1236
  */
1637
1237
  const cyberdriverShutdownV1MachinesMachineIdCyberdriverShutdownPost = (options) => {
1638
1238
  var _a;
1639
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post(Object.assign(Object.assign({ security: [
1640
- {
1641
- scheme: 'bearer',
1642
- type: 'http'
1643
- }
1644
- ], url: '/v1/machines/{machine_id}/cyberdriver/shutdown' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options === null || options === void 0 ? void 0 : options.headers) }));
1239
+ return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post(Object.assign(Object.assign({ security: [{ scheme: 'bearer', type: 'http' }], url: '/v1/machines/{machine_id}/cyberdriver/shutdown' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options.headers) }));
1645
1240
  };
1646
1241
  exports.cyberdriverShutdownV1MachinesMachineIdCyberdriverShutdownPost = cyberdriverShutdownV1MachinesMachineIdCyberdriverShutdownPost;
1647
1242
  /**
1648
1243
  * Get Usage Aggregate
1244
+ *
1649
1245
  * Aggregate usage (agentic and cached steps) for a given date range.
1650
1246
  *
1651
1247
  * Two modes are supported:
@@ -1657,66 +1253,52 @@ exports.cyberdriverShutdownV1MachinesMachineIdCyberdriverShutdownPost = cyberdri
1657
1253
  */
1658
1254
  const getUsageAggregateV1UsageAggregateGet = (options) => {
1659
1255
  var _a;
1660
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get(Object.assign({ security: [
1661
- {
1662
- scheme: 'bearer',
1663
- type: 'http'
1664
- }
1665
- ], url: '/v1/usage/aggregate' }, options));
1256
+ return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get(Object.assign({ security: [{ scheme: 'bearer', type: 'http' }], url: '/v1/usage/aggregate' }, options));
1666
1257
  };
1667
1258
  exports.getUsageAggregateV1UsageAggregateGet = getUsageAggregateV1UsageAggregateGet;
1668
1259
  /**
1669
1260
  * Root
1261
+ *
1670
1262
  * Root endpoint with service information
1671
1263
  */
1672
- const rootGet = (options) => {
1673
- var _a;
1674
- return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get(Object.assign({ url: '/' }, options));
1675
- };
1264
+ const rootGet = (options) => { var _a; return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get(Object.assign({ url: '/' }, options)); };
1676
1265
  exports.rootGet = rootGet;
1677
1266
  /**
1678
1267
  * Health Live
1268
+ *
1679
1269
  * Liveness probe - Is the process alive?
1680
1270
  * Always returns 200 if the server can respond.
1681
1271
  * Use this for: Kubernetes liveness probes, basic "is it up" checks.
1682
1272
  */
1683
- const healthLiveHealthLiveGet = (options) => {
1684
- var _a;
1685
- return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get(Object.assign({ url: '/health/live' }, options));
1686
- };
1273
+ const healthLiveHealthLiveGet = (options) => { var _a; return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get(Object.assign({ url: '/health/live' }, options)); };
1687
1274
  exports.healthLiveHealthLiveGet = healthLiveHealthLiveGet;
1688
1275
  /**
1689
1276
  * Health Ready
1277
+ *
1690
1278
  * Readiness probe - Can the service handle requests?
1691
1279
  * Checks all critical dependencies with timeouts.
1692
1280
  * Use this for: Load balancer health checks, Better Stack monitoring.
1693
1281
  * Returns 503 if any critical dependency is down.
1694
1282
  */
1695
- const healthReadyHealthReadyGet = (options) => {
1696
- var _a;
1697
- return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get(Object.assign({ url: '/health/ready' }, options));
1698
- };
1283
+ const healthReadyHealthReadyGet = (options) => { var _a; return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get(Object.assign({ url: '/health/ready' }, options)); };
1699
1284
  exports.healthReadyHealthReadyGet = healthReadyHealthReadyGet;
1700
1285
  /**
1701
1286
  * Health
1287
+ *
1702
1288
  * Backward compatible health check - redirects to readiness check.
1703
1289
  */
1704
- const healthHealthGet = (options) => {
1705
- var _a;
1706
- return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get(Object.assign({ url: '/health' }, options));
1707
- };
1290
+ const healthHealthGet = (options) => { var _a; return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get(Object.assign({ url: '/health' }, options)); };
1708
1291
  exports.healthHealthGet = healthHealthGet;
1709
1292
  /**
1710
1293
  * Health Db
1294
+ *
1711
1295
  * Legacy endpoint - checks database only.
1712
1296
  */
1713
- const healthDbHealthDbGet = (options) => {
1714
- var _a;
1715
- return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get(Object.assign({ url: '/health/db' }, options));
1716
- };
1297
+ const healthDbHealthDbGet = (options) => { var _a; return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get(Object.assign({ url: '/health/db' }, options)); };
1717
1298
  exports.healthDbHealthDbGet = healthDbHealthDbGet;
1718
1299
  /**
1719
1300
  * Health Machines
1301
+ *
1720
1302
  * Probe the dimensions endpoint for all connected machines in scope.
1721
1303
  *
1722
1304
  * Scope rules:
@@ -1725,11 +1307,6 @@ exports.healthDbHealthDbGet = healthDbHealthDbGet;
1725
1307
  */
1726
1308
  const healthMachinesV1HealthMachinesGet = (options) => {
1727
1309
  var _a;
1728
- return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get(Object.assign({ security: [
1729
- {
1730
- scheme: 'bearer',
1731
- type: 'http'
1732
- }
1733
- ], url: '/v1/health/machines' }, options));
1310
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get(Object.assign({ security: [{ scheme: 'bearer', type: 'http' }], url: '/v1/health/machines' }, options));
1734
1311
  };
1735
1312
  exports.healthMachinesV1HealthMachinesGet = healthMachinesV1HealthMachinesGet;