cyberdesk 2.2.36 → 2.2.38
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/client/client.gen.d.ts +2 -0
- package/dist/client/client/client.gen.js +217 -0
- package/dist/client/client/index.d.ts +8 -0
- package/dist/client/client/index.js +17 -0
- package/dist/client/client/types.gen.d.ts +117 -0
- package/dist/client/client/types.gen.js +3 -0
- package/dist/client/client/utils.gen.d.ts +33 -0
- package/dist/client/client/utils.gen.js +247 -0
- package/dist/client/client.gen.d.ts +4 -4
- package/dist/client/client.gen.js +2 -4
- package/dist/client/core/auth.gen.d.ts +18 -0
- package/dist/client/core/auth.gen.js +27 -0
- package/dist/client/core/bodySerializer.gen.d.ts +25 -0
- package/dist/client/core/bodySerializer.gen.js +60 -0
- package/dist/client/core/params.gen.d.ts +43 -0
- package/dist/client/core/params.gen.js +104 -0
- package/dist/client/core/pathSerializer.gen.d.ts +33 -0
- package/dist/client/core/pathSerializer.gen.js +115 -0
- package/dist/client/core/queryKeySerializer.gen.d.ts +18 -0
- package/dist/client/core/queryKeySerializer.gen.js +98 -0
- package/dist/client/core/serverSentEvents.gen.d.ts +71 -0
- package/dist/client/core/serverSentEvents.gen.js +160 -0
- package/dist/client/core/types.gen.d.ts +78 -0
- package/dist/client/core/types.gen.js +3 -0
- package/dist/client/core/utils.gen.d.ts +19 -0
- package/dist/client/core/utils.gen.js +93 -0
- package/dist/client/index.d.ts +2 -2
- package/dist/client/index.js +113 -17
- package/dist/client/sdk.gen.d.ts +217 -141
- package/dist/client/sdk.gen.js +217 -665
- package/dist/client/types.gen.d.ts +2588 -132
- package/dist/index.d.ts +217 -249
- package/dist/index.js +18 -43
- package/package.json +5 -5
package/dist/client/sdk.gen.js
CHANGED
|
@@ -2,34 +2,31 @@
|
|
|
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.fsWriteV1ComputerMachineIdFsWritePost = exports.fsReadV1ComputerMachineIdFsReadGet = exports.fsListV1ComputerMachineIdFsListGet = exports.mouseDragV1ComputerMachineIdInputMouseDragPost = exports.mouseScrollV1ComputerMachineIdInputMouseScrollPost = exports.mouseClickV1ComputerMachineIdInputMouseClickPost = exports.mouseMoveV1ComputerMachineIdInputMouseMovePost = exports.getMousePositionV1ComputerMachineIdInputMousePositionGet = exports.copyToClipboardV1ComputerMachineIdCopyToClipboardPost = exports.keyboardKeyV1ComputerMachineIdInputKeyboardKeyPost = exports.keyboardTypeV1ComputerMachineIdInputKeyboardTypePost = exports.
|
|
6
|
-
exports.healthMachinesV1HealthMachinesGet = exports.healthDbHealthDbGet = exports.healthHealthGet = exports.healthReadyHealthReadyGet = exports.healthLiveHealthLiveGet = exports.rootGet = exports.getUsageAggregateV1UsageAggregateGet = exports.cyberdriverShutdownV1MachinesMachineIdCyberdriverShutdownPost =
|
|
7
|
-
const
|
|
5
|
+
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.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 = void 0;
|
|
7
|
+
const client_1 = require("./client");
|
|
8
8
|
const client_gen_1 = require("./client.gen");
|
|
9
9
|
/**
|
|
10
10
|
* Health Check
|
|
11
|
+
*
|
|
11
12
|
* Basic health check endpoint.
|
|
12
13
|
*
|
|
13
14
|
* Returns the service status without authentication.
|
|
14
15
|
*/
|
|
15
|
-
const healthCheckV1HealthGet = (options) => {
|
|
16
|
-
var _a;
|
|
17
|
-
return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get(Object.assign({ url: '/v1/health' }, options));
|
|
18
|
-
};
|
|
16
|
+
const healthCheckV1HealthGet = (options) => { var _a; return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get(Object.assign({ url: '/v1/health' }, options)); };
|
|
19
17
|
exports.healthCheckV1HealthGet = healthCheckV1HealthGet;
|
|
20
18
|
/**
|
|
21
19
|
* Database Health Check
|
|
20
|
+
*
|
|
22
21
|
* Database health check endpoint.
|
|
23
22
|
*
|
|
24
|
-
* Verifies database connectivity
|
|
23
|
+
* Verifies database connectivity without authentication.
|
|
25
24
|
*/
|
|
26
|
-
const databaseHealthCheckV1HealthDbGet = (options) => {
|
|
27
|
-
var _a;
|
|
28
|
-
return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get(Object.assign({ url: '/v1/health/db' }, options));
|
|
29
|
-
};
|
|
25
|
+
const databaseHealthCheckV1HealthDbGet = (options) => { var _a; return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get(Object.assign({ url: '/v1/health/db' }, options)); };
|
|
30
26
|
exports.databaseHealthCheckV1HealthDbGet = databaseHealthCheckV1HealthDbGet;
|
|
31
27
|
/**
|
|
32
28
|
* List Machines
|
|
29
|
+
*
|
|
33
30
|
* List all machines for the authenticated organization.
|
|
34
31
|
*
|
|
35
32
|
* Supports pagination and filtering by status.
|
|
@@ -39,32 +36,24 @@ exports.databaseHealthCheckV1HealthDbGet = databaseHealthCheckV1HealthDbGet;
|
|
|
39
36
|
*/
|
|
40
37
|
const listMachinesV1MachinesGet = (options) => {
|
|
41
38
|
var _a;
|
|
42
|
-
return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get(Object.assign({ security: [
|
|
43
|
-
{
|
|
44
|
-
scheme: 'bearer',
|
|
45
|
-
type: 'http'
|
|
46
|
-
}
|
|
47
|
-
], url: '/v1/machines' }, options));
|
|
39
|
+
return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get(Object.assign({ security: [{ scheme: 'bearer', type: 'http' }], url: '/v1/machines' }, options));
|
|
48
40
|
};
|
|
49
41
|
exports.listMachinesV1MachinesGet = listMachinesV1MachinesGet;
|
|
50
42
|
/**
|
|
51
43
|
* Create Machine
|
|
44
|
+
*
|
|
52
45
|
* Create a new machine.
|
|
53
46
|
*
|
|
54
47
|
* The machine will be associated with the authenticated organization.
|
|
55
48
|
*/
|
|
56
49
|
const createMachineV1MachinesPost = (options) => {
|
|
57
50
|
var _a;
|
|
58
|
-
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post(Object.assign(Object.assign({ security: [
|
|
59
|
-
{
|
|
60
|
-
scheme: 'bearer',
|
|
61
|
-
type: 'http'
|
|
62
|
-
}
|
|
63
|
-
], url: '/v1/machines' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options === null || options === void 0 ? void 0 : options.headers) }));
|
|
51
|
+
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post(Object.assign(Object.assign({ security: [{ scheme: 'bearer', type: 'http' }], url: '/v1/machines' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options.headers) }));
|
|
64
52
|
};
|
|
65
53
|
exports.createMachineV1MachinesPost = createMachineV1MachinesPost;
|
|
66
54
|
/**
|
|
67
55
|
* Delete Machine
|
|
56
|
+
*
|
|
68
57
|
* Delete a machine.
|
|
69
58
|
*
|
|
70
59
|
* Associated runs are PRESERVED with machine_id set to NULL.
|
|
@@ -75,16 +64,12 @@ exports.createMachineV1MachinesPost = createMachineV1MachinesPost;
|
|
|
75
64
|
*/
|
|
76
65
|
const deleteMachineV1MachinesMachineIdDelete = (options) => {
|
|
77
66
|
var _a;
|
|
78
|
-
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).delete(Object.assign({ security: [
|
|
79
|
-
{
|
|
80
|
-
scheme: 'bearer',
|
|
81
|
-
type: 'http'
|
|
82
|
-
}
|
|
83
|
-
], url: '/v1/machines/{machine_id}' }, options));
|
|
67
|
+
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).delete(Object.assign({ security: [{ scheme: 'bearer', type: 'http' }], url: '/v1/machines/{machine_id}' }, options));
|
|
84
68
|
};
|
|
85
69
|
exports.deleteMachineV1MachinesMachineIdDelete = deleteMachineV1MachinesMachineIdDelete;
|
|
86
70
|
/**
|
|
87
71
|
* Get Machine
|
|
72
|
+
*
|
|
88
73
|
* Get a specific machine by ID.
|
|
89
74
|
*
|
|
90
75
|
* The machine must belong to the authenticated organization.
|
|
@@ -94,16 +79,12 @@ exports.deleteMachineV1MachinesMachineIdDelete = deleteMachineV1MachinesMachineI
|
|
|
94
79
|
*/
|
|
95
80
|
const getMachineV1MachinesMachineIdGet = (options) => {
|
|
96
81
|
var _a;
|
|
97
|
-
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get(Object.assign({ security: [
|
|
98
|
-
{
|
|
99
|
-
scheme: 'bearer',
|
|
100
|
-
type: 'http'
|
|
101
|
-
}
|
|
102
|
-
], url: '/v1/machines/{machine_id}' }, options));
|
|
82
|
+
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get(Object.assign({ security: [{ scheme: 'bearer', type: 'http' }], url: '/v1/machines/{machine_id}' }, options));
|
|
103
83
|
};
|
|
104
84
|
exports.getMachineV1MachinesMachineIdGet = getMachineV1MachinesMachineIdGet;
|
|
105
85
|
/**
|
|
106
86
|
* Update Machine
|
|
87
|
+
*
|
|
107
88
|
* Update a machine's information.
|
|
108
89
|
*
|
|
109
90
|
* Only the fields provided in the request body will be updated.
|
|
@@ -114,45 +95,33 @@ exports.getMachineV1MachinesMachineIdGet = getMachineV1MachinesMachineIdGet;
|
|
|
114
95
|
*/
|
|
115
96
|
const updateMachineV1MachinesMachineIdPatch = (options) => {
|
|
116
97
|
var _a;
|
|
117
|
-
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).patch(Object.assign(Object.assign({ security: [
|
|
118
|
-
{
|
|
119
|
-
scheme: 'bearer',
|
|
120
|
-
type: 'http'
|
|
121
|
-
}
|
|
122
|
-
], url: '/v1/machines/{machine_id}' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options === null || options === void 0 ? void 0 : options.headers) }));
|
|
98
|
+
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).patch(Object.assign(Object.assign({ security: [{ scheme: 'bearer', type: 'http' }], url: '/v1/machines/{machine_id}' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options.headers) }));
|
|
123
99
|
};
|
|
124
100
|
exports.updateMachineV1MachinesMachineIdPatch = updateMachineV1MachinesMachineIdPatch;
|
|
125
101
|
/**
|
|
126
102
|
* Get Machine Pools
|
|
103
|
+
*
|
|
127
104
|
* Get all pools that a machine belongs to.
|
|
128
105
|
*/
|
|
129
106
|
const getMachinePoolsV1MachinesMachineIdPoolsGet = (options) => {
|
|
130
107
|
var _a;
|
|
131
|
-
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get(Object.assign({ security: [
|
|
132
|
-
{
|
|
133
|
-
scheme: 'bearer',
|
|
134
|
-
type: 'http'
|
|
135
|
-
}
|
|
136
|
-
], url: '/v1/machines/{machine_id}/pools' }, options));
|
|
108
|
+
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get(Object.assign({ security: [{ scheme: 'bearer', type: 'http' }], url: '/v1/machines/{machine_id}/pools' }, options));
|
|
137
109
|
};
|
|
138
110
|
exports.getMachinePoolsV1MachinesMachineIdPoolsGet = getMachinePoolsV1MachinesMachineIdPoolsGet;
|
|
139
111
|
/**
|
|
140
112
|
* Update Machine Pools
|
|
113
|
+
*
|
|
141
114
|
* Update a machine's pool assignments.
|
|
142
115
|
* This replaces all existing pool assignments with the new ones.
|
|
143
116
|
*/
|
|
144
117
|
const updateMachinePoolsV1MachinesMachineIdPoolsPut = (options) => {
|
|
145
118
|
var _a;
|
|
146
|
-
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).put(Object.assign(Object.assign({ security: [
|
|
147
|
-
{
|
|
148
|
-
scheme: 'bearer',
|
|
149
|
-
type: 'http'
|
|
150
|
-
}
|
|
151
|
-
], url: '/v1/machines/{machine_id}/pools' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options === null || options === void 0 ? void 0 : options.headers) }));
|
|
119
|
+
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).put(Object.assign(Object.assign({ security: [{ scheme: 'bearer', type: 'http' }], url: '/v1/machines/{machine_id}/pools' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options.headers) }));
|
|
152
120
|
};
|
|
153
121
|
exports.updateMachinePoolsV1MachinesMachineIdPoolsPut = updateMachinePoolsV1MachinesMachineIdPoolsPut;
|
|
154
122
|
/**
|
|
155
123
|
* List Pools
|
|
124
|
+
*
|
|
156
125
|
* List all pools for the organization.
|
|
157
126
|
*
|
|
158
127
|
* Use the `include` parameter to fetch related resources in the response.
|
|
@@ -160,44 +129,32 @@ exports.updateMachinePoolsV1MachinesMachineIdPoolsPut = updateMachinePoolsV1Mach
|
|
|
160
129
|
*/
|
|
161
130
|
const listPoolsV1PoolsGet = (options) => {
|
|
162
131
|
var _a;
|
|
163
|
-
return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get(Object.assign({ security: [
|
|
164
|
-
{
|
|
165
|
-
scheme: 'bearer',
|
|
166
|
-
type: 'http'
|
|
167
|
-
}
|
|
168
|
-
], url: '/v1/pools' }, options));
|
|
132
|
+
return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get(Object.assign({ security: [{ scheme: 'bearer', type: 'http' }], url: '/v1/pools' }, options));
|
|
169
133
|
};
|
|
170
134
|
exports.listPoolsV1PoolsGet = listPoolsV1PoolsGet;
|
|
171
135
|
/**
|
|
172
136
|
* Create Pool
|
|
137
|
+
*
|
|
173
138
|
* Create a new pool for organizing machines.
|
|
174
139
|
*/
|
|
175
140
|
const createPoolV1PoolsPost = (options) => {
|
|
176
141
|
var _a;
|
|
177
|
-
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post(Object.assign(Object.assign({ security: [
|
|
178
|
-
{
|
|
179
|
-
scheme: 'bearer',
|
|
180
|
-
type: 'http'
|
|
181
|
-
}
|
|
182
|
-
], url: '/v1/pools' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options === null || options === void 0 ? void 0 : options.headers) }));
|
|
142
|
+
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post(Object.assign(Object.assign({ security: [{ scheme: 'bearer', type: 'http' }], url: '/v1/pools' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options.headers) }));
|
|
183
143
|
};
|
|
184
144
|
exports.createPoolV1PoolsPost = createPoolV1PoolsPost;
|
|
185
145
|
/**
|
|
186
146
|
* Delete Pool
|
|
147
|
+
*
|
|
187
148
|
* Delete a pool. This will not delete the machines in the pool.
|
|
188
149
|
*/
|
|
189
150
|
const deletePoolV1PoolsPoolIdDelete = (options) => {
|
|
190
151
|
var _a;
|
|
191
|
-
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).delete(Object.assign({ security: [
|
|
192
|
-
{
|
|
193
|
-
scheme: 'bearer',
|
|
194
|
-
type: 'http'
|
|
195
|
-
}
|
|
196
|
-
], url: '/v1/pools/{pool_id}' }, options));
|
|
152
|
+
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).delete(Object.assign({ security: [{ scheme: 'bearer', type: 'http' }], url: '/v1/pools/{pool_id}' }, options));
|
|
197
153
|
};
|
|
198
154
|
exports.deletePoolV1PoolsPoolIdDelete = deletePoolV1PoolsPoolIdDelete;
|
|
199
155
|
/**
|
|
200
156
|
* Get Pool
|
|
157
|
+
*
|
|
201
158
|
* Get a specific pool by ID.
|
|
202
159
|
*
|
|
203
160
|
* Use the `include` parameter to fetch related resources in the response.
|
|
@@ -207,93 +164,70 @@ exports.deletePoolV1PoolsPoolIdDelete = deletePoolV1PoolsPoolIdDelete;
|
|
|
207
164
|
*/
|
|
208
165
|
const getPoolV1PoolsPoolIdGet = (options) => {
|
|
209
166
|
var _a;
|
|
210
|
-
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get(Object.assign({ security: [
|
|
211
|
-
{
|
|
212
|
-
scheme: 'bearer',
|
|
213
|
-
type: 'http'
|
|
214
|
-
}
|
|
215
|
-
], url: '/v1/pools/{pool_id}' }, options));
|
|
167
|
+
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get(Object.assign({ security: [{ scheme: 'bearer', type: 'http' }], url: '/v1/pools/{pool_id}' }, options));
|
|
216
168
|
};
|
|
217
169
|
exports.getPoolV1PoolsPoolIdGet = getPoolV1PoolsPoolIdGet;
|
|
218
170
|
/**
|
|
219
171
|
* Update Pool
|
|
172
|
+
*
|
|
220
173
|
* Update a pool's details.
|
|
221
174
|
*/
|
|
222
175
|
const updatePoolV1PoolsPoolIdPatch = (options) => {
|
|
223
176
|
var _a;
|
|
224
|
-
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).patch(Object.assign(Object.assign({ security: [
|
|
225
|
-
{
|
|
226
|
-
scheme: 'bearer',
|
|
227
|
-
type: 'http'
|
|
228
|
-
}
|
|
229
|
-
], url: '/v1/pools/{pool_id}' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options === null || options === void 0 ? void 0 : options.headers) }));
|
|
177
|
+
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).patch(Object.assign(Object.assign({ security: [{ scheme: 'bearer', type: 'http' }], url: '/v1/pools/{pool_id}' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options.headers) }));
|
|
230
178
|
};
|
|
231
179
|
exports.updatePoolV1PoolsPoolIdPatch = updatePoolV1PoolsPoolIdPatch;
|
|
232
180
|
/**
|
|
233
181
|
* Remove Machines From Pool
|
|
182
|
+
*
|
|
234
183
|
* Remove machines from a pool.
|
|
235
184
|
*/
|
|
236
185
|
const removeMachinesFromPoolV1PoolsPoolIdMachinesDelete = (options) => {
|
|
237
186
|
var _a;
|
|
238
|
-
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).delete(Object.assign(Object.assign({ security: [
|
|
239
|
-
{
|
|
240
|
-
scheme: 'bearer',
|
|
241
|
-
type: 'http'
|
|
242
|
-
}
|
|
243
|
-
], url: '/v1/pools/{pool_id}/machines' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options === null || options === void 0 ? void 0 : options.headers) }));
|
|
187
|
+
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).delete(Object.assign(Object.assign({ security: [{ scheme: 'bearer', type: 'http' }], url: '/v1/pools/{pool_id}/machines' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options.headers) }));
|
|
244
188
|
};
|
|
245
189
|
exports.removeMachinesFromPoolV1PoolsPoolIdMachinesDelete = removeMachinesFromPoolV1PoolsPoolIdMachinesDelete;
|
|
246
190
|
/**
|
|
247
191
|
* Add Machines To Pool
|
|
192
|
+
*
|
|
248
193
|
* Add machines to a pool.
|
|
249
194
|
*/
|
|
250
195
|
const addMachinesToPoolV1PoolsPoolIdMachinesPost = (options) => {
|
|
251
196
|
var _a;
|
|
252
|
-
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post(Object.assign(Object.assign({ security: [
|
|
253
|
-
{
|
|
254
|
-
scheme: 'bearer',
|
|
255
|
-
type: 'http'
|
|
256
|
-
}
|
|
257
|
-
], url: '/v1/pools/{pool_id}/machines' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options === null || options === void 0 ? void 0 : options.headers) }));
|
|
197
|
+
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post(Object.assign(Object.assign({ security: [{ scheme: 'bearer', type: 'http' }], url: '/v1/pools/{pool_id}/machines' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options.headers) }));
|
|
258
198
|
};
|
|
259
199
|
exports.addMachinesToPoolV1PoolsPoolIdMachinesPost = addMachinesToPoolV1PoolsPoolIdMachinesPost;
|
|
260
200
|
/**
|
|
261
201
|
* List Workflows
|
|
202
|
+
*
|
|
262
203
|
* List all workflows for the authenticated organization.
|
|
263
204
|
*
|
|
264
205
|
* Supports pagination and returns workflows ordered by updated_at descending.
|
|
265
206
|
*
|
|
266
207
|
* Use `tag_ids` to filter workflows that have ALL specified tags (AND logic).
|
|
267
|
-
* Use `
|
|
208
|
+
* Use `include=tags,post_run_checks` to include related workflow resources.
|
|
209
|
+
* Legacy `include_tags=true` remains supported, but `include` wins when both are provided.
|
|
268
210
|
*/
|
|
269
211
|
const listWorkflowsV1WorkflowsGet = (options) => {
|
|
270
212
|
var _a;
|
|
271
|
-
return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get(Object.assign({ security: [
|
|
272
|
-
{
|
|
273
|
-
scheme: 'bearer',
|
|
274
|
-
type: 'http'
|
|
275
|
-
}
|
|
276
|
-
], url: '/v1/workflows' }, options));
|
|
213
|
+
return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get(Object.assign({ security: [{ scheme: 'bearer', type: 'http' }], url: '/v1/workflows' }, options));
|
|
277
214
|
};
|
|
278
215
|
exports.listWorkflowsV1WorkflowsGet = listWorkflowsV1WorkflowsGet;
|
|
279
216
|
/**
|
|
280
217
|
* Create Workflow
|
|
218
|
+
*
|
|
281
219
|
* Create a new workflow.
|
|
282
220
|
*
|
|
283
221
|
* The workflow will be associated with the authenticated organization.
|
|
284
222
|
*/
|
|
285
223
|
const createWorkflowV1WorkflowsPost = (options) => {
|
|
286
224
|
var _a;
|
|
287
|
-
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post(Object.assign(Object.assign({ security: [
|
|
288
|
-
{
|
|
289
|
-
scheme: 'bearer',
|
|
290
|
-
type: 'http'
|
|
291
|
-
}
|
|
292
|
-
], url: '/v1/workflows' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options === null || options === void 0 ? void 0 : options.headers) }));
|
|
225
|
+
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post(Object.assign(Object.assign({ security: [{ scheme: 'bearer', type: 'http' }], url: '/v1/workflows' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options.headers) }));
|
|
293
226
|
};
|
|
294
227
|
exports.createWorkflowV1WorkflowsPost = createWorkflowV1WorkflowsPost;
|
|
295
228
|
/**
|
|
296
229
|
* Bulk add tags to multiple workflows
|
|
230
|
+
*
|
|
297
231
|
* Add tags to multiple workflows at once.
|
|
298
232
|
*
|
|
299
233
|
* For each workflow, mutual exclusivity is enforced: if a tag belongs to a group
|
|
@@ -301,16 +235,12 @@ exports.createWorkflowV1WorkflowsPost = createWorkflowV1WorkflowsPost;
|
|
|
301
235
|
*/
|
|
302
236
|
const bulkAddTagsToWorkflowsV1WorkflowsBulkTagsPost = (options) => {
|
|
303
237
|
var _a;
|
|
304
|
-
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post(Object.assign(Object.assign({ security: [
|
|
305
|
-
{
|
|
306
|
-
scheme: 'bearer',
|
|
307
|
-
type: 'http'
|
|
308
|
-
}
|
|
309
|
-
], url: '/v1/workflows/bulk/tags' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options === null || options === void 0 ? void 0 : options.headers) }));
|
|
238
|
+
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post(Object.assign(Object.assign({ security: [{ scheme: 'bearer', type: 'http' }], url: '/v1/workflows/bulk/tags' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options.headers) }));
|
|
310
239
|
};
|
|
311
240
|
exports.bulkAddTagsToWorkflowsV1WorkflowsBulkTagsPost = bulkAddTagsToWorkflowsV1WorkflowsBulkTagsPost;
|
|
312
241
|
/**
|
|
313
242
|
* Delete Workflow
|
|
243
|
+
*
|
|
314
244
|
* Delete a workflow.
|
|
315
245
|
*
|
|
316
246
|
* This will also delete all associated runs and trajectories.
|
|
@@ -318,32 +248,24 @@ exports.bulkAddTagsToWorkflowsV1WorkflowsBulkTagsPost = bulkAddTagsToWorkflowsV1
|
|
|
318
248
|
*/
|
|
319
249
|
const deleteWorkflowV1WorkflowsWorkflowIdDelete = (options) => {
|
|
320
250
|
var _a;
|
|
321
|
-
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).delete(Object.assign({ security: [
|
|
322
|
-
{
|
|
323
|
-
scheme: 'bearer',
|
|
324
|
-
type: 'http'
|
|
325
|
-
}
|
|
326
|
-
], url: '/v1/workflows/{workflow_id}' }, options));
|
|
251
|
+
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).delete(Object.assign({ security: [{ scheme: 'bearer', type: 'http' }], url: '/v1/workflows/{workflow_id}' }, options));
|
|
327
252
|
};
|
|
328
253
|
exports.deleteWorkflowV1WorkflowsWorkflowIdDelete = deleteWorkflowV1WorkflowsWorkflowIdDelete;
|
|
329
254
|
/**
|
|
330
255
|
* Get Workflow
|
|
256
|
+
*
|
|
331
257
|
* Get a specific workflow by ID.
|
|
332
258
|
*
|
|
333
259
|
* The workflow must belong to the authenticated organization.
|
|
334
260
|
*/
|
|
335
261
|
const getWorkflowV1WorkflowsWorkflowIdGet = (options) => {
|
|
336
262
|
var _a;
|
|
337
|
-
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get(Object.assign({ security: [
|
|
338
|
-
{
|
|
339
|
-
scheme: 'bearer',
|
|
340
|
-
type: 'http'
|
|
341
|
-
}
|
|
342
|
-
], url: '/v1/workflows/{workflow_id}' }, options));
|
|
263
|
+
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get(Object.assign({ security: [{ scheme: 'bearer', type: 'http' }], url: '/v1/workflows/{workflow_id}' }, options));
|
|
343
264
|
};
|
|
344
265
|
exports.getWorkflowV1WorkflowsWorkflowIdGet = getWorkflowV1WorkflowsWorkflowIdGet;
|
|
345
266
|
/**
|
|
346
267
|
* Update Workflow
|
|
268
|
+
*
|
|
347
269
|
* Update a workflow's prompts.
|
|
348
270
|
*
|
|
349
271
|
* The current version will be saved to the version history.
|
|
@@ -352,32 +274,24 @@ exports.getWorkflowV1WorkflowsWorkflowIdGet = getWorkflowV1WorkflowsWorkflowIdGe
|
|
|
352
274
|
*/
|
|
353
275
|
const updateWorkflowV1WorkflowsWorkflowIdPatch = (options) => {
|
|
354
276
|
var _a;
|
|
355
|
-
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).patch(Object.assign(Object.assign({ security: [
|
|
356
|
-
{
|
|
357
|
-
scheme: 'bearer',
|
|
358
|
-
type: 'http'
|
|
359
|
-
}
|
|
360
|
-
], url: '/v1/workflows/{workflow_id}' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options === null || options === void 0 ? void 0 : options.headers) }));
|
|
277
|
+
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).patch(Object.assign(Object.assign({ security: [{ scheme: 'bearer', type: 'http' }], url: '/v1/workflows/{workflow_id}' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options.headers) }));
|
|
361
278
|
};
|
|
362
279
|
exports.updateWorkflowV1WorkflowsWorkflowIdPatch = updateWorkflowV1WorkflowsWorkflowIdPatch;
|
|
363
280
|
/**
|
|
364
281
|
* Duplicate Workflow
|
|
282
|
+
*
|
|
365
283
|
* Duplicate a workflow, including prompt images and optional generated trajectories.
|
|
366
284
|
*
|
|
367
285
|
* Copies everything except version history, and prefixes the name with "(Copy)".
|
|
368
286
|
*/
|
|
369
287
|
const duplicateWorkflowV1WorkflowsWorkflowIdDuplicatePost = (options) => {
|
|
370
288
|
var _a;
|
|
371
|
-
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post(Object.assign(Object.assign({ security: [
|
|
372
|
-
{
|
|
373
|
-
scheme: 'bearer',
|
|
374
|
-
type: 'http'
|
|
375
|
-
}
|
|
376
|
-
], url: '/v1/workflows/{workflow_id}/duplicate' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options === null || options === void 0 ? void 0 : options.headers) }));
|
|
289
|
+
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post(Object.assign(Object.assign({ security: [{ scheme: 'bearer', type: 'http' }], url: '/v1/workflows/{workflow_id}/duplicate' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options.headers) }));
|
|
377
290
|
};
|
|
378
291
|
exports.duplicateWorkflowV1WorkflowsWorkflowIdDuplicatePost = duplicateWorkflowV1WorkflowsWorkflowIdDuplicatePost;
|
|
379
292
|
/**
|
|
380
293
|
* Merge Workflow
|
|
294
|
+
*
|
|
381
295
|
* Merge the current workflow into another workflow.
|
|
382
296
|
*
|
|
383
297
|
* Updates the target workflow with all data from the source workflow (except version history),
|
|
@@ -385,16 +299,12 @@ exports.duplicateWorkflowV1WorkflowsWorkflowIdDuplicatePost = duplicateWorkflowV
|
|
|
385
299
|
*/
|
|
386
300
|
const mergeWorkflowV1WorkflowsWorkflowIdMergePost = (options) => {
|
|
387
301
|
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) }));
|
|
302
|
+
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post(Object.assign(Object.assign({ security: [{ scheme: 'bearer', type: 'http' }], url: '/v1/workflows/{workflow_id}/merge' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options.headers) }));
|
|
394
303
|
};
|
|
395
304
|
exports.mergeWorkflowV1WorkflowsWorkflowIdMergePost = mergeWorkflowV1WorkflowsWorkflowIdMergePost;
|
|
396
305
|
/**
|
|
397
306
|
* Get Workflow Versions
|
|
307
|
+
*
|
|
398
308
|
* Get the version history of a workflow.
|
|
399
309
|
*
|
|
400
310
|
* Returns a list of previous versions with their prompts and timestamps.
|
|
@@ -402,30 +312,22 @@ exports.mergeWorkflowV1WorkflowsWorkflowIdMergePost = mergeWorkflowV1WorkflowsWo
|
|
|
402
312
|
*/
|
|
403
313
|
const getWorkflowVersionsV1WorkflowsWorkflowIdVersionsGet = (options) => {
|
|
404
314
|
var _a;
|
|
405
|
-
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get(Object.assign({ security: [
|
|
406
|
-
{
|
|
407
|
-
scheme: 'bearer',
|
|
408
|
-
type: 'http'
|
|
409
|
-
}
|
|
410
|
-
], url: '/v1/workflows/{workflow_id}/versions' }, options));
|
|
315
|
+
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get(Object.assign({ security: [{ scheme: 'bearer', type: 'http' }], url: '/v1/workflows/{workflow_id}/versions' }, options));
|
|
411
316
|
};
|
|
412
317
|
exports.getWorkflowVersionsV1WorkflowsWorkflowIdVersionsGet = getWorkflowVersionsV1WorkflowsWorkflowIdVersionsGet;
|
|
413
318
|
/**
|
|
414
319
|
* Delete a workflow prompt image
|
|
320
|
+
*
|
|
415
321
|
* Delete a workflow prompt image from storage.
|
|
416
322
|
*/
|
|
417
323
|
const deleteWorkflowPromptImageV1WorkflowsPromptImageDelete = (options) => {
|
|
418
324
|
var _a;
|
|
419
|
-
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).delete(Object.assign({ security: [
|
|
420
|
-
{
|
|
421
|
-
scheme: 'bearer',
|
|
422
|
-
type: 'http'
|
|
423
|
-
}
|
|
424
|
-
], url: '/v1/workflows/prompt-image' }, options));
|
|
325
|
+
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).delete(Object.assign({ security: [{ scheme: 'bearer', type: 'http' }], url: '/v1/workflows/prompt-image' }, options));
|
|
425
326
|
};
|
|
426
327
|
exports.deleteWorkflowPromptImageV1WorkflowsPromptImageDelete = deleteWorkflowPromptImageV1WorkflowsPromptImageDelete;
|
|
427
328
|
/**
|
|
428
329
|
* Upload a workflow prompt image
|
|
330
|
+
*
|
|
429
331
|
* Upload an image to use in workflow prompts.
|
|
430
332
|
*
|
|
431
333
|
* The returned `supabase_url` can be embedded directly in workflow prompt HTML:
|
|
@@ -441,58 +343,42 @@ exports.deleteWorkflowPromptImageV1WorkflowsPromptImageDelete = deleteWorkflowPr
|
|
|
441
343
|
*/
|
|
442
344
|
const uploadWorkflowPromptImageV1WorkflowsPromptImagePost = (options) => {
|
|
443
345
|
var _a;
|
|
444
|
-
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post(Object.assign(Object.assign(Object.assign(Object.assign({},
|
|
445
|
-
{
|
|
446
|
-
scheme: 'bearer',
|
|
447
|
-
type: 'http'
|
|
448
|
-
}
|
|
449
|
-
], url: '/v1/workflows/prompt-image' }), options), { headers: Object.assign({ 'Content-Type': null }, options === null || options === void 0 ? void 0 : options.headers) }));
|
|
346
|
+
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post(Object.assign(Object.assign(Object.assign(Object.assign({}, client_1.formDataBodySerializer), { security: [{ scheme: 'bearer', type: 'http' }], url: '/v1/workflows/prompt-image' }), options), { headers: Object.assign({ 'Content-Type': null }, options.headers) }));
|
|
450
347
|
};
|
|
451
348
|
exports.uploadWorkflowPromptImageV1WorkflowsPromptImagePost = uploadWorkflowPromptImageV1WorkflowsPromptImagePost;
|
|
452
349
|
/**
|
|
453
350
|
* List workflow prompt images
|
|
351
|
+
*
|
|
454
352
|
* List all prompt images uploaded for the organization.
|
|
455
353
|
*/
|
|
456
354
|
const listWorkflowPromptImagesV1WorkflowsPromptImagesGet = (options) => {
|
|
457
355
|
var _a;
|
|
458
|
-
return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get(Object.assign({ security: [
|
|
459
|
-
{
|
|
460
|
-
scheme: 'bearer',
|
|
461
|
-
type: 'http'
|
|
462
|
-
}
|
|
463
|
-
], url: '/v1/workflows/prompt-images' }, options));
|
|
356
|
+
return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get(Object.assign({ security: [{ scheme: 'bearer', type: 'http' }], url: '/v1/workflows/prompt-images' }, options));
|
|
464
357
|
};
|
|
465
358
|
exports.listWorkflowPromptImagesV1WorkflowsPromptImagesGet = listWorkflowPromptImagesV1WorkflowsPromptImagesGet;
|
|
466
359
|
/**
|
|
467
360
|
* Get signed URL for a prompt image
|
|
361
|
+
*
|
|
468
362
|
* Get a fresh signed URL for an existing workflow prompt image.
|
|
469
363
|
*/
|
|
470
364
|
const getWorkflowPromptImageSignedUrlV1WorkflowsPromptImageSignedUrlGet = (options) => {
|
|
471
365
|
var _a;
|
|
472
|
-
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get(Object.assign({ security: [
|
|
473
|
-
{
|
|
474
|
-
scheme: 'bearer',
|
|
475
|
-
type: 'http'
|
|
476
|
-
}
|
|
477
|
-
], url: '/v1/workflows/prompt-image/signed-url' }, options));
|
|
366
|
+
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get(Object.assign({ security: [{ scheme: 'bearer', type: 'http' }], url: '/v1/workflows/prompt-image/signed-url' }, options));
|
|
478
367
|
};
|
|
479
368
|
exports.getWorkflowPromptImageSignedUrlV1WorkflowsPromptImageSignedUrlGet = getWorkflowPromptImageSignedUrlV1WorkflowsPromptImageSignedUrlGet;
|
|
480
369
|
/**
|
|
481
370
|
* Get tags for a workflow
|
|
371
|
+
*
|
|
482
372
|
* Get all tags assigned to a workflow.
|
|
483
373
|
*/
|
|
484
374
|
const getWorkflowTagsV1WorkflowsWorkflowIdTagsGet = (options) => {
|
|
485
375
|
var _a;
|
|
486
|
-
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get(Object.assign({ security: [
|
|
487
|
-
{
|
|
488
|
-
scheme: 'bearer',
|
|
489
|
-
type: 'http'
|
|
490
|
-
}
|
|
491
|
-
], url: '/v1/workflows/{workflow_id}/tags' }, options));
|
|
376
|
+
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get(Object.assign({ security: [{ scheme: 'bearer', type: 'http' }], url: '/v1/workflows/{workflow_id}/tags' }, options));
|
|
492
377
|
};
|
|
493
378
|
exports.getWorkflowTagsV1WorkflowsWorkflowIdTagsGet = getWorkflowTagsV1WorkflowsWorkflowIdTagsGet;
|
|
494
379
|
/**
|
|
495
380
|
* Add tags to a workflow
|
|
381
|
+
*
|
|
496
382
|
* Add one or more tags to a workflow.
|
|
497
383
|
*
|
|
498
384
|
* For tags that belong to a group (mutual exclusivity), adding a new tag from that group
|
|
@@ -500,30 +386,22 @@ exports.getWorkflowTagsV1WorkflowsWorkflowIdTagsGet = getWorkflowTagsV1Workflows
|
|
|
500
386
|
*/
|
|
501
387
|
const addTagsToWorkflowV1WorkflowsWorkflowIdTagsPost = (options) => {
|
|
502
388
|
var _a;
|
|
503
|
-
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post(Object.assign(Object.assign({ security: [
|
|
504
|
-
{
|
|
505
|
-
scheme: 'bearer',
|
|
506
|
-
type: 'http'
|
|
507
|
-
}
|
|
508
|
-
], url: '/v1/workflows/{workflow_id}/tags' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options === null || options === void 0 ? void 0 : options.headers) }));
|
|
389
|
+
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post(Object.assign(Object.assign({ security: [{ scheme: 'bearer', type: 'http' }], url: '/v1/workflows/{workflow_id}/tags' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options.headers) }));
|
|
509
390
|
};
|
|
510
391
|
exports.addTagsToWorkflowV1WorkflowsWorkflowIdTagsPost = addTagsToWorkflowV1WorkflowsWorkflowIdTagsPost;
|
|
511
392
|
/**
|
|
512
393
|
* Remove a tag from a workflow
|
|
394
|
+
*
|
|
513
395
|
* Remove a tag from a workflow.
|
|
514
396
|
*/
|
|
515
397
|
const removeTagFromWorkflowV1WorkflowsWorkflowIdTagsTagIdDelete = (options) => {
|
|
516
398
|
var _a;
|
|
517
|
-
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).delete(Object.assign({ security: [
|
|
518
|
-
{
|
|
519
|
-
scheme: 'bearer',
|
|
520
|
-
type: 'http'
|
|
521
|
-
}
|
|
522
|
-
], url: '/v1/workflows/{workflow_id}/tags/{tag_id}' }, options));
|
|
399
|
+
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).delete(Object.assign({ security: [{ scheme: 'bearer', type: 'http' }], url: '/v1/workflows/{workflow_id}/tags/{tag_id}' }, options));
|
|
523
400
|
};
|
|
524
401
|
exports.removeTagFromWorkflowV1WorkflowsWorkflowIdTagsTagIdDelete = removeTagFromWorkflowV1WorkflowsWorkflowIdTagsTagIdDelete;
|
|
525
402
|
/**
|
|
526
403
|
* List Tags
|
|
404
|
+
*
|
|
527
405
|
* List all workflow tags for the organization.
|
|
528
406
|
*
|
|
529
407
|
* Tags are returned ordered by their group (ungrouped first), then by order within group.
|
|
@@ -531,32 +409,24 @@ exports.removeTagFromWorkflowV1WorkflowsWorkflowIdTagsTagIdDelete = removeTagFro
|
|
|
531
409
|
*/
|
|
532
410
|
const listTagsV1WorkflowTagsGet = (options) => {
|
|
533
411
|
var _a;
|
|
534
|
-
return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get(Object.assign({ security: [
|
|
535
|
-
{
|
|
536
|
-
scheme: 'bearer',
|
|
537
|
-
type: 'http'
|
|
538
|
-
}
|
|
539
|
-
], url: '/v1/workflow-tags' }, options));
|
|
412
|
+
return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get(Object.assign({ security: [{ scheme: 'bearer', type: 'http' }], url: '/v1/workflow-tags' }, options));
|
|
540
413
|
};
|
|
541
414
|
exports.listTagsV1WorkflowTagsGet = listTagsV1WorkflowTagsGet;
|
|
542
415
|
/**
|
|
543
416
|
* Create Tag
|
|
417
|
+
*
|
|
544
418
|
* Create a new workflow tag.
|
|
545
419
|
*
|
|
546
420
|
* Tags can optionally belong to a group for mutual exclusivity.
|
|
547
421
|
*/
|
|
548
422
|
const createTagV1WorkflowTagsPost = (options) => {
|
|
549
423
|
var _a;
|
|
550
|
-
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post(Object.assign(Object.assign({ security: [
|
|
551
|
-
{
|
|
552
|
-
scheme: 'bearer',
|
|
553
|
-
type: 'http'
|
|
554
|
-
}
|
|
555
|
-
], url: '/v1/workflow-tags' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options === null || options === void 0 ? void 0 : options.headers) }));
|
|
424
|
+
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post(Object.assign(Object.assign({ security: [{ scheme: 'bearer', type: 'http' }], url: '/v1/workflow-tags' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options.headers) }));
|
|
556
425
|
};
|
|
557
426
|
exports.createTagV1WorkflowTagsPost = createTagV1WorkflowTagsPost;
|
|
558
427
|
/**
|
|
559
428
|
* Delete Tag
|
|
429
|
+
*
|
|
560
430
|
* Delete a workflow tag.
|
|
561
431
|
*
|
|
562
432
|
* This is a hard delete - the tag is permanently removed and will be unassigned
|
|
@@ -565,44 +435,32 @@ exports.createTagV1WorkflowTagsPost = createTagV1WorkflowTagsPost;
|
|
|
565
435
|
*/
|
|
566
436
|
const deleteTagV1WorkflowTagsTagIdDelete = (options) => {
|
|
567
437
|
var _a;
|
|
568
|
-
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).delete(Object.assign({ security: [
|
|
569
|
-
{
|
|
570
|
-
scheme: 'bearer',
|
|
571
|
-
type: 'http'
|
|
572
|
-
}
|
|
573
|
-
], url: '/v1/workflow-tags/{tag_id}' }, options));
|
|
438
|
+
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).delete(Object.assign({ security: [{ scheme: 'bearer', type: 'http' }], url: '/v1/workflow-tags/{tag_id}' }, options));
|
|
574
439
|
};
|
|
575
440
|
exports.deleteTagV1WorkflowTagsTagIdDelete = deleteTagV1WorkflowTagsTagIdDelete;
|
|
576
441
|
/**
|
|
577
442
|
* Get Tag
|
|
443
|
+
*
|
|
578
444
|
* Get a specific workflow tag by ID.
|
|
579
445
|
*/
|
|
580
446
|
const getTagV1WorkflowTagsTagIdGet = (options) => {
|
|
581
447
|
var _a;
|
|
582
|
-
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get(Object.assign({ security: [
|
|
583
|
-
{
|
|
584
|
-
scheme: 'bearer',
|
|
585
|
-
type: 'http'
|
|
586
|
-
}
|
|
587
|
-
], url: '/v1/workflow-tags/{tag_id}' }, options));
|
|
448
|
+
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get(Object.assign({ security: [{ scheme: 'bearer', type: 'http' }], url: '/v1/workflow-tags/{tag_id}' }, options));
|
|
588
449
|
};
|
|
589
450
|
exports.getTagV1WorkflowTagsTagIdGet = getTagV1WorkflowTagsTagIdGet;
|
|
590
451
|
/**
|
|
591
452
|
* Update Tag
|
|
453
|
+
*
|
|
592
454
|
* Update a workflow tag.
|
|
593
455
|
*/
|
|
594
456
|
const updateTagV1WorkflowTagsTagIdPatch = (options) => {
|
|
595
457
|
var _a;
|
|
596
|
-
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).patch(Object.assign(Object.assign({ security: [
|
|
597
|
-
{
|
|
598
|
-
scheme: 'bearer',
|
|
599
|
-
type: 'http'
|
|
600
|
-
}
|
|
601
|
-
], url: '/v1/workflow-tags/{tag_id}' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options === null || options === void 0 ? void 0 : options.headers) }));
|
|
458
|
+
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).patch(Object.assign(Object.assign({ security: [{ scheme: 'bearer', type: 'http' }], url: '/v1/workflow-tags/{tag_id}' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options.headers) }));
|
|
602
459
|
};
|
|
603
460
|
exports.updateTagV1WorkflowTagsTagIdPatch = updateTagV1WorkflowTagsTagIdPatch;
|
|
604
461
|
/**
|
|
605
462
|
* Archive Tag
|
|
463
|
+
*
|
|
606
464
|
* Archive a workflow tag.
|
|
607
465
|
*
|
|
608
466
|
* Archived tags cannot be assigned to new workflows but remain on existing workflows.
|
|
@@ -610,32 +468,24 @@ exports.updateTagV1WorkflowTagsTagIdPatch = updateTagV1WorkflowTagsTagIdPatch;
|
|
|
610
468
|
*/
|
|
611
469
|
const archiveTagV1WorkflowTagsTagIdArchivePost = (options) => {
|
|
612
470
|
var _a;
|
|
613
|
-
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post(Object.assign({ security: [
|
|
614
|
-
{
|
|
615
|
-
scheme: 'bearer',
|
|
616
|
-
type: 'http'
|
|
617
|
-
}
|
|
618
|
-
], url: '/v1/workflow-tags/{tag_id}/archive' }, options));
|
|
471
|
+
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post(Object.assign({ security: [{ scheme: 'bearer', type: 'http' }], url: '/v1/workflow-tags/{tag_id}/archive' }, options));
|
|
619
472
|
};
|
|
620
473
|
exports.archiveTagV1WorkflowTagsTagIdArchivePost = archiveTagV1WorkflowTagsTagIdArchivePost;
|
|
621
474
|
/**
|
|
622
475
|
* Unarchive Tag
|
|
476
|
+
*
|
|
623
477
|
* Unarchive a workflow tag.
|
|
624
478
|
*
|
|
625
479
|
* Restores an archived tag so it can be assigned to workflows again.
|
|
626
480
|
*/
|
|
627
481
|
const unarchiveTagV1WorkflowTagsTagIdUnarchivePost = (options) => {
|
|
628
482
|
var _a;
|
|
629
|
-
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post(Object.assign({ security: [
|
|
630
|
-
{
|
|
631
|
-
scheme: 'bearer',
|
|
632
|
-
type: 'http'
|
|
633
|
-
}
|
|
634
|
-
], url: '/v1/workflow-tags/{tag_id}/unarchive' }, options));
|
|
483
|
+
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post(Object.assign({ security: [{ scheme: 'bearer', type: 'http' }], url: '/v1/workflow-tags/{tag_id}/unarchive' }, options));
|
|
635
484
|
};
|
|
636
485
|
exports.unarchiveTagV1WorkflowTagsTagIdUnarchivePost = unarchiveTagV1WorkflowTagsTagIdUnarchivePost;
|
|
637
486
|
/**
|
|
638
487
|
* Reorder Tags
|
|
488
|
+
*
|
|
639
489
|
* Reorder workflow tags.
|
|
640
490
|
*
|
|
641
491
|
* Provide a list of tag IDs in the desired order. The order field of each
|
|
@@ -645,16 +495,12 @@ exports.unarchiveTagV1WorkflowTagsTagIdUnarchivePost = unarchiveTagV1WorkflowTag
|
|
|
645
495
|
*/
|
|
646
496
|
const reorderTagsV1WorkflowTagsReorderPut = (options) => {
|
|
647
497
|
var _a;
|
|
648
|
-
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).put(Object.assign(Object.assign({ security: [
|
|
649
|
-
{
|
|
650
|
-
scheme: 'bearer',
|
|
651
|
-
type: 'http'
|
|
652
|
-
}
|
|
653
|
-
], url: '/v1/workflow-tags/reorder' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options === null || options === void 0 ? void 0 : options.headers) }));
|
|
498
|
+
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).put(Object.assign(Object.assign({ security: [{ scheme: 'bearer', type: 'http' }], url: '/v1/workflow-tags/reorder' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options.headers) }));
|
|
654
499
|
};
|
|
655
500
|
exports.reorderTagsV1WorkflowTagsReorderPut = reorderTagsV1WorkflowTagsReorderPut;
|
|
656
501
|
/**
|
|
657
502
|
* List Tag Groups
|
|
503
|
+
*
|
|
658
504
|
* List all workflow tag groups for the organization.
|
|
659
505
|
*
|
|
660
506
|
* Groups are returned ordered by their `order` field for consistent display.
|
|
@@ -662,16 +508,12 @@ exports.reorderTagsV1WorkflowTagsReorderPut = reorderTagsV1WorkflowTagsReorderPu
|
|
|
662
508
|
*/
|
|
663
509
|
const listTagGroupsV1WorkflowTagGroupsGet = (options) => {
|
|
664
510
|
var _a;
|
|
665
|
-
return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get(Object.assign({ security: [
|
|
666
|
-
{
|
|
667
|
-
scheme: 'bearer',
|
|
668
|
-
type: 'http'
|
|
669
|
-
}
|
|
670
|
-
], url: '/v1/workflow-tag-groups' }, options));
|
|
511
|
+
return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get(Object.assign({ security: [{ scheme: 'bearer', type: 'http' }], url: '/v1/workflow-tag-groups' }, options));
|
|
671
512
|
};
|
|
672
513
|
exports.listTagGroupsV1WorkflowTagGroupsGet = listTagGroupsV1WorkflowTagGroupsGet;
|
|
673
514
|
/**
|
|
674
515
|
* Create Tag Group
|
|
516
|
+
*
|
|
675
517
|
* Create a new workflow tag group.
|
|
676
518
|
*
|
|
677
519
|
* Tag groups enable mutual exclusivity - when a workflow has a tag from a group,
|
|
@@ -679,16 +521,12 @@ exports.listTagGroupsV1WorkflowTagGroupsGet = listTagGroupsV1WorkflowTagGroupsGe
|
|
|
679
521
|
*/
|
|
680
522
|
const createTagGroupV1WorkflowTagGroupsPost = (options) => {
|
|
681
523
|
var _a;
|
|
682
|
-
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post(Object.assign(Object.assign({ security: [
|
|
683
|
-
{
|
|
684
|
-
scheme: 'bearer',
|
|
685
|
-
type: 'http'
|
|
686
|
-
}
|
|
687
|
-
], url: '/v1/workflow-tag-groups' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options === null || options === void 0 ? void 0 : options.headers) }));
|
|
524
|
+
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post(Object.assign(Object.assign({ security: [{ scheme: 'bearer', type: 'http' }], url: '/v1/workflow-tag-groups' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options.headers) }));
|
|
688
525
|
};
|
|
689
526
|
exports.createTagGroupV1WorkflowTagGroupsPost = createTagGroupV1WorkflowTagGroupsPost;
|
|
690
527
|
/**
|
|
691
528
|
* Delete Tag Group
|
|
529
|
+
*
|
|
692
530
|
* Delete a workflow tag group.
|
|
693
531
|
*
|
|
694
532
|
* Tags that belong to this group will become ungrouped (group_id set to null).
|
|
@@ -696,44 +534,32 @@ exports.createTagGroupV1WorkflowTagGroupsPost = createTagGroupV1WorkflowTagGroup
|
|
|
696
534
|
*/
|
|
697
535
|
const deleteTagGroupV1WorkflowTagGroupsGroupIdDelete = (options) => {
|
|
698
536
|
var _a;
|
|
699
|
-
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).delete(Object.assign({ security: [
|
|
700
|
-
{
|
|
701
|
-
scheme: 'bearer',
|
|
702
|
-
type: 'http'
|
|
703
|
-
}
|
|
704
|
-
], url: '/v1/workflow-tag-groups/{group_id}' }, options));
|
|
537
|
+
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).delete(Object.assign({ security: [{ scheme: 'bearer', type: 'http' }], url: '/v1/workflow-tag-groups/{group_id}' }, options));
|
|
705
538
|
};
|
|
706
539
|
exports.deleteTagGroupV1WorkflowTagGroupsGroupIdDelete = deleteTagGroupV1WorkflowTagGroupsGroupIdDelete;
|
|
707
540
|
/**
|
|
708
541
|
* Get Tag Group
|
|
542
|
+
*
|
|
709
543
|
* Get a specific workflow tag group by ID.
|
|
710
544
|
*/
|
|
711
545
|
const getTagGroupV1WorkflowTagGroupsGroupIdGet = (options) => {
|
|
712
546
|
var _a;
|
|
713
|
-
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get(Object.assign({ security: [
|
|
714
|
-
{
|
|
715
|
-
scheme: 'bearer',
|
|
716
|
-
type: 'http'
|
|
717
|
-
}
|
|
718
|
-
], url: '/v1/workflow-tag-groups/{group_id}' }, options));
|
|
547
|
+
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get(Object.assign({ security: [{ scheme: 'bearer', type: 'http' }], url: '/v1/workflow-tag-groups/{group_id}' }, options));
|
|
719
548
|
};
|
|
720
549
|
exports.getTagGroupV1WorkflowTagGroupsGroupIdGet = getTagGroupV1WorkflowTagGroupsGroupIdGet;
|
|
721
550
|
/**
|
|
722
551
|
* Update Tag Group
|
|
552
|
+
*
|
|
723
553
|
* Update a workflow tag group.
|
|
724
554
|
*/
|
|
725
555
|
const updateTagGroupV1WorkflowTagGroupsGroupIdPatch = (options) => {
|
|
726
556
|
var _a;
|
|
727
|
-
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).patch(Object.assign(Object.assign({ security: [
|
|
728
|
-
{
|
|
729
|
-
scheme: 'bearer',
|
|
730
|
-
type: 'http'
|
|
731
|
-
}
|
|
732
|
-
], url: '/v1/workflow-tag-groups/{group_id}' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options === null || options === void 0 ? void 0 : options.headers) }));
|
|
557
|
+
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).patch(Object.assign(Object.assign({ security: [{ scheme: 'bearer', type: 'http' }], url: '/v1/workflow-tag-groups/{group_id}' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options.headers) }));
|
|
733
558
|
};
|
|
734
559
|
exports.updateTagGroupV1WorkflowTagGroupsGroupIdPatch = updateTagGroupV1WorkflowTagGroupsGroupIdPatch;
|
|
735
560
|
/**
|
|
736
561
|
* Reorder Tag Groups
|
|
562
|
+
*
|
|
737
563
|
* Reorder workflow tag groups.
|
|
738
564
|
*
|
|
739
565
|
* Provide a list of group IDs in the desired order. The order field of each
|
|
@@ -741,12 +567,7 @@ exports.updateTagGroupV1WorkflowTagGroupsGroupIdPatch = updateTagGroupV1Workflow
|
|
|
741
567
|
*/
|
|
742
568
|
const reorderTagGroupsV1WorkflowTagGroupsReorderPut = (options) => {
|
|
743
569
|
var _a;
|
|
744
|
-
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).put(Object.assign(Object.assign({ security: [
|
|
745
|
-
{
|
|
746
|
-
scheme: 'bearer',
|
|
747
|
-
type: 'http'
|
|
748
|
-
}
|
|
749
|
-
], url: '/v1/workflow-tag-groups/reorder' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options === null || options === void 0 ? void 0 : options.headers) }));
|
|
570
|
+
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).put(Object.assign(Object.assign({ security: [{ scheme: 'bearer', type: 'http' }], url: '/v1/workflow-tag-groups/reorder' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options.headers) }));
|
|
750
571
|
};
|
|
751
572
|
exports.reorderTagGroupsV1WorkflowTagGroupsReorderPut = reorderTagGroupsV1WorkflowTagGroupsReorderPut;
|
|
752
573
|
/**
|
|
@@ -754,12 +575,7 @@ exports.reorderTagGroupsV1WorkflowTagGroupsReorderPut = reorderTagGroupsV1Workfl
|
|
|
754
575
|
*/
|
|
755
576
|
const listModelConfigurationsV1ModelConfigurationsGet = (options) => {
|
|
756
577
|
var _a;
|
|
757
|
-
return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get(Object.assign({ security: [
|
|
758
|
-
{
|
|
759
|
-
scheme: 'bearer',
|
|
760
|
-
type: 'http'
|
|
761
|
-
}
|
|
762
|
-
], url: '/v1/model-configurations' }, options));
|
|
578
|
+
return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get(Object.assign({ security: [{ scheme: 'bearer', type: 'http' }], url: '/v1/model-configurations' }, options));
|
|
763
579
|
};
|
|
764
580
|
exports.listModelConfigurationsV1ModelConfigurationsGet = listModelConfigurationsV1ModelConfigurationsGet;
|
|
765
581
|
/**
|
|
@@ -767,12 +583,7 @@ exports.listModelConfigurationsV1ModelConfigurationsGet = listModelConfiguration
|
|
|
767
583
|
*/
|
|
768
584
|
const createModelConfigurationV1ModelConfigurationsPost = (options) => {
|
|
769
585
|
var _a;
|
|
770
|
-
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post(Object.assign(Object.assign({ security: [
|
|
771
|
-
{
|
|
772
|
-
scheme: 'bearer',
|
|
773
|
-
type: 'http'
|
|
774
|
-
}
|
|
775
|
-
], url: '/v1/model-configurations' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options === null || options === void 0 ? void 0 : options.headers) }));
|
|
586
|
+
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post(Object.assign(Object.assign({ security: [{ scheme: 'bearer', type: 'http' }], url: '/v1/model-configurations' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options.headers) }));
|
|
776
587
|
};
|
|
777
588
|
exports.createModelConfigurationV1ModelConfigurationsPost = createModelConfigurationV1ModelConfigurationsPost;
|
|
778
589
|
/**
|
|
@@ -780,12 +591,7 @@ exports.createModelConfigurationV1ModelConfigurationsPost = createModelConfigura
|
|
|
780
591
|
*/
|
|
781
592
|
const deleteModelConfigurationV1ModelConfigurationsModelConfigurationIdDelete = (options) => {
|
|
782
593
|
var _a;
|
|
783
|
-
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).delete(Object.assign({ security: [
|
|
784
|
-
{
|
|
785
|
-
scheme: 'bearer',
|
|
786
|
-
type: 'http'
|
|
787
|
-
}
|
|
788
|
-
], url: '/v1/model-configurations/{model_configuration_id}' }, options));
|
|
594
|
+
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).delete(Object.assign({ security: [{ scheme: 'bearer', type: 'http' }], url: '/v1/model-configurations/{model_configuration_id}' }, options));
|
|
789
595
|
};
|
|
790
596
|
exports.deleteModelConfigurationV1ModelConfigurationsModelConfigurationIdDelete = deleteModelConfigurationV1ModelConfigurationsModelConfigurationIdDelete;
|
|
791
597
|
/**
|
|
@@ -793,12 +599,7 @@ exports.deleteModelConfigurationV1ModelConfigurationsModelConfigurationIdDelete
|
|
|
793
599
|
*/
|
|
794
600
|
const getModelConfigurationV1ModelConfigurationsModelConfigurationIdGet = (options) => {
|
|
795
601
|
var _a;
|
|
796
|
-
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get(Object.assign({ security: [
|
|
797
|
-
{
|
|
798
|
-
scheme: 'bearer',
|
|
799
|
-
type: 'http'
|
|
800
|
-
}
|
|
801
|
-
], url: '/v1/model-configurations/{model_configuration_id}' }, options));
|
|
602
|
+
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get(Object.assign({ security: [{ scheme: 'bearer', type: 'http' }], url: '/v1/model-configurations/{model_configuration_id}' }, options));
|
|
802
603
|
};
|
|
803
604
|
exports.getModelConfigurationV1ModelConfigurationsModelConfigurationIdGet = getModelConfigurationV1ModelConfigurationsModelConfigurationIdGet;
|
|
804
605
|
/**
|
|
@@ -806,16 +607,12 @@ exports.getModelConfigurationV1ModelConfigurationsModelConfigurationIdGet = getM
|
|
|
806
607
|
*/
|
|
807
608
|
const updateModelConfigurationV1ModelConfigurationsModelConfigurationIdPatch = (options) => {
|
|
808
609
|
var _a;
|
|
809
|
-
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).patch(Object.assign(Object.assign({ security: [
|
|
810
|
-
{
|
|
811
|
-
scheme: 'bearer',
|
|
812
|
-
type: 'http'
|
|
813
|
-
}
|
|
814
|
-
], url: '/v1/model-configurations/{model_configuration_id}' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options === null || options === void 0 ? void 0 : options.headers) }));
|
|
610
|
+
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).patch(Object.assign(Object.assign({ security: [{ scheme: 'bearer', type: 'http' }], url: '/v1/model-configurations/{model_configuration_id}' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options.headers) }));
|
|
815
611
|
};
|
|
816
612
|
exports.updateModelConfigurationV1ModelConfigurationsModelConfigurationIdPatch = updateModelConfigurationV1ModelConfigurationsModelConfigurationIdPatch;
|
|
817
613
|
/**
|
|
818
614
|
* List Runs
|
|
615
|
+
*
|
|
819
616
|
* List all runs for the authenticated organization.
|
|
820
617
|
*
|
|
821
618
|
* Supports pagination and filtering by workflow, machine, and status.
|
|
@@ -827,16 +624,12 @@ exports.updateModelConfigurationV1ModelConfigurationsModelConfigurationIdPatch =
|
|
|
827
624
|
*/
|
|
828
625
|
const listRunsV1RunsGet = (options) => {
|
|
829
626
|
var _a;
|
|
830
|
-
return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get(Object.assign({ security: [
|
|
831
|
-
{
|
|
832
|
-
scheme: 'bearer',
|
|
833
|
-
type: 'http'
|
|
834
|
-
}
|
|
835
|
-
], url: '/v1/runs' }, options));
|
|
627
|
+
return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get(Object.assign({ security: [{ scheme: 'bearer', type: 'http' }], url: '/v1/runs' }, options));
|
|
836
628
|
};
|
|
837
629
|
exports.listRunsV1RunsGet = listRunsV1RunsGet;
|
|
838
630
|
/**
|
|
839
631
|
* Create Run
|
|
632
|
+
*
|
|
840
633
|
* Create a new run.
|
|
841
634
|
*
|
|
842
635
|
* The workflow must exist and belong to the authenticated organization.
|
|
@@ -845,16 +638,12 @@ exports.listRunsV1RunsGet = listRunsV1RunsGet;
|
|
|
845
638
|
*/
|
|
846
639
|
const createRunV1RunsPost = (options) => {
|
|
847
640
|
var _a;
|
|
848
|
-
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post(Object.assign(Object.assign({ security: [
|
|
849
|
-
{
|
|
850
|
-
scheme: 'bearer',
|
|
851
|
-
type: 'http'
|
|
852
|
-
}
|
|
853
|
-
], url: '/v1/runs' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options === null || options === void 0 ? void 0 : options.headers) }));
|
|
641
|
+
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post(Object.assign(Object.assign({ security: [{ scheme: 'bearer', type: 'http' }], url: '/v1/runs' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options.headers) }));
|
|
854
642
|
};
|
|
855
643
|
exports.createRunV1RunsPost = createRunV1RunsPost;
|
|
856
644
|
/**
|
|
857
645
|
* Delete Run
|
|
646
|
+
*
|
|
858
647
|
* Delete a run.
|
|
859
648
|
*
|
|
860
649
|
* This will also delete all associated attachments and their files.
|
|
@@ -862,16 +651,12 @@ exports.createRunV1RunsPost = createRunV1RunsPost;
|
|
|
862
651
|
*/
|
|
863
652
|
const deleteRunV1RunsRunIdDelete = (options) => {
|
|
864
653
|
var _a;
|
|
865
|
-
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).delete(Object.assign({ security: [
|
|
866
|
-
{
|
|
867
|
-
scheme: 'bearer',
|
|
868
|
-
type: 'http'
|
|
869
|
-
}
|
|
870
|
-
], url: '/v1/runs/{run_id}' }, options));
|
|
654
|
+
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).delete(Object.assign({ security: [{ scheme: 'bearer', type: 'http' }], url: '/v1/runs/{run_id}' }, options));
|
|
871
655
|
};
|
|
872
656
|
exports.deleteRunV1RunsRunIdDelete = deleteRunV1RunsRunIdDelete;
|
|
873
657
|
/**
|
|
874
658
|
* Get Run
|
|
659
|
+
*
|
|
875
660
|
* Get a specific run by ID.
|
|
876
661
|
*
|
|
877
662
|
* The run must belong to the authenticated organization.
|
|
@@ -882,16 +667,12 @@ exports.deleteRunV1RunsRunIdDelete = deleteRunV1RunsRunIdDelete;
|
|
|
882
667
|
*/
|
|
883
668
|
const getRunV1RunsRunIdGet = (options) => {
|
|
884
669
|
var _a;
|
|
885
|
-
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get(Object.assign({ security: [
|
|
886
|
-
{
|
|
887
|
-
scheme: 'bearer',
|
|
888
|
-
type: 'http'
|
|
889
|
-
}
|
|
890
|
-
], url: '/v1/runs/{run_id}' }, options));
|
|
670
|
+
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get(Object.assign({ security: [{ scheme: 'bearer', type: 'http' }], url: '/v1/runs/{run_id}' }, options));
|
|
891
671
|
};
|
|
892
672
|
exports.getRunV1RunsRunIdGet = getRunV1RunsRunIdGet;
|
|
893
673
|
/**
|
|
894
674
|
* Update Run
|
|
675
|
+
*
|
|
895
676
|
* Update a run's data.
|
|
896
677
|
*
|
|
897
678
|
* Only the fields provided in the request body will be updated.
|
|
@@ -899,16 +680,12 @@ exports.getRunV1RunsRunIdGet = getRunV1RunsRunIdGet;
|
|
|
899
680
|
*/
|
|
900
681
|
const updateRunV1RunsRunIdPatch = (options) => {
|
|
901
682
|
var _a;
|
|
902
|
-
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).patch(Object.assign(Object.assign({ security: [
|
|
903
|
-
{
|
|
904
|
-
scheme: 'bearer',
|
|
905
|
-
type: 'http'
|
|
906
|
-
}
|
|
907
|
-
], url: '/v1/runs/{run_id}' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options === null || options === void 0 ? void 0 : options.headers) }));
|
|
683
|
+
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).patch(Object.assign(Object.assign({ security: [{ scheme: 'bearer', type: 'http' }], url: '/v1/runs/{run_id}' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options.headers) }));
|
|
908
684
|
};
|
|
909
685
|
exports.updateRunV1RunsRunIdPatch = updateRunV1RunsRunIdPatch;
|
|
910
686
|
/**
|
|
911
687
|
* Get Run Trajectory
|
|
688
|
+
*
|
|
912
689
|
* Get the latest trajectory associated with a run.
|
|
913
690
|
*
|
|
914
691
|
* Returns generated and non-generated trajectories so run details can expose
|
|
@@ -920,16 +697,12 @@ exports.updateRunV1RunsRunIdPatch = updateRunV1RunsRunIdPatch;
|
|
|
920
697
|
*/
|
|
921
698
|
const getRunTrajectoryV1RunsRunIdTrajectoryGet = (options) => {
|
|
922
699
|
var _a;
|
|
923
|
-
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get(Object.assign({ security: [
|
|
924
|
-
{
|
|
925
|
-
scheme: 'bearer',
|
|
926
|
-
type: 'http'
|
|
927
|
-
}
|
|
928
|
-
], url: '/v1/runs/{run_id}/trajectory' }, options));
|
|
700
|
+
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get(Object.assign({ security: [{ scheme: 'bearer', type: 'http' }], url: '/v1/runs/{run_id}/trajectory' }, options));
|
|
929
701
|
};
|
|
930
702
|
exports.getRunTrajectoryV1RunsRunIdTrajectoryGet = getRunTrajectoryV1RunsRunIdTrajectoryGet;
|
|
931
703
|
/**
|
|
932
704
|
* Generate Run Trajectory
|
|
705
|
+
*
|
|
933
706
|
* Mark the latest trajectory for a run as generated.
|
|
934
707
|
*
|
|
935
708
|
* This promotes whichever trajectory is currently latest by `updated_at`.
|
|
@@ -938,16 +711,12 @@ exports.getRunTrajectoryV1RunsRunIdTrajectoryGet = getRunTrajectoryV1RunsRunIdTr
|
|
|
938
711
|
*/
|
|
939
712
|
const generateRunTrajectoryV1RunsRunIdGenerateTrajectoryPost = (options) => {
|
|
940
713
|
var _a;
|
|
941
|
-
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post(Object.assign({ security: [
|
|
942
|
-
{
|
|
943
|
-
scheme: 'bearer',
|
|
944
|
-
type: 'http'
|
|
945
|
-
}
|
|
946
|
-
], url: '/v1/runs/{run_id}/generate-trajectory' }, options));
|
|
714
|
+
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post(Object.assign({ security: [{ scheme: 'bearer', type: 'http' }], url: '/v1/runs/{run_id}/generate-trajectory' }, options));
|
|
947
715
|
};
|
|
948
716
|
exports.generateRunTrajectoryV1RunsRunIdGenerateTrajectoryPost = generateRunTrajectoryV1RunsRunIdGenerateTrajectoryPost;
|
|
949
717
|
/**
|
|
950
718
|
* Create Run Chain
|
|
719
|
+
*
|
|
951
720
|
* Create a multi-step chain that runs on a single reserved session/machine.
|
|
952
721
|
*
|
|
953
722
|
* - Starts a new session unless session_id is provided (then runs on existing session).
|
|
@@ -959,16 +728,12 @@ exports.generateRunTrajectoryV1RunsRunIdGenerateTrajectoryPost = generateRunTraj
|
|
|
959
728
|
*/
|
|
960
729
|
const createRunChainV1RunsChainPost = (options) => {
|
|
961
730
|
var _a;
|
|
962
|
-
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post(Object.assign(Object.assign({ security: [
|
|
963
|
-
{
|
|
964
|
-
scheme: 'bearer',
|
|
965
|
-
type: 'http'
|
|
966
|
-
}
|
|
967
|
-
], url: '/v1/runs/chain' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options === null || options === void 0 ? void 0 : options.headers) }));
|
|
731
|
+
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post(Object.assign(Object.assign({ security: [{ scheme: 'bearer', type: 'http' }], url: '/v1/runs/chain' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options.headers) }));
|
|
968
732
|
};
|
|
969
733
|
exports.createRunChainV1RunsChainPost = createRunChainV1RunsChainPost;
|
|
970
734
|
/**
|
|
971
735
|
* Bulk Create Runs
|
|
736
|
+
*
|
|
972
737
|
* Create multiple runs with the same configuration.
|
|
973
738
|
*
|
|
974
739
|
* This endpoint creates multiple runs efficiently:
|
|
@@ -980,16 +745,12 @@ exports.createRunChainV1RunsChainPost = createRunChainV1RunsChainPost;
|
|
|
980
745
|
*/
|
|
981
746
|
const bulkCreateRunsV1RunsBulkPost = (options) => {
|
|
982
747
|
var _a;
|
|
983
|
-
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post(Object.assign(Object.assign({ security: [
|
|
984
|
-
{
|
|
985
|
-
scheme: 'bearer',
|
|
986
|
-
type: 'http'
|
|
987
|
-
}
|
|
988
|
-
], url: '/v1/runs/bulk' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options === null || options === void 0 ? void 0 : options.headers) }));
|
|
748
|
+
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post(Object.assign(Object.assign({ security: [{ scheme: 'bearer', type: 'http' }], url: '/v1/runs/bulk' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options.headers) }));
|
|
989
749
|
};
|
|
990
750
|
exports.bulkCreateRunsV1RunsBulkPost = bulkCreateRunsV1RunsBulkPost;
|
|
991
751
|
/**
|
|
992
752
|
* Retry Run
|
|
753
|
+
*
|
|
993
754
|
* Retry an existing run in-place (same run_id).
|
|
994
755
|
*
|
|
995
756
|
* - Rejects if run is active (scheduling or running).
|
|
@@ -1000,32 +761,24 @@ exports.bulkCreateRunsV1RunsBulkPost = bulkCreateRunsV1RunsBulkPost;
|
|
|
1000
761
|
*/
|
|
1001
762
|
const retryRunV1RunsRunIdRetryPost = (options) => {
|
|
1002
763
|
var _a;
|
|
1003
|
-
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post(Object.assign(Object.assign({ security: [
|
|
1004
|
-
{
|
|
1005
|
-
scheme: 'bearer',
|
|
1006
|
-
type: 'http'
|
|
1007
|
-
}
|
|
1008
|
-
], url: '/v1/runs/{run_id}/retry' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options === null || options === void 0 ? void 0 : options.headers) }));
|
|
764
|
+
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post(Object.assign(Object.assign({ security: [{ scheme: 'bearer', type: 'http' }], url: '/v1/runs/{run_id}/retry' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options.headers) }));
|
|
1009
765
|
};
|
|
1010
766
|
exports.retryRunV1RunsRunIdRetryPost = retryRunV1RunsRunIdRetryPost;
|
|
1011
767
|
/**
|
|
1012
768
|
* List Run Attachments
|
|
769
|
+
*
|
|
1013
770
|
* List all run attachments for the authenticated organization.
|
|
1014
771
|
*
|
|
1015
772
|
* Supports pagination and filtering by run ID and attachment type.
|
|
1016
773
|
*/
|
|
1017
774
|
const listRunAttachmentsV1RunAttachmentsGet = (options) => {
|
|
1018
775
|
var _a;
|
|
1019
|
-
return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get(Object.assign({ security: [
|
|
1020
|
-
{
|
|
1021
|
-
scheme: 'bearer',
|
|
1022
|
-
type: 'http'
|
|
1023
|
-
}
|
|
1024
|
-
], url: '/v1/run-attachments' }, options));
|
|
776
|
+
return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get(Object.assign({ security: [{ scheme: 'bearer', type: 'http' }], url: '/v1/run-attachments' }, options));
|
|
1025
777
|
};
|
|
1026
778
|
exports.listRunAttachmentsV1RunAttachmentsGet = listRunAttachmentsV1RunAttachmentsGet;
|
|
1027
779
|
/**
|
|
1028
780
|
* Create Run Attachment
|
|
781
|
+
*
|
|
1029
782
|
* Create a new run attachment.
|
|
1030
783
|
*
|
|
1031
784
|
* This endpoint is primarily for internal use. File uploads typically happen
|
|
@@ -1033,64 +786,48 @@ exports.listRunAttachmentsV1RunAttachmentsGet = listRunAttachmentsV1RunAttachmen
|
|
|
1033
786
|
*/
|
|
1034
787
|
const createRunAttachmentV1RunAttachmentsPost = (options) => {
|
|
1035
788
|
var _a;
|
|
1036
|
-
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post(Object.assign(Object.assign({ security: [
|
|
1037
|
-
{
|
|
1038
|
-
scheme: 'bearer',
|
|
1039
|
-
type: 'http'
|
|
1040
|
-
}
|
|
1041
|
-
], url: '/v1/run-attachments' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options === null || options === void 0 ? void 0 : options.headers) }));
|
|
789
|
+
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post(Object.assign(Object.assign({ security: [{ scheme: 'bearer', type: 'http' }], url: '/v1/run-attachments' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options.headers) }));
|
|
1042
790
|
};
|
|
1043
791
|
exports.createRunAttachmentV1RunAttachmentsPost = createRunAttachmentV1RunAttachmentsPost;
|
|
1044
792
|
/**
|
|
1045
793
|
* Delete Run Attachment
|
|
794
|
+
*
|
|
1046
795
|
* Delete a run attachment.
|
|
1047
796
|
*
|
|
1048
797
|
* This will remove both the database record and the file from Supabase storage.
|
|
1049
798
|
*/
|
|
1050
799
|
const deleteRunAttachmentV1RunAttachmentsAttachmentIdDelete = (options) => {
|
|
1051
800
|
var _a;
|
|
1052
|
-
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).delete(Object.assign({ security: [
|
|
1053
|
-
{
|
|
1054
|
-
scheme: 'bearer',
|
|
1055
|
-
type: 'http'
|
|
1056
|
-
}
|
|
1057
|
-
], url: '/v1/run-attachments/{attachment_id}' }, options));
|
|
801
|
+
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).delete(Object.assign({ security: [{ scheme: 'bearer', type: 'http' }], url: '/v1/run-attachments/{attachment_id}' }, options));
|
|
1058
802
|
};
|
|
1059
803
|
exports.deleteRunAttachmentV1RunAttachmentsAttachmentIdDelete = deleteRunAttachmentV1RunAttachmentsAttachmentIdDelete;
|
|
1060
804
|
/**
|
|
1061
805
|
* Get Run Attachment
|
|
806
|
+
*
|
|
1062
807
|
* Get a specific run attachment by ID.
|
|
1063
808
|
*
|
|
1064
809
|
* Returns attachment metadata only. Use the download endpoint to get file content.
|
|
1065
810
|
*/
|
|
1066
811
|
const getRunAttachmentV1RunAttachmentsAttachmentIdGet = (options) => {
|
|
1067
812
|
var _a;
|
|
1068
|
-
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get(Object.assign({ security: [
|
|
1069
|
-
{
|
|
1070
|
-
scheme: 'bearer',
|
|
1071
|
-
type: 'http'
|
|
1072
|
-
}
|
|
1073
|
-
], url: '/v1/run-attachments/{attachment_id}' }, options));
|
|
813
|
+
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get(Object.assign({ security: [{ scheme: 'bearer', type: 'http' }], url: '/v1/run-attachments/{attachment_id}' }, options));
|
|
1074
814
|
};
|
|
1075
815
|
exports.getRunAttachmentV1RunAttachmentsAttachmentIdGet = getRunAttachmentV1RunAttachmentsAttachmentIdGet;
|
|
1076
816
|
/**
|
|
1077
817
|
* Update Run Attachment
|
|
818
|
+
*
|
|
1078
819
|
* Update a run attachment.
|
|
1079
820
|
*
|
|
1080
821
|
* Currently only supports updating the expiration date.
|
|
1081
822
|
*/
|
|
1082
823
|
const updateRunAttachmentV1RunAttachmentsAttachmentIdPut = (options) => {
|
|
1083
824
|
var _a;
|
|
1084
|
-
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).put(Object.assign(Object.assign({ security: [
|
|
1085
|
-
{
|
|
1086
|
-
scheme: 'bearer',
|
|
1087
|
-
type: 'http'
|
|
1088
|
-
}
|
|
1089
|
-
], url: '/v1/run-attachments/{attachment_id}' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options === null || options === void 0 ? void 0 : options.headers) }));
|
|
825
|
+
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).put(Object.assign(Object.assign({ security: [{ scheme: 'bearer', type: 'http' }], url: '/v1/run-attachments/{attachment_id}' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options.headers) }));
|
|
1090
826
|
};
|
|
1091
827
|
exports.updateRunAttachmentV1RunAttachmentsAttachmentIdPut = updateRunAttachmentV1RunAttachmentsAttachmentIdPut;
|
|
1092
828
|
/**
|
|
1093
829
|
* Get Run Attachment Download Url
|
|
830
|
+
*
|
|
1094
831
|
* Get a signed download URL for a run attachment file.
|
|
1095
832
|
*
|
|
1096
833
|
* Returns a signed URL that triggers automatic download when accessed.
|
|
@@ -1101,32 +838,24 @@ exports.updateRunAttachmentV1RunAttachmentsAttachmentIdPut = updateRunAttachment
|
|
|
1101
838
|
*/
|
|
1102
839
|
const getRunAttachmentDownloadUrlV1RunAttachmentsAttachmentIdDownloadUrlGet = (options) => {
|
|
1103
840
|
var _a;
|
|
1104
|
-
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get(Object.assign({ security: [
|
|
1105
|
-
{
|
|
1106
|
-
scheme: 'bearer',
|
|
1107
|
-
type: 'http'
|
|
1108
|
-
}
|
|
1109
|
-
], url: '/v1/run-attachments/{attachment_id}/download-url' }, options));
|
|
841
|
+
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get(Object.assign({ security: [{ scheme: 'bearer', type: 'http' }], url: '/v1/run-attachments/{attachment_id}/download-url' }, options));
|
|
1110
842
|
};
|
|
1111
843
|
exports.getRunAttachmentDownloadUrlV1RunAttachmentsAttachmentIdDownloadUrlGet = getRunAttachmentDownloadUrlV1RunAttachmentsAttachmentIdDownloadUrlGet;
|
|
1112
844
|
/**
|
|
1113
845
|
* Download Run Attachment
|
|
846
|
+
*
|
|
1114
847
|
* Download a run attachment file.
|
|
1115
848
|
*
|
|
1116
849
|
* Returns the raw file content as a streaming response.
|
|
1117
850
|
*/
|
|
1118
851
|
const downloadRunAttachmentV1RunAttachmentsAttachmentIdDownloadGet = (options) => {
|
|
1119
852
|
var _a;
|
|
1120
|
-
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get(Object.assign({ security: [
|
|
1121
|
-
{
|
|
1122
|
-
scheme: 'bearer',
|
|
1123
|
-
type: 'http'
|
|
1124
|
-
}
|
|
1125
|
-
], url: '/v1/run-attachments/{attachment_id}/download' }, options));
|
|
853
|
+
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get(Object.assign({ security: [{ scheme: 'bearer', type: 'http' }], url: '/v1/run-attachments/{attachment_id}/download' }, options));
|
|
1126
854
|
};
|
|
1127
855
|
exports.downloadRunAttachmentV1RunAttachmentsAttachmentIdDownloadGet = downloadRunAttachmentV1RunAttachmentsAttachmentIdDownloadGet;
|
|
1128
856
|
/**
|
|
1129
857
|
* List Connections
|
|
858
|
+
*
|
|
1130
859
|
* List all connections for the authenticated organization's machines.
|
|
1131
860
|
*
|
|
1132
861
|
* Supports pagination and filtering by machine and status.
|
|
@@ -1134,64 +863,48 @@ exports.downloadRunAttachmentV1RunAttachmentsAttachmentIdDownloadGet = downloadR
|
|
|
1134
863
|
*/
|
|
1135
864
|
const listConnectionsV1ConnectionsGet = (options) => {
|
|
1136
865
|
var _a;
|
|
1137
|
-
return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get(Object.assign({ security: [
|
|
1138
|
-
{
|
|
1139
|
-
scheme: 'bearer',
|
|
1140
|
-
type: 'http'
|
|
1141
|
-
}
|
|
1142
|
-
], url: '/v1/connections' }, options));
|
|
866
|
+
return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get(Object.assign({ security: [{ scheme: 'bearer', type: 'http' }], url: '/v1/connections' }, options));
|
|
1143
867
|
};
|
|
1144
868
|
exports.listConnectionsV1ConnectionsGet = listConnectionsV1ConnectionsGet;
|
|
1145
869
|
/**
|
|
1146
870
|
* Create Connection
|
|
871
|
+
*
|
|
1147
872
|
* Create a new connection (typically done by the WebSocket handler).
|
|
1148
873
|
*
|
|
1149
874
|
* The machine must exist and belong to the authenticated organization.
|
|
1150
875
|
*/
|
|
1151
876
|
const createConnectionV1ConnectionsPost = (options) => {
|
|
1152
877
|
var _a;
|
|
1153
|
-
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post(Object.assign(Object.assign({ security: [
|
|
1154
|
-
{
|
|
1155
|
-
scheme: 'bearer',
|
|
1156
|
-
type: 'http'
|
|
1157
|
-
}
|
|
1158
|
-
], url: '/v1/connections' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options === null || options === void 0 ? void 0 : options.headers) }));
|
|
878
|
+
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post(Object.assign(Object.assign({ security: [{ scheme: 'bearer', type: 'http' }], url: '/v1/connections' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options.headers) }));
|
|
1159
879
|
};
|
|
1160
880
|
exports.createConnectionV1ConnectionsPost = createConnectionV1ConnectionsPost;
|
|
1161
881
|
/**
|
|
1162
882
|
* Delete Connection
|
|
883
|
+
*
|
|
1163
884
|
* Delete a connection (not typically used - connections are managed automatically).
|
|
1164
885
|
*
|
|
1165
886
|
* The connection must belong to a machine owned by the authenticated organization.
|
|
1166
887
|
*/
|
|
1167
888
|
const deleteConnectionV1ConnectionsConnectionIdDelete = (options) => {
|
|
1168
889
|
var _a;
|
|
1169
|
-
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).delete(Object.assign({ security: [
|
|
1170
|
-
{
|
|
1171
|
-
scheme: 'bearer',
|
|
1172
|
-
type: 'http'
|
|
1173
|
-
}
|
|
1174
|
-
], url: '/v1/connections/{connection_id}' }, options));
|
|
890
|
+
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).delete(Object.assign({ security: [{ scheme: 'bearer', type: 'http' }], url: '/v1/connections/{connection_id}' }, options));
|
|
1175
891
|
};
|
|
1176
892
|
exports.deleteConnectionV1ConnectionsConnectionIdDelete = deleteConnectionV1ConnectionsConnectionIdDelete;
|
|
1177
893
|
/**
|
|
1178
894
|
* Get Connection
|
|
895
|
+
*
|
|
1179
896
|
* Get a specific connection by ID.
|
|
1180
897
|
*
|
|
1181
898
|
* The connection must belong to a machine owned by the authenticated organization.
|
|
1182
899
|
*/
|
|
1183
900
|
const getConnectionV1ConnectionsConnectionIdGet = (options) => {
|
|
1184
901
|
var _a;
|
|
1185
|
-
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get(Object.assign({ security: [
|
|
1186
|
-
{
|
|
1187
|
-
scheme: 'bearer',
|
|
1188
|
-
type: 'http'
|
|
1189
|
-
}
|
|
1190
|
-
], url: '/v1/connections/{connection_id}' }, options));
|
|
902
|
+
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get(Object.assign({ security: [{ scheme: 'bearer', type: 'http' }], url: '/v1/connections/{connection_id}' }, options));
|
|
1191
903
|
};
|
|
1192
904
|
exports.getConnectionV1ConnectionsConnectionIdGet = getConnectionV1ConnectionsConnectionIdGet;
|
|
1193
905
|
/**
|
|
1194
906
|
* Update Connection
|
|
907
|
+
*
|
|
1195
908
|
* Update a connection's status or timestamps.
|
|
1196
909
|
*
|
|
1197
910
|
* Only the fields provided in the request body will be updated.
|
|
@@ -1199,32 +912,24 @@ exports.getConnectionV1ConnectionsConnectionIdGet = getConnectionV1ConnectionsCo
|
|
|
1199
912
|
*/
|
|
1200
913
|
const updateConnectionV1ConnectionsConnectionIdPatch = (options) => {
|
|
1201
914
|
var _a;
|
|
1202
|
-
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).patch(Object.assign(Object.assign({ security: [
|
|
1203
|
-
{
|
|
1204
|
-
scheme: 'bearer',
|
|
1205
|
-
type: 'http'
|
|
1206
|
-
}
|
|
1207
|
-
], url: '/v1/connections/{connection_id}' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options === null || options === void 0 ? void 0 : options.headers) }));
|
|
915
|
+
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).patch(Object.assign(Object.assign({ security: [{ scheme: 'bearer', type: 'http' }], url: '/v1/connections/{connection_id}' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options.headers) }));
|
|
1208
916
|
};
|
|
1209
917
|
exports.updateConnectionV1ConnectionsConnectionIdPatch = updateConnectionV1ConnectionsConnectionIdPatch;
|
|
1210
918
|
/**
|
|
1211
919
|
* List Request Logs
|
|
920
|
+
*
|
|
1212
921
|
* List all request logs for the authenticated organization's machines.
|
|
1213
922
|
*
|
|
1214
923
|
* Supports pagination and filtering by machine, HTTP method, and status code.
|
|
1215
924
|
*/
|
|
1216
925
|
const listRequestLogsV1RequestLogsGet = (options) => {
|
|
1217
926
|
var _a;
|
|
1218
|
-
return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get(Object.assign({ security: [
|
|
1219
|
-
{
|
|
1220
|
-
scheme: 'bearer',
|
|
1221
|
-
type: 'http'
|
|
1222
|
-
}
|
|
1223
|
-
], url: '/v1/request-logs' }, options));
|
|
927
|
+
return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get(Object.assign({ security: [{ scheme: 'bearer', type: 'http' }], url: '/v1/request-logs' }, options));
|
|
1224
928
|
};
|
|
1225
929
|
exports.listRequestLogsV1RequestLogsGet = listRequestLogsV1RequestLogsGet;
|
|
1226
930
|
/**
|
|
1227
931
|
* Create Request Log
|
|
932
|
+
*
|
|
1228
933
|
* Create a new request log.
|
|
1229
934
|
*
|
|
1230
935
|
* The machine must exist and belong to the authenticated organization.
|
|
@@ -1232,48 +937,36 @@ exports.listRequestLogsV1RequestLogsGet = listRequestLogsV1RequestLogsGet;
|
|
|
1232
937
|
*/
|
|
1233
938
|
const createRequestLogV1RequestLogsPost = (options) => {
|
|
1234
939
|
var _a;
|
|
1235
|
-
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post(Object.assign(Object.assign({ security: [
|
|
1236
|
-
{
|
|
1237
|
-
scheme: 'bearer',
|
|
1238
|
-
type: 'http'
|
|
1239
|
-
}
|
|
1240
|
-
], url: '/v1/request-logs' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options === null || options === void 0 ? void 0 : options.headers) }));
|
|
940
|
+
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post(Object.assign(Object.assign({ security: [{ scheme: 'bearer', type: 'http' }], url: '/v1/request-logs' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options.headers) }));
|
|
1241
941
|
};
|
|
1242
942
|
exports.createRequestLogV1RequestLogsPost = createRequestLogV1RequestLogsPost;
|
|
1243
943
|
/**
|
|
1244
944
|
* Delete Request Log
|
|
945
|
+
*
|
|
1245
946
|
* Delete a request log (not typically used - logs are kept for analytics).
|
|
1246
947
|
*
|
|
1247
948
|
* The log must belong to a machine owned by the authenticated organization.
|
|
1248
949
|
*/
|
|
1249
950
|
const deleteRequestLogV1RequestLogsLogIdDelete = (options) => {
|
|
1250
951
|
var _a;
|
|
1251
|
-
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).delete(Object.assign({ security: [
|
|
1252
|
-
{
|
|
1253
|
-
scheme: 'bearer',
|
|
1254
|
-
type: 'http'
|
|
1255
|
-
}
|
|
1256
|
-
], url: '/v1/request-logs/{log_id}' }, options));
|
|
952
|
+
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).delete(Object.assign({ security: [{ scheme: 'bearer', type: 'http' }], url: '/v1/request-logs/{log_id}' }, options));
|
|
1257
953
|
};
|
|
1258
954
|
exports.deleteRequestLogV1RequestLogsLogIdDelete = deleteRequestLogV1RequestLogsLogIdDelete;
|
|
1259
955
|
/**
|
|
1260
956
|
* Get Request Log
|
|
957
|
+
*
|
|
1261
958
|
* Get a specific request log by ID.
|
|
1262
959
|
*
|
|
1263
960
|
* The log must belong to a machine owned by the authenticated organization.
|
|
1264
961
|
*/
|
|
1265
962
|
const getRequestLogV1RequestLogsLogIdGet = (options) => {
|
|
1266
963
|
var _a;
|
|
1267
|
-
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get(Object.assign({ security: [
|
|
1268
|
-
{
|
|
1269
|
-
scheme: 'bearer',
|
|
1270
|
-
type: 'http'
|
|
1271
|
-
}
|
|
1272
|
-
], url: '/v1/request-logs/{log_id}' }, options));
|
|
964
|
+
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get(Object.assign({ security: [{ scheme: 'bearer', type: 'http' }], url: '/v1/request-logs/{log_id}' }, options));
|
|
1273
965
|
};
|
|
1274
966
|
exports.getRequestLogV1RequestLogsLogIdGet = getRequestLogV1RequestLogsLogIdGet;
|
|
1275
967
|
/**
|
|
1276
968
|
* Update Request Log
|
|
969
|
+
*
|
|
1277
970
|
* Update a request log with response data.
|
|
1278
971
|
*
|
|
1279
972
|
* This is typically called when a request completes to add the response details.
|
|
@@ -1282,16 +975,12 @@ exports.getRequestLogV1RequestLogsLogIdGet = getRequestLogV1RequestLogsLogIdGet;
|
|
|
1282
975
|
*/
|
|
1283
976
|
const updateRequestLogV1RequestLogsLogIdPatch = (options) => {
|
|
1284
977
|
var _a;
|
|
1285
|
-
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).patch(Object.assign(Object.assign({ security: [
|
|
1286
|
-
{
|
|
1287
|
-
scheme: 'bearer',
|
|
1288
|
-
type: 'http'
|
|
1289
|
-
}
|
|
1290
|
-
], url: '/v1/request-logs/{log_id}' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options === null || options === void 0 ? void 0 : options.headers) }));
|
|
978
|
+
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).patch(Object.assign(Object.assign({ security: [{ scheme: 'bearer', type: 'http' }], url: '/v1/request-logs/{log_id}' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options.headers) }));
|
|
1291
979
|
};
|
|
1292
980
|
exports.updateRequestLogV1RequestLogsLogIdPatch = updateRequestLogV1RequestLogsLogIdPatch;
|
|
1293
981
|
/**
|
|
1294
982
|
* List Trajectories
|
|
983
|
+
*
|
|
1295
984
|
* List all trajectories for the authenticated organization.
|
|
1296
985
|
*
|
|
1297
986
|
* Supports pagination and filtering by workflow, run, approval, and generated status.
|
|
@@ -1303,16 +992,12 @@ exports.updateRequestLogV1RequestLogsLogIdPatch = updateRequestLogV1RequestLogsL
|
|
|
1303
992
|
*/
|
|
1304
993
|
const listTrajectoriesV1TrajectoriesGet = (options) => {
|
|
1305
994
|
var _a;
|
|
1306
|
-
return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get(Object.assign({ security: [
|
|
1307
|
-
{
|
|
1308
|
-
scheme: 'bearer',
|
|
1309
|
-
type: 'http'
|
|
1310
|
-
}
|
|
1311
|
-
], url: '/v1/trajectories' }, options));
|
|
995
|
+
return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get(Object.assign({ security: [{ scheme: 'bearer', type: 'http' }], url: '/v1/trajectories' }, options));
|
|
1312
996
|
};
|
|
1313
997
|
exports.listTrajectoriesV1TrajectoriesGet = listTrajectoriesV1TrajectoriesGet;
|
|
1314
998
|
/**
|
|
1315
999
|
* Create Trajectory
|
|
1000
|
+
*
|
|
1316
1001
|
* Create a new trajectory for a workflow.
|
|
1317
1002
|
*
|
|
1318
1003
|
* The workflow must exist and belong to the authenticated organization.
|
|
@@ -1320,32 +1005,24 @@ exports.listTrajectoriesV1TrajectoriesGet = listTrajectoriesV1TrajectoriesGet;
|
|
|
1320
1005
|
*/
|
|
1321
1006
|
const createTrajectoryV1TrajectoriesPost = (options) => {
|
|
1322
1007
|
var _a;
|
|
1323
|
-
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post(Object.assign(Object.assign({ security: [
|
|
1324
|
-
{
|
|
1325
|
-
scheme: 'bearer',
|
|
1326
|
-
type: 'http'
|
|
1327
|
-
}
|
|
1328
|
-
], url: '/v1/trajectories' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options === null || options === void 0 ? void 0 : options.headers) }));
|
|
1008
|
+
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post(Object.assign(Object.assign({ security: [{ scheme: 'bearer', type: 'http' }], url: '/v1/trajectories' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options.headers) }));
|
|
1329
1009
|
};
|
|
1330
1010
|
exports.createTrajectoryV1TrajectoriesPost = createTrajectoryV1TrajectoriesPost;
|
|
1331
1011
|
/**
|
|
1332
1012
|
* Delete Trajectory
|
|
1013
|
+
*
|
|
1333
1014
|
* Delete a trajectory.
|
|
1334
1015
|
*
|
|
1335
1016
|
* The trajectory must belong to the authenticated organization.
|
|
1336
1017
|
*/
|
|
1337
1018
|
const deleteTrajectoryV1TrajectoriesTrajectoryIdDelete = (options) => {
|
|
1338
1019
|
var _a;
|
|
1339
|
-
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).delete(Object.assign({ security: [
|
|
1340
|
-
{
|
|
1341
|
-
scheme: 'bearer',
|
|
1342
|
-
type: 'http'
|
|
1343
|
-
}
|
|
1344
|
-
], url: '/v1/trajectories/{trajectory_id}' }, options));
|
|
1020
|
+
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).delete(Object.assign({ security: [{ scheme: 'bearer', type: 'http' }], url: '/v1/trajectories/{trajectory_id}' }, options));
|
|
1345
1021
|
};
|
|
1346
1022
|
exports.deleteTrajectoryV1TrajectoriesTrajectoryIdDelete = deleteTrajectoryV1TrajectoriesTrajectoryIdDelete;
|
|
1347
1023
|
/**
|
|
1348
1024
|
* Get Trajectory
|
|
1025
|
+
*
|
|
1349
1026
|
* Get a specific trajectory by ID.
|
|
1350
1027
|
*
|
|
1351
1028
|
* The trajectory must belong to the authenticated organization.
|
|
@@ -1357,16 +1034,12 @@ exports.deleteTrajectoryV1TrajectoriesTrajectoryIdDelete = deleteTrajectoryV1Tra
|
|
|
1357
1034
|
*/
|
|
1358
1035
|
const getTrajectoryV1TrajectoriesTrajectoryIdGet = (options) => {
|
|
1359
1036
|
var _a;
|
|
1360
|
-
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get(Object.assign({ security: [
|
|
1361
|
-
{
|
|
1362
|
-
scheme: 'bearer',
|
|
1363
|
-
type: 'http'
|
|
1364
|
-
}
|
|
1365
|
-
], url: '/v1/trajectories/{trajectory_id}' }, options));
|
|
1037
|
+
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get(Object.assign({ security: [{ scheme: 'bearer', type: 'http' }], url: '/v1/trajectories/{trajectory_id}' }, options));
|
|
1366
1038
|
};
|
|
1367
1039
|
exports.getTrajectoryV1TrajectoriesTrajectoryIdGet = getTrajectoryV1TrajectoriesTrajectoryIdGet;
|
|
1368
1040
|
/**
|
|
1369
1041
|
* Update Trajectory
|
|
1042
|
+
*
|
|
1370
1043
|
* Update a trajectory's data.
|
|
1371
1044
|
*
|
|
1372
1045
|
* Only the fields provided in the request body will be updated.
|
|
@@ -1374,16 +1047,12 @@ exports.getTrajectoryV1TrajectoriesTrajectoryIdGet = getTrajectoryV1Trajectories
|
|
|
1374
1047
|
*/
|
|
1375
1048
|
const updateTrajectoryV1TrajectoriesTrajectoryIdPatch = (options) => {
|
|
1376
1049
|
var _a;
|
|
1377
|
-
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).patch(Object.assign(Object.assign({ security: [
|
|
1378
|
-
{
|
|
1379
|
-
scheme: 'bearer',
|
|
1380
|
-
type: 'http'
|
|
1381
|
-
}
|
|
1382
|
-
], url: '/v1/trajectories/{trajectory_id}' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options === null || options === void 0 ? void 0 : options.headers) }));
|
|
1050
|
+
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).patch(Object.assign(Object.assign({ security: [{ scheme: 'bearer', type: 'http' }], url: '/v1/trajectories/{trajectory_id}' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options.headers) }));
|
|
1383
1051
|
};
|
|
1384
1052
|
exports.updateTrajectoryV1TrajectoriesTrajectoryIdPatch = updateTrajectoryV1TrajectoriesTrajectoryIdPatch;
|
|
1385
1053
|
/**
|
|
1386
1054
|
* Duplicate Trajectory
|
|
1055
|
+
*
|
|
1387
1056
|
* Duplicate a trajectory with fresh copies of all images.
|
|
1388
1057
|
*
|
|
1389
1058
|
* Creates a new trajectory with the same data as the source, but with
|
|
@@ -1392,16 +1061,12 @@ exports.updateTrajectoryV1TrajectoriesTrajectoryIdPatch = updateTrajectoryV1Traj
|
|
|
1392
1061
|
*/
|
|
1393
1062
|
const duplicateTrajectoryV1TrajectoriesTrajectoryIdDuplicatePost = (options) => {
|
|
1394
1063
|
var _a;
|
|
1395
|
-
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post(Object.assign({ security: [
|
|
1396
|
-
{
|
|
1397
|
-
scheme: 'bearer',
|
|
1398
|
-
type: 'http'
|
|
1399
|
-
}
|
|
1400
|
-
], url: '/v1/trajectories/{trajectory_id}/duplicate' }, options));
|
|
1064
|
+
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post(Object.assign({ security: [{ scheme: 'bearer', type: 'http' }], url: '/v1/trajectories/{trajectory_id}/duplicate' }, options));
|
|
1401
1065
|
};
|
|
1402
1066
|
exports.duplicateTrajectoryV1TrajectoriesTrajectoryIdDuplicatePost = duplicateTrajectoryV1TrajectoriesTrajectoryIdDuplicatePost;
|
|
1403
1067
|
/**
|
|
1404
1068
|
* Get Latest Trajectory For Workflow
|
|
1069
|
+
*
|
|
1405
1070
|
* Get the latest trajectory for a specific workflow.
|
|
1406
1071
|
*
|
|
1407
1072
|
* Returns the most recently updated trajectory for the workflow.
|
|
@@ -1409,268 +1074,174 @@ exports.duplicateTrajectoryV1TrajectoriesTrajectoryIdDuplicatePost = duplicateTr
|
|
|
1409
1074
|
*/
|
|
1410
1075
|
const getLatestTrajectoryForWorkflowV1WorkflowsWorkflowIdLatestTrajectoryGet = (options) => {
|
|
1411
1076
|
var _a;
|
|
1412
|
-
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get(Object.assign({ security: [
|
|
1413
|
-
{
|
|
1414
|
-
scheme: 'bearer',
|
|
1415
|
-
type: 'http'
|
|
1416
|
-
}
|
|
1417
|
-
], url: '/v1/workflows/{workflow_id}/latest-trajectory' }, options));
|
|
1077
|
+
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get(Object.assign({ security: [{ scheme: 'bearer', type: 'http' }], url: '/v1/workflows/{workflow_id}/latest-trajectory' }, options));
|
|
1418
1078
|
};
|
|
1419
1079
|
exports.getLatestTrajectoryForWorkflowV1WorkflowsWorkflowIdLatestTrajectoryGet = getLatestTrajectoryForWorkflowV1WorkflowsWorkflowIdLatestTrajectoryGet;
|
|
1420
1080
|
/**
|
|
1421
1081
|
* Take a screenshot
|
|
1082
|
+
*
|
|
1422
1083
|
* Take a screenshot of the machine's display.
|
|
1423
1084
|
*/
|
|
1424
1085
|
const getScreenshotV1ComputerMachineIdDisplayScreenshotGet = (options) => {
|
|
1425
1086
|
var _a;
|
|
1426
|
-
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get(Object.assign({ security: [
|
|
1427
|
-
{
|
|
1428
|
-
scheme: 'bearer',
|
|
1429
|
-
type: 'http'
|
|
1430
|
-
}
|
|
1431
|
-
], url: '/v1/computer/{machine_id}/display/screenshot' }, options));
|
|
1087
|
+
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get(Object.assign({ security: [{ scheme: 'bearer', type: 'http' }], url: '/v1/computer/{machine_id}/display/screenshot' }, options));
|
|
1432
1088
|
};
|
|
1433
1089
|
exports.getScreenshotV1ComputerMachineIdDisplayScreenshotGet = getScreenshotV1ComputerMachineIdDisplayScreenshotGet;
|
|
1434
1090
|
/**
|
|
1435
1091
|
* Get display dimensions
|
|
1092
|
+
*
|
|
1436
1093
|
* Get the display dimensions of the machine.
|
|
1437
1094
|
*/
|
|
1438
1095
|
const getDisplayDimensionsV1ComputerMachineIdDisplayDimensionsGet = (options) => {
|
|
1439
1096
|
var _a;
|
|
1440
|
-
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get(Object.assign({ security: [
|
|
1441
|
-
{
|
|
1442
|
-
scheme: 'bearer',
|
|
1443
|
-
type: 'http'
|
|
1444
|
-
}
|
|
1445
|
-
], url: '/v1/computer/{machine_id}/display/dimensions' }, options));
|
|
1097
|
+
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get(Object.assign({ security: [{ scheme: 'bearer', type: 'http' }], url: '/v1/computer/{machine_id}/display/dimensions' }, options));
|
|
1446
1098
|
};
|
|
1447
1099
|
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;
|
|
1474
1100
|
/**
|
|
1475
1101
|
* Type text
|
|
1102
|
+
*
|
|
1476
1103
|
* Type text on the machine's keyboard.
|
|
1477
1104
|
*/
|
|
1478
1105
|
const keyboardTypeV1ComputerMachineIdInputKeyboardTypePost = (options) => {
|
|
1479
1106
|
var _a;
|
|
1480
|
-
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post(Object.assign(Object.assign({ security: [
|
|
1481
|
-
{
|
|
1482
|
-
scheme: 'bearer',
|
|
1483
|
-
type: 'http'
|
|
1484
|
-
}
|
|
1485
|
-
], url: '/v1/computer/{machine_id}/input/keyboard/type' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options === null || options === void 0 ? void 0 : options.headers) }));
|
|
1107
|
+
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post(Object.assign(Object.assign({ security: [{ scheme: 'bearer', type: 'http' }], url: '/v1/computer/{machine_id}/input/keyboard/type' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options.headers) }));
|
|
1486
1108
|
};
|
|
1487
1109
|
exports.keyboardTypeV1ComputerMachineIdInputKeyboardTypePost = keyboardTypeV1ComputerMachineIdInputKeyboardTypePost;
|
|
1488
1110
|
/**
|
|
1489
1111
|
* Send key combination
|
|
1112
|
+
*
|
|
1490
1113
|
* Send a key combination (e.g., 'ctrl+a', 'alt+tab').
|
|
1491
1114
|
*/
|
|
1492
1115
|
const keyboardKeyV1ComputerMachineIdInputKeyboardKeyPost = (options) => {
|
|
1493
1116
|
var _a;
|
|
1494
|
-
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post(Object.assign(Object.assign({ security: [
|
|
1495
|
-
{
|
|
1496
|
-
scheme: 'bearer',
|
|
1497
|
-
type: 'http'
|
|
1498
|
-
}
|
|
1499
|
-
], url: '/v1/computer/{machine_id}/input/keyboard/key' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options === null || options === void 0 ? void 0 : options.headers) }));
|
|
1117
|
+
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post(Object.assign(Object.assign({ security: [{ scheme: 'bearer', type: 'http' }], url: '/v1/computer/{machine_id}/input/keyboard/key' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options.headers) }));
|
|
1500
1118
|
};
|
|
1501
1119
|
exports.keyboardKeyV1ComputerMachineIdInputKeyboardKeyPost = keyboardKeyV1ComputerMachineIdInputKeyboardKeyPost;
|
|
1502
1120
|
/**
|
|
1503
1121
|
* Copy to clipboard via Ctrl+C
|
|
1122
|
+
*
|
|
1504
1123
|
* Execute Ctrl+C and return clipboard contents with the specified key name.
|
|
1505
1124
|
*/
|
|
1506
1125
|
const copyToClipboardV1ComputerMachineIdCopyToClipboardPost = (options) => {
|
|
1507
1126
|
var _a;
|
|
1508
|
-
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post(Object.assign(Object.assign({ security: [
|
|
1509
|
-
{
|
|
1510
|
-
scheme: 'bearer',
|
|
1511
|
-
type: 'http'
|
|
1512
|
-
}
|
|
1513
|
-
], url: '/v1/computer/{machine_id}/copy_to_clipboard' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options === null || options === void 0 ? void 0 : options.headers) }));
|
|
1127
|
+
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post(Object.assign(Object.assign({ security: [{ scheme: 'bearer', type: 'http' }], url: '/v1/computer/{machine_id}/copy_to_clipboard' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options.headers) }));
|
|
1514
1128
|
};
|
|
1515
1129
|
exports.copyToClipboardV1ComputerMachineIdCopyToClipboardPost = copyToClipboardV1ComputerMachineIdCopyToClipboardPost;
|
|
1516
1130
|
/**
|
|
1517
1131
|
* Get mouse position
|
|
1132
|
+
*
|
|
1518
1133
|
* Get the current mouse cursor position.
|
|
1519
1134
|
*/
|
|
1520
1135
|
const getMousePositionV1ComputerMachineIdInputMousePositionGet = (options) => {
|
|
1521
1136
|
var _a;
|
|
1522
|
-
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get(Object.assign({ security: [
|
|
1523
|
-
{
|
|
1524
|
-
scheme: 'bearer',
|
|
1525
|
-
type: 'http'
|
|
1526
|
-
}
|
|
1527
|
-
], url: '/v1/computer/{machine_id}/input/mouse/position' }, options));
|
|
1137
|
+
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get(Object.assign({ security: [{ scheme: 'bearer', type: 'http' }], url: '/v1/computer/{machine_id}/input/mouse/position' }, options));
|
|
1528
1138
|
};
|
|
1529
1139
|
exports.getMousePositionV1ComputerMachineIdInputMousePositionGet = getMousePositionV1ComputerMachineIdInputMousePositionGet;
|
|
1530
1140
|
/**
|
|
1531
1141
|
* Move mouse cursor
|
|
1142
|
+
*
|
|
1532
1143
|
* Move the mouse cursor to specified coordinates.
|
|
1533
1144
|
*/
|
|
1534
1145
|
const mouseMoveV1ComputerMachineIdInputMouseMovePost = (options) => {
|
|
1535
1146
|
var _a;
|
|
1536
|
-
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post(Object.assign(Object.assign({ security: [
|
|
1537
|
-
{
|
|
1538
|
-
scheme: 'bearer',
|
|
1539
|
-
type: 'http'
|
|
1540
|
-
}
|
|
1541
|
-
], url: '/v1/computer/{machine_id}/input/mouse/move' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options === null || options === void 0 ? void 0 : options.headers) }));
|
|
1147
|
+
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post(Object.assign(Object.assign({ security: [{ scheme: 'bearer', type: 'http' }], url: '/v1/computer/{machine_id}/input/mouse/move' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options.headers) }));
|
|
1542
1148
|
};
|
|
1543
1149
|
exports.mouseMoveV1ComputerMachineIdInputMouseMovePost = mouseMoveV1ComputerMachineIdInputMouseMovePost;
|
|
1544
1150
|
/**
|
|
1545
1151
|
* Click mouse button
|
|
1152
|
+
*
|
|
1546
1153
|
* Click the mouse button at specified coordinates.
|
|
1547
1154
|
* If coordinates are not provided, clicks at current position.
|
|
1548
1155
|
*/
|
|
1549
1156
|
const mouseClickV1ComputerMachineIdInputMouseClickPost = (options) => {
|
|
1550
1157
|
var _a;
|
|
1551
|
-
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post(Object.assign(Object.assign({ security: [
|
|
1552
|
-
{
|
|
1553
|
-
scheme: 'bearer',
|
|
1554
|
-
type: 'http'
|
|
1555
|
-
}
|
|
1556
|
-
], url: '/v1/computer/{machine_id}/input/mouse/click' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options === null || options === void 0 ? void 0 : options.headers) }));
|
|
1158
|
+
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post(Object.assign(Object.assign({ security: [{ scheme: 'bearer', type: 'http' }], url: '/v1/computer/{machine_id}/input/mouse/click' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options.headers) }));
|
|
1557
1159
|
};
|
|
1558
1160
|
exports.mouseClickV1ComputerMachineIdInputMouseClickPost = mouseClickV1ComputerMachineIdInputMouseClickPost;
|
|
1559
1161
|
/**
|
|
1560
1162
|
* Scroll mouse wheel
|
|
1163
|
+
*
|
|
1561
1164
|
* Scroll the mouse wheel in the specified direction by a number of steps.
|
|
1562
1165
|
* Optionally moves to (x, y) before scrolling.
|
|
1563
1166
|
*/
|
|
1564
1167
|
const mouseScrollV1ComputerMachineIdInputMouseScrollPost = (options) => {
|
|
1565
1168
|
var _a;
|
|
1566
|
-
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post(Object.assign(Object.assign({ security: [
|
|
1567
|
-
{
|
|
1568
|
-
scheme: 'bearer',
|
|
1569
|
-
type: 'http'
|
|
1570
|
-
}
|
|
1571
|
-
], url: '/v1/computer/{machine_id}/input/mouse/scroll' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options === null || options === void 0 ? void 0 : options.headers) }));
|
|
1169
|
+
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post(Object.assign(Object.assign({ security: [{ scheme: 'bearer', type: 'http' }], url: '/v1/computer/{machine_id}/input/mouse/scroll' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options.headers) }));
|
|
1572
1170
|
};
|
|
1573
1171
|
exports.mouseScrollV1ComputerMachineIdInputMouseScrollPost = mouseScrollV1ComputerMachineIdInputMouseScrollPost;
|
|
1574
1172
|
/**
|
|
1575
1173
|
* Drag mouse (native)
|
|
1174
|
+
*
|
|
1576
1175
|
* Perform a drag operation using absolute coordinates with required start and optional duration.
|
|
1577
1176
|
*/
|
|
1578
1177
|
const mouseDragV1ComputerMachineIdInputMouseDragPost = (options) => {
|
|
1579
1178
|
var _a;
|
|
1580
|
-
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post(Object.assign(Object.assign({ security: [
|
|
1581
|
-
{
|
|
1582
|
-
scheme: 'bearer',
|
|
1583
|
-
type: 'http'
|
|
1584
|
-
}
|
|
1585
|
-
], url: '/v1/computer/{machine_id}/input/mouse/drag' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options === null || options === void 0 ? void 0 : options.headers) }));
|
|
1179
|
+
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post(Object.assign(Object.assign({ security: [{ scheme: 'bearer', type: 'http' }], url: '/v1/computer/{machine_id}/input/mouse/drag' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options.headers) }));
|
|
1586
1180
|
};
|
|
1587
1181
|
exports.mouseDragV1ComputerMachineIdInputMouseDragPost = mouseDragV1ComputerMachineIdInputMouseDragPost;
|
|
1588
1182
|
/**
|
|
1589
1183
|
* List directory contents
|
|
1184
|
+
*
|
|
1590
1185
|
* List directory contents on the machine.
|
|
1591
1186
|
*/
|
|
1592
1187
|
const fsListV1ComputerMachineIdFsListGet = (options) => {
|
|
1593
1188
|
var _a;
|
|
1594
|
-
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get(Object.assign({ security: [
|
|
1595
|
-
{
|
|
1596
|
-
scheme: 'bearer',
|
|
1597
|
-
type: 'http'
|
|
1598
|
-
}
|
|
1599
|
-
], url: '/v1/computer/{machine_id}/fs/list' }, options));
|
|
1189
|
+
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get(Object.assign({ security: [{ scheme: 'bearer', type: 'http' }], url: '/v1/computer/{machine_id}/fs/list' }, options));
|
|
1600
1190
|
};
|
|
1601
1191
|
exports.fsListV1ComputerMachineIdFsListGet = fsListV1ComputerMachineIdFsListGet;
|
|
1602
1192
|
/**
|
|
1603
1193
|
* Read file contents
|
|
1194
|
+
*
|
|
1604
1195
|
* Read file contents from the machine (base64 encoded).
|
|
1605
1196
|
*/
|
|
1606
1197
|
const fsReadV1ComputerMachineIdFsReadGet = (options) => {
|
|
1607
1198
|
var _a;
|
|
1608
|
-
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get(Object.assign({ security: [
|
|
1609
|
-
{
|
|
1610
|
-
scheme: 'bearer',
|
|
1611
|
-
type: 'http'
|
|
1612
|
-
}
|
|
1613
|
-
], url: '/v1/computer/{machine_id}/fs/read' }, options));
|
|
1199
|
+
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get(Object.assign({ security: [{ scheme: 'bearer', type: 'http' }], url: '/v1/computer/{machine_id}/fs/read' }, options));
|
|
1614
1200
|
};
|
|
1615
1201
|
exports.fsReadV1ComputerMachineIdFsReadGet = fsReadV1ComputerMachineIdFsReadGet;
|
|
1616
1202
|
/**
|
|
1617
1203
|
* Write file contents
|
|
1204
|
+
*
|
|
1618
1205
|
* Write file contents to the machine.
|
|
1619
1206
|
*/
|
|
1620
1207
|
const fsWriteV1ComputerMachineIdFsWritePost = (options) => {
|
|
1621
1208
|
var _a;
|
|
1622
|
-
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post(Object.assign(Object.assign({ security: [
|
|
1623
|
-
{
|
|
1624
|
-
scheme: 'bearer',
|
|
1625
|
-
type: 'http'
|
|
1626
|
-
}
|
|
1627
|
-
], url: '/v1/computer/{machine_id}/fs/write' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options === null || options === void 0 ? void 0 : options.headers) }));
|
|
1209
|
+
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post(Object.assign(Object.assign({ security: [{ scheme: 'bearer', type: 'http' }], url: '/v1/computer/{machine_id}/fs/write' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options.headers) }));
|
|
1628
1210
|
};
|
|
1629
1211
|
exports.fsWriteV1ComputerMachineIdFsWritePost = fsWriteV1ComputerMachineIdFsWritePost;
|
|
1630
1212
|
/**
|
|
1631
1213
|
* Execute PowerShell command
|
|
1214
|
+
*
|
|
1632
1215
|
* Execute PowerShell command on the machine.
|
|
1633
1216
|
*/
|
|
1634
1217
|
const powershellExecV1ComputerMachineIdShellPowershellExecPost = (options) => {
|
|
1635
1218
|
var _a;
|
|
1636
|
-
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post(Object.assign(Object.assign({ security: [
|
|
1637
|
-
{
|
|
1638
|
-
scheme: 'bearer',
|
|
1639
|
-
type: 'http'
|
|
1640
|
-
}
|
|
1641
|
-
], url: '/v1/computer/{machine_id}/shell/powershell/exec' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options === null || options === void 0 ? void 0 : options.headers) }));
|
|
1219
|
+
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post(Object.assign(Object.assign({ security: [{ scheme: 'bearer', type: 'http' }], url: '/v1/computer/{machine_id}/shell/powershell/exec' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options.headers) }));
|
|
1642
1220
|
};
|
|
1643
1221
|
exports.powershellExecV1ComputerMachineIdShellPowershellExecPost = powershellExecV1ComputerMachineIdShellPowershellExecPost;
|
|
1644
1222
|
/**
|
|
1645
1223
|
* Manage PowerShell session
|
|
1224
|
+
*
|
|
1646
1225
|
* Create or destroy PowerShell sessions on the machine.
|
|
1647
1226
|
*/
|
|
1648
1227
|
const powershellSessionV1ComputerMachineIdShellPowershellSessionPost = (options) => {
|
|
1649
1228
|
var _a;
|
|
1650
|
-
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post(Object.assign(Object.assign({ security: [
|
|
1651
|
-
{
|
|
1652
|
-
scheme: 'bearer',
|
|
1653
|
-
type: 'http'
|
|
1654
|
-
}
|
|
1655
|
-
], url: '/v1/computer/{machine_id}/shell/powershell/session' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options === null || options === void 0 ? void 0 : options.headers) }));
|
|
1229
|
+
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post(Object.assign(Object.assign({ security: [{ scheme: 'bearer', type: 'http' }], url: '/v1/computer/{machine_id}/shell/powershell/session' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options.headers) }));
|
|
1656
1230
|
};
|
|
1657
1231
|
exports.powershellSessionV1ComputerMachineIdShellPowershellSessionPost = powershellSessionV1ComputerMachineIdShellPowershellSessionPost;
|
|
1658
1232
|
/**
|
|
1659
1233
|
* Shutdown Cyberdriver via tunnel
|
|
1234
|
+
*
|
|
1660
1235
|
* Request CyberDriver process shutdown through the existing tunnel proxy path.
|
|
1661
1236
|
*/
|
|
1662
1237
|
const cyberdriverShutdownV1MachinesMachineIdCyberdriverShutdownPost = (options) => {
|
|
1663
1238
|
var _a;
|
|
1664
|
-
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post(Object.assign(Object.assign({ security: [
|
|
1665
|
-
{
|
|
1666
|
-
scheme: 'bearer',
|
|
1667
|
-
type: 'http'
|
|
1668
|
-
}
|
|
1669
|
-
], url: '/v1/machines/{machine_id}/cyberdriver/shutdown' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options === null || options === void 0 ? void 0 : options.headers) }));
|
|
1239
|
+
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post(Object.assign(Object.assign({ security: [{ scheme: 'bearer', type: 'http' }], url: '/v1/machines/{machine_id}/cyberdriver/shutdown' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options.headers) }));
|
|
1670
1240
|
};
|
|
1671
1241
|
exports.cyberdriverShutdownV1MachinesMachineIdCyberdriverShutdownPost = cyberdriverShutdownV1MachinesMachineIdCyberdriverShutdownPost;
|
|
1672
1242
|
/**
|
|
1673
1243
|
* Get Usage Aggregate
|
|
1244
|
+
*
|
|
1674
1245
|
* Aggregate usage (agentic and cached steps) for a given date range.
|
|
1675
1246
|
*
|
|
1676
1247
|
* Two modes are supported:
|
|
@@ -1682,66 +1253,52 @@ exports.cyberdriverShutdownV1MachinesMachineIdCyberdriverShutdownPost = cyberdri
|
|
|
1682
1253
|
*/
|
|
1683
1254
|
const getUsageAggregateV1UsageAggregateGet = (options) => {
|
|
1684
1255
|
var _a;
|
|
1685
|
-
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get(Object.assign({ security: [
|
|
1686
|
-
{
|
|
1687
|
-
scheme: 'bearer',
|
|
1688
|
-
type: 'http'
|
|
1689
|
-
}
|
|
1690
|
-
], url: '/v1/usage/aggregate' }, options));
|
|
1256
|
+
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get(Object.assign({ security: [{ scheme: 'bearer', type: 'http' }], url: '/v1/usage/aggregate' }, options));
|
|
1691
1257
|
};
|
|
1692
1258
|
exports.getUsageAggregateV1UsageAggregateGet = getUsageAggregateV1UsageAggregateGet;
|
|
1693
1259
|
/**
|
|
1694
1260
|
* Root
|
|
1261
|
+
*
|
|
1695
1262
|
* Root endpoint with service information
|
|
1696
1263
|
*/
|
|
1697
|
-
const rootGet = (options) => {
|
|
1698
|
-
var _a;
|
|
1699
|
-
return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get(Object.assign({ url: '/' }, options));
|
|
1700
|
-
};
|
|
1264
|
+
const rootGet = (options) => { var _a; return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get(Object.assign({ url: '/' }, options)); };
|
|
1701
1265
|
exports.rootGet = rootGet;
|
|
1702
1266
|
/**
|
|
1703
1267
|
* Health Live
|
|
1268
|
+
*
|
|
1704
1269
|
* Liveness probe - Is the process alive?
|
|
1705
1270
|
* Always returns 200 if the server can respond.
|
|
1706
1271
|
* Use this for: Kubernetes liveness probes, basic "is it up" checks.
|
|
1707
1272
|
*/
|
|
1708
|
-
const healthLiveHealthLiveGet = (options) => {
|
|
1709
|
-
var _a;
|
|
1710
|
-
return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get(Object.assign({ url: '/health/live' }, options));
|
|
1711
|
-
};
|
|
1273
|
+
const healthLiveHealthLiveGet = (options) => { var _a; return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get(Object.assign({ url: '/health/live' }, options)); };
|
|
1712
1274
|
exports.healthLiveHealthLiveGet = healthLiveHealthLiveGet;
|
|
1713
1275
|
/**
|
|
1714
1276
|
* Health Ready
|
|
1277
|
+
*
|
|
1715
1278
|
* Readiness probe - Can the service handle requests?
|
|
1716
1279
|
* Checks all critical dependencies with timeouts.
|
|
1717
1280
|
* Use this for: Load balancer health checks, Better Stack monitoring.
|
|
1718
1281
|
* Returns 503 if any critical dependency is down.
|
|
1719
1282
|
*/
|
|
1720
|
-
const healthReadyHealthReadyGet = (options) => {
|
|
1721
|
-
var _a;
|
|
1722
|
-
return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get(Object.assign({ url: '/health/ready' }, options));
|
|
1723
|
-
};
|
|
1283
|
+
const healthReadyHealthReadyGet = (options) => { var _a; return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get(Object.assign({ url: '/health/ready' }, options)); };
|
|
1724
1284
|
exports.healthReadyHealthReadyGet = healthReadyHealthReadyGet;
|
|
1725
1285
|
/**
|
|
1726
1286
|
* Health
|
|
1287
|
+
*
|
|
1727
1288
|
* Backward compatible health check - redirects to readiness check.
|
|
1728
1289
|
*/
|
|
1729
|
-
const healthHealthGet = (options) => {
|
|
1730
|
-
var _a;
|
|
1731
|
-
return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get(Object.assign({ url: '/health' }, options));
|
|
1732
|
-
};
|
|
1290
|
+
const healthHealthGet = (options) => { var _a; return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get(Object.assign({ url: '/health' }, options)); };
|
|
1733
1291
|
exports.healthHealthGet = healthHealthGet;
|
|
1734
1292
|
/**
|
|
1735
1293
|
* Health Db
|
|
1294
|
+
*
|
|
1736
1295
|
* Legacy endpoint - checks database only.
|
|
1737
1296
|
*/
|
|
1738
|
-
const healthDbHealthDbGet = (options) => {
|
|
1739
|
-
var _a;
|
|
1740
|
-
return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get(Object.assign({ url: '/health/db' }, options));
|
|
1741
|
-
};
|
|
1297
|
+
const healthDbHealthDbGet = (options) => { var _a; return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get(Object.assign({ url: '/health/db' }, options)); };
|
|
1742
1298
|
exports.healthDbHealthDbGet = healthDbHealthDbGet;
|
|
1743
1299
|
/**
|
|
1744
1300
|
* Health Machines
|
|
1301
|
+
*
|
|
1745
1302
|
* Probe the dimensions endpoint for all connected machines in scope.
|
|
1746
1303
|
*
|
|
1747
1304
|
* Scope rules:
|
|
@@ -1750,11 +1307,6 @@ exports.healthDbHealthDbGet = healthDbHealthDbGet;
|
|
|
1750
1307
|
*/
|
|
1751
1308
|
const healthMachinesV1HealthMachinesGet = (options) => {
|
|
1752
1309
|
var _a;
|
|
1753
|
-
return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get(Object.assign({ security: [
|
|
1754
|
-
{
|
|
1755
|
-
scheme: 'bearer',
|
|
1756
|
-
type: 'http'
|
|
1757
|
-
}
|
|
1758
|
-
], url: '/v1/health/machines' }, options));
|
|
1310
|
+
return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get(Object.assign({ security: [{ scheme: 'bearer', type: 'http' }], url: '/v1/health/machines' }, options));
|
|
1759
1311
|
};
|
|
1760
1312
|
exports.healthMachinesV1HealthMachinesGet = healthMachinesV1HealthMachinesGet;
|