@oomol-lab/open-flow 0.1.0-beta.74 → 0.1.0-beta.76
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/README.md +3 -1
- package/dist/browser/{ContentIcon-CUQHjQIw.js → ContentIcon-Cm1hbVzW.js} +4 -3
- package/dist/browser/{FlowCanvas-Dtf8_cQp.js → FlowCanvas-NzKtla_c.js} +62 -62
- package/dist/browser/{createResourceDialog-DI9pL-Yr.js → createResourceDialog-BgdedQqu.js} +3 -3
- package/dist/browser/{dialog-BYJGvItc.js → dialog-aSElFFw2.js} +322 -26
- package/dist/browser/{exportSvg-BOoy7-Db.js → exportSvg-Dcz4HTo_.js} +2 -2
- package/dist/browser/{flowChanges-RL-H4CjD.js → flowChanges-NZyS7HSp.js} +490 -438
- package/dist/browser/{flowWorkspace-BkDsETj0.js → flowWorkspace-Bl0SDehy.js} +499 -61
- package/dist/browser/preview.css +696 -825
- package/dist/browser/preview.js +1399 -717
- package/dist/browser/theme.css +114 -262
- package/dist/browser/{tooltip-wZJRB9oP.js → tooltip-3XMK9jkr.js} +1 -1
- package/dist/browser/{typeScriptSession-CSRwWmZm.js → typeScriptSession-C9sBGOKZ.js} +1 -1
- package/dist/browser/ui.css +354 -460
- package/dist/browser/ui.js +1 -1
- package/dist/browser/workbench.css +696 -825
- package/dist/browser/workbench.js +13 -7
- package/dist/browser/{workbenchSelect-BcWPWGzw.js → workbenchSelect-DBGP7Y4Z.js} +2 -2
- package/dist/command/index.js +41 -43
- package/dist/common/authoring.d.ts +5 -5
- package/dist/common/authoringExamples.d.ts +3 -2
- package/dist/common/authoringSchema.d.ts +70 -4
- package/dist/common/connector-proxy.d.ts +1 -1
- package/dist/common/control-api-conformance.js +250 -138
- package/dist/common/control-api.d.ts +3 -2
- package/dist/common/control-api.js +246 -134
- package/dist/common/control-requests.d.ts +3 -3
- package/dist/common/control-requests.js +353 -79
- package/dist/common/cron-trigger.d.ts +2 -1
- package/dist/common/decision.d.ts +4 -4
- package/dist/common/decision.js +5 -2
- package/dist/common/engine-contract.d.ts +6 -1
- package/dist/common/event-source-definition.d.ts +1 -1
- package/dist/common/event-source-view.d.ts +22 -0
- package/dist/common/event-source.d.ts +1 -1
- package/dist/common/event-source.js +24 -65
- package/dist/common/event-sources.d.ts +0 -21
- package/dist/common/flow-authoring.js +90 -19
- package/dist/common/flow-change-schema.d.ts +9 -1
- package/dist/common/flow-change.d.ts +7 -201
- package/dist/common/flow-change.js +96 -23
- package/dist/common/flow-encoding.js +89 -21
- package/dist/common/flow-graph.d.ts +2 -1
- package/dist/common/flow-input-value.d.ts +1 -1
- package/dist/common/flow-model.d.ts +121 -0
- package/dist/common/flow-notifications.d.ts +1 -1
- package/dist/common/flow-retry.d.ts +3 -5
- package/dist/common/flow-semantics.js +816 -586
- package/dist/common/flow-workflowReferences.d.ts +8 -0
- package/dist/common/flowInspection.d.ts +1 -1
- package/dist/common/http-hosts.d.ts +6 -0
- package/dist/common/http-request.d.ts +164 -0
- package/dist/common/http-request.js +5272 -0
- package/dist/common/integration-trigger.d.ts +2 -1
- package/dist/common/mcp.d.ts +3 -3
- package/dist/common/mcp.js +248 -136
- package/dist/common/openapi.d.ts +4 -4
- package/dist/common/openapi.js +4 -1
- package/dist/common/poll-trigger.d.ts +2 -1
- package/dist/common/run-events.js +11 -9
- package/dist/common/runtime-contract.d.ts +23 -1
- package/dist/common/runtime-contract.js +607 -72
- package/dist/common/runtime-nodejs-compat.d.ts +44 -0
- package/dist/common/runtime-nodejs-compat.js +5870 -0
- package/dist/common/scheduler-checkpoint.d.ts +1 -1
- package/dist/common/scheduler-node-execution.d.ts +1 -1
- package/dist/common/scheduler.d.ts +2 -2
- package/dist/common/scheduler.js +95 -25
- package/dist/common/trigger-catalog.d.ts +1 -7
- package/dist/common/trigger-config-options.d.ts +1 -1
- package/dist/common/trigger-config.d.ts +1 -1
- package/dist/common/trigger-contract.d.ts +2 -1
- package/dist/common/trigger-localization.d.ts +8 -2
- package/dist/common/trigger-model.d.ts +101 -0
- package/dist/common/webhook-response.d.ts +1 -3
- package/dist/common/webhook-trigger.d.ts +3 -1
- package/dist/common/webhook-trigger.js +12 -11
- package/dist/common/workflow.d.ts +3 -12
- package/dist/common/workflow.js +25 -23
- package/dist/index.d.ts +41 -14
- package/package.json +9 -1
- package/skills/open-flow/references/flow-authoring.md +1 -0
- package/skills/open-flow/references/flow-n8n-conversion.md +19 -15
- package/src/base/common/json.ts +1 -1
- package/src/connector/common/proxy.ts +1 -1
- package/src/control/common/api.ts +7 -5
- package/src/control/common/authoring.ts +14 -3
- package/src/control/common/authoringExamples.ts +8 -0
- package/src/control/common/authoringSchema.ts +38 -25
- package/src/control/common/authoringTools.ts +1 -1
- package/src/control/common/conformance.ts +1 -1
- package/src/control/common/connectorDecoders.ts +1 -1
- package/src/control/common/eventSources.ts +2 -29
- package/src/control/common/triggerCatalog.ts +1 -8
- package/src/decision/common/decision.ts +15 -7
- package/src/event-source/common/definition.ts +1 -1
- package/src/event-source/common/index.ts +1 -1
- package/src/event-source/common/view.ts +20 -0
- package/src/execution/common/checkpoint.ts +1 -1
- package/src/execution/common/events.ts +3 -0
- package/src/execution/common/node-execution.ts +5 -3
- package/src/execution/common/scheduler.ts +2 -1
- package/src/flow/common/change.ts +59 -192
- package/src/flow/common/changeSchema.ts +39 -5
- package/src/flow/common/connectionUsage.ts +1 -1
- package/src/flow/common/graph.ts +10 -4
- package/src/flow/common/inputValue.ts +1 -1
- package/src/flow/common/model.ts +130 -0
- package/src/flow/common/modules.ts +1 -1
- package/src/flow/common/portChanges.ts +1 -1
- package/src/flow/common/retry.ts +3 -5
- package/src/flow/common/semantics.ts +71 -7
- package/src/flow/common/webhookResponse.ts +4 -8
- package/src/flow/common/workflowReferences.ts +31 -0
- package/src/http/common/authBindings.ts +9 -0
- package/src/http/common/headers.ts +5 -0
- package/src/http/common/hosts.ts +13 -0
- package/src/http/common/httpRequest.ts +266 -0
- package/src/openapi/common/openapi.ts +9 -5
- package/src/{execution → runtime}/common/engineContract.ts +24 -15
- package/src/runtime/common/nodejsCompat.ts +275 -0
- package/src/runtime/common/nodejsGuest.generated.json +47 -0
- package/src/runtime/common/runtime.ts +1138 -0
- package/src/trigger/common/config.ts +1 -1
- package/src/trigger/common/configOptions.ts +1 -1
- package/src/trigger/common/contract.ts +2 -1
- package/src/trigger/common/cron.ts +2 -1
- package/src/trigger/common/integration.ts +2 -1
- package/src/trigger/common/model.ts +87 -0
- package/src/trigger/common/poll.ts +2 -1
- package/src/trigger/common/webhook.ts +7 -4
- package/src/trigger/providers/fieldDescriptions.ts +1 -1
- package/src/trigger/providers/localization.ts +9 -2
- package/src/trigger/providers/remote.ts +1 -1
- package/src/types/index.ts +44 -15
- package/src/workflow/common/workflow.ts +3 -44
- package/src/execution/common/runtime.ts +0 -563
- package/src/openapi/common/authBindings.ts +0 -12
- /package/src/{control → connector}/common/providerIconSprite.ts +0 -0
|
@@ -10,7 +10,7 @@ export declare class AuthoringError extends Error {
|
|
|
10
10
|
}
|
|
11
11
|
export declare function authoringNode(content: RevisionContent, ref: string): {
|
|
12
12
|
ref: string;
|
|
13
|
-
type: "agent" | "approval" | "code" | "condition" | "connector" | "cron" | "decision" | "error" | "integration" | "llm" | "openapi" | "outputs" | "poll" | "start" | "value" | "wait" | "webhook" | "webhook-response" | "workflow";
|
|
13
|
+
type: "agent" | "approval" | "code" | "condition" | "connector" | "cron" | "decision" | "error" | "http-request" | "integration" | "llm" | "openapi" | "outputs" | "poll" | "start" | "value" | "wait" | "webhook" | "webhook-response" | "workflow";
|
|
14
14
|
name: string;
|
|
15
15
|
readOnly: boolean;
|
|
16
16
|
description?: string | undefined;
|
|
@@ -18,7 +18,7 @@ export declare function authoringNode(content: RevisionContent, ref: string): {
|
|
|
18
18
|
timeoutMs?: number | undefined;
|
|
19
19
|
maxExecutions?: number | undefined;
|
|
20
20
|
onError?: "error" | "stop" | undefined;
|
|
21
|
-
retry?: import(
|
|
21
|
+
retry?: import("./flow-model.js").RetryConfiguration | undefined;
|
|
22
22
|
config: JsonValue;
|
|
23
23
|
texts: {
|
|
24
24
|
[k: string]: {
|
|
@@ -98,7 +98,7 @@ export declare function readAuthoring(content: RevisionContent, query?: Authorin
|
|
|
98
98
|
text?: undefined;
|
|
99
99
|
nodes: {
|
|
100
100
|
ref: string;
|
|
101
|
-
type: "agent" | "approval" | "code" | "condition" | "connector" | "cron" | "decision" | "error" | "integration" | "llm" | "openapi" | "outputs" | "poll" | "start" | "value" | "wait" | "webhook" | "webhook-response" | "workflow";
|
|
101
|
+
type: "agent" | "approval" | "code" | "condition" | "connector" | "cron" | "decision" | "error" | "http-request" | "integration" | "llm" | "openapi" | "outputs" | "poll" | "start" | "value" | "wait" | "webhook" | "webhook-response" | "workflow";
|
|
102
102
|
name: string;
|
|
103
103
|
readOnly: boolean;
|
|
104
104
|
description?: string | undefined;
|
|
@@ -106,7 +106,7 @@ export declare function readAuthoring(content: RevisionContent, query?: Authorin
|
|
|
106
106
|
timeoutMs?: number | undefined;
|
|
107
107
|
maxExecutions?: number | undefined;
|
|
108
108
|
onError?: "error" | "stop" | undefined;
|
|
109
|
-
retry?: import(
|
|
109
|
+
retry?: import("./flow-model.js").RetryConfiguration | undefined;
|
|
110
110
|
config: JsonValue;
|
|
111
111
|
texts: {
|
|
112
112
|
[k: string]: {
|
|
@@ -174,7 +174,7 @@ export declare function readAuthoring(content: RevisionContent, query?: Authorin
|
|
|
174
174
|
text?: undefined;
|
|
175
175
|
nodes: {
|
|
176
176
|
ref: string;
|
|
177
|
-
type: "agent" | "approval" | "code" | "condition" | "connector" | "cron" | "decision" | "error" | "integration" | "llm" | "openapi" | "outputs" | "poll" | "start" | "value" | "wait" | "webhook" | "webhook-response" | "workflow";
|
|
177
|
+
type: "agent" | "approval" | "code" | "condition" | "connector" | "cron" | "decision" | "error" | "http-request" | "integration" | "llm" | "openapi" | "outputs" | "poll" | "start" | "value" | "wait" | "webhook" | "webhook-response" | "workflow";
|
|
178
178
|
name: string;
|
|
179
179
|
readOnly: boolean;
|
|
180
180
|
inputHandles: string[];
|
|
@@ -8,6 +8,7 @@ declare const descriptions: {
|
|
|
8
8
|
readonly poll: 'Gmail polling by key; replace CONNECTION_ID with an active Gmail connection.';
|
|
9
9
|
readonly integration: 'Telegram webhook integration by key; replace CONNECTION_ID with an active Telegram connection.';
|
|
10
10
|
readonly decision: 'AI Decision evaluates named questions against target and returns a complete answer object per output. Configure target before running.';
|
|
11
|
+
readonly 'http-request': 'A single HTTP request. Bind url and request inputs; outputs are body, statusCode and headers.';
|
|
11
12
|
readonly openapi: 'A fixed JSON API operation. Replace the example document and URL before running.';
|
|
12
13
|
readonly connector: 'A Connector Task and its node. Replace ACTION_ID, CONNECTION_ID and port definitions using connector_get / connector show. Set connectionId to an empty string to defer account configuration; execution will require an account.';
|
|
13
14
|
readonly code: 'A JavaScript module and its node. Use Code for custom computation; use Connector Tasks for existing actions.';
|
|
@@ -22,8 +23,8 @@ declare const descriptions: {
|
|
|
22
23
|
};
|
|
23
24
|
export declare const authoringExampleNames: (keyof typeof descriptions)[];
|
|
24
25
|
export declare const authoringExamples: {
|
|
25
|
-
name: "agent" | "approval" | "code" | "condition" | "connector" | "cron" | "decision" | "error" | "integration" | "llm-chat" | "llm-json" | "openapi" | "poll" | "poll-notification" | "start" | "value" | "wait" | "webhook" | "webhook-response";
|
|
26
|
-
description: "A Connector Task and its node. Replace ACTION_ID, CONNECTION_ID and port definitions using connector_get / connector show. Set connectionId to an empty string to defer account configuration; execution will require an account." | "A Flow Error node. Select upstream Flows, then publish and enable this Flow to listen for failures in their automatic runs." | "A JavaScript module and its node. Use Code for custom computation; use Connector Tasks for existing actions." | "A Start node with a required message parameter. Supply it through trigger.outputs." | "A Wait with a continue action and a built-in notification output." | "A Webhook start node." | "A condition with true and false execution branches." | "A fixed JSON API operation. Replace the example document and URL before running." | "A fixed value node." | "AI Decision evaluates named questions against target and returns a complete answer object per output. Configure target before running." | "An Agent with code computation enabled. Configure a model available in the deployment." | "An Approval with approve and reject decision branches and a built-in notification output." | "An HTTP response node with body, statusCode and headers inputs. Select it from a reachable Webhook." | "An LLM JSON Task and its node; configure a model available in the deployment." | "An LLM chat Task and its node; configure a model available in the deployment." | "An hourly scheduled start node." | "Gmail events → JavaScript text formatting → Connector notification. Replace connection/action IDs and match the notification input ports." | "Gmail polling by key; replace CONNECTION_ID with an active Gmail connection." | "Telegram webhook integration by key; replace CONNECTION_ID with an active Telegram connection.";
|
|
26
|
+
name: "agent" | "approval" | "code" | "condition" | "connector" | "cron" | "decision" | "error" | "http-request" | "integration" | "llm-chat" | "llm-json" | "openapi" | "poll" | "poll-notification" | "start" | "value" | "wait" | "webhook" | "webhook-response";
|
|
27
|
+
description: "A Connector Task and its node. Replace ACTION_ID, CONNECTION_ID and port definitions using connector_get / connector show. Set connectionId to an empty string to defer account configuration; execution will require an account." | "A Flow Error node. Select upstream Flows, then publish and enable this Flow to listen for failures in their automatic runs." | "A JavaScript module and its node. Use Code for custom computation; use Connector Tasks for existing actions." | "A Start node with a required message parameter. Supply it through trigger.outputs." | "A Wait with a continue action and a built-in notification output." | "A Webhook start node." | "A condition with true and false execution branches." | "A fixed JSON API operation. Replace the example document and URL before running." | "A fixed value node." | "A single HTTP request. Bind url and request inputs; outputs are body, statusCode and headers." | "AI Decision evaluates named questions against target and returns a complete answer object per output. Configure target before running." | "An Agent with code computation enabled. Configure a model available in the deployment." | "An Approval with approve and reject decision branches and a built-in notification output." | "An HTTP response node with body, statusCode and headers inputs. Select it from a reachable Webhook." | "An LLM JSON Task and its node; configure a model available in the deployment." | "An LLM chat Task and its node; configure a model available in the deployment." | "An hourly scheduled start node." | "Gmail events → JavaScript text formatting → Connector notification. Replace connection/action IDs and match the notification input ports." | "Gmail polling by key; replace CONNECTION_ID with an active Gmail connection." | "Telegram webhook integration by key; replace CONNECTION_ID with an active Telegram connection.";
|
|
27
28
|
}[];
|
|
28
29
|
export declare function authoringExample(name: string): {
|
|
29
30
|
version: 1;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { JsonValue } from '../index.js';
|
|
2
2
|
import { z } from 'zod';
|
|
3
|
-
export declare const authoringTypes: readonly ['start', 'outputs', 'webhook-response', 'workflow', 'webhook', 'cron', 'error', 'poll', 'integration', 'code', 'connector', 'agent', 'llm', 'decision', 'openapi', 'condition', 'value', 'wait', 'approval'];
|
|
3
|
+
export declare const authoringTypes: readonly ['start', 'outputs', 'webhook-response', 'workflow', 'webhook', 'cron', 'error', 'poll', 'integration', 'code', 'connector', 'agent', 'llm', 'decision', 'openapi', 'http-request', 'condition', 'value', 'wait', 'approval'];
|
|
4
4
|
declare const type: z.ZodEnum<{
|
|
5
5
|
agent: "agent";
|
|
6
6
|
approval: "approval";
|
|
@@ -10,6 +10,7 @@ declare const type: z.ZodEnum<{
|
|
|
10
10
|
cron: "cron";
|
|
11
11
|
decision: "decision";
|
|
12
12
|
error: "error";
|
|
13
|
+
"http-request": "http-request";
|
|
13
14
|
integration: "integration";
|
|
14
15
|
llm: "llm";
|
|
15
16
|
openapi: "openapi";
|
|
@@ -217,6 +218,9 @@ export declare const authoringConfigurations: {
|
|
|
217
218
|
kind: z.ZodLiteral<"workflow">;
|
|
218
219
|
name: z.ZodString;
|
|
219
220
|
flowId: z.ZodString;
|
|
221
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
222
|
+
kind: z.ZodLiteral<"http">;
|
|
223
|
+
hosts: z.ZodArray<z.ZodString>;
|
|
220
224
|
}, z.core.$strict>]>>>;
|
|
221
225
|
}, z.core.$strict>;
|
|
222
226
|
connector: z.ZodObject<{
|
|
@@ -244,6 +248,61 @@ export declare const authoringConfigurations: {
|
|
|
244
248
|
}>;
|
|
245
249
|
}, z.core.$strict>]>>;
|
|
246
250
|
}, z.core.$strict>;
|
|
251
|
+
'http-request': z.ZodObject<{
|
|
252
|
+
method: z.ZodDefault<z.ZodEnum<{
|
|
253
|
+
DELETE: "DELETE";
|
|
254
|
+
GET: "GET";
|
|
255
|
+
HEAD: "HEAD";
|
|
256
|
+
OPTIONS: "OPTIONS";
|
|
257
|
+
PATCH: "PATCH";
|
|
258
|
+
POST: "POST";
|
|
259
|
+
PUT: "PUT";
|
|
260
|
+
}>>;
|
|
261
|
+
query: z.ZodDefault<z.ZodObject<{
|
|
262
|
+
mode: z.ZodDefault<z.ZodEnum<{
|
|
263
|
+
fields: "fields";
|
|
264
|
+
object: "object";
|
|
265
|
+
}>>;
|
|
266
|
+
names: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
267
|
+
}, z.core.$strict>>;
|
|
268
|
+
headers: z.ZodDefault<z.ZodObject<{
|
|
269
|
+
mode: z.ZodDefault<z.ZodEnum<{
|
|
270
|
+
fields: "fields";
|
|
271
|
+
object: "object";
|
|
272
|
+
}>>;
|
|
273
|
+
names: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
274
|
+
}, z.core.$strict>>;
|
|
275
|
+
bodyFormat: z.ZodDefault<z.ZodEnum<{
|
|
276
|
+
form: "form";
|
|
277
|
+
json: "json";
|
|
278
|
+
none: "none";
|
|
279
|
+
text: "text";
|
|
280
|
+
}>>;
|
|
281
|
+
authentication: z.ZodDefault<z.ZodUnion<readonly [z.ZodObject<{
|
|
282
|
+
type: z.ZodLiteral<"none">;
|
|
283
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
284
|
+
type: z.ZodEnum<{
|
|
285
|
+
basic: "basic";
|
|
286
|
+
bearer: "bearer";
|
|
287
|
+
}>;
|
|
288
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
289
|
+
type: z.ZodLiteral<"apiKey">;
|
|
290
|
+
name: z.ZodString;
|
|
291
|
+
in: z.ZodEnum<{
|
|
292
|
+
header: "header";
|
|
293
|
+
query: "query";
|
|
294
|
+
}>;
|
|
295
|
+
}, z.core.$strict>]>>;
|
|
296
|
+
responseFormat: z.ZodDefault<z.ZodEnum<{
|
|
297
|
+
auto: "auto";
|
|
298
|
+
json: "json";
|
|
299
|
+
text: "text";
|
|
300
|
+
}>>;
|
|
301
|
+
statusPolicy: z.ZodDefault<z.ZodEnum<{
|
|
302
|
+
all: "all";
|
|
303
|
+
success: "success";
|
|
304
|
+
}>>;
|
|
305
|
+
}, z.core.$strict>;
|
|
247
306
|
agent: z.ZodObject<{
|
|
248
307
|
code: z.ZodOptional<z.ZodBoolean>;
|
|
249
308
|
model: z.ZodString;
|
|
@@ -639,6 +698,7 @@ export declare const authoringEditSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
639
698
|
cron: "cron";
|
|
640
699
|
decision: "decision";
|
|
641
700
|
error: "error";
|
|
701
|
+
"http-request": "http-request";
|
|
642
702
|
integration: "integration";
|
|
643
703
|
llm: "llm";
|
|
644
704
|
openapi: "openapi";
|
|
@@ -809,6 +869,7 @@ export declare const authoringRequestSchema: z.ZodObject<{
|
|
|
809
869
|
cron: "cron";
|
|
810
870
|
decision: "decision";
|
|
811
871
|
error: "error";
|
|
872
|
+
"http-request": "http-request";
|
|
812
873
|
integration: "integration";
|
|
813
874
|
llm: "llm";
|
|
814
875
|
openapi: "openapi";
|
|
@@ -993,6 +1054,7 @@ export declare const authoringSearchSchema: z.ZodObject<{
|
|
|
993
1054
|
cron: "cron";
|
|
994
1055
|
decision: "decision";
|
|
995
1056
|
error: "error";
|
|
1057
|
+
"http-request": "http-request";
|
|
996
1058
|
integration: "integration";
|
|
997
1059
|
llm: "llm";
|
|
998
1060
|
openapi: "openapi";
|
|
@@ -1023,6 +1085,7 @@ export declare const authoringSchemaQuery: z.ZodObject<{
|
|
|
1023
1085
|
cron: "cron";
|
|
1024
1086
|
decision: "decision";
|
|
1025
1087
|
error: "error";
|
|
1088
|
+
"http-request": "http-request";
|
|
1026
1089
|
integration: "integration";
|
|
1027
1090
|
llm: "llm";
|
|
1028
1091
|
openapi: "openapi";
|
|
@@ -1054,6 +1117,7 @@ export declare function authoringRequestContract(name: string): {
|
|
|
1054
1117
|
cron: "cron";
|
|
1055
1118
|
decision: "decision";
|
|
1056
1119
|
error: "error";
|
|
1120
|
+
"http-request": "http-request";
|
|
1057
1121
|
integration: "integration";
|
|
1058
1122
|
llm: "llm";
|
|
1059
1123
|
openapi: "openapi";
|
|
@@ -1235,6 +1299,7 @@ export declare function authoringRequestContract(name: string): {
|
|
|
1235
1299
|
cron: "cron";
|
|
1236
1300
|
decision: "decision";
|
|
1237
1301
|
error: "error";
|
|
1302
|
+
"http-request": "http-request";
|
|
1238
1303
|
integration: "integration";
|
|
1239
1304
|
llm: "llm";
|
|
1240
1305
|
openapi: "openapi";
|
|
@@ -1333,7 +1398,7 @@ export declare function authoringRequestContract(name: string): {
|
|
|
1333
1398
|
} | undefined;
|
|
1334
1399
|
export declare function authoringSchema(kind?: AuthoringType): {
|
|
1335
1400
|
type?: undefined;
|
|
1336
|
-
types: readonly ["start", "outputs", "webhook-response", "workflow", "webhook", "cron", "error", "poll", "integration", "code", "connector", "agent", "llm", "decision", "openapi", "condition", "value", "wait", "approval"];
|
|
1401
|
+
types: readonly ["start", "outputs", "webhook-response", "workflow", "webhook", "cron", "error", "poll", "integration", "code", "connector", "agent", "llm", "decision", "openapi", "http-request", "condition", "value", "wait", "approval"];
|
|
1337
1402
|
request: z.core.ZodStandardJSONSchemaPayload<z.ZodObject<{
|
|
1338
1403
|
baseRevision: z.ZodString;
|
|
1339
1404
|
requestId: z.ZodString;
|
|
@@ -1349,6 +1414,7 @@ export declare function authoringSchema(kind?: AuthoringType): {
|
|
|
1349
1414
|
cron: "cron";
|
|
1350
1415
|
decision: "decision";
|
|
1351
1416
|
error: "error";
|
|
1417
|
+
"http-request": "http-request";
|
|
1352
1418
|
integration: "integration";
|
|
1353
1419
|
llm: "llm";
|
|
1354
1420
|
openapi: "openapi";
|
|
@@ -1516,7 +1582,7 @@ export declare function authoringSchema(kind?: AuthoringType): {
|
|
|
1516
1582
|
} | {
|
|
1517
1583
|
types?: undefined;
|
|
1518
1584
|
request?: undefined;
|
|
1519
|
-
type: "agent" | "approval" | "code" | "condition" | "connector" | "cron" | "decision" | "error" | "integration" | "llm" | "openapi" | "outputs" | "poll" | "start" | "value" | "wait" | "webhook" | "webhook-response" | "workflow";
|
|
1585
|
+
type: "agent" | "approval" | "code" | "condition" | "connector" | "cron" | "decision" | "error" | "http-request" | "integration" | "llm" | "openapi" | "outputs" | "poll" | "start" | "value" | "wait" | "webhook" | "webhook-response" | "workflow";
|
|
1520
1586
|
onError: boolean | {
|
|
1521
1587
|
enum: string[];
|
|
1522
1588
|
};
|
|
@@ -1530,7 +1596,7 @@ export declare function authoringSchema(kind?: AuthoringType): {
|
|
|
1530
1596
|
example: {
|
|
1531
1597
|
op: string;
|
|
1532
1598
|
as: string;
|
|
1533
|
-
type: "agent" | "approval" | "code" | "condition" | "connector" | "cron" | "decision" | "error" | "integration" | "llm" | "openapi" | "outputs" | "poll" | "start" | "value" | "wait" | "webhook" | "webhook-response" | "workflow";
|
|
1599
|
+
type: "agent" | "approval" | "code" | "condition" | "connector" | "cron" | "decision" | "error" | "http-request" | "integration" | "llm" | "openapi" | "outputs" | "poll" | "start" | "value" | "wait" | "webhook" | "webhook-response" | "workflow";
|
|
1534
1600
|
name: string;
|
|
1535
1601
|
};
|
|
1536
1602
|
configuration: z.core.ZodStandardJSONSchemaPayload<z.ZodObject<{}, z.core.$strict>>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { SourceOperation, SourceReferenceOperation } from './event-source-definition.js';
|
|
2
|
-
import type { JsonValue } from '
|
|
2
|
+
import type { JsonValue } from '../index.js';
|
|
3
3
|
export type TriggerOperationRequest = {
|
|
4
4
|
readonly operation: 'sourceReference';
|
|
5
5
|
readonly request: SourceReferenceOperation;
|