@opencxh/domain 1.164.0 → 1.166.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/ai-profile/types.d.ts +9 -6
- package/dist/entities/analytics/dashboard.d.ts +5 -3
- package/dist/entities/analytics/report.d.ts +6 -4
- package/dist/entities/communication/types.d.ts +0 -51
- package/dist/entities/contact-source/types.d.ts +5 -2
- package/dist/entities/external-identity/index.d.ts +1 -0
- package/dist/entities/external-identity/types.d.ts +107 -0
- package/dist/entities/kb/types.d.ts +5 -2
- package/dist/entities/mcp/types.d.ts +110 -6
- package/dist/entities/mcp/types.test.d.ts +1 -0
- package/dist/entities/memory/item.d.ts +5 -3
- package/dist/entities/memory/kind.d.ts +1 -1
- package/dist/entities/playbook/assignment.d.ts +1 -1
- package/dist/entities/webhook/types.d.ts +13 -0
- package/dist/index.cjs +6 -6
- package/dist/index.d.ts +3 -0
- package/dist/index.js +198 -187
- package/dist/platform/account.d.ts +91 -0
- package/dist/platform/sync-source.d.ts +447 -0
- package/dist/platform/ui.d.ts +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -4,7 +4,7 @@ function Cn(e) {
|
|
|
4
4
|
function wn(e) {
|
|
5
5
|
return e.type === "CHAT_MESSAGE_SENT" || e.type === "CHAT_MESSAGE_RECEIVED";
|
|
6
6
|
}
|
|
7
|
-
const
|
|
7
|
+
const L = 10, T = 10, I = 10, M = 5, we = /* @__PURE__ */ new Set([
|
|
8
8
|
"header",
|
|
9
9
|
"section",
|
|
10
10
|
"context",
|
|
@@ -25,8 +25,8 @@ function Nn(e, t = () => {
|
|
|
25
25
|
if (!Array.isArray(e)) return [];
|
|
26
26
|
const n = [];
|
|
27
27
|
for (const r of e) {
|
|
28
|
-
if (n.length >=
|
|
29
|
-
t("more than " +
|
|
28
|
+
if (n.length >= L) {
|
|
29
|
+
t("more than " + L + " blocks; the rest was dropped");
|
|
30
30
|
break;
|
|
31
31
|
}
|
|
32
32
|
if (!r || typeof r != "object") continue;
|
|
@@ -423,22 +423,22 @@ function d(e) {
|
|
|
423
423
|
function vn(e) {
|
|
424
424
|
return d(e)?.icon ?? "circle";
|
|
425
425
|
}
|
|
426
|
-
function
|
|
426
|
+
function On(e) {
|
|
427
427
|
return d(e)?.channelKind;
|
|
428
428
|
}
|
|
429
429
|
function ce(e) {
|
|
430
430
|
return e === "message" || e === "note";
|
|
431
431
|
}
|
|
432
|
-
function
|
|
432
|
+
function xn(e) {
|
|
433
433
|
return ce(d(e)?.shape);
|
|
434
434
|
}
|
|
435
435
|
function $n(e) {
|
|
436
436
|
return d(e)?.replyable === !0;
|
|
437
437
|
}
|
|
438
|
-
function
|
|
438
|
+
function Rn(e) {
|
|
439
439
|
return d(e)?.carriesText === !0;
|
|
440
440
|
}
|
|
441
|
-
function
|
|
441
|
+
function Ln(e) {
|
|
442
442
|
return d(e)?.countsAs;
|
|
443
443
|
}
|
|
444
444
|
function Dn(e) {
|
|
@@ -463,7 +463,7 @@ function jn(e) {
|
|
|
463
463
|
const t = d(e.type)?.joinUrl;
|
|
464
464
|
return t ? t(e) : void 0;
|
|
465
465
|
}
|
|
466
|
-
function
|
|
466
|
+
function O(e, t) {
|
|
467
467
|
let n = e;
|
|
468
468
|
for (const r of t.split(".")) {
|
|
469
469
|
if (n == null || typeof n != "object") return "";
|
|
@@ -471,25 +471,25 @@ function x(e, t) {
|
|
|
471
471
|
}
|
|
472
472
|
return n == null ? "" : typeof n == "string" ? n : typeof n == "number" || typeof n == "boolean" ? String(n) : "";
|
|
473
473
|
}
|
|
474
|
-
function
|
|
474
|
+
function x(e, t, n) {
|
|
475
475
|
if (e === void 0) return null;
|
|
476
476
|
if (typeof e == "string") return e || null;
|
|
477
477
|
if ("value" in e)
|
|
478
|
-
return
|
|
478
|
+
return O(t, e.value) || null;
|
|
479
479
|
const r = {};
|
|
480
480
|
for (const [a, o] of Object.entries(e.params ?? {}))
|
|
481
|
-
r[a] =
|
|
481
|
+
r[a] = O(t, o);
|
|
482
482
|
const i = n(e.key, r);
|
|
483
483
|
return i === e.key ? null : i;
|
|
484
484
|
}
|
|
485
|
-
function
|
|
485
|
+
function Oe(e, t) {
|
|
486
486
|
if (!e || typeof e == "string" || "value" in e) return null;
|
|
487
487
|
const n = {};
|
|
488
488
|
for (const [r, i] of Object.entries(e.params ?? {}))
|
|
489
|
-
n[r] =
|
|
489
|
+
n[r] = O(t, i);
|
|
490
490
|
return { key: e.key, params: n };
|
|
491
491
|
}
|
|
492
|
-
const
|
|
492
|
+
const xe = (e) => e;
|
|
493
493
|
function U(e) {
|
|
494
494
|
const t = m[e];
|
|
495
495
|
return {
|
|
@@ -522,7 +522,7 @@ function j(e) {
|
|
|
522
522
|
};
|
|
523
523
|
}
|
|
524
524
|
class $e {
|
|
525
|
-
constructor(t = [], n =
|
|
525
|
+
constructor(t = [], n = xe) {
|
|
526
526
|
this.translate = n;
|
|
527
527
|
for (const r of t)
|
|
528
528
|
r?.type && (r.type in m || this.declared.has(r.type) || this.declared.set(r.type, r));
|
|
@@ -547,14 +547,14 @@ class $e {
|
|
|
547
547
|
const r = m[t.type];
|
|
548
548
|
if (r?.timeline) return r.timeline(t, n);
|
|
549
549
|
const i = this.declared.get(t.type);
|
|
550
|
-
return
|
|
550
|
+
return x(i?.text, t, this.translate) ?? t.type.replace(/_/g, " ").toLowerCase();
|
|
551
551
|
}
|
|
552
552
|
/** De regel voor de inboxlijst. Leeg wanneer het type niets te tonen heeft. */
|
|
553
553
|
snippet(t) {
|
|
554
554
|
const n = m[t.type];
|
|
555
555
|
if (n?.snippet) return n.snippet(t);
|
|
556
556
|
const r = this.declared.get(t.type);
|
|
557
|
-
return
|
|
557
|
+
return x(r?.text, t, this.translate) ?? "";
|
|
558
558
|
}
|
|
559
559
|
/** De descriptor zoals hij binnenkwam; nodig om `text` als sleutel op te slaan. */
|
|
560
560
|
descriptor(t) {
|
|
@@ -608,16 +608,16 @@ class $e {
|
|
|
608
608
|
}
|
|
609
609
|
}
|
|
610
610
|
const Gn = new $e(), G = 140;
|
|
611
|
-
function
|
|
611
|
+
function Re(e) {
|
|
612
612
|
const t = e.trim();
|
|
613
613
|
return t.length <= G ? t : t.slice(0, G - 1).trimEnd() + "…";
|
|
614
614
|
}
|
|
615
615
|
function Bn(e, t) {
|
|
616
|
-
const n =
|
|
616
|
+
const n = Oe(t?.text, e), r = t ? x(t.text, e, (i) => i) : null;
|
|
617
617
|
return {
|
|
618
618
|
activityId: e.id,
|
|
619
619
|
type: e.type,
|
|
620
|
-
snippet:
|
|
620
|
+
snippet: Re(r ?? ve(e)),
|
|
621
621
|
authorName: e.author?.name ?? "",
|
|
622
622
|
direction: e.direction,
|
|
623
623
|
createdAt: e.createdAt ?? Date.now(),
|
|
@@ -653,7 +653,7 @@ function Wn(e) {
|
|
|
653
653
|
function w(e) {
|
|
654
654
|
return e < 10 ? `0${e}` : `${e}`;
|
|
655
655
|
}
|
|
656
|
-
function
|
|
656
|
+
function Le(e, t) {
|
|
657
657
|
const n = new Date(e), r = `${n.getUTCFullYear()}-${w(n.getUTCMonth() + 1)}-${w(n.getUTCDate())}`;
|
|
658
658
|
return t === "day" ? r : `${r}T${w(n.getUTCHours())}`;
|
|
659
659
|
}
|
|
@@ -665,7 +665,7 @@ const Pe = 36e5, Ke = 864e5;
|
|
|
665
665
|
function zn(e, t, n) {
|
|
666
666
|
const r = n === "hour" ? Pe : Ke, i = [];
|
|
667
667
|
for (let a = De(e, n); a <= t; a += r)
|
|
668
|
-
i.push(
|
|
668
|
+
i.push(Le(a, n));
|
|
669
669
|
return i;
|
|
670
670
|
}
|
|
671
671
|
const Ue = [
|
|
@@ -1252,7 +1252,7 @@ function pt(e, t) {
|
|
|
1252
1252
|
}
|
|
1253
1253
|
return r;
|
|
1254
1254
|
}
|
|
1255
|
-
function
|
|
1255
|
+
function Or(e, t, n) {
|
|
1256
1256
|
if (!e) return !0;
|
|
1257
1257
|
if (e === t) return !1;
|
|
1258
1258
|
const r = new Map(n.map((o) => [o.id, o]));
|
|
@@ -1280,7 +1280,7 @@ const mt = "en";
|
|
|
1280
1280
|
function gt(e) {
|
|
1281
1281
|
return e.defaultLocale || e.locale || mt;
|
|
1282
1282
|
}
|
|
1283
|
-
function
|
|
1283
|
+
function xr(e) {
|
|
1284
1284
|
const t = /* @__PURE__ */ new Set(), n = [];
|
|
1285
1285
|
for (const r of [gt(e), ...e.locales ?? []])
|
|
1286
1286
|
!r || t.has(r) || (t.add(r), n.push(r));
|
|
@@ -1300,7 +1300,7 @@ function At(e) {
|
|
|
1300
1300
|
const n = t.slice(0, v), r = Math.max(n.lastIndexOf(". "), n.lastIndexOf("! "), n.lastIndexOf("? "));
|
|
1301
1301
|
return r > v * 0.6 ? n.slice(0, r + 1) : `${n.trimEnd()}…`;
|
|
1302
1302
|
}
|
|
1303
|
-
function
|
|
1303
|
+
function Rr(e, t) {
|
|
1304
1304
|
const n = At(t.text), r = g(n);
|
|
1305
1305
|
if (!r || (e.examples ?? []).some((o) => g(o) === r)) return null;
|
|
1306
1306
|
const i = e.exampleCandidates ?? [], a = i.findIndex((o) => g(o.text) === r);
|
|
@@ -1314,7 +1314,7 @@ function Lr(e, t) {
|
|
|
1314
1314
|
function Q(e) {
|
|
1315
1315
|
return [...e].sort((t, n) => Number(n.corrected) - Number(t.corrected) || n.addedAt - t.addedAt);
|
|
1316
1316
|
}
|
|
1317
|
-
function
|
|
1317
|
+
function Lr(e, t) {
|
|
1318
1318
|
const n = g(t), r = (e.examples ?? []).filter((a) => a.trim());
|
|
1319
1319
|
return { examples: r.some((a) => g(a) === n) ? r : [...r, t].slice(-ht), exampleCandidates: bt(e, t) };
|
|
1320
1320
|
}
|
|
@@ -1458,58 +1458,64 @@ function Fr(e, t = "month") {
|
|
|
1458
1458
|
function Vr(e) {
|
|
1459
1459
|
return e?.listeningEnabled !== !1;
|
|
1460
1460
|
}
|
|
1461
|
-
|
|
1461
|
+
function Hr(e) {
|
|
1462
|
+
return e.credentialScope ? e.credentialScope : (e.authMode ?? "header") === "header" || e.oauth?.scope === "org" ? "shared" : "per-user";
|
|
1463
|
+
}
|
|
1464
|
+
function Wr(e) {
|
|
1465
|
+
return `mcp__${e}__`;
|
|
1466
|
+
}
|
|
1467
|
+
const zr = /* @__PURE__ */ new Set(["mail", "message"]);
|
|
1462
1468
|
function _t(e, t) {
|
|
1463
1469
|
const n = e.settings?.signatures?.[t];
|
|
1464
1470
|
return !n || !n.enabled || !n.body || n.body.trim() === "" ? null : n;
|
|
1465
1471
|
}
|
|
1466
|
-
function
|
|
1472
|
+
function Xr(e, t, n, r = "html") {
|
|
1467
1473
|
if (!e) return n;
|
|
1468
1474
|
const i = _t(e, t);
|
|
1469
1475
|
return i ? `${n}${r === "text" ? `
|
|
1470
1476
|
|
|
1471
1477
|
` : t === "mail" ? "<br><br>-- <br>" : "<br><br>"}${i.body}` : n;
|
|
1472
1478
|
}
|
|
1473
|
-
function
|
|
1479
|
+
function Yr(e) {
|
|
1474
1480
|
return e.endpoints ?? [];
|
|
1475
1481
|
}
|
|
1476
|
-
const
|
|
1482
|
+
const qr = (e) => !!e.assignedUserId || !!e.assignedInboxId, Jr = (e) => e.status === "closed", Zr = (e) => ({
|
|
1477
1483
|
urgent: 10,
|
|
1478
1484
|
high: 5,
|
|
1479
1485
|
normal: 2,
|
|
1480
1486
|
low: 1
|
|
1481
|
-
})[e.priority] || 0,
|
|
1482
|
-
function
|
|
1487
|
+
})[e.priority] || 0, Qr = (e, t = 30) => e.title?.length <= t ? e.title : `${e.title.substring(0, t)}...`;
|
|
1488
|
+
function ei(e, t) {
|
|
1483
1489
|
return e.lastActivityAt ? !(e.seenBy ?? []).includes(t) : !1;
|
|
1484
1490
|
}
|
|
1485
|
-
const
|
|
1486
|
-
function
|
|
1491
|
+
const ti = 1e3, ni = 2e3, ri = 500, ii = 12e3, ai = 4e3, Tt = ["contact", "company"];
|
|
1492
|
+
function oi(e) {
|
|
1487
1493
|
if (!e) return !1;
|
|
1488
1494
|
const t = e.slice(0, e.indexOf(":"));
|
|
1489
1495
|
return Tt.includes(t);
|
|
1490
1496
|
}
|
|
1491
|
-
function
|
|
1497
|
+
function si(e, t) {
|
|
1492
1498
|
const n = e.accumulatedSeconds || 0;
|
|
1493
1499
|
return e.runningSince ? n + Math.max(0, Math.floor((t - e.runningSince) / 1e3)) : n;
|
|
1494
1500
|
}
|
|
1495
|
-
function
|
|
1501
|
+
function li(e, t) {
|
|
1496
1502
|
const n = Math.max(1, Math.ceil(Math.max(0, e) / 60));
|
|
1497
1503
|
if (!t || t === "exact") return n * 60;
|
|
1498
1504
|
const r = Number(t);
|
|
1499
1505
|
return !Number.isFinite(r) || r <= 0 ? n * 60 : Math.ceil(n / r) * r * 60;
|
|
1500
1506
|
}
|
|
1501
|
-
function
|
|
1507
|
+
function ci(e) {
|
|
1502
1508
|
const t = Math.max(0, Math.round(e / 60));
|
|
1503
1509
|
return `${Math.floor(t / 60)}:${String(t % 60).padStart(2, "0")}`;
|
|
1504
1510
|
}
|
|
1505
|
-
function
|
|
1511
|
+
function ui(e) {
|
|
1506
1512
|
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);
|
|
1507
1513
|
return i > 0 ? `${i}:${n(r)}:${n(t % 60)}` : `${n(r)}:${n(t % 60)}`;
|
|
1508
1514
|
}
|
|
1509
1515
|
function It(e) {
|
|
1510
1516
|
return (e || "").normalize("NFD").replace(/[\u0300-\u036f]/g, "").toLowerCase().replace(/[^a-z0-9]+/g, "-").slice(0, 48).replace(/^-+|-+$/g, "");
|
|
1511
1517
|
}
|
|
1512
|
-
function
|
|
1518
|
+
function di(e, t) {
|
|
1513
1519
|
const n = It(e) || "werksoort", r = new Set(t);
|
|
1514
1520
|
if (!r.has(n)) return n;
|
|
1515
1521
|
for (let i = 2; i < 500; i++) {
|
|
@@ -1518,18 +1524,18 @@ function ci(e, t) {
|
|
|
1518
1524
|
}
|
|
1519
1525
|
return `${n}-${r.size + 1}`;
|
|
1520
1526
|
}
|
|
1521
|
-
function
|
|
1527
|
+
function pi(e, t) {
|
|
1522
1528
|
const n = e.ownerScope;
|
|
1523
1529
|
return !n || n.kind === "org" ? !0 : t.includes(n.teamId);
|
|
1524
1530
|
}
|
|
1525
|
-
function
|
|
1531
|
+
function fi(e) {
|
|
1526
1532
|
return e.filter((t) => !t.archived).sort(Mt);
|
|
1527
1533
|
}
|
|
1528
1534
|
function Mt(e, t) {
|
|
1529
1535
|
const n = (e.order ?? 0) - (t.order ?? 0);
|
|
1530
1536
|
return n !== 0 ? n : (e.label || "").localeCompare(t.label || "");
|
|
1531
1537
|
}
|
|
1532
|
-
function
|
|
1538
|
+
function mi(e) {
|
|
1533
1539
|
return e.type === "agent";
|
|
1534
1540
|
}
|
|
1535
1541
|
const kt = "work_item", Ct = "work_project";
|
|
@@ -1539,11 +1545,11 @@ function wt(e) {
|
|
|
1539
1545
|
function Ee(e) {
|
|
1540
1546
|
return `${Ct}:${e}`;
|
|
1541
1547
|
}
|
|
1542
|
-
function
|
|
1548
|
+
function gi(e, t, n) {
|
|
1543
1549
|
const r = `${e}-${t}`;
|
|
1544
1550
|
return n ? `${r}-${n}` : r;
|
|
1545
1551
|
}
|
|
1546
|
-
function
|
|
1552
|
+
function hi(e) {
|
|
1547
1553
|
const t = /^([A-Za-z0-9]{2,8})-(\d+)(?:-(\d+))?$/.exec((e || "").trim());
|
|
1548
1554
|
return t ? {
|
|
1549
1555
|
projectKey: t[1].toUpperCase(),
|
|
@@ -1551,17 +1557,17 @@ function mi(e) {
|
|
|
1551
1557
|
...t[3] ? { subSequence: Number(t[3]) } : {}
|
|
1552
1558
|
} : null;
|
|
1553
1559
|
}
|
|
1554
|
-
function
|
|
1560
|
+
function yi(e) {
|
|
1555
1561
|
return (e || "").normalize("NFD").replace(/[\u0300-\u036f]/g, "").toUpperCase().replace(/[^A-Z0-9]/g, "").slice(0, 3) || "PRJ";
|
|
1556
1562
|
}
|
|
1557
|
-
function
|
|
1563
|
+
function Ai(e, t = 25) {
|
|
1558
1564
|
const n = /* @__PURE__ */ new Set([wt(e.id)]);
|
|
1559
1565
|
e.projectId && n.add(Ee(e.projectId));
|
|
1560
1566
|
for (const r of e.ancestorKeys ?? []) n.add(r);
|
|
1561
1567
|
for (const r of e.partyKeys ?? []) n.add(r);
|
|
1562
1568
|
return Array.from(n).slice(0, t);
|
|
1563
1569
|
}
|
|
1564
|
-
function
|
|
1570
|
+
function bi(e) {
|
|
1565
1571
|
return [Ee(e.id)];
|
|
1566
1572
|
}
|
|
1567
1573
|
const $ = [
|
|
@@ -1575,27 +1581,27 @@ function Nt(e) {
|
|
|
1575
1581
|
function vt(e, t) {
|
|
1576
1582
|
return t.find((n) => n.key === e)?.category ?? "todo";
|
|
1577
1583
|
}
|
|
1578
|
-
function
|
|
1584
|
+
function Ei(e, t) {
|
|
1579
1585
|
return t.find((n) => n.key === e);
|
|
1580
1586
|
}
|
|
1581
|
-
function
|
|
1587
|
+
function Si(e) {
|
|
1582
1588
|
const t = Nt(e), n = e?.defaultStatusKey;
|
|
1583
|
-
return n && t.some((r) => r.key === n) ? n :
|
|
1589
|
+
return n && t.some((r) => r.key === n) ? n : Ot(t)[0]?.key ?? $[0].key;
|
|
1584
1590
|
}
|
|
1585
|
-
function
|
|
1591
|
+
function Ot(e) {
|
|
1586
1592
|
return [...e].sort((t, n) => {
|
|
1587
1593
|
const r = (t.order ?? 0) - (n.order ?? 0);
|
|
1588
1594
|
return r !== 0 ? r : (t.label || "").localeCompare(n.label || "");
|
|
1589
1595
|
});
|
|
1590
1596
|
}
|
|
1591
|
-
function
|
|
1597
|
+
function _i(e, t) {
|
|
1592
1598
|
return vt(e, t) === "done";
|
|
1593
1599
|
}
|
|
1594
|
-
function
|
|
1600
|
+
function xt(e) {
|
|
1595
1601
|
return (e || "").normalize("NFD").replace(/[\u0300-\u036f]/g, "").toLowerCase().replace(/[^a-z0-9]+/g, "-").slice(0, 48).replace(/^-+|-+$/g, "");
|
|
1596
1602
|
}
|
|
1597
|
-
function
|
|
1598
|
-
const n =
|
|
1603
|
+
function Ti(e, t) {
|
|
1604
|
+
const n = xt(e) || "status", r = /* @__PURE__ */ new Set([...t, ...Se]);
|
|
1599
1605
|
if (!r.has(n)) return n;
|
|
1600
1606
|
for (let i = 2; i < 500; i++) {
|
|
1601
1607
|
const a = `${n}-${i}`;
|
|
@@ -1603,7 +1609,7 @@ function Si(e, t) {
|
|
|
1603
1609
|
}
|
|
1604
1610
|
return `${n}-${r.size + 1}`;
|
|
1605
1611
|
}
|
|
1606
|
-
function
|
|
1612
|
+
function Ii(e) {
|
|
1607
1613
|
const t = [];
|
|
1608
1614
|
if (!e.length) return [{ index: -1, reason: "empty" }];
|
|
1609
1615
|
const n = /* @__PURE__ */ new Set();
|
|
@@ -1615,7 +1621,7 @@ function _i(e) {
|
|
|
1615
1621
|
Se.includes(r.key) && t.push({ index: i, reason: "reserved_key", key: r.key }), n.has(r.key) && t.push({ index: i, reason: "duplicate_key", key: r.key }), n.add(r.key);
|
|
1616
1622
|
}), e.some((r) => r.category === "todo" || r.category === "in_progress") || t.push({ index: -1, reason: "no_open" }), e.some((r) => r.category === "done") || t.push({ index: -1, reason: "no_done" }), t;
|
|
1617
1623
|
}
|
|
1618
|
-
const
|
|
1624
|
+
const R = {
|
|
1619
1625
|
// The lower bounds are deliberately generous: service ranges (0800/0900) are
|
|
1620
1626
|
// shorter than geographic numbers, and a too-strict minimum silently drops them.
|
|
1621
1627
|
// An over-permissive key is harmless — it simply matches nothing.
|
|
@@ -1638,29 +1644,29 @@ const L = {
|
|
|
1638
1644
|
PL: { callingCode: "48", nsnMin: 9, nsnMax: 9 },
|
|
1639
1645
|
US: { callingCode: "1", nsnMin: 10, nsnMax: 10 },
|
|
1640
1646
|
CA: { callingCode: "1", nsnMin: 10, nsnMax: 10 }
|
|
1641
|
-
}, $t = "NL",
|
|
1642
|
-
new Set(Object.values(
|
|
1647
|
+
}, $t = "NL", Rt = 15, Lt = 8, Dt = Array.from(
|
|
1648
|
+
new Set(Object.values(R).map((e) => e.callingCode))
|
|
1643
1649
|
).sort((e, t) => t.length - e.length);
|
|
1644
1650
|
function te(e) {
|
|
1645
1651
|
if (e)
|
|
1646
|
-
return
|
|
1652
|
+
return R[e.trim().toUpperCase()];
|
|
1647
1653
|
}
|
|
1648
1654
|
function E(e, t) {
|
|
1649
1655
|
return e.length >= t.nsnMin && e.length <= t.nsnMax;
|
|
1650
1656
|
}
|
|
1651
1657
|
function ne(e) {
|
|
1652
|
-
if (e.length >
|
|
1658
|
+
if (e.length > Rt) return null;
|
|
1653
1659
|
for (const t of Dt) {
|
|
1654
1660
|
if (!e.startsWith(t)) continue;
|
|
1655
1661
|
const n = e.slice(t.length);
|
|
1656
|
-
for (const r of Object.values(
|
|
1662
|
+
for (const r of Object.values(R)) {
|
|
1657
1663
|
if (r.callingCode !== t) continue;
|
|
1658
1664
|
const i = r.trunkPrefix, a = i && n.startsWith(i) ? n.slice(i.length) : n;
|
|
1659
1665
|
if (E(a, r)) return `+${t}${a}`;
|
|
1660
1666
|
}
|
|
1661
1667
|
return null;
|
|
1662
1668
|
}
|
|
1663
|
-
return e.length <
|
|
1669
|
+
return e.length < Lt ? null : `+${e}`;
|
|
1664
1670
|
}
|
|
1665
1671
|
function Pt(e) {
|
|
1666
1672
|
let t = e.trim();
|
|
@@ -1669,7 +1675,7 @@ function Pt(e) {
|
|
|
1669
1675
|
const r = t.indexOf("@");
|
|
1670
1676
|
return r >= 0 && (t = t.slice(0, r)), t.trim();
|
|
1671
1677
|
}
|
|
1672
|
-
function
|
|
1678
|
+
function Mi(e) {
|
|
1673
1679
|
if (!e) return !1;
|
|
1674
1680
|
const t = e.indexOf("@");
|
|
1675
1681
|
if (t <= 0) return !1;
|
|
@@ -1697,7 +1703,7 @@ function re(e, t) {
|
|
|
1697
1703
|
}
|
|
1698
1704
|
return !o && E(i, a) ? `+${a.callingCode}${i}` : null;
|
|
1699
1705
|
}
|
|
1700
|
-
function
|
|
1706
|
+
function ki(e, t = 9) {
|
|
1701
1707
|
const n = (e ?? "").replace(/\D/g, "");
|
|
1702
1708
|
return n.length < t ? null : n.slice(-t);
|
|
1703
1709
|
}
|
|
@@ -1708,7 +1714,7 @@ function _e(e) {
|
|
|
1708
1714
|
const r = t.slice(0, n).split("+")[0], i = t.slice(n + 1);
|
|
1709
1715
|
return !r || !i.includes(".") ? null : `${r}@${i}`;
|
|
1710
1716
|
}
|
|
1711
|
-
function
|
|
1717
|
+
function Ci(e) {
|
|
1712
1718
|
const t = _e(e);
|
|
1713
1719
|
return t ? t.slice(t.lastIndexOf("@") + 1) : null;
|
|
1714
1720
|
}
|
|
@@ -1774,16 +1780,16 @@ const jt = /* @__PURE__ */ new Set([
|
|
|
1774
1780
|
"proximus.be",
|
|
1775
1781
|
"scarlet.be"
|
|
1776
1782
|
]);
|
|
1777
|
-
function
|
|
1783
|
+
function wi(e) {
|
|
1778
1784
|
const t = Ut(e);
|
|
1779
1785
|
return t ? jt.has(t) : !1;
|
|
1780
1786
|
}
|
|
1781
|
-
function
|
|
1787
|
+
function Ni(e) {
|
|
1782
1788
|
if (!e) return !1;
|
|
1783
1789
|
const t = e.trim().toLowerCase();
|
|
1784
1790
|
return t === "tel" || t === "sms" || t === "whatsapp" || t === "fax";
|
|
1785
1791
|
}
|
|
1786
|
-
function
|
|
1792
|
+
function vi(e, t, n) {
|
|
1787
1793
|
if (!e || !t) return null;
|
|
1788
1794
|
const r = e.trim().toLowerCase();
|
|
1789
1795
|
if (r === "tel" || r === "sms" || r === "whatsapp") {
|
|
@@ -1802,7 +1808,7 @@ function wi(e, t, n) {
|
|
|
1802
1808
|
return i ? `${r}:${i}` : null;
|
|
1803
1809
|
}
|
|
1804
1810
|
const Gt = /(\*\*|__)(?=\S)([\s\S]*?\S)\1/g, Bt = /(\*|_)(?=\S)([^*_\n]*?\S)\1/g;
|
|
1805
|
-
function
|
|
1811
|
+
function Oi(e) {
|
|
1806
1812
|
if (typeof e != "string" || !e) return "";
|
|
1807
1813
|
let t = e;
|
|
1808
1814
|
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(`
|
|
@@ -1854,7 +1860,7 @@ function le(e) {
|
|
|
1854
1860
|
|
|
1855
1861
|
`).trim();
|
|
1856
1862
|
}
|
|
1857
|
-
function
|
|
1863
|
+
function xi(e) {
|
|
1858
1864
|
if (typeof e != "string" || !e) return "";
|
|
1859
1865
|
let t = e.length;
|
|
1860
1866
|
for (const a of Ft) {
|
|
@@ -1866,11 +1872,11 @@ function vi(e) {
|
|
|
1866
1872
|
return r || (r = le(se(ae(e)))), Ht(r) || r;
|
|
1867
1873
|
}
|
|
1868
1874
|
const Wt = /(^|[._+-])(no-?reply|noreply|donotreply|do-not-reply|newsletter|nieuwsbrief|mailer|mailing|notifications?|bounce|postmaster|marketing)@/i, zt = /\b(unsubscribe|afmelden|uitschrijven|opt[\s-]?out|manage (your )?preferences|geen (e-?mails?|nieuwsbrief|berichten) meer)\b/i;
|
|
1869
|
-
function
|
|
1875
|
+
function $i(e, t) {
|
|
1870
1876
|
return !!(e && Wt.test(e) || t && zt.test(t));
|
|
1871
1877
|
}
|
|
1872
1878
|
const Xt = 3, Yt = 600;
|
|
1873
|
-
function
|
|
1879
|
+
function Ri(e, t) {
|
|
1874
1880
|
return e >= Xt || t >= Yt;
|
|
1875
1881
|
}
|
|
1876
1882
|
const qt = /* @__PURE__ */ new Set(["image/png", "image/jpeg", "image/jpg", "image/gif", "image/webp"]), Jt = /* @__PURE__ */ new Set([
|
|
@@ -1891,15 +1897,15 @@ const h = 1024 * 1024, Qt = {
|
|
|
1891
1897
|
pdf: 20 * h,
|
|
1892
1898
|
text: 1 * h,
|
|
1893
1899
|
audio: 20 * h
|
|
1894
|
-
},
|
|
1895
|
-
function
|
|
1900
|
+
}, Li = 25 * h, Di = 5;
|
|
1901
|
+
function Pi(e, t) {
|
|
1896
1902
|
const n = Zt(e);
|
|
1897
1903
|
return n === "unsupported" ? "unsupported" : t > Qt[n] ? "too-large" : null;
|
|
1898
1904
|
}
|
|
1899
1905
|
function en(e) {
|
|
1900
1906
|
return `${e.kind}:${e.id || e.url || e.title}`;
|
|
1901
1907
|
}
|
|
1902
|
-
function
|
|
1908
|
+
function Ki(e, t = []) {
|
|
1903
1909
|
const n = new Set(t), r = [], i = [];
|
|
1904
1910
|
for (const a of e) {
|
|
1905
1911
|
const o = en(a);
|
|
@@ -1924,7 +1930,7 @@ function nn(e, t) {
|
|
|
1924
1930
|
}
|
|
1925
1931
|
return n;
|
|
1926
1932
|
}
|
|
1927
|
-
function
|
|
1933
|
+
function Ui(e, t) {
|
|
1928
1934
|
const n = nn(e, t);
|
|
1929
1935
|
return Object.entries(n).filter(([, r]) => !r).map(([r]) => r);
|
|
1930
1936
|
}
|
|
@@ -1935,7 +1941,7 @@ function rn(e, t) {
|
|
|
1935
1941
|
transport: t.transport ?? e.transport
|
|
1936
1942
|
} : e;
|
|
1937
1943
|
}
|
|
1938
|
-
function
|
|
1944
|
+
function ji(e, t) {
|
|
1939
1945
|
const n = [];
|
|
1940
1946
|
for (const r of e) {
|
|
1941
1947
|
if (!r.enabled) continue;
|
|
@@ -1946,16 +1952,16 @@ function Ki(e, t) {
|
|
|
1946
1952
|
}
|
|
1947
1953
|
return n;
|
|
1948
1954
|
}
|
|
1949
|
-
function
|
|
1955
|
+
function Gi(e, t) {
|
|
1950
1956
|
return t.filter((n) => n.capability.intent === e);
|
|
1951
1957
|
}
|
|
1952
1958
|
function an(e, t) {
|
|
1953
1959
|
return t.filter((n) => n.capability.targetSchemes.includes(e));
|
|
1954
1960
|
}
|
|
1955
|
-
function
|
|
1961
|
+
function Bi(e, t) {
|
|
1956
1962
|
return an(e.scheme, t);
|
|
1957
1963
|
}
|
|
1958
|
-
function
|
|
1964
|
+
function Fi(e, t, n) {
|
|
1959
1965
|
const r = [];
|
|
1960
1966
|
for (const i of e)
|
|
1961
1967
|
for (const a of n)
|
|
@@ -1985,10 +1991,10 @@ const sn = {
|
|
|
1985
1991
|
id: "note",
|
|
1986
1992
|
custom: "note"
|
|
1987
1993
|
};
|
|
1988
|
-
function
|
|
1994
|
+
function Vi(e) {
|
|
1989
1995
|
return e ? sn[e] ?? "note" : "note";
|
|
1990
1996
|
}
|
|
1991
|
-
const
|
|
1997
|
+
const Hi = "message_window", Wi = "message_templates", zi = {
|
|
1992
1998
|
// E-mail
|
|
1993
1999
|
FROM: "from",
|
|
1994
2000
|
TO: "to",
|
|
@@ -2005,8 +2011,8 @@ const Fi = "message_window", Vi = "message_templates", Hi = {
|
|
|
2005
2011
|
// Voice/conference
|
|
2006
2012
|
HOST: "host",
|
|
2007
2013
|
PARTICIPANT: "participant"
|
|
2008
|
-
},
|
|
2009
|
-
function
|
|
2014
|
+
}, Xi = (e, t) => ({ intent: e, ...t }), Yi = "folder_management", qi = "remote_search", Ji = { ok: !1, code: "UNSUPPORTED", message: "Provider does not support this op" }, Zi = "resources.describe", Qi = "resources.search", ea = "resources.resolve";
|
|
2015
|
+
function ta(e) {
|
|
2010
2016
|
const t = e.indexOf(":");
|
|
2011
2017
|
return t === -1 ? e : e.slice(0, t);
|
|
2012
2018
|
}
|
|
@@ -2015,11 +2021,11 @@ function Ie(e) {
|
|
|
2015
2021
|
const t = typeof e == "string" ? e.match(/apps\/([^/?#]+)/) : null;
|
|
2016
2022
|
return t ? t[1] : null;
|
|
2017
2023
|
}
|
|
2018
|
-
function
|
|
2024
|
+
function na(e) {
|
|
2019
2025
|
const t = Ie(e);
|
|
2020
2026
|
return t ? t !== Te : typeof e == "string" && e.startsWith("/wake");
|
|
2021
2027
|
}
|
|
2022
|
-
function
|
|
2028
|
+
function ra(e) {
|
|
2023
2029
|
return typeof e != "string" || e === "" || e === "/" ? !0 : Ie(e) === Te;
|
|
2024
2030
|
}
|
|
2025
2031
|
function ln(e) {
|
|
@@ -2041,7 +2047,7 @@ function un(e, t) {
|
|
|
2041
2047
|
function dn(e) {
|
|
2042
2048
|
return e.publicBasePath ?? `/apps/${e.name}`;
|
|
2043
2049
|
}
|
|
2044
|
-
function
|
|
2050
|
+
function ia(e) {
|
|
2045
2051
|
const t = [];
|
|
2046
2052
|
for (const n of e) {
|
|
2047
2053
|
if (!n?.name) continue;
|
|
@@ -2074,10 +2080,10 @@ function fn(e, t) {
|
|
|
2074
2080
|
cn(r.pattern).test(e) && (!n || pn(r.pattern, n.pattern)) && (n = r);
|
|
2075
2081
|
return n ? { ...n, params: { ...n.props, ...un(n.pattern, e) } } : null;
|
|
2076
2082
|
}
|
|
2077
|
-
function
|
|
2083
|
+
function aa(e, t) {
|
|
2078
2084
|
return fn(e, t) !== null;
|
|
2079
2085
|
}
|
|
2080
|
-
const mn = {
|
|
2086
|
+
const oa = "sync-source", sa = "sync-target", la = 20, mn = {
|
|
2081
2087
|
afrikaans: [
|
|
2082
2088
|
"[Muziek]",
|
|
2083
2089
|
"(C) TV GELDERLAND 2021",
|
|
@@ -2368,13 +2374,13 @@ function In(e, t = hn) {
|
|
|
2368
2374
|
return { text: n.filter((o) => (o.endedAt ?? 0) >= i).map((o) => gn(o.text).trim()).filter(Boolean).join(" ").replace(/\s+/g, " ").trim(), segmentCount: n.length };
|
|
2369
2375
|
}
|
|
2370
2376
|
const Mn = 60;
|
|
2371
|
-
function
|
|
2377
|
+
function ca(e, t, n = Mn) {
|
|
2372
2378
|
const r = new Set(e), i = [...e];
|
|
2373
2379
|
for (const a of t)
|
|
2374
2380
|
!a || r.has(a) || (r.add(a), i.push(a));
|
|
2375
2381
|
return i.slice(-n);
|
|
2376
2382
|
}
|
|
2377
|
-
function
|
|
2383
|
+
function ua(e) {
|
|
2378
2384
|
const { segments: t, now: n, state: r } = e;
|
|
2379
2385
|
if (r.lastTriggerAt && n - r.lastTriggerAt < yn)
|
|
2380
2386
|
return { trigger: !1, reason: "too_soon" };
|
|
@@ -2387,28 +2393,28 @@ function aa(e) {
|
|
|
2387
2393
|
return o.length ? r.lastQueryTerms?.length && Tn(o, r.lastQueryTerms) < bn ? { trigger: !1, reason: "same_topic" } : { trigger: !0, text: i.text, terms: o, segmentCount: i.segmentCount } : { trigger: !1, reason: "no_speech" };
|
|
2388
2394
|
}
|
|
2389
2395
|
const Me = 9e4, kn = ["out_of_office"], ke = (e) => kn.includes(e);
|
|
2390
|
-
function
|
|
2396
|
+
function da(e, t, n) {
|
|
2391
2397
|
const r = n - e < Me, i = t?.status && (!t.expiresAt || t.expiresAt > n) ? t : void 0;
|
|
2392
2398
|
if (!i?.status) return { online: r, status: r ? "available" : "offline" };
|
|
2393
2399
|
const a = i.status;
|
|
2394
2400
|
return !r && !ke(a) ? { online: !1, status: "offline" } : { online: r, status: a, message: i.message };
|
|
2395
2401
|
}
|
|
2396
|
-
function
|
|
2402
|
+
function pa(e, t) {
|
|
2397
2403
|
const n = t - e.lastSeenAt < Me, r = n || ke(e.status) ? e.status : "offline";
|
|
2398
2404
|
return n === e.online && r === e.status ? e : { ...e, online: n, status: r };
|
|
2399
2405
|
}
|
|
2400
|
-
function
|
|
2406
|
+
function fa(e, t) {
|
|
2401
2407
|
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 };
|
|
2402
2408
|
}
|
|
2403
|
-
function
|
|
2409
|
+
function ma(e) {
|
|
2404
2410
|
return e.providerAvailable && e.allowed;
|
|
2405
2411
|
}
|
|
2406
|
-
const
|
|
2412
|
+
const ga = "installation-id";
|
|
2407
2413
|
export {
|
|
2408
2414
|
m as ACTIVITY_CATALOG,
|
|
2409
2415
|
Qt as AI_ATTACHMENT_LIMITS,
|
|
2410
|
-
|
|
2411
|
-
|
|
2416
|
+
Di as AI_ATTACHMENT_MAX_PER_TURN,
|
|
2417
|
+
Li as AI_ATTACHMENT_TURN_BUDGET,
|
|
2412
2418
|
be as AI_VENDORS,
|
|
2413
2419
|
Fe as ALLOWED_LINK_SCHEMES,
|
|
2414
2420
|
B as ARTIFACT_MAX_BLOCKS,
|
|
@@ -2430,71 +2436,74 @@ export {
|
|
|
2430
2436
|
dr as CLASSIFY_VARS,
|
|
2431
2437
|
Hn as CORE_DIMENSIONS,
|
|
2432
2438
|
on as CommunicationScheme,
|
|
2433
|
-
|
|
2439
|
+
ai as DEFAULT_MEMORY_BUDGET,
|
|
2434
2440
|
$t as DEFAULT_PHONE_REGION,
|
|
2435
2441
|
Er as EMPTY_WORKFLOW,
|
|
2436
|
-
|
|
2437
|
-
|
|
2438
|
-
|
|
2442
|
+
Yi as FEATURE_FOLDER_MANAGEMENT,
|
|
2443
|
+
qi as FEATURE_REMOTE_SEARCH,
|
|
2444
|
+
ga as INSTALLATION_HEADER,
|
|
2439
2445
|
ot as INTERACTION_KIND,
|
|
2440
|
-
|
|
2446
|
+
zi as InteractionParticipantRole,
|
|
2441
2447
|
mt as KB_FALLBACK_LOCALE,
|
|
2442
2448
|
Z as KB_LOCALES,
|
|
2443
2449
|
$ as LOOSE_STATUSES,
|
|
2444
2450
|
M as MAX_ACTIONS,
|
|
2445
2451
|
Qe as MAX_ASSIGNMENT_TURNS,
|
|
2446
|
-
|
|
2452
|
+
L as MAX_BLOCKS,
|
|
2447
2453
|
ye as MAX_COLLECTION_DEPTH,
|
|
2448
2454
|
T as MAX_FIELDS,
|
|
2449
2455
|
I as MAX_LIST_ITEMS,
|
|
2450
|
-
|
|
2451
|
-
|
|
2452
|
-
|
|
2456
|
+
ti as MAX_MEMORY_BROWSE,
|
|
2457
|
+
ii as MAX_MEMORY_BUDGET,
|
|
2458
|
+
ni as MAX_MEMORY_CHARS,
|
|
2453
2459
|
Mn as MAX_SHOWN_KEYS,
|
|
2454
2460
|
yt as MAX_TOPIC_CANDIDATES,
|
|
2455
2461
|
ht as MAX_TOPIC_EXAMPLES,
|
|
2456
2462
|
v as MAX_TOPIC_EXAMPLE_CHARS,
|
|
2457
|
-
|
|
2458
|
-
|
|
2463
|
+
ri as MIN_MEMORY_BUDGET,
|
|
2464
|
+
R as PHONE_REGIONS,
|
|
2459
2465
|
Me as PRESENCE_ONLINE_WINDOW_MS,
|
|
2460
2466
|
kn as PRESENCE_SURVIVES_OFFLINE,
|
|
2461
|
-
|
|
2462
|
-
|
|
2467
|
+
Wi as PROVIDER_FEATURE_MESSAGE_TEMPLATES,
|
|
2468
|
+
Hi as PROVIDER_FEATURE_MESSAGE_WINDOW,
|
|
2463
2469
|
jt as PUBLIC_EMAIL_DOMAINS,
|
|
2464
2470
|
q as READ_STEP_TYPES,
|
|
2465
2471
|
Tt as RELATED_SUBJECT_KINDS,
|
|
2466
2472
|
Se as RESERVED_STATUS_KEYS,
|
|
2467
|
-
|
|
2468
|
-
|
|
2469
|
-
|
|
2470
|
-
|
|
2473
|
+
Zi as RESOURCE_DESCRIBE_SERVICE,
|
|
2474
|
+
ea as RESOURCE_RESOLVE_SERVICE,
|
|
2475
|
+
Qi as RESOURCE_SEARCH_SERVICE,
|
|
2476
|
+
zr as SIGNATURE_INTENTS,
|
|
2471
2477
|
ct as STEP_MAX_TOKENS_MAX,
|
|
2472
2478
|
lt as STEP_MAX_TOKENS_MIN,
|
|
2473
2479
|
Yt as SUMMARY_MIN_LAST_CHARS,
|
|
2474
2480
|
Xt as SUMMARY_MIN_MESSAGES,
|
|
2481
|
+
la as SYNC_RUN_MAX_ERRORS,
|
|
2482
|
+
oa as SYNC_SOURCE_PROVIDER_GROUP,
|
|
2483
|
+
sa as SYNC_TARGET_PROVIDER_GROUP,
|
|
2475
2484
|
Je as TERMINAL_ASSIGNMENT_STATUSES,
|
|
2476
2485
|
ut as TERMINAL_RUN_STATUSES,
|
|
2477
2486
|
ur as TRIGGER_VARS,
|
|
2478
|
-
|
|
2487
|
+
Ji as UNSUPPORTED,
|
|
2479
2488
|
Ue as USAGE_DIMENSIONS,
|
|
2480
2489
|
je as USAGE_DIMENSION_IDS,
|
|
2481
2490
|
kt as WORK_ITEM_SCOPE_KIND,
|
|
2482
2491
|
Ct as WORK_PROJECT_SCOPE_KIND,
|
|
2483
|
-
|
|
2492
|
+
Lr as acceptExampleCandidate,
|
|
2484
2493
|
nt as actingIdentityKey,
|
|
2485
|
-
|
|
2494
|
+
fi as activeWorkTypes,
|
|
2486
2495
|
vn as activityIconOf,
|
|
2487
2496
|
jn as activityJoinUrl,
|
|
2488
2497
|
ve as activitySnippet,
|
|
2489
|
-
|
|
2498
|
+
Oe as activityTextParams,
|
|
2490
2499
|
Un as activityTimelineText,
|
|
2491
2500
|
Vn as activityTimestamp,
|
|
2492
2501
|
d as activityTypeInfo,
|
|
2493
2502
|
mr as actorKey,
|
|
2494
|
-
|
|
2495
|
-
|
|
2503
|
+
Rr as addExampleCandidate,
|
|
2504
|
+
pa as agePresenceEntry,
|
|
2496
2505
|
Zt as aiAttachmentKind,
|
|
2497
|
-
|
|
2506
|
+
Pi as aiAttachmentRejection,
|
|
2498
2507
|
ee as aiBudgetLimit,
|
|
2499
2508
|
Fr as aiBudgetPeriodKey,
|
|
2500
2509
|
St as aiBudgetPeriodStart,
|
|
@@ -2505,8 +2514,8 @@ export {
|
|
|
2505
2514
|
jr as aiVendorNeedsBaseUrl,
|
|
2506
2515
|
Ur as aiVendorsWith,
|
|
2507
2516
|
Ie as appNameFromPath,
|
|
2508
|
-
|
|
2509
|
-
|
|
2517
|
+
li as applyRounding,
|
|
2518
|
+
Xr as applySignature,
|
|
2510
2519
|
Jn as artifactBodyBytes,
|
|
2511
2520
|
Zn as artifactOutline,
|
|
2512
2521
|
Qn as artifactToMarkdown,
|
|
@@ -2514,119 +2523,121 @@ export {
|
|
|
2514
2523
|
ir as assignmentScopeKey,
|
|
2515
2524
|
or as assignmentSubject,
|
|
2516
2525
|
Bn as buildActivityPreview,
|
|
2517
|
-
|
|
2526
|
+
ji as buildChannelIntents,
|
|
2518
2527
|
er as buildShareKeys,
|
|
2519
2528
|
In as buildWindow,
|
|
2520
|
-
|
|
2521
|
-
|
|
2529
|
+
Or as canNestUnder,
|
|
2530
|
+
Rn as carriesText,
|
|
2522
2531
|
$r as categoryLabel,
|
|
2523
2532
|
vt as categoryOf,
|
|
2524
|
-
|
|
2525
|
-
|
|
2533
|
+
Vi as channelKindForScheme,
|
|
2534
|
+
On as channelKindOf,
|
|
2526
2535
|
br as clampStepMaxTokens,
|
|
2527
|
-
|
|
2536
|
+
xi as cleanMessageText,
|
|
2528
2537
|
Mt as compareWorkTypes,
|
|
2529
2538
|
sr as decideAssignmentState,
|
|
2530
|
-
|
|
2539
|
+
ua as decideCadence,
|
|
2531
2540
|
gt as defaultLocaleOf,
|
|
2532
|
-
|
|
2533
|
-
|
|
2541
|
+
Si as defaultStatusKey,
|
|
2542
|
+
Xi as defineIntent,
|
|
2534
2543
|
pt as depthOf,
|
|
2535
|
-
|
|
2536
|
-
|
|
2537
|
-
|
|
2538
|
-
|
|
2539
|
-
|
|
2544
|
+
da as derivePresence,
|
|
2545
|
+
Ui as disabledIntentsFromCapabilities,
|
|
2546
|
+
si as elapsedSeconds,
|
|
2547
|
+
Ci as emailDomain,
|
|
2548
|
+
vi as endpointKey,
|
|
2540
2549
|
un as extractParams,
|
|
2541
2550
|
_n as extractTerms,
|
|
2542
|
-
|
|
2543
|
-
|
|
2551
|
+
Bi as filterByEndpoint,
|
|
2552
|
+
Gi as filterByIntent,
|
|
2544
2553
|
an as filterByTargetScheme,
|
|
2545
2554
|
S as findAiVendor,
|
|
2546
2555
|
Wn as flattenLocales,
|
|
2547
2556
|
De as floorToPeriod,
|
|
2548
2557
|
tt as formatActingIdentity,
|
|
2549
|
-
|
|
2550
|
-
|
|
2551
|
-
|
|
2552
|
-
|
|
2553
|
-
|
|
2558
|
+
ui as formatClock,
|
|
2559
|
+
ci as formatHm,
|
|
2560
|
+
gi as formatItemKey,
|
|
2561
|
+
Le as formatPeriod,
|
|
2562
|
+
Ki as freshSources,
|
|
2554
2563
|
Fn as getActivitySeenUserIds,
|
|
2555
|
-
|
|
2556
|
-
|
|
2557
|
-
|
|
2564
|
+
Yr as getContactEndpoints,
|
|
2565
|
+
Qr as getShortTitle,
|
|
2566
|
+
Zr as getUrgencyScore,
|
|
2558
2567
|
Ae as heightOf,
|
|
2559
2568
|
wr as helpCenterText,
|
|
2560
2569
|
cr as humanizeAction,
|
|
2561
2570
|
st as interactionIdOf,
|
|
2562
|
-
|
|
2563
|
-
|
|
2571
|
+
mi as isAgentUser,
|
|
2572
|
+
qr as isAssigned,
|
|
2564
2573
|
rr as isAssignmentTerminal,
|
|
2565
2574
|
it as isAssignmentTrigger,
|
|
2566
2575
|
wn as isChatMessageActivity,
|
|
2567
|
-
|
|
2576
|
+
Jr as isClosed,
|
|
2568
2577
|
Pn as isConnectedType,
|
|
2569
|
-
|
|
2578
|
+
na as isDeepLink,
|
|
2570
2579
|
ft as isDescendant,
|
|
2571
2580
|
Cn as isEmailActivity,
|
|
2572
2581
|
Ir as isInFlight,
|
|
2573
|
-
|
|
2574
|
-
|
|
2575
|
-
|
|
2582
|
+
ei as isInteractionUnseen,
|
|
2583
|
+
ra as isLandingPath,
|
|
2584
|
+
$i as isLikelyBulk,
|
|
2576
2585
|
ce as isMessageShape,
|
|
2577
|
-
|
|
2586
|
+
xn as isMessageType,
|
|
2578
2587
|
pn as isMoreSpecificPattern,
|
|
2579
2588
|
dt as isPaused,
|
|
2580
2589
|
Dn as isPlaybookAuthoredType,
|
|
2581
|
-
|
|
2582
|
-
|
|
2590
|
+
wi as isPublicEmailDomain,
|
|
2591
|
+
aa as isPublicPath,
|
|
2583
2592
|
$n as isReplyableType,
|
|
2584
2593
|
Tr as isTerminal,
|
|
2585
|
-
|
|
2594
|
+
Ri as isThreadLongEnough,
|
|
2586
2595
|
Kn as isTranscriptType,
|
|
2587
|
-
|
|
2588
|
-
|
|
2589
|
-
|
|
2596
|
+
_i as isWorkClosed,
|
|
2597
|
+
pi as isWorkTypeVisible,
|
|
2598
|
+
Ai as itemDossierKeys,
|
|
2590
2599
|
Nt as ladderFor,
|
|
2591
2600
|
Cr as linkLabel,
|
|
2592
2601
|
Vr as listeningAllowed,
|
|
2593
2602
|
vr as localeInstruction,
|
|
2594
2603
|
Nr as localeName,
|
|
2595
|
-
|
|
2596
|
-
|
|
2597
|
-
|
|
2604
|
+
xr as localesOf,
|
|
2605
|
+
Mi as looksLikeEmail,
|
|
2606
|
+
Fi as matchContactToIntents,
|
|
2598
2607
|
fn as matchPublicRoute,
|
|
2599
|
-
|
|
2600
|
-
|
|
2601
|
-
|
|
2608
|
+
Hr as mcpCredentialScope,
|
|
2609
|
+
Wr as mcpToolPrefix,
|
|
2610
|
+
ca as mergeShownKeys,
|
|
2611
|
+
Ln as messageCountsAs,
|
|
2612
|
+
Ni as needsPhoneRegion,
|
|
2602
2613
|
qn as normalizeArtifactBlocks,
|
|
2603
2614
|
Nn as normalizeBlocks,
|
|
2604
2615
|
_e as normalizeEmail,
|
|
2605
2616
|
g as normalizeExample,
|
|
2606
2617
|
Tn as novelty,
|
|
2607
2618
|
pr as parseActingIdentity,
|
|
2608
|
-
|
|
2619
|
+
hi as parseItemKey,
|
|
2609
2620
|
cn as pathToRegex,
|
|
2610
2621
|
zn as periodsInRange,
|
|
2611
|
-
|
|
2612
|
-
|
|
2622
|
+
ki as phoneSuffix,
|
|
2623
|
+
Oi as plainTextFromMarkdown,
|
|
2613
2624
|
rt as playbookActor,
|
|
2614
2625
|
_r as procedureOf,
|
|
2615
|
-
|
|
2626
|
+
bi as projectDossierKeys,
|
|
2616
2627
|
dn as publicBasePathFor,
|
|
2617
|
-
|
|
2618
|
-
|
|
2628
|
+
ia as publicRoutePatterns,
|
|
2629
|
+
O as readPath,
|
|
2619
2630
|
J as readStepError,
|
|
2620
2631
|
at as refKey,
|
|
2621
2632
|
Ut as registrableDomain,
|
|
2622
2633
|
bt as rejectExampleCandidate,
|
|
2623
|
-
|
|
2634
|
+
oi as relatedByDefault,
|
|
2624
2635
|
nn as resolveAccountCapabilities,
|
|
2625
|
-
|
|
2636
|
+
x as resolveActivityText,
|
|
2626
2637
|
tn as resolveChannelIntents,
|
|
2627
2638
|
_t as resolveSignature,
|
|
2628
|
-
|
|
2629
|
-
|
|
2639
|
+
fa as resolveWorkMode,
|
|
2640
|
+
ta as resourceKindOf,
|
|
2630
2641
|
fr as runActor,
|
|
2631
2642
|
kr as runInteractionId,
|
|
2632
2643
|
ze as sanitizeInline,
|
|
@@ -2635,15 +2646,15 @@ export {
|
|
|
2635
2646
|
me as shareKeyForTeam,
|
|
2636
2647
|
fe as shareKeyForUser,
|
|
2637
2648
|
tr as shareKeysForViewer,
|
|
2638
|
-
|
|
2639
|
-
|
|
2649
|
+
ma as shouldRunAudioPipeline,
|
|
2650
|
+
Ot as sortStatuses,
|
|
2640
2651
|
en as sourceKey,
|
|
2641
|
-
|
|
2652
|
+
Ei as statusIn,
|
|
2642
2653
|
Sr as stepsOf,
|
|
2643
2654
|
Ne as stripHtml,
|
|
2644
2655
|
Mr as subjectKeyOf,
|
|
2645
2656
|
ge as subjectOf,
|
|
2646
|
-
|
|
2657
|
+
yi as suggestProjectKey,
|
|
2647
2658
|
yr as targetById,
|
|
2648
2659
|
hr as targetForActivityType,
|
|
2649
2660
|
re as toE164,
|
|
@@ -2651,15 +2662,15 @@ export {
|
|
|
2651
2662
|
Et as topicOfferedForTeam,
|
|
2652
2663
|
Dr as topicsForTeam,
|
|
2653
2664
|
At as truncateExample,
|
|
2654
|
-
|
|
2655
|
-
|
|
2665
|
+
Ti as uniqueWorkStatusKey,
|
|
2666
|
+
di as uniqueWorkTypeKey,
|
|
2656
2667
|
Ge as usageMetricId,
|
|
2657
2668
|
Xn as usageMetrics,
|
|
2658
|
-
|
|
2669
|
+
Ii as validateStatuses,
|
|
2659
2670
|
gr as valueAtPath,
|
|
2660
2671
|
ar as wakesAssignment,
|
|
2661
2672
|
wt as workItemScopeKey,
|
|
2662
2673
|
Ee as workProjectScopeKey,
|
|
2663
|
-
|
|
2674
|
+
xt as workStatusKey,
|
|
2664
2675
|
It as workTypeKey
|
|
2665
2676
|
};
|