@ai-matrx/api 0.0.0-stage → 0.1.1
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/CHANGELOG.md +31 -0
- package/LICENSE +21 -0
- package/README.md +22 -2
- package/dist/account.cjs +670 -0
- package/dist/account.d.cts +3246 -0
- package/dist/account.d.ts +3246 -0
- package/dist/account.js +558 -0
- package/dist/agents.cjs +598 -0
- package/dist/agents.d.cts +3417 -0
- package/dist/agents.d.ts +3417 -0
- package/dist/agents.js +497 -0
- package/dist/ai.cjs +109 -0
- package/dist/ai.d.cts +493 -0
- package/dist/ai.d.ts +493 -0
- package/dist/ai.js +91 -0
- package/dist/apps.cjs +394 -0
- package/dist/apps.d.cts +1094 -0
- package/dist/apps.d.ts +1094 -0
- package/dist/apps.js +328 -0
- package/dist/architecture.cjs +1223 -0
- package/dist/architecture.d.cts +4701 -0
- package/dist/architecture.d.ts +4701 -0
- package/dist/architecture.js +1016 -0
- package/dist/audio.cjs +226 -0
- package/dist/audio.d.cts +723 -0
- package/dist/audio.d.ts +723 -0
- package/dist/audio.js +188 -0
- package/dist/chat.cjs +538 -0
- package/dist/chat.d.cts +2251 -0
- package/dist/chat.d.ts +2251 -0
- package/dist/chat.js +447 -0
- package/dist/chunk-2SXAAKGV.cjs +279 -0
- package/dist/chunk-5WJLKYH6.cjs +48 -0
- package/dist/chunk-FNIYADWI.cjs +59 -0
- package/dist/chunk-HER22VVH.cjs +1047 -0
- package/dist/chunk-KIEAFMKB.js +264 -0
- package/dist/chunk-TSHL7Z53.js +1012 -0
- package/dist/chunk-VTZKJMSY.js +43 -0
- package/dist/chunk-YTEOFGFC.js +57 -0
- package/dist/code.cjs +561 -0
- package/dist/code.d.cts +1976 -0
- package/dist/code.d.ts +1976 -0
- package/dist/code.js +467 -0
- package/dist/commerce.cjs +22 -0
- package/dist/commerce.d.cts +45 -0
- package/dist/commerce.d.ts +45 -0
- package/dist/commerce.js +18 -0
- package/dist/communications.cjs +215 -0
- package/dist/communications.d.cts +948 -0
- package/dist/communications.d.ts +948 -0
- package/dist/communications.js +179 -0
- package/dist/computer.cjs +330 -0
- package/dist/computer.d.cts +733 -0
- package/dist/computer.d.ts +733 -0
- package/dist/computer.js +275 -0
- package/dist/content.cjs +425 -0
- package/dist/content.d.cts +1796 -0
- package/dist/content.d.ts +1796 -0
- package/dist/content.js +354 -0
- package/dist/credentials.cjs +22 -0
- package/dist/credentials.d.cts +82 -0
- package/dist/credentials.d.ts +82 -0
- package/dist/credentials.js +1 -0
- package/dist/crm.cjs +271 -0
- package/dist/crm.d.cts +1731 -0
- package/dist/crm.d.ts +1731 -0
- package/dist/crm.js +226 -0
- package/dist/data.cjs +382 -0
- package/dist/data.d.cts +1860 -0
- package/dist/data.d.ts +1860 -0
- package/dist/data.js +318 -0
- package/dist/education.cjs +28 -0
- package/dist/education.d.cts +73 -0
- package/dist/education.d.ts +73 -0
- package/dist/education.js +23 -0
- package/dist/files.cjs +1330 -0
- package/dist/files.d.cts +4956 -0
- package/dist/files.d.ts +4956 -0
- package/dist/files.js +1104 -0
- package/dist/human-resources.cjs +178 -0
- package/dist/human-resources.d.cts +1208 -0
- package/dist/human-resources.d.ts +1208 -0
- package/dist/human-resources.js +148 -0
- package/dist/index-C2E-Cp19.d.ts +385 -0
- package/dist/index-wC2vtb70.d.cts +385 -0
- package/dist/index.cjs +2016 -0
- package/dist/index.d.cts +2069 -0
- package/dist/index.d.ts +2069 -0
- package/dist/index.js +1746 -0
- package/dist/integrations.cjs +5116 -0
- package/dist/integrations.d.cts +19213 -0
- package/dist/integrations.d.ts +19213 -0
- package/dist/integrations.js +4263 -0
- package/dist/intelligence.cjs +1305 -0
- package/dist/intelligence.d.cts +4658 -0
- package/dist/intelligence.d.ts +4658 -0
- package/dist/intelligence.js +1196 -0
- package/dist/knowledge.cjs +1113 -0
- package/dist/knowledge.d.cts +5427 -0
- package/dist/knowledge.d.ts +5427 -0
- package/dist/knowledge.js +921 -0
- package/dist/legal.cjs +225 -0
- package/dist/legal.d.cts +1038 -0
- package/dist/legal.d.ts +1038 -0
- package/dist/legal.js +187 -0
- package/dist/marketing.cjs +1155 -0
- package/dist/marketing.d.cts +7741 -0
- package/dist/marketing.d.ts +7741 -0
- package/dist/marketing.js +951 -0
- package/dist/masterwork.cjs +283 -0
- package/dist/masterwork.d.cts +1938 -0
- package/dist/masterwork.d.ts +1938 -0
- package/dist/masterwork.js +231 -0
- package/dist/media.cjs +610 -0
- package/dist/media.d.cts +2270 -0
- package/dist/media.d.ts +2270 -0
- package/dist/media.js +507 -0
- package/dist/net.cjs +67 -0
- package/dist/net.d.cts +204 -0
- package/dist/net.d.ts +204 -0
- package/dist/net.js +2 -0
- package/dist/platform.cjs +150 -0
- package/dist/platform.d.cts +572 -0
- package/dist/platform.d.ts +572 -0
- package/dist/platform.js +125 -0
- package/dist/publish.cjs +248 -0
- package/dist/publish.d.cts +1431 -0
- package/dist/publish.d.ts +1431 -0
- package/dist/publish.js +206 -0
- package/dist/schemas.cjs +2 -0
- package/dist/schemas.d.cts +1353 -0
- package/dist/schemas.d.ts +1353 -0
- package/dist/schemas.js +1 -0
- package/dist/stream.cjs +44 -0
- package/dist/stream.d.cts +2 -0
- package/dist/stream.d.ts +2 -0
- package/dist/stream.js +3 -0
- package/dist/web.cjs +1045 -0
- package/dist/web.d.cts +4186 -0
- package/dist/web.d.ts +4186 -0
- package/dist/web.js +867 -0
- package/dist/workflows.cjs +825 -0
- package/dist/workflows.d.cts +4699 -0
- package/dist/workflows.d.ts +4699 -0
- package/dist/workflows.js +686 -0
- package/package.json +419 -4
|
@@ -0,0 +1,686 @@
|
|
|
1
|
+
import { openStream } from './chunk-TSHL7Z53.js';
|
|
2
|
+
import './chunk-KIEAFMKB.js';
|
|
3
|
+
import './chunk-VTZKJMSY.js';
|
|
4
|
+
|
|
5
|
+
// src/generated/workflows.ts
|
|
6
|
+
var $runAssignments = { m: "POST", p: "/ai/agent-assignments", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "workflows.run_assignments" };
|
|
7
|
+
function runAssignments(api, args, options) {
|
|
8
|
+
return openStream(api, $runAssignments, args, options);
|
|
9
|
+
}
|
|
10
|
+
var $getSession = { m: "GET", p: "/ai/agent-assignments/sessions/{session_id}", d: "aidream", a: "guest", o: "required", n: "workflows.get_session" };
|
|
11
|
+
function getSession(api, args, options) {
|
|
12
|
+
return api.call($getSession, args, options);
|
|
13
|
+
}
|
|
14
|
+
var $cancelSession = { m: "POST", p: "/ai/agent-assignments/sessions/{session_id}/cancel", d: "aidream", a: "guest", o: "required", n: "workflows.cancel_session" };
|
|
15
|
+
function cancelSession(api, args, options) {
|
|
16
|
+
return api.call($cancelSession, args, options);
|
|
17
|
+
}
|
|
18
|
+
var $adminGetWorkflow = { m: "GET", p: "/admin/workflows/{definition_id}", d: "aidream", a: "admin", o: "exempt", n: "workflows.admin_get_workflow" };
|
|
19
|
+
function adminGetWorkflow(api, args, options) {
|
|
20
|
+
return api.call($adminGetWorkflow, args, options);
|
|
21
|
+
}
|
|
22
|
+
var $adminListWorkflowRuns = { m: "GET", p: "/admin/workflows/{definition_id}/runs", d: "aidream", a: "admin", o: "exempt", n: "workflows.admin_list_workflow_runs" };
|
|
23
|
+
function adminListWorkflowRuns(api, args, options) {
|
|
24
|
+
return api.call($adminListWorkflowRuns, args, options);
|
|
25
|
+
}
|
|
26
|
+
var $adminGetRun = { m: "GET", p: "/admin/runs/{run_id}", d: "aidream", a: "admin", o: "exempt", n: "workflows.admin_get_run" };
|
|
27
|
+
function adminGetRun(api, args, options) {
|
|
28
|
+
return api.call($adminGetRun, args, options);
|
|
29
|
+
}
|
|
30
|
+
var $adminListPlans = { m: "GET", p: "/admin/workflows/{definition_id}/plans", d: "aidream", a: "admin", o: "exempt", n: "workflows.admin_list_plans" };
|
|
31
|
+
function adminListPlans(api, args, options) {
|
|
32
|
+
return api.call($adminListPlans, args, options);
|
|
33
|
+
}
|
|
34
|
+
var $adminGetPlan = { m: "GET", p: "/admin/workflow-plans/{plan_id}", d: "aidream", a: "admin", o: "exempt", n: "workflows.admin_get_plan" };
|
|
35
|
+
function adminGetPlan(api, args, options) {
|
|
36
|
+
return api.call($adminGetPlan, args, options);
|
|
37
|
+
}
|
|
38
|
+
var $listNodeTypes = { m: "GET", p: "/workflow/node-types", d: "aidream", a: "guest", o: "optional", n: "workflows.list_node_types" };
|
|
39
|
+
function listNodeTypes(api, args, options) {
|
|
40
|
+
return api.call($listNodeTypes, args, options);
|
|
41
|
+
}
|
|
42
|
+
var $listPlatformTables = { m: "GET", p: "/workflow/platform-tables", d: "aidream", a: "guest", o: "optional", n: "workflows.list_platform_tables" };
|
|
43
|
+
function listPlatformTables(api, args, options) {
|
|
44
|
+
return api.call($listPlatformTables, args, options);
|
|
45
|
+
}
|
|
46
|
+
var $listWorkflowKinds = { m: "GET", p: "/workflow/kinds", d: "aidream", a: "guest", o: "exempt", n: "workflows.list_workflow_kinds" };
|
|
47
|
+
function listWorkflowKinds(api, args, options) {
|
|
48
|
+
return api.call($listWorkflowKinds, args, options);
|
|
49
|
+
}
|
|
50
|
+
var $shapeConformanceBoard = { m: "GET", p: "/workflow/kinds/conformance", d: "aidream", a: "guest", o: "exempt", n: "workflows.shape_conformance_board" };
|
|
51
|
+
function shapeConformanceBoard(api, args, options) {
|
|
52
|
+
return api.call($shapeConformanceBoard, args, options);
|
|
53
|
+
}
|
|
54
|
+
var $getWorkflowKind = { m: "GET", p: "/workflow/kinds/{slug}", d: "aidream", a: "guest", o: "exempt", n: "workflows.get_workflow_kind" };
|
|
55
|
+
function getWorkflowKind(api, args, options) {
|
|
56
|
+
return api.call($getWorkflowKind, args, options);
|
|
57
|
+
}
|
|
58
|
+
var $reportGenericFloorRender = { m: "POST", p: "/workflow/kinds/generic-floor", d: "aidream", a: "guest", o: "exempt", n: "workflows.report_generic_floor_render" };
|
|
59
|
+
function reportGenericFloorRender(api, args, options) {
|
|
60
|
+
return api.call($reportGenericFloorRender, args, options);
|
|
61
|
+
}
|
|
62
|
+
var $listGenericFloorIncidents = { m: "GET", p: "/workflow/kinds/generic-floor/open", d: "aidream", a: "guest", o: "exempt", n: "workflows.list_generic_floor_incidents" };
|
|
63
|
+
function listGenericFloorIncidents(api, args, options) {
|
|
64
|
+
return api.call($listGenericFloorIncidents, args, options);
|
|
65
|
+
}
|
|
66
|
+
var $contractAudit = { m: "GET", p: "/workflow/contracts/audit", d: "aidream", a: "guest", o: "exempt", n: "workflows.contract_audit" };
|
|
67
|
+
function contractAudit(api, args, options) {
|
|
68
|
+
return api.call($contractAudit, args, options);
|
|
69
|
+
}
|
|
70
|
+
var $refreshNodeTypes = { m: "POST", p: "/workflow/node-types/refresh", d: "aidream", a: "guest", o: "required", n: "workflows.refresh_node_types" };
|
|
71
|
+
function refreshNodeTypes(api, args, options) {
|
|
72
|
+
return api.call($refreshNodeTypes, args, options);
|
|
73
|
+
}
|
|
74
|
+
var $listActions = { m: "GET", p: "/actions", d: "aidream", a: "guest", o: "optional", n: "workflows.list_actions" };
|
|
75
|
+
function listActions(api, args, options) {
|
|
76
|
+
return api.call($listActions, args, options);
|
|
77
|
+
}
|
|
78
|
+
var $listWorkflows = { m: "GET", p: "/workflows", d: "aidream", a: "guest", o: "optional", n: "workflows.list_workflows" };
|
|
79
|
+
function listWorkflows(api, args, options) {
|
|
80
|
+
return api.call($listWorkflows, args, options);
|
|
81
|
+
}
|
|
82
|
+
var $createWorkflow = { m: "POST", p: "/workflows", d: "aidream", a: "guest", o: "required", n: "workflows.create_workflow" };
|
|
83
|
+
function createWorkflow(api, args, options) {
|
|
84
|
+
return api.call($createWorkflow, args, options);
|
|
85
|
+
}
|
|
86
|
+
var $getWorkflow = { m: "GET", p: "/workflows/{definition_id}", d: "aidream", a: "guest", o: "optional", n: "workflows.get_workflow" };
|
|
87
|
+
function getWorkflow(api, args, options) {
|
|
88
|
+
return api.call($getWorkflow, args, options);
|
|
89
|
+
}
|
|
90
|
+
var $archiveWorkflow = { m: "DELETE", p: "/workflows/{definition_id}", d: "aidream", a: "guest", o: "required", n: "workflows.archive_workflow" };
|
|
91
|
+
function archiveWorkflow(api, args, options) {
|
|
92
|
+
return api.call($archiveWorkflow, args, options);
|
|
93
|
+
}
|
|
94
|
+
var $listWorkflowVersions = { m: "GET", p: "/workflows/{definition_id}/versions", d: "aidream", a: "guest", o: "optional", n: "workflows.list_workflow_versions" };
|
|
95
|
+
function listWorkflowVersions(api, args, options) {
|
|
96
|
+
return api.call($listWorkflowVersions, args, options);
|
|
97
|
+
}
|
|
98
|
+
var $listWorkflowHistory = { m: "GET", p: "/workflows/{definition_id}/history", d: "aidream", a: "guest", o: "optional", n: "workflows.list_workflow_history" };
|
|
99
|
+
function listWorkflowHistory(api, args, options) {
|
|
100
|
+
return api.call($listWorkflowHistory, args, options);
|
|
101
|
+
}
|
|
102
|
+
var $getWorkflowHistoryRevision = { m: "GET", p: "/workflows/{definition_id}/history/{revision}", d: "aidream", a: "guest", o: "optional", n: "workflows.get_workflow_history_revision" };
|
|
103
|
+
function getWorkflowHistoryRevision(api, args, options) {
|
|
104
|
+
return api.call($getWorkflowHistoryRevision, args, options);
|
|
105
|
+
}
|
|
106
|
+
var $getWorkflowEngram = { m: "GET", p: "/workflows/{definition_id}/engram", d: "aidream", a: "guest", o: "optional", n: "workflows.get_workflow_engram" };
|
|
107
|
+
function getWorkflowEngram(api, args, options) {
|
|
108
|
+
return api.call($getWorkflowEngram, args, options);
|
|
109
|
+
}
|
|
110
|
+
var $promoteWorkflowEngram = { m: "POST", p: "/workflows/{definition_id}/engram/promote", d: "aidream", a: "guest", o: "required", n: "workflows.promote_workflow_engram" };
|
|
111
|
+
function promoteWorkflowEngram(api, args, options) {
|
|
112
|
+
return api.call($promoteWorkflowEngram, args, options);
|
|
113
|
+
}
|
|
114
|
+
var $demoteWorkflowEngram = { m: "POST", p: "/workflows/{definition_id}/engram/demote", d: "aidream", a: "guest", o: "required", n: "workflows.demote_workflow_engram" };
|
|
115
|
+
function demoteWorkflowEngram(api, args, options) {
|
|
116
|
+
return api.call($demoteWorkflowEngram, args, options);
|
|
117
|
+
}
|
|
118
|
+
var $saveWorkflowDraft = { m: "PATCH", p: "/workflows/{definition_id}/draft", d: "aidream", a: "guest", o: "required", n: "workflows.save_workflow_draft" };
|
|
119
|
+
function saveWorkflowDraft(api, args, options) {
|
|
120
|
+
return api.call($saveWorkflowDraft, args, options);
|
|
121
|
+
}
|
|
122
|
+
var $publishWorkflow = { m: "POST", p: "/workflows/{definition_id}/publish", d: "aidream", a: "guest", o: "required", n: "workflows.publish_workflow" };
|
|
123
|
+
function publishWorkflow(api, args, options) {
|
|
124
|
+
return api.call($publishWorkflow, args, options);
|
|
125
|
+
}
|
|
126
|
+
var $validateWorkflow = { m: "POST", p: "/workflows/validate", d: "aidream", a: "guest", o: "required", n: "workflows.validate_workflow" };
|
|
127
|
+
function validateWorkflow(api, args, options) {
|
|
128
|
+
return api.call($validateWorkflow, args, options);
|
|
129
|
+
}
|
|
130
|
+
var $testSingleNode = { m: "POST", p: "/workflows/{definition_id}/nodes/{node_id}/test", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "workflows.test_single_node" };
|
|
131
|
+
function testSingleNode(api, args, options) {
|
|
132
|
+
return openStream(api, $testSingleNode, args, options);
|
|
133
|
+
}
|
|
134
|
+
var $getNodeDataSlots = { m: "GET", p: "/workflows/{definition_id}/nodes/{node_id}/slots", d: "aidream", a: "guest", o: "optional", n: "workflows.get_node_data_slots" };
|
|
135
|
+
function getNodeDataSlots(api, args, options) {
|
|
136
|
+
return api.call($getNodeDataSlots, args, options);
|
|
137
|
+
}
|
|
138
|
+
var $getDefinitionDataSlots = { m: "GET", p: "/workflows/{definition_id}/slots", d: "aidream", a: "guest", o: "optional", n: "workflows.get_definition_data_slots" };
|
|
139
|
+
function getDefinitionDataSlots(api, args, options) {
|
|
140
|
+
return api.call($getDefinitionDataSlots, args, options);
|
|
141
|
+
}
|
|
142
|
+
var $putDeclaredSample = { m: "PUT", p: "/workflows/{definition_id}/nodes/{node_id}/slots/declared_sample", d: "aidream", a: "guest", o: "required", n: "workflows.put_declared_sample" };
|
|
143
|
+
function putDeclaredSample(api, args, options) {
|
|
144
|
+
return api.call($putDeclaredSample, args, options);
|
|
145
|
+
}
|
|
146
|
+
var $deleteNodeDataSlot = { m: "DELETE", p: "/workflows/{definition_id}/nodes/{node_id}/slots/{slot}", d: "aidream", a: "guest", o: "required", n: "workflows.delete_node_data_slot" };
|
|
147
|
+
function deleteNodeDataSlot(api, args, options) {
|
|
148
|
+
return api.call($deleteNodeDataSlot, args, options);
|
|
149
|
+
}
|
|
150
|
+
var $dryRunWorkflow = { m: "POST", p: "/workflows/{definition_id}/dry-run", d: "aidream", a: "guest", o: "required", n: "workflows.dry_run_workflow" };
|
|
151
|
+
function dryRunWorkflow(api, args, options) {
|
|
152
|
+
return api.call($dryRunWorkflow, args, options);
|
|
153
|
+
}
|
|
154
|
+
var $getNodeInputForm = { m: "GET", p: "/workflows/{definition_id}/nodes/{node_id}/input-form", d: "aidream", a: "guest", o: "optional", n: "workflows.get_node_input_form" };
|
|
155
|
+
function getNodeInputForm(api, args, options) {
|
|
156
|
+
return api.call($getNodeInputForm, args, options);
|
|
157
|
+
}
|
|
158
|
+
var $getNodeAgentContext = { m: "GET", p: "/workflows/{definition_id}/nodes/{node_id}/agent-context", d: "aidream", a: "guest", o: "required", n: "workflows.get_node_agent_context" };
|
|
159
|
+
function getNodeAgentContext(api, args, options) {
|
|
160
|
+
return api.call($getNodeAgentContext, args, options);
|
|
161
|
+
}
|
|
162
|
+
var $getConductorContext = { m: "GET", p: "/workflows/{definition_id}/conductor-context", d: "aidream", a: "guest", o: "required", n: "workflows.get_conductor_context" };
|
|
163
|
+
function getConductorContext(api, args, options) {
|
|
164
|
+
return api.call($getConductorContext, args, options);
|
|
165
|
+
}
|
|
166
|
+
var $getDefinitionNodeInputStatus = { m: "GET", p: "/workflows/{definition_id}/nodes/{node_id}/input-status", d: "aidream", a: "guest", o: "optional", n: "workflows.get_definition_node_input_status" };
|
|
167
|
+
function getDefinitionNodeInputStatus(api, args, options) {
|
|
168
|
+
return api.call($getDefinitionNodeInputStatus, args, options);
|
|
169
|
+
}
|
|
170
|
+
var $getRunNodeInputStatus = { m: "GET", p: "/runs/{run_id}/nodes/{node_id}/input-status", d: "aidream", a: "guest", o: "optional", n: "workflows.get_run_node_input_status" };
|
|
171
|
+
function getRunNodeInputStatus(api, args, options) {
|
|
172
|
+
return api.call($getRunNodeInputStatus, args, options);
|
|
173
|
+
}
|
|
174
|
+
var $startStepRun = { m: "POST", p: "/workflows/{definition_id}/step-runs", d: "aidream", a: "guest", o: "required", n: "workflows.start_step_run" };
|
|
175
|
+
function startStepRun(api, args, options) {
|
|
176
|
+
return api.call($startStepRun, args, options);
|
|
177
|
+
}
|
|
178
|
+
var $executeNode = { m: "POST", p: "/runs/{run_id}/nodes/{node_id}/execute", d: "aidream", a: "guest", o: "required", n: "workflows.execute_node" };
|
|
179
|
+
function executeNode(api, args, options) {
|
|
180
|
+
return api.call($executeNode, args, options);
|
|
181
|
+
}
|
|
182
|
+
var $unarchiveWorkflow = { m: "POST", p: "/workflows/{definition_id}/unarchive", d: "aidream", a: "guest", o: "required", n: "workflows.unarchive_workflow" };
|
|
183
|
+
function unarchiveWorkflow(api, args, options) {
|
|
184
|
+
return api.call($unarchiveWorkflow, args, options);
|
|
185
|
+
}
|
|
186
|
+
var $bulkArchiveWorkflows = { m: "POST", p: "/workflows/bulk-archive", d: "aidream", a: "guest", o: "required", n: "workflows.bulk_archive_workflows" };
|
|
187
|
+
function bulkArchiveWorkflows(api, args, options) {
|
|
188
|
+
return api.call($bulkArchiveWorkflows, args, options);
|
|
189
|
+
}
|
|
190
|
+
var $bulkCancelRuns = { m: "POST", p: "/runs/bulk-cancel", d: "aidream", a: "guest", o: "required", n: "workflows.bulk_cancel_runs" };
|
|
191
|
+
function bulkCancelRuns(api, args, options) {
|
|
192
|
+
return api.call($bulkCancelRuns, args, options);
|
|
193
|
+
}
|
|
194
|
+
var $bulkRetryErroredRuns = { m: "POST", p: "/runs/bulk-retry-errored", d: "aidream", a: "guest", o: "required", n: "workflows.bulk_retry_errored_runs" };
|
|
195
|
+
function bulkRetryErroredRuns(api, args, options) {
|
|
196
|
+
return api.call($bulkRetryErroredRuns, args, options);
|
|
197
|
+
}
|
|
198
|
+
var $getRunForm = { m: "GET", p: "/workflows/{definition_id}/run-form", d: "aidream", a: "guest", o: "optional", n: "workflows.get_run_form" };
|
|
199
|
+
function getRunForm(api, args, options) {
|
|
200
|
+
return api.call($getRunForm, args, options);
|
|
201
|
+
}
|
|
202
|
+
var $getResultSchema = { m: "GET", p: "/workflows/{definition_id}/result-schema", d: "aidream", a: "guest", o: "optional", n: "workflows.get_result_schema" };
|
|
203
|
+
function getResultSchema(api, args, options) {
|
|
204
|
+
return api.call($getResultSchema, args, options);
|
|
205
|
+
}
|
|
206
|
+
var $listRunsForWorkflow = { m: "GET", p: "/workflows/{definition_id}/runs", d: "aidream", a: "guest", o: "optional", n: "workflows.list_runs_for_workflow" };
|
|
207
|
+
function listRunsForWorkflow(api, args, options) {
|
|
208
|
+
return api.call($listRunsForWorkflow, args, options);
|
|
209
|
+
}
|
|
210
|
+
var $startWorkflowRun = { m: "POST", p: "/workflows/{definition_id}/runs", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "workflows.start_workflow_run" };
|
|
211
|
+
function startWorkflowRun(api, args, options) {
|
|
212
|
+
return openStream(api, $startWorkflowRun, args, options);
|
|
213
|
+
}
|
|
214
|
+
var $resumeWorkflowRun = { m: "POST", p: "/runs/{run_id}/resume", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "workflows.resume_workflow_run" };
|
|
215
|
+
function resumeWorkflowRun(api, args, options) {
|
|
216
|
+
return openStream(api, $resumeWorkflowRun, args, options);
|
|
217
|
+
}
|
|
218
|
+
var $listRuns = { m: "GET", p: "/runs", d: "aidream", a: "guest", o: "optional", n: "workflows.list_runs" };
|
|
219
|
+
function listRuns(api, args, options) {
|
|
220
|
+
return api.call($listRuns, args, options);
|
|
221
|
+
}
|
|
222
|
+
var $streamRunAnnouncements = { m: "GET", p: "/runs/stream", d: "aidream", a: "guest", o: "optional", s: "sse", n: "workflows.stream_run_announcements" };
|
|
223
|
+
function streamRunAnnouncements(api, args, options) {
|
|
224
|
+
return openStream(api, $streamRunAnnouncements, args, options);
|
|
225
|
+
}
|
|
226
|
+
var $listWaitingRunsEndpoint = { m: "GET", p: "/runs/waiting", d: "aidream", a: "guest", o: "optional", n: "workflows.list_waiting_runs_endpoint" };
|
|
227
|
+
function listWaitingRunsEndpoint(api, args, options) {
|
|
228
|
+
return api.call($listWaitingRunsEndpoint, args, options);
|
|
229
|
+
}
|
|
230
|
+
var $getRun = { m: "GET", p: "/runs/{run_id}", d: "aidream", a: "guest", o: "optional", n: "workflows.get_run" };
|
|
231
|
+
function getRun(api, args, options) {
|
|
232
|
+
return api.call($getRun, args, options);
|
|
233
|
+
}
|
|
234
|
+
var $cancelRun = { m: "POST", p: "/runs/{run_id}/cancel", d: "aidream", a: "guest", o: "required", n: "workflows.cancel_run" };
|
|
235
|
+
function cancelRun(api, args, options) {
|
|
236
|
+
return api.call($cancelRun, args, options);
|
|
237
|
+
}
|
|
238
|
+
var $pauseRun = { m: "POST", p: "/runs/{run_id}/pause", d: "aidream", a: "guest", o: "required", n: "workflows.pause_run" };
|
|
239
|
+
function pauseRun(api, args, options) {
|
|
240
|
+
return api.call($pauseRun, args, options);
|
|
241
|
+
}
|
|
242
|
+
var $resumePausedRun = { m: "POST", p: "/runs/{run_id}/resume-paused", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "workflows.resume_paused_run" };
|
|
243
|
+
function resumePausedRun(api, args, options) {
|
|
244
|
+
return openStream(api, $resumePausedRun, args, options);
|
|
245
|
+
}
|
|
246
|
+
var $injectRun = { m: "POST", p: "/runs/{run_id}/inject", d: "aidream", a: "guest", o: "required", n: "workflows.inject_run" };
|
|
247
|
+
function injectRun(api, args, options) {
|
|
248
|
+
return api.call($injectRun, args, options);
|
|
249
|
+
}
|
|
250
|
+
var $forceFailRun = { m: "POST", p: "/runs/{run_id}/force-fail", d: "aidream", a: "guest", o: "required", n: "workflows.force_fail_run" };
|
|
251
|
+
function forceFailRun(api, args, options) {
|
|
252
|
+
return api.call($forceFailRun, args, options);
|
|
253
|
+
}
|
|
254
|
+
var $listRunCheckpoints = { m: "GET", p: "/runs/{run_id}/checkpoints", d: "aidream", a: "guest", o: "optional", n: "workflows.list_run_checkpoints" };
|
|
255
|
+
function listRunCheckpoints(api, args, options) {
|
|
256
|
+
return api.call($listRunCheckpoints, args, options);
|
|
257
|
+
}
|
|
258
|
+
var $getCheckpointPreview = { m: "GET", p: "/runs/{run_id}/checkpoints/{checkpoint_id}/preview", d: "aidream", a: "guest", o: "optional", n: "workflows.get_checkpoint_preview" };
|
|
259
|
+
function getCheckpointPreview(api, args, options) {
|
|
260
|
+
return api.call($getCheckpointPreview, args, options);
|
|
261
|
+
}
|
|
262
|
+
var $retryNode = { m: "POST", p: "/runs/{run_id}/nodes/{node_id}/retry", d: "aidream", a: "guest", o: "required", n: "workflows.retry_node" };
|
|
263
|
+
function retryNode(api, args, options) {
|
|
264
|
+
return api.call($retryNode, args, options);
|
|
265
|
+
}
|
|
266
|
+
var $skipNode = { m: "POST", p: "/runs/{run_id}/nodes/{node_id}/skip", d: "aidream", a: "guest", o: "required", n: "workflows.skip_node" };
|
|
267
|
+
function skipNode(api, args, options) {
|
|
268
|
+
return api.call($skipNode, args, options);
|
|
269
|
+
}
|
|
270
|
+
var $manualResultNode = { m: "POST", p: "/runs/{run_id}/nodes/{node_id}/manual-result", d: "aidream", a: "guest", o: "required", n: "workflows.manual_result_node" };
|
|
271
|
+
function manualResultNode(api, args, options) {
|
|
272
|
+
return api.call($manualResultNode, args, options);
|
|
273
|
+
}
|
|
274
|
+
var $resumeErroredRun = { m: "POST", p: "/runs/{run_id}/resume-errored", d: "aidream", a: "guest", o: "required", n: "workflows.resume_errored_run" };
|
|
275
|
+
function resumeErroredRun(api, args, options) {
|
|
276
|
+
return api.call($resumeErroredRun, args, options);
|
|
277
|
+
}
|
|
278
|
+
var $rerunFromNode = { m: "POST", p: "/runs/{run_id}/nodes/{node_id}/rerun-from", d: "aidream", a: "guest", o: "required", n: "workflows.rerun_from_node" };
|
|
279
|
+
function rerunFromNode(api, args, options) {
|
|
280
|
+
return api.call($rerunFromNode, args, options);
|
|
281
|
+
}
|
|
282
|
+
var $forkFromNode = { m: "POST", p: "/runs/{run_id}/nodes/{node_id}/fork-from", d: "aidream", a: "guest", o: "required", n: "workflows.fork_from_node" };
|
|
283
|
+
function forkFromNode(api, args, options) {
|
|
284
|
+
return api.call($forkFromNode, args, options);
|
|
285
|
+
}
|
|
286
|
+
var $streamRunEvents = { m: "GET", p: "/runs/{run_id}/events/stream", d: "aidream", a: "guest", o: "optional", n: "workflows.stream_run_events" };
|
|
287
|
+
function streamRunEvents(api, args, options) {
|
|
288
|
+
return api.call($streamRunEvents, args, options);
|
|
289
|
+
}
|
|
290
|
+
var $streamRunDebug = { m: "GET", p: "/runs/{run_id}/stream/debug", d: "aidream", a: "guest", o: "optional", s: "sse", n: "workflows.stream_run_debug" };
|
|
291
|
+
function streamRunDebug(api, args, options) {
|
|
292
|
+
return openStream(api, $streamRunDebug, args, options);
|
|
293
|
+
}
|
|
294
|
+
var $listRunEvents = { m: "GET", p: "/runs/{run_id}/events", d: "aidream", a: "guest", o: "optional", n: "workflows.list_run_events" };
|
|
295
|
+
function listRunEvents(api, args, options) {
|
|
296
|
+
return api.call($listRunEvents, args, options);
|
|
297
|
+
}
|
|
298
|
+
var $getRunCost = { m: "GET", p: "/runs/{run_id}/cost", d: "aidream", a: "guest", o: "optional", n: "workflows.get_run_cost" };
|
|
299
|
+
function getRunCost(api, args, options) {
|
|
300
|
+
return api.call($getRunCost, args, options);
|
|
301
|
+
}
|
|
302
|
+
var $getWorkflowCostRollup = { m: "GET", p: "/workflows/{definition_id}/cost-rollup", d: "aidream", a: "guest", o: "optional", n: "workflows.get_workflow_cost_rollup" };
|
|
303
|
+
function getWorkflowCostRollup(api, args, options) {
|
|
304
|
+
return api.call($getWorkflowCostRollup, args, options);
|
|
305
|
+
}
|
|
306
|
+
var $testSpawnDetached = { m: "POST", p: "/_test/spawn-detached", d: "aidream", a: "guest", o: "required", n: "workflows.test_spawn_detached" };
|
|
307
|
+
function testSpawnDetached(api, args, options) {
|
|
308
|
+
return api.call($testSpawnDetached, args, options);
|
|
309
|
+
}
|
|
310
|
+
var $listTriggers = { m: "GET", p: "/triggers", d: "aidream", a: "guest", o: "optional", n: "workflows.list_triggers" };
|
|
311
|
+
function listTriggers(api, args, options) {
|
|
312
|
+
return api.call($listTriggers, args, options);
|
|
313
|
+
}
|
|
314
|
+
var $createTrigger = { m: "POST", p: "/triggers", d: "aidream", a: "guest", o: "required", n: "workflows.create_trigger" };
|
|
315
|
+
function createTrigger(api, args, options) {
|
|
316
|
+
return api.call($createTrigger, args, options);
|
|
317
|
+
}
|
|
318
|
+
var $getTrigger = { m: "GET", p: "/triggers/{trigger_id}", d: "aidream", a: "guest", o: "optional", n: "workflows.get_trigger" };
|
|
319
|
+
function getTrigger(api, args, options) {
|
|
320
|
+
return api.call($getTrigger, args, options);
|
|
321
|
+
}
|
|
322
|
+
var $updateTrigger = { m: "PATCH", p: "/triggers/{trigger_id}", d: "aidream", a: "guest", o: "required", n: "workflows.update_trigger" };
|
|
323
|
+
function updateTrigger(api, args, options) {
|
|
324
|
+
return api.call($updateTrigger, args, options);
|
|
325
|
+
}
|
|
326
|
+
var $deleteTrigger = { m: "DELETE", p: "/triggers/{trigger_id}", d: "aidream", a: "guest", o: "required", n: "workflows.delete_trigger" };
|
|
327
|
+
function deleteTrigger(api, args, options) {
|
|
328
|
+
return api.call($deleteTrigger, args, options);
|
|
329
|
+
}
|
|
330
|
+
var $fireTrigger = { m: "POST", p: "/triggers/{trigger_id}/fire", d: "aidream", a: "guest", o: "required", n: "workflows.fire_trigger" };
|
|
331
|
+
function fireTrigger(api, args, options) {
|
|
332
|
+
return api.call($fireTrigger, args, options);
|
|
333
|
+
}
|
|
334
|
+
var $listTriggerFires = { m: "GET", p: "/triggers/{trigger_id}/fires", d: "aidream", a: "guest", o: "optional", n: "workflows.list_trigger_fires" };
|
|
335
|
+
function listTriggerFires(api, args, options) {
|
|
336
|
+
return api.call($listTriggerFires, args, options);
|
|
337
|
+
}
|
|
338
|
+
var $listTriggerEvents = { m: "GET", p: "/triggers/{trigger_id}/events", d: "aidream", a: "guest", o: "optional", n: "workflows.list_trigger_events" };
|
|
339
|
+
function listTriggerEvents(api, args, options) {
|
|
340
|
+
return api.call($listTriggerEvents, args, options);
|
|
341
|
+
}
|
|
342
|
+
var $createBuilderWorkflow = { m: "POST", p: "/workflow-builder/workflows", d: "aidream", a: "guest", o: "required", n: "workflows.create_builder_workflow" };
|
|
343
|
+
function createBuilderWorkflow(api, args, options) {
|
|
344
|
+
return api.call($createBuilderWorkflow, args, options);
|
|
345
|
+
}
|
|
346
|
+
var $readBuilderWorkflow = { m: "GET", p: "/workflow-builder/workflows/{workflow_id}", d: "aidream", a: "guest", o: "optional", n: "workflows.read_builder_workflow" };
|
|
347
|
+
function readBuilderWorkflow(api, args, options) {
|
|
348
|
+
return api.call($readBuilderWorkflow, args, options);
|
|
349
|
+
}
|
|
350
|
+
var $saveBuilderWorkflow = { m: "PUT", p: "/workflow-builder/workflows/{workflow_id}", d: "aidream", a: "guest", o: "required", n: "workflows.save_builder_workflow" };
|
|
351
|
+
function saveBuilderWorkflow(api, args, options) {
|
|
352
|
+
return api.call($saveBuilderWorkflow, args, options);
|
|
353
|
+
}
|
|
354
|
+
var $publishBuilderWorkflow = { m: "POST", p: "/workflow-builder/workflows/{workflow_id}/publish", d: "aidream", a: "guest", o: "required", n: "workflows.publish_builder_workflow" };
|
|
355
|
+
function publishBuilderWorkflow(api, args, options) {
|
|
356
|
+
return api.call($publishBuilderWorkflow, args, options);
|
|
357
|
+
}
|
|
358
|
+
var $turnBuilderWorkflowOn = { m: "POST", p: "/workflow-builder/workflows/{workflow_id}/on", d: "aidream", a: "guest", o: "required", n: "workflows.turn_builder_workflow_on" };
|
|
359
|
+
function turnBuilderWorkflowOn(api, args, options) {
|
|
360
|
+
return api.call($turnBuilderWorkflowOn, args, options);
|
|
361
|
+
}
|
|
362
|
+
var $turnBuilderWorkflowOff = { m: "POST", p: "/workflow-builder/workflows/{workflow_id}/off", d: "aidream", a: "guest", o: "required", n: "workflows.turn_builder_workflow_off" };
|
|
363
|
+
function turnBuilderWorkflowOff(api, args, options) {
|
|
364
|
+
return api.call($turnBuilderWorkflowOff, args, options);
|
|
365
|
+
}
|
|
366
|
+
var $testBuilderWorkflowWithARecord = { m: "POST", p: "/workflow-builder/workflows/{workflow_id}/test", d: "aidream", a: "guest", o: "required", n: "workflows.test_builder_workflow_with_a_record" };
|
|
367
|
+
function testBuilderWorkflowWithARecord(api, args, options) {
|
|
368
|
+
return api.call($testBuilderWorkflowWithARecord, args, options);
|
|
369
|
+
}
|
|
370
|
+
var $listBuilderRuns = { m: "GET", p: "/workflow-builder/workflows/{workflow_id}/runs", d: "aidream", a: "guest", o: "optional", n: "workflows.list_builder_runs" };
|
|
371
|
+
function listBuilderRuns(api, args, options) {
|
|
372
|
+
return api.call($listBuilderRuns, args, options);
|
|
373
|
+
}
|
|
374
|
+
var $listRunsOnRecord = { m: "GET", p: "/workflow-builder/records/{record_id}/runs", d: "aidream", a: "guest", o: "optional", n: "workflows.list_runs_on_record" };
|
|
375
|
+
function listRunsOnRecord(api, args, options) {
|
|
376
|
+
return api.call($listRunsOnRecord, args, options);
|
|
377
|
+
}
|
|
378
|
+
var $listTableWorkflows = { m: "GET", p: "/workflow-builder/tables/{table_id}/workflows", d: "aidream", a: "guest", o: "optional", n: "workflows.list_table_workflows" };
|
|
379
|
+
function listTableWorkflows(api, args, options) {
|
|
380
|
+
return api.call($listTableWorkflows, args, options);
|
|
381
|
+
}
|
|
382
|
+
var $listPlans = { m: "GET", p: "/workflows/{definition_id}/plans", d: "aidream", a: "guest", o: "optional", n: "workflows.list_plans" };
|
|
383
|
+
function listPlans(api, args, options) {
|
|
384
|
+
return api.call($listPlans, args, options);
|
|
385
|
+
}
|
|
386
|
+
var $createPlan = { m: "POST", p: "/workflows/{definition_id}/plans", d: "aidream", a: "guest", o: "required", n: "workflows.create_plan" };
|
|
387
|
+
function createPlan(api, args, options) {
|
|
388
|
+
return api.call($createPlan, args, options);
|
|
389
|
+
}
|
|
390
|
+
var $planBlockers = { m: "GET", p: "/workflows/{definition_id}/plan-blockers", d: "aidream", a: "guest", o: "optional", n: "workflows.plan_blockers" };
|
|
391
|
+
function planBlockers(api, args, options) {
|
|
392
|
+
return api.call($planBlockers, args, options);
|
|
393
|
+
}
|
|
394
|
+
var $getPlan = { m: "GET", p: "/plans/{plan_id}", d: "aidream", a: "guest", o: "optional", n: "workflows.get_plan" };
|
|
395
|
+
function getPlan(api, args, options) {
|
|
396
|
+
return api.call($getPlan, args, options);
|
|
397
|
+
}
|
|
398
|
+
var $updatePlan = { m: "PATCH", p: "/plans/{plan_id}", d: "aidream", a: "guest", o: "required", n: "workflows.update_plan" };
|
|
399
|
+
function updatePlan(api, args, options) {
|
|
400
|
+
return api.call($updatePlan, args, options);
|
|
401
|
+
}
|
|
402
|
+
var $setShape = { m: "PUT", p: "/plans/{plan_id}/shape", d: "aidream", a: "guest", o: "required", n: "workflows.set_shape" };
|
|
403
|
+
function setShape(api, args, options) {
|
|
404
|
+
return api.call($setShape, args, options);
|
|
405
|
+
}
|
|
406
|
+
var $setSample = { m: "PUT", p: "/plans/{plan_id}/sample", d: "aidream", a: "guest", o: "required", n: "workflows.set_sample" };
|
|
407
|
+
function setSample(api, args, options) {
|
|
408
|
+
return api.call($setSample, args, options);
|
|
409
|
+
}
|
|
410
|
+
var $splitPlan = { m: "POST", p: "/plans/{plan_id}/split", d: "aidream", a: "guest", o: "required", n: "workflows.split_plan" };
|
|
411
|
+
function splitPlan(api, args, options) {
|
|
412
|
+
return api.call($splitPlan, args, options);
|
|
413
|
+
}
|
|
414
|
+
var $mergePlan = { m: "POST", p: "/plans/{plan_id}/merge", d: "aidream", a: "guest", o: "required", n: "workflows.merge_plan" };
|
|
415
|
+
function mergePlan(api, args, options) {
|
|
416
|
+
return api.call($mergePlan, args, options);
|
|
417
|
+
}
|
|
418
|
+
var $setInternalGraph = { m: "POST", p: "/plans/{plan_id}/internal", d: "aidream", a: "guest", o: "required", n: "workflows.set_internal_graph" };
|
|
419
|
+
function setInternalGraph(api, args, options) {
|
|
420
|
+
return api.call($setInternalGraph, args, options);
|
|
421
|
+
}
|
|
422
|
+
var $promotePlan = { m: "POST", p: "/plans/{plan_id}/promote", d: "aidream", a: "guest", o: "required", n: "workflows.promote_plan" };
|
|
423
|
+
function promotePlan(api, args, options) {
|
|
424
|
+
return api.call($promotePlan, args, options);
|
|
425
|
+
}
|
|
426
|
+
var $resolvePlan = { m: "POST", p: "/plans/{plan_id}/resolve", d: "aidream", a: "guest", o: "required", n: "workflows.resolve_plan" };
|
|
427
|
+
function resolvePlan(api, args, options) {
|
|
428
|
+
return api.call($resolvePlan, args, options);
|
|
429
|
+
}
|
|
430
|
+
var $emitFromPlan = { m: "POST", p: "/plans/{plan_id}/emit", d: "aidream", a: "guest", o: "required", n: "workflows.emit_from_plan" };
|
|
431
|
+
function emitFromPlan(api, args, options) {
|
|
432
|
+
return api.call($emitFromPlan, args, options);
|
|
433
|
+
}
|
|
434
|
+
var $settlePlan = { m: "POST", p: "/plans/{plan_id}/settle", d: "aidream", a: "guest", o: "required", n: "workflows.settle_plan" };
|
|
435
|
+
function settlePlan(api, args, options) {
|
|
436
|
+
return api.call($settlePlan, args, options);
|
|
437
|
+
}
|
|
438
|
+
var $dissolvePlan = { m: "POST", p: "/plans/{plan_id}/dissolve", d: "aidream", a: "guest", o: "required", n: "workflows.dissolve_plan" };
|
|
439
|
+
function dissolvePlan(api, args, options) {
|
|
440
|
+
return api.call($dissolvePlan, args, options);
|
|
441
|
+
}
|
|
442
|
+
var $planAssist = { m: "POST", p: "/plans/{plan_id}/assist", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "workflows.plan_assist" };
|
|
443
|
+
function planAssist(api, args, options) {
|
|
444
|
+
return openStream(api, $planAssist, args, options);
|
|
445
|
+
}
|
|
446
|
+
var $syncPlanAnchor = { m: "POST", p: "/plans/{plan_id}/sync", d: "aidream", a: "guest", o: "required", n: "workflows.sync_plan_anchor" };
|
|
447
|
+
function syncPlanAnchor(api, args, options) {
|
|
448
|
+
return api.call($syncPlanAnchor, args, options);
|
|
449
|
+
}
|
|
450
|
+
var $handleRecovery = { m: "POST", p: "/recovery/handle", d: "aidream", a: "guest", o: "required", n: "workflows.handle_recovery" };
|
|
451
|
+
function handleRecovery(api, args, options) {
|
|
452
|
+
return api.call($handleRecovery, args, options);
|
|
453
|
+
}
|
|
454
|
+
var $markRecoveryAppliedEndpoint = { m: "POST", p: "/recovery/audit/{audit_id}/applied", d: "aidream", a: "guest", o: "required", n: "workflows.mark_recovery_applied_endpoint" };
|
|
455
|
+
function markRecoveryAppliedEndpoint(api, args, options) {
|
|
456
|
+
return api.call($markRecoveryAppliedEndpoint, args, options);
|
|
457
|
+
}
|
|
458
|
+
var $applyWorkflowPatchEndpoint = { m: "POST", p: "/recovery/workflows/{definition_id}/apply-patch", d: "aidream", a: "guest", o: "required", n: "workflows.apply_workflow_patch_endpoint" };
|
|
459
|
+
function applyWorkflowPatchEndpoint(api, args, options) {
|
|
460
|
+
return api.call($applyWorkflowPatchEndpoint, args, options);
|
|
461
|
+
}
|
|
462
|
+
var $runSuggestions = { m: "POST", p: "/runs/{run_id}/suggestions", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "workflows.run_suggestions" };
|
|
463
|
+
function runSuggestions(api, args, options) {
|
|
464
|
+
return openStream(api, $runSuggestions, args, options);
|
|
465
|
+
}
|
|
466
|
+
var $getExtractProposal = { m: "GET", p: "/workflows/{definition_id}/extract-proposal", d: "aidream", a: "guest", o: "optional", n: "workflows.get_extract_proposal" };
|
|
467
|
+
function getExtractProposal(api, args, options) {
|
|
468
|
+
return api.call($getExtractProposal, args, options);
|
|
469
|
+
}
|
|
470
|
+
var $extractWorkflow = { m: "POST", p: "/workflows/{definition_id}/extract", d: "aidream", a: "guest", o: "required", n: "workflows.extract_workflow" };
|
|
471
|
+
function extractWorkflow(api, args, options) {
|
|
472
|
+
return api.call($extractWorkflow, args, options);
|
|
473
|
+
}
|
|
474
|
+
var $getKindAvailability = { m: "GET", p: "/workflows/{definition_id}/kind-availability", d: "aidream", a: "guest", o: "optional", n: "workflows.get_kind_availability" };
|
|
475
|
+
function getKindAvailability(api, args, options) {
|
|
476
|
+
return api.call($getKindAvailability, args, options);
|
|
477
|
+
}
|
|
478
|
+
var $getRunKindReference = { m: "GET", p: "/runs/{run_id}/kind-reference", d: "aidream", a: "guest", o: "optional", n: "workflows.get_run_kind_reference" };
|
|
479
|
+
function getRunKindReference(api, args, options) {
|
|
480
|
+
return api.call($getRunKindReference, args, options);
|
|
481
|
+
}
|
|
482
|
+
var $listTemplates = { m: "GET", p: "/templates", d: "aidream", a: "guest", o: "optional", n: "workflows.list_templates" };
|
|
483
|
+
function listTemplates(api, args, options) {
|
|
484
|
+
return api.call($listTemplates, args, options);
|
|
485
|
+
}
|
|
486
|
+
var $cloneTemplate = { m: "POST", p: "/templates/{template_id}/clone", d: "aidream", a: "guest", o: "required", n: "workflows.clone_template" };
|
|
487
|
+
function cloneTemplate(api, args, options) {
|
|
488
|
+
return api.call($cloneTemplate, args, options);
|
|
489
|
+
}
|
|
490
|
+
var $saveAsTemplate = { m: "POST", p: "/workflows/{definition_id}/save-as-template", d: "aidream", a: "guest", o: "required", n: "workflows.save_as_template" };
|
|
491
|
+
function saveAsTemplate(api, args, options) {
|
|
492
|
+
return api.call($saveAsTemplate, args, options);
|
|
493
|
+
}
|
|
494
|
+
var $setWorkflowShownTo = { m: "PATCH", p: "/workflows/{definition_id}/shown_to", d: "aidream", a: "guest", o: "required", n: "workflows.set_workflow_shown_to" };
|
|
495
|
+
function setWorkflowShownTo(api, args, options) {
|
|
496
|
+
return api.call($setWorkflowShownTo, args, options);
|
|
497
|
+
}
|
|
498
|
+
var $setWorkflowShownToTransitional = { m: "PATCH", p: "/workflows/{definition_id}/visibility", d: "aidream", a: "guest", o: "required", n: "workflows.set_workflow_shown_to_transitional" };
|
|
499
|
+
function setWorkflowShownToTransitional(api, args, options) {
|
|
500
|
+
return api.call($setWorkflowShownToTransitional, args, options);
|
|
501
|
+
}
|
|
502
|
+
var $getPublicWorkflow = { m: "GET", p: "/public/workflows/{definition_id}", d: "aidream", a: "guest", o: "exempt", n: "workflows.get_public_workflow" };
|
|
503
|
+
function getPublicWorkflow(api, args, options) {
|
|
504
|
+
return api.call($getPublicWorkflow, args, options);
|
|
505
|
+
}
|
|
506
|
+
var $startComparison = { m: "POST", p: "/workflows/comparisons", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "workflows.start_comparison" };
|
|
507
|
+
function startComparison(api, args, options) {
|
|
508
|
+
return openStream(api, $startComparison, args, options);
|
|
509
|
+
}
|
|
510
|
+
var $rerunComparisonArm = { m: "POST", p: "/workflows/comparisons/{comparison_id}/arms/{arm_index}/rerun", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "workflows.rerun_comparison_arm" };
|
|
511
|
+
function rerunComparisonArm(api, args, options) {
|
|
512
|
+
return openStream(api, $rerunComparisonArm, args, options);
|
|
513
|
+
}
|
|
514
|
+
var $validateCron = { m: "POST", p: "/scheduling/validate-cron", d: "aidream", a: "guest", o: "required", n: "workflows.validate_cron" };
|
|
515
|
+
function validateCron(api, args, options) {
|
|
516
|
+
return api.call($validateCron, args, options);
|
|
517
|
+
}
|
|
518
|
+
var $computeNextDueAt = { m: "POST", p: "/scheduling/compute-next-due-at", d: "aidream", a: "guest", o: "required", n: "workflows.compute_next_due_at" };
|
|
519
|
+
function computeNextDueAt(api, args, options) {
|
|
520
|
+
return api.call($computeNextDueAt, args, options);
|
|
521
|
+
}
|
|
522
|
+
var $runNow = { m: "POST", p: "/scheduling/run-now/{task_id}", d: "aidream", a: "guest", o: "required", n: "workflows.run_now" };
|
|
523
|
+
function runNow(api, args, options) {
|
|
524
|
+
return api.call($runNow, args, options);
|
|
525
|
+
}
|
|
526
|
+
var $scannerStatus = { m: "GET", p: "/scheduling/scanner-status", d: "aidream", a: "guest", o: "exempt", n: "workflows.scanner_status" };
|
|
527
|
+
function scannerStatus(api, args, options) {
|
|
528
|
+
return api.call($scannerStatus, args, options);
|
|
529
|
+
}
|
|
530
|
+
var $adminListSystemTasks = { m: "GET", p: "/scheduling/admin/system-tasks", d: "aidream", a: "guest", o: "exempt", n: "workflows.admin_list_system_tasks" };
|
|
531
|
+
function adminListSystemTasks(api, args, options) {
|
|
532
|
+
return api.call($adminListSystemTasks, args, options);
|
|
533
|
+
}
|
|
534
|
+
var $adminPatchSystemTask = { m: "PATCH", p: "/scheduling/admin/system-tasks/{task_id}", d: "aidream", a: "guest", o: "exempt", n: "workflows.admin_patch_system_task" };
|
|
535
|
+
function adminPatchSystemTask(api, args, options) {
|
|
536
|
+
return api.call($adminPatchSystemTask, args, options);
|
|
537
|
+
}
|
|
538
|
+
var $adminListDbJobs = { m: "GET", p: "/scheduling/admin/db-jobs", d: "aidream", a: "guest", o: "exempt", n: "workflows.admin_list_db_jobs" };
|
|
539
|
+
function adminListDbJobs(api, args, options) {
|
|
540
|
+
return api.call($adminListDbJobs, args, options);
|
|
541
|
+
}
|
|
542
|
+
var $adminPatchDbJob = { m: "PATCH", p: "/scheduling/admin/db-jobs/{jobid}", d: "aidream", a: "guest", o: "exempt", n: "workflows.admin_patch_db_job" };
|
|
543
|
+
function adminPatchDbJob(api, args, options) {
|
|
544
|
+
return api.call($adminPatchDbJob, args, options);
|
|
545
|
+
}
|
|
546
|
+
var $adminForceDisable = { m: "POST", p: "/scheduling/admin/force-disable/{task_id}", d: "aidream", a: "guest", o: "exempt", n: "workflows.admin_force_disable" };
|
|
547
|
+
function adminForceDisable(api, args, options) {
|
|
548
|
+
return api.call($adminForceDisable, args, options);
|
|
549
|
+
}
|
|
550
|
+
var $adminRunNow = { m: "POST", p: "/scheduling/admin/run-now/{task_id}", d: "aidream", a: "guest", o: "exempt", n: "workflows.admin_run_now" };
|
|
551
|
+
function adminRunNow(api, args, options) {
|
|
552
|
+
return api.call($adminRunNow, args, options);
|
|
553
|
+
}
|
|
554
|
+
var TABLE = {
|
|
555
|
+
"GET /ai/agent-assignments/sessions/{session_id}": $getSession,
|
|
556
|
+
"POST /ai/agent-assignments/sessions/{session_id}/cancel": $cancelSession,
|
|
557
|
+
"GET /admin/workflows/{definition_id}": $adminGetWorkflow,
|
|
558
|
+
"GET /admin/workflows/{definition_id}/runs": $adminListWorkflowRuns,
|
|
559
|
+
"GET /admin/runs/{run_id}": $adminGetRun,
|
|
560
|
+
"GET /admin/workflows/{definition_id}/plans": $adminListPlans,
|
|
561
|
+
"GET /admin/workflow-plans/{plan_id}": $adminGetPlan,
|
|
562
|
+
"GET /workflow/node-types": $listNodeTypes,
|
|
563
|
+
"GET /workflow/platform-tables": $listPlatformTables,
|
|
564
|
+
"GET /workflow/kinds": $listWorkflowKinds,
|
|
565
|
+
"GET /workflow/kinds/conformance": $shapeConformanceBoard,
|
|
566
|
+
"GET /workflow/kinds/{slug}": $getWorkflowKind,
|
|
567
|
+
"POST /workflow/kinds/generic-floor": $reportGenericFloorRender,
|
|
568
|
+
"GET /workflow/kinds/generic-floor/open": $listGenericFloorIncidents,
|
|
569
|
+
"GET /workflow/contracts/audit": $contractAudit,
|
|
570
|
+
"POST /workflow/node-types/refresh": $refreshNodeTypes,
|
|
571
|
+
"GET /actions": $listActions,
|
|
572
|
+
"GET /workflows": $listWorkflows,
|
|
573
|
+
"POST /workflows": $createWorkflow,
|
|
574
|
+
"GET /workflows/{definition_id}": $getWorkflow,
|
|
575
|
+
"DELETE /workflows/{definition_id}": $archiveWorkflow,
|
|
576
|
+
"GET /workflows/{definition_id}/versions": $listWorkflowVersions,
|
|
577
|
+
"GET /workflows/{definition_id}/history": $listWorkflowHistory,
|
|
578
|
+
"GET /workflows/{definition_id}/history/{revision}": $getWorkflowHistoryRevision,
|
|
579
|
+
"GET /workflows/{definition_id}/engram": $getWorkflowEngram,
|
|
580
|
+
"POST /workflows/{definition_id}/engram/promote": $promoteWorkflowEngram,
|
|
581
|
+
"POST /workflows/{definition_id}/engram/demote": $demoteWorkflowEngram,
|
|
582
|
+
"PATCH /workflows/{definition_id}/draft": $saveWorkflowDraft,
|
|
583
|
+
"POST /workflows/{definition_id}/publish": $publishWorkflow,
|
|
584
|
+
"POST /workflows/validate": $validateWorkflow,
|
|
585
|
+
"GET /workflows/{definition_id}/nodes/{node_id}/slots": $getNodeDataSlots,
|
|
586
|
+
"GET /workflows/{definition_id}/slots": $getDefinitionDataSlots,
|
|
587
|
+
"PUT /workflows/{definition_id}/nodes/{node_id}/slots/declared_sample": $putDeclaredSample,
|
|
588
|
+
"DELETE /workflows/{definition_id}/nodes/{node_id}/slots/{slot}": $deleteNodeDataSlot,
|
|
589
|
+
"POST /workflows/{definition_id}/dry-run": $dryRunWorkflow,
|
|
590
|
+
"GET /workflows/{definition_id}/nodes/{node_id}/input-form": $getNodeInputForm,
|
|
591
|
+
"GET /workflows/{definition_id}/nodes/{node_id}/agent-context": $getNodeAgentContext,
|
|
592
|
+
"GET /workflows/{definition_id}/conductor-context": $getConductorContext,
|
|
593
|
+
"GET /workflows/{definition_id}/nodes/{node_id}/input-status": $getDefinitionNodeInputStatus,
|
|
594
|
+
"GET /runs/{run_id}/nodes/{node_id}/input-status": $getRunNodeInputStatus,
|
|
595
|
+
"POST /workflows/{definition_id}/step-runs": $startStepRun,
|
|
596
|
+
"POST /runs/{run_id}/nodes/{node_id}/execute": $executeNode,
|
|
597
|
+
"POST /workflows/{definition_id}/unarchive": $unarchiveWorkflow,
|
|
598
|
+
"POST /workflows/bulk-archive": $bulkArchiveWorkflows,
|
|
599
|
+
"POST /runs/bulk-cancel": $bulkCancelRuns,
|
|
600
|
+
"POST /runs/bulk-retry-errored": $bulkRetryErroredRuns,
|
|
601
|
+
"GET /workflows/{definition_id}/run-form": $getRunForm,
|
|
602
|
+
"GET /workflows/{definition_id}/result-schema": $getResultSchema,
|
|
603
|
+
"GET /workflows/{definition_id}/runs": $listRunsForWorkflow,
|
|
604
|
+
"GET /runs": $listRuns,
|
|
605
|
+
"GET /runs/waiting": $listWaitingRunsEndpoint,
|
|
606
|
+
"GET /runs/{run_id}": $getRun,
|
|
607
|
+
"POST /runs/{run_id}/cancel": $cancelRun,
|
|
608
|
+
"POST /runs/{run_id}/pause": $pauseRun,
|
|
609
|
+
"POST /runs/{run_id}/inject": $injectRun,
|
|
610
|
+
"POST /runs/{run_id}/force-fail": $forceFailRun,
|
|
611
|
+
"GET /runs/{run_id}/checkpoints": $listRunCheckpoints,
|
|
612
|
+
"GET /runs/{run_id}/checkpoints/{checkpoint_id}/preview": $getCheckpointPreview,
|
|
613
|
+
"POST /runs/{run_id}/nodes/{node_id}/retry": $retryNode,
|
|
614
|
+
"POST /runs/{run_id}/nodes/{node_id}/skip": $skipNode,
|
|
615
|
+
"POST /runs/{run_id}/nodes/{node_id}/manual-result": $manualResultNode,
|
|
616
|
+
"POST /runs/{run_id}/resume-errored": $resumeErroredRun,
|
|
617
|
+
"POST /runs/{run_id}/nodes/{node_id}/rerun-from": $rerunFromNode,
|
|
618
|
+
"POST /runs/{run_id}/nodes/{node_id}/fork-from": $forkFromNode,
|
|
619
|
+
"GET /runs/{run_id}/events/stream": $streamRunEvents,
|
|
620
|
+
"GET /runs/{run_id}/events": $listRunEvents,
|
|
621
|
+
"GET /runs/{run_id}/cost": $getRunCost,
|
|
622
|
+
"GET /workflows/{definition_id}/cost-rollup": $getWorkflowCostRollup,
|
|
623
|
+
"POST /_test/spawn-detached": $testSpawnDetached,
|
|
624
|
+
"GET /triggers": $listTriggers,
|
|
625
|
+
"POST /triggers": $createTrigger,
|
|
626
|
+
"GET /triggers/{trigger_id}": $getTrigger,
|
|
627
|
+
"PATCH /triggers/{trigger_id}": $updateTrigger,
|
|
628
|
+
"DELETE /triggers/{trigger_id}": $deleteTrigger,
|
|
629
|
+
"POST /triggers/{trigger_id}/fire": $fireTrigger,
|
|
630
|
+
"GET /triggers/{trigger_id}/fires": $listTriggerFires,
|
|
631
|
+
"GET /triggers/{trigger_id}/events": $listTriggerEvents,
|
|
632
|
+
"POST /workflow-builder/workflows": $createBuilderWorkflow,
|
|
633
|
+
"GET /workflow-builder/workflows/{workflow_id}": $readBuilderWorkflow,
|
|
634
|
+
"PUT /workflow-builder/workflows/{workflow_id}": $saveBuilderWorkflow,
|
|
635
|
+
"POST /workflow-builder/workflows/{workflow_id}/publish": $publishBuilderWorkflow,
|
|
636
|
+
"POST /workflow-builder/workflows/{workflow_id}/on": $turnBuilderWorkflowOn,
|
|
637
|
+
"POST /workflow-builder/workflows/{workflow_id}/off": $turnBuilderWorkflowOff,
|
|
638
|
+
"POST /workflow-builder/workflows/{workflow_id}/test": $testBuilderWorkflowWithARecord,
|
|
639
|
+
"GET /workflow-builder/workflows/{workflow_id}/runs": $listBuilderRuns,
|
|
640
|
+
"GET /workflow-builder/records/{record_id}/runs": $listRunsOnRecord,
|
|
641
|
+
"GET /workflow-builder/tables/{table_id}/workflows": $listTableWorkflows,
|
|
642
|
+
"GET /workflows/{definition_id}/plans": $listPlans,
|
|
643
|
+
"POST /workflows/{definition_id}/plans": $createPlan,
|
|
644
|
+
"GET /workflows/{definition_id}/plan-blockers": $planBlockers,
|
|
645
|
+
"GET /plans/{plan_id}": $getPlan,
|
|
646
|
+
"PATCH /plans/{plan_id}": $updatePlan,
|
|
647
|
+
"PUT /plans/{plan_id}/shape": $setShape,
|
|
648
|
+
"PUT /plans/{plan_id}/sample": $setSample,
|
|
649
|
+
"POST /plans/{plan_id}/split": $splitPlan,
|
|
650
|
+
"POST /plans/{plan_id}/merge": $mergePlan,
|
|
651
|
+
"POST /plans/{plan_id}/internal": $setInternalGraph,
|
|
652
|
+
"POST /plans/{plan_id}/promote": $promotePlan,
|
|
653
|
+
"POST /plans/{plan_id}/resolve": $resolvePlan,
|
|
654
|
+
"POST /plans/{plan_id}/emit": $emitFromPlan,
|
|
655
|
+
"POST /plans/{plan_id}/settle": $settlePlan,
|
|
656
|
+
"POST /plans/{plan_id}/dissolve": $dissolvePlan,
|
|
657
|
+
"POST /plans/{plan_id}/sync": $syncPlanAnchor,
|
|
658
|
+
"POST /recovery/handle": $handleRecovery,
|
|
659
|
+
"POST /recovery/audit/{audit_id}/applied": $markRecoveryAppliedEndpoint,
|
|
660
|
+
"POST /recovery/workflows/{definition_id}/apply-patch": $applyWorkflowPatchEndpoint,
|
|
661
|
+
"GET /workflows/{definition_id}/extract-proposal": $getExtractProposal,
|
|
662
|
+
"POST /workflows/{definition_id}/extract": $extractWorkflow,
|
|
663
|
+
"GET /workflows/{definition_id}/kind-availability": $getKindAvailability,
|
|
664
|
+
"GET /runs/{run_id}/kind-reference": $getRunKindReference,
|
|
665
|
+
"GET /templates": $listTemplates,
|
|
666
|
+
"POST /templates/{template_id}/clone": $cloneTemplate,
|
|
667
|
+
"POST /workflows/{definition_id}/save-as-template": $saveAsTemplate,
|
|
668
|
+
"PATCH /workflows/{definition_id}/shown_to": $setWorkflowShownTo,
|
|
669
|
+
"PATCH /workflows/{definition_id}/visibility": $setWorkflowShownToTransitional,
|
|
670
|
+
"GET /public/workflows/{definition_id}": $getPublicWorkflow,
|
|
671
|
+
"POST /scheduling/validate-cron": $validateCron,
|
|
672
|
+
"POST /scheduling/compute-next-due-at": $computeNextDueAt,
|
|
673
|
+
"POST /scheduling/run-now/{task_id}": $runNow,
|
|
674
|
+
"GET /scheduling/scanner-status": $scannerStatus,
|
|
675
|
+
"GET /scheduling/admin/system-tasks": $adminListSystemTasks,
|
|
676
|
+
"PATCH /scheduling/admin/system-tasks/{task_id}": $adminPatchSystemTask,
|
|
677
|
+
"GET /scheduling/admin/db-jobs": $adminListDbJobs,
|
|
678
|
+
"PATCH /scheduling/admin/db-jobs/{jobid}": $adminPatchDbJob,
|
|
679
|
+
"POST /scheduling/admin/force-disable/{task_id}": $adminForceDisable,
|
|
680
|
+
"POST /scheduling/admin/run-now/{task_id}": $adminRunNow
|
|
681
|
+
};
|
|
682
|
+
function call(api, key, args, options) {
|
|
683
|
+
return api.call(TABLE[key], args, options);
|
|
684
|
+
}
|
|
685
|
+
|
|
686
|
+
export { adminForceDisable, adminGetPlan, adminGetRun, adminGetWorkflow, adminListDbJobs, adminListPlans, adminListSystemTasks, adminListWorkflowRuns, adminPatchDbJob, adminPatchSystemTask, adminRunNow, applyWorkflowPatchEndpoint, archiveWorkflow, bulkArchiveWorkflows, bulkCancelRuns, bulkRetryErroredRuns, call, cancelRun, cancelSession, cloneTemplate, computeNextDueAt, contractAudit, createBuilderWorkflow, createPlan, createTrigger, createWorkflow, deleteNodeDataSlot, deleteTrigger, demoteWorkflowEngram, dissolvePlan, dryRunWorkflow, emitFromPlan, executeNode, extractWorkflow, fireTrigger, forceFailRun, forkFromNode, getCheckpointPreview, getConductorContext, getDefinitionDataSlots, getDefinitionNodeInputStatus, getExtractProposal, getKindAvailability, getNodeAgentContext, getNodeDataSlots, getNodeInputForm, getPlan, getPublicWorkflow, getResultSchema, getRun, getRunCost, getRunForm, getRunKindReference, getRunNodeInputStatus, getSession, getTrigger, getWorkflow, getWorkflowCostRollup, getWorkflowEngram, getWorkflowHistoryRevision, getWorkflowKind, handleRecovery, injectRun, listActions, listBuilderRuns, listGenericFloorIncidents, listNodeTypes, listPlans, listPlatformTables, listRunCheckpoints, listRunEvents, listRuns, listRunsForWorkflow, listRunsOnRecord, listTableWorkflows, listTemplates, listTriggerEvents, listTriggerFires, listTriggers, listWaitingRunsEndpoint, listWorkflowHistory, listWorkflowKinds, listWorkflowVersions, listWorkflows, manualResultNode, markRecoveryAppliedEndpoint, mergePlan, pauseRun, planAssist, planBlockers, promotePlan, promoteWorkflowEngram, publishBuilderWorkflow, publishWorkflow, putDeclaredSample, readBuilderWorkflow, refreshNodeTypes, reportGenericFloorRender, rerunComparisonArm, rerunFromNode, resolvePlan, resumeErroredRun, resumePausedRun, resumeWorkflowRun, retryNode, runAssignments, runNow, runSuggestions, saveAsTemplate, saveBuilderWorkflow, saveWorkflowDraft, scannerStatus, setInternalGraph, setSample, setShape, setWorkflowShownTo, setWorkflowShownToTransitional, settlePlan, shapeConformanceBoard, skipNode, splitPlan, startComparison, startStepRun, startWorkflowRun, streamRunAnnouncements, streamRunDebug, streamRunEvents, syncPlanAnchor, testBuilderWorkflowWithARecord, testSingleNode, testSpawnDetached, turnBuilderWorkflowOff, turnBuilderWorkflowOn, unarchiveWorkflow, updatePlan, updateTrigger, validateCron, validateWorkflow };
|