cyberdesk 2.2.34 → 2.2.35
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client/sdk.gen.d.ts +11 -1
- package/dist/client/sdk.gen.js +28 -2
- package/dist/client/types.gen.d.ts +82 -7
- package/dist/index.d.ts +42 -1
- package/dist/index.js +39 -4
- package/package.json +1 -1
package/dist/client/sdk.gen.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type Options as ClientOptions, type TDataShape, type Client } from '@hey-api/client-fetch';
|
|
2
|
-
import type { HealthCheckV1HealthGetData, DatabaseHealthCheckV1HealthDbGetData, ListMachinesV1MachinesGetData, CreateMachineV1MachinesPostData, DeleteMachineV1MachinesMachineIdDeleteData, GetMachineV1MachinesMachineIdGetData, UpdateMachineV1MachinesMachineIdPatchData, GetMachinePoolsV1MachinesMachineIdPoolsGetData, UpdateMachinePoolsV1MachinesMachineIdPoolsPutData, ListPoolsV1PoolsGetData, CreatePoolV1PoolsPostData, DeletePoolV1PoolsPoolIdDeleteData, GetPoolV1PoolsPoolIdGetData, UpdatePoolV1PoolsPoolIdPatchData, RemoveMachinesFromPoolV1PoolsPoolIdMachinesDeleteData, AddMachinesToPoolV1PoolsPoolIdMachinesPostData, ListWorkflowsV1WorkflowsGetData, CreateWorkflowV1WorkflowsPostData, BulkAddTagsToWorkflowsV1WorkflowsBulkTagsPostData, DeleteWorkflowV1WorkflowsWorkflowIdDeleteData, GetWorkflowV1WorkflowsWorkflowIdGetData, UpdateWorkflowV1WorkflowsWorkflowIdPatchData, DuplicateWorkflowV1WorkflowsWorkflowIdDuplicatePostData, MergeWorkflowV1WorkflowsWorkflowIdMergePostData, GetWorkflowVersionsV1WorkflowsWorkflowIdVersionsGetData, DeleteWorkflowPromptImageV1WorkflowsPromptImageDeleteData, UploadWorkflowPromptImageV1WorkflowsPromptImagePostData, ListWorkflowPromptImagesV1WorkflowsPromptImagesGetData, GetWorkflowPromptImageSignedUrlV1WorkflowsPromptImageSignedUrlGetData, GetWorkflowTagsV1WorkflowsWorkflowIdTagsGetData, AddTagsToWorkflowV1WorkflowsWorkflowIdTagsPostData, RemoveTagFromWorkflowV1WorkflowsWorkflowIdTagsTagIdDeleteData, ListTagsV1WorkflowTagsGetData, CreateTagV1WorkflowTagsPostData, DeleteTagV1WorkflowTagsTagIdDeleteData, GetTagV1WorkflowTagsTagIdGetData, UpdateTagV1WorkflowTagsTagIdPatchData, ArchiveTagV1WorkflowTagsTagIdArchivePostData, UnarchiveTagV1WorkflowTagsTagIdUnarchivePostData, ReorderTagsV1WorkflowTagsReorderPutData, ListTagGroupsV1WorkflowTagGroupsGetData, CreateTagGroupV1WorkflowTagGroupsPostData, DeleteTagGroupV1WorkflowTagGroupsGroupIdDeleteData, GetTagGroupV1WorkflowTagGroupsGroupIdGetData, UpdateTagGroupV1WorkflowTagGroupsGroupIdPatchData, ReorderTagGroupsV1WorkflowTagGroupsReorderPutData, ListModelConfigurationsV1ModelConfigurationsGetData, CreateModelConfigurationV1ModelConfigurationsPostData, DeleteModelConfigurationV1ModelConfigurationsModelConfigurationIdDeleteData, GetModelConfigurationV1ModelConfigurationsModelConfigurationIdGetData, UpdateModelConfigurationV1ModelConfigurationsModelConfigurationIdPatchData, ListRunsV1RunsGetData, CreateRunV1RunsPostData, DeleteRunV1RunsRunIdDeleteData, GetRunV1RunsRunIdGetData, UpdateRunV1RunsRunIdPatchData, GetRunTrajectoryV1RunsRunIdTrajectoryGetData, GenerateRunTrajectoryV1RunsRunIdGenerateTrajectoryPostData, CreateRunChainV1RunsChainPostData, BulkCreateRunsV1RunsBulkPostData, RetryRunV1RunsRunIdRetryPostData, ListRunAttachmentsV1RunAttachmentsGetData, CreateRunAttachmentV1RunAttachmentsPostData, DeleteRunAttachmentV1RunAttachmentsAttachmentIdDeleteData, GetRunAttachmentV1RunAttachmentsAttachmentIdGetData, UpdateRunAttachmentV1RunAttachmentsAttachmentIdPutData, GetRunAttachmentDownloadUrlV1RunAttachmentsAttachmentIdDownloadUrlGetData, DownloadRunAttachmentV1RunAttachmentsAttachmentIdDownloadGetData, ListConnectionsV1ConnectionsGetData, CreateConnectionV1ConnectionsPostData, DeleteConnectionV1ConnectionsConnectionIdDeleteData, GetConnectionV1ConnectionsConnectionIdGetData, UpdateConnectionV1ConnectionsConnectionIdPatchData, ListRequestLogsV1RequestLogsGetData, CreateRequestLogV1RequestLogsPostData, DeleteRequestLogV1RequestLogsLogIdDeleteData, GetRequestLogV1RequestLogsLogIdGetData, UpdateRequestLogV1RequestLogsLogIdPatchData, ListTrajectoriesV1TrajectoriesGetData, CreateTrajectoryV1TrajectoriesPostData, DeleteTrajectoryV1TrajectoriesTrajectoryIdDeleteData, GetTrajectoryV1TrajectoriesTrajectoryIdGetData, UpdateTrajectoryV1TrajectoriesTrajectoryIdPatchData, DuplicateTrajectoryV1TrajectoriesTrajectoryIdDuplicatePostData, GetLatestTrajectoryForWorkflowV1WorkflowsWorkflowIdLatestTrajectoryGetData, GetScreenshotV1ComputerMachineIdDisplayScreenshotGetData, GetDisplayDimensionsV1ComputerMachineIdDisplayDimensionsGetData, KeyboardTypeV1ComputerMachineIdInputKeyboardTypePostData, KeyboardKeyV1ComputerMachineIdInputKeyboardKeyPostData, CopyToClipboardV1ComputerMachineIdCopyToClipboardPostData, GetMousePositionV1ComputerMachineIdInputMousePositionGetData, MouseMoveV1ComputerMachineIdInputMouseMovePostData, MouseClickV1ComputerMachineIdInputMouseClickPostData, MouseScrollV1ComputerMachineIdInputMouseScrollPostData, MouseDragV1ComputerMachineIdInputMouseDragPostData, FsListV1ComputerMachineIdFsListGetData, FsReadV1ComputerMachineIdFsReadGetData, FsWriteV1ComputerMachineIdFsWritePostData, PowershellExecV1ComputerMachineIdShellPowershellExecPostData, PowershellSessionV1ComputerMachineIdShellPowershellSessionPostData, CyberdriverShutdownV1MachinesMachineIdCyberdriverShutdownPostData, GetUsageAggregateV1UsageAggregateGetData, RootGetData, HealthLiveHealthLiveGetData, HealthReadyHealthReadyGetData, HealthHealthGetData, HealthDbHealthDbGetData, HealthMachinesV1HealthMachinesGetData } from './types.gen';
|
|
2
|
+
import type { HealthCheckV1HealthGetData, DatabaseHealthCheckV1HealthDbGetData, ListMachinesV1MachinesGetData, CreateMachineV1MachinesPostData, DeleteMachineV1MachinesMachineIdDeleteData, GetMachineV1MachinesMachineIdGetData, UpdateMachineV1MachinesMachineIdPatchData, GetMachinePoolsV1MachinesMachineIdPoolsGetData, UpdateMachinePoolsV1MachinesMachineIdPoolsPutData, ListPoolsV1PoolsGetData, CreatePoolV1PoolsPostData, DeletePoolV1PoolsPoolIdDeleteData, GetPoolV1PoolsPoolIdGetData, UpdatePoolV1PoolsPoolIdPatchData, RemoveMachinesFromPoolV1PoolsPoolIdMachinesDeleteData, AddMachinesToPoolV1PoolsPoolIdMachinesPostData, ListWorkflowsV1WorkflowsGetData, CreateWorkflowV1WorkflowsPostData, BulkAddTagsToWorkflowsV1WorkflowsBulkTagsPostData, DeleteWorkflowV1WorkflowsWorkflowIdDeleteData, GetWorkflowV1WorkflowsWorkflowIdGetData, UpdateWorkflowV1WorkflowsWorkflowIdPatchData, DuplicateWorkflowV1WorkflowsWorkflowIdDuplicatePostData, MergeWorkflowV1WorkflowsWorkflowIdMergePostData, GetWorkflowVersionsV1WorkflowsWorkflowIdVersionsGetData, DeleteWorkflowPromptImageV1WorkflowsPromptImageDeleteData, UploadWorkflowPromptImageV1WorkflowsPromptImagePostData, ListWorkflowPromptImagesV1WorkflowsPromptImagesGetData, GetWorkflowPromptImageSignedUrlV1WorkflowsPromptImageSignedUrlGetData, GetWorkflowTagsV1WorkflowsWorkflowIdTagsGetData, AddTagsToWorkflowV1WorkflowsWorkflowIdTagsPostData, RemoveTagFromWorkflowV1WorkflowsWorkflowIdTagsTagIdDeleteData, ListTagsV1WorkflowTagsGetData, CreateTagV1WorkflowTagsPostData, DeleteTagV1WorkflowTagsTagIdDeleteData, GetTagV1WorkflowTagsTagIdGetData, UpdateTagV1WorkflowTagsTagIdPatchData, ArchiveTagV1WorkflowTagsTagIdArchivePostData, UnarchiveTagV1WorkflowTagsTagIdUnarchivePostData, ReorderTagsV1WorkflowTagsReorderPutData, ListTagGroupsV1WorkflowTagGroupsGetData, CreateTagGroupV1WorkflowTagGroupsPostData, DeleteTagGroupV1WorkflowTagGroupsGroupIdDeleteData, GetTagGroupV1WorkflowTagGroupsGroupIdGetData, UpdateTagGroupV1WorkflowTagGroupsGroupIdPatchData, ReorderTagGroupsV1WorkflowTagGroupsReorderPutData, ListModelConfigurationsV1ModelConfigurationsGetData, CreateModelConfigurationV1ModelConfigurationsPostData, DeleteModelConfigurationV1ModelConfigurationsModelConfigurationIdDeleteData, GetModelConfigurationV1ModelConfigurationsModelConfigurationIdGetData, UpdateModelConfigurationV1ModelConfigurationsModelConfigurationIdPatchData, ListRunsV1RunsGetData, CreateRunV1RunsPostData, DeleteRunV1RunsRunIdDeleteData, GetRunV1RunsRunIdGetData, UpdateRunV1RunsRunIdPatchData, GetRunTrajectoryV1RunsRunIdTrajectoryGetData, GenerateRunTrajectoryV1RunsRunIdGenerateTrajectoryPostData, CreateRunChainV1RunsChainPostData, BulkCreateRunsV1RunsBulkPostData, RetryRunV1RunsRunIdRetryPostData, ListRunAttachmentsV1RunAttachmentsGetData, CreateRunAttachmentV1RunAttachmentsPostData, DeleteRunAttachmentV1RunAttachmentsAttachmentIdDeleteData, GetRunAttachmentV1RunAttachmentsAttachmentIdGetData, UpdateRunAttachmentV1RunAttachmentsAttachmentIdPutData, GetRunAttachmentDownloadUrlV1RunAttachmentsAttachmentIdDownloadUrlGetData, DownloadRunAttachmentV1RunAttachmentsAttachmentIdDownloadGetData, ListConnectionsV1ConnectionsGetData, CreateConnectionV1ConnectionsPostData, DeleteConnectionV1ConnectionsConnectionIdDeleteData, GetConnectionV1ConnectionsConnectionIdGetData, UpdateConnectionV1ConnectionsConnectionIdPatchData, ListRequestLogsV1RequestLogsGetData, CreateRequestLogV1RequestLogsPostData, DeleteRequestLogV1RequestLogsLogIdDeleteData, GetRequestLogV1RequestLogsLogIdGetData, UpdateRequestLogV1RequestLogsLogIdPatchData, ListTrajectoriesV1TrajectoriesGetData, CreateTrajectoryV1TrajectoriesPostData, DeleteTrajectoryV1TrajectoriesTrajectoryIdDeleteData, GetTrajectoryV1TrajectoriesTrajectoryIdGetData, UpdateTrajectoryV1TrajectoriesTrajectoryIdPatchData, DuplicateTrajectoryV1TrajectoriesTrajectoryIdDuplicatePostData, GetLatestTrajectoryForWorkflowV1WorkflowsWorkflowIdLatestTrajectoryGetData, GetScreenshotV1ComputerMachineIdDisplayScreenshotGetData, GetDisplayDimensionsV1ComputerMachineIdDisplayDimensionsGetData, CreateAdHocComputerTaskV1ComputerMachineIdTaskPostData, NotifyTaskDoneV1ComputerMachineIdTaskDonePostData, KeyboardTypeV1ComputerMachineIdInputKeyboardTypePostData, KeyboardKeyV1ComputerMachineIdInputKeyboardKeyPostData, CopyToClipboardV1ComputerMachineIdCopyToClipboardPostData, GetMousePositionV1ComputerMachineIdInputMousePositionGetData, MouseMoveV1ComputerMachineIdInputMouseMovePostData, MouseClickV1ComputerMachineIdInputMouseClickPostData, MouseScrollV1ComputerMachineIdInputMouseScrollPostData, MouseDragV1ComputerMachineIdInputMouseDragPostData, FsListV1ComputerMachineIdFsListGetData, FsReadV1ComputerMachineIdFsReadGetData, FsWriteV1ComputerMachineIdFsWritePostData, PowershellExecV1ComputerMachineIdShellPowershellExecPostData, PowershellSessionV1ComputerMachineIdShellPowershellSessionPostData, CyberdriverShutdownV1MachinesMachineIdCyberdriverShutdownPostData, GetUsageAggregateV1UsageAggregateGetData, RootGetData, HealthLiveHealthLiveGetData, HealthReadyHealthReadyGetData, HealthHealthGetData, HealthDbHealthDbGetData, HealthMachinesV1HealthMachinesGetData } from './types.gen';
|
|
3
3
|
export type Options<TData extends TDataShape = TDataShape, ThrowOnError extends boolean = boolean> = ClientOptions<TData, ThrowOnError> & {
|
|
4
4
|
/**
|
|
5
5
|
* You can provide a client instance returned by `createClient()` instead of
|
|
@@ -683,6 +683,16 @@ export declare const getScreenshotV1ComputerMachineIdDisplayScreenshotGet: <Thro
|
|
|
683
683
|
* Get the display dimensions of the machine.
|
|
684
684
|
*/
|
|
685
685
|
export declare const getDisplayDimensionsV1ComputerMachineIdDisplayDimensionsGet: <ThrowOnError extends boolean = false>(options: Options<GetDisplayDimensionsV1ComputerMachineIdDisplayDimensionsGetData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<import("./types.gen").DisplayDimensions, import("./types.gen").HttpValidationError, ThrowOnError>;
|
|
686
|
+
/**
|
|
687
|
+
* Create an ad hoc computer task
|
|
688
|
+
*/
|
|
689
|
+
export declare const createAdHocComputerTaskV1ComputerMachineIdTaskPost: <ThrowOnError extends boolean = false>(options: Options<CreateAdHocComputerTaskV1ComputerMachineIdTaskPostData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<import("./types.gen").ComputerTaskAcceptedResponse, import("./types.gen").HttpValidationError, ThrowOnError>;
|
|
690
|
+
/**
|
|
691
|
+
* Notify Cyberdriver task completion
|
|
692
|
+
*/
|
|
693
|
+
export declare const notifyTaskDoneV1ComputerMachineIdTaskDonePost: <ThrowOnError extends boolean = false>(options: Options<NotifyTaskDoneV1ComputerMachineIdTaskDonePostData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<{
|
|
694
|
+
[key: string]: unknown;
|
|
695
|
+
}, import("./types.gen").HttpValidationError, ThrowOnError>;
|
|
686
696
|
/**
|
|
687
697
|
* Type text
|
|
688
698
|
* Type text on the machine's keyboard.
|
package/dist/client/sdk.gen.js
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
// This file is auto-generated by @hey-api/openapi-ts
|
|
3
3
|
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
|
-
exports.
|
|
6
|
-
exports.healthMachinesV1HealthMachinesGet = exports.healthDbHealthDbGet = exports.healthHealthGet = exports.healthReadyHealthReadyGet = exports.healthLiveHealthLiveGet = exports.rootGet = exports.getUsageAggregateV1UsageAggregateGet = exports.cyberdriverShutdownV1MachinesMachineIdCyberdriverShutdownPost = void 0;
|
|
5
|
+
exports.fsWriteV1ComputerMachineIdFsWritePost = exports.fsReadV1ComputerMachineIdFsReadGet = exports.fsListV1ComputerMachineIdFsListGet = exports.mouseDragV1ComputerMachineIdInputMouseDragPost = exports.mouseScrollV1ComputerMachineIdInputMouseScrollPost = exports.mouseClickV1ComputerMachineIdInputMouseClickPost = exports.mouseMoveV1ComputerMachineIdInputMouseMovePost = exports.getMousePositionV1ComputerMachineIdInputMousePositionGet = exports.copyToClipboardV1ComputerMachineIdCopyToClipboardPost = exports.keyboardKeyV1ComputerMachineIdInputKeyboardKeyPost = exports.keyboardTypeV1ComputerMachineIdInputKeyboardTypePost = exports.notifyTaskDoneV1ComputerMachineIdTaskDonePost = exports.createAdHocComputerTaskV1ComputerMachineIdTaskPost = 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
|
+
exports.healthMachinesV1HealthMachinesGet = exports.healthDbHealthDbGet = exports.healthHealthGet = exports.healthReadyHealthReadyGet = exports.healthLiveHealthLiveGet = exports.rootGet = exports.getUsageAggregateV1UsageAggregateGet = exports.cyberdriverShutdownV1MachinesMachineIdCyberdriverShutdownPost = exports.powershellSessionV1ComputerMachineIdShellPowershellSessionPost = exports.powershellExecV1ComputerMachineIdShellPowershellExecPost = void 0;
|
|
7
7
|
const client_fetch_1 = require("@hey-api/client-fetch");
|
|
8
8
|
const client_gen_1 = require("./client.gen");
|
|
9
9
|
/**
|
|
@@ -1445,6 +1445,32 @@ const getDisplayDimensionsV1ComputerMachineIdDisplayDimensionsGet = (options) =>
|
|
|
1445
1445
|
], url: '/v1/computer/{machine_id}/display/dimensions' }, options));
|
|
1446
1446
|
};
|
|
1447
1447
|
exports.getDisplayDimensionsV1ComputerMachineIdDisplayDimensionsGet = getDisplayDimensionsV1ComputerMachineIdDisplayDimensionsGet;
|
|
1448
|
+
/**
|
|
1449
|
+
* Create an ad hoc computer task
|
|
1450
|
+
*/
|
|
1451
|
+
const createAdHocComputerTaskV1ComputerMachineIdTaskPost = (options) => {
|
|
1452
|
+
var _a;
|
|
1453
|
+
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post(Object.assign(Object.assign({ security: [
|
|
1454
|
+
{
|
|
1455
|
+
scheme: 'bearer',
|
|
1456
|
+
type: 'http'
|
|
1457
|
+
}
|
|
1458
|
+
], url: '/v1/computer/{machine_id}/task' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options === null || options === void 0 ? void 0 : options.headers) }));
|
|
1459
|
+
};
|
|
1460
|
+
exports.createAdHocComputerTaskV1ComputerMachineIdTaskPost = createAdHocComputerTaskV1ComputerMachineIdTaskPost;
|
|
1461
|
+
/**
|
|
1462
|
+
* Notify Cyberdriver task completion
|
|
1463
|
+
*/
|
|
1464
|
+
const notifyTaskDoneV1ComputerMachineIdTaskDonePost = (options) => {
|
|
1465
|
+
var _a;
|
|
1466
|
+
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post(Object.assign({ security: [
|
|
1467
|
+
{
|
|
1468
|
+
scheme: 'bearer',
|
|
1469
|
+
type: 'http'
|
|
1470
|
+
}
|
|
1471
|
+
], url: '/v1/computer/{machine_id}/task-done' }, options));
|
|
1472
|
+
};
|
|
1473
|
+
exports.notifyTaskDoneV1ComputerMachineIdTaskDonePost = notifyTaskDoneV1ComputerMachineIdTaskDonePost;
|
|
1448
1474
|
/**
|
|
1449
1475
|
* Type text
|
|
1450
1476
|
* Type text on the machine's keyboard.
|
|
@@ -49,6 +49,14 @@ export type ChainStep = {
|
|
|
49
49
|
[key: string]: unknown;
|
|
50
50
|
} | null;
|
|
51
51
|
};
|
|
52
|
+
export type ComputerTaskAcceptedResponse = {
|
|
53
|
+
task_id: string;
|
|
54
|
+
machine_id: string;
|
|
55
|
+
status?: string;
|
|
56
|
+
};
|
|
57
|
+
export type ComputerTaskObjectRequest = {
|
|
58
|
+
task: string;
|
|
59
|
+
};
|
|
52
60
|
/**
|
|
53
61
|
* Schema for creating a connection
|
|
54
62
|
*/
|
|
@@ -870,13 +878,16 @@ export type RunCreate = {
|
|
|
870
878
|
* These are optional fields beyond the essential identifiers that are always returned
|
|
871
879
|
* (id, workflow_id, machine_id, status, created_at).
|
|
872
880
|
*/
|
|
873
|
-
export type RunField = 'user_id' | 'organization_id' | 'error' | 'output_data' | 'input_attachment_ids' | 'output_attachment_ids' | 'run_message_history' | 'input_values' | 'pool_ids' | 'sensitive_input_aliases' | 'usage_metadata' | 'session_id' | 'session_alias' | 'release_session_after' | 'started_at' | 'ended_at' | 'machine_id';
|
|
881
|
+
export type RunField = 'user_id' | 'organization_id' | 'run_kind' | 'ad_hoc_task' | 'error' | 'output_data' | 'input_attachment_ids' | 'output_attachment_ids' | 'run_message_history' | 'input_values' | 'pool_ids' | 'sensitive_input_aliases' | 'usage_metadata' | 'session_id' | 'session_alias' | 'release_session_after' | 'started_at' | 'ended_at' | 'machine_id';
|
|
882
|
+
export type RunKind = 'workflow' | 'ad_hoc';
|
|
874
883
|
export type RunListSortMode = 'activity' | 'created_at_desc';
|
|
875
884
|
/**
|
|
876
885
|
* Run response schema
|
|
877
886
|
*/
|
|
878
887
|
export type RunResponse = {
|
|
879
|
-
workflow_id: string;
|
|
888
|
+
workflow_id: string | null;
|
|
889
|
+
run_kind: RunKind;
|
|
890
|
+
ad_hoc_task?: string | null;
|
|
880
891
|
machine_id: string | null;
|
|
881
892
|
id: string;
|
|
882
893
|
user_id?: string | null;
|
|
@@ -921,7 +932,9 @@ export type RunResponse = {
|
|
|
921
932
|
*/
|
|
922
933
|
export type RunResponseWithIncludes = {
|
|
923
934
|
id: string;
|
|
924
|
-
workflow_id: string;
|
|
935
|
+
workflow_id: string | null;
|
|
936
|
+
run_kind: RunKind;
|
|
937
|
+
ad_hoc_task?: string | null;
|
|
925
938
|
machine_id?: string | null;
|
|
926
939
|
user_id?: string | null;
|
|
927
940
|
organization_id?: string | null;
|
|
@@ -1047,7 +1060,7 @@ export type RunUpdate = {
|
|
|
1047
1060
|
export type TrajectoryCreate = {
|
|
1048
1061
|
name?: string | null;
|
|
1049
1062
|
description?: string | null;
|
|
1050
|
-
workflow_id: string;
|
|
1063
|
+
workflow_id: string | null;
|
|
1051
1064
|
/**
|
|
1052
1065
|
* Optional run that created this trajectory
|
|
1053
1066
|
*/
|
|
@@ -1078,7 +1091,7 @@ export type TrajectoryCreate = {
|
|
|
1078
1091
|
export type TrajectoryResponse = {
|
|
1079
1092
|
name?: string | null;
|
|
1080
1093
|
description?: string | null;
|
|
1081
|
-
workflow_id: string;
|
|
1094
|
+
workflow_id: string | null;
|
|
1082
1095
|
/**
|
|
1083
1096
|
* Optional run that created this trajectory
|
|
1084
1097
|
*/
|
|
@@ -1111,7 +1124,7 @@ export type TrajectoryResponse = {
|
|
|
1111
1124
|
*/
|
|
1112
1125
|
export type TrajectoryResponseWithIncludes = {
|
|
1113
1126
|
id: string;
|
|
1114
|
-
workflow_id: string;
|
|
1127
|
+
workflow_id: string | null;
|
|
1115
1128
|
run_id?: string | null;
|
|
1116
1129
|
user_id?: string | null;
|
|
1117
1130
|
organization_id?: string | null;
|
|
@@ -2886,6 +2899,10 @@ export type ListRunsV1RunsGetData = {
|
|
|
2886
2899
|
* Filter by workflow ID
|
|
2887
2900
|
*/
|
|
2888
2901
|
workflow_id?: string | null;
|
|
2902
|
+
/**
|
|
2903
|
+
* Filter by run kind
|
|
2904
|
+
*/
|
|
2905
|
+
run_kind?: RunKind | null;
|
|
2889
2906
|
/**
|
|
2890
2907
|
* Filter by machine ID
|
|
2891
2908
|
*/
|
|
@@ -2919,7 +2936,7 @@ export type ListRunsV1RunsGetData = {
|
|
|
2919
2936
|
*/
|
|
2920
2937
|
deep_search?: boolean;
|
|
2921
2938
|
/**
|
|
2922
|
-
* Optional list of fields to include per run. Always includes: id, workflow_id, machine_id, status, created_at. Provide multiple 'fields=' params to include more.
|
|
2939
|
+
* Optional list of fields to include per run. Always includes: id, workflow_id, run_kind, machine_id, status, created_at. Provide multiple 'fields=' params to include more.
|
|
2923
2940
|
*/
|
|
2924
2941
|
fields?: Array<RunField> | null;
|
|
2925
2942
|
/**
|
|
@@ -3907,6 +3924,64 @@ export type GetDisplayDimensionsV1ComputerMachineIdDisplayDimensionsGetResponses
|
|
|
3907
3924
|
200: DisplayDimensions;
|
|
3908
3925
|
};
|
|
3909
3926
|
export type GetDisplayDimensionsV1ComputerMachineIdDisplayDimensionsGetResponse = GetDisplayDimensionsV1ComputerMachineIdDisplayDimensionsGetResponses[keyof GetDisplayDimensionsV1ComputerMachineIdDisplayDimensionsGetResponses];
|
|
3927
|
+
export type CreateAdHocComputerTaskV1ComputerMachineIdTaskPostData = {
|
|
3928
|
+
body: string | ComputerTaskObjectRequest;
|
|
3929
|
+
headers?: {
|
|
3930
|
+
/**
|
|
3931
|
+
* Unique key for idempotent requests. If provided, the server ensures the request is processed at most once. Retries with the same key return the original response. SDKs auto-generate this for write requests.
|
|
3932
|
+
*/
|
|
3933
|
+
'Idempotency-Key'?: string;
|
|
3934
|
+
};
|
|
3935
|
+
path: {
|
|
3936
|
+
machine_id: string;
|
|
3937
|
+
};
|
|
3938
|
+
query?: never;
|
|
3939
|
+
url: '/v1/computer/{machine_id}/task';
|
|
3940
|
+
};
|
|
3941
|
+
export type CreateAdHocComputerTaskV1ComputerMachineIdTaskPostErrors = {
|
|
3942
|
+
/**
|
|
3943
|
+
* Validation Error
|
|
3944
|
+
*/
|
|
3945
|
+
422: HttpValidationError;
|
|
3946
|
+
};
|
|
3947
|
+
export type CreateAdHocComputerTaskV1ComputerMachineIdTaskPostError = CreateAdHocComputerTaskV1ComputerMachineIdTaskPostErrors[keyof CreateAdHocComputerTaskV1ComputerMachineIdTaskPostErrors];
|
|
3948
|
+
export type CreateAdHocComputerTaskV1ComputerMachineIdTaskPostResponses = {
|
|
3949
|
+
/**
|
|
3950
|
+
* Successful Response
|
|
3951
|
+
*/
|
|
3952
|
+
202: ComputerTaskAcceptedResponse;
|
|
3953
|
+
};
|
|
3954
|
+
export type CreateAdHocComputerTaskV1ComputerMachineIdTaskPostResponse = CreateAdHocComputerTaskV1ComputerMachineIdTaskPostResponses[keyof CreateAdHocComputerTaskV1ComputerMachineIdTaskPostResponses];
|
|
3955
|
+
export type NotifyTaskDoneV1ComputerMachineIdTaskDonePostData = {
|
|
3956
|
+
body?: never;
|
|
3957
|
+
headers?: {
|
|
3958
|
+
/**
|
|
3959
|
+
* Unique key for idempotent requests. If provided, the server ensures the request is processed at most once. Retries with the same key return the original response. SDKs auto-generate this for write requests.
|
|
3960
|
+
*/
|
|
3961
|
+
'Idempotency-Key'?: string;
|
|
3962
|
+
};
|
|
3963
|
+
path: {
|
|
3964
|
+
machine_id: string;
|
|
3965
|
+
};
|
|
3966
|
+
query?: never;
|
|
3967
|
+
url: '/v1/computer/{machine_id}/task-done';
|
|
3968
|
+
};
|
|
3969
|
+
export type NotifyTaskDoneV1ComputerMachineIdTaskDonePostErrors = {
|
|
3970
|
+
/**
|
|
3971
|
+
* Validation Error
|
|
3972
|
+
*/
|
|
3973
|
+
422: HttpValidationError;
|
|
3974
|
+
};
|
|
3975
|
+
export type NotifyTaskDoneV1ComputerMachineIdTaskDonePostError = NotifyTaskDoneV1ComputerMachineIdTaskDonePostErrors[keyof NotifyTaskDoneV1ComputerMachineIdTaskDonePostErrors];
|
|
3976
|
+
export type NotifyTaskDoneV1ComputerMachineIdTaskDonePostResponses = {
|
|
3977
|
+
/**
|
|
3978
|
+
* Successful Response
|
|
3979
|
+
*/
|
|
3980
|
+
200: {
|
|
3981
|
+
[key: string]: unknown;
|
|
3982
|
+
};
|
|
3983
|
+
};
|
|
3984
|
+
export type NotifyTaskDoneV1ComputerMachineIdTaskDonePostResponse = NotifyTaskDoneV1ComputerMachineIdTaskDonePostResponses[keyof NotifyTaskDoneV1ComputerMachineIdTaskDonePostResponses];
|
|
3910
3985
|
export type KeyboardTypeV1ComputerMachineIdInputKeyboardTypePostData = {
|
|
3911
3986
|
body: KeyboardTypeRequest;
|
|
3912
3987
|
headers?: {
|
package/dist/index.d.ts
CHANGED
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
* });
|
|
26
26
|
* ```
|
|
27
27
|
*/
|
|
28
|
-
import { type MachineResponse, type MachinePoolUpdate, type PoolResponse, type PoolCreate, type PoolUpdate, type PoolWithMachines, type MachinePoolAssignment, type WorkflowModelMetadata, type WorkflowResponse, type RunResponse, type ConnectionResponse, type TrajectoryResponse, type PaginatedResponseWithIncludesMachineResponse, type PaginatedResponseWithIncludesPoolResponse, type PaginatedResponseWorkflowResponse, type PaginatedResponseWithIncludesRunResponse, type PaginatedResponseConnectionResponse, type PaginatedResponseWithIncludesTrajectoryResponse, type MachineStatus, type RunStatus, type ConnectionStatus, type MachineCreate, type WorkflowCreate, type RunCreate, type RunBulkCreate, type RunBulkCreateResponse, type WorkflowChainCreate, type WorkflowChainResponse, type FileInput, type ConnectionCreate, type TrajectoryCreate, type MachineUpdate, type WorkflowUpdate, type RunUpdate, type TrajectoryUpdate, type RunAttachmentCreate, type RunAttachmentUpdate, type RunAttachmentResponse, type RunAttachmentDownloadUrlResponse, type AttachmentType, type IncludedResource, type PaginatedResponseRunAttachmentResponse, type RunRetry, type RunField, type RunListSortMode, type ModelConfigurationCreate, type ModelConfigurationUpdate, type ModelConfigurationResponse, type UsageAggregateResponse, type UsageMode, type WorkflowTagCreate, type WorkflowTagUpdate, type WorkflowTagResponse, type WorkflowTagGroupCreate, type WorkflowTagGroupUpdate, type WorkflowTagGroupResponse, type ReorderRequest, type AddTagsRequest, type BulkAddTagsRequest, type WorkflowDuplicateRequest } from './client/types.gen';
|
|
28
|
+
import { type MachineResponse, type MachinePoolUpdate, type PoolResponse, type PoolCreate, type PoolUpdate, type PoolWithMachines, type MachinePoolAssignment, type WorkflowModelMetadata, type WorkflowResponse, type ComputerTaskAcceptedResponse, type ComputerTaskObjectRequest, type RunResponse, type ConnectionResponse, type TrajectoryResponse, type PaginatedResponseWithIncludesMachineResponse, type PaginatedResponseWithIncludesPoolResponse, type PaginatedResponseWorkflowResponse, type PaginatedResponseWithIncludesRunResponse, type PaginatedResponseConnectionResponse, type PaginatedResponseWithIncludesTrajectoryResponse, type MachineStatus, type RunStatus, type RunKind, type ConnectionStatus, type MachineCreate, type WorkflowCreate, type RunCreate, type RunBulkCreate, type RunBulkCreateResponse, type WorkflowChainCreate, type WorkflowChainResponse, type FileInput, type ConnectionCreate, type TrajectoryCreate, type MachineUpdate, type WorkflowUpdate, type RunUpdate, type TrajectoryUpdate, type RunAttachmentCreate, type RunAttachmentUpdate, type RunAttachmentResponse, type RunAttachmentDownloadUrlResponse, type AttachmentType, type IncludedResource, type PaginatedResponseRunAttachmentResponse, type RunRetry, type RunField, type RunListSortMode, type ModelConfigurationCreate, type ModelConfigurationUpdate, type ModelConfigurationResponse, type UsageAggregateResponse, type UsageMode, type WorkflowTagCreate, type WorkflowTagUpdate, type WorkflowTagResponse, type WorkflowTagGroupCreate, type WorkflowTagGroupUpdate, type WorkflowTagGroupResponse, type ReorderRequest, type AddTagsRequest, type BulkAddTagsRequest, type WorkflowDuplicateRequest } from './client/types.gen';
|
|
29
29
|
export * from './client/types.gen';
|
|
30
30
|
export * from './client/sdk.gen';
|
|
31
31
|
export * from './client/client.gen';
|
|
@@ -1002,6 +1002,45 @@ export declare function createCyberdeskClient(apiKey: string, baseUrl?: string,
|
|
|
1002
1002
|
response: Response;
|
|
1003
1003
|
}>;
|
|
1004
1004
|
};
|
|
1005
|
+
computer: {
|
|
1006
|
+
/**
|
|
1007
|
+
* Create an ad hoc computer task for a connected machine.
|
|
1008
|
+
*
|
|
1009
|
+
* Accepts either the current desktop-compatible raw JSON string task body
|
|
1010
|
+
* or the forward-compatible object form `{ task: string }`.
|
|
1011
|
+
*/
|
|
1012
|
+
createAdHocTask: (machineId: string, task: string | ComputerTaskObjectRequest, params?: {
|
|
1013
|
+
idempotencyKey?: string;
|
|
1014
|
+
}) => Promise<({
|
|
1015
|
+
data: undefined;
|
|
1016
|
+
error: import("./client/types.gen").HttpValidationError;
|
|
1017
|
+
} | {
|
|
1018
|
+
data: ComputerTaskAcceptedResponse;
|
|
1019
|
+
error: undefined;
|
|
1020
|
+
}) & {
|
|
1021
|
+
request: Request;
|
|
1022
|
+
response: Response;
|
|
1023
|
+
}>;
|
|
1024
|
+
/**
|
|
1025
|
+
* Notify Cyberdriver that a task has completed.
|
|
1026
|
+
*
|
|
1027
|
+
* This is primarily useful for lower-level integrations and testing.
|
|
1028
|
+
*/
|
|
1029
|
+
notifyTaskDone: (machineId: string, params?: {
|
|
1030
|
+
idempotencyKey?: string;
|
|
1031
|
+
}) => Promise<({
|
|
1032
|
+
data: undefined;
|
|
1033
|
+
error: import("./client/types.gen").HttpValidationError;
|
|
1034
|
+
} | {
|
|
1035
|
+
data: {
|
|
1036
|
+
[key: string]: unknown;
|
|
1037
|
+
};
|
|
1038
|
+
error: undefined;
|
|
1039
|
+
}) & {
|
|
1040
|
+
request: Request;
|
|
1041
|
+
response: Response;
|
|
1042
|
+
}>;
|
|
1043
|
+
};
|
|
1005
1044
|
runs: {
|
|
1006
1045
|
/**
|
|
1007
1046
|
* List runs with optional filtering
|
|
@@ -1014,6 +1053,7 @@ export declare function createCyberdeskClient(apiKey: string, baseUrl?: string,
|
|
|
1014
1053
|
* @param params.limit - Maximum number of items to return
|
|
1015
1054
|
* @param params.status - Filter by run status (scheduling, running, success, cancelled, error)
|
|
1016
1055
|
* @param params.workflow_id - Filter by workflow ID
|
|
1056
|
+
* @param params.run_kind - Filter by run kind ("workflow" or "ad_hoc")
|
|
1017
1057
|
* @param params.machine_id - Filter by machine ID
|
|
1018
1058
|
* @param params.session_id - Filter by session ID
|
|
1019
1059
|
* @param params.search - Search runs by input_values, output_data, error, session_alias (case-insensitive)
|
|
@@ -1034,6 +1074,7 @@ export declare function createCyberdeskClient(apiKey: string, baseUrl?: string,
|
|
|
1034
1074
|
limit?: number;
|
|
1035
1075
|
status?: RunStatus;
|
|
1036
1076
|
workflow_id?: string;
|
|
1077
|
+
run_kind?: RunKind;
|
|
1037
1078
|
machine_id?: string;
|
|
1038
1079
|
session_id?: string;
|
|
1039
1080
|
search?: string;
|
package/dist/index.js
CHANGED
|
@@ -1032,6 +1032,39 @@ function createCyberdeskClient(apiKey, baseUrl, options) {
|
|
|
1032
1032
|
});
|
|
1033
1033
|
}),
|
|
1034
1034
|
},
|
|
1035
|
+
// Computer endpoints
|
|
1036
|
+
computer: {
|
|
1037
|
+
/**
|
|
1038
|
+
* Create an ad hoc computer task for a connected machine.
|
|
1039
|
+
*
|
|
1040
|
+
* Accepts either the current desktop-compatible raw JSON string task body
|
|
1041
|
+
* or the forward-compatible object form `{ task: string }`.
|
|
1042
|
+
*/
|
|
1043
|
+
createAdHocTask: (machineId, task, params) => __awaiter(this, void 0, void 0, function* () {
|
|
1044
|
+
return (0, sdk_gen_1.createAdHocComputerTaskV1ComputerMachineIdTaskPost)({
|
|
1045
|
+
client,
|
|
1046
|
+
path: { machine_id: machineId },
|
|
1047
|
+
body: task,
|
|
1048
|
+
headers: (params === null || params === void 0 ? void 0 : params.idempotencyKey)
|
|
1049
|
+
? { "Idempotency-Key": params.idempotencyKey }
|
|
1050
|
+
: undefined,
|
|
1051
|
+
});
|
|
1052
|
+
}),
|
|
1053
|
+
/**
|
|
1054
|
+
* Notify Cyberdriver that a task has completed.
|
|
1055
|
+
*
|
|
1056
|
+
* This is primarily useful for lower-level integrations and testing.
|
|
1057
|
+
*/
|
|
1058
|
+
notifyTaskDone: (machineId, params) => __awaiter(this, void 0, void 0, function* () {
|
|
1059
|
+
return (0, sdk_gen_1.notifyTaskDoneV1ComputerMachineIdTaskDonePost)({
|
|
1060
|
+
client,
|
|
1061
|
+
path: { machine_id: machineId },
|
|
1062
|
+
headers: (params === null || params === void 0 ? void 0 : params.idempotencyKey)
|
|
1063
|
+
? { "Idempotency-Key": params.idempotencyKey }
|
|
1064
|
+
: undefined,
|
|
1065
|
+
});
|
|
1066
|
+
}),
|
|
1067
|
+
},
|
|
1035
1068
|
// Run endpoints
|
|
1036
1069
|
runs: {
|
|
1037
1070
|
/**
|
|
@@ -1045,6 +1078,7 @@ function createCyberdeskClient(apiKey, baseUrl, options) {
|
|
|
1045
1078
|
* @param params.limit - Maximum number of items to return
|
|
1046
1079
|
* @param params.status - Filter by run status (scheduling, running, success, cancelled, error)
|
|
1047
1080
|
* @param params.workflow_id - Filter by workflow ID
|
|
1081
|
+
* @param params.run_kind - Filter by run kind ("workflow" or "ad_hoc")
|
|
1048
1082
|
* @param params.machine_id - Filter by machine ID
|
|
1049
1083
|
* @param params.session_id - Filter by session ID
|
|
1050
1084
|
* @param params.search - Search runs by input_values, output_data, error, session_alias (case-insensitive)
|
|
@@ -1061,21 +1095,22 @@ function createCyberdeskClient(apiKey, baseUrl, options) {
|
|
|
1061
1095
|
* - included: Related resources (when include parameter is used)
|
|
1062
1096
|
*/
|
|
1063
1097
|
list: (params) => __awaiter(this, void 0, void 0, function* () {
|
|
1064
|
-
var _a, _b, _c, _d, _e;
|
|
1098
|
+
var _a, _b, _c, _d, _e, _f;
|
|
1065
1099
|
const query = {
|
|
1066
1100
|
skip: params === null || params === void 0 ? void 0 : params.skip,
|
|
1067
1101
|
limit: params === null || params === void 0 ? void 0 : params.limit,
|
|
1068
1102
|
status: (_a = params === null || params === void 0 ? void 0 : params.status) !== null && _a !== void 0 ? _a : undefined,
|
|
1069
1103
|
workflow_id: (_b = params === null || params === void 0 ? void 0 : params.workflow_id) !== null && _b !== void 0 ? _b : undefined,
|
|
1070
|
-
|
|
1071
|
-
|
|
1104
|
+
run_kind: (_c = params === null || params === void 0 ? void 0 : params.run_kind) !== null && _c !== void 0 ? _c : undefined,
|
|
1105
|
+
machine_id: (_d = params === null || params === void 0 ? void 0 : params.machine_id) !== null && _d !== void 0 ? _d : undefined,
|
|
1106
|
+
session_id: (_e = params === null || params === void 0 ? void 0 : params.session_id) !== null && _e !== void 0 ? _e : undefined,
|
|
1072
1107
|
search: params === null || params === void 0 ? void 0 : params.search,
|
|
1073
1108
|
deep_search: params === null || params === void 0 ? void 0 : params.deep_search,
|
|
1074
1109
|
sort_mode: params === null || params === void 0 ? void 0 : params.sort_mode,
|
|
1075
1110
|
created_at_from: toIsoUtc(params === null || params === void 0 ? void 0 : params.created_at_from),
|
|
1076
1111
|
created_at_to: toIsoUtc(params === null || params === void 0 ? void 0 : params.created_at_to),
|
|
1077
1112
|
fields: params === null || params === void 0 ? void 0 : params.fields,
|
|
1078
|
-
include: (
|
|
1113
|
+
include: (_f = params === null || params === void 0 ? void 0 : params.include) === null || _f === void 0 ? void 0 : _f.join(','),
|
|
1079
1114
|
};
|
|
1080
1115
|
return (0, sdk_gen_1.listRunsV1RunsGet)({ client, query });
|
|
1081
1116
|
}),
|