@opencxh/domain 1.173.1 → 1.174.0
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/entities/activity/types.d.ts +6 -1
- package/dist/index.cjs +6 -6
- package/dist/index.js +326 -320
- package/dist/text/message.d.ts +3 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const
|
|
1
|
+
const wn = 10, Mn = 10, kn = 10, Cn = 5, Ie = /* @__PURE__ */ new Set([
|
|
2
2
|
"header",
|
|
3
3
|
"section",
|
|
4
4
|
"context",
|
|
@@ -14,7 +14,7 @@ function T(e) {
|
|
|
14
14
|
const t = e;
|
|
15
15
|
return typeof t.key == "string" || typeof t.value == "string";
|
|
16
16
|
}
|
|
17
|
-
function
|
|
17
|
+
function Nn(e, t = () => {
|
|
18
18
|
}) {
|
|
19
19
|
if (!Array.isArray(e)) return [];
|
|
20
20
|
const n = [];
|
|
@@ -426,40 +426,40 @@ const m = {
|
|
|
426
426
|
}
|
|
427
427
|
};
|
|
428
428
|
function R(e) {
|
|
429
|
-
const t = e.payload, n = t.bodySnippet?.trim() || we(t.body ?? "");
|
|
429
|
+
const t = e.payload, n = t.bodyText?.trim() || t.bodySnippet?.trim() || we(t.body ?? "");
|
|
430
430
|
return t.subject ? `${t.subject} — ${n}` : n;
|
|
431
431
|
}
|
|
432
432
|
function d(e) {
|
|
433
433
|
return m[e];
|
|
434
434
|
}
|
|
435
|
-
function
|
|
435
|
+
function vn(e) {
|
|
436
436
|
return d(e)?.icon ?? "circle";
|
|
437
437
|
}
|
|
438
|
-
function
|
|
438
|
+
function On(e) {
|
|
439
439
|
return d(e)?.channelKind;
|
|
440
440
|
}
|
|
441
441
|
function ae(e) {
|
|
442
442
|
return e === "message" || e === "note";
|
|
443
443
|
}
|
|
444
|
-
function
|
|
444
|
+
function xn(e) {
|
|
445
445
|
return ae(d(e)?.shape);
|
|
446
446
|
}
|
|
447
|
-
function
|
|
447
|
+
function $n(e) {
|
|
448
448
|
return d(e)?.replyable === !0;
|
|
449
449
|
}
|
|
450
|
-
function
|
|
450
|
+
function Rn(e) {
|
|
451
451
|
return d(e)?.carriesText === !0;
|
|
452
452
|
}
|
|
453
|
-
function
|
|
453
|
+
function Ln(e) {
|
|
454
454
|
return d(e)?.countsAs;
|
|
455
455
|
}
|
|
456
|
-
function
|
|
456
|
+
function Dn(e) {
|
|
457
457
|
return d(e)?.playbookAuthored === !0;
|
|
458
458
|
}
|
|
459
|
-
function
|
|
459
|
+
function Pn(e) {
|
|
460
460
|
return d(e)?.connected === !0;
|
|
461
461
|
}
|
|
462
|
-
function
|
|
462
|
+
function Kn(e) {
|
|
463
463
|
const t = d(e);
|
|
464
464
|
return t?.shape === "artifact" && t?.carriesText === !0;
|
|
465
465
|
}
|
|
@@ -467,11 +467,11 @@ function Me(e) {
|
|
|
467
467
|
const t = d(e.type)?.snippet;
|
|
468
468
|
return t ? t(e) : "";
|
|
469
469
|
}
|
|
470
|
-
function
|
|
470
|
+
function Un(e, t) {
|
|
471
471
|
const n = d(e.type)?.timeline;
|
|
472
472
|
return n ? n(e, t) : e.type.replace(/_/g, " ").toLowerCase();
|
|
473
473
|
}
|
|
474
|
-
function
|
|
474
|
+
function jn(e) {
|
|
475
475
|
const t = d(e.type)?.joinUrl;
|
|
476
476
|
return t ? t(e) : void 0;
|
|
477
477
|
}
|
|
@@ -506,7 +506,7 @@ function Ce(e) {
|
|
|
506
506
|
const t = e.trim();
|
|
507
507
|
return t.length <= L ? t : `${t.slice(0, L - 1).trimEnd()}…`;
|
|
508
508
|
}
|
|
509
|
-
function
|
|
509
|
+
function Gn(e, t) {
|
|
510
510
|
const n = ke(t?.text, e), r = t ? N(t.text, e, (i) => i) : null;
|
|
511
511
|
return {
|
|
512
512
|
activityId: e.id,
|
|
@@ -636,20 +636,20 @@ class ve {
|
|
|
636
636
|
return this.translate;
|
|
637
637
|
}
|
|
638
638
|
}
|
|
639
|
-
const
|
|
640
|
-
function
|
|
639
|
+
const Bn = new ve();
|
|
640
|
+
function Fn(e, t, n = []) {
|
|
641
641
|
const r = e.createdAt;
|
|
642
642
|
if (!r) return [];
|
|
643
643
|
const i = new Set(n);
|
|
644
644
|
return e.author.type === "user" && e.author.id && i.add(e.author.id), Object.entries(t).filter(([a, o]) => o >= r && !i.has(a)).map(([a]) => a);
|
|
645
645
|
}
|
|
646
|
-
function
|
|
646
|
+
function Hn(e) {
|
|
647
647
|
return e.createdAt ?? 0;
|
|
648
648
|
}
|
|
649
649
|
function Vn(e) {
|
|
650
650
|
return e.type === "EMAIL_RECEIVED" || e.type === "EMAIL_SENT";
|
|
651
651
|
}
|
|
652
|
-
function
|
|
652
|
+
function Wn(e) {
|
|
653
653
|
return e.type === "CHAT_MESSAGE_SENT" || e.type === "CHAT_MESSAGE_RECEIVED";
|
|
654
654
|
}
|
|
655
655
|
const oe = [
|
|
@@ -745,23 +745,23 @@ const oe = [
|
|
|
745
745
|
function S(e) {
|
|
746
746
|
return oe.find((t) => t.id === e);
|
|
747
747
|
}
|
|
748
|
-
function
|
|
748
|
+
function zn(e) {
|
|
749
749
|
return S(e)?.label ?? e;
|
|
750
750
|
}
|
|
751
|
-
function
|
|
751
|
+
function Xn(e, t = "gpt-5-mini") {
|
|
752
752
|
return S(e)?.defaultModel ?? t;
|
|
753
753
|
}
|
|
754
|
-
function
|
|
754
|
+
function Yn(e) {
|
|
755
755
|
return oe.filter((t) => t.capabilities.includes(e));
|
|
756
756
|
}
|
|
757
|
-
function
|
|
757
|
+
function qn(e) {
|
|
758
758
|
const t = S(e);
|
|
759
759
|
return !!t && !t.baseUrl;
|
|
760
760
|
}
|
|
761
|
-
function
|
|
761
|
+
function Jn(e, t) {
|
|
762
762
|
return t === "text" ? !0 : S(e)?.attachmentKinds?.includes(t) === !0;
|
|
763
763
|
}
|
|
764
|
-
function
|
|
764
|
+
function Zn(e, t) {
|
|
765
765
|
if (!e.enabled) return "ok";
|
|
766
766
|
const n = K(e.hardLimitNanos), r = K(e.softLimitNanos);
|
|
767
767
|
return n !== void 0 && t >= n ? "hard" : r !== void 0 && t >= r ? "soft" : "ok";
|
|
@@ -773,21 +773,21 @@ function Oe(e, t = "month") {
|
|
|
773
773
|
const n = new Date(e);
|
|
774
774
|
return Date.UTC(n.getUTCFullYear(), n.getUTCMonth(), 1);
|
|
775
775
|
}
|
|
776
|
-
function
|
|
776
|
+
function Qn(e, t = "month") {
|
|
777
777
|
const n = new Date(Oe(e, t));
|
|
778
778
|
return `${n.getUTCFullYear()}-${String(n.getUTCMonth() + 1).padStart(2, "0")}`;
|
|
779
779
|
}
|
|
780
|
-
function
|
|
780
|
+
function er(e) {
|
|
781
781
|
return e?.listeningEnabled !== !1;
|
|
782
782
|
}
|
|
783
|
-
function
|
|
783
|
+
function tr(e) {
|
|
784
784
|
const t = [];
|
|
785
785
|
for (const n of Object.keys(e))
|
|
786
786
|
for (const r of Object.keys(e[n]))
|
|
787
787
|
t.push({ lang: n, key: r, value: e[n][r] });
|
|
788
788
|
return t;
|
|
789
789
|
}
|
|
790
|
-
const
|
|
790
|
+
const nr = [
|
|
791
791
|
{ id: "agent", label: "Agent", labelSource: "user" },
|
|
792
792
|
{ id: "team", label: "Team", labelSource: "team" },
|
|
793
793
|
{ id: "inbox", label: "Inbox", labelSource: "inbox" },
|
|
@@ -809,7 +809,7 @@ function $e(e, t) {
|
|
|
809
809
|
return n.setUTCMinutes(0, 0, 0), t === "day" && n.setUTCHours(0), n.getTime();
|
|
810
810
|
}
|
|
811
811
|
const Re = 36e5, Le = 864e5;
|
|
812
|
-
function
|
|
812
|
+
function rr(e, t, n) {
|
|
813
813
|
const r = n === "hour" ? Re : Le, i = [];
|
|
814
814
|
for (let a = $e(e, n); a <= t; a += r)
|
|
815
815
|
i.push(xe(a, n));
|
|
@@ -822,7 +822,7 @@ const De = [
|
|
|
822
822
|
function Ke(e, t) {
|
|
823
823
|
return `${e}.usage.${t}`;
|
|
824
824
|
}
|
|
825
|
-
function
|
|
825
|
+
function ir(e, t) {
|
|
826
826
|
return t.map((n) => ({
|
|
827
827
|
id: Ke(e, n.unit),
|
|
828
828
|
label: n.label,
|
|
@@ -837,7 +837,7 @@ function rr(e, t) {
|
|
|
837
837
|
]
|
|
838
838
|
}));
|
|
839
839
|
}
|
|
840
|
-
const se = /* @__PURE__ */ new Set(["info", "success", "warning", "destructive"]), U = 200, j = 100, G = 200, B = 12, F = 4, ce = 4e3, M = 500,
|
|
840
|
+
const se = /* @__PURE__ */ new Set(["info", "success", "warning", "destructive"]), U = 200, j = 100, G = 200, B = 12, F = 4, ce = 4e3, M = 500, ar = 256 * 1024, Ue = /* @__PURE__ */ new Set([
|
|
841
841
|
"heading",
|
|
842
842
|
"paragraph",
|
|
843
843
|
"list",
|
|
@@ -863,12 +863,12 @@ function Fe(e) {
|
|
|
863
863
|
t += e[n], n += 1;
|
|
864
864
|
continue;
|
|
865
865
|
}
|
|
866
|
-
const i = n + (r ? 2 : 1), a =
|
|
866
|
+
const i = n + (r ? 2 : 1), a = H(e, i, "[", "]");
|
|
867
867
|
if (a < 0 || e[a + 1] !== "(") {
|
|
868
868
|
t += e[n], n += 1;
|
|
869
869
|
continue;
|
|
870
870
|
}
|
|
871
|
-
const o =
|
|
871
|
+
const o = H(e, a + 2, "(", ")");
|
|
872
872
|
if (o < 0) {
|
|
873
873
|
t += e[n], n += 1;
|
|
874
874
|
continue;
|
|
@@ -878,7 +878,7 @@ function Fe(e) {
|
|
|
878
878
|
}
|
|
879
879
|
return t;
|
|
880
880
|
}
|
|
881
|
-
function
|
|
881
|
+
function H(e, t, n, r) {
|
|
882
882
|
let i = 1;
|
|
883
883
|
for (let a = t; a < e.length; a += 1) {
|
|
884
884
|
if (e[a] === "\\") {
|
|
@@ -891,22 +891,22 @@ function V(e, t, n, r) {
|
|
|
891
891
|
}
|
|
892
892
|
return -1;
|
|
893
893
|
}
|
|
894
|
-
function
|
|
894
|
+
function He(e) {
|
|
895
895
|
return Fe(e).replace(
|
|
896
896
|
Be,
|
|
897
897
|
(t, n, r) => le(r) ? t : ""
|
|
898
898
|
);
|
|
899
899
|
}
|
|
900
900
|
function u(e, t = ce) {
|
|
901
|
-
return typeof e == "string" ?
|
|
901
|
+
return typeof e == "string" ? He(e).slice(0, t) : "";
|
|
902
902
|
}
|
|
903
|
-
function
|
|
903
|
+
function Ve(e, t = ce) {
|
|
904
904
|
return typeof e == "string" ? e.slice(0, t) : "";
|
|
905
905
|
}
|
|
906
906
|
function We(e, t = "info") {
|
|
907
907
|
return typeof e == "string" && se.has(e) ? e : t;
|
|
908
908
|
}
|
|
909
|
-
function
|
|
909
|
+
function or(e, t = () => {
|
|
910
910
|
}) {
|
|
911
911
|
if (!Array.isArray(e)) return [];
|
|
912
912
|
const n = [];
|
|
@@ -952,7 +952,7 @@ function ar(e, t = () => {
|
|
|
952
952
|
break;
|
|
953
953
|
}
|
|
954
954
|
case "code": {
|
|
955
|
-
const o =
|
|
955
|
+
const o = Ve(i.text);
|
|
956
956
|
if (!o) {
|
|
957
957
|
t("a code block without text");
|
|
958
958
|
continue;
|
|
@@ -1058,25 +1058,25 @@ function ar(e, t = () => {
|
|
|
1058
1058
|
}
|
|
1059
1059
|
return n;
|
|
1060
1060
|
}
|
|
1061
|
-
function
|
|
1061
|
+
function sr(e) {
|
|
1062
1062
|
return JSON.stringify(e).length;
|
|
1063
1063
|
}
|
|
1064
|
-
function
|
|
1064
|
+
function cr(e) {
|
|
1065
1065
|
return {
|
|
1066
1066
|
blocks: e.length,
|
|
1067
1067
|
types: e.map((t) => t.type),
|
|
1068
1068
|
headings: e.flatMap((t) => t.type === "heading" ? [t.text] : [])
|
|
1069
1069
|
};
|
|
1070
1070
|
}
|
|
1071
|
-
function
|
|
1071
|
+
function V(e) {
|
|
1072
1072
|
return e.replace(/\|/g, "\\|").replace(/\r?\n/g, " ").trim();
|
|
1073
1073
|
}
|
|
1074
1074
|
function W(e, t, n) {
|
|
1075
1075
|
const r = e.map((i, a) => n?.[a] === "right" ? "---:" : "---");
|
|
1076
1076
|
return [
|
|
1077
|
-
`| ${e.map(
|
|
1077
|
+
`| ${e.map(V).join(" | ")} |`,
|
|
1078
1078
|
`| ${r.join(" | ")} |`,
|
|
1079
|
-
...t.map((i) => `| ${i.map(
|
|
1079
|
+
...t.map((i) => `| ${i.map(V).join(" | ")} |`)
|
|
1080
1080
|
];
|
|
1081
1081
|
}
|
|
1082
1082
|
function ze(e) {
|
|
@@ -1113,7 +1113,7 @@ function ze(e) {
|
|
|
1113
1113
|
return (e.title ? `**${e.title}** ${e.text}` : e.text).split(/\r?\n/).map((n) => `> ${n}`);
|
|
1114
1114
|
}
|
|
1115
1115
|
}
|
|
1116
|
-
function
|
|
1116
|
+
function lr(e, t) {
|
|
1117
1117
|
const n = [], r = e.some((i) => i.type === "heading" && i.level === 1);
|
|
1118
1118
|
t && !r && n.push(`# ${t}`);
|
|
1119
1119
|
for (const i of e) {
|
|
@@ -1127,40 +1127,40 @@ function cr(e, t) {
|
|
|
1127
1127
|
`;
|
|
1128
1128
|
}
|
|
1129
1129
|
const ue = (e) => `user:${e}`, de = (e) => `team:${e}`;
|
|
1130
|
-
function
|
|
1130
|
+
function ur(e) {
|
|
1131
1131
|
const t = /* @__PURE__ */ new Set();
|
|
1132
1132
|
for (const n of e ?? [])
|
|
1133
1133
|
n?.id && (n.kind === "user" && t.add(ue(n.id)), n.kind === "team" && t.add(de(n.id)));
|
|
1134
1134
|
return [...t].sort();
|
|
1135
1135
|
}
|
|
1136
|
-
function
|
|
1136
|
+
function dr(e, t) {
|
|
1137
1137
|
return [ue(e), ...t.map(de)];
|
|
1138
1138
|
}
|
|
1139
|
-
function
|
|
1139
|
+
function pr(e) {
|
|
1140
1140
|
const t = /* @__PURE__ */ new Set();
|
|
1141
1141
|
for (const n of e ?? [])
|
|
1142
1142
|
n?.kind && t.add(n.kind);
|
|
1143
1143
|
return [...t];
|
|
1144
1144
|
}
|
|
1145
1145
|
const Xe = ["done", "escalated"];
|
|
1146
|
-
function
|
|
1146
|
+
function fr(e) {
|
|
1147
1147
|
return Xe.includes(e);
|
|
1148
1148
|
}
|
|
1149
1149
|
const Ye = "assignment";
|
|
1150
|
-
function
|
|
1150
|
+
function mr(e) {
|
|
1151
1151
|
return `${Ye}:${e}`;
|
|
1152
1152
|
}
|
|
1153
|
-
function
|
|
1153
|
+
function gr(e, t, n) {
|
|
1154
1154
|
if (e.direction === "inbound") return !0;
|
|
1155
1155
|
if (e.author?.type === "user" && e.author.id === t) return !1;
|
|
1156
1156
|
const r = e.payload?.mentions;
|
|
1157
1157
|
return Array.isArray(r) && r.includes(t) ? !0 : n === "reply";
|
|
1158
1158
|
}
|
|
1159
|
-
function
|
|
1159
|
+
function hr(e) {
|
|
1160
1160
|
return e.subjectKind && e.subjectId ? { type: e.subjectKind, id: e.subjectId } : void 0;
|
|
1161
1161
|
}
|
|
1162
1162
|
const qe = 12;
|
|
1163
|
-
function
|
|
1163
|
+
function yr(e, t, n = qe) {
|
|
1164
1164
|
const r = t + 1;
|
|
1165
1165
|
return e ? e.kind === "done" ? { status: "done", waitingOn: null, turns: r, reason: e.note } : e.kind === "escalate" ? { status: "escalated", waitingOn: null, turns: r, reason: e.reason } : r >= n ? {
|
|
1166
1166
|
status: "escalated",
|
|
@@ -1174,35 +1174,35 @@ function hr(e, t, n = qe) {
|
|
|
1174
1174
|
reason: "de agent rondde zijn beurt af zonder te zeggen wat er moet gebeuren (wachten, afronden of overdragen)"
|
|
1175
1175
|
};
|
|
1176
1176
|
}
|
|
1177
|
-
const
|
|
1177
|
+
const Ar = /* @__PURE__ */ new Set(["mail", "message"]);
|
|
1178
1178
|
function Je(e, t) {
|
|
1179
1179
|
const n = e.settings?.signatures?.[t];
|
|
1180
1180
|
return !n?.enabled || !n.body || n.body.trim() === "" ? null : n;
|
|
1181
1181
|
}
|
|
1182
|
-
function
|
|
1182
|
+
function br(e, t, n, r = "html") {
|
|
1183
1183
|
if (!e) return n;
|
|
1184
1184
|
const i = Je(e, t);
|
|
1185
1185
|
return i ? `${n}${r === "text" ? `
|
|
1186
1186
|
|
|
1187
1187
|
` : t === "mail" ? "<br><br>-- <br>" : "<br><br>"}${i.body}` : n;
|
|
1188
1188
|
}
|
|
1189
|
-
function
|
|
1189
|
+
function Er(e) {
|
|
1190
1190
|
return e.endpoints ?? [];
|
|
1191
1191
|
}
|
|
1192
|
-
const
|
|
1192
|
+
const Sr = (e) => !!e.assignedUserId || !!e.assignedInboxId, _r = (e) => e.status === "closed", Tr = (e) => ({
|
|
1193
1193
|
urgent: 10,
|
|
1194
1194
|
high: 5,
|
|
1195
1195
|
normal: 2,
|
|
1196
1196
|
low: 1
|
|
1197
|
-
})[e.priority] || 0,
|
|
1198
|
-
function
|
|
1197
|
+
})[e.priority] || 0, Ir = (e, t = 30) => e.title?.length <= t ? e.title : `${e.title.substring(0, t)}...`;
|
|
1198
|
+
function wr(e, t) {
|
|
1199
1199
|
return e.lastActivityAt ? !(e.seenBy ?? []).includes(t) : !1;
|
|
1200
1200
|
}
|
|
1201
|
-
function
|
|
1201
|
+
function Mr(e, t) {
|
|
1202
1202
|
const n = e.labels ?? [];
|
|
1203
1203
|
return n.find((r) => r.locale === t)?.label ?? n[0]?.label ?? e.url;
|
|
1204
1204
|
}
|
|
1205
|
-
function
|
|
1205
|
+
function kr(e, t, n) {
|
|
1206
1206
|
const r = e.translations ?? [];
|
|
1207
1207
|
return r.find((i) => i.locale === t) ?? (n ? r.find((i) => i.locale === n) : void 0) ?? { locale: t };
|
|
1208
1208
|
}
|
|
@@ -1225,10 +1225,10 @@ function pe(e) {
|
|
|
1225
1225
|
const t = (e ?? "").toLowerCase();
|
|
1226
1226
|
return z.find((n) => n.code === t) ?? z.find((n) => n.code === t.split("-")[0]);
|
|
1227
1227
|
}
|
|
1228
|
-
function
|
|
1228
|
+
function Cr(e) {
|
|
1229
1229
|
return pe(e)?.label ?? e;
|
|
1230
1230
|
}
|
|
1231
|
-
function
|
|
1231
|
+
function Nr(e) {
|
|
1232
1232
|
const t = pe(e);
|
|
1233
1233
|
return t ? t.english === t.label ? `${t.english} (${t.code})` : `${t.english} — ${t.label} (${t.code})` : e;
|
|
1234
1234
|
}
|
|
@@ -1242,7 +1242,7 @@ function Ze(e, t) {
|
|
|
1242
1242
|
}
|
|
1243
1243
|
return r;
|
|
1244
1244
|
}
|
|
1245
|
-
function
|
|
1245
|
+
function vr(e, t, n) {
|
|
1246
1246
|
if (!e) return !0;
|
|
1247
1247
|
if (e === t) return !1;
|
|
1248
1248
|
const r = new Map(n.map((o) => [o.id, o]));
|
|
@@ -1270,13 +1270,13 @@ const et = "en";
|
|
|
1270
1270
|
function tt(e) {
|
|
1271
1271
|
return e.defaultLocale || e.locale || et;
|
|
1272
1272
|
}
|
|
1273
|
-
function
|
|
1273
|
+
function Or(e) {
|
|
1274
1274
|
const t = /* @__PURE__ */ new Set(), n = [];
|
|
1275
1275
|
for (const r of [tt(e), ...e.locales ?? []])
|
|
1276
1276
|
!r || t.has(r) || (t.add(r), n.push(r));
|
|
1277
1277
|
return n;
|
|
1278
1278
|
}
|
|
1279
|
-
function
|
|
1279
|
+
function xr(e, t, n) {
|
|
1280
1280
|
const r = e.translations ?? [];
|
|
1281
1281
|
return r.find((i) => i.locale === t)?.name ?? (n ? r.find((i) => i.locale === n)?.name : void 0) ?? e.name;
|
|
1282
1282
|
}
|
|
@@ -1307,17 +1307,17 @@ function nt(e, t) {
|
|
|
1307
1307
|
return e.userId === t.userId;
|
|
1308
1308
|
}
|
|
1309
1309
|
}
|
|
1310
|
-
function
|
|
1310
|
+
function $r(e, t) {
|
|
1311
1311
|
return e.filter((n) => n.enabled && nt(n.ownerScope, t));
|
|
1312
1312
|
}
|
|
1313
|
-
function
|
|
1313
|
+
function Rr(e) {
|
|
1314
1314
|
return e.credentialScope ? e.credentialScope : (e.authMode ?? "header") === "header" || e.oauth?.scope === "org" ? "shared" : "per-user";
|
|
1315
1315
|
}
|
|
1316
|
-
function
|
|
1316
|
+
function Lr(e) {
|
|
1317
1317
|
return `mcp__${e}__`;
|
|
1318
1318
|
}
|
|
1319
|
-
const
|
|
1320
|
-
function
|
|
1319
|
+
const Dr = 1e3, Pr = 2e3, Kr = 500, Ur = 12e3, jr = 4e3, rt = ["contact", "company"];
|
|
1320
|
+
function Gr(e) {
|
|
1321
1321
|
if (!e) return !1;
|
|
1322
1322
|
const t = e.slice(0, e.indexOf(":"));
|
|
1323
1323
|
return rt.includes(t);
|
|
@@ -1332,7 +1332,7 @@ function it(e) {
|
|
|
1332
1332
|
return "org";
|
|
1333
1333
|
}
|
|
1334
1334
|
}
|
|
1335
|
-
function
|
|
1335
|
+
function Br(e) {
|
|
1336
1336
|
if (typeof e != "string") return;
|
|
1337
1337
|
const t = e.trim();
|
|
1338
1338
|
if (t === "org") return { kind: "org" };
|
|
@@ -1358,10 +1358,10 @@ function ot(e) {
|
|
|
1358
1358
|
}
|
|
1359
1359
|
}
|
|
1360
1360
|
const st = ot;
|
|
1361
|
-
function
|
|
1361
|
+
function Fr(e) {
|
|
1362
1362
|
return e.agentId ? { kind: "user", userId: e.agentId } : st(e.ownerScope);
|
|
1363
1363
|
}
|
|
1364
|
-
function
|
|
1364
|
+
function Hr(e) {
|
|
1365
1365
|
return at(e);
|
|
1366
1366
|
}
|
|
1367
1367
|
function Vr(e, t) {
|
|
@@ -1373,24 +1373,24 @@ function Vr(e, t) {
|
|
|
1373
1373
|
}
|
|
1374
1374
|
return n;
|
|
1375
1375
|
}
|
|
1376
|
-
function
|
|
1376
|
+
function Wr(e, t) {
|
|
1377
1377
|
return e.targets.find((n) => n.activityTypes.includes(t));
|
|
1378
1378
|
}
|
|
1379
|
-
function
|
|
1379
|
+
function zr(e, t) {
|
|
1380
1380
|
if (t)
|
|
1381
1381
|
return e.targets.find((n) => n.id === t);
|
|
1382
1382
|
}
|
|
1383
1383
|
function ct(e) {
|
|
1384
1384
|
return e?.kind === "assignment";
|
|
1385
1385
|
}
|
|
1386
|
-
function
|
|
1386
|
+
function Xr(e) {
|
|
1387
1387
|
const { trigger: t, agentId: n, target: r, activityType: i, assigneeUserId: a, authorUserId: o } = e;
|
|
1388
1388
|
return ct(t) ? n ? r ? r.activityTypes.includes(i) ? a ? a !== n ? "assigned to someone else" : o && o === n ? "the agent assigned this to itself, which would restart its own run" : null : `no assignee found at ${r.assigneePath}` : `activity type ${i} does not announce an assignment for ${r.id}` : `assignment target kind "${t.targetKind}" is not declared by any installed app` : "this playbook has no agent, so an assignment can never be for it" : "trigger is not an assignment trigger";
|
|
1389
1389
|
}
|
|
1390
|
-
function
|
|
1390
|
+
function Yr(e) {
|
|
1391
1391
|
return (e.startsWith("tool:") ? e.slice(5) : e).replace(/__/g, " · ").replace(/\./g, " · ").replace(/_/g, " ");
|
|
1392
1392
|
}
|
|
1393
|
-
const
|
|
1393
|
+
const qr = [
|
|
1394
1394
|
{ name: "text", type: "string" },
|
|
1395
1395
|
{ name: "subject", type: "string" },
|
|
1396
1396
|
{ name: "from", type: "string" },
|
|
@@ -1420,7 +1420,7 @@ const Yr = [
|
|
|
1420
1420
|
// `buildTriggerVars` cannot fill it itself: the job does that with the catalog in hand, before
|
|
1421
1421
|
// the trigger filter runs — like contactId/companyId above.
|
|
1422
1422
|
{ name: "assigneeUserId", type: "string" }
|
|
1423
|
-
],
|
|
1423
|
+
], Jr = {
|
|
1424
1424
|
topics: [
|
|
1425
1425
|
{ name: "topicId", type: "string" },
|
|
1426
1426
|
{ name: "topic", type: "string" },
|
|
@@ -1442,60 +1442,60 @@ function dt(e) {
|
|
|
1442
1442
|
return e?.type === ut ? e.id : void 0;
|
|
1443
1443
|
}
|
|
1444
1444
|
const pt = 64, ft = 8e3;
|
|
1445
|
-
function
|
|
1445
|
+
function Zr(e) {
|
|
1446
1446
|
const t = typeof e == "number" ? e : Number(String(e ?? "").trim());
|
|
1447
1447
|
if (!(!Number.isFinite(t) || t <= 0))
|
|
1448
1448
|
return Math.min(Math.max(Math.round(t), pt), ft);
|
|
1449
1449
|
}
|
|
1450
|
-
const
|
|
1451
|
-
function
|
|
1450
|
+
const Qr = { kind: "workflow", steps: [] };
|
|
1451
|
+
function ei(e) {
|
|
1452
1452
|
return e?.kind === "workflow" ? e.steps : [];
|
|
1453
1453
|
}
|
|
1454
|
-
function
|
|
1454
|
+
function ti(e) {
|
|
1455
1455
|
return e?.kind === "procedure" ? e.procedure : void 0;
|
|
1456
1456
|
}
|
|
1457
1457
|
const mt = ["done", "escalated", "failed", "stopped"];
|
|
1458
|
-
function
|
|
1458
|
+
function ni(e) {
|
|
1459
1459
|
return mt.includes(e);
|
|
1460
1460
|
}
|
|
1461
1461
|
function gt(e) {
|
|
1462
1462
|
return e === "waiting";
|
|
1463
1463
|
}
|
|
1464
|
-
function
|
|
1464
|
+
function ri(e) {
|
|
1465
1465
|
return e === "running" || gt(e);
|
|
1466
1466
|
}
|
|
1467
1467
|
function ge(e) {
|
|
1468
1468
|
return e.subjectKind && e.subjectId ? { type: e.subjectKind, id: e.subjectId } : void 0;
|
|
1469
1469
|
}
|
|
1470
|
-
function
|
|
1470
|
+
function ii(e) {
|
|
1471
1471
|
const t = ge(e);
|
|
1472
1472
|
return t ? lt(t) : void 0;
|
|
1473
1473
|
}
|
|
1474
|
-
function
|
|
1474
|
+
function ai(e) {
|
|
1475
1475
|
return dt(ge(e));
|
|
1476
1476
|
}
|
|
1477
|
-
function
|
|
1477
|
+
function oi(e, t) {
|
|
1478
1478
|
const n = e.accumulatedSeconds || 0;
|
|
1479
1479
|
return e.runningSince ? n + Math.max(0, Math.floor((t - e.runningSince) / 1e3)) : n;
|
|
1480
1480
|
}
|
|
1481
|
-
function
|
|
1481
|
+
function si(e, t) {
|
|
1482
1482
|
const n = Math.max(1, Math.ceil(Math.max(0, e) / 60));
|
|
1483
1483
|
if (!t || t === "exact") return n * 60;
|
|
1484
1484
|
const r = Number(t);
|
|
1485
1485
|
return !Number.isFinite(r) || r <= 0 ? n * 60 : Math.ceil(n / r) * r * 60;
|
|
1486
1486
|
}
|
|
1487
|
-
function
|
|
1487
|
+
function ci(e) {
|
|
1488
1488
|
const t = Math.max(0, Math.round(e / 60));
|
|
1489
1489
|
return `${Math.floor(t / 60)}:${String(t % 60).padStart(2, "0")}`;
|
|
1490
1490
|
}
|
|
1491
|
-
function
|
|
1491
|
+
function li(e) {
|
|
1492
1492
|
const t = Math.max(0, Math.floor(e)), n = (a) => String(a).padStart(2, "0"), r = Math.floor(t / 60) % 60, i = Math.floor(t / 3600);
|
|
1493
1493
|
return i > 0 ? `${i}:${n(r)}:${n(t % 60)}` : `${n(r)}:${n(t % 60)}`;
|
|
1494
1494
|
}
|
|
1495
1495
|
function ht(e) {
|
|
1496
1496
|
return (e || "").normalize("NFD").replace(/[\u0300-\u036f]/g, "").toLowerCase().replace(/[^a-z0-9]+/g, "-").slice(0, 48).replace(/^-+|-+$/g, "");
|
|
1497
1497
|
}
|
|
1498
|
-
function
|
|
1498
|
+
function ui(e, t) {
|
|
1499
1499
|
const n = ht(e) || "werksoort", r = new Set(t);
|
|
1500
1500
|
if (!r.has(n)) return n;
|
|
1501
1501
|
for (let i = 2; i < 500; i++) {
|
|
@@ -1504,11 +1504,11 @@ function li(e, t) {
|
|
|
1504
1504
|
}
|
|
1505
1505
|
return `${n}-${r.size + 1}`;
|
|
1506
1506
|
}
|
|
1507
|
-
function
|
|
1507
|
+
function di(e, t) {
|
|
1508
1508
|
const n = e.ownerScope;
|
|
1509
1509
|
return !n || n.kind === "org" ? !0 : t.includes(n.teamId);
|
|
1510
1510
|
}
|
|
1511
|
-
function
|
|
1511
|
+
function pi(e) {
|
|
1512
1512
|
return e.filter((t) => !t.archived).sort(yt);
|
|
1513
1513
|
}
|
|
1514
1514
|
function yt(e, t) {
|
|
@@ -1525,7 +1525,7 @@ function Et(e) {
|
|
|
1525
1525
|
const n = t.slice(0, k), r = Math.max(n.lastIndexOf(". "), n.lastIndexOf("! "), n.lastIndexOf("? "));
|
|
1526
1526
|
return r > k * 0.6 ? n.slice(0, r + 1) : `${n.trimEnd()}…`;
|
|
1527
1527
|
}
|
|
1528
|
-
function
|
|
1528
|
+
function fi(e, t) {
|
|
1529
1529
|
const n = Et(t.text), r = g(n);
|
|
1530
1530
|
if (!r || (e.examples ?? []).some((o) => g(o) === r)) return null;
|
|
1531
1531
|
const i = e.exampleCandidates ?? [], a = i.findIndex((o) => g(o.text) === r);
|
|
@@ -1541,7 +1541,7 @@ function q(e) {
|
|
|
1541
1541
|
(t, n) => Number(n.corrected) - Number(t.corrected) || n.addedAt - t.addedAt
|
|
1542
1542
|
);
|
|
1543
1543
|
}
|
|
1544
|
-
function
|
|
1544
|
+
function mi(e, t) {
|
|
1545
1545
|
const n = g(t), r = (e.examples ?? []).filter((a) => a.trim());
|
|
1546
1546
|
return { examples: r.some((a) => g(a) === n) ? r : [...r, t].slice(-At), exampleCandidates: St(e, t) };
|
|
1547
1547
|
}
|
|
@@ -1553,24 +1553,24 @@ function _t(e, t) {
|
|
|
1553
1553
|
const n = e.ownerScope;
|
|
1554
1554
|
return n ? n.kind === "org" ? !0 : n.kind === "team" ? !!t && n.teamId === t : !1 : !1;
|
|
1555
1555
|
}
|
|
1556
|
-
function
|
|
1556
|
+
function gi(e, t) {
|
|
1557
1557
|
return e.filter((n) => _t(n, t));
|
|
1558
1558
|
}
|
|
1559
|
-
function
|
|
1559
|
+
function hi(e) {
|
|
1560
1560
|
return e.type === "agent";
|
|
1561
1561
|
}
|
|
1562
|
-
const
|
|
1562
|
+
const yi = "WORK_COMMENT_ADDED", Ai = "WORK_ITEM_ASSIGNED", Tt = "work_item", It = "work_project";
|
|
1563
1563
|
function wt(e) {
|
|
1564
1564
|
return `${Tt}:${e}`;
|
|
1565
1565
|
}
|
|
1566
1566
|
function he(e) {
|
|
1567
1567
|
return `${It}:${e}`;
|
|
1568
1568
|
}
|
|
1569
|
-
function
|
|
1569
|
+
function bi(e, t, n) {
|
|
1570
1570
|
const r = `${e}-${t}`;
|
|
1571
1571
|
return n ? `${r}-${n}` : r;
|
|
1572
1572
|
}
|
|
1573
|
-
function
|
|
1573
|
+
function Ei(e) {
|
|
1574
1574
|
const t = /^([A-Za-z0-9]{2,8})-(\d+)(?:-(\d+))?$/.exec((e || "").trim());
|
|
1575
1575
|
return t ? {
|
|
1576
1576
|
projectKey: t[1].toUpperCase(),
|
|
@@ -1578,17 +1578,17 @@ function bi(e) {
|
|
|
1578
1578
|
...t[3] ? { subSequence: Number(t[3]) } : {}
|
|
1579
1579
|
} : null;
|
|
1580
1580
|
}
|
|
1581
|
-
function
|
|
1581
|
+
function Si(e) {
|
|
1582
1582
|
return (e || "").normalize("NFD").replace(/[\u0300-\u036f]/g, "").toUpperCase().replace(/[^A-Z0-9]/g, "").slice(0, 3) || "PRJ";
|
|
1583
1583
|
}
|
|
1584
|
-
function
|
|
1584
|
+
function _i(e, t = 25) {
|
|
1585
1585
|
const n = /* @__PURE__ */ new Set([wt(e.id)]);
|
|
1586
1586
|
e.projectId && n.add(he(e.projectId));
|
|
1587
1587
|
for (const r of e.ancestorKeys ?? []) n.add(r);
|
|
1588
1588
|
for (const r of e.partyKeys ?? []) n.add(r);
|
|
1589
1589
|
return Array.from(n).slice(0, t);
|
|
1590
1590
|
}
|
|
1591
|
-
function
|
|
1591
|
+
function Ti(e) {
|
|
1592
1592
|
return [he(e.id)];
|
|
1593
1593
|
}
|
|
1594
1594
|
const v = [
|
|
@@ -1602,10 +1602,10 @@ function Mt(e) {
|
|
|
1602
1602
|
function kt(e, t) {
|
|
1603
1603
|
return t.find((n) => n.key === e)?.category ?? "todo";
|
|
1604
1604
|
}
|
|
1605
|
-
function
|
|
1605
|
+
function Ii(e, t) {
|
|
1606
1606
|
return t.find((n) => n.key === e);
|
|
1607
1607
|
}
|
|
1608
|
-
function
|
|
1608
|
+
function wi(e) {
|
|
1609
1609
|
const t = Mt(e), n = e?.defaultStatusKey;
|
|
1610
1610
|
return n && t.some((r) => r.key === n) ? n : Ct(t)[0]?.key ?? v[0].key;
|
|
1611
1611
|
}
|
|
@@ -1615,13 +1615,13 @@ function Ct(e) {
|
|
|
1615
1615
|
return r !== 0 ? r : (t.label || "").localeCompare(n.label || "");
|
|
1616
1616
|
});
|
|
1617
1617
|
}
|
|
1618
|
-
function
|
|
1618
|
+
function Mi(e, t) {
|
|
1619
1619
|
return kt(e, t) === "done";
|
|
1620
1620
|
}
|
|
1621
1621
|
function Nt(e) {
|
|
1622
1622
|
return (e || "").normalize("NFD").replace(/[\u0300-\u036f]/g, "").toLowerCase().replace(/[^a-z0-9]+/g, "-").slice(0, 48).replace(/^-+|-+$/g, "");
|
|
1623
1623
|
}
|
|
1624
|
-
function
|
|
1624
|
+
function ki(e, t) {
|
|
1625
1625
|
const n = Nt(e) || "status", r = /* @__PURE__ */ new Set([...t, ...ye]);
|
|
1626
1626
|
if (!r.has(n)) return n;
|
|
1627
1627
|
for (let i = 2; i < 500; i++) {
|
|
@@ -1630,7 +1630,7 @@ function Mi(e, t) {
|
|
|
1630
1630
|
}
|
|
1631
1631
|
return `${n}-${r.size + 1}`;
|
|
1632
1632
|
}
|
|
1633
|
-
function
|
|
1633
|
+
function Ci(e) {
|
|
1634
1634
|
const t = [];
|
|
1635
1635
|
if (!e.length) return [{ index: -1, reason: "empty" }];
|
|
1636
1636
|
const n = /* @__PURE__ */ new Set();
|
|
@@ -1660,15 +1660,15 @@ const h = 1024 * 1024, $t = {
|
|
|
1660
1660
|
pdf: 20 * h,
|
|
1661
1661
|
text: 1 * h,
|
|
1662
1662
|
audio: 20 * h
|
|
1663
|
-
},
|
|
1664
|
-
function
|
|
1663
|
+
}, Ni = 25 * h, vi = 5;
|
|
1664
|
+
function Oi(e, t) {
|
|
1665
1665
|
const n = xt(e);
|
|
1666
1666
|
return n === "unsupported" ? "unsupported" : t > $t[n] ? "too-large" : null;
|
|
1667
1667
|
}
|
|
1668
1668
|
function Rt(e) {
|
|
1669
1669
|
return `${e.kind}:${e.id || e.url || e.title}`;
|
|
1670
1670
|
}
|
|
1671
|
-
function
|
|
1671
|
+
function xi(e, t = []) {
|
|
1672
1672
|
const n = new Set(t), r = [], i = [];
|
|
1673
1673
|
for (const a of e) {
|
|
1674
1674
|
const o = Rt(a);
|
|
@@ -1676,17 +1676,17 @@ function Oi(e, t = []) {
|
|
|
1676
1676
|
}
|
|
1677
1677
|
return { sources: r, keys: i };
|
|
1678
1678
|
}
|
|
1679
|
-
function
|
|
1679
|
+
function $i(e) {
|
|
1680
1680
|
return e.sessions.filter(
|
|
1681
1681
|
(t) => t.id !== e.exceptSessionId && t.state === "connected" && e.canHold(t.providerId)
|
|
1682
1682
|
);
|
|
1683
1683
|
}
|
|
1684
|
-
function
|
|
1684
|
+
function Ri(e) {
|
|
1685
1685
|
return e.sessions.filter(
|
|
1686
1686
|
(t) => t.id !== e.exceptSessionId && t.state === "connected" && !e.canHold(t.providerId)
|
|
1687
1687
|
);
|
|
1688
1688
|
}
|
|
1689
|
-
function
|
|
1689
|
+
function Li(e) {
|
|
1690
1690
|
return e.sessions.some(
|
|
1691
1691
|
(n) => n.id !== e.exceptSessionId && (n.state === "connected" || n.state === "on_hold")
|
|
1692
1692
|
) ? { admit: !1, reason: "busy" } : { admit: !0 };
|
|
@@ -1708,7 +1708,7 @@ function Dt(e, t) {
|
|
|
1708
1708
|
}
|
|
1709
1709
|
return n;
|
|
1710
1710
|
}
|
|
1711
|
-
function
|
|
1711
|
+
function Di(e, t) {
|
|
1712
1712
|
const n = Dt(e, t);
|
|
1713
1713
|
return Object.entries(n).filter(([, r]) => !r).map(([r]) => r);
|
|
1714
1714
|
}
|
|
@@ -1719,7 +1719,7 @@ function Pt(e, t) {
|
|
|
1719
1719
|
transport: t.transport ?? e.transport
|
|
1720
1720
|
} : e;
|
|
1721
1721
|
}
|
|
1722
|
-
function
|
|
1722
|
+
function Pi(e, t) {
|
|
1723
1723
|
const n = [];
|
|
1724
1724
|
for (const r of e) {
|
|
1725
1725
|
if (!r.enabled) continue;
|
|
@@ -1730,16 +1730,16 @@ function Di(e, t) {
|
|
|
1730
1730
|
}
|
|
1731
1731
|
return n;
|
|
1732
1732
|
}
|
|
1733
|
-
function
|
|
1733
|
+
function Ki(e, t) {
|
|
1734
1734
|
return t.filter((n) => n.capability.intent === e);
|
|
1735
1735
|
}
|
|
1736
1736
|
function Kt(e, t) {
|
|
1737
1737
|
return t.filter((n) => n.capability.targetSchemes.includes(e));
|
|
1738
1738
|
}
|
|
1739
|
-
function
|
|
1739
|
+
function Ui(e, t) {
|
|
1740
1740
|
return Kt(e.scheme, t);
|
|
1741
1741
|
}
|
|
1742
|
-
function
|
|
1742
|
+
function ji(e, t, n) {
|
|
1743
1743
|
const r = [];
|
|
1744
1744
|
for (const i of e)
|
|
1745
1745
|
for (const a of n)
|
|
@@ -1768,10 +1768,10 @@ const jt = {
|
|
|
1768
1768
|
id: "note",
|
|
1769
1769
|
custom: "note"
|
|
1770
1770
|
};
|
|
1771
|
-
function
|
|
1771
|
+
function Gi(e) {
|
|
1772
1772
|
return e ? jt[e] ?? "note" : "note";
|
|
1773
1773
|
}
|
|
1774
|
-
const
|
|
1774
|
+
const Bi = "message_window", Fi = "message_templates", Hi = {
|
|
1775
1775
|
// E-mail
|
|
1776
1776
|
FROM: "from",
|
|
1777
1777
|
TO: "to",
|
|
@@ -1788,11 +1788,11 @@ const Gi = "message_window", Bi = "message_templates", Fi = {
|
|
|
1788
1788
|
// Voice/conference
|
|
1789
1789
|
HOST: "host",
|
|
1790
1790
|
PARTICIPANT: "participant"
|
|
1791
|
-
}, Vi = (e, t) => ({ intent: e, ...t }),
|
|
1791
|
+
}, Vi = (e, t) => ({ intent: e, ...t }), Wi = "folder_management", zi = "remote_search", Xi = {
|
|
1792
1792
|
ok: !1,
|
|
1793
1793
|
code: "UNSUPPORTED",
|
|
1794
1794
|
message: "Provider does not support this op"
|
|
1795
|
-
},
|
|
1795
|
+
}, Yi = "installation-id", qi = {
|
|
1796
1796
|
ai: [
|
|
1797
1797
|
"account.read",
|
|
1798
1798
|
"account.write",
|
|
@@ -1926,24 +1926,24 @@ const Gi = "message_window", Bi = "message_templates", Fi = {
|
|
|
1926
1926
|
user: ["user.read", "user.write"],
|
|
1927
1927
|
work: ["item.read", "item.write", "project.read", "project.write"]
|
|
1928
1928
|
}, Ae = 9e4, Gt = ["out_of_office"], be = (e) => Gt.includes(e);
|
|
1929
|
-
function
|
|
1929
|
+
function Ji(e, t, n) {
|
|
1930
1930
|
const r = n - e < Ae, i = t?.status && (!t.expiresAt || t.expiresAt > n) ? t : void 0;
|
|
1931
1931
|
if (!i?.status) return { online: r, status: r ? "available" : "offline" };
|
|
1932
1932
|
const a = i.status;
|
|
1933
1933
|
return !r && !be(a) ? { online: !1, status: "offline" } : { online: r, status: a, message: i.message };
|
|
1934
1934
|
}
|
|
1935
|
-
function
|
|
1935
|
+
function Zi(e, t) {
|
|
1936
1936
|
const n = t - e.lastSeenAt < Ae, r = n || be(e.status) ? e.status : "offline";
|
|
1937
1937
|
return n === e.online && r === e.status ? e : { ...e, online: n, status: r };
|
|
1938
1938
|
}
|
|
1939
|
-
function
|
|
1939
|
+
function Qi(e, t) {
|
|
1940
1940
|
return e?.teamId && t.includes(e.teamId) ? { teamId: e.teamId, mustChoose: !1 } : t.length === 1 ? { teamId: t[0], mustChoose: !1 } : { teamId: void 0, mustChoose: t.length > 1 };
|
|
1941
1941
|
}
|
|
1942
|
-
function
|
|
1942
|
+
function ea(e) {
|
|
1943
1943
|
return e.providerAvailable && e.allowed;
|
|
1944
1944
|
}
|
|
1945
|
-
const
|
|
1946
|
-
function
|
|
1945
|
+
const ta = "resources.describe", na = "resources.search", ra = "resources.resolve";
|
|
1946
|
+
function ia(e) {
|
|
1947
1947
|
const t = e.indexOf(":");
|
|
1948
1948
|
return t === -1 ? e : e.slice(0, t);
|
|
1949
1949
|
}
|
|
@@ -1952,11 +1952,11 @@ function Se(e) {
|
|
|
1952
1952
|
const t = typeof e == "string" ? e.match(/apps\/([^/?#]+)/) : null;
|
|
1953
1953
|
return t ? t[1] : null;
|
|
1954
1954
|
}
|
|
1955
|
-
function
|
|
1955
|
+
function aa(e) {
|
|
1956
1956
|
const t = Se(e);
|
|
1957
1957
|
return t ? t !== Ee : typeof e == "string" && e.startsWith("/wake");
|
|
1958
1958
|
}
|
|
1959
|
-
function
|
|
1959
|
+
function oa(e) {
|
|
1960
1960
|
return typeof e != "string" || e === "" || e === "/" ? !0 : Se(e) === Ee;
|
|
1961
1961
|
}
|
|
1962
1962
|
function Bt(e) {
|
|
@@ -1966,7 +1966,7 @@ function Ft(e) {
|
|
|
1966
1966
|
const n = e.split("/").filter(Boolean).map((r) => r.startsWith(":") ? r.endsWith("?") ? "(?:/[^/]+)?" : "/[^/]+" : `/${Bt(r)}`).join("");
|
|
1967
1967
|
return new RegExp(`^${n}\\/?$`);
|
|
1968
1968
|
}
|
|
1969
|
-
function
|
|
1969
|
+
function Ht(e, t) {
|
|
1970
1970
|
const n = e.split("/").filter(Boolean), r = t.split("/").filter(Boolean), i = {};
|
|
1971
1971
|
return n.forEach((a, o) => {
|
|
1972
1972
|
if (a.startsWith(":")) {
|
|
@@ -1975,14 +1975,14 @@ function Vt(e, t) {
|
|
|
1975
1975
|
}
|
|
1976
1976
|
}), i;
|
|
1977
1977
|
}
|
|
1978
|
-
function
|
|
1978
|
+
function Vt(e) {
|
|
1979
1979
|
return e.publicBasePath ?? `/apps/${e.name}`;
|
|
1980
1980
|
}
|
|
1981
|
-
function
|
|
1981
|
+
function sa(e) {
|
|
1982
1982
|
const t = [];
|
|
1983
1983
|
for (const n of e) {
|
|
1984
1984
|
if (!n?.name) continue;
|
|
1985
|
-
const r =
|
|
1985
|
+
const r = Vt(n);
|
|
1986
1986
|
for (const i of n.routes ?? []) {
|
|
1987
1987
|
if (!i.public) continue;
|
|
1988
1988
|
const a = i.path === "/" ? "" : i.path;
|
|
@@ -2009,12 +2009,12 @@ function zt(e, t) {
|
|
|
2009
2009
|
let n = null;
|
|
2010
2010
|
for (const r of t)
|
|
2011
2011
|
Ft(r.pattern).test(e) && (!n || Wt(r.pattern, n.pattern)) && (n = r);
|
|
2012
|
-
return n ? { ...n, params: { ...n.props, ...
|
|
2012
|
+
return n ? { ...n, params: { ...n.props, ...Ht(n.pattern, e) } } : null;
|
|
2013
2013
|
}
|
|
2014
|
-
function
|
|
2014
|
+
function ca(e, t) {
|
|
2015
2015
|
return zt(e, t) !== null;
|
|
2016
2016
|
}
|
|
2017
|
-
const
|
|
2017
|
+
const la = "sync-source", ua = "sync-target", da = 20, Xt = {
|
|
2018
2018
|
afrikaans: [
|
|
2019
2019
|
"[Muziek]",
|
|
2020
2020
|
"(C) TV GELDERLAND 2021",
|
|
@@ -2305,13 +2305,13 @@ function an(e, t = qt) {
|
|
|
2305
2305
|
return { text: n.filter((o) => (o.endedAt ?? 0) >= i).map((o) => Yt(o.text).trim()).filter(Boolean).join(" ").replace(/\s+/g, " ").trim(), segmentCount: n.length };
|
|
2306
2306
|
}
|
|
2307
2307
|
const on = 60;
|
|
2308
|
-
function
|
|
2308
|
+
function pa(e, t, n = on) {
|
|
2309
2309
|
const r = new Set(e), i = [...e];
|
|
2310
2310
|
for (const a of t)
|
|
2311
2311
|
!a || r.has(a) || (r.add(a), i.push(a));
|
|
2312
2312
|
return i.slice(-n);
|
|
2313
2313
|
}
|
|
2314
|
-
function
|
|
2314
|
+
function fa(e) {
|
|
2315
2315
|
const { segments: t, now: n, state: r } = e;
|
|
2316
2316
|
if (r.lastTriggerAt && n - r.lastTriggerAt < Jt)
|
|
2317
2317
|
return { trigger: !1, reason: "too_soon" };
|
|
@@ -2377,7 +2377,7 @@ function dn(e) {
|
|
|
2377
2377
|
const r = t.indexOf("@");
|
|
2378
2378
|
return r >= 0 && (t = t.slice(0, r)), t.trim();
|
|
2379
2379
|
}
|
|
2380
|
-
function
|
|
2380
|
+
function ma(e) {
|
|
2381
2381
|
if (!e) return !1;
|
|
2382
2382
|
const t = e.indexOf("@");
|
|
2383
2383
|
if (t <= 0) return !1;
|
|
@@ -2405,7 +2405,7 @@ function Q(e, t) {
|
|
|
2405
2405
|
}
|
|
2406
2406
|
return !o && E(i, a) ? `+${a.callingCode}${i}` : null;
|
|
2407
2407
|
}
|
|
2408
|
-
function
|
|
2408
|
+
function ga(e, t = 9) {
|
|
2409
2409
|
const n = (e ?? "").replace(/\D/g, "");
|
|
2410
2410
|
return n.length < t ? null : n.slice(-t);
|
|
2411
2411
|
}
|
|
@@ -2416,7 +2416,7 @@ function _e(e) {
|
|
|
2416
2416
|
const r = t.slice(0, n).split("+")[0], i = t.slice(n + 1);
|
|
2417
2417
|
return !r || !i.includes(".") ? null : `${r}@${i}`;
|
|
2418
2418
|
}
|
|
2419
|
-
function
|
|
2419
|
+
function ha(e) {
|
|
2420
2420
|
const t = _e(e);
|
|
2421
2421
|
return t ? t.slice(t.lastIndexOf("@") + 1) : null;
|
|
2422
2422
|
}
|
|
@@ -2482,16 +2482,16 @@ const mn = /* @__PURE__ */ new Set([
|
|
|
2482
2482
|
"proximus.be",
|
|
2483
2483
|
"scarlet.be"
|
|
2484
2484
|
]);
|
|
2485
|
-
function
|
|
2485
|
+
function ya(e) {
|
|
2486
2486
|
const t = fn(e);
|
|
2487
2487
|
return t ? mn.has(t) : !1;
|
|
2488
2488
|
}
|
|
2489
|
-
function
|
|
2489
|
+
function Aa(e) {
|
|
2490
2490
|
if (!e) return !1;
|
|
2491
2491
|
const t = e.trim().toLowerCase();
|
|
2492
2492
|
return t === "tel" || t === "sms" || t === "whatsapp" || t === "fax";
|
|
2493
2493
|
}
|
|
2494
|
-
function
|
|
2494
|
+
function ba(e, t, n) {
|
|
2495
2495
|
if (!e || !t) return null;
|
|
2496
2496
|
const r = e.trim().toLowerCase();
|
|
2497
2497
|
if (r === "tel" || r === "sms" || r === "whatsapp") {
|
|
@@ -2510,7 +2510,7 @@ function Aa(e, t, n) {
|
|
|
2510
2510
|
return i ? `${r}:${i}` : null;
|
|
2511
2511
|
}
|
|
2512
2512
|
const gn = /(\*\*|__)(?=\S)([\s\S]*?\S)\1/g, hn = /(\*|_)(?=\S)([^*_\n]*?\S)\1/g;
|
|
2513
|
-
function
|
|
2513
|
+
function Ea(e) {
|
|
2514
2514
|
if (typeof e != "string" || !e) return "";
|
|
2515
2515
|
let t = e;
|
|
2516
2516
|
return t = t.replace(/```[a-z]*\n?/gi, "").replace(/~~~[a-z]*\n?/gi, ""), t = t.replace(/!\[([^\]]*)\]\([^)]*\)/g, "$1"), t = t.replace(/\[([^\]]*)\]\([^)]*\)/g, "$1"), t = t.replace(/\[([^\]]*)\]\[[^\]]*\]/g, "$1"), t = t.replace(/<((?:https?|mailto):[^>\s]+)>/gi, "$1"), t = t.split(`
|
|
@@ -2562,7 +2562,11 @@ function ie(e) {
|
|
|
2562
2562
|
|
|
2563
2563
|
`).trim();
|
|
2564
2564
|
}
|
|
2565
|
-
|
|
2565
|
+
const En = /<\s*(html|body|div|p|table|br|span)\b/i;
|
|
2566
|
+
function Sa(e) {
|
|
2567
|
+
return En.test(e);
|
|
2568
|
+
}
|
|
2569
|
+
function _a(e) {
|
|
2566
2570
|
if (typeof e != "string" || !e) return "";
|
|
2567
2571
|
let t = e.length;
|
|
2568
2572
|
for (const a of yn) {
|
|
@@ -2573,24 +2577,24 @@ function Ea(e) {
|
|
|
2573
2577
|
let r = ie(re(te(n)));
|
|
2574
2578
|
return r || (r = ie(re(te(e)))), bn(r) || r;
|
|
2575
2579
|
}
|
|
2576
|
-
const
|
|
2577
|
-
function
|
|
2578
|
-
return !!(e &&
|
|
2580
|
+
const Sn = /(^|[._+-])(no-?reply|noreply|donotreply|do-not-reply|newsletter|nieuwsbrief|mailer|mailing|notifications?|bounce|postmaster|marketing)@/i, _n = /\b(unsubscribe|afmelden|uitschrijven|opt[\s-]?out|manage (your )?preferences|geen (e-?mails?|nieuwsbrief|berichten) meer)\b/i;
|
|
2581
|
+
function Ta(e, t) {
|
|
2582
|
+
return !!(e && Sn.test(e) || t && _n.test(t));
|
|
2579
2583
|
}
|
|
2580
|
-
const
|
|
2581
|
-
function
|
|
2582
|
-
return e >=
|
|
2584
|
+
const Tn = 3, In = 600;
|
|
2585
|
+
function Ia(e, t) {
|
|
2586
|
+
return e >= Tn || t >= In;
|
|
2583
2587
|
}
|
|
2584
2588
|
export {
|
|
2585
2589
|
m as ACTIVITY_CATALOG,
|
|
2586
2590
|
$t as AI_ATTACHMENT_LIMITS,
|
|
2587
|
-
|
|
2588
|
-
|
|
2591
|
+
vi as AI_ATTACHMENT_MAX_PER_TURN,
|
|
2592
|
+
Ni as AI_ATTACHMENT_TURN_BUDGET,
|
|
2589
2593
|
oe as AI_VENDORS,
|
|
2590
2594
|
je as ALLOWED_LINK_SCHEMES,
|
|
2591
|
-
|
|
2595
|
+
qi as APP_PERMISSIONS,
|
|
2592
2596
|
U as ARTIFACT_MAX_BLOCKS,
|
|
2593
|
-
|
|
2597
|
+
ar as ARTIFACT_MAX_BODY_BYTES,
|
|
2594
2598
|
M as ARTIFACT_MAX_CELL_LEN,
|
|
2595
2599
|
F as ARTIFACT_MAX_KPI_ITEMS,
|
|
2596
2600
|
j as ARTIFACT_MAX_LIST_ITEMS,
|
|
@@ -2600,253 +2604,255 @@ export {
|
|
|
2600
2604
|
Ye as ASSIGNMENT_SCOPE_KIND,
|
|
2601
2605
|
Ee as AUTH_APP_NAME,
|
|
2602
2606
|
ve as ActivityTypeRegistry,
|
|
2603
|
-
|
|
2607
|
+
Bn as BUILT_IN_ONLY,
|
|
2604
2608
|
Jt as CADENCE_FLOOR_MS,
|
|
2605
2609
|
Zt as CADENCE_MIN_NEW_SEGMENTS,
|
|
2606
2610
|
Qt as CADENCE_MIN_NOVELTY,
|
|
2607
2611
|
qt as CADENCE_WINDOW_MS,
|
|
2608
|
-
|
|
2609
|
-
|
|
2612
|
+
Jr as CLASSIFY_VARS,
|
|
2613
|
+
nr as CORE_DIMENSIONS,
|
|
2610
2614
|
Ut as CommunicationScheme,
|
|
2611
|
-
|
|
2615
|
+
jr as DEFAULT_MEMORY_BUDGET,
|
|
2612
2616
|
sn as DEFAULT_PHONE_REGION,
|
|
2613
|
-
|
|
2614
|
-
|
|
2615
|
-
|
|
2616
|
-
|
|
2617
|
+
Qr as EMPTY_WORKFLOW,
|
|
2618
|
+
Wi as FEATURE_FOLDER_MANAGEMENT,
|
|
2619
|
+
zi as FEATURE_REMOTE_SEARCH,
|
|
2620
|
+
En as HTML_BODY_RE,
|
|
2621
|
+
Yi as INSTALLATION_HEADER,
|
|
2617
2622
|
ut as INTERACTION_KIND,
|
|
2618
|
-
|
|
2623
|
+
Hi as InteractionParticipantRole,
|
|
2619
2624
|
et as KB_FALLBACK_LOCALE,
|
|
2620
2625
|
z as KB_LOCALES,
|
|
2621
2626
|
v as LOOSE_STATUSES,
|
|
2622
|
-
|
|
2627
|
+
Cn as MAX_ACTIONS,
|
|
2623
2628
|
qe as MAX_ASSIGNMENT_TURNS,
|
|
2624
|
-
|
|
2629
|
+
wn as MAX_BLOCKS,
|
|
2625
2630
|
fe as MAX_COLLECTION_DEPTH,
|
|
2626
|
-
|
|
2627
|
-
|
|
2628
|
-
|
|
2629
|
-
|
|
2630
|
-
|
|
2631
|
+
Mn as MAX_FIELDS,
|
|
2632
|
+
kn as MAX_LIST_ITEMS,
|
|
2633
|
+
Dr as MAX_MEMORY_BROWSE,
|
|
2634
|
+
Ur as MAX_MEMORY_BUDGET,
|
|
2635
|
+
Pr as MAX_MEMORY_CHARS,
|
|
2631
2636
|
on as MAX_SHOWN_KEYS,
|
|
2632
2637
|
bt as MAX_TOPIC_CANDIDATES,
|
|
2633
2638
|
At as MAX_TOPIC_EXAMPLES,
|
|
2634
2639
|
k as MAX_TOPIC_EXAMPLE_CHARS,
|
|
2635
|
-
|
|
2640
|
+
Kr as MIN_MEMORY_BUDGET,
|
|
2636
2641
|
O as PHONE_REGIONS,
|
|
2637
2642
|
Ae as PRESENCE_ONLINE_WINDOW_MS,
|
|
2638
2643
|
Gt as PRESENCE_SURVIVES_OFFLINE,
|
|
2639
|
-
|
|
2640
|
-
|
|
2644
|
+
Fi as PROVIDER_FEATURE_MESSAGE_TEMPLATES,
|
|
2645
|
+
Bi as PROVIDER_FEATURE_MESSAGE_WINDOW,
|
|
2641
2646
|
mn as PUBLIC_EMAIL_DOMAINS,
|
|
2642
2647
|
X as READ_STEP_TYPES,
|
|
2643
2648
|
rt as RELATED_SUBJECT_KINDS,
|
|
2644
2649
|
ye as RESERVED_STATUS_KEYS,
|
|
2645
|
-
|
|
2646
|
-
|
|
2647
|
-
|
|
2648
|
-
|
|
2650
|
+
ta as RESOURCE_DESCRIBE_SERVICE,
|
|
2651
|
+
ra as RESOURCE_RESOLVE_SERVICE,
|
|
2652
|
+
na as RESOURCE_SEARCH_SERVICE,
|
|
2653
|
+
Ar as SIGNATURE_INTENTS,
|
|
2649
2654
|
ft as STEP_MAX_TOKENS_MAX,
|
|
2650
2655
|
pt as STEP_MAX_TOKENS_MIN,
|
|
2651
|
-
|
|
2652
|
-
|
|
2653
|
-
|
|
2654
|
-
|
|
2655
|
-
|
|
2656
|
+
In as SUMMARY_MIN_LAST_CHARS,
|
|
2657
|
+
Tn as SUMMARY_MIN_MESSAGES,
|
|
2658
|
+
da as SYNC_RUN_MAX_ERRORS,
|
|
2659
|
+
la as SYNC_SOURCE_PROVIDER_GROUP,
|
|
2660
|
+
ua as SYNC_TARGET_PROVIDER_GROUP,
|
|
2656
2661
|
Xe as TERMINAL_ASSIGNMENT_STATUSES,
|
|
2657
2662
|
mt as TERMINAL_RUN_STATUSES,
|
|
2658
|
-
|
|
2659
|
-
|
|
2663
|
+
qr as TRIGGER_VARS,
|
|
2664
|
+
Xi as UNSUPPORTED,
|
|
2660
2665
|
De as USAGE_DIMENSIONS,
|
|
2661
2666
|
Pe as USAGE_DIMENSION_IDS,
|
|
2662
|
-
|
|
2663
|
-
|
|
2667
|
+
yi as WORK_COMMENT_ADDED,
|
|
2668
|
+
Ai as WORK_ITEM_ASSIGNED,
|
|
2664
2669
|
Tt as WORK_ITEM_SCOPE_KIND,
|
|
2665
2670
|
It as WORK_PROJECT_SCOPE_KIND,
|
|
2666
|
-
|
|
2671
|
+
mi as acceptExampleCandidate,
|
|
2667
2672
|
at as actingIdentityKey,
|
|
2668
|
-
|
|
2669
|
-
|
|
2670
|
-
|
|
2673
|
+
pi as activeWorkTypes,
|
|
2674
|
+
vn as activityIconOf,
|
|
2675
|
+
jn as activityJoinUrl,
|
|
2671
2676
|
Me as activitySnippet,
|
|
2672
2677
|
ke as activityTextParams,
|
|
2673
|
-
|
|
2674
|
-
|
|
2678
|
+
Un as activityTimelineText,
|
|
2679
|
+
Hn as activityTimestamp,
|
|
2675
2680
|
d as activityTypeInfo,
|
|
2676
|
-
|
|
2677
|
-
|
|
2678
|
-
|
|
2681
|
+
Hr as actorKey,
|
|
2682
|
+
fi as addExampleCandidate,
|
|
2683
|
+
Zi as agePresenceEntry,
|
|
2679
2684
|
xt as aiAttachmentKind,
|
|
2680
|
-
|
|
2685
|
+
Oi as aiAttachmentRejection,
|
|
2681
2686
|
K as aiBudgetLimit,
|
|
2682
|
-
|
|
2687
|
+
Qn as aiBudgetPeriodKey,
|
|
2683
2688
|
Oe as aiBudgetPeriodStart,
|
|
2684
|
-
|
|
2685
|
-
|
|
2686
|
-
|
|
2687
|
-
|
|
2688
|
-
|
|
2689
|
-
|
|
2689
|
+
Zn as aiBudgetState,
|
|
2690
|
+
Jn as aiVendorAcceptsAttachment,
|
|
2691
|
+
Xn as aiVendorDefaultModel,
|
|
2692
|
+
zn as aiVendorLabel,
|
|
2693
|
+
qn as aiVendorNeedsBaseUrl,
|
|
2694
|
+
Yn as aiVendorsWith,
|
|
2690
2695
|
Se as appNameFromPath,
|
|
2691
|
-
|
|
2692
|
-
|
|
2693
|
-
|
|
2694
|
-
|
|
2695
|
-
|
|
2696
|
-
|
|
2697
|
-
|
|
2698
|
-
|
|
2699
|
-
|
|
2700
|
-
|
|
2701
|
-
|
|
2696
|
+
si as applyRounding,
|
|
2697
|
+
br as applySignature,
|
|
2698
|
+
sr as artifactBodyBytes,
|
|
2699
|
+
cr as artifactOutline,
|
|
2700
|
+
lr as artifactToMarkdown,
|
|
2701
|
+
Xr as assignmentMismatch,
|
|
2702
|
+
mr as assignmentScopeKey,
|
|
2703
|
+
hr as assignmentSubject,
|
|
2704
|
+
Gn as buildActivityPreview,
|
|
2705
|
+
Pi as buildChannelIntents,
|
|
2706
|
+
ur as buildShareKeys,
|
|
2702
2707
|
an as buildWindow,
|
|
2703
|
-
|
|
2704
|
-
|
|
2705
|
-
|
|
2708
|
+
vr as canNestUnder,
|
|
2709
|
+
Rn as carriesText,
|
|
2710
|
+
xr as categoryLabel,
|
|
2706
2711
|
kt as categoryOf,
|
|
2707
|
-
|
|
2708
|
-
|
|
2709
|
-
|
|
2710
|
-
|
|
2712
|
+
Gi as channelKindForScheme,
|
|
2713
|
+
On as channelKindOf,
|
|
2714
|
+
Zr as clampStepMaxTokens,
|
|
2715
|
+
_a as cleanMessageText,
|
|
2711
2716
|
yt as compareWorkTypes,
|
|
2712
|
-
|
|
2713
|
-
|
|
2714
|
-
|
|
2717
|
+
yr as decideAssignmentState,
|
|
2718
|
+
fa as decideCadence,
|
|
2719
|
+
Li as decideIncomingCall,
|
|
2715
2720
|
tt as defaultLocaleOf,
|
|
2716
|
-
|
|
2721
|
+
wi as defaultStatusKey,
|
|
2717
2722
|
Vi as defineIntent,
|
|
2718
2723
|
Ze as depthOf,
|
|
2719
|
-
|
|
2720
|
-
|
|
2721
|
-
|
|
2722
|
-
|
|
2723
|
-
|
|
2724
|
-
|
|
2724
|
+
Ji as derivePresence,
|
|
2725
|
+
Di as disabledIntentsFromCapabilities,
|
|
2726
|
+
oi as elapsedSeconds,
|
|
2727
|
+
ha as emailDomain,
|
|
2728
|
+
ba as endpointKey,
|
|
2729
|
+
Ht as extractParams,
|
|
2725
2730
|
nn as extractTerms,
|
|
2726
|
-
|
|
2727
|
-
|
|
2731
|
+
Ui as filterByEndpoint,
|
|
2732
|
+
Ki as filterByIntent,
|
|
2728
2733
|
Kt as filterByTargetScheme,
|
|
2729
2734
|
S as findAiVendor,
|
|
2730
|
-
|
|
2735
|
+
tr as flattenLocales,
|
|
2731
2736
|
$e as floorToPeriod,
|
|
2732
2737
|
it as formatActingIdentity,
|
|
2733
|
-
|
|
2734
|
-
|
|
2735
|
-
|
|
2738
|
+
li as formatClock,
|
|
2739
|
+
ci as formatHm,
|
|
2740
|
+
bi as formatItemKey,
|
|
2736
2741
|
xe as formatPeriod,
|
|
2737
|
-
|
|
2738
|
-
|
|
2739
|
-
|
|
2740
|
-
|
|
2741
|
-
|
|
2742
|
+
xi as freshSources,
|
|
2743
|
+
Fn as getActivitySeenUserIds,
|
|
2744
|
+
Er as getContactEndpoints,
|
|
2745
|
+
Ir as getShortTitle,
|
|
2746
|
+
Tr as getUrgencyScore,
|
|
2742
2747
|
me as heightOf,
|
|
2743
|
-
|
|
2744
|
-
|
|
2748
|
+
kr as helpCenterText,
|
|
2749
|
+
Yr as humanizeAction,
|
|
2745
2750
|
dt as interactionIdOf,
|
|
2746
|
-
|
|
2747
|
-
|
|
2748
|
-
|
|
2751
|
+
hi as isAgentUser,
|
|
2752
|
+
Sr as isAssigned,
|
|
2753
|
+
fr as isAssignmentTerminal,
|
|
2749
2754
|
ct as isAssignmentTrigger,
|
|
2750
|
-
|
|
2751
|
-
|
|
2752
|
-
|
|
2753
|
-
|
|
2755
|
+
Wn as isChatMessageActivity,
|
|
2756
|
+
_r as isClosed,
|
|
2757
|
+
Pn as isConnectedType,
|
|
2758
|
+
aa as isDeepLink,
|
|
2754
2759
|
Qe as isDescendant,
|
|
2755
2760
|
Vn as isEmailActivity,
|
|
2756
|
-
|
|
2757
|
-
|
|
2758
|
-
|
|
2759
|
-
|
|
2761
|
+
Sa as isHtmlBody,
|
|
2762
|
+
ri as isInFlight,
|
|
2763
|
+
wr as isInteractionUnseen,
|
|
2764
|
+
oa as isLandingPath,
|
|
2765
|
+
Ta as isLikelyBulk,
|
|
2760
2766
|
ae as isMessageShape,
|
|
2761
|
-
|
|
2767
|
+
xn as isMessageType,
|
|
2762
2768
|
Wt as isMoreSpecificPattern,
|
|
2763
2769
|
gt as isPaused,
|
|
2764
|
-
|
|
2765
|
-
|
|
2766
|
-
|
|
2767
|
-
|
|
2768
|
-
|
|
2769
|
-
|
|
2770
|
-
|
|
2771
|
-
|
|
2772
|
-
|
|
2773
|
-
|
|
2770
|
+
Dn as isPlaybookAuthoredType,
|
|
2771
|
+
ya as isPublicEmailDomain,
|
|
2772
|
+
ca as isPublicPath,
|
|
2773
|
+
$n as isReplyableType,
|
|
2774
|
+
ni as isTerminal,
|
|
2775
|
+
Ia as isThreadLongEnough,
|
|
2776
|
+
Kn as isTranscriptType,
|
|
2777
|
+
Mi as isWorkClosed,
|
|
2778
|
+
di as isWorkTypeVisible,
|
|
2779
|
+
_i as itemDossierKeys,
|
|
2774
2780
|
Mt as ladderFor,
|
|
2775
|
-
|
|
2776
|
-
|
|
2777
|
-
|
|
2778
|
-
|
|
2779
|
-
|
|
2780
|
-
|
|
2781
|
-
|
|
2781
|
+
Mr as linkLabel,
|
|
2782
|
+
er as listeningAllowed,
|
|
2783
|
+
Nr as localeInstruction,
|
|
2784
|
+
Cr as localeName,
|
|
2785
|
+
Or as localesOf,
|
|
2786
|
+
ma as looksLikeEmail,
|
|
2787
|
+
ji as matchContactToIntents,
|
|
2782
2788
|
zt as matchPublicRoute,
|
|
2783
|
-
|
|
2784
|
-
|
|
2785
|
-
|
|
2786
|
-
|
|
2787
|
-
|
|
2788
|
-
|
|
2789
|
-
|
|
2789
|
+
Rr as mcpCredentialScope,
|
|
2790
|
+
Lr as mcpToolPrefix,
|
|
2791
|
+
pa as mergeShownKeys,
|
|
2792
|
+
Ln as messageCountsAs,
|
|
2793
|
+
Aa as needsPhoneRegion,
|
|
2794
|
+
or as normalizeArtifactBlocks,
|
|
2795
|
+
Nn as normalizeBlocks,
|
|
2790
2796
|
_e as normalizeEmail,
|
|
2791
2797
|
g as normalizeExample,
|
|
2792
2798
|
rn as novelty,
|
|
2793
|
-
|
|
2794
|
-
|
|
2799
|
+
Br as parseActingIdentity,
|
|
2800
|
+
Ei as parseItemKey,
|
|
2795
2801
|
Ft as pathToRegex,
|
|
2796
|
-
|
|
2797
|
-
|
|
2798
|
-
|
|
2802
|
+
rr as periodsInRange,
|
|
2803
|
+
ga as phoneSuffix,
|
|
2804
|
+
Ea as plainTextFromMarkdown,
|
|
2799
2805
|
st as playbookActor,
|
|
2800
|
-
|
|
2801
|
-
|
|
2802
|
-
|
|
2803
|
-
|
|
2806
|
+
ti as procedureOf,
|
|
2807
|
+
Ti as projectDossierKeys,
|
|
2808
|
+
Vt as publicBasePathFor,
|
|
2809
|
+
sa as publicRoutePatterns,
|
|
2804
2810
|
C as readPath,
|
|
2805
2811
|
Y as readStepError,
|
|
2806
2812
|
lt as refKey,
|
|
2807
2813
|
fn as registrableDomain,
|
|
2808
2814
|
St as rejectExampleCandidate,
|
|
2809
|
-
|
|
2815
|
+
Gr as relatedByDefault,
|
|
2810
2816
|
Dt as resolveAccountCapabilities,
|
|
2811
2817
|
N as resolveActivityText,
|
|
2812
2818
|
Lt as resolveChannelIntents,
|
|
2813
2819
|
Je as resolveSignature,
|
|
2814
|
-
|
|
2815
|
-
|
|
2816
|
-
|
|
2817
|
-
|
|
2818
|
-
|
|
2820
|
+
Qi as resolveWorkMode,
|
|
2821
|
+
ia as resourceKindOf,
|
|
2822
|
+
Fr as runActor,
|
|
2823
|
+
ai as runInteractionId,
|
|
2824
|
+
He as sanitizeInline,
|
|
2819
2825
|
Yt as sanitizeTranscript,
|
|
2820
|
-
|
|
2821
|
-
|
|
2822
|
-
|
|
2826
|
+
$r as selectLenses,
|
|
2827
|
+
Ri as sessionsHoldCannotReach,
|
|
2828
|
+
$i as sessionsToHold,
|
|
2823
2829
|
de as shareKeyForTeam,
|
|
2824
2830
|
ue as shareKeyForUser,
|
|
2825
|
-
|
|
2826
|
-
|
|
2831
|
+
dr as shareKeysForViewer,
|
|
2832
|
+
ea as shouldRunAudioPipeline,
|
|
2827
2833
|
Ct as sortStatuses,
|
|
2828
2834
|
Rt as sourceKey,
|
|
2829
|
-
|
|
2830
|
-
|
|
2835
|
+
Ii as statusIn,
|
|
2836
|
+
ei as stepsOf,
|
|
2831
2837
|
we as stripHtml,
|
|
2832
|
-
|
|
2838
|
+
ii as subjectKeyOf,
|
|
2833
2839
|
ge as subjectOf,
|
|
2834
|
-
|
|
2835
|
-
|
|
2836
|
-
|
|
2840
|
+
Si as suggestProjectKey,
|
|
2841
|
+
zr as targetById,
|
|
2842
|
+
Wr as targetForActivityType,
|
|
2837
2843
|
ot as toActingIdentity,
|
|
2838
2844
|
Q as toE164,
|
|
2839
|
-
|
|
2845
|
+
pr as toolSourceKinds,
|
|
2840
2846
|
_t as topicOfferedForTeam,
|
|
2841
|
-
|
|
2847
|
+
gi as topicsForTeam,
|
|
2842
2848
|
Et as truncateExample,
|
|
2843
|
-
|
|
2844
|
-
|
|
2849
|
+
ki as uniqueWorkStatusKey,
|
|
2850
|
+
ui as uniqueWorkTypeKey,
|
|
2845
2851
|
Ke as usageMetricId,
|
|
2846
|
-
|
|
2847
|
-
|
|
2852
|
+
ir as usageMetrics,
|
|
2853
|
+
Ci as validateStatuses,
|
|
2848
2854
|
Vr as valueAtPath,
|
|
2849
|
-
|
|
2855
|
+
gr as wakesAssignment,
|
|
2850
2856
|
wt as workItemScopeKey,
|
|
2851
2857
|
he as workProjectScopeKey,
|
|
2852
2858
|
Nt as workStatusKey,
|