@intellia/workflow-sdk 0.2.2 → 0.3.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/dist/cjs/define-tool-workflow.js +1 -1
- package/dist/cjs/define-tool-workflow.js.map +1 -1
- package/dist/cjs/define-webhook.js +1 -0
- package/dist/cjs/define-webhook.js.map +1 -1
- package/dist/cjs/graph.js.map +1 -1
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/define-tool-workflow.js +1 -1
- package/dist/esm/define-tool-workflow.js.map +1 -1
- package/dist/esm/define-webhook.js +1 -0
- package/dist/esm/define-webhook.js.map +1 -1
- package/dist/esm/graph.js.map +1 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/index.d.ts +17 -1
- package/package.json +1 -1
|
@@ -13,7 +13,7 @@ const defineToolWorkflow = (spec) => ({
|
|
|
13
13
|
ids.reserve(spec.outputNodeId);
|
|
14
14
|
const root = new builder_js_1.Builder(ids);
|
|
15
15
|
const output = spec.build(root, (0, refs_js_1.handleFor)("$.results.trigger"));
|
|
16
|
-
return Object.assign({ name: spec.name, description: (_a = spec.description) !== null && _a !== void 0 ? _a : spec.name, slug: spec.slug, kind: "tool", trigger: { type: "json", name: spec.triggerName, input: spec.input }, scope: root.scope, output, outputSchema: spec.output, ids, endNodeId: spec.endNodeId, endNodeName: spec.endNodeName, outputNodeId: spec.outputNodeId, outputNodeName: spec.outputNodeName }, (spec.triggers ? { triggers: spec.triggers } : {}));
|
|
16
|
+
return Object.assign(Object.assign({ name: spec.name, description: (_a = spec.description) !== null && _a !== void 0 ? _a : spec.name, slug: spec.slug, kind: "tool", trigger: { type: "json", name: spec.triggerName, input: spec.input }, scope: root.scope, output, outputSchema: spec.output, ids, endNodeId: spec.endNodeId, endNodeName: spec.endNodeName, outputNodeId: spec.outputNodeId, outputNodeName: spec.outputNodeName }, (spec.labels ? { labels: spec.labels } : {})), (spec.triggers ? { triggers: spec.triggers } : {}));
|
|
17
17
|
},
|
|
18
18
|
});
|
|
19
19
|
exports.defineToolWorkflow = defineToolWorkflow;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"define-tool-workflow.js","sourceRoot":"","sources":["../../src/define-tool-workflow.ts"],"names":[],"mappings":";;;AACA,6CAAoD;AACpD,uCAAmD;
|
|
1
|
+
{"version":3,"file":"define-tool-workflow.js","sourceRoot":"","sources":["../../src/define-tool-workflow.ts"],"names":[],"mappings":";;;AACA,6CAAoD;AACpD,uCAAmD;AAyB5C,MAAM,kBAAkB,GAAG,CAChC,IAAuC,EACvB,EAAE,CAAC,CAAC;IACpB,MAAM;;QACJ,MAAM,GAAG,GAAG,IAAI,wBAAW,EAAE,CAAC;QAC9B,IAAI,OAAO,IAAI,CAAC,SAAS,KAAK,QAAQ;YAAE,GAAG,CAAC,OAAO,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;QACpE,IAAI,IAAI,CAAC,YAAY,KAAK,SAAS;YAAE,GAAG,CAAC,OAAO,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC;QACpE,MAAM,IAAI,GAAG,IAAI,oBAAO,CAAC,GAAG,CAAC,CAAC;QAC9B,MAAM,MAAM,GAAG,IAAI,CAAC,KAAK,CAAC,IAAI,EAAE,IAAA,mBAAS,EAAS,mBAAmB,CAAC,CAAC,CAAC;QAExE,qCACE,IAAI,EAAE,IAAI,CAAC,IAAI,EACf,WAAW,EAAE,MAAA,IAAI,CAAC,WAAW,mCAAI,IAAI,CAAC,IAAI,EAC1C,IAAI,EAAE,IAAI,CAAC,IAAI,EACf,IAAI,EAAE,MAAM,EACZ,OAAO,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,IAAI,CAAC,WAAW,EAAE,KAAK,EAAE,IAAI,CAAC,KAAK,EAAE,EACpE,KAAK,EAAE,IAAI,CAAC,KAAK,EACjB,MAAM,EACN,YAAY,EAAE,IAAI,CAAC,MAAM,EACzB,GAAG,EACH,SAAS,EAAE,IAAI,CAAC,SAAS,EACzB,WAAW,EAAE,IAAI,CAAC,WAAW,EAC7B,YAAY,EAAE,IAAI,CAAC,YAAY,EAC/B,cAAc,EAAE,IAAI,CAAC,cAAc,IAChC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,MAAM,EAAE,IAAI,CAAC,MAAM,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC,GAC5C,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,EAAE,QAAQ,EAAE,IAAI,CAAC,QAAQ,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC,EACrD;IACJ,CAAC;CACF,CAAC,CAAC;AA5BU,QAAA,kBAAkB,sBA4B5B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"define-webhook.js","sourceRoot":"","sources":["../../src/define-webhook.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"define-webhook.js","sourceRoot":"","sources":["../../src/define-webhook.ts"],"names":[],"mappings":";;;AAwDO,MAAM,aAAa,GAAG,CAAC,IAAiB,EAAiB,EAAE,CAAC,CAAC;IAClE,MAAM;QACJ,OAAO;YACL,IAAI,EAAE,SAAS;YACf,IAAI,EAAE,IAAI,CAAC,IAAI;YACf,WAAW,EAAE,IAAI,CAAC,WAAW;YAC7B,IAAI,EAAE,IAAI,CAAC,IAAI;YACf,aAAa,EAAE,IAAI,CAAC,aAAa;YACjC,qBAAqB,EAAE,IAAI,CAAC,qBAAqB;SAClD,CAAC;IACJ,CAAC;CACF,CAAC,CAAC;AAXU,QAAA,aAAa,iBAWvB"}
|
package/dist/cjs/graph.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"graph.js","sourceRoot":"","sources":["../../src/graph.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"graph.js","sourceRoot":"","sources":["../../src/graph.ts"],"names":[],"mappings":";;;AAiPO,MAAM,kBAAkB,GAAG,CAChC,QAAuB,EACyB,EAAE,CAClD,QAAQ,CAAC,IAAI,KAAK,UAAU,IAAI,QAAQ,CAAC,IAAI,KAAK,SAAS,CAAC;AAHjD,QAAA,kBAAkB,sBAG+B"}
|
package/dist/cjs/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";;;AAAA,yCAAwD;AAA/C,8FAAA,CAAC,OAAA;AAAE,yGAAA,YAAY,OAAA;AAAE,qGAAA,QAAQ,OAAA;AAClC,qCAQmB;AAPjB,oGAAA,SAAS,OAAA;AACT,gGAAA,KAAK,OAAA;AACL,kGAAA,OAAO,OAAA;AACP,gGAAA,KAAK,OAAA;AACL,kGAAA,OAAO,OAAA;AACP,8FAAA,GAAG,OAAA;AACH,sGAAA,WAAW,OAAA;AAGb,mDAA4E;AAAnE,gHAAA,cAAc,OAAA;AAAE,0HAAA,wBAAwB,OAAA;AAEjD,mDAA8C;AAArC,4GAAA,UAAU,OAAA;AASnB,uEAAiE;AAAxD,+HAAA,mBAAmB,OAAA;AAE5B,6DAAuD;AAA9C,qHAAA,cAAc,OAAA;AAEvB,2DAAsD;AAA7C,oHAAA,cAAc,OAAA;AAEvB,yDAAoD;AAA3C,kHAAA,aAAa,OAAA;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";;;AAAA,yCAAwD;AAA/C,8FAAA,CAAC,OAAA;AAAE,yGAAA,YAAY,OAAA;AAAE,qGAAA,QAAQ,OAAA;AAClC,qCAQmB;AAPjB,oGAAA,SAAS,OAAA;AACT,gGAAA,KAAK,OAAA;AACL,kGAAA,OAAO,OAAA;AACP,gGAAA,KAAK,OAAA;AACL,kGAAA,OAAO,OAAA;AACP,8FAAA,GAAG,OAAA;AACH,sGAAA,WAAW,OAAA;AAGb,mDAA4E;AAAnE,gHAAA,cAAc,OAAA;AAAE,0HAAA,wBAAwB,OAAA;AAEjD,mDAA8C;AAArC,4GAAA,UAAU,OAAA;AASnB,uEAAiE;AAAxD,+HAAA,mBAAmB,OAAA;AAE5B,6DAAuD;AAA9C,qHAAA,cAAc,OAAA;AAEvB,2DAAsD;AAA7C,oHAAA,cAAc,OAAA;AAEvB,yDAAoD;AAA3C,kHAAA,aAAa,OAAA;AAQtB,uCAAgD;AAAvC,8GAAA,kBAAkB,OAAA;AAC3B,2CAAoD;AAA3C,qGAAA,OAAO,OAAA;AAAE,yGAAA,WAAW,OAAA;AAU7B,2DAAsD;AAA7C,oHAAA,cAAc,OAAA;AAYvB,iDAA6F;AAApF,mGAAA,EAAE,OAAA;AAAE,mGAAA,EAAE,OAAA;AAAE,oGAAA,GAAG,OAAA;AAAE,mGAAA,EAAE,OAAA;AAAE,oGAAA,GAAG,OAAA;AAAE,yGAAA,QAAQ,OAAA;AAAE,uGAAA,MAAM,OAAA;AAAE,0GAAA,SAAS,OAAA;AAAE,wGAAA,OAAO,OAAA;AAEnE,qEAA+D;AAAtD,6HAAA,kBAAkB,OAAA;AAE3B,+DAA2D;AAAlD,yHAAA,iBAAiB,OAAA"}
|
|
@@ -10,7 +10,7 @@ export const defineToolWorkflow = (spec) => ({
|
|
|
10
10
|
ids.reserve(spec.outputNodeId);
|
|
11
11
|
const root = new Builder(ids);
|
|
12
12
|
const output = spec.build(root, handleFor("$.results.trigger"));
|
|
13
|
-
return Object.assign({ name: spec.name, description: (_a = spec.description) !== null && _a !== void 0 ? _a : spec.name, slug: spec.slug, kind: "tool", trigger: { type: "json", name: spec.triggerName, input: spec.input }, scope: root.scope, output, outputSchema: spec.output, ids, endNodeId: spec.endNodeId, endNodeName: spec.endNodeName, outputNodeId: spec.outputNodeId, outputNodeName: spec.outputNodeName }, (spec.triggers ? { triggers: spec.triggers } : {}));
|
|
13
|
+
return Object.assign(Object.assign({ name: spec.name, description: (_a = spec.description) !== null && _a !== void 0 ? _a : spec.name, slug: spec.slug, kind: "tool", trigger: { type: "json", name: spec.triggerName, input: spec.input }, scope: root.scope, output, outputSchema: spec.output, ids, endNodeId: spec.endNodeId, endNodeName: spec.endNodeName, outputNodeId: spec.outputNodeId, outputNodeName: spec.outputNodeName }, (spec.labels ? { labels: spec.labels } : {})), (spec.triggers ? { triggers: spec.triggers } : {}));
|
|
14
14
|
},
|
|
15
15
|
});
|
|
16
16
|
//# sourceMappingURL=define-tool-workflow.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"define-tool-workflow.js","sourceRoot":"","sources":["../../src/define-tool-workflow.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AACpD,OAAO,EAAE,SAAS,EAAe,MAAM,WAAW,CAAC;
|
|
1
|
+
{"version":3,"file":"define-tool-workflow.js","sourceRoot":"","sources":["../../src/define-tool-workflow.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AACpD,OAAO,EAAE,SAAS,EAAe,MAAM,WAAW,CAAC;AAyBnD,MAAM,CAAC,MAAM,kBAAkB,GAAG,CAChC,IAAuC,EACvB,EAAE,CAAC,CAAC;IACpB,MAAM;;QACJ,MAAM,GAAG,GAAG,IAAI,WAAW,EAAE,CAAC;QAC9B,IAAI,OAAO,IAAI,CAAC,SAAS,KAAK,QAAQ;YAAE,GAAG,CAAC,OAAO,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;QACpE,IAAI,IAAI,CAAC,YAAY,KAAK,SAAS;YAAE,GAAG,CAAC,OAAO,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC;QACpE,MAAM,IAAI,GAAG,IAAI,OAAO,CAAC,GAAG,CAAC,CAAC;QAC9B,MAAM,MAAM,GAAG,IAAI,CAAC,KAAK,CAAC,IAAI,EAAE,SAAS,CAAS,mBAAmB,CAAC,CAAC,CAAC;QAExE,qCACE,IAAI,EAAE,IAAI,CAAC,IAAI,EACf,WAAW,EAAE,MAAA,IAAI,CAAC,WAAW,mCAAI,IAAI,CAAC,IAAI,EAC1C,IAAI,EAAE,IAAI,CAAC,IAAI,EACf,IAAI,EAAE,MAAM,EACZ,OAAO,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,IAAI,CAAC,WAAW,EAAE,KAAK,EAAE,IAAI,CAAC,KAAK,EAAE,EACpE,KAAK,EAAE,IAAI,CAAC,KAAK,EACjB,MAAM,EACN,YAAY,EAAE,IAAI,CAAC,MAAM,EACzB,GAAG,EACH,SAAS,EAAE,IAAI,CAAC,SAAS,EACzB,WAAW,EAAE,IAAI,CAAC,WAAW,EAC7B,YAAY,EAAE,IAAI,CAAC,YAAY,EAC/B,cAAc,EAAE,IAAI,CAAC,cAAc,IAChC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,MAAM,EAAE,IAAI,CAAC,MAAM,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC,GAC5C,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,EAAE,QAAQ,EAAE,IAAI,CAAC,QAAQ,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC,EACrD;IACJ,CAAC;CACF,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"define-webhook.js","sourceRoot":"","sources":["../../src/define-webhook.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"define-webhook.js","sourceRoot":"","sources":["../../src/define-webhook.ts"],"names":[],"mappings":"AAwDA,MAAM,CAAC,MAAM,aAAa,GAAG,CAAC,IAAiB,EAAiB,EAAE,CAAC,CAAC;IAClE,MAAM;QACJ,OAAO;YACL,IAAI,EAAE,SAAS;YACf,IAAI,EAAE,IAAI,CAAC,IAAI;YACf,WAAW,EAAE,IAAI,CAAC,WAAW;YAC7B,IAAI,EAAE,IAAI,CAAC,IAAI;YACf,aAAa,EAAE,IAAI,CAAC,aAAa;YACjC,qBAAqB,EAAE,IAAI,CAAC,qBAAqB;SAClD,CAAC;IACJ,CAAC;CACF,CAAC,CAAC"}
|
package/dist/esm/graph.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"graph.js","sourceRoot":"","sources":["../../src/graph.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"graph.js","sourceRoot":"","sources":["../../src/graph.ts"],"names":[],"mappings":"AAiPA,MAAM,CAAC,MAAM,kBAAkB,GAAG,CAChC,QAAuB,EACyB,EAAE,CAClD,QAAQ,CAAC,IAAI,KAAK,UAAU,IAAI,QAAQ,CAAC,IAAI,KAAK,SAAS,CAAC"}
|
package/dist/esm/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,YAAY,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACxD,OAAO,EACL,SAAS,EACT,KAAK,EACL,OAAO,EACP,KAAK,EACL,OAAO,EACP,GAAG,EACH,WAAW,GACZ,MAAM,WAAW,CAAC;AAEnB,OAAO,EAAE,cAAc,EAAE,wBAAwB,EAAE,MAAM,kBAAkB,CAAC;AAE5E,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAS9C,OAAO,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AAEjE,OAAO,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAEvD,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAEtD,OAAO,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,YAAY,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACxD,OAAO,EACL,SAAS,EACT,KAAK,EACL,OAAO,EACP,KAAK,EACL,OAAO,EACP,GAAG,EACH,WAAW,GACZ,MAAM,WAAW,CAAC;AAEnB,OAAO,EAAE,cAAc,EAAE,wBAAwB,EAAE,MAAM,kBAAkB,CAAC;AAE5E,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAS9C,OAAO,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AAEjE,OAAO,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAEvD,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAEtD,OAAO,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAQpD,OAAO,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAC;AAChD,OAAO,EAAE,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAUpD,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAYtD,OAAO,EAAE,EAAE,EAAE,EAAE,EAAE,GAAG,EAAE,EAAE,EAAE,GAAG,EAAE,QAAQ,EAAE,MAAM,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAC;AAE7F,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AAE/D,OAAO,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC"}
|
package/dist/index.d.ts
CHANGED
|
@@ -233,6 +233,16 @@ interface WebhookResponseRuleSpec {
|
|
|
233
233
|
responseBody?: Record<string, string>;
|
|
234
234
|
skipHandlers?: boolean;
|
|
235
235
|
}
|
|
236
|
+
interface WebhookSignatureSpec {
|
|
237
|
+
/** The request header carrying the signature, e.g. `x-xero-signature`. */
|
|
238
|
+
header: string;
|
|
239
|
+
/** Default `hmac-sha256`, the only one supported. */
|
|
240
|
+
algorithm?: "hmac-sha256";
|
|
241
|
+
/** Default `base64`. */
|
|
242
|
+
encoding?: "base64" | "hex";
|
|
243
|
+
/** Stripped from the header value before comparing, e.g. `sha256=`. */
|
|
244
|
+
prefix?: string;
|
|
245
|
+
}
|
|
236
246
|
interface WebhookSpec {
|
|
237
247
|
name: string;
|
|
238
248
|
description?: string;
|
|
@@ -241,6 +251,9 @@ interface WebhookSpec {
|
|
|
241
251
|
* slug-less webhook retargets which row it updates. */
|
|
242
252
|
slug?: string;
|
|
243
253
|
responseRules?: WebhookResponseRuleSpec[];
|
|
254
|
+
/** Verify each call's HMAC signature. Omitted: the deployed webhook keeps
|
|
255
|
+
* whatever check it has. In a module, a webhook with a check needs a `slug`. */
|
|
256
|
+
signatureVerification?: WebhookSignatureSpec;
|
|
244
257
|
}
|
|
245
258
|
interface RecordedWebhook {
|
|
246
259
|
kind: "webhook";
|
|
@@ -248,6 +261,7 @@ interface RecordedWebhook {
|
|
|
248
261
|
description?: string;
|
|
249
262
|
slug?: string;
|
|
250
263
|
responseRules?: WebhookResponseRuleSpec[];
|
|
264
|
+
signatureVerification?: WebhookSignatureSpec;
|
|
251
265
|
}
|
|
252
266
|
interface WebhookModule {
|
|
253
267
|
record(): RecordedWebhook;
|
|
@@ -527,6 +541,7 @@ interface RecordedWorkflow {
|
|
|
527
541
|
endNodeName?: string;
|
|
528
542
|
outputNodeId?: string;
|
|
529
543
|
outputNodeName?: string;
|
|
544
|
+
labels?: Record<string, string>;
|
|
530
545
|
triggers?: TriggerBindingsSpec;
|
|
531
546
|
}
|
|
532
547
|
interface ScheduleTriggerSpec {
|
|
@@ -578,6 +593,7 @@ interface ToolWorkflowSpec<TInput, TOutput> {
|
|
|
578
593
|
outputNodeName?: string;
|
|
579
594
|
input: z.ZodType<TInput>;
|
|
580
595
|
output: z.ZodType<TOutput>;
|
|
596
|
+
labels?: Record<string, string>;
|
|
581
597
|
triggers?: TriggerBindingsSpec;
|
|
582
598
|
build: (wf: ToolBuilder, trigger: Handle<TInput>) => Record<string, unknown>;
|
|
583
599
|
}
|
|
@@ -593,4 +609,4 @@ type NodeTypeSupport = {
|
|
|
593
609
|
declare const NODE_TYPE_SUPPORT: Record<WorkflowNodeType, NodeTypeSupport>;
|
|
594
610
|
|
|
595
611
|
export { Builder, IdAllocator, NODE_TYPE_SUPPORT, artifact, contains, defineAgentRef, defineFunction, defineKnowledgeBase, defineSchedule, defineTool, defineToolWorkflow, defineWebhook, defineWholeStateFunction, defineWorkflow, encodeValue, eq, gt, gte, handleFor, isNull, isPresent, isRecordedResource, isRef, isTpl, jsonata, lt, lte, refPath, toJsonSchema, tpl, tplText };
|
|
596
|
-
export type { AgentRefDef, AgentSpec, ApprovalSpec, BashSpec, Cond, ExecuteWorkflowSpec, FunctionDef, Handle, HutlyApi, KnowledgeBaseDef, NodeInput, NodeSpec, NodeTypeSupport, OnFailure, RecordedEntry, RecordedSchedule, RecordedWebhook, RecordedWorkflow, RefLike, ScheduleModule, ScheduleSpec, ScheduleTriggerSpec, Scope, ToolBuilder, ToolCallInput, ToolConfigFor, ToolConfigRegistry, ToolDef, ToolInstanceRegistry, ToolInstanceShape, ToolInstancesFor, ToolWorkflowSpec, TplLike, TriggerBindingsSpec, TriggerSpec, WaitForCallbackSpec, WebhookModule, WebhookResponseRuleSpec, WebhookSpec, WebhookTriggerSpec, WholeStateFunctionDef, WorkflowModule, WorkflowSpec };
|
|
612
|
+
export type { AgentRefDef, AgentSpec, ApprovalSpec, BashSpec, Cond, ExecuteWorkflowSpec, FunctionDef, Handle, HutlyApi, KnowledgeBaseDef, NodeInput, NodeSpec, NodeTypeSupport, OnFailure, RecordedEntry, RecordedSchedule, RecordedWebhook, RecordedWorkflow, RefLike, ScheduleModule, ScheduleSpec, ScheduleTriggerSpec, Scope, ToolBuilder, ToolCallInput, ToolConfigFor, ToolConfigRegistry, ToolDef, ToolInstanceRegistry, ToolInstanceShape, ToolInstancesFor, ToolWorkflowSpec, TplLike, TriggerBindingsSpec, TriggerSpec, WaitForCallbackSpec, WebhookModule, WebhookResponseRuleSpec, WebhookSignatureSpec, WebhookSpec, WebhookTriggerSpec, WholeStateFunctionDef, WorkflowModule, WorkflowSpec };
|