@opencxh/domain 1.182.0 → 1.184.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/onboarding/index.d.ts +2 -0
- package/dist/entities/onboarding/source.d.ts +147 -0
- package/dist/entities/onboarding/types.d.ts +82 -0
- package/dist/entities/organization/index.d.ts +1 -0
- package/dist/entities/organization/profile.d.ts +57 -0
- package/dist/entities/organization/types.d.ts +6 -0
- package/dist/index.cjs +6 -6
- package/dist/index.d.ts +1 -0
- package/dist/index.js +226 -221
- package/dist/platform/ui.d.ts +7 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -445,10 +445,10 @@ function R(e) {
|
|
|
445
445
|
function d(e) {
|
|
446
446
|
return m[e];
|
|
447
447
|
}
|
|
448
|
-
function
|
|
448
|
+
function On(e) {
|
|
449
449
|
return d(e)?.icon ?? "circle";
|
|
450
450
|
}
|
|
451
|
-
function
|
|
451
|
+
function vn(e) {
|
|
452
452
|
return d(e)?.channelKind;
|
|
453
453
|
}
|
|
454
454
|
function ae(e) {
|
|
@@ -469,10 +469,10 @@ function Dn(e) {
|
|
|
469
469
|
function Ln(e) {
|
|
470
470
|
return d(e)?.playbookAuthored === !0;
|
|
471
471
|
}
|
|
472
|
-
function
|
|
472
|
+
function Pn(e) {
|
|
473
473
|
return d(e)?.connected === !0;
|
|
474
474
|
}
|
|
475
|
-
function
|
|
475
|
+
function Kn(e) {
|
|
476
476
|
const t = d(e);
|
|
477
477
|
return t?.shape === "artifact" && t?.carriesText === !0;
|
|
478
478
|
}
|
|
@@ -548,7 +548,7 @@ function L(e) {
|
|
|
548
548
|
displayNameKey: t.displayNameKey
|
|
549
549
|
};
|
|
550
550
|
}
|
|
551
|
-
function
|
|
551
|
+
function P(e) {
|
|
552
552
|
return {
|
|
553
553
|
type: e.type,
|
|
554
554
|
shape: e.shape,
|
|
@@ -563,7 +563,7 @@ function K(e) {
|
|
|
563
563
|
displayNameKey: e.displayNameKey
|
|
564
564
|
};
|
|
565
565
|
}
|
|
566
|
-
class
|
|
566
|
+
class Oe {
|
|
567
567
|
constructor(t = [], n = Ne) {
|
|
568
568
|
this.translate = n;
|
|
569
569
|
for (const r of t)
|
|
@@ -573,11 +573,11 @@ class ve {
|
|
|
573
573
|
get(t) {
|
|
574
574
|
if (t in m) return L(t);
|
|
575
575
|
const n = this.declared.get(t);
|
|
576
|
-
return n ?
|
|
576
|
+
return n ? P(n) : void 0;
|
|
577
577
|
}
|
|
578
578
|
/** Everything that may be offered as a trigger, built-in and declared. */
|
|
579
579
|
triggerable() {
|
|
580
|
-
const t = Object.keys(m).filter((r) => m[r].triggerable).map(L), n = [...this.declared.values()].map(
|
|
580
|
+
const t = Object.keys(m).filter((r) => m[r].triggerable).map(L), n = [...this.declared.values()].map(P).filter((r) => r.triggerable);
|
|
581
581
|
return [...t, ...n];
|
|
582
582
|
}
|
|
583
583
|
/**
|
|
@@ -649,7 +649,7 @@ class ve {
|
|
|
649
649
|
return this.translate;
|
|
650
650
|
}
|
|
651
651
|
}
|
|
652
|
-
const Bn = new
|
|
652
|
+
const Bn = new Oe();
|
|
653
653
|
function Fn(e, t, n = []) {
|
|
654
654
|
const r = e.createdAt;
|
|
655
655
|
if (!r) return [];
|
|
@@ -776,18 +776,18 @@ function Jn(e, t) {
|
|
|
776
776
|
}
|
|
777
777
|
function Zn(e, t) {
|
|
778
778
|
if (!e.enabled) return "ok";
|
|
779
|
-
const n =
|
|
779
|
+
const n = K(e.hardLimitNanos), r = K(e.softLimitNanos);
|
|
780
780
|
return n !== void 0 && t >= n ? "hard" : r !== void 0 && t >= r ? "soft" : "ok";
|
|
781
781
|
}
|
|
782
|
-
function
|
|
782
|
+
function K(e) {
|
|
783
783
|
return typeof e == "number" ? e : void 0;
|
|
784
784
|
}
|
|
785
|
-
function
|
|
785
|
+
function ve(e, t = "month") {
|
|
786
786
|
const n = new Date(e);
|
|
787
787
|
return Date.UTC(n.getUTCFullYear(), n.getUTCMonth(), 1);
|
|
788
788
|
}
|
|
789
789
|
function Qn(e, t = "month") {
|
|
790
|
-
const n = new Date(
|
|
790
|
+
const n = new Date(ve(e, t));
|
|
791
791
|
return `${n.getUTCFullYear()}-${String(n.getUTCMonth() + 1).padStart(2, "0")}`;
|
|
792
792
|
}
|
|
793
793
|
function er(e) {
|
|
@@ -831,20 +831,20 @@ function rr(e, t, n) {
|
|
|
831
831
|
const Le = [
|
|
832
832
|
{ id: "resource", label: "Resource", labelSource: "raw" },
|
|
833
833
|
{ id: "origin", label: "Herkomst", labelSource: "raw" }
|
|
834
|
-
],
|
|
835
|
-
function
|
|
834
|
+
], Pe = Le.map((e) => e.id);
|
|
835
|
+
function Ke(e, t) {
|
|
836
836
|
return `${e}.usage.${t}`;
|
|
837
837
|
}
|
|
838
838
|
function ir(e, t) {
|
|
839
839
|
return t.map((n) => ({
|
|
840
|
-
id:
|
|
840
|
+
id: Ke(e, n.unit),
|
|
841
841
|
label: n.label,
|
|
842
842
|
category: "Verbruik",
|
|
843
843
|
valueType: n.valueType ?? "count",
|
|
844
844
|
aggregation: "sum",
|
|
845
845
|
supportedDimensions: [
|
|
846
846
|
"provider",
|
|
847
|
-
...
|
|
847
|
+
...Pe,
|
|
848
848
|
...n.extraDimensions ?? [],
|
|
849
849
|
"time"
|
|
850
850
|
]
|
|
@@ -1255,7 +1255,7 @@ function Ze(e, t) {
|
|
|
1255
1255
|
}
|
|
1256
1256
|
return r;
|
|
1257
1257
|
}
|
|
1258
|
-
function
|
|
1258
|
+
function Or(e, t, n) {
|
|
1259
1259
|
if (!e) return !0;
|
|
1260
1260
|
if (e === t) return !1;
|
|
1261
1261
|
const r = new Map(n.map((o) => [o.id, o]));
|
|
@@ -1283,7 +1283,7 @@ const et = "en";
|
|
|
1283
1283
|
function tt(e) {
|
|
1284
1284
|
return e.defaultLocale || e.locale || et;
|
|
1285
1285
|
}
|
|
1286
|
-
function
|
|
1286
|
+
function vr(e) {
|
|
1287
1287
|
const t = /* @__PURE__ */ new Set(), n = [];
|
|
1288
1288
|
for (const r of [tt(e), ...e.locales ?? []])
|
|
1289
1289
|
!r || t.has(r) || (t.add(r), n.push(r));
|
|
@@ -1329,12 +1329,13 @@ function Rr(e) {
|
|
|
1329
1329
|
function Dr(e) {
|
|
1330
1330
|
return `mcp__${e}__`;
|
|
1331
1331
|
}
|
|
1332
|
-
const Lr = 1e3,
|
|
1332
|
+
const Lr = 1e3, Pr = 2e3, Kr = 500, Ur = 12e3, jr = 4e3, rt = ["contact", "company", "work_item"];
|
|
1333
1333
|
function Gr(e) {
|
|
1334
1334
|
if (!e) return !1;
|
|
1335
1335
|
const t = e.slice(0, e.indexOf(":"));
|
|
1336
1336
|
return rt.includes(t);
|
|
1337
1337
|
}
|
|
1338
|
+
const Br = "onboarding-source", Fr = ["support", "billing", "availability", "sales", "onboarding"], Hr = ["keep", "replace"];
|
|
1338
1339
|
function it(e) {
|
|
1339
1340
|
switch (e.kind) {
|
|
1340
1341
|
case "user":
|
|
@@ -1345,7 +1346,7 @@ function it(e) {
|
|
|
1345
1346
|
return "org";
|
|
1346
1347
|
}
|
|
1347
1348
|
}
|
|
1348
|
-
function
|
|
1349
|
+
function Wr(e) {
|
|
1349
1350
|
if (typeof e != "string") return;
|
|
1350
1351
|
const t = e.trim();
|
|
1351
1352
|
if (t === "org") return { kind: "org" };
|
|
@@ -1371,13 +1372,13 @@ function ot(e) {
|
|
|
1371
1372
|
}
|
|
1372
1373
|
}
|
|
1373
1374
|
const st = ot;
|
|
1374
|
-
function
|
|
1375
|
+
function Vr(e) {
|
|
1375
1376
|
return e.agentId ? { kind: "user", userId: e.agentId } : st(e.ownerScope);
|
|
1376
1377
|
}
|
|
1377
|
-
function
|
|
1378
|
+
function zr(e) {
|
|
1378
1379
|
return at(e);
|
|
1379
1380
|
}
|
|
1380
|
-
function
|
|
1381
|
+
function Xr(e, t) {
|
|
1381
1382
|
if (!t) return;
|
|
1382
1383
|
let n = e;
|
|
1383
1384
|
for (const r of t.split(".")) {
|
|
@@ -1386,24 +1387,24 @@ function Wr(e, t) {
|
|
|
1386
1387
|
}
|
|
1387
1388
|
return n;
|
|
1388
1389
|
}
|
|
1389
|
-
function
|
|
1390
|
+
function Yr(e, t) {
|
|
1390
1391
|
return e.targets.find((n) => n.activityTypes.includes(t));
|
|
1391
1392
|
}
|
|
1392
|
-
function
|
|
1393
|
+
function qr(e, t) {
|
|
1393
1394
|
if (t)
|
|
1394
1395
|
return e.targets.find((n) => n.id === t);
|
|
1395
1396
|
}
|
|
1396
1397
|
function ct(e) {
|
|
1397
1398
|
return e?.kind === "assignment";
|
|
1398
1399
|
}
|
|
1399
|
-
function
|
|
1400
|
+
function Jr(e) {
|
|
1400
1401
|
const { trigger: t, agentId: n, target: r, activityType: i, assigneeUserId: a, authorUserId: o } = e;
|
|
1401
1402
|
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";
|
|
1402
1403
|
}
|
|
1403
|
-
function
|
|
1404
|
+
function Zr(e) {
|
|
1404
1405
|
return (e.startsWith("tool:") ? e.slice(5) : e).replace(/__/g, " · ").replace(/\./g, " · ").replace(/_/g, " ");
|
|
1405
1406
|
}
|
|
1406
|
-
const
|
|
1407
|
+
const Qr = [
|
|
1407
1408
|
{ name: "text", type: "string" },
|
|
1408
1409
|
{ name: "subject", type: "string" },
|
|
1409
1410
|
{ name: "from", type: "string" },
|
|
@@ -1437,7 +1438,7 @@ const qr = [
|
|
|
1437
1438
|
// `buildTriggerVars` cannot fill it itself: the job does that with the catalog in hand, before
|
|
1438
1439
|
// the trigger filter runs — like contactId/companyId above.
|
|
1439
1440
|
{ name: "assigneeUserId", type: "string" }
|
|
1440
|
-
],
|
|
1441
|
+
], ei = {
|
|
1441
1442
|
topics: [
|
|
1442
1443
|
{ name: "topicId", type: "string" },
|
|
1443
1444
|
{ name: "topic", type: "string" },
|
|
@@ -1459,60 +1460,60 @@ function dt(e) {
|
|
|
1459
1460
|
return e?.type === ut ? e.id : void 0;
|
|
1460
1461
|
}
|
|
1461
1462
|
const pt = 64, ft = 8e3;
|
|
1462
|
-
function
|
|
1463
|
+
function ti(e) {
|
|
1463
1464
|
const t = typeof e == "number" ? e : Number(String(e ?? "").trim());
|
|
1464
1465
|
if (!(!Number.isFinite(t) || t <= 0))
|
|
1465
1466
|
return Math.min(Math.max(Math.round(t), pt), ft);
|
|
1466
1467
|
}
|
|
1467
|
-
const
|
|
1468
|
-
function
|
|
1468
|
+
const ni = { kind: "workflow", steps: [] };
|
|
1469
|
+
function ri(e) {
|
|
1469
1470
|
return e?.kind === "workflow" ? e.steps : [];
|
|
1470
1471
|
}
|
|
1471
|
-
function
|
|
1472
|
+
function ii(e) {
|
|
1472
1473
|
return e?.kind === "procedure" ? e.procedure : void 0;
|
|
1473
1474
|
}
|
|
1474
1475
|
const mt = ["done", "escalated", "failed", "stopped"];
|
|
1475
|
-
function
|
|
1476
|
+
function ai(e) {
|
|
1476
1477
|
return mt.includes(e);
|
|
1477
1478
|
}
|
|
1478
1479
|
function gt(e) {
|
|
1479
1480
|
return e === "waiting";
|
|
1480
1481
|
}
|
|
1481
|
-
function
|
|
1482
|
+
function oi(e) {
|
|
1482
1483
|
return e === "running" || gt(e);
|
|
1483
1484
|
}
|
|
1484
1485
|
function ge(e) {
|
|
1485
1486
|
return e.subjectKind && e.subjectId ? { type: e.subjectKind, id: e.subjectId } : void 0;
|
|
1486
1487
|
}
|
|
1487
|
-
function
|
|
1488
|
+
function si(e) {
|
|
1488
1489
|
const t = ge(e);
|
|
1489
1490
|
return t ? lt(t) : void 0;
|
|
1490
1491
|
}
|
|
1491
|
-
function
|
|
1492
|
+
function ci(e) {
|
|
1492
1493
|
return dt(ge(e));
|
|
1493
1494
|
}
|
|
1494
|
-
function
|
|
1495
|
+
function li(e, t) {
|
|
1495
1496
|
const n = e.accumulatedSeconds || 0;
|
|
1496
1497
|
return e.runningSince ? n + Math.max(0, Math.floor((t - e.runningSince) / 1e3)) : n;
|
|
1497
1498
|
}
|
|
1498
|
-
function
|
|
1499
|
+
function ui(e, t) {
|
|
1499
1500
|
const n = Math.max(1, Math.ceil(Math.max(0, e) / 60));
|
|
1500
1501
|
if (!t || t === "exact") return n * 60;
|
|
1501
1502
|
const r = Number(t);
|
|
1502
1503
|
return !Number.isFinite(r) || r <= 0 ? n * 60 : Math.ceil(n / r) * r * 60;
|
|
1503
1504
|
}
|
|
1504
|
-
function
|
|
1505
|
+
function di(e) {
|
|
1505
1506
|
const t = Math.max(0, Math.round(e / 60));
|
|
1506
1507
|
return `${Math.floor(t / 60)}:${String(t % 60).padStart(2, "0")}`;
|
|
1507
1508
|
}
|
|
1508
|
-
function
|
|
1509
|
+
function pi(e) {
|
|
1509
1510
|
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);
|
|
1510
1511
|
return i > 0 ? `${i}:${n(r)}:${n(t % 60)}` : `${n(r)}:${n(t % 60)}`;
|
|
1511
1512
|
}
|
|
1512
1513
|
function ht(e) {
|
|
1513
1514
|
return (e || "").normalize("NFD").replace(/[\u0300-\u036f]/g, "").toLowerCase().replace(/[^a-z0-9]+/g, "-").slice(0, 48).replace(/^-+|-+$/g, "");
|
|
1514
1515
|
}
|
|
1515
|
-
function
|
|
1516
|
+
function fi(e, t) {
|
|
1516
1517
|
const n = ht(e) || "werksoort", r = new Set(t);
|
|
1517
1518
|
if (!r.has(n)) return n;
|
|
1518
1519
|
for (let i = 2; i < 500; i++) {
|
|
@@ -1521,11 +1522,11 @@ function ui(e, t) {
|
|
|
1521
1522
|
}
|
|
1522
1523
|
return `${n}-${r.size + 1}`;
|
|
1523
1524
|
}
|
|
1524
|
-
function
|
|
1525
|
+
function mi(e, t) {
|
|
1525
1526
|
const n = e.ownerScope;
|
|
1526
1527
|
return !n || n.kind === "org" ? !0 : t.includes(n.teamId);
|
|
1527
1528
|
}
|
|
1528
|
-
function
|
|
1529
|
+
function gi(e) {
|
|
1529
1530
|
return e.filter((t) => !t.archived).sort(yt);
|
|
1530
1531
|
}
|
|
1531
1532
|
function yt(e, t) {
|
|
@@ -1542,7 +1543,7 @@ function Et(e) {
|
|
|
1542
1543
|
const n = t.slice(0, k), r = Math.max(n.lastIndexOf(". "), n.lastIndexOf("! "), n.lastIndexOf("? "));
|
|
1543
1544
|
return r > k * 0.6 ? n.slice(0, r + 1) : `${n.trimEnd()}…`;
|
|
1544
1545
|
}
|
|
1545
|
-
function
|
|
1546
|
+
function hi(e, t) {
|
|
1546
1547
|
const n = Et(t.text), r = g(n);
|
|
1547
1548
|
if (!r || (e.examples ?? []).some((o) => g(o) === r)) return null;
|
|
1548
1549
|
const i = e.exampleCandidates ?? [], a = i.findIndex((o) => g(o.text) === r);
|
|
@@ -1558,7 +1559,7 @@ function q(e) {
|
|
|
1558
1559
|
(t, n) => Number(n.corrected) - Number(t.corrected) || n.addedAt - t.addedAt
|
|
1559
1560
|
);
|
|
1560
1561
|
}
|
|
1561
|
-
function
|
|
1562
|
+
function yi(e, t) {
|
|
1562
1563
|
const n = g(t), r = (e.examples ?? []).filter((a) => a.trim());
|
|
1563
1564
|
return { examples: r.some((a) => g(a) === n) ? r : [...r, t].slice(-At), exampleCandidates: St(e, t) };
|
|
1564
1565
|
}
|
|
@@ -1570,24 +1571,24 @@ function _t(e, t) {
|
|
|
1570
1571
|
const n = e.ownerScope;
|
|
1571
1572
|
return n ? n.kind === "org" ? !0 : n.kind === "team" ? !!t && n.teamId === t : !1 : !1;
|
|
1572
1573
|
}
|
|
1573
|
-
function
|
|
1574
|
+
function Ai(e, t) {
|
|
1574
1575
|
return e.filter((n) => _t(n, t));
|
|
1575
1576
|
}
|
|
1576
|
-
function
|
|
1577
|
+
function bi(e) {
|
|
1577
1578
|
return e.type === "agent";
|
|
1578
1579
|
}
|
|
1579
|
-
const
|
|
1580
|
+
const Ei = "WORK_COMMENT_ADDED", Si = "WORK_ITEM_ASSIGNED", _i = "WORK_ITEM_STATUS_CHANGED", Tt = "work_item", It = "work_project";
|
|
1580
1581
|
function wt(e) {
|
|
1581
1582
|
return `${Tt}:${e}`;
|
|
1582
1583
|
}
|
|
1583
1584
|
function he(e) {
|
|
1584
1585
|
return `${It}:${e}`;
|
|
1585
1586
|
}
|
|
1586
|
-
function
|
|
1587
|
+
function Ti(e, t, n) {
|
|
1587
1588
|
const r = `${e}-${t}`;
|
|
1588
1589
|
return n ? `${r}-${n}` : r;
|
|
1589
1590
|
}
|
|
1590
|
-
function
|
|
1591
|
+
function Ii(e) {
|
|
1591
1592
|
const t = /^([A-Za-z0-9]{2,8})-(\d+)(?:-(\d+))?$/.exec((e || "").trim());
|
|
1592
1593
|
return t ? {
|
|
1593
1594
|
projectKey: t[1].toUpperCase(),
|
|
@@ -1595,36 +1596,36 @@ function Si(e) {
|
|
|
1595
1596
|
...t[3] ? { subSequence: Number(t[3]) } : {}
|
|
1596
1597
|
} : null;
|
|
1597
1598
|
}
|
|
1598
|
-
function
|
|
1599
|
+
function wi(e) {
|
|
1599
1600
|
return (e || "").normalize("NFD").replace(/[\u0300-\u036f]/g, "").toUpperCase().replace(/[^A-Z0-9]/g, "").slice(0, 3) || "PRJ";
|
|
1600
1601
|
}
|
|
1601
|
-
function
|
|
1602
|
+
function Mi(e, t = 25) {
|
|
1602
1603
|
const n = /* @__PURE__ */ new Set([wt(e.id)]);
|
|
1603
1604
|
e.projectId && n.add(he(e.projectId));
|
|
1604
1605
|
for (const r of e.ancestorKeys ?? []) n.add(r);
|
|
1605
1606
|
for (const r of e.partyKeys ?? []) n.add(r);
|
|
1606
1607
|
return Array.from(n).slice(0, t);
|
|
1607
1608
|
}
|
|
1608
|
-
function
|
|
1609
|
+
function ki(e) {
|
|
1609
1610
|
return [he(e.id)];
|
|
1610
1611
|
}
|
|
1611
|
-
const
|
|
1612
|
+
const O = [
|
|
1612
1613
|
{ key: "open", label: "status_open", category: "todo", order: 0 },
|
|
1613
1614
|
{ key: "in_progress", label: "status_in_progress", category: "in_progress", order: 1 },
|
|
1614
1615
|
{ key: "done", label: "status_done", category: "done", order: 2 }
|
|
1615
|
-
], ye =
|
|
1616
|
+
], ye = O.map((e) => e.key);
|
|
1616
1617
|
function Mt(e) {
|
|
1617
|
-
return e?.statuses?.length ? e.statuses :
|
|
1618
|
+
return e?.statuses?.length ? e.statuses : O;
|
|
1618
1619
|
}
|
|
1619
1620
|
function kt(e, t) {
|
|
1620
1621
|
return t.find((n) => n.key === e)?.category ?? "todo";
|
|
1621
1622
|
}
|
|
1622
|
-
function
|
|
1623
|
+
function Ci(e, t) {
|
|
1623
1624
|
return t.find((n) => n.key === e);
|
|
1624
1625
|
}
|
|
1625
|
-
function
|
|
1626
|
+
function Ni(e) {
|
|
1626
1627
|
const t = Mt(e), n = e?.defaultStatusKey;
|
|
1627
|
-
return n && t.some((r) => r.key === n) ? n : Ct(t)[0]?.key ??
|
|
1628
|
+
return n && t.some((r) => r.key === n) ? n : Ct(t)[0]?.key ?? O[0].key;
|
|
1628
1629
|
}
|
|
1629
1630
|
function Ct(e) {
|
|
1630
1631
|
return [...e].sort((t, n) => {
|
|
@@ -1632,13 +1633,13 @@ function Ct(e) {
|
|
|
1632
1633
|
return r !== 0 ? r : (t.label || "").localeCompare(n.label || "");
|
|
1633
1634
|
});
|
|
1634
1635
|
}
|
|
1635
|
-
function
|
|
1636
|
+
function Oi(e, t) {
|
|
1636
1637
|
return kt(e, t) === "done";
|
|
1637
1638
|
}
|
|
1638
1639
|
function Nt(e) {
|
|
1639
1640
|
return (e || "").normalize("NFD").replace(/[\u0300-\u036f]/g, "").toLowerCase().replace(/[^a-z0-9]+/g, "-").slice(0, 48).replace(/^-+|-+$/g, "");
|
|
1640
1641
|
}
|
|
1641
|
-
function
|
|
1642
|
+
function vi(e, t) {
|
|
1642
1643
|
const n = Nt(e) || "status", r = /* @__PURE__ */ new Set([...t, ...ye]);
|
|
1643
1644
|
if (!r.has(n)) return n;
|
|
1644
1645
|
for (let i = 2; i < 500; i++) {
|
|
@@ -1647,7 +1648,7 @@ function Ci(e, t) {
|
|
|
1647
1648
|
}
|
|
1648
1649
|
return `${n}-${r.size + 1}`;
|
|
1649
1650
|
}
|
|
1650
|
-
function
|
|
1651
|
+
function xi(e) {
|
|
1651
1652
|
const t = [];
|
|
1652
1653
|
if (!e.length) return [{ index: -1, reason: "empty" }];
|
|
1653
1654
|
const n = /* @__PURE__ */ new Set();
|
|
@@ -1659,7 +1660,7 @@ function Ni(e) {
|
|
|
1659
1660
|
ye.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);
|
|
1660
1661
|
}), 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;
|
|
1661
1662
|
}
|
|
1662
|
-
const
|
|
1663
|
+
const Ot = /* @__PURE__ */ new Set(["image/png", "image/jpeg", "image/jpg", "image/gif", "image/webp"]), vt = /* @__PURE__ */ new Set([
|
|
1663
1664
|
"text/plain",
|
|
1664
1665
|
"text/markdown",
|
|
1665
1666
|
"text/csv",
|
|
@@ -1670,22 +1671,22 @@ const vt = /* @__PURE__ */ new Set(["image/png", "image/jpeg", "image/jpg", "ima
|
|
|
1670
1671
|
]);
|
|
1671
1672
|
function xt(e) {
|
|
1672
1673
|
const t = (e ?? "").trim().toLowerCase().split(";")[0];
|
|
1673
|
-
return t ?
|
|
1674
|
+
return t ? Ot.has(t) ? "image" : t === "application/pdf" ? "pdf" : vt.has(t) ? "text" : t.startsWith("audio/") ? "audio" : "unsupported" : "unsupported";
|
|
1674
1675
|
}
|
|
1675
1676
|
const h = 1024 * 1024, $t = {
|
|
1676
1677
|
image: 5 * h,
|
|
1677
1678
|
pdf: 20 * h,
|
|
1678
1679
|
text: 1 * h,
|
|
1679
1680
|
audio: 20 * h
|
|
1680
|
-
},
|
|
1681
|
-
function
|
|
1681
|
+
}, $i = 25 * h, Ri = 5;
|
|
1682
|
+
function Di(e, t) {
|
|
1682
1683
|
const n = xt(e);
|
|
1683
1684
|
return n === "unsupported" ? "unsupported" : t > $t[n] ? "too-large" : null;
|
|
1684
1685
|
}
|
|
1685
1686
|
function Rt(e) {
|
|
1686
1687
|
return `${e.kind}:${e.id || e.url || e.title}`;
|
|
1687
1688
|
}
|
|
1688
|
-
function
|
|
1689
|
+
function Li(e, t = []) {
|
|
1689
1690
|
const n = new Set(t), r = [], i = [];
|
|
1690
1691
|
for (const a of e) {
|
|
1691
1692
|
const o = Rt(a);
|
|
@@ -1693,23 +1694,23 @@ function $i(e, t = []) {
|
|
|
1693
1694
|
}
|
|
1694
1695
|
return { sources: r, keys: i };
|
|
1695
1696
|
}
|
|
1696
|
-
function
|
|
1697
|
+
function Pi(e) {
|
|
1697
1698
|
return e.sessions.filter(
|
|
1698
1699
|
(t) => t.id !== e.exceptSessionId && t.state === "connected" && e.canHold(t.providerId)
|
|
1699
1700
|
);
|
|
1700
1701
|
}
|
|
1701
|
-
function
|
|
1702
|
+
function Ki(e) {
|
|
1702
1703
|
return e.sessions.filter(
|
|
1703
1704
|
(t) => t.id !== e.exceptSessionId && t.state === "connected" && !e.canHold(t.providerId)
|
|
1704
1705
|
);
|
|
1705
1706
|
}
|
|
1706
|
-
function
|
|
1707
|
+
function Ui(e) {
|
|
1707
1708
|
return e.sessions.some(
|
|
1708
1709
|
(n) => n.id !== e.exceptSessionId && (n.state === "connected" || n.state === "on_hold")
|
|
1709
1710
|
) ? { admit: !1, reason: "busy" } : { admit: !0 };
|
|
1710
1711
|
}
|
|
1711
1712
|
function Dt(e, t) {
|
|
1712
|
-
const n = new Set(e.disabledIntents ?? []), r = e.intentOverrides ?? {}, i = t.intents.filter((o) => !n.has(o.intent)).map((o) =>
|
|
1713
|
+
const n = new Set(e.disabledIntents ?? []), r = e.intentOverrides ?? {}, i = t.intents.filter((o) => !n.has(o.intent)).map((o) => Pt(o, r[o.intent]));
|
|
1713
1714
|
if (!e.extraIntents || e.extraIntents.length === 0) return i;
|
|
1714
1715
|
const a = new Set(i.map((o) => o.intent));
|
|
1715
1716
|
for (const o of e.extraIntents)
|
|
@@ -1725,18 +1726,18 @@ function Lt(e, t) {
|
|
|
1725
1726
|
}
|
|
1726
1727
|
return n;
|
|
1727
1728
|
}
|
|
1728
|
-
function
|
|
1729
|
+
function ji(e, t) {
|
|
1729
1730
|
const n = Lt(e, t);
|
|
1730
1731
|
return Object.entries(n).filter(([, r]) => !r).map(([r]) => r);
|
|
1731
1732
|
}
|
|
1732
|
-
function
|
|
1733
|
+
function Pt(e, t) {
|
|
1733
1734
|
return t ? {
|
|
1734
1735
|
intent: t.intent ?? e.intent,
|
|
1735
1736
|
targetSchemes: t.targetSchemes ?? e.targetSchemes,
|
|
1736
1737
|
transport: t.transport ?? e.transport
|
|
1737
1738
|
} : e;
|
|
1738
1739
|
}
|
|
1739
|
-
function
|
|
1740
|
+
function Gi(e, t) {
|
|
1740
1741
|
const n = [];
|
|
1741
1742
|
for (const r of e) {
|
|
1742
1743
|
if (!r.enabled) continue;
|
|
@@ -1747,16 +1748,16 @@ function Pi(e, t) {
|
|
|
1747
1748
|
}
|
|
1748
1749
|
return n;
|
|
1749
1750
|
}
|
|
1750
|
-
function
|
|
1751
|
+
function Bi(e, t) {
|
|
1751
1752
|
return t.filter((n) => n.capability.intent === e);
|
|
1752
1753
|
}
|
|
1753
|
-
function
|
|
1754
|
+
function Kt(e, t) {
|
|
1754
1755
|
return t.filter((n) => n.capability.targetSchemes.includes(e));
|
|
1755
1756
|
}
|
|
1756
|
-
function
|
|
1757
|
-
return
|
|
1757
|
+
function Fi(e, t) {
|
|
1758
|
+
return Kt(e.scheme, t);
|
|
1758
1759
|
}
|
|
1759
|
-
function
|
|
1760
|
+
function Hi(e, t, n) {
|
|
1760
1761
|
const r = [];
|
|
1761
1762
|
for (const i of e)
|
|
1762
1763
|
for (const a of n)
|
|
@@ -1785,10 +1786,10 @@ const jt = {
|
|
|
1785
1786
|
id: "note",
|
|
1786
1787
|
custom: "note"
|
|
1787
1788
|
};
|
|
1788
|
-
function
|
|
1789
|
+
function Wi(e) {
|
|
1789
1790
|
return e ? jt[e] ?? "note" : "note";
|
|
1790
1791
|
}
|
|
1791
|
-
const
|
|
1792
|
+
const Vi = "message_window", zi = "message_templates", Xi = {
|
|
1792
1793
|
// E-mail
|
|
1793
1794
|
FROM: "from",
|
|
1794
1795
|
TO: "to",
|
|
@@ -1805,11 +1806,11 @@ const Fi = "message_window", Hi = "message_templates", Wi = {
|
|
|
1805
1806
|
// Voice/conference
|
|
1806
1807
|
HOST: "host",
|
|
1807
1808
|
PARTICIPANT: "participant"
|
|
1808
|
-
},
|
|
1809
|
+
}, Yi = (e, t) => ({ intent: e, ...t }), qi = "folder_management", Ji = "remote_search", Zi = {
|
|
1809
1810
|
ok: !1,
|
|
1810
1811
|
code: "UNSUPPORTED",
|
|
1811
1812
|
message: "Provider does not support this op"
|
|
1812
|
-
},
|
|
1813
|
+
}, Qi = "installation-id", ea = {
|
|
1813
1814
|
ai: [
|
|
1814
1815
|
"account.read",
|
|
1815
1816
|
"account.write",
|
|
@@ -1943,24 +1944,24 @@ const Fi = "message_window", Hi = "message_templates", Wi = {
|
|
|
1943
1944
|
user: ["user.read", "user.write"],
|
|
1944
1945
|
work: ["item.read", "item.write", "project.read", "project.write"]
|
|
1945
1946
|
}, Ae = 9e4, Gt = ["out_of_office"], be = (e) => Gt.includes(e);
|
|
1946
|
-
function
|
|
1947
|
+
function ta(e, t, n) {
|
|
1947
1948
|
const r = n - e < Ae, i = t?.status && (!t.expiresAt || t.expiresAt > n) ? t : void 0;
|
|
1948
1949
|
if (!i?.status) return { online: r, status: r ? "available" : "offline" };
|
|
1949
1950
|
const a = i.status;
|
|
1950
1951
|
return !r && !be(a) ? { online: !1, status: "offline" } : { online: r, status: a, message: i.message };
|
|
1951
1952
|
}
|
|
1952
|
-
function
|
|
1953
|
+
function na(e, t) {
|
|
1953
1954
|
const n = t - e.lastSeenAt < Ae, r = n || be(e.status) ? e.status : "offline";
|
|
1954
1955
|
return n === e.online && r === e.status ? e : { ...e, online: n, status: r };
|
|
1955
1956
|
}
|
|
1956
|
-
function
|
|
1957
|
+
function ra(e, t) {
|
|
1957
1958
|
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 };
|
|
1958
1959
|
}
|
|
1959
|
-
function
|
|
1960
|
+
function ia(e) {
|
|
1960
1961
|
return e.providerAvailable && e.allowed;
|
|
1961
1962
|
}
|
|
1962
|
-
const
|
|
1963
|
-
function
|
|
1963
|
+
const aa = "resources.describe", oa = "resources.search", sa = "resources.resolve";
|
|
1964
|
+
function ca(e) {
|
|
1964
1965
|
const t = e.indexOf(":");
|
|
1965
1966
|
return t === -1 ? e : e.slice(0, t);
|
|
1966
1967
|
}
|
|
@@ -1969,11 +1970,11 @@ function Se(e) {
|
|
|
1969
1970
|
const t = typeof e == "string" ? e.match(/apps\/([^/?#]+)/) : null;
|
|
1970
1971
|
return t ? t[1] : null;
|
|
1971
1972
|
}
|
|
1972
|
-
function
|
|
1973
|
+
function la(e) {
|
|
1973
1974
|
const t = Se(e);
|
|
1974
1975
|
return t ? t !== Ee : typeof e == "string" && e.startsWith("/wake");
|
|
1975
1976
|
}
|
|
1976
|
-
function
|
|
1977
|
+
function ua(e) {
|
|
1977
1978
|
return typeof e != "string" || e === "" || e === "/" ? !0 : Se(e) === Ee;
|
|
1978
1979
|
}
|
|
1979
1980
|
function Bt(e) {
|
|
@@ -1995,7 +1996,7 @@ function Ht(e, t) {
|
|
|
1995
1996
|
function Wt(e) {
|
|
1996
1997
|
return e.publicBasePath ?? `/apps/${e.name}`;
|
|
1997
1998
|
}
|
|
1998
|
-
function
|
|
1999
|
+
function da(e) {
|
|
1999
2000
|
const t = [];
|
|
2000
2001
|
for (const n of e) {
|
|
2001
2002
|
if (!n?.name) continue;
|
|
@@ -2028,10 +2029,10 @@ function zt(e, t) {
|
|
|
2028
2029
|
Ft(r.pattern).test(e) && (!n || Vt(r.pattern, n.pattern)) && (n = r);
|
|
2029
2030
|
return n ? { ...n, params: { ...n.props, ...Ht(n.pattern, e) } } : null;
|
|
2030
2031
|
}
|
|
2031
|
-
function
|
|
2032
|
+
function pa(e, t) {
|
|
2032
2033
|
return zt(e, t) !== null;
|
|
2033
2034
|
}
|
|
2034
|
-
const
|
|
2035
|
+
const fa = "sync-source", ma = "sync-target", ga = 20, Xt = {
|
|
2035
2036
|
afrikaans: [
|
|
2036
2037
|
"[Muziek]",
|
|
2037
2038
|
"(C) TV GELDERLAND 2021",
|
|
@@ -2322,13 +2323,13 @@ function an(e, t = qt) {
|
|
|
2322
2323
|
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 };
|
|
2323
2324
|
}
|
|
2324
2325
|
const on = 60;
|
|
2325
|
-
function
|
|
2326
|
+
function ha(e, t, n = on) {
|
|
2326
2327
|
const r = new Set(e), i = [...e];
|
|
2327
2328
|
for (const a of t)
|
|
2328
2329
|
!a || r.has(a) || (r.add(a), i.push(a));
|
|
2329
2330
|
return i.slice(-n);
|
|
2330
2331
|
}
|
|
2331
|
-
function
|
|
2332
|
+
function ya(e) {
|
|
2332
2333
|
const { segments: t, now: n, state: r } = e;
|
|
2333
2334
|
if (r.lastTriggerAt && n - r.lastTriggerAt < Jt)
|
|
2334
2335
|
return { trigger: !1, reason: "too_soon" };
|
|
@@ -2340,7 +2341,7 @@ function ma(e) {
|
|
|
2340
2341
|
const o = nn(i.text);
|
|
2341
2342
|
return o.length ? r.lastQueryTerms?.length && rn(o, r.lastQueryTerms) < Qt ? { trigger: !1, reason: "same_topic" } : { trigger: !0, text: i.text, terms: o, segmentCount: i.segmentCount } : { trigger: !1, reason: "no_speech" };
|
|
2342
2343
|
}
|
|
2343
|
-
const
|
|
2344
|
+
const Aa = "navNotice", v = {
|
|
2344
2345
|
// The lower bounds are deliberately generous: service ranges (0800/0900) are
|
|
2345
2346
|
// shorter than geographic numbers, and a too-strict minimum silently drops them.
|
|
2346
2347
|
// An over-permissive key is harmless — it simply matches nothing.
|
|
@@ -2364,11 +2365,11 @@ const O = {
|
|
|
2364
2365
|
US: { callingCode: "1", nsnMin: 10, nsnMax: 10 },
|
|
2365
2366
|
CA: { callingCode: "1", nsnMin: 10, nsnMax: 10 }
|
|
2366
2367
|
}, sn = "NL", cn = 15, ln = 8, un = Array.from(
|
|
2367
|
-
new Set(Object.values(
|
|
2368
|
+
new Set(Object.values(v).map((e) => e.callingCode))
|
|
2368
2369
|
).sort((e, t) => t.length - e.length);
|
|
2369
2370
|
function J(e) {
|
|
2370
2371
|
if (e)
|
|
2371
|
-
return
|
|
2372
|
+
return v[e.trim().toUpperCase()];
|
|
2372
2373
|
}
|
|
2373
2374
|
function E(e, t) {
|
|
2374
2375
|
return e.length >= t.nsnMin && e.length <= t.nsnMax;
|
|
@@ -2378,7 +2379,7 @@ function Z(e) {
|
|
|
2378
2379
|
for (const t of un) {
|
|
2379
2380
|
if (!e.startsWith(t)) continue;
|
|
2380
2381
|
const n = e.slice(t.length);
|
|
2381
|
-
for (const r of Object.values(
|
|
2382
|
+
for (const r of Object.values(v)) {
|
|
2382
2383
|
if (r.callingCode !== t) continue;
|
|
2383
2384
|
const i = r.trunkPrefix, a = i && n.startsWith(i) ? n.slice(i.length) : n;
|
|
2384
2385
|
if (E(a, r)) return `+${t}${a}`;
|
|
@@ -2394,7 +2395,7 @@ function dn(e) {
|
|
|
2394
2395
|
const r = t.indexOf("@");
|
|
2395
2396
|
return r >= 0 && (t = t.slice(0, r)), t.trim();
|
|
2396
2397
|
}
|
|
2397
|
-
function
|
|
2398
|
+
function ba(e) {
|
|
2398
2399
|
if (!e) return !1;
|
|
2399
2400
|
const t = e.indexOf("@");
|
|
2400
2401
|
if (t <= 0) return !1;
|
|
@@ -2422,7 +2423,7 @@ function Q(e, t) {
|
|
|
2422
2423
|
}
|
|
2423
2424
|
return !o && E(i, a) ? `+${a.callingCode}${i}` : null;
|
|
2424
2425
|
}
|
|
2425
|
-
function
|
|
2426
|
+
function Ea(e, t = 9) {
|
|
2426
2427
|
const n = (e ?? "").replace(/\D/g, "");
|
|
2427
2428
|
return n.length < t ? null : n.slice(-t);
|
|
2428
2429
|
}
|
|
@@ -2433,7 +2434,7 @@ function _e(e) {
|
|
|
2433
2434
|
const r = t.slice(0, n).split("+")[0], i = t.slice(n + 1);
|
|
2434
2435
|
return !r || !i.includes(".") ? null : `${r}@${i}`;
|
|
2435
2436
|
}
|
|
2436
|
-
function
|
|
2437
|
+
function Sa(e) {
|
|
2437
2438
|
const t = _e(e);
|
|
2438
2439
|
return t ? t.slice(t.lastIndexOf("@") + 1) : null;
|
|
2439
2440
|
}
|
|
@@ -2499,16 +2500,16 @@ const mn = /* @__PURE__ */ new Set([
|
|
|
2499
2500
|
"proximus.be",
|
|
2500
2501
|
"scarlet.be"
|
|
2501
2502
|
]);
|
|
2502
|
-
function
|
|
2503
|
+
function _a(e) {
|
|
2503
2504
|
const t = fn(e);
|
|
2504
2505
|
return t ? mn.has(t) : !1;
|
|
2505
2506
|
}
|
|
2506
|
-
function
|
|
2507
|
+
function Ta(e) {
|
|
2507
2508
|
if (!e) return !1;
|
|
2508
2509
|
const t = e.trim().toLowerCase();
|
|
2509
2510
|
return t === "tel" || t === "sms" || t === "whatsapp" || t === "fax";
|
|
2510
2511
|
}
|
|
2511
|
-
function
|
|
2512
|
+
function Ia(e, t, n) {
|
|
2512
2513
|
if (!e || !t) return null;
|
|
2513
2514
|
const r = e.trim().toLowerCase();
|
|
2514
2515
|
if (r === "tel" || r === "sms" || r === "whatsapp") {
|
|
@@ -2527,7 +2528,7 @@ function Ea(e, t, n) {
|
|
|
2527
2528
|
return i ? `${r}:${i}` : null;
|
|
2528
2529
|
}
|
|
2529
2530
|
const gn = /(\*\*|__)(?=\S)([\s\S]*?\S)\1/g, hn = /(\*|_)(?=\S)([^*_\n]*?\S)\1/g;
|
|
2530
|
-
function
|
|
2531
|
+
function wa(e) {
|
|
2531
2532
|
if (typeof e != "string" || !e) return "";
|
|
2532
2533
|
let t = e;
|
|
2533
2534
|
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(`
|
|
@@ -2580,10 +2581,10 @@ function ie(e) {
|
|
|
2580
2581
|
`).trim();
|
|
2581
2582
|
}
|
|
2582
2583
|
const En = /<\s*(html|body|div|p|table|br|span)\b/i;
|
|
2583
|
-
function
|
|
2584
|
+
function Ma(e) {
|
|
2584
2585
|
return En.test(e);
|
|
2585
2586
|
}
|
|
2586
|
-
function
|
|
2587
|
+
function ka(e) {
|
|
2587
2588
|
if (typeof e != "string" || !e) return "";
|
|
2588
2589
|
let t = e.length;
|
|
2589
2590
|
for (const a of yn) {
|
|
@@ -2595,21 +2596,21 @@ function Ta(e) {
|
|
|
2595
2596
|
return r || (r = ie(re(te(e)))), bn(r) || r;
|
|
2596
2597
|
}
|
|
2597
2598
|
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;
|
|
2598
|
-
function
|
|
2599
|
+
function Ca(e, t) {
|
|
2599
2600
|
return !!(e && Sn.test(e) || t && _n.test(t));
|
|
2600
2601
|
}
|
|
2601
2602
|
const Tn = 3, In = 600;
|
|
2602
|
-
function
|
|
2603
|
+
function Na(e, t) {
|
|
2603
2604
|
return e >= Tn || t >= In;
|
|
2604
2605
|
}
|
|
2605
2606
|
export {
|
|
2606
2607
|
m as ACTIVITY_CATALOG,
|
|
2607
2608
|
$t as AI_ATTACHMENT_LIMITS,
|
|
2608
|
-
|
|
2609
|
-
|
|
2609
|
+
Ri as AI_ATTACHMENT_MAX_PER_TURN,
|
|
2610
|
+
$i as AI_ATTACHMENT_TURN_BUDGET,
|
|
2610
2611
|
oe as AI_VENDORS,
|
|
2611
2612
|
je as ALLOWED_LINK_SCHEMES,
|
|
2612
|
-
|
|
2613
|
+
ea as APP_PERMISSIONS,
|
|
2613
2614
|
U as ARTIFACT_MAX_BLOCKS,
|
|
2614
2615
|
ar as ARTIFACT_MAX_BODY_BYTES,
|
|
2615
2616
|
M as ARTIFACT_MAX_CELL_LEN,
|
|
@@ -2620,27 +2621,27 @@ export {
|
|
|
2620
2621
|
ce as ARTIFACT_MAX_TEXT_LEN,
|
|
2621
2622
|
Ye as ASSIGNMENT_SCOPE_KIND,
|
|
2622
2623
|
Ee as AUTH_APP_NAME,
|
|
2623
|
-
|
|
2624
|
+
Oe as ActivityTypeRegistry,
|
|
2624
2625
|
Bn as BUILT_IN_ONLY,
|
|
2625
2626
|
Jt as CADENCE_FLOOR_MS,
|
|
2626
2627
|
Zt as CADENCE_MIN_NEW_SEGMENTS,
|
|
2627
2628
|
Qt as CADENCE_MIN_NOVELTY,
|
|
2628
2629
|
qt as CADENCE_WINDOW_MS,
|
|
2629
|
-
|
|
2630
|
+
ei as CLASSIFY_VARS,
|
|
2630
2631
|
nr as CORE_DIMENSIONS,
|
|
2631
2632
|
Ut as CommunicationScheme,
|
|
2632
2633
|
jr as DEFAULT_MEMORY_BUDGET,
|
|
2633
2634
|
sn as DEFAULT_PHONE_REGION,
|
|
2634
|
-
|
|
2635
|
-
|
|
2636
|
-
|
|
2635
|
+
ni as EMPTY_WORKFLOW,
|
|
2636
|
+
qi as FEATURE_FOLDER_MANAGEMENT,
|
|
2637
|
+
Ji as FEATURE_REMOTE_SEARCH,
|
|
2637
2638
|
En as HTML_BODY_RE,
|
|
2638
|
-
|
|
2639
|
+
Qi as INSTALLATION_HEADER,
|
|
2639
2640
|
ut as INTERACTION_KIND,
|
|
2640
|
-
|
|
2641
|
+
Xi as InteractionParticipantRole,
|
|
2641
2642
|
et as KB_FALLBACK_LOCALE,
|
|
2642
2643
|
z as KB_LOCALES,
|
|
2643
|
-
|
|
2644
|
+
O as LOOSE_STATUSES,
|
|
2644
2645
|
Cn as MAX_ACTIONS,
|
|
2645
2646
|
qe as MAX_ASSIGNMENT_TURNS,
|
|
2646
2647
|
wn as MAX_BLOCKS,
|
|
@@ -2649,61 +2650,65 @@ export {
|
|
|
2649
2650
|
kn as MAX_LIST_ITEMS,
|
|
2650
2651
|
Lr as MAX_MEMORY_BROWSE,
|
|
2651
2652
|
Ur as MAX_MEMORY_BUDGET,
|
|
2652
|
-
|
|
2653
|
+
Pr as MAX_MEMORY_CHARS,
|
|
2653
2654
|
on as MAX_SHOWN_KEYS,
|
|
2654
2655
|
bt as MAX_TOPIC_CANDIDATES,
|
|
2655
2656
|
At as MAX_TOPIC_EXAMPLES,
|
|
2656
2657
|
k as MAX_TOPIC_EXAMPLE_CHARS,
|
|
2657
|
-
|
|
2658
|
-
|
|
2658
|
+
Kr as MIN_MEMORY_BUDGET,
|
|
2659
|
+
Aa as NAV_NOTICE_SLOT,
|
|
2660
|
+
Br as ONBOARDING_SOURCE_PROVIDER_GROUP,
|
|
2661
|
+
v as PHONE_REGIONS,
|
|
2659
2662
|
Ae as PRESENCE_ONLINE_WINDOW_MS,
|
|
2660
2663
|
Gt as PRESENCE_SURVIVES_OFFLINE,
|
|
2661
|
-
|
|
2662
|
-
|
|
2664
|
+
Hr as PROFILE_TOOL_DISPOSITIONS,
|
|
2665
|
+
zi as PROVIDER_FEATURE_MESSAGE_TEMPLATES,
|
|
2666
|
+
Vi as PROVIDER_FEATURE_MESSAGE_WINDOW,
|
|
2663
2667
|
mn as PUBLIC_EMAIL_DOMAINS,
|
|
2664
2668
|
X as READ_STEP_TYPES,
|
|
2665
2669
|
rt as RELATED_SUBJECT_KINDS,
|
|
2666
2670
|
ye as RESERVED_STATUS_KEYS,
|
|
2667
|
-
|
|
2668
|
-
|
|
2669
|
-
|
|
2671
|
+
aa as RESOURCE_DESCRIBE_SERVICE,
|
|
2672
|
+
sa as RESOURCE_RESOLVE_SERVICE,
|
|
2673
|
+
oa as RESOURCE_SEARCH_SERVICE,
|
|
2670
2674
|
Ar as SIGNATURE_INTENTS,
|
|
2671
2675
|
ft as STEP_MAX_TOKENS_MAX,
|
|
2672
2676
|
pt as STEP_MAX_TOKENS_MIN,
|
|
2673
2677
|
In as SUMMARY_MIN_LAST_CHARS,
|
|
2674
2678
|
Tn as SUMMARY_MIN_MESSAGES,
|
|
2675
|
-
|
|
2676
|
-
|
|
2677
|
-
|
|
2679
|
+
ga as SYNC_RUN_MAX_ERRORS,
|
|
2680
|
+
fa as SYNC_SOURCE_PROVIDER_GROUP,
|
|
2681
|
+
ma as SYNC_TARGET_PROVIDER_GROUP,
|
|
2678
2682
|
Xe as TERMINAL_ASSIGNMENT_STATUSES,
|
|
2679
2683
|
mt as TERMINAL_RUN_STATUSES,
|
|
2680
|
-
|
|
2681
|
-
|
|
2684
|
+
Qr as TRIGGER_VARS,
|
|
2685
|
+
Zi as UNSUPPORTED,
|
|
2682
2686
|
Le as USAGE_DIMENSIONS,
|
|
2683
|
-
|
|
2684
|
-
|
|
2685
|
-
|
|
2687
|
+
Pe as USAGE_DIMENSION_IDS,
|
|
2688
|
+
Fr as WORK_AREAS,
|
|
2689
|
+
Ei as WORK_COMMENT_ADDED,
|
|
2690
|
+
Si as WORK_ITEM_ASSIGNED,
|
|
2686
2691
|
Tt as WORK_ITEM_SCOPE_KIND,
|
|
2687
|
-
|
|
2692
|
+
_i as WORK_ITEM_STATUS_CHANGED,
|
|
2688
2693
|
It as WORK_PROJECT_SCOPE_KIND,
|
|
2689
|
-
|
|
2694
|
+
yi as acceptExampleCandidate,
|
|
2690
2695
|
at as actingIdentityKey,
|
|
2691
|
-
|
|
2692
|
-
|
|
2696
|
+
gi as activeWorkTypes,
|
|
2697
|
+
On as activityIconOf,
|
|
2693
2698
|
jn as activityJoinUrl,
|
|
2694
2699
|
Me as activitySnippet,
|
|
2695
2700
|
ke as activityTextParams,
|
|
2696
2701
|
Un as activityTimelineText,
|
|
2697
2702
|
Hn as activityTimestamp,
|
|
2698
2703
|
d as activityTypeInfo,
|
|
2699
|
-
|
|
2700
|
-
|
|
2701
|
-
|
|
2704
|
+
zr as actorKey,
|
|
2705
|
+
hi as addExampleCandidate,
|
|
2706
|
+
na as agePresenceEntry,
|
|
2702
2707
|
xt as aiAttachmentKind,
|
|
2703
|
-
|
|
2704
|
-
|
|
2708
|
+
Di as aiAttachmentRejection,
|
|
2709
|
+
K as aiBudgetLimit,
|
|
2705
2710
|
Qn as aiBudgetPeriodKey,
|
|
2706
|
-
|
|
2711
|
+
ve as aiBudgetPeriodStart,
|
|
2707
2712
|
Zn as aiBudgetState,
|
|
2708
2713
|
Jn as aiVendorAcceptsAttachment,
|
|
2709
2714
|
Xn as aiVendorDefaultModel,
|
|
@@ -2711,120 +2716,120 @@ export {
|
|
|
2711
2716
|
qn as aiVendorNeedsBaseUrl,
|
|
2712
2717
|
Yn as aiVendorsWith,
|
|
2713
2718
|
Se as appNameFromPath,
|
|
2714
|
-
|
|
2719
|
+
ui as applyRounding,
|
|
2715
2720
|
br as applySignature,
|
|
2716
2721
|
sr as artifactBodyBytes,
|
|
2717
2722
|
cr as artifactOutline,
|
|
2718
2723
|
lr as artifactToMarkdown,
|
|
2719
|
-
|
|
2724
|
+
Jr as assignmentMismatch,
|
|
2720
2725
|
mr as assignmentScopeKey,
|
|
2721
2726
|
hr as assignmentSubject,
|
|
2722
2727
|
Gn as buildActivityPreview,
|
|
2723
|
-
|
|
2728
|
+
Gi as buildChannelIntents,
|
|
2724
2729
|
ur as buildShareKeys,
|
|
2725
2730
|
an as buildWindow,
|
|
2726
|
-
|
|
2731
|
+
Or as canNestUnder,
|
|
2727
2732
|
Rn as carriesText,
|
|
2728
2733
|
xr as categoryLabel,
|
|
2729
2734
|
kt as categoryOf,
|
|
2730
|
-
|
|
2731
|
-
|
|
2732
|
-
|
|
2733
|
-
|
|
2735
|
+
Wi as channelKindForScheme,
|
|
2736
|
+
vn as channelKindOf,
|
|
2737
|
+
ti as clampStepMaxTokens,
|
|
2738
|
+
ka as cleanMessageText,
|
|
2734
2739
|
yt as compareWorkTypes,
|
|
2735
2740
|
yr as decideAssignmentState,
|
|
2736
|
-
|
|
2737
|
-
|
|
2741
|
+
ya as decideCadence,
|
|
2742
|
+
Ui as decideIncomingCall,
|
|
2738
2743
|
tt as defaultLocaleOf,
|
|
2739
|
-
|
|
2740
|
-
|
|
2744
|
+
Ni as defaultStatusKey,
|
|
2745
|
+
Yi as defineIntent,
|
|
2741
2746
|
Ze as depthOf,
|
|
2742
|
-
|
|
2743
|
-
|
|
2744
|
-
|
|
2745
|
-
|
|
2746
|
-
|
|
2747
|
+
ta as derivePresence,
|
|
2748
|
+
ji as disabledIntentsFromCapabilities,
|
|
2749
|
+
li as elapsedSeconds,
|
|
2750
|
+
Sa as emailDomain,
|
|
2751
|
+
Ia as endpointKey,
|
|
2747
2752
|
Ht as extractParams,
|
|
2748
2753
|
nn as extractTerms,
|
|
2749
|
-
|
|
2750
|
-
|
|
2751
|
-
|
|
2754
|
+
Fi as filterByEndpoint,
|
|
2755
|
+
Bi as filterByIntent,
|
|
2756
|
+
Kt as filterByTargetScheme,
|
|
2752
2757
|
S as findAiVendor,
|
|
2753
2758
|
tr as flattenLocales,
|
|
2754
2759
|
$e as floorToPeriod,
|
|
2755
2760
|
it as formatActingIdentity,
|
|
2756
|
-
|
|
2757
|
-
|
|
2758
|
-
|
|
2761
|
+
pi as formatClock,
|
|
2762
|
+
di as formatHm,
|
|
2763
|
+
Ti as formatItemKey,
|
|
2759
2764
|
xe as formatPeriod,
|
|
2760
|
-
|
|
2765
|
+
Li as freshSources,
|
|
2761
2766
|
Fn as getActivitySeenUserIds,
|
|
2762
2767
|
Er as getContactEndpoints,
|
|
2763
2768
|
Ir as getShortTitle,
|
|
2764
2769
|
Tr as getUrgencyScore,
|
|
2765
2770
|
me as heightOf,
|
|
2766
2771
|
kr as helpCenterText,
|
|
2767
|
-
|
|
2772
|
+
Zr as humanizeAction,
|
|
2768
2773
|
dt as interactionIdOf,
|
|
2769
|
-
|
|
2774
|
+
bi as isAgentUser,
|
|
2770
2775
|
Sr as isAssigned,
|
|
2771
2776
|
fr as isAssignmentTerminal,
|
|
2772
2777
|
ct as isAssignmentTrigger,
|
|
2773
2778
|
Vn as isChatMessageActivity,
|
|
2774
2779
|
_r as isClosed,
|
|
2775
|
-
|
|
2776
|
-
|
|
2780
|
+
Pn as isConnectedType,
|
|
2781
|
+
la as isDeepLink,
|
|
2777
2782
|
Qe as isDescendant,
|
|
2778
2783
|
Wn as isEmailActivity,
|
|
2779
|
-
|
|
2780
|
-
|
|
2784
|
+
Ma as isHtmlBody,
|
|
2785
|
+
oi as isInFlight,
|
|
2781
2786
|
wr as isInteractionUnseen,
|
|
2782
|
-
|
|
2783
|
-
|
|
2787
|
+
ua as isLandingPath,
|
|
2788
|
+
Ca as isLikelyBulk,
|
|
2784
2789
|
ae as isMessageShape,
|
|
2785
2790
|
xn as isMessageType,
|
|
2786
2791
|
Vt as isMoreSpecificPattern,
|
|
2787
2792
|
gt as isPaused,
|
|
2788
2793
|
Ln as isPlaybookAuthoredType,
|
|
2789
|
-
|
|
2790
|
-
|
|
2794
|
+
_a as isPublicEmailDomain,
|
|
2795
|
+
pa as isPublicPath,
|
|
2791
2796
|
$n as isReplyableType,
|
|
2792
|
-
|
|
2793
|
-
|
|
2794
|
-
|
|
2795
|
-
|
|
2796
|
-
|
|
2797
|
-
|
|
2797
|
+
ai as isTerminal,
|
|
2798
|
+
Na as isThreadLongEnough,
|
|
2799
|
+
Kn as isTranscriptType,
|
|
2800
|
+
Oi as isWorkClosed,
|
|
2801
|
+
mi as isWorkTypeVisible,
|
|
2802
|
+
Mi as itemDossierKeys,
|
|
2798
2803
|
Mt as ladderFor,
|
|
2799
2804
|
Mr as linkLabel,
|
|
2800
2805
|
er as listeningAllowed,
|
|
2801
2806
|
Nr as localeInstruction,
|
|
2802
2807
|
Cr as localeName,
|
|
2803
|
-
|
|
2804
|
-
|
|
2805
|
-
|
|
2808
|
+
vr as localesOf,
|
|
2809
|
+
ba as looksLikeEmail,
|
|
2810
|
+
Hi as matchContactToIntents,
|
|
2806
2811
|
zt as matchPublicRoute,
|
|
2807
2812
|
Rr as mcpCredentialScope,
|
|
2808
2813
|
Dr as mcpToolPrefix,
|
|
2809
|
-
|
|
2814
|
+
ha as mergeShownKeys,
|
|
2810
2815
|
Dn as messageCountsAs,
|
|
2811
|
-
|
|
2816
|
+
Ta as needsPhoneRegion,
|
|
2812
2817
|
or as normalizeArtifactBlocks,
|
|
2813
2818
|
Nn as normalizeBlocks,
|
|
2814
2819
|
_e as normalizeEmail,
|
|
2815
2820
|
g as normalizeExample,
|
|
2816
2821
|
rn as novelty,
|
|
2817
|
-
|
|
2818
|
-
|
|
2822
|
+
Wr as parseActingIdentity,
|
|
2823
|
+
Ii as parseItemKey,
|
|
2819
2824
|
Ft as pathToRegex,
|
|
2820
2825
|
rr as periodsInRange,
|
|
2821
|
-
|
|
2822
|
-
|
|
2826
|
+
Ea as phoneSuffix,
|
|
2827
|
+
wa as plainTextFromMarkdown,
|
|
2823
2828
|
st as playbookActor,
|
|
2824
|
-
|
|
2825
|
-
|
|
2829
|
+
ii as procedureOf,
|
|
2830
|
+
ki as projectDossierKeys,
|
|
2826
2831
|
Wt as publicBasePathFor,
|
|
2827
|
-
|
|
2832
|
+
da as publicRoutePatterns,
|
|
2828
2833
|
C as readPath,
|
|
2829
2834
|
Y as readStepError,
|
|
2830
2835
|
lt as refKey,
|
|
@@ -2835,41 +2840,41 @@ export {
|
|
|
2835
2840
|
N as resolveActivityText,
|
|
2836
2841
|
Dt as resolveChannelIntents,
|
|
2837
2842
|
Je as resolveSignature,
|
|
2838
|
-
|
|
2839
|
-
|
|
2840
|
-
|
|
2841
|
-
|
|
2843
|
+
ra as resolveWorkMode,
|
|
2844
|
+
ca as resourceKindOf,
|
|
2845
|
+
Vr as runActor,
|
|
2846
|
+
ci as runInteractionId,
|
|
2842
2847
|
He as sanitizeInline,
|
|
2843
2848
|
Yt as sanitizeTranscript,
|
|
2844
2849
|
$r as selectLenses,
|
|
2845
|
-
|
|
2846
|
-
|
|
2850
|
+
Ki as sessionsHoldCannotReach,
|
|
2851
|
+
Pi as sessionsToHold,
|
|
2847
2852
|
de as shareKeyForTeam,
|
|
2848
2853
|
ue as shareKeyForUser,
|
|
2849
2854
|
dr as shareKeysForViewer,
|
|
2850
|
-
|
|
2855
|
+
ia as shouldRunAudioPipeline,
|
|
2851
2856
|
Ct as sortStatuses,
|
|
2852
2857
|
Rt as sourceKey,
|
|
2853
|
-
|
|
2854
|
-
|
|
2858
|
+
Ci as statusIn,
|
|
2859
|
+
ri as stepsOf,
|
|
2855
2860
|
we as stripHtml,
|
|
2856
|
-
|
|
2861
|
+
si as subjectKeyOf,
|
|
2857
2862
|
ge as subjectOf,
|
|
2858
|
-
|
|
2859
|
-
|
|
2860
|
-
|
|
2863
|
+
wi as suggestProjectKey,
|
|
2864
|
+
qr as targetById,
|
|
2865
|
+
Yr as targetForActivityType,
|
|
2861
2866
|
ot as toActingIdentity,
|
|
2862
2867
|
Q as toE164,
|
|
2863
2868
|
pr as toolSourceKinds,
|
|
2864
2869
|
_t as topicOfferedForTeam,
|
|
2865
|
-
|
|
2870
|
+
Ai as topicsForTeam,
|
|
2866
2871
|
Et as truncateExample,
|
|
2867
|
-
|
|
2868
|
-
|
|
2869
|
-
|
|
2872
|
+
vi as uniqueWorkStatusKey,
|
|
2873
|
+
fi as uniqueWorkTypeKey,
|
|
2874
|
+
Ke as usageMetricId,
|
|
2870
2875
|
ir as usageMetrics,
|
|
2871
|
-
|
|
2872
|
-
|
|
2876
|
+
xi as validateStatuses,
|
|
2877
|
+
Xr as valueAtPath,
|
|
2873
2878
|
gr as wakesAssignment,
|
|
2874
2879
|
wt as workItemScopeKey,
|
|
2875
2880
|
he as workProjectScopeKey,
|