asteroid-odyssey 1.0.14 → 1.0.17
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 +4 -41
- package/dist/generated/agents/client.gen.d.ts +12 -0
- package/dist/generated/agents/client.gen.js +6 -0
- package/dist/generated/agents/index.d.ts +2 -16
- package/dist/generated/agents/index.js +17 -24
- package/dist/generated/agents/sdk.gen.d.ts +95 -0
- package/dist/generated/agents/sdk.gen.js +195 -0
- package/dist/generated/agents/types.gen.d.ts +597 -0
- package/dist/generated/agents/types.gen.js +3 -0
- package/dist/index.d.ts +99 -68
- package/dist/index.js +201 -92
- package/package.json +7 -5
|
@@ -0,0 +1,597 @@
|
|
|
1
|
+
export type OptimisationRequest = {
|
|
2
|
+
/**
|
|
3
|
+
* The run ID that we want to subject to optimisation
|
|
4
|
+
*/
|
|
5
|
+
run_id: string;
|
|
6
|
+
};
|
|
7
|
+
export type ProgressUpdate = {
|
|
8
|
+
/**
|
|
9
|
+
* The execution ID
|
|
10
|
+
*/
|
|
11
|
+
execution_id: string;
|
|
12
|
+
/**
|
|
13
|
+
* The progress of the execution
|
|
14
|
+
*/
|
|
15
|
+
progress: string;
|
|
16
|
+
/**
|
|
17
|
+
* The date and time the progress was created
|
|
18
|
+
*/
|
|
19
|
+
created_at: string;
|
|
20
|
+
};
|
|
21
|
+
export type Agent = {
|
|
22
|
+
/**
|
|
23
|
+
* The name of the agent
|
|
24
|
+
*/
|
|
25
|
+
name: string;
|
|
26
|
+
/**
|
|
27
|
+
* The description of the agent
|
|
28
|
+
*/
|
|
29
|
+
description: string;
|
|
30
|
+
/**
|
|
31
|
+
* The visibility of the agent
|
|
32
|
+
*/
|
|
33
|
+
visibility: string;
|
|
34
|
+
/**
|
|
35
|
+
* The required fields for the agent
|
|
36
|
+
*/
|
|
37
|
+
required_fields: Array<string>;
|
|
38
|
+
/**
|
|
39
|
+
* The prompts for the agent
|
|
40
|
+
*/
|
|
41
|
+
required_prompts: Array<string>;
|
|
42
|
+
};
|
|
43
|
+
/**
|
|
44
|
+
* A JSON Schema that defines the expected structure and validation rules for workflow results.
|
|
45
|
+
*/
|
|
46
|
+
export type ResultSchema = {
|
|
47
|
+
[key: string]: unknown;
|
|
48
|
+
};
|
|
49
|
+
export type CreateWorkflowRequest = {
|
|
50
|
+
/**
|
|
51
|
+
* The name of the workflow.
|
|
52
|
+
*/
|
|
53
|
+
name: string;
|
|
54
|
+
/**
|
|
55
|
+
* The ID of the user that this workflow belongs to.
|
|
56
|
+
*/
|
|
57
|
+
user_id?: string;
|
|
58
|
+
result_schema: ResultSchema;
|
|
59
|
+
/**
|
|
60
|
+
* JSON object containing static workflow configuration (e.g. a prompt_template).
|
|
61
|
+
*/
|
|
62
|
+
fields: {
|
|
63
|
+
[key: string]: unknown;
|
|
64
|
+
};
|
|
65
|
+
/**
|
|
66
|
+
* The prompts for the workflow. They can have variables in them. They will be merged with the dynamic data passed when the workflow is executed.
|
|
67
|
+
*/
|
|
68
|
+
prompts: Array<string>;
|
|
69
|
+
/**
|
|
70
|
+
* The Language Model Provider for the Workflow
|
|
71
|
+
*/
|
|
72
|
+
provider: 'openai' | 'anthropic';
|
|
73
|
+
};
|
|
74
|
+
export type Workflow = {
|
|
75
|
+
/**
|
|
76
|
+
* Workflow identifier.
|
|
77
|
+
*/
|
|
78
|
+
id: string;
|
|
79
|
+
/**
|
|
80
|
+
* The ID of the user who created the workflow.
|
|
81
|
+
*/
|
|
82
|
+
user_id: string;
|
|
83
|
+
result_schema: ResultSchema;
|
|
84
|
+
/**
|
|
85
|
+
* Identifier of the associated agent.
|
|
86
|
+
*/
|
|
87
|
+
agent_id: string;
|
|
88
|
+
/**
|
|
89
|
+
* The date and time the workflow was created.
|
|
90
|
+
*/
|
|
91
|
+
created_at?: string;
|
|
92
|
+
/**
|
|
93
|
+
* Workflow name.
|
|
94
|
+
*/
|
|
95
|
+
name: string;
|
|
96
|
+
/**
|
|
97
|
+
* Workflow configuration.
|
|
98
|
+
*/
|
|
99
|
+
fields: {
|
|
100
|
+
[key: string]: unknown;
|
|
101
|
+
};
|
|
102
|
+
/**
|
|
103
|
+
* The prompts for the workflow. They can have variables in them. They will be merged with the dynamic data passed when the workflow is executed.
|
|
104
|
+
*/
|
|
105
|
+
prompts: Array<string>;
|
|
106
|
+
/**
|
|
107
|
+
* The variables in the prompts.
|
|
108
|
+
*/
|
|
109
|
+
prompt_variables?: Array<string>;
|
|
110
|
+
};
|
|
111
|
+
export type WorkflowExecution = {
|
|
112
|
+
workflow: Workflow;
|
|
113
|
+
executions: Array<Execution>;
|
|
114
|
+
};
|
|
115
|
+
/**
|
|
116
|
+
* Dynamic values to be merged into the saved workflow configuration.
|
|
117
|
+
*/
|
|
118
|
+
export type WorkflowExecutionRequest = {
|
|
119
|
+
[key: string]: unknown;
|
|
120
|
+
};
|
|
121
|
+
export type Execution = {
|
|
122
|
+
/**
|
|
123
|
+
* Execution identifier.
|
|
124
|
+
*/
|
|
125
|
+
id: string;
|
|
126
|
+
/**
|
|
127
|
+
* Run ID.
|
|
128
|
+
*/
|
|
129
|
+
run_id: string;
|
|
130
|
+
/**
|
|
131
|
+
* Dynamic data to be merged into the saved workflow configuration.
|
|
132
|
+
*/
|
|
133
|
+
dynamic_data?: {
|
|
134
|
+
[key: string]: unknown;
|
|
135
|
+
};
|
|
136
|
+
/**
|
|
137
|
+
* Workflow ID.
|
|
138
|
+
*/
|
|
139
|
+
workflow_id: string;
|
|
140
|
+
status?: ExecutionStatus;
|
|
141
|
+
/**
|
|
142
|
+
* The result of the execution.
|
|
143
|
+
*/
|
|
144
|
+
result: {
|
|
145
|
+
[key: string]: unknown;
|
|
146
|
+
};
|
|
147
|
+
/**
|
|
148
|
+
* The date and time the execution was created.
|
|
149
|
+
*/
|
|
150
|
+
created_at: string;
|
|
151
|
+
/**
|
|
152
|
+
* The error that occurred during the execution.
|
|
153
|
+
*/
|
|
154
|
+
error?: string;
|
|
155
|
+
};
|
|
156
|
+
export type ExecutionStatus = {
|
|
157
|
+
/**
|
|
158
|
+
* Execution ID.
|
|
159
|
+
*/
|
|
160
|
+
execution_id: string;
|
|
161
|
+
status: Status;
|
|
162
|
+
/**
|
|
163
|
+
* Reason for the status.
|
|
164
|
+
*/
|
|
165
|
+
reason?: string;
|
|
166
|
+
/**
|
|
167
|
+
* The date and time the execution status was created.
|
|
168
|
+
*/
|
|
169
|
+
created_at: string;
|
|
170
|
+
};
|
|
171
|
+
/**
|
|
172
|
+
* Status of the execution.
|
|
173
|
+
*/
|
|
174
|
+
export type Status = 'starting' | 'running' | 'paused' | 'completed' | 'cancelled' | 'failed';
|
|
175
|
+
export type BrowserSession = {
|
|
176
|
+
/**
|
|
177
|
+
* Browser session identifier.
|
|
178
|
+
*/
|
|
179
|
+
id?: string;
|
|
180
|
+
/**
|
|
181
|
+
* Browser name (Anchor, Browserbase, etc.)
|
|
182
|
+
*/
|
|
183
|
+
browser_name?: string;
|
|
184
|
+
/**
|
|
185
|
+
* Execution ID.
|
|
186
|
+
*/
|
|
187
|
+
execution_id?: string;
|
|
188
|
+
/**
|
|
189
|
+
* CDP URL.
|
|
190
|
+
*/
|
|
191
|
+
cdp_url?: string;
|
|
192
|
+
/**
|
|
193
|
+
* Debugger URL.
|
|
194
|
+
*/
|
|
195
|
+
debugger_url?: string;
|
|
196
|
+
/**
|
|
197
|
+
* Session ID.
|
|
198
|
+
*/
|
|
199
|
+
session_id?: string;
|
|
200
|
+
/**
|
|
201
|
+
* Session URL.
|
|
202
|
+
*/
|
|
203
|
+
session_url?: string;
|
|
204
|
+
/**
|
|
205
|
+
* Recording URL.
|
|
206
|
+
*/
|
|
207
|
+
recording_url?: string;
|
|
208
|
+
};
|
|
209
|
+
export type SlackChannelRequest = {
|
|
210
|
+
/**
|
|
211
|
+
* Slack channel ID.
|
|
212
|
+
*/
|
|
213
|
+
slack_channel_id: string;
|
|
214
|
+
};
|
|
215
|
+
export type File = {
|
|
216
|
+
/**
|
|
217
|
+
* Unique file identifier.
|
|
218
|
+
*/
|
|
219
|
+
id: string;
|
|
220
|
+
/**
|
|
221
|
+
* Execution ID associated with the file.
|
|
222
|
+
*/
|
|
223
|
+
execution_id: string;
|
|
224
|
+
/**
|
|
225
|
+
* Full GCS object path (e.g., "2023-10-21_14-05-01/1697892305-screenshot.png").
|
|
226
|
+
*/
|
|
227
|
+
file_path: string;
|
|
228
|
+
/**
|
|
229
|
+
* File extension.
|
|
230
|
+
*/
|
|
231
|
+
file_ext: string;
|
|
232
|
+
/**
|
|
233
|
+
* File name.
|
|
234
|
+
*/
|
|
235
|
+
file_name: string;
|
|
236
|
+
/**
|
|
237
|
+
* Size of the file in bytes.
|
|
238
|
+
*/
|
|
239
|
+
file_size: number;
|
|
240
|
+
/**
|
|
241
|
+
* MIME type of the file.
|
|
242
|
+
*/
|
|
243
|
+
mime_type: string;
|
|
244
|
+
/**
|
|
245
|
+
* Timestamp when the file record was created.
|
|
246
|
+
*/
|
|
247
|
+
created_at: string;
|
|
248
|
+
/**
|
|
249
|
+
* Signed URL to download the file.
|
|
250
|
+
*/
|
|
251
|
+
signed_url: string;
|
|
252
|
+
};
|
|
253
|
+
export type GetOpenApiData = {
|
|
254
|
+
body?: never;
|
|
255
|
+
path?: never;
|
|
256
|
+
query?: never;
|
|
257
|
+
url: '/openapi.yaml';
|
|
258
|
+
};
|
|
259
|
+
export type GetOpenApiResponses = {
|
|
260
|
+
/**
|
|
261
|
+
* OpenAPI schema
|
|
262
|
+
*/
|
|
263
|
+
200: unknown;
|
|
264
|
+
};
|
|
265
|
+
export type HealthCheckData = {
|
|
266
|
+
body?: never;
|
|
267
|
+
path?: never;
|
|
268
|
+
query?: never;
|
|
269
|
+
url: '/health';
|
|
270
|
+
};
|
|
271
|
+
export type HealthCheckErrors = {
|
|
272
|
+
/**
|
|
273
|
+
* API is unhealthy
|
|
274
|
+
*/
|
|
275
|
+
500: {
|
|
276
|
+
/**
|
|
277
|
+
* The error message
|
|
278
|
+
*/
|
|
279
|
+
error?: string;
|
|
280
|
+
};
|
|
281
|
+
};
|
|
282
|
+
export type HealthCheckError = HealthCheckErrors[keyof HealthCheckErrors];
|
|
283
|
+
export type HealthCheckResponses = {
|
|
284
|
+
/**
|
|
285
|
+
* API is healthy
|
|
286
|
+
*/
|
|
287
|
+
200: {
|
|
288
|
+
/**
|
|
289
|
+
* The health status of the API
|
|
290
|
+
*/
|
|
291
|
+
status?: string;
|
|
292
|
+
};
|
|
293
|
+
};
|
|
294
|
+
export type HealthCheckResponse = HealthCheckResponses[keyof HealthCheckResponses];
|
|
295
|
+
export type GetAgentsData = {
|
|
296
|
+
body?: never;
|
|
297
|
+
path?: never;
|
|
298
|
+
query?: never;
|
|
299
|
+
url: '/agents';
|
|
300
|
+
};
|
|
301
|
+
export type GetAgentsResponses = {
|
|
302
|
+
/**
|
|
303
|
+
* List of agents
|
|
304
|
+
*/
|
|
305
|
+
200: Array<Agent>;
|
|
306
|
+
};
|
|
307
|
+
export type GetAgentsResponse = GetAgentsResponses[keyof GetAgentsResponses];
|
|
308
|
+
export type QueueOptimisationJobData = {
|
|
309
|
+
body?: OptimisationRequest;
|
|
310
|
+
path?: never;
|
|
311
|
+
query?: never;
|
|
312
|
+
url: '/optimiser';
|
|
313
|
+
};
|
|
314
|
+
export type QueueOptimisationJobResponses = {
|
|
315
|
+
/**
|
|
316
|
+
* Optimiser job created
|
|
317
|
+
*/
|
|
318
|
+
202: unknown;
|
|
319
|
+
};
|
|
320
|
+
export type CreateWorkflowData = {
|
|
321
|
+
body: CreateWorkflowRequest;
|
|
322
|
+
path: {
|
|
323
|
+
agent_name: string;
|
|
324
|
+
};
|
|
325
|
+
query?: never;
|
|
326
|
+
url: '/workflow/{agent_name}/create';
|
|
327
|
+
};
|
|
328
|
+
export type CreateWorkflowErrors = {
|
|
329
|
+
/**
|
|
330
|
+
* Invalid input
|
|
331
|
+
*/
|
|
332
|
+
400: unknown;
|
|
333
|
+
};
|
|
334
|
+
export type CreateWorkflowResponses = {
|
|
335
|
+
/**
|
|
336
|
+
* The ID of the workflow
|
|
337
|
+
*/
|
|
338
|
+
201: string;
|
|
339
|
+
};
|
|
340
|
+
export type CreateWorkflowResponse = CreateWorkflowResponses[keyof CreateWorkflowResponses];
|
|
341
|
+
export type DeleteWorkflowData = {
|
|
342
|
+
body?: never;
|
|
343
|
+
path: {
|
|
344
|
+
workflow_id: string;
|
|
345
|
+
};
|
|
346
|
+
query?: never;
|
|
347
|
+
url: '/workflow/{workflow_id}';
|
|
348
|
+
};
|
|
349
|
+
export type DeleteWorkflowErrors = {
|
|
350
|
+
/**
|
|
351
|
+
* Workflow not found
|
|
352
|
+
*/
|
|
353
|
+
404: {
|
|
354
|
+
error?: string;
|
|
355
|
+
};
|
|
356
|
+
};
|
|
357
|
+
export type DeleteWorkflowError = DeleteWorkflowErrors[keyof DeleteWorkflowErrors];
|
|
358
|
+
export type DeleteWorkflowResponses = {
|
|
359
|
+
/**
|
|
360
|
+
* Workflow deleted successfully
|
|
361
|
+
*/
|
|
362
|
+
200: {
|
|
363
|
+
result?: string;
|
|
364
|
+
};
|
|
365
|
+
};
|
|
366
|
+
export type DeleteWorkflowResponse = DeleteWorkflowResponses[keyof DeleteWorkflowResponses];
|
|
367
|
+
export type GetWorkflowData = {
|
|
368
|
+
body?: never;
|
|
369
|
+
path: {
|
|
370
|
+
workflow_id: string;
|
|
371
|
+
};
|
|
372
|
+
query?: never;
|
|
373
|
+
url: '/workflow/{workflow_id}';
|
|
374
|
+
};
|
|
375
|
+
export type GetWorkflowErrors = {
|
|
376
|
+
/**
|
|
377
|
+
* Workflow not found
|
|
378
|
+
*/
|
|
379
|
+
404: unknown;
|
|
380
|
+
};
|
|
381
|
+
export type GetWorkflowResponses = {
|
|
382
|
+
/**
|
|
383
|
+
* Workflow
|
|
384
|
+
*/
|
|
385
|
+
200: Workflow;
|
|
386
|
+
};
|
|
387
|
+
export type GetWorkflowResponse = GetWorkflowResponses[keyof GetWorkflowResponses];
|
|
388
|
+
export type ExecuteWorkflowData = {
|
|
389
|
+
body: WorkflowExecutionRequest;
|
|
390
|
+
path: {
|
|
391
|
+
workflow_id: string;
|
|
392
|
+
};
|
|
393
|
+
query?: never;
|
|
394
|
+
url: '/workflow/{workflow_id}';
|
|
395
|
+
};
|
|
396
|
+
export type ExecuteWorkflowErrors = {
|
|
397
|
+
/**
|
|
398
|
+
* Invalid input or missing required fields
|
|
399
|
+
*/
|
|
400
|
+
400: unknown;
|
|
401
|
+
};
|
|
402
|
+
export type ExecuteWorkflowResponses = {
|
|
403
|
+
/**
|
|
404
|
+
* Workflow executed successfully, job queued
|
|
405
|
+
*/
|
|
406
|
+
202: string;
|
|
407
|
+
};
|
|
408
|
+
export type ExecuteWorkflowResponse = ExecuteWorkflowResponses[keyof ExecuteWorkflowResponses];
|
|
409
|
+
export type GetExecutionsForWorkflowData = {
|
|
410
|
+
body?: never;
|
|
411
|
+
path: {
|
|
412
|
+
workflow_id: string;
|
|
413
|
+
};
|
|
414
|
+
query?: never;
|
|
415
|
+
url: '/workflow/{workflow_id}/executions';
|
|
416
|
+
};
|
|
417
|
+
export type GetExecutionsForWorkflowResponses = {
|
|
418
|
+
/**
|
|
419
|
+
* Executions for the workflow
|
|
420
|
+
*/
|
|
421
|
+
200: Array<Execution>;
|
|
422
|
+
};
|
|
423
|
+
export type GetExecutionsForWorkflowResponse = GetExecutionsForWorkflowResponses[keyof GetExecutionsForWorkflowResponses];
|
|
424
|
+
export type DeleteExecutionData = {
|
|
425
|
+
body?: never;
|
|
426
|
+
path: {
|
|
427
|
+
id: string;
|
|
428
|
+
};
|
|
429
|
+
query?: never;
|
|
430
|
+
url: '/execution/{id}';
|
|
431
|
+
};
|
|
432
|
+
export type DeleteExecutionErrors = {
|
|
433
|
+
/**
|
|
434
|
+
* Execution not found
|
|
435
|
+
*/
|
|
436
|
+
404: {
|
|
437
|
+
error?: string;
|
|
438
|
+
};
|
|
439
|
+
};
|
|
440
|
+
export type DeleteExecutionError = DeleteExecutionErrors[keyof DeleteExecutionErrors];
|
|
441
|
+
export type DeleteExecutionResponses = {
|
|
442
|
+
/**
|
|
443
|
+
* Execution deleted successfully
|
|
444
|
+
*/
|
|
445
|
+
200: {
|
|
446
|
+
result?: string;
|
|
447
|
+
};
|
|
448
|
+
};
|
|
449
|
+
export type DeleteExecutionResponse = DeleteExecutionResponses[keyof DeleteExecutionResponses];
|
|
450
|
+
export type GetExecutionData = {
|
|
451
|
+
body?: never;
|
|
452
|
+
path: {
|
|
453
|
+
id: string;
|
|
454
|
+
};
|
|
455
|
+
query?: never;
|
|
456
|
+
url: '/execution/{id}';
|
|
457
|
+
};
|
|
458
|
+
export type GetExecutionErrors = {
|
|
459
|
+
/**
|
|
460
|
+
* Execution not found
|
|
461
|
+
*/
|
|
462
|
+
404: unknown;
|
|
463
|
+
};
|
|
464
|
+
export type GetExecutionResponses = {
|
|
465
|
+
/**
|
|
466
|
+
* Execution
|
|
467
|
+
*/
|
|
468
|
+
200: Execution;
|
|
469
|
+
};
|
|
470
|
+
export type GetExecutionResponse = GetExecutionResponses[keyof GetExecutionResponses];
|
|
471
|
+
export type UpdateExecutionStatusData = {
|
|
472
|
+
body: ExecutionStatus;
|
|
473
|
+
path: {
|
|
474
|
+
id: string;
|
|
475
|
+
};
|
|
476
|
+
query?: never;
|
|
477
|
+
url: '/execution/{id}/status';
|
|
478
|
+
};
|
|
479
|
+
export type UpdateExecutionStatusErrors = {
|
|
480
|
+
/**
|
|
481
|
+
* Invalid input
|
|
482
|
+
*/
|
|
483
|
+
400: unknown;
|
|
484
|
+
/**
|
|
485
|
+
* Execution not found
|
|
486
|
+
*/
|
|
487
|
+
404: unknown;
|
|
488
|
+
};
|
|
489
|
+
export type UpdateExecutionStatusResponses = {
|
|
490
|
+
/**
|
|
491
|
+
* Execution status updated
|
|
492
|
+
*/
|
|
493
|
+
200: unknown;
|
|
494
|
+
};
|
|
495
|
+
export type GetBrowserSessionData = {
|
|
496
|
+
body?: never;
|
|
497
|
+
path: {
|
|
498
|
+
id: string;
|
|
499
|
+
};
|
|
500
|
+
query?: never;
|
|
501
|
+
url: '/execution/{id}/browser_session';
|
|
502
|
+
};
|
|
503
|
+
export type GetBrowserSessionErrors = {
|
|
504
|
+
/**
|
|
505
|
+
* Browser session not found
|
|
506
|
+
*/
|
|
507
|
+
404: unknown;
|
|
508
|
+
};
|
|
509
|
+
export type GetBrowserSessionResponses = {
|
|
510
|
+
/**
|
|
511
|
+
* Browser session
|
|
512
|
+
*/
|
|
513
|
+
200: BrowserSession;
|
|
514
|
+
};
|
|
515
|
+
export type GetBrowserSessionResponse = GetBrowserSessionResponses[keyof GetBrowserSessionResponses];
|
|
516
|
+
export type SetSlackChannelData = {
|
|
517
|
+
body: SlackChannelRequest;
|
|
518
|
+
path?: never;
|
|
519
|
+
query?: never;
|
|
520
|
+
url: '/slack_channel';
|
|
521
|
+
};
|
|
522
|
+
export type SetSlackChannelErrors = {
|
|
523
|
+
/**
|
|
524
|
+
* Invalid input
|
|
525
|
+
*/
|
|
526
|
+
400: unknown;
|
|
527
|
+
/**
|
|
528
|
+
* Execution not found
|
|
529
|
+
*/
|
|
530
|
+
404: unknown;
|
|
531
|
+
};
|
|
532
|
+
export type SetSlackChannelResponses = {
|
|
533
|
+
/**
|
|
534
|
+
* Slack channel set
|
|
535
|
+
*/
|
|
536
|
+
200: unknown;
|
|
537
|
+
};
|
|
538
|
+
export type GetAgentWorkflowExecutionsData = {
|
|
539
|
+
body?: never;
|
|
540
|
+
path: {
|
|
541
|
+
agent_name: string;
|
|
542
|
+
};
|
|
543
|
+
query?: never;
|
|
544
|
+
url: '/agent/{agent_name}/workflows';
|
|
545
|
+
};
|
|
546
|
+
export type GetAgentWorkflowExecutionsResponses = {
|
|
547
|
+
/**
|
|
548
|
+
* List of workflow executions
|
|
549
|
+
*/
|
|
550
|
+
200: Array<WorkflowExecution>;
|
|
551
|
+
};
|
|
552
|
+
export type GetAgentWorkflowExecutionsResponse = GetAgentWorkflowExecutionsResponses[keyof GetAgentWorkflowExecutionsResponses];
|
|
553
|
+
export type GetExecutionProgressData = {
|
|
554
|
+
body?: never;
|
|
555
|
+
path: {
|
|
556
|
+
id: string;
|
|
557
|
+
};
|
|
558
|
+
query?: never;
|
|
559
|
+
url: '/execution/{id}/progress';
|
|
560
|
+
};
|
|
561
|
+
export type GetExecutionProgressErrors = {
|
|
562
|
+
/**
|
|
563
|
+
* Execution not found
|
|
564
|
+
*/
|
|
565
|
+
404: unknown;
|
|
566
|
+
};
|
|
567
|
+
export type GetExecutionProgressResponses = {
|
|
568
|
+
/**
|
|
569
|
+
* Progress of the execution
|
|
570
|
+
*/
|
|
571
|
+
200: Array<ProgressUpdate>;
|
|
572
|
+
};
|
|
573
|
+
export type GetExecutionProgressResponse = GetExecutionProgressResponses[keyof GetExecutionProgressResponses];
|
|
574
|
+
export type GetExecutionFilesData = {
|
|
575
|
+
body?: never;
|
|
576
|
+
path: {
|
|
577
|
+
id: string;
|
|
578
|
+
};
|
|
579
|
+
query?: never;
|
|
580
|
+
url: '/execution/{id}/files';
|
|
581
|
+
};
|
|
582
|
+
export type GetExecutionFilesErrors = {
|
|
583
|
+
/**
|
|
584
|
+
* Execution files not found.
|
|
585
|
+
*/
|
|
586
|
+
404: unknown;
|
|
587
|
+
};
|
|
588
|
+
export type GetExecutionFilesResponses = {
|
|
589
|
+
/**
|
|
590
|
+
* List of file records associated with the execution.
|
|
591
|
+
*/
|
|
592
|
+
200: Array<File>;
|
|
593
|
+
};
|
|
594
|
+
export type GetExecutionFilesResponse = GetExecutionFilesResponses[keyof GetExecutionFilesResponses];
|
|
595
|
+
export type ClientOptions = {
|
|
596
|
+
baseUrl: `${string}://${string}/api/v1` | (string & {});
|
|
597
|
+
};
|