cyberdesk 2.2.17 → 2.2.18
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 +131 -1
- package/dist/client/sdk.gen.js +295 -2
- package/dist/client/types.gen.d.ts +591 -0
- package/dist/index.d.ts +388 -5
- package/dist/index.js +311 -0
- 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, DeleteWorkflowV1WorkflowsWorkflowIdDeleteData, GetWorkflowV1WorkflowsWorkflowIdGetData, UpdateWorkflowV1WorkflowsWorkflowIdPatchData, GetWorkflowVersionsV1WorkflowsWorkflowIdVersionsGetData, DeleteWorkflowPromptImageV1WorkflowsPromptImageDeleteData, UploadWorkflowPromptImageV1WorkflowsPromptImagePostData, ListWorkflowPromptImagesV1WorkflowsPromptImagesGetData, GetWorkflowPromptImageSignedUrlV1WorkflowsPromptImageSignedUrlGetData, 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, DeleteWorkflowV1WorkflowsWorkflowIdDeleteData, GetWorkflowV1WorkflowsWorkflowIdGetData, UpdateWorkflowV1WorkflowsWorkflowIdPatchData, GetWorkflowVersionsV1WorkflowsWorkflowIdVersionsGetData, DeleteWorkflowPromptImageV1WorkflowsPromptImageDeleteData, UploadWorkflowPromptImageV1WorkflowsPromptImagePostData, ListWorkflowPromptImagesV1WorkflowsPromptImagesGetData, GetWorkflowPromptImageSignedUrlV1WorkflowsPromptImageSignedUrlGetData, GetWorkflowTagsV1WorkflowsWorkflowIdTagsGetData, AddTagsToWorkflowV1WorkflowsWorkflowIdTagsPostData, RemoveTagFromWorkflowV1WorkflowsWorkflowIdTagsTagIdDeleteData, BulkAddTagsToWorkflowsV1WorkflowsBulkTagsPostData, 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
|
|
@@ -137,6 +137,9 @@ export declare const addMachinesToPoolV1PoolsPoolIdMachinesPost: <ThrowOnError e
|
|
|
137
137
|
* List all workflows for the authenticated organization.
|
|
138
138
|
*
|
|
139
139
|
* Supports pagination and returns workflows ordered by updated_at descending.
|
|
140
|
+
*
|
|
141
|
+
* Use `tag_ids` to filter workflows that have ALL specified tags (AND logic).
|
|
142
|
+
* Use `include_tags=true` to include tags in the response.
|
|
140
143
|
*/
|
|
141
144
|
export declare const listWorkflowsV1WorkflowsGet: <ThrowOnError extends boolean = false>(options?: Options<ListWorkflowsV1WorkflowsGetData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<import("./types.gen").PaginatedResponseWorkflowResponse, import("./types.gen").HttpValidationError, ThrowOnError>;
|
|
142
145
|
/**
|
|
@@ -211,6 +214,133 @@ export declare const listWorkflowPromptImagesV1WorkflowsPromptImagesGet: <ThrowO
|
|
|
211
214
|
* Get a fresh signed URL for an existing workflow prompt image.
|
|
212
215
|
*/
|
|
213
216
|
export declare const getWorkflowPromptImageSignedUrlV1WorkflowsPromptImageSignedUrlGet: <ThrowOnError extends boolean = false>(options: Options<GetWorkflowPromptImageSignedUrlV1WorkflowsPromptImageSignedUrlGetData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<import("./types.gen").WorkflowPromptImageSignedUrlResponse, import("./types.gen").HttpValidationError, ThrowOnError>;
|
|
217
|
+
/**
|
|
218
|
+
* Get tags for a workflow
|
|
219
|
+
* Get all tags assigned to a workflow.
|
|
220
|
+
*/
|
|
221
|
+
export declare const getWorkflowTagsV1WorkflowsWorkflowIdTagsGet: <ThrowOnError extends boolean = false>(options: Options<GetWorkflowTagsV1WorkflowsWorkflowIdTagsGetData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<import("./types.gen").WorkflowTagResponse[], import("./types.gen").HttpValidationError, ThrowOnError>;
|
|
222
|
+
/**
|
|
223
|
+
* Add tags to a workflow
|
|
224
|
+
* Add one or more tags to a workflow.
|
|
225
|
+
*
|
|
226
|
+
* For tags that belong to a group (mutual exclusivity), adding a new tag from that group
|
|
227
|
+
* will automatically remove any existing tag from the same group.
|
|
228
|
+
*/
|
|
229
|
+
export declare const addTagsToWorkflowV1WorkflowsWorkflowIdTagsPost: <ThrowOnError extends boolean = false>(options: Options<AddTagsToWorkflowV1WorkflowsWorkflowIdTagsPostData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<import("./types.gen").WorkflowTagResponse[], import("./types.gen").HttpValidationError, ThrowOnError>;
|
|
230
|
+
/**
|
|
231
|
+
* Remove a tag from a workflow
|
|
232
|
+
* Remove a tag from a workflow.
|
|
233
|
+
*/
|
|
234
|
+
export declare const removeTagFromWorkflowV1WorkflowsWorkflowIdTagsTagIdDelete: <ThrowOnError extends boolean = false>(options: Options<RemoveTagFromWorkflowV1WorkflowsWorkflowIdTagsTagIdDeleteData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<void, import("./types.gen").HttpValidationError, ThrowOnError>;
|
|
235
|
+
/**
|
|
236
|
+
* Bulk add tags to multiple workflows
|
|
237
|
+
* Add tags to multiple workflows at once.
|
|
238
|
+
*
|
|
239
|
+
* For each workflow, mutual exclusivity is enforced: if a tag belongs to a group
|
|
240
|
+
* and the workflow already has a tag from that group, the existing tag is replaced.
|
|
241
|
+
*/
|
|
242
|
+
export declare const bulkAddTagsToWorkflowsV1WorkflowsBulkTagsPost: <ThrowOnError extends boolean = false>(options: Options<BulkAddTagsToWorkflowsV1WorkflowsBulkTagsPostData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<void, import("./types.gen").HttpValidationError, ThrowOnError>;
|
|
243
|
+
/**
|
|
244
|
+
* List Tags
|
|
245
|
+
* List all workflow tags for the organization.
|
|
246
|
+
*
|
|
247
|
+
* Tags are returned ordered by their group (ungrouped first), then by order within group.
|
|
248
|
+
* Each tag includes its workflow_count indicating how many workflows use it.
|
|
249
|
+
*/
|
|
250
|
+
export declare const listTagsV1WorkflowTagsGet: <ThrowOnError extends boolean = false>(options?: Options<ListTagsV1WorkflowTagsGetData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<import("./types.gen").WorkflowTagResponse[], import("./types.gen").HttpValidationError, ThrowOnError>;
|
|
251
|
+
/**
|
|
252
|
+
* Create Tag
|
|
253
|
+
* Create a new workflow tag.
|
|
254
|
+
*
|
|
255
|
+
* Tags can optionally belong to a group for mutual exclusivity.
|
|
256
|
+
*/
|
|
257
|
+
export declare const createTagV1WorkflowTagsPost: <ThrowOnError extends boolean = false>(options: Options<CreateTagV1WorkflowTagsPostData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<import("./types.gen").WorkflowTagResponse, import("./types.gen").HttpValidationError, ThrowOnError>;
|
|
258
|
+
/**
|
|
259
|
+
* Delete Tag
|
|
260
|
+
* Delete a workflow tag.
|
|
261
|
+
*
|
|
262
|
+
* This is a hard delete - the tag is permanently removed and will be unassigned
|
|
263
|
+
* from all workflows. Consider using archive instead if you want to preserve
|
|
264
|
+
* existing assignments.
|
|
265
|
+
*/
|
|
266
|
+
export declare const deleteTagV1WorkflowTagsTagIdDelete: <ThrowOnError extends boolean = false>(options: Options<DeleteTagV1WorkflowTagsTagIdDeleteData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<void, import("./types.gen").HttpValidationError, ThrowOnError>;
|
|
267
|
+
/**
|
|
268
|
+
* Get Tag
|
|
269
|
+
* Get a specific workflow tag by ID.
|
|
270
|
+
*/
|
|
271
|
+
export declare const getTagV1WorkflowTagsTagIdGet: <ThrowOnError extends boolean = false>(options: Options<GetTagV1WorkflowTagsTagIdGetData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<import("./types.gen").WorkflowTagResponse, import("./types.gen").HttpValidationError, ThrowOnError>;
|
|
272
|
+
/**
|
|
273
|
+
* Update Tag
|
|
274
|
+
* Update a workflow tag.
|
|
275
|
+
*/
|
|
276
|
+
export declare const updateTagV1WorkflowTagsTagIdPatch: <ThrowOnError extends boolean = false>(options: Options<UpdateTagV1WorkflowTagsTagIdPatchData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<import("./types.gen").WorkflowTagResponse, import("./types.gen").HttpValidationError, ThrowOnError>;
|
|
277
|
+
/**
|
|
278
|
+
* Archive Tag
|
|
279
|
+
* Archive a workflow tag.
|
|
280
|
+
*
|
|
281
|
+
* Archived tags cannot be assigned to new workflows but remain on existing workflows.
|
|
282
|
+
* Archived tags are hidden from the tag list by default.
|
|
283
|
+
*/
|
|
284
|
+
export declare const archiveTagV1WorkflowTagsTagIdArchivePost: <ThrowOnError extends boolean = false>(options: Options<ArchiveTagV1WorkflowTagsTagIdArchivePostData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<import("./types.gen").WorkflowTagResponse, import("./types.gen").HttpValidationError, ThrowOnError>;
|
|
285
|
+
/**
|
|
286
|
+
* Unarchive Tag
|
|
287
|
+
* Unarchive a workflow tag.
|
|
288
|
+
*
|
|
289
|
+
* Restores an archived tag so it can be assigned to workflows again.
|
|
290
|
+
*/
|
|
291
|
+
export declare const unarchiveTagV1WorkflowTagsTagIdUnarchivePost: <ThrowOnError extends boolean = false>(options: Options<UnarchiveTagV1WorkflowTagsTagIdUnarchivePostData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<import("./types.gen").WorkflowTagResponse, import("./types.gen").HttpValidationError, ThrowOnError>;
|
|
292
|
+
/**
|
|
293
|
+
* Reorder Tags
|
|
294
|
+
* Reorder workflow tags.
|
|
295
|
+
*
|
|
296
|
+
* Provide a list of tag IDs in the desired order. The order field of each
|
|
297
|
+
* tag will be updated to match its position in the list.
|
|
298
|
+
*
|
|
299
|
+
* Note: Tags should be reordered within their respective groups.
|
|
300
|
+
*/
|
|
301
|
+
export declare const reorderTagsV1WorkflowTagsReorderPut: <ThrowOnError extends boolean = false>(options: Options<ReorderTagsV1WorkflowTagsReorderPutData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<void, import("./types.gen").HttpValidationError, ThrowOnError>;
|
|
302
|
+
/**
|
|
303
|
+
* List Tag Groups
|
|
304
|
+
* List all workflow tag groups for the organization.
|
|
305
|
+
*
|
|
306
|
+
* Groups are returned ordered by their `order` field for consistent display.
|
|
307
|
+
* Tags within a group are mutually exclusive - only one can be assigned to a workflow.
|
|
308
|
+
*/
|
|
309
|
+
export declare const listTagGroupsV1WorkflowTagGroupsGet: <ThrowOnError extends boolean = false>(options?: Options<ListTagGroupsV1WorkflowTagGroupsGetData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<import("./types.gen").WorkflowTagGroupResponse[], unknown, ThrowOnError>;
|
|
310
|
+
/**
|
|
311
|
+
* Create Tag Group
|
|
312
|
+
* Create a new workflow tag group.
|
|
313
|
+
*
|
|
314
|
+
* Tag groups enable mutual exclusivity - when a workflow has a tag from a group,
|
|
315
|
+
* adding another tag from the same group will automatically remove the first one.
|
|
316
|
+
*/
|
|
317
|
+
export declare const createTagGroupV1WorkflowTagGroupsPost: <ThrowOnError extends boolean = false>(options: Options<CreateTagGroupV1WorkflowTagGroupsPostData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<import("./types.gen").WorkflowTagGroupResponse, import("./types.gen").HttpValidationError, ThrowOnError>;
|
|
318
|
+
/**
|
|
319
|
+
* Delete Tag Group
|
|
320
|
+
* Delete a workflow tag group.
|
|
321
|
+
*
|
|
322
|
+
* Tags that belong to this group will become ungrouped (group_id set to null).
|
|
323
|
+
* The tags themselves are not deleted.
|
|
324
|
+
*/
|
|
325
|
+
export declare const deleteTagGroupV1WorkflowTagGroupsGroupIdDelete: <ThrowOnError extends boolean = false>(options: Options<DeleteTagGroupV1WorkflowTagGroupsGroupIdDeleteData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<void, import("./types.gen").HttpValidationError, ThrowOnError>;
|
|
326
|
+
/**
|
|
327
|
+
* Get Tag Group
|
|
328
|
+
* Get a specific workflow tag group by ID.
|
|
329
|
+
*/
|
|
330
|
+
export declare const getTagGroupV1WorkflowTagGroupsGroupIdGet: <ThrowOnError extends boolean = false>(options: Options<GetTagGroupV1WorkflowTagGroupsGroupIdGetData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<import("./types.gen").WorkflowTagGroupResponse, import("./types.gen").HttpValidationError, ThrowOnError>;
|
|
331
|
+
/**
|
|
332
|
+
* Update Tag Group
|
|
333
|
+
* Update a workflow tag group.
|
|
334
|
+
*/
|
|
335
|
+
export declare const updateTagGroupV1WorkflowTagGroupsGroupIdPatch: <ThrowOnError extends boolean = false>(options: Options<UpdateTagGroupV1WorkflowTagGroupsGroupIdPatchData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<import("./types.gen").WorkflowTagGroupResponse, import("./types.gen").HttpValidationError, ThrowOnError>;
|
|
336
|
+
/**
|
|
337
|
+
* Reorder Tag Groups
|
|
338
|
+
* Reorder workflow tag groups.
|
|
339
|
+
*
|
|
340
|
+
* Provide a list of group IDs in the desired order. The order field of each
|
|
341
|
+
* group will be updated to match its position in the list.
|
|
342
|
+
*/
|
|
343
|
+
export declare const reorderTagGroupsV1WorkflowTagGroupsReorderPut: <ThrowOnError extends boolean = false>(options: Options<ReorderTagGroupsV1WorkflowTagGroupsReorderPutData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<void, import("./types.gen").HttpValidationError, ThrowOnError>;
|
|
214
344
|
/**
|
|
215
345
|
* List Model Configurations
|
|
216
346
|
*/
|
package/dist/client/sdk.gen.js
CHANGED
|
@@ -1,8 +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.
|
|
5
|
-
exports.
|
|
4
|
+
exports.listRunsV1RunsGet = 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.bulkAddTagsToWorkflowsV1WorkflowsBulkTagsPost = exports.removeTagFromWorkflowV1WorkflowsWorkflowIdTagsTagIdDelete = exports.addTagsToWorkflowV1WorkflowsWorkflowIdTagsPost = exports.getWorkflowTagsV1WorkflowsWorkflowIdTagsGet = exports.getWorkflowPromptImageSignedUrlV1WorkflowsPromptImageSignedUrlGet = exports.listWorkflowPromptImagesV1WorkflowsPromptImagesGet = exports.uploadWorkflowPromptImageV1WorkflowsPromptImagePost = exports.deleteWorkflowPromptImageV1WorkflowsPromptImageDelete = exports.getWorkflowVersionsV1WorkflowsWorkflowIdVersionsGet = exports.updateWorkflowV1WorkflowsWorkflowIdPatch = exports.getWorkflowV1WorkflowsWorkflowIdGet = exports.deleteWorkflowV1WorkflowsWorkflowIdDelete = 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.healthLiveHealthLiveGet = 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 = void 0;
|
|
6
|
+
exports.healthDbHealthDbGet = exports.healthHealthGet = exports.healthReadyHealthReadyGet = void 0;
|
|
6
7
|
const client_fetch_1 = require("@hey-api/client-fetch");
|
|
7
8
|
const client_gen_1 = require("./client.gen");
|
|
8
9
|
/**
|
|
@@ -261,6 +262,9 @@ exports.addMachinesToPoolV1PoolsPoolIdMachinesPost = addMachinesToPoolV1PoolsPoo
|
|
|
261
262
|
* List all workflows for the authenticated organization.
|
|
262
263
|
*
|
|
263
264
|
* Supports pagination and returns workflows ordered by updated_at descending.
|
|
265
|
+
*
|
|
266
|
+
* Use `tag_ids` to filter workflows that have ALL specified tags (AND logic).
|
|
267
|
+
* Use `include_tags=true` to include tags in the response.
|
|
264
268
|
*/
|
|
265
269
|
const listWorkflowsV1WorkflowsGet = (options) => {
|
|
266
270
|
var _a;
|
|
@@ -423,6 +427,295 @@ const getWorkflowPromptImageSignedUrlV1WorkflowsPromptImageSignedUrlGet = (optio
|
|
|
423
427
|
], url: '/v1/workflows/prompt-image/signed-url' }, options));
|
|
424
428
|
};
|
|
425
429
|
exports.getWorkflowPromptImageSignedUrlV1WorkflowsPromptImageSignedUrlGet = getWorkflowPromptImageSignedUrlV1WorkflowsPromptImageSignedUrlGet;
|
|
430
|
+
/**
|
|
431
|
+
* Get tags for a workflow
|
|
432
|
+
* Get all tags assigned to a workflow.
|
|
433
|
+
*/
|
|
434
|
+
const getWorkflowTagsV1WorkflowsWorkflowIdTagsGet = (options) => {
|
|
435
|
+
var _a;
|
|
436
|
+
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get(Object.assign({ security: [
|
|
437
|
+
{
|
|
438
|
+
scheme: 'bearer',
|
|
439
|
+
type: 'http'
|
|
440
|
+
}
|
|
441
|
+
], url: '/v1/workflows/{workflow_id}/tags' }, options));
|
|
442
|
+
};
|
|
443
|
+
exports.getWorkflowTagsV1WorkflowsWorkflowIdTagsGet = getWorkflowTagsV1WorkflowsWorkflowIdTagsGet;
|
|
444
|
+
/**
|
|
445
|
+
* Add tags to a workflow
|
|
446
|
+
* Add one or more tags to a workflow.
|
|
447
|
+
*
|
|
448
|
+
* For tags that belong to a group (mutual exclusivity), adding a new tag from that group
|
|
449
|
+
* will automatically remove any existing tag from the same group.
|
|
450
|
+
*/
|
|
451
|
+
const addTagsToWorkflowV1WorkflowsWorkflowIdTagsPost = (options) => {
|
|
452
|
+
var _a;
|
|
453
|
+
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post(Object.assign(Object.assign({ security: [
|
|
454
|
+
{
|
|
455
|
+
scheme: 'bearer',
|
|
456
|
+
type: 'http'
|
|
457
|
+
}
|
|
458
|
+
], url: '/v1/workflows/{workflow_id}/tags' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options === null || options === void 0 ? void 0 : options.headers) }));
|
|
459
|
+
};
|
|
460
|
+
exports.addTagsToWorkflowV1WorkflowsWorkflowIdTagsPost = addTagsToWorkflowV1WorkflowsWorkflowIdTagsPost;
|
|
461
|
+
/**
|
|
462
|
+
* Remove a tag from a workflow
|
|
463
|
+
* Remove a tag from a workflow.
|
|
464
|
+
*/
|
|
465
|
+
const removeTagFromWorkflowV1WorkflowsWorkflowIdTagsTagIdDelete = (options) => {
|
|
466
|
+
var _a;
|
|
467
|
+
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).delete(Object.assign({ security: [
|
|
468
|
+
{
|
|
469
|
+
scheme: 'bearer',
|
|
470
|
+
type: 'http'
|
|
471
|
+
}
|
|
472
|
+
], url: '/v1/workflows/{workflow_id}/tags/{tag_id}' }, options));
|
|
473
|
+
};
|
|
474
|
+
exports.removeTagFromWorkflowV1WorkflowsWorkflowIdTagsTagIdDelete = removeTagFromWorkflowV1WorkflowsWorkflowIdTagsTagIdDelete;
|
|
475
|
+
/**
|
|
476
|
+
* Bulk add tags to multiple workflows
|
|
477
|
+
* Add tags to multiple workflows at once.
|
|
478
|
+
*
|
|
479
|
+
* For each workflow, mutual exclusivity is enforced: if a tag belongs to a group
|
|
480
|
+
* and the workflow already has a tag from that group, the existing tag is replaced.
|
|
481
|
+
*/
|
|
482
|
+
const bulkAddTagsToWorkflowsV1WorkflowsBulkTagsPost = (options) => {
|
|
483
|
+
var _a;
|
|
484
|
+
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post(Object.assign(Object.assign({ security: [
|
|
485
|
+
{
|
|
486
|
+
scheme: 'bearer',
|
|
487
|
+
type: 'http'
|
|
488
|
+
}
|
|
489
|
+
], url: '/v1/workflows/bulk/tags' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options === null || options === void 0 ? void 0 : options.headers) }));
|
|
490
|
+
};
|
|
491
|
+
exports.bulkAddTagsToWorkflowsV1WorkflowsBulkTagsPost = bulkAddTagsToWorkflowsV1WorkflowsBulkTagsPost;
|
|
492
|
+
/**
|
|
493
|
+
* List Tags
|
|
494
|
+
* List all workflow tags for the organization.
|
|
495
|
+
*
|
|
496
|
+
* Tags are returned ordered by their group (ungrouped first), then by order within group.
|
|
497
|
+
* Each tag includes its workflow_count indicating how many workflows use it.
|
|
498
|
+
*/
|
|
499
|
+
const listTagsV1WorkflowTagsGet = (options) => {
|
|
500
|
+
var _a;
|
|
501
|
+
return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get(Object.assign({ security: [
|
|
502
|
+
{
|
|
503
|
+
scheme: 'bearer',
|
|
504
|
+
type: 'http'
|
|
505
|
+
}
|
|
506
|
+
], url: '/v1/workflow-tags' }, options));
|
|
507
|
+
};
|
|
508
|
+
exports.listTagsV1WorkflowTagsGet = listTagsV1WorkflowTagsGet;
|
|
509
|
+
/**
|
|
510
|
+
* Create Tag
|
|
511
|
+
* Create a new workflow tag.
|
|
512
|
+
*
|
|
513
|
+
* Tags can optionally belong to a group for mutual exclusivity.
|
|
514
|
+
*/
|
|
515
|
+
const createTagV1WorkflowTagsPost = (options) => {
|
|
516
|
+
var _a;
|
|
517
|
+
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post(Object.assign(Object.assign({ security: [
|
|
518
|
+
{
|
|
519
|
+
scheme: 'bearer',
|
|
520
|
+
type: 'http'
|
|
521
|
+
}
|
|
522
|
+
], url: '/v1/workflow-tags' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options === null || options === void 0 ? void 0 : options.headers) }));
|
|
523
|
+
};
|
|
524
|
+
exports.createTagV1WorkflowTagsPost = createTagV1WorkflowTagsPost;
|
|
525
|
+
/**
|
|
526
|
+
* Delete Tag
|
|
527
|
+
* Delete a workflow tag.
|
|
528
|
+
*
|
|
529
|
+
* This is a hard delete - the tag is permanently removed and will be unassigned
|
|
530
|
+
* from all workflows. Consider using archive instead if you want to preserve
|
|
531
|
+
* existing assignments.
|
|
532
|
+
*/
|
|
533
|
+
const deleteTagV1WorkflowTagsTagIdDelete = (options) => {
|
|
534
|
+
var _a;
|
|
535
|
+
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).delete(Object.assign({ security: [
|
|
536
|
+
{
|
|
537
|
+
scheme: 'bearer',
|
|
538
|
+
type: 'http'
|
|
539
|
+
}
|
|
540
|
+
], url: '/v1/workflow-tags/{tag_id}' }, options));
|
|
541
|
+
};
|
|
542
|
+
exports.deleteTagV1WorkflowTagsTagIdDelete = deleteTagV1WorkflowTagsTagIdDelete;
|
|
543
|
+
/**
|
|
544
|
+
* Get Tag
|
|
545
|
+
* Get a specific workflow tag by ID.
|
|
546
|
+
*/
|
|
547
|
+
const getTagV1WorkflowTagsTagIdGet = (options) => {
|
|
548
|
+
var _a;
|
|
549
|
+
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get(Object.assign({ security: [
|
|
550
|
+
{
|
|
551
|
+
scheme: 'bearer',
|
|
552
|
+
type: 'http'
|
|
553
|
+
}
|
|
554
|
+
], url: '/v1/workflow-tags/{tag_id}' }, options));
|
|
555
|
+
};
|
|
556
|
+
exports.getTagV1WorkflowTagsTagIdGet = getTagV1WorkflowTagsTagIdGet;
|
|
557
|
+
/**
|
|
558
|
+
* Update Tag
|
|
559
|
+
* Update a workflow tag.
|
|
560
|
+
*/
|
|
561
|
+
const updateTagV1WorkflowTagsTagIdPatch = (options) => {
|
|
562
|
+
var _a;
|
|
563
|
+
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).patch(Object.assign(Object.assign({ security: [
|
|
564
|
+
{
|
|
565
|
+
scheme: 'bearer',
|
|
566
|
+
type: 'http'
|
|
567
|
+
}
|
|
568
|
+
], url: '/v1/workflow-tags/{tag_id}' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options === null || options === void 0 ? void 0 : options.headers) }));
|
|
569
|
+
};
|
|
570
|
+
exports.updateTagV1WorkflowTagsTagIdPatch = updateTagV1WorkflowTagsTagIdPatch;
|
|
571
|
+
/**
|
|
572
|
+
* Archive Tag
|
|
573
|
+
* Archive a workflow tag.
|
|
574
|
+
*
|
|
575
|
+
* Archived tags cannot be assigned to new workflows but remain on existing workflows.
|
|
576
|
+
* Archived tags are hidden from the tag list by default.
|
|
577
|
+
*/
|
|
578
|
+
const archiveTagV1WorkflowTagsTagIdArchivePost = (options) => {
|
|
579
|
+
var _a;
|
|
580
|
+
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post(Object.assign({ security: [
|
|
581
|
+
{
|
|
582
|
+
scheme: 'bearer',
|
|
583
|
+
type: 'http'
|
|
584
|
+
}
|
|
585
|
+
], url: '/v1/workflow-tags/{tag_id}/archive' }, options));
|
|
586
|
+
};
|
|
587
|
+
exports.archiveTagV1WorkflowTagsTagIdArchivePost = archiveTagV1WorkflowTagsTagIdArchivePost;
|
|
588
|
+
/**
|
|
589
|
+
* Unarchive Tag
|
|
590
|
+
* Unarchive a workflow tag.
|
|
591
|
+
*
|
|
592
|
+
* Restores an archived tag so it can be assigned to workflows again.
|
|
593
|
+
*/
|
|
594
|
+
const unarchiveTagV1WorkflowTagsTagIdUnarchivePost = (options) => {
|
|
595
|
+
var _a;
|
|
596
|
+
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post(Object.assign({ security: [
|
|
597
|
+
{
|
|
598
|
+
scheme: 'bearer',
|
|
599
|
+
type: 'http'
|
|
600
|
+
}
|
|
601
|
+
], url: '/v1/workflow-tags/{tag_id}/unarchive' }, options));
|
|
602
|
+
};
|
|
603
|
+
exports.unarchiveTagV1WorkflowTagsTagIdUnarchivePost = unarchiveTagV1WorkflowTagsTagIdUnarchivePost;
|
|
604
|
+
/**
|
|
605
|
+
* Reorder Tags
|
|
606
|
+
* Reorder workflow tags.
|
|
607
|
+
*
|
|
608
|
+
* Provide a list of tag IDs in the desired order. The order field of each
|
|
609
|
+
* tag will be updated to match its position in the list.
|
|
610
|
+
*
|
|
611
|
+
* Note: Tags should be reordered within their respective groups.
|
|
612
|
+
*/
|
|
613
|
+
const reorderTagsV1WorkflowTagsReorderPut = (options) => {
|
|
614
|
+
var _a;
|
|
615
|
+
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).put(Object.assign(Object.assign({ security: [
|
|
616
|
+
{
|
|
617
|
+
scheme: 'bearer',
|
|
618
|
+
type: 'http'
|
|
619
|
+
}
|
|
620
|
+
], url: '/v1/workflow-tags/reorder' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options === null || options === void 0 ? void 0 : options.headers) }));
|
|
621
|
+
};
|
|
622
|
+
exports.reorderTagsV1WorkflowTagsReorderPut = reorderTagsV1WorkflowTagsReorderPut;
|
|
623
|
+
/**
|
|
624
|
+
* List Tag Groups
|
|
625
|
+
* List all workflow tag groups for the organization.
|
|
626
|
+
*
|
|
627
|
+
* Groups are returned ordered by their `order` field for consistent display.
|
|
628
|
+
* Tags within a group are mutually exclusive - only one can be assigned to a workflow.
|
|
629
|
+
*/
|
|
630
|
+
const listTagGroupsV1WorkflowTagGroupsGet = (options) => {
|
|
631
|
+
var _a;
|
|
632
|
+
return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get(Object.assign({ security: [
|
|
633
|
+
{
|
|
634
|
+
scheme: 'bearer',
|
|
635
|
+
type: 'http'
|
|
636
|
+
}
|
|
637
|
+
], url: '/v1/workflow-tag-groups' }, options));
|
|
638
|
+
};
|
|
639
|
+
exports.listTagGroupsV1WorkflowTagGroupsGet = listTagGroupsV1WorkflowTagGroupsGet;
|
|
640
|
+
/**
|
|
641
|
+
* Create Tag Group
|
|
642
|
+
* Create a new workflow tag group.
|
|
643
|
+
*
|
|
644
|
+
* Tag groups enable mutual exclusivity - when a workflow has a tag from a group,
|
|
645
|
+
* adding another tag from the same group will automatically remove the first one.
|
|
646
|
+
*/
|
|
647
|
+
const createTagGroupV1WorkflowTagGroupsPost = (options) => {
|
|
648
|
+
var _a;
|
|
649
|
+
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post(Object.assign(Object.assign({ security: [
|
|
650
|
+
{
|
|
651
|
+
scheme: 'bearer',
|
|
652
|
+
type: 'http'
|
|
653
|
+
}
|
|
654
|
+
], url: '/v1/workflow-tag-groups' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options === null || options === void 0 ? void 0 : options.headers) }));
|
|
655
|
+
};
|
|
656
|
+
exports.createTagGroupV1WorkflowTagGroupsPost = createTagGroupV1WorkflowTagGroupsPost;
|
|
657
|
+
/**
|
|
658
|
+
* Delete Tag Group
|
|
659
|
+
* Delete a workflow tag group.
|
|
660
|
+
*
|
|
661
|
+
* Tags that belong to this group will become ungrouped (group_id set to null).
|
|
662
|
+
* The tags themselves are not deleted.
|
|
663
|
+
*/
|
|
664
|
+
const deleteTagGroupV1WorkflowTagGroupsGroupIdDelete = (options) => {
|
|
665
|
+
var _a;
|
|
666
|
+
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).delete(Object.assign({ security: [
|
|
667
|
+
{
|
|
668
|
+
scheme: 'bearer',
|
|
669
|
+
type: 'http'
|
|
670
|
+
}
|
|
671
|
+
], url: '/v1/workflow-tag-groups/{group_id}' }, options));
|
|
672
|
+
};
|
|
673
|
+
exports.deleteTagGroupV1WorkflowTagGroupsGroupIdDelete = deleteTagGroupV1WorkflowTagGroupsGroupIdDelete;
|
|
674
|
+
/**
|
|
675
|
+
* Get Tag Group
|
|
676
|
+
* Get a specific workflow tag group by ID.
|
|
677
|
+
*/
|
|
678
|
+
const getTagGroupV1WorkflowTagGroupsGroupIdGet = (options) => {
|
|
679
|
+
var _a;
|
|
680
|
+
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get(Object.assign({ security: [
|
|
681
|
+
{
|
|
682
|
+
scheme: 'bearer',
|
|
683
|
+
type: 'http'
|
|
684
|
+
}
|
|
685
|
+
], url: '/v1/workflow-tag-groups/{group_id}' }, options));
|
|
686
|
+
};
|
|
687
|
+
exports.getTagGroupV1WorkflowTagGroupsGroupIdGet = getTagGroupV1WorkflowTagGroupsGroupIdGet;
|
|
688
|
+
/**
|
|
689
|
+
* Update Tag Group
|
|
690
|
+
* Update a workflow tag group.
|
|
691
|
+
*/
|
|
692
|
+
const updateTagGroupV1WorkflowTagGroupsGroupIdPatch = (options) => {
|
|
693
|
+
var _a;
|
|
694
|
+
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).patch(Object.assign(Object.assign({ security: [
|
|
695
|
+
{
|
|
696
|
+
scheme: 'bearer',
|
|
697
|
+
type: 'http'
|
|
698
|
+
}
|
|
699
|
+
], url: '/v1/workflow-tag-groups/{group_id}' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options === null || options === void 0 ? void 0 : options.headers) }));
|
|
700
|
+
};
|
|
701
|
+
exports.updateTagGroupV1WorkflowTagGroupsGroupIdPatch = updateTagGroupV1WorkflowTagGroupsGroupIdPatch;
|
|
702
|
+
/**
|
|
703
|
+
* Reorder Tag Groups
|
|
704
|
+
* Reorder workflow tag groups.
|
|
705
|
+
*
|
|
706
|
+
* Provide a list of group IDs in the desired order. The order field of each
|
|
707
|
+
* group will be updated to match its position in the list.
|
|
708
|
+
*/
|
|
709
|
+
const reorderTagGroupsV1WorkflowTagGroupsReorderPut = (options) => {
|
|
710
|
+
var _a;
|
|
711
|
+
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).put(Object.assign(Object.assign({ security: [
|
|
712
|
+
{
|
|
713
|
+
scheme: 'bearer',
|
|
714
|
+
type: 'http'
|
|
715
|
+
}
|
|
716
|
+
], url: '/v1/workflow-tag-groups/reorder' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options === null || options === void 0 ? void 0 : options.headers) }));
|
|
717
|
+
};
|
|
718
|
+
exports.reorderTagGroupsV1WorkflowTagGroupsReorderPut = reorderTagGroupsV1WorkflowTagGroupsReorderPut;
|
|
426
719
|
/**
|
|
427
720
|
* List Model Configurations
|
|
428
721
|
*/
|