cyberdesk 2.2.22 → 2.2.25

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.
@@ -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, 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, 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, GetUsageAggregateV1UsageAggregateGetData, DbPingInternalDebugDbPingGetData, RootGetData, HealthLiveHealthLiveGetData, HealthReadyHealthReadyGetData, HealthHealthGetData, HealthDbHealthDbGetData } 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, 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, GetUsageAggregateV1UsageAggregateGetData, DbPingInternalDebugDbPingGetData, RootGetData, HealthLiveHealthLiveGetData, HealthReadyHealthReadyGetData, HealthHealthGetData, HealthDbHealthDbGetData } 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
@@ -188,6 +188,14 @@ export declare const updateWorkflowV1WorkflowsWorkflowIdPatch: <ThrowOnError ext
188
188
  * Copies everything except version history, and prefixes the name with "(Copy)".
189
189
  */
190
190
  export declare const duplicateWorkflowV1WorkflowsWorkflowIdDuplicatePost: <ThrowOnError extends boolean = false>(options: Options<DuplicateWorkflowV1WorkflowsWorkflowIdDuplicatePostData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<import("./types.gen").WorkflowResponse, import("./types.gen").HttpValidationError, ThrowOnError>;
191
+ /**
192
+ * Merge Workflow
193
+ * Merge the current workflow into another workflow.
194
+ *
195
+ * Updates the target workflow with all data from the source workflow (except version history),
196
+ * optionally copies trajectories, and deletes the source workflow.
197
+ */
198
+ export declare const mergeWorkflowV1WorkflowsWorkflowIdMergePost: <ThrowOnError extends boolean = false>(options: Options<MergeWorkflowV1WorkflowsWorkflowIdMergePostData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<import("./types.gen").WorkflowResponse, import("./types.gen").HttpValidationError, ThrowOnError>;
191
199
  /**
192
200
  * Get Workflow Versions
193
201
  * Get the version history of a workflow.
@@ -1,9 +1,9 @@
1
1
  "use strict";
2
2
  // This file is auto-generated by @hey-api/openapi-ts
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
- exports.updateModelConfigurationV1ModelConfigurationsModelConfigurationIdPatch = 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.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.rootGet = exports.dbPingInternalDebugDbPingGet = exports.getUsageAggregateV1UsageAggregateGet = exports.powershellSessionV1ComputerMachineIdShellPowershellSessionPost = exports.powershellExecV1ComputerMachineIdShellPowershellExecPost = exports.fsWriteV1ComputerMachineIdFsWritePost = exports.fsReadV1ComputerMachineIdFsReadGet = exports.fsListV1ComputerMachineIdFsListGet = exports.mouseDragV1ComputerMachineIdInputMouseDragPost = exports.mouseScrollV1ComputerMachineIdInputMouseScrollPost = exports.mouseClickV1ComputerMachineIdInputMouseClickPost = exports.mouseMoveV1ComputerMachineIdInputMouseMovePost = exports.getMousePositionV1ComputerMachineIdInputMousePositionGet = exports.copyToClipboardV1ComputerMachineIdCopyToClipboardPost = exports.keyboardKeyV1ComputerMachineIdInputKeyboardKeyPost = exports.keyboardTypeV1ComputerMachineIdInputKeyboardTypePost = exports.getDisplayDimensionsV1ComputerMachineIdDisplayDimensionsGet = exports.getScreenshotV1ComputerMachineIdDisplayScreenshotGet = exports.getLatestTrajectoryForWorkflowV1WorkflowsWorkflowIdLatestTrajectoryGet = exports.duplicateTrajectoryV1TrajectoriesTrajectoryIdDuplicatePost = exports.updateTrajectoryV1TrajectoriesTrajectoryIdPatch = exports.getTrajectoryV1TrajectoriesTrajectoryIdGet = exports.deleteTrajectoryV1TrajectoriesTrajectoryIdDelete = exports.createTrajectoryV1TrajectoriesPost = exports.listTrajectoriesV1TrajectoriesGet = exports.updateRequestLogV1RequestLogsLogIdPatch = exports.getRequestLogV1RequestLogsLogIdGet = exports.deleteRequestLogV1RequestLogsLogIdDelete = exports.createRequestLogV1RequestLogsPost = exports.listRequestLogsV1RequestLogsGet = exports.updateConnectionV1ConnectionsConnectionIdPatch = exports.getConnectionV1ConnectionsConnectionIdGet = exports.deleteConnectionV1ConnectionsConnectionIdDelete = exports.createConnectionV1ConnectionsPost = exports.listConnectionsV1ConnectionsGet = exports.downloadRunAttachmentV1RunAttachmentsAttachmentIdDownloadGet = exports.getRunAttachmentDownloadUrlV1RunAttachmentsAttachmentIdDownloadUrlGet = exports.updateRunAttachmentV1RunAttachmentsAttachmentIdPut = exports.getRunAttachmentV1RunAttachmentsAttachmentIdGet = exports.deleteRunAttachmentV1RunAttachmentsAttachmentIdDelete = exports.createRunAttachmentV1RunAttachmentsPost = exports.listRunAttachmentsV1RunAttachmentsGet = exports.retryRunV1RunsRunIdRetryPost = exports.bulkCreateRunsV1RunsBulkPost = exports.createRunChainV1RunsChainPost = exports.updateRunV1RunsRunIdPatch = exports.getRunV1RunsRunIdGet = exports.deleteRunV1RunsRunIdDelete = exports.createRunV1RunsPost = exports.listRunsV1RunsGet = void 0;
6
- exports.healthDbHealthDbGet = exports.healthHealthGet = exports.healthReadyHealthReadyGet = exports.healthLiveHealthLiveGet = void 0;
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.dbPingInternalDebugDbPingGet = exports.getUsageAggregateV1UsageAggregateGet = exports.powershellSessionV1ComputerMachineIdShellPowershellSessionPost = exports.powershellExecV1ComputerMachineIdShellPowershellExecPost = exports.fsWriteV1ComputerMachineIdFsWritePost = exports.fsReadV1ComputerMachineIdFsReadGet = exports.fsListV1ComputerMachineIdFsListGet = exports.mouseDragV1ComputerMachineIdInputMouseDragPost = exports.mouseScrollV1ComputerMachineIdInputMouseScrollPost = exports.mouseClickV1ComputerMachineIdInputMouseClickPost = exports.mouseMoveV1ComputerMachineIdInputMouseMovePost = exports.getMousePositionV1ComputerMachineIdInputMousePositionGet = exports.copyToClipboardV1ComputerMachineIdCopyToClipboardPost = exports.keyboardKeyV1ComputerMachineIdInputKeyboardKeyPost = exports.keyboardTypeV1ComputerMachineIdInputKeyboardTypePost = exports.getDisplayDimensionsV1ComputerMachineIdDisplayDimensionsGet = exports.getScreenshotV1ComputerMachineIdDisplayScreenshotGet = exports.getLatestTrajectoryForWorkflowV1WorkflowsWorkflowIdLatestTrajectoryGet = exports.duplicateTrajectoryV1TrajectoriesTrajectoryIdDuplicatePost = exports.updateTrajectoryV1TrajectoriesTrajectoryIdPatch = exports.getTrajectoryV1TrajectoriesTrajectoryIdGet = exports.deleteTrajectoryV1TrajectoriesTrajectoryIdDelete = exports.createTrajectoryV1TrajectoriesPost = exports.listTrajectoriesV1TrajectoriesGet = exports.updateRequestLogV1RequestLogsLogIdPatch = exports.getRequestLogV1RequestLogsLogIdGet = exports.deleteRequestLogV1RequestLogsLogIdDelete = exports.createRequestLogV1RequestLogsPost = exports.listRequestLogsV1RequestLogsGet = exports.updateConnectionV1ConnectionsConnectionIdPatch = exports.getConnectionV1ConnectionsConnectionIdGet = exports.deleteConnectionV1ConnectionsConnectionIdDelete = exports.createConnectionV1ConnectionsPost = exports.listConnectionsV1ConnectionsGet = exports.downloadRunAttachmentV1RunAttachmentsAttachmentIdDownloadGet = exports.getRunAttachmentDownloadUrlV1RunAttachmentsAttachmentIdDownloadUrlGet = exports.updateRunAttachmentV1RunAttachmentsAttachmentIdPut = exports.getRunAttachmentV1RunAttachmentsAttachmentIdGet = exports.deleteRunAttachmentV1RunAttachmentsAttachmentIdDelete = exports.createRunAttachmentV1RunAttachmentsPost = exports.listRunAttachmentsV1RunAttachmentsGet = exports.retryRunV1RunsRunIdRetryPost = exports.bulkCreateRunsV1RunsBulkPost = exports.createRunChainV1RunsChainPost = exports.updateRunV1RunsRunIdPatch = exports.getRunV1RunsRunIdGet = exports.deleteRunV1RunsRunIdDelete = exports.createRunV1RunsPost = exports.listRunsV1RunsGet = exports.updateModelConfigurationV1ModelConfigurationsModelConfigurationIdPatch = void 0;
6
+ exports.healthDbHealthDbGet = exports.healthHealthGet = exports.healthReadyHealthReadyGet = exports.healthLiveHealthLiveGet = exports.rootGet = void 0;
7
7
  const client_fetch_1 = require("@hey-api/client-fetch");
8
8
  const client_gen_1 = require("./client.gen");
9
9
  /**
@@ -376,6 +376,23 @@ const duplicateWorkflowV1WorkflowsWorkflowIdDuplicatePost = (options) => {
376
376
  ], url: '/v1/workflows/{workflow_id}/duplicate' }, options));
377
377
  };
378
378
  exports.duplicateWorkflowV1WorkflowsWorkflowIdDuplicatePost = duplicateWorkflowV1WorkflowsWorkflowIdDuplicatePost;
379
+ /**
380
+ * Merge Workflow
381
+ * Merge the current workflow into another workflow.
382
+ *
383
+ * Updates the target workflow with all data from the source workflow (except version history),
384
+ * optionally copies trajectories, and deletes the source workflow.
385
+ */
386
+ const mergeWorkflowV1WorkflowsWorkflowIdMergePost = (options) => {
387
+ var _a;
388
+ return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post(Object.assign(Object.assign({ security: [
389
+ {
390
+ scheme: 'bearer',
391
+ type: 'http'
392
+ }
393
+ ], url: '/v1/workflows/{workflow_id}/merge' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options === null || options === void 0 ? void 0 : options.headers) }));
394
+ };
395
+ exports.mergeWorkflowV1WorkflowsWorkflowIdMergePost = mergeWorkflowV1WorkflowsWorkflowIdMergePost;
379
396
  /**
380
397
  * Get Workflow Versions
381
398
  * Get the version history of a workflow.
@@ -1152,6 +1152,10 @@ export type WorkflowChainResponse = {
1152
1152
  export type WorkflowCreate = {
1153
1153
  name?: string | null;
1154
1154
  main_prompt: string;
1155
+ /**
1156
+ * JSON schema for validating merged run inputs
1157
+ */
1158
+ input_schema?: string | null;
1155
1159
  /**
1156
1160
  * JSON schema for output data transformation
1157
1161
  */
@@ -1169,6 +1173,19 @@ export type WorkflowCreate = {
1169
1173
  */
1170
1174
  model_metadata?: WorkflowModelMetadata | null;
1171
1175
  };
1176
+ /**
1177
+ * Schema for merging workflows
1178
+ */
1179
+ export type WorkflowMergeRequest = {
1180
+ /**
1181
+ * Workflow ID to merge into
1182
+ */
1183
+ target_workflow_id: string;
1184
+ /**
1185
+ * Whether to copy trajectories to the target workflow
1186
+ */
1187
+ copy_trajectories?: boolean;
1188
+ };
1172
1189
  /**
1173
1190
  * JSONB-backed workflow model configuration metadata.
1174
1191
  *
@@ -1262,6 +1279,10 @@ export type WorkflowPromptImageSignedUrlResponse = {
1262
1279
  export type WorkflowResponse = {
1263
1280
  name?: string | null;
1264
1281
  main_prompt: string;
1282
+ /**
1283
+ * JSON schema for validating merged run inputs
1284
+ */
1285
+ input_schema?: string | null;
1265
1286
  /**
1266
1287
  * JSON schema for output data transformation
1267
1288
  */
@@ -1387,6 +1408,10 @@ export type WorkflowTagUpdate = {
1387
1408
  export type WorkflowUpdate = {
1388
1409
  name?: string | null;
1389
1410
  main_prompt?: string | null;
1411
+ /**
1412
+ * JSON schema for validating merged run inputs
1413
+ */
1414
+ input_schema?: string | null;
1390
1415
  /**
1391
1416
  * JSON schema for output data transformation
1392
1417
  */
@@ -2038,6 +2063,34 @@ export type DuplicateWorkflowV1WorkflowsWorkflowIdDuplicatePostResponses = {
2038
2063
  201: WorkflowResponse;
2039
2064
  };
2040
2065
  export type DuplicateWorkflowV1WorkflowsWorkflowIdDuplicatePostResponse = DuplicateWorkflowV1WorkflowsWorkflowIdDuplicatePostResponses[keyof DuplicateWorkflowV1WorkflowsWorkflowIdDuplicatePostResponses];
2066
+ export type MergeWorkflowV1WorkflowsWorkflowIdMergePostData = {
2067
+ body: WorkflowMergeRequest;
2068
+ headers?: {
2069
+ /**
2070
+ * 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.
2071
+ */
2072
+ 'Idempotency-Key'?: string;
2073
+ };
2074
+ path: {
2075
+ workflow_id: string;
2076
+ };
2077
+ query?: never;
2078
+ url: '/v1/workflows/{workflow_id}/merge';
2079
+ };
2080
+ export type MergeWorkflowV1WorkflowsWorkflowIdMergePostErrors = {
2081
+ /**
2082
+ * Validation Error
2083
+ */
2084
+ 422: HttpValidationError;
2085
+ };
2086
+ export type MergeWorkflowV1WorkflowsWorkflowIdMergePostError = MergeWorkflowV1WorkflowsWorkflowIdMergePostErrors[keyof MergeWorkflowV1WorkflowsWorkflowIdMergePostErrors];
2087
+ export type MergeWorkflowV1WorkflowsWorkflowIdMergePostResponses = {
2088
+ /**
2089
+ * Successful Response
2090
+ */
2091
+ 200: WorkflowResponse;
2092
+ };
2093
+ export type MergeWorkflowV1WorkflowsWorkflowIdMergePostResponse = MergeWorkflowV1WorkflowsWorkflowIdMergePostResponses[keyof MergeWorkflowV1WorkflowsWorkflowIdMergePostResponses];
2041
2094
  export type GetWorkflowVersionsV1WorkflowsWorkflowIdVersionsGetData = {
2042
2095
  body?: never;
2043
2096
  path: {
package/dist/index.d.ts CHANGED
@@ -597,6 +597,26 @@ export declare function createCyberdeskClient(apiKey: string, baseUrl?: string,
597
597
  request: Request;
598
598
  response: Response;
599
599
  }>;
600
+ /**
601
+ * Merge a workflow into another workflow
602
+ *
603
+ * @param workflowId - The ID of the workflow to merge (source)
604
+ * @param data - Merge request with target workflow ID and options
605
+ * @returns Updated target workflow details
606
+ */
607
+ merge: (workflowId: string, data: {
608
+ target_workflow_id: string;
609
+ copy_trajectories?: boolean;
610
+ }) => Promise<({
611
+ data: undefined;
612
+ error: import("./client/types.gen").HttpValidationError;
613
+ } | {
614
+ data: WorkflowResponse;
615
+ error: undefined;
616
+ }) & {
617
+ request: Request;
618
+ response: Response;
619
+ }>;
600
620
  };
601
621
  workflow_tag_groups: {
602
622
  /**
package/dist/index.js CHANGED
@@ -704,6 +704,20 @@ function createCyberdeskClient(apiKey, baseUrl, options) {
704
704
  path: { workflow_id: workflowId },
705
705
  });
706
706
  }),
707
+ /**
708
+ * Merge a workflow into another workflow
709
+ *
710
+ * @param workflowId - The ID of the workflow to merge (source)
711
+ * @param data - Merge request with target workflow ID and options
712
+ * @returns Updated target workflow details
713
+ */
714
+ merge: (workflowId, data) => __awaiter(this, void 0, void 0, function* () {
715
+ return (0, sdk_gen_1.mergeWorkflowV1WorkflowsWorkflowIdMergePost)({
716
+ client,
717
+ path: { workflow_id: workflowId },
718
+ body: data,
719
+ });
720
+ }),
707
721
  },
708
722
  // Workflow Tag Group endpoints
709
723
  workflow_tag_groups: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cyberdesk",
3
- "version": "2.2.22",
3
+ "version": "2.2.25",
4
4
  "description": "The official TypeScript SDK for Cyberdesk",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",