@oomol-lab/open-flow 0.1.0-beta.39 → 0.1.0-beta.40
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/browser/codeDiagnostics-BtH_YuXu.js +44 -0
- package/dist/browser/{createResourceDialog-DnlKSqIs.js → createResourceDialog-BOrW62JW.js} +1 -1
- package/dist/browser/{dist-DYjIVIZC.js → dist-Cdna4VV_.js} +1 -1
- package/dist/browser/{dist-CeSZ2xSM.js → dist-DINmJ4Gr.js} +171 -112
- package/dist/browser/{editorComponent-T-GmTa-C.js → editorComponent-0skblWYk.js} +190 -107
- package/dist/browser/flow-authoring-node.d.ts +2 -5
- package/dist/browser/flow-authoring.js +111 -83
- package/dist/browser/flow-change-schema.d.ts +1 -1
- package/dist/browser/flow-change.d.ts +16 -5
- package/dist/browser/flow-change.js +196 -143
- package/dist/browser/{flowChanges-BXqN4jyH.js → flowChanges-3o9Vs_1I.js} +2479 -3906
- package/dist/browser/{flowWorkspace-a5QLISui.js → flowWorkspace-DJzQVVtZ.js} +12035 -10159
- package/dist/browser/{inputValues-Do4FrC_6.js → inputValues-DkDT6u0o.js} +1 -1
- package/dist/browser/{typeScriptSession-vC9uPDVV.js → typeScriptSession-v9Pb3G6d.js} +136 -136
- package/dist/browser/ui.css +1 -1
- package/dist/browser/workbench.css +1 -1
- package/dist/browser/workbench.d.ts +0 -3
- package/dist/browser/workbench.js +1046 -1025
- package/dist/browser/{workbenchSelect-Dx2Y46cD.js → workbenchSelect-B5zXyaaX.js} +1116 -1063
- package/dist/common/connectorDecoders.d.ts +2 -1
- package/dist/common/control-api-conformance.js +1589 -1518
- package/dist/common/control-api.d.ts +18 -6
- package/dist/common/control-api.js +1470 -1392
- package/dist/common/control-requests.js +1550 -1535
- package/dist/common/draftOperations.d.ts +0 -1
- package/dist/common/flow-connectionUsage.d.ts +1 -1
- package/dist/common/flow-encoding.js +1092 -1060
- package/dist/common/flow-semantics.d.ts +1 -0
- package/dist/common/flow-semantics.js +2777 -2699
- package/dist/common/flowInspection.d.ts +1 -1
- package/dist/common/integration-trigger.js +350 -328
- package/dist/common/mcp.d.ts +27 -0
- package/dist/common/mcp.js +807 -728
- package/dist/common/poll-trigger.js +993 -971
- package/dist/common/provider-triggers.js +1521 -1203
- package/dist/common/runtime-contract.js +13 -6
- package/dist/common/scheduler.js +1430 -1408
- package/dist/common/trigger-catalog.d.ts +2 -1
- package/dist/common/webhook-trigger.js +221 -199
- package/dist/common/{zh-CN-D2od3TNw.js → zh-CN-CxZ3yYfR.js} +2 -2
- package/package.json +1 -1
|
@@ -6369,7 +6369,7 @@ function Mu(e, t, n) {
|
|
|
6369
6369
|
}
|
|
6370
6370
|
});
|
|
6371
6371
|
}
|
|
6372
|
-
var
|
|
6372
|
+
var V = /*@__PURE__*/ F("ZodError", (e, t) => {
|
|
6373
6373
|
na.init(e, t), e.name = "ZodError";
|
|
6374
6374
|
let n = Object.getPrototypeOf(e);
|
|
6375
6375
|
ju.has(n) || (ju.add(n), Mu(n, "format", (e) => (t) => aa(e, t)), Mu(n, "flatten", (e) => (t) => ia(e, t)), Mu(n, "addIssue", (e) => (t) => {
|
|
@@ -6383,16 +6383,16 @@ var Nu = /*@__PURE__*/ F("ZodError", (e, t) => {
|
|
|
6383
6383
|
return this.issues.length === 0;
|
|
6384
6384
|
}
|
|
6385
6385
|
}));
|
|
6386
|
-
}, void 0, { Parent: Error }),
|
|
6386
|
+
}, void 0, { Parent: Error }), Nu = /* @__PURE__ */ sa(V), Pu = /* @__PURE__ */ ca(V), Fu = /* @__PURE__ */ la(V), Iu = /* @__PURE__ */ da(V), Lu = /* @__PURE__ */ _a(V), Ru = /* @__PURE__ */ va(V), zu = /* @__PURE__ */ ya(V), Bu = /* @__PURE__ */ ba(V), Vu = /* @__PURE__ */ xa(V), Hu = /* @__PURE__ */ Sa(V), Uu = /* @__PURE__ */ Ca(V), Wu = /* @__PURE__ */ wa(V);
|
|
6387
6387
|
//#endregion
|
|
6388
6388
|
//#region ../../node_modules/.bun/zod@4.6.5/node_modules/zod/v4/classic/schemas.js
|
|
6389
|
-
function
|
|
6389
|
+
function Gu() {
|
|
6390
6390
|
Ji.localeError || Yi(vc());
|
|
6391
6391
|
}
|
|
6392
|
-
function
|
|
6392
|
+
function Ku() {
|
|
6393
6393
|
Ji.memoizer || Yi({ memoizer: hc() });
|
|
6394
6394
|
}
|
|
6395
|
-
var
|
|
6395
|
+
var H = /*@__PURE__*/ F("ZodType", (e, t) => (Gu(), L.init(e, t), e.def = t, e.type = t.type, e), {
|
|
6396
6396
|
check(...e) {
|
|
6397
6397
|
let t = this.def;
|
|
6398
6398
|
return this.clone(M(t, { checks: [...t.checks ?? [], ...e.map((e) => typeof e == "function" ? { _zod: {
|
|
@@ -6438,13 +6438,13 @@ var V = /*@__PURE__*/ F("ZodType", (e, t) => (Ku(), L.init(e, t), e.def = t, e.t
|
|
|
6438
6438
|
return tf(this, e);
|
|
6439
6439
|
},
|
|
6440
6440
|
array() {
|
|
6441
|
-
return
|
|
6441
|
+
return W(this);
|
|
6442
6442
|
},
|
|
6443
6443
|
or(e) {
|
|
6444
|
-
return
|
|
6444
|
+
return K([this, e]);
|
|
6445
6445
|
},
|
|
6446
6446
|
and(e) {
|
|
6447
|
-
return
|
|
6447
|
+
return Id(this, e);
|
|
6448
6448
|
},
|
|
6449
6449
|
transform(e) {
|
|
6450
6450
|
return of(this, Ud(e));
|
|
@@ -6495,16 +6495,16 @@ var V = /*@__PURE__*/ F("ZodType", (e, t) => (Ku(), L.init(e, t), e.def = t, e.t
|
|
|
6495
6495
|
ji(this, "~standard", e);
|
|
6496
6496
|
},
|
|
6497
6497
|
parse: function e(t, n) {
|
|
6498
|
-
return
|
|
6498
|
+
return Nu(this, t, n, { callee: e });
|
|
6499
6499
|
},
|
|
6500
6500
|
parseAsync: async function e(t, n) {
|
|
6501
|
-
return await
|
|
6501
|
+
return await Pu(this, t, n, { callee: e });
|
|
6502
6502
|
},
|
|
6503
6503
|
safeParse(e, t) {
|
|
6504
|
-
return
|
|
6504
|
+
return Fu(this, e, t);
|
|
6505
6505
|
},
|
|
6506
6506
|
async safeParseAsync(e, t) {
|
|
6507
|
-
return
|
|
6507
|
+
return Iu(this, e, t);
|
|
6508
6508
|
},
|
|
6509
6509
|
get spa() {
|
|
6510
6510
|
return this?.safeParseAsync;
|
|
@@ -6519,28 +6519,28 @@ var V = /*@__PURE__*/ F("ZodType", (e, t) => (Ku(), L.init(e, t), e.def = t, e.t
|
|
|
6519
6519
|
return ga(this, e, t);
|
|
6520
6520
|
},
|
|
6521
6521
|
encode: function e(t, n) {
|
|
6522
|
-
return
|
|
6522
|
+
return Lu(this, t, n, { callee: e });
|
|
6523
6523
|
},
|
|
6524
6524
|
decode: function e(t, n) {
|
|
6525
|
-
return
|
|
6525
|
+
return Ru(this, t, n, { callee: e });
|
|
6526
6526
|
},
|
|
6527
6527
|
encodeAsync: async function e(t, n) {
|
|
6528
|
-
return await
|
|
6528
|
+
return await zu(this, t, n, { callee: e });
|
|
6529
6529
|
},
|
|
6530
6530
|
decodeAsync: async function e(t, n) {
|
|
6531
|
-
return await
|
|
6531
|
+
return await Bu(this, t, n, { callee: e });
|
|
6532
6532
|
},
|
|
6533
6533
|
safeEncode(e, t) {
|
|
6534
|
-
return
|
|
6534
|
+
return Vu(this, e, t);
|
|
6535
6535
|
},
|
|
6536
6536
|
safeDecode(e, t) {
|
|
6537
|
-
return
|
|
6537
|
+
return Hu(this, e, t);
|
|
6538
6538
|
},
|
|
6539
6539
|
async safeEncodeAsync(e, t) {
|
|
6540
|
-
return
|
|
6540
|
+
return Uu(this, e, t);
|
|
6541
6541
|
},
|
|
6542
6542
|
async safeDecodeAsync(e, t) {
|
|
6543
|
-
return
|
|
6543
|
+
return Wu(this, e, t);
|
|
6544
6544
|
},
|
|
6545
6545
|
toJSONSchema(e) {
|
|
6546
6546
|
return zl(this, {})(e);
|
|
@@ -6551,8 +6551,8 @@ var V = /*@__PURE__*/ F("ZodType", (e, t) => (Ku(), L.init(e, t), e.def = t, e.t
|
|
|
6551
6551
|
get _def() {
|
|
6552
6552
|
return this._zod.def;
|
|
6553
6553
|
}
|
|
6554
|
-
}),
|
|
6555
|
-
Oo.init(e, t),
|
|
6554
|
+
}), qu = /*@__PURE__*/ F("_ZodString", (e, t) => {
|
|
6555
|
+
Oo.init(e, t), H.init(e, t), e._zod.processJSONSchema = (t, n, r) => nu(e, t, n, r);
|
|
6556
6556
|
}, /*@__PURE__*/ Ni({
|
|
6557
6557
|
format: (e) => Ql(e).format ?? null,
|
|
6558
6558
|
minLength: (e) => Ql(e).minimum ?? null,
|
|
@@ -6603,141 +6603,141 @@ var V = /*@__PURE__*/ F("ZodType", (e, t) => (Ku(), L.init(e, t), e.def = t, e.t
|
|
|
6603
6603
|
slugify() {
|
|
6604
6604
|
return this.check(/* @__PURE__ */ Sl());
|
|
6605
6605
|
}
|
|
6606
|
-
})),
|
|
6607
|
-
Oo.init(e, t),
|
|
6606
|
+
})), Ju = /*@__PURE__*/ F("ZodString", (e, t) => {
|
|
6607
|
+
Oo.init(e, t), qu.init(e, t);
|
|
6608
6608
|
}, {
|
|
6609
6609
|
email(e) {
|
|
6610
|
-
return this.check(/* @__PURE__ */ Tc(
|
|
6610
|
+
return this.check(/* @__PURE__ */ Tc(ed, e));
|
|
6611
6611
|
},
|
|
6612
6612
|
url(e) {
|
|
6613
|
-
return this.check(/* @__PURE__ */ jc(
|
|
6613
|
+
return this.check(/* @__PURE__ */ jc(rd, e));
|
|
6614
6614
|
},
|
|
6615
6615
|
jwt(e) {
|
|
6616
|
-
return this.check(/* @__PURE__ */ Kc(
|
|
6616
|
+
return this.check(/* @__PURE__ */ Kc(vd, e));
|
|
6617
6617
|
},
|
|
6618
6618
|
emoji(e) {
|
|
6619
|
-
return this.check(/* @__PURE__ */ Mc(
|
|
6619
|
+
return this.check(/* @__PURE__ */ Mc(id, e));
|
|
6620
6620
|
},
|
|
6621
6621
|
guid(e) {
|
|
6622
|
-
return this.check(/* @__PURE__ */ Ec(
|
|
6622
|
+
return this.check(/* @__PURE__ */ Ec(td, e));
|
|
6623
6623
|
},
|
|
6624
6624
|
uuid(e) {
|
|
6625
|
-
return this.check(/* @__PURE__ */ Dc(
|
|
6625
|
+
return this.check(/* @__PURE__ */ Dc(nd, e));
|
|
6626
6626
|
},
|
|
6627
6627
|
uuidv4(e) {
|
|
6628
|
-
return this.check(/* @__PURE__ */ Oc(
|
|
6628
|
+
return this.check(/* @__PURE__ */ Oc(nd, e));
|
|
6629
6629
|
},
|
|
6630
6630
|
uuidv6(e) {
|
|
6631
|
-
return this.check(/* @__PURE__ */ kc(
|
|
6631
|
+
return this.check(/* @__PURE__ */ kc(nd, e));
|
|
6632
6632
|
},
|
|
6633
6633
|
uuidv7(e) {
|
|
6634
|
-
return this.check(/* @__PURE__ */ Ac(
|
|
6634
|
+
return this.check(/* @__PURE__ */ Ac(nd, e));
|
|
6635
6635
|
},
|
|
6636
6636
|
nanoid(e) {
|
|
6637
|
-
return this.check(/* @__PURE__ */ Nc(
|
|
6637
|
+
return this.check(/* @__PURE__ */ Nc(ad, e));
|
|
6638
6638
|
},
|
|
6639
6639
|
cuid(e) {
|
|
6640
|
-
return this.check(/* @__PURE__ */ Pc(
|
|
6640
|
+
return this.check(/* @__PURE__ */ Pc(od, e));
|
|
6641
6641
|
},
|
|
6642
6642
|
cuid2(e) {
|
|
6643
|
-
return this.check(/* @__PURE__ */ Fc(
|
|
6643
|
+
return this.check(/* @__PURE__ */ Fc(sd, e));
|
|
6644
6644
|
},
|
|
6645
6645
|
ulid(e) {
|
|
6646
|
-
return this.check(/* @__PURE__ */ Ic(
|
|
6646
|
+
return this.check(/* @__PURE__ */ Ic(cd, e));
|
|
6647
6647
|
},
|
|
6648
6648
|
base64(e) {
|
|
6649
|
-
return this.check(/* @__PURE__ */ Uc(
|
|
6649
|
+
return this.check(/* @__PURE__ */ Uc(hd, e));
|
|
6650
6650
|
},
|
|
6651
6651
|
base64url(e) {
|
|
6652
|
-
return this.check(/* @__PURE__ */ Wc(
|
|
6652
|
+
return this.check(/* @__PURE__ */ Wc(gd, e));
|
|
6653
6653
|
},
|
|
6654
6654
|
xid(e) {
|
|
6655
|
-
return this.check(/* @__PURE__ */ Lc(
|
|
6655
|
+
return this.check(/* @__PURE__ */ Lc(ld, e));
|
|
6656
6656
|
},
|
|
6657
6657
|
ksuid(e) {
|
|
6658
|
-
return this.check(/* @__PURE__ */ Rc(
|
|
6658
|
+
return this.check(/* @__PURE__ */ Rc(ud, e));
|
|
6659
6659
|
},
|
|
6660
6660
|
ipv4(e) {
|
|
6661
|
-
return this.check(/* @__PURE__ */ zc(
|
|
6661
|
+
return this.check(/* @__PURE__ */ zc(dd, e));
|
|
6662
6662
|
},
|
|
6663
6663
|
ipv6(e) {
|
|
6664
|
-
return this.check(/* @__PURE__ */ Bc(
|
|
6664
|
+
return this.check(/* @__PURE__ */ Bc(fd, e));
|
|
6665
6665
|
},
|
|
6666
6666
|
cidrv4(e) {
|
|
6667
|
-
return this.check(/* @__PURE__ */ Vc(
|
|
6667
|
+
return this.check(/* @__PURE__ */ Vc(pd, e));
|
|
6668
6668
|
},
|
|
6669
6669
|
cidrv6(e) {
|
|
6670
|
-
return this.check(/* @__PURE__ */ Hc(
|
|
6670
|
+
return this.check(/* @__PURE__ */ Hc(md, e));
|
|
6671
6671
|
},
|
|
6672
6672
|
e164(e) {
|
|
6673
|
-
return this.check(/* @__PURE__ */ Gc(
|
|
6673
|
+
return this.check(/* @__PURE__ */ Gc(_d, e));
|
|
6674
6674
|
},
|
|
6675
6675
|
datetime(e) {
|
|
6676
|
-
return this.check(/* @__PURE__ */ qc(
|
|
6676
|
+
return this.check(/* @__PURE__ */ qc(Xu, e));
|
|
6677
6677
|
},
|
|
6678
6678
|
date(e) {
|
|
6679
|
-
return this.check(/* @__PURE__ */ Jc(
|
|
6679
|
+
return this.check(/* @__PURE__ */ Jc(Zu, e));
|
|
6680
6680
|
},
|
|
6681
6681
|
time(e) {
|
|
6682
|
-
return this.check(/* @__PURE__ */ Yc(
|
|
6682
|
+
return this.check(/* @__PURE__ */ Yc(Qu, e));
|
|
6683
6683
|
},
|
|
6684
6684
|
duration(e) {
|
|
6685
|
-
return this.check(/* @__PURE__ */ Xc(
|
|
6685
|
+
return this.check(/* @__PURE__ */ Xc($u, e));
|
|
6686
6686
|
}
|
|
6687
6687
|
});
|
|
6688
|
-
function
|
|
6689
|
-
return /* @__PURE__ */ wc(
|
|
6690
|
-
}
|
|
6691
|
-
var
|
|
6692
|
-
R.init(e, t),
|
|
6693
|
-
}),
|
|
6694
|
-
qo.init(e, t),
|
|
6695
|
-
}),
|
|
6696
|
-
Jo.init(e, t),
|
|
6697
|
-
}),
|
|
6698
|
-
Yo.init(e, t),
|
|
6699
|
-
}),
|
|
6700
|
-
Xo.init(e, t),
|
|
6701
|
-
}),
|
|
6702
|
-
jo.init(e, t),
|
|
6703
|
-
}),
|
|
6704
|
-
ko.init(e, t),
|
|
6705
|
-
}),
|
|
6706
|
-
Ao.init(e, t),
|
|
6707
|
-
}),
|
|
6708
|
-
zo.init(e, t),
|
|
6709
|
-
}),
|
|
6710
|
-
Bo.init(e, t),
|
|
6711
|
-
}),
|
|
6712
|
-
Vo.init(e, t),
|
|
6713
|
-
}),
|
|
6714
|
-
Ho.init(e, t),
|
|
6715
|
-
}),
|
|
6716
|
-
Uo.init(e, t),
|
|
6717
|
-
}),
|
|
6718
|
-
Wo.init(e, t),
|
|
6719
|
-
}),
|
|
6720
|
-
Go.init(e, t),
|
|
6721
|
-
}),
|
|
6722
|
-
Ko.init(e, t),
|
|
6723
|
-
}),
|
|
6724
|
-
Zo.init(e, t),
|
|
6725
|
-
}),
|
|
6726
|
-
es.init(e, t),
|
|
6727
|
-
}),
|
|
6728
|
-
ts.init(e, t),
|
|
6729
|
-
}),
|
|
6730
|
-
rs.init(e, t),
|
|
6731
|
-
}),
|
|
6732
|
-
os.init(e, t),
|
|
6733
|
-
}),
|
|
6734
|
-
ls.init(e, t),
|
|
6735
|
-
}),
|
|
6736
|
-
us.init(e, t),
|
|
6737
|
-
}),
|
|
6738
|
-
fs.init(e, t),
|
|
6739
|
-
}),
|
|
6740
|
-
ps.init(e, t),
|
|
6688
|
+
function Yu(e) {
|
|
6689
|
+
return /* @__PURE__ */ wc(Ju, e);
|
|
6690
|
+
}
|
|
6691
|
+
var U = /*@__PURE__*/ F("ZodStringFormat", (e, t) => {
|
|
6692
|
+
R.init(e, t), qu.init(e, t);
|
|
6693
|
+
}), Xu = /*@__PURE__*/ F("ZodISODateTime", (e, t) => {
|
|
6694
|
+
qo.init(e, t), U.init(e, t);
|
|
6695
|
+
}), Zu = /*@__PURE__*/ F("ZodISODate", (e, t) => {
|
|
6696
|
+
Jo.init(e, t), U.init(e, t);
|
|
6697
|
+
}), Qu = /*@__PURE__*/ F("ZodISOTime", (e, t) => {
|
|
6698
|
+
Yo.init(e, t), U.init(e, t);
|
|
6699
|
+
}), $u = /*@__PURE__*/ F("ZodISODuration", (e, t) => {
|
|
6700
|
+
Xo.init(e, t), U.init(e, t);
|
|
6701
|
+
}), ed = /*@__PURE__*/ F("ZodEmail", (e, t) => {
|
|
6702
|
+
jo.init(e, t), U.init(e, t);
|
|
6703
|
+
}), td = /*@__PURE__*/ F("ZodGUID", (e, t) => {
|
|
6704
|
+
ko.init(e, t), U.init(e, t);
|
|
6705
|
+
}), nd = /*@__PURE__*/ F("ZodUUID", (e, t) => {
|
|
6706
|
+
Ao.init(e, t), U.init(e, t);
|
|
6707
|
+
}), rd = /*@__PURE__*/ F("ZodURL", (e, t) => {
|
|
6708
|
+
zo.init(e, t), U.init(e, t);
|
|
6709
|
+
}), id = /*@__PURE__*/ F("ZodEmoji", (e, t) => {
|
|
6710
|
+
Bo.init(e, t), U.init(e, t);
|
|
6711
|
+
}), ad = /*@__PURE__*/ F("ZodNanoID", (e, t) => {
|
|
6712
|
+
Vo.init(e, t), U.init(e, t);
|
|
6713
|
+
}), od = /*@__PURE__*/ F("ZodCUID", (e, t) => {
|
|
6714
|
+
Ho.init(e, t), U.init(e, t);
|
|
6715
|
+
}), sd = /*@__PURE__*/ F("ZodCUID2", (e, t) => {
|
|
6716
|
+
Uo.init(e, t), U.init(e, t);
|
|
6717
|
+
}), cd = /*@__PURE__*/ F("ZodULID", (e, t) => {
|
|
6718
|
+
Wo.init(e, t), U.init(e, t);
|
|
6719
|
+
}), ld = /*@__PURE__*/ F("ZodXID", (e, t) => {
|
|
6720
|
+
Go.init(e, t), U.init(e, t);
|
|
6721
|
+
}), ud = /*@__PURE__*/ F("ZodKSUID", (e, t) => {
|
|
6722
|
+
Ko.init(e, t), U.init(e, t);
|
|
6723
|
+
}), dd = /*@__PURE__*/ F("ZodIPv4", (e, t) => {
|
|
6724
|
+
Zo.init(e, t), U.init(e, t);
|
|
6725
|
+
}), fd = /*@__PURE__*/ F("ZodIPv6", (e, t) => {
|
|
6726
|
+
es.init(e, t), U.init(e, t);
|
|
6727
|
+
}), pd = /*@__PURE__*/ F("ZodCIDRv4", (e, t) => {
|
|
6728
|
+
ts.init(e, t), U.init(e, t);
|
|
6729
|
+
}), md = /*@__PURE__*/ F("ZodCIDRv6", (e, t) => {
|
|
6730
|
+
rs.init(e, t), U.init(e, t);
|
|
6731
|
+
}), hd = /*@__PURE__*/ F("ZodBase64", (e, t) => {
|
|
6732
|
+
os.init(e, t), U.init(e, t);
|
|
6733
|
+
}), gd = /*@__PURE__*/ F("ZodBase64URL", (e, t) => {
|
|
6734
|
+
ls.init(e, t), U.init(e, t);
|
|
6735
|
+
}), _d = /*@__PURE__*/ F("ZodE164", (e, t) => {
|
|
6736
|
+
us.init(e, t), U.init(e, t);
|
|
6737
|
+
}), vd = /*@__PURE__*/ F("ZodJWT", (e, t) => {
|
|
6738
|
+
fs.init(e, t), U.init(e, t);
|
|
6739
|
+
}), yd = /*@__PURE__*/ F("ZodNumber", (e, t) => {
|
|
6740
|
+
ps.init(e, t), H.init(e, t), e._zod.processJSONSchema = (t, n, r) => ru(e, t, n, r), e.isFinite = !0;
|
|
6741
6741
|
}, /*@__PURE__*/ Ni({
|
|
6742
6742
|
minValue: (e) => {
|
|
6743
6743
|
let { minimum: t, exclusiveMinimum: n } = Ql(e);
|
|
@@ -6772,10 +6772,10 @@ var H = /*@__PURE__*/ F("ZodStringFormat", (e, t) => {
|
|
|
6772
6772
|
return this.check(/* @__PURE__ */ il(e, t));
|
|
6773
6773
|
},
|
|
6774
6774
|
int(e) {
|
|
6775
|
-
return this.check(
|
|
6775
|
+
return this.check(Sd(e));
|
|
6776
6776
|
},
|
|
6777
6777
|
safe(e) {
|
|
6778
|
-
return this.check(
|
|
6778
|
+
return this.check(Sd(e));
|
|
6779
6779
|
},
|
|
6780
6780
|
positive(e) {
|
|
6781
6781
|
return this.check(/* @__PURE__ */ al(0, e));
|
|
@@ -6799,41 +6799,41 @@ var H = /*@__PURE__*/ F("ZodStringFormat", (e, t) => {
|
|
|
6799
6799
|
return this;
|
|
6800
6800
|
}
|
|
6801
6801
|
}));
|
|
6802
|
-
function
|
|
6803
|
-
return /* @__PURE__ */ Zc(
|
|
6802
|
+
function bd(e) {
|
|
6803
|
+
return /* @__PURE__ */ Zc(yd, e);
|
|
6804
6804
|
}
|
|
6805
|
-
var
|
|
6806
|
-
ms.init(e, t),
|
|
6805
|
+
var xd = /*@__PURE__*/ F("ZodNumberFormat", (e, t) => {
|
|
6806
|
+
ms.init(e, t), yd.init(e, t);
|
|
6807
6807
|
});
|
|
6808
|
-
function
|
|
6809
|
-
return /* @__PURE__ */ Qc(
|
|
6808
|
+
function Sd(e) {
|
|
6809
|
+
return /* @__PURE__ */ Qc(xd, e);
|
|
6810
6810
|
}
|
|
6811
|
-
var
|
|
6812
|
-
hs.init(e, t),
|
|
6811
|
+
var Cd = /*@__PURE__*/ F("ZodBoolean", (e, t) => {
|
|
6812
|
+
hs.init(e, t), H.init(e, t), e._zod.processJSONSchema = (t, n, r) => iu(e, t, n, r);
|
|
6813
6813
|
});
|
|
6814
|
-
function
|
|
6815
|
-
return /* @__PURE__ */ $c(
|
|
6814
|
+
function wd(e) {
|
|
6815
|
+
return /* @__PURE__ */ $c(Cd, e);
|
|
6816
6816
|
}
|
|
6817
|
-
var
|
|
6818
|
-
gs.init(e, t),
|
|
6817
|
+
var Td = /*@__PURE__*/ F("ZodNull", (e, t) => {
|
|
6818
|
+
gs.init(e, t), H.init(e, t), e._zod.processJSONSchema = (t, n, r) => au(e, t, n, r);
|
|
6819
6819
|
});
|
|
6820
|
-
function
|
|
6821
|
-
return /* @__PURE__ */ el(
|
|
6820
|
+
function Ed(e) {
|
|
6821
|
+
return /* @__PURE__ */ el(Td, e);
|
|
6822
6822
|
}
|
|
6823
|
-
var
|
|
6824
|
-
_s.init(e, t),
|
|
6823
|
+
var Dd = /*@__PURE__*/ F("ZodUnknown", (e, t) => {
|
|
6824
|
+
_s.init(e, t), H.init(e, t), e._zod.processJSONSchema = (e, t, n) => void 0;
|
|
6825
6825
|
});
|
|
6826
|
-
function
|
|
6827
|
-
return /* @__PURE__ */ tl(
|
|
6826
|
+
function Od() {
|
|
6827
|
+
return /* @__PURE__ */ tl(Dd);
|
|
6828
6828
|
}
|
|
6829
|
-
var
|
|
6830
|
-
vs.init(e, t),
|
|
6829
|
+
var kd = /*@__PURE__*/ F("ZodNever", (e, t) => {
|
|
6830
|
+
vs.init(e, t), H.init(e, t), e._zod.processJSONSchema = (t, n, r) => ou(e, t, n, r);
|
|
6831
6831
|
});
|
|
6832
|
-
function
|
|
6833
|
-
return /* @__PURE__ */ nl(
|
|
6832
|
+
function Ad(e) {
|
|
6833
|
+
return /* @__PURE__ */ nl(kd, e);
|
|
6834
6834
|
}
|
|
6835
|
-
var
|
|
6836
|
-
|
|
6835
|
+
var jd = /*@__PURE__*/ F("ZodArray", (e, t) => {
|
|
6836
|
+
Ku(), bs.init(e, t), H.init(e, t), e._zod.processJSONSchema = (t, n, r) => du(e, t, n, r), e.element = t.element;
|
|
6837
6837
|
}, {
|
|
6838
6838
|
min(e, t) {
|
|
6839
6839
|
return this.check(/* @__PURE__ */ ll(e, t));
|
|
@@ -6851,26 +6851,26 @@ var Md = /*@__PURE__*/ F("ZodArray", (e, t) => {
|
|
|
6851
6851
|
return this.element;
|
|
6852
6852
|
}
|
|
6853
6853
|
});
|
|
6854
|
-
function
|
|
6855
|
-
return /* @__PURE__ */ Cl(
|
|
6854
|
+
function W(e, t) {
|
|
6855
|
+
return /* @__PURE__ */ Cl(jd, e, t);
|
|
6856
6856
|
}
|
|
6857
|
-
var
|
|
6858
|
-
|
|
6857
|
+
var Md = /*@__PURE__*/ F("ZodObject", (e, t) => {
|
|
6858
|
+
Ku(), Es.init(e, t), H.init(e, t), e._zod.processJSONSchema = (t, n, r) => pu(e, t, n, r), zi(e, "shape", (e) => e._zod.def.shape, !1);
|
|
6859
6859
|
}, {
|
|
6860
6860
|
keyof() {
|
|
6861
|
-
return
|
|
6861
|
+
return Bd(Object.keys(this._zod.def.shape));
|
|
6862
6862
|
},
|
|
6863
6863
|
catchall(e) {
|
|
6864
6864
|
return this.clone(M(this._zod.def, { catchall: e }));
|
|
6865
6865
|
},
|
|
6866
6866
|
passthrough() {
|
|
6867
|
-
return this.clone(M(this._zod.def, { catchall:
|
|
6867
|
+
return this.clone(M(this._zod.def, { catchall: Od() }));
|
|
6868
6868
|
},
|
|
6869
6869
|
loose() {
|
|
6870
|
-
return this.clone(M(this._zod.def, { catchall:
|
|
6870
|
+
return this.clone(M(this._zod.def, { catchall: Od() }));
|
|
6871
6871
|
},
|
|
6872
6872
|
strict() {
|
|
6873
|
-
return this.clone(M(this._zod.def, { catchall:
|
|
6873
|
+
return this.clone(M(this._zod.def, { catchall: Ad() }));
|
|
6874
6874
|
},
|
|
6875
6875
|
strip() {
|
|
6876
6876
|
return this.clone(M(this._zod.def, { catchall: void 0 }));
|
|
@@ -6900,65 +6900,65 @@ var Nd = /*@__PURE__*/ F("ZodObject", (e, t) => {
|
|
|
6900
6900
|
return vi(ef, this, e[0]);
|
|
6901
6901
|
}
|
|
6902
6902
|
});
|
|
6903
|
-
function
|
|
6904
|
-
return new
|
|
6903
|
+
function G(e, t) {
|
|
6904
|
+
return new Md({
|
|
6905
6905
|
type: "object",
|
|
6906
6906
|
shape: e ?? {},
|
|
6907
6907
|
...N(t)
|
|
6908
6908
|
});
|
|
6909
6909
|
}
|
|
6910
|
-
function
|
|
6911
|
-
return new
|
|
6910
|
+
function Nd(e, t) {
|
|
6911
|
+
return new Md({
|
|
6912
6912
|
type: "object",
|
|
6913
6913
|
shape: e,
|
|
6914
|
-
catchall:
|
|
6914
|
+
catchall: Ad(),
|
|
6915
6915
|
...N(t)
|
|
6916
6916
|
});
|
|
6917
6917
|
}
|
|
6918
|
-
var
|
|
6919
|
-
Os.init(e, t),
|
|
6918
|
+
var Pd = /*@__PURE__*/ F("ZodUnion", (e, t) => {
|
|
6919
|
+
Os.init(e, t), H.init(e, t), e._zod.processJSONSchema = (t, n, r) => mu(e, t, n, r), e.options = t.options;
|
|
6920
6920
|
});
|
|
6921
|
-
function
|
|
6922
|
-
return new
|
|
6921
|
+
function K(e, t) {
|
|
6922
|
+
return new Pd({
|
|
6923
6923
|
type: "union",
|
|
6924
6924
|
options: e,
|
|
6925
6925
|
...N(t)
|
|
6926
6926
|
});
|
|
6927
6927
|
}
|
|
6928
|
-
var
|
|
6929
|
-
ks.init(e, t),
|
|
6928
|
+
var Fd = /*@__PURE__*/ F("ZodIntersection", (e, t) => {
|
|
6929
|
+
ks.init(e, t), H.init(e, t), e._zod.processJSONSchema = (t, n, r) => hu(e, t, n, r);
|
|
6930
6930
|
});
|
|
6931
|
-
function
|
|
6932
|
-
return new
|
|
6931
|
+
function Id(e, t) {
|
|
6932
|
+
return new Fd({
|
|
6933
6933
|
type: "intersection",
|
|
6934
6934
|
left: e,
|
|
6935
6935
|
right: t
|
|
6936
6936
|
});
|
|
6937
6937
|
}
|
|
6938
|
-
var
|
|
6939
|
-
|
|
6938
|
+
var Ld = /*@__PURE__*/ F("ZodRecord", (e, t) => {
|
|
6939
|
+
Ku(), Ms.init(e, t), H.init(e, t), e._zod.processJSONSchema = (t, n, r) => yu(e, t, n, r), e.keyType = t.keyType, e.valueType = t.valueType;
|
|
6940
6940
|
});
|
|
6941
|
-
function
|
|
6942
|
-
return !t || !t._zod ? new
|
|
6941
|
+
function Rd(e, t, n) {
|
|
6942
|
+
return !t || !t._zod ? new Ld({
|
|
6943
6943
|
type: "record",
|
|
6944
|
-
keyType:
|
|
6944
|
+
keyType: Yu(),
|
|
6945
6945
|
valueType: e,
|
|
6946
6946
|
...N(t)
|
|
6947
|
-
}) : new
|
|
6947
|
+
}) : new Ld({
|
|
6948
6948
|
type: "record",
|
|
6949
6949
|
keyType: e,
|
|
6950
6950
|
valueType: t,
|
|
6951
6951
|
...N(n)
|
|
6952
6952
|
});
|
|
6953
6953
|
}
|
|
6954
|
-
var
|
|
6955
|
-
Ns.init(e, t),
|
|
6954
|
+
var zd = /*@__PURE__*/ F("ZodEnum", (e, t) => {
|
|
6955
|
+
Ns.init(e, t), H.init(e, t), e._zod.processJSONSchema = (t, n, r) => su(e, t, n, r), e.enum = t.entries, e.options = [...e._zod.values];
|
|
6956
6956
|
let n = new Set(Object.keys(t.entries));
|
|
6957
6957
|
e.extract = (e, r) => {
|
|
6958
6958
|
let i = {};
|
|
6959
6959
|
for (let r of e) if (n.has(r)) i[r] = t.entries[r];
|
|
6960
6960
|
else throw Error(`Key ${r} not found in enum`);
|
|
6961
|
-
return new
|
|
6961
|
+
return new zd({
|
|
6962
6962
|
...t,
|
|
6963
6963
|
checks: [],
|
|
6964
6964
|
...N(r),
|
|
@@ -6968,7 +6968,7 @@ var Bd = /*@__PURE__*/ F("ZodEnum", (e, t) => {
|
|
|
6968
6968
|
let i = { ...t.entries };
|
|
6969
6969
|
for (let t of e) if (n.has(t)) delete i[t];
|
|
6970
6970
|
else throw Error(`Key ${t} not found in enum`);
|
|
6971
|
-
return new
|
|
6971
|
+
return new zd({
|
|
6972
6972
|
...t,
|
|
6973
6973
|
checks: [],
|
|
6974
6974
|
...N(r),
|
|
@@ -6976,15 +6976,15 @@ var Bd = /*@__PURE__*/ F("ZodEnum", (e, t) => {
|
|
|
6976
6976
|
});
|
|
6977
6977
|
};
|
|
6978
6978
|
});
|
|
6979
|
-
function
|
|
6980
|
-
return new
|
|
6979
|
+
function Bd(e, t) {
|
|
6980
|
+
return new zd({
|
|
6981
6981
|
type: "enum",
|
|
6982
6982
|
entries: Array.isArray(e) ? Object.fromEntries(e.map((e) => [e, e])) : e,
|
|
6983
6983
|
...N(t)
|
|
6984
6984
|
});
|
|
6985
6985
|
}
|
|
6986
6986
|
var Vd = /*@__PURE__*/ F("ZodLiteral", (e, t) => {
|
|
6987
|
-
Ps.init(e, t),
|
|
6987
|
+
Ps.init(e, t), H.init(e, t), e._zod.processJSONSchema = (t, n, r) => cu(e, t, n, r), e.values = new Set(t.values), Object.defineProperty(e, "value", { get() {
|
|
6988
6988
|
if (t.values.length > 1) throw Error("This schema contains multiple valid literal values. Use `.values` instead.");
|
|
6989
6989
|
return t.values[0];
|
|
6990
6990
|
} });
|
|
@@ -6997,7 +6997,7 @@ function q(e, t) {
|
|
|
6997
6997
|
});
|
|
6998
6998
|
}
|
|
6999
6999
|
var Hd = /*@__PURE__*/ F("ZodTransform", (e, t) => {
|
|
7000
|
-
|
|
7000
|
+
Ku(), Fs.init(e, t), H.init(e, t), e._zod.processJSONSchema = (t, n, r) => uu(e, t, n, r), e._zod.parse = (n, r) => {
|
|
7001
7001
|
if (r.direction === "backward") throw new qi(e.constructor.name);
|
|
7002
7002
|
n.addIssue = (r) => {
|
|
7003
7003
|
if (typeof r == "string") n.issues.push(ki(r, n.value, t));
|
|
@@ -7017,7 +7017,7 @@ function Ud(e) {
|
|
|
7017
7017
|
});
|
|
7018
7018
|
}
|
|
7019
7019
|
var Wd = /*@__PURE__*/ F("ZodOptional", (e, t) => {
|
|
7020
|
-
Ls.init(e, t),
|
|
7020
|
+
Ls.init(e, t), H.init(e, t), e._zod.processJSONSchema = (t, n, r) => ku(e, t, n, r), e.unwrap = () => e._zod.def.innerType;
|
|
7021
7021
|
});
|
|
7022
7022
|
function Gd(e) {
|
|
7023
7023
|
return new Wd({
|
|
@@ -7026,7 +7026,7 @@ function Gd(e) {
|
|
|
7026
7026
|
});
|
|
7027
7027
|
}
|
|
7028
7028
|
var Kd = /*@__PURE__*/ F("ZodExactOptional", (e, t) => {
|
|
7029
|
-
Rs.init(e, t),
|
|
7029
|
+
Rs.init(e, t), H.init(e, t), e._zod.processJSONSchema = (t, n, r) => ku(e, t, n, r), e.unwrap = () => e._zod.def.innerType;
|
|
7030
7030
|
});
|
|
7031
7031
|
function qd(e) {
|
|
7032
7032
|
return new Kd({
|
|
@@ -7035,7 +7035,7 @@ function qd(e) {
|
|
|
7035
7035
|
});
|
|
7036
7036
|
}
|
|
7037
7037
|
var Jd = /*@__PURE__*/ F("ZodNullable", (e, t) => {
|
|
7038
|
-
zs.init(e, t),
|
|
7038
|
+
zs.init(e, t), H.init(e, t), e._zod.processJSONSchema = (t, n, r) => bu(e, t, n, r), e.unwrap = () => e._zod.def.innerType;
|
|
7039
7039
|
});
|
|
7040
7040
|
function Yd(e) {
|
|
7041
7041
|
return new Jd({
|
|
@@ -7044,7 +7044,7 @@ function Yd(e) {
|
|
|
7044
7044
|
});
|
|
7045
7045
|
}
|
|
7046
7046
|
var Xd = /*@__PURE__*/ F("ZodDefault", (e, t) => {
|
|
7047
|
-
Bs.init(e, t),
|
|
7047
|
+
Bs.init(e, t), H.init(e, t), e._zod.processJSONSchema = (t, n, r) => wu(e, t, n, r), e.unwrap = () => e._zod.def.innerType, e.removeDefault = e.unwrap;
|
|
7048
7048
|
});
|
|
7049
7049
|
function Zd(e, t) {
|
|
7050
7050
|
return new Xd({
|
|
@@ -7056,7 +7056,7 @@ function Zd(e, t) {
|
|
|
7056
7056
|
});
|
|
7057
7057
|
}
|
|
7058
7058
|
var Qd = /*@__PURE__*/ F("ZodPrefault", (e, t) => {
|
|
7059
|
-
Hs.init(e, t),
|
|
7059
|
+
Hs.init(e, t), H.init(e, t), e._zod.processJSONSchema = (t, n, r) => Tu(e, t, n, r), e.unwrap = () => e._zod.def.innerType;
|
|
7060
7060
|
});
|
|
7061
7061
|
function $d(e, t) {
|
|
7062
7062
|
return new Qd({
|
|
@@ -7068,7 +7068,7 @@ function $d(e, t) {
|
|
|
7068
7068
|
});
|
|
7069
7069
|
}
|
|
7070
7070
|
var ef = /*@__PURE__*/ F("ZodNonOptional", (e, t) => {
|
|
7071
|
-
Us.init(e, t),
|
|
7071
|
+
Us.init(e, t), H.init(e, t), e._zod.processJSONSchema = (t, n, r) => xu(e, t, n, r), e.unwrap = () => e._zod.def.innerType;
|
|
7072
7072
|
});
|
|
7073
7073
|
function tf(e, t) {
|
|
7074
7074
|
return new ef({
|
|
@@ -7078,7 +7078,7 @@ function tf(e, t) {
|
|
|
7078
7078
|
});
|
|
7079
7079
|
}
|
|
7080
7080
|
var nf = /*@__PURE__*/ F("ZodCatch", (e, t) => {
|
|
7081
|
-
Ks.init(e, t),
|
|
7081
|
+
Ks.init(e, t), H.init(e, t), e._zod.processJSONSchema = (t, n, r) => Eu(e, t, n, r), e.unwrap = () => e._zod.def.innerType, e.removeCatch = e.unwrap;
|
|
7082
7082
|
});
|
|
7083
7083
|
function rf(e, t) {
|
|
7084
7084
|
return new nf({
|
|
@@ -7088,7 +7088,7 @@ function rf(e, t) {
|
|
|
7088
7088
|
});
|
|
7089
7089
|
}
|
|
7090
7090
|
var af = /*@__PURE__*/ F("ZodPipe", (e, t) => {
|
|
7091
|
-
qs.init(e, t),
|
|
7091
|
+
qs.init(e, t), H.init(e, t), e._zod.processJSONSchema = (t, n, r) => Du(e, t, n, r), e.in = t.in, e.out = t.out;
|
|
7092
7092
|
});
|
|
7093
7093
|
function of(e, t) {
|
|
7094
7094
|
return new af({
|
|
@@ -7098,7 +7098,7 @@ function of(e, t) {
|
|
|
7098
7098
|
});
|
|
7099
7099
|
}
|
|
7100
7100
|
var sf = /*@__PURE__*/ F("ZodReadonly", (e, t) => {
|
|
7101
|
-
Ys.init(e, t),
|
|
7101
|
+
Ys.init(e, t), H.init(e, t), e._zod.processJSONSchema = (t, n, r) => Ou(e, t, n, r), e.unwrap = () => e._zod.def.innerType;
|
|
7102
7102
|
});
|
|
7103
7103
|
function cf(e) {
|
|
7104
7104
|
return new sf({
|
|
@@ -7107,7 +7107,7 @@ function cf(e) {
|
|
|
7107
7107
|
});
|
|
7108
7108
|
}
|
|
7109
7109
|
var lf = /*@__PURE__*/ F("ZodLazy", (e, t) => {
|
|
7110
|
-
Zs.init(e, t),
|
|
7110
|
+
Zs.init(e, t), H.init(e, t), e._zod.processJSONSchema = (t, n, r) => Au(e, t, n, r), e.unwrap = () => e._zod.def.getter();
|
|
7111
7111
|
});
|
|
7112
7112
|
function uf(e) {
|
|
7113
7113
|
return new lf({
|
|
@@ -7116,7 +7116,7 @@ function uf(e) {
|
|
|
7116
7116
|
});
|
|
7117
7117
|
}
|
|
7118
7118
|
var df = /*@__PURE__*/ F("ZodCustom", (e, t) => {
|
|
7119
|
-
Qs.init(e, t),
|
|
7119
|
+
Qs.init(e, t), H.init(e, t), e._zod.processJSONSchema = (t, n, r) => lu(e, t, n, r);
|
|
7120
7120
|
});
|
|
7121
7121
|
function ff(e, t = {}) {
|
|
7122
7122
|
return /* @__PURE__ */ wl(df, e, t);
|
|
@@ -7125,148 +7125,163 @@ function pf(e, t) {
|
|
|
7125
7125
|
return /* @__PURE__ */ Tl(e, t);
|
|
7126
7126
|
}
|
|
7127
7127
|
function mf(e) {
|
|
7128
|
-
let t = uf(() =>
|
|
7129
|
-
|
|
7130
|
-
|
|
7131
|
-
|
|
7132
|
-
|
|
7133
|
-
|
|
7134
|
-
|
|
7128
|
+
let t = uf(() => K([
|
|
7129
|
+
Yu(e),
|
|
7130
|
+
bd(),
|
|
7131
|
+
wd(),
|
|
7132
|
+
Ed(),
|
|
7133
|
+
W(t),
|
|
7134
|
+
Rd(Yu(), t)
|
|
7135
7135
|
]));
|
|
7136
7136
|
return t;
|
|
7137
7137
|
}
|
|
7138
7138
|
//#endregion
|
|
7139
7139
|
//#region src/flow/common/triggerScheduleSchema.ts
|
|
7140
|
-
var hf =
|
|
7140
|
+
var hf = W(K([G({
|
|
7141
7141
|
type: q("cron"),
|
|
7142
|
-
expression:
|
|
7143
|
-
timezone:
|
|
7144
|
-
}),
|
|
7142
|
+
expression: Yu(),
|
|
7143
|
+
timezone: Yu()
|
|
7144
|
+
}), G({
|
|
7145
7145
|
type: q("every"),
|
|
7146
|
-
unit:
|
|
7146
|
+
unit: Bd([
|
|
7147
7147
|
"day",
|
|
7148
7148
|
"hour",
|
|
7149
7149
|
"minute",
|
|
7150
7150
|
"month",
|
|
7151
7151
|
"week"
|
|
7152
7152
|
]),
|
|
7153
|
-
value:
|
|
7153
|
+
value: bd()
|
|
7154
7154
|
})])), gf = [
|
|
7155
7155
|
"GET",
|
|
7156
7156
|
"POST",
|
|
7157
7157
|
"PUT",
|
|
7158
7158
|
"PATCH",
|
|
7159
7159
|
"DELETE"
|
|
7160
|
-
], J =
|
|
7160
|
+
], J = Yu(), _f = mf(), vf = W(J), yf = G({
|
|
7161
7161
|
description: J.optional(),
|
|
7162
7162
|
jsonSchema: _f,
|
|
7163
|
-
nullable:
|
|
7163
|
+
nullable: wd(),
|
|
7164
7164
|
handle: J
|
|
7165
|
-
}), Y = yf.extend({ value: _f.optional() }), bf =
|
|
7166
|
-
collapsed:
|
|
7165
|
+
}), Y = yf.extend({ value: _f.optional() }), bf = G({
|
|
7166
|
+
collapsed: wd().optional(),
|
|
7167
7167
|
group: J
|
|
7168
|
-
}), xf =
|
|
7168
|
+
}), xf = G({
|
|
7169
7169
|
kind: q("node"),
|
|
7170
7170
|
nodeId: J,
|
|
7171
7171
|
output: J,
|
|
7172
7172
|
field: J.optional()
|
|
7173
|
-
}), Sf =
|
|
7173
|
+
}), Sf = G({
|
|
7174
7174
|
kind: q("flow"),
|
|
7175
7175
|
input: J
|
|
7176
|
-
}), Cf =
|
|
7176
|
+
}), Cf = K([
|
|
7177
7177
|
xf,
|
|
7178
7178
|
Sf,
|
|
7179
|
-
|
|
7179
|
+
G({
|
|
7180
7180
|
kind: q("binding"),
|
|
7181
7181
|
bindingId: J
|
|
7182
7182
|
})
|
|
7183
|
-
]), wf =
|
|
7183
|
+
]), wf = K([G({ kind: q("unset") }), G({
|
|
7184
7184
|
kind: q("value"),
|
|
7185
7185
|
value: _f
|
|
7186
|
-
})]), Tf =
|
|
7186
|
+
})]), Tf = K([wf, G({
|
|
7187
7187
|
kind: q("sources"),
|
|
7188
|
-
sources:
|
|
7189
|
-
})]), Ef =
|
|
7190
|
-
inputs:
|
|
7191
|
-
outputs:
|
|
7192
|
-
}, Of =
|
|
7193
|
-
|
|
7194
|
-
|
|
7195
|
-
connectionId: J.optional(),
|
|
7196
|
-
connections: U(Pd({
|
|
7197
|
-
connectionId: J,
|
|
7198
|
-
alias: J.optional()
|
|
7199
|
-
}))
|
|
7200
|
-
}), Pd({
|
|
7201
|
-
kind: q("connector"),
|
|
7202
|
-
actionHints: U(J).optional(),
|
|
7203
|
-
connectionHints: U(Pd({
|
|
7188
|
+
sources: W(Cf)
|
|
7189
|
+
})]), Ef = Rd(J, Tf), Df = {
|
|
7190
|
+
inputs: W(K([Y, bf])),
|
|
7191
|
+
outputs: W(K([yf, bf]))
|
|
7192
|
+
}, Of = K([
|
|
7193
|
+
Nd({
|
|
7194
|
+
kind: q("connector"),
|
|
7204
7195
|
action: J,
|
|
7205
|
-
connectionId: J,
|
|
7206
|
-
|
|
7207
|
-
|
|
7208
|
-
|
|
7196
|
+
connectionId: J.optional(),
|
|
7197
|
+
connections: W(Nd({
|
|
7198
|
+
connectionId: J,
|
|
7199
|
+
alias: J.optional()
|
|
7200
|
+
}))
|
|
7201
|
+
}),
|
|
7202
|
+
Nd({
|
|
7203
|
+
kind: q("connector"),
|
|
7204
|
+
mode: q("shared")
|
|
7205
|
+
}),
|
|
7206
|
+
Nd({
|
|
7207
|
+
kind: q("connector"),
|
|
7208
|
+
mode: q("independent"),
|
|
7209
|
+
actions: W(Nd({
|
|
7210
|
+
action: J,
|
|
7211
|
+
connectionId: J.optional()
|
|
7212
|
+
}))
|
|
7213
|
+
}),
|
|
7214
|
+
Nd({
|
|
7215
|
+
kind: q("connector"),
|
|
7216
|
+
actionHints: W(J).optional(),
|
|
7217
|
+
connectionHints: W(Nd({
|
|
7218
|
+
action: J,
|
|
7219
|
+
connectionId: J,
|
|
7220
|
+
alias: J.optional()
|
|
7221
|
+
})).optional()
|
|
7222
|
+
})
|
|
7223
|
+
]), kf = G({
|
|
7209
7224
|
...Df,
|
|
7210
7225
|
name: J,
|
|
7211
7226
|
moduleId: J,
|
|
7212
|
-
capabilities:
|
|
7213
|
-
}), Af =
|
|
7227
|
+
capabilities: W(Of).optional()
|
|
7228
|
+
}), Af = K([G({
|
|
7214
7229
|
kind: q("value"),
|
|
7215
7230
|
value: _f
|
|
7216
|
-
}),
|
|
7231
|
+
}), G({
|
|
7217
7232
|
kind: q("input"),
|
|
7218
7233
|
input: J
|
|
7219
|
-
})]), jf =
|
|
7234
|
+
})]), jf = K([Af, G({ kind: q("model") })]), Mf = G({
|
|
7220
7235
|
...Df,
|
|
7221
7236
|
name: J,
|
|
7222
|
-
executor:
|
|
7223
|
-
|
|
7237
|
+
executor: K([
|
|
7238
|
+
G({
|
|
7224
7239
|
kind: q("connector"),
|
|
7225
7240
|
action: J,
|
|
7226
7241
|
connectionId: J.optional()
|
|
7227
7242
|
}),
|
|
7228
|
-
|
|
7243
|
+
G({
|
|
7229
7244
|
kind: q("llm"),
|
|
7230
|
-
mode:
|
|
7245
|
+
mode: Bd(["chat", "json"])
|
|
7231
7246
|
}),
|
|
7232
|
-
|
|
7247
|
+
G({
|
|
7233
7248
|
kind: q("agent"),
|
|
7234
|
-
code:
|
|
7249
|
+
code: wd().optional(),
|
|
7235
7250
|
model: J,
|
|
7236
7251
|
prompt: Af,
|
|
7237
7252
|
system: J,
|
|
7238
|
-
maxRounds:
|
|
7239
|
-
tools:
|
|
7253
|
+
maxRounds: bd(),
|
|
7254
|
+
tools: W(G({
|
|
7240
7255
|
id: J,
|
|
7241
7256
|
name: J,
|
|
7242
7257
|
description: J,
|
|
7243
7258
|
action: J,
|
|
7244
7259
|
connectionId: J.optional(),
|
|
7245
|
-
approval:
|
|
7246
|
-
inputs:
|
|
7260
|
+
approval: wd(),
|
|
7261
|
+
inputs: W(Y.extend({ source: jf }))
|
|
7247
7262
|
})),
|
|
7248
|
-
notification:
|
|
7263
|
+
notification: G({
|
|
7249
7264
|
taskId: J,
|
|
7250
7265
|
messageHandle: J,
|
|
7251
|
-
inputs:
|
|
7266
|
+
inputs: Rd(J, Af)
|
|
7252
7267
|
}).optional()
|
|
7253
7268
|
})
|
|
7254
7269
|
])
|
|
7255
|
-
}), Nf =
|
|
7270
|
+
}), Nf = K([G({
|
|
7256
7271
|
kind: q("value"),
|
|
7257
7272
|
value: _f.optional(),
|
|
7258
7273
|
jsonSchema: _f.optional()
|
|
7259
|
-
}),
|
|
7274
|
+
}), G({
|
|
7260
7275
|
kind: q("source"),
|
|
7261
7276
|
source: Cf
|
|
7262
7277
|
})]), Pf = {
|
|
7263
|
-
matchMode:
|
|
7264
|
-
cases:
|
|
7278
|
+
matchMode: Bd(["first", "all"]),
|
|
7279
|
+
cases: W(G({
|
|
7265
7280
|
description: J.optional(),
|
|
7266
7281
|
output: J,
|
|
7267
|
-
groups:
|
|
7282
|
+
groups: W(G({ expressions: W(G({
|
|
7268
7283
|
left: Nf,
|
|
7269
|
-
operator:
|
|
7284
|
+
operator: Bd([
|
|
7270
7285
|
"!=",
|
|
7271
7286
|
"<",
|
|
7272
7287
|
"<=",
|
|
@@ -7292,18 +7307,18 @@ var hf = U(G([W({
|
|
|
7292
7307
|
})) }))
|
|
7293
7308
|
}))
|
|
7294
7309
|
}, Ff = {
|
|
7295
|
-
inputDefinitions:
|
|
7310
|
+
inputDefinitions: W(Y),
|
|
7296
7311
|
prompt: J
|
|
7297
|
-
}, If =
|
|
7298
|
-
allowedMethods:
|
|
7312
|
+
}, If = G({
|
|
7313
|
+
allowedMethods: Ad().optional(),
|
|
7299
7314
|
allowedOrigins: vf.optional(),
|
|
7300
|
-
noResponseBody:
|
|
7315
|
+
noResponseBody: Ad().optional(),
|
|
7301
7316
|
responseData: J.optional(),
|
|
7302
|
-
responseHeaders:
|
|
7303
|
-
responseStatusCode:
|
|
7317
|
+
responseHeaders: Rd(J, J).optional(),
|
|
7318
|
+
responseStatusCode: bd().int().min(200).max(599).optional()
|
|
7304
7319
|
}), Lf = {
|
|
7305
|
-
bodyFields:
|
|
7306
|
-
method:
|
|
7320
|
+
bodyFields: W(Y),
|
|
7321
|
+
method: Bd(gf),
|
|
7307
7322
|
options: If.optional()
|
|
7308
7323
|
}, Rf = {
|
|
7309
7324
|
configInputs: Df.inputs,
|
|
@@ -7312,20 +7327,20 @@ var hf = U(G([W({
|
|
|
7312
7327
|
displayName: J,
|
|
7313
7328
|
key: J,
|
|
7314
7329
|
name: J,
|
|
7315
|
-
outputs:
|
|
7330
|
+
outputs: W(yf).refine((e) => new Set(e.map((e) => e.handle)).size === e.length, "Duplicate Trigger output handle."),
|
|
7316
7331
|
provider: J
|
|
7317
|
-
}, zf =
|
|
7318
|
-
body:
|
|
7319
|
-
allowArray:
|
|
7320
|
-
allowEmpty:
|
|
7321
|
-
formats:
|
|
7332
|
+
}, zf = G({
|
|
7333
|
+
body: G({
|
|
7334
|
+
allowArray: wd(),
|
|
7335
|
+
allowEmpty: wd(),
|
|
7336
|
+
formats: W(Bd([
|
|
7322
7337
|
"form",
|
|
7323
7338
|
"json",
|
|
7324
7339
|
"multipart",
|
|
7325
7340
|
"text"
|
|
7326
7341
|
]))
|
|
7327
7342
|
}),
|
|
7328
|
-
methods:
|
|
7343
|
+
methods: W(Bd([
|
|
7329
7344
|
"DELETE",
|
|
7330
7345
|
"GET",
|
|
7331
7346
|
"HEAD",
|
|
@@ -7333,128 +7348,128 @@ var hf = U(G([W({
|
|
|
7333
7348
|
"POST",
|
|
7334
7349
|
"PUT"
|
|
7335
7350
|
])),
|
|
7336
|
-
successStatus:
|
|
7351
|
+
successStatus: bd()
|
|
7337
7352
|
}), Bf = {
|
|
7338
7353
|
name: J,
|
|
7339
7354
|
description: J.optional(),
|
|
7340
7355
|
icon: J.optional()
|
|
7341
7356
|
}, Vf = {
|
|
7342
|
-
maxExecutions:
|
|
7357
|
+
maxExecutions: bd().int().positive().max(2 ** 53 - 1).optional(),
|
|
7343
7358
|
inputs: Ef,
|
|
7344
7359
|
name: J.optional(),
|
|
7345
7360
|
description: J.optional(),
|
|
7346
7361
|
icon: J.optional(),
|
|
7347
|
-
timeoutMs:
|
|
7348
|
-
}, Hf =
|
|
7349
|
-
|
|
7362
|
+
timeoutMs: bd().optional()
|
|
7363
|
+
}, Hf = K([
|
|
7364
|
+
G({
|
|
7350
7365
|
...Vf,
|
|
7351
|
-
inputs:
|
|
7366
|
+
inputs: Rd(J, Ad()),
|
|
7352
7367
|
kind: q("condition"),
|
|
7353
7368
|
...Pf
|
|
7354
7369
|
}),
|
|
7355
|
-
|
|
7370
|
+
G({
|
|
7356
7371
|
...Vf,
|
|
7357
|
-
inputs:
|
|
7372
|
+
inputs: Od().transform(() => ({})).default({}),
|
|
7358
7373
|
kind: q("value"),
|
|
7359
|
-
values:
|
|
7374
|
+
values: W(Y)
|
|
7360
7375
|
}),
|
|
7361
|
-
|
|
7376
|
+
G({
|
|
7362
7377
|
...Vf,
|
|
7363
7378
|
kind: q("subflow"),
|
|
7364
7379
|
subflowId: J
|
|
7365
7380
|
}),
|
|
7366
|
-
|
|
7381
|
+
G({
|
|
7367
7382
|
...Vf,
|
|
7368
7383
|
kind: q("task"),
|
|
7369
7384
|
task: kf,
|
|
7370
|
-
additionalInputs:
|
|
7385
|
+
additionalInputs: W(Y).optional()
|
|
7371
7386
|
}),
|
|
7372
|
-
|
|
7387
|
+
G({
|
|
7373
7388
|
...Vf,
|
|
7374
7389
|
kind: q("task"),
|
|
7375
7390
|
taskId: J,
|
|
7376
|
-
additionalInputs:
|
|
7391
|
+
additionalInputs: W(Y).optional()
|
|
7377
7392
|
}),
|
|
7378
|
-
|
|
7393
|
+
Nd({
|
|
7379
7394
|
...Vf,
|
|
7380
7395
|
kind: q("approval"),
|
|
7381
7396
|
...Ff
|
|
7382
7397
|
}).omit({ timeoutMs: !0 }),
|
|
7383
|
-
|
|
7398
|
+
Nd({
|
|
7384
7399
|
...Vf,
|
|
7385
7400
|
kind: q("wait"),
|
|
7386
7401
|
...Ff
|
|
7387
7402
|
}).omit({ timeoutMs: !0 }),
|
|
7388
|
-
|
|
7403
|
+
G({
|
|
7389
7404
|
...Bf,
|
|
7390
7405
|
kind: q("manual")
|
|
7391
7406
|
}),
|
|
7392
|
-
|
|
7407
|
+
G({
|
|
7393
7408
|
...Bf,
|
|
7394
7409
|
kind: q("webhook"),
|
|
7395
7410
|
...Lf
|
|
7396
7411
|
}),
|
|
7397
|
-
|
|
7412
|
+
G({
|
|
7398
7413
|
...Bf,
|
|
7399
7414
|
kind: q("cron"),
|
|
7400
7415
|
cronTimes: hf
|
|
7401
7416
|
}),
|
|
7402
|
-
|
|
7417
|
+
G({
|
|
7403
7418
|
...Bf,
|
|
7404
7419
|
kind: q("poll"),
|
|
7405
|
-
|
|
7406
|
-
config:
|
|
7407
|
-
definition:
|
|
7420
|
+
connectionId: J.min(1).optional(),
|
|
7421
|
+
config: Rd(J, wf),
|
|
7422
|
+
definition: G({
|
|
7408
7423
|
...Rf,
|
|
7409
7424
|
type: q("poll")
|
|
7410
7425
|
}),
|
|
7411
7426
|
pollTimes: hf
|
|
7412
7427
|
}),
|
|
7413
|
-
|
|
7428
|
+
G({
|
|
7414
7429
|
...Bf,
|
|
7415
7430
|
kind: q("integration"),
|
|
7416
|
-
|
|
7417
|
-
config:
|
|
7418
|
-
definition:
|
|
7431
|
+
connectionId: J.min(1).optional(),
|
|
7432
|
+
config: Rd(J, wf),
|
|
7433
|
+
definition: G({
|
|
7419
7434
|
...Rf,
|
|
7420
7435
|
type: q("integration"),
|
|
7421
7436
|
endpoint: zf
|
|
7422
7437
|
})
|
|
7423
7438
|
})
|
|
7424
|
-
]), Uf =
|
|
7439
|
+
]), Uf = K([G({ kind: q("flow") }), G({
|
|
7425
7440
|
kind: q("subflow"),
|
|
7426
7441
|
id: J
|
|
7427
|
-
})]), Wf =
|
|
7442
|
+
})]), Wf = G({
|
|
7428
7443
|
source: J,
|
|
7429
7444
|
target: J,
|
|
7430
7445
|
sourceHandle: J.optional()
|
|
7431
7446
|
}), X = {
|
|
7432
7447
|
nodeId: J,
|
|
7433
7448
|
target: Uf
|
|
7434
|
-
}, Gf =
|
|
7449
|
+
}, Gf = G({
|
|
7435
7450
|
name: J,
|
|
7436
|
-
inputs:
|
|
7437
|
-
outputs:
|
|
7438
|
-
}), Kf =
|
|
7439
|
-
nodes:
|
|
7440
|
-
edges:
|
|
7441
|
-
}), qf =
|
|
7442
|
-
kind:
|
|
7451
|
+
inputs: W(Y),
|
|
7452
|
+
outputs: W(yf.extend({ sources: W(K([xf, Sf])) }))
|
|
7453
|
+
}), Kf = G({
|
|
7454
|
+
nodes: Rd(J, Hf),
|
|
7455
|
+
edges: W(Wf).default([])
|
|
7456
|
+
}), qf = G({
|
|
7457
|
+
kind: q("variable"),
|
|
7443
7458
|
target: J
|
|
7444
|
-
}), Jf =
|
|
7459
|
+
}), Jf = G({
|
|
7445
7460
|
name: J,
|
|
7446
7461
|
imports: vf,
|
|
7447
7462
|
source: J
|
|
7448
|
-
}), Yf =
|
|
7449
|
-
bindings:
|
|
7463
|
+
}), Yf = G({
|
|
7464
|
+
bindings: Rd(J, qf),
|
|
7450
7465
|
graph: Kf,
|
|
7451
|
-
subflows:
|
|
7452
|
-
tasks:
|
|
7466
|
+
subflows: Rd(J, Gf.extend({ graph: Kf })),
|
|
7467
|
+
tasks: Rd(J, Mf)
|
|
7453
7468
|
});
|
|
7454
|
-
|
|
7455
|
-
modelVersion:
|
|
7469
|
+
G({
|
|
7470
|
+
modelVersion: K([q(2), q(4)]),
|
|
7456
7471
|
document: Yf,
|
|
7457
|
-
modules:
|
|
7472
|
+
modules: Rd(J, Jf)
|
|
7458
7473
|
}).extend({
|
|
7459
7474
|
kind: q("open-flow-flow-revision"),
|
|
7460
7475
|
version: q(1)
|
|
@@ -7483,11 +7498,18 @@ var Xf = {
|
|
|
7483
7498
|
node: Hf
|
|
7484
7499
|
},
|
|
7485
7500
|
"graph.node.delete": X,
|
|
7486
|
-
"graph.node.field.set":
|
|
7487
|
-
|
|
7501
|
+
"graph.node.field.set": K([
|
|
7502
|
+
G({
|
|
7503
|
+
...X,
|
|
7504
|
+
kind: q("graph.node.field.set"),
|
|
7505
|
+
field: q("connectionId"),
|
|
7506
|
+
before: J.min(1).optional(),
|
|
7507
|
+
value: J.min(1).optional()
|
|
7508
|
+
}),
|
|
7509
|
+
G({
|
|
7488
7510
|
...X,
|
|
7489
7511
|
kind: q("graph.node.field.set"),
|
|
7490
|
-
field:
|
|
7512
|
+
field: Bd([
|
|
7491
7513
|
"description",
|
|
7492
7514
|
"icon",
|
|
7493
7515
|
"name"
|
|
@@ -7495,19 +7517,19 @@ var Xf = {
|
|
|
7495
7517
|
before: J.optional(),
|
|
7496
7518
|
value: J.optional()
|
|
7497
7519
|
}),
|
|
7498
|
-
|
|
7520
|
+
G({
|
|
7499
7521
|
...X,
|
|
7500
7522
|
kind: q("graph.node.field.set"),
|
|
7501
7523
|
field: q("maxExecutions"),
|
|
7502
|
-
before:
|
|
7503
|
-
value:
|
|
7524
|
+
before: bd().int().positive().max(2 ** 53 - 1).optional(),
|
|
7525
|
+
value: bd().int().positive().max(2 ** 53 - 1).optional()
|
|
7504
7526
|
}),
|
|
7505
|
-
|
|
7527
|
+
G({
|
|
7506
7528
|
...X,
|
|
7507
7529
|
kind: q("graph.node.field.set"),
|
|
7508
7530
|
field: q("timeoutMs"),
|
|
7509
|
-
before:
|
|
7510
|
-
value:
|
|
7531
|
+
before: bd().optional(),
|
|
7532
|
+
value: bd().optional()
|
|
7511
7533
|
})
|
|
7512
7534
|
]),
|
|
7513
7535
|
"graph.node.input.set": {
|
|
@@ -7518,35 +7540,35 @@ var Xf = {
|
|
|
7518
7540
|
},
|
|
7519
7541
|
"graph.node.additional-inputs.set": {
|
|
7520
7542
|
...X,
|
|
7521
|
-
before:
|
|
7522
|
-
value:
|
|
7543
|
+
before: W(Y).optional(),
|
|
7544
|
+
value: W(Y).optional()
|
|
7523
7545
|
},
|
|
7524
7546
|
"graph.node.condition.set": {
|
|
7525
7547
|
...X,
|
|
7526
|
-
before:
|
|
7527
|
-
value:
|
|
7548
|
+
before: G(Pf),
|
|
7549
|
+
value: G(Pf)
|
|
7528
7550
|
},
|
|
7529
7551
|
"graph.node.values.set": {
|
|
7530
7552
|
...X,
|
|
7531
|
-
before:
|
|
7532
|
-
value:
|
|
7553
|
+
before: W(Y),
|
|
7554
|
+
value: W(Y)
|
|
7533
7555
|
},
|
|
7534
7556
|
"graph.node.resolution.set": {
|
|
7535
7557
|
...X,
|
|
7536
|
-
target:
|
|
7537
|
-
before:
|
|
7538
|
-
value:
|
|
7558
|
+
target: G({ kind: q("flow") }),
|
|
7559
|
+
before: G(Ff),
|
|
7560
|
+
value: G(Ff)
|
|
7539
7561
|
},
|
|
7540
7562
|
"graph.node.webhook.set": {
|
|
7541
7563
|
...X,
|
|
7542
|
-
target:
|
|
7543
|
-
before:
|
|
7544
|
-
value:
|
|
7564
|
+
target: G({ kind: q("flow") }),
|
|
7565
|
+
before: G(Lf),
|
|
7566
|
+
value: G(Lf)
|
|
7545
7567
|
},
|
|
7546
7568
|
"graph.node.task.ports.set": {
|
|
7547
7569
|
...X,
|
|
7548
|
-
before:
|
|
7549
|
-
value:
|
|
7570
|
+
before: G(Df),
|
|
7571
|
+
value: G(Df)
|
|
7550
7572
|
},
|
|
7551
7573
|
"graph.node.task.name.set": {
|
|
7552
7574
|
...X,
|
|
@@ -7555,8 +7577,8 @@ var Xf = {
|
|
|
7555
7577
|
},
|
|
7556
7578
|
"graph.node.task.capabilities.set": {
|
|
7557
7579
|
...X,
|
|
7558
|
-
before:
|
|
7559
|
-
value:
|
|
7580
|
+
before: W(Of).optional(),
|
|
7581
|
+
value: W(Of).optional()
|
|
7560
7582
|
},
|
|
7561
7583
|
"graph.trigger.config.set": {
|
|
7562
7584
|
nodeId: J,
|
|
@@ -7613,8 +7635,8 @@ var Xf = {
|
|
|
7613
7635
|
},
|
|
7614
7636
|
"task.llm.mode.set": {
|
|
7615
7637
|
taskId: J,
|
|
7616
|
-
before:
|
|
7617
|
-
value:
|
|
7638
|
+
before: Bd(["chat", "json"]),
|
|
7639
|
+
value: Bd(["chat", "json"])
|
|
7618
7640
|
},
|
|
7619
7641
|
"task.name.set": {
|
|
7620
7642
|
taskId: J,
|
|
@@ -7622,7 +7644,7 @@ var Xf = {
|
|
|
7622
7644
|
value: J
|
|
7623
7645
|
}
|
|
7624
7646
|
};
|
|
7625
|
-
|
|
7647
|
+
W(K([...new Map(Object.entries(Xf).map(([e, t]) => [e, t instanceof H ? t : G({
|
|
7626
7648
|
kind: q(e),
|
|
7627
7649
|
...t
|
|
7628
7650
|
})])).values()])).min(1);
|