cyberdesk 0.2.1 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +64 -73
- package/dist/client/client.gen.js +1 -3
- package/dist/client/sdk.gen.d.ts +319 -44
- package/dist/client/sdk.gen.js +664 -26
- package/dist/client/types.gen.d.ts +1067 -554
- package/dist/index.d.ts +154 -36
- package/dist/index.js +190 -46
- package/package.json +1 -1
|
@@ -1,724 +1,1237 @@
|
|
|
1
|
-
|
|
1
|
+
/**
|
|
2
|
+
* Schema for creating a connection
|
|
3
|
+
*/
|
|
4
|
+
export type ConnectionCreate = {
|
|
5
|
+
websocket_id: string;
|
|
6
|
+
ip_address?: string | null;
|
|
7
|
+
user_agent?: string | null;
|
|
8
|
+
machine_id: string;
|
|
9
|
+
};
|
|
10
|
+
/**
|
|
11
|
+
* Connection response schema
|
|
12
|
+
*/
|
|
13
|
+
export type ConnectionResponse = {
|
|
14
|
+
websocket_id: string;
|
|
15
|
+
ip_address?: string | null;
|
|
16
|
+
user_agent?: string | null;
|
|
17
|
+
id: string;
|
|
18
|
+
machine_id: string;
|
|
19
|
+
connected_at: string;
|
|
20
|
+
disconnected_at: string | null;
|
|
21
|
+
last_ping: string;
|
|
22
|
+
status: ConnectionStatus;
|
|
23
|
+
};
|
|
24
|
+
export type ConnectionStatus = 'connected' | 'disconnected' | 'error';
|
|
25
|
+
/**
|
|
26
|
+
* Schema for updating a connection
|
|
27
|
+
*/
|
|
28
|
+
export type ConnectionUpdate = {
|
|
29
|
+
status?: ConnectionStatus | null;
|
|
30
|
+
last_ping?: string | null;
|
|
31
|
+
disconnected_at?: string | null;
|
|
32
|
+
};
|
|
33
|
+
export type DisplayDimensions = {
|
|
34
|
+
width: number;
|
|
35
|
+
height: number;
|
|
36
|
+
};
|
|
37
|
+
export type HttpValidationError = {
|
|
38
|
+
detail?: Array<ValidationError>;
|
|
39
|
+
};
|
|
40
|
+
export type KeyboardKeyRequest = {
|
|
41
|
+
text: string;
|
|
42
|
+
};
|
|
43
|
+
export type KeyboardTypeRequest = {
|
|
44
|
+
text: string;
|
|
45
|
+
};
|
|
46
|
+
/**
|
|
47
|
+
* Schema for creating a machine
|
|
48
|
+
*/
|
|
49
|
+
export type MachineCreate = {
|
|
50
|
+
fingerprint: string;
|
|
51
|
+
version?: string | null;
|
|
52
|
+
hostname?: string | null;
|
|
53
|
+
os_info?: string | null;
|
|
54
|
+
unkey_key_id: string;
|
|
55
|
+
};
|
|
56
|
+
/**
|
|
57
|
+
* Machine response schema
|
|
58
|
+
*/
|
|
59
|
+
export type MachineResponse = {
|
|
60
|
+
fingerprint: string;
|
|
61
|
+
version?: string | null;
|
|
62
|
+
hostname?: string | null;
|
|
63
|
+
os_info?: string | null;
|
|
64
|
+
id: string;
|
|
65
|
+
user_id: string;
|
|
66
|
+
unkey_key_id: string;
|
|
67
|
+
status: MachineStatus;
|
|
68
|
+
is_available: boolean;
|
|
69
|
+
created_at: string;
|
|
70
|
+
last_seen: string;
|
|
71
|
+
};
|
|
72
|
+
export type MachineStatus = 'connected' | 'disconnected' | 'error';
|
|
73
|
+
/**
|
|
74
|
+
* Schema for updating a machine
|
|
75
|
+
*/
|
|
76
|
+
export type MachineUpdate = {
|
|
77
|
+
version?: string | null;
|
|
78
|
+
hostname?: string | null;
|
|
79
|
+
os_info?: string | null;
|
|
80
|
+
status?: MachineStatus | null;
|
|
81
|
+
is_available?: boolean | null;
|
|
82
|
+
last_seen?: string | null;
|
|
83
|
+
};
|
|
84
|
+
export type MouseClickRequest = {
|
|
85
|
+
x?: number | null;
|
|
86
|
+
y?: number | null;
|
|
87
|
+
button?: string;
|
|
88
|
+
down?: boolean;
|
|
89
|
+
};
|
|
90
|
+
export type MouseMoveRequest = {
|
|
91
|
+
x: number;
|
|
92
|
+
y: number;
|
|
93
|
+
};
|
|
94
|
+
export type MousePosition = {
|
|
95
|
+
x: number;
|
|
96
|
+
y: number;
|
|
97
|
+
};
|
|
98
|
+
/**
|
|
99
|
+
* Paginated response wrapper
|
|
100
|
+
*/
|
|
101
|
+
export type PaginatedResponse = {
|
|
102
|
+
items: Array<unknown>;
|
|
103
|
+
total: number;
|
|
104
|
+
skip: number;
|
|
105
|
+
limit: number;
|
|
106
|
+
};
|
|
107
|
+
export type PaginatedResponseConnectionResponse = {
|
|
108
|
+
items: Array<ConnectionResponse>;
|
|
109
|
+
total: number;
|
|
110
|
+
skip: number;
|
|
111
|
+
limit: number;
|
|
112
|
+
};
|
|
113
|
+
export type PaginatedResponseMachineResponse = {
|
|
114
|
+
items: Array<MachineResponse>;
|
|
115
|
+
total: number;
|
|
116
|
+
skip: number;
|
|
117
|
+
limit: number;
|
|
118
|
+
};
|
|
119
|
+
export type PaginatedResponseRunResponse = {
|
|
120
|
+
items: Array<RunResponse>;
|
|
121
|
+
total: number;
|
|
122
|
+
skip: number;
|
|
123
|
+
limit: number;
|
|
124
|
+
};
|
|
125
|
+
export type PaginatedResponseTrajectoryResponse = {
|
|
126
|
+
items: Array<TrajectoryResponse>;
|
|
127
|
+
total: number;
|
|
128
|
+
skip: number;
|
|
129
|
+
limit: number;
|
|
130
|
+
};
|
|
131
|
+
export type PaginatedResponseWorkflowResponse = {
|
|
132
|
+
items: Array<WorkflowResponse>;
|
|
133
|
+
total: number;
|
|
134
|
+
skip: number;
|
|
135
|
+
limit: number;
|
|
136
|
+
};
|
|
137
|
+
/**
|
|
138
|
+
* Schema for creating a request log
|
|
139
|
+
*/
|
|
140
|
+
export type RequestLogCreate = {
|
|
141
|
+
request_id: string;
|
|
142
|
+
method: string;
|
|
143
|
+
path: string;
|
|
144
|
+
status_code?: number | null;
|
|
145
|
+
request_size_bytes?: number | null;
|
|
146
|
+
response_size_bytes?: number | null;
|
|
147
|
+
duration_ms?: number | null;
|
|
148
|
+
error_message?: string | null;
|
|
149
|
+
machine_id: string;
|
|
150
|
+
};
|
|
151
|
+
/**
|
|
152
|
+
* Request log response schema
|
|
153
|
+
*/
|
|
154
|
+
export type RequestLogResponse = {
|
|
155
|
+
request_id: string;
|
|
156
|
+
method: string;
|
|
157
|
+
path: string;
|
|
158
|
+
status_code?: number | null;
|
|
159
|
+
request_size_bytes?: number | null;
|
|
160
|
+
response_size_bytes?: number | null;
|
|
161
|
+
duration_ms?: number | null;
|
|
162
|
+
error_message?: string | null;
|
|
163
|
+
id: string;
|
|
164
|
+
machine_id: string;
|
|
165
|
+
created_at: string;
|
|
166
|
+
completed_at: string | null;
|
|
167
|
+
};
|
|
168
|
+
/**
|
|
169
|
+
* Schema for updating a request log
|
|
170
|
+
*/
|
|
171
|
+
export type RequestLogUpdate = {
|
|
172
|
+
status_code?: number | null;
|
|
173
|
+
response_size_bytes?: number | null;
|
|
174
|
+
completed_at?: string | null;
|
|
175
|
+
duration_ms?: number | null;
|
|
176
|
+
error_message?: string | null;
|
|
177
|
+
};
|
|
178
|
+
/**
|
|
179
|
+
* Schema for creating a run
|
|
180
|
+
*/
|
|
181
|
+
export type RunCreate = {
|
|
182
|
+
workflow_id: string;
|
|
183
|
+
/**
|
|
184
|
+
* Machine ID. If not provided, an available machine will be automatically selected.
|
|
185
|
+
*/
|
|
186
|
+
machine_id?: string | null;
|
|
187
|
+
};
|
|
188
|
+
/**
|
|
189
|
+
* Run response schema
|
|
190
|
+
*/
|
|
191
|
+
export type RunResponse = {
|
|
192
|
+
workflow_id: string;
|
|
193
|
+
machine_id: string;
|
|
194
|
+
id: string;
|
|
195
|
+
user_id: string;
|
|
196
|
+
status: RunStatus;
|
|
197
|
+
error: Array<string> | null;
|
|
198
|
+
output_data: {
|
|
199
|
+
[key: string]: unknown;
|
|
200
|
+
} | null;
|
|
201
|
+
output_attachment_ids: Array<string> | null;
|
|
202
|
+
run_message_history: Array<{
|
|
203
|
+
[key: string]: unknown;
|
|
204
|
+
}> | null;
|
|
205
|
+
created_at: string;
|
|
206
|
+
};
|
|
207
|
+
export type RunStatus = 'scheduling' | 'running' | 'success' | 'cancelled' | 'error';
|
|
208
|
+
/**
|
|
209
|
+
* Schema for updating a run
|
|
210
|
+
*/
|
|
211
|
+
export type RunUpdate = {
|
|
212
|
+
status?: RunStatus | null;
|
|
213
|
+
error?: Array<string> | null;
|
|
214
|
+
output_data?: {
|
|
215
|
+
[key: string]: unknown;
|
|
216
|
+
} | null;
|
|
217
|
+
output_attachment_ids?: Array<string> | null;
|
|
218
|
+
run_message_history?: Array<{
|
|
219
|
+
[key: string]: unknown;
|
|
220
|
+
}> | null;
|
|
221
|
+
};
|
|
222
|
+
/**
|
|
223
|
+
* Schema for creating a trajectory
|
|
224
|
+
*/
|
|
225
|
+
export type TrajectoryCreate = {
|
|
226
|
+
workflow_id: string;
|
|
227
|
+
trajectory_data: Array<{
|
|
228
|
+
[key: string]: unknown;
|
|
229
|
+
}>;
|
|
230
|
+
};
|
|
231
|
+
/**
|
|
232
|
+
* Trajectory response schema
|
|
233
|
+
*/
|
|
234
|
+
export type TrajectoryResponse = {
|
|
235
|
+
workflow_id: string;
|
|
236
|
+
trajectory_data: Array<{
|
|
237
|
+
[key: string]: unknown;
|
|
238
|
+
}>;
|
|
239
|
+
id: string;
|
|
240
|
+
user_id: string;
|
|
241
|
+
created_at: string;
|
|
242
|
+
updated_at: string;
|
|
243
|
+
};
|
|
244
|
+
/**
|
|
245
|
+
* Schema for updating a trajectory
|
|
246
|
+
*/
|
|
247
|
+
export type TrajectoryUpdate = {
|
|
248
|
+
trajectory_data?: Array<{
|
|
249
|
+
[key: string]: unknown;
|
|
250
|
+
}> | null;
|
|
251
|
+
};
|
|
252
|
+
export type ValidationError = {
|
|
253
|
+
loc: Array<string | number>;
|
|
254
|
+
msg: string;
|
|
255
|
+
type: string;
|
|
256
|
+
};
|
|
257
|
+
/**
|
|
258
|
+
* Schema for creating a workflow
|
|
259
|
+
*/
|
|
260
|
+
export type WorkflowCreate = {
|
|
261
|
+
main_prompt: string;
|
|
262
|
+
cleanup_prompt?: string | null;
|
|
263
|
+
};
|
|
264
|
+
/**
|
|
265
|
+
* Workflow response schema
|
|
266
|
+
*/
|
|
267
|
+
export type WorkflowResponse = {
|
|
268
|
+
main_prompt: string;
|
|
269
|
+
cleanup_prompt?: string | null;
|
|
270
|
+
id: string;
|
|
271
|
+
user_id: string;
|
|
272
|
+
old_versions?: Array<{
|
|
273
|
+
[key: string]: unknown;
|
|
274
|
+
}> | null;
|
|
275
|
+
created_at: string;
|
|
276
|
+
updated_at: string;
|
|
277
|
+
};
|
|
278
|
+
/**
|
|
279
|
+
* Schema for updating a workflow
|
|
280
|
+
*/
|
|
281
|
+
export type WorkflowUpdate = {
|
|
282
|
+
main_prompt?: string | null;
|
|
283
|
+
cleanup_prompt?: string | null;
|
|
284
|
+
};
|
|
285
|
+
export type HealthCheckV1HealthGetData = {
|
|
2
286
|
body?: never;
|
|
3
|
-
|
|
4
|
-
/**
|
|
5
|
-
* API key for authentication
|
|
6
|
-
*/
|
|
7
|
-
'x-api-key': string;
|
|
8
|
-
};
|
|
9
|
-
path: {
|
|
10
|
-
/**
|
|
11
|
-
* The UUID of the desktop instance to retrieve
|
|
12
|
-
*/
|
|
13
|
-
id: string;
|
|
14
|
-
};
|
|
287
|
+
path?: never;
|
|
15
288
|
query?: never;
|
|
16
|
-
url: '/v1/
|
|
289
|
+
url: '/v1/health';
|
|
17
290
|
};
|
|
18
|
-
export type
|
|
291
|
+
export type HealthCheckV1HealthGetResponses = {
|
|
19
292
|
/**
|
|
20
|
-
*
|
|
293
|
+
* Successful Response
|
|
21
294
|
*/
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* Error message detailing what went wrong
|
|
26
|
-
*/
|
|
27
|
-
error: string;
|
|
295
|
+
200: {
|
|
296
|
+
[key: string]: string;
|
|
28
297
|
};
|
|
298
|
+
};
|
|
299
|
+
export type HealthCheckV1HealthGetResponse = HealthCheckV1HealthGetResponses[keyof HealthCheckV1HealthGetResponses];
|
|
300
|
+
export type DatabaseHealthCheckV1HealthDbGetData = {
|
|
301
|
+
body?: never;
|
|
302
|
+
path?: never;
|
|
303
|
+
query?: never;
|
|
304
|
+
url: '/v1/health/db';
|
|
305
|
+
};
|
|
306
|
+
export type DatabaseHealthCheckV1HealthDbGetResponses = {
|
|
29
307
|
/**
|
|
30
|
-
*
|
|
308
|
+
* Successful Response
|
|
31
309
|
*/
|
|
32
|
-
|
|
33
|
-
|
|
310
|
+
200: {
|
|
311
|
+
[key: string]: string;
|
|
312
|
+
};
|
|
313
|
+
};
|
|
314
|
+
export type DatabaseHealthCheckV1HealthDbGetResponse = DatabaseHealthCheckV1HealthDbGetResponses[keyof DatabaseHealthCheckV1HealthDbGetResponses];
|
|
315
|
+
export type ListMachinesV1MachinesGetData = {
|
|
316
|
+
body?: never;
|
|
317
|
+
path?: never;
|
|
318
|
+
query?: {
|
|
34
319
|
/**
|
|
35
|
-
*
|
|
320
|
+
* Filter by machine status
|
|
36
321
|
*/
|
|
37
|
-
|
|
322
|
+
status?: MachineStatus | null;
|
|
323
|
+
skip?: number;
|
|
324
|
+
limit?: number;
|
|
38
325
|
};
|
|
326
|
+
url: '/v1/machines';
|
|
327
|
+
};
|
|
328
|
+
export type ListMachinesV1MachinesGetErrors = {
|
|
39
329
|
/**
|
|
40
|
-
*
|
|
330
|
+
* Validation Error
|
|
41
331
|
*/
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
*/
|
|
47
|
-
error: string;
|
|
48
|
-
};
|
|
332
|
+
422: HttpValidationError;
|
|
333
|
+
};
|
|
334
|
+
export type ListMachinesV1MachinesGetError = ListMachinesV1MachinesGetErrors[keyof ListMachinesV1MachinesGetErrors];
|
|
335
|
+
export type ListMachinesV1MachinesGetResponses = {
|
|
49
336
|
/**
|
|
50
|
-
*
|
|
337
|
+
* Successful Response
|
|
51
338
|
*/
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
339
|
+
200: PaginatedResponseMachineResponse;
|
|
340
|
+
};
|
|
341
|
+
export type ListMachinesV1MachinesGetResponse = ListMachinesV1MachinesGetResponses[keyof ListMachinesV1MachinesGetResponses];
|
|
342
|
+
export type CreateMachineV1MachinesPostData = {
|
|
343
|
+
body: MachineCreate;
|
|
344
|
+
path?: never;
|
|
345
|
+
query?: never;
|
|
346
|
+
url: '/v1/machines';
|
|
347
|
+
};
|
|
348
|
+
export type CreateMachineV1MachinesPostErrors = {
|
|
59
349
|
/**
|
|
60
|
-
*
|
|
350
|
+
* Validation Error
|
|
61
351
|
*/
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
*/
|
|
67
|
-
error: string;
|
|
68
|
-
};
|
|
352
|
+
422: HttpValidationError;
|
|
353
|
+
};
|
|
354
|
+
export type CreateMachineV1MachinesPostError = CreateMachineV1MachinesPostErrors[keyof CreateMachineV1MachinesPostErrors];
|
|
355
|
+
export type CreateMachineV1MachinesPostResponses = {
|
|
69
356
|
/**
|
|
70
|
-
*
|
|
357
|
+
* Successful Response
|
|
71
358
|
*/
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
359
|
+
201: MachineResponse;
|
|
360
|
+
};
|
|
361
|
+
export type CreateMachineV1MachinesPostResponse = CreateMachineV1MachinesPostResponses[keyof CreateMachineV1MachinesPostResponses];
|
|
362
|
+
export type DeleteMachineV1MachinesMachineIdDeleteData = {
|
|
363
|
+
body?: never;
|
|
364
|
+
path: {
|
|
365
|
+
machine_id: string;
|
|
78
366
|
};
|
|
367
|
+
query?: never;
|
|
368
|
+
url: '/v1/machines/{machine_id}';
|
|
369
|
+
};
|
|
370
|
+
export type DeleteMachineV1MachinesMachineIdDeleteErrors = {
|
|
79
371
|
/**
|
|
80
|
-
*
|
|
372
|
+
* Validation Error
|
|
81
373
|
*/
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
*/
|
|
87
|
-
error: string;
|
|
88
|
-
};
|
|
374
|
+
422: HttpValidationError;
|
|
375
|
+
};
|
|
376
|
+
export type DeleteMachineV1MachinesMachineIdDeleteError = DeleteMachineV1MachinesMachineIdDeleteErrors[keyof DeleteMachineV1MachinesMachineIdDeleteErrors];
|
|
377
|
+
export type DeleteMachineV1MachinesMachineIdDeleteResponses = {
|
|
89
378
|
/**
|
|
90
|
-
*
|
|
379
|
+
* Successful Response
|
|
91
380
|
*/
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
381
|
+
204: void;
|
|
382
|
+
};
|
|
383
|
+
export type DeleteMachineV1MachinesMachineIdDeleteResponse = DeleteMachineV1MachinesMachineIdDeleteResponses[keyof DeleteMachineV1MachinesMachineIdDeleteResponses];
|
|
384
|
+
export type GetMachineV1MachinesMachineIdGetData = {
|
|
385
|
+
body?: never;
|
|
386
|
+
path: {
|
|
387
|
+
machine_id: string;
|
|
98
388
|
};
|
|
389
|
+
query?: never;
|
|
390
|
+
url: '/v1/machines/{machine_id}';
|
|
99
391
|
};
|
|
100
|
-
export type
|
|
101
|
-
export type GetV1DesktopByIdResponses = {
|
|
392
|
+
export type GetMachineV1MachinesMachineIdGetErrors = {
|
|
102
393
|
/**
|
|
103
|
-
*
|
|
394
|
+
* Validation Error
|
|
104
395
|
*/
|
|
105
|
-
|
|
106
|
-
/**
|
|
107
|
-
* Unique identifier for the desktop instance
|
|
108
|
-
*/
|
|
109
|
-
id: string;
|
|
110
|
-
/**
|
|
111
|
-
* Current status of the desktop instance
|
|
112
|
-
*/
|
|
113
|
-
status: 'pending' | 'running' | 'terminated' | 'error';
|
|
114
|
-
/**
|
|
115
|
-
* URL for the desktop stream (null if the desktop is not running)
|
|
116
|
-
*/
|
|
117
|
-
stream_url: string;
|
|
118
|
-
/**
|
|
119
|
-
* Timestamp when the instance was created
|
|
120
|
-
*/
|
|
121
|
-
created_at: string;
|
|
122
|
-
/**
|
|
123
|
-
* Timestamp when the instance will automatically time out
|
|
124
|
-
*/
|
|
125
|
-
timeout_at: string;
|
|
126
|
-
};
|
|
396
|
+
422: HttpValidationError;
|
|
127
397
|
};
|
|
128
|
-
export type
|
|
129
|
-
export type
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
398
|
+
export type GetMachineV1MachinesMachineIdGetError = GetMachineV1MachinesMachineIdGetErrors[keyof GetMachineV1MachinesMachineIdGetErrors];
|
|
399
|
+
export type GetMachineV1MachinesMachineIdGetResponses = {
|
|
400
|
+
/**
|
|
401
|
+
* Successful Response
|
|
402
|
+
*/
|
|
403
|
+
200: MachineResponse;
|
|
404
|
+
};
|
|
405
|
+
export type GetMachineV1MachinesMachineIdGetResponse = GetMachineV1MachinesMachineIdGetResponses[keyof GetMachineV1MachinesMachineIdGetResponses];
|
|
406
|
+
export type UpdateMachineV1MachinesMachineIdPatchData = {
|
|
407
|
+
body: MachineUpdate;
|
|
408
|
+
path: {
|
|
409
|
+
machine_id: string;
|
|
135
410
|
};
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
411
|
+
query?: never;
|
|
412
|
+
url: '/v1/machines/{machine_id}';
|
|
413
|
+
};
|
|
414
|
+
export type UpdateMachineV1MachinesMachineIdPatchErrors = {
|
|
415
|
+
/**
|
|
416
|
+
* Validation Error
|
|
417
|
+
*/
|
|
418
|
+
422: HttpValidationError;
|
|
419
|
+
};
|
|
420
|
+
export type UpdateMachineV1MachinesMachineIdPatchError = UpdateMachineV1MachinesMachineIdPatchErrors[keyof UpdateMachineV1MachinesMachineIdPatchErrors];
|
|
421
|
+
export type UpdateMachineV1MachinesMachineIdPatchResponses = {
|
|
422
|
+
/**
|
|
423
|
+
* Successful Response
|
|
424
|
+
*/
|
|
425
|
+
200: MachineResponse;
|
|
426
|
+
};
|
|
427
|
+
export type UpdateMachineV1MachinesMachineIdPatchResponse = UpdateMachineV1MachinesMachineIdPatchResponses[keyof UpdateMachineV1MachinesMachineIdPatchResponses];
|
|
428
|
+
export type ListWorkflowsV1WorkflowsGetData = {
|
|
429
|
+
body?: never;
|
|
430
|
+
path?: never;
|
|
431
|
+
query?: {
|
|
432
|
+
skip?: number;
|
|
433
|
+
limit?: number;
|
|
141
434
|
};
|
|
435
|
+
url: '/v1/workflows';
|
|
436
|
+
};
|
|
437
|
+
export type ListWorkflowsV1WorkflowsGetErrors = {
|
|
438
|
+
/**
|
|
439
|
+
* Validation Error
|
|
440
|
+
*/
|
|
441
|
+
422: HttpValidationError;
|
|
442
|
+
};
|
|
443
|
+
export type ListWorkflowsV1WorkflowsGetError = ListWorkflowsV1WorkflowsGetErrors[keyof ListWorkflowsV1WorkflowsGetErrors];
|
|
444
|
+
export type ListWorkflowsV1WorkflowsGetResponses = {
|
|
445
|
+
/**
|
|
446
|
+
* Successful Response
|
|
447
|
+
*/
|
|
448
|
+
200: PaginatedResponseWorkflowResponse;
|
|
449
|
+
};
|
|
450
|
+
export type ListWorkflowsV1WorkflowsGetResponse = ListWorkflowsV1WorkflowsGetResponses[keyof ListWorkflowsV1WorkflowsGetResponses];
|
|
451
|
+
export type CreateWorkflowV1WorkflowsPostData = {
|
|
452
|
+
body: WorkflowCreate;
|
|
142
453
|
path?: never;
|
|
143
454
|
query?: never;
|
|
144
|
-
url: '/v1/
|
|
455
|
+
url: '/v1/workflows';
|
|
145
456
|
};
|
|
146
|
-
export type
|
|
457
|
+
export type CreateWorkflowV1WorkflowsPostErrors = {
|
|
147
458
|
/**
|
|
148
|
-
*
|
|
459
|
+
* Validation Error
|
|
149
460
|
*/
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
*/
|
|
155
|
-
error: string;
|
|
156
|
-
};
|
|
461
|
+
422: HttpValidationError;
|
|
462
|
+
};
|
|
463
|
+
export type CreateWorkflowV1WorkflowsPostError = CreateWorkflowV1WorkflowsPostErrors[keyof CreateWorkflowV1WorkflowsPostErrors];
|
|
464
|
+
export type CreateWorkflowV1WorkflowsPostResponses = {
|
|
157
465
|
/**
|
|
158
|
-
*
|
|
466
|
+
* Successful Response
|
|
159
467
|
*/
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
468
|
+
201: WorkflowResponse;
|
|
469
|
+
};
|
|
470
|
+
export type CreateWorkflowV1WorkflowsPostResponse = CreateWorkflowV1WorkflowsPostResponses[keyof CreateWorkflowV1WorkflowsPostResponses];
|
|
471
|
+
export type DeleteWorkflowV1WorkflowsWorkflowIdDeleteData = {
|
|
472
|
+
body?: never;
|
|
473
|
+
path: {
|
|
474
|
+
workflow_id: string;
|
|
166
475
|
};
|
|
476
|
+
query?: never;
|
|
477
|
+
url: '/v1/workflows/{workflow_id}';
|
|
478
|
+
};
|
|
479
|
+
export type DeleteWorkflowV1WorkflowsWorkflowIdDeleteErrors = {
|
|
167
480
|
/**
|
|
168
|
-
*
|
|
481
|
+
* Validation Error
|
|
169
482
|
*/
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
*/
|
|
175
|
-
error: string;
|
|
176
|
-
};
|
|
483
|
+
422: HttpValidationError;
|
|
484
|
+
};
|
|
485
|
+
export type DeleteWorkflowV1WorkflowsWorkflowIdDeleteError = DeleteWorkflowV1WorkflowsWorkflowIdDeleteErrors[keyof DeleteWorkflowV1WorkflowsWorkflowIdDeleteErrors];
|
|
486
|
+
export type DeleteWorkflowV1WorkflowsWorkflowIdDeleteResponses = {
|
|
177
487
|
/**
|
|
178
|
-
*
|
|
488
|
+
* Successful Response
|
|
179
489
|
*/
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
490
|
+
204: void;
|
|
491
|
+
};
|
|
492
|
+
export type DeleteWorkflowV1WorkflowsWorkflowIdDeleteResponse = DeleteWorkflowV1WorkflowsWorkflowIdDeleteResponses[keyof DeleteWorkflowV1WorkflowsWorkflowIdDeleteResponses];
|
|
493
|
+
export type GetWorkflowV1WorkflowsWorkflowIdGetData = {
|
|
494
|
+
body?: never;
|
|
495
|
+
path: {
|
|
496
|
+
workflow_id: string;
|
|
186
497
|
};
|
|
498
|
+
query?: never;
|
|
499
|
+
url: '/v1/workflows/{workflow_id}';
|
|
500
|
+
};
|
|
501
|
+
export type GetWorkflowV1WorkflowsWorkflowIdGetErrors = {
|
|
187
502
|
/**
|
|
188
|
-
*
|
|
503
|
+
* Validation Error
|
|
189
504
|
*/
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
*/
|
|
195
|
-
error: string;
|
|
196
|
-
};
|
|
505
|
+
422: HttpValidationError;
|
|
506
|
+
};
|
|
507
|
+
export type GetWorkflowV1WorkflowsWorkflowIdGetError = GetWorkflowV1WorkflowsWorkflowIdGetErrors[keyof GetWorkflowV1WorkflowsWorkflowIdGetErrors];
|
|
508
|
+
export type GetWorkflowV1WorkflowsWorkflowIdGetResponses = {
|
|
197
509
|
/**
|
|
198
|
-
*
|
|
510
|
+
* Successful Response
|
|
199
511
|
*/
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
512
|
+
200: WorkflowResponse;
|
|
513
|
+
};
|
|
514
|
+
export type GetWorkflowV1WorkflowsWorkflowIdGetResponse = GetWorkflowV1WorkflowsWorkflowIdGetResponses[keyof GetWorkflowV1WorkflowsWorkflowIdGetResponses];
|
|
515
|
+
export type UpdateWorkflowV1WorkflowsWorkflowIdPatchData = {
|
|
516
|
+
body: WorkflowUpdate;
|
|
517
|
+
path: {
|
|
518
|
+
workflow_id: string;
|
|
206
519
|
};
|
|
520
|
+
query?: never;
|
|
521
|
+
url: '/v1/workflows/{workflow_id}';
|
|
522
|
+
};
|
|
523
|
+
export type UpdateWorkflowV1WorkflowsWorkflowIdPatchErrors = {
|
|
207
524
|
/**
|
|
208
|
-
*
|
|
525
|
+
* Validation Error
|
|
209
526
|
*/
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
*/
|
|
215
|
-
error: string;
|
|
216
|
-
};
|
|
527
|
+
422: HttpValidationError;
|
|
528
|
+
};
|
|
529
|
+
export type UpdateWorkflowV1WorkflowsWorkflowIdPatchError = UpdateWorkflowV1WorkflowsWorkflowIdPatchErrors[keyof UpdateWorkflowV1WorkflowsWorkflowIdPatchErrors];
|
|
530
|
+
export type UpdateWorkflowV1WorkflowsWorkflowIdPatchResponses = {
|
|
217
531
|
/**
|
|
218
|
-
*
|
|
532
|
+
* Successful Response
|
|
219
533
|
*/
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
534
|
+
200: WorkflowResponse;
|
|
535
|
+
};
|
|
536
|
+
export type UpdateWorkflowV1WorkflowsWorkflowIdPatchResponse = UpdateWorkflowV1WorkflowsWorkflowIdPatchResponses[keyof UpdateWorkflowV1WorkflowsWorkflowIdPatchResponses];
|
|
537
|
+
export type GetWorkflowVersionsV1WorkflowsWorkflowIdVersionsGetData = {
|
|
538
|
+
body?: never;
|
|
539
|
+
path: {
|
|
540
|
+
workflow_id: string;
|
|
226
541
|
};
|
|
542
|
+
query?: never;
|
|
543
|
+
url: '/v1/workflows/{workflow_id}/versions';
|
|
227
544
|
};
|
|
228
|
-
export type
|
|
229
|
-
export type PostV1DesktopResponses = {
|
|
545
|
+
export type GetWorkflowVersionsV1WorkflowsWorkflowIdVersionsGetErrors = {
|
|
230
546
|
/**
|
|
231
|
-
*
|
|
547
|
+
* Validation Error
|
|
232
548
|
*/
|
|
233
|
-
|
|
549
|
+
422: HttpValidationError;
|
|
550
|
+
};
|
|
551
|
+
export type GetWorkflowVersionsV1WorkflowsWorkflowIdVersionsGetError = GetWorkflowVersionsV1WorkflowsWorkflowIdVersionsGetErrors[keyof GetWorkflowVersionsV1WorkflowsWorkflowIdVersionsGetErrors];
|
|
552
|
+
export type GetWorkflowVersionsV1WorkflowsWorkflowIdVersionsGetResponses = {
|
|
553
|
+
/**
|
|
554
|
+
* Successful Response
|
|
555
|
+
*/
|
|
556
|
+
200: Array<{
|
|
557
|
+
[key: string]: unknown;
|
|
558
|
+
}>;
|
|
559
|
+
};
|
|
560
|
+
export type GetWorkflowVersionsV1WorkflowsWorkflowIdVersionsGetResponse = GetWorkflowVersionsV1WorkflowsWorkflowIdVersionsGetResponses[keyof GetWorkflowVersionsV1WorkflowsWorkflowIdVersionsGetResponses];
|
|
561
|
+
export type ListRunsV1RunsGetData = {
|
|
562
|
+
body?: never;
|
|
563
|
+
path?: never;
|
|
564
|
+
query?: {
|
|
234
565
|
/**
|
|
235
|
-
*
|
|
566
|
+
* Filter by workflow ID
|
|
236
567
|
*/
|
|
237
|
-
|
|
568
|
+
workflow_id?: string | null;
|
|
238
569
|
/**
|
|
239
|
-
*
|
|
570
|
+
* Filter by machine ID
|
|
240
571
|
*/
|
|
241
|
-
|
|
242
|
-
};
|
|
243
|
-
};
|
|
244
|
-
export type PostV1DesktopResponse = PostV1DesktopResponses[keyof PostV1DesktopResponses];
|
|
245
|
-
export type PostV1DesktopByIdStopData = {
|
|
246
|
-
body?: never;
|
|
247
|
-
headers: {
|
|
572
|
+
machine_id?: string | null;
|
|
248
573
|
/**
|
|
249
|
-
*
|
|
574
|
+
* Filter by run status
|
|
250
575
|
*/
|
|
251
|
-
|
|
576
|
+
status?: RunStatus | null;
|
|
577
|
+
skip?: number;
|
|
578
|
+
limit?: number;
|
|
252
579
|
};
|
|
580
|
+
url: '/v1/runs';
|
|
581
|
+
};
|
|
582
|
+
export type ListRunsV1RunsGetErrors = {
|
|
583
|
+
/**
|
|
584
|
+
* Validation Error
|
|
585
|
+
*/
|
|
586
|
+
422: HttpValidationError;
|
|
587
|
+
};
|
|
588
|
+
export type ListRunsV1RunsGetError = ListRunsV1RunsGetErrors[keyof ListRunsV1RunsGetErrors];
|
|
589
|
+
export type ListRunsV1RunsGetResponses = {
|
|
590
|
+
/**
|
|
591
|
+
* Successful Response
|
|
592
|
+
*/
|
|
593
|
+
200: PaginatedResponseRunResponse;
|
|
594
|
+
};
|
|
595
|
+
export type ListRunsV1RunsGetResponse = ListRunsV1RunsGetResponses[keyof ListRunsV1RunsGetResponses];
|
|
596
|
+
export type CreateRunV1RunsPostData = {
|
|
597
|
+
body: RunCreate;
|
|
598
|
+
path?: never;
|
|
599
|
+
query?: never;
|
|
600
|
+
url: '/v1/runs';
|
|
601
|
+
};
|
|
602
|
+
export type CreateRunV1RunsPostErrors = {
|
|
603
|
+
/**
|
|
604
|
+
* Validation Error
|
|
605
|
+
*/
|
|
606
|
+
422: HttpValidationError;
|
|
607
|
+
};
|
|
608
|
+
export type CreateRunV1RunsPostError = CreateRunV1RunsPostErrors[keyof CreateRunV1RunsPostErrors];
|
|
609
|
+
export type CreateRunV1RunsPostResponses = {
|
|
610
|
+
/**
|
|
611
|
+
* Successful Response
|
|
612
|
+
*/
|
|
613
|
+
201: RunResponse;
|
|
614
|
+
};
|
|
615
|
+
export type CreateRunV1RunsPostResponse = CreateRunV1RunsPostResponses[keyof CreateRunV1RunsPostResponses];
|
|
616
|
+
export type DeleteRunV1RunsRunIdDeleteData = {
|
|
617
|
+
body?: never;
|
|
253
618
|
path: {
|
|
254
|
-
|
|
255
|
-
* Desktop instance ID to stop
|
|
256
|
-
*/
|
|
257
|
-
id: string;
|
|
619
|
+
run_id: string;
|
|
258
620
|
};
|
|
259
621
|
query?: never;
|
|
260
|
-
url: '/v1/
|
|
622
|
+
url: '/v1/runs/{run_id}';
|
|
261
623
|
};
|
|
262
|
-
export type
|
|
624
|
+
export type DeleteRunV1RunsRunIdDeleteErrors = {
|
|
263
625
|
/**
|
|
264
|
-
*
|
|
626
|
+
* Validation Error
|
|
265
627
|
*/
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
*/
|
|
271
|
-
error: string;
|
|
272
|
-
};
|
|
628
|
+
422: HttpValidationError;
|
|
629
|
+
};
|
|
630
|
+
export type DeleteRunV1RunsRunIdDeleteError = DeleteRunV1RunsRunIdDeleteErrors[keyof DeleteRunV1RunsRunIdDeleteErrors];
|
|
631
|
+
export type DeleteRunV1RunsRunIdDeleteResponses = {
|
|
273
632
|
/**
|
|
274
|
-
*
|
|
633
|
+
* Successful Response
|
|
275
634
|
*/
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
635
|
+
204: void;
|
|
636
|
+
};
|
|
637
|
+
export type DeleteRunV1RunsRunIdDeleteResponse = DeleteRunV1RunsRunIdDeleteResponses[keyof DeleteRunV1RunsRunIdDeleteResponses];
|
|
638
|
+
export type GetRunV1RunsRunIdGetData = {
|
|
639
|
+
body?: never;
|
|
640
|
+
path: {
|
|
641
|
+
run_id: string;
|
|
282
642
|
};
|
|
643
|
+
query?: never;
|
|
644
|
+
url: '/v1/runs/{run_id}';
|
|
645
|
+
};
|
|
646
|
+
export type GetRunV1RunsRunIdGetErrors = {
|
|
283
647
|
/**
|
|
284
|
-
*
|
|
648
|
+
* Validation Error
|
|
285
649
|
*/
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
*/
|
|
291
|
-
error: string;
|
|
292
|
-
};
|
|
650
|
+
422: HttpValidationError;
|
|
651
|
+
};
|
|
652
|
+
export type GetRunV1RunsRunIdGetError = GetRunV1RunsRunIdGetErrors[keyof GetRunV1RunsRunIdGetErrors];
|
|
653
|
+
export type GetRunV1RunsRunIdGetResponses = {
|
|
293
654
|
/**
|
|
294
|
-
*
|
|
655
|
+
* Successful Response
|
|
295
656
|
*/
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
657
|
+
200: RunResponse;
|
|
658
|
+
};
|
|
659
|
+
export type GetRunV1RunsRunIdGetResponse = GetRunV1RunsRunIdGetResponses[keyof GetRunV1RunsRunIdGetResponses];
|
|
660
|
+
export type UpdateRunV1RunsRunIdPatchData = {
|
|
661
|
+
body: RunUpdate;
|
|
662
|
+
path: {
|
|
663
|
+
run_id: string;
|
|
302
664
|
};
|
|
665
|
+
query?: never;
|
|
666
|
+
url: '/v1/runs/{run_id}';
|
|
667
|
+
};
|
|
668
|
+
export type UpdateRunV1RunsRunIdPatchErrors = {
|
|
303
669
|
/**
|
|
304
|
-
*
|
|
670
|
+
* Validation Error
|
|
305
671
|
*/
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
*/
|
|
311
|
-
error: string;
|
|
312
|
-
};
|
|
672
|
+
422: HttpValidationError;
|
|
673
|
+
};
|
|
674
|
+
export type UpdateRunV1RunsRunIdPatchError = UpdateRunV1RunsRunIdPatchErrors[keyof UpdateRunV1RunsRunIdPatchErrors];
|
|
675
|
+
export type UpdateRunV1RunsRunIdPatchResponses = {
|
|
313
676
|
/**
|
|
314
|
-
*
|
|
677
|
+
* Successful Response
|
|
315
678
|
*/
|
|
316
|
-
|
|
317
|
-
|
|
679
|
+
200: RunResponse;
|
|
680
|
+
};
|
|
681
|
+
export type UpdateRunV1RunsRunIdPatchResponse = UpdateRunV1RunsRunIdPatchResponses[keyof UpdateRunV1RunsRunIdPatchResponses];
|
|
682
|
+
export type ListConnectionsV1ConnectionsGetData = {
|
|
683
|
+
body?: never;
|
|
684
|
+
path?: never;
|
|
685
|
+
query?: {
|
|
686
|
+
/**
|
|
687
|
+
* Filter by machine ID
|
|
688
|
+
*/
|
|
689
|
+
machine_id?: string | null;
|
|
318
690
|
/**
|
|
319
|
-
*
|
|
691
|
+
* Filter by connection status
|
|
320
692
|
*/
|
|
321
|
-
|
|
693
|
+
status?: ConnectionStatus | null;
|
|
694
|
+
skip?: number;
|
|
695
|
+
limit?: number;
|
|
322
696
|
};
|
|
697
|
+
url: '/v1/connections';
|
|
698
|
+
};
|
|
699
|
+
export type ListConnectionsV1ConnectionsGetErrors = {
|
|
323
700
|
/**
|
|
324
|
-
*
|
|
701
|
+
* Validation Error
|
|
325
702
|
*/
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
703
|
+
422: HttpValidationError;
|
|
704
|
+
};
|
|
705
|
+
export type ListConnectionsV1ConnectionsGetError = ListConnectionsV1ConnectionsGetErrors[keyof ListConnectionsV1ConnectionsGetErrors];
|
|
706
|
+
export type ListConnectionsV1ConnectionsGetResponses = {
|
|
707
|
+
/**
|
|
708
|
+
* Successful Response
|
|
709
|
+
*/
|
|
710
|
+
200: PaginatedResponseConnectionResponse;
|
|
711
|
+
};
|
|
712
|
+
export type ListConnectionsV1ConnectionsGetResponse = ListConnectionsV1ConnectionsGetResponses[keyof ListConnectionsV1ConnectionsGetResponses];
|
|
713
|
+
export type CreateConnectionV1ConnectionsPostData = {
|
|
714
|
+
body: ConnectionCreate;
|
|
715
|
+
path?: never;
|
|
716
|
+
query?: never;
|
|
717
|
+
url: '/v1/connections';
|
|
718
|
+
};
|
|
719
|
+
export type CreateConnectionV1ConnectionsPostErrors = {
|
|
720
|
+
/**
|
|
721
|
+
* Validation Error
|
|
722
|
+
*/
|
|
723
|
+
422: HttpValidationError;
|
|
724
|
+
};
|
|
725
|
+
export type CreateConnectionV1ConnectionsPostError = CreateConnectionV1ConnectionsPostErrors[keyof CreateConnectionV1ConnectionsPostErrors];
|
|
726
|
+
export type CreateConnectionV1ConnectionsPostResponses = {
|
|
727
|
+
/**
|
|
728
|
+
* Successful Response
|
|
729
|
+
*/
|
|
730
|
+
201: ConnectionResponse;
|
|
731
|
+
};
|
|
732
|
+
export type CreateConnectionV1ConnectionsPostResponse = CreateConnectionV1ConnectionsPostResponses[keyof CreateConnectionV1ConnectionsPostResponses];
|
|
733
|
+
export type DeleteConnectionV1ConnectionsConnectionIdDeleteData = {
|
|
734
|
+
body?: never;
|
|
735
|
+
path: {
|
|
736
|
+
connection_id: string;
|
|
332
737
|
};
|
|
738
|
+
query?: never;
|
|
739
|
+
url: '/v1/connections/{connection_id}';
|
|
740
|
+
};
|
|
741
|
+
export type DeleteConnectionV1ConnectionsConnectionIdDeleteErrors = {
|
|
333
742
|
/**
|
|
334
|
-
*
|
|
743
|
+
* Validation Error
|
|
335
744
|
*/
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
745
|
+
422: HttpValidationError;
|
|
746
|
+
};
|
|
747
|
+
export type DeleteConnectionV1ConnectionsConnectionIdDeleteError = DeleteConnectionV1ConnectionsConnectionIdDeleteErrors[keyof DeleteConnectionV1ConnectionsConnectionIdDeleteErrors];
|
|
748
|
+
export type DeleteConnectionV1ConnectionsConnectionIdDeleteResponses = {
|
|
749
|
+
/**
|
|
750
|
+
* Successful Response
|
|
751
|
+
*/
|
|
752
|
+
204: void;
|
|
753
|
+
};
|
|
754
|
+
export type DeleteConnectionV1ConnectionsConnectionIdDeleteResponse = DeleteConnectionV1ConnectionsConnectionIdDeleteResponses[keyof DeleteConnectionV1ConnectionsConnectionIdDeleteResponses];
|
|
755
|
+
export type GetConnectionV1ConnectionsConnectionIdGetData = {
|
|
756
|
+
body?: never;
|
|
757
|
+
path: {
|
|
758
|
+
connection_id: string;
|
|
342
759
|
};
|
|
760
|
+
query?: never;
|
|
761
|
+
url: '/v1/connections/{connection_id}';
|
|
343
762
|
};
|
|
344
|
-
export type
|
|
345
|
-
export type PostV1DesktopByIdStopResponses = {
|
|
763
|
+
export type GetConnectionV1ConnectionsConnectionIdGetErrors = {
|
|
346
764
|
/**
|
|
347
|
-
*
|
|
765
|
+
* Validation Error
|
|
348
766
|
*/
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
767
|
+
422: HttpValidationError;
|
|
768
|
+
};
|
|
769
|
+
export type GetConnectionV1ConnectionsConnectionIdGetError = GetConnectionV1ConnectionsConnectionIdGetErrors[keyof GetConnectionV1ConnectionsConnectionIdGetErrors];
|
|
770
|
+
export type GetConnectionV1ConnectionsConnectionIdGetResponses = {
|
|
771
|
+
/**
|
|
772
|
+
* Successful Response
|
|
773
|
+
*/
|
|
774
|
+
200: ConnectionResponse;
|
|
775
|
+
};
|
|
776
|
+
export type GetConnectionV1ConnectionsConnectionIdGetResponse = GetConnectionV1ConnectionsConnectionIdGetResponses[keyof GetConnectionV1ConnectionsConnectionIdGetResponses];
|
|
777
|
+
export type UpdateConnectionV1ConnectionsConnectionIdPatchData = {
|
|
778
|
+
body: ConnectionUpdate;
|
|
779
|
+
path: {
|
|
780
|
+
connection_id: string;
|
|
354
781
|
};
|
|
782
|
+
query?: never;
|
|
783
|
+
url: '/v1/connections/{connection_id}';
|
|
355
784
|
};
|
|
356
|
-
export type
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
button?: 'left' | 'right' | 'middle';
|
|
375
|
-
/**
|
|
376
|
-
* Number of clicks to perform (optional, defaults to 1, only applicable for 'click' type)
|
|
377
|
-
*/
|
|
378
|
-
num_of_clicks?: number;
|
|
379
|
-
/**
|
|
380
|
-
* Type of mouse action (optional, defaults to 'click')
|
|
381
|
-
*/
|
|
382
|
-
click_type?: 'click' | 'down' | 'up';
|
|
383
|
-
} | {
|
|
384
|
-
/**
|
|
385
|
-
* Scroll the mouse wheel in the specified direction
|
|
386
|
-
*/
|
|
387
|
-
type: 'scroll';
|
|
388
|
-
/**
|
|
389
|
-
* Direction to scroll
|
|
390
|
-
*/
|
|
391
|
-
direction: 'up' | 'down' | 'left' | 'right';
|
|
392
|
-
/**
|
|
393
|
-
* Amount to scroll in pixels
|
|
394
|
-
*/
|
|
395
|
-
amount: number;
|
|
396
|
-
} | {
|
|
397
|
-
/**
|
|
398
|
-
* Move the mouse cursor to the specified coordinates
|
|
399
|
-
*/
|
|
400
|
-
type: 'move_mouse';
|
|
401
|
-
/**
|
|
402
|
-
* X coordinate to move to
|
|
403
|
-
*/
|
|
404
|
-
x: number;
|
|
405
|
-
/**
|
|
406
|
-
* Y coordinate to move to
|
|
407
|
-
*/
|
|
408
|
-
y: number;
|
|
409
|
-
} | {
|
|
410
|
-
/**
|
|
411
|
-
* Drag the mouse from start to end coordinates
|
|
412
|
-
*/
|
|
413
|
-
type: 'drag_mouse';
|
|
414
|
-
/**
|
|
415
|
-
* Starting coordinates for the drag operation
|
|
416
|
-
*/
|
|
417
|
-
start: {
|
|
418
|
-
/**
|
|
419
|
-
* X coordinate on the screen
|
|
420
|
-
*/
|
|
421
|
-
x: number;
|
|
422
|
-
/**
|
|
423
|
-
* Y coordinate on the screen
|
|
424
|
-
*/
|
|
425
|
-
y: number;
|
|
426
|
-
};
|
|
427
|
-
/**
|
|
428
|
-
* Ending coordinates for the drag operation
|
|
429
|
-
*/
|
|
430
|
-
end: {
|
|
431
|
-
/**
|
|
432
|
-
* X coordinate on the screen
|
|
433
|
-
*/
|
|
434
|
-
x: number;
|
|
435
|
-
/**
|
|
436
|
-
* Y coordinate on the screen
|
|
437
|
-
*/
|
|
438
|
-
y: number;
|
|
439
|
-
};
|
|
440
|
-
} | {
|
|
441
|
-
/**
|
|
442
|
-
* Type text at the current cursor position
|
|
443
|
-
*/
|
|
444
|
-
type: 'type';
|
|
445
|
-
/**
|
|
446
|
-
* Text to type
|
|
447
|
-
*/
|
|
448
|
-
text: string;
|
|
449
|
-
} | {
|
|
450
|
-
/**
|
|
451
|
-
* Press, hold down, or release one or more keyboard keys. Defaults to a single press and release.
|
|
452
|
-
*/
|
|
453
|
-
type: 'press_keys';
|
|
454
|
-
keys: string | Array<string>;
|
|
455
|
-
/**
|
|
456
|
-
* Type of key action (optional, defaults to 'press' which is a down and up action)
|
|
457
|
-
*/
|
|
458
|
-
key_action_type?: 'press' | 'down' | 'up';
|
|
459
|
-
} | {
|
|
460
|
-
/**
|
|
461
|
-
* Wait for the specified number of milliseconds
|
|
462
|
-
*/
|
|
463
|
-
type: 'wait';
|
|
464
|
-
/**
|
|
465
|
-
* Time to wait in milliseconds
|
|
466
|
-
*/
|
|
467
|
-
ms: number;
|
|
468
|
-
} | {
|
|
785
|
+
export type UpdateConnectionV1ConnectionsConnectionIdPatchErrors = {
|
|
786
|
+
/**
|
|
787
|
+
* Validation Error
|
|
788
|
+
*/
|
|
789
|
+
422: HttpValidationError;
|
|
790
|
+
};
|
|
791
|
+
export type UpdateConnectionV1ConnectionsConnectionIdPatchError = UpdateConnectionV1ConnectionsConnectionIdPatchErrors[keyof UpdateConnectionV1ConnectionsConnectionIdPatchErrors];
|
|
792
|
+
export type UpdateConnectionV1ConnectionsConnectionIdPatchResponses = {
|
|
793
|
+
/**
|
|
794
|
+
* Successful Response
|
|
795
|
+
*/
|
|
796
|
+
200: ConnectionResponse;
|
|
797
|
+
};
|
|
798
|
+
export type UpdateConnectionV1ConnectionsConnectionIdPatchResponse = UpdateConnectionV1ConnectionsConnectionIdPatchResponses[keyof UpdateConnectionV1ConnectionsConnectionIdPatchResponses];
|
|
799
|
+
export type ListRequestLogsV1RequestLogsGetData = {
|
|
800
|
+
body?: never;
|
|
801
|
+
path?: never;
|
|
802
|
+
query?: {
|
|
469
803
|
/**
|
|
470
|
-
*
|
|
804
|
+
* Filter by machine ID
|
|
471
805
|
*/
|
|
472
|
-
|
|
473
|
-
} | {
|
|
806
|
+
machine_id?: string | null;
|
|
474
807
|
/**
|
|
475
|
-
*
|
|
808
|
+
* Filter by HTTP method
|
|
476
809
|
*/
|
|
477
|
-
|
|
478
|
-
};
|
|
479
|
-
headers: {
|
|
810
|
+
method?: string | null;
|
|
480
811
|
/**
|
|
481
|
-
*
|
|
812
|
+
* Filter by status code
|
|
482
813
|
*/
|
|
483
|
-
|
|
814
|
+
status_code?: number | null;
|
|
815
|
+
skip?: number;
|
|
816
|
+
limit?: number;
|
|
484
817
|
};
|
|
818
|
+
url: '/v1/request-logs';
|
|
819
|
+
};
|
|
820
|
+
export type ListRequestLogsV1RequestLogsGetErrors = {
|
|
821
|
+
/**
|
|
822
|
+
* Validation Error
|
|
823
|
+
*/
|
|
824
|
+
422: HttpValidationError;
|
|
825
|
+
};
|
|
826
|
+
export type ListRequestLogsV1RequestLogsGetError = ListRequestLogsV1RequestLogsGetErrors[keyof ListRequestLogsV1RequestLogsGetErrors];
|
|
827
|
+
export type ListRequestLogsV1RequestLogsGetResponses = {
|
|
828
|
+
/**
|
|
829
|
+
* Successful Response
|
|
830
|
+
*/
|
|
831
|
+
200: PaginatedResponse;
|
|
832
|
+
};
|
|
833
|
+
export type ListRequestLogsV1RequestLogsGetResponse = ListRequestLogsV1RequestLogsGetResponses[keyof ListRequestLogsV1RequestLogsGetResponses];
|
|
834
|
+
export type CreateRequestLogV1RequestLogsPostData = {
|
|
835
|
+
body: RequestLogCreate;
|
|
836
|
+
path?: never;
|
|
837
|
+
query?: never;
|
|
838
|
+
url: '/v1/request-logs';
|
|
839
|
+
};
|
|
840
|
+
export type CreateRequestLogV1RequestLogsPostErrors = {
|
|
841
|
+
/**
|
|
842
|
+
* Validation Error
|
|
843
|
+
*/
|
|
844
|
+
422: HttpValidationError;
|
|
845
|
+
};
|
|
846
|
+
export type CreateRequestLogV1RequestLogsPostError = CreateRequestLogV1RequestLogsPostErrors[keyof CreateRequestLogV1RequestLogsPostErrors];
|
|
847
|
+
export type CreateRequestLogV1RequestLogsPostResponses = {
|
|
848
|
+
/**
|
|
849
|
+
* Successful Response
|
|
850
|
+
*/
|
|
851
|
+
201: RequestLogResponse;
|
|
852
|
+
};
|
|
853
|
+
export type CreateRequestLogV1RequestLogsPostResponse = CreateRequestLogV1RequestLogsPostResponses[keyof CreateRequestLogV1RequestLogsPostResponses];
|
|
854
|
+
export type DeleteRequestLogV1RequestLogsLogIdDeleteData = {
|
|
855
|
+
body?: never;
|
|
485
856
|
path: {
|
|
486
|
-
|
|
487
|
-
* Desktop instance ID to perform the action on
|
|
488
|
-
*/
|
|
489
|
-
id: string;
|
|
857
|
+
log_id: string;
|
|
490
858
|
};
|
|
491
859
|
query?: never;
|
|
492
|
-
url: '/v1/
|
|
860
|
+
url: '/v1/request-logs/{log_id}';
|
|
493
861
|
};
|
|
494
|
-
export type
|
|
862
|
+
export type DeleteRequestLogV1RequestLogsLogIdDeleteErrors = {
|
|
495
863
|
/**
|
|
496
|
-
*
|
|
864
|
+
* Validation Error
|
|
497
865
|
*/
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
*/
|
|
503
|
-
error: string;
|
|
504
|
-
};
|
|
866
|
+
422: HttpValidationError;
|
|
867
|
+
};
|
|
868
|
+
export type DeleteRequestLogV1RequestLogsLogIdDeleteError = DeleteRequestLogV1RequestLogsLogIdDeleteErrors[keyof DeleteRequestLogV1RequestLogsLogIdDeleteErrors];
|
|
869
|
+
export type DeleteRequestLogV1RequestLogsLogIdDeleteResponses = {
|
|
505
870
|
/**
|
|
506
|
-
*
|
|
871
|
+
* Successful Response
|
|
507
872
|
*/
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
873
|
+
204: void;
|
|
874
|
+
};
|
|
875
|
+
export type DeleteRequestLogV1RequestLogsLogIdDeleteResponse = DeleteRequestLogV1RequestLogsLogIdDeleteResponses[keyof DeleteRequestLogV1RequestLogsLogIdDeleteResponses];
|
|
876
|
+
export type GetRequestLogV1RequestLogsLogIdGetData = {
|
|
877
|
+
body?: never;
|
|
878
|
+
path: {
|
|
879
|
+
log_id: string;
|
|
514
880
|
};
|
|
881
|
+
query?: never;
|
|
882
|
+
url: '/v1/request-logs/{log_id}';
|
|
883
|
+
};
|
|
884
|
+
export type GetRequestLogV1RequestLogsLogIdGetErrors = {
|
|
515
885
|
/**
|
|
516
|
-
*
|
|
886
|
+
* Validation Error
|
|
517
887
|
*/
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
*/
|
|
523
|
-
error: string;
|
|
524
|
-
};
|
|
888
|
+
422: HttpValidationError;
|
|
889
|
+
};
|
|
890
|
+
export type GetRequestLogV1RequestLogsLogIdGetError = GetRequestLogV1RequestLogsLogIdGetErrors[keyof GetRequestLogV1RequestLogsLogIdGetErrors];
|
|
891
|
+
export type GetRequestLogV1RequestLogsLogIdGetResponses = {
|
|
525
892
|
/**
|
|
526
|
-
*
|
|
893
|
+
* Successful Response
|
|
527
894
|
*/
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
895
|
+
200: RequestLogResponse;
|
|
896
|
+
};
|
|
897
|
+
export type GetRequestLogV1RequestLogsLogIdGetResponse = GetRequestLogV1RequestLogsLogIdGetResponses[keyof GetRequestLogV1RequestLogsLogIdGetResponses];
|
|
898
|
+
export type UpdateRequestLogV1RequestLogsLogIdPatchData = {
|
|
899
|
+
body: RequestLogUpdate;
|
|
900
|
+
path: {
|
|
901
|
+
log_id: string;
|
|
534
902
|
};
|
|
903
|
+
query?: never;
|
|
904
|
+
url: '/v1/request-logs/{log_id}';
|
|
905
|
+
};
|
|
906
|
+
export type UpdateRequestLogV1RequestLogsLogIdPatchErrors = {
|
|
535
907
|
/**
|
|
536
|
-
*
|
|
908
|
+
* Validation Error
|
|
537
909
|
*/
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
*/
|
|
543
|
-
error: string;
|
|
544
|
-
};
|
|
910
|
+
422: HttpValidationError;
|
|
911
|
+
};
|
|
912
|
+
export type UpdateRequestLogV1RequestLogsLogIdPatchError = UpdateRequestLogV1RequestLogsLogIdPatchErrors[keyof UpdateRequestLogV1RequestLogsLogIdPatchErrors];
|
|
913
|
+
export type UpdateRequestLogV1RequestLogsLogIdPatchResponses = {
|
|
545
914
|
/**
|
|
546
|
-
*
|
|
915
|
+
* Successful Response
|
|
547
916
|
*/
|
|
548
|
-
|
|
549
|
-
|
|
917
|
+
200: RequestLogResponse;
|
|
918
|
+
};
|
|
919
|
+
export type UpdateRequestLogV1RequestLogsLogIdPatchResponse = UpdateRequestLogV1RequestLogsLogIdPatchResponses[keyof UpdateRequestLogV1RequestLogsLogIdPatchResponses];
|
|
920
|
+
export type ListTrajectoriesV1TrajectoriesGetData = {
|
|
921
|
+
body?: never;
|
|
922
|
+
path?: never;
|
|
923
|
+
query?: {
|
|
550
924
|
/**
|
|
551
|
-
*
|
|
925
|
+
* Filter by workflow ID
|
|
552
926
|
*/
|
|
553
|
-
|
|
927
|
+
workflow_id?: string | null;
|
|
928
|
+
skip?: number;
|
|
929
|
+
limit?: number;
|
|
554
930
|
};
|
|
931
|
+
url: '/v1/trajectories';
|
|
932
|
+
};
|
|
933
|
+
export type ListTrajectoriesV1TrajectoriesGetErrors = {
|
|
555
934
|
/**
|
|
556
|
-
*
|
|
935
|
+
* Validation Error
|
|
557
936
|
*/
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
*/
|
|
563
|
-
error: string;
|
|
564
|
-
};
|
|
937
|
+
422: HttpValidationError;
|
|
938
|
+
};
|
|
939
|
+
export type ListTrajectoriesV1TrajectoriesGetError = ListTrajectoriesV1TrajectoriesGetErrors[keyof ListTrajectoriesV1TrajectoriesGetErrors];
|
|
940
|
+
export type ListTrajectoriesV1TrajectoriesGetResponses = {
|
|
565
941
|
/**
|
|
566
|
-
*
|
|
942
|
+
* Successful Response
|
|
567
943
|
*/
|
|
568
|
-
|
|
569
|
-
status: 'error';
|
|
570
|
-
/**
|
|
571
|
-
* Error message detailing what went wrong
|
|
572
|
-
*/
|
|
573
|
-
error: string;
|
|
574
|
-
};
|
|
944
|
+
200: PaginatedResponseTrajectoryResponse;
|
|
575
945
|
};
|
|
576
|
-
export type
|
|
577
|
-
export type
|
|
946
|
+
export type ListTrajectoriesV1TrajectoriesGetResponse = ListTrajectoriesV1TrajectoriesGetResponses[keyof ListTrajectoriesV1TrajectoriesGetResponses];
|
|
947
|
+
export type CreateTrajectoryV1TrajectoriesPostData = {
|
|
948
|
+
body: TrajectoryCreate;
|
|
949
|
+
path?: never;
|
|
950
|
+
query?: never;
|
|
951
|
+
url: '/v1/trajectories';
|
|
952
|
+
};
|
|
953
|
+
export type CreateTrajectoryV1TrajectoriesPostErrors = {
|
|
578
954
|
/**
|
|
579
|
-
*
|
|
955
|
+
* Validation Error
|
|
580
956
|
*/
|
|
581
|
-
|
|
582
|
-
/**
|
|
583
|
-
* Raw string output from the executed command (if any)
|
|
584
|
-
*/
|
|
585
|
-
output?: string;
|
|
586
|
-
/**
|
|
587
|
-
* Error message if the operation failed (also indicated by non-2xx HTTP status)
|
|
588
|
-
*/
|
|
589
|
-
error?: string;
|
|
590
|
-
/**
|
|
591
|
-
* Base64 encoded JPEG image data (only returned for screenshot actions)
|
|
592
|
-
*/
|
|
593
|
-
base64_image?: string;
|
|
594
|
-
};
|
|
957
|
+
422: HttpValidationError;
|
|
595
958
|
};
|
|
596
|
-
export type
|
|
597
|
-
export type
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
959
|
+
export type CreateTrajectoryV1TrajectoriesPostError = CreateTrajectoryV1TrajectoriesPostErrors[keyof CreateTrajectoryV1TrajectoriesPostErrors];
|
|
960
|
+
export type CreateTrajectoryV1TrajectoriesPostResponses = {
|
|
961
|
+
/**
|
|
962
|
+
* Successful Response
|
|
963
|
+
*/
|
|
964
|
+
201: TrajectoryResponse;
|
|
965
|
+
};
|
|
966
|
+
export type CreateTrajectoryV1TrajectoriesPostResponse = CreateTrajectoryV1TrajectoriesPostResponses[keyof CreateTrajectoryV1TrajectoriesPostResponses];
|
|
967
|
+
export type DeleteTrajectoryV1TrajectoriesTrajectoryIdDeleteData = {
|
|
968
|
+
body?: never;
|
|
969
|
+
path: {
|
|
970
|
+
trajectory_id: string;
|
|
603
971
|
};
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
972
|
+
query?: never;
|
|
973
|
+
url: '/v1/trajectories/{trajectory_id}';
|
|
974
|
+
};
|
|
975
|
+
export type DeleteTrajectoryV1TrajectoriesTrajectoryIdDeleteErrors = {
|
|
976
|
+
/**
|
|
977
|
+
* Validation Error
|
|
978
|
+
*/
|
|
979
|
+
422: HttpValidationError;
|
|
980
|
+
};
|
|
981
|
+
export type DeleteTrajectoryV1TrajectoriesTrajectoryIdDeleteError = DeleteTrajectoryV1TrajectoriesTrajectoryIdDeleteErrors[keyof DeleteTrajectoryV1TrajectoriesTrajectoryIdDeleteErrors];
|
|
982
|
+
export type DeleteTrajectoryV1TrajectoriesTrajectoryIdDeleteResponses = {
|
|
983
|
+
/**
|
|
984
|
+
* Successful Response
|
|
985
|
+
*/
|
|
986
|
+
204: void;
|
|
987
|
+
};
|
|
988
|
+
export type DeleteTrajectoryV1TrajectoriesTrajectoryIdDeleteResponse = DeleteTrajectoryV1TrajectoriesTrajectoryIdDeleteResponses[keyof DeleteTrajectoryV1TrajectoriesTrajectoryIdDeleteResponses];
|
|
989
|
+
export type GetTrajectoryV1TrajectoriesTrajectoryIdGetData = {
|
|
990
|
+
body?: never;
|
|
991
|
+
path: {
|
|
992
|
+
trajectory_id: string;
|
|
609
993
|
};
|
|
994
|
+
query?: never;
|
|
995
|
+
url: '/v1/trajectories/{trajectory_id}';
|
|
996
|
+
};
|
|
997
|
+
export type GetTrajectoryV1TrajectoriesTrajectoryIdGetErrors = {
|
|
998
|
+
/**
|
|
999
|
+
* Validation Error
|
|
1000
|
+
*/
|
|
1001
|
+
422: HttpValidationError;
|
|
1002
|
+
};
|
|
1003
|
+
export type GetTrajectoryV1TrajectoriesTrajectoryIdGetError = GetTrajectoryV1TrajectoriesTrajectoryIdGetErrors[keyof GetTrajectoryV1TrajectoriesTrajectoryIdGetErrors];
|
|
1004
|
+
export type GetTrajectoryV1TrajectoriesTrajectoryIdGetResponses = {
|
|
1005
|
+
/**
|
|
1006
|
+
* Successful Response
|
|
1007
|
+
*/
|
|
1008
|
+
200: TrajectoryResponse;
|
|
1009
|
+
};
|
|
1010
|
+
export type GetTrajectoryV1TrajectoriesTrajectoryIdGetResponse = GetTrajectoryV1TrajectoriesTrajectoryIdGetResponses[keyof GetTrajectoryV1TrajectoriesTrajectoryIdGetResponses];
|
|
1011
|
+
export type UpdateTrajectoryV1TrajectoriesTrajectoryIdPatchData = {
|
|
1012
|
+
body: TrajectoryUpdate;
|
|
610
1013
|
path: {
|
|
611
|
-
|
|
612
|
-
* Desktop instance ID to run the command on
|
|
613
|
-
*/
|
|
614
|
-
id: string;
|
|
1014
|
+
trajectory_id: string;
|
|
615
1015
|
};
|
|
616
1016
|
query?: never;
|
|
617
|
-
url: '/v1/
|
|
1017
|
+
url: '/v1/trajectories/{trajectory_id}';
|
|
618
1018
|
};
|
|
619
|
-
export type
|
|
1019
|
+
export type UpdateTrajectoryV1TrajectoriesTrajectoryIdPatchErrors = {
|
|
620
1020
|
/**
|
|
621
|
-
*
|
|
1021
|
+
* Validation Error
|
|
622
1022
|
*/
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
1023
|
+
422: HttpValidationError;
|
|
1024
|
+
};
|
|
1025
|
+
export type UpdateTrajectoryV1TrajectoriesTrajectoryIdPatchError = UpdateTrajectoryV1TrajectoriesTrajectoryIdPatchErrors[keyof UpdateTrajectoryV1TrajectoriesTrajectoryIdPatchErrors];
|
|
1026
|
+
export type UpdateTrajectoryV1TrajectoriesTrajectoryIdPatchResponses = {
|
|
1027
|
+
/**
|
|
1028
|
+
* Successful Response
|
|
1029
|
+
*/
|
|
1030
|
+
200: TrajectoryResponse;
|
|
1031
|
+
};
|
|
1032
|
+
export type UpdateTrajectoryV1TrajectoriesTrajectoryIdPatchResponse = UpdateTrajectoryV1TrajectoriesTrajectoryIdPatchResponses[keyof UpdateTrajectoryV1TrajectoriesTrajectoryIdPatchResponses];
|
|
1033
|
+
export type GetLatestTrajectoryForWorkflowV1WorkflowsWorkflowIdLatestTrajectoryGetData = {
|
|
1034
|
+
body?: never;
|
|
1035
|
+
path: {
|
|
1036
|
+
workflow_id: string;
|
|
629
1037
|
};
|
|
1038
|
+
query?: never;
|
|
1039
|
+
url: '/v1/workflows/{workflow_id}/latest-trajectory';
|
|
1040
|
+
};
|
|
1041
|
+
export type GetLatestTrajectoryForWorkflowV1WorkflowsWorkflowIdLatestTrajectoryGetErrors = {
|
|
630
1042
|
/**
|
|
631
|
-
*
|
|
1043
|
+
* Validation Error
|
|
632
1044
|
*/
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
1045
|
+
422: HttpValidationError;
|
|
1046
|
+
};
|
|
1047
|
+
export type GetLatestTrajectoryForWorkflowV1WorkflowsWorkflowIdLatestTrajectoryGetError = GetLatestTrajectoryForWorkflowV1WorkflowsWorkflowIdLatestTrajectoryGetErrors[keyof GetLatestTrajectoryForWorkflowV1WorkflowsWorkflowIdLatestTrajectoryGetErrors];
|
|
1048
|
+
export type GetLatestTrajectoryForWorkflowV1WorkflowsWorkflowIdLatestTrajectoryGetResponses = {
|
|
1049
|
+
/**
|
|
1050
|
+
* Successful Response
|
|
1051
|
+
*/
|
|
1052
|
+
200: TrajectoryResponse;
|
|
1053
|
+
};
|
|
1054
|
+
export type GetLatestTrajectoryForWorkflowV1WorkflowsWorkflowIdLatestTrajectoryGetResponse = GetLatestTrajectoryForWorkflowV1WorkflowsWorkflowIdLatestTrajectoryGetResponses[keyof GetLatestTrajectoryForWorkflowV1WorkflowsWorkflowIdLatestTrajectoryGetResponses];
|
|
1055
|
+
export type GetScreenshotV1ComputerMachineIdDisplayScreenshotGetData = {
|
|
1056
|
+
body?: never;
|
|
1057
|
+
path: {
|
|
1058
|
+
machine_id: string;
|
|
639
1059
|
};
|
|
1060
|
+
query?: never;
|
|
1061
|
+
url: '/v1/computer/{machine_id}/display/screenshot';
|
|
1062
|
+
};
|
|
1063
|
+
export type GetScreenshotV1ComputerMachineIdDisplayScreenshotGetErrors = {
|
|
640
1064
|
/**
|
|
641
|
-
*
|
|
1065
|
+
* Validation Error
|
|
642
1066
|
*/
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
1067
|
+
422: HttpValidationError;
|
|
1068
|
+
};
|
|
1069
|
+
export type GetScreenshotV1ComputerMachineIdDisplayScreenshotGetError = GetScreenshotV1ComputerMachineIdDisplayScreenshotGetErrors[keyof GetScreenshotV1ComputerMachineIdDisplayScreenshotGetErrors];
|
|
1070
|
+
export type GetScreenshotV1ComputerMachineIdDisplayScreenshotGetResponses = {
|
|
1071
|
+
/**
|
|
1072
|
+
* PNG image of the screenshot
|
|
1073
|
+
*/
|
|
1074
|
+
200: unknown;
|
|
1075
|
+
};
|
|
1076
|
+
export type GetDisplayDimensionsV1ComputerMachineIdDisplayDimensionsGetData = {
|
|
1077
|
+
body?: never;
|
|
1078
|
+
path: {
|
|
1079
|
+
machine_id: string;
|
|
649
1080
|
};
|
|
1081
|
+
query?: never;
|
|
1082
|
+
url: '/v1/computer/{machine_id}/display/dimensions';
|
|
1083
|
+
};
|
|
1084
|
+
export type GetDisplayDimensionsV1ComputerMachineIdDisplayDimensionsGetErrors = {
|
|
650
1085
|
/**
|
|
651
|
-
*
|
|
1086
|
+
* Validation Error
|
|
652
1087
|
*/
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
1088
|
+
422: HttpValidationError;
|
|
1089
|
+
};
|
|
1090
|
+
export type GetDisplayDimensionsV1ComputerMachineIdDisplayDimensionsGetError = GetDisplayDimensionsV1ComputerMachineIdDisplayDimensionsGetErrors[keyof GetDisplayDimensionsV1ComputerMachineIdDisplayDimensionsGetErrors];
|
|
1091
|
+
export type GetDisplayDimensionsV1ComputerMachineIdDisplayDimensionsGetResponses = {
|
|
1092
|
+
/**
|
|
1093
|
+
* Successful Response
|
|
1094
|
+
*/
|
|
1095
|
+
200: DisplayDimensions;
|
|
1096
|
+
};
|
|
1097
|
+
export type GetDisplayDimensionsV1ComputerMachineIdDisplayDimensionsGetResponse = GetDisplayDimensionsV1ComputerMachineIdDisplayDimensionsGetResponses[keyof GetDisplayDimensionsV1ComputerMachineIdDisplayDimensionsGetResponses];
|
|
1098
|
+
export type KeyboardTypeV1ComputerMachineIdInputKeyboardTypePostData = {
|
|
1099
|
+
body: KeyboardTypeRequest;
|
|
1100
|
+
path: {
|
|
1101
|
+
machine_id: string;
|
|
659
1102
|
};
|
|
1103
|
+
query?: never;
|
|
1104
|
+
url: '/v1/computer/{machine_id}/input/keyboard/type';
|
|
1105
|
+
};
|
|
1106
|
+
export type KeyboardTypeV1ComputerMachineIdInputKeyboardTypePostErrors = {
|
|
660
1107
|
/**
|
|
661
|
-
*
|
|
1108
|
+
* Validation Error
|
|
662
1109
|
*/
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
1110
|
+
422: HttpValidationError;
|
|
1111
|
+
};
|
|
1112
|
+
export type KeyboardTypeV1ComputerMachineIdInputKeyboardTypePostError = KeyboardTypeV1ComputerMachineIdInputKeyboardTypePostErrors[keyof KeyboardTypeV1ComputerMachineIdInputKeyboardTypePostErrors];
|
|
1113
|
+
export type KeyboardTypeV1ComputerMachineIdInputKeyboardTypePostResponses = {
|
|
1114
|
+
/**
|
|
1115
|
+
* Successful Response
|
|
1116
|
+
*/
|
|
1117
|
+
204: void;
|
|
1118
|
+
};
|
|
1119
|
+
export type KeyboardTypeV1ComputerMachineIdInputKeyboardTypePostResponse = KeyboardTypeV1ComputerMachineIdInputKeyboardTypePostResponses[keyof KeyboardTypeV1ComputerMachineIdInputKeyboardTypePostResponses];
|
|
1120
|
+
export type KeyboardKeyV1ComputerMachineIdInputKeyboardKeyPostData = {
|
|
1121
|
+
body: KeyboardKeyRequest;
|
|
1122
|
+
path: {
|
|
1123
|
+
machine_id: string;
|
|
669
1124
|
};
|
|
1125
|
+
query?: never;
|
|
1126
|
+
url: '/v1/computer/{machine_id}/input/keyboard/key';
|
|
1127
|
+
};
|
|
1128
|
+
export type KeyboardKeyV1ComputerMachineIdInputKeyboardKeyPostErrors = {
|
|
670
1129
|
/**
|
|
671
|
-
*
|
|
1130
|
+
* Validation Error
|
|
672
1131
|
*/
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
1132
|
+
422: HttpValidationError;
|
|
1133
|
+
};
|
|
1134
|
+
export type KeyboardKeyV1ComputerMachineIdInputKeyboardKeyPostError = KeyboardKeyV1ComputerMachineIdInputKeyboardKeyPostErrors[keyof KeyboardKeyV1ComputerMachineIdInputKeyboardKeyPostErrors];
|
|
1135
|
+
export type KeyboardKeyV1ComputerMachineIdInputKeyboardKeyPostResponses = {
|
|
1136
|
+
/**
|
|
1137
|
+
* Successful Response
|
|
1138
|
+
*/
|
|
1139
|
+
204: void;
|
|
1140
|
+
};
|
|
1141
|
+
export type KeyboardKeyV1ComputerMachineIdInputKeyboardKeyPostResponse = KeyboardKeyV1ComputerMachineIdInputKeyboardKeyPostResponses[keyof KeyboardKeyV1ComputerMachineIdInputKeyboardKeyPostResponses];
|
|
1142
|
+
export type GetMousePositionV1ComputerMachineIdInputMousePositionGetData = {
|
|
1143
|
+
body?: never;
|
|
1144
|
+
path: {
|
|
1145
|
+
machine_id: string;
|
|
679
1146
|
};
|
|
1147
|
+
query?: never;
|
|
1148
|
+
url: '/v1/computer/{machine_id}/input/mouse/position';
|
|
1149
|
+
};
|
|
1150
|
+
export type GetMousePositionV1ComputerMachineIdInputMousePositionGetErrors = {
|
|
680
1151
|
/**
|
|
681
|
-
*
|
|
1152
|
+
* Validation Error
|
|
682
1153
|
*/
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
1154
|
+
422: HttpValidationError;
|
|
1155
|
+
};
|
|
1156
|
+
export type GetMousePositionV1ComputerMachineIdInputMousePositionGetError = GetMousePositionV1ComputerMachineIdInputMousePositionGetErrors[keyof GetMousePositionV1ComputerMachineIdInputMousePositionGetErrors];
|
|
1157
|
+
export type GetMousePositionV1ComputerMachineIdInputMousePositionGetResponses = {
|
|
1158
|
+
/**
|
|
1159
|
+
* Successful Response
|
|
1160
|
+
*/
|
|
1161
|
+
200: MousePosition;
|
|
1162
|
+
};
|
|
1163
|
+
export type GetMousePositionV1ComputerMachineIdInputMousePositionGetResponse = GetMousePositionV1ComputerMachineIdInputMousePositionGetResponses[keyof GetMousePositionV1ComputerMachineIdInputMousePositionGetResponses];
|
|
1164
|
+
export type MouseMoveV1ComputerMachineIdInputMouseMovePostData = {
|
|
1165
|
+
body: MouseMoveRequest;
|
|
1166
|
+
path: {
|
|
1167
|
+
machine_id: string;
|
|
689
1168
|
};
|
|
1169
|
+
query?: never;
|
|
1170
|
+
url: '/v1/computer/{machine_id}/input/mouse/move';
|
|
1171
|
+
};
|
|
1172
|
+
export type MouseMoveV1ComputerMachineIdInputMouseMovePostErrors = {
|
|
690
1173
|
/**
|
|
691
|
-
*
|
|
1174
|
+
* Validation Error
|
|
692
1175
|
*/
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
1176
|
+
422: HttpValidationError;
|
|
1177
|
+
};
|
|
1178
|
+
export type MouseMoveV1ComputerMachineIdInputMouseMovePostError = MouseMoveV1ComputerMachineIdInputMouseMovePostErrors[keyof MouseMoveV1ComputerMachineIdInputMouseMovePostErrors];
|
|
1179
|
+
export type MouseMoveV1ComputerMachineIdInputMouseMovePostResponses = {
|
|
1180
|
+
/**
|
|
1181
|
+
* Successful Response
|
|
1182
|
+
*/
|
|
1183
|
+
204: void;
|
|
1184
|
+
};
|
|
1185
|
+
export type MouseMoveV1ComputerMachineIdInputMouseMovePostResponse = MouseMoveV1ComputerMachineIdInputMouseMovePostResponses[keyof MouseMoveV1ComputerMachineIdInputMouseMovePostResponses];
|
|
1186
|
+
export type MouseClickV1ComputerMachineIdInputMouseClickPostData = {
|
|
1187
|
+
body: MouseClickRequest;
|
|
1188
|
+
path: {
|
|
1189
|
+
machine_id: string;
|
|
699
1190
|
};
|
|
1191
|
+
query?: never;
|
|
1192
|
+
url: '/v1/computer/{machine_id}/input/mouse/click';
|
|
700
1193
|
};
|
|
701
|
-
export type
|
|
702
|
-
export type PostV1DesktopByIdBashActionResponses = {
|
|
1194
|
+
export type MouseClickV1ComputerMachineIdInputMouseClickPostErrors = {
|
|
703
1195
|
/**
|
|
704
|
-
*
|
|
1196
|
+
* Validation Error
|
|
1197
|
+
*/
|
|
1198
|
+
422: HttpValidationError;
|
|
1199
|
+
};
|
|
1200
|
+
export type MouseClickV1ComputerMachineIdInputMouseClickPostError = MouseClickV1ComputerMachineIdInputMouseClickPostErrors[keyof MouseClickV1ComputerMachineIdInputMouseClickPostErrors];
|
|
1201
|
+
export type MouseClickV1ComputerMachineIdInputMouseClickPostResponses = {
|
|
1202
|
+
/**
|
|
1203
|
+
* Successful Response
|
|
1204
|
+
*/
|
|
1205
|
+
204: void;
|
|
1206
|
+
};
|
|
1207
|
+
export type MouseClickV1ComputerMachineIdInputMouseClickPostResponse = MouseClickV1ComputerMachineIdInputMouseClickPostResponses[keyof MouseClickV1ComputerMachineIdInputMouseClickPostResponses];
|
|
1208
|
+
export type DummyTestEndpointV1TestPostData = {
|
|
1209
|
+
body?: never;
|
|
1210
|
+
path?: never;
|
|
1211
|
+
query?: never;
|
|
1212
|
+
url: '/v1/test';
|
|
1213
|
+
};
|
|
1214
|
+
export type DummyTestEndpointV1TestPostResponses = {
|
|
1215
|
+
/**
|
|
1216
|
+
* Successful Response
|
|
705
1217
|
*/
|
|
706
1218
|
200: {
|
|
707
|
-
|
|
708
|
-
* Raw string output from the executed command (if any)
|
|
709
|
-
*/
|
|
710
|
-
output?: string;
|
|
711
|
-
/**
|
|
712
|
-
* Error message if the operation failed (also indicated by non-2xx HTTP status)
|
|
713
|
-
*/
|
|
714
|
-
error?: string;
|
|
715
|
-
/**
|
|
716
|
-
* Base64 encoded JPEG image data (only returned for screenshot actions)
|
|
717
|
-
*/
|
|
718
|
-
base64_image?: string;
|
|
1219
|
+
[key: string]: unknown;
|
|
719
1220
|
};
|
|
720
1221
|
};
|
|
721
|
-
export type
|
|
1222
|
+
export type DummyTestEndpointV1TestPostResponse = DummyTestEndpointV1TestPostResponses[keyof DummyTestEndpointV1TestPostResponses];
|
|
1223
|
+
export type RootGetData = {
|
|
1224
|
+
body?: never;
|
|
1225
|
+
path?: never;
|
|
1226
|
+
query?: never;
|
|
1227
|
+
url: '/';
|
|
1228
|
+
};
|
|
1229
|
+
export type RootGetResponses = {
|
|
1230
|
+
/**
|
|
1231
|
+
* Successful Response
|
|
1232
|
+
*/
|
|
1233
|
+
200: unknown;
|
|
1234
|
+
};
|
|
722
1235
|
export type ClientOptions = {
|
|
723
|
-
baseUrl:
|
|
1236
|
+
baseUrl: `${string}://${string}` | (string & {});
|
|
724
1237
|
};
|